diff --git a/README.md b/README.md index a1951b2..ccf1356 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ https://microsoftedge.microsoft.com/addons/detail/oikpkeeoofpiapmjioabikmgjeaogg 2, DDplus, Atmos(if any) Audio 3, Use AVC, NOT AvcHigh video code 4, Use "Dolby Vision" Profiles for HDR (May need NVIDIA 20 series and above graphics cards, and Dolby Vision TV) +5, Use HEVC code, Downgrade from 4K to 1080P diff --git a/background.js b/background.js index 1c7cadd..9f5ccf2 100644 --- a/background.js +++ b/background.js @@ -1,7 +1,7 @@ chrome.webRequest.onBeforeRequest.addListener( function(details) { return { - redirectUrl: chrome.runtime.getURL("cadmium-playercore-6.0031.809.911.js") + redirectUrl: chrome.runtime.getURL("cadmium-playercore-6.0032.282.911.js") }; }, { urls: [ diff --git a/cadmium-playercore-6.0031.809.911.js b/cadmium-playercore-6.0032.282.911.js similarity index 67% rename from cadmium-playercore-6.0031.809.911.js rename to cadmium-playercore-6.0032.282.911.js index 727778c..36fc40e 100644 --- a/cadmium-playercore-6.0031.809.911.js +++ b/cadmium-playercore-6.0032.282.911.js @@ -7,93 +7,103 @@ function secondToDate(result) { s = s < 10 ? ('0' + s) : s; return result = h + ":" + m + ":" + s + ""; } -a000.Q9b = function () { - return typeof a000.M9b.F9b === 'function' ? a000.M9b.F9b.apply(a000.M9b, arguments) : a000.M9b.F9b; + +a000.o1q = function () { + return typeof a000.d1q.p1q === 'function' ? a000.d1q.p1q.apply(a000.d1q, arguments) : a000.d1q.p1q; }; -function a000() {} -a000.u9b = function () { - return typeof a000.M9b.U9b === 'function' ? a000.M9b.U9b.apply(a000.M9b, arguments) : a000.M9b.U9b; +a000.P1q = function () { + return typeof a000.d1q.p1q === 'function' ? a000.d1q.p1q.apply(a000.d1q, arguments) : a000.d1q.p1q; +}; +a000.l1q = function () { + return typeof a000.d1q.N1q === 'function' ? a000.d1q.N1q.apply(a000.d1q, arguments) : a000.d1q.N1q; }; -a000.r9b = function () { - return typeof a000.M9b.F9b === 'function' ? a000.M9b.F9b.apply(a000.M9b, arguments) : a000.M9b.F9b; +a000.Q1q = function () { + return typeof a000.d1q.N1q === 'function' ? a000.d1q.N1q.apply(a000.d1q, arguments) : a000.d1q.N1q; }; -a000.M9b = (function (y9b) { +function a000() {} +a000.d1q = (function (I1q) { return { - F9b: function () { - var o9b, - L9b = arguments; - switch (y9b) { - case 10: - o9b = L9b[2] + L9b[0] / L9b[3] * L9b[1]; + p1q: function () { + var g1q, + V1q = arguments; + switch (I1q) { + case 16: + g1q = V1q[1] - V1q[2] + V1q[3] + V1q[0]; break; - case 11: - o9b = L9b[3] * L9b[2] / L9b[1] | L9b[0]; + case 20: + g1q = V1q[0] >= V1q[1]; + break; + case 5: + g1q = V1q[3] + V1q[1] + V1q[0] + V1q[4] + V1q[2]; break; case 3: - o9b = L9b[1] / L9b[2] / L9b[0]; + g1q = V1q[0] / V1q[2] / V1q[1]; break; - case 14: - o9b = L9b[0] - L9b[2] + L9b[1]; + case 19: + g1q = V1q[0] < V1q[1]; break; - case 1: - o9b = L9b[1] - L9b[0]; + case 15: + g1q = V1q[0] * V1q[1] + V1q[2]; break; - case 6: - o9b = L9b[1] + L9b[2] + L9b[0]; + case 2: + g1q = V1q[1] + V1q[0]; break; - case 4: - o9b = void L9b[0] !== L9b[1]; + case 13: + g1q = V1q[1] * V1q[2] / V1q[3] | V1q[0]; break; - case 19: - o9b = L9b[1] === L9b[0]; + case 10: + g1q = V1q[1] / V1q[0]; break; - case 5: - o9b = L9b[1] + L9b[4] + L9b[0] + L9b[2] + L9b[3]; + case 18: + g1q = (V1q[2] - V1q[0]) * V1q[1]; break; - case 0: - o9b = L9b[2] + L9b[1] - L9b[0]; + case 22: + g1q = V1q[0] === V1q[1]; break; - case 18: - o9b = L9b[0] > L9b[1]; + case 14: + g1q = V1q[1] / V1q[2] | V1q[0]; break; - case 13: - o9b = (L9b[2] / L9b[1] | L9b[0]) * L9b[3]; + case 6: + g1q = V1q[0] + V1q[2] + V1q[1]; break; - case 15: - o9b = (L9b[2] - L9b[0]) * L9b[1]; + case 21: + g1q = V1q[1] > V1q[0]; break; - case 8: - o9b = L9b[0] * L9b[1]; + case 12: + g1q = V1q[1] + V1q[3] / V1q[2] * V1q[0]; break; - case 7: - o9b = - (L9b[1] / -L9b[0]); + case 1: + g1q = V1q[0] - V1q[1]; break; - case 17: - o9b = L9b[0] >= L9b[1]; + case 9: + g1q = V1q[1] * V1q[0]; break; - case 16: - o9b = L9b[3] * L9b[0] * L9b[1] - L9b[2]; + case 11: + g1q = (V1q[1] / V1q[3] | V1q[0]) * V1q[2]; break; - case 12: - o9b = L9b[0] / L9b[1] | L9b[2]; + case 7: + g1q = V1q[1] - V1q[2] + V1q[0]; break; - case 9: - o9b = L9b[1] / L9b[0]; + case 4: + g1q = void V1q[0] !== V1q[1]; break; - case 2: - o9b = L9b[0] + L9b[1]; + case 17: + g1q = V1q[3] - V1q[1] + -V1q[2] + V1q[0]; + break; + case 0: + g1q = V1q[0] + V1q[2] - V1q[1]; + break; + case 8: + g1q = V1q[0] * V1q[1] - V1q[2]; break; } - return o9b; + return g1q; }, - U9b: function (b9b) { - y9b = b9b; + N1q: function (w1q) { + I1q = w1q; } }; })(); -a000.D9b = function () { - return typeof a000.M9b.U9b === 'function' ? a000.M9b.U9b.apply(a000.M9b, arguments) : a000.M9b.U9b; -}; (function () { (function (pb, Ab) { var vc, @@ -306,7 +316,7 @@ a000.D9b = function () { throw Error("unsupported encoding"); } function Od(gb) { - for (var fb = 0, eb, ab = gb.length, kb = ""; fb < ab; ) { + for (var fb = 0, eb, $a = gb.length, kb = ""; fb < $a; ) { eb = gb[fb++]; if (eb & 128) if (192 === (eb & 224)) @@ -322,19 +332,19 @@ a000.D9b = function () { function Pd(gb) { var fb, eb, - ab, + $a, kb, qb; fb = gb.length; eb = 0; kb = 0; - for (ab = fb; ab--; ) { - qb = gb.charCodeAt(ab); + for ($a = fb; $a--; ) { + qb = gb.charCodeAt($a); 128 > qb ? eb++ : eb = 2048 > qb ? eb + 2 : eb + 3; } eb = new Uint8Array(eb); - for (ab = 0; ab < fb; ab++) { - qb = gb.charCodeAt(ab); + for ($a = 0; $a < fb; $a++) { + qb = gb.charCodeAt($a); 128 > qb ? eb[kb++] = qb : (2048 > qb ? eb[kb++] = 192 | qb >>> 6 : (eb[kb++] = 224 | qb >>> 12, eb[kb++] = 128 | qb >>> 6 & 63), eb[kb++] = 128 | qb & 63); } return eb; @@ -351,14 +361,14 @@ a000.D9b = function () { return !0; } function gc(gb) { - var ab; + var $a; if (!(gb && gb.constructor == Uint8Array || Array.isArray(gb))) throw new TypeError("Cannot compute the hash code of " + gb); for (var fb = 1, eb = 0; eb < gb.length; ++eb) { - ab = gb[eb]; - if ("number" !== typeof ab) - throw new TypeError("Cannot compute the hash code over non-numeric elements: " + ab); - fb = 31 * fb + ab & 4294967295; + $a = gb[eb]; + if ("number" !== typeof $a) + throw new TypeError("Cannot compute the hash code over non-numeric elements: " + $a); + fb = 31 * fb + $a & 4294967295; } return fb; } @@ -370,9 +380,9 @@ a000.D9b = function () { return !1; fb instanceof Array || (fb = [fb]); for (var eb = 0; eb < fb.length; ++eb) { - for (var ab = fb[eb], kb = !1, qb = 0; qb < gb.length; ++qb) { + for (var $a = fb[eb], kb = !1, qb = 0; qb < gb.length; ++qb) { jb = gb[qb]; - if (ab.equals && "function" === typeof ab.equals && ab.equals(jb) || ab == jb) { + if ($a.equals && "function" === typeof $a.equals && $a.equals(jb) || $a == jb) { kb = !0; break; } @@ -386,13 +396,13 @@ a000.D9b = function () { return se(gb, fb) && (gb.length == fb.length || se(fb, gb)); } function Ka(gb, fb, eb) { - var ab, + var $a, kb; - eb && (ab = eb); + eb && ($a = eb); if ("object" !== typeof gb || "function" !== typeof gb.result || "function" !== typeof gb.error) throw new TypeError("callback must be an object with function properties 'result' and 'error'."); try { - kb = fb.call(ab, gb); + kb = fb.call($a, gb); kb !== Ab && gb.result(kb); } catch (qb) { try { @@ -400,12 +410,12 @@ a000.D9b = function () { } catch (jb) {} } } - function cb(gb, fb, eb) { + function db(gb, fb, eb) { if ("object" !== typeof gb || "function" !== typeof gb.timeout) throw new TypeError("callback must be an object with function properties 'result', 'timeout', and 'error'."); Ka(gb, fb, eb); } - function U(gb, fb, eb) { + function T(gb, fb, eb) { 1E5 > gb && (gb = 1E5 + gb); Object.defineProperties(this, { internalCode: { @@ -461,19 +471,19 @@ a000.D9b = function () { td = eb; fb.result(td); }).catch(function (eb) { - fb.error(new bb(U.INTERNAL_EXCEPTION, "Unable to get system key")); + fb.error(new bb(T.INTERNAL_EXCEPTION, "Unable to get system key")); }); } function we(gb, fb) { var eb, - ab; + $a; eb = fb.masterToken; - ab = fb.userIdToken; + $a = fb.userIdToken; fb = fb.serviceTokens; return { NccpMethod: gb.method, UserId: gb.userId, - UT: ab && ab.serialNumber, + UT: $a && $a.serialNumber, MT: eb && eb.serialNumber + ":" + eb.sequenceNumber, STCount: fb && fb.length }; @@ -481,29 +491,29 @@ a000.D9b = function () { function Ef(gb) { return gb.uniqueKey(); } - function Ff(gb, fb, eb, ab, kb) { + function Ff(gb, fb, eb, $a, kb) { var Qa; - function qb(ya, la) { - ya.errorCode === Ja.ENTITY_REAUTH || ya.errorCode === Ja.ENTITYDATA_REAUTH ? (ab.clearCryptoContexts(), Na()) : ya.errorCode !== Ja.USER_REAUTH && ya.errorCode !== Ja.USERDATA_REAUTH || jb(la); + function qb(ya, ka) { + ya.errorCode === Ja.ENTITY_REAUTH || ya.errorCode === Ja.ENTITYDATA_REAUTH ? ($a.clearCryptoContexts(), Na()) : ya.errorCode !== Ja.USER_REAUTH && ya.errorCode !== Ja.USERDATA_REAUTH || jb(ka); } function jb(ya) { - if (ya = ab.getUserIdToken(ya)) - (ab.removeUserIdToken(ya), Na()); + if (ya = $a.getUserIdToken(ya)) + ($a.removeUserIdToken(ya), Na()); } - function Fa(ya, la, fa) { + function Fa(ya, ka, fa) { var Z; Z = []; (function ha() { - ya.read(-1, la, { - result: function (ea) { + ya.read(-1, ka, { + result: function (da) { Ka(fa, function () { var S, - Y, - pa, - ma, + X, + oa, + la, qa; - if (ea) - (Z.push(ea), ha()); + if (da) + (Z.push(da), ha()); else switch (Z.length) { case 0: @@ -511,15 +521,15 @@ a000.D9b = function () { case 1: return Z[0]; default: - (pa = Z.length, ma = 0); - for (Y = S = 0; Y < pa; Y++) { - S += Z[Y].length; + (oa = Z.length, la = 0); + for (X = S = 0; X < oa; X++) { + S += Z[X].length; } S = new Uint8Array(S); - for (Y = 0; Y < pa; Y++) { - qa = Z[Y]; - S.set(qa, ma); - ma += qa.length; + for (X = 0; X < oa; X++) { + qa = Z[X]; + S.set(qa, la); + la += qa.length; } return S; } @@ -528,17 +538,17 @@ a000.D9b = function () { timeout: function () { fa.timeout(); }, - error: function (ea) { - fa.error(ea); + error: function (da) { + fa.error(da); } }); })(); } function Na() { - ab.getStoreState({ + $a.getStoreState({ result: function (ya) { - for (var la = Qa.slice(), fa = 0; fa < la.length; fa++) { - la[fa]({ + for (var ka = Qa.slice(), fa = 0; fa < ka.length; fa++) { + ka[fa]({ storeState: ya }); } @@ -552,38 +562,38 @@ a000.D9b = function () { }); } Qa = []; - this.addEventHandler = function (ya, la) { + this.addEventHandler = function (ya, ka) { switch (ya) { case "shouldpersist": - Qa.push(la); + Qa.push(ka); } }; this.send = function (ya) { - return new Promise(function (la, fa) { + return new Promise(function (ka, fa) { var Z, ba, ha; Z = ya.timeout; - ba = new xe(gb, eb, ya, ab.getKeyRequestData()); + ba = new xe(gb, eb, ya, $a.getKeyRequestData()); ha = new ye(ya.url); gb.trace("Sending MSL request"); fb.request(eb, ba, ha, Z, { - result: function (ea) { + result: function (da) { var S; gb.trace("Received MSL response", { Method: ya.method }); - if (ea) { + if (da) { ya.allowTokenRefresh && Na(); - S = ea.getErrorHeader(); + S = da.getErrorHeader(); S ? (qb(S, ya.profileGuid || ya.userId), fa({ success: !1, error: S - })) : Fa(ea, Z, { - result: function (Y) { - la({ + })) : Fa(da, Z, { + result: function (X) { + ka({ success: !0, - body: Tb(Y) + body: Tb(X) }); }, timeout: function () { @@ -592,17 +602,17 @@ a000.D9b = function () { subCode: kb.MSL_READ_TIMEOUT }); }, - error: function (Y) { + error: function (X) { fa({ success: !1, - error: Y + error: X }); } }); } else fa({ success: !1, - error: new bb(U.INTERNAL_EXCEPTION, "Null response stream"), + error: new bb(T.INTERNAL_EXCEPTION, "Null response stream"), description: "Null response stream" }); }, @@ -612,24 +622,24 @@ a000.D9b = function () { subCode: kb.MSL_REQUEST_TIMEOUT }); }, - error: function (ea) { + error: function (da) { fa({ success: !1, - error: ea + error: da }); } }); }); }; this.hasUserIdToken = function (ya) { - return !!ab.getUserIdToken(ya); + return !!$a.getUserIdToken(ya); }; this.getUserIdTokenKeys = function () { - return ab.getUserIdTokenKeys(); + return $a.getUserIdTokenKeys(); }; this.removeUserIdToken = jb; this.clearUserIdTokens = function () { - ab.clearUserIdTokens(); + $a.clearUserIdTokens(); Na(); }; this.isErrorReauth = function (ya) { @@ -642,74 +652,74 @@ a000.D9b = function () { return ya && ya.errorCode; }; this.getStateForMdx = function (ya) { - var la, + var ka, fa; - la = ab.getMasterToken(); - ya = ab.getUserIdToken(ya); - fa = ab.getCryptoContext(la); + ka = $a.getMasterToken(); + ya = $a.getUserIdToken(ya); + fa = $a.getCryptoContext(ka); return { - masterToken: la, + masterToken: ka, userIdToken: ya, cryptoContext: fa }; }; - this.buildPlayDataRequest = function (ya, la) { + this.buildPlayDataRequest = function (ya, ka) { var fa; fa = new ze(); fb.request(eb, new xe(gb, eb, ya), fa, ya.timeout, { result: function () { - la.result(fa.getRequest()); + ka.result(fa.getRequest()); }, error: function () { - la.result(fa.getRequest()); + ka.result(fa.getRequest()); }, timeout: function () { - la.timeout(); + ka.timeout(); } }); }; - this.rekeyUserIdToken = function (ya, la) { - ab.rekeyUserIdToken(ya, la); + this.rekeyUserIdToken = function (ya, ka) { + $a.rekeyUserIdToken(ya, ka); Na(); }; this.getServiceTokens = function (ya) { - var la; - la = ab.getMasterToken(); - (ya = ab.getUserIdToken(ya)) && !ya.isBoundTo(la) && (ya = Ab); - return ab.getServiceTokens(la, ya); + var ka; + ka = $a.getMasterToken(); + (ya = $a.getUserIdToken(ya)) && !ya.isBoundTo(ka) && (ya = Ab); + return $a.getServiceTokens(ka, ya); }; this.removeServiceToken = function (ya) { - var la; - la = ab.getMasterToken(); - ab.getServiceTokens(la).find(function (fa) { + var ka; + ka = $a.getMasterToken(); + $a.getServiceTokens(ka).find(function (fa) { return fa.name === ya; - }) && (ab.removeServiceTokens(ya, la), Na()); + }) && ($a.removeServiceTokens(ya, ka), Na()); }; } - function Rd(gb, fb, eb, ab, kb, qb) { + function Rd(gb, fb, eb, $a, kb, qb) { function jb(Fa) { var Na; return Promise.resolve().then(function () { Na = gb.authenticationKeyNames[Fa]; if (!Na) - throw new bb(U.KEY_IMPORT_ERROR, "Invalid config keyName " + Fa); + throw new bb(T.KEY_IMPORT_ERROR, "Invalid config keyName " + Fa); return Jb.getKeyByName(Na); }).then(function (Qa) { - return new Promise(function (ya, la) { + return new Promise(function (ya, ka) { Yc(Qa, { result: ya, error: function () { - la(new bb(U.KEY_IMPORT_ERROR, "Unable to create " + Na + " CipherKey")); + ka(new bb(T.KEY_IMPORT_ERROR, "Unable to create " + Na + " CipherKey")); } }); }); }).catch(function (Qa) { - throw new bb(U.KEY_IMPORT_ERROR, "Unable to import " + Na, Qa); + throw new bb(T.KEY_IMPORT_ERROR, "Unable to import " + Na, Qa); }); } return Promise.resolve().then(function () { if (!Jb.getKeyByName) - throw new bb(U.INTERNAL_EXCEPTION, "No WebCrypto cryptokeys"); + throw new bb(T.INTERNAL_EXCEPTION, "No WebCrypto cryptokeys"); return Promise.all([jb("e"), jb("h"), jb("w")]); }).then(function (Fa) { var Na, @@ -717,7 +727,7 @@ a000.D9b = function () { ya; Na = {}; Na[fb] = new eb(gb.esn, Fa[0], Fa[1], Fa[2]); - Fa = new ab(gb.esn); + Fa = new $a(gb.esn); Qa = new Gf(); Qa = [new kb(Qa)]; ya = new qb(fb); @@ -731,7 +741,7 @@ a000.D9b = function () { } function Sd(gb, fb, eb) { var qb; - function ab() { + function $a() { return Promise.resolve().then(function () { return Jb.generateKey(fb, !1, ["wrapKey", "unwrapKey"]); }).then(function (jb) { @@ -743,14 +753,14 @@ a000.D9b = function () { Oc(jb, { result: Na, error: function (ya) { - Qa(new bb(U.INTERNAL_EXCEPTION, "Unable to create keyx public key", ya)); + Qa(new bb(T.INTERNAL_EXCEPTION, "Unable to create keyx public key", ya)); } }); }), new Promise(function (Na, Qa) { Zc(Fa, { result: Na, error: function (ya) { - Qa(new bb(U.INTERNAL_EXCEPTION, "Unable to create keyx private key", ya)); + Qa(new bb(T.INTERNAL_EXCEPTION, "Unable to create keyx private key", ya)); } }); })]).then(function (Na) { @@ -769,7 +779,7 @@ a000.D9b = function () { jb = gb.storeState; Fa = jb && jb.keyxPublicKey; jb = jb && jb.keyxPrivateKey; - return qb && Fa && jb ? kb(Fa, jb) : ab(); + return qb && Fa && jb ? kb(Fa, jb) : $a(); }).then(function (jb) { var Fa, Na, @@ -783,7 +793,7 @@ a000.D9b = function () { entityAuthData: Na, keyExchangeFactories: Qa, keyRequestData: jb, - createKeyRequestData: qb ? ab : Ab + createKeyRequestData: qb ? $a : Ab }; }); } @@ -794,10 +804,10 @@ a000.D9b = function () { var fb, eb; fb = (function () { - function ab(kb, qb) { + function $a(kb, qb) { kb instanceof fb ? (this.abv = kb.abv, this.position = kb.position) : (this.abv = kb, this.position = qb || 0); } - ab.prototype = { + $a.prototype = { readByte: function () { return this.abv[this.position++]; }, @@ -839,55 +849,55 @@ a000.D9b = function () { return "AbvStream: pos " + (this.getPosition().toString() + " of " + this.getLength().toString()); } }; - return ab; + return $a; })(); eb = {}; (function () { - var ea, + var da, S, - Y, - pa, - ma, + X, + oa, + la, qa, - Ba, + Aa, sa, - oa; - function ab(W, aa) { + na; + function $a(W, aa) { var ca; aa.writeByte(W.tagClass << 6 | W.constructed << 5 | W.tag); ca = W.payloadLen; if (128 > ca) aa.writeByte(ca); else { - for (var ka = ca, Ga = 0; ka; ) { + for (var ja = ca, Ga = 0; ja; ) { ++Ga; - ka >>= 8; + ja >>= 8; } aa.writeByte(128 | Ga); - for (ka = 0; ka < Ga; ++ka) { - aa.writeByte(ca >> 8 * (Ga - ka - 1) & 255); + for (ja = 0; ja < Ga; ++ja) { + aa.writeByte(ca >> 8 * (Ga - ja - 1) & 255); } } if (W.child) - for ((W.tag == ea.BIT_STRING && aa.writeByte(0), W = W._child); W; ) { - if (!ab(W, aa)) + for ((W.tag == da.BIT_STRING && aa.writeByte(0), W = W._child); W; ) { + if (!$a(W, aa)) return !1; W = W.next; } else switch (W.tag) { - case ea.INTEGER: + case da.INTEGER: W.backingStore[W.dataIdx] >> 7 && aa.writeByte(0); aa.copyBytes(W.backingStore, W.dataIdx, W.dataLen); break; - case ea.BIT_STRING: + case da.BIT_STRING: aa.writeByte(0); aa.copyBytes(W.backingStore, W.dataIdx, W.dataLen); break; - case ea.OCTET_STRING: + case da.OCTET_STRING: aa.copyBytes(W.backingStore, W.dataIdx, W.dataLen); break; - case ea.OBJECT_IDENTIFIER: + case da.OBJECT_IDENTIFIER: aa.copyBytes(W.backingStore, W.dataIdx, W.dataLen); } return !0; @@ -901,65 +911,65 @@ a000.D9b = function () { return ca; if (3 < ca || 0 === ca) return -1; - for (var ka = aa = 0; ka < ca; ++ka) { + for (var ja = aa = 0; ja < ca; ++ja) { aa = aa << 8 | W.readByte(); } return aa; } function qb(W, aa, ca) { - var ka, + var ja, Ga, - Ea, + Ca, Pa, Ra, ia, ua; - ka = W.backingStore; - Ga = new fb(ka, aa); + ja = W.backingStore; + Ga = new fb(ja, aa); aa += ca; ca = W; - if (8 < ma++) + if (8 < la++) return Ab; for (; Ga.getPosition() < aa; ) { Ga.getPosition(); Pa = Ga.readByte(); if (31 == (Pa & 31)) { - for (Ea = 0; Pa & 128; ) { - Ea <<= 8; - Ea |= Pa & 127; + for (Ca = 0; Pa & 128; ) { + Ca <<= 8; + Ca |= Pa & 127; } - Pa = Ea; + Pa = Ca; } Ra = Pa; - Ea = Ra & 31; - if (0 > Ea || 30 < Ea) + Ca = Ra & 31; + if (0 > Ca || 30 < Ca) return Ab; Pa = kb(Ga); if (0 > Pa || Pa > Ga.getRemaining()) return Ab; ca.constructed = Ra & 32; ca.tagClass = (Ra & 192) >> 6; - ca.tag = Ea; + ca.tag = Ca; ca.dataLen = Pa; ca.dataIdx = Ga.getPosition(); - Ea = Ga; + Ca = Ga; ia = Ra; Ra = Pa; if (ia & 32) - Ea = !0; - else if (ia < ea.BIT_STRING || ia > ea.OCTET_STRING) - Ea = !1; + Ca = !0; + else if (ia < da.BIT_STRING || ia > da.OCTET_STRING) + Ca = !1; else { - ua = new fb(Ea); - ia == ea.BIT_STRING && ua.skip(1); - ua.readByte() >> 6 & 1 ? Ea = !1 : (ia = kb(ua), Ea = ua.getPosition() - Ea.getPosition() + ia == Ra); + ua = new fb(Ca); + ia == da.BIT_STRING && ua.skip(1); + ua.readByte() >> 6 & 1 ? Ca = !1 : (ia = kb(ua), Ca = ua.getPosition() - Ca.getPosition() + ia == Ra); } - Ea && (Ea = Ga.getPosition(), Ra = Pa, ca.tag == ea.BIT_STRING && (ca.dataIdx++, ca.dataLen--, Ea++, Ra--), ca.child = new S(ka, ca), qb(ca.child, Ea, Ra)); - ca.tag == ea.INTEGER && (Ea = Ga.getPosition(), 0 == Ga.peekByte(Ea) && Ga.peekByte(Ea + 1) >> 7 && (ca.dataIdx++, ca.dataLen--)); + Ca && (Ca = Ga.getPosition(), Ra = Pa, ca.tag == da.BIT_STRING && (ca.dataIdx++, ca.dataLen--, Ca++, Ra--), ca.child = new S(ja, ca), qb(ca.child, Ca, Ra)); + ca.tag == da.INTEGER && (Ca = Ga.getPosition(), 0 == Ga.peekByte(Ca) && Ga.peekByte(Ca + 1) >> 7 && (ca.dataIdx++, ca.dataLen--)); Ga.skip(Pa); - Ga.getPosition() < aa && (ca.next = new S(ka, ca.parent), ca = ca.next); + Ga.getPosition() < aa && (ca.next = new S(ja, ca.parent), ca = ca.next); } - ma--; + la--; return W; } function jb(W, aa, ca) { @@ -988,15 +998,15 @@ a000.D9b = function () { function Qa(W) { var aa, ca; - aa = Y.createSequenceNode(); - ca = new pa(aa); - ca.addChild(Y.createSequenceNode()); - ca.addChild(Y.createOidNode(qa)); - ca.addSibling(Y.createNullNode()); - ca.addToParent(aa, Y.createBitStringNode(null)); - ca.addChild(Y.createSequenceNode()); - ca.addChild(Y.createIntegerNode(W.n)); - ca.addSibling(Y.createIntegerNode(W.e)); + aa = X.createSequenceNode(); + ca = new oa(aa); + ca.addChild(X.createSequenceNode()); + ca.addChild(X.createOidNode(qa)); + ca.addSibling(X.createNullNode()); + ca.addToParent(aa, X.createBitStringNode(null)); + ca.addChild(X.createSequenceNode()); + ca.addChild(X.createIntegerNode(W.n)); + ca.addSibling(X.createIntegerNode(W.e)); return aa; } function ya(W) { @@ -1004,28 +1014,28 @@ a000.D9b = function () { W = W.child.next.child.child; aa = W.data; W = W.next; - return new Ba(aa, W.data, null, null); + return new Aa(aa, W.data, null, null); } - function la(W) { + function ka(W) { var aa, ca; - aa = Y.createSequenceNode(); - ca = new pa(aa); - ca.addChild(Y.createIntegerNode(new Uint8Array([0]))); - ca.addSibling(Y.createSequenceNode()); - ca.addChild(Y.createOidNode(qa)); - ca.addSibling(Y.createNullNode()); - ca.addToParent(aa, Y.createOctetStringNode(null)); - ca.addChild(Y.createSequenceNode()); - ca.addChild(Y.createIntegerNode(new Uint8Array([0]))); - ca.addSibling(Y.createIntegerNode(W.n)); - ca.addSibling(Y.createIntegerNode(W.e)); - ca.addSibling(Y.createIntegerNode(W.d)); - ca.addSibling(Y.createIntegerNode(W.p)); - ca.addSibling(Y.createIntegerNode(W.q)); - ca.addSibling(Y.createIntegerNode(W.dp)); - ca.addSibling(Y.createIntegerNode(W.dq)); - ca.addSibling(Y.createIntegerNode(W.qi)); + aa = X.createSequenceNode(); + ca = new oa(aa); + ca.addChild(X.createIntegerNode(new Uint8Array([0]))); + ca.addSibling(X.createSequenceNode()); + ca.addChild(X.createOidNode(qa)); + ca.addSibling(X.createNullNode()); + ca.addToParent(aa, X.createOctetStringNode(null)); + ca.addChild(X.createSequenceNode()); + ca.addChild(X.createIntegerNode(new Uint8Array([0]))); + ca.addSibling(X.createIntegerNode(W.n)); + ca.addSibling(X.createIntegerNode(W.e)); + ca.addSibling(X.createIntegerNode(W.d)); + ca.addSibling(X.createIntegerNode(W.p)); + ca.addSibling(X.createIntegerNode(W.q)); + ca.addSibling(X.createIntegerNode(W.dp)); + ca.addSibling(X.createIntegerNode(W.dq)); + ca.addSibling(X.createIntegerNode(W.qi)); return aa; } function fa(W) { @@ -1038,19 +1048,19 @@ a000.D9b = function () { } return new sa(aa[0], aa[1], aa[2], aa[3], aa[4], aa[5], aa[6], aa[7]); } - function Z(W, aa, ca, ka) { - if (!(W instanceof Ba || W instanceof sa)) + function Z(W, aa, ca, ja) { + if (!(W instanceof Aa || W instanceof sa)) return Ab; if (ca) for (var Ga = 0; Ga < ca.length; ++Ga) { - if (-1 == oa.indexOf(ca[Ga])) + if (-1 == na.indexOf(ca[Ga])) return Ab; } aa = { kty: "RSA", alg: aa, key_ops: ca || [], - ext: ka == Ab ? !1 : ka, + ext: ja == Ab ? !1 : ja, n: Db(W.n, !0), e: Db(W.e, !0) }; @@ -1060,9 +1070,9 @@ a000.D9b = function () { function ba(W) { var aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa, Ra, ia, @@ -1076,26 +1086,26 @@ a000.D9b = function () { aa = []; W.use ? "enc" == W.use ? aa = ["encrypt", "decrypt", "wrap", "unwrap"] : "sig" == W.use && (aa = ["sign", "verify"]) : aa = W.key_ops; ca = W.ext; - ka = Fb(W.n, !0); + ja = Fb(W.n, !0); Ga = Fb(W.e, !0); if (W.d) { - Ea = Fb(W.d, !0); + Ca = Fb(W.d, !0); Pa = Fb(W.p, !0); Ra = Fb(W.q, !0); ia = Fb(W.dp, !0); ua = Fb(W.dq, !0); xa = Fb(W.qi, !0); - return new sa(ka, Ga, Ea, Pa, Ra, ia, ua, xa, W.alg, aa, ca); + return new sa(ja, Ga, Ca, Pa, Ra, ia, ua, xa, W.alg, aa, ca); } - return new Ba(ka, Ga, ca, aa); + return new Aa(ja, Ga, ca, aa); } - function ha(W, aa, ca, ka) { + function ha(W, aa, ca, ja) { this.der = W; this.type = aa; this.keyOps = ca; - this.extractable = ka; + this.extractable = ja; } - ea = { + da = { BER: 0, BOOLEAN: 1, INTEGER: 2, @@ -1128,14 +1138,14 @@ a000.D9b = function () { CHARACTER_STRING: 29, BMP_STRING: 30 }; - S = function (W, aa, ca, ka, Ga, Ea) { + S = function (W, aa, ca, ja, Ga, Ca) { this._data = W; this._parent = aa || Ab; this._constructed = ca || !1; this._tagClass = 0; - this._tag = ka || 0; + this._tag = ja || 0; this._dataIdx = Ga || 0; - this._dataLen = Ea || 0; + this._dataLen = Ca || 0; }; S.prototype = { _child: Ab, @@ -1203,23 +1213,23 @@ a000.D9b = function () { W += aa.length; aa = aa.next; } - this._tag == ea.BIT_STRING && W++; + this._tag == da.BIT_STRING && W++; } else switch (this._tag) { - case ea.INTEGER: + case da.INTEGER: W = this._dataLen; this._data[this._dataIdx] >> 7 && W++; break; - case ea.BIT_STRING: + case da.BIT_STRING: W = this._dataLen + 1; break; - case ea.OCTET_STRING: + case da.OCTET_STRING: W = this._dataLen; break; - case ea.NULL: + case da.NULL: W = 0; break; - case ea.OBJECT_IDENTIFIER: + case da.OBJECT_IDENTIFIER: jb(this._data, this._dataIdx, this._dataLen) && (W = 9); } return W; @@ -1243,7 +1253,7 @@ a000.D9b = function () { return Ab; W = new Uint8Array(W); aa = new fb(W); - return ab(this, aa) ? W : Ab; + return $a(this, aa) ? W : Ab; }, get nChildren() { for (var W = 0, aa = this._child; aa; ) { @@ -1253,30 +1263,30 @@ a000.D9b = function () { return W; } }; - Y = { + X = { createSequenceNode: function () { - return new S(null, null, !0, ea.SEQUENCE, null, null); + return new S(null, null, !0, da.SEQUENCE, null, null); }, createOidNode: function (W) { - return new S(W, null, !1, ea.OBJECT_IDENTIFIER, 0, W ? W.length : 0); + return new S(W, null, !1, da.OBJECT_IDENTIFIER, 0, W ? W.length : 0); }, createNullNode: function () { - return new S(null, null, !1, ea.NULL, null, null); + return new S(null, null, !1, da.NULL, null, null); }, createBitStringNode: function (W) { - return new S(W, null, !1, ea.BIT_STRING, 0, W ? W.length : 0); + return new S(W, null, !1, da.BIT_STRING, 0, W ? W.length : 0); }, createIntegerNode: function (W) { - return new S(W, null, !1, ea.INTEGER, 0, W ? W.length : 0); + return new S(W, null, !1, da.INTEGER, 0, W ? W.length : 0); }, createOctetStringNode: function (W) { - return new S(W, null, !1, ea.OCTET_STRING, 0, W ? W.length : 0); + return new S(W, null, !1, da.OCTET_STRING, 0, W ? W.length : 0); } }; - pa = function (W) { + oa = function (W) { this._currentNode = this._rootNode = W; }; - pa.prototype = { + oa.prototype = { addChild: function (W) { this.addTo(this._currentNode, W); }, @@ -1306,28 +1316,28 @@ a000.D9b = function () { return !1; } }; - ma = 0; + la = 0; qa = new Uint8Array([42, 134, 72, 134, 247, 13, 1, 1, 1]); - Ba = function (W, aa, ca, ka) { + Aa = function (W, aa, ca, ja) { this.n = W; this.e = aa; this.ext = ca; - this.keyOps = ka; + this.keyOps = ja; }; - sa = function (W, aa, ca, ka, Ga, Ea, Pa, Ra, ia, ua, xa) { + sa = function (W, aa, ca, ja, Ga, Ca, Pa, Ra, ia, ua, xa) { this.n = W; this.e = aa; this.d = ca; - this.p = ka; + this.p = ja; this.q = Ga; - this.dp = Ea; + this.dp = Ca; this.dq = Pa; this.qi = Ra; this.alg = ia; this.keyOps = ua; this.ext = xa; }; - oa = ("sign verify encrypt decrypt wrapKey unwrapKey deriveKey deriveBits").split(" "); + na = ("sign verify encrypt decrypt wrapKey unwrapKey deriveKey deriveBits").split(" "); ha.prototype.getDer = function () { return this.der; }; @@ -1341,23 +1351,23 @@ a000.D9b = function () { return this.extractable; }; eb.parse = function (W) { - ma = 0; + la = 0; return qb(new S(W), 0, W.length); }; eb.show = function (W, aa) {}; eb.isRsaSpki = Fa; eb.isRsaPkcs8 = Na; - eb.NodeFactory = Y; - eb.Builder = pa; - eb.tagVal = ea; - eb.RsaPublicKey = Ba; + eb.NodeFactory = X; + eb.Builder = oa; + eb.tagVal = da; + eb.RsaPublicKey = Aa; eb.RsaPrivateKey = sa; eb.buildRsaSpki = Qa; eb.parseRsaSpki = function (W) { W = eb.parse(W); return Fa ? ya(W) : Ab; }; - eb.buildRsaPkcs8 = la; + eb.buildRsaPkcs8 = ka; eb.parseRsaPkcs8 = function (W) { W = eb.parse(W); return Na(W) ? fa(W) : Ab; @@ -1365,7 +1375,7 @@ a000.D9b = function () { eb.buildRsaJwk = Z; eb.parseRsaJwk = ba; eb.RsaDer = ha; - eb.rsaDerToJwk = function (W, aa, ca, ka) { + eb.rsaDerToJwk = function (W, aa, ca, ja) { W = eb.parse(W); if (!W) return Ab; @@ -1375,7 +1385,7 @@ a000.D9b = function () { W = fa(W); else return Ab; - return Z(W, aa, ca, ka); + return Z(W, aa, ca, ja); }; eb.jwkToRsaDer = function (W) { var aa, @@ -1383,11 +1393,11 @@ a000.D9b = function () { W = ba(W); if (!W) return Ab; - if (W instanceof Ba) { + if (W instanceof Aa) { aa = "spki"; ca = Qa(W).der; } else if (W instanceof sa) - (aa = "pkcs8", ca = la(W).der); + (aa = "pkcs8", ca = ka(W).der); else return Ab; return new ha(ca, aa, W.keyOps, W.ext); @@ -1407,27 +1417,27 @@ a000.D9b = function () { for (var gb = {}, fb = {}, eb = { "=": 0, ".": 0 - }, ab = { + }, $a = { "=": 0, ".": 0 }, kb = /\s+/g, qb = /^[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/_-]*[=]{0,2}$/, jb = 64; jb--; ) { gb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb]] = 262144 * jb; fb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb]] = 4096 * jb; eb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb]] = 64 * jb; - ab[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb]] = jb; + $a[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb]] = jb; } for (jb = 64; jb-- && ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")[jb] != ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]; ) { gb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]] = 262144 * jb; fb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]] = 4096 * jb; eb[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]] = 64 * jb; - ab[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]] = jb; + $a[("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_")[jb]] = jb; } Db = function (Fa, Na) { - for (var Qa = "", ya = 0, la = Fa.length, fa = la - 2, Z = Na ? "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ba = Na ? "" : "="; ya < fa; ) { + for (var Qa = "", ya = 0, ka = Fa.length, fa = ka - 2, Z = Na ? "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_" : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", ba = Na ? "" : "="; ya < fa; ) { Na = 65536 * Fa[ya++] + 256 * Fa[ya++] + Fa[ya++]; Qa += Z[Na >>> 18] + Z[Na >>> 12 & 63] + Z[Na >>> 6 & 63] + Z[Na & 63]; } - ya == fa ? (Na = 65536 * Fa[ya++] + 256 * Fa[ya++], Qa += Z[Na >>> 18] + Z[Na >>> 12 & 63] + Z[Na >>> 6 & 63] + ba) : ya == la - 1 && (Na = 65536 * Fa[ya++], Qa += Z[Na >>> 18] + Z[Na >>> 12 & 63] + ba + ba); + ya == fa ? (Na = 65536 * Fa[ya++] + 256 * Fa[ya++], Qa += Z[Na >>> 18] + Z[Na >>> 12 & 63] + Z[Na >>> 6 & 63] + ba) : ya == ka - 1 && (Na = 65536 * Fa[ya++], Qa += Z[Na >>> 18] + Z[Na >>> 12 & 63] + ba + ba); return Qa; }; Fb = function (Fa, Na) { @@ -1441,12 +1451,12 @@ a000.D9b = function () { Na = Fa.length; if (0 != Na % 4 || !qb.test(Fa)) throw Error("bad base64: " + Fa); - for (var ya = Na / 4 * 3 - ("=" == Fa[Na - 1] ? 1 : 0) - ("=" == Fa[Na - 2] ? 1 : 0), la = new Uint8Array(ya), fa = 0, Z = 0; fa < Na; ) { - Qa = gb[Fa[fa++]] + fb[Fa[fa++]] + eb[Fa[fa++]] + ab[Fa[fa++]]; - la[Z++] = Qa >>> 16; - Z < ya && (la[Z++] = Qa >>> 8 & 255, Z < ya && (la[Z++] = Qa & 255)); + for (var ya = Na / 4 * 3 - ("=" == Fa[Na - 1] ? 1 : 0) - ("=" == Fa[Na - 2] ? 1 : 0), ka = new Uint8Array(ya), fa = 0, Z = 0; fa < Na; ) { + Qa = gb[Fa[fa++]] + fb[Fa[fa++]] + eb[Fa[fa++]] + $a[Fa[fa++]]; + ka[Z++] = Qa >>> 16; + Z < ya && (ka[Z++] = Qa >>> 8 & 255, Z < ya && (ka[Z++] = Qa & 255)); } - return la; + return ka; }; })(); Yb = {}; @@ -1458,8 +1468,8 @@ a000.D9b = function () { function gb(ya) { if (!(this instanceof gb)) return new gb(ya); - for (var la = 0, fa = jb.length; la < fa; la++) { - this[jb[la]] = ""; + for (var ka = 0, fa = jb.length; ka < fa; ka++) { + this[jb[ka]] = ""; } this.bufferCheckPosition = Yb.MAX_BUFFER_LENGTH; this.q = this.c = this.p = ""; @@ -1475,11 +1485,11 @@ a000.D9b = function () { this.unicodeS = null; fb(this, "onready"); } - function fb(ya, la, fa) { - if (ya[la]) - ya[la](fa); + function fb(ya, ka, fa) { + if (ya[ka]) + ya[ka](fa); } - function eb(ya, la) { + function eb(ya, ka) { var fa, Z; fa = ya.opt; @@ -1487,19 +1497,19 @@ a000.D9b = function () { fa.trim && (Z = Z.trim()); fa.normalize && (Z = Z.replace(/\s+/g, " ")); ya.textNode = Z; - ya.textNode && fb(ya, la ? la : "onvalue", ya.textNode); + ya.textNode && fb(ya, ka ? ka : "onvalue", ya.textNode); ya.textNode = ""; } - function ab(ya, la) { + function $a(ya, ka) { eb(ya); - la += "\nLine: " + ya.line + "\nColumn: " + ya.column + "\nChar: " + ya.c; - la = Error(la); - ya.error = la; - fb(ya, "onerror", la); + ka += "\nLine: " + ya.line + "\nColumn: " + ya.column + "\nChar: " + ya.c; + ka = Error(ka); + ya.error = ka; + fb(ya, "onerror", ka); return ya; } function kb(ya) { - ya.state !== Fa.VALUE && ab(ya, "Unexpected end"); + ya.state !== Fa.VALUE && $a(ya, "Unexpected end"); eb(ya); ya.c = ""; ya.closed = !0; @@ -1566,64 +1576,64 @@ a000.D9b = function () { if (this.error) throw this.error; if (this.closed) - return ab(this, "Cannot write after close. Assign an onready handler."); + return $a(this, "Cannot write after close. Assign an onready handler."); if (null === ya) return kb(this); - for (var la = ya[0], fa; la; ) { - fa = la; - this.c = la = ya.charAt(this.index++); - fa !== la ? this.p = fa : fa = this.p; - if (!la) + for (var ka = ya[0], fa; ka; ) { + fa = ka; + this.c = ka = ya.charAt(this.index++); + fa !== ka ? this.p = fa : fa = this.p; + if (!ka) break; this.position++; - "\n" === la ? (this.line++, this.column = 0) : this.column++; + "\n" === ka ? (this.line++, this.column = 0) : this.column++; switch (this.state) { case Fa.BEGIN: - "{" === la ? this.state = Fa.OPEN_OBJECT : "[" === la ? this.state = Fa.OPEN_ARRAY : "\r" !== la && "\n" !== la && " " !== la && "\t" !== la && ab(this, "Non-whitespace before {[."); + "{" === ka ? this.state = Fa.OPEN_OBJECT : "[" === ka ? this.state = Fa.OPEN_ARRAY : "\r" !== ka && "\n" !== ka && " " !== ka && "\t" !== ka && $a(this, "Non-whitespace before {[."); continue; case Fa.OPEN_KEY: case Fa.OPEN_OBJECT: - if ("\r" === la || "\n" === la || " " === la || "\t" === la) + if ("\r" === ka || "\n" === ka || " " === ka || "\t" === ka) continue; if (this.state === Fa.OPEN_KEY) this.stack.push(Fa.CLOSE_KEY); - else if ("}" === la) { + else if ("}" === ka) { fb(this, "onopenobject"); fb(this, "oncloseobject"); this.state = this.stack.pop() || Fa.VALUE; continue; } else this.stack.push(Fa.CLOSE_OBJECT); - '"' === la ? this.state = Fa.STRING : ab(this, 'Malformed object key should start with "'); + '"' === ka ? this.state = Fa.STRING : $a(this, 'Malformed object key should start with "'); continue; case Fa.CLOSE_KEY: case Fa.CLOSE_OBJECT: - if ("\r" === la || "\n" === la || " " === la || "\t" === la) + if ("\r" === ka || "\n" === ka || " " === ka || "\t" === ka) continue; - ":" === la ? (this.state === Fa.CLOSE_OBJECT ? (this.stack.push(Fa.CLOSE_OBJECT), eb(this, "onopenobject")) : eb(this, "onkey"), this.state = Fa.VALUE) : "}" === la ? (eb(this), fb(this, "oncloseobject", void 0), this.state = this.stack.pop() || Fa.VALUE) : "," === la ? (this.state === Fa.CLOSE_OBJECT && this.stack.push(Fa.CLOSE_OBJECT), eb(this), this.state = Fa.OPEN_KEY) : ab(this, "Bad object"); + ":" === ka ? (this.state === Fa.CLOSE_OBJECT ? (this.stack.push(Fa.CLOSE_OBJECT), eb(this, "onopenobject")) : eb(this, "onkey"), this.state = Fa.VALUE) : "}" === ka ? (eb(this), fb(this, "oncloseobject", void 0), this.state = this.stack.pop() || Fa.VALUE) : "," === ka ? (this.state === Fa.CLOSE_OBJECT && this.stack.push(Fa.CLOSE_OBJECT), eb(this), this.state = Fa.OPEN_KEY) : $a(this, "Bad object"); continue; case Fa.OPEN_ARRAY: case Fa.VALUE: - if ("\r" === la || "\n" === la || " " === la || "\t" === la) + if ("\r" === ka || "\n" === ka || " " === ka || "\t" === ka) continue; if (this.state === Fa.OPEN_ARRAY) - if ((fb(this, "onopenarray"), this.state = Fa.VALUE, "]" === la)) { + if ((fb(this, "onopenarray"), this.state = Fa.VALUE, "]" === ka)) { fb(this, "onclosearray"); this.state = this.stack.pop() || Fa.VALUE; continue; } else this.stack.push(Fa.CLOSE_ARRAY); - '"' === la ? this.state = Fa.STRING : "{" === la ? this.state = Fa.OPEN_OBJECT : "[" === la ? this.state = Fa.OPEN_ARRAY : "t" === la ? this.state = Fa.TRUE : "f" === la ? this.state = Fa.FALSE : "n" === la ? this.state = Fa.NULL : "-" === la ? this.numberNode += la : "0" === la ? (this.numberNode += la, this.state = Fa.NUMBER_DIGIT) : -1 !== ("123456789").indexOf(la) ? (this.numberNode += la, this.state = Fa.NUMBER_DIGIT) : ab(this, "Bad value"); + '"' === ka ? this.state = Fa.STRING : "{" === ka ? this.state = Fa.OPEN_OBJECT : "[" === ka ? this.state = Fa.OPEN_ARRAY : "t" === ka ? this.state = Fa.TRUE : "f" === ka ? this.state = Fa.FALSE : "n" === ka ? this.state = Fa.NULL : "-" === ka ? this.numberNode += ka : "0" === ka ? (this.numberNode += ka, this.state = Fa.NUMBER_DIGIT) : -1 !== ("123456789").indexOf(ka) ? (this.numberNode += ka, this.state = Fa.NUMBER_DIGIT) : $a(this, "Bad value"); continue; case Fa.CLOSE_ARRAY: - if ("," === la) + if ("," === ka) (this.stack.push(Fa.CLOSE_ARRAY), eb(this, "onvalue"), this.state = Fa.VALUE); - else if ("]" === la) + else if ("]" === ka) (eb(this), fb(this, "onclosearray", void 0), this.state = this.stack.pop() || Fa.VALUE); - else if ("\r" === la || "\n" === la || " " === la || "\t" === la) + else if ("\r" === ka || "\n" === ka || " " === ka || "\t" === ka) continue; else - ab(this, "Bad array"); + $a(this, "Bad array"); continue; case Fa.STRING: fa = this.index - 1; @@ -1631,18 +1641,18 @@ a000.D9b = function () { a: for (; ; ) { if (Yb.DEBUG) for (; 0 < ba; ) { - if ((this.unicodeS += la, la = ya.charAt(this.index++), 4 === ba ? (this.textNode += String.fromCharCode(parseInt(this.unicodeS, 16)), ba = 0, fa = this.index - 1) : ba++, !la)) + if ((this.unicodeS += ka, ka = ya.charAt(this.index++), 4 === ba ? (this.textNode += String.fromCharCode(parseInt(this.unicodeS, 16)), ba = 0, fa = this.index - 1) : ba++, !ka)) break a; } - if ('"' === la && !Z) { + if ('"' === ka && !Z) { this.state = this.stack.pop() || Fa.VALUE; (this.textNode += ya.substring(fa, this.index - 1)) || fb(this, "onvalue", ""); break; } - if ("\\" === la && !Z && (Z = !0, this.textNode += ya.substring(fa, this.index - 1), la = ya.charAt(this.index++), !la)) + if ("\\" === ka && !Z && (Z = !0, this.textNode += ya.substring(fa, this.index - 1), ka = ya.charAt(this.index++), !ka)) break; if (Z) - if ((Z = !1, "n" === la ? this.textNode += "\n" : "r" === la ? this.textNode += "\r" : "t" === la ? this.textNode += "\t" : "f" === la ? this.textNode += "\f" : "b" === la ? this.textNode += "\b" : "u" === la ? (ba = 1, this.unicodeS = "") : this.textNode += la, la = ya.charAt(this.index++), fa = this.index - 1, la)) + if ((Z = !1, "n" === ka ? this.textNode += "\n" : "r" === ka ? this.textNode += "\r" : "t" === ka ? this.textNode += "\t" : "f" === ka ? this.textNode += "\f" : "b" === ka ? this.textNode += "\b" : "u" === ka ? (ba = 1, this.unicodeS = "") : this.textNode += ka, ka = ya.charAt(this.index++), fa = this.index - 1, ka)) continue; else break; @@ -1654,8 +1664,8 @@ a000.D9b = function () { break; } this.index = ha.index + 1; - la = ya.charAt(ha.index); - if (!la) { + ka = ya.charAt(ha.index); + if (!ka) { this.textNode += ya.substring(fa, this.index - 1); break; } @@ -1664,68 +1674,68 @@ a000.D9b = function () { this.unicodeI = ba; continue; case Fa.TRUE: - if ("" === la) + if ("" === ka) continue; - "r" === la ? this.state = Fa.TRUE2 : ab(this, "Invalid true started with t" + la); + "r" === ka ? this.state = Fa.TRUE2 : $a(this, "Invalid true started with t" + ka); continue; case Fa.TRUE2: - if ("" === la) + if ("" === ka) continue; - "u" === la ? this.state = Fa.TRUE3 : ab(this, "Invalid true started with tr" + la); + "u" === ka ? this.state = Fa.TRUE3 : $a(this, "Invalid true started with tr" + ka); continue; case Fa.TRUE3: - if ("" === la) + if ("" === ka) continue; - "e" === la ? (fb(this, "onvalue", !0), this.state = this.stack.pop() || Fa.VALUE) : ab(this, "Invalid true started with tru" + la); + "e" === ka ? (fb(this, "onvalue", !0), this.state = this.stack.pop() || Fa.VALUE) : $a(this, "Invalid true started with tru" + ka); continue; case Fa.FALSE: - if ("" === la) + if ("" === ka) continue; - "a" === la ? this.state = Fa.FALSE2 : ab(this, "Invalid false started with f" + la); + "a" === ka ? this.state = Fa.FALSE2 : $a(this, "Invalid false started with f" + ka); continue; case Fa.FALSE2: - if ("" === la) + if ("" === ka) continue; - "l" === la ? this.state = Fa.FALSE3 : ab(this, "Invalid false started with fa" + la); + "l" === ka ? this.state = Fa.FALSE3 : $a(this, "Invalid false started with fa" + ka); continue; case Fa.FALSE3: - if ("" === la) + if ("" === ka) continue; - "s" === la ? this.state = Fa.FALSE4 : ab(this, "Invalid false started with fal" + la); + "s" === ka ? this.state = Fa.FALSE4 : $a(this, "Invalid false started with fal" + ka); continue; case Fa.FALSE4: - if ("" === la) + if ("" === ka) continue; - "e" === la ? (fb(this, "onvalue", !1), this.state = this.stack.pop() || Fa.VALUE) : ab(this, "Invalid false started with fals" + la); + "e" === ka ? (fb(this, "onvalue", !1), this.state = this.stack.pop() || Fa.VALUE) : $a(this, "Invalid false started with fals" + ka); continue; case Fa.NULL: - if ("" === la) + if ("" === ka) continue; - "u" === la ? this.state = Fa.NULL2 : ab(this, "Invalid null started with n" + la); + "u" === ka ? this.state = Fa.NULL2 : $a(this, "Invalid null started with n" + ka); continue; case Fa.NULL2: - if ("" === la) + if ("" === ka) continue; - "l" === la ? this.state = Fa.NULL3 : ab(this, "Invalid null started with nu" + la); + "l" === ka ? this.state = Fa.NULL3 : $a(this, "Invalid null started with nu" + ka); continue; case Fa.NULL3: - if ("" === la) + if ("" === ka) continue; - "l" === la ? (fb(this, "onvalue", null), this.state = this.stack.pop() || Fa.VALUE) : ab(this, "Invalid null started with nul" + la); + "l" === ka ? (fb(this, "onvalue", null), this.state = this.stack.pop() || Fa.VALUE) : $a(this, "Invalid null started with nul" + ka); continue; case Fa.NUMBER_DECIMAL_POINT: - "." === la ? (this.numberNode += la, this.state = Fa.NUMBER_DIGIT) : ab(this, "Leading zero not followed by ."); + "." === ka ? (this.numberNode += ka, this.state = Fa.NUMBER_DIGIT) : $a(this, "Leading zero not followed by ."); continue; case Fa.NUMBER_DIGIT: - -1 !== ("0123456789").indexOf(la) ? this.numberNode += la : "." === la ? (-1 !== this.numberNode.indexOf(".") && ab(this, "Invalid number has two dots"), this.numberNode += la) : "e" === la || "E" === la ? (-1 === this.numberNode.indexOf("e") && -1 === this.numberNode.indexOf("E") || ab(this, "Invalid number has two exponential"), this.numberNode += la) : "+" === la || "-" === la ? ("e" !== fa && "E" !== fa && ab(this, "Invalid symbol in number"), this.numberNode += la) : (this.numberNode && fb(this, "onvalue", parseFloat(this.numberNode)), this.numberNode = "", this.index--, this.state = this.stack.pop() || Fa.VALUE); + -1 !== ("0123456789").indexOf(ka) ? this.numberNode += ka : "." === ka ? (-1 !== this.numberNode.indexOf(".") && $a(this, "Invalid number has two dots"), this.numberNode += ka) : "e" === ka || "E" === ka ? (-1 === this.numberNode.indexOf("e") && -1 === this.numberNode.indexOf("E") || $a(this, "Invalid number has two exponential"), this.numberNode += ka) : "+" === ka || "-" === ka ? ("e" !== fa && "E" !== fa && $a(this, "Invalid symbol in number"), this.numberNode += ka) : (this.numberNode && fb(this, "onvalue", parseFloat(this.numberNode)), this.numberNode = "", this.index--, this.state = this.stack.pop() || Fa.VALUE); continue; default: - ab(this, "Unknown state: " + this.state); + $a(this, "Unknown state: " + this.state); } } if (this.position >= this.bufferCheckPosition) { ya = Math.max(Yb.MAX_BUFFER_LENGTH, 10); - fa = la = 0; + fa = ka = 0; for (Z = jb.length; fa < Z; fa++) { ba = this[jb[fa]].length; if (ba > ya) @@ -1733,11 +1743,11 @@ a000.D9b = function () { case "text": break; default: - ab(this, "Max buffer length exceeded: " + jb[fa]); + $a(this, "Max buffer length exceeded: " + jb[fa]); } - la = Math.max(la, ba); + ka = Math.max(ka, ba); } - this.bufferCheckPosition = Yb.MAX_BUFFER_LENGTH - la + this.position; + this.bufferCheckPosition = Yb.MAX_BUFFER_LENGTH - ka + this.position; } return this; }, @@ -1751,7 +1761,7 @@ a000.D9b = function () { }; })(); (function () { - var ab, + var $a, kb, qb; function gb(jb, Fa) { @@ -1761,8 +1771,8 @@ a000.D9b = function () { }, ""); } for (var fb = {}, eb = 0; 256 > eb; ++eb) { - ab = gb([eb]); - fb[ab] = eb; + $a = gb([eb]); + fb[$a] = eb; } kb = Object.keys(fb).length; qb = []; @@ -1771,67 +1781,67 @@ a000.D9b = function () { } Be = function (jb, Fa) { var S, - Y; - function Na(pa, ma) { + X; + function Na(oa, la) { var qa; - for (; 0 < ma; ) { + for (; 0 < la; ) { if (ba >= Z.length) return !1; - if (ma > ha) { - qa = pa; - qa >>>= ma - ha; + if (la > ha) { + qa = oa; + qa >>>= la - ha; Z[ba] |= qa & 255; - ma -= ha; + la -= ha; ha = 8; ++ba; } else - ma <= ha && (qa = pa, qa <<= ha - ma, qa &= 255, qa >>>= 8 - ha, Z[ba] |= qa & 255, ha -= ma, ma = 0, 0 == ha && (ha = 8, ++ba)); + la <= ha && (qa = oa, qa <<= ha - la, qa &= 255, qa >>>= 8 - ha, Z[ba] |= qa & 255, ha -= la, la = 0, 0 == ha && (ha = 8, ++ba)); } return !0; } for (var Qa in fb) { Fa[Qa] = fb[Qa]; } - for (var ya = kb, la = [], fa = 8, Z = new Uint8Array(jb.length), ba = 0, ha = 8, ea = 0; ea < jb.length; ++ea) { - S = jb[ea]; - la.push(S); - Qa = gb(la); - Y = Fa[Qa]; - if (!Y) { - la = gb(la, la.length - 1); - if (!Na(Fa[la], fa)) + for (var ya = kb, ka = [], fa = 8, Z = new Uint8Array(jb.length), ba = 0, ha = 8, da = 0; da < jb.length; ++da) { + S = jb[da]; + ka.push(S); + Qa = gb(ka); + X = Fa[Qa]; + if (!X) { + ka = gb(ka, ka.length - 1); + if (!Na(Fa[ka], fa)) return null; 0 != ya >> fa && ++fa; Fa[Qa] = ya++; - la = [S]; + ka = [S]; } } - return 0 < la.length && (Qa = gb(la), Y = Fa[Qa], !Na(Y, fa)) ? null : Z.subarray(0, 8 > ha ? ba + 1 : ba); + return 0 < ka.length && (Qa = gb(ka), X = Fa[Qa], !Na(X, fa)) ? null : Z.subarray(0, 8 > ha ? ba + 1 : ba); }; Ce = function (jb) { - var ea, + var da, S; - for (var Fa = qb.slice(), Na = 0, Qa = 0, ya = 8, la = new Uint8Array(Math.ceil(1.5 * jb.length)), fa = 0, Z, ba = []; Na < jb.length && !(8 * (jb.length - Na) - Qa < ya); ) { + for (var Fa = qb.slice(), Na = 0, Qa = 0, ya = 8, ka = new Uint8Array(Math.ceil(1.5 * jb.length)), fa = 0, Z, ba = []; Na < jb.length && !(8 * (jb.length - Na) - Qa < ya); ) { for (var ha = Z = 0; ha < ya; ) { - ea = Math.min(ya - ha, 8 - Qa); + da = Math.min(ya - ha, 8 - Qa); S = jb[Na]; S <<= Qa; S &= 255; - S >>>= 8 - ea; - ha += ea; - Qa += ea; + S >>>= 8 - da; + ha += da; + Qa += da; 8 == Qa && (Qa = 0, ++Na); Z |= (S & 255) << ya - ha; } ha = Fa[Z]; 0 == ba.length ? ++ya : (ha ? ba.push(ha[0]) : ba.push(ba[0]), Fa[Fa.length] = ba, ba = [], Fa.length == 1 << ya && ++ya, ha || (ha = Fa[Z])); Z = fa + ha.length; - Z >= la.length && (ea = new Uint8Array(Math.ceil(1.5 * Z)), ea.set(la), la = ea); - la.set(ha, fa); + Z >= ka.length && (da = new Uint8Array(Math.ceil(1.5 * Z)), da.set(ka), ka = da); + ka.set(ha, fa); fa = Z; ba = ba.concat(ha); } - return la.subarray(0, fa); + return ka.subarray(0, fa); }; })(); (function () { @@ -1845,10 +1855,10 @@ a000.D9b = function () { LZW: "LZW" }; Object.freeze(Pc); - De = function (ab) { - for (var kb = [gb.GZIP, gb.LZW], qb = 0; qb < kb.length && 0 < ab.length; ++qb) { - for (var jb = kb[qb], Fa = 0; Fa < ab.length; ++Fa) { - if (ab[Fa] == jb) + De = function ($a) { + for (var kb = [gb.GZIP, gb.LZW], qb = 0; qb < kb.length && 0 < $a.length; ++qb) { + for (var jb = kb[qb], Fa = 0; Fa < $a.length; ++Fa) { + if ($a[Fa] == jb) return jb; } } @@ -1860,16 +1870,16 @@ a000.D9b = function () { RSA_ECB_PKCS1Padding: "RSA/ECB/PKCS1Padding" }; Object.freeze(vd); - Ee = function (ab) { - return fb.AES_CBC_PKCS5Padding == ab ? fb.AES_CBC_PKCS5Padding : fb.RSA_ECB_PKCS1Padding == ab ? fb.RSA_ECB_PKCS1Padding : fb[ab]; + Ee = function ($a) { + return fb.AES_CBC_PKCS5Padding == $a ? fb.AES_CBC_PKCS5Padding : fb.RSA_ECB_PKCS1Padding == $a ? fb.RSA_ECB_PKCS1Padding : fb[$a]; }; eb = Fe = { HmacSHA256: "HmacSHA256", SHA256withRSA: "SHA256withRSA" }; Object.freeze(Fe); - Ud = function (ab) { - return eb[ab]; + Ud = function ($a) { + return eb[$a]; }; Ja = { FAIL: 1, @@ -1893,7 +1903,7 @@ a000.D9b = function () { var gb, fb, eb, - ab, + $a, kb, qb, jb, @@ -1901,16 +1911,16 @@ a000.D9b = function () { gb = arguments[0]; fb = 1; eb = arguments.length; - ab = !1; - "boolean" === typeof gb && (ab = gb, gb = arguments[1], fb = 2); + $a = !1; + "boolean" === typeof gb && ($a = gb, gb = arguments[1], fb = 2); for (; fb < eb; fb++) { if (null != (kb = arguments[fb])) for (qb in kb) { - if (!(ab && (qb in gb))) { + if (!($a && (qb in gb))) { jb = kb[qb]; if (gb !== jb && jb !== Ab) { Fa = gb[qb]; - gb[qb] = null !== Fa && null !== jb && "object" === typeof Fa && "object" === typeof jb ? Bb.extendDeep(ab, {}, Fa, jb) : jb; + gb[qb] = null !== Fa && null !== jb && "object" === typeof Fa && "object" === typeof jb ? Bb.extendDeep($a, {}, Fa, jb) : jb; } } } @@ -1924,25 +1934,25 @@ a000.D9b = function () { function gb(Na, Qa) { return function () { var ya, - la; + ka; ya = Na.base; Na.base = Qa; - la = Na.apply(this, arguments); + ka = Na.apply(this, arguments); Na.base = ya; - return la; + return ka; }; } function fb(Na, Qa, ya) { - var la, + var ka, fa, Z, ba; ya = ya || Fa; fa = !!ya.extendAll; - for (la in Qa) { - Z = Qa.__lookupGetter__(la); - ba = Qa.__lookupSetter__(la); - Z || ba ? (Z && Na.__defineGetter__(la, Z), ba && Na.__defineSetter__(la, ba)) : (Z = Qa[la], ba = Na[la], "function" === typeof Z && "function" === typeof ba && Z !== ba ? (Z.base !== Function.prototype.base && (Z = gb(Z, ba)), Z.base = ba) : (fa || ya[la]) && Bb.isObjectLiteral(Z) && Bb.isObjectLiteral(ba) && (Z = Bb.extendDeep({}, ba, Z)), Na[la] = Z); + for (ka in Qa) { + Z = Qa.__lookupGetter__(ka); + ba = Qa.__lookupSetter__(ka); + Z || ba ? (Z && Na.__defineGetter__(ka, Z), ba && Na.__defineSetter__(ka, ba)) : (Z = Qa[ka], ba = Na[ka], "function" === typeof Z && "function" === typeof ba && Z !== ba ? (Z.base !== Function.prototype.base && (Z = gb(Z, ba)), Z.base = ba) : (fa || ya[ka]) && Bb.isObjectLiteral(Z) && Bb.isObjectLiteral(ba) && (Z = Bb.extendDeep({}, ba, Z)), Na[ka] = Z); } } function eb() { @@ -1951,14 +1961,14 @@ a000.D9b = function () { Na = Array.prototype.slice; Qa = Na.call(arguments, 1); return this.extend({ - init: function la() { + init: function ka() { var fa; fa = Na.call(arguments, 0); - la.base.apply(this, Qa.concat(fa)); + ka.base.apply(this, Qa.concat(fa)); } }); } - function ab(Na, Qa) { + function $a(Na, Qa) { var ya; ya = new this(jb); fb(ya, Na, Qa); @@ -1977,7 +1987,7 @@ a000.D9b = function () { }; Na && (Qa.prototype = Na); Qa.prototype.constructor = Qa; - Qa.extend = ab; + Qa.extend = $a; Qa.bind = eb; Qa.mixin = kb; return Qa; @@ -2008,26 +2018,26 @@ a000.D9b = function () { Na; function gb(Qa, ya) { return function () { - var la, + var ka, fa; - la = Qa.base; + ka = Qa.base; Qa.base = ya; fa = Qa.apply(this, arguments); - Qa.base = la; + Qa.base = ka; return fa; }; } - function fb(Qa, ya, la) { + function fb(Qa, ya, ka) { var fa, Z, ba, ha; - la = la || Fa; - Z = !!la.extendAll; + ka = ka || Fa; + Z = !!ka.extendAll; for (fa in ya) { ba = ya.__lookupGetter__(fa); ha = ya.__lookupSetter__(fa); - ba || ha ? (ba && Qa.__defineGetter__(fa, ba), ha && Qa.__defineSetter__(fa, ha)) : (ba = ya[fa], ha = Qa[fa], "function" === typeof ba && "function" === typeof ha && ba !== ha ? (ba.base !== Na && (ba = gb(ba, ha)), ba.base = ha) : (Z || la[fa]) && Bb.isObjectLiteral(ba) && Bb.isObjectLiteral(ha) && (ba = Bb.extendDeep({}, ha, ba)), Qa[fa] = ba); + ba || ha ? (ba && Qa.__defineGetter__(fa, ba), ha && Qa.__defineSetter__(fa, ha)) : (ba = ya[fa], ha = Qa[fa], "function" === typeof ba && "function" === typeof ha && ba !== ha ? (ba.base !== Na && (ba = gb(ba, ha)), ba.base = ha) : (Z || ka[fa]) && Bb.isObjectLiteral(ba) && Bb.isObjectLiteral(ha) && (ba = Bb.extendDeep({}, ha, ba)), Qa[fa] = ba); } } function eb() { @@ -2043,11 +2053,11 @@ a000.D9b = function () { } }); } - function ab(Qa, ya) { - var la; - la = new this(jb); - fb(la, Qa, ya); - return qb(la); + function $a(Qa, ya) { + var ka; + ka = new this(jb); + fb(ka, Qa, ya); + return qb(ka); } function kb(Qa, ya) { fb(this.prototype, Qa, ya); @@ -2056,13 +2066,13 @@ a000.D9b = function () { function qb(Qa) { var ya; ya = function () { - var la; - la = this.init; - la && arguments[0] !== jb && la.apply(this, arguments); + var ka; + ka = this.init; + ka && arguments[0] !== jb && ka.apply(this, arguments); }; Qa && (ya.prototype = Qa); ya.prototype.constructor = ya; - ya.extend = ab; + ya.extend = $a; ya.bind = eb; ya.mixin = kb; return ya; @@ -2077,10 +2087,10 @@ a000.D9b = function () { create: qb, mixin: fb, extend: function (Qa, ya) { - var la; - la = qb(); - la.prototype = new Qa(); - return la.extend(ya); + var ka; + ka = qb(); + ka.prototype = new Qa(); + return ka.extend(ya); } }; Bb.mixin = function () { @@ -2095,10 +2105,10 @@ a000.D9b = function () { function fb(eb) { if (0 === Object.keys(eb._waiters).length) return 0; - for (var ab = gb(eb._nextWaiter); !eb._waiters[ab]; ) { - ab = gb(ab); + for (var $a = gb(eb._nextWaiter); !eb._waiters[$a]; ) { + $a = gb($a); } - return ab; + return $a; } hd = Bb.Class.create({ init: function () { @@ -2130,12 +2140,12 @@ a000.D9b = function () { }); }, cancel: function (eb) { - var ab; + var $a; if (this._waiters[eb]) { - ab = this._waiters[eb]; + $a = this._waiters[eb]; delete this._waiters[eb]; eb == this._nextWaiter && (this._nextWaiter = fb(this)); - ab.call(this, Ab); + $a.call(this, Ab); } }, cancelAll: function () { @@ -2143,30 +2153,30 @@ a000.D9b = function () { this.cancel(this._nextWaiter); } }, - poll: function (eb, ab) { + poll: function (eb, $a) { var kb, qb; kb = this; qb = gb(this._lastWaiter); this._lastWaiter = qb; - cb(ab, function () { + db($a, function () { var jb, Fa; if (0 < this._queue.length) { jb = this._queue.shift(); setTimeout(function () { - ab.result(jb); + $a.result(jb); }, 0); } else { -1 != eb && (Fa = setTimeout(function () { delete kb._waiters[qb]; qb == kb._nextWaiter && (kb._nextWaiter = fb(kb)); - ab.timeout(); + $a.timeout(); }, eb)); this._waiters[qb] = function (Na) { clearTimeout(Fa); setTimeout(function () { - ab.result(Na); + $a.result(Na); }, 0); }; this._nextWaiter || (this._nextWaiter = qb); @@ -2175,12 +2185,12 @@ a000.D9b = function () { return qb; }, add: function (eb) { - var ab; + var $a; if (this._nextWaiter) { - ab = this._waiters[this._nextWaiter]; + $a = this._waiters[this._nextWaiter]; delete this._waiters[this._nextWaiter]; this._nextWaiter = fb(this); - ab.call(this, eb); + $a.call(this, eb); } else this._queue.push(eb); } @@ -2229,21 +2239,21 @@ a000.D9b = function () { }); })(); (function () { - function gb(ab) { - return ab == Mb ? 1 : ab + 1; + function gb($a) { + return $a == Mb ? 1 : $a + 1; } - function fb(ab) { - if (0 === Object.keys(ab._waitingReaders).length) + function fb($a) { + if (0 === Object.keys($a._waitingReaders).length) return 0; - for (var kb = gb(ab._nextReader); !ab._waitingReaders[kb]; ) { + for (var kb = gb($a._nextReader); !$a._waitingReaders[kb]; ) { kb = gb(kb); } return kb; } - function eb(ab) { - if (0 === Object.keys(ab._waitingWriters).length) + function eb($a) { + if (0 === Object.keys($a._waitingWriters).length) return 0; - for (var kb = gb(ab._nextWriter); !ab._waitingWriters[kb]; ) { + for (var kb = gb($a._nextWriter); !$a._waitingWriters[kb]; ) { kb = gb(kb); } return kb; @@ -2295,15 +2305,15 @@ a000.D9b = function () { } }); }, - cancel: function (ab) { + cancel: function ($a) { var kb; - if (this._waitingReaders[ab]) { - kb = this._waitingReaders[ab]; - delete this._waitingReaders[ab]; - ab == this._nextReader && (this._nextReader = fb(this)); + if (this._waitingReaders[$a]) { + kb = this._waitingReaders[$a]; + delete this._waitingReaders[$a]; + $a == this._nextReader && (this._nextReader = fb(this)); kb.call(this, !0); } - this._waitingWriters[ab] && (kb = this._waitingWriters[ab], delete this._waitingWriters[ab], ab == this._nextWriter && (this._nextWriter = eb(this)), kb.call(this, !0)); + this._waitingWriters[$a] && (kb = this._waitingWriters[$a], delete this._waitingWriters[$a], $a == this._nextWriter && (this._nextWriter = eb(this)), kb.call(this, !0)); }, cancelAll: function () { for (; 0 !== this._nextWriter; ) { @@ -2313,21 +2323,21 @@ a000.D9b = function () { this.cancel(this._nextReader); } }, - readLock: function (ab, kb) { + readLock: function ($a, kb) { var qb, jb; qb = this; jb = gb(this._lastNumber); this._lastNumber = jb; - cb(kb, function () { + db(kb, function () { var Fa; if (!this._writer && 0 === Object.keys(this._waitingWriters).length) return (this._readers[jb] = !0, jb); - -1 != ab && (Fa = setTimeout(function () { + -1 != $a && (Fa = setTimeout(function () { delete qb._waitingReaders[jb]; jb == qb._nextReader && (qb._nextReader = fb(qb)); kb.timeout(); - }, ab)); + }, $a)); this._waitingReaders[jb] = function (Na) { clearTimeout(Fa); Na ? setTimeout(function () { @@ -2340,21 +2350,21 @@ a000.D9b = function () { }, qb); return jb; }, - writeLock: function (ab, kb) { + writeLock: function ($a, kb) { var qb, jb; qb = this; jb = gb(this._lastNumber); this._lastNumber = jb; - cb(kb, function () { + db(kb, function () { var Fa; if (0 === Object.keys(this._readers).length && 0 === Object.keys(this._waitingReaders).length && !this._writer) return this._writer = jb; - -1 != ab && (Fa = setTimeout(function () { + -1 != $a && (Fa = setTimeout(function () { delete qb._waitingWriters[jb]; jb == qb._nextWriter && (qb._nextWriter = eb(qb)); kb.timeout(); - }, ab)); + }, $a)); this._waitingWriters[jb] = function (Na) { clearTimeout(Fa); Na ? setTimeout(function () { @@ -2367,276 +2377,276 @@ a000.D9b = function () { }, qb); return jb; }, - unlock: function (ab) { - if (ab == this._writer) + unlock: function ($a) { + if ($a == this._writer) this._writer = null; else { - if (!this._readers[ab]) - throw new vb("There is no reader or writer with ticket number " + ab + "."); - delete this._readers[ab]; + if (!this._readers[$a]) + throw new vb("There is no reader or writer with ticket number " + $a + "."); + delete this._readers[$a]; } if (this._nextWriter) - 0 < Object.keys(this._readers).length || (ab = this._waitingWriters[this._nextWriter], delete this._waitingWriters[this._nextWriter], this._nextWriter = eb(this), ab.call(this, !1)); + 0 < Object.keys(this._readers).length || ($a = this._waitingWriters[this._nextWriter], delete this._waitingWriters[this._nextWriter], this._nextWriter = eb(this), $a.call(this, !1)); else { for (var kb = this._nextReader; 0 < Object.keys(this._waitingReaders).length; kb = gb(kb)) { - this._waitingReaders[kb] && (ab = this._waitingReaders[kb], delete this._waitingReaders[kb], ab.call(this, !1)); + this._waitingReaders[kb] && ($a = this._waitingReaders[kb], delete this._waitingReaders[kb], $a.call(this, !1)); } this._nextReader = 0; } } }); })(); - Bb.Class.mixin(U, { - JSON_PARSE_ERROR: new U(0, Ja.FAIL, "Error parsing JSON."), - JSON_ENCODE_ERROR: new U(1, Ja.FAIL, "Error encoding JSON."), - ENVELOPE_HASH_MISMATCH: new U(2, Ja.FAIL, "Computed hash does not match envelope hash."), - INVALID_PUBLIC_KEY: new U(3, Ja.FAIL, "Invalid public key provided."), - INVALID_PRIVATE_KEY: new U(4, Ja.FAIL, "Invalid private key provided."), - PLAINTEXT_ILLEGAL_BLOCK_SIZE: new U(5, Ja.FAIL, "Plaintext is not a multiple of the block size."), - PLAINTEXT_BAD_PADDING: new U(6, Ja.FAIL, "Plaintext contains incorrect padding."), - CIPHERTEXT_ILLEGAL_BLOCK_SIZE: new U(7, Ja.FAIL, "Ciphertext is not a multiple of the block size."), - CIPHERTEXT_BAD_PADDING: new U(8, Ja.FAIL, "Ciphertext contains incorrect padding."), - ENCRYPT_NOT_SUPPORTED: new U(9, Ja.FAIL, "Encryption not supported."), - DECRYPT_NOT_SUPPORTED: new U(10, Ja.FAIL, "Decryption not supported."), - ENVELOPE_KEY_ID_MISMATCH: new U(11, Ja.FAIL, "Encryption envelope key ID does not match crypto context key ID."), - CIPHERTEXT_ENVELOPE_PARSE_ERROR: new U(12, Ja.FAIL, "Error parsing ciphertext envelope."), - CIPHERTEXT_ENVELOPE_ENCODE_ERROR: new U(13, Ja.FAIL, "Error encoding ciphertext envelope."), - SIGN_NOT_SUPPORTED: new U(14, Ja.FAIL, "Sign not supported."), - VERIFY_NOT_SUPPORTED: new U(15, Ja.FAIL, "Verify not suppoprted."), - SIGNATURE_ERROR: new U(16, Ja.FAIL, "Signature not initialized or unable to process data/signature."), - HMAC_ERROR: new U(17, Ja.FAIL, "Error computing HMAC."), - ENCRYPT_ERROR: new U(18, Ja.FAIL, "Error encrypting plaintext."), - DECRYPT_ERROR: new U(19, Ja.FAIL, "Error decrypting ciphertext."), - INSUFFICIENT_CIPHERTEXT: new U(20, Ja.FAIL, "Insufficient ciphertext for decryption."), - SESSION_KEY_CREATION_FAILURE: new U(21, Ja.FAIL, "Error when creating session keys."), - ASN1_PARSE_ERROR: new U(22, Ja.FAIL, "Error parsing ASN.1."), - ASN1_ENCODE_ERROR: new U(23, Ja.FAIL, "Error encoding ASN.1."), - INVALID_SYMMETRIC_KEY: new U(24, Ja.FAIL, "Invalid symmetric key provided."), - INVALID_ENCRYPTION_KEY: new U(25, Ja.FAIL, "Invalid encryption key."), - INVALID_HMAC_KEY: new U(26, Ja.FAIL, "Invalid HMAC key."), - WRAP_NOT_SUPPORTED: new U(27, Ja.FAIL, "Wrap not supported."), - UNWRAP_NOT_SUPPORTED: new U(28, Ja.FAIL, "Unwrap not supported."), - UNIDENTIFIED_JWK_TYPE: new U(29, Ja.FAIL, "Unidentified JSON web key type."), - UNIDENTIFIED_JWK_USAGE: new U(30, Ja.FAIL, "Unidentified JSON web key usage."), - UNIDENTIFIED_JWK_ALGORITHM: new U(31, Ja.FAIL, "Unidentified JSON web key algorithm."), - WRAP_ERROR: new U(32, Ja.FAIL, "Error wrapping plaintext."), - UNWRAP_ERROR: new U(33, Ja.FAIL, "Error unwrapping ciphertext."), - INVALID_JWK: new U(34, Ja.FAIL, "Invalid JSON web key."), - INVALID_JWK_KEYDATA: new U(35, Ja.FAIL, "Invalid JSON web key keydata."), - UNSUPPORTED_JWK_ALGORITHM: new U(36, Ja.FAIL, "Unsupported JSON web key algorithm."), - WRAP_KEY_CREATION_FAILURE: new U(37, Ja.FAIL, "Error when creating wrapping key."), - INVALID_WRAP_CIPHERTEXT: new U(38, Ja.FAIL, "Invalid wrap ciphertext."), - UNSUPPORTED_JWE_ALGORITHM: new U(39, Ja.FAIL, "Unsupported JSON web encryption algorithm."), - JWE_ENCODE_ERROR: new U(40, Ja.FAIL, "Error encoding JSON web encryption header."), - JWE_PARSE_ERROR: new U(41, Ja.FAIL, "Error parsing JSON web encryption header."), - INVALID_ALGORITHM_PARAMS: new U(42, Ja.FAIL, "Invalid algorithm parameters."), - JWE_ALGORITHM_MISMATCH: new U(43, Ja.FAIL, "JSON web encryption header algorithms mismatch."), - KEY_IMPORT_ERROR: new U(44, Ja.FAIL, "Error importing key."), - KEY_EXPORT_ERROR: new U(45, Ja.FAIL, "Error exporting key."), - DIGEST_ERROR: new U(46, Ja.FAIL, "Error in digest."), - UNSUPPORTED_KEY: new U(47, Ja.FAIL, "Unsupported key type or algorithm."), - UNSUPPORTED_JWE_SERIALIZATION: new U(48, Ja.FAIL, "Unsupported JSON web encryption serialization."), - XML_PARSE_ERROR: new U(49, Ja.FAIL, "Error parsing XML."), - XML_ENCODE_ERROR: new U(50, Ja.FAIL, "Error encoding XML."), - INVALID_WRAPPING_KEY: new U(51, Ja.FAIL, "Invalid wrapping key."), - UNIDENTIFIED_CIPHERTEXT_ENVELOPE: new U(52, Ja.FAIL, "Unidentified ciphertext envelope version."), - UNIDENTIFIED_SIGNATURE_ENVELOPE: new U(53, Ja.FAIL, "Unidentified signature envelope version."), - UNSUPPORTED_CIPHERTEXT_ENVELOPE: new U(54, Ja.FAIL, "Unsupported ciphertext envelope version."), - UNSUPPORTED_SIGNATURE_ENVELOPE: new U(55, Ja.FAIL, "Unsupported signature envelope version."), - UNIDENTIFIED_CIPHERSPEC: new U(56, Ja.FAIL, "Unidentified cipher specification."), - UNIDENTIFIED_ALGORITHM: new U(57, Ja.FAIL, "Unidentified algorithm."), - SIGNATURE_ENVELOPE_PARSE_ERROR: new U(58, Ja.FAIL, "Error parsing signature envelope."), - SIGNATURE_ENVELOPE_ENCODE_ERROR: new U(59, Ja.FAIL, "Error encoding signature envelope."), - INVALID_SIGNATURE: new U(60, Ja.FAIL, "Invalid signature."), - WRAPKEY_FINGERPRINT_NOTSUPPORTED: new U(61, Ja.FAIL, "Wrap key fingerprint not supported"), - UNIDENTIFIED_JWK_KEYOP: new U(62, Ja.FAIL, "Unidentified JSON web key key operation."), - MASTERTOKEN_UNTRUSTED: new U(1E3, Ja.ENTITY_REAUTH, "Master token is not trusted."), - MASTERTOKEN_KEY_CREATION_ERROR: new U(1001, Ja.ENTITY_REAUTH, "Unable to construct symmetric keys from master token."), - MASTERTOKEN_EXPIRES_BEFORE_RENEWAL: new U(1002, Ja.ENTITY_REAUTH, "Master token expiration timestamp is before the renewal window opens."), - MASTERTOKEN_SESSIONDATA_MISSING: new U(1003, Ja.ENTITY_REAUTH, "No master token session data found."), - MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_RANGE: new U(1004, Ja.ENTITY_REAUTH, "Master token sequence number is out of range."), - MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new U(1005, Ja.ENTITY_REAUTH, "Master token serial number is out of range."), - MASTERTOKEN_TOKENDATA_INVALID: new U(1006, Ja.ENTITY_REAUTH, "Invalid master token data."), - MASTERTOKEN_SIGNATURE_INVALID: new U(1007, Ja.ENTITY_REAUTH, "Invalid master token signature."), - MASTERTOKEN_SESSIONDATA_INVALID: new U(1008, Ja.ENTITY_REAUTH, "Invalid master token session data."), - MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_SYNC: new U(1009, Ja.ENTITY_REAUTH, "Master token sequence number does not have the expected value."), - MASTERTOKEN_TOKENDATA_MISSING: new U(1010, Ja.ENTITY_REAUTH, "No master token data found."), - MASTERTOKEN_TOKENDATA_PARSE_ERROR: new U(1011, Ja.ENTITY_REAUTH, "Error parsing master token data."), - MASTERTOKEN_SESSIONDATA_PARSE_ERROR: new U(1012, Ja.ENTITY_REAUTH, "Error parsing master token session data."), - MASTERTOKEN_IDENTITY_REVOKED: new U(1013, Ja.ENTITY_REAUTH, "Master token entity identity is revoked."), - MASTERTOKEN_REJECTED_BY_APP: new U(1014, Ja.ENTITY_REAUTH, "Master token is rejected by the application."), - USERIDTOKEN_MASTERTOKEN_MISMATCH: new U(2E3, Ja.USER_REAUTH, "User ID token master token serial number does not match master token serial number."), - USERIDTOKEN_NOT_DECRYPTED: new U(2001, Ja.USER_REAUTH, "User ID token is not decrypted or verified."), - USERIDTOKEN_MASTERTOKEN_NULL: new U(2002, Ja.USER_REAUTH, "User ID token requires a master token."), - USERIDTOKEN_EXPIRES_BEFORE_RENEWAL: new U(2003, Ja.USER_REAUTH, "User ID token expiration timestamp is before the renewal window opens."), - USERIDTOKEN_USERDATA_MISSING: new U(2004, Ja.USER_REAUTH, "No user ID token user data found."), - USERIDTOKEN_MASTERTOKEN_NOT_FOUND: new U(2005, Ja.USER_REAUTH, "User ID token is bound to an unknown master token."), - USERIDTOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new U(2006, Ja.USER_REAUTH, "User ID token master token serial number is out of range."), - USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new U(2007, Ja.USER_REAUTH, "User ID token serial number is out of range."), - USERIDTOKEN_TOKENDATA_INVALID: new U(2008, Ja.USER_REAUTH, "Invalid user ID token data."), - USERIDTOKEN_SIGNATURE_INVALID: new U(2009, Ja.USER_REAUTH, "Invalid user ID token signature."), - USERIDTOKEN_USERDATA_INVALID: new U(2010, Ja.USER_REAUTH, "Invalid user ID token user data."), - USERIDTOKEN_IDENTITY_INVALID: new U(2011, Ja.USER_REAUTH, "Invalid user ID token user identity."), - RESERVED_2012: new U(2012, Ja.USER_REAUTH, "The entity is not associated with the user."), - USERIDTOKEN_IDENTITY_NOT_FOUND: new U(2013, Ja.USER_REAUTH, "The user identity was not found."), - USERIDTOKEN_PASSWORD_VERSION_CHANGED: new U(2014, Ja.USER_REAUTH, "The user identity must be reauthenticated because the password version changed."), - USERIDTOKEN_USERAUTH_DATA_MISMATCH: new U(2015, Ja.USER_REAUTH, "The user ID token and user authentication data user identities do not match."), - USERIDTOKEN_TOKENDATA_MISSING: new U(2016, Ja.USER_REAUTH, "No user ID token data found."), - USERIDTOKEN_TOKENDATA_PARSE_ERROR: new U(2017, Ja.USER_REAUTH, "Error parsing user ID token data."), - USERIDTOKEN_USERDATA_PARSE_ERROR: new U(2018, Ja.USER_REAUTH, "Error parsing user ID token user data."), - USERIDTOKEN_REVOKED: new U(2019, Ja.USER_REAUTH, "User ID token is revoked."), - USERIDTOKEN_REJECTED_BY_APP: new U(2020, Ja.USER_REAUTH, "User ID token is rejected by the application."), - SERVICETOKEN_MASTERTOKEN_MISMATCH: new U(3E3, Ja.FAIL, "Service token master token serial number does not match master token serial number."), - SERVICETOKEN_USERIDTOKEN_MISMATCH: new U(3001, Ja.FAIL, "Service token user ID token serial number does not match user ID token serial number."), - SERVICETOKEN_SERVICEDATA_INVALID: new U(3002, Ja.FAIL, "Service token data invalid."), - SERVICETOKEN_MASTERTOKEN_NOT_FOUND: new U(3003, Ja.FAIL, "Service token is bound to an unknown master token."), - SERVICETOKEN_USERIDTOKEN_NOT_FOUND: new U(3004, Ja.FAIL, "Service token is bound to an unknown user ID token."), - SERVICETOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new U(3005, Ja.FAIL, "Service token master token serial number is out of range."), - SERVICETOKEN_USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new U(3006, Ja.FAIL, "Service token user ID token serial number is out of range."), - SERVICETOKEN_TOKENDATA_INVALID: new U(3007, Ja.FAIL, "Invalid service token data."), - SERVICETOKEN_SIGNATURE_INVALID: new U(3008, Ja.FAIL, "Invalid service token signature."), - SERVICETOKEN_TOKENDATA_MISSING: new U(3009, Ja.FAIL, "No service token data found."), - UNIDENTIFIED_ENTITYAUTH_SCHEME: new U(4E3, Ja.FAIL, "Unable to identify entity authentication scheme."), - ENTITYAUTH_FACTORY_NOT_FOUND: new U(4001, Ja.FAIL, "No factory registered for entity authentication scheme."), - X509CERT_PARSE_ERROR: new U(4002, Ja.ENTITYDATA_REAUTH, "Error parsing X.509 certificate data."), - X509CERT_ENCODE_ERROR: new U(4003, Ja.ENTITYDATA_REAUTH, "Error encoding X.509 certificate data."), - X509CERT_VERIFICATION_FAILED: new U(4004, Ja.ENTITYDATA_REAUTH, "X.509 certificate verification failed."), - ENTITY_NOT_FOUND: new U(4005, Ja.FAIL, "Entity not recognized."), - INCORRECT_ENTITYAUTH_DATA: new U(4006, Ja.FAIL, "Entity used incorrect entity authentication data type."), - RSA_PUBLICKEY_NOT_FOUND: new U(4007, Ja.ENTITYDATA_REAUTH, "RSA public key not found."), - NPTICKET_GRACE_PERIOD_EXCEEDED: new U(4008, Ja.ENTITYDATA_REAUTH, "Fake NP-Tickets cannot be used after the grace period when the Playstation Network is up."), - NPTICKET_SERVICE_ID_MISSING: new U(4009, Ja.ENTITYDATA_REAUTH, "NP-Ticket service ID is missing."), - NPTICKET_SERVICE_ID_DISALLOWED: new U(4010, Ja.ENTITYDATA_REAUTH, "NP-Ticket service ID is not allowed."), - NPTICKET_NOT_YET_VALID: new U(4011, Ja.ENTITYDATA_REAUTH, "NP-Ticket issuance date is in the future."), - NPTICKET_EXPIRED: new U(4012, Ja.ENTITYDATA_REAUTH, "NP-Ticket has expired."), - NPTICKET_PRIVATE_KEY_NOT_FOUND: new U(4013, Ja.ENTITYDATA_REAUTH, "No private key found for NP-Ticket GUID."), - NPTICKET_COOKIE_VERIFICATION_FAILED: new U(4014, Ja.ENTITYDATA_REAUTH, "NP-Ticket cookie signature verification failed."), - NPTICKET_INCORRECT_COOKIE_VERSION: new U(4015, Ja.ENTITYDATA_REAUTH, "Incorrect NP-Ticket cookie version."), - NPTICKET_BROKEN: new U(4016, Ja.ENTITYDATA_REAUTH, "NP-Ticket broken."), - NPTICKET_VERIFICATION_FAILED: new U(4017, Ja.ENTITYDATA_REAUTH, "NP-Ticket signature verification failed."), - NPTICKET_ERROR: new U(4018, Ja.ENTITYDATA_REAUTH, "Unknown NP-Ticket TCM error."), - NPTICKET_CIPHER_INFO_NOT_FOUND: new U(4019, Ja.ENTITYDATA_REAUTH, "No cipher information found for NP-Ticket."), - NPTICKET_INVALID_CIPHER_INFO: new U(4020, Ja.ENTITYDATA_REAUTH, "Cipher information for NP-Ticket is invalid."), - NPTICKET_UNSUPPORTED_VERSION: new U(4021, Ja.ENTITYDATA_REAUTH, "Unsupported NP-Ticket version."), - NPTICKET_INCORRECT_KEY_LENGTH: new U(4022, Ja.ENTITYDATA_REAUTH, "Incorrect NP-Ticket public key length."), - UNSUPPORTED_ENTITYAUTH_DATA: new U(4023, Ja.FAIL, "Unsupported entity authentication data."), - CRYPTEX_RSA_KEY_SET_NOT_FOUND: new U(4024, Ja.FAIL, "Cryptex RSA key set not found."), - ENTITY_REVOKED: new U(4025, Ja.FAIL, "Entity is revoked."), - ENTITY_REJECTED_BY_APP: new U(4026, Ja.ENTITYDATA_REAUTH, "Entity is rejected by the application."), - FORCE_LOGIN: new U(5E3, Ja.USERDATA_REAUTH, "User must login again."), - NETFLIXID_COOKIES_EXPIRED: new U(5001, Ja.USERDATA_REAUTH, "Netflix ID cookie identity has expired."), - NETFLIXID_COOKIES_BLANK: new U(5002, Ja.USERDATA_REAUTH, "Netflix ID or Secure Netflix ID cookie is blank."), - UNIDENTIFIED_USERAUTH_SCHEME: new U(5003, Ja.FAIL, "Unable to identify user authentication scheme."), - USERAUTH_FACTORY_NOT_FOUND: new U(5004, Ja.FAIL, "No factory registered for user authentication scheme."), - EMAILPASSWORD_BLANK: new U(5005, Ja.USERDATA_REAUTH, "Email or password is blank."), - AUTHMGR_COMMS_FAILURE: new U(5006, Ja.TRANSIENT_FAILURE, "Error communicating with authentication manager."), - EMAILPASSWORD_INCORRECT: new U(5007, Ja.USERDATA_REAUTH, "Email or password is incorrect."), - UNSUPPORTED_USERAUTH_DATA: new U(5008, Ja.FAIL, "Unsupported user authentication data."), - SSOTOKEN_BLANK: new U(5009, Ja.SSOTOKEN_REJECTED, "SSO token is blank."), - SSOTOKEN_NOT_ASSOCIATED: new U(5010, Ja.USERDATA_REAUTH, "SSO token is not associated with a Netflix user."), - USERAUTH_USERIDTOKEN_INVALID: new U(5011, Ja.USERDATA_REAUTH, "User authentication data user ID token is invalid."), - PROFILEID_BLANK: new U(5012, Ja.USERDATA_REAUTH, "Profile ID is blank."), - UNIDENTIFIED_USERAUTH_MECHANISM: new U(5013, Ja.FAIL, "Unable to identify user authentication mechanism."), - UNSUPPORTED_USERAUTH_MECHANISM: new U(5014, Ja.FAIL, "Unsupported user authentication mechanism."), - SSOTOKEN_INVALID: new U(5015, Ja.SSOTOKEN_REJECTED, "SSO token invalid."), - USERAUTH_MASTERTOKEN_MISSING: new U(5016, Ja.USERDATA_REAUTH, "User authentication required master token is missing."), - ACCTMGR_COMMS_FAILURE: new U(5017, Ja.TRANSIENT_FAILURE, "Error communicating with the account manager."), - SSO_ASSOCIATION_FAILURE: new U(5018, Ja.TRANSIENT_FAILURE, "SSO user association failed."), - SSO_DISASSOCIATION_FAILURE: new U(5019, Ja.TRANSIENT_FAILURE, "SSO user disassociation failed."), - MDX_USERAUTH_VERIFICATION_FAILED: new U(5020, Ja.USERDATA_REAUTH, "MDX user authentication data verification failed."), - USERAUTH_USERIDTOKEN_NOT_DECRYPTED: new U(5021, Ja.USERDATA_REAUTH, "User authentication data user ID token is not decrypted or verified."), - MDX_USERAUTH_ACTION_INVALID: new U(5022, Ja.USERDATA_REAUTH, "MDX user authentication data action is invalid."), - CTICKET_DECRYPT_ERROR: new U(5023, Ja.USERDATA_REAUTH, "CTicket decryption failed."), - USERAUTH_MASTERTOKEN_INVALID: new U(5024, Ja.USERDATA_REAUTH, "User authentication data master token is invalid."), - USERAUTH_MASTERTOKEN_NOT_DECRYPTED: new U(5025, Ja.USERDATA_REAUTH, "User authentication data master token is not decrypted or verified."), - CTICKET_CRYPTOCONTEXT_ERROR: new U(5026, Ja.USERDATA_REAUTH, "Error creating CTicket crypto context."), - MDX_PIN_BLANK: new U(5027, Ja.USERDATA_REAUTH, "MDX controller or target PIN is blank."), - MDX_PIN_MISMATCH: new U(5028, Ja.USERDATA_REAUTH, "MDX controller and target PIN mismatch."), - MDX_USER_UNKNOWN: new U(5029, Ja.USERDATA_REAUTH, "MDX controller user ID token or CTicket is not decrypted or verified."), - USERAUTH_USERIDTOKEN_MISSING: new U(5030, Ja.USERDATA_REAUTH, "User authentication required user ID token is missing."), - MDX_CONTROLLERDATA_INVALID: new U(5031, Ja.USERDATA_REAUTH, "MDX controller authentication data is invalid."), - USERAUTH_ENTITY_MISMATCH: new U(5032, Ja.USERDATA_REAUTH, "User authentication data does not match entity identity."), - USERAUTH_INCORRECT_DATA: new U(5033, Ja.FAIL, "Entity used incorrect key request data type"), - SSO_ASSOCIATION_WITH_NONMEMBER: new U(5034, Ja.USERDATA_REAUTH, "SSO user association failed because the customer is not a member."), - SSO_ASSOCIATION_WITH_FORMERMEMBER: new U(5035, Ja.USERDATA_REAUTH, "SSO user association failed because the customer is a former member."), - SSO_ASSOCIATION_CONFLICT: new U(5036, Ja.USERDATA_REAUTH, "SSO user association failed because the token identifies a different member."), - USER_REJECTED_BY_APP: new U(5037, Ja.USERDATA_REAUTH, "User is rejected by the application."), - PROFILE_SWITCH_DISALLOWED: new U(5038, Ja.TRANSIENT_FAILURE, "Unable to switch user profile."), - MEMBERSHIPCLIENT_COMMS_FAILURE: new U(5039, Ja.TRANSIENT_FAILURE, "Error communicating with the membership manager."), - USERIDTOKEN_IDENTITY_NOT_ASSOCIATED_WITH_ENTITY: new U(5040, Ja.USER_REAUTH, "The entity is not associated with the user."), - UNSUPPORTED_COMPRESSION: new U(6E3, Ja.FAIL, "Unsupported compression algorithm."), - COMPRESSION_ERROR: new U(6001, Ja.FAIL, "Error compressing data."), - UNCOMPRESSION_ERROR: new U(6002, Ja.FAIL, "Error uncompressing data."), - MESSAGE_ENTITY_NOT_FOUND: new U(6003, Ja.FAIL, "Message header entity authentication data or master token not found."), - PAYLOAD_MESSAGE_ID_MISMATCH: new U(6004, Ja.FAIL, "Payload chunk message ID does not match header message ID ."), - PAYLOAD_SEQUENCE_NUMBER_MISMATCH: new U(6005, Ja.FAIL, "Payload chunk sequence number does not match expected sequence number."), - PAYLOAD_VERIFICATION_FAILED: new U(6006, Ja.FAIL, "Payload chunk payload signature verification failed."), - MESSAGE_DATA_MISSING: new U(6007, Ja.FAIL, "No message data found."), - MESSAGE_FORMAT_ERROR: new U(6008, Ja.FAIL, "Malformed message data."), - MESSAGE_VERIFICATION_FAILED: new U(6009, Ja.FAIL, "Message header/error data signature verification failed."), - HEADER_DATA_MISSING: new U(6010, Ja.FAIL, "No header data found."), - PAYLOAD_DATA_MISSING: new U(6011, Ja.FAIL, "No payload data found in non-EOM payload chunk."), - PAYLOAD_DATA_CORRUPT: new U(6012, Ja.FAIL, "Corrupt payload data found in non-EOM payload chunk."), - UNIDENTIFIED_COMPRESSION: new U(6013, Ja.FAIL, "Unidentified compression algorithm."), - MESSAGE_EXPIRED: new U(6014, Ja.EXPIRED, "Message expired and not renewable. Rejected."), - MESSAGE_ID_OUT_OF_RANGE: new U(6015, Ja.FAIL, "Message ID is out of range."), - INTERNAL_CODE_NEGATIVE: new U(6016, Ja.FAIL, "Error header internal code is negative."), - UNEXPECTED_RESPONSE_MESSAGE_ID: new U(6017, Ja.FAIL, "Unexpected response message ID. Possible replay."), - RESPONSE_REQUIRES_ENCRYPTION: new U(6018, Ja.KEYX_REQUIRED, "Message response requires encryption."), - PAYLOAD_SEQUENCE_NUMBER_OUT_OF_RANGE: new U(6019, Ja.FAIL, "Payload chunk sequence number is out of range."), - PAYLOAD_MESSAGE_ID_OUT_OF_RANGE: new U(6020, Ja.FAIL, "Payload chunk message ID is out of range."), - MESSAGE_REPLAYED: new U(6021, Ja.REPLAYED, "Non-replayable message replayed."), - INCOMPLETE_NONREPLAYABLE_MESSAGE: new U(6022, Ja.FAIL, "Non-replayable message sent non-renewable or without key request data or without a master token."), - HEADER_SIGNATURE_INVALID: new U(6023, Ja.FAIL, "Invalid Header signature."), - HEADER_DATA_INVALID: new U(6024, Ja.FAIL, "Invalid header data."), - PAYLOAD_INVALID: new U(6025, Ja.FAIL, "Invalid payload."), - PAYLOAD_SIGNATURE_INVALID: new U(6026, Ja.FAIL, "Invalid payload signature."), - RESPONSE_REQUIRES_MASTERTOKEN: new U(6027, Ja.KEYX_REQUIRED, "Message response requires a master token."), - RESPONSE_REQUIRES_USERIDTOKEN: new U(6028, Ja.USER_REAUTH, "Message response requires a user ID token."), - REQUEST_REQUIRES_USERAUTHDATA: new U(6029, Ja.FAIL, "User-associated message requires user authentication data."), - UNEXPECTED_MESSAGE_SENDER: new U(6030, Ja.FAIL, "Message sender is equal to the local entity or not the master token entity."), - NONREPLAYABLE_MESSAGE_REQUIRES_MASTERTOKEN: new U(6031, Ja.FAIL, "Non-replayable message requires a master token."), - NONREPLAYABLE_ID_OUT_OF_RANGE: new U(6032, Ja.FAIL, "Non-replayable message non-replayable ID is out of range."), - MESSAGE_SERVICETOKEN_MISMATCH: new U(6033, Ja.FAIL, "Service token master token or user ID token serial number does not match the message token serial numbers."), - MESSAGE_PEER_SERVICETOKEN_MISMATCH: new U(6034, Ja.FAIL, "Peer service token master token or user ID token serial number does not match the message peer token serial numbers."), - RESPONSE_REQUIRES_INTEGRITY_PROTECTION: new U(6035, Ja.KEYX_REQUIRED, "Message response requires integrity protection."), - HANDSHAKE_DATA_MISSING: new U(6036, Ja.FAIL, "Handshake message is not renewable or does not contain key request data."), - MESSAGE_RECIPIENT_MISMATCH: new U(6037, Ja.FAIL, "Message recipient does not match local identity."), - UNIDENTIFIED_KEYX_SCHEME: new U(7E3, Ja.FAIL, "Unable to identify key exchange scheme."), - KEYX_FACTORY_NOT_FOUND: new U(7001, Ja.FAIL, "No factory registered for key exchange scheme."), - KEYX_REQUEST_NOT_FOUND: new U(7002, Ja.FAIL, "No key request found matching header key response data."), - UNIDENTIFIED_KEYX_KEY_ID: new U(7003, Ja.FAIL, "Unable to identify key exchange key ID."), - UNSUPPORTED_KEYX_KEY_ID: new U(7004, Ja.FAIL, "Unsupported key exchange key ID."), - UNIDENTIFIED_KEYX_MECHANISM: new U(7005, Ja.FAIL, "Unable to identify key exchange mechanism."), - UNSUPPORTED_KEYX_MECHANISM: new U(7006, Ja.FAIL, "Unsupported key exchange mechanism."), - KEYX_RESPONSE_REQUEST_MISMATCH: new U(7007, Ja.FAIL, "Key exchange response does not match request."), - KEYX_PRIVATE_KEY_MISSING: new U(7008, Ja.FAIL, "Key exchange private key missing."), - UNKNOWN_KEYX_PARAMETERS_ID: new U(7009, Ja.FAIL, "Key exchange parameters ID unknown or invalid."), - KEYX_MASTER_TOKEN_MISSING: new U(7010, Ja.FAIL, "Master token required for key exchange is missing."), - KEYX_INVALID_PUBLIC_KEY: new U(7011, Ja.FAIL, "Key exchange public key is invalid."), - KEYX_PUBLIC_KEY_MISSING: new U(7012, Ja.FAIL, "Key exchange public key missing."), - KEYX_WRAPPING_KEY_MISSING: new U(7013, Ja.FAIL, "Key exchange wrapping key missing."), - KEYX_WRAPPING_KEY_ID_MISSING: new U(7014, Ja.FAIL, "Key exchange wrapping key ID missing."), - KEYX_INVALID_WRAPPING_KEY: new U(7015, Ja.FAIL, "Key exchange wrapping key is invalid."), - KEYX_INCORRECT_DATA: new U(7016, Ja.FAIL, "Entity used incorrect wrapping key data type"), - CRYPTEX_ENCRYPTION_ERROR: new U(8E3, Ja.FAIL, "Error encrypting data with cryptex."), - CRYPTEX_DECRYPTION_ERROR: new U(8001, Ja.FAIL, "Error decrypting data with cryptex."), - CRYPTEX_MAC_ERROR: new U(8002, Ja.FAIL, "Error computing MAC with cryptex."), - CRYPTEX_VERIFY_ERROR: new U(8003, Ja.FAIL, "Error verifying MAC with cryptex."), - CRYPTEX_CONTEXT_CREATION_FAILURE: new U(8004, Ja.FAIL, "Error creating cryptex cipher or MAC context."), - DATAMODEL_DEVICE_ACCESS_ERROR: new U(8005, Ja.TRANSIENT_FAILURE, "Error accessing data model device."), - DATAMODEL_DEVICETYPE_NOT_FOUND: new U(8006, Ja.FAIL, "Data model device type not found."), - CRYPTEX_KEYSET_UNSUPPORTED: new U(8007, Ja.FAIL, "Cryptex key set not supported."), - CRYPTEX_PRIVILEGE_EXCEPTION: new U(8008, Ja.FAIL, "Insufficient privileges for cryptex operation."), - CRYPTEX_WRAP_ERROR: new U(8009, Ja.FAIL, "Error wrapping data with cryptex."), - CRYPTEX_UNWRAP_ERROR: new U(8010, Ja.FAIL, "Error unwrapping data with cryptex."), - CRYPTEX_COMMS_FAILURE: new U(8011, Ja.TRANSIENT_FAILURE, "Error comunicating with cryptex."), - CRYPTEX_SIGN_ERROR: new U(8012, Ja.FAIL, "Error computing signature with cryptex."), - INTERNAL_EXCEPTION: new U(9E3, Ja.TRANSIENT_FAILURE, "Internal exception."), - MSL_COMMS_FAILURE: new U(9001, Ja.FAIL, "Error communicating with MSL entity."), - NONE: new U(9999, Ja.FAIL, "Special unit test error.") + Bb.Class.mixin(T, { + JSON_PARSE_ERROR: new T(0, Ja.FAIL, "Error parsing JSON."), + JSON_ENCODE_ERROR: new T(1, Ja.FAIL, "Error encoding JSON."), + ENVELOPE_HASH_MISMATCH: new T(2, Ja.FAIL, "Computed hash does not match envelope hash."), + INVALID_PUBLIC_KEY: new T(3, Ja.FAIL, "Invalid public key provided."), + INVALID_PRIVATE_KEY: new T(4, Ja.FAIL, "Invalid private key provided."), + PLAINTEXT_ILLEGAL_BLOCK_SIZE: new T(5, Ja.FAIL, "Plaintext is not a multiple of the block size."), + PLAINTEXT_BAD_PADDING: new T(6, Ja.FAIL, "Plaintext contains incorrect padding."), + CIPHERTEXT_ILLEGAL_BLOCK_SIZE: new T(7, Ja.FAIL, "Ciphertext is not a multiple of the block size."), + CIPHERTEXT_BAD_PADDING: new T(8, Ja.FAIL, "Ciphertext contains incorrect padding."), + ENCRYPT_NOT_SUPPORTED: new T(9, Ja.FAIL, "Encryption not supported."), + DECRYPT_NOT_SUPPORTED: new T(10, Ja.FAIL, "Decryption not supported."), + ENVELOPE_KEY_ID_MISMATCH: new T(11, Ja.FAIL, "Encryption envelope key ID does not match crypto context key ID."), + CIPHERTEXT_ENVELOPE_PARSE_ERROR: new T(12, Ja.FAIL, "Error parsing ciphertext envelope."), + CIPHERTEXT_ENVELOPE_ENCODE_ERROR: new T(13, Ja.FAIL, "Error encoding ciphertext envelope."), + SIGN_NOT_SUPPORTED: new T(14, Ja.FAIL, "Sign not supported."), + VERIFY_NOT_SUPPORTED: new T(15, Ja.FAIL, "Verify not suppoprted."), + SIGNATURE_ERROR: new T(16, Ja.FAIL, "Signature not initialized or unable to process data/signature."), + HMAC_ERROR: new T(17, Ja.FAIL, "Error computing HMAC."), + ENCRYPT_ERROR: new T(18, Ja.FAIL, "Error encrypting plaintext."), + DECRYPT_ERROR: new T(19, Ja.FAIL, "Error decrypting ciphertext."), + INSUFFICIENT_CIPHERTEXT: new T(20, Ja.FAIL, "Insufficient ciphertext for decryption."), + SESSION_KEY_CREATION_FAILURE: new T(21, Ja.FAIL, "Error when creating session keys."), + ASN1_PARSE_ERROR: new T(22, Ja.FAIL, "Error parsing ASN.1."), + ASN1_ENCODE_ERROR: new T(23, Ja.FAIL, "Error encoding ASN.1."), + INVALID_SYMMETRIC_KEY: new T(24, Ja.FAIL, "Invalid symmetric key provided."), + INVALID_ENCRYPTION_KEY: new T(25, Ja.FAIL, "Invalid encryption key."), + INVALID_HMAC_KEY: new T(26, Ja.FAIL, "Invalid HMAC key."), + WRAP_NOT_SUPPORTED: new T(27, Ja.FAIL, "Wrap not supported."), + UNWRAP_NOT_SUPPORTED: new T(28, Ja.FAIL, "Unwrap not supported."), + UNIDENTIFIED_JWK_TYPE: new T(29, Ja.FAIL, "Unidentified JSON web key type."), + UNIDENTIFIED_JWK_USAGE: new T(30, Ja.FAIL, "Unidentified JSON web key usage."), + UNIDENTIFIED_JWK_ALGORITHM: new T(31, Ja.FAIL, "Unidentified JSON web key algorithm."), + WRAP_ERROR: new T(32, Ja.FAIL, "Error wrapping plaintext."), + UNWRAP_ERROR: new T(33, Ja.FAIL, "Error unwrapping ciphertext."), + INVALID_JWK: new T(34, Ja.FAIL, "Invalid JSON web key."), + INVALID_JWK_KEYDATA: new T(35, Ja.FAIL, "Invalid JSON web key keydata."), + UNSUPPORTED_JWK_ALGORITHM: new T(36, Ja.FAIL, "Unsupported JSON web key algorithm."), + WRAP_KEY_CREATION_FAILURE: new T(37, Ja.FAIL, "Error when creating wrapping key."), + INVALID_WRAP_CIPHERTEXT: new T(38, Ja.FAIL, "Invalid wrap ciphertext."), + UNSUPPORTED_JWE_ALGORITHM: new T(39, Ja.FAIL, "Unsupported JSON web encryption algorithm."), + JWE_ENCODE_ERROR: new T(40, Ja.FAIL, "Error encoding JSON web encryption header."), + JWE_PARSE_ERROR: new T(41, Ja.FAIL, "Error parsing JSON web encryption header."), + INVALID_ALGORITHM_PARAMS: new T(42, Ja.FAIL, "Invalid algorithm parameters."), + JWE_ALGORITHM_MISMATCH: new T(43, Ja.FAIL, "JSON web encryption header algorithms mismatch."), + KEY_IMPORT_ERROR: new T(44, Ja.FAIL, "Error importing key."), + KEY_EXPORT_ERROR: new T(45, Ja.FAIL, "Error exporting key."), + DIGEST_ERROR: new T(46, Ja.FAIL, "Error in digest."), + UNSUPPORTED_KEY: new T(47, Ja.FAIL, "Unsupported key type or algorithm."), + UNSUPPORTED_JWE_SERIALIZATION: new T(48, Ja.FAIL, "Unsupported JSON web encryption serialization."), + XML_PARSE_ERROR: new T(49, Ja.FAIL, "Error parsing XML."), + XML_ENCODE_ERROR: new T(50, Ja.FAIL, "Error encoding XML."), + INVALID_WRAPPING_KEY: new T(51, Ja.FAIL, "Invalid wrapping key."), + UNIDENTIFIED_CIPHERTEXT_ENVELOPE: new T(52, Ja.FAIL, "Unidentified ciphertext envelope version."), + UNIDENTIFIED_SIGNATURE_ENVELOPE: new T(53, Ja.FAIL, "Unidentified signature envelope version."), + UNSUPPORTED_CIPHERTEXT_ENVELOPE: new T(54, Ja.FAIL, "Unsupported ciphertext envelope version."), + UNSUPPORTED_SIGNATURE_ENVELOPE: new T(55, Ja.FAIL, "Unsupported signature envelope version."), + UNIDENTIFIED_CIPHERSPEC: new T(56, Ja.FAIL, "Unidentified cipher specification."), + UNIDENTIFIED_ALGORITHM: new T(57, Ja.FAIL, "Unidentified algorithm."), + SIGNATURE_ENVELOPE_PARSE_ERROR: new T(58, Ja.FAIL, "Error parsing signature envelope."), + SIGNATURE_ENVELOPE_ENCODE_ERROR: new T(59, Ja.FAIL, "Error encoding signature envelope."), + INVALID_SIGNATURE: new T(60, Ja.FAIL, "Invalid signature."), + WRAPKEY_FINGERPRINT_NOTSUPPORTED: new T(61, Ja.FAIL, "Wrap key fingerprint not supported"), + UNIDENTIFIED_JWK_KEYOP: new T(62, Ja.FAIL, "Unidentified JSON web key key operation."), + MASTERTOKEN_UNTRUSTED: new T(1E3, Ja.ENTITY_REAUTH, "Master token is not trusted."), + MASTERTOKEN_KEY_CREATION_ERROR: new T(1001, Ja.ENTITY_REAUTH, "Unable to construct symmetric keys from master token."), + MASTERTOKEN_EXPIRES_BEFORE_RENEWAL: new T(1002, Ja.ENTITY_REAUTH, "Master token expiration timestamp is before the renewal window opens."), + MASTERTOKEN_SESSIONDATA_MISSING: new T(1003, Ja.ENTITY_REAUTH, "No master token session data found."), + MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_RANGE: new T(1004, Ja.ENTITY_REAUTH, "Master token sequence number is out of range."), + MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new T(1005, Ja.ENTITY_REAUTH, "Master token serial number is out of range."), + MASTERTOKEN_TOKENDATA_INVALID: new T(1006, Ja.ENTITY_REAUTH, "Invalid master token data."), + MASTERTOKEN_SIGNATURE_INVALID: new T(1007, Ja.ENTITY_REAUTH, "Invalid master token signature."), + MASTERTOKEN_SESSIONDATA_INVALID: new T(1008, Ja.ENTITY_REAUTH, "Invalid master token session data."), + MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_SYNC: new T(1009, Ja.ENTITY_REAUTH, "Master token sequence number does not have the expected value."), + MASTERTOKEN_TOKENDATA_MISSING: new T(1010, Ja.ENTITY_REAUTH, "No master token data found."), + MASTERTOKEN_TOKENDATA_PARSE_ERROR: new T(1011, Ja.ENTITY_REAUTH, "Error parsing master token data."), + MASTERTOKEN_SESSIONDATA_PARSE_ERROR: new T(1012, Ja.ENTITY_REAUTH, "Error parsing master token session data."), + MASTERTOKEN_IDENTITY_REVOKED: new T(1013, Ja.ENTITY_REAUTH, "Master token entity identity is revoked."), + MASTERTOKEN_REJECTED_BY_APP: new T(1014, Ja.ENTITY_REAUTH, "Master token is rejected by the application."), + USERIDTOKEN_MASTERTOKEN_MISMATCH: new T(2E3, Ja.USER_REAUTH, "User ID token master token serial number does not match master token serial number."), + USERIDTOKEN_NOT_DECRYPTED: new T(2001, Ja.USER_REAUTH, "User ID token is not decrypted or verified."), + USERIDTOKEN_MASTERTOKEN_NULL: new T(2002, Ja.USER_REAUTH, "User ID token requires a master token."), + USERIDTOKEN_EXPIRES_BEFORE_RENEWAL: new T(2003, Ja.USER_REAUTH, "User ID token expiration timestamp is before the renewal window opens."), + USERIDTOKEN_USERDATA_MISSING: new T(2004, Ja.USER_REAUTH, "No user ID token user data found."), + USERIDTOKEN_MASTERTOKEN_NOT_FOUND: new T(2005, Ja.USER_REAUTH, "User ID token is bound to an unknown master token."), + USERIDTOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new T(2006, Ja.USER_REAUTH, "User ID token master token serial number is out of range."), + USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new T(2007, Ja.USER_REAUTH, "User ID token serial number is out of range."), + USERIDTOKEN_TOKENDATA_INVALID: new T(2008, Ja.USER_REAUTH, "Invalid user ID token data."), + USERIDTOKEN_SIGNATURE_INVALID: new T(2009, Ja.USER_REAUTH, "Invalid user ID token signature."), + USERIDTOKEN_USERDATA_INVALID: new T(2010, Ja.USER_REAUTH, "Invalid user ID token user data."), + USERIDTOKEN_IDENTITY_INVALID: new T(2011, Ja.USER_REAUTH, "Invalid user ID token user identity."), + RESERVED_2012: new T(2012, Ja.USER_REAUTH, "The entity is not associated with the user."), + USERIDTOKEN_IDENTITY_NOT_FOUND: new T(2013, Ja.USER_REAUTH, "The user identity was not found."), + USERIDTOKEN_PASSWORD_VERSION_CHANGED: new T(2014, Ja.USER_REAUTH, "The user identity must be reauthenticated because the password version changed."), + USERIDTOKEN_USERAUTH_DATA_MISMATCH: new T(2015, Ja.USER_REAUTH, "The user ID token and user authentication data user identities do not match."), + USERIDTOKEN_TOKENDATA_MISSING: new T(2016, Ja.USER_REAUTH, "No user ID token data found."), + USERIDTOKEN_TOKENDATA_PARSE_ERROR: new T(2017, Ja.USER_REAUTH, "Error parsing user ID token data."), + USERIDTOKEN_USERDATA_PARSE_ERROR: new T(2018, Ja.USER_REAUTH, "Error parsing user ID token user data."), + USERIDTOKEN_REVOKED: new T(2019, Ja.USER_REAUTH, "User ID token is revoked."), + USERIDTOKEN_REJECTED_BY_APP: new T(2020, Ja.USER_REAUTH, "User ID token is rejected by the application."), + SERVICETOKEN_MASTERTOKEN_MISMATCH: new T(3E3, Ja.FAIL, "Service token master token serial number does not match master token serial number."), + SERVICETOKEN_USERIDTOKEN_MISMATCH: new T(3001, Ja.FAIL, "Service token user ID token serial number does not match user ID token serial number."), + SERVICETOKEN_SERVICEDATA_INVALID: new T(3002, Ja.FAIL, "Service token data invalid."), + SERVICETOKEN_MASTERTOKEN_NOT_FOUND: new T(3003, Ja.FAIL, "Service token is bound to an unknown master token."), + SERVICETOKEN_USERIDTOKEN_NOT_FOUND: new T(3004, Ja.FAIL, "Service token is bound to an unknown user ID token."), + SERVICETOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new T(3005, Ja.FAIL, "Service token master token serial number is out of range."), + SERVICETOKEN_USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE: new T(3006, Ja.FAIL, "Service token user ID token serial number is out of range."), + SERVICETOKEN_TOKENDATA_INVALID: new T(3007, Ja.FAIL, "Invalid service token data."), + SERVICETOKEN_SIGNATURE_INVALID: new T(3008, Ja.FAIL, "Invalid service token signature."), + SERVICETOKEN_TOKENDATA_MISSING: new T(3009, Ja.FAIL, "No service token data found."), + UNIDENTIFIED_ENTITYAUTH_SCHEME: new T(4E3, Ja.FAIL, "Unable to identify entity authentication scheme."), + ENTITYAUTH_FACTORY_NOT_FOUND: new T(4001, Ja.FAIL, "No factory registered for entity authentication scheme."), + X509CERT_PARSE_ERROR: new T(4002, Ja.ENTITYDATA_REAUTH, "Error parsing X.509 certificate data."), + X509CERT_ENCODE_ERROR: new T(4003, Ja.ENTITYDATA_REAUTH, "Error encoding X.509 certificate data."), + X509CERT_VERIFICATION_FAILED: new T(4004, Ja.ENTITYDATA_REAUTH, "X.509 certificate verification failed."), + ENTITY_NOT_FOUND: new T(4005, Ja.FAIL, "Entity not recognized."), + INCORRECT_ENTITYAUTH_DATA: new T(4006, Ja.FAIL, "Entity used incorrect entity authentication data type."), + RSA_PUBLICKEY_NOT_FOUND: new T(4007, Ja.ENTITYDATA_REAUTH, "RSA public key not found."), + NPTICKET_GRACE_PERIOD_EXCEEDED: new T(4008, Ja.ENTITYDATA_REAUTH, "Fake NP-Tickets cannot be used after the grace period when the Playstation Network is up."), + NPTICKET_SERVICE_ID_MISSING: new T(4009, Ja.ENTITYDATA_REAUTH, "NP-Ticket service ID is missing."), + NPTICKET_SERVICE_ID_DISALLOWED: new T(4010, Ja.ENTITYDATA_REAUTH, "NP-Ticket service ID is not allowed."), + NPTICKET_NOT_YET_VALID: new T(4011, Ja.ENTITYDATA_REAUTH, "NP-Ticket issuance date is in the future."), + NPTICKET_EXPIRED: new T(4012, Ja.ENTITYDATA_REAUTH, "NP-Ticket has expired."), + NPTICKET_PRIVATE_KEY_NOT_FOUND: new T(4013, Ja.ENTITYDATA_REAUTH, "No private key found for NP-Ticket GUID."), + NPTICKET_COOKIE_VERIFICATION_FAILED: new T(4014, Ja.ENTITYDATA_REAUTH, "NP-Ticket cookie signature verification failed."), + NPTICKET_INCORRECT_COOKIE_VERSION: new T(4015, Ja.ENTITYDATA_REAUTH, "Incorrect NP-Ticket cookie version."), + NPTICKET_BROKEN: new T(4016, Ja.ENTITYDATA_REAUTH, "NP-Ticket broken."), + NPTICKET_VERIFICATION_FAILED: new T(4017, Ja.ENTITYDATA_REAUTH, "NP-Ticket signature verification failed."), + NPTICKET_ERROR: new T(4018, Ja.ENTITYDATA_REAUTH, "Unknown NP-Ticket TCM error."), + NPTICKET_CIPHER_INFO_NOT_FOUND: new T(4019, Ja.ENTITYDATA_REAUTH, "No cipher information found for NP-Ticket."), + NPTICKET_INVALID_CIPHER_INFO: new T(4020, Ja.ENTITYDATA_REAUTH, "Cipher information for NP-Ticket is invalid."), + NPTICKET_UNSUPPORTED_VERSION: new T(4021, Ja.ENTITYDATA_REAUTH, "Unsupported NP-Ticket version."), + NPTICKET_INCORRECT_KEY_LENGTH: new T(4022, Ja.ENTITYDATA_REAUTH, "Incorrect NP-Ticket public key length."), + UNSUPPORTED_ENTITYAUTH_DATA: new T(4023, Ja.FAIL, "Unsupported entity authentication data."), + CRYPTEX_RSA_KEY_SET_NOT_FOUND: new T(4024, Ja.FAIL, "Cryptex RSA key set not found."), + ENTITY_REVOKED: new T(4025, Ja.FAIL, "Entity is revoked."), + ENTITY_REJECTED_BY_APP: new T(4026, Ja.ENTITYDATA_REAUTH, "Entity is rejected by the application."), + FORCE_LOGIN: new T(5E3, Ja.USERDATA_REAUTH, "User must login again."), + NETFLIXID_COOKIES_EXPIRED: new T(5001, Ja.USERDATA_REAUTH, "Netflix ID cookie identity has expired."), + NETFLIXID_COOKIES_BLANK: new T(5002, Ja.USERDATA_REAUTH, "Netflix ID or Secure Netflix ID cookie is blank."), + UNIDENTIFIED_USERAUTH_SCHEME: new T(5003, Ja.FAIL, "Unable to identify user authentication scheme."), + USERAUTH_FACTORY_NOT_FOUND: new T(5004, Ja.FAIL, "No factory registered for user authentication scheme."), + EMAILPASSWORD_BLANK: new T(5005, Ja.USERDATA_REAUTH, "Email or password is blank."), + AUTHMGR_COMMS_FAILURE: new T(5006, Ja.TRANSIENT_FAILURE, "Error communicating with authentication manager."), + EMAILPASSWORD_INCORRECT: new T(5007, Ja.USERDATA_REAUTH, "Email or password is incorrect."), + UNSUPPORTED_USERAUTH_DATA: new T(5008, Ja.FAIL, "Unsupported user authentication data."), + SSOTOKEN_BLANK: new T(5009, Ja.SSOTOKEN_REJECTED, "SSO token is blank."), + SSOTOKEN_NOT_ASSOCIATED: new T(5010, Ja.USERDATA_REAUTH, "SSO token is not associated with a Netflix user."), + USERAUTH_USERIDTOKEN_INVALID: new T(5011, Ja.USERDATA_REAUTH, "User authentication data user ID token is invalid."), + PROFILEID_BLANK: new T(5012, Ja.USERDATA_REAUTH, "Profile ID is blank."), + UNIDENTIFIED_USERAUTH_MECHANISM: new T(5013, Ja.FAIL, "Unable to identify user authentication mechanism."), + UNSUPPORTED_USERAUTH_MECHANISM: new T(5014, Ja.FAIL, "Unsupported user authentication mechanism."), + SSOTOKEN_INVALID: new T(5015, Ja.SSOTOKEN_REJECTED, "SSO token invalid."), + USERAUTH_MASTERTOKEN_MISSING: new T(5016, Ja.USERDATA_REAUTH, "User authentication required master token is missing."), + ACCTMGR_COMMS_FAILURE: new T(5017, Ja.TRANSIENT_FAILURE, "Error communicating with the account manager."), + SSO_ASSOCIATION_FAILURE: new T(5018, Ja.TRANSIENT_FAILURE, "SSO user association failed."), + SSO_DISASSOCIATION_FAILURE: new T(5019, Ja.TRANSIENT_FAILURE, "SSO user disassociation failed."), + MDX_USERAUTH_VERIFICATION_FAILED: new T(5020, Ja.USERDATA_REAUTH, "MDX user authentication data verification failed."), + USERAUTH_USERIDTOKEN_NOT_DECRYPTED: new T(5021, Ja.USERDATA_REAUTH, "User authentication data user ID token is not decrypted or verified."), + MDX_USERAUTH_ACTION_INVALID: new T(5022, Ja.USERDATA_REAUTH, "MDX user authentication data action is invalid."), + CTICKET_DECRYPT_ERROR: new T(5023, Ja.USERDATA_REAUTH, "CTicket decryption failed."), + USERAUTH_MASTERTOKEN_INVALID: new T(5024, Ja.USERDATA_REAUTH, "User authentication data master token is invalid."), + USERAUTH_MASTERTOKEN_NOT_DECRYPTED: new T(5025, Ja.USERDATA_REAUTH, "User authentication data master token is not decrypted or verified."), + CTICKET_CRYPTOCONTEXT_ERROR: new T(5026, Ja.USERDATA_REAUTH, "Error creating CTicket crypto context."), + MDX_PIN_BLANK: new T(5027, Ja.USERDATA_REAUTH, "MDX controller or target PIN is blank."), + MDX_PIN_MISMATCH: new T(5028, Ja.USERDATA_REAUTH, "MDX controller and target PIN mismatch."), + MDX_USER_UNKNOWN: new T(5029, Ja.USERDATA_REAUTH, "MDX controller user ID token or CTicket is not decrypted or verified."), + USERAUTH_USERIDTOKEN_MISSING: new T(5030, Ja.USERDATA_REAUTH, "User authentication required user ID token is missing."), + MDX_CONTROLLERDATA_INVALID: new T(5031, Ja.USERDATA_REAUTH, "MDX controller authentication data is invalid."), + USERAUTH_ENTITY_MISMATCH: new T(5032, Ja.USERDATA_REAUTH, "User authentication data does not match entity identity."), + USERAUTH_INCORRECT_DATA: new T(5033, Ja.FAIL, "Entity used incorrect key request data type"), + SSO_ASSOCIATION_WITH_NONMEMBER: new T(5034, Ja.USERDATA_REAUTH, "SSO user association failed because the customer is not a member."), + SSO_ASSOCIATION_WITH_FORMERMEMBER: new T(5035, Ja.USERDATA_REAUTH, "SSO user association failed because the customer is a former member."), + SSO_ASSOCIATION_CONFLICT: new T(5036, Ja.USERDATA_REAUTH, "SSO user association failed because the token identifies a different member."), + USER_REJECTED_BY_APP: new T(5037, Ja.USERDATA_REAUTH, "User is rejected by the application."), + PROFILE_SWITCH_DISALLOWED: new T(5038, Ja.TRANSIENT_FAILURE, "Unable to switch user profile."), + MEMBERSHIPCLIENT_COMMS_FAILURE: new T(5039, Ja.TRANSIENT_FAILURE, "Error communicating with the membership manager."), + USERIDTOKEN_IDENTITY_NOT_ASSOCIATED_WITH_ENTITY: new T(5040, Ja.USER_REAUTH, "The entity is not associated with the user."), + UNSUPPORTED_COMPRESSION: new T(6E3, Ja.FAIL, "Unsupported compression algorithm."), + COMPRESSION_ERROR: new T(6001, Ja.FAIL, "Error compressing data."), + UNCOMPRESSION_ERROR: new T(6002, Ja.FAIL, "Error uncompressing data."), + MESSAGE_ENTITY_NOT_FOUND: new T(6003, Ja.FAIL, "Message header entity authentication data or master token not found."), + PAYLOAD_MESSAGE_ID_MISMATCH: new T(6004, Ja.FAIL, "Payload chunk message ID does not match header message ID ."), + PAYLOAD_SEQUENCE_NUMBER_MISMATCH: new T(6005, Ja.FAIL, "Payload chunk sequence number does not match expected sequence number."), + PAYLOAD_VERIFICATION_FAILED: new T(6006, Ja.FAIL, "Payload chunk payload signature verification failed."), + MESSAGE_DATA_MISSING: new T(6007, Ja.FAIL, "No message data found."), + MESSAGE_FORMAT_ERROR: new T(6008, Ja.FAIL, "Malformed message data."), + MESSAGE_VERIFICATION_FAILED: new T(6009, Ja.FAIL, "Message header/error data signature verification failed."), + HEADER_DATA_MISSING: new T(6010, Ja.FAIL, "No header data found."), + PAYLOAD_DATA_MISSING: new T(6011, Ja.FAIL, "No payload data found in non-EOM payload chunk."), + PAYLOAD_DATA_CORRUPT: new T(6012, Ja.FAIL, "Corrupt payload data found in non-EOM payload chunk."), + UNIDENTIFIED_COMPRESSION: new T(6013, Ja.FAIL, "Unidentified compression algorithm."), + MESSAGE_EXPIRED: new T(6014, Ja.EXPIRED, "Message expired and not renewable. Rejected."), + MESSAGE_ID_OUT_OF_RANGE: new T(6015, Ja.FAIL, "Message ID is out of range."), + INTERNAL_CODE_NEGATIVE: new T(6016, Ja.FAIL, "Error header internal code is negative."), + UNEXPECTED_RESPONSE_MESSAGE_ID: new T(6017, Ja.FAIL, "Unexpected response message ID. Possible replay."), + RESPONSE_REQUIRES_ENCRYPTION: new T(6018, Ja.KEYX_REQUIRED, "Message response requires encryption."), + PAYLOAD_SEQUENCE_NUMBER_OUT_OF_RANGE: new T(6019, Ja.FAIL, "Payload chunk sequence number is out of range."), + PAYLOAD_MESSAGE_ID_OUT_OF_RANGE: new T(6020, Ja.FAIL, "Payload chunk message ID is out of range."), + MESSAGE_REPLAYED: new T(6021, Ja.REPLAYED, "Non-replayable message replayed."), + INCOMPLETE_NONREPLAYABLE_MESSAGE: new T(6022, Ja.FAIL, "Non-replayable message sent non-renewable or without key request data or without a master token."), + HEADER_SIGNATURE_INVALID: new T(6023, Ja.FAIL, "Invalid Header signature."), + HEADER_DATA_INVALID: new T(6024, Ja.FAIL, "Invalid header data."), + PAYLOAD_INVALID: new T(6025, Ja.FAIL, "Invalid payload."), + PAYLOAD_SIGNATURE_INVALID: new T(6026, Ja.FAIL, "Invalid payload signature."), + RESPONSE_REQUIRES_MASTERTOKEN: new T(6027, Ja.KEYX_REQUIRED, "Message response requires a master token."), + RESPONSE_REQUIRES_USERIDTOKEN: new T(6028, Ja.USER_REAUTH, "Message response requires a user ID token."), + REQUEST_REQUIRES_USERAUTHDATA: new T(6029, Ja.FAIL, "User-associated message requires user authentication data."), + UNEXPECTED_MESSAGE_SENDER: new T(6030, Ja.FAIL, "Message sender is equal to the local entity or not the master token entity."), + NONREPLAYABLE_MESSAGE_REQUIRES_MASTERTOKEN: new T(6031, Ja.FAIL, "Non-replayable message requires a master token."), + NONREPLAYABLE_ID_OUT_OF_RANGE: new T(6032, Ja.FAIL, "Non-replayable message non-replayable ID is out of range."), + MESSAGE_SERVICETOKEN_MISMATCH: new T(6033, Ja.FAIL, "Service token master token or user ID token serial number does not match the message token serial numbers."), + MESSAGE_PEER_SERVICETOKEN_MISMATCH: new T(6034, Ja.FAIL, "Peer service token master token or user ID token serial number does not match the message peer token serial numbers."), + RESPONSE_REQUIRES_INTEGRITY_PROTECTION: new T(6035, Ja.KEYX_REQUIRED, "Message response requires integrity protection."), + HANDSHAKE_DATA_MISSING: new T(6036, Ja.FAIL, "Handshake message is not renewable or does not contain key request data."), + MESSAGE_RECIPIENT_MISMATCH: new T(6037, Ja.FAIL, "Message recipient does not match local identity."), + UNIDENTIFIED_KEYX_SCHEME: new T(7E3, Ja.FAIL, "Unable to identify key exchange scheme."), + KEYX_FACTORY_NOT_FOUND: new T(7001, Ja.FAIL, "No factory registered for key exchange scheme."), + KEYX_REQUEST_NOT_FOUND: new T(7002, Ja.FAIL, "No key request found matching header key response data."), + UNIDENTIFIED_KEYX_KEY_ID: new T(7003, Ja.FAIL, "Unable to identify key exchange key ID."), + UNSUPPORTED_KEYX_KEY_ID: new T(7004, Ja.FAIL, "Unsupported key exchange key ID."), + UNIDENTIFIED_KEYX_MECHANISM: new T(7005, Ja.FAIL, "Unable to identify key exchange mechanism."), + UNSUPPORTED_KEYX_MECHANISM: new T(7006, Ja.FAIL, "Unsupported key exchange mechanism."), + KEYX_RESPONSE_REQUEST_MISMATCH: new T(7007, Ja.FAIL, "Key exchange response does not match request."), + KEYX_PRIVATE_KEY_MISSING: new T(7008, Ja.FAIL, "Key exchange private key missing."), + UNKNOWN_KEYX_PARAMETERS_ID: new T(7009, Ja.FAIL, "Key exchange parameters ID unknown or invalid."), + KEYX_MASTER_TOKEN_MISSING: new T(7010, Ja.FAIL, "Master token required for key exchange is missing."), + KEYX_INVALID_PUBLIC_KEY: new T(7011, Ja.FAIL, "Key exchange public key is invalid."), + KEYX_PUBLIC_KEY_MISSING: new T(7012, Ja.FAIL, "Key exchange public key missing."), + KEYX_WRAPPING_KEY_MISSING: new T(7013, Ja.FAIL, "Key exchange wrapping key missing."), + KEYX_WRAPPING_KEY_ID_MISSING: new T(7014, Ja.FAIL, "Key exchange wrapping key ID missing."), + KEYX_INVALID_WRAPPING_KEY: new T(7015, Ja.FAIL, "Key exchange wrapping key is invalid."), + KEYX_INCORRECT_DATA: new T(7016, Ja.FAIL, "Entity used incorrect wrapping key data type"), + CRYPTEX_ENCRYPTION_ERROR: new T(8E3, Ja.FAIL, "Error encrypting data with cryptex."), + CRYPTEX_DECRYPTION_ERROR: new T(8001, Ja.FAIL, "Error decrypting data with cryptex."), + CRYPTEX_MAC_ERROR: new T(8002, Ja.FAIL, "Error computing MAC with cryptex."), + CRYPTEX_VERIFY_ERROR: new T(8003, Ja.FAIL, "Error verifying MAC with cryptex."), + CRYPTEX_CONTEXT_CREATION_FAILURE: new T(8004, Ja.FAIL, "Error creating cryptex cipher or MAC context."), + DATAMODEL_DEVICE_ACCESS_ERROR: new T(8005, Ja.TRANSIENT_FAILURE, "Error accessing data model device."), + DATAMODEL_DEVICETYPE_NOT_FOUND: new T(8006, Ja.FAIL, "Data model device type not found."), + CRYPTEX_KEYSET_UNSUPPORTED: new T(8007, Ja.FAIL, "Cryptex key set not supported."), + CRYPTEX_PRIVILEGE_EXCEPTION: new T(8008, Ja.FAIL, "Insufficient privileges for cryptex operation."), + CRYPTEX_WRAP_ERROR: new T(8009, Ja.FAIL, "Error wrapping data with cryptex."), + CRYPTEX_UNWRAP_ERROR: new T(8010, Ja.FAIL, "Error unwrapping data with cryptex."), + CRYPTEX_COMMS_FAILURE: new T(8011, Ja.TRANSIENT_FAILURE, "Error comunicating with cryptex."), + CRYPTEX_SIGN_ERROR: new T(8012, Ja.FAIL, "Error computing signature with cryptex."), + INTERNAL_EXCEPTION: new T(9E3, Ja.TRANSIENT_FAILURE, "Internal exception."), + MSL_COMMS_FAILURE: new T(9001, Ja.FAIL, "Error communicating with MSL entity."), + NONE: new T(9999, Ja.FAIL, "Special unit test error.") }); - Object.freeze(U); + Object.freeze(T); (function () { bb = Bb.Class.create(Error()); bb.mixin({ @@ -2644,7 +2654,7 @@ a000.D9b = function () { var kb, qb, jb; - function ab() { + function $a() { return qb ? qb : this.cause && this.cause instanceof bb ? this.cause.messageId : Ab; } Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); @@ -2693,11 +2703,11 @@ a000.D9b = function () { configurable: !1 }, messageId: { - get: ab, + get: $a, set: function (Fa) { if (0 > Fa || Fa > Mb) throw new RangeError("Message ID " + Fa + " is outside the valid range."); - ab() || (qb = Fa); + $a() || (qb = Fa); }, configurable: !0 }, @@ -2731,8 +2741,8 @@ a000.D9b = function () { }); })(); tb = bb.extend({ - init: function kb(fb, eb, ab) { - kb.base.call(this, fb, eb, ab); + init: function kb(fb, eb, $a) { + kb.base.call(this, fb, eb, $a); Object.defineProperties(this, { name: { value: "MslCryptoException", @@ -2743,8 +2753,8 @@ a000.D9b = function () { } }); xb = bb.extend({ - init: function qb(eb, ab, kb) { - qb.base.call(this, eb, ab, kb); + init: function qb(eb, $a, kb) { + qb.base.call(this, eb, $a, kb); Object.defineProperties(this, { name: { value: "MslEncodingException", @@ -2755,8 +2765,8 @@ a000.D9b = function () { } }); wc = bb.extend({ - init: function jb(ab, kb, qb) { - jb.base.call(this, ab, kb, qb); + init: function jb($a, kb, qb) { + jb.base.call(this, $a, kb, qb); Object.defineProperties(this, { name: { value: "MslEntityAuthException", @@ -2769,13 +2779,13 @@ a000.D9b = function () { (function () { kc = Bb.Class.create(Error()); kc.mixin({ - init: function (ab, kb, qb) { + init: function ($a, kb, qb) { var jb; Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); jb = this.stack; Object.defineProperties(this, { message: { - value: ab, + value: $a, writable: !1, configurable: !1 }, @@ -2814,13 +2824,13 @@ a000.D9b = function () { (function () { Wb = Bb.Class.create(Error()); Wb.mixin({ - init: function (ab, kb) { + init: function ($a, kb) { var qb; Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); qb = this.stack; Object.defineProperties(this, { message: { - value: ab, + value: $a, writable: !1, configurable: !1 }, @@ -2854,13 +2864,13 @@ a000.D9b = function () { (function () { vb = Bb.Class.create(Error()); vb.mixin({ - init: function (ab, kb) { + init: function ($a, kb) { var qb; Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); qb = this.stack; Object.defineProperties(this, { message: { - value: ab, + value: $a, writable: !1, configurable: !1 }, @@ -2894,13 +2904,13 @@ a000.D9b = function () { (function () { Zb = Bb.Class.create(Error()); Zb.mixin({ - init: function (ab, kb) { + init: function ($a, kb) { var qb; Error.captureStackTrace && Error.captureStackTrace(this, this.constructor); qb = this.stack; Object.defineProperties(this, { message: { - value: ab, + value: $a, writable: !1, configurable: !1 }, @@ -2985,29 +2995,29 @@ a000.D9b = function () { } }); (function () { - var la; + var ka; function Fa(fa) { return "undefined" === typeof fa ? !1 : fa; } function Na(fa) { - return fa && fa.length ? (bc === la.V2014_02 && (fa = fa.map(function (Z) { + return fa && fa.length ? (bc === ka.V2014_02 && (fa = fa.map(function (Z) { return "wrap" == Z ? "wrapKey" : "unwrap" == Z ? "unwrapKey" : Z; - })), fa) : bc === la.V2014_02 ? ("encrypt decrypt sign verify deriveKey wrapKey unwrapKey").split(" ") : ("encrypt decrypt sign verify deriveKey wrap unwrap").split(" "); + })), fa) : bc === ka.V2014_02 ? ("encrypt decrypt sign verify deriveKey wrapKey unwrapKey").split(" ") : ("encrypt decrypt sign verify deriveKey wrap unwrap").split(" "); } - function Qa(fa, Z, ba, ha, ea) { + function Qa(fa, Z, ba, ha, da) { return Promise.resolve().then(function () { - return Qb.importKey(fa, Z, ba, ha, ea); + return Qb.importKey(fa, Z, ba, ha, da); }).catch(function (S) { - var Y; + var X; if ("spki" !== fa && "pkcs8" !== fa) throw S; S = ASN1.webCryptoAlgorithmToJwkAlg(ba); - Y = ASN1.webCryptoUsageToJwkKeyOps(ea); - S = ASN1.rsaDerToJwk(Z, S, Y, ha); + X = ASN1.webCryptoUsageToJwkKeyOps(da); + S = ASN1.rsaDerToJwk(Z, S, X, ha); if (!S) throw Error("Could not make valid JWK from DER input"); S = JSON.stringify(S); - return Qb.importKey("jwk", Pd(S), ba, ha, ea); + return Qb.importKey("jwk", Pd(S), ba, ha, da); }); } function ya(fa, Z) { @@ -3025,30 +3035,30 @@ a000.D9b = function () { }); }); } - la = wd = { + ka = wd = { LEGACY: 1, V2014_01: 2, V2014_02: 3, LATEST: 3 }; Object.freeze(wd); - bc = la.LATEST; + bc = ka.LATEST; Jb = { encrypt: function (fa, Z, ba) { switch (bc) { - case la.LEGACY: - return new Promise(function (ha, ea) { + case ka.LEGACY: + return new Promise(function (ha, da) { var S; S = Qb.encrypt(fa, Z, ba); - S.oncomplete = function (Y) { - ha(Y.target.result); + S.oncomplete = function (X) { + ha(X.target.result); }; - S.onerror = function (Y) { - ea(Y); + S.onerror = function (X) { + da(X); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return Qb.encrypt(fa, Z, ba).then(function (ha) { return new Uint8Array(ha); }); @@ -3058,19 +3068,19 @@ a000.D9b = function () { }, decrypt: function (fa, Z, ba) { switch (bc) { - case la.LEGACY: - return new Promise(function (ha, ea) { + case ka.LEGACY: + return new Promise(function (ha, da) { var S; S = Qb.decrypt(fa, Z, ba); - S.oncomplete = function (Y) { - ha(Y.target.result); + S.oncomplete = function (X) { + ha(X.target.result); }; - S.onerror = function (Y) { - ea(Y); + S.onerror = function (X) { + da(X); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return Qb.decrypt(fa, Z, ba).then(function (ha) { return new Uint8Array(ha); }); @@ -3080,19 +3090,19 @@ a000.D9b = function () { }, sign: function (fa, Z, ba) { switch (bc) { - case la.LEGACY: - return new Promise(function (ha, ea) { + case ka.LEGACY: + return new Promise(function (ha, da) { var S; S = Qb.sign(fa, Z, ba); - S.oncomplete = function (Y) { - ha(Y.target.result); + S.oncomplete = function (X) { + ha(X.target.result); }; - S.onerror = function (Y) { - ea(Y); + S.onerror = function (X) { + da(X); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return Qb.sign(fa, Z, ba).then(function (ha) { return new Uint8Array(ha); }); @@ -3102,19 +3112,19 @@ a000.D9b = function () { }, verify: function (fa, Z, ba, ha) { switch (bc) { - case la.LEGACY: - return new Promise(function (ea, S) { - var Y; - Y = Qb.verify(fa, Z, ba, ha); - Y.oncomplete = function (pa) { - ea(pa.target.result); + case ka.LEGACY: + return new Promise(function (da, S) { + var X; + X = Qb.verify(fa, Z, ba, ha); + X.oncomplete = function (oa) { + da(oa.target.result); }; - Y.onerror = function (pa) { - S(pa); + X.onerror = function (oa) { + S(oa); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return Qb.verify(fa, Z, ba, ha); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); @@ -3122,19 +3132,19 @@ a000.D9b = function () { }, digest: function (fa, Z) { switch (bc) { - case la.LEGACY: + case ka.LEGACY: return new Promise(function (ba, ha) { - var ea; - ea = Qb.digest(fa, Z); - ea.oncomplete = function (S) { + var da; + da = Qb.digest(fa, Z); + da.oncomplete = function (S) { ba(S.target.result); }; - ea.onerror = function (S) { + da.onerror = function (S) { ha(S); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return Qb.digest(fa, Z).then(function (ba) { return new Uint8Array(ba); }); @@ -3144,91 +3154,91 @@ a000.D9b = function () { }, generateKey: function (fa, Z, ba) { var ha, - ea; + da; ha = Fa(Z); - ea = Na(ba); + da = Na(ba); switch (bc) { - case la.LEGACY: - return new Promise(function (S, Y) { - var pa; - pa = Qb.generateKey(fa, ha, ea); - pa.oncomplete = function (ma) { - S(ma.target.result); + case ka.LEGACY: + return new Promise(function (S, X) { + var oa; + oa = Qb.generateKey(fa, ha, da); + oa.oncomplete = function (la) { + S(la.target.result); }; - pa.onerror = function (ma) { - Y(ma); + oa.onerror = function (la) { + X(la); }; }); - case la.V2014_01: - case la.V2014_02: - return Qb.generateKey(fa, ha, ea); + case ka.V2014_01: + case ka.V2014_02: + return Qb.generateKey(fa, ha, da); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); } }, - deriveKey: function (fa, Z, ba, ha, ea) { + deriveKey: function (fa, Z, ba, ha, da) { var S, - Y; + X; S = Fa(ha); - Y = Na(ea); + X = Na(da); switch (bc) { - case la.LEGACY: - return new Promise(function (pa, ma) { + case ka.LEGACY: + return new Promise(function (oa, la) { var qa; - qa = Qb.deriveKey(fa, Z, ba, S, Y); - qa.oncomplete = function (Ba) { - pa(Ba.target.result); + qa = Qb.deriveKey(fa, Z, ba, S, X); + qa.oncomplete = function (Aa) { + oa(Aa.target.result); }; - qa.onerror = function (Ba) { - ma(Ba); + qa.onerror = function (Aa) { + la(Aa); }; }); - case la.V2014_01: - case la.V2014_02: - return Qb.deriveKey(fa, Z, ba, S, Y); + case ka.V2014_01: + case ka.V2014_02: + return Qb.deriveKey(fa, Z, ba, S, X); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); } }, - importKey: function (fa, Z, ba, ha, ea) { + importKey: function (fa, Z, ba, ha, da) { var S, - Y; + X; S = Fa(ha); - Y = Na(ea); + X = Na(da); switch (bc) { - case la.LEGACY: - return new Promise(function (pa, ma) { + case ka.LEGACY: + return new Promise(function (oa, la) { var qa; - qa = Qb.importKey(fa, Z, ba, S, Y); - qa.oncomplete = function (Ba) { - pa(Ba.target.result); + qa = Qb.importKey(fa, Z, ba, S, X); + qa.oncomplete = function (Aa) { + oa(Aa.target.result); }; - qa.onerror = function (Ba) { - ma(Ba); + qa.onerror = function (Aa) { + la(Aa); }; }); - case la.V2014_01: - case la.V2014_02: - return Qa(fa, Z, ba, S, Y); + case ka.V2014_01: + case ka.V2014_02: + return Qa(fa, Z, ba, S, X); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); } }, exportKey: function (fa, Z) { switch (bc) { - case la.LEGACY: + case ka.LEGACY: return new Promise(function (ba, ha) { - var ea; - ea = Qb.exportKey(fa, Z); - ea.oncomplete = function (S) { + var da; + da = Qb.exportKey(fa, Z); + da.oncomplete = function (S) { ba(S.target.result); }; - ea.onerror = function (S) { + da.onerror = function (S) { ha(S); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return ya(fa, Z).then(function (ba) { return new Uint8Array(ba); }); @@ -3238,42 +3248,42 @@ a000.D9b = function () { }, wrapKey: function (fa, Z, ba, ha) { switch (bc) { - case la.LEGACY: - return new Promise(function (ea, S) { - var Y; - Y = Qb.wrapKey(Z, ba, ha); - Y.oncomplete = function (pa) { - ea(pa.target.result); + case ka.LEGACY: + return new Promise(function (da, S) { + var X; + X = Qb.wrapKey(Z, ba, ha); + X.oncomplete = function (oa) { + da(oa.target.result); }; - Y.onerror = function (pa) { - S(pa); + X.onerror = function (oa) { + S(oa); }; }); - case la.V2014_01: - case la.V2014_02: - return Qb.wrapKey(fa, Z, ba, ha).then(function (ea) { - return new Uint8Array(ea); + case ka.V2014_01: + case ka.V2014_02: + return Qb.wrapKey(fa, Z, ba, ha).then(function (da) { + return new Uint8Array(da); }); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); } }, - unwrapKey: function (fa, Z, ba, ha, ea, S, Y) { + unwrapKey: function (fa, Z, ba, ha, da, S, X) { switch (bc) { - case la.LEGACY: - return new Promise(function (pa, ma) { + case ka.LEGACY: + return new Promise(function (oa, la) { var qa; - qa = Qb.unwrapKey(Z, ea, ba); - qa.oncomplete = function (Ba) { - pa(Ba.target.result); + qa = Qb.unwrapKey(Z, da, ba); + qa.oncomplete = function (Aa) { + oa(Aa.target.result); }; - qa.onerror = function (Ba) { - ma(Ba); + qa.onerror = function (Aa) { + la(Aa); }; }); - case la.V2014_01: - case la.V2014_02: - return Qb.unwrapKey(fa, Z, ba, ha, ea, Fa(S), Na(Y)); + case ka.V2014_01: + case ka.V2014_02: + return Qb.unwrapKey(fa, Z, ba, ha, da, Fa(S), Na(X)); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); } @@ -3281,19 +3291,19 @@ a000.D9b = function () { }; ud && ud.getKeyByName && (Jb.getKeyByName = function (fa) { switch (bc) { - case la.LEGACY: + case ka.LEGACY: return new Promise(function (Z, ba) { var ha; ha = ud.getKeyByName(fa); - ha.oncomplete = function (ea) { - Z(ea.target.result); + ha.oncomplete = function (da) { + Z(da.target.result); }; - ha.onerror = function (ea) { - ba(ea); + ha.onerror = function (da) { + ba(da); }; }); - case la.V2014_01: - case la.V2014_02: + case ka.V2014_01: + case ka.V2014_02: return ud.getKeyByName(fa); default: throw Error("Unsupported Web Crypto version " + WEB_CRYPTO_VERSION + "."); @@ -3335,12 +3345,12 @@ a000.D9b = function () { (function () { Xd = Bb.Class.create({ init: function (Fa, Na, Qa) { - var la; + var ka; function ya(fa) { Ka(Na, function () { var Z; Z = fa ? Db(fa) : Ab; - Object.defineProperties(la, { + Object.defineProperties(ka, { rawKey: { value: Fa, writable: !1, @@ -3358,18 +3368,18 @@ a000.D9b = function () { } }); return this; - }, la); + }, ka); } - la = this; + ka = this; Ka(Na, function () { if (!Fa || "object" != typeof Fa) - throw new tb(U.INVALID_SYMMETRIC_KEY); + throw new tb(T.INVALID_SYMMETRIC_KEY); !Qa && Fa.extractable ? Jb.exportKey("raw", Fa).then(function (fa) { ya(new Uint8Array(fa)); }, function (fa) { - Na.error(new tb(U.KEY_EXPORT_ERROR, "raw")); + Na.error(new tb(T.KEY_EXPORT_ERROR, "raw")); }) : ya(Qa); - }, la); + }, ka); }, size: function () { return this.keyData.length; @@ -3388,13 +3398,13 @@ a000.D9b = function () { Ka(ya, function () { try { Fa = "string" == typeof Fa ? Fb(Fa) : Fa; - } catch (la) { - throw new tb(U.INVALID_SYMMETRIC_KEY, "keydata " + Fa, la); + } catch (ka) { + throw new tb(T.INVALID_SYMMETRIC_KEY, "keydata " + Fa, ka); } - Jb.importKey("raw", Fa, Na, !0, Qa).then(function (la) { - new Xd(la, ya, Fa); - }, function (la) { - ya.error(new tb(U.INVALID_SYMMETRIC_KEY)); + Jb.importKey("raw", Fa, Na, !0, Qa).then(function (ka) { + new Xd(ka, ya, Fa); + }, function (ka) { + ya.error(new tb(T.INVALID_SYMMETRIC_KEY)); }); }); }; @@ -3402,10 +3412,10 @@ a000.D9b = function () { (function () { yd = Bb.Class.create({ init: function (Fa, Na, Qa) { - var la; + var ka; function ya(fa) { Ka(Na, function () { - Object.defineProperties(la, { + Object.defineProperties(ka, { rawKey: { value: Fa, writable: !1, @@ -3418,16 +3428,16 @@ a000.D9b = function () { } }); return this; - }, la); + }, ka); } - la = this; + ka = this; Ka(Na, function () { if (!Fa || "object" != typeof Fa || "public" != Fa.type) throw new TypeError("Only original public crypto keys are supported."); !Qa && Fa.extractable ? Jb.exportKey("spki", Fa).then(function (fa) { ya(new Uint8Array(fa)); }, function (fa) { - Na.error(new tb(U.KEY_EXPORT_ERROR, "spki")); + Na.error(new tb(T.KEY_EXPORT_ERROR, "spki")); }) : ya(Qa); }); }, @@ -3442,13 +3452,13 @@ a000.D9b = function () { Ka(ya, function () { try { Fa = "string" == typeof Fa ? Fb(Fa) : Fa; - } catch (la) { - throw new tb(U.INVALID_PUBLIC_KEY, "spki " + Fa, la); + } catch (ka) { + throw new tb(T.INVALID_PUBLIC_KEY, "spki " + Fa, ka); } - Jb.importKey("spki", Fa, Na, !0, Qa).then(function (la) { - new yd(la, ya, Fa); - }, function (la) { - ya.error(new tb(U.INVALID_PUBLIC_KEY)); + Jb.importKey("spki", Fa, Na, !0, Qa).then(function (ka) { + new yd(ka, ya, Fa); + }, function (ka) { + ya.error(new tb(T.INVALID_PUBLIC_KEY)); }); }); }; @@ -3456,10 +3466,10 @@ a000.D9b = function () { (function () { Ie = Bb.Class.create({ init: function (Fa, Na, Qa) { - var la; + var ka; function ya(fa) { Ka(Na, function () { - Object.defineProperties(la, { + Object.defineProperties(ka, { rawKey: { value: Fa, writable: !1, @@ -3472,16 +3482,16 @@ a000.D9b = function () { } }); return this; - }, la); + }, ka); } - la = this; + ka = this; Ka(Na, function () { if (!Fa || "object" != typeof Fa || "private" != Fa.type) throw new TypeError("Only original private crypto keys are supported."); !Qa && Fa.extractable ? Jb.exportKey("pkcs8", Fa).then(function (fa) { ya(new Uint8Array(fa)); }, function (fa) { - Na.error(new tb(U.KEY_EXPORT_ERROR, "pkcs8")); + Na.error(new tb(T.KEY_EXPORT_ERROR, "pkcs8")); }) : ya(Qa); }); }, @@ -3500,8 +3510,8 @@ a000.D9b = function () { V2: 2 }; Zd = Bb.Class.create({ - init: function (Na, Qa, ya, la) { - Ka(la, function () { + init: function (Na, Qa, ya, ka) { + Ka(ka, function () { var fa, Z, ba, @@ -3570,62 +3580,62 @@ a000.D9b = function () { return Na; } }); - $d = function (Na, Qa, ya, la) { - new Zd(Na, Qa, ya, la); + $d = function (Na, Qa, ya, ka) { + new Zd(Na, Qa, ya, ka); }; ae = function (Na, Qa, ya) { Ka(ya, function () { - var la, + var ka, fa, Z, ba, ha, - ea, + da, S; - la = Na.keyid; + ka = Na.keyid; fa = Na.cipherspec; Z = Na.iv; ba = Na.ciphertext; ha = Na.sha256; if (!Qa) if ((Qa = Na.version) && "number" === typeof Qa && Qa === Qa) { - ea = !1; + da = !1; for (S in Fa) { if (Fa[S] == Qa) { - ea = !0; + da = !0; break; } } - if (!ea) - throw new tb(U.UNIDENTIFIED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); + if (!da) + throw new tb(T.UNIDENTIFIED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); } else Qa = Fa.V1; switch (Qa) { case Fa.V1: - if ("string" !== typeof la || Z && "string" !== typeof Z || "string" !== typeof ba || "string" !== typeof ha) - throw new xb(U.JSON_PARSE_ERROR, "ciphertext envelope " + JSON.stringify(Na)); + if ("string" !== typeof ka || Z && "string" !== typeof Z || "string" !== typeof ba || "string" !== typeof ha) + throw new xb(T.JSON_PARSE_ERROR, "ciphertext envelope " + JSON.stringify(Na)); break; case Fa.V2: S = Na.version; if (S != Fa.V2) - throw new tb(U.UNIDENTIFIED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); + throw new tb(T.UNIDENTIFIED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); if ("string" !== typeof fa || Z && "string" !== typeof Z || "string" !== typeof ba) - throw new xb(U.JSON_PARSE_ERROR, "ciphertext envelope " + JSON.stringify(Na)); + throw new xb(T.JSON_PARSE_ERROR, "ciphertext envelope " + JSON.stringify(Na)); fa = Ee(fa); if (!fa) - throw new tb(U.UNIDENTIFIED_CIPHERSPEC, "ciphertext envelope " + JSON.stringify(Na)); - la = fa; + throw new tb(T.UNIDENTIFIED_CIPHERSPEC, "ciphertext envelope " + JSON.stringify(Na)); + ka = fa; break; default: - throw new tb(U.UNSUPPORTED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); + throw new tb(T.UNSUPPORTED_CIPHERTEXT_ENVELOPE, "ciphertext envelope " + JSON.stringify(Na)); } try { Z && (Z = Fb(Z)); ba = Fb(ba); - } catch (Y) { - throw new tb(U.CIPHERTEXT_ENVELOPE_PARSE_ERROR, "encryption envelope " + JSON.stringify(Na), Y); + } catch (X) { + throw new tb(T.CIPHERTEXT_ENVELOPE_PARSE_ERROR, "encryption envelope " + JSON.stringify(Na), X); } - new Zd(la, Z, ba, ya); + new Zd(ka, Z, ba, ya); }); }; })(); @@ -3637,17 +3647,17 @@ a000.D9b = function () { }; zc = Bb.Class.create({ init: function (Na, Qa, ya) { - var la; + var ka; switch (Na) { case Fa.V1: - la = ya; + ka = ya; break; case Fa.V2: - la = {}; - la.version = Na; - la.algorithm = Qa; - la.signature = Db(ya); - la = Sb(JSON.stringify(la), Lb); + ka = {}; + ka.version = Na; + ka.algorithm = Qa; + ka.signature = Db(ya); + ka = Sb(JSON.stringify(ka), Lb); break; default: throw new vb("Signature envelope version " + Na + " encoding unsupported."); @@ -3670,7 +3680,7 @@ a000.D9b = function () { configurable: !1 }, bytes: { - value: la, + value: ka, writable: !1, configurable: !1 } @@ -3681,26 +3691,26 @@ a000.D9b = function () { var Na, Qa, ya, - la; + ka; if (2 == arguments.length) { Na = Fa.V1; Qa = arguments[0]; ya = null; - la = arguments[1]; + ka = arguments[1]; } else - 3 == arguments.length && (Na = Fa.V2, ya = arguments[0], Qa = arguments[1], la = arguments[2]); - Ka(la, function () { + 3 == arguments.length && (Na = Fa.V2, ya = arguments[0], Qa = arguments[1], ka = arguments[2]); + Ka(ka, function () { return new zc(Na, ya, Qa); }); }; de = function (Na, Qa, ya) { Ka(ya, function () { - var la, + var ka, fa, Z, ba, ha, - ea, + da, S; if (Qa) switch (Qa) { @@ -3708,60 +3718,60 @@ a000.D9b = function () { return new zc(Fa.V1, null, Na); case Fa.V2: try { - la = Tb(Na, Lb); - fa = JSON.parse(la); + ka = Tb(Na, Lb); + fa = JSON.parse(ka); Z = parseInt(fa.version); ba = fa.algorithm; ha = fa.signature; if (!Z || "number" !== typeof Z || Z != Z || "string" !== typeof ba || "string" !== typeof ha) - throw new xb(U.JSON_PARSE_ERROR, "signature envelope " + Db(Na)); + throw new xb(T.JSON_PARSE_ERROR, "signature envelope " + Db(Na)); if (Fa.V2 != Z) - throw new tb(U.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Db(Na)); - ea = Ud(ba); - if (!ea) - throw new tb(U.UNIDENTIFIED_ALGORITHM, "signature envelope " + Db(Na)); + throw new tb(T.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Db(Na)); + da = Ud(ba); + if (!da) + throw new tb(T.UNIDENTIFIED_ALGORITHM, "signature envelope " + Db(Na)); S = Fb(ha); if (!S) - throw new tb(U.INVALID_SIGNATURE, "signature envelope " + Base64Util.encode(Na)); - return new zc(Fa.V2, ea, S); - } catch (Y) { - if (Y instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "signature envelope " + Db(Na), Y); - throw Y; + throw new tb(T.INVALID_SIGNATURE, "signature envelope " + Base64Util.encode(Na)); + return new zc(Fa.V2, da, S); + } catch (X) { + if (X instanceof SyntaxError) + throw new xb(T.JSON_PARSE_ERROR, "signature envelope " + Db(Na), X); + throw X; } default: - throw new tb(U.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Db(Na)); + throw new tb(T.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Db(Na)); } try { - la = Tb(Na, Lb); - fa = JSON.parse(la); - } catch (Y) { + ka = Tb(Na, Lb); + fa = JSON.parse(ka); + } catch (X) { fa = null; } if (fa && fa.version) { - if ((la = fa.version, "number" !== typeof la || la !== la)) - la = Fa.V1; + if ((ka = fa.version, "number" !== typeof ka || ka !== ka)) + ka = Fa.V1; } else - la = Fa.V1; - switch (la) { + ka = Fa.V1; + switch (ka) { case Fa.V1: - return new zc(la, null, Na); + return new zc(ka, null, Na); case Fa.V2: - ea = fa.algorithm; + da = fa.algorithm; ha = fa.signature; - if ("string" !== typeof ea || "string" !== typeof ha) + if ("string" !== typeof da || "string" !== typeof ha) return new zc(Fa.V1, null, Na); - ea = Ud(ea); - if (!ea) + da = Ud(da); + if (!da) return new zc(Fa.V1, null, Na); try { S = Fb(ha); - } catch (Y) { + } catch (X) { return new zc(Fa.V1, null, Na); } - return new zc(la, ea, S); + return new zc(ka, da, S); default: - throw new tb(U.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Na); + throw new tb(T.UNSUPPORTED_SIGNATURE_ENVELOPE, "signature envelope " + Na); } }); }; @@ -3782,14 +3792,14 @@ a000.D9b = function () { }; vc = "A128GCM"; Ac = Bb.Class.create({ - init: function (Na, Qa, ya, la, fa) { + init: function (Na, Qa, ya, ka, fa) { switch (Qa) { case Fa.RSA_OAEP: fa = fa && (fa.rawKey || fa); - la = la && (la.rawKey || la); + ka = ka && (ka.rawKey || ka); break; case Fa.A128KW: - fa = la = la && (la.rawKey || la); + fa = ka = ka && (ka.rawKey || ka); break; default: throw new vb("Unsupported algorithm: " + Qa); @@ -3820,7 +3830,7 @@ a000.D9b = function () { configurable: !1 }, _unwrapKey: { - value: la, + value: ka, writable: !1, enumerable: !1, configurable: !1 @@ -3828,51 +3838,51 @@ a000.D9b = function () { }); }, encrypt: function (Na, Qa) { - Qa.error(new tb(U.ENCRYPT_NOT_SUPPORTED)); + Qa.error(new tb(T.ENCRYPT_NOT_SUPPORTED)); }, decrypt: function (Na, Qa) { - Qa.error(new tb(U.DECRYPT_NOT_SUPPORTED)); + Qa.error(new tb(T.DECRYPT_NOT_SUPPORTED)); }, wrap: function (Na, Qa) { Ka(Qa, function () { Jb.wrapKey("jwe+jwk", Na.rawKey, this._wrapKey, this._wrapKey.algorithm).then(function (ya) { Qa.result(ya); }, function (ya) { - Qa.error(new tb(U.WRAP_ERROR)); + Qa.error(new tb(T.WRAP_ERROR)); }); }, this); }, - unwrap: function (Na, Qa, ya, la) { + unwrap: function (Na, Qa, ya, ka) { function fa(Z) { - Ka(la, function () { + Ka(ka, function () { switch (Z.type) { case "secret": - Yc(Z, la); + Yc(Z, ka); break; case "public": - Oc(Z, la); + Oc(Z, ka); break; case "private": - Zc(Z, la); + Zc(Z, ka); break; default: - throw new tb(U.UNSUPPORTED_KEY, "type: " + Z.type); + throw new tb(T.UNSUPPORTED_KEY, "type: " + Z.type); } }); } - Ka(la, function () { + Ka(ka, function () { Jb.unwrapKey("jwe+jwk", Na, this._unwrapKey, this._unwrapKey.algorithm, Qa, !1, ya).then(function (Z) { fa(Z); }, function () { - la.error(new tb(U.UNWRAP_ERROR)); + ka.error(new tb(T.UNWRAP_ERROR)); }); }, this); }, sign: function (Na, Qa) { - Qa.error(new tb(U.SIGN_NOT_SUPPORTED)); + Qa.error(new tb(T.SIGN_NOT_SUPPORTED)); }, verify: function (Na, Qa, ya) { - ya.error(new tb(U.VERIFY_NOT_SUPPORTED)); + ya.error(new tb(T.VERIFY_NOT_SUPPORTED)); } }); })(); @@ -3906,9 +3916,9 @@ a000.D9b = function () { SIGN_VERIFY: 5 }; zd = ad.extend({ - init: function ba(Qa, ya, la, fa, Z) { + init: function ba(Qa, ya, ka, fa, Z) { ba.base.call(this); - la && (la = la.rawKey); + ka && (ka = ka.rawKey); fa && (fa = fa.rawKey); Object.defineProperties(this, { id: { @@ -3918,7 +3928,7 @@ a000.D9b = function () { configurable: !1 }, privateKey: { - value: la, + value: ka, writable: !1, enumerable: !1, configurable: !1 @@ -3950,46 +3960,46 @@ a000.D9b = function () { }); }, encrypt: function (Qa, ya) { - var la; - la = this; + var ka; + ka = this; Ka(ya, function () { if ("nullOp" == this.transform) return Qa; if (!this.publicKey) - throw new tb(U.ENCRYPT_NOT_SUPPORTED, "no public key"); + throw new tb(T.ENCRYPT_NOT_SUPPORTED, "no public key"); if (0 == Qa.length) return Qa; - Jb.encrypt(la.transform, la.publicKey, Qa).then(function (fa) { - $d(la.id, null, fa, { + Jb.encrypt(ka.transform, ka.publicKey, Qa).then(function (fa) { + $d(ka.id, null, fa, { result: function (Z) { var ba; try { ba = JSON.stringify(Z); ya.result(Sb(ba, Lb)); } catch (ha) { - ya.error(new tb(U.ENCRYPT_ERROR, null, ha)); + ya.error(new tb(T.ENCRYPT_ERROR, null, ha)); } }, error: function (Z) { - Z instanceof bb || (Z = new tb(U.ENCRYPT_ERROR, null, Z)); + Z instanceof bb || (Z = new tb(T.ENCRYPT_ERROR, null, Z)); ya.error(Z); } }); }, function (fa) { - ya.error(new tb(U.ENCRYPT_ERROR)); + ya.error(new tb(T.ENCRYPT_ERROR)); }); }, this); }, decrypt: function (Qa, ya) { - var la; - la = this; + var ka; + ka = this; Ka(ya, function () { var fa, Z; if ("nullOp" == this.transform) return Qa; if (!this.privateKey) - throw new tb(U.DECRYPT_NOT_SUPPORTED, "no private key"); + throw new tb(T.DECRYPT_NOT_SUPPORTED, "no private key"); if (0 == Qa.length) return Qa; try { @@ -3997,26 +4007,26 @@ a000.D9b = function () { Z = JSON.parse(fa); } catch (ba) { if (ba instanceof SyntaxError) - throw new tb(U.CIPHERTEXT_ENVELOPE_PARSE_ERROR, null, ba); - throw new tb(U.DECRYPT_ERROR, null, ba); + throw new tb(T.CIPHERTEXT_ENVELOPE_PARSE_ERROR, null, ba); + throw new tb(T.DECRYPT_ERROR, null, ba); } ae(Z, be.V1, { result: function (ba) { var ha; try { - if (ba.keyId != la.id) - throw new tb(U.ENVELOPE_KEY_ID_MISMATCH); + if (ba.keyId != ka.id) + throw new tb(T.ENVELOPE_KEY_ID_MISMATCH); ha = ya.result; - Jb.decrypt(la.transform, la.privateKey, ba.ciphertext).then(ha, function (ea) { - ya.error(new tb(U.DECRYPT_ERROR)); + Jb.decrypt(ka.transform, ka.privateKey, ba.ciphertext).then(ha, function (da) { + ya.error(new tb(T.DECRYPT_ERROR)); }); - } catch (ea) { - ea instanceof bb ? ya.error(ea) : ya.error(new tb(U.DECRYPT_ERROR, null, ea)); + } catch (da) { + da instanceof bb ? ya.error(da) : ya.error(new tb(T.DECRYPT_ERROR, null, da)); } }, error: function (ba) { - ba instanceof xb && (ba = new tb(U.CIPHERTEXT_ENVELOPE_ENCODE_ERROR, null, ba)); - ba instanceof bb || (ba = new tb(U.DECRYPT_ERROR, null, ba)); + ba instanceof xb && (ba = new tb(T.CIPHERTEXT_ENVELOPE_ENCODE_ERROR, null, ba)); + ba instanceof bb || (ba = new tb(T.DECRYPT_ERROR, null, ba)); ya.error(ba); } }); @@ -4024,16 +4034,16 @@ a000.D9b = function () { }, wrap: function (Qa, ya) { Ka(ya, function () { - var la; + var ka; if ("nullOp" == this.wrapTransform || !this.publicKey) - throw new tb(U.WRAP_NOT_SUPPORTED, "no public key"); - la = ya.result; - Jb.wrapKey("jwk", Qa.rawKey, this.publicKey, this.wrapTransform).then(la, function (fa) { - ya.error(new tb(U.WRAP_ERROR)); + throw new tb(T.WRAP_NOT_SUPPORTED, "no public key"); + ka = ya.result; + Jb.wrapKey("jwk", Qa.rawKey, this.publicKey, this.wrapTransform).then(ka, function (fa) { + ya.error(new tb(T.WRAP_ERROR)); }); }, this); }, - unwrap: function (Qa, ya, la, fa) { + unwrap: function (Qa, ya, ka, fa) { function Z(ba) { Ka(fa, function () { switch (ba.type) { @@ -4047,20 +4057,20 @@ a000.D9b = function () { Zc(ba, fa); break; default: - throw new tb(U.UNSUPPORTED_KEY, "type: " + ba.type); + throw new tb(T.UNSUPPORTED_KEY, "type: " + ba.type); } }); } Ka(fa, function () { if ("nullOp" == this.wrapTransform || !this.privateKey) - throw new tb(U.UNWRAP_NOT_SUPPORTED, "no private key"); + throw new tb(T.UNWRAP_NOT_SUPPORTED, "no private key"); Jb.unwrapKey("jwk", Qa, this.privateKey, { name: this.privateKey.algorithm.name, hash: { name: "SHA-1" } - }, ya, !1, la).then(Z, function (ba) { - fa.error(new tb(U.UNWRAP_ERROR)); + }, ya, !1, ka).then(Z, function (ba) { + fa.error(new tb(T.UNWRAP_ERROR)); }); }, this); }, @@ -4069,38 +4079,38 @@ a000.D9b = function () { if ("nullOp" == this.algo) return new Uint8Array(0); if (!this.privateKey) - throw new tb(U.SIGN_NOT_SUPPORTED, "no private key"); - Jb.sign(this.algo, this.privateKey, Qa).then(function (la) { - ce(la, { + throw new tb(T.SIGN_NOT_SUPPORTED, "no private key"); + Jb.sign(this.algo, this.privateKey, Qa).then(function (ka) { + ce(ka, { result: function (fa) { ya.result(fa.bytes); }, error: ya.error }); - }, function (la) { - ya.error(new tb(U.SIGNATURE_ERROR)); + }, function (ka) { + ya.error(new tb(T.SIGNATURE_ERROR)); }); }, this); }, - verify: function (Qa, ya, la) { + verify: function (Qa, ya, ka) { var fa; fa = this; - Ka(la, function () { + Ka(ka, function () { if ("nullOp" == this.algo) return !0; if (!this.publicKey) - throw new tb(U.VERIFY_NOT_SUPPORTED, "no public key"); + throw new tb(T.VERIFY_NOT_SUPPORTED, "no public key"); de(ya, ee.V1, { result: function (Z) { - Ka(la, function () { + Ka(ka, function () { var ba; - ba = la.result; + ba = ka.result; Jb.verify(this.algo, this.publicKey, Z.signature, Qa).then(ba, function (ha) { - la.error(new tb(U.SIGNATURE_ERROR)); + ka.error(new tb(T.SIGNATURE_ERROR)); }); }, fa); }, - error: la.error + error: ka.error }); }, this); } @@ -4108,10 +4118,10 @@ a000.D9b = function () { })(); (function () { Bd = ad.extend({ - init: function Z(Na, Qa, ya, la, fa) { + init: function Z(Na, Qa, ya, ka, fa) { Z.base.call(this); ya = ya && ya.rawKey; - la = la && la.rawKey; + ka = ka && ka.rawKey; fa = fa && fa.rawKey; Object.defineProperties(this, { ctx: { @@ -4133,7 +4143,7 @@ a000.D9b = function () { configurable: !1 }, hmacKey: { - value: la, + value: ka, writable: !1, enumerable: !1, configurable: !1 @@ -4150,35 +4160,35 @@ a000.D9b = function () { var ya; ya = this; Ka(Qa, function () { - var la; + var ka; if (!this.encryptionKey) - throw new tb(U.ENCRYPT_NOT_SUPPORTED, "no encryption/decryption key"); + throw new tb(T.ENCRYPT_NOT_SUPPORTED, "no encryption/decryption key"); if (0 == Na.length) return Na; - la = new Uint8Array(16); - this.ctx.getRandom().nextBytes(la); + ka = new Uint8Array(16); + this.ctx.getRandom().nextBytes(ka); Jb.encrypt({ name: rc.name, - iv: la + iv: ka }, ya.encryptionKey, Na).then(function (fa) { fa = new Uint8Array(fa); - $d(ya.id, la, fa, { + $d(ya.id, ka, fa, { result: function (Z) { var ba; try { ba = JSON.stringify(Z); Qa.result(Sb(ba, Lb)); } catch (ha) { - Qa.error(new tb(U.ENCRYPT_ERROR, null, ha)); + Qa.error(new tb(T.ENCRYPT_ERROR, null, ha)); } }, error: function (Z) { - Z instanceof bb || (Z = new tb(U.ENCRYPT_ERROR, null, Z)); + Z instanceof bb || (Z = new tb(T.ENCRYPT_ERROR, null, Z)); Qa.error(Z); } }); }, function (fa) { - Qa.error(new tb(U.ENCRYPT_ERROR)); + Qa.error(new tb(T.ENCRYPT_ERROR)); }); }, this); }, @@ -4186,25 +4196,25 @@ a000.D9b = function () { var ya; ya = this; Ka(Qa, function () { - var la, + var ka, fa; if (!this.encryptionKey) - throw new tb(U.DECRYPT_NOT_SUPPORTED, "no encryption/decryption key"); + throw new tb(T.DECRYPT_NOT_SUPPORTED, "no encryption/decryption key"); if (0 == Na.length) return Na; try { - la = Tb(Na, Lb); - fa = JSON.parse(la); + ka = Tb(Na, Lb); + fa = JSON.parse(ka); } catch (Z) { if (Z instanceof SyntaxError) - throw new tb(U.CIPHERTEXT_ENVELOPE_PARSE_ERROR, null, Z); - throw new tb(U.DECRYPT_ERROR, null, Z); + throw new tb(T.CIPHERTEXT_ENVELOPE_PARSE_ERROR, null, Z); + throw new tb(T.DECRYPT_ERROR, null, Z); } ae(fa, be.V1, { result: function (Z) { try { if (Z.keyId != ya.id) - throw new tb(U.ENVELOPE_KEY_ID_MISMATCH); + throw new tb(T.ENVELOPE_KEY_ID_MISMATCH); Jb.decrypt({ name: rc.name, iv: Z.iv @@ -4212,15 +4222,15 @@ a000.D9b = function () { ba = new Uint8Array(ba); Qa.result(ba); }, function () { - Qa.error(new tb(U.DECRYPT_ERROR)); + Qa.error(new tb(T.DECRYPT_ERROR)); }); } catch (ba) { - ba instanceof bb ? Qa.error(ba) : Qa.error(new tb(U.DECRYPT_ERROR, null, ba)); + ba instanceof bb ? Qa.error(ba) : Qa.error(new tb(T.DECRYPT_ERROR, null, ba)); } }, error: function (Z) { - Z instanceof xb && (Z = new tb(U.CIPHERTEXT_ENVELOPE_ENCODE_ERROR, null, Z)); - Z instanceof bb || (Z = new tb(U.DECRYPT_ERROR, null, Z)); + Z instanceof xb && (Z = new tb(T.CIPHERTEXT_ENVELOPE_ENCODE_ERROR, null, Z)); + Z instanceof bb || (Z = new tb(T.DECRYPT_ERROR, null, Z)); Qa.error(Z); } }); @@ -4229,39 +4239,39 @@ a000.D9b = function () { wrap: function (Na, Qa) { Ka(Qa, function () { if (!this.wrapKey) - throw new tb(U.WRAP_NOT_SUPPORTED, "no wrap/unwrap key"); + throw new tb(T.WRAP_NOT_SUPPORTED, "no wrap/unwrap key"); Jb.wrapKey("raw", Na.rawKey, this.wrapKey, this.wrapKey.algorithm).then(function (ya) { Qa.result(ya); }, function (ya) { - Qa.error(new tb(U.WRAP_ERROR)); + Qa.error(new tb(T.WRAP_ERROR)); }); }, this); }, - unwrap: function (Na, Qa, ya, la) { + unwrap: function (Na, Qa, ya, ka) { function fa(Z) { - Ka(la, function () { + Ka(ka, function () { switch (Z.type) { case "secret": - Yc(Z, la); + Yc(Z, ka); break; case "public": - Oc(Z, la); + Oc(Z, ka); break; case "private": - Zc(Z, la); + Zc(Z, ka); break; default: - throw new tb(U.UNSUPPORTED_KEY, "type: " + Z.type); + throw new tb(T.UNSUPPORTED_KEY, "type: " + Z.type); } }); } - Ka(la, function () { + Ka(ka, function () { if (!this.wrapKey) - throw new tb(U.UNWRAP_NOT_SUPPORTED, "no wrap/unwrap key"); + throw new tb(T.UNWRAP_NOT_SUPPORTED, "no wrap/unwrap key"); Jb.unwrapKey("raw", Na, this.wrapKey, this.wrapKey.algorithm, Qa, !1, ya).then(function (Z) { fa(Z); }, function (Z) { - la.error(new tb(U.UNWRAP_ERROR)); + ka.error(new tb(T.UNWRAP_ERROR)); }); }, this); }, @@ -4270,11 +4280,11 @@ a000.D9b = function () { ya = this; Ka(Qa, function () { if (!this.hmacKey) - throw new tb(U.SIGN_NOT_SUPPORTED, "no HMAC key."); - Jb.sign(sc, this.hmacKey, Na).then(function (la) { + throw new tb(T.SIGN_NOT_SUPPORTED, "no HMAC key."); + Jb.sign(sc, this.hmacKey, Na).then(function (ka) { Ka(Qa, function () { var fa; - fa = new Uint8Array(la); + fa = new Uint8Array(ka); ce(fa, { result: function (Z) { Qa.result(Z.bytes); @@ -4283,25 +4293,25 @@ a000.D9b = function () { }); }, ya); }, function () { - Qa.error(new tb(U.HMAC_ERROR)); + Qa.error(new tb(T.HMAC_ERROR)); }); }, this); }, verify: function (Na, Qa, ya) { - var la; - la = this; + var ka; + ka = this; Ka(ya, function () { if (!this.hmacKey) - throw new tb(U.VERIFY_NOT_SUPPORTED, "no HMAC key."); + throw new tb(T.VERIFY_NOT_SUPPORTED, "no HMAC key."); de(Qa, ee.V1, { result: function (fa) { Ka(ya, function () { Jb.verify(sc, this.hmacKey, fa.signature, Na).then(function (Z) { ya.result(Z); }, function (Z) { - ya.error(new tb(U.HMAC_ERROR)); + ya.error(new tb(T.HMAC_ERROR)); }); - }, la); + }, ka); }, error: ya.error }); @@ -4310,12 +4320,12 @@ a000.D9b = function () { }); })(); jc = Bd.extend({ - init: function Z(Na, Qa, ya, la, fa) { - if (ya || la || fa) - Z.base.call(this, Na, ya + "_" + Qa.sequenceNumber, la, fa, null); + init: function Z(Na, Qa, ya, ka, fa) { + if (ya || ka || fa) + Z.base.call(this, Na, ya + "_" + Qa.sequenceNumber, ka, fa, null); else { if (!Qa.isDecrypted()) - throw new Rc(U.MASTERTOKEN_UNTRUSTED, Qa); + throw new Rc(T.MASTERTOKEN_UNTRUSTED, Qa); Z.base.call(this, Na, Qa.identity + "_" + Qa.sequenceNumber, Qa.encryptionKey, Qa.hmacKey, null); } } @@ -4330,8 +4340,8 @@ a000.D9b = function () { wrap: function (Na, Qa) { Qa.error(new vb("Wrap is unsupported by the MSL token crypto context.")); }, - unwrap: function (Na, Qa, ya, la) { - la.error(new vb("Unwrap is unsupported by the MSL token crypto context.")); + unwrap: function (Na, Qa, ya, ka) { + ka.error(new vb("Unwrap is unsupported by the MSL token crypto context.")); }, sign: function (Na, Qa) { Qa.result(new Uint8Array(0)); @@ -4376,17 +4386,17 @@ a000.D9b = function () { }); Je = function (Na, Qa) { var ya, - la; + ka; ya = Qa.scheme; - la = Qa.authdata; - if (!ya || !la) - throw new xb(U.JSON_PARSE_ERROR, "entityauthdata " + JSON.stringify(Qa)); + ka = Qa.authdata; + if (!ya || !ka) + throw new xb(T.JSON_PARSE_ERROR, "entityauthdata " + JSON.stringify(Qa)); if (!Nb[ya]) - throw new wc(U.UNIDENTIFIED_ENTITYAUTH_SCHEME, ya); + throw new wc(T.UNIDENTIFIED_ENTITYAUTH_SCHEME, ya); Qa = Na.getEntityAuthenticationFactory(ya); if (!Qa) - throw new wc(U.ENTITYAUTH_FACTORY_NOT_FOUND, ya); - return Qa.createData(Na, la); + throw new wc(T.ENTITYAUTH_FACTORY_NOT_FOUND, ya); + return Qa.createData(Na, ka); }; })(); Cd = Bb.Class.create({ @@ -4423,16 +4433,16 @@ a000.D9b = function () { Qa.identity = this.identity; return Qa; }, - equals: function la(ya) { - return this === ya ? !0 : ya instanceof nc ? la.base.call(this, this, ya) && this.identity == ya.identity : !1; + equals: function ka(ya) { + return this === ya ? !0 : ya instanceof nc ? ka.base.call(this, this, ya) && this.identity == ya.identity : !1; } }); Ke = function (ya) { - var la; - la = ya.identity; - if (!la) - throw new xb(U.JSON_PARSE_ERROR, "mgk authdata" + JSON.stringify(ya)); - return new nc(la); + var ka; + ka = ya.identity; + if (!ka) + throw new xb(T.JSON_PARSE_ERROR, "mgk authdata" + JSON.stringify(ya)); + return new nc(ka); }; })(); Jf = Cd.extend({ @@ -4454,14 +4464,14 @@ a000.D9b = function () { if (!(ya instanceof nc)) throw new vb("Incorrect authentication data type " + JSON.stringify(ya) + "."); if (ya.identity != this.localIdentity) - throw new wc(U.ENTITY_NOT_FOUND, "mgk " + ya.identity).setEntity(ya); + throw new wc(T.ENTITY_NOT_FOUND, "mgk " + ya.identity).setEntity(ya); return new bd(); } }); (function () { tc = Qc.extend({ - init: function la(ya) { - la.base.call(this, Nb.PSK); + init: function ka(ya) { + ka.base.call(this, Nb.PSK); Object.defineProperties(this, { identity: { value: ya, @@ -4478,21 +4488,21 @@ a000.D9b = function () { ya.identity = this.identity; return ya; }, - equals: function fa(la) { - return this === la ? !0 : la instanceof tc ? fa.base.call(this, this, la) && this.identity == la.identity : !1; + equals: function fa(ka) { + return this === ka ? !0 : ka instanceof tc ? fa.base.call(this, this, ka) && this.identity == ka.identity : !1; } }); - Le = function (la) { + Le = function (ka) { var fa; - fa = la.identity; + fa = ka.identity; if (!fa) - throw new xb(U.JSON_PARSE_ERROR, "psk authdata" + JSON.stringify(la)); + throw new xb(T.JSON_PARSE_ERROR, "psk authdata" + JSON.stringify(ka)); return new tc(fa); }; })(); Kf = Cd.extend({ - init: function la(ya) { - la.base.call(this, Nb.PSK); + init: function ka(ya) { + ka.base.call(this, Nb.PSK); Object.defineProperties(this, { localIdentity: { value: ya, @@ -4502,24 +4512,24 @@ a000.D9b = function () { } }); }, - createData: function (ya, la) { - return Le(la); + createData: function (ya, ka) { + return Le(ka); }, - getCryptoContext: function (ya, la) { - if (!(la instanceof tc)) - throw new vb("Incorrect authentication data type " + JSON.stringify(la) + "."); - if (la.getIdentity() != this.localIdentity) - throw new wc(U.ENTITY_NOT_FOUND, "psk " + la.identity).setEntity(la); + getCryptoContext: function (ya, ka) { + if (!(ka instanceof tc)) + throw new vb("Incorrect authentication data type " + JSON.stringify(ka) + "."); + if (ka.getIdentity() != this.localIdentity) + throw new wc(T.ENTITY_NOT_FOUND, "psk " + ka.identity).setEntity(ka); return new bd(); } }); (function () { Dd = Qc.extend({ - init: function Z(la, fa) { + init: function Z(ka, fa) { Z.base.call(this, Nb.RSA); Object.defineProperties(this, { identity: { - value: la, + value: ka, writable: !1, configurable: !1 }, @@ -4534,11 +4544,11 @@ a000.D9b = function () { return this.identity; }, getAuthData: function () { - var la; - la = {}; - la.identity = this.identity; - la.pubkeyid = this.publicKeyId; - return la; + var ka; + ka = {}; + ka.identity = this.identity; + ka.pubkeyid = this.publicKeyId; + return ka; }, equals: function Z(fa) { return this === fa ? !0 : fa instanceof Dd ? Z.base.call(this, this, fa) && this.identity == fa.identity && this.publicKeyId == fa.publicKeyId : !1; @@ -4550,26 +4560,26 @@ a000.D9b = function () { Z = fa.identity; ba = fa.pubkeyid; if (!Z || "string" !== typeof Z || !ba || "string" !== typeof ba) - throw new xb(U.JSON_PARSE_ERROR, "RSA authdata" + JSON.stringify(fa)); + throw new xb(T.JSON_PARSE_ERROR, "RSA authdata" + JSON.stringify(fa)); return new Dd(Z, ba); }; })(); Lf = Cd.extend({ - init: function fa(la) { + init: function fa(ka) { fa.base.call(this, Nb.RSA); Object.defineProperties(this, { store: { - value: la, + value: ka, writable: !1, enumerable: !1, configurable: !1 } }); }, - createData: function (la, fa) { + createData: function (ka, fa) { return Me(fa); }, - getCryptoContext: function (la, fa) { + getCryptoContext: function (ka, fa) { var Z, ba, ha; @@ -4579,8 +4589,8 @@ a000.D9b = function () { ba = fa.publicKeyId; ha = this.store.getPublicKey(ba); if (!ha) - throw new wc(U.RSA_PUBLICKEY_NOT_FOUND, ba).setEntity(fa); - return new zd(la, Z, null, ha, Ad.SIGN_VERIFY); + throw new wc(T.RSA_PUBLICKEY_NOT_FOUND, ba).setEntity(fa); + return new zd(ka, Z, null, ha, Ad.SIGN_VERIFY); } }); (function () { @@ -4611,7 +4621,7 @@ a000.D9b = function () { var ba; ba = Z.identity; if (!ba) - throw new xb(U.JSON_PARSE_ERROR, "Unauthenticated authdata" + JSON.stringify(Z)); + throw new xb(T.JSON_PARSE_ERROR, "Unauthenticated authdata" + JSON.stringify(Z)); return new gd(ba); }; })(); @@ -4665,7 +4675,7 @@ a000.D9b = function () { Ed = Bb.Class.create({ abort: function () {}, close: function (fa, Z) {}, - write: function (fa, Z, ba, ha, ea) {}, + write: function (fa, Z, ba, ha, da) {}, flush: function (fa, Z) {} }); Nf = Bb.Class.create({ @@ -4713,7 +4723,7 @@ a000.D9b = function () { return !0; }, read: function (fa, Z, ba) { - cb(ba, function () { + db(ba, function () { var ha; if (this._closed) throw new Wb("Stream is already closed."); @@ -4756,8 +4766,8 @@ a000.D9b = function () { this._closed = !0; Z.result(!0); }, - write: function (fa, Z, ba, ha, ea) { - cb(ea, function () { + write: function (fa, Z, ba, ha, da) { + db(da, function () { var S; if (this._closed) throw new Wb("Stream is already closed."); @@ -4850,33 +4860,33 @@ a000.D9b = function () { this._timeout = ba; }, getResponse: function (ba, ha) { - var ea; - ea = this; + var da; + da = this; this._responseQueue.poll(ba, { result: function (S) { - cb(ha, function () { + db(ha, function () { S && this._responseQueue.add(S); return S; - }, ea); + }, da); }, timeout: function () { - cb(ha, function () { + db(ha, function () { this._response = { isTimeout: !0 }; this._responseQueue.add(this._response); this.abort(); ha.timeout(); - }, ea); + }, da); }, error: function (S) { - cb(ha, function () { + db(ha, function () { this._response = { isError: !0 }; this._responseQueue.add(this._response); throw S; - }, ea); + }, da); } }); }, @@ -4884,9 +4894,9 @@ a000.D9b = function () { this._abortToken && this._abortToken.abort(); }, close: function (ba, ha) { - var ea; - ea = this; - cb(ha, function () { + var da; + da = this; + db(ha, function () { var S; if (this._response) return !0; @@ -4894,38 +4904,38 @@ a000.D9b = function () { 0 < S.length && (this._abortToken = this._httpLocation.getResponse({ body: S }, this._timeout, { - result: function (Y) { - ea._response = { - response: Y + result: function (X) { + da._response = { + response: X }; - ea._responseQueue.add(ea._response); + da._responseQueue.add(da._response); }, timeout: function () { - ea._response = { + da._response = { isTimeout: !0 }; - ea._responseQueue.add(ea._response); + da._responseQueue.add(da._response); }, - error: function (Y) { - ea._response = { + error: function (X) { + da._response = { isError: !0, - error: Y + error: X }; - ea._responseQueue.add(ea._response); + da._responseQueue.add(da._response); } })); return !0; }, this); }, - write: function (ba, ha, ea, S, Y) { - cb(Y, function () { + write: function (ba, ha, da, S, X) { + db(X, function () { if (this._response) throw new Wb("HttpOutputStream already closed."); - this._buffer.write(ba, ha, ea, S, Y); + this._buffer.write(ba, ha, da, S, X); }, this); }, flush: function (ba, ha) { - cb(ha, function () { + db(ha, function () { if (this._response) return !0; this._buffer.flush(ba, ha); @@ -4989,63 +4999,63 @@ a000.D9b = function () { if (this._buffer) return this._buffer.markSupported(); }, - read: function (ba, ha, ea) { - var Y; - function S(pa) { - cb(ea, function () { - if (!pa) + read: function (ba, ha, da) { + var X; + function S(oa) { + db(da, function () { + if (!oa) return new Uint8Array(0); this._out.getResponse(ha, { - result: function (ma) { - cb(ea, function () { + result: function (la) { + db(da, function () { var qa; - if (ma.isTimeout) - (this._timedout = !0, ea.timeout()); + if (la.isTimeout) + (this._timedout = !0, da.timeout()); else { - if (ma.isError) - throw (this._exception = ma.error || new Wb("Unknown HTTP exception."), this._exception); - if (!ma.response) + if (la.isError) + throw (this._exception = la.error || new Wb("Unknown HTTP exception."), this._exception); + if (!la.response) throw (this._exception = new Wb("Missing HTTP response."), this._exception); - ma.response.json !== Ab && (this._json = ma.response.json, this.getJSON = function () { - return Y._json; + la.response.json !== Ab && (this._json = la.response.json, this.getJSON = function () { + return X._json; }); - qa = ma.response.content || Pd("string" === typeof ma.response.body ? ma.response.body : JSON.stringify(this._json)); + qa = la.response.content || Pd("string" === typeof la.response.body ? la.response.body : JSON.stringify(this._json)); this._buffer = new Nf(qa); - this._buffer.read(ba, ha, ea); + this._buffer.read(ba, ha, da); } - }, Y); + }, X); }, timeout: function () { - ea.timeout(); + da.timeout(); }, - error: function (ma) { - ea.error(ma); + error: function (la) { + da.error(la); } }); - }, Y); + }, X); } - Y = this; - cb(ea, function () { + X = this; + db(da, function () { if (this._exception) throw this._exception; if (this._timedout) - ea.timeout(); + da.timeout(); else { if (this._aborted) return new Uint8Array(0); - this._buffer ? this._buffer.read(ba, ha, ea) : this._out.close(ha, { - result: function (pa) { - S(pa); + this._buffer ? this._buffer.read(ba, ha, da) : this._out.close(ha, { + result: function (oa) { + S(oa); }, timeout: function () { - ea.timeout(); + da.timeout(); }, - error: function (pa) { - ea.error(pa); + error: function (oa) { + da.error(oa); } }); } - }, Y); + }, X); } }); ye = Bb.Class.create({ @@ -5107,24 +5117,24 @@ a000.D9b = function () { close: function (ba, ha) { ha.result(!0); }, - write: function (ba, ha, ea, S, Y) { - var pa, - ma; + write: function (ba, ha, da, S, X) { + var oa, + la; try { if (0 > ha) throw new RangeError("Offset cannot be negative."); - if (0 > ea) + if (0 > da) throw new RangeError("Length cannot be negative."); - if (ha + ea > ba.length) + if (ha + da > ba.length) throw new RangeError("Offset plus length cannot be greater than the array length."); - pa = ba.subarray(ha, ea); - ma = new Uint8Array(this._buffer.length + pa.length); - ma.set(this._buffer); - ma.set(pa, this._buffer.length); - this._buffer = ma; - Y.result(pa.length); + oa = ba.subarray(ha, da); + la = new Uint8Array(this._buffer.length + oa.length); + la.set(this._buffer); + la.set(oa, this._buffer.length); + this._buffer = la; + X.result(oa.length); } catch (qa) { - Y.error(qa); + X.error(qa); } }, flush: function (ba, ha) { @@ -5141,8 +5151,8 @@ a000.D9b = function () { mark: function () {}, reset: function () {}, markSupported: function () {}, - read: function (ba, ha, ea) { - ea.result(new Uint8Array(16)); + read: function (ba, ha, da) { + da.result(new Uint8Array(16)); } }); ze = Bb.Class.create({ @@ -5177,33 +5187,33 @@ a000.D9b = function () { }); })(); Oe = function (fa, Z, ba) { - (function (ha, ea, S) { - ha.read(-1, ea, { - result: function (Y) { - Y && Y.length ? S(null, Y) : S(null, null); + (function (ha, da, S) { + ha.read(-1, da, { + result: function (X) { + X && X.length ? S(null, X) : S(null, null); }, timeout: function () { ba.timeout(); }, - error: function (Y) { - S(Y, null); + error: function (X) { + S(X, null); } }); - })(fa, Z, function (ha, ea) { + })(fa, Z, function (ha, da) { var S, - Y; + X; if (ha) ba.error(ha); - else if (ea) { + else if (da) { if (fa.getJSON !== Ab && "function" === typeof fa.getJSON) ba.result(fa.getJSON()); else { ha = ba.result; - ea = new Qf(Tb(ea, "utf-8")); + da = new Qf(Tb(da, "utf-8")); S = []; - for (Y = ea.nextValue(); Y !== Ab; ) { - S.push(Y); - Y = ea.nextValue(); + for (X = da.nextValue(); X !== Ab; ) { + S.push(X); + X = da.nextValue(); } ha.call(ba, S); } @@ -5249,18 +5259,18 @@ a000.D9b = function () { Pe = function (fa, Z, ba) { Ka(ba, function () { var ha, - ea, + da, S; ha = Z.scheme; - ea = Z.keydata; - if (!ha || !ea || "object" !== typeof ea) - throw new xb(U.JSON_PARSE_ERROR, "keyrequestdata " + JSON.stringify(Z)); + da = Z.keydata; + if (!ha || !da || "object" !== typeof da) + throw new xb(T.JSON_PARSE_ERROR, "keyrequestdata " + JSON.stringify(Z)); if (!lc[ha]) - throw new Pb(U.UNIDENTIFIED_KEYX_SCHEME, ha); + throw new Pb(T.UNIDENTIFIED_KEYX_SCHEME, ha); S = fa.getKeyExchangeFactory(ha); if (!S) - throw new Pb(U.KEYX_FACTORY_NOT_FOUND, ha); - S.createRequestData(fa, ea, ba); + throw new Pb(T.KEYX_FACTORY_NOT_FOUND, ha); + S.createRequestData(fa, da, ba); }); }; })(); @@ -5299,27 +5309,27 @@ a000.D9b = function () { Qe = function (fa, Z, ba) { Ka(ba, function () { var ha, - ea, + da, S; ha = Z.mastertoken; - ea = Z.scheme; + da = Z.scheme; S = Z.keydata; - if (!ea || !ha || "object" !== typeof ha || !S || "object" !== typeof S) - throw new xb(U.JSON_PARSE_ERROR, "keyresponsedata " + JSON.stringify(Z)); - if (!lc[ea]) - throw new Pb(U.UNIDENTIFIED_KEYX_SCHEME, ea); + if (!da || !ha || "object" !== typeof ha || !S || "object" !== typeof S) + throw new xb(T.JSON_PARSE_ERROR, "keyresponsedata " + JSON.stringify(Z)); + if (!lc[da]) + throw new Pb(T.UNIDENTIFIED_KEYX_SCHEME, da); Tc(fa, ha, { - result: function (Y) { + result: function (X) { Ka(ba, function () { - var pa; - pa = fa.getKeyExchangeFactory(ea); - if (!pa) - throw new Pb(U.KEYX_FACTORY_NOT_FOUND, ea); - return pa.createResponseData(fa, Y, S); + var oa; + oa = fa.getKeyExchangeFactory(da); + if (!oa) + throw new Pb(T.KEYX_FACTORY_NOT_FOUND, da); + return oa.createResponseData(fa, X, S); }); }, - error: function (Y) { - ba.error(Y); + error: function (X) { + ba.error(X); } }); }); @@ -5355,43 +5365,43 @@ a000.D9b = function () { }, createRequestData: function (Z, ba, ha) {}, createResponseData: function (Z, ba, ha) {}, - generateResponse: function (Z, ba, ha, ea) {}, - getCryptoContext: function (Z, ba, ha, ea, S) {}, + generateResponse: function (Z, ba, ha, da) {}, + getCryptoContext: function (Z, ba, ha, da, S) {}, generateSessionKeys: function (Z, ba) { Ka(ba, function () { var ha, - ea; + da; ha = new Uint8Array(16); - ea = new Uint8Array(32); + da = new Uint8Array(32); Z.getRandom().nextBytes(ha); - Z.getRandom().nextBytes(ea); + Z.getRandom().nextBytes(da); yc(ha, rc, Ic, { result: function (S) { - yc(ea, sc, Sc, { - result: function (Y) { + yc(da, sc, Sc, { + result: function (X) { ba.result({ encryptionKey: S, - hmacKey: Y + hmacKey: X }); }, - error: function (Y) { - ba.error(new tb(U.SESSION_KEY_CREATION_FAILURE, null, Y)); + error: function (X) { + ba.error(new tb(T.SESSION_KEY_CREATION_FAILURE, null, X)); } }); }, error: function (S) { - ba.error(new tb(U.SESSION_KEY_CREATION_FAILURE, null, S)); + ba.error(new tb(T.SESSION_KEY_CREATION_FAILURE, null, S)); } }); }); }, importSessionKeys: function (Z, ba, ha) { yc(Z, rc, Ic, { - result: function (ea) { + result: function (da) { yc(ba, sc, Sc, { result: function (S) { ha.result({ - encryptionKey: ea, + encryptionKey: da, hmacKey: S }); }, @@ -5400,8 +5410,8 @@ a000.D9b = function () { } }); }, - error: function (ea) { - ha.error(ea); + error: function (da) { + ha.error(da); } }); } @@ -5412,37 +5422,37 @@ a000.D9b = function () { var Z, ba, ha; - function fa(ea, S, Y, pa, ma) { - Ka(ma, function () { + function fa(da, S, X, oa, la) { + Ka(la, function () { var qa, - Ba; + Aa; switch (S) { case Z.PSK: - (qa = new tc(pa), Ba = ea.getEntityAuthenticationFactory(Nb.PSK)); - if (!Ba) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, S); - qa = Ba.getCryptoContext(ea, qa); - return new Ac(ea, Bc.A128KW, vc, Ab); + (qa = new tc(oa), Aa = da.getEntityAuthenticationFactory(Nb.PSK)); + if (!Aa) + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, S); + qa = Aa.getCryptoContext(da, qa); + return new Ac(da, Bc.A128KW, vc, Ab); case Z.MGK: - qa = new nc(pa); - Ba = ea.getEntityAuthenticationFactory(Nb.MGK); - if (!Ba) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, S); - qa = Ba.getCryptoContext(ea, qa); - return new Ac(ea, Bc.A128KW, vc, Ab); + qa = new nc(oa); + Aa = da.getEntityAuthenticationFactory(Nb.MGK); + if (!Aa) + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, S); + qa = Aa.getCryptoContext(da, qa); + return new Ac(da, Bc.A128KW, vc, Ab); case Z.WRAP: - qa = ea.getMslCryptoContext(); - qa.unwrap(Y, xc, Jc, { + qa = da.getMslCryptoContext(); + qa.unwrap(X, xc, Jc, { result: function (sa) { - Ka(ma, function () { - return new Ac(ea, Bc.A128KW, vc, sa); + Ka(la, function () { + return new Ac(da, Bc.A128KW, vc, sa); }); }, - error: ma.error + error: la.error }); break; default: - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, S); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, S); } }); } @@ -5452,15 +5462,15 @@ a000.D9b = function () { WRAP: "WRAP" }; ba = ge = id.extend({ - init: function pa(S, Y) { - pa.base.call(this, lc.JWE_LADDER); + init: function oa(S, X) { + oa.base.call(this, lc.JWE_LADDER); switch (S) { case Z.WRAP: - if (!Y) + if (!X) throw new vb("Previous wrapping key based key exchange requires the previous wrapping key data and ID."); break; default: - Y = null; + X = null; } Object.defineProperties(this, { mechanism: { @@ -5469,7 +5479,7 @@ a000.D9b = function () { configurable: !1 }, wrapdata: { - value: Y, + value: X, writable: !1, configurable: !1 } @@ -5482,19 +5492,19 @@ a000.D9b = function () { this.wrapdata && (S.wrapdata = Db(this.wrapdata)); return S; }, - equals: function pa(Y) { - return Y === this ? !0 : Y instanceof ge ? pa.base.call(this, Y) && this.mechanism == Y.mechanism && Xb(this.wrapdata, Y.wrapdata) : !1; + equals: function oa(X) { + return X === this ? !0 : X instanceof ge ? oa.base.call(this, X) && this.mechanism == X.mechanism && Xb(this.wrapdata, X.wrapdata) : !1; }, - uniqueKey: function pa() { - var ma; - ma = pa.base.call(this) + ":" + this.mechanism; - this.wrapdata && (ma += ":" + gc(this.wrapdata)); - return ma; + uniqueKey: function oa() { + var la; + la = oa.base.call(this) + ":" + this.mechanism; + this.wrapdata && (la += ":" + gc(this.wrapdata)); + return la; } }); ha = Se = jd.extend({ - init: function W(ma, qa, Ba, sa, oa) { - W.base.call(this, ma, lc.JWE_LADDER); + init: function W(la, qa, Aa, sa, na) { + W.base.call(this, la, lc.JWE_LADDER); Object.defineProperties(this, { wrapKey: { value: qa, @@ -5502,7 +5512,7 @@ a000.D9b = function () { configurable: !1 }, wrapdata: { - value: Ba, + value: Aa, writable: !1, configurable: !1 }, @@ -5512,31 +5522,31 @@ a000.D9b = function () { configurable: !1 }, hmacKey: { - value: oa, + value: na, writable: !1, configurable: !1 } }); }, getKeydata: function () { - var ma; - ma = {}; - ma.wrapkey = Db(this.wrapKey); - ma.wrapdata = Db(this.wrapdata); - ma.encryptionkey = Db(this.encryptionKey); - ma.hmackey = Db(this.hmacKey); - return ma; + var la; + la = {}; + la.wrapkey = Db(this.wrapKey); + la.wrapdata = Db(this.wrapdata); + la.encryptionkey = Db(this.encryptionKey); + la.hmackey = Db(this.hmacKey); + return la; }, - equals: function Ba(qa) { - return this === qa ? !0 : qa instanceof Se ? Ba.base.call(this, qa) && Xb(this.wrapKey, qa.wrapKey) && Xb(this.wrapdata, qa.wrapdata) && Xb(this.encryptionKey, qa.encryptionKey) && Xb(this.hmacKey, qa.hmacKey) : !1; + equals: function Aa(qa) { + return this === qa ? !0 : qa instanceof Se ? Aa.base.call(this, qa) && Xb(this.wrapKey, qa.wrapKey) && Xb(this.wrapdata, qa.wrapdata) && Xb(this.encryptionKey, qa.encryptionKey) && Xb(this.hmacKey, qa.hmacKey) : !1; }, - uniqueKey: function Ba() { - return Ba.base.call(this) + ":" + gc(this.wrapKey) + ":" + gc(this.wrapdata) + ":" + gc(this.encryptionKey) + ":" + gc(this.hmacKey); + uniqueKey: function Aa() { + return Aa.base.call(this) + ":" + gc(this.wrapKey) + ":" + gc(this.wrapdata) + ":" + gc(this.encryptionKey) + ":" + gc(this.hmacKey); } }); Re = oc.extend({ - init: function oa(sa) { - oa.base.call(this, lc.JWE_LADDER); + init: function na(sa) { + na.base.call(this, lc.JWE_LADDER); Object.defineProperties(this, { repository: { value: sa, @@ -5546,73 +5556,73 @@ a000.D9b = function () { } }); }, - createRequestData: function (sa, oa, W) { + createRequestData: function (sa, na, W) { Ka(W, function () { var aa, ca, - ka; - aa = oa.mechanism; - ca = oa.wrapdata; + ja; + aa = na.mechanism; + ca = na.wrapdata; if (!aa || aa == Z.WRAP && (!ca || "string" !== typeof ca)) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(oa)); + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(na)); if (!Z[aa]) - throw new Pb(U.UNIDENTIFIED_KEYX_MECHANISM, aa); + throw new Pb(T.UNIDENTIFIED_KEYX_MECHANISM, aa); switch (aa) { case Z.WRAP: try { - ka = Fb(ca); + ja = Fb(ca); } catch (Ga) { - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, "keydata " + oa.toString()); + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, "keydata " + na.toString()); } - if (null == ka || 0 == ka.length) - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, "keydata " + oa.toString()); + if (null == ja || 0 == ja.length) + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, "keydata " + na.toString()); break; default: - ka = null; + ja = null; } - return new ba(aa, ka); + return new ba(aa, ja); }); }, - createResponseData: function (sa, oa, W) { + createResponseData: function (sa, na, W) { var aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa, Ra; sa = W.wrapkey; aa = W.wrapdata; ca = W.encryptionkey; - ka = W.hmackey; - if (!(sa && "string" === typeof sa && aa && "string" === typeof aa && ca && "string" === typeof ca && ka) || "string" !== typeof ka) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(W)); + ja = W.hmackey; + if (!(sa && "string" === typeof sa && aa && "string" === typeof aa && ca && "string" === typeof ca && ja) || "string" !== typeof ja) + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(W)); try { Ga = Fb(sa); - Ea = Fb(aa); + Ca = Fb(aa); } catch (ia) { - throw new tb(U.INVALID_SYMMETRIC_KEY, "keydata " + JSON.stringify(W), ia); + throw new tb(T.INVALID_SYMMETRIC_KEY, "keydata " + JSON.stringify(W), ia); } try { Pa = Fb(ca); } catch (ia) { - throw new tb(U.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(W), ia); + throw new tb(T.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(W), ia); } try { - Ra = Fb(ka); + Ra = Fb(ja); } catch (ia) { - throw new tb(U.INVALID_HMAC_KEY, "keydata " + JSON.stringify(W), ia); + throw new tb(T.INVALID_HMAC_KEY, "keydata " + JSON.stringify(W), ia); } - return new ha(oa, Ga, Ea, Pa, Ra); + return new ha(na, Ga, Ca, Pa, Ra); }, - generateResponse: function (sa, oa, W, aa) { + generateResponse: function (sa, na, W, aa) { var Pa, Ra; function ca(ia, ua, xa) { Pa.generateSessionKeys(sa, { result: function (Ha) { Ka(aa, function () { - ka(ia, ua, xa, Ha.encryptionKey, Ha.hmacKey); + ja(ia, ua, xa, Ha.encryptionKey, Ha.hmacKey); }, Pa); }, error: function (Ha) { @@ -5623,13 +5633,13 @@ a000.D9b = function () { } }); } - function ka(ia, ua, xa, Ha, Aa) { + function ja(ia, ua, xa, Ha, za) { Ka(aa, function () { - fa(sa, oa.mechanism, oa.wrapdata, ia, { + fa(sa, na.mechanism, na.wrapdata, ia, { result: function (Oa) { Oa.wrap(ua, { result: function (Da) { - Ga(ua, xa, Ha, Aa, Da); + Ga(ua, xa, Ha, za, Da); }, error: function (Da) { Ka(aa, function () { @@ -5648,7 +5658,7 @@ a000.D9b = function () { }); }, Pa); } - function Ga(ia, ua, xa, Ha, Aa) { + function Ga(ia, ua, xa, Ha, za) { Ka(aa, function () { var Oa; Oa = new Ac(sa, Bc.A128KW, vc, ia); @@ -5656,7 +5666,7 @@ a000.D9b = function () { result: function (Da) { Oa.wrap(Ha, { result: function (Wa) { - Ea(ua, Aa, xa, Da, Ha, Wa); + Ca(ua, za, xa, Da, Ha, Wa); }, error: function (Wa) { Ka(aa, function () { @@ -5675,11 +5685,11 @@ a000.D9b = function () { }); }, Pa); } - function Ea(ia, ua, xa, Ha, Aa, Oa) { + function Ca(ia, ua, xa, Ha, za, Oa) { Ka(aa, function () { var Da; Da = sa.getTokenFactory(); - Ra ? Da.renewMasterToken(sa, Ra, xa, Aa, { + Ra ? Da.renewMasterToken(sa, Ra, xa, za, { result: function (Wa) { Ka(aa, function () { var Ya, @@ -5695,7 +5705,7 @@ a000.D9b = function () { throw Wa; }); } - }) : Da.createMasterToken(sa, W, xa, Aa, { + }) : Da.createMasterToken(sa, W, xa, za, { result: function (Wa) { Ka(aa, function () { var Ya, @@ -5713,12 +5723,12 @@ a000.D9b = function () { Ka(aa, function () { var ia, ua; - if (!(oa instanceof ba)) - throw new vb("Key request data " + JSON.stringify(oa) + " was not created by this factory."); + if (!(na instanceof ba)) + throw new vb("Key request data " + JSON.stringify(na) + " was not created by this factory."); ia = W; if (W instanceof ic) { if (!W.isVerified()) - throw new Rc(U.MASTERTOKEN_UNTRUSTED, W); + throw new Rc(T.MASTERTOKEN_UNTRUSTED, W); Ra = W; ia = W.identity; } @@ -5742,39 +5752,39 @@ a000.D9b = function () { }, error: function (xa) { Ka(aa, function () { - throw new tb(U.WRAP_KEY_CREATION_FAILURE, null, xa).setEntity(Ra); + throw new tb(T.WRAP_KEY_CREATION_FAILURE, null, xa).setEntity(Ra); }, Pa); } }); }, Pa); }, - getCryptoContext: function (sa, oa, W, aa, ca) { + getCryptoContext: function (sa, na, W, aa, ca) { var Ga; - function ka(Ea, Pa, Ra, ia, ua) { + function ja(Ca, Pa, Ra, ia, ua) { Ka(ca, function () { var xa; xa = new Ac(sa, Bc.A128KW, vc, ua); xa.unwrap(Pa.encryptionKey, rc, Ic, { result: function (Ha) { xa.unwrap(Pa.hmacKey, sc, Sc, { - result: function (Aa) { + result: function (za) { Ka(ca, function () { this.repository.addCryptoContext(Pa.wrapdata, xa); this.repository.removeCryptoContext(Ra); - return new jc(sa, Pa.masterToken, ia, Ha, Aa); + return new jc(sa, Pa.masterToken, ia, Ha, za); }, Ga); }, - error: function (Aa) { + error: function (za) { Ka(ca, function () { - Aa instanceof bb && Aa.setEntity(Ea); - throw Aa; + za instanceof bb && za.setEntity(Ca); + throw za; }); } }); }, error: function (Ha) { Ka(ca, function () { - Ha instanceof bb && Ha.setEntity(Ea); + Ha instanceof bb && Ha.setEntity(Ca); throw Ha; }); } @@ -5783,14 +5793,14 @@ a000.D9b = function () { } Ga = this; Ka(ca, function () { - var Ea, + var Ca, Pa; - if (!(oa instanceof ba)) - throw new vb("Key request data " + JSON.stringify(oa) + " was not created by this factory."); + if (!(na instanceof ba)) + throw new vb("Key request data " + JSON.stringify(na) + " was not created by this factory."); if (!(W instanceof ha)) throw new vb("Key response data " + JSON.stringify(W) + " was not created by this factory."); - Ea = oa.mechanism; - Pa = oa.wrapdata; + Ca = na.mechanism; + Pa = na.wrapdata; sa.getEntityAuthenticationData(null, { result: function (Ra) { Ka(ca, function () { @@ -5798,12 +5808,12 @@ a000.D9b = function () { ua, xa; ia = Ra.getIdentity(); - switch (Ea) { + switch (Ca) { case Z.PSK: ua = new tc(ia); xa = sa.getEntityAuthenticationFactory(Nb.PSK); if (!xa) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Ea).setEntity(Ra); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Ca).setEntity(Ra); ua = xa.getCryptoContext(sa, ua); ua = new Ac(sa, Bc.A128KW, vc, Ab); break; @@ -5811,21 +5821,21 @@ a000.D9b = function () { ua = new nc(ia); xa = sa.getEntityAuthenticationFactory(Nb.MGK); if (!xa) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Ea).setEntity(Ra); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Ca).setEntity(Ra); ua = xa.getCryptoContext(sa, ua); ua = new Ac(sa, Bc.A128KW, vc, ua.wrapKey); break; case Z.WRAP: ua = this.repository.getCryptoContext(Pa); if (!ua) - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, Db(Pa)).setEntity(Ra); + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, Db(Pa)).setEntity(Ra); break; default: - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Ea).setEntity(Ra); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Ca).setEntity(Ra); } ua.unwrap(W.wrapKey, xc, Jc, { result: function (Ha) { - ka(Ra, W, Pa, ia, Ha); + ja(Ra, W, Pa, ia, Ha); }, error: function (Ha) { Ka(ca, function () { @@ -5846,38 +5856,38 @@ a000.D9b = function () { var Z, ba, ha, - ea; - function fa(S, Y, pa, ma, qa) { + da; + function fa(S, X, oa, la, qa) { Ka(qa, function () { - var Ba, + var Aa, sa; - switch (Y) { + switch (X) { case Z.PSK: - (Ba = new tc(ma), sa = S.getEntityAuthenticationFactory(Nb.PSK)); + (Aa = new tc(la), sa = S.getEntityAuthenticationFactory(Nb.PSK)); if (!sa) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Y); - Ba = sa.getCryptoContext(S, Ba); - return new ea(Ab); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, X); + Aa = sa.getCryptoContext(S, Aa); + return new da(Ab); case Z.MGK: - Ba = new nc(ma); + Aa = new nc(la); sa = S.getEntityAuthenticationFactory(Nb.MGK); if (!sa) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Y); - Ba = sa.getCryptoContext(S, Ba); - return new ea(Ab); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, X); + Aa = sa.getCryptoContext(S, Aa); + return new da(Ab); case Z.WRAP: - Ba = S.getMslCryptoContext(); - Ba.unwrap(pa, xc, Jc, { - result: function (oa) { + Aa = S.getMslCryptoContext(); + Aa.unwrap(oa, xc, Jc, { + result: function (na) { Ka(qa, function () { - return new ea(oa); + return new da(na); }); }, error: qa.error }); break; default: - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Y); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, X); } }); } @@ -5887,52 +5897,52 @@ a000.D9b = function () { WRAP: "WRAP" }; ba = Fd = id.extend({ - init: function ma(Y, pa) { - ma.base.call(this, lc.JWK_LADDER); - switch (Y) { + init: function la(X, oa) { + la.base.call(this, lc.JWK_LADDER); + switch (X) { case Z.WRAP: - if (!pa) + if (!oa) throw new vb("Previous wrapping key based key exchange requires the previous wrapping key data and ID."); break; default: - pa = null; + oa = null; } Object.defineProperties(this, { mechanism: { - value: Y, + value: X, writable: !1, configurable: !1 }, wrapdata: { - value: pa, + value: oa, writable: !1, configurable: !1 } }); }, getKeydata: function () { - var Y; - Y = {}; - Y.mechanism = this.mechanism; - this.wrapdata && (Y.wrapdata = Db(this.wrapdata)); - return Y; + var X; + X = {}; + X.mechanism = this.mechanism; + this.wrapdata && (X.wrapdata = Db(this.wrapdata)); + return X; }, - equals: function ma(pa) { - return pa === this ? !0 : pa instanceof Fd ? ma.base.call(this, pa) && this.mechanism == pa.mechanism && Xb(this.wrapdata, pa.wrapdata) : !1; + equals: function la(oa) { + return oa === this ? !0 : oa instanceof Fd ? la.base.call(this, oa) && this.mechanism == oa.mechanism && Xb(this.wrapdata, oa.wrapdata) : !1; }, - uniqueKey: function ma() { + uniqueKey: function la() { var qa; - qa = ma.base.call(this) + ":" + this.mechanism; + qa = la.base.call(this) + ":" + this.mechanism; this.wrapdata && (qa += ":" + gc(this.wrapdata)); return qa; } }); ha = Te = jd.extend({ - init: function aa(qa, Ba, sa, oa, W) { + init: function aa(qa, Aa, sa, na, W) { aa.base.call(this, qa, lc.JWK_LADDER); Object.defineProperties(this, { wrapKey: { - value: Ba, + value: Aa, writable: !1, configurable: !1 }, @@ -5942,7 +5952,7 @@ a000.D9b = function () { configurable: !1 }, encryptionKey: { - value: oa, + value: na, writable: !1, configurable: !1 }, @@ -5962,14 +5972,14 @@ a000.D9b = function () { qa.hmackey = Db(this.hmacKey); return qa; }, - equals: function sa(Ba) { - return this === Ba ? !0 : Ba instanceof Te ? sa.base.call(this, Ba) && Xb(this.wrapKey, Ba.wrapKey) && Xb(this.wrapdata, Ba.wrapdata) && Xb(this.encryptionKey, Ba.encryptionKey) && Xb(this.hmacKey, Ba.hmacKey) : !1; + equals: function sa(Aa) { + return this === Aa ? !0 : Aa instanceof Te ? sa.base.call(this, Aa) && Xb(this.wrapKey, Aa.wrapKey) && Xb(this.wrapdata, Aa.wrapdata) && Xb(this.encryptionKey, Aa.encryptionKey) && Xb(this.hmacKey, Aa.hmacKey) : !1; }, uniqueKey: function sa() { return sa.base.call(this) + ":" + gc(this.wrapKey) + ":" + gc(this.wrapdata) + ":" + gc(this.encryptionKey) + ":" + gc(this.hmacKey); } }); - ea = ad.extend({ + da = ad.extend({ init: function (sa) { sa && sa.rawKey && (sa = sa.rawKey); Object.defineProperties(this, { @@ -5981,86 +5991,86 @@ a000.D9b = function () { } }); }, - encrypt: function (sa, oa) { - oa.error(new tb(U.ENCRYPT_NOT_SUPPORTED)); + encrypt: function (sa, na) { + na.error(new tb(T.ENCRYPT_NOT_SUPPORTED)); }, - decrypt: function (sa, oa) { - oa.error(new tb(U.DECRYPT_NOT_SUPPORTED)); + decrypt: function (sa, na) { + na.error(new tb(T.DECRYPT_NOT_SUPPORTED)); }, - wrap: function (sa, oa) { - Ka(oa, function () { + wrap: function (sa, na) { + Ka(na, function () { Jb.wrapKey("jwk", sa.rawKey, this._wrapKey, xc).then(function (W) { - oa.result(W); + na.result(W); }, function (W) { - oa.error(new tb(U.WRAP_ERROR)); + na.error(new tb(T.WRAP_ERROR)); }); }, this); }, - unwrap: function (sa, oa, W, aa) { - function ca(ka) { + unwrap: function (sa, na, W, aa) { + function ca(ja) { Ka(aa, function () { - switch (ka.type) { + switch (ja.type) { case "secret": - Yc(ka, aa); + Yc(ja, aa); break; case "public": - Oc(ka, aa); + Oc(ja, aa); break; case "private": - Zc(ka, aa); + Zc(ja, aa); break; default: - throw new tb(U.UNSUPPORTED_KEY, "type: " + ka.type); + throw new tb(T.UNSUPPORTED_KEY, "type: " + ja.type); } }); } Ka(aa, function () { - Jb.unwrapKey("jwk", sa, this._wrapKey, xc, oa, !1, W).then(function (ka) { - ca(ka); - }, function (ka) { - aa.error(new tb(U.UNWRAP_ERROR)); + Jb.unwrapKey("jwk", sa, this._wrapKey, xc, na, !1, W).then(function (ja) { + ca(ja); + }, function (ja) { + aa.error(new tb(T.UNWRAP_ERROR)); }); }, this); }, - sign: function (sa, oa) { - oa.error(new tb(U.SIGN_NOT_SUPPORTED)); + sign: function (sa, na) { + na.error(new tb(T.SIGN_NOT_SUPPORTED)); }, - verify: function (sa, oa, W) { - W.error(new tb(U.VERIFY_NOT_SUPPORTED)); + verify: function (sa, na, W) { + W.error(new tb(T.VERIFY_NOT_SUPPORTED)); } }); he = oc.extend({ - init: function W(oa) { + init: function W(na) { W.base.call(this, lc.JWK_LADDER); Object.defineProperties(this, { repository: { - value: oa, + value: na, writable: !1, enumerable: !1, configurable: !1 } }); }, - createRequestData: function (oa, W, aa) { + createRequestData: function (na, W, aa) { Ka(aa, function () { var ca, - ka, + ja, Ga; ca = W.mechanism; - ka = W.wrapdata; - if (!ca || ca == Z.WRAP && (!ka || "string" !== typeof ka)) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(W)); + ja = W.wrapdata; + if (!ca || ca == Z.WRAP && (!ja || "string" !== typeof ja)) + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(W)); if (!Z[ca]) - throw new Pb(U.UNIDENTIFIED_KEYX_MECHANISM, ca); + throw new Pb(T.UNIDENTIFIED_KEYX_MECHANISM, ca); switch (ca) { case Z.WRAP: try { - Ga = Fb(ka); - } catch (Ea) { - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, "keydata " + W.toString()); + Ga = Fb(ja); + } catch (Ca) { + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, "keydata " + W.toString()); } if (null == Ga || 0 == Ga.length) - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, "keydata " + W.toString()); + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, "keydata " + W.toString()); break; default: Ga = null; @@ -6068,63 +6078,63 @@ a000.D9b = function () { return new ba(ca, Ga); }); }, - createResponseData: function (oa, W, aa) { + createResponseData: function (na, W, aa) { var ca, - ka, + ja, Ga, - Ea, + Ca, Pa, Ra, ia; - oa = aa.wrapkey; + na = aa.wrapkey; ca = aa.wrapdata; - ka = aa.encryptionkey; + ja = aa.encryptionkey; Ga = aa.hmackey; - if (!(oa && "string" === typeof oa && ca && "string" === typeof ca && ka && "string" === typeof ka && Ga) || "string" !== typeof Ga) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(aa)); + if (!(na && "string" === typeof na && ca && "string" === typeof ca && ja && "string" === typeof ja && Ga) || "string" !== typeof Ga) + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(aa)); try { - Ea = Fb(oa); + Ca = Fb(na); Pa = Fb(ca); } catch (ua) { - throw new tb(U.INVALID_SYMMETRIC_KEY, "keydata " + JSON.stringify(aa), ua); + throw new tb(T.INVALID_SYMMETRIC_KEY, "keydata " + JSON.stringify(aa), ua); } try { - Ra = Fb(ka); + Ra = Fb(ja); } catch (ua) { - throw new tb(U.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(aa), ua); + throw new tb(T.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(aa), ua); } try { ia = Fb(Ga); } catch (ua) { - throw new tb(U.INVALID_HMAC_KEY, "keydata " + JSON.stringify(aa), ua); + throw new tb(T.INVALID_HMAC_KEY, "keydata " + JSON.stringify(aa), ua); } - return new ha(W, Ea, Pa, Ra, ia); + return new ha(W, Ca, Pa, Ra, ia); }, - generateResponse: function (oa, W, aa, ca) { + generateResponse: function (na, W, aa, ca) { var Ra, ia; - function ka(ua, xa, Ha) { - Ra.generateSessionKeys(oa, { - result: function (Aa) { + function ja(ua, xa, Ha) { + Ra.generateSessionKeys(na, { + result: function (za) { Ka(ca, function () { - Ga(ua, xa, Ha, Aa.encryptionKey, Aa.hmacKey); + Ga(ua, xa, Ha, za.encryptionKey, za.hmacKey); }, Ra); }, - error: function (Aa) { + error: function (za) { Ka(ca, function () { - Aa instanceof bb && Aa.setEntity(ia); - throw Aa; + za instanceof bb && za.setEntity(ia); + throw za; }); } }); } - function Ga(ua, xa, Ha, Aa, Oa) { + function Ga(ua, xa, Ha, za, Oa) { Ka(ca, function () { - fa(oa, W.mechanism, W.wrapdata, ua, { + fa(na, W.mechanism, W.wrapdata, ua, { result: function (Da) { Da.wrap(xa, { result: function (Wa) { - Ea(xa, Ha, Aa, Oa, Wa); + Ca(xa, Ha, za, Oa, Wa); }, error: function (Wa) { Ka(ca, function () { @@ -6143,15 +6153,15 @@ a000.D9b = function () { }); }, Ra); } - function Ea(ua, xa, Ha, Aa, Oa) { + function Ca(ua, xa, Ha, za, Oa) { Ka(ca, function () { var Da; - Da = new ea(ua); + Da = new da(ua); Da.wrap(Ha, { result: function (Wa) { - Da.wrap(Aa, { + Da.wrap(za, { result: function (Ya) { - Pa(xa, Oa, Ha, Wa, Aa, Ya); + Pa(xa, Oa, Ha, Wa, za, Ya); }, error: function (Ya) { Ka(ca, function () { @@ -6170,17 +6180,17 @@ a000.D9b = function () { }); }, Ra); } - function Pa(ua, xa, Ha, Aa, Oa, Da) { + function Pa(ua, xa, Ha, za, Oa, Da) { Ka(ca, function () { var Wa; - Wa = oa.getTokenFactory(); - ia ? Wa.renewMasterToken(oa, ia, Ha, Oa, { + Wa = na.getTokenFactory(); + ia ? Wa.renewMasterToken(na, ia, Ha, Oa, { result: function (Ya) { Ka(ca, function () { var Xa, hb; - Xa = new jc(oa, Ya); - hb = new ha(Ya, xa, ua, Aa, Da); + Xa = new jc(na, Ya); + hb = new ha(Ya, xa, ua, za, Da); return new oc.KeyExchangeData(hb, Xa, ca); }, Ra); }, @@ -6190,13 +6200,13 @@ a000.D9b = function () { throw Ya; }); } - }) : Wa.createMasterToken(oa, aa, Ha, Oa, { + }) : Wa.createMasterToken(na, aa, Ha, Oa, { result: function (Ya) { Ka(ca, function () { var Xa, hb; - Xa = new jc(oa, Ya); - hb = new ha(Ya, xa, ua, Aa, Da); + Xa = new jc(na, Ya); + hb = new ha(Ya, xa, ua, za, Da); return new oc.KeyExchangeData(hb, Xa, ca); }, Ra); }, @@ -6213,23 +6223,23 @@ a000.D9b = function () { ua = aa; if (aa instanceof ic) { if (!aa.isVerified()) - throw new Rc(U.MASTERTOKEN_UNTRUSTED, aa); + throw new Rc(T.MASTERTOKEN_UNTRUSTED, aa); ia = aa; ua = aa.identity; } xa = new Uint8Array(16); - oa.getRandom().nextBytes(xa); + na.getRandom().nextBytes(xa); yc(xa, xc, Jc, { result: function (Ha) { Ka(ca, function () { - oa.getMslCryptoContext().wrap(Ha, { - result: function (Aa) { - ka(ua, Ha, Aa); + na.getMslCryptoContext().wrap(Ha, { + result: function (za) { + ja(ua, Ha, za); }, - error: function (Aa) { + error: function (za) { Ka(ca, function () { - Aa instanceof bb && Aa.setEntity(ia); - throw Aa; + za instanceof bb && za.setEntity(ia); + throw za; }, Ra); } }); @@ -6237,47 +6247,47 @@ a000.D9b = function () { }, error: function (Ha) { Ka(ca, function () { - throw new tb(U.WRAP_KEY_CREATION_FAILURE, null, Ha).setEntity(ia); + throw new tb(T.WRAP_KEY_CREATION_FAILURE, null, Ha).setEntity(ia); }, Ra); } }); }, Ra); }, - getCryptoContext: function (oa, W, aa, ca, ka) { - var Ea; + getCryptoContext: function (na, W, aa, ca, ja) { + var Ca; function Ga(Pa, Ra, ia, ua, xa) { - Ka(ka, function () { + Ka(ja, function () { var Ha; - Ha = new ea(xa); + Ha = new da(xa); Ha.unwrap(Ra.encryptionKey, rc, Ic, { - result: function (Aa) { + result: function (za) { Ha.unwrap(Ra.hmacKey, sc, Sc, { result: function (Oa) { - Ka(ka, function () { + Ka(ja, function () { this.repository.addCryptoContext(Ra.wrapdata, Ha); this.repository.removeCryptoContext(ia); - return new jc(oa, Ra.masterToken, ua, Aa, Oa); - }, Ea); + return new jc(na, Ra.masterToken, ua, za, Oa); + }, Ca); }, error: function (Oa) { - Ka(ka, function () { + Ka(ja, function () { Oa instanceof bb && Oa.setEntity(Pa); throw Oa; }); } }); }, - error: function (Aa) { - Ka(ka, function () { - Aa instanceof bb && Aa.setEntity(Pa); - throw Aa; + error: function (za) { + Ka(ja, function () { + za instanceof bb && za.setEntity(Pa); + throw za; }); } }); - }, Ea); + }, Ca); } - Ea = this; - Ka(ka, function () { + Ca = this; + Ka(ja, function () { var Pa, Ra; if (!(W instanceof ba)) @@ -6286,9 +6296,9 @@ a000.D9b = function () { throw new vb("Key response data " + JSON.stringify(aa) + " was not created by this factory."); Pa = W.mechanism; Ra = W.wrapdata; - oa.getEntityAuthenticationData(null, { + na.getEntityAuthenticationData(null, { result: function (ia) { - Ka(ka, function () { + Ka(ja, function () { var ua, xa, Ha; @@ -6296,44 +6306,44 @@ a000.D9b = function () { switch (Pa) { case Z.PSK: xa = new tc(ua); - Ha = oa.getEntityAuthenticationFactory(Nb.PSK); + Ha = na.getEntityAuthenticationFactory(Nb.PSK); if (!Ha) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); - xa = Ha.getCryptoContext(oa, xa); - xa = new ea(xa.wrapKey); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); + xa = Ha.getCryptoContext(na, xa); + xa = new da(xa.wrapKey); break; case Z.MGK: xa = new nc(ua); - Ha = oa.getEntityAuthenticationFactory(Nb.MGK); + Ha = na.getEntityAuthenticationFactory(Nb.MGK); if (!Ha) - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); - xa = Ha.getCryptoContext(oa, xa); - xa = new ea(xa.wrapKey); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); + xa = Ha.getCryptoContext(na, xa); + xa = new da(xa.wrapKey); break; case Z.WRAP: xa = this.repository.getCryptoContext(Ra); if (!xa) - throw new Pb(U.KEYX_WRAPPING_KEY_MISSING, Db(Ra)).setEntity(ia); + throw new Pb(T.KEYX_WRAPPING_KEY_MISSING, Db(Ra)).setEntity(ia); break; default: - throw new Pb(U.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); + throw new Pb(T.UNSUPPORTED_KEYX_MECHANISM, Pa).setEntity(ia); } xa.unwrap(aa.wrapKey, xc, Jc, { - result: function (Aa) { - Ga(ia, aa, Ra, ua, Aa); + result: function (za) { + Ga(ia, aa, Ra, ua, za); }, - error: function (Aa) { - Ka(ka, function () { - Aa instanceof bb && Aa.setEntity(ia); - throw Aa; + error: function (za) { + Ka(ja, function () { + za instanceof bb && za.setEntity(ia); + throw za; }); } }); - }, Ea); + }, Ca); }, - error: ka.error + error: ja.error }); - }, Ea); + }, Ca); } }); })(); @@ -6346,18 +6356,18 @@ a000.D9b = function () { var Z, ba, ha, - ea; - function fa(S, Y, pa, ma, qa) { - switch (pa) { + da; + function fa(S, X, oa, la, qa) { + switch (oa) { case Z.JWE_RSA: case Z.JWEJS_RSA: - return new Ac(S, Bc.RSA_OAEP, vc, ma, qa); + return new Ac(S, Bc.RSA_OAEP, vc, la, qa); case Z.JWK_RSA: - return new zd(S, Y, ma, qa, Ad.WRAP_UNWRAP_OAEP); + return new zd(S, X, la, qa, Ad.WRAP_UNWRAP_OAEP); case Z.JWK_RSAES: - return new zd(S, Y, ma, qa, Ad.WRAP_UNWRAP_PKCS1); + return new zd(S, X, la, qa, Ad.WRAP_UNWRAP_PKCS1); default: - throw new tb(U.UNSUPPORTED_KEYX_MECHANISM, pa); + throw new tb(T.UNSUPPORTED_KEYX_MECHANISM, oa); } } Z = Gd = { @@ -6369,21 +6379,21 @@ a000.D9b = function () { JWK_RSAES: "JWK_RSAES" }; ba = Td = id.extend({ - init: function Ba(Y, pa, ma, qa) { - Ba.base.call(this, lc.ASYMMETRIC_WRAPPED); + init: function Aa(X, oa, la, qa) { + Aa.base.call(this, lc.ASYMMETRIC_WRAPPED); Object.defineProperties(this, { keyPairId: { - value: Y, + value: X, writable: !1, configurable: !1 }, mechanism: { - value: pa, + value: oa, writable: !1, configurable: !1 }, publicKey: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -6395,54 +6405,54 @@ a000.D9b = function () { }); }, getKeydata: function () { - var Y; - Y = {}; - Y.keypairid = this.keyPairId; - Y.mechanism = this.mechanism; - Y.publickey = Db(this.publicKey.getEncoded()); - return Y; + var X; + X = {}; + X.keypairid = this.keyPairId; + X.mechanism = this.mechanism; + X.publickey = Db(this.publicKey.getEncoded()); + return X; }, - equals: function ma(pa) { + equals: function la(oa) { var qa; - if (pa === this) + if (oa === this) return !0; - if (!(pa instanceof Td)) + if (!(oa instanceof Td)) return !1; - qa = this.privateKey === pa.privateKey || this.privateKey && pa.privateKey && Xb(this.privateKey.getEncoded(), pa.privateKey.getEncoded()); - return ma.base.call(this, pa) && this.keyPairId == pa.keyPairId && this.mechanism == pa.mechanism && Xb(this.publicKey.getEncoded(), pa.publicKey.getEncoded()) && qa; + qa = this.privateKey === oa.privateKey || this.privateKey && oa.privateKey && Xb(this.privateKey.getEncoded(), oa.privateKey.getEncoded()); + return la.base.call(this, oa) && this.keyPairId == oa.keyPairId && this.mechanism == oa.mechanism && Xb(this.publicKey.getEncoded(), oa.publicKey.getEncoded()) && qa; }, - uniqueKey: function ma() { + uniqueKey: function la() { var qa, - Ba; + Aa; qa = this.publicKey.getEncoded(); - Ba = this.privateKey && this.privateKey.getEncoded(); - qa = ma.base.call(this) + ":" + this.keyPairId + ":" + this.mechanism + ":" + gc(qa); - Ba && (qa += ":" + gc(Ba)); + Aa = this.privateKey && this.privateKey.getEncoded(); + qa = la.base.call(this) + ":" + this.keyPairId + ":" + this.mechanism + ":" + gc(qa); + Aa && (qa += ":" + gc(Aa)); return qa; } }); - ha = function (ma, qa) { + ha = function (la, qa) { Ka(qa, function () { - var Ba, + var Aa, sa, - oa, + na, W; - Ba = ma.keypairid; - sa = ma.mechanism; - oa = ma.publickey; - if (!Ba || "string" !== typeof Ba || !sa || !oa || "string" !== typeof oa) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(ma)); + Aa = la.keypairid; + sa = la.mechanism; + na = la.publickey; + if (!Aa || "string" !== typeof Aa || !sa || !na || "string" !== typeof na) + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(la)); if (!Z[sa]) - throw new Pb(U.UNIDENTIFIED_KEYX_MECHANISM, sa); + throw new Pb(T.UNIDENTIFIED_KEYX_MECHANISM, sa); try { - W = Fb(oa); + W = Fb(na); switch (sa) { case Z.JWE_RSA: case Z.JWEJS_RSA: case Z.JWK_RSA: Yd(W, xd, Jc, { result: function (aa) { - qa.result(new ba(Ba, sa, aa, null)); + qa.result(new ba(Aa, sa, aa, null)); }, error: function (aa) { qa.error(aa); @@ -6452,7 +6462,7 @@ a000.D9b = function () { case Z.JWK_RSAES: Yd(W, Wd, Jc, { result: function (aa) { - qa.result(new ba(Ba, sa, aa, null)); + qa.result(new ba(Aa, sa, aa, null)); }, error: function (aa) { qa.error(aa); @@ -6460,21 +6470,21 @@ a000.D9b = function () { }); break; default: - throw new tb(U.UNSUPPORTED_KEYX_MECHANISM, sa); + throw new tb(T.UNSUPPORTED_KEYX_MECHANISM, sa); } } catch (aa) { if (!(aa instanceof bb)) - throw new tb(U.INVALID_PUBLIC_KEY, "keydata " + JSON.stringify(ma), aa); + throw new tb(T.INVALID_PUBLIC_KEY, "keydata " + JSON.stringify(la), aa); throw aa; } }); }; - ea = Ue = jd.extend({ - init: function W(qa, Ba, sa, oa) { + da = Ue = jd.extend({ + init: function W(qa, Aa, sa, na) { W.base.call(this, qa, lc.ASYMMETRIC_WRAPPED); Object.defineProperties(this, { keyPairId: { - value: Ba, + value: Aa, writable: !1, configurable: !1 }, @@ -6484,7 +6494,7 @@ a000.D9b = function () { configurable: !1 }, hmacKey: { - value: oa, + value: na, writable: !1, configurable: !1 } @@ -6498,48 +6508,48 @@ a000.D9b = function () { qa.hmackey = Db(this.hmacKey); return qa; }, - equals: function sa(Ba) { - return this === Ba ? !0 : Ba instanceof Ue ? sa.base.call(this, Ba) && this.keyPairId == Ba.keyPairId && Xb(this.encryptionKey, Ba.encryptionKey) && Xb(this.hmacKey, Ba.hmacKey) : !1; + equals: function sa(Aa) { + return this === Aa ? !0 : Aa instanceof Ue ? sa.base.call(this, Aa) && this.keyPairId == Aa.keyPairId && Xb(this.encryptionKey, Aa.encryptionKey) && Xb(this.hmacKey, Aa.hmacKey) : !1; }, uniqueKey: function sa() { return sa.base.call(this) + ":" + this.keyPairId + ":" + gc(this.encryptionKey) + ":" + gc(this.hmacKey); } }); Ae = oc.extend({ - init: function oa() { - oa.base.call(this, lc.ASYMMETRIC_WRAPPED); + init: function na() { + na.base.call(this, lc.ASYMMETRIC_WRAPPED); }, - createRequestData: function (oa, W, aa) { + createRequestData: function (na, W, aa) { ha(W, aa); }, - createResponseData: function (oa, W, aa) { + createResponseData: function (na, W, aa) { var ca, - ka, + ja, Ga, - Ea; - oa = aa.keypairid; + Ca; + na = aa.keypairid; ca = aa.encryptionkey; - ka = aa.hmackey; - if (!oa || "string" !== typeof oa || !ca || "string" !== typeof ca || !ka || "string" !== typeof ka) - throw new xb(U.JSON_PARSE_ERROR, "keydata " + JSON.stringify(aa)); + ja = aa.hmackey; + if (!na || "string" !== typeof na || !ca || "string" !== typeof ca || !ja || "string" !== typeof ja) + throw new xb(T.JSON_PARSE_ERROR, "keydata " + JSON.stringify(aa)); try { Ga = Fb(ca); } catch (Pa) { - throw new tb(U.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(aa), Pa); + throw new tb(T.INVALID_ENCRYPTION_KEY, "keydata " + JSON.stringify(aa), Pa); } try { - Ea = Fb(ka); + Ca = Fb(ja); } catch (Pa) { - throw new tb(U.INVALID_HMAC_KEY, "keydata " + JSON.stringify(aa), Pa); + throw new tb(T.INVALID_HMAC_KEY, "keydata " + JSON.stringify(aa), Pa); } - return new ea(W, oa, Ga, Ea); + return new da(W, na, Ga, Ca); }, - generateResponse: function (oa, W, aa, ca) { - var Ea; - function ka(Pa, Ra) { + generateResponse: function (na, W, aa, ca) { + var Ca; + function ja(Pa, Ra) { Ka(ca, function () { var ia; - ia = fa(oa, W.keyPairId, W.mechanism, null, W.publicKey); + ia = fa(na, W.keyPairId, W.mechanism, null, W.publicKey); ia.wrap(Pa, { result: function (ua) { Ka(ca, function () { @@ -6551,104 +6561,104 @@ a000.D9b = function () { Ka(ca, function () { xa instanceof bb && aa instanceof ic && xa.setEntity(aa); throw xa; - }, Ea); + }, Ca); } }); - }, Ea); + }, Ca); }, error: function (ua) { Ka(ca, function () { ua instanceof bb && aa instanceof ic && ua.setEntity(aa); throw ua; - }, Ea); + }, Ca); } }); - }, Ea); + }, Ca); } function Ga(Pa, Ra, ia, ua) { Ka(ca, function () { var xa; - xa = oa.getTokenFactory(); - aa instanceof ic ? xa.renewMasterToken(oa, aa, Pa, ia, { + xa = na.getTokenFactory(); + aa instanceof ic ? xa.renewMasterToken(na, aa, Pa, ia, { result: function (Ha) { Ka(ca, function () { - var Aa, + var za, Oa; - Aa = new jc(oa, Ha); - Oa = new ea(Ha, W.keyPairId, Ra, ua); - return new oc.KeyExchangeData(Oa, Aa, ca); - }, Ea); + za = new jc(na, Ha); + Oa = new da(Ha, W.keyPairId, Ra, ua); + return new oc.KeyExchangeData(Oa, za, ca); + }, Ca); }, error: function (Ha) { Ka(ca, function () { Ha instanceof bb && Ha.setEntity(aa); throw Ha; - }, Ea); + }, Ca); } - }) : xa.createMasterToken(oa, aa, Pa, ia, { + }) : xa.createMasterToken(na, aa, Pa, ia, { result: function (Ha) { Ka(ca, function () { - var Aa, + var za, Oa; - Aa = new jc(oa, Ha); - Oa = new ea(Ha, W.keyPairId, Ra, ua); - return new oc.KeyExchangeData(Oa, Aa, ca); - }, Ea); + za = new jc(na, Ha); + Oa = new da(Ha, W.keyPairId, Ra, ua); + return new oc.KeyExchangeData(Oa, za, ca); + }, Ca); }, error: ca.error }); - }, Ea); + }, Ca); } - Ea = this; + Ca = this; Ka(ca, function () { if (!(W instanceof ba)) throw new vb("Key request data " + JSON.stringify(W) + " was not created by this factory."); - this.generateSessionKeys(oa, { + this.generateSessionKeys(na, { result: function (Pa) { - ka(Pa.encryptionKey, Pa.hmacKey); + ja(Pa.encryptionKey, Pa.hmacKey); }, error: function (Pa) { Ka(ca, function () { Pa instanceof bb && aa instanceof ic && Pa.setEntity(aa); throw Pa; - }, Ea); + }, Ca); } }); - }, Ea); + }, Ca); }, - getCryptoContext: function (oa, W, aa, ca, ka) { + getCryptoContext: function (na, W, aa, ca, ja) { var Ga; Ga = this; - Ka(ka, function () { - var Ea, + Ka(ja, function () { + var Ca, Pa, Ra; if (!(W instanceof ba)) throw new vb("Key request data " + JSON.stringify(W) + " was not created by this factory."); - if (!(aa instanceof ea)) + if (!(aa instanceof da)) throw new vb("Key response data " + JSON.stringify(aa) + " was not created by this factory."); - Ea = W.keyPairId; + Ca = W.keyPairId; Pa = aa.keyPairId; - if (Ea != Pa) - throw new Pb(U.KEYX_RESPONSE_REQUEST_MISMATCH, "request " + Ea + "; response " + Pa).setEntity(ca); + if (Ca != Pa) + throw new Pb(T.KEYX_RESPONSE_REQUEST_MISMATCH, "request " + Ca + "; response " + Pa).setEntity(ca); Pa = W.privateKey; if (!Pa) - throw new Pb(U.KEYX_PRIVATE_KEY_MISSING, "request Asymmetric private key").setEntity(ca); - Ra = fa(oa, Ea, W.mechanism, Pa, null); + throw new Pb(T.KEYX_PRIVATE_KEY_MISSING, "request Asymmetric private key").setEntity(ca); + Ra = fa(na, Ca, W.mechanism, Pa, null); Ra.unwrap(aa.encryptionKey, rc, Ic, { result: function (ia) { Ra.unwrap(aa.hmacKey, sc, Sc, { result: function (ua) { - oa.getEntityAuthenticationData(null, { + na.getEntityAuthenticationData(null, { result: function (xa) { - Ka(ka, function () { + Ka(ja, function () { var Ha; Ha = xa.getIdentity(); - return new jc(oa, aa.masterToken, Ha, ia, ua); + return new jc(na, aa.masterToken, Ha, ia, ua); }, Ga); }, error: function (xa) { - Ka(ka, function () { + Ka(ja, function () { xa instanceof bb && xa.setEntity(ca); throw xa; }, Ga); @@ -6656,7 +6666,7 @@ a000.D9b = function () { }); }, error: function (ua) { - Ka(ka, function () { + Ka(ja, function () { ua instanceof bb && ua.setEntity(ca); throw ua; }, Ga); @@ -6664,7 +6674,7 @@ a000.D9b = function () { }); }, error: function (ia) { - Ka(ka, function () { + Ka(ja, function () { ia instanceof bb && ia.setEntity(ca); throw ia; }, Ga); @@ -6679,42 +6689,42 @@ a000.D9b = function () { var Z, ba, ha, - ea, + da, S, - Y, - pa, - ma; + X, + oa, + la; Z = Yb.parser(); ba = []; ha = []; - pa = 0; - ma = !1; + oa = 0; + la = !1; Z.onerror = function (qa) { - ma || (ma = !0, Z.end()); + la || (la = !0, Z.end()); }; Z.onopenobject = function (qa) { - var Ba; - if (ea) - (ea[Y] = {}, ha.push(ea), ea = ea[Y]); + var Aa; + if (da) + (da[X] = {}, ha.push(da), da = da[X]); else if (S) { - Ba = {}; + Aa = {}; ha.push(S); - S.push(Ba); - ea = Ba; + S.push(Aa); + da = Aa; S = Ab; } else - ea = {}; - Y = qa; + da = {}; + X = qa; }; Z.oncloseobject = function () { var qa; qa = ha.pop(); - qa ? "object" === typeof qa ? ea = qa : (ea = Ab, S = qa) : (ba.push(ea), pa = Z.index, ea = Ab); + qa ? "object" === typeof qa ? da = qa : (da = Ab, S = qa) : (ba.push(da), oa = Z.index, da = Ab); }; Z.onopenarray = function () { var qa; - if (ea) - (ea[Y] = [], ha.push(ea), S = ea[Y], ea = Ab); + if (da) + (da[X] = [], ha.push(da), S = da[X], da = Ab); else if (S) { qa = []; ha.push(S); @@ -6726,13 +6736,13 @@ a000.D9b = function () { Z.onclosearray = function () { var qa; qa = ha.pop(); - qa ? "object" === typeof qa ? (ea = qa, S = Ab) : S = qa : (ba.push(S), pa = Z.index, S = Ab); + qa ? "object" === typeof qa ? (da = qa, S = Ab) : S = qa : (ba.push(S), oa = Z.index, S = Ab); }; Z.onkey = function (qa) { - Y = qa; + X = qa; }; Z.onvalue = function (qa) { - ea ? ea[Y] = qa : S ? S.push(qa) : (ba.push(qa), pa = Z.index); + da ? da[X] = qa : S ? S.push(qa) : (ba.push(qa), oa = Z.index); }; Z.write(fa).close(); Object.defineProperties(this, { @@ -6743,7 +6753,7 @@ a000.D9b = function () { configurable: !1 }, _lastIndex: { - value: pa, + value: oa, writable: !0, enumerable: !1, configurable: !1 @@ -6765,50 +6775,50 @@ a000.D9b = function () { Z, ba, ha, - ea; + da; fa = ie = "entityauthdata"; Z = We = "mastertoken"; ba = Xe = "headerdata"; ha = Ye = "errordata"; - ea = je = "signature"; - Ve = function (S, Y, pa, ma) { - Ka(ma, function () { + da = je = "signature"; + Ve = function (S, X, oa, la) { + Ka(la, function () { var qa, - Ba, + Aa, sa, - oa, + na, W, aa; - qa = Y[fa]; - Ba = Y[Z]; - sa = Y[ea]; - if (qa && "object" !== typeof qa || Ba && "object" !== typeof Ba || "string" !== typeof sa) - throw new xb(U.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(Y)); + qa = X[fa]; + Aa = X[Z]; + sa = X[da]; + if (qa && "object" !== typeof qa || Aa && "object" !== typeof Aa || "string" !== typeof sa) + throw new xb(T.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(X)); try { - oa = Fb(sa); + na = Fb(sa); } catch (ca) { - throw new Ib(U.HEADER_SIGNATURE_INVALID, "header/errormsg " + JSON.stringify(Y), ca); + throw new Ib(T.HEADER_SIGNATURE_INVALID, "header/errormsg " + JSON.stringify(X), ca); } W = null; qa && (W = Je(S, qa)); - aa = Y[ba]; + aa = X[ba]; if (aa != Ab && null != aa) { if ("string" !== typeof aa) - throw new xb(U.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(Y)); - Ba ? Tc(S, Ba, { + throw new xb(T.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(X)); + Aa ? Tc(S, Aa, { result: function (ca) { - ke(S, aa, W, ca, oa, pa, ma); + ke(S, aa, W, ca, na, oa, la); }, error: function (ca) { - ma.error(ca); + la.error(ca); } - }) : ke(S, aa, W, null, oa, pa, ma); - } else if ((qa = Y[ha], qa != Ab && null != qa)) { + }) : ke(S, aa, W, null, na, oa, la); + } else if ((qa = X[ha], qa != Ab && null != qa)) { if ("string" !== typeof qa) - throw new xb(U.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(Y)); - Ze(S, qa, W, oa, ma); + throw new xb(T.JSON_PARSE_ERROR, "header/errormsg " + JSON.stringify(X)); + Ze(S, qa, W, na, la); } else - throw new xb(U.JSON_PARSE_ERROR, JSON.stringify(Y)); + throw new xb(T.JSON_PARSE_ERROR, JSON.stringify(X)); }); }; })(); @@ -6818,17 +6828,17 @@ a000.D9b = function () { this.signature = ba; } Nc = Bb.Class.create({ - init: function (Z, ba, ha, ea, S, Y, pa, ma, qa, Ba) { + init: function (Z, ba, ha, da, S, X, oa, la, qa, Aa) { var sa; sa = this; - Ka(Ba, function () { - var oa, + Ka(Aa, function () { + var na, W; - 0 > Y && (Y = -1); - if (0 > ea || ea > Mb) - throw new vb("Message ID " + ea + " is out of range."); + 0 > X && (X = -1); + if (0 > da || da > Mb) + throw new vb("Message ID " + da + " is out of range."); if (!ba) - throw new Ib(U.MESSAGE_ENTITY_NOT_FOUND); + throw new Ib(T.MESSAGE_ENTITY_NOT_FOUND); if (qa) return (Object.defineProperties(this, { entityAuthenticationData: { @@ -6842,7 +6852,7 @@ a000.D9b = function () { configurable: !1 }, messageId: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -6852,17 +6862,17 @@ a000.D9b = function () { configurable: !1 }, internalCode: { - value: Y, + value: X, writable: !1, configurable: !1 }, errorMessage: { - value: pa, + value: oa, writable: !1, configurable: !1 }, userMessage: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -6879,25 +6889,25 @@ a000.D9b = function () { configurable: !1 } }), this); - oa = {}; - ha && (oa.recipient = ha); - oa.messageid = ea; - oa.errorcode = S; - 0 < Y && (oa.internalcode = Y); - pa && (oa.errormsg = pa); - ma && (oa.usermsg = ma); + na = {}; + ha && (na.recipient = ha); + na.messageid = da; + na.errorcode = S; + 0 < X && (na.internalcode = X); + oa && (na.errormsg = oa); + la && (na.usermsg = la); try { W = Z.getEntityAuthenticationFactory(ba.scheme).getCryptoContext(Z, ba); } catch (aa) { - throw (aa instanceof bb && (aa.setEntity(ba), aa.setMessageId(ea)), aa); + throw (aa instanceof bb && (aa.setEntity(ba), aa.setMessageId(da)), aa); } - oa = Sb(JSON.stringify(oa), Lb); - W.encrypt(oa, { + na = Sb(JSON.stringify(na), Lb); + W.encrypt(na, { result: function (aa) { - Ka(Ba, function () { + Ka(Aa, function () { W.sign(aa, { result: function (ca) { - Ka(Ba, function () { + Ka(Aa, function () { Object.defineProperties(this, { entityAuthenticationData: { value: ba, @@ -6910,7 +6920,7 @@ a000.D9b = function () { configurable: !1 }, messageId: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -6920,17 +6930,17 @@ a000.D9b = function () { configurable: !1 }, internalCode: { - value: Y, + value: X, writable: !1, configurable: !1 }, errorMessage: { - value: pa, + value: oa, writable: !1, configurable: !1 }, userMessage: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -6951,8 +6961,8 @@ a000.D9b = function () { }, sa); }, error: function (ca) { - Ka(Ba, function () { - ca instanceof bb && (ca.setEntity(ba), ca.setMessageId(ea)); + Ka(Aa, function () { + ca instanceof bb && (ca.setEntity(ba), ca.setMessageId(da)); throw ca; }, sa); } @@ -6960,8 +6970,8 @@ a000.D9b = function () { }, sa); }, error: function (aa) { - Ka(Ba, function () { - aa instanceof bb && (aa.setEntity(ba), aa.setMessageId(ea)); + Ka(Aa, function () { + aa instanceof bb && (aa.setEntity(ba), aa.setMessageId(da)); throw aa; }, sa); } @@ -6977,87 +6987,87 @@ a000.D9b = function () { return Z; } }); - $e = function (Z, ba, ha, ea, S, Y, pa, ma, qa) { - new Nc(Z, ba, ha, ea, S, Y, pa, ma, null, qa); + $e = function (Z, ba, ha, da, S, X, oa, la, qa) { + new Nc(Z, ba, ha, da, S, X, oa, la, null, qa); }; - Ze = function (Z, ba, ha, ea, S) { + Ze = function (Z, ba, ha, da, S) { Ka(S, function () { - var Y, - pa, - ma; + var X, + oa, + la; if (!ha) - throw new Ib(U.MESSAGE_ENTITY_NOT_FOUND); + throw new Ib(T.MESSAGE_ENTITY_NOT_FOUND); try { - Y = ha.scheme; - pa = Z.getEntityAuthenticationFactory(Y); - if (!pa) - throw new wc(U.ENTITYAUTH_FACTORY_NOT_FOUND, Y); - ma = pa.getCryptoContext(Z, ha); + X = ha.scheme; + oa = Z.getEntityAuthenticationFactory(X); + if (!oa) + throw new wc(T.ENTITYAUTH_FACTORY_NOT_FOUND, X); + la = oa.getCryptoContext(Z, ha); } catch (qa) { throw (qa instanceof bb && qa.setEntity(ha), qa); } try { ba = Fb(ba); } catch (qa) { - throw new Ib(U.HEADER_DATA_INVALID, ba, qa).setEntity(ha); + throw new Ib(T.HEADER_DATA_INVALID, ba, qa).setEntity(ha); } if (!ba || 0 == ba.length) - throw new Ib(U.HEADER_DATA_MISSING, ba).setEntity(ha); - ma.verify(ba, ea, { + throw new Ib(T.HEADER_DATA_MISSING, ba).setEntity(ha); + la.verify(ba, da, { result: function (qa) { Ka(S, function () { if (!qa) - throw new tb(U.MESSAGE_VERIFICATION_FAILED).setEntity(ha); - ma.decrypt(ba, { - result: function (Ba) { + throw new tb(T.MESSAGE_VERIFICATION_FAILED).setEntity(ha); + la.decrypt(ba, { + result: function (Aa) { Ka(S, function () { var sa, - oa, + na, W, aa, ca, - ka, + ja, Ga, - Ea; - sa = Tb(Ba, Lb); + Ca; + sa = Tb(Aa, Lb); try { - oa = JSON.parse(sa); + na = JSON.parse(sa); } catch (Ra) { if (Ra instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "errordata " + sa, Ra).setEntity(ha); + throw new xb(T.JSON_PARSE_ERROR, "errordata " + sa, Ra).setEntity(ha); throw Ra; } - W = oa.recipient !== Ab ? oa.recipient : null; - aa = parseInt(oa.messageid); - ca = parseInt(oa.errorcode); - ka = parseInt(oa.internalcode); - Ga = oa.errormsg; - Ea = oa.usermsg; - if (W && "string" !== typeof W || !aa || aa != aa || !ca || ca != ca || oa.internalcode && ka != ka || Ga && "string" !== typeof Ga || Ea && "string" !== typeof Ea) - throw new xb(U.JSON_PARSE_ERROR, "errordata " + sa).setEntity(ha); + W = na.recipient !== Ab ? na.recipient : null; + aa = parseInt(na.messageid); + ca = parseInt(na.errorcode); + ja = parseInt(na.internalcode); + Ga = na.errormsg; + Ca = na.usermsg; + if (W && "string" !== typeof W || !aa || aa != aa || !ca || ca != ca || na.internalcode && ja != ja || Ga && "string" !== typeof Ga || Ca && "string" !== typeof Ca) + throw new xb(T.JSON_PARSE_ERROR, "errordata " + sa).setEntity(ha); if (0 > aa || aa > Mb) - throw new Ib(U.MESSAGE_ID_OUT_OF_RANGE, "errordata " + sa).setEntity(ha); - oa = !1; + throw new Ib(T.MESSAGE_ID_OUT_OF_RANGE, "errordata " + sa).setEntity(ha); + na = !1; for (var Pa in Ja) { if (Ja[Pa] == ca) { - oa = !0; + na = !0; break; } } - oa || (ca = Ja.FAIL); - if (ka) { - if (0 > ka) - throw new Ib(U.INTERNAL_CODE_NEGATIVE, "errordata " + sa).setEntity(ha).setMessageId(aa); + na || (ca = Ja.FAIL); + if (ja) { + if (0 > ja) + throw new Ib(T.INTERNAL_CODE_NEGATIVE, "errordata " + sa).setEntity(ha).setMessageId(aa); } else - ka = -1; - sa = new fa(ba, ea); - new Nc(Z, ha, W, aa, ca, ka, Ga, Ea, sa, S); + ja = -1; + sa = new fa(ba, da); + new Nc(Z, ha, W, aa, ca, ja, Ga, Ca, sa, S); }); }, - error: function (Ba) { + error: function (Aa) { Ka(S, function () { - Ba instanceof bb && Ba.setEntity(ha); - throw Ba; + Aa instanceof bb && Aa.setEntity(ha); + throw Aa; }); } }); @@ -7082,15 +7092,15 @@ a000.D9b = function () { if (!fa || !Z) return null; ba = fa.compressionAlgorithms.filter(function (ha) { - for (var ea = 0; ea < Z.compressionAlgorithms.length; ++ea) { - if (ha == Z.compressionAlgorithms[ea]) + for (var da = 0; da < Z.compressionAlgorithms.length; ++da) { + if (ha == Z.compressionAlgorithms[da]) return !0; } return !1; }); fa = fa.languages.filter(function (ha) { - for (var ea = 0; ea < Z.languages.length; ++ea) { - if (ha == Z.languages[ea]) + for (var da = 0; da < Z.languages.length; ++da) { + if (ha == Z.languages[da]) return !0; } return !1; @@ -7134,30 +7144,30 @@ a000.D9b = function () { af = function (fa) { var Z, ba, - ea; + da; Z = fa.compressionalgos; ba = fa.languages; if (Z && !(Z instanceof Array) || ba && !(ba instanceof Array)) - throw new xb(U.JSON_PARSE_ERROR, "capabilities " + JSON.stringify(fa)); + throw new xb(T.JSON_PARSE_ERROR, "capabilities " + JSON.stringify(fa)); fa = []; for (var ha = 0; Z && ha < Z.length; ++ha) { - ea = Z[ha]; - Pc[ea] && fa.push(ea); + da = Z[ha]; + Pc[da] && fa.push(da); } return new kd(fa, ba); }; })(); (function () { - var Ba, + var Aa, sa; - function fa(oa, W, aa, ca, ka) { - this.customer = oa; + function fa(na, W, aa, ca, ja) { + this.customer = na; this.sender = W; this.messageCryptoContext = aa; this.headerdata = ca; - this.signature = ka; + this.signature = ja; } - function Z(oa, W, aa, ca, ka, Ga, Ea, Pa, Ra, ia, ua, xa, Ha, Aa, Oa, Da, Wa, Ya, Xa, hb) { + function Z(na, W, aa, ca, ja, Ga, Ca, Pa, Ra, ia, ua, xa, Ha, za, Oa, Da, Wa, Ya, Xa, hb) { return { cryptoContext: { value: W, @@ -7175,7 +7185,7 @@ a000.D9b = function () { configurable: !1 }, masterToken: { - value: ka, + value: ja, writable: !1, configurable: !1 }, @@ -7185,7 +7195,7 @@ a000.D9b = function () { configurable: !1 }, messageId: { - value: Ea, + value: Ca, writable: !1, configurable: !1 }, @@ -7225,7 +7235,7 @@ a000.D9b = function () { configurable: !1 }, peerUserIdToken: { - value: Aa, + value: za, writable: !1, configurable: !1 }, @@ -7259,86 +7269,86 @@ a000.D9b = function () { } }; } - function ba(oa, W, aa) { + function ba(na, W, aa) { var ca; if (aa) { - if (W = oa.getMslStore().getCryptoContext(aa)) + if (W = na.getMslStore().getCryptoContext(aa)) return W; if (!aa.isVerified() || !aa.isDecrypted()) - throw new Rc(U.MASTERTOKEN_UNTRUSTED, aa); - return new jc(oa, aa); + throw new Rc(T.MASTERTOKEN_UNTRUSTED, aa); + return new jc(na, aa); } aa = W.scheme; - ca = oa.getEntityAuthenticationFactory(aa); + ca = na.getEntityAuthenticationFactory(aa); if (!ca) - throw new wc(U.ENTITYAUTH_FACTORY_NOT_FOUND, aa); - return ca.getCryptoContext(oa, W); + throw new wc(T.ENTITYAUTH_FACTORY_NOT_FOUND, aa); + return ca.getCryptoContext(na, W); } - function ha(oa, W, aa, ca, ka) { - Ka(ka, function () { + function ha(na, W, aa, ca, ja) { + Ka(ja, function () { W.verify(aa, ca, { result: function (Ga) { - Ka(ka, function () { + Ka(ja, function () { if (!Ga) - throw new tb(U.MESSAGE_VERIFICATION_FAILED); + throw new tb(T.MESSAGE_VERIFICATION_FAILED); W.decrypt(aa, { - result: function (Ea) { - Ka(ka, function () { - return Tb(Ea, Lb); + result: function (Ca) { + Ka(ja, function () { + return Tb(Ca, Lb); }); }, - error: function (Ea) { - ka.error(Ea); + error: function (Ca) { + ja.error(Ca); } }); }); }, error: function (Ga) { - ka.error(Ga); + ja.error(Ga); } }); }); } - function ea(oa, W, aa) { + function da(na, W, aa) { Ka(aa, function () { if (W) - Qe(oa, W, aa); + Qe(na, W, aa); else return null; }); } - function S(oa, W, aa, ca) { + function S(na, W, aa, ca) { Ka(ca, function () { if (W) - Uc(oa, W, aa, ca); + Uc(na, W, aa, ca); else return null; }); } - function Y(oa, W, aa, ca) { + function X(na, W, aa, ca) { Ka(ca, function () { if (aa) - ef(oa, W, aa, ca); + ef(na, W, aa, ca); else return null; }); } - function pa(oa, W, aa, ca, ka, Ga, Ea) { + function oa(na, W, aa, ca, ja, Ga, Ca) { var Ra; function Pa(ia, ua, xa) { var Ha, - Aa; + za; if (ua >= ia.length) { Ha = []; - for (Aa in Ra) { - Ha.push(Ra[Aa]); + for (za in Ra) { + Ha.push(Ra[za]); } xa.result(Ha); } else { Ha = ia[ua]; if ("object" !== typeof Ha) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + Ga); - Hd(oa, Ha, aa, ca, ka, { + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + Ga); + Hd(na, Ha, aa, ca, ja, { result: function (Oa) { Ka(xa, function () { Ra[Oa.uniqueKey()] = Oa; @@ -7352,22 +7362,22 @@ a000.D9b = function () { } } Ra = {}; - Ka(Ea, function () { + Ka(Ca, function () { if (W) { if (!(W instanceof Array)) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + Ga); - Pa(W, 0, Ea); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + Ga); + Pa(W, 0, Ca); } else return []; }); } - function ma(oa, W, aa, ca, ka, Ga) { - function Ea(Ra, ia, ua) { + function la(na, W, aa, ca, ja, Ga) { + function Ca(Ra, ia, ua) { Ka(ua, function () { var xa; xa = ia.peermastertoken; if (xa && "object" !== typeof xa) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ka); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ja); if (!xa) return null; Tc(Ra, xa, ua); @@ -7378,28 +7388,28 @@ a000.D9b = function () { var Ha; Ha = ia.peeruseridtoken; if (Ha && "object" !== typeof Ha) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ka); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ja); if (!Ha) return null; Uc(Ra, Ha, ua, xa); }); } Ka(Ga, function () { - if (!oa.isPeerToPeer()) + if (!na.isPeerToPeer()) return { peerMasterToken: null, peerUserIdToken: null, peerServiceTokens: [] }; - Ea(oa, W, { + Ca(na, W, { result: function (Ra) { Ka(Ga, function () { var ia; ia = aa ? aa.masterToken : Ra; - Pa(oa, W, ia, { + Pa(na, W, ia, { result: function (ua) { Ka(Ga, function () { - pa(oa, W.peerservicetokens, ia, ua, ca, ka, { + oa(na, W.peerservicetokens, ia, ua, ca, ja, { result: function (xa) { Ka(Ga, function () { return { @@ -7431,17 +7441,17 @@ a000.D9b = function () { }); }); } - function qa(oa, W, aa, ca) { + function qa(na, W, aa, ca) { var Ga; - function ka(Ea, Pa) { + function ja(Ca, Pa) { Ka(ca, function () { - if (Pa >= Ea.length) + if (Pa >= Ca.length) return Ga; - Pe(oa, Ea[Pa], { + Pe(na, Ca[Pa], { result: function (Ra) { Ka(ca, function () { Ga.push(Ra); - ka(Ea, Pa + 1); + ja(Ca, Pa + 1); }); }, error: function (Ra) { @@ -7452,20 +7462,20 @@ a000.D9b = function () { } Ga = []; Ka(ca, function () { - var Ea; - Ea = W.keyrequestdata; - if (!Ea) + var Ca; + Ca = W.keyrequestdata; + if (!Ca) return Ga; - if (!(Ea instanceof Array)) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + aa); - ka(Ea, 0); + if (!(Ca instanceof Array)) + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + aa); + ja(Ca, 0); }); } - Ba = cf = Bb.Class.create({ - init: function (oa, W, aa, ca, ka, Ga, Ea, Pa, Ra) { + Aa = cf = Bb.Class.create({ + init: function (na, W, aa, ca, ja, Ga, Ca, Pa, Ra) { Object.defineProperties(this, { messageId: { - value: oa, + value: na, writable: !1, configurable: !1 }, @@ -7485,7 +7495,7 @@ a000.D9b = function () { configurable: !1 }, keyRequestData: { - value: ka, + value: ja, writable: !1, configurable: !1 }, @@ -7495,7 +7505,7 @@ a000.D9b = function () { configurable: !1 }, userAuthData: { - value: Ea, + value: Ca, writable: !1, configurable: !1 }, @@ -7513,10 +7523,10 @@ a000.D9b = function () { } }); sa = df = Bb.Class.create({ - init: function (oa, W, aa) { + init: function (na, W, aa) { Object.defineProperties(this, { peerMasterToken: { - value: oa, + value: na, writable: !1, configurable: !1 }, @@ -7534,14 +7544,14 @@ a000.D9b = function () { } }); ld = Bb.Class.create({ - init: function (oa, W, aa, ca, ka, Ga, Ea) { + init: function (na, W, aa, ca, ja, Ga, Ca) { var Ra; function Pa(ia) { - Ka(Ea, function () { + Ka(Ca, function () { var ua, xa, Ha, - Aa, + za, Oa, Da, Wa, @@ -7554,28 +7564,28 @@ a000.D9b = function () { sb, zb, wb, - q; + r; W = aa ? null : W; ua = ca.nonReplayableId; xa = ca.renewable; Ha = ca.capabilities; - Aa = ca.messageId; + za = ca.messageId; Oa = ca.keyRequestData ? ca.keyRequestData : []; Da = ca.keyResponseData; Wa = ca.userAuthData; Ya = ca.userIdToken; Xa = ca.serviceTokens ? ca.serviceTokens : []; - if (oa.isPeerToPeer()) { - hb = ka.peerMasterToken; - lb = ka.peerUserIdToken; - ob = ka.peerServiceTokens ? ka.peerServiceTokens : []; + if (na.isPeerToPeer()) { + hb = ja.peerMasterToken; + lb = ja.peerUserIdToken; + ob = ja.peerServiceTokens ? ja.peerServiceTokens : []; } else (lb = hb = null, ob = []); - if (0 > Aa || Aa > Mb) - throw new vb("Message ID " + Aa + " is out of range."); + if (0 > za || za > Mb) + throw new vb("Message ID " + za + " is out of range."); if (!W && !aa) throw new vb("Message entity authentication data or master token must be provided."); if (Da) { - if (oa.isPeerToPeer()) { + if (na.isPeerToPeer()) { rb = aa; sb = Da.masterToken; } else (rb = Da.masterToken, sb = hb); @@ -7597,16 +7607,16 @@ a000.D9b = function () { throw new vb("User ID token bound peer service tokens must be bound to the provided peer user ID token."); }, this); if (Ga) { - q = Ga.customer; + r = Ga.customer; zb = Ga.messageCryptoContext; - wb = Z(oa, zb, q, W, aa, ia, Aa, Oa, Da, Wa, Ya, Xa, hb, lb, ob, ua, xa, Ha, Ga.headerdata, Ga.signature); + wb = Z(na, zb, r, W, aa, ia, za, Oa, Da, Wa, Ya, Xa, hb, lb, ob, ua, xa, Ha, Ga.headerdata, Ga.signature); Object.defineProperties(this, wb); return this; } - q = Ya ? Ya.customer : null; + r = Ya ? Ya.customer : null; wb = {}; ia && (wb.sender = ia); - wb.messageid = Aa; + wb.messageid = za; "number" === typeof ua && (wb.nonreplayableid = ua); wb.renewable = xa; Ha && (wb.capabilities = Ha); @@ -7619,26 +7629,26 @@ a000.D9b = function () { lb && (wb.peeruseridtoken = lb); 0 < ob.length && (wb.peerservicetokens = ob); try { - zb = ba(oa, W, aa); + zb = ba(na, W, aa); } catch (b) { - throw (b instanceof bb && (b.setEntity(aa), b.setEntity(W), b.setUser(Ya), b.setUser(Wa), b.setMessageId(Aa)), b); + throw (b instanceof bb && (b.setEntity(aa), b.setEntity(W), b.setUser(Ya), b.setUser(Wa), b.setMessageId(za)), b); } wb = Sb(JSON.stringify(wb), Lb); zb.encrypt(wb, { result: function (b) { - Ka(Ea, function () { + Ka(Ca, function () { zb.sign(b, { result: function (a) { - Ka(Ea, function () { + Ka(Ca, function () { var c; - c = Z(oa, zb, q, W, aa, ia, Aa, Oa, Da, Wa, Ya, Xa, hb, lb, ob, ua, xa, Ha, b, a); + c = Z(na, zb, r, W, aa, ia, za, Oa, Da, Wa, Ya, Xa, hb, lb, ob, ua, xa, Ha, b, a); Object.defineProperties(this, c); return this; }, Ra); }, error: function (a) { - Ka(Ea, function () { - a instanceof bb && (a.setEntity(aa), a.setEntity(W), a.setUser(Ya), a.setUser(Wa), a.setMessageId(Aa)); + Ka(Ca, function () { + a instanceof bb && (a.setEntity(aa), a.setEntity(W), a.setUser(Ya), a.setUser(Wa), a.setMessageId(za)); throw a; }, Ra); } @@ -7646,8 +7656,8 @@ a000.D9b = function () { }, Ra); }, error: function (b) { - Ka(Ea, function () { - b instanceof bb && (b.setEntity(aa), b.setEntity(W), b.setUser(Ya), b.setUser(Wa), b.setMessageId(Aa)); + Ka(Ca, function () { + b instanceof bb && (b.setEntity(aa), b.setEntity(W), b.setUser(Ya), b.setUser(Wa), b.setMessageId(za)); throw b; }, Ra); } @@ -7655,13 +7665,13 @@ a000.D9b = function () { }, Ra); } Ra = this; - Ka(Ea, function () { - Ga ? Pa(Ga.sender) : aa ? oa.getEntityAuthenticationData(null, { + Ka(Ca, function () { + Ga ? Pa(Ga.sender) : aa ? na.getEntityAuthenticationData(null, { result: function (ia) { ia = ia.getIdentity(); Pa(ia); }, - error: Ea.error + error: Ca.error }) : Pa(null); }, Ra); }, @@ -7672,65 +7682,65 @@ a000.D9b = function () { return this.renewable; }, toJSON: function () { - var oa; - oa = {}; - this.masterToken ? oa[We] = this.masterToken : oa[ie] = this.entityAuthenticationData; - oa[Xe] = Db(this.headerdata); - oa[je] = Db(this.signature); - return oa; + var na; + na = {}; + this.masterToken ? na[We] = this.masterToken : na[ie] = this.entityAuthenticationData; + na[Xe] = Db(this.headerdata); + na[je] = Db(this.signature); + return na; } }); - bf = function (oa, W, aa, ca, ka, Ga) { - new ld(oa, W, aa, ca, ka, null, Ga); + bf = function (na, W, aa, ca, ja, Ga) { + new ld(na, W, aa, ca, ja, null, Ga); }; - ke = function (oa, W, aa, ca, ka, Ga, Ea) { - Ka(Ea, function () { + ke = function (na, W, aa, ca, ja, Ga, Ca) { + Ka(Ca, function () { var Pa, Ra; aa = ca ? null : aa; if (!aa && !ca) - throw new Ib(U.MESSAGE_ENTITY_NOT_FOUND); + throw new Ib(T.MESSAGE_ENTITY_NOT_FOUND); Pa = W; try { W = Fb(Pa); } catch (ia) { - throw new Ib(U.HEADER_DATA_INVALID, Pa, ia); + throw new Ib(T.HEADER_DATA_INVALID, Pa, ia); } if (!W || 0 == W.length) - throw new Ib(U.HEADER_DATA_MISSING, Pa); + throw new Ib(T.HEADER_DATA_MISSING, Pa); try { - Ra = ba(oa, aa, ca); + Ra = ba(na, aa, ca); } catch (ia) { throw (ia instanceof bb && (ia.setEntity(ca), ia.setEntity(aa)), ia); } - ha(oa, Ra, W, ka, { + ha(na, Ra, W, ja, { result: function (ia) { - Ka(Ea, function () { + Ka(Ca, function () { var ua, xa, Ha, - Aa, + za, Oa; try { ua = JSON.parse(ia); } catch (Da) { if (Da instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia, Da).setEntity(ca).setEntity(aa); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia, Da).setEntity(ca).setEntity(aa); throw Da; } xa = parseInt(ua.messageid); if (!xa || xa != xa) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa); if (0 > xa || xa > Mb) - throw new Ib(U.MESSAGE_ID_OUT_OF_RANGE, "headerdata " + ia).setEntity(ca).setEntity(aa); + throw new Ib(T.MESSAGE_ID_OUT_OF_RANGE, "headerdata " + ia).setEntity(ca).setEntity(aa); Ha = ca ? ua.sender : null; if (ca && (!Ha || "string" !== typeof Ha)) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa).setMessageId(xa); - Aa = ua.keyresponsedata; - if (Aa && "object" !== typeof Aa) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa).setMessageId(xa); - Oa = Ea; - Ea = { + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa).setMessageId(xa); + za = ua.keyresponsedata; + if (za && "object" !== typeof za) + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia).setEntity(ca).setEntity(aa).setMessageId(xa); + Oa = Ca; + Ca = { result: function (Da) { Oa.result(Da); }, @@ -7739,62 +7749,62 @@ a000.D9b = function () { Oa.error(Da); } }; - ea(oa, Aa, { + da(na, za, { result: function (Da) { - Ka(Ea, function () { + Ka(Ca, function () { var Wa, Ya; - Wa = !oa.isPeerToPeer() && Da ? Da.masterToken : ca; + Wa = !na.isPeerToPeer() && Da ? Da.masterToken : ca; Ya = ua.useridtoken; if (Ya && "object" !== typeof Ya) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia); - S(oa, Ya, Wa, { + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia); + S(na, Ya, Wa, { result: function (Xa) { - Ka(Ea, function () { + Ka(Ca, function () { var hb; hb = ua.userauthdata; if (hb && "object" !== typeof hb) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia); - Y(oa, Wa, hb, { + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia); + X(na, Wa, hb, { result: function (lb) { - Ka(Ea, function () { + Ka(Ca, function () { var ob, rb, sb; if (lb) { ob = lb.scheme; - rb = oa.getUserAuthenticationFactory(ob); + rb = na.getUserAuthenticationFactory(ob); if (!rb) - throw new Gb(U.USERAUTH_FACTORY_NOT_FOUND, ob).setUser(Xa).setUser(lb); + throw new Gb(T.USERAUTH_FACTORY_NOT_FOUND, ob).setUser(Xa).setUser(lb); ob = ca ? ca.identity : aa.getIdentity(); - sb = rb.authenticate(oa, ob, lb, Xa); + sb = rb.authenticate(na, ob, lb, Xa); } else sb = Xa ? Xa.customer : null; - pa(oa, ua.servicetokens, Wa, Xa, Ga, ia, { + oa(na, ua.servicetokens, Wa, Xa, Ga, ia, { result: function (zb) { - Ka(Ea, function () { + Ka(Ca, function () { var wb, - q, + r, b, a; wb = ua.nonreplayableid !== Ab ? parseInt(ua.nonreplayableid) : null; - q = ua.renewable; - if (wb != wb || "boolean" !== typeof q) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia); + r = ua.renewable; + if (wb != wb || "boolean" !== typeof r) + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia); if (0 > wb || wb > Mb) - throw new Ib(U.NONREPLAYABLE_ID_OUT_OF_RANGE, "headerdata " + ia); + throw new Ib(T.NONREPLAYABLE_ID_OUT_OF_RANGE, "headerdata " + ia); b = null; a = ua.capabilities; if (a) { if ("object" !== typeof a) - throw new xb(U.JSON_PARSE_ERROR, "headerdata " + ia); + throw new xb(T.JSON_PARSE_ERROR, "headerdata " + ia); b = af(a); } - qa(oa, ua, ia, { + qa(na, ua, ia, { result: function (c) { - ma(oa, ua, Da, Ga, ia, { + la(na, ua, Da, Ga, ia, { result: function (f) { - Ka(Ea, function () { + Ka(Ca, function () { var k, l, d, @@ -7802,17 +7812,17 @@ a000.D9b = function () { k = f.peerMasterToken; l = f.peerUserIdToken; d = f.peerServiceTokens; - g = new Ba(xa, wb, q, b, c, Da, lb, Xa, zb); + g = new Aa(xa, wb, r, b, c, Da, lb, Xa, zb); k = new sa(k, l, d); - l = new fa(sb, Ha, Ra, W, ka); - new ld(oa, aa, ca, g, k, l, Ea); + l = new fa(sb, Ha, Ra, W, ja); + new ld(na, aa, ca, g, k, l, Ca); }); }, - error: Ea.error + error: Ca.error }); }, error: function (c) { - Ka(Ea, function () { + Ka(Ca, function () { c instanceof bb && (c.setUser(Xa), c.setUser(lb)); throw c; }); @@ -7821,7 +7831,7 @@ a000.D9b = function () { }); }, error: function (zb) { - Ka(Ea, function () { + Ka(Ca, function () { zb instanceof bb && (zb.setEntity(Wa), zb.setUser(Xa), zb.setUser(lb)); throw zb; }); @@ -7829,19 +7839,19 @@ a000.D9b = function () { }); }); }, - error: Ea.error + error: Ca.error }); }); }, - error: Ea.error + error: Ca.error }); }); }, - error: Ea.error + error: Ca.error }); }); }, - error: Ea.error + error: Ca.error }); }); }; @@ -7852,17 +7862,17 @@ a000.D9b = function () { this.signature = ba; } me = Bb.Class.create({ - init: function (Z, ba, ha, ea, S, Y, pa, ma) { + init: function (Z, ba, ha, da, S, X, oa, la) { var qa; qa = this; - Ka(ma, function () { - var Ba, + Ka(la, function () { + var Aa, sa; if (0 > Z || Z > Mb) throw new vb("Sequence number " + Z + " is outside the valid range."); if (0 > ba || ba > Mb) throw new vb("Message ID " + ba + " is outside the valid range."); - if (pa) + if (oa) return (Object.defineProperties(this, { sequenceNumber: { value: Z, @@ -7875,7 +7885,7 @@ a000.D9b = function () { configurable: !1 }, compressionAlgo: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -7891,35 +7901,35 @@ a000.D9b = function () { configurable: !1 }, payload: { - value: pa.payload, + value: oa.payload, writable: !1, enumerable: !1, configurable: !1 }, signature: { - value: pa.signature, + value: oa.signature, writable: !1, enumerable: !1, configurable: !1 } }), this); - if (ea) { - Ba = ne(ea, S); - Ba || (ea = null, Ba = S); - } else (ea = null, Ba = S); + if (da) { + Aa = ne(da, S); + Aa || (da = null, Aa = S); + } else (da = null, Aa = S); sa = {}; sa.sequencenumber = Z; sa.messageid = ba; ha && (sa.endofmsg = ha); - ea && (sa.compressionalgo = ea); - sa.data = Db(Ba); - Ba = Sb(JSON.stringify(sa), Lb); - Y.encrypt(Ba, { - result: function (oa) { - Ka(ma, function () { - Y.sign(oa, { + da && (sa.compressionalgo = da); + sa.data = Db(Aa); + Aa = Sb(JSON.stringify(sa), Lb); + X.encrypt(Aa, { + result: function (na) { + Ka(la, function () { + X.sign(na, { result: function (W) { - Ka(ma, function () { + Ka(la, function () { Object.defineProperties(this, { sequenceNumber: { value: Z, @@ -7932,7 +7942,7 @@ a000.D9b = function () { configurable: !1 }, compressionAlgo: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -7948,7 +7958,7 @@ a000.D9b = function () { configurable: !1 }, payload: { - value: oa, + value: na, writable: !1, enumerable: !1, configurable: !1 @@ -7964,13 +7974,13 @@ a000.D9b = function () { }, qa); }, error: function (W) { - ma.error(W); + la.error(W); } }); }, qa); }, - error: function (oa) { - ma.error(oa); + error: function (na) { + la.error(na); } }); }, qa); @@ -7986,83 +7996,83 @@ a000.D9b = function () { return Z; } }); - ff = function (Z, ba, ha, ea, S, Y, pa) { - new me(Z, ba, ha, ea, S, Y, null, pa); + ff = function (Z, ba, ha, da, S, X, oa) { + new me(Z, ba, ha, da, S, X, null, oa); }; gf = function (Z, ba, ha) { Ka(ha, function () { - var ea, + var da, S, - Y, - pa; - ea = Z.payload; + X, + oa; + da = Z.payload; S = Z.signature; - if (!ea || "string" !== typeof ea || "string" !== typeof S) - throw new xb(U.JSON_PARSE_ERROR, "payload chunk " + JSON.stringify(Z)); + if (!da || "string" !== typeof da || "string" !== typeof S) + throw new xb(T.JSON_PARSE_ERROR, "payload chunk " + JSON.stringify(Z)); try { - Y = Fb(ea); - } catch (ma) { - throw new Ib(U.PAYLOAD_INVALID, "payload chunk " + JSON.stringify(Z), ma); + X = Fb(da); + } catch (la) { + throw new Ib(T.PAYLOAD_INVALID, "payload chunk " + JSON.stringify(Z), la); } try { - pa = Fb(S); - } catch (ma) { - throw new Ib(U.PAYLOAD_SIGNATURE_INVALID, "payload chunk " + JSON.stringify(Z), ma); + oa = Fb(S); + } catch (la) { + throw new Ib(T.PAYLOAD_SIGNATURE_INVALID, "payload chunk " + JSON.stringify(Z), la); } - ba.verify(Y, pa, { - result: function (ma) { + ba.verify(X, oa, { + result: function (la) { Ka(ha, function () { - if (!ma) - throw new tb(U.PAYLOAD_VERIFICATION_FAILED); - ba.decrypt(Y, { + if (!la) + throw new tb(T.PAYLOAD_VERIFICATION_FAILED); + ba.decrypt(X, { result: function (qa) { Ka(ha, function () { - var Ba, + var Aa, sa, - oa, + na, W, aa, ca, - ka; - Ba = Tb(qa, Lb); + ja; + Aa = Tb(qa, Lb); try { - sa = JSON.parse(Ba); + sa = JSON.parse(Aa); } catch (Ga) { if (Ga instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "payload chunk payload " + Ba, Ga); + throw new xb(T.JSON_PARSE_ERROR, "payload chunk payload " + Aa, Ga); throw Ga; } - oa = parseInt(sa.sequencenumber); + na = parseInt(sa.sequencenumber); W = parseInt(sa.messageid); aa = sa.endofmsg; ca = sa.compressionalgo; sa = sa.data; - if (!oa || oa != oa || !W || W != W || aa && "boolean" !== typeof aa || ca && "string" !== typeof ca || "string" !== typeof sa) - throw new xb(U.JSON_PARSE_ERROR, "payload chunk payload " + Ba); - if (0 > oa || oa > Mb) - throw new bb(U.PAYLOAD_SEQUENCE_NUMBER_OUT_OF_RANGE, "payload chunk payload " + Ba); + if (!na || na != na || !W || W != W || aa && "boolean" !== typeof aa || ca && "string" !== typeof ca || "string" !== typeof sa) + throw new xb(T.JSON_PARSE_ERROR, "payload chunk payload " + Aa); + if (0 > na || na > Mb) + throw new bb(T.PAYLOAD_SEQUENCE_NUMBER_OUT_OF_RANGE, "payload chunk payload " + Aa); if (0 > W || W > Mb) - throw new bb(U.PAYLOAD_MESSAGE_ID_OUT_OF_RANGE, "payload chunk payload " + Ba); + throw new bb(T.PAYLOAD_MESSAGE_ID_OUT_OF_RANGE, "payload chunk payload " + Aa); aa || (aa = !1); if (ca && !Pc[ca]) - throw new Ib(U.UNIDENTIFIED_COMPRESSION, ca); + throw new Ib(T.UNIDENTIFIED_COMPRESSION, ca); try { - ka = Fb(sa); + ja = Fb(sa); } catch (Ga) { - throw new Ib(U.PAYLOAD_DATA_CORRUPT, sa, Ga); + throw new Ib(T.PAYLOAD_DATA_CORRUPT, sa, Ga); } - if (ka && 0 != ka.length) - Ba = ca ? Id(ca, ka) : ka; + if (ja && 0 != ja.length) + Aa = ca ? Id(ca, ja) : ja; else { if (0 < sa.length) - throw new Ib(U.PAYLOAD_DATA_CORRUPT, sa); + throw new Ib(T.PAYLOAD_DATA_CORRUPT, sa); if (aa) - Ba = new Uint8Array(0); + Aa = new Uint8Array(0); else - throw new Ib(U.PAYLOAD_DATA_MISSING, sa); + throw new Ib(T.PAYLOAD_DATA_MISSING, sa); } - ka = new fa(Y, pa); - new me(oa, W, aa, ca, Ba, ba, ka, ha); + ja = new fa(X, oa); + new me(na, W, aa, ca, Aa, ba, ja, ha); }); }, error: function (qa) { @@ -8071,8 +8081,8 @@ a000.D9b = function () { }); }); }, - error: function (ma) { - ha.error(ma); + error: function (la) { + ha.error(la); } }); }); @@ -8080,99 +8090,99 @@ a000.D9b = function () { })(); (function () { var ha, - ea; - function fa(S, Y, pa, ma, qa) { + da; + function fa(S, X, oa, la, qa) { var sa, - oa, + na, W, aa, ca; - function Ba() { + function Aa() { Ka(qa, function () { - var ka, + var ja, Ga; - oa >= Y.length && (oa = 0, ++sa); + na >= X.length && (na = 0, ++sa); if (sa >= W.length) { if (aa) throw aa; - throw new Pb(U.KEYX_FACTORY_NOT_FOUND, JSON.stringify(Y)); + throw new Pb(T.KEYX_FACTORY_NOT_FOUND, JSON.stringify(X)); } - ka = W[sa]; - Ga = Y[oa]; - ka.scheme != Ga.keyExchangeScheme ? (++oa, Ba()) : ka.generateResponse(S, Ga, ca, { - result: function (Ea) { - qa.result(Ea); + ja = W[sa]; + Ga = X[na]; + ja.scheme != Ga.keyExchangeScheme ? (++na, Aa()) : ja.generateResponse(S, Ga, ca, { + result: function (Ca) { + qa.result(Ca); }, - error: function (Ea) { + error: function (Ca) { Ka(qa, function () { - if (!(Ea instanceof bb)) - throw Ea; - aa = Ea; - ++oa; - Ba(); + if (!(Ca instanceof bb)) + throw Ca; + aa = Ca; + ++na; + Aa(); }); } }); }); } sa = 0; - oa = 0; + na = 0; W = S.getKeyExchangeFactories(); - ca = pa ? pa : ma; - Ba(); + ca = oa ? oa : la; + Aa(); } - function Z(S, Y, pa, ma, qa) { + function Z(S, X, oa, la, qa) { Ka(qa, function () { - var Ba; - Ba = Y.keyRequestData; - if (Y.isRenewable() && 0 < Ba.length) - ma ? ma.isRenewable() || ma.isExpired() ? fa(S, Ba, ma, null, qa) : S.getTokenFactory().isNewestMasterToken(S, ma, { + var Aa; + Aa = X.keyRequestData; + if (X.isRenewable() && 0 < Aa.length) + la ? la.isRenewable() || la.isExpired() ? fa(S, Aa, la, null, qa) : S.getTokenFactory().isNewestMasterToken(S, la, { result: function (sa) { Ka(qa, function () { if (sa) return null; - fa(S, Ba, ma, null, qa); + fa(S, Aa, la, null, qa); }); }, error: qa.error - }) : fa(S, Ba, null, pa.getIdentity(), qa); + }) : fa(S, Aa, null, oa.getIdentity(), qa); else return null; }); } - function ba(S, Y, pa, ma) { - Ka(ma, function () { + function ba(S, X, oa, la) { + Ka(la, function () { var qa, - Ba, + Aa, sa, - oa; - qa = Y.userIdToken; - Ba = Y.userAuthenticationData; - sa = Y.messageId; + na; + qa = X.userIdToken; + Aa = X.userAuthenticationData; + sa = X.messageId; if (qa && qa.isVerified()) { - if (qa.isRenewable() && Y.isRenewable() || qa.isExpired() || !qa.isBoundTo(pa)) { - Ba = S.getTokenFactory(); - Ba.renewUserIdToken(S, qa, pa, ma); + if (qa.isRenewable() && X.isRenewable() || qa.isExpired() || !qa.isBoundTo(oa)) { + Aa = S.getTokenFactory(); + Aa.renewUserIdToken(S, qa, oa, la); return; } - } else if (Y.isRenewable() && pa && Ba) { - qa = Y.customer; + } else if (X.isRenewable() && oa && Aa) { + qa = X.customer; if (!qa) { - qa = Ba.scheme; - oa = S.getUserAuthenticationFactory(qa); - if (!oa) - throw new Gb(U.USERAUTH_FACTORY_NOT_FOUND, qa).setEntity(pa).setUser(Ba).setMessageId(sa); - qa = oa.authenticate(S, pa.identity, Ba, null); - } - Ba = S.getTokenFactory(); - Ba.createUserIdToken(S, qa, pa, ma); + qa = Aa.scheme; + na = S.getUserAuthenticationFactory(qa); + if (!na) + throw new Gb(T.USERAUTH_FACTORY_NOT_FOUND, qa).setEntity(oa).setUser(Aa).setMessageId(sa); + qa = na.authenticate(S, oa.identity, Aa, null); + } + Aa = S.getTokenFactory(); + Aa.createUserIdToken(S, qa, oa, la); return; } return qa; }); } ha = new Uint8Array(0); - ea = Vc = function (S) { + da = Vc = function (S) { if (0 > S || S > Mb) throw new vb("Message ID " + S + " is outside the valid range."); return S == Mb ? 0 : S + 1; @@ -8182,22 +8192,22 @@ a000.D9b = function () { throw new vb("Message ID " + S + " is outside the valid range."); return 0 == S ? Mb : S - 1; }; - Wc = function (S, Y, pa, ma, qa) { + Wc = function (S, X, oa, la, qa) { Ka(qa, function () { - var Ba; - if (ma == Ab || null == ma) { - Ba = S.getRandom(); + var Aa; + if (la == Ab || null == la) { + Aa = S.getRandom(); do { - ma = Ba.nextLong(); - } while (0 > ma || ma > Mb); - } else if (0 > ma || ma > Mb) - throw new vb("Message ID " + ma + " is outside the valid range."); + la = Aa.nextLong(); + } while (0 > la || la > Mb); + } else if (0 > la || la > Mb) + throw new vb("Message ID " + la + " is outside the valid range."); S.getEntityAuthenticationData(null, { result: function (sa) { Ka(qa, function () { - var oa; - oa = S.getMessageCapabilities(); - return new Jd(S, ma, oa, sa, Y, pa, null, null, null, null, null); + var na; + na = S.getMessageCapabilities(); + return new Jd(S, la, na, sa, X, oa, null, null, null, null, null); }); }, error: function (sa) { @@ -8206,108 +8216,108 @@ a000.D9b = function () { }); }); }; - hf = function (S, Y, pa) { - Ka(pa, function () { + hf = function (S, X, oa) { + Ka(oa, function () { var qa, - Ba, + Aa, sa, - oa, + na, W, aa; - function ma(ca) { - Ka(pa, function () { - ca instanceof bb && (ca.setEntity(qa), ca.setEntity(Ba), ca.setUser(sa), ca.setUser(oa), ca.setMessageId(W)); + function la(ca) { + Ka(oa, function () { + ca instanceof bb && (ca.setEntity(qa), ca.setEntity(Aa), ca.setUser(sa), ca.setUser(na), ca.setMessageId(W)); throw ca; }); } - qa = Y.masterToken; - Ba = Y.entityAuthenticationData; - sa = Y.userIdToken; - oa = Y.userAuthenticationData; - W = Y.messageId; - aa = ea(W); - Z(S, Y, Ba, qa, { + qa = X.masterToken; + Aa = X.entityAuthenticationData; + sa = X.userIdToken; + na = X.userAuthenticationData; + W = X.messageId; + aa = da(W); + Z(S, X, Aa, qa, { result: function (ca) { - Ka(pa, function () { - var ka; - ka = ca ? ca.keyResponseData.masterToken : ka = qa; + Ka(oa, function () { + var ja; + ja = ca ? ca.keyResponseData.masterToken : ja = qa; S.getEntityAuthenticationData(null, { result: function (Ga) { - Ka(pa, function () { - ba(S, Y, ka, { - result: function (Ea) { - Ka(pa, function () { + Ka(oa, function () { + ba(S, X, ja, { + result: function (Ca) { + Ka(oa, function () { var Pa, Ra, ia; - sa = Ea; - Pa = le(Y.messageCapabilities, S.getMessageCapabilities()); - Ra = Y.keyResponseData; - ia = Y.serviceTokens; - return S.isPeerToPeer() ? new Jd(S, aa, Pa, Ga, Ra ? Ra.masterToken : Y.peerMasterToken, Y.peerUserIdToken, Y.peerServiceTokens, qa, sa, ia, ca) : new Jd(S, aa, Pa, Ga, Ra ? Ra.masterToken : qa, sa, ia, null, null, null, ca); + sa = Ca; + Pa = le(X.messageCapabilities, S.getMessageCapabilities()); + Ra = X.keyResponseData; + ia = X.serviceTokens; + return S.isPeerToPeer() ? new Jd(S, aa, Pa, Ga, Ra ? Ra.masterToken : X.peerMasterToken, X.peerUserIdToken, X.peerServiceTokens, qa, sa, ia, ca) : new Jd(S, aa, Pa, Ga, Ra ? Ra.masterToken : qa, sa, ia, null, null, null, ca); }); }, - error: ma + error: la }); }); }, - error: ma + error: la }); }); }, - error: ma + error: la }); }); }; - jf = function (S, Y, pa, ma, qa) { + jf = function (S, X, oa, la, qa) { Ka(qa, function () { S.getEntityAuthenticationData(null, { - result: function (Ba) { + result: function (Aa) { Ka(qa, function () { var sa, - oa; - if (Y != Ab && null != Y) - sa = ea(Y); + na; + if (X != Ab && null != X) + sa = da(X); else { - oa = S.getRandom(); + na = S.getRandom(); do { - sa = oa.nextInt(); + sa = na.nextInt(); } while (0 > sa || sa > Mb); } - $e(S, Ba, sa, pa.responseCode, pa.internalCode, pa.message, ma, qa); + $e(S, Aa, sa, oa.responseCode, oa.internalCode, oa.message, la, qa); }); }, - error: function (Ba) { - qa.error(Ba); + error: function (Aa) { + qa.error(Aa); } }); }); }; Jd = Bb.Class.create({ - init: function (S, Y, pa, ma, qa, Ba, sa, oa, W, aa, ca) { - var ka, + init: function (S, X, oa, la, qa, Aa, sa, na, W, aa, ca) { + var ja, Ga, - Ea, + Ca, Pa, Ra; - if (!S.isPeerToPeer() && (oa || W)) + if (!S.isPeerToPeer() && (na || W)) throw new vb("Cannot set peer master token or peer user ID token when not in peer-to-peer mode."); - ka = ca && !S.isPeerToPeer() ? ca.keyResponseData.masterToken : qa; + ja = ca && !S.isPeerToPeer() ? ca.keyResponseData.masterToken : qa; Ga = []; - ka = S.getMslStore().getServiceTokens(ka, Ba); - Ga.push.apply(Ga, ka); + ja = S.getMslStore().getServiceTokens(ja, Aa); + Ga.push.apply(Ga, ja); sa && sa.forEach(function (ia) { Ga.push(ia); }, this); - Ea = []; + Ca = []; if (S.isPeerToPeer()) { - Pa = oa; + Pa = na; Ra = W; - sa = ca ? ca.keyResponseData.masterToken : oa; + sa = ca ? ca.keyResponseData.masterToken : na; W = S.getMslStore().getServiceTokens(sa, W); - Ea.push.apply(Ea, W); + Ca.push.apply(Ca, W); aa && aa.forEach(function (ia) { - Ea.push(ia); + Ca.push(ia); }, this); } Object.defineProperties(this, { @@ -8318,7 +8328,7 @@ a000.D9b = function () { configurable: !1 }, _entityAuthData: { - value: ma, + value: la, writable: !1, enumerable: !1, configurable: !1 @@ -8330,13 +8340,13 @@ a000.D9b = function () { configurable: !1 }, _messageId: { - value: Y, + value: X, writable: !1, enumerable: !1, configurable: !1 }, _capabilities: { - value: pa, + value: oa, writable: !1, enumerable: !1, configurable: !1 @@ -8372,7 +8382,7 @@ a000.D9b = function () { configurable: !1 }, _userIdToken: { - value: Ba, + value: Aa, writable: !0, enumerable: !1, configurable: !1 @@ -8396,7 +8406,7 @@ a000.D9b = function () { configurable: !1 }, _peerServiceTokens: { - value: Ea, + value: Ca, writable: !1, enumerable: !1, configurable: !1 @@ -8429,23 +8439,23 @@ a000.D9b = function () { }, getHeader: function (S) { Ka(S, function () { - var Y, - pa, - ma; - Y = this._keyExchangeData ? this._keyExchangeData.keyResponseData : null; - pa = []; - for (ma in this._keyRequestData) { - pa.push(this._keyRequestData[ma]); + var X, + oa, + la; + X = this._keyExchangeData ? this._keyExchangeData.keyResponseData : null; + oa = []; + for (la in this._keyRequestData) { + oa.push(this._keyRequestData[la]); } if (this._nonReplayable) { if (!this._masterToken) - throw new Ib(U.NONREPLAYABLE_MESSAGE_REQUIRES_MASTERTOKEN); - ma = this._ctx.getMslStore().getNonReplayableId(this._masterToken); + throw new Ib(T.NONREPLAYABLE_MESSAGE_REQUIRES_MASTERTOKEN); + la = this._ctx.getMslStore().getNonReplayableId(this._masterToken); } else - ma = null; - Y = new cf(this._messageId, ma, this._renewable, this._capabilities, pa, Y, this._userAuthData, this._userIdToken, this._serviceTokens); - pa = new df(this._peerMasterToken, this._peerUserIdToken, this._peerServiceTokens); - bf(this._ctx, this._entityAuthData, this._masterToken, Y, pa, S); + la = null; + X = new cf(this._messageId, la, this._renewable, this._capabilities, oa, X, this._userAuthData, this._userIdToken, this._serviceTokens); + oa = new df(this._peerMasterToken, this._peerUserIdToken, this._peerServiceTokens); + bf(this._ctx, this._entityAuthData, this._masterToken, X, oa, S); }, this); }, isNonReplayable: function () { @@ -8462,57 +8472,57 @@ a000.D9b = function () { this._renewable = S; return this; }, - setAuthTokens: function (S, Y) { - var pa, + setAuthTokens: function (S, X) { + var oa, qa; - if (Y && !Y.isBoundTo(S)) + if (X && !X.isBoundTo(S)) throw new vb("User ID token must be bound to master token."); if (this._keyExchangeData && !this._ctx.isPeerToPeer()) throw new vb("Attempt to set message builder master token when key exchange data exists as a trusted network server."); try { - pa = this._ctx.getMslStore().getServiceTokens(S, Y); - } catch (Ba) { - if (Ba instanceof bb) - throw new vb("Invalid master token and user ID token combination despite checking above.", Ba); - throw Ba; + oa = this._ctx.getMslStore().getServiceTokens(S, X); + } catch (Aa) { + if (Aa instanceof bb) + throw new vb("Invalid master token and user ID token combination despite checking above.", Aa); + throw Aa; } - for (var ma = this._serviceTokens.length - 1; 0 <= ma; --ma) { - qa = this._serviceTokens[ma]; - (qa.isUserIdTokenBound() && !qa.isBoundTo(Y) || qa.isMasterTokenBound() && !qa.isBoundTo(S)) && this._serviceTokens.splice(ma, 1); + for (var la = this._serviceTokens.length - 1; 0 <= la; --la) { + qa = this._serviceTokens[la]; + (qa.isUserIdTokenBound() && !qa.isBoundTo(X) || qa.isMasterTokenBound() && !qa.isBoundTo(S)) && this._serviceTokens.splice(la, 1); } - pa.forEach(function (Ba) { - this.excludeServiceToken(Ba.name, Ba.isMasterTokenBound(), Ba.isUserIdTokenBound()); - this._serviceTokens.push(Ba); + oa.forEach(function (Aa) { + this.excludeServiceToken(Aa.name, Aa.isMasterTokenBound(), Aa.isUserIdTokenBound()); + this._serviceTokens.push(Aa); }, this); this._masterToken = S; - this._userIdToken = Y; + this._userIdToken = X; }, setUserAuthenticationData: function (S) { this._userAuthData = S; return this; }, - setCustomer: function (S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma; + setCustomer: function (S, X) { + var oa; + oa = this; + Ka(X, function () { + var la; if (!this._ctx.isPeerToPeer() && null != this._userIdToken || this._ctx.isPeerToPeer() && null != this._peerUserIdToken) throw new vb("User ID token or peer user ID token already exists for the remote user."); - ma = this._keyExchangeData ? this._keyExchangeData.keyResponseData.masterToken : this._ctx.isPeerToPeer() ? this._peerMasterToken : this._masterToken; - if (!ma) + la = this._keyExchangeData ? this._keyExchangeData.keyResponseData.masterToken : this._ctx.isPeerToPeer() ? this._peerMasterToken : this._masterToken; + if (!la) throw new vb("User ID token or peer user ID token cannot be created because no corresponding master token exists."); - this._ctx.getTokenFactory().createUserIdToken(this._ctx, S, ma, { + this._ctx.getTokenFactory().createUserIdToken(this._ctx, S, la, { result: function (qa) { - Ka(Y, function () { + Ka(X, function () { this._ctx.isPeerToPeer() ? this._peerUserIdToken = qa : (this._userIdToken = qa, this._userAuthData = null); return !0; - }, pa); + }, oa); }, error: function (qa) { - Y.error(qa); + X.error(qa); } }); - }, pa); + }, oa); }, addKeyRequestData: function (S) { this._keyRequestData[S.uniqueKey()] = S; @@ -8523,21 +8533,21 @@ a000.D9b = function () { return this; }, addServiceToken: function (S) { - var Y; - Y = this._keyExchangeData && !this._ctx.isPeerToPeer() ? this._keyExchangeData.keyResponseData.masterToken : this._masterToken; - if (S.isMasterTokenBound() && !S.isBoundTo(Y)) - throw new Ib(U.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; mt " + JSON.stringify(Y)).setEntity(Y); + var X; + X = this._keyExchangeData && !this._ctx.isPeerToPeer() ? this._keyExchangeData.keyResponseData.masterToken : this._masterToken; + if (S.isMasterTokenBound() && !S.isBoundTo(X)) + throw new Ib(T.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; mt " + JSON.stringify(X)).setEntity(X); if (S.isUserIdTokenBound() && !S.isBoundTo(this._userIdToken)) - throw new Ib(U.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; uit " + JSON.stringify(this._userIdToken)).setEntity(Y).setUser(this._userIdToken); + throw new Ib(T.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; uit " + JSON.stringify(this._userIdToken)).setEntity(X).setUser(this._userIdToken); this.excludeServiceToken(S.name, S.isMasterTokenBound(), S.isUserIdTokenBound()); this._serviceTokens.push(S); return this; }, addServiceTokenIfAbsent: function (S) { - var pa; - for (var Y = this._serviceTokens.length - 1; 0 <= Y; --Y) { - pa = this._serviceTokens[Y]; - if (pa.name == S.name && pa.isMasterTokenBound() == S.isMasterTokenBound() && pa.isUserIdTokenBound() == S.isUserIdTokenBound()) + var oa; + for (var X = this._serviceTokens.length - 1; 0 <= X; --X) { + oa = this._serviceTokens[X]; + if (oa.name == S.name && oa.isMasterTokenBound() == S.isMasterTokenBound() && oa.isUserIdTokenBound() == S.isUserIdTokenBound()) return this; } this.addServiceToken(S); @@ -8545,51 +8555,51 @@ a000.D9b = function () { }, excludeServiceToken: function () { var S, - Y, - pa, + X, + oa, qa; if (1 == arguments.length) { S = arguments[0]; - Y = S.name; - pa = S.isMasterTokenBound(); + X = S.name; + oa = S.isMasterTokenBound(); S = S.isUserIdTokenBound(); - } else (arguments.length = 3, Y = arguments[0], pa = arguments[1], S = arguments[2]); - for (var ma = this._serviceTokens.length - 1; 0 <= ma; --ma) { - qa = this._serviceTokens[ma]; - qa.name == Y && qa.isMasterTokenBound() == pa && qa.isUserIdTokenBound() == S && this._serviceTokens.splice(ma, 1); + } else (arguments.length = 3, X = arguments[0], oa = arguments[1], S = arguments[2]); + for (var la = this._serviceTokens.length - 1; 0 <= la; --la) { + qa = this._serviceTokens[la]; + qa.name == X && qa.isMasterTokenBound() == oa && qa.isUserIdTokenBound() == S && this._serviceTokens.splice(la, 1); } return this; }, deleteServiceToken: function () { var S, - Y, - pa, - ma; + X, + oa, + la; if (2 == arguments.length) { S = arguments[0]; - Y = S.name; + X = S.name; S.isMasterTokenBound(); S.isUserIdTokenBound(); - pa = arguments[1]; - } else (arguments.length = 4, Y = arguments[0], pa = arguments[3]); - ma = this; - Ka(pa, function () { + oa = arguments[1]; + } else (arguments.length = 4, X = arguments[0], oa = arguments[3]); + la = this; + Ka(oa, function () { var qa, - Ba; + Aa; qa = originalToken.isMasterTokenBound() ? this._masterToken : null; - Ba = originalToken.isUserIdTokenBound() ? this._userIdToken : null; - Cc(this._ctx, Y, ha, qa, Ba, !1, null, new bd(), { + Aa = originalToken.isUserIdTokenBound() ? this._userIdToken : null; + Cc(this._ctx, X, ha, qa, Aa, !1, null, new bd(), { result: function (sa) { - Ka(pa, function () { + Ka(oa, function () { return this.addServiceToken(sa); - }, ma); + }, la); }, error: function (sa) { sa instanceof bb && (sa = new vb("Failed to create and add empty service token to message.", sa)); - pa.error(sa); + oa.error(sa); } }); - }, ma); + }, la); }, getServiceTokens: function () { var S; @@ -8603,31 +8613,31 @@ a000.D9b = function () { getPeerUserIdToken: function () { return this._peerUserIdToken; }, - setPeerAuthTokens: function (S, Y) { - var pa, + setPeerAuthTokens: function (S, X) { + var oa, qa; if (!this._ctx.isPeerToPeer()) throw new vb("Cannot set peer master token or peer user ID token when not in peer-to-peer mode."); - if (Y && !S) + if (X && !S) throw new vb("Peer master token cannot be null when setting peer user ID token."); - if (Y && !Y.isBoundTo(S)) - throw new Ib(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit " + Y + "; mt " + S).setEntity(S).setUser(Y); + if (X && !X.isBoundTo(S)) + throw new Ib(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit " + X + "; mt " + S).setEntity(S).setUser(X); try { - pa = this._ctx.getMslStore().getServiceTokens(S, Y); - } catch (Ba) { - if (Ba instanceof bb) - throw new vb("Invalid peer master token and user ID token combination despite proper check.", Ba); - throw Ba; + oa = this._ctx.getMslStore().getServiceTokens(S, X); + } catch (Aa) { + if (Aa instanceof bb) + throw new vb("Invalid peer master token and user ID token combination despite proper check.", Aa); + throw Aa; } - for (var ma = this._peerServiceTokens.length - 1; 0 <= ma; --ma) { - qa = this._peerServiceTokens[ma]; - (qa.isUserIdTokenBound() && !qa.isBoundTo(Y) || qa.isMasterTokenBound() && !qa.isBoundTo(S)) && this._peerServiceTokens.slice(ma, 1); + for (var la = this._peerServiceTokens.length - 1; 0 <= la; --la) { + qa = this._peerServiceTokens[la]; + (qa.isUserIdTokenBound() && !qa.isBoundTo(X) || qa.isMasterTokenBound() && !qa.isBoundTo(S)) && this._peerServiceTokens.slice(la, 1); } - pa.forEach(function (Ba) { - this.excludePeerServiceToken(Ba.name, Ba.isMasterTokenBound(), Ba.isUserIdTokenBound()); - this._peerServiceTokens.push(Ba); + oa.forEach(function (Aa) { + this.excludePeerServiceToken(Aa.name, Aa.isMasterTokenBound(), Aa.isUserIdTokenBound()); + this._peerServiceTokens.push(Aa); }, this); - this._peerUserIdToken = Y; + this._peerUserIdToken = X; this._peerMasterToken = S; return this; }, @@ -8635,18 +8645,18 @@ a000.D9b = function () { if (!this._ctx.isPeerToPeer()) throw new vb("Cannot set peer service tokens when not in peer-to-peer mode."); if (S.isMasterTokenBound() && !S.isBoundTo(this._peerMasterToken)) - throw new Ib(U.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; mt " + JSON.stringify(this._peerMasterToken)).setEntity(this._peerMasterToken); + throw new Ib(T.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; mt " + JSON.stringify(this._peerMasterToken)).setEntity(this._peerMasterToken); if (S.isUserIdTokenBound() && !S.isBoundTo(this._peerUserIdToken)) - throw new Ib(U.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; uit " + JSON.stringify(this._peerUserIdToken)).setEntity(this._peerMasterToken).setUser(this._peerUserIdToken); + throw new Ib(T.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st " + JSON.stringify(S) + "; uit " + JSON.stringify(this._peerUserIdToken)).setEntity(this._peerMasterToken).setUser(this._peerUserIdToken); this.excludePeerServiceToken(S.name, S.isMasterTokenBound(), S.isUserIdTokenBound()); this._peerServiceTokens.push(S); return this; }, addPeerServiceTokenIfAbsent: function (S) { - var pa; - for (var Y = this._peerServiceTokens.length - 1; 0 <= Y; --Y) { - pa = this._peerServiceTokens[Y]; - if (pa.name == S.name && pa.isMasterTokenBound() == S.isMasterTokenBound() && pa.isUserIdTokenBound() == S.isUserIdTokenBound()) + var oa; + for (var X = this._peerServiceTokens.length - 1; 0 <= X; --X) { + oa = this._peerServiceTokens[X]; + if (oa.name == S.name && oa.isMasterTokenBound() == S.isMasterTokenBound() && oa.isUserIdTokenBound() == S.isUserIdTokenBound()) return this; } this.addPeerServiceToken(S); @@ -8654,49 +8664,49 @@ a000.D9b = function () { }, excludePeerServiceToken: function () { var S, - Y, - pa, + X, + oa, qa; if (1 == arguments.length) { S = arguments[0]; - Y = S.name; - pa = S.isMasterTokenBound(); + X = S.name; + oa = S.isMasterTokenBound(); S = S.isUserIdTokenBound(); - } else (arguments.length = 3, Y = arguments[0], pa = arguments[1], S = arguments[2]); - for (var ma = this._peerServiceTokens.length - 1; 0 <= ma; --ma) { - qa = this._peerServiceTokens[ma]; - qa.name == Y && qa.isMasterTokenBound() == pa && qa.isUserIdTokenBound() == S && this._peerServiceTokens.splice(ma, 1); + } else (arguments.length = 3, X = arguments[0], oa = arguments[1], S = arguments[2]); + for (var la = this._peerServiceTokens.length - 1; 0 <= la; --la) { + qa = this._peerServiceTokens[la]; + qa.name == X && qa.isMasterTokenBound() == oa && qa.isUserIdTokenBound() == S && this._peerServiceTokens.splice(la, 1); } return this; }, deletePeerServiceToken: function () { var S, - Y, - pa, - ma, + X, + oa, + la, qa, - Ba; + Aa; if (2 == arguments.length) { S = arguments[0]; - Y = S.name; - pa = S.isMasterTokenBound(); - ma = S.isUserIdTokenBound(); + X = S.name; + oa = S.isMasterTokenBound(); + la = S.isUserIdTokenBound(); qa = arguments[1]; - } else (arguments.length = 4, Y = arguments[0], pa = arguments[1], ma = arguments[2], qa = arguments[3]); - Ba = this; + } else (arguments.length = 4, X = arguments[0], oa = arguments[1], la = arguments[2], qa = arguments[3]); + Aa = this; Ka(qa, function () { - Cc(this._ctx, Y, ha, pa ? this._peerMasterToken : null, ma ? this._peerUserIdToken : null, !1, null, new bd(), { + Cc(this._ctx, X, ha, oa ? this._peerMasterToken : null, la ? this._peerUserIdToken : null, !1, null, new bd(), { result: function (sa) { Ka(qa, function () { return this.addPeerServiceToken(sa); - }, Ba); + }, Aa); }, error: function (sa) { sa instanceof bb && (sa = new vb("Failed to create and add empty peer service token to message.", sa)); qa.error(sa); } }); - }, Ba); + }, Aa); }, getPeerServiceTokens: function () { var S; @@ -8716,7 +8726,7 @@ a000.D9b = function () { return ha && !ba.ctx.isPeerToPeer() ? ha.keyResponseData.masterToken : ba.builder.getMasterToken(); } kf = Bb.Class.create({ - init: function (ba, ha, ea) { + init: function (ba, ha, da) { ba = { ctx: { value: ba, @@ -8731,7 +8741,7 @@ a000.D9b = function () { configurable: !1 }, builder: { - value: ea, + value: da, writable: !1, enumerable: !1, configurable: !1 @@ -8775,251 +8785,251 @@ a000.D9b = function () { throw ha; } }, - addUnboundPrimaryServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma; - ma = fa(ba, this.cryptoContexts); - if (!ma) + addUnboundPrimaryServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la; + la = fa(ba, this.cryptoContexts); + if (!la) return !1; - Cc(this.ctx, ba, ha, null, null, ea, S, ma, { + Cc(this.ctx, ba, ha, null, null, da, S, la, { result: function (qa) { - Ka(Y, function () { + Ka(X, function () { try { this.builder.addServiceToken(qa); - } catch (Ba) { - if (Ba instanceof Ib) - throw new vb("Service token bound to incorrect authentication tokens despite being unbound.", Ba); - throw Ba; + } catch (Aa) { + if (Aa instanceof Ib) + throw new vb("Service token bound to incorrect authentication tokens despite being unbound.", Aa); + throw Aa; } return !0; - }, pa); + }, oa); }, error: function (qa) { - Y.error(qa); + X.error(qa); } }); - }, pa); + }, oa); }, - addUnboundPeerServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma; - ma = fa(ba, this.cryptoContexts); - if (!ma) + addUnboundPeerServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la; + la = fa(ba, this.cryptoContexts); + if (!la) return !1; - Cc(this.ctx, ba, ha, null, null, ea, S, ma, { + Cc(this.ctx, ba, ha, null, null, da, S, la, { result: function (qa) { - Ka(Y, function () { + Ka(X, function () { try { this.builder.addPeerServiceToken(qa); - } catch (Ba) { - if (Ba instanceof Ib) - throw new vb("Service token bound to incorrect authentication tokens despite being unbound.", Ba); - throw Ba; + } catch (Aa) { + if (Aa instanceof Ib) + throw new vb("Service token bound to incorrect authentication tokens despite being unbound.", Aa); + throw Aa; } return !0; - }, pa); + }, oa); }, error: function (qa) { - Y.error(qa); + X.error(qa); } }); - }, pa); + }, oa); }, - addMasterBoundPrimaryServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma, + addMasterBoundPrimaryServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la, qa; - ma = Z(this); - if (!ma) + la = Z(this); + if (!la) return !1; qa = fa(ba, this.cryptoContexts); if (!qa) return !1; - Cc(this.ctx, ba, ha, ma, null, ea, S, qa, { - result: function (Ba) { - Ka(Y, function () { + Cc(this.ctx, ba, ha, la, null, da, S, qa, { + result: function (Aa) { + Ka(X, function () { try { - this.builder.addServiceToken(Ba); + this.builder.addServiceToken(Aa); } catch (sa) { if (sa instanceof Ib) throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token.", sa); throw sa; } return !0; - }, pa); + }, oa); }, - error: function (Ba) { - Y.error(Ba); + error: function (Aa) { + X.error(Aa); } }); - }, pa); + }, oa); }, - addMasterBoundPeerServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma, + addMasterBoundPeerServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la, qa; - ma = this.builder.getPeerMasterToken(); - if (!ma) + la = this.builder.getPeerMasterToken(); + if (!la) return !1; qa = fa(ba, this.cryptoContexts); if (!qa) return !1; - Cc(this.ctx, ba, ha, ma, null, ea, S, qa, { - result: function (Ba) { - Ka(Y, function () { + Cc(this.ctx, ba, ha, la, null, da, S, qa, { + result: function (Aa) { + Ka(X, function () { try { - this.builder.addPeerServiceToken(Ba); + this.builder.addPeerServiceToken(Aa); } catch (sa) { if (sa instanceof Ib) throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token.", sa); throw sa; } return !0; - }, pa); + }, oa); }, - error: function (Ba) { - Y.error(Ba); + error: function (Aa) { + X.error(Aa); } }); - }, pa); + }, oa); }, - addUserBoundPrimaryServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma, + addUserBoundPrimaryServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la, qa, - Ba; - ma = Z(this); - if (!ma) + Aa; + la = Z(this); + if (!la) return !1; qa = this.builder.getUserIdToken(); if (!qa) return !1; - Ba = fa(ba, this.cryptoContexts); - if (!Ba) + Aa = fa(ba, this.cryptoContexts); + if (!Aa) return !1; - Cc(this.ctx, ba, ha, ma, qa, ea, S, Ba, { + Cc(this.ctx, ba, ha, la, qa, da, S, Aa, { result: function (sa) { - Ka(Y, function () { + Ka(X, function () { try { this.builder.addServiceToken(sa); - } catch (oa) { - if (oa instanceof Ib) - throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token and user ID token.", oa); - throw oa; + } catch (na) { + if (na instanceof Ib) + throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token and user ID token.", na); + throw na; } return !0; - }, pa); + }, oa); }, error: function (sa) { - Y.error(sa); + X.error(sa); } }); - }, pa); + }, oa); }, - addUserBoundPeerServiceToken: function (ba, ha, ea, S, Y) { - var pa; - pa = this; - Ka(Y, function () { - var ma, + addUserBoundPeerServiceToken: function (ba, ha, da, S, X) { + var oa; + oa = this; + Ka(X, function () { + var la, qa, - Ba; - ma = this.builder.getPeerMasterToken(); - if (!ma) + Aa; + la = this.builder.getPeerMasterToken(); + if (!la) return !1; qa = this.builder.getPeerUserIdToken(); if (!qa) return !1; - Ba = fa(ba, this.cryptoContexts); - if (!Ba) + Aa = fa(ba, this.cryptoContexts); + if (!Aa) return !1; - Cc(this.ctx, ba, ha, ma, qa, ea, S, Ba, { + Cc(this.ctx, ba, ha, la, qa, da, S, Aa, { result: function (sa) { - Ka(Y, function () { + Ka(X, function () { try { this.builder.addPeerServiceToken(sa); - } catch (oa) { - if (oa instanceof Ib) - throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token and user ID token.", oa); - throw oa; + } catch (na) { + if (na instanceof Ib) + throw new vb("Service token bound to incorrect authentication tokens despite setting correct master token and user ID token.", na); + throw na; } return !0; - }, pa); + }, oa); }, error: function (sa) { - Y.error(sa); + X.error(sa); } }); - }, pa); + }, oa); }, excludePrimaryServiceToken: function () { var ba, ha, - ea, + da, S; if (1 == arguments.length) { ba = arguments[0]; ha = ba.name; - ea = ba.isMasterTokenBound(); + da = ba.isMasterTokenBound(); S = ba.isUserIdTokenBound(); - } else (arguments.length = 3, ha = arguments[0], ea = arguments[1], S = arguments[2]); - for (var Y = this.builder.getServiceTokens(), pa = 0; pa < Y.length; ++pa) { - if ((ba = Y[pa], ba.name == ha && ba.isMasterTokenBound() == ea && ba.isUserIdTokenBound() == S)) - return (this.builder.excludeServiceToken(ha, ea, S), !0); + } else (arguments.length = 3, ha = arguments[0], da = arguments[1], S = arguments[2]); + for (var X = this.builder.getServiceTokens(), oa = 0; oa < X.length; ++oa) { + if ((ba = X[oa], ba.name == ha && ba.isMasterTokenBound() == da && ba.isUserIdTokenBound() == S)) + return (this.builder.excludeServiceToken(ha, da, S), !0); } return !1; }, excludePeerServiceToken: function () { var ba, ha, - ea, + da, S; if (1 == arguments.length) { ba = arguments[0]; ha = ba.name; - ea = ba.isMasterTokenBound(); + da = ba.isMasterTokenBound(); S = ba.isUserIdTokenBound(); - } else (arguments.length = 3, ha = arguments[0], ea = arguments[1], S = arguments[2]); - for (var Y = this.builder.getPeerServiceTokens(), pa = 0; pa < Y.length; ++pa) { - if ((ba = Y[pa], ba.name == ha && ba.isMasterTokenBound() == ea && ba.isUserIdTokenBound() == S)) - return (this.builder.excludePeerServiceToken(ha, ea, S), !0); + } else (arguments.length = 3, ha = arguments[0], da = arguments[1], S = arguments[2]); + for (var X = this.builder.getPeerServiceTokens(), oa = 0; oa < X.length; ++oa) { + if ((ba = X[oa], ba.name == ha && ba.isMasterTokenBound() == da && ba.isUserIdTokenBound() == S)) + return (this.builder.excludePeerServiceToken(ha, da, S), !0); } return !1; }, deletePrimaryServiceToken: function () { var ba, ha, - ea, + da, S, - Y; + X; if (2 == arguments.length) { ba = arguments[0]; ha = ba.name; - ea = ba.isMasterTokenBound(); + da = ba.isMasterTokenBound(); S = ba.isUserIdTokenBound(); - Y = arguments[1]; + X = arguments[1]; } else - 4 == arguments.length && (ha = arguments[0], ea = arguments[1], S = arguments[2], Y = arguments[3]); - Ka(Y, function () { + 4 == arguments.length && (ha = arguments[0], da = arguments[1], S = arguments[2], X = arguments[3]); + Ka(X, function () { var qa; - for (var pa = this.builder.getServiceTokens(), ma = 0; ma < pa.length; ++ma) { - qa = pa[ma]; - if (qa.name == ha && qa.isMasterTokenBound() == ea && qa.isUserIdTokenBound() == S) { - this.builder.deleteServiceToken(ha, ea, S, { + for (var oa = this.builder.getServiceTokens(), la = 0; la < oa.length; ++la) { + qa = oa[la]; + if (qa.name == ha && qa.isMasterTokenBound() == da && qa.isUserIdTokenBound() == S) { + this.builder.deleteServiceToken(ha, da, S, { result: function () { - Y.result(!0); + X.result(!0); }, - error: function (Ba) { - Y.error(Ba); + error: function (Aa) { + X.error(Aa); } }); return; @@ -9031,28 +9041,28 @@ a000.D9b = function () { deletePeerServiceToken: function () { var ba, ha, - ea, + da, S, - Y; + X; if (2 == arguments.length) { ba = arguments[0]; ha = ba.name; - ea = ba.isMasterTokenBound(); + da = ba.isMasterTokenBound(); S = ba.isUserIdTokenBound(); - Y = arguments[1]; + X = arguments[1]; } else - 4 == arguments.length && (ha = arguments[0], ea = arguments[1], S = arguments[2], Y = arguments[3]); - Ka(Y, function () { + 4 == arguments.length && (ha = arguments[0], da = arguments[1], S = arguments[2], X = arguments[3]); + Ka(X, function () { var qa; - for (var pa = this.builder.getPeerServiceTokens(), ma = 0; ma < pa.length; ++ma) { - qa = pa[ma]; - if (qa.name == ha && qa.isMasterTokenBound() == ea && qa.isUserIdTokenBound() == S) { - this.builder.deletePeerServiceToken(ha, ea, S, { + for (var oa = this.builder.getPeerServiceTokens(), la = 0; la < oa.length; ++la) { + qa = oa[la]; + if (qa.name == ha && qa.isMasterTokenBound() == da && qa.isUserIdTokenBound() == S) { + this.builder.deletePeerServiceToken(ha, da, S, { result: function () { - Y.result(!0); + X.result(!0); }, - error: function (Ba) { - Y.error(Ba); + error: function (Aa) { + X.error(Aa); } }); return; @@ -9064,30 +9074,30 @@ a000.D9b = function () { }); })(); (function () { - function fa(Z, ba, ha, ea) { - Ka(ea, function () { - var Y, - pa, - ma, + function fa(Z, ba, ha, da) { + Ka(da, function () { + var X, + oa, + la, qa, - Ba, + Aa, sa; function S() { - Ka(ea, function () { - var oa; + Ka(da, function () { + var na; if (sa >= ha.length) { - if (Ba) - throw Ba; - throw new Pb(U.KEYX_RESPONSE_REQUEST_MISMATCH, JSON.stringify(ha)); + if (Aa) + throw Aa; + throw new Pb(T.KEYX_RESPONSE_REQUEST_MISMATCH, JSON.stringify(ha)); } - oa = ha[sa]; - ma != oa.keyExchangeScheme ? (++sa, S()) : qa.getCryptoContext(Z, oa, pa, Y, { - result: ea.result, + na = ha[sa]; + la != na.keyExchangeScheme ? (++sa, S()) : qa.getCryptoContext(Z, na, oa, X, { + result: da.result, error: function (W) { - Ka(ea, function () { + Ka(da, function () { if (!(W instanceof bb)) throw W; - Ba = W; + Aa = W; ++sa; S(); }); @@ -9095,110 +9105,110 @@ a000.D9b = function () { }); }); } - Y = ba.masterToken; - pa = ba.keyResponseData; - if (!pa) + X = ba.masterToken; + oa = ba.keyResponseData; + if (!oa) return null; - ma = pa.keyExchangeScheme; - qa = Z.getKeyExchangeFactory(ma); + la = oa.keyExchangeScheme; + qa = Z.getKeyExchangeFactory(la); if (!qa) - throw new Pb(U.KEYX_FACTORY_NOT_FOUND, ma); + throw new Pb(T.KEYX_FACTORY_NOT_FOUND, la); sa = 0; S(); }); } lf = fe.extend({ - init: function (Z, ba, ha, ea, S, Y, pa) { - var ma; - ma = this; - cb(pa, function () { + init: function (Z, ba, ha, da, S, X, oa) { + var la; + la = this; + db(oa, function () { var aa; function qa() { - ma._ready = !0; - ma._readyQueue.add(!0); + la._ready = !0; + la._readyQueue.add(!0); } - function Ba(ca, ka) { + function Aa(ca, ja) { var Ga; try { - Ga = ka.masterToken; + Ga = ja.masterToken; ca.getTokenFactory().isMasterTokenRevoked(ca, Ga, { - result: function (Ea) { - Ea ? (ma._errored = new Rc(Ea, Ga).setUser(ka.userIdToken).setUser(ka.userAuthenticationData).setMessageId(ka.messageId), qa()) : sa(ca, ka); + result: function (Ca) { + Ca ? (la._errored = new Rc(Ca, Ga).setUser(ja.userIdToken).setUser(ja.userAuthenticationData).setMessageId(ja.messageId), qa()) : sa(ca, ja); }, - error: function (Ea) { - Ea instanceof bb && (Ea.setEntity(ka.masterToken), Ea.setUser(ka.userIdToken), Ea.setUser(ka.userAuthenticationData), Ea.setMessageId(ka.messageId)); - ma._errored = Ea; + error: function (Ca) { + Ca instanceof bb && (Ca.setEntity(ja.masterToken), Ca.setUser(ja.userIdToken), Ca.setUser(ja.userAuthenticationData), Ca.setMessageId(ja.messageId)); + la._errored = Ca; qa(); } }); - } catch (Ea) { - Ea instanceof bb && (Ea.setEntity(ka.masterToken), Ea.setUser(ka.userIdToken), Ea.setUser(ka.userAuthenticationData), Ea.setMessageId(ka.messageId)); - ma._errored = Ea; + } catch (Ca) { + Ca instanceof bb && (Ca.setEntity(ja.masterToken), Ca.setUser(ja.userIdToken), Ca.setUser(ja.userAuthenticationData), Ca.setMessageId(ja.messageId)); + la._errored = Ca; qa(); } } - function sa(ca, ka) { + function sa(ca, ja) { var Ga, - Ea; + Ca; try { - Ga = ka.masterToken; - Ea = ka.userIdToken; - Ea ? ca.getTokenFactory().isUserIdTokenRevoked(ca, Ga, Ea, { + Ga = ja.masterToken; + Ca = ja.userIdToken; + Ca ? ca.getTokenFactory().isUserIdTokenRevoked(ca, Ga, Ca, { result: function (Pa) { - Pa ? (ma._errored = new MslUserIdTokenException(Pa, Ea).setEntity(Ga).setUser(Ea).setMessageId(ka.messageId), qa()) : oa(ca, ka); + Pa ? (la._errored = new MslUserIdTokenException(Pa, Ca).setEntity(Ga).setUser(Ca).setMessageId(ja.messageId), qa()) : na(ca, ja); }, error: function (Pa) { - Pa instanceof bb && (Pa.setEntity(ka.masterToken), Pa.setUser(ka.userIdToken), Pa.setUser(ka.userAuthenticationData), Pa.setMessageId(ka.messageId)); - ma._errored = Pa; + Pa instanceof bb && (Pa.setEntity(ja.masterToken), Pa.setUser(ja.userIdToken), Pa.setUser(ja.userAuthenticationData), Pa.setMessageId(ja.messageId)); + la._errored = Pa; qa(); } - }) : oa(ca, ka); + }) : na(ca, ja); } catch (Pa) { - Pa instanceof bb && (Pa.setEntity(ka.masterToken), Pa.setUser(ka.userIdToken), Pa.setUser(ka.userAuthenticationData), Pa.setMessageId(ka.messageId)); - ma._errored = Pa; + Pa instanceof bb && (Pa.setEntity(ja.masterToken), Pa.setUser(ja.userIdToken), Pa.setUser(ja.userAuthenticationData), Pa.setMessageId(ja.messageId)); + la._errored = Pa; qa(); } } - function oa(ca, ka) { + function na(ca, ja) { var Ga; try { - Ga = ka.masterToken; - Ga.isExpired() ? ka.isRenewable() && 0 != ka.keyRequestData.length ? ca.getTokenFactory().isMasterTokenRenewable(ca, Ga, { - result: function (Ea) { - Ea ? (ma._errored = new Ib(Ea, "Master token is expired and not renewable.").setEntity(Ga).setUser(ka.userIdToken).setUser(ka.userAuthenticationData).setMessageId(ka.messageId), qa()) : W(ca, ka); - }, - error: function (Ea) { - Ea instanceof bb && (Ea.setEntity(ka.masterToken), Ea.setUser(ka.userIdToken), Ea.setUser(ka.userAuthenticationData), Ea.setMessageId(ka.messageId)); - ma._errored = Ea; + Ga = ja.masterToken; + Ga.isExpired() ? ja.isRenewable() && 0 != ja.keyRequestData.length ? ca.getTokenFactory().isMasterTokenRenewable(ca, Ga, { + result: function (Ca) { + Ca ? (la._errored = new Ib(Ca, "Master token is expired and not renewable.").setEntity(Ga).setUser(ja.userIdToken).setUser(ja.userAuthenticationData).setMessageId(ja.messageId), qa()) : W(ca, ja); + }, + error: function (Ca) { + Ca instanceof bb && (Ca.setEntity(ja.masterToken), Ca.setUser(ja.userIdToken), Ca.setUser(ja.userAuthenticationData), Ca.setMessageId(ja.messageId)); + la._errored = Ca; qa(); } - }) : (ma._errored = new Ib(U.MESSAGE_EXPIRED, JSON.stringify(ka)).setEntity(Ga).setUser(ka.userIdToken).setUser(ka.userAuthenticationData).setMessageId(ka.messageId), qa()) : W(ca, ka); - } catch (Ea) { - Ea instanceof bb && (Ea.setEntity(ka.masterToken), Ea.setUser(ka.userIdToken), Ea.setUser(ka.userAuthenticationData), Ea.setMessageId(ka.messageId)); - ma._errored = Ea; + }) : (la._errored = new Ib(T.MESSAGE_EXPIRED, JSON.stringify(ja)).setEntity(Ga).setUser(ja.userIdToken).setUser(ja.userAuthenticationData).setMessageId(ja.messageId), qa()) : W(ca, ja); + } catch (Ca) { + Ca instanceof bb && (Ca.setEntity(ja.masterToken), Ca.setUser(ja.userIdToken), Ca.setUser(ja.userAuthenticationData), Ca.setMessageId(ja.messageId)); + la._errored = Ca; qa(); } } - function W(ca, ka) { + function W(ca, ja) { var Ga, - Ea; + Ca; try { - Ga = ka.masterToken; - Ea = ka.nonReplayableId; - "number" === typeof Ea ? Ga ? ca.getTokenFactory().acceptNonReplayableId(ca, Ga, Ea, { + Ga = ja.masterToken; + Ca = ja.nonReplayableId; + "number" === typeof Ca ? Ga ? ca.getTokenFactory().acceptNonReplayableId(ca, Ga, Ca, { result: function (Pa) { - Pa || (ma._errored = new Ib(U.MESSAGE_REPLAYED, JSON.stringify(ka)).setEntity(Ga).setUser(ka.userIdToken).setUser(ka.userAuthenticationData).setMessageId(ka.messageId)); + Pa || (la._errored = new Ib(T.MESSAGE_REPLAYED, JSON.stringify(ja)).setEntity(Ga).setUser(ja.userIdToken).setUser(ja.userAuthenticationData).setMessageId(ja.messageId)); qa(); }, error: function (Pa) { - Pa instanceof bb && (Pa.setEntity(Ga), Pa.setUser(ka.userIdToken), Pa.setUser(ka.userAuthenticationData), Pa.setMessageId(ka.messageId)); - ma._errored = Pa; + Pa instanceof bb && (Pa.setEntity(Ga), Pa.setUser(ja.userIdToken), Pa.setUser(ja.userAuthenticationData), Pa.setMessageId(ja.messageId)); + la._errored = Pa; qa(); } - }) : (ma._errored = new Ib(U.INCOMPLETE_NONREPLAYABLE_MESSAGE, JSON.stringify(ka)).setEntity(ka.entityAuthenticationData).setUser(ka.userIdToken).setUser(ka.userAuthenticationData).setMessageId(ka.messageId), qa()) : qa(); + }) : (la._errored = new Ib(T.INCOMPLETE_NONREPLAYABLE_MESSAGE, JSON.stringify(ja)).setEntity(ja.entityAuthenticationData).setUser(ja.userIdToken).setUser(ja.userAuthenticationData).setMessageId(ja.messageId), qa()) : qa(); } catch (Pa) { - Pa instanceof bb && (Pa.setEntity(ka.masterToken), Pa.setEntity(ka.entityAuthenticationData), Pa.setUser(ka.userIdToken), Pa.setUser(ka.userAuthenticationData), Pa.setMessageId(ka.messageId)); - ma._errored = Pa; + Pa instanceof bb && (Pa.setEntity(ja.masterToken), Pa.setEntity(ja.entityAuthenticationData), Pa.setUser(ja.userIdToken), Pa.setUser(ja.userAuthenticationData), Pa.setMessageId(ja.messageId)); + la._errored = Pa; qa(); } } @@ -9228,7 +9238,7 @@ a000.D9b = function () { configurable: !1 }, _timeout: { - value: Y, + value: X, writable: !1, enumerable: !1, configurable: !1 @@ -9337,85 +9347,85 @@ a000.D9b = function () { } }; Object.defineProperties(this, aa); - Oe(ma._source, Y, { + Oe(la._source, X, { result: function (ca) { - ma._json = ca; - ma._jsonIndex = 0; - null === ma._json ? (ma._errored = new xb(U.MESSAGE_DATA_MISSING), qa()) : Ve(Z, ma._json[ma._jsonIndex++], S, { - result: function (ka) { + la._json = ca; + la._jsonIndex = 0; + null === la._json ? (la._errored = new xb(T.MESSAGE_DATA_MISSING), qa()) : Ve(Z, la._json[la._jsonIndex++], S, { + result: function (ja) { var Ga; - ma._header = ka; - if (ma._header instanceof Nc) - (ma._keyxCryptoContext = null, ma._cryptoContext = null, qa()); + la._header = ja; + if (la._header instanceof Nc) + (la._keyxCryptoContext = null, la._cryptoContext = null, qa()); else { - Ga = ma._header; - fa(Z, Ga, ea, { - result: function (Ea) { + Ga = la._header; + fa(Z, Ga, da, { + result: function (Ca) { var Pa; try { - ma._keyxCryptoContext = Ea; - Z.isPeerToPeer() || !ma._keyxCryptoContext ? ma._cryptoContext = Ga.cryptoContext : ma._cryptoContext = ma._keyxCryptoContext; + la._keyxCryptoContext = Ca; + Z.isPeerToPeer() || !la._keyxCryptoContext ? la._cryptoContext = Ga.cryptoContext : la._cryptoContext = la._keyxCryptoContext; try { Pa = Ga.masterToken; - Pa && (Z.isPeerToPeer() || Pa.isVerified()) ? Ba(Z, Ga) : W(Z, Ga); + Pa && (Z.isPeerToPeer() || Pa.isVerified()) ? Aa(Z, Ga) : W(Z, Ga); } catch (Ra) { Ra instanceof bb && (Ra.setEntity(Ga.masterToken), Ra.setUser(Ga.userIdToken), Ra.setUser(Ga.userAuthenticationData), Ra.setMessageId(Ga.messageId)); - ma._errored = Ra; + la._errored = Ra; qa(); } } catch (Ra) { Ra instanceof bb && (Ra.setEntity(Ga.masterToken), Ra.setEntity(Ga.entityAuthenticationData), Ra.setUser(Ga.userIdToken), Ra.setUser(Ga.userAuthenticationData), Ra.setMessageId(Ga.messageId)); - ma._errored = Ra; + la._errored = Ra; qa(); } }, - error: function (Ea) { - Ea instanceof bb && (Ea.setEntity(Ga.masterToken), Ea.setEntity(Ga.entityAuthenticationData), Ea.setUser(Ga.userIdToken), Ea.setUser(Ga.userAuthenticationData), Ea.setMessageId(Ga.messageId)); - ma._errored = Ea; + error: function (Ca) { + Ca instanceof bb && (Ca.setEntity(Ga.masterToken), Ca.setEntity(Ga.entityAuthenticationData), Ca.setUser(Ga.userIdToken), Ca.setUser(Ga.userAuthenticationData), Ca.setMessageId(Ga.messageId)); + la._errored = Ca; qa(); } }); } }, - error: function (ka) { - ma._errored = ka; + error: function (ja) { + la._errored = ja; qa(); } }); }, timeout: function () { - ma._timedout = !0; + la._timedout = !0; qa(); }, error: function (ca) { - ma._errored = ca; + la._errored = ca; qa(); } }); return this; - }, ma); + }, la); }, nextData: function (Z, ba) { var ha; ha = this; - cb(ba, function () { + db(ba, function () { var S; - function ea(Y) { - cb(Y, function () { - var pa; + function da(X) { + db(X, function () { + var oa; if (this._jsonIndex < this._json.length) - return pa = this._json[this._jsonIndex++]; + return oa = this._json[this._jsonIndex++]; Oe(this._source, this._timeout, { - result: function (ma) { - ma && ma.length && 0 < ma.length ? (ma.forEach(function (qa) { + result: function (la) { + la && la.length && 0 < la.length ? (la.forEach(function (qa) { this._json.push(qa); - }), ea(Y)) : (this._eom = !0, Y.result(null)); + }), da(X)) : (this._eom = !0, X.result(null)); }, timeout: function () { - Y.timeout(); + X.timeout(); }, - error: function (ma) { - Y.error(ma); + error: function (la) { + X.error(la); } }); }, ha); @@ -9427,39 +9437,39 @@ a000.D9b = function () { return this._payloads[this._payloadIndex++]; if (this._eom) return null; - ea({ - result: function (Y) { - cb(ba, function () { - if (!Y) + da({ + result: function (X) { + db(ba, function () { + if (!X) return null; - if ("object" !== typeof Y) - throw new xb(U.MESSAGE_FORMAT_ERROR); - gf(Y, this._cryptoContext, { - result: function (pa) { - cb(ba, function () { - var ma, + if ("object" !== typeof X) + throw new xb(T.MESSAGE_FORMAT_ERROR); + gf(X, this._cryptoContext, { + result: function (oa) { + db(ba, function () { + var la, qa, - Ba, + Aa, sa; - ma = S.masterToken; + la = S.masterToken; qa = S.entityAuthenticationData; - Ba = S.userIdToken; + Aa = S.userIdToken; sa = S.getUserAuthenticationData; - if (pa.messageId != S.messageId) - throw new Ib(U.PAYLOAD_MESSAGE_ID_MISMATCH, "payload mid " + pa.messageId + " header mid " + S.messageId).setEntity(ma).setEntity(qa).setUser(Ba).setUser(sa); - if (pa.sequenceNumber != this._payloadSequenceNumber) - throw new Ib(U.PAYLOAD_SEQUENCE_NUMBER_MISMATCH, "payload seqno " + pa.sequenceNumber + " expected seqno " + this._payloadSequenceNumber).setEntity(ma).setEntity(qa).setUser(Ba).setUser(sa); + if (oa.messageId != S.messageId) + throw new Ib(T.PAYLOAD_MESSAGE_ID_MISMATCH, "payload mid " + oa.messageId + " header mid " + S.messageId).setEntity(la).setEntity(qa).setUser(Aa).setUser(sa); + if (oa.sequenceNumber != this._payloadSequenceNumber) + throw new Ib(T.PAYLOAD_SEQUENCE_NUMBER_MISMATCH, "payload seqno " + oa.sequenceNumber + " expected seqno " + this._payloadSequenceNumber).setEntity(la).setEntity(qa).setUser(Aa).setUser(sa); ++this._payloadSequenceNumber; - pa.isEndOfMessage() && (this._eom = !0); - ma = pa.data; - this._payloads.push(ma); + oa.isEndOfMessage() && (this._eom = !0); + la = oa.data; + this._payloads.push(la); this._payloadIndex = -1; - return ma; + return la; }, ha); }, - error: function (pa) { - pa instanceof SyntaxError && (pa = new xb(U.JSON_PARSE_ERROR, "payloadchunk", pa)); - ba.error(pa); + error: function (oa) { + oa instanceof SyntaxError && (oa = new xb(T.JSON_PARSE_ERROR, "payloadchunk", oa)); + ba.error(oa); } }); }, ha); @@ -9467,16 +9477,16 @@ a000.D9b = function () { timeout: function () { ba.timeout(); }, - error: function (Y) { - ba.error(Y); + error: function (X) { + ba.error(X); } }); }, ha); }, isReady: function (Z, ba) { - var ea; + var da; function ha() { - cb(ba, function () { + db(ba, function () { if (this._aborted) return !1; if (this._timedout) @@ -9486,17 +9496,17 @@ a000.D9b = function () { throw this._errored; return !0; } - }, ea); + }, da); } - ea = this; - cb(ba, function () { + da = this; + db(ba, function () { this._ready ? ha() : this._readyQueue.poll(Z, { result: function (S) { - cb(ba, function () { + db(ba, function () { if (S === Ab) return !1; ha(); - }, ea); + }, da); }, timeout: function () { ba.timeout(); @@ -9505,7 +9515,7 @@ a000.D9b = function () { ba.error(S); } }); - }, ea); + }, da); }, getMessageHeader: function () { return this._header instanceof ld ? this._header : null; @@ -9560,55 +9570,55 @@ a000.D9b = function () { }, read: function (Z, ba, ha) { var S; - function ea() { - cb(ha, function () { - var pa, - ma, + function da() { + db(ha, function () { + var oa, + la, qa, - Ba; - function Y(sa) { - cb(sa, function () { - var oa, + Aa; + function X(sa) { + db(sa, function () { + var na, W, aa; - if (ma && Ba >= ma.length) - return ma.subarray(0, Ba); - oa = -1; + if (la && Aa >= la.length) + return la.subarray(0, Aa); + na = -1; if (this._currentPayload) { W = this._currentPayload.length - this._payloadOffset; - if (!ma) { + if (!la) { aa = W; if (-1 != this._payloadIndex) for (var ca = this._payloadIndex; ca < this._payloads.length; ++ca) { aa += this._payloads[ca].length; } - 0 < aa && (ma = new Uint8Array(aa)); + 0 < aa && (la = new Uint8Array(aa)); } - W = Math.min(W, ma ? ma.length - Ba : 0); - 0 < W && (oa = this._currentPayload.subarray(this._payloadOffset, this._payloadOffset + W), ma.set(oa, qa), oa = W, qa += W, this._payloadOffset += W); + W = Math.min(W, la ? la.length - Aa : 0); + 0 < W && (na = this._currentPayload.subarray(this._payloadOffset, this._payloadOffset + W), la.set(na, qa), na = W, qa += W, this._payloadOffset += W); } - -1 != oa ? (Ba += oa, Y(sa)) : this.nextData(ba, { - result: function (ka) { - cb(sa, function () { + -1 != na ? (Aa += na, X(sa)) : this.nextData(ba, { + result: function (ja) { + db(sa, function () { if (this._aborted) - return ma ? ma.subarray(0, Ba) : new Uint8Array(0); - this._currentPayload = ka; + return la ? la.subarray(0, Aa) : new Uint8Array(0); + this._currentPayload = ja; this._payloadOffset = 0; if (this._currentPayload) - Y(sa); + X(sa); else - return 0 == Ba && 0 != Z ? null : ma ? ma.subarray(0, Ba) : new Uint8Array(0); + return 0 == Aa && 0 != Z ? null : la ? la.subarray(0, Aa) : new Uint8Array(0); }, S); }, timeout: function () { - sa.timeout(ma ? ma.subarray(0, Ba) : new Uint8Array(0)); + sa.timeout(la ? la.subarray(0, Aa) : new Uint8Array(0)); }, - error: function (ka) { - cb(sa, function () { - ka instanceof bb && (ka = new Wb("Error reading the payload chunk.", ka)); - if (0 < Ba) - return (S._readException = ka, ma.subarray(0, Ba)); - throw ka; + error: function (ja) { + db(sa, function () { + ja instanceof bb && (ja = new Wb("Error reading the payload chunk.", ja)); + if (0 < Aa) + return (S._readException = ja, la.subarray(0, Aa)); + throw ja; }, S); } }); @@ -9622,30 +9632,30 @@ a000.D9b = function () { if (this._errored) throw this._errored; if (null != this._readException) { - pa = this._readException; + oa = this._readException; this._readException = null; - throw pa; + throw oa; } - ma = -1 != Z ? new Uint8Array(Z) : Ab; + la = -1 != Z ? new Uint8Array(Z) : Ab; qa = 0; - Ba = 0; - Y(ha); + Aa = 0; + X(ha); } }, S); } S = this; - cb(ha, function () { + db(ha, function () { if (-1 > Z) throw new RangeError("read requested with illegal length " + Z); - this._ready ? ea() : this._readyQueue.poll(ba, { - result: function (Y) { - Y === Ab ? ha.result(!1) : ea(); + this._ready ? da() : this._readyQueue.poll(ba, { + result: function (X) { + X === Ab ? ha.result(!1) : da(); }, timeout: function () { ha.timeout(new Uint8Array(0)); }, - error: function (Y) { - ha.error(Y); + error: function (X) { + ha.error(X); } }); }, S); @@ -9655,26 +9665,26 @@ a000.D9b = function () { 0 < this._payloads.length ? (this._currentPayload = this._payloads[this._payloadIndex++], this._payloadOffset = this._markOffset) : this._currentPayload = null; } }); - mf = function (Z, ba, ha, ea, S, Y, pa) { - new lf(Z, ba, ha, ea, S, Y, pa); + mf = function (Z, ba, ha, da, S, X, oa) { + new lf(Z, ba, ha, da, S, X, oa); }; })(); (function () { nf = Ed.extend({ - init: function (fa, Z, ba, ha, ea, S, Y) { - var pa; - pa = this; - cb(Y, function () { + init: function (fa, Z, ba, ha, da, S, X) { + var oa; + oa = this; + db(X, function () { var qa, - Ba, + Aa, sa; - function ma() { - pa._ready = !0; - pa._readyQueue.add(!0); + function la() { + oa._ready = !0; + oa._readyQueue.add(!0); } qa = le(fa.getMessageCapabilities(), ha.messageCapabilities); - Ba = null; - qa && (Ba = De(qa.compressionAlgorithms)); + Aa = null; + qa && (Aa = De(qa.compressionAlgorithms)); qa = { _destination: { value: Z, @@ -9701,13 +9711,13 @@ a000.D9b = function () { configurable: !1 }, _compressionAlgo: { - value: Ba, + value: Aa, writable: !0, enumerable: !1, configurable: !1 }, _cryptoContext: { - value: ea, + value: da, writable: !1, enumerable: !1, configurable: !1 @@ -9770,50 +9780,50 @@ a000.D9b = function () { Object.defineProperties(this, qa); sa = Sb(JSON.stringify(ha), ba); Z.write(sa, 0, sa.length, S, { - result: function (oa) { + result: function (na) { try { - pa._aborted ? ma() : oa < sa.length ? (pa._timedout = !0, ma()) : Z.flush(S, { + oa._aborted ? la() : na < sa.length ? (oa._timedout = !0, la()) : Z.flush(S, { result: function (W) { - pa._aborted || (pa._timedout = !W); - ma(); + oa._aborted || (oa._timedout = !W); + la(); }, timeout: function () { - pa._timedout = !0; - ma(); + oa._timedout = !0; + la(); }, error: function (W) { - pa._errored = W; - ma(); + oa._errored = W; + la(); } }); } catch (W) { - pa._errored = W; - ma(); + oa._errored = W; + la(); } }, timeout: function () { - pa._timedout = !0; - ma(); + oa._timedout = !0; + la(); }, - error: function (oa) { - pa._errored = oa; - ma(); + error: function (na) { + oa._errored = na; + la(); } }); return this; - }, pa); + }, oa); }, setCompressionAlgorithm: function (fa, Z, ba) { - var ea; + var da; function ha() { - ea.flush(Z, { + da.flush(Z, { result: function (S) { - cb(ba, function () { + db(ba, function () { if (!S) throw new Wb("flush() aborted"); this._compressionAlgo = fa; return !0; - }, ea); + }, da); }, timeout: function () { ba.timeout(); @@ -9823,8 +9833,8 @@ a000.D9b = function () { } }); } - ea = this; - cb(ba, function () { + da = this; + db(ba, function () { if (!this.getMessageHeader()) throw new vb("Cannot write payload data for an error message."); if (this._compressionAlgo == fa) @@ -9832,8 +9842,8 @@ a000.D9b = function () { if (fa) { if (!this._capabilities) return !1; - for (var S = this._capabilities.compressionAlgorithms, Y = 0; Y < S.length; ++Y) { - if (S[Y] == fa) { + for (var S = this._capabilities.compressionAlgorithms, X = 0; X < S.length; ++X) { + if (S[X] == fa) { ha(); return; } @@ -9841,7 +9851,7 @@ a000.D9b = function () { return !1; } ha(); - }, ea); + }, da); }, getMessageHeader: function () { return this._header instanceof ld ? this._header : null; @@ -9860,7 +9870,7 @@ a000.D9b = function () { close: function (fa, Z) { var ba; ba = this; - cb(Z, function () { + db(Z, function () { if (this._aborted) return !1; if (this._timedout) @@ -9873,7 +9883,7 @@ a000.D9b = function () { this._closed = !0; this.flush(fa, { result: function (ha) { - cb(Z, function () { + db(Z, function () { ha && (this._currentPayload = null); return ha; }, ba); @@ -9891,8 +9901,8 @@ a000.D9b = function () { flush: function (fa, Z) { var ha; function ba() { - cb(Z, function () { - var ea, + db(Z, function () { + var da, S, qa; if (this._aborted) @@ -9904,32 +9914,32 @@ a000.D9b = function () { throw this._errored; if (!this._currentPayload || !this._closed && 0 == this._currentPayload.length) return !0; - ea = this.getMessageHeader(); - if (!ea) + da = this.getMessageHeader(); + if (!da) return !0; S = 0; - this._currentPayload && this._currentPayload.forEach(function (Ba) { - S += Ba.length; + this._currentPayload && this._currentPayload.forEach(function (Aa) { + S += Aa.length; }); - for (var Y = new Uint8Array(S), pa = 0, ma = 0; this._currentPayload && ma < this._currentPayload.length; ++ma) { - qa = this._currentPayload[ma]; - Y.set(qa, pa); - pa += qa.length; + for (var X = new Uint8Array(S), oa = 0, la = 0; this._currentPayload && la < this._currentPayload.length; ++la) { + qa = this._currentPayload[la]; + X.set(qa, oa); + oa += qa.length; } - ff(this._payloadSequenceNumber, ea.messageId, this._closed, this._compressionAlgo, Y, this._cryptoContext, { - result: function (Ba) { - cb(Z, function () { + ff(this._payloadSequenceNumber, da.messageId, this._closed, this._compressionAlgo, X, this._cryptoContext, { + result: function (Aa) { + db(Z, function () { var sa; - this._payloads.push(Ba); - sa = Sb(JSON.stringify(Ba), this._charset); + this._payloads.push(Aa); + sa = Sb(JSON.stringify(Aa), this._charset); this._destination.write(sa, 0, sa.length, fa, { - result: function (oa) { - cb(Z, function () { + result: function (na) { + db(Z, function () { if (this._aborted) return !1; - oa < Ba.length ? Z.timeout() : this._destination.flush(fa, { + na < Aa.length ? Z.timeout() : this._destination.flush(fa, { result: function (W) { - cb(Z, function () { + db(Z, function () { if (this._aborted) return !1; if (W) @@ -9947,46 +9957,46 @@ a000.D9b = function () { }); }, ha); }, - timeout: function (oa) { + timeout: function (na) { Z.timeout(); }, - error: function (oa) { - oa instanceof bb && (oa = new Wb("Error encoding payload chunk [sequence number " + ha._payloadSequenceNumber + "].", oa)); - Z.error(oa); + error: function (na) { + na instanceof bb && (na = new Wb("Error encoding payload chunk [sequence number " + ha._payloadSequenceNumber + "].", na)); + Z.error(na); } }); }, ha); }, - error: function (Ba) { - Ba instanceof bb && (Ba = new Wb("Error encoding payload chunk [sequence number " + ha._payloadSequenceNumber + "].", Ba)); - Z.error(Ba); + error: function (Aa) { + Aa instanceof bb && (Aa = new Wb("Error encoding payload chunk [sequence number " + ha._payloadSequenceNumber + "].", Aa)); + Z.error(Aa); } }); } }, ha); } ha = this; - cb(Z, function () { + db(Z, function () { this._ready ? ba() : this._readyQueue.poll(fa, { - result: function (ea) { - ea === Ab ? Z.result(!1) : ba(); + result: function (da) { + da === Ab ? Z.result(!1) : ba(); }, timeout: function () { Z.timeout(); }, - error: function (ea) { - Z.error(ea); + error: function (da) { + Z.error(da); } }); }, ha); }, - write: function (fa, Z, ba, ha, ea) { - cb(ea, function () { + write: function (fa, Z, ba, ha, da) { + db(da, function () { var S; if (this._aborted) return !1; if (this._timedout) - ea.timeout(); + da.timeout(); else { if (this._errored) throw this._errored; @@ -10007,8 +10017,8 @@ a000.D9b = function () { }, this); } }); - Kd = function (fa, Z, ba, ha, ea, S, Y) { - new nf(fa, Z, ba, ha, ea, S, Y); + Kd = function (fa, Z, ba, ha, da, S, X) { + new nf(fa, Z, ba, ha, da, S, X); }; })(); Tf = Bb.Class.create({ @@ -10039,18 +10049,18 @@ a000.D9b = function () { getOutputStream: function (fa) {} }); (function () { - var pa, - ma, + var oa, + la, qa, - Ba, + Aa, sa, - oa, + na, W, aa, ca, - ka, + ja, Ga, - Ea; + Ca; function fa(Pa) { return function () { Pa.abort(); @@ -10103,7 +10113,7 @@ a000.D9b = function () { } }); } - function ea(Pa, Ra) { + function da(Pa, Ra) { Object.defineProperties(this, { requestHeader: { value: Ra.requestHeader, @@ -10135,18 +10145,18 @@ a000.D9b = function () { } return !1; } - function Y(Pa, Ra, ia, ua, xa, Ha, Aa, Oa, Da) { + function X(Pa, Ra, ia, ua, xa, Ha, za, Oa, Da) { jf(Ra, ua, xa, Ha, { result: function (Wa) { ia && ia.sentHeader(Wa); - Kd(Ra, Aa, Lb, Wa, null, null, Oa, { + Kd(Ra, za, Lb, Wa, null, null, Oa, { result: function (Ya) { Pa.setAbort(function () { Ya.abort(); }); Ya.close(Oa, { result: function (Xa) { - cb(Da, function () { + db(Da, function () { if (!Xa) throw new Zb("sendError aborted."); return Xa; @@ -10171,7 +10181,7 @@ a000.D9b = function () { } }); } - pa = Ed.extend({ + oa = Ed.extend({ close: function (Pa, Ra) { Ra.result(!0); }, @@ -10184,7 +10194,7 @@ a000.D9b = function () { Ra.result(!0); } }); - ma = Sf.extend({ + la = Sf.extend({ getUserMessage: function (Pa, Ra) { return null; } @@ -10237,7 +10247,7 @@ a000.D9b = function () { return this._appCtx.getDebugContext(); } }); - Ba = qa.extend({ + Aa = qa.extend({ init: function ua(Ra, ia) { ua.base.call(this, ia); Object.defineProperties(this, { @@ -10251,18 +10261,18 @@ a000.D9b = function () { }, write: function (Ra, ia, ua) { var Ha; - function xa(Aa, Oa) { + function xa(za, Oa) { var Da; - if (Aa == Ha._payloads.length) + if (za == Ha._payloads.length) ua.result(!0); else { - Da = Ha._payloads[Aa]; + Da = Ha._payloads[za]; Ra.setCompressionAlgorithm(Da.compressionAlgo, ia, { result: function (Wa) { Ra.write(Da.data, 0, Da.data.length, ia, { result: function (Ya) { - cb(ua, function () { - Da.isEndOfMessage() ? xa(Aa + 1, Oa) : Ra.flush(ia, { + db(ua, function () { + Da.isEndOfMessage() ? xa(za + 1, Oa) : Ra.flush(ia, { result: function (Xa) { ua.result(Xa); }, @@ -10308,10 +10318,10 @@ a000.D9b = function () { xa.result(!0); } }); - oa = {}; + na = {}; W = Bb.Class.create({ init: function (ia) { - ia || (ia = new ma()); + ia || (ia = new la()); Object.defineProperties(this, { _filterFactory: { value: null, @@ -10343,9 +10353,9 @@ a000.D9b = function () { this._filterFactory = ia; }, getNewestMasterToken: function (ia, ua, xa, Ha) { - var Aa; - Aa = this; - cb(Ha, function () { + var za; + za = this; + db(Ha, function () { var Oa, Da, Wa, @@ -10360,7 +10370,7 @@ a000.D9b = function () { Ya || (Ya = new Vd(), this._masterTokenLocks[Wa] = Ya); Xa = Ya.readLock(xa, { result: function (hb) { - cb(Ha, function () { + db(Ha, function () { var lb; if (hb === Ab) throw new Zb("getNewestMasterToken aborted."); @@ -10370,13 +10380,13 @@ a000.D9b = function () { Ya.unlock(hb); Ya.writeLock(xa, { result: function (ob) { - cb(Ha, function () { + db(Ha, function () { if (ob === Ab) throw new Zb("getNewestMasterToken aborted."); delete this._masterTokenLocks[Wa]; Ya.unlock(ob); return this.getNewestMasterToken(ia, ua, xa, Ha); - }, Aa); + }, za); }, timeout: function () { Ha.timeout(); @@ -10385,7 +10395,7 @@ a000.D9b = function () { Ha.error(ob); } }); - }, Aa); + }, za); }, timeout: function () { Ha.timeout(); @@ -10397,7 +10407,7 @@ a000.D9b = function () { ia.setAbort(function () { Xa && (Ya.cancel(Xa), Xa = Ab); }); - }, Aa); + }, za); }, deleteMasterToken: function (ia, ua) { var xa; @@ -10405,15 +10415,15 @@ a000.D9b = function () { xa = this; setTimeout(function () { var Ha, - Aa; + za; Ha = ua.uniqueKey(); - Aa = xa._masterTokenLocks[Ha]; - Aa || (Aa = new Vd(), xa._masterTokenLocks[Ha] = Aa); - Aa.writeLock(-1, { + za = xa._masterTokenLocks[Ha]; + za || (za = new Vd(), xa._masterTokenLocks[Ha] = za); + za.writeLock(-1, { result: function (Oa) { ia.getMslStore().removeCryptoContext(ua); delete xa._masterTokenLocks[Ha]; - Aa.unlock(Oa); + za.unlock(Oa); }, timeout: function () { throw new vb("Unexpected timeout received."); @@ -10442,33 +10452,33 @@ a000.D9b = function () { }, updateIncomingCryptoContexts: function (ia, ua, xa) { var Ha, - Aa; + za; Ha = xa.getMessageHeader(); if (Ha) { - Aa = ia.getMslStore(); + za = ia.getMslStore(); if (Ha = Ha.keyResponseData) - (Aa.setCryptoContext(Ha.masterToken, xa.getKeyExchangeCryptoContext()), this.deleteMasterToken(ia, ua.masterToken)); + (za.setCryptoContext(Ha.masterToken, xa.getKeyExchangeCryptoContext()), this.deleteMasterToken(ia, ua.masterToken)); } }, storeServiceTokens: function (ia, ua, xa, Ha) { var Da, Wa; ia = ia.getMslStore(); - for (var Aa = [], Oa = 0; Oa < Ha.length; ++Oa) { + for (var za = [], Oa = 0; Oa < Ha.length; ++Oa) { Da = Ha[Oa]; if (!Da.isBoundTo(ua) || !ua.isVerified()) { Wa = Da.data; - Wa && 0 == Wa.length ? ia.removeServiceTokens(Da.name, Da.isMasterTokenBound() ? ua : null, Da.isUserIdTokenBound() ? xa : null) : Aa.push(Da); + Wa && 0 == Wa.length ? ia.removeServiceTokens(Da.name, Da.isMasterTokenBound() ? ua : null, Da.isUserIdTokenBound() ? xa : null) : za.push(Da); } } - 0 < Aa.length && ia.addServiceTokens(Aa); + 0 < za.length && ia.addServiceTokens(za); }, - buildRequest: function (ia, ua, xa, Ha, Aa) { + buildRequest: function (ia, ua, xa, Ha, za) { var Oa; Oa = this; this.getNewestMasterToken(ia, ua, Ha, { result: function (Da) { - Ka(Aa, function () { + Ka(za, function () { var Wa, Ya, Xa; @@ -10481,7 +10491,7 @@ a000.D9b = function () { Ya = null; Wc(ua, Wa, Ya, null, { result: function (hb) { - Ka(Aa, function () { + Ka(za, function () { hb.setNonReplayable(xa.isNonReplayable()); return { builder: hb, @@ -10490,7 +10500,7 @@ a000.D9b = function () { }); }, error: function (hb) { - Ka(Aa, function () { + Ka(za, function () { this.releaseMasterToken(Da); hb instanceof bb && (hb = new vb("User ID token not bound to master token despite internal check.", hb)); throw hb; @@ -10500,28 +10510,28 @@ a000.D9b = function () { }, Oa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (Da) { - Aa.error(Da); + za.error(Da); } }); }, - buildResponse: function (ia, ua, xa, Ha, Aa, Oa) { + buildResponse: function (ia, ua, xa, Ha, za, Oa) { var Da; Da = this; hf(ua, Ha, { result: function (Wa) { - cb(Oa, function () { + db(Oa, function () { Wa.setNonReplayable(xa.isNonReplayable()); if (!ua.isPeerToPeer() && !Ha.keyResponseData) return { builder: Wa, tokenTicket: null }; - this.getNewestMasterToken(ia, ua, Aa, { + this.getNewestMasterToken(ia, ua, za, { result: function (Ya) { - cb(Oa, function () { + db(Oa, function () { var Xa, hb, lb; @@ -10553,17 +10563,17 @@ a000.D9b = function () { } }); }, - buildErrorResponse: function (ia, ua, xa, Ha, Aa, Oa, Da) { + buildErrorResponse: function (ia, ua, xa, Ha, za, Oa, Da) { var Xa; function Wa(hb, lb) { - cb(Da, function () { + db(Da, function () { var ob, rb; - ob = Vc(Aa.messageId); - rb = new Ba(lb, xa); + ob = Vc(za.messageId); + rb = new Aa(lb, xa); Wc(ua, null, null, ob, { result: function (sb) { - cb(Da, function () { + db(Da, function () { ua.isPeerToPeer() && sb.setPeerAuthTokens(hb.peerMasterToken, hb.peerUserIdToken); sb.setNonReplayable(rb.isNonReplayable()); return { @@ -10581,16 +10591,16 @@ a000.D9b = function () { function Ya(hb, lb) { Xa.getNewestMasterToken(ia, ua, Oa, { result: function (ob) { - cb(Da, function () { + db(Da, function () { var rb, sb, zb; rb = ob && ob.masterToken; - sb = Vc(Aa.messageId); - zb = new Ba(lb, xa); + sb = Vc(za.messageId); + zb = new Aa(lb, xa); Wc(ua, rb, null, sb, { result: function (wb) { - cb(Da, function () { + db(Da, function () { ua.isPeerToPeer() && wb.setPeerAuthTokens(hb.peerMasterToken, hb.peerUserIdToken); wb.setNonReplayable(zb.isNonReplayable()); return { @@ -10614,20 +10624,20 @@ a000.D9b = function () { }); } Xa = this; - cb(Da, function () { + db(Da, function () { var hb, lb, ob, rb; hb = Ha.requestHeader; lb = Ha.payloads; - ob = Aa.errorCode; + ob = za.errorCode; switch (ob) { case Ja.ENTITYDATA_REAUTH: case Ja.ENTITY_REAUTH: ua.getEntityAuthenticationData(ob, { result: function (sb) { - cb(Da, function () { + db(Da, function () { if (!sb) return null; Wa(hb, lb); @@ -10642,7 +10652,7 @@ a000.D9b = function () { case Ja.SSOTOKEN_REJECTED: xa.getUserAuthData(ob, !1, !0, { result: function (sb) { - cb(Da, function () { + db(Da, function () { if (!sb) return null; Ya(hb, lb); @@ -10657,11 +10667,11 @@ a000.D9b = function () { Ya(hb, lb); break; case Ja.KEYX_REQUIRED: - ob = Vc(Aa.messageId); - rb = new Ba(lb, xa); + ob = Vc(za.messageId); + rb = new Aa(lb, xa); Wc(ua, null, null, ob, { result: function (sb) { - cb(Da, function () { + db(Da, function () { ua.isPeerToPeer() && sb.setPeerAuthTokens(hb.peerMasterToken, hb.peerUserIdToken); sb.setRenewable(!0); sb.setNonReplayable(rb.isNonReplayable()); @@ -10679,18 +10689,18 @@ a000.D9b = function () { case Ja.EXPIRED: this.getNewestMasterToken(ia, ua, Oa, { result: function (sb) { - cb(Da, function () { + db(Da, function () { var zb, wb, - q, + r, b; zb = sb && sb.masterToken; wb = hb.userIdToken; - q = Vc(Aa.messageId); - b = new Ba(lb, xa); - Wc(ua, zb, wb, q, { + r = Vc(za.messageId); + b = new Aa(lb, xa); + Wc(ua, zb, wb, r, { result: function (a) { - cb(Da, function () { + db(Da, function () { ua.isPeerToPeer() && a.setPeerAuthTokens(hb.peerMasterToken, hb.peerUserIdToken); hb.masterToken.equals(zb) && a.setRenewable(!0); a.setNonReplayable(b.isNonReplayable()); @@ -10717,18 +10727,18 @@ a000.D9b = function () { case Ja.REPLAYED: this.getNewestMasterToken(ia, ua, Oa, { result: function (sb) { - cb(Da, function () { + db(Da, function () { var zb, wb, - q, + r, b; zb = sb && sb.masterToken; wb = hb.userIdToken; - q = Vc(Aa.messageId); - b = new Ba(lb, xa); - Wc(ua, zb, wb, q, { + r = Vc(za.messageId); + b = new Aa(lb, xa); + Wc(ua, zb, wb, r, { result: function (a) { - cb(Da, function () { + db(Da, function () { ua.isPeerToPeer() && a.setPeerAuthTokens(hb.peerMasterToken, hb.peerUserIdToken); hb.masterToken.equals(zb) ? (a.setRenewable(!0), a.setNonReplayable(!1)) : a.setNonReplayable(b.isNonReplayable()); return { @@ -10765,64 +10775,64 @@ a000.D9b = function () { (xa = ua.userIdToken, ua.masterToken && xa && ia.getMslStore().removeUserIdToken(xa)); } }, - send: function (ia, ua, xa, Ha, Aa, Oa, Da) { + send: function (ia, ua, xa, Ha, za, Oa, Da) { var ob; function Wa(rb, sb, zb) { - cb(Da, function () { + db(Da, function () { var wb; - wb = Aa.getPeerUserIdToken(); - !ua.isPeerToPeer() && !sb || ua.isPeerToPeer() && !wb ? (wb = xa.getCustomer()) ? Aa.setCustomer(wb, { - result: function (q) { - cb(Da, function () { - sb = Aa.getUserIdToken(); + wb = za.getPeerUserIdToken(); + !ua.isPeerToPeer() && !sb || ua.isPeerToPeer() && !wb ? (wb = xa.getCustomer()) ? za.setCustomer(wb, { + result: function (r) { + db(Da, function () { + sb = za.getUserIdToken(); Ya(rb, sb, zb); }, ob); }, - error: function (q) { - Da.error(q); + error: function (r) { + Da.error(r); } }) : Ya(rb, sb, zb) : Ya(rb, sb, zb); }, ob); } function Ya(rb, sb, zb) { - cb(Da, function () { + db(Da, function () { var wb, - q; - wb = !zb && (!xa.isEncrypted() || Aa.willEncryptPayloads()) && (!xa.isIntegrityProtected() || Aa.willIntegrityProtectPayloads()) && (!xa.isNonReplayable() || Aa.isNonReplayable() && rb); - wb || Aa.setNonReplayable(!1); - q = []; - Aa.isRenewable() && (!rb || rb.isRenewable() || xa.isNonReplayable()) ? xa.getKeyRequestData({ + r; + wb = !zb && (!xa.isEncrypted() || za.willEncryptPayloads()) && (!xa.isIntegrityProtected() || za.willIntegrityProtectPayloads()) && (!xa.isNonReplayable() || za.isNonReplayable() && rb); + wb || za.setNonReplayable(!1); + r = []; + za.isRenewable() && (!rb || rb.isRenewable() || xa.isNonReplayable()) ? xa.getKeyRequestData({ result: function (b) { - cb(Da, function () { + db(Da, function () { var c; for (var a = 0; a < b.length; ++a) { c = b[a]; - q.push(c); - Aa.addKeyRequestData(c); + r.push(c); + za.addKeyRequestData(c); } - Xa(rb, sb, wb, q); + Xa(rb, sb, wb, r); }, ob); }, error: function (b) { Da.error(b); } - }) : Xa(rb, sb, wb, q); + }) : Xa(rb, sb, wb, r); }, ob); } function Xa(rb, sb, zb, wb) { - cb(Da, function () { - var q; - q = new kf(ua, xa, Aa); - xa.updateServiceTokens(q, !zb, { + db(Da, function () { + var r; + r = new kf(ua, xa, za); + xa.updateServiceTokens(r, !zb, { result: function (b) { - Aa.getHeader({ + za.getHeader({ result: function (a) { - cb(Da, function () { + db(Da, function () { var c, f; c = xa.getDebugContext(); c && c.sentHeader(a); - c = Aa.getKeyExchangeData(); + c = za.getKeyExchangeData(); this.updateOutgoingCryptoContexts(ua, a, c); this.storeServiceTokens(ua, rb, sb, a.serviceTokens); c = !ua.isPeerToPeer() && c ? c.cryptoContext : a.cryptoContext; @@ -10861,11 +10871,11 @@ a000.D9b = function () { } function hb(rb, sb, zb) { var wb, - q; + r; if (zb) xa.write(rb, Oa, { result: function (b) { - cb(Da, function () { + db(Da, function () { if (ia.isAborted()) throw new Zb("MessageOutputStream write aborted."); lb(rb, sb, zb); @@ -10879,18 +10889,18 @@ a000.D9b = function () { } }); else { - wb = new pa(); - q = new bd(); - Kd(ua, wb, Lb, sb, q, Oa, { + wb = new oa(); + r = new bd(); + Kd(ua, wb, Lb, sb, r, Oa, { result: function (b) { xa.write(b, Oa, { result: function (a) { - cb(Da, function () { + db(Da, function () { if (ia.isAborted()) throw new Zb("MessageOutputStream proxy write aborted."); b.close(Oa, { result: function (c) { - cb(Da, function () { + db(Da, function () { var f; if (!c) throw new Zb("MessageOutputStream proxy close aborted."); @@ -10926,9 +10936,9 @@ a000.D9b = function () { } function lb(rb, sb, zb, wb) { rb.close(Oa, { - result: function (q) { - cb(Da, function () { - if (!q) + result: function (r) { + db(Da, function () { + if (!r) throw new Zb("MessageOutputStream close aborted."); wb || (wb = rb.getPayloads()); return new ha(sb, wb, !zb); @@ -10937,48 +10947,48 @@ a000.D9b = function () { timeout: function () { Da.timeout(); }, - error: function (q) { - Da.error(q); + error: function (r) { + Da.error(r); } }); } ob = this; - cb(Da, function () { + db(Da, function () { var rb, sb, zb, wb; - rb = Aa.getMasterToken(); - sb = Aa.getUserIdToken(); + rb = za.getMasterToken(); + sb = za.getUserIdToken(); zb = !1; if (xa.getUserId()) { wb = !sb; - xa.getUserAuthData(null, Aa.isRenewable(), wb, { - result: function (q) { - cb(Da, function () { - q && (Aa.willEncryptHeader() && Aa.willIntegrityProtectHeader() ? Aa.setUserAuthenticationData(q) : zb = !0); + xa.getUserAuthData(null, za.isRenewable(), wb, { + result: function (r) { + db(Da, function () { + r && (za.willEncryptHeader() && za.willIntegrityProtectHeader() ? za.setUserAuthenticationData(r) : zb = !0); Wa(rb, sb, zb); }, ob); }, - error: function (q) { - Da.error(q); + error: function (r) { + Da.error(r); } }); } else Wa(rb, sb, zb); }, ob); }, - receive: function (ia, ua, xa, Ha, Aa, Oa, Da) { + receive: function (ia, ua, xa, Ha, za, Oa, Da) { var Wa; Wa = this; - cb(Da, function () { + db(Da, function () { var Ya, Xa, hb; if (ia.isAborted()) throw new Zb("receive aborted."); Ya = []; - Aa && (Ya = Aa.keyRequestData.filter(function () { + za && (Ya = za.keyRequestData.filter(function () { return !0; })); Xa = xa.getCryptoContexts(); @@ -10990,7 +11000,7 @@ a000.D9b = function () { }); lb.isReady(Oa, { result: function (ob) { - cb(Da, function () { + db(Da, function () { var rb, sb, zb, @@ -11001,34 +11011,34 @@ a000.D9b = function () { sb = lb.getErrorHeader(); zb = xa.getDebugContext(); zb && zb.receivedHeader(rb ? rb : sb); - if (Aa && (zb = sb ? sb.errorCode : null, rb || zb != Ja.FAIL && zb != Ja.TRANSIENT_FAILURE && zb != Ja.ENTITY_REAUTH && zb != Ja.ENTITYDATA_REAUTH)) { + if (za && (zb = sb ? sb.errorCode : null, rb || zb != Ja.FAIL && zb != Ja.TRANSIENT_FAILURE && zb != Ja.ENTITY_REAUTH && zb != Ja.ENTITYDATA_REAUTH)) { zb = rb ? rb.messageId : sb.messageId; - wb = Vc(Aa.messageId); + wb = Vc(za.messageId); if (zb != wb) - throw new Ib(U.UNEXPECTED_RESPONSE_MESSAGE_ID, "expected " + wb + "; received " + zb); + throw new Ib(T.UNEXPECTED_RESPONSE_MESSAGE_ID, "expected " + wb + "; received " + zb); } ua.getEntityAuthenticationData(null, { - result: function (q) { - cb(Da, function () { + result: function (r) { + db(Da, function () { var b, a, c, f; - b = q.getIdentity(); + b = r.getIdentity(); if (rb) { a = rb.entityAuthenticationData; c = rb.masterToken; a = c ? rb.sender : a.getIdentity(); if (c && c.isDecrypted() && c.identity != a || b == a) - throw new Ib(U.UNEXPECTED_MESSAGE_SENDER, a); - Aa && this.updateIncomingCryptoContexts(ua, Aa, lb); + throw new Ib(T.UNEXPECTED_MESSAGE_SENDER, a); + za && this.updateIncomingCryptoContexts(ua, za, lb); b = rb.keyResponseData; ua.isPeerToPeer() ? (b = b ? b.masterToken : rb.peerMasterToken, c = rb.peerUserIdToken, a = rb.peerServiceTokens) : (b = b ? b.masterToken : rb.masterToken, c = rb.userIdToken, a = rb.serviceTokens); f = xa.getUserId(); f && c && !c.isVerified() && ua.getMslStore().addUserIdToken(f, c); this.storeServiceTokens(ua, b, c, a); } else if ((a = sb.entityAuthenticationData.getIdentity(), b == a)) - throw new Ib(U.UNEXPECTED_MESSAGE_SENDER, a); + throw new Ib(T.UNEXPECTED_MESSAGE_SENDER, a); return lb; }, Wa); }, @@ -11053,49 +11063,49 @@ a000.D9b = function () { }); }, Wa); }, - sendReceive: function (ia, ua, xa, Ha, Aa, Oa, Da, Wa, Ya) { + sendReceive: function (ia, ua, xa, Ha, za, Oa, Da, Wa, Ya) { var hb; function Xa(lb, ob) { - cb(Ya, function () { + db(Ya, function () { Oa.setRenewable(ob); - this.send(ia, ua, xa, Aa, Oa, Da, { + this.send(ia, ua, xa, za, Oa, Da, { result: function (rb) { - cb(Ya, function () { + db(Ya, function () { var sb; sb = rb.requestHeader.keyRequestData; Wa || rb.handshake || !sb.isEmpty() ? this.receive(ia, ua, xa, Ha, rb.requestHeader, Da, { result: function (zb) { - cb(Ya, function () { + db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, zb); - return new ea(zb, rb); + return new da(zb, rb); }, hb); }, timeout: function () { - cb(Ya, function () { + db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, null); Ya.timeout(); }, hb); }, error: function (zb) { - cb(Ya, function () { + db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, null); throw zb; }, hb); } - }) : cb(Ya, function () { + }) : db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, null); - return new ea(null, rb); + return new da(null, rb); }, hb); }, hb); }, timeout: function () { - cb(Ya, function () { + db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, null); Ya.timeout(); }, hb); }, error: function (rb) { - cb(Ya, function () { + db(Ya, function () { ob && this.releaseRenewalLock(ua, lb, null); throw rb; }, hb); @@ -11104,7 +11114,7 @@ a000.D9b = function () { }, hb); } hb = this; - cb(Ya, function () { + db(Ya, function () { var lb; lb = new hd(); this.acquireRenewalLock(ia, ua, xa, lb, Oa, Da, { @@ -11120,10 +11130,10 @@ a000.D9b = function () { }); }, hb); }, - acquireRenewalLock: function (ia, ua, xa, Ha, Aa, Oa, Da) { + acquireRenewalLock: function (ia, ua, xa, Ha, za, Oa, Da) { var Xa; function Wa(hb, lb, ob) { - cb(Da, function () { + db(Da, function () { var zb, wb; if (ia.isAborted()) @@ -11141,26 +11151,26 @@ a000.D9b = function () { queue: Ha }), !0); wb = rb.poll(Oa, { - result: function (q) { - cb(Da, function () { + result: function (r) { + db(Da, function () { var b; - if (q === Ab) + if (r === Ab) throw new Zb("acquireRenewalLock aborted."); - rb.add(q); - if (q === oa || q.isExpired()) - Wa(q, lb, ob); + rb.add(r); + if (r === na || r.isExpired()) + Wa(r, lb, ob); else { - if (ob && !lb || lb && !lb.isBoundTo(q)) { + if (ob && !lb || lb && !lb.isBoundTo(r)) { b = ua.getMslStore().getUserIdToken(ob); - lb = b && b.isBoundTo(q) ? b : null; + lb = b && b.isBoundTo(r) ? b : null; } - Aa.setAuthTokens(q, lb); - Aa.isRenewable() && q.equals(hb) ? Wa(q, lb, ob) : xa.isRequestingTokens() && !lb ? Wa(q, lb, ob) : Ya(q, lb); + za.setAuthTokens(r, lb); + za.isRenewable() && r.equals(hb) ? Wa(r, lb, ob) : xa.isRequestingTokens() && !lb ? Wa(r, lb, ob) : Ya(r, lb); } }, Xa); }, timeout: function () {}, - error: function (q) {} + error: function (r) {} }); ia.setAbort(function () { wb && (rb.cancel(wb), wb = Ab); @@ -11168,7 +11178,7 @@ a000.D9b = function () { }, Xa); } function Ya(hb, lb) { - cb(Da, function () { + db(Da, function () { var sb; if (ia.isAborted()) throw new Zb("acquireRenewalLock aborted."); @@ -11190,29 +11200,29 @@ a000.D9b = function () { }, Xa); } Xa = this; - cb(Da, function () { + db(Da, function () { var hb, lb, ob; - hb = Aa.getMasterToken(); - lb = Aa.getUserIdToken(); + hb = za.getMasterToken(); + lb = za.getUserIdToken(); ob = xa.getUserId(); - xa.isEncrypted() && !Aa.willEncryptPayloads() || xa.isIntegrityProtected() && !Aa.willIntegrityProtectPayloads() || Aa.isRenewable() || !hb && xa.isNonReplayable() || hb && hb.isExpired() || !(lb || !ob || Aa.willEncryptHeader() && Aa.willIntegrityProtectHeader()) || xa.isRequestingTokens() && (!hb || ob && !lb) ? Wa(hb, lb, ob) : Ya(hb, lb); + xa.isEncrypted() && !za.willEncryptPayloads() || xa.isIntegrityProtected() && !za.willIntegrityProtectPayloads() || za.isRenewable() || !hb && xa.isNonReplayable() || hb && hb.isExpired() || !(lb || !ob || za.willEncryptHeader() && za.willIntegrityProtectHeader()) || xa.isRequestingTokens() && (!hb || ob && !lb) ? Wa(hb, lb, ob) : Ya(hb, lb); }, Xa); }, releaseRenewalLock: function (ia, ua, xa) { var Da; - for (var Ha, Aa, Oa = 0; Oa < this._renewingContexts.length; ++Oa) { + for (var Ha, za, Oa = 0; Oa < this._renewingContexts.length; ++Oa) { Da = this._renewingContexts[Oa]; if (Da.ctx === ia) { Ha = Oa; - Aa = Da.queue; + za = Da.queue; break; } } - if (Aa !== ua) + if (za !== ua) throw new vb("Attempt to release renewal lock that is not owned by this queue."); - xa ? (xa = xa.messageHeader) ? (Aa = xa.keyResponseData) ? ua.add(Aa.masterToken) : (ia = ia.isPeerToPeer() ? xa.peerMasterToken : xa.masterToken) ? ua.add(ia) : ua.add(oa) : ua.add(oa) : ua.add(oa); + xa ? (xa = xa.messageHeader) ? (za = xa.keyResponseData) ? ua.add(za.masterToken) : (ia = ia.isPeerToPeer() ? xa.peerMasterToken : xa.masterToken) ? ua.add(ia) : ua.add(na) : ua.add(na) : ua.add(na); this._renewingContexts.splice(Ha, 1); } }); @@ -11241,31 +11251,31 @@ a000.D9b = function () { shutdown: function () { this._shutdown = !0; }, - receive: function (ia, ua, xa, Ha, Aa, Oa) { + receive: function (ia, ua, xa, Ha, za, Oa) { var Da; if (this._shutdown) throw new bb("MslControl is shutdown."); - Da = new aa(this._impl, ia, ua, xa, Ha, Aa); + Da = new aa(this._impl, ia, ua, xa, Ha, za); setTimeout(function () { Da.call(Oa); }, 0); return fa(Da); }, - respond: function (ia, ua, xa, Ha, Aa, Oa, Da) { + respond: function (ia, ua, xa, Ha, za, Oa, Da) { var Wa; if (this._shutdown) throw new bb("MslControl is shutdown."); - Wa = new ca(this._impl, ia, ua, xa, Ha, Aa, Oa); + Wa = new ca(this._impl, ia, ua, xa, Ha, za, Oa); setTimeout(function () { Wa.call(Da); }, 0); return fa(Wa); }, - error: function xa(ia, ua, xa, Ha, Aa, Oa, Da) { + error: function xa(ia, ua, xa, Ha, za, Oa, Da) { var Wa; if (this._shutdown) throw new bb("MslControl is shutdown."); - Wa = new ka(this._impl, ia, ua, xa, Ha, Aa, Oa); + Wa = new ja(this._impl, ia, ua, xa, Ha, za, Oa); setTimeout(function () { Wa.call(Da); }, 0); @@ -11274,7 +11284,7 @@ a000.D9b = function () { request: function (ia, ua) { var xa, Ha, - Aa, + za, Oa, Da, Wa; @@ -11282,18 +11292,18 @@ a000.D9b = function () { throw new bb("MslControl is shutdown."); if (5 == arguments.length) { Ha = arguments[2]; - Aa = xa = null; + za = xa = null; Oa = arguments[3]; Da = arguments[4]; if (ia.isPeerToPeer()) { Da.error(new vb("This method cannot be used in peer-to-peer mode.")); return; } - } else if (6 == arguments.length && (Ha = null, xa = arguments[2], Aa = arguments[3], Oa = arguments[4], Da = arguments[5], !ia.isPeerToPeer())) { + } else if (6 == arguments.length && (Ha = null, xa = arguments[2], za = arguments[3], Oa = arguments[4], Da = arguments[5], !ia.isPeerToPeer())) { Da.error(new vb("This method cannot be used in trusted network mode.")); return; } - Wa = new Ea(this._impl, ia, ua, Ha, xa, Aa, null, 0, Oa); + Wa = new Ca(this._impl, ia, ua, Ha, xa, za, null, 0, Oa); setTimeout(function () { Wa.call(Da); }, 0); @@ -11301,7 +11311,7 @@ a000.D9b = function () { } }); aa = Bb.Class.create({ - init: function (ia, ua, xa, Ha, Aa, Oa) { + init: function (ia, ua, xa, Ha, za, Oa) { Object.defineProperties(this, { _ctrl: { value: ia, @@ -11328,7 +11338,7 @@ a000.D9b = function () { configurable: !1 }, _output: { - value: Aa, + value: za, writable: !1, enumerable: !1, configurable: !1 @@ -11364,9 +11374,9 @@ a000.D9b = function () { this._abortFunc = ia; }, call: function (ia) { - var Aa; + var za; function ua(Oa) { - cb(ia, function () { + db(ia, function () { var Da; Da = Oa.messageHeader; if (!Da) @@ -11375,21 +11385,21 @@ a000.D9b = function () { Oa.abort(); }); Oa.mark(Number.MAX_VALUE); - Oa.read(1, Aa._timeout, { + Oa.read(1, za._timeout, { result: function (Wa) { - cb(ia, function () { + db(ia, function () { if (Wa && 0 == Wa.length) return null; if (Wa) return (Oa.reset(), Oa); xa(Oa); - }, Aa); + }, za); }, timeout: function () { ia.timeout(); }, error: function (Wa) { - cb(ia, function () { + db(ia, function () { var Ya, Xa, hb; @@ -11397,10 +11407,10 @@ a000.D9b = function () { return null; Ya = Da ? Da.messageId : null; if (Wa instanceof Wb) { - Xa = U.MSL_COMMS_FAILURE; + Xa = T.MSL_COMMS_FAILURE; hb = Wa; - } else (Xa = U.INTERNAL_EXCEPTION, hb = new vb("Error peeking into the message payloads.")); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Ya, Xa, null, this._output, this._timeout, { + } else (Xa = T.INTERNAL_EXCEPTION, hb = new vb("Error peeking into the message payloads.")); + X(this, this._ctx, this._msgCtx.getDebugContext(), Ya, Xa, null, this._output, this._timeout, { result: function (lb) { ia.error(hb); }, @@ -11408,24 +11418,24 @@ a000.D9b = function () { ia.timeout(); }, error: function (lb) { - cb(ia, function () { + db(ia, function () { if (S(lb)) return null; throw new kc("Error peeking into the message payloads.", lb, Wa); - }, Aa); + }, za); } }); - }, Aa); + }, za); } }); - }, Aa); + }, za); } function xa(Oa) { - cb(ia, function () { + db(ia, function () { Oa.close(); this._ctrl.buildResponse(this, this._ctx, this._msgCtx, Oa.messageHeader, this._timeout, { result: function (Da) { - cb(ia, function () { + db(ia, function () { var Wa, Ya, Xa, @@ -11438,19 +11448,19 @@ a000.D9b = function () { if (!this._ctx.isPeerToPeer() || Xa.isEncrypting() || Xa.keyResponseData) Ha(Xa, Wa, hb, Ya); else { - lb = new Ea(this._ctrl, this._ctx, hb, null, this._input, this._output, Da, 1, this._timeout); + lb = new Ca(this._ctrl, this._ctx, hb, null, this._input, this._output, Da, 1, this._timeout); this.setAbort(function () { lb.abort(); }); lb.call(ia); } - }, Aa); + }, za); }, timeout: function () { ia.timeout(); }, error: function (Da) { - cb(ia, function () { + db(ia, function () { var Wa, Ya, Xa, @@ -11463,8 +11473,8 @@ a000.D9b = function () { Xa = Oa.messageHeader.messageCapabilities; Xa = this._ctrl.messageRegistry.getUserMessage(Ya, Xa ? Xa.languages : null); hb = Da; - } else (Wa = requestHeader ? requestHeader.messageId : null, Ya = U.INTERNAL_EXCEPTION, Xa = null, hb = new vb("Error creating an automatic handshake response.", Da)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Wa, Ya, Xa, this._output, this._timeout, { + } else (Wa = requestHeader ? requestHeader.messageId : null, Ya = T.INTERNAL_EXCEPTION, Xa = null, hb = new vb("Error creating an automatic handshake response.", Da)); + X(this, this._ctx, this._msgCtx.getDebugContext(), Wa, Ya, Xa, this._output, this._timeout, { result: function (lb) { ia.error(hb); }, @@ -11472,36 +11482,36 @@ a000.D9b = function () { ia.timeout(); }, error: function (lb) { - cb(ia, function () { + db(ia, function () { if (S(lb)) return null; throw new kc("Error creating an automatic handshake response.", lb, Da); - }, Aa); + }, za); } }); - }, Aa); + }, za); } }); - }, Aa); + }, za); } function Ha(Oa, Da, Wa, Ya) { - cb(ia, function () { + db(ia, function () { Da.setRenewable(!1); this._ctrl.send(this._ctx, Wa, this._output, Da, this._timeout, { result: function (Xa) { - cb(ia, function () { + db(ia, function () { this._ctx.isPeerToPeer() && this._ctrl.releaseMasterToken(Ya); return null; - }, Aa); + }, za); }, timeout: function () { - cb(ia, function () { + db(ia, function () { this._ctx.isPeerToPeer() && this._ctrl.releaseMasterToken(Ya); ia.timeout(); - }, Aa); + }, za); }, error: function (Xa) { - cb(ia, function () { + db(ia, function () { var hb, lb, ob, @@ -11516,8 +11526,8 @@ a000.D9b = function () { ob = this._ctrl.messageRegistry.getUserMessage(lb, ob ? ob.languages : null); rb = Xa; } else - Xa instanceof Wb ? (hb = Oa ? Oa.messageId : null, lb = U.MSL_COMMS_FAILURE, ob = null, rb = Xa) : (hb = Oa ? Oa.messageId : null, lb = U.INTERNAL_EXCEPTION, ob = null, rb = new vb("Error sending an automatic handshake response.", Xa)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), hb, lb, ob, this._output, this._timeout, { + Xa instanceof Wb ? (hb = Oa ? Oa.messageId : null, lb = T.MSL_COMMS_FAILURE, ob = null, rb = Xa) : (hb = Oa ? Oa.messageId : null, lb = T.INTERNAL_EXCEPTION, ob = null, rb = new vb("Error sending an automatic handshake response.", Xa)); + X(this, this._ctx, this._msgCtx.getDebugContext(), hb, lb, ob, this._output, this._timeout, { result: function (sb) { ia.error(rb); }, @@ -11525,20 +11535,20 @@ a000.D9b = function () { ia.timeout(); }, error: function (sb) { - cb(ia, function () { + db(ia, function () { if (S(sb)) return null; throw new kc("Error sending an automatic handshake response.", sb, Xa); - }, Aa); + }, za); } }); - }, Aa); + }, za); } }); - }, Aa); + }, za); } - Aa = this; - cb(ia, function () { + za = this; + db(ia, function () { this._ctrl.receive(this, this._ctx, this._msgCtx, this._input, null, this._timeout, { result: function (Oa) { ua(Oa); @@ -11547,7 +11557,7 @@ a000.D9b = function () { ia.timeout(); }, error: function (Oa) { - cb(ia, function () { + db(ia, function () { var Da, Wa, Ya, @@ -11559,8 +11569,8 @@ a000.D9b = function () { Wa = Oa.error; Ya = this._ctrl.messageRegistry.getUserMessage(Wa, null); Xa = Oa; - } else (Da = null, Wa = U.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error receiving the message header.", Oa)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { + } else (Da = null, Wa = T.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error receiving the message header.", Oa)); + X(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { result: function (hb) { ia.error(Xa); }, @@ -11568,21 +11578,21 @@ a000.D9b = function () { ia.timeout(); }, error: function (hb) { - cb(ia, function () { + db(ia, function () { if (S(hb)) return null; throw new kc("Error receiving the message header.", hb, Oa); - }, Aa); + }, za); } }); - }, Aa); + }, za); } }); - }, Aa); + }, za); } }); ca = Bb.Class.create({ - init: function (ia, ua, xa, Ha, Aa, Oa, Da) { + init: function (ia, ua, xa, Ha, za, Oa, Da) { Object.defineProperties(this, { _ctrl: { value: ia, @@ -11609,7 +11619,7 @@ a000.D9b = function () { configurable: !1 }, _output: { - value: Aa, + value: za, writable: !1, enumerable: !1, configurable: !1 @@ -11653,14 +11663,14 @@ a000.D9b = function () { trustedNetworkExecute: function (ia, ua, xa) { var Ha; Ha = this; - cb(xa, function () { - var Aa, + db(xa, function () { + var za, Oa; if (12 < ua + 1) return !1; - if (Aa = this._msgCtx.isIntegrityProtected() && !ia.willIntegrityProtectHeader() ? U.RESPONSE_REQUIRES_INTEGRITY_PROTECTION : this._msgCtx.isEncrypted() && !ia.willEncryptPayloads() ? U.RESPONSE_REQUIRES_ENCRYPTION : null) { + if (za = this._msgCtx.isIntegrityProtected() && !ia.willIntegrityProtectHeader() ? T.RESPONSE_REQUIRES_INTEGRITY_PROTECTION : this._msgCtx.isEncrypted() && !ia.willEncryptPayloads() ? T.RESPONSE_REQUIRES_ENCRYPTION : null) { Oa = cd(ia.getMessageId()); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Oa, Aa, null, this._output, this._timeout, { + X(this, this._ctx, this._msgCtx.getDebugContext(), Oa, za, null, this._output, this._timeout, { result: function (Da) { xa.result(!1); }, @@ -11668,10 +11678,10 @@ a000.D9b = function () { xa.timeout(); }, error: function (Da) { - cb(xa, function () { + db(xa, function () { if (S(Da)) return !1; - throw new kc("Response requires encryption or integrity protection but cannot be protected: " + Aa, Da, null); + throw new kc("Response requires encryption or integrity protection but cannot be protected: " + za, Da, null); }, Ha); } }); @@ -11685,7 +11695,7 @@ a000.D9b = function () { error: function (Da) { xa.error(Da); } - })) : (Oa = cd(ia.getMessageId()), Y(this, this._ctx, this._msgCtx.getDebugContext(), Oa, U.RESPONSE_REQUIRES_MASTERTOKEN, null, this._output, this._timeout, { + })) : (Oa = cd(ia.getMessageId()), X(this, this._ctx, this._msgCtx.getDebugContext(), Oa, T.RESPONSE_REQUIRES_MASTERTOKEN, null, this._output, this._timeout, { result: function (Da) { xa.result(!1); }, @@ -11693,7 +11703,7 @@ a000.D9b = function () { xa.timeout(); }, error: function (Da) { - cb(xa, function () { + db(xa, function () { if (S(Da)) return !1; throw new kc("Response wishes to attach a user ID token but there is no master token.", Da, null); @@ -11704,8 +11714,8 @@ a000.D9b = function () { }, peerToPeerExecute: function (ia, ua, xa, Ha) { var Oa; - function Aa(Da) { - cb(Ha, function () { + function za(Da) { + db(Ha, function () { var Wa; Wa = Da.response; Wa.close(); @@ -11713,7 +11723,7 @@ a000.D9b = function () { this._ctrl.cleanupContext(this._ctx, Da.requestHeader, Wa); this._ctrl.buildErrorResponse(this, this._ctx, ia, Da, Wa, { result: function (Ya) { - cb(Ha, function () { + db(Ha, function () { var Xa, hb; if (!Ya) @@ -11722,19 +11732,19 @@ a000.D9b = function () { hb = Ya.tokenTicket; this.peerToPeerExecute(Xa.msgCtx, Xa.builder, xa, { result: function (lb) { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(hb); return lb; }, Oa); }, timeout: function () { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(hb); Ha.timeout(); }, Oa); }, error: function (lb) { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(hb); throw lb; }, Oa); @@ -11746,13 +11756,13 @@ a000.D9b = function () { }, Oa); } Oa = this; - cb(Ha, function () { + db(Ha, function () { var Da; if (12 < xa + 2) return !1; if (null != ia.getCustomer() && null == ua.getPeerMasterToken() && null == ua.getKeyExchangeData()) { Da = cd(ua.getMessageId()); - Y(this, this._ctx, ia.getDebugContext(), Da, U.RESPONSE_REQUIRES_MASTERTOKEN, null, this._output, this._timeout, { + X(this, this._ctx, ia.getDebugContext(), Da, T.RESPONSE_REQUIRES_MASTERTOKEN, null, this._output, this._timeout, { result: function (Wa) { Ha.result(!1); }, @@ -11760,7 +11770,7 @@ a000.D9b = function () { Ha.timeout(); }, error: function (Wa) { - cb(Ha, function () { + db(Ha, function () { if (S(Wa)) return !1; throw new kc("Response wishes to attach a user ID token but there is no master token.", Wa, null); @@ -11770,14 +11780,14 @@ a000.D9b = function () { } else this._ctrl.sendReceive(this._ctx, ia, this._input, this._output, ua, this._timeout, !1, { result: function (Wa) { - cb(Ha, function () { + db(Ha, function () { var hb, lb, ob; function Ya() { hb.read(32768, Oa._timeout, { result: function (rb) { - cb(Ha, function () { + db(Ha, function () { rb ? Ya() : Xa(); }, Oa); }, @@ -11790,29 +11800,29 @@ a000.D9b = function () { }); } function Xa() { - cb(Ha, function () { + db(Ha, function () { var rb; - rb = new Ba(Wa.payloads, ia); + rb = new Aa(Wa.payloads, ia); this._ctrl.buildResponse(this, this._ctx, rb, lb, this._timeout, { result: function (sb) { - cb(Ha, function () { + db(Ha, function () { var zb; zb = sb.tokenTicket; this.peerToPeerExecute(rb, sb.builder, xa, { result: function (wb) { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(zb); return wb; }, Oa); }, timeout: function () { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(zb); Ha.timeout(); }, Oa); }, error: function (wb) { - cb(Ha, function () { + db(Ha, function () { this._ctrl.releaseMasterToken(zb); throw wb; }, Oa); @@ -11842,7 +11852,7 @@ a000.D9b = function () { else return !0; } else - Aa(Wa); + za(Wa); }, Oa); }, timeout: function () { @@ -11859,31 +11869,31 @@ a000.D9b = function () { ua = this; this._ctrl.buildResponse(this, this._ctx, this._msgCtx, this._request, this._timeout, { result: function (xa) { - cb(ia, function () { + db(ia, function () { var Ha, - Aa; + za; Ha = xa.builder; - Aa = xa.tokenTicket; + za = xa.tokenTicket; this._ctx.isPeerToPeer() ? this.peerToPeerExecute(this._msgCtx, Ha, 3, { result: function (Oa) { - cb(ia, function () { - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + db(ia, function () { + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); return Oa; }, ua); }, timeout: function () { - cb(ia, function () { - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + db(ia, function () { + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); ia.timeout(); }, ua); }, error: function (Oa) { - cb(ia, function () { + db(ia, function () { var Da, Wa, Ya, Xa; - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); if (S(Oa)) return !1; Da = cd(Ha.getMessageId()); @@ -11893,8 +11903,8 @@ a000.D9b = function () { Ya = this._ctrl.messageRegistry.getUserMessage(Wa, Ya ? Ya.languages : null); Xa = Oa; } else - Oa instanceof Wb ? (Wa = U.MSL_COMMS_FAILURE, Ya = null, Xa = Oa) : (Wa = U.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error sending the response.", Oa)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { + Oa instanceof Wb ? (Wa = T.MSL_COMMS_FAILURE, Ya = null, Xa = Oa) : (Wa = T.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error sending the response.", Oa)); + X(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { result: function (hb) { ia.error(Xa); }, @@ -11902,7 +11912,7 @@ a000.D9b = function () { ia.timeout(); }, error: function (hb) { - cb(ia, function () { + db(ia, function () { if (S(hb)) return !1; throw new kc("Error sending the response.", hb, null); @@ -11913,24 +11923,24 @@ a000.D9b = function () { } }) : this.trustedNetworkExecute(Ha, 3, { result: function (Oa) { - cb(ia, function () { - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + db(ia, function () { + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); return Oa; }, ua); }, timeout: function () { - cb(ia, function () { - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + db(ia, function () { + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); ia.timeout(); }, ua); }, error: function (Oa) { - cb(ia, function () { + db(ia, function () { var Da, Wa, Ya, Xa; - this._ctx.isPeerToPeer() && this.releaseMasterToken(Aa); + this._ctx.isPeerToPeer() && this.releaseMasterToken(za); if (S(Oa)) return !1; Da = cd(Ha.getMessageId()); @@ -11940,8 +11950,8 @@ a000.D9b = function () { Ya = this._ctrl.messageRegistry.getUserMessage(Wa, Ya ? Ya.languages : null); Xa = Oa; } else - Oa instanceof Wb ? (Wa = U.MSL_COMMS_FAILURE, Ya = null, Xa = Oa) : (Wa = U.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error sending the response.", Oa)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { + Oa instanceof Wb ? (Wa = T.MSL_COMMS_FAILURE, Ya = null, Xa = Oa) : (Wa = T.INTERNAL_EXCEPTION, Ya = null, Xa = new vb("Error sending the response.", Oa)); + X(this, this._ctx, this._msgCtx.getDebugContext(), Da, Wa, Ya, this._output, this._timeout, { result: function (hb) { ia.error(Xa); }, @@ -11949,7 +11959,7 @@ a000.D9b = function () { ia.timeout(); }, error: function (hb) { - cb(ia, function () { + db(ia, function () { if (S(hb)) return !1; throw new kc("Error sending the response.", hb, null); @@ -11965,21 +11975,21 @@ a000.D9b = function () { ia.timeout(); }, error: function (xa) { - cb(ia, function () { + db(ia, function () { var Ha, - Aa, + za, Oa, Da; if (S(xa)) return !1; if (xa instanceof bb) { Ha = xa.messageId; - Aa = xa.error; + za = xa.error; Oa = this._request.messageCapabilities; - Oa = this._ctrl.messageRegistry.getUserMessage(Aa, Oa ? Oa.languages : null); + Oa = this._ctrl.messageRegistry.getUserMessage(za, Oa ? Oa.languages : null); Da = xa; - } else (Ha = null, Aa = U.INTERNAL_EXCEPTION, Oa = null, Da = new vb("Error building the response.", xa)); - Y(this, this._ctx, this._msgCtx.getDebugContext(), Ha, Aa, Oa, this._output, this._timeout, { + } else (Ha = null, za = T.INTERNAL_EXCEPTION, Oa = null, Da = new vb("Error building the response.", xa)); + X(this, this._ctx, this._msgCtx.getDebugContext(), Ha, za, Oa, this._output, this._timeout, { result: function (Wa) { ia.error(Da); }, @@ -11987,7 +11997,7 @@ a000.D9b = function () { ia.timeout(); }, error: function (Wa) { - cb(ia, function () { + db(ia, function () { if (S(Wa)) return null; throw new kc("Error building the response.", Wa, xa); @@ -11999,8 +12009,8 @@ a000.D9b = function () { }); } }); - ka = Bb.Class.create({ - init: function (ia, ua, xa, Ha, Aa, Oa, Da) { + ja = Bb.Class.create({ + init: function (ia, ua, xa, Ha, za, Oa, Da) { Object.defineProperties(this, { _ctrl: { value: ia, @@ -12071,29 +12081,29 @@ a000.D9b = function () { call: function (ia) { var ua; ua = this; - cb(ia, function () { + db(ia, function () { var xa, Ha; if (this._appError == ENTITY_REJECTED) - xa = this._request.masterToken ? U.MASTERTOKEN_REJECTED_BY_APP : U.ENTITY_REJECTED_BY_APP; + xa = this._request.masterToken ? T.MASTERTOKEN_REJECTED_BY_APP : T.ENTITY_REJECTED_BY_APP; else if (this._appError == USER_REJECTED) - xa = this._request.userIdToken ? U.USERIDTOKEN_REJECTED_BY_APP : U.USER_REJECTED_BY_APP; + xa = this._request.userIdToken ? T.USERIDTOKEN_REJECTED_BY_APP : T.USER_REJECTED_BY_APP; else throw new vb("Unhandled application error " + this._appError + "."); Ha = this._request.messageCapabilities; Ha = this._ctrl.messageRegistry.getUserMessage(xa, Ha ? Ha.languages : null); - Y(this, this._ctx, this._msgCtx.getDebugContext(), this._request.messageId, xa, Ha, this._output, this._timeout, { - result: function (Aa) { - ia.result(Aa); + X(this, this._ctx, this._msgCtx.getDebugContext(), this._request.messageId, xa, Ha, this._output, this._timeout, { + result: function (za) { + ia.result(za); }, timeout: ia.timeout, - error: function (Aa) { - cb(ia, function () { - if (S(Aa)) + error: function (za) { + db(ia, function () { + if (S(za)) return !1; - if (Aa instanceof bb) - throw Aa; - throw new vb("Error building the error response.", Aa); + if (za instanceof bb) + throw za; + throw new vb("Error building the error response.", za); }, ua); } }); @@ -12105,8 +12115,8 @@ a000.D9b = function () { timeout: function () {}, error: function () {} }; - Ea = Bb.Class.create({ - init: function (ia, ua, xa, Ha, Aa, Oa, Da, Wa, Ya) { + Ca = Bb.Class.create({ + init: function (ia, ua, xa, Ha, za, Oa, Da, Wa, Ya) { var Xa; if (Da) { Xa = Da.builder; @@ -12139,7 +12149,7 @@ a000.D9b = function () { configurable: !1 }, _input: { - value: Aa, + value: za, writable: !0, enumerable: !1, configurable: !1 @@ -12204,17 +12214,17 @@ a000.D9b = function () { setAbort: function (ia) { this._abortFunc = ia; }, - execute: function (ia, ua, xa, Ha, Aa) { + execute: function (ia, ua, xa, Ha, za) { var Wa; function Oa(Ya) { function Xa(hb) { - cb(Aa, function () { + db(za, function () { var lb; lb = Ya.response; return hb ? hb : lb; }, Wa); } - cb(Aa, function () { + db(za, function () { var hb, lb; hb = Ya.response; @@ -12223,7 +12233,7 @@ a000.D9b = function () { this._ctrl.cleanupContext(this._ctx, Ya.requestHeader, lb); this._ctrl.buildErrorResponse(this, this._ctx, ia, Ya, lb, xa, { result: function (ob) { - cb(Aa, function () { + db(za, function () { var rb, sb, zb, @@ -12236,28 +12246,28 @@ a000.D9b = function () { rb = rb.msgCtx; if (this._ctx.isPeerToPeer()) this.execute(rb, zb, this._timeout, Ha, { - result: function (q) { - cb(Aa, function () { + result: function (r) { + db(za, function () { this._ctrl.releaseMasterToken(sb); - Xa(q); + Xa(r); }, Wa); }, timeout: function () { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(sb); - Aa.timeout(); + za.timeout(); }, Wa); }, - error: function (q) { - cb(Aa, function () { + error: function (r) { + db(za, function () { this._ctrl.releaseMasterToken(sb); - Aa.error(q); + za.error(r); }, Wa); } }); else { this._openedStreams && (this._input.close(), this._output.close(xa, Ga)); - wb = new Ea(this._ctrl, this._ctx, rb, this._remoteEntity, null, null, { + wb = new Ca(this._ctrl, this._ctx, rb, this._remoteEntity, null, null, { builder: zb, tokenTicket: sb }, Ha, this._timeout); @@ -12265,30 +12275,30 @@ a000.D9b = function () { wb.abort(); }); wb.call({ - result: function (q) { - Xa(q); + result: function (r) { + Xa(r); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, - error: function (q) { - Aa.error(q); + error: function (r) { + za.error(r); } }); } }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (ob) { - Aa.error(ob); + za.error(ob); } }); }, Wa); } function Da(Ya) { - cb(Aa, function () { + db(za, function () { var lb, ob, rb, @@ -12300,37 +12310,37 @@ a000.D9b = function () { wb ? Xa() : hb(); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (wb) { - Aa.error(wb); + za.error(wb); } }); } function hb() { - cb(Aa, function () { + db(za, function () { var wb; - wb = new Ba(Ya.payloads, ia); + wb = new Aa(Ya.payloads, ia); this._ctrl.buildResponse(this, this._ctx, ia, ob, xa, { - result: function (q) { - cb(Aa, function () { + result: function (r) { + db(za, function () { var b; - b = q.tokenTicket; - this.execute(wb, q.builder, this._timeout, Ha, { + b = r.tokenTicket; + this.execute(wb, r.builder, this._timeout, Ha, { result: function (a) { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); return a; }, Wa); }, timeout: function () { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); - Aa.timeout(); + za.timeout(); }, Wa); }, error: function (a) { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); throw a; }, Wa); @@ -12339,10 +12349,10 @@ a000.D9b = function () { }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, - error: function (q) { - Aa.error(q); + error: function (r) { + za.error(r); } }); }, Wa); @@ -12355,23 +12365,23 @@ a000.D9b = function () { if (!Ya.handshake || !rb) return lb; this._openedStreams && (this._input.close(), this._output.close(xa, Ga)); - sb = new Ba(Ya.payloads, ia); + sb = new Aa(Ya.payloads, ia); this._ctrl.buildResponse(this, this._ctx, ia, ob, xa, { result: function (wb) { - cb(Aa, function () { - var q; - q = new Ea(this._ctrl, this._ctx, sb, this._remoteEntity, null, null, wb, Ha, this._timeout); + db(za, function () { + var r; + r = new Ca(this._ctrl, this._ctx, sb, this._remoteEntity, null, null, wb, Ha, this._timeout); this.setAbort(function () { - q.abort(); + r.abort(); }); - q.call(Aa); + r.call(za); }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (wb) { - Aa.error(wb); + za.error(wb); } }); } else if (Ya.handshake && rb) @@ -12380,44 +12390,44 @@ a000.D9b = function () { zb = new sa(ia); this._ctrl.buildResponse(this, this._ctx, zb, ob, xa, { result: function (wb) { - cb(Aa, function () { - var q, + db(za, function () { + var r, b; - q = wb.builder; + r = wb.builder; b = wb.tokenTicket; lb.mark(); lb.read(1, this._timeout, { result: function (a) { - cb(Aa, function () { + db(za, function () { function c() { lb.read(32768, Wa._timeout, { result: function (k) { k ? c() : f(); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (k) { - Aa.error(k); + za.error(k); } }); } function f() { - Wa.execute(zb, q, Wa._timeout, Ha, { + Wa.execute(zb, r, Wa._timeout, Ha, { result: function (k) { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); return k; }, Wa); }, timeout: function () { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); - Aa.timeout(); + za.timeout(); }, Wa); }, error: function (k) { - cb(Aa, function () { + db(za, function () { this._ctrl.releaseMasterToken(b); throw k; }, Wa); @@ -12426,18 +12436,18 @@ a000.D9b = function () { } if (a) { if ((lb.reset(), 12 >= Ha + 1)) - (q.setRenewable(!1), this._ctrl.send(this, this._ctx, zb, this._output, q, this._timeout, { + (r.setRenewable(!1), this._ctrl.send(this, this._ctx, zb, this._output, r, this._timeout, { result: function (k) { - cb(Aa, function () { + db(za, function () { this.releaseMasterToken(b); return lb; }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (k) { - Aa.error(k); + za.error(k); } })); else @@ -12447,13 +12457,13 @@ a000.D9b = function () { }, Wa); }, timeout: function () { - cb(Aa, function () { + db(za, function () { this.releaseMasterToken(b); - Aa.timeout(); + za.timeout(); }, Wa); }, error: function (a) { - cb(Aa, function () { + db(za, function () { this.releaseMasterToken(b); throw a; }, Wa); @@ -12462,22 +12472,22 @@ a000.D9b = function () { }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (wb) { - Aa.error(wb); + za.error(wb); } }); } }, Wa); } Wa = this; - cb(Aa, function () { + db(za, function () { if (12 < Ha + 2) return null; this._ctrl.sendReceive(this, this._ctx, ia, this._input, this._output, ua, xa, !0, { result: function (Ya) { - cb(Aa, function () { + db(za, function () { var Xa; if (!Ya) return null; @@ -12487,37 +12497,37 @@ a000.D9b = function () { }, Wa); }, timeout: function () { - Aa.timeout(); + za.timeout(); }, error: function (Ya) { - Aa.error(Ya); + za.error(Ya); } }); }, Wa); }, call: function (ia) { var xa; - function ua(Ha, Aa, Oa) { - cb(ia, function () { + function ua(Ha, za, Oa) { + db(ia, function () { this.execute(this._msgCtx, Ha, Oa, this._msgCount, { result: function (Da) { - cb(ia, function () { - this._ctrl.releaseMasterToken(Aa); + db(ia, function () { + this._ctrl.releaseMasterToken(za); this._openedStreams && this._output.close(Oa, Ga); Da && Da.closeSource(this._openedStreams); return Da; }, xa); }, timeout: function () { - cb(ia, function () { - this._ctrl.releaseMasterToken(Aa); + db(ia, function () { + this._ctrl.releaseMasterToken(za); this._openedStreams && (this._output.close(Oa, Ga), this._input.close()); ia.timeout(); }, xa); }, error: function (Da) { - cb(ia, function () { - this._ctrl.releaseMasterToken(Aa); + db(ia, function () { + this._ctrl.releaseMasterToken(za); this._openedStreams && (this._output.close(Oa, Ga), this._input.close()); if (S(Da)) return null; @@ -12528,19 +12538,19 @@ a000.D9b = function () { }, xa); } xa = this; - cb(ia, function () { + db(ia, function () { var Ha, - Aa, + za, Oa; Ha = this._timeout; if (!this._input || !this._output) try { this._remoteEntity.setTimeout(this._timeout); - Aa = Date.now(); + za = Date.now(); Oa = this._remoteEntity.openConnection(); this._output = Oa.output; this._input = Oa.input; - -1 != Ha && (Ha = this._timeout - (Date.now() - Aa)); + -1 != Ha && (Ha = this._timeout - (Date.now() - za)); this._openedStreams = !0; } catch (Da) { this._builder && this._ctrl.releaseMasterToken(this._tokenTicket); @@ -12552,18 +12562,18 @@ a000.D9b = function () { } this._builder ? ua(this._builder, this._tokenTicket, Ha) : this._ctrl.buildRequest(this, this._ctx, this._msgCtx, this._timeout, { result: function (Da) { - cb(ia, function () { + db(ia, function () { ua(Da.builder, Da.tokenTicket, Ha); }, xa); }, timeout: function () { - cb(ia, function () { + db(ia, function () { this._openedStreams && (this._output.close(this._timeout, Ga), this._input.close()); ia.timeout(); }, xa); }, error: function (Da) { - cb(ia, function () { + db(ia, function () { this._openedStreams && (this._output.close(this._timeout, Ga), this._input.close()); if (S(Da)) return null; @@ -12603,7 +12613,7 @@ a000.D9b = function () { var Z; Z = fa.id; if (!Z) - throw new xb(U.JSON_PARSE_ERROR, JSON.stringify(fa)); + throw new xb(T.JSON_PARSE_ERROR, JSON.stringify(fa)); return new oe(Z); }; })(); @@ -12611,49 +12621,49 @@ a000.D9b = function () { isNewestMasterToken: function (fa, Z, ba) {}, isMasterTokenRevoked: function (fa, Z) {}, acceptNonReplayableId: function (fa, Z, ba, ha) {}, - createMasterToken: function (fa, Z, ba, ha, ea) {}, + createMasterToken: function (fa, Z, ba, ha, da) {}, isMasterTokenRenewable: function (fa, Z, ba) {}, - renewMasterToken: function (fa, Z, ba, ha, ea) {}, + renewMasterToken: function (fa, Z, ba, ha, da) {}, isUserIdTokenRevoked: function (fa, Z, ba, ha) {}, createUserIdToken: function (fa, Z, ba, ha) {}, renewUserIdToken: function (fa, Z, ba, ha) {} }); (function () { - function fa(Z, ba, ha, ea) { + function fa(Z, ba, ha, da) { this.sessiondata = Z; this.tokendata = ba; this.signature = ha; - this.verified = ea; + this.verified = da; } ic = Bb.Class.create({ - init: function (Z, ba, ha, ea, S, Y, pa, ma, qa, Ba, sa) { - var oa; - oa = this; + init: function (Z, ba, ha, da, S, X, oa, la, qa, Aa, sa) { + var na; + na = this; Ka(sa, function () { var W, aa, ca, - ka, + ja, Ga; if (ha.getTime() < ba.getTime()) throw new vb("Cannot construct a master token that expires before its renewal window opens."); - if (0 > ea || ea > Mb) - throw new vb("Sequence number " + ea + " is outside the valid range."); + if (0 > da || da > Mb) + throw new vb("Sequence number " + da + " is outside the valid range."); if (0 > S || S > Mb) throw new vb("Serial number " + S + " is outside the valid range."); W = Math.floor(ba.getTime() / 1E3); aa = Math.floor(ha.getTime() / 1E3); - if (Ba) - ca = Ba.sessiondata; + if (Aa) + ca = Aa.sessiondata; else { - ka = {}; - Y && (ka.issuerdata = Y); - ka.identity = pa; - ka.encryptionkey = Db(ma.toByteArray()); - ka.hmackey = Db(qa.toByteArray()); - ca = Sb(JSON.stringify(ka), Lb); - } - if (Ba) + ja = {}; + X && (ja.issuerdata = X); + ja.identity = oa; + ja.encryptionkey = Db(la.toByteArray()); + ja.hmackey = Db(qa.toByteArray()); + ca = Sb(JSON.stringify(ja), Lb); + } + if (Aa) return (Object.defineProperties(this, { ctx: { value: Z, @@ -12674,7 +12684,7 @@ a000.D9b = function () { configurable: !1 }, sequenceNumber: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -12684,17 +12694,17 @@ a000.D9b = function () { configurable: !1 }, issuerData: { - value: Y, + value: X, writable: !1, configurable: !1 }, identity: { - value: pa, + value: oa, writable: !1, configurable: !1 }, encryptionKey: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -12710,19 +12720,19 @@ a000.D9b = function () { configurable: !1 }, verified: { - value: Ba.verified, + value: Aa.verified, writable: !1, enumerable: !1, configurable: !1 }, tokendata: { - value: Ba.tokendata, + value: Aa.tokendata, writable: !1, enumerable: !1, configurable: !1 }, signature: { - value: Ba.signature, + value: Aa.signature, writable: !1, enumerable: !1, configurable: !1 @@ -12730,16 +12740,16 @@ a000.D9b = function () { }), this); Ga = Z.getMslCryptoContext(); Ga.encrypt(ca, { - result: function (Ea) { + result: function (Ca) { Ka(sa, function () { var Pa, Ra; Pa = {}; Pa.renewalwindow = W; Pa.expiration = aa; - Pa.sequencenumber = ea; + Pa.sequencenumber = da; Pa.serialnumber = S; - Pa.sessiondata = Db(Ea); + Pa.sessiondata = Db(Ca); Ra = Sb(JSON.stringify(Pa), Lb); Ga.sign(Ra, { result: function (ia) { @@ -12764,7 +12774,7 @@ a000.D9b = function () { configurable: !1 }, sequenceNumber: { - value: ea, + value: da, writable: !1, enumerable: !1, configurable: !1 @@ -12776,17 +12786,17 @@ a000.D9b = function () { configurable: !1 }, issuerData: { - value: Y, + value: X, writable: !1, configurable: !1 }, identity: { - value: pa, + value: oa, writable: !1, configurable: !1 }, encryptionKey: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -12821,16 +12831,16 @@ a000.D9b = function () { } }); return this; - }, oa); + }, na); }, error: function (ia) { sa.error(ia); } }); - }, oa); + }, na); }, - error: function (Ea) { - sa.error(Ea); + error: function (Ca) { + sa.error(Ca); } }); }, this); @@ -12880,111 +12890,111 @@ a000.D9b = function () { }); Tc = function (Z, ba, ha) { Ka(ha, function () { - var ea, + var da, S, - Y, - pa, - ma; - ea = Z.getMslCryptoContext(); + X, + oa, + la; + da = Z.getMslCryptoContext(); S = ba.tokendata; - Y = ba.signature; - if ("string" !== typeof S || "string" !== typeof Y) - throw new xb(U.JSON_PARSE_ERROR, "mastertoken " + JSON.stringify(ba)); + X = ba.signature; + if ("string" !== typeof S || "string" !== typeof X) + throw new xb(T.JSON_PARSE_ERROR, "mastertoken " + JSON.stringify(ba)); try { - pa = Fb(S); + oa = Fb(S); } catch (qa) { - throw new bb(U.MASTERTOKEN_TOKENDATA_INVALID, "mastertoken " + JSON.stringify(ba), qa); + throw new bb(T.MASTERTOKEN_TOKENDATA_INVALID, "mastertoken " + JSON.stringify(ba), qa); } - if (!pa || 0 == pa.length) - throw new xb(U.MASTERTOKEN_TOKENDATA_MISSING, "mastertoken " + JSON.stringify(ba)); + if (!oa || 0 == oa.length) + throw new xb(T.MASTERTOKEN_TOKENDATA_MISSING, "mastertoken " + JSON.stringify(ba)); try { - ma = Fb(Y); + la = Fb(X); } catch (qa) { - throw new bb(U.MASTERTOKEN_SIGNATURE_INVALID, "mastertoken " + JSON.stringify(ba), qa); + throw new bb(T.MASTERTOKEN_SIGNATURE_INVALID, "mastertoken " + JSON.stringify(ba), qa); } - ea.verify(pa, ma, { + da.verify(oa, la, { result: function (qa) { Ka(ha, function () { - var Ba, + var Aa, sa, - oa, + na, W, aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa; - Ba = Tb(pa, Lb); + Aa = Tb(oa, Lb); try { - sa = JSON.parse(Ba); - oa = parseInt(sa.renewalwindow); + sa = JSON.parse(Aa); + na = parseInt(sa.renewalwindow); W = parseInt(sa.expiration); aa = parseInt(sa.sequencenumber); ca = parseInt(sa.serialnumber); - ka = sa.sessiondata; + ja = sa.sessiondata; } catch (Ra) { if (Ra instanceof SyntaxError) - throw new xb(U.MASTERTOKEN_TOKENDATA_PARSE_ERROR, "mastertokendata " + Ba, Ra); + throw new xb(T.MASTERTOKEN_TOKENDATA_PARSE_ERROR, "mastertokendata " + Aa, Ra); throw Ra; } - if (!oa || oa != oa || !W || W != W || "number" !== typeof aa || aa != aa || "number" !== typeof ca || ca != ca || "string" !== typeof ka) - throw new xb(U.MASTERTOKEN_TOKENDATA_PARSE_ERROR, "mastertokendata " + Ba); - if (W < oa) - throw new bb(U.MASTERTOKEN_EXPIRES_BEFORE_RENEWAL, "mastertokendata " + Ba); + if (!na || na != na || !W || W != W || "number" !== typeof aa || aa != aa || "number" !== typeof ca || ca != ca || "string" !== typeof ja) + throw new xb(T.MASTERTOKEN_TOKENDATA_PARSE_ERROR, "mastertokendata " + Aa); + if (W < na) + throw new bb(T.MASTERTOKEN_EXPIRES_BEFORE_RENEWAL, "mastertokendata " + Aa); if (0 > aa || aa > Mb) - throw new bb(U.MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_RANGE, "mastertokendata " + Ba); + throw new bb(T.MASTERTOKEN_SEQUENCE_NUMBER_OUT_OF_RANGE, "mastertokendata " + Aa); if (0 > ca || ca > Mb) - throw new bb(U.MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "mastertokendata " + Ba); - Ga = new Date(1E3 * oa); - Ea = new Date(1E3 * W); + throw new bb(T.MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "mastertokendata " + Aa); + Ga = new Date(1E3 * na); + Ca = new Date(1E3 * W); try { - Pa = Fb(ka); + Pa = Fb(ja); } catch (Ra) { - throw new bb(U.MASTERTOKEN_SESSIONDATA_INVALID, ka, Ra); + throw new bb(T.MASTERTOKEN_SESSIONDATA_INVALID, ja, Ra); } if (!Pa || 0 == Pa.length) - throw new bb(U.MASTERTOKEN_SESSIONDATA_MISSING, ka); - qa ? ea.decrypt(Pa, { + throw new bb(T.MASTERTOKEN_SESSIONDATA_MISSING, ja); + qa ? da.decrypt(Pa, { result: function (Ra) { Ka(ha, function () { var ia, ua, xa, Ha, - Aa, + za, Oa; ia = Tb(Ra, Lb); try { ua = JSON.parse(ia); xa = ua.issuerdata; Ha = ua.identity; - Aa = ua.encryptionkey; + za = ua.encryptionkey; Oa = ua.hmackey; } catch (Da) { if (Da instanceof SyntaxError) - throw new xb(U.MASTERTOKEN_SESSIONDATA_PARSE_ERROR, "sessiondata " + ia, Da); + throw new xb(T.MASTERTOKEN_SESSIONDATA_PARSE_ERROR, "sessiondata " + ia, Da); throw Da; } - if (xa && "object" !== typeof xa || !Ha || "string" !== typeof Aa || "string" !== typeof Oa) - throw new xb(U.MASTERTOKEN_SESSIONDATA_PARSE_ERROR, "sessiondata " + ia); - yc(Aa, rc, Ic, { + if (xa && "object" !== typeof xa || !Ha || "string" !== typeof za || "string" !== typeof Oa) + throw new xb(T.MASTERTOKEN_SESSIONDATA_PARSE_ERROR, "sessiondata " + ia); + yc(za, rc, Ic, { result: function (Da) { yc(Oa, sc, Sc, { result: function (Wa) { Ka(ha, function () { var Ya; - Ya = new fa(Ra, pa, ma, qa); - new ic(Z, Ga, Ea, aa, ca, xa, Ha, Da, Wa, Ya, ha); + Ya = new fa(Ra, oa, la, qa); + new ic(Z, Ga, Ca, aa, ca, xa, Ha, Da, Wa, Ya, ha); }); }, error: function (Wa) { - ha.error(new tb(U.MASTERTOKEN_KEY_CREATION_ERROR, Wa)); + ha.error(new tb(T.MASTERTOKEN_KEY_CREATION_ERROR, Wa)); } }); }, error: function (Da) { - ha.error(new tb(U.MASTERTOKEN_KEY_CREATION_ERROR, Da)); + ha.error(new tb(T.MASTERTOKEN_KEY_CREATION_ERROR, Da)); } }); }); @@ -12992,7 +13002,7 @@ a000.D9b = function () { error: function (Ra) { ha.error(Ra); } - }) : (oa = new fa(null, pa, ma, qa), new ic(Z, Ga, Ea, aa, ca, null, null, null, null, oa, ha)); + }) : (na = new fa(null, oa, la, qa), new ic(Z, Ga, Ca, aa, ca, null, null, null, null, na, ha)); }); }, error: function (qa) { @@ -13009,31 +13019,31 @@ a000.D9b = function () { this.verified = ha; } $c = Bb.Class.create({ - init: function (Z, ba, ha, ea, S, Y, pa, ma, qa) { - var Ba; - Ba = this; + init: function (Z, ba, ha, da, S, X, oa, la, qa) { + var Aa; + Aa = this; Ka(qa, function () { var sa, - oa, + na, W, aa, ca, - ka, + ja, Ga; if (ha.getTime() < ba.getTime()) throw new vb("Cannot construct a user ID token that expires before its renewal window opens."); - if (!ea) + if (!da) throw new vb("Cannot construct a user ID token without a master token."); if (0 > S || S > Mb) throw new vb("Serial number " + S + " is outside the valid range."); sa = Math.floor(ba.getTime() / 1E3); - oa = Math.floor(ha.getTime() / 1E3); - W = ea.serialNumber; - if (ma) { - aa = ma.tokendata; - ca = ma.signature; - ka = ma.verified; - W = ea.serialNumber; + na = Math.floor(ha.getTime() / 1E3); + W = da.serialNumber; + if (la) { + aa = la.tokendata; + ca = la.signature; + ja = la.verified; + W = da.serialNumber; Object.defineProperties(this, { ctx: { value: Z, @@ -13048,7 +13058,7 @@ a000.D9b = function () { configurable: !1 }, expirationSeconds: { - value: oa, + value: na, writable: !1, enumerable: !1, configurable: !1 @@ -13064,17 +13074,17 @@ a000.D9b = function () { configurable: !1 }, issuerData: { - value: Y, + value: X, writable: !1, configurable: !1 }, customer: { - value: pa, + value: oa, writable: !1, configurable: !1 }, verified: { - value: ka, + value: ja, writable: !1, enumerable: !1, configurable: !1 @@ -13095,21 +13105,21 @@ a000.D9b = function () { return this; } aa = {}; - Y && (aa.issuerdata = Y); - aa.identity = pa; + X && (aa.issuerdata = X); + aa.identity = oa; aa = Sb(JSON.stringify(aa), Lb); Ga = Z.getMslCryptoContext(); Ga.encrypt(aa, { - result: function (Ea) { + result: function (Ca) { Ka(qa, function () { var Pa, Ra; Pa = {}; Pa.renewalwindow = sa; - Pa.expiration = oa; + Pa.expiration = na; Pa.mtserialnumber = W; Pa.serialnumber = S; - Pa.userdata = Db(Ea); + Pa.userdata = Db(Ca); Ra = Sb(JSON.stringify(Pa), Lb); Ga.sign(Ra, { result: function (ia) { @@ -13128,13 +13138,13 @@ a000.D9b = function () { configurable: !1 }, expirationSeconds: { - value: oa, + value: na, writable: !1, enumerable: !1, configurable: !1 }, mtSerialNumber: { - value: ea.serialNumber, + value: da.serialNumber, writable: !1, configurable: !1 }, @@ -13144,12 +13154,12 @@ a000.D9b = function () { configurable: !1 }, issuerData: { - value: Y, + value: X, writable: !1, configurable: !1 }, customer: { - value: pa, + value: oa, writable: !1, configurable: !1 }, @@ -13173,22 +13183,22 @@ a000.D9b = function () { } }); return this; - }, Ba); + }, Aa); }, error: function (ia) { Ka(qa, function () { - ia instanceof bb && ia.setEntity(ea); + ia instanceof bb && ia.setEntity(da); throw ia; - }, Ba); + }, Aa); } }); - }, Ba); + }, Aa); }, - error: function (Ea) { + error: function (Ca) { Ka(qa, function () { - Ea instanceof bb && Ea.setEntity(ea); - throw Ea; - }, Ba); + Ca instanceof bb && Ca.setEntity(da); + throw Ca; + }, Aa); } }); }, this); @@ -13228,117 +13238,117 @@ a000.D9b = function () { return this.serialNumber + ":" + this.mtSerialNumber; } }); - Uc = function (Z, ba, ha, ea) { - Ka(ea, function () { + Uc = function (Z, ba, ha, da) { + Ka(da, function () { var S, - Y, - pa, - ma, + X, + oa, + la, qa; S = Z.getMslCryptoContext(); - Y = ba.tokendata; - pa = ba.signature; - if ("string" !== typeof Y || "string" !== typeof pa) - throw new xb(U.JSON_PARSE_ERROR, "useridtoken " + JSON.stringify(ba)).setEntity(ha); + X = ba.tokendata; + oa = ba.signature; + if ("string" !== typeof X || "string" !== typeof oa) + throw new xb(T.JSON_PARSE_ERROR, "useridtoken " + JSON.stringify(ba)).setEntity(ha); try { - ma = Fb(Y); - } catch (Ba) { - throw new bb(U.USERIDTOKEN_TOKENDATA_INVALID, "useridtoken " + JSON.stringify(ba), Ba).setEntity(ha); + la = Fb(X); + } catch (Aa) { + throw new bb(T.USERIDTOKEN_TOKENDATA_INVALID, "useridtoken " + JSON.stringify(ba), Aa).setEntity(ha); } - if (!ma || 0 == ma.length) - throw new xb(U.USERIDTOKEN_TOKENDATA_MISSING, "useridtoken " + JSON.stringify(ba)).setEntity(ha); + if (!la || 0 == la.length) + throw new xb(T.USERIDTOKEN_TOKENDATA_MISSING, "useridtoken " + JSON.stringify(ba)).setEntity(ha); try { - qa = Fb(pa); - } catch (Ba) { - throw new bb(U.USERIDTOKEN_TOKENDATA_INVALID, "useridtoken " + JSON.stringify(ba), Ba).setEntity(ha); + qa = Fb(oa); + } catch (Aa) { + throw new bb(T.USERIDTOKEN_TOKENDATA_INVALID, "useridtoken " + JSON.stringify(ba), Aa).setEntity(ha); } - S.verify(ma, qa, { - result: function (Ba) { - Ka(ea, function () { + S.verify(la, qa, { + result: function (Aa) { + Ka(da, function () { var sa, - oa, + na, W, aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa, Ra; - sa = Tb(ma, Lb); + sa = Tb(la, Lb); try { - oa = JSON.parse(sa); - W = parseInt(oa.renewalwindow); - aa = parseInt(oa.expiration); - ca = parseInt(oa.mtserialnumber); - ka = parseInt(oa.serialnumber); - Ga = oa.userdata; + na = JSON.parse(sa); + W = parseInt(na.renewalwindow); + aa = parseInt(na.expiration); + ca = parseInt(na.mtserialnumber); + ja = parseInt(na.serialnumber); + Ga = na.userdata; } catch (ia) { if (ia instanceof SyntaxError) - throw new xb(U.USERIDTOKEN_TOKENDATA_PARSE_ERROR, "usertokendata " + sa, ia).setEntity(ha); + throw new xb(T.USERIDTOKEN_TOKENDATA_PARSE_ERROR, "usertokendata " + sa, ia).setEntity(ha); throw ia; } - if (!W || W != W || !aa || aa != aa || "number" !== typeof ca || ca != ca || "number" !== typeof ka || ka != ka || "string" !== typeof Ga) - throw new xb(U.USERIDTOKEN_TOKENDATA_PARSE_ERROR, "usertokendata " + sa).setEntity(ha); + if (!W || W != W || !aa || aa != aa || "number" !== typeof ca || ca != ca || "number" !== typeof ja || ja != ja || "string" !== typeof Ga) + throw new xb(T.USERIDTOKEN_TOKENDATA_PARSE_ERROR, "usertokendata " + sa).setEntity(ha); if (aa < W) - throw new bb(U.USERIDTOKEN_EXPIRES_BEFORE_RENEWAL, "mastertokendata " + sa).setEntity(ha); + throw new bb(T.USERIDTOKEN_EXPIRES_BEFORE_RENEWAL, "mastertokendata " + sa).setEntity(ha); if (0 > ca || ca > Mb) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "usertokendata " + sa).setEntity(ha); - if (0 > ka || ka > Mb) - throw new bb(U.USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "usertokendata " + sa).setEntity(ha); - Ea = new Date(1E3 * W); + throw new bb(T.USERIDTOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "usertokendata " + sa).setEntity(ha); + if (0 > ja || ja > Mb) + throw new bb(T.USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "usertokendata " + sa).setEntity(ha); + Ca = new Date(1E3 * W); Pa = new Date(1E3 * aa); if (!ha || ca != ha.serialNumber) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + ca + "; mt " + JSON.stringify(ha)).setEntity(ha); + throw new bb(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + ca + "; mt " + JSON.stringify(ha)).setEntity(ha); try { Ra = Fb(Ga); } catch (ia) { - throw new bb(U.USERIDTOKEN_USERDATA_INVALID, Ga, ia).setEntity(ha); + throw new bb(T.USERIDTOKEN_USERDATA_INVALID, Ga, ia).setEntity(ha); } if (!Ra || 0 == Ra.length) - throw new bb(U.USERIDTOKEN_USERDATA_MISSING, Ga).setEntity(ha); - Ba ? S.decrypt(Ra, { + throw new bb(T.USERIDTOKEN_USERDATA_MISSING, Ga).setEntity(ha); + Aa ? S.decrypt(Ra, { result: function (ia) { - Ka(ea, function () { + Ka(da, function () { var ua, xa, Ha, - Aa, + za, Oa; ua = Tb(ia, Lb); try { xa = JSON.parse(ua); Ha = xa.issuerdata; - Aa = xa.identity; + za = xa.identity; } catch (Da) { if (Da instanceof SyntaxError) - throw new xb(U.USERIDTOKEN_USERDATA_PARSE_ERROR, "userdata " + ua).setEntity(ha); + throw new xb(T.USERIDTOKEN_USERDATA_PARSE_ERROR, "userdata " + ua).setEntity(ha); throw Da; } - if (Ha && "object" !== typeof Ha || "object" !== typeof Aa) - throw new xb(U.USERIDTOKEN_USERDATA_PARSE_ERROR, "userdata " + ua).setEntity(ha); + if (Ha && "object" !== typeof Ha || "object" !== typeof za) + throw new xb(T.USERIDTOKEN_USERDATA_PARSE_ERROR, "userdata " + ua).setEntity(ha); try { - Oa = qf(Aa); + Oa = qf(za); } catch (Da) { - throw new bb(U.USERIDTOKEN_IDENTITY_INVALID, "userdata " + ua, Da).setEntity(ha); + throw new bb(T.USERIDTOKEN_IDENTITY_INVALID, "userdata " + ua, Da).setEntity(ha); } - Aa = new fa(ma, qa, Ba); - new $c(Z, Ea, Pa, ha, ka, Ha, Oa, Aa, ea); + za = new fa(la, qa, Aa); + new $c(Z, Ca, Pa, ha, ja, Ha, Oa, za, da); }); }, error: function (ia) { - Ka(ea, function () { + Ka(da, function () { ia instanceof bb && ia.setEntity(ha); throw ia; }); } - }) : (W = new fa(ma, qa, Ba), new $c(Z, Ea, Pa, ha, ka, null, null, W, ea)); + }) : (W = new fa(la, qa, Aa), new $c(Z, Ca, Pa, ha, ja, null, null, W, da)); }); }, - error: function (Ba) { - Ka(ea, function () { - Ba instanceof bb && Ba.setEntity(ha); - throw Ba; + error: function (Aa) { + Ka(da, function () { + Aa instanceof bb && Aa.setEntity(ha); + throw Aa; }); } }); @@ -13347,51 +13357,51 @@ a000.D9b = function () { })(); (function () { function fa(ba, ha) { - var ea, + var da, S, - Y; - ea = ba.tokendata; - if ("string" !== typeof ea) - throw new xb(U.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba)); + X; + da = ba.tokendata; + if ("string" !== typeof da) + throw new xb(T.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba)); try { - S = Fb(ea); - } catch (pa) { - throw new bb(U.SERVICETOKEN_TOKENDATA_INVALID, "servicetoken " + JSON.stringify(ba), pa); + S = Fb(da); + } catch (oa) { + throw new bb(T.SERVICETOKEN_TOKENDATA_INVALID, "servicetoken " + JSON.stringify(ba), oa); } if (!S || 0 == S.length) - throw new xb(U.SERVICETOKEN_TOKENDATA_MISSING, "servicetoken " + JSON.stringify(ba)); + throw new xb(T.SERVICETOKEN_TOKENDATA_MISSING, "servicetoken " + JSON.stringify(ba)); try { - Y = JSON.parse(Tb(S, Lb)).name; - } catch (pa) { - if (pa instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba), pa); - throw pa; + X = JSON.parse(Tb(S, Lb)).name; + } catch (oa) { + if (oa instanceof SyntaxError) + throw new xb(T.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba), oa); + throw oa; } - if (!Y) - throw new xb(U.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba)); - return ha[Y] ? ha[Y] : ha[""]; + if (!X) + throw new xb(T.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ba)); + return ha[X] ? ha[X] : ha[""]; } - function Z(ba, ha, ea) { + function Z(ba, ha, da) { this.tokendata = ba; this.signature = ha; - this.verified = ea; + this.verified = da; } Kc = Bb.Class.create({ - init: function (ba, ha, ea, S, Y, pa, ma, qa, Ba, sa) { - var oa; - oa = this; + init: function (ba, ha, da, S, X, oa, la, qa, Aa, sa) { + var na; + na = this; Ka(sa, function () { var W, aa, ca, - ka, + ja, Ga; - if (S && Y && !Y.isBoundTo(S)) + if (S && X && !X.isBoundTo(S)) throw new vb("Cannot construct a service token bound to a master token and user ID token where the user ID token is not bound to the same master token."); W = S ? S.serialNumber : -1; - aa = Y ? Y.serialNumber : -1; - if (Ba) - return (Ga = Ba.tokendata, Object.defineProperties(this, { + aa = X ? X.serialNumber : -1; + if (Aa) + return (Ga = Aa.tokendata, Object.defineProperties(this, { ctx: { value: ba, writable: !1, @@ -13414,23 +13424,23 @@ a000.D9b = function () { configurable: !1 }, data: { - value: ea, + value: da, writable: !1, configurable: !1 }, encrypted: { - value: pa, + value: oa, writable: !1, enumerable: !1, configurable: !1 }, compressionAlgo: { - value: ma, + value: la, writable: !1, configurable: !1 }, verified: { - value: Ba.verified, + value: Aa.verified, writable: !1, enumerable: !1, configurable: !1 @@ -13442,29 +13452,29 @@ a000.D9b = function () { configurable: !1 }, signature: { - value: Ba.signature, + value: Aa.signature, writable: !1, enumerable: !1, configurable: !1 } }), this); - if (ma) { - ca = ne(ma, ea); - ca.length < ea.length || (ma = null, ca = ea); - } else (ma = null, ca = ea); - ka = {}; - ka.name = ha; - -1 != W && (ka.mtserialnumber = W); - -1 != aa && (ka.uitserialnumber = aa); - ka.encrypted = pa; - ma && (ka.compressionalgo = ma); - if (pa && 0 < ca.length) + if (la) { + ca = ne(la, da); + ca.length < da.length || (la = null, ca = da); + } else (la = null, ca = da); + ja = {}; + ja.name = ha; + -1 != W && (ja.mtserialnumber = W); + -1 != aa && (ja.uitserialnumber = aa); + ja.encrypted = oa; + la && (ja.compressionalgo = la); + if (oa && 0 < ca.length) qa.encrypt(ca, { - result: function (Ea) { + result: function (Ca) { Ka(sa, function () { var Pa; - ka.servicedata = Db(Ea); - Pa = Sb(JSON.stringify(ka), Lb); + ja.servicedata = Db(Ca); + Pa = Sb(JSON.stringify(ja), Lb); qa.sign(Pa, { result: function (Ra) { Ka(sa, function () { @@ -13491,18 +13501,18 @@ a000.D9b = function () { configurable: !1 }, data: { - value: ea, + value: da, writable: !1, configurable: !1 }, encrypted: { - value: pa, + value: oa, writable: !1, enumerable: !1, configurable: !1 }, compressionAlgo: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -13526,29 +13536,29 @@ a000.D9b = function () { } }); return this; - }, oa); + }, na); }, error: function (Ra) { Ka(sa, function () { - Ra instanceof bb && (Ra.setEntity(S), Ra.setUser(Y)); + Ra instanceof bb && (Ra.setEntity(S), Ra.setUser(X)); throw Ra; }); } }); - }, oa); + }, na); }, - error: function (Ea) { + error: function (Ca) { Ka(sa, function () { - Ea instanceof bb && (Ea.setEntity(S), Ea.setUser(Y)); - throw Ea; + Ca instanceof bb && (Ca.setEntity(S), Ca.setUser(X)); + throw Ca; }); } }); else { - ka.servicedata = Db(ca); - Ga = Sb(JSON.stringify(ka), Lb); + ja.servicedata = Db(ca); + Ga = Sb(JSON.stringify(ja), Lb); qa.sign(Ga, { - result: function (Ea) { + result: function (Ca) { Ka(sa, function () { Object.defineProperties(this, { ctx: { @@ -13573,18 +13583,18 @@ a000.D9b = function () { configurable: !1 }, data: { - value: ea, + value: da, writable: !1, configurable: !1 }, encrypted: { - value: pa, + value: oa, writable: !1, enumerable: !1, configurable: !1 }, compressionAlgo: { - value: ma, + value: la, writable: !1, configurable: !1 }, @@ -13601,19 +13611,19 @@ a000.D9b = function () { configurable: !1 }, signature: { - value: Ea, + value: Ca, writable: !1, enumerable: !1, configurable: !1 } }); return this; - }, oa); + }, na); }, - error: function (Ea) { + error: function (Ca) { Ka(sa, function () { - Ea instanceof bb && (Ea.setEntity(S), Ea.setUser(Y)); - throw Ea; + Ca instanceof bb && (Ca.setEntity(S), Ca.setUser(X)); + throw Ca; }); } }); @@ -13658,118 +13668,118 @@ a000.D9b = function () { return this.name + ":" + this.mtSerialNumber + ":" + this.uitSerialNumber; } }); - Cc = function (ba, ha, ea, S, Y, pa, ma, qa, Ba) { - new Kc(ba, ha, ea, S, Y, pa, ma, qa, null, Ba); + Cc = function (ba, ha, da, S, X, oa, la, qa, Aa) { + new Kc(ba, ha, da, S, X, oa, la, qa, null, Aa); }; - Hd = function (ba, ha, ea, S, Y, pa) { - Ka(pa, function () { - var ma, + Hd = function (ba, ha, da, S, X, oa) { + Ka(oa, function () { + var la, qa, - Ba, + Aa, sa, - oa, + na, W, aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa, Ra; - !Y || Y instanceof ad || (Y = fa(ha, Y)); - ma = ha.tokendata; + !X || X instanceof ad || (X = fa(ha, X)); + la = ha.tokendata; qa = ha.signature; - if ("string" !== typeof ma || "string" !== typeof qa) - throw new xb(U.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ha)).setEntity(ea).setEntity(S); + if ("string" !== typeof la || "string" !== typeof qa) + throw new xb(T.JSON_PARSE_ERROR, "servicetoken " + JSON.stringify(ha)).setEntity(da).setEntity(S); try { - Ba = Fb(ma); + Aa = Fb(la); } catch (ia) { - throw new bb(U.SERVICETOKEN_TOKENDATA_INVALID, "servicetoken " + JSON.stringify(ha), ia).setEntity(ea).setEntity(S); + throw new bb(T.SERVICETOKEN_TOKENDATA_INVALID, "servicetoken " + JSON.stringify(ha), ia).setEntity(da).setEntity(S); } - if (!Ba || 0 == Ba.length) - throw new xb(U.SERVICETOKEN_TOKENDATA_MISSING, "servicetoken " + JSON.stringify(ha)).setEntity(ea).setEntity(S); + if (!Aa || 0 == Aa.length) + throw new xb(T.SERVICETOKEN_TOKENDATA_MISSING, "servicetoken " + JSON.stringify(ha)).setEntity(da).setEntity(S); try { sa = Fb(qa); } catch (ia) { - throw new bb(U.SERVICETOKEN_SIGNATURE_INVALID, "servicetoken " + JSON.stringify(ha), ia).setEntity(ea).setEntity(S); + throw new bb(T.SERVICETOKEN_SIGNATURE_INVALID, "servicetoken " + JSON.stringify(ha), ia).setEntity(da).setEntity(S); } - oa = Tb(Ba, Lb); + na = Tb(Aa, Lb); try { - W = JSON.parse(oa); + W = JSON.parse(na); aa = W.name; ca = W.mtserialnumber ? parseInt(W.mtserialnumber) : -1; - ka = W.uitserialnumber ? parseInt(W.uitserialnumber) : -1; + ja = W.uitserialnumber ? parseInt(W.uitserialnumber) : -1; Ga = W.encrypted; - Ea = W.compressionalgo; + Ca = W.compressionalgo; Pa = W.servicedata; } catch (ia) { if (ia instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "servicetokendata " + oa, ia).setEntity(ea).setEntity(S); + throw new xb(T.JSON_PARSE_ERROR, "servicetokendata " + na, ia).setEntity(da).setEntity(S); throw ia; } - if (!aa || "number" !== typeof ca || ca != ca || "number" !== typeof ka || ka != ka || "boolean" !== typeof Ga || Ea && "string" !== typeof Ea || "string" !== typeof Pa) - throw new xb(U.JSON_PARSE_ERROR, "servicetokendata " + oa).setEntity(ea).setEntity(S); + if (!aa || "number" !== typeof ca || ca != ca || "number" !== typeof ja || ja != ja || "boolean" !== typeof Ga || Ca && "string" !== typeof Ca || "string" !== typeof Pa) + throw new xb(T.JSON_PARSE_ERROR, "servicetokendata " + na).setEntity(da).setEntity(S); if (W.mtserialnumber && 0 > ca || ca > Mb) - throw new bb(U.SERVICETOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "servicetokendata " + oa).setEntity(ea).setEntity(S); - if (W.uitserialnumber && 0 > ka || ka > Mb) - throw new bb(U.SERVICETOKEN_USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "servicetokendata " + oa).setEntity(ea).setEntity(S); - if (-1 != ca && (!ea || ca != ea.serialNumber)) - throw new bb(U.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st mtserialnumber " + ca + "; mt " + ea).setEntity(ea).setEntity(S); - if (-1 != ka && (!S || ka != S.serialNumber)) - throw new bb(U.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st uitserialnumber " + ka + "; uit " + S).setEntity(ea).setEntity(S); + throw new bb(T.SERVICETOKEN_MASTERTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "servicetokendata " + na).setEntity(da).setEntity(S); + if (W.uitserialnumber && 0 > ja || ja > Mb) + throw new bb(T.SERVICETOKEN_USERIDTOKEN_SERIAL_NUMBER_OUT_OF_RANGE, "servicetokendata " + na).setEntity(da).setEntity(S); + if (-1 != ca && (!da || ca != da.serialNumber)) + throw new bb(T.SERVICETOKEN_MASTERTOKEN_MISMATCH, "st mtserialnumber " + ca + "; mt " + da).setEntity(da).setEntity(S); + if (-1 != ja && (!S || ja != S.serialNumber)) + throw new bb(T.SERVICETOKEN_USERIDTOKEN_MISMATCH, "st uitserialnumber " + ja + "; uit " + S).setEntity(da).setEntity(S); Ga = !0 === Ga; - if (Ea) { - if (!Pc[Ea]) - throw new bb(U.UNIDENTIFIED_COMPRESSION, Ea); - Ra = Ea; + if (Ca) { + if (!Pc[Ca]) + throw new bb(T.UNIDENTIFIED_COMPRESSION, Ca); + Ra = Ca; } else Ra = null; - Y ? Y.verify(Ba, sa, { + X ? X.verify(Aa, sa, { result: function (ia) { - Ka(pa, function () { + Ka(oa, function () { var ua, xa; if (ia) { try { ua = Fb(Pa); } catch (Ha) { - throw new bb(U.SERVICETOKEN_SERVICEDATA_INVALID, "servicetokendata " + oa, Ha).setEntity(ea).setEntity(S); + throw new bb(T.SERVICETOKEN_SERVICEDATA_INVALID, "servicetokendata " + na, Ha).setEntity(da).setEntity(S); } if (!ua || 0 != Pa.length && 0 == ua.length) - throw new bb(U.SERVICETOKEN_SERVICEDATA_INVALID, "servicetokendata " + oa).setEntity(ea).setEntity(S); + throw new bb(T.SERVICETOKEN_SERVICEDATA_INVALID, "servicetokendata " + na).setEntity(da).setEntity(S); if (Ga && 0 < ua.length) - Y.decrypt(ua, { + X.decrypt(ua, { result: function (Ha) { - Ka(pa, function () { - var Aa, + Ka(oa, function () { + var za, Oa; - Aa = Ra ? Id(Ra, Ha) : Ha; - Oa = new Z(Ba, sa, ia); - new Kc(ba, aa, Aa, -1 != ca ? ea : null, -1 != ka ? S : null, Ga, Ra, Y, Oa, pa); + za = Ra ? Id(Ra, Ha) : Ha; + Oa = new Z(Aa, sa, ia); + new Kc(ba, aa, za, -1 != ca ? da : null, -1 != ja ? S : null, Ga, Ra, X, Oa, oa); }); }, error: function (Ha) { - Ka(pa, function () { - Ha instanceof bb && (Ha.setEntity(ea), Ha.setUser(S)); + Ka(oa, function () { + Ha instanceof bb && (Ha.setEntity(da), Ha.setUser(S)); throw Ha; }); } }); else { ua = Ra ? Id(Ra, ua) : ua; - xa = new Z(Ba, sa, ia); - new Kc(ba, aa, ua, -1 != ca ? ea : null, -1 != ka ? S : null, Ga, Ra, Y, xa, pa); + xa = new Z(Aa, sa, ia); + new Kc(ba, aa, ua, -1 != ca ? da : null, -1 != ja ? S : null, Ga, Ra, X, xa, oa); } - } else (ua = "" == Pa ? new Uint8Array(0) : null, xa = new Z(Ba, sa, ia), new Kc(ba, aa, ua, -1 != ca ? ea : null, -1 != ka ? S : null, Ga, Ra, Y, xa, pa)); + } else (ua = "" == Pa ? new Uint8Array(0) : null, xa = new Z(Aa, sa, ia), new Kc(ba, aa, ua, -1 != ca ? da : null, -1 != ja ? S : null, Ga, Ra, X, xa, oa)); }); }, error: function (ia) { - Ka(pa, function () { - ia instanceof bb && (ia.setEntity(ea), ia.setUser(S)); + Ka(oa, function () { + ia instanceof bb && (ia.setEntity(da), ia.setUser(S)); throw ia; }); } - }) : (ma = "" == Pa ? new Uint8Array(0) : null, qa = new Z(Ba, sa, !1), new Kc(ba, aa, ma, -1 != ca ? ea : null, -1 != ka ? S : null, Ga, Ra, Y, qa, pa)); + }) : (la = "" == Pa ? new Uint8Array(0) : null, qa = new Z(Aa, sa, !1), new Kc(ba, aa, la, -1 != ca ? da : null, -1 != ja ? S : null, Ga, Ra, X, qa, oa)); }); }; })(); @@ -13806,19 +13816,19 @@ a000.D9b = function () { }); ef = function (fa, Z, ba, ha) { Ka(ha, function () { - var ea, + var da, S, - Y; - ea = ba.scheme; + X; + da = ba.scheme; S = ba.authdata; - if (!ea || !S) - throw new xb(U.JSON_PARSE_ERROR, "userauthdata " + JSON.stringify(ba)); - if (!$b[ea]) - throw new Gb(U.UNIDENTIFIED_USERAUTH_SCHEME, ea); - Y = fa.getUserAuthenticationFactory(ea); - if (!Y) - throw new Gb(U.USERAUTH_FACTORY_NOT_FOUND, ea); - Y.createData(fa, Z, S, ha); + if (!da || !S) + throw new xb(T.JSON_PARSE_ERROR, "userauthdata " + JSON.stringify(ba)); + if (!$b[da]) + throw new Gb(T.UNIDENTIFIED_USERAUTH_SCHEME, da); + X = fa.getUserAuthenticationFactory(da); + if (!X) + throw new Gb(T.USERAUTH_FACTORY_NOT_FOUND, da); + X.createData(fa, Z, S, ha); }); }; })(); @@ -13865,36 +13875,36 @@ a000.D9b = function () { }); rf = function (ba) { var ha, - ea; + da; ha = ba.netflixid; - ea = ba.securenetflixid; + da = ba.securenetflixid; if (!ha) - throw new xb(U.JSON_PARSE_ERROR, "NetflixId authdata " + JSON.stringify(ba)); - return new Xc(ha, ea); + throw new xb(T.JSON_PARSE_ERROR, "NetflixId authdata " + JSON.stringify(ba)); + return new Xc(ha, da); }; })(); Uf = md.extend({ init: function Z() { Z.base.call(this, $b.NETFLIXID); }, - createData: function (Z, ba, ha, ea) { - Ka(ea, function () { + createData: function (Z, ba, ha, da) { + Ka(da, function () { return rf(ha); }); }, - authenticate: function (Z, ba, ha, ea) { + authenticate: function (Z, ba, ha, da) { if (!(ha instanceof Xc)) throw new vb("Incorrect authentication data type " + ha + "."); Z = ha.secureNetflixId; if (!ha.netflixId || !Z) - throw new Gb(U.NETFLIXID_COOKIES_BLANK).setUser(ha); - throw new Gb(U.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(ha); + throw new Gb(T.NETFLIXID_COOKIES_BLANK).setUser(ha); + throw new Gb(T.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(ha); } }); (function () { nd = Hc.extend({ - init: function ea(ba, ha) { - ea.base.call(this, $b.EMAIL_PASSWORD); + init: function da(ba, ha) { + da.base.call(this, $b.EMAIL_PASSWORD); Object.defineProperties(this, { email: { value: ba, @@ -13915,47 +13925,47 @@ a000.D9b = function () { ba.password = this.password; return ba; }, - equals: function ea(ha) { - return this === ha ? !0 : ha instanceof nd ? ea.base.call(this, this, ha) && this.email == ha.email && this.password == ha.password : !1; + equals: function da(ha) { + return this === ha ? !0 : ha instanceof nd ? da.base.call(this, this, ha) && this.email == ha.email && this.password == ha.password : !1; } }); sf = function (ha) { - var ea, + var da, S; - ea = ha.email; + da = ha.email; S = ha.password; - if (!ea || !S) - throw new xb(U.JSON_PARSE_ERROR, "email/password authdata " + JSON.stringify(ha)); - return new nd(ea, S); + if (!da || !S) + throw new xb(T.JSON_PARSE_ERROR, "email/password authdata " + JSON.stringify(ha)); + return new nd(da, S); }; })(); Vf = md.extend({ init: function ba() { ba.base.call(this, $b.EMAIL_PASSWORD); }, - createData: function (ba, ha, ea, S) { + createData: function (ba, ha, da, S) { Ka(S, function () { - return sf(ea); + return sf(da); }); }, - authenticate: function (ba, ha, ea, S) { - if (!(ea instanceof nd)) - throw new vb("Incorrect authentication data type " + ea + "."); - ba = ea.password; - if (!ea.email || !ba) - throw new Gb(U.EMAILPASSWORD_BLANK).setUser(ea); - throw new Gb(U.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(ea); + authenticate: function (ba, ha, da, S) { + if (!(da instanceof nd)) + throw new vb("Incorrect authentication data type " + da + "."); + ba = da.password; + if (!da.email || !ba) + throw new Gb(T.EMAILPASSWORD_BLANK).setUser(da); + throw new Gb(T.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(da); } }); (function () { var S, - Y, - pa, - ma, + X, + oa, + la, qa, - Ba, + Aa, sa, - oa; + na; function ba(W, aa) { return "<" + W + ">" + aa + ""; } @@ -13964,7 +13974,7 @@ a000.D9b = function () { return qa[aa]; }); } - function ea(W) { + function da(W) { return encodeURIComponent(W).replace("%20", "+").replace(/[!'()]/g, escape).replace(/\*/g, "%2A"); } S = Ld = { @@ -13972,7 +13982,7 @@ a000.D9b = function () { NTBA: "NTBA", MSL_LEGACY: "MSL_LEGACY" }; - Y = Bb.Class.create({ + X = Bb.Class.create({ getAction: function () {}, getNonce: function () {}, getPin: function () {}, @@ -13980,26 +13990,26 @@ a000.D9b = function () { getEncoding: function () {}, equals: function () {} }); - pa = pe = Y.extend({ - init: function (W, aa, ca, ka, Ga, Ea, Pa) { + oa = pe = X.extend({ + init: function (W, aa, ca, ja, Ga, Ca, Pa) { var ua; function Ra(xa) { Ka(Pa, function () { var Ha, - Aa; + za; try { Ha = {}; Ha.useridtoken = W; Ha.action = aa; Ha.nonce = ca; Ha.pin = Db(xa); - Aa = Sb(JSON.stringify(Ha), Lb); + za = Sb(JSON.stringify(Ha), Lb); } catch (Oa) { - throw new xb(U.JSON_ENCODE_ERROR, "MSL-based MDX authdata", Oa); + throw new xb(T.JSON_ENCODE_ERROR, "MSL-based MDX authdata", Oa); } - Ga.sign(Aa, { + Ga.sign(za, { result: function (Oa) { - ia(Aa, Oa); + ia(za, Oa); }, error: Pa.error }); @@ -14027,7 +14037,7 @@ a000.D9b = function () { configurable: !1 }, _pin: { - value: ka, + value: ja, writable: !1, enumerable: !1, configurable: !1 @@ -14050,7 +14060,7 @@ a000.D9b = function () { } ua = this; Ka(Pa, function () { - Ea ? ia(Ea.encoding, Ea.signature) : Ga.encrypt(Sb(ka, Lb), { + Ca ? ia(Ca.encoding, Ca.signature) : Ga.encrypt(Sb(ja, Lb), { result: function (xa) { Ra(xa); }, @@ -14077,45 +14087,45 @@ a000.D9b = function () { return this._encoding; }, equals: function (W) { - return this === W ? !0 : W instanceof pa ? this._action == W._action && this._nonce == W._nonce && this._pin == W._pin && this._userIdToken.equals(W._userIdToken) : !1; + return this === W ? !0 : W instanceof oa ? this._action == W._action && this._nonce == W._nonce && this._pin == W._pin && this._userIdToken.equals(W._userIdToken) : !1; } }); pe.ACTION = "userauth"; - ma = function (W, aa, ca, ka, Ga) { - function Ea(Ra) { + la = function (W, aa, ca, ja, Ga) { + function Ca(Ra) { Ka(Ga, function () { var ia, ua, xa, Ha, - Aa, + za, Oa; ia = Tb(ca, Lb); try { ua = JSON.parse(ia); xa = ua.useridtoken; Ha = ua.action; - Aa = ua.nonce; + za = ua.nonce; Oa = ua.pin; } catch (Da) { if (Da instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + ia, Da); + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + ia, Da); throw Da; } - if (!(xa && "object" === typeof xa && Ha && "string" === typeof Ha && Aa && "number" === typeof Aa && Oa) || "string" !== typeof Oa) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + ia); + if (!(xa && "object" === typeof xa && Ha && "string" === typeof Ha && za && "number" === typeof za && Oa) || "string" !== typeof Oa) + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + ia); Uc(W, xa, aa, { result: function (Da) { Ka(Ga, function () { if (!Da.isDecrypted()) - throw new Gb(U.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "MDX authdata " + ia); - Pa(Ra, Da, Ha, Aa, Oa); + throw new Gb(T.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "MDX authdata " + ia); + Pa(Ra, Da, Ha, za, Oa); }); }, error: function (Da) { Ka(Ga, function () { if (Da instanceof bb) - throw new Gb(U.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + ia, Da); + throw new Gb(T.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + ia, Da); throw Da; }); } @@ -14124,16 +14134,16 @@ a000.D9b = function () { } function Pa(Ra, ia, ua, xa, Ha) { Ka(Ga, function () { - var Aa; - Aa = Fb(Ha); - Ra.decrypt(Aa, { + var za; + za = Fb(Ha); + Ra.decrypt(za, { result: function (Oa) { Ka(Ga, function () { var Da; Da = Tb(Oa, Lb); - new pa(ia, ua, xa, Da, null, { + new oa(ia, ua, xa, Da, null, { encoding: ca, - signature: ka + signature: ja }, Ga); }); }, @@ -14149,15 +14159,15 @@ a000.D9b = function () { ia = Ra ? Ra : new jc(W, aa); } catch (ua) { if (ua instanceof Rc) - throw new Gb(U.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + Db(ca)); + throw new Gb(T.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + Db(ca)); throw ua; } - ia.verify(ca, ka, { + ia.verify(ca, ja, { result: function (ua) { Ka(Ga, function () { if (!ua) - throw new tb(U.MDX_USERAUTH_VERIFICATION_FAILED, "MDX authdata " + Db(ca)); - Ea(ia); + throw new tb(T.MDX_USERAUTH_VERIFICATION_FAILED, "MDX authdata " + Db(ca)); + Ca(ia); }); }, error: Ga.error @@ -14171,14 +14181,14 @@ a000.D9b = function () { '"': """, "'": "'" }; - Ba = od = Y.extend({ - init: function (W, aa, ca, ka) { + Aa = od = X.extend({ + init: function (W, aa, ca, ja) { var Ga, - Ea; + Ca; Ga = ba("action", ha(W)); - Ea = ba("nonce", aa.toString()); + Ca = ba("nonce", aa.toString()); ca = ba("pin", ca); - Ga = ba("registerdata", Ga + Ea + ca); + Ga = ba("registerdata", Ga + Ca + ca); Ga = Sb(Ga, "utf-8"); Object.defineProperties(this, { _action: { @@ -14206,7 +14216,7 @@ a000.D9b = function () { configurable: !1 }, _signature: { - value: ka, + value: ja, writable: !1, enumerable: !1, configurable: !1 @@ -14229,37 +14239,37 @@ a000.D9b = function () { return this._encoding; }, equals: function (W) { - return this === W ? !0 : W instanceof Ba ? this._action == W._action && this._nonce == W._nonce && this._pin == W._pin : !1; + return this === W ? !0 : W instanceof Aa ? this._action == W._action && this._nonce == W._nonce && this._pin == W._pin : !1; } }); od.ACTION = "regpairrequest"; - sa = qe = Y.extend({ - init: function (W, aa, ca, ka, Ga, Ea) { + sa = qe = X.extend({ + init: function (W, aa, ca, ja, Ga, Ca) { var ia; function Pa(ua) { - Ka(Ea, function () { + Ka(Ca, function () { var xa, Ha, - Aa, + za, Oa, Da; xa = Db(ua); Ha = ba("action", ha(W)); - Aa = ba("nonce", aa.toString()); + za = ba("nonce", aa.toString()); Oa = ba("pin", xa); - Ha = ba("registerdata", Ha + Aa + Oa); + Ha = ba("registerdata", Ha + za + Oa); Da = Sb(Ha, "utf-8"); - xa = "action=" + ea(W) + "&nonce=" + ea(aa.toString()) + "&pin=" + ea(xa); - ka.sign(Sb(xa, "utf-8"), { + xa = "action=" + da(W) + "&nonce=" + da(aa.toString()) + "&pin=" + da(xa); + ja.sign(Sb(xa, "utf-8"), { result: function (Wa) { Ra(Da, Wa); }, - error: Ea.error + error: Ca.error }); }, ia); } function Ra(ua, xa) { - Ka(Ea, function () { + Ka(Ca, function () { Object.defineProperties(this, { _action: { value: W, @@ -14296,12 +14306,12 @@ a000.D9b = function () { }, ia); } ia = this; - Ka(Ea, function () { - Ga ? Ra(Ga.encoding, Ga.signature) : ka.encrypt(Sb(ca, "utf-8"), { + Ka(Ca, function () { + Ga ? Ra(Ga.encoding, Ga.signature) : ja.encrypt(Sb(ca, "utf-8"), { result: function (ua) { Pa(ua); }, - error: Ea.error + error: Ca.error }); }, ia); }, @@ -14325,34 +14335,34 @@ a000.D9b = function () { } }); qe.ACTION = od.ACTION; - oa = function (W, aa, ca, ka, Ga) { + na = function (W, aa, ca, ja, Ga) { Ka(Ga, function () { - var Ea, + var Ca, Pa, Ra, ia, ua, xa, Ha; - Ea = W.getMslStore().getCryptoContext(aa); - Pa = Ea ? Ea : new jc(W, aa); - Ea = Tb(ca, "utf-8"); - Ra = new DOMParser().parseFromString(Ea, "application/xml"); - Ea = Ra.getElementsByTagName("action"); + Ca = W.getMslStore().getCryptoContext(aa); + Pa = Ca ? Ca : new jc(W, aa); + Ca = Tb(ca, "utf-8"); + Ra = new DOMParser().parseFromString(Ca, "application/xml"); + Ca = Ra.getElementsByTagName("action"); ia = Ra.getElementsByTagName("nonce"); Ra = Ra.getElementsByTagName("pin"); - ua = Ea && 1 == Ea.length && Ea[0].firstChild ? Ea[0].firstChild.nodeValue : null; + ua = Ca && 1 == Ca.length && Ca[0].firstChild ? Ca[0].firstChild.nodeValue : null; xa = ia && 1 == ia.length && ia[0].firstChild ? parseInt(ia[0].firstChild.nodeValue) : null; Ha = Ra && 1 == Ra.length && Ra[0].firstChild ? Ra[0].firstChild.nodeValue : null; if (!ua || !xa || !Ha) - throw new xb(U.XML_PARSE_ERROR, "MDX authdata " + Db(ca)); - Ea = "action=" + ea(ua) + "&nonce=" + ea(xa.toString()) + "&pin=" + ea(Ha); - Pa.verify(Sb(Ea, "utf-8"), ka, { - result: function (Aa) { + throw new xb(T.XML_PARSE_ERROR, "MDX authdata " + Db(ca)); + Ca = "action=" + da(ua) + "&nonce=" + da(xa.toString()) + "&pin=" + da(Ha); + Pa.verify(Sb(Ca, "utf-8"), ja, { + result: function (za) { Ka(Ga, function () { var Oa; - if (!Aa) - throw new tb(U.MDX_USERAUTH_VERIFICATION_FAILED, "MDX authdata " + Db(ca)); + if (!za) + throw new tb(T.MDX_USERAUTH_VERIFICATION_FAILED, "MDX authdata " + Db(ca)); Oa = Fb(Ha); Pa.decrypt(Oa, { result: function (Da) { @@ -14361,7 +14371,7 @@ a000.D9b = function () { Wa = Tb(Da, "utf-8"); new sa(ua, xa, Wa, null, { encoding: ca, - signature: ka + signature: ja }, Ga); }); }, @@ -14374,33 +14384,33 @@ a000.D9b = function () { }); }; dd = Hc.extend({ - init: function Ra(aa, ca, ka, Ga, Ea, Pa) { + init: function Ra(aa, ca, ja, Ga, Ca, Pa) { var ia, ua, xa, Ha, - Aa, + za, Oa; Ra.base.call(this, $b.MDX); ia = null; ua = null; xa = null; - if ("string" === typeof ka) - (aa = S.MSL_LEGACY, xa = ka); - else if (ka instanceof Uint8Array) - (aa = S.NTBA, ua = ka); - else if (ka instanceof ic) - (aa = S.MSL, ia = ka); + if ("string" === typeof ja) + (aa = S.MSL_LEGACY, xa = ja); + else if (ja instanceof Uint8Array) + (aa = S.NTBA, ua = ja); + else if (ja instanceof ic) + (aa = S.MSL, ia = ja); else - throw new TypeError("Controller token " + ka + " is not a master token, encrypted CTicket, or MSL token construct."); - Ha = ka = null; - Aa = null; + throw new TypeError("Controller token " + ja + " is not a master token, encrypted CTicket, or MSL token construct."); + Ha = ja = null; + za = null; if (Pa) { Oa = Pa.controllerAuthData; - ka = Oa.getAction(); + ja = Oa.getAction(); Ha = Oa.getPin(); Pa = Pa.userIdToken; - Oa instanceof pa ? Aa = Oa.getUserIdToken().customer : Pa && (Aa = Pa.customer); + Oa instanceof oa ? za = Oa.getUserIdToken().customer : Pa && (za = Pa.customer); } Object.defineProperties(this, { mechanism: { @@ -14409,7 +14419,7 @@ a000.D9b = function () { configurable: !1 }, action: { - value: ka, + value: ja, writable: !1, configurable: !1 }, @@ -14424,7 +14434,7 @@ a000.D9b = function () { configurable: !1 }, customer: { - value: Aa, + value: za, writable: !1, configurable: !1 }, @@ -14453,7 +14463,7 @@ a000.D9b = function () { configurable: !1 }, _signature: { - value: Ea, + value: Ca, writable: !1, enumerable: !1, configurable: !1 @@ -14484,25 +14494,25 @@ a000.D9b = function () { aa.signature = Db(this._signature); return aa; }, - equals: function ka(ca) { - return this === ca ? !0 : ca instanceof dd ? ka.base.call(this, ca) && (this._masterToken == ca._masterToken || this._masterToken && this._masterToken.equals(ca._masterToken)) && (this._encryptedCTicket == ca._encryptedCTicket || this._encryptedCTicket && Xb(this._encryptedCTicket, ca._encryptedCTicket)) && this._mslTokens == ca._mslTokens && Xb(this._controllerEncoding, ca._controllerEncoding) && Xb(this._signature, ca._signature) : !1; + equals: function ja(ca) { + return this === ca ? !0 : ca instanceof dd ? ja.base.call(this, ca) && (this._masterToken == ca._masterToken || this._masterToken && this._masterToken.equals(ca._masterToken)) && (this._encryptedCTicket == ca._encryptedCTicket || this._encryptedCTicket && Xb(this._encryptedCTicket, ca._encryptedCTicket)) && this._mslTokens == ca._mslTokens && Xb(this._controllerEncoding, ca._controllerEncoding) && Xb(this._signature, ca._signature) : !1; } }); - tf = function (ca, ka, Ga) { - function Ea(ia, ua, xa, Ha) { + tf = function (ca, ja, Ga) { + function Ca(ia, ua, xa, Ha) { Tc(ca, ua, { - result: function (Aa) { + result: function (za) { Ka(Ga, function () { - if (!Aa.isDecrypted()) - throw new Gb(U.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + ka.toString()); - ma(ca, Aa, xa, Ha, { + if (!za.isDecrypted()) + throw new Gb(T.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + ja.toString()); + la(ca, za, xa, Ha, { result: function (Oa) { Ka(Ga, function () { var Da, Wa; Da = Oa.getEncoding(); Wa = Oa.getSignature(); - return new dd(ca, ia, Aa, Da, Wa, { + return new dd(ca, ia, za, Da, Wa, { controllerAuthData: Oa, userIdToken: null }); @@ -14512,53 +14522,53 @@ a000.D9b = function () { }); }); }, - error: function (Aa) { + error: function (za) { Ka(Ga, function () { - if (Aa instanceof bb) - throw new Gb(U.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ka), Aa); - throw Aa; + if (za instanceof bb) + throw new Gb(T.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ja), za); + throw za; }); } }); } function Pa(ia, ua, xa, Ha) { Ka(Ga, function () { - throw new Gb(U.UNSUPPORTED_USERAUTH_MECHANISM, "NtbaControllerData$parse"); + throw new Gb(T.UNSUPPORTED_USERAUTH_MECHANISM, "NtbaControllerData$parse"); }); } function Ra(ia, ua, xa, Ha) { - function Aa(Da, Wa) { + function za(Da, Wa) { Ka(Wa, function () { var Ya, Xa; try { Ya = Fb(Da); } catch (hb) { - throw new Gb(U.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ka), hb); + throw new Gb(T.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ja), hb); } if (!Ya || 0 == Ya.length) - throw new Gb(U.USERAUTH_MASTERTOKEN_MISSING, "MDX authdata " + JSON.stringify(ka)); + throw new Gb(T.USERAUTH_MASTERTOKEN_MISSING, "MDX authdata " + JSON.stringify(ja)); try { Xa = JSON.parse(Tb(Ya, "utf-8")); Tc(ca, Xa, { result: function (hb) { Ka(Wa, function () { if (!hb.isDecrypted()) - throw new Gb(U.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + ka.toString()); + throw new Gb(T.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + ja.toString()); return hb; }); }, error: function (hb) { Ka(Wa, function () { if (hb instanceof bb) - throw new Gb(U.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ka), hb); + throw new Gb(T.USERAUTH_MASTERTOKEN_INVALID, "MDX authdata " + JSON.stringify(ja), hb); throw hb; }); } }); } catch (hb) { if (hb instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ka), hb); + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ja), hb); throw hb; } }); @@ -14570,31 +14580,31 @@ a000.D9b = function () { try { Xa = Fb(Da); } catch (lb) { - throw new Gb(U.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + JSON.stringify(ka), lb); + throw new Gb(T.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + JSON.stringify(ja), lb); } if (!Xa || 0 == Xa.length) - throw new Gb(U.USERAUTH_USERIDTOKEN_MISSING, "MDX authdata " + JSON.stringify(ka)); + throw new Gb(T.USERAUTH_USERIDTOKEN_MISSING, "MDX authdata " + JSON.stringify(ja)); try { hb = JSON.parse(Tb(Xa, "utf-8")); Uc(ca, hb, Wa, { result: function (lb) { Ka(Ya, function () { if (!lb.isDecrypted()) - throw new Gb(U.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "MDX authdata " + JSON.stringify(ka)); + throw new Gb(T.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "MDX authdata " + JSON.stringify(ja)); return lb; }); }, error: function (lb) { Ka(Ya, function () { if (lb instanceof bb) - throw new Gb(U.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + JSON.stringify(ka), lb); + throw new Gb(T.USERAUTH_USERIDTOKEN_INVALID, "MDX authdata " + JSON.stringify(ja), lb); throw lb; }); } }); } catch (lb) { if (lb instanceof SyntaxError) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ka), lb); + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ja), lb); throw lb; } }); @@ -14603,12 +14613,12 @@ a000.D9b = function () { var Da; Da = ua.split(","); if (3 != Da.length || "1" != Da[0]) - throw new Gb(U.UNIDENTIFIED_USERAUTH_MECHANISM, "MDX authdata " + JSON.stringify(ka)); - Aa(Da[1], { + throw new Gb(T.UNIDENTIFIED_USERAUTH_MECHANISM, "MDX authdata " + JSON.stringify(ja)); + za(Da[1], { result: function (Wa) { Oa(Da[2], Wa, { result: function (Ya) { - oa(ca, Wa, xa, Ha, { + na(ca, Wa, xa, Ha, { result: function (Xa) { Ka(Ga, function () { return new dd(ca, ia, ua, xa, Ha, { @@ -14620,7 +14630,7 @@ a000.D9b = function () { error: function (Xa) { Ka(Ga, function () { if (Xa instanceof Rc) - throw new Gb(U.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + JSON.stringify(ka), Xa); + throw new Gb(T.USERAUTH_MASTERTOKEN_NOT_DECRYPTED, "MDX authdata " + JSON.stringify(ja), Xa); throw Xa; }); } @@ -14638,83 +14648,83 @@ a000.D9b = function () { ua, xa, Ha, - Aa; - ia = ka.pin; - ua = ka.mdxauthdata; - xa = ka.signature; + za; + ia = ja.pin; + ua = ja.mdxauthdata; + xa = ja.signature; if (!ia || "string" !== typeof ia || !ua || "string" !== typeof ua || !xa || "string" !== typeof xa) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ka)); + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ja)); try { Ha = Fb(ua); - Aa = Fb(xa); + za = Fb(xa); } catch (Oa) { - throw new Gb(U.MDX_CONTROLLERDATA_INVALID, "MDX authdata " + JSON.stringify(ka), Oa); + throw new Gb(T.MDX_CONTROLLERDATA_INVALID, "MDX authdata " + JSON.stringify(ja), Oa); } - if (ka.mastertoken) { - ua = ka.mastertoken; + if (ja.mastertoken) { + ua = ja.mastertoken; if (!ua || "object" !== typeof ua) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ka)); - Ea(ia, ua, Ha, Aa); - } else if (ka.cticket) { - ua = ka.cticket; + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ja)); + Ca(ia, ua, Ha, za); + } else if (ja.cticket) { + ua = ja.cticket; if (!ua || "string" !== typeof ua) - throw new xb(U.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ka)); - -1 == ua.indexOf(",") ? Pa(ia, ua, Ha, Aa) : Ra(ia, ua, Ha, Aa); + throw new xb(T.JSON_PARSE_ERROR, "MDX authdata " + JSON.stringify(ja)); + -1 == ua.indexOf(",") ? Pa(ia, ua, Ha, za) : Ra(ia, ua, Ha, za); } else - throw new Gb(U.UNIDENTIFIED_USERAUTH_MECHANISM, "MDX authdata " + JSON.stringify(ka)); + throw new Gb(T.UNIDENTIFIED_USERAUTH_MECHANISM, "MDX authdata " + JSON.stringify(ja)); }); }; })(); (function () { var ba, ha, - ea; + da; ba = pe.ACTION; ha = od.ACTION; - ea = qe.ACTION; + da = qe.ACTION; uf = md.extend({ - init: function Y() { - Y.base.call(this, $b.MDX); + init: function X() { + X.base.call(this, $b.MDX); }, - createData: function (Y, pa, ma, qa) { - tf(Y, ma, qa); + createData: function (X, oa, la, qa) { + tf(X, la, qa); }, - authenticate: function (Y, pa, ma, qa) { - if (!(ma instanceof dd)) - throw new vb("Incorrect authentication data type " + ma.getClass().getName() + "."); - Y = ma.action; - switch (ma.mechanism) { + authenticate: function (X, oa, la, qa) { + if (!(la instanceof dd)) + throw new vb("Incorrect authentication data type " + la.getClass().getName() + "."); + X = la.action; + switch (la.mechanism) { case Ld.MSL: - if (ba != Y) - throw new Gb(U.MDX_USERAUTH_ACTION_INVALID).setUser(ma); + if (ba != X) + throw new Gb(T.MDX_USERAUTH_ACTION_INVALID).setUser(la); break; case Ld.NTBA: - if (ha != Y) - throw new Gb(U.MDX_USERAUTH_ACTION_INVALID).setUser(ma); + if (ha != X) + throw new Gb(T.MDX_USERAUTH_ACTION_INVALID).setUser(la); break; case Ld.MSL_LEGACY: - if (ea != Y) - throw new Gb(U.MDX_USERAUTH_ACTION_INVALID).setUser(ma); + if (da != X) + throw new Gb(T.MDX_USERAUTH_ACTION_INVALID).setUser(la); } - Y = ma.controllerPin; - pa = ma.targetPin; - if (!Y || !pa) - throw new Gb(U.MDX_PIN_BLANK).setUser(ma); - if (Y != pa) - throw new Gb(U.MDX_PIN_MISMATCH).setUser(ma); - Y = ma.customer; - if (!Y) - throw new Gb(U.MDX_USER_UNKNOWN).setUser(ma); - if (qa && (qa = qa.customer, !Y.equals(qa))) - throw new Gb(U.USERIDTOKEN_USERAUTH_DATA_MISMATCH, "uad customer " + Y + "; uit customer " + qa).setUser(ma); - return Y; + X = la.controllerPin; + oa = la.targetPin; + if (!X || !oa) + throw new Gb(T.MDX_PIN_BLANK).setUser(la); + if (X != oa) + throw new Gb(T.MDX_PIN_MISMATCH).setUser(la); + X = la.customer; + if (!X) + throw new Gb(T.MDX_USER_UNKNOWN).setUser(la); + if (qa && (qa = qa.customer, !X.equals(qa))) + throw new Gb(T.USERIDTOKEN_USERAUTH_DATA_MISMATCH, "uad customer " + X + "; uit customer " + qa).setUser(la); + return X; } }); })(); (function () { var ba, ha, - ea; + da; ba = { MICROSOFT_SAML: "MICROSOFT_SAML", SAMSUNG: "SAMSUNG", @@ -14722,7 +14732,7 @@ a000.D9b = function () { GOOGLE_JWT: "GOOGLE_JWT" }; ha = wf = Bb.Class.create({ - init: function (S, Y) { + init: function (S, X) { Object.defineProperties(this, { email: { value: S, @@ -14731,7 +14741,7 @@ a000.D9b = function () { configurable: !1 }, password: { - value: Y, + value: X, writable: !1, enumerable: !0, configurable: !1 @@ -14739,8 +14749,8 @@ a000.D9b = function () { }); } }); - ea = xf = Bb.Class.create({ - init: function (S, Y) { + da = xf = Bb.Class.create({ + init: function (S, X) { Object.defineProperties(this, { netflixId: { value: S, @@ -14749,7 +14759,7 @@ a000.D9b = function () { configurable: !1 }, secureNetflixId: { - value: Y, + value: X, writable: !1, enumerable: !0, configurable: !1 @@ -14758,25 +14768,25 @@ a000.D9b = function () { } }); pd = Hc.extend({ - init: function Ba(Y, pa, ma, qa) { + init: function Aa(X, oa, la, qa) { var sa, - oa, + na, W, aa; - Ba.base.call(this, $b.SSO); + Aa.base.call(this, $b.SSO); sa = null; - oa = null; + na = null; W = null; aa = null; - ma instanceof ha ? (sa = ma.email, oa = ma.password) : ma instanceof ea && (W = ma.netflixId, aa = ma.secureNetflixId); + la instanceof ha ? (sa = la.email, na = la.password) : la instanceof da && (W = la.netflixId, aa = la.secureNetflixId); Object.defineProperties(this, { mechanism: { - value: Y, + value: X, writable: !1, configurable: !1 }, token: { - value: pa, + value: oa, writable: !1, configurable: !1 }, @@ -14786,7 +14796,7 @@ a000.D9b = function () { configurable: !1 }, password: { - value: oa, + value: na, writable: !1, configurable: !1 }, @@ -14808,85 +14818,85 @@ a000.D9b = function () { }); }, getAuthData: function () { - var Y; - Y = {}; - Y.mechanism = this.mechanism; - Y.token = Db(this.token); - this.email && this.password ? (Y.email = this.email, Y.password = this.password) : this.netflixId && this.secureNetflixId && (Y.netflixid = this.netflixId, Y.securenetflixid = this.secureNetflixId); - this.profileGuid && (Y.profileguid = this.profileGuid); - return Y; + var X; + X = {}; + X.mechanism = this.mechanism; + X.token = Db(this.token); + this.email && this.password ? (X.email = this.email, X.password = this.password) : this.netflixId && this.secureNetflixId && (X.netflixid = this.netflixId, X.securenetflixid = this.secureNetflixId); + this.profileGuid && (X.profileguid = this.profileGuid); + return X; }, - equals: function ma(pa) { - return this === pa ? !0 : pa instanceof pd ? ma.base.call(this, pa) && this.mechanism == pa.mechanism && Xb(this.token, pa.token) && this.email == pa.email && this.password == pa.password && this.netflixId == pa.netflixId && this.secureNetflixId == pa.secureNetflixId && this.profileGuid == pa.profileGuid : !1; + equals: function la(oa) { + return this === oa ? !0 : oa instanceof pd ? la.base.call(this, oa) && this.mechanism == oa.mechanism && Xb(this.token, oa.token) && this.email == oa.email && this.password == oa.password && this.netflixId == oa.netflixId && this.secureNetflixId == oa.secureNetflixId && this.profileGuid == oa.profileGuid : !1; } }); - vf = function (pa) { - var ma, + vf = function (oa) { + var la, qa, - Ba, + Aa, sa, - oa, + na, W, aa, ca, - ka; - ma = pa.mechanism; - qa = pa.token; - if (!ma || !qa || "string" !== typeof qa) - throw new xb(U.JSON_PARSE_ERROR, "SSO authdata " + JSON.stringify(pa)); - if (!ba[ma]) - throw new Gb(U.UNIDENTIFIED_USERAUTH_MECHANISM, "SSO authdata " + JSON.stringify(pa)); - Ba = pa.email; - sa = pa.password; - oa = pa.netflixid; - W = pa.securenetflixid; - aa = pa.profileguid; - if (Ba && !sa || !Ba && sa || oa && !W || !oa && W || Ba && oa) - throw new xb(U.JSON_PARSE_ERROR, "SSO authdata " + JSON.stringify(pa)); + ja; + la = oa.mechanism; + qa = oa.token; + if (!la || !qa || "string" !== typeof qa) + throw new xb(T.JSON_PARSE_ERROR, "SSO authdata " + JSON.stringify(oa)); + if (!ba[la]) + throw new Gb(T.UNIDENTIFIED_USERAUTH_MECHANISM, "SSO authdata " + JSON.stringify(oa)); + Aa = oa.email; + sa = oa.password; + na = oa.netflixid; + W = oa.securenetflixid; + aa = oa.profileguid; + if (Aa && !sa || !Aa && sa || na && !W || !na && W || Aa && na) + throw new xb(T.JSON_PARSE_ERROR, "SSO authdata " + JSON.stringify(oa)); try { ca = Fb(qa); } catch (Ga) { - throw new Gb(U.SSOTOKEN_INVALID, "SSO authdata " + JSON.stringify(pa), Ga); + throw new Gb(T.SSOTOKEN_INVALID, "SSO authdata " + JSON.stringify(oa), Ga); } - Ba && sa ? ka = new ha(Ba, sa) : oa && W && (ka = new ea(oa, W)); - return new pd(ma, ca, ka, aa); + Aa && sa ? ja = new ha(Aa, sa) : na && W && (ja = new da(na, W)); + return new pd(la, ca, ja, aa); }; })(); Wf = md.extend({ init: function ha() { ha.base.call(this, $b.SSO); }, - createData: function (ha, ea, S, Y) { - Ka(Y, function () { + createData: function (ha, da, S, X) { + Ka(X, function () { return vf(S); }); }, - authenticate: function (ha, ea, S, Y) { - var pa, - ma; + authenticate: function (ha, da, S, X) { + var oa, + la; if (!(S instanceof pd)) throw new vb("Incorrect authentication data type " + S + "."); ha = S.token; - ea = S.email; - Y = S.password; - pa = S.netflixId; - ma = S.secureNetflixId; + da = S.email; + X = S.password; + oa = S.netflixId; + la = S.secureNetflixId; if (!ha || 0 == ha.length) - throw new Gb(U.SSOTOKEN_BLANK); - if (!(null === ea && null === Y || ea && Y)) - throw new Gb(U.EMAILPASSWORD_BLANK); - if (!(null === pa && null === ma || pa && ma)) - throw new Gb(U.NETFLIXID_COOKIES_BLANK).setUser(S); - throw new Gb(U.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(S); + throw new Gb(T.SSOTOKEN_BLANK); + if (!(null === da && null === X || da && X)) + throw new Gb(T.EMAILPASSWORD_BLANK); + if (!(null === oa && null === la || oa && la)) + throw new Gb(T.NETFLIXID_COOKIES_BLANK).setUser(S); + throw new Gb(T.UNSUPPORTED_USERAUTH_DATA, this.scheme).setUser(S); } }); (function () { qd = Hc.extend({ - init: function Y(ea, S) { - Y.base.call(this, $b.SWITCH_PROFILE); + init: function X(da, S) { + X.base.call(this, $b.SWITCH_PROFILE); Object.defineProperties(this, { userIdToken: { - value: ea, + value: da, writable: !1, configurable: !1 }, @@ -14898,72 +14908,72 @@ a000.D9b = function () { }); }, getAuthData: function () { - var ea; - ea = {}; - ea.useridtoken = JSON.parse(JSON.stringify(this.userIdToken)); - ea.profileguid = this.profileGuid; - return ea; + var da; + da = {}; + da.useridtoken = JSON.parse(JSON.stringify(this.userIdToken)); + da.profileguid = this.profileGuid; + return da; }, - equals: function Y(S) { - return this == S ? !0 : S instanceof qd ? Y.base.call(this, S) && this.userIdToken.equals(S.userIdToken) && this.profileGuid == S.profileGuid : !1; + equals: function X(S) { + return this == S ? !0 : S instanceof qd ? X.base.call(this, S) && this.userIdToken.equals(S.userIdToken) && this.profileGuid == S.profileGuid : !1; } }); - yf = function (S, Y, pa, ma) { - Ka(ma, function () { + yf = function (S, X, oa, la) { + Ka(la, function () { var qa, - Ba; - if (!Y) - throw new Gb(U.USERAUTH_MASTERTOKEN_MISSING); - qa = pa.useridtoken; - Ba = pa.profileguid; - if ("object" !== typeof qa || "string" !== typeof Ba) - throw new xb(U.JSON_PARSE_ERROR, "switch profile authdata " + JSON.stringify(pa)); - Uc(S, qa, Y, { + Aa; + if (!X) + throw new Gb(T.USERAUTH_MASTERTOKEN_MISSING); + qa = oa.useridtoken; + Aa = oa.profileguid; + if ("object" !== typeof qa || "string" !== typeof Aa) + throw new xb(T.JSON_PARSE_ERROR, "switch profile authdata " + JSON.stringify(oa)); + Uc(S, qa, X, { result: function (sa) { - Ka(ma, function () { + Ka(la, function () { if (!sa.isDecrypted()) - throw new Gb(U.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "switch profile authdata " + JSON.stringify(pa)); - return new qd(sa, Ba); + throw new Gb(T.USERAUTH_USERIDTOKEN_NOT_DECRYPTED, "switch profile authdata " + JSON.stringify(oa)); + return new qd(sa, Aa); }); }, error: function (sa) { - ma.error(new Gb(U.USERAUTH_USERIDTOKEN_INVALID, "switch profile authdata " + JSON.stringify(pa), sa)); + la.error(new Gb(T.USERAUTH_USERIDTOKEN_INVALID, "switch profile authdata " + JSON.stringify(oa), sa)); } }); }); }; })(); Xf = md.extend({ - init: function S(ea) { + init: function S(da) { S.base.call(this, $b.SWITCH_PROFILE); Object.defineProperties(this, { _store: { - value: ea, + value: da, writable: !1, enumerable: !1, configurable: !1 } }); }, - createData: function (ea, S, Y, pa) { - yf(ea, S, Y, pa); + createData: function (da, S, X, oa) { + yf(da, S, X, oa); }, - authenticate: function (ea, S, Y, pa) { - if (!(Y instanceof qd)) - throw new vb("Incorrect authentication data type " + Y + "."); - S = Y.userIdToken; - ea = Y.profileGuid; - if (!ea) - throw new Gb(NetflixMslError.PROFILEGUID_BLANK).setUserAuthenticationData(Y); + authenticate: function (da, S, X, oa) { + if (!(X instanceof qd)) + throw new vb("Incorrect authentication data type " + X + "."); + S = X.userIdToken; + da = X.profileGuid; + if (!da) + throw new Gb(NetflixMslError.PROFILEGUID_BLANK).setUserAuthenticationData(X); S = S.user; if (!S) - throw new Gb(U.USERAUTH_USERIDTOKEN_NOT_DECRYPTED).setUserAuthenticationData(Y); - ea = this._store.switchUsers(S, ea); - if (!ea) - throw new Gb(NetflixMslError.PROFILE_SWITCH_DISALLOWED).setUserAuthenticationData(Y); - if (pa && (pa = pa.user, !ea.equals(pa))) - throw new Gb(U.USERIDTOKEN_USERAUTH_DATA_MISMATCH, "uad user " + ea + "; uit user " + pa).setUserAuthenticationData(Y); - return ea; + throw new Gb(T.USERAUTH_USERIDTOKEN_NOT_DECRYPTED).setUserAuthenticationData(X); + da = this._store.switchUsers(S, da); + if (!da) + throw new Gb(NetflixMslError.PROFILE_SWITCH_DISALLOWED).setUserAuthenticationData(X); + if (oa && (oa = oa.user, !da.equals(oa))) + throw new Gb(T.USERIDTOKEN_USERAUTH_DATA_MISMATCH, "uad user " + da + "; uit user " + oa).setUserAuthenticationData(X); + return da; } }); Object.freeze({ @@ -14975,89 +14985,89 @@ a000.D9b = function () { getRandom: function () {}, isPeerToPeer: function () {}, getMessageCapabilities: function () {}, - getEntityAuthenticationData: function (ea, S) {}, + getEntityAuthenticationData: function (da, S) {}, getMslCryptoContext: function () {}, - getEntityAuthenticationFactory: function (ea) {}, - getUserAuthenticationFactory: function (ea) {}, + getEntityAuthenticationFactory: function (da) {}, + getUserAuthenticationFactory: function (da) {}, getTokenFactory: function () {}, - getKeyExchangeFactory: function (ea) {}, + getKeyExchangeFactory: function (da) {}, getKeyExchangeFactories: function () {}, getMslStore: function () {} }); zf = Bb.Class.create({ - setCryptoContext: function (ea, S) {}, + setCryptoContext: function (da, S) {}, getMasterToken: function () {}, - getNonReplayableId: function (ea) {}, - getCryptoContext: function (ea) {}, - removeCryptoContext: function (ea) {}, + getNonReplayableId: function (da) {}, + getCryptoContext: function (da) {}, + removeCryptoContext: function (da) {}, clearCryptoContexts: function () {}, - addUserIdToken: function (ea, S) {}, - getUserIdToken: function (ea) {}, - removeUserIdToken: function (ea) {}, + addUserIdToken: function (da, S) {}, + getUserIdToken: function (da) {}, + removeUserIdToken: function (da) {}, clearUserIdTokens: function () {}, - addServiceTokens: function (ea) {}, - getServiceTokens: function (ea, S) {}, - removeServiceTokens: function (ea, S, Y) {}, + addServiceTokens: function (da) {}, + getServiceTokens: function (da, S) {}, + removeServiceTokens: function (da, S, X) {}, clearServiceTokens: function () {} }); (function () { - var ea; - ea = Pc; - ne = function (S, Y) { - var pa; - pa = {}; + var da; + da = Pc; + ne = function (S, X) { + var oa; + oa = {}; switch (S) { - case ea.LZW: - return Be(Y, pa); - case ea.GZIP: - return gzip$compress(Y); + case da.LZW: + return Be(X, oa); + case da.GZIP: + return gzip$compress(X); default: - throw new bb(U.UNSUPPORTED_COMPRESSION, S); + throw new bb(T.UNSUPPORTED_COMPRESSION, S); } }; - Id = function (S, Y, pa) { + Id = function (S, X, oa) { switch (S) { - case ea.LZW: - return Ce(Y); - case ea.GZIP: - return gzip$uncompress(Y); + case da.LZW: + return Ce(X); + case da.GZIP: + return gzip$uncompress(X); default: - throw new bb(U.UNSUPPORTED_COMPRESSION, S.name()); + throw new bb(T.UNSUPPORTED_COMPRESSION, S.name()); } }; })(); zf.extend({ - setCryptoContext: function (ea, S) {}, + setCryptoContext: function (da, S) {}, getMasterToken: function () { return null; }, - getNonReplayableId: function (ea) { + getNonReplayableId: function (da) { return 1; }, - getCryptoContext: function (ea) { + getCryptoContext: function (da) { return null; }, - removeCryptoContext: function (ea) {}, + removeCryptoContext: function (da) {}, clearCryptoContexts: function () {}, - addUserIdToken: function (ea, S) {}, - getUserIdToken: function (ea) { + addUserIdToken: function (da, S) {}, + getUserIdToken: function (da) { return null; }, - removeUserIdToken: function (ea) {}, + removeUserIdToken: function (da) {}, clearUserIdTokens: function () {}, - addServiceTokens: function (ea) {}, - getServiceTokens: function (ea, S) { + addServiceTokens: function (da) {}, + getServiceTokens: function (da, S) { if (S) { - if (!ea) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_NULL); - if (!S.isBoundTo(ea)) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + S.mtSerialNumber + "; mt " + ea.serialNumber); + if (!da) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_NULL); + if (!S.isBoundTo(da)) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + S.mtSerialNumber + "; mt " + da.serialNumber); } return []; }, - removeServiceTokens: function (ea, S, Y) { - if (Y && S && !Y.isBoundTo(S)) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + Y.masterTokenSerialNumber + "; mt " + S.serialNumber); + removeServiceTokens: function (da, S, X) { + if (X && S && !X.isBoundTo(S)) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + X.masterTokenSerialNumber + "; mt " + S.serialNumber); }, clearServiceTokens: function () {} }); @@ -15110,115 +15120,115 @@ a000.D9b = function () { } }); }, - setCryptoContext: function (S, Y) { - var pa; - if (Y) { - pa = S.uniqueKey(); - this.masterTokens[pa] = S; - this.cryptoContexts[pa] = Y; + setCryptoContext: function (S, X) { + var oa; + if (X) { + oa = S.uniqueKey(); + this.masterTokens[oa] = S; + this.cryptoContexts[oa] = X; } else this.removeCryptoContext(S); }, getMasterToken: function () { var S, - Y, - pa; + X, + oa; S = null; - for (Y in this.masterTokens) { - pa = this.masterTokens[Y]; - if (!S || pa.isNewerThan(S)) - S = pa; + for (X in this.masterTokens) { + oa = this.masterTokens[X]; + if (!S || oa.isNewerThan(S)) + S = oa; } return S; }, getNonReplayableId: function (S) { - var Y; + var X; S = S.serialNumber; - Y = this.nonReplayableIds[S] !== Ab ? this.nonReplayableIds[S] : 0; - if (0 > Y || Y > Mb) - throw new vb("Non-replayable ID " + Y + " is outside the valid range."); - Y = Y == Mb ? 0 : Y + 1; - return this.nonReplayableIds[S] = Y; + X = this.nonReplayableIds[S] !== Ab ? this.nonReplayableIds[S] : 0; + if (0 > X || X > Mb) + throw new vb("Non-replayable ID " + X + " is outside the valid range."); + X = X == Mb ? 0 : X + 1; + return this.nonReplayableIds[S] = X; }, getCryptoContext: function (S) { return this.cryptoContexts[S.uniqueKey()]; }, removeCryptoContext: function (S) { - var Y, - pa, - ma, + var X, + oa, + la, qa; - Y = S.uniqueKey(); - if (this.masterTokens[Y]) { - pa = S.serialNumber; - for (ma in this.masterTokens) { - qa = this.masterTokens[ma]; - if (!qa.equals(S) && qa.serialNumber == pa) { - delete this.masterTokens[Y]; - delete this.cryptoContexts[Y]; + X = S.uniqueKey(); + if (this.masterTokens[X]) { + oa = S.serialNumber; + for (la in this.masterTokens) { + qa = this.masterTokens[la]; + if (!qa.equals(S) && qa.serialNumber == oa) { + delete this.masterTokens[X]; + delete this.cryptoContexts[X]; return; } } - Object.keys(this.userIdTokens).forEach(function (Ba) { - Ba = this.userIdTokens[Ba]; - Ba.isBoundTo(S) && this.removeUserIdToken(Ba); + Object.keys(this.userIdTokens).forEach(function (Aa) { + Aa = this.userIdTokens[Aa]; + Aa.isBoundTo(S) && this.removeUserIdToken(Aa); }, this); try { this.removeServiceTokens(null, S, null); - } catch (Ba) { - if (Ba instanceof bb) - throw new vb("Unexpected exception while removing master token bound service tokens.", Ba); - throw Ba; - } - delete this.nonReplayableIds[pa]; - delete this.masterTokens[Y]; - delete this.cryptoContexts[Y]; + } catch (Aa) { + if (Aa instanceof bb) + throw new vb("Unexpected exception while removing master token bound service tokens.", Aa); + throw Aa; + } + delete this.nonReplayableIds[oa]; + delete this.masterTokens[X]; + delete this.cryptoContexts[X]; } }, clearCryptoContexts: function () { [this.masterTokens, this.cryptoContexts, this.nonReplayableIds, this.userIdTokens, this.uitServiceTokens, this.mtServiceTokens].forEach(function (S) { - for (var Y in S) { - delete S[Y]; + for (var X in S) { + delete S[X]; } }, this); }, - addUserIdToken: function (S, Y) { - var pa, - ma; - pa = !1; - for (ma in this.masterTokens) { - if (Y.isBoundTo(this.masterTokens[ma])) { - pa = !0; + addUserIdToken: function (S, X) { + var oa, + la; + oa = !1; + for (la in this.masterTokens) { + if (X.isBoundTo(this.masterTokens[la])) { + oa = !0; break; } } - if (!pa) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_NOT_FOUND, "uit mtserialnumber " + Y.mtSerialNumber); - this.userIdTokens[S] = Y; + if (!oa) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_NOT_FOUND, "uit mtserialnumber " + X.mtSerialNumber); + this.userIdTokens[S] = X; }, getUserIdToken: function (S) { return this.userIdTokens[S]; }, removeUserIdToken: function (S) { - var Y, - pa, - ma; - Y = null; - for (pa in this.masterTokens) { - ma = this.masterTokens[pa]; - if (S.isBoundTo(ma)) { - Y = ma; + var X, + oa, + la; + X = null; + for (oa in this.masterTokens) { + la = this.masterTokens[oa]; + if (S.isBoundTo(la)) { + X = la; break; } } Object.keys(this.userIdTokens).forEach(function (qa) { if (this.userIdTokens[qa].equals(S)) { try { - this.removeServiceTokens(null, Y, S); - } catch (Ba) { - if (Ba instanceof bb) - throw new vb("Unexpected exception while removing user ID token bound service tokens.", Ba); - throw Ba; + this.removeServiceTokens(null, X, S); + } catch (Aa) { + if (Aa instanceof bb) + throw new vb("Unexpected exception while removing user ID token bound service tokens.", Aa); + throw Aa; } delete this.userIdTokens[qa]; } @@ -15230,106 +15240,106 @@ a000.D9b = function () { } }, addServiceTokens: function (S) { - S.forEach(function (Y) { - var pa, - ma; - if (Y.isMasterTokenBound()) { - pa = !1; - for (ma in this.masterTokens) { - if (Y.isBoundTo(this.masterTokens[ma])) { - pa = !0; + S.forEach(function (X) { + var oa, + la; + if (X.isMasterTokenBound()) { + oa = !1; + for (la in this.masterTokens) { + if (X.isBoundTo(this.masterTokens[la])) { + oa = !0; break; } } - if (!pa) - throw new bb(U.SERVICETOKEN_MASTERTOKEN_NOT_FOUND, "st mtserialnumber " + Y.mtSerialNumber); + if (!oa) + throw new bb(T.SERVICETOKEN_MASTERTOKEN_NOT_FOUND, "st mtserialnumber " + X.mtSerialNumber); } - if (Y.isUserIdTokenBound()) { - pa = !1; + if (X.isUserIdTokenBound()) { + oa = !1; for (var qa in this.userIdTokens) { - if (Y.isBoundTo(this.userIdTokens[qa])) { - pa = !0; + if (X.isBoundTo(this.userIdTokens[qa])) { + oa = !0; break; } } - if (!pa) - throw new bb(U.SERVICETOKEN_USERIDTOKEN_NOT_FOUND, "st uitserialnumber " + Y.uitSerialNumber); + if (!oa) + throw new bb(T.SERVICETOKEN_USERIDTOKEN_NOT_FOUND, "st uitserialnumber " + X.uitSerialNumber); } }, this); - S.forEach(function (Y) { - var pa; - if (Y.isUnbound()) - this.unboundServiceTokens[Y.uniqueKey()] = Y; + S.forEach(function (X) { + var oa; + if (X.isUnbound()) + this.unboundServiceTokens[X.uniqueKey()] = X; else { - if (Y.isMasterTokenBound()) { - pa = this.mtServiceTokens[Y.mtSerialNumber]; - pa || (pa = {}); - pa[Y.uniqueKey()] = Y; - this.mtServiceTokens[Y.mtSerialNumber] = pa; + if (X.isMasterTokenBound()) { + oa = this.mtServiceTokens[X.mtSerialNumber]; + oa || (oa = {}); + oa[X.uniqueKey()] = X; + this.mtServiceTokens[X.mtSerialNumber] = oa; } - Y.isUserIdTokenBound() && ((pa = this.uitServiceTokens[Y.uitSerialNumber]) || (pa = {}), pa[Y.uniqueKey()] = Y, this.uitServiceTokens[Y.uitSerialNumber] = pa); + X.isUserIdTokenBound() && ((oa = this.uitServiceTokens[X.uitSerialNumber]) || (oa = {}), oa[X.uniqueKey()] = X, this.uitServiceTokens[X.uitSerialNumber] = oa); } }, this); }, - getServiceTokens: function (S, Y) { - var pa, - ma, + getServiceTokens: function (S, X) { + var oa, + la, qa; - if (Y) { + if (X) { if (!S) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_NULL); - if (!Y.isBoundTo(S)) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + Y.mtSerialNumber + "; mt " + S.serialNumber); + throw new bb(T.USERIDTOKEN_MASTERTOKEN_NULL); + if (!X.isBoundTo(S)) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + X.mtSerialNumber + "; mt " + S.serialNumber); } - pa = {}; - for (ma in this.unboundServiceTokens) { - qa = this.unboundServiceTokens[ma]; - pa[qa.uniqueKey()] = qa; + oa = {}; + for (la in this.unboundServiceTokens) { + qa = this.unboundServiceTokens[la]; + oa[qa.uniqueKey()] = qa; } - if (S && (ma = this.mtServiceTokens[S.serialNumber])) - for (var Ba in ma) { - qa = ma[Ba]; - qa.isUserIdTokenBound() || (pa[Ba] = qa); + if (S && (la = this.mtServiceTokens[S.serialNumber])) + for (var Aa in la) { + qa = la[Aa]; + qa.isUserIdTokenBound() || (oa[Aa] = qa); } - if (Y && (Y = this.uitServiceTokens[Y.serialNumber])) - for (var sa in Y) { - Ba = Y[sa]; - Ba.isBoundTo(S) && (pa[sa] = Ba); + if (X && (X = this.uitServiceTokens[X.serialNumber])) + for (var sa in X) { + Aa = X[sa]; + Aa.isBoundTo(S) && (oa[sa] = Aa); } S = []; - for (var oa in pa) { - S.push(pa[oa]); + for (var na in oa) { + S.push(oa[na]); } return S; }, - removeServiceTokens: function (S, Y, pa) { - var ma, + removeServiceTokens: function (S, X, oa) { + var la, qa, - Ba; - if (pa && Y && !pa.isBoundTo(Y)) - throw new bb(U.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + pa.mtSerialNumber + "; mt " + Y.serialNumber); - !S || Y || pa || Object.keys(this.unboundServiceTokens).forEach(function (sa) { + Aa; + if (oa && X && !oa.isBoundTo(X)) + throw new bb(T.USERIDTOKEN_MASTERTOKEN_MISMATCH, "uit mtserialnumber " + oa.mtSerialNumber + "; mt " + X.serialNumber); + !S || X || oa || Object.keys(this.unboundServiceTokens).forEach(function (sa) { this.unboundServiceTokens[sa].name == S && delete this.unboundServiceTokens[sa]; }, this); - if (Y && !pa && (ma = this.mtServiceTokens[Y.serialNumber])) { - Ba = Object.keys(ma); - Ba.forEach(function (sa) { - var oa; - oa = ma[sa]; - S && oa.name != S || delete ma[sa]; + if (X && !oa && (la = this.mtServiceTokens[X.serialNumber])) { + Aa = Object.keys(la); + Aa.forEach(function (sa) { + var na; + na = la[sa]; + S && na.name != S || delete la[sa]; }, this); - this.mtServiceTokens[Y.serialNumber] = ma; + this.mtServiceTokens[X.serialNumber] = la; } - pa && (qa = this.uitServiceTokens[pa.serialNumber]) && (Y = Object.keys(qa), Y.forEach(function (sa) { - var oa; - oa = qa[sa]; - S && oa.name != S || delete qa[sa]; - }, this), this.uitServiceTokens[pa.serialNumber] = qa); + oa && (qa = this.uitServiceTokens[oa.serialNumber]) && (X = Object.keys(qa), X.forEach(function (sa) { + var na; + na = qa[sa]; + S && na.name != S || delete qa[sa]; + }, this), this.uitServiceTokens[oa.serialNumber] = qa); }, clearServiceTokens: function () { [this.unboundServiceTokens, this.mtServiceTokens, this.uitServiceTokens].forEach(function (S) { - for (var Y in S) { - delete S[Y]; + for (var X in S) { + delete S[X]; } }, this); } @@ -15347,8 +15357,8 @@ a000.D9b = function () { } }); }, - addCryptoContext: function (S, Y) { - Y && S && S.length && (S = Db(S), this._contextMap[S] = Y); + addCryptoContext: function (S, X) { + X && S && S.length && (S = Db(S), this._contextMap[S] = X); }, getCryptoContext: function (S) { return S && S.length ? (S = Db(S), this._contextMap[S] || null) : null; @@ -15358,17 +15368,17 @@ a000.D9b = function () { } }); Bf = Jf.extend({ - init: function Ba(Y, pa, ma, qa) { - Ba.base.call(this, Y); + init: function Aa(X, oa, la, qa) { + Aa.base.call(this, X); Object.defineProperties(this, { _kde: { - value: pa, + value: oa, writable: !1, enumerable: !1, configurable: !1 }, _kdh: { - value: ma, + value: la, writable: !1, enumerable: !1, configurable: !1 @@ -15381,20 +15391,20 @@ a000.D9b = function () { } }); }, - getCryptoContext: function (Y, pa) { - if (!(pa instanceof nc)) - throw new vb("Incorrect authentication data type " + JSON.stringify(pa) + "."); - if (pa.identity != this.localIdentity) - throw new wc(U.ENTITY_NOT_FOUND, "mgk " + pa.identity); - return new Bd(Y, this.localIdentity, this._kde, this._kdh, this._kdw); + getCryptoContext: function (X, oa) { + if (!(oa instanceof nc)) + throw new vb("Incorrect authentication data type " + JSON.stringify(oa) + "."); + if (oa.identity != this.localIdentity) + throw new wc(T.ENTITY_NOT_FOUND, "mgk " + oa.identity); + return new Bd(X, this.localIdentity, this._kde, this._kdh, this._kdw); } }); Zf = Kf.extend({ - init: function sa(pa, ma, qa, Ba) { - sa.base.call(this, pa); + init: function sa(oa, la, qa, Aa) { + sa.base.call(this, oa); Object.defineProperties(this, { _kpe: { - value: ma, + value: la, writable: !1, enumerable: !1, configurable: !1 @@ -15406,32 +15416,32 @@ a000.D9b = function () { configurable: !1 }, _kpw: { - value: Ba, + value: Aa, writable: !1, enumerable: !1, configurable: !1 } }); }, - getCryptoContext: function (pa, ma) { - if (!(ma instanceof tc)) - throw new vb("Incorrect authentication data type " + JSON.stringify(ma) + "."); - if (ma.identity != this.localIdentity) - throw new wc(U.ENTITY_NOT_FOUND, "psk " + ma.identity); - return new Bd(pa, this.localIdentity, this._kpe, this._kph, this._kpw); + getCryptoContext: function (oa, la) { + if (!(la instanceof tc)) + throw new vb("Incorrect authentication data type " + JSON.stringify(la) + "."); + if (la.identity != this.localIdentity) + throw new wc(T.ENTITY_NOT_FOUND, "psk " + la.identity); + return new Bd(oa, this.localIdentity, this._kpe, this._kph, this._kpw); } }); ag = Af.extend({ - init: function aa(ma, qa, Ba, sa, oa, W) { + init: function aa(la, qa, Aa, sa, na, W) { aa.base.call(this); - this._log = ma; + this._log = la; this._esn = qa; - this._keyRequestData = Ba; + this._keyRequestData = Aa; this._createKeyRequestData = sa; - this._systemKeyName = oa; + this._systemKeyName = na; this._systemKeyWrapFormat = W; }, - setCryptoContext: function oa(qa, Ba, sa) { + setCryptoContext: function na(qa, Aa, sa) { var W; W = this; W._log.trace("Adding MasterToken", { @@ -15439,70 +15449,70 @@ a000.D9b = function () { SerialNumber: qa.serialNumber, Expiration: qa.expiration.getTime() }); - oa.base.call(this, qa, Ba); + na.base.call(this, qa, Aa); !sa && (qa = W._createKeyRequestData) && (W._log.trace("Generating new keyx request data"), qa().then(function (aa) { W._keyRequestData = aa; }, function (aa) { W._log.error("Unable to generate new keyx request data", "" + aa); })); }, - addUserIdToken: function oa(Ba, sa) { + addUserIdToken: function na(Aa, sa) { this._log.trace("Adding UserIdToken", { - UserId: Ba, + UserId: Aa, SerialNumber: sa.serialNumber, MTSerialNumber: sa.mtSerialNumber, Expiration: sa.expiration.getTime() }); - oa.base.call(this, Ba, sa); + na.base.call(this, Aa, sa); }, - addServiceTokens: function oa(sa) { - oa.base.call(this, sa.filter(function (W) { + addServiceTokens: function na(sa) { + na.base.call(this, sa.filter(function (W) { return !$f[W.name]; })); }, getUserIdTokenKeys: function () { var sa, - oa; + na; sa = []; - for (oa in this.userIdTokens) { - sa.push(oa); + for (na in this.userIdTokens) { + sa.push(na); } return sa; }, - rekeyUserIdToken: function (sa, oa) { - this.userIdTokens[sa] && (this.userIdTokens[oa] = this.userIdTokens[sa], delete this.userIdTokens[sa]); + rekeyUserIdToken: function (sa, na) { + this.userIdTokens[sa] && (this.userIdTokens[na] = this.userIdTokens[sa], delete this.userIdTokens[sa]); }, getKeyRequestData: function () { return this._keyRequestData; }, getStoreState: function (sa) { - var oa; - oa = this; + var na; + na = this; Ka(sa, function () { var W; - W = oa.getMasterToken(); - W ? oa.getKeysForStore(W, { + W = na.getMasterToken(); + W ? na.getKeysForStore(W, { result: function (aa) { Ka(sa, function () { var ca, - ka, + ja, Ga; - ca = oa.userIdTokens; - ka = Object.keys(ca).map(function (Ea) { + ca = na.userIdTokens; + ja = Object.keys(ca).map(function (Ca) { var Pa; - Pa = ca[Ea]; + Pa = ca[Ca]; return { - userId: Ea, - userIdTokenJSON: ca[Ea].toJSON(), - serviceTokenJSONList: oa.getServiceTokens(W, Pa).map(Df) + userId: Ca, + userIdTokenJSON: ca[Ca].toJSON(), + serviceTokenJSONList: na.getServiceTokens(W, Pa).map(Df) }; }); - aa.esn = oa._esn; + aa.esn = na._esn; aa.masterTokenJSON = W.toJSON(); - aa.userList = ka; - Ga = oa._keyRequestData.storeData; - Ga && Object.keys(Ga).forEach(function (Ea) { - aa[Ea] = Ga[Ea]; + aa.userList = ja; + Ga = na._keyRequestData.storeData; + Ga && Object.keys(Ga).forEach(function (Ca) { + aa[Ca] = Ga[Ca]; }); return aa; }); @@ -15512,10 +15522,10 @@ a000.D9b = function () { }) : sa.result(null); }); }, - getKeysForStore: function (sa, oa) { + getKeysForStore: function (sa, na) { var W; W = this; - Ka(oa, function () { + Ka(na, function () { var aa; aa = W.getCryptoContext(sa); aa = { @@ -15524,86 +15534,86 @@ a000.D9b = function () { }; if (aa.encryptionKey && aa.hmacKey) { if (W._systemKeyWrapFormat) - W.wrapKeysWithSystemKey(aa, oa); + W.wrapKeysWithSystemKey(aa, na); else return aa; } else - throw new bb(U.INTERNAL_EXCEPTION, "Unable to get CryptoContext keys"); + throw new bb(T.INTERNAL_EXCEPTION, "Unable to get CryptoContext keys"); }); }, - wrapKeysWithSystemKey: function (sa, oa) { + wrapKeysWithSystemKey: function (sa, na) { var W; W = this; ve(this._systemKeyName, { result: function (aa) { - Ka(oa, function () { + Ka(na, function () { var ca, - ka, + ja, Ga, - Ea; + Ca; ca = sa.encryptionKey; - ka = sa.hmacKey; + ja = sa.hmacKey; Ga = ca[ed]; - Ea = ka[ed]; - if (Ga && Ea) + Ca = ja[ed]; + if (Ga && Ca) return { wrappedEncryptionKey: Ga, - wrappedHmacKey: Ea + wrappedHmacKey: Ca }; Promise.resolve().then(function () { - return Promise.all([Jb.wrapKey(W._systemKeyWrapFormat, ca, aa, aa.algorithm), Jb.wrapKey(W._systemKeyWrapFormat, ka, aa, aa.algorithm)]); + return Promise.all([Jb.wrapKey(W._systemKeyWrapFormat, ca, aa, aa.algorithm), Jb.wrapKey(W._systemKeyWrapFormat, ja, aa, aa.algorithm)]); }).then(function (Pa) { Ga = Db(Pa[0]); ca[ed] = Ga; - Ea = Db(Pa[1]); - ka[ed] = Ea; - oa.result({ + Ca = Db(Pa[1]); + ja[ed] = Ca; + na.result({ wrappedEncryptionKey: Ga, - wrappedHmacKey: Ea + wrappedHmacKey: Ca }); }).catch(function (Pa) { - oa.error(new bb(U.INTERNAL_EXCEPTION, "Error wrapping key with SYSTEM key", Pa)); + na.error(new bb(T.INTERNAL_EXCEPTION, "Error wrapping key with SYSTEM key", Pa)); }); }); }, - timeout: oa.timeout, - error: oa.error + timeout: na.timeout, + error: na.error }); }, - unwrapKeysWithSystemKey: function (sa, oa) { + unwrapKeysWithSystemKey: function (sa, na) { var W; W = this; ve(this._systemKeyName, { result: function (aa) { - Ka(oa, function () { + Ka(na, function () { var ca, - ka; + ja; ca = Fb(sa.wrappedEncryptionKey); - ka = Fb(sa.wrappedHmacKey); + ja = Fb(sa.wrappedHmacKey); Promise.resolve().then(function () { - return Promise.all([Jb.unwrapKey(W._systemKeyWrapFormat, ca, aa, aa.algorithm, rc, !1, Ic), Jb.unwrapKey(W._systemKeyWrapFormat, ka, aa, aa.algorithm, sc, !1, Sc)]); + return Promise.all([Jb.unwrapKey(W._systemKeyWrapFormat, ca, aa, aa.algorithm, rc, !1, Ic), Jb.unwrapKey(W._systemKeyWrapFormat, ja, aa, aa.algorithm, sc, !1, Sc)]); }).then(function (Ga) { - var Ea; - Ea = Ga[0]; + var Ca; + Ca = Ga[0]; Ga = Ga[1]; - Ea[ed] = sa.wrappedEncryptionKey; + Ca[ed] = sa.wrappedEncryptionKey; Ga[ed] = sa.wrappedHmacKey; - oa.result({ - encryptionKey: Ea, + na.result({ + encryptionKey: Ca, hmacKey: Ga }); }).catch(function (Ga) { - oa.error(new bb(U.INTERNAL_EXCEPTION, "Error unwrapping with SYSTEM key", Ga)); + na.error(new bb(T.INTERNAL_EXCEPTION, "Error unwrapping with SYSTEM key", Ga)); }); }); }, - timeout: oa.timeout, - error: oa.error + timeout: na.timeout, + error: na.error }); }, - loadStoreState: function (sa, oa, W, aa) { + loadStoreState: function (sa, na, W, aa) { var Ga, - Ea; + Ca; function ca(Pa, Ra) { var ia; try { @@ -15612,11 +15622,11 @@ a000.D9b = function () { ia ? (function xa() { var Ha; Ha = ia.shift(); - Ha ? Uc(oa, Ha.userIdTokenJSON, Pa, { - result: function (Aa) { + Ha ? Uc(na, Ha.userIdTokenJSON, Pa, { + result: function (za) { try { - Ga.addUserIdToken(Ha.userId, Aa); - ka(Pa, Aa, Ha.serviceTokenJSONList, { + Ga.addUserIdToken(Ha.userId, za); + ja(Pa, za, Ha.serviceTokenJSONList, { result: xa, timeout: xa, error: xa @@ -15630,18 +15640,18 @@ a000.D9b = function () { }) : Ra.result(); })() : Ra.result(); } - function ka(Pa, Ra, ia, ua) { + function ja(Pa, Ra, ia, ua) { var xa, Ha; try { xa = ia.slice(); - } catch (Aa) {} + } catch (za) {} if (xa) { Ha = Ga.getCryptoContext(Pa); (function Oa() { var Da; Da = xa.shift(); - Da ? Hd(oa, Da, Pa, Ra, Ha, { + Da ? Hd(na, Da, Pa, Ra, Ha, { result: function (Wa) { Ga.addServiceTokens([Wa]); Oa(); @@ -15658,30 +15668,30 @@ a000.D9b = function () { ua.result(); } Ga = this; - Ea = Ga._log; - W.esn != Ga._esn ? (Ea.error("Esn mismatch, starting fresh"), aa.error()) : (function (Pa) { + Ca = Ga._log; + W.esn != Ga._esn ? (Ca.error("Esn mismatch, starting fresh"), aa.error()) : (function (Pa) { var ua, xa, Ha, - Aa; + za; function Ra() { var Oa; - if (!ua && xa && Ha && Aa) { + if (!ua && xa && Ha && za) { ua = !0; - Oa = new jc(oa, xa, sa.esn, { + Oa = new jc(na, xa, sa.esn, { rawKey: Ha }, { - rawKey: Aa + rawKey: za }); Ga.setCryptoContext(xa, Oa, !0); Pa.result(xa); } } function ia(Oa, Da) { - Ea.error(Oa, Da && "" + Da); + Ca.error(Oa, Da && "" + Da); ua || (ua = !0, Pa.error()); } - W.masterTokenJSON ? (Tc(oa, W.masterTokenJSON, { + W.masterTokenJSON ? (Tc(na, W.masterTokenJSON, { result: function (Oa) { xa = Oa; Ra(); @@ -15695,7 +15705,7 @@ a000.D9b = function () { }), Ga._systemKeyWrapFormat ? Ga.unwrapKeysWithSystemKey(W, { result: function (Oa) { Ha = Oa.encryptionKey; - Aa = Oa.hmacKey; + za = Oa.hmacKey; Ra(); }, timeout: function () { @@ -15716,7 +15726,7 @@ a000.D9b = function () { }).then(function () { return Jb.sign(sc, W.hmacKey, new Uint8Array(1)); }).then(function (Oa) { - Aa = W.hmacKey; + za = W.hmacKey; Ra(); }).catch(function (Oa) { ia("Error loading hmacKey"); @@ -15736,19 +15746,19 @@ a000.D9b = function () { }; ed = "$netflix$msl$wrapsys"; bg = Yf.extend({ - init: function (sa, oa, W, aa, ca, ka) { + init: function (sa, na, W, aa, ca, ja) { var Ga, - Ea; + Ca; Ga = new kd([Pc.LZW]); - Ea = new Mf(); - Ea.addPublicKey(oa, W); - aa[Nb.RSA] = new Lf(Ea); - oa = {}; - oa[$b.EMAIL_PASSWORD] = new Vf(); - oa[$b.NETFLIXID] = new Uf(); - oa[$b.MDX] = new uf(); - oa[$b.SSO] = new Wf(); - oa[$b.SWITCH_PROFILE] = new Xf(); + Ca = new Mf(); + Ca.addPublicKey(na, W); + aa[Nb.RSA] = new Lf(Ca); + na = {}; + na[$b.EMAIL_PASSWORD] = new Vf(); + na[$b.NETFLIXID] = new Uf(); + na[$b.MDX] = new uf(); + na[$b.SSO] = new Wf(); + na[$b.SWITCH_PROFILE] = new Xf(); sa = { _mslCryptoContext: { value: new If(), @@ -15775,13 +15785,13 @@ a000.D9b = function () { configurable: !1 }, _userAuthFactories: { - value: oa, + value: na, writable: !1, enumerable: !1, configurable: !1 }, _keyExchangeFactories: { - value: ka, + value: ja, writable: !1, enumerable: !1, configurable: !1 @@ -15807,8 +15817,8 @@ a000.D9b = function () { getMessageCapabilities: function () { return this._capabilities; }, - getEntityAuthenticationData: function (sa, oa) { - oa.result(this._entityAuthData); + getEntityAuthenticationData: function (sa, na) { + na.result(this._entityAuthData); }, getMslCryptoContext: function () { return this._mslCryptoContext; @@ -15823,8 +15833,8 @@ a000.D9b = function () { return null; }, getKeyExchangeFactory: function (sa) { - return this._keyExchangeFactories.filter(function (oa) { - return oa.scheme == sa; + return this._keyExchangeFactories.filter(function (na) { + return na.scheme == sa; })[0]; }, getKeyExchangeFactories: function () { @@ -15835,9 +15845,9 @@ a000.D9b = function () { } }); xe = of.extend({ - init: function (sa, oa, W, aa) { + init: function (sa, na, W, aa) { this._log = sa; - this._mslContext = oa; + this._mslContext = na; this._mslRequest = W; this._keyRequestData = aa; }, @@ -15856,22 +15866,22 @@ a000.D9b = function () { getUserId: function () { return this._mslRequest.profileGuid || this._mslRequest.userId || null; }, - getUserAuthData: function (sa, oa, W, aa) { + getUserAuthData: function (sa, na, W, aa) { var ca, - ka; + ja; ca = this._mslRequest; - ka = this._mslContext; + ja = this._mslContext; Ka(aa, function () { var Ga, - Ea; + Ca; if (sa || !ca.shouldSendUserAuthData) return null; if (ca.token) { ca.email ? Ga = new wf(ca.email, ca.password) : ca.netflixId && (Ga = new xf(ca.netflixId, ca.secureNetflixId)); - Ea = "undefined" === typeof ca.profileGuid ? null : ca.profileGuid; - return new pd(ca.mechanism, Sb(ca.token), Ga, Ea); + Ca = "undefined" === typeof ca.profileGuid ? null : ca.profileGuid; + return new pd(ca.mechanism, Sb(ca.token), Ga, Ca); } - return ca.email ? new nd(ca.email, ca.password) : ca.netflixId ? new Xc(ca.netflixId, ca.secureNetflixId) : ca.mdxControllerToken ? (Ga = new od("regpairrequest", ca.mdxNonce, ca.mdxEncryptedPinB64, ca.mdxSignature).getEncoding(), new dd(ka, ca.mdxPin, ca.mdxControllerToken, Ga, ca.mdxSignature)) : ca.useNetflixUserAuthData ? new Xc() : ca.profileGuid ? (Ga = ca.userId, Ga = ka.getMslStore().userIdTokens[Ga], new qd(Ga, ca.profileGuid)) : W && ca.sendUserAuthIfRequired ? new Xc() : null; + return ca.email ? new nd(ca.email, ca.password) : ca.netflixId ? new Xc(ca.netflixId, ca.secureNetflixId) : ca.mdxControllerToken ? (Ga = new od("regpairrequest", ca.mdxNonce, ca.mdxEncryptedPinB64, ca.mdxSignature).getEncoding(), new dd(ja, ca.mdxPin, ca.mdxControllerToken, Ga, ca.mdxSignature)) : ca.useNetflixUserAuthData ? new Xc() : ca.profileGuid ? (Ga = ca.userId, Ga = ja.getMslStore().userIdTokens[Ga], new qd(Ga, ca.profileGuid)) : W && ca.sendUserAuthIfRequired ? new Xc() : null; }); }, getCustomer: function () { @@ -15880,26 +15890,26 @@ a000.D9b = function () { getKeyRequestData: function (sa) { sa.result(this._mslRequest.allowTokenRefresh ? [this._keyRequestData] : []); }, - updateServiceTokens: function (sa, oa, W) { + updateServiceTokens: function (sa, na, W) { var aa, ca, - ka, + ja, Ga, - Ea, + Ca, Pa; aa = this._log; ca = (this._mslRequest.serviceTokens || []).slice(); - ka = this._mslContext; - oa = ka.getMslStore(); + ja = this._mslContext; + na = ja.getMslStore(); Ga = sa.builder.getMasterToken(); - Ea = this.getUserId(); - Pa = oa.getUserIdToken(Ea); + Ca = this.getUserId(); + Pa = na.getUserIdToken(Ca); (function ia() { var ua; ua = ca.shift(); if (ua) try { - ua instanceof Kc ? (sa.addPrimaryServiceToken(ua), ia()) : Hd(ka, ua, Ga, Pa, null, { + ua instanceof Kc ? (sa.addPrimaryServiceToken(ua), ia()) : Hd(ja, ua, Ga, Pa, null, { result: function (xa) { try { sa.addPrimaryServiceToken(xa); @@ -15925,20 +15935,20 @@ a000.D9b = function () { W.result(!0); })(); }, - write: function (sa, oa, W) { + write: function (sa, na, W) { var aa; aa = Sb(this._mslRequest.body); - sa.write(aa, 0, aa.length, oa, { + sa.write(aa, 0, aa.length, na, { result: function (ca) { - ca != aa.length ? W.error(new Wb("Not all data was written to output.")) : sa.flush(oa, { + ca != aa.length ? W.error(new Wb("Not all data was written to output.")) : sa.flush(na, { result: function () { W.result(!0); }, timeout: function () { W.timeout(); }, - error: function (ka) { - W.error(ka); + error: function (ja) { + W.error(ja); } }); }, @@ -15956,23 +15966,23 @@ a000.D9b = function () { } }); cg = Tf.extend({ - init: function (sa, oa) { + init: function (sa, na) { this._log = sa; - this._mslRequest = oa; + this._mslRequest = na; }, sentHeader: function (sa) { this._log.trace("Sent MSL header", we(this._mslRequest, sa), sa.serviceTokens && sa.serviceTokens.map(Ef).join("\n")); }, receivedHeader: function (sa) { - var oa, + var na, W; - oa = we(this._mslRequest, sa); + na = we(this._mslRequest, sa); W = sa.errorCode; - W ? this._log.warn("Received MSL error header", oa, { + W ? this._log.warn("Received MSL error header", na, { errorCode: W, errorMessage: sa.errorMessage, internalCode: sa.internalCode - }) : this._log.trace("Received MSL header", oa); + }) : this._log.trace("Received MSL header", na); } }); Cf = { @@ -15983,21 +15993,21 @@ a000.D9b = function () { return Rd(sa, Nb.MGK, Bf, nc, he, Fd); }, MGK_WITH_FALLBACK: function (sa) { - var oa, + var na, W; switch (sa.esnPrefix) { case "GOOGEUR001": case "GOOGLEXX01": case "GOOGEST001": case "GOOGNEW001": - oa = "PSK"; + na = "PSK"; break; default: - oa = "MGK"; + na = "MGK"; } - W = Cf[oa]; + W = Cf[na]; if (!W) - throw new bb(U.INTERNAL_EXCEPTION, "Invalid fallback authenticationType: " + oa); + throw new bb(T.INTERNAL_EXCEPTION, "Invalid fallback authenticationType: " + na); return W(sa); }, MGK_JWE: function (sa) { @@ -16030,45 +16040,45 @@ a000.D9b = function () { }; pb.netflix = pb.netflix || ({}); pb.netflix.msl = { - createMslClient: function (sa, oa) { + createMslClient: function (sa, na) { var W, aa, ca, - ka, + ja, Ga; W = sa.log; Ga = sa.notifyMilestone || (function () {}); Promise.resolve().then(function () { if (!(Qb && Qb.generateKey && Qb.importKey && Qb.unwrapKey)) - throw new bb(U.INTERNAL_EXCEPTION, "No WebCrypto"); + throw new bb(T.INTERNAL_EXCEPTION, "No WebCrypto"); bc = Qb.generateKey({ name: "AES-CBC", length: 128 }, !0, Ic).then ? wd.V2014_02 : wd.LEGACY; Ga("mslisik"); return Jb.importKey("spki", sa.serverIdentityKeyData, He, !1, ["verify"]); - }).then(function (Ea) { + }).then(function (Ca) { return new Promise(function (Pa, Ra) { - Oc(Ea, { + Oc(Ca, { result: Pa, error: function () { - Ra(new bb(U.KEY_IMPORT_ERROR, "Unable to create server identity verification key")); + Ra(new bb(T.KEY_IMPORT_ERROR, "Unable to create server identity verification key")); } }); }); - }).then(function (Ea) { - aa = Ea; - if (Ea = Cf[sa.authenticationType]) - return (Ga("mslcc"), Ea(sa)); - throw new bb(U.INTERNAL_EXCEPTION, "Invalid authenticationType: " + sa.authenticationType); - }).then(function (Ea) { + }).then(function (Ca) { + aa = Ca; + if (Ca = Cf[sa.authenticationType]) + return (Ga("mslcc"), Ca(sa)); + throw new bb(T.INTERNAL_EXCEPTION, "Invalid authenticationType: " + sa.authenticationType); + }).then(function (Ca) { var Pa; - ca = new ag(W, sa.esn, Ea.keyRequestData, Ea.createKeyRequestData, sa.authenticationKeyNames.s, sa.systemKeyWrapFormat); - ka = new bg(ca, sa.serverIdentityId, aa, Ea.entityAuthFactories, Ea.entityAuthData, Ea.keyExchangeFactories); + ca = new ag(W, sa.esn, Ca.keyRequestData, Ca.createKeyRequestData, sa.authenticationKeyNames.s, sa.systemKeyWrapFormat); + ja = new bg(ca, sa.serverIdentityId, aa, Ca.entityAuthFactories, Ca.entityAuthData, Ca.keyExchangeFactories); Pa = sa.storeState; if (Pa) return (Ga("mslss"), W.info("Loading store state"), new Promise(function (Ra, ia) { - ca.loadStoreState(sa, ka, Pa, { + ca.loadStoreState(sa, ja, Pa, { result: Ra, timeout: Ra, error: Ra @@ -16076,12 +16086,12 @@ a000.D9b = function () { })); W.info("No store state, starting fresh"); }).then(function () { - var Ea; - Ea = new pf(); + var Ca; + Ca = new pf(); Ga("msldone"); - oa.result(new Ff(W, Ea, ka, ca, sa.ErrorSubCodes)); - }).catch(function (Ea) { - oa.error(Ea); + na.result(new Ff(W, Ca, ja, ca, sa.ErrorSubCodes)); + }).catch(function (Ca) { + na.error(Ca); }); }, IHttpLocation: Pf, @@ -16097,154 +16107,154 @@ a000.D9b = function () { sb, zb, wb; - function sa(q) { + function sa(r) { var b; b = 0; return function () { - return b < q.length ? { + return b < r.length ? { done: !1, - value: q[b++] + value: r[b++] } : { done: !0 }; }; } - function oa(q, b) { + function na(r, b) { var a, f; if (b) a: { a = Xa; - q = q.split("."); - for (var c = 0; c < q.length - 1; c++) { - f = q[c]; + r = r.split("."); + for (var c = 0; c < r.length - 1; c++) { + f = r[c]; if (!((f in a))) break a; a = a[f]; } - q = q[q.length - 1]; - c = a[q]; + r = r[r.length - 1]; + c = a[r]; b = b(c); - b != c && null != b && Ya(a, q, { + b != c && null != b && Ya(a, r, { configurable: !0, writable: !0, value: b }); } } - function W(q) { - q = { - next: q + function W(r) { + r = { + next: r }; - q[Symbol.iterator] = function () { + r[Symbol.iterator] = function () { return this; }; - return q; + return r; } - function aa(q) { + function aa(r) { var b; - b = "undefined" != typeof Symbol && Symbol.iterator && q[Symbol.iterator]; - return b ? b.call(q) : { - next: sa(q) + b = "undefined" != typeof Symbol && Symbol.iterator && r[Symbol.iterator]; + return b ? b.call(r) : { + next: sa(r) }; } - function ca(q) { - if (!(q instanceof Array)) { - q = aa(q); - for (var b, a = []; !(b = q.next()).done; ) { + function ca(r) { + if (!(r instanceof Array)) { + r = aa(r); + for (var b, a = []; !(b = r.next()).done; ) { a.push(b.value); } - q = a; + r = a; } - return q; + return r; } - function ka(q, b) { + function ja(r, b) { var c; - q.prototype = hb(b.prototype); - q.prototype.constructor = q; + r.prototype = hb(b.prototype); + r.prototype.constructor = r; if (zb) - zb(q, b); + zb(r, b); else for (var a in b) { if ("prototype" != a) if (Object.defineProperties) { c = Object.getOwnPropertyDescriptor(b, a); - c && Object.defineProperty(q, a, c); + c && Object.defineProperty(r, a, c); } else - q[a] = b[a]; + r[a] = b[a]; } - q.N7b = b.prototype; + r.c8b = b.prototype; } function Ga() { - this.bU = !1; - this.XC = null; - this.qua = void 0; - this.iG = 1; - this.GRa = this.Vnb = 0; - this.eR = null; + this.aU = !1; + this.ZC = null; + this.nua = void 0; + this.oG = 1; + this.FRa = this.Wnb = 0; + this.gR = null; } - function Ea(q) { - if (q.bU) + function Ca(r) { + if (r.aU) throw new TypeError("Generator is already running"); - q.bU = !0; + r.aU = !0; } - function Pa(q) { + function Pa(r) { this.jf = new Ga(); - this.jOb = q; + this.oOb = r; } - function Ra(q, b) { + function Ra(r, b) { var a; - Ea(q.jf); - a = q.jf.XC; + Ca(r.jf); + a = r.jf.ZC; if (a) - return ia(q, ("return" in a) ? a["return"] : function (c) { + return ia(r, ("return" in a) ? a["return"] : function (c) { return { value: c, done: !0 }; - }, b, q.jf.return); - q.jf.return(b); - return ua(q); + }, b, r.jf.return); + r.jf.return(b); + return ua(r); } - function ia(q, b, a, c) { + function ia(r, b, a, c) { var f, k; try { - f = b.call(q.jf.XC, a); + f = b.call(r.jf.ZC, a); if (!(f instanceof Object)) throw new TypeError("Iterator result " + f + " is not an object"); if (!f.done) - return (q.jf.bU = !1, f); + return (r.jf.aU = !1, f); k = f.value; } catch (l) { - return (q.jf.XC = null, q.jf.RW(l), ua(q)); + return (r.jf.ZC = null, r.jf.QW(l), ua(r)); } - q.jf.XC = null; - c.call(q.jf, k); - return ua(q); + r.jf.ZC = null; + c.call(r.jf, k); + return ua(r); } - function ua(q) { + function ua(r) { var b; - for (; q.jf.iG; ) { + for (; r.jf.oG; ) { try { - b = q.jOb(q.jf); + b = r.oOb(r.jf); if (b) - return (q.jf.bU = !1, { + return (r.jf.aU = !1, { value: b.value, done: !1 }); } catch (a) { - q.jf.qua = void 0; - q.jf.RW(a); + r.jf.nua = void 0; + r.jf.QW(a); } } - q.jf.bU = !1; - if (q.jf.eR) { - b = q.jf.eR; - q.jf.eR = null; - if (b.EEb) - throw b.HK; + r.jf.aU = !1; + if (r.jf.gR) { + b = r.jf.gR; + r.jf.gR = null; + if (b.JEb) + throw b.LK; return { value: b.return, done: !0 @@ -16255,42 +16265,42 @@ a000.D9b = function () { done: !0 }; } - function xa(q) { + function xa(r) { this.next = function (b) { - return q.VU(b); + return r.UU(b); }; this.throw = function (b) { - return q.RW(b); + return r.QW(b); }; this.return = function (b) { - return Ra(q, b); + return Ra(r, b); }; this[Symbol.iterator] = function () { return this; }; } - function Ha(q, b) { + function Ha(r, b) { b = new xa(new Pa(b)); - zb && q.prototype && zb(b, q.prototype); + zb && r.prototype && zb(b, r.prototype); return b; } - function Aa(q, b) { - return Object.prototype.hasOwnProperty.call(q, b); + function za(r, b) { + return Object.prototype.hasOwnProperty.call(r, b); } - function Oa(q, b) { + function Oa(r, b) { var a, c, f; - q instanceof String && (q += ""); + r instanceof String && (r += ""); a = 0; c = !1; f = { next: function () { var k; - if (!c && a < q.length) { + if (!c && a < r.length) { k = a++; return { - value: b(k, q[k]), + value: b(k, r[k]), done: !1 }; } @@ -16306,46 +16316,46 @@ a000.D9b = function () { }; return f; } - function Da(q, b, a) { - if (null == q) - throw new TypeError("The 'this' value for String.prototype." + a + " must not be null or undefined"); - if (b instanceof RegExp) - throw new TypeError("First argument to String.prototype." + a + " must not be a regular expression"); - return q + ""; - } - function Wa(q, b, a) { + function Da(r, b, a) { var k; - q instanceof String && (q = String(q)); - for (var c = q.length, f = 0; f < c; f++) { - k = q[f]; - if (b.call(a, k, f, q)) + r instanceof String && (r = String(r)); + for (var c = r.length, f = 0; f < c; f++) { + k = r[f]; + if (b.call(a, k, f, r)) return { - qla: f, - SC: k + lla: f, + TC: k }; } return { - qla: -1, - SC: void 0 + lla: -1, + TC: void 0 }; } - Ya = "function" == typeof Object.defineProperties ? Object.defineProperty : function (q, b, a) { - if (q == Array.prototype || q == Object.prototype) - return q; - q[b] = a.value; - return q; + function Wa(r, b, a) { + if (null == r) + throw new TypeError("The 'this' value for String.prototype." + a + " must not be null or undefined"); + if (b instanceof RegExp) + throw new TypeError("First argument to String.prototype." + a + " must not be a regular expression"); + return r + ""; + } + Ya = "function" == typeof Object.defineProperties ? Object.defineProperty : function (r, b, a) { + if (r == Array.prototype || r == Object.prototype) + return r; + r[b] = a.value; + return r; }; - Xa = (function (q) { + Xa = (function (r) { var a; - q = ["object" == typeof globalThis && globalThis, q, "object" == typeof pb && pb, "object" == typeof self && self, "object" == typeof global && global]; - for (var b = 0; b < q.length; ++b) { - a = q[b]; + r = ["object" == typeof globalThis && globalThis, r, "object" == typeof pb && pb, "object" == typeof self && self, "object" == typeof global && global]; + for (var b = 0; b < r.length; ++b) { + a = r[b]; if (a && a.Math == Math) return a; } throw Error("Cannot find global object"); })(this); - oa("Symbol", function (q) { + na("Symbol", function (r) { var c; function b(f) { if (this instanceof b) @@ -16353,29 +16363,29 @@ a000.D9b = function () { return new a("jscomp_symbol_" + (f || "") + "_" + c++, f); } function a(f, k) { - this.g7a = f; + this.j7a = f; Ya(this, "description", { configurable: !0, writable: !0, value: k }); } - if (q) - return q; + if (r) + return r; a.prototype.toString = function () { - return this.g7a; + return this.j7a; }; c = 0; return b; }); - oa("Symbol.iterator", function (q) { + na("Symbol.iterator", function (r) { var c; - if (q) - return q; - q = Symbol("Symbol.iterator"); + if (r) + return r; + r = Symbol("Symbol.iterator"); for (var b = ("Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array").split(" "), a = 0; a < b.length; a++) { c = Xa[b[a]]; - "function" === typeof c && "function" != typeof c.prototype[q] && Ya(c.prototype, q, { + "function" === typeof c && "function" != typeof c.prototype[r] && Ya(c.prototype, r, { configurable: !0, writable: !0, value: function () { @@ -16383,23 +16393,23 @@ a000.D9b = function () { } }); } - return q; + return r; }); - hb = "function" == typeof Object.create ? Object.create : function (q) { + hb = "function" == typeof Object.create ? Object.create : function (r) { function b() {} - b.prototype = q; + b.prototype = r; return new b(); }; lb = (function () { var b; - function q() { + function r() { function a() {} new a(); Reflect.construct(a, [], function () {}); return new a()instanceof a; } if ("undefined" != typeof Reflect && Reflect.construct) { - if (q()) + if (r()) return Reflect.construct; b = Reflect.construct; return function (a, c, f) { @@ -16426,56 +16436,56 @@ a000.D9b = function () { sb.__proto__ = rb; ob = sb.a; break a; - } catch (q) {} + } catch (r) {} ob = !1; } - ob = ob ? function (q, b) { - q.__proto__ = b; - if (q.__proto__ !== b) - throw new TypeError(q + " is not extensible"); - return q; + ob = ob ? function (r, b) { + r.__proto__ = b; + if (r.__proto__ !== b) + throw new TypeError(r + " is not extensible"); + return r; } : null; } zb = ob; - Ga.prototype.VU = function (q) { - this.qua = q; + Ga.prototype.UU = function (r) { + this.nua = r; }; - Ga.prototype.RW = function (q) { - this.eR = { - HK: q, - EEb: !0 + Ga.prototype.QW = function (r) { + this.gR = { + LK: r, + JEb: !0 }; - this.iG = this.Vnb || this.GRa; + this.oG = this.Wnb || this.FRa; }; - Ga.prototype.return = function (q) { - this.eR = { - return : q + Ga.prototype.return = function (r) { + this.gR = { + return : r }; - this.iG = this.GRa; + this.oG = this.FRa; }; - Pa.prototype.VU = function (q) { - Ea(this.jf); - if (this.jf.XC) - return ia(this, this.jf.XC.next, q, this.jf.VU); - this.jf.VU(q); + Pa.prototype.UU = function (r) { + Ca(this.jf); + if (this.jf.ZC) + return ia(this, this.jf.ZC.next, r, this.jf.UU); + this.jf.UU(r); return ua(this); }; - Pa.prototype.RW = function (q) { - Ea(this.jf); - if (this.jf.XC) - return ia(this, this.jf.XC["throw"], q, this.jf.VU); - this.jf.RW(q); + Pa.prototype.QW = function (r) { + Ca(this.jf); + if (this.jf.ZC) + return ia(this, this.jf.ZC["throw"], r, this.jf.UU); + this.jf.QW(r); return ua(this); }; - oa("Reflect", function (q) { - return q ? q : {}; + na("Reflect", function (r) { + return r ? r : {}; }); - oa("Reflect.construct", function () { + na("Reflect.construct", function () { return lb; }); - oa("Reflect.setPrototypeOf", function (q) { - return q ? q : zb ? function (b, a) { + na("Reflect.setPrototypeOf", function (r) { + return r ? r : zb ? function (b, a) { try { return (zb(b, a), !0); } catch (c) { @@ -16484,33 +16494,33 @@ a000.D9b = function () { } : null; }); - oa("Object.setPrototypeOf", function (q) { - return q || zb; + na("Object.setPrototypeOf", function (r) { + return r || zb; }); - wb = "function" == typeof Object.assign ? Object.assign : function (q, b) { + wb = "function" == typeof Object.assign ? Object.assign : function (r, b) { var c; for (var a = 1; a < arguments.length; a++) { c = arguments[a]; if (c) for (var f in c) { - Aa(c, f) && (q[f] = c[f]); + za(c, f) && (r[f] = c[f]); } } - return q; + return r; }; - oa("Object.assign", function (q) { - return q || wb; + na("Object.assign", function (r) { + return r || wb; }); - oa("Promise", function (q) { + na("Promise", function (r) { var f, k; function b(l) { var d; - this.CN = 0; + this.DN = 0; this.dW = void 0; - this.oM = []; - this.xWa = !1; - d = this.Sga(); + this.qM = []; + this.vWa = !1; + d = this.Mga(); try { l(d.resolve, d.reject); } catch (g) { @@ -16518,36 +16528,36 @@ a000.D9b = function () { } } function a() { - this.$A = null; + this.bB = null; } function c(l) { return l instanceof b ? l : new b(function (d) { d(l); }); } - if (q) - return q; + if (r) + return r; a.prototype.xMa = function (l) { var d; - if (null == this.$A) { - this.$A = []; + if (null == this.bB) { + this.bB = []; d = this; this.yMa(function () { - d.awb(); + d.gwb(); }); } - this.$A.push(l); + this.bB.push(l); }; f = Xa.setTimeout; a.prototype.yMa = function (l) { f(l, 0); }; - a.prototype.awb = function () { + a.prototype.gwb = function () { var l, g; - for (; this.$A && this.$A.length; ) { - l = this.$A; - this.$A = []; + for (; this.bB && this.bB.length; ) { + l = this.bB; + this.bB = []; for (var d = 0; d < l.length; ++d) { g = l[d]; l[d] = null; @@ -16558,14 +16568,14 @@ a000.D9b = function () { } } } - this.$A = null; + this.bB = null; }; a.prototype.Jlb = function (l) { this.yMa(function () { throw l; }); }; - b.prototype.Sga = function () { + b.prototype.Mga = function () { var d, g; function l(h) { @@ -16576,16 +16586,16 @@ a000.D9b = function () { d = this; g = !1; return { - resolve: l(this.vQb), - reject: l(this.Gqa) + resolve: l(this.AQb), + reject: l(this.Aqa) }; }; - b.prototype.vQb = function (l) { + b.prototype.AQb = function (l) { var d; if (l === this) - this.Gqa(new TypeError("A Promise cannot resolve to itself")); + this.Aqa(new TypeError("A Promise cannot resolve to itself")); else if (l instanceof b) - this.zSb(l); + this.DSb(l); else { a: switch (typeof l) { case "object": @@ -16597,50 +16607,50 @@ a000.D9b = function () { default: d = !1; } - d ? this.uQb(l) : this.mSa(l); + d ? this.zQb(l) : this.lSa(l); } }; - b.prototype.uQb = function (l) { + b.prototype.zQb = function (l) { var d; d = void 0; try { d = l.then; } catch (g) { - this.Gqa(g); + this.Aqa(g); return; } - "function" == typeof d ? this.ASb(d, l) : this.mSa(l); + "function" == typeof d ? this.ESb(d, l) : this.lSa(l); }; - b.prototype.Gqa = function (l) { + b.prototype.Aqa = function (l) { this.u3a(2, l); }; - b.prototype.mSa = function (l) { + b.prototype.lSa = function (l) { this.u3a(1, l); }; b.prototype.u3a = function (l, d) { - if (0 != this.CN) - throw Error("Cannot settle(" + l + ", " + d + "): Promise already settled in state" + this.CN); - this.CN = l; + if (0 != this.DN) + throw Error("Cannot settle(" + l + ", " + d + "): Promise already settled in state" + this.DN); + this.DN = l; this.dW = d; - 2 === this.CN && this.ZQb(); - this.bwb(); + 2 === this.DN && this.dRb(); + this.hwb(); }; - b.prototype.ZQb = function () { + b.prototype.dRb = function () { var l; l = this; f(function () { var d; - if (l.dKb()) { + if (l.fKb()) { d = Xa.console; "undefined" !== typeof d && d.error(l.dW); } }, 1); }; - b.prototype.dKb = function () { + b.prototype.fKb = function () { var l, d, g; - if (this.xWa) + if (this.vWa) return !1; l = Xa.CustomEvent; d = Xa.Event; @@ -16656,23 +16666,23 @@ a000.D9b = function () { l.reason = this.dW; return g(l); }; - b.prototype.bwb = function () { - if (null != this.oM) { - for (var l = 0; l < this.oM.length; ++l) { - k.xMa(this.oM[l]); + b.prototype.hwb = function () { + if (null != this.qM) { + for (var l = 0; l < this.qM.length; ++l) { + k.xMa(this.qM[l]); } - this.oM = null; + this.qM = null; } }; k = new a(); - b.prototype.zSb = function (l) { + b.prototype.DSb = function (l) { var d; - d = this.Sga(); - l.c1(d.resolve, d.reject); + d = this.Mga(); + l.e1(d.resolve, d.reject); }; - b.prototype.ASb = function (l, d) { + b.prototype.ESb = function (l, d) { var g; - g = this.Sga(); + g = this.Mga(); try { l.call(d, g.resolve, g.reject); } catch (h) { @@ -16683,30 +16693,30 @@ a000.D9b = function () { var h, m, n; - function g(r, p) { - return "function" == typeof r ? function (u) { + function g(q, p) { + return "function" == typeof q ? function (t) { try { - h(r(u)); - } catch (t) { - m(t); + h(q(t)); + } catch (u) { + m(u); } } : p; } - n = new b(function (r, p) { - h = r; + n = new b(function (q, p) { + h = q; m = p; }); - this.c1(g(l, h), g(d, m)); + this.e1(g(l, h), g(d, m)); return n; }; b.prototype.catch = function (l) { return this.then(void 0, l); }; - b.prototype.c1 = function (l, d) { + b.prototype.e1 = function (l, d) { var h; function g() { - switch (h.CN) { + switch (h.DN) { case 1: l(h.dW); break; @@ -16714,12 +16724,12 @@ a000.D9b = function () { d(h.dW); break; default: - throw Error("Unexpected state: " + h.CN); + throw Error("Unexpected state: " + h.DN); } } h = this; - null == this.oM ? k.xMa(g) : this.oM.push(g); - this.xWa = !0; + null == this.qM ? k.xMa(g) : this.qM.push(g); + this.vWa = !0; }; b.resolve = c; b.reject = function (l) { @@ -16730,7 +16740,7 @@ a000.D9b = function () { b.race = function (l) { return new b(function (d, g) { for (var h = aa(l), m = h.next(); !m.done; m = h.next()) { - c(m.value).c1(d, g); + c(m.value).e1(d, g); } }); }; @@ -16740,52 +16750,57 @@ a000.D9b = function () { d = aa(l); g = d.next(); return g.done ? c([]) : new b(function (h, m) { - var r, + var q, p; - function n(u) { - return function (t) { - r[u] = t; + function n(t) { + return function (u) { + q[t] = u; p--; - 0 == p && h(r); + 0 == p && h(q); }; } - r = []; + q = []; p = 0; do { - r.push(void 0); + q.push(void 0); p++; - c(g.value).c1(n(r.length - 1), m); + c(g.value).e1(n(q.length - 1), m); g = d.next(); } while (!g.done); }); }; return b; }); - oa("Object.entries", function (q) { - return q ? q : function (b) { + na("Object.entries", function (r) { + return r ? r : function (b) { var a, c; a = []; for (c in b) { - Aa(b, c) && a.push([c, b[c]]); + za(b, c) && a.push([c, b[c]]); } return a; }; }); - oa("Array.prototype.keys", function (q) { - return q ? q : function () { + na("Array.prototype.keys", function (r) { + return r ? r : function () { return Oa(this, function (b) { return b; }); }; }); - oa("Object.is", function (q) { - return q ? q : function (b, a) { + na("Array.prototype.find", function (r) { + return r ? r : function (b, a) { + return Da(this, b, a).TC; + }; + }); + na("Object.is", function (r) { + return r ? r : function (b, a) { return b === a ? 0 !== b || 1 / b === 1 / a : b !== b && a !== a; }; }); - oa("Array.prototype.includes", function (q) { - return q ? q : function (b, a) { + na("Array.prototype.includes", function (r) { + return r ? r : function (b, a) { var c, f, k; @@ -16801,18 +16816,18 @@ a000.D9b = function () { return !1; }; }); - oa("String.prototype.includes", function (q) { - return q ? q : function (b, a) { - return -1 !== Da(this, b, "includes").indexOf(b, a || 0); + na("String.prototype.includes", function (r) { + return r ? r : function (b, a) { + return -1 !== Wa(this, b, "includes").indexOf(b, a || 0); }; }); - oa("Number.isNaN", function (q) { - return q ? q : function (b) { + na("Number.isNaN", function (r) { + return r ? r : function (b) { return "number" === typeof b && isNaN(b); }; }); - oa("Math.tanh", function (q) { - return q ? q : function (b) { + na("Math.tanh", function (r) { + return r ? r : function (b) { var a; b = Number(b); if (0 === b) @@ -16822,18 +16837,18 @@ a000.D9b = function () { return 0 > b ? -a : a; }; }); - oa("Array.prototype.entries", function (q) { - return q ? q : function () { + na("Array.prototype.entries", function (r) { + return r ? r : function () { return Oa(this, function (b, a) { return [b, a]; }); }; }); - oa("WeakMap", function (q) { + na("WeakMap", function (r) { var l, d; function b(g) { - this.ST = (d += Math.random() + 1).toString(); + this.QT = (d += Math.random() + 1).toString(); if (g) { g = aa(g); for (var h; !(h = g.next()).done; ) { @@ -16850,7 +16865,7 @@ a000.D9b = function () { } function f(g) { var h; - if (!Aa(g, l)) { + if (!za(g, l)) { h = new a(); Ya(g, l, { value: h @@ -16871,12 +16886,12 @@ a000.D9b = function () { var g, h, m; - if (!q || !Object.seal) + if (!r || !Object.seal) return !1; try { g = Object.seal({}); h = Object.seal({}); - m = new q([[g, 2], [h, 3]]); + m = new r([[g, 2], [h, 3]]); if (2 != m.get(g) || 3 != m.get(h)) return !1; m.delete(g); @@ -16886,7 +16901,7 @@ a000.D9b = function () { return !1; } })()) - return q; + return r; l = "$jscomp_hidden_" + Math.random(); k("freeze"); k("preventExtensions"); @@ -16896,37 +16911,37 @@ a000.D9b = function () { if (!c(g)) throw Error("Invalid WeakMap key"); f(g); - if (!Aa(g, l)) + if (!za(g, l)) throw Error("WeakMap key fail: " + g); - g[l][this.ST] = h; + g[l][this.QT] = h; return this; }; b.prototype.get = function (g) { - return c(g) && Aa(g, l) ? g[l][this.ST] : void 0; + return c(g) && za(g, l) ? g[l][this.QT] : void 0; }; b.prototype.has = function (g) { - return c(g) && Aa(g, l) && Aa(g[l], this.ST); + return c(g) && za(g, l) && za(g[l], this.QT); }; b.prototype.delete = function (g) { - return c(g) && Aa(g, l) && Aa(g[l], this.ST) ? delete g[l][this.ST] : !1; + return c(g) && za(g, l) && za(g[l], this.QT) ? delete g[l][this.QT] : !1; }; return b; }); - oa("Map", function (q) { + na("Map", function (r) { var k, l; function b() { var d; d = {}; - return d.bz = d.next = d.head = d; + return d.ez = d.next = d.head = d; } function a(d, g) { var h; - h = d.ty; + h = d.wy; return W(function () { if (h) { - for (; h.head != d.ty; ) { - h = h.bz; + for (; h.head != d.wy; ) { + h = h.ez; } for (; h.next != h.head; ) { return (h = h.next, { @@ -16948,8 +16963,8 @@ a000.D9b = function () { n; h = g && typeof g; "object" == h || "function" == h ? k.has(g) ? h = k.get(g) : (h = "" + ++l, k.set(g, h)) : h = "p_" + g; - m = d.Ox[h]; - if (m && Aa(d.Ox, h)) + m = d.Tx[h]; + if (m && za(d.Tx, h)) for (d = 0; d < m.length; d++) { n = m[d]; if (g !== g && n.key !== n.key || g === n.key) @@ -16968,8 +16983,8 @@ a000.D9b = function () { }; } function f(d) { - this.Ox = {}; - this.ty = b(); + this.Tx = {}; + this.wy = b(); this.size = 0; if (d) { d = aa(d); @@ -16984,13 +16999,13 @@ a000.D9b = function () { g, h, m; - if (!q || "function" != typeof q || !q.prototype.entries || "function" != typeof Object.seal) + if (!r || "function" != typeof r || !r.prototype.entries || "function" != typeof Object.seal) return !1; try { d = Object.seal({ x: 4 }); - g = new q(aa([[d, "s"]])); + g = new r(aa([[d, "s"]])); if ("s" != g.get(d) || 1 != g.size || g.get({ x: 4 }) || g.set({ @@ -17007,29 +17022,29 @@ a000.D9b = function () { return !1; } })()) - return q; + return r; k = new WeakMap(); f.prototype.set = function (d, g) { var h; d = 0 === d ? 0 : d; h = c(this, d); - h.list || (h.list = this.Ox[h.id] = []); + h.list || (h.list = this.Tx[h.id] = []); h.entry ? h.entry.value = g : (h.entry = { - next: this.ty, - bz: this.ty.bz, - head: this.ty, + next: this.wy, + ez: this.wy.ez, + head: this.wy, key: d, value: g - }, h.list.push(h.entry), this.ty.bz.next = h.entry, this.ty.bz = h.entry, this.size++); + }, h.list.push(h.entry), this.wy.ez.next = h.entry, this.wy.ez = h.entry, this.size++); return this; }; f.prototype.delete = function (d) { d = c(this, d); - return d.entry && d.list ? (d.list.splice(d.index, 1), d.list.length || delete this.Ox[d.id], d.entry.bz.next = d.entry.next, d.entry.next.bz = d.entry.bz, d.entry.head = null, this.size--, !0) : !1; + return d.entry && d.list ? (d.list.splice(d.index, 1), d.list.length || delete this.Tx[d.id], d.entry.ez.next = d.entry.next, d.entry.next.ez = d.entry.ez, d.entry.head = null, this.size--, !0) : !1; }; f.prototype.clear = function () { - this.Ox = {}; - this.ty = this.ty.bz = b(); + this.Tx = {}; + this.wy = this.wy.ez = b(); this.size = 0; }; f.prototype.has = function (d) { @@ -17063,29 +17078,29 @@ a000.D9b = function () { l = 0; return f; }); - oa("Set", function (q) { + na("Set", function (r) { function b(a) { - this.tv = new Map(); + this.zv = new Map(); if (a) { a = aa(a); for (var c; !(c = a.next()).done; ) { this.add(c.value); } } - this.size = this.tv.size; + this.size = this.zv.size; } if ((function () { var a, c, f, k; - if (!q || "function" != typeof q || !q.prototype.entries || "function" != typeof Object.seal) + if (!r || "function" != typeof r || !r.prototype.entries || "function" != typeof Object.seal) return !1; try { a = Object.seal({ x: 4 }); - c = new q(aa([a])); + c = new r(aa([a])); if (!c.has(a) || 1 != c.size || c.add(a) != c || 1 != c.size || c.add({ x: 4 }) != c || 2 != c.size) @@ -17100,51 +17115,46 @@ a000.D9b = function () { return !1; } })()) - return q; + return r; b.prototype.add = function (a) { a = 0 === a ? 0 : a; - this.tv.set(a, a); - this.size = this.tv.size; + this.zv.set(a, a); + this.size = this.zv.size; return this; }; b.prototype.delete = function (a) { - a = this.tv.delete(a); - this.size = this.tv.size; + a = this.zv.delete(a); + this.size = this.zv.size; return a; }; b.prototype.clear = function () { - this.tv.clear(); + this.zv.clear(); this.size = 0; }; b.prototype.has = function (a) { - return this.tv.has(a); + return this.zv.has(a); }; b.prototype.entries = function () { - return this.tv.entries(); + return this.zv.entries(); }; b.prototype.values = function () { - return this.tv.values(); + return this.zv.values(); }; b.prototype.keys = b.prototype.values; b.prototype[Symbol.iterator] = b.prototype.values; b.prototype.forEach = function (a, c) { var f; f = this; - this.tv.forEach(function (k) { + this.zv.forEach(function (k) { return a.call(c, k, k, f); }); }; return b; }); - oa("Array.prototype.find", function (q) { - return q ? q : function (b, a) { - return Wa(this, b, a).SC; - }; - }); - oa("String.prototype.endsWith", function (q) { - return q ? q : function (b, a) { + na("String.prototype.endsWith", function (r) { + return r ? r : function (b, a) { var c; - c = Da(this, b, "endsWith"); + c = Wa(this, b, "endsWith"); b += ""; void 0 === a && (a = c.length); a = Math.max(0, Math.min(a | 0, c.length)); @@ -17155,10 +17165,10 @@ a000.D9b = function () { return 0 >= f; }; }); - oa("String.prototype.repeat", function (q) { - return q ? q : function (b) { + na("String.prototype.repeat", function (r) { + return r ? r : function (b) { var a; - a = Da(this, null, "repeat"); + a = Wa(this, null, "repeat"); if (0 > b || 1342177279 < b) throw new RangeError("Invalid count value"); b |= 0; @@ -17169,33 +17179,33 @@ a000.D9b = function () { return c; }; }); - oa("Number.MAX_SAFE_INTEGER", function () { + na("Number.MAX_SAFE_INTEGER", function () { return 9007199254740991; }); - oa("Array.prototype.values", function (q) { - return q ? q : function () { + na("Array.prototype.values", function (r) { + return r ? r : function () { return Oa(this, function (b, a) { return a; }); }; }); - oa("Object.values", function (q) { - return q ? q : function (b) { + na("Object.values", function (r) { + return r ? r : function (b) { var a, c; a = []; for (c in b) { - Aa(b, c) && a.push(b[c]); + za(b, c) && a.push(b[c]); } return a; }; }); - oa("String.prototype.startsWith", function (q) { - return q ? q : function (b, a) { + na("String.prototype.startsWith", function (r) { + return r ? r : function (b, a) { var c, f, k; - c = Da(this, b, "startsWith"); + c = Wa(this, b, "startsWith"); b += ""; f = c.length; k = b.length; @@ -17207,13 +17217,13 @@ a000.D9b = function () { return l >= k; }; }); - oa("Array.prototype.findIndex", function (q) { - return q ? q : function (b, a) { - return Wa(this, b, a).qla; + na("Array.prototype.findIndex", function (r) { + return r ? r : function (b, a) { + return Da(this, b, a).lla; }; }); - oa("String.fromCodePoint", function (q) { - return q ? q : function (b) { + na("String.fromCodePoint", function (r) { + return r ? r : function (b) { var f; for (var a = "", c = 0; c < arguments.length; c++) { f = Number(arguments[c]); @@ -17224,31 +17234,31 @@ a000.D9b = function () { return a; }; }); - oa("Number.isFinite", function (q) { - return q ? q : function (b) { + na("Number.isFinite", function (r) { + return r ? r : function (b) { return "number" !== typeof b ? !1 : !isNaN(b) && Infinity !== b && -Infinity !== b; }; }); - (function (q) { + (function (r) { var a; function b(c) { var f; if (a[c]) return a[c].exports; f = a[c] = { - qla: c, - OFb: !1, + lla: c, + RFb: !1, exports: {} }; - q[c].call(f.exports, f, f.exports, b); - f.OFb = !0; + r[c].call(f.exports, f, f.exports, b); + f.RFb = !0; return f.exports; } a = {}; - b.L5b = q; + b.V5b = r; b.c = a; b.d = function (c, f, k) { - b.nKb(c, f) || Object.defineProperty(c, f, { + b.pKb(c, f) || Object.defineProperty(c, f, { enumerable: !0, get: k }); @@ -17291,460 +17301,460 @@ a000.D9b = function () { b.d(f, "a", f); return f; }; - b.nKb = function (c, f) { + b.pKb = function (c, f) { return Object.prototype.hasOwnProperty.call(c, f); }; b.p = ""; - return b(b.OQb = 529); - })([function (q, b, a) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - q = a(41); - b.o0b = q; - q = a(532); - b.YX = q.YX; - q = a(75); - b.Hr = q.Hr; - b.ej = q.ej; - b.Lw = q.Lw; - q = a(548); - b.lva = q.lva; - b.ad = q.ad; - q = a(549); - b.R = q.R; - q = a(550); - b.F4a = q.F4a; - q = a(551); - b.jZa = q.jZa; - q = a(297); - b.l = q.l; - b.M$ = q.M$; - q = a(552); - b.optional = q.optional; - q = a(553); - b.cj = q.cj; - q = a(554); - b.fG = q.fG; - q = a(555); - b.PW = q.PW; - q = a(556); - b.s0a = q.s0a; - q = a(295); - b.faa = q.faa; - q = a(103); - b.id = q.id; - q = a(88); - b.Jq = q.Jq; - q = a(300); - b.x5a = q.x5a; - b.G4a = q.G4a; - b.kZa = q.kZa; - b.D5a = q.D5a; - q = a(130); - b.hL = q.hL; - a = a(557); - b.gZa = a.gZa; - }, function (q, b, a) { - var G, - I; + return b(b.TQb = 532); + })([function (r, b, a) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + r = a(41); + b.p0b = r; + r = a(535); + b.XX = r.XX; + r = a(75); + b.Kr = r.Kr; + b.cj = r.cj; + b.Qw = r.Qw; + r = a(551); + b.iva = r.iva; + b.$c = r.$c; + r = a(552); + b.R = r.R; + r = a(553); + b.H4a = r.H4a; + r = a(554); + b.gZa = r.gZa; + r = a(299); + b.l = r.l; + b.E$ = r.E$; + r = a(555); + b.optional = r.optional; + r = a(556); + b.aj = r.aj; + r = a(557); + b.lG = r.lG; + r = a(558); + b.OW = r.OW; + r = a(559); + b.q0a = r.q0a; + r = a(297); + b.Y$ = r.Y$; + r = a(103); + b.id = r.id; + r = a(88); + b.Kq = r.Kq; + r = a(302); + b.z5a = r.z5a; + b.I4a = r.I4a; + b.hZa = r.hZa; + b.F5a = r.F5a; + r = a(130); + b.kL = r.kL; + a = a(560); + b.dZa = a.dZa; + }, function (r, b, a) { + var F, + J; function c() { - c = Object.assign || (function (J) { - for (var H, M = 1, O = arguments.length; M < O; M++) { - H = arguments[M]; - for (var L in H) { - Object.prototype.hasOwnProperty.call(H, L) && (J[L] = H[L]); + c = Object.assign || (function (K) { + for (var H, L = 1, Q = arguments.length; L < Q; L++) { + H = arguments[L]; + for (var I in H) { + Object.prototype.hasOwnProperty.call(H, I) && (K[I] = H[I]); } } - return J; + return K; }); return c.apply(this, arguments); } - function f(J, H) { + function f(K, H) { f = Object.setPrototypeOf || ({ __proto__: [] - })instanceof Array && (function (M, O) { - M.__proto__ = O; - }) || (function (M, O) { - for (var L in O) { - Object.prototype.hasOwnProperty.call(O, L) && (M[L] = O[L]); + })instanceof Array && (function (L, Q) { + L.__proto__ = Q; + }) || (function (L, Q) { + for (var I in Q) { + Object.prototype.hasOwnProperty.call(Q, I) && (L[I] = Q[I]); } }); - return f(J, H); + return f(K, H); } - function k(J, H) { - function M() { - this.constructor = J; + function k(K, H) { + function L() { + this.constructor = K; } if ("function" !== typeof H && null !== H) throw new TypeError("Class extends value " + String(H) + " is not a constructor or null"); - f(J, H); - J.prototype = null === H ? Object.create(H) : (M.prototype = H.prototype, new M()); + f(K, H); + K.prototype = null === H ? Object.create(H) : (L.prototype = H.prototype, new L()); } - function l(J, H) { - var M, - O, - L; - M = {}; - for (O in J) { - Object.prototype.hasOwnProperty.call(J, O) && 0 > H.indexOf(O) && (M[O] = J[O]); + function l(K, H) { + var L, + Q, + I; + L = {}; + for (Q in K) { + Object.prototype.hasOwnProperty.call(K, Q) && 0 > H.indexOf(Q) && (L[Q] = K[Q]); } - if (null != J && "function" === typeof Object.getOwnPropertySymbols) { - L = 0; - for (O = Object.getOwnPropertySymbols(J); L < O.length; L++) { - 0 > H.indexOf(O[L]) && Object.prototype.propertyIsEnumerable.call(J, O[L]) && (M[O[L]] = J[O[L]]); + if (null != K && "function" === typeof Object.getOwnPropertySymbols) { + I = 0; + for (Q = Object.getOwnPropertySymbols(K); I < Q.length; I++) { + 0 > H.indexOf(Q[I]) && Object.prototype.propertyIsEnumerable.call(K, Q[I]) && (L[Q[I]] = K[Q[I]]); } } - return M; + return L; } - function d(J, H, M, O) { - var L, - P, - R; - L = arguments.length; - P = 3 > L ? H : null === O ? O = Object.getOwnPropertyDescriptor(H, M) : O; - if ("object" === typeof Reflect && "function" === typeof Reflect.Jq) - P = Reflect.Jq(J, H, M, O); + function d(K, H, L, Q) { + var I, + O, + N; + I = arguments.length; + O = 3 > I ? H : null === Q ? Q = Object.getOwnPropertyDescriptor(H, L) : Q; + if ("object" === typeof Reflect && "function" === typeof Reflect.Kq) + O = Reflect.Kq(K, H, L, Q); else - for (var K = J.length - 1; 0 <= K; K--) { - if (R = J[K]) - P = (3 > L ? R(P) : 3 < L ? R(H, M, P) : R(H, M)) || P; + for (var M = K.length - 1; 0 <= M; M--) { + if (N = K[M]) + O = (3 > I ? N(O) : 3 < I ? N(H, L, O) : N(H, L)) || O; } - return (3 < L && P && Object.defineProperty(H, M, P), P); + return (3 < I && O && Object.defineProperty(H, L, O), O); } - function g(J, H) { - return function (M, O) { - H(M, O, J); + function g(K, H) { + return function (L, Q) { + H(L, Q, K); }; } - function h(J, H) { + function h(K, H) { if ("object" === typeof Reflect && "function" === typeof Reflect.xd) - return Reflect.xd(J, H); + return Reflect.xd(K, H); } - function m(J, H, M, O) { - function L(P) { - return P instanceof M ? P : new M(function (R) { - R(P); + function m(K, H, L, Q) { + function I(O) { + return O instanceof L ? O : new L(function (N) { + N(O); }); } - return new(M || (M = Promise))(function (P, R) { - function K(da) { + return new(L || (L = Promise))(function (O, N) { + function M(ea) { try { - N(O.next(da)); - } catch (na) { - R(na); + R(Q.next(ea)); + } catch (pa) { + N(pa); } } - function Q(da) { + function P(ea) { try { - N(O["throw"](da)); - } catch (na) { - R(na); + R(Q["throw"](ea)); + } catch (pa) { + N(pa); } } - function N(da) { - da.done ? P(da.value) : L(da.value).then(K, Q); + function R(ea) { + ea.done ? O(ea.value) : I(ea.value).then(M, P); } - N((O = O.apply(J, H || [])).next()); + R((Q = Q.apply(K, H || [])).next()); }); } - function n(J, H) { - var L, - P, - R, - K, - Q; - function M(N) { - return function (da) { - return O([N, da]); + function n(K, H) { + var I, + O, + N, + M, + P; + function L(R) { + return function (ea) { + return Q([R, ea]); }; } - function O(N) { - if (P) + function Q(R) { + if (O) throw new TypeError("Generator is already executing."); - for (; L; ) { + for (; I; ) { try { - if ((P = 1, R && (K = N[0] & 2 ? R["return"] : N[0] ? R["throw"] || ((K = R["return"]) && K.call(R), 0) : R.next) && !(K = K.call(R, N[1])).done)) - return K; - if ((R = 0, K)) - N = [N[0] & 2, K.value]; - switch (N[0]) { + if ((O = 1, N && (M = R[0] & 2 ? N["return"] : R[0] ? N["throw"] || ((M = N["return"]) && M.call(N), 0) : N.next) && !(M = M.call(N, R[1])).done)) + return M; + if ((N = 0, M)) + R = [R[0] & 2, M.value]; + switch (R[0]) { case 0: case 1: - K = N; + M = R; break; case 4: - return (L.label++, { - value: N[1], + return (I.label++, { + value: R[1], done: !1 }); case 5: - L.label++; - R = N[1]; - N = [0]; + I.label++; + N = R[1]; + R = [0]; continue; case 7: - N = L.Tm.pop(); - L.gn.pop(); + R = I.Sm.pop(); + I.gn.pop(); continue; default: - if (!(K = L.gn, K = 0 < K.length && K[K.length - 1]) && (6 === N[0] || 2 === N[0])) { - L = 0; + if (!(M = I.gn, M = 0 < M.length && M[M.length - 1]) && (6 === R[0] || 2 === R[0])) { + I = 0; continue; } - if (3 === N[0] && (!K || N[1] > K[0] && N[1] < K[3])) - L.label = N[1]; - else if (6 === N[0] && L.label < K[1]) - (L.label = K[1], K = N); - else if (K && L.label < K[2]) - (L.label = K[2], L.Tm.push(N)); + if (3 === R[0] && (!M || R[1] > M[0] && R[1] < M[3])) + I.label = R[1]; + else if (6 === R[0] && I.label < M[1]) + (I.label = M[1], M = R); + else if (M && I.label < M[2]) + (I.label = M[2], I.Sm.push(R)); else { - K[2] && L.Tm.pop(); - L.gn.pop(); + M[2] && I.Sm.pop(); + I.gn.pop(); continue; } } - N = H.call(J, L); - } catch (da) { - N = [6, da]; - R = 0; + R = H.call(K, I); + } catch (ea) { + R = [6, ea]; + N = 0; } finally { - P = K = 0; + O = M = 0; } } - if (N[0] & 5) - throw N[1]; + if (R[0] & 5) + throw R[1]; return { - value: N[0] ? N[1] : void 0, + value: R[0] ? R[1] : void 0, done: !0 }; } - L = { + I = { label: 0, - Oe: function () { - if (K[0] & 1) - throw K[1]; - return K[1]; + Wd: function () { + if (M[0] & 1) + throw M[1]; + return M[1]; }, gn: [], - Tm: [] + Sm: [] }; - return (Q = { - next: M(0), - "throw": M(1), - "return": M(2) - }, "function" === typeof Symbol && (Q[Symbol.iterator] = function () { + return (P = { + next: L(0), + "throw": L(1), + "return": L(2) + }, "function" === typeof Symbol && (P[Symbol.iterator] = function () { return this; - }), Q); + }), P); } - function r(J, H) { - for (var M in J) { - "default" === M || Object.prototype.hasOwnProperty.call(H, M) || G(H, J, M); + function q(K, H) { + for (var L in K) { + "default" === L || Object.prototype.hasOwnProperty.call(H, L) || F(H, K, L); } } - function p(J) { + function p(K) { var H, - M, - O; + L, + Q; H = "function" === typeof Symbol && Symbol.iterator; - M = H && J[H]; - O = 0; - if (M) - return M.call(J); - if (J && "number" === typeof J.length) + L = H && K[H]; + Q = 0; + if (L) + return L.call(K); + if (K && "number" === typeof K.length) return { next: function () { - J && O >= J.length && (J = void 0); + K && Q >= K.length && (K = void 0); return { - value: J && J[O++], - done: !J + value: K && K[Q++], + done: !K }; } }; throw new TypeError(H ? "Object is not iterable." : "Symbol.iterator is not defined."); } - function u(J, H) { - var M, - O, - L; - M = "function" === typeof Symbol && J[Symbol.iterator]; - if (!M) - return J; - J = M.call(J); - L = []; + function t(K, H) { + var L, + Q, + I; + L = "function" === typeof Symbol && K[Symbol.iterator]; + if (!L) + return K; + K = L.call(K); + I = []; try { - for (; (void 0 === H || 0 < H--) && !(O = J.next()).done; ) { - L.push(O.value); + for (; (void 0 === H || 0 < H--) && !(Q = K.next()).done; ) { + I.push(Q.value); } - } catch (R) { - var P; - P = { - error: R + } catch (N) { + var O; + O = { + error: N }; } finally { try { - O && !O.done && (M = J["return"]) && M.call(J); + Q && !Q.done && (L = K["return"]) && L.call(K); } finally { - if (P) - throw P.error; + if (O) + throw O.error; } } - return L; + return I; } - function t() { - for (var J = [], H = 0; H < arguments.length; H++) { - J = J.concat(u(arguments[H])); + function u() { + for (var K = [], H = 0; H < arguments.length; H++) { + K = K.concat(t(arguments[H])); } - return J; + return K; } function w() { - var O; - for (var J = 0, H = 0, M = arguments.length; H < M; H++) { - J += arguments[H].length; + var Q; + for (var K = 0, H = 0, L = arguments.length; H < L; H++) { + K += arguments[H].length; } - J = Array(J); - O = 0; - for (H = 0; H < M; H++) { - for (var L = arguments[H], P = 0, R = L.length; P < R; (P++, O++)) { - J[O] = L[P]; + K = Array(K); + Q = 0; + for (H = 0; H < L; H++) { + for (var I = arguments[H], O = 0, N = I.length; O < N; (O++, Q++)) { + K[Q] = I[O]; } } - return J; + return K; } - function v(J, H, M) { - if (M || 2 === arguments.length) - for (var O = 0, L = H.length, P; O < L; O++) { - !P && (O in H) || (P || (P = Array.prototype.slice.call(H, 0, O)), P[O] = H[O]); + function v(K, H, L) { + if (L || 2 === arguments.length) + for (var Q = 0, I = H.length, O; Q < I; Q++) { + !O && (Q in H) || (O || (O = Array.prototype.slice.call(H, 0, Q)), O[Q] = H[Q]); } - return J.concat(P || H); + return K.concat(O || H); } - function x(J) { - return this instanceof x ? (this.SC = J, this) : new x(J); + function x(K) { + return this instanceof x ? (this.TC = K, this) : new x(K); } - function y(J, H, M) { - var Q, - N, - da; - function O(na) { - Q[na] && (N[na] = function (va) { - return new Promise(function (ra, X) { - 1 < da.push([na, va, ra, X]) || L(na, va); + function y(K, H, L) { + var P, + R, + ea; + function Q(pa) { + P[pa] && (R[pa] = function (va) { + return new Promise(function (ta, Y) { + 1 < ea.push([pa, va, ta, Y]) || I(pa, va); }); }); } - function L(na, va) { - var ra; + function I(pa, va) { + var ta; try { - ra = Q[na](va); - ra.value instanceof x ? Promise.resolve(ra.value.SC).then(P, R) : K(da[0][2], ra); - } catch (X) { - K(da[0][3], X); + ta = P[pa](va); + ta.value instanceof x ? Promise.resolve(ta.value.TC).then(O, N) : M(ea[0][2], ta); + } catch (Y) { + M(ea[0][3], Y); } } - function P(na) { - L("next", na); + function O(pa) { + I("next", pa); } - function R(na) { - L("throw", na); + function N(pa) { + I("throw", pa); } - function K(na, va) { - (na(va), da.shift(), da.length) && L(da[0][0], da[0][1]); + function M(pa, va) { + (pa(va), ea.shift(), ea.length) && I(ea[0][0], ea[0][1]); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - Q = M.apply(J, H || []); - da = []; - return (N = {}, O("next"), O("throw"), O("return"), N[Symbol.asyncIterator] = function () { + P = L.apply(K, H || []); + ea = []; + return (R = {}, Q("next"), Q("throw"), Q("return"), R[Symbol.asyncIterator] = function () { return this; - }, N); + }, R); } - function z(J) { - var M, - O; - function H(L, P) { - M[L] = J[L] ? function (R) { - return (O = !O) ? { - value: x(J[L](R)), - done: "return" === L + function z(K) { + var L, + Q; + function H(I, O) { + L[I] = K[I] ? function (N) { + return (Q = !Q) ? { + value: x(K[I](N)), + done: "return" === I } - : P ? P(R) : R; + : O ? O(N) : N; } - : P; + : O; } - return (M = {}, H("next"), H("throw", function (L) { - throw L; - }), H("return"), M[Symbol.iterator] = function () { + return (L = {}, H("next"), H("throw", function (I) { + throw I; + }), H("return"), L[Symbol.iterator] = function () { return this; - }, M); + }, L); } - function B(J) { - var O, - L; - function H(P) { - L[P] = J[P] && (function (R) { - return new Promise(function (K, Q) { - R = J[P](R); - M(K, Q, R.done, R.value); + function A(K) { + var Q, + I; + function H(O) { + I[O] = K[O] && (function (N) { + return new Promise(function (M, P) { + N = K[O](N); + L(M, P, N.done, N.value); }); }); } - function M(P, R, K, Q) { - Promise.resolve(Q).then(function (N) { - P({ - value: N, - done: K + function L(O, N, M, P) { + Promise.resolve(P).then(function (R) { + O({ + value: R, + done: M }); - }, R); + }, N); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - O = J[Symbol.asyncIterator]; - return O ? O.call(J) : (J = "function" === typeof p ? p(J) : J[Symbol.iterator](), L = {}, H("next"), H("throw"), H("return"), L[Symbol.asyncIterator] = function () { + Q = K[Symbol.asyncIterator]; + return Q ? Q.call(K) : (K = "function" === typeof p ? p(K) : K[Symbol.iterator](), I = {}, H("next"), H("throw"), H("return"), I[Symbol.asyncIterator] = function () { return this; - }, L); + }, I); } - function A(J, H) { - Object.defineProperty ? Object.defineProperty(J, "raw", { + function B(K, H) { + Object.defineProperty ? Object.defineProperty(K, "raw", { value: H - }) : J.raw = H; - return J; + }) : K.raw = H; + return K; } - function C(J) { + function C(K) { var H; - if (J && J.__esModule) - return J; + if (K && K.__esModule) + return K; H = {}; - if (null != J) - for (var M in J) { - "default" !== M && Object.prototype.hasOwnProperty.call(J, M) && G(H, J, M); + if (null != K) + for (var L in K) { + "default" !== L && Object.prototype.hasOwnProperty.call(K, L) && F(H, K, L); } - I(H, J); + J(H, K); return H; } - function E(J) { - return J && J.__esModule ? J : { + function E(K) { + return K && K.__esModule ? K : { default: - J + K }; } - function F(J, H, M, O) { - if ("a" === M && !O) + function G(K, H, L, Q) { + if ("a" === L && !Q) throw new TypeError("Private accessor was defined without a getter"); - if ("function" === typeof H ? J !== H || !O : !H.has(J)) + if ("function" === typeof H ? K !== H || !Q : !H.has(K)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); - return "m" === M ? O : "a" === M ? O.call(J) : O ? O.value : H.get(J); + return "m" === L ? Q : "a" === L ? Q.call(K) : Q ? Q.value : H.get(K); } - function D(J, H, M, O, L) { - if ("m" === O) + function D(K, H, L, Q, I) { + if ("m" === Q) throw new TypeError("Private method is not writable"); - if ("a" === O && !L) + if ("a" === Q && !I) throw new TypeError("Private accessor was defined without a setter"); - if ("function" === typeof H ? J !== H || !L : !H.has(J)) + if ("function" === typeof H ? K !== H || !I : !H.has(K)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); - return ("a" === O ? L.call(J, M) : L ? L.value = M : H.set(J, M), M); + return ("a" === Q ? I.call(K, L) : I ? I.value = L : H.set(K, L), L); } a.r(b); a.d(b, "__extends", function () { @@ -17772,19 +17782,19 @@ a000.D9b = function () { return n; }); a.d(b, "__createBinding", function () { - return G; + return F; }); a.d(b, "__exportStar", function () { - return r; + return q; }); a.d(b, "__values", function () { return p; }); a.d(b, "__read", function () { - return u; + return t; }); a.d(b, "__spread", function () { - return t; + return u; }); a.d(b, "__spreadArrays", function () { return w; @@ -17802,10 +17812,10 @@ a000.D9b = function () { return z; }); a.d(b, "__asyncValues", function () { - return B; + return A; }); a.d(b, "__makeTemplateObject", function () { - return A; + return B; }); a.d(b, "__importStar", function () { return C; @@ -17814,421 +17824,421 @@ a000.D9b = function () { return E; }); a.d(b, "__classPrivateFieldGet", function () { - return F; + return G; }); a.d(b, "__classPrivateFieldSet", function () { return D; }); - G = Object.create ? function (J, H, M, O) { - void 0 === O && (O = M); - Object.defineProperty(J, O, { + F = Object.create ? function (K, H, L, Q) { + void 0 === Q && (Q = L); + Object.defineProperty(K, Q, { enumerable: !0, get: function () { - return H[M]; + return H[L]; } }); } - : function (J, H, M, O) { - void 0 === O && (O = M); - J[O] = H[M]; + : function (K, H, L, Q) { + void 0 === Q && (Q = L); + K[Q] = H[L]; }; - I = Object.create ? function (J, H) { - Object.defineProperty(J, "default", { + J = Object.create ? function (K, H) { + Object.defineProperty(K, "default", { enumerable: !0, value: H }); } - : function (J, H) { - J["default"] = H; + : function (K, H) { + K["default"] = H; }; - }, function (q, b, a) { + }, function (r, b, a) { function c() { - c = Object.assign || (function (G) { - for (var I, J = 1, H = arguments.length; J < H; J++) { - I = arguments[J]; - for (var M in I) { - Object.prototype.hasOwnProperty.call(I, M) && (G[M] = I[M]); + c = Object.assign || (function (F) { + for (var J, K = 1, H = arguments.length; K < H; K++) { + J = arguments[K]; + for (var L in J) { + Object.prototype.hasOwnProperty.call(J, L) && (F[L] = J[L]); } } - return G; + return F; }); return c.apply(this, arguments); } - function f(G, I) { + function f(F, J) { f = Object.setPrototypeOf || ({ __proto__: [] - })instanceof Array && (function (J, H) { - J.__proto__ = H; - }) || (function (J, H) { - for (var M in H) { - H.hasOwnProperty(M) && (J[M] = H[M]); + })instanceof Array && (function (K, H) { + K.__proto__ = H; + }) || (function (K, H) { + for (var L in H) { + H.hasOwnProperty(L) && (K[L] = H[L]); } }); - return f(G, I); + return f(F, J); } - function k(G, I) { - function J() { - this.constructor = G; + function k(F, J) { + function K() { + this.constructor = F; } - f(G, I); - G.prototype = null === I ? Object.create(I) : (J.prototype = I.prototype, new J()); + f(F, J); + F.prototype = null === J ? Object.create(J) : (K.prototype = J.prototype, new K()); } - function l(G, I) { - var J, + function l(F, J) { + var K, H, - M; - J = {}; - for (H in G) { - Object.prototype.hasOwnProperty.call(G, H) && 0 > I.indexOf(H) && (J[H] = G[H]); + L; + K = {}; + for (H in F) { + Object.prototype.hasOwnProperty.call(F, H) && 0 > J.indexOf(H) && (K[H] = F[H]); } - if (null != G && "function" === typeof Object.getOwnPropertySymbols) { - M = 0; - for (H = Object.getOwnPropertySymbols(G); M < H.length; M++) { - 0 > I.indexOf(H[M]) && Object.prototype.propertyIsEnumerable.call(G, H[M]) && (J[H[M]] = G[H[M]]); + if (null != F && "function" === typeof Object.getOwnPropertySymbols) { + L = 0; + for (H = Object.getOwnPropertySymbols(F); L < H.length; L++) { + 0 > J.indexOf(H[L]) && Object.prototype.propertyIsEnumerable.call(F, H[L]) && (K[H[L]] = F[H[L]]); } } - return J; + return K; } - function d(G, I, J, H) { - var M, - O, - L; - M = arguments.length; - O = 3 > M ? I : null === H ? H = Object.getOwnPropertyDescriptor(I, J) : H; - if ("object" === typeof Reflect && "function" === typeof Reflect.Jq) - O = Reflect.Jq(G, I, J, H); + function d(F, J, K, H) { + var L, + Q, + I; + L = arguments.length; + Q = 3 > L ? J : null === H ? H = Object.getOwnPropertyDescriptor(J, K) : H; + if ("object" === typeof Reflect && "function" === typeof Reflect.Kq) + Q = Reflect.Kq(F, J, K, H); else - for (var P = G.length - 1; 0 <= P; P--) { - if (L = G[P]) - O = (3 > M ? L(O) : 3 < M ? L(I, J, O) : L(I, J)) || O; + for (var O = F.length - 1; 0 <= O; O--) { + if (I = F[O]) + Q = (3 > L ? I(Q) : 3 < L ? I(J, K, Q) : I(J, K)) || Q; } - return (3 < M && O && Object.defineProperty(I, J, O), O); + return (3 < L && Q && Object.defineProperty(J, K, Q), Q); } - function g(G, I) { - return function (J, H) { - I(J, H, G); + function g(F, J) { + return function (K, H) { + J(K, H, F); }; } - function h(G, I) { + function h(F, J) { if ("object" === typeof Reflect && "function" === typeof Reflect.xd) - return Reflect.xd(G, I); + return Reflect.xd(F, J); } - function m(G, I, J, H) { - function M(O) { - return O instanceof J ? O : new J(function (L) { - L(O); + function m(F, J, K, H) { + function L(Q) { + return Q instanceof K ? Q : new K(function (I) { + I(Q); }); } - return new(J || (J = Promise))(function (O, L) { - function P(Q) { + return new(K || (K = Promise))(function (Q, I) { + function O(P) { try { - K(H.next(Q)); - } catch (N) { - L(N); + M(H.next(P)); + } catch (R) { + I(R); } } - function R(Q) { + function N(P) { try { - K(H["throw"](Q)); - } catch (N) { - L(N); + M(H["throw"](P)); + } catch (R) { + I(R); } } - function K(Q) { - Q.done ? O(Q.value) : M(Q.value).then(P, R); + function M(P) { + P.done ? Q(P.value) : L(P.value).then(O, N); } - K((H = H.apply(G, I || [])).next()); + M((H = H.apply(F, J || [])).next()); }); } - function n(G, I) { - var M, + function n(F, J) { + var L, + Q, + I, O, - L, - P, - R; - function J(K) { - return function (Q) { - return H([K, Q]); + N; + function K(M) { + return function (P) { + return H([M, P]); }; } - function H(K) { - if (O) + function H(M) { + if (Q) throw new TypeError("Generator is already executing."); - for (; M; ) { + for (; L; ) { try { - if ((O = 1, L && (P = K[0] & 2 ? L["return"] : K[0] ? L["throw"] || ((P = L["return"]) && P.call(L), 0) : L.next) && !(P = P.call(L, K[1])).done)) - return P; - if ((L = 0, P)) - K = [K[0] & 2, P.value]; - switch (K[0]) { + if ((Q = 1, I && (O = M[0] & 2 ? I["return"] : M[0] ? I["throw"] || ((O = I["return"]) && O.call(I), 0) : I.next) && !(O = O.call(I, M[1])).done)) + return O; + if ((I = 0, O)) + M = [M[0] & 2, O.value]; + switch (M[0]) { case 0: case 1: - P = K; + O = M; break; case 4: - return (M.label++, { - value: K[1], + return (L.label++, { + value: M[1], done: !1 }); case 5: - M.label++; - L = K[1]; - K = [0]; + L.label++; + I = M[1]; + M = [0]; continue; case 7: - K = M.Tm.pop(); - M.gn.pop(); + M = L.Sm.pop(); + L.gn.pop(); continue; default: - if (!(P = M.gn, P = 0 < P.length && P[P.length - 1]) && (6 === K[0] || 2 === K[0])) { - M = 0; + if (!(O = L.gn, O = 0 < O.length && O[O.length - 1]) && (6 === M[0] || 2 === M[0])) { + L = 0; continue; } - if (3 === K[0] && (!P || K[1] > P[0] && K[1] < P[3])) - M.label = K[1]; - else if (6 === K[0] && M.label < P[1]) - (M.label = P[1], P = K); - else if (P && M.label < P[2]) - (M.label = P[2], M.Tm.push(K)); + if (3 === M[0] && (!O || M[1] > O[0] && M[1] < O[3])) + L.label = M[1]; + else if (6 === M[0] && L.label < O[1]) + (L.label = O[1], O = M); + else if (O && L.label < O[2]) + (L.label = O[2], L.Sm.push(M)); else { - P[2] && M.Tm.pop(); - M.gn.pop(); + O[2] && L.Sm.pop(); + L.gn.pop(); continue; } } - K = I.call(G, M); - } catch (Q) { - K = [6, Q]; - L = 0; + M = J.call(F, L); + } catch (P) { + M = [6, P]; + I = 0; } finally { - O = P = 0; + Q = O = 0; } } - if (K[0] & 5) - throw K[1]; + if (M[0] & 5) + throw M[1]; return { - value: K[0] ? K[1] : void 0, + value: M[0] ? M[1] : void 0, done: !0 }; } - M = { + L = { label: 0, - Oe: function () { - if (P[0] & 1) - throw P[1]; - return P[1]; + Wd: function () { + if (O[0] & 1) + throw O[1]; + return O[1]; }, gn: [], - Tm: [] + Sm: [] }; - return (R = { - next: J(0), - "throw": J(1), - "return": J(2) - }, "function" === typeof Symbol && (R[Symbol.iterator] = function () { + return (N = { + next: K(0), + "throw": K(1), + "return": K(2) + }, "function" === typeof Symbol && (N[Symbol.iterator] = function () { return this; - }), R); + }), N); } - function r(G, I, J, H) { - void 0 === H && (H = J); - G[H] = I[J]; + function q(F, J, K, H) { + void 0 === H && (H = K); + F[H] = J[K]; } - function p(G, I) { - for (var J in G) { - "default" === J || I.hasOwnProperty(J) || (I[J] = G[J]); + function p(F, J) { + for (var K in F) { + "default" === K || J.hasOwnProperty(K) || (J[K] = F[K]); } } - function u(G) { - var I, - J, + function t(F) { + var J, + K, H; - I = "function" === typeof Symbol && Symbol.iterator; - J = I && G[I]; + J = "function" === typeof Symbol && Symbol.iterator; + K = J && F[J]; H = 0; - if (J) - return J.call(G); - if (G && "number" === typeof G.length) + if (K) + return K.call(F); + if (F && "number" === typeof F.length) return { next: function () { - G && H >= G.length && (G = void 0); + F && H >= F.length && (F = void 0); return { - value: G && G[H++], - done: !G + value: F && F[H++], + done: !F }; } }; - throw new TypeError(I ? "Object is not iterable." : "Symbol.iterator is not defined."); + throw new TypeError(J ? "Object is not iterable." : "Symbol.iterator is not defined."); } - function t(G, I) { - var J, + function u(F, J) { + var K, H, - M; - J = "function" === typeof Symbol && G[Symbol.iterator]; - if (!J) - return G; - G = J.call(G); - M = []; + L; + K = "function" === typeof Symbol && F[Symbol.iterator]; + if (!K) + return F; + F = K.call(F); + L = []; try { - for (; (void 0 === I || 0 < I--) && !(H = G.next()).done; ) { - M.push(H.value); + for (; (void 0 === J || 0 < J--) && !(H = F.next()).done; ) { + L.push(H.value); } - } catch (L) { - var O; - O = { - error: L + } catch (I) { + var Q; + Q = { + error: I }; } finally { try { - H && !H.done && (J = G["return"]) && J.call(G); + H && !H.done && (K = F["return"]) && K.call(F); } finally { - if (O) - throw O.error; + if (Q) + throw Q.error; } } - return M; + return L; } function w() { - for (var G = [], I = 0; I < arguments.length; I++) { - G = G.concat(t(arguments[I])); + for (var F = [], J = 0; J < arguments.length; J++) { + F = F.concat(u(arguments[J])); } - return G; + return F; } function v() { var H; - for (var G = 0, I = 0, J = arguments.length; I < J; I++) { - G += arguments[I].length; + for (var F = 0, J = 0, K = arguments.length; J < K; J++) { + F += arguments[J].length; } - G = Array(G); + F = Array(F); H = 0; - for (I = 0; I < J; I++) { - for (var M = arguments[I], O = 0, L = M.length; O < L; (O++, H++)) { - G[H] = M[O]; + for (J = 0; J < K; J++) { + for (var L = arguments[J], Q = 0, I = L.length; Q < I; (Q++, H++)) { + F[H] = L[Q]; } } - return G; + return F; } - function x(G) { - return this instanceof x ? (this.SC = G, this) : new x(G); + function x(F) { + return this instanceof x ? (this.TC = F, this) : new x(F); } - function y(G, I, J) { - var R, - K, - Q; - function H(N) { - R[N] && (K[N] = function (da) { - return new Promise(function (na, va) { - 1 < Q.push([N, da, na, va]) || M(N, da); + function y(F, J, K) { + var N, + M, + P; + function H(R) { + N[R] && (M[R] = function (ea) { + return new Promise(function (pa, va) { + 1 < P.push([R, ea, pa, va]) || L(R, ea); }); }); } - function M(N, da) { - var na; + function L(R, ea) { + var pa; try { - na = R[N](da); - na.value instanceof x ? Promise.resolve(na.value.SC).then(O, L) : P(Q[0][2], na); + pa = N[R](ea); + pa.value instanceof x ? Promise.resolve(pa.value.TC).then(Q, I) : O(P[0][2], pa); } catch (va) { - P(Q[0][3], va); + O(P[0][3], va); } } - function O(N) { - M("next", N); + function Q(R) { + L("next", R); } - function L(N) { - M("throw", N); + function I(R) { + L("throw", R); } - function P(N, da) { - (N(da), Q.shift(), Q.length) && M(Q[0][0], Q[0][1]); + function O(R, ea) { + (R(ea), P.shift(), P.length) && L(P[0][0], P[0][1]); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - R = J.apply(G, I || []); - Q = []; - return (K = {}, H("next"), H("throw"), H("return"), K[Symbol.asyncIterator] = function () { + N = K.apply(F, J || []); + P = []; + return (M = {}, H("next"), H("throw"), H("return"), M[Symbol.asyncIterator] = function () { return this; - }, K); + }, M); } - function z(G) { - var J, + function z(F) { + var K, H; - function I(M, O) { - J[M] = G[M] ? function (L) { + function J(L, Q) { + K[L] = F[L] ? function (I) { return (H = !H) ? { - value: x(G[M](L)), - done: "return" === M + value: x(F[L](I)), + done: "return" === L } - : O ? O(L) : L; + : Q ? Q(I) : I; } - : O; + : Q; } - return (J = {}, I("next"), I("throw", function (M) { - throw M; - }), I("return"), J[Symbol.iterator] = function () { + return (K = {}, J("next"), J("throw", function (L) { + throw L; + }), J("return"), K[Symbol.iterator] = function () { return this; - }, J); + }, K); } - function B(G) { + function A(F) { var H, - M; - function I(O) { - M[O] = G[O] && (function (L) { - return new Promise(function (P, R) { - L = G[O](L); - J(P, R, L.done, L.value); + L; + function J(Q) { + L[Q] = F[Q] && (function (I) { + return new Promise(function (O, N) { + I = F[Q](I); + K(O, N, I.done, I.value); }); }); } - function J(O, L, P, R) { - Promise.resolve(R).then(function (K) { - O({ - value: K, - done: P + function K(Q, I, O, N) { + Promise.resolve(N).then(function (M) { + Q({ + value: M, + done: O }); - }, L); + }, I); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - H = G[Symbol.asyncIterator]; - return H ? H.call(G) : (G = "function" === typeof u ? u(G) : G[Symbol.iterator](), M = {}, I("next"), I("throw"), I("return"), M[Symbol.asyncIterator] = function () { + H = F[Symbol.asyncIterator]; + return H ? H.call(F) : (F = "function" === typeof t ? t(F) : F[Symbol.iterator](), L = {}, J("next"), J("throw"), J("return"), L[Symbol.asyncIterator] = function () { return this; - }, M); + }, L); } - function A(G, I) { - Object.defineProperty ? Object.defineProperty(G, "raw", { - value: I - }) : G.raw = I; - return G; + function B(F, J) { + Object.defineProperty ? Object.defineProperty(F, "raw", { + value: J + }) : F.raw = J; + return F; } - function C(G) { - var I; - if (G && G.__esModule) - return G; - I = {}; - if (null != G) - for (var J in G) { - Object.hasOwnProperty.call(G, J) && (I[J] = G[J]); + function C(F) { + var J; + if (F && F.__esModule) + return F; + J = {}; + if (null != F) + for (var K in F) { + Object.hasOwnProperty.call(F, K) && (J[K] = F[K]); } - I.default = G; - return I; + J.default = F; + return J; } - function E(G) { - return G && G.__esModule ? G : { + function E(F) { + return F && F.__esModule ? F : { default: - G + F }; } - function F(G, I) { - if (!I.has(G)) + function G(F, J) { + if (!J.has(F)) throw new TypeError("attempted to get private field on non-instance"); - return I.get(G); + return J.get(F); } - function D(G, I, J) { - if (!I.has(G)) + function D(F, J, K) { + if (!J.has(F)) throw new TypeError("attempted to set private field on non-instance"); - I.set(G, J); - return J; + J.set(F, K); + return K; } a.r(b); a.d(b, "__extends", function () { @@ -18256,16 +18266,16 @@ a000.D9b = function () { return n; }); a.d(b, "__createBinding", function () { - return r; + return q; }); a.d(b, "__exportStar", function () { return p; }); a.d(b, "__values", function () { - return u; + return t; }); a.d(b, "__read", function () { - return t; + return u; }); a.d(b, "__spread", function () { return w; @@ -18283,10 +18293,10 @@ a000.D9b = function () { return z; }); a.d(b, "__asyncValues", function () { - return B; + return A; }); a.d(b, "__makeTemplateObject", function () { - return A; + return B; }); a.d(b, "__importStar", function () { return C; @@ -18295,262 +18305,259 @@ a000.D9b = function () { return E; }); a.d(b, "__classPrivateFieldGet", function () { - return F; + return G; }); a.d(b, "__classPrivateFieldSet", function () { return D; }); - }, function (q, b) { + }, function (r, b) { var a, c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Lr = b.g$ = b.pya = b.f$ = b.A$a = b.B$a = b.oya = b.lya = b.z$a = b.FBa = b.SY = b.JY = b.nya = b.M = b.L = void 0; + b.Or = b.nya = b.mya = b.Z9 = b.D$a = b.E$a = b.lya = b.iya = b.C$a = b.DBa = b.RY = b.IY = b.kya = b.L = b.M = void 0; (function (f) { - f[f.jm = 7001] = "UNKNOWN"; - f[f.oeb = 7002] = "UNHANDLED_EXCEPTION"; - f[f.uab = 7003] = "INIT_COMPONENT_LOG_TO_REMOTE"; - f[f.xza = 7010] = "INIT_ASYNCCOMPONENT"; - f[f.Nza = 7011] = "INIT_HTTP"; - f[f.qab = 7014] = "INIT_BADMOVIEID"; - f[f.Iab = 7016] = "INIT_NETFLIXID_MISSING"; - f[f.Hab = 7017] = "INIT_NETFLIXID_INVALID"; - f[f.Kab = 7018] = "INIT_SECURENETFLIXID_MISSING"; - f[f.Oza = 7020] = "INIT_PLAYBACK_LOCK"; - f[f.Pza = 7022] = "INIT_SESSION_LOCK"; - f[f.Jab = 7029] = "INIT_POSTAUTHORIZE"; - f[f.c0b = 7031] = "INIT_HEADER_MEDIA"; - f[f.Q_b = 7032] = "HEADER_MISSING"; - f[f.P_b = 7033] = "HEADER_FRAGMENTS_MISSING"; - f[f.Lab = 7034] = "INIT_TIMEDTEXT_TRACK"; - f[f.d0b = 7035] = "INIT_LOAD_DOWNLOADED_MEDIA"; - f[f.e0b = 7036] = "INIT_STREAMS_NOT_AVAILABLE"; - f[f.p7a = 7037] = "ASE_SESSION_ERROR"; - f[f.o7a = 7038] = "ASE_SEEK_THREW"; - f[f.q7a = 7039] = "ASE_SKIPPED_THREW"; - f[f.Eab = 7041] = "INIT_CORE_OBJECTS1"; - f[f.Fab = 7042] = "INIT_CORE_OBJECTS2"; - f[f.Gab = 7043] = "INIT_CORE_OBJECTS3"; - f[f.$_b = 7051] = "INIT_COMPONENT_REQUESTQUOTA"; - f[f.U_b = 7052] = "INIT_COMPONENT_FILESYSTEM"; - f[f.Gza = 7053] = "INIT_COMPONENT_STORAGE"; - f[f.Hza = 7054] = "INIT_COMPONENT_STORAGELOCK"; - f[f.V_b = 7055] = "INIT_COMPONENT_LOGPERSIST"; - f[f.W_b = 7056] = "INIT_COMPONENT_NRDDPI"; - f[f.Y_b = 7057] = "INIT_COMPONENT_PEPPERCRYPTO"; - f[f.Dza = 7058] = "INIT_COMPONENT_MAINTHREADMONITOR"; - f[f.B$ = 7059] = "INIT_COMPONENT_DEVICE"; - f[f.X_b = 7062] = "INIT_COMPONENT_NTBA"; - f[f.Eza = 7063] = "INIT_COMPONENT_MSL"; - f[f.sab = 7065] = "INIT_COMPONENT_CONTROL_PROTOCOL"; - f[f.Cza = 7066] = "INIT_COMPONENT_LOGBLOBBATCHER"; - f[f.aA = 7067] = "INIT_COMPONENT_PERSISTEDPLAYDATA"; - f[f.Z_b = 7068] = "INIT_COMPONENT_PLAYBACKHEURISTICSRANDOM"; - f[f.rab = 7069] = "INIT_COMPONENT_ACCOUNT"; - f[f.wab = 7070] = "INIT_COMPONENT_NRDP_CONFIG_LOADER"; - f[f.yab = 7071] = "INIT_COMPONENT_NRDP_ESN_PREFIX_LOADER"; - f[f.zab = 7072] = "INIT_COMPONENT_NRDP_MEDIA"; - f[f.Aab = 7073] = "INIT_COMPONENT_NRDP_PREPARE_LOADER"; - f[f.Bab = 7074] = "INIT_COMPONENT_NRDP_REGISTRATION"; - f[f.vab = 7081] = "INIT_COMPONENT_NRDP"; - f[f.xab = 7082] = "INIT_COMPONENT_NRDP_DEVICE"; - f[f.Mza = 7083] = "INIT_COMPONENT_WEBCRYPTO"; - f[f.Dab = 7084] = "INIT_COMPONENT_VIDEO_PREPARER"; - f[f.b0b = 7085] = "INIT_CONGESTION_SERVICE"; - f[f.Bza = 7086] = "INIT_COMPONENT_IDB_VIEWER_TOOL"; - f[f.Iza = 7087] = "INIT_COMPONENT_TRACKING_LOG"; - f[f.zza = 7088] = "INIT_COMPONENT_BATTERY_MANAGER"; - f[f.yza = 7089] = "INIT_COMPONENT_ASE"; - f[f.a0b = 7090] = "INIT_COMPONENT_VIDEO_CACHE"; - f[f.$H = 7091] = "INIT_COMPONENT_DRM_CACHE"; - f[f.tab = 7092] = "INIT_COMPONENT_DRM"; - f[f.Cab = 7093] = "INIT_COMPONENT_PREFETCH_EVENTS"; - f[f.Aza = 7094] = "INIT_COMPONENT_FTL"; - f[f.Fza = 7095] = "INIT_COMPONENT_PREPARE_MODEL"; - f[f.Jza = 7096] = "INIT_COMPONENT_VIDEO_SESSION_EDGE"; - f[f.Kza = 7097] = "INIT_COMPONENT_VIDEO_SESSION_MDX"; - f[f.Lza = 7098] = "INIT_COMPONENT_VIDEO_SESSION_TEST"; - f[f.V$ = 7111] = "MANIFEST"; - f[f.A7a = 7112] = "AUTHORIZE_UNKNOWN"; - f[f.kbb = 7117] = "MANIFEST_VERIFY"; - f[f.Qdb = 7120] = "START"; - f[f.cI = 7121] = "LICENSE"; - f[f.eba = 7122] = "RELEASE"; - f[f.RFa = 7123] = "STOP"; - f[f.G_b = 7124] = "FPSAPPDATA"; - f[f.J$ = 7125] = "KEEPALIVE"; - f[f.EZb = 7126] = "DEACTIVATE"; + f[f.im = 7001] = "UNKNOWN"; + f[f.reb = 7002] = "UNHANDLED_EXCEPTION"; + f[f.xab = 7003] = "INIT_COMPONENT_LOG_TO_REMOTE"; + f[f.vza = 7010] = "INIT_ASYNCCOMPONENT"; + f[f.Lza = 7011] = "INIT_HTTP"; + f[f.tab = 7014] = "INIT_BADMOVIEID"; + f[f.Lab = 7016] = "INIT_NETFLIXID_MISSING"; + f[f.Kab = 7017] = "INIT_NETFLIXID_INVALID"; + f[f.Nab = 7018] = "INIT_SECURENETFLIXID_MISSING"; + f[f.Mza = 7020] = "INIT_PLAYBACK_LOCK"; + f[f.Nza = 7022] = "INIT_SESSION_LOCK"; + f[f.Mab = 7029] = "INIT_POSTAUTHORIZE"; + f[f.d0b = 7031] = "INIT_HEADER_MEDIA"; + f[f.R_b = 7032] = "HEADER_MISSING"; + f[f.Q_b = 7033] = "HEADER_FRAGMENTS_MISSING"; + f[f.Oab = 7034] = "INIT_TIMEDTEXT_TRACK"; + f[f.e0b = 7035] = "INIT_LOAD_DOWNLOADED_MEDIA"; + f[f.f0b = 7036] = "INIT_STREAMS_NOT_AVAILABLE"; + f[f.r7a = 7037] = "ASE_SESSION_ERROR"; + f[f.q7a = 7038] = "ASE_SEEK_THREW"; + f[f.s7a = 7039] = "ASE_SKIPPED_THREW"; + f[f.Hab = 7041] = "INIT_CORE_OBJECTS1"; + f[f.Iab = 7042] = "INIT_CORE_OBJECTS2"; + f[f.Jab = 7043] = "INIT_CORE_OBJECTS3"; + f[f.a0b = 7051] = "INIT_COMPONENT_REQUESTQUOTA"; + f[f.V_b = 7052] = "INIT_COMPONENT_FILESYSTEM"; + f[f.Eza = 7053] = "INIT_COMPONENT_STORAGE"; + f[f.Fza = 7054] = "INIT_COMPONENT_STORAGELOCK"; + f[f.W_b = 7055] = "INIT_COMPONENT_LOGPERSIST"; + f[f.X_b = 7056] = "INIT_COMPONENT_NRDDPI"; + f[f.Z_b = 7057] = "INIT_COMPONENT_PEPPERCRYPTO"; + f[f.Bza = 7058] = "INIT_COMPONENT_MAINTHREADMONITOR"; + f[f.t$ = 7059] = "INIT_COMPONENT_DEVICE"; + f[f.Y_b = 7062] = "INIT_COMPONENT_NTBA"; + f[f.Cza = 7063] = "INIT_COMPONENT_MSL"; + f[f.vab = 7065] = "INIT_COMPONENT_CONTROL_PROTOCOL"; + f[f.Aza = 7066] = "INIT_COMPONENT_LOGBLOBBATCHER"; + f[f.bA = 7067] = "INIT_COMPONENT_PERSISTEDPLAYDATA"; + f[f.$_b = 7068] = "INIT_COMPONENT_PLAYBACKHEURISTICSRANDOM"; + f[f.uab = 7069] = "INIT_COMPONENT_ACCOUNT"; + f[f.zab = 7070] = "INIT_COMPONENT_NRDP_CONFIG_LOADER"; + f[f.Bab = 7071] = "INIT_COMPONENT_NRDP_ESN_PREFIX_LOADER"; + f[f.Cab = 7072] = "INIT_COMPONENT_NRDP_MEDIA"; + f[f.Dab = 7073] = "INIT_COMPONENT_NRDP_PREPARE_LOADER"; + f[f.Eab = 7074] = "INIT_COMPONENT_NRDP_REGISTRATION"; + f[f.yab = 7081] = "INIT_COMPONENT_NRDP"; + f[f.Aab = 7082] = "INIT_COMPONENT_NRDP_DEVICE"; + f[f.Kza = 7083] = "INIT_COMPONENT_WEBCRYPTO"; + f[f.Gab = 7084] = "INIT_COMPONENT_VIDEO_PREPARER"; + f[f.c0b = 7085] = "INIT_CONGESTION_SERVICE"; + f[f.zza = 7086] = "INIT_COMPONENT_IDB_VIEWER_TOOL"; + f[f.Gza = 7087] = "INIT_COMPONENT_TRACKING_LOG"; + f[f.xza = 7088] = "INIT_COMPONENT_BATTERY_MANAGER"; + f[f.wza = 7089] = "INIT_COMPONENT_ASE"; + f[f.b0b = 7090] = "INIT_COMPONENT_VIDEO_CACHE"; + f[f.hI = 7091] = "INIT_COMPONENT_DRM_CACHE"; + f[f.wab = 7092] = "INIT_COMPONENT_DRM"; + f[f.Fab = 7093] = "INIT_COMPONENT_PREFETCH_EVENTS"; + f[f.yza = 7094] = "INIT_COMPONENT_FTL"; + f[f.Dza = 7095] = "INIT_COMPONENT_PREPARE_MODEL"; + f[f.Hza = 7096] = "INIT_COMPONENT_VIDEO_SESSION_EDGE"; + f[f.Iza = 7097] = "INIT_COMPONENT_VIDEO_SESSION_MDX"; + f[f.Jza = 7098] = "INIT_COMPONENT_VIDEO_SESSION_TEST"; + f[f.N$ = 7111] = "MANIFEST"; + f[f.C7a = 7112] = "AUTHORIZE_UNKNOWN"; + f[f.obb = 7117] = "MANIFEST_VERIFY"; + f[f.Tdb = 7120] = "START"; + f[f.kI = 7121] = "LICENSE"; + f[f.Zaa = 7122] = "RELEASE"; + f[f.OFa = 7123] = "STOP"; + f[f.H_b = 7124] = "FPSAPPDATA"; + f[f.B$ = 7125] = "KEEPALIVE"; + f[f.FZb = 7126] = "DEACTIVATE"; f[f.r2b = 7127] = "SYNC_DEACTIVATE_LINKS"; - f[f.BYb = 7130] = "ACTIVATE"; - f[f.Fcb = 7131] = "PING"; - f[f.M0b = 7133] = "NETFLIXID"; - f[f.v$a = 7134] = "ENGAGE"; - f[f.ibb = 7135] = "LOGIN"; - f[f.Xdb = 7136] = "SWITCH_PROFILES"; - f[f.hbb = 7137] = "LOGBLOB"; - f[f.pcb = 7138] = "PAUSE"; - f[f.ydb = 7139] = "RESUME"; - f[f.PFa = 7140] = "SPLICE"; - f[f.PZb = 7141] = "DOWNLOAD_EVENT"; - f[f.P7a = 7142] = "BIND"; - f[f.ncb = 7143] = "PAIR"; - f[f.Q7a = 7144] = "BIND_DEVICE"; - f[f.M$a = 7145] = "GENERATE_SCREENSHOTS"; - f[f.Kcb = 7202] = "PLAY_INIT_EXCEPTION"; - f[f.n0b = 7301] = "MEDIA_DOWNLOAD"; + f[f.DYb = 7130] = "ACTIVATE"; + f[f.Jcb = 7131] = "PING"; + f[f.N0b = 7133] = "NETFLIXID"; + f[f.y$a = 7134] = "ENGAGE"; + f[f.lbb = 7135] = "LOGIN"; + f[f.$db = 7136] = "SWITCH_PROFILES"; + f[f.kbb = 7137] = "LOGBLOB"; + f[f.tcb = 7138] = "PAUSE"; + f[f.Bdb = 7139] = "RESUME"; + f[f.MFa = 7140] = "SPLICE"; + f[f.QZb = 7141] = "DOWNLOAD_EVENT"; + f[f.R7a = 7142] = "BIND"; + f[f.rcb = 7143] = "PAIR"; + f[f.S7a = 7144] = "BIND_DEVICE"; + f[f.P$a = 7145] = "GENERATE_SCREENSHOTS"; + f[f.Ncb = 7202] = "PLAY_INIT_EXCEPTION"; + f[f.o0b = 7301] = "MEDIA_DOWNLOAD"; f[f.v1b = 7330] = "PLAY_MSE_EME_CREATE_KEYSESSION_FAILED"; f[f.w1b = 7331] = "PLAY_MSE_EME_KEY_SESSION_UPDATE_EXCEPTION"; - f[f.VCa = 7332] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_EXPIRED"; - f[f.Qcb = 7333] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_INTERNAL_ERROR"; - f[f.WCa = 7334] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_OUTPUT_NOT_ALLOWED"; - f[f.Rcb = 7335] = "PLAY_MSE_EME_KEY_STATUS_EXCEPTION"; - f[f.vaa = 7336] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_OUTPUT_RESTRICTED"; + f[f.SCa = 7332] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_EXPIRED"; + f[f.Tcb = 7333] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_INTERNAL_ERROR"; + f[f.TCa = 7334] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_OUTPUT_NOT_ALLOWED"; + f[f.Ucb = 7335] = "PLAY_MSE_EME_KEY_STATUS_EXCEPTION"; + f[f.oaa = 7336] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_OUTPUT_RESTRICTED"; f[f.x1b = 7337] = "PLAY_MSE_EME_KEY_STATUS_CHANGE_RELEASED"; - f[f.Pcb = 7338] = "PLAY_MSE_EME_KEY_MAPPING_EXCEPTION"; - f[f.$Ca = 7351] = "PLAY_MSE_NOTSUPPORTED"; - f[f.YCa = 7352] = "PLAY_MSE_EME_NOTSUPPORTED"; - f[f.UCa = 7353] = "PLAY_MSE_DECODER_TIMEOUT"; - f[f.xP = 7354] = "PLAY_MSE_EME_TYPE_NOTSUPPORTED"; - f[f.waa = 7355] = "PLAY_MSE_SOURCEADD"; - f[f.TCa = 7356] = "PLAY_MSE_CREATE_MEDIAKEYS"; + f[f.Scb = 7338] = "PLAY_MSE_EME_KEY_MAPPING_EXCEPTION"; + f[f.WCa = 7351] = "PLAY_MSE_NOTSUPPORTED"; + f[f.RCa = 7353] = "PLAY_MSE_DECODER_TIMEOUT"; + f[f.paa = 7354] = "PLAY_MSE_EME_TYPE_NOTSUPPORTED"; + f[f.qaa = 7355] = "PLAY_MSE_SOURCEADD"; + f[f.QCa = 7356] = "PLAY_MSE_CREATE_MEDIAKEYS"; f[f.yP = 7357] = "PLAY_MSE_GENERATEKEYREQUEST"; f[f.A1b = 7358] = "PLAY_MSE_PARSECHALLENGE"; f[f.u1b = 7359] = "PLAY_MSE_ADDKEY"; f[f.D1b = 7360] = "PLAY_MSE_UNEXPECTED_NEEDKEY"; - f[f.Ucb = 7361] = "PLAY_MSE_EVENT_ERROR"; - f[f.mI = 7362] = "PLAY_MSE_SETMEDIAKEYS"; - f[f.oq = 7363] = "PLAY_MSE_EVENT_KEYERROR"; - f[f.Tcb = 7364] = "PLAY_MSE_EME_SESSION_CLOSE"; - f[f.Vcb = 7365] = "PLAY_MSE_GETCURRENTTIME"; - f[f.Wcb = 7367] = "PLAY_MSE_SETCURRENTTIME"; - f[f.Xcb = 7371] = "PLAY_MSE_SOURCEAPPEND"; + f[f.Xcb = 7361] = "PLAY_MSE_EVENT_ERROR"; + f[f.tI = 7362] = "PLAY_MSE_SETMEDIAKEYS"; + f[f.qq = 7363] = "PLAY_MSE_EVENT_KEYERROR"; + f[f.Wcb = 7364] = "PLAY_MSE_EME_SESSION_CLOSE"; + f[f.Ycb = 7365] = "PLAY_MSE_GETCURRENTTIME"; + f[f.Zcb = 7367] = "PLAY_MSE_SETCURRENTTIME"; + f[f.$cb = 7371] = "PLAY_MSE_SOURCEAPPEND"; f[f.B1b = 7373] = "PLAY_MSE_SOURCEAPPEND_INIT"; - f[f.adb = 7375] = "PLAY_MSE_UNEXPECTED_SEEKING"; - f[f.$cb = 7376] = "PLAY_MSE_UNEXPECTED_SEEKED"; - f[f.Zcb = 7377] = "PLAY_MSE_UNEXPECTED_REWIND"; + f[f.ddb = 7375] = "PLAY_MSE_UNEXPECTED_SEEKING"; + f[f.cdb = 7376] = "PLAY_MSE_UNEXPECTED_SEEKED"; + f[f.bdb = 7377] = "PLAY_MSE_UNEXPECTED_REWIND"; f[f.C1b = 7379] = "PLAY_MSE_SOURCE_EOS"; - f[f.Ycb = 7381] = "PLAY_MSE_SOURCEBUFFER_ERROR"; - f[f.aDa = 7382] = "PLAY_MSE_SOURCEBUFFER_CHANGETYPE"; + f[f.adb = 7381] = "PLAY_MSE_SOURCEBUFFER_ERROR"; + f[f.XCa = 7382] = "PLAY_MSE_SOURCEBUFFER_CHANGETYPE"; f[f.z1b = 7385] = "PLAY_MSE_KEYSESSION_UPDATE"; - f[f.Lcb = 7391] = "PLAY_MSE_CREATE_MEDIASOURCE"; - f[f.Mcb = 7392] = "PLAY_MSE_CREATE_MEDIASOURCE_OBJECTURL"; - f[f.Ncb = 7393] = "PLAY_MSE_CREATE_MEDIASOURCE_OPEN"; - f[f.XCa = 7394] = "PLAY_MSE_EME_MISSING_DRMHEADER"; - f[f.Scb = 7395] = "PLAY_MSE_EME_MISSING_PSSH"; + f[f.Ocb = 7391] = "PLAY_MSE_CREATE_MEDIASOURCE"; + f[f.Pcb = 7392] = "PLAY_MSE_CREATE_MEDIASOURCE_OBJECTURL"; + f[f.Qcb = 7393] = "PLAY_MSE_CREATE_MEDIASOURCE_OPEN"; + f[f.UCa = 7394] = "PLAY_MSE_EME_MISSING_DRMHEADER"; + f[f.Vcb = 7395] = "PLAY_MSE_EME_MISSING_PSSH"; f[f.y1b = 7396] = "PLAY_MSE_EME_MISSING_CERT"; - f[f.ZCa = 7397] = "PLAY_MSE_EME_NO_PRK_SUPPORT"; - f[f.Ocb = 7398] = "PLAY_MSE_DURATIONCHANGE_ERROR"; - f[f.fZ = 7399] = "PLAY_MSE_SET_LICENSE_ERROR"; - f[f.y$a = 7400] = "EXTERNAL"; - f[f.eZ = 7500] = "PAUSE_TIMEOUT"; - f[f.KY = 7502] = "INACTIVITY_TIMEOUT"; - f[f.z7a = 7510] = "AUTHORIZATION_EXPIRED"; - f[f.GZb = 7520] = "DECRYPT_AUDIO"; - f[f.p$a = 7700] = "EME_INVALID_KEYSYSTEM"; - f[f.Nxa = 7701] = "EME_CREATE_MEDIAKEYS_SYSTEMACCESS_FAILED"; + f[f.VCa = 7397] = "PLAY_MSE_EME_NO_PRK_SUPPORT"; + f[f.Rcb = 7398] = "PLAY_MSE_DURATIONCHANGE_ERROR"; + f[f.eZ = 7399] = "PLAY_MSE_SET_LICENSE_ERROR"; + f[f.B$a = 7400] = "EXTERNAL"; + f[f.dZ = 7500] = "PAUSE_TIMEOUT"; + f[f.JY = 7502] = "INACTIVITY_TIMEOUT"; + f[f.B7a = 7510] = "AUTHORIZATION_EXPIRED"; + f[f.HZb = 7520] = "DECRYPT_AUDIO"; + f[f.s$a = 7700] = "EME_INVALID_KEYSYSTEM"; + f[f.Jxa = 7701] = "EME_CREATE_MEDIAKEYS_SYSTEMACCESS_FAILED"; f[f.EO = 7702] = "EME_CREATE_MEDIAKEYS_FAILED"; - f[f.qY = 7703] = "EME_GENERATEREQUEST_FAILED"; - f[f.Uxa = 7704] = "EME_UPDATE_FAILED"; - f[f.Sxa = 7705] = "EME_KEYSESSION_ERROR"; - f[f.Rxa = 7706] = "EME_KEYMESSAGE_EMPTY"; - f[f.s$a = 7707] = "EME_REMOVE_FAILED"; - f[f.r$a = 7708] = "EME_LOAD_FAILED"; - f[f.m$a = 7709] = "EME_CREATE_SESSION_FAILED"; - f[f.c$ = 7710] = "EME_LDL_RENEWAL_ERROR"; - f[f.Pxa = 7711] = "EME_INVALID_INITDATA_DATA"; - f[f.Qxa = 7712] = "EME_INVALID_LICENSE_DATA"; - f[f.q$a = 7713] = "EME_LDL_KEYSSION_ALREADY_CLOSED"; - f[f.ZZb = 7714] = "EME_MEDIAKEYS_GENERIC_ERROR"; - f[f.Mxa = 7716] = "EME_CLOSE_FAILED"; - f[f.t$a = 7717] = "EME_SESSION_CLOSED_UNEXPECTEDLY"; - f[f.Gcb = 7800] = "PLAYDATA_STORE_FAILURE"; - f[f.s1b = 7801] = "PLAYDATA_SEND_FAILURE"; + f[f.pY = 7703] = "EME_GENERATEREQUEST_FAILED"; + f[f.Qxa = 7704] = "EME_UPDATE_FAILED"; + f[f.Oxa = 7705] = "EME_KEYSESSION_ERROR"; + f[f.Nxa = 7706] = "EME_KEYMESSAGE_EMPTY"; + f[f.v$a = 7707] = "EME_REMOVE_FAILED"; + f[f.u$a = 7708] = "EME_LOAD_FAILED"; + f[f.p$a = 7709] = "EME_CREATE_SESSION_FAILED"; + f[f.X9 = 7710] = "EME_LDL_RENEWAL_ERROR"; + f[f.Lxa = 7711] = "EME_INVALID_INITDATA_DATA"; + f[f.Mxa = 7712] = "EME_INVALID_LICENSE_DATA"; + f[f.t$a = 7713] = "EME_LDL_KEYSSION_ALREADY_CLOSED"; + f[f.$Zb = 7714] = "EME_MEDIAKEYS_GENERIC_ERROR"; + f[f.Ixa = 7716] = "EME_CLOSE_FAILED"; + f[f.w$a = 7717] = "EME_SESSION_CLOSED_UNEXPECTEDLY"; + f[f.Kcb = 7800] = "PLAYDATA_STORE_FAILURE"; + f[f.t1b = 7801] = "PLAYDATA_SEND_FAILURE"; f[f.kO = 7900] = "BRANCH_PLAY_FAILURE"; - f[f.HH = 7901] = "BRANCH_QUEUE_FAILURE"; - f[f.sva = 7902] = "BRANCH_UPDATE_NEXT_SEGMENT_WEIGHTS_FAILURE"; - f[f.R0b = 8E3] = "NRDP_REGISTRATION_ACTIVATE_FAILURE"; - f[f.S0b = 8010] = "NRDP_REGISTRATION_SSO_ACTIVATE_FAILURE"; - f[f.vcb = 8100] = "PBO_EVENTLOOKUP_FAILURE"; - f[f.Hcb = 8200] = "PLAYGRAPH_ADD_MANIFEST"; - f[f.t1b = 8201] = "PLAYGRAPH_SEGMENT_NOT_READY"; - })(a = b.L || (b.L = {})); + f[f.PH = 7901] = "BRANCH_QUEUE_FAILURE"; + f[f.pva = 7902] = "BRANCH_UPDATE_NEXT_SEGMENT_WEIGHTS_FAILURE"; + f[f.S0b = 8E3] = "NRDP_REGISTRATION_ACTIVATE_FAILURE"; + f[f.T0b = 8010] = "NRDP_REGISTRATION_SSO_ACTIVATE_FAILURE"; + f[f.zcb = 8100] = "PBO_EVENTLOOKUP_FAILURE"; + })(a = b.M || (b.M = {})); (function (f) { - f[f.jm = 1001] = "UNKNOWN"; - f[f.fj = 1003] = "EXCEPTION"; - f[f.Oab = 1004] = "INVALID_DI"; - f[f.t7a = 1011] = "ASYNCLOAD_EXCEPTION"; - f[f.u7a = 1013] = "ASYNCLOAD_TIMEOUT"; - f[f.DYb = 1015] = "ASYNCLOAD_BADCONFIG"; - f[f.r7a = 1016] = "ASYNCLOAD_COMPONENT_DUPLICATE"; - f[f.s7a = 1017] = "ASYNCLOAD_COMPONENT_MISSING"; + f[f.im = 1001] = "UNKNOWN"; + f[f.dj = 1003] = "EXCEPTION"; + f[f.Rab = 1004] = "INVALID_DI"; + f[f.v7a = 1011] = "ASYNCLOAD_EXCEPTION"; + f[f.w7a = 1013] = "ASYNCLOAD_TIMEOUT"; + f[f.EYb = 1015] = "ASYNCLOAD_BADCONFIG"; + f[f.t7a = 1016] = "ASYNCLOAD_COMPONENT_DUPLICATE"; + f[f.u7a = 1017] = "ASYNCLOAD_COMPONENT_MISSING"; f[f.dP = 1101] = "HTTP_UNKNOWN"; - f[f.w$ = 1102] = "HTTP_XHR"; + f[f.o$ = 1102] = "HTTP_XHR"; f[f.aP = 1103] = "HTTP_PROTOCOL"; f[f.$O = 1104] = "HTTP_OFFLINE"; f[f.cP = 1105] = "HTTP_TIMEOUT"; - f[f.jD = 1106] = "HTTP_READTIMEOUT"; - f[f.$z = 1107] = "HTTP_ABORT"; - f[f.iza = 1108] = "HTTP_PARSE"; - f[f.eza = 1110] = "HTTP_BAD_URL"; + f[f.lD = 1106] = "HTTP_READTIMEOUT"; + f[f.aA = 1107] = "HTTP_ABORT"; + f[f.gza = 1108] = "HTTP_PARSE"; + f[f.cza = 1110] = "HTTP_BAD_URL"; f[f.bP = 1111] = "HTTP_PROXY"; - f[f.jBa = 1203] = "MSE_AUDIO"; - f[f.kBa = 1204] = "MSE_VIDEO"; - f[f.wbb = 1250] = "MSE_MEDIA_ERR_BASE"; - f[f.q0b = 1251] = "MSE_MEDIA_ERR_ABORTED"; - f[f.t0b = 1252] = "MSE_MEDIA_ERR_NETWORK"; - f[f.r0b = 1253] = "MSE_MEDIA_ERR_DECODE"; - f[f.u0b = 1254] = "MSE_MEDIA_ERR_SRC_NOT_SUPPORTED"; - f[f.s0b = 1255] = "MSE_MEDIA_ERR_ENCRYPTED"; - f[f.Kr = 1260] = "EME_MEDIA_KEYERR_BASE"; - f[f.e_b = 1261] = "EME_MEDIA_KEYERR_UNKNOWN"; - f[f.$Zb = 1262] = "EME_MEDIA_KEYERR_CLIENT"; - f[f.d_b = 1263] = "EME_MEDIA_KEYERR_SERVICE"; - f[f.c_b = 1264] = "EME_MEDIA_KEYERR_OUTPUT"; - f[f.b_b = 1265] = "EME_MEDIA_KEYERR_HARDWARECHANGE"; - f[f.a_b = 1266] = "EME_MEDIA_KEYERR_DOMAIN"; - f[f.f_b = 1269] = "EME_MEDIA_UNAVAILABLE_CDM"; - f[f.o$a = 1280] = "EME_ERROR_NODRMSESSSION"; - f[f.n$a = 1281] = "EME_ERROR_NODRMREQUESTS"; - f[f.WZb = 1282] = "EME_ERROR_INDIV_FAILED"; - f[f.XZb = 1283] = "EME_ERROR_UNSUPPORTED_MESSAGETYPE"; - f[f.u$a = 1284] = "EME_TIMEOUT_MESSAGE"; - f[f.g_b = 1285] = "EME_TIMEOUT_KEYCHANGE"; - f[f.Txa = 1286] = "EME_UNDEFINED_DATA"; - f[f.SH = 1287] = "EME_INVALID_STATE"; - f[f.YZb = 1288] = "EME_LDL_DOES_NOT_SUPPORT_PRK"; - f[f.Oxa = 1289] = "EME_EMPTY_DATA"; + f[f.hBa = 1203] = "MSE_AUDIO"; + f[f.iBa = 1204] = "MSE_VIDEO"; + f[f.Abb = 1250] = "MSE_MEDIA_ERR_BASE"; + f[f.r0b = 1251] = "MSE_MEDIA_ERR_ABORTED"; + f[f.u0b = 1252] = "MSE_MEDIA_ERR_NETWORK"; + f[f.s0b = 1253] = "MSE_MEDIA_ERR_DECODE"; + f[f.v0b = 1254] = "MSE_MEDIA_ERR_SRC_NOT_SUPPORTED"; + f[f.t0b = 1255] = "MSE_MEDIA_ERR_ENCRYPTED"; + f[f.Nr = 1260] = "EME_MEDIA_KEYERR_BASE"; + f[f.f_b = 1261] = "EME_MEDIA_KEYERR_UNKNOWN"; + f[f.a_b = 1262] = "EME_MEDIA_KEYERR_CLIENT"; + f[f.e_b = 1263] = "EME_MEDIA_KEYERR_SERVICE"; + f[f.d_b = 1264] = "EME_MEDIA_KEYERR_OUTPUT"; + f[f.c_b = 1265] = "EME_MEDIA_KEYERR_HARDWARECHANGE"; + f[f.b_b = 1266] = "EME_MEDIA_KEYERR_DOMAIN"; + f[f.g_b = 1269] = "EME_MEDIA_UNAVAILABLE_CDM"; + f[f.r$a = 1280] = "EME_ERROR_NODRMSESSSION"; + f[f.q$a = 1281] = "EME_ERROR_NODRMREQUESTS"; + f[f.XZb = 1282] = "EME_ERROR_INDIV_FAILED"; + f[f.YZb = 1283] = "EME_ERROR_UNSUPPORTED_MESSAGETYPE"; + f[f.x$a = 1284] = "EME_TIMEOUT_MESSAGE"; + f[f.h_b = 1285] = "EME_TIMEOUT_KEYCHANGE"; + f[f.Pxa = 1286] = "EME_UNDEFINED_DATA"; + f[f.$H = 1287] = "EME_INVALID_STATE"; + f[f.ZZb = 1288] = "EME_LDL_DOES_NOT_SUPPORT_PRK"; + f[f.Kxa = 1289] = "EME_EMPTY_DATA"; f[f.FO = 1290] = "EME_TIMEOUT"; - f[f.G0b = 1303] = "NCCP_METHOD_NOT_SUPPORTED"; - f[f.J0b = 1305] = "NCCP_PARSEXML"; - f[f.ddb = 1309] = "PROCESS_EXCEPTION"; - f[f.I0b = 1311] = "NCCP_NETFLIXID_MISSING"; - f[f.K0b = 1312] = "NCCP_SECURENETFLIXID_MISSING"; - f[f.D0b = 1313] = "NCCP_HMAC_MISSING"; - f[f.C0b = 1315] = "NCCP_HMAC_MISMATCH"; - f[f.B0b = 1317] = "NCCP_HMAC_FAILED"; - f[f.A0b = 1321] = "NCCP_CLIENTTIME_MISSING"; - f[f.z0b = 1323] = "NCCP_CLIENTTIME_MISMATCH"; - f[f.Lya = 1331] = "GENERIC"; - f[f.Pbb = 1333] = "NCCP_PROTOCOL_INVALIDDEVICECREDENTIALS"; - f[f.Qbb = 1337] = "NCCP_PROTOCOL_REDIRECT_LOOP"; - f[f.L0b = 1341] = "NCCP_TRANSACTION"; - f[f.E0b = 1343] = "NCCP_INVALID_DRMTYPE"; - f[f.F0b = 1344] = "NCCP_INVALID_LICENCE_RESPONSE"; - f[f.H0b = 1345] = "NCCP_MISSING_PAYLOAD"; + f[f.H0b = 1303] = "NCCP_METHOD_NOT_SUPPORTED"; + f[f.K0b = 1305] = "NCCP_PARSEXML"; + f[f.gdb = 1309] = "PROCESS_EXCEPTION"; + f[f.J0b = 1311] = "NCCP_NETFLIXID_MISSING"; + f[f.L0b = 1312] = "NCCP_SECURENETFLIXID_MISSING"; + f[f.E0b = 1313] = "NCCP_HMAC_MISSING"; + f[f.D0b = 1315] = "NCCP_HMAC_MISMATCH"; + f[f.C0b = 1317] = "NCCP_HMAC_FAILED"; + f[f.B0b = 1321] = "NCCP_CLIENTTIME_MISSING"; + f[f.A0b = 1323] = "NCCP_CLIENTTIME_MISMATCH"; + f[f.Jya = 1331] = "GENERIC"; + f[f.Tbb = 1333] = "NCCP_PROTOCOL_INVALIDDEVICECREDENTIALS"; + f[f.Ubb = 1337] = "NCCP_PROTOCOL_REDIRECT_LOOP"; + f[f.M0b = 1341] = "NCCP_TRANSACTION"; + f[f.F0b = 1343] = "NCCP_INVALID_DRMTYPE"; + f[f.G0b = 1344] = "NCCP_INVALID_LICENCE_RESPONSE"; + f[f.I0b = 1345] = "NCCP_MISSING_PAYLOAD"; f[f.J1b = 1346] = "PROTOCOL_NOT_INITIALIZED"; f[f.I1b = 1347] = "PROTOCOL_MISSING_FIELD"; f[f.H1b = 1348] = "PROTOCOL_MISMATCHED_PROFILEGUID"; - f[f.mA = 1402] = "STORAGE_NODATA"; + f[f.oA = 1402] = "STORAGE_NODATA"; f[f.b2b = 1403] = "STORAGE_EXCEPTION"; f[f.j2b = 1405] = "STORAGE_QUOTA_NOT_GRANTED"; f[f.k2b = 1407] = "STORAGE_QUOTA_TO_SMALL"; - f[f.TFa = 1411] = "STORAGE_LOAD_ERROR"; - f[f.Sdb = 1412] = "STORAGE_LOAD_TIMEOUT"; - f[f.UFa = 1414] = "STORAGE_SAVE_ERROR"; - f[f.Vdb = 1415] = "STORAGE_SAVE_TIMEOUT"; - f[f.mba = 1417] = "STORAGE_DELETE_ERROR"; - f[f.SFa = 1418] = "STORAGE_DELETE_TIMEOUT"; + f[f.QFa = 1411] = "STORAGE_LOAD_ERROR"; + f[f.Vdb = 1412] = "STORAGE_LOAD_TIMEOUT"; + f[f.RFa = 1414] = "STORAGE_SAVE_ERROR"; + f[f.Ydb = 1415] = "STORAGE_SAVE_TIMEOUT"; + f[f.gba = 1417] = "STORAGE_DELETE_ERROR"; + f[f.PFa = 1418] = "STORAGE_DELETE_TIMEOUT"; f[f.i2b = 1421] = "STORAGE_FS_REQUESTFILESYSTEM"; f[f.f2b = 1423] = "STORAGE_FS_GETDIRECTORY"; f[f.h2b = 1425] = "STORAGE_FS_READENTRIES"; @@ -18558,226 +18565,225 @@ a000.D9b = function () { f[f.e2b = 1429] = "STORAGE_FS_FILEWRITE"; f[f.d2b = 1431] = "STORAGE_FS_FILEREMOVE"; f[f.g2b = 1432] = "STORAGE_FS_PARSEJSON"; - f[f.Udb = 1451] = "STORAGE_NO_LOCALSTORAGE"; - f[f.Tdb = 1453] = "STORAGE_LOCALSTORAGE_ACCESS_EXCEPTION"; - f[f.Y0b = 1501] = "NTBA_UNKNOWN"; - f[f.X0b = 1502] = "NTBA_EXCEPTION"; - f[f.T0b = 1504] = "NTBA_CRYPTO_KEY"; - f[f.V0b = 1506] = "NTBA_CRYPTO_OPERATION"; - f[f.U0b = 1508] = "NTBA_CRYPTO_KEYEXCHANGE"; - f[f.W0b = 1515] = "NTBA_DECRYPT_UNSUPPORTED"; - f[f.Rwa = 1553] = "DEVICE_NO_ESN"; - f[f.Qwa = 1555] = "DEVICE_ERROR_GETTING_ESN"; - f[f.E$a = 1701] = "FORMAT_UNKNOWN"; - f[f.yya = 1713] = "FORMAT_XML"; - f[f.F$a = 1715] = "FORMAT_XML_CONTENT"; - f[f.D$a = 1721] = "FORMAT_BASE64"; + f[f.Xdb = 1451] = "STORAGE_NO_LOCALSTORAGE"; + f[f.Wdb = 1453] = "STORAGE_LOCALSTORAGE_ACCESS_EXCEPTION"; + f[f.Z0b = 1501] = "NTBA_UNKNOWN"; + f[f.Y0b = 1502] = "NTBA_EXCEPTION"; + f[f.U0b = 1504] = "NTBA_CRYPTO_KEY"; + f[f.W0b = 1506] = "NTBA_CRYPTO_OPERATION"; + f[f.V0b = 1508] = "NTBA_CRYPTO_KEYEXCHANGE"; + f[f.X0b = 1515] = "NTBA_DECRYPT_UNSUPPORTED"; + f[f.Owa = 1553] = "DEVICE_NO_ESN"; + f[f.Nwa = 1555] = "DEVICE_ERROR_GETTING_ESN"; + f[f.H$a = 1701] = "FORMAT_UNKNOWN"; + f[f.wya = 1713] = "FORMAT_XML"; + f[f.I$a = 1715] = "FORMAT_XML_CONTENT"; + f[f.G$a = 1721] = "FORMAT_BASE64"; f[f.uY = 1723] = "FORMAT_DFXP"; - f[f.cab = 1801] = "INDEXDB_OPEN_EXCEPTION"; - f[f.vza = 1802] = "INDEXDB_NOT_SUPPORTED"; - f[f.bab = 1803] = "INDEXDB_OPEN_ERROR"; - f[f.wza = 1804] = "INDEXDB_OPEN_NULL"; - f[f.aab = 1805] = "INDEXDB_OPEN_BLOCKED"; - f[f.dab = 1807] = "INDEXDB_OPEN_TIMEOUT"; - f[f.$$a = 1808] = "INDEXDB_INVALID_STORE_STATE"; - f[f.LY = 1809] = "INDEXDB_ACCESS_EXCEPTION"; - f[f.Gbb = 1901] = "MSL_UNKNOWN"; - f[f.zbb = 1911] = "MSL_INIT_NO_MSL"; - f[f.mBa = 1913] = "MSL_INIT_ERROR"; - f[f.Abb = 1915] = "MSL_INIT_NO_WEBCRYPTO"; - f[f.xbb = 1931] = "MSL_ERROR"; - f[f.Fbb = 1933] = "MSL_REQUEST_TIMEOUT"; - f[f.Ebb = 1934] = "MSL_READ_TIMEOUT"; - f[f.ybb = 1935] = "MSL_ERROR_HEADER"; - f[f.v0b = 1936] = "MSL_ERROR_ENVELOPE"; - f[f.w0b = 1937] = "MSL_ERROR_MISSING_PAYLOAD"; - f[f.lBa = 1957] = "MSL_ERROR_REAUTH"; - f[f.Jba = 2103] = "WEBCRYPTO_MISSING"; - f[f.ueb = 2105] = "WEBCRYPTOKEYS_MISSING"; - f[f.veb = 2107] = "WEBCRYPTO_IFRAME_LOAD_ERROR"; - f[f.mZb = 2200] = "CACHEDDATA_PARSEJSON"; - f[f.Pva = 2201] = "CACHEDDATA_UNSUPPORTED_VERSION"; - f[f.nZb = 2202] = "CACHEDDATA_UPGRADE_FAILED"; - f[f.Wz = 2203] = "CACHEDDATA_INVALID_FORMAT"; - f[f.zYb = 3E3] = "ACCOUNT_CHANGE_INFLIGHT"; - f[f.AYb = 3001] = "ACCOUNT_INVALID"; - f[f.OZb = 3100] = "DOWNLOADED_MANIFEST_UNAVAILABLE"; - f[f.NZb = 3101] = "DOWNLOADED_MANIFEST_PARSE_EXCEPTION"; - f[f.LZb = 3200] = "DOWNLOADED_LICENSE_UNAVAILABLE"; - f[f.MZb = 3201] = "DOWNLOADED_LICENSE_UNUSEABLE"; - f[f.KZb = 3202] = "DOWNLOADED_LICENSE_EXCEPTION"; + f[f.fab = 1801] = "INDEXDB_OPEN_EXCEPTION"; + f[f.tza = 1802] = "INDEXDB_NOT_SUPPORTED"; + f[f.eab = 1803] = "INDEXDB_OPEN_ERROR"; + f[f.uza = 1804] = "INDEXDB_OPEN_NULL"; + f[f.dab = 1805] = "INDEXDB_OPEN_BLOCKED"; + f[f.gab = 1807] = "INDEXDB_OPEN_TIMEOUT"; + f[f.cab = 1808] = "INDEXDB_INVALID_STORE_STATE"; + f[f.KY = 1809] = "INDEXDB_ACCESS_EXCEPTION"; + f[f.Kbb = 1901] = "MSL_UNKNOWN"; + f[f.Dbb = 1911] = "MSL_INIT_NO_MSL"; + f[f.kBa = 1913] = "MSL_INIT_ERROR"; + f[f.Ebb = 1915] = "MSL_INIT_NO_WEBCRYPTO"; + f[f.Bbb = 1931] = "MSL_ERROR"; + f[f.Jbb = 1933] = "MSL_REQUEST_TIMEOUT"; + f[f.Ibb = 1934] = "MSL_READ_TIMEOUT"; + f[f.Cbb = 1935] = "MSL_ERROR_HEADER"; + f[f.w0b = 1936] = "MSL_ERROR_ENVELOPE"; + f[f.x0b = 1937] = "MSL_ERROR_MISSING_PAYLOAD"; + f[f.jBa = 1957] = "MSL_ERROR_REAUTH"; + f[f.Dba = 2103] = "WEBCRYPTO_MISSING"; + f[f.xeb = 2105] = "WEBCRYPTOKEYS_MISSING"; + f[f.yeb = 2107] = "WEBCRYPTO_IFRAME_LOAD_ERROR"; + f[f.nZb = 2200] = "CACHEDDATA_PARSEJSON"; + f[f.Mva = 2201] = "CACHEDDATA_UNSUPPORTED_VERSION"; + f[f.oZb = 2202] = "CACHEDDATA_UPGRADE_FAILED"; + f[f.Yz = 2203] = "CACHEDDATA_INVALID_FORMAT"; + f[f.BYb = 3E3] = "ACCOUNT_CHANGE_INFLIGHT"; + f[f.CYb = 3001] = "ACCOUNT_INVALID"; + f[f.PZb = 3100] = "DOWNLOADED_MANIFEST_UNAVAILABLE"; + f[f.OZb = 3101] = "DOWNLOADED_MANIFEST_PARSE_EXCEPTION"; + f[f.MZb = 3200] = "DOWNLOADED_LICENSE_UNAVAILABLE"; + f[f.NZb = 3201] = "DOWNLOADED_LICENSE_UNUSEABLE"; + f[f.LZb = 3202] = "DOWNLOADED_LICENSE_EXCEPTION"; f[f.l2b = 3300] = "STORAGE_VA_LOAD_ERROR"; f[f.m2b = 3301] = "STORAGE_VA_LOAD_TIMEOUT"; f[f.p2b = 3302] = "STORAGE_VA_SAVE_ERROR"; f[f.q2b = 3303] = "STORAGE_VA_SAVE_TIMEOUT"; f[f.n2b = 3304] = "STORAGE_VA_REMOVE_ERROR"; f[f.o2b = 3305] = "STORAGE_VA_REMOVE_TIMEOUT"; - f[f.saa = 3077] = "PBO_DEVICE_EOL_WARNING"; - f[f.NCa = 3078] = "PBO_DEVICE_EOL_FINAL"; - f[f.QCa = 3100] = "PBO_DEVICE_RESET"; - f[f.PCa = 3101] = "PBO_DEVICE_RELOAD"; - f[f.OCa = 3102] = "PBO_DEVICE_EXIT"; - f[f.Dcb = 5003] = "PBO_VIEWABLE_OUT_OF_AVAILABILITY_WINDOW"; - f[f.qcb = 5005] = "PBO_ACCOUNT_ON_HOLD"; - f[f.ucb = 5006] = "PBO_CONCURRENT_STREAM_QUOTA_EXCEEDED"; - f[f.RCa = 5007] = "PBO_INCORRECT_PIN"; - f[f.Bcb = 5008] = "PBO_MOBILE_ONLY"; - f[f.Ecb = 5009] = "PBO_VIEWABLE_RESTRICTED_BY_PROFILE"; - f[f.xcb = 5033] = "PBO_INSUFFICIENT_MATURITY_LEVEL"; - f[f.scb = 5059] = "PBO_BLACKLISTED_IP"; - f[f.rcb = 5070] = "PBO_AGE_VERIFICATION_REQUIRED"; - f[f.tcb = 5080] = "PBO_CHOICE_MAP_ERROR"; - f[f.Ccb = 5090] = "PBO_RESTRICTED_TO_TESTERS"; - f[f.zcb = 5091] = "PBO_MALFORMED_REQUEST"; - f[f.ycb = 5092] = "PBO_INVALID_SERVICE_VERSION"; - f[f.Acb = 5093] = "PBO_MDX_INVALID_CTICKET"; - f[f.wcb = 5094] = "PBO_FREE_PREVIEW_ENDED"; - f[f.g9a = 5100] = "DECODER_TIMEOUT_BUFFERING"; - f[f.i9a = 5101] = "DECODER_TIMEOUT_PRESENTING"; - f[f.h9a = 5102] = "DECODER_TIMEOUT_PLAYING"; - f[f.Z9a = 5200] = "DOWNLOADER_IO_ERROR"; - f[f.rva = 5300] = "BRANCHING_SEGMENT_NOTFOUND"; - f[f.U7a = 5301] = "BRANCHING_PRESENTER_UNINITIALIZED"; - f[f.QYb = 5302] = "BRANCHING_SEGMENT_STREAMING_NOT_STARTED"; - f[f.z9 = 5303] = "BRANCHING_ASE_UNINITIALIZED"; - f[f.R7a = 5304] = "BRANCHING_ASE_FAILURE"; - f[f.NYb = 5305] = "BRANCHING_MOMENT_FAILURE"; - f[f.S7a = 5306] = "BRANCHING_CURRENT_SEGMENT_UNINITIALIZED"; - f[f.PYb = 5307] = "BRANCHING_SEGMENT_LASTPTS_UNINIITALIZED"; - f[f.V7a = 5308] = "BRANCHING_SEEK_THREW"; - f[f.OYb = 5309] = "BRANCHING_PLAY_NOTENOUGHNEXTSEGMENTS"; - f[f.T7a = 5310] = "BRANCHING_PLAY_TIMEDOUT"; - f[f.W7a = 5311] = "BRANCHING_SEGMENT_ALREADYQUEUED"; - f[f.X7a = 5312] = "BRANCHING_UPDATE_NEXT_SEGMENT_WEIGHTS_THREW"; - f[f.CYb = 5400] = "ADD_MANIFEST_STREAMING_SESSION_ERROR"; - f[f.h7a = 5401] = "ADD_MANIFEST_NO_STREAMING_SESSION"; - f[f.Wdb = 5500] = "STUDIO_MUXED_MANIFEST"; - })(c = b.M || (b.M = {})); + f[f.kaa = 3077] = "PBO_DEVICE_EOL_WARNING"; + f[f.LCa = 3078] = "PBO_DEVICE_EOL_FINAL"; + f[f.OCa = 3100] = "PBO_DEVICE_RESET"; + f[f.NCa = 3101] = "PBO_DEVICE_RELOAD"; + f[f.MCa = 3102] = "PBO_DEVICE_EXIT"; + f[f.Hcb = 5003] = "PBO_VIEWABLE_OUT_OF_AVAILABILITY_WINDOW"; + f[f.ucb = 5005] = "PBO_ACCOUNT_ON_HOLD"; + f[f.ycb = 5006] = "PBO_CONCURRENT_STREAM_QUOTA_EXCEEDED"; + f[f.PCa = 5007] = "PBO_INCORRECT_PIN"; + f[f.Fcb = 5008] = "PBO_MOBILE_ONLY"; + f[f.Icb = 5009] = "PBO_VIEWABLE_RESTRICTED_BY_PROFILE"; + f[f.Bcb = 5033] = "PBO_INSUFFICIENT_MATURITY_LEVEL"; + f[f.wcb = 5059] = "PBO_BLACKLISTED_IP"; + f[f.vcb = 5070] = "PBO_AGE_VERIFICATION_REQUIRED"; + f[f.xcb = 5080] = "PBO_CHOICE_MAP_ERROR"; + f[f.Gcb = 5090] = "PBO_RESTRICTED_TO_TESTERS"; + f[f.Dcb = 5091] = "PBO_MALFORMED_REQUEST"; + f[f.Ccb = 5092] = "PBO_INVALID_SERVICE_VERSION"; + f[f.Ecb = 5093] = "PBO_MDX_INVALID_CTICKET"; + f[f.Acb = 5094] = "PBO_FREE_PREVIEW_ENDED"; + f[f.i9a = 5100] = "DECODER_TIMEOUT_BUFFERING"; + f[f.k9a = 5101] = "DECODER_TIMEOUT_PRESENTING"; + f[f.j9a = 5102] = "DECODER_TIMEOUT_PLAYING"; + f[f.a$a = 5200] = "DOWNLOADER_IO_ERROR"; + f[f.ova = 5300] = "BRANCHING_SEGMENT_NOTFOUND"; + f[f.W7a = 5301] = "BRANCHING_PRESENTER_UNINITIALIZED"; + f[f.RYb = 5302] = "BRANCHING_SEGMENT_STREAMING_NOT_STARTED"; + f[f.u9 = 5303] = "BRANCHING_ASE_UNINITIALIZED"; + f[f.T7a = 5304] = "BRANCHING_ASE_FAILURE"; + f[f.OYb = 5305] = "BRANCHING_MOMENT_FAILURE"; + f[f.U7a = 5306] = "BRANCHING_CURRENT_SEGMENT_UNINITIALIZED"; + f[f.QYb = 5307] = "BRANCHING_SEGMENT_LASTPTS_UNINIITALIZED"; + f[f.X7a = 5308] = "BRANCHING_SEEK_THREW"; + f[f.PYb = 5309] = "BRANCHING_PLAY_NOTENOUGHNEXTSEGMENTS"; + f[f.V7a = 5310] = "BRANCHING_PLAY_TIMEDOUT"; + f[f.Y7a = 5311] = "BRANCHING_SEGMENT_ALREADYQUEUED"; + f[f.Z7a = 5312] = "BRANCHING_UPDATE_NEXT_SEGMENT_WEIGHTS_THREW"; + f[f.Zdb = 5500] = "STUDIO_MUXED_MANIFEST"; + f[f.nbb = 5600] = "MANIFEST_HYDRATION_FAILURE"; + })(c = b.L || (b.L = {})); (function (f) { - f[f.aZb = 5003] = "BR_VIEWABLE_OUT_OF_AVAILABILITY_WINDOW"; - f[f.RYb = 5005] = "BR_ACCOUNT_ON_HOLD"; - f[f.VYb = 5006] = "BR_CONCURRENT_STREAM_QUOTA_EXCEEDED"; - f[f.YYb = 5033] = "BR_INSUFFICIENT_MATURITY_LEVEL"; - f[f.UYb = 5059] = "BR_BLACKLISTED_IP"; - f[f.SYb = 5070] = "BR_AGE_VERIFICATION_REQUIRED"; - f[f.ZYb = 2204] = "BR_PLAYBACK_CONTEXT_CREATION"; - f[f.WYb = 2205] = "BR_DRM_LICENSE_AQUISITION"; - f[f.$Yb = 2206] = "BR_PLAYBACK_SERVICE_ERROR"; - f[f.XYb = 2207] = "BR_ENDPOINT_ERROR"; - f[f.TYb = 2208] = "BR_AUTHORIZATION_ERROR"; - })(b.nya || (b.nya = {})); - b.JY = { - d8a: "400", + f[f.bZb = 5003] = "BR_VIEWABLE_OUT_OF_AVAILABILITY_WINDOW"; + f[f.SYb = 5005] = "BR_ACCOUNT_ON_HOLD"; + f[f.WYb = 5006] = "BR_CONCURRENT_STREAM_QUOTA_EXCEEDED"; + f[f.ZYb = 5033] = "BR_INSUFFICIENT_MATURITY_LEVEL"; + f[f.VYb = 5059] = "BR_BLACKLISTED_IP"; + f[f.TYb = 5070] = "BR_AGE_VERIFICATION_REQUIRED"; + f[f.$Yb = 2204] = "BR_PLAYBACK_CONTEXT_CREATION"; + f[f.XYb = 2205] = "BR_DRM_LICENSE_AQUISITION"; + f[f.aZb = 2206] = "BR_PLAYBACK_SERVICE_ERROR"; + f[f.YYb = 2207] = "BR_ENDPOINT_ERROR"; + f[f.UYb = 2208] = "BR_AUTHORIZATION_ERROR"; + })(b.kya || (b.kya = {})); + b.IY = { + f8a: "400", L2b: "401", - fDa: "413" + bDa: "413" }; - b.SY = { - E_b: 1, + b.RY = { + F_b: 1, E2b: 2, - j_b: 3, + k_b: 3, K2b: 4, - h0b: 5, - i_b: 6, - Eba: 7, - l_b: 8, + i0b: 5, + j_b: 6, + yba: 7, + m_b: 8, R1b: 9, Z1b: 10 }; (function (f) { - f[f.q1b = 21] = "PAIRING_CONTROLLER_CTICKET_EXPIRED"; - f[f.r1b = 98] = "PAIRING_UNKNOWN_ERROR"; - })(b.FBa || (b.FBa = {})); - b.z$a = function (f) { + f[f.r1b = 21] = "PAIRING_CONTROLLER_CTICKET_EXPIRED"; + f[f.s1b = 98] = "PAIRING_UNKNOWN_ERROR"; + })(b.DBa || (b.DBa = {})); + b.C$a = function (f) { return 7100 <= f && 7200 > f; }; - b.lya = function (f) { - return f == a.eZ || f == a.KY; + b.iya = function (f) { + return f == a.dZ || f == a.JY; }; - b.oya = function (f) { + b.lya = function (f) { return 1100 <= f && 1199 >= f; }; - b.B$a = function (f) { + b.E$a = function (f) { return 1300 <= f && 1399 >= f; }; - b.A$a = function (f) { + b.D$a = function (f) { return 1900 <= f && 1999 >= f; }; - b.f$ = function (f, k) { + b.Z9 = function (f, k) { return 1 <= f && 9 >= f ? k + f : k; }; - b.pya = function (f) { - return b.f$(f, c.wbb); + b.mya = function (f) { + return b.Z9(f, c.Abb); }; - b.g$ = function (f) { - return b.f$(f, c.Kr); + b.nya = function (f) { + return b.Z9(f, c.Nr); }; - b.Lr = function (f) { + b.Or = function (f) { var k, l, d; k = {}; - l = f.errorExternalCode || f.Ve; - d = f.errorDetails || f.sb; - k.ErrorSubCode = f.errorSubCode || f.oa || c.jm; + l = f.errorExternalCode || f.Xe; + d = f.errorDetails || f.qb; + k.ErrorSubCode = f.errorSubCode || f.oa || c.im; l && (k.ErrorExternalCode = l); d && (k.ErrorDetails = d); return k; }; - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.default = { - VT: function (a) { - for (var c in a) { - a.hasOwnProperty(c) && (this[c] = a[c]); - } - }, - reset: function () {} - }; - }, function (q, b, a) { + }, function (r, b, a) { var k; function c() { return k.SP.apply(this, arguments) || this; } function f(l) { - return new k.Mr(l, b.ma); + return new k.Pr(l, b.ma); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.hb = b.oza = b.haa = b.nn = b.ma = b.wD = b.timestamp = b.eDb = b.B5 = b.Wg = b.uc = b.u0a = b.DIb = b.ieb = void 0; - k = a(301); - ka(c, k.SP); - b.ieb = c; - b.DIb = function (l) { - return new k.Mr(l, b.wD); + b.hb = b.mza = b.$$ = b.ln = b.ma = b.yD = b.timestamp = b.hDb = b.B5 = b.Ug = b.wc = b.u0a = b.FIb = b.leb = void 0; + k = a(303); + ja(c, k.SP); + b.leb = c; + b.FIb = function (l) { + return new k.Pr(l, b.yD); }; b.u0a = function (l) { - return new k.Mr(l * b.nn.Wf, b.wD); + return new k.Pr(l * b.ln.Xf, b.yD); }; - b.uc = f; - b.Wg = function (l) { - return new k.Mr(l, b.nn); + b.wc = f; + b.Ug = function (l) { + return new k.Pr(l, b.ln); }; b.B5 = function (l) { - return new k.Mr(l, b.haa); + return new k.Pr(l, b.$$); }; - b.eDb = function (l) { - return new k.Mr(l, b.oza); + b.hDb = function (l) { + return new k.Pr(l, b.mza); }; b.timestamp = function (l) { return f(l); }; - b.wD = new c(1, "\u03bcs"); - b.ma = new c(1E3, "ms", b.wD); - b.nn = new c(1E3 * b.ma.Wf, "s", b.wD); - b.haa = new c(60 * b.nn.Wf, "min", b.wD); - b.oza = new c(60 * b.haa.Wf, "hr", b.wD); + b.yD = new c(1, "\u03bcs"); + b.ma = new c(1E3, "ms", b.yD); + b.ln = new c(1E3 * b.ma.Xf, "s", b.yD); + b.$$ = new c(60 * b.ln.Xf, "min", b.yD); + b.mza = new c(60 * b.$$.Xf, "hr", b.yD); b.hb = f(0); - }, function (q, b, a) { + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.default = { + TT: function (a) { + for (var c in a) { + a.hasOwnProperty(c) && (this[c] = a[c]); + } + }, + reset: function () {} + }; + }, function (r, b, a) { var c, f, k; @@ -18801,14 +18807,14 @@ a000.D9b = function () { try { throw new k(d || "Assertion failed"); } catch (g) { - throw (f.fm.H.error("Assertion failed", { + throw (f.dm.H.error("Assertion failed", { value: l, message: d, stack: g.stack }), g); } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -18820,9 +18826,9 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ha = b.AEa = b.gT = b.Ih = b.ii = b.log = b.Bg = b.aL = b.SMa = b.Dq = b.ZA = b.Bc = b.Amb = b.lfa = b.ymb = b.zmb = b.Fi = b.TN = b.lX = b.wh = b.vc = b.wa = void 0; + b.ha = b.yEa = b.eT = b.Ih = b.ii = b.log = b.Ag = b.dL = b.TMa = b.Fq = b.aB = b.Dc = b.Amb = b.efa = b.ymb = b.zmb = b.Fi = b.TN = b.kX = b.vh = b.xc = b.xa = void 0; c = a(191); - q = a(8); + r = a(8); f = a(25); k = a(77); l = a(76); @@ -18831,105 +18837,105 @@ a000.D9b = function () { h = a(137); m = a(40); a = a(46); - b.wa = c.jd.get(m.wi); - b.vc = c.jd.get(a.lj); - b.wh = c.jd.get(k.ru); - b.lX = b.wh.encode.bind(b.wh); - b.TN = b.wh.decode.bind(b.wh); - b.Fi = c.jd.get(l.lw); + b.xa = c.kd.get(m.wi); + b.xc = c.kd.get(a.ij); + b.vh = c.kd.get(k.wu); + b.kX = b.vh.encode.bind(b.vh); + b.TN = b.vh.decode.bind(b.vh); + b.Fi = c.kd.get(l.rw); b.zmb = b.Fi.encode.bind(b.Fi); b.ymb = b.Fi.decode.bind(b.Fi); - b.lfa = b.Fi.rF.bind(b.Fi); - b.Amb = b.Fi.k5a.bind(b.Fi); - b.Bc = c.jd.get(d.Rh); - b.ZA = function (n) { - n = g.ze(n) ? b.TN(n) : n; - return b.Bc.encode(n); + b.efa = b.Fi.vF.bind(b.Fi); + b.Amb = b.Fi.m5a.bind(b.Fi); + b.Dc = c.kd.get(d.Rh); + b.aB = function (n) { + n = g.Be(n) ? b.TN(n) : n; + return b.Dc.encode(n); }; - b.Dq = b.Bc.decode.bind(b.Bc); - b.SMa = function (n) { - return b.lX(b.Dq(n)); + b.Fq = b.Dc.decode.bind(b.Dc); + b.TMa = function (n) { + return b.kX(b.Fq(n)); }; - b.aL = function () { - return c.jd.get(f.qw); + b.dL = function () { + return c.kd.get(f.xw); }; - b.Bg = c.jd.get(q.Kb); - b.log = b.Bg.Cb("General"); - b.ii = function (n, r) { - return b.Bg.Cb(n, void 0, r); + b.Ag = c.kd.get(r.Ib); + b.log = b.Ag.Db("General"); + b.ii = function (n, q) { + return b.Ag.Db(n, void 0, q); }; - b.Ih = function (n, r, p) { - return b.Bg.Cb(r, n, p); + b.Ih = function (n, q, p) { + return b.Ag.Db(q, n, p); }; - b.gT = function (n, r, p, u) { - return b.Bg.Cb(n, void 0, u, r, p); + b.eT = function (n, q, p, t) { + return b.Ag.Db(n, void 0, t, q, p); }; - b.AEa = function (n, r, p) { - return c.jd.get(h.DP)(n, r, p).gta(); + b.yEa = function (n, q, p) { + return c.kd.get(h.DP)(n, q, p).ata(); }; - b.ha = c.jd; - }, function (q, b) { + b.ha = c.kd; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.DO = b.Kb = b.R$ = b.hj = void 0; - q = b.hj || (b.hj = {}); - q[q.C$a = 0] = "FATAL"; - q[q.uf = 1] = "ERROR"; - q[q.Iba = 2] = "WARN"; - q[q.A$ = 3] = "INFO"; - q[q.SGa = 4] = "TRACE"; - q[q.ka = 5] = "DEBUG"; - b.R$ = "LogFieldBuilderFactorySymbol"; - b.Kb = "LoggerFactorySymbol"; + b.DO = b.Ib = b.J$ = b.fj = void 0; + r = b.fj || (b.fj = {}); + r[r.F$a = 0] = "FATAL"; + r[r.wf = 1] = "ERROR"; + r[r.Cba = 2] = "WARN"; + r[r.s$ = 3] = "INFO"; + r[r.OGa = 4] = "TRACE"; + r[r.ia = 5] = "DEBUG"; + b.J$ = "LogFieldBuilderFactorySymbol"; + b.Ib = "LoggerFactorySymbol"; b.DO = {}; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.AP = b.Mya = b.$Ha = void 0; - q = a(2); - q.__exportStar(a(776), b); - q.__exportStar(a(110), b); - q.__exportStar(a(22), b); - q.__exportStar(a(777), b); - q.__exportStar(a(778), b); - q.__exportStar(a(779), b); - q.__exportStar(a(780), b); - q.__exportStar(a(781), b); - q.__exportStar(a(782), b); - q.__exportStar(a(783), b); - c = q.__importDefault(a(784)); - b.$Ha = c.default; - c = q.__importDefault(a(785)); - b.Mya = c.default; - a = q.__importDefault(a(379)); + b.AP = b.Kya = b.YHa = void 0; + r = a(2); + r.__exportStar(a(378), b); + r.__exportStar(a(110), b); + r.__exportStar(a(22), b); + r.__exportStar(a(786), b); + r.__exportStar(a(787), b); + r.__exportStar(a(788), b); + r.__exportStar(a(789), b); + r.__exportStar(a(790), b); + r.__exportStar(a(791), b); + r.__exportStar(a(792), b); + c = r.__importDefault(a(793)); + b.YHa = c.default; + c = r.__importDefault(a(794)); + b.Kya = c.default; + a = r.__importDefault(a(384)); b.AP = a.default; - }, function (q) { + }, function (r) { var b; b = { - xa: function (a) { + ya: function (a) { return "number" === typeof a; }, - Sg: function (a) { + ih: function (a) { return "object" === typeof a; }, - ze: function (a) { + Be: function (a) { return "string" === typeof a; }, - ga: function (a) { + fa: function (a) { return "undefined" === typeof a; }, - r5b: function (a) { + C5b: function (a) { return "boolean" === typeof a; }, - Kc: function (a) { + Mc: function (a) { return "function" === typeof a; }, - ob: function (a) { + tb: function (a) { return null === a; }, isArray: function (a) { @@ -18941,11 +18947,11 @@ a000.D9b = function () { has: function (a, c) { return null !== a && "undefined" !== typeof a && Object.prototype.hasOwnProperty.call(a, c); }, - JLb: function (a) { + MLb: function (a) { var c, f; f = []; - if (!b.Sg(a)) + if (!b.ih(a)) throw new TypeError("Object.pairs called on non-object"); for (c in a) { a.hasOwnProperty(c) && f.push([c, a[c]]); @@ -18953,7 +18959,7 @@ a000.D9b = function () { return f; } }; - b.Te = b.forEach = function (a, c, f) { + b.Ue = b.forEach = function (a, c, f) { if (null === a || "undefined" === typeof a) return a; if (a.length === +a.length) @@ -18966,121 +18972,120 @@ a000.D9b = function () { } return a; }; - q.exports = b; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.Rma = b.localStorage = b.MDb = b.indexedDB = b.UY = b.ep = b.iA = b.jI = b.BD = b.URL = b.XY = b.VY = b.EBa = b.QY = b.tD = b.uD = b.xo = b.ln = b.yi = b.aaa = b.Aw = b.LGa = b.NH = b.FD = b.pop = b.forEach = b.filter = b.reduce = b.every = b.slice = b.map = b.sort = b.vx = b.Sbb = b.De = b.iu = b.ju = b.WY = b.jA = void 0; - q = pb; - b.Qe = q.navigator; - b.jA = null === b.Qe || void 0 === b.Qe ? void 0 : b.Qe.userAgent; - b.WY = q.location; - b.ju = q.screen; - b.iu = q.performance; - b.De = q.document; - b.Sbb = b.De.documentElement; - b.vx = Array.prototype; - b.sort = b.vx.sort; - b.map = b.vx.map; - b.slice = b.vx.slice; - b.every = b.vx.every; - b.reduce = b.vx.reduce; - b.filter = b.vx.filter; - b.forEach = b.vx.forEach; - b.pop = b.vx.pop; - b.FD = Object.create; - b.NH = Date.now; - b.LGa = String.fromCharCode; - b.Aw = Math.floor; - b.aaa = Math.ceil; + r.exports = b; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.Lma = b.localStorage = b.QDb = b.indexedDB = b.TY = b.fp = b.jA = b.DD = b.URL = b.WY = b.UY = b.CBa = b.PY = b.vD = b.wD = b.yo = b.kn = b.yi = b.T$ = b.Gw = b.HGa = b.VH = b.HD = b.pop = b.forEach = b.filter = b.reduce = b.every = b.slice = b.map = b.sort = b.Ax = b.Wbb = b.Fe = b.pu = b.qu = b.VY = b.kA = void 0; + r = pb; + b.Re = r.navigator; + b.kA = null === b.Re || void 0 === b.Re ? void 0 : b.Re.userAgent; + b.VY = r.location; + b.qu = r.screen; + b.pu = r.performance; + b.Fe = r.document; + b.Wbb = b.Fe.documentElement; + b.Ax = Array.prototype; + b.sort = b.Ax.sort; + b.map = b.Ax.map; + b.slice = b.Ax.slice; + b.every = b.Ax.every; + b.reduce = b.Ax.reduce; + b.filter = b.Ax.filter; + b.forEach = b.Ax.forEach; + b.pop = b.Ax.pop; + b.HD = Object.create; + b.VH = Date.now; + b.HGa = String.fromCharCode; + b.Gw = Math.floor; + b.T$ = Math.ceil; b.yi = Math.round; - b.ln = Math.max; - b.xo = Math.min; - b.uD = Math.random; - b.tD = Math.abs; - b.QY = Math.pow; - b.EBa = Math.sqrt; - b.VY = q.escape; - b.XY = q.unescape; - b.URL = q.URL || q.webkitURL; - b.BD = q.MediaSource || q.WebKitMediaSource; - b.jI = q.WebKitMediaKeys || q.MSMediaKeys || q.MediaKeys; - b.iA = q.webkitCrypto || q.msCrypto || q.crypto; - b.ep = b.iA && (b.iA.webkitSubtle || b.iA.subtle); - b.UY = q.webkitCryptokeys || q.msCryptokeys || q.cryptokeys; + b.kn = Math.max; + b.yo = Math.min; + b.wD = Math.random; + b.vD = Math.abs; + b.PY = Math.pow; + b.CBa = Math.sqrt; + b.UY = r.escape; + b.WY = r.unescape; + b.URL = r.URL || r.webkitURL; + b.DD = r.MediaSource || r.WebKitMediaSource; + b.jA = r.webkitCrypto || r.msCrypto || r.crypto; + b.fp = b.jA && (b.jA.webkitSubtle || b.jA.subtle); + b.TY = r.webkitCryptokeys || r.msCryptokeys || r.cryptokeys; try { - b.indexedDB = q.indexedDB; + b.indexedDB = r.indexedDB; } catch (a) { - b.MDb = a || "noex"; + b.QDb = a || "noex"; } try { - b.localStorage = q.localStorage; + b.localStorage = r.localStorage; } catch (a) { - b.Rma = a || "noex"; + b.Lma = a || "noex"; } - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hI = b.PY = b.n8a = b.i8a = b.k8a = b.l8a = b.Fva = b.h8a = b.j8a = b.Eva = b.m8a = b.t8a = b.r8a = b.s8a = b.q8a = b.i$a = b.h$a = b.Exa = b.nbb = b.obb = b.zw = b.fBa = b.gBa = b.gI = b.Fxa = b.k$a = b.a$ = b.pY = b.fcb = b.Mdb = b.bBa = b.c8a = b.Owa = b.dZ = b.ED = b.cZ = b.aBa = b.fA = b.b8a = b.qva = b.cbb = b.seb = b.mbb = b.lbb = b.Gdb = b.Fdb = b.Ik = b.Ee = b.qFa = b.kj = void 0; - b.fba = void 0; - b.kj = function () {}; - b.qFa = function () { + b.pI = b.OY = b.p8a = b.k8a = b.m8a = b.n8a = b.Cva = b.j8a = b.l8a = b.Bva = b.o8a = b.v8a = b.t8a = b.u8a = b.s8a = b.l$a = b.k$a = b.j$a = b.rbb = b.sbb = b.Fw = b.dBa = b.eBa = b.oI = b.Bxa = b.n$a = b.V9 = b.oY = b.jcb = b.Pdb = b.$Aa = b.e8a = b.Lwa = b.cZ = b.GD = b.bZ = b.ZAa = b.gA = b.d8a = b.nva = b.fbb = b.veb = b.qbb = b.pbb = b.Jdb = b.Idb = b.Ik = b.Ge = b.nFa = b.Yj = void 0; + b.$aa = void 0; + b.Yj = function () {}; + b.nFa = function () { return !0; }; - b.Ee = { - X: !0 + b.Ge = { + W: !0 }; b.Ik = 1E3; - b.Fdb = 86400; - b.Gdb = 604800; - b.lbb = 1E4; - b.mbb = 1E7; - b.seb = 1.5; - b.cbb = .128; - b.qva = 7.8125; - b.b8a = 128; - b.fA = 145152E5; - b.aBa = 1E5; - b.cZ = "$netflix$player$order"; - b.ED = -1; - b.dZ = 1; - b.Owa = ["en-US"]; - b.c8a = 8; - b.bBa = 65535; - b.Mdb = 65536; - b.fcb = Number.MAX_VALUE; - b.pY = "playready"; - b.a$ = "widevine"; - b.k$a = "fps"; - b.Fxa = "clearkey"; - b.gI = 'audio/mp4; codecs="mp4a.40.5"'; - b.gBa = 'audio/mp4; codecs="mp4a.40.42"'; - b.fBa = 'audio/mp4; codecs="mp4a.a6"'; - b.zw = 'video/mp4; codecs="avc1.640028"'; - b.obb = 'video/mp4; codecs="hev1.2.6.L153.B0"'; - b.nbb = 'video/mp4; codecs="dvhe.01000000"'; - b.Exa = "9A04F079-9840-4286-AB92-E65BE0885F95"; - b.h$a = "29701FE4-3CC7-4A34-8C5B-AE90C7439A47"; - b.i$a = "EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED"; - b.q8a = ["4E657466-6C69-7850-6966-665374726D21", "4E657466-6C69-7848-6165-6465722E7632"]; - b.s8a = "A2394F52-5A9B-4F14-A244-6C427C648DF4"; - b.r8a = "4E657466-6C69-7846-7261-6D6552617465"; - b.t8a = "8974DBCE-7BE7-4C51-84F9-7148F9882554"; - b.m8a = "mp4a"; - b.Eva = "enca"; - b.j8a = "ec-3"; - b.h8a = "avc1"; - b.Fva = "encv"; - b.l8a = "hvcC"; - b.k8a = "hev1"; - b.i8a = "dvhe"; - b.n8a = "vp09"; - b.PY = 0; - b.hI = 1; - b.fba = "position:relative;width:100%;height:100%;overflow:hidden"; - }, function (q, b, a) { + b.Idb = 86400; + b.Jdb = 604800; + b.pbb = 1E4; + b.qbb = 1E7; + b.veb = 1.5; + b.fbb = .128; + b.nva = 7.8125; + b.d8a = 128; + b.gA = 145152E5; + b.ZAa = 1E5; + b.bZ = "$netflix$player$order"; + b.GD = -1; + b.cZ = 1; + b.Lwa = ["en-US"]; + b.e8a = 8; + b.$Aa = 65535; + b.Pdb = 65536; + b.jcb = Number.MAX_VALUE; + b.oY = "playready"; + b.V9 = "widevine"; + b.n$a = "fps"; + b.Bxa = "clearkey"; + b.oI = 'audio/mp4; codecs="mp4a.40.5"'; + b.eBa = 'audio/mp4; codecs="mp4a.40.42"'; + b.dBa = 'audio/mp4; codecs="mp4a.a6"'; + b.Fw = 'video/mp4; codecs="avc1.640028"'; + b.sbb = 'video/mp4; codecs="hev1.2.6.L153.B0"'; + b.rbb = 'video/mp4; codecs="dvhe.01000000"'; + b.j$a = "9A04F079-9840-4286-AB92-E65BE0885F95"; + b.k$a = "29701FE4-3CC7-4A34-8C5B-AE90C7439A47"; + b.l$a = "EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED"; + b.s8a = ["4E657466-6C69-7850-6966-665374726D21", "4E657466-6C69-7848-6165-6465722E7632"]; + b.u8a = "A2394F52-5A9B-4F14-A244-6C427C648DF4"; + b.t8a = "4E657466-6C69-7846-7261-6D6552617465"; + b.v8a = "8974DBCE-7BE7-4C51-84F9-7148F9882554"; + b.o8a = "mp4a"; + b.Bva = "enca"; + b.l8a = "ec-3"; + b.j8a = "avc1"; + b.Cva = "encv"; + b.n8a = "hvcC"; + b.m8a = "hev1"; + b.k8a = "dvhe"; + b.p8a = "vp09"; + b.OY = 0; + b.pI = 1; + b.$aa = "position:relative;width:100%;height:100%;overflow:hidden"; + }, function (r, b, a) { var k, l, d, @@ -19088,19 +19093,19 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, - A; + A, + B; function c(C) { - return (C = b.config.yta[f(C)]) ? C : {}; + return (C = b.config.tta[f(C)]) ? C : {}; } function f(C) { if (C) @@ -19109,7 +19114,7 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.spb = b.tpb = b.yga = b.p1 = b.rpb = b.EOa = b.qpb = b.FOa = b.xga = b.config = void 0; + b.tpb = b.upb = b.COa = b.sga = b.spb = b.DOa = b.rpb = b.EOa = b.rga = b.config = void 0; k = a(12); l = a(47); d = a(7); @@ -19118,157 +19123,157 @@ a000.D9b = function () { a(29); m = a(25); n = a(50); - r = a(24); + q = a(24); a(8); p = a(11); - u = a(17); - t = a(171); + t = a(17); + u = a(170); w = a(58); v = a(99); x = a(131); y = a(49); - z = a(5); - B = a(34); - A = a(20); - b.FOa = function (C, E) { + z = a(4); + A = a(34); + B = a(20); + b.EOa = function (C, E) { var va, - ra, - X, ta, - za, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia; - function F(wa, Sa) { - r.de(wa, function (Ua, $a) { - u.Kc($a) ? Sa[Ua] = $a.call(void 0, Sa[Ua]) : u.Sg($a) && (Sa[Ua] = Sa[Ua] || ({}), F($a, Sa[Ua])); + function G(wa, Ta) { + q.ae(wa, function (Ua, ab) { + t.Mc(ab) ? Ta[Ua] = ab.call(void 0, Ta[Ua]) : t.ih(ab) && (Ta[Ua] = Ta[Ua] || ({}), G(ab, Ta[Ua])); }); } - function D(wa, Sa, Ua, $a) { - for (var Za = [], mb = 3; mb < arguments.length; ++mb) { - Za[mb - 3] = arguments[mb]; + function D(wa, Ta, Ua, ab) { + for (var Za = [], nb = 3; nb < arguments.length; ++nb) { + Za[nb - 3] = arguments[nb]; } - return function (db) { - u.Hc(db) && (Ua = db); - h.gb(u.Kc(wa)); - return wa.apply(void 0, [Sa, Ua].concat(ca(Za))); + return function (cb) { + t.Jc(cb) && (Ua = cb); + h.gb(t.Mc(wa)); + return wa.apply(void 0, [Ta, Ua].concat(ca(Za))); }; } - function G(wa) { + function F(wa) { wa = wa.toLowerCase(); - ta.hasOwnProperty(wa) && (X[wa] = ta[wa], za[wa] = ta[wa]); + ra.hasOwnProperty(wa) && (Y[wa] = ra[wa], Ea[wa] = ra[wa]); return wa; } - function I(wa, Sa, Ua) { - var $a; + function J(wa, Ta, Ua) { + var ab; wa = wa.toLowerCase(); - if (X.hasOwnProperty(wa)) { - $a = X[wa]; + if (Y.hasOwnProperty(wa)) { + ab = Y[wa]; try { - $a = Ua ? Ua($a) : $a; + ab = Ua ? Ua(ab) : ab; } catch (Za) { - $a = void 0; + ab = void 0; } - if (void 0 !== $a) - return $a; + if (void 0 !== ab) + return ab; h.gb(!1); d.log.error("Invalid configuration value. Name: " + wa); } - return Sa; + return Ta; } - function J(wa, Sa, Ua, $a) { - return I(wa, Sa, function (Za) { - u.ze(Za) && (Za = r.pe(Za)); - if (u.mWa(Za, Ua, $a)) + function K(wa, Ta, Ua, ab) { + return J(wa, Ta, function (Za) { + t.Be(Za) && (Za = q.se(Za)); + if (t.kWa(Za, Ua, ab)) return Za; }); } - function H(wa, Sa, Ua, $a) { - return I(wa, Sa, function (Za) { - u.ze(Za) && (Za = r.pe(Za)); - if (u.Cy(Za, Ua, $a)) + function H(wa, Ta, Ua, ab) { + return J(wa, Ta, function (Za) { + t.Be(Za) && (Za = q.se(Za)); + if (t.Fy(Za, Ua, ab)) return Za; }); } - function M(wa, Sa, Ua, $a) { - return I(wa, Sa, function (Za) { - u.ze(Za) && (Za = parseFloat(Za)); - if (u.xa(Za, Ua, $a)) + function L(wa, Ta, Ua, ab) { + return J(wa, Ta, function (Za) { + t.Be(Za) && (Za = parseFloat(Za)); + if (t.ya(Za, Ua, ab)) return Za; }); } - function O(wa, Sa, Ua) { - return I(wa, Sa, function ($a) { - if (Ua ? Ua.test($a) : u.ze($a)) - return $a; + function Q(wa, Ta, Ua) { + return J(wa, Ta, function (ab) { + if (Ua ? Ua.test(ab) : t.Be(ab)) + return ab; }); } - function L(wa, Sa) { - return I(wa, Sa, function (Ua) { + function I(wa, Ta) { + return J(wa, Ta, function (Ua) { if ("true" == Ua || !0 === Ua) return !0; if ("false" == Ua || !1 === Ua) return !1; }); } - function P(wa, Sa) { - return I(wa, Sa, function (Ua) { - if (u.ze(Ua)) - return JSON.parse(p.XY(Ua)); - if (u.Sg(Ua)) + function O(wa, Ta) { + return J(wa, Ta, function (Ua) { + if (t.Be(Ua)) + return JSON.parse(p.WY(Ua)); + if (t.ih(Ua)) return Ua; }); } - function R(wa, Sa, Ua, $a, Za, mb) { - var db; + function N(wa, Ta, Ua, ab, Za, nb) { + var cb; wa = wa.toLowerCase(); - X.hasOwnProperty(wa) && (db = X[wa]); - if (!u.Hc(db)) - return Sa; - if (u.ze(db)) - if (db[0] !== Ua) - db = $a(db); + Y.hasOwnProperty(wa) && (cb = Y[wa]); + if (!t.Jc(cb)) + return Ta; + if (t.Be(cb)) + if (cb[0] !== Ua) + cb = ab(cb); else try { - db = JSON.parse(p.XY(db)); - } catch (Ta) { - db = void 0; + cb = JSON.parse(p.WY(cb)); + } catch (Sa) { + cb = void 0; } - if (void 0 === db) - return Sa; + if (void 0 === cb) + return Ta; for (wa = 0; wa < Za.length; wa++) { - if (!Za[wa](db)) - return Sa; - } - return mb ? mb(db) : db; - } - function K(wa, Sa, Ua, $a, Za) { - return R(wa, Sa, "[", function (mb) { - mb = mb.split("|"); - for (var db = mb.length; db--; ) { - mb[db] = r.pe(mb[db]); - } - return mb; - }, [function (mb) { - return u.isArray(mb) && 0 < mb.length; - }, function (mb) { - for (var db = mb.length; db--; ) { - if (!u.Cy(mb[db], Ua, $a)) + if (!Za[wa](cb)) + return Ta; + } + return nb ? nb(cb) : cb; + } + function M(wa, Ta, Ua, ab, Za) { + return N(wa, Ta, "[", function (nb) { + nb = nb.split("|"); + for (var cb = nb.length; cb--; ) { + nb[cb] = q.se(nb[cb]); + } + return nb; + }, [function (nb) { + return t.isArray(nb) && 0 < nb.length; + }, function (nb) { + for (var cb = nb.length; cb--; ) { + if (!t.Fy(nb[cb], Ua, ab)) return !1; } return !0; - }, function (mb) { - return void 0 === Za || mb.length >= Za; + }, function (nb) { + return void 0 === Za || nb.length >= Za; } ]); } - function Q(wa, Sa) { - return R(wa, Sa, "[", function (Ua) { - Ua = u.isArray(Ua) ? Ua : Ua.split("|"); - for (var $a = Ua.length; $a--; ) { + function P(wa, Ta) { + return N(wa, Ta, "[", function (Ua) { + Ua = t.isArray(Ua) ? Ua : Ua.split("|"); + for (var ab = Ua.length; ab--; ) { try { - Ua[$a] = JSON.parse(p.XY(Ua[$a])); + Ua[ab] = JSON.parse(p.WY(Ua[ab])); } catch (Za) { Ua = void 0; break; @@ -19276,407 +19281,408 @@ a000.D9b = function () { } return Ua; }, [function (Ua) { - return u.isArray(Ua) && 0 < Ua.length; + return t.isArray(Ua) && 0 < Ua.length; }, function (Ua) { - for (var $a = Ua.length; $a--; ) { - if (!u.Hc(Ua[$a]) || !u.Sg(Ua[$a])) + for (var ab = Ua.length; ab--; ) { + if (!t.Jc(Ua[ab]) || !t.ih(Ua[ab])) return !1; } return !0; } ]); } - function N(wa, Sa, Ua, $a) { - return R(wa, Sa, "[", function (Za) { - return u.isArray(Za) ? Za : Za.split("|"); + function R(wa, Ta, Ua, ab) { + return N(wa, Ta, "[", function (Za) { + return t.isArray(Za) ? Za : Za.split("|"); }, [function (Za) { - return u.isArray(Za) && 0 < Za.length; + return t.isArray(Za) && 0 < Za.length; }, function (Za) { - for (var mb = Za.length; mb--; ) { - if (Ua ? !Ua.test(Za[mb]) : !u.Dy(Za[mb])) + for (var nb = Za.length; nb--; ) { + if (Ua ? !Ua.test(Za[nb]) : !t.Gy(Za[nb])) return !1; } return !0; }, function (Za) { - return void 0 === $a || Za.length >= $a; + return void 0 === ab || Za.length >= ab; } ]); } - function da(wa, Sa, Ua) { - return R(wa, Sa, "{", function ($a) { + function ea(wa, Ta, Ua) { + return N(wa, Ta, "{", function (ab) { var Za, - db, - Ta; + cb, + Sa; Za = {}; - $a = $a.split(";"); - for (var mb = $a.length; mb--; ) { - db = $a[mb]; - Ta = db.indexOf(":"); - if (0 >= Ta) + ab = ab.split(";"); + for (var nb = ab.length; nb--; ) { + cb = ab[nb]; + Sa = cb.indexOf(":"); + if (0 >= Sa) return; - Za[db.substring(0, Ta)] = db.substring(Ta + 1); + Za[cb.substring(0, Sa)] = cb.substring(Sa + 1); } return Za; - }, [function ($a) { - return u.Sg($a) && 0 < Object.keys($a).length; - }, function ($a) { + }, [function (ab) { + return t.ih(ab) && 0 < Object.keys(ab).length; + }, function (ab) { if (Ua) - for (var Za in $a) { - if (!Ua.test($a[Za])) + for (var Za in ab) { + if (!Ua.test(ab[Za])) return !1; } return !0; } - ], function ($a) { + ], function (ab) { var Za; Za = {}; - r.Qb(Za, Sa); - r.Qb(Za, $a); + q.Tb(Za, Ta); + q.Tb(Za, ab); return Za; }); } - function na(wa) { - var Sa; - Sa = []; - r.de(wa, function (Ua, $a) { + function pa(wa) { + var Ta; + Ta = []; + q.ae(wa, function (Ua, ab) { var Za; try { - Za = "videoapp" === Ua.toLowerCase() ? "[object object]" : JSON.stringify($a); - } catch (mb) { + Za = "videoapp" === Ua.toLowerCase() ? "[object object]" : JSON.stringify(ab); + } catch (nb) { Za = "cantparse"; } - Sa.push(Ua + "=" + Za); + Ta.push(Ua + "=" + Za); }); - return Sa.join("\n"); + return Ta.join("\n"); } va = /^[0-9]+[%]?$/; - ra = /^[0-9]*$/; - za = {}; - V = d.ha.get(g.gm); - T = d.ha.get(x.BP); + ta = /^[0-9]*$/; + Ea = {}; + V = d.ha.get(g.fm); + U = d.ha.get(x.BP); (function (wa) { - function Sa(Ua) { - Ua.split(",").forEach(function ($a) { + function Ta(Ua) { + Ua.split(",").forEach(function (ab) { var Za; - Za = $a.indexOf("="); - 0 < Za && (X[$a.substring(0, Za).toLowerCase()] = $a.substring(Za + 1)); + Za = ab.indexOf("="); + 0 < Za && (Y[ab.substring(0, Za).toLowerCase()] = ab.substring(Za + 1)); }); } - X = {}; - r.Qb(X, wa); + Y = {}; + q.Tb(Y, wa); C && C.length && p.forEach.call(C, function (Ua) { - u.ze(Ua) ? Sa(Ua) : u.Sg(Ua) && r.Qb(X, Ua, { - NL: !0 + t.Be(Ua) ? Ta(Ua) : t.ih(Ua) && q.Tb(Y, Ua, { + PL: !0 }); }); - ta = r.Qb({}, l.m3(), { - NL: !0 + ra = q.Tb({}, l.n3(), { + PL: !0 }); if (wa = l.$0a().cadmiumconfig) - (d.log.info("Config cookie loaded", wa), Sa(wa)); - if (d.ha.get(B.Kk).y0 || X.istestaccount) - (r.Qb(X, ta), za = ta); + (d.log.info("Config cookie loaded", wa), Ta(wa)); + if (d.ha.get(A.Kk).A0 || Y.istestaccount) + (q.Tb(Y, ra), Ea = ra); })(E); b.config = {}; - ja = { - Evb: D(L, G("enableXHEAAC"), !1), - MQa: D(L, G("enableDDPlus20"), !0), - LQa: D(L, G("enableDDPlus"), !0), - FS: D(L, G("enableDDPlusAtmos"), !1), - nvb: D(L, G("enableLSSDH"), !0), - hvb: D(L, G("enableHEVC"), !1), - u_a: D(L, G("overrideEnableHEVC"), !1), - Yha: D(L, G("enableHDR"), !1), - t_a: D(L, G("overrideEnableHDR"), !1), - s_a: D(L, G("overrideEnableDV"), !1), - yK: D(L, G("enableAVCHigh"), T.yK), - rC: D(L, G("overrideEnableAVCHigh"), T.rC), - Cvb: D(L, G("enableVP9"), !1), - v_a: D(L, G("overrideEnableVP9"), !1), - bvb: D(L, G("enableAV1"), !1), - r_a: D(L, G("overrideEnableAV1"), !1), - tvb: D(L, G("enablePRK"), !1), - fvb: D(L, G("enableDV"), !1), - ivb: D(L, G("enableHWDRM"), !1), - lvb: D(L, G("enableImageSubs"), !0), - hXb: D(L, G("useLegacySubs"), !1), - YA: D(N, G("audioProfiles"), T.YA), - f4b: D(L, G("disableHD"), !1), - Bvb: D(L, G("enableUHD"), !0), - K8: D(H, "videoCapabilityDetectorType", m.Bi.Zt), - Yea: D(H, "audioCapabilityDetectorType", m.Wt.Zt), - hw: D(N, G("videoProfiles"), T.hw), - zjb: D(N, G("timedTextProfiles"), T.$v), - $v: function () { - return ja.zjb().filter(function (wa) { - return wa === n.Or.P9 ? ja.nvb() : wa === n.Or.iI ? ja.lvb() : !0; + ma = { + Kvb: D(I, F("enableXHEAAC"), !1), + KQa: D(I, F("enableDDPlus20"), !0), + JQa: D(I, F("enableDDPlus"), !0), + ES: D(I, F("enableDDPlusAtmos"), !1), + rvb: D(I, F("enableLSSDH"), !0), + lvb: D(I, F("enableHEVC"), !1), + s_a: D(I, F("overrideEnableHEVC"), !1), + Sha: D(I, F("enableHDR"), !1), + r_a: D(I, F("overrideEnableHDR"), !1), + q_a: D(I, F("overrideEnableDV"), !1), + CK: D(I, F("enableAVCHigh"), U.CK), + tC: D(I, F("overrideEnableAVCHigh"), U.tC), + Ivb: D(I, F("enableVP9"), !1), + t_a: D(I, F("overrideEnableVP9"), !1), + fvb: D(I, F("enableAV1"), !1), + p_a: D(I, F("overrideEnableAV1"), !1), + ILb: D(I, F("overrideEnableXHEAAC"), !1), + xvb: D(I, F("enablePRK"), !1), + jvb: D(I, F("enableDV"), !1), + mvb: D(I, F("enableHWDRM"), !1), + pvb: D(I, F("enableImageSubs"), !0), + jXb: D(I, F("useLegacySubs"), !1), + $A: D(R, F("audioProfiles"), U.$A), + i4b: D(I, F("disableHD"), !1), + Fvb: D(I, F("enableUHD"), !0), + F8: D(H, "videoCapabilityDetectorType", m.Bi.du), + Rea: D(H, "audioCapabilityDetectorType", m.au.du), + lw: D(R, F("videoProfiles"), U.lw), + Ajb: D(R, F("timedTextProfiles"), U.ew), + ew: function () { + return ma.Ajb().filter(function (wa) { + return wa === n.Rr.K9 ? ma.rvb() : wa === n.Rr.qI ? ma.pvb() : !0; }); }, - endpoint: D(L, G("endpoint"), !1), - version: D(O, "version", "unknown"), - d3a: D(L, G("setMediaKeysEarly"), !1), - G6b: D(L, G("nrdpPersistCookiesToIndexDB"), !1), - n6a: D(L, G("useHdcpLevelOnCast"), !1), - jvb: D(L, G("enableHdcp"), !1), - Iv: D(L, G("prepareCadmium"), !1), - Yjb: D(L, G("acceptManifestOnPrepareItemParams"), !0), - hNb: D(P, "ppmconfig", { + endpoint: D(I, F("endpoint"), !1), + version: D(Q, "version", "unknown"), + d3a: D(I, F("setMediaKeysEarly"), !1), + Q6b: D(I, F("nrdpPersistCookiesToIndexDB"), !1), + p6a: D(I, F("useHdcpLevelOnCast"), !1), + nvb: D(I, F("enableHdcp"), !1), + Ov: D(I, F("prepareCadmium"), !1), + Yjb: D(I, F("acceptManifestOnPrepareItemParams"), !0), + lNb: D(O, "ppmconfig", { maxNumberTitlesScheduled: 1 }), - SMb: D(L, G("playerPredictionModelV2"), !0), - HS: D(L, G("enableLdlPrefetch"), !1), - e2: D(L, G("enableGetHeadersAndMediaPrefetch"), !1), - xtb: D(L, G("deleteCachedManifestOnPlayback"), !1), - wtb: D(L, G("deleteCachedManifestOnCreate"), !1), - Btb: D(L, G("deleteOtherManifestCacheOnCreate"), !1), - Atb: D(L, G("deleteOtherLdlCacheOnCreate"), !1), - V6b: D(H, G("periodicPrepareLogsIntervalMilliseconds"), 36E5), - ENb: D(H, G("prepareManifestCacheMaxCount"), 50), - CNb: D(H, G("prepareLdlCacheMaxCount"), 30), - y0a: D(H, G("prepareManifestExpiryMilliseconds"), 12E5), - DNb: D(H, G("prepareLdlExpiryMilliseconds"), 78E4), - wNb: D(H, G("prefetcherMaxWishlistSize"), 1), - vNb: D(H, G("prefetcherBudgetInBytes"), Infinity), - xNb: D(L, G("prefetcherOverrideItemPriority"), !0), - zNb: D(L, G("prefetcherRemoveItemOnManifestExpiration"), !0), - oNb: D(L, G("preferManifestFromPrefetcher"), !1), - BNb: D(O, G("prepareInsertStrategyPersistentTasks"), "append", /^(prepend|append|ignore)$/), - i8b: D(P, "videoApp"), - MC: D(P, "storageRules"), - Oxb: D(L, "ftlEnabled", !0), - sla: D(H, G("imageSubsResolution"), 0), - xDb: D(H, G("imageSubsMaxBuffer"), T.SHb.ea(y.Xt), 0), - OR: D(L, G("captureBatteryStatus"), !1), - yyb: D(H, G("getBatteryApiTimeoutMilliseconds"), 5E3), - Xe: D(O, G("keySystemId"), T.Xe), - VWa: D(N, G("keySystemList"), void 0, void 0), - IIb: D(H, G("hdcpGlobalTimeout1"), 1E4), - JIb: D(H, G("hdcpGlobalTimeout2"), 1E4), - k6b: D(H, G("hdcpQueryTimeout1"), 1E3), - l6b: D(H, G("hdcpQueryTimeout2"), 1E3), - KYa: D(H, G("hdcpQueryTimeout2"), 100), - KIb: D(L, G("microsoftHwdrmRequiresHevc"), !1), - EIb: D(L, G("microsoftAvcHighRequiresSwdrm"), !1), - FIb: D(L, G("microsoftEnableDeviceInfo"), !1), - GIb: D(L, G("microsoftEnableHardwareInfo"), !1), - HIb: D(L, G("microsoftEnableHardwareReset"), !1), - eXb: D(L, G("useHevcCodecForDolbyVision"), !1), - qvb: D(L, G("enableMediaCapabilities"), !1), - gNb: D(L, G("powerEfficientForVideo"), !1), - $Gb: D(L, "logMediaPipelineStatus", !1), - XV: D(L, G("renderDomDiagnostics"), !0), - AXa: function () { + VMb: D(I, F("playerPredictionModelV2"), !0), + GS: D(I, F("enableLdlPrefetch"), !1), + RQa: D(I, F("enableMediaPrefetch"), !1), + Atb: D(I, F("deleteCachedManifestOnPlayback"), !1), + ztb: D(I, F("deleteCachedManifestOnCreate"), !1), + Etb: D(I, F("deleteOtherManifestCacheOnCreate"), !1), + Dtb: D(I, F("deleteOtherLdlCacheOnCreate"), !1), + g7b: D(H, F("periodicPrepareLogsIntervalMilliseconds"), 36E5), + JNb: D(H, F("prepareManifestCacheMaxCount"), 50), + HNb: D(H, F("prepareLdlCacheMaxCount"), 30), + y0a: D(H, F("prepareManifestExpiryMilliseconds"), 12E5), + INb: D(H, F("prepareLdlExpiryMilliseconds"), 78E4), + ANb: D(H, F("prefetcherMaxWishlistSize"), 1), + zNb: D(H, F("prefetcherBudgetInBytes"), Infinity), + BNb: D(I, F("prefetcherOverrideItemPriority"), !0), + DNb: D(I, F("prefetcherRemoveItemOnManifestExpiration"), !0), + sNb: D(I, F("preferManifestFromPrefetcher"), !1), + GNb: D(Q, F("prepareInsertStrategyPersistentTasks"), "append", /^(prepend|append|ignore)$/), + B8b: D(O, "videoApp"), + NC: D(O, "storageRules"), + Uxb: D(I, "ftlEnabled", !0), + nla: D(H, F("imageSubsResolution"), 0), + BDb: D(H, F("imageSubsMaxBuffer"), U.VHb.ea(y.bu), 0), + PR: D(I, F("captureBatteryStatus"), !1), + Dyb: D(H, F("getBatteryApiTimeoutMilliseconds"), 5E3), + Ol: D(Q, F("keySystemId"), U.Ol), + TWa: D(R, F("keySystemList"), void 0, void 0), + KIb: D(H, F("hdcpGlobalTimeout1"), 1E4), + LIb: D(H, F("hdcpGlobalTimeout2"), 1E4), + v6b: D(H, F("hdcpQueryTimeout1"), 1E3), + w6b: D(H, F("hdcpQueryTimeout2"), 1E3), + HYa: D(H, F("hdcpQueryTimeout2"), 100), + MIb: D(I, F("microsoftHwdrmRequiresHevc"), !1), + GIb: D(I, F("microsoftAvcHighRequiresSwdrm"), !1), + HIb: D(I, F("microsoftEnableDeviceInfo"), !1), + IIb: D(I, F("microsoftEnableHardwareInfo"), !1), + JIb: D(I, F("microsoftEnableHardwareReset"), !1), + gXb: D(I, F("useHevcCodecForDolbyVision"), !1), + uvb: D(I, F("enableMediaCapabilities"), !1), + kNb: D(I, F("powerEfficientForVideo"), !1), + bHb: D(I, "logMediaPipelineStatus", !1), + WV: D(I, F("renderDomDiagnostics"), !0), + yXa: function () { return -1; }, - ML: D(J, G("logDisplayMaxEntryCount"), T.ML, -1), - fHb: D(J, G("logToConsoleLevel"), -1), - A3b: D(J, G("bladerunnerCmdHistorySize"), 10), - Zu: function () { - return V.Zu; + OL: D(K, F("logDisplayMaxEntryCount"), U.OL, -1), + hHb: D(K, F("logToConsoleLevel"), -1), + D3b: D(K, F("bladerunnerCmdHistorySize"), 10), + dv: function () { + return V.dv; }, - VWb: D(L, "upgradeNetflixId", !0), - Wma: D(L, "logErrorIfEsnNotProvided", !0), - gia: D(L, "enforceSinglePlayback", T.gia), - g2: D(L, "enforceSingleSession", T.g2), - nga: D(L, "closeOtherPlaybacks", !0), + XWb: D(I, "upgradeNetflixId", !0), + Qma: D(I, "logErrorIfEsnNotProvided", !0), + $ha: D(I, "enforceSinglePlayback", U.$ha), + h2: D(I, "enforceSingleSession", U.h2), + hga: D(I, "closeOtherPlaybacks", !0), Ilb: D(H, "asyncLoadTimeout", 15E3, 1), - nHb: D(H, "mainThreadMonitorPollRate", 0), - F6b: D(L, "nrdpAlwaysShowUIOverlay", !1), - H6b: D(L, "nrdpValidateSSOTokens", !0), - A7b: D(L, "showNrdpDebugBadging", !1), - N8: function () { - return V.N8; + qHb: D(H, "mainThreadMonitorPollRate", 0), + P6b: D(I, "nrdpAlwaysShowUIOverlay", !1), + R6b: D(I, "nrdpValidateSSOTokens", !0), + O7b: D(I, "showNrdpDebugBadging", !1), + I8: function () { + return V.I8; }, - HB: function () { - return V.HB; + uy: function () { + return V.uy; }, - YJ: function () { - return V.YJ; + bK: function () { + return V.bK; }, - uH: function () { - return V.uH; + CH: function () { + return V.CH; }, - B6a: D(H, G("verbosePlaybackInfoDenominator"), 0), - W6: D(L, "renderTimedText", !0), - iNb: D(L, "preBufferTimedText", !0), - wwb: D(L, "fatalOnTimedTextLoadError", !0), - cta: D(da, "timedTextStyleDefaults", {}), - h8: D(da, "timedTextStyleOverrides", {}), - bta: D(da, "timedTextFontFamilyMapping", T.bta || ({ + E6a: D(H, F("verbosePlaybackInfoDenominator"), 0), + T6: D(I, "renderTimedText", !0), + mNb: D(I, "preBufferTimedText", !0), + Cwb: D(I, "fatalOnTimedTextLoadError", !0), + Ysa: D(ea, "timedTextStyleDefaults", {}), + d8: D(ea, "timedTextStyleOverrides", {}), + Xsa: D(ea, "timedTextFontFamilyMapping", U.Xsa || ({ "default": "font-family:Arial,Helvetica;font-weight:bolder" })), - MN: D(H, "timedTextSimpleFallbackThreshold", T.MN.ea(y.Xt)), - cha: D(O, G("customDfxpUrl")), - Avb: D(L, G("enableSubtitleTrackerLogging"), !1), - ARb: D(L, G("sendSubtitleQoeLogblobOnMidplay"), !1), - Pfa: D(K, "cdnIdWhiteList", []), - Ofa: D(K, "cdnIdBlackList", []), - $ia: D(O, G("forceAudioTrack")), - uJb: D(L, "muteVolumeOnPlaybackClose", !0), - I6b: D(O, "nrdpVolumeControlType", "VOLUME_STREAM"), - dja: D(O, G("forceTimedTextTrack")), - ZHb: D(H, G("maxRetriesTimedTextDownload"), 0), - fVb: D(H, G("timedTextRetryInterval"), 8E3), - STb: D(O, "storageType", "idb", /^(none|fs|idb|ls)$/), - wXa: D(H, "lockExpiration", 1E4), - YGb: D(H, "lockRefresh", 3E3), - Unb: D(L, "captureUnhandledExceptions", !0), - wDb: D(L, "ignoreUnhandledExceptionDuringPlayback", !0), - iWb: D(L, "unhandledExceptionsArePlaybackErrors", !1), - I5a: D(O, "unhandledExceptionSource", ""), - PNb: D(L, "preserveLastFrame", !1), - UIb: D(H, "minBufferingTimeInMilliseconds", 4E3), - kOb: D(H, "progressBackwardsGraceTimeMilliseconds", 4E3), - lOb: D(H, "progressBackwardsMinPercent", 10), - Lmb: D(O, G("bookmarkIgnoreBeginning"), "0", va), - Mmb: D(O, G("bookmarkIgnoreEnd"), "5%", va), - Nmb: D(O, G("bookmarkIgnoreEndForBranching"), "60000", va), - QL: D(H, "maxParallelConnections", 3), - Sqa: D(L, "reportThroughputInLogblobs", !0), - XL: D(H, "minAudioMediaRequestDuration", 16E3), - SIb: D(H, "minAudioMediaRequestDurationBranching", 0), - aM: D(H, "minVideoMediaRequestDuration", 4E3), - XIb: D(H, "minVideoMediaRequestDurationAL1", 0), - YIb: D(H, "minVideoMediaRequestDurationBranching", 0), + NN: D(H, "timedTextSimpleFallbackThreshold", U.NN.ea(y.bu)), + Xga: D(Q, F("customDfxpUrl")), + Evb: D(I, F("enableSubtitleTrackerLogging"), !1), + DRb: D(I, F("sendSubtitleQoeLogblobOnMidplay"), !1), + Ifa: D(M, "cdnIdWhiteList", []), + Hfa: D(M, "cdnIdBlackList", []), + Tia: D(Q, F("forceAudioTrack")), + wJb: D(I, "muteVolumeOnPlaybackClose", !0), + S6b: D(Q, "nrdpVolumeControlType", "VOLUME_STREAM"), + Xia: D(Q, F("forceTimedTextTrack")), + bIb: D(H, F("maxRetriesTimedTextDownload"), 0), + hVb: D(H, F("timedTextRetryInterval"), 8E3), + UTb: D(Q, "storageType", "idb", /^(none|fs|idb|ls)$/), + uXa: D(H, "lockExpiration", 1E4), + $Gb: D(H, "lockRefresh", 3E3), + Vnb: D(I, "captureUnhandledExceptions", !0), + ADb: D(I, "ignoreUnhandledExceptionDuringPlayback", !0), + kWb: D(I, "unhandledExceptionsArePlaybackErrors", !1), + K5a: D(Q, "unhandledExceptionSource", ""), + UNb: D(I, "preserveLastFrame", !1), + WIb: D(H, "minBufferingTimeInMilliseconds", 4E3), + pOb: D(H, "progressBackwardsGraceTimeMilliseconds", 4E3), + qOb: D(H, "progressBackwardsMinPercent", 10), + Mmb: D(Q, F("bookmarkIgnoreBeginning"), "0", va), + Nmb: D(Q, F("bookmarkIgnoreEnd"), "5%", va), + Omb: D(Q, F("bookmarkIgnoreEndForBranching"), "60000", va), + SL: D(H, "maxParallelConnections", 3), + Nqa: D(I, "reportThroughputInLogblobs", !0), + ZL: D(H, "minAudioMediaRequestDuration", 16E3), + UIb: D(H, "minAudioMediaRequestDurationBranching", 0), + cM: D(H, "minVideoMediaRequestDuration", 4E3), + ZIb: D(H, "minVideoMediaRequestDurationAL1", 0), + $Ib: D(H, "minVideoMediaRequestDurationBranching", 0), s5: D(H, "minAudioMediaRequestSizeBytes", 0), z5: D(H, "minVideoMediaRequestSizeBytes", 0), - Jub: D(L, "droppedFrameRateFilterEnabled", !1), - Kub: D(H, "droppedFrameRateFilterMaxObservation", 60, 10, 1E3), - Mub: D(function (wa, Sa, Ua, $a, Za, mb) { - return R(wa, Sa, "[", function (db) { - db = db.split(";"); - for (var Ta = db.length; Ta--; ) { - db[Ta] = db[Ta].split("|"); - for (var Ca = db[Ta].length; Ca--; ) { - db[Ta][Ca] = r.pe(db[Ta][Ca]); - } - } - return db; - }, [function (db) { - return u.isArray(db) && 0 < db.length; - }, function (db) { - for (var Ta = db.length; Ta-- && void 0 !== db; ) { - if (!u.isArray(db[Ta])) + Nub: D(I, "droppedFrameRateFilterEnabled", !1), + Oub: D(H, "droppedFrameRateFilterMaxObservation", 60, 10, 1E3), + Qub: D(function (wa, Ta, Ua, ab, Za, nb) { + return N(wa, Ta, "[", function (cb) { + cb = cb.split(";"); + for (var Sa = cb.length; Sa--; ) { + cb[Sa] = cb[Sa].split("|"); + for (var Ba = cb[Sa].length; Ba--; ) { + cb[Sa][Ba] = q.se(cb[Sa][Ba]); + } + } + return cb; + }, [function (cb) { + return t.isArray(cb) && 0 < cb.length; + }, function (cb) { + for (var Sa = cb.length; Sa-- && void 0 !== cb; ) { + if (!t.isArray(cb[Sa])) return !1; - for (var Ca = db[Ta].length; Ca--; ) { - if (!u.Cy(db[Ta][Ca], Ua, $a)) + for (var Ba = cb[Sa].length; Ba--; ) { + if (!t.Fy(cb[Sa][Ba], Ua, ab)) return !1; } } return !0; - }, function (db) { + }, function (cb) { if (void 0 !== Za) - for (var Ta = db.length; Ta--; ) { - if (Za !== db[Ta].length) + for (var Sa = cb.length; Sa--; ) { + if (Za !== cb[Sa].length) return !1; } return !0; - }, function (db) { - return void 0 === mb || db.length >= mb; + }, function (cb) { + return void 0 === nb || cb.length >= nb; } ]); }, "droppedFrameRateFilterPolicy", [[3, 15], [6, 9], [9, 2], [15, 1]], void 0, void 0, 2, 0), - p4b: D(L, "droppedFrameRateFilterWithoutRebufferEnabled", !0), - Lub: D(H, "droppedFrameRateFilterMinHeight", 384), - Nub: D(K, "droppedFramesPercentilesList", []), - LIb: D(L, "microsoftScreenSizeFilterEnabled", !1), - HFb: D(L, "keyStatusFilterEnabled", !1), + u4b: D(I, "droppedFrameRateFilterWithoutRebufferEnabled", !0), + Pub: D(H, "droppedFrameRateFilterMinHeight", 384), + Rub: D(M, "droppedFramesPercentilesList", []), + NIb: D(I, "microsoftScreenSizeFilterEnabled", !1), + KFb: D(I, "keyStatusFilterEnabled", !1), eVa: D(H, "hdcpEngagementWaitTime", 0), - fWb: D(L, "uiLabelFilterEnabled", !0), - eWb: D(P, "uiLabelFilter", {}), - stb: D(H, G("defaultVolume"), 100, 0, 100), - Cna: D(H, G("maxPlaybackRate"), 2, 0, 16), - cQa: D(L, "disableVideoRightClickMenu", !1), - u5: D(H, "minDecoderBufferMilliseconds", 1E3, 0, k.fA), - oG: D(H, "optimalDecoderBufferMilliseconds", 5E3, 0, k.fA), - i_a: D(H, "optimalDecoderBufferMillisecondsBranching", 3E3, 0, k.fA), - jC: D(H, "minimumTimeBeforeBranchDecision", 3E3, 0, k.fA), - My: D(H, "maxDecoderBufferMilliseconds", T.My.ea(z.ma), 0, k.fA), - IPa: D(H, "decoderTimeoutMilliseconds", 1E4, 1), - uZa: D(H, "noRenderTimeoutMilliseconds", 0), - eub: D(L, "disgardMediaOnAppend", !1), - llb: D(L, "appendMediaBeforeInit", !1), - eMb: D(H, "pauseTimeoutLimitMilliseconds", 18E5), - ula: D(H, "inactivityMonitorInterval", 3E4, 0), - Xjb: D(K, "abrdelLogPointsSeconds", [15, 30, 60, 120], 0, void 0, 4), - BK: D(L, "enableTrickPlay", !1), - Okb: D(K, "additionalDownloadSimulationParams", [2E3, 2E3, 100], 0, void 0, 3), - PVb: D(H, "trickPlayHighResolutionBitrateThreshold", 1E3), - QVb: D(H, "trickPlayHighResolutionThresholdMilliseconds", 1E4), - TVb: D(M, "trickplayBufferFactor", .5), - OVb: D(H, "trickPlayDownloadRetryCount", 1), - vna: D(O, "marginPredictor", "simple", /^(simple|scale|iqr|percentile)$/), - moa: D(O, "networkMeasurementGranularity", "video_location", /^(location|video_location)$/), - nza: D(P, "HistoricalTDigestConfig", { + hWb: D(I, "uiLabelFilterEnabled", !0), + gWb: D(O, "uiLabelFilter", {}), + vtb: D(H, F("defaultVolume"), 100, 0, 100), + xna: D(H, F("maxPlaybackRate"), 2, 0, 16), + aQa: D(I, "disableVideoRightClickMenu", !1), + u5: D(H, "minDecoderBufferMilliseconds", 1E3, 0, k.gA), + uG: D(H, "optimalDecoderBufferMilliseconds", 5E3, 0, k.gA), + g_a: D(H, "optimalDecoderBufferMillisecondsBranching", 3E3, 0, k.gA), + lC: D(H, "minimumTimeBeforeBranchDecision", 3E3, 0, k.gA), + Py: D(H, "maxDecoderBufferMilliseconds", U.Py.ea(z.ma), 0, k.gA), + HPa: D(H, "decoderTimeoutMilliseconds", 1E4, 1), + rZa: D(H, "noRenderTimeoutMilliseconds", 0), + iub: D(I, "disgardMediaOnAppend", !1), + nlb: D(I, "appendMediaBeforeInit", !1), + gMb: D(H, "pauseTimeoutLimitMilliseconds", 18E5), + pla: D(H, "inactivityMonitorInterval", 3E4, 0), + Xjb: D(M, "abrdelLogPointsSeconds", [15, 30, 60, 120], 0, void 0, 4), + FK: D(I, "enableTrickPlay", !1), + Pkb: D(M, "additionalDownloadSimulationParams", [2E3, 2E3, 100], 0, void 0, 3), + RVb: D(H, "trickPlayHighResolutionBitrateThreshold", 1E3), + SVb: D(H, "trickPlayHighResolutionThresholdMilliseconds", 1E4), + VVb: D(L, "trickplayBufferFactor", .5), + QVb: D(H, "trickPlayDownloadRetryCount", 1), + pna: D(Q, "marginPredictor", "simple", /^(simple|scale|iqr|percentile)$/), + hoa: D(Q, "networkMeasurementGranularity", "video_location", /^(location|video_location)$/), + lza: D(O, "HistoricalTDigestConfig", { maxc: 25, rc: "ewma", c: .5, hl: 7200 }), - oYa: D(J, "maxIQRSamples", Infinity), - RYa: D(J, "minIQRSamples", 5), - s6a: D(L, "useResourceTimingAPI", !1), - uDb: D(L, "ignoreFirstByte", !0), - qIb: D(L, "mediaRequestAsyncLoadStart", !0), - qXb: D(L, "useXHROnLoadStart", !1), - zia: D(K, "failedDownloadRetryWaitsASE", [10, 200, 500, 1E3, 2E3, 4E3]), - s1: D(H, "connectTimeoutMilliseconds", 8E3, 500), - roa: D(H, "noProgressTimeoutMilliseconds", 8E3, 500), - jXb: D(L, "useOnLineApi", !1), - b5a: D(H, "timedTextDownloadRetryCountBeforeCdnSwitch", 3), - x6b: D(H, "netflixRequestExpiryTimeout", 0), - iYb: D(L, "webkitDecodedFrameCountIncorrectlyReported", !1), - dRb: D(H, "seekBackOnAudioTrackChangeMilliseconds", 8E3), - cMb: D(L, "pausePlaybackOnAudioSwitch", !0), - Qsa: D(N, G("supportedAudioTrackTypes"), [], void 0, 1), - RVa: D(H, "initialLogFlushTimeout", 5E3), - k0a: D(O, "playdataPersistKey", V.Zu ? "unsentplaydatatest" : "unsentplaydata"), - Lra: D(L, "sendPersistedPlaydata", !0), - PMb: D(H, "playdataPersistIntervalMilliseconds", 4E3), - W6b: D(H, "playdataSendDelayMilliseconds", 1E4), - u7: D(L, "sendPlaydataBackupOnInit", !0), - cHb: D(N, "logPerformanceTiming", ("navigationStart redirectStart fetchStart secureConnectionStart requestStart domLoading").split(" ")), - NIb: D(L, "midplayEnabled", !0), - LYa: D(H, "midplayIntervalMilliseconds", 3E5), - OIb: D(K, "midplayKeyPoints", [15E3, 3E4, 6E4, 12E4]), - vS: D(H, "downloadReportDenominator", 0), - xub: D(H, "downloadReportInterval", 3E5), - zXa: D(H, "logConfigApplyDenominator", 0), - $Ma: D(da, G("bookmarkByMovieId"), {}), - ZS: D(L, G("forceLimitedDurationLicense"), !1), - $B: D(H, G("licenseRenewalRequestDelay"), 0), - rpa: D(H, G("persistedReleaseDelay"), 1E4), - D5b: D(L, G("limitedDurationFlagOverride"), void 0), - r2a: D(H, "safariPlayPauseWorkaroundDelay", 100), - sYb: D(H, "workaroundValueForSeekIssue", 1200), - Lfa: D(L, G("callEndOfStream"), T.Lfa), - qMb: D(L, "performRewindCheck", !0), - ywb: D(L, "fatalOnUnexpectedSeeking", !0), - xwb: D(L, "fatalOnUnexpectedSeeked", !0), - vSb: D(L, G("setVideoElementSize")), - Rob: D(L, G("clearVideoSrc"), !0), - SPa: D(H, G("delayPlayPause"), 0), - Cr: D(L, G("useTypescriptEme"), !1), - m6a: D(L, G("useEncryptedEvent"), !0), - yS: D(O, G("drmPersistKey"), "unsentDrmData"), - L0a: D(L, G("promiseBasedEme"), !1), - Tnb: D(L, "captureKeyStatusData", !1), - U3: D(L, "includeCapabilitiesInRequestMediaKeySystemAccess", !0), - gKb: D(L, G("nudgeSourceBuffer"), !1), - Bra: D(J, G("seekDelta"), 1), - AV: D(L, G("preciseSeeking"), !1), - kNb: D(L, G("preciseSeekingOnTwoCoreDevice"), !1), - RPa: D(da, G("delayErrorHandling")), - q5a: D(L, "trackingLogEnabled", !1), - r5a: D(function (wa, Sa) { + lYa: D(K, "maxIQRSamples", Infinity), + OYa: D(K, "minIQRSamples", 5), + v6a: D(I, "useResourceTimingAPI", !1), + yDb: D(I, "ignoreFirstByte", !0), + sIb: D(I, "mediaRequestAsyncLoadStart", !0), + sXb: D(I, "useXHROnLoadStart", !1), + ria: D(M, "failedDownloadRetryWaitsASE", [10, 200, 500, 1E3, 2E3, 4E3]), + t1: D(H, "connectTimeoutMilliseconds", 8E3, 500), + moa: D(H, "noProgressTimeoutMilliseconds", 8E3, 500), + lXb: D(I, "useOnLineApi", !1), + d5a: D(H, "timedTextDownloadRetryCountBeforeCdnSwitch", 3), + H6b: D(H, "netflixRequestExpiryTimeout", 0), + kYb: D(I, "webkitDecodedFrameCountIncorrectlyReported", !1), + iRb: D(H, "seekBackOnAudioTrackChangeMilliseconds", 8E3), + eMb: D(I, "pausePlaybackOnAudioSwitch", !0), + Lsa: D(R, F("supportedAudioTrackTypes"), [], void 0, 1), + PVa: D(H, "initialLogFlushTimeout", 5E3), + i0a: D(Q, "playdataPersistKey", V.dv ? "unsentplaydatatest" : "unsentplaydata"), + Era: D(I, "sendPersistedPlaydata", !0), + SMb: D(H, "playdataPersistIntervalMilliseconds", 4E3), + h7b: D(H, "playdataSendDelayMilliseconds", 1E4), + q7: D(I, "sendPlaydataBackupOnInit", !0), + eHb: D(R, "logPerformanceTiming", ("navigationStart redirectStart fetchStart secureConnectionStart requestStart domLoading").split(" ")), + PIb: D(I, "midplayEnabled", !0), + IYa: D(H, "midplayIntervalMilliseconds", 3E5), + QIb: D(M, "midplayKeyPoints", [15E3, 3E4, 6E4, 12E4]), + uS: D(H, "downloadReportDenominator", 0), + Bub: D(H, "downloadReportInterval", 3E5), + xXa: D(H, "logConfigApplyDenominator", 0), + $Ma: D(ea, F("bookmarkByMovieId"), {}), + YS: D(I, F("forceLimitedDurationLicense"), !1), + bC: D(H, F("licenseRenewalRequestDelay"), 0), + mpa: D(H, F("persistedReleaseDelay"), 1E4), + N5b: D(I, F("limitedDurationFlagOverride"), void 0), + q2a: D(H, "safariPlayPauseWorkaroundDelay", 100), + uYb: D(H, "workaroundValueForSeekIssue", 1200), + Efa: D(I, F("callEndOfStream"), U.Efa), + tMb: D(I, "performRewindCheck", !0), + Ewb: D(I, "fatalOnUnexpectedSeeking", !0), + Dwb: D(I, "fatalOnUnexpectedSeeked", !0), + zSb: D(I, F("setVideoElementSize")), + Sob: D(I, F("clearVideoSrc"), !0), + QPa: D(H, F("delayPlayPause"), 0), + Fr: D(I, F("useTypescriptEme"), !1), + o6a: D(I, F("useEncryptedEvent"), !0), + xS: D(Q, F("drmPersistKey"), "unsentDrmData"), + L0a: D(I, F("promiseBasedEme"), !1), + Unb: D(I, "captureKeyStatusData", !1), + V3: D(I, "includeCapabilitiesInRequestMediaKeySystemAccess", !0), + iKb: D(I, F("nudgeSourceBuffer"), !1), + ura: D(K, F("seekDelta"), 1), + zV: D(I, F("preciseSeeking"), !1), + pNb: D(I, F("preciseSeekingOnTwoCoreDevice"), !1), + PPa: D(ea, F("delayErrorHandling")), + s5a: D(I, "trackingLogEnabled", !1), + t5a: D(function (wa, Ta) { var Ua; - Ua = da(wa, Sa, void 0); - Ua && Object.entries(Ua).forEach(function ($a) { + Ua = ea(wa, Ta, void 0); + Ua && Object.entries(Ua).forEach(function (ab) { var Za; - Za = aa($a); - $a = Za.next().value; + Za = aa(ab); + ab = Za.next().value; Za = Za.next().value; - "true" === Za ? Ua[$a] = !0 : "false" === Za && (Ua[$a] = !1); + "true" === Za ? Ua[ab] = !0 : "false" === Za && (Ua[ab] = !1); }); return Ua; }, "trackingLogEvents", { @@ -19685,82 +19691,82 @@ a000.D9b = function () { playback: !1, regpair: !1 }), - lta: D(O, "trackingLogPath", "/customerevents/track/debug"), - GVb: D(K, "trackingLogStallKeyPoints", [1E4, 3E4, 6E4, 12E4]), - gi: D(O, "esn", ""), - BRa: D(O, "fesn", ""), - vvb: D(L, G("enablePerformanceLogging"), !1), - PQa: D(L, G("enableEmeVerboseLogging"), !1), - ovb: D(L, "enableLastChunkLogging", !1), - appId: D(O, "appId", "", ra), - sessionId: D(O, "sessionId", "", ra), - Rfa: D(O, "cdnProxyUrl"), - nXb: D(L, "usePlayReadyHeaderObject", !1), - bSa: D(H, "forceXhrErrorResponseCode", void 0), - Mq: { - v6b: D(O, "mslApiPath", "/msl/"), - b7b: D(O, "proxyPath", ""), - Ez: D(O, "uiVersion"), - w8: D(O, "uiPlatform"), - K3b: function () { + gta: D(Q, "trackingLogPath", "/customerevents/track/debug"), + IVb: D(M, "trackingLogStallKeyPoints", [1E4, 3E4, 6E4, 12E4]), + gi: D(Q, "esn", ""), + ARa: D(Q, "fesn", ""), + zvb: D(I, F("enablePerformanceLogging"), !1), + NQa: D(I, F("enableEmeVerboseLogging"), !1), + svb: D(I, "enableLastChunkLogging", !1), + appId: D(Q, "appId", "", ta), + sessionId: D(Q, "sessionId", "", ta), + Kfa: D(Q, "cdnProxyUrl"), + pXb: D(I, "usePlayReadyHeaderObject", !1), + aSa: D(H, "forceXhrErrorResponseCode", void 0), + Nq: { + F6b: D(Q, "mslApiPath", "/msl/"), + m7b: D(Q, "proxyPath", ""), + Hz: D(Q, "uiVersion"), + s8: D(Q, "uiPlatform"), + N3b: function () { return "0"; }, - Rpa: D(N, "preferredLanguages", k.Owa, /^[a-zA-Z-]{2,5}$/, 1), - rxb: D(O, G("forceDebugLogLevel"), void 0, /^(ERROR|WARN|INFO|TRACE)$/), - xUb: D(L, "supportPreviewContentPin", !0), - yUb: D(L, "supportWatermarking", !0), - aTb: D(L, "showAllSubDubTracks", !1), - B4b: D(L, G("failOnGuidMismatch"), !1) + Lpa: D(R, "preferredLanguages", k.Lwa, /^[a-zA-Z-]{2,5}$/, 1), + wxb: D(Q, F("forceDebugLogLevel"), void 0, /^(ERROR|WARN|INFO|TRACE)$/), + zUb: D(I, "supportPreviewContentPin", !0), + AUb: D(I, "supportWatermarking", !0), + dTb: D(I, "showAllSubDubTracks", !1), + I4b: D(I, F("failOnGuidMismatch"), !1) }, - N6: { - enabled: D(L, "qcEnabled", !1), - Ep: D(O, "qcPackageId", "") + K6: { + enabled: D(I, "qcEnabled", !1), + Gp: D(Q, "qcPackageId", "") }, - St: D(L, "useRangeHeader", !1), - IS: D(L, "enableMilestoneEventList", !0), - RJ: D(O, "authenticationType", V.Zu ? T.MMa : T.RJ), - LMa: D(da, "authenticationKeyNames", r.Qb({ + Yt: D(I, "useRangeHeader", !1), + HS: D(I, "enableMilestoneEventList", !0), + UJ: D(Q, "authenticationType", V.dv ? U.NMa : U.UJ), + MMa: D(ea, "authenticationKeyNames", q.Tb({ e: "DKE", h: "DKH", w: "DKW", s: "DKS" })), - HUb: D(O, "systemKeyWrapFormat"), - EDb: D(L, "includeNetflixIdUserAuthData", !0), - VSb: D(L, "shouldSendUserAuthData", !0), - Ora: D(L, "sendUserAuthIfRequired", T.Ora), - QSb: D(L, "shouldClearUserData", !1), - pJb: D(L, "mslDeleteStore", !1), - rJb: D(L, "mslPersistStore", !0), - Qpb: D(L, "correctNetworkForShortTitles", !0), - fNb: D(L, "postplayHighInitBitrate", !1), - nxb: D(L, "flushHeaderCacheOnAudioTrackChange", !0), - BUb: D(L, "supportsUnequalizedDownloadables", !0), - EPa: D(H, G("debugAseDenominator"), 100), - oR: D(H, "aseAudioBufferSizeBytes", T.oR.ea(y.Xt)), - qR: D(H, "aseVideoBufferSizeBytes", T.qR.ea(y.Xt)), - zv: D(H, "minInitVideoBitrate", 560), - Xna: D(H, "minHCInitVideoBitrate", 560), - Oy: D(H, "maxInitVideoBitrate", Infinity), - KU: D(H, "minInitAudioBitrate", 0), - JU: D(H, "minHCInitAudioBitrate", 0), - wU: D(H, "maxInitAudioBitrate", 65535), + JUb: D(Q, "systemKeyWrapFormat"), + IDb: D(I, "includeNetflixIdUserAuthData", !0), + YSb: D(I, "shouldSendUserAuthData", !0), + Hra: D(I, "sendUserAuthIfRequired", U.Hra), + USb: D(I, "shouldClearUserData", !1), + rJb: D(I, "mslDeleteStore", !1), + tJb: D(I, "mslPersistStore", !0), + Rpb: D(I, "correctNetworkForShortTitles", !0), + jNb: D(I, "postplayHighInitBitrate", !1), + sxb: D(I, "flushHeaderCacheOnAudioTrackChange", !0), + DUb: D(I, "supportsUnequalizedDownloadables", !0), + DPa: D(H, F("debugAseDenominator"), 100), + qR: D(H, "aseAudioBufferSizeBytes", U.qR.ea(y.bu)), + rR: D(H, "aseVideoBufferSizeBytes", U.rR.ea(y.bu)), + Fv: D(H, "minInitVideoBitrate", 560), + Sna: D(H, "minHCInitVideoBitrate", 560), + Ry: D(H, "maxInitVideoBitrate", Infinity), + JU: D(H, "minInitAudioBitrate", 0), + IU: D(H, "minHCInitAudioBitrate", 0), + vU: D(H, "maxInitAudioBitrate", 65535), r5: D(H, "minAcceptableVideoBitrate", 235), - LU: D(H, "minRequiredBuffer", 3E4), - Qi: D(H, "minPrebufSize", 7800), - Wna: D(H, "minCheckBufferingCompleteInterval", 999999), - wqa: D(M, "rebufferingFactor", 1), + KU: D(H, "minRequiredBuffer", 3E4), + Ni: D(H, "minPrebufSize", 7800), + Rna: D(H, "minCheckBufferingCompleteInterval", 999999), + qqa: D(L, "rebufferingFactor", 1), $q: D(H, "maxBufferingTime", 2600), - Uta: D(L, "useMaxPrebufSize", !0), - gC: D(H, "maxPrebufSize", 45E3), - Ena: D(H, "maxRebufSize", Infinity), - X3: D(Q, "initialBitrateSelectionCurve", null), - MVa: D(H, "initSelectionLowerBound", 560), - NVa: D(H, "initSelectionUpperBound", 1050), - e8: D(H, "throughputPercentForAudio", 15), - ifa: D(H, "bandwidthMargin", 10), - jfa: D(L, "bandwidthMarginContinuous", !1), - kfa: D(Q, "bandwidthMarginCurve", [{ + Qta: D(I, "useMaxPrebufSize", !0), + iC: D(H, "maxPrebufSize", 45E3), + zna: D(H, "maxRebufSize", Infinity), + Y3: D(P, "initialBitrateSelectionCurve", null), + KVa: D(H, "initSelectionLowerBound", 560), + LVa: D(H, "initSelectionUpperBound", 1050), + a8: D(H, "throughputPercentForAudio", 15), + bfa: D(H, "bandwidthMargin", 10), + cfa: D(I, "bandwidthMarginContinuous", !1), + dfa: D(P, "bandwidthMarginCurve", [{ m: 65, b: 8E3 }, { @@ -19783,10 +19789,10 @@ a000.D9b = function () { b: 24E4 } ]), - Aga: D(H, "conservBandwidthMargin", 20), - Tsa: D(L, "switchConfigBasedOnInSessionTput", !1), - XR: D(H, "conservBandwidthMarginTputThreshold", 0), - Bga: D(Q, "conservBandwidthMarginCurve", [{ + uga: D(H, "conservBandwidthMargin", 20), + Osa: D(I, "switchConfigBasedOnInSessionTput", !1), + YR: D(H, "conservBandwidthMarginTputThreshold", 0), + vga: D(P, "conservBandwidthMarginCurve", [{ m: 80, b: 8E3 }, { @@ -19809,173 +19815,168 @@ a000.D9b = function () { b: 24E4 } ]), - C4a: D(L, "switchAlgoBasedOnHistIQR", !1), - OC: D(O, "switchConfigBasedOnThroughputHistory", "none", /^(none|iqr|avg)$/), - Dna: D(J, "maxPlayerStateToSwitchConfig", -1), - ena: D(O, "lowEndMarkingCriteria", "none", /^(none|iqr|avg)$/), - C$: D(M, "IQRThreshold", .5), - jla: D(O, "histIQRCalcToUse", "simple"), - $s: D(H, "maxTotalBufferLevelPerSession", 0), - d2: D(L, "enableDiscontiguousBuffering", !1), - bja: D(K, "forceImmediateTransitionTypeForTitles", []), - Sta: D(L, "useBufferSizeLimiter", !1), - oVa: D(H, "highWatermarkLevel", 3E4), - j5a: D(H, "toStableThreshold", 3E4), - k8: D(H, "toUnstableThreshold", T.k8.ea(z.ma)), - nsa: D(L, "skipBitrateInUpswitch", !0), - kua: D(H, "watermarkLevelForSkipStart", 8E3), - dla: D(H, "highStreamRetentionWindow", 9E4), - fna: D(H, "lowStreamTransitionWindow", 51E4), - fla: D(H, "highStreamRetentionWindowUp", 3E5), - hna: D(H, "lowStreamTransitionWindowUp", 3E5), - ela: D(H, "highStreamRetentionWindowDown", 6E5), - gna: D(H, "lowStreamTransitionWindowDown", 0), - cla: D(M, "highStreamInfeasibleBitrateFactor", .5), - Hy: D(H, "lowestBufForUpswitch", 15E3), + E4a: D(I, "switchAlgoBasedOnHistIQR", !1), + PC: D(Q, "switchConfigBasedOnThroughputHistory", "none", /^(none|iqr|avg)$/), + yna: D(K, "maxPlayerStateToSwitchConfig", -1), + Zma: D(Q, "lowEndMarkingCriteria", "none", /^(none|iqr|avg)$/), + u$: D(L, "IQRThreshold", .5), + ela: D(Q, "histIQRCalcToUse", "simple"), + ht: D(H, "maxTotalBufferLevelPerSession", 0), + f2: D(I, "enableDiscontiguousBuffering", !1), + Via: D(M, "forceImmediateTransitionTypeForTitles", []), + yxb: D(H, "forceImmediateTransitionExitZone", 0), + Nta: D(I, "useBufferSizeLimiter", !1), + mVa: D(H, "highWatermarkLevel", 3E4), + l5a: D(H, "toStableThreshold", 3E4), + g8: D(H, "toUnstableThreshold", U.g8.ea(z.ma)), + hsa: D(I, "skipBitrateInUpswitch", !0), + hua: D(H, "watermarkLevelForSkipStart", 8E3), + Zka: D(H, "highStreamRetentionWindow", 9E4), + $ma: D(H, "lowStreamTransitionWindow", 51E4), + ala: D(H, "highStreamRetentionWindowUp", 3E5), + bna: D(H, "lowStreamTransitionWindowUp", 3E5), + $ka: D(H, "highStreamRetentionWindowDown", 6E5), + ana: D(H, "lowStreamTransitionWindowDown", 0), + Yka: D(L, "highStreamInfeasibleBitrateFactor", .5), + Ky: D(H, "lowestBufForUpswitch", 15E3), S4: D(H, "lockPeriodAfterDownswitch", 15E3), - jna: D(H, "lowWatermarkLevel", 25E3), - Iy: D(H, "lowestWaterMarkLevel", 2E4), - kna: D(L, "lowestWaterMarkLevelBufferRelaxed", !1), - Ona: D(M, "mediaRate", 1), + dna: D(H, "lowWatermarkLevel", 25E3), + Ly: D(H, "lowestWaterMarkLevel", 2E4), + ena: D(I, "lowestWaterMarkLevelBufferRelaxed", !1), + Jna: D(L, "mediaRate", 1), f5: D(H, "maxTrailingBufferLen", 1E4), - tR: D(H, "audioBufferTargetAvailableSize", 262144), - oX: D(H, "videoBufferTargetAvailableSize", 1048576), - xYa: D(H, "maxVideoTrailingBufferSize", 8388608), - hYa: D(H, "maxAudioTrailingBufferSize", 393216), - t2: D(M, "fastUpswitchFactor", 3), - Aia: D(M, "fastDownswitchFactor", 1), - Py: D(H, "maxMediaBufferAllowed", 24E4), - lsa: D(L, "simulatePartialBlocks", !0), - D3a: D(L, "simulateBufferFull", !0), - Cga: D(L, "considerConnectTime", !1), - zga: D(M, "connectTimeMultiplier", 1), - HXa: D(H, "lowGradeModeEnterThreshold", 12E4), - IXa: D(H, "lowGradeModeExitThreshold", 9E4), - lYa: D(H, "maxDomainFailureWaitDuration", 3E4), - gYa: D(H, "maxAttemptsOnFailure", 18), - pRa: D(L, "exhaustAllLocationsForFailure", !0), - rYa: D(H, "maxNetworkErrorsDuringBuffering", 20), + uR: D(H, "audioBufferTargetAvailableSize", 262144), + nX: D(H, "videoBufferTargetAvailableSize", 1048576), + uYa: D(H, "maxVideoTrailingBufferSize", 8388608), + fYa: D(H, "maxAudioTrailingBufferSize", 393216), + u2: D(L, "fastUpswitchFactor", 3), + sia: D(L, "fastDownswitchFactor", 1), + Sy: D(H, "maxMediaBufferAllowed", 24E4), + fsa: D(I, "simulatePartialBlocks", !0), + E3a: D(I, "simulateBufferFull", !0), + wga: D(I, "considerConnectTime", !1), + tga: D(L, "connectTimeMultiplier", 1), + FXa: D(H, "lowGradeModeEnterThreshold", 12E4), + GXa: D(H, "lowGradeModeExitThreshold", 9E4), + iYa: D(H, "maxDomainFailureWaitDuration", 3E4), + eYa: D(H, "maxAttemptsOnFailure", 18), + oRa: D(I, "exhaustAllLocationsForFailure", !0), + oYa: D(H, "maxNetworkErrorsDuringBuffering", 20), Z4: D(H, "maxBufferingTimeAllowedWithNetworkError", 12E4), - xRa: D(H, "fastDomainSelectionBwThreshold", 2E3), - P4a: D(H, "throughputProbingEnterThreshold", 4E4), - Q4a: D(H, "throughputProbingExitThreshold", 34E3), - vXa: D(H, "locationProbingTimeout", 1E4), - ERa: D(H, "finalLocationSelectionBwThreshold", 1E4), - N4a: D(M, "throughputHighConfidenceLevel", .75), - O4a: D(M, "throughputLowConfidenceLevel", .4), - VQa: D(L, "enablePerfBasedLocationSwitch", !1), - At: D(L, "probeServerWhenError", !0), - Wpa: D(H, "probeRequestTimeoutMilliseconds", 8E3), - sx: D(L, "allowSwitchback", !0), - yG: D(H, "probeDetailDenominator", 100), + wRa: D(H, "fastDomainSelectionBwThreshold", 2E3), + R4a: D(H, "throughputProbingEnterThreshold", 4E4), + S4a: D(H, "throughputProbingExitThreshold", 34E3), + tXa: D(H, "locationProbingTimeout", 1E4), + DRa: D(H, "finalLocationSelectionBwThreshold", 1E4), + P4a: D(L, "throughputHighConfidenceLevel", .75), + Q4a: D(L, "throughputLowConfidenceLevel", .4), + UQa: D(I, "enablePerfBasedLocationSwitch", !1), + Et: D(I, "probeServerWhenError", !0), + Qpa: D(H, "probeRequestTimeoutMilliseconds", 8E3), + xx: D(I, "allowSwitchback", !0), + FG: D(H, "probeDetailDenominator", 100), a5: D(H, "maxDelayToReportFailure", 300), - Tma: D(H, "locationStatisticsUpdateInterval", 6E4), - VOa: D(L, "countGapInBuffer", !1), - PLa: D(L, "allowCallToStreamSelector", !0), + Nma: D(H, "locationStatisticsUpdateInterval", 6E4), + UOa: D(I, "countGapInBuffer", !1), + OLa: D(I, "allowCallToStreamSelector", !0), hNa: D(H, "bufferThresholdForAbort", 1E4), - vpa: D(H, "pipelineScheduleTimeoutMs", 2), - Qy: D(H, "maxPartialBuffersAtBufferingStart", 2), - Yna: D(H, "minPendingBufferLen", 6E3), - fC: D(H, "maxPendingBufferLen", 12E3), - XHb: D(H, "maxPendingBufferLenAL1", 3E4), - Fna: D(H, "maxStreamingSkew", 4E3), - Bna: D(H, "maxPendingBufferPercentage", 10), - SL: D(H, "maxRequestsInBuffer", 60), - tYa: D(H, "maxRequestsInBufferAL1", 240), - uYa: D(H, "maxRequestsInBufferBranching", 120), - H3: D(H, "headerRequestSize", 4096), - oia: D(L, "estimateHeaderSize", !0), - IU: D(H, "minBufferLenForHeaderDownloading", 1E4), + qpa: D(H, "pipelineScheduleTimeoutMs", 2), + Ty: D(H, "maxPartialBuffersAtBufferingStart", 2), + Tna: D(H, "minPendingBufferLen", 6E3), + hC: D(H, "maxPendingBufferLen", 12E3), + $Hb: D(H, "maxPendingBufferLenAL1", 3E4), + Ana: D(H, "maxStreamingSkew", 4E3), + wna: D(H, "maxPendingBufferPercentage", 10), + UL: D(H, "maxRequestsInBuffer", 60), + qYa: D(H, "maxRequestsInBufferAL1", 240), + rYa: D(H, "maxRequestsInBufferBranching", 120), + I3: D(H, "headerRequestSize", 4096), + hia: D(I, "estimateHeaderSize", !0), + HU: D(H, "minBufferLenForHeaderDownloading", 1E4), $M: D(H, "reserveForSkipbackBufferMs", 1E4), - Aoa: D(H, "numExtraFragmentsAllowed", 2), - Fp: D(L, "pipelineEnabled", !1), - M3a: D(H, "socketReceiveBufferSize", 0), - J0: D(H, "audioSocketReceiveBufferSize", 32768), + voa: D(H, "numExtraFragmentsAllowed", 2), + Hp: D(I, "pipelineEnabled", !1), + N3a: D(H, "socketReceiveBufferSize", 0), + L0: D(H, "audioSocketReceiveBufferSize", 32768), WN: D(H, "videoSocketReceiveBufferSize", 65536), - ala: D(H, "headersSocketReceiveBufferSize", 32768), - B8: D(H, "updatePtsIntervalMs", 1E3), - vfa: D(H, "bufferTraceDenominator", 100), - UJ: D(H, "bufferLevelNotifyIntervalMs", 2E3), - WA: D(H, "aseReportDenominator", 0), - E0: D(H, "aseReportIntervalMs", 3E5), - cvb: D(L, "enableAbortTesting", !1), + Wka: D(H, "headersSocketReceiveBufferSize", 32768), + x8: D(H, "updatePtsIntervalMs", 1E3), + ofa: D(H, "bufferTraceDenominator", 100), + YJ: D(H, "bufferLevelNotifyIntervalMs", 2E3), + YA: D(H, "aseReportDenominator", 0), + G0: D(H, "aseReportIntervalMs", 3E5), + gvb: D(I, "enableAbortTesting", !1), Vjb: D(H, "abortRequestFrequency", 8), - Ksa: D(H, "streamingStatusIntervalMs", 2E3), - $y: D(H, "prebufferTimeLimit", 24E4), + Fsa: D(H, "streamingStatusIntervalMs", 2E3), + cz: D(H, "prebufferTimeLimit", 24E4), t5: D(H, "minBufferLevelForTrackSwitch", 2E3), - mpa: D(H, "penaltyFactorForLongConnectTime", 2), - cna: D(H, "longConnectTimeThreshold", 200), - wea: D(H, "additionalBufferingLongConnectTime", 2E3), - xea: D(H, "additionalBufferingPerFailure", 8E3), - PV: D(H, "rebufferCheckDuration", 6E4), - SQa: D(L, "enableLookaheadHints", !1), - EXa: D(H, "lookaheadFragments", 2), - ay: D(L, "enableOCSideChannel", !0), - aZ: D(P, "OCSCBufferQuantizationConfig", { + hpa: D(H, "penaltyFactorForLongConnectTime", 2), + Xma: D(H, "longConnectTimeThreshold", 200), + qea: D(H, "additionalBufferingLongConnectTime", 2E3), + rea: D(H, "additionalBufferingPerFailure", 8E3), + OV: D(H, "rebufferCheckDuration", 6E4), + QQa: D(I, "enableLookaheadHints", !1), + CXa: D(H, "lookaheadFragments", 2), + fy: D(I, "enableOCSideChannel", !0), + $Y: D(O, "OCSCBufferQuantizationConfig", { lv: 5, mx: 240 }), - T5a: D(L, "updateDrmRequestOnNetworkFailure", !1), - QPa: D(L, "deferAseScheduling", !1), - kYa: D(H, "maxDiffAudioVideoEndPtsMs", 16E3), - SN: D(L, "useHeaderCache", !0), - N1: D(H, "defaultHeaderCacheSize", 4), - M1: D(H, "defaultHeaderCacheDataPrefetchMs", 8E3), - Zka: D(H, "headerCacheMaxPendingData", 6), - hG: D(L, "neverWipeHeaderCache", !0), - hVa: D(H, "headerCachePriorityLimit", 5), - $ha: D(L, "enableUsingHeaderCount", !1), - iVa: D(L, "headerCacheTruncateHeaderAfterParsing", !0), - F4b: D(L, G("flushHeaderCacheBeforePlayback"), !1), - loa: D(H, "networkFailureResetWaitMs", 2E3), - koa: D(H, "networkFailureAbandonMs", 6E4), + V5a: D(I, "updateDrmRequestOnNetworkFailure", !1), + OPa: D(I, "deferAseScheduling", !1), + hYa: D(H, "maxDiffAudioVideoEndPtsMs", 16E3), + P1: D(H, "defaultHeaderCacheSize", 4), + O1: D(H, "defaultHeaderCacheDataPrefetchMs", 8E3), + nG: D(I, "neverWipeHeaderCache", !0), + goa: D(H, "networkFailureResetWaitMs", 2E3), + foa: D(H, "networkFailureAbandonMs", 6E4), e5: D(H, "maxThrottledNetworkFailures", 3), - d8: D(H, "throttledNetworkFailureThresholdMs", 200), - ina: D(J, "lowThroughputThreshold", 400), - tia: D(L, "excludeSessionWithoutHistoryFromLowThroughputThreshold", !1), - cZa: D(L, "mp4ParsingInNative", !1), - O3a: D(L, "sourceBufferInOrderAppend", !0), - mz: D(L, "requireAudioStreamToEncompassVideo", !0), - OLa: D(L, "allowAudioToStreamPastVideo", !0), - Gh: D(L, "enableManagerDebugTraces", !1), - VXa: D(H, "managerDebugMessageInterval", 1E3), - UXa: D(H, "managerDebugMessageCount", 20), - GZa: D(L, "notifyManifestCacheEom", !1), - ufa: D(H, "bufferThresholdToSwitchToSingleConnMs", 18E4), - tfa: D(H, "bufferThresholdToSwitchToParallelConnMs", 12E4), - r6: D(H, "periodicHistoryPersistMs", 3E5), - k7: D(H, "saveVideoBitrateMs", 18E4), - eMa: D(L, "appendMediaRequestOnComplete", !0), - P8: D(L, "waitForDrmToAppendMedia", !1), - C2: D(L, G("forceAppendHeadersAfterDrm"), !1), - LOb: D(L, G("reappendRequestsOnSkip"), !1), - xJb: D(H, "netIntrStoreWindow", 36E3), - VIb: D(H, "minNetIntrDuration", 8E3), - twb: D(H, "fastHistoricBandwidthExpirationTime", 10368E3), + Z7: D(H, "throttledNetworkFailureThresholdMs", 200), + cna: D(K, "lowThroughputThreshold", 400), + mia: D(I, "excludeSessionWithoutHistoryFromLowThroughputThreshold", !1), + $Ya: D(I, "mp4ParsingInNative", !1), + P3a: D(I, "sourceBufferInOrderAppend", !0), + pz: D(I, "requireAudioStreamToEncompassVideo", !0), + NLa: D(I, "allowAudioToStreamPastVideo", !0), + Gh: D(I, "enableManagerDebugTraces", !1), + TXa: D(H, "managerDebugMessageInterval", 1E3), + SXa: D(H, "managerDebugMessageCount", 20), + EZa: D(I, "notifyManifestCacheEom", !1), + nfa: D(H, "bufferThresholdToSwitchToSingleConnMs", 18E4), + mfa: D(H, "bufferThresholdToSwitchToParallelConnMs", 12E4), + q6: D(H, "periodicHistoryPersistMs", 3E5), + h7: D(H, "saveVideoBitrateMs", 18E4), + dMa: D(I, "appendMediaRequestOnComplete", !0), + K8: D(I, "waitForDrmToAppendMedia", !1), + D2: D(I, F("forceAppendHeadersAfterDrm"), !1), + QOb: D(I, F("reappendRequestsOnSkip"), !1), + zJb: D(H, "netIntrStoreWindow", 36E3), + XIb: D(H, "minNetIntrDuration", 8E3), + zwb: D(H, "fastHistoricBandwidthExpirationTime", 10368E3), qmb: D(H, "bandwidthExpirationTime", 5184E3), - qwb: D(H, "failureExpirationTime", 86400), - ZCb: D(H, "historyTimeOfDayGranularity", 4), - dwb: D(L, "expandDownloadTime", !1), - eJb: D(H, "minimumMeasurementTime", 500), - dJb: D(H, "minimumMeasurementBytes", 131072), - XUb: D(H, "throughputMeasurementTimeout", 2E3), - SDb: D(H, "initThroughputMeasureDataSize", 262144), - YUb: D(O, "throughputPredictor", "ewma"), - WUb: D(H, "throughputMeasureWindow", 5E3), - aVb: D(H, "throughputWarmupTime", 5E3), - VUb: D(H, "throughputIQRMeasureWindow", 5E3), - $ab: D(H, "IQRBucketizerWindow", 15E3), - vpb: D(H, "connectTimeHalflife", 10), - xQb: D(H, "responseTimeHalflife", 10), - YCb: D(H, "historicBandwidthUpdateInterval", 2E3), - cJb: D(H, "minimumBufferToStopProbing", 1E4), - Ara: D(O, "secondThroughputEstimator", "none"), - x2a: D(J, "secondThroughputMeasureWindowInMs", Infinity), - gvb: D(N, "enableFilters", ("throughput-ewma throughput-sw throughput-iqr throughput-tdigest avtp entropy").split(" ")), - Kwb: D(P, "filterDefinitionOverrides", {}), - ktb: D(O, "defaultFilter", "throughput-ewma"), - bRb: D(O, "secondaryFilter", "none"), - ltb: D(P, "defaultFilterDefinitions", { + wwb: D(H, "failureExpirationTime", 86400), + bDb: D(H, "historyTimeOfDayGranularity", 4), + jwb: D(I, "expandDownloadTime", !1), + gJb: D(H, "minimumMeasurementTime", 500), + fJb: D(H, "minimumMeasurementBytes", 131072), + ZUb: D(H, "throughputMeasurementTimeout", 2E3), + WDb: D(H, "initThroughputMeasureDataSize", 262144), + $Ub: D(Q, "throughputPredictor", "ewma"), + YUb: D(H, "throughputMeasureWindow", 5E3), + cVb: D(H, "throughputWarmupTime", 5E3), + XUb: D(H, "throughputIQRMeasureWindow", 5E3), + cbb: D(H, "IQRBucketizerWindow", 15E3), + wpb: D(H, "connectTimeHalflife", 10), + CQb: D(H, "responseTimeHalflife", 10), + aDb: D(H, "historicBandwidthUpdateInterval", 2E3), + eJb: D(H, "minimumBufferToStopProbing", 1E4), + tra: D(Q, "secondThroughputEstimator", "none"), + x2a: D(K, "secondThroughputMeasureWindowInMs", Infinity), + kvb: D(R, "enableFilters", ("throughput-ewma throughput-sw throughput-iqr throughput-tdigest avtp entropy").split(" ")), + Qwb: D(O, "filterDefinitionOverrides", {}), + mtb: D(Q, "defaultFilter", "throughput-ewma"), + gRb: D(Q, "secondaryFilter", "none"), + ntb: D(O, "defaultFilterDefinitions", { "throughput-ewma": { type: "discontiguous-ewma", mw: 5E3, @@ -20038,495 +20039,490 @@ a000.D9b = function () { uhdl: [150, 230, 352, 539, 825, 1264, 1936, 2966, 4543, 6958, 10657, 16322, 25E3] } }), - QU: D(L, "needMinimumNetworkConfidence", !0), - nfa: D(L, "biasTowardHistoricalThroughput", !0), - pea: D(L, "addHeaderDataToNetworkMonitor", !1), - xsa: D(L, "startMonitorOnLoadStart", !1), - Rqa: D(L, "reportFailedRequestsToNetworkMonitor", !1), - zna: D(J, "maxFastPlayBufferInMs", Infinity), - yna: D(J, "maxFastPlayBitThreshold", Infinity), - Hea: D(L, "appendFirstHeaderOnComplete", !0), - vlb: D(O, "ase_stream_selector", "optimized"), - Fla: D(O, "initBitrateSelectorAlgorithm", "default"), - zfa: D(O, "bufferingSelectorAlgorithm", "default"), - FPa: D(O, "ase_ls_failure_simulation", ""), - fha: D(L, "ase_dump_fragments", !1), - hha: D(H, "ase_location_history", 0), - iha: D(H, "ase_throughput", 0), - HPa: D(L, "ase_simulate_verbose", !1), - bNb: D(H, "pollingPeriod", 150), - QGb: D(H, "loadTimeMs", 18E4), - CHb: D(H, "marginTimeMs", 1E4), - Dja: D(L, "getDeviceIdFromBindDevice", !1), - oea: D(L, "addFailedLogBlobsToQueue", !0), - yta: { + PU: D(I, "needMinimumNetworkConfidence", !0), + gfa: D(I, "biasTowardHistoricalThroughput", !0), + jea: D(I, "addHeaderDataToNetworkMonitor", !1), + qsa: D(I, "startMonitorOnLoadStart", !1), + Mqa: D(I, "reportFailedRequestsToNetworkMonitor", !1), + una: D(K, "maxFastPlayBufferInMs", Infinity), + tna: D(K, "maxFastPlayBitThreshold", Infinity), + Aea: D(I, "appendFirstHeaderOnComplete", !0), + wlb: D(Q, "ase_stream_selector", "optimized"), + Ala: D(Q, "initBitrateSelectorAlgorithm", "default"), + sfa: D(Q, "bufferingSelectorAlgorithm", "default"), + EPa: D(Q, "ase_ls_failure_simulation", ""), + $ga: D(I, "ase_dump_fragments", !1), + bha: D(H, "ase_location_history", 0), + cha: D(H, "ase_throughput", 0), + GPa: D(I, "ase_simulate_verbose", !1), + fNb: D(H, "pollingPeriod", 150), + SGb: D(H, "loadTimeMs", 18E4), + FHb: D(H, "marginTimeMs", 1E4), + wja: D(I, "getDeviceIdFromBindDevice", !1), + iea: D(I, "addFailedLogBlobsToQueue", !0), + tta: { "content-sampling": { $q: D(H, "contentSamplingMaxBufferingTime", 3E3), - fN: D(O, "contentSamplingSelectStartingVMAFMethod", "fallback"), - hR: D(L, "contentSamplingActivateSelectStartingVMAF", !0), - $L: D(H, "contentSamplingMinStartingVideoVMAF", 80), - HU: D(H, "contentSamplingMinAcceptableVMAF", 70), - bG: D(H, "contentSamplingMinAllowedVmaf", 60) + gN: D(Q, "contentSamplingSelectStartingVMAFMethod", "fallback"), + jR: D(I, "contentSamplingActivateSelectStartingVMAF", !0), + bM: D(H, "contentSamplingMinStartingVideoVMAF", 80), + GU: D(H, "contentSamplingMinAcceptableVMAF", 70), + hG: D(H, "contentSamplingMinAllowedVmaf", 60) }, billboard: { - zv: D(H, "billboardMinInitVideoBitrate", 1050), - Oy: D(H, "billboardMaxInitVideoBitrate", null), - Qi: D(H, "billboardMinPrebufSize", null), - gC: D(H, "billboardMaxPrebufSize", null), + Fv: D(H, "billboardMinInitVideoBitrate", 1050), + Ry: D(H, "billboardMaxInitVideoBitrate", null), + Ni: D(H, "billboardMinPrebufSize", null), + iC: D(H, "billboardMaxPrebufSize", null), $q: D(H, "billboardMaxBufferingTime", null), - Qy: D(H, "billboardMaxPartialBuffersAtBufferingStart", null), - Iy: D(H, "billboardLowestWaterMarkLevel", 6E3), - Hy: D(H, "billboardLowestBufForUpswitch", 25E3), - OC: D(O, "billboardSwitchConfigBasedOnThroughputHistory", "none", /^(none|iqr|avg)$/) + Ty: D(H, "billboardMaxPartialBuffersAtBufferingStart", null), + Ly: D(H, "billboardLowestWaterMarkLevel", 6E3), + Ky: D(H, "billboardLowestBufForUpswitch", 25E3), + PC: D(Q, "billboardSwitchConfigBasedOnThroughputHistory", "none", /^(none|iqr|avg)$/) }, preplay: { - zv: D(H, "preplayMinInitVideoBitrate", 1050), - Oy: D(H, "preplayMaxInitVideoBitrate", null), - Qi: D(H, "preplayMinPrebufSize", null), - gC: D(H, "preplayMaxPrebufSize", null), + Fv: D(H, "preplayMinInitVideoBitrate", 1050), + Ry: D(H, "preplayMaxInitVideoBitrate", null), + Ni: D(H, "preplayMinPrebufSize", null), + iC: D(H, "preplayMaxPrebufSize", null), $q: D(H, "preplayMaxBufferingTime", null), - Qy: D(H, "preplayMaxPartialBuffersAtBufferingStart", null), - Iy: D(H, "preplayLowestWaterMarkLevel", 6E3), - Hy: D(H, "preplayLowestBufForUpswitch", 25E3) + Ty: D(H, "preplayMaxPartialBuffersAtBufferingStart", null), + Ly: D(H, "preplayLowestWaterMarkLevel", 6E3), + Ky: D(H, "preplayLowestBufForUpswitch", 25E3) }, embedded: { - zv: D(H, "embeddedMinInitVideoBitrate", 1050), - Oy: D(H, "embeddedMaxInitVideoBitrate", null), - Qi: D(H, "embeddedMinPrebufSize", null), - gC: D(H, "embeddedMaxPrebufSize", null), + Fv: D(H, "embeddedMinInitVideoBitrate", 1050), + Ry: D(H, "embeddedMaxInitVideoBitrate", null), + Ni: D(H, "embeddedMinPrebufSize", null), + iC: D(H, "embeddedMaxPrebufSize", null), $q: D(H, "embeddedMaxBufferingTime", null), - Qy: D(H, "embeddedMaxPartialBuffersAtBufferingStart", null), - Iy: D(H, "embeddedLowestWaterMarkLevel", 6E3), - Hy: D(H, "embeddedLowestBufForUpswitch", 25E3) + Ty: D(H, "embeddedMaxPartialBuffersAtBufferingStart", null), + Ly: D(H, "embeddedLowestWaterMarkLevel", 6E3), + Ky: D(H, "embeddedLowestBufForUpswitch", 25E3) }, "video-merch-bob-horizontal": { - zv: D(H, "videoMerchBobHorizontalMinInitVideoBitrate", null), - Oy: D(H, "videoMerchBobHorizontalMaxInitVideoBitrate", null), - Qi: D(H, "videoMerchBobHorizontalMinPrebufSize", null), - gC: D(H, "videoMerchBobHorizontalMaxPrebufSize", null), + Fv: D(H, "videoMerchBobHorizontalMinInitVideoBitrate", null), + Ry: D(H, "videoMerchBobHorizontalMaxInitVideoBitrate", null), + Ni: D(H, "videoMerchBobHorizontalMinPrebufSize", null), + iC: D(H, "videoMerchBobHorizontalMaxPrebufSize", null), $q: D(H, "videoMerchBobHorizontalMaxBufferingTime", null), - Qy: D(H, "videoMerchBobHorizontalMaxPartialBuffersAtBufferingStart", null), - Iy: D(H, "videoMerchBobHorizontalLowestWaterMarkLevel", null), - Hy: D(H, "videoMerchBobHorizontalLowestBufForUpswitch", null), - hw: D(N, "videoMerchVideoProfiles", void 0) + Ty: D(H, "videoMerchBobHorizontalMaxPartialBuffersAtBufferingStart", null), + Ly: D(H, "videoMerchBobHorizontalLowestWaterMarkLevel", null), + Ky: D(H, "videoMerchBobHorizontalLowestBufForUpswitch", null), + lw: D(R, "videoMerchVideoProfiles", void 0) }, "mini-modal-horizontal": { - zv: D(H, "miniModalHorizontalMinInitVideoBitrate", null), - Oy: D(H, "miniModalHorizontalMaxInitVideoBitrate", null), - Qi: D(H, "miniModalHorizontalMinPrebufSize", null), - gC: D(H, "miniModalHorizontalMaxPrebufSize", null), + Fv: D(H, "miniModalHorizontalMinInitVideoBitrate", null), + Ry: D(H, "miniModalHorizontalMaxInitVideoBitrate", null), + Ni: D(H, "miniModalHorizontalMinPrebufSize", null), + iC: D(H, "miniModalHorizontalMaxPrebufSize", null), $q: D(H, "miniModalHorizontalMaxBufferingTime", 500), - Qy: D(H, "miniModalHorizontalMaxPartialBuffersAtBufferingStart", null), - Iy: D(H, "miniModalHorizontalLowestWaterMarkLevel", null), - Hy: D(H, "miniModalHorizontalLowestBufForUpswitch", null) + Ty: D(H, "miniModalHorizontalMaxPartialBuffersAtBufferingStart", null), + Ly: D(H, "miniModalHorizontalLowestWaterMarkLevel", null), + Ky: D(H, "miniModalHorizontalLowestBufForUpswitch", null) } }, - Dvb: D(L, "enableVerbosePlaydelayLogging", !1), - yvb: D(L, "enableSeamless", !1), - ila: D(H, "hindsightDenominator", 0), - hla: D(H, "hindsightDebugDenominator", 0), - L3: D(P, "hindsightParam", { + Jvb: D(I, "enableVerbosePlaydelayLogging", !1), + Cvb: D(I, "enableSeamless", !1), + dla: D(H, "hindsightDenominator", 0), + cla: D(H, "hindsightDebugDenominator", 0), + M3: D(O, "hindsightParam", { numB: Infinity, bSizeMs: 1E3, fillS: "last", fillHl: 1E3 }), - JS: D(L, "enableSessionHistoryReport", !1), - Wha: D(H, "earlyStageEstimatePeriod", 1E4), - iXa: D(H, "lateStageEstimatePeriod", 3E4), + IS: D(I, "enableSessionHistoryReport", !1), + Qha: D(H, "earlyStageEstimatePeriod", 1E4), + gXa: D(H, "lateStageEstimatePeriod", 3E4), c5: D(H, "maxNumSessionHistoryStored", 30), y5: D(H, "minSessionHistoryDuration", 3E4), - uv: D(H, "maxActiveRequestsPerSession", 3), + Av: D(H, "maxActiveRequestsPerSession", 3), X4: D(H, "maxActiveRequestsSABCell100", 2), d5: D(H, "maxPendingBufferLenSABCell100", 500), - Nma: D(L, "limitAudioDiscountByMaxAudioBitrate", !0), - Ud: D(P, "browserInfo", {}), - gnb: D(H, G("busyGracePeriod"), 199), - BRb: D(L, G("sendTransitionLogblob"), !0), - Uub: D(L, G("editVideoFragments"), !0), - b2: D(L, G("earlyAppendSingleChildBranch"), !0), - FDb: D(L, G("includeSegmentInfoOnLogblobs"), !0), - iwb: D(L, "exposeTestData", !1), - kha: D(L, "declareBufferingCompleteAtSegmentEnd", !0), - VA: D(L, "applyProfileTimestampOffset", !1), - ck: D(L, "applyProfileStreamingOffset", !1), - dlb: D(L, G("allowSmallSeekDelta"), !1), - pTb: D(H, G("smallSeekDeltaThresholdMilliseconds"), t.vZ), - evb: D(L, "enableCDMAttestedDescriptors", !1), - a7: D(L, "requireDownloadDataAtBuffering", !1), - b7: D(L, "requireSetupConnectionDuringBuffering", !1), - zqa: D(L, "recordFirstFragmentOnSubBranchCreate", !1), - Tmb: D(L, "branchingAudioTrackFrameDropSmallSeekFix", !0), - $Ra: D(L, "forceL3WidevineCdm", !1), - iXb: D(L, "useMobileVMAF", !1), - Ltb: D(O, "desiredVMAFTypeMobile", "phone_plus_lts"), - Mtb: D(O, "desiredVMAFTypeNonMobile", "plus_lts"), - hR: D(L, "activateSelectStartingVMAF", !1), - $L: D(H, "minStartingVideoVMAF", 1), - HU: D(H, "minAcceptableVMAF", 1), - bG: D(H, "minAllowedVmaf", 1), - Eea: D(L, "alwaysNotifyEOSForPlaygraph", !0), - AK: D(L, "enableNewAse", !0), - kX: D(L, "useNewApi", !0), - kvb: D(L, "enableHudsonFieldTest", !1), - nDb: D(N, "hudsonTitles", ["81127954", "70125931", "80158148"]), - WHb: D(H, "maxPartialBuffersAtHudson", 1), - lKb: D(H, "numberOfChunksPerSegment", 4), - KUb: D(H, "targetContentLatency", 1E4), - LUb: D(H, "targetLongContentLatency", 3E4), - fJb: D(H, "minimumTimeDelay", 1), - aia: D(L, "enableWsslEstimate", !1), + Hma: D(I, "limitAudioDiscountByMaxAudioBitrate", !0), + Td: D(O, "browserInfo", {}), + hnb: D(H, F("busyGracePeriod"), 199), + ERb: D(I, F("sendTransitionLogblob"), !0), + Yub: D(I, F("editVideoFragments"), !0), + d2: D(I, F("earlyAppendSingleChildBranch"), !0), + JDb: D(I, F("includeSegmentInfoOnLogblobs"), !0), + owb: D(I, "exposeTestData", !1), + eha: D(I, "declareBufferingCompleteAtSegmentEnd", !0), + XA: D(I, "applyProfileTimestampOffset", !1), + dk: D(I, "applyProfileStreamingOffset", !1), + elb: D(I, F("allowSmallSeekDelta"), !1), + sTb: D(H, F("smallSeekDeltaThresholdMilliseconds"), u.vZ), + ivb: D(I, "enableCDMAttestedDescriptors", !1), + Y6: D(I, "requireDownloadDataAtBuffering", !1), + Z6: D(I, "requireSetupConnectionDuringBuffering", !1), + tqa: D(I, "recordFirstFragmentOnSubBranchCreate", !1), + Umb: D(I, "branchingAudioTrackFrameDropSmallSeekFix", !0), + ZRa: D(I, "forceL3WidevineCdm", !1), + kXb: D(I, "useMobileVMAF", !1), + Otb: D(Q, "desiredVMAFTypeMobile", "phone_plus_lts"), + Ptb: D(Q, "desiredVMAFTypeNonMobile", "plus_lts"), + jR: D(I, "activateSelectStartingVMAF", !1), + bM: D(H, "minStartingVideoVMAF", 1), + GU: D(H, "minAcceptableVMAF", 1), + hG: D(H, "minAllowedVmaf", 1), + ilb: D(I, "alwaysNotifyEOSForPlaygraph", !0), + EK: D(I, "enableNewAse", !0), + jX: D(I, "useNewApi", !0), + ovb: D(I, "enableHudsonFieldTest", !1), + qDb: D(R, "hudsonTitles", ["81127954", "70125931", "80158148"]), + ZHb: D(H, "maxPartialBuffersAtHudson", 1), + nKb: D(H, "numberOfChunksPerSegment", 4), + MUb: D(H, "targetContentLatency", 1E4), + NUb: D(H, "targetLongContentLatency", 3E4), + hJb: D(H, "minimumTimeDelay", 1), + Uha: D(I, "enableWsslEstimate", !1), Y4: D(H, "maxAllowedOutstandingRequests", 4), - KJ: D(L, "alwaysRunUnderflowTimer", !0), - Zna: D(H, "minStreamableConcurrencyWindow", 3E3), - Hsa: D(M, "streamableConcurrencyFactor", .3), - KR: D(H, "bufferingConcurrencyWindow", 7800), - kTb: D(L, "singleStreamablePerBranch", !0), - f2: D(L, "enableResolutionVMAFStreamFilter", !1), - g7: D(P, "resolutionVMAFCappingRuleList", {}), - opa: D(J, "percentCapTitlesForResolutionVMAFStreamFilter", 100), - cub: D(L, "disableSkipping", !1), - Tta: D(L, G("useExitZones"), !0) + NJ: D(I, "alwaysRunUnderflowTimer", !0), + Una: D(H, "minStreamableConcurrencyWindow", 3E3), + Bsa: D(L, "streamableConcurrencyFactor", .3), + LR: D(H, "bufferingConcurrencyWindow", 7800), + nTb: D(I, "singleStreamablePerBranch", !0), + g2: D(I, "enableResolutionVMAFStreamFilter", !1), + d7: D(O, "resolutionVMAFCappingRuleList", {}), + jpa: D(K, "percentCapTitlesForResolutionVMAFStreamFilter", 100), + fub: D(I, "disableSkipping", !1), + Ota: D(I, F("useExitZones"), !0) }; Ia = !0; - b.xga = function (wa) { - var Sa, + b.rga = function (wa) { + var Ta, Ua, - $a; - Sa = d.ha.get(A.zd).id; - if (0 < b.config.zXa && 0 === Sa % b.config.zXa) + ab; + Ta = d.ha.get(B.zd).id; + if (0 < b.config.xXa && 0 === Ta % b.config.xXa) try { - Ua = d.ha.get(w.iq); - $a = d.ha.get(v.eA).Uu("config", "info", { + Ua = d.ha.get(w.kq); + ab = d.ha.get(v.fA).Zu("config", "info", { params: wa }); - Ua.Xd($a); + Ua.fe(ab); } catch (Za) { d.log.error("Failed to log config$apply", Za); } pb._cad_global.config = b.config; h.gb(wa); - wa && (X = r.Qb({}, wa, { - NL: !0 - }), r.Qb(X, za, { - NL: !0 - }), F(ja, b.config), X.istestaccount && d.log.trace("Config applied for", na(Ia ? X : wa)), Ia = !1); + wa && (Y = q.Tb({}, wa, { + PL: !0 + }), q.Tb(Y, Ea, { + PL: !0 + }), G(ma, b.config), Y.istestaccount && d.log.trace("Config applied for", pa(Ia ? Y : wa)), Ia = !1); }; - b.xga(X); + b.rga(Y); }; - b.qpb = function (C, E) { - return u.ze(C) && "%" == C[C.length - 1] ? p.yi(parseFloat(C) * E / 100) : C | 0; + b.rpb = function (C, E) { + return t.Be(C) && "%" == C[C.length - 1] ? p.yi(parseFloat(C) * E / 100) : C | 0; }; - b.EOa = function (C) { - return C ? (C = r.Qb({}, b.config), r.Qb(C, { - oG: b.config.i_a + b.DOa = function (C) { + return C ? (C = q.Tb({}, b.config), q.Tb(C, { + uG: b.config.g_a }, { - Vy: !0 + Yy: !0 })) : b.config; }; - b.rpb = function (C) { + b.spb = function (C) { var E; - E = r.Qb({}, b.config); + E = q.Tb({}, b.config); C = c(C); - return r.Qb(E, C, { - Vy: !0 + return q.Tb(E, C, { + Yy: !0 }); }; - b.p1 = function (C) { + b.sga = function (C) { C = c(C); - return r.Qb({}, a(179)(C), { - Vy: !0 + return q.Tb({}, a(179)(C), { + Yy: !0 }); }; - b.yga = function (C, E, F) { - F = !!F && (0 <= F.indexOf("h264hpl") || 0 <= F.indexOf("vp9")); + b.COa = function (C, E, G) { + G = !!G && (0 <= G.indexOf("h264hpl") || 0 <= G.indexOf("vp9")); C = { - XL: C ? b.config.SIb : b.config.XL, - aM: C ? b.config.YIb : F ? b.config.XIb : b.config.aM, - SL: C && F ? Math.max(b.config.uYa, b.config.tYa) : C ? b.config.uYa : F ? b.config.tYa : b.config.SL, - fC: F ? b.config.XHb : b.config.fC, - b2: !E + ZL: C ? b.config.UIb : b.config.ZL, + cM: C ? b.config.$Ib : G ? b.config.ZIb : b.config.cM, + UL: C && G ? Math.max(b.config.rYa, b.config.qYa) : C ? b.config.rYa : G ? b.config.qYa : b.config.UL, + hC: G ? b.config.$Hb : b.config.hC, + d2: !E }; - return r.Qb({}, a(179)(C), { - Vy: !0 + return q.Tb({}, a(179)(C), { + Yy: !0 }); }; - b.tpb = c; - b.spb = f; - }, function (q, b, a) { + b.upb = c; + b.tpb = f; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - a(2).__exportStar(a(373), b); - }, function (q, b) { + a(2).__exportStar(a(375), b); + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.vo = { - J3b: "casttv", - ega: "chrome", - N3b: "chromecast", - Mq: "edge", - AQa: "edgeoss", - SRa: "firefox", - l5b: "ie", + b.wo = { + M3b: "casttv", + Zfa: "chrome", + Q3b: "chromecast", + Nq: "edge", + yQa: "edgeoss", + RRa: "firefox", + v5b: "ie", opera: "opera", - q2a: "safari" - }; - b.Ao = { - A0: "android", - XNa: "chromeos", - oGb: "linux", - NXa: "mac", - I4a: "tesla", - lua: "windows" - }; - b.eP = { - opb: "computer", + p2a: "safari" + }; + b.Bo = { + C0: "android", + VNa: "chromeos", + qGb: "linux", + LXa: "mac", + K4a: "tesla", + iua: "windows" + }; + b.fP = { + ppb: "computer", phone: "phone", - E4a: "tablet" + G4a: "tablet" }; - b.dd = "ConfigSymbol"; - }, function (q, b, a) { + b.ed = "ConfigSymbol"; + }, function (r, b, a) { b = a(109); - b.mtb = 0; - q.exports = { + b.otb = 0; + r.exports = { EventEmitter: b, - zh: a(772) + xh: a(782) }; - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kc = b.Pla = b.Dy = b.ze = b.nma = b.IEb = b.wEb = b.fma = b.Cy = b.mWa = b.xa = b.lma = b.isArray = b.HWa = b.Sg = b.Hc = b.is = void 0; - q = a(190); - b.is = q.lD; - b.Hc = function (c) { + b.Mc = b.Kla = b.Gy = b.Be = b.hma = b.NEb = b.zEb = b.$la = b.Fy = b.kWa = b.ya = b.fma = b.isArray = b.FWa = b.ih = b.Jc = b.is = void 0; + r = a(190); + b.is = r.nD; + b.Jc = function (c) { return b.is.eg(c); }; - b.Sg = function (c) { - return b.is.LJ(c); + b.ih = function (c) { + return b.is.OJ(c); }; - b.HWa = function (c) { - return b.is.eea(c); + b.FWa = function (c) { + return b.is.Zda(c); }; b.isArray = function (c) { - return b.is.tx(c); + return b.is.yx(c); }; - b.lma = function (c) { - return b.is.VLa(c); + b.fma = function (c) { + return b.is.ULa(c); }; - b.xa = function (c, f, k) { + b.ya = function (c, f, k) { return b.is.$h(c, f, k); }; - b.mWa = function (c, f, k) { - return b.is.Fea(c, f, k); + b.kWa = function (c, f, k) { + return b.is.yea(c, f, k); }; - b.Cy = function (c, f, k) { - return b.is.mR(c, f, k); + b.Fy = function (c, f, k) { + return b.is.oR(c, f, k); }; - b.fma = function (c) { - return b.is.bR(c); + b.$la = function (c) { + return b.is.dR(c); }; - b.wEb = function (c) { + b.zEb = function (c) { return b.is.Tjb(c); }; - b.IEb = function (c) { + b.NEb = function (c) { return b.is.Ujb(c); }; - b.nma = function (c) { - return b.is.WLa(c); + b.hma = function (c) { + return b.is.VLa(c); }; - b.ze = function (c) { - return b.is.So(c); + b.Be = function (c) { + return b.is.Uo(c); }; - b.Dy = function (c) { - return b.is.Bn(c); + b.Gy = function (c) { + return b.is.An(c); }; - b.Pla = function (c) { - return b.is.aR(c); + b.Kla = function (c) { + return b.is.cR(c); }; - b.Kc = function (c) { - return b.is.t0(c); + b.Mc = function (c) { + return b.is.v0(c); }; - }, function (q, b) { + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.Jd = b.Bb = b.$e = b.Gb = b.W = b.F$ = b.tI = b.Rb = void 0; + b.me = b.Eb = b.af = b.Jb = b.Z = b.x$ = b.LD = b.Ub = void 0; (function (c) { - c.UGb = "loadedtracks"; - c.TGb = "loadedmetadata"; + c.WGb = "loadedtracks"; + c.VGb = "loadedmetadata"; c.loaded = "loaded"; c.error = "error"; c.closed = "closed"; - c.Iq = "currenttimechanged"; - c.oWb = "unthrottledcurrenttimechanged"; + c.Jq = "currenttimechanged"; + c.qWb = "unthrottledcurrenttimechanged"; c.lNa = "bufferedtimechanged"; - c.Pub = "durationchanged"; - c.TXb = "videosizechanged"; - c.fMb = "pausedchanged"; - c.$Mb = "playingchanged"; - c.Lvb = "endedchanged"; - c.Efa = "busychanged"; + c.Tub = "durationchanged"; + c.UXb = "videosizechanged"; + c.hMb = "pausedchanged"; + c.dNb = "playingchanged"; + c.Rvb = "endedchanged"; + c.xfa = "busychanged"; c.EMa = "audiotracklistchanged"; - c.xR = "audiotrackchanged"; - c.kH = "timedtexttracklistchanged"; - c.Az = "timedtexttrackchanged"; - c.bX = "trickplayframeschanged"; - c.vJb = "mutedchanged"; - c.aYb = "volumechanged"; - c.bTb = "showsubtitle"; - c.KPb = "removesubtitle"; - c.hYb = "watermark"; - c.gma = "isReadyToTransition"; - c.qL = "inactivated"; - c.aWa = "internalPlaybackError"; - c.lRb = "segmentmaploaded"; - c.mRb = "segmentpresenting"; + c.yR = "audiotrackchanged"; + c.sH = "timedtexttracklistchanged"; + c.Dz = "timedtexttrackchanged"; + c.aX = "trickplayframeschanged"; + c.xJb = "mutedchanged"; + c.cYb = "volumechanged"; + c.eTb = "showsubtitle"; + c.PPb = "removesubtitle"; + c.jYb = "watermark"; + c.ama = "isReadyToTransition"; + c.tL = "inactivated"; + c.ZVa = "internalPlaybackError"; + c.oRb = "segmentmaploaded"; + c.pRb = "segmentpresenting"; c.imb = "autoplaywasallowed"; c.jmb = "autoplaywasblocked"; - })(b.Rb || (b.Rb = {})); - (b.tI || (b.tI = {})).q7 = "playgraphsegmenttransition"; - b.F$ = a; + })(b.Ub || (b.Ub = {})); + (b.LD || (b.LD = {})).jW = "playgraphsegmenttransition"; + b.x$ = a; a.M2a = "serverTimeChanged"; (function (c) { - c.pR = "aseException"; - c.OJ = "aseReport"; + c.RJ = "aseReport"; c.emb = "authorized"; - c.dfa = "autoplayWasAllowed"; - c.El = "autoplayWasBlocked"; + c.Xea = "autoplayWasAllowed"; + c.Cl = "autoplayWasBlocked"; c.vmb = "bandwidthMeterAggregateUpdate"; - c.Bx = "bufferUnderrun"; + c.Gx = "bufferUnderrun"; c.closed = "closed"; c.dg = "closing"; - c.Iq = "currentTimeChanged"; - c.iF = "downloadComplete"; - c.qL = "inactivated"; - c.kXa = "licenseAdded"; - c.LL = "licensed"; - c.pv = "locationSelected"; - c.OL = "manifestClosing"; - c.sv = "manifestPresenting"; - c.O5b = "manifestSelected"; + c.Jq = "currentTimeChanged"; + c.lF = "downloadComplete"; + c.tL = "inactivated"; + c.iXa = "licenseAdded"; + c.NL = "licensed"; + c.vv = "locationSelected"; + c.QL = "manifestClosing"; + c.yv = "manifestPresenting"; c.i5 = "mediaBufferChanged"; c.O5 = "nextBranchingSegmentChosen"; - c.ot = "playbackStart"; - c.Gp = "playbackReady"; - c.Zl = "repositioned"; - c.EG = "repositioning"; - c.s2a = "safePlayRequested"; - c.eRb = "segmentAborted"; - c.NG = "segmentPresenting"; - c.u7b = "segmentComplete"; - c.gRb = "segmentLastPts"; - c.kRb = "segmentStarting"; - c.lN = "serverSwitch"; - c.A3a = "shouldUpdateVideoDiagInfo"; - c.GN = "subtitleError"; - c.Ysa = "throttledMediaTimeChanged"; - c.M5a = "unthrottledMediaTimeChanged"; - c.LN = "timedTextRebuffer"; - c.kH = "timedTextTrackListChanged"; - c.bX = "trickPlayFramesChanged"; - c.dX = "tryRecoverFromStall"; - c.Kta = "updateNextBranchingSegmentWeights"; - c.uXb = "userInitiatedPause"; - c.w6a = "userInitiatedResume"; - })(b.W || (b.W = {})); + c.tt = "playbackStart"; + c.Jp = "playbackReady"; + c.Xl = "repositioned"; + c.LG = "repositioning"; + c.r2a = "safePlayRequested"; + c.WG = "segmentPresenting"; + c.I7b = "segmentComplete"; + c.mN = "serverSwitch"; + c.B3a = "shouldUpdateVideoDiagInfo"; + c.HN = "subtitleError"; + c.Tsa = "throttledMediaTimeChanged"; + c.O5a = "unthrottledMediaTimeChanged"; + c.MN = "timedTextRebuffer"; + c.sH = "timedTextTrackListChanged"; + c.aX = "trickPlayFramesChanged"; + c.cX = "tryRecoverFromStall"; + c.Fta = "updateNextBranchingSegmentWeights"; + c.wXb = "userInitiatedPause"; + c.z6a = "userInitiatedResume"; + })(b.Z || (b.Z = {})); (function (c) { - c[c.kI = 0] = "NOTLOADED"; + c[c.rI = 0] = "NOTLOADED"; c[c.LOADING = 1] = "LOADING"; - c[c.$d = 2] = "NORMAL"; + c[c.Yd = 2] = "NORMAL"; c[c.CLOSING = 3] = "CLOSING"; c[c.CLOSED = 4] = "CLOSED"; - })(b.Gb || (b.Gb = {})); + })(b.Jb || (b.Jb = {})); (function (c) { - c[c.$d = 1] = "NORMAL"; + c[c.Yd = 1] = "NORMAL"; c[c.Sc = 2] = "BUFFERING"; - c[c.QFa = 3] = "STALLED"; - })(b.$e || (b.$e = {})); + c[c.NFa = 3] = "STALLED"; + })(b.af || (b.af = {})); (function (c) { - c[c.Jg = 1] = "WAITING"; - c[c.yc = 2] = "PLAYING"; + c[c.Hg = 1] = "WAITING"; + c[c.Ac = 2] = "PLAYING"; c[c.Wh = 3] = "PAUSED"; - c[c.au = 4] = "ENDED"; - })(b.Bb || (b.Bb = {})); + c[c.fu = 4] = "ENDED"; + })(b.Eb || (b.Eb = {})); (function (c) { - c[c.yw = 0] = "INITIAL"; - c[c.Iw = 1] = "SEEK"; - c[c.xI = 2] = "TRACK_CHANGED"; - c[c.HD = 3] = "SEGMENT_CHANGED"; + c[c.Ew = 0] = "INITIAL"; + c[c.mA = 1] = "SEEK"; + c[c.NP = 2] = "TRACK_CHANGED"; + c[c.CI = 3] = "SEGMENT_CHANGED"; c[c.tY = 4] = "FORCE_REBUFFER"; - })(b.Jd || (b.Jd = {})); - }, function (q, b) { + })(b.me || (b.me = {})); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.ka = !1; - }, function (q, b) { + b.ia = !1; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.zd = "ApplicationSymbol"; - }, function (q, b, a) { + }, function (r, b, a) { function c(f, k) { return b.En.assert(f, k); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Wsb = b.eha = b.Psb = b.Tsb = b.nK = b.jS = b.Ssb = b.Usb = b.oK = b.DPa = b.Rsb = b.Qsb = b.gb = b.En = b.Vsb = b.M7a = void 0; - q = a(7); + b.Ysb = b.Zga = b.Rsb = b.Vsb = b.rK = b.iS = b.Usb = b.Wsb = b.sK = b.CPa = b.Tsb = b.Ssb = b.gb = b.En = b.Xsb = b.O7a = void 0; + r = a(7); a = a(91); - b.M7a = function () { + b.O7a = function () { c(!1); }; - b.Vsb = !0; - b.En = q.ha.get(a.Yt); + b.Xsb = !0; + b.En = r.ha.get(a.cu); b.gb = c; - b.Qsb = function (f, k) { + b.Ssb = function (f, k) { return b.En.zlb(f, k); }; - b.Rsb = function (f, k) { + b.Tsb = function (f, k) { return b.En.Alb(f, k); }; - b.DPa = function (f, k) { - return b.En.G0(f, k); + b.CPa = function (f, k) { + return b.En.I0(f, k); }; - b.oK = function (f, k) { + b.sK = function (f, k) { return b.En.Glb(f, k); }; - b.Usb = function (f, k) { + b.Wsb = function (f, k) { return b.En.Elb(f, k); }; - b.Ssb = function (f, k) { - return b.En.Sea(f, k); + b.Usb = function (f, k) { + return b.En.Lea(f, k); }; - b.jS = function (f, k) { + b.iS = function (f, k) { return b.En.Clb(f, k); }; - b.nK = function (f, k) { + b.rK = function (f, k) { return b.En.Flb(f, k); }; - b.Tsb = function (f, k) { + b.Vsb = function (f, k) { return b.En.Dlb(f, k); }; - b.Psb = function (f, k) { + b.Rsb = function (f, k) { return b.En.ylb(f, k); }; - b.eha = function (f, k) { + b.Zga = function (f, k) { return b.En.Blb(f, k); }; - b.Wsb = function () { - return b.En.kEb(); + b.Ysb = function () { + return b.En.nEb(); }; - }, function (q, b) { + }, function (r, b) { function a(c, f) { var k, l, @@ -20553,20 +20549,20 @@ a000.D9b = function () { } }); b.S = void 0; - q = (function () { + r = (function () { function c(f, k) { - "object" === typeof f ? (this.cc = f.Wb, this.eb = f.U) : (this.cc = f, this.eb = k); + "object" === typeof f ? (this.dc = f.Zb, this.eb = f.U) : (this.dc = f, this.eb = k); } c.compare = function (f, k) { return f.Wk(k); }; c.abs = function (f) { - return new c(Math.abs(f.cc), f.eb); + return new c(Math.abs(f.dc), f.eb); }; c.rb = function (f) { return 0 === f ? c.hb : new c(f, 1E3); }; - c.VW = function (f, k) { + c.UW = function (f, k) { return Math.floor(1E3 * f / k); }; c.F5 = function (f, k) { @@ -20589,9 +20585,9 @@ a000.D9b = function () { }); }; Object.defineProperties(c.prototype, { - Wb: { + Zb: { get: function () { - return this.cc; + return this.dc; }, enumerable: !1, configurable: !0 @@ -20609,26 +20605,26 @@ a000.D9b = function () { Object.defineProperties(c.prototype, { V: { get: function () { - return c.VW(this.cc, this.eb); + return c.UW(this.dc, this.eb); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(c.prototype, { - vG: { + BG: { get: function () { - return 1E3 * this.cc / this.eb; + return 1E3 * this.dc / this.eb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(c.prototype, { - HG: { + OG: { get: function () { var f; - f = this.vG; + f = this.BG; return 0 > f ? Math.ceil(f) : Math.floor(f); }, enumerable: !1, @@ -20636,69 +20632,69 @@ a000.D9b = function () { } }); Object.defineProperties(c.prototype, { - Wg: { + Ug: { get: function () { - return this.cc / this.eb; + return this.dc / this.eb; }, enumerable: !1, configurable: !0 } }); - c.prototype.Vf = function (f) { + c.prototype.Wf = function (f) { f /= this.eb; - return new c(Math.floor(this.cc * f), Math.floor(this.eb * f)); + return new c(Math.floor(this.dc * f), Math.floor(this.eb * f)); }; c.prototype.add = function (f) { var k; if (this.eb === f.eb) - return new c(this.cc + f.cc, this.eb); + return new c(this.dc + f.dc, this.eb); k = a(this.eb, f.eb); - return new c(this.cc * k / this.eb + f.cc * k / f.eb, k); + return new c(this.dc * k / this.eb + f.dc * k / f.eb, k); }; - c.prototype.Ba = function (f) { + c.prototype.Da = function (f) { var k; if (this.eb === f.eb) - return new c(this.cc - f.cc, this.eb); + return new c(this.dc - f.dc, this.eb); k = a(this.eb, f.eb); - return new c(this.cc * k / this.eb - f.cc * k / f.eb, k); + return new c(this.dc * k / this.eb - f.dc * k / f.eb, k); }; - c.prototype.mC = function (f) { - return new c(this.cc * f, this.eb); + c.prototype.oC = function (f) { + return new c(this.dc * f, this.eb); }; c.prototype.Yk = function (f) { var k; if ("number" === typeof f) { - k = a(this.cc, f); - return k !== this.cc ? this.Vf(k / this.cc * this.eb).Yk(f) : new c(this.cc / f, this.eb); + k = a(this.dc, f); + return k !== this.dc ? this.Wf(k / this.dc * this.eb).Yk(f) : new c(this.dc / f, this.eb); } if (this.eb === f.eb) - return this.cc / f.cc; + return this.dc / f.dc; k = a(this.eb, f.eb); - return this.cc * k / this.eb / (f.cc * k / f.eb); + return this.dc * k / this.eb / (f.dc * k / f.eb); }; - c.prototype.bQa = function (f) { + c.prototype.$Pa = function (f) { var k; if (this.eb === f.eb) - return new c(Math.abs(this.cc - f.cc), this.eb); + return new c(Math.abs(this.dc - f.dc), this.eb); k = a(this.eb, f.eb); - return new c(Math.abs(this.cc * k / this.eb - f.cc * k / f.eb), k); + return new c(Math.abs(this.dc * k / this.eb - f.dc * k / f.eb), k); }; - c.prototype.yqa = function () { - return new c(this.eb, this.cc); + c.prototype.sqa = function () { + return new c(this.eb, this.dc); }; c.prototype.compare = function (f, k) { var l; if (this.eb === k.eb) - return f(this.cc, k.cc); + return f(this.dc, k.dc); l = a(this.eb, k.eb); - return f(this.cc * l / this.eb, k.cc * l / k.eb); + return f(this.dc * l / this.eb, k.dc * l / k.eb); }; c.prototype.Wk = function (f) { var k; if (this.eb === f.eb) - return this.cc - f.cc; + return this.dc - f.dc; k = a(this.eb, f.eb); - return this.cc * k / this.eb - f.cc * k / f.eb; + return this.dc * k / this.eb - f.dc * k / f.eb; }; c.prototype.equal = function (f) { return this.compare(function (k, l) { @@ -20720,428 +20716,428 @@ a000.D9b = function () { return k > l; }, f); }; - c.prototype.Fy = function (f) { + c.prototype.Iy = function (f) { return this.compare(function (k, l) { return k <= l; }, f); }; - c.prototype.xp = function (f) { + c.prototype.On = function (f) { return this.compare(function (k, l) { return k >= l; }, f); }; c.prototype.isFinite = function () { - return !!this.eb && isFinite(this.cc); + return !!this.eb && isFinite(this.dc); }; - c.prototype.s3 = function (f) { + c.prototype.t3 = function (f) { return a(this.U, f); }; c.prototype.toJSON = function () { return { - ticks: this.cc, + ticks: this.dc, timescale: this.eb }; }; c.prototype.toString = function () { - return this.cc + "/" + this.eb; + return this.dc + "/" + this.eb; }; - c.prototype.Nd = function () { - return this.cc + "/" + this.eb + " (" + this.V + "ms)"; + c.prototype.Ld = function () { + return this.dc + "/" + this.eb + " (" + this.V + "ms)"; }; c.hb = new c(0, 1E3); - c.Cv = new c(1, 1E3); - c.PB = new c(Infinity, 1); + c.Iv = new c(1, 1E3); + c.RB = new c(Infinity, 1); return c; })(); - b.S = q; - }, function (q, b, a) { + b.S = r; + }, function (r, b, a) { function c() { - c = Object.assign || (function (G) { - for (var I, J = 1, H = arguments.length; J < H; J++) { - I = arguments[J]; - for (var M in I) { - Object.prototype.hasOwnProperty.call(I, M) && (G[M] = I[M]); + c = Object.assign || (function (F) { + for (var J, K = 1, H = arguments.length; K < H; K++) { + J = arguments[K]; + for (var L in J) { + Object.prototype.hasOwnProperty.call(J, L) && (F[L] = J[L]); } } - return G; + return F; }); return c.apply(this, arguments); } - function f(G, I) { + function f(F, J) { f = Object.setPrototypeOf || ({ __proto__: [] - })instanceof Array && (function (J, H) { - J.__proto__ = H; - }) || (function (J, H) { - for (var M in H) { - H.hasOwnProperty(M) && (J[M] = H[M]); + })instanceof Array && (function (K, H) { + K.__proto__ = H; + }) || (function (K, H) { + for (var L in H) { + H.hasOwnProperty(L) && (K[L] = H[L]); } }); - return f(G, I); + return f(F, J); } - function k(G, I) { - function J() { - this.constructor = G; + function k(F, J) { + function K() { + this.constructor = F; } - f(G, I); - G.prototype = null === I ? Object.create(I) : (J.prototype = I.prototype, new J()); + f(F, J); + F.prototype = null === J ? Object.create(J) : (K.prototype = J.prototype, new K()); } - function l(G, I) { - var J, + function l(F, J) { + var K, H, - M; - J = {}; - for (H in G) { - Object.prototype.hasOwnProperty.call(G, H) && 0 > I.indexOf(H) && (J[H] = G[H]); + L; + K = {}; + for (H in F) { + Object.prototype.hasOwnProperty.call(F, H) && 0 > J.indexOf(H) && (K[H] = F[H]); } - if (null != G && "function" === typeof Object.getOwnPropertySymbols) { - M = 0; - for (H = Object.getOwnPropertySymbols(G); M < H.length; M++) { - 0 > I.indexOf(H[M]) && Object.prototype.propertyIsEnumerable.call(G, H[M]) && (J[H[M]] = G[H[M]]); + if (null != F && "function" === typeof Object.getOwnPropertySymbols) { + L = 0; + for (H = Object.getOwnPropertySymbols(F); L < H.length; L++) { + 0 > J.indexOf(H[L]) && Object.prototype.propertyIsEnumerable.call(F, H[L]) && (K[H[L]] = F[H[L]]); } } - return J; + return K; } - function d(G, I, J, H) { - var M, - O, - L; - M = arguments.length; - O = 3 > M ? I : null === H ? H = Object.getOwnPropertyDescriptor(I, J) : H; - if ("object" === typeof Reflect && "function" === typeof Reflect.Jq) - O = Reflect.Jq(G, I, J, H); + function d(F, J, K, H) { + var L, + Q, + I; + L = arguments.length; + Q = 3 > L ? J : null === H ? H = Object.getOwnPropertyDescriptor(J, K) : H; + if ("object" === typeof Reflect && "function" === typeof Reflect.Kq) + Q = Reflect.Kq(F, J, K, H); else - for (var P = G.length - 1; 0 <= P; P--) { - if (L = G[P]) - O = (3 > M ? L(O) : 3 < M ? L(I, J, O) : L(I, J)) || O; + for (var O = F.length - 1; 0 <= O; O--) { + if (I = F[O]) + Q = (3 > L ? I(Q) : 3 < L ? I(J, K, Q) : I(J, K)) || Q; } - return (3 < M && O && Object.defineProperty(I, J, O), O); + return (3 < L && Q && Object.defineProperty(J, K, Q), Q); } - function g(G, I) { - return function (J, H) { - I(J, H, G); + function g(F, J) { + return function (K, H) { + J(K, H, F); }; } - function h(G, I) { + function h(F, J) { if ("object" === typeof Reflect && "function" === typeof Reflect.xd) - return Reflect.xd(G, I); + return Reflect.xd(F, J); } - function m(G, I, J, H) { - function M(O) { - return O instanceof J ? O : new J(function (L) { - L(O); + function m(F, J, K, H) { + function L(Q) { + return Q instanceof K ? Q : new K(function (I) { + I(Q); }); } - return new(J || (J = Promise))(function (O, L) { - function P(Q) { + return new(K || (K = Promise))(function (Q, I) { + function O(P) { try { - K(H.next(Q)); - } catch (N) { - L(N); + M(H.next(P)); + } catch (R) { + I(R); } } - function R(Q) { + function N(P) { try { - K(H["throw"](Q)); - } catch (N) { - L(N); + M(H["throw"](P)); + } catch (R) { + I(R); } } - function K(Q) { - Q.done ? O(Q.value) : M(Q.value).then(P, R); + function M(P) { + P.done ? Q(P.value) : L(P.value).then(O, N); } - K((H = H.apply(G, I || [])).next()); + M((H = H.apply(F, J || [])).next()); }); } - function n(G, I) { - var M, + function n(F, J) { + var L, + Q, + I, O, - L, - P, - R; - function J(K) { - return function (Q) { - return H([K, Q]); + N; + function K(M) { + return function (P) { + return H([M, P]); }; } - function H(K) { - if (O) + function H(M) { + if (Q) throw new TypeError("Generator is already executing."); - for (; M; ) { + for (; L; ) { try { - if ((O = 1, L && (P = K[0] & 2 ? L["return"] : K[0] ? L["throw"] || ((P = L["return"]) && P.call(L), 0) : L.next) && !(P = P.call(L, K[1])).done)) - return P; - if ((L = 0, P)) - K = [K[0] & 2, P.value]; - switch (K[0]) { + if ((Q = 1, I && (O = M[0] & 2 ? I["return"] : M[0] ? I["throw"] || ((O = I["return"]) && O.call(I), 0) : I.next) && !(O = O.call(I, M[1])).done)) + return O; + if ((I = 0, O)) + M = [M[0] & 2, O.value]; + switch (M[0]) { case 0: case 1: - P = K; + O = M; break; case 4: - return (M.label++, { - value: K[1], + return (L.label++, { + value: M[1], done: !1 }); case 5: - M.label++; - L = K[1]; - K = [0]; + L.label++; + I = M[1]; + M = [0]; continue; case 7: - K = M.Tm.pop(); - M.gn.pop(); + M = L.Sm.pop(); + L.gn.pop(); continue; default: - if (!(P = M.gn, P = 0 < P.length && P[P.length - 1]) && (6 === K[0] || 2 === K[0])) { - M = 0; + if (!(O = L.gn, O = 0 < O.length && O[O.length - 1]) && (6 === M[0] || 2 === M[0])) { + L = 0; continue; } - if (3 === K[0] && (!P || K[1] > P[0] && K[1] < P[3])) - M.label = K[1]; - else if (6 === K[0] && M.label < P[1]) - (M.label = P[1], P = K); - else if (P && M.label < P[2]) - (M.label = P[2], M.Tm.push(K)); + if (3 === M[0] && (!O || M[1] > O[0] && M[1] < O[3])) + L.label = M[1]; + else if (6 === M[0] && L.label < O[1]) + (L.label = O[1], O = M); + else if (O && L.label < O[2]) + (L.label = O[2], L.Sm.push(M)); else { - P[2] && M.Tm.pop(); - M.gn.pop(); + O[2] && L.Sm.pop(); + L.gn.pop(); continue; } } - K = I.call(G, M); - } catch (Q) { - K = [6, Q]; - L = 0; + M = J.call(F, L); + } catch (P) { + M = [6, P]; + I = 0; } finally { - O = P = 0; + Q = O = 0; } } - if (K[0] & 5) - throw K[1]; + if (M[0] & 5) + throw M[1]; return { - value: K[0] ? K[1] : void 0, + value: M[0] ? M[1] : void 0, done: !0 }; } - M = { + L = { label: 0, - Oe: function () { - if (P[0] & 1) - throw P[1]; - return P[1]; + Wd: function () { + if (O[0] & 1) + throw O[1]; + return O[1]; }, gn: [], - Tm: [] + Sm: [] }; - return (R = { - next: J(0), - "throw": J(1), - "return": J(2) - }, "function" === typeof Symbol && (R[Symbol.iterator] = function () { + return (N = { + next: K(0), + "throw": K(1), + "return": K(2) + }, "function" === typeof Symbol && (N[Symbol.iterator] = function () { return this; - }), R); + }), N); } - function r(G, I, J, H) { - void 0 === H && (H = J); - G[H] = I[J]; + function q(F, J, K, H) { + void 0 === H && (H = K); + F[H] = J[K]; } - function p(G, I) { - for (var J in G) { - "default" === J || I.hasOwnProperty(J) || (I[J] = G[J]); + function p(F, J) { + for (var K in F) { + "default" === K || J.hasOwnProperty(K) || (J[K] = F[K]); } } - function u(G) { - var I, - J, + function t(F) { + var J, + K, H; - I = "function" === typeof Symbol && Symbol.iterator; - J = I && G[I]; + J = "function" === typeof Symbol && Symbol.iterator; + K = J && F[J]; H = 0; - if (J) - return J.call(G); - if (G && "number" === typeof G.length) + if (K) + return K.call(F); + if (F && "number" === typeof F.length) return { next: function () { - G && H >= G.length && (G = void 0); + F && H >= F.length && (F = void 0); return { - value: G && G[H++], - done: !G + value: F && F[H++], + done: !F }; } }; - throw new TypeError(I ? "Object is not iterable." : "Symbol.iterator is not defined."); + throw new TypeError(J ? "Object is not iterable." : "Symbol.iterator is not defined."); } - function t(G, I) { - var J, + function u(F, J) { + var K, H, - M; - J = "function" === typeof Symbol && G[Symbol.iterator]; - if (!J) - return G; - G = J.call(G); - M = []; + L; + K = "function" === typeof Symbol && F[Symbol.iterator]; + if (!K) + return F; + F = K.call(F); + L = []; try { - for (; (void 0 === I || 0 < I--) && !(H = G.next()).done; ) { - M.push(H.value); + for (; (void 0 === J || 0 < J--) && !(H = F.next()).done; ) { + L.push(H.value); } - } catch (L) { - var O; - O = { - error: L + } catch (I) { + var Q; + Q = { + error: I }; } finally { try { - H && !H.done && (J = G["return"]) && J.call(G); + H && !H.done && (K = F["return"]) && K.call(F); } finally { - if (O) - throw O.error; + if (Q) + throw Q.error; } } - return M; + return L; } function w() { - for (var G = [], I = 0; I < arguments.length; I++) { - G = G.concat(t(arguments[I])); + for (var F = [], J = 0; J < arguments.length; J++) { + F = F.concat(u(arguments[J])); } - return G; + return F; } function v() { var H; - for (var G = 0, I = 0, J = arguments.length; I < J; I++) { - G += arguments[I].length; + for (var F = 0, J = 0, K = arguments.length; J < K; J++) { + F += arguments[J].length; } - G = Array(G); + F = Array(F); H = 0; - for (I = 0; I < J; I++) { - for (var M = arguments[I], O = 0, L = M.length; O < L; (O++, H++)) { - G[H] = M[O]; + for (J = 0; J < K; J++) { + for (var L = arguments[J], Q = 0, I = L.length; Q < I; (Q++, H++)) { + F[H] = L[Q]; } } - return G; + return F; } - function x(G) { - return this instanceof x ? (this.SC = G, this) : new x(G); + function x(F) { + return this instanceof x ? (this.TC = F, this) : new x(F); } - function y(G, I, J) { - var R, - K, - Q; - function H(N) { - R[N] && (K[N] = function (da) { - return new Promise(function (na, va) { - 1 < Q.push([N, da, na, va]) || M(N, da); + function y(F, J, K) { + var N, + M, + P; + function H(R) { + N[R] && (M[R] = function (ea) { + return new Promise(function (pa, va) { + 1 < P.push([R, ea, pa, va]) || L(R, ea); }); }); } - function M(N, da) { - var na; + function L(R, ea) { + var pa; try { - na = R[N](da); - na.value instanceof x ? Promise.resolve(na.value.SC).then(O, L) : P(Q[0][2], na); + pa = N[R](ea); + pa.value instanceof x ? Promise.resolve(pa.value.TC).then(Q, I) : O(P[0][2], pa); } catch (va) { - P(Q[0][3], va); + O(P[0][3], va); } } - function O(N) { - M("next", N); + function Q(R) { + L("next", R); } - function L(N) { - M("throw", N); + function I(R) { + L("throw", R); } - function P(N, da) { - (N(da), Q.shift(), Q.length) && M(Q[0][0], Q[0][1]); + function O(R, ea) { + (R(ea), P.shift(), P.length) && L(P[0][0], P[0][1]); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - R = J.apply(G, I || []); - Q = []; - return (K = {}, H("next"), H("throw"), H("return"), K[Symbol.asyncIterator] = function () { + N = K.apply(F, J || []); + P = []; + return (M = {}, H("next"), H("throw"), H("return"), M[Symbol.asyncIterator] = function () { return this; - }, K); + }, M); } - function z(G) { - var J, + function z(F) { + var K, H; - function I(M, O) { - J[M] = G[M] ? function (L) { + function J(L, Q) { + K[L] = F[L] ? function (I) { return (H = !H) ? { - value: x(G[M](L)), - done: "return" === M + value: x(F[L](I)), + done: "return" === L } - : O ? O(L) : L; + : Q ? Q(I) : I; } - : O; + : Q; } - return (J = {}, I("next"), I("throw", function (M) { - throw M; - }), I("return"), J[Symbol.iterator] = function () { + return (K = {}, J("next"), J("throw", function (L) { + throw L; + }), J("return"), K[Symbol.iterator] = function () { return this; - }, J); + }, K); } - function B(G) { + function A(F) { var H, - M; - function I(O) { - M[O] = G[O] && (function (L) { - return new Promise(function (P, R) { - L = G[O](L); - J(P, R, L.done, L.value); + L; + function J(Q) { + L[Q] = F[Q] && (function (I) { + return new Promise(function (O, N) { + I = F[Q](I); + K(O, N, I.done, I.value); }); }); } - function J(O, L, P, R) { - Promise.resolve(R).then(function (K) { - O({ - value: K, - done: P + function K(Q, I, O, N) { + Promise.resolve(N).then(function (M) { + Q({ + value: M, + done: O }); - }, L); + }, I); } if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - H = G[Symbol.asyncIterator]; - return H ? H.call(G) : (G = "function" === typeof u ? u(G) : G[Symbol.iterator](), M = {}, I("next"), I("throw"), I("return"), M[Symbol.asyncIterator] = function () { + H = F[Symbol.asyncIterator]; + return H ? H.call(F) : (F = "function" === typeof t ? t(F) : F[Symbol.iterator](), L = {}, J("next"), J("throw"), J("return"), L[Symbol.asyncIterator] = function () { return this; - }, M); + }, L); } - function A(G, I) { - Object.defineProperty ? Object.defineProperty(G, "raw", { - value: I - }) : G.raw = I; - return G; + function B(F, J) { + Object.defineProperty ? Object.defineProperty(F, "raw", { + value: J + }) : F.raw = J; + return F; } - function C(G) { - var I; - if (G && G.__esModule) - return G; - I = {}; - if (null != G) - for (var J in G) { - Object.hasOwnProperty.call(G, J) && (I[J] = G[J]); + function C(F) { + var J; + if (F && F.__esModule) + return F; + J = {}; + if (null != F) + for (var K in F) { + Object.hasOwnProperty.call(F, K) && (J[K] = F[K]); } - I.default = G; - return I; + J.default = F; + return J; } - function E(G) { - return G && G.__esModule ? G : { + function E(F) { + return F && F.__esModule ? F : { default: - G + F }; } - function F(G, I) { - if (!I.has(G)) + function G(F, J) { + if (!J.has(F)) throw new TypeError("attempted to get private field on non-instance"); - return I.get(G); + return J.get(F); } - function D(G, I, J) { - if (!I.has(G)) + function D(F, J, K) { + if (!J.has(F)) throw new TypeError("attempted to set private field on non-instance"); - I.set(G, J); - return J; + J.set(F, K); + return K; } a.r(b); a.d(b, "__extends", function () { @@ -21169,16 +21165,16 @@ a000.D9b = function () { return n; }); a.d(b, "__createBinding", function () { - return r; + return q; }); a.d(b, "__exportStar", function () { return p; }); a.d(b, "__values", function () { - return u; + return t; }); a.d(b, "__read", function () { - return t; + return u; }); a.d(b, "__spread", function () { return w; @@ -21196,10 +21192,10 @@ a000.D9b = function () { return z; }); a.d(b, "__asyncValues", function () { - return B; + return A; }); a.d(b, "__makeTemplateObject", function () { - return A; + return B; }); a.d(b, "__importStar", function () { return C; @@ -21208,12 +21204,12 @@ a000.D9b = function () { return E; }); a.d(b, "__classPrivateFieldGet", function () { - return F; + return G; }); a.d(b, "__classPrivateFieldSet", function () { return D; }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -21221,32 +21217,32 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.UOa = b.cSa = b.gy = b.mk = b.vd = b.qv = b.trim = b.QT = b.r4a = b.jqa = b.NLb = b.pe = b.pMa = b.FNa = b.Qb = b.de = void 0; + b.TOa = b.bSa = b.ly = b.mk = b.vd = b.wv = b.trim = b.NT = b.t4a = b.dqa = b.QLb = b.se = b.pMa = b.FNa = b.Tb = b.ae = void 0; c = a(21); f = a(29); k = a(11); l = a(17); - b.de = function (d, g) { + b.ae = function (d, g) { for (var h in d) { d.hasOwnProperty(h) && g(h, d[h]); } }; - b.Qb = b.Qb || (function (d, g, h) { + b.Tb = b.Tb || (function (d, g, h) { var m, n, - r; + q; if (g) if (h) { - m = h.NL; + m = h.PL; n = h.prefix; - r = h.Vy; - b.de(g, function (p, u) { - if (!r || f.Hc(u)) - d[(n || "") + (m ? p.toLowerCase() : p)] = u; + q = h.Yy; + b.ae(g, function (p, t) { + if (!q || f.Jc(t)) + d[(n || "") + (m ? p.toLowerCase() : p)] = t; }); } else - b.de(g, function (p, u) { - d[p] = u; + b.ae(g, function (p, t) { + d[p] = t; }); return d; }); @@ -21254,7 +21250,7 @@ a000.D9b = function () { var n; if (d) { n = d[g]; - l.Kc(n) && (h = n.apply(d, k.slice.call(arguments, 3))); + l.Mc(n) && (h = n.apply(d, k.slice.call(arguments, 3))); } return h; }; @@ -21264,19 +21260,19 @@ a000.D9b = function () { } return g; }; - b.pe = b.pe || (function (d) { + b.se = b.se || (function (d) { return parseInt(d, 10); }); - b.NLb = function (d) { + b.QLb = function (d) { return (/^true$/i).test(d); }; - b.jqa = function (d, g) { - return k.yi(d + k.uD() * (g - d)); + b.dqa = function (d, g) { + return k.yi(d + k.wD() * (g - d)); }; - b.r4a = function (d) { + b.t4a = function (d) { return JSON.stringify(d, null, " "); }; - b.QT = (function () { + b.NT = (function () { var g, h; function d(m) { @@ -21302,7 +21298,7 @@ a000.D9b = function () { return g.replace(d, ""); }; })(); - b.qv = function (d) { + b.wv = function (d) { return Array.isArray(d) ? d : [d]; }; b.vd = b.vd || (function (d) { @@ -21320,217 +21316,217 @@ a000.D9b = function () { } }); b.mk = function (d) { - return l.xa(d) ? d.toFixed(0) : ""; + return l.ya(d) ? d.toFixed(0) : ""; }; - b.gy = function (d) { - return l.xa(d) ? (d / 1E3).toFixed(0) : ""; + b.ly = function (d) { + return l.ya(d) ? (d / 1E3).toFixed(0) : ""; }; - b.cSa = function (d) { - return l.xa(d) ? d.toFixed() : ""; + b.bSa = function (d) { + return l.ya(d) ? d.toFixed() : ""; }; - b.UOa = function (d) { + b.TOa = function (d) { for (var g = [], h = 0; h < d.length; h++) { g[h] = d[h]; } return g; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qw = b.RHa = b.teb = b.gj = b.ce = b.Bi = b.Wt = b.hm = void 0; + b.xw = b.NHa = b.web = b.ej = b.$d = b.Bi = b.au = b.gm = void 0; (function (a) { a[a.Audio = 0] = "Audio"; - a[a.LHa = 1] = "Video"; - })(b.hm || (b.hm = {})); + a[a.HHa = 1] = "Video"; + })(b.gm || (b.gm = {})); (function (a) { - a[a.Zt = 0] = "Default"; - a[a.Bw = 1] = "Microsoft"; - })(b.Wt || (b.Wt = {})); + a[a.du = 0] = "Default"; + a[a.Hw = 1] = "Microsoft"; + })(b.au || (b.au = {})); (function (a) { - a[a.Zt = 0] = "Default"; - a[a.J9 = 1] = "Cast"; - a[a.LH = 2] = "Chrome"; - a[a.Bw = 3] = "Microsoft"; + a[a.du = 0] = "Default"; + a[a.E9 = 1] = "Cast"; + a[a.TH = 2] = "Chrome"; + a[a.Hw = 3] = "Microsoft"; })(b.Bi || (b.Bi = {})); (function (a) { a[a.KP = 0] = "SD"; a[a.xY = 1] = "HD"; - a[a.AI = 2] = "UHD"; - a[a.Ir = 3] = "DV"; - a[a.xw = 4] = "HDR10"; - a[a.YC = 5] = "AVCHigh"; - a[a.QD = 6] = "VP9"; + a[a.FI = 2] = "UHD"; + a[a.Lr = 3] = "DV"; + a[a.Dw = 4] = "HDR10"; + a[a.$C = 5] = "AVCHigh"; + a[a.TD = 6] = "VP9"; a[a.Fk = 7] = "AV1"; - })(b.ce || (b.ce = {})); + })(b.$d || (b.$d = {})); (function (a) { - a[a.oD = 0] = "Level_1_4"; - a[a.eu = 1] = "Level_2_2"; - })(b.gj || (b.gj = {})); - b.teb = function () {}; + a[a.qD = 0] = "Level_1_4"; + a[a.ju = 1] = "Level_2_2"; + })(b.ej || (b.ej = {})); + b.web = function () {}; (function (a) { a[a.O1b = 0] = "Platform"; - a[a.DZb = 1] = "CurrentTitle"; - })(b.RHa || (b.RHa = {})); - b.qw = "DeviceCapabilitiesSymbol"; - }, function (q, b) { + a[a.EZb = 1] = "CurrentTitle"; + })(b.NHa || (b.NHa = {})); + b.xw = "DeviceCapabilitiesSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Gf = "IsTypeSymbol"; - }, function (q, b) { + b.Hf = "IsTypeSymbol"; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); b.default = { - bZb: { - Kw: 0, + cZb: { + Pw: 0, a2b: 1, name: ["STARTUP", "STEADY"] }, yY: { - Ig: 0, + Gg: 0, $1b: 1, - peb: 2, + seb: 2, name: ["STARTING", "STABLE", "UNSTABLE"] }, - Za: { - Tb: 0, - Hb: 1, + Ra: { + Ob: 0, + Bb: 1, name: ["AUDIO", "VIDEO"] }, Hk: { - Tb: 0, - Hb: 1, + Ob: 0, + Bb: 1, name: ["AUDIO", "VIDEO"] }, - $g: { + Yg: { URL: 0, - KD: 1, + ND: 1, LOCATION: 2, - Ew: 3, + Kw: 3, name: ["URL", "SERVER", "LOCATION", "NETWORK"] }, - wf: { + yf: { HAVE_NOTHING: 0, - Zz: 1, - ww: 2, - YH: 3, + $z: 1, + Cw: 2, + fI: 3, name: ["HAVE_NOTHING", "HAVE_SOMETHING", "HAVE_MINIMUM", "HAVE_ENOUGH"] }, - JD: { - JYb: 0, - F_b: 1, + MD: { + KYb: 0, + G_b: 1, F1b: 2, - N0b: 3, - m1b: 4, + O0b: 3, + n1b: 4, C2b: 5, - H_b: 6, - m0b: 7, - Kw: 8, - uf: 9, - xaa: 10, - cdb: 11, - y9: 12, - gbb: 13, - fbb: 14, - Jdb: 15, - Idb: 16, + I_b: 6, + n0b: 7, + Pw: 8, + wf: 9, + raa: 10, + fdb: 11, + t9: 12, + jbb: 13, + ibb: 14, + Mdb: 15, + Ldb: 16, name: ("maxweightedbw fastselection reuseprevious nextdomain onlychoice tolowgrade fromlowgrade mcqueen startup error probeswitchback probeswitchaway bitrate locswitchback locswitchaway serverswitchback serverswitchaway").split(" ") }, - h_b: { - Ew: 0, - FZb: 1, + i_b: { + Kw: 0, + GZb: 1, name: ["NETWORK", "DECODE"] }, Y1b: { - HZb: "delayedSeamless", - R_b: "hideLongTransition" + IZb: "delayedSeamless", + S_b: "hideLongTransition" } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Hf = "UtilitiesSymbol"; - }, function (q, b, a) { + b.If = "UtilitiesSymbol"; + }, function (r, b, a) { var l, d; function c(g) { return null !== g && void 0 !== g; } function f(g) { - return typeof g == b.UGa; + return typeof g == b.QGa; } function k(g, h, m) { var n, - r, + q, p; if (h) if (m) { - n = m.NL; - r = m.prefix; - p = m.Vy; - d.de(h, function (u, t) { - if (!p || c(t)) - g[(r || "") + (n ? u.toLowerCase() : u)] = t; + n = m.PL; + q = m.prefix; + p = m.Yy; + d.ae(h, function (t, u) { + if (!p || c(u)) + g[(q || "") + (n ? t.toLowerCase() : t)] = u; }); } else - d.de(h, function (u, t) { - g[u] = t; + d.ae(h, function (t, u) { + g[t] = u; }); return g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.M = b.vd = b.QT = b.NK = b.ZE = b.createElement = b.qs = b.oMa = b.j1 = b.sN = b.Qb = b.yo = b.pe = b.Dy = b.ze = b.Sg = b.Hc = b.TGa = b.geb = b.heb = b.UGa = b.WC = b.U8 = b.Fr = b.eO = b.dO = b.Vj = b.QY = b.tD = b.uD = b.xo = b.ln = b.yi = b.aaa = b.Aw = b.NH = b.kcb = b.FD = b.Ik = b.kj = void 0; + b.L = b.vd = b.NT = b.RK = b.bF = b.createElement = b.us = b.oMa = b.l1 = b.tN = b.Tb = b.zo = b.se = b.Gy = b.Be = b.ih = b.Jc = b.PGa = b.jeb = b.keb = b.QGa = b.YC = b.O8 = b.Ir = b.dO = b.cO = b.Vj = b.PY = b.vD = b.wD = b.yo = b.kn = b.yi = b.T$ = b.Gw = b.VH = b.ocb = b.HD = b.Ik = b.Yj = void 0; l = a(11); d = a(24); - b.kj = function () {}; + b.Yj = function () {}; b.Ik = 1E3; - b.FD = Object.create; - b.kcb = Object.keys; - b.NH = Date.now; - b.Aw = Math.floor; - b.aaa = Math.ceil; + b.HD = Object.create; + b.ocb = Object.keys; + b.VH = Date.now; + b.Gw = Math.floor; + b.T$ = Math.ceil; b.yi = Math.round; - b.ln = Math.max; - b.xo = Math.min; - b.uD = Math.random; - b.tD = Math.abs; - b.QY = Math.pow; + b.kn = Math.max; + b.yo = Math.min; + b.wD = Math.random; + b.vD = Math.abs; + b.PY = Math.pow; b.Vj = "$attributes"; - b.dO = "$children"; - b.eO = "$name"; - b.Fr = "$text"; - b.U8 = "$parent"; - b.WC = "$sibling"; - b.UGa = "string"; - b.heb = "number"; - b.geb = "function"; - b.TGa = "object"; - b.Hc = c; - b.Sg = function (g) { - return typeof g == b.TGa; - }; - b.ze = f; - b.Dy = function (g) { + b.cO = "$children"; + b.dO = "$name"; + b.Ir = "$text"; + b.O8 = "$parent"; + b.YC = "$sibling"; + b.QGa = "string"; + b.keb = "number"; + b.jeb = "function"; + b.PGa = "object"; + b.Jc = c; + b.ih = function (g) { + return typeof g == b.PGa; + }; + b.Be = f; + b.Gy = function (g) { return f(g) && g; }; - b.pe = function (g) { + b.se = function (g) { return parseInt(g, 10); }; - b.yo = function (g, h, m) { + b.zo = function (g, h, m) { return g >= h ? g <= m ? g : m : h; }; - b.Qb = k; - b.sN = function (g) { + b.Tb = k; + b.tN = function (g) { return k({}, g); }; - b.j1 = function (g) { + b.l1 = function (g) { var n; for (var h = 0; h < arguments.length; ++h) { ; } @@ -21542,14 +21538,14 @@ a000.D9b = function () { } }; b.oMa = function (g, h) { - for (var m, n = !0, r; n; ) { + for (var m, n = !0, q; n; ) { for ((n = !1, m = g.length); --m; ) { - r = g[m]; - r[h] < g[m - 1][h] && (g[m] = g[m - 1], g[m - 1] = r, n = !0); + q = g[m]; + q[h] < g[m - 1][h] && (g[m] = g[m - 1], g[m - 1] = q, n = !0); } } }; - b.qs = function (g, h) { + b.us = function (g, h) { if (g.length == h.length) { for (var m = g.length; m--; ) { if (g[m] != h[m]) @@ -21560,24 +21556,24 @@ a000.D9b = function () { return !1; }; b.createElement = function (g, h, m, n) { - var r; - r = l.De.createElement(g); - h && (r.style.cssText = h); - m && (r.innerHTML = m); - n && d.de(n, function (p, u) { - r.setAttribute(p, u); + var q; + q = l.Fe.createElement(g); + h && (q.style.cssText = h); + m && (q.innerHTML = m); + n && d.ae(n, function (p, t) { + q.setAttribute(p, t); }); - return r; + return q; }; - b.ZE = function (g) { + b.bF = function (g) { var h; h = ""; - d.de(g, function (m, n) { + d.ae(g, function (m, n) { h += (h ? ";" : "") + m + ":" + n; }); return h; }; - b.NK = function (g, h, m) { + b.RK = function (g, h, m) { var n; if (g / h > m) { n = b.yi(h * m); @@ -21588,7 +21584,7 @@ a000.D9b = function () { height: g }; }; - b.QT = (function () { + b.NT = (function () { var h, m; function g(n) { @@ -21618,16 +21614,16 @@ a000.D9b = function () { return h; } }; - b.M = { - jm: 1001, - fj: 1003, - E$a: 1701, - yya: 1713, - F$a: 1715, - D$a: 1721, + b.L = { + im: 1001, + dj: 1003, + H$a: 1701, + wya: 1713, + I$a: 1715, + G$a: 1721, uY: 1723 }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k) { return k.filter(function (l, d) { @@ -21639,7 +21635,7 @@ a000.D9b = function () { value: !0 } }); - b.S5 = b.fCb = b.Rpb = b.flatten = b.QYa = b.dpb = b.qMa = b.ds = b.nMa = b.lMa = b.qlb = b.fs = b.mMa = b.wg = void 0; + b.S5 = b.hCb = b.Spb = b.flatten = b.NYa = b.epb = b.qMa = b.hs = b.nMa = b.kMa = b.lMa = b.js = b.mMa = b.wg = void 0; f = a(2); b.wg = function (k, l) { for (var d = 0; d < k.length; d++) { @@ -21653,7 +21649,7 @@ a000.D9b = function () { return k[d]; } }; - b.fs = function (k, l) { + b.js = function (k, l) { var d; d = -1; return k.some(function (g, h, m) { @@ -21661,14 +21657,14 @@ a000.D9b = function () { return l(g, h, m); }) ? d : -1; }; - b.qlb = function (k, l) { + b.lMa = function (k, l) { for (var d = k.length - 1; 0 <= d; d--) { if (l(k[d], d, k)) return d; } return -1; }; - b.lMa = c; + b.kMa = c; b.nMa = function (k, l) { l = k.indexOf(l); if (-1 === l) @@ -21676,7 +21672,7 @@ a000.D9b = function () { k.splice(l, 1); return !0; }; - b.ds = function (k, l, d) { + b.hs = function (k, l, d) { return d ? k.filter(function (g) { return !l.some(function (h) { return d(g, h); @@ -21688,12 +21684,12 @@ a000.D9b = function () { b.qMa = function (k, l) { return c(k.concat(l)); }; - b.dpb = function (k) { + b.epb = function (k) { return function (l, d) { return k(l) - k(d); }; }; - b.QYa = function (k) { + b.NYa = function (k) { return function (l, d) { return k(l) < k(d) ? l : d; }; @@ -21702,7 +21698,7 @@ a000.D9b = function () { var l; return (l = []).concat.apply(l, f.__spread(k)); }; - b.Rpb = function (k, l) { + b.Spb = function (k, l) { void 0 === l && (l = function (d) { return d; }); @@ -21711,7 +21707,7 @@ a000.D9b = function () { return (void 0 === d[g] ? d[g] = 1 : ++d[g], d); }, {}); }; - b.fCb = function (k, l) { + b.hCb = function (k, l) { return k.reduce(function (d, g) { var h; h = l(g); @@ -21721,44 +21717,44 @@ a000.D9b = function () { b.S5 = function (k) { return null !== k && void 0 !== k; }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(147); - b.ka = !1; - q = (function () { + b.ia = !1; + r = (function () { function f(k, l, d, g, h) { - this.ia = k; + this.ja = k; this.type = l; this.byteOffset = d; this.byteLength = g; this.parent = h; - this.Sa = {}; - this.Vm = g; + this.Ta = {}; + this.Um = g; } - f.Em = function (k, l) { + f.Cm = function (k, l) { var g, m; function d(n) { - n && n.Em && (n = n.Em(l), n.length && (g = g.concat(n))); + n && n.Cm && (n = n.Cm(l), n.length && (g = g.concat(n))); } g = []; k.type === l && g.push(k); - if (k.Sa) - for (var h in k.Sa) { - m = k.Sa[h]; + if (k.Ta) + for (var h in k.Ta) { + m = k.Ta[h]; Array.isArray(m) && m.forEach(d); } return g; }; - f.$r = function (k, l) { - void 0 === k.Sa[l.type] && (k.Sa[l.type] = []); - k.Sa[l.type].push(l); + f.gs = function (k, l) { + void 0 === k.Ta[l.type] && (k.Ta[l.type] = []); + k.Ta[l.type].push(l); }; f.$k = function (k, l) { - return f.Em(k, l)[0]; + return f.Cm(k, l)[0]; }; Object.defineProperties(f.prototype, { startOffset: { @@ -21781,23 +21777,23 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { u: { get: function () { - return this.ia; + return this.ja; }, enumerable: !0, configurable: !0 } }); - f.prototype.ec = function () { + f.prototype.ic = function () { var k; - k = this.ia.ta(); + k = this.ja.ta(); this.version = k >> 24; this.flags = k & 16777215; }; - f.prototype.$r = function (k) { - f.$r(this, k); + f.prototype.gs = function (k) { + f.gs(this, k); }; - f.prototype.Em = function (k) { - return f.Em(this, k); + f.prototype.Cm = function (k) { + return f.Cm(this, k); }; f.prototype.$k = function (k) { return f.$k(this, k); @@ -21805,31 +21801,31 @@ a000.D9b = function () { f.prototype.parse = function () { return !0; }; - f.prototype.Ds = function () { + f.prototype.Hs = function () { return !0; }; - f.prototype.vh = function (k) { - if ((k = this.Sa[k]) && Array.isArray(k) && 1 === k.length) + f.prototype.uh = function (k) { + if ((k = this.Ta[k]) && Array.isArray(k) && 1 === k.length) return k[0]; }; - f.prototype.re = function (k, l) { - l = void 0 === l ? this.ia.offset : l; - c.assert(l >= this.startOffset + 8 && l + k <= this.startOffset + this.Vm, "Removal range [0x" + l.toString(16) + "-0x" + (l + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Vm).toString(16) + ")"); - this.ia.re(k, l, this); + f.prototype.te = function (k, l) { + l = void 0 === l ? this.ja.offset : l; + c.assert(l >= this.startOffset + 8 && l + k <= this.startOffset + this.Um, "Removal range [0x" + l.toString(16) + "-0x" + (l + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Um).toString(16) + ")"); + this.ja.te(k, l, this); }; - f.prototype.Et = function (k, l, d) { - d = void 0 === d ? this.ia.offset : d; - c.assert(d >= this.startOffset + 8 && d + k <= this.startOffset + this.Vm, "Removal range [0x" + d.toString(16) + "-0x" + (d + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Vm).toString(16) + ")"); - this.ia.Et(k, l, d, this); + f.prototype.Jt = function (k, l, d) { + d = void 0 === d ? this.ja.offset : d; + c.assert(d >= this.startOffset + 8 && d + k <= this.startOffset + this.Um, "Removal range [0x" + d.toString(16) + "-0x" + (d + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Um).toString(16) + ")"); + this.ja.Jt(k, l, d, this); }; - f.prototype.OV = function (k, l, d) { + f.prototype.NV = function (k, l, d) { if (1 < d) { for (var g = []; 0 < d--; ) { - g.push(this.OQ(k, l)); + g.push(this.PQ(k, l)); } return g; } - return this.OQ(k, l); + return this.PQ(k, l); }; f.prototype.oi = function (k) { var l, @@ -21843,34 +21839,34 @@ a000.D9b = function () { h = g.offset; if (0 < h % 8) throw Error("Requested offset " + g.offset + "is not an even byte multiple"); - d.ia.offset += h / 8; + d.ja.offset += h / 8; } else for (h in g) { m = g[h]; - l[h] = "string" === typeof m ? d.OV(m) : d.OV(m.type, m.length, m.Oea); + l[h] = "string" === typeof m ? d.NV(m) : d.NV(m.type, m.length, m.Hea); } }); return l; }; - f.prototype.OQ = function (k, l) { + f.prototype.PQ = function (k, l) { var d; - d = this.byteLength - this.ia.offset + this.startOffset; + d = this.byteLength - this.ja.offset + this.startOffset; "undefined" === typeof l && (l = d); switch (k) { case "int8": - k = this.ia.cb(); + k = this.ja.cb(); break; case "int64": - k = this.ia.Hd(); + k = this.ja.Gd(); break; case "int32": - k = this.ia.ta(); + k = this.ja.ta(); break; case "int16": - k = this.ia.Dc(); + k = this.ja.Gc(); break; case "string": - k = this.ia.nqa(Math.min(l, d)); + k = this.ja.hqa(Math.min(l, d)); break; default: throw Error("Invalid type: " + k); @@ -21880,50 +21876,50 @@ a000.D9b = function () { f.Ka = !1; return f; })(); - b.kc = q; - }, function (q, b) { + b.mc = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Zg = "AsyncComponentLoaderSymbol"; - }, function (q, b, a) { + b.Xg = "AsyncComponentLoaderSymbol"; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(156); - b.ka = !1; - q = (function () { + b.ia = !1; + r = (function () { function f(k, l, d, g, h) { - this.ia = k; + this.ja = k; this.type = l; this.byteOffset = d; this.byteLength = g; this.parent = h; - this.Sa = {}; - this.Vm = g; + this.Ta = {}; + this.Um = g; } - f.Em = function (k, l) { + f.Cm = function (k, l) { var g, m; function d(n) { - n && n.Em && (n = n.Em(l), n.length && (g = g.concat(n))); + n && n.Cm && (n = n.Cm(l), n.length && (g = g.concat(n))); } g = []; k.type === l && g.push(k); - if (k.Sa) - for (var h in k.Sa) { - m = k.Sa[h]; + if (k.Ta) + for (var h in k.Ta) { + m = k.Ta[h]; Array.isArray(m) && m.forEach(d); } return g; }; - f.$r = function (k, l) { - void 0 === k.Sa[l.type] && (k.Sa[l.type] = []); - k.Sa[l.type].push(l); + f.gs = function (k, l) { + void 0 === k.Ta[l.type] && (k.Ta[l.type] = []); + k.Ta[l.type].push(l); }; f.$k = function (k, l) { - return f.Em(k, l)[0]; + return f.Cm(k, l)[0]; }; Object.defineProperties(f.prototype, { startOffset: { @@ -21946,23 +21942,23 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { u: { get: function () { - return this.ia; + return this.ja; }, enumerable: !0, configurable: !0 } }); - f.prototype.ec = function () { + f.prototype.ic = function () { var k; - k = this.ia.ta(); + k = this.ja.ta(); this.version = k >> 24; this.flags = k & 16777215; }; - f.prototype.$r = function (k) { - f.$r(this, k); + f.prototype.gs = function (k) { + f.gs(this, k); }; - f.prototype.Em = function (k) { - return f.Em(this, k); + f.prototype.Cm = function (k) { + return f.Cm(this, k); }; f.prototype.$k = function (k) { return f.$k(this, k); @@ -21970,31 +21966,31 @@ a000.D9b = function () { f.prototype.parse = function () { return !0; }; - f.prototype.Ds = function () { + f.prototype.Hs = function () { return !0; }; - f.prototype.vh = function (k) { - if ((k = this.Sa[k]) && Array.isArray(k) && 1 === k.length) + f.prototype.uh = function (k) { + if ((k = this.Ta[k]) && Array.isArray(k) && 1 === k.length) return k[0]; }; - f.prototype.re = function (k, l) { - l = void 0 === l ? this.ia.offset : l; - c.assert(l >= this.startOffset + 8 && l + k <= this.startOffset + this.Vm, "Removal range [0x" + l.toString(16) + "-0x" + (l + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Vm).toString(16) + ")"); - this.ia.re(k, l, this); + f.prototype.te = function (k, l) { + l = void 0 === l ? this.ja.offset : l; + c.assert(l >= this.startOffset + 8 && l + k <= this.startOffset + this.Um, "Removal range [0x" + l.toString(16) + "-0x" + (l + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Um).toString(16) + ")"); + this.ja.te(k, l, this); }; - f.prototype.Et = function (k, l, d) { - d = void 0 === d ? this.ia.offset : d; - c.assert(d >= this.startOffset + 8 && d + k <= this.startOffset + this.Vm, "Removal range [0x" + d.toString(16) + "-0x" + (d + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Vm).toString(16) + ")"); - this.ia.Et(k, l, d, this); + f.prototype.Jt = function (k, l, d) { + d = void 0 === d ? this.ja.offset : d; + c.assert(d >= this.startOffset + 8 && d + k <= this.startOffset + this.Um, "Removal range [0x" + d.toString(16) + "-0x" + (d + k).toString(16) + ") must be in box [0x" + this.startOffset.toString(16) + "-0x" + (this.startOffset + this.Um).toString(16) + ")"); + this.ja.Jt(k, l, d, this); }; - f.prototype.OV = function (k, l, d) { + f.prototype.NV = function (k, l, d) { if (1 < d) { for (var g = []; 0 < d--; ) { - g.push(this.OQ(k, l)); + g.push(this.PQ(k, l)); } return g; } - return this.OQ(k, l); + return this.PQ(k, l); }; f.prototype.oi = function (k) { var l, @@ -22008,34 +22004,34 @@ a000.D9b = function () { h = g.offset; if (0 < h % 8) throw Error("Requested offset " + g.offset + "is not an even byte multiple"); - d.ia.offset += h / 8; + d.ja.offset += h / 8; } else for (h in g) { m = g[h]; - l[h] = "string" === typeof m ? d.OV(m) : d.OV(m.type, m.length, m.Oea); + l[h] = "string" === typeof m ? d.NV(m) : d.NV(m.type, m.length, m.Hea); } }); return l; }; - f.prototype.OQ = function (k, l) { + f.prototype.PQ = function (k, l) { var d; - d = this.byteLength - this.ia.offset + this.startOffset; + d = this.byteLength - this.ja.offset + this.startOffset; "undefined" === typeof l && (l = d); switch (k) { case "int8": - k = this.ia.cb(); + k = this.ja.cb(); break; case "int64": - k = this.ia.Hd(); + k = this.ja.Gd(); break; case "int32": - k = this.ia.ta(); + k = this.ja.ta(); break; case "int16": - k = this.ia.Dc(); + k = this.ja.Gc(); break; case "string": - k = this.ia.nqa(Math.min(l, d)); + k = this.ja.hqa(Math.min(l, d)); break; default: throw Error("Invalid type: " + k); @@ -22045,175 +22041,175 @@ a000.D9b = function () { f.Ka = !1; return f; })(); - b.kc = q; - }, function (q, b) { + b.mc = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.Kk = "PlatformSymbol"; - b.kA = "PlatformMutableSymbol"; - }, function (q, b) { + b.lA = "PlatformMutableSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.Rh = "Base64EncoderSymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.WHa = "WindowTimersSymbol"; - b.mD = "JSONSymbol"; - b.DHa = "UserAgentSymbol"; - b.lI = "NavigatorSymbol"; - b.Kbb = "MediaSourceSymbol"; - b.DAa = "LocationSymbol"; - b.Ywa = "DateSymbol"; - b.Gaa = "PerformanceSymbol"; + b.UHa = "WindowTimersSymbol"; + b.oD = "JSONSymbol"; + b.zHa = "UserAgentSymbol"; + b.sI = "NavigatorSymbol"; + b.Obb = "MediaSourceSymbol"; + b.BAa = "LocationSymbol"; + b.Vwa = "DateSymbol"; + b.zaa = "PerformanceSymbol"; b.CP = "PlatformExtraInfoSymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.L9 = "ConfigurableInputsSymbol"; - b.km = "ValidatingConfigurableInputsSymbol"; + b.G9 = "ConfigurableInputsSymbol"; + b.jm = "ValidatingConfigurableInputsSymbol"; b.vO = "ConfigNameSymbol"; - b.gP = "InitParamsSymbol"; - }, function (q, b) { + b.hP = "InitParamsSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gm = b.hu = b.vw = void 0; + b.fm = b.ou = b.Bw = void 0; (function (a) { - a[a.XGa = 0] = "Test"; - a[a.bAa = 1] = "Int"; - a[a.Ydb = 2] = "Staging"; - a[a.rdb = 3] = "Prod"; - })(b.vw || (b.vw = {})); + a[a.TGa = 0] = "Test"; + a[a.$za = 1] = "Int"; + a[a.aeb = 2] = "Staging"; + a[a.udb = 3] = "Prod"; + })(b.Bw || (b.Bw = {})); (function (a) { a[a.EP = 0] = "PreferMsl"; - a[a.ZEa = 1] = "PreferNoMsl"; - a[a.ecb = 2] = "NoMsl"; - })(b.hu || (b.hu = {})); - b.gm = "GeneralConfigSymbol"; - }, function (q, b, a) { + a[a.WEa = 1] = "PreferNoMsl"; + a[a.icb = 2] = "NoMsl"; + })(b.ou || (b.ou = {})); + b.fm = "GeneralConfigSymbol"; + }, function (r, b, a) { var l, d; function c(g, h) { - return g && g.Vs && (h || !1 !== g.ev); + return g && g.$s && (h || !1 !== g.kv); } function f(g, h, m) { - return !l.xa(g) || g < h ? h : g > m ? m : g; + return !l.ya(g) || g < h ? h : g > m ? m : g; } function k(g) { if (!(this instanceof k)) return new k(g); - this.ie = l.xa(g) ? g : void 0; + this.he = l.ya(g) ? g : void 0; } l = a(10); - d = new(a(4).default.Console)("ASEJS_STREAM_SELECTOR", "media|asejs"); - q.exports = { + d = new(a(5).default.Console)("ASEJS_STREAM_SELECTOR", "media|asejs"); + r.exports = { console: d, debug: !1, assert: function (g, h) { if (!g) throw (g = h ? " : " + h : "", d.error("Assertion failed" + g), Error("ASEJS_STREAM_SELECTOR assertion failed" + g)); }, - GL: c, - Oia: function (g, h, m) { - var r, + IL: c, + Hia: function (g, h, m) { + var q, p, - u, - t; + t, + u; function n(w) { var v; v = g[w]; - if (!v.Vs || m && !m(v, w)) + if (!v.$s || m && !m(v, w)) return !1; - t = w; + u = w; return !0; } - r = g.length; + q = g.length; p = 0; - u = r; - l.isArray(h) && (p = f(h[0], 0, r), u = f(h[1], 0, r), h = h[2]); - h = f(h, p - 1, u); - for (r = h - 1; r >= p; --r) { - if (n(r)) - return t; + t = q; + l.isArray(h) && (p = f(h[0], 0, q), t = f(h[1], 0, q), h = h[2]); + h = f(h, p - 1, t); + for (q = h - 1; q >= p; --q) { + if (n(q)) + return u; } - for (r = h + 1; r < u; ++r) { - if (n(r)) - return t; + for (q = h + 1; q < t; ++q) { + if (n(q)) + return u; } return -1; }, - nJb: function (g, h) { + pJb: function (g, h) { return Math.floor(g / (125 * h) * 1E3); }, - hnb: function (g, h) { + inb: function (g, h) { return Math.ceil(g / 1E3 * h * 125); }, - s5b: function (g, h) { + D5b: function (g, h) { return !g.slice(h + 1).some(c); }, - Do: k, + Eo: k, wg: function (g, h) { var m; - return g.some(function (n, r, p) { + return g.some(function (n, q, p) { m = n; - return h(n, r, p); + return h(n, q, p); }) ? m : void 0; }, - fs: function (g, h) { + js: function (g, h) { var m; - return g.some(function (n, r, p) { - m = r; - return h(n, r, p); + return g.some(function (n, q, p) { + m = q; + return h(n, q, p); }) ? m : -1; }, - f1: f + h1: f }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.wi = "ClockSymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hA = "named"; - b.TY = "name"; + b.iA = "named"; + b.SY = "name"; b.RP = "unmanaged"; - b.GCa = "optional"; - b.fP = "inject"; - b.rD = "multi_inject"; - b.PGa = "inversify:tagged"; - b.QGa = "inversify:tagged_props"; - b.raa = "inversify:paramtypes"; - b.x9a = "design:paramtypes"; + b.ECa = "optional"; + b.gP = "inject"; + b.tD = "multi_inject"; + b.LGa = "inversify:tagged"; + b.MGa = "inversify:tagged_props"; + b.jaa = "inversify:paramtypes"; + b.z9a = "design:paramtypes"; b.zP = "post_construct"; - }, function (q, b, a) { + }, function (r, b, a) { var f; - function c(k, l, d, g, h, m, n, r, p, u, t, w) { - this.code = void 0 === k ? f.L.jm : k; - this.jc = l; + function c(k, l, d, g, h, m, n, q, p, t, u, w) { + this.code = void 0 === k ? f.M.im : k; + this.kc = l; this.wd = d; - this.Bm = g; - this.Av = h; + this.zm = g; + this.Gv = h; this.message = m; this.details = n; - this.data = r; - this.Dj = p; - this.NMb = u; - this.alert = t; - this.Cea = w; - this.X = !1; + this.data = q; + this.Cj = p; + this.QMb = t; + this.alert = u; + this.wea = w; + this.W = !1; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$c = void 0; + b.dd = void 0; f = a(3); c.vd = function (k) { var l, @@ -22230,7 +22226,7 @@ a000.D9b = function () { } return ""; }; - c.prototype.pS = function (k) { + c.prototype.oS = function (k) { this.details = c.vd(k); this.data = k; }; @@ -22240,39 +22236,39 @@ a000.D9b = function () { c.prototype.toJSON = function () { return { code: this.code, - subCode: this.jc, + subCode: this.kc, extCode: this.wd, - edgeCode: this.Bm, - mslCode: this.Av, + edgeCode: this.zm, + mslCode: this.Gv, message: this.message, details: this.details, data: this.data, - errorDisplayMessage: this.Dj, - playbackServiceError: this.NMb + errorDisplayMessage: this.Cj, + playbackServiceError: this.QMb }; }; - c.hja = function (k, l) { - return new c(k, f.M.fj, void 0, void 0, void 0, void 0, l.message, l.stack); + c.aja = function (k, l) { + return new c(k, f.L.dj, void 0, void 0, void 0, void 0, l.message, l.stack); }; - c.pYb = function (k, l, d) { + c.rYb = function (k, l, d) { return new c(k, l, void 0, void 0, void 0, void 0, void 0, void 0, void 0, void 0, d); }; - b.$c = c; - }, function (q, b, a) { + b.dd = c; + }, function (r, b, a) { var l, d, g; function c(h) { var m, n, - r, - t; - r = Object.getOwnPropertyNames(h); + q, + u; + q = Object.getOwnPropertyNames(h); for (h = Object.getPrototypeOf(h); h !== Object.prototype; ) { try { - for (var p = (m = void 0, l.__values(Object.getOwnPropertyNames(h))), u = p.next(); !u.done; u = p.next()) { - t = u.value; - -1 === r.indexOf(t) && r.push(t); + for (var p = (m = void 0, l.__values(Object.getOwnPropertyNames(h))), t = p.next(); !t.done; t = p.next()) { + u = t.value; + -1 === q.indexOf(u) && q.push(u); } } catch (w) { m = { @@ -22281,7 +22277,7 @@ a000.D9b = function () { } finally { try { - u && !u.done && (n = p.return) && n.call(p); + t && !t.done && (n = p.return) && n.call(p); } finally { if (m) @@ -22290,27 +22286,27 @@ a000.D9b = function () { } h = Object.getPrototypeOf(h); } - return r; + return q; } - function f(h, m, n, r, p) { - var u; - Object.getOwnPropertyNames(h).filter(function (t) { - return p(t) && (n || !Object.prototype.hasOwnProperty.call(m, t)) && (r || !((t in m))); - }).forEach(function (t) { - u = Object.getOwnPropertyDescriptor(h, t); - void 0 !== u && Object.defineProperty(m, t, u); + function f(h, m, n, q, p) { + var t; + Object.getOwnPropertyNames(h).filter(function (u) { + return p(u) && (n || !Object.prototype.hasOwnProperty.call(m, u)) && (q || !((u in m))); + }).forEach(function (u) { + t = Object.getOwnPropertyDescriptor(h, u); + void 0 !== t && Object.defineProperty(m, u, t); }); } - function k(h, m, n, r) { + function k(h, m, n, q) { var p, - u; + t; p = []; n || (p = Object.getOwnPropertyNames(m)); - r || (p = c(m)); - u = Object.getPrototypeOf(h); - null !== u && u !== Object.prototype && k(u, m, n, r); - f(h, m, !0, !0, function (t) { - return "constructor" !== t && -1 === p.indexOf(t); + q || (p = c(m)); + t = Object.getPrototypeOf(h); + null !== t && t !== Object.prototype && k(t, m, n, q); + f(h, m, !0, !0, function (u) { + return "constructor" !== u && -1 === p.indexOf(u); }); } Object.defineProperties(b, { @@ -22318,36 +22314,36 @@ a000.D9b = function () { value: !0 } }); - b.tf = b.Ppb = void 0; + b.tf = b.Qpb = void 0; l = a(2); d = a(6); - b.Ppb = k; + b.Qpb = k; g = Object.getOwnPropertyNames(Function); - b.tf = function (h, m, n, r) { + b.tf = function (h, m, n, q) { void 0 === n && (n = !0); - void 0 === r && (r = !0); - r || d.assert(!n); - h.prototype ? (k(h.prototype, m.prototype, n, r), f(h, m, n, r, function (p) { + void 0 === q && (q = !0); + q || d.assert(!n); + h.prototype ? (k(h.prototype, m.prototype, n, q), f(h, m, n, q, function (p) { return -1 === g.indexOf(p); - })) : f(h, m.prototype, n, r, function (p) { + })) : f(h, m.prototype, n, q, function (p) { return -1 === g.indexOf(p); }); return m; }; - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g; function c(h) { return function (m, n) { - return m.tqa(n, h); + return m.nqa(n, h); }; } function f(h, m) { - return h.O6.wOb[m] || k(h, m); + return h.L6.BOb[m] || k(h, m); } function k(h, m) { - h = h.vy.data[m]; + h = h.yy.data[m]; switch (typeof h) { case "undefined": break; @@ -22362,67 +22358,67 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ux = b.Cqa = b.object = b.Uvb = b.url = b.ca = b.vk = b.zta = b.jEb = b.U7 = b.string = b.Fz = b.ud = b.g4 = b.config = void 0; + b.zx = b.wqa = b.object = b.$vb = b.url = b.da = b.uk = b.uta = b.mEb = b.Q7 = b.string = b.Iz = b.ad = b.h4 = b.config = void 0; l = a(49); - d = a(5); + d = a(4); g = a(135); b.config = function (h, m, n) { n = void 0 === n ? !1 : n; - return function (r, p, u) { - var t, + return function (q, p, t) { + var u, w; - t = void 0 !== m ? m : p; - w = u.get; - void 0 !== w && (u.get = function () { + u = void 0 !== m ? m : p; + w = t.get; + void 0 !== w && (t.get = function () { var v; - if (!this.cFb(p)) - return this.hBb(p); + if (!this.gFb(p)) + return this.jBb(p); a: { - v = (this.blb || n ? f : k)(this, t.toString()); + v = (this.clb || n ? f : k)(this, u.toString()); if (void 0 !== v) - if ((v = h(this.$U, v), v instanceof g.zo)) - this.fSa(t, v); + if ((v = h(this.ZU, v), v instanceof g.Ao)) + this.eSa(u, v); else break a; v = w.bind(this)(); } - this.wQb(p, v); + this.BQb(p, v); return v; }); - return u; + return t; }; }; - b.g4 = function (h, m) { + b.h4 = function (h, m) { return h.c1a(m); }; - b.ud = function (h, m) { - return h.mqa(m); + b.ad = function (h, m) { + return h.gqa(m); }; - b.Fz = function (h, m) { - return h.Lp(m); + b.Iz = function (h, m) { + return h.Op(m); }; b.string = function (h, m) { - return h.tqa(m); + return h.nqa(m); }; - b.U7 = function (h, m) { - return h.ph(m, b.string); + b.Q7 = function (h, m) { + return h.oh(m, b.string); }; - b.jEb = function (h, m) { - return h.ph(m, b.g4); + b.mEb = function (h, m) { + return h.oh(m, b.h4); }; - b.zta = function (h, m) { - return h.ph(m, b.Fz); + b.uta = function (h, m) { + return h.oh(m, b.Iz); }; - b.vk = function (h, m) { - h = h.Lp(m); - return h instanceof g.zo ? h : d.uc(h); + b.uk = function (h, m) { + h = h.Op(m); + return h instanceof g.Ao ? h : d.wc(h); }; - b.ca = function (h, m) { - h = h.Lp(m); - return h instanceof g.zo ? h : l.ca(h); + b.da = function (h, m) { + h = h.Op(m); + return h instanceof g.Ao ? h : l.da(h); }; b.url = c(/^\S+$/); - b.Uvb = function (h) { + b.$vb = function (h) { return function (m, n) { return m.b1a(n, h); }; @@ -22432,13 +22428,13 @@ a000.D9b = function () { return h.d1a(m); }; }; - b.Cqa = c; - b.ux = function (h, m) { - return function (n, r) { - return n.ph(r, h, m); + b.wqa = c; + b.zx = function (h, m) { + return function (n, q) { + return n.oh(q, h, m); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, @@ -22446,55 +22442,55 @@ a000.D9b = function () { function c(h, m) { var n; n = g.call(this, h, m) || this; - n.GOa = m; + n.FOa = m; n.debug = h.debug; - n.ya = h.Bg.Cb(n.GOa); + n.za = h.Ag.Db(n.FOa); return n; } function f(h, m) { - this.GOa = m; - this.cqa = {}; - this.vy = h.vy; - this.$U = h.$U; - this.O6 = h.O6; + this.FOa = m; + this.Xpa = {}; + this.yy = h.yy; + this.ZU = h.ZU; + this.L6 = h.L6; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ff = b.lO = b.RGa = void 0; - q = a(1); - k = a(577); + b.ff = b.lO = b.NGa = void 0; + r = a(1); + k = a(580); l = a(0); d = a(135); - b.RGa = "isTestAccount"; - f.prototype.fSa = function () {}; - f.prototype.wQb = function (h, m) { - this.cqa[h] = [m, this.vy.i7]; + b.NGa = "isTestAccount"; + f.prototype.eSa = function () {}; + f.prototype.BQb = function (h, m) { + this.Xpa[h] = [m, this.yy.f7]; }; - f.prototype.cFb = function (h) { - return k.qaa.of(this.cqa[h]).map(function (m) { + f.prototype.gFb = function (h) { + return k.iaa.of(this.Xpa[h]).map(function (m) { return m[1]; - }).or(-1) < this.vy.i7; + }).or(-1) < this.yy.f7; }; - f.prototype.hBb = function (h) { - return k.qaa.of(this.cqa[h]).map(function (m) { + f.prototype.jBb = function (h) { + return k.iaa.of(this.Xpa[h]).map(function (m) { return m[0]; }).or(function () { throw Error("Invalid State Error"); }); }; Xa.Object.defineProperties(f.prototype, { - blb: { + clb: { configurable: !0, enumerable: !0, get: function () { var h, m; - if (this && this.vy && this.vy.data) { - h = this.vy.data[b.RGa]; + if (this && this.yy && this.yy.data) { + h = this.yy.data[b.NGa]; "undefined" !== typeof h && (m = h.toString()); - h = this.$U.mqa(m); - h = h instanceof d.zo ? !1 : h; + h = this.ZU.gqa(m); + h = h instanceof d.Ao ? !1 : h; } else h = !1; return h; @@ -22502,48 +22498,48 @@ a000.D9b = function () { } }); g = f; - g = q.__decorate([l.R(), q.__param(0, l.cj()), q.__param(1, l.cj())], g); + g = r.__decorate([l.R(), r.__param(0, l.aj()), r.__param(1, l.aj())], g); b.lO = g; - ka(c, g); - c.prototype.fSa = function (h, m) { - this.ya.error("Invalid configuration value.", { + ja(c, g); + c.prototype.eSa = function (h, m) { + this.za.error("Invalid configuration value.", { name: h }, m); this.debug.assert(!1); }; a = c; - a = q.__decorate([q.__param(0, l.cj()), q.__param(1, l.cj())], a); + a = r.__decorate([r.__param(0, l.aj()), r.__param(1, l.aj())], a); b.ff = a; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lj = "SchedulerSymbol"; - }, function (q, b, a) { + b.ij = "SchedulerSymbol"; + }, function (r, b, a) { var h, m, n, - r, + q, p, - u, t, + u, w; function c() { var v, x; - if (v = b.m3.tKa) + if (v = b.n3.rKa) return v; - v = u.WY.search.substr(1); + v = t.VY.search.substr(1); x = v.indexOf("#"); 0 <= x && (v = v.substr(0, x)); v = f(v); - return b.m3.tKa = v; + return b.n3.rKa = v; } function f(v) { - for (var x = /[+]/g, y = (v || "").split("&"), z = {}, B, A = 0; A < y.length; A++) { - v = r.trim(y[A]); - B = v.indexOf("="); - 0 <= B ? z[decodeURIComponent(v.substr(0, B).replace(x, "%20")).toLowerCase()] = decodeURIComponent(v.substr(B + 1).replace(x, "%20")) : z[v.toLowerCase()] = null; + for (var x = /[+]/g, y = (v || "").split("&"), z = {}, A, B = 0; B < y.length; B++) { + v = q.trim(y[B]); + A = v.indexOf("="); + 0 <= A ? z[decodeURIComponent(v.substr(0, A).replace(x, "%20")).toLowerCase()] = decodeURIComponent(v.substr(A + 1).replace(x, "%20")) : z[v.toLowerCase()] = null; } return z; } @@ -22554,7 +22550,7 @@ a000.D9b = function () { return k(v.constructor); } function d(v) { - return u.sort.call(v, function (x, y) { + return t.sort.call(v, function (x, y) { return x - y; }); } @@ -22567,16 +22563,16 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.dNb = b.zT = b.eTa = b.A4 = b.aNb = b.vWa = b.o8a = b.p8a = b.lxb = b.ms = b.npb = b.NK = b.Hwb = b.nG = b.G7a = b.n9 = b.H7a = b.KX = b.Nua = b.F7a = b.fEb = b.ZE = b.HNb = b.Eoa = b.zja = b.getFunctionName = b.lM = b.oV = b.m3 = b.ZAb = b.$0a = b.CLa = b.LOa = b.EOb = b.qs = b.uOa = void 0; + b.hNb = b.xT = b.eTa = b.A4 = b.eNb = b.tWa = b.q8a = b.r8a = b.rxb = b.qs = b.opb = b.RK = b.Nwb = b.tG = b.I7a = b.i9 = b.J7a = b.JX = b.Kua = b.H7a = b.iEb = b.bF = b.MNb = b.zoa = b.sja = b.getFunctionName = b.nM = b.nV = b.n3 = b.aBb = b.$0a = b.ALa = b.KOa = b.JOb = b.us = b.sOa = void 0; h = a(12); m = a(21); n = a(7); - r = a(24); + q = a(24); p = a(29); - u = a(11); - t = a(17); - w = a(66); - b.uOa = function (v, x) { + t = a(11); + u = a(17); + w = a(59); + b.sOa = function (v, x) { if (v === x) return !0; if (!v || !x) @@ -22587,7 +22583,7 @@ a000.D9b = function () { } return !0; }; - b.qs = b.qs || (function (v, x) { + b.us = b.us || (function (v, x) { if (v.length == x.length) { for (var y = v.length; y--; ) { if (v[y] != x[y]) @@ -22597,15 +22593,15 @@ a000.D9b = function () { } return !1; }); - b.EOb = function (v) { + b.JOb = function (v) { var x; if (v) { x = v.length; if (x) - return (x = r.jqa(0, x - 1), v[x]); + return (x = q.dqa(0, x - 1), v[x]); } }; - b.LOa = function (v, x) { + b.KOa = function (v, x) { if (v.length != x.length) return !1; v.sort(); @@ -22616,7 +22612,7 @@ a000.D9b = function () { } return !0; }; - b.CLa = function (v, x, y) { + b.ALa = function (v, x, y) { function z() { v.removeEventListener(x, z); y.apply(this, arguments); @@ -22628,144 +22624,144 @@ a000.D9b = function () { x, y, z, - B, - A; - v = u.De.cookie.split("; "); + A, + B; + v = t.Fe.cookie.split("; "); x = v.length; - B = {}; + A = {}; for (y = 0; y < x; y++) { - if (z = r.trim(v[y])) { - A = z.indexOf("="); - 0 < A && (B[z.substr(0, A)] = z.substr(A + 1)); + if (z = q.trim(v[y])) { + B = z.indexOf("="); + 0 < B && (A[z.substr(0, B)] = z.substr(B + 1)); } } - return B; + return A; }; - b.ZAb = c; - b.m3 = Object.assign(c, { - tKa: void 0 + b.aBb = c; + b.n3 = Object.assign(c, { + rKa: void 0 }); - b.oV = f; - b.lM = function (v) { + b.nV = f; + b.nM = function (v) { var x; x = ""; - r.de(v, function (y, z) { + q.ae(v, function (y, z) { x && (x += "&"); - m.gb(p.ze(z) || t.xa(z) || t.Pla(z)); + m.gb(p.Be(z) || u.ya(z) || u.Kla(z)); x += encodeURIComponent(y) + "=" + encodeURIComponent(z); }); return x; }; b.getFunctionName = k; - b.zja = l; - b.Eoa = function (v) { + b.sja = l; + b.zoa = function (v) { var x; x = ""; - t.isArray(v) || t.lma(v) ? x = u.reduce.call(v, function (y, z) { - return y + (32 <= z && 128 > z ? u.LGa(z) : "."); - }, "") : p.ze(v) ? x = v : r.de(v, function (y, z) { - x += (x ? ", " : "") + "{" + y + ": " + (t.Kc(z) ? k(z) || "function" : z) + "}"; + u.isArray(v) || u.fma(v) ? x = t.reduce.call(v, function (y, z) { + return y + (32 <= z && 128 > z ? t.HGa(z) : "."); + }, "") : p.Be(v) ? x = v : q.ae(v, function (y, z) { + x += (x ? ", " : "") + "{" + y + ": " + (u.Mc(z) ? k(z) || "function" : z) + "}"; }); return "[" + l(v) + " " + x + "]"; }; - b.HNb = function (v, x) { + b.MNb = function (v, x) { v.firstChild ? v.insertBefore(x, v.firstChild) : v.appendChild(x); }; - b.ZE = b.ZE || (function (v) { + b.bF = b.bF || (function (v) { var x; x = ""; - r.de(v, function (y, z) { + q.ae(v, function (y, z) { x += (x ? ";" : "") + y + ":" + z; }); return x; }); - b.fEb = function (v, x) { + b.iEb = function (v, x) { var y; y = v[0]; if (x <= y[0]) return y.slice(1); - for (var z = 1, B; B = v[z++]; ) { - if (x <= B[0]) { - v = (x - y[0]) / (B[0] - y[0]); + for (var z = 1, A; A = v[z++]; ) { + if (x <= A[0]) { + v = (x - y[0]) / (A[0] - y[0]); x = []; for (z = 1; z < y.length; z++) { - x.push((y[z] || 0) + v * ((B[z] || 0) - (y[z] || 0))); + x.push((y[z] || 0) + v * ((A[z] || 0) - (y[z] || 0))); } return x; } - y = B; + y = A; } return y.slice(1); }; - b.F7a = function (v, x) { - var B; + b.H7a = function (v, x) { + var A; for (var y = {}, z = 0; z < x.length; z++) { - B = x[z]; - if ("string" != typeof B && "number" != typeof B) + A = x[z]; + if ("string" != typeof A && "number" != typeof A) return !1; y[x[z]] = 1; } for (z = 0; z < v.length; z++) { - if ((B = v[z], !y[B])) + if ((A = v[z], !y[A])) return !1; } return !0; }; - b.Nua = function (v, x) { + b.Kua = function (v, x) { 0 > v.indexOf(x) && v.push(x); }; - b.KX = d; - b.H7a = g; - b.n9 = function (v, x) { + b.JX = d; + b.J7a = g; + b.i9 = function (v, x) { var y, z, - B, - A; + A, + B; y = -1; z = v.length; if (1 === arguments.length) { - for (; ++y < z && !(null != (B = v[y]) && B <= B); ) { - B = void 0; + for (; ++y < z && !(null != (A = v[y]) && A <= A); ) { + A = void 0; } for (; ++y < z; ) { - null != (A = v[y]) && A > B && (B = A); + null != (B = v[y]) && B > A && (A = B); } } else { - for (; ++y < z && !(null != (B = x.call(v, v[y], y)) && B <= B); ) { - B = void 0; + for (; ++y < z && !(null != (A = x.call(v, v[y], y)) && A <= A); ) { + A = void 0; } for (; ++y < z; ) { - null != (A = x.call(v, v[y], y)) && A > B && (B = A); + null != (B = x.call(v, v[y], y)) && B > A && (A = B); } } - return B; + return A; }; - b.G7a = function (v, x) { + b.I7a = function (v, x) { var y, z, - B, - A; + A, + B; y = -1; z = v.length; if (1 === arguments.length) { - for (; ++y < z && !(null != (B = v[y]) && B <= B); ) { - B = void 0; + for (; ++y < z && !(null != (A = v[y]) && A <= A); ) { + A = void 0; } for (; ++y < z; ) { - null != (A = v[y]) && B > A && (B = A); + null != (B = v[y]) && A > B && (A = B); } } else { - for (; ++y < z && !(null != (B = x.call(v, v[y], y)) && B <= B); ) { - B = void 0; + for (; ++y < z && !(null != (A = x.call(v, v[y], y)) && A <= A); ) { + A = void 0; } for (; ++y < z; ) { - null != (A = x.call(v, v[y], y)) && B > A && (B = A); + null != (B = x.call(v, v[y], y)) && A > B && (A = B); } } - return B; + return A; }; - b.nG = function (v) { - return t.Kc(v.then) ? v : new Promise(function (x, y) { + b.tG = function (v) { + return u.Mc(v.then) ? v : new Promise(function (x, y) { v.oncomplete = function () { x(v.result); }; @@ -22774,15 +22770,15 @@ a000.D9b = function () { }; }); }; - b.Hwb = function (v, x) { + b.Nwb = function (v, x) { var z, - B, A, + B, C, E, - F; + G; function y(D) { - 0 > z.indexOf(D) && t.xa(D) && z.push(D); + 0 > z.indexOf(D) && u.ya(D) && z.push(D); } v = v.slice(); d(v); @@ -22791,25 +22787,25 @@ a000.D9b = function () { return v; if (!v.length) return []; - B = x.length; + A = x.length; try { - for (; B--; ) { - C = "" + x[B]; - E = p.pe(C); + for (; A--; ) { + C = "" + x[A]; + E = p.se(C); switch (C[C.length - 1]) { case "-": - for (A = v.length; A--; ) { - F = v[A]; - if (F < E) { - y(F); + for (B = v.length; B--; ) { + G = v[B]; + if (G < E) { + y(G); break; } } break; case "+": - for (A = 0; A < v.length; A++) { - if ((F = v[A], F > E)) { - y(F); + for (B = 0; B < v.length; B++) { + if ((G = v[B], G > E)) { + y(G); break; } } @@ -22823,24 +22819,24 @@ a000.D9b = function () { d(z); return z; }; - b.NK = b.NK || (function (v, x, y) { + b.RK = b.RK || (function (v, x, y) { var z; if (v / x > y) { - z = u.yi(x * y); + z = t.yi(x * y); v = x; - } else (z = v, v = u.yi(v / y)); + } else (z = v, v = t.yi(v / y)); return { width: z, height: v }; }); - b.npb = function (v, x, y) { - for (var z = [], B = 0; B < x; B++) { - z.push(u.QY(v[B] - y, 2)); + b.opb = function (v, x, y) { + for (var z = [], A = 0; A < x; A++) { + z.push(t.PY(v[A] - y, 2)); } - return u.EBa(g(z) / z.length); + return t.CBa(g(z) / z.length); }; - b.ms = function (v, x) { + b.qs = function (v, x) { var y; y = v.length; x = (y - 1) * x + 1; @@ -22848,35 +22844,35 @@ a000.D9b = function () { return v[0]; if (x == y) return v[y - 1]; - y = u.Aw(x); + y = t.Gw(x); return v[y - 1] + (x - y) * (v[y] - v[y - 1]); }; - b.lxb = function (v, x) { - if (!t.isArray(v)) + b.rxb = function (v, x) { + if (!u.isArray(v)) throw Error("boxes is not an array"); if (0 >= v.length) throw Error("There are no boxes in boxes"); - x = t.isArray(x) ? x : [x]; + x = u.isArray(x) ? x : [x]; for (var y = v.length, z = 0; z < y; z++) { - for (var B = 0; B < x.length; B++) { - if (v[z].type == x[B]) + for (var A = 0; A < x.length; A++) { + if (v[z].type == x[A]) return v[z]; } } throw Error("Box not found " + x); }; - b.p8a = function (v) { - return v.dzb("trak/mdia/minf/stbl/stsd/" + h.Eva + "|" + h.Fva).children.filter(function (x) { - return "sinf" == x.type && x.C4b.schm.q7b == w.Xz; - })[0].dzb("schi/tenc").Li; + b.r8a = function (v) { + return v.hzb("trak/mdia/minf/stbl/stsd/" + h.Bva + "|" + h.Cva).children.filter(function (x) { + return "sinf" == x.type && x.J4b.schm.C7b == w.vw; + })[0].hzb("schi/tenc").Ji; }; - b.o8a = function (v) { + b.q8a = function (v) { var y; - function x(z, B) { - var A; - A = y[z]; - y[z] = y[B]; - y[B] = A; + function x(z, A) { + var B; + B = y[z]; + y[z] = y[A]; + y[A] = B; } y = new Uint8Array(v); x(0, 3); @@ -22885,15 +22881,15 @@ a000.D9b = function () { x(6, 7); return y; }; - b.vWa = function () { - return t.Kc(u.Qe.requestMediaKeySystemAccess); + b.tWa = function () { + return u.Mc(t.Re.requestMediaKeySystemAccess); }; - b.aNb = function (v) { + b.eNb = function (v) { return function (x) { return x && x[v]; }; }; - t.Kc(ArrayBuffer.prototype.slice) || (ArrayBuffer.prototype.slice = function (v, x) { + u.Mc(ArrayBuffer.prototype.slice) || (ArrayBuffer.prototype.slice = function (v, x) { var y, z; void 0 === v && (v = 0); @@ -22927,34 +22923,34 @@ a000.D9b = function () { x[3] = 212; return 3569595041 == v[0] ? "LE" : 2712847316 == v[0] ? "BE" : "undefined"; }; - b.zT = function () { + b.xT = function () { var v, x, y; try { v = /playercore.*js/; - x = u.iu.getEntries("resource").filter(function (z) { + x = t.pu.getEntries("resource").filter(function (z) { return null !== v.exec(z.name); }); if (x && 0 < x.length) { - y = u.yi(x[0].duration); + y = t.yi(x[0].duration); return JSON.stringify(y); } } catch (z) {} }; - b.dNb = function (v, x, y) { + b.hNb = function (v, x, y) { if (v && v.length) { - if (y && y.Bob) + if (y && y.Cob) try { - v.forEach(function (z, B) { - var A; - A = (B = y.Bob[B]) && B.media; - A && p.ze(A) ? (!1, A = n.Dq(A).buffer, z.media = { - arrayBuffer: A, - length: A.byteLength, + v.forEach(function (z, A) { + var B; + B = (A = y.Cob[A]) && A.media; + B && p.Be(B) ? (!1, B = n.Fq(B).buffer, z.media = { + arrayBuffer: B, + length: B.byteLength, stream: x, - Pc: B.cdn - }) : n.log.warn("chunk not in cache", z.Kh); + pc: A.cdn + }) : n.log.warn("chunk not in cache", z.kh); }); } catch (z) { n.log.error("error reading cached chunks", z); @@ -22964,90 +22960,90 @@ a000.D9b = function () { } else n.log.warn("chunks not available in mediabuffer", y.type); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qu = b.ah = void 0; + b.vu = b.Zg = void 0; b.Ai = { - BXa: "logblob", + zXa: "logblob", sa: "manifest", - ig: "license", + hg: "license", events: "events", bind: "bind", - x_a: "pair", + v_a: "pair", ping: "ping", config: "config" }; - q = b.ah || (b.ah = {}); - q[q.cu = 20] = "High"; - q[q.daa = 10] = "Medium"; - q[q.fI = 0] = "Low"; - b.qu = { - ah: "reqPriority", - Adb: "reqAttempt", - Bdb: "reqName", - u8a: "browsername", - z8a: "browserversion", - icb: "osname", - jcb: "osversion", - Z8a: "clienttype", - meb: "uiversion" - }; - }, function (q, b, a) { + r = b.Zg || (b.Zg = {}); + r[r.hu = 20] = "High"; + r[r.W$ = 10] = "Medium"; + r[r.nI = 0] = "Low"; + b.vu = { + Zg: "reqPriority", + Ddb: "reqAttempt", + Edb: "reqName", + w8a: "browsername", + B8a: "browserversion", + mcb: "osname", + ncb: "osversion", + a9a: "clienttype", + peb: "uiversion" + }; + }, function (r, b, a) { var k; function c() { return k.SP.apply(this, arguments) || this; } function f(l) { - return new k.Mr(l, b.aD); + return new k.Pr(l, b.cD); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.hb = b.bCa = b.K$ = b.Xt = b.aD = b.uIb = b.NFb = b.ca = b.zx = b.B8a = void 0; - k = a(301); - ka(c, k.SP); - b.B8a = c; - b.zx = f; - b.ca = function (l) { - return new k.Mr(l, b.Xt); + b.hb = b.$Ba = b.C$ = b.bu = b.cD = b.wIb = b.QFb = b.da = b.Ex = b.D8a = void 0; + k = a(303); + ja(c, k.SP); + b.D8a = c; + b.Ex = f; + b.da = function (l) { + return new k.Pr(l, b.bu); }; - b.NFb = function (l) { - return new k.Mr(l, b.K$); + b.QFb = function (l) { + return new k.Pr(l, b.C$); }; - b.uIb = function (l) { - return new k.Mr(l, b.bCa); + b.wIb = function (l) { + return new k.Pr(l, b.$Ba); }; - b.aD = new c(1, "b"); - b.Xt = new c(8 * b.aD.Wf, "B", b.aD); - b.K$ = new c(1024 * b.Xt.Wf, "KB", b.aD); - b.bCa = new c(1024 * b.K$.Wf, "MB", b.aD); + b.cD = new c(1, "b"); + b.bu = new c(8 * b.cD.Xf, "B", b.cD); + b.C$ = new c(1024 * b.bu.Xf, "KB", b.cD); + b.$Ba = new c(1024 * b.C$.Xf, "MB", b.cD); b.hb = f(0); - }, function (q, b) { + }, function (r, b) { function a() {} function c() {} function f() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.Or = b.je = b.O = void 0; + b.Rr = b.ke = b.O = void 0; b.O = f; - f.XH = "playready-h264mpl30-dash"; - f.gD = "playready-h264mpl31-dash"; - f.p$ = "playready-h264mpl40-dash"; - f.Rya = "playready-h264hpl22-dash"; + f.eI = "playready-h264mpl30-dash"; + f.iD = "playready-h264mpl31-dash"; + f.h$ = "playready-h264mpl40-dash"; + f.Pya = "playready-h264hpl22-dash"; f.IO = "playready-h264hpl30-dash"; f.JO = "playready-h264hpl31-dash"; - f.o$ = "playready-h264hpl40-dash"; - f.IZ = "vp9-profile0-L21-dash-cenc"; - f.BI = "vp9-profile0-L30-dash-cenc"; - f.CI = "vp9-profile0-L31-dash-cenc"; + f.g$ = "playready-h264hpl40-dash"; + f.KZ = "vp9-profile0-L21-dash-cenc"; + f.GI = "vp9-profile0-L30-dash-cenc"; + f.HI = "vp9-profile0-L31-dash-cenc"; f.UP = "vp9-profile0-L40-dash-cenc"; - f.Q$a = "hevc-main10-L30-dash-cenc"; - f.R$a = "hevc-main10-L31-dash-cenc"; - f.S$a = "hevc-main10-L40-dash-cenc"; - f.T$a = "hevc-main10-L41-dash-cenc"; + f.T$a = "hevc-main10-L30-dash-cenc"; + f.U$a = "hevc-main10-L31-dash-cenc"; + f.V$a = "hevc-main10-L40-dash-cenc"; + f.W$a = "hevc-main10-L41-dash-cenc"; f.WO = "hevc-main10-L50-dash-cenc"; f.YO = "hevc-main10-L51-dash-cenc"; f.zY = "hevc-main10-L30-dash-cenc-prk"; @@ -23060,27 +23056,27 @@ a000.D9b = function () { f.GY = "hevc-main10-L41-dash-cenc-prk-do"; f.XO = "hevc-main10-L50-dash-cenc-prk-do"; f.ZO = "hevc-main10-L51-dash-cenc-prk-do"; - f.aY = "hevc-dv5-main10-L30-dash-cenc-prk"; - f.cY = "hevc-dv5-main10-L31-dash-cenc-prk"; + f.$X = "hevc-dv5-main10-L30-dash-cenc-prk"; + f.bY = "hevc-dv5-main10-L31-dash-cenc-prk"; f.zO = "hevc-dv5-main10-L40-dash-cenc-prk"; - f.fY = "hevc-dv5-main10-L41-dash-cenc-prk"; - f.hY = "hevc-dv5-main10-L50-dash-cenc-prk"; - f.jY = "hevc-dv5-main10-L51-dash-cenc-prk"; - f.bY = "hevc-dv5-main10-L30-dash-cenc-prk-do"; - f.dY = "hevc-dv5-main10-L31-dash-cenc-prk-do"; - f.eY = "hevc-dv5-main10-L40-dash-cenc-prk-do"; - f.gY = "hevc-dv5-main10-L41-dash-cenc-prk-do"; - f.iY = "hevc-dv5-main10-L50-dash-cenc-prk-do"; - f.kY = "hevc-dv5-main10-L51-dash-cenc-prk-do"; - f.Tya = "hevc-hdr-main10-L30-dash-cenc"; - f.Uya = "hevc-hdr-main10-L31-dash-cenc"; - f.Vya = "hevc-hdr-main10-L40-dash-cenc"; - f.Wya = "hevc-hdr-main10-L41-dash-cenc"; - f.Xya = "hevc-hdr-main10-L50-dash-cenc"; - f.Yya = "hevc-hdr-main10-L51-dash-cenc"; + f.eY = "hevc-dv5-main10-L41-dash-cenc-prk"; + f.gY = "hevc-dv5-main10-L50-dash-cenc-prk"; + f.iY = "hevc-dv5-main10-L51-dash-cenc-prk"; + f.aY = "hevc-dv5-main10-L30-dash-cenc-prk-do"; + f.cY = "hevc-dv5-main10-L31-dash-cenc-prk-do"; + f.dY = "hevc-dv5-main10-L40-dash-cenc-prk-do"; + f.fY = "hevc-dv5-main10-L41-dash-cenc-prk-do"; + f.hY = "hevc-dv5-main10-L50-dash-cenc-prk-do"; + f.jY = "hevc-dv5-main10-L51-dash-cenc-prk-do"; + f.Rya = "hevc-hdr-main10-L30-dash-cenc"; + f.Sya = "hevc-hdr-main10-L31-dash-cenc"; + f.Tya = "hevc-hdr-main10-L40-dash-cenc"; + f.Uya = "hevc-hdr-main10-L41-dash-cenc"; + f.Vya = "hevc-hdr-main10-L50-dash-cenc"; + f.Wya = "hevc-hdr-main10-L51-dash-cenc"; f.LO = "hevc-hdr-main10-L30-dash-cenc-prk"; f.NO = "hevc-hdr-main10-L31-dash-cenc-prk"; - f.ZH = "hevc-hdr-main10-L40-dash-cenc-prk"; + f.gI = "hevc-hdr-main10-L40-dash-cenc-prk"; f.QO = "hevc-hdr-main10-L41-dash-cenc-prk"; f.SO = "hevc-hdr-main10-L50-dash-cenc-prk"; f.UO = "hevc-hdr-main10-L51-dash-cenc-prk"; @@ -23090,166 +23086,180 @@ a000.D9b = function () { f.RO = "hevc-hdr-main10-L41-dash-cenc-prk-do"; f.TO = "hevc-hdr-main10-L50-dash-cenc-prk-do"; f.VO = "hevc-hdr-main10-L51-dash-cenc-prk-do"; - f.vua = "av1-main-L20-dash-cbcs-prk"; - f.wua = "av1-main-L21-dash-cbcs-prk"; - f.xua = "av1-main-L30-dash-cbcs-prk"; - f.yua = "av1-main-L31-dash-cbcs-prk"; - f.zua = "av1-main-L40-dash-cbcs-prk"; - f.Aua = "av1-main-L41-dash-cbcs-prk"; - f.Bua = "av1-main-L50-dash-cbcs-prk"; - f.Cua = "av1-main-L51-dash-cbcs-prk"; - f.Edb = [f.XH]; - f.N$a = [f.gD, f.p$]; - f.Bba = [f.zY, f.BY, f.DY, f.FY, f.WO, f.YO]; - f.Cba = [f.AY, f.CY, f.EY, f.GY, f.XO, f.ZO]; - f.r$ = [f.LO, f.NO, f.ZH, f.QO, f.SO, f.UO]; - f.q$ = [f.MO, f.OO, f.PO, f.RO, f.TO, f.VO]; - f.Xwa = [f.aY, f.zO, f.hY, f.cY, f.fY, f.jY]; - f.Wwa = [f.bY, f.eY, f.iY, f.dY, f.gY, f.kY]; - f.k9 = [f.IO, f.JO, f.o$]; - f.IHa = [f.BI, f.CI, f.UP]; - f.QD = [f.IZ, f.BI, f.CI, f.UP]; - f.D7a = [f.vua, f.wua, f.xua]; - f.C7a = [f.yua, f.zua, f.Aua]; - f.E7a = [f.Bua, f.Cua]; - f.Fk = [].concat(f.D7a, f.C7a, f.E7a); - f.n$ = f.Edb.concat(f.N$a); - b.je = c; - c.hD = "heaac-2-dash"; - c.Zya = "heaac-5.1-dash"; - c.iD = "heaac-2hq-dash"; - c.EI = "xheaac-dash"; + f.sua = "av1-main-L20-dash-cbcs-prk"; + f.tua = "av1-main-L21-dash-cbcs-prk"; + f.uua = "av1-main-L30-dash-cbcs-prk"; + f.vua = "av1-main-L31-dash-cbcs-prk"; + f.wua = "av1-main-L40-dash-cbcs-prk"; + f.xua = "av1-main-L41-dash-cbcs-prk"; + f.yua = "av1-main-L50-dash-cbcs-prk"; + f.zua = "av1-main-L51-dash-cbcs-prk"; + f.Hdb = [f.eI]; + f.Q$a = [f.iD, f.h$]; + f.vba = [f.zY, f.BY, f.DY, f.FY, f.WO, f.YO]; + f.wba = [f.AY, f.CY, f.EY, f.GY, f.XO, f.ZO]; + f.j$ = [f.LO, f.NO, f.gI, f.QO, f.SO, f.UO]; + f.i$ = [f.MO, f.OO, f.PO, f.RO, f.TO, f.VO]; + f.Uwa = [f.$X, f.zO, f.gY, f.bY, f.eY, f.iY]; + f.Twa = [f.aY, f.dY, f.hY, f.cY, f.fY, f.jY]; + f.f9 = [f.IO, f.JO, f.g$]; + f.EHa = [f.GI, f.HI, f.UP]; + f.TD = [f.KZ, f.GI, f.HI, f.UP]; + f.F7a = [f.sua, f.tua, f.uua]; + f.E7a = [f.vua, f.wua, f.xua]; + f.G7a = [f.yua, f.zua]; + f.Fk = [].concat(f.F7a, f.E7a, f.G7a); + f.f$ = f.Hdb.concat(f.Q$a); + b.ke = c; + c.jD = "heaac-2-dash"; + c.Xya = "heaac-5.1-dash"; + c.kD = "heaac-2hq-dash"; + c.WD = "xheaac-dash"; c.wO = "ddplus-2.0-dash"; - c.M9 = "ddplus-5.1-dash"; + c.H9 = "ddplus-5.1-dash"; c.xO = "ddplus-atmos-dash"; - b.Or = a; - a.Ldb = "simplesdh"; - a.P9 = "dfxp-ls-sdh"; - a.iI = "nflx-cmisc"; - }, function (q, b, a) { + b.Rr = a; + a.Odb = "simplesdh"; + a.K9 = "dfxp-ls-sdh"; + a.qI = "nflx-cmisc"; + }, function (r, b, a) { var f, k, l, d, g; function c() { - return f.jd.get(l.zd).TF.ea(g.ma); + return f.kd.get(l.zd).ZF.ea(g.ma); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Wob = b.mga = b.jOa = b.Uob = b.Vob = b.i1 = b.Hi = void 0; + b.Xob = b.gga = b.hOa = b.Vob = b.Wob = b.k1 = b.Hi = void 0; f = a(191); k = a(40); l = a(20); d = a(92); - g = a(5); + g = a(4); b.Hi = function () { - return f.jd.get(l.zd).Zb().ea(g.ma); + return f.kd.get(l.zd).Xb().ea(g.ma); }; - b.i1 = function () { - return f.jd.get(k.wi).Ue.ea(g.nn); + b.k1 = function () { + return f.kd.get(k.wi).We.ea(g.ln); }; - b.Vob = function () { - return f.jd.get(l.zd).TF.ea(g.nn); + b.Wob = function () { + return f.kd.get(l.zd).ZF.ea(g.ln); }; - b.Uob = function () { - return f.jd.get(d.cA).lB(); + b.Vob = function () { + return f.kd.get(d.dA).mB(); }; - b.jOa = c; - b.mga = function () { - return f.jd.get(k.wi).Ue.ea(g.ma); + b.hOa = c; + b.gga = function () { + return f.kd.get(k.wi).We.ea(g.ma); }; - b.Wob = function () { + b.Xob = function () { return c(); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.im = "PboCommandContextSymbol"; - }, function (q, b, a) { + b.hm = "PboCommandContextSymbol"; + }, function (r, b, a) { var c, f, k, l, - d; + d, + g; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.mJb = b.platform = b.jk = b.ic = b.fAb = b.wT = b.zF = b.PXa = b.OD = b.ae = b.RD = void 0; + b.oJb = b.platform = b.jk = b.Qb = b.iAb = b.uT = b.DF = b.NXa = b.RD = b.Zd = b.Gk = b.UD = void 0; c = a(2); - c.__exportStar(a(373), b); - c.__exportStar(a(752), b); - c.__exportStar(a(753), b); - c.__exportStar(a(754), b); + c.__exportStar(a(171), b); + c.__exportStar(a(375), b); + c.__exportStar(a(755), b); + c.__exportStar(a(756), b); + c.__exportStar(a(757), b); f = a(95); Object.defineProperties(b, { - RD: { + UD: { enumerable: !0, get: function () { - return f.RD; + return f.UD; } } }); + c.__exportStar(a(769), b); + c.__exportStar(a(378), b); + c.__exportStar(a(221), b); c.__exportStar(a(22), b); - k = a(54); + k = a(379); + Object.defineProperties(b, { + Gk: { + enumerable: !0, + get: function () { + return k.Gk; + } + } + }); + l = a(54); Object.defineProperties(b, { - ae: { + Zd: { enumerable: !0, get: function () { - return k.ae; + return l.Zd; } } }); - l = a(220); + d = a(223); Object.defineProperties(b, { - OD: { + RD: { enumerable: !0, get: function () { - return l.OD; + return d.RD; } } }); - c.__exportStar(a(376), b); - b.PXa = function (g) { - b.platform.VT(g); - return a(771).oBa; + c.__exportStar(a(382), b); + b.NXa = function (h) { + b.platform.TT(h); + return a(781).mBa; }; - b.zF = function (g) { - b.platform.VT(g); + b.DF = function (h) { + b.platform.TT(h); return Promise.resolve().then(function () { - return c.__importStar(a(254)); - }).then(function (h) { - return h.zF(); + return c.__importStar(a(255)); + }).then(function (m) { + return m.DF(); }); }; - b.wT = function (g, h) { - b.platform.VT(g); + b.uT = function (h, m) { + b.platform.TT(h); return Promise.resolve().then(function () { - return c.__importStar(a(434)); - }).then(function (m) { - return m.wT(h); + return c.__importStar(a(438)); + }).then(function (n) { + return n.uT(m); }); }; - b.fAb = function () { - return a(224); + b.iAb = function () { + return a(227); }; - q = c.__importDefault(a(27)); - b.ic = q.default; - q = a(985); - b.jk = q.jk; - q = c.__importDefault(a(4)); - b.platform = q.default; - d = a(986); - b.mJb = function () { + r = c.__importDefault(a(27)); + b.Qb = r.default; + r = a(987); + b.jk = r.jk; + r = c.__importDefault(a(5)); + b.platform = r.default; + g = a(988); + b.oJb = function () { return { - Nr: d.Nr + Qr: g.Qr }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -23257,15 +23267,15 @@ a000.D9b = function () { value: !0 } }); - b.hba = b.ae = void 0; + b.bba = b.Zd = void 0; c = a(2); - f = a(766); + f = a(776); (function (k) { - k[k.JC = 0] = "startPlayback"; - k[k.ip = 1] = "endPlayback"; - k[k.zr = 2] = "underflow"; - })(b.ae || (b.ae = {})); - q = (function () { + k[k.Tt = 0] = "startPlayback"; + k[k.jp = 1] = "endPlayback"; + k[k.Cr = 2] = "underflow"; + })(b.Zd || (b.Zd = {})); + r = (function () { function k(l) { this.config = l; this.UM = []; @@ -23273,35 +23283,35 @@ a000.D9b = function () { k.prototype.ai = function (l) { var d, g; - g = c.__read(this.config.Eha.filter(function (h) { + g = c.__read(this.config.yha.filter(function (h) { return h.Ii === l.Ii; }), 1)[0]; - (null !== (d = null === g || void 0 === g ? void 0 : g.enabled) && void 0 !== d ? d : l.enabled) ? this.UM.push(l) : l.wb && l.wb(); + (null !== (d = null === g || void 0 === g ? void 0 : g.enabled) && void 0 !== d ? d : l.enabled) ? this.UM.push(l) : l.zb && l.zb(); }; - k.prototype.Ln = function (l) { + k.prototype.Mn = function (l) { var d, g, h, - r, + q, p; g = {}; h = []; try { for (var m = c.__values(this.UM), n = m.next(); !n.done; n = m.next()) { - r = n.value; + q = n.value; try { - p = r.Ln({ + p = q.Mn({ ji: l }); - p && (r.nC ? g[r.nC] = p : g = c.__assign(c.__assign({}, g), p)); - } catch (t) { - h.push(t); + p && (q.pC ? g[q.pC] = p : g = c.__assign(c.__assign({}, g), p)); + } catch (u) { + h.push(u); } } - } catch (t) { - var u; - u = { - error: t + } catch (u) { + var t; + t = { + error: u }; } finally { @@ -23309,76 +23319,76 @@ a000.D9b = function () { n && !n.done && (d = m.return) && d.call(m); } finally { - if (u) - throw u.error; + if (t) + throw t.error; } } - h.length && (g["rpt-error"] = new f.Gua("Reporting error", h)); + h.length && (g["rpt-error"] = new f.Dua("Reporting error", h)); return g; }; return k; })(); - b.hba = q; - }, function (q, b) { + b.bba = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.$9a = "Cannot apply @injectable decorator multiple times."; - b.a$a = "Metadata key was used more than once in a parameter:"; - b.sP = "NULL argument"; - b.hAa = "Key Not Found"; - b.j7a = "Ambiguous match found for serviceIdentifier:"; - b.C8a = "Could not unbind serviceIdentifier:"; - b.Vbb = "No matching bindings found for serviceIdentifier:"; - b.tbb = "Missing required @injectable annotation in:"; - b.ubb = "Missing required @inject or @multiInject annotation in:"; - b.neb = function (a) { + b.b$a = "Cannot apply @injectable decorator multiple times."; + b.c$a = "Metadata key was used more than once in a parameter:"; + b.tP = "NULL argument"; + b.fAa = "Key Not Found"; + b.l7a = "Ambiguous match found for serviceIdentifier:"; + b.E8a = "Could not unbind serviceIdentifier:"; + b.Zbb = "No matching bindings found for serviceIdentifier:"; + b.xbb = "Missing required @injectable annotation in:"; + b.ybb = "Missing required @inject or @multiInject annotation in:"; + b.qeb = function (a) { return "@inject called with undefined this could mean that the class " + a + " has a circular dependency problem. You can use a LazyServiceIdentifer to overcome this limitation."; }; - b.E8a = "Circular dependency found:"; - b.P0b = "Sorry, this feature is not fully implemented yet."; - b.Mab = "Invalid binding type:"; - b.Xbb = "No snapshot available to restore."; - b.Qab = "Invalid return type in middleware. Middleware must return!"; - b.Pab = "Value provided to function binding must be a function!"; - b.Sab = "The toSelf function can only be applied when a constructor is used as service identifier"; - b.Nab = "The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property."; - b.l7a = function () { + b.G8a = "Circular dependency found:"; + b.Q0b = "Sorry, this feature is not fully implemented yet."; + b.Pab = "Invalid binding type:"; + b.acb = "No snapshot available to restore."; + b.Tab = "Invalid return type in middleware. Middleware must return!"; + b.Sab = "Value provided to function binding must be a function!"; + b.Vab = "The toSelf function can only be applied when a constructor is used as service identifier"; + b.Qab = "The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property."; + b.n7a = function () { for (var a = [], c = 0; c < arguments.length; c++) { a[c] = arguments[c]; } return "The number of constructor arguments in the derived class " + (a[0] + " must be >= than the number of constructor arguments of its base class."); }; - b.T8a = "Invalid Container constructor argument. Container options must be an object."; - b.R8a = "Invalid Container option. Default scope must be a string ('singleton' or 'transient')."; - b.Q8a = "Invalid Container option. Auto bind injectable must be a boolean"; - b.S8a = "Invalid Container option. Skip base check must be a boolean"; - b.Hbb = "Cannot apply @postConstruct decorator multiple times in the same class"; - b.bdb = function () { + b.V8a = "Invalid Container constructor argument. Container options must be an object."; + b.T8a = "Invalid Container option. Default scope must be a string ('singleton' or 'transient')."; + b.S8a = "Invalid Container option. Auto bind injectable must be a boolean"; + b.U8a = "Invalid Container option. Skip base check must be a boolean"; + b.Lbb = "Cannot apply @postConstruct decorator multiple times in the same class"; + b.edb = function () { for (var a = [], c = 0; c < arguments.length; c++) { a[c] = arguments[c]; } return "@postConstruct error in class " + a[0] + ": " + a[1]; }; - b.F8a = function () { + b.H8a = function () { for (var a = [], c = 0; c < arguments.length; c++) { a[c] = arguments[c]; } return "It looks like there is a circular dependency in one of the '" + (a[0] + "' bindings. Please investigate bindings withservice identifier '") + (a[1] + "'."); }; - b.Pdb = "Maximum call stack size exceeded"; - }, function (q, b) { + b.Sdb = "Maximum call stack size exceeded"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Vn = b.eUb = b.RZa = void 0; - b.RZa = function (a, c) { + b.Xn = b.gUb = b.PZa = void 0; + b.PZa = function (a, c) { return a - c; }; - b.eUb = function (a, c) { + b.gUb = function (a, c) { return a.localeCompare(c); }; - b.Vn = function (a, c) { + b.Xn = function (a, c) { var f; f = Object.getOwnPropertyDescriptor(a, c); f && Object.defineProperty(a, c, { @@ -23388,12 +23398,12 @@ a000.D9b = function () { writable: f.writable }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; - c = a(123); - f = a(170); - q.exports = function (k) { + c = a(122); + f = a(169); + r.exports = function (k) { return function h(d, g) { switch (arguments.length) { case 0: @@ -23411,26 +23421,49 @@ a000.D9b = function () { } }; }; - }, function (q, b) { + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.H$ = "LogBatcherConfigSymbol"; + b.kq = "LogBatcherSymbol"; + b.EAa = "LogBatcherProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.P$ = "LogBatcherConfigSymbol"; - b.iq = "LogBatcherSymbol"; - b.GAa = "LogBatcherProviderSymbol"; - }, function (q, b) { + b.Oja = b.eP = b.hba = b.yZ = b.QHa = b.RHa = b.naa = b.sY = b.vw = void 0; + b.vw = "cenc"; + b.sY = "MIIE2jCCA8KgAwIBAgIIBRGnbPd8z1YwDQYJKoZIhvcNAQEFBQAwfzELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFwcGxlIEluYy4xJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MTMwMQYDVQQDDCpBcHBsZSBLZXkgU2VydmljZXMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTMwMzI3MjEyNjU2WhcNMTUwMzI4MjEyNjU2WjBjMQswCQYDVQQGEwJVUzEUMBIGA1UECgwLTmV0ZmxpeC5jb20xDDAKBgNVBAsMA0VEUzEwMC4GA1UEAwwnRlBTIEFwcGxpY2F0aW9uIENlcnRpZmljYXRlICgyMDEzIHYxLjApMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDfaIdDptThILsQcAbDMvT5FpK4JNn/BnHAY++rS9OFfhg5R4pV7CI+UMZeC64TFJJZciq6dX4/Vh7JDDULooAeZxlOLqJB4v+KDMpFS6VsRPweeMRSCE5rQffF5HoRKx682Kw4Ltv2PTxE3M16ktYCOxq+/7fxevMt3uII+2V0tQIDAQABo4IB+DCCAfQwHQYDVR0OBBYEFDuQUJCSl+l2UeybrEfNbUR1JcwSMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUY+RHVMuFcVlGLIOszEQxZGcDLL4wgeIGA1UdIASB2jCB1zCB1AYJKoZIhvdjZAUBMIHGMIHDBggrBgEFBQcCAjCBtgyBs1JlbGlhbmNlIG9uIHRoaXMgY2VydGlmaWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMgYWNjZXB0YW5jZSBvZiB0aGUgdGhlbiBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mIHVzZSwgY2VydGlmaWNhdGUgcG9saWN5IGFuZCBjZXJ0aWZpY2F0aW9uIHByYWN0aWNlIHN0YXRlbWVudHMuMDUGA1UdHwQuMCwwKqAooCaGJGh0dHA6Ly9jcmwuYXBwbGUuY29tL2tleXNlcnZpY2VzLmNybDAOBgNVHQ8BAf8EBAMCBSAwLQYLKoZIhvdjZAYNAQMBAf8EGwGcLBpLUU8iNtuBsGfgldUUE/I42u6RKyl8uzBJBgsqhkiG92NkBg0BBAEB/wQ3AV+LX+Xo3O4lI5WzFXfxVrna5jJD1GHioNsMHMKUv97Kx9dCozZVRhmiGdTREdjOptDoUjj2ODANBgkqhkiG9w0BAQUFAAOCAQEAmkGc6tT450ENeFTTmvhyTHfntjWyEpEvsvoubGpqPnbPXhYsaz6U1RuoLkf5q4BkaXVE0yekfKiPa5lOSIYOebyWgDkWBuJDPrQFw8QYreq5T/rteSNQnJS1lAbg5vyLzexLMH7kq47OlCAnUlrI20mvGM71RuU6HlKJIlWIVlId5JZQF2ae0/A6BVZWh35+bQu+iPI1PXjrTVYqtmrV6N+vV8UaHRdKV6rCD648iJebynWZj4Gbgzqw7AX4RE6UwiX0Rgz9ZMM5Vzfgrgk8KxOmsuaP8Kgqf5KWeH/LDa+ocftU7zGz1jO5L999JptFIatsdPyZXnA3xM+QjzBW8w=="; + b.naa = "Q0hBSQAAAAEAAAUMAAAAAAAAAAJDRVJUAAAAAQAAAfwAAAFsAAEAAQAAAFhr+y4Ydms5rTmj6bCCteW2AAAAAAAAAAAAAAAJzZtwNxHterM9CAoJYOM3CF9Tj0d9KND413a+UtNzRTb/////AAAAAAAAAAAAAAAAAAAAAAABAAoAAABU8vU0ozkqocBJMVIX2K4dugAAADZodHRwOi8vbnJkcC5uY2NwLm5ldGZsaXguY29tL3Jtc2RrL3JpZ2h0c21hbmFnZXIuYXNteAAAAAABAAUAAAAMAAAAAAABAAYAAABcAAAAAQABAgAAAAAAglDQ2GehCoNSsOaaB8zstNK0cCnf1+9gX8wM+2xwLlqJ1kyokCjt3F8P2NqXHM4mEU/G1T0HBBSI3j6XpKqzgAAAAAEAAAACAAAABwAAAEgAAAAAAAAACE5ldGZsaXgAAAAAH1BsYXlSZWFkeSBNZXRlcmluZyBDZXJ0aWZpY2F0ZQAAAAAABjIwMjQ4AAAAAAEACAAAAJAAAQBAU73up7T8eJYVK4UHuKYgMQIRbo0yf27Y5EPZRPmzkx1ZDMor7Prs77CAOU9S9k0RxpxPnqUwAKRPIVCe0aX2+AAAAgBb65FSx1oKG2r8AxQjio+UrYGLhvA7KMlxJBbPXosAV/CJufnIdUMSA0DhxD2W3eRLh2vHukIL4VH9guUcEBXsQ0VSVAAAAAEAAAL8AAACbAABAAEAAABYyTlnSi+jZfRvYL0rk9sVfwAAAAAAAAAAAAAABFNh3USSkWi88BlSM6PZ2gMuceJFJ9hzz0WzuCiwF9qv/////wAAAAAAAAAAAAAAAAAAAAAAAQAFAAAADAAAAAAAAQAGAAAAYAAAAAEAAQIAAAAAAFvrkVLHWgobavwDFCOKj5StgYuG8DsoyXEkFs9eiwBX8Im5+ch1QxIDQOHEPZbd5EuHa8e6QgvhUf2C5RwQFewAAAACAAAAAQAAAAwAAAAHAAABmAAAAAAAAACATWljcm9zb2Z0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAUGxheVJlYWR5IFNMMCBNZXRlcmluZyBSb290IENBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAMS4wLjAuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAIAAAAkAABAECsAomwQgNY0bm6U6Au9JRvwjbNnRzmVkZi+kg7npnRQ2T+4LgyrePBdBRQ3qb/jxXkn++4sOFa7vjRpFBzV0MMAAACAIZNYc/yJW5CLFaLPCgAHPs+FSdlhYS6BSG3mxgo2TbeHYJqj8Pm5/p6kNXKKUbx9kou+59dz/5+Q060QpP6xas="; + b.RHa = "Cr0CCAMSEOVEukALwQ8307Y2+LVP+0MYh/HPkwUijgIwggEKAoIBAQDm875btoWUbGqQD8eAGuBlGY+Pxo8YF1LQR+Ex0pDONMet8EHslcZRBKNQ/09RZFTP0vrYimyYiBmk9GG+S0wB3CRITgweNE15cD33MQYyS3zpBd4z+sCJam2+jj1ZA4uijE2dxGC+gRBRnw9WoPyw7D8RuhGSJ95OEtzg3Ho+mEsxuE5xg9LM4+Zuro/9msz2bFgJUjQUVHo5j+k4qLWu4ObugFmc9DLIAohL58UR5k0XnvizulOHbMMxdzna9lwTw/4SALadEV/CZXBmswUtBgATDKNqjXwokohncpdsWSauH6vfS6FXwizQoZJ9TdjSGC60rUB2t+aYDm74cIuxAgMBAAE6EHRlc3QubmV0ZmxpeC5jb20SgAOE0y8yWw2Win6M2/bw7+aqVuQPwzS/YG5ySYvwCGQd0Dltr3hpik98WijUODUr6PxMn1ZYXOLo3eED6xYGM7Riza8XskRdCfF8xjj7L7/THPbixyn4mULsttSmWFhexzXnSeKqQHuoKmerqu0nu39iW3pcxDV/K7E6aaSr5ID0SCi7KRcL9BCUCz1g9c43sNj46BhMCWJSm0mx1XFDcoKZWhpj5FAgU4Q4e6f+S8eX39nf6D6SJRb4ap7Znzn7preIvmS93xWjm75I6UBVQGo6pn4qWNCgLYlGGCQCUm5tg566j+/g5jvYZkTJvbiZFwtjMW5njbSRwB3W4CrKoyxw4qsJNSaZRTKAvSjTKdqVDXV/U5HK7SaBA6iJ981/aforXbd2vZlRXO/2S+Maa2mHULzsD+S5l4/YGpSt7PnkCe25F+nAovtl/ogZgjMeEdFyd/9YMYjOS4krYmwp3yJ7m9ZzYCQ6I8RQN4x/yLlHG5RH/+WNLNUs6JAZ0fFdCmw="; + b.QHa = "CAUSwwUKvQIIAxIQ5US6QAvBDzfTtjb4tU/7QxiH8c+TBSKOAjCCAQoCggEBAObzvlu2hZRsapAPx4Aa4GUZj4/GjxgXUtBH4THSkM40x63wQeyVxlEEo1D/T1FkVM/S+tiKbJiIGaT0Yb5LTAHcJEhODB40TXlwPfcxBjJLfOkF3jP6wIlqbb6OPVkDi6KMTZ3EYL6BEFGfD1ag/LDsPxG6EZIn3k4S3ODcej6YSzG4TnGD0szj5m6uj/2azPZsWAlSNBRUejmP6Tiota7g5u6AWZz0MsgCiEvnxRHmTRee+LO6U4dswzF3Odr2XBPD/hIAtp0RX8JlcGazBS0GABMMo2qNfCiSiGdyl2xZJq4fq99LoVfCLNChkn1N2NIYLrStQHa35pgObvhwi7ECAwEAAToQdGVzdC5uZXRmbGl4LmNvbRKAA4TTLzJbDZaKfozb9vDv5qpW5A/DNL9gbnJJi/AIZB3QOW2veGmKT3xaKNQ4NSvo/EyfVlhc4ujd4QPrFgYztGLNrxeyRF0J8XzGOPsvv9Mc9uLHKfiZQuy21KZYWF7HNedJ4qpAe6gqZ6uq7Se7f2JbelzENX8rsTpppKvkgPRIKLspFwv0EJQLPWD1zjew2PjoGEwJYlKbSbHVcUNygplaGmPkUCBThDh7p/5Lx5ff2d/oPpIlFvhqntmfOfumt4i+ZL3fFaObvkjpQFVAajqmfipY0KAtiUYYJAJSbm2DnrqP7+DmO9hmRMm9uJkXC2MxbmeNtJHAHdbgKsqjLHDiqwk1JplFMoC9KNMp2pUNdX9TkcrtJoEDqIn3zX9p+itdt3a9mVFc7/ZL4xpraYdQvOwP5LmXj9galK3s+eQJ7bkX6cCi+2X+iBmCMx4R0XJ3/1gxiM5LiStibCnfInub1nNgJDojxFA3jH/IuUcblEf/5Y0s1SzokBnR8V0KbA=="; + b.yZ = "SW_SECURE_CRYPTO"; + b.hba = "SW_SECURE_DECODE"; + b.eP = "HW_SECURE_DECODE"; + b.Oja = function (a) { + var c; + c = a.getConfiguration(); + return [b.eP, b.hba, b.yZ].find(function (f) { + var k; + return null === (k = c.videoCapabilities) || void 0 === k ? void 0 : k.some(function (l) { + return l.robustness === f; + }); + }); + }; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mma = b.Th = void 0; + b.Gma = b.Th = void 0; (function (a) { - a[a.Co = 0] = "STANDARD"; - a[a.kn = 1] = "LIMITED"; + a[a.Do = 0] = "STANDARD"; + a[a.jn = 1] = "LIMITED"; })(b.Th || (b.Th = {})); - b.Mma = function (a) { + b.Gma = function (a) { return ["STANDARD", "LIMITED"][a]; }; - }, function (q, b) { + }, function (r, b) { function a(c) { var f; f = Error.call(this, "TimeoutError"); @@ -23441,11 +23474,11 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Gw = b.qq = void 0; - ka(a, Error); - b.qq = a; - b.Gw = "PromiseTimerSymbol"; - }, function (q, b) { + b.Mw = b.sq = void 0; + ja(a, Error); + b.sq = a; + b.Mw = "PromiseTimerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); @@ -23453,65 +23486,65 @@ a000.D9b = function () { b.fg = function (a) { return setTimeout(a, 0); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l, d) { var g; - g = b.Bo[0]; - g == d && (g = b.Bo[1]); + g = b.Co[0]; + g == d && (g = b.Co[1]); g ? g.close(function () { c(l, d); - }) : l && l(f.Ee); + }) : l && l(f.Ge); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jEa = b.iEa = b.Maa = b.Naa = b.qI = b.Paa = b.Oaa = b.Saa = b.Raa = b.Bo = b.Taa = b.Qaa = void 0; + b.hEa = b.gEa = b.Faa = b.Gaa = b.xI = b.Iaa = b.Haa = b.Laa = b.Kaa = b.Co = b.Maa = b.Jaa = void 0; f = a(12); k = a(21); - b.Qaa = c; - b.Taa = function (l, d) { + b.Jaa = c; + b.Maa = function (l, d) { switch (l) { - case b.Oaa: - b.Raa.push(d); + case b.Haa: + b.Kaa.push(d); return; - case b.Paa: - b.Saa.push(d); + case b.Iaa: + b.Laa.push(d); return; } k.gb(!1); }; - b.Bo = []; - b.Raa = []; - b.Saa = []; - b.Oaa = 1; - b.Paa = 3; - b.qI = { + b.Co = []; + b.Kaa = []; + b.Laa = []; + b.Haa = 1; + b.Iaa = 3; + b.xI = { index: 0, - jJb: void 0, - Tia: void 0 - }; - b.Naa = "network"; - b.Maa = "media"; - b.iEa = "timedtext"; - b.jEa = "playback"; - }, function (q, b, a) { + mJb: void 0, + Mia: void 0 + }; + b.Gaa = "network"; + b.Faa = "media"; + b.gEa = "timedtext"; + b.hEa = "playback"; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.x3 = b.mL = b.y3 = b.FB = b.Jm = b.lf = void 0; - q = a(72); - c = a(61); + b.y3 = b.pL = b.z3 = b.IB = b.Hm = b.lf = void 0; + r = a(73); + c = a(62); f = a(11); - b.lf = new q.Wj(); - b.Jm = 1; - b.FB = 2; - b.y3 = 3; - b.mL = 4; - b.x3 = 5; + b.lf = new r.Wj(); + b.Hm = 1; + b.IB = 2; + b.z3 = 3; + b.pL = 4; + b.y3 = 5; c.fg(function () { var l, d, @@ -23525,56 +23558,56 @@ a000.D9b = function () { l = pb.jQuery; d = l && l(pb); l = (l = pb.netflix) && l.cadmium && l.cadmium.addBeforeUnloadHandler; - g = f.De.hidden; + g = f.Fe.hidden; l ? l(function (h) { - b.lf.tc(b.Jm, h); + b.lf.qc(b.Hm, h); }) : k("beforeunload", function (h) { - b.lf.tc(b.Jm, h); + b.lf.qc(b.Hm, h); }); k("keydown", function (h) { - b.lf.tc(b.FB, h); + b.lf.qc(b.IB, h); }); k("resize", function () { - b.lf.tc(b.y3); + b.lf.qc(b.z3); }); - f.De.addEventListener("visibilitychange", function () { - g !== f.De.hidden && (g = f.De.hidden, b.lf.tc(b.mL)); + f.Fe.addEventListener("visibilitychange", function () { + g !== f.Fe.hidden && (g = f.Fe.hidden, b.lf.qc(b.pL)); }); }); (function () { pb.addEventListener("error", function (k) { - b.lf.tc(b.x3, k); + b.lf.qc(b.y3, k); return !0; }); })(); - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(41); - q = (function () { + r = (function () { function f(k, l) { this.key = k; this.value = l; } f.prototype.toString = function () { - return this.key === c.hA ? "named: " + this.value.toString() + " " : "tagged: { key:" + this.key.toString() + ", value: " + this.value + " }"; + return this.key === c.iA ? "named: " + this.value.toString() + " " : "tagged: { key:" + this.key.toString() + ", value: " + this.value + " }"; }; return f; })(); - b.Metadata = q; - }, function (q, b) { + b.Metadata = r; + }, function (r, b) { var c, f; function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.gq = b.Da = b.nj = void 0; + b.iq = b.Ea = b.kj = void 0; (function (k) { - k[k.Co = 0] = "STANDARD"; - k[k.kn = 1] = "LIMITED"; + k[k.Do = 0] = "STANDARD"; + k[k.jn = 1] = "LIMITED"; k[k.E1b = 2] = "PREVIEW"; })(c || (c = {})); (function (k) { @@ -23585,29 +23618,29 @@ a000.D9b = function () { k[k.HAVE_ENOUGH_DATA = 4] = "HAVE_ENOUGH_DATA"; })(f || (f = {})); (function (k) { - k.x7a = "asl_start"; - k.v7a = "asl_comp"; - k.EYb = "asl_exc"; - k.w7a = "asl_fail"; - k.Rdb = "stf_creat"; - k.hab = "idb_open"; - k.eab = "idb_block"; - k.oab = "idb_upgr"; - k.nab = "idb_succ"; - k.fab = "idb_error"; - k.gab = "idb_invalid_state"; - k.jab = "idb_open_timeout"; - k.lab = "idb_open_wrkarnd"; - k.mab = "idb_storelen_exc"; - k.iab = "idb_open_exc"; - k.kab = "idb_timeout_invalid_storelen"; - k.Bbb = "msl_load_data"; - k.Dbb = "msl_load_no_data"; - k.Cbb = "msl_load_failed"; - })(q = b.nj || (b.nj = {})); + k.z7a = "asl_start"; + k.x7a = "asl_comp"; + k.FYb = "asl_exc"; + k.y7a = "asl_fail"; + k.Udb = "stf_creat"; + k.kab = "idb_open"; + k.hab = "idb_block"; + k.rab = "idb_upgr"; + k.qab = "idb_succ"; + k.iab = "idb_error"; + k.jab = "idb_invalid_state"; + k.mab = "idb_open_timeout"; + k.oab = "idb_open_wrkarnd"; + k.pab = "idb_storelen_exc"; + k.lab = "idb_open_exc"; + k.nab = "idb_timeout_invalid_storelen"; + k.Fbb = "msl_load_data"; + k.Hbb = "msl_load_no_data"; + k.Gbb = "msl_load_failed"; + })(r = b.kj || (b.kj = {})); (function (k) { - k.uaa = "PlaybackRequestStart"; - k.taa = "PlaybackRequestEnd"; + k.maa = "PlaybackRequestStart"; + k.laa = "PlaybackRequestEnd"; k.rZ = "RequestPrefetchManifestStart"; k.qZ = "RequestPrefetchManifestEnd"; k.pZ = "RequestManifestStart"; @@ -23620,156 +23653,154 @@ a000.D9b = function () { k.nO = "RequestAudioUrlEnd"; k.sO = "RequestVideoUrlStart"; k.rO = "RequestVideoUrlEnd"; - k.a9 = "AppendBufferStart"; - k.Z8 = "AppendBufferEnd"; - k.jba = "SetMediaKeysStart"; - k.iba = "SetMediaKeysEnd"; + k.V8 = "AppendBufferStart"; + k.U8 = "AppendBufferEnd"; + k.dba = "SetMediaKeysStart"; + k.cba = "SetMediaKeysEnd"; k.wY = "GenerateChallengeStart"; k.vY = "GenerateChallengeEnd"; - k.IX = "ApplyLicenseStart"; - k.HX = "ApplyLicenseEnd"; - })(b.Da || (b.Da = {})); - b.gq = a; - a.L$ = c; - a.SOa = function (k) { + k.HX = "ApplyLicenseStart"; + k.GX = "ApplyLicenseEnd"; + })(b.Ea || (b.Ea = {})); + b.iq = a; + a.D$ = c; + a.ROa = function (k) { return ["STANDARD", "LIMITED", "PREVIEW"][k]; }; - a.nj = q; - a.bza = f; - }, function (q, b) { + a.kj = r; + a.$ya = f; + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Xz = "cenc"; - b.j$ = "MIIE2jCCA8KgAwIBAgIIBRGnbPd8z1YwDQYJKoZIhvcNAQEFBQAwfzELMAkGA1UEBhMCVVMxEzARBgNVBAoMCkFwcGxlIEluYy4xJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MTMwMQYDVQQDDCpBcHBsZSBLZXkgU2VydmljZXMgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTMwMzI3MjEyNjU2WhcNMTUwMzI4MjEyNjU2WjBjMQswCQYDVQQGEwJVUzEUMBIGA1UECgwLTmV0ZmxpeC5jb20xDDAKBgNVBAsMA0VEUzEwMC4GA1UEAwwnRlBTIEFwcGxpY2F0aW9uIENlcnRpZmljYXRlICgyMDEzIHYxLjApMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDfaIdDptThILsQcAbDMvT5FpK4JNn/BnHAY++rS9OFfhg5R4pV7CI+UMZeC64TFJJZciq6dX4/Vh7JDDULooAeZxlOLqJB4v+KDMpFS6VsRPweeMRSCE5rQffF5HoRKx682Kw4Ltv2PTxE3M16ktYCOxq+/7fxevMt3uII+2V0tQIDAQABo4IB+DCCAfQwHQYDVR0OBBYEFDuQUJCSl+l2UeybrEfNbUR1JcwSMAwGA1UdEwEB/wQCMAAwHwYDVR0jBBgwFoAUY+RHVMuFcVlGLIOszEQxZGcDLL4wgeIGA1UdIASB2jCB1zCB1AYJKoZIhvdjZAUBMIHGMIHDBggrBgEFBQcCAjCBtgyBs1JlbGlhbmNlIG9uIHRoaXMgY2VydGlmaWNhdGUgYnkgYW55IHBhcnR5IGFzc3VtZXMgYWNjZXB0YW5jZSBvZiB0aGUgdGhlbiBhcHBsaWNhYmxlIHN0YW5kYXJkIHRlcm1zIGFuZCBjb25kaXRpb25zIG9mIHVzZSwgY2VydGlmaWNhdGUgcG9saWN5IGFuZCBjZXJ0aWZpY2F0aW9uIHByYWN0aWNlIHN0YXRlbWVudHMuMDUGA1UdHwQuMCwwKqAooCaGJGh0dHA6Ly9jcmwuYXBwbGUuY29tL2tleXNlcnZpY2VzLmNybDAOBgNVHQ8BAf8EBAMCBSAwLQYLKoZIhvdjZAYNAQMBAf8EGwGcLBpLUU8iNtuBsGfgldUUE/I42u6RKyl8uzBJBgsqhkiG92NkBg0BBAEB/wQ3AV+LX+Xo3O4lI5WzFXfxVrna5jJD1GHioNsMHMKUv97Kx9dCozZVRhmiGdTREdjOptDoUjj2ODANBgkqhkiG9w0BAQUFAAOCAQEAmkGc6tT450ENeFTTmvhyTHfntjWyEpEvsvoubGpqPnbPXhYsaz6U1RuoLkf5q4BkaXVE0yekfKiPa5lOSIYOebyWgDkWBuJDPrQFw8QYreq5T/rteSNQnJS1lAbg5vyLzexLMH7kq47OlCAnUlrI20mvGM71RuU6HlKJIlWIVlId5JZQF2ae0/A6BVZWh35+bQu+iPI1PXjrTVYqtmrV6N+vV8UaHRdKV6rCD648iJebynWZj4Gbgzqw7AX4RE6UwiX0Rgz9ZMM5Vzfgrgk8KxOmsuaP8Kgqf5KWeH/LDa+ocftU7zGz1jO5L999JptFIatsdPyZXnA3xM+QjzBW8w=="; - b.SCa = "Q0hBSQAAAAEAAAUMAAAAAAAAAAJDRVJUAAAAAQAAAfwAAAFsAAEAAQAAAFhr+y4Ydms5rTmj6bCCteW2AAAAAAAAAAAAAAAJzZtwNxHterM9CAoJYOM3CF9Tj0d9KND413a+UtNzRTb/////AAAAAAAAAAAAAAAAAAAAAAABAAoAAABU8vU0ozkqocBJMVIX2K4dugAAADZodHRwOi8vbnJkcC5uY2NwLm5ldGZsaXguY29tL3Jtc2RrL3JpZ2h0c21hbmFnZXIuYXNteAAAAAABAAUAAAAMAAAAAAABAAYAAABcAAAAAQABAgAAAAAAglDQ2GehCoNSsOaaB8zstNK0cCnf1+9gX8wM+2xwLlqJ1kyokCjt3F8P2NqXHM4mEU/G1T0HBBSI3j6XpKqzgAAAAAEAAAACAAAABwAAAEgAAAAAAAAACE5ldGZsaXgAAAAAH1BsYXlSZWFkeSBNZXRlcmluZyBDZXJ0aWZpY2F0ZQAAAAAABjIwMjQ4AAAAAAEACAAAAJAAAQBAU73up7T8eJYVK4UHuKYgMQIRbo0yf27Y5EPZRPmzkx1ZDMor7Prs77CAOU9S9k0RxpxPnqUwAKRPIVCe0aX2+AAAAgBb65FSx1oKG2r8AxQjio+UrYGLhvA7KMlxJBbPXosAV/CJufnIdUMSA0DhxD2W3eRLh2vHukIL4VH9guUcEBXsQ0VSVAAAAAEAAAL8AAACbAABAAEAAABYyTlnSi+jZfRvYL0rk9sVfwAAAAAAAAAAAAAABFNh3USSkWi88BlSM6PZ2gMuceJFJ9hzz0WzuCiwF9qv/////wAAAAAAAAAAAAAAAAAAAAAAAQAFAAAADAAAAAAAAQAGAAAAYAAAAAEAAQIAAAAAAFvrkVLHWgobavwDFCOKj5StgYuG8DsoyXEkFs9eiwBX8Im5+ch1QxIDQOHEPZbd5EuHa8e6QgvhUf2C5RwQFewAAAACAAAAAQAAAAwAAAAHAAABmAAAAAAAAACATWljcm9zb2Z0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAUGxheVJlYWR5IFNMMCBNZXRlcmluZyBSb290IENBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAMS4wLjAuMQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAIAAAAkAABAECsAomwQgNY0bm6U6Au9JRvwjbNnRzmVkZi+kg7npnRQ2T+4LgyrePBdBRQ3qb/jxXkn++4sOFa7vjRpFBzV0MMAAACAIZNYc/yJW5CLFaLPCgAHPs+FSdlhYS6BSG3mxgo2TbeHYJqj8Pm5/p6kNXKKUbx9kou+59dz/5+Q060QpP6xas="; - b.xeb = "Cr0CCAMSEOVEukALwQ8307Y2+LVP+0MYh/HPkwUijgIwggEKAoIBAQDm875btoWUbGqQD8eAGuBlGY+Pxo8YF1LQR+Ex0pDONMet8EHslcZRBKNQ/09RZFTP0vrYimyYiBmk9GG+S0wB3CRITgweNE15cD33MQYyS3zpBd4z+sCJam2+jj1ZA4uijE2dxGC+gRBRnw9WoPyw7D8RuhGSJ95OEtzg3Ho+mEsxuE5xg9LM4+Zuro/9msz2bFgJUjQUVHo5j+k4qLWu4ObugFmc9DLIAohL58UR5k0XnvizulOHbMMxdzna9lwTw/4SALadEV/CZXBmswUtBgATDKNqjXwokohncpdsWSauH6vfS6FXwizQoZJ9TdjSGC60rUB2t+aYDm74cIuxAgMBAAE6EHRlc3QubmV0ZmxpeC5jb20SgAOE0y8yWw2Win6M2/bw7+aqVuQPwzS/YG5ySYvwCGQd0Dltr3hpik98WijUODUr6PxMn1ZYXOLo3eED6xYGM7Riza8XskRdCfF8xjj7L7/THPbixyn4mULsttSmWFhexzXnSeKqQHuoKmerqu0nu39iW3pcxDV/K7E6aaSr5ID0SCi7KRcL9BCUCz1g9c43sNj46BhMCWJSm0mx1XFDcoKZWhpj5FAgU4Q4e6f+S8eX39nf6D6SJRb4ap7Znzn7preIvmS93xWjm75I6UBVQGo6pn4qWNCgLYlGGCQCUm5tg566j+/g5jvYZkTJvbiZFwtjMW5njbSRwB3W4CrKoyxw4qsJNSaZRTKAvSjTKdqVDXV/U5HK7SaBA6iJ981/aforXbd2vZlRXO/2S+Maa2mHULzsD+S5l4/YGpSt7PnkCe25F+nAovtl/ogZgjMeEdFyd/9YMYjOS4krYmwp3yJ7m9ZzYCQ6I8RQN4x/yLlHG5RH/+WNLNUs6JAZ0fFdCmw="; - b.web = "CAUSwwUKvQIIAxIQ5US6QAvBDzfTtjb4tU/7QxiH8c+TBSKOAjCCAQoCggEBAObzvlu2hZRsapAPx4Aa4GUZj4/GjxgXUtBH4THSkM40x63wQeyVxlEEo1D/T1FkVM/S+tiKbJiIGaT0Yb5LTAHcJEhODB40TXlwPfcxBjJLfOkF3jP6wIlqbb6OPVkDi6KMTZ3EYL6BEFGfD1ag/LDsPxG6EZIn3k4S3ODcej6YSzG4TnGD0szj5m6uj/2azPZsWAlSNBRUejmP6Tiota7g5u6AWZz0MsgCiEvnxRHmTRee+LO6U4dswzF3Odr2XBPD/hIAtp0RX8JlcGazBS0GABMMo2qNfCiSiGdyl2xZJq4fq99LoVfCLNChkn1N2NIYLrStQHa35pgObvhwi7ECAwEAAToQdGVzdC5uZXRmbGl4LmNvbRKAA4TTLzJbDZaKfozb9vDv5qpW5A/DNL9gbnJJi/AIZB3QOW2veGmKT3xaKNQ4NSvo/EyfVlhc4ujd4QPrFgYztGLNrxeyRF0J8XzGOPsvv9Mc9uLHKfiZQuy21KZYWF7HNedJ4qpAe6gqZ6uq7Se7f2JbelzENX8rsTpppKvkgPRIKLspFwv0EJQLPWD1zjew2PjoGEwJYlKbSbHVcUNygplaGmPkUCBThDh7p/5Lx5ff2d/oPpIlFvhqntmfOfumt4i+ZL3fFaObvkjpQFVAajqmfipY0KAtiUYYJAJSbm2DnrqP7+DmO9hmRMm9uJkXC2MxbmeNtJHAHdbgKsqjLHDiqwk1JplFMoC9KNMp2pUNdX9TkcrtJoEDqIn3zX9p+itdt3a9mVFc7/ZL4xpraYdQvOwP5LmXj9galK3s+eQJ7bkX6cCi+2X+iBmCMx4R0XJ3/1gxiM5LiStibCnfInub1nNgJDojxFA3jH/IuUcblEf/5Y0s1SzokBnR8V0KbA=="; - b.IY = "HW_SECURE_DECODE"; - b.VFa = "SW_SECURE_DECODE"; - b.nba = "SW_SECURE_CRYPTO"; - }, function (q, b, a) { + r = a(1); + r.__exportStar(a(777), b); + r.__exportStar(a(224), b); + r.__exportStar(a(778), b); + r.__exportStar(a(779), b); + r.__exportStar(a(780), b); + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(2); - q.__exportStar(a(151), b); - q.__exportStar(a(850), b); - q.__exportStar(a(175), b); - }, function (q, b) { + r = a(2); + r.__exportStar(a(151), b); + r.__exportStar(a(852), b); + r.__exportStar(a(175), b); + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.bu = "EmeConfigSymbol"; - }, function (q, b) { + b.gu = "EmeConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ND = "TimingApiSymbol"; - b.oP = "MilestoneTimingApiSymbol"; - }, function (q, b) { + b.QD = "TimingApiSymbol"; + b.pP = "MilestoneTimingApiSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ku = "PboConfigSymbol"; - }, function (q, b, a) { + b.ru = "PboConfigSymbol"; + }, function (r, b, a) { var m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F; + G; function c(D) { - var G, - I, + var F, J, + K, H; - G = D.url.split("?"); - I = G[0]; - J = "sc=" + D.$Qb; - H = D.tNa ? "random=" + (1E17 * z.uD()).toFixed(0) : ""; - I = G[1] ? I + ("?" + G[1] + "&" + J) : I + ("?" + J); - I += H ? "&" + H : ""; - D.Pc && !p.A4(I) && (D = n.config && n.config.Rfa) && (I = D.replace("{URL}", I).replace("{EURL}", encodeURIComponent(I))); - return I; + F = D.url.split("?"); + J = F[0]; + K = "sc=" + D.eRb; + H = D.tNa ? "random=" + (1E17 * z.wD()).toFixed(0) : ""; + J = F[1] ? J + ("?" + F[1] + "&" + K) : J + ("?" + K); + J += H ? "&" + H : ""; + D.pc && !p.A4(J) && (D = n.config && n.config.Kfa) && (J = D.replace("{URL}", J).replace("{EURL}", encodeURIComponent(J))); + return J; } function f(D) { - var G, - I, + var F, J, + K, H; - G = D.url.split("?"); - I = G[0]; - J = "bb_reason=" + D.reason; - H = D.tNa ? "random=" + (1E17 * z.uD()).toFixed(0) : ""; - I = G[1] ? I + ("?" + G[1] + "&" + J) : I + ("?" + J); - I += H ? "&" + H : ""; - D.Pc && !p.A4(I) && (D = n.config && n.config.Rfa) && (I = D.replace("{URL}", I).replace("{EURL}", encodeURIComponent(I))); - return I; + F = D.url.split("?"); + J = F[0]; + K = "bb_reason=" + D.reason; + H = D.tNa ? "random=" + (1E17 * z.wD()).toFixed(0) : ""; + J = F[1] ? J + ("?" + F[1] + "&" + K) : J + ("?" + K); + J += H ? "&" + H : ""; + D.pc && !p.A4(J) && (D = n.config && n.config.Kfa) && (J = D.replace("{URL}", J).replace("{EURL}", encodeURIComponent(J))); + return J; } - function k(D, G) { - var I, - J, + function k(D, F) { + var J, + K, H; - I = D.url.split("?"); - J = I[0]; + J = D.url.split("?"); + K = J[0]; H = l(D); - H && (G.fr = H, (void 0 === D.St ? n.config.St : D.St) ? (D.headers = D.headers || ({}), D.headers.Range = "bytes=" + H) : (G.fr = H, J = "/" == J[J.length - 1] ? J + "range/" : J + "/range/", J += H)); - H = D.tNa ? "random=" + (1E17 * z.uD()).toFixed(0) : ""; - n.config.ay && D.H7 && (H = "sc=" + D.H7 + (H ? "&" + H : "")); - J = I[1] ? J + ("?" + I[1] + (H ? "&" + H : "")) : J + (H ? "?" + H : ""); - D.Pc && !p.A4(J) && (D = n.config && n.config.Rfa) && (J = D.replace("{URL}", J).replace("{EURL}", encodeURIComponent(J))); - G.url = J; + H && (F.gr = H, (void 0 === D.Yt ? n.config.Yt : D.Yt) ? (D.headers = D.headers || ({}), D.headers.Range = "bytes=" + H) : (F.gr = H, K = "/" == K[K.length - 1] ? K + "range/" : K + "/range/", K += H)); + H = D.tNa ? "random=" + (1E17 * z.wD()).toFixed(0) : ""; + n.config.fy && D.D7 && (H = "sc=" + D.D7 + (H ? "&" + H : "")); + K = J[1] ? K + ("?" + J[1] + (H ? "&" + H : "")) : K + (H ? "?" + H : ""); + D.pc && !p.A4(K) && (D = n.config && n.config.Kfa) && (K = D.replace("{URL}", K).replace("{EURL}", encodeURIComponent(K))); + F.url = K; } function l(D) { - var G; - G = D.offset; - if (void 0 !== G) - return (x.jS(G), void 0 !== D.length ? (D = D.offset + D.length - 1, x.jS(D), G + "-" + D) : G + "-"); + var F; + F = D.offset; + if (void 0 !== F) + return (x.iS(F), void 0 !== D.length ? (D = D.offset + D.length - 1, x.iS(D), F + "-" + D) : F + "-"); } function d() { - return !1 !== z.Qe.onLine; + return !1 !== z.Re.onLine; } - function g(D, G, I, J) { + function g(D, F, J, K) { var H, - M; - H = J.Lpa; - M = J.headers; - D.open(H ? "POST" : "GET", G, !I); - switch (J.responseType) { - case b.RT: + L; + H = K.Gpa; + L = K.headers; + D.open(H ? "POST" : "GET", F, !J); + switch (K.responseType) { + case b.OT: D.responseType = "arraybuffer"; break; - case b.mla: + case b.hla: y.FNa(D, "overrideMimeType", void 0, "text/xml"); } - H && (G = { - "Content-Type": t.ze(H) ? "text/plain" : "application/x-octet-stream" - }, M = M ? t.Qb(G, M) : G); - M && y.de(M, function (O, L) { - D.setRequestHeader(O, L); + H && (F = { + "Content-Type": u.Be(H) ? "text/plain" : "application/x-octet-stream" + }, L = L ? u.Tb(F, L) : F); + L && y.ae(L, function (Q, I) { + D.setRequestHeader(Q, I); }); - J.withCredentials && (D.withCredentials = !0); + K.withCredentials && (D.withCredentials = !0); void 0 !== D.msCaching && (D.msCaching = "disabled"); H ? D.send(H) : D.send(); } - function h(D, G) { - switch (G.type) { - case b.RT: + function h(D, F) { + switch (F.type) { + case b.OT: return D.response || new ArrayBuffer(0); - case b.mla: + case b.hla: return D.responseXML; default: return D.responseText; @@ -23778,392 +23809,392 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.RT = b.mla = b.lla = b.nla = b.O3 = b.sVa = b.rVa = b.M3 = b.Aeb = b.Beb = b.kDb = b.N3 = b.hDb = b.iDb = b.gDb = b.jDb = b.Bf = void 0; - m = a(72); + b.OT = b.hla = b.gla = b.ila = b.P3 = b.qVa = b.pVa = b.N3 = b.Beb = b.Ceb = b.nDb = b.O3 = b.kDb = b.lDb = b.jDb = b.mDb = b.Df = void 0; + m = a(73); n = a(13); - r = a(12); + q = a(12); p = a(47); - u = a(51); - t = a(29); + t = a(51); + u = a(29); w = a(3); v = a(7); x = a(21); y = a(24); z = a(11); - B = a(61); - A = a(17); + A = a(62); + B = a(17); C = a(32); E = { - tl: 1, + sl: 1, R2b: 2, - O7a: 3 + Q7a: 3 }; - b.Bf = (function () { - var J, + b.Df = (function () { + var K, H, - M, - O; - function D(L) { - var P; + L, + Q; + function D(I) { + var O; try { - P = L.url; - A.nma(P) ? 0 === P.indexOf("https") ? O.ssl++ : 0 === P.indexOf("http") ? O["non-ssl"]++ : O.invalid++ : O.invalid++; - } catch (R) {} + O = I.url; + B.hma(O) ? 0 === O.indexOf("https") ? Q.ssl++ : 0 === O.indexOf("http") ? Q["non-ssl"]++ : Q.invalid++ : Q.invalid++; + } catch (N) {} } - function G() { - H.tc(b.sVa); - H.tc(b.nla); + function F() { + H.qc(b.qVa); + H.qc(b.ila); } - function I() { - H.tc(b.O3); - H.tc(b.nla); + function J() { + H.qc(b.P3); + H.qc(b.ila); } - J = v.ii("Http"); + K = v.ii("Http"); H = new m.Wj(); - M = 0; - O = { + L = 0; + Q = { ssl: 0, "non-ssl": 0, invalid: 0 }; - v.ha.get(C.Zg).register(w.L.Nza, function (L) { - n.config.jXb && (pb.addEventListener("online", G), pb.addEventListener("offline", I), b.N3 = d); - L(r.Ee); + v.ha.get(C.Xg).register(w.M.Lza, function (I) { + n.config.lXb && (pb.addEventListener("online", F), pb.addEventListener("offline", J), b.O3 = d); + I(q.Ge); }); return { addEventListener: H.addListener, removeEventListener: H.removeListener, - download: function (L, P) { - var X, - ta, - za, + download: function (I, O) { + var Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a; - function R() { + ab; + function N() { var Za; - R = t.kj; - $a && (clearTimeout($a), $a = null); - H.removeListener(b.O3, da); - Sa && (Sa.onloadstart = null, Sa.onreadystatechange = null, Sa.onprogress = null, Sa.onerror = null, Sa.onload = null, Sa = Sa.onabort = null); - wa.X ? !1 : wa.oa != w.M.$z ? X.warn("Download failed", ta, w.Lr(wa)) : X.trace("Download aborted", ta); - Za = za; - za = void 0; - for (var mb = Za.length; mb--; ) { + N = u.Yj; + ab && (clearTimeout(ab), ab = null); + H.removeListener(b.P3, ea); + Ta && (Ta.onloadstart = null, Ta.onreadystatechange = null, Ta.onprogress = null, Ta.onerror = null, Ta.onload = null, Ta = Ta.onabort = null); + wa.W ? !1 : wa.oa != w.L.aA ? Y.warn("Download failed", ra, w.Or(wa)) : Y.trace("Download aborted", ra); + Za = Ea; + Ea = void 0; + for (var nb = Za.length; nb--; ) { (function () { - var db; - db = Za[mb]; - B.fg(function () { - db(wa); + var cb; + cb = Za[nb]; + A.fg(function () { + cb(wa); }); })(); } - H.tc(b.rVa, wa, !0); + H.qc(b.pVa, wa, !0); } - function K() { - $a && (clearTimeout($a), $a = null); - $a = setTimeout(na, Ua ? Ia : ja); + function M() { + ab && (clearTimeout(ab), ab = null); + ab = setTimeout(pa, Ua ? Ia : ma); } - function Q(Za, mb, db, Ta) { - var Ca, + function P(Za, nb, cb, Sa) { + var Ba, La; - wa.X = !1; + wa.W = !1; wa.oa = Za; - Ca = u.Hi(); + Ba = t.Hi(); La = wa.Rl; - La.Oh = La.Oh || Ca; - La.fo = La.fo || Ca; - 0 < mb && (wa.lk = wa.Ve = mb); - db && (wa.sb = db); - Ta && (wa.EC = Ta); - Za !== w.M.$O && Za !== w.M.jD && Za !== w.M.cP || !Sa || (Sa.onabort = null, va()); - R(); - } - function N(Za) { - var mb, - db; + La.Nh = La.Nh || Ba; + La.ho = La.ho || Ba; + 0 < nb && (wa.lk = wa.Xe = nb); + cb && (wa.qb = cb); + Sa && (wa.GC = Sa); + Za !== w.L.$O && Za !== w.L.lD && Za !== w.L.cP || !Ta || (Ta.onabort = null, va()); + N(); + } + function R(Za) { + var nb, + cb; try { - db = Za.getResponseHeader("X-Netflix.Retry.Server.Policy"); - db && (mb = JSON.parse(db)); - } catch (Ta) { + cb = Za.getResponseHeader("X-Netflix.Retry.Server.Policy"); + cb && (nb = JSON.parse(cb)); + } catch (Sa) { !1; } - return mb; + return nb; } - function da() { - b.N3() || Q(w.M.$O); + function ea() { + b.O3() || P(w.L.$O); } - function na() { - Q(Ua ? w.M.jD : w.M.cP); + function pa() { + P(Ua ? w.L.lD : w.L.cP); } function va() { try { - Sa && Sa.abort(); + Ta && Ta.abort(); } catch (Za) {} } - function ra() { - Q(w.M.$z); + function ta() { + P(w.L.aA); } - x.gb(P); - X = L.j && L.j.log && v.Ih(L.j, "Http") || J; - ta = { - Num: M++ + x.gb(O); + Y = I.j && I.j.log && v.Ih(I.j, "Http") || K; + ra = { + Num: L++ }; - za = [P]; + Ea = [O]; V = {}; - ja = L.s1 || n.config.s1; - Ia = L.roa || n.config.roa; - D(L); + ma = I.t1 || n.config.t1; + Ia = I.moa || n.config.moa; + D(I); !1; wa = (function () { var Za, - mb, - db; - Za = t.kj; - mb = t.kj; - db = t.kj; + nb, + cb; + Za = u.Yj; + nb = u.Yj; + cb = u.Yj; return { - request: L, - type: L.responseType, + request: I, + type: I.responseType, Rl: V, abort: va, - timeout: na, - lea: function (Ta) { - R !== t.kj && (x.gb(za, "Callback should be added before download starts."), za && za.unshift(Ta)); + timeout: pa, + fea: function (Sa) { + N !== u.Yj && (x.gb(Ea, "Callback should be added before download starts."), Ea && Ea.unshift(Sa)); }, - d6: function (Ta) { - db(Ta); + d6: function (Sa) { + cb(Sa); }, - f6: function (Ta) { - Za(Ta); + f6: function (Sa) { + Za(Sa); }, - Rm: function (Ta) { - mb(Ta); + Qm: function (Sa) { + nb(Sa); }, - aSb: function (Ta) { - db = Ta; + dSb: function (Sa) { + cb = Sa; }, - iSb: function (Ta) { - Za = Ta; + lSb: function (Sa) { + Za = Sa; }, - SRb: function (Ta) { - mb = Ta; + VRb: function (Sa) { + nb = Sa; } }; })(); - B.fg(function () { + A.fg(function () { var Za, - mb; - if (A.nma(L.url)) + nb; + if (B.hma(I.url)) try { - if ((k(L, wa), T = wa.url, x.oK(T), ta.Url = T, b.N3())) { + if ((k(I, wa), U = wa.url, x.sK(U), ra.Url = U, b.O3())) { !1; - Sa = new XMLHttpRequest(); - Za = n.config.qXb && "undefined" != typeof Sa.onloadstart; - Za && (Sa.onloadstart = function () { - var db; - db = u.Hi(); - V.Np = db; + Ta = new XMLHttpRequest(); + Za = n.config.sXb && "undefined" != typeof Ta.onloadstart; + Za && (Ta.onloadstart = function () { + var cb; + cb = t.Hi(); + V.Qp = cb; wa.d6({ - mediaRequest: L, - timestamp: db + mediaRequest: I, + timestamp: cb }); }); - Sa.onreadystatechange = function () { - if (2 == Sa.readyState) { + Ta.onreadystatechange = function () { + if (2 == Ta.readyState) { Ua = !0; - V.Oh = u.Hi(); - Sa.onreadystatechange = null; - K(); + V.Nh = t.Hi(); + Ta.onreadystatechange = null; + M(); !1; - for (var db = wa, Ta = Sa.getAllResponseHeaders().split("\n"), Ca = Ta.length, La, Ma, Va = {}; Ca--; ) { - if (La = Ta[Ca]) + for (var cb = wa, Sa = Ta.getAllResponseHeaders().split("\n"), Ba = Sa.length, La, Ma, Va = {}; Ba--; ) { + if (La = Sa[Ba]) (Ma = La.indexOf(": "), 1 <= Ma && Ma < La.length - 1 && (Va[La.substr(0, Ma)] = La.substr(Ma + 2))); } - db.headers = Va; + cb.headers = Va; wa.f6({ - timestamp: V.Oh, + timestamp: V.Nh, connect: !0, - mediaRequest: L, - start: V.Np, - rt: [V.Oh - V.Np] + mediaRequest: I, + start: V.Qp, + rt: [V.Nh - V.Qp] }); } }; - Sa.onprogress = function (db) { + Ta.onprogress = function (cb) { Ua = !0; - V.Fga = db.loaded; - K(); - db = { - mediaRequest: L, - bytes: db.loaded, - timestamp: u.Hi(), - bytesLoaded: db.loaded + V.zga = cb.loaded; + M(); + cb = { + mediaRequest: I, + bytes: cb.loaded, + timestamp: t.Hi(), + bytesLoaded: cb.loaded }; - wa.f6(db); + wa.f6(cb); }; - Sa.onload = function () { - var db; - if (R !== t.kj) { - x.gb(void 0 === V.fo); - V.fo = u.Hi(); - V.Oh = V.Oh || V.fo; - if (200 <= Sa.status && 299 >= Sa.status) { - db = h(Sa, wa); + Ta.onload = function () { + var cb; + if (N !== u.Yj) { + x.gb(void 0 === V.ho); + V.ho = t.Hi(); + V.Nh = V.Nh || V.ho; + if (200 <= Ta.status && 299 >= Ta.status) { + cb = h(Ta, wa); wa.parsed = !1; - wa.content = db; - wa.X = !0; + wa.content = cb; + wa.W = !0; } else - Sa.status == F ? Q(w.M.bP, Sa.status) : Q(w.M.aP, Sa.status, Sa.response, N(Sa)); - R(); + Ta.status == G ? P(w.L.bP, Ta.status) : P(w.L.aP, Ta.status, Ta.response, R(Ta)); + N(); } }; - Sa.onabort = ra; - Sa.onerror = function () { - var db, - Ta; - db = Sa.status; - "undefined" !== typeof n.config.bSa && (db = n.config.bSa); - if (0 < db) { - if (db == F) - Q(w.M.bP, db); + Ta.onabort = ta; + Ta.onerror = function () { + var cb, + Sa; + cb = Ta.status; + "undefined" !== typeof n.config.aSa && (cb = n.config.aSa); + if (0 < cb) { + if (cb == G) + P(w.L.bP, cb); else { try { - Ta = Sa.responseText; - } catch (Ca) {} - Q(w.M.aP, db, Ta, N(Sa)); + Sa = Ta.responseText; + } catch (Ba) {} + P(w.L.aP, cb, Sa, R(Ta)); } } else - Q(w.M.dP); + P(w.L.dP); }; - mb = u.Hi(); - g(Sa, T, !1, L); - H.tc(b.M3, wa, !0); - Za || (V.Np = mb, wa.d6({ - mediaRequest: L, - timestamp: mb + nb = t.Hi(); + g(Ta, U, !1, I); + H.qc(b.N3, wa, !0); + Za || (V.Qp = nb, wa.d6({ + mediaRequest: I, + timestamp: nb })); - K(); - H.addListener(b.O3, da); + M(); + H.addListener(b.P3, ea); } else - B.fg(Q.bind(void 0, w.M.$O)); - } catch (db) { - X.error("Exception starting download", db, ta); - Q(w.M.w$, void 0, t.vd(db)); + A.fg(P.bind(void 0, w.L.$O)); + } catch (cb) { + Y.error("Exception starting download", cb, ra); + P(w.L.o$, void 0, u.vd(cb)); } else - Q(w.M.eza); + P(w.L.cza); }); return wa; }, - yd: O, - E6b: function (L) { - var P; - P = new XMLHttpRequest(); - L = f(L); - P.open("HEAD", L); - P.onreadystatechange = function () { - 2 == P.readyState && !1; + yd: Q, + O6b: function (I) { + var O; + O = new XMLHttpRequest(); + I = f(I); + O.open("HEAD", I); + O.onreadystatechange = function () { + 2 == O.readyState && !1; }; - P.send(); + O.send(); }, - dTb: function (L) { - var P; - P = new XMLHttpRequest(); - L = c(L); - P.open("HEAD", L); - P.onreadystatechange = function () { - 2 == P.readyState && !1; + gTb: function (I) { + var O; + O = new XMLHttpRequest(); + I = c(I); + O.open("HEAD", I); + O.onreadystatechange = function () { + 2 == O.readyState && !1; }; - P.send(); + O.send(); }, - YNb: function (L) { - var P, - R, - K; - P = new XMLHttpRequest(); - R = L.url; - K = L.VNb; - P.open("HEAD", R); - P.timeout = Math.max(2 * K.WGb, n.config.Wpa); - P.onreadystatechange = function () { - 2 == P.readyState && (!1, K && K.jM({ - url: R + cOb: function (I) { + var O, + N, + M; + O = new XMLHttpRequest(); + N = I.url; + M = I.$Nb; + O.open("HEAD", N); + O.timeout = Math.max(2 * M.YGb, n.config.Qpa); + O.onreadystatechange = function () { + 2 == O.readyState && (!1, M && M.lM({ + url: N })); }; - P.ontimeout = P.onerror = function () { + O.ontimeout = O.onerror = function () { !1; - K && K.yoa({ - url: R + M && M.toa({ + url: N }); }; - P.send(); + O.send(); }, - xdb: E + Adb: E }; })(); - b.jDb = c; - b.gDb = f; - b.iDb = k; - b.hDb = l; - b.N3 = r.qFa; - b.kDb = d; - b.Beb = g; - b.Aeb = h; - b.M3 = 1; - b.rVa = 2; - b.sVa = 3; - b.O3 = 4; - b.nla = 5; - b.lla = 1; - b.mla = 2; - b.RT = 3; - F = 420; - pb._cad_global.http = b.Bf; - }, function (q, b, a) { + b.mDb = c; + b.jDb = f; + b.lDb = k; + b.kDb = l; + b.O3 = q.nFa; + b.nDb = d; + b.Ceb = g; + b.Beb = h; + b.N3 = 1; + b.pVa = 2; + b.qVa = 3; + b.P3 = 4; + b.ila = 5; + b.gla = 1; + b.hla = 2; + b.OT = 3; + G = 420; + pb._cad_global.http = b.Df; + }, function (r, b, a) { var f, k; function c() { var l, d; l = this; - this.Rr = {}; + this.Vr = {}; this.on = function (g, h, m) { l.addListener(g, h, m); }; this.addListener = function (g, h, m) { - l.Rr && (l.Rr[g] = l.Rr[g] || new k.$aa(!0)).add(h, m); + l.Vr && (l.Vr[g] = l.Vr[g] || new k.Uaa(!0)).add(h, m); }; this.removeListener = function (g, h) { - l.Rr && l.Rr[g] && l.Rr[g].removeAll(h); + l.Vr && l.Vr[g] && l.Vr[g].removeAll(h); }; - this.Jja = function (g) { - return l.Rr && l.Rr[g] ? l.Rr[g].flatten() : []; + this.Cja = function (g) { + return l.Vr && l.Vr[g] ? l.Vr[g].flatten() : []; }; d = this; - this.tc = function (g, h, m) { + this.qc = function (g, h, m) { var n; - if (d.Rr) { - n = d.Jja(g); + if (d.Vr) { + n = d.Cja(g); for (g = { - CH: 0 - }; g.CH < n.length; (g = { - CH: g.CH - }, g.CH++)) { - m ? (function (r) { + KH: 0 + }; g.KH < n.length; (g = { + KH: g.KH + }, g.KH++)) { + m ? (function (q) { return function () { var p; - p = n[r.CH]; + p = n[q.KH]; f.fg(function () { p(h); }); }; - })(g)() : n[g.CH].call(this, h); + })(g)() : n[g.KH].call(this, h); } } }; @@ -24172,60 +24203,50 @@ a000.D9b = function () { value: !0 }); b.Wj = void 0; - f = a(61); - k = a(320); - c.prototype.kh = function () { - this.Rr = void 0; + f = a(62); + k = a(322); + c.prototype.hh = function () { + this.Vr = void 0; }; b.Wj = c; - }, function (q, b, a) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - q = a(1); - q.__exportStar(a(767), b); - q.__exportStar(a(221), b); - q.__exportStar(a(768), b); - q.__exportStar(a(769), b); - q.__exportStar(a(770), b); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g; - function c(h, m, n, r, p, u) { + function c(h, m, n, q, p, t) { this.context = h; this.errorCode = m; - this.DQb = n; - this.Vqa = p; - this.U_ = u; - this.name = r; + this.IQb = n; + this.Qqa = p; + this.W_ = t; + this.name = q; } Object.defineProperty(b, "__esModule", { value: !0 }); b.Sh = void 0; - q = a(1); + r = a(1); f = a(0); - k = a(481); - l = a(5); + k = a(485); + l = a(4); d = a(42); g = a(38); - c.prototype.send = function (h, m, n, r, p, u, t) { + c.prototype.send = function (h, m, n, q, p, t, u) { var w; w = this; - t = void 0 === t ? g.hu.EP : t; - return this.jzb(h, m, n, t, r, p, u).then(function (v) { - return w.context.hub.send(v.context, v.request); + u = void 0 === u ? g.ou.EP : u; + return this.nzb(h, m, n, u, q, p, t).then(function (v) { + return w.context.lub.send(v.context, v.request); }); }; - c.prototype.jzb = function (h, m, n, r, p, u, t) { + c.prototype.nzb = function (h, m, n, q, p, t, u) { var w, v; try { - w = this.context.cQb.create(this.context.HF.lB(), m, n, p, r); - v = this.bnb(h, r, u, t); + w = this.context.hQb.create(this.context.MF.mB(), m, n, p, q); + v = this.cnb(h, q, t, u); return Promise.resolve({ context: v, request: w @@ -24234,148 +24255,137 @@ a000.D9b = function () { return Promise.reject(x); } }; - c.prototype.bnb = function (h, m, n, r) { + c.prototype.cnb = function (h, m, n, q) { return { - Bf: this.context.Bf, + Df: this.context.Df, log: h, Vk: this.name, - url: this.context.aXb(k.rNa(this.context.hh, this.context.ki, this.name, m)), - lra: this.DQb, - timeout: l.Wg(59), - headers: k.qNa(this.context.ki, this.context.qB), - Uqa: this.Uqa, - Vqa: void 0 !== n ? n : this.Vqa, - Gmb: r + url: this.context.cXb(k.rNa(this.context.dh, this.context.ki, this.name, m)), + fra: this.IQb, + timeout: l.Ug(59), + headers: k.qNa(this.context.ki, this.context.rB), + Pqa: this.Pqa, + Qqa: void 0 !== n ? n : this.Qqa, + Gmb: q }; }; - c.prototype.Im = function (h) { - return h instanceof d.$c ? h : k.Im(this.errorCode, h); - }; - c.prototype.RNa = function (h) { - var m; - m = this; - h.forEach(function (n) { - if (m.Tla(n)) - throw n.error; - }); - }; - c.prototype.Tla = function (h) { - return void 0 !== h.error; + c.prototype.Gm = function (h) { + return h instanceof d.dd ? h : k.Gm(this.errorCode, h); }; Xa.Object.defineProperties(c.prototype, { - Uqa: { + Pqa: { configurable: !0, enumerable: !0, get: function () { - return this.U_; + return this.W_; } } }); a = c; - a = q.__decorate([f.R(), q.__param(0, f.cj()), q.__param(1, f.cj()), q.__param(2, f.cj()), q.__param(3, f.cj()), q.__param(4, f.cj()), q.__param(5, f.cj())], a); + a = r.__decorate([f.R(), r.__param(0, f.aj()), r.__param(1, f.aj()), r.__param(2, f.aj()), r.__param(3, f.aj()), r.__param(4, f.aj()), r.__param(5, f.aj())], a); b.Sh = a; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Hr = { + b.Kr = { Request: "Request", - rba: "Singleton", - GZ: "Transient" - }; - b.ej = { - Awa: "ConstantValue", - Bwa: "Constructor", - Lxa: "DynamicValue", - l$: "Factory", + lba: "Singleton", + IZ: "Transient" + }; + b.cj = { + xwa: "ConstantValue", + ywa: "Constructor", + Hxa: "DynamicValue", + d$: "Factory", Function: "Function", Instance: "Instance", - bbb: "Invalid", - mFa: "Provider" + ebb: "Invalid", + jFa: "Provider" }; - b.Lw = { - twa: "ClassProperty", - Cwa: "ConstructorArgument", - Fba: "Variable" + b.Qw = { + qwa: "ClassProperty", + zwa: "ConstructorArgument", + zba: "Variable" }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lw = "Base16EncoderSymbol"; - }, function (q, b) { + b.rw = "Base16EncoderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ru = "Utf8EncoderSymbol"; - }, function (q, b) { + b.wu = "Utf8EncoderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.EGa = "StorageValidatorSymbol"; - b.Rz = "AppStorageFactorySymbol"; - }, function (q, b) { + b.AGa = "StorageValidatorSymbol"; + b.Tz = "AppStorageFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gu = "MediaKeySystemAccessServicesSymbol"; - }, function (q, b) { + b.lu = "MediaKeySystemAccessServicesSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wo = { + b.xo = { start: "start", stop: "stop", - eU: "keepAlive", - MS: "engage", + dU: "keepAlive", + LS: "engage", splice: "splice" }; - b.h$ = "EventPboCommandFactorySymbol"; - b.zGa = "StartEventPboCommandSymbol"; - b.DGa = "StopEventPboCommandSymbol"; - b.jAa = "KeepAliveEventPboCommandSymbol"; - b.uGa = "SpliceEventPboCommandSymbol"; - b.hya = "EngageEventPboCommandSymbol"; - }, function (q, b) { + b.a$ = "EventPboCommandFactorySymbol"; + b.vGa = "StartEventPboCommandSymbol"; + b.zGa = "StopEventPboCommandSymbol"; + b.hAa = "KeepAliveEventPboCommandSymbol"; + b.qGa = "SpliceEventPboCommandSymbol"; + b.eya = "EngageEventPboCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.Uh = { audio: "audio", video: "video", - i8: "timedtext", - rta: "trickplay" + e8: "timedtext", + mta: "trickplay" }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(147); - b.qn = function (f) { + b.pn = function (f) { c.assert("number" === typeof f); return String.fromCharCode(f >>> 24 & 255) + String.fromCharCode(f >>> 16 & 255) + String.fromCharCode(f >>> 8 & 255) + String.fromCharCode(f & 255); }; - b.fQ = function (f) { + b.gQ = function (f) { return f.charCodeAt(3) + (f.charCodeAt(2) << 8) + (f.charCodeAt(1) << 16) + (f.charCodeAt(0) << 24); }; - b.wfb = function (f, k) { + b.xfb = function (f, k) { return Math.floor(1E3 * f / k); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function (l) { f.prototype.parse.call(this, l); - this.Sb = this.oi([{ + this.Vb = this.oi([{ offset: 16, type: "offset" }, { @@ -24389,18 +24399,18 @@ a000.D9b = function () { }, { height: "int16" }, { - cDb: "int32" + fDb: "int32" }, { - JXb: "int32" + LXb: "int32" }, { offset: 32, type: "offset" }, { - Cxb: "int16" + Ixb: "int16" }, { - lpb: { + mpb: { type: "int8", - Oea: 32 + Hea: 32 } }, { depth: "int16" @@ -24413,142 +24423,142 @@ a000.D9b = function () { }; k.Ka = !0; return k; - })(a(231).default); - b.default = q; + })(a(232).default); + b.default = r; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc1"; + k.Mb = "avc1"; return k; - })(q); - b.g9 = a; + })(r); + b.b9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc2"; + k.Mb = "avc2"; return k; - })(q); - b.h9 = a; + })(r); + b.c9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc3"; + k.Mb = "avc3"; return k; - })(q); - b.i9 = a; + })(r); + b.d9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc4"; + k.Mb = "avc4"; return k; - })(q); - b.j9 = a; + })(r); + b.e9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "hvc1"; + k.Mb = "hvc1"; return k; - })(q); - b.x$ = a; + })(r); + b.p$ = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "hev1"; + k.Mb = "hev1"; return k; - })(q); - b.s$ = a; - q = (function (f) { + })(r); + b.k$ = a; + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "av01"; + k.Mb = "av01"; return k; - })(q); - b.B7a = q; - }, function (q) { - q.exports = function (b, a) { + })(r); + b.D7a = r; + }, function (r) { + r.exports = function (b, a) { for (var c in b) { b.hasOwnProperty(c) && (a[c] = b[c]); } return a; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.rw = "DeviceFactorySymbol"; - }, function (q, b, a) { + b.yw = "DeviceFactorySymbol"; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Vh = b.gcb = b.yo = void 0; + b.Vh = b.kcb = b.zo = void 0; c = a(17); - b.yo = b.yo || (function (f, k, l) { + b.zo = b.zo || (function (f, k, l) { return f >= k ? f <= l ? f : l : k; }); - b.gcb = function (f, k, l, d, g) { + b.kcb = function (f, k, l, d, g) { return (f - k) * (g - d) / (l - k) + d; }; b.Vh = function (f) { - if (c.xa(f)) + if (c.ya(f)) return (f / 1E3).toFixed(3); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(156); - b.qn = function (f) { + b.pn = function (f) { c.assert("number" === typeof f); return String.fromCharCode(f >>> 24 & 255) + String.fromCharCode(f >>> 16 & 255) + String.fromCharCode(f >>> 8 & 255) + String.fromCharCode(f & 255); }; - b.fQ = function (f) { + b.gQ = function (f) { return f.charCodeAt(3) + (f.charCodeAt(2) << 8) + (f.charCodeAt(1) << 16) + (f.charCodeAt(0) << 24); }; - b.wfb = function (f, k) { + b.xfb = function (f, k) { return Math.floor(1E3 * f / k); }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l; function c(d, g, h, m, n) { - var r, + var q, p, - t; - r = {}; + u; + q = {}; p = "number" === typeof n; n = void 0 !== n && p ? n.toString() : h; if (p && void 0 !== h) - throw Error(k.Nab); - Reflect.Wka(d, g) && (r = Reflect.getMetadata(d, g)); - h = r[n]; + throw Error(k.Qab); + Reflect.Ska(d, g) && (q = Reflect.getMetadata(d, g)); + h = q[n]; if (Array.isArray(h)) { p = 0; - for (var u = h; p < u.length; p++) { - t = u[p]; - if (t.key === m.key) - throw Error(k.a$a + " " + t.key.toString()); + for (var t = h; p < t.length; p++) { + u = t[p]; + if (u.key === m.key) + throw Error(k.c$a + " " + u.key.toString()); } } else h = []; h.push(m); - r[n] = h; - Reflect.wha(d, r, g); + q[n] = h; + Reflect.qha(d, q, g); } function f(d, g) { return function (h, m) { @@ -24560,28 +24570,28 @@ a000.D9b = function () { }); k = a(55); l = a(41); - b.fH = function (d, g, h, m) { - c(l.PGa, d, g, m, h); + b.nH = function (d, g, h, m) { + c(l.LGa, d, g, m, h); }; - b.OW = function (d, g, h) { - c(l.QGa, d.constructor, g, h); + b.NW = function (d, g, h) { + c(l.MGa, d.constructor, g, h); }; - b.Jq = function (d, g, h) { - "number" === typeof h ? (d = [f(h, d)], Reflect.Jq(d, g)) : "string" === typeof h ? Reflect.Jq([d], g, h) : Reflect.Jq([d], g); + b.Kq = function (d, g, h) { + "number" === typeof h ? (d = [f(h, d)], Reflect.Kq(d, g)) : "string" === typeof h ? Reflect.Kq([d], g, h) : Reflect.Kq([d], g); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.$za = "Injector"; - b.fA = 145152E5; + b.Yza = "Injector"; + b.gA = 145152E5; b.GP = "ProfileSymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l, d, g, h, m) { - l = void 0 === l ? f.L.jm : l; - return k.$c.call(this, l, d, g, void 0, void 0, h, k.$c.vd(m), m) || this; + l = void 0 === l ? f.M.im : l; + return k.dd.call(this, l, d, g, void 0, void 0, h, k.dd.vd(m), m) || this; } Object.defineProperty(b, "__esModule", { value: !0 @@ -24589,133 +24599,133 @@ a000.D9b = function () { b.pg = void 0; f = a(3); k = a(42); - ka(c, k.$c); + ja(c, k.dd); b.pg = c; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.bxa = "DebugConfigSymbol"; - b.Yt = "DebugSymbol"; - }, function (q, b) { + b.Zwa = "DebugConfigSymbol"; + b.cu = "DebugSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.cA = "IdProviderSymbol"; - }, function (q, b) { + b.dA = "IdProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.sya = "EventSourceSymbol"; - b.m$ = "GlobalEventSourceSymbol"; - b.lY = "DebugEventSourceSymbol"; - b.nxa = "DiagnosticsEventSourceSymbol"; - }, function (q, b) { + b.qya = "EventSourceSymbol"; + b.e$ = "GlobalEventSourceSymbol"; + b.kY = "DebugEventSourceSymbol"; + b.kxa = "DiagnosticsEventSourceSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.iO = b.J7a = b.p9 = b.q9 = void 0; + b.hO = b.L7a = b.k9 = b.l9 = void 0; (function (a) { - a[a.uQa = 0] = "downloading"; - a[a.Eub = 1] = "downloaded"; - a[a.Je = 2] = "appended"; + a[a.rQa = 0] = "downloading"; + a[a.Iub = 1] = "downloaded"; + a[a.Le = 2] = "appended"; a[a.buffered = 3] = "buffered"; a[a.SM = 4] = "removed"; - a[a.a8b = 5] = "unused"; - })(b.q9 || (b.q9 = {})); + a[a.t8b = 5] = "unused"; + })(b.l9 || (b.l9 = {})); (function (a) { a[a.waiting = 1] = "waiting"; - a[a.L6b = 2] = "ondeck"; - a[a.uQa = 4] = "downloading"; - a[a.Eub = 8] = "downloaded"; - a[a.XT = 6] = "inprogress"; - })(b.p9 || (b.p9 = {})); - b.J7a = "AseBufferViewSymbol"; - b.iO = "AseBufferAccountingSymbol"; - }, function (q, b, a) { + a[a.W6b = 2] = "ondeck"; + a[a.rQa = 4] = "downloading"; + a[a.Iub = 8] = "downloaded"; + a[a.VT = 6] = "inprogress"; + })(b.k9 || (b.k9 = {})); + b.L7a = "AseBufferViewSymbol"; + b.hO = "AseBufferAccountingSymbol"; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(2); - q.__exportStar(a(755), b); - q.__exportStar(a(756), b); - q.__exportStar(a(757), b); - q.__exportStar(a(758), b); - q.__exportStar(a(759), b); - q.__exportStar(a(760), b); - q.__exportStar(a(761), b); - q.__exportStar(a(762), b); - q.__exportStar(a(375), b); - q.__exportStar(a(763), b); - q.__exportStar(a(764), b); - q.__exportStar(a(765), b); - }, function (q, b) { + r = a(2); + r.__exportStar(a(758), b); + r.__exportStar(a(759), b); + r.__exportStar(a(760), b); + r.__exportStar(a(761), b); + r.__exportStar(a(762), b); + r.__exportStar(a(763), b); + r.__exportStar(a(764), b); + r.__exportStar(a(765), b); + r.__exportStar(a(377), b); + r.__exportStar(a(766), b); + r.__exportStar(a(767), b); + r.__exportStar(a(768), b); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.jw = void 0; - q = (function () { + b.pw = void 0; + r = (function () { function a(c) { - this.Ge = c; + this.Ie = c; } - a.prototype.Zra = function (c) { - this.Ge = c; + a.prototype.Sra = function (c) { + this.Ie = c; }; - a.prototype.dOa = function () { - this.Ge = void 0; + a.prototype.bOa = function () { + this.Ie = void 0; }; - a.prototype.$S = function (c) { - return this.Ge && this.Ge.i6 && this.Ge.i6(c); + a.prototype.ZS = function (c) { + return this.Ie && this.Ie.i6 && this.Ie.i6(c); }; - a.prototype.PK = function (c) { - this.Ge && this.Ge.Wy && this.Ge.Wy(c); + a.prototype.TK = function (c) { + this.Ie && this.Ie.Zy && this.Ie.Zy(c); }; - a.prototype.qF = function (c) { - this.Ge && this.Ge.qM && this.Ge.qM(c); + a.prototype.uF = function (c) { + this.Ie && this.Ie.sM && this.Ie.sM(c); }; - a.prototype.QK = function (c) { - this.Ge && this.Ge.rM && this.Ge.rM(c); + a.prototype.UK = function (c) { + this.Ie && this.Ie.tM && this.Ie.tM(c); }; - a.prototype.dSa = function (c) { - this.Ge && this.Ge.bpa && this.Ge.bpa(c); + a.prototype.cSa = function (c) { + this.Ie && this.Ie.Xoa && this.Ie.Xoa(c); }; - a.prototype.gv = function (c) { - this.Ge && this.Ge.wk && this.Ge.wk(c); + a.prototype.nv = function (c) { + this.Ie && this.Ie.vk && this.Ie.vk(c); }; - a.prototype.G2 = function (c) { - this.Ge && this.Ge.jV && this.Ge.jV(c); + a.prototype.H2 = function (c) { + this.Ie && this.Ie.iV && this.Ie.iV(c); }; - a.prototype.OK = function (c, f, k) { - this.Ge && this.Ge.iV && this.Ge.iV(c, f, k); + a.prototype.SK = function (c, f, k) { + this.Ie && this.Ie.hV && this.Ie.hV(c, f, k); }; return a; })(); - b.jw = q; - q.prototype.i6 = q.prototype.$S; - q.prototype.Wy = q.prototype.PK; - q.prototype.qM = q.prototype.qF; - q.prototype.rM = q.prototype.QK; - q.prototype.wk = q.prototype.gv; - q.prototype.jV = q.prototype.G2; - q.prototype.iV = q.prototype.OK; - q.prototype.bpa = q.prototype.dSa; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.zD = "6674654e-696c-5078-6966-665374726d21"; - b.AD = "6674654e-696c-4878-6165-6465722e7632"; - b.qP = "6674654e-696c-5078-6966-66496e646578"; - b.Dw = "6674654e-696c-4d78-6f6f-6653697a6573"; - b.Cw = "6674654e-696c-5378-6565-6b506f696e74"; - b.vP = "cedb7489-e77b-514c-84f9-7148f9882554"; - b.uP = "524f39a2-9b5a-144f-a244-6c427c648df4"; - b.yD = "6674654e-696c-4678-7261-6d6552617465"; - }, function (q, b, a) { + b.pw = r; + r.prototype.i6 = r.prototype.ZS; + r.prototype.Zy = r.prototype.TK; + r.prototype.sM = r.prototype.uF; + r.prototype.tM = r.prototype.UK; + r.prototype.vk = r.prototype.nv; + r.prototype.iV = r.prototype.H2; + r.prototype.hV = r.prototype.SK; + r.prototype.Xoa = r.prototype.cSa; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.BD = "6674654e-696c-5078-6966-665374726d21"; + b.CD = "6674654e-696c-4878-6165-6465722e7632"; + b.rP = "6674654e-696c-5078-6966-66496e646578"; + b.Jw = "6674654e-696c-4d78-6f6f-6653697a6573"; + b.Iw = "6674654e-696c-5378-6565-6b506f696e74"; + b.wP = "cedb7489-e77b-514c-84f9-7148f9882554"; + b.vP = "524f39a2-9b5a-144f-a244-6c427c648df4"; + b.AD = "6674654e-696c-4678-7261-6d6552617465"; + }, function (r, b, a) { var c, f, k, @@ -24730,61 +24740,61 @@ a000.D9b = function () { value: !0 } }); - b.Gk = void 0; + b.em = void 0; c = a(2); f = a(6); k = c.__importDefault(a(27)); - l = c.__importDefault(a(124)); - d = a(398); + l = c.__importDefault(a(123)); + d = a(402); g = a(22); - q = a(43); + r = a(43); h = a(174); - m = a(238); + m = a(239); a = a(112); - n = (function (r) { - function p(u, t) { + n = (function (q) { + function p(t, u) { var w; - w = r.call(this, u, t) || this; - p.mb(w, u, t); + w = q.call(this, t, u) || this; + p.mb(w, t, u); return w; } - c.__extends(p, r); - p.mb = function (u, t, w, v) { + c.__extends(p, q); + p.mb = function (t, u, w, v) { var x; - h.Vt.mb(u, t, w); - u.Kg = w.index; - u.XI = w.Xa; - u.tu = w.jb; - u.Pjb = w.zb ? w.zb : t.zb; - u.PG = w.PG; - u.bka = v; - u.AJa = !!w.Ap; - u.xKa = null !== (x = w.region) && void 0 !== x ? x : 0; - u.XIa = !!w.Uia; - u.zJa = !!w.ov; - u.gd = void 0 === w.H2 || void 0 === w.eja || w.H2 === w.Xa && w.eja === w.jb ? u : new m.Tz(u, { - Xa: w.H2, - jb: w.eja - }); - u.ohb = w.foa; - u.Leb = w.Eh; - u.Dgb = t.KCb; - u.Io = w.na ? u.zZa(w.na) : void 0; - u.SKa = w.Ot; - u.Je = !1; - }; - p.mPa = function (u) { - for (var t = new Uint32Array(u.length), w = new Uint32Array(u.length), v = 0, x, y, z = 0; z < u.length; ++z) { - x = u[z]; - y = x.Fc; - t[z] = x.tu - x.XI; + h.$t.mb(t, u, w); + t.Ig = w.index; + t.ZI = w.Ya; + t.yu = w.jb; + t.Pjb = w.xb ? w.xb : u.xb; + t.YG = w.YG; + t.Yja = v; + t.yJa = !!w.Cp; + t.vKa = null !== (x = w.region) && void 0 !== x ? x : 0; + t.VIa = !!w.Nia; + t.xJa = !!w.uv; + t.jd = void 0 === w.I2 || void 0 === w.Yia || w.I2 === w.Ya && w.Yia === w.jb ? t : new m.Vz(t, { + Ya: w.I2, + jb: w.Yia + }); + t.phb = w.aoa; + t.Meb = w.Dh; + t.Egb = u.MCb; + t.Jo = w.na ? t.xZa(w.na) : void 0; + t.QKa = w.Ut; + t.Le = !1; + }; + p.lPa = function (t) { + for (var u = new Uint32Array(t.length), w = new Uint32Array(t.length), v = 0, x, y, z = 0; z < t.length; ++z) { + x = t[z]; + y = x.Hc; + u[z] = x.yu - x.ZI; w[z] = y; v += y; } - return new d.qba(t, w, u.length ? u[0].U : 1E3, v); + return new d.kba(u, w, t.length ? t[0].U : 1E3, v); }; Object.defineProperties(p.prototype, { - TB: { + VB: { get: function () { return !0; }, @@ -24795,14 +24805,14 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { index: { get: function () { - return this.Kg; + return this.Ig; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - zb: { + xb: { get: function () { return this.Pjb; }, @@ -24811,9 +24821,9 @@ a000.D9b = function () { } }); Object.defineProperties(p.prototype, { - Xa: { + Ya: { get: function () { - return this.XI; + return this.ZI; }, enumerable: !1, configurable: !0 @@ -24822,27 +24832,27 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { jb: { get: function () { - return this.tu; + return this.yu; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Lj: { + Kj: { get: function () { - var u, - t; - return null !== (t = null === (u = this.bka) || void 0 === u ? void 0 : u.call(this)) && void 0 !== t ? t : 0; + var t, + u; + return null !== (u = null === (t = this.Yja) || void 0 === t ? void 0 : t.call(this)) && void 0 !== u ? u : 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Ap: { + Cp: { get: function () { - return this.AJa; + return this.yJa; }, enumerable: !1, configurable: !0 @@ -24851,43 +24861,43 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { region: { get: function () { - return this.xKa; + return this.vKa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Uia: { + Nia: { get: function () { - return this.XIa; + return this.VIa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - ov: { + uv: { get: function () { - return this.zJa; + return this.xJa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - foa: { + aoa: { get: function () { - return this.ohb; + return this.phb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Eh: { + Dh: { get: function () { - return this.Leb; + return this.Meb; }, enumerable: !1, configurable: !0 @@ -24896,97 +24906,97 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { na: { get: function () { - return this.Io; + return this.Jo; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Ot: { + Ut: { get: function () { - return this.SKa; + return this.QKa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - H2: { + I2: { get: function () { - return this.gd.Xa; + return this.jd.Ya; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - eja: { + Yia: { get: function () { - return this.gd.jb; + return this.jd.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Bxb: { + Hxb: { get: function () { - return this.gd.Lq; + return this.jd.Mq; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - iSa: { + hSa: { get: function () { - return this.gd.Gpa; + return this.jd.Bpa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - RK: { + VK: { get: function () { - return this.gd.Zc; + return this.jd.Zc; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - J2: { + K2: { get: function () { - return this.gd.Pd; + return this.jd.Nd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - I2: { + J2: { get: function () { - return this.gd.duration; + return this.jd.duration; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - bT: { + aT: { get: function () { - return this.gd.Jc; + return this.jd.Lc; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Axb: { + Gxb: { get: function () { - return this.gd.pc; + return this.jd.uc; }, enumerable: !1, configurable: !0 @@ -24995,243 +25005,243 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { wB: { get: function () { - var u; - u = this.Bxb; - f.assert(u); - return u / this.stream.pa.Wb; + var t; + t = this.Hxb; + f.assert(t); + return t / this.stream.pa.Zb; }, enumerable: !1, configurable: !0 } }); - p.prototype.cYa = function () { - this.AJa = !0; + p.prototype.aYa = function () { + this.yJa = !0; }; - p.prototype.mSb = function (u) { - this.PG = { - Yd: u.RSa(), - y4: u.Pt + p.prototype.pSb = function (t) { + this.YG = { + ie: t.RSa(), + y4: t.Vt }; }; - p.prototype.rN = function (u) { - this.SKa = u; + p.prototype.sN = function (t) { + this.QKa = t; }; - p.prototype.kSb = function (u, t, w) { - this.xKa = u; - this.XIa = t; - this.zJa = w; + p.prototype.nSb = function (t, u, w) { + this.vKa = t; + this.VIa = u; + this.xJa = w; }; - p.prototype.th = function (u) { - var t, + p.prototype.sh = function (t) { + var u, w; - void 0 === u && (u = {}); - t = this.stream.pa.Wb; - w = this.Io || ({ + void 0 === t && (t = {}); + u = this.stream.pa.Zb; + w = this.Jo || ({ start: 0, end: this.wB }); - u = this.zZa(u); - this.gd && this.gd !== this || (this.gd = new m.Tz(this, this)); - u.start > w.start && (this.XI = this.gd.Xa + u.start * t); - u.end < w.end && (this.tu = this.gd.Xa + u.end * t); - this.Io = u; - }; - p.prototype.AS = function (u) { - void 0 === u && (u = 1); - this.Io ? this.th({ - start: this.Io.start + u, - end: this.Io.end - }) : this.th({ - start: u - }); - }; - p.prototype.a2 = function (u) { - this.Io ? this.th({ - start: this.Io.start, - end: (this.Io.end || 0) - u - }) : this.th({ + t = this.xZa(t); + this.jd && this.jd !== this || (this.jd = new m.Vz(this, this)); + t.start > w.start && (this.ZI = this.jd.Ya + t.start * u); + t.end < w.end && (this.yu = this.jd.Ya + t.end * u); + this.Jo = t; + }; + p.prototype.zS = function (t) { + void 0 === t && (t = 1); + this.Jo ? this.sh({ + start: this.Jo.start + t, + end: this.Jo.end + }) : this.sh({ + start: t + }); + }; + p.prototype.c2 = function (t) { + this.Jo ? this.sh({ + start: this.Jo.start, + end: (this.Jo.end || 0) - t + }) : this.sh({ start: 0, - end: -u + end: -t }); }; - p.prototype.Sha = function () { - this.th({ + p.prototype.Mha = function () { + this.sh({ start: 0, end: 0 }); }; - p.prototype.nSb = function (u) { - this.Io || this.th(); - this.Io.J7 = u; + p.prototype.qSb = function (t) { + this.Jo || this.sh(); + this.Jo.F7 = t; }; - p.prototype.NRa = function (u) { + p.prototype.MRa = function (t) { var w; - if (!(u < this.Z || u >= this.Aa) && this.Eh && this.Eh.length) { - u = new g.S(u + 1 - this.Z, 1E3).Yk(this.stream.pa); - for (var t = this.Eh.length - 1; 0 <= t; --t) { - w = this.Eh[t]; - if (w.zk <= u) + if (!(t < this.X || t >= this.Ca) && this.Dh && this.Dh.length) { + t = new g.S(t + 1 - this.X, 1E3).Yk(this.stream.pa); + for (var u = this.Dh.length - 1; 0 <= u; --u) { + w = this.Dh[u]; + if (w.Ak <= t) return w; } return { - zk: 0, - od: this.bT + Ak: 0, + pd: this.aT }; } }; - p.prototype.Zwb = function (u) { + p.prototype.exb = function (t) { var w; - if (!(u < this.Z || u >= this.Aa) && this.Eh && this.Eh.length) { - u = new g.S(u + 1 - this.Z, 1E3).Yk(this.stream.pa); - for (var t = this.Eh.length - 1; 0 <= t; --t) { - w = this.Eh[t]; - if (w.zk <= u) + if (!(t < this.X || t >= this.Ca) && this.Dh && this.Dh.length) { + t = new g.S(t + 1 - this.X, 1E3).Yk(this.stream.pa); + for (var u = this.Dh.length - 1; 0 <= u; --u) { + w = this.Dh[u]; + if (w.Ak <= t) return w; } return { - zk: 0, - od: this.bT + Ak: 0, + pd: this.aT }; } }; - p.prototype.HRa = function (u, t) { + p.prototype.GRa = function (t, u) { var w, v, x; - if (!(u < this.Z || u >= this.Aa)) { - if (!t && this.Dgb) + if (!(t < this.X || t >= this.Ca)) { + if (!u && this.Egb) return { - zk: 0, - od: this.Z + Ak: 0, + pd: this.X }; - w = this.pa.Wb; + w = this.pa.Zb; v = this.pa.U; - x = Math.floor(this.Lq / w); - u = Math.min((t ? Math.ceil : Math.floor)((g.S.F5(u, v) - this.Xa + (t ? -1 : 1) * (v / 1E3 - 1)) / w), x); - w = g.S.VW(this.Xa + u * w, v); - return u === x ? void 0 : { - zk: u, - od: w + x = Math.floor(this.Mq / w); + t = Math.min((u ? Math.ceil : Math.floor)((g.S.F5(t, v) - this.Ya + (u ? -1 : 1) * (v / 1E3 - 1)) / w), x); + w = g.S.UW(this.Ya + t * w, v); + return t === x ? void 0 : { + Ak: t, + pd: w }; } }; - p.prototype.Mia = function (u) { - return this.mediaType === k.default.Za.Hb ? this.NRa(u) : this.HRa(u, !1); + p.prototype.Fia = function (t) { + return this.mediaType === k.default.Ra.Bb ? this.MRa(t) : this.GRa(t, !1); }; - p.prototype.Lia = function (u) { - return this.mediaType === k.default.Za.Hb ? this.Zwb(u) : this.HRa(u, !0); + p.prototype.Eia = function (t) { + return this.mediaType === k.default.Ra.Bb ? this.exb(t) : this.GRa(t, !0); }; - p.prototype.LLa = function (u) { - this.Fc += u.ca; - this.tu = u.jb; - this.Io && (this.gd = new m.Tz(this, { - Xa: this.H2, - jb: this.tu - }), this.Io.end = this.wB); + p.prototype.KLa = function (t) { + this.Hc += t.da; + this.yu = t.jb; + this.Jo && (this.jd = new m.Vz(this, { + Ya: this.I2, + jb: this.yu + }), this.Jo.end = this.wB); }; p.prototype.toString = function () { - return "[" + this.La + ", " + this.bitrate + "kbit/s, c:" + (this.Jc + "-" + this.pc + ",p:") + (this.Zc + "-" + this.Pd + ",d:" + this.duration + "]"); + return "[" + this.Ma + ", " + this.bitrate + "kbit/s, c:" + (this.Lc + "-" + this.uc + ",p:") + (this.Zc + "-" + this.Nd + ",d:" + this.duration + "]"); }; p.prototype.toJSON = function () { - var u; - u = h.Vt.prototype.toJSON.call(this); + var t; + t = h.$t.prototype.toJSON.call(this); l.default({ index: this.index, - startPts: this.Z, - endPts: this.Aa, - "contentStartTicks:": this.Xa, + startPts: this.X, + endPts: this.Ca, + "contentStartTicks:": this.Ya, contentEndTicks: this.jb, - contentStartPts: this.Jc, - contentEndPts: this.pc, - fragmentStartPts: this.RK !== this.Z ? this.RK : void 0, - fragmentEndPts: this.J2 !== this.Aa ? this.J2 : void 0, + contentStartPts: this.Lc, + contentEndPts: this.uc, + fragmentStartPts: this.VK !== this.X ? this.VK : void 0, + fragmentEndPts: this.K2 !== this.Ca ? this.K2 : void 0, edit: this.na - }, u); - return u; + }, t); + return t; }; - p.prototype.MRa = function (u) { + p.prototype.LRa = function (t) { var w; - if (this.Eh) - for (var t = 0; t < this.Eh.length; ++t) { - if (this.Eh[t].zk === u) - w = this.Eh[t].offset; + if (this.Dh) + for (var u = 0; u < this.Dh.length; ++u) { + if (this.Dh[u].Ak === t) + w = this.Dh[u].offset; } return w; }; - p.prototype.zZa = function (u) { - var t; - t = u.start || 0; + p.prototype.xZa = function (t) { + var u; + u = t.start || 0; return { - start: t, - end: void 0 === u.end ? this.wB : Math.min(this.wB, Math.max(t, 0 > u.end ? this.wB + u.end : u.end)), - J7: u.J7, - fTb: u.fTb + start: u, + end: void 0 === t.end ? this.wB : Math.min(this.wB, Math.max(u, 0 > t.end ? this.wB + t.end : t.end)), + F7: t.F7, + iTb: t.iTb }; }; return p; - })(h.Vt); - b.Gk = n; - q.tf(a.Uz, n); - q.tf(a.Sz, n); - }, function (q, b) { + })(h.$t); + b.em = n; + r.tf(a.Wz, n); + r.tf(a.Uz, n); + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.eA = "LogMessageFactorySymbol"; - }, function (q, b) { + b.fA = "LogMessageFactorySymbol"; + }, function (r, b) { var c; function a(f, k) { var l; l = this; - this.Bca = []; + this.vca = []; c.forEach(function (d) { - (d = d(f, k)) && l.Bca.push(d); + (d = d(f, k)) && l.vca.push(d); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vD = b.aCa = void 0; + b.xD = b.ZBa = void 0; c = []; - a.prototype.Mt = function (f) { + a.prototype.Rt = function (f) { var d; - for (var k = [], l = this.Bca.length; l--; ) { - d = this.Bca[l]; - d.Mt(f) && k.push(d.KK); + for (var k = [], l = this.vca.length; l--; ) { + d = this.vca[l]; + d.Rt(f) && k.push(d.OK); } if (k.length) return k; }; - b.aCa = a; - b.vD = function (f) { + b.ZBa = a; + b.xD = function (f) { c.push(f); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zD = "6674654e-696c-5078-6966-665374726d21"; - b.AD = "6674654e-696c-4878-6165-6465722e7632"; - b.qP = "6674654e-696c-5078-6966-66496e646578"; - b.Dw = "6674654e-696c-4d78-6f6f-6653697a6573"; - b.Cw = "6674654e-696c-5378-6565-6b506f696e74"; - b.vP = "cedb7489-e77b-514c-84f9-7148f9882554"; - b.uP = "524f39a2-9b5a-144f-a244-6c427c648df4"; - b.yD = "6674654e-696c-4678-7261-6d6552617465"; - }, function (q, b, a) { + b.BD = "6674654e-696c-5078-6966-665374726d21"; + b.CD = "6674654e-696c-4878-6165-6465722e7632"; + b.rP = "6674654e-696c-5078-6966-66496e646578"; + b.Jw = "6674654e-696c-4d78-6f6f-6653697a6573"; + b.Iw = "6674654e-696c-5378-6565-6b506f696e74"; + b.wP = "cedb7489-e77b-514c-84f9-7148f9882554"; + b.vP = "524f39a2-9b5a-144f-a244-6c427c648df4"; + b.AD = "6674654e-696c-4678-7261-6d6552617465"; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function (l) { f.prototype.parse.call(this, l); - this.Sb = this.oi([{ + this.Vb = this.oi([{ offset: 16, type: "offset" }, { @@ -25245,18 +25255,18 @@ a000.D9b = function () { }, { height: "int16" }, { - cDb: "int32" + fDb: "int32" }, { - JXb: "int32" + LXb: "int32" }, { offset: 32, type: "offset" }, { - Cxb: "int16" + Ixb: "int16" }, { - lpb: { + mpb: { type: "int8", - Oea: 32 + Hea: 32 } }, { depth: "int16" @@ -25269,63 +25279,63 @@ a000.D9b = function () { }; k.Ka = !0; return k; - })(a(283).default); - b.default = q; + })(a(284).default); + b.default = r; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc1"; + k.Mb = "avc1"; return k; - })(q); - b.g9 = a; + })(r); + b.b9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc2"; + k.Mb = "avc2"; return k; - })(q); - b.h9 = a; + })(r); + b.c9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc3"; + k.Mb = "avc3"; return k; - })(q); - b.i9 = a; + })(r); + b.d9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "avc4"; + k.Mb = "avc4"; return k; - })(q); - b.j9 = a; + })(r); + b.e9 = a; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "hvc1"; + k.Mb = "hvc1"; return k; - })(q); - b.x$ = a; - q = (function (f) { + })(r); + b.p$ = a; + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "hev1"; + k.Mb = "hev1"; return k; - })(q); - b.s$ = q; - }, function (q, b) { + })(r); + b.k$ = r; + }, function (r, b) { var a; Object.defineProperty(b, "__esModule", { value: !0 @@ -25334,7 +25344,7 @@ a000.D9b = function () { b.id = function () { return a++; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; @@ -25342,87 +25352,87 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.QH = b.Ob = void 0; + b.YH = b.Pb = void 0; f = a(133); k = a(42); l = a(3); - c.Hja = function (d) { + c.Aja = function (d) { if (d) { - if (d.includes(b.QH.zC)) - return f.jn.zC; + if (d.includes(b.YH.BC)) + return f.hn.BC; if (d.includes("fps")) - return f.jn.oF; - if (d.includes(b.QH.S8)) - return f.jn.S8; + return f.hn.sF; + if (d.includes(b.YH.M8)) + return f.hn.M8; } - throw new k.$c(l.L.p$a, void 0, void 0, void 0, void 0, "Invalid KeySystem: " + d); + throw new k.dd(l.M.s$a, void 0, void 0, void 0, void 0, "Invalid KeySystem: " + d); }; c.WSa = function (d) { switch (d) { - case f.jn.zC: - return b.QH.zC; - case f.jn.oF: - return b.QH.oF; + case f.hn.BC: + return b.YH.BC; + case f.hn.sF: + return b.YH.sF; default: - return b.QH.S8; + return b.YH.M8; } }; - b.Ob = c; - c.lu = "com.microsoft.playready"; + b.Pb = c; + c.su = "com.microsoft.playready"; c.df = "com.microsoft.playready.hardware"; - c.pI = "com.microsoft.playready.software"; - c.I$a = "com.apple.fps.2_0"; - c.VHa = "com.widevine.alpha"; - c.mdb = "com.microsoft.playready.recommendation.3000"; - c.ndb = "com.microsoft.playready.recommendation.2000"; - b.QH = { - oF: "fairplay", - S8: "widevine", - zC: "playready" - }; - }, function (q, b, a) { + c.wI = "com.microsoft.playready.software"; + c.L$a = "com.apple.fps.2_0"; + c.THa = "com.widevine.alpha"; + c.pdb = "com.microsoft.playready.recommendation.3000"; + c.qdb = "com.microsoft.playready.recommendation.2000"; + b.YH = { + sF: "fairplay", + M8: "widevine", + BC: "playready" + }; + }, function (r, b, a) { var f, k, l; function c(d, g) { - this.yu = g ? [g] : []; - this.Mca = "$op$" + l++; + this.Du = g ? [g] : []; + this.Gca = "$op$" + l++; this.G = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ec = void 0; + b.zc = void 0; f = a(12); k = a(21); l = 0; c.prototype.addListener = function (d, g) { var h; h = this; - k.eha(d); - k.gb(0 > this.yu.indexOf(d)); - d[f.cZ + this.Mca] = g; - this.yu = this.yu.slice(); - this.yu.push(d); - this.yu.sort(function (m, n) { - return h.rTb(m, n); + k.Zga(d); + k.gb(0 > this.Du.indexOf(d)); + d[f.bZ + this.Gca] = g; + this.Du = this.Du.slice(); + this.Du.push(d); + this.Du.sort(function (m, n) { + return h.uTb(m, n); }); }; c.prototype.removeListener = function (d) { var g; - k.eha(d); - this.yu = this.yu.slice(); - 0 <= (g = this.yu.indexOf(d)) && this.yu.splice(g, 1); + k.Zga(d); + this.Du = this.Du.slice(); + 0 <= (g = this.Du.indexOf(d)) && this.Du.splice(g, 1); }; c.prototype.set = function (d, g) { if (this.G !== d) { g = { oldValue: this.G, newValue: d, - Wu: g + av: g }; this.G = d; - d = this.yu; + d = this.Du; for (var h = d.length, m = 0; m < h; m++) { d[m](g); } @@ -25441,8 +25451,8 @@ a000.D9b = function () { g.addListener(m); }); }; - c.prototype.rTb = function (d, g) { - return (d[f.cZ + this.Mca] || 0) - (g[f.cZ + this.Mca] || 0); + c.prototype.uTb = function (d, g) { + return (d[f.bZ + this.Gca] || 0) - (g[f.bZ + this.Gca] || 0); }; Xa.Object.defineProperties(c.prototype, { value: { @@ -25453,14 +25463,14 @@ a000.D9b = function () { } } }); - b.Ec = c; - }, function (q, b, a) { + b.zc = c; + }, function (r, b, a) { function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.nA = void 0; - q = a(1); + b.pA = void 0; + r = a(1); a = a(0); c.prototype.format = function (f, k) { var d; @@ -25471,32 +25481,32 @@ a000.D9b = function () { return "undefined" != typeof d[h] ? d[h] : g; }); }; - c.prototype.o4a = function (f) { + c.prototype.q4a = function (f) { for (var k = f.length, l = new Uint16Array(k), d = 0; d < k; d++) { l[d] = f.charCodeAt(d); } return l.buffer; }; - c.prototype.r4a = function (f) { + c.prototype.t4a = function (f) { return JSON.stringify(f, null, " "); }; - a = q.__decorate([a.R()], c); - b.nA = a; - }, function (q, b) { + a = r.__decorate([a.R()], c); + b.pA = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.yI = "ThrottleFactorySymbol"; - }, function (q, b) { + b.DI = "ThrottleFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.eI = "LoggerSinksSymbol"; - }, function (q) { + b.mI = "LoggerSinksSymbol"; + }, function (r) { var h, m, n, - r; + q; function b() { b.mb.call(this); } @@ -25504,41 +25514,41 @@ a000.D9b = function () { if ("function" !== typeof p) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof p); } - function c(p, u, t, w) { + function c(p, t, u, w) { var v, x; - a(t); - v = p.Bh; + a(u); + v = p.zh; if (void 0 === v) - (v = p.Bh = Object.create(null), p.$D = 0); + (v = p.zh = Object.create(null), p.cE = 0); else { - void 0 !== v.B6b && (p.emit("newListener", u, t.listener ? t.listener : t), v = p.Bh); - x = v[u]; + void 0 !== v.L6b && (p.emit("newListener", t, u.listener ? u.listener : u), v = p.zh); + x = v[t]; } - void 0 === x ? (v[u] = t, ++p.$D) : ("function" === typeof x ? x = v[u] = w ? [t, x] : [x, t] : w ? x.unshift(t) : x.push(t), t = void 0 === p.DQ ? b.mtb : p.DQ, 0 < t && x.length > t && !x.fYb && (x.fYb = !0, t = Error("Possible EventEmitter memory leak detected. " + x.length + " " + String(u) + " listeners added. Use emitter.setMaxListeners() to increase limit"), t.name = "MaxListenersExceededWarning", t.As = p, t.type = u, t.count = x.length, console && console.warn && console.warn(t))); + void 0 === x ? (v[t] = u, ++p.cE) : ("function" === typeof x ? x = v[t] = w ? [u, x] : [x, u] : w ? x.unshift(u) : x.push(u), u = void 0 === p.EQ ? b.otb : p.EQ, 0 < u && x.length > u && !x.hYb && (x.hYb = !0, u = Error("Possible EventEmitter memory leak detected. " + x.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit"), u.name = "MaxListenersExceededWarning", u.Es = p, u.type = t, u.count = x.length, console && console.warn && console.warn(u))); return p; } function f() { - if (!this.RRa) - return (this.target.removeListener(this.type, this.W6a), this.RRa = !0, 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)); + if (!this.QRa) + return (this.target.removeListener(this.type, this.Z6a), this.QRa = !0, 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)); } - function k(p, u, t) { + function k(p, t, u) { p = { - RRa: !1, - W6a: void 0, + QRa: !1, + Z6a: void 0, target: p, - type: u, - listener: t + type: t, + listener: u }; - u = f.bind(p); - u.listener = t; - return p.W6a = u; + t = f.bind(p); + t.listener = u; + return p.Z6a = t; } function l(p) { - var u; - u = this.Bh; - if (void 0 !== u) { - p = u[p]; + var t; + t = this.zh; + if (void 0 !== t) { + p = t[p]; if ("function" === typeof p) return 1; if (void 0 !== p) @@ -25546,151 +25556,151 @@ a000.D9b = function () { } return 0; } - function d(p, u, t) { - "function" === typeof p.on && g(p, "error", u, t); + function d(p, t, u) { + "function" === typeof p.on && g(p, "error", t, u); } - function g(p, u, t, w) { + function g(p, t, u, w) { if ("function" === typeof p.on) { if (w.once) - p.once(u, t); + p.once(t, u); else - p.on(u, t); + p.on(t, u); } else if ("function" === typeof p.addEventListener) - p.addEventListener(u, function y(x) { - w.once && p.removeEventListener(u, y); - t(x); + p.addEventListener(t, function y(x) { + w.once && p.removeEventListener(t, y); + u(x); }); else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof p); } h = "object" === typeof Reflect ? Reflect : null; - m = h && "function" === typeof h.apply ? h.apply : function (p, u, t) { - return Function.prototype.apply.call(p, u, t); + m = h && "function" === typeof h.apply ? h.apply : function (p, t, u) { + return Function.prototype.apply.call(p, t, u); }; n = Number.isNaN || (function (p) { return p !== p; }); - q.exports = b; - q.exports.once = function (p, u) { - return new Promise(function (t, w) { + r.exports = b; + r.exports.once = function (p, t) { + return new Promise(function (u, w) { function v(y) { - p.removeListener(u, x); + p.removeListener(t, x); w(y); } function x() { "function" === typeof p.removeListener && p.removeListener("error", v); - t([].slice.call(arguments)); + u([].slice.call(arguments)); } - g(p, u, x, { + g(p, t, x, { once: !0 }); - "error" !== u && d(p, v, { + "error" !== t && d(p, v, { once: !0 }); }); }; b.EventEmitter = b; - b.prototype.Bh = void 0; - b.prototype.$D = 0; - b.prototype.DQ = void 0; - r = 10; + b.prototype.zh = void 0; + b.prototype.cE = 0; + b.prototype.EQ = void 0; + q = 10; Object.defineProperty(b, "defaultMaxListeners", { enumerable: !0, get: function () { - return r; + return q; }, set: function (p) { if ("number" !== typeof p || 0 > p || n(p)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + p + "."); - r = p; + q = p; } }); b.mb = function () { - if (void 0 === this.Bh || this.Bh === Object.getPrototypeOf(this).Bh) - (this.Bh = Object.create(null), this.$D = 0); - this.DQ = this.DQ || void 0; + if (void 0 === this.zh || this.zh === Object.getPrototypeOf(this).zh) + (this.zh = Object.create(null), this.cE = 0); + this.EQ = this.EQ || void 0; }; b.prototype.setMaxListeners = function (p) { if ("number" !== typeof p || 0 > p || n(p)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + p + "."); - this.DQ = p; + this.EQ = p; return this; }; b.prototype.emit = function (p) { var w, v; - for (var u = [], t = 1; t < arguments.length; t++) { - u.push(arguments[t]); + for (var t = [], u = 1; u < arguments.length; u++) { + t.push(arguments[u]); } w = "error" === p; - t = this.Bh; - if (void 0 !== t) - w = w && void 0 === t.error; + u = this.zh; + if (void 0 !== u) + w = w && void 0 === u.error; else if (!w) return !1; if (w) { - 0 < u.length && (v = u[0]); + 0 < t.length && (v = t[0]); if (v instanceof Error) throw v; - u = Error("Unhandled error." + (v ? " (" + v.message + ")" : "")); - u.context = v; - throw u; + t = Error("Unhandled error." + (v ? " (" + v.message + ")" : "")); + t.context = v; + throw t; } - t = t[p]; - if (void 0 === t) + u = u[p]; + if (void 0 === u) return !1; - if ("function" === typeof t) - m(t, this, u); + if ("function" === typeof u) + m(u, this, t); else { - v = t.length; + v = u.length; w = Array(v); for (var x = 0; x < v; ++x) { - w[x] = t[x]; + w[x] = u[x]; } - for (t = 0; t < v; ++t) { - m(w[t], this, u); + for (u = 0; u < v; ++u) { + m(w[u], this, t); } } return !0; }; - b.prototype.addListener = function (p, u) { - return c(this, p, u, !1); + b.prototype.addListener = function (p, t) { + return c(this, p, t, !1); }; b.prototype.on = b.prototype.addListener; - b.prototype.A0a = function (p, u) { - return c(this, p, u, !0); + b.prototype.A0a = function (p, t) { + return c(this, p, t, !0); }; - b.prototype.once = function (p, u) { - a(u); - this.on(p, k(this, p, u)); + b.prototype.once = function (p, t) { + a(t); + this.on(p, k(this, p, t)); return this; }; - b.prototype.INb = function (p, u) { - a(u); - this.A0a(p, k(this, p, u)); + b.prototype.NNb = function (p, t) { + a(t); + this.A0a(p, k(this, p, t)); return this; }; - b.prototype.removeListener = function (p, u) { - var t, + b.prototype.removeListener = function (p, t) { + var u, w, v, x, y; - a(u); - w = this.Bh; + a(t); + w = this.zh; if (void 0 === w) return this; v = w[p]; if (void 0 === v) return this; - if (v === u || v.listener === u) - 0 === --this.$D ? this.Bh = Object.create(null) : (delete w[p], w.removeListener && this.emit("removeListener", p, v.listener || u)); + if (v === t || v.listener === t) + 0 === --this.cE ? this.zh = Object.create(null) : (delete w[p], w.removeListener && this.emit("removeListener", p, v.listener || t)); else if ("function" !== typeof v) { x = -1; - for (t = v.length - 1; 0 <= t; t--) { - if (v[t] === u || v[t].listener === u) { - y = v[t].listener; - x = t; + for (u = v.length - 1; 0 <= u; u--) { + if (v[u] === t || v[u].listener === t) { + y = v[u].listener; + x = u; break; } } @@ -25705,209 +25715,209 @@ a000.D9b = function () { v.pop(); } 1 === v.length && (w[p] = v[0]); - void 0 !== w.removeListener && this.emit("removeListener", p, y || u); + void 0 !== w.removeListener && this.emit("removeListener", p, y || t); } return this; }; - b.prototype.mM = b.prototype.removeListener; + b.prototype.oM = b.prototype.removeListener; b.prototype.removeAllListeners = function (p) { - var u, - t, + var t, + u, w; - u = this.Bh; - if (void 0 === u) + t = this.zh; + if (void 0 === t) return this; - if (void 0 === u.removeListener) - return (0 === arguments.length ? (this.Bh = Object.create(null), this.$D = 0) : void 0 !== u[p] && (0 === --this.$D ? this.Bh = Object.create(null) : delete u[p]), this); + if (void 0 === t.removeListener) + return (0 === arguments.length ? (this.zh = Object.create(null), this.cE = 0) : void 0 !== t[p] && (0 === --this.cE ? this.zh = Object.create(null) : delete t[p]), this); if (0 === arguments.length) { - t = Object.keys(u); - for (u = 0; u < t.length; ++u) { - w = t[u]; + u = Object.keys(t); + for (t = 0; t < u.length; ++t) { + w = u[t]; "removeListener" !== w && this.removeAllListeners(w); } this.removeAllListeners("removeListener"); - this.Bh = Object.create(null); - this.$D = 0; + this.zh = Object.create(null); + this.cE = 0; return this; } - t = u[p]; - if ("function" === typeof t) - this.removeListener(p, t); - else if (void 0 !== t) - for (u = t.length - 1; 0 <= u; u--) { - this.removeListener(p, t[u]); + u = t[p]; + if ("function" === typeof u) + this.removeListener(p, u); + else if (void 0 !== u) + for (t = u.length - 1; 0 <= t; t--) { + this.removeListener(p, u[t]); } return this; }; b.prototype.listeners = function (p) { - var u; - u = this.Bh; - if (void 0 === u) + var t; + t = this.zh; + if (void 0 === t) p = []; - else if ((p = u[p], void 0 === p)) + else if ((p = t[p], void 0 === p)) p = []; else if ("function" === typeof p) p = [p.listener || p]; else { - u = Array(p.length); - for (var t = 0; t < u.length; ++t) { - u[t] = p[t].listener || p[t]; + t = Array(p.length); + for (var u = 0; u < t.length; ++u) { + t[u] = p[u].listener || p[u]; } - p = u; + p = t; } return p; }; - b.listenerCount = function (p, u) { - return "function" === typeof p.listenerCount ? p.listenerCount(u) : l.call(p, u); + b.listenerCount = function (p, t) { + return "function" === typeof p.listenerCount ? p.listenerCount(t) : l.call(p, t); }; b.prototype.listenerCount = l; - }, function (q, b, a) { + }, function (r, b, a) { var n; - function c(r, p) { - if (r.length == p.length && 1 < r.length) { - for (var u = r.length, t = 0, w = d(r), v = d(p), x = 0; x < u; x++) { - t += r[x] * p[x]; + function c(q, p) { + if (q.length == p.length && 1 < q.length) { + for (var t = q.length, u = 0, w = d(q), v = d(p), x = 0; x < t; x++) { + u += q[x] * p[x]; } - return (t - w * v / u) / u; + return (u - w * v / t) / t; } return !1; } - function f(r) { - if (!Array.isArray(r) || 2 > r.length) + function f(q) { + if (!Array.isArray(q) || 2 > q.length) return !1; - r = k(r); - return Math.sqrt(r); + q = k(q); + return Math.sqrt(q); } - function k(r) { + function k(q) { var p; - if (!Array.isArray(r) || 2 > r.length) + if (!Array.isArray(q) || 2 > q.length) return !1; - p = l(r); - return d(r.map(function (u) { - return (u - p) * (u - p); - })) / (r.length - 1); + p = l(q); + return d(q.map(function (t) { + return (t - p) * (t - p); + })) / (q.length - 1); } - function l(r) { - return Array.isArray(r) && r.length ? d(r) / r.length : !1; + function l(q) { + return Array.isArray(q) && q.length ? d(q) / q.length : !1; } - function d(r) { - return Array.isArray(r) ? r.reduce(function (p, u) { - return p + u; + function d(q) { + return Array.isArray(q) ? q.reduce(function (p, t) { + return p + t; }, 0) : !1; } - function g(r, p, u) { - return Math.max(Math.min(r, u), p); + function g(q, p, t) { + return Math.max(Math.min(q, t), p); } - function h(r, p) { - return "number" === typeof r ? r : p; + function h(q, p) { + return "number" === typeof q ? q : p; } - function m(r) { - return 1 / (1 + Math.exp(-r)); + function m(q) { + return 1 / (1 + Math.exp(-q)); } n = a(10); - q.exports = { - Ta: function (r, p, u) { + r.exports = { + Ua: function (q, p, t) { try { - r.emit(p, u); - } catch (t) { - r.$j("JAVASCRIPT EXCEPTION: Caught in ASE client event listener. Exception:", t, "Event:", u); + q.emit(p, t); + } catch (u) { + q.ak("JAVASCRIPT EXCEPTION: Caught in ASE client event listener. Exception:", u, "Event:", t); } }, - jB: function () { - var r, + lB: function () { + var q, p, - u; - r = Array.prototype.concat.apply([], arguments); - p = r.reduce(function (t, w) { - return t + w.byteLength; + t; + q = Array.prototype.concat.apply([], arguments); + p = q.reduce(function (u, w) { + return u + w.byteLength; }, 0); - u = new Uint8Array(p); - r.reduce(function (t, w) { - u.set(new Uint8Array(w), t); - return t + w.byteLength; + t = new Uint8Array(p); + q.reduce(function (u, w) { + t.set(new Uint8Array(w), u); + return u + w.byteLength; }, 0); - return u.buffer; + return t.buffer; }, - f1: g, - Hob: function (r, p, u, t) { + h1: g, + Iob: function (q, p, t, u) { return { - min: g(h(r.min, p), u, t), - max: g(h(r.max, p), u, t), - Gx: g(r.Gx || 6E4, 0, 6E5), - LNa: g(r.LNa || 0, -3E5, 3E5), - scale: g(r.scale || 6E4, 0, 3E5), - v2a: g(r.v2a || 0, -3E5, 3E5), - gamma: g(r.gamma || 1, .1, 10) + min: g(h(q.min, p), t, u), + max: g(h(q.max, p), t, u), + Lx: g(q.Lx || 6E4, 0, 6E5), + KNa: g(q.KNa || 0, -3E5, 3E5), + scale: g(q.scale || 6E4, 0, 3E5), + u2a: g(q.u2a || 0, -3E5, 3E5), + gamma: g(q.gamma || 1, .1, 10) }; }, - de: function (r, p) { - void 0 !== r && n.JLb(r).forEach(function (u) { - p(u[0], u[1]); + ae: function (q, p) { + void 0 !== q && n.MLb(q).forEach(function (t) { + p(t[0], t[1]); }); }, - lRa: function (r, p, u) { - return r.min + (r.max - r.min) * (1 - Math.pow(m(6 * (p - (r.Gx + (r.LNa || 0) * (1 - u))) / (r.scale + (r.v2a || 0) * (1 - u))), r.gamma)); + kRa: function (q, p, t) { + return q.min + (q.max - q.min) * (1 - Math.pow(m(6 * (p - (q.Lx + (q.KNa || 0) * (1 - t))) / (q.scale + (q.u2a || 0) * (1 - t))), q.gamma)); }, - Xvb: function (r, p) { - return r.min + (r.max - r.min) * Math.pow(m(6 * (p - r.Gx) / r.scale), r.gamma); + cwb: function (q, p) { + return q.min + (q.max - q.min) * Math.pow(m(6 * (p - q.Lx) / q.scale), q.gamma); }, - Z4b: d, - ryb: l, - UBb: k, - X4b: f, - O4b: c, - N4b: function (r, p) { - var u; - if (r.length == p.length) { - u = c(r, p); - r = f(r); + d5b: d, + wyb: l, + WBb: k, + b5b: f, + U4b: c, + T4b: function (q, p) { + var t; + if (q.length == p.length) { + t = c(q, p); + q = f(q); p = f(p); - if (0 < r && 0 < p) - return u / (r * p); + if (0 < q && 0 < p) + return t / (q * p); } return !1; }, - Ys: function (r, p, u) { - return p.oPa ? p.oPa(u) : new r.Console("ASEJS", "media|asejs", p.prefix ? p.prefix + " " + u : u); + Yq: function (q, p, t) { + return p.nPa ? p.nPa(t) : new q.Console("ASEJS", "media|asejs", p.prefix ? p.prefix + " " + t : t); }, - iRb: function (r) { - return r.length ? "{" + r + "} " : ""; + mRb: function (q) { + return q.length ? "{" + q + "} " : ""; }, - VQb: function (r, p, u) { + $Qb: function (q, p, t) { return { - min: r.min * u + (1 - u) * p.min, - max: r.max * u + (1 - u) * p.max, - Gx: r.Gx * u + (1 - u) * p.Gx, - scale: r.scale * u + (1 - u) * p.scale, - gamma: r.gamma * u + (1 - u) * p.gamma + min: q.min * t + (1 - t) * p.min, + max: q.max * t + (1 - t) * p.max, + Lx: q.Lx * t + (1 - t) * p.Lx, + scale: q.scale * t + (1 - t) * p.scale, + gamma: q.gamma * t + (1 - t) * p.gamma }; }, - tanh: Math.tanh || (function (r) { + tanh: Math.tanh || (function (q) { var p; - p = Math.exp(+r); - r = Math.exp(-r); - return Infinity == p ? 1 : Infinity == r ? -1 : (p - r) / (p + r); + p = Math.exp(+q); + q = Math.exp(-q); + return Infinity == p ? 1 : Infinity == q ? -1 : (p - q) / (p + q); }), - isa: m, - Bp: function (r) { + csa: m, + Dp: function (q) { var p; - p = r.Na.ub.P.id; + p = q.Na.yb.P.id; return { - Z: r.Z, - duration: r.duration, - offset: r.offset, - ca: r.ca, - bitrate: r.bitrate, - profile: r.profile, - Lc: r.Lc, + X: q.X, + duration: q.duration, + offset: q.offset, + da: q.da, + bitrate: q.bitrate, + profile: q.profile, + Nc: q.Nc, va: p, - La: r.La, - Rc: r.Rc, - location: r.location, - Jh: r.Jh, - Aj: r.Aj, - Fv: { - ub: { + Ma: q.Ma, + Qc: q.Qc, + location: q.location, + Jh: q.Jh, + yj: q.yj, + Lv: { + yb: { P: { id: p } @@ -25916,39 +25926,39 @@ a000.D9b = function () { }; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(229); + r = a(230); c = a(148); - b.b$a = c; - c = a(391); - b.Aba = c; + b.d$a = c; c = a(395); + b.uba = c; + c = a(399); b.Xlb = c; - b.zZ = q.Cp.Sa.sidx; - q = a(830); - b.Nr = q.Nr; - q = a(237); - b.lq = q.lq; - q = a(834); - b.mq = q.mq; - b.Ky = q.Ky; - q = a(835); - b.bI = q.bI; - q = a(82); - b.qn = q.qn; - a = a(836); - b.hm = a.hm; - }, function (q, b, a) { + b.AZ = r.Ep.Ta.sidx; + r = a(832); + b.Qr = r.Qr; + r = a(238); + b.nq = r.nq; + r = a(836); + b.oq = r.oq; + b.Ny = r.Ny; + r = a(837); + b.jI = r.jI; + r = a(82); + b.pn = r.pn; + a = a(838); + b.gm = a.gm; + }, function (r, b, a) { var d; function c(g, h) { return void 0 === g ? void 0 : 0 === g ? d.S.hb : new d.S(g, h); } function f(g, h) { - return g && Math.floor(d.S.VW(g, h)); + return g && Math.floor(d.S.UW(g, h)); } function k(g, h) { return void 0 === g || void 0 === h ? void 0 : g + h; @@ -25961,57 +25971,57 @@ a000.D9b = function () { value: !0 } }); - b.Sz = b.Uz = void 0; + b.Uz = b.Wz = void 0; d = a(22); - q = (function () { + r = (function () { function g() {} Object.defineProperties(g.prototype, { - Lq: { + Mq: { get: function () { - return l(this.jb, this.Xa) || 0; + return l(this.jb, this.Ya) || 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Gpa: { + Bpa: { get: function () { - return k(this.Xa, this.Lj); + return k(this.Ya, this.Kj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - l0a: { + j0a: { get: function () { - return k(this.jb, this.Lj); + return k(this.jb, this.Kj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - BS: { + AS: { get: function () { - return c(this.Lq, this.U); + return c(this.Mq, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Xc: { + Wc: { get: function () { - return c(this.Xa, this.U); + return c(this.Ya, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Md: { + Kd: { get: function () { return c(this.jb, this.U); }, @@ -26020,9 +26030,9 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - Ui: { + Si: { get: function () { - return c(this.Gpa, this.U); + return c(this.Bpa, this.U); }, enumerable: !1, configurable: !0 @@ -26031,16 +26041,16 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { pf: { get: function () { - return c(this.l0a, this.U); + return c(this.j0a, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - M6: { + J6: { get: function () { - return c(this.Lj, this.U); + return c(this.Kj, this.U); }, enumerable: !1, configurable: !0 @@ -26048,65 +26058,65 @@ a000.D9b = function () { }); return g; })(); - b.Uz = q; - q = (function () { + b.Wz = r; + r = (function () { function g() {} Object.defineProperties(g.prototype, { duration: { get: function () { - return l(this.Aa, this.Z) || 0; + return l(this.Ca, this.X) || 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Z: { + X: { get: function () { - return f(k(this.Xa, this.Lj), this.U); + return f(k(this.Ya, this.Kj), this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Aa: { + Ca: { get: function () { - return f(k(this.jb, this.Lj), this.U); + return f(k(this.jb, this.Kj), this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Ct: { + Ht: { get: function () { - return f(this.Lj, this.U); + return f(this.Kj, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Aj: { + yj: { get: function () { - return f(this.Xa, this.U); + return f(this.Ya, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Jc: { + Lc: { get: function () { - return f(this.Xa, this.U); + return f(this.Ya, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - pc: { + uc: { get: function () { return f(this.jb, this.U); }, @@ -26117,23 +26127,23 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { Zc: { get: function () { - return f(k(this.Xa, this.Lj), this.U); + return f(k(this.Ya, this.Kj), this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Pd: { + Nd: { get: function () { - return f(k(this.jb, this.Lj), this.U); + return f(k(this.jb, this.Kj), this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Zx: { + dy: { get: function () { return this.duration; }, @@ -26142,18 +26152,18 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - ez: { + hz: { get: function () { - return this.Z; + return this.X; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Mv: { + Rv: { get: function () { - return this.Aa; + return this.Ca; }, enumerable: !1, configurable: !0 @@ -26161,8 +26171,8 @@ a000.D9b = function () { }); return g; })(); - b.Sz = q; - }, function (q, b, a) { + b.Uz = r; + }, function (r, b, a) { var c, f, k, @@ -26172,271 +26182,271 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.OX = b.dj = void 0; + b.NX = b.bj = void 0; c = a(2); - q = c.__importDefault(a(16)); + r = c.__importDefault(a(16)); f = c.__importStar(a(10)); - k = q.default.zh; - l = c.__importDefault(a(4)); - d = l.default.kq; + k = r.default.xh; + l = c.__importDefault(a(5)); + d = l.default.mq; g = a(172); h = c.__importDefault(a(146)); m = a(9); - q = a(43); - n = a(240); - r = a(174); - (function (u) { - u[u.Tbb = 0] = "NOTHING_APPENDED"; - u[u.ocb = 1] = "PARTIAL"; - u[u.pw = 2] = "COMPLETE"; - u[u.uf = 3] = "ERROR"; - })(p = b.dj || (b.dj = {})); - a = (function (u) { - function t(w, v, x, y, z, B, A) { - v = u.call(this, v, x) || this; - n.GH.mb(v, w, y, z, B, A); - r.Vt.mb(v, w, y); - v.Feb = w.url || y.url; - v.Mba = y.responseType; - v.Eeb = y.H7; - void 0 === v.Mba && (v.Mba = d.Ub && !d.Ub.cW.LP ? 0 : 1); + r = a(43); + n = a(241); + q = a(174); + (function (t) { + t[t.Xbb = 0] = "NOTHING_APPENDED"; + t[t.scb = 1] = "PARTIAL"; + t[t.ww = 2] = "COMPLETE"; + t[t.wf = 3] = "ERROR"; + })(p = b.bj || (b.bj = {})); + a = (function (t) { + function u(w, v, x, y, z, A, B) { + v = t.call(this, v, x) || this; + n.OH.mb(v, w, y, z, A, B); + q.$t.mb(v, w, y); + v.Geb = w.url || y.url; + v.Gba = y.responseType; + v.Feb = y.D7; + void 0 === v.Gba && (v.Gba = d.Wb && !d.Wb.cW.LP ? 0 : 1); v.Yh = new k(); - v.Yh.on(v, d.ue.DCa, v.pda); - v.Yh.on(v, d.ue.CCa, v.Yhb); - v.Yh.on(v, d.ue.ECa, v.aib); - v.Yh.on(v, d.ue.tP, v.oda); - v.Yh.on(v, d.ue.DD, v.EQ); - v.GI = !1; - v.Fe = !1; - v.Al = !1; - v.wn = !1; - v.pQ = !1; - v.rda = y.ILb; - v.er = 0; + v.Yh.on(v, d.we.BCa, v.jda); + v.Yh.on(v, d.we.ACa, v.Zhb); + v.Yh.on(v, d.we.CCa, v.bib); + v.Yh.on(v, d.we.uP, v.ida); + v.Yh.on(v, d.we.FD, v.FQ); + v.KI = !1; + v.He = !1; + v.zl = !1; + v.vn = !1; + v.qQ = !1; + v.lda = y.LLb; + v.fr = 0; return v; } - c.__extends(t, u); - Object.defineProperties(t.prototype, { + c.__extends(u, t); + Object.defineProperties(u.prototype, { active: { get: function () { - return this.Fe; + return this.He; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - xqa: { + Object.defineProperties(u.prototype, { + rqa: { get: function () { - return this.Al; + return this.zl; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(u.prototype, { complete: { get: function () { - return !this.GI && 5 === this.readyState; + return !this.KI && 5 === this.readyState; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(u.prototype, { aborted: { get: function () { - return this.GI; + return this.KI; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - dma: { + Object.defineProperties(u.prototype, { + Yla: { get: function () { - return this.wn && !this.pQ; + return this.vn && !this.qQ; }, enumerable: !1, configurable: !0 } }); - t.prototype.mb = function (w) { - n.GH.prototype.mb.call(this, w); - this.Jf || !this.sd.pea && this.Lc || (this.Jf = h.default.instance(), this.active && (this.Jf.WM(l.default.time.aa(), { - requestId: this.xA(), - gg: this.Rc, + u.prototype.mb = function (w) { + n.OH.prototype.mb.call(this, w); + this.Kf || !this.Bd.jea && this.Nc || (this.Kf = h.default.instance(), this.active && (this.Kf.WM(l.default.time.ba(), { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }), this.Al && (l.default.time.aa(), this.connect && 0 < this.kr.length && this.Jf.qx(this.kr[0])))); + }), this.zl && (l.default.time.ba(), this.connect && 0 < this.mr.length && this.Kf.vx(this.mr[0])))); }; - t.prototype.Ss = function () { - return this.Je || 1 !== this.responseType ? 5 === this.readyState : 3 <= this.readyState; + u.prototype.Xs = function () { + return this.Le || 1 !== this.responseType ? 5 === this.readyState : 3 <= this.readyState; }; - t.prototype.JE = function (w, v, x, y, z, B, A) { - this.Je = w.appendBuffer(this.response, A || m.Bp(this)); + u.prototype.LE = function (w, v, x, y, z, A, B) { + this.Le = w.appendBuffer(this.response, B || m.Dp(this)); return { - status: this.Je ? p.pw : p.uf + status: this.Le ? p.ww : p.wf }; }; - t.prototype.sM = function () { - (this.wn = d.prototype.open.call(this, this.Feb, { + u.prototype.uM = function () { + (this.vn = d.prototype.open.call(this, this.Geb, { start: this.offset, - end: this.offset + this.ca - 1 - }, this.Mba, {}, void 0, void 0, this.Eeb)) && this.$S(this); - return this.wn; + end: this.offset + this.da - 1 + }, this.Gba, {}, void 0, void 0, this.Feb)) && this.ZS(this); + return this.vn; }; - t.prototype.abort = function () { + u.prototype.abort = function () { var w; if (this.aborted) return !0; - w = this.Fe; - this.Jf && w && this.Jf.$V(l.default.time.aa(), this.Al, { - requestId: this.xA(), - gg: this.Rc, + w = this.He; + this.Kf && w && this.Kf.ZV(l.default.time.ba(), this.zl, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType }); - this.GI = !0; - this.Al = this.Fe = !1; + this.KI = !0; + this.zl = this.He = !1; d.prototype.abort.call(this); - this.OK(this, w, this.dma); + this.SK(this, w, this.Yla); return !0; }; - t.prototype.Ic = function () { + u.prototype.Kc = function () { 7 !== this.readyState && 5 !== this.readyState && (this.H.warn("AseMediaRequest: in-progress request should be aborted before cleanup", this.toString()), this.abort()); this.Yh && this.Yh.clear(); - u.prototype.Ic.call(this); + t.prototype.Kc.call(this); }; - t.prototype.pda = function () { + u.prototype.jda = function () { var w; - w = this.Ye || this.loadTime; - g.nw.instance().push(l.default.time.aa() - w); - this.Fe || (this.Fe = !0, this.Us = this.track.Us(), this.stream.I.eYa || this.Jf && this.Jf.WM(w, { - requestId: this.xA(), - gg: this.Rc, + w = this.Ze || this.loadTime; + g.tw.instance().push(l.default.time.ba() - w); + this.He || (this.He = !0, this.Zs = this.track.Zs(), this.stream.I.cYa || this.Kf && this.Kf.WM(w, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }), this.PK(this), this.yt = this.Ye); + }), this.TK(this), this.Ct = this.Ze); }; - t.prototype.Yhb = function () { + u.prototype.Zhb = function () { var w, v, x; - w = this.Ye || this.Pia; + w = this.Ze || this.Iia; v = this.connect; - x = this.kr; - g.nw.instance().push(l.default.time.aa() - w); - this.Fe || (this.Fe = !0); - this.Al || (this.Al = !0, this.stream.I.eYa && this.Jf && this.Jf.WM(w, { - requestId: this.xA(), - gg: this.Rc, + x = this.mr; + g.tw.instance().push(l.default.time.ba() - w); + this.He || (this.He = !0); + this.zl || (this.zl = !0, this.stream.I.cYa && this.Kf && this.Kf.WM(w, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }), v && 0 < x.length && this.Jf && this.Jf.qx(x[0]), this.qF(this), this.yt = w); + }), v && 0 < x.length && this.Kf && this.Kf.vx(x[0]), this.uF(this), this.Ct = w); }; - t.prototype.aib = function () { + u.prototype.bib = function () { var w, v, x; w = this; - v = this.Ye; - x = this.bytesReceived - this.er; - g.nw.instance().push(l.default.time.aa() - v); - this.Al || (this.Al = !0); - this.Jf && (void 0 === this.yt || this.Jf.SA(x, this.yt, v, { - requestId: this.xA(), - gg: this.Rc, + v = this.Ze; + x = this.bytesReceived - this.fr; + g.tw.instance().push(l.default.time.ba() - v); + this.zl || (this.zl = !0); + this.Kf && (void 0 === this.Ct || this.Kf.VA(x, this.Ct, v, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }, this.rda), this.kr && this.kr.length && this.kr.forEach(function (y) { - w.Jf.ox(y); + }, this.lda), this.mr && this.mr.length && this.mr.forEach(function (y) { + w.Kf.tx(y); })); - this.QK(this); - this.yt = v; - this.er = this.bytesReceived; + this.UK(this); + this.Ct = v; + this.fr = this.bytesReceived; }; - t.prototype.oda = function () { + u.prototype.ida = function () { var w, v, x; w = this; - v = this.Ye; - x = this.bytesReceived - this.er; - g.nw.instance().push(l.default.time.aa() - v); - this.Jf && (0 < x && this.Jf.SA(x, this.yt, v, { - requestId: this.xA(), - gg: this.Rc, + v = this.Ze; + x = this.bytesReceived - this.fr; + g.tw.instance().push(l.default.time.ba() - v); + this.Kf && (0 < x && this.Kf.VA(x, this.Ct, v, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }, this.rda), this.kr && this.kr.length && this.kr.forEach(function (y) { - w.Jf.ox(y); - }), this.Jf.$V(v, this.Al, { - requestId: this.xA(), - gg: this.Rc, + }, this.lda), this.mr && this.mr.length && this.mr.forEach(function (y) { + w.Kf.tx(y); + }), this.Kf.ZV(v, this.zl, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType })); - this.Al = this.Fe = !1; - this.pQ = !0; - this.gv(this); - this.yt = v; - this.er = this.bytesReceived; - this.Ic(); - }; - t.prototype.xA = function () { + this.zl = this.He = !1; + this.qQ = !0; + this.nv(this); + this.Ct = v; + this.fr = this.bytesReceived; + this.Kc(); + }; + u.prototype.zA = function () { var w, v; w = (w = this.stream) ? w.toString() : this.url; - v = this.W0; + v = this.Y0; v && (w += ",range " + v.start + "-" + v.end); return w; }; - t.prototype.EQ = function () { + u.prototype.FQ = function () { var w, v, x, y; this.H.warn("AseMediaRequest._onError:", this.toString()); - w = this.Ye; + w = this.Ze; v = this.status; - x = this.Og; - y = this.Ri; - g.nw.instance().push(l.default.time.aa() - w); - this.complete ? this.H.warn("Error on a done request " + this.toString() + ", failurecode: " + x) : this.aborted ? this.H.warn("Error on an aborted request " + this.toString() + ", failurecode: " + x) : f.xa(x) ? (this.Jf && this.sd && this.sd.Rqa && this.loadTime && void 0 === v && this.Jf.SA(this.er ? this.bytesReceived - this.er : this.bytesReceived, this.yt ? this.yt : this.loadTime, w, { - requestId: this.xA(), - gg: this.Rc, + x = this.Mg; + y = this.Oi; + g.tw.instance().push(l.default.time.ba() - w); + this.complete ? this.H.warn("Error on a done request " + this.toString() + ", failurecode: " + x) : this.aborted ? this.H.warn("Error on an aborted request " + this.toString() + ", failurecode: " + x) : f.ya(x) ? (this.Kf && this.Bd && this.Bd.Mqa && this.loadTime && void 0 === v && this.Kf.VA(this.fr ? this.bytesReceived - this.fr : this.bytesReceived, this.Ct ? this.Ct : this.loadTime, w, { + requestId: this.zA(), + gg: this.Qc, type: this.mediaType - }, this.rda), this.G2(this)) : this.H.warn("ignoring undefined request error (nativecode: " + y + ")"); + }, this.lda), this.H2(this)) : this.H.warn("ignoring undefined request error (nativecode: " + y + ")"); }; - return t; + return u; })(d); - b.OX = a; - q.tf(n.GH, a, !1); - q.tf(r.Vt, a, !1); - }, function (q, b, a) { + b.NX = a; + r.tf(n.OH, a, !1); + r.tf(q.$t, a, !1); + }, function (r, b, a) { var f, k, l, d; function c(g, h, m) { var n, - r, - t; - h = f.__assign({}, null === (r = null === g || void 0 === g ? void 0 : g.context) || void 0 === r ? void 0 : r.call(g, { - SZa: h, - cs: m + q, + u; + h = f.__assign({}, null === (q = null === g || void 0 === g ? void 0 : g.context) || void 0 === q ? void 0 : q.call(g, { + RZa: h, + Cq: m })); - if ((null === g || void 0 === g ? 0 : g.cs) && m) - if (!0 === g.cs) + if ((null === g || void 0 === g ? 0 : g.Cq) && m) + if (!0 === g.Cq) h.args = m; else { - r = {}; - h.args = r; + q = {}; + h.args = q; try { - for (var p = f.__values(g.cs), u = p.next(); !u.done; u = p.next()) { - t = u.value; - r[t] = m[t]; + for (var p = f.__values(g.Cq), t = p.next(); !t.done; t = p.next()) { + u = t.value; + q[u] = m[u]; } } catch (v) { var w; @@ -26446,7 +26456,7 @@ a000.D9b = function () { } finally { try { - u && !u.done && (n = p.return) && n.call(p); + t && !t.done && (n = p.return) && n.call(p); } finally { if (w) @@ -26461,39 +26471,39 @@ a000.D9b = function () { value: !0 } }); - b.qA = b.GUa = b.Xb = void 0; + b.sA = b.FUa = b.Sb = void 0; f = a(2); k = a(19); - l = f.__importDefault(a(4)); + l = f.__importDefault(a(5)); d = a(9); - b.Xb = function (g) { + b.Sb = function (g) { return function (h, m, n) { - var r; - r = n.value; + var q; + q = n.value; n.value = function () { var p, - u, t, + u, w, v, x; - u = b.GUa(this); - if (u) - (t = c(g, this, arguments), w = null !== (p = null === g || void 0 === g ? void 0 : g.methodName) && void 0 !== p ? p : String(m), v = u.lR(w, t, null === g || void 0 === g ? void 0 : g.Jl, null === g || void 0 === g ? void 0 : g.h5b)); - p = this.Nba; - this.Nba = v; + t = b.FUa(this); + if (t) + (u = c(g, this, arguments), w = null !== (p = null === g || void 0 === g ? void 0 : g.methodName) && void 0 !== p ? p : String(m), v = t.nR(w, u, null === g || void 0 === g ? void 0 : g.Il, null === g || void 0 === g ? void 0 : g.p5b)); + p = this.Hba; + this.Hba = v; try { - return x = null === r || void 0 === r ? void 0 : r.apply(this, arguments); + return x = null === q || void 0 === q ? void 0 : q.apply(this, arguments); } catch (z) { var y; y = z; throw z; } finally { - if ((this.Nba = p, v)) + if ((this.Hba = p, v)) if ((v.data || (v.data = {}), y)) v.data.error = "" + y; - else if (d.uWa(x)) + else if (d.sWa(x)) x.then(function (z) { v && (null === g || void 0 === g ? 0 : g.return) && (v.data.resolve = z); }, function (z) { @@ -26505,20 +26515,20 @@ a000.D9b = function () { }; }; }; - b.GUa = function (g) { - if (null === g || void 0 === g ? 0 : g.Oba) - return g.Oba; + b.FUa = function (g) { + if (null === g || void 0 === g ? 0 : g.Iba) + return g.Iba; }; - q = (function () { + r = (function () { function g(h) { - this.Sn = []; - this.B_ = !1; - this.Lca = {}; + this.Un = []; + this.E_ = !1; + this.Fca = {}; this.I = f.__assign({ - hC: 10 + jC: 10 }, h); - Object.defineProperties(h.jt, { - Oba: { + Object.defineProperties(h.pt, { + Iba: { enumerable: !1, value: this, configurable: !0 @@ -26537,163 +26547,153 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { enabled: { get: function () { - return !this.B_; + return !this.E_; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - AFb: { + DFb: { get: function () { - return f.__spread(this.Sn); + return f.__spread(this.Un); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - $Cb: { + cDb: { get: function () { - return this.Lca; + return this.Fca; }, enumerable: !1, configurable: !0 } }); - g.prototype.Ju = function (h) { + g.prototype.Qu = function (h) { var m; - if (!this.B_) { - m = this.I.jt.Nba; + if (!this.E_) { + m = this.I.pt.Hba; m && (m.data = f.__assign(f.__assign({}, m.data), h)); } }; - g.prototype.lR = function (h, m, n, r) { + g.prototype.nR = function (h, m, n, q) { var p, - u, t, + u, w; - if (!this.B_) { - t = !1; - w = null === (u = (p = this.I).yea) || void 0 === u ? void 0 : u.call(p, this.I.jt); - p = c({}, this.I.jt); + if (!this.E_) { + u = !1; + w = null === (t = (p = this.I).sea) || void 0 === t ? void 0 : t.call(p, this.I.pt); + p = c({}, this.I.pt); m = f.__assign(f.__assign(f.__assign({}, w), p), m); w = 0 < Object.keys(m).length; m = { methodName: h, data: w ? m : void 0, - time: l.default.time.aa() + time: l.default.time.ba() }; - r && this.Lca[h]++; - n && this.Sn.length && (n = this.Sn[this.Sn.length - 1], n.methodName === h && (n.data = n.data || ({}), n.data.dedup = n.data.dedup || ({ + q && this.Fca[h]++; + n && this.Un.length && (n = this.Un[this.Un.length - 1], n.methodName === h && (n.data = n.data || ({}), n.data.dedup = n.data.dedup || ({ hitCount: 1 - }), n.data.dedup.hitCount++, n.data.dedup.lJournal = m, t = !0)); - this.wpb(m); - t || this.Sn.push(m); - this.Sn.length > this.I.hC && this.Sn.shift(); + }), n.data.dedup.hitCount++, n.data.dedup.lJournal = m, u = !0)); + this.xpb(m); + u || this.Un.push(m); + this.Un.length > this.I.jC && this.Un.shift(); return m; } }; - g.prototype.wpb = function (h) { + g.prototype.xpb = function (h) { var m; - k.ka && (null === (m = this.I.console) || void 0 === m ? void 0 : m.trace(this.I.source + "::" + h.methodName, h.data)); + k.ia && (null === (m = this.I.console) || void 0 === m ? void 0 : m.trace(this.I.source + "::" + h.methodName, h.data)); "object" === typeof __ASE_DEVTOOLS_EXTENSION__ && __ASE_DEVTOOLS_EXTENSION__.register(this.I, h); }; - g.prototype.wb = function () { - Object.defineProperties(this.I.jt, { - Oba: { + g.prototype.zb = function () { + Object.defineProperties(this.I.pt, { + Iba: { enumerable: !1, value: null, configurable: !0 } }); - this.B_ = !0; + this.E_ = !0; this.clear(); }; g.prototype.clear = function () { - this.Sn = []; - this.Lca = {}; + this.Un = []; + this.Fca = {}; }; return g; })(); - b.qA = q; - }, function (q, b) { + b.sA = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.dA = b.Y$a = b.ResponseType = void 0; - q = b.ResponseType || (b.ResponseType = {}); - q[q.Text = 0] = "Text"; - q[q.S2b = 1] = "Xml"; - q[q.fZb = 2] = "Binary"; - b.Y$a = "HttpClientSymbol"; - b.dA = "LegacyHttpSymbol"; - }, function (q, b) { + b.eA = b.aab = b.ResponseType = void 0; + r = b.ResponseType || (b.ResponseType = {}); + r[r.Text = 0] = "Text"; + r[r.S2b = 1] = "Xml"; + r[r.gZb = 2] = "Binary"; + b.aab = "HttpClientSymbol"; + b.eA = "LegacyHttpSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.SD = "VideoPreparerSymbol"; - }, function (q, b) { - function a() {} + b.VD = "VideoPreparerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Dl = b.K7a = void 0; - b.K7a = a; - b.Dl = new a(); - }, function (q, b) { + b.uD = "ManifestFetcherSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.sD = "ManifestFetcherSymbol"; - }, function (q, b) { + b.xaa = b.Xj = void 0; + r = b.Xj || (b.Xj = {}); + r.JD = "PRE_FETCH"; + r.kFa = "QC"; + r.Do = "STANDARD"; + r.xZ = "SUPPLEMENTAL"; + r.$9a = "DOWNLOAD"; + b.xaa = "PboManifestCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Eaa = b.Xj = b.Gk = void 0; - b.Gk = function () {}; - (function (a) { - a.GD = "PRE_FETCH"; - a.nFa = "QC"; - a.Co = "STANDARD"; - a.xZ = "SUPPLEMENTAL"; - a.Y9a = "DOWNLOAD"; - })(b.Xj || (b.Xj = {})); - b.Eaa = "PboManifestCommandSymbol"; - }, function (q, b) { + b.Axa = "DrmServicesSymbol"; + b.nY = "DrmServicesProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Dxa = "DrmServicesSymbol"; - b.oY = "DrmServicesProviderSymbol"; - }, function (q, b) { + b.NH = "ApiInfoSymbol"; + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.FH = "ApiInfoSymbol"; - }, function (q, b, a) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.mt = b.Sna = b.HYa = void 0; - q = a(673); - a = a(676); - b.HYa = q; - b.Sna = function (c, f) { - return b.HYa(function (k, l) { + b.st = b.Nna = b.EYa = void 0; + r = a(676); + a = a(679); + b.EYa = r; + b.Nna = function (c, f) { + return b.EYa(function (k, l) { return void 0 !== l ? l : k; }, c, f); }; - b.mt = a; - }, function (q, b, a) { + b.st = a; + }, function (r, b, a) { var c; - c = a(170); - q.exports = function (f) { + c = a(169); + r.exports = function (f) { return function d(l) { return 0 === arguments.length || c(l) ? d : f.apply(this, arguments); }; }; - }, function (q, b) { + }, function (r, b) { function a(c, f) { var k; c.__proto__ && c.__proto__ !== Object.prototype && a(c.__proto__, f); @@ -26708,23 +26708,23 @@ a000.D9b = function () { } }); b.default = a; - }, function (q, b, a) { + }, function (r, b, a) { (function (c, f) { function k(l, d, g, h) { this.console = new l("ASEJS_PROGRESS", "media|asejs"); this.now = d; - this.R2a = this.ATb = l = this.now(); - this.j2 = l + g; - this.rMb = g; - this.CPa = l + h; + this.R2a = this.DTb = l = this.now(); + this.k2 = l + g; + this.uMb = g; + this.BPa = l + h; this.debug = !1; - this.counter = this.Ny = 0; - this.Tu = 1E4; - this.X4a = g / 100; - this.Z4a = l; - this.Y4a = 1 * this.X4a / 4; - this.f8 = 0; - this.kS = ""; + this.counter = this.Qy = 0; + this.Yu = 1E4; + this.Z4a = g / 100; + this.a5a = l; + this.$4a = 1 * this.Z4a / 4; + this.b8 = 0; + this.jS = ""; this.cg(l, "progress tracking start"); } k.prototype.constructor = k; @@ -26733,14 +26733,14 @@ a000.D9b = function () { h; g = ((l - this.R2a) / 1E3).toFixed(3); g = (" ").slice(g.length - 4) + g; - h = c.zIb(); - this.console.info(g + (" " + ((this.CPa - l) / 1E3).toFixed(3)) + (" " + Math.round(this.Tu)) + (" M:(" + Math.floor(h.f5b / 1024 / 1024) + " MB/" + Math.floor(h.lVa / 1024 / 1024) + " MB) ") + this.kS + d); + h = c.BIb(); + this.console.info(g + (" " + ((this.BPa - l) / 1E3).toFixed(3)) + (" " + Math.round(this.Yu)) + (" M:(" + Math.floor(h.n5b / 1024 / 1024) + " MB/" + Math.floor(h.jVa / 1024 / 1024) + " MB) ") + this.jS + d); }; - k.prototype.hjb = function (l) { + k.prototype.ijb = function (l) { var d; d = this.now(); - this.kS = l ? l + ": " : l; - this.Ny = 0; + this.jS = l ? l + ": " : l; + this.Qy = 0; this.R2a = d; this.cg(d, "starting"); }; @@ -26748,228 +26748,236 @@ a000.D9b = function () { var d, g; this.counter++; - if (!(this.counter < this.Tu)) { + if (!(this.counter < this.Yu)) { this.counter = 0; d = this.now(); - g = d - (this.Z4a + this.X4a); - this.Z4a = d; - this.f8 = .9 * this.f8 + .1 * g; - this.f8 > this.Y4a ? (this.Tu *= .875, this.Tu = Math.max(1, this.Tu)) : this.f8 < -this.Y4a && (this.Tu *= 1.5, this.Tu = Math.min(this.Tu, 1E5)); - if (d >= this.CPa) - throw (this.cg("Execution deadline exceeded after " + (d - this.ATb) + " ms" + this.kS), Error("Execution deadline exceeded" + this.kS)); - g = c.zIb(); - this.Ny = Math.max(this.Ny, g.lVa); - if (7516192768 < g.lVa) - throw Error("Heap total limit exceeded" + this.kS); - if (!(d <= this.j2)) { - for (; d > this.j2; ) { - this.j2 += this.rMb; + g = d - (this.a5a + this.Z4a); + this.a5a = d; + this.b8 = .9 * this.b8 + .1 * g; + this.b8 > this.$4a ? (this.Yu *= .875, this.Yu = Math.max(1, this.Yu)) : this.b8 < -this.$4a && (this.Yu *= 1.5, this.Yu = Math.min(this.Yu, 1E5)); + if (d >= this.BPa) + throw (this.cg("Execution deadline exceeded after " + (d - this.DTb) + " ms" + this.jS), Error("Execution deadline exceeded" + this.jS)); + g = c.BIb(); + this.Qy = Math.max(this.Qy, g.jVa); + if (7516192768 < g.jVa) + throw Error("Heap total limit exceeded" + this.jS); + if (!(d <= this.k2)) { + for (; d > this.k2; ) { + this.k2 += this.uMb; } this.cg(d, l); } } }; k.mb = function (l, d, g, h) { - f.CC = new k(l, d, g || 5E3, h || 33E5); + f.EC = new k(l, d, g || 5E3, h || 33E5); }; - k.Tra = function (l) { - f.CC && f.CC.hjb(l); + k.Mra = function (l) { + f.EC && f.EC.ijb(l); }; k.update = function (l) { - f.CC && f.CC.Hjb(l); + f.EC && f.EC.Hjb(l); }; - k.FTa = function () { - if (f.CC) - return f.CC.Ny; + k.GTa = function () { + if (f.EC) + return f.EC.Qy; }; k.now = function () { - return f.CC ? f.CC.now() : Date.now(); + return f.EC ? f.EC.now() : Date.now(); }; - q.exports = k; - }).call(this, a(423), a(294)); - }, function (q) { + r.exports = k; + }).call(this, a(427), a(296)); + }, function (r) { var b; b = { - VT: function (a) { + TT: function (a) { for (var c in a) { a.hasOwnProperty(c) && (b[c] = a[c]); } } }; - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var d, g; function c(h) { return h instanceof ArrayBuffer || "[object ArrayBuffer]" === Object.prototype.toString.call(h); } function f(h) { - return d.ze(h); + return d.Be(h); } function k(h) { - return d.xa(h); + return d.ya(h); } function l(h) { - return !c(h) && !f(h) && !k(h) && !Array.isArray(h) && d.Sg(h); + return !c(h) && !f(h) && !k(h) && !Array.isArray(h) && d.ih(h); } d = a(10); g = { - dD: 0, + fD: 0, wZ: 1, - Ybb: 2, - $Y: 3, - jm: 4 - }; - q.exports = { - Eka: function (h) { - return c(h) ? g.dD : f(h) ? g.wZ : k(h) ? g.Ybb : l(h) ? g.$Y : g.jm; - }, - l4: c, - ze: f, - xa: k, - Sg: l, - jq: g - }; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.Yj = void 0; - q = b.Yj || (b.Yj = {}); - q.Hn = "created"; - q.Yv = "started"; - q.HN = "succeeded"; - q.Cs = "failed"; - q.Fn = "cancelled"; - q.Snb = "cancelled_on_start"; - q.Nfa = "cancelled_not_encrypted"; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.du = void 0; - q = b.du || (b.du = {}); - q[q.dZb = 8] = "Backspace"; - q[q.F2b = 9] = "Tab"; - q[q.o_b = 13] = "Enter"; - q[q.x2b = 16] = "Shift"; - q[q.CZb = 17] = "Ctrl"; - q[q.HYb = 18] = "Alt"; - q[q.M1b = 19] = "PauseBreak"; - q[q.vZb = 20] = "CapsLock"; - q[q.q_b = 27] = "Escape"; - q[q.z2b = 32] = "Space"; - q[q.L1b = 33] = "PageUp"; - q[q.K1b = 34] = "PageDown"; - q[q.n_b = 35] = "End"; - q[q.S_b = 36] = "Home"; - q[q.i0b = 37] = "LeftArrow"; - q[q.M2b = 38] = "UpArrow"; - q[q.T1b = 39] = "RightArrow"; - q[q.VZb = 40] = "DownArrow"; - q[q.f0b = 45] = "Insert"; - q[q.SZb = 46] = "Delete"; - q[q.V2b = 48] = "Zero"; - q[q.n1b = 49] = "One"; - q[q.I2b = 50] = "Two"; - q[q.G2b = 51] = "Three"; - q[q.K_b = 52] = "Four"; - q[q.I_b = 53] = "Five"; - q[q.y2b = 54] = "Six"; - q[q.w2b = 55] = "Seven"; - q[q.m_b = 56] = "Eight"; - q[q.Z0b = 57] = "Nine"; - q[q.xYb = 65] = "A"; - q[q.IYb = 66] = "B"; - q[q.lZb = 67] = "C"; - q[q.b9a = 68] = "D"; - q[q.E = 69] = "E"; - q[q.r_b = 70] = "F"; - q[q.L_b = 71] = "G"; - q[q.O_b = 72] = "H"; - q[q.Z$a = 73] = "I"; - q[q.g0b = 74] = "J"; - q[q.I$ = 75] = "K"; - q[q.dbb = 76] = "L"; - q[q.l0b = 77] = "M"; - q[q.Obb = 78] = "N"; - q[q.l1b = 79] = "O"; - q[q.p1b = 80] = "P"; - q[q.Q = 81] = "Q"; - q[q.Q1b = 82] = "R"; - q[q.Cdb = 83] = "S"; - q[q.feb = 84] = "T"; - q[q.J2b = 85] = "U"; - q[q.N2b = 86] = "V"; - q[q.P2b = 87] = "W"; - q[q.Lba = 88] = "X"; - q[q.T2b = 89] = "Y"; - q[q.U2b = 90] = "Z"; - q[q.j0b = 91] = "LeftWindowKey"; - q[q.U1b = 92] = "RightWindowKey"; - q[q.u2b = 93] = "SelectKey"; - q[q.b1b = 96] = "Numpad0"; - q[q.c1b = 97] = "Numpad1"; - q[q.d1b = 98] = "Numpad2"; - q[q.e1b = 99] = "Numpad3"; - q[q.f1b = 100] = "Numpad4"; - q[q.g1b = 101] = "Numpad5"; - q[q.h1b = 102] = "Numpad6"; - q[q.i1b = 103] = "Numpad7"; - q[q.j1b = 104] = "Numpad8"; - q[q.k1b = 105] = "Numpad9"; - q[q.y0b = 106] = "Multiply"; - q[q.GYb = 107] = "Add"; - q[q.A2b = 109] = "Subtract"; - q[q.RZb = 110] = "DecimalPoint"; - q[q.UZb = 111] = "Divide"; - q[q.s_b = 112] = "F1"; - q[q.w_b = 113] = "F2"; - q[q.x_b = 114] = "F3"; - q[q.y_b = 115] = "F4"; - q[q.z_b = 116] = "F5"; - q[q.A_b = 117] = "F6"; - q[q.B_b = 118] = "F7"; - q[q.C_b = 119] = "F8"; - q[q.D_b = 120] = "F9"; - q[q.t_b = 121] = "F10"; - q[q.u_b = 122] = "F11"; - q[q.v_b = 123] = "F12"; - q[q.a1b = 144] = "NumLock"; - q[q.s2b = 145] = "ScrollLock"; - q[q.v2b = 186] = "SemiColon"; - q[q.p_b = 187] = "Equals"; - q[q.yZb = 188] = "Comma"; - q[q.QZb = 189] = "Dash"; - q[q.N1b = 190] = "Period"; - q[q.J_b = 191] = "ForwardSlash"; - q[q.H2b = 192] = "Tilde"; - q[q.o1b = 219] = "OpenBracket"; - q[q.cZb = 220] = "BackSlash"; - q[q.xZb = 221] = "CloseBracket"; - q[q.P1b = 222] = "Quote"; - }, function (q, b, a) { + bcb: 2, + ZY: 3, + im: 4 + }; + r.exports = { + Bka: function (h) { + return c(h) ? g.fD : f(h) ? g.wZ : k(h) ? g.bcb : l(h) ? g.ZY : g.im; + }, + m4: c, + Be: f, + ya: k, + ih: l, + lq: g + }; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.Zj = void 0; + r = b.Zj || (b.Zj = {}); + r.In = "created"; + r.cw = "started"; + r.IN = "succeeded"; + r.Gs = "failed"; + r.Fn = "cancelled"; + r.Tnb = "cancelled_on_start"; + r.Gfa = "cancelled_not_encrypted"; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.iu = void 0; + r = b.iu || (b.iu = {}); + r[r.eZb = 8] = "Backspace"; + r[r.F2b = 9] = "Tab"; + r[r.p_b = 13] = "Enter"; + r[r.x2b = 16] = "Shift"; + r[r.DZb = 17] = "Ctrl"; + r[r.IYb = 18] = "Alt"; + r[r.M1b = 19] = "PauseBreak"; + r[r.wZb = 20] = "CapsLock"; + r[r.r_b = 27] = "Escape"; + r[r.z2b = 32] = "Space"; + r[r.L1b = 33] = "PageUp"; + r[r.K1b = 34] = "PageDown"; + r[r.o_b = 35] = "End"; + r[r.T_b = 36] = "Home"; + r[r.j0b = 37] = "LeftArrow"; + r[r.M2b = 38] = "UpArrow"; + r[r.T1b = 39] = "RightArrow"; + r[r.WZb = 40] = "DownArrow"; + r[r.g0b = 45] = "Insert"; + r[r.TZb = 46] = "Delete"; + r[r.V2b = 48] = "Zero"; + r[r.o1b = 49] = "One"; + r[r.I2b = 50] = "Two"; + r[r.G2b = 51] = "Three"; + r[r.L_b = 52] = "Four"; + r[r.J_b = 53] = "Five"; + r[r.y2b = 54] = "Six"; + r[r.w2b = 55] = "Seven"; + r[r.n_b = 56] = "Eight"; + r[r.$0b = 57] = "Nine"; + r[r.zYb = 65] = "A"; + r[r.JYb = 66] = "B"; + r[r.mZb = 67] = "C"; + r[r.d9a = 68] = "D"; + r[r.E = 69] = "E"; + r[r.s_b = 70] = "F"; + r[r.M_b = 71] = "G"; + r[r.P_b = 72] = "H"; + r[r.bab = 73] = "I"; + r[r.h0b = 74] = "J"; + r[r.A$ = 75] = "K"; + r[r.gbb = 76] = "L"; + r[r.m0b = 77] = "M"; + r[r.Sbb = 78] = "N"; + r[r.m1b = 79] = "O"; + r[r.q1b = 80] = "P"; + r[r.Q = 81] = "Q"; + r[r.Q1b = 82] = "R"; + r[r.Fdb = 83] = "S"; + r[r.ieb = 84] = "T"; + r[r.J2b = 85] = "U"; + r[r.N2b = 86] = "V"; + r[r.P2b = 87] = "W"; + r[r.Fba = 88] = "X"; + r[r.T2b = 89] = "Y"; + r[r.U2b = 90] = "Z"; + r[r.k0b = 91] = "LeftWindowKey"; + r[r.U1b = 92] = "RightWindowKey"; + r[r.u2b = 93] = "SelectKey"; + r[r.c1b = 96] = "Numpad0"; + r[r.d1b = 97] = "Numpad1"; + r[r.e1b = 98] = "Numpad2"; + r[r.f1b = 99] = "Numpad3"; + r[r.g1b = 100] = "Numpad4"; + r[r.h1b = 101] = "Numpad5"; + r[r.i1b = 102] = "Numpad6"; + r[r.j1b = 103] = "Numpad7"; + r[r.k1b = 104] = "Numpad8"; + r[r.l1b = 105] = "Numpad9"; + r[r.z0b = 106] = "Multiply"; + r[r.HYb = 107] = "Add"; + r[r.A2b = 109] = "Subtract"; + r[r.SZb = 110] = "DecimalPoint"; + r[r.VZb = 111] = "Divide"; + r[r.t_b = 112] = "F1"; + r[r.x_b = 113] = "F2"; + r[r.y_b = 114] = "F3"; + r[r.z_b = 115] = "F4"; + r[r.A_b = 116] = "F5"; + r[r.B_b = 117] = "F6"; + r[r.C_b = 118] = "F7"; + r[r.D_b = 119] = "F8"; + r[r.E_b = 120] = "F9"; + r[r.u_b = 121] = "F10"; + r[r.v_b = 122] = "F11"; + r[r.w_b = 123] = "F12"; + r[r.b1b = 144] = "NumLock"; + r[r.s2b = 145] = "ScrollLock"; + r[r.v2b = 186] = "SemiColon"; + r[r.q_b = 187] = "Equals"; + r[r.zZb = 188] = "Comma"; + r[r.RZb = 189] = "Dash"; + r[r.N1b = 190] = "Period"; + r[r.K_b = 191] = "ForwardSlash"; + r[r.H2b = 192] = "Tilde"; + r[r.p1b = 219] = "OpenBracket"; + r[r.dZb = 220] = "BackSlash"; + r[r.yZb = 221] = "CloseBracket"; + r[r.P1b = 222] = "Quote"; + }, function (r, b) { + function a() {} + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.sm = b.M7a = void 0; + b.M7a = a; + b.sm = new a(); + }, function (r, b, a) { var g; function c(h) { return "function" === typeof h ? h.name : "symbol" === typeof h ? h.toString() : h; } function f(h, m) { - return null === h.Yy ? !1 : h.Yy.ng === m ? !0 : f(h.Yy, m); + return null === h.az ? !1 : h.az.mg === m ? !0 : f(h.az, m); } function k(h) { - function m(n, r) { + function m(n, q) { var p; - void 0 === r && (r = []); - p = c(n.ng); - r.push(p); - return null !== n.Yy ? m(n.Yy, r) : r; + void 0 === q && (q = []); + p = c(n.mg); + q.push(p); + return null !== n.az ? m(n.az, q) : q; } return m(h).reverse().join(" --\x3e "); } function l(h) { - h.cga.forEach(function (m) { - if (f(m, m.ng)) - throw (m = k(m), Error(g.E8a + " " + m)); + h.Xfa.forEach(function (m) { + if (f(m, m.mg)) + throw (m = k(m), Error(g.G8a + " " + m)); l(m); }); } @@ -26985,29 +26993,29 @@ a000.D9b = function () { value: !0 }); g = a(55); - b.hL = c; - b.pXa = function (h, m, n) { - var r; - r = ""; + b.kL = c; + b.nXa = function (h, m, n) { + var q; + q = ""; h = n(h, m); - 0 !== h.length && (r = "\nRegistered bindings:", h.forEach(function (p) { - var u; - u = "Object"; - null !== p.Nl && (u = d(p.Nl)); - r = r + "\n " + u; - p.YE.IYa && (r = r + " - " + p.YE.IYa); + 0 !== h.length && (q = "\nRegistered bindings:", h.forEach(function (p) { + var t; + t = "Object"; + null !== p.Ml && (t = d(p.Ml)); + q = q + "\n " + t; + p.$E.FYa && (q = q + " - " + p.$E.FYa); })); - return r; + return q; }; - b.Dob = l; - b.pGb = function (h, m) { + b.Eob = l; + b.rGb = function (h, m) { var n, - r; - if (m.jma() || m.ama()) { + q; + if (m.dma() || m.Vla()) { n = ""; - r = m.vAb(); - m = m.$yb(); - null !== r && (n += r.toString() + "\n"); + q = m.yAb(); + m = m.dzb(); + null !== q && (n += q.toString() + "\n"); null !== m && m.forEach(function (p) { n += p.toString() + "\n"; }); @@ -27016,182 +27024,182 @@ a000.D9b = function () { return " " + h; }; b.getFunctionName = d; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.BP = "PlatformConfigDefaultsSymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - b.XK = b.WK = b.YK = b.IWa = b.aU = void 0; - c = a(5); + b.aL = b.$K = b.bL = b.GWa = b.$T = void 0; + c = a(4); f = a(104); k = a(50); - b.aU = function (l, d, g, h) { + b.$T = function (l, d, g, h) { var m, n; - m = l.yLb; - n = l.zLb; - l = l.ALb; + m = l.ALb; + n = l.BLb; + l = l.CLb; return m > d || m === d && n > g || m === d && n === g && (void 0 === h || l >= h); }; - b.IWa = function (l, d) { - return l.ks >= d; + b.GWa = function (l, d) { + return l.ns >= d; }; - b.YK = function () { + b.bL = function () { return { - version: "6.0031.809.911", + version: "6.0032.282.911", G5: !0, - SK: !0, - Dha: "browser", - NPa: ["en-US"], - ana: "", - qS: "cadmium", - $ta: !0, - y0: !0, - TV: !1 + WK: !0, + xha: "browser", + MPa: ["en-US"], + Vma: "", + pS: "cadmium", + Wta: !0, + A0: !0, + SV: !1 }; }; - b.WK = function () { + b.$K = function () { return { - YA: [k.je.hD, k.je.iD], - hw: [k.O.XH, k.O.gD, k.O.IO, k.O.JO, k.O.BI, k.O.CI], - Xe: f.Ob.VHa, - My: c.uc(31E3) + $A: [k.ke.jD, k.ke.kD], + lw: [k.O.eI, k.O.iD, k.O.IO, k.O.JO, k.O.GI, k.O.HI], + Ol: f.Pb.THa, + Py: c.wc(31E3) }; }; - b.XK = function (l) { + b.aL = function (l) { return { - sY: l.Kn + rY: l.Ln }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Gxa = b.jn = void 0; - q = b.jn || (b.jn = {}); - q[q.zC = 0] = "playready"; - q[q.S8 = 1] = "widevine"; - q[q.oF = 2] = "fairplay"; - q[q.R3b = 3] = "clearkey"; - b.Gxa = "DrmTypeSymbol"; - }, function (q, b) { + b.Cxa = b.hn = void 0; + r = b.hn || (b.hn = {}); + r[r.BC = 0] = "playready"; + r[r.M8 = 1] = "widevine"; + r[r.sF = 2] = "fairplay"; + r[r.U3b = 3] = "clearkey"; + b.Cxa = "DrmTypeSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lP = "MediaKeysStorageFactorySymbol"; - }, function (q, b) { + b.mP = "MediaKeysStorageFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.CZ = b.zo = void 0; - b.zo = function () {}; - b.CZ = "StringObjectReaderSymbol"; - }, function (q, b) { + b.DZ = b.Ao = void 0; + b.Ao = function () {}; + b.DZ = "StringObjectReaderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.OGa = "SystemRandomSymbol"; + b.KGa = "SystemRandomSymbol"; b.sZ = "RandomGeneratorSymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.DP = "PlayerErrorFactorySymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.OH = b.c$a = void 0; + b.WH = b.e$a = void 0; c = a(25); - b.c$a = function () { - this.YA = []; - this.hw = []; - this.Yea = c.Wt.Zt; - this.K8 = c.Bi.Zt; + b.e$a = function () { + this.$A = []; + this.lw = []; + this.Rea = c.au.du; + this.F8 = c.Bi.du; }; - b.OH = "DeviceCapabilitiesConfigSymbol"; - }, function (q, b) { + b.WH = "DeviceCapabilitiesConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.MP = "SourceBufferTypeProviderSymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.Sd = void 0; + b.Qd = void 0; f = a(25); - c.sPa = function (k) { + c.rPa = function (k) { var l; l = {}; - l[f.ce.KP] = c.WH; - l[f.ce.xY] = c.WH; - l[f.ce.AI] = c.KO; - l[f.ce.xw] = c.xw; - l[f.ce.Ir] = k || c.Ir; - l[f.ce.YC] = c.WH; - l[f.ce.QD] = c.TP; - l[f.ce.Fk] = c.Fk; + l[f.$d.KP] = c.dI; + l[f.$d.xY] = c.dI; + l[f.$d.FI] = c.KO; + l[f.$d.Dw] = c.Dw; + l[f.$d.Lr] = k || c.Lr; + l[f.$d.$C] = c.dI; + l[f.$d.TD] = c.TP; + l[f.$d.Fk] = c.Fk; return l; }; - b.Sd = c; - c.WH = "avc1.640028"; + b.Qd = c; + c.dI = "avc1.640028"; c.KO = "hev1.1.6.L93.B0"; - c.$X = "dvhe.05.01"; - c.R9 = "dvhe.05.04"; - c.S9 = "dvhe.05.05"; - c.T9 = "dvhe.05.06"; - c.U9 = "dvhe.05.07"; - c.V9 = "dvhe.05.09"; - c.Ir = c.$X; - c.xw = c.KO; - c.FX = "mp4a.40.2"; - c.EI = "mp4a.40.42"; - c.c9a = "ec-3"; + c.ZX = "dvhe.05.01"; + c.M9 = "dvhe.05.04"; + c.N9 = "dvhe.05.05"; + c.O9 = "dvhe.05.06"; + c.P9 = "dvhe.05.07"; + c.Q9 = "dvhe.05.09"; + c.Lr = c.ZX; + c.Dw = c.KO; + c.EX = "mp4a.40.2"; + c.WD = "mp4a.40.42"; + c.e9a = "ec-3"; c.TP = "vp09.00.11.08.02"; c.Fk = "av01.0.04M.08"; - c.W8a = [c.V9, c.U9, c.T9, c.S9, c.R9, c.$X]; - }, function (q, b) { + c.Y8a = [c.Q9, c.P9, c.O9, c.N9, c.M9, c.ZX]; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pP = "MslProviderSymbol"; - }, function (q, b) { + b.qP = "MslProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.FZ = void 0; - b.rq = { - oI: "PRIMARY", - rua: "ASSISTIVE", - Vva: "COMMENTARY", + b.HZ = void 0; + b.tq = { + vI: "PRIMARY", + oua: "ASSISTIVE", + Sva: "COMMENTARY", NONE: "NONE" }; - b.FZ = { - assistive: b.rq.rua, - closedcaptions: b.rq.rua, - directorscommentary: b.rq.Vva, - commentary: b.rq.Vva, - subtitles: b.rq.oI, - primary: b.rq.oI, - none: b.rq.NONE + b.HZ = { + assistive: b.tq.oua, + closedcaptions: b.tq.oua, + directorscommentary: b.tq.Sva, + commentary: b.tq.Sva, + subtitles: b.tq.vI, + primary: b.tq.vI, + none: b.tq.NONE }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kP = "ManifestFactorySymbol"; - }, function (q, b, a) { + b.lP = "ManifestFactorySymbol"; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -27199,34 +27207,34 @@ a000.D9b = function () { value: !0 } }); - b.fm = void 0; - c = a(2).__importDefault(a(4)); + b.dm = void 0; + c = a(2).__importDefault(a(5)); f = a(110); - q = (function () { + r = (function () { function k(l) { this.H = new c.default.Console("ASEJS", "media|asejs", "(" + l + ")"); - this.gda = []; + this.ada = []; } - k.prototype.rp = function (l) { - this.gda[l] || (this.gda[l] = f.Ys(c.default, this.H, "[" + l + "]")); - return this.gda[l]; + k.prototype.up = function (l) { + this.ada[l] || (this.ada[l] = f.Yq(c.default, this.H, "[" + l + "]")); + return this.ada[l]; }; return k; })(); - b.fm = new q(0); - }, function (q, b, a) { + b.dm = new r(0); + }, function (r, b, a) { function c(f, k) { - this.HJ = f; - this.wj = Math.floor((f + k - 1) / k); - this.qd = k; + this.JJ = f; + this.tj = Math.floor((f + k - 1) / k); + this.rd = k; this.reset(); } a(6); c.prototype.shift = function () { this.Ad.shift(); - this.Iu.shift(); + this.Pu.shift(); }; - c.prototype.Ev = function (f) { + c.prototype.Kv = function (f) { return this.xNa(this.Ad[f], f); }; c.prototype.update = function (f, k) { @@ -27234,78 +27242,78 @@ a000.D9b = function () { }; c.prototype.push = function () { this.Ad.push(0); - this.Iu.push(0); - this.ib += this.qd; + this.Pu.push(0); + this.ib += this.rd; }; c.prototype.add = function (f, k, l) { var d, g, h; if (null === this.ib) { - d = Math.max(Math.floor((l - k + this.qd - 1) / this.qd), 1); + d = Math.max(Math.floor((l - k + this.rd - 1) / this.rd), 1); for (this.ib = k; this.Ad.length < d; ) { this.push(); } } for (; this.ib <= l; ) { this.push(); - this.Ad.length > this.wj && this.shift(); + this.Ad.length > this.tj && this.shift(); } - if (null === this.pn || k < this.pn) - this.pn = k; - if (k > this.ib - this.qd) + if (null === this.nn || k < this.nn) + this.nn = k; + if (k > this.ib - this.rd) this.update(this.Ad.length - 1, f); else if (k == l) - (d = this.Ad.length - Math.max(Math.ceil((this.ib - l) / this.qd), 1), 0 <= d && this.update(d, f)); + (d = this.Ad.length - Math.max(Math.ceil((this.ib - l) / this.rd), 1), 0 <= d && this.update(d, f)); else for (d = 1; d <= this.Ad.length; ++d) { - g = this.ib - d * this.qd; - h = g + this.qd; + g = this.ib - d * this.rd; + h = g + this.rd; if (!(g > l)) { if (h < k) break; this.update(this.Ad.length - d, Math.round(f * (Math.min(h, l) - Math.max(g, k)) / (l - k))); } } - for (; this.Ad.length > this.wj; ) { + for (; this.Ad.length > this.tj; ) { this.shift(); } }; c.prototype.start = function (f) { - null === this.pn && (this.pn = f); + null === this.nn && (this.nn = f); null === this.ib && (this.ib = f); }; c.prototype.stop = function (f) { var k, l; if (null !== this.ib) - if (f - this.ib > 10 * this.HJ) + if (f - this.ib > 10 * this.JJ) this.reset(); else { for (; this.ib <= f; ) { this.push(); - this.Ad.length > this.wj && this.shift(); + this.Ad.length > this.tj && this.shift(); } - k = this.Ad.length - Math.ceil((this.ib - this.pn) / this.qd); - l = this.Ad.length - Math.ceil((this.ib - f) / this.qd); + k = this.Ad.length - Math.ceil((this.ib - this.nn) / this.rd); + l = this.Ad.length - Math.ceil((this.ib - f) / this.rd); if (0 <= l) - if ((0 > k && (this.pn = this.ib - this.qd * this.Ad.length, k = 0), k === l)) - this.Iu[k] += f - this.pn; + if ((0 > k && (this.nn = this.ib - this.rd * this.Ad.length, k = 0), k === l)) + this.Pu[k] += f - this.nn; else if (l > k) - for ((this.Iu[k] += (this.ib - this.pn) % this.qd, this.Iu[l] += this.qd - (this.ib - f) % this.qd, f = k + 1); f < l; ++f) { - this.Iu[f] = this.qd; + for ((this.Pu[k] += (this.ib - this.nn) % this.rd, this.Pu[l] += this.rd - (this.ib - f) % this.rd, f = k + 1); f < l; ++f) { + this.Pu[f] = this.rd; } - this.pn = null; + this.nn = null; } }; c.prototype.xNa = function (f, k) { - k = this.nja(k); + k = this.gja(k); return 0 === k ? null : 8 * f / k; }; - c.prototype.nja = function (f) { + c.prototype.gja = function (f) { var k; - k = this.Iu[f]; - null !== this.pn && (f = this.ib - (this.Ad.length - f - 1) * this.qd, f > this.pn && (k = f - this.pn <= this.qd ? k + (f - this.pn) : this.qd)); + k = this.Pu[f]; + null !== this.nn && (f = this.ib - (this.Ad.length - f - 1) * this.rd, f > this.nn && (k = f - this.nn <= this.rd ? k + (f - this.nn) : this.rd)); return k; }; c.prototype.get = function (f, k) { @@ -27317,7 +27325,7 @@ a000.D9b = function () { null === l[f] && (l[f] = 0 < f ? l[f - 1] : 0); } else if ("average" === f) { - k = 1 - Math.pow(.5, 1 / ((k || 2E3) / this.qd)); + k = 1 - Math.pow(.5, 1 / ((k || 2E3) / this.rd)); for (f = 0; f < l.length; ++f) { null === l[f] ? l[f] = Math.floor(d || 0) : d = void 0 !== d ? k * l[f] + (1 - k) * d : l[f]; } @@ -27325,13 +27333,13 @@ a000.D9b = function () { return l; }; c.prototype.reset = function () { - this.Nca || (this.Ad = [], this.Iu = [], this.pn = this.ib = null); + this.Hca || (this.Ad = [], this.Pu = [], this.nn = this.ib = null); }; c.prototype.setInterval = function (f) { - this.wj = Math.floor((f + this.qd - 1) / this.qd); + this.tj = Math.floor((f + this.rd - 1) / this.rd); }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var k, l, d, @@ -27339,49 +27347,49 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u) { - var t; - if (!u.Xda) { - t = u.DUa(); - u.tn.HE(t.default.Ea, u.pj); - u.tn.yH(t.Rs ? t.Rs.q6 : void 0, t.Rs ? t.Rs.sampleSize : void 0); - k.ob(u.Ac) || (u.Xda = !0); + function c(t) { + var u; + if (!t.Rda) { + u = t.CUa(); + t.sn.JE(u.default.Fa, t.mj); + t.sn.GH(u.Ws ? u.Ws.p6 : void 0, u.Ws ? u.Ws.sampleSize : void 0); + k.tb(t.Cc) || (t.Rda = !0); } } - function f(u, t, w) { + function f(t, u, w) { var v; this.I = w; - this.Qo = {}; - this.bJ = w.bJ; - this.RIa = new g(this.bJ); - this.nQ = new m(!0); + this.Ro = {}; + this.dJ = w.dJ; + this.PIa = new g(this.dJ); + this.oQ = new m(!0); this.VP = new m(!1); - w.UQa && (this.vJ = new n()); + w.TQa && (this.xJ = new n()); this.reset(); - this.TJa = u; - this.tn = t; - this.uJa = l.Yn.name(); - this.tn.B7(this.uJa); - this.UD = 0; + this.RJa = t; + this.sn = u; + this.sJa = l.$n.name(); + this.sn.x7(this.sJa); + this.XD = 0; this.WP = []; l.events.on("networkchange", (function (x) { - this.uJa = x; - this.tn.B7(x); + this.sJa = x; + this.sn.x7(x); }).bind(this)); - v = w.iha; + v = w.cha; v && (v = { - confidence: d.wf.YH, + confidence: d.yf.fI, Oa: { - Ea: parseInt(v, 10), + Fa: parseInt(v, 10), vi: 0 }, - Vi: { + Ti: { mmb: 0, vi: 0 }, - Qs: { + Vs: { mmb: 0, vi: 0 } @@ -27391,15 +27399,15 @@ a000.D9b = function () { p = this; } k = a(10); - l = a(4).default; + l = a(5).default; d = a(27).default; a(9); b = a(16).EventEmitter; - g = a(380).Dya; + g = a(385).Bya; h = new l.Console("ASEJS_NETWORK_MONITOR", "media|asejs"); - m = a(793).fya; - n = a(795).dDa; - r = a(145); + m = a(802).cya; + n = a(804).$Ca; + q = a(145); p = void 0; f.prototype.constructor = f; f.prototype = Object.create(b.prototype); @@ -27417,258 +27425,258 @@ a000.D9b = function () { }, confidence: { get: function () { - return this.pj; + return this.mj; } }, - Uo: { + Vo: { get: function () { - return this.UD; + return this.XD; } }, - jLa: { + hLa: { get: function () { return this.WP; } } }); - f.prototype.Efb = function () { - var u, - t, + f.prototype.Ffb = function () { + var t, + u, w, v; - u = this.I; - t = u.Ufb.concat(u.cgb); - w = u.Aca; - v = this.RIa; - return t.reduce(function (x, y) { + t = this.I; + u = t.Vfb.concat(t.dgb); + w = t.uca; + v = this.PIa; + return u.reduce(function (x, y) { x[y] = v.create(y, w); return x; }, {}); }; f.prototype.reset = function () { - var u, - t, + var t, + u, w, v; - u = this.I.Aca; - t = this.RIa; + t = this.I.uca; + u = this.PIa; w = this.I; this.location = null; - this.Qo = this.Efb(); - if (this.I.XQa) { - v = this.I.R4a; - this.Qo.$Ub = new r(v.numB * v.bSizeMs, v.bSizeMs); + this.Ro = this.Ffb(); + if (this.I.WQa) { + v = this.I.T4a; + this.Ro.bVb = new q(v.numB * v.bSizeMs, v.bSizeMs); } - this.nQ.reset(); + this.oQ.reset(); this.VP.reset(); - this.gx = t.create("respconn-ewma", u); - this.Ww = t.create("respconn-ewma", u); - this.vJ && this.vJ.reset(); - this.pj = d.wf.HAVE_NOTHING; + this.lx = u.create("respconn-ewma", t); + this.ax = u.create("respconn-ewma", t); + this.xJ && this.xJ.reset(); + this.mj = d.yf.HAVE_NOTHING; this.Ijb = (function () { c(this); }).bind(this); - this.r0 = void 0; - this.BA = this.Fc = this.Ac = this.gf = null; - this.tA = this.m0 = 0; - this.vib = !1; - w.Y1a && (this.UD = 0, this.WP = []); + this.t0 = void 0; + this.DA = this.Hc = this.Cc = this.gf = null; + this.vA = this.o0 = 0; + this.wib = !1; + w.X1a && (this.XD = 0, this.WP = []); }; - f.prototype.pN = function (u) { - var t; - t = this.Qo; - if (u !== this.location) { - k.ga(this.r0) || (clearInterval(this.r0), this.r0 = void 0); - k.ob(this.location) && (this.m0 = 0, this.gf = null); - if (!k.ob(u)) { - this.pj = d.wf.HAVE_NOTHING; - for (var w in t) { - t[w] && t[w].reset && t[w].reset(); + f.prototype.qN = function (t) { + var u; + u = this.Ro; + if (t !== this.location) { + k.fa(this.t0) || (clearInterval(this.t0), this.t0 = void 0); + k.tb(this.location) && (this.o0 = 0, this.gf = null); + if (!k.tb(t)) { + this.mj = d.yf.HAVE_NOTHING; + for (var w in u) { + u[w] && u[w].reset && u[w].reset(); } - this.gx.reset(); - this.Ww.reset(); + this.lx.reset(); + this.ax.reset(); } - k.ob(this.gf) || (this.m0 += (k.ob(this.Ac) ? l.time.aa() : this.Ac) - this.gf); - this.Ac = this.gf = null; - this.Fc = 0; - this.location = u; - this.tn.pN(u); + k.tb(this.gf) || (this.o0 += (k.tb(this.Cc) ? l.time.ba() : this.Cc) - this.gf); + this.Cc = this.gf = null; + this.Hc = 0; + this.location = t; + this.sn.qN(t); } }; - f.prototype.B7 = function (u) { - this.tn.B7(u); + f.prototype.x7 = function (t) { + this.sn.x7(t); }; - f.prototype.nkb = function (u) { - this.Qo.QoEEvaluator ? h.warn("monitor (QoEEvaluator) already existed.") : this.Qo.QoEEvaluator = u; + f.prototype.nkb = function (t) { + this.Ro.QoEEvaluator ? h.warn("monitor (QoEEvaluator) already existed.") : this.Ro.QoEEvaluator = t; }; - f.prototype.DPb = function () { - delete this.Qo.QoEEvaluator; + f.prototype.IPb = function () { + delete this.Ro.QoEEvaluator; }; - f.prototype.SA = function (u, t, w, v, x) { + f.prototype.VA = function (t, u, w, v, x) { var y, z; - this.WWa = Math.max(this.WWa || 0, w); + this.UWa = Math.max(this.UWa || 0, w); y = this.I; - z = this.Qo; - if (!0 === v.cO) - (v = z["throughput-wssl"]) && v.add(u, t, w, !0); - else if (k.ga(t)) + z = this.Ro; + if (!0 === v.bO) + (v = z["throughput-wssl"]) && v.add(t, u, w, !0); + else if (k.fa(u)) h.warn("addDataReceived called with undefined start time"); else { - this.vJ && this.vJ.SA(u, t, w, v, x); - y.bgb && 10 > w - t ? t = w - 10 : 0 === w - t && (t = w - 1); - this.nQ.SA(u, t, w, v); - this.VP.SA(u, t, w, v); - for (var B in z) { - z[B] && z[B].add && z[B].add(u, t, w); - } - this.pj = Math.max(this.pj, d.wf.Zz); - k.ob(this.gf) && (this.gf = t, this.Ac = null, this.Xda = !1, this.Fc = 0); - k.ob(this.Ac) || (t > this.Ac && (this.gf += t - this.Ac), this.Ac = null, this.Xda = !1); - this.Fc += u; - this.pj < d.wf.ww && (w - this.gf > y.mhb || this.Fc > y.lhb) && (this.pj = d.wf.ww); - this.pj < d.wf.YH && (w - this.gf > y.yib || this.Fc > y.xib) && (!this.vib || this.tA > y.khb) && (this.pj = d.wf.YH, c(this), this.r0 = setInterval(this.Ijb, y.Xgb)); - k.ob(this.BA) || (t - this.BA > y.UJa ? this.TJa.bWa(this.BA, t) : w - t > y.UJa && this.TJa.bWa(t, w)); - this.BA = Math.max(w, this.BA); - } - }; - f.prototype.qx = function (u) { - this.gx.add(u); - this.tn.qx(u); - }; - f.prototype.ox = function (u) { - this.Ww.add(u); - this.tn.ox(u); - }; - f.prototype.start = function (u) { - var t; - k.ob(this.BA) && !k.ob(this.Ac) && (this.BA = u); - t = this.Qo; - if (this.I.xsa) - for (var w in t) { - t[w] && t[w].start && t[w].start(u); + this.xJ && this.xJ.VA(t, u, w, v, x); + y.cgb && 10 > w - u ? u = w - 10 : 0 === w - u && (u = w - 1); + this.oQ.VA(t, u, w, v); + this.VP.VA(t, u, w, v); + for (var A in z) { + z[A] && z[A].add && z[A].add(t, u, w); + } + this.mj = Math.max(this.mj, d.yf.$z); + k.tb(this.gf) && (this.gf = u, this.Cc = null, this.Rda = !1, this.Hc = 0); + k.tb(this.Cc) || (u > this.Cc && (this.gf += u - this.Cc), this.Cc = null, this.Rda = !1); + this.Hc += t; + this.mj < d.yf.Cw && (w - this.gf > y.nhb || this.Hc > y.mhb) && (this.mj = d.yf.Cw); + this.mj < d.yf.fI && (w - this.gf > y.zib || this.Hc > y.yib) && (!this.wib || this.vA > y.lhb) && (this.mj = d.yf.fI, c(this), this.t0 = setInterval(this.Ijb, y.Ygb)); + k.tb(this.DA) || (u - this.DA > y.SJa ? this.RJa.$Va(this.DA, u) : w - u > y.SJa && this.RJa.$Va(u, w)); + this.DA = Math.max(w, this.DA); + } + }; + f.prototype.vx = function (t) { + this.lx.add(t); + this.sn.vx(t); + }; + f.prototype.tx = function (t) { + this.ax.add(t); + this.sn.tx(t); + }; + f.prototype.start = function (t) { + var u; + k.tb(this.DA) && !k.tb(this.Cc) && (this.DA = t); + u = this.Ro; + if (this.I.qsa) + for (var w in u) { + u[w] && u[w].start && u[w].start(t); } }; - f.prototype.stop = function (u) { - var t, + f.prototype.stop = function (t) { + var u, w; - t = this.Qo; - for (w in t) { - t[w] && t[w].stop && t[w].stop(u); + u = this.Ro; + for (w in u) { + u[w] && u[w].stop && u[w].stop(t); } - this.Ac = k.ob(this.Ac) ? u : Math.min(this.Ac, u); - this.BA = null; + this.Cc = k.tb(this.Cc) ? t : Math.min(this.Cc, t); + this.DA = null; }; f.prototype.flush = function () { - var u, - t; - u = this.Qo; - for (t in u) { - u[t] && u[t].flush && u[t].flush(); + var t, + u; + t = this.Ro; + for (u in t) { + t[u] && t[u].flush && t[u].flush(); } }; f.prototype.fail = function () { this.gf = null; }; f.prototype.fTa = function () { - var u, - t; - u = this.Qo.entropy; - if (u) { - t = u.lnb(); - u.reset(); + var t, + u; + t = this.Ro.entropy; + if (t) { + u = t.mnb(); + t.reset(); } - return t; + return u; }; - f.prototype.DUa = function () { - var u, - t, + f.prototype.CUa = function () { + var t, + u, w, v, x, y, z; - u = l.time.aa(); - t = {}; - w = this.Qo; + t = l.time.ba(); + u = {}; + w = this.Ro; v = this.I; - x = v.Jfb; - y = v.djb; + x = v.Kfb; + y = v.ejb; for (z in w) { - w[z] && w[z].get && (t[z] = w[z].get(u), "iqr" === w[z].type && (t.Rs = t[z]), "tdigest" === w[z].type && (t.Sj = t[z]), "wssl" === w[z].type && (t.cO = t[z])); + w[z] && w[z].get && (u[z] = w[z].get(t), "iqr" === w[z].type && (u.Ws = u[z]), "tdigest" === w[z].type && (u.Sj = u[z]), "wssl" === w[z].type && (u.bO = u[z])); } - t.cdnavtp = this.nQ.Is(); - t.activecdnavtp = this.VP.Is(); - t.default = x && t[x] ? t[x] : t["throughput-ewma"]; - "none" !== v.Ara && "none" !== y && (t.y2a = y && t[y] ? t[y] : t["throughput-sw"]); - return t; + u.cdnavtp = this.oQ.Os(); + u.activecdnavtp = this.VP.Os(); + u.default = x && u[x] ? u[x] : u["throughput-ewma"]; + "none" !== v.tra && "none" !== y && (u.y2a = y && u[y] ? u[y] : u["throughput-sw"]); + return u; }; - f.prototype.j3 = function () { - return this.vJ ? this.vJ.j3() : void 0; + f.prototype.k3 = function () { + return this.xJ ? this.xJ.k3() : void 0; }; f.prototype.get = function () { - var u, - t, + var t, + u, w, v, x, y; - u = this.DUa(); - t = u.default; - w = this.gx.get(); - v = this.Ww.get(); + t = this.CUa(); + u = t.default; + w = this.lx.get(); + v = this.ax.get(); x = this.I; - if (u.y2a) { - y = u.y2a; - t = k.xa(t.Ea) && k.xa(y.Ea) && t.Ea > y.Ea && 0 < y.Ea ? y : t; - } - u.confidence = this.pj; - u.Oa = t; - !x.aia || !t || k.ob(t.Ea) || isNaN(t.Ea) || !u.cO || k.ob(u.cO.Ea) || isNaN(u.cO.Ea) || ("max" === x.Z6a ? u.Oa.Ea = Math.max(u.cO.Ea, t.Ea) : "sum" === x.Z6a && (u.Oa.Ea += u.cO.Ea)); - u.Vi = w; - u.Qs = v; - this.I.XQa && (t = this.I.R4a, u.X7b = this.Qo.$Ub.get(t.fillS, t.fillHl)); - t = this.m0 + !k.ob(this.gf) ? (k.ob(this.Ac) ? l.time.aa() : this.Ac) - this.gf : 0; - u.time = t; - return u; + if (t.y2a) { + y = t.y2a; + u = k.ya(u.Fa) && k.ya(y.Fa) && u.Fa > y.Fa && 0 < y.Fa ? y : u; + } + t.confidence = this.mj; + t.Oa = u; + !x.Uha || !u || k.tb(u.Fa) || isNaN(u.Fa) || !t.bO || k.tb(t.bO.Fa) || isNaN(t.bO.Fa) || ("max" === x.b7a ? t.Oa.Fa = Math.max(t.bO.Fa, u.Fa) : "sum" === x.b7a && (t.Oa.Fa += t.bO.Fa)); + t.Ti = w; + t.Vs = v; + this.I.WQa && (u = this.I.T4a, t.o8b = this.Ro.bVb.get(u.fillS, u.fillHl)); + u = this.o0 + !k.tb(this.gf) ? (k.tb(this.Cc) ? l.time.ba() : this.Cc) - this.gf : 0; + t.time = u; + return t; }; - f.prototype.JBb = function () { - var u, - t, + f.prototype.LBb = function () { + var t, + u, w; - u = {}; - t = this.get(!0); - if (t.confidence && t.Oa) { - u.aseavtp = Number(t.Oa.Ea).toFixed(2); - u.asevartp = Number(t.Oa.vi).toFixed(2); - if (t.Rs) { - w = t.Rs.q6; - !w || isNaN(w.il) || isNaN(w.gl) || isNaN(w.Jj) || (u.aseniqr = 0 < w.Jj ? Number((w.il - w.gl) / w.Jj).toFixed(2) : -1, u.aseiqr = Number(w.il - w.gl).toFixed(2), u.asemedtp = Number(w.Jj).toFixed(2)); - u.iqrsamples = t.Rs.sampleSize; + t = {}; + u = this.get(!0); + if (u.confidence && u.Oa) { + t.aseavtp = Number(u.Oa.Fa).toFixed(2); + t.asevartp = Number(u.Oa.vi).toFixed(2); + if (u.Ws) { + w = u.Ws.p6; + !w || isNaN(w.il) || isNaN(w.gl) || isNaN(w.Ij) || (t.aseniqr = 0 < w.Ij ? Number((w.il - w.gl) / w.Ij).toFixed(2) : -1, t.aseiqr = Number(w.il - w.gl).toFixed(2), t.asemedtp = Number(w.Ij).toFixed(2)); + t.iqrsamples = u.Ws.sampleSize; } - t.Sj && t.Sj.my && (u.tdigest = t.Sj.my()); + u.Sj && u.Sj.qy && (t.tdigest = u.Sj.qy()); } - return u; + return t; }; - f.prototype.WM = function (u, t) { + f.prototype.WM = function (t, u) { var w; - w = t.requestId; - 1 === ++this.UD && (this.emit("active", u), this.start(u)); + w = u.requestId; + 1 === ++this.XD && (this.emit("active", t), this.start(t)); w && this.WP.push(w); - this.nQ.WM(u, t); - this.VP.WM(u, t); - }; - f.prototype.$V = function (u, t, w) { - t = w.requestId; - --this.UD; - this.I.Y1a && (this.UD = Math.max(this.UD, 0)); - 0 === this.UD && (this.stop(u), this.emit("inactive", u)); - t && (t = this.WP.indexOf(t), 0 <= t && this.WP.splice(t, 1)); - this.nQ.$V(u, w); - this.VP.$V(u, w); - }; - q.exports = f; - }, function (q, b, a) { + this.oQ.WM(t, u); + this.VP.WM(t, u); + }; + f.prototype.ZV = function (t, u, w) { + u = w.requestId; + --this.XD; + this.I.X1a && (this.XD = Math.max(this.XD, 0)); + 0 === this.XD && (this.stop(t), this.emit("inactive", t)); + u && (u = this.WP.indexOf(u), 0 <= u && this.WP.splice(u, 1)); + this.oQ.ZV(t, w); + this.VP.ZV(t, w); + }; + r.exports = f; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -27686,68 +27694,68 @@ a000.D9b = function () { if (!k) throw new f(l || "Assertion failed"); }; - }, function (q) { + }, function (r) { var c, f; function b() { var k, l; - if (DataView.prototype && DataView.prototype.Js && !f) { + if (DataView.prototype && DataView.prototype.Ps && !f) { try { k = new ArrayBuffer(4); l = new DataView(k); - l.wp(0, 4, 1); + l.yp(0, 4, 1); } catch (d) { return; } try { k = new ArrayBuffer(4); l = new DataView(k); - l.wp(1, 2, 2); + l.yp(1, 2, 2); } catch (d) { - DataView.prototype.wp = a(DataView.prototype.wp, DataView.prototype.getUint8, Uint8Array); - DataView.prototype.qy = a(DataView.prototype.qy, DataView.prototype.getUint16, Uint16Array); - DataView.prototype.Js = a(DataView.prototype.Js, DataView.prototype.getUint32, Uint32Array); - DataView.prototype.xF = a(DataView.prototype.xF, DataView.prototype.getInt8, Int8Array); - DataView.prototype.vF = a(DataView.prototype.vF, DataView.prototype.getInt16, Int16Array); - DataView.prototype.wF = a(DataView.prototype.wF, DataView.prototype.getInt32, Int32Array); - } - c.Hka = function (d, g, h, m, n) { - return h ? d.wp(g, h, m || 1, n) : new Uint8Array(0); + DataView.prototype.yp = a(DataView.prototype.yp, DataView.prototype.getUint8, Uint8Array); + DataView.prototype.sy = a(DataView.prototype.sy, DataView.prototype.getUint16, Uint16Array); + DataView.prototype.Ps = a(DataView.prototype.Ps, DataView.prototype.getUint32, Uint32Array); + DataView.prototype.BF = a(DataView.prototype.BF, DataView.prototype.getInt8, Int8Array); + DataView.prototype.zF = a(DataView.prototype.zF, DataView.prototype.getInt16, Int16Array); + DataView.prototype.AF = a(DataView.prototype.AF, DataView.prototype.getInt32, Int32Array); + } + c.Eka = function (d, g, h, m, n) { + return h ? d.yp(g, h, m || 1, n) : new Uint8Array(0); }; - c.Fka = function (d, g, h, m, n) { - return h ? d.qy(g, h, m || 2, n) : new Uint16Array(0); + c.Cka = function (d, g, h, m, n) { + return h ? d.sy(g, h, m || 2, n) : new Uint16Array(0); }; - c.Gka = function (d, g, h, m, n) { - return h ? d.Js(g, h, m || 4, n) : new Uint32Array(0); + c.Dka = function (d, g, h, m, n) { + return h ? d.Ps(g, h, m || 4, n) : new Uint32Array(0); }; - c.Uzb = function (d, g, h, m, n) { - return h ? d.xF(g, h, m || 1, n) : new Int8Array(0); + c.Yzb = function (d, g, h, m, n) { + return h ? d.BF(g, h, m || 1, n) : new Int8Array(0); }; - c.Szb = function (d, g, h, m, n) { - return h ? d.vF(g, h, m || 2, n) : new Int16Array(0); + c.Wzb = function (d, g, h, m, n) { + return h ? d.zF(g, h, m || 2, n) : new Int16Array(0); }; - c.Tzb = function (d, g, h, m, n) { - return h ? d.wF(g, h, m || 4, n) : new Int32Array(0); + c.Xzb = function (d, g, h, m, n) { + return h ? d.AF(g, h, m || 4, n) : new Int32Array(0); }; f = !0; } } function a(k, l, d) { return function (g, h, m, n) { - var r; + var q; m = m || d.BYTES_PER_ELEMENT; if (g + h * m > this.byteLength) { - r = new d(h); - r.set(k.call(this, g, h - 1, m, n)); - r[h - 1] = l.call(this, g + (h - 1 * m), n); - return r; + q = new d(h); + q.set(k.call(this, g, h - 1, m, n)); + q[h - 1] = l.call(this, g + (h - 1 * m), n); + return q; } return k.call(this, g, h, m, n); }; } c = { - wp: function (k, l, d, g, h) { + yp: function (k, l, d, g, h) { var m; m = new Uint8Array(d); g = g || 1; @@ -27756,7 +27764,7 @@ a000.D9b = function () { } return m; }, - qy: function (k, l, d, g, h) { + sy: function (k, l, d, g, h) { var m; m = new Uint16Array(d); g = g || 2; @@ -27765,7 +27773,7 @@ a000.D9b = function () { } return m; }, - Js: function (k, l, d, g, h) { + Ps: function (k, l, d, g, h) { var m; m = new Uint32Array(d); g = g || 4; @@ -27774,7 +27782,7 @@ a000.D9b = function () { } return m; }, - xF: function (k, l, d, g, h) { + BF: function (k, l, d, g, h) { var m; m = new Int8Array(d); g = g || 1; @@ -27783,7 +27791,7 @@ a000.D9b = function () { } return m; }, - vF: function (k, l, d, g, h) { + zF: function (k, l, d, g, h) { var m; m = new Int16Array(d); g = g || 2; @@ -27792,7 +27800,7 @@ a000.D9b = function () { } return m; }, - wF: function (k, l, d, g, h) { + AF: function (k, l, d, g, h) { var m; m = new Int32Array(d); g = g || 4; @@ -27801,35 +27809,35 @@ a000.D9b = function () { } return m; }, - hwb: b + nwb: b }; f = !1; - c.Eja = function () { + c.xja = function () { return f; }; b(); - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - f = a(232); - q = (function () { + f = a(233); + r = (function () { function k(l, d, g) { this.tag = l; this.view = d; this.u = g; this.startOffset = g.offset; } - k.MV = function (l, d) { + k.LV = function (l, d) { var g, h; g = l.cb(); - h = l.qqa(); - l = new(f.fp[g] || k)(g, l.Cja(h), l); + h = l.kqa(); + l = new(f.gp[g] || k)(g, l.vja(h), l); l.parse(d); return l; }; @@ -27844,34 +27852,34 @@ a000.D9b = function () { }); k.prototype.parse = function () { this.u.offset = this.startOffset + this.length; - this.u.Nm = 0; + this.u.Mm = 0; return !0; }; - k.prototype.SS = function (l) { + k.prototype.RS = function (l) { var d; d = []; this.tag === l && d.push(this); - if (this.fp) - for (var g = 0; g < this.fp.length; g++) { - d = c.__spreadArrays(d, this.fp[g].SS(l)); + if (this.gp) + for (var g = 0; g < this.gp.length; g++) { + d = c.__spreadArrays(d, this.gp[g].RS(l)); } return d; }; k.prototype.$k = function (l) { - for (l = this.SS(l); 0 < l.length; ) { + for (l = this.RS(l); 0 < l.length; ) { return l[0]; } }; - k.prototype.NQ = function () { - for (this.fp = []; this.u.offset < this.startOffset + this.length; ) { - this.fp.push(k.MV(this.u, this)); + k.prototype.OQ = function () { + for (this.gp = []; this.u.offset < this.startOffset + this.length; ) { + this.gp.push(k.LV(this.u, this)); } }; return k; })(); - b.eD = q; - q.prototype.skip = q.prototype.parse; - }, function (q, b, a) { + b.gD = r; + r.prototype.skip = r.prototype.parse; + }, function (r, b, a) { var c, f, k, @@ -27881,165 +27889,165 @@ a000.D9b = function () { value: !0 } }); - b.cq = void 0; + b.gq = void 0; c = a(2); f = c.__importDefault(a(27)); - k = c.__importDefault(a(4)); - l = a(841); - q = (function () { + k = c.__importDefault(a(5)); + l = a(843); + r = (function () { function d(g) { - this.FI = g; - this.Fg = []; + this.JI = g; + this.Dg = []; this.console = new k.default.Console("ASEJS_DOWNLOAD_TRACK_POOL", "media|asejs"); } Object.defineProperties(d, { instance: { get: function () { var g; - if (void 0 === d.jJ) { - g = a(4).default; - d.jJ = new d(g.PH); + if (void 0 === d.lJ) { + g = a(5).default; + d.lJ = new d(g.XH); } - return d.jJ; + return d.lJ; }, enumerable: !1, configurable: !0 } }); d.reset = function () { - d.jJ = void 0; + d.lJ = void 0; }; - d.prototype.nB = function (g, h, m, n, r, p) { - var u, - t, + d.prototype.oB = function (g, h, m, n, q, p) { + var t, + u, w, v; - u = !1; - t = p.GSb ? this.Uwb(m, h, g, p.HSb) : -1; - if (-1 === t) { + t = !1; + u = p.KSb ? this.$wb(m, h, g, p.LSb) : -1; + if (-1 === u) { w = { - track: this.Irb(m, n, g, r, p), - Hv: m, + track: this.Jrb(m, n, g, q, p), + Nv: m, K: h, V0a: g, LM: [], - Hn: !1, - rK: !1 + In: !1, + vK: !1 }; - this.Fg.push(w); + this.Dg.push(w); v = function () { - w.Hn = !0; + w.In = !0; w.track.removeListener("created", v); }; w.track.on("created", v); - u = !1; - } else (u = !0, w = this.Fg[t]); - g = new l.JFa(this.console, w.track, w.Hn, u); + t = !1; + } else (t = !0, w = this.Dg[u]); + g = new l.GFa(this.console, w.track, w.In, t); w.LM.push(g); return g; }; - d.prototype.oS = function (g) { + d.prototype.nS = function (g) { var h, m; - g.gp(); - h = this.x2(function (n) { + g.hp(); + h = this.y2(function (n) { return n.track === g.track; }); if (-1 !== h) { - if ((h = this.Fg[h], 1 === h.LM.length)) - (h.track.gp(), h.rK = !0); + if ((h = this.Dg[h], 1 === h.LM.length)) + (h.track.hp(), h.vK = !0); else { m = h.LM.indexOf(g); 0 <= m && h.LM.splice(m, 1); } } else - g.track.gp(); + g.track.hp(); }; - d.prototype.Of = function () { - this.FI.Of(); + d.prototype.Pf = function () { + this.JI.Pf(); }; - d.prototype.Irb = function (g, h, m, n, r) { + d.prototype.Jrb = function (g, h, m, n, q) { var p, - u, - t; + t, + u; p = this; - u = !1; - g ? 1 === m ? (g = !1, h = 1, r.Fp ? (g = !0, h = r.QL) : r.uv && 2 < r.uv && (g = !0, h = r.uv), g = { - type: this.FI.Hb, + t = !1; + g ? 1 === m ? (g = !1, h = 1, q.Hp ? (g = !0, h = q.SL) : q.Av && 2 < q.Av && (g = !0, h = q.Av), g = { + type: this.JI.Bb, openRange: !g, pipeline: g, connections: h, - socketBufferSize: r.WN, - minRequestSize: r.ZL - }) : 0 === m ? (u = r.Fp && (r.lXb || h && r.mXb), g = { - type: this.FI.Tb, - openRange: !u, - pipeline: u, + socketBufferSize: q.WN, + minRequestSize: q.aM + }) : 0 === m ? (t = q.Hp && (q.nXb || h && q.oXb), g = { + type: this.JI.Ob, + openRange: !t, + pipeline: t, connections: 1, - socketBufferSize: r.J0, - minRequestSize: r.ZL + socketBufferSize: q.L0, + minRequestSize: q.aM }) : g = { - type: r.aub ? this.FI.Hb : this.FI.O$a, + type: q.dub ? this.JI.Bb : this.JI.R$a, openRange: !1, pipeline: !0, connections: 1, - socketBufferSize: r.ala, - minRequestSize: r.ZL + socketBufferSize: q.Wka, + minRequestSize: q.aM } : g = { - type: 0 === m ? f.default.Za.Tb : f.default.Za.Hb, + type: 0 === m ? f.default.Ra.Ob : f.default.Ra.Bb, openRange: !1, pipeline: !1, connections: 1, - socketBufferSize: 0 === m ? r.J0 : r.WN, - minRequestSize: r.ZL + socketBufferSize: 0 === m ? q.L0 : q.WN, + minRequestSize: q.aM }; - t = new this.FI(g, n); - t.on("transportreport", function (w) { + u = new this.JI(g, n); + u.on("transportreport", function (w) { var v; - v = p.x2(function (x) { - return x.track === t; + v = p.y2(function (x) { + return x.track === u; }); - -1 !== v && (v = p.Fg[v], v.LM.length && v.LM[0].emit("transportreport", w)); + -1 !== v && (v = p.Dg[v], v.LM.length && v.LM[0].emit("transportreport", w)); }); - t.on("destroyed", function () { + u.on("destroyed", function () { var w; - w = p.x2(function (v) { - return v.track === t; + w = p.y2(function (v) { + return v.track === u; }); - -1 !== w && p.Fg.splice(w, 1); - t.removeAllListeners(); + -1 !== w && p.Dg.splice(w, 1); + u.removeAllListeners(); }); - if (u && r.kXb || r.r6a) - t.on("pipelinedisabled", function () { - r.r6a && 1 === t.config.type ? t.S6(c.__assign(c.__assign({}, t.config), { - socketBufferSize: r.$Ib, + if (t && q.mXb || q.u6a) + u.on("pipelinedisabled", function () { + q.u6a && 1 === u.config.type ? u.P6(c.__assign(c.__assign({}, u.config), { + socketBufferSize: q.bJb, pipeline: !1, openRange: !0, connections: 1 - })) : t.S6(c.__assign(c.__assign({}, t.config), { + })) : u.P6(c.__assign(c.__assign({}, u.config), { pipeline: !1, openRange: !0 })); }); - return t; + return u; }; - d.prototype.Uwb = function (g, h, m, n) { - return this.x2(function (r) { - return !r.rK && (!n && r.track.config.O6b || !g ? !r.Hv && r.V0a === m : r.Hv && r.K === h && r.V0a === m); + d.prototype.$wb = function (g, h, m, n) { + return this.y2(function (q) { + return !q.vK && (!n && q.track.config.Z6b || !g ? !q.Nv && q.V0a === m : q.Nv && q.K === h && q.V0a === m); }); }; - d.prototype.x2 = function (g) { - for (var h = 0; h < this.Fg.length; ++h) { - if (g(this.Fg[h])) + d.prototype.y2 = function (g) { + for (var h = 0; h < this.Dg.length; ++h) { + if (g(this.Dg[h])) return h; } return -1; }; return d; })(); - b.cq = q; - }, function (q, b, a) { + b.gq = r; + }, function (r, b, a) { var c, f, k, @@ -28049,12 +28057,12 @@ a000.D9b = function () { value: !0 } }); - b.mj = b.oba = void 0; + b.jj = b.iba = void 0; c = a(22); (function (d) { d[d.absolute = 0] = "absolute"; d[d.v1a = 1] = "relative"; - })(f = b.oba || (b.oba = {})); + })(f = b.iba || (b.iba = {})); l = (function () { function d(g, h) { this.type = g; @@ -28075,13 +28083,13 @@ a000.D9b = function () { }); return d; })(); - q = (function () { + r = (function () { function d() {} d.YN = function (g) { return new l(f.absolute, g); }; Object.defineProperties(d, { - dYb: { + fYb: { get: function () { return l.hb; }, @@ -28089,29 +28097,29 @@ a000.D9b = function () { configurable: !0 } }); - d.VC = function (g) { + d.XC = function (g) { return new l(f.v1a, g); }; - d.gua = new l(f.absolute, c.S.PB); + d.dua = new l(f.absolute, c.S.RB); return d; })(); - b.mj = q; - }, function (q, b, a) { + b.jj = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.uHb = b.K_a = b.TLb = b.SSa = b.bMb = b.WC = b.U8 = b.Fr = b.eO = b.dO = b.Vj = void 0; + b.xHb = b.I_a = b.WLb = b.SSa = b.dMb = b.YC = b.O8 = b.Ir = b.dO = b.cO = b.Vj = void 0; c = a(24); f = a(21); b.Vj = "$attributes"; - b.dO = "$children"; - b.eO = "$name"; - b.Fr = "$text"; - b.U8 = "$parent"; - b.WC = "$sibling"; - b.bMb = /^\s*<\?xml.*\?>/i; + b.cO = "$children"; + b.dO = "$name"; + b.Ir = "$text"; + b.O8 = "$parent"; + b.YC = "$sibling"; + b.dMb = /^\s*<\?xml.*\?>/i; b.SSa = function (k, l, d) { for (var g = 2; g < arguments.length; ++g) { ; } @@ -28119,26 +28127,26 @@ a000.D9b = function () { } return k; }; - b.TLb = function (k, l) { + b.WLb = function (k, l) { var d; - k ? d = c.pe(k[b.Fr]) : void 0 !== l && (d = l); - f.jS(d); + k ? d = c.se(k[b.Ir]) : void 0 !== l && (d = l); + f.iS(d); return d; }; - b.K_a = function (k, l) { + b.I_a = function (k, l) { var d; - k ? d = k[b.Fr] : void 0 !== l && (d = l); - f.DPa(d); + k ? d = k[b.Ir] : void 0 !== l && (d = l); + f.CPa(d); return d; }; - b.uHb = function (k, l) { + b.xHb = function (k, l) { var d; d = {}; d[b.Vj] = k; - d[b.Fr] = l; + d[b.Ir] = l; return d; }; - }, function (q) { + }, function (r) { function b(l, d) { return l.some(function (g) { return g.id === d; @@ -28156,8 +28164,8 @@ a000.D9b = function () { function k(l, d) { return l + d; } - q.exports = { - epb: function (l, d, g) { + r.exports = { + fpb: function (l, d, g) { for (var h = 0; h < l.length; h++) { if (l[h] !== d[h]) return (g.error("indexId mismatch in sidx", { @@ -28167,35 +28175,35 @@ a000.D9b = function () { } return !0; }, - Tga: function (l, d, g) { + Nga: function (l, d, g) { var h; h = {}; h.displayTime = l.displayTime; h.duration = l.duration; - h.originX = l.qLb; - h.originY = l.rLb; - h.sizeX = l.lTb; - h.sizeY = l.mTb; + h.originX = l.sLb; + h.originY = l.tLb; + h.sizeX = l.oTb; + h.sizeY = l.pTb; h.imageData = d; - h.id = l.IF; - h.rootContainerExtentX = g.FQb; - h.rootContainerExtentY = g.GQb; + h.id = l.NF; + h.rootContainerExtentX = g.KQb; + h.rootContainerExtentY = g.LQb; return h; }, - Gja: function (l, d) { + zja: function (l, d) { return "o_" + l + "s_" + d; }, - CXb: function (l, d) { + EXb: function (l, d) { d("P" === String.fromCharCode(l[1])); d("N" === String.fromCharCode(l[2])); d("G" === String.fromCharCode(l[3])); }, - Hc: function (l) { + Jc: function (l) { return "undefined" !== typeof l; }, - t7b: b, - q4b: a, - pT: function (l, d) { + G7b: b, + v4b: a, + nT: function (l, d) { var g, h; g = Object.create({}); @@ -28210,19 +28218,19 @@ a000.D9b = function () { if (!l) throw (d && d.error(Error("Assertion Failed").stack), Error("Assertion Failed")); }, - xVa: function (l) { + vVa: function (l) { return l && 0 < l.entries.length && 0 === l.images.length; }, - oUb: function (l, d) { + qUb: function (l, d) { for (var g = d.entries.length, h, m = 0; m < g; m++) { if ((h = d.entries[m], h.displayTime <= l && h.displayTime + h.duration >= l)) return !0; } return !1; }, - pUb: function (l, d, g) { - for (var h = g.entries.length, m, n, r = 0; r < h; r++) { - m = g.entries[r]; + rUb: function (l, d, g) { + for (var h = g.entries.length, m, n, q = 0; q < h; q++) { + m = g.entries[q]; n = m.displayTime; m = n + m.duration; if (d < n) @@ -28232,7 +28240,7 @@ a000.D9b = function () { } return !1; }, - IOa: function (l) { + HOa: function (l) { return l.map(function (d, g) { d.duration += a(l.slice(g + 1), d); return d; @@ -28241,33 +28249,33 @@ a000.D9b = function () { return d; }, []); }, - tka: function (l) { + pka: function (l) { return l.reduce(function (d, g) { return d + g.entries.reduce(function (h, m) { - return m.rla + h; + return m.mla + h; }, 0); }, 0); }, - qub: function (l, d) { - return l && l.Ov <= d && l.Jp >= d; + vub: function (l, d) { + return l && l.Tv <= d && l.Mp >= d; }, - Bzb: function (l) { + Fzb: function (l) { if (l) return l.endTime; }, - cAb: function (l) { + gAb: function (l) { try { return String.fromCharCode.apply(String, l); } catch (d) {} return ""; } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.sI = "PlaygraphConfigSymbol"; - }, function (q, b, a) { + b.yI = "PlaygraphConfigSymbol"; + }, function (r, b, a) { var c, f, k, @@ -28283,51 +28291,51 @@ a000.D9b = function () { b.ei = void 0; c = a(12); f = a(13); - q = a(3); + r = a(3); k = a(21); l = a(7); - d = a(443); + d = a(447); g = a(11); h = a(32); m = a(34); - n = l.ha.get(h.Zg); - n.register(q.L.B$, function (r) { + n = l.ha.get(h.Xg); + n.register(r.M.t$, function (q) { var p, - u, t, + u, w; p = l.ha.get(m.Kk); k.gb(f.config); - k.gb(g.iA && g.iA.getDeviceId || g.UY || p.SK); - u = l.ha.get(d.mxa); - t = l.ii("Device"); - n.Od("devs"); - w = l.ha.get(m.kA); - u.create({ + k.gb(g.jA && g.jA.getDeviceId || g.TY || p.WK); + t = l.ha.get(d.jxa); + u = l.ii("Device"); + n.Md("devs"); + w = l.ha.get(m.lA); + t.create({ deviceId: f.config.deviceId, - SK: p.SK, - YPa: "deviceid", + WK: p.WK, + WPa: "deviceid", gi: f.config.gi, - Kn: w.sY, - qS: p.qS, - userAgent: g.jA, - Wma: f.config.Wma, - Dja: f.config.Dja, - Ttb: w.O9 || !1, - dmb: f.config.LMa.e, - w6b: f.config.Zu ? "mslstoretest" : "mslstore" + Ln: w.rY, + pS: p.pS, + userAgent: g.kA, + Qma: f.config.Qma, + wja: f.config.wja, + Wtb: w.J9 || !1, + dmb: f.config.MMa.e, + G6b: f.config.dv ? "mslstoretest" : "mslstore" }).then(function (v) { b.ei = v; pb._cad_global.device = b.ei; - t.info("Esn source: " + b.ei.nia); - n.Od("devdone"); - r(c.Ee); + u.info("Esn source: " + b.ei.gia); + n.Md("devdone"); + q(c.Ge); }).catch(function (v) { - v.X = void 0; - r(v); + v.W = void 0; + q(v); }); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -28345,68 +28353,68 @@ a000.D9b = function () { if (!k) throw new f(l || "Assertion failed"); }; - }, function (q) { + }, function (r) { var c, f; function b() { var k, l; - if (DataView.prototype && DataView.prototype.Js && !f) { + if (DataView.prototype && DataView.prototype.Ps && !f) { try { k = new ArrayBuffer(4); l = new DataView(k); - l.wp(0, 4, 1); + l.yp(0, 4, 1); } catch (d) { return; } try { k = new ArrayBuffer(4); l = new DataView(k); - l.wp(1, 2, 2); + l.yp(1, 2, 2); } catch (d) { - DataView.prototype.wp = a(DataView.prototype.wp, DataView.prototype.getUint8, Uint8Array); - DataView.prototype.qy = a(DataView.prototype.qy, DataView.prototype.getUint16, Uint16Array); - DataView.prototype.Js = a(DataView.prototype.Js, DataView.prototype.getUint32, Uint32Array); - DataView.prototype.xF = a(DataView.prototype.xF, DataView.prototype.getInt8, Int8Array); - DataView.prototype.vF = a(DataView.prototype.vF, DataView.prototype.getInt16, Int16Array); - DataView.prototype.wF = a(DataView.prototype.wF, DataView.prototype.getInt32, Int32Array); - } - c.Hka = function (d, g, h, m, n) { - return h ? d.wp(g, h, m || 1, n) : new Uint8Array(0); + DataView.prototype.yp = a(DataView.prototype.yp, DataView.prototype.getUint8, Uint8Array); + DataView.prototype.sy = a(DataView.prototype.sy, DataView.prototype.getUint16, Uint16Array); + DataView.prototype.Ps = a(DataView.prototype.Ps, DataView.prototype.getUint32, Uint32Array); + DataView.prototype.BF = a(DataView.prototype.BF, DataView.prototype.getInt8, Int8Array); + DataView.prototype.zF = a(DataView.prototype.zF, DataView.prototype.getInt16, Int16Array); + DataView.prototype.AF = a(DataView.prototype.AF, DataView.prototype.getInt32, Int32Array); + } + c.Eka = function (d, g, h, m, n) { + return h ? d.yp(g, h, m || 1, n) : new Uint8Array(0); }; - c.Fka = function (d, g, h, m, n) { - return h ? d.qy(g, h, m || 2, n) : new Uint16Array(0); + c.Cka = function (d, g, h, m, n) { + return h ? d.sy(g, h, m || 2, n) : new Uint16Array(0); }; - c.Gka = function (d, g, h, m, n) { - return h ? d.Js(g, h, m || 4, n) : new Uint32Array(0); + c.Dka = function (d, g, h, m, n) { + return h ? d.Ps(g, h, m || 4, n) : new Uint32Array(0); }; - c.Uzb = function (d, g, h, m, n) { - return h ? d.xF(g, h, m || 1, n) : new Int8Array(0); + c.Yzb = function (d, g, h, m, n) { + return h ? d.BF(g, h, m || 1, n) : new Int8Array(0); }; - c.Szb = function (d, g, h, m, n) { - return h ? d.vF(g, h, m || 2, n) : new Int16Array(0); + c.Wzb = function (d, g, h, m, n) { + return h ? d.zF(g, h, m || 2, n) : new Int16Array(0); }; - c.Tzb = function (d, g, h, m, n) { - return h ? d.wF(g, h, m || 4, n) : new Int32Array(0); + c.Xzb = function (d, g, h, m, n) { + return h ? d.AF(g, h, m || 4, n) : new Int32Array(0); }; f = !0; } } function a(k, l, d) { return function (g, h, m, n) { - var r; + var q; m = m || d.BYTES_PER_ELEMENT; if (g + h * m > this.byteLength) { - r = new d(h); - r.set(k.call(this, g, h - 1, m, n)); - r[h - 1] = l.call(this, g + (h - 1 * m), n); - return r; + q = new d(h); + q.set(k.call(this, g, h - 1, m, n)); + q[h - 1] = l.call(this, g + (h - 1 * m), n); + return q; } return k.call(this, g, h, m, n); }; } c = { - wp: function (k, l, d, g, h) { + yp: function (k, l, d, g, h) { var m; m = new Uint8Array(d); g = g || 1; @@ -28415,7 +28423,7 @@ a000.D9b = function () { } return m; }, - qy: function (k, l, d, g, h) { + sy: function (k, l, d, g, h) { var m; m = new Uint16Array(d); g = g || 2; @@ -28424,7 +28432,7 @@ a000.D9b = function () { } return m; }, - Js: function (k, l, d, g, h) { + Ps: function (k, l, d, g, h) { var m; m = new Uint32Array(d); g = g || 4; @@ -28433,7 +28441,7 @@ a000.D9b = function () { } return m; }, - xF: function (k, l, d, g, h) { + BF: function (k, l, d, g, h) { var m; m = new Int8Array(d); g = g || 1; @@ -28442,7 +28450,7 @@ a000.D9b = function () { } return m; }, - vF: function (k, l, d, g, h) { + zF: function (k, l, d, g, h) { var m; m = new Int16Array(d); g = g || 2; @@ -28451,7 +28459,7 @@ a000.D9b = function () { } return m; }, - wF: function (k, l, d, g, h) { + AF: function (k, l, d, g, h) { var m; m = new Int32Array(d); g = g || 4; @@ -28460,35 +28468,35 @@ a000.D9b = function () { } return m; }, - hwb: b + nwb: b }; f = !1; - c.Eja = function () { + c.xja = function () { return f; }; b(); - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - f = a(284); - q = (function () { + f = a(285); + r = (function () { function k(l, d, g) { this.tag = l; this.view = d; this.u = g; this.startOffset = g.offset; } - k.MV = function (l, d) { + k.LV = function (l, d) { var g, h; g = l.cb(); - h = l.qqa(); - l = new(f.fp[g] || k)(g, l.Cja(h), l); + h = l.kqa(); + l = new(f.gp[g] || k)(g, l.vja(h), l); l.parse(d); return l; }; @@ -28503,117 +28511,117 @@ a000.D9b = function () { }); k.prototype.parse = function () { this.u.offset = this.startOffset + this.length; - this.u.Nm = 0; + this.u.Mm = 0; return !0; }; - k.prototype.SS = function (l) { + k.prototype.RS = function (l) { var d; d = []; this.tag === l && d.push(this); - if (this.fp) - for (var g = 0; g < this.fp.length; g++) { - d = c.__spreadArrays(d, this.fp[g].SS(l)); + if (this.gp) + for (var g = 0; g < this.gp.length; g++) { + d = c.__spreadArrays(d, this.gp[g].RS(l)); } return d; }; k.prototype.$k = function (l) { - for (l = this.SS(l); 0 < l.length; ) { + for (l = this.RS(l); 0 < l.length; ) { return l[0]; } }; - k.prototype.NQ = function () { - for (this.fp = []; this.u.offset < this.startOffset + this.length; ) { - this.fp.push(k.MV(this.u, this)); + k.prototype.OQ = function () { + for (this.gp = []; this.u.offset < this.startOffset + this.length; ) { + this.gp.push(k.LV(this.u, this)); } }; return k; })(); - b.eD = q; - q.prototype.skip = q.prototype.parse; - }, function (q, b, a) { + b.gD = r; + r.prototype.skip = r.prototype.parse; + }, function (r, b, a) { var f, k, l; function c(d, g, h, m, n) { g = l.Sh.call(this, d, g, m, k.Ai.events, n, k.Ai.events + "/" + h) || this; g.context = d; - g.Yvb = h; + g.dwb = h; return g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.aq = void 0; - q = a(1); + b.cq = void 0; + r = a(1); f = a(0); k = a(48); l = a(74); a(180); - ka(c, l.Sh); - c.prototype.Of = function (d, g) { + ja(c, l.Sh); + c.prototype.Pf = function (d, g) { var h, m; h = this; - m = this.U0(g); + m = this.W0(g); !1; !1; return this.send(d, g.href, m).then(function () { return g; }).catch(function (n) { - throw h.Im(n); + throw h.Gm(n); }); }; - c.prototype.np = function (d, g, h) { + c.prototype.op = function (d, g, h) { var m, n; m = this; - n = this.U0(h); + n = this.W0(h); !1; !1; - return this.send(d, g.rT("events").href, n).then(function (r) { - g.qea(r.result.links); + return this.send(d, g.pT("events").href, n).then(function (q) { + g.kea(q.result.links); return h; - }).catch(function (r) { - throw m.Im(r); + }).catch(function (q) { + throw m.Gm(q); }); }; - c.prototype.U0 = function (d) { + c.prototype.W0 = function (d) { return { - event: this.Yvb, - xid: d.ba, + event: this.dwb, + xid: d.ca, position: d.position || 0, - clientTime: d.RR, - sessionStartTime: d.mW, - mediaId: d.TL, + clientTime: d.SR, + sessionStartTime: d.lW, + mediaId: d.VL, trackId: d.trackId, sessionId: d.sessionId, appId: d.appId, - playTimes: this.dnb(d.vV), - sessionParams: d.jo, - mdxControllerEsn: d.Ina + playTimes: this.enb(d.uV), + sessionParams: d.ko, + mdxControllerEsn: d.Cna }; }; - c.prototype.Cfa = function (d) { + c.prototype.vfa = function (d) { return { - downloadableId: d.Dd, + downloadableId: d.Cd, duration: d.duration }; }; - c.prototype.dnb = function (d) { + c.prototype.enb = function (d) { var g; g = { total: d.total, - audio: d.audio.map(this.Cfa), - video: d.video.map(this.Cfa), - text: d.text.map(this.Cfa) + audio: d.audio.map(this.vfa), + video: d.video.map(this.vfa), + text: d.text.map(this.vfa) }; - d.total !== d.nH && (g.totalContentTime = d.nH); + d.total !== d.vH && (g.totalContentTime = d.vH); return g; }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.cj()), q.__param(1, f.cj()), q.__param(2, f.cj()), q.__param(3, f.cj()), q.__param(4, f.cj())], a); - b.aq = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.aj()), r.__param(1, f.aj()), r.__param(2, f.aj()), r.__param(3, f.aj()), r.__param(4, f.aj())], a); + b.cq = a; + }, function (r, b, a) { var f, k, l, @@ -28622,198 +28630,181 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, - y, - z, - B; - function c(A) { - var C, - E; - C = this; - this.createPlaygraphPlayer = function (F, D, G) { - var I, - J; - I = d.ha.get(y.kP); - G = G ? I.create(G) : void 0; - I = d.ha.get(w.Xaa); - J = aa(C.ZTa(x.odb.encode(F), D)); - D = J.next().value; - F = J.next().value; - J = J.next().value; - I = I.lPa(D, F); - I.addEpisode({ - movieId: F.$K().da, - playbackParams: J, - manifest: G - }); - return I; - }; - this.closeAllPlayers = function (F) { - l.Qaa(void 0 === F ? function () {} - : F); - }; - this.init = function (F) { - F = void 0 === F ? function () {} - : F; - C.PJ.pU(function (D) { - D.X ? (k.config.u7 ? C.wRb().then(function () { - f.dEa(); + y; + function c(z) { + var A, + B; + A = this; + this.createPlaygraphPlayer = function (C, E, G) { + var D; + C = w.rdb.encode(C); + D = d.ha.get(v.lP); + G = G ? D.create(G) : void 0; + D = d.ha.get(p.Paa).create(C); + return D.msb(C.Oe, A.LMa(E, D.V2()), G); + }; + this.closeAllPlayers = function (C) { + l.Jaa(void 0 === C ? function () {} + : C); + }; + this.init = function (C) { + C = void 0 === C ? function () {} + : C; + A.SJ.oU(function (E) { + E.W ? (k.config.q7 ? A.zRb().then(function () { + f.bEa(); }).catch(function (G) { d.log.error("Unable to initialize the playdata services", G); }) : Promise.resolve()).then(function () { - Object.assign(C, c.rR); - F(Object.assign({ + Object.assign(A, c.sR); + C(Object.assign({ success: !0 - }, c.rR)); - }) : F({ + }, c.sR)); + }) : C({ success: !1, - error: d.AEa(D.errorCode || h.L.xza, D) + error: d.yEa(E.errorCode || h.M.vza, E) }); }); }; - this.applyConfig = function (F) { - C.W5a(F); - k.xga(F); + this.applyConfig = function (C) { + A.Y5a(C); + k.rga(C); }; - this.prepare = function (F, D) { + this.prepare = function (C, E) { var G; - F = C.w0a.Itb(F) || []; + C = A.w0a.Ltb(C) || []; G = new Set(); - F = F.filter(function (I) { - var J; - J = G.has(I.K); - G.add(I.K); - return !J; + C = C.filter(function (D) { + var F; + F = G.has(D.K); + G.add(D.K); + return !F; }); - if (k.config.Iv && C.pd) + if (k.config.Ov && A.qd) try { - C.pd.EM(F, D); - } catch (I) { - d.log.warn("Prepare call failed", I); + A.qd.FM(C, E); + } catch (D) { + d.log.warn("Prepare call failed", D); } }; - this.ppmUpdate = function (F) { - pb._cad_global.playerPredictionModel ? (F = C.w0a.Ktb(F)) && pb._cad_global.playerPredictionModel.update(F) : d.log.error("ppmUpdate called but there is no ppmModel"); + this.ppmUpdate = function (C) { + pb._cad_global.playerPredictionModel ? (C = A.w0a.Ntb(C)) && pb._cad_global.playerPredictionModel.update(C) : d.log.error("ppmUpdate called but there is no ppmModel"); }; - this.supportsHdr = function (F) { - d.aL().IW().then(function (D) { - return F(D.result); + this.supportsHdr = function (C) { + d.dL().HW().then(function (E) { + return C(E.result); }).catch(function () { - return F(!1); + return C(!1); }); }; - this.supportsUltraHd = function (F) { - d.aL().JW().then(F).catch(function () { - return F(!1); + this.supportsUltraHd = function (C) { + d.dL().IW().then(C).catch(function () { + return C(!1); }); }; - this.supportsDolbyAtmos = function (F) { - d.aL().GW().then(F).catch(function () { - return F(!1); + this.supportsDolbyAtmos = function (C) { + d.dL().FW().then(C).catch(function () { + return C(!1); }); }; - this.supportsDolbyVision = function (F) { - d.aL().Y7().then(function (D) { - return F(D.result); + this.supportsDolbyVision = function (C) { + d.dL().U7().then(function (E) { + return C(E.result); }).catch(function () { - return F(!1); + return C(!1); }); }; this.close = function () {}; this.deviceThroughput = function () { - var F; - F = d.ha.get(n.ZY).Nga(); - return F ? Promise.resolve(F.Is()) : Promise.resolve(void 0); + var C; + C = d.ha.get(n.YY).Hga(); + return C ? Promise.resolve(C.Os()) : Promise.resolve(void 0); }; this.deviceThroughputNiqr = function () { - var F; - F = d.ha.get(n.ZY).Nga(); - return F ? Promise.resolve(F.BAb()) : Promise.resolve(void 0); + var C; + C = d.ha.get(n.YY).Hga(); + return C ? Promise.resolve(C.EAb()) : Promise.resolve(void 0); }; this.isSeamlessEnabled = function () { - return k.config.yvb; + return k.config.Cvb; }; - this.W5a(A); - d.ha.get(B.Kua); - this.w0a = d.ha.get(g.fEa); - this.PJ = d.ha.get(t.Zg); - E = d.ha.get(z.aEa).apply(); - k.FOa([A], E); - this.pd = d.ha.get(u.SD); - d.aL().JW(); + this.Y5a(z); + d.ha.get(y.Hua); + this.w0a = d.ha.get(g.dEa); + this.SJ = d.ha.get(u.Xg); + B = d.ha.get(x.ZDa).apply(); + k.EOa([z], B); + this.qd = d.ha.get(t.VD); + d.dL().IW(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.DI = void 0; - f = a(275); + b.II = void 0; + f = a(276); k = a(13); - l = a(62); + l = a(63); d = a(7); - g = a(472); + g = a(477); h = a(3); m = a(37); - n = a(262); - r = a(183); - p = a(519); - u = a(116); - t = a(32); - w = a(290); - v = a(20); - x = a(73); - y = a(143); - z = a(302); - B = a(451); - c.prototype.W5a = function (A) { - d.ha.get(m.gP).AIb(A); - }; - c.prototype.wRb = function () { - return d.ha.get(r.hZ)().catch(function (A) { - d.log.error("Unable to initialize the playdata services", A); - throw A; - }).then(function (A) { - return A.send(Infinity); - }).catch(function (A) { - d.log.error("Unable to send deferred playdata", A); + n = a(263); + q = a(183); + p = a(291); + t = a(116); + u = a(32); + w = a(67); + v = a(143); + x = a(304); + y = a(455); + c.prototype.LMa = function (z, A) { + var B, + C, + E, + G; + z = void 0 === z ? {} + : z; + G = null !== (C = null === (B = z.playbackState) || void 0 === B ? void 0 : B.currentTime) && void 0 !== C ? C : A.jc; + return Object.assign(Object.assign({ + startPts: G, + uiPlayStartTime: Date.now() + }, z), { + endPts: null !== (E = A.Fc) && void 0 !== E ? E : void 0, + isPlaygraph: !0 }); }; - c.prototype.ZTa = function (A, C) { - var E, - F, - D; - C = void 0 === C ? {} - : C; - F = d.ha.get(v.zd); - A = d.ha.get(p.KEa).create(A); - D = A.$K(); - F = F.Zb(); - C = Object.assign(Object.assign({ - startPts: C.playbackState && C.playbackState.currentTime || D.xc, - uiPlayStartTime: Date.now() - }, C), { - endPts: null !== (E = D.Yc) && void 0 !== E ? E : void 0, - isPlaygraph: !0 + c.prototype.Y5a = function (z) { + d.ha.get(m.hP).CIb(z); + }; + c.prototype.zRb = function () { + return d.ha.get(q.hZ)().catch(function (z) { + d.log.error("Unable to initialize the playdata services", z); + throw z; + }).then(function (z) { + return z.send(Infinity); + }).catch(function (z) { + d.log.error("Unable to send deferred playdata", z); }); - return [F, A, C]; }; - b.DI = c; - c.rR = {}; - }, function (q, b) { + b.II = c; + c.sR = {}; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Vz = "BrowserInfoSymbol"; - }, function (q, b) { + b.Xz = "BrowserInfoSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function a(c) { this.buffer = c; this.position = 0; @@ -28824,95 +28815,95 @@ a000.D9b = function () { a.prototype.skip = function (c) { this.position += c; }; - a.prototype.lka = function () { + a.prototype.hka = function () { return this.buffer.length - this.position; }; - a.prototype.hz = function () { + a.prototype.kz = function () { return this.buffer[this.position++]; }; - a.prototype.ph = function (c) { + a.prototype.oh = function (c) { var f; f = this.position; this.position += c; - return this.pFb(this.buffer) ? this.buffer.subarray(f, this.position) : this.buffer.slice(f, this.position); + return this.sFb(this.buffer) ? this.buffer.subarray(f, this.position) : this.buffer.slice(f, this.position); }; - a.prototype.pFb = function (c) { + a.prototype.sFb = function (c) { return void 0 !== c.subarray; }; - a.prototype.Kp = function (c) { + a.prototype.Np = function (c) { for (var f = 0; c--; ) { f = 256 * f + this.buffer[this.position++]; } return f; }; - a.prototype.oqa = function (c) { + a.prototype.iqa = function (c) { for (var f = ""; c--; ) { f += String.fromCharCode(this.buffer[this.position++]); } return f; }; - a.prototype.Vg = function () { - return this.Kp(2); + a.prototype.Tg = function () { + return this.Np(2); }; - a.prototype.Lp = function () { - return this.Kp(4); + a.prototype.Op = function () { + return this.Np(4); }; a.prototype.OM = function () { - return this.Kp(8); + return this.Np(8); }; - a.prototype.Pv = function (c) { + a.prototype.Uv = function (c) { for (var f, k = ""; c--; ) { - f = this.hz(); + f = this.kz(); k += ("0123456789ABCDEF")[f >>> 4] + ("0123456789ABCDEF")[f & 15]; } return k; }; - a.prototype.rqa = function (c) { + a.prototype.lqa = function (c) { for (var f = 0, k = 0; k < c; k++) { - f += this.hz() << (k << 3); + f += this.kz() << (k << 3); } return f; }; a.prototype.NM = function () { - return this.rqa(4); + return this.lqa(4); }; - a.prototype.CX = function (c) { - this.bO(c, 2); + a.prototype.BX = function (c) { + this.aO(c, 2); }; - a.prototype.Qz = function (c) { - this.bO(c, 4); + a.prototype.Sz = function (c) { + this.aO(c, 4); }; - a.prototype.T8 = function (c) { + a.prototype.N8 = function (c) { this.buffer[this.position++] = c; }; - a.prototype.bO = function (c, f) { + a.prototype.aO = function (c, f) { this.position += f; for (var k = 1; k <= f; k++) { this.buffer[this.position - k] = c & 255; c = Math.floor(c / 256); } }; - a.prototype.Pz = function (c) { + a.prototype.Rz = function (c) { for (var f = 0; f < c.length; f++) { this.buffer[this.position++] = c.charCodeAt(f); } }; - a.prototype.BX = function (c) { + a.prototype.AX = function (c) { for (var f = c.length, k = 0; k < f; k++) { this.buffer[this.position++] = c[k]; } }; - a.prototype.aO = function (c, f) { - this.BX(c.ph(f)); + a.prototype.$N = function (c, f) { + this.AX(c.oh(f)); }; - a.prototype.Y6a = function (c) { + a.prototype.a7a = function (c) { c = new a(c); for (var f, k; ; ) { - if ((f = c.lka(), k = f >>> 14)) - (k = Math.min(4, k), this.T8(192 | k), this.aO(c, 16384 * k)); + if ((f = c.hka(), k = f >>> 14)) + (k = Math.min(4, k), this.N8(192 | k), this.$N(c, 16384 * k)); else { - 128 > f ? this.T8(f) : this.bO(f | 32768, 2); - this.aO(c, f); + 128 > f ? this.N8(f) : this.aO(f | 32768, 2); + this.$N(c, f); break; } } @@ -28920,80 +28911,75 @@ a000.D9b = function () { a.prototype.Z0a = function () { var k; for (var c = [], f = new a(c); ; ) { - k = this.hz(); + k = this.kz(); if (k & 128) { if (128 == (k & 192)) - (k &= 63, k = (k << 8) + this.hz(), f.aO(this, k)); + (k &= 63, k = (k << 8) + this.kz(), f.$N(this, k)); else if ((k &= 63, 0 < k && 4 >= k)) { - f.aO(this, 16384 * k); + f.$N(this, 16384 * k); continue; } else throw Error("bad asn1"); } else - f.aO(this, k); + f.$N(this, k); break; } return new Uint8Array(c); }; return a; })(); - b.AO = q; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.VX = "CannedChallengeProvider"; - }, function (q, b) { + b.AO = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.BFa = "ReportSyncSymbol"; - b.zFa = "ReportApiErrorSyncSymbol"; - b.Hya = "FtlProbeConfigSymbol"; - b.Jya = "FtlProbeSymbol"; - }, function (q, b) { + b.UX = "CannedChallengeProvider"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.QP = "TimeoutMonitorFactorySymbol"; - }, function (q, b, a) { + b.yFa = "ReportSyncSymbol"; + b.wFa = "ReportApiErrorSyncSymbol"; + b.Fya = "FtlProbeConfigSymbol"; + b.Hya = "FtlProbeSymbol"; + }, function (r, b, a) { var f, k, l, d; function c(g, h, m, n) { - var r; - r = l.uO.call(this, g, h, f.hm.LHa, n) || this; - r.config = g; - r.Oi = h; - r.is = m; - r.h5 = n; - r.type = f.Bi.Zt; - r.tX = d.Sd.sPa(); - return r; + var q; + q = l.uO.call(this, g, h, f.gm.HHa, n) || this; + q.config = g; + q.Mi = h; + q.is = m; + q.h5 = n; + q.type = f.Bi.du; + q.sX = d.Qd.rPa(); + return q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.bq = void 0; + b.fq = void 0; f = a(25); k = a(50); - l = a(340); - q = a(106); + l = a(342); + r = a(106); d = a(140); - new q.nA(); - ka(c, l.uO); - c.prototype.Zv = function () { + new r.pA(); + ja(c, l.uO); + c.prototype.dw = function () { return Promise.resolve(!1); }; - c.prototype.Pq = function () { + c.prototype.Ls = function () { return Promise.resolve(""); }; - c.prototype.W2 = function () { + c.prototype.Y2 = function () { return Promise.resolve(""); }; - c.prototype.IW = function () { - return this.config().Yha ? this.h5.Wla() ? this.h5.LK(k.O.ZH).then(function (g) { + c.prototype.HW = function () { + return this.config().Sha ? this.h5.Qla() ? this.h5.PK(k.O.gI).then(function (g) { return { result: g, reason: "media-capabilities" @@ -29006,8 +28992,8 @@ a000.D9b = function () { reason: "disabled" }); }; - c.prototype.Y7 = function () { - return this.config().Yha ? this.h5.Wla() ? this.h5.LK(k.O.zO).then(function (g) { + c.prototype.U7 = function () { + return this.config().Sha ? this.h5.Qla() ? this.h5.PK(k.O.zO).then(function (g) { return { result: g, reason: "media-capabilities" @@ -29020,34 +29006,34 @@ a000.D9b = function () { reason: "disabled" }); }; - c.prototype.JW = function () { + c.prototype.IW = function () { return Promise.resolve(!1); }; - c.prototype.GW = function () { + c.prototype.FW = function () { return Promise.resolve(!1); }; - c.prototype.VK = function (g) { - return this.tX[g]; + c.prototype.ZK = function (g) { + return this.sX[g]; }; - c.prototype.nea = function () {}; - c.prototype.XXa = function (g) { + c.prototype.hea = function () {}; + c.prototype.VXa = function (g) { switch (g) { - case f.gj.oD: + case f.ej.qD: return "1.4"; - case f.gj.eu: + case f.ej.ju: return "2.2"; } }; - c.prototype.cF = function () { + c.prototype.fF = function () { var g; g = {}; - g[k.O.XH] = "avc1.4D401E"; - g[k.O.gD] = "avc1.4D401F"; - g[k.O.p$] = "avc1.4D4028"; - g[k.O.Q$a] = "hev1.2.6.L90.B0"; - g[k.O.R$a] = "hev1.2.6.L93.B0"; - g[k.O.S$a] = "hev1.2.6.L120.B0"; - g[k.O.T$a] = "hev1.2.6.L123.B0"; + g[k.O.eI] = "avc1.4D401E"; + g[k.O.iD] = "avc1.4D401F"; + g[k.O.h$] = "avc1.4D4028"; + g[k.O.T$a] = "hev1.2.6.L90.B0"; + g[k.O.U$a] = "hev1.2.6.L93.B0"; + g[k.O.V$a] = "hev1.2.6.L120.B0"; + g[k.O.W$a] = "hev1.2.6.L123.B0"; g[k.O.zY] = "hev1.2.6.L90.B0"; g[k.O.BY] = "hev1.2.6.L93.B0"; g[k.O.DY] = "hev1.2.6.L120.B0"; @@ -29060,15 +29046,15 @@ a000.D9b = function () { g[k.O.GY] = "hev1.2.6.L123.B0"; g[k.O.XO] = "hev1.2.6.L150.B0"; g[k.O.ZO] = "hev1.2.6.L153.B0"; - g[k.O.Tya] = "hev1.2.6.L90.B0"; - g[k.O.Uya] = "hev1.2.6.L93.B0"; - g[k.O.Vya] = "hev1.2.6.L120.B0"; - g[k.O.Wya] = "hev1.2.6.L123.B0"; - g[k.O.Xya] = "hev1.2.6.L150.B0"; - g[k.O.Yya] = "hev1.2.6.L153.B0"; + g[k.O.Rya] = "hev1.2.6.L90.B0"; + g[k.O.Sya] = "hev1.2.6.L93.B0"; + g[k.O.Tya] = "hev1.2.6.L120.B0"; + g[k.O.Uya] = "hev1.2.6.L123.B0"; + g[k.O.Vya] = "hev1.2.6.L150.B0"; + g[k.O.Wya] = "hev1.2.6.L153.B0"; g[k.O.LO] = "hev1.2.6.L90.B0"; g[k.O.NO] = "hev1.2.6.L93.B0"; - g[k.O.ZH] = "hev1.2.6.L120.B0"; + g[k.O.gI] = "hev1.2.6.L120.B0"; g[k.O.QO] = "hev1.2.6.L123.B0"; g[k.O.SO] = "hev1.2.6.L150.B0"; g[k.O.UO] = "hev1.2.6.L153.B0"; @@ -29078,49 +29064,49 @@ a000.D9b = function () { g[k.O.RO] = "hev1.2.6.L123.B0"; g[k.O.TO] = "hev1.2.6.L150.B0"; g[k.O.VO] = "hev1.2.6.L153.B0"; - g[k.O.aY] = d.Sd.$X; - g[k.O.cY] = d.Sd.R9; - g[k.O.zO] = d.Sd.S9; - g[k.O.fY] = d.Sd.T9; - g[k.O.hY] = d.Sd.U9; - g[k.O.jY] = d.Sd.V9; - g[k.O.bY] = d.Sd.$X; - g[k.O.dY] = d.Sd.R9; - g[k.O.eY] = d.Sd.S9; - g[k.O.gY] = d.Sd.T9; - g[k.O.iY] = d.Sd.U9; - g[k.O.kY] = d.Sd.V9; - g[k.O.Rya] = "avc1.640016"; + g[k.O.$X] = d.Qd.ZX; + g[k.O.bY] = d.Qd.M9; + g[k.O.zO] = d.Qd.N9; + g[k.O.eY] = d.Qd.O9; + g[k.O.gY] = d.Qd.P9; + g[k.O.iY] = d.Qd.Q9; + g[k.O.aY] = d.Qd.ZX; + g[k.O.cY] = d.Qd.M9; + g[k.O.dY] = d.Qd.N9; + g[k.O.fY] = d.Qd.O9; + g[k.O.hY] = d.Qd.P9; + g[k.O.jY] = d.Qd.Q9; + g[k.O.Pya] = "avc1.640016"; g[k.O.IO] = "avc1.64001E"; g[k.O.JO] = "avc1.64001F"; - g[k.O.o$] = "avc1.640028"; - g[k.O.IZ] = d.Sd.TP; - g[k.O.BI] = d.Sd.TP; - g[k.O.CI] = d.Sd.TP; - g[k.O.UP] = d.Sd.TP; - g[k.O.vua] = d.Sd.Fk; - g[k.O.wua] = d.Sd.Fk; - g[k.O.xua] = d.Sd.Fk; - g[k.O.yua] = d.Sd.Fk; - g[k.O.zua] = d.Sd.Fk; - g[k.O.Aua] = d.Sd.Fk; - g[k.O.Bua] = d.Sd.Fk; - g[k.O.Cua] = d.Sd.Fk; + g[k.O.g$] = "avc1.640028"; + g[k.O.KZ] = d.Qd.TP; + g[k.O.GI] = d.Qd.TP; + g[k.O.HI] = d.Qd.TP; + g[k.O.UP] = d.Qd.TP; + g[k.O.sua] = d.Qd.Fk; + g[k.O.tua] = d.Qd.Fk; + g[k.O.uua] = d.Qd.Fk; + g[k.O.vua] = d.Qd.Fk; + g[k.O.wua] = d.Qd.Fk; + g[k.O.xua] = d.Qd.Fk; + g[k.O.yua] = d.Qd.Fk; + g[k.O.zua] = d.Qd.Fk; return g; }; c.prototype.cUa = function (g) { - return g || this.config().hw; + return g || this.config().lw; }; - c.prototype.dL = function () { + c.prototype.gL = function () { return Promise.resolve(void 0); }; - c.prototype.k3 = function () { + c.prototype.l3 = function () { return Promise.resolve(void 0); }; - c.prototype.cS = function (g) { + c.prototype.bS = function (g) { var h; h = []; - this.is.eg(g) && h.push(this.XXa(g)); + this.is.eg(g) && h.push(this.VXa(g)); return [{ type: "DigitalVideoOutputDescriptor", outputType: "unknown", @@ -29129,82 +29115,117 @@ a000.D9b = function () { } ]; }; - b.bq = c; - c.tH = "video/mp4;codecs={0};"; - }, function (q, b) { + b.fq = c; + c.BH = "video/mp4;codecs={0};"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Zbb = "NativeLocalStorageSymbol"; - b.rCa = "NativeLocalStorageFactorySymbol"; - b.uza = "IDBFactorySymbol"; - }, function (q, b) { + b.ccb = "NativeLocalStorageSymbol"; + b.pCa = "NativeLocalStorageFactorySymbol"; + b.sza = "IDBFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tza = "IDBDatabaseFactorySymbol"; - b.Xza = "IndexedDBFactorySymbol"; - b.E$ = "IndexedDBStorageFactorySymbol"; - }, function (q, b, a) { + b.rza = "IDBDatabaseFactorySymbol"; + b.Vza = "IndexedDBFactorySymbol"; + b.w$ = "IndexedDBStorageFactorySymbol"; + }, function (r, b, a) { var c, f, k; - c = a(123); + c = a(122); f = a(57); - k = a(170); - q.exports = function (l) { + k = a(169); + r.exports = function (l) { return function n(g, h, m) { switch (arguments.length) { case 0: return n; case 1: - return k(g) ? n : f(function (r, p) { - return l(g, r, p); + return k(g) ? n : f(function (q, p) { + return l(g, q, p); }); case 2: - return k(g) && k(h) ? n : k(g) ? f(function (r, p) { - return l(r, h, p); - }) : k(h) ? f(function (r, p) { - return l(g, r, p); - }) : c(function (r) { - return l(g, h, r); + return k(g) && k(h) ? n : k(g) ? f(function (q, p) { + return l(q, h, p); + }) : k(h) ? f(function (q, p) { + return l(g, q, p); + }) : c(function (q) { + return l(g, h, q); }); default: - return k(g) && k(h) && k(m) ? n : k(g) && k(h) ? f(function (r, p) { - return l(r, p, m); - }) : k(g) && k(m) ? f(function (r, p) { - return l(r, h, p); - }) : k(h) && k(m) ? f(function (r, p) { - return l(g, r, p); - }) : k(g) ? c(function (r) { - return l(r, h, m); - }) : k(h) ? c(function (r) { - return l(g, r, m); - }) : k(m) ? c(function (r) { - return l(g, h, r); + return k(g) && k(h) && k(m) ? n : k(g) && k(h) ? f(function (q, p) { + return l(q, p, m); + }) : k(g) && k(m) ? f(function (q, p) { + return l(q, h, p); + }) : k(h) && k(m) ? f(function (q, p) { + return l(g, q, p); + }) : k(g) ? c(function (q) { + return l(q, h, m); + }) : k(h) ? c(function (q) { + return l(g, q, m); + }) : k(m) ? c(function (q) { + return l(g, h, q); }) : l(g, h, m); } }; }; - }, function (q) { - q.exports = function (b) { + }, function (r) { + r.exports = function (b) { return null != b && "object" === typeof b && !0 === b["@@functional/placeholder"]; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.rFa = b.vZ = b.Y2 = void 0; + b.oFa = b.vZ = b.a3 = void 0; c = a(53); f = a(3); - b.Y2 = function (k) { - return k === c.ic.Hk.Tb ? f.M.jBa : f.M.kBa; + b.a3 = function (k) { + return k === c.Qb.Hk.Ob ? f.L.hBa : f.L.iBa; }; b.vZ = 50; - b.rFa = 1E3; - }, function (q, b, a) { + b.oFa = 1E3; + }, function (r, b) { + function a(c) { + var f; + f = { + profile: c.spoofedProfile || c.profile, + $ia: c.max_framerate_value, + Zia: c.max_framerate_scale, + maxWidth: c.maxWidth, + maxHeight: c.maxHeight, + BMb: c.pixelAspectX, + CMb: c.pixelAspectY, + channels: c.channels, + sampleRate: c.channels ? 48E3 : void 0 + }; + c.spoofedProfile && (f.$6b = c.profile); + return f; + } + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.JTa = b.ITa = void 0; + b.ITa = function (c, f, k) { + var l; + l = [{}, {} + ]; + (0 === k ? ["audio_tracks"] : ["audio_tracks", "video_tracks"]).forEach(function (d, g) { + c[d].some(function (h, m) { + return m === f[g] ? (l[g] = a(h), !0) : !1; + }); + }); + return l; + }; + b.JTa = a; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -29212,37 +29233,37 @@ a000.D9b = function () { value: !0 } }); - b.nw = void 0; - c = a(223); + b.tw = void 0; + c = a(226); f = a(6); - q = (function () { + r = (function () { function k(l) { this.config = l; this.reset(); } k.instance = function () { - f.assert(void 0 !== k.jJ); - return k.jJ; + f.assert(void 0 !== k.lJ); + return k.lJ; }; - k.upb = function (l) { - k.jJ = new k(l); + k.vpb = function (l) { + k.lJ = new k(l); }; k.prototype.push = function (l) { this.Sj && this.Sj.push(l); }; k.prototype.lb = function () { if (this.Sj) - return (this.Sj.Kx(), this.Sj.Si([.25, .5, .75, .9, .95, .99]).map(function (l) { + return (this.Sj.Px(), this.Sj.Qi([.25, .5, .75, .9, .95, .99]).map(function (l) { return l ? parseFloat(l.toFixed(1)) : 0; })); }; k.prototype.reset = function () { - this.config.WQa && this.config.H$ && (this.Sj = new c.B2b(this.config.H$.c, this.config.H$.maxc)); + this.config.VQa && this.config.z$ && (this.Sj = new c.B2b(this.config.z$.c, this.config.z$.maxc)); }; return k; })(); - b.nw = q; - }, function (q, b, a) { + b.tw = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -29250,7 +29271,7 @@ a000.D9b = function () { }); c = a(2); f = a(31); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } @@ -29258,34 +29279,34 @@ a000.D9b = function () { l.prototype.parse = function (d) { d = k.prototype.parse.call(this, d); this.u.offset += 8; - this.Tfa = this.u.Dc(); - this.rra = this.u.Dc(); + this.Nfa = this.u.Gc(); + this.lra = this.u.Gc(); this.u.offset += 4; - this.samplerate = this.u.Dc(); + this.samplerate = this.u.Gc(); this.u.offset += 2; - f.ka && this.u.console.trace("MP4AudioSampleEntry: channelcount: " + this.Tfa + ", samplesize: " + this.rra + ", samplerate: " + this.samplerate); + f.ia && this.u.console.trace("MP4AudioSampleEntry: channelcount: " + this.Nfa + ", samplesize: " + this.lra + ", samplerate: " + this.samplerate); return d; }; l.Ka = !1; return l; - })(a(231).default); - b.default = q; - }, function (q, b, a) { + })(a(232).default); + b.default = r; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Vt = void 0; + b.$t = void 0; a(6); - q = (function () { + r = (function () { function c(f, k) { c.mb(this, f, k); } c.mb = function (f, k, l) { f.Uc = k; - f.Fc = l.ca; - f.ve = l.offset; + f.Hc = l.da; + f.xe = l.offset; }; Object.defineProperties(c.prototype, { stream: { @@ -29297,9 +29318,9 @@ a000.D9b = function () { } }); Object.defineProperties(c.prototype, { - ca: { + da: { get: function () { - return this.Fc; + return this.Hc; }, enumerable: !1, configurable: !0 @@ -29308,7 +29329,7 @@ a000.D9b = function () { Object.defineProperties(c.prototype, { offset: { get: function () { - return this.ve; + return this.xe; }, enumerable: !1, configurable: !0 @@ -29342,9 +29363,9 @@ a000.D9b = function () { } }); Object.defineProperties(c.prototype, { - La: { + Ma: { get: function () { - return this.Uc.La; + return this.Uc.Ma; }, enumerable: !1, configurable: !0 @@ -29378,9 +29399,9 @@ a000.D9b = function () { } }); Object.defineProperties(c.prototype, { - cM: { + eM: { get: function () { - return this.Uc.cM; + return this.Uc.eM; }, enumerable: !1, configurable: !0 @@ -29398,15 +29419,15 @@ a000.D9b = function () { c.prototype.toJSON = function () { return { movieId: this.K, - streamId: this.La, + streamId: this.Ma, offset: this.offset, - bytes: this.ca + bytes: this.da }; }; return c; })(); - b.Vt = q; - }, function (q, b, a) { + b.$t = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -29414,43 +29435,43 @@ a000.D9b = function () { value: !0 } }); - b.xba = b.ul = void 0; + b.rba = b.tl = void 0; c = a(151); (function (k) { k[k.pending = 0] = "pending"; k[k.eW = 1] = "running"; k[k.complete = 2] = "complete"; - k[k.rK = 3] = "destroyed"; - })(f = b.ul || (b.ul = {})); - q = (function () { + k[k.vK = 3] = "destroyed"; + })(f = b.tl || (b.tl = {})); + r = (function () { function k(l, d) { void 0 === d && (d = 0); this.name = l; this.priority = d; - this.Gc = f.pending; + this.Ic = f.pending; } Object.defineProperties(k.prototype, { state: { get: function () { - return this.Gc; + return this.Ic; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - pEb: { + sEb: { get: function () { - return this.Gc === f.pending || this.Gc === f.eW; + return this.Ic === f.pending || this.Ic === f.eW; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - Df: { + Ff: { get: function () { - return this.Hu; + return this.Ou; }, enumerable: !1, configurable: !0 @@ -29458,275 +29479,273 @@ a000.D9b = function () { }); k.prototype.Hlb = function (l) { var d; - null === (d = this.Hu) || void 0 === d ? void 0 : d.Lqa(this); - this.Hu = l; + null === (d = this.Ou) || void 0 === d ? void 0 : d.Fqa(this); + this.Ou = l; }; - k.prototype.Sv = function () { - this.Gc = f.eW; - this.Of(); - this.P5() === c.mj.gua && (this.Gc = f.complete); + k.prototype.Xv = function () { + this.Ic = f.eW; + this.Pf(); + this.P5() === c.jj.dua && (this.Ic = f.complete); }; - k.prototype.wb = function () { + k.prototype.zb = function () { var l; - this.Gc = f.rK; - null === (l = this.Hu) || void 0 === l ? void 0 : l.Lqa(this); + this.Ic = f.vK; + null === (l = this.Ou) || void 0 === l ? void 0 : l.Fqa(this); }; return k; })(); - b.xba = q; - }, function (q, b, a) { + b.rba = r; + }, function (r, b, a) { var k, l, d, g, h, m, - n, - r; - function c(p) { - return p && "function" === typeof p.kh ? !0 : !1; + n; + function c(q) { + return q && "function" === typeof q.hh ? !0 : !1; } - function f(p) { - return c(p) && (p = typeof p.CEb, "boolean" === p || "undefined" === p) ? !0 : !1; + function f(q) { + return c(q) && (q = typeof q.GEb, "boolean" === q || "undefined" === q) ? !0 : !1; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.flatten = b.map = b.a9a = b.jwb = b.BEb = b.I7a = b.AsyncIterator = void 0; + b.flatten = b.map = b.c9a = b.pwb = b.FEb = b.K7a = b.AsyncIterator = void 0; k = a(2); l = a(19); - d = k.__importDefault(a(4)).default.Promise; - h = (function () { - function p(u) { + g = (function () { + function q(p) { var t; t = this; - this.Cgb = u; - this.vQ = !1; - this.Bib = function (w) { - return t.bOb(w); + this.Dgb = p; + this.wQ = !1; + this.Cib = function (u) { + return t.gOb(u); }; - this.ZOa(); + this.YOa(); } - p.xFb = function (u, t) { - function w() { - var v; - v = u.next(); - v.then(function (x) { - f(u) && u.CEb || t(x); + q.AFb = function (p, t) { + function u() { + var w; + w = p.next(); + w.then(function (v) { + f(p) && p.GEb || t(v); }); - v.then(function (x) { - return !x.done && w(); + w.then(function (v) { + return !v.done && u(); }); } - w(); + u(); }; - Object.defineProperties(p.prototype, { - Ay: { + Object.defineProperties(q.prototype, { + Dy: { get: function () { - return this.vQ; + return this.wQ; }, enumerable: !1, configurable: !0 } }); - p.tzb = function () { - return new m([]); + q.xzb = function () { + return new h([]); }; - p.Aka = function () { - g || (g = d.resolve({ + q.wka = function () { + d || (d = Promise.resolve({ done: !0 })); - return g; + return d; }; - Object.defineProperties(p.prototype, { - vL: { + Object.defineProperties(q.prototype, { + yL: { get: function () { - return this.Pr || !1; + return this.Tr || !1; }, enumerable: !1, configurable: !0 } }); - p.prototype.kh = function () { + q.prototype.hh = function () { this.cancel(); }; - p.prototype.cancel = function () { - this.iKa(); - this.Pr = !0; - return this.bca; + q.prototype.cancel = function () { + this.gKa(); + this.Tr = !0; + return this.Wba; }; - p.prototype.next = function () { - return this.Pr ? this.bca : d.race([this.bca, this.Cgb()]).then(this.Bib); + q.prototype.next = function () { + return this.Tr ? this.Wba : Promise.race([this.Wba, this.Dgb()]).then(this.Cib); }; - p.prototype.bOb = function (u) { - u.done && (this.vQ = !0, this.kh()); - this.vL || (this.iKa(), this.ZOa()); - return u; + q.prototype.gOb = function (p) { + p.done && (this.wQ = !0, this.hh()); + this.yL || (this.gKa(), this.YOa()); + return p; }; - p.prototype.ZOa = function () { - var u; - u = this; - this.bca = new d(function (t) { - u.iKa = function () { + q.prototype.YOa = function () { + var p; + p = this; + this.Wba = new Promise(function (t) { + p.gKa = function () { t({ done: !0 }); }; }); }; - return p; + return q; })(); - b.AsyncIterator = h; - m = (function (p) { - function u(t) { - var w; - w = p.call(this, function () { - return w.xAb(); + b.AsyncIterator = g; + h = (function (q) { + function p(t) { + var u; + u = q.call(this, function () { + return u.AAb(); }) || this; - w.ux = t; - w.index = 0; - return w; + u.zx = t; + u.index = 0; + return u; } - k.__extends(u, p); - u.prototype.kh = function () { - c(this.ux) && this.ux.kh(); - p.prototype.kh.call(this); + k.__extends(p, q); + p.prototype.hh = function () { + c(this.zx) && this.zx.hh(); + q.prototype.hh.call(this); }; - u.prototype.xAb = function () { - return this.ux.length > this.index ? d.resolve({ - value: this.ux[this.index++], + p.prototype.AAb = function () { + return this.zx.length > this.index ? Promise.resolve({ + value: this.zx[this.index++], done: !1 - }) : d.resolve({ + }) : Promise.resolve({ done: !0 }); }; - return u; - })(h); - b.I7a = m; - b.BEb = c; - b.jwb = f; - n = (function (p) { - function u(t, w, v) { - var x; - x = p.call(this, function () { - return x.noa(); + return p; + })(g); + b.K7a = h; + b.FEb = c; + b.pwb = f; + m = (function (q) { + function p(t, u, w) { + var v; + v = q.call(this, function () { + return v.ioa(); }) || this; - x.console = w; - x.Mk = v; - x.$pa = !1; - Array.isArray(t) ? x.FQ = new m(t) : x.FQ = t; - return x; + v.console = u; + v.Mk = w; + v.Upa = !1; + Array.isArray(t) ? v.GQ = new h(t) : v.GQ = t; + return v; } - k.__extends(u, p); - u.prototype.dOb = function (t) { - var w; - this.$pa = !1; - w = this.console; - l.ka && w && w.trace("CompoundIterator: processNextOuterIterator"); + k.__extends(p, q); + p.prototype.iOb = function (t) { + var u; + this.Upa = !1; + u = this.console; + l.ia && u && u.trace("CompoundIterator: processNextOuterIterator"); if (t.done) return t; t = t.value; - if (this.lJ) - return (c(t) && t.kh(), h.Aka()); - Array.isArray(t) ? this.Mk = new m(t) : this.Mk = t; - return this.noa(); + if (this.nJ) + return (c(t) && t.hh(), g.wka()); + Array.isArray(t) ? this.Mk = new h(t) : this.Mk = t; + return this.ioa(); }; - u.prototype.cOb = function (t) { - var w; - w = this.console; - l.ka && w && w.trace("CompoundIterator: processNextInnerResult", this.lJ, t.done); - if (!t.done || this.lJ) + p.prototype.hOb = function (t) { + var u; + u = this.console; + l.ia && u && u.trace("CompoundIterator: processNextInnerResult", this.nJ, t.done); + if (!t.done || this.nJ) return t; this.Mk = void 0; - return this.noa(); + return this.ioa(); }; - u.prototype.kh = function () { + p.prototype.hh = function () { var t; t = this.console; - l.ka && t && t.trace("CompoundIterator: dispose"); - this.lJ = !0; - p.prototype.kh.call(this); - c(this.FQ) && this.FQ.kh(); - c(this.Mk) && this.Mk.kh(); + l.ia && t && t.trace("CompoundIterator: dispose"); + this.nJ = !0; + q.prototype.hh.call(this); + c(this.GQ) && this.GQ.hh(); + c(this.Mk) && this.Mk.hh(); }; - u.prototype.toString = function () { - return "CompoundIterator " + this.lJ + " " + this.FQ + " " + this.Mk; + p.prototype.toString = function () { + return "CompoundIterator " + this.nJ + " " + this.GQ + " " + this.Mk; }; - u.prototype.noa = function () { + p.prototype.ioa = function () { var t, - w; + u; t = this; - w = this.console; - l.ka && w && w.trace("CompoundIterator: nextImpl"); + u = this.console; + l.ia && u && u.trace("CompoundIterator: nextImpl"); if (this.Mk) - return (l.ka && w && w.trace("CompoundIterator: getNextInner"), this.Mk.next().then(function (v) { - return t.cOb(v); + return (l.ia && u && u.trace("CompoundIterator: getNextInner"), this.Mk.next().then(function (w) { + return t.hOb(w); })); - this.$pa = !0; - l.ka && w && w.trace("CompoundIterator: getNextOuter"); - return this.FQ.next().then(function (v) { - return t.dOb(v); + this.Upa = !0; + l.ia && u && u.trace("CompoundIterator: getNextOuter"); + return this.GQ.next().then(function (w) { + return t.iOb(w); }); }; - return u; - })(h); - b.a9a = n; - b.map = function (p, u, t) { - return new r(p, u, t); + return p; + })(g); + b.c9a = m; + b.map = function (q, p, t) { + return new n(q, p, t); }; - r = (function (p) { - function u(t, w, v) { - var x; - x = p.call(this, function () { - return x.pgb(); + n = (function (q) { + function p(t, u, w) { + var v; + v = q.call(this, function () { + return v.qgb(); }) || this; - x.source = t; - x.una = w; - x.ppb = v; - return x; + v.source = t; + v.ona = u; + v.qpb = w; + return v; } - k.__extends(u, p); - u.prototype.kh = function () { - c(this.source) && this.source.kh(); - p.prototype.kh.call(this); + k.__extends(p, q); + p.prototype.hh = function () { + c(this.source) && this.source.hh(); + q.prototype.hh.call(this); }; - u.prototype.pgb = function () { + p.prototype.qgb = function () { var t, - w, - v; - t = this.ppb; - w = this.una; - v = this.source; - l.ka && t && t.trace("MappedIterator: Requesting next"); - return v.next().then(function (x) { - return x.done ? x : w(x.value); + u, + w; + t = this.qpb; + u = this.ona; + w = this.source; + l.ia && t && t.trace("MappedIterator: Requesting next"); + return w.next().then(function (v) { + return v.done ? v : u(v.value); }); }; - return u; - })(h); - b.flatten = function (p, u, t) { - return new n(p, u, t); + return p; + })(g); + b.flatten = function (q, p, t) { + return new m(q, p, t); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(874); - c = a(412); - a = a(876); + r = a(876); + c = a(416); + a = a(878); b.default = { STARTING: a.B2a, - BUFFERING: q.r7, - REBUFFERING: q.r7, - PLAYING: c.Uv, - PAUSED: c.Uv + BUFFERING: r.n7, + REBUFFERING: r.n7, + PLAYING: c.Zv, + PAUSED: c.Zv }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -29735,517 +29754,482 @@ a000.D9b = function () { value: !0 } }); - b.fL = b.IH = void 0; - c = a(891); - f = a(892); - k = a(249); + b.iL = b.QH = void 0; + c = a(893); + f = a(894); + k = a(250); Object.defineProperties(b, { - IH: { + QH: { enumerable: !0, get: function () { - return k.IH; + return k.QH; } } }); - b.fL = function (l, d) { - switch (l.vna) { + b.iL = function (l, d) { + switch (l.pna) { case "manifold": - return new c.DBa(l, d); + return new c.BBa(l, d); default: - return new f.pGa(l, d); + return new f.lGa(l, d); } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q.exports = function (a) { + r.exports = function (a) { return { - minInitVideoBitrate: a.zv, - minHCInitVideoBitrate: a.Xna, - maxInitVideoBitrate: a.Oy, - minInitAudioBitrate: a.KU, - maxInitAudioBitrate: a.wU, - minHCInitAudioBitrate: a.JU, + minInitVideoBitrate: a.Fv, + minHCInitVideoBitrate: a.Sna, + maxInitVideoBitrate: a.Ry, + minInitAudioBitrate: a.JU, + maxInitAudioBitrate: a.vU, + minHCInitAudioBitrate: a.IU, minAcceptableVideoBitrate: a.r5, - minRequiredBuffer: a.LU, - minPrebufSize: a.Qi, - minCheckBufferingCompleteInterval: a.Wna, - rebufferingFactor: a.wqa, - useMaxPrebufSize: a.Uta, - maxPrebufSize: a.gC, - maxRebufSize: a.Ena, + minRequiredBuffer: a.KU, + minPrebufSize: a.Ni, + minCheckBufferingCompleteInterval: a.Rna, + rebufferingFactor: a.qqa, + useMaxPrebufSize: a.Qta, + maxPrebufSize: a.iC, + maxRebufSize: a.zna, maxBufferingTime: a.$q, minAudioMediaRequestSizeBytes: a.s5, minVideoMediaRequestSizeBytes: a.z5, - initialBitrateSelectionCurve: a.X3, - initSelectionLowerBound: a.MVa, - initSelectionUpperBound: a.NVa, - throughputPercentForAudio: a.e8, - bandwidthMargin: a.ifa, - bandwidthMarginContinuous: a.jfa, - bandwidthMarginCurve: a.kfa, - conservBandwidthMargin: a.Aga, - switchConfigBasedOnInSessionTput: a.Tsa, - conservBandwidthMarginTputThreshold: a.XR, - conservBandwidthMarginCurve: a.Bga, - switchAlgoBasedOnHistIQR: a.C4a, - switchConfigBasedOnThroughputHistory: a.OC, - maxPlayerStateToSwitchConfig: a.Dna, - lowEndMarkingCriteria: a.ena, - IQRThreshold: a.C$, - histIQRCalcToUse: a.jla, - maxTotalBufferLevelPerSession: a.$s, - highWatermarkLevel: a.oVa, - toStableThreshold: a.j5a, - toUnstableThreshold: a.k8, - skipBitrateInUpswitch: a.nsa, - watermarkLevelForSkipStart: a.kua, - highStreamRetentionWindow: a.dla, - lowStreamTransitionWindow: a.fna, - highStreamRetentionWindowUp: a.fla, - lowStreamTransitionWindowUp: a.hna, - highStreamRetentionWindowDown: a.ela, - lowStreamTransitionWindowDown: a.gna, - highStreamInfeasibleBitrateFactor: a.cla, - lowestBufForUpswitch: a.Hy, + initialBitrateSelectionCurve: a.Y3, + initSelectionLowerBound: a.KVa, + initSelectionUpperBound: a.LVa, + throughputPercentForAudio: a.a8, + bandwidthMargin: a.bfa, + bandwidthMarginContinuous: a.cfa, + bandwidthMarginCurve: a.dfa, + conservBandwidthMargin: a.uga, + switchConfigBasedOnInSessionTput: a.Osa, + conservBandwidthMarginTputThreshold: a.YR, + conservBandwidthMarginCurve: a.vga, + switchAlgoBasedOnHistIQR: a.E4a, + switchConfigBasedOnThroughputHistory: a.PC, + maxPlayerStateToSwitchConfig: a.yna, + lowEndMarkingCriteria: a.Zma, + IQRThreshold: a.u$, + histIQRCalcToUse: a.ela, + maxTotalBufferLevelPerSession: a.ht, + highWatermarkLevel: a.mVa, + toStableThreshold: a.l5a, + toUnstableThreshold: a.g8, + skipBitrateInUpswitch: a.hsa, + watermarkLevelForSkipStart: a.hua, + highStreamRetentionWindow: a.Zka, + lowStreamTransitionWindow: a.$ma, + highStreamRetentionWindowUp: a.ala, + lowStreamTransitionWindowUp: a.bna, + highStreamRetentionWindowDown: a.$ka, + lowStreamTransitionWindowDown: a.ana, + highStreamInfeasibleBitrateFactor: a.Yka, + lowestBufForUpswitch: a.Ky, lockPeriodAfterDownswitch: a.S4, - lowWatermarkLevel: a.jna, - lowestWaterMarkLevel: a.Iy, - lowestWaterMarkLevelBufferRelaxed: a.kna, - mediaRate: a.Ona, + lowWatermarkLevel: a.dna, + lowestWaterMarkLevel: a.Ly, + lowestWaterMarkLevelBufferRelaxed: a.ena, + mediaRate: a.Jna, maxTrailingBufferLen: a.f5, - audioBufferTargetAvailableSize: a.tR, - videoBufferTargetAvailableSize: a.oX, - maxVideoTrailingBufferSize: a.xYa, - maxAudioTrailingBufferSize: a.hYa, - fastUpswitchFactor: a.t2, - fastDownswitchFactor: a.Aia, - maxMediaBufferAllowed: a.Py, - simulatePartialBlocks: a.lsa, - simulateBufferFull: a.D3a, - considerConnectTime: a.Cga, - connectTimeMultiplier: a.zga, - lowGradeModeEnterThreshold: a.HXa, - lowGradeModeExitThreshold: a.IXa, - maxDomainFailureWaitDuration: a.lYa, - maxAttemptsOnFailure: a.gYa, - exhaustAllLocationsForFailure: a.pRa, - maxNetworkErrorsDuringBuffering: a.rYa, + audioBufferTargetAvailableSize: a.uR, + videoBufferTargetAvailableSize: a.nX, + maxVideoTrailingBufferSize: a.uYa, + maxAudioTrailingBufferSize: a.fYa, + fastUpswitchFactor: a.u2, + fastDownswitchFactor: a.sia, + maxMediaBufferAllowed: a.Sy, + simulatePartialBlocks: a.fsa, + simulateBufferFull: a.E3a, + considerConnectTime: a.wga, + connectTimeMultiplier: a.tga, + lowGradeModeEnterThreshold: a.FXa, + lowGradeModeExitThreshold: a.GXa, + maxDomainFailureWaitDuration: a.iYa, + maxAttemptsOnFailure: a.eYa, + exhaustAllLocationsForFailure: a.oRa, + maxNetworkErrorsDuringBuffering: a.oYa, maxBufferingTimeAllowedWithNetworkError: a.Z4, - fastDomainSelectionBwThreshold: a.xRa, - throughputProbingEnterThreshold: a.P4a, - throughputProbingExitThreshold: a.Q4a, - locationProbingTimeout: a.vXa, - finalLocationSelectionBwThreshold: a.ERa, - throughputHighConfidenceLevel: a.N4a, - throughputLowConfidenceLevel: a.O4a, - locationStatisticsUpdateInterval: a.Tma, - enablePerfBasedLocationSwitch: a.VQa, - probeServerWhenError: a.At, - probeRequestTimeoutMilliseconds: a.Wpa, - allowSwitchback: a.sx, - probeDetailDenominator: a.yG, + fastDomainSelectionBwThreshold: a.wRa, + throughputProbingEnterThreshold: a.R4a, + throughputProbingExitThreshold: a.S4a, + locationProbingTimeout: a.tXa, + finalLocationSelectionBwThreshold: a.DRa, + throughputHighConfidenceLevel: a.P4a, + throughputLowConfidenceLevel: a.Q4a, + locationStatisticsUpdateInterval: a.Nma, + enablePerfBasedLocationSwitch: a.UQa, + probeServerWhenError: a.Et, + probeRequestTimeoutMilliseconds: a.Qpa, + allowSwitchback: a.xx, + probeDetailDenominator: a.FG, maxDelayToReportFailure: a.a5, - countGapInBuffer: a.VOa, + countGapInBuffer: a.UOa, bufferThresholdForAbort: a.hNa, - allowCallToStreamSelector: a.PLa, - pipelineScheduleTimeoutMs: a.vpa, - maxPartialBuffersAtBufferingStart: a.Qy, - minPendingBufferLen: a.Yna, - maxPendingBufferLen: a.fC, + allowCallToStreamSelector: a.OLa, + pipelineScheduleTimeoutMs: a.qpa, + maxPartialBuffersAtBufferingStart: a.Ty, + minPendingBufferLen: a.Tna, + maxPendingBufferLen: a.hC, maxPendingBufferLenSABCell100: a.d5, maxActiveRequestsSABCell100: a.X4, - maxStreamingSkew: a.Fna, - maxPendingBufferPercentage: a.Bna, - maxRequestsInBuffer: a.SL, - headerRequestSize: a.H3, - estimateHeaderSize: a.oia, - minBufferLenForHeaderDownloading: a.IU, + maxStreamingSkew: a.Ana, + maxPendingBufferPercentage: a.wna, + maxRequestsInBuffer: a.UL, + headerRequestSize: a.I3, + estimateHeaderSize: a.hia, + minBufferLenForHeaderDownloading: a.HU, reserveForSkipbackBufferMs: a.$M, - numExtraFragmentsAllowed: a.Aoa, - pipelineEnabled: a.Fp, - maxParallelConnections: a.QL, - socketReceiveBufferSize: a.M3a, - audioSocketReceiveBufferSize: a.J0, + numExtraFragmentsAllowed: a.voa, + pipelineEnabled: a.Hp, + maxParallelConnections: a.SL, + socketReceiveBufferSize: a.N3a, + audioSocketReceiveBufferSize: a.L0, videoSocketReceiveBufferSize: a.WN, - headersSocketReceiveBufferSize: a.ala, - updatePtsIntervalMs: a.B8, - bufferTraceDenominator: a.vfa, - bufferLevelNotifyIntervalMs: a.UJ, - aseReportDenominator: a.WA, - aseReportIntervalMs: a.E0, - enableAbortTesting: a.cvb, + headersSocketReceiveBufferSize: a.Wka, + updatePtsIntervalMs: a.x8, + bufferTraceDenominator: a.ofa, + bufferLevelNotifyIntervalMs: a.YJ, + aseReportDenominator: a.YA, + aseReportIntervalMs: a.G0, + enableAbortTesting: a.gvb, abortRequestFrequency: a.Vjb, - streamingStatusIntervalMs: a.Ksa, - prebufferTimeLimit: a.$y, + streamingStatusIntervalMs: a.Fsa, + prebufferTimeLimit: a.cz, minBufferLevelForTrackSwitch: a.t5, - penaltyFactorForLongConnectTime: a.mpa, - longConnectTimeThreshold: a.cna, - additionalBufferingLongConnectTime: a.wea, - additionalBufferingPerFailure: a.xea, - rebufferCheckDuration: a.PV, - enableLookaheadHints: a.SQa, - lookaheadFragments: a.EXa, - enableOCSideChannel: a.ay, - OCSCBufferQuantizationConfig: a.aZ, - updateDrmRequestOnNetworkFailure: a.T5a, - deferAseScheduling: a.QPa, - maxDiffAudioVideoEndPtsMs: a.kYa, - useHeaderCache: a.SN, - useHeaderCacheData: a.e2, - defaultHeaderCacheSize: a.N1, - defaultHeaderCacheDataPrefetchMs: a.M1, - headerCacheMaxPendingData: a.Zka, - neverWipeHeaderCache: a.hG, - headerCachePriorityLimit: a.hVa, - enableUsingHeaderCount: a.$ha, - networkFailureResetWaitMs: a.loa, - networkFailureAbandonMs: a.koa, + penaltyFactorForLongConnectTime: a.hpa, + longConnectTimeThreshold: a.Xma, + additionalBufferingLongConnectTime: a.qea, + additionalBufferingPerFailure: a.rea, + rebufferCheckDuration: a.OV, + enableLookaheadHints: a.QQa, + lookaheadFragments: a.CXa, + enableOCSideChannel: a.fy, + OCSCBufferQuantizationConfig: a.$Y, + updateDrmRequestOnNetworkFailure: a.V5a, + deferAseScheduling: a.OPa, + maxDiffAudioVideoEndPtsMs: a.hYa, + defaultHeaderCacheSize: a.P1, + defaultHeaderCacheDataPrefetchMs: a.O1, + neverWipeHeaderCache: a.nG, + networkFailureResetWaitMs: a.goa, + networkFailureAbandonMs: a.foa, maxThrottledNetworkFailures: a.e5, - throttledNetworkFailureThresholdMs: a.d8, - lowThroughputThreshold: a.ina, - excludeSessionWithoutHistoryFromLowThroughputThreshold: a.tia, - mp4ParsingInNative: a.cZa, - sourceBufferInOrderAppend: a.O3a, - requireAudioStreamToEncompassVideo: a.mz, - allowAudioToStreamPastVideo: a.OLa, + throttledNetworkFailureThresholdMs: a.Z7, + lowThroughputThreshold: a.cna, + excludeSessionWithoutHistoryFromLowThroughputThreshold: a.mia, + mp4ParsingInNative: a.$Ya, + sourceBufferInOrderAppend: a.P3a, + requireAudioStreamToEncompassVideo: a.pz, + allowAudioToStreamPastVideo: a.NLa, enableManagerDebugTraces: a.Gh, - managerDebugMessageInterval: a.VXa, - managerDebugMessageCount: a.UXa, - bufferThresholdToSwitchToSingleConnMs: a.ufa, - bufferThresholdToSwitchToParallelConnMs: a.tfa, - netIntrStoreWindow: a.xJb, - minNetIntrDuration: a.VIb, - fastHistoricBandwidthExpirationTime: a.twb, + managerDebugMessageInterval: a.TXa, + managerDebugMessageCount: a.SXa, + bufferThresholdToSwitchToSingleConnMs: a.nfa, + bufferThresholdToSwitchToParallelConnMs: a.mfa, + netIntrStoreWindow: a.zJb, + minNetIntrDuration: a.XIb, + fastHistoricBandwidthExpirationTime: a.zwb, bandwidthExpirationTime: a.qmb, - failureExpirationTime: a.qwb, - historyTimeOfDayGranularity: a.ZCb, - expandDownloadTime: a.dwb, - minimumMeasurementTime: a.eJb, - minimumMeasurementBytes: a.dJb, - throughputMeasurementTimeout: a.XUb, - initThroughputMeasureDataSize: a.SDb, - throughputMeasureWindow: a.WUb, - throughputIQRMeasureWindow: a.VUb, - IQRBucketizerWindow: a.$ab, - connectTimeHalflife: a.vpb, - responseTimeHalflife: a.xQb, - historicBandwidthUpdateInterval: a.YCb, - throughputWarmupTime: a.aVb, - minimumBufferToStopProbing: a.cJb, - throughputPredictor: a.YUb, - ase_stream_selector: a.vlb, - enableFilters: a.gvb, - filterDefinitionOverrides: a.Kwb, - defaultFilter: a.ktb, - secondaryFilter: a.bRb, - defaultFilterDefinitions: a.ltb, - initBitrateSelectorAlgorithm: a.Fla, - bufferingSelectorAlgorithm: a.zfa, - ase_ls_failure_simulation: a.FPa, - ase_dump_fragments: a.fha, - ase_location_history: a.hha, - ase_throughput: a.iha, - ase_simulate_verbose: a.HPa, - secondThroughputEstimator: a.Ara, + failureExpirationTime: a.wwb, + historyTimeOfDayGranularity: a.bDb, + expandDownloadTime: a.jwb, + minimumMeasurementTime: a.gJb, + minimumMeasurementBytes: a.fJb, + throughputMeasurementTimeout: a.ZUb, + initThroughputMeasureDataSize: a.WDb, + throughputMeasureWindow: a.YUb, + throughputIQRMeasureWindow: a.XUb, + IQRBucketizerWindow: a.cbb, + connectTimeHalflife: a.wpb, + responseTimeHalflife: a.CQb, + historicBandwidthUpdateInterval: a.aDb, + throughputWarmupTime: a.cVb, + minimumBufferToStopProbing: a.eJb, + throughputPredictor: a.$Ub, + ase_stream_selector: a.wlb, + enableFilters: a.kvb, + filterDefinitionOverrides: a.Qwb, + defaultFilter: a.mtb, + secondaryFilter: a.gRb, + defaultFilterDefinitions: a.ntb, + initBitrateSelectorAlgorithm: a.Ala, + bufferingSelectorAlgorithm: a.sfa, + ase_ls_failure_simulation: a.EPa, + ase_dump_fragments: a.$ga, + ase_location_history: a.bha, + ase_throughput: a.cha, + ase_simulate_verbose: a.GPa, + secondThroughputEstimator: a.tra, secondThroughputMeasureWindowInMs: a.x2a, - marginPredictor: a.vna, - networkMeasurementGranularity: a.moa, - HistoricalTDigestConfig: a.nza, - maxIQRSamples: a.oYa, - minIQRSamples: a.RYa, - periodicHistoryPersistMs: a.r6, - saveVideoBitrateMs: a.k7, - needMinimumNetworkConfidence: a.QU, - biasTowardHistoricalThroughput: a.nfa, - maxFastPlayBufferInMs: a.zna, - maxFastPlayBitThreshold: a.yna, - headerCacheTruncateHeaderAfterParsing: a.iVa, - minAudioMediaRequestDuration: a.XL, - minVideoMediaRequestDuration: a.aM, - minAudioMediaRequestDurationCache: a.XL, - minVideoMediaRequestDurationCache: a.aM, - addHeaderDataToNetworkMonitor: a.pea, - hindsightDenominator: a.ila, - hindsightDebugDenominator: a.hla, - hindsightParam: a.L3, - minimumTimeBeforeBranchDecision: a.jC, - enableSessionHistoryReport: a.JS, - earlyStageEstimatePeriod: a.Wha, - lateStageEstimatePeriod: a.iXa, + marginPredictor: a.pna, + networkMeasurementGranularity: a.hoa, + HistoricalTDigestConfig: a.lza, + maxIQRSamples: a.lYa, + minIQRSamples: a.OYa, + periodicHistoryPersistMs: a.q6, + saveVideoBitrateMs: a.h7, + needMinimumNetworkConfidence: a.PU, + biasTowardHistoricalThroughput: a.gfa, + maxFastPlayBufferInMs: a.una, + maxFastPlayBitThreshold: a.tna, + minAudioMediaRequestDuration: a.ZL, + minVideoMediaRequestDuration: a.cM, + minAudioMediaRequestDurationCache: a.ZL, + minVideoMediaRequestDurationCache: a.cM, + addHeaderDataToNetworkMonitor: a.jea, + hindsightDenominator: a.dla, + hindsightDebugDenominator: a.cla, + hindsightParam: a.M3, + minimumTimeBeforeBranchDecision: a.lC, + enableSessionHistoryReport: a.IS, + earlyStageEstimatePeriod: a.Qha, + lateStageEstimatePeriod: a.gXa, maxNumSessionHistoryStored: a.c5, minSessionHistoryDuration: a.y5, - appendMediaRequestOnComplete: a.eMa, - waitForDrmToAppendMedia: a.P8, - forceAppendHeadersAfterDrm: a.C2, - startMonitorOnLoadStart: a.xsa, - reportFailedRequestsToNetworkMonitor: a.Rqa, - reappendRequestsOnSkip: a.LOb, - maxActiveRequestsPerSession: a.uv, - limitAudioDiscountByMaxAudioBitrate: a.Nma, - appendFirstHeaderOnComplete: a.Hea, + appendMediaRequestOnComplete: a.dMa, + waitForDrmToAppendMedia: a.K8, + forceAppendHeadersAfterDrm: a.D2, + startMonitorOnLoadStart: a.qsa, + reportFailedRequestsToNetworkMonitor: a.Mqa, + reappendRequestsOnSkip: a.QOb, + maxActiveRequestsPerSession: a.Av, + limitAudioDiscountByMaxAudioBitrate: a.Hma, + appendFirstHeaderOnComplete: a.Aea, maxAudioFragmentOverlapMs: 0, - editVideoFragments: a.Uub, - declareBufferingCompleteAtSegmentEnd: a.kha, - applyProfileTimestampOffset: a.VA, - applyProfileStreamingOffset: a.ck, - requireDownloadDataAtBuffering: a.a7, - requireSetupConnectionDuringBuffering: a.b7, - recordFirstFragmentOnSubBranchCreate: a.zqa, - earlyAppendSingleChildBranch: a.b2, - selectStartingVMAFMethod: a.fN, - activateSelectStartingVMAF: a.hR, - minStartingVideoVMAF: a.$L, - minAcceptableVMAF: a.HU, - minAllowedVmaf: a.bG, - alwaysNotifyEOSForPlaygraph: a.Eea, - enableNewAse: a.AK, - useNewApi: a.kX, - enableDiscontiguousBuffering: a.d2, - forceImmediateTransitionTypeForTitles: a.bja, - useBufferSizeLimiter: a.Sta, - enableHudsonFieldTest: a.kvb, - hudsonTitles: a.nDb, - maxPartialBuffersAtHudson: a.WHb, - numberOfChunksPerSegment: a.lKb, - targetContentLatency: a.KUb, - targetLongContentLatency: a.LUb, - minimumTimeDelay: a.fJb, - enableWsslEstimate: a.aia, + editVideoFragments: a.Yub, + declareBufferingCompleteAtSegmentEnd: a.eha, + applyProfileTimestampOffset: a.XA, + applyProfileStreamingOffset: a.dk, + requireDownloadDataAtBuffering: a.Y6, + requireSetupConnectionDuringBuffering: a.Z6, + recordFirstFragmentOnSubBranchCreate: a.tqa, + earlyAppendSingleChildBranch: a.d2, + selectStartingVMAFMethod: a.gN, + activateSelectStartingVMAF: a.jR, + minStartingVideoVMAF: a.bM, + minAcceptableVMAF: a.GU, + minAllowedVmaf: a.hG, + alwaysNotifyEOSForPlaygraph: a.ilb, + enableNewAse: a.EK, + useNewApi: a.jX, + enableDiscontiguousBuffering: a.f2, + forceImmediateTransitionTypeForTitles: a.Via, + forceImmediateTransitionExitZone: a.yxb, + useBufferSizeLimiter: a.Nta, + enableHudsonFieldTest: a.ovb, + hudsonTitles: a.qDb, + maxPartialBuffersAtHudson: a.ZHb, + numberOfChunksPerSegment: a.nKb, + targetContentLatency: a.MUb, + targetLongContentLatency: a.NUb, + minimumTimeDelay: a.hJb, + enableWsslEstimate: a.Uha, maxAllowedOutstandingRequests: a.Y4, - alwaysRunUnderflowTimer: a.KJ, - minStreamableConcurrencyWindow: a.Zna, - streamableConcurrencyFactor: a.Hsa, - bufferingConcurrencyWindow: a.KR, - singleStreamablePerBranch: a.kTb, - enableResolutionVMAFStreamFilter: a.f2, - resolutionVMAFCappingRuleList: a.g7, - percentCapTitlesForResolutionVMAFStreamFilter: a.opa, - useExitZones: a.Tta + alwaysRunUnderflowTimer: a.NJ, + minStreamableConcurrencyWindow: a.Una, + streamableConcurrencyFactor: a.Bsa, + bufferingConcurrencyWindow: a.LR, + singleStreamablePerBranch: a.nTb, + enableResolutionVMAFStreamFilter: a.g2, + resolutionVMAFCappingRuleList: a.d7, + percentCapTitlesForResolutionVMAFStreamFilter: a.jpa, + useExitZones: a.Ota }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.W9 = void 0; - (b.W9 || (b.W9 = {})).fdb = "PboDebugEvent"; - b.cxa = { - Ibb: "Manifest", + b.R9 = void 0; + (b.R9 || (b.R9 = {})).jdb = "PboDebugEvent"; + b.$wa = { + Mbb: "Manifest", Event: "Event", - k0b: "Logblob" + l0b: "Logblob" }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l) { switch (l) { - case f.M.aP: + case f.L.aP: return "http"; - case f.M.cP: + case f.L.cP: return "connectiontimeout"; - case f.M.jD: + case f.L.lD: return "readtimeout"; - case f.M.iza: + case f.L.gza: return "corruptcontent"; - case f.M.$z: + case f.L.aA: return "abort"; - case f.M.dP: - case f.M.w$: + case f.L.dP: + case f.L.o$: return "unknown"; } } Object.defineProperty(b, "__esModule", { value: !0 }); - b.oka = b.cka = b.aka = void 0; + b.kka = b.Zja = b.Vja = void 0; f = a(3); k = a(11); - b.aka = c; - b.cka = function (l, d) { + b.Vja = c; + b.Zja = function (l, d) { l = { - errorcode: l + (d.errorCode || f.L.jm) + errorcode: l + (d.errorCode || f.M.im) }; d.oa && (l.errorsubcode = d.oa); - d.Ve && (l.errorextcode = d.Ve); - d.jia && (l.erroredgecode = d.jia); - d.sb && (l.errordetails = d.sb); + d.Xe && (l.errorextcode = d.Xe); + d.cia && (l.erroredgecode = d.cia); + d.qb && (l.errordetails = d.qb); d.lk && (l.httperr = d.lk); d.I5 && (l.aseneterr = d.I5); - d.EK && (l.errordata = d.EK); - d.DU && (l.mediaerrormessage = d.DU); + d.IK && (l.errordata = d.IK); + d.CU && (l.mediaerrormessage = d.CU); (d = c(Number(d.oa))) && (l.nwerr = d); return l; }; - b.oka = function () { + b.kka = function () { return { - screensize: k.ju.width + "x" + k.ju.height, - screenavailsize: k.ju.availWidth + "x" + k.ju.availHeight, + screensize: k.qu.width + "x" + k.qu.height, + screenavailsize: k.qu.availWidth + "x" + k.qu.availHeight, clientsize: pb.innerWidth + "x" + pb.innerHeight }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jP = "LicenseProviderSymbol"; - }, function (q, b) { + b.kP = "LicenseProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ODa = "PboPlaydataServicesSymbol"; + b.MDa = "PboPlaydataServicesSymbol"; b.hZ = "PboPlaydataServicesProviderSymbol"; - }, function (q, b, a) { - var c, - f, - k; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.VH = b.Iyb = void 0; - c = a(13); - f = a(117); - k = a(474); - b.Iyb = function (l, d, g, h) { - var m, - n; - n = l.Nz; - n = null === (m = null === n || void 0 === n ? void 0 : n[0].streams) || void 0 === m ? void 0 : m[0].ZR; - m = c.p1(g.Zd); - n = c.yga(!!l.ym, !1, n); - m = f.Dl.sd.Hq(Object.assign(Object.assign({}, m), n)); - d = k.Jka(d, k.dQa); - return { - K: h, - priority: 0, - R4b: function () { - return { - sa: l, - yg: !1, - KE: l.PPa[0].KE - }; - }, - config: m, - kJb: g.kJb, - YMa: d - }; - }; - b.VH = function () { + b.cI = void 0; + b.cI = function () { return ""; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.jZ = "PlaygraphHelperSymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Z9 = b.vxa = void 0; - b.vxa = function () { - this.Tb = 0; - this.Hb = 1; - this.O$a = 2; - this.Of = function () {}; + b.U9 = b.sxa = void 0; + b.sxa = function () { + this.Ob = 0; + this.Bb = 1; + this.R$a = 2; + this.Pf = function () {}; }; - b.Z9 = "DownloadTrackConstructorFactorySymbol"; - }, function (q, b) { + b.U9 = "DownloadTrackConstructorFactorySymbol"; + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.bc = void 0; - b.bc = a; - a.ue = { - DCa: "mr1", - CCa: "mr2", - ECa: "mr3", - tP: "mr4", - hcb: "mr5", - DD: "mr6" + b.cc = void 0; + b.cc = a; + a.we = { + BCa: "mr1", + ACa: "mr2", + CCa: "mr3", + uP: "mr4", + lcb: "mr5", + FD: "mr6" }; - a.zc = { + a.Bc = { UNSENT: 0, OPENED: 1, - Jw: 2, - Hw: 3, + Ow: 2, + Nw: 3, DONE: 5, - UH: 6, - hO: 7, + bI: 6, + gO: 7, name: ("UNSENT OPENED SENT RECEIVING DONE FAILED ABORTED").split(" ") }; - a.rY = { + a.qY = { NO_ERROR: -1, - I9a: 0, - Twa: 1, - U9a: 2, - M9a: 3, - L8a: 4, - $va: 5, - Yva: 6, - M8a: 7, - N8a: 8, - O8a: 9, - I8a: 10, - K8a: 11, - Zva: 12, - J8a: 13, - H8a: 14, - V$a: 15, - gza: 16, - fza: 17, - t$: 18, - v$: 19, - u$: 20, - jza: 21, - X$a: 22, + K9a: 0, + Qwa: 1, + W9a: 2, + O9a: 3, + N8a: 4, + Xva: 5, + Vva: 6, + O8a: 7, + P8a: 8, + Q8a: 9, + K8a: 10, + M8a: 11, + Wva: 12, + L8a: 13, + J8a: 14, + Y$a: 15, + eza: 16, + dza: 17, + l$: 18, + n$: 19, + m$: 20, + hza: 21, + $$a: 22, HY: 23, - hza: 24, - W$a: 25, - P9a: 26, - J9a: 27, - Odb: 28, - z9a: 29, - A9a: 30, - B9a: 31, - C9a: 32, - D9a: 33, - E9a: 34, - F9a: 35, - G9a: 36, - H9a: 37, - K9a: 38, - L9a: 39, - N9a: 40, - O9a: 41, - Q9a: 42, - R9a: 43, - S9a: 44, - T9a: 45, - V9a: 46, - W9a: 47, - Ndb: 48, + fza: 24, + Z$a: 25, + R9a: 26, + L9a: 27, + Rdb: 28, + B9a: 29, + C9a: 30, + D9a: 31, + E9a: 32, + F9a: 33, + G9a: 34, + H9a: 35, + I9a: 36, + J9a: 37, + M9a: 38, + N9a: 39, + P9a: 40, + Q9a: 41, + S9a: 42, + T9a: 43, + U9a: 44, + V9a: 45, + X9a: 46, + Y9a: 47, + Qdb: 48, TIMEOUT: 49, - cza: 50, - dza: 51, - U$a: 52, + aza: 50, + bza: 51, + X$a: 52, name: ("DNS_ERROR DNS_TIMEOUT DNS_QUERY_REFUSED DNS_NOT_FOUND CONNECTION_REFUSED CONNECTION_TIMEOUT CONNECTION_CLOSED CONNECTION_RESET CONNECTION_RESET_ON_CONNECT CONNECTION_RESET_WHILE_RECEIVING CONNECTION_NET_UNREACHABLE CONNECTION_NO_ROUTE_TO_HOST CONNECTION_NETWORK_DOWN CONNECTION_NO_ADDRESS CONNECTION_ERROR HTTP_CONNECTION_ERROR HTTP_CONNECTION_TIMEOUT HTTP_CONNECTION_STALL HTTP_PROTOCOL_ERROR HTTP_RESPONSE_4XX HTTP_RESPONSE_420 HTTP_RESPONSE_5XX HTTP_TOO_MANY_REDIRECTS HTTP_TRANSACTION_TIMEOUT HTTP_MESSAGE_LENGTH_ERROR HTTP_HEADER_LENGTH_ERROR DNS_NOT_SUPPORTED DNS_EXPIRED SSL_ERROR DNS_BAD_FAMILY DNS_BAD_FLAGS DNS_BAD_HINTS DNS_BAD_NAME DNS_BAD_STRING DNS_CANCELLED DNS_CHANNEL_DESTROYED DNS_CONNECTION_REFUSED DNS_EOF DNS_FILE DNS_FORMAT_ERROR DNS_NOT_IMPLEMENTED DNS_NOT_INITIALIZED DNS_NO_DATA DNS_NO_MEMORY DNS_NO_NAME DNS_QUERY_MALFORMED DNS_RESPONSE_MALFORMED DNS_SERVER_FAILURE SOCKET_ERROR TIMEOUT HTTPS_CONNECTION_ERROR HTTPS_CONNECTION_TIMEOUT HTTPS_CONNECTION_REDIRECT_TO_HTTP").split(" ") }; - a.Ub = { + a.Wb = { cW: { - m7a: !0, + o7a: !0, LP: !1, - Ubb: !0 + Ybb: !0 } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.iZ = "PboPublisherSymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -30253,7 +30237,7 @@ a000.D9b = function () { }); c = a(23); f = a(33); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } @@ -30261,97 +30245,97 @@ a000.D9b = function () { l.prototype.parse = function (d) { d = k.prototype.parse.call(this, d); this.u.offset += 8; - this.Tfa = this.u.Dc(); - this.rra = this.u.Dc(); + this.Nfa = this.u.Gc(); + this.lra = this.u.Gc(); this.u.offset += 4; - this.samplerate = this.u.Dc(); + this.samplerate = this.u.Gc(); this.u.offset += 2; - f.ka && this.u.console.trace("MP4AudioSampleEntry: channelcount: " + this.Tfa + ", samplesize: " + this.rra + ", samplerate: " + this.samplerate); + f.ia && this.u.console.trace("MP4AudioSampleEntry: channelcount: " + this.Nfa + ", samplesize: " + this.lra + ", samplerate: " + this.samplerate); return d; }; l.Ka = !1; return l; - })(a(283).default); - b.default = q; - }, function (q, b) { + })(a(284).default); + b.default = r; + }, function (r, b) { var c; function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.lD = void 0; + b.nD = void 0; c = /^\S+$/; - a.prototype.gF = function (f) { + a.prototype.jF = function (f) { return void 0 !== f; }; a.prototype.eg = function (f) { return null !== f && void 0 !== f; }; - a.prototype.LJ = function (f) { - return a.ULa(f); + a.prototype.OJ = function (f) { + return a.TLa(f); }; - a.prototype.eea = function (f) { - return !(!f || !a.ULa(f)); + a.prototype.Zda = function (f) { + return !(!f || !a.TLa(f)); }; - a.prototype.tx = function (f) { + a.prototype.yx = function (f) { return Array.isArray(f); }; - a.prototype.VLa = function (f) { + a.prototype.ULa = function (f) { return !(!f || f.constructor != Uint8Array); }; a.prototype.$h = function (f, k, l) { - return a.fLa(f, k, l); + return a.dLa(f, k, l); }; - a.prototype.dea = function (f) { - return a.dea(f); + a.prototype.Yda = function (f) { + return a.Yda(f); }; - a.prototype.Fea = function (f, k, l) { - return a.z0(f, k, l) && 0 === f % 1; + a.prototype.yea = function (f, k, l) { + return a.B0(f, k, l) && 0 === f % 1; }; - a.prototype.mR = function (f, k, l) { - return a.z0(f, k || 0, l); + a.prototype.oR = function (f, k, l) { + return a.B0(f, k || 0, l); }; - a.prototype.bR = function (f) { - return a.z0(f, 1); + a.prototype.dR = function (f) { + return a.B0(f, 1); }; a.prototype.Tjb = function (f) { - return a.z0(f, 0, 255); + return a.B0(f, 0, 255); }; a.prototype.Ujb = function (f) { return f === +f && (0 === f || f !== (f | 0)) && !0; }; - a.prototype.WLa = function (f) { + a.prototype.VLa = function (f) { return !(!f || !c.test(f)); }; - a.prototype.So = function (f) { - return a.gLa(f); + a.prototype.Uo = function (f) { + return a.eLa(f); }; - a.prototype.Bn = function (f) { - return !(!a.gLa(f) || !f); + a.prototype.An = function (f) { + return !(!a.eLa(f) || !f); }; - a.prototype.aR = function (f) { + a.prototype.cR = function (f) { return !0 === f || !1 === f; }; - a.prototype.t0 = function (f) { + a.prototype.v0 = function (f) { return "function" == typeof f; }; - a.gLa = function (f) { + a.eLa = function (f) { return "string" == typeof f; }; - a.fLa = function (f, k, l) { + a.dLa = function (f, k, l) { return "number" == typeof f && !isNaN(f) && isFinite(f) && (void 0 === k || f >= k) && (void 0 === l || f <= l); }; - a.dea = function (f) { + a.Yda = function (f) { return "number" == typeof f && isNaN(f); }; - a.z0 = function (f, k, l) { - return a.fLa(f, k, l) && 0 === f % 1; + a.B0 = function (f, k, l) { + return a.dLa(f, k, l) && 0 === f % 1; }; - a.ULa = function (f) { + a.TLa = function (f) { return "object" == typeof f; }; - b.lD = new a(); - }, function (q, b, a) { + b.nD = new a(); + }, function (r, b, a) { var c, f, k, @@ -30361,88 +30345,88 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jd = void 0; - q = a(0); + b.kd = void 0; + r = a(0); c = a(89); - f = a(558); + f = a(561); k = a(197); - l = a(574); - d = a(581); - g = a(592); - a = a(1191); - b.jd = new q.YX({ - YG: !0 - }); - g.rXa(b.jd); - b.jd.load(f.platform); - b.jd.load(l.config); - k.wK.load(d.DQa); - b.jd.load(a.aMa); - b.jd.load(a.profile); - b.jd.bind(c.$za).si(b.jd); - }, function (q, b, a) { + l = a(577); + d = a(584); + g = a(595); + a = a(1195); + b.kd = new r.XX({ + fH: !0 + }); + g.pXa(b.kd); + b.kd.load(f.platform); + b.kd.load(l.config); + k.AK.load(d.BQa); + b.kd.load(a.$La); + b.kd.load(a.profile); + b.kd.bind(c.Yza).si(b.kd); + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(193); - q = (function () { + r = (function () { function f(k) { - this.mc = k; + this.oc = k; } - f.prototype.Bv = function (k) { - this.mc.Bv = k; - return new c.C9(this.mc); + f.prototype.Hv = function (k) { + this.oc.Hv = k; + return new c.x9(this.oc); }; return f; })(); - b.QX = q; - }, function (q, b, a) { + b.PX = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(192); - a(300); - q = (function () { + a(302); + r = (function () { function f(k) { - this.mc = k; + this.oc = k; } f.prototype.when = function (k) { - this.mc.YE = k; - return new c.QX(this.mc); + this.oc.$E = k; + return new c.PX(this.oc); }; - f.prototype.xX = function () { - this.mc.YE = function (k) { - return null !== k.target && !k.target.ama() && !k.target.jma(); + f.prototype.wX = function () { + this.oc.$E = function (k) { + return null !== k.target && !k.target.Vla() && !k.target.dma(); }; - return new c.QX(this.mc); + return new c.PX(this.oc); }; return f; })(); - b.C9 = q; - }, function (q, b) { + b.x9 = r; + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.kw = void 0; - b.kw = a; - a.edb = "PSK"; - a.rbb = "MGK"; - a.gAa = "JWEJS_RSA"; - a.NY = "JWK_RSA"; - }, function (q, b) { + b.qw = void 0; + b.qw = a; + a.hdb = "PSK"; + a.vbb = "MGK"; + a.eAa = "JWEJS_RSA"; + a.MY = "JWK_RSA"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Laa = "PlatformEmeSymbol"; - }, function (q, b) { + b.Eaa = "PlatformEmeSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uba = "StringUtilsSymbol"; - }, function (q, b, a) { + b.oba = "StringUtilsSymbol"; + }, function (r, b, a) { var c, f, k, @@ -30452,99 +30436,99 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperty(b, "__esModule", { value: !0 }); - b.wK = b.eme = void 0; - q = a(0); - c = a(120); - f = a(303); + b.AK = b.eme = void 0; + r = a(0); + c = a(119); + f = a(305); k = a(198); l = a(199); - d = a(569); - g = a(570); + d = a(572); + g = a(573); h = a(79); m = a(134); - n = a(571); - r = a(163); - p = a(572); - b.eme = new q.ad(function (u) { - u(f.zxa).to(k.yxa).$(); - u(l.I9).to(d.gwa).$(); - u(c.oY).WW(g.O0a); - u(h.gu).RC(function (t) { - b.wK.parent = t.$a; - return b.wK.get(h.gu); - }); - u(m.lP).sf(function () { + n = a(574); + q = a(163); + p = a(575); + b.eme = new r.$c(function (t) { + t(f.wxa).to(k.vxa).aa(); + t(l.D9).to(d.dwa).aa(); + t(c.nY).VW(g.O0a); + t(h.lu).SC(function (u) { + b.AK.parent = u.$a; + return b.AK.get(h.lu); + }); + t(m.mP).sf(function () { return function () { - return new n.TBa(); + return new n.RBa(); }; }); - u(r.VX).to(p.iwa).$; + t(q.UX).to(p.fwa).aa; }); - b.wK = new q.YX({ - YG: !0 + b.AK = new r.XX({ + fH: !0 }); - }, function (q, b, a) { + }, function (r, b, a) { function c() {} function f(k) { - k ? (this.active = !1, this.jja(k)) : this.active = !0; + k ? (this.active = !1, this.cja(k)) : this.active = !0; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yxa = b.nY = void 0; - q = a(1); + b.vxa = b.mY = void 0; + r = a(1); a = a(0); - f.prototype.jja = function (k) { - this.ee = k.keySessionData ? k.keySessionData.map(function (l) { + f.prototype.cja = function (k) { + this.ce = k.keySessionData ? k.keySessionData.map(function (l) { return { id: l.id, - UF: l.licenseContextId, - oU: l.licenseId + $F: l.licenseContextId, + nU: l.licenseId }; }) : []; - this.ba = k.xid; + this.ca = k.xid; this.K = k.movieId; }; - f.prototype.aw = function () { + f.prototype.fw = function () { return JSON.parse(JSON.stringify({ - keySessionData: this.ee ? this.ee.map(function (k) { + keySessionData: this.ce ? this.ce.map(function (k) { return { id: k.id, - licenseContextId: k.UF, - licenseId: k.oU + licenseContextId: k.$F, + licenseId: k.nU }; }) : [], - xid: this.ba, + xid: this.ca, movieId: this.K })); }; - b.nY = f; + b.mY = f; c.prototype.create = function () { return new f(); }; c.prototype.load = function (k) { return new f(k); }; - a = q.__decorate([a.R()], c); - b.yxa = a; - }, function (q, b) { + a = r.__decorate([a.R()], c); + b.vxa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.I9 = "CachedDrmDataSymbol"; - }, function (q, b) { + b.D9 = "CachedDrmDataSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zw = 'video/mp4; codecs="avc1.640028"'; - b.gI = 'audio/mp4; codecs="mp4a.40.5"'; - b.j$a = "DrmTraitsSymbol"; - }, function (q, b, a) { + b.Fw = 'video/mp4; codecs="avc1.640028"'; + b.oI = 'audio/mp4; codecs="mp4a.40.5"'; + b.m$a = "DrmTraitsSymbol"; + }, function (r, b, a) { var f, k, l, @@ -30553,23 +30537,23 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x, y, z) { - this.PU = t; + t; + function c(u, w, v, x, y, z) { + this.OU = u; this.is = w; - this.Bc = v; - this.Rd = x; - this.hp = y; - this.wh = z; - l.Vn(this, "nav"); + this.Dc = v; + this.Pd = x; + this.ip = y; + this.vh = z; + l.Xn(this, "nav"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.pu = void 0; - q = a(1); + b.uu = void 0; + r = a(1); k = a(0); l = a(56); d = a(3); @@ -30577,176 +30561,181 @@ a000.D9b = function () { h = a(26); m = a(90); n = a(28); - r = a(35); - p = a(68); + q = a(35); + p = a(69); a = a(77); - c.prototype.ky = function () { + c.prototype.py = function () { if (this.fb) return this.fb.sessionId; }; - c.prototype.bQb = function (t, w) { - return this.PU.requestMediaKeySystemAccess(t, w); + c.prototype.gQb = function (u, w) { + return this.OU.requestMediaKeySystemAccess(u, w); }; - c.prototype.createMediaKeys = function (t, w) { - return w.createMediaKeys(); + c.prototype.createMediaKeys = function (u) { + return u.createMediaKeys(); }; - c.prototype.createSession = function (t, w) { - this.fb = t.createSession(w); + c.prototype.createSession = function (u, w) { + this.fb = u.createSession(w); }; - c.prototype.z1 = function () { - return Promise.reject(new m.pg(d.L.qY)); + c.prototype.B1 = function () { + return Promise.reject(new m.pg(d.M.pY)); }; - c.prototype.fFb = function () { + c.prototype.jFb = function () { return !!this.fb; }; - c.prototype.setServerCertificate = function (t, w) { - return this.is.t0(t.setServerCertificate) ? t.setServerCertificate(w) : Promise.resolve(); + c.prototype.setServerCertificate = function (u, w) { + return this.is.v0(u.setServerCertificate) ? u.setServerCertificate(w) : Promise.resolve(); }; - c.prototype.generateRequest = function (t, w) { - return this.fb ? this.fb.generateRequest(t, w[0]) : Promise.reject(new m.pg(d.L.qY, d.M.SH, void 0, "Unable to generate a license request, key session is not valid")); + c.prototype.generateRequest = function (u, w) { + return this.fb ? this.fb.generateRequest(u, w[0]) : Promise.reject(new m.pg(d.M.pY, d.L.$H, void 0, "Unable to generate a license request, key session is not valid")); }; - c.prototype.update = function (t) { - return this.fb ? this.fb.update(t[0]) : Promise.reject(new m.pg(d.L.Uxa, d.M.SH, void 0, "Unable to update the EME with a response, key session is not valid")); + c.prototype.update = function (u) { + return this.fb ? this.fb.update(u[0]) : Promise.reject(new m.pg(d.M.Qxa, d.L.$H, void 0, "Unable to update the EME with a response, key session is not valid")); }; - c.prototype.load = function (t) { - return this.fb ? this.fb.load(t) : Promise.reject(new m.pg(d.L.r$a, d.M.SH, void 0, "Unable to load a key session, key session is not valid")); + c.prototype.load = function (u) { + return this.fb ? this.fb.load(u) : Promise.reject(new m.pg(d.M.u$a, d.L.$H, void 0, "Unable to load a key session, key session is not valid")); }; c.prototype.close = function () { - var t; - this.oga = void 0; + var u; + this.iga = void 0; if (!this.fb) - return Promise.reject(new m.pg(d.L.Mxa, d.M.SH, void 0, "Unable to close a key session, key session is not valid")); - t = Promise.resolve(); - this.ky() && (t = this.fb.close()); + return Promise.reject(new m.pg(d.M.Ixa, d.L.$H, void 0, "Unable to close a key session, key session is not valid")); + u = Promise.resolve(); + this.py() && (u = this.fb.close()); this.fb = void 0; - return t; + return u; }; c.prototype.remove = function () { - return this.fb ? this.fb.remove() : Promise.reject(new m.pg(d.L.s$a, d.M.SH, void 0, "Unable to remove a key session, key session is not valid")); + return this.fb ? this.fb.remove() : Promise.reject(new m.pg(d.M.v$a, d.L.$H, void 0, "Unable to remove a key session, key session is not valid")); }; - c.prototype.CG = function () { - return Promise.reject(new m.pg(d.L.c$, void 0, "Unable to renew a key session, not supported")); + c.prototype.JG = function () { + return Promise.reject(new m.pg(d.M.X9, void 0, "Unable to renew a key session, not supported")); }; - c.prototype.vLa = function (t) { + c.prototype.tLa = function (u) { if (!this.fb) throw ReferenceError("Unable to add message handler, key session is not valid"); - this.fb.addEventListener(f.Yxa, t); + this.fb.addEventListener(f.Uxa, u); }; - c.prototype.rLa = function (t) { + c.prototype.pLa = function (u) { if (!this.fb) throw ReferenceError("Unable to add key status handler, key session is not valid"); - this.fb.addEventListener(f.Xxa, t); + this.fb.addEventListener(f.Txa, u); }; - c.prototype.pLa = function (t) { + c.prototype.nLa = function (u) { if (!this.fb) throw ReferenceError("Unable to add error handler, key session is not valid"); - this.fb.addEventListener(f.Wxa, t); + this.fb.addEventListener(f.Sxa, u); }; - c.prototype.ikb = function (t) { + c.prototype.ikb = function (u) { var w; w = this; if (!this.fb) throw ReferenceError("Unable to add closed unexpectedly handler, key session is not valid"); - this.oga = t; + this.iga = u; this.fb.closed.then(function () { var v; - return null === (v = w.oga) || void 0 === v ? void 0 : v.call(w); + return null === (v = w.iga) || void 0 === v ? void 0 : v.call(w); }); }; - c.prototype.C1a = function (t) { + c.prototype.C1a = function (u) { if (!this.fb) throw ReferenceError("Unable to remove message handler, key session is not valid"); - this.fb.removeEventListener(f.Yxa, t); + this.fb.removeEventListener(f.Uxa, u); }; - c.prototype.A1a = function (t) { + c.prototype.A1a = function (u) { if (!this.fb) throw ReferenceError("Unable to remove key status handler, key session is not valid"); - this.fb.removeEventListener(f.Xxa, t); + this.fb.removeEventListener(f.Txa, u); }; - c.prototype.y1a = function (t) { + c.prototype.y1a = function (u) { if (!this.fb) throw ReferenceError("Unable to remove error handler, key session is not valid"); - this.fb.removeEventListener(f.Wxa, t); + this.fb.removeEventListener(f.Sxa, u); }; - u = f = c; - u.Yxa = "message"; - u.Xxa = "keystatuseschange"; - u.Wxa = "error"; - u = f = q.__decorate([k.R(), q.__param(0, k.l(g.lI)), q.__param(1, k.l(h.Gf)), q.__param(2, k.l(r.Rh)), q.__param(3, k.l(n.Hf)), q.__param(4, k.l(p.bu)), q.__param(5, k.l(a.ru))], u); - b.pu = u; - }, function (q, b) { + t = f = c; + t.Uxa = "message"; + t.Txa = "keystatuseschange"; + t.Sxa = "error"; + t = f = r.__decorate([k.R(), r.__param(0, k.l(g.sI)), r.__param(1, k.l(h.Hf)), r.__param(2, k.l(q.Rh)), r.__param(3, k.l(n.If)), r.__param(4, k.l(p.gu)), r.__param(5, k.l(a.wu))], t); + b.uu = t; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Rla = b.$t = void 0; + b.Mla = b.eu = void 0; (function (a) { - a.j6a = "usable"; - a.nF = "expired"; + a.l6a = "usable"; + a.rF = "expired"; a.released = "released"; - a.o_a = "output-restricted"; - a.CLb = "output-downscaled"; - a.MTb = "status-pending"; - a.eEb = "internal-error"; - })(b.$t || (b.$t = {})); - b.Rla = function (a) { + a.m_a = "output-restricted"; + a.ELb = "output-downscaled"; + a.OTb = "status-pending"; + a.hEb = "internal-error"; + })(b.eu || (b.eu = {})); + b.Mla = function (a) { return !!a && !!a.keyStatuses; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.TD = "_ANY_"; - b.kya = "EnricherSymbol"; - }, function (q, b, a) { + b.GZ = "TimeoutMonitorFactorySymbol"; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.Sr = "_ANY_"; + b.hya = "EnricherSymbol"; + }, function (r, b, a) { var f, k, l; function c(d, g, h, m) { - this.Pa = d; - this.V0 = g; - this.cn = h; + this.La = d; + this.X0 = g; + this.bn = h; this.Gn = void 0 === m ? "General" : m; - this.qga = {}; + this.kga = {}; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dI = void 0; + b.lI = void 0; f = a(8); - k = a(327); - l = a(621); - c.prototype.mLa = function (d, g) { - this.qga[d] = g; + k = a(329); + l = a(624); + c.prototype.kLa = function (d, g) { + this.kga[d] = g; }; c.prototype.fatal = function (d, g) { for (var h = [], m = 1; m < arguments.length; ++m) { h[m - 1] = arguments[m]; } - this.RA(f.hj.C$a, d, this.UN(d, h)); + this.UA(f.fj.F$a, d, this.UN(d, h)); }; c.prototype.error = function (d, g) { for (var h = [], m = 1; m < arguments.length; ++m) { h[m - 1] = arguments[m]; } - this.RA(f.hj.uf, d, this.UN(d, h)); + this.UA(f.fj.wf, d, this.UN(d, h)); }; c.prototype.warn = function (d, g) { for (var h = [], m = 1; m < arguments.length; ++m) { h[m - 1] = arguments[m]; } - this.RA(f.hj.Iba, d, this.UN(d, h)); + this.UA(f.fj.Cba, d, this.UN(d, h)); }; c.prototype.info = function (d, g) { for (var h = [], m = 1; m < arguments.length; ++m) { h[m - 1] = arguments[m]; } - this.RA(f.hj.A$, d, this.UN(d, h)); + this.UA(f.fj.s$, d, this.UN(d, h)); }; c.prototype.trace = function (d, g) { for (var h = [], m = 1; m < arguments.length; ++m) { h[m - 1] = arguments[m]; } - this.RA(f.hj.SGa, d, this.UN(d, h)); + this.UA(f.fj.OGa, d, this.UN(d, h)); }; c.prototype.debug = function (d, g) { for (var h = 1; h < arguments.length; ++h) { ; @@ -30763,7 +30752,7 @@ a000.D9b = function () { for (var m = [], n = 2; n < arguments.length; ++n) { m[n - 2] = arguments[n]; } - this.RA(d, g, this.UN(g, m)); + this.UA(d, g, this.UN(g, m)); }; c.prototype.toString = function () { return JSON.stringify(this); @@ -30773,84 +30762,84 @@ a000.D9b = function () { category: this.Gn }; }; - c.prototype.Pga = function (d) { - return new c(this.Pa, this.V0, this.cn, d); + c.prototype.Jga = function (d) { + return new c(this.La, this.X0, this.bn, d); }; - c.prototype.RA = function (d, g, h) { - d = new k.Q$(d, this.Gn, this.Pa.Zb(), g, h); - g = aa(this.cn.cn); + c.prototype.UA = function (d, g, h) { + d = new k.I$(d, this.Gn, this.La.Xb(), g, h); + g = aa(this.bn.bn); for (h = g.next(); !h.done; h = g.next()) { h = h.value; h(d); } }; - c.prototype.Ryb = function (d) { - return 0 < Object.keys(this.qga).length ? [this.qga].concat(ca(d)) : d; + c.prototype.Vyb = function (d) { + return 0 < Object.keys(this.kga).length ? [this.kga].concat(ca(d)) : d; }; c.prototype.UN = function (d, g) { var h; d && "null" !== d && "undefined" !== d || g.push({ StackTrace: null !== (h = Error("Empty message").stack) && void 0 !== h ? h : "nostack" }); - return l.pNa(this.V0, this.Ryb(g)); + return l.pNa(this.X0, this.Vyb(g)); }; - b.dI = c; - }, function (q, b) { + b.lI = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pba = "SegmentManagerFactorySymbol"; - }, function (q, b) { + b.jba = "SegmentManagerFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Faa = "PboPlaydataFactorySymbol"; - }, function (q, b) { + b.yaa = "PboPlaydataFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.eAa = "IsTypeSupportedProviderFactorySymbol"; - b.bEa = "PlatformIsTypeSupportedSymbol"; - }, function (q, b, a) { + b.cAa = "IsTypeSupportedProviderFactorySymbol"; + b.$Da = "PlatformIsTypeSupportedSymbol"; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p, u) { - var t; - t = k.bq.call(this, m, n, r, u) || this; - t.cast = p; - t.type = l.Bi.J9; - m = c.leb; - t.tX[l.ce.AI] = d.Sd.KO + "; " + m; - t.tX[l.ce.xw] = d.Sd.xw + "; " + m; - m = d.Sd.W8a.find(function (w) { - return t.Ex(h(c.tH, w)); - }); - t.tX[l.ce.Ir] = m; - return t; + function c(m, n, q, p, t) { + var u; + u = k.fq.call(this, m, n, q, t) || this; + u.cast = p; + u.type = l.Bi.E9; + m = c.oeb; + u.sX[l.$d.FI] = d.Qd.KO + "; " + m; + u.sX[l.$d.Dw] = d.Qd.Dw + "; " + m; + m = d.Qd.Y8a.find(function (w) { + return u.Jx(h(c.BH, w)); + }); + u.sX[l.$d.Lr] = m; + return u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.lwa = b.WX = b.K9 = void 0; + b.iwa = b.VX = b.F9 = void 0; f = a(50); - k = a(166); + k = a(165); l = a(25); - q = a(106); + r = a(106); d = a(140); - g = a(209); - h = new q.nA().format; - ka(c, k.bq); - c.Lga = function (m, n) { - return (n = c.f2a(n)) ? { + g = a(210); + h = new r.pA().format; + ja(c, k.fq); + c.Fga = function (m, n) { + return (n = c.e2a(n)) ? { isTypeSupported: n } : m; }; - c.f2a = function (m) { + c.e2a = function (m) { var n; if ("undefined" !== typeof m) { if (m.framework && m.framework.CastReceiverContext && m.framework.CastReceiverContext.getInstance) { @@ -30866,56 +30855,56 @@ a000.D9b = function () { return m.__platform__.canDisplayType; } }; - c.prototype.Zv = function (m) { + c.prototype.dw = function (m) { var n, - r; + q; n = this.cast.__platform__.display && this.cast.__platform__.display.getHdcpVersion; - if (this.config().n6a) { - r = {}; + if (this.config().p6a) { + q = {}; if (n) - return (r[l.gj.oD] = "1.4", r[l.gj.eu] = "2.2", n().then(function (p) { - return p === r[m]; + return (q[l.ej.qD] = "1.4", q[l.ej.ju] = "2.2", n().then(function (p) { + return p === q[m]; })); - n = this.XXa(m); - n = h(c.tH, d.Sd.KO) + " hdcp=" + n; - n = this.Ex.bind(this, n); + n = this.VXa(m); + n = h(c.BH, d.Qd.KO) + " hdcp=" + n; + n = this.Jx.bind(this, n); return Promise.resolve(n()); } return Promise.resolve(!1); }; - c.prototype.VK = function (m) { - return this.tX[m]; + c.prototype.ZK = function (m) { + return this.sX[m]; }; - c.prototype.dL = function () { + c.prototype.gL = function () { var m; m = this; - return this.config().n6a ? this.Zv(l.gj.eu).then(function (n) { - return n ? Promise.resolve(l.gj.eu) : m.Zv(l.gj.oD).then(function (r) { - return r ? Promise.resolve(l.gj.oD) : Promise.resolve(void 0); + return this.config().p6a ? this.dw(l.ej.ju).then(function (n) { + return n ? Promise.resolve(l.ej.ju) : m.dw(l.ej.qD).then(function (q) { + return q ? Promise.resolve(l.ej.qD) : Promise.resolve(void 0); }); }).then(function (n) { - return m.cS(n); + return m.bS(n); }) : Promise.resolve(void 0); }; - c.prototype.cF = function () { + c.prototype.fF = function () { var m, n; - m = k.bq.prototype.cF.call(this); - n = c.PCb; - m[f.O.p$] = ["avc1.4D4028", "width=1920; height=1080; "]; + m = k.fq.prototype.fF.call(this); + n = c.RCb; + m[f.O.h$] = ["avc1.4D4028", "width=1920; height=1080; "]; m[f.O.WO] = ["hev1.2.6.L150.B0", "width=3840; height=2160; "]; m[f.O.YO] = ["hev1.2.6.L153.B0", "width=3840; height=2160; "]; m[f.O.XO] = ["hev1.2.6.L150.B0", "width=3840; height=2160; "]; m[f.O.ZO] = ["hev1.2.6.L153.B0", "width=3840; height=2160; "]; - m[f.O.Tya] = ["hev1.2.6.L90.B0", n]; - m[f.O.Uya] = ["hev1.2.6.L93.B0", n]; - m[f.O.Vya] = ["hev1.2.6.L120.B0", n]; - m[f.O.Wya] = ["hev1.2.6.L123.B0", n]; - m[f.O.Xya] = ["hev1.2.6.L150.B0", "width=3840; height=2160; " + n]; - m[f.O.Yya] = ["hev1.2.6.L153.B0", "width=3840; height=2160; " + n]; + m[f.O.Rya] = ["hev1.2.6.L90.B0", n]; + m[f.O.Sya] = ["hev1.2.6.L93.B0", n]; + m[f.O.Tya] = ["hev1.2.6.L120.B0", n]; + m[f.O.Uya] = ["hev1.2.6.L123.B0", n]; + m[f.O.Vya] = ["hev1.2.6.L150.B0", "width=3840; height=2160; " + n]; + m[f.O.Wya] = ["hev1.2.6.L153.B0", "width=3840; height=2160; " + n]; m[f.O.LO] = ["hev1.2.6.L90.B0", n]; m[f.O.NO] = ["hev1.2.6.L93.B0", n]; - m[f.O.ZH] = ["hev1.2.6.L120.B0", n]; + m[f.O.gI] = ["hev1.2.6.L120.B0", n]; m[f.O.QO] = ["hev1.2.6.L123.B0", n]; m[f.O.SO] = ["hev1.2.6.L150.B0", "width=3840; height=2160; " + n]; m[f.O.UO] = ["hev1.2.6.L153.B0", "width=3840; height=2160; " + n]; @@ -30928,57 +30917,57 @@ a000.D9b = function () { return m; }; c.prototype.QSa = function () { - return [g.Ff.FX, g.Ff.aza, g.Ff.XH, g.Ff.gD]; - }; - c.prototype.Kla = function () { - k.bq.prototype.Kla.call(this); - !c.f2a(this.cast) && this.Ym.push(g.Ff.xw); - }; - b.K9 = c; - c.PCb = "eotf=smpte2084"; - c.leb = "width=3840; height=2160; "; - b.WX = "CastSDKSymbol"; - b.lwa = "CastEmeSymbol"; - }, function (q, b) { + return [g.uf.EX, g.uf.Zya, g.uf.eI, g.uf.iD]; + }; + c.prototype.Fla = function () { + k.fq.prototype.Fla.call(this); + !c.e2a(this.cast) && this.Xm.push(g.uf.Dw); + }; + b.F9 = c; + c.RCb = "eotf=smpte2084"; + c.oeb = "width=3840; height=2160; "; + b.VX = "CastSDKSymbol"; + b.iwa = "CastEmeSymbol"; + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ff = void 0; - b.Ff = a; - a.$ya = /^hevc-main/; - a.Sya = /^hevc-hdr-|hevc-dv/; - a.xw = /^hevc-hdr-/; - a.Ir = /^hevc-dv/; - a.WH = /-h264mpl/; - a.XH = /-h264mpl30/; - a.gD = /-h264mpl31/; - a.YC = /-h264hpl/; - a.QD = /^vp9-/; + b.uf = void 0; + b.uf = a; + a.Yya = /^hevc-main/; + a.Qya = /^hevc-hdr-|hevc-dv/; + a.Dw = /^hevc-hdr-/; + a.Lr = /^hevc-dv/; + a.dI = /-h264mpl/; + a.eI = /-h264mpl30/; + a.iD = /-h264mpl31/; + a.$C = /-h264hpl/; + a.TD = /^vp9-/; a.Fk = /^av1-/; - a.AI = /-L5[0-1]-/; - a.FX = /^heaac-2-/; - a.aza = /^heaac-2hq-dash/; - a.EI = /^xheaac-dash/; - a.d9a = /ddplus-2/; - a.e9a = /ddplus-5/; - a.f9a = /ddplus-atmos/; - }, function (q, b, a) { + a.FI = /-L5[0-1]-/; + a.EX = /^heaac-2-/; + a.Zya = /^heaac-2hq-dash/; + a.WD = /^xheaac-dash/; + a.f9a = /ddplus-2/; + a.g9a = /ddplus-5/; + a.h9a = /ddplus-atmos/; + }, function (r, b, a) { var f, k, l; function c() { - this.type = f.Wt.Bw; + this.type = f.au.Hw; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gA = void 0; + b.hA = void 0; f = a(25); - q = a(106); + r = a(106); k = a(104); - l = new q.nA(); - c.Lga = function () { + l = new r.pA(); + c.Fga = function () { return { isTypeSupported: function (d) { var g; @@ -30986,21 +30975,21 @@ a000.D9b = function () { if (-1 == d.toLowerCase().indexOf("codec")) return pb.MSMediaKeys.isTypeSupported(d, "video/mp4"); g = d.split("|"); - return 1 === g.length ? pb.MSMediaKeys.isTypeSupported(k.Ob.lu, d) : "probably" === c.Rsa(g[0], g[1]); + return 1 === g.length ? pb.MSMediaKeys.isTypeSupported(k.Pb.su, d) : "probably" === c.Msa(g[0], g[1]); } catch (h) { return !1; } } }; }; - c.y1 = function (d, g, h) { - g = l.format(c.tH, g); + c.A1 = function (d, g, h) { + g = l.format(c.BH, g); if (0 === h.length) return g; h = l.format('features="{0}"', h.join()); return l.format("{0}|{1}{2}", d, g, h); }; - c.Rsa = function (d, g) { + c.Msa = function (d, g) { var h; try { h = pb.MSMediaKeys.isTypeSupportedWithFeatures ? pb.MSMediaKeys.isTypeSupportedWithFeatures(d, g) : ""; @@ -31009,59 +30998,59 @@ a000.D9b = function () { } return h; }; - b.gA = c; - c.tH = 'video/mp4;codecs="{0},mp4a";'; - }, function (q, b) { + b.hA = c; + c.BH = 'video/mp4;codecs="{0},mp4a";'; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.i$ = b.Yz = void 0; - q = b.Yz || (b.Yz = {}); - q.reb = "unknown"; - q.Dua = "absent"; - q.gFa = "present"; - q.Error = "error"; - b.i$ = "ExternalDisplayLogHelperSymbol"; - }, function (q, b) { + b.b$ = b.Zz = void 0; + r = b.Zz || (b.Zz = {}); + r.ueb = "unknown"; + r.Aua = "absent"; + r.dFa = "present"; + r.Error = "error"; + b.b$ = "ExternalDisplayLogHelperSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.HZ = "TransportConfigSymbol"; - }, function (q) { - q.exports = function (b, a) { + b.JZ = "TransportConfigSymbol"; + }, function (r) { + r.exports = function (b, a) { return Object.prototype.hasOwnProperty.call(a, b); }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, g; function c(h, m, n) { - for (var r = n.next(); !r.done; ) { - if ((m = h["@@transducer/step"](m, r.value)) && m["@@transducer/reduced"]) { + for (var q = n.next(); !q.done; ) { + if ((m = h["@@transducer/step"](m, q.value)) && m["@@transducer/reduced"]) { m = m["@@transducer/value"]; break; } - r = n.next(); + q = n.next(); } return h["@@transducer/result"](m); } - function f(h, m, n, r) { - return h["@@transducer/result"](n[r](d(h["@@transducer/step"], h), m)); + function f(h, m, n, q) { + return h["@@transducer/result"](n[q](d(h["@@transducer/step"], h), m)); } - k = a(679); - l = a(681); - d = a(682); + k = a(682); + l = a(684); + d = a(685); g = "undefined" !== typeof Symbol ? Symbol.iterator : "@@iterator"; - q.exports = function (h, m, n) { + r.exports = function (h, m, n) { "function" === typeof h && (h = l(h)); if (k(n)) { - for (var r = 0, p = n.length; r < p; ) { - if ((m = h["@@transducer/step"](m, n[r])) && m["@@transducer/reduced"]) { + for (var q = 0, p = n.length; q < p; ) { + if ((m = h["@@transducer/step"](m, n[q])) && m["@@transducer/reduced"]) { m = m["@@transducer/value"]; break; } - r += 1; + q += 1; } return h["@@transducer/result"](m); } @@ -31075,8 +31064,8 @@ a000.D9b = function () { return f(h, m, n, "reduce"); throw new TypeError("reduce: list must be array or iterable"); }; - }, function (q) { - q.exports = function (b, a) { + }, function (r) { + r.exports = function (b, a) { switch (b) { case 0: return function () { @@ -31119,28 +31108,28 @@ a000.D9b = function () { return a.apply(this, arguments); }; case 10: - return function (c, f, k, l, d, g, h, m, n, r) { + return function (c, f, k, l, d, g, h, m, n, q) { return a.apply(this, arguments); }; default: throw Error("First argument to _arity must be a non-negative integer no greater than ten"); } }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.DZ = void 0; + b.EZ = void 0; f = a(11); - c.hka = function () { + c.dka = function () { var k; - k = f.ju && f.ju.height; + k = f.qu && f.qu.height; return k ? 1080 <= k ? 1080 : 720 : 720; }; - b.DZ = c; - }, function (q, b, a) { + b.EZ = c; + }, function (r, b, a) { var f, k, l, @@ -31149,271 +31138,272 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; - function c(x, y, z, B, A, C, E, F, D, G, I, J, H, M, O, L, P, R) { + function c(x, y, z, A, B, C, E, G, D, F, J, K, H, L, Q, I, O, N, M) { this.j = x; this.trackId = y; - this.NF = z; - this.Dd = B; - this.Xx = A; - this.Kha = C; - this.wm = E; - this.displayName = F; - this.po = D; - this.FN = G; - this.variant = I; - this.MM = J; - this.profile = H; - this.et = M; - this.hM = O; - this.xxb = L; - this.v4 = P; - this.Os = R; - this.type = d.Uh.i8; - this.St = void 0; - this.Rn = !(!H || H != h.Or.iI); - this.Kh = { - bcp47: E, + this.SF = z; + this.Cd = A; + this.by = B; + this.Eha = C; + this.Qe = E; + this.wm = G; + this.displayName = D; + this.qo = F; + this.GN = J; + this.variant = K; + this.MM = H; + this.profile = L; + this.kt = Q; + this.jM = I; + this.Dxb = O; + this.v4 = N; + this.Ts = M; + this.type = d.Uh.e8; + this.Yt = void 0; + this.Tn = !(!L || L != h.Rr.qI); + this.kh = { + bcp47: G, trackId: y, - downloadableId: B, - isImageBased: this.Rn + downloadableId: A, + isImageBased: this.Tn }; this.log = g.Ih(x, "TimedTextTrack"); - this.state = v.YY; + this.state = v.XY; this.request = this.request.bind(this); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.MD = void 0; + b.PD = void 0; f = a(1); - k = a(71); + k = a(72); l = a(13); d = a(81); g = a(7); h = a(50); m = a(21); n = a(17); - r = a(987); + q = a(989); p = a(18); - u = a(3); - t = a(988); - w = a(991); + t = a(3); + u = a(990); + w = a(993); (function (x) { - x[x.YY = 0] = "NOT_LOADED"; + x[x.XY = 0] = "NOT_LOADED"; x[x.LOADING = 1] = "LOADING"; - x[x.nD = 2] = "LOADED"; - x[x.iP = 3] = "LOAD_FAILED"; + x[x.pD = 2] = "LOADED"; + x[x.jP = 3] = "LOAD_FAILED"; })(v || (v = {})); - c.prototype.W3 = function () { + c.prototype.X3 = function () { var x; x = this; - if (this.j.state.value === p.Gb.CLOSED || this.j.state.value === p.Gb.CLOSING) + if (this.j.state.value === p.Jb.CLOSED || this.j.state.value === p.Jb.CLOSING) return Promise.reject({ - X: !1 + W: !1 }); - if (this.Rn) - return this.YDb(); - this.rQa || (this.rQa = this.tQa()); - return this.rQa.then(function (y) { - return x.ZDb(y); + if (this.Tn) + return this.aEb(); + this.oQa || (this.oQa = this.qQa()); + return this.oQa.then(function (y) { + return x.bEb(y); }); }; c.prototype.getState = function () { return this.state; }; - c.prototype.AL = function () { - return this.hM; + c.prototype.TF = function () { + return this.jM; }; - c.prototype.s4 = function () { - return this.xxb; + c.prototype.YT = function () { + return this.Dxb; }; - c.prototype.Rq = function (x, y) { + c.prototype.Qq = function (x, y) { var z; try { - return null === (z = this.Lsa) || void 0 === z ? void 0 : z.Rq(x, y); - } catch (B) { - this.log.error("error in getSubtitlesCount", B, { + return null === (z = this.Gsa) || void 0 === z ? void 0 : z.Qq(x, y); + } catch (A) { + this.log.error("error in getSubtitlesCount", A, { start: x, end: y, - isImageBased: this.Rn + isImageBased: this.Tn }); } }; - c.prototype.yBb = function () { + c.prototype.ABb = function () { var x, y, z; - if (!n.Hc(this.Z)) + if (!n.Jc(this.X)) try { - z = null === (y = null === (x = this.Lsa) || void 0 === x ? void 0 : x.tF(0)) || void 0 === y ? void 0 : y[0]; - this.Z = null === z || void 0 === z ? void 0 : z.displayTime; - } catch (B) { - this.log.error("exception in getStartPts", B); + z = null === (y = null === (x = this.Gsa) || void 0 === x ? void 0 : x.xF(0)) || void 0 === y ? void 0 : y[0]; + this.X = null === z || void 0 === z ? void 0 : z.displayTime; + } catch (A) { + this.log.error("exception in getStartPts", A); } - return this.Z; + return this.X; }; - c.prototype.E7 = function (x) { - return this.j.state.value === p.Gb.CLOSING || this.j.state.value === p.Gb.CLOSED ? (this.log.info("playback is closing, abort timed text retry", x), !1) : this.j.Nc.value !== this ? (this.log.info("timed text track was changed, abort timed text retry", x), !1) : !0; + c.prototype.A7 = function (x) { + return this.j.state.value === p.Jb.CLOSING || this.j.state.value === p.Jb.CLOSED ? (this.log.info("playback is closing, abort timed text retry", x), !1) : this.j.Rc.value !== this ? (this.log.info("timed text track was changed, abort timed text retry", x), !1) : !0; }; - c.prototype.pPa = function (x) { + c.prototype.oPa = function (x) { var y, z, - B; + A; y = this; z = g.Ih(this.j, "TimedTextTrack"); z.warn = z.trace.bind(z); z.info = z.debug.bind(z); - z = r.qPa(this.j, z, this.request, this); - B = new(l.config.hXb && !this.Rn ? t.uAa : w.default)(z, x); - B.on("ready", function () { - y.Lsa = B; + z = q.pPa(this.j, z, this.request, this); + A = new(l.config.jXb && !this.Tn ? u.sAa : w.default)(z, x); + A.on("ready", function () { + y.Gsa = A; }); - return B; + return A; }; - c.prototype.YDb = function () { + c.prototype.aEb = function () { var x, y, z, - B, A, + B, C, E; x = this; - if (!this.UVa) { + if (!this.SVa) { this.state = v.LOADING; y = { profile: "nflx-cmisc", url: "", - OMa: !1, - Una: this.et.offset, - MYa: this.et.length, - od: this.j.mediaTime.value || 0, - bufferSize: l.config.xDb, - o7: { - Ca: this.j.jT() + PMa: !1, + Pna: this.kt.offset, + JYa: this.kt.length, + pd: this.j.mediaTime.value || 0, + bufferSize: l.config.BDb, + l7: { + wa: this.j.hT() } }; - z = (this.Kha || []).filter(function (F) { - return (F.id in x.Xx); - }).sort(function (F, D) { - return F.Eg - D.Eg; - }).map(function (F) { - return F.id; + z = (this.Eha || []).filter(function (G) { + return (G.id in x.by); + }).sort(function (G, D) { + return G.Qe - D.Qe; + }).map(function (G) { + return G.id; }); - B = 0; - A = {}; + A = 0; + B = {}; C = !0; - E = function (F, D) { - var G; - if (n.Hc(F)) { - if (C || x.E7(x.Hs(x.ys, "", "image"))) { + E = function (G, D) { + var F; + if (n.Jc(G)) { + if (C || x.A7(x.Ms(x.Cs, "", "image"))) { C = !1; - x.et.url = x.Xx[x.ys]; - y.url = x.et.url; - A[F] = (A[F] || 0) + 1; - G = x.pPa(y); - G.on("ready", function () { + x.kt.url = x.by[x.Cs]; + y.url = x.kt.url; + B[G] = (B[G] || 0) + 1; + F = x.oPa(y); + F.on("ready", function () { D({ - X: !0, + W: !0, track: x }); }); - G.on("error", function (I) { - var J; - I = Object.assign({ - X: !1 - }, I); - J = x.Hs(x.ys, x.et.url, "image"); - J.details = { - midxoffset: x.et.offset, - midxsize: x.et.length + F.on("error", function (J) { + var K; + J = Object.assign({ + W: !1 + }, J); + K = x.Ms(x.Cs, x.kt.url, "image"); + K.details = { + midxoffset: x.kt.offset, + midxsize: x.kt.length }; - J.errorstring = I.errorString; - A[F] <= l.config.b5a ? (x.y2(J, !0, "retry with current cdn"), x.gfa(A[F]).then(function (H) { - x.log.trace("retry timed text download after " + H, x.Hs(x.ys, "", "image")); - E(x.ys, D); - })) : (x.ys = z[B++], x.ys ? (x.y2(J, !0, "retry with next cdn"), x.gfa(A[F]).then(function (H) { - x.log.trace("retry timed text download after " + H, x.Hs(x.ys, "", "image")); - E(x.ys, D); - })) : (x.y2(J, !1, "all cdns tried"), D({ - X: !1, - oJb: "all cdns failed for image subs", + K.errorstring = J.errorString; + B[G] <= l.config.d5a ? (x.z2(K, !0, "retry with current cdn"), x.$ea(B[G]).then(function (H) { + x.log.trace("retry timed text download after " + H, x.Ms(x.Cs, "", "image")); + E(x.Cs, D); + })) : (x.Cs = z[A++], x.Cs ? (x.z2(K, !0, "retry with next cdn"), x.$ea(B[G]).then(function (H) { + x.log.trace("retry timed text download after " + H, x.Ms(x.Cs, "", "image")); + E(x.Cs, D); + })) : (x.z2(K, !1, "all cdns tried"), D({ + W: !1, + qJb: "all cdns failed for image subs", track: x }))); }); - G.start(); + F.start(); } else D({ - X: !1, + W: !1, aborted: !0 }); } else (D({ - X: !1, - oJb: "cdnId is not defined for image subs downloadUrl" - }), x.y2(x.Hs(0, "", "image"), !1, "cdnId is undefined")); + W: !1, + qJb: "cdnId is not defined for image subs downloadUrl" + }), x.z2(x.Ms(0, "", "image"), !1, "cdnId is undefined")); }; - this.ys = z[B++]; - this.UVa = new Promise(function (F, D) { - E(x.ys, function (G) { - G.X ? (x.log.info("Loaded image subtitle manager"), x.state = v.nD, F(G)) : (x.log.error("Unable to load image subtitles manager", G), x.state = v.iP, D(G)); + this.Cs = z[A++]; + this.SVa = new Promise(function (G, D) { + E(x.Cs, function (F) { + F.W ? (x.log.info("Loaded image subtitle manager"), x.state = v.pD, G(F)) : (x.log.error("Unable to load image subtitles manager", F), x.state = v.jP, D(F)); }); }); } - return this.UVa; + return this.SVa; }; - c.prototype.ZDb = function (x) { + c.prototype.bEb = function (x) { var y, z; y = this; - z = this.j.Lz; + z = this.j.Oz; m.gb(z); - return new Promise(function (B, A) { + return new Promise(function (A, B) { var C; - C = y.pPa({ + C = y.oPa({ profile: y.profile, xml: x, - jk: l.config.cta, - preferences: l.config.h8, - od: y.j.mediaTime.value || 0, - OMa: !1, + jk: l.config.Ysa, + preferences: l.config.d8, + pd: y.j.mediaTime.value || 0, + PMa: !1, videoSize: z }); C.on("ready", function () { - B(C); + A(C); }).on("error", function (E) { - A({ - X: !1, + B({ + W: !1, error: E }); }).start(); }).then(function () { - y.state = v.nD; + y.state = v.pD; return { - X: !0, + W: !0, track: y }; - }).catch(function (B) { - y.log.error("Unable to parse timed text track", u.Lr(B), y.Kh, { - url: B.url + }).catch(function (A) { + y.log.error("Unable to parse timed text track", t.Or(A), y.kh, { + url: A.url }); - y.state = v.iP; - B.reason = "parseerror"; - B.track = y; - throw B; + y.state = v.jP; + A.reason = "parseerror"; + A.track = y; + throw A; }); }; - c.prototype.y2 = function (x, y, z) { + c.prototype.z2 = function (x, y, z) { x = Object.assign({}, x, { - l8b: y, + D8b: y, status: z }); - this.j.fireEvent(p.W.GN, x); + this.j.fireEvent(p.Z.HN, x); this.log.warn("subtitleerror event", x); }; c.prototype.request = function (x, y) { @@ -31424,80 +31414,80 @@ a000.D9b = function () { url: x.url, offset: x.offset, length: x.size, - St: this.St, - responseType: k.RT, + Yt: this.Yt, + responseType: k.OT, headers: {}, - Pc: this.wja(this.ys) + pc: this.pja(this.Cs) }; - this.j.P3.download(x, function (B) { - z.log.trace("imgsub: request status " + B.X); - B.X ? y(null, new Uint8Array(B.content)) : y({ - oa: B.oa, - Ve: B.Ve + this.j.Q3.download(x, function (A) { + z.log.trace("imgsub: request status " + A.W); + A.W ? y(null, new Uint8Array(A.content)) : y({ + oa: A.oa, + Xe: A.Xe }); }); }; - c.prototype.Hs = function (x, y, z) { + c.prototype.Ms = function (x, y, z) { return { currentCdnId: x, url: y, profile: this.profile, - dlid: this.Dd, + dlid: this.Cd, subtitletype: z, bcp47: this.wm, trackId: this.trackId, - cdnCount: Object.keys(this.Xx).length, - isImageBased: this.Rn + cdnCount: Object.keys(this.by).length, + isImageBased: this.Tn }; }; - c.prototype.wja = function (x) { - return (this.Kha || []).find(function (y) { + c.prototype.pja = function (x) { + return (this.Eha || []).find(function (y) { return y.id === x; }); }; - c.prototype.tQa = function () { - var B, - A; + c.prototype.qQa = function () { + var A, + B; function x(C) { - return f.__awaiter(B, void 0, void 0, function F() { + return f.__awaiter(A, void 0, void 0, function G() { var D, - G, - I; - G = this; - return Ha(F, function (J) { + F, + J; + F = this; + return Ha(G, function (K) { D = z(); - I = G.Hs(C.Pc.id, C.url, "text"); - I.errorstring = C.reason; - return D && G.E7(I) ? J.return(G.gfa(A[D.id]).then(y)) : J.return(Promise.reject({ - X: !1, + J = F.Ms(C.pc.id, C.url, "text"); + J.errorstring = C.reason; + return D && F.A7(J) ? K.return(F.$ea(B[D.id]).then(y)) : K.return(Promise.reject({ + W: !1, aborted: !0 })); }); }); } function y() { - return f.__awaiter(B, void 0, void 0, function E() { - var F, + return f.__awaiter(A, void 0, void 0, function E() { + var G, D, - G; + F; D = this; - return Ha(E, function (I) { - G = (F = z()) && D.Xx[F.id]; - return F && G ? (A[F.id] = (A[F.id] || 0) + 1, I.return(D.uub(G, F).catch(x))) : I.return(Promise.reject({})); + return Ha(E, function (J) { + F = (G = z()) && D.by[G.id]; + return G && F ? (B[G.id] = (B[G.id] || 0) + 1, J.return(D.yub(F, G).catch(x))) : J.return(Promise.reject({})); }); }); } function z() { - return (B.Kha || []).find(function (C) { - return !!((A[C.id] || 0) < l.config.b5a && B.Xx[C.id]); + return (A.Eha || []).find(function (C) { + return !!((B[C.id] || 0) < l.config.d5a && A.by[C.id]); }); } - B = this; + A = this; this.state = v.LOADING; - A = {}; + B = {}; return y(); }; - c.prototype.gfa = function (x) { + c.prototype.$ea = function (x) { return new Promise(function (y) { var z; z = 1E3 * Math.min(Math.pow(2, x - 1), 8); @@ -31506,29 +31496,29 @@ a000.D9b = function () { }, z); }); }; - c.prototype.uub = function (x, y) { + c.prototype.yub = function (x, y) { var z; z = this; this.log.trace("Downloading", y && ({ - Pc: y.id - }), this.Hs(y.id, x, "text")); - return new Promise(function (B, A) { + pc: y.id + }), this.Ms(y.id, x, "text")); + return new Promise(function (A, B) { var C; C = { - responseType: k.lla, + responseType: k.gla, url: x, track: z, - Pc: y, - hF: "tt-" + z.wm + pc: y, + kF: "tt-" + z.wm }; - z.j.P3.download(C, function (E) { - E.X ? B(E.content) : (E.reason = "downloadfailed", E.url = C.url, E.track = z, E.Pc = y, A(E)); + z.j.Q3.download(C, function (E) { + E.W ? A(E.content) : (E.reason = "downloadfailed", E.url = C.url, E.track = z, E.pc = y, B(E)); }); }); }; - b.MD = c; - c.lA = v; - }, function (q, b) { + b.PD = c; + c.nA = v; + }, function (r, b) { function a(c) { return "globalAudioMemoryLimit" === c || "globalVideoMemoryLimit" === c ? "global" : "staticAudioMemoryLimit" === c || "staticVideoMemoryLimit" === c ? "static" : !1; } @@ -31537,46 +31527,100 @@ a000.D9b = function () { value: !0 } }); - b.aUb = b.f1a = b.uqa = void 0; - b.uqa = function (c) { + b.cUb = b.f1a = b.oqa = void 0; + b.oqa = function (c) { return "globalMemoryLimit" === c ? "global" : "staticMemoryLimit" === c ? "static" : a(c); }; b.f1a = a; - b.aUb = function (c) { + b.cUb = function (c) { var f, k, l; - return "IStreamable: " + c.P + " [" + c.mediaType + "] " + c.groupId + " p:" + (JSON.stringify(c.oh) + " sp:" + c.Tv + " pssp:") + (c.HM + " state:") + (c.hf + " path-complete:" + (null === (f = c.Zy) || void 0 === f ? void 0 : f.V) + " streaming:") + ((null === (k = c.Ck) || void 0 === k ? void 0 : k.V) + " current:" + (null === (l = c.Cd) || void 0 === l ? void 0 : l.V)); + return "IStreamable: " + c.P + " [" + c.mediaType + "] " + c.groupId + " p:" + (JSON.stringify(c.mh) + " sp:" + c.Yv + " pssp:") + (c.HM + " state:") + (c.hf + " path-complete:" + (null === (f = c.bz) || void 0 === f ? void 0 : f.V) + " streaming:") + ((null === (k = c.Rj) || void 0 === k ? void 0 : k.V) + " current:" + (null === (l = c.ud) || void 0 === l ? void 0 : l.V)); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.tIb = b.o5 = b.cf = void 0; + b.vIb = b.o5 = b.cf = void 0; b.cf = [0, 1]; b.o5 = function (a, c) { return a || c ? c ? [1] : [0] : [0, 1]; }; - b.tIb = function (a) { + b.vIb = function (a) { return 0 === a ? "audio" : 1 === a ? "video" : "unknown"; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.OD = void 0; - q = (function () { + b.haa = void 0; + r = (function () { + function a(c, f, k, l) { + var d; + d = this; + this.properties = c; + this.transform = f; + this.NR = k; + this.state = l; + this.Qoa = function () { + var g, + h; + g = d.state; + h = d.properties.map(function (m) { + return m.value; + }); + d.state = d.transform(h); + (d.eWa(d.state) && d.eWa(g) ? d.state.equal(g) : g === d.state) || d.NR(d.state); + }; + c.forEach(function (g) { + return g.addListener(d.Qoa); + }); + this.Qoa(); + } + a.prototype.clear = function () { + var c; + c = this; + this.properties.forEach(function (f) { + return f.removeListener(c.Qoa); + }); + }; + a.prototype.eWa = function (c) { + return void 0 !== c.equal; + }; + return a; + })(); + b.haa = r; + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.Gk = void 0; + r = b.Gk || (b.Gk = {}); + r[r.CLOSED = 0] = "CLOSED"; + r[r.OPEN = 1] = "OPEN"; + r[r.$j = 2] = "STREAMING"; + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.RD = void 0; + r = (function () { function a(c) { - this.DKa = c; + this.BKa = c; } Object.defineProperties(a.prototype, { - vL: { + yL: { get: function () { - return this.Jgb; + return this.Kgb; }, enumerable: !1, configurable: !0 @@ -31585,18 +31629,18 @@ a000.D9b = function () { Object.defineProperties(a.prototype, { result: { get: function () { - return this.DKa; + return this.BKa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - jra: { + cra: { get: function () { var c; c = this; - return this.DKa.then(function () { + return this.BKa.then(function () { return c; }); }, @@ -31605,20 +31649,20 @@ a000.D9b = function () { } }); a.prototype.cancel = function () { - this.Jgb = !0; + this.Kgb = !0; }; - a.prototype.Roa = function (c, f) { + a.prototype.Moa = function (c, f) { var k; k = this; this.result.then(function (l) { - k.vL ? f && f(l) : c(l); + k.yL ? f && f(l) : c(l); }); return this; }; return a; })(); - b.OD = q; - }, function (q, b) { + b.RD = r; + }, function (r, b) { function a(c) { return c && "object" === typeof c ? Array.isArray(c) ? c.map(a) : Object.keys(c).reduce(function (f, k) { f[k] = a(c[k]); @@ -31628,55 +31672,55 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function c(f) { - f && (this.rW(f.hg), this.fsa(f.Yd), this.i3a(f.Ca)); + f && (this.qW(f.Oe), this.Yra(f.ie), this.i3a(f.wa)); } - c.prototype.rW = function (f) { - this.hg = f; + c.prototype.qW = function (f) { + this.Oe = f; return this; }; - c.prototype.fsa = function (f) { - this.Yd = f; + c.prototype.Yra = function (f) { + this.ie = f; return this; }; c.prototype.e3a = function (f) { - this.Fd = f; + this.Ed = f; return this; }; - c.prototype.zq = function (f, k) { - this.Ca || (this.Ca = {}); - this.Ca[f] = a(k); + c.prototype.Cn = function (f, k) { + this.wa || (this.wa = {}); + this.wa[f] = a(k); return this; }; c.prototype.i3a = function (f) { var k; k = this; - this.Ca = {}; + this.wa = {}; Object.keys(f).forEach(function (l) { - return k.zq(l, f[l]); + return k.Cn(l, f[l]); }); }; - c.prototype.ek = function () { + c.prototype.wj = function () { var f; - if (!this.Ca) + if (!this.wa) throw Error("Invalid playgraph - `segments` is not defined"); - if (!this.hg) + if (!this.Oe) throw Error("Invalid playgraph - `initialSegment` is not defined"); - if (!this.Ca[this.hg]) + if (!this.wa[this.Oe]) throw Error("Invalid playgraph - `initialSegment` is not part of `segments`"); f = { - hg: this.hg, - Ca: this.Ca + Oe: this.Oe, + wa: this.wa }; - this.Yd && (f.Yd = this.Yd); - this.Fd && (f.Fd = this.Fd); + this.ie && (f.ie = this.ie); + this.Ed && (f.Ed = this.Ed); return f; }; return c; })(); - b.rI = q; - }, function (q, b, a) { + b.KD = r; + }, function (r, b, a) { var c, f, k, @@ -31688,703 +31732,657 @@ a000.D9b = function () { value: !0 } }); - b.MH = void 0; - q = a(2); + b.UH = void 0; + r = a(2); c = a(172); - f = q.__importDefault(a(224)); - k = q.__importDefault(a(792)); - l = q.__importDefault(a(146)); + f = r.__importDefault(a(227)); + k = r.__importDefault(a(801)); + l = r.__importDefault(a(146)); d = a(6); - b.MH = (function () { + b.UH = (function () { function h(m, n) { - var r; - r = this; - this.mh = new f.default(m, n); - this.Om = new k.default(m); - this.Jb = new l.default(this.Om, this.mh, m); - c.nw.upb(m); - m.r6 && setInterval(function () { - r.mh.save(); - r.Om.save(); - }, m.r6); - } - h.UTa = function (m, n) { - void 0 === g ? (h.config = m, h.QC = n, g = new h(m, n)) : (d.assert(h.config === m), d.assert(h.QC === n)); + var q; + q = this; + this.jh = new f.default(m, n); + this.Nm = new k.default(m); + this.Lb = new l.default(this.Nm, this.jh, m); + c.tw.vpb(m); + m.q6 && setInterval(function () { + q.jh.save(); + q.Nm.save(); + }, m.q6); + } + h.VTa = function (m, n) { + void 0 === g ? (h.config = m, h.RC = n, g = new h(m, n)) : (d.assert(h.config === m), d.assert(h.RC === n)); return g; }; h.reset = function () { h.config = void 0; - g = h.QC = void 0; + g = h.RC = void 0; }; return h; })(); - }, function (q, b, a) { + }, function (r, b, a) { var d; function c(g, h, m) { - this.sK = !1 === g; - this.pK = g || .01; - this.I$ = void 0 === h ? 25 : h; - this.ewa = void 0 === m ? 1.1 : m; + this.wK = !1 === g; + this.tK = g || .01; + this.A$ = void 0 === h ? 25 : h; + this.bwa = void 0 === m ? 1.1 : m; this.ci = new d(f); this.reset(); } function f(g, h) { - return g.Rf > h.Rf ? 1 : g.Rf < h.Rf ? -1 : 0; + return g.Sf > h.Sf ? 1 : g.Sf < h.Sf ? -1 : 0; } function k(g, h) { - return g.wv - h.wv; + return g.Cv - h.Cv; } function l(g) { this.config = g || ({}); this.mode = this.config.mode || "auto"; - c.call(this, "cont" === this.mode ? g.pK : !1); - this.Vtb = this.config.ratio || .9; - this.Wtb = this.config.Q7b || 1E3; + c.call(this, "cont" === this.mode ? g.tK : !1); + this.Ytb = this.config.ratio || .9; + this.Ztb = this.config.g8b || 1E3; this.H5 = 0; } - d = a(773).udb; + d = a(783).xdb; c.prototype.reset = function () { this.ci.clear(); - this.Jma = this.n = 0; + this.Dma = this.n = 0; }; c.prototype.size = function () { return this.ci.size; }; - c.prototype.no = function (g) { + c.prototype.oo = function (g) { var h; h = []; - g ? (this.e_(!0), this.ci.Te(function (m) { + g ? (this.h_(!0), this.ci.Ue(function (m) { h.push(m); - })) : this.ci.Te(function (m) { + })) : this.ci.Ue(function (m) { h.push({ - Rf: m.Rf, + Sf: m.Sf, n: m.n }); }); return h; }; c.prototype.summary = function () { - return [(this.sK ? "exact " : "approximating ") + this.n + " samples using " + this.size() + " centroids", "min = " + this.Si(0), "Q1 = " + this.Si(.25), "Q2 = " + this.Si(.5), "Q3 = " + this.Si(.75), "max = " + this.Si(1)].join("\n"); + return [(this.wK ? "exact " : "approximating ") + this.n + " samples using " + this.size() + " centroids", "min = " + this.Qi(0), "Q1 = " + this.Qi(.25), "Q2 = " + this.Qi(.5), "Q3 = " + this.Qi(.75), "max = " + this.Qi(1)].join("\n"); }; c.prototype.push = function (g, h) { h = h || 1; g = Array.isArray(g) ? g : [g]; for (var m = 0; m < g.length; m++) { - this.IIa(g[m], h); + this.GIa(g[m], h); } }; - c.prototype.gqa = function (g) { + c.prototype.aqa = function (g) { g = Array.isArray(g) ? g : [g]; for (var h = 0; h < g.length; h++) { - this.IIa(g[h].Rf, g[h].n); + this.GIa(g[h].Sf, g[h].n); } }; - c.prototype.e_ = function (g) { + c.prototype.h_ = function (g) { var h; - if (!(this.n === this.Jma || !g && this.ewa && this.ewa > this.n / this.Jma)) { + if (!(this.n === this.Dma || !g && this.bwa && this.bwa > this.n / this.Dma)) { h = 0; - this.ci.Te(function (m) { - m.wv = h + m.n / 2; - h = m.hK = h + m.n; + this.ci.Ue(function (m) { + m.Cv = h + m.n / 2; + h = m.lK = h + m.n; }); - this.n = this.Jma = h; + this.n = this.Dma = h; } }; - c.prototype.$wb = function (g) { + c.prototype.fxb = function (g) { var h, m; if (0 === this.size()) return null; h = this.ci.lowerBound({ - Rf: g + Sf: g }); - m = null === h.data() ? h.xG() : h.data(); - return m.Rf === g || this.sK ? m : (h = h.xG()) && Math.abs(h.Rf - g) < Math.abs(m.Rf - g) ? h : m; + m = null === h.data() ? h.EG() : h.data(); + return m.Sf === g || this.wK ? m : (h = h.EG()) && Math.abs(h.Sf - g) < Math.abs(m.Sf - g) ? h : m; }; - c.prototype.tJ = function (g, h, m) { - this.ci.yp({ - Rf: g, + c.prototype.vJ = function (g, h, m) { + this.ci.Ap({ + Sf: g, n: h, - hK: m + lK: m }); this.n += h; }; - c.prototype.NZ = function (g, h, m) { - h !== g.Rf && (g.Rf += m * (h - g.Rf) / (g.n + m)); - g.hK += m; - g.wv += m / 2; + c.prototype.PZ = function (g, h, m) { + h !== g.Sf && (g.Sf += m * (h - g.Sf) / (g.n + m)); + g.lK += m; + g.Cv += m / 2; g.n += m; this.n += m; }; - c.prototype.IIa = function (g, h) { + c.prototype.GIa = function (g, h) { var m, n, - r; + q; m = this.ci.min(); n = this.ci.max(); - r = this.$wb(g); - r && r.Rf === g ? this.NZ(r, g, h) : r === m ? this.tJ(g, h, 0) : r === n ? this.tJ(g, h, this.n) : this.sK ? this.tJ(g, h, r.hK) : (m = r.wv / this.n, Math.floor(4 * this.n * this.pK * m * (1 - m)) - r.n >= h ? this.NZ(r, g, h) : this.tJ(g, h, r.hK)); - this.e_(!1); - !this.sK && this.I$ && this.size() > this.I$ / this.pK && this.Kx(); + q = this.fxb(g); + q && q.Sf === g ? this.PZ(q, g, h) : q === m ? this.vJ(g, h, 0) : q === n ? this.vJ(g, h, this.n) : this.wK ? this.vJ(g, h, q.lK) : (m = q.Cv / this.n, Math.floor(4 * this.n * this.tK * m * (1 - m)) - q.n >= h ? this.PZ(q, g, h) : this.vJ(g, h, q.lK)); + this.h_(!1); + !this.wK && this.A$ && this.size() > this.A$ / this.tK && this.Px(); }; - c.prototype.Pmb = function (g) { + c.prototype.Qmb = function (g) { var h, m; - this.ci.mm = k; + this.ci.lm = k; h = this.ci.upperBound({ - wv: g + Cv: g }); - this.ci.mm = f; - m = h.xG(); - g = m && m.wv === g ? m : h.next(); + this.ci.lm = f; + m = h.EG(); + g = m && m.Cv === g ? m : h.next(); return [m, g]; }; - c.prototype.Si = function (g) { + c.prototype.Qi = function (g) { var h; - h = (Array.isArray(g) ? g : [g]).map(this.pib, this); + h = (Array.isArray(g) ? g : [g]).map(this.qib, this); return Array.isArray(g) ? h : h[0]; }; - c.prototype.pib = function (g) { + c.prototype.qib = function (g) { var h, m; if (0 !== this.size()) { - this.e_(!0); + this.h_(!0); this.ci.min(); this.ci.max(); g *= this.n; - h = this.Pmb(g); + h = this.Qmb(g); m = h[0]; h = h[1]; - return h === m || null === m || null === h ? (m || h).Rf : this.sK ? g <= m.hK ? m.Rf : h.Rf : m.Rf + (g - m.wv) * (h.Rf - m.Rf) / (h.wv - m.wv); + return h === m || null === m || null === h ? (m || h).Sf : this.wK ? g <= m.lK ? m.Sf : h.Sf : m.Sf + (g - m.Cv) * (h.Sf - m.Sf) / (h.Cv - m.Cv); } }; - c.prototype.Kx = function () { + c.prototype.Px = function () { var g; - if (!this.COa) { - g = this.no(); + if (!this.AOa) { + g = this.oo(); this.reset(); - for (this.COa = !0; 0 < g.length; ) { - this.gqa(g.splice(Math.floor(Math.random() * g.length), 1)[0]); + for (this.AOa = !0; 0 < g.length; ) { + this.aqa(g.splice(Math.floor(Math.random() * g.length), 1)[0]); } - this.e_(!0); - this.COa = !1; + this.h_(!0); + this.AOa = !1; } }; l.prototype = Object.create(c.prototype); l.prototype.constructor = l; l.prototype.push = function (g) { c.prototype.push.call(this, g); - this.xob(); + this.yob(); }; - l.prototype.tJ = function (g, h, m) { + l.prototype.vJ = function (g, h, m) { this.H5 += 1; - c.prototype.tJ.call(this, g, h, m); + c.prototype.vJ.call(this, g, h, m); }; - l.prototype.NZ = function (g, h, m) { + l.prototype.PZ = function (g, h, m) { 1 === g.n && --this.H5; - c.prototype.NZ.call(this, g, h, m); + c.prototype.PZ.call(this, g, h, m); }; - l.prototype.xob = function () { - !("auto" !== this.mode || this.size() < this.Wtb) && this.H5 / this.size() > this.Vtb && (this.mode = "cont", this.sK = !1, this.pK = this.config.pK || .01, this.Kx()); + l.prototype.yob = function () { + !("auto" !== this.mode || this.size() < this.Ztb) && this.H5 / this.size() > this.Ytb && (this.mode = "cont", this.wK = !1, this.tK = this.config.tK || .01, this.Px()); }; - q.exports = { + r.exports = { TDigest: c, Digest: l }; - }, function (q, b, a) { + }, function (r, b, a) { var d, g, h, m, n, - r; + q; function c(p) { - var u; - u = p.Aca; + var t; + t = p.uca; this.I = p; - this.pj = g.wf.HAVE_NOTHING; - this.bJ = p.bJ; - p = new n(this.bJ); - this.WQ = p.create("throughput-location-history", u); - this.gx = p.create("respconn-location-history", u); - this.Ww = p.create("respconn-location-history", u); - this.k0 = p.create("throughput-tdigest-history", u); - this.z_ = p.create("throughput-iqr-history", u); + this.mj = g.yf.HAVE_NOTHING; + this.dJ = p.dJ; + p = new n(this.dJ); + this.YQ = p.create("throughput-location-history", t); + this.lx = p.create("respconn-location-history", t); + this.ax = p.create("respconn-location-history", t); + this.m0 = p.create("throughput-tdigest-history", t); + this.C_ = p.create("throughput-iqr-history", t); this.ib = null; } - function f(p, u, t, w, v) { - this.yA = new c(v); - this.Xr = []; - this.ihb = h.time.aa() - Date.now() % 864E5; - this.Uw = null; + function f(p, t, u, w, v) { + this.AA = new c(v); + this.cs = []; + this.jhb = h.time.ba() - Date.now() % 864E5; + this.Zw = null; this.I = v; for (p = 0; p < w; ++p) { - this.Xr.push(new c(v)); + this.cs.push(new c(v)); } } - function k(p, u, t) { - return d.has(p, u) ? p[u] : p[u] = t; + function k(p, t, u) { + return d.has(p, t) ? p[t] : p[t] = u; } - function l(p, u) { - var t; + function l(p, t) { + var u; this.I = p; - this.TKa = u; - this.Vvb(); - this.qQ = new c(this.I); - this.zQ(); - t = p.hha; - t && (t = { - confidence: g.wf.YH, + this.RKa = t; + this.awb(); + this.rQ = new c(this.I); + this.AQ(); + u = p.bha; + u && (u = { + confidence: g.yf.fI, Oa: { - Ea: parseInt(t, 10), + Fa: parseInt(u, 10), vi: 0 }, - Vi: { - Ea: 0, + Ti: { + Fa: 0, vi: 0 }, - Qs: { - Ea: 0, + Vs: { + Fa: 0, vi: 0 } }, this.get = function () { - return t; + return u; }); } d = a(10); g = a(27).default; b = a(9); - h = a(4).default; - m = b.Mya; - n = a(380).Dya; + h = a(5).default; + m = b.Kya; + n = a(385).Bya; new h.Console("ASEJS_LOCATION_HISTORY", "media|asejs"); - r = { - confidence: g.wf.HAVE_NOTHING + q = { + confidence: g.yf.HAVE_NOTHING }; - c.prototype.HE = function (p, u) { - this.pj = u; - this.WQ.add(p); - this.k0.add(p); - this.ib = h.time.aa(); + c.prototype.JE = function (p, t) { + this.mj = t; + this.YQ.add(p); + this.m0.add(p); + this.ib = h.time.ba(); }; - c.prototype.yH = function (p, u) { - this.z_.set(p, u); + c.prototype.GH = function (p, t) { + this.C_.set(p, t); }; - c.prototype.qx = function (p) { - this.gx.add(p); + c.prototype.vx = function (p) { + this.lx.add(p); }; - c.prototype.ox = function (p) { - this.Ww.add(p); + c.prototype.tx = function (p) { + this.ax.add(p); }; c.prototype.getState = function () { var p, - u, t, + u, w, v, x; - p = this.WQ.getState(); - u = this.gx.getState(); - t = this.Ww.getState(); - w = this.z_.getState(); - v = this.k0.getState(); - if (d.ob(p) && d.ob(u) && d.ob(t)) + p = this.YQ.getState(); + t = this.lx.getState(); + u = this.ax.getState(); + w = this.C_.getState(); + v = this.m0.getState(); + if (d.tb(p) && d.tb(t) && d.tb(u)) return null; x = { - c: this.pj, - t: h.time.eoa(this.ib) - }; - d.ob(p) || (x.tp = p); - d.ob(u) || (x.rt = u); - d.ob(t) || (x.hrt = t); - d.ob(w) || (x.iqr = w); - d.ob(v) || (x.td = v); + c: this.mj, + t: h.time.$na(this.ib) + }; + d.tb(p) || (x.tp = p); + d.tb(t) || (x.rt = t); + d.tb(u) || (x.hrt = u); + d.tb(w) || (x.iqr = w); + d.tb(v) || (x.td = v); return x; }; - c.prototype.Ce = function (p) { - var u; - u = h.time.now(); - if (!(p && d.has(p, "c") && d.has(p, "t") && d.has(p, "tp") && d.isFinite(p.c) && d.isFinite(p.t)) || 0 > p.c || p.c > g.wf.YH || p.t > u || !this.WQ.Ce(p.tp)) - return (this.pj = g.wf.HAVE_NOTHING, this.Uw = this.ib = null, this.WQ.Ce(null), this.gx.Ce(null), this.Ww.Ce(null), !1); - this.pj = p.c; - this.ib = h.time.zoa(p.t); - this.gx.Ce(d.has(p, "rt") ? p.rt : null); - this.Ww.Ce(d.has(p, "hrt") ? p.hrt : null); - d.has(p, "iqr") && this.z_.Ce(p.iqr); - d.has(p, "td") && this.k0.Ce(p.td); + c.prototype.Ee = function (p) { + var t; + t = h.time.now(); + if (!(p && d.has(p, "c") && d.has(p, "t") && d.has(p, "tp") && d.isFinite(p.c) && d.isFinite(p.t)) || 0 > p.c || p.c > g.yf.fI || p.t > t || !this.YQ.Ee(p.tp)) + return (this.mj = g.yf.HAVE_NOTHING, this.Zw = this.ib = null, this.YQ.Ee(null), this.lx.Ee(null), this.ax.Ee(null), !1); + this.mj = p.c; + this.ib = h.time.uoa(p.t); + this.lx.Ee(d.has(p, "rt") ? p.rt : null); + this.ax.Ee(d.has(p, "hrt") ? p.hrt : null); + d.has(p, "iqr") && this.C_.Ee(p.iqr); + d.has(p, "td") && this.m0.Ee(p.td); return !0; }; c.prototype.get = function () { var p, - u, t, + u, w, v, x; p = this.I; - if (d.ob(this.ib)) - return r; - u = (h.time.aa() - this.ib) / 1E3; - u > p.Egb ? this.pj = g.wf.HAVE_NOTHING : u > p.fgb && (this.pj = Math.min(this.pj, g.wf.Zz)); - p = this.WQ.get(); - t = this.gx.get(); - w = this.Ww.get(); - v = this.z_.get(); - x = this.k0.get(); - u = { - Cl: u, - confidence: this.pj, + if (d.tb(this.ib)) + return q; + t = (h.time.ba() - this.ib) / 1E3; + t > p.Fgb ? this.mj = g.yf.HAVE_NOTHING : t > p.ggb && (this.mj = Math.min(this.mj, g.yf.$z)); + p = this.YQ.get(); + u = this.lx.get(); + w = this.ax.get(); + v = this.C_.get(); + x = this.m0.get(); + t = { + Bl: t, + confidence: this.mj, Oa: p, - Vi: t, - Qs: w, - Rs: v, + Ti: u, + Vs: w, + Ws: v, Sj: x }; - p && (u.S7b = m.prototype.Mpa.bind(p)); - t && (u.l7b = m.prototype.Mpa.bind(t)); - w && (u.j5b = m.prototype.Mpa.bind(w)); - return u; + p && (t.i8b = m.prototype.Hpa.bind(p)); + u && (t.x7b = m.prototype.Hpa.bind(u)); + w && (t.r5b = m.prototype.Hpa.bind(w)); + return t; }; c.prototype.time = function () { return this.ib; }; - f.prototype.Kg = function () { - return ((h.time.aa() - this.ihb) / 1E3 / 3600 / (24 / this.Xr.length) | 0) % this.Xr.length; + f.prototype.Ig = function () { + return ((h.time.ba() - this.jhb) / 1E3 / 3600 / (24 / this.cs.length) | 0) % this.cs.length; }; f.prototype.getState = function () { var p; p = { - g: this.yA.getState(), - h: this.Xr.map(function (u) { - return u.getState(); + g: this.AA.getState(), + h: this.cs.map(function (t) { + return t.getState(); }) }; - d.ob(this.Uw) || (p.f = h.time.eoa(this.Uw)); + d.tb(this.Zw) || (p.f = h.time.$na(this.Zw)); return p; }; - f.prototype.Ce = function (p) { - var u, - t; - if (!this.yA.Ce(p.g)) + f.prototype.Ee = function (p) { + var t, + u; + if (!this.AA.Ee(p.g)) return !1; - u = this.Xr.length; - t = !1; - this.Xr.forEach(function (w, v) { - t = !w.Ce(p.h[v * p.h.length / u | 0]) || t; + t = this.cs.length; + u = !1; + this.cs.forEach(function (w, v) { + u = !w.Ee(p.h[v * p.h.length / t | 0]) || u; }); - this.Uw = d.has(p, "f") ? h.time.zoa(p.f) : null; - return t; + this.Zw = d.has(p, "f") ? h.time.uoa(p.f) : null; + return u; }; - f.prototype.HE = function (p, u) { - this.yA.HE(p, u); - this.Xr[this.Kg()].HE(p, u); - this.Uw = null; + f.prototype.JE = function (p, t) { + this.AA.JE(p, t); + this.cs[this.Ig()].JE(p, t); + this.Zw = null; }; - f.prototype.yH = function (p, u) { - this.yA.yH(p, u); - this.Xr[this.Kg()].yH(p, u); + f.prototype.GH = function (p, t) { + this.AA.GH(p, t); + this.cs[this.Ig()].GH(p, t); }; - f.prototype.qx = function (p) { - this.yA.qx(p); - this.Xr[this.Kg()].qx(p); + f.prototype.vx = function (p) { + this.AA.vx(p); + this.cs[this.Ig()].vx(p); }; - f.prototype.ox = function (p) { - this.yA.ox(p); - this.Xr[this.Kg()].ox(p); + f.prototype.tx = function (p) { + this.AA.tx(p); + this.cs[this.Ig()].tx(p); }; f.prototype.fail = function (p) { - this.Uw = p; + this.Zw = p; }; f.prototype.get = function () { var p, - u; - if (!d.ob(this.Uw)) { - if ((h.time.aa() - this.Uw) / 1E3 < this.I.egb) + t; + if (!d.tb(this.Zw)) { + if ((h.time.ba() - this.Zw) / 1E3 < this.I.fgb) return { - confidence: g.wf.HAVE_NOTHING, - Cs: !0 + confidence: g.yf.HAVE_NOTHING, + Gs: !0 }; - this.Uw = null; + this.Zw = null; } - p = this.Xr[this.Kg()].get(); - u = this.yA.get(); - p = p.confidence >= u.confidence ? p : u; - p.Cs = !1; + p = this.cs[this.Ig()].get(); + t = this.AA.get(); + p = p.confidence >= t.confidence ? p : t; + p.Gs = !1; return p; }; f.prototype.time = function () { - return this.yA.time(); + return this.AA.time(); }; - l.prototype.cJa = function (p, u) { - var t; - t = this.I; - p = k(this.uQ, p, {}); - return k(p, u, new f(t.qJa || 14400, t.pJa || 100, t.oJa || 100, t.jKa || 4, t)); + l.prototype.aJa = function (p, t) { + var u; + u = this.I; + p = k(this.vQ, p, {}); + return k(p, t, new f(u.oJa || 14400, u.nJa || 100, u.mJa || 100, u.hKa || 4, u)); }; - l.prototype.zQ = function () { + l.prototype.AQ = function () { var p, - u; + t; p = h.storage.get("lh"); - u = h.storage.get("gh"); - p && this.Kda(p); - u && this.ijb(u); + t = h.storage.get("gh"); + p && this.Eda(p); + t && this.jjb(t); }; - l.prototype.Ica = function () { + l.prototype.Cca = function () { var p; p = {}; - d.Te(this.uQ, function (u, t) { - d.Te(u, function (w, v) { - k(p, t, {})[v] = w.getState(); + d.Ue(this.vQ, function (t, u) { + d.Ue(t, function (w, v) { + k(p, u, {})[v] = w.getState(); }, this); }, this); return p; }; - l.prototype.ijb = function (p) { - this.qQ.Ce(p); + l.prototype.jjb = function (p) { + this.rQ.Ee(p); }; - l.prototype.Kda = function (p) { - var u, - t; - u = null; - t = this.I; - d.Te(p, function (w, v) { - d.Te(w, function (x, y) { + l.prototype.Eda = function (p) { + var t, + u; + t = null; + u = this.I; + d.Ue(p, function (w, v) { + d.Ue(w, function (x, y) { var z; - z = new f(t.qJa || 14400, t.pJa || 100, t.oJa || 100, t.jKa || 4, t); - z.Ce(x) ? (k(this.uQ, v, {})[y] = z, u = !0) : d.ob(u) && (u = !1); + z = new f(u.oJa || 14400, u.nJa || 100, u.mJa || 100, u.hKa || 4, u); + z.Ee(x) ? (k(this.vQ, v, {})[y] = z, t = !0) : d.tb(t) && (t = !1); }, this); }, this); - return d.ob(u) ? !0 : u; + return d.tb(t) ? !0 : t; }; l.prototype.save = function () { var p; - p = this.Ica(); + p = this.Cca(); h.storage.set("lh", p); - h.storage.set("gh", this.qQ.getState()); - this.TKa && this.TKa.Vra(this.qQ.getState()); + h.storage.set("gh", this.rQ.getState()); + this.RKa && this.RKa.Ora(this.rQ.getState()); }; - l.prototype.Vvb = function () { - this.uQ = {}; - this.ZI = this.EIa = ""; - this.tn = null; + l.prototype.awb = function () { + this.vQ = {}; + this.aJ = this.CIa = ""; + this.sn = null; }; - l.prototype.pN = function (p) { - this.EIa = p; - this.tn = null; + l.prototype.qN = function (p) { + this.CIa = p; + this.sn = null; }; - l.prototype.B7 = function (p) { - this.ZI = p; - this.tn = null; + l.prototype.x7 = function (p) { + this.aJ = p; + this.sn = null; }; - l.prototype.u_ = function () { - d.ob(this.tn) && (this.tn = this.cJa(this.EIa, this.ZI)); - return this.tn; + l.prototype.x_ = function () { + d.tb(this.sn) && (this.sn = this.aJa(this.CIa, this.aJ)); + return this.sn; }; - l.prototype.HE = function (p, u) { - this.u_().HE(p, u); - this.qQ.HE(p, u); + l.prototype.JE = function (p, t) { + this.x_().JE(p, t); + this.rQ.JE(p, t); }; - l.prototype.yH = function (p, u) { - p && p.gl && p.Jj && p.il && (this.u_().yH(p, u), this.qQ.yH(p, u)); + l.prototype.GH = function (p, t) { + p && p.gl && p.Ij && p.il && (this.x_().GH(p, t), this.rQ.GH(p, t)); }; - l.prototype.qx = function (p) { - this.u_().qx(p); + l.prototype.vx = function (p) { + this.x_().vx(p); }; - l.prototype.ox = function (p) { - this.u_().ox(p); + l.prototype.tx = function (p) { + this.x_().tx(p); }; - l.prototype.fail = function (p, u) { - this.cJa(p, this.ZI).fail(u); + l.prototype.fail = function (p, t) { + this.aJa(p, this.aJ).fail(t); }; - l.prototype.get = function (p, u) { - var t, + l.prototype.get = function (p, t) { + var u, w, v, x; - p = (p = this.uQ[p]) ? p[this.ZI] : null; - t = null; - if (p && (t = p.get(), t.confidence > g.wf.HAVE_NOTHING)) - return t; - if (!1 === u) - return r; - w = t = null; + p = (p = this.vQ[p]) ? p[this.aJ] : null; + u = null; + if (p && (u = p.get(), u.confidence > g.yf.HAVE_NOTHING)) + return u; + if (!1 === t) + return q; + w = u = null; v = !1; x = null; - d.Te(this.uQ, function (y) { - d.Te(y, function (z, B) { - var A; - if (!v || B == this.ZI) { - A = z.get(); - A && (!w || w <= A.confidence) && (!x || w < A.confidence || x < z.time()) && (w = A.confidence, v = B == this.ZI, x = z.time(), t = A); + d.Ue(this.vQ, function (y) { + d.Ue(y, function (z, A) { + var B; + if (!v || A == this.aJ) { + B = z.get(); + B && (!w || w <= B.confidence) && (!x || w < B.confidence || x < z.time()) && (w = B.confidence, v = A == this.aJ, x = z.time(), u = B); } }, this); }, this); - return t ? t : r; + return u ? u : q; }; - q.exports = l; - }, function (q, b, a) { + r.exports = l; + }, function (r, b, a) { var l; function c(d) { - this.GJ = d; + this.IJ = d; this.reset(); } function f(d) { - this.wj = new c(d); - this.ve = 0; - this.Ac = null; + this.tj = new c(d); + this.xe = 0; + this.Cc = null; } function k(d, g) { - this.GJ = d; - this.MJa = g; + this.IJ = d; + this.KJa = g; this.reset(); } l = a(10); - c.prototype.rKa = function (d, g) { + c.prototype.pKa = function (d, g) { this.ib += d; - this.qj += d; - this.Fc += g; - this.yn.push({ + this.nj += d; + this.Hc += g; + this.xn.push({ d: d, b: g }); }; - c.prototype.LQ = function () { + c.prototype.MQ = function () { var d; - for (; this.qj > this.GJ; ) { - d = this.yn.shift(); - this.Fc -= d.b; - this.qj -= d.d; + for (; this.nj > this.IJ; ) { + d = this.xn.shift(); + this.Hc -= d.b; + this.nj -= d.d; } }; c.prototype.reset = function () { - this.yn = []; + this.xn = []; this.ib = null; - this.qj = this.Fc = 0; + this.nj = this.Hc = 0; }; c.prototype.setInterval = function (d) { - this.GJ = d; - this.LQ(); + this.IJ = d; + this.MQ(); }; c.prototype.start = function (d) { - l.ob(this.ib) && (this.ib = d); + l.tb(this.ib) && (this.ib = d); }; c.prototype.add = function (d, g, h) { - l.ob(this.ib) && (this.ib = g); - g > this.ib && this.rKa(g - this.ib, 0); - this.rKa(h > this.ib ? h - this.ib : 0, d); - this.LQ(); + l.tb(this.ib) && (this.ib = g); + g > this.ib && this.pKa(g - this.ib, 0); + this.pKa(h > this.ib ? h - this.ib : 0, d); + this.MQ(); }; c.prototype.get = function () { return { - Ea: Math.floor(8 * this.Fc / this.qj), + Fa: Math.floor(8 * this.Hc / this.nj), vi: 0 }; }; f.prototype.reset = function () { - this.wj.reset(); - this.ve = 0; - this.Ac = null; + this.tj.reset(); + this.xe = 0; + this.Cc = null; }; f.prototype.add = function (d, g, h) { - !l.ob(this.Ac) && h > this.Ac && (g > this.Ac && (this.ve += g - this.Ac), this.Ac = null); - this.wj.add(d, g - this.ve, h - this.ve); + !l.tb(this.Cc) && h > this.Cc && (g > this.Cc && (this.xe += g - this.Cc), this.Cc = null); + this.tj.add(d, g - this.xe, h - this.xe); }; f.prototype.start = function (d) { - !l.ob(this.Ac) && d > this.Ac && (this.ve += d - this.Ac, this.Ac = null); - this.wj.start(d - this.ve); + !l.tb(this.Cc) && d > this.Cc && (this.xe += d - this.Cc, this.Cc = null); + this.tj.start(d - this.xe); }; f.prototype.stop = function (d) { - this.Ac = l.ob(this.Ac) ? d : Math.min(d, this.Ac); + this.Cc = l.tb(this.Cc) ? d : Math.min(d, this.Cc); }; f.prototype.get = function () { - return this.wj.get(); + return this.tj.get(); }; f.prototype.setInterval = function (d) { - this.wj.setInterval(d); + this.tj.setInterval(d); }; k.prototype.reset = function () { - this.yn = []; - this.Fc = this.qj = 0; + this.xn = []; + this.Hc = this.nj = 0; }; k.prototype.add = function (d, g, h, m) { - void 0 !== m && !0 === m && (g = h - g, this.qj += g, this.Fc += d, this.yn.push({ + void 0 !== m && !0 === m && (g = h - g, this.nj += g, this.Hc += d, this.xn.push({ d: g, b: d - }), this.LQ()); + }), this.MQ()); }; - k.prototype.LQ = function () { + k.prototype.MQ = function () { var d; - for (; this.qj > this.GJ || this.yn.length > this.MJa; ) { - d = this.yn.shift(); - this.Fc -= d.b; - this.qj -= d.d; + for (; this.nj > this.IJ || this.xn.length > this.KJa; ) { + d = this.xn.shift(); + this.Hc -= d.b; + this.nj -= d.d; } }; k.prototype.start = function () {}; k.prototype.stop = function () {}; k.prototype.get = function () { return { - Ea: Math.floor(8 * this.Fc / this.qj), + Fa: Math.floor(8 * this.Hc / this.nj), vi: 0 }; }; k.prototype.setInterval = function (d, g) { - this.GJ = d; - this.MJa = g; - this.LQ(); + this.IJ = d; + this.KJa = g; + this.MQ(); }; - q.exports = { - AZb: c, - e$a: f, - yeb: k - }; - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.hn = void 0; - q = b.hn || (b.hn = {}); - q[q.CLOSED = 0] = "CLOSED"; - q[q.OPEN = 1] = "OPEN"; - q[q.Zj = 2] = "STREAMING"; - }, function (q, b) { - function a(c) { - var f; - f = { - profile: c.spoofedProfile || c.profile, - gja: c.max_framerate_value, - fja: c.max_framerate_scale, - maxWidth: c.maxWidth, - maxHeight: c.maxHeight, - yMb: c.pixelAspectX, - zMb: c.pixelAspectY, - channels: c.channels, - sampleRate: c.channels ? 48E3 : void 0 - }; - c.spoofedProfile && (f.P6b = c.profile); - return f; - } - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.HTa = b.GTa = void 0; - b.GTa = function (c, f, k) { - var l; - l = [{}, {} - ]; - (0 === k ? ["audio_tracks"] : ["audio_tracks", "video_tracks"]).forEach(function (d, g) { - c[d].some(function (h, m) { - return m === f[g] ? (l[g] = a(h), !0) : !1; - }); - }); - return l; + r.exports = { + BZb: c, + g$a: f, + zeb: k }; - b.HTa = a; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -32394,166 +32392,166 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; + t; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.u9 = void 0; + b.p9 = void 0; c = a(2); f = a(16); - k = a(810); - q = a(96); - l = a(811); - d = a(837); - g = a(840); - h = a(241); + k = a(812); + r = a(96); + l = a(813); + d = a(839); + g = a(842); + h = a(242); m = a(14); - n = c.__importDefault(a(4)); - r = a(6); + n = c.__importDefault(a(5)); + q = a(6); p = a(9); - a(227); - u = (function () { - return function (t) { + a(171); + t = (function () { + return function (u) { var w; - w = t.yWa; - t = t.Ula; - this.AU = this.replace = w; - this.yg = t; + w = u.wWa; + u = u.Ola; + this.zU = this.replace = w; + this.Ng = u; }; })(); - a = (function (t) { + a = (function (u) { function w(v, x) { var y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da; - y = x.Db; + M, + P, + R, + ea; + y = x.Fb; z = x.sa; - B = x.bo; - A = x.Fd; - C = x.AYa; + A = x.co; + B = x.Ed; + C = x.xYa; E = x.Gi; - F = x.config; - D = x.jVa; - G = x.ZM; - I = x.N2; - J = x.Jb; - H = x.mh; - M = x.ZU; - O = x.iRa; - x = x.ZG; - L = t.call(this) || this; - L.da = v; - L.I3 = !1; - L.sJa = []; - L.KJa = []; - L.Ah = []; - L.pB = []; - L.pm = !1; - L.Db = y; - L.CQ = z; - L.bo = B; - L.Vb = function (na) { - return 0 <= A.indexOf(na); + G = x.config; + D = x.hVa; + F = x.ZM; + J = x.O2; + K = x.Lb; + H = x.jh; + L = x.YU; + Q = x.hRa; + x = x.gH; + I = u.call(this) || this; + I.$ = v; + I.J3 = !1; + I.qJa = []; + I.IJa = []; + I.yh = []; + I.qB = []; + I.om = !1; + I.Fb = y; + I.DQ = z; + I.co = A; + I.Yb = function (pa) { + return 0 <= B.indexOf(pa); }; - L.config = F; - L.console = new n.default.Console("ASEJS", "media|asejs", "<" + String(L.da) + ">"); - D && (v = D.AB, L.Af = new g.lza(L, L.console, L.config, D.Qm, D.BT, v, D.n4, D.mf, D.ol, D.Pg, D.LB), L.AB = v); - L.KB = new f.EventEmitter(); - L.N2 = I; - L.Jb = J; - L.ZU = M; - L.Pl = new h.O$(L.sa, J, H, L.config, null === O || void 0 === O ? void 0 : O.Qm); - O && (D = O.Sq, I = O.Lm, J = O.DL, L.Mo = O.qh, L.DL = J, L.Lm = I, L.Sq = D, L.wca = new d.mya(L.Pl, L.config, L.kCb.bind(L), L.jCb.bind(L))); - L.ZM = G; - L.ZG = x; - L.Ze = new u(C); - L.Gi = E; - P = [[], []]; - R = [{}, {} + I.config = G; + I.console = new n.default.Console("ASEJS", "media|asejs", "<" + String(I.$) + ">"); + D && (v = D.BB, I.Cf = new g.jza(I, I.console, I.config, D.Pm, D.zT, v, D.o4, D.mf, D.nl, D.Og, D.NB), I.BB = v); + I.MB = new f.EventEmitter(); + I.O2 = J; + I.Lb = K; + I.YU = L; + I.Pl = new h.G$(I.sa, K, H, I.config, null === Q || void 0 === Q ? void 0 : Q.Pm); + Q && (D = Q.Rq, J = Q.Jm, K = Q.FL, I.No = Q.ph, I.FL = K, I.Jm = J, I.Rq = D, I.qca = new d.jya(I.Pl, I.config, I.mCb.bind(I), I.lCb.bind(I))); + I.ZM = F; + I.gH = x; + I.$e = new t(C); + I.Gi = E; + O = [[], []]; + N = [{}, {} ]; - K = [0, 0]; - Q = !1; - N = L.Vb(0); - da = L.Vb(1); - ["audio_tracks", "video_tracks"].forEach(function (na, va) { - var ra; - ra = 0 === va; - ra && !N || 1 === va && !da || L.sa[na].forEach(function (X, ta) { - X = new l.iva({ - N: L, - cC: X, + M = [0, 0]; + P = !1; + R = I.Yb(0); + ea = I.Yb(1); + ["audio_tracks", "video_tracks"].forEach(function (pa, va) { + var ta; + ta = 0 === va; + ta && !R || 1 === va && !ea || I.sa[pa].forEach(function (Y, ra) { + Y = new l.fva({ + N: I, + eC: Y, mediaType: va, - yg: C.Ula, - ON: ta, - EE: ta + (ra ? L.sa.video_tracks.length : 0) - }, L.config, L.console); - P[va].push(X); - R[va] = c.__assign(c.__assign({}, R[va]), X.BF()); - X.maxBitrate > K[X.mediaType] && (K[X.mediaType] = X.maxBitrate); - Q = Q || X.LT; + Ng: C.Ola, + PN: ra, + GE: ra + (ta ? I.sa.video_tracks.length : 0) + }, I.config, I.console); + O[va].push(Y); + N[va] = c.__assign(c.__assign({}, N[va]), Y.GF()); + Y.maxBitrate > M[Y.mediaType] && (M[Y.mediaType] = Y.maxBitrate); + P = P || Y.JT; }); }); - L.KI = P; - L.WTb = R; - L.vv = K; - L.LT = Q; - return L; + I.OI = O; + I.YTb = N; + I.Bv = M; + I.JT = P; + return I; } - c.__extends(w, t); + c.__extends(w, u); Object.defineProperties(w.prototype, { sa: { get: function () { - return this.CQ; + return this.DQ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(w.prototype, { - zU: { + yU: { get: function () { var v; - return !(null === (v = this.KI[1][0]) || void 0 === v || !v.zU); + return !(null === (v = this.OI[1][0]) || void 0 === v || !v.yU); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(w.prototype, { - Rg: { + Qg: { get: function () { - return this.sJa; + return this.qJa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(w.prototype, { - RHb: { + UHb: { get: function () { - return this.KJa; + return this.IJa; }, enumerable: !1, configurable: !0 @@ -32569,7 +32567,7 @@ a000.D9b = function () { } }); Object.defineProperties(w.prototype, { - ym: { + Hn: { get: function () { return this.sa.choiceMap; }, @@ -32587,220 +32585,220 @@ a000.D9b = function () { } }); Object.defineProperties(w.prototype, { - Ej: { + Dj: { get: function () { - return this.pm; + return this.om; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(w.prototype, { - jp: { + kp: { get: function () { - r.assert(this.wca, "ErrorDirector is not available on old architecture prefetch viewables."); - return this.wca; + q.assert(this.qca, "ErrorDirector is not available on old architecture prefetch viewables."); + return this.qca; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(w.prototype, { - FK: { + JK: { get: function () { - return this.jp.events; + return this.kp.events; }, enumerable: !1, configurable: !0 } }); - w.prototype.wb = function () { + w.prototype.zb = function () { this.close(); - this.Ic(); + this.Kc(); }; w.prototype.close = function () { var v; - this.pB = []; - null === (v = this.wca) || void 0 === v ? void 0 : v.wb(); - this.Pl.wb(); - this.pm = !0; + this.qB = []; + null === (v = this.qca) || void 0 === v ? void 0 : v.zb(); + this.Pl.zb(); + this.om = !0; }; - w.prototype.Ic = function () { - this.Af && this.Af.Ic(); + w.prototype.Kc = function () { + this.Cf && this.Cf.Kc(); }; - w.prototype.SWb = function (v) { + w.prototype.UWb = function (v) { var x, y, z, - B, A, + B, C; x = this; y = v.sa; - z = v.Fd; - B = void 0 === z ? m.cf : z; - r.assert(v.Gi === this.Gi, "Updating Viewable clearplay not supported"); + z = v.Ed; + A = void 0 === z ? m.cf : z; + q.assert(v.Gi === this.Gi, "Updating Viewable clearplay not supported"); m.cf.forEach(function (E) { - r.assert(x.Vb(E) === 0 <= B.indexOf(E), "Updating Viewable media types not supported"); + q.assert(x.Yb(E) === 0 <= A.indexOf(E), "Updating Viewable media types not supported"); }); - r.assert(y.movieId === this.sa.movieId, "Changing Viewable manifest movieId unsupported"); - A = this.Vb(0); - C = this.Vb(1); - ["audio_tracks", "video_tracks"].forEach(function (E, F) { + q.assert(y.movieId === this.sa.movieId, "Changing Viewable manifest movieId unsupported"); + B = this.Yb(0); + C = this.Yb(1); + ["audio_tracks", "video_tracks"].forEach(function (E, G) { var D; - if ((0 !== F || A) && (1 !== F || C)) { + if ((0 !== G || B) && (1 !== G || C)) { E = x.sa[E]; - D = x.KI[F]; - r.assert(E.length === D.length, "Changing Viewable tracks unsupported"); - E.forEach(function (G, I) { - var J; - I = D[I]; - r.assert(G.track_id === I.trackId); - G = G.streams; - J = Object.keys(I.BF()); - r.assert(G.length === J.length); - G.forEach(function (H) { - r.assert(-1 !== J.indexOf(H.downloadable_id), "Changing Viewable track streams unsupported"); + D = x.OI[G]; + q.assert(E.length === D.length, "Changing Viewable tracks unsupported"); + E.forEach(function (F, J) { + var K; + J = D[J]; + q.assert(F.track_id === J.trackId); + F = F.streams; + K = Object.keys(J.GF()); + q.assert(F.length === K.length); + F.forEach(function (H) { + q.assert(-1 !== K.indexOf(H.downloadable_id), "Changing Viewable track streams unsupported"); }); }); } }); - this.CQ = y; - this.Pl.FE(this.sa); + this.DQ = y; + this.Pl.MJ(this.sa); }; - w.prototype.GC = function (v) { + w.prototype.IC = function (v) { var x, y, z; - x = v.Dv; - y = v.ba; - z = v.Kq; - v = v.Pm; - x && y ? (this.G7 = new k.mGa(x, { - ba: String(y), - Kq: !!z, - fIb: this.config.aZ.mx, - Vmb: this.config.aZ.lv - }, v), this.jp.GC(this.G7)) : v("SideChannel: pbcid/xid is missing."); - }; - w.prototype.zy = function () { - return void 0 !== this.ym; + x = v.Jv; + y = v.ca; + z = v.Lq; + v = v.Om; + x && y ? (this.C7 = new k.iGa(x, { + ca: String(y), + Lq: !!z, + iIb: this.config.$Y.mx, + Wmb: this.config.$Y.lv + }, v), this.kp.IC(this.C7)) : v("SideChannel: pbcid/xid is missing."); + }; + w.prototype.Cy = function () { + return void 0 !== this.Hn; }; w.prototype.getTracks = function (v) { - return this.KI[v]; + return this.OI[v]; }; w.prototype.getTrackById = function (v) { var x; - this.KI.some(function (y) { + this.OI.some(function (y) { return y.some(function (z) { if (z.trackId === v) return (x = z, !0); }); }); - x || this.console.warn("getTrackById not found:", v, "length:", this.KI.length); + x || this.console.warn("getTrackById not found:", v, "length:", this.OI.length); return x; }; - w.prototype.HUa = function (v, x) { + w.prototype.GUa = function (v, x) { var y; - y = this.KI[v]; + y = this.OI[v]; if (0 > x || x >= y.length) this.console.warn("getTrackByIndex out of range:", x, "length:", y.length, "mediaType:", v); else return y[x]; }; - w.prototype.jv = function (v, x) { - return (v = this.BF(v)) && v[x]; + w.prototype.qv = function (v, x) { + return (v = this.GF(v)) && v[x]; }; - w.prototype.BF = function (v) { - return this.WTb[v]; + w.prototype.GF = function (v) { + return this.YTb[v]; }; - w.prototype.uWb = function (v, x) { - this.sJa[v] = x; - x.stream.Y && this.Y5a(v, x.stream.Y); + w.prototype.wWb = function (v, x) { + this.qJa[v] = x; + x.stream.Y && this.$5a(v, x.stream.Y); }; - w.prototype.qFb = function (v) { + w.prototype.tFb = function (v) { var x, y; - if (void 0 === v.I6 || void 0 === v.Upa) { - x = this.Pl.Tja().filter(function (z) { - return void 0 !== z.streams[v.La]; + if (void 0 === v.F6 || void 0 === v.Opa) { + x = this.Pl.Mja().filter(function (z) { + return void 0 !== z.streams[v.Ma]; })[0]; y = x.children.filter(function (z) { - return z.urls.some(function (B) { - return B.stream.id === v.La; + return z.urls.some(function (A) { + return A.stream.id === v.Ma; }); })[0]; - v.I6 = x.id; - v.Upa = y.id; + v.F6 = x.id; + v.Opa = y.id; } return { - oma: v.location === v.I6, - rFb: v.cd === v.Upa + ima: v.location === v.F6, + uFb: v.cd === v.Opa }; }; - w.prototype.$ra = function (v, x, y) { - void 0 !== x && void 0 !== y && (this.K1a(v.mediaType, x), v.$ra(x, y)); + w.prototype.Tra = function (v, x, y) { + void 0 !== x && void 0 !== y && (this.J1a(v.mediaType, x), v.Tra(x, y)); }; - w.prototype.K1a = function (v, x) { + w.prototype.J1a = function (v, x) { var y, z; - z = this.config.moa; - ("location" === z || "video_location" === z && 1 === v) && this.Jb.pN(x); - null === (y = this.N2) || void 0 === y ? void 0 : y.call(this).NKb(v, x); + z = this.config.hoa; + ("location" === z || "video_location" === z && 1 === v) && this.Lb.qN(x); + null === (y = this.O2) || void 0 === y ? void 0 : y.call(this).PKb(v, x); }; - w.prototype.qh = function (v, x, y, z, B) { - r.assert(this.Mo, "Stream failure reporting can not be used on old architecture prefetch viewables."); - return this.Mo(v, x, y, z, B); + w.prototype.ph = function (v, x, y, z, A) { + q.assert(this.No, "Stream failure reporting can not be used on old architecture prefetch viewables."); + return this.No(v, x, y, z, A); }; - w.prototype.qo = function () { + w.prototype.ro = function () { var v, x, y; v = this; x = []; - if (this.Ej) - return (this.console.error("updateRequestUrls, closed Viewable:", this.da), !1); + if (this.Dj) + return (this.console.error("updateRequestUrls, closed Viewable:", this.$), !1); m.cf.forEach(function (z) { - v.Vb(z) && v.LWb(z) && (z = v.zWb(z), 0 < z.length && x.push.apply(x, z)); + v.Yb(z) && v.NWb(z) && (z = v.BWb(z), 0 < z.length && x.push.apply(x, z)); }); - y = this.vWb(); + y = this.xWb(); 0 < y.length && x.push.apply(x, y); - return this.nQb(x); + return this.sQb(x); }; - w.prototype.Fm = function (v, x) { + w.prototype.Dm = function (v, x) { var y; y = this.getTracks(1)[0]; - r.assert(y); - if (y.rL) - return y.Fm(v, x); + q.assert(y); + if (y.uL) + return y.Dm(v, x); }; - w.prototype.LWb = function (v) { + w.prototype.NWb = function (v) { var x, y, - A, + B, C; - if (this.Ej) + if (this.Dj) return (this.console.warn("updateStreamUrls ignored, viewable cleaned up"), !1); - if (!this.Vb(v)) + if (!this.Yb(v)) return (this.console.warn("updateStreamUrls ignored, streaming for mediaType type not enabled", v), !1); y = !0; try { - for (var z = c.__values(this.Ah), B = z.next(); !B.done; B = z.next()) { - A = B.value.Ra(v); - r.assert(A); - C = this.Pl.hX(this.da, A.track.Qd); - C || A.Eb("location selector failed to update streamList"); + for (var z = c.__values(this.yh), A = z.next(); !A.done; A = z.next()) { + B = A.value.Sa(v); + q.assert(B); + C = this.Pl.gX(this.$, B.track.Od); + C || B.Gb("location selector failed to update streamList"); y = y && C; } - } catch (F) { + } catch (G) { var E; E = { - error: F + error: G }; } finally { try { - B && !B.done && (x = z.return) && x.call(z); + A && !A.done && (x = z.return) && x.call(z); } finally { if (E) @@ -32809,23 +32807,23 @@ a000.D9b = function () { } return y; }; - w.prototype.vWb = function () { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.qo(); + w.prototype.xWb = function () { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.ro(); }; - w.prototype.zWb = function (v) { + w.prototype.BWb = function (v) { var x, y, - A; + B; y = []; - if (this.Ej) + if (this.Dj) return (this.console.warn("updateStreamUrls ignored, viewable cleaned up"), y); - if (!this.Vb(v)) + if (!this.Yb(v)) return (this.console.warn("updateStreamUrls ignored, streaming for mediaType type not enabled", v), y); try { - for (var z = c.__values(this.Ah), B = z.next(); !B.done; B = z.next()) { - A = B.value.qo(v); - A.length && y.push.apply(y, A); + for (var z = c.__values(this.yh), A = z.next(); !A.done; A = z.next()) { + B = A.value.ro(v); + B.length && y.push.apply(y, B); } } catch (E) { var C; @@ -32835,7 +32833,7 @@ a000.D9b = function () { } finally { try { - B && !B.done && (x = z.return) && x.call(z); + A && !A.done && (x = z.return) && x.call(z); } finally { if (C) @@ -32844,7 +32842,7 @@ a000.D9b = function () { } return y; }; - w.prototype.nQb = function (v) { + w.prototype.sQb = function (v) { var x, y, z; @@ -32853,434 +32851,434 @@ a000.D9b = function () { return !0; y = 0; z = []; - v.forEach(function (B) { - var A; - if (B.Lc) { - A = B.N; - A.Db > x.Db && (z.push({ - N: A, - track: B.stream.track + v.forEach(function (A) { + var B; + if (A.Nc) { + B = A.N; + B.Fb > x.Fb && (z.push({ + N: B, + track: A.stream.track }), ++y); } }); - z.forEach(function (B) { - var A; - A = B.track; - B.N.YM([0 === A.mediaType ? A : void 0, 1 === A.mediaType ? A : void 0], void 0, A.mediaType); + z.forEach(function (A) { + var B; + B = A.track; + A.N.YM([0 === B.mediaType ? B : void 0, 1 === B.mediaType ? B : void 0], void 0, B.mediaType); }); return y === v.length; }; - w.prototype.Ij = function () { + w.prototype.Hj = function () { var v; v = this; - this.Pl.Ij(); - this.jp.Ij(); - this.G7 && (r.assert(this.AB), m.cf.forEach(function (x) { - x = v.AB(x); - v.G7.Ira("rebuffer", x.Ima); + this.Pl.Hj(); + this.kp.Hj(); + this.C7 && (q.assert(this.BB), m.cf.forEach(function (x) { + x = v.BB(x); + v.C7.Bra("rebuffer", x.Cma); })); }; - w.prototype.Poa = function () { - this.jp.Poa(); + w.prototype.Koa = function () { + this.kp.Koa(); }; - w.prototype.Ota = function (v, x) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - this.Af.Ota(v, x); + w.prototype.Jta = function (v, x) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + this.Cf.Jta(v, x); }; - w.prototype.C3 = function () { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables.."); - return this.Af.C3(); + w.prototype.D3 = function () { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables.."); + return this.Cf.D3(); }; - w.prototype.jga = function () { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - this.Af.jga(); + w.prototype.dga = function () { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + this.Cf.dga(); }; - w.prototype.oN = function (v) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - this.Af.oN(v); + w.prototype.pN = function (v) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + this.Cf.pN(v); }; - w.prototype.uta = function () { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.uta(); + w.prototype.pta = function () { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.pta(); }; w.prototype.pk = function (v, x) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.pk(v, x); + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.pk(v, x); }; - w.prototype.cPa = function (v, x, y) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - this.Af.u8(v, x, y, !0); + w.prototype.bPa = function (v, x, y) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + this.Cf.q8(v, x, y, !0); }; - w.prototype.u0 = function (v, x, y) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.u0(v, x, !!y); + w.prototype.w0 = function (v, x, y) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.w0(v, x, !!y); }; - w.prototype.QRb = function (v, x) { - this.pB.push({ + w.prototype.TRb = function (v, x) { + this.qB.push({ stream: v, - BBb: x + DBb: x }); }; - w.prototype.wPb = function () { - this.pB = []; + w.prototype.BPb = function () { + this.qB = []; }; - w.prototype.CPb = function (v) { - this.pB = this.pB.filter(function (x) { + w.prototype.HPb = function (v) { + this.qB = this.qB.filter(function (x) { return x.stream !== v; }); }; - w.prototype.BPb = function (v) { - this.pB = this.pB.filter(function (x) { + w.prototype.GPb = function (v) { + this.qB = this.qB.filter(function (x) { return x !== v; }); }; - w.prototype.iL = function () { + w.prototype.lL = function () { var v; v = this; - r.assert(this.Lm, "Streamables not available on old architecture prefetch viewables."); - return this.Lm() ? [] : this.pB.map(function (x) { + q.assert(this.Jm, "Streamables not available on old architecture prefetch viewables."); + return this.Jm() ? [] : this.qB.map(function (x) { var y, z; y = x.stream; - z = x.BBb; + z = x.DBb; z = z(); return { - P: "" + y.da, + P: "" + y.$, mediaType: y.mediaType, - oh: z.oh, + mh: z.mh, hf: z.hf, - Zy: z.Zy, - Ck: z.Ck, - Cd: z.Cd, - H6: p.S.hb, + bz: z.bz, + Rj: z.Rj, + ud: z.ud, + E6: p.S.hb, HM: 1, - Tv: 1, - groupId: "" + v.da, - VB: !0, - Ts: !1, - JWa: function () { + Yv: 1, + groupId: "" + v.$, + XB: !0, + Ys: !1, + HWa: function () { return { result: !0 }; }, - NWa: function () { - if (y.sH()) - return (v.CPb(y), { - zp: !0, + LWa: function () { + if (y.AH()) + return (v.HPb(y), { + Bp: !0, reason: "success" }); - v.BPb(x); + v.GPb(x); return { - zp: !1, + Bp: !1, reason: "viewableTryIssueHeaderRequest" }; } }; }); }; - w.prototype.sH = function (v, x) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.sH(v, x); + w.prototype.AH = function (v, x) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.AH(v, x); }; - w.prototype.cR = function (v, x) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.cR(v, x); + w.prototype.eR = function (v, x) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.eR(v, x); }; - w.prototype.ira = function (v) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.ira(v); + w.prototype.bra = function (v) { + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.bra(v); }; w.prototype.YM = function (v, x, y) { - r.assert(this.Af, "Headers not available on old architecture prefetch viewables."); - return this.Af.YM(v, x, y); + q.assert(this.Cf, "Headers not available on old architecture prefetch viewables."); + return this.Cf.YM(v, x, y); }; - w.prototype.mCb = function (v) { + w.prototype.oCb = function (v) { var x, y, z; - x = v.La; + x = v.Ma; y = v.mediaType; - this.Y5a(y, v.stream.Y); - x = this.jv(y, x); - z = this.zy() ? this.config.nYa : 0; - x.R5a(n.default.Mn()[y], z); - this.KB.emit("onHeaderFragments", v); + this.$5a(y, v.stream.Y); + x = this.qv(y, x); + z = this.Cy() ? this.config.kYa : 0; + x.T5a(n.default.Nn()[y], z); + this.MB.emit("onHeaderFragments", v); }; - w.prototype.Dqa = function (v) { - this.Ah.push(v); + w.prototype.xqa = function (v) { + this.yh.push(v); }; - w.prototype.Dta = function (v) { - v = this.Ah.indexOf(v); - r.assert(-1 !== v, "Unexpected call to unregisterBranch, branch not registered with Viewable."); - this.Ah.splice(v, 1); + w.prototype.yta = function (v) { + v = this.yh.indexOf(v); + q.assert(-1 !== v, "Unexpected call to unregisterBranch, branch not registered with Viewable."); + this.yh.splice(v, 1); }; w.prototype.i6 = function (v) { var x; - null === (x = this.ZM) || void 0 === x ? void 0 : x.px(v); + null === (x = this.ZM) || void 0 === x ? void 0 : x.ux(v); }; - w.prototype.Wy = function (v) { - this.Ej ? this.console.warn("onloadstart ignored, viewable cleaned up, mediaRequest:", v) : void 0 !== v.location && this.K1a(v.mediaType, v.location); + w.prototype.Zy = function (v) { + this.Dj ? this.console.warn("onloadstart ignored, viewable cleaned up, mediaRequest:", v) : void 0 !== v.location && this.J1a(v.mediaType, v.location); }; - w.prototype.rM = function (v) { - this.Ej ? this.console.warn("onprogress ignored, viewable cleaned up, mediaRequest:", v) : this.jp.y8({ - timestamp: v.Ye, + w.prototype.tM = function (v) { + this.Dj ? this.console.warn("onprogress ignored, viewable cleaned up, mediaRequest:", v) : this.kp.u8({ + timestamp: v.Ze, url: v.url }); }; - w.prototype.wk = function (v) { + w.prototype.vk = function (v) { var x; - null === (x = this.ZM) || void 0 === x ? void 0 : x.BG(v); - r.assert(this.Lm && this.ZU, "Requests cannot be handled on old architecture prefetch viewables."); - this.Ej ? this.console.warn("oncomplete ignored, viewable cleanuped, mediaRequest:", v) : this.Lm() || (this.jp.y8({ - timestamp: v.Ye, + null === (x = this.ZM) || void 0 === x ? void 0 : x.IG(v); + q.assert(this.Jm && this.YU, "Requests cannot be handled on old architecture prefetch viewables."); + this.Dj ? this.console.warn("oncomplete ignored, viewable cleanuped, mediaRequest:", v) : this.Jm() || (this.kp.u8({ + timestamp: v.Ze, mediaRequest: v - }), this.ZU(v)); + }), this.YU(v)); }; - w.prototype.iV = function (v, x, y) { + w.prototype.hV = function (v, x, y) { var z; - y && (null === (z = this.ZM) || void 0 === z ? void 0 : z.BG(v)); + y && (null === (z = this.ZM) || void 0 === z ? void 0 : z.IG(v)); }; - w.prototype.jV = function (v) { - this.Ej ? this.console.warn("onerror ignored, viewable cleaned up, mediaRequest:", v) : (this.jp.hr({ + w.prototype.iV = function (v) { + this.Dj ? this.console.warn("onerror ignored, viewable cleaned up, mediaRequest:", v) : (this.kp.jr({ url: v.url - }, v.status, v.Og, v.Ri), this.qo() || this.qh(v.JK || "unknown", "NFErr_MC_StreamingFailure", v.Og, v.status, v.Ri)); + }, v.status, v.Mg, v.Oi), this.ro() || this.ph(v.NK || "unknown", "NFErr_MC_StreamingFailure", v.Mg, v.status, v.Oi)); }; - w.prototype.Y5a = function (v, x) { - this.KJa[v] = x.Ana; + w.prototype.$5a = function (v, x) { + this.IJa[v] = x.vna; }; - w.prototype.kCb = function (v) { + w.prototype.mCb = function (v) { var x, y, z; - r.assert(this.DL, "Error handling not available on old architecture prefetch viewables."); - if (!this.pm) { - x = v.XEb; - y = v.uLb; - z = v.vLb; - v = v.wLb; - this.console.warn("Streaming failure, isBuffering " + this.DL() + " is permanent: " + x + ", last error code: " + y + ", last http code: " + z + ", last native code: " + v); - x ? (this.console.warn(" > Permanent failure, done"), this.qh("Permanent failure", "NFErr_MC_StreamingFailure", y, z, v)) : this.DL() ? (this.console.warn(" > We are buffering, calling it!"), this.qh("Temporary failure while buffering", "NFErr_MC_StreamingFailure", v, z, v)) : (this.console.warn(" > Resetting failures"), this.jp.c7()); + q.assert(this.FL, "Error handling not available on old architecture prefetch viewables."); + if (!this.om) { + x = v.aFb; + y = v.wLb; + z = v.xLb; + v = v.yLb; + this.console.warn("Streaming failure, isBuffering " + this.FL() + " is permanent: " + x + ", last error code: " + y + ", last http code: " + z + ", last native code: " + v); + x ? (this.console.warn(" > Permanent failure, done"), this.ph("Permanent failure", "NFErr_MC_StreamingFailure", y, z, v)) : this.FL() ? (this.console.warn(" > We are buffering, calling it!"), this.ph("Temporary failure while buffering", "NFErr_MC_StreamingFailure", v, z, v)) : (this.console.warn(" > Resetting failures"), this.kp.a7()); } }; - w.prototype.jCb = function () { - r.assert(this.Sq, "Error handling not available on old architecture prefetch viewables."); - this.pm || (this.qo(), this.Sq()); + w.prototype.lCb = function () { + q.assert(this.Rq, "Error handling not available on old architecture prefetch viewables."); + this.om || (this.ro(), this.Rq()); }; return w; - })(q.jw); - b.u9 = a; - }, function (q, b, a) { + })(r.pw); + b.p9 = a; + }, function (r, b, a) { var D, - G, - I, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta; - function c(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + nb, + cb, + Sa; + function c(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function f(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function f(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function k(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function k(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function l(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); - this.WG = Ca.config.WG; - this.fd = this.sizes = void 0; + function l(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); + this.dH = Ba.config.dH; + this.gd = this.sizes = void 0; } - function d(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function d(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } function g() { - for (var Ca = new DataView(this), La = "", Ma, Va = 0; Va < this.byteLength; Va++) { - Ma = Ca.getUint8(Va); + for (var Ba = new DataView(this), La = "", Ma, Va = 0; Va < this.byteLength; Va++) { + Ma = Ba.getUint8(Va); La += ("00" + Ma.toString(16)).slice(-2); } return La; } - function h(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function h(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function m(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function m(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function n(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function n(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function r(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function q(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function p(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function p(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function u(Ca) { + function t(Ba) { function La(Ma, Va, ib, yb, Eb) { - J.call(this, Ma, Va, ib, yb, Eb); - this.SU = Ca; + K.call(this, Ma, Va, ib, yb, Eb); + this.RU = Ba; } La.Ka = !1; - La.prototype = new J(); + La.prototype = new K(); La.prototype.constructor = La; Object.defineProperties(La.prototype, { yO: { get: function () { - return this.SU; + return this.RU; } } }); La.prototype.parse = function () { - this.u.console.trace("renaming '" + this.type + "' to draft type '" + this.SU + "'"); + this.u.console.trace("renaming '" + this.type + "' to draft type '" + this.RU + "'"); this.u.offset = this.startOffset + 4; - this.ia.AX(this.yO); + this.ja.zX(this.yO); this.type = this.yO; return !0; }; return La; } - function t(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function u(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function w(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function w(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function v(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function v(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function x(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function x(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function y(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function y(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function z(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function z(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function B(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function A(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function A(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function B(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function C(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function C(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function E(Ca, La, Ma, Va, ib) { - J.call(this, Ca, La, Ma, Va, ib); + function E(Ba, La, Ma, Va, ib) { + K.call(this, Ba, La, Ma, Va, ib); } - function F(Ca, La) { - Ca.forEach(function (Ma) { - La[Ma.Lb] = Ma; + function G(Ba, La) { + Ba.forEach(function (Ma) { + La[Ma.Mb] = Ma; }); } D = a(147).assert; b = a(97); - G = a(230).S; - I = a(391); + F = a(231).S; + J = a(395); a(148); a(82); a(82); a(82); - J = a(31).kc; - H = a(813).default; - M = a(814).default; - O = a(815).default; + K = a(31).mc; + H = a(815).default; L = a(816).default; - P = a(817).default; - R = a(818).default; - K = a(819).default; - Q = a(820).default; - N = a(821).default; - a(231); + Q = a(817).default; + I = a(818).default; + O = a(819).default; + N = a(820).default; + M = a(821).default; + P = a(822).default; + R = a(823).default; + a(232); a(173); - da = a(392).Y8; - na = a(392).b$; - va = a(822).default; - ra = a(823).default; - X = a(83).default; - ta = a(83).g9; - za = a(83).h9; - V = a(83).i9; - T = a(83).j9; - ja = a(824).default; - Ia = a(825).default; - wa = a(83).x$; - Sa = a(83).s$; - Ua = a(83).B7a; - $a = a(826).default; - Za = a(827).default; - mb = a(828).default; - db = a(393).default; - Ta = a(394).default; + ea = a(396).T8; + pa = a(396).W9; + va = a(824).default; + ta = a(825).default; + Y = a(83).default; + ra = a(83).b9; + Ea = a(83).c9; + V = a(83).d9; + U = a(83).e9; + ma = a(826).default; + Ia = a(827).default; + wa = a(83).p$; + Ta = a(83).k$; + Ua = a(83).D7a; + ab = a(828).default; + Za = a(829).default; + nb = a(830).default; + cb = a(397).default; + Sa = a(398).default; a(149); - a(234); a(235); - a(233); - a = a(829).default; + a(236); + a(234); + a = a(831).default; c.Ka = !0; - c.prototype = new J(); + c.prototype = new K(); c.prototype.constructor = c; f.Ka = !0; - f.prototype = new J(); + f.prototype = new K(); f.prototype.constructor = f; k.Ka = !1; - k.prototype = new J(); + k.prototype = new K(); k.prototype.constructor = k; k.prototype.parse = function () { - var Ca; - this.ec(); - 1 === this.version ? (this.u.Hd(), this.u.Hd(), this.U = this.u.ta(), this.duration = this.u.Hd()) : (this.u.ta(), this.u.ta(), this.U = this.u.ta(), this.duration = this.u.ta()); - Ca = this.u.Dc() & 32767; - this.language = String.fromCharCode(96 + (Ca >>> 10), 96 + (Ca >>> 5 & 31), 96 + (Ca & 31)); + var Ba; + this.ic(); + 1 === this.version ? (this.u.Gd(), this.u.Gd(), this.U = this.u.ta(), this.duration = this.u.Gd()) : (this.u.ta(), this.u.ta(), this.U = this.u.ta(), this.duration = this.u.ta()); + Ba = this.u.Gc() & 32767; + this.language = String.fromCharCode(96 + (Ba >>> 10), 96 + (Ba >>> 5 & 31), 96 + (Ba & 31)); return !0; }; l.Ka = !1; - l.prototype = new J(); + l.prototype = new K(); l.prototype.constructor = l; - l.prototype.sda = function () { - this.ec(); + l.prototype.mda = function () { + this.ic(); this.u.ta(); this.U = this.u.ta(); - 0 === this.version ? (this.CS = this.u.ta(), this.VS = this.u.ta()) : (this.CS = this.u.Hd(), this.VS = this.u.Hd()); - this.X1a = this.u.Dc(); - this.QV = this.u.Dc(); + 0 === this.version ? (this.BS = this.u.ta(), this.US = this.u.ta()) : (this.BS = this.u.Gd(), this.US = this.u.Gd()); + this.W1a = this.u.Gc(); + this.PV = this.u.Gc(); }; - l.prototype.kca = function (Ca, La) { + l.prototype.eca = function (Ba, La) { var Ma, Va, ib; Ma = this.U; - Ca = Ca && Ca.U || Ma; - Va = Ca / Ma; - Ma = this.u.fz(La, 12, !1); - ib = 1 === Va ? this.u.fz(La, 12, !1) : I.from(Uint32Array, { + Ba = Ba && Ba.U || Ma; + Va = Ba / Ma; + Ma = this.u.iz(La, 12, !1); + ib = 1 === Va ? this.u.iz(La, 12, !1) : J.from(Uint32Array, { length: La }, function () { var yb; @@ -33288,12 +33286,12 @@ a000.D9b = function () { this.u.offset += 8; return yb; }, this); - this.Wda(La, ib, Ma, Ca); + this.Qda(La, ib, Ma, Ba); }; - l.prototype.Wda = function (Ca, La, Ma, Va) { - if (this.WG) { - Va = this.WG * Va / 1E3; - for (var ib = 0, yb = 1; yb < Ca; yb++) { + l.prototype.Qda = function (Ba, La, Ma, Va) { + if (this.dH) { + Va = this.dH * Va / 1E3; + for (var ib = 0, yb = 1; yb < Ba; yb++) { Math.abs(La[ib] - Va) > Math.abs(La[ib] + La[yb] - Va) ? (La[ib] += La[yb], Ma[ib] += Ma[yb]) : (++ib, ib !== yb && (La[ib] = La[yb], Ma[ib] = Ma[yb])); } ++ib; @@ -33301,149 +33299,149 @@ a000.D9b = function () { Ma = new Uint32Array(Ma.buffer.slice(0, 4 * ib)); } this.sizes = Ma; - this.fd = La; + this.gd = La; }; - l.prototype.parse = function (Ca) { + l.prototype.parse = function (Ba) { var La, Ma, Va, ib; - this.sda(); - this.pa = Ca.pa; + this.mda(); + this.pa = Ba.pa; La = this.U; Ma = this.pa && this.pa.U || La; - Va = this.QV; - ib = this.startOffset + this.length + this.VS; - La = new G(this.CS, La).Vf(Ma).Wb; + Va = this.PV; + ib = this.startOffset + this.length + this.US; + La = new F(this.BS, La).Wf(Ma).Zb; this.Y = { U: Ma, - Bk: La, + Ck: La, offset: ib }; - this.kca(this.pa, Va); - this.Y.fd = this.fd; + this.eca(this.pa, Va); + this.Y.gd = this.gd; this.Y.sizes = this.sizes; - Ca.Wv = this; + Ba.wr = this; return !0; }; d.Ka = !1; - d.prototype = new J(); + d.prototype = new K(); d.prototype.constructor = d; d.prototype.parse = function () { - var Ca; - this.Er = []; - this.tpa = []; - Ca = (this.length - 11) / 2; + var Ba; + this.Hr = []; + this.opa = []; + Ba = (this.length - 11) / 2; this.u.cb(); this.u.cb(); this.u.cb(); - for (var La = 0; La < Ca; La++) { - this.Er.push(this.u.cb()); - this.tpa.push(this.u.cb()); + for (var La = 0; La < Ba; La++) { + this.Hr.push(this.u.cb()); + this.opa.push(this.u.cb()); } return !0; }; h.Ka = !1; - h.prototype = new J(); + h.prototype = new K(); h.prototype.constructor = h; h.prototype.parse = function () { - this.ec(); + this.ic(); this.u.offset += 4; - this.PF = this.u.offset; - this.Li = this.u.pqa(16); - this.Li.toString = g; + this.VF = this.u.offset; + this.Ji = this.u.jqa(16); + this.Ji.toString = g; return !0; }; m.Ka = !1; - m.prototype = new J(); + m.prototype = new K(); m.prototype.constructor = m; m.prototype.parse = function () { - this.ec(); - this.Nf = this.u.Dc(); - this.Hna = this.u.fz(this.Nf, void 0, !0); + this.ic(); + this.Of = this.u.Gc(); + this.Bna = this.u.iz(this.Of, void 0, !0); return !0; }; n.Ka = !1; - n.prototype = new J(); + n.prototype = new K(); n.prototype.constructor = n; - n.prototype.parse = function (Ca) { + n.prototype.parse = function (Ba) { var La, Ma, Va, ib, yb, Eb; - La = Ca.Wv; + La = Ba.wr; D(La); - Ca = Ca.pa; + Ba = Ba.pa; Ma = La.U; - La = La.QV; - D(Ca); + La = La.PV; + D(Ba); D(Ma); D(La); - this.ec(); + this.ic(); D(2 > this.version); - this.Nf = this.u.Dc(); - this.tt = new Uint16Array(La + 1); - Va = Ca.s3(Ma); + this.Of = this.u.Gc(); + this.yt = new Uint16Array(La + 1); + Va = Ba.t3(Ma); ib = Va / Ma; - yb = Ca.Vf(Va).Wb; + yb = Ba.Wf(Va).Zb; if (0 === this.version) - for ((this.Gt = new Uint16Array(), this.Gd = new Uint32Array(), Ca = Ma = 0); Ca <= La; ++Ca) { - if ((this.tt[Ca] = Ma, Ca < this.Nf)) { + for ((this.Lt = new Uint16Array(), this.Fd = new Uint32Array(), Ba = Ma = 0); Ba <= La; ++Ba) { + if ((this.yt[Ba] = Ma, Ba < this.Of)) { Eb = this.u.cb(); if (0 !== Eb) for (Va = 0; Va < Eb; (++Va, ++Ma)) { - this.Gt[Ma] = Math.floor((this.u.ta() + 1) * ib) / yb; - this.Gd[Ma] = this.u.ta(); + this.Lt[Ma] = Math.floor((this.u.ta() + 1) * ib) / yb; + this.Fd[Ma] = this.u.ta(); } } } else if (1 === this.version) - for ((Va = this.u.lqa(this.Nf, 10, !1), this.u.offset += 4, this.Gd = this.u.fz(this.Nf, 10, !1), this.u.offset -= 8, this.Gt = I.from(Uint16Array, { - length: this.Nf + for ((Va = this.u.fqa(this.Of, 10, !1), this.u.offset += 4, this.Fd = this.u.iz(this.Of, 10, !1), this.u.offset -= 8, this.Lt = J.from(Uint16Array, { + length: this.Of }, function () { var Hb; Hb = Math.floor((this.u.ta() + 1) * ib) / yb; this.u.offset += 6; return Hb; - }, this), Ma = Ca = 0); Ca <= La; ++Ca) { - for (; Ma < Va.length && Va[Ma] < Ca; ) { + }, this), Ma = Ba = 0); Ba <= La; ++Ba) { + for (; Ma < Va.length && Va[Ma] < Ba; ) { ++Ma; } - this.tt[Ca] = Ma; + this.yt[Ba] = Ma; } - this.Eh = { - tt: this.tt, - Gt: this.Gt, - Gd: this.Gd + this.Dh = { + yt: this.yt, + Lt: this.Lt, + Fd: this.Fd }; return !0; }; - r.Ka = !0; - r.prototype = Object.create(c.prototype); - r.prototype.constructor = r; + q.Ka = !0; + q.prototype = Object.create(c.prototype); + q.prototype.constructor = q; p.Ka = !0; p.prototype = Object.create(c.prototype); p.prototype.constructor = p; - p.prototype.Ds = function () { - var Ca; - Ca = this.vh("tfhd"); - Ca && (this.xj = Ca.DR ? Ca.xj : this.parent.startOffset); + p.prototype.Hs = function () { + var Ba; + Ba = this.uh("tfhd"); + Ba && (this.uj = Ba.ER ? Ba.uj : this.parent.startOffset); return !0; }; - t.Ka = !1; - t.prototype = new J(); - t.prototype.constructor = t; - t.prototype.parse = function () { - var Ca, + u.Ka = !1; + u.prototype = new K(); + u.prototype.constructor = u; + u.prototype.parse = function () { + var Ba, Cb; - Ca = this.u.offset; - this.ec(); + Ba = this.u.offset; + this.ic(); if (1 === this.version) { this.u.console.trace("translating vpcC box to draft equivalent"); this.u.offset += 2; - for (var La = this.u.offset, Ma = this.u.cb(), Va = this.u.cb(), ib = this.u.cb(), yb = this.u.cb(), Eb = this.u.Dc(), Hb = [], Ob = 0; Ob < Eb; ++Ob) { + for (var La = this.u.offset, Ma = this.u.cb(), Va = this.u.cb(), ib = this.u.cb(), yb = this.u.cb(), Eb = this.u.Gc(), Hb = [], Ob = 0; Ob < Eb; ++Ob) { Hb = this.u.cb(); } Ob = (Ma & 240) >>> 4; @@ -33466,94 +33464,94 @@ a000.D9b = function () { this.u.console.warn("VP9: Unknown colourPrimaries " + Va + "! Falling back to default color space VP9_COLOR_SPACE_BT709_6 (2)"); } this.version = 0; - this.ia.Oz(this.version, Ca); - this.ia.Oz(Ob << 4 | yb, La++); - this.ia.Oz(Cb << 4 | ib << 1 | Ma, La++); + this.ja.Qz(this.version, Ba); + this.ja.Qz(Ob << 4 | yb, La++); + this.ja.Qz(Cb << 4 | ib << 1 | Ma, La++); Eb += 2; Hb.push(0, 0); - this.ia.mua(Eb, !1); + this.ja.jua(Eb, !1); La += 2; Hb.forEach(function (Kb) { - this.ia.Oz(Kb, La++); + this.ja.Qz(Kb, La++); }); } return !0; }; w.Ka = !1; - w.prototype = new J(); + w.prototype = new K(); w.prototype.constructor = w; - w.Lb = "tfhd"; + w.Mb = "tfhd"; Object.defineProperties(w.prototype, { - DR: { + ER: { get: function () { return this.flags & 1; } }, - qra: { + kra: { get: function () { return this.flags & 2; } }, - rha: { + lha: { get: function () { return this.flags & 8; } }, - uha: { + oha: { get: function () { return this.flags & 16; } }, - sha: { + mha: { get: function () { return this.flags & 32; } } }); w.prototype.parse = function () { - this.ec(); - this.qH = this.u.ta(); - this.xj = this.DR ? this.u.Hd() : void 0; - this.qra && this.u.ta(); - this.Qx = this.rha ? this.u.ta() : void 0; - this.Sx = this.uha ? this.u.ta() : void 0; - this.Rx = this.sha ? this.u.ta() : void 0; + this.ic(); + this.yH = this.u.ta(); + this.uj = this.ER ? this.u.Gd() : void 0; + this.kra && this.u.ta(); + this.Vx = this.lha ? this.u.ta() : void 0; + this.Xx = this.oha ? this.u.ta() : void 0; + this.Wx = this.mha ? this.u.ta() : void 0; return !0; }; v.Ka = !1; - v.prototype = new J(); + v.prototype = new K(); v.prototype.constructor = v; v.prototype.parse = function () { - this.ec(); - this.yx = 1 === this.version ? this.u.Hd() : this.u.ta(); + this.ic(); + this.Dx = 1 === this.version ? this.u.Gd() : this.u.ta(); return !0; }; - v.prototype.na = function (Ca) { + v.prototype.na = function (Ba) { var La; La = this.startOffset + 12; - this.yx += Ca; - 1 === this.version ? this.ia.nua(this.yx, La) : this.ia.Gg(this.yx, La); + this.Dx += Ba; + 1 === this.version ? this.ja.kua(this.Dx, La) : this.ja.Eg(this.Dx, La); }; x.Ka = !1; - x.prototype = new J(); + x.prototype = new K(); x.prototype.constructor = x; Object.defineProperties(x.prototype, { - hS: { + gS: { get: function () { return this.flags & 1; } }, - pF: { + tF: { get: function () { return this.flags & 4; } }, - pz: { + uz: { get: function () { return this.flags & 256; } }, - qz: { + vz: { get: function () { return this.flags & 512; } @@ -33563,124 +33561,124 @@ a000.D9b = function () { return this.flags & 1024; } }, - KG: { + SG: { get: function () { return this.flags & 2048; } } }); x.prototype.parse = function () { - this.ec(); - this.HR = this.u.offset; - this.yb = this.u.ta(); - this.Cj = this.hS ? this.u.AG() : 0; - this.pF && this.u.ta(); - this.Ft = (this.pz ? 4 : 0) + (this.qz ? 4 : 0) + (this.fW ? 4 : 0) + (this.KG ? 4 : 0); - this.fy = this.u.offset; - D(this.hS, "Expected data offset to be present in Track Run"); - D(this.length - (this.u.offset - this.startOffset) === this.yb * this.Ft, "Expected remaining data in box to be sample information"); + this.ic(); + this.IR = this.u.offset; + this.Ab = this.u.ta(); + this.Aj = this.gS ? this.u.HG() : 0; + this.tF && this.u.ta(); + this.Kt = (this.uz ? 4 : 0) + (this.vz ? 4 : 0) + (this.fW ? 4 : 0) + (this.SG ? 4 : 0); + this.ky = this.u.offset; + D(this.gS, "Expected data offset to be present in Track Run"); + D(this.length - (this.u.offset - this.startOffset) === this.Ab * this.Kt, "Expected remaining data in box to be sample information"); return !0; }; - x.prototype.Wr = function (Ca, La, Ma) { + x.prototype.$r = function (Ba, La, Ma) { var Va, ib, yb; - Va = this.pz ? this.u.ta() : Ca.Qx; - ib = this.qz ? this.u.ta() : Ca.Sx; - Ca = this.fW ? this.u.ta() : Ca.Rx; - yb = 0 === this.version ? this.KG ? this.u.ta() : 0 : this.KG ? this.u.AG() : 0; + Va = this.uz ? this.u.ta() : Ba.Vx; + ib = this.vz ? this.u.ta() : Ba.Xx; + Ba = this.fW ? this.u.ta() : Ba.Wx; + yb = 0 === this.version ? this.SG ? this.u.ta() : 0 : this.SG ? this.u.HG() : 0; return { - pra: yb, - QQb: Ca, - NNb: Ma + yb - (void 0 !== La ? La : yb), - Nj: ib, - Ht: Va + jra: yb, + VQb: Ba, + SNb: Ma + yb - (void 0 !== La ? La : yb), + Mj: ib, + Mt: Va }; }; - x.prototype.na = function (Ca, La, Ma, Va, ib, yb, Eb) { + x.prototype.na = function (Ba, La, Ma, Va, ib, yb, Eb) { var Hb, Ob, Cb, Kb; Hb = 0; Ob = 0; - this.ia.offset = this.fy; + this.ja.offset = this.ky; for (Va = 0; Va < ib; ++Va) { - Cb = this.Wr(La, Kb, Ob); + Cb = this.$r(La, Kb, Ob); if (0 == Va) - Kb = Cb.pra; - Hb += Cb.Nj; - Ob += Cb.Ht; + Kb = Cb.jra; + Hb += Cb.Mj; + Ob += Cb.Mt; } Va = ib; ib = this.u.offset; - Cb = this.Wr(La, Kb, Ob); - this.Tp = Va; - this.qsa = Ob; + Cb = this.$r(La, Kb, Ob); + this.Wp = Va; + this.ksa = Ob; if (Eb) { - if ((this.Mp = this.Cj + Hb, this.ri = 0, Va === this.yb)) + if ((this.Pp = this.Aj + Hb, this.ri = 0, Va === this.Ab)) return !0; - } else if ((this.Mp = this.Cj, this.ri = Hb, 0 === Va)) + } else if ((this.Pp = this.Aj, this.ri = Hb, 0 === Va)) return !0; - if (0 === Va || Va === this.yb) + if (0 === Va || Va === this.Ab) return !1; - this.$x = !0; + this.ey = !0; if (Eb) { - this.ri += Cb.Nj; - for (Eb = Va + 1; Eb < this.yb; ++Eb) { - Cb = this.Wr(La, Kb, Ob); - this.ri += Cb.Nj; - } - this.ia.offset = this.HR; - this.yb = Va; - this.ia.Gg(this.yb); - this.ia.BH(yb); - this.pF && (this.u.offset += 4); - this.re(this.length - (ib - this.startOffset), ib); - } else (La = ib - this.fy, this.ia.offset = this.HR, this.yb -= Va, this.ia.Gg(this.yb), this.Cj += Hb, this.ia.BH(yb, this.Cj), this.pF && (this.u.offset += 4), this.re(La, this.ia.offset)); - Ma.re(this.ri, Ca.xj + this.Mp); + this.ri += Cb.Mj; + for (Eb = Va + 1; Eb < this.Ab; ++Eb) { + Cb = this.$r(La, Kb, Ob); + this.ri += Cb.Mj; + } + this.ja.offset = this.IR; + this.Ab = Va; + this.ja.Eg(this.Ab); + this.ja.JH(yb); + this.tF && (this.u.offset += 4); + this.te(this.length - (ib - this.startOffset), ib); + } else (La = ib - this.ky, this.ja.offset = this.IR, this.Ab -= Va, this.ja.Eg(this.Ab), this.Aj += Hb, this.ja.JH(yb, this.Aj), this.tF && (this.u.offset += 4), this.te(La, this.ja.offset)); + Ma.te(this.ri, Ba.uj + this.Pp); return !0; }; - x.prototype.Oqa = function (Ca, La, Ma, Va, ib, yb) { + x.prototype.Jqa = function (Ba, La, Ma, Va, ib, yb) { var Hb; if (Va) { - Va = this.Mp; - for (var Eb = this.yb - 1; 0 <= Eb && this.yb - Eb <= ib; --Eb) { - this.ia.offset = this.fy + Eb * this.Ft; - Hb = this.Wr(La); - if (Hb.Ht != yb.duration) { - this.u.console.warn("Could not replace sample of duration " + Hb.Ht + " with silence of duration " + yb.duration); + Va = this.Pp; + for (var Eb = this.Ab - 1; 0 <= Eb && this.Ab - Eb <= ib; --Eb) { + this.ja.offset = this.ky + Eb * this.Kt; + Hb = this.$r(La); + if (Hb.Mt != yb.duration) { + this.u.console.warn("Could not replace sample of duration " + Hb.Mt + " with silence of duration " + yb.duration); break; } - if (this.qz) - (this.ia.offset -= this.Ft - (this.pz ? 4 : 0), this.ia.Gg(yb.Qj.byteLength)); - else if (yb.Qj.byteLength !== Hb.Nj) { + if (this.vz) + (this.ja.offset -= this.Kt - (this.uz ? 4 : 0), this.ja.Eg(yb.Pj.byteLength)); + else if (yb.Pj.byteLength !== Hb.Mj) { this.u.console.warn("Cannot replace sample with default size with silence of different size"); break; } - Va -= Hb.Nj; - Ma.Et(Hb.Nj, yb.Qj, Ca.xj + Va); + Va -= Hb.Mj; + Ma.Jt(Hb.Mj, yb.Pj, Ba.uj + Va); } } else - for ((Va = this.Mp + this.ri, Eb = 0); Eb < this.yb && Eb < ib; ++Eb) { - this.ia.offset = this.fy + (Eb + this.Tp) * this.Ft; - Hb = this.Wr(La); - if (Hb.Ht != yb.duration) { - this.u.console.warn("Could not replace sample of duration " + Hb.Ht + " with silence of duration " + yb.duration); + for ((Va = this.Pp + this.ri, Eb = 0); Eb < this.Ab && Eb < ib; ++Eb) { + this.ja.offset = this.ky + (Eb + this.Wp) * this.Kt; + Hb = this.$r(La); + if (Hb.Mt != yb.duration) { + this.u.console.warn("Could not replace sample of duration " + Hb.Mt + " with silence of duration " + yb.duration); break; } - if (this.qz) - (this.ia.offset -= this.Ft - (this.pz ? 4 : 0), this.ia.Gg(yb.Qj.byteLength)); - else if (yb.Qj.byteLength !== Hb.Nj) { + if (this.vz) + (this.ja.offset -= this.Kt - (this.uz ? 4 : 0), this.ja.Eg(yb.Pj.byteLength)); + else if (yb.Pj.byteLength !== Hb.Mj) { this.u.console.warn("Cannot replace sample with default size with silence of different size"); break; } - Ma.Et(Hb.Nj, yb.Qj, Ca.xj + Va); - Va += Hb.Nj; + Ma.Jt(Hb.Mj, yb.Pj, Ba.uj + Va); + Va += Hb.Mj; } }; y.Ka = !1; - y.prototype = Object.create(J.prototype); + y.prototype = Object.create(K.prototype); y.prototype.constructor = y; Object.defineProperties(y.prototype, { vm: { @@ -33690,35 +33688,35 @@ a000.D9b = function () { } }); y.prototype.parse = function () { - this.ec(); - this.vm && this.u.ll(); + this.ic(); + this.vm && this.u.kl(); this.vm && this.u.ta(); - this.tha = this.u.cb(); - this.yb = this.u.ta(); - this.u.gz(this.yb); + this.nha = this.u.cb(); + this.Ab = this.u.ta(); + this.u.jz(this.Ab); return !0; }; - y.prototype.na = function (Ca, La) { - if (Ca && 0 === this.tha) { - Ca = La ? this.yb - Ca : Ca; - this.ia.offset = this.startOffset + 13 + (this.vm ? 8 : 0); - this.yb -= Ca; - this.ia.Gg(this.yb); - this.IG = 0; + y.prototype.na = function (Ba, La) { + if (Ba && 0 === this.nha) { + Ba = La ? this.Ab - Ba : Ba; + this.ja.offset = this.startOffset + 13 + (this.vm ? 8 : 0); + this.Ab -= Ba; + this.ja.Eg(this.Ab); + this.PG = 0; if (La) - this.ia.offset += this.yb; + this.ja.offset += this.Ab; else { - for (La = 0; La < Ca; ++La) { - this.IG += this.ia.cb(); + for (La = 0; La < Ba; ++La) { + this.PG += this.ja.cb(); } - this.ia.offset -= Ca; + this.ja.offset -= Ba; } - this.re(Ca, this.u.offset); + this.te(Ba, this.u.offset); } return !0; }; z.Ka = !1; - z.prototype = Object.create(J.prototype); + z.prototype = Object.create(K.prototype); z.prototype.constructor = z; Object.defineProperties(z.prototype, { vm: { @@ -33728,89 +33726,89 @@ a000.D9b = function () { } }); z.prototype.parse = function () { - this.ec(); - this.vm && this.u.ll(); + this.ic(); + this.vm && this.u.kl(); this.vm && this.u.ta(); - this.Nf = this.u.ta(); - D(1 === this.Nf, "Expected a single entry in Sample Auxiliary Information Offsets box"); - this.Cj = 0 === this.version ? this.u.AG() : this.u.sqa(); + this.Of = this.u.ta(); + D(1 === this.Of, "Expected a single entry in Sample Auxiliary Information Offsets box"); + this.Aj = 0 === this.version ? this.u.HG() : this.u.mqa(); return !0; }; - z.prototype.na = function (Ca, La) { - this.Cj += Ca; - this.ia.offset = this.startOffset + 16 + (this.vm ? 8 : 0) + (0 === this.version ? 0 : 4); - this.ia.BH(La, this.Cj); + z.prototype.na = function (Ba, La) { + this.Aj += Ba; + this.ja.offset = this.startOffset + 16 + (this.vm ? 8 : 0) + (0 === this.version ? 0 : 4); + this.ja.JH(La, this.Aj); return !0; }; - B.Ka = !1; - B.prototype = Object.create(J.prototype); - B.prototype.constructor = B; - Object.defineProperties(B.prototype, { - mV: { + A.Ka = !1; + A.prototype = Object.create(K.prototype); + A.prototype.constructor = A; + Object.defineProperties(A.prototype, { + lV: { get: function () { return this.flags & 1; } }, - Zta: { + Vta: { get: function () { return this.flags & 2; } } }); - B.prototype.parse = function () { - this.ec(); - this.mV && (this.u.ta(), this.u.gz(16)); - this.yb = this.u.ta(); + A.prototype.parse = function () { + this.ic(); + this.lV && (this.u.ta(), this.u.jz(16)); + this.Ab = this.u.ta(); return !0; }; - B.prototype.na = function (Ca, La) { + A.prototype.na = function (Ba, La) { var Ma, Va; - Ma = La ? this.yb - Ca : Ca; - this.ia.offset = this.startOffset + 28 + (this.mV ? 20 : 0); - this.yb -= Ma; - this.ia.Gg(this.yb); - Ca = this.ia.offset; - if (this.Zta) - for (Ma = La ? this.yb : Ma; 0 < Ma; --Ma) { - this.ia.offset += 8; - Va = this.ia.Dc(); - this.ia.offset += 6 * Va; + Ma = La ? this.Ab - Ba : Ba; + this.ja.offset = this.startOffset + 28 + (this.lV ? 20 : 0); + this.Ab -= Ma; + this.ja.Eg(this.Ab); + Ba = this.ja.offset; + if (this.Vta) + for (Ma = La ? this.Ab : Ma; 0 < Ma; --Ma) { + this.ja.offset += 8; + Va = this.ja.Gc(); + this.ja.offset += 6 * Va; } else - this.ia.offset += 8 * (La ? this.yb : Ma); - La ? this.re(this.length - (this.u.offset - this.startOffset), this.u.offset) : this.re(this.u.offset - Ca, Ca); + this.ja.offset += 8 * (La ? this.Ab : Ma); + La ? this.te(this.length - (this.u.offset - this.startOffset), this.u.offset) : this.te(this.u.offset - Ba, Ba); }; - A.Ka = !1; - A.prototype = Object.create(J.prototype); - A.prototype.constructor = A; - A.prototype.parse = function () { - this.ec(); + B.Ka = !1; + B.prototype = Object.create(K.prototype); + B.prototype.constructor = B; + B.prototype.parse = function () { + this.ic(); return !0; }; - A.prototype.na = function (Ca, La, Ma) { - Ma ? this.re(La - Ca, this.startOffset + 12 + Ca) : this.re(Ca, this.startOffset + 12); + B.prototype.na = function (Ba, La, Ma) { + Ma ? this.te(La - Ba, this.startOffset + 12 + Ba) : this.te(Ba, this.startOffset + 12); return !0; }; C.Ka = !1; - C.prototype = Object.create(J.prototype); + C.prototype = Object.create(K.prototype); C.prototype.constructor = C; C.prototype.parse = function () { - this.ec(); - this.u.ll(); + this.ic(); + this.u.kl(); 1 === this.version && this.u.ta(); - this.Nf = this.u.ta(); - this.It = []; - for (var Ca = 0; Ca < this.Nf; ++Ca) { + this.Of = this.u.ta(); + this.Nt = []; + for (var Ba = 0; Ba < this.Of; ++Ba) { for (var La = this.u.ta(), Ma = this.u.ta(), Va = 0; Va < La; ++Va) { - this.It.push(Ma); + this.Nt.push(Ma); } } return !0; }; - C.prototype.na = function (Ca, La) { - this.It = La ? this.It.slice(0, Ca) : this.It.slice(Ca); - Ca = this.It.reduce(function (Ma, Va) { + C.prototype.na = function (Ba, La) { + this.Nt = La ? this.Nt.slice(0, Ba) : this.Nt.slice(Ba); + Ba = this.Nt.reduce(function (Ma, Va) { 0 !== Ma.length && Ma[Ma.length - 1].group === Va || Ma.push({ group: Va, count: 0 @@ -33818,68 +33816,68 @@ a000.D9b = function () { ++Ma[Ma.length - 1].count; return Ma; }, []); - this.ia.offset = this.startOffset + 16 + (1 === this.version ? 4 : 0); - this.ia.Gg(Ca.length); - Ca.forEach((function (Ma) { - this.ia.Gg(Ma.count); - this.ia.Gg(Ma.group); + this.ja.offset = this.startOffset + 16 + (1 === this.version ? 4 : 0); + this.ja.Eg(Ba.length); + Ba.forEach((function (Ma) { + this.ja.Eg(Ma.count); + this.ja.Eg(Ma.group); }).bind(this)); - this.Nf > Ca.length && this.re(8 * (this.Nf - Ca.length)); - this.Nf = Ca.length; + this.Of > Ba.length && this.te(8 * (this.Of - Ba.length)); + this.Of = Ba.length; return !0; }; E.Ka = !1; - E.prototype = Object.create(J.prototype); + E.prototype = Object.create(K.prototype); E.prototype.constructor = E; - X = { - Sa: { + Y = { + Ta: { moov: f, trak: c, mdia: c, mdhd: k, minf: c, - encv: X, + encv: Y, schi: c, sidx: l, sinf: c, stbl: c, tenc: h, mvex: c, - moof: r, + moof: q, traf: p, tfhd: w, trun: x, sbgp: C, - sdtp: A, + sdtp: B, saiz: y, saio: z, tfdt: v, mdat: E, vmaf: d }, - ota: { - vpcC: t, - SmDm: u("smdm"), - CoLL: u("coll") - }, - aX: { - schm: ja - }, - JG: {} - }; - F([Ia, R, K, Q, wa, Sa, Ua, H, L, db, Ta, P, N, M, O, a], X.Sa); - F([da, va, ta, za, V, T, na, ra, Za, $a], X.JG); - F([Ia, ja], X.aX); - X.Sa[b.vP] = h; - X.Sa[b.Dw] = m; - X.Sa[b.Cw] = n; - X.Sa[b.uP] = B; - X.JG[b.yD] = mb; - X.kc = J; - q.exports = { - Cp: X - }; - }, function (q, b) { + jta: { + vpcC: u, + SmDm: t("smdm"), + CoLL: t("coll") + }, + $W: { + schm: ma + }, + QG: {} + }; + G([Ia, N, M, P, wa, Ta, Ua, H, I, cb, Sa, O, R, L, Q, a], Y.Ta); + G([ea, va, ra, Ea, V, U, pa, ta, Za, ab], Y.QG); + G([Ia, ma], Y.$W); + Y.Ta[b.wP] = h; + Y.Ta[b.Jw] = m; + Y.Ta[b.Iw] = n; + Y.Ta[b.vP] = A; + Y.QG[b.AD] = nb; + Y.mc = K; + r.exports = { + Ep: Y + }; + }, function (r, b) { function a(c, f) { var k, l, @@ -33905,14 +33903,14 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function c(f, k) { - "object" === typeof f ? (this.cc = f.Wb, this.eb = f.U) : (this.cc = f, this.eb = k); + "object" === typeof f ? (this.dc = f.Zb, this.eb = f.U) : (this.dc = f, this.eb = k); } c.rb = function (f) { return new c(f, 1E3); }; - c.VW = function (f, k) { + c.UW = function (f, k) { return Math.floor(1E3 * f / k); }; c.F5 = function (f, k) { @@ -33935,9 +33933,9 @@ a000.D9b = function () { }); }; Object.defineProperties(c.prototype, { - Wb: { + Zb: { get: function () { - return this.cc; + return this.dc; }, enumerable: !0, configurable: !0 @@ -33955,57 +33953,57 @@ a000.D9b = function () { Object.defineProperties(c.prototype, { V: { get: function () { - return 1E3 * this.cc / this.eb; + return 1E3 * this.dc / this.eb; }, enumerable: !0, configurable: !0 } }); Object.defineProperties(c.prototype, { - Wg: { + Ug: { get: function () { - return this.cc / this.eb; + return this.dc / this.eb; }, enumerable: !0, configurable: !0 } }); - c.prototype.Vf = function (f) { + c.prototype.Wf = function (f) { f /= this.U; - return new c(Math.floor(this.Wb * f), Math.floor(this.U * f)); + return new c(Math.floor(this.Zb * f), Math.floor(this.U * f)); }; c.prototype.add = function (f) { var k; if (this.U === f.U) - return new c(this.Wb + f.Wb, this.U); + return new c(this.Zb + f.Zb, this.U); k = a(this.U, f.U); - return this.Vf(k).add(f.Vf(k)); + return this.Wf(k).add(f.Wf(k)); }; - c.prototype.Ba = function (f) { - return this.add(new c(-f.Wb, f.U)); + c.prototype.Da = function (f) { + return this.add(new c(-f.Zb, f.U)); }; - c.prototype.mC = function (f) { - return new c(this.Wb * f, this.U); + c.prototype.oC = function (f) { + return new c(this.Zb * f, this.U); }; c.prototype.Yk = function (f) { var k; if (this.U === f.U) - return this.Wb / f.Wb; + return this.Zb / f.Zb; k = a(this.U, f.U); - return this.Vf(k).Yk(f.Vf(k)); + return this.Wf(k).Yk(f.Wf(k)); }; - c.prototype.s3 = function (f) { + c.prototype.t3 = function (f) { return a(this.U, f); }; - c.prototype.yqa = function () { - return new c(this.U, this.Wb); + c.prototype.sqa = function () { + return new c(this.U, this.Zb); }; c.prototype.compare = function (f, k) { var l; if (this.U === k.U) - return f(this.Wb, k.Wb); + return f(this.Zb, k.Zb); l = a(this.U, k.U); - return f(this.Vf(l).Wb, k.Vf(l).Wb); + return f(this.Wf(l).Zb, k.Wf(l).Zb); }; c.prototype.equal = function (f) { return this.compare(function (k, l) { @@ -34027,140 +34025,140 @@ a000.D9b = function () { return k > l; }, f); }; - c.prototype.Fy = function (f) { + c.prototype.Iy = function (f) { return this.compare(function (k, l) { return k <= l; }, f); }; - c.prototype.xp = function (f) { + c.prototype.On = function (f) { return this.compare(function (k, l) { return k >= l; }, f); }; c.prototype.toJSON = function () { return { - ticks: this.Wb, + ticks: this.Zb, timescale: this.U }; }; c.prototype.toString = function () { - return this.Wb + "/" + this.U; + return this.Zb + "/" + this.U; }; c.hb = new c(0, 1); - c.Cv = new c(1, 1E3); + c.Iv = new c(1, 1E3); return c; })(); - b.S = q; - }, function (q, b, a) { + b.S = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { this.u.offset += 6; - this.u.Dc(); + this.u.Gc(); return !0; }; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(2); - q.__exportStar(a(149), b); - q.__exportStar(a(233), b); - q.__exportStar(a(234), b); - q.__exportStar(a(235), b); - q = a(234); - c = a(235); - a = a(233); - b.fp = { + r = a(2); + r.__exportStar(a(149), b); + r.__exportStar(a(234), b); + r.__exportStar(a(235), b); + r.__exportStar(a(236), b); + r = a(235); + c = a(236); + a = a(234); + b.gp = { 3: a.GO, - 4: q.BO, - 5: c.X9 + 4: r.BO, + 5: c.S9 }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var l; - this.u.Dc(); + this.u.Gc(); l = this.u.cb(); - this.Fsa = !!(l & 128); - this.Dba = !!(l & 64); - this.naa = !!(l & 32); - this.Fsa && this.u.Dc(); - this.Dba && this.u.gz(this.u.cb()); - this.naa && this.u.Dc(); - this.NQ(); + this.zsa = !!(l & 128); + this.xba = !!(l & 64); + this.faa = !!(l & 32); + this.zsa && this.u.Gc(); + this.xba && this.u.jz(this.u.cb()); + this.faa && this.u.Gc(); + this.OQ(); return !0; }; k.tag = 3; return k; - })(a(149).eD); - b.GO = q; - }, function (q, b, a) { + })(a(149).gD); + b.GO = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Foa = this.u.cb(); + this.Aoa = this.u.cb(); this.u.cb(); - this.u.Dc(); + this.u.Gc(); this.u.cb(); this.maxBitrate = this.u.ta(); - this.ffa = this.u.ta(); - this.NQ(); + this.Zea = this.u.ta(); + this.OQ(); return !0; }; k.tag = 4; return k; - })(a(149).eD); - b.BO = q; - }, function (q, b, a) { + })(a(149).gD); + b.BO = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = a(149); - f = a(232); + r = a(149); + f = a(233); a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); - l.prototype.NV = function () { - 15 !== this.u.dc(4) || this.u.dc(24); + l.prototype.MV = function () { + 15 !== this.u.ec(4) || this.u.ec(24); }; l.prototype.parse = function (d) { - if (this.Qla(d) && 64 === d.Foa) - switch ((this.um = this.LV(), this.NV(), this.u.dc(4), this.uia = 5 === this.um || 29 === this.um ? 5 : -1, 0 < this.uia && (this.NV(), this.um = this.LV(), 22 === this.um && this.u.dc(4)), this.um)) { + if (this.Lla(d) && 64 === d.Aoa) + switch ((this.um = this.KV(), this.MV(), this.u.ec(4), this.nia = 5 === this.um || 29 === this.um ? 5 : -1, 0 < this.nia && (this.MV(), this.um = this.KV(), 22 === this.um && this.u.ec(4)), this.um)) { case 1: case 2: case 3: @@ -34173,25 +34171,25 @@ a000.D9b = function () { case 21: case 22: case 23: - (this.cT = this.u.dc(1), (this.Aha = this.u.dc(1)) && this.u.dc(14), this.u.dc(1), this.hy = 3 === this.um ? 256 : 23 === this.um ? this.cT ? 480 : 512 : this.cT ? 960 : 1024); + (this.bT = this.u.ec(1), (this.uha = this.u.ec(1)) && this.u.ec(14), this.u.ec(1), this.my = 3 === this.um ? 256 : 23 === this.um ? this.bT ? 480 : 512 : this.bT ? 960 : 1024); } this.skip(); return !0; }; - l.prototype.LV = function () { + l.prototype.KV = function () { var d; - d = this.u.dc(5); - 31 === d && (d = 32 + this.u.dc(6)); + d = this.u.ec(5); + 31 === d && (d = 32 + this.u.ec(6)); return d; }; - l.prototype.Qla = function (d) { + l.prototype.Lla = function (d) { return d.tag === f.BO.tag; }; l.tag = 5; return l; - })(q.eD); - b.X9 = a; - }, function (q, b) { + })(r.gD); + b.S9 = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); @@ -34211,17 +34209,17 @@ a000.D9b = function () { }, 0); return f.buffer; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(396); - f = a(229); - k = a(397); - q = (function () { + c = a(400); + f = a(230); + k = a(401); + r = (function () { function l(d, g, h) { this.console = d; this.stream = g; @@ -34230,36 +34228,36 @@ a000.D9b = function () { l.prototype.parse = function (d) { var g; g = new k.CO(this.view.byteLength); - this.$b = new c.bD(f.Cp.Sa, g, this.view, this.console, { - pG: !0 + this.ac = new c.dD(f.Ep.Ta, g, this.view, this.console, { + vG: !0 }); - d = this.$b.parse(d); - this.Sa = this.$b.Sa; + d = this.ac.parse(d); + this.Ta = this.ac.Ta; return d; }; return l; })(); - b.lq = q; - }, function (q, b, a) { + b.nq = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Tz = void 0; - q = a(43); + b.Vz = void 0; + r = a(43); a = a(112); c = (function () { function f(k, l) { - this.L_ = k; - this.XI = l.Xa; - this.tu = l.jb; + this.O_ = k; + this.ZI = l.Ya; + this.yu = l.jb; } Object.defineProperties(f.prototype, { - Xa: { + Ya: { get: function () { - return void 0 !== this.XI ? this.XI : this.L_.Xa; + return void 0 !== this.ZI ? this.ZI : this.O_.Ya; }, enumerable: !1, configurable: !0 @@ -34268,7 +34266,7 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { jb: { get: function () { - return void 0 !== this.tu ? this.tu : this.L_.jb; + return void 0 !== this.yu ? this.yu : this.O_.jb; }, enumerable: !1, configurable: !0 @@ -34277,33 +34275,33 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { U: { get: function () { - return this.L_.U; + return this.O_.U; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(f.prototype, { - Lj: { + Kj: { get: function () { - return this.L_.Lj; + return this.O_.Kj; }, enumerable: !1, configurable: !0 } }); - f.prototype.pW = function (k) { - this.tu = k; + f.prototype.oW = function (k) { + this.yu = k; }; - f.prototype.iga = function () { - this.tu = void 0; + f.prototype.cga = function () { + this.yu = void 0; }; return f; })(); - b.Tz = c; - q.tf(a.Uz, c); - q.tf(a.Sz, c); - }, function (q, b, a) { + b.Vz = c; + r.tf(a.Wz, c); + r.tf(a.Uz, c); + }, function (r, b, a) { var c, f, k; @@ -34312,23 +34310,23 @@ a000.D9b = function () { value: !0 } }); - b.jO = void 0; + b.iO = void 0; c = a(2); - q = c.__importDefault(a(124)); + r = c.__importDefault(a(123)); f = a(113); k = a(174); a = (function (l) { - function d(g, h, m, n, r, p, u) { - h = l.call(this, g, h, m, n, r, p, u) || this; - k.Vt.mb(h, g, n); + function d(g, h, m, n, q, p, t) { + h = l.call(this, g, h, m, n, q, p, t) || this; + k.$t.mb(h, g, n); return h; } c.__extends(d, l); return d; - })(f.OX); - b.jO = a; - q.default(k.Vt.prototype, a.prototype); - }, function (q, b, a) { + })(f.NX); + b.iO = a; + r.default(k.$t.prototype, a.prototype); + }, function (r, b, a) { var c, f, k; @@ -34337,27 +34335,27 @@ a000.D9b = function () { value: !0 } }); - b.GH = void 0; + b.OH = void 0; c = a(2); f = c.__importDefault(a(27)); - k = c.__importDefault(a(4)); - q = (function (l) { - function d(g, h, m, n, r) { + k = c.__importDefault(a(5)); + r = (function (l) { + function d(g, h, m, n, q) { var p; p = l.call(this, m) || this; - p.Bea = !1; - d.mb(p, g, h, m, n, r); + p.vea = !1; + d.mb(p, g, h, m, n, q); return p; } c.__extends(d, l); - d.mb = function (g, h, m, n, r, p) { - g.Ge = n; - g.hQb = h; - g.sd = r; - g.EJa = h.location || m.location; - g.SQ = h.cd || m.Rc; - g.Qra = h.Qra || m.Qra; - g.g8 = k.default.time.aa(); + d.mb = function (g, h, m, n, q, p) { + g.Ie = n; + g.mQb = h; + g.Bd = q; + g.CJa = h.location || m.location; + g.UQ = h.cd || m.Qc; + g.Jra = h.Jra || m.Jra; + g.c8 = k.default.time.ba(); g.H = p; }; Object.defineProperties(d.prototype, { @@ -34372,16 +34370,16 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { location: { get: function () { - return this.EJa; + return this.CJa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(d.prototype, { - Rc: { + Qc: { get: function () { - return this.SQ; + return this.UQ; }, enumerable: !1, configurable: !0 @@ -34390,11 +34388,11 @@ a000.D9b = function () { d.prototype.mb = function (g) { this.Na = g; }; - d.prototype.$ra = function (g, h) { - this.EJa = g; - this.SQ = h; + d.prototype.Tra = function (g, h) { + this.CJa = g; + this.UQ = h; }; - d.prototype.Bda = function (g) { + d.prototype.vda = function (g) { var h, m, n; @@ -34403,35 +34401,35 @@ a000.D9b = function () { target: "endplay", fields: {} }; - m = this.mediaType === f.default.Za.Tb ? "audioedit" : "videoedit"; - n = [this.RK === this.Z ? this.pc : this.Jc, this.RK === this.Z ? -this.duration : this.duration]; - g && g.Sp && n.push(g.Sp); + m = this.mediaType === f.default.Ra.Ob ? "audioedit" : "videoedit"; + n = [this.VK === this.X ? this.uc : this.Lc, this.VK === this.X ? -this.duration : this.duration]; + g && g.Vp && n.push(g.Vp); h.fields[m] = { type: "array", value: n }; return h; }; - d.prototype.Pta = function () { + d.prototype.Kta = function () { var g, h; if (this.complete) return 0; - g = this.hQb; + g = this.mQb; h = g.N; - return g.url ? this.url === g.url || (h.$ra(this, g.location, g.cd), this.a8(g.url)) ? 0 : (this.H.warn("swapUrl failed: ", this.JK), 2) : (this.H.warn("updateurl, missing url for streamId:", g.La, "mediaRequest:", this, "stream:", g), 1); + return g.url ? this.url === g.url || (h.Tra(this, g.location, g.cd), this.W7(g.url)) ? 0 : (this.H.warn("swapUrl failed: ", this.NK), 2) : (this.H.warn("updateurl, missing url for streamId:", g.Ma, "mediaRequest:", this, "stream:", g), 1); }; return d; - })(a(96).jw); - b.GH = q; - }, function (q, b, a) { + })(a(96).pw); + b.OH = r; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - a(2).__exportStar(a(842), b); - }, function (q, b, a) { + a(2).__exportStar(a(844), b); + }, function (r, b, a) { var f, k, l, @@ -34440,71 +34438,73 @@ a000.D9b = function () { h, m, n, - r; - function c(p) { - return p.Ba(d.S.rb(p.HG)); + q, + p; + function c(t) { + return t.Da(d.S.rb(t.OG)); } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.E9 = b.ft = void 0; + b.z9 = b.mt = void 0; f = a(2); - q = a(16); + r = a(16); k = f.__importDefault(a(27)); - l = f.__importDefault(a(4)); + l = f.__importDefault(a(5)); d = a(22); g = a(6); - h = a(843); - m = a(403); + h = a(845); + m = a(407); n = a(113); - r = a(67); - b.ft = c; - a = (function (p) { - function u(t, w, v, x, y, z, B, A) { - var C, - E; - E = p.call(this) || this; - E.H = t; - E.tg = w; - E.xf = v; - E.Tc = x; - E.I = y; - E.T = z; - E.Hu = B; - E.Pg = A; - E.$j = E.H.error.bind(E.H); - E.Eb = E.H.warn.bind(E.H); - E.sm = E.H.trace.bind(E.H); - null === (C = x.events) || void 0 === C ? void 0 : C.addListener("ready", function () { - E.su(); - }); - E.Pna = new h.$Ba(E.I, E.tg, E.xf.Ub, E.H); - E.reset(); - return E; + q = a(68); + p = a(30); + b.mt = c; + a = (function (t) { + function u(w, v, x, y, z, A, B, C) { + var E, + G; + G = t.call(this) || this; + G.H = w; + G.tg = v; + G.zf = x; + G.Tc = y; + G.I = z; + G.T = A; + G.Ou = B; + G.Og = C; + G.ak = G.H.error.bind(G.H); + G.Gb = G.H.warn.bind(G.H); + G.rm = G.H.trace.bind(G.H); + null === (E = y.events) || void 0 === E ? void 0 : E.addListener("ready", function () { + G.xu(); + }); + G.Kna = new h.YBa(G.I, G.tg, G.zf.Wb, G.H); + G.reset(); + return G; } - f.__extends(u, p); + f.__extends(u, t); Object.defineProperties(u.prototype, { endOfStream: { get: function () { - return this.lQ; + return this.mQ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(u.prototype, { - S0: { + U0: { get: function () { - return this.Tc ? this.Tc.S0 : -1; + return this.Tc ? this.Tc.U0 : -1; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(u.prototype, { - eYb: { + gYb: { get: function () { return this.Pk.length; }, @@ -34513,7 +34513,7 @@ a000.D9b = function () { } }); Object.defineProperties(u.prototype, { - PFb: { + SFb: { get: function () { return this.Ci; }, @@ -34522,16 +34522,16 @@ a000.D9b = function () { } }); Object.defineProperties(u.prototype, { - w4a: { + y4a: { get: function () { - return !!this.Tc.Kvb; + return !!this.Tc.Qvb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(u.prototype, { - zz: { + Cz: { get: function () { return !!this.Tc.reset; }, @@ -34539,352 +34539,352 @@ a000.D9b = function () { configurable: !0 } }); - u.prototype.reset = function (t) { - var w, - v, + u.prototype.reset = function (w) { + var v, x, - y; - null === (w = this.YJa) || void 0 === w ? void 0 : w.wb(); + y, + z; + null === (v = this.WJa) || void 0 === v ? void 0 : v.zb(); this.Nk = !1; - t || (this.Pk = []); - this.Ci = this.Eca = this.oJ = void 0; - this.qca = !1; - this.ada = void 0; - this.Q_ = d.S.hb; - this.Yw = void 0; - this.lQ = !1; - this.Mda(d.S.hb); - null === (x = (v = this.Tc).reset) || void 0 === x ? void 0 : x.call(v); - null === (y = this.Pna) || void 0 === y ? void 0 : y.reset(); - }; - u.prototype.YRa = function () { - this.Eca = !0; + w || (this.Pk = []); + this.Ci = this.yca = this.qJ = void 0; + this.kca = !1; + this.Vca = void 0; + this.T_ = d.S.hb; + this.cx = void 0; + this.mQ = !1; + this.Gda(d.S.hb); + null === (y = (x = this.Tc).reset) || void 0 === y ? void 0 : y.call(x); + null === (z = this.Kna) || void 0 === z ? void 0 : z.reset(); + }; + u.prototype.XRa = function () { + this.yca = !0; }; u.prototype.pause = function () { this.Nk = !0; }; u.prototype.resume = function () { this.Nk = !1; - this.su(); + this.xu(); }; - u.prototype.Yx = function () { - this.Nk || this.su(); + u.prototype.cy = function () { + this.Nk || this.xu(); }; - u.prototype.Sja = function () { - var t; - return null === (t = this.Ci) || void 0 === t ? void 0 : t.Pd; - }; - u.prototype.Mlb = function (t) { + u.prototype.Lja = function () { var w; - if (this.I.OQa) { - g.assert(t.Na); - w = t.Na.ub; - g.assert(void 0 !== t.Jc); - g.assert(void 0 !== w.pc); - if (t.Jc >= w.pc) + return null === (w = this.Ci) || void 0 === w ? void 0 : w.Nd; + }; + u.prototype.Mlb = function (w) { + var v; + if (this.I.MQa) { + g.assert(w.Na); + v = w.Na.yb; + g.assert(void 0 !== w.Lc); + g.assert(void 0 !== v.uc); + if (w.Lc >= v.uc) return; } - this.Pk.push(t); - this.su(); + this.Pk.push(w); + this.xu(); }; - u.prototype.Br = function () { - this.su(); + u.prototype.Er = function () { + this.xu(); }; - u.prototype.Y6 = function (t) { - t = this.Pk.indexOf(t); - -1 !== t && this.Pk.splice(t, 1); + u.prototype.V6 = function (w) { + w = this.Pk.indexOf(w); + -1 !== w && this.Pk.splice(w, 1); }; - u.prototype.DZa = function (t, w) { - this.I.Hea && w && void 0 === this.Ci && this.kIa(t, 0); - this.su(); + u.prototype.BZa = function (w, v) { + this.I.Aea && v && void 0 === this.Ci && this.iIa(w, 0); + this.xu(); }; - u.prototype.W5 = function (t) { - var w, - v, - x; - w = this; - if (!this.lQ && (this.lQ = !0, this.su(), !this.w4a)) - if (t && this.Hu && this.I.utb) { - x = d.S.rb(this.I.V4a); - t = t.Ba(x); - x = r.hua(this.Hu, t, !0); - t = x.vr; - x = x.promise; - null === (v = this.YJa) || void 0 === v ? void 0 : v.wb(); - this.YJa = t; - x.then(function () { - w.lQ && w.Tc.endOfStream(); + u.prototype.W5 = function (w) { + var v, + x, + y; + v = this; + if (!this.mQ && (this.mQ = !0, this.xu(), !this.y4a)) + if (w && this.Ou && this.I.xtb) { + y = d.S.rb(this.I.X4a); + w = w.Da(y); + y = q.eua(this.Ou, w, !0); + w = y.yr; + y = y.promise; + null === (x = this.WJa) || void 0 === x ? void 0 : x.zb(); + this.WJa = w; + y.then(function () { + v.mQ && v.Tc.endOfStream(); }); } else this.Tc.endOfStream(); }; - u.prototype.w7 = function () { + u.prototype.s7 = function () { return JSON.stringify(this.Pk); }; - u.prototype.Mda = function (t) { - var w; - null !== (w = this.Sda) && void 0 !== w && w.equal(t) || (this.Sda = t, this.Tc.tSb(t.Wb, t.U)); + u.prototype.Gda = function (w) { + var v; + null !== (v = this.Mda) && void 0 !== v && v.equal(w) || (this.Mda = w, this.Tc.xSb(w.Zb, w.U)); }; - u.prototype.su = function () { - var t, - w, + u.prototype.xu = function () { + var w, v, x, y, z, - B, A, - C; - w = this.I; - if (this.Pk.length || this.Ci && !this.Ci.Je) + B, + C, + E; + v = this.I; + if (this.Pk.length || this.Ci && !this.Ci.Le) if (!this.Tc || !1 === this.Tc.ready) - this.xJ("@" + l.default.time.aa() + ", append: not appending, sourceBuffer not ready"); - else if (!this.Ci || this.Ci.Je || this.Ci.Ss()) - if (this.Ci && !this.Ci.Je || this.Pk.length) + this.zJ("@" + l.default.time.ba() + ", append: not appending, sourceBuffer not ready"); + else if (!this.Ci || this.Ci.Le || this.Ci.Xs()) + if (this.Ci && !this.Ci.Le || this.Pk.length) if (this.Nk) { - v = this.Ci && !this.Ci.Je ? this.Ci : this.Pk[0]; - this.xJ("@" + l.default.time.aa() + ", bufferManager _append ignored, paused, nextRequest: " + JSON.stringify(v)); - } else if ((!this.Ci || this.Ci.Je || (this.JIa(this.Ci), this.Ci.Je)) && this.Pk.length) - if ((v = this.Pk[0], v.aborted)) - (this.Eb("aborted MediaRequest should not appear in the toAppend list:", v.toString(), "complete:", v.complete), this.xJ("@" + l.default.time.aa() + ", append: removing aborted request from toAppend: " + v.toString()), this.Pk.shift()); + x = this.Ci && !this.Ci.Le ? this.Ci : this.Pk[0]; + this.zJ("@" + l.default.time.ba() + ", bufferManager _append ignored, paused, nextRequest: " + JSON.stringify(x)); + } else if ((!this.Ci || this.Ci.Le || (this.HIa(this.Ci), this.Ci.Le)) && this.Pk.length) + if ((x = this.Pk[0], x.aborted)) + (this.Gb("aborted MediaRequest should not appear in the toAppend list:", x.toString(), "complete:", x.complete), this.zJ("@" + l.default.time.ba() + ", append: removing aborted request from toAppend: " + x.toString()), this.Pk.shift()); else { - x = v.stream; - y = x.N; - if (x.zg) - if (this.LSb(x, v.index)) - (this.Eca = !1, this.kIa(x, v.index)); + y = x.stream; + z = y.N; + if (y.yg) + if (this.PSb(y, x.index)) + (this.yca = !1, this.iIa(y, x.index)); else { - z = this.T.Qn(y); - B = this.zDb(x); - if (z || B || !(this.qca && x.track.zU || w.P8)) - if ((x = this.fUa(v), this.tg !== k.default.Za.Tb || !v.Ap && !v.ov || !v.na || w.mz || this.lQ || 1 !== this.Pk.length || !(x > w.MU) || null !== (t = v.PG) && void 0 !== t && t.y4)) { - if (w.OQa || w.mvb) - if ((t = v.Na.ub, z = this.Qtb())) { - A = t.ik; - C = v.pc >= z; - x = x > w.MU; - if (z < t.pc && C && x && !A) + A = this.T.Sn(z); + B = this.DDb(y); + if (A || B || !(this.kca && y.track.yU || v.K8)) + if ((y = this.fUa(x), this.tg !== k.default.Ra.Ob || !x.Cp && !x.uv || !x.na || v.pz || this.mQ || 1 !== this.Pk.length || !(y > v.LU) || null !== (w = x.YG) && void 0 !== w && w.y4)) { + if (v.MQa || v.qvb) + if ((w = x.Na.yb, A = this.Ttb())) { + C = w.ik; + E = x.uc >= A; + y = y > v.LU; + if (A < w.uc && E && y && !C) return; } - if (w.dMb && this.Pg && (w = this.Pg(y.Db)) && !w.nR) + if (v.fMb && this.Og && (v = this.Og(z.Fb)) && !v.pR) this.pause(); else { - this.qca || (this.qca = B); + this.kca || (this.kca = B); this.Pk.shift(); try { - this.Reb(v); - } catch (E) { - throw (this.H.error(E), E); + this.Seb(x); + } catch (G) { + throw (this.H.error(G), G); } } } else - this.YQb(); + this.cRb(); } } }; - u.prototype.YQb = function () { - var t; - t = this; - this.Hu && (this.qma ? this.qma.pEb || this.qma.nl() : this.qma = this.Hu.mB(function () { - return t.EFb(); + u.prototype.cRb = function () { + var w; + w = this; + this.Ou && (this.kma ? this.kma.sEb || this.kma.ml() : this.kma = this.Ou.nB(function () { + return w.HFb(); }, "JIT Appender")); }; - u.prototype.EFb = function () { - var t, - w, + u.prototype.HFb = function () { + var w, v, - x; - return f.__generator(this, function (y) { - switch (y.label) { + x, + y; + return f.__generator(this, function (z) { + switch (z.label) { case 0: if (1 !== this.Pk.length) return [3, 3]; - t = this.Pk[0]; - if (!t.Ap && !t.ov || (null === (x = t.PG) || void 0 === x ? 0 : x.y4)) + w = this.Pk[0]; + if (!w.Cp && !w.uv || (null === (y = w.YG) || void 0 === y ? 0 : y.y4)) return [2]; - w = this.fUa(t); - v = this.I.MU; - return w > v ? [4, r.mj.VC(d.S.rb(w - v))] : [3, 2]; + v = this.fUa(w); + x = this.I.LU; + return v > x ? [4, q.jj.XC(d.S.rb(v - x))] : [3, 2]; case 1: - (y.Oe(), y.label = 2); + (z.Wd(), z.label = 2); case 2: - return (this.su(), [3, 0]); + return (this.xu(), [3, 0]); case 3: return [2]; } }); }; - u.prototype.fUa = function (t) { - return t.Zc - this.T.xe(); + u.prototype.fUa = function (w) { + return w.Zc - this.T.ye(); }; - u.prototype.LSb = function (t, w) { - var v; - if (this.Eca || void 0 === this.oJ || t.La !== this.oJ.La) + u.prototype.PSb = function (w, v) { + if (this.yca || void 0 === this.qJ || w.Ma !== this.qJ.Ma) return !0; - t = t.zg; - g.assert(t); - v = this.oJ.lWa; - return v === t.length - 1 ? !1 : w >= t[v + 1].kf; - }; - u.prototype.zDb = function (t) { - if (0 === t.mediaType || !t.By) + w = w.yg; + g.assert(w); + return 1 < w.length ? p.lMa(w, function (x) { + return x.kf <= v; + }) !== this.qJ.jWa : !1; + }; + u.prototype.DDb = function (w) { + if (0 === w.mediaType || !w.Ey) return !0; - if (void 0 === this.oJ) + if (void 0 === this.qJ) return !1; - t = t.zg; - g.assert(t); - return !1 === t[this.oJ.lWa].kk; + w = w.yg; + g.assert(w); + return !1 === w[this.qJ.jWa].kk; }; - u.prototype.Qtb = function () { + u.prototype.Ttb = function () { throw Error("not supported"); }; - u.prototype.Meb = function (t) { - this.Q_ = m.kZ.$0(this.I, t.he, this.xf.Ub, this.H); + u.prototype.Neb = function (w) { + this.T_ = m.kZ.b1(this.I, w.ee, this.zf.Wb, this.H); }; - u.prototype.kIa = function (t, w) { - var v; - v = t.zg.reduce(function (x, y, z) { - return y.kf <= w ? z : x; + u.prototype.iIa = function (w, v) { + var x; + x = w.yg.reduce(function (y, z, A) { + return z.kf <= v ? A : y; }, 0); - if (this.Tc.appendBuffer(t.zg[v].data, { - Lc: !0, - profile: t.profile, - bitrate: t.bitrate, - La: t.id + if (this.Tc.appendBuffer(w.yg[x].data, { + Nc: !0, + profile: w.profile, + bitrate: w.bitrate, + Ma: w.id })) - (this.xJ("@" + l.default.time.aa() + ", header appended, streamId: " + t.La), this.oJ = { - La: t.La, - lWa: v - }, this.Sib(t.N.Db || 0, t.La, v), this.Meb(t), this.su()); + (this.zJ("@" + l.default.time.ba() + ", header appended, streamId: " + w.Ma), this.qJ = { + Ma: w.Ma, + jWa: x + }, this.Tib(w.N.Fb || 0, w.Ma, x), this.Neb(w), this.xu()); else - throw (this.Eb("appendHeader error: " + this.Tc.error), this.xJ("@" + l.default.time.aa() + ", appendHeader error: " + this.Tc.error), Error("appendHeaderError")); + throw (this.Gb("appendHeader error: " + this.Tc.error), this.zJ("@" + l.default.time.ba() + ", appendHeader error: " + this.Tc.error), Error("appendHeaderError")); }; - u.prototype.Reb = function (t) { - var w, - v, + u.prototype.Seb = function (w) { + var v, x, y, z, + A, B, - A; - x = t.M6 || d.S.hb; - y = t.Na.ub.P; - y.Aa && Infinity !== y.Aa && (x = new d.S(y.Aa, 1E3).add(x).Wg, Infinity === this.xf.duration || this.xf.duration < x) && (this.xf.duration = x); - if (this.Pna) { - x = !0; - y = !1; - z = d.S.hb; - B = void 0 !== t.Ot ? d.S.rb(t.Ot).add(t.M6) : void 0; - A = null === (w = this.Pk[0]) || void 0 === w ? void 0 : w.Ui; - w = { - endOfStream: this.endOfStream || !(null === (v = t.PG) || void 0 === v || !v.y4), + C; + y = w.J6 || d.S.hb; + z = w.Na.yb.P; + z.Ca && Infinity !== z.Ca && (y = new d.S(z.Ca, 1E3).add(y).Ug, Infinity === this.zf.duration || this.zf.duration < y) && (this.zf.duration = y); + if (this.Kna) { + y = !0; + z = !1; + A = d.S.hb; + B = void 0 !== w.Ut ? d.S.rb(w.Ut).add(w.J6) : void 0; + C = null === (v = this.Pk[0]) || void 0 === v ? void 0 : v.Si; + v = { + endOfStream: this.endOfStream || !(null === (x = w.YG) || void 0 === x || !x.y4), n5: B, - TU: A + SU: C }; - v = this.Pna.append(t, w); - this.Mda(v); - } else (y = x = !1, z = d.S.hb, this.Tgb(t)); - this.Yw && z && (this.Yw = this.Yw.add(z)); - this.JIa(t, x, y); + x = this.Kna.append(w, v); + this.Gda(x); + } else (z = y = !1, A = d.S.hb, this.Ugb(w)); + this.cx && A && (this.cx = this.cx.add(A)); + this.HIa(w, y, z); }; - u.prototype.JIa = function (t, w, v) { - var x, - y, - z; - v = t.JE(this.Tc, this.xf.Ub, this.Ci, this.Pk[0], w, v); - w = v.status; - (v = v.Gj) && this.emit(v.type, v); - w !== n.dj.uf ? (this.Ci = t, w === n.dj.pw && (void 0 === this.Yw || this.tg !== k.default.Za.Tb || t.Ui.equal(this.Yw) || (this.Nib(t, this.Yw), this.Yw = void 0), this.xJ("@" + l.default.time.aa() + ", request appended, type: " + t.mediaType + ", streamId: " + t.La + ", pts: " + t.Zc + "-" + t.Pd), t.Ap || t.ov ? (this.Yw = t.pf, this.kfb(t, this.Sda || d.S.hb), null === (y = (x = this.Tc).Kvb) || void 0 === y ? void 0 : y.call(x, t.PG), this.I.kX && this.I.AK && (null === (z = t.PG) || void 0 === z ? 0 : z.y4) && this.W5(t.pf)) : this.Yw = void 0, this.Tib(t), this.su())) : this.Qeb(t); + u.prototype.HIa = function (w, v, x) { + var y, + z, + A; + x = w.LE(this.Tc, this.zf.Wb, this.Ci, this.Pk[0], v, x); + v = x.status; + (x = x.Fj) && this.emit(x.type, x); + v !== n.bj.wf ? (this.Ci = w, v === n.bj.ww && (void 0 === this.cx || this.tg !== k.default.Ra.Ob || w.Si.equal(this.cx) || (this.Oib(w, this.cx), this.cx = void 0), this.zJ("@" + l.default.time.ba() + ", request appended, type: " + w.mediaType + ", streamId: " + w.Ma + ", pts: " + w.Zc + "-" + w.Nd), w.Cp || w.uv ? (this.cx = w.pf, this.lfb(w, this.Mda || d.S.hb), null === (z = (y = this.Tc).Qvb) || void 0 === z ? void 0 : z.call(y, w.YG), this.I.jX && this.I.EK && (null === (A = w.YG) || void 0 === A ? 0 : A.y4) && this.W5(w.pf)) : this.cx = void 0, this.Uib(w), this.xu())) : this.Reb(w); }; - u.prototype.Qeb = function (t) { + u.prototype.Reb = function (w) { if (void 0 !== this.Tc.error) { if ("done" === this.Tc.error) return; - this.$j("failure to append queued mediaRequest:", null === t || void 0 === t ? void 0 : t.toString(), "err:", JSON.stringify(this.Tc.error)); + this.ak("failure to append queued mediaRequest:", null === w || void 0 === w ? void 0 : w.toString(), "err:", JSON.stringify(this.Tc.error)); throw this.Tc.error; } - t = Error("failure to append queued mediaRequest: " + (null === t || void 0 === t ? void 0 : t.toString()) + " err: " + this.Tc.error); - this.$j(t.message); - throw t; + w = Error("failure to append queued mediaRequest: " + (null === w || void 0 === w ? void 0 : w.toString()) + " err: " + this.Tc.error); + this.ak(w.message); + throw w; }; - u.prototype.Tgb = function (t) { - var w, - v, - x; - v = t.M6 || d.S.hb; - if (void 0 === this.ada || v && !v.equal(this.ada)) { - x = this.Q_.add(v); - this.Mda(x); - this.ada = v; + u.prototype.Ugb = function (w) { + var v, + x, + y; + x = w.J6 || d.S.hb; + if (void 0 === this.Vca || x && !x.equal(this.Vca)) { + y = this.T_.add(x); + this.Gda(y); + this.Vca = x; } - void 0 === this.Ci && !this.I.m5 && t.stream.he && this.I.ck && (v = null === (w = t.Xc) || void 0 === w ? void 0 : w.Ba(t.stream.he).add(this.Sda), v.lessThan(d.S.hb) && (w = Math.ceil(v.mC(-1).Yk(t.stream.pa)), t.AS(w))); + void 0 === this.Ci && !this.I.m5 && w.stream.ee && this.I.dk && (x = null === (v = w.Wc) || void 0 === v ? void 0 : v.Da(w.stream.ee).add(this.Mda), x.lessThan(d.S.hb) && (v = Math.ceil(x.oC(-1).Yk(w.stream.pa)), w.zS(v))); }; - u.prototype.kfb = function (t, w) { - var v, - x; - v = t.stream.pa; - x = t.Md; - this.I.ck && t.stream.he && (x = x.Ba(t.stream.he)); - c(x.Ba(v)).add(c(v)).add(c(w)); + u.prototype.lfb = function (w, v) { + var x, + y; + x = w.stream.pa; + y = w.Kd; + this.I.dk && w.stream.ee && (y = y.Da(w.stream.ee)); + c(y.Da(x)).add(c(x)).add(c(v)); }; - u.prototype.Sib = function (t, w, v) { - t = { + u.prototype.Tib = function (w, v, x) { + w = { type: "headerAppended", mediaType: this.tg, - manifestIndex: t, - streamId: w, - isIndex: v + manifestIndex: w, + streamId: v, + isIndex: x }; - this.emit(t.type, t); + this.emit(w.type, w); }; - u.prototype.Tib = function (t) { - t = { + u.prototype.Uib = function (w) { + w = { type: "requestAppended", mediaType: this.tg, - request: t + request: w }; - this.emit(t.type, t); + this.emit(w.type, w); }; - u.prototype.xJ = function (t) { - t = { + u.prototype.zJ = function (w) { + w = { type: "managerdebugevent", - message: t + message: w }; - this.emit(t.type, t); + this.emit(w.type, w); }; - u.prototype.Nib = function (t, w) { - var v; - v = t.Jc; - t = t.Ui.Ba(w).V; - v = { + u.prototype.Oib = function (w, v) { + var x; + x = w.Lc; + w = w.Si.Da(v).V; + x = { type: "logdata", target: "endplay", fields: { audiodisc: { type: "array", - value: [v, t] + value: [x, w] } } }; - this.emit(v.type, v); + this.emit(x.type, x); }; return u; - })(q.EventEmitter); - b.E9 = a; - }, function (q, b) { + })(r.EventEmitter); + b.z9 = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.g3 = b.clb = void 0; - b.clb = function (a) { - return a.m7; + b.i3 = b.dlb = void 0; + b.dlb = function (a) { + return a.j7; }; - b.g3 = function (a, c) { - return void 0 !== a.YL ? a.YL : c && void 0 !== c.YL ? c.YL : 100; + b.i3 = function (a, c) { + return void 0 !== a.$L ? a.$L : c && void 0 !== c.$L ? c.$L : 100; }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l) { return k < l ? -1 : k > l ? 1 : 0; @@ -34894,15 +34894,15 @@ a000.D9b = function () { value: !0 } }); - b.RY = void 0; + b.QY = void 0; f = a(2); - q = (function () { + r = (function () { function k(l, d) { this.data = null !== l && void 0 !== l ? l : []; this.compare = null !== d && void 0 !== d ? d : c; if (!this.empty) for (l = (this.length >> 1) - 1; 0 <= l; l--) { - this.sca(l); + this.mca(l); } } Object.defineProperties(k.prototype, { @@ -34925,7 +34925,7 @@ a000.D9b = function () { }); k.prototype.push = function (l) { this.data.push(l); - this.Vda(this.length - 1); + this.Pda(this.length - 1); }; k.prototype.pop = function () { var l, @@ -34933,16 +34933,16 @@ a000.D9b = function () { if (!this.empty) { l = this.data[0]; d = this.data.pop(); - this.empty || (this.data[0] = d, this.sca(0)); + this.empty || (this.data[0] = d, this.mca(0)); return l; } }; - k.prototype.Ev = function () { + k.prototype.Kv = function () { return this.data[0]; }; - k.prototype.SNb = function (l) { + k.prototype.XNb = function (l) { l = this.data.indexOf(l); - -1 !== l && this.Vda(l); + -1 !== l && this.Pda(l); }; k.prototype.map = function (l) { return this.data.map(l); @@ -34965,7 +34965,7 @@ a000.D9b = function () { d[l] = g; h = l - 1 >> 1; d = d[h]; - 0 <= h && 0 > this.compare(g, d) ? this.Vda(l) : this.sca(l); + 0 <= h && 0 > this.compare(g, d) ? this.Pda(l) : this.mca(l); } } }; @@ -34978,7 +34978,7 @@ a000.D9b = function () { k.prototype.contains = function (l) { return 0 <= this.data.indexOf(l); }; - k.prototype.Vda = function (l) { + k.prototype.Pda = function (l) { for (var d = this.data, g = this.compare, h = d[l], m, n; 0 < l; ) { m = l - 1 >> 1; n = d[m]; @@ -34989,12 +34989,12 @@ a000.D9b = function () { } d[l] = h; }; - k.prototype.sca = function (l) { - for (var d = this.data, g = this.compare, h = this.length >> 1, m = d[l], n, r, p; l < h; ) { + k.prototype.mca = function (l) { + for (var d = this.data, g = this.compare, h = this.length >> 1, m = d[l], n, q, p; l < h; ) { n = (l << 1) + 1; p = d[n]; - r = n + 1; - r < this.length && 0 > g(d[r], p) && (n = r, p = d[r]); + q = n + 1; + q < this.length && 0 > g(d[q], p) && (n = q, p = d[q]); if (0 <= g(p, m)) break; d[l] = p; @@ -35004,8 +35004,8 @@ a000.D9b = function () { }; return k; })(); - b.RY = q; - }, function (q, b, a) { + b.QY = r; + }, function (r, b, a) { var c, f, k, @@ -35020,119 +35020,75 @@ a000.D9b = function () { value: !0 } }); - b.MX = void 0; + b.LX = void 0; c = a(2); a(6); - q = a(43); + r = a(43); f = c.__importDefault(a(27)); - k = c.__importDefault(a(124)); - l = c.__importDefault(a(4)); - d = a(246); + k = c.__importDefault(a(123)); + l = c.__importDefault(a(5)); + d = a(247); g = a(98); h = a(113); - m = l.default.kq; - n = a(863); - a = c.__importDefault(a(864)); - l = (function (r) { - function p(u, t, w, v, x, y, z, B) { - var a00, - A; - a00 = 2; - for (; a00 !== 6; ) { - switch (a00) { - case 9: - A = r.call(this, u, t, A, w, v, y, z) || this; - g.Gk.mb(A, u, w, B); - return A; - break; - case 2: - var j9b = "ed"; - j9b += "i"; - j9b += "t"; - var A9b = "ca"; - A9b += "c"; - A9b += "h"; - A9b += "e"; - var e9b = "1SIYbZ"; - e9b += "rN"; - e9b += "JCp9"; - A = this; - e9b; - A = [A9b, j9b].filter(function (C, E) { - var b00; - b00 = 2; - for (; b00 !== 1; ) { - switch (b00) { - case 2: - return [x, w.na][E]; - break; - } - } - }); - A = A.length ? "(" + A.join(",") + ")" : ""; - void 0 === w.responseType && (w.responseType = w.na || m.Ub && !m.Ub.cW.LP ? 0 : 1); - a00 = 9; - break; - } - } - } + m = l.default.mq; + n = a(865); + a = c.__importDefault(a(866)); + l = (function (q) { var R8; R8 = 2; for (; R8 !== 9; ) { switch (R8) { - case 3: - return p; - break; case 2: - c.__extends(p, r); - p.create = function (u, t, w, v, x, y, z, B) { + c.__extends(p, q); + p.create = function (t, u, w, v, x, y, z, A) { var c00, - A, + B, C; c00 = 2; for (; c00 !== 11; ) { switch (c00) { - case 1: - return new n.Pua(u, w, v, x, y, t, z, B); - break; case 5: - c00 = v.RL && v.ca > v.RL ? 4 : 12; + c00 = v.TL && v.da > v.TL ? 4 : 12; break; case 4: - A = Math.ceil(v.ca / v.RL); + B = Math.ceil(v.da / v.TL); y = v.offset; - C = v.ca; - x = new d.ZC(u, v, x, t, z, B); + C = v.da; + x = new d.aD(t, v, x, u, z, A); c00 = 7; break; case 2: - c00 = !t.Uf && v.na && u.mediaType === f.default.Za.Hb && m.Ub && m.Ub.cW.LP ? 1 : 5; - break; - case 7: - B = Math.ceil(v.ca / A); - c00 = 6; + c00 = !u.Vf && v.na && t.mediaType === f.default.Ra.Bb && m.Wb && m.Wb.cW.LP ? 1 : 5; break; - case 13: - return x; + case 1: + return new n.Mua(t, w, v, x, y, u, z, A); break; case 6: c00 = 0 < C ? 14 : 13; break; - case 12: - return new p(u, w, v, x, y, t, z, B); + case 7: + A = Math.ceil(v.da / B); + c00 = 6; break; case 14: - var l9b = "sub"; - l9b += "re"; - l9b += "q"; - l9b += "uest"; - (A = { + var S1q = "s"; + S1q += "ub"; + S1q += "r"; + S1q += "eques"; + S1q += "t"; + (B = { offset: y, - ca: Math.min(C, B), + da: Math.min(C, A), responseType: v.responseType - }, y += A.ca, C -= A.ca, x.push(new h.OX(u, w, l9b, A, x, t, z))); + }, y += B.da, C -= B.da, x.push(new h.NX(t, w, S1q, B, x, u, z))); c00 = 6; break; + case 12: + return new p(t, w, v, x, y, u, z, A); + break; + case 13: + return x; + break; } } }; @@ -35142,10 +35098,10 @@ a000.D9b = function () { for (; d00 !== 1; ) { switch (d00) { case 2: - var q9b = "I"; - q9b += "D:"; - q9b += " "; - return q9b + this.Jh() + ":" + g.Gk.prototype.toString.call(this); + var J1q = "ID"; + J1q += ":"; + J1q += " "; + return J1q + this.Jh() + ":" + g.em.prototype.toString.call(this); break; } } @@ -35158,21 +35114,67 @@ a000.D9b = function () { case 2: return { ID: this.Jh(), - request: g.Gk.prototype.toJSON.call(this) + request: g.em.prototype.toJSON.call(this) }; break; } } }; - R8 = 3; + return p; break; } } - })(h.OX); - b.MX = l; + function p(t, u, w, v, x, y, z, A) { + var a00, + B; + a00 = 2; + for (; a00 !== 6; ) { + switch (a00) { + case 9: + B = q.call(this, t, u, B, w, v, y, z) || this; + g.em.mb(B, t, w, A); + return B; + break; + case 2: + var U1q = "e"; + U1q += "d"; + U1q += "i"; + U1q += "t"; + var r1q = "c"; + r1q += "a"; + r1q += "c"; + r1q += "h"; + r1q += "e"; + var T1q = "1"; + T1q += "SIY"; + T1q += "bZrNJ"; + T1q += "C"; + T1q += "p9"; + B = this; + T1q; + B = [r1q, U1q].filter(function (C, E) { + var b00; + b00 = 2; + for (; b00 !== 1; ) { + switch (b00) { + case 2: + return [x, w.na][E]; + break; + } + } + }); + B = B.length ? "(" + B.join(",") + ")" : ""; + void 0 === w.responseType && (w.responseType = w.na || m.Wb && !m.Wb.cW.LP ? 0 : 1); + a00 = 9; + break; + } + } + } + })(h.NX); + b.LX = l; k.default(a.default, l.prototype); - q.tf(g.Gk, l, !1); - }, function (q, b, a) { + r.tf(g.em, l, !1); + }, function (r, b, a) { var c, f, k, @@ -35185,27 +35187,27 @@ a000.D9b = function () { value: !0 } }); - b.ZC = void 0; + b.aD = void 0; c = a(2); f = a(6); - q = a(43); + r = a(43); k = a(9); l = a(30); - d = a(401); + d = a(405); g = a(98); h = a(113); a = (function (m) { - function n(r, p, u, t, w, v) { - u = m.call(this, r, p, u, t, w) || this; - g.Gk.mb(u, r, p, v); - u.Fc = 0; - u.na || u.th(); - u.Je = !1; - return u; + function n(q, p, t, u, w, v) { + t = m.call(this, q, p, t, u, w) || this; + g.em.mb(t, q, p, v); + t.Hc = 0; + t.na || t.sh(); + t.Le = !1; + return t; } c.__extends(n, m); Object.defineProperties(n.prototype, { - Lc: { + Nc: { get: function () { return !1; }, @@ -35213,45 +35215,45 @@ a000.D9b = function () { configurable: !0 } }); - n.prototype.push = function (r) { - this.Fc += r.ca; - m.prototype.push.call(this, r); + n.prototype.push = function (q) { + this.Hc += q.da; + m.prototype.push.call(this, q); }; - n.prototype.Ss = function () { - var r; - return !this.Je && !!this.za.length && !(null === (r = l.wg(this.za, function (p) { - return !p.Je; - })) || void 0 === r || !r.Ss()); + n.prototype.Xs = function () { + var q; + return !this.Le && !!this.Aa.length && !(null === (q = l.wg(this.Aa, function (p) { + return !p.Le; + })) || void 0 === q || !q.Xs()); }; - n.prototype.JE = function (r, p) { - var u, - t; - f.assert(!this.Je); - u = h.dj.Tbb; - t = k.Bp(this); - this.Je = this.za.every(function (w) { - if (w.Je) + n.prototype.LE = function (q, p) { + var t, + u; + f.assert(!this.Le); + t = h.bj.Xbb; + u = k.Dp(this); + this.Le = this.Aa.every(function (w) { + if (w.Le) return !0; - if (!w.Ss()) + if (!w.Xs()) return !1; - u = w.JE(r, p, void 0, void 0, void 0, void 0, t).status; - return u === h.dj.pw; + t = w.LE(q, p, void 0, void 0, void 0, void 0, u).status; + return t === h.bj.ww; }); - u !== h.dj.pw || this.Je || (u = h.dj.ocb); + t !== h.bj.ww || this.Le || (t = h.bj.scb); return { - status: u + status: t }; }; - n.prototype.uPb = function () { - this.za.forEach(function (r) { - r.SV(); + n.prototype.zPb = function () { + this.Aa.forEach(function (q) { + q.RV(); }); }; n.prototype.Jh = function () { - return this.za ? this.za[0].Jh() + "-" + this.za[this.za.length - 1].Jh() : "empty"; + return this.Aa ? this.Aa[0].Jh() + "-" + this.Aa[this.Aa.length - 1].Jh() : "empty"; }; n.prototype.toString = function () { - return "ID: " + this.Jh() + ":" + g.Gk.prototype.toString.call(this) + "(aggregate)"; + return "ID: " + this.Jh() + ":" + g.em.prototype.toString.call(this) + "(aggregate)"; }; n.prototype.toJSON = function () { return { @@ -35260,10 +35262,10 @@ a000.D9b = function () { }; }; return n; - })(d.o9); - b.ZC = a; - q.tf(g.Gk, a); - }, function (q, b, a) { + })(d.j9); + b.aD = a; + r.tf(g.em, a); + }, function (r, b, a) { var k, l, d, @@ -35271,21 +35273,20 @@ a000.D9b = function () { h, m, n, - r, - p; - function c(u, t) { - return u.done ? u : { + q; + function c(p, t) { + return p.done ? p : { value: { - value: u.value, - iLa: t + value: p.value, + gLa: t } }; } - function f(u) { - u.iLa(); + function f(p) { + p.gLa(); return { done: !1, - value: u.value + value: p.value }; } Object.defineProperties(b, { @@ -35293,73 +35294,72 @@ a000.D9b = function () { value: !0 } }); - b.fmb = b.tdb = b.PX = void 0; + b.fmb = b.wdb = b.OX = void 0; k = a(2); - q = a(16); + r = a(16); l = a(176); d = a(19); - g = k.__importDefault(a(4)); + g = k.__importDefault(a(5)); h = a(9); m = a(6); a = a(43); - n = g.default.Promise; - r = (function () { - function u(t, w) { + n = (function () { + function p(t, u) { this.console = t; - this.Ef = w; - this.shb = this.iQ = 0; + this.Gf = u; + this.thb = this.jQ = 0; this.Zf = []; - this.console = h.Ys(g.default, this.console, "QueueIterator:"); + this.console = h.Yq(g.default, this.console, "QueueIterator:"); } - Object.defineProperties(u.prototype, { - Ctb: { + Object.defineProperties(p.prototype, { + Ftb: { get: function () { - return this.iQ; + return this.jQ; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - yOa: { + Object.defineProperties(p.prototype, { + wOa: { get: function () { var t, - w, - v; - for (w = 0; w < this.Zf.length; w++) { - v = this.Zf[w]; - if (!v.$T || (null === (t = v.item) || void 0 === t ? 0 : t.done)) + u, + w; + for (u = 0; u < this.Zf.length; u++) { + w = this.Zf[u]; + if (!w.ZT || (null === (t = w.item) || void 0 === t ? 0 : t.done)) break; } - return w; + return u; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { + Object.defineProperties(p.prototype, { count: { get: function () { - return this.Ef; + return this.Gf; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Ay: { + Object.defineProperties(p.prototype, { + Dy: { get: function () { - return 0 === this.Ef; + return 0 === this.Gf; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Zqa: { + Object.defineProperties(p.prototype, { + Tqa: { get: function () { var t; - for (t = 0; t < this.Zf.length && this.Zf[t].hma; t++) { ; + for (t = 0; t < this.Zf.length && this.Zf[t].bma; t++) { ; } return t; }, @@ -35367,7 +35367,7 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(u.prototype, { + Object.defineProperties(p.prototype, { head: { get: function () { var t; @@ -35378,11 +35378,11 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(u.prototype, { - ooa: { + Object.defineProperties(p.prototype, { + joa: { get: function () { var t; - for (t = 0; t < this.Zf.length && this.Zf[t].$T; t++) { ; + for (t = 0; t < this.Zf.length && this.Zf[t].ZT; t++) { ; } return t; }, @@ -35390,382 +35390,383 @@ a000.D9b = function () { configurable: !0 } }); - u.prototype.i2 = function () { + p.prototype.j2 = function () { var t; - if (void 0 === this.Ef) { + if (void 0 === this.Gf) { t = this.console; - d.ka && t && t.trace("QueueIterator: enqueueEnd"); - this.Ita(this.ooa - (this.Ef || 0)); + d.ia && t && t.trace("QueueIterator: enqueueEnd"); + this.Cta(this.joa - (this.Gf || 0)); } }; - u.prototype.no = function () { + p.prototype.oo = function () { return this.Zf.map(function (t) { return t.item; }); }; - u.prototype.hta = function () { - this.Ro || (this.Ro = this.Zf.filter(function (t) { + p.prototype.bta = function () { + this.So || (this.So = this.Zf.filter(function (t) { return (null === t || void 0 === t ? void 0 : t.item) && !t.item.done; }).map(function (t) { return t.item.value; })); - return this.Ro; + return this.So; }; - u.prototype.Ita = function (t) { - var w; - d.ka && this.console.trace("updateCount", { - K6b: this.Ef, - pK: t + p.prototype.Cta = function (t) { + var u; + d.ia && this.console.trace("updateCount", { + V6b: this.Gf, + tK: t }); - if (void 0 !== this.Ef) { - w = this.Zf[this.Ef]; - w && this.Lla(w); + if (void 0 !== this.Gf) { + u = this.Zf[this.Gf]; + u && this.Gla(u); } - this.Ef = void 0 === this.Ef ? t : void 0 === t ? t : this.Ef + t; - void 0 !== this.Ef && (this.Ef = Math.max(0, this.Ef), (w = this.Zf[this.Ef]) && w.OF.resolve({ + this.Gf = void 0 === this.Gf ? t : void 0 === t ? t : this.Gf + t; + void 0 !== this.Gf && (this.Gf = Math.max(0, this.Gf), (u = this.Zf[this.Gf]) && u.UF.resolve({ done: !0 })); }; - u.prototype.enqueue = function (t) { - var w; - d.ka && this.console.trace("Enqueue called"); - w = this.ooa; - this.g1(); - return this.nOb(w, { + p.prototype.enqueue = function (t) { + var u; + d.ia && this.console.trace("Enqueue called"); + u = this.joa; + this.i1(); + return this.sOb(u, { value: t, done: !1 - }).VPa.promise; + }).TPa.promise; }; - u.prototype.a2a = function () { - d.ka && this.console.trace("resetEnd"); - this.Ita(void 0); + p.prototype.$1a = function () { + d.ia && this.console.trace("resetEnd"); + this.Cta(void 0); }; - u.prototype.clear = function (t) { - var w, - v, - x; - d.ka && this.console.trace("clear"); + p.prototype.clear = function (t) { + var u, + w, + v; + d.ia && this.console.trace("clear"); this.Q0a(); - w = this.Zqa; - v = this.Zf.length - w; - if (0 < v) { - x = { - index: w, - Boa: v + u = this.Tqa; + w = this.Zf.length - u; + if (0 < w) { + v = { + index: u, + woa: w }; - d.ka && this.console.trace("Removing items", x); - this.Zf.splice(w, v); - this.g1(); - this.emit("onRemoved", x); + d.ia && this.console.trace("Removing items", v); + this.Zf.splice(u, w); + this.i1(); + this.emit("onRemoved", v); } - for (v = 1; v < w; v++) { - this.Lla(this.Zf[v]); + for (w = 1; w < u; w++) { + this.Gla(this.Zf[w]); } - this.Ef = void 0; - this.Ita(t ? t + w : t); - this.iQ && (this.iQ = 0); + this.Gf = void 0; + this.Cta(t ? t + u : t); + this.jQ && (this.jQ = 0); }; - u.prototype.getIterator = function () { + p.prototype.getIterator = function () { var t, - w; + u; t = this; - w = h.Ys(g.default, this.console, "QueueIteratorInstance::"); - return new p(this, function (v) { - return t.LTa(v); - }, w); + u = h.Yq(g.default, this.console, "QueueIteratorInstance::"); + return new q(this, function (w) { + return t.NTa(w); + }, u); }; - u.prototype.qK = function () { + p.prototype.uK = function () { var t; - if (0 < this.Zqa) { + if (0 < this.Tqa) { t = k.__read(this.Zf, 1)[0]; - if (t.$T) - return (d.ka && this.console.trace("dequeue", t.id), this.Q0a(1), this.emit("onDequeue", t.OF.promise)); + if (t.ZT) + return (d.ia && this.console.trace("dequeue", t.id), this.Q0a(1), this.emit("onDequeue", t.UF.promise)); } }; - u.prototype.remove = function (t) { - var w, - v, - x; - for (w = 0; w < this.Zf.length; w++) { - v = this.Zf[w]; - x = v.item; - if (x && !x.done && x.value === t) { - this.Zf.splice(w, 1); - this.Ef && this.Ef > w && this.Ef--; - this.g1(); - d.ka && this.console.trace("removed", { - id: v.id + p.prototype.remove = function (t) { + var u, + w, + v; + for (u = 0; u < this.Zf.length; u++) { + w = this.Zf[u]; + v = w.item; + if (v && !v.done && v.value === t) { + this.Zf.splice(u, 1); + this.Gf && this.Gf > u && this.Gf--; + this.i1(); + d.ia && this.console.trace("removed", { + id: w.id }); this.emit("onRemoved", { - index: w, - Boa: 1 + index: u, + woa: 1 }); break; } } }; - u.prototype.Q0a = function (t) { - var w; - t = t || Math.min(this.Zqa, this.ooa); + p.prototype.Q0a = function (t) { + var u; + t = t || Math.min(this.Tqa, this.joa); if (0 < t) { - w = this.Zf.splice(0, t); - this.g1(); - this.Ef && (this.Ef -= t); - d.ka && this.console.trace("pruned", t); - n.resolve().then(function () { - w.forEach(function (v) { - v.VPa.resolve(); + u = this.Zf.splice(0, t); + this.i1(); + this.Gf && (this.Gf -= t); + d.ia && this.console.trace("pruned", t); + Promise.resolve().then(function () { + u.forEach(function (w) { + w.TPa.resolve(); }); }); this.emit("onRemoved", { index: 0, - Boa: t + woa: t }); - this.iQ += t; + this.jQ += t; } }; - u.prototype.LTa = function (t) { - var w; - d.ka && this.console.trace("getNextItemCalled", { + p.prototype.NTa = function (t) { + var u; + d.ia && this.console.trace("getNextItemCalled", { offset: t }); if (void 0 === this.count || 0 < this.count) { - this.KVa(t); - w = this.Zf[t]; - w.jQb.resolve(); - t = w.OF.promise; - d.ka && this.console.trace("getNextItem:return", { - id: w.id + this.IVa(t); + u = this.Zf[t]; + u.oQb.resolve(); + t = u.UF.promise; + d.ia && this.console.trace("getNextItem:return", { + id: u.id }); - } else (d.ka && this.console.trace("getNextItem:returnDone"), t = n.resolve({ + } else (d.ia && this.console.trace("getNextItem:returnDone"), t = Promise.resolve({ done: !0 })); return t; }; - u.prototype.nOb = function (t, w) { - var v; - v = !w.done && w.value; - v = v && v.toJSON ? v.toJSON() : v; - d.ka && this.console.trace("Providing result", { - rlb: t, - item: v + p.prototype.sOb = function (t, u) { + var w; + w = !u.done && u.value; + w = w && w.toJSON ? w.toJSON() : w; + d.ia && this.console.trace("Providing result", { + slb: t, + item: w }); - this.KVa(t); + this.IVa(t); t = this.Zf[t]; - v = t.OF.resolve; - v(w); + w = t.UF.resolve; + w(u); return t; }; - u.prototype.KVa = function (t) { - var w; + p.prototype.IVa = function (t) { + var u; if (void 0 === this.Zf[t]) { - w = {}; - this.Lla(w); - this.Zf[t] = w; - t === this.Ef && w.OF.resolve({ + u = {}; + this.Gla(u); + this.Zf[t] = u; + t === this.Gf && u.UF.resolve({ done: !0 }); - d.ka && this.console.trace("Item initialized", { - rlb: t + d.ia && this.console.trace("Item initialized", { + slb: t }); } }; - u.prototype.Rga = function (t) { - var w; - w = {}; - w.promise = new n(function (v, x) { - w.resolve = function (y) { - v(y); - t && t(y); + p.prototype.Lga = function (t) { + var u; + u = {}; + u.promise = new Promise(function (w, v) { + u.resolve = function (x) { + w(x); + t && t(x); }; - w.reject = x; + u.reject = v; }); - return w; + return u; }; - u.prototype.Lla = function (t) { - var w; - w = this; - t.OF = this.Rga(function (v) { - t.item = v; - t.$T = !0; - d.ka && w.console.trace("Item resolved", { + p.prototype.Gla = function (t) { + var u; + u = this; + t.UF = this.Lga(function (w) { + t.item = w; + t.ZT = !0; + d.ia && u.console.trace("Item resolved", { id: t.id }); }); - t.id && t.hma && !t.$T && (t.OF.resolve({ + t.id && t.bma && !t.ZT && (t.UF.resolve({ done: !0 - }), d.ka && this.console.warn("Overwriting requested queue item", t.id)); - t.VPa = this.Rga(); - t.jQb = this.Rga(function () { - t.hma = !0; - d.ka && w.console.trace("Item requested", { + }), d.ia && this.console.warn("Overwriting requested queue item", t.id)); + t.TPa = this.Lga(); + t.oQb = this.Lga(function () { + t.bma = !0; + d.ia && u.console.trace("Item requested", { id: t.id }); }); - t.id = this.shb++; - t.hma = !1; - t.$T = !1; + t.id = this.thb++; + t.bma = !1; + t.ZT = !1; t.item = void 0; }; - u.prototype.g1 = function () { - this.Ro = void 0; + p.prototype.i1 = function () { + this.So = void 0; }; - u.prototype.qyb = function () { + p.prototype.vyb = function () { var t, - w, - v; + u, + w; t = this; - w = h.Ys(g.default, this.console, "QueueIteratorInstance::"); - v = new p(this, function (x) { - var y, - z; + u = h.Yq(g.default, this.console, "QueueIteratorInstance::"); + w = new q(this, function (v) { + var x, + y; if (0 === t.count) - return l.AsyncIterator.Aka(); - y = t.LTa(x); - z = t.Zf[0]; - return y.then(function (B) { - return c(B, function () { - v.vL || (z === t.Zf[0] ? t.qK() : m.assert(!t.Zf.filter(function (A) { - return A.OF.promise === y; + return l.AsyncIterator.wka(); + x = t.NTa(v); + y = t.Zf[0]; + return x.then(function (z) { + return c(z, function () { + w.yL || (y === t.Zf[0] ? t.uK() : m.assert(!t.Zf.filter(function (A) { + return A.UF.promise === x; }).length, "Out of order acknowledgements are not supported")); }); }); - }, w); - return v; + }, u); + return w; }; - return u; + return p; })(); - b.PX = r; - a.tf(q.EventEmitter, r); - p = (function (u) { - function t(w, v, x) { - var y; - y = u.call(this, function () { - d.ka && y.console.trace("Next item requested", { - index: y.index + b.OX = n; + a.tf(r.EventEmitter, n); + q = (function (p) { + function t(u, w, v) { + var x; + x = p.call(this, function () { + d.ia && x.console.trace("Next item requested", { + index: x.index }); - return y.HQb(y.index++); + return x.MQb(x.index++); }) || this; - y.parent = w; - y.HQb = v; - y.console = x; - y.lJ = !1; - y.index = 0; - y.Oca = !1; - y.b_a = function (z) { - var B; - B = z.index; - z = z.Boa; - y.index >= B && (y.index = Math.max(B, y.index - z)); - B = y.console; - d.ka && B && B.trace("QueueIteratorInstance: onRemoved modified", y.index); + x.parent = u; + x.MQb = w; + x.console = v; + x.nJ = !1; + x.index = 0; + x.Ica = !1; + x.$Za = function (y) { + var z; + z = y.index; + y = y.woa; + x.index >= z && (x.index = Math.max(z, x.index - y)); + z = x.console; + d.ia && z && z.trace("QueueIteratorInstance: onRemoved modified", x.index); }; - return y; + return x; } - k.__extends(t, u); - t.prototype.kh = function () { + k.__extends(t, p); + t.prototype.hh = function () { this.console.trace("disposed"); - this.lJ = !0; - this.Ic(); - u.prototype.kh.call(this); + this.nJ = !0; + this.Kc(); + p.prototype.hh.call(this); }; t.prototype.next = function () { - this.vL || this.tL(); - return u.prototype.next.call(this); + this.yL || this.wL(); + return p.prototype.next.call(this); }; t.prototype.cancel = function () { - this.Ic(); - return u.prototype.cancel.call(this); + this.Kc(); + return p.prototype.cancel.call(this); }; - t.prototype.Ic = function () { - this.parent.mM("onRemoved", this.b_a); - this.Oca = !1; + t.prototype.Kc = function () { + this.parent.oM("onRemoved", this.$Za); + this.Ica = !1; }; - t.prototype.tL = function () { - this.Oca || (this.Oca = !0, this.parent.on("onRemoved", this.b_a)); + t.prototype.wL = function () { + this.Ica || (this.Ica = !0, this.parent.on("onRemoved", this.$Za)); }; return t; })(l.AsyncIterator); - b.tdb = p; - b.fmb = function (u) { - return l.map(u, f); + b.wdb = q; + b.fmb = function (p) { + return l.map(p, f); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.x6 = void 0; + b.w6 = void 0; c = a(14); - b.x6 = function (f) { + b.w6 = function (f) { switch (f) { - case c.ja.Sc: - f = c.wc.Sc; + case c.ka.Sc: + f = c.yc.Sc; break; - case c.ja.ef: - f = c.wc.ef; + case c.ka.ef: + f = c.yc.ef; break; - case c.ja.Ig: - case c.ja.zi: - case c.ja.pq: - f = c.wc.zi; + case c.ka.Gg: + case c.ka.zi: + case c.ka.rq: + f = c.yc.zi; break; default: - f = c.wc.Zj; + f = c.yc.$j; } return f; }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.IH = void 0; - c = a(250); - q = (function () { + b.QH = void 0; + c = a(251); + r = (function () { + var f00; function f(k, l) { var g00; g00 = 2; for (; g00 !== 3; ) { switch (g00) { - case 6: - this.afa = 1; - ""; - g00 = 2; - break; + case 4: + var c1q = "1SI"; + c1q += "YbZr"; + c1q += "N"; + c1q += "JC"; + c1q += "p9"; + c1q; g00 = 3; break; case 2: this.config = k; - this.PL = l; - g00 = 5; - break; - case 5: - var G9b = "1"; - G9b += "SI"; - G9b += "YbZrNJCp9"; - this.afa = null; - G9b; - g00 = 3; + this.RL = l; + this.Uea = null; + g00 = 4; break; } } } - var f00; f00 = 2; for (; f00 !== 3; ) { switch (f00) { case 2: - f.prototype.eQa = function (k, l) { + f.prototype.bQa = function (k, l) { var h00, d; h00 = 2; for (; h00 !== 3; ) { switch (h00) { + case 2: + d = null === this.Uea ? k * (100 - this.config.a8) / 100 : c.Cea(k, this.Uea); + l = null !== l && void 0 !== l ? l : this.RL; + this.config.Hma && l ? (k = c.Cea(k, l), k = Math.max(k, d)) : k = d; + h00 = 4; + break; case 14: return k; break; @@ -35774,48 +35775,39 @@ a000.D9b = function () { case 4: return k; break; - case 2: - d = null === this.afa ? k * (100 - this.config.e8) / 100 : c.Jea(k, this.afa); - l = null !== l && void 0 !== l ? l : this.PL; - this.config.Nma && l ? (k = c.Jea(k, l), k = Math.max(k, d)) : k = d; - h00 = 4; - break; } } }; - f.prototype.nN = function (k) { + f.prototype.oN = function (k) { var i00; i00 = 2; for (; i00 !== 1; ) { switch (i00) { - case 4: - this.afa = k; - i00 = 2; - break; - i00 = 1; - break; case 2: - this.afa = k; + this.Uea = k; i00 = 1; break; } } }; - f.prototype.Gta = function (k) { + f00 = 5; + break; + case 5: + f.prototype.Ata = function (k) { var j00; j00 = 2; for (; j00 !== 1; ) { switch (j00) { - case 2: - this.config = k; - j00 = 1; - break; case 4: this.config = k; j00 = 2; break; j00 = 1; break; + case 2: + this.config = k; + j00 = 1; + break; } } }; @@ -35824,17 +35816,17 @@ a000.D9b = function () { } } })(); - b.IH = q; - }, function (q, b, a) { + b.QH = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Jea = b.AC = b.kRa = void 0; - c = a(2).__importDefault(a(110)).default.lRa; - b.kRa = function (f, k, l) { + b.Cea = b.CC = b.jRa = void 0; + c = a(2).__importDefault(a(110)).default.kRa; + b.jRa = function (f, k, l) { var d, g, h; @@ -35857,25 +35849,25 @@ a000.D9b = function () { }); return d; }; - b.AC = function (f, k, l) { + b.CC = function (f, k, l) { var d; - k = (null === (d = k.Oa) || void 0 === d ? void 0 : d.Ea) || 0; - return f.tmb ? (f = c(f.smb, l.Hl - l.qc, 1), k * (1 - f)) : k * f.e8 / 100; + k = (null === (d = k.Oa) || void 0 === d ? void 0 : d.Fa) || 0; + return f.tmb ? (f = c(f.smb, l.Gl - l.vc, 1), k * (1 - f)) : k * f.a8 / 100; }; - b.Jea = function (f, k) { + b.Cea = function (f, k) { return f < 2 * k ? f / 2 : f - k; }; - }, function (q, b, a) { + }, function (r, b, a) { var l; function c() {} function f(d, g) { - this.Fq = d; - void 0 !== g ? (l(g <= d.$l, "require remain_sec <= chunk.sec but has " + g + " and " + d.$l), this.yk = g) : this.yk = d.$l; + this.Hq = d; + void 0 !== g ? (l(g <= d.Yl, "require remain_sec <= chunk.sec but has " + g + " and " + d.Yl), this.zk = g) : this.zk = d.Yl; } function k(d) { void 0 === d && (d = []); - this.eo = []; - this.Yg = this.ql = 0; + this.fo = []; + this.Wg = this.pl = 0; for (var g in d) { this.add(d[g], void 0); } @@ -35883,68 +35875,68 @@ a000.D9b = function () { l = a(6).assert; c.prototype = Error(); f.prototype.constructor = f; - f.prototype.Hq = function () { - return new f(this.Fq, this.yk); + f.prototype.zs = function () { + return new f(this.Hq, this.zk); }; k.prototype.constructor = k; k.prototype.add = function (d, g) { d = new f(d, g); - this.eo.push(d); - this.Yg += d.yk; - this.ql += d.Fq.ry() * d.yk; + this.fo.push(d); + this.Wg += d.zk; + this.pl += d.Hq.ty() * d.zk; }; - k.prototype.Hq = function () { + k.prototype.zs = function () { var d, g; d = new k(void 0); - for (g in this.eo) { - d.add(this.eo[g].Fq, this.eo[g].yk); + for (g in this.fo) { + d.add(this.fo[g].Hq, this.fo[g].zk); } return d; }; - k.prototype.Ms = function () { + k.prototype.Rs = function () { try { - return this.eo[0]; + return this.fo[0]; } catch (d) {} }; - k.prototype.e0a = function (d) { + k.prototype.c0a = function (d) { var g; for (l(0 <= d, "unexpected play_for_x_sec: x=" + d); 0 < d; ) { - if (void 0 === this.Ms()) + if (void 0 === this.Rs()) throw new c(); - if (d < this.Ms().yk) { - g = this.Ms().Fq.ry() * d; - this.Ms().yk -= d; - this.Yg -= d; - this.ql -= g; + if (d < this.Rs().zk) { + g = this.Rs().Hq.ty() * d; + this.Rs().zk -= d; + this.Wg -= d; + this.pl -= g; d = 0; - } else (g = this.eo.shift(), this.Yg -= g.yk, this.ql -= g.Fq.ry() * g.yk, d -= g.yk); + } else (g = this.fo.shift(), this.Wg -= g.zk, this.pl -= g.Hq.ty() * g.zk, d -= g.zk); } }; - k.prototype.JMb = function (d) { + k.prototype.MMb = function (d) { var h; l(0 <= d, "unexpected play_y_kb: y=" + d); for (var g = 0; 0 < d; ) { - if (void 0 === this.Ms()) + if (void 0 === this.Rs()) throw new c(); - if (d < this.Ms().yk * this.Ms().Fq.ry()) { - h = d / this.Ms().Fq.ry(); - this.Ms().yk -= h; - this.Yg -= h; - this.ql -= d; + if (d < this.Rs().zk * this.Rs().Hq.ty()) { + h = d / this.Rs().Hq.ty(); + this.Rs().zk -= h; + this.Wg -= h; + this.pl -= d; g += h; d = 0; - } else (h = this.eo.shift(), this.Yg -= h.yk, this.ql -= h.Fq.ry() * h.yk, g += h.yk, d -= h.Fq.ry() * h.yk); + } else (h = this.fo.shift(), this.Wg -= h.zk, this.pl -= h.Hq.ty() * h.zk, g += h.zk, d -= h.Hq.ty() * h.zk); } return g; }; - q.exports = { - Nva: k, - A8a: c + r.exports = { + Kva: k, + C8a: c }; - }, function (q) { - q.exports = { - eBa: { + }, function (r) { + r.exports = { + cBa: { code: -1, description: "MediaCache is not supported." }, @@ -35952,14 +35944,14 @@ a000.D9b = function () { code: 100, description: "Resource was not found" }, - qbb: { + ubb: { code: 101, description: "Resource Metadata was not found" }, - vI: { + AI: { code: 102, description: "Read failed", - $p: function (b, a) { + bq: function (b, a) { return { code: this.code, description: b, @@ -35967,18 +35959,18 @@ a000.D9b = function () { }; } }, - LZ: { + NZ: { code: 200, description: "Daily write limit exceeded" }, - JH: { + RH: { code: 201, description: "Capacity has been exceeded" }, - KZ: { + MZ: { code: 202, description: "Write failed, cause unknown", - $p: function (b, a) { + bq: function (b, a) { return { code: this.code, description: b, @@ -35990,10 +35982,10 @@ a000.D9b = function () { code: 203, description: "Write failed, cause unknown" }, - w9a: { + y9a: { code: 300, description: "Failed to delete resource", - $p: function (b, a) { + bq: function (b, a) { return { code: this.code, description: b, @@ -36001,25 +35993,25 @@ a000.D9b = function () { }; } }, - bA: { + cA: { code: 900, description: "Invalid partition name" }, - Rab: { + Uab: { code: 700, description: "Invalid parition configuration, commitment exceeds capacity." }, - Swa: { + Pwa: { code: 701, description: "Failed to initialize underlying disk cache." }, - pbb: { + tbb: { code: 800, description: 'Metadata failed to pass validation. Metadata must be an object with a numeric "lifespan" property.' } }; - }, function (q) { - q.exports = { + }, function (r) { + r.exports = { NUa: function (b) { var a; if (b && 0 !== b.length) { @@ -36031,9 +36023,9 @@ a000.D9b = function () { a.forEach(function (k) { c.error && c.error.code == k.error.code && c.error.description === k.error.description && (f = k); }); - f ? f.resources.push(c.Pp) : a.push({ + f ? f.resources.push(c.Sp) : a.push({ error: c.error, - resources: [c.Pp] + resources: [c.Sp] }); }); return a; @@ -36042,8 +36034,8 @@ a000.D9b = function () { JSa: function (b) { var a; a = { - freeSize: b.Hm, - dailyBytesRemaining: b.mK, + freeSize: b.Fm, + dailyBytesRemaining: b.qK, bytesWritten: b.fk, time: b.time, duration: b.duration @@ -36051,14 +36043,14 @@ a000.D9b = function () { b.items && (a.items = b.items.map(function (c) { return { key: c.key, - operation: c.xk, + operation: c.wk, itemBytes: c.D4, error: c.error }; })); return a; }, - Lv: function (b) { + Qv: function (b) { return b.catch(function (a) { setTimeout(function () { throw a; @@ -36066,7 +36058,7 @@ a000.D9b = function () { }); } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -36075,18 +36067,18 @@ a000.D9b = function () { value: !0 } }); - b.zF = void 0; - c = a(2).__importDefault(a(4)); - f = a(927); - b.zF = function () { + b.DF = void 0; + c = a(2).__importDefault(a(5)); + f = a(929); + b.DF = function () { var l; if (!k) { l = new c.default.Console("ASEJS", "media|asejs"); - k = new f.Eua(l); + k = new f.Bua(l); } return k; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -36094,8 +36086,8 @@ a000.D9b = function () { value: !0 } }); - b.AZ = void 0; - q = a(16); + b.BZ = void 0; + r = a(16); c = a(43); f = a(22); a = (function () { @@ -36105,7 +36097,7 @@ a000.D9b = function () { currentTime: f.S.hb, speed: 1 }); - this.Gc = { + this.Ic = { tk: function () { return "function" === typeof l.tk ? l.tk() : l.tk; }, @@ -36120,7 +36112,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { tk: { get: function () { - return this.Gc.tk(); + return this.Ic.tk(); }, enumerable: !1, configurable: !0 @@ -36129,7 +36121,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { currentTime: { get: function () { - return this.Gc.currentTime(); + return this.Ic.currentTime(); }, enumerable: !1, configurable: !0 @@ -36138,7 +36130,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { speed: { get: function () { - return this.Gc.speed(); + return this.Ic.speed(); }, enumerable: !1, configurable: !0 @@ -36146,9 +36138,9 @@ a000.D9b = function () { }); return k; })(); - b.AZ = a; - c.tf(q.EventEmitter, a); - }, function (q, b, a) { + b.BZ = a; + c.tf(r.EventEmitter, a); + }, function (r, b, a) { var c, f, k, @@ -36158,22 +36150,22 @@ a000.D9b = function () { value: !0 } }); - b.pA = void 0; + b.rA = void 0; c = a(2); f = a(19); k = a(9); l = a(54); - q = (function () { + r = (function () { function d(g, h) { - this.Ph = g; + this.Oh = g; this.options = c.__assign({ - Pob: !0 + Qob: !0 }, h); } Object.defineProperties(d.prototype, { - nC: { + pC: { get: function () { - return "trace-" + this.Ph.source; + return "trace-" + this.Oh.source; }, enumerable: !1, configurable: !0 @@ -36182,7 +36174,7 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { Ii: { get: function () { - return this.nC; + return this.pC; }, enumerable: !1, configurable: !0 @@ -36191,66 +36183,66 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { enabled: { get: function () { - return f.ka; + return f.ia; }, enumerable: !1, configurable: !0 } }); - d.prototype.Ln = function (g) { + d.prototype.Mn = function (g) { var h, m; - if (g.ji === l.ae.ip || g.ji === l.ae.zr) { - h = k.KPa(this.Ph.AFb); - m = this.Ph.$Cb; - g.ji === l.ae.ip && this.options.Pob && this.Ph.clear(); + if (g.ji === l.Zd.jp || g.ji === l.Zd.Cr) { + h = k.JPa(this.Oh.DFb); + m = this.Oh.cDb; + g.ji === l.Zd.jp && this.options.Qob && this.Oh.clear(); g = h; Object.keys(m).length && (g = c.__spread(h, [m])); return g; } }; - d.prototype.wb = function () { - this.Ph.wb(); + d.prototype.zb = function () { + this.Oh.zb(); }; return d; })(); - b.pA = q; - }, function (q, b, a) { + b.rA = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.o3 = b.Ls = b.isEqual = b.cU = void 0; + b.p3 = b.zp = b.isEqual = b.bU = void 0; c = a(9); - b.cU = function (f) { - return !!f.da; + b.bU = function (f) { + return !!f.$; }; b.isEqual = function (f, k) { var l, d; - l = b.cU(f); - d = b.cU(k); - return l === d ? l ? f.da === k.da : f.Fa === k.Fa : !1; - }; - b.Ls = function (f) { - if (b.cU(f)) - return f.da; - f = f.Fa; - return f.Ca[f.hg].da; - }; - b.o3 = function (f, k) { - return f.M0 ? f.M0 instanceof c.S ? { - offset: f.M0, - va: k.hg - } - : f.M0 : { + l = b.bU(f); + d = b.bU(k); + return l === d ? l ? f.$ === k.$ : f.Ba === k.Ba : !1; + }; + b.zp = function (f) { + if (b.bU(f)) + return f.$; + f = f.Ba; + return f.wa[f.Oe].$; + }; + b.p3 = function (f, k) { + return f.O0 ? f.O0 instanceof c.S ? { + offset: f.O0, + va: k.Oe + } + : f.O0 : { offset: c.S.hb, - va: k.hg + va: k.Oe }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -36259,39 +36251,39 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pua = void 0; + b.mua = void 0; c = a(7); f = a(3); - k = a(435); - l = a(436); - d = a(61); - b.pua = function (g, h) { + k = a(439); + l = a(440); + d = a(62); + b.mua = function (g, h) { var m, n; try { - n = k.$6a(g); - } catch (r) { - c.log.error("xml2xmlDoc exception", r); + n = k.c7a(g); + } catch (q) { + c.log.error("xml2xmlDoc exception", q); } d.fg(function () { if (n && n.documentElement) try { - m = l.a7a(n); - } catch (r) { - c.log.error("xmlDoc2js exception", r); + m = l.d7a(n); + } catch (q) { + c.log.error("xmlDoc2js exception", q); } d.fg(function () { m ? h({ - X: !0, + W: !0, object: m }) : h({ - X: !1, - oa: f.M.yya + W: !1, + oa: f.L.wya }); }); }); }; - }, function (q) { + }, function (r) { function b(a) { this.buffer = a; this.position = 0; @@ -36303,119 +36295,119 @@ a000.D9b = function () { skip: function (a) { this.position += a; }, - lka: function () { + hka: function () { return this.buffer.length - this.position; }, - hz: function () { + kz: function () { return this.buffer[this.position++]; }, - ph: function (a) { + oh: function (a) { var c; c = this.position; this.position += a; a = this.buffer; return a.subarray ? a.subarray(c, this.position) : a.slice(c, this.position); }, - Kp: function (a) { + Np: function (a) { for (var c = 0; a--; ) { c = 256 * c + this.buffer[this.position++]; } return c; }, - oqa: function (a) { + iqa: function (a) { for (var c = ""; a--; ) { c += String.fromCharCode(this.buffer[this.position++]); } return c; }, - Vg: function () { - return this.Kp(2); + Tg: function () { + return this.Np(2); }, - Lp: function () { - return this.Kp(4); + Op: function () { + return this.Np(4); }, OM: function () { - return this.Kp(8); + return this.Np(8); }, - Pv: function (a) { + Uv: function (a) { for (var c, f = ""; a--; ) { - c = this.hz(); + c = this.kz(); f += ("0123456789ABCDEF")[c >>> 4] + ("0123456789ABCDEF")[c & 15]; } return f; }, - rqa: function (a) { + lqa: function (a) { for (var c = 0, f = 0; f < a; f++) { - c += this.hz() << (f << 3); + c += this.kz() << (f << 3); } return c; }, NM: function () { - return this.rqa(4); + return this.lqa(4); }, - CX: function (a) { - this.bO(a, 2); + BX: function (a) { + this.aO(a, 2); }, - Qz: function (a) { - this.bO(a, 4); + Sz: function (a) { + this.aO(a, 4); }, - T8: function (a) { + N8: function (a) { this.buffer[this.position++] = a; }, - bO: function (a, c) { + aO: function (a, c) { this.position += c; for (var f = 1; f <= c; f++) { this.buffer[this.position - f] = a & 255; a = Math.floor(a / 256); } }, - Pz: function (a) { + Rz: function (a) { for (var c = 0; c < a.length; c++) { this.buffer[this.position++] = a.charCodeAt(c); } }, - BX: function (a) { + AX: function (a) { for (var c = a.length, f = 0; f < c; f++) { this.buffer[this.position++] = a[f]; } }, - aO: function (a, c) { - this.BX(a.ph(c)); + $N: function (a, c) { + this.AX(a.oh(c)); } }; - q.exports = b; - }, function (q, b) { + r.exports = b; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.OAa = "LogMessageRulerConfigSymbol"; - b.QAa = "LogMessageRulerSymbol"; - }, function (q, b) { + b.MAa = "LogMessageRulerConfigSymbol"; + b.OAa = "LogMessageRulerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gaa = "MilestonesEventBuilderSymbol"; - }, function (q, b) { + b.Z$ = "MilestonesEventBuilderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZY = "NetworkMonitorFactorySymbol"; - }, function (q, b) { + b.YY = "NetworkMonitorFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Daa = "PboLicenseResponseTransformerSymbol"; - }, function (q, b, a) { + b.waa = "PboLicenseResponseTransformerSymbol"; + }, function (r, b, a) { var d, g, h, m, n, - r; - function c(p, u, t, w) { - this.wa = p; - this.w3 = u; - this.Pa = t; + q; + function c(p, t, u, w) { + this.xa = p; + this.x3 = t; + this.La = u; this.profile = w; } function f() {} @@ -36424,40 +36416,40 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.MDa = b.gZ = void 0; - q = a(1); + b.IDa = b.gZ = void 0; + r = a(1); d = a(0); g = a(40); - h = a(5); + h = a(4); m = a(15); n = a(20); a = a(89); l.prototype.encode = function (p) { return { - downloadableId: p.Dd, + downloadableId: p.Cd, duration: p.duration }; }; l.prototype.decode = function (p) { return { - Dd: p.downloadableId, + Cd: p.downloadableId, duration: p.duration }; }; k.prototype.encode = function (p) { return { total: p.total, - totalContentTime: p.nH, + totalContentTime: p.vH, audio: p.audio.map(new l().encode), video: p.video.map(new l().encode), text: p.text.map(new l().encode) }; }; k.prototype.decode = function (p) { - var u; + var t; return { total: p.total, - nH: null !== (u = p.totalContentTime) && void 0 !== u ? u : p.total, + vH: null !== (t = p.totalContentTime) && void 0 !== t ? t : p.total, audio: p.audio.map(new l().decode), video: p.video.map(new l().decode), text: p.text.map(new l().decode) @@ -36467,18 +36459,18 @@ a000.D9b = function () { return { type: p.type, href: p.href, - xid: p.ba, + xid: p.ca, movieId: p.K, position: p.position, - clientTime: p.RR, - sessionStartTime: p.mW, - mediaId: p.TL, - playTimes: new k().encode(p.vV), + clientTime: p.SR, + sessionStartTime: p.lW, + mediaId: p.VL, + playTimes: new k().encode(p.uV), trackId: p.trackId, sessionId: p.sessionId, appId: p.appId, - sessionParams: p.jo, - mdxControllerEsn: p.Ina, + sessionParams: p.ko, + mdxControllerEsn: p.Cna, profileId: p.profileId }; }; @@ -36486,134 +36478,134 @@ a000.D9b = function () { return { type: p.type, href: p.href, - ba: p.xid, + ca: p.xid, K: p.movieId, position: p.position, - RR: p.clientTime, - mW: p.sessionStartTime, - TL: p.mediaId, - vV: new k().decode(p.playTimes), + SR: p.clientTime, + lW: p.sessionStartTime, + VL: p.mediaId, + uV: new k().decode(p.playTimes), trackId: p.trackId, sessionId: p.sessionId, appId: p.appId, - jo: p.sessionParams, - Ina: p.mdxControllerEsn, + ko: p.sessionParams, + Cna: p.mdxControllerEsn, profileId: p.profileId }; }; b.gZ = f; c.prototype.create = function (p) { return { - href: p.sa && p.sa.Fj ? p.sa.Fj.rT("events").href : "", + href: p.sa && p.sa.Ej ? p.sa.Ej.pT("events").href : "", type: "online", - ba: p.ba.toString(), + ca: p.ca.toString(), K: p.K, - position: Math.floor(p.$ga || 0), - RR: this.wa.x7.ea(h.ma), - mW: p.sL ? p.sL.ea(h.ma) : -1, - TL: this.Yyb(p), - vV: this.PAb(p), + position: Math.floor(p.Uga || 0), + SR: this.xa.t7.ea(h.ma), + lW: p.vL ? p.vL.ea(h.ma) : -1, + VL: this.bzb(p), + uV: this.SAb(p), trackId: void 0 !== p.Ek ? p.Ek.toString() : "", - sessionId: this.w3().sessionId || this.Pa.id, - appId: this.w3().appId || this.Pa.id, - jo: p.kb.jo || ({}), + sessionId: this.x3().sessionId || this.La.id, + appId: this.x3().appId || this.La.id, + ko: p.kb.ko || ({}), profileId: this.profile }; }; - c.prototype.Mrb = function (p, u) { + c.prototype.Nrb = function (p, t) { return Object.assign({}, this.create(p), { - Ina: u && u.u1 + Cna: t && t.w1 }); }; c.prototype.load = function (p) { return new f().decode(p); }; - c.prototype.Yyb = function (p) { - var u, - t, + c.prototype.bzb = function (p) { + var t, + u, w; - u = p.Bd.value; - t = p.Qh.value; - w = p.Nc.value; - return u && t && w ? (p = p.sa.Wc.media.find(function (v) { - return v.Fg.Tb === u.trackId && v.Fg.Hb === t.trackId && v.Fg.tl === w.trackId; + t = p.Sd.value; + u = p.Ph.value; + w = p.Rc.value; + return t && u && w ? (p = p.sa.Xc.media.find(function (v) { + return v.Dg.Ob === t.trackId && v.Dg.Bb === u.trackId && v.Dg.sl === w.trackId; })) ? p.id : "" : ""; }; - c.prototype.fka = function (p) { - return p.map(function (u) { + c.prototype.bka = function (p) { + return p.map(function (t) { return { - Dd: u.downloadableId, - duration: u.duration + Cd: t.downloadableId, + duration: t.duration }; }); }; - c.prototype.PAb = function (p) { - return (p = p.ao) ? (p = p.OAb(), { + c.prototype.SAb = function (p) { + return (p = p.bo) ? (p = p.RAb(), { total: p.total, - nH: p.totalContentTime, - audio: this.fka(p.audio), - video: this.fka(p.video), - text: this.fka(p.timedtext) + vH: p.totalContentTime, + audio: this.bka(p.audio), + video: this.bka(p.video), + text: this.bka(p.timedtext) }) : { total: 0, - nH: 0, + vH: 0, video: [], audio: [], text: [] }; }; - r = c; - r = q.__decorate([d.R(), q.__param(0, d.l(g.wi)), q.__param(1, d.l(m.dd)), q.__param(2, d.l(n.zd)), q.__param(3, d.l(a.GP))], r); - b.MDa = r; - }, function (q, b) { + q = c; + q = r.__decorate([d.R(), r.__param(0, d.l(g.wi)), r.__param(1, d.l(m.ed)), r.__param(2, d.l(n.zd)), r.__param(3, d.l(a.GP))], q); + b.IDa = q; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.QDa = "PboPlaydataValidatorSymbol"; - b.JDa = "PboPlaydataArrayValidatorSymbol"; - b.LDa = "PboPlaydataCollectionValidatorSymbol"; - }, function (q, b, a) { + b.ODa = "PboPlaydataValidatorSymbol"; + b.FDa = "PboPlaydataArrayValidatorSymbol"; + b.HDa = "PboPlaydataCollectionValidatorSymbol"; + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.XX = void 0; + b.WX = void 0; f = a(11); - c.Jga = function (k) { + c.Dga = function (k) { var l; - if (f.De.queryCommandSupported && f.De.queryCommandSupported("copy")) { - l = f.De.createElement("textarea"); + if (f.Fe.queryCommandSupported && f.Fe.queryCommandSupported("copy")) { + l = f.Fe.createElement("textarea"); l.textContent = k; l.style.position = "fixed"; - f.De.body.appendChild(l); + f.Fe.body.appendChild(l); l.select(); try { - f.De.execCommand("copy"); + f.Fe.execCommand("copy"); } catch (d) { console.warn("Copy to clipboard failed.", d); } finally { - f.De.body.removeChild(l); + f.Fe.body.removeChild(l); } } }; - b.XX = c; - }, function (q, b) { + b.WX = c; + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.S$ = void 0; - b.S$ = a; - a.y9a = "display"; - a.P8a = "console"; - }, function (q, b) { + b.K$ = void 0; + b.K$ = a; + a.A9a = "display"; + a.R8a = "console"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jU = void 0; - b.jU = function (a, c, f) { + b.iU = void 0; + b.iU = function (a, c, f) { var k; if (f.set) throw Error("Property " + c + " has a setter and cannot be made into a lazy property."); @@ -36630,39 +36622,39 @@ a000.D9b = function () { return l; }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Yaa = b.uI = void 0; - q = b.uI || (b.uI = {}); - q.PUb = "taskstart"; - q.NUb = "taskabort"; - q.OUb = "taskfail"; - q.QUb = "tasksuccess"; - b.Yaa = "PreparerTaskSchedulerSymbol"; - }, function (q, b) { + b.Saa = b.zI = void 0; + r = b.zI || (b.zI = {}); + r.RUb = "taskstart"; + r.PUb = "taskabort"; + r.QUb = "taskfail"; + r.SUb = "tasksuccess"; + b.Saa = "PreparerTaskSchedulerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.H9 = "CacheManagerFactorySymbol"; - }, function (q, b) { + b.C9 = "CacheManagerFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ava = "AsePrefetcherAdapterSymbol"; - b.bva = "AsePrefetcherProviderSymbol"; - }, function (q, b) { + b.Yua = "AsePrefetcherAdapterSymbol"; + b.Zua = "AsePrefetcherProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.s9 = b.ae = void 0; - q = b.ae || (b.ae = {}); - q[q.JC = 0] = "startPlayback"; - q[q.ip = 1] = "endPlayback"; - q[q.zr = 2] = "underflow"; - b.s9 = "AseIntegrationFactorySymbol"; - }, function (q, b, a) { + b.n9 = b.Zd = void 0; + r = b.Zd || (b.Zd = {}); + r[r.Tt = 0] = "startPlayback"; + r[r.jp = 1] = "endPlayback"; + r[r.Cr = 2] = "underflow"; + b.n9 = "AseIntegrationFactorySymbol"; + }, function (r, b, a) { var c, f, k, @@ -36672,176 +36664,176 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperty(b, "__esModule", { value: !0 }); - b.cH = void 0; + b.kH = void 0; c = a(12); f = a(13); - k = a(63); + k = a(64); l = a(51); d = a(3); g = a(21); h = a(7); m = a(24); n = a(11); - r = a(274); + q = a(275); p = a(17); - q = a(32); - h.ha.get(q.Zg).register(d.L.Hza, function (u) { + r = a(32); + h.ha.get(r.Xg).register(d.M.Fza, function (t) { var v, x, y; - function t() { + function u() { var z; - t = c.kj; - z = setInterval(w, f.config.YGb); - k.lf.addListener(k.Jm, function (B) { - B && B.isPopStateEvent ? v.trace("popstate event, Lock timers can stay") : (m.de(x, function (A, C) { - localStorage.removeItem(C.Xq); + u = c.Yj; + z = setInterval(w, f.config.$Gb); + k.lf.addListener(k.Hm, function (A) { + A && A.isPopStateEvent ? v.trace("popstate event, Lock timers can stay") : (m.ae(x, function (B, C) { + localStorage.removeItem(C.Wq); }), clearInterval(z)); - }, c.ED); + }, c.GD); } function w() { var z; - z = l.i1(); - m.de(x, function (B, A) { + z = l.k1(); + m.ae(x, function (A, B) { !1; - B = localStorage.getItem(A.Xq); - (B = JSON.parse(B)) ? B.updated = z : B = { + A = localStorage.getItem(B.Wq); + (A = JSON.parse(A)) ? A.updated = z : A = { updated: z, sessionId: y, count: 1 }; - localStorage.setItem(A.Xq, JSON.stringify(B)); + localStorage.setItem(B.Wq, JSON.stringify(A)); }); } - g.gb(r.storage); + g.gb(q.storage); v = h.ii("StorageLock"); x = {}; y = Date.now() + "-" + Math.floor(1E6 * Math.random()); - b.cH = { - nx: function (z, B, A) { + b.kH = { + sx: function (z, A, B) { var E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, - L; - function C(P) { - localStorage.setItem(D, JSON.stringify(P)); - P = { - Xq: D + L, + Q, + I; + function C(O) { + localStorage.setItem(D, JSON.stringify(O)); + O = { + Wq: D }; - x[D] = P; + x[D] = O; v.trace("Lock acquired", { - Name: P.Xq + Name: O.Wq }); - t(); - B({ - X: !0, - T4: P + u(); + A({ + W: !0, + T4: O }); } E = this; - A = void 0 === A ? !1 : A; + B = void 0 === B ? !1 : B; if (localStorage) { - F = l.i1(); + G = l.k1(); D = "lock-" + z; - G = { - updated: F, + F = { + updated: G, sessionId: y, count: 1 }; try { if ((D in localStorage)) { - I = localStorage.getItem(D); - J = 0; - H = JSON.parse(I); - p.Cy(H.updated) && (J = H.updated); - M = n.tD(F - J) * c.Ik; - O = y === H.sessionId; - if (M < f.config.wXa) { - if (O) + J = localStorage.getItem(D); + K = 0; + H = JSON.parse(J); + p.Fy(H.updated) && (K = H.updated); + L = n.vD(G - K) * c.Ik; + Q = y === H.sessionId; + if (L < f.config.uXa) { + if (Q) (H.count += 1, v.debug("Incremented lock count for existing playbackSession", { id: y, count: H.count - }), H.updated = F, C(H)); - else if (A) { - L = f.config.wXa - M + c.Ik; + }), H.updated = G, C(H)); + else if (B) { + I = f.config.uXa - L + c.Ik; v.error("Waiting until current expiration to confirm whether lock is still active", { id: y, count: H.count, - Epoch: F, - LockEpoch: J, - waitTimeoutMs: L + Epoch: G, + LockEpoch: K, + waitTimeoutMs: I }); pb.setTimeout(function () { - return E.nx(z, B, !1); - }, L); + return E.sx(z, A, !1); + }, I); } else - B({ - X: !1 + A({ + W: !1 }); } else (v.error("Lock was expired or invalid, ignoring", { - Epoch: F, - LockEpoch: J - }), C(G)); + Epoch: G, + LockEpoch: K + }), C(F)); } else - C(G); - } catch (P) { + C(F); + } catch (O) { v.error("Error acquiring Lock", { - errorSubCode: d.M.fj, - errorDetails: m.vd(P) + errorSubCode: d.L.dj, + errorDetails: m.vd(O) }); - B({ - X: !0 + A({ + W: !0 }); } - } else (n.Rma ? v.error("Local storage access exception", { - errorSubCode: d.M.Tdb, - errorDetails: m.vd(n.Rma) + } else (n.Lma ? v.error("Local storage access exception", { + errorSubCode: d.L.Wdb, + errorDetails: m.vd(n.Lma) }) : v.error("No localstorage", { - errorSubCode: d.M.Udb - }), B({ - X: !0 + errorSubCode: d.L.Xdb + }), A({ + W: !0 })); }, - release: function (z, B) { - var A, + release: function (z, A) { + var B, C; - g.gb(x[z.Xq] == z); + g.gb(x[z.Wq] == z); if (localStorage) { try { - A = localStorage.getItem(z.Xq); - C = JSON.parse(A); - 1 < C.count ? (--C.count, localStorage.setItem(z.Xq, JSON.stringify(C)), v.trace("Lock count decremented", { - Name: z.Xq, + B = localStorage.getItem(z.Wq); + C = JSON.parse(B); + 1 < C.count ? (--C.count, localStorage.setItem(z.Wq, JSON.stringify(C)), v.trace("Lock count decremented", { + Name: z.Wq, count: C.count - })) : (localStorage.removeItem(z.Xq), delete x[z.Xq], v.trace("Lock released", { - Name: z.Xq + })) : (localStorage.removeItem(z.Wq), delete x[z.Wq], v.trace("Lock released", { + Name: z.Wq })); } catch (E) { v.error("Unable to release Lock", { - Name: z.Xq + Name: z.Wq }, E); } - B && B(c.Ee); + A && A(c.Ge); } } }; - f.config.g2 ? b.cH.nx("session", function (z) { - b.cH.Q2a = z; - u(c.Ee); - }) : u(c.Ee); + f.config.h2 ? b.kH.sx("session", function (z) { + b.kH.Q2a = z; + t(c.Ge); + }) : t(c.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -36854,30 +36846,30 @@ a000.D9b = function () { b.storage = void 0; c = a(13); f = a(12); - k = a(490); - q = a(3); - l = a(491); - d = a(493); + k = a(494); + r = a(3); + l = a(495); + d = a(497); g = a(7); a = a(32); b.storage = b.storage || void 0; - g.ha.get(a.Zg).register(q.L.Gza, function (h) { + g.ha.get(a.Xg).register(r.M.Eza, function (h) { var m; - switch (c.config.STb) { + switch (c.config.UTb) { case "idb": - m = l.f4a; + m = l.g4a; break; case "none": - m = k.h4a; + m = k.i4a; break; case "ls": - m = d.g4a; + m = d.h4a; } m(function (n) { - n.X ? (b.storage = n.storage, h(f.Ee)) : h(n); + n.W ? (b.storage = n.storage, h(f.Ge)) : h(n); }); }); - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, @@ -36885,166 +36877,166 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; function c(v, x) { var z; function y() { - function B(A, C) { - return C.ee && 0 !== C.ee.length && C.ee[0].UF ? k.jz(v, C).then(function () { + function A(B, C) { + return C.ce && 0 !== C.ce.length && C.ce[0].$F ? k.mz(v, C).then(function () { z.trace("Successfully released license for session", JSON.stringify(C)); - return A ? A.VV(C) : Promise.resolve(); + return B ? B.UV(C) : Promise.resolve(); }).catch(function (E) { z.error("Unable to send stop command for session", JSON.stringify({ Nb: C, error: E })); throw E; - }) : (z.error("releaseDrmSession exception: missing valid keySessionData"), A ? A.VV(C) : Promise.resolve()); + }) : (z.error("releaseDrmSession exception: missing valid keySessionData"), B ? B.UV(C) : Promise.resolve()); } - f(z).then(function (A) { + f(z).then(function (B) { var C; - C = A.Z1.filter(function (E) { + C = B.b2.filter(function (E) { return !1 === E.active; }).map(function (E) { - return B(A, E); + return A(B, E); }); Promise.all(C).then(function () { z.info("release drm session completed for " + C.length + " entries"); - x(l.Ee); + x(l.Ge); }).catch(function (E) { E = E || ({}); E.DrmCacheSize = C.length; z.error("Unable to release one or more DRM session data", E); - x(l.Ee); + x(l.Ge); }); - }).catch(function (A) { - z.error("Unable to load DRM session data", A); - x(l.Ee); + }).catch(function (B) { + z.error("Unable to load DRM session data", B); + x(l.Ge); }); } z = m.ii("PlayDataManager"); - x = x || l.kj; - d.config.Cr ? x(l.Ee) : y(); + x = x || l.Yj; + d.config.Fr ? x(l.Ge) : y(); } function f(v) { var x; - if (!b.Pha) { - x = m.ha.get(n.I9); - b.Pha = new Promise(function (y, z) { + if (!b.Jha) { + x = m.ha.get(n.D9); + b.Jha = new Promise(function (y, z) { x.a1a().then(function () { y(x); - }).catch(function (B) { - v.error("Unable to load DRM data for license release", B); - z(B); + }).catch(function (A) { + v.error("Unable to load DRM data for license release", A); + z(A); }); }); } - return b.Pha; + return b.Jha; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dEa = b.cEa = b.Pha = void 0; - k = a(276); + b.bEa = b.aEa = b.Jha = void 0; + k = a(277); l = a(12); d = a(13); - g = a(63); + g = a(64); h = a(34); m = a(7); - q = a(3); + r = a(3); n = a(199); - r = a(183); + q = a(183); p = a(18); - u = a(58); - t = a(32); + t = a(58); + u = a(32); w = a(195); - b.cEa = function (v) { + b.aEa = function (v) { var z, - B, A, + B, C, E, - F; + G; function x() { - B || (v.Od("pdsb"), B = m.ha.get(r.hZ)().then(function (D) { + A || (v.Md("pdsb"), A = m.ha.get(q.hZ)().then(function (D) { C = D; - v.Od("pdsc"); + v.Md("pdsc"); return D; }).catch(function (D) { z.error("Unable to initialize the playdata services", D); - v.Od("pdse"); + v.Md("pdse"); throw D; })); - return B; + return A; } function y() { - A = !0; + B = !0; C && C.close(); - g.lf.removeListener(g.Jm, y); + g.lf.removeListener(g.Hm, y); } z = m.Ih(v, "PlayDataManager"); - A = !1; - E = m.ha.get(h.kA); - if (!E.TH || !E.RH) { - F = m.ha.get(w.Laa)(); - E.TH = F.Nb; - E.RH = F.request; + B = !1; + E = m.ha.get(h.lA); + if (!E.aI || !E.ZH) { + G = m.ha.get(w.Eaa)(); + E.aI = G.Nb; + E.ZH = G.request; } - v.Od("pdctor"); - v.addEventListener(p.W.dg, function () { - g.lf.removeListener(g.Jm, y); + v.Md("pdctor"); + v.addEventListener(p.Z.dg, function () { + g.lf.removeListener(g.Hm, y); }); - v.addEventListener(p.W.LL, function () { + v.addEventListener(p.Z.NL, function () { var D; - if (!d.config.Cr && v.we) { - D = v.$R.aPa(); - f(z).then(function (G) { - return G.oLa(D); + if (!d.config.Fr && v.Ve) { + D = v.$R.$Oa(); + f(z).then(function (F) { + return F.mLa(D); }).catch(function () { z.error("Unable to load/add cached DRM data"); }); } }); - v.addEventListener(p.W.dg, function () { + v.addEventListener(p.Z.dg, function () { var D; - if (!A) { - v.cYb(); + if (!B) { + v.eYb(); D = [(function () { - return d.config.Cr || !v.we ? Promise.resolve() : new Promise(function (G) { - var I; + return d.config.Fr || !v.Ve ? Promise.resolve() : new Promise(function (F) { + var J; z.info("Sending the expedited playdata"); - I = v.$R.aPa(); - v.we.qRa(I).then(function () { + J = v.$R.$Oa(); + v.Ve.pRa(J).then(function () { z.info("Sent the expedited playdata"); return f(z); - }).then(function (J) { - return J ? J.VV(I) : Promise.resolve(); + }).then(function (K) { + return K ? K.UV(J) : Promise.resolve(); }).then(function () { - G(void 0); - }).catch(function (J) { - z.error("Unable to send the expedited playdata", J); - G(); + F(void 0); + }).catch(function (K) { + z.error("Unable to send the expedited playdata", K); + F(); }); }); })(), (function () { - return x().then(function (G) { - return G.e4a(v.fa); + return x().then(function (F) { + return F.f4a(v.ga); }).then(function () { z.info("Sent the playdata"); - }).catch(function (G) { - z.error("Unable to send the playdata", G); + }).catch(function (F) { + z.error("Unable to send the playdata", F); }); })(), (function () { - return new Promise(function (G) { - m.ha.get(u.iq).flush(!1).catch(function () { + return new Promise(function (F) { + m.ha.get(t.kq).flush(!1).catch(function () { z.error("Unable to send logblob"); - G(void 0); + F(void 0); }).then(function () { - G(void 0); + F(void 0); }); }); })()]; @@ -37055,35 +37047,35 @@ a000.D9b = function () { }); } }); - g.lf.addListener(g.Jm, y); + g.lf.addListener(g.Hm, y); return { - vRb: function (D) { - v.Od("pdpb"); - d.config.u7 || x().then(function (G) { - return G.send(v.K); + yRb: function (D) { + v.Md("pdpb"); + d.config.q7 || x().then(function (F) { + return F.send(v.K); }).then(function () { - d.config.Cr ? (v.Od("pdpc"), D(l.Ee)) : c(v, function () { - v.Od("pdpc"); - D(l.Ee); + d.config.Fr ? (v.Md("pdpc"), D(l.Ge)) : c(v, function () { + v.Md("pdpc"); + D(l.Ge); }); }).catch(function () { - v.Od("pdpe"); - D(l.Ee); + v.Md("pdpe"); + D(l.Ge); }); } }; }; - b.dEa = function () { + b.bEa = function () { return new Promise(function (v) { c({}, function (x) { v(x); }); }); }; - m.ha.get(t.Zg).register(q.L.aA, function (v) { - v(l.Ee); + m.ha.get(u.Xg).register(r.M.bA, function (v) { + v(l.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, @@ -37091,166 +37083,161 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z; - function c(B) { - var A; - A = this; - this.j = B; - this.NMa = this.oXa = !1; + function c(A) { + var B; + B = this; + this.j = A; + this.OMa = this.mXa = !1; this.log = g.Ih(this.j, "Playback"); - this.KL = g.ha.get(u.jP); - this.ki = g.ha.get(v.ku); - this.gMb = g.ha.get(x.Aaa); - this.el = g.ha.get(z.sD); - this.j.addEventListener(w.W.LL, function () { - return A.WWb(); + this.ML = g.ha.get(t.kP); + this.ki = g.ha.get(v.ru); + this.iMb = g.ha.get(x.uaa); + this.el = g.ha.get(z.uD); + this.j.addEventListener(w.Z.NL, function () { + return B.YWb(); }); h.gb(l.config); - l.config.Cr || (this.Gub = g.ha.get(m.zxa)); + l.config.Fr || (this.Kub = g.ha.get(m.wxa)); } - function f(B, A) { + function f(A, B) { var E; - function C(F) { - return F && 0 < F.length && F[0].UF; + function C(G) { + return G && 0 < G.length && G[0].$F; } - E = g.ha.get(u.jP); - return B.ba && C(B.ee) ? E.release({ - ba: B.ba, - ee: B.ee - }).then(function () {}) : A.ba && C(A.ee) ? E.release(A).then(function () {}) : Promise.resolve(); + E = g.ha.get(t.kP); + return A.ca && C(A.ce) ? E.release({ + ca: A.ca, + ce: A.ce + }).then(function () {}) : B.ca && C(B.ce) ? E.release(B).then(function () {}) : Promise.resolve(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jz = b.Fwa = void 0; + b.mz = b.Cwa = void 0; k = a(12); l = a(13); d = a(51); g = a(7); h = a(21); - m = a(303); + m = a(305); n = a(3); - r = a(65); + q = a(66); p = a(17); - u = a(182); - t = a(183); + t = a(182); + u = a(471); w = a(18); - v = a(70); - x = a(277); + v = a(71); + x = a(278); y = a(34); - z = a(118); - c.prototype.AR = function (B) { - var A; - A = this; - h.nK(this.j.K); - h.nK(this.j.Ek); - Promise.all([this.j.sa, l.config.Iv && this.el.A3(this.j.K) ? this.el.T2(this.j.K) : void 0]).then(function (C) { + z = a(117); + c.prototype.BR = function (A) { + var B; + B = this; + h.rK(this.j.K); + h.rK(this.j.Ek); + Promise.all([this.j.sa, l.config.Ov && this.el.B3(this.j.K) ? this.el.U2(this.j.K) : void 0]).then(function (C) { var E, - F; + G; E = aa(C); C = E.next().value; E = E.next().value; - C && E ? F = l.config.oNb || E.Wc.expiration > C.Wc.expiration ? E : C : C ? F = C : E && (F = E); - F && 18E5 > F.Wc.expiration - d.mga() && (F = void 0); - return F ? (A.j.RE = F === C ? "ui" : "videopreparer", F) : A.j.G2a(); + C && E ? G = l.config.sNb || E.Xc.expiration > C.Xc.expiration ? E : C : C ? G = C : E && (G = E); + G && 18E5 > G.Xc.expiration - d.gga() && (G = void 0); + return G ? (B.j.SE = G === C ? "ui" : "videopreparer", G) : B.j.G2a(); }).then(function (C) { try { - A.j.I0a(C); - B(k.Ee); - A.axb(); + B.j.I0a(C); + A(k.Ge); + B.gxb(); } catch (E) { - A.log.error("Exception processing authorization response", E); - B({ - X: !1, - oa: n.M.ddb + B.log.error("Exception processing authorization response", E); + A({ + W: !1, + oa: n.L.gdb }); } - }).catch(B); + }).catch(A); }; - c.prototype.yF = function (B) { - var A; - A = this; + c.prototype.CF = function (A) { + var B; + B = this; return new Promise(function (C, E) { - var F, + var G, D, - G; - F = r.gq.SOa(B.Qf); - D = B.zj.map(function (I) { + F; + G = q.iq.ROa(A.Rf); + D = A.xj.map(function (J) { return { - sessionId: I.sessionId, - dataBase64: g.ZA(I.data) + sessionId: J.sessionId, + dataBase64: g.aB(J.data) }; }); - G = A.j.RAb(B.zj[0].sessionId); - F = { - Ti: G.Ti, - Qf: p.is.Bn(B.Qf) ? B.Qf : F, - Y1: [G.Kl], - zj: D, - ba: G.ba, - Jn: B.Jn, - Fj: G.sa.Fj + F = B.j.UAb(A.xj[0].sessionId); + G = { + Ri: F.Ri, + Rf: p.is.An(A.Rf) ? A.Rf : G, + a2: [F.Jl], + xj: D, + ca: F.ca, + Kn: A.Kn, + Ej: F.sa.Ej }; - A.j.aS && A.j.aS.u1 && (F.BU = A.j.aS.u1); - A.KL.nx(F).then(function (I) { - A.j.ee = I.ee; - C(I); - A.bxb(G); + B.j.fK && B.j.fK.w1 && (G.AU = B.j.fK.w1); + B.ML.sx(G).then(function (J) { + B.j.ce = J.ce; + C(J); + B.hxb(F); }).catch(E); }); }; - c.prototype.release = function (B) { - return f(this.j, B); + c.prototype.release = function (A) { + return f(this.j, A); }; - c.prototype.aPa = function () { - var B; - B = this.Gub.create(); - this.j.we && (B.Xe = this.j.we.Pq()); - B.ee = this.j.ee; - B.ba = this.j.ba; - B.K = this.j.K; - return B; + c.prototype.$Oa = function () { + var A; + A = this.Kub.create(); + A.ce = this.j.ce; + A.ca = this.j.ca; + A.K = this.j.K; + return A; }; - c.prototype.bxb = function (B) { - this.oXa || (this.oXa = !0, this.j.fireEvent(w.W.LL, { - K: B.K + c.prototype.hxb = function (A) { + this.mXa || (this.mXa = !0, this.j.fireEvent(w.Z.NL, { + K: A.K })); }; - c.prototype.axb = function () { - var B; - B = this; - this.NMa || (this.NMa = !0, this.j.fireEvent(w.W.emb), g.ha.get(t.hZ)().then(function (A) { - A.JC(B.j); - })); + c.prototype.gxb = function () { + this.OMa || (this.OMa = !0, this.j.fireEvent(w.Z.emb), g.ha.get(u.KDa).Tt(this.j)); }; - c.prototype.WWb = function () { - var B, - A; - B = this; - A = g.ha.get(y.Kk); - this.ki.cma || c.i6a || (c.i6a = !0, A.$ta && l.config.VWb && this.gMb.Of(this.log, {}).then(function () { - return B.log.trace("Updated NetflixId"); + c.prototype.YWb = function () { + var A, + B; + A = this; + B = g.ha.get(y.Kk); + this.ki.Xla || c.k6a || (c.k6a = !0, B.Wta && l.config.XWb && this.iMb.Pf(this.log, {}).then(function () { + return A.log.trace("Updated NetflixId"); }).catch(function (C) { - return B.log.error("NetflixId upgrade failed", n.Lr(C)); + return A.log.error("NetflixId upgrade failed", n.Or(C)); })); }; - b.Fwa = c; - c.i6a = !1; - b.jz = f; - }, function (q, b) { + b.Cwa = c; + c.k6a = !1; + b.mz = f; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Aaa = "PboBindCommandSymbol"; - }, function (q, b, a) { + b.uaa = "PboBindCommandSymbol"; + }, function (r, b, a) { var k, l, d, @@ -37258,10 +37245,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; function c(v) { v = Error.call(this, v); @@ -37269,100 +37256,100 @@ a000.D9b = function () { ("stack" in v) && (this.stack = v.stack); this.name = "CodecSwitchingError"; } - function f(v, x, y, z, B) { - var A, + function f(v, x, y, z, A) { + var B, C; - A = this; + B = this; this.j = v; this.type = x; - this.lIa = z; - this.log = B; - this.A_ = new g.Ec(!1); - this.XD = { + this.jIa = z; + this.log = A; + this.D_ = new g.zc(!1); + this.$D = { data: [], state: "", operation: "" }; - this.mimeType = this.tRa((this.type === k.ic.Za.Hb ? this.j.Qh.value : this.j.Bd.value).streams); - this.Sr = new h.Wj(); - this.dda = { + this.mimeType = this.sRa((this.type === k.Qb.Ra.Bb ? this.j.Ph.value : this.j.Sd.value).streams); + this.Wr = new h.Wj(); + this.Yca = { Type: this.type }; - if (d.config.$B) { + if (d.config.bC) { C = !0; - this.Ria = new g.Ec(!1); + this.Kia = new g.zc(!1); } - this.log.trace("Adding source buffer", this.dda, { + this.log.trace("Adding source buffer", this.Yca, { TypeId: this.mimeType }); this.Tc = y.addSourceBuffer(this.mimeType); this.Tc.addEventListener("updatestart", function () { !1; - A.XD.state = "updatestart"; + B.$D.state = "updatestart"; }); this.Tc.addEventListener("update", function () { !1; - A.XD.state = "update"; + B.$D.state = "update"; }); this.Tc.addEventListener("updateend", function () { var E; !1; - A.A_.set(!1); - A.tIa && A.tIa(); - A.XD.state = "updateend"; + B.D_.set(!1); + B.rIa && B.rIa(); + B.$D.state = "updateend"; E = 0; try { - E = A.Tc.buffered.length; - } catch (F) {} - C && E && (C = !1, A.Ria.set(!0), !1); + E = B.Tc.buffered.length; + } catch (G) {} + C && E && (C = !1, B.Kia.set(!0), !1); }); this.Tc.addEventListener("error", function (E) { - var F; + var G; !1; try { - F = E.target.error && E.target.error.message; - (E.message || F) && B.error("error event received on sourcebuffer", { + G = E.target.error && E.target.error.message; + (E.message || G) && A.error("error event received on sourcebuffer", { mediaErrorMessage: E.message }); } catch (D) {} - v.Ld(n.L.Ycb, l.Y2(A.type)); + v.Jd(n.M.adb, l.a3(B.type)); }); this.Tc.addEventListener("abort", function () { !1; }); - v.addEventListener(u.W.closed, function () { - A.Tc = void 0; + v.addEventListener(t.Z.closed, function () { + B.Tc = void 0; }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$8a = b.caa = void 0; + b.b9a = b.V$ = void 0; k = a(53); - l = a(171); + l = a(170); d = a(13); g = a(105); - h = a(72); + h = a(73); m = a(7); a(94); n = a(3); - a(5); - r = a(21); + a(4); + q = a(21); p = a(17); - u = a(18); - t = a(139); + t = a(18); + u = a(139); w = a(187); f.prototype.hi = function () { - return this.A_.value; + return this.D_.value; }; f.prototype.updating = function () { return this.Tc ? this.Tc.updating : !1; }; - f.prototype.A7 = function (v) { - this.tIa = v; + f.prototype.w7 = function (v) { + this.rIa = v; }; - f.prototype.$K = function () { - return this.XD; + f.prototype.V2 = function () { + return this.$D; }; f.prototype.buffered = function () { return this.Tc.buffered; @@ -37375,13 +37362,13 @@ a000.D9b = function () { type: this.type }; }; - f.prototype.S2 = function () { + f.prototype.T2 = function () { var v, x, y, z, - B, A, + B, C; try { v = this.Tc.buffered; @@ -37389,13 +37376,13 @@ a000.D9b = function () { if (v) { y = []; z = 0; - B = v.length; - for (z = 0; z < B; z++) { - A = v.start(z); + A = v.length; + for (z = 0; z < A; z++) { + B = v.start(z); C = v.end(z); - x += C - A; - r.gb(C > A); - y.push(A + "-" + C); + x += C - B; + q.gb(C > B); + y.push(B + "-" + C); } } if (y) @@ -37405,44 +37392,44 @@ a000.D9b = function () { }; } catch (E) {} }; - f.prototype.dMa = function (v, x) { + f.prototype.cMa = function (v, x) { !1; try { - r.gb(this.Tc.buffered && 1 >= this.Tc.buffered.length, "Gaps in media are not allowed: " + JSON.stringify(this.S2())); + q.gb(this.Tc.buffered && 1 >= this.Tc.buffered.length, "Gaps in media are not allowed: " + JSON.stringify(this.T2())); } catch (y) {} - r.gb(!this.hi()); + q.gb(!this.hi()); this.v3a("append", v); - x = x && x.Ct / 1E3; - p.xa(x) && this.Tc.timestampOffset !== x && (!1, this.Tc.timestampOffset = x); + x = x && x.Ht / 1E3; + p.ya(x) && this.Tc.timestampOffset !== x && (!1, this.Tc.timestampOffset = x); this.Tc.appendBuffer(v); !1; - this.A_.set(!0); + this.D_.set(!0); }; f.prototype.remove = function (v, x) { - r.gb(!this.hi()); + q.gb(!this.hi()); try { this.v3a("remove"); !1; this.Tc.remove(v, x); - this.A_.set(!0); + this.D_.set(!0); } catch (y) { - this.log.error("SourceBuffer remove exception", y, this.dda); + this.log.error("SourceBuffer remove exception", y, this.Yca); } }; f.prototype.v3a = function (v, x) { - this.XD.data = x || []; - this.XD.state = "init"; - this.XD.operation = v; + this.$D.data = x || []; + this.$D.state = "init"; + this.$D.operation = v; }; - f.prototype.tSb = function (v, x) { - this.dGb = Math.floor(1E3 * v / x); + f.prototype.xSb = function (v, x) { + this.gGb = Math.floor(1E3 * v / x); }; - f.prototype.dob = function (v) { + f.prototype.eob = function (v) { var x; if (this.Tc && !useddplus) { - if ((v = this.tRa([{ - type: this.Epb, - Mg: v + if ((v = this.sRa([{ + type: this.Fpb, + Kg: v } ]), v !== this.mimeType)) { x = this.mimeType; @@ -37453,7 +37440,7 @@ a000.D9b = function () { this.Tc.changeType(v); this.mimeType = v; } catch (y) { - throw (this.log.error("Error changing SourceBuffer type", y, this.dda, { + throw (this.log.error("Error changing SourceBuffer type", y, this.Yca, { From: x, To: v }), new c(y.message)); @@ -37463,22 +37450,22 @@ a000.D9b = function () { this.log.info("No SourceBuffer"); }; f.prototype.appendBuffer = function (v, x) { - !x || x.Lc ? this.Iea(v, x) : this.B0(v, x); + !x || x.Nc ? this.Bea(v, x) : this.D0(v, x); return !0; }; - f.prototype.Iea = function (v, x) { - this.j.Cg.Iea(this, v, x || ({})); + f.prototype.Bea = function (v, x) { + this.j.Bg.Bea(this, v, x || ({})); }; - f.prototype.B0 = function (v, x) { - v = this.ypb(v, x); + f.prototype.D0 = function (v, x) { + v = this.zpb(v, x); !1; - this.j.Cg.B0(v); + this.j.Bg.D0(v); }; - f.prototype.ypb = function (v, x) { + f.prototype.zpb = function (v, x) { var y; - y = this.dGb || 0; + y = this.gGb || 0; return { - $Na: function () { + YNa: function () { this.response = void 0; }, Jh: function () { @@ -37488,37 +37475,37 @@ a000.D9b = function () { name: "MediaRequest" }, mediaType: this.mediaType, - readyState: w.bc.zc.DONE, - ez: x.Z, - Mv: x.Z + x.duration, - Zx: x.duration, - Ct: y, - Aj: x.Aj, + readyState: w.cc.Bc.DONE, + hz: x.X, + Rv: x.X + x.duration, + dy: x.duration, + Ht: y, + yj: x.yj, va: x.va, - La: x.La, - Rc: +x.Rc, + Ma: x.Ma, + Qc: +x.Qc, location: x.location, - WJ: x.offset, - VJ: x.offset + x.ca - 1, + $J: x.offset, + ZJ: x.offset + x.da - 1, bitrate: x.bitrate, response: v, WUa: v && 0 < v.byteLength, - TB: !0, - get Lc() { - return !this.TB; + VB: !0, + get Nc() { + return !this.VB; }, - A2a: this.qj - y || Infinity, + A2a: this.nj - y || Infinity, toJSON: function () { var z; z = { requestId: this.requestId, segmentId: this.va, - isHeader: this.Lc, - ptsStart: this.ez, - ptsOffset: this.Ct, + isHeader: this.Nc, + ptsStart: this.hz, + ptsOffset: this.Ht, responseType: this.h3b, - duration: this.Zx, - readystate: this.fh + duration: this.dy, + readystate: this.bh }; this.stream && (z.bitrate = this.stream.bitrate); return JSON.stringify(z); @@ -37527,19 +37514,19 @@ a000.D9b = function () { }; f.prototype.endOfStream = function () { var v; - this.j.TA("EndOfStream"); - null === (v = this.j.Cg) || void 0 === v ? void 0 : v.W5(this.mediaType); + this.j.IE("EndOfStream"); + null === (v = this.j.Bg) || void 0 === v ? void 0 : v.W5(this.mediaType); }; f.prototype.addEventListener = function (v, x, y) { - this.Sr.addListener(v, x, y); + this.Wr.addListener(v, x, y); }; f.prototype.removeEventListener = function (v, x) { - this.Sr.removeListener(v, x); + this.Wr.removeListener(v, x); }; - f.prototype.tRa = function (v) { + f.prototype.sRa = function (v) { var x; - x = m.ha.get(t.MP); - return this.type === k.ic.Za.Hb ? x.A1(v) : x.x1(v); + x = m.ha.get(u.MP); + return this.type === k.Qb.Ra.Bb ? x.C1(v) : x.z1(v); }; Xa.Object.defineProperties(f.prototype, { mediaType: { @@ -37549,21 +37536,21 @@ a000.D9b = function () { return this.type; } }, - S0: { + U0: { configurable: !0, enumerable: !0, get: function () { - return this.lIa.S0; + return this.jIa.U0; } }, - zW: { + yW: { configurable: !0, enumerable: !0, get: function () { - return this.lIa.zW; + return this.jIa.yW; } }, - Epb: { + Fpb: { configurable: !0, enumerable: !0, get: function () { @@ -37571,17 +37558,17 @@ a000.D9b = function () { } } }); - b.caa = f; - ka(c, Error); - b.$8a = c; - }, function (q, b, a) { + b.V$ = f; + ja(c, Error); + b.b9a = c; + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - b.vPa = b.nna = void 0; + b.uPa = b.hna = void 0; c = a(21); f = a(24); k = a(17); @@ -37600,407 +37587,407 @@ a000.D9b = function () { }; g = /["\r\n]/g; h = /[", ]/; - b.vPa = function (m) { - return k.Hc(m) ? k.xa(m) ? m : k.ze(m) ? m.replace(g, l) : k.Pla(m) ? m : isNaN(m) ? "NaN" : "" : ""; + b.uPa = function (m) { + return k.Jc(m) ? k.ya(m) ? m : k.Be(m) ? m.replace(g, l) : k.Kla(m) ? m : isNaN(m) ? "NaN" : "" : ""; }; - b.nna = function (m) { + b.hna = function (m) { var n, - r; - n = b.vPa; - r = ""; - f.de(m, function (p, u) { - p = n(p) + "=" + n(u); + q; + n = b.uPa; + q = ""; + f.ae(m, function (p, t) { + p = n(p) + "=" + n(t); h.test(p) && (p = '"' + p + '"'); - r = r ? r + ("," + p) : p; + q = q ? q + ("," + p) : p; }); - return r; + return q; }; })(); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jj = void 0; - q = b.jj || (b.jj = {}); - q[q.Q3a = 1] = "sourceopen"; - q[q.Iq = 2] = "currentTimeChanged"; - q[q.iW = 3] = "seeked"; - q[q.nXa = 5] = "licenseadded"; - q[q.P3a = 6] = "sourceBuffersAdded"; - q[q.e6 = 7] = "onNeedKey"; - }, function (q, b, a) { + b.hj = void 0; + r = b.hj || (b.hj = {}); + r[r.R3a = 1] = "sourceopen"; + r[r.Jq = 2] = "currentTimeChanged"; + r[r.iW = 3] = "seeked"; + r[r.lXa = 5] = "licenseadded"; + r[r.Q3a = 6] = "sourceBuffersAdded"; + r[r.e6 = 7] = "onNeedKey"; + }, function (r, b, a) { var D, - G, - I, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db; - function c(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + nb, + cb; + function c(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function f(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function f(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function k(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function k(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function l(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); - this.WG = Ta.config.WG; - this.fd = this.sizes = void 0; + function l(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); + this.dH = Sa.config.dH; + this.gd = this.sizes = void 0; } - function d(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function d(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } function g() { - for (var Ta = new DataView(this), Ca = "", La, Ma = 0; Ma < this.byteLength; Ma++) { - La = Ta.getUint8(Ma); - Ca += ("00" + La.toString(16)).slice(-2); + for (var Sa = new DataView(this), Ba = "", La, Ma = 0; Ma < this.byteLength; Ma++) { + La = Sa.getUint8(Ma); + Ba += ("00" + La.toString(16)).slice(-2); } - return Ca; + return Ba; } - function h(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function h(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function m(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function m(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function n(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function n(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function r(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function q(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function p(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function p(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function u(Ta) { - function Ca(La, Ma, Va, ib, yb) { - J.call(this, La, Ma, Va, ib, yb); - this.SU = Ta; + function t(Sa) { + function Ba(La, Ma, Va, ib, yb) { + K.call(this, La, Ma, Va, ib, yb); + this.RU = Sa; } - Ca.Ka = !1; - Ca.prototype = new J(); - Ca.prototype.constructor = Ca; - Object.defineProperties(Ca.prototype, { + Ba.Ka = !1; + Ba.prototype = new K(); + Ba.prototype.constructor = Ba; + Object.defineProperties(Ba.prototype, { yO: { get: function () { - return this.SU; + return this.RU; } } }); - Ca.prototype.parse = function () { - this.u.console.trace("renaming '" + this.type + "' to draft type '" + this.SU + "'"); + Ba.prototype.parse = function () { + this.u.console.trace("renaming '" + this.type + "' to draft type '" + this.RU + "'"); this.u.offset = this.startOffset + 4; - this.ia.AX(this.yO); + this.ja.zX(this.yO); this.type = this.yO; return !0; }; - return Ca; + return Ba; } - function t(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function u(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function w(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function w(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function v(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function v(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function x(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function x(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function y(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function y(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function z(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function z(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function B(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function A(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function A(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function B(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function C(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function C(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function E(Ta, Ca, La, Ma, Va) { - J.call(this, Ta, Ca, La, Ma, Va); + function E(Sa, Ba, La, Ma, Va) { + K.call(this, Sa, Ba, La, Ma, Va); } - function F(Ta, Ca) { - Ta.forEach(function (La) { - Ca[La.Lb] = La; + function G(Sa, Ba) { + Sa.forEach(function (La) { + Ba[La.Mb] = La; }); } D = a(156).assert; b = a(101); - G = a(282).S; - I = a(507); + F = a(283).S; + J = a(511); a(157); a(87); a(87); a(87); - J = a(33).kc; - H = a(1103).default; - M = a(1104).default; - O = a(1105).default; - L = a(1106).default; - P = a(1107).default; - R = a(1108).default; - K = a(1109).default; - Q = a(1110).default; + K = a(33).mc; + H = a(1106).default; + L = a(1107).default; + Q = a(1108).default; + I = a(1109).default; + O = a(1110).default; N = a(1111).default; - a(283); + M = a(1112).default; + P = a(1113).default; + R = a(1114).default; + a(284); a(189); - da = a(508).Y8; - na = a(508).b$; - va = a(1112).default; - ra = a(1113).default; - X = a(102).default; - ta = a(102).g9; - za = a(102).h9; - V = a(102).i9; - T = a(102).j9; - ja = a(1114).default; - Ia = a(1115).default; - wa = a(102).x$; - Sa = a(102).s$; - Ua = a(1116).default; - $a = a(1117).default; - Za = a(1118).default; - mb = a(509).default; - db = a(510).default; + ea = a(512).T8; + pa = a(512).W9; + va = a(1115).default; + ta = a(1116).default; + Y = a(102).default; + ra = a(102).b9; + Ea = a(102).c9; + V = a(102).d9; + U = a(102).e9; + ma = a(1117).default; + Ia = a(1118).default; + wa = a(102).p$; + Ta = a(102).k$; + Ua = a(1119).default; + ab = a(1120).default; + Za = a(1121).default; + nb = a(513).default; + cb = a(514).default; a(158); - a(286); a(287); - a(285); - a = a(1119).default; + a(288); + a(286); + a = a(1122).default; c.Ka = !0; - c.prototype = new J(); + c.prototype = new K(); c.prototype.constructor = c; f.Ka = !0; - f.prototype = new J(); + f.prototype = new K(); f.prototype.constructor = f; k.Ka = !1; - k.prototype = new J(); + k.prototype = new K(); k.prototype.constructor = k; k.prototype.parse = function () { - var Ta; - this.ec(); - 1 === this.version ? (this.u.Hd(), this.u.Hd(), this.U = this.u.ta(), this.duration = this.u.Hd()) : (this.u.ta(), this.u.ta(), this.U = this.u.ta(), this.duration = this.u.ta()); - Ta = this.u.Dc() & 32767; - this.language = String.fromCharCode(96 + (Ta >>> 10), 96 + (Ta >>> 5 & 31), 96 + (Ta & 31)); + var Sa; + this.ic(); + 1 === this.version ? (this.u.Gd(), this.u.Gd(), this.U = this.u.ta(), this.duration = this.u.Gd()) : (this.u.ta(), this.u.ta(), this.U = this.u.ta(), this.duration = this.u.ta()); + Sa = this.u.Gc() & 32767; + this.language = String.fromCharCode(96 + (Sa >>> 10), 96 + (Sa >>> 5 & 31), 96 + (Sa & 31)); return !0; }; l.Ka = !1; - l.prototype = new J(); + l.prototype = new K(); l.prototype.constructor = l; - l.prototype.sda = function () { - this.ec(); + l.prototype.mda = function () { + this.ic(); this.u.ta(); this.U = this.u.ta(); - 0 === this.version ? (this.CS = this.u.ta(), this.VS = this.u.ta()) : (this.CS = this.u.Hd(), this.VS = this.u.Hd()); - this.X1a = this.u.Dc(); - this.QV = this.u.Dc(); + 0 === this.version ? (this.BS = this.u.ta(), this.US = this.u.ta()) : (this.BS = this.u.Gd(), this.US = this.u.Gd()); + this.W1a = this.u.Gc(); + this.PV = this.u.Gc(); }; - l.prototype.kca = function (Ta, Ca) { + l.prototype.eca = function (Sa, Ba) { var La, Ma, Va; La = this.U; - Ta = Ta && Ta.U || La; - Ma = Ta / La; - La = this.u.fz(Ca, 12, !1); - Va = 1 === Ma ? this.u.fz(Ca, 12, !1) : I.from(Uint32Array, { - length: Ca + Sa = Sa && Sa.U || La; + Ma = Sa / La; + La = this.u.iz(Ba, 12, !1); + Va = 1 === Ma ? this.u.iz(Ba, 12, !1) : J.from(Uint32Array, { + length: Ba }, function () { var ib; ib = Math.round(this.u.ta() * Ma); this.u.offset += 8; return ib; }, this); - this.Wda(Ca, Va, La, Ta); + this.Qda(Ba, Va, La, Sa); }; - l.prototype.Wda = function (Ta, Ca, La, Ma) { - if (this.WG) { - Ma = this.WG * Ma / 1E3; - for (var Va = 0, ib = 1; ib < Ta; ib++) { - Math.abs(Ca[Va] - Ma) > Math.abs(Ca[Va] + Ca[ib] - Ma) ? (Ca[Va] += Ca[ib], La[Va] += La[ib]) : (++Va, Va !== ib && (Ca[Va] = Ca[ib], La[Va] = La[ib])); + l.prototype.Qda = function (Sa, Ba, La, Ma) { + if (this.dH) { + Ma = this.dH * Ma / 1E3; + for (var Va = 0, ib = 1; ib < Sa; ib++) { + Math.abs(Ba[Va] - Ma) > Math.abs(Ba[Va] + Ba[ib] - Ma) ? (Ba[Va] += Ba[ib], La[Va] += La[ib]) : (++Va, Va !== ib && (Ba[Va] = Ba[ib], La[Va] = La[ib])); } ++Va; - Ca = new Uint32Array(Ca.buffer.slice(0, 4 * Va)); + Ba = new Uint32Array(Ba.buffer.slice(0, 4 * Va)); La = new Uint32Array(La.buffer.slice(0, 4 * Va)); } this.sizes = La; - this.fd = Ca; + this.gd = Ba; }; - l.prototype.parse = function (Ta) { - var Ca, + l.prototype.parse = function (Sa) { + var Ba, La, Ma, Va; - this.sda(); - this.pa = Ta.pa; - Ca = this.U; - La = this.pa && this.pa.U || Ca; - Ma = this.QV; - Va = this.startOffset + this.length + this.VS; - Ca = new G(this.CS, Ca).Vf(La).Wb; + this.mda(); + this.pa = Sa.pa; + Ba = this.U; + La = this.pa && this.pa.U || Ba; + Ma = this.PV; + Va = this.startOffset + this.length + this.US; + Ba = new F(this.BS, Ba).Wf(La).Zb; this.Y = { U: La, - Bk: Ca, + Ck: Ba, offset: Va }; - this.kca(this.pa, Ma); - this.Y.fd = this.fd; + this.eca(this.pa, Ma); + this.Y.gd = this.gd; this.Y.sizes = this.sizes; - Ta.Wv = this; + Sa.wr = this; return !0; }; d.Ka = !1; - d.prototype = new J(); + d.prototype = new K(); d.prototype.constructor = d; d.prototype.parse = function () { - var Ta; - this.Er = []; - this.tpa = []; - Ta = (this.length - 11) / 2; + var Sa; + this.Hr = []; + this.opa = []; + Sa = (this.length - 11) / 2; this.u.cb(); this.u.cb(); this.u.cb(); - for (var Ca = 0; Ca < Ta; Ca++) { - this.Er.push(this.u.cb()); - this.tpa.push(this.u.cb()); + for (var Ba = 0; Ba < Sa; Ba++) { + this.Hr.push(this.u.cb()); + this.opa.push(this.u.cb()); } return !0; }; h.Ka = !1; - h.prototype = new J(); + h.prototype = new K(); h.prototype.constructor = h; h.prototype.parse = function () { - this.ec(); + this.ic(); this.u.offset += 4; - this.PF = this.u.offset; - this.Li = this.u.pqa(16); - this.Li.toString = g; + this.VF = this.u.offset; + this.Ji = this.u.jqa(16); + this.Ji.toString = g; return !0; }; m.Ka = !1; - m.prototype = new J(); + m.prototype = new K(); m.prototype.constructor = m; m.prototype.parse = function () { - this.ec(); - this.Nf = this.u.Dc(); - this.Hna = this.u.fz(this.Nf, void 0, !0); + this.ic(); + this.Of = this.u.Gc(); + this.Bna = this.u.iz(this.Of, void 0, !0); return !0; }; n.Ka = !1; - n.prototype = new J(); + n.prototype = new K(); n.prototype.constructor = n; - n.prototype.parse = function (Ta) { - var Ca, + n.prototype.parse = function (Sa) { + var Ba, La, Ma, Va, ib, yb; - Ca = Ta.Wv; - D(Ca); - Ta = Ta.pa; - La = Ca.U; - Ca = Ca.QV; - D(Ta); + Ba = Sa.wr; + D(Ba); + Sa = Sa.pa; + La = Ba.U; + Ba = Ba.PV; + D(Sa); D(La); - D(Ca); - this.ec(); + D(Ba); + this.ic(); D(2 > this.version); - this.Nf = this.u.Dc(); - this.tt = new Uint16Array(Ca + 1); - Ma = Ta.s3(La); + this.Of = this.u.Gc(); + this.yt = new Uint16Array(Ba + 1); + Ma = Sa.t3(La); Va = Ma / La; - ib = Ta.Vf(Ma).Wb; + ib = Sa.Wf(Ma).Zb; if (0 === this.version) - for ((this.Gt = new Uint16Array(), this.Gd = new Uint32Array(), Ta = La = 0); Ta <= Ca; ++Ta) { - if ((this.tt[Ta] = La, Ta < this.Nf)) { + for ((this.Lt = new Uint16Array(), this.Fd = new Uint32Array(), Sa = La = 0); Sa <= Ba; ++Sa) { + if ((this.yt[Sa] = La, Sa < this.Of)) { yb = this.u.cb(); if (0 !== yb) for (Ma = 0; Ma < yb; (++Ma, ++La)) { - this.Gt[La] = Math.floor((this.u.ta() + 1) * Va) / ib; - this.Gd[La] = this.u.ta(); + this.Lt[La] = Math.floor((this.u.ta() + 1) * Va) / ib; + this.Fd[La] = this.u.ta(); } } } else if (1 === this.version) - for ((Ma = this.u.lqa(this.Nf, 10, !1), this.u.offset += 4, this.Gd = this.u.fz(this.Nf, 10, !1), this.u.offset -= 8, this.Gt = I.from(Uint16Array, { - length: this.Nf + for ((Ma = this.u.fqa(this.Of, 10, !1), this.u.offset += 4, this.Fd = this.u.iz(this.Of, 10, !1), this.u.offset -= 8, this.Lt = J.from(Uint16Array, { + length: this.Of }, function () { var Eb; Eb = Math.floor((this.u.ta() + 1) * Va) / ib; this.u.offset += 6; return Eb; - }, this), La = Ta = 0); Ta <= Ca; ++Ta) { - for (; La < Ma.length && Ma[La] < Ta; ) { + }, this), La = Sa = 0); Sa <= Ba; ++Sa) { + for (; La < Ma.length && Ma[La] < Sa; ) { ++La; } - this.tt[Ta] = La; + this.yt[Sa] = La; } - this.Eh = { - tt: this.tt, - Gt: this.Gt, - Gd: this.Gd + this.Dh = { + yt: this.yt, + Lt: this.Lt, + Fd: this.Fd }; return !0; }; - r.Ka = !0; - r.prototype = Object.create(c.prototype); - r.prototype.constructor = r; + q.Ka = !0; + q.prototype = Object.create(c.prototype); + q.prototype.constructor = q; p.Ka = !0; p.prototype = Object.create(c.prototype); p.prototype.constructor = p; - p.prototype.Ds = function () { - var Ta; - Ta = this.vh("tfhd"); - Ta && (this.xj = Ta.DR ? Ta.xj : this.parent.startOffset); + p.prototype.Hs = function () { + var Sa; + Sa = this.uh("tfhd"); + Sa && (this.uj = Sa.ER ? Sa.uj : this.parent.startOffset); return !0; }; - t.Ka = !1; - t.prototype = new J(); - t.prototype.constructor = t; - t.prototype.parse = function () { - var Ta, + u.Ka = !1; + u.prototype = new K(); + u.prototype.constructor = u; + u.prototype.parse = function () { + var Sa, Ob; - Ta = this.u.offset; - this.ec(); + Sa = this.u.offset; + this.ic(); if (1 === this.version) { this.u.console.trace("translating vpcC box to draft equivalent"); this.u.offset += 2; - for (var Ca = this.u.offset, La = this.u.cb(), Ma = this.u.cb(), Va = this.u.cb(), ib = this.u.cb(), yb = this.u.Dc(), Eb = [], Hb = 0; Hb < yb; ++Hb) { + for (var Ba = this.u.offset, La = this.u.cb(), Ma = this.u.cb(), Va = this.u.cb(), ib = this.u.cb(), yb = this.u.Gc(), Eb = [], Hb = 0; Hb < yb; ++Hb) { Eb = this.u.cb(); } Hb = (La & 240) >>> 4; @@ -38023,94 +38010,94 @@ a000.D9b = function () { this.u.console.warn("VP9: Unknown colourPrimaries " + Ma + "! Falling back to default color space VP9_COLOR_SPACE_BT709_6 (2)"); } this.version = 0; - this.ia.Oz(this.version, Ta); - this.ia.Oz(Hb << 4 | ib, Ca++); - this.ia.Oz(Ob << 4 | Va << 1 | La, Ca++); + this.ja.Qz(this.version, Sa); + this.ja.Qz(Hb << 4 | ib, Ba++); + this.ja.Qz(Ob << 4 | Va << 1 | La, Ba++); yb += 2; Eb.push(0, 0); - this.ia.mua(yb, !1); - Ca += 2; + this.ja.jua(yb, !1); + Ba += 2; Eb.forEach(function (Cb) { - this.ia.Oz(Cb, Ca++); + this.ja.Qz(Cb, Ba++); }); } return !0; }; w.Ka = !1; - w.prototype = new J(); + w.prototype = new K(); w.prototype.constructor = w; - w.Lb = "tfhd"; + w.Mb = "tfhd"; Object.defineProperties(w.prototype, { - DR: { + ER: { get: function () { return this.flags & 1; } }, - qra: { + kra: { get: function () { return this.flags & 2; } }, - rha: { + lha: { get: function () { return this.flags & 8; } }, - uha: { + oha: { get: function () { return this.flags & 16; } }, - sha: { + mha: { get: function () { return this.flags & 32; } } }); w.prototype.parse = function () { - this.ec(); - this.qH = this.u.ta(); - this.xj = this.DR ? this.u.Hd() : void 0; - this.qra && this.u.ta(); - this.Qx = this.rha ? this.u.ta() : void 0; - this.Sx = this.uha ? this.u.ta() : void 0; - this.Rx = this.sha ? this.u.ta() : void 0; + this.ic(); + this.yH = this.u.ta(); + this.uj = this.ER ? this.u.Gd() : void 0; + this.kra && this.u.ta(); + this.Vx = this.lha ? this.u.ta() : void 0; + this.Xx = this.oha ? this.u.ta() : void 0; + this.Wx = this.mha ? this.u.ta() : void 0; return !0; }; v.Ka = !1; - v.prototype = new J(); + v.prototype = new K(); v.prototype.constructor = v; v.prototype.parse = function () { - this.ec(); - this.yx = 1 === this.version ? this.u.Hd() : this.u.ta(); + this.ic(); + this.Dx = 1 === this.version ? this.u.Gd() : this.u.ta(); return !0; }; - v.prototype.na = function (Ta) { - var Ca; - Ca = this.startOffset + 12; - this.yx += Ta; - 1 === this.version ? this.ia.nua(this.yx, Ca) : this.ia.Gg(this.yx, Ca); + v.prototype.na = function (Sa) { + var Ba; + Ba = this.startOffset + 12; + this.Dx += Sa; + 1 === this.version ? this.ja.kua(this.Dx, Ba) : this.ja.Eg(this.Dx, Ba); }; x.Ka = !1; - x.prototype = new J(); + x.prototype = new K(); x.prototype.constructor = x; Object.defineProperties(x.prototype, { - hS: { + gS: { get: function () { return this.flags & 1; } }, - pF: { + tF: { get: function () { return this.flags & 4; } }, - pz: { + uz: { get: function () { return this.flags & 256; } }, - qz: { + vz: { get: function () { return this.flags & 512; } @@ -38120,124 +38107,124 @@ a000.D9b = function () { return this.flags & 1024; } }, - KG: { + SG: { get: function () { return this.flags & 2048; } } }); x.prototype.parse = function () { - this.ec(); - this.HR = this.u.offset; - this.yb = this.u.ta(); - this.Cj = this.hS ? this.u.AG() : 0; - this.pF && this.u.ta(); - this.Ft = (this.pz ? 4 : 0) + (this.qz ? 4 : 0) + (this.fW ? 4 : 0) + (this.KG ? 4 : 0); - this.fy = this.u.offset; - D(this.hS, "Expected data offset to be present in Track Run"); - D(this.length - (this.u.offset - this.startOffset) === this.yb * this.Ft, "Expected remaining data in box to be sample information"); + this.ic(); + this.IR = this.u.offset; + this.Ab = this.u.ta(); + this.Aj = this.gS ? this.u.HG() : 0; + this.tF && this.u.ta(); + this.Kt = (this.uz ? 4 : 0) + (this.vz ? 4 : 0) + (this.fW ? 4 : 0) + (this.SG ? 4 : 0); + this.ky = this.u.offset; + D(this.gS, "Expected data offset to be present in Track Run"); + D(this.length - (this.u.offset - this.startOffset) === this.Ab * this.Kt, "Expected remaining data in box to be sample information"); return !0; }; - x.prototype.Wr = function (Ta, Ca, La) { + x.prototype.$r = function (Sa, Ba, La) { var Ma, Va, ib; - Ma = this.pz ? this.u.ta() : Ta.Qx; - Va = this.qz ? this.u.ta() : Ta.Sx; - Ta = this.fW ? this.u.ta() : Ta.Rx; - ib = 0 === this.version ? this.KG ? this.u.ta() : 0 : this.KG ? this.u.AG() : 0; + Ma = this.uz ? this.u.ta() : Sa.Vx; + Va = this.vz ? this.u.ta() : Sa.Xx; + Sa = this.fW ? this.u.ta() : Sa.Wx; + ib = 0 === this.version ? this.SG ? this.u.ta() : 0 : this.SG ? this.u.HG() : 0; return { - pra: ib, - QQb: Ta, - NNb: La + ib - (void 0 !== Ca ? Ca : ib), - Nj: Va, - Ht: Ma + jra: ib, + VQb: Sa, + SNb: La + ib - (void 0 !== Ba ? Ba : ib), + Mj: Va, + Mt: Ma }; }; - x.prototype.na = function (Ta, Ca, La, Ma, Va, ib, yb) { + x.prototype.na = function (Sa, Ba, La, Ma, Va, ib, yb) { var Eb, Hb, Ob, Cb; Eb = 0; Hb = 0; - this.ia.offset = this.fy; + this.ja.offset = this.ky; for (Ma = 0; Ma < Va; ++Ma) { - Ob = this.Wr(Ca, Cb, Hb); + Ob = this.$r(Ba, Cb, Hb); if (0 == Ma) - Cb = Ob.pra; - Eb += Ob.Nj; - Hb += Ob.Ht; + Cb = Ob.jra; + Eb += Ob.Mj; + Hb += Ob.Mt; } Ma = Va; Va = this.u.offset; - Ob = this.Wr(Ca, Cb, Hb); - this.Tp = Ma; - this.qsa = Hb; + Ob = this.$r(Ba, Cb, Hb); + this.Wp = Ma; + this.ksa = Hb; if (yb) { - if ((this.Mp = this.Cj + Eb, this.ri = 0, Ma === this.yb)) + if ((this.Pp = this.Aj + Eb, this.ri = 0, Ma === this.Ab)) return !0; - } else if ((this.Mp = this.Cj, this.ri = Eb, 0 === Ma)) + } else if ((this.Pp = this.Aj, this.ri = Eb, 0 === Ma)) return !0; - if (0 === Ma || Ma === this.yb) + if (0 === Ma || Ma === this.Ab) return !1; - this.$x = !0; + this.ey = !0; if (yb) { - this.ri += Ob.Nj; - for (yb = Ma + 1; yb < this.yb; ++yb) { - Ob = this.Wr(Ca, Cb, Hb); - this.ri += Ob.Nj; - } - this.ia.offset = this.HR; - this.yb = Ma; - this.ia.Gg(this.yb); - this.ia.BH(ib); - this.pF && (this.u.offset += 4); - this.re(this.length - (Va - this.startOffset), Va); - } else (Ca = Va - this.fy, this.ia.offset = this.HR, this.yb -= Ma, this.ia.Gg(this.yb), this.Cj += Eb, this.ia.BH(ib, this.Cj), this.pF && (this.u.offset += 4), this.re(Ca, this.ia.offset)); - La.re(this.ri, Ta.xj + this.Mp); + this.ri += Ob.Mj; + for (yb = Ma + 1; yb < this.Ab; ++yb) { + Ob = this.$r(Ba, Cb, Hb); + this.ri += Ob.Mj; + } + this.ja.offset = this.IR; + this.Ab = Ma; + this.ja.Eg(this.Ab); + this.ja.JH(ib); + this.tF && (this.u.offset += 4); + this.te(this.length - (Va - this.startOffset), Va); + } else (Ba = Va - this.ky, this.ja.offset = this.IR, this.Ab -= Ma, this.ja.Eg(this.Ab), this.Aj += Eb, this.ja.JH(ib, this.Aj), this.tF && (this.u.offset += 4), this.te(Ba, this.ja.offset)); + La.te(this.ri, Sa.uj + this.Pp); return !0; }; - x.prototype.Oqa = function (Ta, Ca, La, Ma, Va, ib) { + x.prototype.Jqa = function (Sa, Ba, La, Ma, Va, ib) { var Eb; if (Ma) { - Ma = this.Mp; - for (var yb = this.yb - 1; 0 <= yb && this.yb - yb <= Va; --yb) { - this.ia.offset = this.fy + yb * this.Ft; - Eb = this.Wr(Ca); - if (Eb.Ht != ib.duration) { - this.u.console.warn("Could not replace sample of duration " + Eb.Ht + " with silence of duration " + ib.duration); + Ma = this.Pp; + for (var yb = this.Ab - 1; 0 <= yb && this.Ab - yb <= Va; --yb) { + this.ja.offset = this.ky + yb * this.Kt; + Eb = this.$r(Ba); + if (Eb.Mt != ib.duration) { + this.u.console.warn("Could not replace sample of duration " + Eb.Mt + " with silence of duration " + ib.duration); break; } - if (this.qz) - (this.ia.offset -= this.Ft - (this.pz ? 4 : 0), this.ia.Gg(ib.Qj.byteLength)); - else if (ib.Qj.byteLength !== Eb.Nj) { + if (this.vz) + (this.ja.offset -= this.Kt - (this.uz ? 4 : 0), this.ja.Eg(ib.Pj.byteLength)); + else if (ib.Pj.byteLength !== Eb.Mj) { this.u.console.warn("Cannot replace sample with default size with silence of different size"); break; } - Ma -= Eb.Nj; - La.Et(Eb.Nj, ib.Qj, Ta.xj + Ma); + Ma -= Eb.Mj; + La.Jt(Eb.Mj, ib.Pj, Sa.uj + Ma); } } else - for ((Ma = this.Mp + this.ri, yb = 0); yb < this.yb && yb < Va; ++yb) { - this.ia.offset = this.fy + (yb + this.Tp) * this.Ft; - Eb = this.Wr(Ca); - if (Eb.Ht != ib.duration) { - this.u.console.warn("Could not replace sample of duration " + Eb.Ht + " with silence of duration " + ib.duration); + for ((Ma = this.Pp + this.ri, yb = 0); yb < this.Ab && yb < Va; ++yb) { + this.ja.offset = this.ky + (yb + this.Wp) * this.Kt; + Eb = this.$r(Ba); + if (Eb.Mt != ib.duration) { + this.u.console.warn("Could not replace sample of duration " + Eb.Mt + " with silence of duration " + ib.duration); break; } - if (this.qz) - (this.ia.offset -= this.Ft - (this.pz ? 4 : 0), this.ia.Gg(ib.Qj.byteLength)); - else if (ib.Qj.byteLength !== Eb.Nj) { + if (this.vz) + (this.ja.offset -= this.Kt - (this.uz ? 4 : 0), this.ja.Eg(ib.Pj.byteLength)); + else if (ib.Pj.byteLength !== Eb.Mj) { this.u.console.warn("Cannot replace sample with default size with silence of different size"); break; } - La.Et(Eb.Nj, ib.Qj, Ta.xj + Ma); - Ma += Eb.Nj; + La.Jt(Eb.Mj, ib.Pj, Sa.uj + Ma); + Ma += Eb.Mj; } }; y.Ka = !1; - y.prototype = Object.create(J.prototype); + y.prototype = Object.create(K.prototype); y.prototype.constructor = y; Object.defineProperties(y.prototype, { vm: { @@ -38247,35 +38234,35 @@ a000.D9b = function () { } }); y.prototype.parse = function () { - this.ec(); - this.vm && this.u.ll(); + this.ic(); + this.vm && this.u.kl(); this.vm && this.u.ta(); - this.tha = this.u.cb(); - this.yb = this.u.ta(); - this.u.gz(this.yb); + this.nha = this.u.cb(); + this.Ab = this.u.ta(); + this.u.jz(this.Ab); return !0; }; - y.prototype.na = function (Ta, Ca) { - if (Ta && 0 === this.tha) { - Ta = Ca ? this.yb - Ta : Ta; - this.ia.offset = this.startOffset + 13 + (this.vm ? 8 : 0); - this.yb -= Ta; - this.ia.Gg(this.yb); - this.IG = 0; - if (Ca) - this.ia.offset += this.yb; + y.prototype.na = function (Sa, Ba) { + if (Sa && 0 === this.nha) { + Sa = Ba ? this.Ab - Sa : Sa; + this.ja.offset = this.startOffset + 13 + (this.vm ? 8 : 0); + this.Ab -= Sa; + this.ja.Eg(this.Ab); + this.PG = 0; + if (Ba) + this.ja.offset += this.Ab; else { - for (Ca = 0; Ca < Ta; ++Ca) { - this.IG += this.ia.cb(); + for (Ba = 0; Ba < Sa; ++Ba) { + this.PG += this.ja.cb(); } - this.ia.offset -= Ta; + this.ja.offset -= Sa; } - this.re(Ta, this.u.offset); + this.te(Sa, this.u.offset); } return !0; }; z.Ka = !1; - z.prototype = Object.create(J.prototype); + z.prototype = Object.create(K.prototype); z.prototype.constructor = z; Object.defineProperties(z.prototype, { vm: { @@ -38285,89 +38272,89 @@ a000.D9b = function () { } }); z.prototype.parse = function () { - this.ec(); - this.vm && this.u.ll(); + this.ic(); + this.vm && this.u.kl(); this.vm && this.u.ta(); - this.Nf = this.u.ta(); - D(1 === this.Nf, "Expected a single entry in Sample Auxiliary Information Offsets box"); - this.Cj = 0 === this.version ? this.u.AG() : this.u.sqa(); + this.Of = this.u.ta(); + D(1 === this.Of, "Expected a single entry in Sample Auxiliary Information Offsets box"); + this.Aj = 0 === this.version ? this.u.HG() : this.u.mqa(); return !0; }; - z.prototype.na = function (Ta, Ca) { - this.Cj += Ta; - this.ia.offset = this.startOffset + 16 + (this.vm ? 8 : 0) + (0 === this.version ? 0 : 4); - this.ia.BH(Ca, this.Cj); + z.prototype.na = function (Sa, Ba) { + this.Aj += Sa; + this.ja.offset = this.startOffset + 16 + (this.vm ? 8 : 0) + (0 === this.version ? 0 : 4); + this.ja.JH(Ba, this.Aj); return !0; }; - B.Ka = !1; - B.prototype = Object.create(J.prototype); - B.prototype.constructor = B; - Object.defineProperties(B.prototype, { - mV: { + A.Ka = !1; + A.prototype = Object.create(K.prototype); + A.prototype.constructor = A; + Object.defineProperties(A.prototype, { + lV: { get: function () { return this.flags & 1; } }, - Zta: { + Vta: { get: function () { return this.flags & 2; } } }); - B.prototype.parse = function () { - this.ec(); - this.mV && (this.u.ta(), this.u.gz(16)); - this.yb = this.u.ta(); + A.prototype.parse = function () { + this.ic(); + this.lV && (this.u.ta(), this.u.jz(16)); + this.Ab = this.u.ta(); return !0; }; - B.prototype.na = function (Ta, Ca) { + A.prototype.na = function (Sa, Ba) { var La, Ma; - La = Ca ? this.yb - Ta : Ta; - this.ia.offset = this.startOffset + 28 + (this.mV ? 20 : 0); - this.yb -= La; - this.ia.Gg(this.yb); - Ta = this.ia.offset; - if (this.Zta) - for (La = Ca ? this.yb : La; 0 < La; --La) { - this.ia.offset += 8; - Ma = this.ia.Dc(); - this.ia.offset += 6 * Ma; + La = Ba ? this.Ab - Sa : Sa; + this.ja.offset = this.startOffset + 28 + (this.lV ? 20 : 0); + this.Ab -= La; + this.ja.Eg(this.Ab); + Sa = this.ja.offset; + if (this.Vta) + for (La = Ba ? this.Ab : La; 0 < La; --La) { + this.ja.offset += 8; + Ma = this.ja.Gc(); + this.ja.offset += 6 * Ma; } else - this.ia.offset += 8 * (Ca ? this.yb : La); - Ca ? this.re(this.length - (this.u.offset - this.startOffset), this.u.offset) : this.re(this.u.offset - Ta, Ta); + this.ja.offset += 8 * (Ba ? this.Ab : La); + Ba ? this.te(this.length - (this.u.offset - this.startOffset), this.u.offset) : this.te(this.u.offset - Sa, Sa); }; - A.Ka = !1; - A.prototype = Object.create(J.prototype); - A.prototype.constructor = A; - A.prototype.parse = function () { - this.ec(); + B.Ka = !1; + B.prototype = Object.create(K.prototype); + B.prototype.constructor = B; + B.prototype.parse = function () { + this.ic(); return !0; }; - A.prototype.na = function (Ta, Ca, La) { - La ? this.re(Ca - Ta, this.startOffset + 12 + Ta) : this.re(Ta, this.startOffset + 12); + B.prototype.na = function (Sa, Ba, La) { + La ? this.te(Ba - Sa, this.startOffset + 12 + Sa) : this.te(Sa, this.startOffset + 12); return !0; }; C.Ka = !1; - C.prototype = Object.create(J.prototype); + C.prototype = Object.create(K.prototype); C.prototype.constructor = C; C.prototype.parse = function () { - this.ec(); - this.u.ll(); + this.ic(); + this.u.kl(); 1 === this.version && this.u.ta(); - this.Nf = this.u.ta(); - this.It = []; - for (var Ta = 0; Ta < this.Nf; ++Ta) { - for (var Ca = this.u.ta(), La = this.u.ta(), Ma = 0; Ma < Ca; ++Ma) { - this.It.push(La); + this.Of = this.u.ta(); + this.Nt = []; + for (var Sa = 0; Sa < this.Of; ++Sa) { + for (var Ba = this.u.ta(), La = this.u.ta(), Ma = 0; Ma < Ba; ++Ma) { + this.Nt.push(La); } } return !0; }; - C.prototype.na = function (Ta, Ca) { - this.It = Ca ? this.It.slice(0, Ta) : this.It.slice(Ta); - Ta = this.It.reduce(function (La, Ma) { + C.prototype.na = function (Sa, Ba) { + this.Nt = Ba ? this.Nt.slice(0, Sa) : this.Nt.slice(Sa); + Sa = this.Nt.reduce(function (La, Ma) { 0 !== La.length && La[La.length - 1].group === Ma || La.push({ group: Ma, count: 0 @@ -38375,68 +38362,68 @@ a000.D9b = function () { ++La[La.length - 1].count; return La; }, []); - this.ia.offset = this.startOffset + 16 + (1 === this.version ? 4 : 0); - this.ia.Gg(Ta.length); - Ta.forEach((function (La) { - this.ia.Gg(La.count); - this.ia.Gg(La.group); + this.ja.offset = this.startOffset + 16 + (1 === this.version ? 4 : 0); + this.ja.Eg(Sa.length); + Sa.forEach((function (La) { + this.ja.Eg(La.count); + this.ja.Eg(La.group); }).bind(this)); - this.Nf > Ta.length && this.re(8 * (this.Nf - Ta.length)); - this.Nf = Ta.length; + this.Of > Sa.length && this.te(8 * (this.Of - Sa.length)); + this.Of = Sa.length; return !0; }; E.Ka = !1; - E.prototype = Object.create(J.prototype); + E.prototype = Object.create(K.prototype); E.prototype.constructor = E; - X = { - Sa: { + Y = { + Ta: { moov: f, trak: c, mdia: c, mdhd: k, minf: c, - encv: X, + encv: Y, schi: c, sidx: l, sinf: c, stbl: c, tenc: h, mvex: c, - moof: r, + moof: q, traf: p, tfhd: w, trun: x, sbgp: C, - sdtp: A, + sdtp: B, saiz: y, saio: z, tfdt: v, mdat: E, vmaf: d }, - ota: { - vpcC: t, - SmDm: u("smdm"), - CoLL: u("coll") - }, - aX: { - schm: ja - }, - JG: {} - }; - F([Ia, R, K, Q, wa, Sa, H, L, mb, db, P, N, M, O, a], X.Sa); - F([da, va, ta, za, V, T, na, ra, $a, Ua], X.JG); - F([Ia, ja], X.aX); - X.Sa[b.vP] = h; - X.Sa[b.Dw] = m; - X.Sa[b.Cw] = n; - X.Sa[b.uP] = B; - X.JG[b.yD] = Za; - X.kc = J; - q.exports = { - Cp: X - }; - }, function (q, b) { + jta: { + vpcC: u, + SmDm: t("smdm"), + CoLL: t("coll") + }, + $W: { + schm: ma + }, + QG: {} + }; + G([Ia, N, M, P, wa, Ta, H, I, nb, cb, O, R, L, Q, a], Y.Ta); + G([ea, va, ra, Ea, V, U, pa, ta, ab, Ua], Y.QG); + G([Ia, ma], Y.$W); + Y.Ta[b.wP] = h; + Y.Ta[b.Jw] = m; + Y.Ta[b.Iw] = n; + Y.Ta[b.vP] = A; + Y.QG[b.AD] = Za; + Y.mc = K; + r.exports = { + Ep: Y + }; + }, function (r, b) { function a(c, f) { var k, l, @@ -38462,14 +38449,14 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function c(f, k) { - "object" === typeof f ? (this.cc = f.Wb, this.eb = f.U) : (this.cc = f, this.eb = k); + "object" === typeof f ? (this.dc = f.Zb, this.eb = f.U) : (this.dc = f, this.eb = k); } c.rb = function (f) { return new c(f, 1E3); }; - c.VW = function (f, k) { + c.UW = function (f, k) { return Math.floor(1E3 * f / k); }; c.F5 = function (f, k) { @@ -38492,9 +38479,9 @@ a000.D9b = function () { }); }; Object.defineProperties(c.prototype, { - Wb: { + Zb: { get: function () { - return this.cc; + return this.dc; }, enumerable: !0, configurable: !0 @@ -38512,57 +38499,57 @@ a000.D9b = function () { Object.defineProperties(c.prototype, { V: { get: function () { - return 1E3 * this.cc / this.eb; + return 1E3 * this.dc / this.eb; }, enumerable: !0, configurable: !0 } }); Object.defineProperties(c.prototype, { - Wg: { + Ug: { get: function () { - return this.cc / this.eb; + return this.dc / this.eb; }, enumerable: !0, configurable: !0 } }); - c.prototype.Vf = function (f) { + c.prototype.Wf = function (f) { f /= this.U; - return new c(Math.floor(this.Wb * f), Math.floor(this.U * f)); + return new c(Math.floor(this.Zb * f), Math.floor(this.U * f)); }; c.prototype.add = function (f) { var k; if (this.U === f.U) - return new c(this.Wb + f.Wb, this.U); + return new c(this.Zb + f.Zb, this.U); k = a(this.U, f.U); - return this.Vf(k).add(f.Vf(k)); + return this.Wf(k).add(f.Wf(k)); }; - c.prototype.Ba = function (f) { - return this.add(new c(-f.Wb, f.U)); + c.prototype.Da = function (f) { + return this.add(new c(-f.Zb, f.U)); }; - c.prototype.mC = function (f) { - return new c(this.Wb * f, this.U); + c.prototype.oC = function (f) { + return new c(this.Zb * f, this.U); }; c.prototype.Yk = function (f) { var k; if (this.U === f.U) - return this.Wb / f.Wb; + return this.Zb / f.Zb; k = a(this.U, f.U); - return this.Vf(k).Yk(f.Vf(k)); + return this.Wf(k).Yk(f.Wf(k)); }; - c.prototype.s3 = function (f) { + c.prototype.t3 = function (f) { return a(this.U, f); }; - c.prototype.yqa = function () { - return new c(this.U, this.Wb); + c.prototype.sqa = function () { + return new c(this.U, this.Zb); }; c.prototype.compare = function (f, k) { var l; if (this.U === k.U) - return f(this.Wb, k.Wb); + return f(this.Zb, k.Zb); l = a(this.U, k.U); - return f(this.Vf(l).Wb, k.Vf(l).Wb); + return f(this.Wf(l).Zb, k.Wf(l).Zb); }; c.prototype.equal = function (f) { return this.compare(function (k, l) { @@ -38584,140 +38571,140 @@ a000.D9b = function () { return k > l; }, f); }; - c.prototype.Fy = function (f) { + c.prototype.Iy = function (f) { return this.compare(function (k, l) { return k <= l; }, f); }; - c.prototype.xp = function (f) { + c.prototype.On = function (f) { return this.compare(function (k, l) { return k >= l; }, f); }; c.prototype.toJSON = function () { return { - ticks: this.Wb, + ticks: this.Zb, timescale: this.U }; }; c.prototype.toString = function () { - return this.Wb + "/" + this.U; + return this.Zb + "/" + this.U; }; c.hb = new c(0, 1); - c.Cv = new c(1, 1E3); + c.Iv = new c(1, 1E3); return c; })(); - b.S = q; - }, function (q, b, a) { + b.S = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { this.u.offset += 6; - this.u.Dc(); + this.u.Gc(); return !0; }; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(23); - q.__exportStar(a(158), b); - q.__exportStar(a(285), b); - q.__exportStar(a(286), b); - q.__exportStar(a(287), b); - q = a(286); - c = a(287); - a = a(285); - b.fp = { + r = a(23); + r.__exportStar(a(158), b); + r.__exportStar(a(286), b); + r.__exportStar(a(287), b); + r.__exportStar(a(288), b); + r = a(287); + c = a(288); + a = a(286); + b.gp = { 3: a.GO, - 4: q.BO, - 5: c.X9 + 4: r.BO, + 5: c.S9 }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var l; - this.u.Dc(); + this.u.Gc(); l = this.u.cb(); - this.Fsa = !!(l & 128); - this.Dba = !!(l & 64); - this.naa = !!(l & 32); - this.Fsa && this.u.Dc(); - this.Dba && this.u.gz(this.u.cb()); - this.naa && this.u.Dc(); - this.NQ(); + this.zsa = !!(l & 128); + this.xba = !!(l & 64); + this.faa = !!(l & 32); + this.zsa && this.u.Gc(); + this.xba && this.u.jz(this.u.cb()); + this.faa && this.u.Gc(); + this.OQ(); return !0; }; k.tag = 3; return k; - })(a(158).eD); - b.GO = q; - }, function (q, b, a) { + })(a(158).gD); + b.GO = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Foa = this.u.cb(); + this.Aoa = this.u.cb(); this.u.cb(); - this.u.Dc(); + this.u.Gc(); this.u.cb(); this.maxBitrate = this.u.ta(); - this.ffa = this.u.ta(); - this.NQ(); + this.Zea = this.u.ta(); + this.OQ(); return !0; }; k.tag = 4; return k; - })(a(158).eD); - b.BO = q; - }, function (q, b, a) { + })(a(158).gD); + b.BO = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = a(158); - f = a(284); + r = a(158); + f = a(285); a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); - l.prototype.NV = function () { - 15 !== this.u.dc(4) || this.u.dc(24); + l.prototype.MV = function () { + 15 !== this.u.ec(4) || this.u.ec(24); }; l.prototype.parse = function (d) { - if (this.Qla(d) && 64 === d.Foa) - switch ((this.um = this.LV(), this.NV(), this.u.dc(4), this.uia = 5 === this.um || 29 === this.um ? 5 : -1, 0 < this.uia && (this.NV(), this.um = this.LV(), 22 === this.um && this.u.dc(4)), this.um)) { + if (this.Lla(d) && 64 === d.Aoa) + switch ((this.um = this.KV(), this.MV(), this.u.ec(4), this.nia = 5 === this.um || 29 === this.um ? 5 : -1, 0 < this.nia && (this.MV(), this.um = this.KV(), 22 === this.um && this.u.ec(4)), this.um)) { case 1: case 2: case 3: @@ -38730,25 +38717,25 @@ a000.D9b = function () { case 21: case 22: case 23: - (this.cT = this.u.dc(1), (this.Aha = this.u.dc(1)) && this.u.dc(14), this.u.dc(1), this.hy = 3 === this.um ? 256 : 23 === this.um ? this.cT ? 480 : 512 : this.cT ? 960 : 1024); + (this.bT = this.u.ec(1), (this.uha = this.u.ec(1)) && this.u.ec(14), this.u.ec(1), this.my = 3 === this.um ? 256 : 23 === this.um ? this.bT ? 480 : 512 : this.bT ? 960 : 1024); } this.skip(); return !0; }; - l.prototype.LV = function () { + l.prototype.KV = function () { var d; - d = this.u.dc(5); - 31 === d && (d = 32 + this.u.dc(6)); + d = this.u.ec(5); + 31 === d && (d = 32 + this.u.ec(6)); return d; }; - l.prototype.Qla = function (d) { + l.prototype.Lla = function (d) { return d.tag === f.BO.tag; }; l.tag = 5; return l; - })(q.eD); - b.X9 = a; - }, function (q, b) { + })(r.gD); + b.S9 = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); @@ -38768,17 +38755,17 @@ a000.D9b = function () { }, 0); return f.buffer; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(512); - f = a(281); - k = a(513); - q = (function () { + c = a(516); + f = a(282); + k = a(517); + r = (function () { function l(d, g, h) { this.console = d; this.stream = g; @@ -38787,171 +38774,185 @@ a000.D9b = function () { l.prototype.parse = function (d) { var g; g = new k.CO(this.view.byteLength); - this.$b = new c.bD(f.Cp.Sa, g, this.view, this.console, { - pG: !0 + this.ac = new c.dD(f.Ep.Ta, g, this.view, this.console, { + vG: !0 }); - d = this.$b.parse(d); - this.Sa = this.$b.Sa; + d = this.ac.parse(d); + this.Ta = this.ac.Ta; return d; }; return l; })(); - b.lq = q; - }, function (q, b) { + b.nq = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Xaa = "PlaygraphVideoPlayerFactorySymbol"; - }, function (q, b, a) { + b.Paa = "PlaygraphManagerFactorySymbol"; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.Raa = "PlaygraphVideoPlayerFactorySymbol"; + }, function (r, b, a) { var f; function c(k, l) { var d; d = this; - this.Wl = k; - this.Lh = l; + this.Vl = k; + this.Kh = l; this.addEventListener = function (g, h, m) { - return d.Lh.addListener(g, d.JPa(g, h), m); + return d.Kh.addListener(g, d.IPa(g, h), m); }; this.removeEventListener = function (g, h) { - return d.Lh.removeListener(g, d.JPa(g, h)); + return d.Kh.removeListener(g, d.IPa(g, h)); }; this.getReady = function () { - return d.Lh.isReady(); + return d.Kh.isReady(); }; this.getXid = function () { - return d.Mb().CB(); + return d.sb().FB(); }; this.getMovieId = function () { - return d.Mb().sAb(); + return d.sb().vAb(); }; this.getPlaygraphId = function () { - return d.Lh.TAb(); + return d.Kh.WAb(); }; this.getElement = function () { - return d.Lh.qp(); + return d.Kh.rp(); }; this.isPlaying = function () { - return d.Mb().UB(); + return d.sb().WB(); }; this.isPaused = function () { - return d.Mb().WEb(); + return d.sb().$Eb(); }; this.isMuted = function () { - return d.Mb().REb(); + return d.sb().WEb(); }; this.isReady = function () { - return d.Mb().isReady(); + return d.sb().isReady(); }; this.isBackground = function () { - return d.Mb().uEb(); + return d.sb().xEb(); }; this.setBackground = function (g) { - return d.Mb().T2a(g); + return d.sb().T2a(g); }; this.startInactivityMonitor = function () { - return d.Mb().BW(); + return d.sb().AW(); }; this.setTransitionTime = function (g) { - return d.Mb().n3a(g); + return d.sb().n3a(g); }; this.getDiagnostics = function () { - return d.Mb().fzb(); + return d.sb().jzb(); }; this.getTextTrackList = function (g) { - return d.Mb().CUa(g); + return d.sb().xka(g); + }; + this.getMaxRecommendedTextIndex = function (g) { + return d.sb().HTa(g); }; this.getTextTrack = function () { - return d.Mb().BUa(); + return d.sb().BUa(); }; this.setTextTrack = function (g) { - return d.Mb().m3a(g); + return d.sb().m3a(g); }; this.getVolume = function () { - return d.Mb().aCb(); + return d.sb().cCb(); }; this.isEnded = function () { - return d.Mb().DEb(); + return d.sb().HEb(); }; this.getBusy = function () { - return d.Mb().hi(); + return d.sb().hi(); }; this.getError = function () { - return d.Mb().getError(); + return d.sb().getError(); }; this.getCurrentTime = function () { - return d.Mb().j.mediaTime.value; + return d.sb().j.mediaTime.value; }; this.getBufferedTime = function () { - return d.Mb().Eyb(); + return d.sb().Jyb(); }; this.getSegmentTime = function () { - return d.Mb().MSa(); + return d.sb().MSa(); }; this.getDuration = function () { - return d.Mb().LSa(); + return d.sb().LSa(); }; this.getVideoSize = function () { - return d.Mb().XBb(); + return d.sb().ZBb(); }; this.getAudioTrackList = function () { - return d.Mb().myb(); + return d.sb().rSa(); + }; + this.getMaxRecommendedAudioIndex = function () { + return d.sb().nAb(); }; this.getAudioTrack = function () { - return d.Mb().lyb(); + return d.sb().ryb(); }; this.getTimedTextTrackList = function (g) { - return d.Mb().CUa(g); + return d.sb().xka(g); + }; + this.getMaxRecommendedTimedTextIndex = function (g) { + return d.sb().HTa(g); }; this.getTimedTextTrack = function () { - return d.Mb().BUa(); + return d.sb().BUa(); }; this.getAdditionalLogInfo = function () { - return d.Mb().eyb(); + return d.sb().kyb(); }; this.getTrickPlayFrame = function (g) { - return d.Mb().NBb(g); + return d.sb().PBb(g); }; this.getSessionSummary = function () { - return d.Mb().oUa(); + return d.sb().oUa(); }; this.getTimedTextSettings = function () { - return d.Mb().r3(); + return d.sb().s3(); }; this.setMuted = function (g) { - return d.Mb().bSb(g); + return d.sb().eSb(g); }; this.setVolume = function (g) { - return d.Mb().xSb(g); + return d.sb().BSb(g); }; this.getPlaybackRate = function () { - return d.Mb().up(); + return d.sb().vp(); }; this.setPlaybackRate = function (g) { - return d.Mb().hSb(g); + return d.sb().kSb(g); }; this.setAudioTrack = function (g) { - return d.Mb().IRb(g); + return d.sb().LRb(g); }; this.setTimedTextTrack = function (g) { - return d.Mb().m3a(g); + return d.sb().m3a(g); }; this.setTimedTextSettings = function (g) { - return d.Mb().uW(g); + return d.sb().tW(g); }; this.prepare = function () { - return d.Mb().EM(); + return d.sb().FM(); }; this.load = function () { - return d.Mb().load(); + return d.sb().load(); }; this.close = function (g) { - return d.fMa(d.Lh.close(), g); + return d.eMa(d.Kh.close(), g); }; this.play = function () { - return d.Mb().play(); + return d.sb().play(); }; this.pause = function () { - return d.Mb().pause(); + return d.sb().pause(); }; this.seek = function () { throw Error("Seek by graph position has not been implemented"); @@ -38960,36 +38961,36 @@ a000.D9b = function () { throw Error("Transition segment has not been implemented"); }; this.engage = function (g, h) { - return d.fMa(d.Mb().MS(g), h); + return d.eMa(d.sb().LS(g), h); }; this.induceError = function (g) { - return d.Mb().NDb(g); + return d.sb().RDb(g); }; this.loadCustomTimedTextTrack = function (g, h, m, n) { - return d.Mb().KGb(g, h, m, n); + return d.sb().MGb(g, h, m, n); }; this.tryRecoverFromStall = function () { - return d.Mb().dX(); + return d.sb().cX(); }; this.getCropAspectRatio = function () { - return d.Mb().Aja(); + return d.sb().tja(); }; this.getCropAspectRatioXandY = function () { - return d.Mb().Wyb(); + return d.sb().$yb(); }; this.generateScreenshots = function (g) { - return d.Mb().Zxb(g); + return d.sb().eyb(g); }; this.getCurrentSegmentId = function () { - return d.Lh.PSa(); + return d.Kh.PSa(); }; this.getPlaygraphMap = function () { - return d.Lh.UAb(); + return d.Kh.EF(); }; this.updatePlaygraphMap = function (g) { - return d.Lh.gX(g); + return d.Kh.fX(g); }; - this.qia = new Map(); + this.jia = new Map(); this.log = f.ii("VideoPlayer"); Object.defineProperty(this, "diagnostics", { get: this.getDiagnostics @@ -38998,20 +38999,20 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.JZ = void 0; + b.LZ = void 0; f = a(7); a(94); - c.prototype.Mb = function () { - return this.Lh.cl(); + c.prototype.sb = function () { + return this.Kh.sb(); }; - c.prototype.JPa = function (k, l) { + c.prototype.IPa = function (k, l) { var d; - this.qia.has(k) || this.qia.set(k, new Map()); - d = this.qia.get(k); - d.has(l) || d.set(l, this.gtb(k, l)); + this.jia.has(k) || this.jia.set(k, new Map()); + d = this.jia.get(k); + d.has(l) || d.set(l, this.itb(k, l)); return d.get(l); }; - c.prototype.gtb = function (k, l) { + c.prototype.itb = function (k, l) { var d; d = this; return function (g) { @@ -39021,24 +39022,24 @@ a000.D9b = function () { })); }; }; - c.prototype.fMa = function (k, l) { + c.prototype.eMa = function (k, l) { return l ? k.then(l, l) : k; }; - c.prototype.ZXa = function (k) { + c.prototype.XXa = function (k) { k = void 0 === k ? {} : k; return { Ek: k.trackingId, - K0: k.authParams, - jo: k.sessionParams, - Zd: k.uiLabel, - G8: k.uxLabels, - Iha: k.disableTrackStickiness, - x8: k.uiPlayStartTime, - D2: k.forceAudioTrackId, - E2: k.forceTimedTextTrackId, - Ol: k.isBranching, - P6a: k.vuiCommand, + M0: k.authParams, + ko: k.sessionParams, + je: k.uiLabel, + B8: k.uxLabels, + Cha: k.disableTrackStickiness, + t8: k.uiPlayStartTime, + E2: k.forceAudioTrackId, + F2: k.forceTimedTextTrackId, + Nl: k.isBranching, + S6a: k.vuiCommand, playbackState: k.playbackState ? { currentTime: k.playbackState.currentTime, volume: k.playbackState.volume, @@ -39046,80 +39047,80 @@ a000.D9b = function () { playbackRate: k.playbackState.playbackRate } : void 0, - BK: k.enableTrickPlay, - bla: k.heartbeatCooldown, + FK: k.enableTrickPlay, + Xka: k.heartbeatCooldown, x4: k.isPlaygraph, Q4: k.loadImmediately || !1, - X_a: k.pin, - AV: k.preciseSeeking, - Z: k.startPts, - Aa: k.endPts, - uk: k.logicalEnd, - W6: k.renderTimedText, - rRa: k.extraManifestParams, - Tea: k.assetId, + V_a: k.pin, + zV: k.preciseSeeking, + X: k.startPts, + Ca: k.endPts, + Li: k.logicalEnd, + T6: k.renderTimedText, + qRa: k.extraManifestParams, + Mea: k.assetId, Tlb: k.audioLanguages, - TUb: k.textLanguages, - E6a: k.videoLanguage, - Ep: k.packageId, - XPa: k.desiredDownloadables, - Xqa: k.requestReference - }; - }; - b.JZ = c; - }, function (q, b, a) { - b = a(423); - q.exports = "undefined" !== typeof b && "undefined" !== typeof nrdp ? nrdp.aa : Date.now; - }, function (q) { - q.exports = { - ow: { - wba: 0, - NFa: 1, + VUb: k.textLanguages, + H6a: k.videoLanguage, + Gp: k.packageId, + VPa: k.desiredDownloadables, + Sqa: k.requestReference + }; + }; + b.LZ = c; + }, function (r, b, a) { + b = a(427); + r.exports = "undefined" !== typeof b && "undefined" !== typeof nrdp ? nrdp.ba : Date.now; + }, function (r) { + r.exports = { + uw: { + qba: 0, + KFa: 1, Jk: 2, name: ["transient", "semiTransient", "permanent"] }, - iw: { - xya: 0, - MFa: 1, + ow: { + vya: 0, + JFa: 1, uZ: 2, - wP: 3, - Fw: 100, + xP: 3, + Lw: 100, name: ["firstLoad", "scrollHorizontal", "search", "playFocus"] }, O2b: { D2b: 0, - p0b: 1, - uZb: 2, - Fw: 100, + q0b: 1, + vZb: 2, + Lw: 100, name: ["trailer", "montage", "content"] }, - fu: { - mAa: 0, - sFa: 1, - qeb: 2, - X9a: 3, - Fw: 100, + ku: { + kAa: 0, + pFa: 1, + teb: 2, + Z9a: 3, + Lw: 100, name: ["left", "right", "up", "down"] }, - hP: { - U8a: 0, + iP: { + W8a: 0, uZ: 1, - N_b: 2, - k_b: 3, - MYb: 4, - M_b: 5, - N7a: 6, - Fw: 100, + O_b: 2, + l_b: 3, + NYb: 4, + N_b: 5, + P7a: 6, + Lw: 100, name: ("continueWatching search grid episode billboard genre bigRow").split(" ") }, - aI: { - wP: 0, - Pwa: 1, - Fw: 100, + iI: { + xP: 0, + Mwa: 1, + Lw: 100, name: ["playFocused", "detailsOpened"] } }; - }, function (q) { + }, function (r) { var b; b = (function () { return this; @@ -39129,40 +39130,40 @@ a000.D9b = function () { } catch (a) { "object" === typeof pb && (b = pb); } - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(41); - q = (function () { + r = (function () { function f() {} f.prototype.KSa = function (k) { var l; - l = Reflect.getMetadata(c.raa, k); - k = Reflect.getMetadata(c.PGa, k); + l = Reflect.getMetadata(c.jaa, k); + k = Reflect.getMetadata(c.LGa, k); return { - vOa: l, - sXb: k || ({}) + tOa: l, + uXb: k || ({}) }; }; - f.prototype.YAb = function (k) { - return Reflect.getMetadata(c.QGa, k) || []; + f.prototype.$Ab = function (k) { + return Reflect.getMetadata(c.MGa, k) || []; }; return f; })(); - b.faa = q; - }, function (q, b, a) { + b.Y$ = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(55); - b.zWa = function (f) { - return f instanceof RangeError || f.message === c.Pdb; + b.xWa = function (f) { + return f instanceof RangeError || f.message === c.Sdb; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -39172,28 +39173,28 @@ a000.D9b = function () { }); c = a(55); f = a(41); - k = a(64); + k = a(65); l = a(88); - q = (function () { + r = (function () { function d(g) { - this.nfb = g; + this.ofb = g; } - d.prototype.qWb = function () { - return this.nfb(); + d.prototype.sWb = function () { + return this.ofb(); }; return d; })(); - b.M$ = q; + b.E$ = r; b.l = function (d) { return function (g, h, m) { var n; if (void 0 === d) - throw Error(c.neb(g.name)); - n = new k.Metadata(f.fP, d); - "number" === typeof m ? l.fH(g, h, m, n) : l.OW(g, h, n); + throw Error(c.qeb(g.name)); + n = new k.Metadata(f.gP, d); + "number" === typeof m ? l.nH(g, h, m, n) : l.NW(g, h, n); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -39203,17 +39204,17 @@ a000.D9b = function () { }); c = a(41); f = a(103); - k = a(64); - l = a(539); - q = (function () { + k = a(65); + l = a(542); + r = (function () { function d(g, h, m, n) { this.id = f.id(); this.type = g; - this.ng = m; - this.name = new l.sdb(h || ""); + this.mg = m; + this.name = new l.vdb(h || ""); this.xd = []; g = null; - "string" === typeof n ? g = new k.Metadata(c.hA, n) : n instanceof k.Metadata && (g = n); + "string" === typeof n ? g = new k.Metadata(c.iA, n) : n instanceof k.Metadata && (g = n); null !== g && this.xd.push(g); } d.prototype.$Ua = function (g) { @@ -39224,39 +39225,39 @@ a000.D9b = function () { return !1; }; d.prototype.isArray = function () { - return this.$Ua(c.rD); + return this.$Ua(c.tD); }; - d.prototype.KHb = function (g) { - return this.xna(c.rD)(g); + d.prototype.NHb = function (g) { + return this.rna(c.tD)(g); }; - d.prototype.ama = function () { - return this.$Ua(c.hA); + d.prototype.Vla = function () { + return this.$Ua(c.iA); }; - d.prototype.jma = function () { + d.prototype.dma = function () { return this.xd.some(function (g) { - return g.key !== c.fP && g.key !== c.rD && g.key !== c.TY && g.key !== c.RP && g.key !== c.hA; + return g.key !== c.gP && g.key !== c.tD && g.key !== c.SY && g.key !== c.RP && g.key !== c.iA; }); }; - d.prototype.sWa = function () { - return this.xna(c.GCa)(!0); + d.prototype.qWa = function () { + return this.rna(c.ECa)(!0); }; - d.prototype.vAb = function () { - return this.ama() ? this.xd.filter(function (g) { - return g.key === c.hA; + d.prototype.yAb = function () { + return this.Vla() ? this.xd.filter(function (g) { + return g.key === c.iA; })[0] : null; }; - d.prototype.$yb = function () { - return this.jma() ? this.xd.filter(function (g) { - return g.key !== c.fP && g.key !== c.rD && g.key !== c.TY && g.key !== c.RP && g.key !== c.hA; + d.prototype.dzb = function () { + return this.dma() ? this.xd.filter(function (g) { + return g.key !== c.gP && g.key !== c.tD && g.key !== c.SY && g.key !== c.RP && g.key !== c.iA; }) : null; }; - d.prototype.xna = function (g) { + d.prototype.rna = function (g) { var h; h = this; return function (m) { var p; - for (var n = 0, r = h.xd; n < r.length; n++) { - p = r[n]; + for (var n = 0, q = h.xd; n < q.length; n++) { + p = q[n]; if (p.key === g && p.value === m) return !0; } @@ -39265,8 +39266,8 @@ a000.D9b = function () { }; return d; })(); - b.EZ = q; - }, function (q, b, a) { + b.FZ = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -39274,88 +39275,88 @@ a000.D9b = function () { }); c = a(192); f = a(193); - q = (function () { + r = (function () { function k(l) { - this.mc = l; - this.ZP = new f.C9(this.mc); - this.Wba = new c.QX(this.mc); + this.oc = l; + this.ZP = new f.x9(this.oc); + this.Qba = new c.PX(this.oc); } k.prototype.when = function (l) { return this.ZP.when(l); }; - k.prototype.xX = function () { - return this.ZP.xX(); + k.prototype.wX = function () { + return this.ZP.wX(); }; - k.prototype.Bv = function (l) { - return this.Wba.Bv(l); + k.prototype.Hv = function (l) { + return this.Qba.Hv(l); }; return k; })(); - b.$C = q; - }, function (q, b, a) { + b.bD = r; + }, function (r, b, a) { var k; function c(l) { return function (d) { function g(h) { - return null !== h && null !== h.target && h.target.xna(l)(d); + return null !== h && null !== h.target && h.target.rna(l)(d); } - g.IYa = new k.Metadata(l, d); + g.FYa = new k.Metadata(l, d); return g; }; } function f(l, d) { - l = l.Yy; + l = l.az; return null !== l ? d(l) ? !0 : f(l, d) : !1; } Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(41); - k = a(64); - b.x5a = f; - b.G4a = c; - a = c(q.hA); - b.kZa = a; - b.D5a = function (l) { + r = a(41); + k = a(65); + b.z5a = f; + b.I4a = c; + a = c(r.iA); + b.hZa = a; + b.F5a = function (l) { return function (d) { var g; if (null !== d) { - g = d.ER[0]; - return "string" === typeof l ? g.ng === l : l === d.ER[0].Nl; + g = d.FR[0]; + return "string" === typeof l ? g.mg === l : l === d.FR[0].Ml; } return !1; }; }; - }, function (q, b, a) { + }, function (r, b, a) { var k; function c(l, d) { - this.Wf = d; - this.Jy = Math.floor(l); - this.display = this.Jy + " " + this.Wf.name; + this.Xf = d; + this.My = Math.floor(l); + this.display = this.My + " " + this.Xf.name; } function f(l, d, g) { - this.Wf = l; + this.Xf = l; this.name = d; this.Sk = g ? g : this; - k.Vn(this, "base"); + k.Xn(this, "base"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mr = b.SP = void 0; + b.Pr = b.SP = void 0; k = a(56); - f.prototype.NS = function (l) { - return this.Wf == l.Wf; + f.prototype.MS = function (l) { + return this.Xf == l.Xf; }; f.prototype.toJSON = function () { return this.name; }; b.SP = f; c.prototype.ea = function (l) { - return this.Wf.NS(l) ? this.Jy : Math.floor(this.Jy * this.Wf.Wf / l.Wf); + return this.Xf.MS(l) ? this.My : Math.floor(this.My * this.Xf.Xf / l.Xf); }; c.prototype.t0a = function (l) { - return this.Wf.NS(l) ? this.Jy : this.Jy * this.Wf.Wf / l.Wf; + return this.Xf.MS(l) ? this.My : this.My * this.Xf.Xf / l.Xf; }; c.prototype.as = function (l) { return new c(this.ea(l), l); @@ -39368,165 +39369,165 @@ a000.D9b = function () { }; c.prototype.toJSON = function () { return { - magnitude: this.Jy, - units: this.Wf.name + magnitude: this.My, + units: this.Xf.name }; }; c.prototype.add = function (l) { - return this.rOa(l); + return this.pOa(l); }; - c.prototype.Ba = function (l) { - return this.rOa(l, function (d) { + c.prototype.Da = function (l) { + return this.pOa(l, function (d) { return -d; }); }; c.prototype.scale = function (l) { - return new c(this.ea(this.Wf.Sk) * l, this.Wf.Sk); + return new c(this.ea(this.Xf.Sk) * l, this.Xf.Sk); }; c.prototype.Wk = function (l) { - return this.ea(this.Wf.Sk) - l.ea(this.Wf.Sk); + return this.ea(this.Xf.Sk) - l.ea(this.Xf.Sk); }; - c.prototype.NS = function (l) { + c.prototype.MS = function (l) { return 0 == this.Wk(l); }; - c.prototype.KWa = function () { - return 0 == this.Jy; + c.prototype.IWa = function () { + return 0 == this.My; }; - c.prototype.bma = function () { - return 0 > this.Jy; + c.prototype.Wla = function () { + return 0 > this.My; }; - c.prototype.$Eb = function () { - return 0 < this.Jy; + c.prototype.dFb = function () { + return 0 < this.My; }; - c.prototype.rOa = function (l, d) { + c.prototype.pOa = function (l, d) { d = void 0 === d ? function (g) { return g; } : d; - return new c(this.ea(this.Wf.Sk) + d(l.ea(this.Wf.Sk)), this.Wf.Sk); + return new c(this.ea(this.Xf.Sk) + d(l.ea(this.Xf.Sk)), this.Xf.Sk); }; - b.Mr = c; - }, function (q, b) { + b.Pr = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.aEa = "PlatformConfigOverridesSymbol"; - }, function (q, b) { + b.ZDa = "PlatformConfigOverridesSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zxa = "DrmDataFactorySymbol"; - }, function (q, b, a) { + b.wxa = "DrmDataFactorySymbol"; + }, function (r, b, a) { var f, k; function c(l, d, g, h, m) { this.version = l; - this.xM = d; - this.j4a = g; - this.en = h; - this.aw = m; - this.Qu = []; + this.zM = d; + this.l4a = g; + this.dn = h; + this.fw = m; + this.Vu = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.D$ = void 0; + b.v$ = void 0; f = a(3); k = a(42); c.prototype.load = function (l) { - return this.IGb(l); + return this.KGb(l); }; c.prototype.add = function (l) { - this.Qu.push(l); - return this.ppa(); + this.Vu.push(l); + return this.kpa(); }; c.prototype.remove = function (l, d) { - l = this.BSa(this.UK(l, d)); - return 0 <= l ? (this.Qu.splice(l, 1), this.ppa()) : Promise.resolve(); + l = this.BSa(this.YK(l, d)); + return 0 <= l ? (this.Vu.splice(l, 1), this.kpa()) : Promise.resolve(); }; c.prototype.update = function (l, d) { - d = this.BSa(this.UK(l, d)); - return 0 <= d ? (this.Qu[d] = l, this.ppa()) : Promise.resolve(); + d = this.BSa(this.YK(l, d)); + return 0 <= d ? (this.Vu[d] = l, this.kpa()) : Promise.resolve(); }; - c.prototype.IGb = function (l) { + c.prototype.KGb = function (l) { var d; d = this; - this.sXa || (this.sXa = new Promise(function (g, h) { + this.qXa || (this.qXa = new Promise(function (g, h) { function m(n) { - d.vtb().then(function () { + d.ytb().then(function () { h(n); }).catch(function () { h(n); }); } - d.uka().then(function (n) { + d.qka().then(function (n) { d.storage = n; - return d.storage.load(d.xM); + return d.storage.load(d.zM); }).then(function (n) { - var r; + var q; n = n.value; try { - r = l(n); - d.version = r.version; - d.Qu = r.data; + q = l(n); + d.version = q.version; + d.Vu = q.data; g(); } catch (p) { m(p); } }).catch(function (n) { - n.oa !== f.M.mA ? h(n) : g(); + n.oa !== f.L.oA ? h(n) : g(); }); })); - return this.sXa; + return this.qXa; }; - c.prototype.ppa = function () { + c.prototype.kpa = function () { var l, d, g, h, m; l = this; - if (!this.j4a) + if (!this.l4a) return Promise.resolve(); - if (this.Q7) { - h = new Promise(function (n, r) { + if (this.M7) { + h = new Promise(function (n, q) { d = n; - g = r; + g = q; }); m = function () { - l.Q7 = h; - l.i4a().then(function () { + l.M7 = h; + l.j4a().then(function () { d(); }).catch(function (n) { g(n); }); }; - this.Q7.then(m).catch(m); + this.M7.then(m).catch(m); return h; } - return this.Q7 = this.i4a(); + return this.M7 = this.j4a(); }; - c.prototype.i4a = function () { + c.prototype.j4a = function () { var l, d; l = this; - d = this.aw(); + d = this.fw(); return new Promise(function (g, h) { - l.uka().then(function (m) { - return m.save(l.xM, d, !1); + l.qka().then(function (m) { + return m.save(l.zM, d, !1); }).then(function () { g(); }).catch(function (m) { - h(c.qVb(f.L.Gcb, m)); + h(c.sVb(f.M.Kcb, m)); }); }); }; - c.prototype.vtb = function () { + c.prototype.ytb = function () { var l; l = this; - return this.j4a ? new Promise(function (d, g) { - l.uka().then(function (h) { - return h.remove(l.xM); + return this.l4a ? new Promise(function (d, g) { + l.qka().then(function (h) { + return h.remove(l.zM); }).then(function () { d(); }).catch(function (h) { @@ -39534,74 +39535,74 @@ a000.D9b = function () { }); }) : Promise.resolve(); }; - c.prototype.uka = function () { - return this.storage ? Promise.resolve(this.storage) : this.en.create(); + c.prototype.qka = function () { + return this.storage ? Promise.resolve(this.storage) : this.dn.create(); }; - c.prototype.UK = function (l, d) { - for (var g = 0; g < this.Qu.length; ++g) { - if (d(this.Qu[g], l)) - return this.Qu[g]; + c.prototype.YK = function (l, d) { + for (var g = 0; g < this.Vu.length; ++g) { + if (d(this.Vu[g], l)) + return this.Vu[g]; } }; c.prototype.BSa = function (l) { - return l ? this.Qu.indexOf(l) : -1; + return l ? this.Vu.indexOf(l) : -1; }; - c.qVb = function (l, d) { + c.sVb = function (l, d) { var g; if (d.oa && d.cause) - return new k.$c(l, d.oa, void 0, void 0, void 0, void 0, void 0, d.cause); - if (void 0 !== d.jc) { + return new k.dd(l, d.oa, void 0, void 0, void 0, void 0, void 0, d.cause); + if (void 0 !== d.kc) { g = d.message ? d.message + " " : ""; d.code = l; d.message = "" === g ? void 0 : g; return d; } - return d instanceof Error ? new k.$c(l, f.M.fj, void 0, void 0, void 0, void 0, d.stack, d) : new k.$c(l, f.M.jm, void 0, void 0, void 0, void 0, void 0, d); + return d instanceof Error ? new k.dd(l, f.L.dj, void 0, void 0, void 0, void 0, d.stack, d) : new k.dd(l, f.L.im, void 0, void 0, void 0, void 0, void 0, d); }; - b.D$ = c; - }, function (q, b) { + b.v$ = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.bba = "QueryStringDataProviderSymbol"; - }, function (q, b) { + b.Waa = "QueryStringDataProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uCa = "NetworkMonitorConfigSymbol"; - }, function (q, b) { + b.sCa = "NetworkMonitorConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Bxa = "DrmProviderSymbol"; - }, function (q, b) { + b.yxa = "DrmProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.cya = "EmeSessionFactorySymbol"; - }, function (q, b) { + b.$xa = "EmeSessionFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.$xa = b.PD = void 0; - q = b.PD || (b.PD = {}); - q[q.Request = 0] = "Request"; - q[q.xFa = 1] = "Renewal"; - b.$xa = "EmeApiSymbol"; - }, function (q, b) { + b.Xxa = b.SD = void 0; + r = b.SD || (b.SD = {}); + r[r.Request = 0] = "Request"; + r[r.uFa = 1] = "Renewal"; + b.Xxa = "EmeApiSymbol"; + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.yZ = void 0; - a.LDb = function (c) { + b.zZ = void 0; + a.PDb = function (c) { return "ID" + (c + 1); }; - a.p4a = function (c) { + a.r4a = function (c) { return Number(c.substr(2)) - 1; }; - b.yZ = a; - }, function (q, b, a) { + b.zZ = a; + }, function (r, b, a) { var f, k, l, @@ -39610,487 +39611,497 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, - C; - function c(E, F, D, G, I, J, H, M) { - var O; - O = this; - this.Pa = F; - this.xx = D; - this.config = G; - this.hh = I; - this.rl = J; - this.Jn = H; - this.co = M; - this.keyStatuses = new z.Ec({}); - this.Uoa = function (L) { - var P, + B, + C, + E; + function c(G, D, F, J, K, H, L, Q) { + var I; + I = this; + this.La = D; + this.Cx = F; + this.config = J; + this.dh = K; + this.ql = H; + this.Kn = L; + this.eo = Q; + this.keyStatuses = new z.zc({}); + this.Poa = function (O) { + var N, + M, + P, R, - K, - Q, - N, - da; + ea, + pa; try { - R = O.rl.Iga(L); - K = R.ZF; - Q = R.messageType; - N = R.sessionId; - O.nv = O.nv || R.nv; - O.nW(N); - O.log.trace("Received " + L.type + " event", { - sessionId: N, - messageType: Q, - keyIds: O.nv + M = I.ql.Cga(O); + P = M.eG; + R = M.messageType; + ea = M.sessionId; + I.tv = I.tv || M.tv; + I.mW(ea); + I.log.trace("Received " + O.type + " event", { + sessionId: ea, + messageType: R, + keyIds: I.tv }); - Q === b.X$ && (O.log.trace("Received a renewal request"), O.Qf = n.Th.Co, O.xk = A.DG); - O.xk === A.ig && O.Vo(r.Jr.m1a); - O.xk === A.DG && O.Vo(r.Jr.n1a); - da = { - zj: K, - MNa: Q, - Qf: O.Qf + R === b.P$ && (I.log.trace("Received a renewal request"), I.Rf = n.Th.Do, I.wk = C.KG); + I.wk === C.hg && I.Wo(q.Mr.m1a); + I.wk === C.KG && I.Wo(q.Mr.n1a); + pa = { + xj: P, + LNa: R, + Rf: I.Rf }; - null === (P = O.LKb) || void 0 === P ? void 0 : P.call(O, da); - O.nU && (O.Vka(K) ? O.YB(new y.$c(l.L.Rxa)) : (O.nU.resolve(da), O.nU = void 0)); - } catch (na) { - O.YB(na); + null === (N = I.NKb) || void 0 === N ? void 0 : N.call(I, pa); + I.mU && (I.Rka(P) ? I.$B(new y.dd(l.M.Nxa)) : (I.mU.resolve(pa), I.mU = void 0)); + } catch (va) { + I.$B(va); } }; - this.Soa = function (L) { - var P, + this.Noa = function (O) { + var N, + M, + P, R, - K, - Q, - na, - va, - ra, - X, + ea, ta, - za, + Y, + ra, + Ea, V, - Ia, - wa, - Sa, + U, + ma, + Ta, Ua, - $a, - Za; - R = L.target; - K = R.keyStatuses; - O.nW(R.sessionId); - O.log.trace("Received event: " + L.type); + ab, + Za, + nb, + cb; + P = O.target; + R = P.keyStatuses; + I.mW(P.sessionId); + I.log.trace("Received event: " + O.type); try { - Q = null === (P = O.context.zt) || void 0 === P ? void 0 : P.reduce(function (mb, db) { - mb[db.Li] = db.e7.height; - return mb; + ea = null === (M = null === (N = I.context) || void 0 === N ? void 0 : N.Dt) || void 0 === M ? void 0 : M.reduce(function (Sa, Ba) { + Sa[Ba.Ji] = Ba.bW.height; + return Sa; }, {}); - L = []; - for (var N = aa(K), da = N.next(); !da.done; da = N.next()) { - na = aa(da.value); - va = na.next().value; - ra = na.next().value; - X = O.xx.encode(new Uint8Array(va)); - L.push({ - Li: X, + O = []; + for (var pa = aa(R), va = pa.next(); !va.done; va = pa.next()) { + ta = aa(va.value); + Y = ta.next().value; + ra = ta.next().value; + Ea = I.Cx.encode(new Uint8Array(Y)); + O.push({ + Ji: Ea, status: ra, - height: null === Q || void 0 === Q ? void 0 : Q[X] + height: null === ea || void 0 === ea ? void 0 : ea[Ea] }); } - L.sort(function (mb, db) { - return (mb.height || 0) - (db.height || 0); + O.sort(function (Sa, Ba) { + return (Sa.height || 0) - (Ba.height || 0); }); - ta = L.map(function (mb) { - return mb.Li; + V = O.map(function (Sa) { + return Sa.Ji; }); - za = L.map(function (mb) { - return mb.height; + U = O.map(function (Sa) { + return Sa.height; }); - V = L.map(function (mb) { - return mb.status; + ma = O.map(function (Sa) { + return Sa.status; }); - O.log.trace("KeyStatus: " + ta + ", " + za + ", " + V); - Q = {}; - for (var T = aa(K), ja = T.next(); !ja.done; ja = T.next()) { - Ia = aa(ja.value); - wa = Ia.next().value; - Sa = Ia.next().value; - Ua = O.xx.encode(new Uint8Array(wa)); - $a = C[Sa]; - Q[Ua] = $a.status; - if (O.r4(Ua, $a.error)) { - Za = new v.pg($a.error); - O.dU(Za); - } - } - O.keyStatuses.set(Q); - } catch (mb) { - Za = new v.pg(l.L.Rcb); - Za.pS(mb); - } - Za ? O.B4(Za) : (O.rl.m1() || O.MWa(), O.Qf !== n.Th.kn || O.rl.cfa() || O.QPb()); - }; - this.Rm = function (L) { - var P; - P = O.rl.Mx(L); - O.log.error("Received event: " + L.type, P); - O.YB(P); - O.B4(P); - O.op || O.Xs || O.dU(P); - }; - this.EKb = function () { - O.log.error("MediaKeySession closed unexpectedly."); - O.dU(new y.$c(l.L.t$a)); - }; - this.YB = function (L) { - var P; - O.op && O.close().then(function () { - var R; - O.log.trace("Issuing a generate challenge error"); - null === (R = O.op) || void 0 === R ? void 0 : R.reject(L); - O.op = void 0; - }, function (R) { - var K; - O.log.error("EmeSession closed with an error.", O.rl.Mx(R)); - null === (K = O.op) || void 0 === K ? void 0 : K.reject(L); - O.op = void 0; + I.log.trace("KeyStatus: " + V + ", " + U + ", " + ma); + ea = {}; + for (var Ia = aa(R), wa = Ia.next(); !wa.done; wa = Ia.next()) { + Ta = aa(wa.value); + Ua = Ta.next().value; + ab = Ta.next().value; + Za = I.Cx.encode(new Uint8Array(Ua)); + nb = E[ab]; + ea[Za] = nb.status; + if (I.s4(Za, nb.error)) { + cb = new v.pg(nb.error); + I.cU(cb); + } + } + I.keyStatuses.set(ea); + } catch (Sa) { + cb = new v.pg(l.M.Ucb); + cb.oS(Sa); + } + cb ? I.B4(cb) : (I.ql.o1() || I.KWa(), I.Rf !== n.Th.jn || I.ql.Wea() || I.VPb()); + }; + this.Qm = function (O) { + var N; + N = I.ql.Rx(O); + I.log.error("Received event: " + O.type, N); + I.$B(N); + I.B4(N); + I.pp || I.et || I.cU(N); + }; + this.GKb = function () { + I.log.error("MediaKeySession closed unexpectedly."); + I.cU(new y.dd(l.M.w$a)); + }; + this.$B = function (O) { + var N; + I.pp && I.close().then(function () { + var M; + I.log.trace("Issuing a generate challenge error"); + null === (M = I.pp) || void 0 === M ? void 0 : M.reject(O); + I.pp = void 0; + }, function (M) { + var P; + I.log.error("EmeSession closed with an error.", I.ql.Rx(M)); + null === (P = I.pp) || void 0 === P ? void 0 : P.reject(O); + I.pp = void 0; }); - null === (P = O.nU) || void 0 === P ? void 0 : P.reject(L); + null === (N = I.mU) || void 0 === N ? void 0 : N.reject(O); }; - this.vFb = function () { - var L; - null === (L = O.op) || void 0 === L ? void 0 : L.resolve(); - O.op = void 0; + this.yFb = function () { + var O; + null === (O = I.pp) || void 0 === O ? void 0 : O.resolve(); + I.pp = void 0; }; - this.B4 = function (L) { - O.log.error("Failed to add license", L); - return O.close().then(function () { - var P; - O.log.trace("Issuing a license error"); - O.op = void 0; - null === (P = O.Xs) || void 0 === P ? void 0 : P.reject(L); - O.Xs = void 0; - }, function (P) { - var R; - O.log.error("EmeSession closed with an error.", O.rl.Mx(P)); - O.xk === A.DG && O.Vo(r.Jr.BLa); - O.op = void 0; - null === (R = O.Xs) || void 0 === R ? void 0 : R.reject(L); - O.Xs = void 0; + this.B4 = function (O) { + I.log.error("Failed to add license", O); + return I.close().then(function () { + var N; + I.log.trace("Issuing a license error"); + I.pp = void 0; + null === (N = I.et) || void 0 === N ? void 0 : N.reject(O); + I.et = void 0; + }, function (N) { + var M; + I.log.error("EmeSession closed with an error.", I.ql.Rx(N)); + I.wk === C.KG && I.Wo(q.Mr.zLa); + I.pp = void 0; + null === (M = I.et) || void 0 === M ? void 0 : M.reject(O); + I.et = void 0; }).then(function () { - throw L; + throw O; }); }; - this.MWa = function () { - O.Xs && (O.log.info("Successfully added license"), O.xk === A.ig ? O.Vo(r.Jr.tLa) : O.xk === A.DG && O.Vo(r.Jr.ALa), O.Xs.resolve(), O.Xs = void 0); + this.KWa = function () { + I.et && (I.log.info("Successfully added license"), I.wk === C.hg ? I.Wo(q.Mr.rLa) : I.wk === C.KG && I.Wo(q.Mr.yLa), I.et.resolve(), I.et = void 0); }; - this.dU = function (L) { - O.close().then(function () { - var P; - O.log.trace("Issuing a CDM error"); - O.op = void 0; - O.Xs = void 0; - null === (P = O.WZa) || void 0 === P ? void 0 : P.call(O, L); - }, function (P) { - var R; - O.log.error("EmeSession closed with an error.", O.rl.Mx(P)); - O.op = void 0; - O.Xs = void 0; - null === (R = O.WZa) || void 0 === R ? void 0 : R.call(O, L); + this.cU = function (O) { + I.close().then(function () { + var N; + I.log.trace("Issuing a CDM error"); + I.pp = void 0; + I.et = void 0; + null === (N = I.VZa) || void 0 === N ? void 0 : N.call(I, O); + }, function (N) { + var M; + I.log.error("EmeSession closed with an error.", I.ql.Rx(N)); + I.pp = void 0; + I.et = void 0; + null === (M = I.VZa) || void 0 === M ? void 0 : M.call(I, O); }); }; - this.Vo = function (L) { - O.bd.push({ - time: O.Pa.Zb(), - GU: L + this.Wo = function (O) { + I.bd.push({ + time: I.La.Xb(), + FU: O }); }; - this.H1a = !1; - this.log = E.Cb("EmeSession"); - this.xk = A.jWb; + this.G1a = !1; + this.log = G.Db("EmeSession"); + this.wk = C.lWb; this.bd = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dya = b.X$ = b.Y$ = void 0; - q = a(1); + b.aya = b.P$ = b.Q$ = void 0; + r = a(1); f = a(0); - k = a(5); + k = a(4); l = a(3); d = a(20); g = a(8); h = a(35); - m = a(68); - n = a(59); - r = a(312); + m = a(69); + n = a(60); + q = a(314); p = a(202); - u = a(133); - t = a(200); - w = a(309); + t = a(133); + u = a(200); + w = a(311); v = a(90); - x = a(60); + x = a(61); y = a(42); z = a(105); - B = a(590); - (function (E) { - E[E.jWb = 0] = "unknown"; - E[E.create = 1] = "create"; - E[E.load = 2] = "load"; - E[E.ig = 3] = "license"; - E[E.DG = 4] = "renewal"; - E[E.stop = 5] = "stop"; - E[E.closed = 6] = "closed"; - })(A || (A = {})); - b.Y$ = "license-request"; - b.X$ = "license-renewal"; - C = { + A = a(593); + B = a(59); + (function (G) { + G[G.lWb = 0] = "unknown"; + G[G.create = 1] = "create"; + G[G.load = 2] = "load"; + G[G.hg = 3] = "license"; + G[G.KG = 4] = "renewal"; + G[G.stop = 5] = "stop"; + G[G.closed = 6] = "closed"; + })(C || (C = {})); + b.Q$ = "license-request"; + b.P$ = "license-renewal"; + E = { usable: { - status: p.$t.j6a + status: p.eu.l6a }, expired: { - status: p.$t.nF, - error: l.L.VCa + status: p.eu.rF, + error: l.M.SCa }, released: { - status: p.$t.released + status: p.eu.released }, "output-not-allowed": { - status: p.$t.o_a, - error: l.L.WCa + status: p.eu.m_a, + error: l.M.TCa }, "output-restricted": { - status: p.$t.o_a, - error: l.L.vaa + status: p.eu.m_a, + error: l.M.oaa }, "output-downscaled": { - status: p.$t.CLb + status: p.eu.ELb }, "status-pending": { - status: p.$t.MTb + status: p.eu.OTb }, "internal-error": { - status: p.$t.eEb, - error: l.L.Qcb + status: p.eu.hEb, + error: l.M.Tcb } }; - c.prototype.Pq = function () { - var E; - return (null === (E = this.pIb) || void 0 === E ? void 0 : E.keySystem) || ""; + c.prototype.Ls = function () { + var G, + D; + if (this.Fna) { + D = null === (G = this.Fna) || void 0 === G ? void 0 : G.keySystem; + (G = B.Oja(this.Fna)) && (D += "." + G); + return D; + } + return "n/a"; }; - c.prototype.ky = function () { + c.prototype.py = function () { return this.sessionId; }; c.prototype.close = function () { - var E; - E = this; - this.xk = A.closed; + var G; + G = this; + this.wk = C.closed; this.bd = []; - return this.hh.fFb() ? (this.log.trace("Closing the session"), this.hh.C1a(this.Uoa), this.hh.A1a(this.Soa), this.hh.y1a(this.Rm), this.mediaKeys = void 0, this.co.Op(this.config.YLa, this.hh.close()).then(function () { - E.log.info("Closed the session"); - }).catch(function (F) { - E.log.error("Close failed", F); - E.rl.Mx(F).code = l.L.Tcb; - throw F; + return this.dh.jFb() ? (this.log.trace("Closing the session"), this.dh.C1a(this.Poa), this.dh.A1a(this.Noa), this.dh.y1a(this.Qm), this.mediaKeys = void 0, this.eo.Rp(this.config.XLa, this.dh.close()).then(function () { + G.log.info("Closed the session"); + }).catch(function (D) { + G.log.error("Close failed", D); + G.ql.Rx(D).code = l.M.Wcb; + throw D; })) : Promise.resolve(void 0); }; - c.prototype.Gs = function () { - return this.Jn; + c.prototype.Ks = function () { + return this.Kn; }; - c.prototype.E3 = function () { - return void 0 !== this.Ni; + c.prototype.F3 = function () { + return void 0 !== this.Ki; }; - c.prototype.createSession = function (E, F, D, G) { - var I; - I = this; - this.context = E; - this.pIb = F; - this.Qf = G; - this.xk = A.create; - this.Vo(r.Jr.mXa); - return (D.XUa() ? Promise.resolve() : this.co.Op(this.config.ZLa, this.hh.createMediaKeys(E, F)).then(function (J) { - I.log.trace("Created media keys"); - D.setMediaKeys(J); - return I.plb(J); + c.prototype.createSession = function (G, D, F, J) { + var K; + K = this; + this.context = J; + this.Fna = G; + this.Rf = F; + this.wk = C.create; + this.Wo(q.Mr.kXa); + return (D.XUa() ? Promise.resolve() : this.eo.Rp(this.config.YLa, this.dh.createMediaKeys(G)).then(function (H) { + K.log.trace("Created media keys"); + D.setMediaKeys(H); + return K.rlb(H); })).then(function () { - I.mediaKeys = D.mediaKeys; + K.mediaKeys = D.mediaKeys; try { - I.hh.createSession(I.mediaKeys, "temporary"); - I.hh.vLa(I.Uoa); - I.hh.rLa(I.Soa); - I.hh.pLa(I.Rm); - I.hh.ikb(I.EKb); - I.nW(I.hh.ky()); - } catch (J) { - return Promise.reject(new v.pg(l.L.m$a, l.M.fj, void 0, "Unable to create a persisted key session", J)); + K.dh.createSession(K.mediaKeys, "temporary"); + K.dh.tLa(K.Poa); + K.dh.pLa(K.Noa); + K.dh.nLa(K.Qm); + K.dh.ikb(K.GKb); + K.mW(K.dh.py()); + } catch (H) { + return Promise.reject(new v.pg(l.M.p$a, l.L.dj, void 0, "Unable to create a persisted key session", H)); } - }).catch(function (J) { - return J.code && J.jc ? Promise.reject(J) : Promise.reject(new v.pg(l.L.EO, J instanceof x.qq ? l.M.FO : l.M.fj, void 0, "Unable to create MediaKeys. " + J.message, J)); + }).catch(function (H) { + return H.code && H.kc ? Promise.reject(H) : Promise.reject(new v.pg(l.M.EO, H instanceof x.sq ? l.L.FO : l.L.dj, void 0, "Unable to create MediaKeys. " + H.message, H)); }); }; - c.prototype.gSb = function (E) { - this.li = E; - this.log.mLa("xid", E.ba); + c.prototype.jSb = function (G) { + this.li = G; + this.log.kLa("xid", G.ca); }; - c.prototype.Wxb = function (E) { - var F; - F = this; - return this.generateRequest(E).then(function () { - F.log.trace("Returning the challenge promise"); - return F.nU.promise; + c.prototype.byb = function (G) { + var D; + D = this; + return this.generateRequest(G).then(function () { + D.log.trace("Returning the challenge promise"); + return D.mU.promise; }); }; - c.prototype.Xxb = function (E) { - this.generateRequest(E); - return this.op.promise; + c.prototype.cyb = function (G) { + this.generateRequest(G); + return this.pp.promise; }; - c.prototype.sLa = function (E) { - this.ee = E.ee; - E = E.Ni.map(function (F) { - return F.data; + c.prototype.qLa = function (G) { + this.ce = G.ce; + G = G.Ki.map(function (D) { + return D.data; }); - this.Vka(E) ? (this.log.error("The license buffer is empty"), this.YB(new v.pg(l.L.Qxa, l.M.Oxa))) : (this.xk === A.ig && (this.Vo(r.Jr.l1a), this.Ni = E, this.wQa = this.rl.bL(this.nv, E), this.vFb()), this.xk === A.DG && (this.Vo(r.Jr.o1a), this.Ni = E, this.wQa = this.rl.bL(this.nv, E), this.Lea())); + this.Rka(G) ? (this.log.error("The license buffer is empty"), this.$B(new v.pg(l.M.Mxa, l.L.Kxa))) : (this.wk === C.hg && (this.Wo(q.Mr.l1a), this.Ki = G, this.uQa = this.ql.eL(this.tv, G), this.yFb()), this.wk === C.KG && (this.Wo(q.Mr.o1a), this.Ki = G, this.uQa = this.ql.eL(this.tv, G), this.Eea())); }; - c.prototype.ukb = function (E) { - this.xk === A.DG ? (this.Vo(r.Jr.p1a), this.dU(E)) : this.YB(E); + c.prototype.ukb = function (G) { + this.wk === C.KG ? (this.Wo(q.Mr.p1a), this.cU(G)) : this.$B(G); }; - c.prototype.Lea = function () { - var E, - F; - E = this; - if (!this.Ni) - return this.B4(new v.pg(l.L.Qxa, l.M.Txa)); - this.Xs = new B.lZ(); - F = this.Ni; - this.Ni = void 0; - this.co.Op(this.config.cMa, this.hh.update(F, this.xk === A.ig ? w.PD.Request : w.PD.xFa, this.nv)).then(function () { - E.rl.m1() && E.MWa(); - }).catch(function (D) { - D = E.rl.Mx(D); - D.code = l.L.fZ; - D.message = "Unable to update the EME"; - E.log.error(D.message, D); - E.B4(D); + c.prototype.Eea = function () { + var G, + D; + G = this; + if (!this.Ki) + return this.B4(new v.pg(l.M.Mxa, l.L.Pxa)); + this.et = new A.lZ(); + D = this.Ki; + this.Ki = void 0; + this.eo.Rp(this.config.bMa, this.dh.update(D, this.wk === C.hg ? w.SD.Request : w.SD.uFa, this.tv)).then(function () { + G.ql.o1() && G.KWa(); + }).catch(function (F) { + F = G.ql.Rx(F); + F.code = l.M.eZ; + F.message = "Unable to update the EME"; + G.log.error(F.message, F); + G.B4(F); }); - return this.Xs.promise; + return this.et.promise; }; - c.prototype.ZRb = function (E) { - this.LKb = E; + c.prototype.bSb = function (G) { + this.NKb = G; }; - c.prototype.TRb = function (E) { - this.WZa = E; + c.prototype.WRb = function (G) { + this.VZa = G; }; - c.prototype.bL = function () { - return this.wQa; + c.prototype.eL = function () { + return this.uQa; }; - c.prototype.generateRequest = function (E) { - var F; - F = this; - this.xk = A.ig; + c.prototype.generateRequest = function (G) { + var D; + D = this; + this.wk = C.hg; this.log.trace("Generating a license challenge"); - this.op = new B.lZ(); - this.nU = new B.lZ(); - return E ? this.Vka(E) ? (E = new v.pg(l.L.Pxa, l.M.Oxa), this.YB(E), Promise.reject(E)) : this.co.Op(this.config.$La, this.hh.generateRequest(this.rl.qT(), E)).then(function () { - F.nW(F.hh.ky()); - }).catch(function (D) { - var G, - I; - G = new v.pg(l.L.qY, D instanceof x.qq ? l.M.FO : l.M.fj); - I = F.rl.Mx(D); - G.wd = I.wd; - G.message = "Unable to generate request."; - G.pS(D); - F.log.error("Unable to generate a license request", G); - F.YB(G); - return Promise.reject(G); - }) : (E = new v.pg(l.L.Pxa, l.M.Txa), this.YB(E), Promise.reject(E)); - }; - c.prototype.plb = function (E) { - var F, - D; - F = this; - D = this.rl.xja(); - return D ? (D = this.xx.decode(D), this.co.Op(this.config.bMa, this.hh.setServerCertificate(E, D)).then(function (G) { - F.log.trace("Set the server certificate", { - result: G + this.pp = new A.lZ(); + this.mU = new A.lZ(); + return G ? this.Rka(G) ? (G = new v.pg(l.M.Lxa, l.L.Kxa), this.$B(G), Promise.reject(G)) : this.eo.Rp(this.config.ZLa, this.dh.generateRequest(this.ql.oT(), G)).then(function () { + D.mW(D.dh.py()); + }).catch(function (F) { + var J, + K; + J = new v.pg(l.M.pY, F instanceof x.sq ? l.L.FO : l.L.dj); + K = D.ql.Rx(F); + J.wd = K.wd; + J.message = "Unable to generate request."; + J.oS(F); + D.log.error("Unable to generate a license request", J); + D.$B(J); + return Promise.reject(J); + }) : (G = new v.pg(l.M.Lxa, l.L.Pxa), this.$B(G), Promise.reject(G)); + }; + c.prototype.rlb = function (G) { + var D, + F; + D = this; + F = this.ql.qja(); + return F ? (F = this.Cx.decode(F), this.eo.Rp(this.config.aMa, this.dh.setServerCertificate(G, F)).then(function (J) { + D.log.trace("Set the server certificate", { + result: J }); })) : Promise.resolve(); }; - c.prototype.nW = function (E) { - E && E !== this.sessionId && (this.sessionId && this.log.warn("sessionId changed from " + this.sessionId + " to " + E), this.sessionId = E, this.log.mLa("sessionId", E)); + c.prototype.mW = function (G) { + G && G !== this.sessionId && (this.sessionId && this.log.warn("sessionId changed from " + this.sessionId + " to " + G), this.sessionId = G, this.log.kLa("sessionId", G)); }; - c.prototype.QPb = function () { - var E; - E = this; - this.H1a || (this.H1a = !0, this.log.info("Kicking off license renewal", { - timeout: this.config.$B + c.prototype.VPb = function () { + var G; + G = this; + this.G1a || (this.G1a = !0, this.log.info("Kicking off license renewal", { + timeout: this.config.bC }), setTimeout(function () { - E.CG(); - }, this.config.$B.ea(k.ma))); + G.JG(); + }, this.config.bC.ea(k.ma))); }; - c.prototype.oFb = function (E) { - var F; - return !(null === (F = this.context.zt) || void 0 === F || !F.some(function (D) { - return D.Li === E && 1080 < D.e7.height; + c.prototype.rFb = function (G) { + var D, + F; + return !(null === (F = null === (D = this.context) || void 0 === D ? void 0 : D.Dt) || void 0 === F || !F.some(function (J) { + return J.Ji === G && 1080 < J.bW.height; })); }; - c.prototype.r4 = function (E, F) { - return F === l.L.vaa ? this.oFb(E) ? this.config.q_a : this.config.p_a : !!F; + c.prototype.s4 = function (G, D) { + return D === l.M.oaa ? this.rFb(G) ? this.config.o_a : this.config.n_a : !!D; }; - c.prototype.CG = function () { + c.prototype.JG = function () { this.log.trace("Initiating a renewal request"); - this.Qf = n.Th.Co; - this.xk = A.DG; - this.rl.Mfa() ? this.rl.Mla(this.hh) : this.z1(); + this.Rf = n.Th.Do; + this.wk = C.KG; + this.ql.Ffa() ? this.ql.Hla(this.dh) : this.B1(); }; - c.prototype.z1 = function () { - var E; - E = this; - this.hh.z1(this.mediaKeys, "temporary", this.Uoa, this.Soa, this.Rm).then(function () { - E.log.debug("Creating session to renew license"); - E.nW(E.hh.ky()); + c.prototype.B1 = function () { + var G; + G = this; + this.dh.B1(this.mediaKeys, "temporary", this.Poa, this.Noa, this.Qm).then(function () { + G.log.debug("Creating session to renew license"); + G.mW(G.dh.py()); }).catch(function () { - E.dU(new v.pg(l.L.qY)); + G.cU(new v.pg(l.M.pY)); }); }; - c.prototype.Vka = function (E) { - return 0 === E.length || E.reduce(function (F, D) { - return F || 0 === D.length; + c.prototype.Rka = function (G) { + return 0 === G.length || G.reduce(function (D, F) { + return D || 0 === F.length; }, !1); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.Kb)), q.__param(1, f.l(d.zd)), q.__param(2, f.l(h.Rh)), q.__param(3, f.l(m.bu)), q.__param(4, f.l(w.$xa)), q.__param(5, f.l(t.j$a)), q.__param(6, f.l(u.Gxa)), q.__param(7, f.l(x.Gw))], a); - b.dya = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.Ib)), r.__param(1, f.l(d.zd)), r.__param(2, f.l(h.Rh)), r.__param(3, f.l(m.gu)), r.__param(4, f.l(w.Xxa)), r.__param(5, f.l(u.m$a)), r.__param(6, f.l(t.Cxa)), r.__param(7, f.l(x.Mw))], a); + b.aya = a; + }, function (r, b) { var a; Object.defineProperty(b, "__esModule", { value: !0 }); - b.xQa = b.Jr = void 0; + b.vQa = b.Mr = void 0; (function (c) { - c[c.mXa = 0] = "licenseStarted"; + c[c.kXa = 0] = "licenseStarted"; c[c.m1a = 1] = "receivedLicenseChallenge"; c[c.l1a = 2] = "receivedLicense"; c[c.n1a = 3] = "receivedRenewalChallengeComplete"; c[c.o1a = 4] = "receivedRenewalLicenseComplete"; c[c.p1a = 5] = "receivedRenewalLicenseFailed"; - c[c.OOb = 6] = "receivedIndivChallengeComplete"; - c[c.POb = 7] = "receivedIndivLicenseComplete"; - c[c.tLa = 8] = "addLicenseComplete"; - c[c.ALa = 9] = "addRenewalLicenseComplete"; - c[c.BLa = 10] = "addRenewalLicenseFailed"; - })(a = b.Jr || (b.Jr = {})); - b.xQa = function (c) { + c[c.TOb = 6] = "receivedIndivChallengeComplete"; + c[c.UOb = 7] = "receivedIndivLicenseComplete"; + c[c.rLa = 8] = "addLicenseComplete"; + c[c.yLa = 9] = "addRenewalLicenseComplete"; + c[c.zLa = 10] = "addRenewalLicenseFailed"; + })(a = b.Mr || (b.Mr = {})); + b.vQa = function (c) { switch (c) { - case a.mXa: + case a.kXa: return "lg"; case a.m1a: return "lc"; @@ -40102,38 +40113,38 @@ a000.D9b = function () { return "renew_lr"; case a.p1a: return "renew_lr_failed"; - case a.OOb: + case a.TOb: return "ilc"; - case a.POb: + case a.UOb: return "ilr"; - case a.tLa: + case a.rLa: return "ld"; - case a.ALa: + case a.yLa: return "renew_ld"; - case a.BLa: + case a.zLa: return "renew_ld_failed"; default: return "unknown"; } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.vwa = "ClockConfigSymbol"; - }, function (q, b) { + b.swa = "ClockConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ICa = "OneWayCounterFactorySymbol"; - }, function (q, b, a) { + b.GCa = "OneWayCounterFactorySymbol"; + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.A9 = void 0; - q = a(1); + b.v9 = void 0; + r = a(1); a = a(0); f = { 0: 0, @@ -40161,7 +40172,7 @@ a000.D9b = function () { }; c.prototype.decode = function (k) { for (var l = new Uint8Array(k.length / 2), d = 0; d < l.length; d++) { - l[d] = this.k5a(k.substr(2 * d, 2)); + l[d] = this.m5a(k.substr(2 * d, 2)); } return l; }; @@ -40173,7 +40184,7 @@ a000.D9b = function () { } return l; }; - c.prototype.rF = function (k, l) { + c.prototype.vF = function (k, l) { var d; d = ""; for (l <<= 1; l--; ) { @@ -40182,7 +40193,7 @@ a000.D9b = function () { } return d; }; - c.prototype.k5a = function (k) { + c.prototype.m5a = function (k) { var l; l = k.length; if (7 < l) @@ -40192,128 +40203,128 @@ a000.D9b = function () { } return d; }; - a = q.__decorate([a.R()], c); - b.A9 = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.v9 = a; + }, function (r, b, a) { var f, k; function c() { - this.mp = {}; + this.np = {}; this.id = "$es$" + f.counter++; } Object.defineProperty(b, "__esModule", { value: !0 }); b.Wj = void 0; - q = a(1); + r = a(1); a = a(0); c.prototype.addListener = function (l, d, g) { var h, m; h = "$netflix$player$order" + this.id + "$" + l; - if (this.mp) { - m = this.mp[l] ? this.mp[l].slice() : []; + if (this.np) { + m = this.np[l] ? this.np[l].slice() : []; g && (d[h] = g); - 0 > m.indexOf(d) && (m.push(d), m.sort(function (n, r) { - return (n[h] || 0) - (r[h] || 0); + 0 > m.indexOf(d) && (m.push(d), m.sort(function (n, q) { + return (n[h] || 0) - (q[h] || 0); })); - this.mp[l] = m; + this.np[l] = m; } }; c.prototype.removeListener = function (l, d) { - if (this.mp && this.mp[l]) { - for (var g = this.mp[l].slice(), h; 0 <= (h = g.indexOf(d)); ) { + if (this.np && this.np[l]) { + for (var g = this.np[l].slice(), h; 0 <= (h = g.indexOf(d)); ) { g.splice(h, 1); } - this.mp[l] = g; + this.np[l] = g; } }; - c.prototype.tc = function (l, d, g) { + c.prototype.qc = function (l, d, g) { var h; - if (this.mp) { - h = this.Jja(l); + if (this.np) { + h = this.Cja(l); for (l = { - DH: 0 - }; l.DH < h.length; (l = { - DH: l.DH - }, l.DH++)) { + LH: 0 + }; l.LH < h.length; (l = { + LH: l.LH + }, l.LH++)) { g ? (function (m) { return function () { var n; - n = h[m.DH]; + n = h[m.LH]; setTimeout(function () { n(d); }, 0); }; - })(l)() : h[l.DH].call(this, d); + })(l)() : h[l.LH].call(this, d); } } }; - c.prototype.kh = function () { - this.mp = void 0; + c.prototype.hh = function () { + this.np = void 0; }; c.prototype.on = function (l, d, g) { this.addListener(l, d, g); }; - c.prototype.Jja = function (l) { + c.prototype.Cja = function (l) { var d; - return null !== (d = this.mp && (this.mp[l] || (this.mp[l] = []))) && void 0 !== d ? d : []; + return null !== (d = this.np && (this.np[l] || (this.np[l] = []))) && void 0 !== d ? d : []; }; k = f = c; k.counter = 0; - k = f = q.__decorate([a.R()], k); + k = f = r.__decorate([a.R()], k); b.Wj = k; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mwa = "CsvEncoderSymbol"; - }, function (q, b) { + b.Jwa = "CsvEncoderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Y9 = "DecoderTimeoutPathologistSymbol"; - }, function (q, b) { + b.T9 = "DecoderTimeoutPathologistSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.iaa = b.Nbb = void 0; - b.Nbb = function () {}; - b.iaa = "MseConfigSymbol"; - }, function (q, b, a) { + b.aaa = b.Rbb = void 0; + b.Rbb = function () {}; + b.aaa = "MseConfigSymbol"; + }, function (r, b, a) { function c(f) { - this.Ogb = void 0 === f ? !1 : f; - this.He = { + this.Pgb = void 0 === f ? !1 : f; + this.Je = { 0: [] }; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$aa = void 0; - q = a(1); + b.Uaa = void 0; + r = a(1); a = a(0); c.prototype.add = function (f, k) { var l; k = void 0 === k ? 0 : k; - l = this.He[k]; - l ? this.Ogb && -1 !== l.indexOf(f) || l.push(f) : this.He[k] = [f]; + l = this.Je[k]; + l ? this.Pgb && -1 !== l.indexOf(f) || l.push(f) : this.Je[k] = [f]; }; c.prototype.remove = function (f, k) { - this.ex(f, void 0 === k ? 0 : k); + this.jx(f, void 0 === k ? 0 : k); }; c.prototype.removeAll = function (f) { - this.ex(f); + this.jx(f); }; c.prototype.flatten = function () { var f; f = this; - return Object.keys(this.He).sort().reduce(function (k, l) { - return k.concat(f.He[l]); + return Object.keys(this.Je).sort().reduce(function (k, l) { + return k.concat(f.Je[l]); }, []); }; - c.prototype.ex = function (f, k) { - Object.entries(this.He).forEach(function (l) { + c.prototype.jx = function (f, k) { + Object.entries(this.Je).forEach(function (l) { var d, g; d = aa(l); @@ -40324,235 +40335,239 @@ a000.D9b = function () { } }); }; - a = q.__decorate([a.R()], c); - b.$aa = a; - }, function (q, b) { + a = r.__decorate([a.R()], c); + b.Uaa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.BHa = "UrlFactorySymbol"; - }, function (q, b, a) { + b.xHa = "UrlFactorySymbol"; + }, function (r, b, a) { var f, k, - l, - d; - function c(g, h, m, n, r, p, u) { - this.debug = g; - this.config = h; - this.platform = m; - this.k5 = n; - this.debug.assert(r && r != k.L.jm, "There should always be a specific error code"); - this.errorCode = r || k.L.jm; - p && l.Sg(p) ? (this.oa = p.oa || p.jc, this.Ve = p.Ve || p.wd, this.jia = p.jia || p.Bm, this.sb = p.sb || p.details, this.tS = p.Dj, this.GK = p.GK || p.fZa || p.Av, this.EK = p.EK || p.data, p.DU && (this.DU = p.DU), this.lk = p.lk, this.method = p.method, this.I5 = p.I5, this.alert = p.alert, this.Cea = p.Cea, this.debug.assert(!this.lk || this.lk == this.Ve)) : (this.oa = p, this.Ve = u); + l; + function c(d, g, h, m, n, q, p) { + this.debug = d; + this.config = g; + this.platform = h; + this.k5 = m; + this.debug.assert(n && n != k.M.im, "There should always be a specific error code"); + this.errorCode = n || k.M.im; + q && "object" === typeof q ? (this.oa = q.oa || q.kc, this.Xe = q.Xe || q.wd, this.cia = q.cia || q.zm, this.qb = q.qb || q.details, this.sS = q.Cj, this.KK = q.KK || q.cZa || q.Gv, this.IK = q.IK || q.data, q.CU && (this.CU = q.CU), this.lk = q.lk, this.method = q.method, this.I5 = q.I5, this.alert = q.alert, this.wea = q.wea, this.PT = q.PT, !this.qb && this.PT && (this.qb = JSON.stringify(this.PT)), this.debug.assert(!this.lk || this.lk == this.Xe)) : (this.oa = q, this.Xe = p); this.stack = [this.errorCode]; - this.oa ? this.stack.push(this.oa) : this.Ve && this.stack.push(k.M.jm); - this.Ve && this.stack.push(this.Ve); - this.S1 = this.platform.kp + this.stack.join("-"); + this.oa ? this.stack.push(this.oa) : this.Xe && this.stack.push(k.L.im); + this.Xe && this.stack.push(this.Xe); + this.U1 = this.platform.lp + this.stack.join("-"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.BEa = void 0; + b.zEa = void 0; f = a(12); k = a(3); - l = a(29); - d = a(17); + l = a(17); a(24); c.prototype.toString = function () { - var g; - g = "[PlayerError #" + this.S1 + "]"; - this.sb && (g += " " + this.sb); - this.tS && (g += " (CustomMessage: " + this.tS + ")"); - return g; + var d; + d = "[PlayerError #" + this.U1 + "]"; + this.qb && (d += " " + this.qb); + this.sS && (d += " (CustomMessage: " + this.sS + ")"); + return d; }; - c.prototype.gta = function () { - var g, - h; - this.tS && (g = ["streaming_error"]); - g || this.k5.Gs() !== f.pY || ("80080017" == this.Ve && (g = ["admin_mode_not_supported", "platform_error"]), "8004CD12" === this.Ve && (g = ["pause_timeout"])); - g || this.k5.Gs() !== f.a$ || this.errorCode !== k.L.Nxa && this.errorCode !== k.L.EO || (g = ["no_cdm", "platform_error", "plugin_error"]); - this.iFb() && (g = ["received_soad"]); - h = this.Myb(); - h && (g = [h], this.tS = void 0); - if (!g) + c.prototype.ata = function () { + var d, + g, + h, + m; + this.sS && (h = ["streaming_error"]); + h || this.k5.Ks() !== f.oY || ("80080017" == this.Xe && (h = ["admin_mode_not_supported", "platform_error"]), "8004CD12" === this.Xe && (h = ["pause_timeout"])); + h || this.k5.Ks() !== f.V9 || this.errorCode !== k.M.Jxa && this.errorCode !== k.M.EO || (h = ["no_cdm", "platform_error", "plugin_error"]); + this.lFb() && (h = ["received_soad"]); + m = this.Qyb(); + m && (h = [m], this.sS = void 0); + if (!h) switch (this.errorCode) { - case k.L.eZ: - case k.L.KY: - case k.L.z7a: - case k.L.VCa: - g = ["pause_timeout"]; + case k.M.dZ: + case k.M.JY: + case k.M.B7a: + case k.M.SCa: + h = ["pause_timeout"]; break; - case k.L.Oza: - case k.L.Pza: - g = this.oa ? ["platform_error"] : ["multiple_tabs"]; + case k.M.Mza: + case k.M.Nza: + h = this.oa ? ["platform_error"] : ["multiple_tabs"]; break; - case k.L.ibb: - case k.L.Xdb: - case k.L.Iab: - case k.L.Hab: - case k.L.Kab: - g = ["should_signout_and_signin"]; + case k.M.lbb: + case k.M.$db: + case k.M.Lab: + case k.M.Kab: + case k.M.Nab: + h = ["should_signout_and_signin"]; break; - case k.L.B$: - case k.L.$Ca: - case k.L.YCa: - case k.L.waa: - case k.L.TCa: - g = ["platform_error", "plugin_error"]; + case k.M.t$: + case k.M.WCa: + case k.M.qaa: + case k.M.QCa: + h = ["platform_error", "plugin_error"]; break; - case k.L.yP: - g = ["no_cdm", "platform_error", "plugin_error"]; + case k.M.yP: + h = ["no_cdm", "platform_error", "plugin_error"]; break; - case k.L.xP: - g = this.oa ? ["platform_error", "plugin_error"] : ["no_cdm", "platform_error", "plugin_error"]; + case k.M.paa: + h = this.oa ? ["platform_error", "plugin_error"] : ["no_cdm", "platform_error", "plugin_error"]; break; - case k.L.Uxa: - case k.L.oq: - case k.L.fZ: - switch (this.Ve) { + case k.M.Qxa: + case k.M.qq: + case k.M.eZ: + switch (this.Xe) { case "FFFFD000": - g = ["device_needs_service", "platform_error"]; + h = ["device_needs_service", "platform_error"]; break; case "48444350": - g = ["unsupported_output", "platform_error"]; + h = ["unsupported_output", "platform_error"]; break; case "00000024": - g = ["private_mode"]; + h = ["private_mode"]; } break; - case k.L.WCa: - case k.L.vaa: - g = ["unsupported_output"]; - } - !g && k.oya(this.oa) && (g = this.oa == k.M.bP ? ["geo"] : ["internet_connection_problem"]); - g || this.errorCode !== k.L.EO || this.oa !== k.M.fj || "S" !== this.platform.kp || (g = ["private_mode"]); - if (!g) - switch (this.s4a(this.oa)) { - case k.M.Jba: - g = ["should_upgrade"]; + case k.M.TCa: + case k.M.oaa: + h = ["unsupported_output"]; + } + !h && k.lya(this.oa) && (h = this.oa == k.L.bP ? ["geo"] : ["internet_connection_problem"]); + h || this.errorCode !== k.M.EO || this.oa !== k.L.dj || "S" !== this.platform.lp || (h = ["private_mode"]); + if (!h) + switch (this.u4a(this.oa)) { + case k.L.Dba: + h = ["should_upgrade"]; break; - case k.M.QCa: - g = ["should_reset_device"]; + case k.L.OCa: + h = ["should_reset_device"]; break; - case k.M.PCa: - g = ["should_reload_device"]; + case k.L.NCa: + h = ["should_reload_device"]; break; - case k.M.OCa: - g = ["should_exit_device"]; + case k.L.MCa: + h = ["should_exit_device"]; break; - case k.M.Pbb: - case k.M.lBa: - g = ["should_signout_and_signin"]; + case k.L.Tbb: + case k.L.jBa: + h = ["should_signout_and_signin"]; break; - case k.M.Qbb: - g = ["internet_connection_problem"]; + case k.L.Ubb: + h = ["internet_connection_problem"]; break; - case k.M.Rwa: - g = ["platform_error", "plugin_error"]; + case k.L.Owa: + h = ["platform_error", "plugin_error"]; break; - case k.M.Qwa: - case k.M.vza: - case k.M.wza: - g = ["private_mode"]; + case k.L.Nwa: + case k.L.tza: + case k.L.uza: + h = ["private_mode"]; + break; + case k.L.nbb: + h = ["should_reload_with_preferred_locales"]; } - g = g || []; - g.push(this.platform.kp + this.errorCode); + h = h || []; + h.push(this.platform.lp + this.errorCode); if (this.oa) - switch (this.s4a(this.oa)) { - case k.M.RCa: - g.push("incorrect_pin"); + switch (this.u4a(this.oa)) { + case k.L.PCa: + h.push("incorrect_pin"); break; default: - g.push("" + this.oa); + h.push("" + this.oa); } - g = { + h = { display: { - code: this.S1, - text: this.tS + code: this.U1, + text: this.sS }, - messageIdList: g, + messageIdList: h, alert: this.alert, - alertTag: this.Cea + alertTag: this.wea, + preferredAudioLocale: null === (d = this.PT) || void 0 === d ? void 0 : d.s5b, + preferredTextLocale: null === (g = this.PT) || void 0 === g ? void 0 : g.t5b }; - if (this.GK || this.fZa) - g.mslErrorCode = this.GK || this.fZa || this.Av; - return g; - }; - c.prototype.s4a = function (g) { - var h; - h = parseInt(g, 10); - return isNaN(h) ? g : h; + if (this.KK || this.cZa) + h.mslErrorCode = this.KK || this.cZa || this.Gv; + return h; }; - c.prototype.iFb = function () { + c.prototype.u4a = function (d) { var g; - g = d.xa(this.Ve) ? this.Ve.toString() : d.ze(this.Ve) ? this.Ve : ""; - return this.GK === k.SY.Eba && (g.endsWith("2018") || g.endsWith("2020")); + g = parseInt(d, 10); + return isNaN(g) ? d : g; }; - c.prototype.Myb = function () { - if (this.errorCode === k.L.cI && (this.oa === k.M.saa || this.oa === k.M.NCa)) - return this.Nyb(this.oa === k.M.saa); + c.prototype.lFb = function () { + var d; + d = l.ya(this.Xe) ? this.Xe.toString() : l.Be(this.Xe) ? this.Xe : ""; + return this.KK === k.RY.yba && (d.endsWith("2018") || d.endsWith("2020")); }; - c.prototype.Nyb = function (g) { - var h, + c.prototype.Qyb = function () { + if (this.errorCode === k.M.kI && (this.oa === k.L.kaa || this.oa === k.L.LCa)) + return this.Ryb(this.oa === k.L.kaa); + }; + c.prototype.Ryb = function (d) { + var g, + h, m, - n, - r; - n = this.config().browserInfo || ({}); - r = null === (h = n.os) || void 0 === h ? void 0 : h.name; - h = ((null === (m = n.os) || void 0 === m ? void 0 : m.version) || "").split("."); - m = parseInt(h && h[0]); - h = parseInt(h && h[1]); - switch (r) { + n; + m = this.config().browserInfo || ({}); + n = null === (g = m.os) || void 0 === g ? void 0 : g.name; + g = ((null === (h = m.os) || void 0 === h ? void 0 : h.version) || "").split("."); + h = parseInt(g && g[0]); + g = parseInt(g && g[1]); + switch (n) { case "windows": - return 6 > m || 6 === m && 1 > h ? g ? "cdm_not_supported_warning_switch_windows" : "cdm_not_supported_switch_windows" : g ? "cdm_not_supported_warning_update" : "cdm_not_supported_update"; + return 6 > h || 6 === h && 1 > g ? d ? "cdm_not_supported_warning_switch_windows" : "cdm_not_supported_switch_windows" : d ? "cdm_not_supported_warning_update" : "cdm_not_supported_update"; case "mac": - return 10 > m || 10 === m && 10 > h ? g ? "cdm_not_supported_warning_switch_mac" : "cdm_not_supported_switch_mac" : g ? "cdm_not_supported_warning_update" : "cdm_not_supported_update"; + return 10 > h || 10 === h && 10 > g ? d ? "cdm_not_supported_warning_switch_mac" : "cdm_not_supported_switch_mac" : d ? "cdm_not_supported_warning_update" : "cdm_not_supported_update"; default: - return g ? "cdm_not_supported_warning_other" : "cdm_not_supported_other"; + return d ? "cdm_not_supported_warning_other" : "cdm_not_supported_other"; } }; - b.BEa = c; - }, function (q, b) { + b.zEa = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.baa = "MediaElementHelpersSymbol"; - }, function (q, b) { + b.U$ = "MediaElementHelpersSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.HO = "EventSourceFactorySymbol"; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.HO = b.rya = void 0; - q = a(1); - f = a(316); + b.HO = b.pya = void 0; + r = a(1); + f = a(318); a = a(0); c.prototype.create = function () { return new f.Wj(); }; - a = q.__decorate([a.R()], c); - b.rya = a; + a = r.__decorate([a.R()], c); + b.pya = a; b.HO = "EventSourceFactorySymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Zwa = "DebouncerFactorySymbol"; - }, function (q, b, a) { + b.Wwa = "DebouncerFactorySymbol"; + }, function (r, b, a) { var f; function c(k, l, d, g, h, m) { this.level = k; this.Gn = l; this.timestamp = d; this.message = g; - this.Sb = h; + this.Vb = h; this.index = void 0 === m ? 0 : m; - this.ebb = { + this.hbb = { 0: "F", 1: "E", 2: "W", @@ -40564,78 +40579,78 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Q$ = void 0; - f = a(5); - c.prototype.j8 = function (k, l) { + b.I$ = void 0; + f = a(4); + c.prototype.f8 = function (k, l) { var d; d = "" + this.message; - this.Sb.forEach(function (g) { - d += g.mH(k, l); + this.Vb.forEach(function (g) { + d += g.uH(k, l); }); - return (this.timestamp.ea(f.ma) / 1E3).toFixed(3) + "|" + this.index + "|" + (this.ebb[this.level] || this.level) + "|" + this.Gn + "| " + d; + return (this.timestamp.ea(f.ma) / 1E3).toFixed(3) + "|" + this.index + "|" + (this.hbb[this.level] || this.level) + "|" + this.Gn + "| " + d; }; - b.Q$ = c; - }, function (q, b) { + b.I$ = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kCa = "MomentObserverFactory"; - }, function (q, b) { + b.iCa = "MomentObserverFactory"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.dGa = "SegmentConfigFactorySymbol"; - }, function (q, b) { + b.$Fa = "SegmentConfigFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mEa = "PlaybackFactorySymbol"; - }, function (q, b) { + b.kEa = "PlaybackFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.OHa = "VideoPlayerFactorySymbol"; - }, function (q, b) { + b.KHa = "VideoPlayerFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.nHa = "TransitionLoggerSymbol"; - }, function (q, b) { + b.jHa = "TransitionLoggerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.oxa = "DiagnosticsFactorySymbol"; - }, function (q, b) { + b.lxa = "DiagnosticsFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uDa = "PboGenerateScreenshotsCommandSymbol"; - }, function (q, b) { + b.qDa = "PboGenerateScreenshotsCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.aHa = "ThroughputTrackerConfigSymbol"; - }, function (q, b) { + b.XGa = "ThroughputTrackerConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.dHa = "ThroughputTrackerSymbol"; - b.bHa = "ThroughputTrackerFactorySymbol"; - }, function (q, b) { + b.$Ga = "ThroughputTrackerSymbol"; + b.YGa = "ThroughputTrackerFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wya = "ExtraPlatformInfoProviderSymbol"; - }, function (q, b) { + b.uya = "ExtraPlatformInfoProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kwa = "CapabilityDetectorFactorySymbol"; - }, function (q, b) { + b.hwa = "CapabilityDetectorFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pva = { + b.mva = { "playready-oggvorbis-2-piff": "OGG_VORBIS", "playready-oggvorbis-2-dash": "OGG_VORBIS", "heaac-2-piff": "AAC", @@ -40653,95 +40668,96 @@ a000.D9b = function () { "dd-5.1-elem": "DD", "dd-5.1-m2ts": "DD" }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; function c(d, g, h, m) { this.config = d; - this.Oi = g; + this.Mi = g; this.mediaType = h; - this.xv = m; - this.Qna = {}; - this.Qna[f.hm.Audio] = "audio"; - this.Qna[f.hm.LHa] = "video"; + this.Dv = m; + this.Lna = {}; + this.Lna[f.gm.Audio] = "audio"; + this.Lna[f.gm.HHa] = "video"; } Object.defineProperty(b, "__esModule", { value: !0 }); b.uO = void 0; f = a(25); - q = a(106); - k = a(209); - l = new q.nA().format; + r = a(106); + k = a(210); + l = new r.pA().format; c.prototype.yUa = function (d) { - return this.Rtb(this.cUa(d)); + return this.Utb(this.cUa(d)); }; - c.prototype.Ex = function (d) { - return this.Oi.isTypeSupported(d); + c.prototype.Jx = function (d) { + return this.Mi.isTypeSupported(d); }; c.prototype.QSa = function () { - return [k.Ff.FX, k.Ff.aza, k.Ff.WH]; - }; - c.prototype.Kla = function () { - this.Ym = []; - this.Kv = []; - this.config().u_a && this.Kv.push(k.Ff.$ya); - this.config().t_a && this.Kv.push(k.Ff.Sya); - this.config().s_a && this.Kv.push(k.Ff.Ir); - this.config().rC && this.Kv.push(k.Ff.YC); - this.config().v_a && this.Kv.push(k.Ff.QD); - this.config().r_a && this.Kv.push(k.Ff.Fk); - this.Kv = this.Kv.concat(this.QSa()); - !this.config().Evb && this.Ym.push(k.Ff.EI); - !this.config().MQa && this.Ym.push(k.Ff.d9a); - !this.config().LQa && this.Ym.push(k.Ff.e9a); - !this.config().FS && this.Ym.push(k.Ff.f9a); - !this.config().tvb && this.Ym.push(/prk$/); - this.config().s_a || this.config().fvb || this.Ym.push(k.Ff.Ir); - this.config().u_a || this.config().hvb || this.Ym.push(k.Ff.$ya); - this.config().t_a || this.config().Yha || this.Ym.push(k.Ff.Sya); - this.config().rC || this.config().yK || this.Ym.push(k.Ff.YC); - this.config().v_a || this.config().Cvb || this.Ym.push(k.Ff.QD); - this.config().r_a || this.config().bvb || this.Ym.push(k.Ff.Fk); - !this.config().Bvb && this.Ym.push(k.Ff.AI); - }; - c.prototype.DRa = function (d) { + return [k.uf.EX, k.uf.Zya, k.uf.dI]; + }; + c.prototype.Fla = function () { + this.Xm = []; + this.Ft = []; + this.config().ILb && this.Ft.push(k.uf.WD); + this.config().s_a && this.Ft.push(k.uf.Yya); + this.config().r_a && this.Ft.push(k.uf.Qya); + this.config().q_a && this.Ft.push(k.uf.Lr); + this.config().tC && this.Ft.push(k.uf.$C); + this.config().t_a && this.Ft.push(k.uf.TD); + this.config().p_a && this.Ft.push(k.uf.Fk); + this.Ft = this.Ft.concat(this.QSa()); + !this.config().Kvb && this.Xm.push(k.uf.WD); + !this.config().KQa && this.Xm.push(k.uf.f9a); + !this.config().JQa && this.Xm.push(k.uf.g9a); + !this.config().ES && this.Xm.push(k.uf.h9a); + !this.config().xvb && this.Xm.push(/prk$/); + this.config().q_a || this.config().jvb || this.Xm.push(k.uf.Lr); + this.config().s_a || this.config().lvb || this.Xm.push(k.uf.Yya); + this.config().r_a || this.config().Sha || this.Xm.push(k.uf.Qya); + this.config().tC || this.config().CK || this.Xm.push(k.uf.$C); + this.config().t_a || this.config().Ivb || this.Xm.push(k.uf.TD); + this.config().p_a || this.config().fvb || this.Xm.push(k.uf.Fk); + !this.config().Fvb && this.Xm.push(k.uf.FI); + }; + c.prototype.CRa = function (d) { var g, h; g = this; h = d.map(function (m) { - for (var n = aa(g.Kv), r = n.next(); !r.done; r = n.next()) { - if (r.value.test(m)) + for (var n = aa(g.Ft), q = n.next(); !q.done; q = n.next()) { + if (q.value.test(m)) return Promise.resolve(!0); } - n = aa(g.Ym); - for (r = n.next(); !r.done; r = n.next()) { - if (r.value.test(m)) + n = aa(g.Xm); + for (q = n.next(); !q.done; q = n.next()) { + if (q.value.test(m)) return Promise.resolve(!1); } - return g.LK(m); + return g.PK(m); }); return Promise.all(h).then(function (m) { - return d.filter(function (n, r) { - return m[r]; + return d.filter(function (n, q) { + return m[q]; }); }); }; - c.prototype.LK = function (d) { - return this.config().qvb ? this.xv.LK(d) : this.Lwb(d); + c.prototype.PK = function (d) { + return this.config().uvb ? this.Dv.PK(d) : this.Rwb(d); }; - c.prototype.Lwb = function (d) { + c.prototype.Rwb = function (d) { var g; - d = this.bqa[d]; + d = this.Wpa[d]; g = ""; - return d ? (Array.isArray(d) && (g = 1 < d.length ? " " + d[1] : "", d = d[0]), d = l("{0}/mp4;codecs={1};{2}", this.Qna[this.mediaType], d, g), d = this.Ex(d), Promise.resolve(d)) : Promise.resolve(!1); + return d ? (Array.isArray(d) && (g = 1 < d.length ? " " + d[1] : "", d = d[0]), d = l("{0}/mp4;codecs={1};{2}", this.Lna[this.mediaType], d, g), d = this.Jx(d), Promise.resolve(d)) : Promise.resolve(!1); }; - c.prototype.Rtb = function (d) { + c.prototype.Utb = function (d) { var g; g = {}; - this.Kla(); - return this.DRa(d).then(function (h) { + this.Fla(); + return this.CRa(d).then(function (h) { return h.map(function (m) { return g[m] = 1; }); @@ -40750,141 +40766,141 @@ a000.D9b = function () { }); }; Xa.Object.defineProperties(c.prototype, { - bqa: { + Wpa: { configurable: !0, enumerable: !0, get: function () { - this.qKa || (this.qKa = this.cF()); - return this.qKa; + this.oKa || (this.oKa = this.fF()); + return this.oKa; } } }); b.uO = c; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g; function c(h, m, n) { - n = k.uO.call(this, h, m, f.hm.Audio, n) || this; + n = k.uO.call(this, h, m, f.gm.Audio, n) || this; n.config = h; - n.Oi = m; - n.type = f.Wt.Zt; + n.Mi = m; + n.type = f.au.du; return n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.mY = void 0; + b.lY = void 0; f = a(25); - k = a(340); + k = a(342); l = a(50); d = a(140); - g = new(a(106).nA)().format; - ka(c, k.uO); - c.prototype.GW = function () { + g = new(a(106).pA)().format; + ja(c, k.uO); + c.prototype.FW = function () { var h; - h = g(c.tH, d.Sd.c9a); - return Promise.resolve(this.config().FS && this.Oi.isTypeSupported(h)); + h = g(c.BH, d.Qd.e9a); + return Promise.resolve(this.config().ES && this.Mi.isTypeSupported(h)); }; - c.prototype.cF = function () { + c.prototype.fF = function () { var h; h = {}; - h[l.je.hD] = "mp4a.40.2"; - h[l.je.Zya] = "mp4a.40.2"; - h[l.je.iD] = "mp4a.40.2"; - h[l.je.EI] = "mp4a.40.42"; - h[l.je.wO] = "ec-3"; - h[l.je.M9] = "ec-3"; - h[l.je.xO] = "ec-3"; + h[l.ke.jD] = "mp4a.40.2"; + h[l.ke.Xya] = "mp4a.40.2"; + h[l.ke.kD] = "mp4a.40.2"; + h[l.ke.WD] = "mp4a.40.42"; + h[l.ke.wO] = "ec-3"; + h[l.ke.H9] = "ec-3"; + h[l.ke.xO] = "ec-3"; return h; }; c.prototype.cUa = function (h) { - return h || this.config().YA; + return h || this.config().$A; }; - b.mY = c; - c.tH = "audio/mp4;codecs={0};"; - }, function (q, b) { + b.lY = c; + c.BH = "audio/mp4;codecs={0};"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.IBa = "MediaCapabilitiesDetectorSymbol"; - }, function (q, b) { + b.GBa = "MediaCapabilitiesDetectorSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.MBa = "MediaCapabilitiesSymbol"; - }, function (q, b) { + b.KBa = "MediaCapabilitiesSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.LBa = "MediaCapabilitiesLogHelperSymbol"; - }, function (q, b) { + b.JBa = "MediaCapabilitiesLogHelperSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hFa = "PresentationAPISymbol"; - }, function (q, b) { + b.eFa = "PresentationAPISymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.MY = "IndexedDBConfigSymbol"; - }, function (q, b) { + b.LY = "IndexedDBConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tba = "Storage"; - }, function (q, b) { + b.nba = "Storage"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Iwa = "CorruptedStorageValidatorConfigSymbol"; - }, function (q, b) { + b.Fwa = "CorruptedStorageValidatorConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.CAa = "LocalStorageSymbol"; - }, function (q, b) { + b.AAa = "LocalStorageSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.eCa = "MemoryStorageSymbol"; - }, function (q, b) { + b.cCa = "MemoryStorageSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Dva = "BookmarkSymbol"; - }, function (q, b) { + b.Ava = "BookmarkSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Bva = "BookmarkConfigSymbol"; - }, function (q, b) { + b.yva = "BookmarkConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ava = "BookmarkConfigParserSymbol"; - }, function (q, b) { + b.xva = "BookmarkConfigParserSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Tva = "CDMAttestedDescriptorProvider"; - }, function (q, b) { + b.Qva = "CDMAttestedDescriptorProvider"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wBa = "ManifestParserFactorySymbol"; - }, function (q, b) { + b.uBa = "ManifestParserFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uBa = "ManifestProviderConfigSymbol"; - }, function (q) { - q.exports = function (b) { + b.sBa = "ManifestProviderConfigSymbol"; + }, function (r) { + r.exports = function (b) { return "[object Object]" === Object.prototype.toString.call(b); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -40892,25 +40908,25 @@ a000.D9b = function () { d, g; b = a(57); - c = a(359); - f = a(678); - k = a(357); - l = a(214); - d = a(683); - g = a(362); + c = a(361); + f = a(681); + k = a(359); + l = a(215); + d = a(686); + g = a(364); a = b(c(["filter"], d, function (h, m) { - return k(m) ? l(function (n, r) { - h(m[r]) && (n[r] = m[r]); + return k(m) ? l(function (n, q) { + h(m[q]) && (n[q] = m[q]); return n; }, {}, g(m)) : f(h, m); })); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f; - c = a(360); - f = a(677); - q.exports = function (k, l, d) { + c = a(362); + f = a(680); + r.exports = function (k, l, d) { return function () { var g, h; @@ -40930,28 +40946,28 @@ a000.D9b = function () { return d.apply(this, arguments); }; }; - }, function (q) { - q.exports = Array.isArray || (function (b) { + }, function (r) { + r.exports = Array.isArray || (function (b) { return null != b && 0 <= b.length && "[object Array]" === Object.prototype.toString.call(b); }); - }, function (q) { - q.exports = { + }, function (r) { + r.exports = { mb: function () { - return this.DX["@@transducer/init"](); + return this.CX["@@transducer/init"](); }, result: function (b) { - return this.DX["@@transducer/result"](b); + return this.CX["@@transducer/result"](b); } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, l, d; - b = a(123); - c = a(213); - f = a(684); + b = a(122); + c = a(214); + f = a(687); k = !({ toString: null }).propertyIsEnumerable("toString"); @@ -40963,7 +40979,7 @@ a000.D9b = function () { var h, m, n, - r; + q; if (Object(g) !== g) return []; h = []; @@ -40974,20 +40990,20 @@ a000.D9b = function () { if (k) for (m = l.length - 1; 0 <= m; ) { n = l[m]; - if (r = c(n, g)) { + if (q = c(n, g)) { a: { - for (r = 0; r < h.length; ) { - if (h[r] === n) { - r = !0; + for (q = 0; q < h.length; ) { + if (h[q] === n) { + q = !0; break a; } - r += 1; + q += 1; } - r = !1; + q = !1; } - r = !r; + q = !q; } - r && (h[h.length] = n); + q && (h[h.length] = n); --m; } return h; @@ -40995,154 +41011,160 @@ a000.D9b = function () { : function (g) { return Object(g) !== g ? [] : Object.keys(g); }); - q.exports = a; - }, function (q) { - q.exports = function (b, a) { + r.exports = a; + }, function (r) { + r.exports = function (b, a) { for (var c = 0, f = a.length, k = Array(f); c < f; ) { k[c] = b(a[c]); c += 1; } return k; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; - c = a(215); - f = a(123); + c = a(216); + f = a(122); b = a(57); - k = a(687); + k = a(690); a = b(function (l, d) { return 1 === l ? f(d) : c(l, k(l, [], d)); }); - q.exports = a; - }, function (q, b) { + r.exports = a; + }, function (r, b) { function a(c, f) { this.log = c; - this.o8 = f; + this.k8 = f; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.mP = void 0; - a.prototype.t5a = function (c, f) { + b.nP = void 0; + a.prototype.v5a = function (c, f) { var k, l; k = this; if (!c) return (this.log.warn("There are no media streams for " + f.type + " track - " + f.trackId), []); l = c.map(function (d) { - var g; - g = k.o8(f, f.type, d.Mha, d.bitrate, d.zb, d.size, k.lzb(d.urls), d.ZR, d.Exb / d.Dxb, d.By); - g.ySb(d.pQb, d.oQb, d.$_a, d.Z_a); - g.MRb(d.Fsb, d.Gsb, d.Esb, d.Dsb, d.$_a, d.Z_a); - f.Kl && (g.Kl = f.Kl); - d.ZR && (g.Mg = d.ZR); - return g; + var g, + h, + m, + n, + q, + p, + t; + t = k.k8(f, f.type, d.Gha, d.bitrate, d.xb, d.size, k.pzb(d.urls), d.v1, d.Kxb / d.Jxb, d.Ey); + t.CSb(d.uQb, d.tQb, d.Y_a, d.X_a); + t.PRb(null !== (g = d.Hsb) && void 0 !== g ? g : void 0, null !== (h = d.Isb) && void 0 !== h ? h : void 0, null !== (m = d.Gsb) && void 0 !== m ? m : void 0, null !== (n = d.Fsb) && void 0 !== n ? n : void 0, null !== (q = d.Y_a) && void 0 !== q ? q : void 0, null !== (p = d.X_a) && void 0 !== p ? p : void 0); + f.Jl && (t.Jl = f.Jl); + d.v1 && (t.Kg = d.v1); + return t; }); l.sort(function (d, g) { return d.bitrate - g.bitrate; }); l.forEach(function (d, g) { d.lower = l[g - 1]; - d.WCb = l[g + 1]; + d.ZCb = l[g + 1]; }); return l; }; - a.prototype.lzb = function (c) { + a.prototype.pzb = function (c) { return c.reduce(function (f, k) { - f[k.JNa] = k.url; + f[k.Lfa] = k.url; return f; }, {}); }; - b.mP = a; - }, function (q, b) { + b.nP = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.CEa = "PlayerTextTrackFactorySymbol"; - }, function (q, b) { + b.AEa = "PlayerTextTrackFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lHa = "TrackStreamFactorySymbol"; - }, function (q, b) { + b.hHa = "TrackStreamFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tHa = "TrickPlayFactorySymbol"; - }, function (q, b) { + b.pHa = "TrickPlayFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.BBa = "ManifestVerifyErrorFactorySymbol"; - }, function (q, b) { + b.zBa = "ManifestVerifyErrorFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ABa = "ManifestTransformerSymbol"; - }, function (q, b) { + b.yBa = "ManifestTransformerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ADa = "PboLinksManagerSymbol"; - b.yDa = "PboLinksManagerFactorySymbol"; - }, function (q, b) { + b.wDa = "PboLinksManagerSymbol"; + b.uDa = "PboLinksManagerFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qBa = "ManifestEnricherSymbol"; - }, function (q, b, a) { + b.oBa = "ManifestEnricherSymbol"; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(2); - q.__exportStar(a(707), b); - q.__exportStar(a(708), b); - q.__exportStar(a(709), b); - q.__exportStar(a(710), b); - q.__exportStar(a(711), b); - q.__exportStar(a(712), b); - q.__exportStar(a(713), b); - q.__exportStar(a(714), b); - q.__exportStar(a(715), b); - q.__exportStar(a(716), b); - q.__exportStar(a(717), b); - q.__exportStar(a(718), b); - q.__exportStar(a(722), b); - q.__exportStar(a(218), b); - q.__exportStar(a(723), b); - q.__exportStar(a(219), b); - q.__exportStar(a(724), b); - q.__exportStar(a(725), b); - q.__exportStar(a(726), b); - q.__exportStar(a(727), b); - q.__exportStar(a(728), b); - q.__exportStar(a(729), b); - q.__exportStar(a(730), b); - q.__exportStar(a(731), b); - q.__exportStar(a(732), b); - q.__exportStar(a(733), b); - q.__exportStar(a(734), b); - q.__exportStar(a(735), b); - q.__exportStar(a(736), b); - q.__exportStar(a(737), b); - q.__exportStar(a(738), b); - q.__exportStar(a(739), b); - q.__exportStar(a(740), b); - q.__exportStar(a(748), b); - q.__exportStar(a(750), b); - q.__exportStar(a(751), b); - }, function (q, b) { + r = a(2); + r.__exportStar(a(710), b); + r.__exportStar(a(711), b); + r.__exportStar(a(712), b); + r.__exportStar(a(713), b); + r.__exportStar(a(714), b); + r.__exportStar(a(715), b); + r.__exportStar(a(716), b); + r.__exportStar(a(717), b); + r.__exportStar(a(718), b); + r.__exportStar(a(719), b); + r.__exportStar(a(720), b); + r.__exportStar(a(721), b); + r.__exportStar(a(725), b); + r.__exportStar(a(219), b); + r.__exportStar(a(726), b); + r.__exportStar(a(220), b); + r.__exportStar(a(727), b); + r.__exportStar(a(728), b); + r.__exportStar(a(729), b); + r.__exportStar(a(730), b); + r.__exportStar(a(731), b); + r.__exportStar(a(732), b); + r.__exportStar(a(733), b); + r.__exportStar(a(734), b); + r.__exportStar(a(735), b); + r.__exportStar(a(736), b); + r.__exportStar(a(737), b); + r.__exportStar(a(738), b); + r.__exportStar(a(739), b); + r.__exportStar(a(740), b); + r.__exportStar(a(741), b); + r.__exportStar(a(742), b); + r.__exportStar(a(743), b); + r.__exportStar(a(751), b); + r.__exportStar(a(753), b); + r.__exportStar(a(754), b); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Kea = void 0; - b.Kea = function (a, c, f) { + b.Dea = void 0; + b.Dea = function (a, c, f) { var k, l; k = !0; @@ -41161,22 +41183,138 @@ a000.D9b = function () { }); return { inRange: k, - R1: l + T1: l }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.CD = void 0; - b.CD = { - Dm: function (a) { + b.ED = void 0; + b.ED = { + Bm: function (a) { return a; } }; - }, function (q, b, a) { + }, function (r, b, a) { + var c, + f; + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.pq = b.Cdb = void 0; + c = a(2); + f = a(221); + r = (function () { + function k(l, d) { + this.G = l; + this.vy = d ? [d] : []; + } + Object.defineProperties(k.prototype, { + value: { + get: function () { + return this.G; + }, + enumerable: !1, + configurable: !0 + } + }); + k.prototype.addListener = function (l) { + -1 === this.vy.indexOf(l) && (this.vy = this.vy.slice(), this.vy.push(l)); + }; + k.prototype.removeListener = function (l) { + l = this.vy.indexOf(l); + -1 !== l && (this.vy = this.vy.slice(), this.vy.splice(l, 1)); + }; + return k; + })(); + b.Cdb = r; + r = (function (k) { + function l(d, g) { + return k.call(this, d, g) || this; + } + c.__extends(l, k); + l.fua = function (d, g, h) { + return new f.haa(d, g, h, !1); + }; + Object.defineProperties(l.prototype, { + value: { + get: function () { + return this.G; + }, + set: function (d) { + this.set(d); + }, + enumerable: !1, + configurable: !0 + } + }); + l.prototype.set = function (d) { + var g; + g = this.G; + g !== d && (this.G = d, this.vy.forEach(function (h) { + return h({ + oldValue: g, + newValue: d + }); + })); + }; + return l; + })(r); + b.pq = r; + }, function (r, b, a) { + var c; + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.Zd = void 0; + r = a(2); + r.__exportStar(a(380), b); + r.__exportStar(a(770), b); + r.__exportStar(a(222), b); + r.__exportStar(a(771), b); + r.__exportStar(a(772), b); + r.__exportStar(a(773), b); + r.__exportStar(a(381), b); + r.__exportStar(a(775), b); + c = a(54); + Object.defineProperties(b, { + Zd: { + enumerable: !0, + get: function () { + return c.Zd; + } + } + }); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.Jr = b.jO = void 0; + (function (a) { + a[a.default = 0] = "default"; + a[a.disabled = 1] = "disabled"; + a[a.nHb = 2] = "lowCpuPlaybackStarting"; + })(b.jO || (b.jO = {})); + (function (a) { + a[a.CLOSED = 0] = "CLOSED"; + a[a.OPEN = 1] = "OPEN"; + })(b.Jr || (b.Jr = {})); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b, a) { var c, f, k; @@ -41185,70 +41323,70 @@ a000.D9b = function () { value: !0 } }); - b.Hga = b.rwb = b.gB = b.XG = void 0; + b.Bga = b.xwb = b.iB = b.eH = void 0; c = a(2); f = a(22); - k = a(73); + k = a(67); Object.defineProperties(b, { - XG: { + eH: { enumerable: !0, get: function () { - return k.XG; + return k.eH; } } }); Object.defineProperties(b, { - gB: { + iB: { enumerable: !0, get: function () { - return k.gB; + return k.iB; } } }); - b.rwb = function (l, d) { + b.xwb = function (l, d) { var g, p, - u; + t; l = Math.max(l.duration - 3E4, 3E4); - for (var h = {}, m, n = 0, r = 0; r < l; r += 3E4) { + for (var h = {}, m, n = 0, q = 0; q < l; q += 3E4) { p = "s" + n++; - u = { - da: d, - xc: r, - Yc: r + 3E4 < l ? r + 3E4 : null + t = { + $: d, + jc: q, + Fc: q + 3E4 < l ? q + 3E4 : null }; void 0 !== m && (m.next = (g = {}, g[p] = { weight: 1 - }, g), m.Ki = p); - m = h[p] = u; + }, g), m.Fh = p); + m = h[p] = t; } return { - hg: "s0", - Ca: h, - Yd: "lazy" + Oe: "s0", + wa: h, + ie: "lazy" }; }; - b.Hga = function (l, d, g) { + b.Bga = function (l, d, g) { var h, - r, + q, p, - u; + t; try { - for (var m = c.__values(Object.keys(l.Ca)), n = m.next(); !n.done; n = m.next()) { - r = n.value; - p = l.Ca[r]; - if (p.da === d) { - u = f.S.rb(p.xc); - if (g.xp(u) && (null === p.Yc || void 0 === p.Yc || g.lessThan(f.S.rb(p.Yc)))) + for (var m = c.__values(Object.keys(l.wa)), n = m.next(); !n.done; n = m.next()) { + q = n.value; + p = l.wa[q]; + if (p.$ === d) { + t = f.S.rb(p.jc); + if (g.On(t) && (null === p.Fc || void 0 === p.Fc || g.lessThan(f.S.rb(p.Fc)))) return { - va: r, - offset: g.Ba(u) + va: q, + offset: g.Da(t) }; } } } catch (w) { - var t; - t = { + var u; + u = { error: w }; } @@ -41257,57 +41395,57 @@ a000.D9b = function () { n && !n.done && (h = m.return) && h.call(m); } finally { - if (t) - throw t.error; + if (u) + throw u.error; } } }; - }, function (q) { + }, function (r) { function b() {} function a(c) { - this.WKa = c; - this.Fo = []; + this.UKa = c; + this.Go = []; this.bg = null; } b.prototype.clear = function () { - this.He = null; + this.Je = null; this.size = 0; }; b.prototype.find = function (c) { var k; - for (var f = this.He; null !== f; ) { - k = this.mm(c, f.data); + for (var f = this.Je; null !== f; ) { + k = this.lm(c, f.data); if (0 === k) return f.data; - f = f.Qg(0 < k); + f = f.Pg(0 < k); } return null; }; b.prototype.lowerBound = function (c) { var d; - for (var f = this.He, k = this.iterator(), l = this.mm; null !== f; ) { + for (var f = this.Je, k = this.iterator(), l = this.lm; null !== f; ) { d = l(c, f.data); if (0 === d) return (k.bg = f, k); - k.Fo.push(f); - f = f.Qg(0 < d); + k.Go.push(f); + f = f.Pg(0 < d); } - for (d = k.Fo.length - 1; 0 <= d; --d) { - if ((f = k.Fo[d], 0 > l(c, f.data))) - return (k.bg = f, k.Fo.length = d, k); + for (d = k.Go.length - 1; 0 <= d; --d) { + if ((f = k.Go[d], 0 > l(c, f.data))) + return (k.bg = f, k.Go.length = d, k); } - k.Fo.length = 0; + k.Go.length = 0; return k; }; b.prototype.upperBound = function (c) { - for (var f = this.lowerBound(c), k = this.mm; null !== f.data() && 0 === k(f.data(), c); ) { + for (var f = this.lowerBound(c), k = this.lm; null !== f.data() && 0 === k(f.data(), c); ) { f.next(); } return f; }; b.prototype.min = function () { var c; - c = this.He; + c = this.Je; if (null === c) return null; for (; null !== c.left; ) { @@ -41317,7 +41455,7 @@ a000.D9b = function () { }; b.prototype.max = function () { var c; - c = this.He; + c = this.Je; if (null === c) return null; for (; null !== c.right; ) { @@ -41328,7 +41466,7 @@ a000.D9b = function () { b.prototype.iterator = function () { return new a(this); }; - b.prototype.Te = function (c) { + b.prototype.Ue = function (c) { for (var f = this.iterator(), k; null !== (k = f.next()); ) { c(k); } @@ -41339,482 +41477,439 @@ a000.D9b = function () { a.prototype.next = function () { var c; if (null === this.bg) { - c = this.WKa.He; - null !== c && this.RJa(c); + c = this.UKa.Je; + null !== c && this.PJa(c); } else if (null === this.bg.right) { do { - if ((c = this.bg, this.Fo.length)) - this.bg = this.Fo.pop(); + if ((c = this.bg, this.Go.length)) + this.bg = this.Go.pop(); else { this.bg = null; break; } } while (this.bg.right === c); - } else (this.Fo.push(this.bg), this.RJa(this.bg.right)); + } else (this.Go.push(this.bg), this.PJa(this.bg.right)); return null !== this.bg ? this.bg.data : null; }; - a.prototype.xG = function () { + a.prototype.EG = function () { var c; if (null === this.bg) { - c = this.WKa.He; - null !== c && this.NJa(c); + c = this.UKa.Je; + null !== c && this.LJa(c); } else if (null === this.bg.left) { do { - if ((c = this.bg, this.Fo.length)) - this.bg = this.Fo.pop(); + if ((c = this.bg, this.Go.length)) + this.bg = this.Go.pop(); else { this.bg = null; break; } } while (this.bg.left === c); - } else (this.Fo.push(this.bg), this.NJa(this.bg.left)); + } else (this.Go.push(this.bg), this.LJa(this.bg.left)); return null !== this.bg ? this.bg.data : null; }; - a.prototype.RJa = function (c) { + a.prototype.PJa = function (c) { for (; null !== c.left; ) { - this.Fo.push(c); + this.Go.push(c); c = c.left; } this.bg = c; }; - a.prototype.NJa = function (c) { + a.prototype.LJa = function (c) { for (; null !== c.right; ) { - this.Fo.push(c); + this.Go.push(c); c = c.right; } this.bg = c; }; - q.exports = b; - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.paa = void 0; - q = (function () { - function a(c, f, k, l) { - var d; - d = this; - this.properties = c; - this.transform = f; - this.MR = k; - this.state = l; - this.Voa = function () { - var g, - h; - g = d.state; - h = d.properties.map(function (m) { - return m.value; - }); - d.state = d.transform(h); - (d.gWa(d.state) && d.gWa(g) ? d.state.equal(g) : g === d.state) || d.MR(d.state); - }; - c.forEach(function (g) { - return g.addListener(d.Voa); - }); - this.Voa(); - } - a.prototype.clear = function () { - var c; - c = this; - this.properties.forEach(function (f) { - return f.removeListener(c.Voa); - }); - }; - a.prototype.gWa = function (c) { - return void 0 !== c.equal; - }; - return a; - })(); - b.paa = q; - }, function (q) { + r.exports = b; + }, function (r) { function b(a) { - this.fda = a; - this.Kf = []; - this.yq = !1; - this.vE = void 0; - this.tj = {}; + this.$ca = a; + this.Lf = []; + this.Aq = !1; + this.xE = void 0; + this.qj = {}; } - b.prototype.v0 = function (a) { - this.Kf.length === this.fda && this.Kf.shift(); - Array.isArray(a) ? this.Kf = this.Kf.concat(a) : this.Kf.push(a); - this.yq = !0; + b.prototype.x0 = function (a) { + this.Lf.length === this.$ca && this.Lf.shift(); + Array.isArray(a) ? this.Lf = this.Lf.concat(a) : this.Lf.push(a); + this.Aq = !0; }; - b.prototype.gL = function () { - return this.Kf.length; + b.prototype.jL = function () { + return this.Lf.length; }; - b.prototype.Hfa = function () { + b.prototype.Afa = function () { var a; - a = this.Kf; + a = this.Lf; return 0 < a.length ? a.reduce(function (c, f) { return c + f; - }, 0) / this.Kf.length : void 0; + }, 0) / this.Lf.length : void 0; }; - b.prototype.b1 = function () { + b.prototype.d1 = function () { var a, c; - a = this.Kf; + a = this.Lf; if (0 < a.length) { - c = this.Hfa(); + c = this.Afa(); a = a.reduce(function (f, k) { return f + k * k; }, 0) / a.length; return Math.sqrt(a - c * c); } }; - b.prototype.ms = function (a) { + b.prototype.qs = function (a) { var c, f, k; - if (this.yq || void 0 === this.vE) - (this.vE = this.Kf.slice(0).sort(function (l, d) { + if (this.Aq || void 0 === this.xE) + (this.xE = this.Lf.slice(0).sort(function (l, d) { return l - d; - }), this.tj = {}, this.yq = !1); - if (void 0 === this.tj[a]) { - c = this.vE; + }), this.qj = {}, this.Aq = !1); + if (void 0 === this.qj[a]) { + c = this.xE; f = Math.floor(a / 100 * (c.length - 1) + 1) - 1; k = (a / 100 * (c.length - 1) + 1) % 1; - this.tj[a] = f === c.length - 1 ? c[f] : c[f] + k * (c[f + 1] - c[f]); + this.qj[a] = f === c.length - 1 ? c[f] : c[f] + k * (c[f + 1] - c[f]); } - return this.tj[a]; + return this.qj[a]; }; - q.exports = b; - }, function (q, b, a) { - q.exports = { - z4b: a(381), - E7b: a(225), - iZb: a(786), - hZb: a(382), - jZb: a(383), - Dya: a(789) + r.exports = b; + }, function (r, b, a) { + r.exports = { + G4b: a(386), + S7b: a(228), + jZb: a(795), + iZb: a(387), + kZb: a(388), + Bya: a(798) }; - }, function (q, b, a) { + }, function (r, b, a) { var l; function c(d) { this.reset(); - this.fSb(d); + this.iSb(d); } function f(d) { this.setInterval(d); this.reset(); } function k(d) { - this.vA = new f(d); - this.ve = 0; - this.Ac = null; + this.xA = new f(d); + this.xe = 0; + this.Cc = null; } l = a(10); - c.prototype.fSb = function (d) { - this.JI = Math.pow(.5, 1 / d); - this.rQ = d; + c.prototype.iSb = function (d) { + this.NI = Math.pow(.5, 1 / d); + this.sQ = d; }; c.prototype.reset = function (d) { - d && d.Ea && l.xa(d.Ea) ? d.vi && l.xa(d.vi) ? (this.uu = this.Fgb, this.Go = d.Ea, this.rA = d.vi + d.Ea * d.Ea) : (this.uu = this.Fgb, this.Go = d.Ea, this.rA = d.Ea * d.Ea) : this.rA = this.Go = this.uu = 0; + d && d.Fa && l.ya(d.Fa) ? d.vi && l.ya(d.vi) ? (this.zu = this.Ggb, this.Ho = d.Fa, this.tA = d.vi + d.Fa * d.Fa) : (this.zu = this.Ggb, this.Ho = d.Fa, this.tA = d.Fa * d.Fa) : this.tA = this.Ho = this.zu = 0; }; c.prototype.add = function (d) { var g; - if (l.xa(d)) { - this.uu++; - g = this.JI; - this.Go = g * this.Go + (1 - g) * d; - this.rA = g * this.rA + (1 - g) * d * d; + if (l.ya(d)) { + this.zu++; + g = this.NI; + this.Ho = g * this.Ho + (1 - g) * d; + this.tA = g * this.tA + (1 - g) * d * d; } }; c.prototype.get = function () { var d, g, h; - if (0 === this.uu) + if (0 === this.zu) return { - Ea: 0, + Fa: 0, vi: 0 }; - d = this.Go; - g = this.rA; - h = 1 - Math.pow(this.JI, this.uu); + d = this.Ho; + g = this.tA; + h = 1 - Math.pow(this.NI, this.zu); d /= h; g /= h; h = d * d; return { - Ea: Math.floor(d), + Fa: Math.floor(d), vi: Math.floor(g > h ? g - h : 0) }; }; c.prototype.getState = function () { - return 0 === this.uu ? null : { - a: Number(this.Go.toPrecision(6)), - s: Number(this.rA.toPrecision(6)), - n: this.uu - }; - }; - c.prototype.Ce = function (d) { - if (l.ob(d) || !l.has(d, "a") || !l.has(d, "s") || !l.isFinite(d.a) || !l.isFinite(d.s)) - return (this.rA = this.Go = this.uu = 0, !1); - this.Go = d.a; - this.rA = d.s; - l.has(d, "n") && l.xa(d.n) ? this.uu = d.n : this.uu = 16 * this.rQ; + return 0 === this.zu ? null : { + a: Number(this.Ho.toPrecision(6)), + s: Number(this.tA.toPrecision(6)), + n: this.zu + }; + }; + c.prototype.Ee = function (d) { + if (l.tb(d) || !l.has(d, "a") || !l.has(d, "s") || !l.isFinite(d.a) || !l.isFinite(d.s)) + return (this.tA = this.Ho = this.zu = 0, !1); + this.Ho = d.a; + this.tA = d.s; + l.has(d, "n") && l.ya(d.n) ? this.zu = d.n : this.zu = 16 * this.sQ; return !0; }; f.prototype.setInterval = function (d) { - this.rQ = d; - this.JI = -Math.log(.5) / d; + this.sQ = d; + this.NI = -Math.log(.5) / d; }; f.prototype.reset = function (d) { this.ib = this.gf = null; - d && l.isFinite(d.Ea) ? this.Go = d.Ea : this.Go = 0; + d && l.isFinite(d.Fa) ? this.Ho = d.Fa : this.Ho = 0; }; f.prototype.start = function (d) { - l.ob(this.gf) && (this.ib = this.gf = d); + l.tb(this.gf) && (this.ib = this.gf = d); }; f.prototype.add = function (d, g, h) { var m, n; - l.ob(this.gf) && (this.ib = this.gf = g); + l.tb(this.gf) && (this.ib = this.gf = g); this.gf = Math.min(this.gf, g); g = Math.max(h - g, 1); - m = this.JI; + m = this.NI; n = h > this.ib ? h : this.ib; - this.Go = this.Go * (n > this.ib ? Math.exp(-m * (n - this.ib)) : 1) + 8 * d / g * (1 - Math.exp(-m * g)) * (h > n ? Math.exp(-m * (n - h)) : 1); + this.Ho = this.Ho * (n > this.ib ? Math.exp(-m * (n - this.ib)) : 1) + 8 * d / g * (1 - Math.exp(-m * g)) * (h > n ? Math.exp(-m * (n - h)) : 1); this.ib = n; }; f.prototype.get = function (d) { var g; d = Math.max(d, this.ib); - g = this.Go * Math.exp(-this.JI * (d - this.ib)); - d = 1 - Math.exp(-this.JI * (d - this.gf)); + g = this.Ho * Math.exp(-this.NI * (d - this.ib)); + d = 1 - Math.exp(-this.NI * (d - this.gf)); 0 < d && (g /= d); return { - Ea: Math.floor(g) + Fa: Math.floor(g) }; }; f.prototype.toString = function () { - return "ewmav(" + this.rQ + ")"; + return "ewmav(" + this.sQ + ")"; }; k.prototype.setInterval = function (d) { - this.vA.setInterval(d); + this.xA.setInterval(d); }; k.prototype.reset = function (d) { - this.vA.reset(d); - this.ve = 0; - this.Ac = null; + this.xA.reset(d); + this.xe = 0; + this.Cc = null; }; k.prototype.start = function (d) { - !l.ob(this.Ac) && d > this.Ac && (this.ve += d - this.Ac, this.Ac = null); - this.vA.start(d - this.ve); + !l.tb(this.Cc) && d > this.Cc && (this.xe += d - this.Cc, this.Cc = null); + this.xA.start(d - this.xe); }; k.prototype.add = function (d, g, h) { - !l.ob(this.Ac) && h > this.Ac && (this.ve += g > this.Ac ? g - this.Ac : 0, this.Ac = null); - this.vA.add(d, g - this.ve, h - this.ve); + !l.tb(this.Cc) && h > this.Cc && (this.xe += g > this.Cc ? g - this.Cc : 0, this.Cc = null); + this.xA.add(d, g - this.xe, h - this.xe); }; k.prototype.stop = function (d) { - this.Ac = Math.max(l.ob(this.vA.ib) ? 0 : this.vA.ib + this.ve, l.ob(this.Ac) ? d : Math.min(this.Ac, d)); + this.Cc = Math.max(l.tb(this.xA.ib) ? 0 : this.xA.ib + this.xe, l.tb(this.Cc) ? d : Math.min(this.Cc, d)); }; k.prototype.get = function (d) { - return this.vA.get((l.ob(this.Ac) ? d : this.Ac) - this.ve); + return this.xA.get((l.tb(this.Cc) ? d : this.Cc) - this.xe); }; k.prototype.toString = function () { - return this.vA.toString(); + return this.xA.toString(); }; - q.exports = { - f$a: c, - BZb: f, - d$a: k + r.exports = { + h$a: c, + CZb: f, + f$a: k }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l, d, g, h) { f.call(this, g, h); - this.Bu = new k(l); - this.jhb = d; + this.Gu = new k(l); + this.khb = d; } f = a(145); - k = a(379); + k = a(384); c.prototype = Object.create(f.prototype); c.prototype.shift = function () { var l; - l = this.Ev(0); + l = this.Kv(0); f.prototype.shift.call(this); - null !== l && this.Bu.v0(l); + null !== l && this.Gu.x0(l); return l; }; c.prototype.flush = function () { var l; l = this.get(); - this.Bu.v0(l); + this.Gu.x0(l); f.prototype.reset.call(this); return l; }; c.prototype.get = function () { var l; - l = this.yT(); + l = this.wT(); return { - sampleSize: this.gL(), - q6: l, - XU: l.Jj ? (l.il - l.gl) / l.Jj : void 0 + sampleSize: this.jL(), + p6: l, + WU: l.Ij ? (l.il - l.gl) / l.Ij : void 0 }; }; - c.prototype.gL = function () { - return this.Bu.gL(); + c.prototype.jL = function () { + return this.Gu.jL(); }; - c.prototype.yT = function () { - return this.Bu.gL() < this.jhb ? { + c.prototype.wT = function () { + return this.Gu.jL() < this.khb ? { gl: void 0, - Jj: void 0, + Ij: void 0, il: void 0, sampleSize: void 0, - Si: void 0 + Qi: void 0 } : { - gl: this.Bu.ms(25), - Jj: this.Bu.ms(50), - il: this.Bu.ms(75), - sampleSize: this.Bu.gL(), - Si: this.Bu.ms.bind(this.Bu) + gl: this.Gu.qs(25), + Ij: this.Gu.qs(50), + il: this.Gu.qs(75), + sampleSize: this.Gu.jL(), + Qi: this.Gu.qs.bind(this.Gu) }; }; c.prototype.toString = function () { - return "biqr(" + this.HJ + "," + this.qd + "," + this.wj + ")"; + return "biqr(" + this.JJ + "," + this.rd + "," + this.tj + ")"; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f, k; function c(l) { this.I = { - yU: l.maxc || 25, - wga: l.c || .5, - kYb: l.w || 15E3, - Ax: l.b || 5E3 + xU: l.maxc || 25, + qga: l.c || .5, + mYb: l.w || 15E3, + Fx: l.b || 5E3 }; - f.call(this, this.I.kYb, this.I.Ax); - this.QQ(); + f.call(this, this.I.mYb, this.I.Fx); + this.SQ(); } f = a(145); - k = a(223).TDigest; + k = a(226).TDigest; c.prototype = Object.create(f.prototype); c.prototype.shift = function () { var l; - l = this.Ev(0); + l = this.Kv(0); f.prototype.shift.call(this); - null !== l && (this.Ie.push(l, 1), this.yq = !0); + null !== l && (this.Ke.push(l, 1), this.Aq = !0); return l; }; c.prototype.flush = function () { var l; l = this.get(); - this.Ie.push(l, 1); - this.yq = !0; + this.Ke.push(l, 1); + this.Aq = !0; f.prototype.reset.call(this); return l; }; c.prototype.get = function () { return this.AUa(); }; - c.prototype.my = function () { + c.prototype.qy = function () { var l; l = this.AUa(); return { min: l.min, p10: l.j6, p25: l.gl, - p50: l.Jj, + p50: l.Ij, p75: l.il, p90: l.k6, max: l.max, - centroidSize: l.$nb, + centroidSize: l.aob, sampleSize: l.sampleSize, centroids: l.ci }; }; c.prototype.AUa = function () { var l; - if (0 === this.Ie.size()) + if (0 === this.Ke.size()) return null; - l = this.Ie.Si([0, .1, .25, .5, .75, .9, 1]); + l = this.Ke.Qi([0, .1, .25, .5, .75, .9, 1]); if (l[2] === l[4]) return null; - if (this.yq || !this.If) - (this.yq = !1, this.If = { + if (this.Aq || !this.Jf) + (this.Aq = !1, this.Jf = { min: l[0], j6: l[1], gl: l[2], - Jj: l[3], + Ij: l[3], il: l[4], k6: l[5], max: l[6], - Si: this.Ie.Si.bind(this.Ie), - $nb: this.Ie.size(), - sampleSize: this.Ie.n, - ci: this.Oyb(), - my: this.my.bind(this) + Qi: this.Ke.Qi.bind(this.Ke), + aob: this.Ke.size(), + sampleSize: this.Ke.n, + ci: this.Syb(), + qy: this.qy.bind(this) }); - return this.If; + return this.Jf; }; - c.prototype.Oyb = function () { + c.prototype.Syb = function () { var l; - if (0 === this.Ie.size()) + if (0 === this.Ke.size()) return null; - if (!this.yq && this.If) - return this.If.centroids; - l = this.Ie.Si([.25, .75]); + if (!this.Aq && this.Jf) + return this.Jf.centroids; + l = this.Ke.Qi([.25, .75]); if (l[0] === l[1]) return null; - this.Ie.size() > this.I.yU && this.Ie.Kx(); - l = this.Ie.no(!1).map(function (d) { + this.Ke.size() > this.I.xU && this.Ke.Px(); + l = this.Ke.oo(!1).map(function (d) { return { - mean: d.Rf, + mean: d.Sf, n: d.n }; }); return JSON.stringify(l); }; c.prototype.wUa = function () { - return this.Ie.summary(); + return this.Ke.summary(); }; c.prototype.size = function () { - return this.Ie.size(); + return this.Ke.size(); }; c.prototype.toString = function () { - return "btdtput(" + this.HJ + "," + this.qd + "," + this.wj + "): " + this.Ie.summary(); + return "btdtput(" + this.JJ + "," + this.rd + "," + this.tj + "): " + this.Ke.summary(); }; - c.prototype.QQ = function () { - this.Ie = new k(this.I.wga, this.I.yU); + c.prototype.SQ = function () { + this.Ke = new k(this.I.qga, this.I.xU); }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f, k; function c(l) { this.I = { - yU: l.maxc || 25, - wga: l.c || .5, - QOb: l.rc || "none", - hCb: l.hl || 7200 - }; - this.QQ(); - this.Jib = this.I.QOb; - this.rQ = this.I.hCb; - this.Vba = Math.exp(Math.log(2) / this.rQ); - this.Vba = Math.max(this.Vba, 1); - this.d_ = 1; + xU: l.maxc || 25, + qga: l.c || .5, + VOb: l.rc || "none", + jCb: l.hl || 7200 + }; + this.SQ(); + this.Kib = this.I.VOb; + this.sQ = this.I.jCb; + this.Pba = Math.exp(Math.log(2) / this.sQ); + this.Pba = Math.max(this.Pba, 1); + this.g_ = 1; } f = a(10); - k = a(223).TDigest; - new(a(4).default.Console)("ASEJS_NETWORK_HISTORY", "media|asejs"); + k = a(226).TDigest; + new(a(5).default.Console)("ASEJS_NETWORK_HISTORY", "media|asejs"); c.prototype.getState = function () { var l; - if (0 === this.Ie.size()) + if (0 === this.Ke.size()) return null; - l = this.Ie.Si([.25, .75]); + l = this.Ke.Qi([.25, .75]); if (l[0] === l[1]) return null; - this.Ie.size() > this.I.yU && this.Ie.Kx(); - l = this.Ie.no(!1).reduce((function (d, g) { - f.xa(g.Rf) && f.xa(g.n) && d.push({ - mean: g.Rf, - n: g.n / this.d_ + this.Ke.size() > this.I.xU && this.Ke.Px(); + l = this.Ke.oo(!1).reduce((function (d, g) { + f.ya(g.Sf) && f.ya(g.n) && d.push({ + mean: g.Sf, + n: g.n / this.g_ }); return d; }).bind(this), []); @@ -41822,9 +41917,9 @@ a000.D9b = function () { tdigest: JSON.stringify(l) }; }; - c.prototype.Ce = function (l) { + c.prototype.Ee = function (l) { var d; - if (f.ob(l) || !f.has(l, "tdigest") || !f.ze(l.tdigest)) + if (f.tb(l) || !f.has(l, "tdigest") || !f.Be(l.tdigest)) return !1; try { d = JSON.parse(l.tdigest); @@ -41836,92 +41931,73 @@ a000.D9b = function () { }); l = d.map(function (g) { return { - Rf: g.mean, + Sf: g.mean, n: g.n }; }); - this.d_ = 1; - this.Ie.gqa(l); - void 0 === this.Ie.Si(0) && this.QQ(); + this.g_ = 1; + this.Ke.aqa(l); + void 0 === this.Ke.Qi(0) && this.SQ(); }; c.prototype.get = function () { var l, d; - l = this.Ie; - d = l.Si([0, .1, .25, .5, .75, .9, 1]); + l = this.Ke; + d = l.Qi([0, .1, .25, .5, .75, .9, 1]); return { min: d[0], j6: d[1], gl: d[2], - Jj: d[3], + Ij: d[3], il: d[4], k6: d[5], max: d[6], - ci: l.no(!1) + ci: l.oo(!1) }; }; - c.LAb = function (l) { + c.OAb = function (l) { var d; d = new c({}); - f.ob(l) || f.ga(l) || !f.isArray(l.ci) || (d.Ie.gqa(l.ci), void 0 === d.Ie.Si(0) && d.QQ()); - l = d.Ie.Si([.25, .75]); + f.tb(l) || f.fa(l) || !f.isArray(l.ci) || (d.Ke.aqa(l.ci), void 0 === d.Ke.Qi(0) && d.SQ()); + l = d.Ke.Qi([.25, .75]); return l[0] === l[1] ? null : function (g) { - return d.Ie.Si(g); + return d.Ke.Qi(g); }; }; c.prototype.add = function (l) { var d; d = 1; - "ewma" === this.Jib && (this.d_ = d = this.d_ * this.Vba); - this.Ie.push(l, d); + "ewma" === this.Kib && (this.g_ = d = this.g_ * this.Pba); + this.Ke.push(l, d); }; c.prototype.toString = function () { - return "TDigestHist(" + this.Ie.summary() + ")"; + return "TDigestHist(" + this.Ke.summary() + ")"; }; - c.prototype.QQ = function () { - this.Ie = new k(this.I.wga, this.I.yU); + c.prototype.SQ = function () { + this.Ke = new k(this.I.qga, this.I.xU); }; - q.exports = { - WGa: c + r.exports = { + SGa: c }; - }, function (q) { + }, function (r) { (function () { var k00; k00 = 2; for (; k00 !== 8; ) { switch (k00) { - case 4: - var Y9b = "1"; - Y9b += "SIYb"; - Y9b += "ZrNJ"; - Y9b += "C"; - Y9b += "p9"; - b.prototype.get = function () { - var p00; - p00 = 2; - for (; p00 !== 1; ) { - switch (p00) { - case 2: - return { - Ea: this.HA ? Math.floor(8 * this.Fc / this.HA) : null, - V1: this.HA ? this.HA : 0 - }; - break; - } - } - }; - q.exports = b; - Y9b; - k00 = 8; - break; case 2: + var a1q = "1SIY"; + a1q += "bZ"; + a1q += "rNJC"; + a1q += "p"; + a1q += "9"; b.prototype.start = function (a) { var m00; m00 = 2; for (; m00 !== 1; ) { switch (m00) { case 2: - this.gf ? a < this.gf ? (this.HA += this.gf - a, this.gf = a) : a > this.ib && (this.ib = this.gf = a) : this.ib = this.gf = a; + this.gf ? a < this.gf ? (this.JA += this.gf - a, this.gf = a) : a > this.ib && (this.ib = this.gf = a) : this.ib = this.gf = a; m00 = 1; break; } @@ -41933,7 +42009,7 @@ a000.D9b = function () { for (; n00 !== 1; ) { switch (n00) { case 2: - this.ib && a > this.ib && (this.HA += a - this.ib, this.ib = a); + this.ib && a > this.ib && (this.JA += a - this.ib, this.ib = a); n00 = 1; break; } @@ -41947,13 +42023,29 @@ a000.D9b = function () { case 2: this.start(c); this.stop(f); - this.Fc += a; + this.Hc += a; o00 = 4; break; } } }; - k00 = 4; + b.prototype.get = function () { + var p00; + p00 = 2; + for (; p00 !== 1; ) { + switch (p00) { + case 2: + return { + Fa: this.JA ? Math.floor(8 * this.Hc / this.JA) : null, + X1: this.JA ? this.JA : 0 + }; + break; + } + } + }; + r.exports = b; + a1q; + k00 = 8; break; } } @@ -41962,8 +42054,17 @@ a000.D9b = function () { l00 = 2; for (; l00 !== 5; ) { switch (l00) { + case 3: + this.JA = this.Hc = 9; + l00 = 2; + break; + l00 = 1; + break; case 2: - this.HA = this.Fc = 0; + this.JA = this.Hc = 0; + l00 = 1; + break; + case 1: this.ib = this.gf = void 0; l00 = 5; break; @@ -41971,17 +42072,7 @@ a000.D9b = function () { } } })(); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.Gr = void 0; - q = b.Gr || (b.Gr = {}); - q[q.CLOSED = 0] = "CLOSED"; - q[q.OPEN = 1] = "OPEN"; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -41993,37 +42084,37 @@ a000.D9b = function () { value: !0 } }); - b.mza = b.z$ = void 0; + b.kza = b.r$ = void 0; c = a(2); f = c.__importStar(a(10)); - k = c.__importDefault(a(4)); - l = a(806); - d = a(807); + k = c.__importDefault(a(5)); + l = a(808); + d = a(809); g = (function () { return function () { - this.L0 = new d.AP(100); + this.N0 = new d.AP(100); this.L5 = new d.AP(100); }; })(); - q = (function () { - function h(m, n, r) { + r = (function () { + function h(m, n, q) { var p, - u, - t; + t, + u; this.I = n; - this.H = r; - this.a0 = m; - p = this.zJ = this.NI = this.MI = 0; - u = 0; + this.H = q; + this.c0 = m; + p = this.BJ = this.SI = this.RI = 0; t = 0; - this.a0.length >= this.I.w5 && (this.a0.forEach(function (w) { - !(w = w.get().pxb) || f.ga(w.avtp) || f.ga(w.neuhd) || (p += w.avtp, u += 1 * w.neuhd, t++); - }), this.zJ = t, this.MI = p / t, this.NI = u / t); + u = 0; + this.c0.length >= this.I.w5 && (this.c0.forEach(function (w) { + !(w = w.get().uxb) || f.fa(w.avtp) || f.fa(w.neuhd) || (p += w.avtp, t += 1 * w.neuhd, u++); + }), this.BJ = u, this.RI = p / u, this.SI = t / u); } Object.defineProperties(h.prototype, { kmb: { get: function () { - return this.MI; + return this.RI; }, enumerable: !1, configurable: !0 @@ -42032,125 +42123,125 @@ a000.D9b = function () { Object.defineProperties(h.prototype, { lmb: { get: function () { - return this.NI; + return this.SI; }, enumerable: !1, configurable: !0 } }); h.prototype.t4 = function () { - return this.zJ >= this.I.w5 && this.MI >= this.I.baselineHighAndStableThreshold.bwThreshold && this.NI < this.I.baselineHighAndStableThreshold.nethreshold; + return this.BJ >= this.I.w5 && this.RI >= this.I.baselineHighAndStableThreshold.bwThreshold && this.SI < this.I.baselineHighAndStableThreshold.nethreshold; }; return h; })(); - b.z$ = q; - q = (function (h) { - function m(n, r, p) { - n = h.call(this, n, r, p) || this; - n.Lba = []; - n.zwb = {}; - n.M4a = []; - n.Nx = new g(); - n.a0.length >= n.I.w5 && (n.aLa("avtp", n.Nx.L0), n.aLa("neuhd", n.Nx.L5)); + b.r$ = r; + r = (function (h) { + function m(n, q, p) { + n = h.call(this, n, q, p) || this; + n.Fba = []; + n.Fwb = {}; + n.O4a = []; + n.Sx = new g(); + n.c0.length >= n.I.w5 && (n.ZKa("avtp", n.Sx.N0), n.ZKa("neuhd", n.Sx.L5)); return n; } c.__extends(m, h); m.prototype.t4 = function () { var n; - this.KAb(); - n = new l.ZAa(this.H, this.M4a, this.Dmb); - n.Ppa(this.Lba); - n = n.Job(this.I.J3.Z6b); - return this.fXb && 1 === n && this.zJ >= this.I.w5; + this.NAb(); + n = new l.XAa(this.H, this.O4a, this.Dmb); + n.Jpa(this.Fba); + n = n.Kob(this.I.K3.j7b); + return this.hXb && 1 === n && this.BJ >= this.I.w5; }; - m.prototype.mT = function () { + m.prototype.kT = function () { var n, - r, + q, p, - u; + t; n = {}; - r = k.default.time.now(); - p = new Date(r); - u = p.getHours(); - n.currentMonoTime = r; + q = k.default.time.now(); + p = new Date(q); + t = p.getHours(); + n.currentMonoTime = q; n.currentTime = p.getTime(); - n.currentHour = u; + n.currentHour = t; return n; }; - m.prototype.TSa = function (n, r, p) { - n = "avtp" === n ? this.MI : this.NI; - for (var u = r.b1(), t = 0, w = "skew" === p ? 3 : 4, v = 0; v < r.Kf.length; v++) { - f.ga(n) || f.ga(u) || (t += Math.pow(r.Kf[v] - n, w)); + m.prototype.TSa = function (n, q, p) { + n = "avtp" === n ? this.RI : this.SI; + for (var t = q.d1(), u = 0, w = "skew" === p ? 3 : 4, v = 0; v < q.Lf.length; v++) { + f.fa(n) || f.fa(t) || (u += Math.pow(q.Lf[v] - n, w)); } - t /= r.Kf.length; - return !f.ga(u) && 0 < u ? t / Math.pow(u, w) - 3 * ("skew" === p ? 0 : 1) : NaN; + u /= q.Lf.length; + return !f.fa(t) && 0 < t ? u / Math.pow(t, w) - 3 * ("skew" === p ? 0 : 1) : NaN; }; - m.prototype.lTa = function (n, r, p) { - var u; - u = 0; - "lte" === p ? u = n.reduce(function (t, w) { - return w <= r ? t + 1 : t; - }, 0) / (1 * n.length) : "gte" === p && (u = n.reduce(function (t, w) { - return w >= r ? t + 1 : t; + m.prototype.lTa = function (n, q, p) { + var t; + t = 0; + "lte" === p ? t = n.reduce(function (u, w) { + return w <= q ? u + 1 : u; + }, 0) / (1 * n.length) : "gte" === p && (t = n.reduce(function (u, w) { + return w >= q ? u + 1 : u; }, 0) / (1 * n.length)); - return u; + return t; }; - m.prototype.tAb = function (n) { - var r, + m.prototype.wAb = function (n) { + var q, p; - r = n.ms(25); - p = n.ms(50); - n = n.ms(75); - return f.ga(r) || f.ga(p) || f.ga(n) ? NaN : 0 < p ? (n - r) / p : NaN; + q = n.qs(25); + p = n.qs(50); + n = n.qs(75); + return f.fa(q) || f.fa(p) || f.fa(n) ? NaN : 0 < p ? (n - q) / p : NaN; }; - m.prototype.Fyb = function (n, r) { - n = "avtp" === n ? this.MI : this.NI; - r = r.b1(); - return !f.ga(r) && !f.ga(n) && (0 < r || 0 < n) && 0 < n ? (n - r) / (n + r) : NaN; + m.prototype.Kyb = function (n, q) { + n = "avtp" === n ? this.RI : this.SI; + q = q.d1(); + return !f.fa(q) && !f.fa(n) && (0 < q || 0 < n) && 0 < n ? (n - q) / (n + q) : NaN; }; - m.prototype.yT = function (n, r) { - n = n.ms(r); - return f.ga(n) ? NaN : n; + m.prototype.wT = function (n, q) { + n = n.qs(q); + return f.fa(n) ? NaN : n; }; - m.prototype.normalize = function (n, r, p) { - return !isNaN(n) && 0 < p ? (n - r) / p : NaN; + m.prototype.normalize = function (n, q, p) { + return !isNaN(n) && 0 < p ? (n - q) / p : NaN; }; - m.prototype.KAb = function () { + m.prototype.NAb = function () { var n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, - A; + A, + B; n = this; - r = this.I.J3.MXa.K5b; - p = this.I.J3.MXa.I5b; - u = this.I.J3.MXa.J5b; + q = this.I.K3.KXa.U5b; + p = this.I.K3.KXa.S5b; + t = this.I.K3.KXa.T5b; x = []; - A = 0; - this.fXb = !Object.keys(r).some(function (C) { + B = 0; + this.hXb = !Object.keys(q).some(function (C) { var E; - B = NaN; - if (!(r.hasOwnProperty(C) && p.hasOwnProperty(C) && u.hasOwnProperty(C) && !f.ga(n.Nx) && n.Nx.L0 && n.Nx.L5) || 1 > n.zJ || "number" !== typeof r[C] || "number" !== typeof p[C] || "number" !== typeof u[C]) + A = NaN; + if (!(q.hasOwnProperty(C) && p.hasOwnProperty(C) && t.hasOwnProperty(C) && !f.fa(n.Sx) && n.Sx.N0 && n.Sx.L5) || 1 > n.BJ || "number" !== typeof q[C] || "number" !== typeof p[C] || "number" !== typeof t[C]) return !0; - t = r[C]; + u = q[C]; w = p[C]; - v = u[C]; + v = t[C]; x = C.split("_", 2); y = x[0]; z = x[1]; switch (y) { case "avtp": - E = n.Nx.L0; + E = n.Sx.N0; break; case "neuhd": - E = n.Nx.L5; + E = n.Sx.L5; break; default: E = void 0; @@ -42159,64 +42250,64 @@ a000.D9b = function () { if (E) switch (z) { case "last": - B = E.Kf[n.zJ - 1]; + A = E.Lf[n.BJ - 1]; break; case "mean": - B = "avtp" === y ? n.MI : n.NI; + A = "avtp" === y ? n.RI : n.SI; break; case "niqr": - B = n.tAb(E); + A = n.wAb(E); break; case "skew": - B = n.TSa(y, E, "skew"); + A = n.TSa(y, E, "skew"); break; case "kurtosis": - B = n.TSa(y, E, "kurtosis"); + A = n.TSa(y, E, "kurtosis"); break; case "std": - B = E.b1(); + A = E.d1(); break; case "b": - B = n.Fyb(y, E); + A = n.Kyb(y, E); break; default: - -1 !== C.search("[p][1-9]?[1-9]") && (B = n.yT(E, Number(C.split("_p", 2)[1]))); + -1 !== C.search("[p][1-9]?[1-9]") && (A = n.wT(E, Number(C.split("_p", 2)[1]))); } } else switch (C) { case "fracAbove20Mbps": - E = n.Nx.L0; - B = f.ga(E) ? NaN : n.lTa(E.Kf, 2E4, "gte"); + E = n.Sx.N0; + A = f.fa(E) ? NaN : n.lTa(E.Lf, 2E4, "gte"); break; case "fracBelow20p": - E = n.Nx.L5; - B = f.ga(E) ? NaN : n.lTa(E.Kf, .15, "lte"); + E = n.Sx.L5; + A = f.fa(E) ? NaN : n.lTa(E.Lf, .15, "lte"); break; case "hour_current": - B = n.mT().currentHour; + A = n.kT().currentHour; break; case "session_ct": - B = n.zJ; + A = n.BJ; break; case "intercept": - (B = t, n.Dmb = B); + (A = u, n.Dmb = A); } - B = n.normalize(B, w, v); - if (isNaN(B)) + A = n.normalize(A, w, v); + if (isNaN(A)) return !0; - "intercept" !== C && (n.Lba.push(B), n.M4a.push(t), n.zwb[C] = A, A += 1); + "intercept" !== C && (n.Fba.push(A), n.O4a.push(u), n.Fwb[C] = B, B += 1); }); }; - m.prototype.aLa = function (n, r) { - this.a0.forEach(function (p) { - p = p.get().pxb; - !p || "avtp" !== n && "neuhd" !== n || f.ga(p[n]) || r.v0(Number(p[n])); + m.prototype.ZKa = function (n, q) { + this.c0.forEach(function (p) { + p = p.get().uxb; + !p || "avtp" !== n && "neuhd" !== n || f.fa(p[n]) || q.x0(Number(p[n])); }); }; return m; - })(q); - b.mza = q; - }, function (q, b, a) { + })(r); + b.kza = r; + }, function (r, b, a) { var f, k, l, @@ -42234,37 +42325,37 @@ a000.D9b = function () { value: !0 } }); - b.slb = b.qv = b.zba = b.kHa = void 0; - q = a(2); + b.tlb = b.wv = b.tba = b.gHa = void 0; + r = a(2); f = a(6); - q = q.__importDefault(a(4)); + r = r.__importDefault(a(5)); k = a(22); - l = new q.default.Console("FRAGMENTS", "media|asejs"); + l = new r.default.Console("FRAGMENTS", "media|asejs"); d = (function () { function g(h, m) { this.Oc = h; - this.Kg = m; + this.Ig = m; } Object.defineProperties(g.prototype, { index: { get: function () { - return this.Kg; + return this.Ig; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Xc: { + Wc: { get: function () { - return new k.S(this.Xa, this.U); + return new k.S(this.Ya, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Md: { + Kd: { get: function () { return new k.S(this.jb, this.U); }, @@ -42273,9 +42364,9 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - Xa: { + Ya: { get: function () { - return this.Oc.e0 + this.Oc.OA[this.Kg]; + return this.Oc.g0 + this.Oc.RA[this.Ig]; }, enumerable: !1, configurable: !0 @@ -42284,16 +42375,16 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { jb: { get: function () { - return this.Xa + this.Oc.uq[this.Kg]; + return this.Ya + this.Oc.wq[this.Ig]; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Lq: { + Mq: { get: function () { - return this.Oc.uq[this.Kg]; + return this.Oc.wq[this.Ig]; }, enumerable: !1, configurable: !0 @@ -42318,18 +42409,18 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - Z: { + X: { get: function () { - return Math.floor(1E3 * this.Xa / this.U); + return Math.floor(1E3 * this.Ya / this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Aa: { + Ca: { get: function () { - return Math.floor(1E3 * (this.Xa + this.Lq) / this.U); + return Math.floor(1E3 * (this.Ya + this.Mq) / this.U); }, enumerable: !1, configurable: !0 @@ -42338,7 +42429,7 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { duration: { get: function () { - return this.Aa - this.Z; + return this.Ca - this.X; }, enumerable: !1, configurable: !0 @@ -42346,85 +42437,85 @@ a000.D9b = function () { }); g.prototype.toJSON = function () { return { - startPts: 1E3 * this.Xa / this.pa.U, + startPts: 1E3 * this.Ya / this.pa.U, endPts: 1E3 * this.jb / this.pa.U, - duration: 1E3 * this.Lq / this.pa.U, + duration: 1E3 * this.Mq / this.pa.U, index: this.index }; }; return g; })(); - b.kHa = d; + b.gHa = d; a = (function () { - function g(h, m, n, r) { + function g(h, m, n, q) { this.mediaType = h; - this.length = n.fd.length; + this.length = n.gd.length; this.eb = n.U; - this.uq = n.fd; - this.x0 = r && r.tt; - this.HLa = r && r.Gt; - this.gJ = m; - this.Bta = this.Cta = this.JJa = void 0; - this.e0 = n.Bk; - this.OA = new Uint32Array(this.length + 1); + this.wq = n.gd; + this.z0 = q && q.yt; + this.GLa = q && q.Lt; + this.iJ = m; + this.wta = this.xta = this.HJa = void 0; + this.g0 = n.Ck; + this.RA = new Uint32Array(this.length + 1); if (this.length) { for (m = h = 0; m < this.length; ++m) { - this.OA[m] = h; - h += this.uq[m]; + this.RA[m] = h; + h += this.wq[m]; } - this.OA[m] = h; - this.Uba = Math.floor((this.Aa - this.Z) / this.length); + this.RA[m] = h; + this.Oba = Math.floor((this.Ca - this.X) / this.length); } } Object.defineProperties(g.prototype, { - Bk: { + Ck: { get: function () { - return this.$3a(0); + return this.a4a(0); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - eia: { + Yha: { get: function () { - return this.$3a(this.length); + return this.a4a(this.length); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Z: { + X: { get: function () { - return this.Zi(0); + return this.Wi(0); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Aa: { + Ca: { get: function () { - return this.Zi(this.length); + return this.Wi(this.length); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Ll: { + Kl: { get: function () { - return new k.S(this.eia, this.U); + return new k.S(this.Yha, this.U); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Ana: { + vna: { get: function () { - return this.JJa || this.jfb(); + return this.HJa || this.kfb(); }, enumerable: !1, configurable: !0 @@ -42433,7 +42524,7 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { pa: { get: function () { - return this.gJ; + return this.iJ; }, enumerable: !1, configurable: !0 @@ -42448,58 +42539,58 @@ a000.D9b = function () { configurable: !0 } }); - g.prototype.$3a = function (h) { - return this.e0 + this.OA[h]; + g.prototype.a4a = function (h) { + return this.g0 + this.RA[h]; }; - g.prototype.Zi = function (h) { - return Math.floor(1E3 * (this.e0 + this.OA[h]) / this.U); + g.prototype.Wi = function (h) { + return Math.floor(1E3 * (this.g0 + this.RA[h]) / this.U); }; - g.prototype.LS = function (h) { - return this.Zi(h + 1); + g.prototype.KS = function (h) { + return this.Wi(h + 1); }; - g.prototype.fd = function (h) { - return this.LS(h) - this.Zi(h); + g.prototype.gd = function (h) { + return this.KS(h) - this.Wi(h); }; g.prototype.get = function (h) { return new d(this, h); }; - g.prototype.Gm = function (h, m, n) { - if (0 === this.length || h < this.Zi(0)) + g.prototype.Em = function (h, m, n) { + if (0 === this.length || h < this.Wi(0)) return -1; h = Math.max(h, m || 0); - for (var r = 0, p = this.length - 1, u, t; p >= r; ) { - if ((u = r + (p - r >> 1), t = this.Zi(u), h < t)) - p = u - 1; - else if (h >= t + this.fd(u)) - r = u + 1; + for (var q = 0, p = this.length - 1, t, u; p >= q; ) { + if ((t = q + (p - q >> 1), u = this.Wi(t), h < u)) + p = t - 1; + else if (h >= u + this.gd(t)) + q = t + 1; else { - for (; m && u < this.length && this.Zi(u) < m; ) { - ++u; + for (; m && t < this.length && this.Wi(t) < m; ) { + ++t; } - return u < this.length ? u : n ? this.length - 1 : -1; + return t < this.length ? t : n ? this.length - 1 : -1; } } return n ? this.length - 1 : -1; }; - g.prototype.w2 = function (h, m, n) { - h = this.Gm(h, m, n); + g.prototype.x2 = function (h, m, n) { + h = this.Em(h, m, n); return 0 <= h ? this.get(h) : void 0; }; - g.prototype.Kga = function (h, m) { + g.prototype.Ega = function (h, m) { var n, - r; + q; n = Math.floor(m * this.U / 1E3); - m = Math.min(h + Math.ceil(m / this.Uba), this.length); - r = this.OA[m] - this.OA[h]; - if (r > n) { - for (; r >= n; ) { + m = Math.min(h + Math.ceil(m / this.Oba), this.length); + q = this.RA[m] - this.RA[h]; + if (q > n) { + for (; q >= n; ) { --m; - r -= this.uq[m]; + q -= this.wq[m]; } return m - h + 1; } - for (; r < n && m <= this.length; ) { - r += this.uq[m]; + for (; q < n && m <= this.length; ) { + q += this.wq[m]; ++m; } return m - h; @@ -42509,11 +42600,11 @@ a000.D9b = function () { f.assert(void 0 === m || m > h && m <= this.length); return new g(this.mediaType, this.pa, { U: this.U, - Bk: this.e0 + this.OA[h], - fd: this.uq.subarray(h, m) - }, this.x0 && ({ - tt: this.x0.subarray(h, m + 1), - Gt: this.HLa + Ck: this.g0 + this.RA[h], + gd: this.wq.subarray(h, m) + }, this.z0 && ({ + yt: this.z0.subarray(h, m + 1), + Lt: this.GLa })); }; g.prototype.forEach = function (h) { @@ -42536,36 +42627,36 @@ a000.D9b = function () { g.prototype.toJSON = function () { return { length: this.length, - averageFragmentDuration: this.Uba + averageFragmentDuration: this.Oba }; }; g.prototype.dump = function () { var m; - l.trace("TrackFragments: " + this.length + ", averageFragmentDuration: " + this.Uba + "ms"); + l.trace("TrackFragments: " + this.length + ", averageFragmentDuration: " + this.Oba + "ms"); for (var h = 0; h < this.length; ++h) { m = this.get(h); - l.trace("TrackFragments: " + h + ": [" + m.Z + "-" + m.Aa + "]"); + l.trace("TrackFragments: " + h + ": [" + m.X + "-" + m.Ca + "]"); } }; - g.prototype.jfb = function () { + g.prototype.kfb = function () { for (var h = 0, m = 0; m < this.length; m++) { - h = Math.max(this.uq[m], h); + h = Math.max(this.wq[m], h); } - return this.JJa = h; + return this.HJa = h; }; return g; })(); - b.zba = a; - b.qv = c; - a.prototype.Z3a = c(a.prototype.Zi); - c(a.prototype.LS); - c(a.prototype.fd); - b.slb = function (g) { + b.tba = a; + b.wv = c; + a.prototype.$3a = c(a.prototype.Wi); + c(a.prototype.KS); + c(a.prototype.gd); + b.tlb = function (g) { return "[" + Array(g.length).map(function (h, m) { return g[m].toString(); }).join(",") + "]"; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -42573,66 +42664,66 @@ a000.D9b = function () { value: !0 } }); - b.aRa = b.dy = b.Fm = b.mTa = void 0; + b.$Qa = b.iy = b.Dm = b.mTa = void 0; c = a(6); f = a(144); b.mTa = function (k, l) { - return k.Gm(l, void 0, !0); + return k.Em(l, void 0, !0); }; - b.Fm = function (k, l, d, g, h, m) { + b.Dm = function (k, l, d, g, h, m) { var n, - r, + q, p, - u; - f.fm.rp(k); + t; + f.dm.up(k); c.assert(d.Y, "findFirstFragment called without stream fragments"); n = d.Y; - g = Math.max(d.Y.Zi(0), g); - 0 === k && !m && l.ck && !l.VA && d.he && (g = Math.max(d.Y.Zi(0), g + d.he.V)); - r = b.mTa(n, g); - p = d.nk(r); - if (p.Aa < g) + g = Math.max(d.Y.Wi(0), g); + 0 === k && !m && l.dk && !l.XA && d.ee && (g = Math.max(d.Y.Wi(0), g + d.ee.V)); + q = b.mTa(n, g); + p = d.nk(q); + if (p.Ca < g) return p; - u = p.Mia(g); - u ? (0 < u.zk && p.th({ - start: u.zk - }), 0 !== k || l.m5 || (0 > u.od && p.th({ - start: u.zk - }), u.od < (l.ck && !l.VA && d.he ? Math.floor(d.he.V) : 0) && p.AS())) : g >= p.Aa && r < n.length - 1 && (p = d.nk(r + 1)); - 1 === k && h && p.Aa === h && r < n.length - 1 && (p = d.nk(r + 1)); - 0 === k && !p.na && (l.d4 || l.Sub) && m && p.th({}); - p.rN(g); + t = p.Fia(g); + t ? (0 < t.Ak && p.sh({ + start: t.Ak + }), 0 !== k || l.m5 || (0 > t.pd && p.sh({ + start: t.Ak + }), t.pd < (l.dk && !l.XA && d.ee ? Math.floor(d.ee.V) : 0) && p.zS())) : g >= p.Ca && q < n.length - 1 && (p = d.nk(q + 1)); + 1 === k && h && p.Ca === h && q < n.length - 1 && (p = d.nk(q + 1)); + 0 === k && !p.na && (l.e4 || l.Wub) && m && p.sh({}); + p.sN(g); return p; }; - b.dy = function (k, l, d, g, h, m) { + b.iy = function (k, l, d, g, h, m) { var n, - r; - f.fm.rp(k); + q; + f.dm.up(k); n = d.Y; - void 0 === g && (g = n.Aa); - if (h && (h = h.Swb(d, g, k, l, m))) + void 0 === g && (g = n.Ca); + if (h && (h = h.Ywb(d, g, k, l, m))) return h; h = n.pa; - m = g ? g + b.aRa(k, h, l.mz, l.m7) : n.LS(n.length - 1); - n = n.Gm(m, void 0, !0); + m = g ? g + b.$Qa(k, h, l.pz, l.j7) : n.KS(n.length - 1); + n = n.Em(m, void 0, !0); h = d.nk(n); - 0 === n || h.Z !== g || 1 !== k && l.mz || (--n, h = d.nk(n)); + 0 === n || h.X !== g || 1 !== k && l.pz || (--n, h = d.nk(n)); m = 1 === k ? m : g; - if (m < h.Aa) { - r = h.Lia(m); - r && 0 !== r.zk ? h.th({ - end: r.zk - }) : 0 === k && (r || m < h.Z) && 0 !== n ? h = d.nk(n - 1) : 1 === k && r && 0 !== n && (h = d.nk(n - 1)); - } - 0 === k && !h.na && l.d4 && h.th(); - h.rN(g); + if (m < h.Ca) { + q = h.Eia(m); + q && 0 !== q.Ak ? h.sh({ + end: q.Ak + }) : 0 === k && (q || m < h.X) && 0 !== n ? h = d.nk(n - 1) : 1 === k && q && 0 !== n && (h = d.nk(n - 1)); + } + 0 === k && !h.na && l.e4 && h.sh(); + h.sN(g); return h; }; - b.aRa = function (k, l, d, g) { + b.$Qa = function (k, l, d, g) { var h; return 1 === k || g ? 0 : d ? null !== (h = null === l || void 0 === l ? void 0 : l.V) && void 0 !== h ? h : 0 : l ? -l.V : 0; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -42641,35 +42732,35 @@ a000.D9b = function () { value: !0 } }); - b.gva = void 0; - c = a(812); + b.dva = void 0; + c = a(814); f = a(22); a(6); k = a(98); - q = (function () { + r = (function () { function l(d, g, h) { var m; this.I = g; this.H = h; - this.vj = d.track; - this.sjb = d.og; - this.Ly = d.Ly; - this.Kgb = -1 === this.profile.indexOf("none"); - this.iJ = this.Ja = void 0; - g = d.kv; - this.kv = void 0 === g ? !0 : g; - this.R1 = d.R1; - this.fJ = void 0; - this.LJa = this.$f = 0; - this.url = this.QG = this.cd = this.qr = this.Uma = this.location = this.Oa = this.lb = void 0; - this.JB = !1; - this.oma = this.Le = void 0; + this.sj = d.track; + this.tjb = d.ng; + this.Oy = d.Oy; + this.Lgb = -1 === this.profile.indexOf("none"); + this.kJ = this.Ja = void 0; + g = d.rv; + this.rv = void 0 === g ? !0 : g; + this.T1 = d.T1; + this.hJ = void 0; + this.JJa = this.$f = 0; + this.url = this.ZG = this.cd = this.sr = this.Oma = this.location = this.Oa = this.lb = void 0; + this.LB = !1; + this.ima = this.Ne = void 0; g = (d = this.I) && "object" === typeof d.K0a && d.K0a[this.profile]; - "object" === typeof g && (g = g[this.bitrate]) && (this.Q_ = new f.S(g.ticks, g.timescale)); - this.uhb = 0 <= (null === (m = d.Vlb) || void 0 === m ? void 0 : m.indexOf(this.profile)); + "object" === typeof g && (g = g[this.bitrate]) && (this.T_ = new f.S(g.ticks, g.timescale)); + this.vhb = 0 <= (null === (m = d.Vlb) || void 0 === m ? void 0 : m.indexOf(this.profile)); } Object.defineProperties(l.prototype, { - ye: { + Ae: { get: function () { return !!this.Ja; }, @@ -42680,16 +42771,16 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { N: { get: function () { - return this.vj.N; + return this.sj.N; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - da: { + $: { get: function () { - return this.N.da; + return this.N.$; }, enumerable: !1, configurable: !0 @@ -42698,7 +42789,7 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { K: { get: function () { - return this.vj.K; + return this.sj.K; }, enumerable: !1, configurable: !0 @@ -42707,7 +42798,7 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { mediaType: { get: function () { - return this.vj.mediaType; + return this.sj.mediaType; }, enumerable: !1, configurable: !0 @@ -42716,7 +42807,7 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { pa: { get: function () { - return this.vj.pa; + return this.sj.pa; }, enumerable: !1, configurable: !0 @@ -42725,16 +42816,16 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { U: { get: function () { - return this.vj.U; + return this.sj.U; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - cM: { + eM: { get: function () { - return this.vj.cM; + return this.sj.eM; }, enumerable: !1, configurable: !0 @@ -42743,7 +42834,7 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { trackId: { get: function () { - return this.vj.trackId; + return this.sj.trackId; }, enumerable: !1, configurable: !0 @@ -42752,25 +42843,25 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { track: { get: function () { - return this.vj; + return this.sj; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - og: { + ng: { get: function () { - return this.sjb; + return this.tjb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - La: { + Ma: { get: function () { - return this.Ly.downloadable_id; + return this.Oy.downloadable_id; }, enumerable: !1, configurable: !0 @@ -42779,16 +42870,16 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { id: { get: function () { - return this.La; + return this.Ma; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - By: { + Ey: { get: function () { - return this.Kgb; + return this.Lgb; }, enumerable: !1, configurable: !0 @@ -42797,34 +42888,34 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { bitrate: { get: function () { - return this.Ly.bitrate; + return this.Oy.bitrate; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - zb: { + xb: { get: function () { - return this.Ly.vmaf || void 0; + return this.Oy.vmaf || void 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - rQb: { + wQb: { get: function () { - return this.Ly.res_w || void 0; + return this.Oy.res_w || void 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - f7: { + c7: { get: function () { - return this.Ly.res_h || void 0; + return this.Oy.res_h || void 0; }, enumerable: !1, configurable: !0 @@ -42833,14 +42924,14 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { profile: { get: function () { - return this.Ly.content_profile; + return this.Oy.content_profile; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Mg: { + Kg: { get: function () { return this.profile; }, @@ -42849,27 +42940,27 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - Wv: { + wr: { get: function () { - return this.Ly.sidx; + return this.Oy.sidx; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - he: { + ee: { get: function () { - return this.Q_; + return this.T_; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - KCb: { + MCb: { get: function () { - return this.uhb; + return this.vhb; }, enumerable: !1, configurable: !0 @@ -42885,34 +42976,34 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - XF: { + cG: { get: function () { - return this.Ja && this.Ja.XF; + return this.Ja && this.Ja.cG; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - gja: { + $ia: { get: function () { - return this.vj.gja; + return this.sj.$ia; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - fja: { + Zia: { get: function () { - return this.vj.fja; + return this.sj.Zia; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Z: { + X: { get: function () { return 0; }, @@ -42921,45 +43012,45 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - ev: { + kv: { get: function () { - return void 0 !== this.fJ ? this.fJ : this.kFb(); + return void 0 !== this.hJ ? this.hJ : this.nFb(); }, set: function (d) { - this.fJ = d; + this.hJ = d; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Vs: { + $s: { get: function () { - return this.kv && !this.JB; + return this.rv && !this.LB; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - zg: { + yg: { get: function () { - return this.iJ; + return this.kJ; }, enumerable: !1, configurable: !0 } }); l.prototype.pk = function () { - return this.N.pk(this.mediaType, this.La); + return this.N.pk(this.mediaType, this.Ma); }; - l.prototype.b3 = function () { + l.prototype.d3 = function () { var d; d = this.pk(); return d && d.stream.Y; }; - l.prototype.sH = function (d) { - return this.N.sH(this, d); + l.prototype.AH = function (d) { + return this.N.AH(this, d); }; l.prototype.c6 = function () { this.track.c6(); @@ -42967,69 +43058,69 @@ a000.D9b = function () { l.prototype.b6 = function () { this.track.b6(); }; - l.prototype.a6 = function (d, g, h, m, n, r, p) { - m && void 0 !== m.Bk && (this.track.ye || void 0 !== m.fd && m.fd.length) && void 0 !== m.offset && void 0 !== m.sizes && m.sizes.length ? (this.I.ck && this.he && 0 === m.Bk && (m.Bk += this.he.Vf(m.U).Wb), this.iJ = d, this.ye || (this.track.a6(this, g, h, m, r), this.Ja = new c.FGa(this.track.oo, m, n, r, p, this.K), this.track.JKb(this))) : m ? this.H.error("AseStream.onHeaderReceived: fragmentsData was missing data:" + (void 0 !== m.Bk) + "," + this.track.ye + "," + this.track.Rha + "," + (void 0 !== m.fd) + "," + !(!m.fd || !m.fd.length) + "," + (void 0 !== m.offset) + "," + (void 0 !== m.sizes) + "," + !(!m.sizes || !m.sizes.length)) : this.H.error("AseStream.onHeaderReceived: fragmentsData was undefined."); + l.prototype.a6 = function (d, g, h, m, n, q, p) { + m && void 0 !== m.Ck && (this.track.Ae || void 0 !== m.gd && m.gd.length) && void 0 !== m.offset && void 0 !== m.sizes && m.sizes.length ? (this.I.dk && this.ee && 0 === m.Ck && (m.Ck += this.ee.Wf(m.U).Zb), this.kJ = d, this.Ae || (this.track.a6(this, g, h, m, q), this.Ja = new c.BGa(this.track.po, m, n, q, p, this.K), this.track.LKb(this))) : m ? this.H.error("AseStream.onHeaderReceived: fragmentsData was missing data:" + (void 0 !== m.Ck) + "," + this.track.Ae + "," + this.track.Lha + "," + (void 0 !== m.gd) + "," + !(!m.gd || !m.gd.length) + "," + (void 0 !== m.offset) + "," + (void 0 !== m.sizes) + "," + !(!m.sizes || !m.sizes.length)) : this.H.error("AseStream.onHeaderReceived: fragmentsData was undefined."); }; - l.prototype.w1 = function (d) { - this.ye || (this.track.Npb(d.track), this.Ja = d.Y, this.iJ = d.zg); + l.prototype.y1 = function (d) { + this.Ae || (this.track.Opb(d.track), this.Ja = d.Y, this.kJ = d.yg); }; l.prototype.nk = function (d) { - return new k.Gk(this, this.Y.get(d)); + return new k.em(this, this.Y.get(d)); }; l.prototype.gTa = function (d) { var g; g = this.nk(d.index); - d.na && (g.th(d.na), g.rN(d.Ot)); + d.na && (g.sh(d.na), g.sN(d.Ut)); return g; }; - l.prototype.R5a = function (d, g) { + l.prototype.T5a = function (d, g) { this.$f = d; - this.LJa = g; + this.JJa = g; }; - l.prototype.Qob = function () { + l.prototype.Rob = function () { this.Oa = this.lb = this.cd = this.location = this.url = void 0; }; l.prototype.toJSON = function () { return { movieId: this.K, mediaType: this.mediaType, - streamId: this.La, + streamId: this.Ma, bitrate: this.bitrate, - streamIndex: this.og, - isAvailable: this.kv, - fittable: this.ev, - vmaf: this.zb, - resolutionWidth: this.rQb, - resolutionHeight: this.f7 + streamIndex: this.ng, + isAvailable: this.rv, + fittable: this.kv, + vmaf: this.xb, + resolutionWidth: this.wQb, + resolutionHeight: this.c7 }; }; l.prototype.toString = function () { - return (0 === this.mediaType ? "a" : "v") + ":" + this.La + ":" + this.bitrate; + return (0 === this.mediaType ? "a" : "v") + ":" + this.Ma + ":" + this.bitrate; }; - l.prototype.kFb = function () { + l.prototype.nFb = function () { var d, g, h, m, n; - if (!this.ye) + if (!this.Ae) return !0; - if (this.track.gla >= this.bitrate) - return this.fJ = !0; - if (this.track.KXa <= this.bitrate) - return this.fJ = !1; - n = this.Ja.rnb(this.I.LU, this.$f, null !== (g = null === (d = this.N) || void 0 === d ? void 0 : d.ZG.V) && void 0 !== g ? g : 0, null !== (m = null === (h = this.N) || void 0 === h ? void 0 : h.ZG.ca) && void 0 !== m ? m : 0, this.LJa); + if (this.track.bla >= this.bitrate) + return this.hJ = !0; + if (this.track.IXa <= this.bitrate) + return this.hJ = !1; + n = this.Ja.snb(this.I.KU, this.$f, null !== (g = null === (d = this.N) || void 0 === d ? void 0 : d.gH.V) && void 0 !== g ? g : 0, null !== (m = null === (h = this.N) || void 0 === h ? void 0 : h.gH.da) && void 0 !== m ? m : 0, this.JJa); if (n) { - if (!this.track.Rha || this.By) - this.track.gla = this.bitrate; + if (!this.track.Lha || this.Ey) + this.track.bla = this.bitrate; } else - this.track.KXa = this.bitrate; - return this.fJ = n; + this.track.IXa = this.bitrate; + return this.hJ = n; }; return l; })(); - b.gva = q; - }, function (q) { + b.dva = r; + }, function (r) { var b; b = (function () { var a; @@ -43042,7 +43133,7 @@ a000.D9b = function () { : function (a, c, f) { a.set(c, f); }; - q.exports = { + r.exports = { from: function (a, c, f, k) { a = new a(c.length); for (var l = "function" === typeof f, d = 0; d < c.length; ++d) { @@ -43052,43 +43143,43 @@ a000.D9b = function () { }, set: b }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { var l; l = null !== f && f.apply(this, arguments) || this; - l.hy = 1536; + l.my = 1536; return l; } c.__extends(k, f); k.Ka = !0; return k; })(a(173).default); - b.default = q; + b.default = r; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "ac-3"; + k.Mb = "ac-3"; return k; - })(q); - b.Y8 = a; - q = (function (f) { + })(r); + b.T8 = a; + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "ec-3"; + k.Mb = "ec-3"; return k; - })(q); - b.b$ = q; - }, function (q, b, a) { + })(r); + b.W9 = r; + }, function (r, b, a) { var c, f, k; @@ -43097,62 +43188,62 @@ a000.D9b = function () { }); c = a(2); f = a(97); - q = a(31); - k = f.zD; - q = (function (l) { + r = a(31); + k = f.BD; + r = (function (l) { function d() { return null !== l && l.apply(this, arguments) || this; } c.__extends(d, l); d.prototype.parse = function () { - this.ec(); - this.fileSize = this.u.Hd(); - this.U = this.u.Hd(); - this.duration = this.u.Hd(!1, !0); - this.Goa = this.u.Hd(); - this.u.Hd(); - this.Koa = this.u.Hd(); - this.poa = this.u.ta(); - this.Hoa = this.u.Hd(); - this.Xia = this.u.ta(); - this.u.iz(); - this.Ae = { + this.ic(); + this.fileSize = this.u.Gd(); + this.U = this.u.Gd(); + this.duration = this.u.Gd(!1, !0); + this.Boa = this.u.Gd(); + this.u.Gd(); + this.Foa = this.u.Gd(); + this.koa = this.u.ta(); + this.Coa = this.u.Gd(); + this.Qia = this.u.ta(); + this.u.lz(); + this.Ce = { moof: { - offset: this.Goa + offset: this.Boa }, sidx: { - offset: this.Hoa, - size: this.Xia + offset: this.Coa, + size: this.Qia } }; - this.Ae[f.qP] = { - offset: this.Koa, - size: this.poa + this.Ce[f.rP] = { + offset: this.Foa, + size: this.koa }; - this.u.offset - this.startOffset <= this.length - 24 && (this.Joa = this.u.Hd(), this.joa = this.u.ta(), this.Ioa = this.u.Hd(), this.hoa = this.u.ta(), this.Ae[f.Dw] = { - offset: this.Joa, - size: this.joa - }, this.Ae[f.Cw] = { - offset: this.Ioa, - size: this.hoa + this.u.offset - this.startOffset <= this.length - 24 && (this.Eoa = this.u.Gd(), this.eoa = this.u.ta(), this.Doa = this.u.Gd(), this.coa = this.u.ta(), this.Ce[f.Jw] = { + offset: this.Eoa, + size: this.eoa + }, this.Ce[f.Iw] = { + offset: this.Doa, + size: this.coa }); return !0; }; - d.Lb = k; + d.Mb = k; d.Ka = !1; return d; - })(q.kc); - b.default = q; - }, function (q, b, a) { + })(r.mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = a(97); + r = a(97); a = a(31); - f = q.AD; + f = r.CD; a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; @@ -43162,15 +43253,15 @@ a000.D9b = function () { var d, m, n; - this.ec(); - 1 <= this.version && this.u.iz(); + this.ic(); + 1 <= this.version && this.u.lz(); d = this.u.ta(); - this.Ae = {}; + this.Ce = {}; for (var g = this.startOffset + this.length, h = 0; h < d; ++h) { - m = this.u.ll(); - "uuid" === m && (m = this.u.iz()); - n = this.u.Hd(); - this.Ae[m] = { + m = this.u.kl(); + "uuid" === m && (m = this.u.lz()); + n = this.u.Gd(); + this.Ce[m] = { offset: g, size: n }; @@ -43178,12 +43269,12 @@ a000.D9b = function () { } return !0; }; - l.Lb = f; + l.Mb = f; l.Ka = !1; return l; - })(a.kc); + })(a.mc); b.default = a; - }, function (q) { + }, function (r) { var b, a, c, @@ -43194,7 +43285,7 @@ a000.D9b = function () { channels: 2, sampleRate: 24E3, duration: 1024, - Qj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 157, 188, 0, 0, 8, 28, 0, 0, 0, 14]).buffer + Pj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 157, 188, 0, 0, 8, 28, 0, 0, 0, 14]).buffer }; a = { name: "heaac-2-dase standard sample", @@ -43202,7 +43293,7 @@ a000.D9b = function () { channels: 2, sampleRate: 24E3, duration: 1024, - Qj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 240, 77, 251, 1, 60, 8, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 14, 0, 14]).buffer + Pj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 240, 77, 251, 1, 60, 8, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 14, 0, 14]).buffer }; c = { name: "ddplus-5.1-dash standard sample", @@ -43210,7 +43301,7 @@ a000.D9b = function () { channels: 6, sampleRate: 48E3, duration: 1536, - Qj: new Uint8Array([11, 119, 1, 127, 63, 134, 255, 225, 6, 32, 0, 32, 0, 66, 10, 65, 0, 135, 216, 68, 3, 254, 202, 2, 88, 163, 1, 16, 177, 64, 146, 32, 160, 75, 20, 80, 37, 136, 35, 227, 36, 160, 152, 156, 165, 37, 38, 41, 37, 73, 74, 9, 201, 146, 130, 114, 82, 116, 160, 152, 152, 150, 136, 58, 125, 89, 245, 39, 207, 159, 63, 116, 150, 147, 242, 73, 95, 165, 171, 175, 253, 215, 126, 82, 21, 55, 188, 8, 165, 126, 249, 242, 100, 175, 255, 249, 73, 42, 255, 253, 215, 124, 246, 156, 23, 239, 108, 36, 134, 249, 211, 228, 181, 255, 246, 253, 205, 119, 176, 179, 86, 126, 166, 27, 231, 175, 225, 58, 255, 222, 170, 110, 127, 249, 215, 41, 232, 146, 73, 183, 0, 88, 211, 192, 0, 0, 31, 7, 178, 116, 62, 122, 114, 245, 8, 233, 196, 71, 223, 196, 18, 59, 202, 113, 248, 103, 242, 80, 250, 118, 15, 1, 60, 79, 251, 46, 14, 8, 9, 37, 4, 14, 183, 67, 131, 195, 103, 241, 250, 32, 124, 81, 61, 76, 9, 40, 161, 2, 1, 16, 64, 114, 219, 225, 217, 172, 140, 44, 12, 64, 147, 49, 210, 195, 206, 12, 52, 186, 196, 0, 107, 134, 202, 4, 9, 216, 72, 67, 11, 127, 185, 13, 125, 124, 124, 194, 90, 203, 69, 1, 209, 8, 129, 183, 36, 196, 101, 7, 248, 73, 181, 38, 181, 30, 232, 124, 27, 18, 222, 207, 92, 251, 85, 227, 78, 0, 70, 196, 59, 0, 207, 194, 0, 252, 226, 209, 111, 144, 239, 111, 148, 54, 39, 28, 176, 248, 160, 58, 88, 113, 9, 76, 65, 57, 180, 96, 82, 224, 115, 52, 208, 161, 184, 86, 120, 211, 212, 168, 13, 52, 217, 124, 121, 189, 237, 163, 53, 72, 52, 157, 245, 160, 110, 16, 182, 219, 180, 152, 180, 136, 47, 23, 151, 198, 192, 20, 62, 220, 249, 107, 82, 0, 0, 0, 234, 22, 24, 202, 252, 104, 154, 198, 95, 7, 98, 110, 113, 104, 187, 197, 110, 105, 201, 123, 18, 61, 45, 233, 135, 20, 0, 151, 155, 45, 131, 75, 174, 9, 228, 53, 214, 32, 19, 131, 131, 87, 146, 156, 22, 16, 160, 0, 0, 5, 169, 31, 241, 155, 119, 242, 21, 168, 176, 225, 35, 130, 186, 60, 97, 189, 244, 57, 5, 158, 124, 200, 224, 156, 74, 33, 48, 12, 75, 235, 252, 25, 83, 61, 12, 178, 134, 75, 92, 124, 56, 71, 63, 232, 35, 142, 23, 11, 179, 154, 25, 17, 254, 160, 55, 0, 28, 144, 253, 91, 117, 102, 221, 190, 135, 231, 10, 70, 30, 23, 176, 0, 0, 1, 176, 4, 8, 133, 150, 0, 255, 79, 159, 83, 83, 77, 46, 180, 197, 95, 161, 141, 13, 44, 47, 253, 61, 176, 86, 148, 52, 201, 148, 194, 126, 246, 155, 165, 78, 181, 18, 73, 32, 28, 45, 70, 221, 101, 80, 78, 20, 6, 206, 130, 30, 219, 0, 30, 251, 237, 127, 232, 113, 255, 107, 248, 25, 147, 2, 185, 140, 224, 224, 189, 152, 101, 89, 28, 152, 47, 182, 88, 216, 198, 90, 3, 213, 0, 64, 150, 89, 96, 5, 18, 73, 32, 18, 105, 56, 170, 112, 129, 132, 77, 233, 15, 190, 8, 58, 109, 254, 217, 232, 164, 181, 91, 34, 227, 8, 27, 140, 83, 141, 186, 71, 175, 110, 91, 83, 37, 82, 15, 247, 58, 112, 134, 42, 42, 18, 3, 0, 8, 18, 196, 44, 5, 18, 73, 32, 25, 234, 135, 27, 145, 161, 76, 95, 163, 44, 124, 140, 151, 13, 189, 174, 93, 108, 80, 63, 112, 61, 88, 28, 46, 219, 213, 65, 40, 74, 243, 69, 108, 141, 37, 80, 21, 72, 191, 2, 50, 88, 122, 3, 0, 0, 10, 36, 146, 64, 54, 170, 52, 196, 80, 163, 79, 142, 148, 81, 36, 46, 131, 66, 255, 221, 26, 128, 73, 23, 103, 49, 192, 55, 30, 59, 219, 161, 166, 249, 122, 141, 88, 62, 36, 228, 107, 116, 158, 14, 252, 92, 103, 226, 0, 0, 20, 73, 36, 128, 113, 105, 27, 109, 199, 165, 26, 100, 240, 30, 8, 113, 124, 175, 175, 166, 144, 115, 74, 138, 80, 24, 32, 117, 28, 206, 194, 21, 85, 40, 218, 254, 177, 100, 37, 127, 63, 131, 208, 68, 250, 76, 169, 40, 0, 0, 0, 0, 0, 0, 0, 95, 208, 40, 5]).buffer + Pj: new Uint8Array([11, 119, 1, 127, 63, 134, 255, 225, 6, 32, 0, 32, 0, 66, 10, 65, 0, 135, 216, 68, 3, 254, 202, 2, 88, 163, 1, 16, 177, 64, 146, 32, 160, 75, 20, 80, 37, 136, 35, 227, 36, 160, 152, 156, 165, 37, 38, 41, 37, 73, 74, 9, 201, 146, 130, 114, 82, 116, 160, 152, 152, 150, 136, 58, 125, 89, 245, 39, 207, 159, 63, 116, 150, 147, 242, 73, 95, 165, 171, 175, 253, 215, 126, 82, 21, 55, 188, 8, 165, 126, 249, 242, 100, 175, 255, 249, 73, 42, 255, 253, 215, 124, 246, 156, 23, 239, 108, 36, 134, 249, 211, 228, 181, 255, 246, 253, 205, 119, 176, 179, 86, 126, 166, 27, 231, 175, 225, 58, 255, 222, 170, 110, 127, 249, 215, 41, 232, 146, 73, 183, 0, 88, 211, 192, 0, 0, 31, 7, 178, 116, 62, 122, 114, 245, 8, 233, 196, 71, 223, 196, 18, 59, 202, 113, 248, 103, 242, 80, 250, 118, 15, 1, 60, 79, 251, 46, 14, 8, 9, 37, 4, 14, 183, 67, 131, 195, 103, 241, 250, 32, 124, 81, 61, 76, 9, 40, 161, 2, 1, 16, 64, 114, 219, 225, 217, 172, 140, 44, 12, 64, 147, 49, 210, 195, 206, 12, 52, 186, 196, 0, 107, 134, 202, 4, 9, 216, 72, 67, 11, 127, 185, 13, 125, 124, 124, 194, 90, 203, 69, 1, 209, 8, 129, 183, 36, 196, 101, 7, 248, 73, 181, 38, 181, 30, 232, 124, 27, 18, 222, 207, 92, 251, 85, 227, 78, 0, 70, 196, 59, 0, 207, 194, 0, 252, 226, 209, 111, 144, 239, 111, 148, 54, 39, 28, 176, 248, 160, 58, 88, 113, 9, 76, 65, 57, 180, 96, 82, 224, 115, 52, 208, 161, 184, 86, 120, 211, 212, 168, 13, 52, 217, 124, 121, 189, 237, 163, 53, 72, 52, 157, 245, 160, 110, 16, 182, 219, 180, 152, 180, 136, 47, 23, 151, 198, 192, 20, 62, 220, 249, 107, 82, 0, 0, 0, 234, 22, 24, 202, 252, 104, 154, 198, 95, 7, 98, 110, 113, 104, 187, 197, 110, 105, 201, 123, 18, 61, 45, 233, 135, 20, 0, 151, 155, 45, 131, 75, 174, 9, 228, 53, 214, 32, 19, 131, 131, 87, 146, 156, 22, 16, 160, 0, 0, 5, 169, 31, 241, 155, 119, 242, 21, 168, 176, 225, 35, 130, 186, 60, 97, 189, 244, 57, 5, 158, 124, 200, 224, 156, 74, 33, 48, 12, 75, 235, 252, 25, 83, 61, 12, 178, 134, 75, 92, 124, 56, 71, 63, 232, 35, 142, 23, 11, 179, 154, 25, 17, 254, 160, 55, 0, 28, 144, 253, 91, 117, 102, 221, 190, 135, 231, 10, 70, 30, 23, 176, 0, 0, 1, 176, 4, 8, 133, 150, 0, 255, 79, 159, 83, 83, 77, 46, 180, 197, 95, 161, 141, 13, 44, 47, 253, 61, 176, 86, 148, 52, 201, 148, 194, 126, 246, 155, 165, 78, 181, 18, 73, 32, 28, 45, 70, 221, 101, 80, 78, 20, 6, 206, 130, 30, 219, 0, 30, 251, 237, 127, 232, 113, 255, 107, 248, 25, 147, 2, 185, 140, 224, 224, 189, 152, 101, 89, 28, 152, 47, 182, 88, 216, 198, 90, 3, 213, 0, 64, 150, 89, 96, 5, 18, 73, 32, 18, 105, 56, 170, 112, 129, 132, 77, 233, 15, 190, 8, 58, 109, 254, 217, 232, 164, 181, 91, 34, 227, 8, 27, 140, 83, 141, 186, 71, 175, 110, 91, 83, 37, 82, 15, 247, 58, 112, 134, 42, 42, 18, 3, 0, 8, 18, 196, 44, 5, 18, 73, 32, 25, 234, 135, 27, 145, 161, 76, 95, 163, 44, 124, 140, 151, 13, 189, 174, 93, 108, 80, 63, 112, 61, 88, 28, 46, 219, 213, 65, 40, 74, 243, 69, 108, 141, 37, 80, 21, 72, 191, 2, 50, 88, 122, 3, 0, 0, 10, 36, 146, 64, 54, 170, 52, 196, 80, 163, 79, 142, 148, 81, 36, 46, 131, 66, 255, 221, 26, 128, 73, 23, 103, 49, 192, 55, 30, 59, 219, 161, 166, 249, 122, 141, 88, 62, 36, 228, 107, 116, 158, 14, 252, 92, 103, 226, 0, 0, 20, 73, 36, 128, 113, 105, 27, 109, 199, 165, 26, 100, 240, 30, 8, 113, 124, 175, 175, 166, 144, 115, 74, 138, 80, 24, 32, 117, 28, 206, 194, 21, 85, 40, 218, 254, 177, 100, 37, 127, 63, 131, 208, 68, 250, 76, 169, 40, 0, 0, 0, 0, 0, 0, 0, 95, 208, 40, 5]).buffer }; f = { name: "ddplus-2.0-dash standard sample", @@ -43218,9 +43309,9 @@ a000.D9b = function () { channels: 2, sampleRate: 48E3, duration: 1536, - Qj: new Uint8Array([11, 119, 0, 191, 52, 134, 255, 224, 4, 32, 24, 132, 33, 46, 136, 15, 236, 128, 165, 150, 32, 161, 69, 16, 65, 66, 33, 0, 160, 224, 136, 32, 48, 40, 56, 176, 233, 159, 62, 203, 176, 139, 218, 213, 221, 58, 124, 249, 83, 239, 245, 26, 179, 232, 106, 97, 174, 75, 74, 149, 104, 85, 223, 38, 74, 253, 242, 95, 253, 47, 117, 10, 116, 228, 206, 145, 61, 126, 153, 83, 169, 201, 146, 214, 124, 251, 202, 125, 62, 3, 184, 113, 105, 44, 145, 91, 107, 58, 206, 87, 7, 170, 74, 27, 187, 48, 217, 65, 241, 1, 161, 157, 113, 91, 21, 163, 111, 51, 104, 115, 118, 123, 44, 77, 110, 247, 112, 43, 8, 73, 76, 172, 73, 150, 207, 95, 153, 3, 182, 105, 124, 66, 2, 0, 118, 237, 94, 135, 88, 83, 124, 41, 205, 76, 76, 109, 131, 40, 166, 169, 150, 166, 233, 51, 26, 43, 143, 131, 162, 201, 227, 35, 146, 30, 46, 75, 41, 1, 28, 21, 124, 91, 11, 74, 112, 106, 170, 137, 88, 102, 81, 122, 90, 108, 154, 41, 64, 72, 81, 74, 40, 176, 29, 246, 45, 81, 141, 178, 47, 68, 210, 113, 129, 217, 48, 217, 176, 77, 157, 147, 211, 28, 106, 174, 210, 66, 110, 190, 228, 106, 249, 236, 107, 188, 90, 91, 41, 31, 191, 71, 149, 201, 40, 136, 209, 138, 100, 91, 53, 25, 18, 245, 27, 148, 208, 18, 20, 81, 70, 24, 7, 147, 116, 48, 233, 47, 145, 81, 32, 242, 74, 51, 50, 138, 85, 186, 6, 202, 227, 8, 169, 201, 206, 77, 68, 201, 80, 186, 57, 179, 90, 232, 234, 208, 230, 109, 96, 154, 4, 249, 38, 86, 153, 185, 81, 45, 38, 146, 243, 73, 117, 105, 140, 5, 34, 48, 227, 11, 10, 32, 130, 14, 49, 4, 40, 131, 127, 229, 199, 232, 95, 78, 126, 229, 243, 175, 254, 117, 124, 233, 83, 154, 239, 93, 63, 195, 190, 120, 247, 107, 232, 10, 68, 177, 11, 22, 24, 32, 66, 4, 99, 231, 207, 159, 7, 124, 241, 174, 215, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 40, 187, 227]).buffer + Pj: new Uint8Array([11, 119, 0, 191, 52, 134, 255, 224, 4, 32, 24, 132, 33, 46, 136, 15, 236, 128, 165, 150, 32, 161, 69, 16, 65, 66, 33, 0, 160, 224, 136, 32, 48, 40, 56, 176, 233, 159, 62, 203, 176, 139, 218, 213, 221, 58, 124, 249, 83, 239, 245, 26, 179, 232, 106, 97, 174, 75, 74, 149, 104, 85, 223, 38, 74, 253, 242, 95, 253, 47, 117, 10, 116, 228, 206, 145, 61, 126, 153, 83, 169, 201, 146, 214, 124, 251, 202, 125, 62, 3, 184, 113, 105, 44, 145, 91, 107, 58, 206, 87, 7, 170, 74, 27, 187, 48, 217, 65, 241, 1, 161, 157, 113, 91, 21, 163, 111, 51, 104, 115, 118, 123, 44, 77, 110, 247, 112, 43, 8, 73, 76, 172, 73, 150, 207, 95, 153, 3, 182, 105, 124, 66, 2, 0, 118, 237, 94, 135, 88, 83, 124, 41, 205, 76, 76, 109, 131, 40, 166, 169, 150, 166, 233, 51, 26, 43, 143, 131, 162, 201, 227, 35, 146, 30, 46, 75, 41, 1, 28, 21, 124, 91, 11, 74, 112, 106, 170, 137, 88, 102, 81, 122, 90, 108, 154, 41, 64, 72, 81, 74, 40, 176, 29, 246, 45, 81, 141, 178, 47, 68, 210, 113, 129, 217, 48, 217, 176, 77, 157, 147, 211, 28, 106, 174, 210, 66, 110, 190, 228, 106, 249, 236, 107, 188, 90, 91, 41, 31, 191, 71, 149, 201, 40, 136, 209, 138, 100, 91, 53, 25, 18, 245, 27, 148, 208, 18, 20, 81, 70, 24, 7, 147, 116, 48, 233, 47, 145, 81, 32, 242, 74, 51, 50, 138, 85, 186, 6, 202, 227, 8, 169, 201, 206, 77, 68, 201, 80, 186, 57, 179, 90, 232, 234, 208, 230, 109, 96, 154, 4, 249, 38, 86, 153, 185, 81, 45, 38, 146, 243, 73, 117, 105, 140, 5, 34, 48, 227, 11, 10, 32, 130, 14, 49, 4, 40, 131, 127, 229, 199, 232, 95, 78, 126, 229, 243, 175, 254, 117, 124, 233, 83, 154, 239, 93, 63, 195, 190, 120, 247, 107, 232, 10, 68, 177, 11, 22, 24, 32, 66, 4, 99, 231, 207, 159, 7, 124, 241, 174, 215, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 40, 187, 227]).buffer }; - q.exports = { + r.exports = { standard: { "heaac-2-dash": a, "heaac-2hq-dash": a, @@ -43237,7 +43328,7 @@ a000.D9b = function () { "ddplus-5.1-dash": c, "ddplus-2.0-dash": f }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -43247,12 +43338,12 @@ a000.D9b = function () { c = a(2); f = a(31); k = a(82); - q = (function (l) { - function d(g, h, m, n, r) { - m = l.call(this, m, n, r) || this; - m.ofa = g; - m.Wp = h; - m.Sa = {}; + r = (function (l) { + function d(g, h, m, n, q) { + m = l.call(this, m, n, q) || this; + m.hfa = g; + m.Yp = h; + m.Ta = {}; return m; } c.__extends(d, l); @@ -43260,9 +43351,9 @@ a000.D9b = function () { var h, m, n, - r, + q, p, - u; + t; this.offset = 0; h = []; for (g = g || ({}); this.offset < this.view.byteLength && !(8 > this.view.byteLength - this.offset); ) { @@ -43274,65 +43365,65 @@ a000.D9b = function () { offset: this.offset, error: "Invalid zero-length box" }; - r = k.qn(this.ta()); - if (null === r) + q = k.pn(this.ta()); + if (null === q) return { done: !1, offset: this.offset, error: "Invalid box type" }; - if ("uuid" === r) { + if ("uuid" === q) { if (16 > this.view.byteLength - this.offset) break; - r = this.iz(); + q = this.lz(); } - if (0 === h.length && this.Wp.aT(r, m, n)) + if (0 === h.length && this.Yp.$S(q, m, n)) break; if (m + n > this.view.byteLength) break; - p = this.ofa[r]; - u = void 0; + p = this.hfa[q]; + t = void 0; if (p) { - if ((u = new p(this, r, m, n, h[0]), (h[0] || this).$r(u), u.parse(g))) - this.config.pG && p.Ka ? h.unshift(u) : this.offset = m + n; + if ((t = new p(this, q, m, n, h[0]), (h[0] || this).gs(t), t.parse(g))) + this.config.vG && p.Ka ? h.unshift(t) : this.offset = m + n; else return { done: !1, offset: this.offset, - error: "parse error in " + r + " box" + error: "parse error in " + q + " box" }; } else this.offset = m + n; - for (; h.length && this.offset > h[0].byteOffset + h[0].Vm - 8; ) { - u = h.shift(); - if (!u.Ds(g)) + for (; h.length && this.offset > h[0].byteOffset + h[0].Um - 8; ) { + t = h.shift(); + if (!t.Hs(g)) return { done: !1, offset: this.offset, - error: "finalize error in " + u.type + " box" + error: "finalize error in " + t.type + " box" }; - this.offset = u.byteOffset + u.Vm; + this.offset = t.byteOffset + t.Um; } - if (0 === h.length && this.Wp.uS(r, m, n, u)) + if (0 === h.length && this.Yp.tS(q, m, n, t)) break; } - return !this.Wp.done && (g = this.Wp.endOffset ? this.Wp.endOffset - this.view.byteLength : 4096, 0 < g) ? { + return !this.Yp.done && (g = this.Yp.endOffset ? this.Yp.endOffset - this.view.byteLength : 4096, 0 < g) ? { done: !1, offset: this.offset, - RU: g + QU: g } : { done: !0, - offset: Math.min(this.Wp.endOffset || Infinity, this.offset) + offset: Math.min(this.Yp.endOffset || Infinity, this.offset) }; }; - d.prototype.$r = function (g) { - f.kc.$r(this, g); + d.prototype.gs = function (g) { + f.mc.gs(this, g); }; return d; - })(a(832).Gba); - b.bD = q; - }, function (q, b, a) { + })(a(834).Aba); + b.dD = r; + }, function (r, b, a) { var f; function c(k, l) { k = l.indexOf(k); @@ -43342,75 +43433,75 @@ a000.D9b = function () { value: !0 }); f = a(97); - q = (function () { + r = (function () { function k(l) { this.endOffset = l; this.done = !1; } - k.prototype.aT = function () { + k.prototype.$S = function () { return this.done; }; - k.prototype.uS = function (l, d, g) { + k.prototype.tS = function (l, d, g) { return this.done = d + g >= this.endOffset; }; return k; })(); - b.CO = q; - q = (function () { + b.CO = r; + r = (function () { function k(l, d, g, h) { void 0 === d && (d = []); void 0 === g && (g = []); void 0 === h && (h = !1); - this.rh = l; - this.Ux = d; - this.QW = g; - this.pV = h; + this.qh = l; + this.Zx = d; + this.PW = g; + this.oV = h; this.done = !1; - this.Ae = {}; + this.Ce = {}; } - k.prototype.aT = function (l, d, g) { - -1 !== k.Yka.indexOf(l) && (this.Ae[l] = { + k.prototype.$S = function (l, d, g) { + -1 !== k.Uka.indexOf(l) && (this.Ce[l] = { offset: d, size: g }); - if (-1 !== this.QW.indexOf(l)) { - if ((this.Ae[l] = { + if (-1 !== this.PW.indexOf(l)) { + if ((this.Ce[l] = { offset: d, size: g - }, this.pV)) + }, this.oV)) this.endOffset = d + g; else return (this.endOffset = d, this.done = !0); } else - this.rh && -1 !== this.rh.indexOf(l) ? (l = 1 < this.rh.length ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)) : -1 !== this.Ux.indexOf(l) && (l = this.rh ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)); + this.qh && -1 !== this.qh.indexOf(l) ? (l = 1 < this.qh.length ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)) : -1 !== this.Zx.indexOf(l) && (l = this.qh ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)); return this.done; }; - k.prototype.uS = function (l, d, g, h) { + k.prototype.tS = function (l, d, g, h) { var m; m = this; - if (-1 !== this.QW.indexOf(l)) + if (-1 !== this.PW.indexOf(l)) return this.done = !0; - l === f.zD && this.sW(h.Ae); - l === f.AD && this.sW(h.Ae); - this.rh && c(l, this.rh); - c(l, this.Ux); - return this.rh && 0 === this.rh.length && !this.Ux.some(function (n) { - return m.Ae[n]; + l === f.BD && this.rW(h.Ce); + l === f.CD && this.rW(h.Ce); + this.qh && c(l, this.qh); + c(l, this.Zx); + return this.qh && 0 === this.qh.length && !this.Zx.some(function (n) { + return m.Ce[n]; }) ? this.done = !0 : this.done; }; - k.prototype.sW = function (l) { + k.prototype.rW = function (l) { var d; d = this; - this.Ae = l; - this.endOffset = (this.rh || []).concat(this.Ux).reduce(function (g, h) { - return d.Ae[h] ? (h = d.Ae[h], Math.max(h.offset + (h.size || 4096), g)) : g; + this.Ce = l; + this.endOffset = (this.qh || []).concat(this.Zx).reduce(function (g, h) { + return d.Ce[h] ? (h = d.Ce[h], Math.max(h.offset + (h.size || 4096), g)) : g; }, this.endOffset || 0); }; - k.Yka = ["moov", "sidx"]; + k.Uka = ["moov", "sidx"]; return k; })(); - b.y$ = q; - }, function (q, b, a) { + b.q$ = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -43418,30 +43509,30 @@ a000.D9b = function () { value: !0 } }); - b.qba = void 0; + b.kba = void 0; c = a(2); f = a(111); a(6); c.__importDefault(a(39)); - q = (function () { + r = (function () { function k(l, d, g, h) { this.U = g; - this.fd = l; + this.gd = l; this.sizes = d; this.length = Math.min(l.length, d.length); - this.Fc = h; + this.Hc = h; } Object.defineProperties(k.prototype, { - ca: { + da: { get: function () { - return void 0 !== this.Fc ? this.Fc : this.Fc = this.aca(); + return void 0 !== this.Hc ? this.Hc : this.Hc = this.Vba(); }, enumerable: !1, configurable: !0 } }); k.prototype.subarray = function (l, d) { - return new k(this.fd.subarray(l, d), this.sizes.subarray(l, d), this.U); + return new k(this.gd.subarray(l, d), this.sizes.subarray(l, d), this.U); }; k.prototype.concat = function () { var g, @@ -43460,13 +43551,13 @@ a000.D9b = function () { return m || n.U; }, void 0); l.reduce(function (m, n) { - f.Aba.set(g, n.fd, m); - f.Aba.set(h, n.sizes, m); + f.uba.set(g, n.gd, m); + f.uba.set(h, n.sizes, m); return m + n.length; }, 0); return new k(g, h, d); }; - k.prototype.aca = function () { + k.prototype.Vba = function () { for (var l = this.sizes, d = this.length, g = 0, h = 0; h < d; ++h) { g += l[h]; } @@ -43474,8 +43565,8 @@ a000.D9b = function () { }; return k; })(); - b.qba = q; - }, function (q, b, a) { + b.kba = r; + }, function (r, b, a) { var c, f, k, @@ -43490,39 +43581,39 @@ a000.D9b = function () { value: !0 } }); - b.r9 = void 0; + b.m9 = void 0; c = a(2); f = a(111); - q = a(16); - k = c.__importDefault(a(4)); + r = a(16); + k = c.__importDefault(a(5)); l = a(9); d = a(43); g = a(6); - h = a(239); - m = a(400); - a = a(401); + h = a(240); + m = a(404); + a = a(405); n = k.default.MediaSource; - a = (function (r) { - function p(u, t, w, v, x, y, z) { - t = r.call(this, u, v, x, t, z) || this; - m.NX.JVa(t, u, v, z); - t.eo = w; - t.track = w.track; - t.cv = !!v.cv; - t.dM = !!v.dM; - t.rB = !!v.rB; - t.sLb = v.ca; - t.xN = !!v.xN; - t.Xca = (y ? "(cache)" : "") + t.La + " header"; + a = (function (q) { + function p(t, u, w, v, x, y, z) { + u = q.call(this, t, v, x, u, z) || this; + m.MX.HVa(u, t, v, z); + u.fo = w; + u.track = w.track; + u.hv = !!v.hv; + u.fM = !!v.fM; + u.sB = !!v.sB; + u.uLb = v.da; + u.yN = !!v.yN; + u.Rca = (y ? "(cache)" : "") + u.Ma + " header"; w = v.offset; - y = v.ca; - t.om && (w += t.om.byteLength, y -= t.om.byteLength); - t.CJ(u.url || v.url, w, y); - return t; + y = v.da; + u.mm && (w += u.mm.byteLength, y -= u.mm.byteLength); + u.EJ(t.url || v.url, w, y); + return u; } - c.__extends(p, r); + c.__extends(p, q); Object.defineProperties(p.prototype, { - Lc: { + Nc: { get: function () { return !0; }, @@ -43531,82 +43622,82 @@ a000.D9b = function () { } }); Object.defineProperties(p.prototype, { - qV: { + pV: { get: function () { - return this.mib; + return this.nib; }, enumerable: !1, configurable: !0 } }); - p.prototype.Ic = function () { - var u; + p.prototype.Kc = function () { + var t; if (!this.complete) { - u = { + t = { type: "headerRequestCancelled", request: this }; - this.emit(u.type, u); + this.emit(t.type, t); } - r.prototype.Ic.call(this); + q.prototype.Kc.call(this); }; - p.prototype.$S = function (u) { + p.prototype.ZS = function (t) { this.stream.c6(); - r.prototype.$S.call(this, u); + q.prototype.ZS.call(this, t); }; - p.prototype.OK = function (u, t, w) { + p.prototype.SK = function (t, u, w) { this.stream.b6(); - r.prototype.OK.call(this, u, t, w); + q.prototype.SK.call(this, t, u, w); }; - p.prototype.wk = function (u) { - this.om = this.om ? l.jB(this.om, u.response) : u.response; - u.SV(); + p.prototype.vk = function (t) { + this.mm = this.mm ? l.lB(this.mm, t.response) : t.response; + t.RV(); this.stream.b6(); - this.kib() ? r.prototype.wk.call(this, u) : this.iIa ? (this.CJ(u.url, u.offset + u.ca, this.iIa), this.stream.c6(), r.prototype.wk.call(this, u)) : this.G2(this); + this.lib() ? q.prototype.vk.call(this, t) : this.gIa ? (this.EJ(t.url, t.offset + t.da, this.gIa), this.stream.c6(), q.prototype.vk.call(this, t)) : this.H2(this); }; - p.prototype.CJ = function (u, t, w) { - u = new h.jO(this.stream, this.track, this.Xca + " (" + this.za.length + ")", { - offset: t, - ca: w, - url: u, + p.prototype.EJ = function (t, u, w) { + t = new h.iO(this.stream, this.track, this.Rca + " (" + this.Aa.length + ")", { + offset: u, + da: w, + url: t, location: this.location, - Rc: this.Rc, + Qc: this.Qc, responseType: 0 - }, this, this.sd, this.H); - this.push(u); - this.Fc = this.za.reduce(function (v, x) { - return v + x.ca; + }, this, this.Bd, this.H); + this.push(t); + this.Hc = this.Aa.reduce(function (v, x) { + return v + x.da; }, 0); }; - p.prototype.kib = function () { - var u, - t, + p.prototype.lib = function () { + var t, + u, w; - u = this.sd; - t = new f.Nr(p.lJb, this.stream, this.om, ["sidx"], !0, { - B7b: this.stream.track.Rha, + t = this.Bd; + u = new f.Qr(p.nJb, this.stream, this.mm, ["sidx"], !0, { + P7b: this.stream.track.Lha, n6: void 0 === this.pa, - q8: !n.Ub || !n.Ub.mOa, - r8: u.r8, - ck: u.ck, - Iz: this.sd.Iz, - j2a: !0, - IC: !n.Ub || !n.Ub.hZa - }); - w = t.parse({ + m8: !n.Wb || !n.Wb.kOa, + n8: t.n8, + dk: t.dk, + Lz: this.Bd.Lz, + i2a: !0, + KC: !n.Wb || !n.Wb.eZa + }); + w = u.parse({ pa: this.pa }); - this.rXb = u.Iz && t.YUa; - w.Wm ? (g.assert(w.zg), this.iJ = w.zg, this.mib = w.qV, this.PIa = !!w.$Qa, void 0 === this.pa && void 0 === w.pa && this.H.error("No frame duration available for " + this.La), t = w.pa ? new l.S(w.pa) : this.pa, this.stream.a6(w.zg, w.U, t, w.Y, w.eG, w.Eh, u.uC && u.uC.enabled ? w.Er : void 0), this.om = void 0) : this.iIa = w.FLa || 0; - return !!w.Wm; + this.tXb = t.Lz && u.YUa; + w.Vm ? (g.assert(w.yg), this.kJ = w.yg, this.nib = w.pV, this.NIa = !!w.ZQa, void 0 === this.pa && void 0 === w.pa && this.H.error("No frame duration available for " + this.Ma), u = w.pa ? new l.S(w.pa) : this.pa, this.stream.a6(w.yg, w.U, u, w.Y, w.kG, w.Dh, t.wC && t.wC.enabled ? w.Hr : void 0), this.mm = void 0) : this.gIa = w.ELa || 0; + return !!w.Vm; }; - p.lJb = new k.default.Console("MP4", "media|asejs"); + p.nJb = new k.default.Console("MP4", "media|asejs"); return p; - })(a.o9); - b.r9 = a; - d.tf(m.NX, a, !1, !1); - d.tf(q.EventEmitter, a); - }, function (q, b, a) { + })(a.j9); + b.m9 = a; + d.tf(m.MX, a, !1, !1); + d.tf(r.EventEmitter, a); + }, function (r, b, a) { var c, f, k; @@ -43615,32 +43706,32 @@ a000.D9b = function () { value: !0 } }); - b.NX = void 0; + b.MX = void 0; c = a(2); f = a(6); k = a(174); - q = (function (l) { + r = (function (l) { function d(g, h, m) { var n; n = l.call(this, g, h) || this; - n.xN = !1; - n.cv = !1; - n.dM = !1; - n.rB = !1; - n.eo = void 0; - d.JVa(n, g, h, m); + n.yN = !1; + n.hv = !1; + n.fM = !1; + n.sB = !1; + n.fo = void 0; + d.HVa(n, g, h, m); return n; } c.__extends(d, l); - d.JVa = function (g, h, m, n) { - k.Vt.mb(g, h, m); - g.iJ = m.zg; - g.om = m.fpa; - g.PIa = m.kk; + d.HVa = function (g, h, m, n) { + k.$t.mb(g, h, m); + g.kJ = m.yg; + g.mm = m.apa; + g.NIa = m.kk; g.H = n; }; Object.defineProperties(d.prototype, { - Lc: { + Nc: { get: function () { return !0; }, @@ -43649,18 +43740,18 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - zg: { + yg: { get: function () { - return this.iJ; + return this.kJ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(d.prototype, { - fpa: { + apa: { get: function () { - return this.om; + return this.mm; }, enumerable: !1, configurable: !0 @@ -43669,18 +43760,18 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { kk: { get: function () { - return this.PIa; + return this.NIa; }, enumerable: !1, configurable: !0 } }); - d.prototype.Ic = function () {}; - d.prototype.Pta = function () {}; - d.prototype.Wkb = function (g) { - f.assert(this.Uc.La === g.La); - !g.ye && this.Uc.ye && g.w1(this.Uc); - !g.location && this.Uc.location && (g.location = this.Uc.location, g.cd = this.Uc.cd, g.QG = this.Uc.QG, g.url = this.Uc.url, g.lb = this.Uc.lb); + d.prototype.Kc = function () {}; + d.prototype.Kta = function () {}; + d.prototype.Xkb = function (g) { + f.assert(this.Uc.Ma === g.Ma); + !g.Ae && this.Uc.Ae && g.y1(this.Uc); + !g.location && this.Uc.location && (g.location = this.Uc.location, g.cd = this.Uc.cd, g.ZG = this.Uc.ZG, g.url = this.Uc.url, g.lb = this.Uc.lb); this.Uc = g; }; d.prototype.toJSON = function () { @@ -43690,42 +43781,42 @@ a000.D9b = function () { }); }; return d; - })(k.Vt); - b.NX = q; - }, function (q, b, a) { + })(k.$t); + b.MX = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.o9 = void 0; + b.j9 = void 0; c = a(2); - c.__importDefault(a(4)); + c.__importDefault(a(5)); a(6); - q = (function (f) { + r = (function (f) { function k(l, d, g, h, m) { l = f.call(this, l, d, g, h, m) || this; - l.ZIa = !1; - l.YIa = !1; - l.pQ = !1; - l.za = []; - l.wn = !1; - l.eKa = !1; - l.tJa = !1; - l.Fe = !1; - l.Al = !1; + l.XIa = !1; + l.WIa = !1; + l.qQ = !1; + l.Aa = []; + l.vn = !1; + l.cKa = !1; + l.rJa = !1; + l.He = !1; + l.zl = !1; l.Xh = !1; - l.GI = !1; - l.nJ = void 0; - l.xu = void 0; + l.KI = !1; + l.pJ = void 0; + l.Cu = void 0; return l; } c.__extends(k, f); Object.defineProperties(k.prototype, { - dma: { + Yla: { get: function () { - return this.wn && !this.pQ; + return this.vn && !this.qQ; }, enumerable: !1, configurable: !0 @@ -43734,16 +43825,16 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { active: { get: function () { - return this.Fe; + return this.He; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - xqa: { + rqa: { get: function () { - return this.Al; + return this.zl; }, enumerable: !1, configurable: !0 @@ -43752,7 +43843,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { complete: { get: function () { - return this.Xh || (this.Xh = this.za.every(function (l) { + return this.Xh || (this.Xh = this.Aa.every(function (l) { return l.complete; })); }, @@ -43763,7 +43854,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { aborted: { get: function () { - return this.GI; + return this.KI; }, enumerable: !1, configurable: !0 @@ -43772,7 +43863,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { Tj: { get: function () { - return this.za.reduce(function (l, d) { + return this.Aa.reduce(function (l, d) { return l + d.Tj; }, 0); }, @@ -43783,7 +43874,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { bytesReceived: { get: function () { - return this.za.reduce(function (l, d) { + return this.Aa.reduce(function (l, d) { return l + d.bytesReceived; }, 0); }, @@ -43792,9 +43883,9 @@ a000.D9b = function () { } }); Object.defineProperties(k.prototype, { - Ye: { + Ze: { get: function () { - return this.nJ || 0; + return this.pJ || 0; }, enumerable: !1, configurable: !0 @@ -43803,7 +43894,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { url: { get: function () { - return this.za[0] && this.za[0].url; + return this.Aa[0] && this.Aa[0].url; }, enumerable: !1, configurable: !0 @@ -43812,7 +43903,7 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { readyState: { get: function () { - return this.fh || this.za.reduce(function (l, d) { + return this.bh || this.Aa.reduce(function (l, d) { return Math.min(l, d.readyState); }, Infinity); }, @@ -43823,78 +43914,78 @@ a000.D9b = function () { Object.defineProperties(k.prototype, { status: { get: function () { - return this.xu && this.xu.status || 0; + return this.Cu && this.Cu.status || 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - Og: { + Mg: { get: function () { - return this.xu && this.xu.Og; + return this.Cu && this.Cu.Mg; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - JK: { + NK: { get: function () { - return this.xu && this.xu.JK; + return this.Cu && this.Cu.NK; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - Ri: { + Oi: { get: function () { - return this.xu && this.xu.Ri; + return this.Cu && this.Cu.Oi; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(k.prototype, { - Us: { + Zs: { get: function () { - return !!this.za.length && this.za[0].Us; + return !!this.Aa.length && this.Aa[0].Zs; }, enumerable: !1, configurable: !0 } }); k.prototype.push = function (l) { - this.tJa && l.mb(this.Na); - this.za.push(l); - this.wn && l.sM(); + this.rJa && l.mb(this.Na); + this.Aa.push(l); + this.vn && l.uM(); }; k.prototype.mb = function (l) { f.prototype.mb.call(this, l); - this.za.forEach(function (d) { + this.Aa.forEach(function (d) { return d.mb(l); }); - this.tJa = !0; + this.rJa = !0; }; - k.prototype.sM = function () { - this.eKa = !0; - (this.wn = this.za.every(function (l) { - return l.sM(); - })) && this.$S(this); - this.eKa = !1; - return this.wn; + k.prototype.uM = function () { + this.cKa = !0; + (this.vn = this.Aa.every(function (l) { + return l.uM(); + })) && this.ZS(this); + this.cKa = !1; + return this.vn; }; - k.prototype.Ic = function () { + k.prototype.Kc = function () { 7 !== this.readyState && 5 !== this.readyState && (this.H.warn("AseCompoundRequest: in-progress request should be aborted before cleanup", this), this.abort()); - this.za.forEach(function (l) { - return l.Ic(); + this.Aa.forEach(function (l) { + return l.Kc(); }); }; - k.prototype.a8 = function (l) { - this.fh = this.xu = void 0; - return this.za.every(function (d) { - return 5 !== d.readyState && 7 !== d.readyState ? d.a8(l) : !0; + k.prototype.W7 = function (l) { + this.bh = this.Cu = void 0; + return this.Aa.every(function (d) { + return 5 !== d.readyState && 7 !== d.readyState ? d.W7(l) : !0; }); }; k.prototype.abort = function () { @@ -43903,21 +43994,21 @@ a000.D9b = function () { g; l = this.active; d = this.aborted; - this.fh = 7; - this.GI = !0; - this.Al = this.Fe = !1; - g = this.za.map(function (h) { + this.bh = 7; + this.KI = !0; + this.zl = this.He = !1; + g = this.Aa.map(function (h) { return h.abort(); }).every(function (h) { return h; }); - d || this.OK(this, l, this.dma); + d || this.SK(this, l, this.Yla); return g; }; k.prototype.getResponseHeader = function (l) { var d; d = null; - this.za.some(function (g) { + this.Aa.some(function (g) { return !!(d = g.getResponseHeader(l)); }); return d; @@ -43925,65 +44016,65 @@ a000.D9b = function () { k.prototype.getAllResponseHeaders = function () { var l; l = null; - this.za.some(function (d) { + this.Aa.some(function (d) { return !!(l = d.getAllResponseHeaders()); }); return l; }; k.prototype.i6 = function () {}; - k.prototype.Wy = function (l) { - this.Fe || (this.Fe = !0); - this.ZIa || (this.ZIa = !0, this.er = 0, this.nJ = this.yt = l.Ye, this.PK(this)); - }; - k.prototype.qM = function (l) { - this.Al || (this.Al = !0); - this.YIa || (this.YIa = !0, this.nJ = l.Ye, this.qF(this)); - }; - k.prototype.rM = function (l) { - this.nJ = l.Ye; - this.QK(this); - this.er = this.bytesReceived; - this.yt = l.Ye; - }; - k.prototype.wk = function (l) { - this.nJ = l.Ye; - this.complete ? (this.Xh = !0, this.fh = 5, this.Al = this.Fe = !1, this.pQ = !0, this.gv(this)) : this.QK(this); - this.er = this.bytesReceived; - this.yt = l.Ye; - }; - k.prototype.jV = function (l) { - this.nJ = l.Ye; - this.xu = l; - this.fh = 6; - this.G2(this); - }; - k.prototype.iV = function () {}; + k.prototype.Zy = function (l) { + this.He || (this.He = !0); + this.XIa || (this.XIa = !0, this.fr = 0, this.pJ = this.Ct = l.Ze, this.TK(this)); + }; + k.prototype.sM = function (l) { + this.zl || (this.zl = !0); + this.WIa || (this.WIa = !0, this.pJ = l.Ze, this.uF(this)); + }; + k.prototype.tM = function (l) { + this.pJ = l.Ze; + this.UK(this); + this.fr = this.bytesReceived; + this.Ct = l.Ze; + }; + k.prototype.vk = function (l) { + this.pJ = l.Ze; + this.complete ? (this.Xh = !0, this.bh = 5, this.zl = this.He = !1, this.qQ = !0, this.nv(this)) : this.UK(this); + this.fr = this.bytesReceived; + this.Ct = l.Ze; + }; + k.prototype.iV = function (l) { + this.pJ = l.Ze; + this.Cu = l; + this.bh = 6; + this.H2(this); + }; + k.prototype.hV = function () {}; k.prototype.Jh = function () { - return this.za[0].Jh() + "-" + this.za[this.za.length - 1].Jh(); + return this.Aa[0].Jh() + "-" + this.Aa[this.Aa.length - 1].Jh(); }; k.prototype.toString = function () { - return "Compound[" + this.za.map(function (l) { + return "Compound[" + this.Aa.map(function (l) { return l.toString(); }).join(",") + "]"; }; k.prototype.toJSON = function () { return { - requests: this.za + requests: this.Aa }; }; return k; - })(a(240).GH); - b.o9 = q; - }, function (q, b) { + })(a(241).OH); + b.j9 = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Jia = void 0; - b.Jia = function (a, c) { + b.Cia = void 0; + b.Cia = function (a, c) { for (var f, k, l = a.length - 1; 0 <= l; --l) { - if ((k = a[l], k.Vs)) { + if ((k = a[l], k.$s)) { if (k.bitrate <= c) return l; f = l; @@ -43991,7 +44082,7 @@ a000.D9b = function () { } return f; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -44002,75 +44093,75 @@ a000.D9b = function () { b.kZ = void 0; c = a(22); f = a(19); - q = (function () { + r = (function () { function k(l) { - this.he = l; + this.ee = l; } - k.$0 = function (l, d, g, h) { + k.b1 = function (l, d, g, h) { var m; m = c.S.hb; - d && (g = null === g || void 0 === g ? void 0 : g.d4b, l.dXb && void 0 !== g && 0 <= g ? (l = new c.S(g, 48E3), m = d.add(l), f.ka && h.trace("Adjusting profile timestamp offset of " + d + (" by DPI assumed delay of " + l) + (" for ASE applied offset of " + m + "."))) : l.VA && (m = d)); + d && (g = null === g || void 0 === g ? void 0 : g.g4b, l.fXb && void 0 !== g && 0 <= g ? (l = new c.S(g, 48E3), m = d.add(l), f.ia && h.trace("Adjusting profile timestamp offset of " + d + (" by DPI assumed delay of " + l) + (" for ASE applied offset of " + m + "."))) : l.XA && (m = d)); return m; }; k.prototype.append = function (l) { var d; - d = l.Be; + d = l.De; return { - gd: l.gd, - offset: l.offset.add(this.he), - Be: d + jd: l.jd, + offset: l.offset.add(this.ee), + De: d }; }; return k; })(); - b.kZ = q; - }, function (q, b, a) { + b.kZ = r; + }, function (r, b, a) { var f; function c(k, l) { - this.oib = k.uC && k.uC.enabled; - this.yE = void 0; - this.ghb = l; - this.Gda = []; - this.cea = []; - this.K_ = []; - this.If = []; - } - f = a(39).GL; + this.pib = k.wC && k.wC.enabled; + this.AE = void 0; + this.hhb = l; + this.Ada = []; + this.Xda = []; + this.N_ = []; + this.Jf = []; + } + f = a(39).IL; c.prototype.reset = function (k) { - this.yE = void 0; - this.Gda = []; - this.cea = []; - this.K_ = []; - k && (this.If = []); + this.AE = void 0; + this.Ada = []; + this.Xda = []; + this.N_ = []; + k && (this.Jf = []); }; c.prototype.add = function (k, l) { var d, g, h; d = l.filter(function (m, n) { - return f(m) || n === k.ie; + return f(m) || n === k.he; }); g = d.map(function (m) { return m.bitrate; }); - l = l[k.ie]; + l = l[k.he]; d = d.indexOf(l); - if (this.yE && (this.yE.length !== g.length || this.yE.some(function (m, n) { + if (this.AE && (this.AE.length !== g.length || this.AE.some(function (m, n) { return m !== g[n]; }))) { h = this.OSa(); - h && (this.If.push(h), this.reset(!1)); + h && (this.Jf.push(h), this.reset(!1)); } - void 0 === this.yE && (this.yE = g); - this.Gda.push([d, k.wta, k.oc, k.Bfa, k.oNa, k.mNb, k.qKb, k.fe, k.Uo, k.Aj, k.RUb - k.wta, k.VMb]); - void 0 !== k.kt && this.K_.push([k.wta, k.kt.K7, k.kt.r1, k.kt.T6]); - this.oib && void 0 !== l.Y && (d = l.Y.Gm(k.Aj), -1 != d && (d = l.Y.get(d), h = d.duration, l = d.zb || l.zb, void 0 !== l && this.cea.push({ - Z: d.Z, + void 0 === this.AE && (this.AE = g); + this.Ada.push([d, k.rta, k.tc, k.ufa, k.oNa, k.qNb, k.sKb, k.de, k.Vo, k.yj, k.TUb - k.rta, k.YMb]); + void 0 !== k.qt && this.N_.push([k.rta, k.qt.G7, k.qt.s1, k.qt.Q6]); + this.pib && void 0 !== l.Y && (d = l.Y.Em(k.yj), -1 != d && (d = l.Y.get(d), h = d.duration, l = d.xb || l.xb, void 0 !== l && this.Xda.push({ + X: d.X, duration: h, - zb: l + xb: l }))); }; - c.prototype.YQa = function (k) { + c.prototype.XQa = function (k) { for (var l = [], d = [], g = 0; g < k.length; g++) { for (var h = k[g], m = [], n = 0; n < h.length; n++) { m.push(h[n] - (d[n] || 0)); @@ -44083,14 +44174,14 @@ a000.D9b = function () { c.prototype.OSa = function () { var k, l; - k = this.YQa(this.Gda); + k = this.XQa(this.Ada); if (0 !== k.length) { - l = 0 < this.K_.length ? this.YQa(this.K_) : []; + l = 0 < this.N_.length ? this.XQa(this.N_) : []; return { - dltype: this.ghb, - bitrates: this.yE, + dltype: this.hhb, + bitrates: this.AE, seltrace: k, - vmaftrace: this.cea, + vmaftrace: this.Xda, paceratetrace: l }; } @@ -44099,69 +44190,72 @@ a000.D9b = function () { var k, l; k = this.OSa(); - l = this.If; + l = this.Jf; k && l.push(k); if (0 !== l.length) return l; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Ewa = void 0; - c = a(856); - q = (function () { + b.Bwa = void 0; + c = a(858); + r = (function () { + var q00; + q00 = 2; function f(k) { var r00; r00 = 2; for (; r00 !== 5; ) { switch (r00) { - case 2: - var m9b = "1SIYbZr"; - m9b += "NJCp"; - m9b += "9"; - this.H = k; - m9b; - r00 = 5; - break; case 3: this.H = k; ""; - r00 = 8; + r00 = 9; break; r00 = 5; break; + case 2: + var Y1q = "1SIYb"; + Y1q += "ZrN"; + Y1q += "JCp9"; + this.H = k; + Y1q; + r00 = 5; + break; } } } - var q00; - q00 = 2; for (; q00 !== 3; ) { switch (q00) { case 2: - f.prototype.Teb = function (k, l) { + f.prototype.Ueb = function (k, l) { var s00, d; s00 = 2; for (; s00 !== 14; ) { switch (s00) { - case 4: - var O9b = "applying ma"; - O9b += "nif"; - O9b += "es"; - O9b += "t bas"; - O9b += "ed streamingClientConfig"; - return (k = d.streamingClientConfig, this.H.trace(O9b + JSON.stringify(k)), this.fKa(l, k)); + case 9: + s00 = !k ? 8 : 7; break; case 2: - l = c.NOa(l, k); + l = c.MOa(l, k); d = k.steeringAdditionalInfo; s00 = 5; break; + case 4: + var j1q = "ap"; + j1q += "plying manifest based streamin"; + j1q += "gCl"; + j1q += "ientConfi"; + j1q += "g"; + return (k = d.streamingClientConfig, this.H.trace(j1q + JSON.stringify(k)), this.dKa(l, k)); + break; case 5: s00 = d && d.streamingClientConfig && Object.keys(d.streamingClientConfig).length ? 4 : 3; break; @@ -44169,57 +44263,51 @@ a000.D9b = function () { k = k.cdnResponseData; s00 = 9; break; - case 9: - s00 = !k ? 8 : 7; + case 8: + return l; break; case 7: - var t9b = "using sab cell >="; - t9b += " "; - t9b += "100, pipe"; - t9b += "lineEnabled: "; - var h9b = "using"; - h9b += " "; - h9b += "sab cell >= 200, pipe"; - h9b += "lineEnabled: "; - var c9b = ", al"; - c9b += "lowSwitchbac"; - c9b += "k"; - var n9b = ","; - n9b += " probeDetailDenom"; - n9b += "inator: "; - var I9b = "usi"; - I9b += "ng sab cell "; - I9b += ">= 300, probeSer"; - I9b += "verWhenError: "; - var J9b = ", all"; - J9b += "owSw"; - J9b += "itc"; - J9b += "hbac"; - J9b += "k"; - var W9b = ", probeDetailDen"; - W9b += "o"; - W9b += "minato"; - W9b += "r: "; - var E9b = "u"; - E9b += "sing "; - E9b += "sab cell >= 400"; - E9b += ", probe"; - E9b += "ServerWhenError: "; + var M2q = "using sab cell >"; + M2q += "= 100"; + M2q += ", p"; + M2q += "ipelineEnabled: "; + var D1q = "u"; + D1q += "sing sab cell >= 200, pipelineE"; + D1q += "nabled:"; + D1q += " "; + var v1q = ", "; + v1q += "allowSwitchba"; + v1q += "ck"; + var X1q = ", "; + X1q += "probeDetailDen"; + X1q += "ominator: "; + var G1q = "using sab cell >= 300, probeServ"; + G1q += "erWhenEr"; + G1q += "ror: "; + var R1q = ", allowSwitc"; + R1q += "hbac"; + R1q += "k"; + var O1q = ", probeDet"; + O1q += "ailDen"; + O1q += "ominator: "; + var i1q = "using s"; + i1q += "ab cell >= 400, probeServerWhenError:"; + i1q += " "; (k = k.sessionABTestCell) && (k = k.split(".")) && 1 < k.length && (k = parseInt(k[1].replace(/cell/i, ""), 10), 400 <= k ? (l.set ? (l.set({ probeServerWhenError: !0 }), l.set({ probeDetailDenominator: 1 }), l.set({ allowSwitchback: !0 - })) : (l.At = !0, l.yG = 1, l.sx = !0), this.H.trace(E9b + l.At + W9b + l.yG + J9b + l.sx)) : 300 <= k ? (l.set ? (l.set({ + })) : (l.Et = !0, l.FG = 1, l.xx = !0), this.H.trace(i1q + l.Et + O1q + l.FG + R1q + l.xx)) : 300 <= k ? (l.set ? (l.set({ probeServerWhenError: !0 }), l.set({ probeDetailDenominator: 1 }), l.set({ allowSwitchback: !1 - })) : (l.At = !0, l.yG = 1, l.sx = !1), this.H.trace(I9b + l.At + n9b + l.yG + c9b + l.sx)) : 200 <= k ? (l.set ? l.set({ + })) : (l.Et = !0, l.FG = 1, l.xx = !1), this.H.trace(G1q + l.Et + X1q + l.FG + v1q + l.xx)) : 200 <= k ? (l.set ? l.set({ pipelineEnabled: !1 - }) : l.Fp = !1, this.H.trace(h9b + l.Fp)) : 100 <= k && (l.set ? (l.set({ + }) : l.Hp = !1, this.H.trace(D1q + l.Hp)) : 100 <= k && (l.set ? (l.set({ pipelineEnabled: !0 }), l.set({ maxParallelConnections: 1 @@ -44227,37 +44315,34 @@ a000.D9b = function () { maxActiveRequestsPerSession: l.X4 }), l.set({ maxPendingBufferLen: l.d5 - })) : (l.Fp = !0, l.QL = 1, l.uv = l.X4, l.fC = l.d5), this.H.trace(t9b + l.Fp))); - return l; - break; - case 8: + })) : (l.Hp = !0, l.SL = 1, l.Av = l.X4, l.hC = l.d5), this.H.trace(M2q + l.Hp))); return l; break; } } }; - f.prototype.Veb = function (k, l) { + f.prototype.Web = function (k, l) { var t00; t00 = 2; for (; t00 !== 9; ) { switch (t00) { - case 5: - this.Pgb = k; - for (var d in l.Gga) { - new RegExp(d).test(k) && (l = this.fKa(l, l.Gga[d])); - } - return l; - break; case 1: return l; break; case 2: - t00 = !l.Gga || k === this.Pgb ? 1 : 5; + t00 = !l.Aga || k === this.Qgb ? 1 : 5; + break; + case 5: + this.Qgb = k; + for (var d in l.Aga) { + new RegExp(d).test(k) && (l = this.dKa(l, l.Aga[d])); + } + return l; break; } } }; - f.prototype.fKa = function (k, l) { + f.prototype.dKa = function (k, l) { var u00, d, g, @@ -44268,13 +44353,11 @@ a000.D9b = function () { case 2: for (g in l) { if (l.hasOwnProperty(g)) { - var p9b = "I"; - p9b += "n"; - p9b += "v"; - p9b += "alid k"; - p9b += "ey"; + var z2q = "Inv"; + z2q += "ali"; + z2q += "d key"; h = l[g]; - k.set ? 0 === k.set((d = {}, d[g] = h, d)) && this.H.trace(p9b + g) : k[g] = h; + k.set ? 0 === k.set((d = {}, d[g] = h, d)) && this.H.trace(z2q + g) : k[g] = h; } } return k; @@ -44282,98 +44365,111 @@ a000.D9b = function () { } } }; + q00 = 4; + break; + case 4: return f; break; } } })(); - b.Ewa = q; - }, function (q, b, a) { - var c, - f, - k; + b.Bwa = r; + }, function (r, b) { + var a, + c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.nAa = b.wFa = void 0; - c = a(2).__importDefault(a(4)).default.Promise; - f = (function () { - function l() { - var d; - d = this; - this.S_ = []; - this.IPb = function (g) { - g = d.S_.indexOf(g); - 0 <= g && d.S_.splice(g, 1); + b.lAa = b.tFa = void 0; + a = (function () { + function f() { + var k; + k = this; + this.RQ = []; + this.NPb = function (l) { + l = k.RQ.indexOf(l); + 0 <= l && k.RQ.splice(l, 1); }; } - Object.defineProperties(l.prototype, { - UA: { + Object.defineProperties(f.prototype, { + WA: { get: function () { - return 0 !== this.S_.length; + return 0 !== this.RQ.length; }, enumerable: !1, configurable: !0 } }); - l.prototype.add = function () { - var d; - d = new k(this.IPb); - this.S_.push(d); - return d; + Object.defineProperties(f.prototype, { + QZa: { + get: function () { + return this.RQ.length; + }, + enumerable: !1, + configurable: !0 + } + }); + f.prototype.add = function () { + var k; + k = new c(this.NPb); + this.RQ.push(k); + return k; }; - l.prototype.V6a = function (d) { - var g; - g = this.add(); + f.prototype.Y6a = function (k) { + var l; + l = this.add(); try { - return c.resolve(d()).then(function (h) { - g.release(); - return h; - }, function (h) { - g.release(); - return c.reject(h); + return Promise.resolve(k()).then(function (d) { + l.release(); + return d; + }, function (d) { + l.release(); + return Promise.reject(d); }); - } catch (h) { - return (g.release(), c.reject(h)); + } catch (d) { + return (l.release(), Promise.reject(d)); } }; - return l; + return f; })(); - b.wFa = f; - k = (function () { - function l(d) { - this.Kib = d; + b.tFa = a; + c = (function () { + function f(k) { + this.Lib = k; } - l.prototype.release = function () { - this.Kib(this); + f.prototype.release = function () { + this.Lib(this); }; - return l; + return f; })(); - q = (function () { - function l(d) { - this.aLb = d; - this.counter = new f(); + r = (function () { + function f(k, l) { + this.cLb = k; + this.console = l; + this.counter = new a(); } - l.prototype.nx = function () { - var d, - g; - d = this; - g = this.counter.add(); + f.prototype.sx = function () { + var k, + l; + k = this; + this.console.trace("Acquiring lease, total count", this.counter.QZa + 1); + l = this.counter.add(); return { release: function () { - g.release(); - d.aLb(function () { - return !d.counter.UA; + l.release(); + k.console.trace("Releasing lease, total count", k.counter.QZa); + k.cLb(function () { + return !k.counter.WA; }); } }; }; - return l; + return f; })(); - b.nAa = q; - }, function (q, b, a) { + b.lAa = r; + }, function (r, b, a) { var c, f, k, @@ -44383,66 +44479,66 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.pAa = b.IP = void 0; + b.nAa = b.IP = void 0; c = a(2); f = a(16); k = c.__importStar(a(10)); l = c.__importDefault(a(84)); - d = a(408); + d = a(412); g = a(14); - h = a(248); + h = a(249); m = a(22); - q = a(43); - n = c.__importDefault(a(4)); - r = a(416); - (function (u) { - u[u.eSa = 0] = "forwards"; - u[u.hfa = 1] = "backwards"; - u[u.hM = 2] = "none"; + r = a(43); + n = c.__importDefault(a(5)); + q = a(420); + (function (t) { + t[t.dSa = 0] = "forwards"; + t[t.afa = 1] = "backwards"; + t[t.jM = 2] = "none"; })(p = b.IP || (b.IP = {})); - a = (function (u) { - function t(w, v, x, y, z, B, A, C, E, F, D, G, I, J, H, M) { - var O, - L, - P; - L = u.call(this, void 0, v, y, E.N, w, E, void 0, F, I, m.S.rb(D), A.xe.bind(A), G, M, void 0, new f.EventEmitter(), void 0) || this; - L.fb = w; - L.Ch = x; - L.Yb = z; - L.l_ = B; - L.T = A; - L.AJ = C; - L.Tf = G; - L.hT = J; - L.rg = H; - L.Lk = M; - L.active = !1; - L.lJa = []; - L.vda = 0; - null === (O = L.N) || void 0 === O ? void 0 : O.Dqa(L); - L.children = Object.create(null); - L.dw = []; - L.Wd = void 0; - void 0 === I && (I = m.S.rb(E.Z)); - P = [L.I.DMa, L.I.Gsa]; - F.forEach(function (R) { - var K; - K = R.mediaType; - R = new r.OY(w, L.Ch, L.H, L, R, I.V, P[K], v, L.l_, L.rg, L.t_[K], null === G || void 0 === G ? void 0 : G.Ra(K)); - L.eh.V2a(K, R); + a = (function (t) { + function u(w, v, x, y, z, A, B, C, E, G, D, F, J, K, H, L) { + var Q, + I, + O; + I = t.call(this, void 0, v, y, E.N, w, E, void 0, G, J, m.S.rb(D), B.ye.bind(B), F, L, void 0, new f.EventEmitter(), void 0) || this; + I.fb = w; + I.Bh = x; + I.$b = z; + I.o_ = A; + I.T = B; + I.CJ = C; + I.Uf = F; + I.fT = K; + I.rg = H; + I.Lk = L; + I.active = !1; + I.jJa = []; + I.pda = 0; + null === (Q = I.N) || void 0 === Q ? void 0 : Q.xqa(I); + I.children = Object.create(null); + I.hw = []; + I.Vd = void 0; + void 0 === J && (J = m.S.rb(E.X)); + O = [I.I.DMa, I.I.Asa]; + G.forEach(function (N) { + var M; + M = N.mediaType; + N = new q.NY(w, I.Bh, I.H, I, N, J.V, O[M], v, I.o_, I.rg, I.w_[M], null === F || void 0 === F ? void 0 : F.Sa(M)); + I.ah.V2a(M, N); }); - L.lE = L.eh.DV; - return L; + I.oE = I.ah.CV; + return I; } - c.__extends(t, u); - Object.defineProperties(t.prototype, { + c.__extends(u, t); + Object.defineProperties(u.prototype, { K: { get: function () { return this.N.K; @@ -44451,32 +44547,32 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { - Zm: { + Object.defineProperties(u.prototype, { + Ym: { get: function () { var w, v, x, y; - return [null !== (v = null === (w = this.Ra(0)) || void 0 === w ? void 0 : w.Zm) && void 0 !== v ? v : 0, null !== (y = null === (x = this.Ra(1)) || void 0 === x ? void 0 : x.Zm) && void 0 !== y ? y : 0]; + return [null !== (v = null === (w = this.Sa(0)) || void 0 === w ? void 0 : w.Ym) && void 0 !== v ? v : 0, null !== (y = null === (x = this.Sa(1)) || void 0 === x ? void 0 : x.Ym) && void 0 !== y ? y : 0]; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - cp: { + Object.defineProperties(u.prototype, { + ep: { get: function () { var w, v, x, y; - return [null !== (v = null === (w = this.Ra(0)) || void 0 === w ? void 0 : w.cp) && void 0 !== v ? v : { + return [null !== (v = null === (w = this.Sa(0)) || void 0 === w ? void 0 : w.ep) && void 0 !== v ? v : { V: 0, - ca: 0 - }, null !== (y = null === (x = this.Ra(1)) || void 0 === x ? void 0 : x.cp) && void 0 !== y ? y : { + da: 0 + }, null !== (y = null === (x = this.Sa(1)) || void 0 === x ? void 0 : x.ep) && void 0 !== y ? y : { V: 0, - ca: 0 + da: 0 } ]; }, @@ -44484,52 +44580,52 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { - p7: { + Object.defineProperties(u.prototype, { + m7: { get: function () { - return this.P.Z; + return this.P.X; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Fpa: { + Object.defineProperties(u.prototype, { + Apa: { get: function () { - return this.p7 + this.Ke; + return this.m7 + this.Me; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - pc: { + Object.defineProperties(u.prototype, { + uc: { get: function () { - return this.P.Aa; + return this.P.Ca; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Pd: { + Object.defineProperties(u.prototype, { + Nd: { get: function () { - return this.pc + this.Ke; + return this.uc + this.Me; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Vb: { + Object.defineProperties(u.prototype, { + Yb: { get: function () { - return this.N.Vb; + return this.N.Yb; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(u.prototype, { weight: { get: function () { return this.P.weight; @@ -44538,407 +44634,407 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(u.prototype, { P: { get: function () { - return this.Gu; + return this.Lu; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Ne: { + Object.defineProperties(u.prototype, { + Pe: { get: function () { - return this.eh; + return this.ah; }, enumerable: !1, configurable: !0 } }); - t.prototype.zf = function () { + u.prototype.Bf = function () { var w; - this.Fn || (this.active = !1, this.Tf && (delete this.Tf.children[this.P.id], this.Tf = void 0), k.Te(this.children, function (v) { - v && v.Tf && (v.Tf = void 0); - }), this.children = Object.create(null), this.TI = void 0, u.prototype.zf.call(this), null === (w = this.N) || void 0 === w ? void 0 : w.Dta(this), this.eh.clear()); + this.Fn || (this.active = !1, this.Uf && (delete this.Uf.children[this.P.id], this.Uf = void 0), k.Ue(this.children, function (v) { + v && v.Uf && (v.Uf = void 0); + }), this.children = Object.create(null), this.XI = void 0, t.prototype.Bf.call(this), null === (w = this.N) || void 0 === w ? void 0 : w.yta(this), this.ah.clear()); }; - t.prototype.bra = function (w, v) { - void 0 === v && (v = p.hfa); - this.Ne.forEach(function (x) { - (k.ga(w) || x.mediaType === w) && x.reset(); + u.prototype.Wqa = function (w, v) { + void 0 === v && (v = p.afa); + this.Pe.forEach(function (x) { + (k.fa(w) || x.mediaType === w) && x.reset(); }); switch (v) { - case p.hfa: - this.Tf && this.Tf.bra(w, v); + case p.afa: + this.Uf && this.Uf.Wqa(w, v); break; - case p.eSa: - this.children && k.Te(this.children, function (x) { - x && x.bra(w, v); + case p.dSa: + this.children && k.Ue(this.children, function (x) { + x && x.Wqa(w, v); }); } }; - t.prototype.k4 = function (w) { + u.prototype.l4 = function (w) { var v, x, y; if (!this.active) return !1; - v = this.Tf; + v = this.Uf; if (v) { - x = v.Ra(w); - y = x.Na.S_a; - if (0 !== y && (v.QJ(w), y = x.Na.S_a, 0 !== y)) + x = v.Sa(w); + y = x.Na.Q_a; + if (0 !== y && (v.TJ(w), y = x.Na.Q_a, 0 !== y)) return !1; } return !0; }; - t.prototype.Ed = function (w) { - return this.Ne.Ra(w); + u.prototype.Dd = function (w) { + return this.Pe.Sa(w); }; - t.prototype.JCb = function () { - return this.Ne.every(function (w) { - return 0 === w.lz; + u.prototype.LCb = function () { + return this.Pe.every(function (w) { + return 0 === w.oz; }); }; - t.prototype.toJSON = function () { - return c.__assign(c.__assign({}, u.prototype.toJSON.call(this)), { + u.prototype.toJSON = function () { + return c.__assign(c.__assign({}, t.prototype.toJSON.call(this)), { active: this.active, playerStartPts: this.Zc, - playerEndPts: this.Pd, - pipelines: this.Ne, - previousBranch: this.Tf + playerEndPts: this.Nd, + pipelines: this.Pe, + previousBranch: this.Uf }); }; - t.prototype.q3a = function (w, v) { - this.N.Dta(this); + u.prototype.q3a = function (w, v) { + this.N.yta(this); this.N = this.P.N = w; - this.Zra(this.N); - this.N.Dqa(this); - this.Ne.forEach(function (x) { + this.Sra(this.N); + this.N.xqa(this); + this.Pe.forEach(function (x) { var y; y = v[x.mediaType]; - y && x.vW(y); + y && x.uW(y); }); }; - t.prototype.SAb = function (w) { + u.prototype.VAb = function (w) { return this.Lk[w]; }; - t.prototype.Ra = function (w) { - return this.Ne.Ra(w); + u.prototype.Sa = function (w) { + return this.Pe.Sa(w); }; - t.prototype.fBb = function (w) { - return this.Ra(w).lz; + u.prototype.hBb = function (w) { + return this.Sa(w).oz; }; - t.prototype.Xra = function (w, v, x) { + u.prototype.Qra = function (w, v, x) { var y, z, - B, - A; + A, + B; y = this; z = this.P; - w = this.a1(z.Z, this.N, w, this.K === (w ? w.K : this.Yb.Cc.K)); - B = w.JM; - A = w.ey; + w = this.c1(z.X, this.N, w, this.K === (w ? w.K : this.$b.Ec.K)); + A = w.JM; + B = w.jy; void 0 === v && (v = [0, 1]); - 0 === A.length || v.forEach(function (C) { + 0 === B.length || v.forEach(function (C) { var E, - F; - E = y.Ra(C); - x && (E.Vd = A[C]); - F = y.TS(z.Aa); - E.C7(F[C]); + G; + E = y.Sa(C); + x && (E.Ud = B[C]); + G = y.SS(z.Ca); + E.y7(G[C]); }); - return B; + return A; }; - t.prototype.s1a = function (w, v) { + u.prototype.s1a = function (w, v) { var x, y, z; x = this.fb; - y = this.Ra(0); - void 0 === v && (v = y.XDb); - this.Tf && (z = this.Tf.Ed(0)); - x = new r.OY(x, this.Ch, this.H, this, w, v, y.jN, this.I, this.l_, this.rg, this.t_[0], z); - this.eh.replace(y, x); - this.lE = this.eh.DV; - this.Xra(this.Tf, [0], !0); - x.UG(v, !!this.Tf); - y.zf(); - k.Te(this.children, function (B) { - B && B.s1a(w); - }); - }; - t.prototype.Es = function (w, v) { - if (v = this.Ra(v)) - return v.Na.Es(w); - }; - t.prototype.QJ = function (w) { - void 0 === w ? this.Ne.forEach(function (v) { - v.QJ(); - }) : this.Ra(w).QJ(); - }; - t.prototype.GV = function (w, v, x) { - (w = this.Ra(w)) && w.Na.GV(v, x); - }; - t.prototype.n3 = function (w, v) { - (v = this.Ra(v)) && v.Na.n3(w); - }; - t.prototype.DHb = function (w) { - this.lJa[w] = !0; - }; - t.prototype.job = function () { + y = this.Sa(0); + void 0 === v && (v = y.$Db); + this.Uf && (z = this.Uf.Dd(0)); + x = new q.NY(x, this.Bh, this.H, this, w, v, y.kN, this.I, this.o_, this.rg, this.w_[0], z); + this.ah.replace(y, x); + this.oE = this.ah.CV; + this.Qra(this.Uf, [0], !0); + x.bH(v, !!this.Uf); + y.Bf(); + k.Ue(this.children, function (A) { + A && A.s1a(w); + }); + }; + u.prototype.Is = function (w, v) { + if (v = this.Sa(v)) + return v.Na.Is(w); + }; + u.prototype.TJ = function (w) { + void 0 === w ? this.Pe.forEach(function (v) { + v.TJ(); + }) : this.Sa(w).TJ(); + }; + u.prototype.FV = function (w, v, x) { + (w = this.Sa(w)) && w.Na.FV(v, x); + }; + u.prototype.o3 = function (w, v) { + (v = this.Sa(v)) && v.Na.o3(w); + }; + u.prototype.GHb = function (w) { + this.jJa[w] = !0; + }; + u.prototype.kob = function () { var w; w = this; return [0, 1].every(function (v) { - return !w.Vb(v) || w.lJa[v]; + return !w.Yb(v) || w.jJa[v]; }); }; - t.prototype.hob = function (w, v, x, y) { + u.prototype.iob = function (w, v, x, y) { var z, - B, A, + B, C, E, - F, - D, G, - I; + D, + F, + J; z = this.I; - B = this.fb; - A = this.T.getState(); - C = A === g.ja.Sc || A === g.ja.ef; + A = this.fb; + B = this.T.getState(); + C = B === g.ka.Sc || B === g.ka.ef; if (!C && void 0 === x) return { - Se: !0 + Te: !0 }; - if (A === g.ja.ef && n.default.time.aa() < this.vda + z.aoa) + if (B === g.ka.ef && n.default.time.ba() < this.pda + z.Wna) return { - Se: !1 + Te: !1 }; - E = this.Ra(0); - F = this.Ra(1); - D = this.Yb.Ru(this, 0); - G = this.Yb.Ru(this, 1); - I = h.x6(A); - D = !E || E.QNa(I, this.T.xe(), v, D, this.T.up(), y); - G = !F || F.QNa(I, this.T.xe(), w, G, this.T.up(), y); - void 0 !== x && D && (x = x.trackId, w = this.N.getTrackById(x), this.$eb(x, w.ON), B.wx = void 0); - if (D && G) - return (this.AJ(), this.JR = n.default.time.aa(), A === g.ja.ef && (this.vda = n.default.time.aa()), { - Se: !0, - ls: F ? F.OE : E.OE + E = this.Sa(0); + G = this.Sa(1); + D = this.$b.Wu(this, 0); + F = this.$b.Wu(this, 1); + J = h.w6(B); + D = !E || E.PNa(J, this.T.ye(), v, D, this.T.vp(), y); + F = !G || G.PNa(J, this.T.ye(), w, F, this.T.vp(), y); + void 0 !== x && D && (x = x.trackId, w = this.N.getTrackById(x), this.afb(x, w.PN), A.Bx = void 0); + if (D && F) + return (this.CJ(), this.KR = n.default.time.ba(), B === g.ka.ef && (this.pda = n.default.time.ba()), { + Te: !0, + ps: G ? G.PE : E.PE }); D = this.Hh(0); - G = this.Hh(1); + F = this.Hh(1); if (C) { - B = !F || G > z.Qi; - if ((!E || D > z.Qi) && B && (E = this.hT(), E >= z.$y)) - return (this.Eb("buffering longer than limit: " + E + " >= " + z.$y + ", audio buffer: " + D + " ms, video buffer: " + G + " ms"), this.AJ(), this.JR = n.default.time.aa(), A === g.ja.ef && (this.vda = n.default.time.aa()), { - Se: !0, - ls: "prebufferTimeLimit" + A = !G || F > z.Ni; + if ((!E || D > z.Ni) && A && (E = this.fT(), E >= z.cz)) + return (this.Gb("buffering longer than limit: " + E + " >= " + z.cz + ", audio buffer: " + D + " ms, video buffer: " + F + " ms"), this.CJ(), this.KR = n.default.time.ba(), B === g.ka.ef && (this.pda = n.default.time.ba()), { + Te: !0, + ps: "prebufferTimeLimit" }); - this.Ch.yhb(); + this.Bh.zhb(); } return { - Se: !1 + Te: !1 }; }; - t.prototype.Xfa = function (w, v) { + u.prototype.Rfa = function (w, v) { var x, y, z, - B, A, + B, C; x = this.I; - y = this.Ra(0); - z = this.Ra(1); - v ? (v = this.Hh(0, w), w = this.Hh(1, w)) : (v = this.Yb.Ru(this, 0, w), w = this.Yb.Ru(this, 1, w)); - B = x.Qi; - A = !this.Vb(0) || y.yh && 0 === y.Na.sC && 0 === y.Na.Ar; - y = !this.Vb(1) || z.yh && 0 === z.Na.sC && 0 === z.Na.Ar; - C = A && y; - x = !A && v < x.Qi; - if (!C && (x || !y && w < B)) + y = this.Sa(0); + z = this.Sa(1); + v ? (v = this.Hh(0, w), w = this.Hh(1, w)) : (v = this.$b.Wu(this, 0, w), w = this.$b.Wu(this, 1, w)); + A = x.Ni; + B = !this.Yb(0) || y.wh && 0 === y.Na.uC && 0 === y.Na.Dr; + y = !this.Yb(1) || z.wh && 0 === z.Na.uC && 0 === z.Na.Dr; + C = B && y; + x = !B && v < x.Ni; + if (!C && (x || !y && w < A)) return !1; - if (z && z.Se || !this.Vb(1)) + if (z && z.Te || !this.Yb(1)) return !0; if (C) - if (this.fb.N_ && 0 === v && 0 === w) - this.Eb("playlist mode with nothing buffered, waiting for next manifest"); + if (this.fb.Q_ && 0 === v && 0 === w) + this.Gb("playlist mode with nothing buffered, waiting for next manifest"); else return !0; return !1; }; - t.prototype.z7 = function (w, v) { + u.prototype.v7 = function (w, v) { var x, y; x = this; y = this.I; - this.Ne.forEach(function (z) { + this.Pe.forEach(function (z) { z.seeking = void 0; }); - w && y.Gh && this.Ne.forEach(function (z) { - var B; + w && y.Gh && this.Pe.forEach(function (z) { + var A; if (z) { - B = x.Yb.SE(x, z.mediaType); - z = "bufferingComplete: , mediaType: " + z.mediaType + ", bufferLevelBytes: " + z.cp.ca + ", completedMs: " + z.bK + ", completedBytes: " + B + ", partials: " + z.Na.sC + ", streamingPts: " + z.oc + ", completeStreamingPts: " + z.rs + ", fragments: " + JSON.stringify(z.Na.Y) + ", toAppend: " + v(z.mediaType); - x.Ch.Ul(z); + A = x.$b.TE(x, z.mediaType); + z = "bufferingComplete: , mediaType: " + z.mediaType + ", bufferLevelBytes: " + z.ep.da + ", completedMs: " + z.eK + ", completedBytes: " + A + ", partials: " + z.Na.uC + ", streamingPts: " + z.tc + ", completeStreamingPts: " + z.ws + ", fragments: " + JSON.stringify(z.Na.Y) + ", toAppend: " + v(z.mediaType); + x.Bh.Tl(z); } }); }; - t.prototype.KC = function (w, v, x) { + u.prototype.LC = function (w, v, x) { var y, z, - B; + A; y = this; - z = n.default.time.aa(); - B = {}; - k.Te(this.children, function (A) { + z = n.default.time.ba(); + A = {}; + k.Ue(this.children, function (B) { var C, E, - F, + G, D; - if (A) { - if (A.Wd) { - A.Wd.Fub = z - A.Wd.Y3; - A.Wd.Y3 = void 0; - C = A.Wd.weight; + if (B) { + if (B.Vd) { + B.Vd.Jub = z - B.Vd.Z3; + B.Vd.Z3 = void 0; + C = B.Vd.weight; } else - C = y.Yb.mUa(y.P.id, A.P.id); - E = A.sF(); - F = y.Ra(0) && 0 === E.Zr; - D = y.Ra(1) && 0 === E.ro; - B[A.P.id] = { + C = y.$b.mUa(y.P.id, B.P.id); + E = B.wF(); + G = y.Sa(0) && 0 === E.fs; + D = y.Sa(1) && 0 === E.so; + A[B.P.id] = { weight: C, - Eq: E, - JT: !F && !D + Gq: E, + HT: !G && !D }; } }); x = { - Np: z, - Be: w, - vha: x, - L7: this.P.id, - Wd: B + Qp: z, + De: w, + pha: x, + H7: this.P.id, + Vd: A }; - w || (w = v.xe(), x.zN = w - (this.P.Z + this.Ke), x.zN = Math.max(0, x.zN), x.O1 = 0, x.startTime = z); - this.dw.unshift(x); + w || (w = v.ye(), x.AN = w - (this.P.X + this.Me), x.AN = Math.max(0, x.AN), x.Q1 = 0, x.startTime = z); + this.hw.unshift(x); return x; }; - t.prototype.jpb = function (w) { + u.prototype.kpb = function (w) { var v, x; - v = this.dw[0]; - v.Be && (v.zN = this.pc - this.P.Z, v.zN = Math.max(0, v.zN)); - v.u5a = {}; - x = w.sF(); - l.default(x, v.u5a); - v.JT = w.cp.every(function (y) { + v = this.hw[0]; + v.De && (v.AN = this.uc - this.P.X, v.AN = Math.max(0, v.AN)); + v.w5a = {}; + x = w.wF(); + l.default(x, v.w5a); + v.HT = w.ep.every(function (y) { return 0 < y.V; }); - this.dw = []; + this.hw = []; return v; }; - t.prototype.dn = function (w) { + u.prototype.cn = function (w) { var v; v = this.P; - w -= this.Ke; - if (v.Z < w && w < v.Aa) - this.dw.shift(); - else if (v = this.dw[0]) - v.dn = !0; + w -= this.Me; + if (v.X < w && w < v.Ca) + this.hw.shift(); + else if (v = this.hw[0]) + v.cn = !0; }; - t.prototype.a1 = function (w, v, x, y) { + u.prototype.c1 = function (w, v, x, y) { var z, - B, A, + B, C; z = this; void 0 === v && (v = this.N); - B = !1; + A = !1; if (x) { - B = !0; - A = x.Ra(1).nf; - x = x.Ra(0).nf; - if (!A || !x) + A = !0; + B = x.Sa(1).nf; + x = x.Sa(0).nf; + if (!B || !x) return { JM: [], - ey: [] + jy: [] }; - A = A.Aa; - y || (A = void 0); + B = B.Ca; + y || (B = void 0); } - C = this.IRa(w, A, B, v); - v.Db === this.Yb.Isb && [1, 0].forEach(function (E) { - var F; - F = z.Ra(E); - F && (F.Vd = C[E]); + C = this.HRa(w, B, A, v); + v.Fb === this.$b.Ksb && [1, 0].forEach(function (E) { + var G; + G = z.Sa(E); + G && (G.Ud = C[E]); }); return { JM: C.map(function (E) { - return E.Z; + return E.X; }), - ey: C + jy: C }; }; - t.prototype.IRa = function (w, v, x, y) { + u.prototype.HRa = function (w, v, x, y) { var z; z = this; void 0 === y && (y = this.N); - return this.cLa(y) ? [1, 0].map(function (B) { - var A; - if (!z.Vb(B)) + return this.aLa(y) ? [1, 0].map(function (A) { + var B; + if (!z.Yb(A)) return {}; - A = y.Rg[B]; - B = z.Ra(B).Fm(A.stream, w, v, x); - w = B.Z; - return B; + B = y.Qg[A]; + A = z.Sa(A).Dm(B.stream, w, v, x); + w = A.X; + return A; }).reverse() : []; }; - t.prototype.TS = function (w, v) { + u.prototype.SS = function (w, v) { var x; x = this; void 0 === v && (v = this.N); - return this.cLa(v) ? [1, 0].map(function (y) { + return this.aLa(v) ? [1, 0].map(function (y) { var z; - if (!x.Vb(y)) + if (!x.Yb(y)) return {}; - z = v.Rg[y].stream; - y = x.Ra(y).dy(z, w); - w = x.I.Uf ? new m.S(y.jb, z.pa.U).V : y.Aa; + z = v.Qg[y].stream; + y = x.Sa(y).iy(z, w); + w = x.I.Vf ? new m.S(y.jb, z.pa.U).V : y.Ca; return y; }).reverse() : []; }; - t.prototype.wWb = function (w, v) { + u.prototype.yWb = function (w, v) { var x; - x = this.P.Aa; - x && x < v && (w = this.TS(x)); - v = this.Ed(1); - x = this.Ed(0); - v && v.C7(w[1]); - x && x.C7(w[0]); - }; - t.prototype.cLa = function (w) { + x = this.P.Ca; + x && x < v && (w = this.SS(x)); + v = this.Dd(1); + x = this.Dd(0); + v && v.y7(w[1]); + x && x.y7(w[0]); + }; + u.prototype.aLa = function (w) { var v; - v = w.Rg; + v = w.Qg; if (!v) return !1; w = v[1]; - w = !this.Vb(1) || w && w.stream.ye; + w = !this.Yb(1) || w && w.stream.Ae; v = v[0]; - v = !this.Vb(0) || v && v.stream.ye; + v = !this.Yb(0) || v && v.stream.Ae; return w && v ? !0 : !1; }; - t.prototype.$eb = function (w, v) { - this.Ch.whb(w, v); + u.prototype.afb = function (w, v) { + this.Bh.xhb(w, v); }; - return t; - })(d.maa); - b.pAa = a; - q.tf(f.EventEmitter, a); - }, function (q, b, a) { + return u; + })(d.eaa); + b.nAa = a; + r.tf(f.EventEmitter, a); + }, function (r, b, a) { var f, k, l, @@ -44947,10 +45043,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; @@ -44962,63 +45058,63 @@ a000.D9b = function () { value: !0 } }); - b.maa = b.Iaa = void 0; + b.eaa = b.Baa = void 0; f = a(2); - k = a(409); + k = a(413); l = a(96); d = a(176); - g = a(887); + g = a(889); h = a(14); - m = a(414); - n = a(889); - r = a(9); + m = a(418); + n = a(891); + q = a(9); p = a(30); - u = a(6); - t = a(22); - w = f.__importDefault(a(4)); - q = a(112); + t = a(6); + u = a(22); + w = f.__importDefault(a(5)); + r = a(112); v = a(43); - x = a(890); - b.Iaa = { - QXb: c + x = a(892); + b.Baa = { + SXb: c }; a = (function (y) { - function z(B, A, C, E, F, D, G, I, J, H, M, O, L, P, R, K) { - var Q, - N; - N = y.call(this) || this; - N.$Tb = B; - N.I = A; - N.N = E; - N.upa = F; - N.Gu = D; - N.Pja = G; - N.sA = H; - N.Gca = M; - N.parent = O; - N.Lk = L; - N.aQ = P; - N.events = R; - N.bx = K; - N.eh = new x.XDa([]); - N.Pr = !1; - N.xJa = 0; - N.sIa = N.Qoa.bind(N); - N.H = r.Ys(w.default, C, D.id && D.id.length ? "{" + D.id + "}" : ""); - N.$j = N.H.error.bind(N.H); - N.Eb = N.H.warn.bind(N.H); - N.sm = N.H.trace.bind(N.H); - N.RB = null !== J && void 0 !== J ? J : t.S.rb(N.P.Z); - N.gKa = null === O || void 0 === O ? void 0 : O.pf; - null === (Q = N.aQ) || void 0 === Q ? void 0 : Q.addListener(N.sIa); - E && I && (N.OVa(E, I), N.parent = void 0); - return N; + function z(A, B, C, E, G, D, F, J, K, H, L, Q, I, O, N, M) { + var P, + R; + R = y.call(this) || this; + R.bUb = A; + R.I = B; + R.N = E; + R.ppa = G; + R.Lu = D; + R.Ija = F; + R.uA = H; + R.Aca = L; + R.parent = Q; + R.Lk = I; + R.aQ = O; + R.events = N; + R.gx = M; + R.ah = new x.VDa([]); + R.Tr = !1; + R.vJa = 0; + R.qIa = R.Loa.bind(R); + R.H = q.Yq(w.default, C, D.id && D.id.length ? "{" + D.id + "}" : ""); + R.ak = R.H.error.bind(R.H); + R.Gb = R.H.warn.bind(R.H); + R.rm = R.H.trace.bind(R.H); + R.TB = null !== K && void 0 !== K ? K : u.S.rb(R.P.X); + R.eKa = null === Q || void 0 === Q ? void 0 : Q.pf; + null === (P = R.aQ) || void 0 === P ? void 0 : P.addListener(R.qIa); + E && J && (R.MVa(E, J), R.parent = void 0); + return R; } f.__extends(z, y); Object.defineProperties(z.prototype, { Fn: { get: function () { - return this.Pr; + return this.Tr; }, enumerable: !1, configurable: !0 @@ -45027,17 +45123,17 @@ a000.D9b = function () { Object.defineProperties(z.prototype, { P: { get: function () { - return this.Gu; + return this.Lu; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - ZB: { + aC: { get: function () { - return this.eh.every(function (B) { - return B.ZB; + return this.ah.every(function (A) { + return A.aC; }); }, enumerable: !1, @@ -45045,10 +45141,10 @@ a000.D9b = function () { } }); Object.defineProperties(z.prototype, { - Wo: { + Xo: { get: function () { - return this.eh.every(function (B) { - return B.Wo; + return this.ah.every(function (A) { + return A.Xo; }); }, enumerable: !1, @@ -45056,10 +45152,10 @@ a000.D9b = function () { } }); Object.defineProperties(z.prototype, { - rx: { + wx: { get: function () { - return this.ny().reduce(function (B, A) { - return B + A.rx; + return this.ry().reduce(function (A, B) { + return A + B.wx; }, 0); }, enumerable: !1, @@ -45069,8 +45165,8 @@ a000.D9b = function () { Object.defineProperties(z.prototype, { sk: { get: function () { - return this.ny().every(function (B) { - return B.sk(); + return this.ry().every(function (A) { + return A.sk(); }); }, enumerable: !1, @@ -45078,10 +45174,10 @@ a000.D9b = function () { } }); Object.defineProperties(z.prototype, { - Fg: { + Dg: { get: function () { - return this.ny().map(function (B) { - return B.track; + return this.ry().map(function (A) { + return A.track; }); }, enumerable: !1, @@ -45091,16 +45187,16 @@ a000.D9b = function () { Object.defineProperties(z.prototype, { U: { get: function () { - return this.lE.U; + return this.oE.U; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - Xa: { + Ya: { get: function () { - return this.lE.Xa; + return this.oE.Ya; }, enumerable: !1, configurable: !0 @@ -45109,53 +45205,53 @@ a000.D9b = function () { Object.defineProperties(z.prototype, { jb: { get: function () { - return this.lE.jb; + return this.oE.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - Lj: { + Kj: { get: function () { - return this.yj.Vf(this.U).Wb; + return this.vj.Wf(this.U).Zb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - yy: { + By: { get: function () { - return this.RB.add(this.yj); + return this.TB.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - AM: { + CM: { get: function () { - return this.P.uh.add(this.yj); + return this.P.th.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - yV: { + xV: { get: function () { - return this.P.Ll.add(this.yj); + return this.P.Kl.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - Kma: { + Ema: { get: function () { - return this.eh.reduce(function (B, A) { - return B && A.pf ? t.S.max(B, A.pf) : A.pf ? A.pf : B; + return this.ah.reduce(function (A, B) { + return A && B.pf ? u.S.max(A, B.pf) : B.pf ? B.pf : A; }, void 0); }, enumerable: !1, @@ -45163,325 +45259,335 @@ a000.D9b = function () { } }); Object.defineProperties(z.prototype, { - SVa: { + QVa: { get: function () { - return this.yy.V; + return this.By.V; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - Ke: { + Me: { get: function () { - return this.yj.V; + return this.vj.V; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - Rt: { + Xt: { get: function () { - return this.lE.Rt; + return this.oE.Xt; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(z.prototype, { - yj: { + vj: { get: function () { - return this.sA; + return this.uA; }, enumerable: !1, configurable: !0 } }); z.prototype.mb = function () { - var B; - B = this.OVa(this.N); - this.LVa(B); + var A; + A = this.MVa(this.N); + this.JVa(A); }; - z.prototype.update = function (B) { - var A, + z.prototype.update = function (A) { + var B, C, E; - E = B.Ll.T5(this.Gu.Ll); - this.Gu = B; - E && this.iE && (E = f.__read(this.iE.RPb(B, B.Ll), 2), B = E[0], E = E[1], u.assert(B && E, "branch.update: lastFragment should be defined"), null === (A = this.Ra(0)) || void 0 === A ? void 0 : A.truncate(B), null === (C = this.Ra(1)) || void 0 === C ? void 0 : C.truncate(E), this.cKa(!0, !0), this.events.emit("branchEdited", { + E = A.Kl.T5(this.Lu.Kl); + this.Lu = A; + E && this.lE && (E = f.__read(this.lE.WPb(A, A.Kl), 2), A = E[0], E = E[1], t.assert(A && E, "branch.update: lastFragment should be defined"), null === (B = this.Sa(0)) || void 0 === B ? void 0 : B.truncate(A), null === (C = this.Sa(1)) || void 0 === C ? void 0 : C.truncate(E), this.aKa(!0, !0), this.events.emit("branchEdited", { type: "branchEdited" })); }; - z.prototype.Hz = function (B) { - this.yj.equal(B) || (this.sA = B); + z.prototype.Kz = function (A) { + this.vj.equal(A) || (this.uA = A); }; - z.prototype.AF = function (B) { - return (B = this.Ra(B)) ? B.AF() : d.AsyncIterator.tzb(); + z.prototype.FF = function (A) { + return f.__awaiter(this, void 0, void 0, function () { + var B; + return f.__generator(this, function (C) { + switch (C.label) { + case 0: + return [4, Promise.resolve()]; + case 1: + return (C.Wd(), (B = this.Sa(A)) ? [2, B.FF()] : [2, d.AsyncIterator.xzb()]); + } + }); + }); }; - z.prototype.KS = function () { - this.ny().forEach(function (B) { - return B.KS(); + z.prototype.JS = function () { + this.ry().forEach(function (A) { + return A.JS(); }); }; - z.prototype.dR = function () { - this.eh.forEach(function (B) { - return B.dR(); + z.prototype.fR = function () { + this.ah.forEach(function (A) { + return A.fR(); }); }; z.prototype.reset = function () { - this.eh.forEach(function (B) { - B.reset(); + this.ah.forEach(function (A) { + A.reset(); }); }; - z.prototype.zf = function () { - var B, - A; - this.Pr || (this.Pr = !0, null === (B = this.iE) || void 0 === B ? void 0 : B.Ic(), this.iE = void 0, this.eh.forEach(function (C) { - C.zf(); - }), null === (A = this.aQ) || void 0 === A ? void 0 : A.removeListener(this.sIa), this.events.removeAllListeners()); + z.prototype.Bf = function () { + var A, + B; + this.Tr || (this.Tr = !0, null === (A = this.lE) || void 0 === A ? void 0 : A.Kc(), this.lE = void 0, this.ah.forEach(function (C) { + C.Bf(); + }), null === (B = this.aQ) || void 0 === B ? void 0 : B.removeListener(this.qIa), this.events.removeAllListeners()); }; - z.prototype.k4 = function () { + z.prototype.l4 = function () { return !0; }; - z.prototype.Ra = function (B) { - return this.eh.Ra(B); + z.prototype.Sa = function (A) { + return this.ah.Sa(A); }; - z.prototype.ny = function (B) { - void 0 === B && (B = c); - return this.eh.Ne.slice().sort(B); + z.prototype.ry = function (A) { + void 0 === A && (A = c); + return this.ah.Pe.slice().sort(A); }; - z.prototype.Xja = function () { - return this.eh.Ne; + z.prototype.Rja = function () { + return this.ah.Pe; }; - z.prototype.vT = function (B) { - return this.Ra(B); + z.prototype.tT = function (A) { + return this.Sa(A); }; - z.prototype.Hh = function (B, A) { - B = this.Ra(B); - if (!B) + z.prototype.Hh = function (A, B) { + A = this.Sa(A); + if (!A) return 0; - if (A) - return B.Zm; - A = B.rs; - if (void 0 === A) + if (B) + return A.Ym; + B = A.ws; + if (void 0 === B) return 0; - B = this.Gca(); - return A - B; + A = this.Aca(); + return B - A; }; - z.prototype.sF = function () { - var B, - A, + z.prototype.wF = function () { + var A, + B, C, E, - F, + G, D, - G; - G = null === (B = this.Ra(0)) || void 0 === B ? void 0 : B.cp; - B = null === (A = this.Ra(1)) || void 0 === A ? void 0 : A.cp; + F; + F = null === (A = this.Sa(0)) || void 0 === A ? void 0 : A.ep; + A = null === (B = this.Sa(1)) || void 0 === B ? void 0 : B.ep; return { - ro: null !== (C = null === B || void 0 === B ? void 0 : B.V) && void 0 !== C ? C : 0, - Zr: null !== (E = null === G || void 0 === G ? void 0 : G.V) && void 0 !== E ? E : 0, - Jz: null !== (F = null === B || void 0 === B ? void 0 : B.ca) && void 0 !== F ? F : 0, - fR: null !== (D = null === G || void 0 === G ? void 0 : G.ca) && void 0 !== D ? D : 0 + so: null !== (C = null === A || void 0 === A ? void 0 : A.V) && void 0 !== C ? C : 0, + fs: null !== (E = null === F || void 0 === F ? void 0 : F.V) && void 0 !== E ? E : 0, + Mz: null !== (G = null === A || void 0 === A ? void 0 : A.da) && void 0 !== G ? G : 0, + hR: null !== (D = null === F || void 0 === F ? void 0 : F.da) && void 0 !== D ? D : 0 }; }; - z.prototype.q3 = function (B) { - var A; - return (B = this.Ra(B)) ? null !== (A = B.rs) && void 0 !== A ? A : 0 : 0; + z.prototype.r3 = function (A) { + var B; + return (A = this.Sa(A)) ? null !== (B = A.ws) && void 0 !== B ? B : 0 : 0; }; - z.prototype.Vv = function (B, A, C) { + z.prototype.$v = function (A, B, C) { var E; - A = null !== (E = null !== A && void 0 !== A ? A : this.Xc) && void 0 !== E ? E : this.RB; - this.fPa(B, A, C); - this.LVa(); - this.dR(); + B = null !== (E = null !== B && void 0 !== B ? B : this.Wc) && void 0 !== E ? E : this.TB; + this.ePa(A, B, C); + this.JVa(); + this.fR(); }; - z.prototype.qo = function (B) { - B = this.Ra(B); - u.assert(B); - return B.qo(); + z.prototype.ro = function (A) { + A = this.Sa(A); + t.assert(A); + return A.ro(); }; - z.prototype.Qoa = function (B) { - h.Vq(B.newValue) && this.gE(); + z.prototype.Loa = function (A) { + h.Uq(A.newValue) && this.jE(); }; - z.prototype.YR = function (B) { - return this.eh.every(function (A) { - return A.YR(B); + z.prototype.ZR = function (A) { + return this.ah.every(function (B) { + return B.ZR(A); }); }; - z.prototype.Bja = function (B) { - var A, + z.prototype.uja = function (A) { + var B, C; - return null !== (C = null === (A = this.eh.Ra(B)) || void 0 === A ? void 0 : A.Jsb) && void 0 !== C ? C : t.S.hb; + return null !== (C = null === (B = this.ah.Sa(A)) || void 0 === B ? void 0 : B.Lsb) && void 0 !== C ? C : u.S.hb; }; - z.prototype.vta = function (B) { - var A, + z.prototype.qta = function (A) { + var B, C, E; - A = this.lE.QFb; - if (!A) + B = this.oE.TFb; + if (!B) return !1; - C = p.wg(B, function (F) { - return A.V <= F.Xc.V; + C = p.wg(A, function (G) { + return B.V <= G.Wc.V; }); if (!C) return !1; - B = !1; - E = f.__read(m.Nqa(this.I, this.eh, C.Xc), 2); + A = !1; + E = f.__read(m.Iqa(this.I, this.ah, C.Wc), 2); C = E[0]; if (E = E[1]) - (this.Ra(1).truncate(E), B = !0); - C && (this.Ra(0).truncate(C), B = !0); - B && (C = { + (this.Sa(1).truncate(E), A = !0); + C && (this.Sa(0).truncate(C), A = !0); + A && (C = { type: "branchEdited" }, this.events.emit(C.type, C)); - return B; + return A; }; - z.prototype.wk = function (B) { - this.Pr || (B.Bea || u.assert(!B.Lc), this.gE(), this.Wo && this.eib()); - this.gv(B); + z.prototype.vk = function (A) { + this.Tr || (A.vea || t.assert(!A.Nc), this.jE(), this.Xo && this.fib()); + this.nv(A); }; - z.prototype.rM = function (B) { - this.I.TQa && this.gE(!0); - this.QK(B); + z.prototype.tM = function (A) { + this.I.SQa && this.jE(!0); + this.UK(A); }; - z.prototype.qM = function (B) { - this.I.TQa && this.gE(!0); - this.qF(B); + z.prototype.sM = function (A) { + this.I.SQa && this.jE(!0); + this.uF(A); }; - z.prototype.cKa = function (B, A) { + z.prototype.aKa = function (A, B) { var C; - null === (C = this.iE) || void 0 === C ? void 0 : C.Ic(); - B && (B = { + null === (C = this.lE) || void 0 === C ? void 0 : C.Kc(); + A && (A = { type: "branchNormalized", - segmentContentStart: this.P.uh, - branchContentStart: this.Xc, - branchContentEnd: this.Md, - didNormalizeSegment: A - }, this.events.emit(B.type, B), this.gKa && (this.sA = this.gKa.Ba(this.Xc))); + segmentContentStart: this.P.th, + branchContentStart: this.Wc, + branchContentEnd: this.Kd, + didNormalizeSegment: B + }, this.events.emit(A.type, A), this.eKa && (this.uA = this.eKa.Da(this.Wc))); }; - z.prototype.OSb = function (B) { - var A; - return h.Vq((null === (A = this.aQ) || void 0 === A ? void 0 : A.value) || h.wc.Zj) && (!B || this.xJa + this.I.Wna < w.default.time.aa()); + z.prototype.SSb = function (A) { + var B; + return h.Uq((null === (B = this.aQ) || void 0 === B ? void 0 : B.value) || h.yc.$j) && (!A || this.vJa + this.I.Rna < w.default.time.ba()); }; - z.prototype.gE = function (B) { - void 0 === B && (B = !1); - this.OSb(B) && (this.xJa = w.default.time.aa(), B = { + z.prototype.jE = function (A) { + void 0 === A && (A = !1); + this.SSb(A) && (this.vJa = w.default.time.ba(), A = { type: "checkBufferingProgress" - }, this.events.emit(B.type, B)); + }, this.events.emit(A.type, A)); }; - z.prototype.eib = function () { - var B; - B = { + z.prototype.fib = function () { + var A; + A = { type: "branchStreamingComplete" }; - this.events.emit(B.type, B); + this.events.emit(A.type, A); }; - z.prototype.csb = function (B, A, C) { + z.prototype.dsb = function (A, B, C) { var E; - E = B.mediaType; - return new k.Haa(this, this.I, this.H, this.upa, this.$Tb, B, A, [this.I.DMa, this.I.Gsa][E], this.t_[E], !0, C, this.bx); + E = A.mediaType; + return new k.Aaa(this, this.I, this.H, this.ppa, this.bUb, A, B, [this.I.DMa, this.I.Asa][E], this.w_[E], !0, C, this.gx); }; - z.prototype.fPa = function (B, A, C, E) { - var F, + z.prototype.ePa = function (A, B, C, E) { + var G, D, - G, - I, - J; - F = this; - void 0 === A && (A = this.RB); - I = 0; - J = this.events; - B.forEach(function (H, M) { - var O, - L; - O = H.mediaType; - L = F.Ra(O); - M = null === E || void 0 === E ? void 0 : E[M]; - (null === L || void 0 === L ? void 0 : L.track) !== H && (null === L || void 0 === L ? void 0 : L.zf(), H = F.csb(H, A, M), F.eh.V2a(O, H), ++I, H.events.once("requestQueueCreated", function () { - 0 === --I && J.emit("requestQueuesCreated"); + F, + J, + K; + G = this; + void 0 === B && (B = this.TB); + J = 0; + K = this.events; + A.forEach(function (H, L) { + var Q, + I; + Q = H.mediaType; + I = G.Sa(Q); + L = null === E || void 0 === E ? void 0 : E[L]; + (null === I || void 0 === I ? void 0 : I.track) !== H && (null === I || void 0 === I ? void 0 : I.Bf(), H = G.dsb(H, B, L), G.ah.V2a(Q, H), ++J, H.events.once("requestQueueCreated", function () { + 0 === --J && K.emit("requestQueuesCreated"); }), H.events.on("lastRequestIssued", function () { - return F.ZB && J.emit("lastRequestIssued", { + return G.aC && K.emit("lastRequestIssued", { type: "lastRequestIssued" }); })); }); - this.eh = this.eh.filter(function (H) { - var M; - M = B.some(function (O) { - return O.mediaType === H.mediaType; + this.ah = this.ah.filter(function (H) { + var L; + L = A.some(function (Q) { + return Q.mediaType === H.mediaType; }); - return null !== M && void 0 !== M ? M : H.zf(); + return null !== L && void 0 !== L ? L : H.Bf(); }); - null === (D = this.iE) || void 0 === D ? void 0 : D.Ic(); - this.iE = new n.YDa({ + null === (D = this.lE) || void 0 === D ? void 0 : D.Kc(); + this.lE = new n.WDa({ console: this.H, config: this.I, N: this.N, P: this.P, - Ne: this.eh, - Xc: A, - Md: null !== (G = this.P.Ll) && void 0 !== G ? G : void 0 !== this.P.Aa ? t.S.rb(this.P.Aa) : void 0, + Pe: this.ah, + Wc: B, + Kd: null !== (F = this.P.Kl) && void 0 !== F ? F : void 0 !== this.P.Ca ? u.S.rb(this.P.Ca) : void 0, splice: C }); - this.lE = this.eh.DV; + this.oE = this.ah.CV; }; - z.prototype.OVa = function (B, A) { + z.prototype.MVa = function (A, B) { var C, E; C = this; - this.Zra(B); - u.assert(B.da === this.P.da || isNaN(B.da) && isNaN(this.P.da)); - this.t_ = []; - B = null !== A && void 0 !== A ? A : null === (E = this.Pja) || void 0 === E ? void 0 : E.call(this, B); - u.assert(B, "tracks need to exist upon initialization"); - B.forEach(function (F) { + this.Sra(A); + t.assert(A.$ === this.P.$ || isNaN(A.$) && isNaN(this.P.$)); + this.w_ = []; + A = null !== B && void 0 !== B ? B : null === (E = this.Ija) || void 0 === E ? void 0 : E.call(this, A); + t.assert(A, "tracks need to exist upon initialization"); + A.forEach(function (G) { var D; - F = F.mediaType; - D = new g.zCa(F, C.I, C.H); - C.t_[F] = D; + G = G.mediaType; + D = new g.xCa(G, C.I, C.H); + C.w_[G] = D; }); - return B; + return A; }; - z.prototype.LVa = function (B) { - var A, + z.prototype.JVa = function (A) { + var B, C, E; - A = this; - if (B) { - E = this.parent && B.map(function (F) { + B = this; + if (A) { + E = this.parent && A.map(function (G) { var D; - return null === (D = A.parent) || void 0 === D ? void 0 : D.Ra(F.mediaType); + return null === (D = B.parent) || void 0 === D ? void 0 : D.Sa(G.mediaType); }); - u.assert(!E || E.every(function (F) { - return F; + t.assert(!E || E.every(function (G) { + return G; }), "parent must have a pipeline for every media type"); - E = E && E.map(function (F) { - return F.Cf; + E = E && E.map(function (G) { + return G.Ef; }); - this.fPa(B, this.RB, !!this.parent, E); + this.ePa(A, this.TB, !!this.parent, E); this.parent = void 0; } - null === (C = this.iE) || void 0 === C ? void 0 : C.mb(this.cKa.bind(this)); + null === (C = this.lE) || void 0 === C ? void 0 : C.mb(this.aKa.bind(this)); }; z.prototype.toJSON = function () { - var B, - A; + var A, + B; return { segment: this.P.id, - branchOffset: this.Ke, - viewableId: this.Gu.da, - contentStartPts: null === (B = this.Xc) || void 0 === B ? void 0 : B.V, - contentEndPts: null === (A = this.Md) || void 0 === A ? void 0 : A.V + branchOffset: this.Me, + viewableId: this.Lu.$, + contentStartPts: null === (A = this.Wc) || void 0 === A ? void 0 : A.V, + contentEndPts: null === (B = this.Kd) || void 0 === B ? void 0 : B.V }; }; return z; - })(l.jw); - b.maa = a; - v.tf(q.Uz, a); - v.tf(q.Sz, a); - }, function (q, b, a) { + })(l.pw); + b.eaa = a; + v.tf(r.Wz, a); + v.tf(r.Uz, a); + }, function (r, b, a) { var c, f, k, @@ -45491,10 +45597,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperties(b, { @@ -45502,60 +45608,60 @@ a000.D9b = function () { value: !0 } }); - b.Haa = void 0; + b.Aaa = void 0; c = a(2); f = a(16); - k = a(861); + k = a(863); l = a(96); - d = a(862); - g = a(869); - h = a(410); - m = a(411); + d = a(864); + g = a(871); + h = a(414); + m = a(415); n = a(9); - r = a(6); + q = a(6); p = a(22); - u = c.__importDefault(a(4)); - q = a(112); - t = a(43); - w = a(886); + t = c.__importDefault(a(5)); + r = a(112); + u = a(43); + w = a(888); v = a(150); a = (function (x) { - function y(z, B, A, C, E, F, D, G, I, J, H, M) { - var O; - O = x.call(this, z) || this; - O.I = B; - O.Kd = E; - O.vj = F; - O.rJa = D; - O.kgb = I; - O.bx = M; - O.events = new f.EventEmitter(); - O.connected = !1; - O.Uka = !1; - O.Pr = !1; - O.H = n.Ys(u.default, A, "[" + O.mediaType + "]"); - O.$j = O.H.error.bind(O.H); - O.Eb = O.H.warn.bind(O.H); - O.sm = O.H.trace.bind(O.H); - O.VQ = D.V; - O.Cf = new h.GGa(H); - O.Cf.vW(F); - O.NKa = new m.HGa(G, B, O.Cf, 0 === O.mediaType && B.JQa || 1 === O.mediaType && B.KQa); - O.qm = new k.ZDa(O, C, O.I, O.H, O.mediaType); - O.zn = new d.HFa(O, B, O.H, O.qm, O.Kd, O.mediaType, O.bx, function () { - return O.Lj; - }); - B.Uf && (O.Uf = new g.xGa(B.Uf, O.H)); - J && (O.kg = w.nB(O.mediaType, O.track.N, O.I, O.H, O.qm.zxb.bind(O.qm), function () {}), O.kg.on("created", function () { - return O.events.emit("requestQueueCreated"); + function y(z, A, B, C, E, G, D, F, J, K, H, L) { + var Q; + Q = x.call(this, z) || this; + Q.I = A; + Q.Hd = E; + Q.sj = G; + Q.pJa = D; + Q.lgb = J; + Q.gx = L; + Q.events = new f.EventEmitter(); + Q.connected = !1; + Q.Qka = !1; + Q.Tr = !1; + Q.H = n.Yq(t.default, B, "[" + Q.mediaType + "]"); + Q.ak = Q.H.error.bind(Q.H); + Q.Gb = Q.H.warn.bind(Q.H); + Q.rm = Q.H.trace.bind(Q.H); + Q.XQ = D.V; + Q.Ef = new h.CGa(H); + Q.Ef.uW(G); + Q.LKa = new m.DGa(F, A, Q.Ef, 0 === Q.mediaType && A.HQa || 1 === Q.mediaType && A.IQa); + Q.pm = new k.XDa(Q, C, Q.I, Q.H, Q.mediaType); + Q.yn = new d.EFa(Q, A, Q.H, Q.pm, Q.Hd, Q.mediaType, Q.gx, function () { + return Q.Kj; + }); + A.Vf && (Q.Vf = new g.tGa(A.Vf, Q.H)); + K && (Q.jg = w.oB(Q.mediaType, Q.track.N, Q.I, Q.H, Q.pm.Fxb.bind(Q.pm), function () {}), Q.jg.on("created", function () { + return Q.events.emit("requestQueueCreated"); })); - return O; + return Q; } c.__extends(y, x); Object.defineProperties(y.prototype, { mediaType: { get: function () { - return this.vj.mediaType; + return this.sj.mediaType; }, enumerable: !1, configurable: !0 @@ -45564,16 +45670,16 @@ a000.D9b = function () { Object.defineProperties(y.prototype, { track: { get: function () { - return this.vj; + return this.sj; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - ub: { + yb: { get: function () { - return this.Kd; + return this.Hd; }, enumerable: !1, configurable: !0 @@ -45582,7 +45688,7 @@ a000.D9b = function () { Object.defineProperties(y.prototype, { va: { get: function () { - return this.Kd.P.id; + return this.Hd.P.id; }, enumerable: !1, configurable: !0 @@ -45591,164 +45697,164 @@ a000.D9b = function () { Object.defineProperties(y.prototype, { Na: { get: function () { - return this.zn; + return this.yn; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Qd: { + Od: { get: function () { - return this.vj.Qd; + return this.sj.Od; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - cp: { + ep: { get: function () { - return this.zn.cp; + return this.yn.ep; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Zm: { + Ym: { get: function () { - return this.zn.Zm; + return this.yn.Ym; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - oc: { + tc: { get: function () { - return this.VQ; + return this.XQ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - CTb: { + ETb: { get: function () { var z; - return null !== (z = this.Ui) && void 0 !== z ? z : this.yy; + return null !== (z = this.Si) && void 0 !== z ? z : this.By; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - n1: { + p1: { get: function () { var z; - return null !== (z = this.Na.n1) && void 0 !== z ? z : this.CTb; + return null !== (z = this.Na.p1) && void 0 !== z ? z : this.ETb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - kea: { + eea: { get: function () { - return this.Na.n1; + return this.Na.p1; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - rs: { + ws: { get: function () { - return this.Na.rs; + return this.Na.ws; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - uga: { + oga: { get: function () { - return this.Na.uga; + return this.Na.oga; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - QFb: { + TFb: { get: function () { var z; - z = this.Na.RFb; - return null === z || void 0 === z ? void 0 : z.Md; + z = this.Na.UFb; + return null === z || void 0 === z ? void 0 : z.Kd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - ZB: { + aC: { get: function () { - return !!this.nf && (this.Zn > this.nf.index || this.VQ >= this.nf.pc); + return !!this.nf && (this.ao > this.nf.index || this.XQ >= this.nf.uc); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Wo: { + Xo: { get: function () { - return this.ZB && 0 === this.zn.sC; + return this.aC && 0 === this.yn.uC; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - rx: { + wx: { get: function () { - return this.Na.rx; + return this.Na.wx; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Rt: { + Xt: { get: function () { - return this.pf ? p.S.max(this.pf.Ba(this.Ck), p.S.hb) : void 0; + return this.pf ? p.S.max(this.pf.Da(this.Rj), p.S.hb) : void 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Jsb: { + Lsb: { get: function () { - return this.Na.Y.BS; + return this.Na.Y.AS; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - xz: { + Az: { get: function () { - return this.NKa; + return this.LKa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Ws: { + dt: { get: function () { - return this.Cf.Ws; + return this.Ef.dt; }, enumerable: !1, configurable: !0 @@ -45758,18 +45864,18 @@ a000.D9b = function () { U: { get: function () { var z, - B; - return null !== (B = null === (z = this.Vd) || void 0 === z ? void 0 : z.U) && void 0 !== B ? B : 1; + A; + return null !== (A = null === (z = this.Ud) || void 0 === z ? void 0 : z.U) && void 0 !== A ? A : 1; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Xa: { + Ya: { get: function () { var z; - return null === (z = this.Vd) || void 0 === z ? void 0 : z.Xa; + return null === (z = this.Ud) || void 0 === z ? void 0 : z.Ya; }, enumerable: !1, configurable: !0 @@ -45786,170 +45892,170 @@ a000.D9b = function () { } }); Object.defineProperties(y.prototype, { - Lj: { + Kj: { get: function () { - return this.ub.yj.Vf(this.U).Wb; + return this.yb.vj.Wf(this.U).Zb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - D3: { + E3: { get: function () { - return this.Na.D3; + return this.Na.E3; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Yv: { + cw: { get: function () { - return this.Na.Yv; + return this.Na.cw; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - ysa: { + rsa: { get: function () { - return this.Na.ysa; + return this.Na.rsa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - yy: { + By: { get: function () { - return this.rJa.add(this.ub.yj); + return this.pJa.add(this.yb.vj); }, enumerable: !1, configurable: !0 } }); - y.prototype.dR = function () { + y.prototype.fR = function () { var z; z = this; - this.zn.dR(void 0, function (B) { - var A; - A = B[0]; - B = A.Jc; - A = A.index; - A < z.Zn && z.qN(B, A); + this.yn.fR(void 0, function (A) { + var B; + B = A[0]; + A = B.Lc; + B = B.index; + B < z.ao && z.rN(A, B); }); }; y.prototype.reset = function () { this.Na.reset(); - this.Vd && this.qN(this.Vd.Jc, this.Vd.index); - this.kg && this.ub.N.cR(this.mediaType, this.kg); + this.Ud && this.rN(this.Ud.Lc, this.Ud.index); + this.jg && this.yb.N.eR(this.mediaType, this.jg); }; - y.prototype.zf = function () { - this.Pr = !0; - this.zn.zf(); - this.Cf.wb(); - this.kg && (this.ub.N.cR(this.mediaType, this.kg), v.cq.instance.oS(this.kg), this.kg.removeAllListeners(), this.kg = void 0); + y.prototype.Bf = function () { + this.Tr = !0; + this.yn.Bf(); + this.Ef.zb(); + this.jg && (this.yb.N.eR(this.mediaType, this.jg), v.gq.instance.nS(this.jg), this.jg.removeAllListeners(), this.jg = void 0); }; y.prototype.toJSON = function () { return { - started: this.Yv, - startOfSequence: this.ysa, + started: this.cw, + startOfSequence: this.rsa, segmentId: this.va, - requestedBufferLevel: this.Zm, - viewableId: this.Kd.N.da, - hasFragments: this.D3 + requestedBufferLevel: this.Ym, + viewableId: this.Hd.N.$, + hasFragments: this.E3 }; }; - y.prototype.qo = function () { - return this.Na.qo(); + y.prototype.ro = function () { + return this.Na.ro(); }; - y.prototype.qN = function (z, B) { - this.VQ = z; - this.Zn = B; + y.prototype.rN = function (z, A) { + this.XQ = z; + this.ao = A; }; - y.prototype.AF = function () { - return this.Na.AF(); + y.prototype.FF = function () { + return this.Na.FF(); }; - y.prototype.KS = function () { + y.prototype.JS = function () { this.Na.close(); }; - y.prototype.YR = function (z) { - return (z = this.Na.Es(z.V)) ? z.complete : !1; + y.prototype.ZR = function (z) { + return (z = this.Na.Is(z.V)) ? z.complete : !1; }; Object.defineProperties(y.prototype, { - oh: { + mh: { get: function () { - return this.Kd.oh; + return this.Hd.mh; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - Ck: { + Rj: { get: function () { var z, - B, A, + B, C; - return null !== (C = null !== (z = this.Na.Ck) && void 0 !== z ? z : null === (A = null === (B = this.Vd) || void 0 === B ? void 0 : B.Xc) || void 0 === A ? void 0 : A.add(this.ub.yj)) && void 0 !== C ? C : this.yy; + return null !== (C = null !== (z = this.Na.Rj) && void 0 !== z ? z : null === (B = null === (A = this.Ud) || void 0 === A ? void 0 : A.Wc) || void 0 === B ? void 0 : B.add(this.yb.vj)) && void 0 !== C ? C : this.By; }, enumerable: !1, configurable: !0 } }); - y.prototype.$Vb = function (z, B) { - var A; - r.assert(this.kg); - r.assert(!this.Pr, "pipeline.tryIssueRequest on disabled pipeline"); - A = z.b3(); - return A ? this.A5a(z, A, this.kg, B) : (z = z.sH(this.kg)) ? { - zp: z, + y.prototype.bWb = function (z, A) { + var B; + q.assert(this.jg); + q.assert(!this.Tr, "pipeline.tryIssueRequest on disabled pipeline"); + B = z.d3(); + return B ? this.C5a(z, B, this.jg, A) : (z = z.AH(this.jg)) ? { + Bp: z, reason: "success" } : { - zp: z, + Bp: z, reason: "pipelineTryIssueHeaderRequest" }; }; - y.prototype.c4 = function (z, B) { - z && (this.Vd = z); - B && (this.nf = B); - r.assert(this.Vd); - r.assert(this.nf); - r.assert(void 0 === this.Zn); - this.qN(this.Vd.Jc, this.Vd.index); + y.prototype.d4 = function (z, A) { + z && (this.Ud = z); + A && (this.nf = A); + q.assert(this.Ud); + q.assert(this.nf); + q.assert(void 0 === this.ao); + this.rN(this.Ud.Lc, this.Ud.index); }; y.prototype.truncate = function (z) { - var B; - B = this; - r.assert(this.Vd, "expected first fragment to exist on updateStreaming"); + var A; + A = this; + q.assert(this.Ud, "expected first fragment to exist on updateStreaming"); this.nf = z; - this.ZB && (z = c.__read(this.zn.Wjb(z), 2), this.qN(z[0], z[1]), this.Ts() && (this.Na.S2a(), this.Na.Ufa(), Promise.resolve(function () { - B.events.emit("lastRequestIssued", { + this.aC && (z = c.__read(this.yn.Wjb(z), 2), this.rN(z[0], z[1]), this.Ys() && (this.Na.S2a(), this.Na.Ofa(), Promise.resolve(function () { + A.events.emit("lastRequestIssued", { type: "lastRequestIssued", - mediaType: B.mediaType + mediaType: A.mediaType }); }))); }; - y.prototype.VB = function () { - return this.Ts() ? !1 : this.sk() ? !0 : this.track.goa; + y.prototype.XB = function () { + return this.Ys() ? !1 : this.sk() ? !0 : this.track.boa; }; y.prototype.sk = function () { - return void 0 !== this.Vd && void 0 !== this.nf; + return void 0 !== this.Ud && void 0 !== this.nf; }; - y.prototype.Ts = function () { - return this.Pr || this.ZB; + y.prototype.Ys = function () { + return this.Tr || this.aC; }; Object.defineProperties(y.prototype, { - JNb: { + ONb: { get: function () { var z; z = !0; - this.I.b7 && (z = this.connected); - this.I.a7 && (z = z && this.Uka); + this.I.Z6 && (z = this.connected); + this.I.Y6 && (z = z && this.Qka); return z; }, enumerable: !1, @@ -45957,19 +46063,19 @@ a000.D9b = function () { } }); Object.defineProperties(y.prototype, { - ELb: { + GLb: { get: function () { - return void 0 !== this.Uf; + return void 0 !== this.Vf; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(y.prototype, { - FLb: { + HLb: { get: function () { var z; - return (null === (z = this.Uf) || void 0 === z ? 0 : z.Hx()) ? { + return (null === (z = this.Vf) || void 0 === z ? 0 : z.Mx()) ? { complete: !0, reason: "stall" } @@ -45982,182 +46088,182 @@ a000.D9b = function () { configurable: !0 } }); - y.prototype.wk = function (z) { - this.qm.YJb(z); - "oncomplete" === this.I.HVa && (this.Uka = !0); - this.gv(z); + y.prototype.vk = function (z) { + this.pm.$Jb(z); + "oncomplete" === this.I.FVa && (this.Qka = !0); + this.nv(z); }; - y.prototype.Wy = function (z) { - z.Lc || this.qm.IZa(z.stream, z.Z, z.Jc); - this.qm.UJb(this.va, z.stream, z.Lc); - this.PK(z); + y.prototype.Zy = function (z) { + z.Nc || this.pm.GZa(z.stream, z.X, z.Lc); + this.pm.WJb(this.va, z.stream, z.Nc); + this.TK(z); }; - y.prototype.qM = function (z) { - z.Bea || (this.connected = !0); - "onfirstbyte" === this.I.HVa && (this.Uka = !0); - this.qF(z); + y.prototype.sM = function (z) { + z.vea || (this.connected = !0); + "onfirstbyte" === this.I.FVa && (this.Qka = !0); + this.uF(z); }; - y.prototype.Fzb = function (z) { - var B, - A; - B = this.Na.Y; - if (0 === B.length) + y.prototype.Jzb = function (z) { + var A, + B; + A = this.Na.Y; + if (0 === A.length) return { Y: [], - gpa: 0, + bpa: 0, jl: 0 }; - A = B.MK(z.V); - 0 > A && (A = void 0 === B.Z || z.V <= B.Z ? 0 : B.length); + B = A.QK(z.V); + 0 > B && (B = void 0 === A.X || z.V <= A.X ? 0 : A.length); return { - Y: B.nRb(A), - gpa: Math.max(0, B.zOa - A), - jl: B.jl + Y: A.qRb(B), + bpa: Math.max(0, A.xOa - B), + jl: A.jl }; }; - y.prototype.A5a = function (z, B, A, C) { + y.prototype.C5a = function (z, A, B, C) { var E, - F, - D, G, - I, - J; - D = this.Kd; - G = D.N; - I = this.mediaType; - J = this.Zn; - if (J >= B.length) - return (this.Eb("makeRequest nextFragmentIndex:", J, "past fragments length:", B.length), { - zp: !1, + D, + F, + J, + K; + D = this.Hd; + F = D.N; + J = this.mediaType; + K = this.ao; + if (K >= A.length) + return (this.Gb("makeRequest nextFragmentIndex:", K, "past fragments length:", A.length), { + Bp: !1, reason: "insufficientFragments" }); - if (!this.Vd || !this.nf) - return (this.Eb("makeRequest delayed, first or last fragment not set", "first:", !!this.Vd, "last:", !!this.nf), { - zp: !1, + if (!this.Ud || !this.nf) + return (this.Gb("makeRequest delayed, first or last fragment not set", "first:", !!this.Ud, "last:", !!this.nf), { + Bp: !1, reason: "noFirstOrLastFragment" }); - B = this.kgb.Ezb(z, J, this, G.zy()); - this.vma = B.region; - null === (E = this.Uf) || void 0 === E ? void 0 : E.KDb(B, z); - B.Ap && 1 === I && this.qm.lda(D.P, B.Aa); - this.I.RL && (B.RL = this.I.RL); - void 0 !== z && (B.location = z.location, B.Rc = z.cd, B.Qra = z.qr); - if (E = D.N.G7) - (I = 0 === I && this.I.JQa || 1 === I && this.I.KQa, J = this.I.xvb && 1 === this.mediaType && this.I.Fp, B.ILb = I && C && (0 < C.K7 || 0 < C.r1 || 0 < C.T6), B.H7 = E.Uu({ - TJ: D.Hh(this.mediaType), - Q5: this.I.svb ? this.I.Q5 : void 0, - e5a: String(u.default.time.aa()), - eK: I ? C : void 0, - pfa: J ? { - start: B.offset, - size: B.ca + A = this.lgb.Izb(z, K, this, F.Cy()); + this.pma = A.region; + null === (E = this.Vf) || void 0 === E ? void 0 : E.ODb(A, z); + A.Cp && 1 === J && this.pm.fda(D.P, A.Ca); + this.I.TL && (A.TL = this.I.TL); + void 0 !== z && (A.location = z.location, A.Qc = z.cd, A.Jra = z.sr); + if (E = D.N.C7) + (J = 0 === J && this.I.HQa || 1 === J && this.I.IQa, K = this.I.Bvb && 1 === this.mediaType && this.I.Hp, A.LLb = J && C && (0 < C.G7 || 0 < C.s1 || 0 < C.Q6), A.D7 = E.Zu({ + XJ: D.Hh(this.mediaType), + Q5: this.I.wvb ? this.I.Q5 : void 0, + g5a: String(t.default.time.ba()), + iK: J ? C : void 0, + ifa: K ? { + start: A.offset, + size: A.da } : void 0 })); - u.default.time.aa(); - A = this.Na.nsb(B, A, z); - if (!A.sM()) { - this.Eb("MediaRequest.open error: " + A.Og + " native: " + A.Ri); - if (7 === A.readyState) + t.default.time.ba(); + B = this.Na.psb(A, B, z); + if (!B.uM()) { + this.Gb("MediaRequest.open error: " + B.Mg + " native: " + B.Oi); + if (7 === B.readyState) return { - zp: !1, + Bp: !1, reason: "requestAborted" }; - this.Eb("makeRequest caught:", A.Og); - G.qh("MediaRequest open failed (1)", "NFErr_MC_StreamingFailure"); + this.Gb("makeRequest caught:", B.Mg); + F.ph("MediaRequest open failed (1)", "NFErr_MC_StreamingFailure"); return { - zp: !1, + Bp: !1, reason: "openAseMediaRequest" }; } - null === (F = this.Uf) || void 0 === F ? void 0 : F.Ovb(A, B, z); - this.qm.ZJb(A); - this.qN(A.pc, B.fM); - this.Ts() && (this.Na.S2a(), this.events.emit("lastRequestIssued", { + null === (G = this.Vf) || void 0 === G ? void 0 : G.Uvb(B, A, z); + this.pm.aKb(B); + this.rN(B.uc, A.gM); + this.Ys() && (this.Na.S2a(), this.events.emit("lastRequestIssued", { type: "lastRequestIssued", mediaType: this.mediaType })); return { - zp: !0, + Bp: !0, reason: "success" }; }; return y; - })(l.jw); - b.Haa = a; - t.tf(q.Sz, a); - t.tf(q.Uz, a); - }, function (q, b) { + })(l.pw); + b.Aaa = a; + u.tf(r.Uz, a); + u.tf(r.Wz, a); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.GGa = void 0; - q = (function () { + b.CGa = void 0; + r = (function () { function a(c) { this.parent = c; - this.ie = null; + this.he = null; } Object.defineProperties(a.prototype, { - ZWa: { + XWa: { get: function () { var c, f; - return null !== (c = this.TCb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.ZWa; + return null !== (c = this.WCb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.XWa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - hU: { + gU: { get: function () { var c, f; - return null !== (c = this.OJb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.hU; + return null !== (c = this.QJb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.gU; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - Ws: { + dt: { get: function () { var c, f; - return null !== (c = this.Yi) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.Ws; + return null !== (c = this.Vi) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.dt; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - cXa: { + aXa: { get: function () { - return null === this.ie ? void 0 : this.ie; + return null === this.he ? void 0 : this.he; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - fXa: { + dXa: { get: function () { var c, f; - return null !== (c = this.TTb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.fXa; + return null !== (c = this.VTb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.dXa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(a.prototype, { - Ema: { + yma: { get: function () { var c, f; - return null !== (c = this.UTb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.Ema; + return null !== (c = this.WTb) && void 0 !== c ? c : null === (f = this.parent) || void 0 === f ? void 0 : f.yma; }, enumerable: !1, configurable: !0 @@ -46166,47 +46272,47 @@ a000.D9b = function () { Object.defineProperties(a.prototype, { track: { get: function () { - return this.qRb; + return this.tRb; }, enumerable: !1, configurable: !0 } }); - a.prototype.wb = function () { + a.prototype.zb = function () { this.parent = void 0; }; a.prototype.$2a = function (c) { - this.TCb = c; + this.WCb = c; }; - a.prototype.dSb = function (c) { - this.OJb = c; + a.prototype.gSb = function (c) { + this.QJb = c; }; a.prototype.j3a = function (c) { - this.Yi = c; + this.Vi = c; }; - a.prototype.D7 = function (c) { - this.ie = c; + a.prototype.z7 = function (c) { + this.he = c; }; - a.prototype.pSb = function (c) { - this.TTb = c; + a.prototype.sSb = function (c) { + this.VTb = c; }; a.prototype.l3a = function (c) { - this.UTb = c; + this.WTb = c; }; - a.prototype.vW = function (c) { - this.qRb = c; + a.prototype.uW = function (c) { + this.tRb = c; }; return a; })(); - b.GGa = q; - }, function (q, b, a) { + b.CGa = r; + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - a(2).__exportStar(a(870), b); - }, function (q, b, a) { + a(2).__exportStar(a(872), b); + }, function (r, b, a) { var c, f, k, @@ -46216,98 +46322,103 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Uv = void 0; - q = a(2); - c = q.__importStar(a(10)); + b.Zv = void 0; + r = a(2); + c = r.__importStar(a(10)); f = a(30); k = a(98); - l = q.__importDefault(a(27)); - d = q.__importDefault(a(39)); - g = q.__importDefault(a(875)); + l = r.__importDefault(a(27)); + d = r.__importDefault(a(39)); + g = r.__importDefault(a(877)); h = a(14); m = d.default.assert; - n = d.default.Do; - b.Uv = r; + n = d.default.Eo; + b.Zv = q; (function () { - var v00; - v00 = 2; - function u(t, w, v, x, y) { + function t(u, w, v, x, y) { var x00, z; x00 = 2; for (; x00 !== 3; ) { switch (x00) { - case 4: - return t[Math.max(w, v)]; - break; case 2: - a000.u9b(3); - z = a000.Q9b(x, v, y); - v = f.fs(t, function (B) { + a000.l1q(3); + z = a000.o1q(v, x, y); + v = f.js(u, function (A) { var y00; y00 = 2; for (; y00 !== 1; ) { switch (y00) { case 2: - return B.bitrate > z; + return A.bitrate > z; break; } } }); - v = 0 < v ? v - 1 : 0 === v ? 0 : t.length - 1; - x00 = 4; - break; - case 14: - return t[Math.max(w, v)]; + v = 0 < v ? v - 1 : 0 === v ? 0 : u.length - 1; + return u[Math.max(w, v)]; break; - x00 = 3; + } + } + } + function p(u, w, v) { + var w00; + w00 = 2; + for (; w00 !== 4; ) { + switch (w00) { + case 2: + u = new n(); + u.Vi = v[0]; + return u; break; } } } + var v00; + v00 = 2; for (; v00 !== 5; ) { switch (v00) { case 2: - var H9b = "1SIYb"; - H9b += "Zr"; - H9b += "N"; - H9b += "JCp9"; - b.Uv = r = function (t, w, v, x, y, z, B) { - var W6u = a000; + var u2q = "1"; + u2q += "S"; + u2q += "IYbZrN"; + u2q += "JCp9"; + b.Zv = q = function (u, w, v, x, y, z, A) { + var O1N = a000; var z00, - ra, - X, - N, - da, - Q, - E, - F, - D, G, - I, + P, + pa, + va, + D, + F, J, + K, H, - M, - O, L, - P, + Q, + I, + O, + N, + M, R, - K, - na, - va; - function A(ta, za, V) { + ea, + ta, + Y, + E; + function B(ra, Ea, V) { var A00; A00 = 2; for (; A00 !== 1; ) { switch (A00) { case 2: - return ta.Y ? ta.Y.Kga(za, V) : 0; + return ra.Y ? ra.Y.Ega(Ea, V) : 0; break; } } @@ -46315,129 +46426,140 @@ a000.D9b = function () { z00 = 2; for (; z00 !== 31; ) { switch (z00) { - case 32: - y = O; - z00 = 22; + case 27: + z00 = C(y, v[Math.max(x - 1, 0)], y, E, P, !1, w.playbackRate) ? 26 : 35; break; - case 34: - (ra = A(y, M, t.ela), X = A(y, M + ra, t.gna)); - z00 = 33; + case 35: + z00 = y.Y && y.Y.length ? 34 : 22; break; - case 17: - y.Y && y.Y.length || (y.R7 = !0); - (N = k.Gk.mPa(w.buffer.Y), da = w.buffer.Su - N.ca); - O = v[0]; - z00 = 27; + case 3: + var L2q = "n"; + L2q += "um"; + L2q += "b"; + L2q += "e"; + L2q += "r"; + var K2q = "nu"; + K2q += "mb"; + K2q += "e"; + K2q += "r"; + m(K2q === typeof w.buffer.Xu); + m(L2q === typeof w.Hha); + G = new n(); + y = v[x]; + z00 = 6; break; - case 18: - return p.call(this, w, t, v, y); + case 14: + return (y = t(v, x, y.Oa || 0, u.yRa, w.playbackRate), null !== (E = y.Y) && void 0 !== E && E.length || (y.N7 = !0), G.Vi = y, G); break; - case 33: - z00 = (y = f.wg(v.slice(0, x).reverse(), function (ta, za) { - var D00; - D00 = 2; - for (; D00 !== 1; ) { - switch (D00) { - case 2: - return C(ta, v[Math.max(x - za - 2, 0)], D, ra, X, !0, w.playbackRate); - break; - } - } - })) && y.og < O.og || !y ? 32 : 22; + case 19: + z00 = Q === l.default.yY.seb || !y.Oa ? 18 : 17; break; case 20: - W6u.D9b(2); - Q = A(y, W6u.Q9b(M, E), t.fna); + O1N.l1q(2); + P = B(y, O1N.o1q(E, L), u.$ma); z00 = 19; break; - case 19: - z00 = O === l.default.yY.peb || !y.Oa ? 18 : 17; + case 21: + return G; break; - case 2: - var z9b = "n"; - z9b += "u"; - z9b += "mbe"; - z9b += "r"; - var S9b = "i"; - S9b += "nvalid play"; - S9b += "er fragm"; - S9b += "entIndex"; - var k9b = "Must have at least"; - k9b += " one"; - k9b += " selected stream"; - m(!c.ga(x), k9b); - void 0 === w.kf && (w.kf = 0); - m(c.xa(w.kf), S9b); - m(z9b === typeof w.buffer.Su); - z00 = 9; + case 22: + G.Vi = y || D; + z00 = 21; break; - case 9: - var v9b = "num"; - v9b += "be"; - v9b += "r"; - m(v9b === typeof w.Nha); - F = new n(); - y = v[x]; - z00 = 6; + case 25: + A = u.hsa && A >= u.hua ? v.length : x + 2; + (pa = B(y, L, u.ala), va = B(y, L + pa, u.bna)); + z00 = 23; + break; + case 26: + z00 = x + 1 < v.length && A > u.Ky && (void 0 === this.L4 || this.Bma && this.Bma > this.L4 || K - this.L4 > u.S4 && A > u.dna) ? 25 : 22; break; case 13: - (D = y, G = w.buffer.Z, I = w.buffer.qc, J = w.buffer.oc, H = w.buffer.Hl, M = w.kf); - W6u.D9b(1); - B = W6u.r9b(I, H); - (O = this.Cf.ZWa || l.default.yY.Ig, L = w.state === h.ja.yc || w.state === h.ja.Wh ? w.buffer.jl : 0, P = t.f5, R = t.Iy ? t.Iy : 1E3); - E = A(y, M, t.dla); + (D = y, F = w.buffer.X, J = w.buffer.vc, K = w.buffer.tc, H = w.buffer.Gl, L = w.kf); + O1N.Q1q(1); + A = O1N.o1q(H, J); + (Q = this.Ef.XWa || l.default.yY.Gg, I = w.state === h.ka.Ac || w.state === h.ka.Wh ? w.buffer.jl : 0, O = u.f5, N = u.Ly ? u.Ly : 1E3); + E = B(y, L, u.Zka); z00 = 20; break; - case 25: - B = t.nsa && B >= t.kua ? v.length : x + 2; - (na = A(y, M, t.fla), va = A(y, M + na, t.hna)); - z00 = 23; + case 32: + y = Q; + z00 = 22; break; - case 22: - F.Yi = y || D; - return F; + case 6: + z00 = A ? 14 : 13; + break; + case 15: + Q = v[0]; + z00 = 27; + break; + case 17: + y.Y && y.Y.length || (y.N7 = !0); + (R = k.em.lPa(w.buffer.Y), ea = w.buffer.Xu - R.da); + z00 = 15; break; case 23: - y = f.wg(v.slice(x + 1, B), function (ta, za) { + y = f.wg(v.slice(x + 1, A), function (ra, Ea) { var C00; C00 = 2; for (; C00 !== 1; ) { switch (C00) { case 2: - return C(ta, v[x + za], D, na, va, !1, w.playbackRate); + return C(ra, v[x + Ea], D, pa, va, !1, w.playbackRate); break; } } }); z00 = 22; break; - case 26: - z00 = x + 1 < v.length && B > t.Hy && (void 0 === this.L4 || this.Hma && this.Hma > this.L4 || J - this.L4 > t.S4 && B > t.jna) ? 25 : 22; - break; - case 35: - z00 = y.Y && y.Y.length ? 34 : 22; + case 18: + return p.call(this, w, u, v, y); break; - case 6: - z00 = B ? 14 : 13; + case 34: + (ta = B(y, L, u.$ka), Y = B(y, L + ta, u.ana)); + z00 = 33; break; - case 14: - return (y = u(v, x, y.Oa || 0, t.zRa, w.playbackRate), null !== (E = y.Y) && void 0 !== E && E.length || (y.R7 = !0), F.Yi = y, F); + case 33: + z00 = (y = f.wg(v.slice(0, x).reverse(), function (ra, Ea) { + var D00; + D00 = 2; + for (; D00 !== 1; ) { + switch (D00) { + case 2: + return C(ra, v[Math.max(x - Ea - 2, 0)], D, ta, Y, !0, w.playbackRate); + break; + } + } + })) && y.ng < Q.ng || !y ? 32 : 22; break; - case 27: - z00 = C(y, v[Math.max(x - 1, 0)], y, E, Q, !1, w.playbackRate) ? 26 : 35; + case 2: + var m2q = "invalid "; + m2q += "player frag"; + m2q += "ment"; + m2q += "I"; + m2q += "ndex"; + var W2q = "Must have at "; + W2q += "least "; + W2q += "on"; + W2q += "e selected strea"; + W2q += "m"; + m(!c.fa(x), W2q); + void 0 === w.kf && (w.kf = 0); + m(c.ya(w.kf), m2q); + z00 = 3; break; } } - function C(ta, za, V, T, ja, Ia, wa) { + function C(ra, Ea, V, U, ma, Ia, wa) { var B00, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La, Ma, Va, @@ -46448,253 +46570,243 @@ a000.D9b = function () { B00 = 2; for (; B00 !== 41; ) { switch (B00) { - case 5: - return !1; - break; - case 1: - B00 = K && !K.u2 && K.Oa >= Sa && K.bitrate <= ta.bitrate ? 5 : 4; - break; - case 27: - m(V.length === mb); - t.kna && (Ca = Math.min(Ca, yb)); - B00 = 25; + case 31: + B00 = 0 < Va ? 30 : 29; break; - case 23: - za && za.result && (F.H5b = za.uU); - K = { - u2: za && za.result, - Oa: Sa, - bitrate: ta.bitrate - }; - return za && za.result; + case 6: + B00 = Ta >= ra.bitrate * wa * ab ? 14 : 13; break; case 2: - (Sa = ta.Oa || 0, Ua = ta.Y && ta.Y.length, $a = Ia ? t.Aia : Ua ? t.t2 : t.zRa); + (Ta = ra.Oa || 0, Ua = ra.Y && ra.Y.length, ab = Ia ? u.sia : Ua ? u.u2 : u.yRa); B00 = 1; break; - case 32: - Va = T; - B00 = 31; - break; - case 24: - za = !1; - B00 = 23; - break; - case 14: - return !0; + case 13: + Ia = !u.wga || ra === V || ra.cd === V.cd && z ? 0 : (V = ra.lb) && V.Ti && V.Ti.Fa ? V.Ti.Fa + u.tga * (V.Ti.vi ? Math.sqrt(V.Ti.vi) : 0) : 0; + V = R; + O1N.l1q(0); + Ia = O1N.P1q(J, F, Ia); + wa = O; + B00 = 20; break; - case 7: - return !0; + case 44: + (Eb = Math.min(Va, Ea.Y.length - Za), yb.push(Ea.Y.vN.subarray(Za, Za + Eb)), Va -= Eb, Za += Eb, Za >= Ea.Y.length && (Za = 0)); + B00 = 28; break; case 28: B00 = 0 < Va ? 44 : 43; break; - case 13: - Ia = !t.Cga || ta === V || ta.cd === V.cd && z ? 0 : (V = ta.lb) && V.Vi && V.Vi.Ea ? V.Vi.Ea + t.zga * (V.Vi.vi ? Math.sqrt(V.Vi.vi) : 0) : 0; - V = N; - W6u.D9b(0); - Ia = W6u.r9b(G, Ia, I); - wa = P; - B00 = 20; + case 29: + Va = ma; + B00 = 28; break; - case 4: - Ia || Ua || (ta.R7 = !0); - B00 = 3; + case 5: + return !1; break; - case 25: - B00 = !ib || ib < ta.bitrate * Ma * t.cla || !Eb ? 24 : 35; + case 9: + B00 = Ua && !u.P7 ? 8 : 6; break; - case 35: - Hb || (za = ta); - yb = []; - B00 = 33; + case 30: + (Eb = Math.min(Va, ra.Y.length - Za), yb.push(ra.Y.vN.subarray(Za, Za + Eb)), Va -= Eb, Za += Eb, Za >= ra.Y.length && (Za = 0)); + B00 = 31; break; case 33: B00 = Va ? 32 : 42; break; - case 8: - B00 = Sa >= Math.max(ta.XF * wa, ta.bitrate * wa * $a) && ta.ev ? 7 : 13; - break; case 3: B00 = !Ia || !Ua ? 9 : 13; break; - case 44: - (Eb = Math.min(Va, za.Y.length - Za), yb.push(za.Y.uN.subarray(Za, Za + Eb)), Va -= Eb, Za += Eb, Za >= za.Y.length && (Za = 0)); - B00 = 28; - break; - case 31: - B00 = 0 < Va ? 30 : 29; - break; - case 42: - (T = Math.max(0, Math.min(T, ta.Y.length - Za)), ja = Math.max(0, Math.min(ja, za.Y.length - Za - T)), 0 < T && yb.push(ta.Y.uN.subarray(Za, Za + T)), 0 < ja && yb.push(za.Y.uN.subarray(Za + T, Za + T + ja))); - B00 = 43; - break; - case 29: - Va = ja; - B00 = 28; - break; - case 9: - B00 = Ua && !t.T7 ? 8 : 6; - break; - case 6: - B00 = Sa >= ta.bitrate * wa * $a ? 14 : 13; + case 4: + Ia || Ua || (ra.N7 = !0); + B00 = 3; break; - case 30: - (Eb = Math.min(Va, ta.Y.length - Za), yb.push(ta.Y.uN.subarray(Za, Za + Eb)), Va -= Eb, Za += Eb, Za >= ta.Y.length && (Za = 0)); - B00 = 31; + case 25: + B00 = !ib || ib < ra.bitrate * Ma * u.Yka || !Eb ? 24 : 35; break; case 43: - za = 0 < T || 0 < ja ? g.default(V.concat(yb), mb + T + ja, Ia, Ua, wa, db, $a, mb, mb + T, La, Ta, ib / Ma, Ca, t.LU, t.T7) : ib > ta.XF ? { + Ea = 0 < U || 0 < ma ? g.default(V.concat(yb), nb + U + ma, Ia, Ua, wa, cb, ab, nb, nb + U, La, Sa, ib / Ma, Ba, u.KU, u.P7) : ib > ra.cG ? { result: !0, - uU: 0, - ev: !0 + tU: 0, + kv: !0 } : { result: !1, - uU: 0, - ev: !0 + tU: 0, + kv: !0 }; B00 = 23; break; + case 1: + B00 = M && !M.v2 && M.Oa >= Ta && M.bitrate <= ra.bitrate ? 5 : 4; + break; case 20: - var f9b = "Second"; - f9b += " stream und"; - f9b += "efined"; - var R9b = "First"; - R9b += " str"; - R9b += "eam undefined"; - W6u.D9b(1); - Ua = W6u.Q9b(G, H); - W6u.D9b(1); - $a = W6u.Q9b(G, J); - (Za = M, mb = N.length, db = L, Ta = da, Ca = R, La = w.Nha, Ma = w.playbackRate, Va = !!w.FXa); - m(ta, R9b); - m(za, f9b); - (ib = ta.Oa, yb = Ua - Ia, Eb = ta.Y && ta.Y.length, Hb = za.Y && za.Y.length); + var s2q = "Secon"; + s2q += "d stream und"; + s2q += "e"; + s2q += "fine"; + s2q += "d"; + var C2q = "F"; + C2q += "irst stre"; + C2q += "am undef"; + C2q += "ined"; + O1N.Q1q(1); + Ua = O1N.P1q(H, F); + O1N.Q1q(1); + ab = O1N.o1q(K, F); + (Za = L, nb = R.length, cb = I, Sa = ea, Ba = N, La = w.Hha, Ma = w.playbackRate, Va = !!w.DXa); + m(ra, C2q); + m(Ea, s2q); + (ib = ra.Oa, yb = Ua - Ia, Eb = ra.Y && ra.Y.length, Hb = Ea.Y && Ea.Y.length); B00 = 27; break; + case 23: + Ea && Ea.result && (G.R5b = Ea.tU); + M = { + v2: Ea && Ea.result, + Oa: Ta, + bitrate: ra.bitrate + }; + return Ea && Ea.result; + break; + case 32: + Va = U; + B00 = 31; + break; + case 14: + return !0; + break; + case 27: + m(V.length === nb); + u.ena && (Ba = Math.min(Ba, yb)); + B00 = 25; + break; + case 8: + B00 = Ta >= Math.max(ra.cG * wa, ra.bitrate * wa * ab) && ra.kv ? 7 : 13; + break; + case 42: + (U = Math.max(0, Math.min(U, ra.Y.length - Za)), ma = Math.max(0, Math.min(ma, Ea.Y.length - Za - U)), 0 < U && yb.push(ra.Y.vN.subarray(Za, Za + U)), 0 < ma && yb.push(Ea.Y.vN.subarray(Za + U, Za + U + ma))); + B00 = 43; + break; + case 24: + Ea = !1; + B00 = 23; + break; + case 35: + Hb || (Ea = ra); + yb = []; + B00 = 33; + break; + case 7: + return !0; + break; } } } }; - H9b; + u2q; v00 = 5; break; } } - function p(t, w, v) { - var w00; - w00 = 2; - for (; w00 !== 4; ) { - switch (w00) { - case 2: - t = new n(); - t.Yi = v[0]; - return t; - break; - } - } - } })(); - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, g, h, m; - function c(n, r, p, u) { - g(!k.ga(u), "Must have at least one selected stream"); - return new m(u); + function c(n, q, p, t) { + g(!k.fa(t), "Must have at least one selected stream"); + return new m(t); } - function f(n, r, p, u) { - g(!k.ga(u), "Must have at least one selected stream"); - return new m(u); + function f(n, q, p, t) { + g(!k.fa(t), "Must have at least one selected stream"); + return new m(t); } k = a(10); b = a(39); l = b.console; d = b.debug; g = b.assert; - h = b.GL; - m = b.Do; - q.exports = { - STARTING: function (n, r, p) { - var t, + h = b.IL; + m = b.Eo; + r.exports = { + STARTING: function (n, q, p) { + var u, w, v, x; - function u(y, z) { - var B, - A, + function t(y, z) { + var A, + B, C, E; - B = y.id; - A = y.bitrate; + A = y.id; + B = y.bitrate; C = y.Oa || 0; E = !!C; - d && l.log("Checking feasibility of [" + z + "] " + B + " (" + A + " Kbps)"); - if (!y.Vs) - return (d && !y.kv && l.log(" Not available"), d && y.JB && l.log(" Failed"), !1); - if (A > n.wU) - return (d && l.log(" Above maxInitAudioBitrate (" + n.wU + " Kbps)"), !1); - if (!(A * n.x5 / 8 < r.buffer.Su)) + d && l.log("Checking feasibility of [" + z + "] " + A + " (" + B + " Kbps)"); + if (!y.$s) + return (d && !y.rv && l.log(" Not available"), d && y.LB && l.log(" Failed"), !1); + if (B > n.vU) + return (d && l.log(" Above maxInitAudioBitrate (" + n.vU + " Kbps)"), !1); + if (!(B * n.x5 / 8 < q.buffer.Xu)) return (d && l.log(" audio buffer too small to handle this stream"), !1); if (E) { d && l.log(" Have throughput history = " + E + " : available throughput = " + C + " Kbps"); - if (A * r.playbackRate < C / w) + if (B * q.playbackRate < C / w) return (d && l.log(" +FEASIBLE: bitrate less than available throughput"), !0); d && l.log(" bitrate requires more than available throughput"); return !1; } - y = n.KU; - r.Xla && (y = Math.max(y, n.JU)); - if (A <= y) - return (d && l.log(" Bitrate is less than max of minInitAudioBitrate (" + n.KU + " Kbps) " + (r.Xla ? " and also minHCInitAudioBitrate (" + n.JU + " Kbps)" : "")), d && l.log(" +FEASIBLE: no throughput history and has minimum bitrate configured"), !0); + y = n.JU; + q.Rla && (y = Math.max(y, n.IU)); + if (B <= y) + return (d && l.log(" Bitrate is less than max of minInitAudioBitrate (" + n.JU + " Kbps) " + (q.Rla ? " and also minHCInitAudioBitrate (" + n.IU + " Kbps)" : "")), d && l.log(" +FEASIBLE: no throughput history and has minimum bitrate configured"), !0); d && l.log(" No throughput history"); return !1; } - t = new m(); - w = n.s3b || 1; + u = new m(); + w = n.t3b || 1; for (v = p.length - 1; 0 <= v; --v) { x = p[v]; - if (u(x, v)) { - t.ie = v; + if (t(x, v)) { + u.he = v; break; } - h(x) && (t.ie = v); + h(x) && (u.he = v); } - return t; + return u; }, BUFFERING: c, REBUFFERING: c, PLAYING: f, PAUSED: f }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d; - function c(g, h, m, n, r) { + function c(g, h, m, n, q) { var p, - u; - m = null !== (p = h.Vd) && void 0 !== p ? p : h.track.Fm(g, m.V, void 0, r); - g = null !== (u = h.nf) && void 0 !== u ? u : h.track.dy(g, null === n || void 0 === n ? void 0 : n.V, h.Uf); + t; + m = null !== (p = h.Ud) && void 0 !== p ? p : h.track.Dm(g, m.V, void 0, q); + g = null !== (t = h.nf) && void 0 !== t ? t : h.track.iy(g, null === n || void 0 === n ? void 0 : n.V, h.Vf); return [!h.sk(), m, g]; } function f(g, h) { - var A, + var B, C; - for (var m = [], n = 0, r = g[n], p = null === r || void 0 === r ? void 0 : r[0], u = null === r || void 0 === r ? void 0 : r[1], t = h.nf.index, w = h.track.oo, v = 0, x = h.Vd.Xc, y = h.Vd.Md.V > r[0], z = y, B = h.Vd.index; B <= t; ++B) { - A = !1; - if (r) { - C = w.get(B); - y && (C.Xc.V >= u ? (y = !1, ++n >= g.length ? u = p = r = void 0 : (r = g[n], p = null === r || void 0 === r ? void 0 : r[0], u = null === r || void 0 === r ? void 0 : r[1])) : z ? z = !1 : (m.push(new l.tZ(v, x, C.Xc)), x = C.Xc, A = !0)); - !y && r && C.Md.V > p && (y = !0, A = C.Xc, (C = h.track.rL.nk(B).NRa(p)) && 0 !== C.zk && (A = d.S.rb(C.od)), m.push(new l.tZ(v, x, A)), x = A, A = !0); + for (var m = [], n = 0, q = g[n], p = null === q || void 0 === q ? void 0 : q[0], t = null === q || void 0 === q ? void 0 : q[1], u = h.nf.index, w = h.track.po, v = 0, x = h.Ud.Wc, y = h.Ud.Kd.V > q[0], z = y, A = h.Ud.index; A <= u; ++A) { + B = !1; + if (q) { + C = w.get(A); + y && (C.Wc.V >= t ? (y = !1, ++n >= g.length ? t = p = q = void 0 : (q = g[n], p = null === q || void 0 === q ? void 0 : q[0], t = null === q || void 0 === q ? void 0 : q[1])) : z ? z = !1 : (m.push(new l.tZ(v, x, C.Wc)), x = C.Wc, B = !0)); + !y && q && C.Kd.V > p && (y = !0, B = C.Wc, (C = h.track.uL.nk(A).MRa(p)) && 0 !== C.Ak && (B = d.S.rb(C.pd)), m.push(new l.tZ(v, x, B)), x = B, B = !0); } - A && ++v; + B && ++v; } - m.push(new l.tZ(v, x, h.nf.Md)); + m.push(new l.tZ(v, x, h.nf.Kd)); return m; } Object.defineProperties(b, { @@ -46702,53 +46814,53 @@ a000.D9b = function () { value: !0 } }); - b.HHb = b.dYa = b.AZa = b.yZa = b.Nqa = void 0; + b.KHb = b.bYa = b.yZa = b.vZa = b.Iqa = void 0; k = a(2); - l = a(415); + l = a(419); d = a(9); - b.Nqa = function (g, h, m) { + b.Iqa = function (g, h, m) { var n, - r, + q, p; - p = h.Ra(0); - h = h.Ra(1); - h = null === h || void 0 === h ? void 0 : h.track.dy(g, null === m || void 0 === m ? void 0 : m.V, h.Uf); - return [null === p || void 0 === p ? void 0 : p.track.dy(g, null !== (r = null === (n = null === h || void 0 === h ? void 0 : h.Md) || void 0 === n ? void 0 : n.V) && void 0 !== r ? r : null === m || void 0 === m ? void 0 : m.V, p.Uf), h]; + p = h.Sa(0); + h = h.Sa(1); + h = null === h || void 0 === h ? void 0 : h.track.iy(g, null === m || void 0 === m ? void 0 : m.V, h.Vf); + return [null === p || void 0 === p ? void 0 : p.track.iy(g, null !== (q = null === (n = null === h || void 0 === h ? void 0 : h.Kd) || void 0 === n ? void 0 : n.V) && void 0 !== q ? q : null === m || void 0 === m ? void 0 : m.V, p.Vf), h]; }; - b.yZa = function (g, h, m, n, r) { + b.vZa = function (g, h, m, n, q) { var p, - u, t, + u, w; - p = h.Ra(0); - h = h.Ra(1); - u = k.__read(h ? c(g, h, m, n, r) : [!1], 3); - t = u[0]; - w = u[1]; - u = u[2]; - n = k.__read(p ? c(g, p, t && void 0 !== (null === w || void 0 === w ? void 0 : w.Z) ? d.S.rb(w.Z) : m, void 0 !== (null === u || void 0 === u ? void 0 : u.Aa) ? d.S.rb(null === u || void 0 === u ? void 0 : u.Aa) : n, r) : [!1], 3); + p = h.Sa(0); + h = h.Sa(1); + t = k.__read(h ? c(g, h, m, n, q) : [!1], 3); + u = t[0]; + w = t[1]; + t = t[2]; + n = k.__read(p ? c(g, p, u && void 0 !== (null === w || void 0 === w ? void 0 : w.X) ? d.S.rb(w.X) : m, void 0 !== (null === t || void 0 === t ? void 0 : t.Ca) ? d.S.rb(null === t || void 0 === t ? void 0 : t.Ca) : n, q) : [!1], 3); g = n[0]; m = n[1]; n = n[2]; - g && (null === p || void 0 === p ? void 0 : p.c4(m, n)); - t && (null === h || void 0 === h ? void 0 : h.c4(w, u)); - return [g, t]; + g && (null === p || void 0 === p ? void 0 : p.d4(m, n)); + u && (null === h || void 0 === h ? void 0 : h.d4(w, t)); + return [g, u]; }; - b.AZa = function (g, h, m) { - return h.track.Fm(g, m.V, void 0, !0).Xc; + b.yZa = function (g, h, m) { + return h.track.Dm(g, m.V, void 0, !0).Wc; }; - b.dYa = function (g, h, m) { + b.bYa = function (g, h, m) { var n; n = h.P; - if (!n.av || 0 === n.av.length) + if (!n.fv || 0 === n.fv.length) return []; - g = n.av.map(function (r) { - return [n.xc + r[0], n.xc + r[1]]; + g = n.fv.map(function (q) { + return [n.jc + q[0], n.jc + q[1]]; }); - return f(g, m.DV); + return f(g, m.CV); }; - b.HHb = f; - }, function (q, b, a) { + b.KHb = f; + }, function (r, b, a) { var f, k; function c(l) { @@ -46759,78 +46871,78 @@ a000.D9b = function () { value: !0 } }); - b.TEa = b.tZ = b.kWa = void 0; + b.QEa = b.tZ = b.iWa = void 0; f = a(9); k = a(6); - b.kWa = c; - q = (function () { + b.iWa = c; + r = (function () { function l(d, g, h) { this.region = d; - this.Xc = g; - this.Md = h; + this.Wc = g; + this.Kd = h; } l.prototype.toJSON = function () { return { region: this.region, - Z: this.Xc.vG, - Aa: this.Md.vG + X: this.Wc.BG, + Ca: this.Kd.BG }; }; return l; })(); - b.tZ = q; - q = (function () { + b.tZ = r; + r = (function () { function l(d, g, h) { var m, n; m = this; this.id = d; this.P = g; - this.VJa = !1; - this.jL = function (r) { + this.TJa = !1; + this.mL = function (q) { var p, - u, t, + u, w; - return (null === (p = m.Qv) || void 0 === p ? 0 : p.length) ? "immediate" : null !== (w = null === (t = null === (u = m.P.next) || void 0 === u ? void 0 : u[r]) || void 0 === t ? void 0 : t.Yd) && void 0 !== w ? w : m.Yd; + return (null === (p = m.Vv) || void 0 === p ? 0 : p.length) ? "immediate" : null !== (w = null === (u = null === (t = m.P.next) || void 0 === t ? void 0 : t[q]) || void 0 === u ? void 0 : u.ie) && void 0 !== w ? w : m.ie; }; - this.UQ = new f.S(g.xc, 1E3); - this.mQ = void 0 !== g.Yc && null !== g.Yc ? new f.S(g.Yc, 1E3) : f.S.PB; - this.Bjb = null !== (n = g.Yd) && void 0 !== n ? n : h; - this.WVa(); - k.assert(this.UQ.lessThan(this.mQ), "PlaygraphSegment: Invalid timestamps (endTimestamp <= startTimestamp)"); + this.WQ = new f.S(g.jc, 1E3); + this.nQ = void 0 !== g.Fc && null !== g.Fc ? new f.S(g.Fc, 1E3) : f.S.RB; + this.Cjb = null !== (n = g.ie) && void 0 !== n ? n : h; + this.UVa(); + k.assert(this.WQ.lessThan(this.nQ), "PlaygraphSegment: Invalid timestamps (endTimestamp <= startTimestamp)"); } Object.defineProperties(l.prototype, { - da: { + $: { get: function () { - return this.P.da; + return this.P.$; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - iM: { + kM: { get: function () { - return this.VJa; + return this.TJa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - uh: { + th: { get: function () { - return this.UQ; + return this.WQ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Ll: { + Kl: { get: function () { - return this.mQ; + return this.nQ; }, enumerable: !1, configurable: !0 @@ -46839,32 +46951,32 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { duration: { get: function () { - return this.mQ.Ba(this.UQ); + return this.nQ.Da(this.WQ); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Z: { + X: { get: function () { - return this.UQ.V; + return this.WQ.V; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Aa: { + Ca: { get: function () { - return this.mQ.V; + return this.nQ.V; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - yC: { + AC: { get: function () { return !1; }, @@ -46873,25 +46985,25 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - Pt: { + Vt: { get: function () { - return this.Uy.length ? !this.P.Ki && 0 === this.gM.length : !0; + return this.Xy.length ? !this.P.Fh && 0 === this.iM.length : !0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - GJb: { + IJb: { get: function () { - return this.EA; + return this.GA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Uy: { + Xy: { get: function () { var d, g; @@ -46902,12 +47014,12 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - gM: { + iM: { get: function () { var d; d = this; - return this.Uy.filter(function (g) { - return !!d.EA[g]; + return this.Xy.filter(function (g) { + return !!d.GA[g]; }); }, enumerable: !1, @@ -46915,123 +47027,123 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - Nsa: { + Isa: { get: function () { var d; - return null !== (d = this.QKa) && void 0 !== d ? d : this.QKa = this.Hnb(); + return null !== (d = this.OKa) && void 0 !== d ? d : this.OKa = this.Inb(); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - W7: { + S7: { get: function () { var d; - return null !== (d = this.RKa) && void 0 !== d ? d : this.RKa = this.Inb(); + return null !== (d = this.PKa) && void 0 !== d ? d : this.PKa = this.Jnb(); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Tv: { + Yv: { get: function () { - return this.P.weight ? this.P.weight / (this.P.weight + this.W7) : 1; + return this.P.weight ? this.P.weight / (this.P.weight + this.S7) : 1; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Yd: { + ie: { get: function () { var d; - return (null === (d = this.Qv) || void 0 === d ? 0 : d.length) ? "immediate" : this.Bjb; + return (null === (d = this.Vv) || void 0 === d ? 0 : d.length) ? "immediate" : this.Cjb; }, enumerable: !1, configurable: !0 } }); l.prototype.normalize = function (d, g, h) { - this.UQ = d; - this.mQ = g; - this.Qv = h; - this.VJa = !0; - this.S6a(); + this.WQ = d; + this.nQ = g; + this.Vv = h; + this.TJa = !0; + this.V6a(); }; l.prototype.RSa = function () { var d; - return this.gM.length ? null !== (d = this.gM.map(this.jL).reduce(function (g, h) { + return this.iM.length ? null !== (d = this.iM.map(this.mL).reduce(function (g, h) { return g === h ? h : void 0; - })) && void 0 !== d ? d : this.Yd : this.Yd; + })) && void 0 !== d ? d : this.ie : this.ie; }; l.prototype.ti = function (d) { - this.WVa(d); + this.UVa(d); }; - l.prototype.wnb = function (d) { + l.prototype.xnb = function (d) { var g, h; - if (this.Nsa) { - g = (this.EA[d] || 0) / this.Nsa; - if (void 0 === this.P.weight || 0 === this.W7) + if (this.Isa) { + g = (this.GA[d] || 0) / this.Isa; + if (void 0 === this.P.weight || 0 === this.S7) return { - Be: g + De: g }; - h = this.Tv; - return 1 !== h && c(this.jL(d)) && this.EA[d] ? { - Be: h * g, - NB: this.EA[d] / this.W7 * (1 - h) + h = this.Yv; + return 1 !== h && c(this.mL(d)) && this.GA[d] ? { + De: h * g, + PB: this.GA[d] / this.S7 * (1 - h) } : { - Be: h * g + De: h * g }; } return { - Be: (null === (g = this.P.next) || void 0 === g ? 0 : g[d]) ? 1 / this.Uy.length : 0 + De: (null === (g = this.P.next) || void 0 === g ? 0 : g[d]) ? 1 / this.Xy.length : 0 }; }; - l.prototype.ICb = function (d) { - return -1 < this.Uy.indexOf(d); + l.prototype.KCb = function (d) { + return -1 < this.Xy.indexOf(d); }; - l.prototype.WVa = function (d) { + l.prototype.UVa = function (d) { var g; if (void 0 === this.P.next) - this.EA = {}; + this.GA = {}; else { g = this.P.next; - this.EA = Object.keys(g).reduce(function (h, m) { + this.GA = Object.keys(g).reduce(function (h, m) { var n; n = d ? d[m] || 0 : g[m].weight; void 0 !== n && null !== n && 0 <= n && (h[m] = n); return h; }, {}); } - this.S6a(); + this.V6a(); }; - l.prototype.Hnb = function () { + l.prototype.Inb = function () { var d; d = this; - return this.gM.reduce(function (g, h) { - return g + d.EA[h]; + return this.iM.reduce(function (g, h) { + return g + d.GA[h]; }, 0); }; - l.prototype.Inb = function () { + l.prototype.Jnb = function () { var d; d = this; - return this.gM.filter(function (g) { - return c(d.jL(g)); + return this.iM.filter(function (g) { + return c(d.mL(g)); }).reduce(function (g, h) { - return g + d.EA[h]; + return g + d.GA[h]; }, 0); }; - l.prototype.S6a = function () { - this.RKa = this.QKa = void 0; + l.prototype.V6a = function () { + this.PKa = this.OKa = void 0; }; return l; })(); - b.TEa = q; - }, function (q, b, a) { + b.QEa = r; + }, function (r, b, a) { var c, f, k, @@ -47046,96 +47158,96 @@ a000.D9b = function () { value: !0 } }); - b.OY = void 0; + b.NY = void 0; c = a(2); - q = a(409); - f = c.__importDefault(a(27)).default.Za; - k = a(389); + r = a(413); + f = c.__importDefault(a(27)).default.Ra; + k = a(393); l = a(14); - d = c.__importDefault(a(4)); + d = c.__importDefault(a(5)); g = a(178); h = a(6); m = a(22); - n = a(893); - a = (function (r) { - function p(u, t, w, v, x, y, z, B, A, C, E, F) { - w = r.call(this, v, B, w, v, v, x, m.S.rb(y), z, E, !1, null === F || void 0 === F ? void 0 : F.Cf) || this; - w.fb = u; - w.Ch = t; - w.Mf = A; + n = a(895); + a = (function (q) { + function p(t, u, w, v, x, y, z, A, B, C, E, G) { + w = q.call(this, v, A, w, v, v, x, m.S.rb(y), z, E, !1, null === G || void 0 === G ? void 0 : G.Ef) || this; + w.fb = t; + w.Bh = u; + w.Nf = B; w.rg = C; - w.yfa = 0; + w.rfa = 0; w.vB = []; - w.Qw = !1; - w.zn.k6a = !1; - w.oQ = new n.qAa(v, w.rg, B, w.H, w.mediaType, w.Ch, w.Na, w.fb); - w.aGb = d.default.time.aa(); - w.VFb = void 0; - w.YF = B.Ila; - w.C0a = d.default.time.aa(); - t = g.fL(B); - u = t.AC; - t = t.C6; - w.nNb = 0 === w.mediaType ? u : t; - w.vW(x); + w.Vw = !1; + w.yn.m6a = !1; + w.pQ = new n.oAa(v, w.rg, A, w.H, w.mediaType, w.Bh, w.Na, w.fb); + w.dGb = d.default.time.ba(); + w.YFb = void 0; + w.dG = A.Dla; + w.C0a = d.default.time.ba(); + u = g.iL(A); + t = u.CC; + u = u.A6; + w.rNb = 0 === w.mediaType ? t : u; + w.uW(x); return w; } - c.__extends(p, r); + c.__extends(p, q); Object.defineProperties(p.prototype, { - rx: { + wx: { get: function () { - return this.Na.rx; + return this.Na.wx; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - bK: { + eK: { get: function () { - return this.Na.bK; + return this.Na.eK; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - iB: { + kB: { get: function () { - return this.Na.iB; + return this.Na.kB; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - lz: { + oz: { get: function () { - return this.Na.lz; + return this.Na.oz; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - yh: { + wh: { get: function () { - return this.oQ.yh; + return this.pQ.wh; }, - set: function (u) { - this.oQ.yh = u; + set: function (t) { + this.pQ.wh = t; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - fq: { + hq: { get: function () { - return this.oQ.fq; + return this.pQ.hq; }, - set: function (u) { - this.oQ.fq = u; + set: function (t) { + this.pQ.hq = t; }, enumerable: !1, configurable: !0 @@ -47144,52 +47256,52 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { P4: { get: function () { - return this.Kd; + return this.Hd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - XDb: { + $Db: { get: function () { - return this.rJa.V; + return this.pJa.V; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - jN: { + kN: { get: function () { - return this.NKa.jN; + return this.LKa.kN; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - sBb: { + uBb: { get: function () { - return this.fb.zda; + return this.fb.tda; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Se: { + Te: { get: function () { - return this.Qw; + return this.Vw; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - OE: { + PE: { get: function () { - return this.rIa; + return this.pIa; }, enumerable: !1, configurable: !0 @@ -47197,187 +47309,187 @@ a000.D9b = function () { }); p.prototype.reset = function () { this.seeking = void 0; - this.connected = this.yh = !1; - this.zn.reset(); + this.connected = this.wh = !1; + this.yn.reset(); }; - p.prototype.zf = function () { + p.prototype.Bf = function () { this.reset(); - r.prototype.zf.call(this); + q.prototype.Bf.call(this); }; - p.prototype.dy = function (u, t) { - return k.dy(this.vj.mediaType, this.I, u, t, this.Uf, this.fb.sIb); + p.prototype.iy = function (t, u) { + return k.iy(this.sj.mediaType, this.I, t, u, this.Vf, this.fb.uIb); }; - p.prototype.Fm = function (u, t, w, v) { - return k.Fm(this.vj.mediaType, this.I, u, t, w, v); + p.prototype.Dm = function (t, u, w, v) { + return k.Dm(this.sj.mediaType, this.I, t, u, w, v); }; - p.prototype.dn = function () { - this.YF = this.I.Ila; + p.prototype.cn = function () { + this.dG = this.I.Dla; }; - p.prototype.QJ = function () { - this.Na.v8(); + p.prototype.TJ = function () { + this.Na.r8(); }; - p.prototype.vW = function (u) { - var t, + p.prototype.uW = function (t) { + var u, w; - t = this.fb; + u = this.fb; w = this.mediaType; - h.assert(u.mediaType === w); - h.assert(u.N === this.ub.N); - this.vj = u; - this.ub.N.Ota(w, u.Qd); - t.zgb(this, u.cC); - this.snb(u.Qd); - this.Cf.vW(u); - this.ub.N.jga(); - this.yh = !1; - }; - p.prototype.Gia = function (u) { - var t; - t = this.ub.N.Rg[this.mediaType]; - if (t && t.stream.ye && (u = t.stream.Y.Gm(u), -1 !== u)) - return u; + h.assert(t.mediaType === w); + h.assert(t.N === this.yb.N); + this.sj = t; + this.yb.N.Jta(w, t.Od); + u.Agb(this, t.eC); + this.tnb(t.Od); + this.Ef.uW(t); + this.yb.N.dga(); + this.wh = !1; + }; + p.prototype.zia = function (t) { + var u; + u = this.yb.N.Qg[this.mediaType]; + if (u && u.stream.Ae && (t = u.stream.Y.Em(t), -1 !== t)) + return t; }; - p.prototype.UG = function (u, t) { + p.prototype.bH = function (t, u) { var w, v, x; - if (this.Vd && this.Vd.Z === u) { - t = this.Vd.index; - w = u; + if (this.Ud && this.Ud.X === t) { + u = this.Ud.index; + w = t; } else { - v = this.ub.N; - x = v.Rg[this.mediaType]; - if (!x || !x.stream.ye) { - this.qG = u; - this.nMb = t; + v = this.yb.N; + x = v.Qg[this.mediaType]; + if (!x || !x.stream.Ae) { + this.wG = t; + this.qMb = u; return; } w = x.stream.Y; - this.Vd = this.Fm(x.stream, u, void 0, t); - if (void 0 === this.Vd) { - if ((t = w.length - 1, w = w.Zi(t), this.Eb("setStreamingPts out of range of fragments, pts:", u, "last startPts:", w, "fragment index:", t, "fastplay:", v.Ze.yg), v.Ze.yg)) { - this.qG = u; + this.Ud = this.Dm(x.stream, t, void 0, u); + if (void 0 === this.Ud) { + if ((u = w.length - 1, w = w.Wi(u), this.Gb("setStreamingPts out of range of fragments, pts:", t, "last startPts:", w, "fragment index:", u, "fastplay:", v.$e.Ng), v.$e.Ng)) { + this.wG = t; return; } - } else (t = this.Vd.index, w = this.Vd.Z); + } else (u = this.Ud.index, w = this.Ud.X); } - this.Zn = t; - this.VQ = w; - this.qG = void 0; + this.ao = u; + this.XQ = w; + this.wG = void 0; }; - p.prototype.GXb = function (u) { - var t, + p.prototype.IXb = function (t) { + var u, w; - t = this.vj.jv(u); - w = "verifying streamId: " + u + " stream's track: " + (t ? t.La : "unknown") + " currentTrack: " + this.vj.trackId; - return t ? !0 : (this.Ch.Ul(w), this.Ch.Ul("unknown streamId: " + u), !1); + u = this.sj.qv(t); + w = "verifying streamId: " + t + " stream's track: " + (u ? u.Ma : "unknown") + " currentTrack: " + this.sj.trackId; + return u ? !0 : (this.Bh.Tl(w), this.Bh.Tl("unknown streamId: " + t), !1); }; - p.prototype.snb = function (u) { - this.XCb = u.reduce(function (t, w) { - return w.Vs && w.bitrate > t.bitrate ? w : t; - }, u[0]); + p.prototype.tnb = function (t) { + this.$Cb = t.reduce(function (u, w) { + return w.$s && w.bitrate > u.bitrate ? w : u; + }, t[0]); }; - p.prototype.C7 = function (u) { - this.nf = u; + p.prototype.y7 = function (t) { + this.nf = t; }; - p.prototype.vHb = function (u, t, w, v, x) { - this.A5a(u, t, v, x); - w && ++this.yfa; - this.fb.uj(); + p.prototype.yHb = function (t, u, w, v, x) { + this.C5a(t, u, v, x); + w && ++this.rfa; + this.fb.rj(); }; - p.prototype.Wy = function (u) { - u.Aa && u.Z && (this.YF -= u.Aa - u.Z); - r.prototype.Wy.call(this, u); + p.prototype.Zy = function (t) { + t.Ca && t.X && (this.dG -= t.Ca - t.X); + q.prototype.Zy.call(this, t); }; - p.prototype.wk = function (u) { - this.QUa(u); - this.gv(u); + p.prototype.vk = function (t) { + this.QUa(t); + this.nv(t); }; - p.prototype.yWb = function (u) { - var t; - t = d.default.time.aa(); - this.YF += u * (t - this.C0a); - this.C0a = t; + p.prototype.AWb = function (t) { + var u; + u = d.default.time.ba(); + this.dG += t * (u - this.C0a); + this.C0a = u; }; - p.prototype.qQb = function () { - this.YF = this.I.Ila; + p.prototype.vQb = function () { + this.dG = this.I.Dla; }; - p.prototype.$J = function (u) { - this.Na.Ufa(); - this.Uf || this.oQ.$J(u, this.pc); + p.prototype.dK = function (t) { + this.Na.Ofa(); + this.Vf || this.pQ.dK(t, this.uc); }; - p.prototype.QUa = function (u) { - var t, + p.prototype.QUa = function (t) { + var u, w, v; w = this.P4; v = this.fb; - this.Mf.PKa() || (this.Ch.Uhb(u.mediaType, u.N.Db, u.stream.track.EE, this.rs, this.va), null === (t = this.Uf) || void 0 === t ? void 0 : t.IDb(u), t = w.T.xe() || 0, v.nb.Rw() || (w = w.Ra(f.Hb)) && !w.Se && w.D3 && v.nb.vka(w), this.$J(t), this.fb.PUa(u), this.Mf.$Z(this) && this.Mf.uj()); + this.Nf.NKa() || (this.Bh.Vhb(t.mediaType, t.N.Fb, t.stream.track.GE, this.ws, this.va), null === (u = this.Vf) || void 0 === u ? void 0 : u.MDb(t), u = w.T.ye() || 0, v.ob.Ww() || (w = w.Sa(f.Bb)) && !w.Te && w.E3 && v.ob.rka(w), this.dK(u), this.fb.PUa(t), this.Nf.c_(this) && this.Nf.rj()); }; - p.prototype.bpa = function (u) { - this.fb.z3(u); + p.prototype.Xoa = function (t) { + this.fb.A3(t); }; - p.prototype.QNa = function (u, t, w, v, x, y) { + p.prototype.PNa = function (t, u, w, v, x, y) { var z, - B; + A; z = this.I; - B = z.Qi; - if (w >= z.Qi && (z.a7 && (B = w + 1E3), z.b7 && !this.connected)) + A = z.Ni; + if (w >= z.Ni && (z.Y6 && (A = w + 1E3), z.Z6 && !this.connected)) return !1; - if (this.Uf) - return this.Uf.Hx(); - w = this.yh && 0 === this.Na.epa && 0 === this.Na.Ar; - return !w && v < B ? !1 : w ? y && 0 === v ? (this.Eb("playlist mode with nothing buffered, waiting for next manifest"), !1) : !0 : this.sob(u, t, x); + if (this.Vf) + return this.Vf.Mx(); + w = this.wh && 0 === this.Na.$oa && 0 === this.Na.Dr; + return !w && v < A ? !1 : w ? y && 0 === v ? (this.Gb("playlist mode with nothing buffered, waiting for next manifest"), !1) : !0 : this.tob(t, u, x); }; - p.prototype.cSb = function (u) { - this.VQ = u; + p.prototype.fSb = function (t) { + this.XQ = t; }; - p.prototype.z7 = function (u) { - this.Qw = !0; - this.rIa = u; + p.prototype.v7 = function (t) { + this.Vw = !0; + this.pIa = t; }; - p.prototype.hga = function () { - this.Qw = !1; - this.rIa = void 0; + p.prototype.bga = function () { + this.Vw = !1; + this.pIa = void 0; }; - p.prototype.sob = function (u, t, w) { - if (this.Se || 0 === this.mediaType) + p.prototype.tob = function (t, u, w) { + if (this.Te || 0 === this.mediaType) return !0; - if (void 0 === this.Ws) + if (void 0 === this.dt) return !1; - t = this.mgb(t, u); - this.track.N.Pl.hX(this.track.N.da, this.track.Qd); - this.xz.Qpa([this.Ws], !1, t, this.nNb); - u = this.xz.Hx(t, u, w, this.Ws, this.ub.N.jp); - u.complete ? this.z7(u.reason) : (this.hga(), this.bC = u.bC, this.progress = u.progress); - return this.Se; - }; - p.prototype.mgb = function (u, t) { + u = this.ngb(u, t); + this.track.N.Pl.gX(this.track.N.$, this.track.Od); + this.Az.Kpa([this.dt], !1, u, this.rNb); + t = this.Az.Mx(u, t, w, this.dt, this.yb.N.kp); + t.complete ? this.v7(t.reason) : (this.bga(), this.dC = t.dC, this.progress = t.progress); + return this.Te; + }; + p.prototype.ngb = function (t, u) { var w, v, x, y, z; - y = d.default.Mn()[this.mediaType]; - z = this.Na.n3(); - u = { - Su: y, - Z: null !== (w = z.Zc) && void 0 !== w ? w : 0, - qc: u, - oc: null !== (v = z.BM || u) && void 0 !== v ? v : 0, - Hl: null !== (x = z.VR || u) && void 0 !== x ? x : 0, + y = d.default.Nn()[this.mediaType]; + z = this.Na.o3(); + t = { + Xu: y, + X: null !== (w = z.Zc) && void 0 !== w ? w : 0, + vc: t, + tc: null !== (v = z.DM || t) && void 0 !== v ? v : 0, + Gl: null !== (x = z.WR || t) && void 0 !== x ? x : 0, Tj: z.Tj, jl: z.jl, - hSa: z.Y.length, + gSa: z.Y.length, Y: z.Y }; - "number" !== typeof u.Z ? (u.Z = 0, u.oc = 0) : t === l.wc.Sc && u.qc !== u.Z && (u.qc = u.Z); - return u; + "number" !== typeof t.X ? (t.X = 0, t.tc = 0) : u === l.yc.Sc && t.vc !== t.X && (t.vc = t.X); + return t; }; return p; - })(q.Haa); - b.OY = a; - }, function (q, b, a) { + })(r.Aaa); + b.NY = a; + }, function (r, b, a) { var c, f, k, @@ -47392,143 +47504,143 @@ a000.D9b = function () { value: !0 } }); - b.t9 = void 0; + b.o9 = void 0; c = a(2); - q = a(16); + r = a(16); f = a(19); - k = c.__importDefault(a(4)); + k = c.__importDefault(a(5)); l = a(9); - d = a(895); + d = a(897); g = a(176); - h = a(896); + h = a(898); m = a(22); - n = a(899); - a = (function (r) { + n = a(901); + a = (function (q) { function p() { - var u; - u = null !== r && r.apply(this, arguments) || this; - u.AKa = 0; - u.Dda = 0; - u.a_ = 0; - u.ica = 0; - return u; + var t; + t = null !== q && q.apply(this, arguments) || this; + t.yKa = 0; + t.xda = 0; + t.d_ = 0; + t.cca = 0; + return t; } - c.__extends(p, r); - p.prototype.Wqa = function (u) { - var t, + c.__extends(p, q); + p.prototype.Rqa = function (t) { + var u, w; - r.prototype.Wqa.call(this, u); - this.AKa++; - this.Dda++; - this.UKa = k.default.time.aa(); - this.eJ || (this.eJ = { - pc: u.pc, - Jc: u.Jc, - index: u.index - }, this.r_ || (this.r_ = this.eJ)); - t = this.E_; + q.prototype.Rqa.call(this, t); + this.yKa++; + this.xda++; + this.SKa = k.default.time.ba(); + this.gJ || (this.gJ = { + uc: t.uc, + Lc: t.Lc, + index: t.index + }, this.u_ || (this.u_ = this.gJ)); + u = this.H_; w = !1; - t && 100 > Math.abs(t.Pd - u.Zc) && (this.a_ += u.Pd - t.Pd, this.ica++, w = !0); - w || (this.a_ = u.Zx, this.ica = 1); - this.E_ = u; + u && 100 > Math.abs(u.Nd - t.Zc) && (this.d_ += t.Nd - u.Nd, this.cca++, w = !0); + w || (this.d_ = t.dy, this.cca = 1); + this.H_ = t; }; p.prototype.stop = function () { - r.prototype.stop.call(this); - this.Dda = 0; - this.eJ = void 0; + q.prototype.stop.call(this); + this.xda = 0; + this.gJ = void 0; }; p.prototype.tTa = function () { - var u, - t, + var t, + u, w, v; - u = this.IA; - t = u.E1; - if (t) { - v = t.Ra(this.tg); - v && v.Na && (w = v.Na.jka()); + t = this.KA; + u = t.G1; + if (u) { + v = u.Sa(this.tg); + v && v.Na && (w = v.Na.fka()); return { RM: w, currentBranch: { - sId: t.P && t.P.id, - cancelled: t.Fn + sId: u.P && u.P.id, + cancelled: u.Fn }, - currentReceivedCount: u && u.Hsb, - totalReceivedCount: this.AKa, - currentState: u && u.wPa || "Uninitialized", - lastRequestPushed: this.E_ && ({ - contentEndPts: this.E_.pc, - fragmentIndex: this.E_.index + currentReceivedCount: t && t.Jsb, + totalReceivedCount: this.yKa, + currentState: t && t.vPa || "Uninitialized", + lastRequestPushed: this.H_ && ({ + contentEndPts: this.H_.uc, + fragmentIndex: this.H_.index }), - tslp: this.UKa && k.default.time.aa() - this.UKa, - cpts: this.a_, - crq: this.ica, - rslp: this.Dda, - firstRequestSSPushed: this.eJ && ({ - contentStartPts: this.eJ.Jc, - fragmentIndex: this.eJ.index + tslp: this.SKa && k.default.time.ba() - this.SKa, + cpts: this.d_, + crq: this.cca, + rslp: this.xda, + firstRequestSSPushed: this.gJ && ({ + contentStartPts: this.gJ.Lc, + fragmentIndex: this.gJ.index }), - firstRequestPushed: this.r_ && ({ - contentStartPts: this.r_.Jc, - fragmentIndex: this.r_.index + firstRequestPushed: this.u_ && ({ + contentStartPts: this.u_.Lc, + fragmentIndex: this.u_.index }) }; } }; return p; - })((function (r) { - function p(u, t, w, v, x, y, z, B, A) { + })((function (q) { + function p(t, u, w, v, x, y, z, A, B) { var C; - C = r.call(this) || this; - C.qg = u; - C.tg = t; + C = q.call(this) || this; + C.qg = t; + C.tg = u; C.I = v; C.H = x; - C.DA = new l.nq(!1); - C.CA = new l.nq(m.S.rb(-Infinity)); - C.H = l.Ys(k.default, C.H, "AsePlayerBuffer:"); - C.IA = new d.Iva(C.H, w, t); + C.FA = new l.pq(!1); + C.EA = new l.pq(m.S.rb(-Infinity)); + C.H = l.Yq(k.default, C.H, "AsePlayerBuffer:"); + C.KA = new d.Fva(C.H, w, u); C.resume(); - y && z && B && (C.Spa = new h.iFa(t, x, y, C.qg, y.events, z, B, A), u = new n.uya(null === y || void 0 === y ? void 0 : y.st, m.S.rb(C.I.MU), x), C.IA.Fkb(u)); + y && z && A && (C.Mpa = new h.fFa(u, x, y, C.qg, y.events, z, A, B), t = new n.sya(null === y || void 0 === y ? void 0 : y.xt, m.S.rb(C.I.LU), x), C.KA.Fkb(t)); C.qg.on("requestAppended", function (E) { - C.DA.set(!0); - E.request.pf && C.CA.set(E.request.pf); + C.FA.set(!0); + E.request.pf && C.EA.set(E.request.pf); C.emit("requestAppended"); }); return C; } - c.__extends(p, r); + c.__extends(p, q); Object.defineProperties(p.prototype, { - Ry: { + Uy: { get: function () { - return this.DA; + return this.FA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - fU: { + eU: { get: function () { - return this.CA; + return this.EA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - tEb: { + wEb: { get: function () { - return this.IA.tk; + return this.KA.tk; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - zz: { + Cz: { get: function () { - return this.qg.zz; + return this.qg.Cz; }, enumerable: !1, configurable: !0 @@ -47545,79 +47657,79 @@ a000.D9b = function () { }); p.prototype.tTa = function () {}; p.prototype.resume = function () { - f.ka && this.H.trace("resume"); - this.usa(); + f.ia && this.H.trace("resume"); + this.osa(); }; - p.prototype.eWa = function (u) { - return this.qg.Sja() > u; + p.prototype.cWa = function (t) { + return this.qg.Lja() > t; }; Object.defineProperties(p.prototype, { Nlb: { get: function () { - return this.LI; + return this.QI; }, enumerable: !1, configurable: !0 } }); - p.prototype.reset = function (u) { - var t; - void 0 === u && (u = !1); - f.ka && this.H.trace("reset"); + p.prototype.reset = function (t) { + var u; + void 0 === t && (t = !1); + f.ia && this.H.trace("reset"); this.stop(); - this.qg.reset(u); - this.DA.set(!1); - this.CA.set(m.S.rb(-Infinity)); - u || (this.LI = void 0); - u || (null === (t = this.Spa) || void 0 === t ? void 0 : t.reset()); + this.qg.reset(t); + this.FA.set(!1); + this.EA.set(m.S.rb(-Infinity)); + t || (this.QI = void 0); + t || (null === (u = this.Mpa) || void 0 === u ? void 0 : u.reset()); }; - p.prototype.nl = function (u) { - void 0 === u && (u = !1); - this.reset(u); - this.usa(!0); + p.prototype.ml = function (t) { + void 0 === t && (t = !1); + this.reset(t); + this.osa(!0); }; p.prototype.stop = function () { - this.IA.d4a(); + this.KA.e4a(); }; p.prototype.close = function () { - var u; - null === (u = this.Spa) || void 0 === u ? void 0 : u.close(); + var t; + null === (t = this.Mpa) || void 0 === t ? void 0 : t.close(); }; - p.prototype.wb = function () { + p.prototype.zb = function () { this.stop(); this.close(); }; - p.prototype.dV = function () { - this.I.C2 && this.qg.YRa(); - this.qg.Yx(); + p.prototype.cV = function () { + this.I.D2 && this.qg.XRa(); + this.qg.cy(); }; - p.prototype.hxb = function (u) { - this.qg.DZa(u, !0); + p.prototype.nxb = function (t) { + this.qg.BZa(t, !0); }; - p.prototype.bi = function (u) { - var t; - return !(null === (t = this.Spa) || void 0 === t || !t.bi(u)); + p.prototype.bi = function (t) { + var u; + return !(null === (u = this.Mpa) || void 0 === u || !u.bi(t)); }; - p.prototype.usa = function (u) { - if (!this.IA.tk || u) - (this.IA.zQb(), g.AsyncIterator.xFb(this.IA, this.F4.bind(this))); + p.prototype.osa = function (t) { + if (!this.KA.tk || t) + (this.KA.EQb(), g.AsyncIterator.AFb(this.KA, this.F4.bind(this))); }; - p.prototype.F4 = function (u) { - u.done || this.Wqa(u.value); + p.prototype.F4 = function (t) { + t.done || this.Rqa(t.value); }; - p.prototype.Wqa = function (u) { - this.qg.endOfStream ? f.ka && this.H.error("Buffer manager has declared EOS, ignoring request", u.toString()) : (this.LI ? (this.LI.WFb = u.pc, this.LI.XFb = u.Pd, this.LI.bXa = u.pf) : this.LI = { - D4b: u.Jc, - E4b: u.Zc, - WFb: u.pc, - XFb: u.Pd, - bXa: u.pf - }, this.qg.Mlb(u)); + p.prototype.Rqa = function (t) { + this.qg.endOfStream ? f.ia && this.H.error("Buffer manager has declared EOS, ignoring request", t.toString()) : (this.QI ? (this.QI.ZFb = t.uc, this.QI.$Fb = t.Nd, this.QI.$Wa = t.pf) : this.QI = { + K4b: t.Lc, + L4b: t.Zc, + ZFb: t.uc, + $Fb: t.Nd, + $Wa: t.pf + }, this.qg.Mlb(t)); }; return p; - })(q.EventEmitter)); - b.t9 = a; - }, function (q, b, a) { + })(r.EventEmitter)); + b.o9 = a; + }, function (r, b, a) { var c, f, k, @@ -47629,141 +47741,141 @@ a000.D9b = function () { value: !0 } }); - b.Zaa = void 0; + b.Taa = void 0; c = a(2); f = a(16); k = a(9); l = a(19); - d = a(67); + d = a(68); g = k.S.rb(1E3); - q = (function () { - function h(m, n, r, p, u, t, w, v, x) { + r = (function () { + function h(m, n, q, p, t, u, w, v, x) { var y, z, - B; + A; y = this; this.mediaType = m; this.console = n; - this.Ha = r; - this.events = u; - this.Eu = t; - this.Df = w; - this.FVb = v; - this.Xn = []; - this.hpa = g.add(k.S.rb(null !== (B = null === (z = t.vN) || void 0 === z ? void 0 : z.V) && void 0 !== B ? B : 0)); - this.listeners = new f.zh(); - this.listeners.on(r.T, "skipped", function () { - return y.fV(); - }); - this.listeners.on(p, "requestAppended", function (A) { - return y.Ry(A.request); - }); - this.TQ = !0; - this.ES = w.mB(function () { - return y.$ub(); + this.Ha = q; + this.events = t; + this.Ju = u; + this.Ff = w; + this.HVb = v; + this.Zn = []; + this.cpa = g.add(k.S.rb(null !== (A = null === (z = u.wN) || void 0 === z ? void 0 : z.V) && void 0 !== A ? A : 0)); + this.listeners = new f.xh(); + this.listeners.on(q.T, "skipped", function () { + return y.eV(); + }); + this.listeners.on(p, "requestAppended", function (B) { + return y.Uy(B.request); + }); + this.VQ = !0; + this.DS = w.nB(function () { + return y.dvb(); }, "Presentation Emit", x); - this.L6 = w.mB(function () { - return y.qOb(); + this.I6 = w.nB(function () { + return y.vOb(); }, "Presentation Prune"); } - h.prototype.fV = function () { - this.trace("skipped, scheduler clock " + this.Df.wa.currentTime.Nd()); - this.TQ = !0; - this.ES.nl(); + h.prototype.eV = function () { + this.trace("skipped, scheduler clock " + this.Ff.xa.currentTime.Ld()); + this.VQ = !0; + this.DS.ml(); }; - h.prototype.$ub = function () { + h.prototype.dvb = function () { var m, n; - return c.__generator(this, function (r) { - switch (r.label) { + return c.__generator(this, function (q) { + switch (q.label) { case 0: - (this.wG = this.FJb(this.TQ), m = this.pZa(), r.label = 1); + (this.DG = this.HJb(this.VQ), m = this.mZa(), q.label = 1); case 1: if (!m) return [3, 3]; - n = this.TQ ? this.Ha.Cd : null === m || void 0 === m ? void 0 : m.timestamp; - this.trace("queuing task for " + m.rH + (" at player time " + m.timestamp.Nd()) + (" scheduler clock is " + this.Df.wa.currentTime.Nd())); - return [4, d.mj.YN(m.timestamp)]; + n = this.VQ ? this.Ha.ud : null === m || void 0 === m ? void 0 : m.timestamp; + this.trace("queuing task for " + m.zH + (" at player time " + m.timestamp.Ld()) + (" scheduler clock is " + this.Ff.xa.currentTime.Ld())); + return [4, d.jj.YN(m.timestamp)]; case 2: - return (r.Oe(), this.trace("executing task for " + m.rH + (" at player time " + m.timestamp.Nd()) + (" scheduler clock is " + this.Df.wa.currentTime.Nd())), this.TQ = !1, this.GQa(m, n), this.wG++, m = this.pZa(), n = null === m || void 0 === m ? void 0 : m.timestamp, [3, 1]); + return (q.Wd(), this.trace("executing task for " + m.zH + (" at player time " + m.timestamp.Ld()) + (" scheduler clock is " + this.Ff.xa.currentTime.Ld())), this.VQ = !1, this.EQa(m, n), this.DG++, m = this.mZa(), n = null === m || void 0 === m ? void 0 : m.timestamp, [3, 1]); case 3: return [2]; } }); }; - h.prototype.pZa = function () { - if (void 0 !== this.wG) - return this.Xn[this.wG]; + h.prototype.mZa = function () { + if (void 0 !== this.DG) + return this.Zn[this.DG]; }; - h.prototype.FJb = function (m) { + h.prototype.HJb = function (m) { var n, - r, - u; + q, + t; void 0 === m && (m = !1); - for (var p = m ? 0 : null !== (n = this.wG) && void 0 !== n ? n : 0; p < this.Xn.length; p++) { - n = this.Xn[p]; - u = k.S.rb(null !== (r = this.Eu.Epa) && void 0 !== r ? r : 0); - if (n.timestamp.greaterThan(this.Ha.Cd.add(u))) + for (var p = m ? 0 : null !== (n = this.DG) && void 0 !== n ? n : 0; p < this.Zn.length; p++) { + n = this.Zn[p]; + t = k.S.rb(null !== (q = this.Ju.zpa) && void 0 !== q ? q : 0); + if (n.timestamp.greaterThan(this.Ha.ud.add(t))) return m && 0 < p ? p - 1 : p; } - return Math.max(this.Xn.length - 1, 0); + return Math.max(this.Zn.length - 1, 0); }; - h.prototype.qOb = function () { + h.prototype.vOb = function () { var m, n; - return c.__generator(this, function (r) { - switch (r.label) { + return c.__generator(this, function (q) { + switch (q.label) { case 0: - if (!(1 < this.Xn.length)) + if (!(1 < this.Zn.length)) return [3, 2]; - m = c.__read(this.Xn, 2); + m = c.__read(this.Zn, 2); n = m[1]; - this.trace("queuing pruning task for " + n.rH + (" at player time " + this.hpa.add(n.timestamp).Nd()) + (" scheduler clock is " + this.Df.wa.currentTime.Nd())); - return [4, d.mj.YN(this.hpa.add(n.timestamp))]; + this.trace("queuing pruning task for " + n.zH + (" at player time " + this.cpa.add(n.timestamp).Ld()) + (" scheduler clock is " + this.Ff.xa.currentTime.Ld())); + return [4, d.jj.YN(this.cpa.add(n.timestamp))]; case 1: - return (r.Oe(), this.trace("executing pruning task for " + n.rH + (" at player time " + this.hpa.add(n.timestamp).Nd()) + (" scheduler clock is " + this.Df.wa.currentTime.Nd())), this.Xn.shift(), this.wG && this.wG--, [3, 0]); + return (q.Wd(), this.trace("executing pruning task for " + n.zH + (" at player time " + this.cpa.add(n.timestamp).Ld()) + (" scheduler clock is " + this.Ff.xa.currentTime.Ld())), this.Zn.shift(), this.DG && this.DG--, [3, 0]); case 2: return [2]; } }); }; h.prototype.reset = function () { - this.Xn = []; - l.ka && this.trace("reset"); - this.TQ = !0; + this.Zn = []; + l.ia && this.trace("reset"); + this.VQ = !0; this.K4 = void 0; - this.wG = 0; - this.L6.nl(); - this.ES.nl(); + this.DG = 0; + this.I6.ml(); + this.DS.ml(); }; h.prototype.close = function () { - this.ES.wb(); - this.L6.wb(); + this.DS.zb(); + this.I6.zb(); this.listeners.clear(); }; h.prototype.bi = function (m) { var n; - l.ka && this.trace("canSkip() " + m); - if (0 === this.Xn.length) - return (l.ka && this.trace("canSkip false, no media sequence"), !1); - n = this.Xn[0]; - return n.timestamp.greaterThan(m) ? (l.ka && this.trace("canSkip false, before earliest item at " + n.timestamp), !1) : void 0 === this.K4 || this.K4.lessThan(m) ? (l.ka && this.trace("canSkip false, later than last appended at " + this.K4), !1) : !0; + l.ia && this.trace("canSkip() " + m); + if (0 === this.Zn.length) + return (l.ia && this.trace("canSkip false, no media sequence"), !1); + n = this.Zn[0]; + return n.timestamp.greaterThan(m) ? (l.ia && this.trace("canSkip false, before earliest item at " + n.timestamp), !1) : void 0 === this.K4 || this.K4.lessThan(m) ? (l.ia && this.trace("canSkip false, later than last appended at " + this.K4), !1) : !0; }; h.prototype.trace = function (m) { - l.ka && this.console.trace("PresentationTracker [" + this.mediaType + "] " + this.FVb + ": " + m); + l.ia && this.console.trace("PresentationTracker [" + this.mediaType + "] " + this.HVb + ": " + m); }; - h.prototype.uLa = function (m, n, r) { - r && (this.K4 = r); - r = this.Xn.length ? this.Xn[this.Xn.length - 1] : void 0; - return void 0 === r || r.rH !== m ? (this.Xn.push({ - rH: m, + h.prototype.sLa = function (m, n, q) { + q && (this.K4 = q); + q = this.Zn.length ? this.Zn[this.Zn.length - 1] : void 0; + return void 0 === q || q.zH !== m ? (this.Zn.push({ + zH: m, timestamp: n - }), this.ES.state === d.ul.complete && this.ES.nl(), this.L6.state === d.ul.complete && this.L6.nl(), !0) : !1; + }), this.DS.state === d.tl.complete && this.DS.ml(), this.I6.state === d.tl.complete && this.I6.ml(), !0) : !1; }; return h; })(); - b.Zaa = q; - }, function (q, b, a) { + b.Taa = r; + }, function (r, b, a) { var c, f, k, @@ -47773,125 +47885,125 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.D9 = void 0; - q = a(2); - c = q.__importStar(a(10)); - f = q.__importDefault(a(84)); - k = q.__importDefault(a(4)); - l = a(900); + b.y9 = void 0; + r = a(2); + c = r.__importStar(a(10)); + f = r.__importDefault(a(84)); + k = r.__importDefault(a(5)); + l = a(902); d = a(14); - g = a(247); + g = a(248); h = a(9); m = a(6); n = a(22); - r = a(374); - p = a(407); + q = a(376); + p = a(411); a = (function () { - function u(t, w, v, x, y, z, B, A, C, E) { - this.fb = t; - this.Ch = w; + function t(u, w, v, x, y, z, A, B, C, E) { + this.fb = u; + this.Bh = w; this.H = v; - this.AJ = x; - this.I = B; - this.l_ = A; - this.lKa = C; - this.hT = E; - this.Eb = this.H.warn.bind(this.H); - this.sm = this.H.trace.bind(this.H); + this.CJ = x; + this.I = A; + this.o_ = B; + this.jKa = C; + this.fT = E; + this.Gb = this.H.warn.bind(this.H); + this.rm = this.H.trace.bind(this.H); this.cg = this.H.log.bind(this.H); - this.Ah = []; - this.Lg = {}; - y.ym ? (m.assert(!y.bo), this.Yba = !0, this.lib(y, y.ym, z)) : (this.sn = this.Sw(y.bo || "", y, 0, void 0, void 0, {}, !0), this.sn.iM = !0, this.sn.Aa = Infinity, this.l0 = [this.sn]); - this.Kd = this.c_(this.sn, void 0, z); - this.Kd.active = !0; - t = h.Ys(k.default, this.H, "BranchQueue::"); - this.oj = new g.PX(t); - this.oj.enqueue(this.Kd); - this.wda = this.xQ = void 0; - } - u.mja = function (t) { - return "m" + t; + this.yh = []; + this.Jg = {}; + y.Hn ? (m.assert(!y.co), this.Sba = !0, this.mib(y, y.Hn, z)) : (this.rn = this.Xw(y.co || "", y, 0, void 0, void 0, {}, !0), this.rn.kM = !0, this.rn.Ca = Infinity, this.n0 = [this.rn]); + this.Hd = this.f_(this.rn, void 0, z); + this.Hd.active = !0; + u = h.Yq(k.default, this.H, "BranchQueue::"); + this.lj = new g.OX(u); + this.lj.enqueue(this.Hd); + this.qda = this.yQ = void 0; + } + t.fja = function (u) { + return "m" + u; }; - Object.defineProperties(u.prototype, { - zy: { + Object.defineProperties(t.prototype, { + Cy: { get: function () { - return !!this.Yba; + return !!this.Sba; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Ej: { + Object.defineProperties(t.prototype, { + Dj: { get: function () { - return this.Kd.Fn; + return this.Hd.Fn; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - hg: { + Object.defineProperties(t.prototype, { + Oe: { get: function () { - return this.sn; + return this.rn; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Fh: { + Object.defineProperties(t.prototype, { + Eh: { get: function () { - return this.Kd.P.id; + return this.Hd.P.id; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Isb: { + Object.defineProperties(t.prototype, { + Ksb: { get: function () { - return this.Kd.N.Db; + return this.Hd.N.Fb; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Cc: { + Object.defineProperties(t.prototype, { + Ec: { get: function () { - return this.Kd; + return this.Hd; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Ab: { + Object.defineProperties(t.prototype, { + Cb: { get: function () { - return this.Ah; + return this.yh; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - Ke: { + Object.defineProperties(t.prototype, { + Me: { get: function () { - return this.Kd.Ke; + return this.Hd.Me; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { + Object.defineProperties(t.prototype, { rg: { get: function () { return this.fb.rg; @@ -47900,610 +48012,610 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(u.prototype, { - Mh: { + Object.defineProperties(t.prototype, { + Lh: { get: function () { - return this.xQ ? this.xQ : this.Ab[0]; + return this.yQ ? this.yQ : this.Cb[0]; }, enumerable: !1, configurable: !0 } }); - u.prototype.wb = function () { - this.Ah.forEach(function (t) { - t.zf(); + t.prototype.zb = function () { + this.yh.forEach(function (u) { + u.Bf(); }); - this.Ah = []; - this.oj.clear(); + this.yh = []; + this.lj.clear(); }; - u.prototype.Me = function (t) { - return this.Lg[t]; + t.prototype.ze = function (u) { + return this.Jg[u]; }; - u.prototype.nUa = function () { - return this.oj.getIterator(); + t.prototype.nUa = function () { + return this.lj.getIterator(); }; - u.prototype.mUa = function (t, w) { + t.prototype.mUa = function (u, w) { var v; - v = this.Lg[t]; + v = this.Jg[u]; if (v) - return (t = v.Xk[w]) && t.weight; - this.Eb("getSegmentWeight, unknown segment:", t); + return (u = v.Xk[w]) && u.weight; + this.Gb("getSegmentWeight, unknown segment:", u); }; - u.prototype.nBb = function (t) { + t.prototype.pBb = function (u) { var w; - w = this.Lg[t]; + w = this.Jg[u]; if (w) - return w.Z; - this.Eb("getSegmentStartPts, unknown segment:", t); + return w.X; + this.Gb("getSegmentStartPts, unknown segment:", u); }; - u.prototype.mBb = function (t) { + t.prototype.oBb = function (u) { var w; - w = this.Lg[t]; + w = this.Jg[u]; if (!w) - this.Eb("getSegmentDuration, unknown segment:", t); - else if (c.xa(w.Aa) && isFinite(w.Aa) && c.xa(w.Z) && isFinite(w.Z)) - return w.Aa - w.Z; + this.Gb("getSegmentDuration, unknown segment:", u); + else if (c.ya(w.Ca) && isFinite(w.Ca) && c.ya(w.X) && isFinite(w.X)) + return w.Ca - w.X; }; - u.prototype.Hqa = function (t) { + t.prototype.Bqa = function (u) { var w; w = -1; - this.Ah.some(function (v, x) { - return v === t ? (w = x, !0) : !1; + this.yh.some(function (v, x) { + return v === u ? (w = x, !0) : !1; }); - -1 !== w ? this.Ah.splice(w, 1) : this.Eb("Unable to find branch:", t, "in branches array"); + -1 !== w ? this.yh.splice(w, 1) : this.Gb("Unable to find branch:", u, "in branches array"); }; - u.prototype.SE = function (t, w) { + t.prototype.TE = function (u, w) { var v; v = 0; - this.lgb(t).forEach(function (x) { - (x = x.Ed(w)) && (v += x.iB); + this.mgb(u).forEach(function (x) { + (x = x.Dd(w)) && (v += x.kB); }); return v; }; - u.prototype.Ru = function (t, w, v) { + t.prototype.Wu = function (u, w, v) { var x; - if (!t.Vb(w)) + if (!u.Yb(w)) return 0; - x = t.Ra(w); - for (x = v ? x.oc : x.rs; void 0 === x; ) { - if (!t.Tf) + x = u.Sa(w); + for (x = v ? x.tc : x.ws; void 0 === x; ) { + if (!u.Uf) return 0; - t = t.Tf; - x = t.Ra(w); - x = v ? x.oc : x.rs; + u = u.Uf; + x = u.Sa(w); + x = v ? x.tc : x.ws; } - t = this.lKa.xe(); - return Math.max(x - t, 0); + u = this.jKa.ye(); + return Math.max(x - u, 0); }; - u.prototype.Eia = function (t) { - return this.Ah.filter(function (w) { - if (w.N.Db === t) + t.prototype.xia = function (u) { + return this.yh.filter(function (w) { + if (w.N.Fb === u) return !0; }); }; - u.prototype.Qwb = function (t, w) { - return this.SIa(t, !1, w); + t.prototype.Wwb = function (u, w) { + return this.QIa(u, !1, w); }; - u.prototype.Pwb = function (t, w) { - return this.SIa(t, !0, w); + t.prototype.Vwb = function (u, w) { + return this.QIa(u, !0, w); }; - u.prototype.SPb = function (t, w, v) { - c.Te(this.Ah, function (x) { - x.N === t && x.q3a(w, v); + t.prototype.XPb = function (u, w, v) { + c.Ue(this.yh, function (x) { + x.N === u && x.q3a(w, v); }); - c.Te(this.Lg, function (x) { - x.N === t && (x.N = w); + c.Ue(this.Jg, function (x) { + x.N === u && (x.N = w); }); }; - u.prototype.b2a = function () { - var t; - t = this; - c.Te(this.Ah, function (w) { + t.prototype.a2a = function () { + var u; + u = this; + c.Ue(this.yh, function (w) { var v; - v = t.fb.Pg(w.N.Db); - w.Hz(n.S.rb(v.rv)); + v = u.fb.Og(w.N.Fb); + w.Kz(n.S.rb(v.xv)); }); }; - u.prototype.Qp = function (t) { + t.prototype.Tp = function (u) { var w; w = this; - c.Te(this.Ah, function (v) { - v.Ra(1).track.Qd.forEach(function (x) { + c.Ue(this.yh, function (v) { + v.Sa(1).track.Od.forEach(function (x) { var y; - y = r.Kea(x.Mg, x.bitrate, t, w.H); + y = q.Dea(x.Kg, x.bitrate, u, w.H); f.default(y, x); }); }); }; - u.prototype.Es = function (t, w, v, x) { + t.prototype.Is = function (u, w, v, x) { var y; for (; w; ) { - y = w.Es(t, v); + y = w.Is(u, v); if (y) return y; if (x) break; - w = w.Tf; + w = w.Uf; } }; - u.prototype.BPa = function (t) { + t.prototype.APa = function (u) { var w, v; w = this; - void 0 === t && (t = !1); - v = this.Ah; - t && (v = v.filter(function (x) { - return x !== w.Kd; + void 0 === u && (u = !1); + v = this.yh; + u && (v = v.filter(function (x) { + return x !== w.Hd; })); v.forEach(function (x) { x.active = !1; - w.oj.remove(x); + w.lj.remove(x); }); - t || this.oj.clear(); + u || this.lj.clear(); return v; }; - u.prototype.pOb = function () { - var t; - for (; 0 < this.Ah.length; ) { - t = this.Ah[0]; - t.Ra(0); - t.Ra(1); - if (!t.active) + t.prototype.uOb = function () { + var u; + for (; 0 < this.yh.length; ) { + u = this.yh[0]; + u.Sa(0); + u.Sa(1); + if (!u.active) break; - if (t === this.Kd) + if (u === this.Hd) break; - if (!t.JCb()) + if (!u.LCb()) break; - t.zf(); - this.Ah.shift(); + u.Bf(); + this.yh.shift(); } }; - u.prototype.GV = function (t, w, v, x, y) { + t.prototype.FV = function (u, w, v, x, y) { if (v > x) { - for (v -= x; t; ) { - t.GV(w, v, y); - t = t.Tf; + for (v -= x; u; ) { + u.FV(w, v, y); + u = u.Uf; } return v; } }; - u.prototype.SXa = function (t, w) { + t.prototype.QXa = function (u, w) { for (var v = { - VR: null, - BM: null, + WR: null, + DM: null, Zc: null, jl: 0, Tj: 0, Y: [] - }; t; ) { - t.n3(v, w); - t = t.Tf; + }; u; ) { + u.o3(v, w); + u = u.Uf; } return v; }; - u.prototype.Xob = function (t) { + t.prototype.Yob = function (u) { var w, v, x; - w = this.Kd; - if (w.GXa) - v = w.GXa; + w = this.Hd; + if (w.EXa) + v = w.EXa; else { - x = this.Kd.Ke; - v = this.c_(w.P, w); + x = this.Hd.Me; + v = this.f_(w.P, w); d.cf.forEach(function (y) { var z; - z = v.Ed(y); - z && (z.UG(0), y = w.Ed(y), z.C7(y.nf)); + z = v.Dd(y); + z && (z.bH(0), y = w.Dd(y), z.y7(y.nf)); }); - v.Hz(n.S.rb(x + t)); - w.GXa = v; + v.Kz(n.S.rb(x + u)); + w.EXa = v; } - this.HI(v, w); + this.LI(v, w); }; - u.prototype.Ekb = function (t, w, v) { + t.prototype.Ekb = function (u, w, v) { var x, y; - m.assert(!t.zy()); - if (!this.Yba) { - this.Yba = !0; - this.xQ = this.Mh; - x = this.sn.id || u.mja(0); - this.sn.id = x; - this.Lg[x] = this.sn; - this.sn.Aa = this.fb.Rzb().vTa(); - this.sn.yC = !0; - } - y = void 0 !== t.bo ? t.bo : u.mja(t.Db); - t = this.Sw(y, t, w, v, void 0, {}, !0); - t.yC = !0; - this.l0.forEach(function (z) { + m.assert(!u.Cy()); + if (!this.Sba) { + this.Sba = !0; + this.yQ = this.Lh; + x = this.rn.id || t.fja(0); + this.rn.id = x; + this.Jg[x] = this.rn; + this.rn.Ca = this.fb.Vzb().vTa(); + this.rn.AC = !0; + } + y = void 0 !== u.co ? u.co : t.fja(u.Fb); + u = this.Xw(y, u, w, v, void 0, {}, !0); + u.AC = !0; + this.n0.forEach(function (z) { z.Xk = {}; z.Xk[y] = { weight: 100 }; - z.mS = y; - z.Pt = !1; + z.lS = y; + z.Vt = !1; }); - this.l0 = [t]; + this.n0 = [u]; }; - u.prototype.ns = function (t, w) { + t.prototype.rs = function (u, w) { var v, x, y, z; - v = this.Mh; - x = v.KC(w, this.fb.T); + v = this.Lh; + x = v.LC(w, this.fb.T); y = v.P; - z = v.children[t]; + z = v.children[u]; if (w) { - if (!y.Xk[t]) - return (this.Kd.Eb("chooseNextSegment, invalid destination:", t, "for current segment:", y.id), !1); + if (!y.Xk[u]) + return (this.Hd.Gb("chooseNextSegment, invalid destination:", u, "for current segment:", y.id), !1); if (v.ik) - return v.ik === t; - v.ik = t; - z && v.F2 && this.HI(z, v); + return v.ik === u; + v.ik = u; + z && v.G2 && this.LI(z, v); return !0; } if (void 0 !== v.ik) return !1; if (!z) - return (x.lZa = !0, !1); - x.lZa = !z.Xfa(); - this.fb.Eda(void 0, p.IP.hM); - v.F2 = void 0; - v.ik = t; - this.HI(z, v); - v.KS(); - this.fb.RQ(); + return (x.iZa = !0, !1); + x.iZa = !z.Rfa(); + this.fb.yda(void 0, p.IP.jM); + v.G2 = void 0; + v.ik = u; + this.LI(z, v); + v.JS(); + this.fb.TQ(); return !0; }; - u.prototype.aDb = function (t, w) { + t.prototype.dDb = function (u, w) { var v, x, y, z; v = this; - z = t.P; - w && !t.ik && (t.ik = z.mS, t.KC(!0, this.fb.T, !0)); - t.children = Object.create(null); - c.Te(z.Xk, function (B, A) { - t.ik && A !== t.ik || (x = v.Lg[A], y = v.Dfb(x, t), t.children[A] = y); + z = u.P; + w && !u.ik && (u.ik = z.lS, u.LC(!0, this.fb.T, !0)); + u.children = Object.create(null); + c.Ue(z.Xk, function (A, B) { + u.ik && B !== u.ik || (x = v.Jg[B], y = v.Efb(x, u), u.children[B] = y); }); - t.ik && (w = t.children[t.ik]) && this.HI(w, t); - t.F2 = !0; + u.ik && (w = u.children[u.ik]) && this.LI(w, u); + u.G2 = !0; }; - u.prototype.yVb = function () { - var t; - t = 0; - c.Te(this.Ah, function (w) { + t.prototype.AVb = function () { + var u; + u = 0; + c.Ue(this.yh, function (w) { d.cf.forEach(function (v) { - w.Vb(v) && (v = w.Ed(v), t += v.Na.Uo); + w.Yb(v) && (v = w.Dd(v), u += v.Na.Vo); }); }); - return t; + return u; }; - u.prototype.DUb = function (t, w) { + t.prototype.FUb = function (u, w) { var v, x, y; v = this; - x = this.igb(t, w); + x = this.jgb(u, w); if (x) { - if (x !== this.Kd.P) { - this.BPa(); - y = this.c_(x, this.Kd, t); - y.Tf = void 0; - y.Xra(void 0, void 0, !0); - this.Heb(this.Kd); - this.HI(y, this.Kd); + if (x !== this.Hd.P) { + this.APa(); + y = this.f_(x, this.Hd, u); + y.Uf = void 0; + y.Qra(void 0, void 0, !0); + this.Ieb(this.Hd); + this.LI(y, this.Hd); } else - this.BPa(!0).forEach(function (z) { - z.zf(); - v.Hqa(z); - v.oj.remove(z); + this.APa(!0).forEach(function (z) { + z.Bf(); + v.Bqa(z); + v.lj.remove(z); }); - x === this.Mh.P && (this.Mh.dw.shift(), y && (y.dw = this.Mh.dw, y.ik = this.Mh.ik)); - this.Ch.I_(x, this.Kd.Ke); - this.Kd.F2 = void 0; + x === this.Lh.P && (this.Lh.hw.shift(), y && (y.hw = this.Lh.hw, y.ik = this.Lh.ik)); + this.Bh.L_(x, this.Hd.Me); + this.Hd.G2 = void 0; } else - this.Eb("findSegment no segment for manifestIndex:", w); + this.Gb("findSegment no segment for manifestIndex:", w); }; - u.prototype.QXa = function (t, w) { + t.prototype.OXa = function (u, w) { var v; - v = t.P; - w || (w = v.mS); - t.ik || (t.ik = w, t.KC(!0, this.fb.T, !0)); - (w = t.children[t.ik]) && this.HI(w, t); + v = u.P; + w || (w = v.lS); + u.ik || (u.ik = w, u.LC(!0, this.fb.T, !0)); + (w = u.children[u.ik]) && this.LI(w, u); }; - u.prototype.X2a = function (t, w) { - if (this.Kd !== t) { + t.prototype.X2a = function (u, w) { + if (this.Hd !== u) { if (w) - for (w = this.Kd; w && w !== t; ) { + for (w = this.Hd; w && w !== u; ) { w.active = !1; - this.oj.remove(w); - w = w.Tf; + this.lj.remove(w); + w = w.Uf; } - this.Kd = t; + this.Hd = u; } }; - u.prototype.Br = function (t, w) { + t.prototype.Er = function (u, w) { var v, x, y, z, - B; + A; v = this; - if (this.zy) { + if (this.Cy) { x = this.I; - y = this.Mh; + y = this.Lh; z = y.P; - B = h.iRb(z.id); - !y.ik && !z.Pt && y.pc - w <= x.jC && (this.Eb(B + "updatePts making fork decision at playerPts:", t, "contentPts:", w), this.QXa(y)); + A = h.mRb(z.id); + !y.ik && !z.Vt && y.uc - w <= x.lC && (this.Gb(A + "updatePts making fork decision at playerPts:", u, "contentPts:", w), this.OXa(y)); } - d.cf.forEach(function (A) { - v.Kd.Vb(A) && v.rg[A].Br(); + d.cf.forEach(function (B) { + v.Hd.Yb(B) && v.rg[B].Er(); }); }; - u.prototype.$Jb = function (t, w) { + t.prototype.bKb = function (u, w) { var v, x; - if (this.zy) { - v = this.xQ; - if (!(this.I.vDb && t && this.wda && t.Z === this.wda || (t = t.Na.ub, v && t.P.id === v.P.id))) { - x = null === v || void 0 === v ? void 0 : v.Ed(1); + if (this.Cy) { + v = this.yQ; + if (!(this.I.zDb && u && this.qda && u.X === this.qda || (u = u.Na.yb, v && u.P.id === v.P.id))) { + x = null === v || void 0 === v ? void 0 : v.Dd(1); x = null === x || void 0 === x ? void 0 : x.nf; - this.wda = null === x || void 0 === x ? void 0 : x.Z; - this.xQ = t; - this.dfb(v); - v = v && v.jpb(t); - this.Ch.Qhb(t.P, w, v); + this.qda = null === x || void 0 === x ? void 0 : x.X; + this.yQ = u; + this.efb(v); + v = v && v.kpb(u); + this.Bh.Rhb(u.P, w, v); } } }; - u.prototype.R5 = function (t, w, v) { - w.iM || (w.Z = this.OTa(t, w.Z, !0), v || (w.Aa = this.OTa(t, w.Aa, !1)), w.iM = !0, !1); + t.prototype.R5 = function (u, w, v) { + w.kM || (w.X = this.PTa(u, w.X, !0), v || (w.Ca = this.PTa(u, w.Ca, !1)), w.kM = !0, !1); }; - u.prototype.RN = function (t, w) { + t.prototype.SN = function (u, w) { var v; - v = this.Lg[t]; - v ? c.Te(v.Xk, function (x, y) { + v = this.Jg[u]; + v ? c.Ue(v.Xk, function (x, y) { x.weight = w[y] || 0; - }) : this.Eb("updateChoiceMapEntry, unknown segment:", t); + }) : this.Gb("updateChoiceMapEntry, unknown segment:", u); }; - u.prototype.OTa = function (t, w, v) { - t = v ? t.IRa(w) : t.TS(w); - if (!t.length) + t.prototype.PTa = function (u, w, v) { + u = v ? u.HRa(w) : u.SS(w); + if (!u.length) return w; - w = t[1]; - return v ? w.Z : w.Aa; + w = u[1]; + return v ? w.X : w.Ca; }; - u.prototype.vJa = function (t, w, v) { + t.prototype.tJa = function (u, w, v) { var x; - x = w ? v.pc : v.Pd; - return (w ? v.p7 : v.Fpa) <= t && t < x; + x = w ? v.uc : v.Nd; + return (w ? v.m7 : v.Apa) <= u && u < x; }; - u.prototype.SIa = function (t, w, v) { - var B; - for (var x = this.fb, y = this.Kd; y; ) { - if ((!c.xa(v) || x.Sla(v, y.N.Db)) && this.vJa(t, w, y)) + t.prototype.QIa = function (u, w, v) { + var A; + for (var x = this.fb, y = this.Hd; y; ) { + if ((!c.ya(v) || x.Nla(v, y.N.Fb)) && this.tJa(u, w, y)) return y; - y = y.Tf; + y = y.Uf; } if (w) { - y = Object.keys(this.Kd.children); + y = Object.keys(this.Hd.children); for (var z = 0; z < y.length; z++) { - B = this.Kd.children[y[z]]; - if ((!c.xa(v) || x.Sla(v, B.N.Db)) && this.vJa(t, w, B)) - return B; + A = this.Hd.children[y[z]]; + if ((!c.ya(v) || x.Nla(v, A.N.Fb)) && this.tJa(u, w, A)) + return A; } } }; - u.prototype.Dfb = function (t, w) { + t.prototype.Efb = function (u, w) { var v, x; - v = this.c_(t, w); - x = v.Xra(w, void 0, this.I.zqa); + v = this.f_(u, w); + x = v.Qra(w, void 0, this.I.tqa); d.cf.forEach(function (y) { var z, - B, - A; - if (v.Vb(y)) { - z = v.Ed(y); - B = w.Ed(y); - A = x[y]; - 1 === y && v.Hz(n.S.rb(B.oc + w.Ke - A)); - z.UG(A); + A, + B; + if (v.Yb(y)) { + z = v.Dd(y); + A = w.Dd(y); + B = x[y]; + 1 === y && v.Kz(n.S.rb(A.tc + w.Me - B)); + z.bH(B); } }); - this.Ch.I_(t, v.Ke); + this.Bh.L_(u, v.Me); return v; }; - u.prototype.Heb = function (t) { - for (var w = [t.P.id]; t.Tf; ) { - t = t.Tf; - w.unshift(t.P.id); + t.prototype.Ieb = function (u) { + for (var w = [u.P.id]; u.Uf; ) { + u = u.Uf; + w.unshift(u.P.id); } - this.Pba(t); + this.Jba(u); }; - u.prototype.Pba = function (t) { + t.prototype.Jba = function (u) { var w, v; w = this; - v = t.P; - c.Te(t.children, function (x) { - x && w.Pba(x); + v = u.P; + c.Ue(u.children, function (x) { + x && w.Jba(x); }); - this.oj.remove(t); - t.zf(); - this.Hqa(t); - this.Ch.mda(v); + this.lj.remove(u); + u.Bf(); + this.Bqa(u); + this.Bh.gda(v); }; - u.prototype.HI = function (t, w) { + t.prototype.LI = function (u, w) { var v, x, y, z; v = this; x = w.P; - w.N !== t.N && this.fb.HJa(t.N.Db); - t.active = !0; - this.oj.enqueue(t); - t.QJ(); - y = k.default.time.aa(); + w.N !== u.N && this.fb.FJa(u.N.Fb); + u.active = !0; + this.lj.enqueue(u); + u.TJ(); + y = k.default.time.ba(); z = {}; - c.Te(w.children, function (B) { - var A, + c.Ue(w.children, function (A) { + var B, C; - if (B) { - if (B.Wd) { - A = B.Ed(0); - C = B.Ed(1); - B.Wd.TJ = [A ? A.cp.V : 0, C ? C.cp.V : 0]; - B.Wd.Fub = y - B.Wd.Y3; - B.Wd.Y3 = void 0; - z[B.P.id] = B.Wd; + if (A) { + if (A.Vd) { + B = A.Dd(0); + C = A.Dd(1); + A.Vd.XJ = [B ? B.ep.V : 0, C ? C.ep.V : 0]; + A.Vd.Jub = y - A.Vd.Z3; + A.Vd.Z3 = void 0; + z[A.P.id] = A.Vd; } - B.P.id !== t.P.id && v.Pba(B); + A.P.id !== u.P.id && v.Jba(A); } }); w.children = Object.create(null); - w.children[t.P.id] = t; - w.TI = void 0; - this.X2a(t); - this.Ch.Ohb(t.P, z); - 1 < Object.keys(x.Xk).length && t.Xfa(); + w.children[u.P.id] = u; + w.XI = void 0; + this.X2a(u); + this.Bh.Phb(u.P, z); + 1 < Object.keys(x.Xk).length && u.Rfa(); }; - u.prototype.dfb = function (t) { + t.prototype.efb = function (u) { var w, v; - if (t) { - w = k.default.time.aa(); - v = t.dw[0]; - v && void 0 === v.O1 ? v.O1 = w - v.Np : v || (this.Eb("missing metrics for branch:", t.P.id), v = { - L7: t.P.id, - Be: !0, - O1: 0, - Wd: {} - }, t.dw.unshift(v)); + if (u) { + w = k.default.time.ba(); + v = u.hw[0]; + v && void 0 === v.Q1 ? v.Q1 = w - v.Qp : v || (this.Gb("missing metrics for branch:", u.P.id), v = { + H7: u.P.id, + De: !0, + Q1: 0, + Vd: {} + }, u.hw.unshift(v)); void 0 === v.startTime && (v.startTime = w); } }; - u.prototype.igb = function (t, w) { + t.prototype.jgb = function (u, w) { var x, y, z, - B; - m.assert(0 <= t); - for (var v in this.Lg) { - x = this.Lg[v]; - if (this.fb.Sla(x.N.Db, w)) { - if (x.Z <= t && (Infinity === x.Aa || void 0 === x.Aa || t < x.Aa)) + A; + m.assert(0 <= u); + for (var v in this.Jg) { + x = this.Jg[v]; + if (this.fb.Nla(x.N.Fb, w)) { + if (x.X <= u && (Infinity === x.Ca || void 0 === x.Ca || u < x.Ca)) return x; - y = Math.min(Math.abs(t - x.Z), Math.abs(t - x.Aa)); - if (c.ga(z) || y < z) - (z = y, B = x); + y = Math.min(Math.abs(u - x.X), Math.abs(u - x.Ca)); + if (c.fa(z) || y < z) + (z = y, A = x); } } - return B; + return A; }; - u.prototype.Sw = function (t, w, v, x, y, z, B, A, C) { - w = new l.bGa(t, w, v, x, y, z, B, A, void 0, C); - return this.Lg[t] = w; + t.prototype.Xw = function (u, w, v, x, y, z, A, B, C) { + w = new l.YFa(u, w, v, x, y, z, A, B, void 0, C); + return this.Jg[u] = w; }; - u.prototype.lib = function (t, w, v) { + t.prototype.mib = function (u, w, v) { var x, y, z; x = this; - this.sn = void 0; - this.l0 = []; + this.rn = void 0; + this.n0 = []; y = null; z = null; - c.Te(w.segments, function (B, A) { + c.Ue(w.segments, function (A, B) { var C, E, - F, + G, D, - G; - C = B.startTimeMs; - E = B.endTimeMs; - F = {}; - c.Te(B.next, function (I, J) { - F[J] = { - weight: I.weight || 0, - LVb: I.transitionHint || B.transitionHint, - r4b: "number" === typeof I.earliestSkipRequestOffset ? I.earliestSkipRequestOffset : B.earliestSkipRequestOffset + F; + C = A.startTimeMs; + E = A.endTimeMs; + G = {}; + c.Ue(A.next, function (J, K) { + G[K] = { + weight: J.weight || 0, + NVb: J.transitionHint || A.transitionHint, + w4b: "number" === typeof J.earliestSkipRequestOffset ? J.earliestSkipRequestOffset : A.earliestSkipRequestOffset }; }); - D = B.defaultNext; - c.ga(D) && (D = Object.keys(F)[0]); - G = c.ga(D); - D = x.Sw(A, t, C, E, D, F, G, B.exitZones, B.transitionHint); - C <= v && (v < E || c.ga(E)) ? x.sn = D : C > v && (!y || C < z) && (y = A, z = C); - G && x.l0.push(D); + D = A.defaultNext; + c.fa(D) && (D = Object.keys(G)[0]); + F = c.fa(D); + D = x.Xw(B, u, C, E, D, G, F, A.exitZones, A.transitionHint); + C <= v && (v < E || c.fa(E)) ? x.rn = D : C > v && (!y || C < z) && (y = B, z = C); + F && x.n0.push(D); }); - this.sn || (this.sn = y ? this.Lg[y] : this.Lg[w.initialSegment]); + this.rn || (this.rn = y ? this.Jg[y] : this.Jg[w.initialSegment]); }; - u.prototype.c_ = function (t, w, v) { + t.prototype.f_ = function (u, w, v) { var x, y, z, - B; - x = t.N; - y = this.fb.Pg(x.Db); - z = y.rv; - B = []; - [0, 1].forEach(function (A) { - x.Vb(A) && B.push(y.pp(A)); + A; + x = u.N; + y = this.fb.Og(x.Fb); + z = y.xv; + A = []; + [0, 1].forEach(function (B) { + x.Yb(B) && A.push(y.qp(B)); }); - t = new p.pAa(this.fb, this.I, this.Ch, this.H, this, this.l_, this.lKa, this.AJ, t, B, z, w, v ? n.S.rb(v) : void 0, this.hT, this.fb.rg, this.fb.Du); - this.Ieb(t); - this.Ah.push(t); - return t; + u = new p.nAa(this.fb, this.I, this.Bh, this.H, this, this.o_, this.jKa, this.CJ, u, A, z, w, v ? n.S.rb(v) : void 0, this.fT, this.fb.rg, this.fb.Iu); + this.Jeb(u); + this.yh.push(u); + return u; }; - u.prototype.Ieb = function (t) { + t.prototype.Jeb = function (u) { var v; function w(x) { v.fb.emit(x.type, x); } v = this; - t.addListener("locationSelected", w); - t.addListener("logdata", w); - t.addListener("serverSwitch", w); - t.addListener("streamSelected", w); - t.addListener("lastSegmentPts", w); - t.addListener("managerdebugevent", w); - t.addListener("requestCreated", function (x) { + u.addListener("locationSelected", w); + u.addListener("logdata", w); + u.addListener("serverSwitch", w); + u.addListener("streamSelected", w); + u.addListener("lastSegmentPts", w); + u.addListener("managerdebugevent", w); + u.addListener("requestCreated", function (x) { x = x.request; - v.fb.Ida(x.mediaType, x.Z); + v.fb.Cda(x.mediaType, x.X); }); }; - u.prototype.lgb = function (t) { - for (var w = [t]; t.Tf; ) { - t = t.Tf; - w.push(t); + t.prototype.mgb = function (u) { + for (var w = [u]; u.Uf; ) { + u = u.Uf; + w.push(u); } return w; }; - return u; + return t; })(); - b.D9 = a; - }, function (q, b, a) { + b.y9 = a; + }, function (r, b, a) { var l, d, g; function c(h, m, n) { - this.xC = m; + this.zC = m; this.Tk = n; - this.vz = this.WT = this.jpa = this.Q_a = this.P_a = this.kM = this.Qd = this.QMb = this.Tk = this.am = this.oc = this.Z = this.Jz = this.ro = this.Y = this.YVa = this.zR = void 0; + this.yz = this.UT = this.epa = this.O_a = this.N_a = this.mM = this.Od = this.TMb = this.Tk = this.Zl = this.tc = this.X = this.Mz = this.so = this.Y = this.WVa = this.AR = void 0; } function f(h, m, n) { - this.Aa = m; - this.wWa = n; - this.jMa = this.L6a = this.Zr = this.ro = this.WF = this.Yu = void 0; + this.Ca = m; + this.uWa = n; + this.iMa = this.O6a = this.fs = this.so = this.bG = this.cv = void 0; } - function k(h, m, n, r, p, u, t) { + function k(h, m, n, q, p, t, u) { var w; w = new c(n, m, h.Tk); h.forEach(function (v) { @@ -48511,351 +48623,351 @@ a000.D9b = function () { y; x = v.buffer; y = x.Y; - v.mediaType === l.Za.Tb ? w.zR = y.length ? y[0].bitrate : void 0 : v.mediaType === l.Za.Hb && (w.YVa = y.length ? y[0].bitrate : void 0, w.Y = y, w.ro = x.Hl - x.qc, w.Jz = x.Tj, w.Z = x.qc, w.oc = x.oc, w.am = v.kf, w.Tk = v.Tk, w.QMb = m - v.Tk, w.Qd = v.Qd, w.kM = y.filter(function (z) { - return w.Z <= z.Mv; + v.mediaType === l.Ra.Ob ? w.AR = y.length ? y[0].bitrate : void 0 : v.mediaType === l.Ra.Bb && (w.WVa = y.length ? y[0].bitrate : void 0, w.Y = y, w.so = x.Gl - x.vc, w.Mz = x.Tj, w.X = x.vc, w.tc = x.tc, w.Zl = v.kf, w.Tk = v.Tk, w.TMb = m - v.Tk, w.Od = v.Od, w.mM = y.filter(function (z) { + return w.X <= z.Rv; }).length); }); - this.$i = w; - this.Bs = void 0; - this.GPa = r; - this.Rv = p; - this.fNa = u; - this.vqa = this.Q6 = this.h_a = this.Bz = this.MJ = this.FRa = this.fw = this.Qd = this.Bs = void 0; - this.$kb = t; - this.Jpa = {}; + this.Yi = w; + this.Fs = void 0; + this.FPa = q; + this.Wv = p; + this.fNa = t; + this.pqa = this.N6 = this.f_a = this.Ez = this.PJ = this.ERa = this.jw = this.Od = this.Fs = void 0; + this.alb = u; + this.Epa = {}; } l = a(27).default; d = a(39).assert; - g = a(14).ja; + g = a(14).ka; c.prototype.constructor = c; f.prototype.constructor = f; k.prototype.constructor = k; - k.prototype.Ds = function (h, m) { + k.prototype.Hs = function (h, m) { var n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, - G, - I, + F, J, + K, H, - M, - O; - n = this.$i; - r = []; - p = h[l.Za.Hb]; - u = h[l.Za.Tb]; - if (void 0 === p || void 0 === u) + L, + Q; + n = this.Yi; + q = []; + p = h[l.Ra.Bb]; + t = h[l.Ra.Ob]; + if (void 0 === p || void 0 === t) return !1; - t = p.buffer; - w = u.buffer; - v = n.Qd.filter(function (L) { - return L.b3(); + u = p.buffer; + w = t.buffer; + v = n.Od.filter(function (I) { + return I.d3(); }); - if (void 0 === t || void 0 === w || void 0 === v || 0 === v.length) + if (void 0 === u || void 0 === w || void 0 === v || 0 === v.length) return !1; - x = new f(m ? g[m] : "maxbitratechanged", p.qc, m === g.ef); + x = new f(m ? g[m] : "maxbitratechanged", p.vc, m === g.ef); y = 0; z = 0; - B = 0; A = 0; - C = n.Z; - h = h[l.Za.Hb].qc; - for (var E = n.Y, F = n.kM, D = 0; D < F; D++) { - G = E[D]; - I = G.offset; - J = G.offset + G.ca - 1; - H = G.Zx; - M = G.ez; - O = M + H; - G && M <= h && O > C && (H = G.Zx, M = Math.min(H, Math.min(h, O) - Math.max(M, C) + 1), A += M, y += M / H * (J - I + 1), z += G.bitrate * M, B += G.zb * M); - } - n.P_a = y; - n.Q_a = A; - n.jpa = 0 < A ? z / A : 0; - n.lMb = 0 < A ? B / A : 0; - n.WT || (n.WT = 0, v.some(function (L, P) { - if (L.bitrate === n.YVa) - return (n.WT = P, !0); + B = 0; + C = n.X; + h = h[l.Ra.Bb].vc; + for (var E = n.Y, G = n.mM, D = 0; D < G; D++) { + F = E[D]; + J = F.offset; + K = F.offset + F.da - 1; + H = F.dy; + L = F.hz; + Q = L + H; + F && L <= h && Q > C && (H = F.dy, L = Math.min(H, Math.min(h, Q) - Math.max(L, C) + 1), B += L, y += L / H * (K - J + 1), z += F.bitrate * L, A += F.xb * L); + } + n.N_a = y; + n.O_a = B; + n.epa = 0 < B ? z / B : 0; + n.oMb = 0 < B ? A / B : 0; + n.UT || (n.UT = 0, v.some(function (I, O) { + if (I.bitrate === n.WVa) + return (n.UT = O, !0); })); - v.forEach(function (L) { - var P, - K; - L = L.b3(); - P = []; - n.vz || (n.vz = L.Gm(n.Z, void 0, !0)); - x.Yu || (x.Yu = L.Gm(x.Aa, void 0, !0), x.WF = L.length - 1); - n.am !== n.vz + n.kM && (n.am = n.vz + n.kM); - F = Math.min(x.WF, x.Yu + 1); - for (var R = n.vz; R <= F; R++) { - K = L.get(R); - P[R] = K; - } - r.push(P); - }); - m === g.ef && (x.ro = t.Hl - t.qc, x.Zr = w.Hl - w.qc, x.L6a = p.i1a, x.jMa = u.i1a); - this.Bs = x; - this.Qd = v; - this.fw = r; - return this.FRa = !0; - }; - k.prototype.my = function () { + v.forEach(function (I) { + var O, + M; + I = I.d3(); + O = []; + n.yz || (n.yz = I.Em(n.X, void 0, !0)); + x.cv || (x.cv = I.Em(x.Ca, void 0, !0), x.bG = I.length - 1); + n.Zl !== n.yz + n.mM && (n.Zl = n.yz + n.mM); + G = Math.min(x.bG, x.cv + 1); + for (var N = n.yz; N <= G; N++) { + M = I.get(N); + O[N] = M; + } + q.push(O); + }); + m === g.ef && (x.so = u.Gl - u.vc, x.fs = w.Gl - w.vc, x.O6a = p.i1a, x.iMa = t.i1a); + this.Fs = x; + this.Od = v; + this.jw = q; + return this.ERa = !0; + }; + k.prototype.qy = function () { var h, m, n, - r, + q, p, - u, t, + u, w, v, - B, A, + B, C, E, - F; - if (this.Gj) - return this.Gj; - h = this.Bz; - m = this.$i; - n = this.Bs; - r = this.Qd; - p = this.h_a; - u = this.$kb; + G; + if (this.Fj) + return this.Fj; + h = this.Ez; + m = this.Yi; + n = this.Fs; + q = this.Od; + p = this.f_a; + t = this.alb; d(void 0 !== h, "throughput object must be defined before retrieving the logdata from PlaySegment"); if (h.trace && 0 === h.trace.length || void 0 === h.timestamp) { - if (n.wWa) - (t = !1, w = !0); + if (n.uWa) + (u = !1, w = !0); else - n.Yu - m.vz + 1 <= m.kM ? w = t = !0 : (t = !0, w = !1); + n.cv - m.yz + 1 <= m.mM ? w = u = !0 : (u = !0, w = !1); v = !0; } if (p) - for (var x = p.j4, y = p.HK, z = 0; z < u.length; z++) { - B = u[z]; - (h = p[B]) && h.qoa && (w = !0); + for (var x = p.k4, y = p.LK, z = 0; z < t.length; z++) { + A = t[z]; + (h = p[A]) && h.loa && (w = !0); } n = { bst: m.Tk, - pst: m.xC, - s: m.vz, - e: n.Yu, - prebuf: m.kM, - brsi: m.am, - pbdlbytes: m.P_a, - pbdur: m.Q_a, - pbtwbr: m.jpa, - pbvmaf: m.lMb - }; - this.Rv && (n.fragmentsPrebuffered = m.Y); + pst: m.zC, + s: m.yz, + e: n.cv, + prebuf: m.mM, + brsi: m.Zl, + pbdlbytes: m.N_a, + pbdur: m.O_a, + pbtwbr: m.epa, + pbvmaf: m.oMb + }; + this.Wv && (n.fragmentsPrebuffered = m.Y); v && (n.nt = v); w && (n.nd = w); x && (n.invalid = x); y && (n.exception = y); - this.vqa && (n.rr = this.vqa); - this.Q6 && (n.ra = this.Q6); - if (!w && !x && !y && (this.GPa || this.Rv)) { - n.bitrate = r.map(function (G) { - return G.bitrate; - }); - h = this.Bz; - B = h.trace; - A = []; + this.pqa && (n.rr = this.pqa); + this.N6 && (n.ra = this.N6); + if (!w && !x && !y && (this.FPa || this.Wv)) { + n.bitrate = q.map(function (F) { + return F.bitrate; + }); + h = this.Ez; + A = h.trace; + B = []; E = 0; - B.forEach(function (G) { - G = Number(G).toFixed(0); - A.push(G - E); - E = G; + A.forEach(function (F) { + F = Number(F).toFixed(0); + B.push(F - E); + E = F; }); n.tput = { ts: h.timestamp, - trace: A, - bkms: h.Ax + trace: B, + bkms: h.Fx }; } if (w || v || x || y) - n.feasible = t; + n.feasible = u; else - for ((n.sols = {}, n.elapsed = p.Vub, z = 0); z < u.length; z++) { - B = u[z]; - h = p[B]; + for ((n.sols = {}, n.elapsed = p.Zub, z = 0); z < t.length; z++) { + A = t[z]; + h = p[A]; w = {}; - if (h && h.Up) { - w.algelapsed = h.Zkb; - w.maxHeapTotal = h.Ny; - w.f = h && h.SB || !1; - w.dltwbr = h.hQa; - w.dlvmaf = h.kQa; - w.dlvdur = h.jQa; - w.dlvbytes = h.iQa; - w.dlabytes = h.gQa; - if (this.GPa || this.Rv) { - C = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.ie; + if (h && h.Xp) { + w.algelapsed = h.$kb; + w.maxHeapTotal = h.Qy; + w.f = h && h.UB || !1; + w.dltwbr = h.eQa; + w.dlvmaf = h.hQa; + w.dlvdur = h.gQa; + w.dlvbytes = h.fQa; + w.dlabytes = h.dQa; + if (this.FPa || this.Wv) { + C = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.he; }); E = 0; - F = []; - C.forEach(function (G) { - F.push(G - E); - E = G; + G = []; + C.forEach(function (F) { + G.push(F - E); + E = F; }); - w.strmsel = F; + w.strmsel = G; } - if (this.Rv) { + if (this.Wv) { v = []; - t = this.$i.am; + u = this.Yi.Zl; for (var D in C) { x = C[D]; - y = this.fw[x][t]; - y.og = x; + y = this.jw[x][u]; + y.ng = x; v.push(y); - t++; + u++; } w.fragsel = v; - w.streamList = this.Qd; - w.pause_dlnd_sec = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.ipa; + w.streamList = this.Od; + w.pause_dlnd_sec = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.dpa; }); - w.buffer_sec = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.xfa; + w.buffer_sec = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.qfa; }); - w.buffer_kb = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.wfa; + w.buffer_kb = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.pfa; }); - w.buffer_frags = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.jNa; + w.buffer_frags = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.jNa; }); - w.elapsed_secs = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.CQa; + w.elapsed_secs = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.AQa; }); - w.throughput = h.Up.filter(function (G) { - return G; - }).map(function (G) { - return G.Oa; + w.throughput = h.Xp.filter(function (F) { + return F; + }).map(function (F) { + return F.Oa; }); } } - n.sols[B] = w; + n.sols[A] = w; } - return this.Gj = n; + return this.Fj = n; }; - k.prototype.Xwb = function (h) { - var r; - if (void 0 !== this.Jpa[h]) - return this.Jpa[h]; - for (var m = this.fw[this.$i.WT], n = 0; n < m.length; n++) { - r = m[n]; - if (r && r.Z <= h && r.Z + r.duration > h) - return this.Jpa[h] = r; + k.prototype.cxb = function (h) { + var q; + if (void 0 !== this.Epa[h]) + return this.Epa[h]; + for (var m = this.jw[this.Yi.UT], n = 0; n < m.length; n++) { + q = m[n]; + if (q && q.X <= h && q.X + q.duration > h) + return this.Epa[h] = q; } throw Error("findPlayingFragment: missing"); }; - q.exports = k; - }, function (q, b, a) { + r.exports = k; + }, function (r, b, a) { var k; function c(l, d, g) { - this.ca = l; - this.$l = d; + this.da = l; + this.Yl = d; this.quality = g; } function f(l, d) { - this.qna = d; - void 0 === d && (this.qna = !0); + this.kna = d; + void 0 === d && (this.kna = !0); this.gk = l; - this.Web(); + this.Xeb(); } k = a(6).assert; c.prototype.constructor = c; - c.prototype.ry = function () { - return 8 * this.ca / 1E3 / this.$l; + c.prototype.ty = function () { + return 8 * this.da / 1E3 / this.Yl; }; f.prototype.constructor = f; - f.prototype.Hq = function (l, d, g, h, m) { + f.prototype.zs = function (l, d, g, h, m) { void 0 === d && (d = 0); - void 0 === g && (g = l.lL()); + void 0 === g && (g = l.oL()); void 0 === h && (h = 0); void 0 === m && (m = l.gk.length); - for (var n = [], r, p = h; p < m; p++) { + for (var n = [], q, p = h; p < m; p++) { h = []; - for (var u = d; u < g; u++) { - r = l.gk[p][u]; - h.push(r); + for (var t = d; t < g; t++) { + q = l.gk[p][t]; + h.push(q); } n.push(h); } - return new f(n, l.qna); + return new f(n, l.kna); }; - f.prototype.Web = function () { + f.prototype.Xeb = function () { var l, d; l = this.gk[0].length; for (d in this.gk.slice(1)) { k(this.gk[d].length === l, "expect this.chunkss[chunksIndex].length === n but got " + this.gk[d].length + " and " + l); } - this.qna && this.Xeb(); - this.Yeb(); + this.kna && this.Yeb(); + this.Zeb(); }; - f.prototype.lL = function () { + f.prototype.oL = function () { return this.gk[0].length; }; - f.prototype.Xeb = function () { + f.prototype.Yeb = function () { for (var l = 0; l < this.gk.length - 1; l++) { - for (var d = 0; d < this.lL(); d++) { - k(this.gk[l][d].ca <= this.gk[l + 1][d].ca, "Chunk size for epoch " + d + " is not monotonic"); + for (var d = 0; d < this.oL(); d++) { + k(this.gk[l][d].da <= this.gk[l + 1][d].da, "Chunk size for epoch " + d + " is not monotonic"); } } }; - f.prototype.Yeb = function () { + f.prototype.Zeb = function () { for (var l = 0; l < this.gk.length - 1; l++) { - for (var d = 0; d < this.lL(); d++) { - k(1E-8 > Math.abs(this.gk[l][d].$l - this.gk[l + 1][d].$l), "Chunk duration for epoch " + d + " is not consistent"); + for (var d = 0; d < this.oL(); d++) { + k(1E-8 > Math.abs(this.gk[l][d].Yl - this.gk[l + 1][d].Yl), "Chunk duration for epoch " + d + " is not consistent"); } } }; - f.prototype.bCb = function () { + f.prototype.dCb = function () { var l; l = []; this.gk[0].forEach(function (d) { - l.push(d.$l); + l.push(d.Yl); }); return l; }; - q.exports = { - X8a: c, - Y8a: f + r.exports = { + Z8a: c, + $8a: f }; - }, function (q, b, a) { + }, function (r, b, a) { var l; function c() {} function f(d, g, h) { void 0 === h && (h = !1); l(d.length === g.length, "bitrates_kbps and durations_sec must be of the same length."); l(1E-8 < k(d), "bitrate zero, won't be able to send anything."); - this.aB = d; - this.yQa = g; + this.cB = d; + this.wQa = g; this.repeat = h; - this.Il = this.In = 0; + this.Hl = this.Jn = 0; } function k(d) { return d.reduce(function (g, h) { @@ -48865,188 +48977,188 @@ a000.D9b = function () { l = a(6).assert; c.prototype = Error(); f.prototype.constructor = f; - f.prototype.Hq = function () { + f.prototype.zs = function () { var d; - d = new f(this.aB, this.yQa, this.repeat); - d.In = this.In; - d.Il = this.Il; + d = new f(this.cB, this.wQa, this.repeat); + d.Jn = this.Jn; + d.Hl = this.Hl; return d; }; - f.prototype.Lka = function () { - return this.aB[this.In % this.aB.length]; + f.prototype.Hka = function () { + return this.cB[this.Jn % this.cB.length]; }; - f.prototype.EB = function () { - return this.yQa[this.In % this.aB.length]; + f.prototype.HB = function () { + return this.wQa[this.Jn % this.cB.length]; }; - f.prototype.Aub = function (d) { + f.prototype.Eub = function (d) { l(0 < d, "expect x_sec > 0.0"); - if (!(this.repeat || 0 <= this.In && this.In < this.aB.length)) + if (!(this.repeat || 0 <= this.Jn && this.Jn < this.cB.length)) throw new c(); - l(this.Il < this.EB(), "expect this.cur_pos_sec_in_bin < this.get_curr_duration_sec()"); + l(this.Hl < this.HB(), "expect this.cur_pos_sec_in_bin < this.get_curr_duration_sec()"); for (var g; ; ) { - g = this.EB() - this.Il; + g = this.HB() - this.Hl; g = d < g ? d : g; d -= g; - this.Il += g; - if (this.Il < this.EB()) + this.Hl += g; + if (this.Hl < this.HB()) break; - this.Il -= this.EB(); - this.In += 1; - if (!this.repeat && this.In >= this.aB.length) { + this.Hl -= this.HB(); + this.Jn += 1; + if (!this.repeat && this.Jn >= this.cB.length) { if (0 < d) throw new c(); break; } } }; - f.prototype.N_a = function (d) { - this.Aub(d); + f.prototype.L_a = function (d) { + this.Eub(d); }; - f.prototype.Bub = function (d) { + f.prototype.Fub = function (d) { l(0 < d, "expect y_kb > 0.0"); - if (!(this.repeat || 0 <= this.In && this.In < this.aB.length)) + if (!(this.repeat || 0 <= this.Jn && this.Jn < this.cB.length)) throw new c(); - l(this.Il < this.EB(), "expect this.cur_pos_sec_in_bin < this.get_curr_duration_sec()"); + l(this.Hl < this.HB(), "expect this.cur_pos_sec_in_bin < this.get_curr_duration_sec()"); for (var g, h = 0; ; ) { - g = this.EB() - this.Il; - g = d < g * this.Lka() ? d / this.Lka() : g; - d -= this.Lka() * g; + g = this.HB() - this.Hl; + g = d < g * this.Hka() ? d / this.Hka() : g; + d -= this.Hka() * g; h += g; - this.Il += g; - if (this.Il < this.EB()) + this.Hl += g; + if (this.Hl < this.HB()) return h; - this.Il -= this.EB(); - this.In += 1; - if (!this.repeat && this.In >= this.aB.length) { + this.Hl -= this.HB(); + this.Jn += 1; + if (!this.repeat && this.Jn >= this.cB.length) { if (0 < d) throw new c(); return h; } } }; - q.exports = { - jeb: f, - keb: c + r.exports = { + meb: f, + neb: c }; - }, function (q) { + }, function (r) { var h, m, n, - r, + q, p, - u; + t; function b() { throw Error("setTimeout has not been defined"); } function a() { throw Error("clearTimeout has not been defined"); } - function c(t) { + function c(u) { if (h === setTimeout) - return setTimeout(t, 0); + return setTimeout(u, 0); if ((h === b || !h) && setTimeout) - return (h = setTimeout, setTimeout(t, 0)); + return (h = setTimeout, setTimeout(u, 0)); try { - return h(t, 0); + return h(u, 0); } catch (w) { try { - return h.call(null, t, 0); + return h.call(null, u, 0); } catch (v) { - return h.call(this, t, 0); + return h.call(this, u, 0); } } } - function f(t) { + function f(u) { if (m === clearTimeout) - return clearTimeout(t); + return clearTimeout(u); if ((m === a || !m) && clearTimeout) - return (m = clearTimeout, clearTimeout(t)); + return (m = clearTimeout, clearTimeout(u)); try { - return m(t); + return m(u); } catch (w) { try { - return m.call(null, t); + return m.call(null, u); } catch (v) { - return m.call(this, t); + return m.call(this, u); } } } function k() { - r && p && (r = !1, p.length ? n = p.concat(n) : u = -1, n.length && l()); + q && p && (q = !1, p.length ? n = p.concat(n) : t = -1, n.length && l()); } function l() { - var t; - if (!r) { - t = c(k); - r = !0; + var u; + if (!q) { + u = c(k); + q = !0; for (var w = n.length; w; ) { p = n; - for (n = []; ++u < w; ) { - p && p[u].Sv(); + for (n = []; ++t < w; ) { + p && p[t].Xv(); } - u = -1; + t = -1; w = n.length; } p = null; - r = !1; - f(t); + q = !1; + f(u); } } - function d(t, w) { - this.Pxb = t; - this.ux = w; + function d(u, w) { + this.Vxb = u; + this.zx = w; } function g() {} - q = q.exports = {}; + r = r.exports = {}; h = "function" === typeof setTimeout ? setTimeout : b; m = "function" === typeof clearTimeout ? clearTimeout : a; n = []; - r = !1; - u = -1; - q.D6b = function (t) { + q = !1; + t = -1; + r.N6b = function (u) { var w; w = Array(arguments.length - 1); if (1 < arguments.length) for (var v = 1; v < arguments.length; v++) { w[v - 1] = arguments[v]; } - n.push(new d(t, w)); - 1 !== n.length || r || c(l); - }; - d.prototype.Sv = function () { - this.Pxb.apply(null, this.ux); - }; - q.title = "browser"; - q.C3b = !0; - q.v4b = {}; - q.r3b = []; - q.version = ""; - q.h8b = {}; - q.on = g; - q.addListener = g; - q.once = g; - q.mM = g; - q.removeListener = g; - q.removeAllListeners = g; - q.emit = g; - q.A0a = g; - q.INb = g; - q.listeners = function () { + n.push(new d(u, w)); + 1 !== n.length || q || c(l); + }; + d.prototype.Xv = function () { + this.Vxb.apply(null, this.zx); + }; + r.title = "browser"; + r.F3b = !0; + r.B4b = {}; + r.r3b = []; + r.version = ""; + r.A8b = {}; + r.on = g; + r.addListener = g; + r.once = g; + r.oM = g; + r.removeListener = g; + r.removeAllListeners = g; + r.emit = g; + r.A0a = g; + r.NNb = g; + r.listeners = function () { return []; }; - q.y3b = function () { + r.B3b = function () { throw Error("process.binding is not supported"); }; - q.Y3b = function () { + r.a4b = function () { return "/"; }; - q.M3b = function () { + r.P3b = function () { throw Error("process.chdir is not supported"); }; - q.$7b = function () { + r.s8b = function () { return 0; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -49056,10 +49168,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperties(b, { @@ -49067,990 +49179,990 @@ a000.D9b = function () { value: !0 } }); - b.Zdb = b.eaa = b.aeb = b.BGa = void 0; - q = a(2); - c = q.__importStar(a(10)); - f = q.__importDefault(a(4)); - k = q.__importDefault(a(39)).default.GL; - l = q.__importStar(a(9)).Ys; - d = q.__importDefault(a(420)); - g = a(402); - h = a(219); + b.beb = b.X$ = b.deb = b.xGa = void 0; + r = a(2); + c = r.__importStar(a(10)); + f = r.__importDefault(a(5)); + k = r.__importDefault(a(39)).default.IL; + l = r.__importStar(a(9)).Yq; + d = r.__importDefault(a(424)); + g = a(406); + h = a(220); m = a(14); n = a(30); - r = a(6); + q = a(6); p = a(95); - u = a(248); + t = a(249); a = (function () { - function x(y, z, B, A, C, E, F, D, G, I, J) { + function x(y, z, A, B, C, E, G, D, F, J, K) { var H; H = this; this.H = y; this.Yf = z; - this.I = B; - this.Vb = A; + this.I = A; + this.Yb = B; this.T = C; - this.mN = E; - this.Jb = F; - this.qb = D; - this.Mf = G; - this.P0 = I; - this.oE = J; - this.g0 = []; - this.Oda = []; - this.QJa = []; - this.mIa = void 0; - [0, 1].forEach(function (M) { - H.Vb(M) && (H.g0[M] = new v(H.H, M), H.Oda[M] = new t(M), H.QJa[M] = new w(M)); - }); - this.C6a = new p.RD(this.H); - this.Mz = p.aF(this.I, this.C6a); - this.bfa = p.$E(); - this.YD = void 0; + this.nN = E; + this.Lb = G; + this.ub = D; + this.Nf = F; + this.R0 = J; + this.rE = K; + this.i0 = []; + this.Ida = []; + this.OJa = []; + this.kIa = void 0; + [0, 1].forEach(function (L) { + H.Yb(L) && (H.i0[L] = new v(H.H, L), H.Ida[L] = new u(L), H.OJa[L] = new w(L)); + }); + this.F6a = new p.UD(this.H); + this.Pz = p.dF(this.I, this.F6a); + this.Vea = p.cF(); + this.aE = void 0; } Object.defineProperties(x.prototype, { rf: { get: function () { - return this.g0; + return this.i0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - wz: { + zz: { get: function () { - return this.Oda; + return this.Ida; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - yv: { + Ev: { get: function () { - return this.QJa; + return this.OJa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - wx: { + Bx: { get: function () { - return this.mIa; + return this.kIa; }, set: function (y) { - this.mIa = y; + this.kIa = y; }, enumerable: !1, configurable: !0 } }); - x.prototype.Qp = function (y, z) { - this.C6a.Qp(y, z); + x.prototype.Tp = function (y, z) { + this.F6a.Tp(y, z); }; - x.prototype.pna = function (y) { + x.prototype.jna = function (y) { var z, - B, A, + B, C, E, - F; + G; z = this.I; - B = y.mediaType; - A = f.default.Mn()[B]; - C = z.cXb ? 0 === B ? z.tR : z.oX : 1 === B ? z.tR : z.oX; + A = y.mediaType; + B = f.default.Nn()[A]; + C = z.eXb ? 0 === A ? z.uR : z.nX : 1 === A ? z.uR : z.nX; E = this.T.getState(); - F = this.T.xe(); - z = y.Na.ub; - B = this.P0.SXa(z, B); - A = { - Su: A, - Z: B.Zc, - qc: F, - oc: B.BM || F, - Hl: B.VR || F, - Tj: B.Tj, - jl: B.jl, - hSa: B.Y.length, + G = this.T.ye(); + z = y.Na.yb; + A = this.R0.QXa(z, A); + B = { + Xu: B, + X: A.Zc, + vc: G, + tc: A.DM || G, + Gl: A.WR || G, + Tj: A.Tj, + jl: A.jl, + gSa: A.Y.length, Y: [] }; C = { state: E, - UB: this.T.UB(), - kf: y.Zn, - buffer: A, - Nha: C, - FXa: !!this.mN.tU, - xK: !!this.mN.jr, - Uo: this.Jb && this.Jb.Uo, - R6: y.sBb, - playbackRate: this.T.up() + WB: this.T.WB(), + kf: y.ao, + buffer: B, + Hha: C, + DXa: !!this.nN.sU, + BK: !!this.nN.kr, + Vo: this.Lb && this.Lb.Vo, + O6: y.uBb, + playbackRate: this.T.vp() }; - void 0 === C.kf && (C.kf = y.Gia(A.oc)); - C.JR = z.JR; - A.Y = B.Y; - c.xa(A.Z) ? y.seeking && A.qc != A.Z && (A.qc = A.Z) : (A.Z = 0, A.oc = 0); - this.Yf.nob(C); + void 0 === C.kf && (C.kf = y.zia(B.tc)); + C.KR = z.KR; + B.Y = A.Y; + c.ya(B.X) ? y.seeking && B.vc != B.X && (B.vc = B.X) : (B.X = 0, B.tc = 0); + this.Yf.oob(C); this.Yf.Dkb(C); return C; }; - x.prototype.mob = function (y, z, B) { + x.prototype.nob = function (y, z, A) { var D, - G; - y = this.g0[y]; - for (var A = y.maxBitrate, C = "manifest", E = 0, F = z.length - 1; 0 <= F; F--) { - D = z[F]; - G = D.bitrate; + F; + y = this.i0[y]; + for (var B = y.maxBitrate, C = "manifest", E = 0, G = z.length - 1; 0 <= G; G--) { + D = z[G]; + F = D.bitrate; if (k(D)) { - E = Math.max(E, G); + E = Math.max(E, F); break; } else - this.I.T7 && !D.ev ? C = "bc" : D.kv ? D.JB && (C = "hf") : C = "av"; + this.I.P7 && !D.kv ? C = "bc" : D.rv ? D.LB && (C = "hf") : C = "av"; } - if (void 0 === A || E !== A) - (y.maxBitrate = E, this.qb.VJb(A, E, C, B)); + if (void 0 === B || E !== B) + (y.maxBitrate = E, this.ub.XJb(B, E, C, A)); }; - x.prototype.pBb = function (y) { - return this.vka(y).og; + x.prototype.rBb = function (y) { + return this.rka(y).ng; }; - x.prototype.vka = function (y) { + x.prototype.rka = function (y) { var z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, - Q; + Q, + I, + O, + N, + M, + P; z = this.I; - B = y.mediaType; - A = 1 == B; + A = y.mediaType; + B = 1 == A; C = 0; - E = this.g0[B]; - F = this.Oda[B]; - if (!E.kg) + E = this.i0[A]; + G = this.Ida[A]; + if (!E.jg) return { - og: void 0 + ng: void 0 }; - D = this.pna(y); - G = y.Cf; - I = G.Ws; - J = y.P4.N; - H = y.track.Qd; - if (!J.Pl.hX(J.da, H)) - return (y.$j("location selector did not find any urls"), { - og: void 0 + D = this.jna(y); + F = y.Ef; + J = F.dt; + K = y.P4.N; + H = y.track.Od; + if (!K.Pl.gX(K.$, H)) + return (y.ak("location selector did not find any urls"), { + ng: void 0 }); - M = u.x6(D.state); - O = A ? this.Mz : this.bfa; + L = t.w6(D.state); + Q = B ? this.Pz : this.Vea; try { - L = O.Dm(H, M); - } catch (N) { - this.H.error("StreamFilters: filterStreams: " + N); - L = [H[0]]; + I = Q.Bm(H, L); + } catch (R) { + this.H.error("StreamFilters: filterStreams: " + R); + I = [H[0]]; } - 0 === L.length && (this.H.error("StreamFilters: empty list"), L = [H[0]]); - if (this.oE.Nq && (y.vB.length !== L.length || 0 < n.ds(y.vB, L).length || 0 < n.ds(L, y.vB).length)) { + 0 === I.length && (this.H.error("StreamFilters: empty list"), I = [H[0]]); + if (this.rE.Oq && (y.vB.length !== I.length || 0 < n.hs(y.vB, I).length || 0 < n.hs(I, y.vB).length)) { try { - this.YD && this.Owb(); - } catch (N) { - this.qb.Pm("Hindsight: Error when handling maxbitrate chagned: " + N); + this.aE && this.Uwb(); + } catch (R) { + this.ub.Om("Hindsight: Error when handling maxbitrate chagned: " + R); } - y.vB = L; + y.vB = I; } - M = I ? I.og : E.Wia; + L = J ? J.ng : E.Pia; try { - if (I && (C = I.bitrate, I && !I.track.equals(G.track))) { - P = g.Jia(L, C) || 0; - R = L[P]; - if (I.bitrate !== R.bitrate || 1 === B) - D.state = m.ja.Ig; - I = R; - M = H.indexOf(R); - } - } catch (N) { - this.H.error("StreamFilters: track change: " + N); - } - if (!A && (C = z.IN, !(C && 0 < C.length) && M && H[M] && I && I.location === H[M].location)) + if (J && (C = J.bitrate, J && !J.track.equals(F.track))) { + O = g.Cia(I, C) || 0; + N = I[O]; + if (J.bitrate !== N.bitrate || 1 === A) + D.state = m.ka.Gg; + J = N; + L = H.indexOf(N); + } + } catch (R) { + this.H.error("StreamFilters: track change: " + R); + } + if (!B && (C = z.JN, !(C && 0 < C.length) && L && H[L] && J && J.location === H[L].location)) return { - og: M + ng: L }; try { - K = this.Yf.fL(B); - Q = y.xz.Hra(D, L, void 0, K, E.kg.config.Fv, J.jp); - if (!Q) - return (y.$j("stream selector did not find a stream"), { - og: void 0 + M = this.Yf.iL(A); + P = y.Az.Ara(D, I, void 0, M, E.jg.config.Lv, K.kp); + if (!P) + return (y.ak("stream selector did not find a stream"), { + ng: void 0 }); - } catch (N) { - this.H.error("StreamFilters: stream selector: " + N); - Q = { - ie: 0 + } catch (R) { + this.H.error("StreamFilters: stream selector: " + R); + P = { + he: 0 }; } - Q.ie = H.indexOf(L[Q.ie]); - this.mN.jr && this.mN.jr.Hkb(y.mediaType, Q, H); - A && this.mob(B, L, y.oc); - D = Q.ie; - I = H[D]; - L = I.bitrate; - D != M && (A && z.zK && this.Mf.eIa(y, L), A || this.Yf.nN(L)); - c.xa(E.Wia) || (E.Wia = D); - y.Se || (Q.Se ? (r.assert(void 0 !== Q.Q0), y.z7(Q.Q0), F.ls = Q.Q0) : (y.bC = Q.bC, y.GG = Q.GG, y.progress = Q.progress)); - this.Rw(); - if (A) - if (Q.Vx) - J.oN(Q.Vx); - else if (!J.C3() && !z.J3a) + P.he = H.indexOf(I[P.he]); + this.nN.kr && this.nN.kr.Hkb(y.mediaType, P, H); + B && this.nob(A, I, y.tc); + D = P.he; + J = H[D]; + I = J.bitrate; + D != L && (B && z.DK && this.Nf.cIa(y, I), B || this.Yf.oN(I)); + c.ya(E.Pia) || (E.Pia = D); + y.Te || (P.Te ? (q.assert(void 0 !== P.S0), y.v7(P.S0), G.ps = P.S0) : (y.dC = P.dC, y.NG = P.NG, y.progress = P.progress)); + this.Ww(); + if (B) + if (P.$x) + K.pN(P.$x); + else if (!K.D3() && !z.K3a) for (y = 0; y < H.length; ++y) { - if ((z = H[y], z.Vs && !J.pk(B, z.La))) { - J.oN([z.La]); + if ((z = H[y], z.$s && !K.pk(A, z.Ma))) { + K.pN([z.Ma]); break; } } - Q.JMa && this.qb.bKb(Q.JMa); + P.JMa && this.ub.dKb(P.JMa); return { - La: I.La, - og: D, - kt: Q.kt + Ma: J.Ma, + ng: D, + qt: P.qt }; }; - x.prototype.Rw = function () { + x.prototype.Ww = function () { var y, z, - B, A, + B, C, E; - B = this.rf[0]; - A = this.rf[1]; - C = this.wz[1]; - E = this.wz[0]; - B = this.P0.Cc.hob(null !== (y = null === A || void 0 === A ? void 0 : A.ut) && void 0 !== y ? y : 0, null !== (z = null === B || void 0 === B ? void 0 : B.ut) && void 0 !== z ? z : 0, this.wx, this.mN.DM); - B.ls && (this.mN.em && C ? C.ls = B.ls : E && (E.ls = B.ls)); - return B.Se; - }; - x.prototype.Dia = function (y, z) { - var B, - A, + A = this.rf[0]; + B = this.rf[1]; + C = this.zz[1]; + E = this.zz[0]; + A = this.R0.Ec.iob(null !== (y = null === B || void 0 === B ? void 0 : B.zt) && void 0 !== y ? y : 0, null !== (z = null === A || void 0 === A ? void 0 : A.zt) && void 0 !== z ? z : 0, this.Bx, this.nN.EM); + A.ps && (this.nN.cm && C ? C.ps = A.ps : E && (E.ps = A.ps)); + return A.Te; + }; + x.prototype.wia = function (y, z) { + var A, + B, C, E; - B = this; - if (this.YD) { - A = this.YD; - C = this.T.xe(); + A = this; + if (this.aE) { + B = this.aE; + C = this.T.ye(); E = []; - z && (C = z.Aa); - h.cf.forEach(function (F) { + z && (C = z.Ca); + h.cf.forEach(function (G) { var D, - G; - D = B.P0.Cc.Ed(F); + F; + D = A.R0.Ec.Dd(G); if (D) { - G = B.pna(D); - G.mediaType = F; - G.qc = C; - y === m.ja.ef && (G.i1a = D.Na.Gea(C)); - E[F] = G; + F = A.jna(D); + F.mediaType = G; + F.vc = C; + y === m.ka.ef && (F.i1a = D.Na.zea(C)); + E[G] = F; } }); - A.FRa || A.Ds(E, y) || this.ara(); - return A; + B.ERa || B.Hs(E, y) || this.Vqa(); + return B; } }; - x.prototype.Owb = function () { + x.prototype.Uwb = function () { var y, z; - y = this.YD; + y = this.aE; z = this.I; - y && (this.Dia(void 0), y && !y.MJ && this.Yf.hqa.pia(y)); - this.gPa(z); + y && (this.wia(void 0), y && !y.PJ && this.Yf.bqa.iia(y)); + this.fPa(z); }; - x.prototype.ara = function () { - this.YD = void 0; + x.prototype.Vqa = function () { + this.aE = void 0; }; - x.prototype.CWb = function (y) { + x.prototype.EWb = function (y) { var z, - B, - A; + A, + B; z = y.oldValue; y = y.newValue; - B = this.YD; - A = this.I; - y === m.ja.yc && z !== m.ja.yc ? (B && this.H.warn("override an existing play segment!"), this.gPa(A, z, !0)) : y !== m.ja.yc && z === m.ja.yc && B && (this.Dia(y), B && !B.MJ && this.Yf.hqa.pia(B), this.ara()); + A = this.aE; + B = this.I; + y === m.ka.Ac && z !== m.ka.Ac ? (A && this.H.warn("override an existing play segment!"), this.fPa(B, z, !0)) : y !== m.ka.Ac && z === m.ka.Ac && A && (this.wia(y), A && !A.PJ && this.Yf.bqa.iia(A), this.Vqa()); }; - x.prototype.gPa = function (y, z, B) { - var A, + x.prototype.fPa = function (y, z, A) { + var B, C, E; - A = this; + B = this; C = []; - h.cf.forEach(function (F) { + h.cf.forEach(function (G) { var D, - G, - I; - D = A.P0.Cc.Ed(F); + F, + J; + D = B.R0.Ec.Dd(G); if (D) { - G = A.pna(D); - if (B) { - I = A.rf[F]; - I.psa ? (G.Tk = I.psa, I.psa = void 0) : G.Tk = I.Tk; + F = B.jna(D); + if (A) { + J = B.rf[G]; + J.jsa ? (F.Tk = J.jsa, J.jsa = void 0) : F.Tk = J.Tk; } else - G.Tk = f.default.time.aa(); - G.Qd = D.vB; - G.mediaType = F; - C[F] = G; + F.Tk = f.default.time.ba(); + F.Od = D.vB; + F.mediaType = G; + C[G] = F; } }); - E = f.default.Mn(); + E = f.default.Nn(); E = { n3b: E[0], - A6a: E[1], - V5b: y.SL, - Py: y.Py + D6a: E[1], + d6b: y.UL, + Sy: y.Sy }; - this.YD = new d.default(C, f.default.time.aa(), z, this.oE.GS, y.Rv, E, y.K3); + this.aE = new d.default(C, f.default.time.ba(), z, this.rE.FS, y.Wv, E, y.L3); }; return x; })(); - b.BGa = a; - t = (function () { + b.xGa = a; + u = (function () { function x(y) { this.mediaType = y; - this.LR = this.dv = this.wy = this.ls = this.xy = void 0; + this.MR = this.jv = this.zy = this.ps = this.Ay = void 0; } - x.prototype.HWb = function (y, z, B) { - this.xy = y ? y : this.xy; - this.ls = this.ls; - this.wy = z ? z : this.wy; - this.dv = B ? B : this.dv; + x.prototype.JWb = function (y, z, A) { + this.Ay = y ? y : this.Ay; + this.ps = this.ps; + this.zy = z ? z : this.zy; + this.jv = A ? A : this.jv; }; return x; })(); - b.aeb = t; + b.deb = u; w = (function () { return function (x) { this.mediaType = x; - this.Dma = this.Ima = this.Fma = this.SF = void 0; + this.xma = this.Cma = this.zma = this.YF = void 0; }; })(); - b.eaa = w; + b.X$ = w; v = (function () { return function (x, y) { this.mediaType = y; this.H = l(f.default, x, "[" + y + "]"); - this.$j = this.H.error.bind(this.H); - this.Eb = this.H.warn.bind(this.H); - this.sm = this.H.trace.bind(this.H); + this.ak = this.H.error.bind(this.H); + this.Gb = this.H.warn.bind(this.H); + this.rm = this.H.trace.bind(this.H); this.cg = this.H.log.bind(this.H); this.H.debug.bind(this.H); - this.Wia = this.Tk = this.Cn = this.kg = void 0; - this.zV = this.ut = 0; + this.Pia = this.Tk = this.Bn = this.jg = void 0; + this.yV = this.zt = 0; this.ZN = !1; this.maxBitrate = void 0; }; })(); - b.Zdb = v; - }, function (q, b, a) { + b.beb = v; + }, function (r, b, a) { var p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F; + G; function c() {} - function f(D, G) { - var I, - J, + function f(D, F) { + var J, + K, H, - M; - I = p.Kc(G) ? G : c; + L; + J = p.Mc(F) ? F : c; this.I = D || ({}); - (function (O, L, P) { - this.sj[O].ke[L] = P; + (function (Q, I, O) { + this.pj[Q].oe[I] = O; }).bind(this); - (function (O, L) { - return this.sj[O].ke ? this.sj[O].ke[L] : void 0; + (function (Q, I) { + return this.pj[Q].oe ? this.pj[Q].oe[I] : void 0; }).bind(this); this.on = this.addEventListener = E.addEventListener; this.removeEventListener = E.removeEventListener; - this.emit = this.Ta = D.u4b ? E.Ta : c; - J = w.Grb(D); + this.emit = this.Ua = D.A4b ? E.Ua : c; + K = w.Hrb(D); H = this.I.dailyDiskCacheWriteLimit; - if (J) { - this.wu = J; - M = m(D.i6b || F, w.izb()); - this.kx = function (O) { - return p.ga(M) || null === M || void 0 === this.sj[O] ? !1 : !p.ga(M[O]); + if (K) { + this.Bu = K; + L = m(D.t6b || G, w.mzb()); + this.qx = function (Q) { + return p.fa(L) || null === L || void 0 === this.pj[Q] ? !1 : !p.fa(L[Q]); }; - M ? (this.sj = {}, G = u.Promise.all(Object.keys(M).map(function (O) { - return new u.Promise(function (L, P) { - var R; - R = M[O]; - R.p6a = D.p6a; - new v(O, J, R, function (K, Q) { - K ? P(K) : L(Q); + L ? (this.pj = {}, F = t.Promise.all(Object.keys(L).map(function (Q) { + return new t.Promise(function (I, O) { + var N; + N = L[Q]; + N.s6a = D.s6a; + new v(Q, K, N, function (M, P) { + M ? O(M) : I(P); }, H); }); - })).then((function (O) { - O.map((function (L) { - var P; - P = L.Cu; - this.sj[P] = L; - M[P].Fxb = M[P].Su - L.jx; - this.sj[P].on(v.ue.REPLACE, (function (R) { - R = R || ({}); - R.partition = P; - R.type = "save"; - this.Ta("mediacache", R); + })).then((function (Q) { + Q.map((function (I) { + var O; + O = I.Hu; + this.pj[O] = I; + L[O].Lxb = L[O].Xu - I.px; + this.pj[O].on(v.we.REPLACE, (function (N) { + N = N || ({}); + N.partition = O; + N.type = "save"; + this.Ua("mediacache", N); }).bind(this)); - this.sj[P].on(v.ue.UHa, (function (R) { - R = R || ({}); - R.partition = P; - R.type = "save"; - this.Ta("mediacache", R); + this.pj[O].on(v.we.SHa, (function (N) { + N = N || ({}); + N.partition = O; + N.type = "save"; + this.Ua("mediacache", N); }).bind(this)); - this.sj[P].on(v.ue.uf, (function (R) { - R = R || ({}); - R.partition = P; - R.type = v.ue.uf; - this.Ta("mediacache-error", R); + this.pj[O].on(v.we.wf, (function (N) { + N = N || ({}); + N.partition = O; + N.type = v.we.wf; + this.Ua("mediacache-error", N); }).bind(this)); }).bind(this)); return this; - }).bind(this)).then((function (O) { - g(J, u.storage.rP, Object.keys(M)); - return O; - }).bind(this)).then((function (O) { - Object.keys(O.sj).map(function (L) { - O.sj[L].Kja().map(function (P) { - O.delete(L, P); + }).bind(this)).then((function (Q) { + g(K, t.storage.sP, Object.keys(L)); + return Q; + }).bind(this)).then((function (Q) { + Object.keys(Q.pj).map(function (I) { + Q.pj[I].Dja().map(function (O) { + Q.delete(I, O); }); }); - O.Km = !0; - I(null, O); - }).bind(this)).catch((function (O) { - t.error("Failed to initialize media cache ", O); - this.MF = A.Swa; - I(this.MF, this); - }).bind(this)), C.Lv(G)) : (this.MF = A.Rab, I(this.MF, this)); - } else (this.MF = A.Swa, I(this.MF, this)); - } - function k(D, G, I, J, H, M) { - var O; - O = M ? "mediacache-error" : "mediacache"; - G = { - partition: I, - type: G, - resource: J, - time: u.time.now() - }; - M && (G.error = M); - H && (p.xa(H.duration) && (G.duration = H.duration), p.xa(H.Cx) && (G.bytesRead = H.Cx)); + Q.Im = !0; + J(null, Q); + }).bind(this)).catch((function (Q) { + u.error("Failed to initialize media cache ", Q); + this.RF = B.Pwa; + J(this.RF, this); + }).bind(this)), C.Qv(F)) : (this.RF = B.Uab, J(this.RF, this)); + } else (this.RF = B.Pwa, J(this.RF, this)); + } + function k(D, F, J, K, H, L) { + var Q; + Q = L ? "mediacache-error" : "mediacache"; + F = { + partition: J, + type: F, + resource: K, + time: t.time.now() + }; + L && (F.error = L); + H && (p.ya(H.duration) && (F.duration = H.duration), p.ya(H.Hx) && (F.bytesRead = H.Hx)); try { - D.Ta(O, G); - } catch (L) { - t.warn("caught exception while emitting basic event", L); + D.Ua(Q, F); + } catch (I) { + u.warn("caught exception while emitting basic event", I); } } - function l(D, G, I, J, H) { - var M; - M = H ? "mediacache-error" : "mediacache"; - G = { - partition: I, - type: G, - resources: J, - time: u.time.now() + function l(D, F, J, K, H) { + var L; + L = H ? "mediacache-error" : "mediacache"; + F = { + partition: J, + type: F, + resources: K, + time: t.time.now() }; - H && (G.error = H); + H && (F.error = H); try { - D.Ta(M, G); - } catch (O) { - t.warn("caught exception while emitting basic event", O); + D.Ua(L, F); + } catch (Q) { + u.warn("caught exception while emitting basic event", Q); } } function d(D) { - return !x.zL(D) && !z.LEb(D); + return !x.CL(D) && !z.QEb(D); } - function g(D, G, I) { - D.query(G, "", function (J, H) { - J || Object.keys(H).filter(function (M) { - return 0 > I.indexOf(M.slice(0, M.indexOf("."))); - }).map(function (M) { - D.remove(G, M, c); + function g(D, F, J) { + D.query(F, "", function (K, H) { + K || Object.keys(H).filter(function (L) { + return 0 > J.indexOf(L.slice(0, L.indexOf("."))); + }).map(function (L) { + D.remove(F, L, c); }); }); } - function h(D, G, I) { + function h(D, F, J) { var H, - M; - function J(O) { - D.delete(H, function (L) { - L ? I(L) : (delete D.ke[M], L = Object.keys(O.resourceIndex), L = u.Promise.all(L.map(function (P) { - return new u.Promise(function (R, K) { - D.delete(P, function (Q) { - Q ? K(Q) : R(P); + L; + function K(Q) { + D.delete(H, function (I) { + I ? J(I) : (delete D.oe[L], I = Object.keys(Q.resourceIndex), I = t.Promise.all(I.map(function (O) { + return new t.Promise(function (N, M) { + D.delete(O, function (P) { + P ? M(P) : N(O); }); }); })).then(function () { - I(); - }, function (P) { - I(P); - }), C.Lv(L)); + J(); + }, function (O) { + J(O); + }), C.Qv(I)); }); } - if (x.zL(G)) - (H = G, M = x.r2(G)); - else (H = x.Mga(G), M = G); - (G = D.ke[M]) ? J(G) : D.read(H, function (O, L) { - O ? I(O) : J(L); + if (x.CL(F)) + (H = F, L = x.s2(F)); + else (H = x.Gga(F), L = F); + (F = D.oe[L]) ? K(F) : D.read(H, function (Q, I) { + Q ? J(Q) : K(I); }); } - function m(D, G) { - var I, - J, + function m(D, F) { + var J, + K, H; - I = {}; - J = D.partitions.reduce(function (M, O) { - return M + O.capacity; + J = {}; + K = D.partitions.reduce(function (L, Q) { + return L + Q.capacity; }, 0); - H = G / J; - D.partitions.map(function (M) { - var O; - O = M.key; - I[O] = {}; - I[O].Su = Math.floor(H * M.capacity); - I[O].Ksb = M.dailyWriteFactor || 1; - I[O].Q6b = M.owner; - I[O].$vb = M.evictionPolicy; + H = F / K; + D.partitions.map(function (L) { + var Q; + Q = L.key; + J[Q] = {}; + J[Q].Xu = Math.floor(H * L.capacity); + J[Q].Msb = L.dailyWriteFactor || 1; + J[Q].a7b = L.owner; + J[Q].fwb = L.evictionPolicy; }); - return I; + return J; } - function n(D, G, I) { - if (I) - return z.fub(D, G).reduce(function (J, H) { - Object.keys(H).map(function (M) { - J[M] = H[M]; + function n(D, F, J) { + if (J) + return z.jub(D, F).reduce(function (K, H) { + Object.keys(H).map(function (L) { + K[L] = H[L]; }); - return J; + return K; }, {}); - I = {}; - I[D] = G; - return I; + J = {}; + J[D] = F; + return J; } - function r(D, G, I, J, H, M, O, L, P, R, K) { - return function (Q, N) { - Q ? p.isArray(Q) ? (N = Q.map(function (da) { - return da.error; - }), N.some(function (da) { - return da.code === A.JH.code; - }) && !N.some(function (da) { - return da.code === A.LZ.code; - }) ? K(R, Q, function () { - P.save(G, I, J, H, M, O); - }) : (R.delete(L), delete R.ke[I], M({ - error: Q[0].error, - mt: Q[0].mt, - type: Q[0].type, - MLa: Q - }))) : M({ - error: Q, - mt: G, + function q(D, F, J, K, H, L, Q, I, O, N, M) { + return function (P, R) { + P ? p.isArray(P) ? (R = P.map(function (ea) { + return ea.error; + }), R.some(function (ea) { + return ea.code === B.RH.code; + }) && !R.some(function (ea) { + return ea.code === B.NZ.code; + }) ? M(N, P, function () { + O.save(F, J, K, H, L, Q); + }) : (N.delete(I), delete N.oe[J], L({ + error: P[0].error, + st: P[0].st, + type: P[0].type, + LLa: P + }))) : L({ + error: P, + st: F, type: "save" - }) : (Q = N.items.filter(function (da) { - return 0 <= Object.keys(D).indexOf(da.key); - }).reduce(function (da, na) { - return da + na.D4; - }, 0), R.ke[I].k3a(Q), Q = { - Fxb: N.Hm, - $3b: N.mK, + }) : (P = R.items.filter(function (ea) { + return 0 <= Object.keys(D).indexOf(ea.key); + }).reduce(function (ea, pa) { + return ea + pa.D4; + }, 0), N.oe[J].k3a(P), P = { + Lxb: R.Fm, + c4b: R.qK, fk: 0, - items: N - }, 0 < N.fk && (Q.fk = N.fk), 0 < N.duration && (Q.duration = N.duration), M(null, Q)); + items: R + }, 0 < R.fk && (P.fk = R.fk), 0 < R.duration && (P.duration = R.duration), L(null, P)); }; } p = a(10); - u = a(126); - t = new u.Console("MEDIACACHE", "media|asejs"); - w = a(914); - v = a(915); - x = a(426); - y = a(127); - z = a(922); - B = a(923); - A = a(252); - C = a(253); - E = a(427).EventEmitter; - F = { - T6b: [] - }; - f.prototype.IV = function (D, G, I) { - var J; - J = p.Kc(I) ? I : c; - this.kx(D) ? this.sj[D].query(G, function (H, M) { - H ? (t.error("Failed to query resources", H), J([])) : J(M.filter(d)); - }) : J([]); - }; - f.prototype.read = function (D, G, I) { - var J, + t = a(125); + u = new t.Console("MEDIACACHE", "media|asejs"); + w = a(916); + v = a(917); + x = a(430); + y = a(126); + z = a(924); + A = a(925); + B = a(253); + C = a(254); + E = a(431).EventEmitter; + G = { + e7b: [] + }; + f.prototype.HV = function (D, F, J) { + var K; + K = p.Mc(J) ? J : c; + this.qx(D) ? this.pj[D].query(F, function (H, L) { + H ? (u.error("Failed to query resources", H), K([])) : K(L.filter(d)); + }) : K([]); + }; + f.prototype.read = function (D, F, J) { + var K, H, - M, - O; - J = p.Kc(I) ? I : c; - if (this.kx(D)) { - H = this.sj[D]; - M = H.ke[G]; - if (!x.zL(G) && this.I.nIb) { - O = (function (L) { - H.P6(Object.keys(L), (function (P, R, K) { - P ? J(A.vI.$p("Failed to read " + G, P)) : (k(this, "read", D, G, K), J(null, z.dEb(R))); - }).bind(this), L); + L, + Q; + K = p.Mc(J) ? J : c; + if (this.qx(D)) { + H = this.pj[D]; + L = H.oe[F]; + if (!x.CL(F) && this.I.qIb) { + Q = (function (I) { + H.M6(Object.keys(I), (function (O, N, M) { + O ? K(B.AI.bq("Failed to read " + F, O)) : (k(this, "read", D, F, M), K(null, z.gEb(N))); + }).bind(this), I); }).bind(this); - M ? O(M.resourceIndex) : this.GOb(D, G, function (L, P) { - L ? J(A.vI.$p("Failed to read " + G, L)) : O(P.resourceIndex); + L ? Q(L.resourceIndex) : this.LOb(D, F, function (I, O) { + I ? K(B.AI.bq("Failed to read " + F, I)) : Q(O.resourceIndex); }); } else - H.read(G, (function (L, P, R) { - L ? J(A.vI.$p("Failed to read " + G, L)) : (M && M.convertToBinaryData && (P = B.Kpb(P)), k(this, "read", D, G, R), J(null, P)); + H.read(F, (function (I, O, N) { + I ? K(B.AI.bq("Failed to read " + F, I)) : (L && L.convertToBinaryData && (O = A.Lpb(O)), k(this, "read", D, F, N), K(null, O)); }).bind(this)); } else - J(A.bA); + K(B.cA); }; - f.prototype.P6 = function (D, G, I) { - var J, + f.prototype.M6 = function (D, F, J) { + var K, H; - J = p.Kc(I) ? I : c; - if (this.kx(D)) { + K = p.Mc(J) ? J : c; + if (this.qx(D)) { H = {}; - G = u.Promise.all(G.map((function (M) { - return new u.Promise((function (O, L) { - this.read(D, M, function (P, R) { - P ? (R = {}, R[M] = P, L(R)) : (H[M] = R, O()); + F = t.Promise.all(F.map((function (L) { + return new t.Promise((function (Q, I) { + this.read(D, L, function (O, N) { + O ? (N = {}, N[L] = O, I(N)) : (H[L] = N, Q()); }); }).bind(this)); }).bind(this))).then(function () { - J(null, H); - }, function (M) { - J(M); + K(null, H); + }, function (L) { + K(L); }); - C.Lv(G); + C.Qv(F); } else - J(A.bA); + K(B.cA); }; - f.prototype.t2a = function (D, G, I) { - var J; - J = p.Kc(I) ? I : c; - this.kx(D) ? "[object Object]" !== Object.prototype.toString.call(G) ? J(A.KZ.$p("items must be a map of keys to objects")) : (I = new u.Promise((function (H) { - var M, - O; - M = this.sj[D].Kja(); - O = Object.keys(G); - (M = M.filter(function (L) { - return -1 === O.indexOf(L); - })) && 0 < M.length ? this.TPa(D, M, function () { + f.prototype.s2a = function (D, F, J) { + var K; + K = p.Mc(J) ? J : c; + this.qx(D) ? "[object Object]" !== Object.prototype.toString.call(F) ? K(B.MZ.bq("items must be a map of keys to objects")) : (J = new t.Promise((function (H) { + var L, + Q; + L = this.pj[D].Dja(); + Q = Object.keys(F); + (L = L.filter(function (I) { + return -1 === Q.indexOf(I); + })) && 0 < L.length ? this.RPa(D, L, function () { H(); }) : H(); }).bind(this)).then((function () { - return u.Promise.all(Object.keys(G).map((function (H) { - return new u.Promise((function (M, O) { - this.save(D, H, G[H].Pp, G[H].xd, function (L, P) { - L ? (t.error("Received an error saving", H, L), O(L)) : M(P); + return t.Promise.all(Object.keys(F).map((function (H) { + return new t.Promise((function (L, Q) { + this.save(D, H, F[H].Sp, F[H].xd, function (I, O) { + I ? (u.error("Received an error saving", H, I), Q(I)) : L(O); }, !0); }).bind(this)); }).bind(this))); }).bind(this)).then((function (H) { - var M, - O, - L; + var L, + Q, + I; try { - M = Number.MAX_VALUE; - O = Number.MAX_VALUE; - L = H.reduce(function (P, R) { - R.Hm && R.Hm < M && (M = R.Hm); - R.mK && R.mK < O && (O = R.mK); - M < Number.MAX_VALUE && (P.freeSize = M); - O < Number.MAX_VALUE && (P.dailyBytesRemaining = O); - p.xa(R.fk) && (P.bytesWritten += R.fk); - p.xa(R.duration) && (P.duration += R.duration); - return P; + L = Number.MAX_VALUE; + Q = Number.MAX_VALUE; + I = H.reduce(function (O, N) { + N.Fm && N.Fm < L && (L = N.Fm); + N.qK && N.qK < Q && (Q = N.qK); + L < Number.MAX_VALUE && (O.freeSize = L); + Q < Number.MAX_VALUE && (O.dailyBytesRemaining = Q); + p.ya(N.fk) && (O.bytesWritten += N.fk); + p.ya(N.duration) && (O.duration += N.duration); + return O; }, { partition: D, type: "saveMultiple", - keys: Object.keys(G), - time: u.time.now(), + keys: Object.keys(F), + time: t.time.now(), bytesWritten: 0, duration: 0 }); - this.Ta("mediacache", L); - J(null, L); - } catch (P) { - J(err); + this.Ua("mediacache", I); + K(null, I); + } catch (O) { + K(err); } }).bind(this), (function (H) { - p.isArray(H.MLa) ? H.MLa.forEach((function (M) { - this.Ta("mediacache-error", { + p.isArray(H.LLa) ? H.LLa.forEach((function (L) { + this.Ua("mediacache-error", { partition: D, type: "saveMultiple", - error: M.error, - resources: M.resources + error: L.error, + resources: L.resources }); - }).bind(this)) : this.Ta("mediacache-error", { + }).bind(this)) : this.Ua("mediacache-error", { partition: D, type: "saveMultiple", error: H }); - J(H); - }).bind(this)), C.Lv(I)) : (p.Kc(I) ? I : c)(A.bA); + K(H); + }).bind(this)), C.Qv(J)) : (p.Mc(J) ? J : c)(B.cA); }; - f.prototype.save = function (D, G, I, J, H, M) { - var O, - L, + f.prototype.save = function (D, F, J, K, H, L) { + var Q, + I, + O, + N, + M, P, R, - K, - Q, - N, - da, - na; - O = p.Kc(H) ? H : c; - if (this.kx(D)) { - L = this.sj[D]; - P = x.Mga(G); - H = L.Kja(); + ea, + pa; + Q = p.Mc(H) ? H : c; + if (this.qx(D)) { + I = this.pj[D]; + O = x.Gga(F); + H = I.Dja(); H = H.filter(function (va) { - return va !== G; + return va !== F; }); - if (p.ga(J) || p.ob(J) || !p.xa(J.lifespan)) - O(A.pbb); + if (p.fa(K) || p.tb(K) || !p.ya(K.lifespan)) + Q(B.tbb); else { - R = n(G, I, this.I.nIb); - K = L.ke[G] || ({}); - Q = K.resourceIndex; - Q && Object.keys(Q).map(function (va) { - p.ga(R[va]) && L.delete(va); + N = n(F, J, this.I.qIb); + M = I.oe[F] || ({}); + P = M.resourceIndex; + P && Object.keys(P).map(function (va) { + p.fa(N[va]) && I.delete(va); }); - J.convertToBinaryData && (I = B.Lpb(R), R = n(G, I, !1)); - Q = u.time.now(); - N = {}; - N.partition = D; - N.resourceIndex = Object.keys(R).reduce(function (va, ra) { - va[ra] = y.Eka(R[ra]); + K.convertToBinaryData && (J = A.Mpb(N), N = n(F, J, !1)); + P = t.time.now(); + R = {}; + R.partition = D; + R.resourceIndex = Object.keys(N).reduce(function (va, ta) { + va[ta] = y.Bka(N[ta]); return va; }, {}); - N.creationTime = K.creationTime || Q; - N.lastRefresh = Q; - N.lifespan = J.lifespan; - N.lastMetadataUpdate = Q; - N.size = K.size; - N.convertToBinaryData = J.convertToBinaryData; - da = (function (va, ra, X) { - va.ztb((function (ta, za) { - ta && t.error("Evicting", "Failed to delete some orphaned records", ta); - za.Bqa ? X() : (ta = va.vzb()) ? this.delete(va.Cu, ta, (function (V) { - V ? (M || (p.isArray(ra) ? ra.forEach((function (T) { - l(this, "save", va.uAb, T.resources, T.error); - }).bind(this)) : k(this, "save", va.Cu, G, void 0, ra)), O(ra)) : X(); - }).bind(this)) : O(A.JH); + R.creationTime = M.creationTime || P; + R.lastRefresh = P; + R.lifespan = K.lifespan; + R.lastMetadataUpdate = P; + R.size = M.size; + R.convertToBinaryData = K.convertToBinaryData; + ea = (function (va, ta, Y) { + va.Ctb((function (ra, Ea) { + ra && u.error("Evicting", "Failed to delete some orphaned records", ra); + Ea.vqa ? Y() : (ra = va.zzb()) ? this.delete(va.Hu, ra, (function (V) { + V ? (L || (p.isArray(ta) ? ta.forEach((function (U) { + l(this, "save", va.xAb, U.resources, U.error); + }).bind(this)) : k(this, "save", va.Hu, F, void 0, ta)), Q(ta)) : Y(); + }).bind(this)) : Q(B.RH); }).bind(this)); }).bind(this); - na = (function () { + pa = (function () { var va, - ra, - X; - va = this.sj; - ra = 0; - X = u.time.now(); - if (!p.ga(va)) - for (var ta in va) { - ra += va[ta].Gyb(X); + ta, + Y; + va = this.pj; + ta = 0; + Y = t.time.now(); + if (!p.fa(va)) + for (var ra in va) { + ta += va[ra].Lyb(Y); } - return ra; + return ta; }).bind(this); - this.TPa(D, H, (function () { - L.replace(P, N, (function (va, ra) { - ra ? (L.ke[G] = x.ija(N), L.TPb(R, r(R, D, G, I, J, O, M, P, this, L, da), M, na)) : va.code === A.JH.code ? da(L, va, (function () { - this.save(D, G, I, J, O, M); - }).bind(this)) : O(va); - }).bind(this), M, na); + this.RPa(D, H, (function () { + I.replace(O, R, (function (va, ta) { + ta ? (I.oe[F] = x.bja(R), I.YPb(N, q(N, D, F, J, K, Q, L, O, this, I, ea), L, pa)) : va.code === B.RH.code ? ea(I, va, (function () { + this.save(D, F, J, K, Q, L); + }).bind(this)) : Q(va); + }).bind(this), L, pa); }).bind(this)); } } else - O(A.bA); + Q(B.cA); }; - f.prototype.delete = function (D, G, I) { - var J; - J = p.Kc(I) ? I : c; - this.kx(D) ? h(this.sj[D], G, (function (H) { - k(this, "delete", D, G, void 0, H); - J(H); - }).bind(this)) : J(A.bA); + f.prototype.delete = function (D, F, J) { + var K; + K = p.Mc(J) ? J : c; + this.qx(D) ? h(this.pj[D], F, (function (H) { + k(this, "delete", D, F, void 0, H); + K(H); + }).bind(this)) : K(B.cA); }; - f.prototype.TPa = function (D, G, I) { - var J, + f.prototype.RPa = function (D, F, J) { + var K, H; - J = p.Kc(I) ? I : c; - if (this.kx(D)) { - H = this.sj[D]; - I = u.Promise.all(G.map((function (M) { - return new u.Promise((function (O) { - h(H, M, (function (L) { - O({ - X: p.ga(L), - error: L, - Pp: M + K = p.Mc(J) ? J : c; + if (this.qx(D)) { + H = this.pj[D]; + J = t.Promise.all(F.map((function (L) { + return new t.Promise((function (Q) { + h(H, L, (function (I) { + Q({ + W: p.fa(I), + error: I, + Sp: L }); }).bind(this)); }).bind(this)); - }).bind(this))).then((function (M) { - var K, - Q; - for (var O = [], L = [], P = [], R = 0; R < M.length; R++) { - K = M[R]; - K.X ? O.push(K.Pp) : K.error && L.push(K); - } - 0 < O.length && l(this, "delete", D, O); - if (0 < L.length) { - P = L.map(function (N) { - return N.Pp; + }).bind(this))).then((function (L) { + var M, + P; + for (var Q = [], I = [], O = [], N = 0; N < L.length; N++) { + M = L[N]; + M.W ? Q.push(M.Sp) : M.error && I.push(M); + } + 0 < Q.length && l(this, "delete", D, Q); + if (0 < I.length) { + O = I.map(function (R) { + return R.Sp; }); - M = C.NUa(L); - Q = M[0]; - M.forEach((function (N) { - t.error("Failed to delete resources ", N.error, N.resources); - l(this, "delete", D, N.resources, N.error); + L = C.NUa(I); + P = L[0]; + L.forEach((function (R) { + u.error("Failed to delete resources ", R.error, R.resources); + l(this, "delete", D, R.resources, R.error); }).bind(this)); } - M = {}; - M.j7b = O; - 0 < P.length && (M.k7b = P); - Q ? J(Q, M) : J(void 0, M); - }).bind(this), (function (M) { - l(this, "delete", D, G, M); - J(M); + L = {}; + L.v7b = Q; + 0 < O.length && (L.w7b = O); + P ? K(P, L) : K(void 0, L); + }).bind(this), (function (L) { + l(this, "delete", D, F, L); + K(L); }).bind(this)); - C.Lv(I); + C.Qv(J); } else - J(A.bA); + K(B.cA); }; - f.prototype.clear = function (D, G) { - var I; - I = p.Kc(G) ? G : c; - this.kx(D) ? this.sj[D].clear(function (J) { - I(J.filter(d)); - }) : I(A.bA); + f.prototype.clear = function (D, F) { + var J; + J = p.Mc(F) ? F : c; + this.qx(D) ? this.pj[D].clear(function (K) { + J(K.filter(d)); + }) : J(B.cA); }; - f.prototype.GOb = function (D, G, I) { - var J, + f.prototype.LOb = function (D, F, J) { + var K, H; - J = p.Kc(I) ? I : c; - if (this.kx(D)) { - H = this.sj[D]; - H.read(x.Mga(G), function (M, O) { - var L; - if (M) - J(A.qbb); + K = p.Mc(J) ? J : c; + if (this.qx(D)) { + H = this.pj[D]; + H.read(x.Gga(F), function (L, Q) { + var I; + if (L) + K(B.ubb); else { - L = x.ija(O) || ({}); - H.VTa(Object.keys(L.gra), function (P) { - L.size = P; - (P = H.ke[G]) && (L.lastMetadataUpdate && P.lastMetadataUpdate && P.lastMetadataUpdate <= L.lastMetadataUpdate ? H.ke[G] = L : P.lastMetadataUpdate && (P.lastMetadataUpdate > L.lastMetadataUpdate || p.ga(L.lastMetadataUpdate)) && (L = P)); - J(null, L); + I = x.bja(Q) || ({}); + H.WTa(Object.keys(I.$qa), function (O) { + I.size = O; + (O = H.oe[F]) && (I.lastMetadataUpdate && O.lastMetadataUpdate && O.lastMetadataUpdate <= I.lastMetadataUpdate ? H.oe[F] = I : O.lastMetadataUpdate && (O.lastMetadataUpdate > I.lastMetadataUpdate || p.fa(I.lastMetadataUpdate)) && (I = O)); + K(null, I); }); } }); } else - J(A.bA); + K(B.cA); }; f.prototype.constructor = f; - q.exports = f; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { var l, d; - function c(g, h, m, n, r, p) { - return new k(g, h, m, n, r, p); + function c(g, h, m, n, q, p) { + return new k(g, h, m, n, q, p); } function f(g) { return g && 0 <= g.indexOf(".__metadata__"); } - function k(g, h, m, n, r, p) { + function k(g, h, m, n, q, p) { this.partition = g; this.lifespan = m; this.resourceIndex = h; this.size = n; - this.creationTime = r; + this.creationTime = q; this.lastRefresh = p; - return this.m5a(); + return this.o5a(); } l = a(10); - d = a(126); - a(127); + d = a(125); + a(126); new d.Console("MEDIACACHE", "media|asejs"); k.prototype.refresh = function () { this.lastRefresh = d.time.now(); - return this.m5a(); + return this.o5a(); }; k.prototype.k3a = function (g) { this.size = g; }; - k.prototype.DOa = function () { + k.prototype.BOa = function () { var g; g = d.time.now(); return (this.lastRefresh + 1E3 * this.lifespan - g) / 1E3; }; - k.prototype.m5a = function () { + k.prototype.o5a = function () { this.lastMetadataUpdate = d.time.now(); return this; }; k.prototype.constructor = k; - q.exports = { + r.exports = { create: c, - ija: function (g) { + bja: function (g) { var h; h = g; "string" === typeof g && (h = JSON.parse(g)); - if (h && h.partition && !l.ga(h.lifespan) && h.resourceIndex && h.creationTime && h.lastRefresh) - return (g = c(h.partition, h.resourceIndex, h.lifespan, -1, h.creationTime, h.lastRefresh), h.lastMetadataUpdate && (g.lastMetadataUpdate = h.lastMetadataUpdate), !l.ga(h.size) && 0 <= h.size && g.k3a(h.size), g.DOa(), g.convertToBinaryData = h.convertToBinaryData, g); + if (h && h.partition && !l.fa(h.lifespan) && h.resourceIndex && h.creationTime && h.lastRefresh) + return (g = c(h.partition, h.resourceIndex, h.lifespan, -1, h.creationTime, h.lastRefresh), h.lastMetadataUpdate && (g.lastMetadataUpdate = h.lastMetadataUpdate), !l.fa(h.size) && 0 <= h.size && g.k3a(h.size), g.BOa(), g.convertToBinaryData = h.convertToBinaryData, g); }, - Mga: function (g) { + Gga: function (g) { return g + ".__metadata__"; }, - r2: function (g) { + s2: function (g) { return f(g) ? g.slice(0, g.length - 13) : g; }, - zL: f + CL: f }; - }, function (q, b, a) { - q.exports = { - EventEmitter: a(918), - zh: a(919) + }, function (r, b, a) { + r.exports = { + EventEmitter: a(920), + xh: a(921) }; - }, function (q) { - q.exports = "4.1.1744"; - }, function (q, b, a) { - var r, + }, function (r) { + r.exports = "4.1.1761"; + }, function (r, b, a) { + var q, p, - u, - t; + t, + u; function c(w) { - return w.Ck.Ba(w.Cd).V; + return w.Rj.Da(w.ud).V; } function f(w, v) { return Math.exp( - (Math.log(2) / w) * v); @@ -50063,31 +50175,31 @@ a000.D9b = function () { var x, y, z, - B, - A; - x = v.H6; + A, + B; + x = v.E6; y = v.HM; - if (0 === v.oh.length) + if (0 === v.mh.length) return { - zea: !1 + tea: !1 }; - z = v.oh[0]; - v = z.Be; - B = z.NB; + z = v.mh[0]; + v = z.De; + A = z.PB; z = z.duration; - if (!B || 1 === y) + if (!A || 1 === y) return { - zea: !1 + tea: !1 }; p.assert(z, "duration should be defined when immediate probability is included in probabilities array"); p.assert(0 < y, "presenting segment seamless probability cannot be zero"); - A = x.V; - x = y + A / z * (1 - y); - z -= A; - B = B * (1 - x) / (1 - y); + B = x.V; + x = y + B / z * (1 - y); + z -= B; + A = A * (1 - x) / (1 - y); return { - zea: !0, - Rkb: v * x / y * f(w, z) + B * k(w, z) + tea: !0, + Skb: v * x / y * f(w, z) + A * k(w, z) }; } function d(w) { @@ -50096,15 +50208,15 @@ a000.D9b = function () { y, z; v = w.duration; - x = w.m4a; - y = w.Tv; - z = w.Ck; - w = w.Cd; + x = w.o4a; + y = w.Yv; + z = w.Rj; + w = w.ud; p.assert(x); p.assert(v); - z = z.Ba(w); - w = x.Ba(z); - w.Fy(u.S.hb) ? (x = x.V / v.V, v = 1 - y) : (w = v.Ba(w).V, x = 0 < w ? z.V / w : 0, v = w / v.V * (1 - y)); + z = z.Da(w); + w = x.Da(z); + w.Iy(t.S.hb) ? (x = x.V / v.V, v = 1 - y) : (w = v.Da(w).V, x = 0 < w ? z.V / w : 0, v = w / v.V * (1 - y)); return 1 - x * v; } function g(w, v) { @@ -50113,28 +50225,28 @@ a000.D9b = function () { } function h(w) { var v; - return (null !== (v = w.EF) && void 0 !== v ? v : 1) * w.oh.reduce(function (x, y) { + return (null !== (v = w.JF) && void 0 !== v ? v : 1) * w.mh.reduce(function (x, y) { var z; - z = y.NB; - return x * (y.Be + (void 0 === z ? 0 : z)); + z = y.PB; + return x * (y.De + (void 0 === z ? 0 : z)); }, 1); } function m(w) { var v, x; - if (0 === w.oh.length) + if (0 === w.mh.length) return 0; - x = 1 > w.HM ? Math.min(w.H6.V, null !== (v = w.oh[0].duration) && void 0 !== v ? v : 0) : 0; - return w.oh.reduce(function (y, z) { + x = 1 > w.HM ? Math.min(w.E6.V, null !== (v = w.mh[0].duration) && void 0 !== v ? v : 0) : 0; + return w.mh.reduce(function (y, z) { z = z.duration; return y + (void 0 === z ? 0 : z); }, 0) - x; } function n(w) { - return w.oh.filter(function (v) { - return !v.NB; + return w.mh.filter(function (v) { + return !v.PB; }).reduce(function (v, x) { - return v * x.Be; + return v * x.De; }, 1); } Object.defineProperties(b, { @@ -50142,53 +50254,53 @@ a000.D9b = function () { value: !0 } }); - b.Jfa = b.ENa = b.Cnb = b.DNa = b.Gnb = void 0; - r = a(14); + b.Cfa = b.ENa = b.Dnb = b.DNa = b.Hnb = void 0; + q = a(14); p = a(6); - u = a(9); - t = a(19); - b.Gnb = c; + t = a(9); + u = a(19); + b.Hnb = c; b.DNa = function (w, v, x) { var y, z, - B, A, + B, C, E, - F, - D, G, - I; - if (!w.d2 || r.Vq(v.hf)) + D, + F, + J; + if (!w.f2 || q.Uq(v.hf)) return g(w, v); - A = w.j1a; + B = w.j1a; w = c(v); C = m(v); E = n(v); - F = l(A, v); - D = F.zea; - F = F.Rkb; - F = void 0 === F ? 1 : F; - G = 1 > v.Tv ? d(v) : 1; - I = (null !== (y = v.EF) && void 0 !== y ? y : 1) * E * f(A, w - C) * F * G * v.oh.filter(function (J, H) { - return J.NB && (0 < H || !D); - }).reduce(function (J, H) { - var M, - O; - M = H.NB; - O = H.duration; - O = void 0 === O ? 0 : O; - M = void 0 === M ? 0 : M; - H = H.Be * f(A, O) + M * k(A, O); - return J * H; + G = l(B, v); + D = G.tea; + G = G.Skb; + G = void 0 === G ? 1 : G; + F = 1 > v.Yv ? d(v) : 1; + J = (null !== (y = v.JF) && void 0 !== y ? y : 1) * E * f(B, w - C) * G * F * v.mh.filter(function (K, H) { + return K.PB && (0 < H || !D); + }).reduce(function (K, H) { + var L, + Q; + L = H.PB; + Q = H.duration; + Q = void 0 === Q ? 0 : Q; + L = void 0 === L ? 0 : L; + H = H.De * f(B, Q) + L * k(B, Q); + return K * H; }, 1); - t.ka && (null === x || void 0 === x ? void 0 : x.log("{" + v.groupId + "} [" + v.mediaType + "] calculateStreamablePriority: sp: " + (v.Tv + ", pssp: ") + (v.HM + ", streamingDuration: ") + ((null === (z = v.m4a) || void 0 === z ? void 0 : z.V) + ", duration: ") + ((null === (B = v.duration) || void 0 === B ? void 0 : B.V) + ", seamlessProbability: ") + (E + ", distance: ") + (w + ", immediateDistance: " + C + ", risk:") + (f(A, w - C) + ", adjustedFirstTerm: ") + (F + ", streamingAdjustment: " + G + ", probabilities: ") + (JSON.stringify(v.oh) + " => " + I))); - return I; + u.ia && (null === x || void 0 === x ? void 0 : x.log("{" + v.groupId + "} [" + v.mediaType + "] calculateStreamablePriority: sp: " + (v.Yv + ", pssp: ") + (v.HM + ", streamingDuration: ") + ((null === (z = v.o4a) || void 0 === z ? void 0 : z.V) + ", duration: ") + ((null === (A = v.duration) || void 0 === A ? void 0 : A.V) + ", seamlessProbability: ") + (E + ", distance: ") + (w + ", immediateDistance: " + C + ", risk:") + (f(B, w - C) + ", adjustedFirstTerm: ") + (G + ", streamingAdjustment: " + F + ", probabilities: ") + (JSON.stringify(v.mh) + " => " + J))); + return J; }; - b.Cnb = g; + b.Dnb = g; b.ENa = h; - b.Jfa = n; - }, function (q, b, a) { + b.Cfa = n; + }, function (r, b, a) { var c, f, k, @@ -50199,21 +50311,21 @@ a000.D9b = function () { value: !0 } }); - b.Vaa = void 0; + b.Oaa = void 0; c = a(2); f = a(16); k = a(9); l = a(6); d = a(14); - q = (function () { + r = (function () { function g() { - this.vM = []; - this.DA = new k.nq(!1); - this.CA = new k.nq(k.S.rb(-Infinity)); + this.xM = []; + this.FA = new k.pq(!1); + this.EA = new k.pq(k.S.rb(-Infinity)); this.events = new f.EventEmitter(); } Object.defineProperties(g.prototype, { - cw: { + gw: { get: function () {}, enumerable: !1, configurable: !0 @@ -50222,32 +50334,32 @@ a000.D9b = function () { Object.defineProperties(g.prototype, { playbackRate: { get: function () { - return this.up(); + return this.vp(); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Ry: { + Uy: { get: function () { - return this.DA; + return this.FA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - fU: { + eU: { get: function () { - return this.CA; + return this.EA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - zz: { + Cz: { get: function () { return !1; }, @@ -50256,18 +50368,18 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - Nn: { + Pn: { get: function () { - return this.nL; + return this.qL; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Cd: { + ud: { get: function () { - return this.ZK(); + return this.cL(); }, enumerable: !1, configurable: !0 @@ -50278,8 +50390,8 @@ a000.D9b = function () { get: function () { var h, m; - h = this.Cd; - m = this.dr(h); + h = this.ud; + m = this.er(h); l.assert(m, "Could not find current branch for " + h.V); return m; }, @@ -50288,30 +50400,30 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - UDb: { + YDb: { get: function () { - return this.Ab[0]; + return this.Cb[0]; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - QF: { + WF: { get: function () { - return this.nL ? this.Ab[this.Ab.length - 1] : void 0; + return this.qL ? this.Cb[this.Cb.length - 1] : void 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(g.prototype, { - Mh: { + Lh: { get: function () { var h, m; - h = this.Cd; - m = this.P2(h); + h = this.ud; + m = this.Q2(h); l.assert(m, "Could not find presenting branch for " + h.V); return m; }, @@ -50320,123 +50432,123 @@ a000.D9b = function () { } }); Object.defineProperties(g.prototype, { - nL: { + qL: { get: function () { - return 0 < this.Ab.length; + return 0 < this.Cb.length; }, enumerable: !1, configurable: !0 } }); - g.prototype.yCb = function (h) { - return -1 !== this.Ab.indexOf(h); + g.prototype.ACb = function (h) { + return -1 !== this.Cb.indexOf(h); }; - g.prototype.H0 = function () { + g.prototype.J0 = function () { return void 0 !== this.qa ? !1 : !0; }; - g.prototype.wb = function () {}; - g.prototype.FT = function (h) { + g.prototype.zb = function () {}; + g.prototype.DT = function (h) { var m, n, - r; - m = this.Ab.filter(function (p) { + q; + m = this.Cb.filter(function (p) { return p.P.id === h.va; }); if (0 !== m.length) { - n = this.ZK(); - r = new k.S(Infinity, 1); + n = this.cL(); + q = new k.S(Infinity, 1); m.forEach(function (p) { - p = p.AM.add(h.offset); - n.bQa(p).lessThan(n.bQa(r)) && (r = p); + p = p.CM.add(h.offset); + n.$Pa(p).lessThan(n.$Pa(q)) && (q = p); }); - return r; + return q; } }; - g.prototype.dr = function (h) { + g.prototype.er = function (h) { var m, n, - r; - m = this.P2(h); + q; + m = this.Q2(h); if (m) { n = m.P; - r = n.id; - h = h.Ba(n.uh.add(m.yj)); + q = n.id; + h = h.Da(n.th.add(m.vj)); return { - va: r, + va: q, offset: h }; } }; g.prototype.reset = function () {}; - g.prototype.bW = function () {}; + g.prototype.aW = function () {}; g.prototype.pause = function (h) { void 0 === h && (h = d.cf); - this.vM = null === h || void 0 === h ? void 0 : h.reduce(function (m, n) { + this.xM = null === h || void 0 === h ? void 0 : h.reduce(function (m, n) { -1 === m.indexOf(n) && m.push(n); return m; - }, this.vM); + }, this.xM); }; g.prototype.resume = function (h) { var m; m = this; void 0 === h && (h = d.cf); h.forEach(function (n) { - n = m.vM.indexOf(n); - -1 !== n && m.vM.splice(n, 1); + n = m.xM.indexOf(n); + -1 !== n && m.xM.splice(n, 1); }); }; - g.prototype.mta = function (h) { + g.prototype.hta = function (h) { var m; l.assert(this.qa); l.assert(h !== this); - this.bH(); - m = h.H0(this.qa, this); - m && (h.pause(this.vM), h.hia.apply(h, c.__spread(this.Ab)), this.Cha(this.qa)); + this.jH(); + m = h.J0(this.qa, this); + m && (h.pause(this.xM), h.aia.apply(h, c.__spread(this.Cb)), this.wha(this.qa)); return m; }; - g.prototype.ZK = function () { + g.prototype.cL = function () { return this.sTa(); }; g.prototype.sTa = function () { var h, m; - l.assert(this.nL, "Attempted to get initial time before any branches were queued"); - m = c.__read(this.Ab, 1)[0]; + l.assert(this.qL, "Attempted to get initial time before any branches were queued"); + m = c.__read(this.Cb, 1)[0]; l.assert(m); - return null !== (h = m.Ui) && void 0 !== h ? h : m.yy; + return null !== (h = m.Si) && void 0 !== h ? h : m.By; }; - g.prototype.up = function () { + g.prototype.vp = function () { return 1; }; - g.prototype.P2 = function (h) { + g.prototype.Q2 = function (h) { var m; - if (this.nL) { + if (this.qL) { m = this.sTa(); - return h.lessThan(m) ? this.Ab[0] : k.ORa(this.Ab, h); + return h.lessThan(m) ? this.Cb[0] : k.NRa(this.Cb, h); } }; - g.prototype.Tyb = function () { + g.prototype.Xyb = function () { var h, m, p, - u, t, + u, w, v, x; m = {}; try { - for (var n = c.__values(this.Ab), r = n.next(); !r.done; r = n.next()) { - p = r.value; - u = void 0; + for (var n = c.__values(this.Cb), q = n.next(); !q.done; q = n.next()) { + p = q.value; t = void 0; - w = p.sF(); - for (u in w) { - v = u; + u = void 0; + w = p.wF(); + for (t in w) { + v = t; x = w[v]; - x && (m[v] = (null !== (t = m[v]) && void 0 !== t ? t : 0) + x); + x && (m[v] = (null !== (u = m[v]) && void 0 !== u ? u : 0) + x); } - if (!p.Wo) + if (!p.Xo) break; } } catch (z) { @@ -50447,7 +50559,7 @@ a000.D9b = function () { } finally { try { - r && !r.done && (h = n.return) && h.call(n); + q && !q.done && (h = n.return) && h.call(n); } finally { if (y) @@ -50458,8 +50570,8 @@ a000.D9b = function () { }; return g; })(); - b.Vaa = q; - }, function (q, b, a) { + b.Oaa = r; + }, function (r, b, a) { var c, f, k; @@ -50468,11 +50580,11 @@ a000.D9b = function () { value: !0 } }); - b.wSa = b.WTa = b.uja = b.GFa = void 0; + b.wSa = b.XTa = b.nja = b.DFa = void 0; c = a(2); f = a(19); k = a(54); - q = (function () { + r = (function () { function l(d) { this.Ha = d; } @@ -50486,7 +50598,7 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - nC: { + pC: { get: function () { return "qaudit"; }, @@ -50497,29 +50609,29 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { enabled: { get: function () { - return f.ka; + return f.ia; }, enumerable: !1, configurable: !0 } }); - l.prototype.Ln = function (d) { + l.prototype.Mn = function (d) { var g, h, - r; + q; d = d.ji; - if (d === k.ae.ip || d === k.ae.zr) - if (d = this.Ha.sja()) { + if (d === k.Zd.jp || d === k.Zd.Cr) + if (d = this.Ha.lja()) { h = {}; try { - for (var m = c.__values(d.RMb), n = m.next(); !n.done; n = m.next()) { - r = n.value; - h[r.mediaType] = this.BHb(r); + for (var m = c.__values(d.UMb), n = m.next(); !n.done; n = m.next()) { + q = n.value; + h[q.mediaType] = this.EHb(q); } - } catch (u) { + } catch (t) { var p; p = { - error: u + error: t }; } finally { @@ -50532,26 +50644,26 @@ a000.D9b = function () { } } return { - branchQueue: b.wSa(d.COb), + branchQueue: b.wSa(d.HOb), playerIterator: h, - driftStats: this.Ha.jua + driftStats: this.Ha.gua }; } }; - l.prototype.BHb = function (d) { + l.prototype.EHb = function (d) { return null === d || void 0 === d ? void 0 : d.tTa(); }; return l; })(); - b.GFa = q; - b.uja = function (l) { + b.DFa = r; + b.nja = function (l) { var d, g; if (l) { d = l.P; g = {}; - l.ny().forEach(function (h) { - g[h.mediaType] = b.WTa(h); + l.ry().forEach(function (h) { + g[h.mediaType] = b.XTa(h); }); return { sId: null === d || void 0 === d ? void 0 : d.id, @@ -50561,44 +50673,44 @@ a000.D9b = function () { } return l; }; - b.WTa = function (l) { + b.XTa = function (l) { var d; if (l && l.Na) - return c.__assign(c.__assign({}, l.Na.jka()), { - unsentRequests: l.Na.Ar, - lastFragmentContentEndPts: null === (d = l.nf) || void 0 === d ? void 0 : d.pc + return c.__assign(c.__assign({}, l.Na.fka()), { + unsentRequests: l.Na.Dr, + lastFragmentContentEndPts: null === (d = l.nf) || void 0 === d ? void 0 : d.uc }); }; b.wSa = function (l) { return l.map(function (d) { - return b.uja(d); + return b.nja(d); }); }; - }, function (q, b) { + }, function (r, b) { var f, k, l; function a(d) { - return void 0 !== (null === d || void 0 === d ? void 0 : d.cIa); + return void 0 !== (null === d || void 0 === d ? void 0 : d.aIa); } function c(d) { return (a(d) ? d : Object.defineProperties(d, { - cIa: { + aIa: { value: {}, configurable: !1, enumerable: !1 } - })).cIa; + })).aIa; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.cba = void 0; + b.Xaa = void 0; k = null !== (f = Number.MAX_SAFE_INTEGER) && void 0 !== f ? f : 1E9; l = Date.now() % k; - q = (function () { + r = (function () { function d() { this.id = l = (l + 1) % k; } @@ -50620,15 +50732,15 @@ a000.D9b = function () { }; return d; })(); - b.cba = q; - }, function (q, b) { + b.Xaa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.nP = void 0; - q = (function () { + b.oP = void 0; + r = (function () { function a() { this[0] = 0; this[1] = 0; @@ -50646,15 +50758,15 @@ a000.D9b = function () { this[0] += Math.max(c[0] || 0, 0); this[1] += Math.max(c[1] || 0, 0); }; - a.prototype.rea = function (c, f) { + a.prototype.lea = function (c, f) { this[c] += Math.max(f || 0, 0); }; return a; })(); - b.nP = q; + b.oP = r; 0; 1; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -50666,10 +50778,10 @@ a000.D9b = function () { switch (h.label) { case 0: return [4, Promise.resolve().then(function () { - return f.__importStar(a(254)); + return f.__importStar(a(255)); })]; case 1: - return (g = h.Oe().zF, [2, g()]); + return (g = h.Wd().DF, [2, g()]); } }); }); @@ -50679,31 +50791,31 @@ a000.D9b = function () { value: !0 } }); - b.wT = void 0; + b.uT = void 0; f = a(2); - k = a(970); - l = f.__importDefault(a(4)); - b.wT = function (g) { + k = a(972); + l = f.__importDefault(a(5)); + b.uT = function (g) { var h; h = new l.default.Console("ASEJS", "media|asejs"); - d || (d = new k.bFa(function () { + d || (d = new k.ZEa(function () { return c(); }, g, h)); return d; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.$6a = void 0; + b.c7a = void 0; c = a(7); f = a(17); - b.$6a = function (k) { + b.c7a = function (k) { var l, d; - if (f.Dy(k)) { + if (f.Gy(k)) { l = new DOMParser().parseFromString(k, "text/xml"); d = l.getElementsByTagName("parsererror"); if (d && d[0]) { @@ -50720,7 +50832,7 @@ a000.D9b = function () { } throw Error("bad xml text"); }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k) { var l, @@ -50729,35 +50841,35 @@ a000.D9b = function () { h, m, n, - r; + q; d = {}; - d[f.eO] = k.localName; + d[f.dO] = k.localName; g = {}; d[f.Vj] = g; h = []; - d[f.dO] = h; + d[f.cO] = h; m = k.attributes; n = m.length; for (l = 0; l < n; l++) { - r = m[l]; - g[r.localName] = r.value; + q = m[l]; + g[q.localName] = q.value; } k = k.childNodes; n = k.length; g = {}; for (l = 0; l < n; l++) { switch ((m = k[l], m.nodeType)) { - case b.d7a: + case b.g7a: m = c(m); - r = m[f.eO]; - m[f.U8] = d; + q = m[f.dO]; + m[f.O8] = d; h.push(m); - d[r] ? g[r][f.WC] = m : d[r] = m; - g[r] = m; + d[q] ? g[q][f.YC] = m : d[q] = m; + g[q] = m; break; + case b.h7a: case b.e7a: - case b.b7a: - (m = m.text || m.nodeValue, h.push(m), d[f.Fr] || (d[f.Fr] = m)); + (m = m.text || m.nodeValue, h.push(m), d[f.Ir] || (d[f.Ir] = m)); } } return d; @@ -50765,24 +50877,24 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.c7a = b.b7a = b.e7a = b.vYb = b.d7a = b.wYb = b.a7a = void 0; + b.f7a = b.e7a = b.h7a = b.xYb = b.g7a = b.yYb = b.d7a = void 0; f = a(152); - b.a7a = function (k) { - return c(k.nodeType == b.c7a ? k.documentElement : k); - }; - b.wYb = c; - b.d7a = 1; - b.vYb = 2; - b.e7a = 3; - b.b7a = 4; - b.c7a = 9; - }, function (q) { + b.d7a = function (k) { + return c(k.nodeType == b.f7a ? k.documentElement : k); + }; + b.yYb = c; + b.g7a = 1; + b.xYb = 2; + b.h7a = 3; + b.e7a = 4; + b.f7a = 9; + }, function (r) { function b(a) { return Object.keys(a).every(function (c) { return "function" === typeof a[c]; }); } - q.exports = function (a) { + r.exports = function (a) { var l, d, g; @@ -50790,48 +50902,48 @@ a000.D9b = function () { throw new TypeError(("undefined" !== typeof n.key ? "Types: expected " + n.key : "Types: expected argument " + n.index) + (" to be '" + h + "' but found '" + m + "'")); } function f(h, m, n) { - var r; - r = d[h]; - "undefined" !== typeof r ? r(m) || c(h, m, n) : h !== typeof m && c(h, m, n); + var q; + q = d[h]; + "undefined" !== typeof q ? q(m) || c(h, m, n) : h !== typeof m && c(h, m, n); } function k(h, m) { var n; - n = h.filter(function (r) { - return "object" !== typeof r && -1 === g.indexOf(r); - }); - n = n.concat(h.filter(function (r) { - return "object" === typeof r; - }).reduce(function (r, p) { - return r.concat(Object.keys(p).map(function (u) { - return p[u]; - }).filter(function (u) { - return -1 === g.indexOf(u); + n = h.filter(function (q) { + return "object" !== typeof q && -1 === g.indexOf(q); + }); + n = n.concat(h.filter(function (q) { + return "object" === typeof q; + }).reduce(function (q, p) { + return q.concat(Object.keys(p).map(function (t) { + return p[t]; + }).filter(function (t) { + return -1 === g.indexOf(t); })); }, [])); if (0 < n.length) throw Error(n.join(",") + " are invalid types"); return function () { - var r; - r = Array.prototype.slice.call(arguments); - if (r.length !== h.length) + var q; + q = Array.prototype.slice.call(arguments); + if (q.length !== h.length) throw new TypeError("Types: unexpected number of arguments"); - h.forEach(function (p, u) { - var t; - t = r[u]; + h.forEach(function (p, t) { + var u; + u = q[t]; if ("string" === typeof p) - f(p, t, { - index: u + f(p, u, { + index: t }); else if ("object" === typeof p) Object.keys(p).forEach(function (w) { - f(p[w], t[w], { + f(p[w], u[w], { key: w }); }); else throw Error("Types: unexpected type in type array"); }); - return m.apply(this, r); + return m.apply(this, q); }; } l = ("number boolean string object function symbol").split(" "); @@ -50852,8 +50964,8 @@ a000.D9b = function () { g = Object.keys(d).concat(l); return k(["array", "function"], k); }; - }, function (q) { - q.exports = function () { + }, function (r) { + r.exports = function () { var b; for (b = 0; b < arguments.length; b++) { if ("undefined" !== typeof arguments[b] && null !== arguments[b]) @@ -50861,7 +50973,7 @@ a000.D9b = function () { } return null; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -50869,12 +50981,12 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.V8a = b.hwa = void 0; + b.X8a = b.ewa = void 0; c = a(12); f = a(24); k = a(17); l = a(81); - b.hwa = function (d, g, h, m, n, r, p, u, t, w) { + b.ewa = function (d, g, h, m, n, q, p, t, u, w) { var v, x; v = this; @@ -50883,150 +50995,149 @@ a000.D9b = function () { Bitrate: m, DownloadableId: h }; - f.Qb(v, { + f.Tb(v, { track: d, type: g, - Dd: h, + Cd: h, bitrate: m, - zb: n, - Mg: u, - size: r, - Xx: p, + xb: n, + Kg: t, + size: q, + by: p, header: null, - ySb: function (y, z, B, A) { - if (k.Hc(y) || k.Hc(z)) - (v.width = y, v.height = z, k.xa(B) && k.xa(A) && (v.Aea = B / A * y), x.Resolution = (v.width || "") + ":" + (v.height || "")); + CSb: function (y, z, A, B) { + if (k.Jc(y) || k.Jc(z)) + (v.width = y, v.height = z, k.ya(A) && k.ya(B) && (v.uea = A / B * y), x.Resolution = (v.width || "") + ":" + (v.height || "")); }, - MRb: function (y, z, B, A, C, E) { - k.Hc(y) && k.Hc(z) && k.Hc(B) && k.Hc(A) && (v.Wga = y, v.D1 = z, v.C1 = B, v.B1 = A); - k.Hc(C) && k.Hc(E) && (v.a0a = C, v.b0a = E); + PRb: function (y, z, A, B, C, E) { + k.Jc(y) && k.Jc(z) && k.Jc(A) && k.Jc(B) && (v.Qga = y, v.F1 = z, v.E1 = A, v.D1 = B); + k.Jc(C) && k.Jc(E) && (v.Z_a = C, v.$_a = E); }, - framerate: t, - By: w, - Kh: x, + framerate: u, + Ey: w, + kh: x, toJSON: function () { return x; } }); }; - b.V8a = function (d, g, h, m, n) { - if (d == c.PY || d === l.Uh.audio) + b.X8a = function (d, g, h, m, n) { + if (d == c.OY || d === l.Uh.audio) return g; - if (d == c.hI || d === l.Uh.video) + if (d == c.pI || d === l.Uh.video) return h; - if (d == l.Uh.i8) + if (d == l.Uh.e8) return m; - if (d == l.Uh.rta) + if (d == l.Uh.mta) return n; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jaa = "MslReadyNotifierSymbol"; - }, function (q, b) { + b.baa = "MslReadyNotifierSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jxa = "DeviceIdGeneratorSymbol"; - }, function (q, b) { + b.gxa = "DeviceIdGeneratorSymbol"; + }, function (r, b) { function a(c, f, k) { if (null != k) { if (0 < k(c, f)) - throw a.kPa(c, f); + throw a.jPa(c, f); } else if (c.Wk && 0 < c.Wk(f)) - throw a.kPa(c, f); + throw a.jPa(c, f); this.start = c; this.end = f; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gba = void 0; - a.kPa = function (c, f) { + b.aba = void 0; + a.jPa = function (c, f) { return new RangeError("end [" + f + "] must be >= start [" + c + "]"); }; - b.gba = a; - }, function (q, b) { + b.aba = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mxa = "DeviceProviderSymbol"; - }, function (q, b) { + b.jxa = "DeviceProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kwa = "CryptoKeysSymbol"; - }, function (q, b) { + b.Hwa = "CryptoKeysSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kDa = "PboBindDeviceCommandSymbol"; - }, function (q, b) { + b.gDa = "PboBindDeviceCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.WAa = "LogblobSenderSymbol"; - }, function (q, b) { + b.UAa = "LogblobSenderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gCa = "MessageQueueSymbol"; - }, function (q, b) { + b.eCa = "MessageQueueSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.bf = void 0; - q = b.bf || (b.bf = {}); - q.Imb = "bitraterestriction"; - q.KNa = "cdnsel"; - q.bga = "chgstrm"; - q.debug = "debug"; - q.lub = "dlreport"; - q.fia = "endplay"; - q.Nla = "intrplay"; - q.q5 = "midplay"; - q.j0a = "playbackaborted"; - q.PPb = "renderstrmswitch"; - q.Tqa = "repos"; - q.kra = "resumeplay"; - q.ERb = "serversel"; - q.O7 = "startplay"; - q.KTb = "statechanged"; - q.transition = "transition"; - q.xlb = "asereport"; - q.wlb = "aseexception"; - q.amb = "audioswitch"; - q.Jmb = "blockedautoplay"; - q.config = "config"; - q.W1 = "dlreq"; - q.L4b = "ftlProbeError"; - q.rUb = "subtitleerror"; - q.sUb = "subtitleqoe"; - q.hVb = "timedtextrebuffer"; - q.iVb = "timedtextswitch"; - q.tTb = "speedchanged"; - }, function (q, b) { + b.xf = void 0; + r = b.xf || (b.xf = {}); + r.Jmb = "bitraterestriction"; + r.JNa = "cdnsel"; + r.Wfa = "chgstrm"; + r.debug = "debug"; + r.pub = "dlreport"; + r.Zha = "endplay"; + r.Ila = "intrplay"; + r.q5 = "midplay"; + r.h0a = "playbackaborted"; + r.UPb = "renderstrmswitch"; + r.Oqa = "repos"; + r.dra = "resumeplay"; + r.HRb = "serversel"; + r.K7 = "startplay"; + r.MTb = "statechanged"; + r.transition = "transition"; + r.xlb = "asereport"; + r.amb = "audioswitch"; + r.Kmb = "blockedautoplay"; + r.config = "config"; + r.Y1 = "dlreq"; + r.R4b = "ftlProbeError"; + r.tUb = "subtitleerror"; + r.uUb = "subtitleqoe"; + r.jVb = "timedtextrebuffer"; + r.kVb = "timedtextswitch"; + r.wTb = "speedchanged"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.CDa = "PboLogblobCommandSymbol"; - }, function (q, b) { + b.yDa = "PboLogblobCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.HHa = "UuidProviderSymbol"; - }, function (q, b) { + b.DHa = "UuidProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kua = "AppLogSinkSymbol"; - }, function (q, b) { + b.Hua = "AppLogSinkSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.SAa = "LogblobBuilderFactorySymbol"; - }, function (q, b, a) { + b.QAa = "LogblobBuilderFactorySymbol"; + }, function (r, b, a) { var f, k, l, @@ -51035,379 +51146,380 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, + G, D; - function c(G, I, J, H, M, O, L, P, R, K, Q, N, da, na, va, ra, X, ta, za, V) { - var T; - T = this; - this.j = G; - this.io = I; - this.S4a = H; - this.Ql = M; - this.Kna = O; - this.xia = L; - this.te = P; - this.X1 = R; - this.Bf = K; - this.config = Q; - this.pd = N; - this.wa = da; - this.Pa = na; + function c(F, J, K, H, L, Q, I, O, N, M, P, R, ea, pa, va, ta, Y, ra, Ea, V) { + var U; + U = this; + this.j = F; + this.jo = J; + this.U4a = H; + this.Ql = L; + this.Ena = Q; + this.pia = I; + this.ve = O; + this.Z1 = N; + this.Df = M; + this.config = P; + this.qd = R; + this.xa = ea; + this.La = pa; this.platform = va; - this.$n = ra; - this.qU = X; - this.kl = ta; - this.Oq = za; - this.aG = V; - this.SW = []; - this.PIb = this.i4 = this.L1a = 0; - this.uK = []; - this.tea = !1; - this.Gy = function (ja, Ia) { + this.Ip = ta; + this.pU = Y; + this.xk = ra; + this.Pq = Ea; + this.gG = V; + this.RW = []; + this.RIb = this.j4 = this.K1a = 0; + this.yK = []; + this.nea = !1; + this.Jy = function (ma, Ia) { return function (wa) { - var Sa; - Sa = Ia(wa); - if ("number" !== typeof Sa) + var Ta; + Ta = Ia(wa); + if ("number" !== typeof Ta) throw Error("Event " + JSON.stringify(wa) + " does not have movie Id"); - Sa === T.K && ja(wa); + Ta === U.K && ma(wa); }; }; - this.sv = this.Gy(function (ja) { - T.U3a(ja.r4); - }, function (ja) { - return ja.K; + this.yv = this.Jy(function (ma) { + U.V3a(ma.s4); + }, function (ma) { + return ma.K; }); - this.OL = this.Gy(function () { - T.Yob(); - }, function (ja) { - return ja.K; + this.QL = this.Jy(function () { + U.Zob(); + }, function (ma) { + return ma.K; }); - this.R3a = function (ja) { - T.Xd(C.bf.tTb, !1, D.ij | D.xh, { - speedold: Math.floor(1E3 * ja.oldValue), - speed: Math.floor(1E3 * ja.newValue) + this.S3a = function (ma) { + U.fe(C.xf.wTb, !1, D.gj | D.Qh, { + speedold: Math.floor(1E3 * ma.oldValue), + speed: Math.floor(1E3 * ma.newValue) }); }; - this.LN = function () { - T.Xd(C.bf.hVb, !1, D.ij | D.xh, { - track: T.j.Nc.value.Kh + this.MN = function () { + U.fe(C.xf.jVb, !1, D.gj | D.Qh, { + track: U.j.Rc.value.kh }); }; - this.c5a = function (ja) { - ja.newValue && T.Apa && (ja = { - newtrack: ja.newValue.Kh, - oldtrack: T.hXa ? T.hXa.Kh : {}, - switchDelay: n.mk(T.getTime() - T.cGb) - }, T.KF(ja, T.j.Sf.value && T.j.Sf.value.stream, T.j.Ug.value && T.j.Ug.value.stream), T.Xd(C.bf.iVb, !1, D.ij | D.xh, ja)); + this.e5a = function (ma) { + var Ia, + wa; + Ia = U.j.Rc.value; + if ((ma.newValue || Ia && Ia.TF() && !Ia.YT()) && U.vpa) { + wa = {}; + wa.newtrack = ma.newValue ? ma.newValue.kh : null === Ia || void 0 === Ia ? void 0 : Ia.kh; + wa.oldtrack = U.fXa ? U.fXa.kh : {}; + wa.switchDelay = n.mk(U.getTime() - U.fGb); + U.PF(wa, U.j.Tf.value && U.j.Tf.value.stream, U.j.Sg.value && U.j.Sg.value.stream); + U.fe(C.xf.kVb, !1, D.gj | D.Qh, wa); + } }; - this.Zo = function (ja) { - T.Xd(C.bf.Imb, !1, D.ij | D.xh, ja.newValue); + this.$o = function (ma) { + U.fe(C.xf.Jmb, !1, D.gj | D.Qh, ma.newValue); }; - this.fQa = function () { - var ja, + this.cQa = function () { + var ma, Ia, wa; - if (T.j.Uk) + if (U.j.Uk) try { - ja = !1; - T.ba % T.config().vS && !T.j.xK && (ja = !0, T.uK = T.uK.filter(function (Sa) { - return !Sa.X; + ma = !1; + U.ca % U.config().uS && !U.j.BK && (ma = !0, U.yK = U.yK.filter(function (Ta) { + return !Ta.W; })); - if (0 < T.uK.length) { - Ia = T.X1.construct(T.uK, T.j.Wl.ea(r.ma)); - T.uK = []; - Ia.erroronly = ja; + if (0 < U.yK.length) { + Ia = U.Z1.construct(U.yK, U.j.Vl.ea(q.ma)); + U.yK = []; + Ia.erroronly = ma; wa = {}; - n.de(Ia, function (Sa, Ua) { - wa[Sa] = JSON.stringify(Ua); + n.ae(Ia, function (Ta, Ua) { + wa[Ta] = JSON.stringify(Ua); }); - T.Xd(C.bf.lub, !1, D.xh, wa); + U.fe(C.xf.pub, !1, D.Qh, wa); } - } catch (Sa) { - T.log.error("Exception in dlreport.", Sa); + } catch (Ta) { + U.log.error("Exception in dlreport.", Ta); } }; - this.AT = function () { - var ja; - ja = T.j.ac.value; - return ja === z.Bb.yc ? "playing" : ja === z.Bb.Wh ? "paused" : ja === z.Bb.au ? "ended" : "waiting"; + this.yT = function () { + var ma; + ma = U.j.bc.value; + return ma === z.Eb.Ac ? "playing" : ma === z.Eb.Wh ? "paused" : ma === z.Eb.fu ? "ended" : "waiting"; }; this.q5 = function () { - var ja, + var ma, Ia, wa; - if (T.j.state.value == z.Gb.$d) { - wa = T.h0a(); - T.config().Sqa && (wa.avtp = T.hH.Is().$sa, (null === (ja = T.j.Ma) || void 0 === ja ? 0 : ja.zA) && T.T3(wa)); - wa.mediabuffered = null === (Ia = T.j.Cg) || void 0 === Ia ? void 0 : Ia.R2(); - wa.midplayseq = T.PIb++; - wa.prstate = T.AT(); - wa.paustate = T.j.paused.value; - T.config().ARb && T.t4a("midplay"); - T.config().Iv && T.Cla(wa); - T.zla(wa); - T.Ala(wa); - T.Bla(wa); - T.Xd(C.bf.q5, !1, D.ij | D.xh | D.cD | D.JP, wa); - } - }; - this.QHa = /-?l(\d\d)/i; - this.qQa = this.Gy(function (ja) { - T.uK.push(T.X1.Mpb(ja.response)); - }, function (ja) { - return ja.K; - }); - this.W1 = this.Gy(function (ja) { + if (U.j.state.value == z.Jb.Yd) { + wa = U.f0a(); + U.config().Nqa && (wa.avtp = U.pH.Os().Vsa, (null === (ma = U.j.Pa) || void 0 === ma ? 0 : ma.BA) && U.U3(wa)); + wa.mediabuffered = null === (Ia = U.j.Bg) || void 0 === Ia ? void 0 : Ia.S2(); + wa.midplayseq = U.RIb++; + wa.prstate = U.yT(); + wa.paustate = U.j.paused.value; + U.config().DRb && U.v4a("midplay"); + U.config().Ov && U.xla(wa); + U.ula(wa); + U.vla(wa); + U.wla(wa); + U.fe(C.xf.q5, !1, D.gj | D.Qh | D.eD | D.JP, wa); + } + }; + this.MHa = /-?l(\d\d)/i; + this.nQa = this.Jy(function (ma) { + U.yK.push(U.Z1.Npb(ma.response)); + }, function (ma) { + return ma.K; + }); + this.Y1 = this.Jy(function (ma) { var Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za; - ja = ja.response; - Ia = ja.request; - wa = ja.request.Sy; - Sa = Ia.track; - if (Sa) { - Ua = !ja.X && ja.oa != p.M.$z; - $a = Sa.type; - Za = ja.Rl; - if (Ua || T.io.$ma) { + ma = ma.response; + Ia = ma.request; + wa = ma.request.Vy; + Ta = Ia.track; + if (Ta) { + Ua = !ma.W && ma.oa != p.L.aA; + ab = Ta.type; + Za = ma.Rl; + if (Ua || U.jo.Uma) { wa = { - dltype: $a, + dltype: ab, url1: Ia.url, - url2: ja.url || "", - cdnid: Ia.Pc && Ia.Pc.id, - tresp: n.mk(Za.Oh - Za.Np), - brecv: n.cSa(Za.Fga), - trecv: n.mk(Za.fo - Za.Oh), + url2: ma.url || "", + cdnid: Ia.pc && Ia.pc.id, + tresp: n.mk(Za.Nh - Za.Qp), + brecv: n.bSa(Za.zga), + trecv: n.mk(Za.ho - Za.Nh), sbr: wa && wa.bitrate }; - ja.fr && (wa.range = ja.fr); - switch ($a) { + ma.gr && (wa.range = ma.gr); + switch (ab) { case g.Uh.audio: - wa.adlid = Ia.stream.Dd; + wa.adlid = Ia.stream.Cd; break; case g.Uh.video: - wa.vdlid = Ia.stream.Dd; + wa.vdlid = Ia.stream.Cd; break; - case g.Uh.i8: - wa.ttdlid = Sa.Dd; + case g.Uh.e8: + wa.ttdlid = Ta.Cd; } - (Ia = E.aka(ja.oa)) && (wa.nwerr = Ia); - ja.lk && (wa.httperr = ja.lk); - T.Xd(C.bf.W1, Ua, D.xh, wa); + (Ia = E.Vja(ma.oa)) && (wa.nwerr = Ia); + ma.lk && (wa.httperr = ma.lk); + U.fe(C.xf.Y1, Ua, D.Qh, wa); } } - }, function (ja) { - return ja.K; + }, function (ma) { + return ma.K; }); - this.El = function () { - var ja; - ja = {}; - T.jR(ja); - T.Xd(C.bf.Jmb, !1, D.ij | D.cD, ja); + this.Cl = function () { + var ma; + ma = {}; + U.lR(ma); + U.fe(C.xf.Kmb, !1, D.gj | D.eD, ma); }; - this.qOa = this.Gy(function (ja) { + this.oOa = this.Jy(function (ma) { var Ia, wa; - Ia = ja.response.Rl; - ja = r.uc(Ia.Oh); - wa = r.uc(Ia.fo); - Ia = t.ca(Ia.Fga || 0); - Ia.KWa() || Ia.bma() || (ja = new w.gba(ja, wa), T.hH.kkb(new v.rxa(ja, Ia))); - }, function (ja) { - return ja.K; - }); - this.O_a = function (ja) { + Ia = ma.response.Rl; + ma = q.wc(Ia.Nh); + wa = q.wc(Ia.ho); + Ia = u.da(Ia.zga || 0); + Ia.IWa() || Ia.Wla() || (ma = new w.aba(ma, wa), U.pH.kkb(new v.oxa(ma, Ia))); + }, function (ma) { + return ma.K; + }); + this.M_a = function (ma) { var Ia; - Ia = ja.newValue; - ja.Wu && ja.Wu.toa && Ia || Ia == T.yma || (T.ITb(T.yma, Ia), T.yma = Ia); + Ia = ma.newValue; + ma.av && ma.av.ooa && Ia || Ia == U.sma || (U.KTb(U.sma, Ia), U.sma = Ia); }; - this.Bx = function (ja) { + this.Gx = function (ma) { function Ia(wa) { - var Sa; - if (T.j.Ib && T.j.Ib.sourceBuffers) { - Sa = T.j.Ib.sourceBuffers.filter(function (Ua) { + var Ta; + if (U.j.Kb && U.j.Kb.sourceBuffers) { + Ta = U.j.Kb.sourceBuffers.filter(function (Ua) { return Ua.type === wa; }).pop(); - if (Sa) + if (Ta) return { - busy: Sa.hi(), - updating: Sa.updating(), - ranges: Sa.S2() + busy: Ta.hi(), + updating: Ta.updating(), + ranges: Ta.T2() }; } } - T.nz = "rebuffer"; - ja = { - cause: ja.cause + U.qz = "rebuffer"; + ma = { + cause: ma.cause }; - ja.cause && ja.cause === l.Maa && (ja.mediaTime = T.j.mediaTime.value, ja.buf_audio = Ia(k.PY), ja.buf_video = Ia(k.hI)); - T.Nla(T.SW[z.Bb.yc] || 0, T.SW[z.Bb.Wh] || 0, ja); - T.AH = T.getTime(); - y.fg(T.PR); + ma.cause && ma.cause === l.Faa && (ma.mediaTime = U.j.mediaTime.value, ma.buf_audio = Ia(k.OY), ma.buf_video = Ia(k.pI)); + U.Ila(U.RW[z.Eb.Ac] || 0, U.RW[z.Eb.Wh] || 0, ma); + U.IH = U.getTime(); + y.fg(U.QR); }; - this.o5a = function (ja) { + this.q5a = function (ma) { var Ia; - ja = ja.oldValue; - Ia = T.getTime(); - ja === z.Bb.Jg ? T.SW = [] : T.SW[ja] = (T.SW[ja] || 0) + (Ia - T.YFb); - T.YFb = Ia; - }; - this.Zl = function (ja) { - ja.skip && (T.dn = !0); - switch (ja.cause) { - case z.Jd.Iw: - case z.Jd.xI: - T.nz && T.AH && T.KMb(T.getTime() - T.AH, T.nz); - T.nz = "repos"; - T.Tqa(ja.Moa, ja.Ug, ja.Sf); - T.AH = T.getTime(); - y.fg(T.PR); + ma = ma.oldValue; + Ia = U.getTime(); + ma === z.Eb.Hg ? U.RW = [] : U.RW[ma] = (U.RW[ma] || 0) + (Ia - U.aGb); + U.aGb = Ia; + }; + this.Xl = function (ma) { + ma.skip && (U.cn = !0); + switch (ma.cause) { + case z.me.mA: + case z.me.NP: + U.qz && U.IH && U.NMb(U.getTime() - U.IH, U.qz); + U.qz = "repos"; + U.Oqa(ma.Hoa, ma.Sg, ma.Tf); + U.IH = U.getTime(); + y.fg(U.QR); break; - case z.Jd.tY: - (T.nz = "force_rebuffer", T.AH = T.getTime(), y.fg(T.PR)); + case z.me.tY: + (U.qz = "force_rebuffer", U.IH = U.getTime(), y.fg(U.QR)); } }; - this.PR = function () { - var ja; - if (T.AH && T.j.ac.value !== z.Bb.Jg) { - ja = T.getTime() - T.AH; - T.kra(ja, T.dn); - T.tma && T.tma != T.j.Bd.value && T.Ylb(); - T.AH = void 0; - T.nz = void 0; - T.dn = void 0; + this.QR = function () { + var ma; + if (U.IH && U.j.bc.value !== z.Eb.Hg) { + ma = U.getTime() - U.IH; + U.dra(ma, U.cn); + U.nma && U.nma != U.j.Sd.value && U.Ylb(); + U.IH = void 0; + U.qz = void 0; + U.cn = void 0; } }; - this.Wfa = this.Gy(function () { - T.j.ac.value === z.Bb.yc && (T.j.ac.removeListener(T.Wfa), T.ot()); + this.Qfa = this.Jy(function () { + U.j.bc.value === z.Eb.Ac && (U.j.bc.removeListener(U.Qfa), U.tt()); }, function () { - return T.j.K; + return U.j.K; }); - this.xR = function (ja) { - T.UFb = T.getTime(); - T.tma = ja.oldValue; + this.yR = function (ma) { + U.XFb = U.getTime(); + U.nma = ma.oldValue; }; - this.Az = function (ja) { - T.cGb = T.getTime(); - T.hXa = ja.oldValue; + this.Dz = function (ma) { + U.fGb = U.getTime(); + U.fXa = ma.oldValue; }; - this.CMa = function (ja) { - T.TFb = ja.oldValue; + this.CMa = function (ma) { + U.WFb = ma.oldValue; }; - this.ot = function () { - T.Apa || (T.Apa = !0, T.O7(!1), T.PDb(), T.config().RVa && (T.Z3 = pb.setTimeout(function () { - T.Ql.flush(!1).catch(function () { - return T.log.warn("failed to flush logbatcher on initialLogFlushTimeout"); + this.tt = function () { + U.vpa || (U.vpa = !0, U.K7(!1), U.TDb(), U.config().PVa && (U.a4 = pb.setTimeout(function () { + U.Ql.flush(!1).catch(function () { + return U.log.warn("failed to flush logbatcher on initialLogFlushTimeout"); }); - T.Z3 = void 0; - }, T.config().RVa))); + U.a4 = void 0; + }, U.config().PVa))); }; this.dg = function () { - T.Z3 && (pb.clearTimeout(T.Z3), T.Z3 = void 0); - if (T.config().vS || T.config().WA) - (T.Lha && (pb.clearInterval(T.Lha), T.Lha = void 0), T.fQa()); - T.L5a && T.L5a(); - T.Apa ? T.fia(!!T.j.Zk) : T.j.Zk ? T.O7(!0) : T.io.background || T.LMb(); - T.Xd = k.kj; - }; - this.lOa = this.Gy(function () { - T.dg(); - }, function (ja) { - return ja.movieId; - }); - this.G6a = function (ja) { - ja.oldValue && ja.Wu && ja.Wu.YNa && T.bga(ja.oldValue, ja.newValue, ja.Wu.YNa, ja.Wu.pmb); - }; - this.B0a = function (ja) { + U.a4 && (pb.clearTimeout(U.a4), U.a4 = void 0); + if (U.config().uS || U.config().YA) + (U.Fha && (pb.clearInterval(U.Fha), U.Fha = void 0), U.cQa()); + U.N5a && U.N5a(); + U.vpa ? U.Zha(!!U.j.Zk) : U.j.Zk ? U.K7(!0) : U.jo.background || U.OMb(); + U.fe = k.Yj; + }; + this.jOa = this.Jy(function () { + U.dg(); + }, function (ma) { + return ma.movieId; + }); + this.J6a = function (ma) { + ma.oldValue && ma.av && ma.av.WNa && U.Wfa(ma.oldValue, ma.newValue, ma.av.WNa, ma.av.pmb); + }; + this.B0a = function (ma) { var Ia; - if (ja.newValue) { - Ia = ja.newValue.stream; - T.Ama != Ia && (T.Ama && T.OPb(T.Ama, Ia, ja.newValue.Fq.startTime), T.Ama = Ia); + if (ma.newValue) { + Ia = ma.newValue.stream; + U.uma != Ia && (U.uma && U.TPb(U.uma, Ia, ma.newValue.Hq.startTime), U.uma = Ia); } }; - this.pv = this.Gy(function (ja) { - function Ia(wa, Sa) { + this.vv = this.Jy(function (ma) { + function Ia(wa, Ta) { var Ua; - if (!wa || wa.Vma !== Sa.location) { + if (!wa || wa.Pma !== Ta.location) { Ua = { - Vma: Sa.location, - xXa: Sa.locationlv, - CRb: Sa.serverid, - QG: Sa.servername + Pma: Ta.location, + vXa: Ta.locationlv, + FRb: Ta.serverid, + ZG: Ta.servername }; - T.Ynb(wa, Sa); + U.Znb(wa, Ta); return Ua; } } - if ("audio" === ja.mediatype) { - if (ja = Ia(T.SFb, ja)) - T.SFb = ja; - } else if (ja = Ia(T.gU, ja)) - T.gU = ja; - }, function (ja) { - return T.j.Qq(ja.segmentId).K; + if ("audio" === ma.mediatype) { + if (ma = Ia(U.VFb, ma)) + U.VFb = ma; + } else if (ma = Ia(U.fU, ma)) + U.fU = ma; + }, function (ma) { + return U.j.wp(ma.segmentId).K; }); - this.lN = this.Gy(function (ja) { + this.mN = this.Jy(function (ma) { var Ia, wa; - Ia = ja.mediatype; - wa = ja.reason; - "video" === Ia ? "serverswitchaway" === wa ? (T.bj.summary.M6a++, T.bj.N4 = T.wa.Ue.ea(r.ma)) : "serverswitchback" === wa && (T.bj.summary.N6a++, T.bj.N4 && (T.bj.summary.O6a.push(T.wa.Ue.ea(r.ma) - T.bj.N4), T.bj.N4 = void 0)) : "audio" === Ia && ("serverswitchaway" === wa ? (T.bj.summary.rMa++, T.bj.J4 = T.wa.Ue.ea(r.ma)) : "serverswitchback" === wa && (T.bj.summary.sMa++, T.bj.J4 && (T.bj.summary.tMa.push(T.wa.Ue.ea(r.ma) - T.bj.J4), T.bj.J4 = void 0))); - T.Xd(C.bf.ERb, !1, D.ij | D.xh, { - mediatype: ja.mediatype, - server: ja.server, - selreason: ja.reason, - location: ja.location, - bitrate: ja.bitrate, - confidence: ja.confidence, - throughput: ja.throughput, - oldserver: ja.oldserver - }); - }, function (ja) { - return T.j.Qq(ja.segmentId).K; - }); - this.OJ = function (ja) { - T.Xd(C.bf.xlb, !1, D.xh, { - strmsel: ja.strmsel - }); - }; - this.pR = function (ja) { - T.Xd(C.bf.wlb, !1, D.xh, { - msg: ja.msg - }); - }; - this.GN = function (ja) { - ja = u.sN(ja); - ja.details && (ja.details = JSON.stringify(ja.details)); - T.Xd(C.bf.rUb, !0, D.ij | D.nI | D.TX, ja); - }; - this.tea = ta.Xta || ta.E8 || ta.aSa; - this.hH = H(); - this.log = h.Ih(G, "LogblobBuilder"); - this.yma = G.paused.value; - this.K = I.K; - this.ba = this.io.ba; - this.bj = { + Ia = ma.mediatype; + wa = ma.reason; + "video" === Ia ? "serverswitchaway" === wa ? (U.$i.summary.P6a++, U.$i.N4 = U.xa.We.ea(q.ma)) : "serverswitchback" === wa && (U.$i.summary.Q6a++, U.$i.N4 && (U.$i.summary.R6a.push(U.xa.We.ea(q.ma) - U.$i.N4), U.$i.N4 = void 0)) : "audio" === Ia && ("serverswitchaway" === wa ? (U.$i.summary.rMa++, U.$i.J4 = U.xa.We.ea(q.ma)) : "serverswitchback" === wa && (U.$i.summary.sMa++, U.$i.J4 && (U.$i.summary.tMa.push(U.xa.We.ea(q.ma) - U.$i.J4), U.$i.J4 = void 0))); + U.fe(C.xf.HRb, !1, D.gj | D.Qh, { + mediatype: ma.mediatype, + server: ma.server, + selreason: ma.reason, + location: ma.location, + bitrate: ma.bitrate, + confidence: ma.confidence, + throughput: ma.throughput, + oldserver: ma.oldserver + }); + }, function (ma) { + return U.j.wp(ma.segmentId).K; + }); + this.RJ = function (ma) { + U.fe(C.xf.xlb, !1, D.Qh, { + strmsel: ma.strmsel + }); + }; + this.HN = function (ma) { + ma = t.tN(ma); + ma.details && (ma.details = JSON.stringify(ma.details)); + U.fe(C.xf.tUb, !0, D.gj | D.uI | D.SX, ma); + }; + this.nea = ra.Tta || ra.z8 || ra.$Ra; + this.pH = H(); + this.log = h.Ih(F, "LogblobBuilder"); + this.sma = F.paused.value; + this.K = J.K; + this.ca = this.jo.ca; + this.$i = { summary: { - M6a: 0, - N6a: 0, - O6a: [], + P6a: 0, + Q6a: 0, + R6a: [], rMa: 0, sMa: 0, tMa: [] @@ -51416,990 +51528,966 @@ a000.D9b = function () { J4: void 0 }; this.mb(); - J && this.U3a(); + K && this.V3a(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.TAa = void 0; + b.RAa = void 0; f = a(53); k = a(12); - l = a(62); + l = a(63); d = a(47); g = a(81); h = a(7); m = a(21); n = a(24); - r = a(5); + q = a(4); p = a(3); - u = a(29); - t = a(49); - w = a(442); - v = a(1021); + t = a(29); + u = a(49); + w = a(446); + v = a(1023); x = a(11); - y = a(61); + y = a(62); z = a(18); - B = a(17); - A = a(1022); - C = a(448); + A = a(17); + B = a(1024); + C = a(452); E = a(181); - F = a(128); + G = a(127); c.prototype.mb = function () { - this.j.addEventListener(z.W.sv, this.sv); - this.j.addEventListener(z.W.OL, this.OL); - this.j.addEventListener(z.W.pv, this.pv); - this.j.addEventListener(z.W.lN, this.lN); - this.j.addEventListener(z.W.dg, this.lOa); - this.j.addEventListener(z.W.iF, this.W1, k.dZ); - if (this.config().vS || this.config().WA) - (this.j.addEventListener(z.W.iF, this.qQa), this.Lha = pb.setInterval(this.fQa, this.config().xub)); - this.config().Sqa && this.j.addEventListener(z.W.iF, this.qOa); - }; - c.prototype.U3a = function (G) { - this.aZa || (this.j.ac.value !== z.Bb.yc || (void 0 === G ? 0 : G) ? this.j.ac.addListener(this.Wfa) : this.ot(), this.j.Rk.addListener(this.c5a), this.j.Nc.addListener(this.Az), this.j.Bd.addListener(this.xR), this.j.dk.addListener(this.CMa), this.j.paused.addListener(this.O_a), this.j.Sf.addListener(this.B0a), this.j.ac.addListener(this.PR), this.j.ac.addListener(this.o5a), this.j.Xf.addListener(this.G6a), this.j.playbackRate.addListener(this.R3a), this.j.addEventListener(z.W.El, this.El), this.j.addEventListener(z.W.pR, this.pR), this.j.addEventListener(z.W.OJ, this.OJ), this.j.addEventListener(z.W.GN, this.GN), this.j.addEventListener(z.W.Bx, this.Bx), this.j.addEventListener(z.W.Zl, this.Zl), this.j.addEventListener(z.W.LN, this.LN), this.io.Zo && this.io.Zo.addListener(this.Zo), this.aZa = !0); - }; - c.prototype.Yob = function () { + this.j.addEventListener(z.Z.yv, this.yv); + this.j.addEventListener(z.Z.QL, this.QL); + this.j.addEventListener(z.Z.vv, this.vv); + this.j.addEventListener(z.Z.mN, this.mN); + this.j.addEventListener(z.Z.dg, this.jOa); + this.j.addEventListener(z.Z.lF, this.Y1, k.cZ); + if (this.config().uS || this.config().YA) + (this.j.addEventListener(z.Z.lF, this.nQa), this.Fha = pb.setInterval(this.cQa, this.config().Bub)); + this.config().Nqa && this.j.addEventListener(z.Z.lF, this.oOa); + }; + c.prototype.V3a = function (F) { + this.YYa || (this.j.bc.value !== z.Eb.Ac || (void 0 === F ? 0 : F) ? this.j.bc.addListener(this.Qfa) : this.tt(), this.j.Rk.addListener(this.e5a), this.j.Rc.addListener(this.Dz), this.j.Sd.addListener(this.yR), this.j.ek.addListener(this.CMa), this.j.paused.addListener(this.M_a), this.j.Tf.addListener(this.B0a), this.j.bc.addListener(this.QR), this.j.bc.addListener(this.q5a), this.j.og.addListener(this.J6a), this.j.playbackRate.addListener(this.S3a), this.j.addEventListener(z.Z.Cl, this.Cl), this.j.addEventListener(z.Z.RJ, this.RJ), this.j.addEventListener(z.Z.HN, this.HN), this.j.addEventListener(z.Z.Gx, this.Gx), this.j.addEventListener(z.Z.Xl, this.Xl), this.j.addEventListener(z.Z.MN, this.MN), this.jo.$o && this.jo.$o.addListener(this.$o), this.YYa = !0); + }; + c.prototype.Zob = function () { this.dg(); - this.aZa && (this.j.removeEventListener(z.W.sv, this.sv), this.j.removeEventListener(z.W.OL, this.OL), this.j.removeEventListener(z.W.pv, this.pv), this.j.removeEventListener(z.W.lN, this.lN), this.j.Rk.removeListener(this.c5a), this.j.Nc.removeListener(this.Az), this.j.Bd.removeListener(this.xR), this.j.dk.removeListener(this.CMa), this.j.paused.removeListener(this.O_a), this.j.Sf.removeListener(this.B0a), this.j.ac.removeListener(this.PR), this.j.ac.removeListener(this.Wfa), this.j.ac.removeListener(this.o5a), this.j.Xf.removeListener(this.G6a), this.j.playbackRate.removeListener(this.R3a), this.j.removeEventListener(z.W.iF, this.W1), this.j.removeEventListener(z.W.dg, this.lOa), this.j.removeEventListener(z.W.El, this.El), this.j.removeEventListener(z.W.pR, this.pR), this.j.removeEventListener(z.W.OJ, this.OJ), this.j.removeEventListener(z.W.GN, this.GN), this.j.removeEventListener(z.W.Bx, this.Bx), this.j.removeEventListener(z.W.Zl, this.Zl), this.j.removeEventListener(z.W.LN, this.LN), this.io.Zo && this.io.Zo.removeListener(this.Zo), this.j.removeEventListener(z.W.iF, this.qQa), this.j.removeEventListener(z.W.iF, this.qOa)); + this.YYa && (this.j.removeEventListener(z.Z.yv, this.yv), this.j.removeEventListener(z.Z.QL, this.QL), this.j.removeEventListener(z.Z.vv, this.vv), this.j.removeEventListener(z.Z.mN, this.mN), this.j.Rk.removeListener(this.e5a), this.j.Rc.removeListener(this.Dz), this.j.Sd.removeListener(this.yR), this.j.ek.removeListener(this.CMa), this.j.paused.removeListener(this.M_a), this.j.Tf.removeListener(this.B0a), this.j.bc.removeListener(this.QR), this.j.bc.removeListener(this.Qfa), this.j.bc.removeListener(this.q5a), this.j.og.removeListener(this.J6a), this.j.playbackRate.removeListener(this.S3a), this.j.removeEventListener(z.Z.lF, this.Y1), this.j.removeEventListener(z.Z.dg, this.jOa), this.j.removeEventListener(z.Z.Cl, this.Cl), this.j.removeEventListener(z.Z.RJ, this.RJ), this.j.removeEventListener(z.Z.HN, this.HN), this.j.removeEventListener(z.Z.Gx, this.Gx), this.j.removeEventListener(z.Z.Xl, this.Xl), this.j.removeEventListener(z.Z.MN, this.MN), this.jo.$o && this.jo.$o.removeListener(this.$o), this.j.removeEventListener(z.Z.lF, this.nQa), this.j.removeEventListener(z.Z.lF, this.oOa)); }; - c.prototype.FVa = function (G, I) { - var J, + c.prototype.DVa = function (F, J) { + var K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, - V; - if (this.config().Iv) + Y, + ra, + Ea; + if (this.config().Ov) try { - J = {}; - H = this.pd.getStats(void 0, void 0, G.K); - M = G.M2(); - O = H.gH.kpb || []; - J.attempts = H.E6 || 0; - J.num_completed_tasks = O.length; - L = this.te.Iwb; - P = {}; - R = F.Yj.HN; - K = F.Yj.Cs; - Q = F.Yj.Nfa; - H.al && (P.scheduled = H.al - M); - N = G.sa; - N && B.xa(N.FG) && (P.preauthsent = N.FG - G.loadTime, P.preauthreceived = N.XM - G.loadTime); - da = O.filter(function (T) { - return "manifest" === T.type; + K = {}; + H = this.qd.getStats(void 0, void 0, F.K); + L = F.N2(); + Q = H.oH.lpb || []; + K.attempts = H.B6 || 0; + K.num_completed_tasks = Q.length; + I = this.ve.Owb; + O = {}; + N = G.Zj.IN; + M = G.Zj.Gs; + P = G.Zj.Gfa; + H.al && (O.scheduled = H.al - L); + R = F.sa; + R && A.ya(R.MG) && (O.preauthsent = R.MG - F.loadTime, O.preauthreceived = R.XM - F.loadTime); + ea = Q.filter(function (V) { + return "manifest" === V.type; }); - J.mf_succ = da.filter(L("status", R)).length; - J.mf_fail = da.filter(L("status", K)).length; - na = G.bd; - B.Hc(na.lg) && 0 > na.lg && G.loadTime && (P.ldlsent = na.lc, P.ldlreceived = na.lr); - va = O.filter(function (T) { - return "ldl" === T.type; + K.mf_succ = ea.filter(I("status", N)).length; + K.mf_fail = ea.filter(I("status", M)).length; + pa = F.bd; + A.Jc(pa.lg) && 0 > pa.lg && F.loadTime && (O.ldlsent = pa.lc, O.ldlreceived = pa.lr); + va = Q.filter(function (V) { + return "ldl" === V.type; }); - J.ldl_succ = va.filter(L("status", R)).length; - J.ldl_fail = va.filter(L("status", K)).length; + K.ldl_succ = va.filter(I("status", N)).length; + K.ldl_fail = va.filter(I("status", M)).length; H = !0; - M = []; - "notcached" === G.RE && (H = !1, M.push("Missing cached manifest")); - this.config().HS || (H = !1, M.push("LDL prefetch disabled")); - ra = va.filter(L("status", Q)).length; - this.config().HS && 0 === ra && (!P.ldlreceived || 0 <= P.ldlreceived) && (H = !1, M.push("LDL received after start")); - if (this.config().e2) { - X = G.OT && G.OT.stats; - if (X) { - if ((X.mxb && (P.headersent = X.mxb - G.loadTime), X.eGb && (P.headerreceived = X.eGb - G.loadTime), X.B6 && (P.prebuffstarted = X.B6 - G.loadTime), X.Opa && (P.prebuffcomplete = X.Opa - G.loadTime), !P.prebuffcomplete || 0 <= P.prebuffcomplete)) - (H = !1, M.push("Missing cached media")); - } else if (I.isPrefetchItem) { - ta = I.prefetchedAudioMs / I.bcABufferLevelMs; - if (1 > I.prefetchedVideoMs / I.bcVBufferLevelMs || 1 > ta) - (H = !1, M.push("Insufficient media fetched")); - } else (H = !1, M.push("aseStats not initialized")); - } - za = O.filter(function (T) { - return "getHeaders" === T.type; + L = []; + "notcached" === F.SE && (H = !1, L.push("Missing cached manifest")); + this.config().GS || (H = !1, L.push("LDL prefetch disabled")); + ta = va.filter(I("status", P)).length; + this.config().GS && 0 === ta && (!O.ldlreceived || 0 <= O.ldlreceived) && (H = !1, L.push("LDL received after start")); + if (this.config().RQa) + if (J.isPrefetchItem) { + Y = J.prefetchedAudioMs / J.bcABufferLevelMs; + if (1 > J.prefetchedVideoMs / J.bcVBufferLevelMs || 1 > Y) + (H = !1, L.push("Insufficient media fetched")); + } else (H = !1, L.push("aseStats not initialized")); + ra = Q.filter(function (V) { + return "getHeaders" === V.type; }); - J.header_succ = za.filter(L("status", R)).length; - J.header_fail = za.filter(L("status", K)).length; - V = O.filter(function (T) { - return "getMedia" === T.type; + K.header_succ = ra.filter(I("status", N)).length; + K.header_fail = ra.filter(I("status", M)).length; + Ea = Q.filter(function (V) { + return "getMedia" === V.type; }); - J.media_succ = V.filter(L("status", R)).length; - J.media_fail = V.filter(L("status", K)).length; - J.hm_succ = J.header_succ + J.media_succ; - J.hm_fail = J.header_fail + J.media_fail; - n.Qb(I, J, { + K.media_succ = Ea.filter(I("status", N)).length; + K.media_fail = Ea.filter(I("status", M)).length; + K.hm_succ = K.header_succ + K.media_succ; + K.hm_fail = K.header_fail + K.media_fail; + n.Tb(J, K, { prefix: "pr_" }); - this.Oq.IS && (I.eventlist_version = 1, I.eventlist = this.aG.YTa(G)); - (I.prefetchCompleted = H) || (I.prefetchFailed = M, n.Qb(I, P, { + this.Pq.HS && (J.eventlist_version = 1, J.eventlist = this.gG.ZTa(F)); + (J.prefetchCompleted = H) || (J.prefetchFailed = L, n.Tb(J, O, { prefix: "pe_" })); - this.Cla(I); - } catch (T) { - this.log.warn("error in collecting video prepare data", T); + this.xla(J); + } catch (V) { + this.log.warn("error in collecting video prepare data", V); } }; - c.prototype.O7 = function (G) { - var I, - J, + c.prototype.K7 = function (F) { + var J, + K, H, - M, - O, L, - P, - R; - J = {}; + Q, + I, + O, + N; + K = {}; try { - J = { - playdelaysdk: n.mk(this.j.Ifa()), - applicationPlaydelay: n.mk(this.j.onb()), - playdelay: n.mk(this.j.Anb()), + K = { + playdelaysdk: n.mk(this.j.Bfa()), + applicationPlaydelay: n.mk(this.j.pnb()), + playdelay: n.mk(this.j.Bnb()), trackid: this.j.Ek, - bookmark: n.mk(this.j.NE || 0), + bookmark: n.mk(this.j.OE || 0), pbnum: this.j.index, endianness: d.eTa() }; - this.jR(J); - this.config().Dvb && (J.transitiontime = this.j.dm, J.uiplaystarttime = this.j.kb.x8, J.playbackrequestedat = this.j.Wl.ea(r.ma), J.clockgettime = this.getTime(), J.clockgetpreciseepoch = this.wa.Ue.ea(r.ma), J.clockgetpreciseappepoch = this.Pa.TF.ea(r.ma), J.absolutestarttime = this.j.M2(), J.relativetime = this.j.kka()); - this.L2(J, "startplay"); - } catch (K) { - this.log.error("error in startplay log fields", K); - } - this.j.El && (J.blocked = this.j.El); - J.configversion = this.config().version; - this.config().endpoint || (J.configendpoint = "error"); - this.AVa(J); - if (this.config().N8 && this.j.kb.P6a) { + this.lR(K); + this.config().Jvb && (K.transitiontime = this.j.bm, K.uiplaystarttime = this.j.kb.t8, K.playbackrequestedat = this.j.Vl.ea(q.ma), K.clockgettime = this.getTime(), K.clockgetpreciseepoch = this.xa.We.ea(q.ma), K.clockgetpreciseappepoch = this.La.ZF.ea(q.ma), K.absolutestarttime = this.j.N2(), K.relativetime = this.j.gka()); + this.M2(K, "startplay"); + } catch (M) { + this.log.error("error in startplay log fields", M); + } + this.j.Cl && (K.blocked = this.j.Cl); + K.configversion = this.config().version; + this.config().endpoint || (K.configendpoint = "error"); + this.yVa(K); + if (this.config().I8 && this.j.kb.S6a) { H = {}; - Object.entries(this.j.kb.P6a).reverse().forEach(function (K) { - var Q; - Q = aa(K); - K = Q.next().value; - Q = Q.next().value; - H[K.toLowerCase()] = Q; - }); - J.vui = H; - } - B.xa(this.j.bNa) && (J.bookmarkact = n.mk(this.j.bNa)); - M = this.j.bd.at && this.j.bd.ats ? this.j.bd.at - this.j.bd.ats : void 0; - M && (J.nccpat = M); - (M = this.j.bd.lr && this.j.bd.lc ? this.j.bd.lr - this.j.bd.lc : void 0) && (J.nccplt = M); - (M = this.Dub()) && (J.downloadables = M); - pb._cad_global.device && B.Hc(pb._cad_global.device.nia) && (J.esnSource = pb._cad_global.device.nia); - n.Qb(J, this.$n, { + Object.entries(this.j.kb.S6a).reverse().forEach(function (M) { + var P; + P = aa(M); + M = P.next().value; + P = P.next().value; + H[M.toLowerCase()] = P; + }); + K.vui = H; + } + A.ya(this.j.bNa) && (K.bookmarkact = n.mk(this.j.bNa)); + L = this.j.bd.at && this.j.bd.ats ? this.j.bd.at - this.j.bd.ats : void 0; + L && (K.nccpat = L); + (L = this.j.bd.lr && this.j.bd.lc ? this.j.bd.lr - this.j.bd.lc : void 0) && (K.nccplt = L); + (L = this.Hub()) && (K.downloadables = L); + pb._cad_global.device && A.Jc(pb._cad_global.device.gia) && (K.esnSource = pb._cad_global.device.gia); + n.Tb(K, this.Ip, { prefix: "pi_" }); - (M = x.Qe && x.Qe.connection && x.Qe.connection.type) && (J.nettype = M); - this.j.Dn && this.j.Dn.initBitrate && (J.initvbitrate = this.j.Dn.initBitrate); - this.j.Dn && this.j.Dn.selector && (J.selector = this.j.Dn.selector); - J.fullDlreports = this.j.NQa; - if (this.j.state.value >= z.Gb.$d) + (L = x.Re && x.Re.connection && x.Re.connection.type) && (K.nettype = L); + this.j.Dn && this.j.Dn.initBitrate && (K.initvbitrate = this.j.Dn.initBitrate); + this.j.Dn && this.j.Dn.selector && (K.selector = this.j.Dn.selector); + K.fullDlreports = this.j.LQa; + if (this.j.state.value >= z.Jb.Yd) try { - O = this.j.ws(); - if (O) { - this.maxBitrate = d.n9(O.map(function (K) { - return K.bitrate; + Q = this.j.As(); + if (Q) { + this.maxBitrate = d.i9(Q.map(function (M) { + return M.bitrate; })); - this.vYa = d.n9(O.map(function (K) { - return K.height; + this.sYa = d.i9(Q.map(function (M) { + return M.height; })); - L = 0 < O.length ? A.jYa(O, function (K) { - return K.bitrate; + I = 0 < Q.length ? B.gYa(Q, function (M) { + return M.bitrate; }) : void 0; - J.maxbitrate = this.maxBitrate; - J.maxresheight = this.vYa; + K.maxbitrate = this.maxBitrate; + K.maxresheight = this.sYa; } - } catch (K) { - this.log.error("Exception computing max bitrate", K); + } catch (M) { + this.log.error("Exception computing max bitrate", M); } try { - P = d.zT(); - P && (J.pdltime = P); - } catch (K) {} + O = d.xT(); + O && (K.pdltime = O); + } catch (M) {} try { - n.Qb(J, this.j.bd, { + n.Tb(K, this.j.bd, { prefix: "sm_" }); - n.Qb(J, this.j.u3(), { + n.Tb(K, this.j.v3(), { prefix: "vd_" }); - } catch (K) {} - "undefined" !== typeof nrdp && nrdp.device && (J.firmware_version = nrdp.device.firmwareVersion); - G && this.j.Bt && (J.pssh = this.j.Bt); - this.FVa(this.j, J); - J.avtp = this.hH.Is().$sa; - (null === (I = this.j.Ma) || void 0 === I ? 0 : I.zA) && this.T3(J); - if (this.j.Nc.value) + } catch (M) {} + "undefined" !== typeof nrdp && nrdp.device && (K.firmware_version = nrdp.device.firmwareVersion); + F && this.j.Gt && (K.pssh = this.j.Gt); + this.DVa(this.j, K); + K.avtp = this.pH.Os().Vsa; + (null === (J = this.j.Pa) || void 0 === J ? 0 : J.BA) && this.U3(K); + if (this.j.Rc.value) try { - J.ttTrackFields = this.j.Nc.value.Kh; - } catch (K) {} - if (I = this.j.Bd && this.j.Bd.value && this.j.Bd.value.streams) { - R = {}; - I.forEach(function (K) { - R[K.Mg] = void 0; - }); - J.audioProfiles = Object.keys(R); - } - this.Dla(J); - this.j.sa && "boolean" === typeof this.j.sa.Wc.WB && (J.isSupplemental = this.j.sa.Wc.WB); - J.headerCacheHit = !!this.j.OT; - this.j.OT && (J.headerCacheDataAudio = this.j.OT.audio, J.headerCacheDataVideo = this.j.OT.video); - this.j.sa && (J.packageId = this.j.sa.Wc.Ep); - this.j.sa && this.j.sa.Wc.ym && (J.hasChoiceMap = !0); - this.config().$Ra && (J.forceL3WidevineCdm = !0); - this.MFb(L); - this.LFb(); - this.zVa(this.j, J); - this.yla(this.j, J); - this.LF(this.j, J); - this.OB(this.j, J, this.tea); - this.zla(J); - this.Ala(J); - this.Bla(J); - this.DVa(J); - this.yVa(J); - this.GVa(J); - this.EVa(J); - this.Xd(C.bf.O7, G, D.ij | D.nI | D.xh | D.JP | D.cD | D.TX | D.k$, J); - }; - c.prototype.kra = function (G, I) { - I = { - playdelay: n.mk(G), - reason: this.nz, - intrplayseq: this.i4 - 1, - skipped: I - }; - "repos" === this.nz && (I.prstate = !0 === this.j.paused.value ? "paused" : "playing"); - this.LF(this.j, I); - this.Xd(C.bf.kra, !1, D.ij | D.nI | D.xh, I); - "rebuffer" !== this.nz && "force_rebuffer" !== this.nz || this.j.ao.qkb(Number(n.mk(G))); - }; - c.prototype.bga = function (G, I, J, H) { - G = { - moff: n.gy(J), - moffms: n.mk(J), - vbitrate: I.bitrate, - vbitrateold: G.bitrate, - vdlid: I.Dd, - vdlidold: G.Dd, - vheight: I.height, - vheightold: G.height, - vwidth: I.width, - vwidthold: G.width, + K.ttTrackFields = this.j.Rc.value.kh; + } catch (M) {} + if (J = this.j.Sd && this.j.Sd.value && this.j.Sd.value.streams) { + N = {}; + J.forEach(function (M) { + N[M.Kg] = void 0; + }); + K.audioProfiles = Object.keys(N); + } + this.yla(K); + this.j.sa && "boolean" === typeof this.j.sa.Xc.YB && (K.isSupplemental = this.j.sa.Xc.YB); + this.j.sa && (K.packageId = this.j.sa.Xc.Gp, K.legacyManifest = this.j.sa.EEb); + this.j.sa && this.j.sa.Xc.Hn && (K.hasChoiceMap = !0); + this.config().ZRa && (K.forceL3WidevineCdm = !0); + this.PFb(I); + this.OFb(); + this.xVa(this.j, K); + this.tla(this.j, K); + this.QF(this.j, K); + this.QB(this.j, K, this.nea); + this.ula(K); + this.vla(K); + this.wla(K); + this.BVa(K); + this.wVa(K); + this.EVa(K); + this.CVa(K); + this.fe(C.xf.K7, F, D.gj | D.uI | D.Qh | D.JP | D.eD | D.SX | D.c$, K); + }; + c.prototype.dra = function (F, J) { + J = { + playdelay: n.mk(F), + reason: this.qz, + intrplayseq: this.j4 - 1, + skipped: J + }; + "repos" === this.qz && (J.prstate = !0 === this.j.paused.value ? "paused" : "playing"); + this.QF(this.j, J); + this.fe(C.xf.dra, !1, D.gj | D.uI | D.Qh, J); + "rebuffer" !== this.qz && "force_rebuffer" !== this.qz || this.j.bo.qkb(Number(n.mk(F))); + }; + c.prototype.Wfa = function (F, J, K, H) { + F = { + moff: n.ly(K), + moffms: n.mk(K), + vbitrate: J.bitrate, + vbitrateold: F.bitrate, + vdlid: J.Cd, + vdlidold: F.Cd, + vheight: J.height, + vheightold: F.height, + vwidth: J.width, + vwidthold: F.width, bw: H }; - this.LF(this.j, G); - this.OB(this.j, G); - this.Xd(C.bf.bga, !1, D.xh, G); + this.QF(this.j, F); + this.QB(this.j, F); + this.fe(C.xf.Wfa, !1, D.Qh, F); }; - c.prototype.OPb = function (G, I, J) { - G = { - moff: n.gy(J), - moffms: n.mk(J), - vdlidold: G.Dd, - vbitrateold: G.bitrate + c.prototype.TPb = function (F, J, K) { + F = { + moff: n.ly(K), + moffms: n.mk(K), + vdlidold: F.Cd, + vbitrateold: F.bitrate }; - this.LF(this.j, G); - this.OB(this.j, G); - this.KF(G, I, this.j.Ug.value && this.j.Ug.value.stream); - this.Xd(C.bf.PPb, !1, D.xh, G); + this.QF(this.j, F); + this.QB(this.j, F); + this.PF(F, J, this.j.Sg.value && this.j.Sg.value.stream); + this.fe(C.xf.UPb, !1, D.Qh, F); }; - c.prototype.LMb = function () { - var G, - I; - G = { - waittime: n.mk(this.j.kka()), + c.prototype.OMb = function () { + var F, + J; + F = { + waittime: n.mk(this.j.gka()), abortedevent: "startplay", trackid: this.j.Ek, - prstate: this.AT(), + prstate: this.yT(), paustate: this.j.paused.value }; - this.jR(G); - this.L2(G, "endplay"); - this.Oq.IS && (G.eventlist_version = 1, G.eventlist = this.aG.YTa(this.j)); - this.j.Dn && this.j.Dn.initBitrate && (G.initvbitrate = this.j.Dn.initBitrate); + this.lR(F); + this.M2(F, "endplay"); + this.Pq.HS && (F.eventlist_version = 1, F.eventlist = this.gG.ZTa(this.j)); + this.j.Dn && this.j.Dn.initBitrate && (F.initvbitrate = this.j.Dn.initBitrate); try { - I = d.zT(); - I && (G.pdltime = I); - n.Qb(G, this.j.bd, { + J = d.xT(); + J && (F.pdltime = J); + n.Tb(F, this.j.bd, { prefix: "sm_" }); - } catch (J) {} - this.wla(G, !0); - this.GVa(G); - this.Dla(G); - this.BVa(G); - this.KF(G, this.j.Xf.value, this.j.dk.value); - this.FVa(this.j, G); - this.yla(this.j, G); - this.Xd(C.bf.j0a, !1, D.ij | D.xh | D.cD | D.JP, G); - }; - c.prototype.KMb = function (G, I) { - G = { - waittime: n.mk(G), + } catch (K) {} + this.rla(F, !0); + this.EVa(F); + this.yla(F); + this.zVa(F); + this.PF(F, this.j.og.value, this.j.ek.value); + this.DVa(this.j, F); + this.tla(this.j, F); + this.fe(C.xf.h0a, !1, D.gj | D.Qh | D.eD | D.JP, F); + }; + c.prototype.NMb = function (F, J) { + F = { + waittime: n.mk(F), abortedevent: "resumeplay", - resumeplayreason: I + resumeplayreason: J }; - this.jR(G); - this.j.Dn && this.j.Dn.initBitrate && (G.initvbitrate = this.j.Dn.initBitrate); - this.KF(G, this.j.Xf.value, this.j.dk.value); - this.Xd(C.bf.j0a, !1, D.ij | D.xh, G); + this.lR(F); + this.j.Dn && this.j.Dn.initBitrate && (F.initvbitrate = this.j.Dn.initBitrate); + this.PF(F, this.j.og.value, this.j.ek.value); + this.fe(C.xf.h0a, !1, D.gj | D.Qh, F); }; - c.prototype.ITb = function (G, I) { - G = { - newstate: I ? "Paused" : "Playing", - oldstate: G ? "Paused" : "Playing" + c.prototype.KTb = function (F, J) { + F = { + newstate: J ? "Paused" : "Playing", + oldstate: F ? "Paused" : "Playing" }; - this.LF(this.j, G); - this.OB(this.j, G); - this.KF(G, this.j.Sf.value && this.j.Sf.value.stream, this.j.Ug.value && this.j.Ug.value.stream); - this.Xd(C.bf.KTb, !1, D.ij | D.xh, G); + this.QF(this.j, F); + this.QB(this.j, F); + this.PF(F, this.j.Tf.value && this.j.Tf.value.stream, this.j.Sg.value && this.j.Sg.value.stream); + this.fe(C.xf.MTb, !1, D.gj | D.Qh, F); }; - c.prototype.Nla = function (G, I, J) { + c.prototype.Ila = function (F, J, K) { var H, - M; - G = n.Qb({ - vdlid: this.j.Xf.value.Dd, - playingms: G, - pausedms: I, - intrplayseq: this.i4++, - prstate: this.AT(), + L; + F = n.Tb({ + vdlid: this.j.og.value.Cd, + playingms: F, + pausedms: J, + intrplayseq: this.j4++, + prstate: this.yT(), paustate: this.j.paused.value - }, J); - this.L2(G, "intrplay"); - I = this.j.Pc[f.ic.Za.Hb].value; - J = this.j.Pc[f.ic.Za.Tb].value; - G.cdnid = G.vcdnid = I && I.id; - G.acdnid = J && J.id; - G.locid = this.gU && this.gU.Vma; - G.loclv = this.gU && this.gU.xXa; - G.avtp = this.hH.Is().$sa; - G.mediabuffered = null === (H = this.j.Cg) || void 0 === H ? void 0 : H.R2(); - if (null === (M = this.j.Ma) || void 0 === M ? 0 : M.zA) - (this.wla(G, !0), this.T3(G), this.CVa(G)); + }, K); + this.M2(F, "intrplay"); + J = this.j.pc[f.Qb.Ra.Bb].value; + K = this.j.pc[f.Qb.Ra.Ob].value; + F.cdnid = F.vcdnid = J && J.id; + F.acdnid = K && K.id; + F.locid = this.fU && this.fU.Pma; + F.loclv = this.fU && this.fU.vXa; + F.avtp = this.pH.Os().Vsa; + F.mediabuffered = null === (H = this.j.Bg) || void 0 === H ? void 0 : H.S2(); + if (null === (L = this.j.Pa) || void 0 === L ? 0 : L.BA) + (this.rla(F, !0), this.U3(F), this.AVa(F)); try { - n.Qb(G, this.j.u3(), { + n.Tb(F, this.j.v3(), { prefix: "vd_" }); - } catch (O) {} - this.LF(this.j, G); - this.OB(this.j, G); - this.KF(G, this.j.Sf.value && this.j.Sf.value.stream, this.j.Ug.value && this.j.Ug.value.stream); - this.Xd(C.bf.Nla, !1, D.ij | D.xh, G); - }; - c.prototype.Tqa = function (G, I, J) { - G = { - moffold: n.gy(G), - reposseq: this.L1a++, - prstate: this.AT(), + } catch (Q) {} + this.QF(this.j, F); + this.QB(this.j, F); + this.PF(F, this.j.Tf.value && this.j.Tf.value.stream, this.j.Sg.value && this.j.Sg.value.stream); + this.fe(C.xf.Ila, !1, D.gj | D.Qh, F); + }; + c.prototype.Oqa = function (F, J, K) { + F = { + moffold: n.ly(F), + reposseq: this.K1a++, + prstate: this.yT(), paustate: this.j.paused.value }; - this.OB(this.j, G); - this.KF(G, J && J.stream, I && I.stream); - this.Xd(C.bf.Tqa, !1, D.ij | D.xh, G); + this.QB(this.j, F); + this.PF(F, K && K.stream, J && J.stream); + this.fe(C.xf.Oqa, !1, D.gj | D.Qh, F); }; c.prototype.Ylb = function () { - this.Xd(C.bf.amb, !1, D.ij | D.xh, { - switchdelay: n.mk(this.getTime() - this.UFb), - newtrackinfo: this.j.Bd.value.trackId, - oldtrackinfo: this.tma.trackId, - oldAudioDownloadableId: this.TFb.Dd, - newAudioDownloadableId: this.j.dk.value.Dd + this.fe(C.xf.amb, !1, D.gj | D.Qh, { + switchdelay: n.mk(this.getTime() - this.XFb), + newtrackinfo: this.j.Sd.value.trackId, + oldtrackinfo: this.nma.trackId, + oldAudioDownloadableId: this.WFb.Cd, + newAudioDownloadableId: this.j.ek.value.Cd }); }; - c.prototype.Ynb = function (G, I) { - var J, + c.prototype.Znb = function (F, J) { + var K, H; - J = I.serverid; + K = J.serverid; H = { - locid: I.location, - loclv: I.locationlv, - selocaid: J, - selcdnid: J, - selocaname: I.servername - }; - H.mediatype = I.mediatype; - H.selreason = I.selreason || "unknown"; - H.seldetail = I.seldetail; + locid: J.location, + loclv: J.locationlv, + selocaid: K, + selcdnid: K, + selocaname: J.servername + }; + H.mediatype = J.mediatype; + H.selreason = J.selreason || "unknown"; + H.seldetail = J.seldetail; H.cdnbwdata = JSON.stringify([{ - id: J + id: K } ]); - G && (H.oldlocid = G.Vma, H.oldloclv = G.xXa, H.oldocaid = G.CRb, H.oldocaname = G.QG); - this.Xd(C.bf.KNa, !1, D.TX, H); + F && (H.oldlocid = F.Pma, H.oldloclv = F.vXa, H.oldocaid = F.FRb, H.oldocaname = F.ZG); + this.fe(C.xf.JNa, !1, D.SX, H); }; - c.prototype.t4a = function (G) { - var I, - J; - I = {}; - I.trigger = G; + c.prototype.v4a = function (F) { + var J, + K; + J = {}; + J.trigger = F; try { - J = this.j.dka(); - I.subtitleqoescore = this.j.Yp.DBb(J); - I.metrics = JSON.stringify(this.j.Yp.yka(J)); + K = this.j.$ja(); + J.subtitleqoescore = this.j.Zp.FBb(K); + J.metrics = JSON.stringify(this.j.Zp.uka(K)); } catch (H) { this.log.error("error getting subtitle qoe data", H); } - this.Xd(C.bf.sUb, !1, D.ij | D.cD | D.nI, I, "info"); + this.fe(C.xf.uUb, !1, D.gj | D.eD | D.uI, J, "info"); }; - c.prototype.transition = function (G) { - this.OB(this.j, G); - this.Xd(C.bf.transition, !1, 0, G); + c.prototype.transition = function (F) { + this.QB(this.j, F); + this.fe(C.xf.transition, !1, 0, F); }; - c.prototype.oBb = function (G, I) { - if (G = G.jT()) - if (I = G[I]) - return I.xc; + c.prototype.qBb = function (F, J) { + if (F = F.hT()) + if (J = F[J]) + return J.jc; }; - c.prototype.zVa = function (G, I) { - G.kb.Ol && (I.isBranching = !0); + c.prototype.xVa = function (F, J) { + F.kb.Nl && (J.isBranching = !0); }; - c.prototype.yla = function (G, I) { - var J, + c.prototype.tla = function (F, J) { + var K, H; - H = (null === (J = G.sa) || void 0 === J ? void 0 : J.oWa) || "videopreparer" === G.QE; - I.cachedManifest = G.RE; - I.cachedLicense = G.QE; - I.usedldl = this.config().HS ? H.toString() : "not_capable"; + H = (null === (K = F.sa) || void 0 === K ? void 0 : K.mWa) || "videopreparer" === F.RE; + J.cachedManifest = F.SE; + J.cachedLicense = F.RE; + J.usedldl = this.config().GS ? H.toString() : "not_capable"; }; - c.prototype.LF = function (G, I) { - var J, + c.prototype.QF = function (F, J) { + var K, H; - if (this.config().FDb) { - J = G.eka(); - H = G.fa.sa; - J && H && (I.segment = J, H = G.BB(), I.segmenttime = H, G = this.oBb(G, J), null !== H && void 0 !== G && (I.segmentoffset = H - G)); + if (this.config().JDb) { + K = F.aka(); + H = F.ga.sa; + K && H && (J.segment = K, H = F.DB(), J.segmenttime = H, F = this.qBb(F, K), null !== H && void 0 !== F && (J.segmentoffset = H - F)); } }; - c.prototype.OB = function (G, I, J) { - I.pxid = G.y6; - (void 0 === J ? 0 : J) && (I.playgraph_trace = G.q0a); + c.prototype.QB = function (F, J, K) { + J.pxid = F.x6; + (void 0 === K ? 0 : K) && (J.playgraph_trace = F.o0a); }; - c.prototype.CVa = function (G) { - var I, - J; - I = this.j.g5b; - J = I && I.g7b; - I && I.mDb && (G.htwbr = I.mDb, G.pbtwbr = I.jpa, G.hptwbr = I.i5b); - I && I.KQb && (G.rr = I.KQb, G.ra = I.c7b); - I && J && 0 < (J.length || 0) && (G.qe = JSON.stringify(J)); + c.prototype.AVa = function (F) { + var J, + K; + J = this.j.o5b; + K = J && J.s7b; + J && J.pDb && (F.htwbr = J.pDb, F.pbtwbr = J.epa, F.hptwbr = J.q5b); + J && J.PQb && (F.rr = J.PQb, F.ra = J.n7b); + J && K && 0 < (K.length || 0) && (F.qe = JSON.stringify(K)); }; - c.prototype.Dla = function (G) { - var I, - J, + c.prototype.yla = function (F) { + var J, + K, H, - M, - O; - I = this; - J = this.j.Qh && this.j.Qh.value && this.j.Qh.value.streams; - if (J) { + L, + Q; + J = this; + K = this.j.Ph && this.j.Ph.value && this.j.Ph.value.streams; + if (K) { H = new Set(); - M = new Set(); - O = new Set(); - J.forEach(function (L) { - L = L.Mg; - H.add(L); - M.add(L.replace(I.QHa, "")); - (L = L.match(I.QHa)) && 0 < L.length && O.add(L[1]); + L = new Set(); + Q = new Set(); + K.forEach(function (I) { + I = I.Kg; + H.add(I); + L.add(I.replace(J.MHa, "")); + (I = I.match(J.MHa)) && 0 < I.length && Q.add(I[1]); }); - G.videoProfiles = [].concat(ca(H)); - G.videoProfile = 0 === M.size ? "none" : [].concat(ca(M))[0]; - G.videoProfileLevels = [].concat(ca(O)); + F.videoProfiles = [].concat(ca(H)); + F.videoProfile = 0 === L.size ? "none" : [].concat(ca(L))[0]; + F.videoProfileLevels = [].concat(ca(Q)); } }; - c.prototype.BVa = function (G) { - var I, - J, + c.prototype.zVa = function (F) { + var J, + K, H; try { - I = this.te.createElement("canvas"); - J = I.getContext("webgl") || I.getContext("experimental-webgl"); - if (J) { - H = J.getExtension("WEBGL_debug_renderer_info"); - H && (G.WebGLRenderer = J.getParameter(H.UNMASKED_RENDERER_WEBGL), G.WebGLVendor = J.getParameter(H.UNMASKED_VENDOR_WEBGL)); + J = this.ve.createElement("canvas"); + K = J.getContext("webgl") || J.getContext("experimental-webgl"); + if (K) { + H = K.getExtension("WEBGL_debug_renderer_info"); + H && (F.WebGLRenderer = K.getParameter(H.UNMASKED_RENDERER_WEBGL), F.WebGLVendor = K.getParameter(H.UNMASKED_VENDOR_WEBGL)); } - } catch (M) {} + } catch (L) {} }; - c.prototype.GDb = function (G) { - G.switchAwaySummary = { - vsa: this.bj.summary.M6a, - vsb: this.bj.summary.N6a, - vsbt: this.bj.summary.O6a, - asa: this.bj.summary.rMa, - asb: this.bj.summary.sMa, - asbt: this.bj.summary.tMa + c.prototype.KDb = function (F) { + F.switchAwaySummary = { + vsa: this.$i.summary.P6a, + vsb: this.$i.summary.Q6a, + vsbt: this.$i.summary.R6a, + asa: this.$i.summary.rMa, + asb: this.$i.summary.sMa, + asbt: this.$i.summary.tMa }; }; - c.prototype.fia = function (G) { - var I, - J, + c.prototype.Zha = function (F) { + var J, + K, H, - M, - O, L, - P, - R, - K, - da; - I = this; - H = this.h0a(); - this.L2(H, "endplay"); - this.jR(H); - H.prstate = this.AT(); - H.paustate = this.j.paused.value; - H.muted = this.j.muted.value; - this.j.Cz && "downloaded" === this.j.Cz.p3() && (H.trickplay_ms = this.j.cX.offset, H.trickplay_res = this.j.cX.W1a); - this.config().s6a && (H.rtinfo = this.j.iBb()); - this.config().Sqa && (null === (J = this.j.Ma) || void 0 === J ? 0 : J.zA) && this.T3(H); - this.AVa(H); - H.endreason = G ? "error" : this.j.ac.value === z.Bb.au ? "ended" : "stopped"; - J = this.$n; - this.ADb(J); - J && n.Qb(H, J, { + Q, + I, + O, + N; + K = this.f0a(); + this.M2(K, "endplay"); + this.lR(K); + K.prstate = this.yT(); + K.paustate = this.j.paused.value; + K.muted = this.j.muted.value; + this.j.Fz && "downloaded" === this.j.Fz.q3() && (K.trickplay_ms = this.j.bX.offset, K.trickplay_res = this.j.bX.V1a); + this.config().v6a && (K.rtinfo = this.j.kBb()); + this.config().Nqa && (null === (J = this.j.Pa) || void 0 === J ? 0 : J.BA) && this.U3(K); + this.yVa(K); + K.endreason = F ? "error" : this.j.bc.value === z.Eb.fu ? "ended" : "stopped"; + J = this.Ip; + this.EDb(J); + J && n.Tb(K, J, { prefix: "pi_" }); J = this.j.Zk; - G && J && p.lya(J.errorCode) && (M = "info"); + F && J && p.iya(J.errorCode) && (H = "info"); try { - n.Qb(H, this.j.bd, { + n.Tb(K, this.j.bd, { prefix: "sm_" }); - } catch (na) {} - this.j.vla && (H.inactivityTime = this.j.vla); - this.wla(H, "info" !== M && G); - this.CVa(H); - if (this.j.Ymb) { - J = this.j.Ymb; - O = this.config().UJ; - L = this.j.loadTime; - P = { - iv: O, + } catch (R) {} + this.j.qla && (K.inactivityTime = this.j.qla); + this.rla(K, "info" !== H && F); + this.AVa(K); + if (this.j.Zmb) { + J = this.j.Zmb; + L = this.config().YJ; + Q = this.j.loadTime; + I = { + iv: L, seg: [] }; - R = function (na, va, ra) { - return 0 === va || void 0 === ra[va - 1] ? na : na - ra[va - 1]; + O = function (R, ea, pa) { + return 0 === ea || void 0 === pa[ea - 1] ? R : R - pa[ea - 1]; }; - K = J.uR.map(R); - R = J.qX.map(R); - for (var Q, N = 0; N < K.length; N++) { - if (K[N] || R[N]) - Q ? (Q.ams.push(K[N]), Q.vms.push(R[N])) : Q = { - ams: [J.uR[N]], - vms: [J.qX[N]], - soffms: J.startTime + N * O - L + N = J.vR.map(O); + O = J.pX.map(O); + for (var M, P = 0; P < N.length; P++) { + if (N[P] || O[P]) + M ? (M.ams.push(N[P]), M.vms.push(O[P])) : M = { + ams: [J.vR[P]], + vms: [J.pX[P]], + soffms: J.startTime + P * L - Q }; - N !== K.length - 1 && K[N] && R[N] || !Q || (P.seg.push(Q), Q = void 0); - } - H.bt = JSON.stringify(P); - } - if (this.j.Gna && 0 < this.j.Gna.length) { - da = []; - this.j.Gna.forEach(function (na) { - da.push({ - soffms: na.time - I.j.loadTime, - maxvb: na.maxvb, - maxvb_old: na.maxvb_old, - spts: na.spts, - reason: na.reason - }); - }); - H.maxvbevents = da; - } - G && this.BVa(H); - this.t4a("endplay"); - this.config().Iv && this.Cla(H); - this.Dla(H); - this.zVa(this.j, H); - this.yla(this.j, H); - this.LF(this.j, H); - this.OB(this.j, H, this.tea); - this.zla(H); - this.Ala(H); - this.Bla(H); - this.DVa(H); - this.BDb(H); - this.yVa(H); - this.DDb(H); - this.CDb(H); - this.GDb(H); - this.EVa(H); - this.Xd(C.bf.fia, G, D.ij | D.nI | D.xh | D.cD | D.JP | D.k$, H, M); - }; - c.prototype.dgb = function (G) { - var I; - I = []; - return G ? Object.keys(G).map(function (J) { - return +J; - }) : I; + P !== N.length - 1 && N[P] && O[P] || !M || (I.seg.push(M), M = void 0); + } + K.bt = JSON.stringify(I); + } + F && this.zVa(K); + this.v4a("endplay"); + this.config().Ov && this.xla(K); + this.yla(K); + this.xVa(this.j, K); + this.tla(this.j, K); + this.QF(this.j, K); + this.QB(this.j, K, this.nea); + this.ula(K); + this.vla(K); + this.wla(K); + this.BVa(K); + this.FDb(K); + this.wVa(K); + this.HDb(K); + this.GDb(K); + this.KDb(K); + this.CVa(K); + this.fe(C.xf.Zha, F, D.gj | D.uI | D.Qh | D.eD | D.JP | D.c$, K, H); + }; + c.prototype.egb = function (F) { + var J; + J = []; + return F ? Object.keys(F).map(function (K) { + return +K; + }) : J; }; - c.prototype.Dub = function () { - var G, - I; - G = this; - if (this.j.so && this.j.Yo) { - I = []; - this.j.so.concat(this.j.Yo).forEach(function (J) { - J.streams.forEach(function (H) { - I.push({ - dlid: H.Dd, + c.prototype.Hub = function () { + var F, + J; + F = this; + if (this.j.uo && this.j.Zo) { + J = []; + this.j.uo.concat(this.j.Zo).forEach(function (K) { + K.streams.forEach(function (H) { + J.push({ + dlid: H.Cd, type: H.type, bitrate: H.bitrate, - vmaf: H.zb, - cdn_ids: G.dgb(H.Xx) + vmaf: H.xb, + cdn_ids: F.egb(H.by) }); }); }); - return JSON.stringify(I); + return JSON.stringify(J); } }; - c.prototype.Xnb = function () { - var I, - J, + c.prototype.Ynb = function () { + var J, + K, H; - function G(M, O) { - var L, - P, - R; - L = M.cdnId; - P = H[L]; - R = M.vmaf; - P || (P = { - cdnid: L, + function F(L, Q) { + var I, + O, + N; + I = L.cdnId; + O = H[I]; + N = L.vmaf; + O || (O = { + cdnid: I, dls: [] - }, H[L] = P, J.push(P)); - m.nK(M.bitrate); - m.nK(M.duration); - L = { - bitrate: M.bitrate, - tm: x.yi(M.duration) + }, H[I] = O, K.push(O)); + m.rK(L.bitrate); + m.rK(L.duration); + I = { + bitrate: L.bitrate, + tm: x.yi(L.duration) }; - R && (m.nK(M.vmaf), L.vf = R); - L[O] = n.pe(M.downloadableId); - P.dls.push(L); + N && (m.rK(L.vmaf), I.vf = N); + I[Q] = n.se(L.downloadableId); + O.dls.push(I); } - I = this.j.ao.nyb(); - J = []; + J = this.j.bo.syb(); + K = []; H = {}; - I.audio.forEach(function (M) { - G(M, "adlid"); + J.audio.forEach(function (L) { + F(L, "adlid"); }); - I.video.forEach(function (M) { - G(M, "dlid"); + J.video.forEach(function (L) { + F(L, "dlid"); }); - return JSON.stringify(J); + return JSON.stringify(K); }; - c.prototype.h0a = function () { - var G, - I, + c.prototype.f0a = function () { + var F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da; - G = this.j.ao; - I = { - totaltime: n.gy(G.ET()), - totalcontenttime: n.gy(G.FUa()), - cdndldist: this.Xnb(), - reposcount: this.L1a, - intrplaycount: this.i4 + M, + P, + R, + ea; + F = this.j.bo; + J = { + totaltime: n.ly(F.CT()), + totalcontenttime: n.ly(F.EUa()), + cdndldist: this.Ynb(), + reposcount: this.K1a, + intrplaycount: this.j4 }; try { - J = { + K = { numskip: 0, numlowqual: 0 }; - H = this.j.Cg; - M = H.yB(); - B.xa(M) && (I.totfr = M, J.numren = M); - M = H.uF(); - B.xa(M) && (I.totdfr = M, J.numrendrop = M); - M = H.lT(); - B.xa(M) && (I.totcfr = M, J.numrenerr = M); - M = H.Z2(); - B.xa(M) && (I.totfdl = M); - I.playqualvideo = JSON.stringify(J); - O = this.j.Xf.value; - O && (I.videofr = O.framerate.toFixed(3)); - L = G.sSa(); - L && (I.abrdel = L); - P = G.NCb() && G.tyb(); - P && (I.tw_vmaf = P); - R = G.syb(); - R && n.Qb(I, R); - I.rbfrs = this.i4; - I.maxbitrate = this.maxBitrate; - I.maxresheight = this.vYa; - K = this.j.DF(); - for (G = 0; G < K.length; G++) { - Q = K[G]; - N = this.io.VL.Mt(Q); - if (N) { - m.gb(da); - I.maxbitrate = da ? da.bitrate : 0; - I.maxresheight = da ? da.height : 0; - I.bitratefilters = N.join("|"); + H = this.j.Bg; + L = H.yB(); + A.ya(L) && (J.totfr = L, K.numren = L); + L = H.yF(); + A.ya(L) && (J.totdfr = L, K.numrendrop = L); + L = H.jT(); + A.ya(L) && (J.totcfr = L, K.numrenerr = L); + L = H.b3(); + A.ya(L) && (J.totfdl = L); + J.playqualvideo = JSON.stringify(K); + Q = this.j.og.value; + Q && (J.videofr = Q.framerate.toFixed(3)); + I = F.sSa(); + I && (J.abrdel = I); + O = F.PCb() && F.yyb(); + O && (J.tw_vmaf = O); + N = F.xyb(); + N && n.Tb(J, N); + J.rbfrs = this.j4; + J.maxbitrate = this.maxBitrate; + J.maxresheight = this.sYa; + M = this.j.IF(); + for (F = 0; F < M.length; F++) { + P = M[F]; + R = this.jo.XL.Rt(P); + if (R) { + m.gb(ea); + J.maxbitrate = ea ? ea.bitrate : 0; + J.maxresheight = ea ? ea.height : 0; + J.bitratefilters = R.join("|"); break; } - da = Q; + ea = P; } - this.j.Cz && (I.trickplay = this.j.Cz.p3()); - null !== this.j.Yp.QMa && (I.avg_subt_delay = this.j.Yp.QMa); - } catch (na) { - this.log.error("Exception reading some of the endplay fields", na); + this.j.Fz && (J.trickplay = this.j.Fz.q3()); + null !== this.j.Zp.RMa && (J.avg_subt_delay = this.j.Zp.RMa); + } catch (pa) { + this.log.error("Exception reading some of the endplay fields", pa); } - n.Qb(I, this.j.u3(), { + n.Tb(J, this.j.v3(), { prefix: "vd_" }); - return I; + return J; }; c.prototype.getTime = function () { - return this.Pa.Zb().ea(r.ma); + return this.La.Xb().ea(q.ma); }; - c.prototype.PDb = function () { - var G, - I, - J; - G = this; - J = []; - this.config().NIb && (this.config().OIb.forEach(function (H) { - J.push(pb.setTimeout(G.q5, H)); - }), this.config().LYa && (I = pb.setInterval(this.q5, this.config().LYa)), this.L5a = function () { - J.forEach(function (H) { + c.prototype.TDb = function () { + var F, + J, + K; + F = this; + K = []; + this.config().PIb && (this.config().QIb.forEach(function (H) { + K.push(pb.setTimeout(F.q5, H)); + }), this.config().IYa && (J = pb.setInterval(this.q5, this.config().IYa)), this.N5a = function () { + K.forEach(function (H) { pb.clearTimeout(H); }); - I && pb.clearInterval(I); + J && pb.clearInterval(J); }); }; - c.prototype.Cla = function (G) { - var I; + c.prototype.xla = function (F) { + var J; try { - I = this.pd.getStats(); - G.pr_cache_size = JSON.stringify(I.cache); - G.pr_stats = JSON.stringify(I.Rxb); - } catch (J) {} - }; - c.prototype.zla = function (G) { - this.log.debug("httpstats", this.Bf.yd); - n.Qb(G, this.Bf.yd, { + J = this.qd.getStats(); + F.pr_cache_size = JSON.stringify(J.cache); + F.pr_stats = JSON.stringify(J.Xxb); + } catch (K) {} + }; + c.prototype.ula = function (F) { + this.log.debug("httpstats", this.Df.yd); + n.Tb(F, this.Df.yd, { prefix: "http_" }); }; - c.prototype.wla = function (G, I) { - var J, + c.prototype.rla = function (F, J) { + var K, H, - M; - J = this.config().EPa && !(this.ba % this.config().EPa); - H = this.j.Ma; - M = null === H || void 0 === H ? void 0 : H.dh; - J && M && (G.ASEstats = JSON.stringify(H.h4(I))); + L; + K = this.config().DPa && !(this.ca % this.config().DPa); + H = this.j.Pa; + L = null === H || void 0 === H ? void 0 : H.Ah; + K && L && (F.ASEstats = JSON.stringify(H.i4(J))); }; - c.prototype.T3 = function (G) { - Object.assign(G, this.j.Ma.Jb.JBb()); + c.prototype.U3 = function (F) { + Object.assign(F, this.j.Pa.Lb.LBb()); }; - c.prototype.Ala = function (G) { - var I; + c.prototype.vla = function (F) { + var J; try { - I = x.iu.memory; - B.HWa(I) && (G.totalJSHeapSize = I.totalJSHeapSize, G.usedJSHeapSize = I.usedJSHeapSize, G.jsHeapSizeLimit = I.jsHeapSizeLimit); - } catch (J) {} + J = x.pu.memory; + A.FWa(J) && (F.totalJSHeapSize = J.totalJSHeapSize, F.usedJSHeapSize = J.usedJSHeapSize, F.jsHeapSizeLimit = J.jsHeapSizeLimit); + } catch (K) {} }; - c.prototype.Bla = function (G) { - var I, - J, + c.prototype.wla = function (F) { + var J, + K, H, - M, - O; - if (this.config().vvb) { - O = null === (I = null === x.Qe || void 0 === x.Qe ? void 0 : x.Qe.connection) || void 0 === I ? void 0 : I.effectiveType; - I = null === x.Qe || void 0 === x.Qe ? void 0 : x.Qe.deviceMemory; - O && (G.effectiveType = O); - I && (G.deviceMemory = I); - } - (O = null === (J = null === x.Qe || void 0 === x.Qe ? void 0 : x.Qe.connection) || void 0 === J ? void 0 : J.type) && (G.connectionType = O); - J = null === (H = null === x.Qe || void 0 === x.Qe ? void 0 : x.Qe.connection) || void 0 === H ? void 0 : H.downlink; - "number" === typeof J && isFinite(J) && (G.downlink = J); - H = null === (M = null === x.Qe || void 0 === x.Qe ? void 0 : x.Qe.connection) || void 0 === M ? void 0 : M.rtt; - "number" === typeof H && isFinite(H) && (G.rtt = H); - }; - c.prototype.DVa = function (G) { - var I; - I = this.j.we; - this.config().Tnb && I && !this.config().Cr && (I = this.j.MJb(I.Q4b()), G.keystatuses = I, this.log.trace("keystatuses", I)); + L, + Q; + if (this.config().zvb) { + Q = null === (J = null === x.Re || void 0 === x.Re ? void 0 : x.Re.connection) || void 0 === J ? void 0 : J.effectiveType; + J = null === x.Re || void 0 === x.Re ? void 0 : x.Re.deviceMemory; + Q && (F.effectiveType = Q); + J && (F.deviceMemory = J); + } + (Q = null === (K = null === x.Re || void 0 === x.Re ? void 0 : x.Re.connection) || void 0 === K ? void 0 : K.type) && (F.connectionType = Q); + K = null === (H = null === x.Re || void 0 === x.Re ? void 0 : x.Re.connection) || void 0 === H ? void 0 : H.downlink; + "number" === typeof K && isFinite(K) && (F.downlink = K); + H = null === (L = null === x.Re || void 0 === x.Re ? void 0 : x.Re.connection) || void 0 === L ? void 0 : L.rtt; + "number" === typeof H && isFinite(H) && (F.rtt = H); + }; + c.prototype.BVa = function (F) { + var J; + J = this.j.Ve; + this.config().Unb && J && !this.config().Fr && (J = this.j.OJb(J.W4b()), F.keystatuses = J, this.log.trace("keystatuses", J)); }; - c.prototype.yVa = function (G) { - var I; + c.prototype.wVa = function (F) { + var J; try { - if (this.config().OR) { - I = this.j.zyb(); - G.battery = I; - this.log.trace("batterystatuses", I); + if (this.config().PR) { + J = this.j.Eyb(); + F.battery = J; + this.log.trace("batterystatuses", J); } - } catch (J) {} + } catch (K) {} }; - c.prototype.BDb = function (G) { - this.j.J1 && (G.dqec = this.j.J1); + c.prototype.FDb = function (F) { + this.j.L1 && (F.dqec = this.j.L1); }; - c.prototype.ADb = function (G) { - this.j.d1 && n.Qb(G, { - cast_interaction_counts: this.j.d1.$4b() + c.prototype.EDb = function (F) { + this.j.f1 && n.Tb(F, { + cast_interaction_counts: this.j.f1.e5b() }); }; - c.prototype.GVa = function (G) { - var I; - I = this.j.kb.jo; - I && I.isUIAutoPlay && (G.isUIAutoPlay = !0); + c.prototype.EVa = function (F) { + var J; + J = this.j.kb.ko; + J && (J.isUIAutoPlay && (F.isUIAutoPlay = !0), J.clLogId && (F.cl_log_id = J.clLogId)); }; - c.prototype.EVa = function (G) { - var I, - J, + c.prototype.CVa = function (F) { + var J, + K, H; - if (null === (J = null === (I = this.j.we) || void 0 === I ? void 0 : I.mediaKeys) || void 0 === J ? 0 : J.keySystem) - G.keysys = this.j.we.mediaKeys.keySystem; - else if (null === (H = this.j.we) || void 0 === H ? 0 : H.Pq) - G.keysys = this.j.we.Pq(); + if (null === (J = this.j.Ve) || void 0 === J ? 0 : J.Ls) + F.keysys = this.j.Ve.Ls(); + else if (null === (H = null === (K = this.j.Ve) || void 0 === K ? void 0 : K.mediaKeys) || void 0 === H ? 0 : H.keySystem) + F.keysys = this.j.Ve.mediaKeys.keySystem; }; - c.prototype.CDb = function (G) { - this.wia && (G.externaldisplay = this.wia.PS); + c.prototype.GDb = function (F) { + this.oia && (F.externaldisplay = this.oia.OS); }; - c.prototype.DDb = function (G) { - this.TC && this.TC.Ub && (G.media_capabilities_smooth = this.TC.Ub.smooth, G.media_capabilities_efficient = this.TC.Ub.powerEfficient, G.media_capabilities_bitrate = this.TC.Ub.bitrate, G.media_capabilities_height = this.TC.Ub.height, G.media_capabilities_width = this.TC.Ub.width); + c.prototype.HDb = function (F) { + this.UC && this.UC.Wb && (F.media_capabilities_smooth = this.UC.Wb.smooth, F.media_capabilities_efficient = this.UC.Wb.powerEfficient, F.media_capabilities_bitrate = this.UC.Wb.bitrate, F.media_capabilities_height = this.UC.Wb.height, F.media_capabilities_width = this.UC.Wb.width); }; - c.prototype.KF = function (G, I, J) { - J && (G.adlid = J.Dd, G.abitrate = J.bitrate); - I && (G.vdlid = I.Dd, G.vbitrate = I.bitrate); + c.prototype.PF = function (F, J, K) { + K && (F.adlid = K.Cd, F.abitrate = K.bitrate); + J && (F.vdlid = J.Cd, F.vbitrate = J.bitrate); }; - c.prototype.AVa = function (G) { - var I, - J; - if (this.j.aS) { - I = this.j.aS; - I.u1 && (G.controllerESN = I.u1); - I.Jpb && (G.controllerUiVer = I.Jpb); - if (I.Ipb) + c.prototype.yVa = function (F) { + var J, + K; + if (this.j.fK) { + J = this.j.fK; + J.w1 && (F.controllerESN = J.w1); + J.Kpb && (F.controllerUiVer = J.Kpb); + if (J.Jpb) try { - J = JSON.parse(I.Ipb); - G.controllerGroupNames = J; + K = JSON.parse(J.Jpb); + F.controllerGroupNames = K; } catch (H) { this.log.error("Exception parsing controller group names", H); } } }; - c.prototype.LFb = function () { - void 0 === this.wia && (this.wia = this.xia.Awb()); + c.prototype.OFb = function () { + void 0 === this.oia && (this.oia = this.pia.Gwb()); }; - c.prototype.MFb = function (G) { - void 0 === this.TC && void 0 !== G && (this.TC = this.Kna.Cia(G)); + c.prototype.PFb = function (F) { + void 0 === this.UC && void 0 !== F && (this.UC = this.Ena.uia(F)); }; - c.prototype.L2 = function (G, I) { - (I = this.j.my(I)) && Object.entries(I).forEach(function (J) { + c.prototype.M2 = function (F, J) { + (J = this.j.qy(J)) && Object.entries(J).forEach(function (K) { var H; - H = aa(J); - J = H.next().value; + H = aa(K); + K = H.next().value; H = H.next().value; - G[J] = H; + F[K] = H; }); }; - c.prototype.jR = function (G) { - var I, - J; - G.browserua = x.jA; - G.browseruad = null === (J = null === (I = x.Qe.userAgentData) || void 0 === I ? void 0 : I.brands) || void 0 === J ? void 0 : J.map(function (H) { + c.prototype.lR = function (F) { + var J, + K; + F.browserua = x.kA; + F.browseruad = null === (K = null === (J = x.Re.userAgentData) || void 0 === J ? void 0 : J.brands) || void 0 === K ? void 0 : K.map(function (H) { return [H.brand, H.version]; }); - G.browserhref = location.href; + F.browserhref = location.href; }; - c.prototype.Xd = function (G, I, J, H, M) { - this.jkb(H, this.j, I, J); - G = this.qU.Uu(G, M || (I ? "error" : "info"), H, this.io); - this.Ql.Xd(G); + c.prototype.fe = function (F, J, K, H, L) { + this.jkb(H, this.j, J, K); + F = this.pU.Zu(F, L || (J ? "error" : "info"), H, this.jo); + this.Ql.fe(F); }; - c.prototype.jkb = function (G, I, J, H) { - var M, + c.prototype.jkb = function (F, J, K, H) { + var L, + Q, + I, O, - L, + N, + M, P, R, - K, - Q, - N, - da, - na; - "undefined" !== typeof nrdp && nrdp.device && nrdp.device.deviceModel && (G.devmod = nrdp.device.deviceModel); - I.Bj && (G.pbcid = I.Bj); - I.Ti && (G.playbackcontextid = I.Ti); - H & D.ij && (m.gb(!G || void 0 === G.moff), 0 <= I.mediaTime.value && (G.moff = n.gy(I.mediaTime.value), G.moffms = n.mk(I.mediaTime.value))); - if (H & D.nI) { - K = I.Pc[f.ic.Za.Hb].value; - Q = I.Pc[f.ic.Za.Tb].value; - N = I.Ug.value; - da = I.Sf.value; - K && (G.cdnid = K.id, G.cdnname = K.name); - Q && (G.acdnid = Q.id, G.acdnname = Q.name); - if (null === N || void 0 === N ? 0 : N.stream) - (G.adlid = N.stream.Dd, G.abitrate = N.stream.bitrate); - if (null === da || void 0 === da ? 0 : da.stream) - (G.vdlid = da.stream.Dd, G.vbitrate = da.stream.bitrate, G.vheight = da.stream.height, G.vwidth = da.stream.width); - } - H & D.xh && (null === (M = I.Ma) || void 0 === M ? 0 : M.dh) && (G.abuflbytes = null !== (O = G.abuflbytes) && void 0 !== O ? O : I.Wea(), G.abuflmsec = null !== (L = G.abuflmsec) && void 0 !== L ? L : I.sR(), G.vbuflbytes = null !== (P = G.vbuflbytes) && void 0 !== P ? P : I.bua(), G.vbuflmsec = null !== (R = G.vbuflmsec) && void 0 !== R ? R : I.nX()); + ea, + pa; + "undefined" !== typeof nrdp && nrdp.device && nrdp.device.deviceModel && (F.devmod = nrdp.device.deviceModel); + J.zj && (F.pbcid = J.zj); + J.Ri && (F.playbackcontextid = J.Ri); + H & D.gj && (m.gb(!F || void 0 === F.moff), 0 <= J.mediaTime.value && (F.moff = n.ly(J.mediaTime.value), F.moffms = n.mk(J.mediaTime.value))); + if (H & D.uI) { + M = J.pc[f.Qb.Ra.Bb].value; + P = J.pc[f.Qb.Ra.Ob].value; + R = J.Sg.value; + ea = J.Tf.value; + M && (F.cdnid = M.id, F.cdnname = M.name); + P && (F.acdnid = P.id, F.acdnname = P.name); + if (null === R || void 0 === R ? 0 : R.stream) + (F.adlid = R.stream.Cd, F.abitrate = R.stream.bitrate); + if (null === ea || void 0 === ea ? 0 : ea.stream) + (F.vdlid = ea.stream.Cd, F.vbitrate = ea.stream.bitrate, F.vheight = ea.stream.height, F.vwidth = ea.stream.width); + } + H & D.Qh && (null === (L = J.Pa) || void 0 === L ? 0 : L.Ah) && (F.abuflbytes = null !== (Q = F.abuflbytes) && void 0 !== Q ? Q : J.Pea(), F.abuflmsec = null !== (I = F.abuflmsec) && void 0 !== I ? I : J.tR(), F.vbuflbytes = null !== (O = F.vbuflbytes) && void 0 !== O ? O : J.Yta(), F.vbuflmsec = null !== (N = F.vbuflmsec) && void 0 !== N ? N : J.mX()); if (H & D.JP) { - Object.assign(G, E.oka()); + Object.assign(F, E.kka()); try { - na = I.mg.getBoundingClientRect(); - G.rendersize = na.width + "x" + na.height; - G.renderpos = na.left + "x" + na.top; + pa = J.kg.getBoundingClientRect(); + F.rendersize = pa.width + "x" + pa.height; + F.renderpos = pa.left + "x" + pa.top; } catch (va) {} } - H & D.cD && (M = x.Qe.hardwareConcurrency, 0 <= M && (G.numcores = M), M = this.io.Uha) && (O = M.uyb(), G.droppedFrames = JSON.stringify(O), M = M.yT(this.config().Nub), n.de(M, function (va, ra) { - G["droppedFramesP" + va] = JSON.stringify(ra); + H & D.eD && (L = x.Re.hardwareConcurrency, 0 <= L && (F.numcores = L), L = this.jo.Oha) && (Q = L.zyb(), F.droppedFrames = JSON.stringify(Q), L = L.wT(this.config().Rub), n.ae(L, function (va, ta) { + F["droppedFramesP" + va] = JSON.stringify(ta); })); - if (H & D.TX) + if (H & D.SX) try { - I.Uk && (G.cdninfo = JSON.stringify(I.Uk.map(function (va) { + J.Uk && (F.cdninfo = JSON.stringify(J.Uk.map(function (va) { return { id: va.id, nm: va.name, - rk: va.Eg, + rk: va.Qe, wt: va.location.weight, lv: va.location.level }; }))); } catch (va) {} - J && H & D.k$ && (m.gb(I.Zk), (J = I.Zk) ? G = Object.assign(G, E.cka(this.platform.kp, J)) : G.errorcode = p.L.jm, G.errorcode === this.platform.kp + p.L.UCa && (G.lastSyncWithVideoElement = this.getTime() - I.LW)); - }; - b.TAa = c; - (function (G) { - G[G.ij = 1] = "MOFF"; - G[G.nI = 2] = "PRESENTEDSTREAMS"; - G[G.xh = 4] = "BUFFER"; - G[G.JP = 8] = "SCREEN"; - G[G.cD = 16] = "CPU"; - G[G.TX = 32] = "CDN"; - G[G.k$ = 64] = "FATALERROR"; + K && H & D.c$ && (m.gb(J.Zk), (K = J.Zk) ? F = Object.assign(F, E.Zja(this.platform.lp, K)) : F.errorcode = p.M.im, F.errorcode === this.platform.lp + p.M.RCa && (F.lastSyncWithVideoElement = this.getTime() - J.KW)); + }; + b.RAa = c; + (function (F) { + F[F.gj = 1] = "MOFF"; + F[F.uI = 2] = "PRESENTEDSTREAMS"; + F[F.Qh = 4] = "BUFFER"; + F[F.JP = 8] = "SCREEN"; + F[F.eD = 16] = "CPU"; + F[F.SX = 32] = "CDN"; + F[F.c$ = 64] = "FATALERROR"; })(D || (D = {})); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.txa = "DownloadReportBuilderSymbol"; - }, function (q, b, a) { + b.qxa = "DownloadReportBuilderSymbol"; + }, function (r, b, a) { var f, k, l, @@ -52408,15 +52496,15 @@ a000.D9b = function () { h, m, n, - r; + q; function c(p) { this.config = p; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sxa = void 0; - q = a(1); + b.pxa = void 0; + r = a(1); f = a(181); k = a(81); l = a(24); @@ -52426,11 +52514,11 @@ a000.D9b = function () { m = a(17); n = a(0); a = a(15); - c.prototype.construct = function (p, u) { - var t, + c.prototype.construct = function (p, t) { + var u, w, v; - t = this; + u = this; w = {}; p.forEach(function (x) { var y; @@ -52439,285 +52527,285 @@ a000.D9b = function () { w[y].push(x); }); v = []; - l.de(w, function (x, y) { - v.push(t.TBb(y, u)); + l.ae(w, function (x, y) { + v.push(u.VBb(y, t)); }); return { urls: v }; }; - c.prototype.TBb = function (p, u) { - var t, + c.prototype.VBb = function (p, t) { + var u, w, v, x; - t = this; + u = this; w = p[0]; v = { url: w.url, bitrate: w.bitrate, - cdnid: m.Sg(w.Pc) ? w.Pc.id : w.Pc, - dltype: w.nub, - id: w.Dd + cdnid: m.ih(w.pc) ? w.pc.id : w.pc, + dltype: w.rub, + id: w.Cd }; x = {}; p.forEach(function (y) { var z; - z = t.FEb(y) ? "fail" : "success"; + z = u.KEb(y) ? "fail" : "success"; x[z] || (x[z] = []); x[z].push(y); }); - l.de(x, function (y, z) { - "fail" === y ? v.failures = t.yzb(z, u) : "success" === y && (v.downloads = t.nzb(z, u)); + l.ae(x, function (y, z) { + "fail" === y ? v.failures = u.Czb(z, t) : "success" === y && (v.downloads = u.rzb(z, t)); }); return v; }; - c.prototype.nzb = function (p, u) { - var t, + c.prototype.rzb = function (p, t) { + var u, w, v; - t = this; + u = this; w = {}; p.forEach(function (x) { var y; - y = x.Tob; + y = x.Uob; w[y] || (w[y] = []); w[y].push(x); }); v = []; - l.de(w, function (x, y) { + l.ae(w, function (x, y) { var z; z = []; - y.forEach(function (B) { - z.push(B); - t.oEb(B) && (v.push(t.USa(z, u, x)), z = []); + y.forEach(function (A) { + z.push(A); + u.rEb(A) && (v.push(u.USa(z, t, x)), z = []); }); - 0 < z.length && v.push(t.USa(z, u, x)); + 0 < z.length && v.push(u.USa(z, t, x)); }); return v; }; - c.prototype.USa = function (p, u, t) { + c.prototype.USa = function (p, t, u) { var w, v, x, y, - B; - w = p.sort(function (A, C) { - return A.Rl.Oh < C.Rl.Oh ? -1 : A.Rl.Oh > C.Rl.Oh ? 1 : 0; + A; + w = p.sort(function (B, C) { + return B.Rl.Nh < C.Rl.Nh ? -1 : B.Rl.Nh > C.Rl.Nh ? 1 : 0; }); v = w[0].Rl; - x = v.Np; - y = v.Oh; - v = v.fo; + x = v.Qp; + y = v.Nh; + v = v.ho; for (var z = 1; z < p.length; z++) { - B = p[z].Rl; - B.Np < x && (x = B.Np); - B.Oh < y && (y = B.Oh); - B.fo > v && (v = B.fo); + A = p[z].Rl; + A.Qp < x && (x = A.Qp); + A.Nh < y && (y = A.Nh); + A.ho > v && (v = A.ho); } - z = this.$Ab(w); - B = w[w.length - 1]; + z = this.bBb(w); + A = w[w.length - 1]; return { - time: x - u, - tcpid: t ? parseInt(t) : -1, + time: x - t, + tcpid: u ? parseInt(u) : -1, tresp: y - x, first: z, - ranges: this.aBb(w, z), + ranges: this.cBb(w, z), dur: v - y, - trace: this.py(p), - status: this.p3(B) + trace: this.EB(p), + status: this.q3(A) }; }; - c.prototype.$Ab = function (p) { - var u; - u = 0; - p.forEach(function (t) { - t.fr && (u = h.xo(u, t.fr[0])); - }); - return u; - }; - c.prototype.aBb = function (p, u) { + c.prototype.bBb = function (p) { var t; - t = []; - p.forEach(function (w) { - w.fr ? t.push([w.fr[0] - u, w.fr[1] - u]) : t.push([0, -1]); + t = 0; + p.forEach(function (u) { + u.gr && (t = h.yo(t, u.gr[0])); }); return t; }; - c.prototype.py = function (p) { - var u, - t; + c.prototype.cBb = function (p, t) { + var u; u = []; + p.forEach(function (w) { + w.gr ? u.push([w.gr[0] - t, w.gr[1] - t]) : u.push([0, -1]); + }); + return u; + }; + c.prototype.EB = function (p) { + var t, + u; + t = []; p.forEach(function (w) { var v; w = w.Rl; - if (t) { - v = w.Np - t.fo; - 0 < v && u.push([v, -2]); - v = h.ln(t.fo, w.Np); - v = w.Oh - v; - 0 < v && u.push([v, -3]); + if (u) { + v = w.Qp - u.ho; + 0 < v && t.push([v, -2]); + v = h.kn(u.ho, w.Qp); + v = w.Nh - v; + 0 < v && t.push([v, -3]); } - u.push([w.fo - w.Oh, w.Fga || 0]); - t = w; + t.push([w.ho - w.Nh, w.zga || 0]); + u = w; }); - return u; + return t; }; - c.prototype.oEb = function (p) { - if (p.oa === d.M.$z || p.oa === d.M.jD) + c.prototype.rEb = function (p) { + if (p.oa === d.L.aA || p.oa === d.L.lD) return !0; }; - c.prototype.p3 = function (p) { - if (p.X) + c.prototype.q3 = function (p) { + if (p.W) return "complete"; - if (p.oa === d.M.$z) + if (p.oa === d.L.aA) return "abort"; - if (p.oa === d.M.jD) + if (p.oa === d.L.lD) return "stall"; g.gb(!1, "download status should never be: other"); return "other"; }; - c.prototype.yzb = function (p, u) { - var t, + c.prototype.Czb = function (p, t) { + var u, w; - t = this; + u = this; w = []; p.forEach(function (v) { var x; x = v.Rl; v = { - time: x.Oh - u, - tresp: x.Oh - x.Np, - dur: x.fo - x.Oh, - range: v.fr, - reason: t.cBb(v), + time: x.Nh - t, + tresp: x.Nh - x.Qp, + dur: x.ho - x.Nh, + range: v.gr, + reason: u.eBb(v), httpcode: v.lk, - nwerr: f.aka(v.oa) + nwerr: f.Vja(v.oa) }; w.push(v); }); return w; }; - c.prototype.cBb = function (p) { - return p.lk || p.oa === d.M.aP ? "http" : p.oa === d.M.cP ? "timeout" : "network"; + c.prototype.eBb = function (p) { + return p.lk || p.oa === d.L.aP ? "http" : p.oa === d.L.cP ? "timeout" : "network"; }; - c.prototype.FEb = function (p) { - return p.X || void 0 === p.X || p.oa === d.M.$z || p.oa === d.M.jD ? !1 : !0; + c.prototype.KEb = function (p) { + return p.W || void 0 === p.W || p.oa === d.L.aA || p.oa === d.L.lD ? !1 : !0; }; - c.prototype.Mpb = function (p) { - var u, - t, + c.prototype.Npb = function (p) { + var t, + u, w, v, x, y; - u = p.request; - t = u.stream; - w = u.track; - v = u.url; - x = this.kzb(w, v); + t = p.request; + u = t.stream; + w = t.track; + v = t.url; + x = this.ozb(w, v); switch (x) { case k.Uh.audio: case k.Uh.video: - y = u.stream.Dd; + y = t.stream.Cd; break; - case k.Uh.i8: - case k.Uh.rta: - y = w.Dd; + case k.Uh.e8: + case k.Uh.mta: + y = w.Cd; } p = { - bitrate: t && t.bitrate, - nub: x, - Dd: y, + bitrate: u && u.bitrate, + rub: x, + Cd: y, Rl: p.Rl, - Pc: u.Pc, + pc: t.pc, url: v, - Ve: p.Ve, + Xe: p.Xe, lk: p.lk, oa: p.oa, - X: p.X, - Tob: this.nwb(p) + W: p.W, + Uob: this.twb(p) }; - void 0 !== u.offset && void 0 != u.length && (p.fr = [u.offset, u.offset + u.length - 1]); + void 0 !== t.offset && void 0 != t.length && (p.gr = [t.offset, t.offset + t.length - 1]); return p; }; - c.prototype.kzb = function (p, u) { + c.prototype.ozb = function (p, t) { if (p) return p.type; - if (0 <= u.indexOf("netflix.com")) { - if (0 <= u.indexOf("nccp")) + if (0 <= t.indexOf("netflix.com")) { + if (0 <= t.indexOf("nccp")) return "nccp"; - if (0 <= u.indexOf("api")) + if (0 <= t.indexOf("api")) return "api"; } return "other"; }; - c.prototype.nwb = function (p) { + c.prototype.twb = function (p) { if (p.headers && (p = p.headers["X-TCP-Info"] || p.headers["x-tcp-info"])) - return (p = p.split(";").filter(function (u) { - return 0 == u.indexOf("port="); - }).map(function (u) { - return u.split("=")[1]; - })[0]) ? l.pe(p) : p; + return (p = p.split(";").filter(function (t) { + return 0 == t.indexOf("port="); + }).map(function (t) { + return t.split("=")[1]; + })[0]) ? l.se(p) : p; }; - r = c; - r = q.__decorate([n.R(), q.__param(0, n.l(a.dd))], r); - b.sxa = r; - }, function (q, b) { + q = c; + q = r.__decorate([n.R(), r.__param(0, n.l(a.ed))], q); + b.pxa = q; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.bIa = "XhrFactorySymbol"; - }, function (q, b) { + b.$Ha = "XhrFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wCa = "NetworkMonitorSymbol"; - }, function (q, b) { + b.uCa = "NetworkMonitorSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Fya = "FtlDataParserSymbol"; - }, function (q, b) { + b.Dya = "FtlDataParserSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.rza = "HttpRequesterSymbol"; - }, function (q, b) { + b.pza = "HttpRequesterSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hDa = "PboAcquireLicenseCommandSymbol"; - }, function (q, b, a) { + b.dDa = "PboAcquireLicenseCommandSymbol"; + }, function (r, b, a) { var d, g, h, m, n, - r; + q; function c(p) { - var u; + var t; p = new h.AO(p); - if (1481462272 != p.Lp()) + if (1481462272 != p.Op()) throw Error("Invalid header"); - u = { + t = { XMR: { - Version: p.Lp(), - RightsID: p.Pv(16) + Version: p.Op(), + RightsID: p.Uv(16) } }; - f(p, u.XMR, p.buffer.length); - return u; + f(p, t.XMR, p.buffer.length); + return t; } - function f(p, u, t) { + function f(p, t, u) { var w, v, x, y, z; - for (; p.position < t; ) { - w = p.Vg(); - v = p.Lp(); + for (; p.position < u; ) { + w = p.Tg(); + v = p.Op(); v -= 8; switch (w) { case 1: @@ -52792,8 +52880,8 @@ a000.D9b = function () { y = { Type: k(w) }; - z = u[x]; - z ? r.isArray(z) ? z.push(y) : (u[x] = [], u[x].push(z), u[x].push(y)) : u[x] = y; + z = t[x]; + z ? q.isArray(z) ? z.push(y) : (t[x] = [], t[x].push(z), t[x].push(y)) : t[x] = y; switch (w) { case 1: case 2: @@ -52804,59 +52892,59 @@ a000.D9b = function () { f(p, y, p.position + v); break; case 5: - y.Reserved1 = p.Vg(); - y.MinimumUncompressedDigitalVideoOutputProtectionLevel = p.Vg(); - y.MinimumAnalogVideoOutputProtectionLevel = p.Vg(); - y.Reserved2 = p.Vg(); - y.MinimumUncompressedDigitalAudioOutputProtectionLevel = p.Vg(); + y.Reserved1 = p.Tg(); + y.MinimumUncompressedDigitalVideoOutputProtectionLevel = p.Tg(); + y.MinimumAnalogVideoOutputProtectionLevel = p.Tg(); + y.Reserved2 = p.Tg(); + y.MinimumUncompressedDigitalAudioOutputProtectionLevel = p.Tg(); break; case 10: - y.Reserved = p.Pv(16); - y.SymmetricCipherType = p.Vg(); - y.AsymmetricCipherType = p.Vg(); - v = p.Vg(); + y.Reserved = p.Uv(16); + y.SymmetricCipherType = p.Tg(); + y.AsymmetricCipherType = p.Tg(); + v = p.Tg(); y.EncryptedKeyLength = v; - w = p.Pv(v); + w = p.Uv(v); y.EncryptedKeyData = 10 >= v ? w : w.substring(0, 4) + "..." + w.substring(w.length - 4, w.length); break; case 11: - y.SignatureType = p.Pv(2); - v = p.Vg(); - w = p.Pv(v); + y.SignatureType = p.Uv(2); + v = p.Tg(); + w = p.Uv(v); y.SignatureData = 10 >= v ? w : w.substring(0, 4) + "..." + w.substring(w.length - 4, w.length); break; case 13: - y.Reserved = p.Vg(); + y.Reserved = p.Tg(); break; case 18: - y.BeginDate = p.Lp(); - y.EndDate = p.Lp(); + y.BeginDate = p.Op(); + y.EndDate = p.Op(); break; case 42: - y.CurveType = p.Pv(2); - v = p.Vg(); - w = p.Pv(v); + y.CurveType = p.Uv(2); + v = p.Tg(); + w = p.Uv(v); y.Key = 10 >= v ? w : w.substring(0, 4) + "..." + w.substring(w.length - 4, w.length); break; case 48: - y.ExpireAfterFirstPlay = p.Lp(); + y.ExpireAfterFirstPlay = p.Op(); break; case 50: - y.Sequence = p.Lp(); + y.Sequence = p.Op(); break; case 51: - y.LicenseProcessingIndicator = p.Vg(); + y.LicenseProcessingIndicator = p.Tg(); break; case 52: - y.MinimumSecurityLevel = p.Vg(); + y.MinimumSecurityLevel = p.Tg(); break; case 57: - y.PlayEnablerType = l(p.Pv(16)); + y.PlayEnablerType = l(p.Uv(16)); break; case 85: break; default: - y.OtherData = p.Pv(v); + y.OtherData = p.Uv(v); } } } @@ -52869,138 +52957,143 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.$sb = b.atb = b.Zsb = b.Ysb = b.Xsb = void 0; + b.btb = b.ctb = b.atb = b.$sb = b.Zsb = void 0; d = a(12); g = a(7); h = a(162); m = a(152); - n = a(258); - r = a(17); - b.Xsb = function (p, u, t) { - switch (u) { - case d.pY: - p && (p = g.SMa(p), n.pua(p, function (w) { - w.X && (w = w.object) && (w = m.SSa(w, "Body", "AcquireLicenseResponse", "AcquireLicenseResult", "Response", "LicenseResponse", "Licenses", "License")) && (w = m.K_a(w)) && (w = g.Dq(w)) && (w = c(w)) && t(w); + n = a(259); + q = a(17); + b.Zsb = function (p, t, u) { + switch (t) { + case d.oY: + p && (p = g.TMa(p), n.mua(p, function (w) { + w.W && (w = w.object) && (w = m.SSa(w, "Body", "AcquireLicenseResponse", "AcquireLicenseResult", "Response", "LicenseResponse", "Licenses", "License")) && (w = m.I_a(w)) && (w = g.Fq(w)) && (w = c(w)) && u(w); })); } }; - b.Ysb = c; - b.Zsb = f; - b.atb = k; - b.$sb = l; - }, function (q, b) { + b.$sb = c; + b.atb = f; + b.ctb = k; + b.btb = l; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.TDa = "PboReleaseLicenseCommandSymbol"; - }, function (q, b) { + b.RDa = "PboReleaseLicenseCommandSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wDa = "PboLicenseRequestTransformerSymbol"; - }, function (q, b) { + b.sDa = "PboLicenseRequestTransformerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mDa = "PboCachedPlaydataSymbol"; - }, function (q, b) { + b.iDa = "PboCachedPlaydataSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.xEa = "PlaydataConfigSymbol"; - }, function (q, b) { + b.vEa = "PlaydataConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Caa = { - eU: "keepAlive", + b.vaa = { + dU: "keepAlive", splice: "splice" }; - b.sDa = "PboEventSenderSymbol"; - }, function (q, b) { + b.oDa = "PboEventSenderSymbol"; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.KDa = "PboPlaydataPlaybackMonitorSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Hxa = "DxDisplaySymbol"; - }, function (q, b, a) { + b.Dxa = "DxDisplaySymbol"; + }, function (r, b, a) { var f, k, l, d, g; function c(h, m, n) { - this.Rd = h; + this.Pd = h; this.is = m; this.prefix = n; - this.CV = this.isVisible = !1; - this.sNa = new d.sHa(m); + this.BV = this.isVisible = !1; + this.sNa = new d.oHa(m); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.OP = b.KH = b.dwa = b.cwa = b.bwa = void 0; - q = a(1); + b.PP = b.SH = b.awa = b.$va = b.Zva = void 0; + r = a(1); f = a(0); k = a(28); l = a(26); - d = a(1048); + d = a(1051); g = a(11); - b.bwa = "position:fixed;left:0px;top:0px;right:0px;bottom:100px;z-index:1;background-color:rgba(255,255,255,.65)"; - b.cwa = "position:fixed;left:100px;top:30px;right:100px;bottom:210px;z-index:9999;color:#000;overflow:auto;box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);background-color:rgba(255,255,255,.65);"; - b.dwa = "position:fixed;left:100px;right:100px;height=30px;bottom:130px;z-index:9999;color:#000;overflow:auto;box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);background-color:rgba(255,255,255,.65);"; - b.KH = ""; + b.Zva = "position:fixed;left:0px;top:0px;right:0px;bottom:100px;z-index:1;background-color:rgba(255,255,255,.65)"; + b.$va = "position:fixed;left:100px;top:30px;right:100px;bottom:210px;z-index:9999;color:#000;overflow:auto;box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);background-color:rgba(255,255,255,.65);"; + b.awa = "position:fixed;left:100px;right:100px;height=30px;bottom:130px;z-index:9999;color:#000;overflow:auto;box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);background-color:rgba(255,255,255,.65);"; + b.SH = ""; c.prototype.show = function () { - this.isVisible || (this.zpb(), this.cK && g.De.body.appendChild(this.cK), this.mg && g.De.body.appendChild(this.mg), this.FR && g.De.body.appendChild(this.FR), this.dH && g.De.getElementsByTagName("head")[0].appendChild(this.dH), this.isVisible = !0, this.refresh()); + this.isVisible || (this.Apb(), this.gK && g.Fe.body.appendChild(this.gK), this.kg && g.Fe.body.appendChild(this.kg), this.GR && g.Fe.body.appendChild(this.GR), this.lH && g.Fe.getElementsByTagName("head")[0].appendChild(this.lH), this.isVisible = !0, this.refresh()); }; - c.prototype.Tq = function () { - this.isVisible && (this.mg && g.De.body.removeChild(this.mg), this.FR && g.De.body.removeChild(this.FR), this.cK && g.De.body.removeChild(this.cK), this.dH && g.De.getElementsByTagName("head")[0].removeChild(this.dH), this.dH = this.NW = this.cK = this.FR = this.mg = void 0, this.isVisible = !1); + c.prototype.Sq = function () { + this.isVisible && (this.kg && g.Fe.body.removeChild(this.kg), this.GR && g.Fe.body.removeChild(this.GR), this.gK && g.Fe.body.removeChild(this.gK), this.lH && g.Fe.getElementsByTagName("head")[0].removeChild(this.lH), this.lH = this.MW = this.gK = this.GR = this.kg = void 0, this.isVisible = !1); }; c.prototype.toggle = function () { - this.isVisible ? this.Tq() : this.show(); + this.isVisible ? this.Sq() : this.show(); }; - c.prototype.vVb = function () { - (this.CV = !this.CV) || this.refresh(); + c.prototype.xVb = function () { + (this.BV = !this.BV) || this.refresh(); }; - c.prototype.Hyb = function (h) { + c.prototype.Myb = function (h) { return "table." + h + '-display-table {border-collapse:collapse;font-family:"Lucida Console", Monaco, monospace;font-size:small}table.' + (h + "-display-table tr:nth-child(2n+2) {background-color: #EAF3FF;}table.") + (h + "-display-table tr:nth-child(2n+3) {background-color: #fff;}table.") + (h + "-display-table tr:nth-child(0n+1) {background-color: lightgray;}table.") + (h + "-display-table, th, td {padding: 2px;text-align: left;vertical-align: top;border-right:solid 1px gray;border-left:solid 1px gray;}table.") + (h + "-display-table, th {border-top:solid 1px gray;border-bottom:solid 1px gray}span.") + (h + "-display-indexheader {margin-left:5px;}span.") + (h + "-display-indexvalue {margin-left:5px;}span.") + (h + "-display-keyheader {margin-left:5px;}span.") + (h + "-display-keyvalue {margin-left:5px;}span.") + (h + "-display-valueheader {margin-left:5px;}ul.") + (h + "-display-tree {margin-top: 0px;margin-bottom: 0px;margin-right: 5px;margin-left: -20px;}ul.") + (h + "-display-tree li {list-style-type: none; position: relative;}ul.") + (h + "-display-tree li ul {display: none;}ul.") + (h + "-display-tree li.open > ul {display: block;}ul.") + (h + "-display-tree li a {color: black;text-decoration: none;}ul.") + (h + "-display-tree li a:before {height: 1em;padding: 0 .1em;font-size: .8em;display: block;position: absolute;left: -1.3em;top: .2em;}ul.") + (h + "-display-tree li > a:not(:last-child):before {content: '+';}ul.") + (h + "-display-tree li.open > a:not(:last-child):before {content: '-';}div.") + (h + "-display-div {float:right;display:flex;align-items:center;height:30px;width:130px;margin:10px;background-color:#C6CCD2;transition: all 200ms ease-in-out 0s;border-radius:6px;font-weight:300;font-size:16px;border-style:none;}button.") + (h + "-display-btn {float:right;display:inline-block;height:30px;width:100px;padding:3px;margin:10px;background-color:#C6CCD2;transition: all 200ms ease-in-out 0s;border-radius:6px;font-weight:300;font-size:16px;border-style:none;}select.") + (h + "-display-select {float:right;display:inline-block;height:30px;width:100px;padding:3px;margin:10px;background-color:#C6CCD2;transition: all 200ms ease-in-out 0s;border-radius:6px;font-weight:300;font-size:16px;border-style:none;}ul.") + (h + "-display-item-inline {margin:0;padding:0}.") + (h + "-display-btn:hover, ." + h + "-display-btn:focus, ." + h + "-display-btn:active {background: none repeat scroll 0 0 #B8BFC7 !important; }button.") + (h + "-display-btn-inline {float:right;display:inline-block;height:20px;width:40px;background-color:#C6CCD2;transition: all 200ms ease-in-out 0s;border-radius:6px;font-weight:300;font-size:12px;border-style:none;padding:0;color:palevioletred;background:rgba(0,0,0,0)}.") + (h + "-display-btn-inline:hover, ." + h + "-display-btn-inline:focus, ." + h + "-display-btn-inline:active {background: none repeat scroll 0 0 #B8BFC7 !important; }"); }; - c.prototype.zpb = function () { + c.prototype.Apb = function () { var h; h = this; - this.dH = g.De.createElement("style"); - this.dH.type = "text/css"; - this.dH.innerHTML = this.Hyb(this.prefix); - this.FR = this.Rd.createElement("div", b.bwa, void 0, { + this.lH = g.Fe.createElement("style"); + this.lH.type = "text/css"; + this.lH.innerHTML = this.Myb(this.prefix); + this.GR = this.Pd.createElement("div", b.Zva, void 0, { "class": this.prefix + "-display-blur" }); - this.mg = this.Rd.createElement("div", b.cwa, void 0, { + this.kg = this.Pd.createElement("div", b.$va, void 0, { "class": this.prefix + "-display" }); - this.cK = this.Rd.createElement("div", b.dwa, void 0, { + this.gK = this.Pd.createElement("div", b.awa, void 0, { "class": this.prefix + "-display" }); this.NSa().forEach(function (m) { - return h.cK.appendChild(m); + return h.gK.appendChild(m); }); }; - c.prototype.Bpb = function (h) { - h = this.Rd.createElement("div", "", h, { + c.prototype.Cpb = function (h) { + h = this.Pd.createElement("div", "", h, { "class": this.prefix + "-display-tree1" }); for (var m = h.querySelectorAll("ul." + this.prefix + "-display-tree a:not(:last-child)"), n = 0; n < m.length; n++) { - m[n].addEventListener("click", function (r) { + m[n].addEventListener("click", function (q) { var p, - u; - if (r = r.target.parentElement) { - p = r.classList; + t; + if (q = q.target.parentElement) { + p = q.classList; if (p.contains("open")) { p.remove("open"); try { - u = r.querySelectorAll(":scope .open"); - for (r = 0; r < u.length; r++) { - u[r].classList.remove("open"); + t = q.querySelectorAll(":scope .open"); + for (q = 0; q < t.length; q++) { + t[q].classList.remove("open"); } - } catch (t) {} + } catch (u) {} } else p.add("open"); } @@ -53011,196 +53104,123 @@ a000.D9b = function () { c.prototype.refresh = function () { var h; h = this; - return !this.isVisible || this.CV ? Promise.resolve() : this.u1a().then(function (m) { - if (m && (m = h.Bpb(m), h.mg)) { - h.NW && (h.mg.removeChild(h.NW), h.NW = void 0); - h.NW = m; - h.mg.appendChild(h.NW); - m = h.mg.querySelectorAll("button." + h.prefix + "-display-btn-inline"); + return !this.isVisible || this.BV ? Promise.resolve() : this.u1a().then(function (m) { + if (m && (m = h.Cpb(m), h.kg)) { + h.MW && (h.kg.removeChild(h.MW), h.MW = void 0); + h.MW = m; + h.kg.appendChild(h.MW); + m = h.kg.querySelectorAll("button." + h.prefix + "-display-btn-inline"); for (var n = 0; n < m.length; ++n) { - m[n].addEventListener("click", h.n2a); + m[n].addEventListener("click", h.m2a); } - (m = h.mg.querySelector("#" + h.prefix + "-display-close-btn")) && m.addEventListener("click", function () { + (m = h.kg.querySelector("#" + h.prefix + "-display-close-btn")) && m.addEventListener("click", function () { h.toggle(); }); } }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Hf)), q.__param(1, f.l(l.Gf)), q.__param(2, f.cj())], a); - b.OP = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.If)), r.__param(1, f.l(l.Hf)), r.__param(2, f.aj())], a); + b.PP = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kxa = "DxManagerSymbol"; - b.Jxa = "DxManagerProviderSymbol"; - }, function (q, b) { + b.Gxa = "DxManagerSymbol"; + b.Fxa = "DxManagerProviderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.IAa = "LogDisplayConfigSymbol"; - }, function (q, b) { + b.GAa = "LogDisplayConfigSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.YHa = "WindowUtilsSymbol"; - }, function (q, b) { + b.WHa = "WindowUtilsSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.fEa = "PlayPredictionDeserializerSymbol"; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.eFa = "PreparerManifestFetcherSymbol"; - b.dFa = "PreparerLicenseFetcherSymbol"; - b.cFa = "PreparerLegacyLicenseFetcherSymbol"; - }, function (q, b) { - function a(f, k, l) { - var d, - g, - h, - m; - d = []; - f.forEach(function (n) { - -1 == d.indexOf(n.Mg) && d.push(n.Mg); - }); - g = null; - h = null; - k.forEach(function (n) { - null === g ? h = g = n.bitrate : h < n.bitrate ? h = n.bitrate : g > n.bitrate && (g = n.bitrate); - }); - m = []; - d.forEach(function (n) { - var r; - r = { - ranges: [], - profile: n - }; - g && h && (r.ranges.push({ - min: g, - max: h - }), l && (r.disallowed = l.filter(function (p) { - return p.stream.Mg === n; - }).map(function (p) { - return { - stream: { - bitrate: p.stream.bitrate - }, - disallowedBy: p.R1 - }; - })), m.push(r)); - }); - return m; - } - function c(f, k) { - var l; - l = void 0; - f = f.filter(function (g) { - var h; - h = k(g); - h && (l = l || [], l.push({ - stream: g, - R1: h - })); - return !h; - }); - for (var d = 0; d < f.length; d++) { - f[d].lower = f[d - 1]; - f[d].WCb = f[d + 1]; - } - return { - vB: f, - dub: l - }; - } + b.dEa = "PlayPredictionDeserializerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.dQa = b.ws = b.wsb = b.Jka = void 0; - b.Jka = function (f, k) { - k = c(f, k); - return a(f, k.vB, k.dub); - }; - b.wsb = a; - b.ws = c; - b.dQa = function (f) { - if (f.lower && 1080 < f.height) - return ["Prefetch UHD"]; - }; - }, function (q, b, a) { + b.bFa = "PreparerManifestFetcherSymbol"; + b.aFa = "PreparerLicenseFetcherSymbol"; + b.$Ea = "PreparerLegacyLicenseFetcherSymbol"; + }, function (r, b, a) { var f, k, l, d; function c(g) { - this.CM = g; + this.Kp = g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Waa = b.SEa = void 0; - q = a(1); + b.Qaa = b.PEa = void 0; + r = a(1); f = a(13); k = a(0); l = a(185); - d = a(73); - c.prototype.aYa = function (g) { + d = a(67); + c.prototype.ZXa = function (g) { var h, m; h = this; - if (g.Pe.key.Fa) - return Promise.resolve(g.Pe.key.Fa); - m = g.Pe.key.da; - return g.Pe.zH.Fs(m).Dr.then(function (n) { + if (g.Xd.key.Ba) + return Promise.resolve(g.Xd.key.Ba); + m = g.Xd.key.$; + return g.Xd.HH.Js(m).Gr.then(function (n) { n = n.sa; - return n.ym ? d.gB(n.ym, { + return n.Hn ? d.iB(n.Hn, { config: f.config - }) : d.XG(m, h.CM.fT(m)); + }) : d.eH(m, h.Kp.ov(m)); }); }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(l.jZ))], a); - b.SEa = a; - b.Waa = "PlaygraphResolverSymbol"; - }, function (q, b) { + a = r.__decorate([k.R(), r.__param(0, k.l(l.jZ))], a); + b.PEa = a; + b.Qaa = "PlaygraphResolverSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.RBa = "MediaHttpSymbol"; - }, function (q, b) { + b.PBa = "MediaHttpSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.LCa = "OpenConnectSideChannelSymbol"; - b.YBa = "MediaRequestDownloaderSymbol"; - }, function (q, b) { + b.JCa = "OpenConnectSideChannelSymbol"; + b.WBa = "MediaRequestDownloaderSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.WBa = "MediaRequestConstructorFactorySymbol"; - }, function (q, b) { + b.UBa = "MediaRequestConstructorFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qDa = "PboDispatcherSymbol"; - }, function (q, b) { + b.mDa = "PboDispatcherSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qHa = "TransportFactorySymbol"; - b.pCa = "MslTransportSymbol"; - b.wGa = "SslTransportSymbol"; - }, function (q, b, a) { + b.mHa = "TransportFactorySymbol"; + b.nCa = "MslTransportSymbol"; + b.sGa = "SslTransportSymbol"; + }, function (r, b, a) { var h, m; function c(n) { - return !(!n || !n.tC && !n.pboc || !n.code && !n.code); + return !(!n || !n.vC && !n.pboc || !n.code && !n.code); } function f(n) { - return !(!n || !n.jc); + return !(!n || !n.kc); } function k(n) { return !!(n instanceof Error); @@ -53208,163 +53228,163 @@ a000.D9b = function () { function l(n) { switch (n) { case "ACCOUNT_ON_HOLD": - return m.M.qcb; + return m.L.ucb; case "STREAM_QUOTA_EXCEEDED": - return m.M.ucb; + return m.L.ycb; case "INSUFFICICENT_MATURITY": - return m.M.xcb; + return m.L.Bcb; case "TITLE_OUT_OF_WINDOW": - return m.M.Dcb; + return m.L.Hcb; case "CHOICE_MAP_ERROR": - return m.M.tcb; + return m.L.xcb; case "BadRequest": - return m.M.zcb; + return m.L.Dcb; case "Invalid_SemVer_Format": - return m.M.ycb; + return m.L.Ccb; case "RESTRICTED_TO_TESTERS": - return m.M.Ccb; + return m.L.Gcb; case "AGE_VERIFICATION_REQUIRED": - return m.M.rcb; + return m.L.vcb; case "BLACKLISTED_IP": - return m.M.scb; + return m.L.wcb; case "DEVICE_EOL_WARNING": - return m.M.saa; + return m.L.kaa; case "DEVICE_EOL_FINAL": - return m.M.NCa; + return m.L.LCa; case "INCORRECT_PIN": - return m.M.RCa; + return m.L.PCa; case "MOBILE_ONLY": - return m.M.Bcb; + return m.L.Fcb; case "MDX_CONTROLLER_CTICKET_INVALID": - return m.M.Acb; + return m.L.Ecb; case "VIEWABLE_RESTRICTED_BY_PROFILE": - return m.M.Ecb; + return m.L.Icb; case "RESET_DEVICE": - return m.M.QCa; + return m.L.OCa; case "RELOAD_DEVICE": - return m.M.PCa; + return m.L.NCa; case "EXIT_DEVICE": - return m.M.OCa; + return m.L.MCa; case "FREE_PREVIEW_ENDED": - return m.M.wcb; + return m.L.Acb; default: - return m.M.Lya; + return m.L.Jya; } } - function d(n, r) { + function d(n, q) { var p; - p = r.bladeRunnerCode ? Number(r.bladeRunnerCode) : void 0; - return new h.$c(n, l(r.code), "BadRequest" === r.code ? m.JY.d8a : void 0, r.code, void 0, r.display, void 0, r.detail, r.display, p, r.alert, r.alertTag); + p = q.bladeRunnerCode ? Number(q.bladeRunnerCode) : void 0; + return new h.dd(n, l(q.code), "BadRequest" === q.code ? m.IY.f8a : void 0, q.code, void 0, q.display, void 0, q.detail, q.display, p, q.alert, q.alertTag); } - function g(n, r) { - return new h.$c(n, r.jc, r.wd, void 0, r.Av, r.message, r.details, r.data); + function g(n, q) { + return new h.dd(n, q.kc, q.wd, void 0, q.Gv, q.message, q.details, q.data); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.qNa = b.rNa = b.Hxb = b.Lxb = b.Im = b.Kxb = b.Tla = b.yEb = b.tWa = void 0; + b.qNa = b.rNa = b.Nxb = b.Rxb = b.Gm = b.Qxb = b.IEb = b.BEb = b.rWa = void 0; h = a(42); m = a(3); - b.tWa = c; - b.yEb = f; - b.Tla = k; - b.Kxb = l; - b.Im = function (n, r) { - return f(r) ? g(n, r) : c(r) ? d(n, r) : k(r) ? h.$c.hja(n, r) : new h.$c(n, void 0, void 0, void 0, void 0, "Recieved an unexpected error type", void 0, r); - }; - b.Lxb = d; - b.Hxb = g; - b.rNa = function (n, r, p, u, t) { + b.rWa = c; + b.BEb = f; + b.IEb = k; + b.Qxb = l; + b.Gm = function (n, q) { + return f(q) ? g(n, q) : c(q) ? d(n, q) : k(q) ? h.dd.aja(n, q) : new h.dd(n, void 0, void 0, void 0, void 0, "Recieved an unexpected error type", void 0, q); + }; + b.Rxb = d; + b.Nxb = g; + b.rNa = function (n, q, p, t, u) { var w, v, x, y; - w = r.N2a[p]; + w = q.N2a[p]; if (void 0 === w) throw { - tC: !0, + vC: !0, code: "FAIL", display: "Unable to build the URL for " + p + " because there was no configuration information", - detail: r + detail: q }; v = w.version; if (void 0 === v) throw { - tC: !0, + vC: !0, code: "FAIL", display: "Unable to build the URL for " + p + " because there was no version information", - detail: r + detail: q }; x = w.service; if (void 0 === x) throw { - tC: !0, + vC: !0, code: "FAIL", display: "Unable to build the URL for " + p + " because there was no service information", - detail: r + detail: q }; y = w.orgOverride; - if (void 0 === y && (y = r.organization, void 0 === y)) + if (void 0 === y && (y = q.organization, void 0 === y)) throw { - tC: !0, + vC: !0, code: "FAIL", display: "Unable to build the URL for " + p + " because there was no organization information", - detail: r + detail: q }; - return w.isPlayApiDirect ? n.NAb(u) + "/" + y + "/" + x + "/" + v : n.DAb(u) + "/" + y + "/" + x + "/" + v + "/" + (void 0 === t ? "router" : t); + return w.isPlayApiDirect ? n.QAb(t) + "/" + y + "/" + x + "/" + v : n.GAb(t) + "/" + y + "/" + x + "/" + v + "/" + (void 0 === u ? "router" : u); }; - b.qNa = function (n, r) { + b.qNa = function (n, q) { var p; p = { "Content-Type": "text/plain" }; - r = r(); - n.ELa && r && (p["X-Esn"] = r.gi); + q = q(); + n.DLa && q && (p["X-Esn"] = q.gi); return p; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.VDa = "PboRequestFactorySymbol"; - }, function (q, b) { + b.TDa = "PboRequestFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.xHa = "TrickPlayManagerSymbol"; - }, function (q, b) { + b.tHa = "TrickPlayManagerSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Eo = void 0; - q = b.Eo || (b.Eo = {}); - q[q.YY = 0] = "NOT_LOADED"; - q[q.LOADING = 1] = "LOADING"; - q[q.nD = 2] = "LOADED"; - q[q.iP = 3] = "LOAD_FAILED"; - q[q.MCa = 4] = "PARSE_FAILED"; - }, function (q, b) { + b.Fo = void 0; + r = b.Fo || (b.Fo = {}); + r[r.XY = 0] = "NOT_LOADED"; + r[r.LOADING = 1] = "LOADING"; + r[r.pD = 2] = "LOADED"; + r[r.jP = 3] = "LOAD_FAILED"; + r[r.KCa = 4] = "PARSE_FAILED"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uva = "BandwidthMeterFactorySymbol"; - }, function (q, b) { + b.rva = "BandwidthMeterFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tEa = "PlaybackSegmentDataFactorySymbol"; - }, function (q, b) { + b.rEa = "PlaybackSegmentDataFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.oEa = "PlaybackInfoPanelFactorySymbol"; - }, function (q, b) { + b.mEa = "PlaybackInfoPanelFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.FFa = "RepositionTraceSymbol"; - b.DFa = "RepositionTraceFactorySymbol"; - }, function (q, b, a) { + b.CFa = "RepositionTraceSymbol"; + b.AFa = "RepositionTraceFactorySymbol"; + }, function (r, b, a) { var f, k, l, @@ -53373,281 +53393,278 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za; - function c(V, T, ja, Ia, wa, Sa, Ua, $a, Za, mb, db, Ta, Ca, La, Ma, Va, ib, yb, Eb, Hb, Ob, Cb, Kb, Vb, mc, Dc, Md, re, Nd, fd, pc, dc) { + Y, + ra, + Ea; + function c(V, U, ma, Ia, wa, Ta, Ua, ab, Za, nb, cb, Sa, Ba, La, Ma, Va, ib, yb, Eb, Hb, Ob, Cb, Kb, Vb, mc, Dc, Md, re, Nd, fd, pc, dc) { var ub, fc; - function ec(nb) { - nb.newValue !== N.Bb.Jg && nb.newValue !== N.Bb.Wh && (ub.ac.removeListener(ec), ub.sL = ub.wa.x7, ub.Pb.tc(N.W.ot)); + function ec(mb) { + mb.newValue !== R.Eb.Hg && mb.newValue !== R.Eb.Wh && (ub.bc.removeListener(ec), ub.vL = ub.xa.t7, ub.Rb.qc(R.Z.tt)); } - function ac(nb) { - nb.newValue !== N.Bb.Jg && (ub.ac.removeListener(ac), ub.i0a = ub.wa.Ue.ea(F.ma), ub.Pb.tc(N.W.Gp)); + function ac(mb) { + mb.newValue !== R.Eb.Hg && (ub.bc.removeListener(ac), ub.g0a = ub.xa.We.ea(G.ma), ub.Rb.qc(R.Z.Jp)); } ub = this; - this.xb = wa; - this.Uj = Sa; - this.HF = Ua; - this.Pa = Za; - this.PJ = mb; - this.wa = db; - this.sna = Ta; - this.tna = Ma; + this.nb = wa; + this.Uj = Ta; + this.MF = Ua; + this.La = Za; + this.SJ = nb; + this.xa = cb; + this.mna = Sa; + this.nna = Ma; this.V4 = Va; - this.pd = ib; - this.Xm = yb; - this.kl = Eb; - this.ME = Hb; - this.zpa = Ob; + this.qd = ib; + this.Wm = yb; + this.xk = Eb; + this.VJ = Hb; + this.upa = Ob; this.el = Cb; - this.qta = Kb; + this.lta = Kb; this.Ql = Vb; - this.te = mc; - this.wpa = Dc; - this.Vl = Md; - this.M1a = re; - this.Pea = Nd; - this.aG = fd; - this.NJ = pc; - this.d1 = dc; - this.q0a = []; - this.Hp = new Map(); - this.Bd = new u.Ec(null); - this.Qh = new u.Ec(null); - this.Nc = new u.Ec(null); - this.Rk = new u.Ec(null); - this.Qt = new u.Ec(void 0); - this.Xf = new u.Ec(null); - this.dk = new u.Ec(null); - this.mediaTime = new u.Ec(void 0); - this.playbackRate = new ta.sEa(1, t.config.Cna); - this.Fta = function (nb) { - return ub.Bd.set(nb.newValue); - }; - this.RWb = function (nb) { - return ub.Qh.set(nb.newValue); - }; - this.OWb = function (nb) { - return ub.Nc.set(nb.newValue); - }; - this.rWb = function (nb) { - return ub.Rk.set(nb.newValue); - }; - this.NWb = function (nb) { - return ub.Qt.set(nb.newValue); - }; - this.QWb = function (nb) { - return ub.Xf.set(nb.newValue); - }; - this.sWb = function (nb) { - return ub.dk.set(nb.newValue); - }; - this.FWb = function (nb) { - return ub.Sf.set(nb.newValue); - }; - this.EWb = function (nb) { - return ub.Ug.set(nb.newValue); - }; - this.AWb = function (nb) { - return ub.mediaTime.set(nb.newValue); - }; - this.A8 = function (nb) { - return ub.playbackRate.set(nb.newValue); - }; - this.Gj = {}; - this.hra = this.ita = 0; - this.Pb = new w.Wj(); - this.pX = {}; - this.a4a = !1; - this.state = new u.Ec(N.Gb.kI); - this.Hv = new u.Ec(!1); - this.paused = new u.Ec(!1); - this.muted = new u.Ec(!1); - this.volume = new u.Ec(t.config.stb / 100); - this.ac = new u.Ec(N.Bb.Jg); - this.hf = new u.Ec(N.$e.Sc); - this.Cq = new u.Ec(N.$e.Sc); - this.bm = new u.Ec(N.$e.Sc); - this.Ug = new u.Ec(null); - this.Sf = new u.Ec(null); - this.Dfa = new u.Ec(null); - this.P3 = r.pza(this); - this.Gna = []; - this.Pc = []; - this.mfa = {}; - this.xK = this.NQa = !1; - this.Oa = this.Vi = -1; - this.qka = function (nb, Rb) { + this.ve = mc; + this.rpa = Dc; + this.Ul = Md; + this.L1a = re; + this.Iea = Nd; + this.gG = fd; + this.QJ = pc; + this.f1 = dc; + this.o0a = []; + this.cr = new Map(); + this.Sd = new t.zc(null); + this.Ph = new t.zc(null); + this.Rc = new t.zc(null); + this.Rk = new t.zc(null); + this.Wt = new t.zc(void 0); + this.og = new t.zc(null); + this.ek = new t.zc(null); + this.mediaTime = new t.zc(void 0); + this.playbackRate = new ra.qEa(1, u.config.xna); + this.zta = function (mb) { + return ub.Sd.set(mb.newValue); + }; + this.TWb = function (mb) { + return ub.Ph.set(mb.newValue); + }; + this.QWb = function (mb) { + return ub.Rc.set(mb.newValue); + }; + this.tWb = function (mb) { + return ub.Rk.set(mb.newValue); + }; + this.PWb = function (mb) { + return ub.Wt.set(mb.newValue); + }; + this.SWb = function (mb) { + return ub.og.set(mb.newValue); + }; + this.uWb = function (mb) { + return ub.ek.set(mb.newValue); + }; + this.HWb = function (mb) { + return ub.Tf.set(mb.newValue); + }; + this.GWb = function (mb) { + return ub.Sg.set(mb.newValue); + }; + this.CWb = function (mb) { + return ub.mediaTime.set(mb.newValue); + }; + this.w8 = function (mb) { + return ub.playbackRate.set(mb.newValue); + }; + this.Fj = {}; + this.ara = this.cta = 0; + this.Rb = new w.Wj(); + this.oX = {}; + this.b4a = !1; + this.state = new t.zc(R.Jb.rI); + this.Nv = new t.zc(!1); + this.paused = new t.zc(!1); + this.muted = new t.zc(!1); + this.volume = new t.zc(u.config.vtb / 100); + this.bc = new t.zc(R.Eb.Hg); + this.hf = new t.zc(R.af.Sc); + this.Eq = new t.zc(R.af.Sc); + this.$l = new t.zc(R.af.Sc); + this.Sg = new t.zc(null); + this.Tf = new t.zc(null); + this.wfa = new t.zc(null); + this.Q3 = q.nza(this); + this.pc = [new t.zc(null), new t.zc(null)]; + this.ffa = {}; + this.BK = this.LQa = !1; + this.Oa = this.Ti = -1; + this.mka = function (mb, Rb) { var hc; - nb = void 0 === nb ? null : nb; - return M.xa(nb) ? Rb && !ub.Qq(Rb).sa ? nb : (null === (hc = ub.Ma) || void 0 === hc ? 0 : hc.dh) ? ub.Ma.us(nb) : nb : null; - }; - this.VZa = function () { - ub.tsa(); - }; - this.jK = V; - this.addEventListener = this.Pb.addListener; - this.removeEventListener = this.Pb.removeListener; - this.fireEvent = this.Pb.tc; - this.xLa({ - da: V, + mb = void 0 === mb ? null : mb; + return L.ya(mb) ? Rb && !ub.wp(Rb).sa ? mb : (null === (hc = ub.Pa) || void 0 === hc ? 0 : hc.Ah) ? ub.Pa.ys(mb) : mb : null; + }; + this.UZa = function () { + ub.nsa(); + }; + this.nK = V; + this.addEventListener = this.Rb.addListener; + this.removeEventListener = this.Rb.removeListener; + this.fireEvent = this.Rb.qc; + this.vLa({ + $: V, va: Ia, - kb: ja || ({}) - }, t.config.Iv ? this.pd.CB(V) : void 0, T); + kb: ma || ({}) + }, u.config.Ov ? this.qd.FB(V) : void 0, U); this.log = E.Ih(this); - this.Eha = $a(this); - this.umb = Ca(this); - this.mg = K.createElement("DIV", p.fba, void 0, { + this.yha = ab(this); + this.umb = Ba(this); + this.kg = M.createElement("DIV", p.$aa, void 0, { id: this.K }); - this.QDb(); - fc = La(F.Wg(1)); - this.Qc = this.log.Pga("Playback"); - this.FMb = d.cEa(this); - y.qI.jJb = this; - y.qI.Tia || (y.qI.Tia = this); - this.Qc.info("Playback created", this.Kh); - this.$ma ? this.Qc.info("Playback selected for trace playback info logging") : this.Qc.trace("Playback not selected for trace playback info logging"); - t.config.Iv && (this.pd.sCb(this.K), this.addEventListener(N.W.ot, function () { - ub.pd.tCb(ub.K); - ub.Nc.addListener(function () { - ub.pd.RUa(); + this.UDb(); + fc = La(G.Ug(1)); + this.Pc = this.log.Jga("Playback"); + this.IMb = d.aEa(this); + y.xI.mJb = this; + y.xI.Mia || (y.xI.Mia = this); + this.Pc.info("Playback created", this.kh); + this.Uma ? this.Pc.info("Playback selected for trace playback info logging") : this.Pc.trace("Playback not selected for trace playback info logging"); + u.config.Ov && (this.qd.uCb(this.K), this.addEventListener(R.Z.tt, function () { + ub.qd.vCb(ub.K); + ub.Rc.addListener(function () { + ub.qd.RUa(); }); - ub.Bd.addListener(function () { - ub.pd.RUa(); + ub.Sd.addListener(function () { + ub.qd.RUa(); }); - }), this.addEventListener(N.W.dg, function () { - ub.pd.rCb(ub.K); + }), this.addEventListener(R.Z.dg, function () { + ub.qd.tCb(ub.K); })); - this.state.addListener(function (nb) { - ub.Qc.info("Playback state changed", { - From: nb.oldValue, - To: nb.newValue + this.state.addListener(function (mb) { + ub.Pc.info("Playback state changed", { + From: mb.oldValue, + To: mb.newValue }); - G.gb(nb.newValue > nb.oldValue); + F.gb(mb.newValue > mb.oldValue); }); - x.lf.addListener(x.Jm, this.VZa, p.dZ); + x.lf.addListener(x.Hm, this.UZa, p.cZ); this.mediaTime.addListener(function () { - ub.dxb(); - fc.ol(function () { - return ub.QRa(); - }); - }); - this.ac.addListener(function (nb) { - ub.Qc.info("PresentingState changed", { - From: nb.oldValue, - To: nb.newValue, - MediaTime: I.Vh(ub.mediaTime.value) - }, ub.dt()); - }); - this.ac.addListener(function () { - ub.Hv.set(ub.ac.value === N.Bb.yc); - }); - this.hf.addListener(function (nb) { - ub.Qc.info("BufferingState changed", { - From: nb.oldValue, - To: nb.newValue, - MediaTime: I.Vh(ub.mediaTime.value) - }, ub.dt()); - }); - this.Cq.addListener(function (nb) { - ub.Qc.info("AV BufferingState changed", { - From: nb.oldValue, - To: nb.newValue, - MediaTime: I.Vh(ub.mediaTime.value) - }, ub.dt()); - }); - this.bm.addListener(function (nb) { - ub.Qc.info("Text BufferingState changed", { - From: nb.oldValue, - To: nb.newValue, - MediaTime: I.Vh(ub.mediaTime.value) - }, ub.dt()); - }); - this.Bd.addListener(function (nb) { - G.gb(nb.newValue); - ub.Qc.info("AudioTrack changed", nb.newValue && ({ - ToBcp47: nb.newValue.wm, - To: nb.newValue.trackId - }), nb.oldValue && ({ - FromBcp47: nb.oldValue.wm, - From: nb.oldValue.trackId + ub.jxb(); + fc.nl(function () { + return ub.PRa(); + }); + }); + this.bc.addListener(function (mb) { + ub.Pc.info("PresentingState changed", { + From: mb.oldValue, + To: mb.newValue, + MediaTime: J.Vh(ub.mediaTime.value) + }, ub.jt()); + }); + this.bc.addListener(function () { + ub.Nv.set(ub.bc.value === R.Eb.Ac); + }); + this.hf.addListener(function (mb) { + ub.Pc.info("BufferingState changed", { + From: mb.oldValue, + To: mb.newValue, + MediaTime: J.Vh(ub.mediaTime.value) + }, ub.jt()); + }); + this.Eq.addListener(function (mb) { + ub.Pc.info("AV BufferingState changed", { + From: mb.oldValue, + To: mb.newValue, + MediaTime: J.Vh(ub.mediaTime.value) + }, ub.jt()); + }); + this.$l.addListener(function (mb) { + ub.Pc.info("Text BufferingState changed", { + From: mb.oldValue, + To: mb.newValue, + MediaTime: J.Vh(ub.mediaTime.value) + }, ub.jt()); + }); + this.Sd.addListener(function (mb) { + F.gb(mb.newValue); + ub.Pc.info("AudioTrack changed", mb.newValue && ({ + ToBcp47: mb.newValue.wm, + To: mb.newValue.trackId + }), mb.oldValue && ({ + FromBcp47: mb.oldValue.wm, + From: mb.oldValue.trackId }), { - MediaTime: I.Vh(ub.mediaTime.value) + MediaTime: J.Vh(ub.mediaTime.value) }); }); - this.Nc.addListener(function (nb) { - ub.Qc.info("TimedTextTrack changed", nb.newValue ? { - ToBcp47: nb.newValue.wm, - To: nb.newValue.trackId + this.Rc.addListener(function (mb) { + ub.Pc.info("TimedTextTrack changed", mb.newValue ? { + ToBcp47: mb.newValue.wm, + To: mb.newValue.trackId } : { To: "none" - }, nb.oldValue ? { - FromBcp47: nb.oldValue.wm, - From: nb.oldValue.trackId + }, mb.oldValue ? { + FromBcp47: mb.oldValue.wm, + From: mb.oldValue.trackId } : { From: "none" }, { - MediaTime: I.Vh(ub.mediaTime.value) + MediaTime: J.Vh(ub.mediaTime.value) }); }); - this.Pc[k.ic.Za.Tb] = new u.Ec(null); - this.Pc[k.ic.Za.Hb] = new u.Ec(null); - this.ac.addListener(ac, p.ED); - this.ac.addListener(ec); - this.addEventListener(N.W.ot, function () { - ub.a4a = !0; - ub.V3a = ub.Ifa(); - ub.Od("start"); - ub.b4 = ub.Sf.value.stream.bitrate; + this.bc.addListener(ac, p.GD); + this.bc.addListener(ec); + this.addEventListener(R.Z.tt, function () { + ub.b4a = !0; + ub.W3a = ub.Bfa(); + ub.Md("start"); + ub.c4 = ub.Tf.value.stream.bitrate; }); - C.kEa(this); - y.Bo.push(this); - t.config.XV && (this.t6 = this.wpa(this), this.u6 = new B.vEa(this)); - y.Raa.forEach(function (nb) { - nb(ub); + C.iEa(this); + y.Co.push(this); + u.config.WV && (this.s6 = this.rpa(this), this.t6 = new A.tEa(this)); + y.Kaa.forEach(function (mb) { + mb(ub); }); this.Akb = function () { - ub.addEventListener(N.W.EG, function (nb) { + ub.addEventListener(R.Z.LG, function (mb) { var Rb; - nb = nb.cause; - nb !== N.Jd.yw && nb !== N.Jd.HD && (null === (Rb = ub.Ma) || void 0 === Rb ? void 0 : Rb.stop()); + mb = mb.cause; + mb !== R.me.Ew && mb !== R.me.CI && (null === (Rb = ub.Pa) || void 0 === Rb ? void 0 : Rb.stop()); }); - ub.addEventListener(N.W.Zl, function (nb) { + ub.addEventListener(R.Z.Xl, function (mb) { var Rb, hc, Lc, @@ -53658,1411 +53675,1409 @@ a000.D9b = function () { uc, rd, sd; - ub.M1a.Zl(nb); - Lc = nb.cause; - qc = nb.skip; - cc = nb.N5; - Ec = nb.Moa; - Mc = nb.K; - uc = nb.Aj; - ub.fa.ao.XJb(Ec, cc); - if (Lc !== N.Jd.HD && (t.config.nxb && Lc === N.Jd.xI && ub.Ma.X0(), Lc !== N.Jd.yw)) + ub.L1a.Xl(mb); + Lc = mb.cause; + qc = mb.skip; + cc = mb.N5; + Ec = mb.Hoa; + Mc = mb.K; + uc = mb.yj; + ub.ga.bo.ZJb(Ec, cc); + if (Lc !== R.me.CI && (u.config.sxb && Lc === R.me.NP && ub.Pa.Z0(), Lc !== R.me.Ew)) if (qc) { - if (null !== (Rb = ub.Ma) && void 0 !== Rb && Rb.bi(cc)) { - ub.Qc.trace("Repositioned. Skipping from " + Ec + " to " + cc); - nb = function (Ub) { + if (null !== (Rb = ub.Pa) && void 0 !== Rb && Rb.bi(cc)) { + ub.Pc.trace("Repositioned. Skipping from " + Ec + " to " + cc); + mb = function (Ub) { ub.log.error("streamingSession.skipped threw an exception", Ub); - Ub = da.$c.hja(D.L.q7a, Ub); - ub.Ip(Ub.code, Ub); + Ub = ea.dd.aja(D.M.s7a, Ub); + ub.Lp(Ub.code, Ub); }; try { - ub.Ma.dn(cc).then(function (Ub) { + ub.Pa.cn(cc).then(function (Ub) { var Fc; - Ub.vL || (null === (Fc = ub.Ma) || void 0 === Fc ? void 0 : Fc.play()); - }).catch(nb); + Ub.yL || (null === (Fc = ub.Pa) || void 0 === Fc ? void 0 : Fc.play()); + }).catch(mb); } catch (Ub) { - nb(Ub); + mb(Ub); } } else ub.log.error("can skip returned false"); } else { - ub.Qc.trace("Repositioned. Seeking from " + Ec + " to " + cc); + ub.Pc.trace("Repositioned. Seeking from " + Ec + " to " + cc); try { - rd = ub.xb.l3(ub.fa); - sd = Object.keys(rd.Ca).find(function (Ub) { + rd = ub.nb.m3(ub.ga); + sd = Object.keys(rd.wa).find(function (Ub) { var Fc; - Ub = rd.Ca[Ub]; - return Ub.da === Mc && Ub.xc <= uc && (null !== (Fc = Ub.Yc) && void 0 !== Fc ? Fc : Infinity) > uc; + Ub = rd.wa[Ub]; + return Ub.$ === Mc && Ub.jc <= uc && (null !== (Fc = Ub.Fc) && void 0 !== Fc ? Fc : Infinity) > uc; }); - null === (hc = ub.Ma) || void 0 === hc ? void 0 : hc.nr(uc, sd); + null === (hc = ub.Pa) || void 0 === hc ? void 0 : hc.pr(uc, sd); } catch (Ub) { ub.log.error("streamingSession.seekByContentPts threw an exception", Ub); - cc = da.$c.hja(D.L.o7a, Ub); - ub.Ip(cc.code, cc); + cc = ea.dd.aja(D.M.q7a, Ub); + ub.Lp(cc.code, cc); } } }); }; this.playbackRate.addListener(function () { - var nb, + var mb, Rb; - if (null === (nb = ub.Ma) || void 0 === nb ? 0 : nb.dh) - null === (Rb = ub.Ma) || void 0 === Rb ? void 0 : Rb.ypa(); + if (null === (mb = ub.Pa) || void 0 === mb ? 0 : mb.Ah) + null === (Rb = ub.Pa) || void 0 === Rb ? void 0 : Rb.tpa(); }); - this.addEventListener(N.W.Bx, function (nb) { + this.addEventListener(R.Z.Gx, function (mb) { var Rb; - nb.cause == y.Naa && (ub.hf.set(N.$e.Sc), null === (Rb = ub.Ma) || void 0 === Rb ? void 0 : Rb.zr(ub.Cg.cTa())); + mb.cause == y.Gaa && (ub.hf.set(R.af.Sc), null === (Rb = ub.Pa) || void 0 === Rb ? void 0 : Rb.Cr(ub.Bg.cTa())); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.nEa = void 0; + b.lEa = void 0; f = a(1); k = a(53); - l = a(273); - d = a(275); - g = a(117); - h = a(494); - m = a(1095); - n = a(1096); - r = a(497); + l = a(274); + d = a(276); + g = a(129); + h = a(498); + m = a(1098); + n = a(1099); + q = a(501); p = a(12); - u = a(105); - t = a(13); - w = a(72); - v = a(498); - x = a(63); - y = a(62); + t = a(105); + u = a(13); + w = a(73); + v = a(502); + x = a(64); + y = a(63); z = a(100); - B = a(500); - A = a(1099); - C = a(504); + A = a(504); + B = a(1102); + C = a(508); E = a(7); - F = a(5); + G = a(4); D = a(3); - G = a(21); - I = a(86); - J = a(24); - H = a(61); - M = a(17); - O = a(155); - L = a(505); - P = a(122); - R = a(280); - K = a(29); - Q = a(119); - N = a(18); - da = a(42); - na = a(276); - va = a(514); - ra = a(142); - X = a(474); - ta = a(1127); - za = a(73); - c.prototype.Od = function (V, T) { - var ja; - T = void 0 === T ? this.jK : T; - null === (ja = this.Hp.get(T)) || void 0 === ja ? void 0 : ja.Od(V); - }; - c.prototype.uy = function (V) { - this.fa.uy(V); - }; - c.prototype.QDb = function () { + F = a(21); + J = a(86); + K = a(24); + H = a(62); + L = a(17); + Q = a(155); + I = a(509); + O = a(121); + N = a(281); + M = a(29); + P = a(118); + R = a(18); + ea = a(42); + pa = a(277); + va = a(518); + ta = a(142); + Y = a(1130); + ra = a(1131); + Ea = a(67); + c.prototype.Md = function (V, U) { + var ma; + U = void 0 === U ? this.nK : U; + null === (ma = this.cr.get(U)) || void 0 === ma ? void 0 : ma.Md(V); + }; + c.prototype.xy = function (V) { + this.ga.xy(V); + }; + c.prototype.UDb = function () { + var V; + V = this; + this.Sd.addListener(function (U) { + return V.ga.Sd.set(U.newValue); + }); + this.Ph.addListener(function (U) { + return V.ga.Ph.set(U.newValue); + }); + this.Rc.addListener(function (U) { + return V.ga.Rc.set(U.newValue); + }); + this.Rk.addListener(function (U) { + return V.ga.Rk.set(U.newValue); + }); + this.Wt.addListener(function (U) { + return V.ga.Wt.set(U.newValue); + }); + this.og.addListener(function (U) { + return V.ga.og.set(U.newValue); + }); + this.ek.addListener(function (U) { + return V.ga.ek.set(U.newValue); + }); + this.Tf.addListener(function (U) { + return V.ga.Tf.set(U.newValue); + }); + this.Sg.addListener(function (U) { + return V.ga.Sg.set(U.newValue); + }); + this.pc[k.Qb.Ra.Ob].addListener(function (U) { + return V.ga.pc[k.Qb.Ra.Ob].set(U.newValue); + }); + this.pc[k.Qb.Ra.Bb].addListener(function (U) { + return V.ga.pc[k.Qb.Ra.Bb].set(U.newValue); + }); + this.mediaTime.addListener(function (U) { + return V.ga.mediaTime.set(U.newValue); + }); + this.playbackRate.addListener(function (U) { + return V.ga.playbackRate.set(U.newValue); + }); + this.k2a(); + }; + c.prototype.k2a = function () { var V; V = this; - this.Bd.addListener(function (T) { - return V.fa.Bd.set(T.newValue); - }); - this.Qh.addListener(function (T) { - return V.fa.Qh.set(T.newValue); - }); - this.Nc.addListener(function (T) { - return V.fa.Nc.set(T.newValue); - }); - this.Rk.addListener(function (T) { - return V.fa.Rk.set(T.newValue); - }); - this.Qt.addListener(function (T) { - return V.fa.Qt.set(T.newValue); - }); - this.Xf.addListener(function (T) { - return V.fa.Xf.set(T.newValue); - }); - this.dk.addListener(function (T) { - return V.fa.dk.set(T.newValue); - }); - this.Sf.addListener(function (T) { - return V.fa.Sf.set(T.newValue); - }); - this.Ug.addListener(function (T) { - return V.fa.Ug.set(T.newValue); - }); - this.mediaTime.addListener(function (T) { - return V.fa.mediaTime.set(T.newValue); - }); - this.playbackRate.addListener(function (T) { - return V.fa.playbackRate.set(T.newValue); - }); - this.l2a(); - }; - c.prototype.l2a = function () { - this.fa !== this.Fra && (this.fa.mediaTime.set(this.mediaTime.value), this.fa.playbackRate.set(this.playbackRate.value), this.Tt(function (V) { - return V.Bd; - }, this.Fta), this.Tt(function (V) { - return V.Qh; - }, this.RWb), this.Tt(function (V) { - return V.Qt; - }, this.NWb), this.Tt(function (V) { - return V.Nc; - }, this.OWb), this.Tt(function (V) { - return V.Rk; - }, this.rWb), this.Tt(function (V) { - return V.Xf; - }, this.QWb), this.Tt(function (V) { - return V.dk; - }, this.sWb), this.Tt(function (V) { - return V.Ug; - }, this.EWb), this.Tt(function (V) { - return V.Sf; - }, this.FWb), this.Tt(function (V) { - return V.mediaTime; - }, this.AWb), this.Tt(function (V) { - return V.playbackRate; - }, this.A8), this.Nc.set(this.fa.Nc.value), this.Bd.set(this.fa.Bd.value, { - TLa: !0 - }), this.Qh.set(this.fa.Qh.value), this.Rk.set(this.fa.Rk.value), this.Qt.set(this.fa.Qt.value), this.Xf.set(this.fa.Xf.value), this.dk.set(this.fa.dk.value), this.Fra = this.fa); - }; - c.prototype.Tt = function (V, T) { - this.Fra && V(this.Fra).removeListener(T); - V(this.fa).addListener(T); + this.ga !== this.yra && (this.ga.mediaTime.set(this.mediaTime.value), this.ga.playbackRate.set(this.playbackRate.value), this.aq(function (U) { + return U.Sd; + }, this.zta), this.aq(function (U) { + return U.Ph; + }, this.TWb), this.aq(function (U) { + return U.Wt; + }, this.PWb), this.aq(function (U) { + return U.Rc; + }, this.QWb), this.aq(function (U) { + return U.Rk; + }, this.tWb), this.aq(function (U) { + return U.og; + }, this.SWb), this.aq(function (U) { + return U.ek; + }, this.uWb), this.aq(function (U) { + return U.Sg; + }, this.GWb), this.aq(function (U) { + return U.Tf; + }, this.HWb), this.aq(function (U) { + return U.pc[k.Qb.Ra.Ob]; + }, function (U) { + return V.pc[k.Qb.Ra.Ob].set(U.newValue); + }), this.aq(function (U) { + return U.pc[k.Qb.Ra.Bb]; + }, function (U) { + return V.pc[k.Qb.Ra.Bb].set(U.newValue); + }), this.aq(function (U) { + return U.mediaTime; + }, this.CWb), this.aq(function (U) { + return U.playbackRate; + }, this.w8), this.Rc.set(this.ga.Rc.value), this.Sd.set(this.ga.Sd.value, { + SLa: !0 + }), this.Ph.set(this.ga.Ph.value), this.Rk.set(this.ga.Rk.value), this.Wt.set(this.ga.Wt.value), this.og.set(this.ga.og.value), this.ek.set(this.ga.ek.value), this.yra = this.ga); + }; + c.prototype.aq = function (V, U) { + this.yra && V(this.yra).removeListener(U); + V(this.ga).addListener(U); }; c.prototype.load = function (V) { - var T, - ja; - T = this; + var U, + ma; + U = this; this.load = function () {}; - this.r0a = V; - if (this.state.value == N.Gb.kI) { - this.Qc.info("Playback loading", this); - this.SJb(); - this.Od("asl_load_start"); - V = this.PJ; - ja = V.endTime; - M.Hc(V.startTime) ? M.Hc(ja) ? this.Od("asl_ended") : this.Od("asl_in_progress") : this.Od("asl_not_started"); - this.PJ.pU(function (Ia) { - T.Od("asl_load_complete"); - Ia.X ? T.Brb() : T.Ip(Ia.errorCode || D.L.xza, Ia); + this.p0a = V; + if (this.state.value == R.Jb.rI) { + this.Pc.info("Playback loading", this); + this.UJb(); + this.Md("asl_load_start"); + V = this.SJ; + ma = V.endTime; + L.Jc(V.startTime) ? L.Jc(ma) ? this.Md("asl_ended") : this.Md("asl_in_progress") : this.Md("asl_not_started"); + this.SJ.oU(function (Ia) { + U.Md("asl_load_complete"); + Ia.W ? U.Crb() : U.Lp(Ia.errorCode || D.M.vza, Ia); }); } }; - c.prototype.eNb = function () { + c.prototype.iNb = function () { var V; try { - if (this.state.value === N.Gb.LOADING) { + if (this.state.value === R.Jb.LOADING) { V = { width: 1, height: 1, - Aea: 1 + uea: 1 }; - this.DF().forEach(function (T) { - V.width * V.height < T.width * T.height && (V.width = T.width, V.height = T.height, V.Aea = T.Aea); + this.IF().forEach(function (U) { + V.width * V.height < U.width * U.height && (V.width = U.width, V.height = U.height, V.uea = U.uea); }); - this.Lz = V; - this.NE = this.ME.Qkb({ - wH: F.uc(this.Z), + this.Oz = V; + this.OE = this.VJ.Rkb({ + EH: G.wc(this.X), K: this.K, - s6: this.Lx, + r6: this.Qx, kb: this.kb - }).ea(F.ma); - this.Mea(); - this.Bsb(); + }).ea(G.ma); + this.Fea(); + this.Dsb(); } - } catch (T) { - this.Ip(D.L.Fab, { - oa: D.M.fj, - sb: J.vd(T) + } catch (U) { + this.Lp(D.M.Iab, { + oa: D.L.dj, + qb: K.vd(U) }); } }; - c.prototype.mG = function () { + c.prototype.sG = function () { var V, - T; - T = this.xb.l3(this); - this.hPa(T); - null === (V = this.Ma) || void 0 === V ? void 0 : V.gX(T); + U; + U = this.nb.m3(this); + this.gPa(U); + null === (V = this.Pa) || void 0 === V ? void 0 : V.fX(U); }; - c.prototype.xLa = function (V, T, ja) { + c.prototype.vLa = function (V, U, ma) { var Ia, wa, - Sa, + Ta, Ua; - T = void 0 === T ? this.HF.lB() : T; - ja = void 0 === ja ? this.Pa.Zb() : ja; - wa = !!t.config.B6a && !(T % t.config.B6a); - Sa = V.da; + U = void 0 === U ? this.MF.mB() : U; + ma = void 0 === ma ? this.La.Xb() : ma; + wa = !!u.config.E6a && !(U % u.config.E6a); + Ta = V.$; Ua = V.va; V = V.kb; - this.Hp.has(Sa) ? this.Hp.get(Sa) : (T = this.zpa(y.qI.index++, Sa, Ua, V, T, ja, wa, this.fa, this.qka), this.Hp.set(Sa, T), 1 < this.Hp.size && (T.rU = this.V4.create(this, T, !1)), T.VL = new z.aCa(this, T), null === (Ia = this.Ma) || void 0 === Ia ? void 0 : Ia.eS(T.va, { - sessionId: T.K + "-" + T.ba, - ba: T.ba, - Dv: T.Bj + this.cr.has(Ta) ? this.cr.get(Ta) : (U = this.upa(y.xI.index++, Ta, Ua, V, U, ma, wa, this.ga, this.mka), this.cr.set(Ta, U), 1 < this.cr.size && (U.qU = this.V4.create(this, U, !1)), U.XL = new z.ZBa(this, U), null === (Ia = this.Pa) || void 0 === Ia ? void 0 : Ia.dS(U.va, { + sessionId: U.K + "-" + U.ca, + ca: U.ca, + Jv: U.zj })); }; - c.prototype.eL = function (V) { - if (!this.Hp.has(V)) + c.prototype.hL = function (V) { + if (!this.cr.has(V)) throw Error("Playback segment not found: " + V); - return this.Hp.get(V); + return this.cr.get(V); }; - c.prototype.Qq = function (V) { - var T; - V = this.xb.Me(V); - return null !== (T = this.Hp.get(null === V || void 0 === V ? void 0 : V.da)) && void 0 !== T ? T : this.fa; + c.prototype.wp = function (V) { + var U; + V = this.nb.ze(V); + return null !== (U = this.cr.get(null === V || void 0 === V ? void 0 : V.$)) && void 0 !== U ? U : this.ga; }; - c.prototype.RAb = function (V) { - for (var T, ja, Ia = aa(this.xV), wa = Ia.next(); !wa.done; wa = Ia.next()) { - if ((wa = wa.value, (null === (ja = null === (T = wa.we) || void 0 === T ? void 0 : T.tb) || void 0 === ja ? void 0 : ja.sessionId) === V)) + c.prototype.UAb = function (V) { + for (var U, ma, Ia = aa(this.wV), wa = Ia.next(); !wa.done; wa = Ia.next()) { + if ((wa = wa.value, (null === (ma = null === (U = wa.Ve) || void 0 === U ? void 0 : U.wb) || void 0 === ma ? void 0 : ma.sessionId) === V)) return wa; } - return this.fa; + return this.ga; }; - c.prototype.yOb = function (V) { - var T, - ja; - T = this; - ja = V.K; - this.Uj.VRb(ja); + c.prototype.DOb = function (V) { + var U, + ma; + U = this; + ma = V.K; + this.Uj.YRb(ma); return this.G2a(V).then(function (Ia) { - var wa; - if (null === (wa = T.Ma) || void 0 === wa || !wa.dh) - throw new da.$c(D.L.Hcb, D.M.h7a); - T.I0a(Ia, V); - return (V.XB ? T.Ib.Mi.N1a(V) : Promise.resolve()).then(function () { - return T.Uj.Y2a(ja); + U.I0a(Ia, V); + return (V.ZB ? U.Kb.cl.M1a(V) : Promise.resolve()).then(function () { + return U.Uj.Y2a(ma); }); }).catch(function (Ia) { - T.log.error("queueManifest failed", Ia); - T.Uj.URb(ja, Ia); - throw T.Xm(Ia.code, Ia); + U.log.error("queueManifest failed", Ia); + U.Uj.XRb(ma, Ia); + throw U.Wm(Ia.code, Ia); }); }; - c.prototype.pyb = function () { - if (M.xa(this.bd.ats) && M.xa(this.bd.at)) + c.prototype.uyb = function () { + if (L.ya(this.bd.ats) && L.ya(this.bd.at)) return this.bd.at - this.bd.ats; }; c.prototype.ySa = function () { var V, - T; - V = this.nX(); - T = this.sR(); - return Math.min(V, T); + U; + V = this.mX(); + U = this.tR(); + return Math.min(V, U); }; - c.prototype.BW = function () { - this.background || (this.Qc.info("Starting inactivity monitor for movie " + this.K), new v.Tza(this)); + c.prototype.AW = function () { + this.background || (this.Pc.info("Starting inactivity monitor for movie " + this.K), new v.Rza(this)); }; c.prototype.close = function (V) { - V && (this.state.value == N.Gb.CLOSED ? V() : this.addEventListener(N.W.closed, function () { + V && (this.state.value == R.Jb.CLOSED ? V() : this.addEventListener(R.Z.closed, function () { V(); })); - this.tsa(); + this.nsa(); }; - c.prototype.Ld = function (V, T, ja) { - V = this.Xm(V, T, ja); - this.aK(V, void 0); + c.prototype.Jd = function (V, U, ma) { + V = this.Wm(V, U, ma); + this.WE(V, void 0); }; - c.prototype.aK = function (V, T) { - var ja, + c.prototype.WE = function (V, U) { + var ma, Ia, wa, - Sa; - ja = this; - if (this.state.value == N.Gb.kI) + Ta; + ma = this; + if (this.state.value == R.Jb.rI) this.Zk || (this.Zk = V, this.load()); else { - T && (this.state.value == N.Gb.CLOSED ? T() : this.addEventListener(N.W.closed, function () { - T(); + U && (this.state.value == R.Jb.CLOSED ? U() : this.addEventListener(R.Z.closed, function () { + U(); })); Ia = function () { - ja.tsa(V); + ma.nsa(V); }; - wa = t.config.RPa && V && t.config.RPa[V.errorCode]; - Sa = -1; - M.Dy(wa) && (Sa = J.pe(wa)); - this.Qc.error("Fatal playback error", { + wa = u.config.PPa && V && u.config.PPa[V.errorCode]; + Ta = -1; + L.Gy(wa) && (Ta = K.se(wa)); + this.Pc.error("Fatal playback error", { Error: "" + V, HandleDelay: "" + wa }); - 0 <= Sa ? setTimeout(Ia, Sa) : Ia(); + 0 <= Ta ? setTimeout(Ia, Ta) : Ia(); } }; - c.prototype.dX = function () { - this.Pb.tc(N.W.dX); + c.prototype.cX = function () { + this.Rb.qc(R.Z.cX); }; - c.prototype.TA = function (V) { - var T; - T = void 0 === T ? this.va : T; - this.q0a.push(this.Pa.Zb().ea(F.ma) + "-" + T + "-" + V); + c.prototype.IE = function (V) { + var U; + U = void 0 === U ? this.va : U; + this.o0a.push(this.La.Xb().ea(G.ma) + "-" + U + "-" + V); }; - c.prototype.oxb = function () { - this.QRa(); + c.prototype.txb = function () { + this.PRa(); }; - c.prototype.eka = function () { + c.prototype.aka = function () { var V; - if (null === (V = this.Ma) || void 0 === V ? 0 : V.dh) - if ((V = this.Ma.vp().id, void 0 !== V)) + if (null === (V = this.Pa) || void 0 === V ? 0 : V.Ah) + if ((V = this.Pa.xp().id, void 0 !== V)) return V; return null; }; - c.prototype.BB = function () { + c.prototype.DB = function () { var V, - T; - T = null === (V = this.Ma) || void 0 === V ? void 0 : V.dh; - return void 0 === this.fa.t1 || T ? this.qka(this.mediaTime.value) : this.fa.t1; + U; + U = null === (V = this.Pa) || void 0 === V ? void 0 : V.Ah; + return void 0 === this.ga.u1 || U ? this.mka(this.mediaTime.value) : this.ga.u1; }; - c.prototype.dka = function () { + c.prototype.$ja = function () { var V; - V = this.qka(this.Cg.cTa()); - return null === V ? null : Math.min(this.Lx.ea(F.ma), Math.max(0, V)); + V = this.mka(this.Bg.cTa()); + return null === V ? null : Math.min(this.Qx.ea(G.ma), Math.max(0, V)); }; - c.prototype.jT = function () { + c.prototype.hT = function () { var V, - T; - return null === (T = null === (V = this.sa) || void 0 === V ? void 0 : V.Wc.ym) || void 0 === T ? void 0 : T.Ca; + U; + return null === (U = null === (V = this.sa) || void 0 === V ? void 0 : V.Xc.Hn) || void 0 === U ? void 0 : U.wa; }; - c.prototype.DWb = function (V) { - this.kb = P.Sna(this.kb, V); - this.Mea(); + c.prototype.FWb = function (V) { + this.kb = O.Nna(this.kb, V); + this.Fea(); }; - c.prototype.kyb = function () { - return this.Bd.value ? this.Bd.value.streams : []; + c.prototype.qyb = function () { + return this.Sd.value ? this.Sd.value.streams : []; }; - c.prototype.DF = function (V) { + c.prototype.IF = function (V) { V = void 0 === V ? this.K : V; - return (V = this.eL(V).Qh) && V.value ? V.value.streams : []; + return (V = this.hL(V).Ph) && V.value ? V.value.streams : []; }; - c.prototype.zCb = function (V) { - for (var T = aa(this.xV), ja = T.next(); !ja.done; ja = T.next()) { - if (ja = (ja = ja.value.Uk) && ja.find(function (Ia) { + c.prototype.BCb = function (V) { + for (var U = aa(this.wV), ma = U.next(); !ma.done; ma = U.next()) { + if (ma = (ma = ma.value.Uk) && ma.find(function (Ia) { return Ia.id === V; })) - return ja; + return ma; } }; - c.prototype.sNb = function (V) { - V = void 0 === V ? this.fa : V; - V.Nc.value ? this.Yp.pNb(V.Nc.value) : Promise.resolve(); + c.prototype.wNb = function (V) { + V = void 0 === V ? this.ga : V; + V.Rc.value ? this.Zp.tNb(V.Rc.value) : Promise.resolve(); }; c.prototype.SUa = function (V) { - for (var T = aa(this.xV), ja = T.next(); !ja.done; ja = T.next()) { - ja = aa(ja.value.Yo); - for (var Ia = ja.next(); !Ia.done; Ia = ja.next()) { + for (var U = aa(this.wV), ma = U.next(); !ma.done; ma = U.next()) { + ma = aa(ma.value.Zo); + for (var Ia = ma.next(); !Ia.done; Ia = ma.next()) { if (Ia = Ia.value.streams.find(function (wa) { - return wa.Dd === V; + return wa.Cd === V; })) return Ia; } } }; c.prototype.aVa = function (V) { - for (var T = aa(this.xV), ja = T.next(); !ja.done; ja = T.next()) { - ja = aa(ja.value.so); - for (var Ia = ja.next(); !Ia.done; Ia = ja.next()) { + for (var U = aa(this.wV), ma = U.next(); !ma.done; ma = U.next()) { + ma = aa(ma.value.uo); + for (var Ia = ma.next(); !Ia.done; Ia = ma.next()) { if (Ia = (Ia = Ia.value) && Ia.streams.find(function (wa) { - return wa.Dd === V; + return wa.Cd === V; })) return Ia; } } }; - c.prototype.ws = function () { + c.prototype.As = function () { var V, - T, - ja; - return null !== (ja = null === (T = null === (V = this.u6) || void 0 === V ? void 0 : V.bS) || void 0 === T ? void 0 : T.call(V)) && void 0 !== ja ? ja : this.Lrb().vB; + U, + ma; + return null !== (ma = null === (U = null === (V = this.t6) || void 0 === V ? void 0 : V.aS) || void 0 === U ? void 0 : U.call(V)) && void 0 !== ma ? ma : this.Mrb().vB; }; c.prototype.o3a = function (V) { - var T, - ja; - null !== (T = this.Ma) && void 0 !== T && T.dh && this.Hp.has(V) && ((null === (ja = this.u6) || void 0 === ja ? 0 : ja.bS) ? this.u6.O5a() : (T = this.Vga(V), this.Ma.Qp(T, V))); + var U, + ma; + null !== (U = this.Pa) && void 0 !== U && U.Ah && this.cr.has(V) && ((null === (ma = this.t6) || void 0 === ma ? 0 : ma.aS) ? this.t6.Q5a() : (U = this.Pga(V), this.Pa.Tp(U, V))); }; - c.prototype.nFb = function () { - return "trailer" === this.Zd; + c.prototype.qFb = function () { + return "trailer" === this.je; }; - c.prototype.vEb = function () { - return !!this.Zd && 0 <= this.Zd.indexOf("billboard"); + c.prototype.yEb = function () { + return !!this.je && 0 <= this.je.indexOf("billboard"); }; - c.prototype.sFb = function () { - return !!this.Zd && 0 <= this.Zd.indexOf("video-merch"); + c.prototype.vFb = function () { + return !!this.je && 0 <= this.je.indexOf("video-merch"); }; - c.prototype.PEb = function () { - return !!this.Zd && 0 <= this.Zd.indexOf("mini-modal"); + c.prototype.UEb = function () { + return !!this.je && 0 <= this.je.indexOf("mini-modal"); }; - c.prototype.WB = function () { - return this.nFb() || this.vEb() || this.sFb() || this.PEb(); + c.prototype.YB = function () { + return this.qFb() || this.yEb() || this.vFb() || this.UEb(); }; - c.prototype.Aja = function () { + c.prototype.tja = function () { var wa, - Sa, + Ta, Ua; - if (this.so) { - for (var V, T = 0; T < this.so.length; T++) { - for (var ja = this.so[T], Ia = 0; Ia < ja.streams.length; Ia++) { - wa = ja.streams[Ia]; - if (M.xa(wa.Wga) && M.xa(wa.D1) && M.xa(wa.C1) && M.xa(wa.B1) && (0 < wa.Wga || 0 < wa.D1)) { - Sa = 1; + if (this.uo) { + for (var V, U = 0; U < this.uo.length; U++) { + for (var ma = this.uo[U], Ia = 0; Ia < ma.streams.length; Ia++) { + wa = ma.streams[Ia]; + if (L.ya(wa.Qga) && L.ya(wa.F1) && L.ya(wa.E1) && L.ya(wa.D1) && (0 < wa.Qga || 0 < wa.F1)) { + Ta = 1; Ua = 1; - M.xa(wa.a0a) && M.xa(wa.b0a) && (Sa = wa.a0a, Ua = wa.b0a); - wa = wa.B1 * Ua / (wa.C1 * Sa); - V = M.xa(V) ? Math.min(V, wa) : wa; + L.ya(wa.Z_a) && L.ya(wa.$_a) && (Ta = wa.Z_a, Ua = wa.$_a); + wa = wa.D1 * Ua / (wa.E1 * Ta); + V = L.ya(V) ? Math.min(V, wa) : wa; } } } return V; } }; - c.prototype.iBb = function () { + c.prototype.kBb = function () { return { - tr: this.ita, - rt: this.hra + tr: this.cta, + rt: this.ara }; }; - c.prototype.my = function (V) { - return this.Gj[V]; + c.prototype.qy = function (V) { + return this.Fj[V]; }; - c.prototype.onb = function () { - return this.dm ? this.Pa.Zb().ea(F.ma) - this.dm : this.wa.Ue.ea(F.ma) - this.M2(); + c.prototype.pnb = function () { + return this.bm ? this.La.Xb().ea(G.ma) - this.bm : this.xa.We.ea(G.ma) - this.N2(); }; - c.prototype.Ifa = function () { + c.prototype.Bfa = function () { var V; - if (this.dm) - return this.Pa.Zb().ea(F.ma) - this.dm; - V = this.Pa.TF; - return this.i0a - (this.Wl.ea(F.ma) + V.ea(F.ma)); + if (this.bm) + return this.La.Xb().ea(G.ma) - this.bm; + V = this.La.ZF; + return this.g0a - (this.Vl.ea(G.ma) + V.ea(G.ma)); }; - c.prototype.Anb = function () { - return this.dm ? this.Pa.Zb().ea(F.ma) - this.dm : this.i0a - this.M2(); + c.prototype.Bnb = function () { + return this.bm ? this.La.Xb().ea(G.ma) - this.bm : this.g0a - this.N2(); }; - c.prototype.MJb = function (V) { - var T, - ja; - T = this.loadTime; - ja = {}; - J.de(V, function (Ia, wa) { - ja[Ia] = wa.map(function (Sa) { - return Sa - T; + c.prototype.OJb = function (V) { + var U, + ma; + U = this.loadTime; + ma = {}; + K.ae(V, function (Ia, wa) { + ma[Ia] = wa.map(function (Ta) { + return Ta - U; }); }); - return ja; + return ma; }; - c.prototype.zyb = function () { + c.prototype.Eyb = function () { var V, - T; + U; V = this.loadTime; - T = {}; - J.de(this.mfa, function (ja, Ia) { - T[ja] = Ia.map(function (wa) { + U = {}; + K.ae(this.ffa, function (ma, Ia) { + U[ma] = Ia.map(function (wa) { return wa - V; }); }); - return h.Pu ? { - level: h.Pu.wTa(), - charging: h.Pu.yja(), - statuses: T + return h.Uu ? { + level: h.Uu.xTa(), + charging: h.Uu.rja(), + statuses: U } : null; }; - c.prototype.u3 = function () { - this.PRa(); - return this.pX; + c.prototype.v3 = function () { + this.ORa(); + return this.oX; }; - c.prototype.M2 = function () { + c.prototype.N2 = function () { var V; - V = this.kb.x8; - V = M.xa(V) ? V : this.Wl.ea(F.ma) + this.Pa.TF.ea(F.ma); - G.gb(M.Cy(V)); + V = this.kb.t8; + V = L.ya(V) ? V : this.Vl.ea(G.ma) + this.La.ZF.ea(G.ma); + F.gb(L.Fy(V)); return V; }; - c.prototype.kka = function () { - return this.Pa.Zb().ea(F.ma) - this.Wl.ea(F.ma); + c.prototype.gka = function () { + return this.La.Xb().ea(G.ma) - this.Vl.ea(G.ma); }; - c.prototype.p3a = function (V, T) { - this.pX[V] = T; + c.prototype.p3a = function (V, U) { + this.oX[V] = U; }; - c.prototype.cYb = function () { - this.$Sb = !0; + c.prototype.eYb = function () { + this.cTb = !0; }; c.prototype.V5 = function () { this.w1a(); }; - c.prototype.nX = function () { + c.prototype.mX = function () { var V; - V = this.F0(); + V = this.H0(); return V && V.vbuflmsec || 0; }; - c.prototype.sR = function () { + c.prototype.tR = function () { var V; - V = this.F0(); + V = this.H0(); return V && V.abuflmsec || 0; }; - c.prototype.bua = function () { + c.prototype.Yta = function () { var V; - V = this.F0(); + V = this.H0(); return V && V.vbuflbytes || 0; }; - c.prototype.Wea = function () { + c.prototype.Pea = function () { var V; - V = this.F0(); + V = this.H0(); return V && V.abuflbytes || 0; }; c.prototype.G2a = function (V) { - var T, - ja, + var U, + ma, Ia; - T = this; - V = void 0 === V ? this.fa : V; - ja = V !== this.fa; - Ia = t.config.N6.enabled ? Q.Xj.nFa : ja ? Q.Xj.GD : this.WB() ? Q.Xj.xZ : Q.Xj.Co; - ja = this.WB() ? void 0 : this.Ib.Mi.c3(ja); - return this.el.sT({ - ba: V.ba, + U = this; + V = void 0 === V ? this.ga : V; + ma = V !== this.ga; + Ia = u.config.K6.enabled ? P.Xj.kFa : ma ? P.Xj.JD : this.YB() ? P.Xj.xZ : P.Xj.Do; + ma = this.YB() ? void 0 : this.Kb.cl.e3(ma); + return this.el.qT({ + ca: V.ca, kb: V.kb, - da: V.K, - fv: Ia, - Qf: ja + $: V.K, + mv: Ia, + Rf: ma }).then(function (wa) { - wa.nWa && T.fireEvent(N.W.LL, { + wa.lWa && U.fireEvent(R.Z.NL, { K: V.K }); return wa; }); }; - c.prototype.I0a = function (V, T) { - T = void 0 === T ? this.fa : T; - T.sa = V; - V = this.sna.create(this).ULb(V); - T.Mc = V; - T.Qh.set(V.qha); - T.Bd.set(V.lS); - T.Nc.set(V.pha); + c.prototype.I0a = function (V, U) { + U = void 0 === U ? this.ga : U; + U.sa = V; + V = this.mna.create(this).XLb(V); + U.Yc = V; + U.Ph.set(V.kha); + U.Sd.set(V.kS); + U.Rc.set(V.jha); }; - c.prototype.wxb = function (V) { - this.OG(V, !1); + c.prototype.Cxb = function (V) { + this.XG(V, !1); }; - c.prototype.UUa = function (V, T) { - if (!this.kl.Xta) + c.prototype.UUa = function (V, U) { + if (!this.xk.Tta) return !0; - V = this.qt.ea(F.ma) - V; - return 0 > V || V > T; + V = this.vt.ea(G.ma) - V; + return 0 > V || V > U; }; - c.prototype.AQb = function () { - this.Cg.seek(this.BB() || 0, N.Jd.tY); + c.prototype.FQb = function () { + this.Bg.seek(this.DB() || 0, R.me.tY); }; - c.prototype.OG = function (V, T) { - var ja, + c.prototype.XG = function (V, U) { + var ma, Ia; if (this.IM) { - if (V === this.jK) { + if (V === this.nK) { this.IM = V; return; } - ja = this.eL(V); - Ia = ja.sa; - Ia && M.Hc(Ia.FG) && M.Hc(Ia.XM) && ja.uy({ - pr_ats: Ia.FG, + ma = this.hL(V); + Ia = ma.sa; + Ia && L.Jc(Ia.MG) && L.Jc(Ia.XM) && ma.xy({ + pr_ats: Ia.MG, pr_at: Ia.XM }); - this.fireEvent(N.W.OL, { - K: this.jK + this.fireEvent(R.Z.QL, { + K: this.nK }); - this.jK = V; - this.Mea(); - T || this.l2a(); - this.sL = this.wa.x7; - this.fa.dm || (this.fa.dm = this.Pa.Zb().ea(F.ma)); + this.nK = V; + this.Fea(); + U || this.k2a(); + this.vL = this.xa.t7; + this.ga.bm || (this.ga.bm = this.La.Xb().ea(G.ma)); } - ("boolean" === typeof this.kb.BK ? this.kb.BK : t.config.BK) && !T && this.qta.BK(this); - T = { + ("boolean" === typeof this.kb.FK ? this.kb.FK : u.config.FK) && !U && this.lta.FK(this); + U = { K: V, - r4: T, + s4: U, IM: this.IM }; this.IM = V; - this.fireEvent(N.W.sv, T); + this.fireEvent(R.Z.yv, U); }; - c.prototype.Brb = function () { + c.prototype.Crb = function () { try { - this.Ib = new m.PBa(this); - this.$R = new na.Fwa(this); - this.rU = this.V4.create(this, this.fa, !0); - t.config.Unb && new va.tya(this, this.Ql, this.log); - t.config.OR && this.OR(this); - this.BXb(); + this.Kb = new m.NBa(this); + this.$R = new pa.Cwa(this); + this.qU = this.V4.create(this, this.ga, !0); + u.config.Vnb && new va.rya(this, this.Ql, this.log); + u.config.PR && this.PR(this); + this.DXb(); } catch (V) { - this.Ip(D.L.Eab, { - oa: D.M.fj, - sb: J.vd(V) + this.Lp(D.M.Hab, { + oa: D.L.dj, + qb: K.vd(V) }); } }; - c.prototype.BXb = function () { - this.Zk ? this.aK(this.Zk) : M.fma(this.K) ? this.rob() : this.Ip(D.L.qab, { - sb: "" + this.K + c.prototype.DXb = function () { + this.Zk ? this.WE(this.Zk) : L.$la(this.K) ? this.sob() : this.Lp(D.M.tab, { + qb: "" + this.K }); }; - c.prototype.rob = function () { + c.prototype.sob = function () { var V; - V = l.cH.Q2a; - V ? V.X ? this.nga() : this.Ip(D.L.Pza, V) : (G.gb(!t.config.g2), this.hea()); + V = l.kH.Q2a; + V ? V.W ? this.hga() : this.Lp(D.M.Nza, V) : (F.gb(!u.config.h2), this.bea()); }; - c.prototype.nga = function () { + c.prototype.hga = function () { var V; V = this; - !this.background && t.config.nga ? y.Qaa(function () { - V.hea(); - }, this) : this.hea(); + !this.background && u.config.hga ? y.Jaa(function () { + V.bea(); + }, this) : this.bea(); }; - c.prototype.hea = function () { + c.prototype.bea = function () { var V; V = this; - this.state.value == N.Gb.LOADING && (t.config.gia && !this.WB() ? l.cH.nx(y.jEa, function (T) { - T.X ? (V.T4 = T.T4, t.config.u7 ? V.AR() : V.Lra()) : V.Ip(D.L.Oza); - }, !0) : t.config.u7 ? this.AR() : this.Lra()); + this.state.value == R.Jb.LOADING && (u.config.$ha && !this.YB() ? l.kH.sx(y.hEa, function (U) { + U.W ? (V.T4 = U.T4, u.config.q7 ? V.BR() : V.Era()) : V.Lp(D.M.Mza); + }, !0) : u.config.q7 ? this.BR() : this.Era()); }; - c.prototype.Lra = function () { + c.prototype.Era = function () { var V; V = this; - this.state.value == N.Gb.LOADING && (this.Od("ic"), this.FMb.vRb(function (T) { - T.error && V.log.error("Error sending persisted playdata", D.Lr(T)); + this.state.value == R.Jb.LOADING && (this.Md("ic"), this.IMb.yRb(function (U) { + U.error && V.log.error("Error sending persisted playdata", D.Or(U)); try { - V.AR(); - } catch (ja) { - V.log.error("playback.authorize threw an exception", ja); - V.Ip(D.L.A7a, { - oa: D.M.fj, - sb: J.vd(ja) + V.BR(); + } catch (ma) { + V.log.error("playback.authorize threw an exception", ma); + V.Lp(D.M.C7a, { + oa: D.L.dj, + qb: K.vd(ma) }); } })); }; - c.prototype.AR = function () { + c.prototype.BR = function () { var V, - T; + U; V = this; - if (this.state.value == N.Gb.LOADING) { + if (this.state.value == R.Jb.LOADING) { this.log.info("Authorizing", this); - T = this.Pa.Zb().ea(F.ma); - this.Od("ats"); - this.$R.AR(function (ja) { + U = this.La.Xb().ea(G.ma); + this.Md("ats"); + this.$R.BR(function (ma) { var Ia; - if (V.state.value == N.Gb.LOADING) { - V.Od("at"); + if (V.state.value == R.Jb.LOADING) { + V.Md("at"); Ia = V.sa; - V.uy({ - pr_ats: Ia && M.Hc(Ia.FG) ? Ia.FG : T, - pr_at: Ia && M.Hc(Ia.XM) ? Ia.XM : V.Pa.Zb().ea(F.ma) + V.xy({ + pr_ats: Ia && L.Jc(Ia.MG) ? Ia.MG : U, + pr_at: Ia && L.Jc(Ia.XM) ? Ia.XM : V.La.Xb().ea(G.ma) }); - ja.X ? 0 < V.Mc.Uk.length && V.Mc.lS && V.Mc.qha && V.Mc.pha ? V.eOb() : V.Ip(D.L.kbb, V.tna(V.Mc)) : V.Ip(D.L.V$, ja); + ma.W ? 0 < V.Yc.Uk.length && V.Yc.kS && V.Yc.kha && V.Yc.jha ? V.jOb() : V.Lp(D.M.obb, V.nna(V.Yc)) : V.Lp(D.M.N$, ma); } }); } }; - c.prototype.eOb = function () { + c.prototype.jOb = function () { var V; V = this; - this.r0a ? (this.log.info("Processing post-authorize", this), this.r0a(this, function (T) { - T.X ? V.S5a() : V.Ip(D.L.Jab, T); - })) : this.S5a(); + this.p0a ? (this.log.info("Processing post-authorize", this), this.p0a(this, function (U) { + U.W ? V.U5a() : V.Lp(D.M.Mab, U); + })) : this.U5a(); }; - c.prototype.S5a = function () { + c.prototype.U5a = function () { var V, - T; + U; f.__awaiter(this, void 0, void 0, function Ia() { var wa; wa = this; - return Ha(Ia, function (Sa) { - if (wa.state.value != N.Gb.LOADING) - return Sa.return(); - (null === (V = wa.fa.sa) || void 0 === V ? 0 : V.Wc.ym) && wa.xb.reset(za.gB(null === (T = wa.fa.sa) || void 0 === T ? void 0 : T.Wc.ym, { - config: t.config + return Ha(Ia, function (Ta) { + if (wa.state.value != R.Jb.LOADING) + return Ta.return(); + (null === (V = wa.ga.sa) || void 0 === V ? 0 : V.Xc.Hn) && wa.nb.reset(Ea.iB(null === (U = wa.ga.sa) || void 0 === U ? void 0 : U.Xc.Hn, { + config: u.config })); - wa.Ma = wa.Pea(wa.xb, wa); - wa.Ma.BSb({ - Dl: g.Dl, - config: t.config, - te: wa.te, - Qc: wa.Qc, - dt: wa.dt.bind(wa), + wa.Pa = wa.Iea(wa.nb, wa); + wa.Pa.FSb({ + sm: g.sm, + config: u.config, + ve: wa.ve, + Pc: wa.Pc, + jt: wa.jt.bind(wa), ii: E.ii, - oW: wa.oW.bind(wa), - OG: wa.OG.bind(wa) + nW: wa.nW.bind(wa), + XG: wa.XG.bind(wa) }); - wa.eNb(); - Sa.iG = 0; + wa.iNb(); + Ta.oG = 0; }); }); }; - c.prototype.Bsb = function () { + c.prototype.Dsb = function () { var V, - T, - ja, + U, + ma, Ia, wa, - Sa; + Ta; V = this; try { - if (this.state.value === N.Gb.LOADING) { - this.Ib.open(); - T = new Promise(function (Ua) { - V.Ib.addEventListener(R.jj.Q3a, Ua); + if (this.state.value === R.Jb.LOADING) { + this.Kb.open(); + U = new Promise(function (Ua) { + V.Kb.addEventListener(N.hj.R3a, Ua); }); - this.Cg = new L.UBa(this); - ja = this.Mc.lS.po === ra.rq.NONE; + this.Bg = new I.SBa(this); + ma = this.Yc.kS.qo === ta.tq.NONE; Ia = { - yg: !1, - SN: t.config.SN, - D8: t.config.e2, - tU: !1, - Gi: !this.XB, - DM: !!this.kb.x4, - Aa: this.kb.Aa, - UC: this.Mc.lS.AL || ja + Ng: !1, + sU: !1, + Gi: !this.ZB, + EM: !!this.kb.x4, + Ca: this.kb.Ca, + VC: this.Yc.kS.TF || ma }; wa = { - sG: this.log, - Mm: this.Mm, - sessionId: this.K + "-" + this.ba, - ba: this.ba, - Dv: this.Bj, - gi: O.ei ? O.ei.gi : void 0, - Kq: this.kub(), - gs: this.gs() + yG: this.log, + Km: this.Km, + sessionId: this.K + "-" + this.ca, + ca: this.ca, + Jv: this.zj, + gi: Q.ei ? Q.ei.gi : void 0, + Lq: this.oub(), + ks: this.ks() }; - this.NQa = !!wa.Kq; + this.LQa = !!wa.Lq; try { - if (this.state.value !== N.Gb.LOADING) + if (this.state.value !== R.Jb.LOADING) return; - Sa = this.Ma; - Sa.c4({ + Ta = this.Pa; + Ta.d4({ flags: Ia, - Vu: wa, - va: this.xb.Yta ? this.xb.Fh : this.fa.va, - Vga: this.Vga.bind(this) + $u: wa, + va: this.nb.Uta ? this.nb.Eh : this.ga.va, + Pga: this.Pga.bind(this) }); - this.hPa(this.xb.l3(this)); + this.gPa(this.nb.m3(this)); this.Akb(); - Sa.Hmb({ - Gj: this.Gj, + Ta.Hmb({ + Fj: this.Fj, loadTime: this.loadTime }); } catch (Ua) { throw (this.log.error("Failed to initialize ASE streaming", { error: Ua, - startPts: this.Z, + startPts: this.X, flags: Ia }), Ua); } - T.then(function () { + U.then(function () { var Ua; - V.state.value !== N.Gb.CLOSING && V.state.value !== N.Gb.CLOSED && (null === (Ua = V.Ma) || void 0 === Ua ? void 0 : Ua.open()); + V.state.value !== R.Jb.CLOSING && V.state.value !== R.Jb.CLOSED && (null === (Ua = V.Pa) || void 0 === Ua ? void 0 : Ua.open()); }); - this.mediaTime.set(this.Z); - this.Yp = new n.gHa(this); - if ("boolean" === typeof this.kb.W6 ? this.kb.W6 : t.config.W6) - this.TW = new A.hHa(this); - this.BW(); - y.Saa.forEach(function (Ua) { + this.mediaTime.set(this.X); + this.Zp = new n.cHa(this); + if ("boolean" === typeof this.kb.T6 ? this.kb.T6 : u.config.T6) + this.SW = new B.dHa(this); + this.AW(); + y.Laa.forEach(function (Ua) { Ua(V); }); - this.RJb(); + this.TJb(); } } catch (Ua) { - this.Ip(D.L.Gab, { - oa: D.M.fj, - sb: J.vd(Ua) + this.Lp(D.M.Jab, { + oa: D.L.dj, + qb: K.vd(Ua) }); } }; - c.prototype.SJb = function () { - G.gb(this.state.value == N.Gb.kI); - this.loadTime = this.Pa.Zb().ea(F.ma); - this.state.set(N.Gb.LOADING); + c.prototype.UJb = function () { + F.gb(this.state.value == R.Jb.rI); + this.loadTime = this.La.Xb().ea(G.ma); + this.state.set(R.Jb.LOADING); }; - c.prototype.Ip = function (V, T) { - this.done || (this.done = !0, T instanceof da.$c ? this.Ld(T.code, T) : this.Ld(V, T)); + c.prototype.Lp = function (V, U) { + this.done || (this.done = !0, U instanceof ea.dd ? this.Jd(U.code, U) : this.Jd(V, U)); }; - c.prototype.OR = function (V) { - var ja, + c.prototype.PR = function (V) { + var ma, Ia; - function T() { + function U() { var wa, - Sa; - wa = h.Pu.yja() + ""; - Sa = V.mfa[wa]; - Sa || (Sa = V.mfa[wa] = []); - Sa.push(ja.Pa.Zb().ea(F.ma)); - ja.log.trace("charging change event", { - level: h.Pu.wTa(), - charging: h.Pu.yja() - }); - } - ja = this; - Ia = h.Pu.D8a; - h.Pu.addEventListener(Ia, T); - V.addEventListener(N.W.dg, function () { - h.Pu.removeEventListener(Ia, T); - }); - }; - c.prototype.tsa = function (V) { - var T, - ja; - T = this; - if (this.state.value == N.Gb.kI || this.state.value == N.Gb.LOADING || this.state.value == N.Gb.$d) { - this.Qc.info("Playback closing", this, V ? { - ErrorCode: V.S1 + Ta; + wa = h.Uu.rja() + ""; + Ta = V.ffa[wa]; + Ta || (Ta = V.ffa[wa] = []); + Ta.push(ma.La.Xb().ea(G.ma)); + ma.log.trace("charging change event", { + level: h.Uu.xTa(), + charging: h.Uu.rja() + }); + } + ma = this; + Ia = h.Uu.F8a; + h.Uu.addEventListener(Ia, U); + V.addEventListener(R.Z.dg, function () { + h.Uu.removeEventListener(Ia, U); + }); + }; + c.prototype.nsa = function (V) { + var U, + ma; + U = this; + if (this.state.value == R.Jb.rI || this.state.value == R.Jb.LOADING || this.state.value == R.Jb.Yd) { + this.Pc.info("Playback closing", this, V ? { + ErrorCode: V.U1 } : void 0); - this.TA("Closing"); - x.lf.removeListener(x.Jm, this.VZa); + this.IE("Closing"); + x.lf.removeListener(x.Hm, this.UZa); this.Zk = V; - this.fa.t1 = this.BB(); - this.PRa(); - (null === (ja = this.Ma) || void 0 === ja ? 0 : ja.dh) && this.Ma.flush(); + this.ga.u1 = this.DB(); + this.ORa(); + (null === (ma = this.Pa) || void 0 === ma ? 0 : ma.Ah) && this.Pa.flush(); try { - this.Pb.tc(N.W.dg, { - movieId: this.jK + this.Rb.qc(R.Z.dg, { + movieId: this.nK }); } catch (Ia) { - this.Qc.error("Unable to fire playback closing event", Ia); + this.Pc.error("Unable to fire playback closing event", Ia); } - this.state.set(N.Gb.CLOSING); - this.n7a(); - this.$Sb || H.fg(function () { - return T.w1a(); + this.state.set(R.Jb.CLOSING); + this.p7a(); + this.cTb || H.fg(function () { + return U.w1a(); }); } }; - c.prototype.dxb = function () { - this.Pb.tc(N.W.M5a); + c.prototype.jxb = function () { + this.Rb.qc(R.Z.O5a); }; - c.prototype.QRa = function () { + c.prototype.PRa = function () { var V; V = this.mediaTime.value; - this.bGb != V && (!1, this.bGb = V, this.Pb.tc(N.W.Ysa)); + this.eGb != V && (!1, this.eGb = V, this.Rb.qc(R.Z.Tsa)); }; c.prototype.w1a = function () { var V, - T; + U; V = this; - G.gb(this.state.value == N.Gb.CLOSING); - T = this.T4; + F.gb(this.state.value == R.Jb.CLOSING); + U = this.T4; this.T4 = void 0; - T ? l.cH.release(T, function (ja) { - G.gb(ja.X); - V.tga(); - }) : this.tga(); + U ? l.kH.release(U, function (ma) { + F.gb(ma.W); + V.nga(); + }) : this.nga(); }; - c.prototype.n7a = function () { + c.prototype.p7a = function () { var V; - null === (V = this.Ma) || void 0 === V ? void 0 : V.Ic(); - delete this.Ma; - delete this.M7b; - delete this.L7b; + null === (V = this.Pa) || void 0 === V ? void 0 : V.Kc(); + delete this.Pa; + delete this.b8b; + delete this.a8b; }; - c.prototype.tga = function () { + c.prototype.nga = function () { var V; - this.tga = p.kj; - G.gb(this.state.value == N.Gb.CLOSING); - V = y.Bo.indexOf(this); - G.gb(0 <= V); - y.Bo.splice(V, 1); - this.state.set(N.Gb.CLOSED); - this.Pb.tc(N.W.closed, void 0, !0); - this.Pb.kh(); - delete this.we; - this.fa.V5(); - }; - c.prototype.Mea = function () { - this.kb.playbackState && ("number" === typeof this.kb.playbackState.volume && this.volume.set(I.yo(this.kb.playbackState.volume, 0, 1)), "boolean" === typeof this.kb.playbackState.muted && this.muted.set(this.kb.playbackState.muted), "number" === typeof this.kb.playbackState.playbackRate && this.playbackRate.set(this.kb.playbackState.playbackRate)); - }; - c.prototype.PRa = function () { - this.Pb.tc(N.W.A3a, { - pX: this.pX - }); - }; - c.prototype.oW = function (V, T) { - var ja; - ja = this.Uk.filter(function (Ia) { - return Ia.id === V; + this.nga = p.Yj; + F.gb(this.state.value == R.Jb.CLOSING); + V = y.Co.indexOf(this); + F.gb(0 <= V); + y.Co.splice(V, 1); + this.state.set(R.Jb.CLOSED); + this.Rb.qc(R.Z.closed, void 0, !0); + this.Rb.hh(); + delete this.Ve; + this.ga.V5(); + }; + c.prototype.Fea = function () { + this.kb.playbackState && ("number" === typeof this.kb.playbackState.volume && this.volume.set(J.zo(this.kb.playbackState.volume, 0, 1)), "boolean" === typeof this.kb.playbackState.muted && this.muted.set(this.kb.playbackState.muted), "number" === typeof this.kb.playbackState.playbackRate && this.playbackRate.set(this.kb.playbackState.playbackRate)); + }; + c.prototype.ORa = function () { + this.Rb.qc(R.Z.B3a, { + oX: this.oX + }); + }; + c.prototype.nW = function (V, U, ma) { + var Ia; + V = this.wp(V); + Ia = V.Uk.filter(function (wa) { + return wa.id === U; })[0]; - ja && this.Pc[T].set(ja); + Ia && V.pc[ma].set(Ia); }; - c.prototype.dt = function () { + c.prototype.jt = function () { return { - AudioBufferLength: this.sR(), - VideoBufferLength: this.nX() + AudioBufferLength: this.tR(), + VideoBufferLength: this.mX() }; }; - c.prototype.F0 = function () { + c.prototype.H0 = function () { var V; - if (null === (V = this.Ma) || void 0 === V ? 0 : V.dh) - return this.Ma.h4(!1); + if (null === (V = this.Pa) || void 0 === V ? 0 : V.Ah) + return this.Pa.i4(!1); }; - c.prototype.RJb = function () { - this.state.value == N.Gb.LOADING && this.state.set(N.Gb.$d); + c.prototype.TJb = function () { + this.state.value == R.Jb.LOADING && this.state.set(R.Jb.Yd); }; - c.prototype.Lrb = function () { + c.prototype.Mrb = function () { var V, - T, - ja; + U, + ma; V = void 0 === V ? this.K : V; - T = this.DF(V); - ja = this.eL(V); - return X.ws(T, function (Ia) { - return ja.VL.Mt(Ia); + U = this.IF(V); + ma = this.hL(V); + return Y.As(U, function (Ia) { + return ma.XL.Rt(Ia); }); }; - c.prototype.Vga = function (V) { - var T, - ja; + c.prototype.Pga = function (V) { + var U, + ma; V = void 0 === V ? this.K : V; - T = this.DF(V); - ja = this.eL(V); - return X.Jka(T, function (Ia) { - return ja.VL.Mt(Ia); + U = this.IF(V); + ma = this.hL(V); + return Y.KUa(U, function (Ia) { + return ma.XL.Rt(Ia); }); }; - c.prototype.gs = function (V) { - V = void 0 === V ? this.fa : V; - return !(0 === t.config.WA || 0 !== V.ba % t.config.WA); + c.prototype.ks = function (V) { + V = void 0 === V ? this.ga : V; + return !(0 === u.config.YA || 0 !== V.ca % u.config.YA); }; - c.prototype.kub = function () { + c.prototype.oub = function () { var V; - V = void 0 === V ? this.fa : V; - return this.gs(V) || !(0 === t.config.vS || 0 !== V.ba % t.config.vS); - }; - c.prototype.hPa = function (V) { - var T; - T = this; - Object.keys(V.Ca).filter(function (ja) { - return !T.Hp.has(T.xb.Me(ja).da); - }).forEach(function (ja) { + V = void 0 === V ? this.ga : V; + return this.ks(V) || !(0 === u.config.uS || 0 !== V.ca % u.config.uS); + }; + c.prototype.gPa = function (V) { + var U; + U = this; + Object.keys(V.wa).filter(function (ma) { + return !U.cr.has(U.nb.ze(ma).$); + }).forEach(function (ma) { var Ia, wa, - Sa; - wa = T.xb.Me(ja); - Sa = wa.da; - wa = Object.assign(null !== (Ia = T.Uj.kL(Sa).Fb) && void 0 !== Ia ? Ia : {}, { - Z: wa.xc, - Aa: wa.Yc, - Ol: !1, - x8: Date.now(), + Ta; + wa = U.nb.ze(ma); + Ta = wa.$; + wa = Object.assign(null !== (Ia = U.Uj.nL(Ta).Hb) && void 0 !== Ia ? Ia : {}, { + X: wa.jc, + Ca: wa.Fc, + Nl: !1, + t8: Date.now(), x4: !0 }); - T.xLa({ - da: Sa, - va: ja, + U.vLa({ + $: Ta, + va: ma, kb: wa }); }); }; Xa.Object.defineProperties(c.prototype, { - xV: { + wV: { configurable: !0, enumerable: !0, get: function () { - return this.Hp.values(); + return this.cr.values(); } }, - fa: { + ga: { configurable: !0, enumerable: !0, get: function () { - return this.Hp.get(this.jK); + return this.cr.get(this.nK); } }, - gFb: { - configurable: !0, - enumerable: !0, - get: function () { - return 1 === this.Hp.size; - } - }, - Z: { + X: { configurable: !0, enumerable: !0, get: function () { var V, - T; - return void 0 !== this.NE ? this.NE : null !== (T = null === (V = this.xV.next()) || void 0 === V ? void 0 : V.value.kb.Z) && void 0 !== T ? T : 0; + U; + return void 0 !== this.OE ? this.OE : null !== (U = null === (V = this.wV.next()) || void 0 === V ? void 0 : V.value.kb.X) && void 0 !== U ? U : 0; } }, - Mc: { + Yc: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Mc; + return this.ga.Yc; }, set: function (V) { - this.fa.Mc = V; + this.ga.Yc = V; } }, - D2: { + E2: { configurable: !0, enumerable: !0, get: function () { - return this.fa.kb.D2; + return this.ga.kb.E2; } }, - E2: { + F2: { configurable: !0, enumerable: !0, get: function () { - return this.fa.kb.E2; + return this.ga.kb.F2; } }, index: { configurable: !0, enumerable: !0, get: function () { - return this.fa.index; + return this.ga.index; } }, va: { configurable: !0, enumerable: !0, get: function () { - return this.fa.va; + return this.ga.va; } }, - we: { + Ve: { configurable: !0, enumerable: !0, get: function () { - return this.fa.we; + return this.ga.Ve; }, set: function (V) { - this.fa.we = V; + this.ga.Ve = V; } }, - dm: { + bm: { configurable: !0, enumerable: !0, get: function () { - return this.fa.dm; + return this.ga.bm; }, set: function (V) { - this.fa.dm = V; + this.ga.bm = V; } }, - RE: { + SE: { configurable: !0, enumerable: !0, get: function () { - return this.fa.RE; + return this.ga.SE; }, set: function (V) { - this.fa.RE = V; + this.ga.SE = V; } }, - QE: { + RE: { configurable: !0, enumerable: !0, get: function () { - return this.fa.QE; + return this.ga.RE; }, set: function (V) { - this.fa.QE = V; + this.ga.RE = V; } }, - b4: { + c4: { configurable: !0, enumerable: !0, get: function () { - return this.fa.b4; + return this.ga.c4; }, set: function (V) { - this.fa.b4 = V; + this.ga.c4 = V; } }, sa: { configurable: !0, enumerable: !0, get: function () { - return this.fa.sa; + return this.ga.sa; }, set: function (V) { - this.fa.sa = V; + this.ga.sa = V; } }, - NE: { + OE: { configurable: !0, enumerable: !0, get: function () { - return this.fa.NE; + return this.ga.OE; }, set: function (V) { - this.fa.NE = V; + this.ga.OE = V; } }, - LW: { + KW: { configurable: !0, enumerable: !0, get: function () { - return this.fa.LW; + return this.ga.KW; }, set: function (V) { - this.fa.LW = V; + this.ga.KW = V; } }, kb: { configurable: !0, enumerable: !0, get: function () { - return this.fa.kb; + return this.ga.kb; }, set: function (V) { - this.fa.kb = V; + this.ga.kb = V; } }, - rU: { + qU: { configurable: !0, enumerable: !0, get: function () { - return this.fa.rU; + return this.ga.qU; }, set: function (V) { - this.fa.rU = V; + this.ga.qU = V; } }, - ao: { + bo: { configurable: !0, enumerable: !0, get: function () { - return this.fa.ao; + return this.ga.bo; } }, K: { configurable: !0, enumerable: !0, get: function () { - return this.fa.K; + return this.ga.K; } }, - Zd: { + je: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Zd; + return this.ga.je; } }, - Yo: { + Zo: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Yo; + return this.ga.Zo; } }, - so: { + uo: { configurable: !0, enumerable: !0, get: function () { - return this.fa.so; + return this.ga.uo; } }, - Dz: { + Gz: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Dz; + return this.ga.Gz; } }, - cm: { + am: { configurable: !0, enumerable: !0, get: function () { - return this.fa.cm; + return this.ga.am; } }, - Ti: { + Ri: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Ti; + return this.ga.Ri; } }, - XB: { + ZB: { configurable: !0, enumerable: !0, get: function () { - return this.fa.XB; + return this.ga.ZB; } }, - Bt: { + Gt: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Bt; + return this.ga.Gt; } }, - Kl: { + Jl: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Kl; + return this.ga.Jl; } }, Uk: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Uk; - } - }, - D6: { - configurable: !0, - enumerable: !0, - get: function () { - return this.fa.D6; + return this.ga.Uk; } }, - Lx: { + Qx: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Lx; + return this.ga.Qx; }, set: function (V) { - this.fa.Lx = V; + this.ga.Qx = V; } }, - ba: { + ca: { configurable: !0, enumerable: !0, get: function () { - return this.fa.ba; + return this.ga.ca; } }, Ek: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Ek; + return this.ga.Ek; } }, - Wl: { + Vl: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Wl; + return this.ga.Vl; } }, - sL: { + vL: { configurable: !0, enumerable: !0, get: function () { - return this.fa.sL; + return this.ga.vL; }, set: function (V) { - this.fa.sL = V; + this.ga.vL = V; } }, - Bj: { + zj: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Bj; + return this.ga.zj; } }, - SG: { + $G: { configurable: !0, enumerable: !0, get: function () { - return this.fa.SG; + return this.ga.$G; } }, background: { configurable: !0, enumerable: !0, get: function () { - return this.fa.background; + return this.ga.background; }, set: function (V) { - this.fa.background = V; + this.ga.background = V; } }, - $ga: { + Uga: { configurable: !0, enumerable: !0, get: function () { - return this.fa.$ga; + return this.ga.Uga; } }, bd: { configurable: !0, enumerable: !0, get: function () { - return this.fa.bd; + return this.ga.bd; } }, - Zo: { + $o: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Zo; + return this.ga.$o; } }, - Uha: { + Oha: { configurable: !0, enumerable: !0, get: function () { - return this.fa.Uha; + return this.ga.Oha; } }, - VL: { + XL: { configurable: !0, enumerable: !0, get: function () { - return this.fa.VL; + return this.ga.XL; } }, - Kh: { + kh: { configurable: !0, enumerable: !0, get: function () { return { MovieId: this.K, TrackingId: this.Ek, - Xid: this.ba + Xid: this.ca }; } }, - y6: { + x6: { configurable: !0, enumerable: !0, get: function () { - return this.xb.y6; + return this.nb.x6; } } }); - b.nEa = c; - }, function (q, b, a) { + b.lEa = c; + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - b.h4a = void 0; + b.i4a = void 0; c = a(12); f = a(7); k = a(3); a(24); - b.h4a = function (l) { + b.i4a = function (l) { var d; f.ii("Storage"); d = {}; l({ - X: !0, + W: !0, storage: { load: function (g, h) { var m; @@ -55070,31 +55085,31 @@ a000.D9b = function () { m = d[g]; !1; h({ - X: !0, + W: !0, data: m, - P7: g + L7: g }); } else (!1, h({ - oa: k.M.mA + oa: k.L.oA })); }, save: function (g, h, m, n) { m && d.hasOwnProperty(g) ? n({ - X: !1 + W: !1 }) : (d[g] = h, !1, n && n({ - X: !0, - P7: g + W: !0, + L7: g })); }, remove: function (g, h) { delete d[g]; !1; - h && h(c.Ee); + h && h(c.Ge); } } }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -55102,80 +55117,80 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.f4a = void 0; + b.g4a = void 0; c = a(7); f = a(78); k = a(28); - l = a(492); - b.f4a = function (d) { - c.ha.get(f.Rz).create().then(function (g) { + l = a(496); + b.g4a = function (d) { + c.ha.get(f.Tz).create().then(function (g) { d({ - X: !0, - storage: new l.N$(g, c.ha.get(k.Hf)) + W: !0, + storage: new l.F$(g, c.ha.get(k.If)) }); }).catch(function (g) { d(g); }); }; - }, function (q, b) { + }, function (r, b) { function a(c, f) { - this.Lu = c; - this.te = f; + this.Su = c; + this.ve = f; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.N$ = void 0; + b.F$ = void 0; a.prototype.load = function (c, f) { var k; k = this; - this.Lu.load(c).then(function (l) { - f && f(a.u4a(l)); + this.Su.load(c).then(function (l) { + f && f(a.w4a(l)); }).catch(function (l) { - f && f(k.mia(c, l)); + f && f(k.fia(c, l)); }); }; a.prototype.save = function (c, f, k, l) { var d; d = this; - this.Lu.save(c, f, k).then(function () { - l && l(a.u4a({ + this.Su.save(c, f, k).then(function () { + l && l(a.w4a({ key: c, value: f })); }).catch(function (g) { - l && l(d.mia(c, g)); + l && l(d.fia(c, g)); }); }; a.prototype.remove = function (c, f) { var k; k = this; - this.Lu.remove(c).then(function () { + this.Su.remove(c).then(function () { f && f({ - X: !0, - P7: c + W: !0, + L7: c }); }).catch(function (l) { - f && f(k.mia(c, l)); + f && f(k.fia(c, l)); }); }; - a.u4a = function (c) { + a.w4a = function (c) { return { - X: !0, + W: !0, data: c.value, - P7: c.key + L7: c.key }; }; - a.prototype.mia = function (c, f) { + a.prototype.fia = function (c, f) { return { - X: !1, - P7: c, + W: !1, + L7: c, oa: f.oa, - sb: f.cause ? this.te.vd(f.cause) : void 0 + qb: f.cause ? this.ve.vd(f.cause) : void 0 }; }; - b.N$ = a; - }, function (q, b, a) { + b.F$ = a; + }, function (r, b, a) { var c, f, k, @@ -55183,18 +55198,18 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.g4a = void 0; - c = a(492); + b.h4a = void 0; + c = a(496); f = a(7); - k = a(349); + k = a(351); l = a(28); - b.g4a = function (d) { + b.h4a = function (d) { d({ - X: !0, - storage: new c.N$(f.ha.get(k.CAa), f.ha.get(l.Hf)) + W: !0, + storage: new c.F$(f.ha.get(k.AAa), f.ha.get(l.If)) }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -55204,54 +55219,54 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Pu = void 0; + b.Uu = void 0; c = a(12); f = a(13); - q = a(3); + r = a(3); k = a(7); l = a(29); d = a(11); g = a(32); h = a(17); - m = a(60); - n = a(5); - a = k.ha.get(g.Zg); - r = k.ha.get(m.Gw); - a.register(q.L.zza, function (p) { + m = a(61); + n = a(4); + a = k.ha.get(g.Xg); + q = k.ha.get(m.Mw); + a.register(r.M.xza, function (p) { var v, x; - function u() { - p(c.Ee); - u = l.kj; + function t() { + p(c.Ge); + t = l.Yj; } - function t(y) { + function u(y) { if (!(y instanceof EventTarget)) throw "batteryManager is not an instaceof EventTarget"; ["addEventListener", "removeEventListener"].forEach(function (z) { - if (!h.Kc(y[z])) + if (!h.Mc(y[z])) throw z + " is not a function"; }); } function w() { return Promise.resolve().then(function () { var y; - y = d.Qe.getBattery(); - if (!h.Kc(y.then)) + y = d.Re.getBattery(); + if (!h.Mc(y.then)) throw "getBattery did not return a promise"; return y; }); } v = k.ii("BatteryManager"); - b.Pu = { - D8a: "chargingchange", - wTa: function () { + b.Uu = { + F8a: "chargingchange", + xTa: function () { return x ? x.level : null; }, - yja: function () { + rja: function () { return x ? x.charging : null; }, addEventListener: function (y, z) { @@ -55261,105 +55276,105 @@ a000.D9b = function () { x && x.removeEventListener(y, z); } }; - f.config.OR && h.Kc(d.Qe.getBattery) ? r.Op(n.uc(f.config.yyb), w()).then(function (y) { - t(y); + f.config.PR && h.Mc(d.Re.getBattery) ? q.Rp(n.wc(f.config.Dyb), w()).then(function (y) { + u(y); x = y; }).catch(function (y) { v.error("getBattery failed", y); - }).then(u) : u(); + }).then(t) : t(); }); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wAa = "LicenseBrokerFactorySymbol"; - }, function (q, b) { + b.uAa = "LicenseBrokerFactorySymbol"; + }, function (r, b) { function a(c, f) { var k; k = this; - this.JTa = c; - this.TZa = f; - this.dta = !1; - this.pM = function () { - k.mo = void 0; + this.LTa = c; + this.SZa = f; + this.Zsa = !1; + this.rM = function () { + k.no = void 0; k.update(); }; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.iHa = void 0; + b.eHa = void 0; a.prototype.update = function (c) { var f, k, l, d, g; - l = this.JTa(); - if (this.f6a !== l) { - d = null === (k = null === (f = this.Wn) || void 0 === f ? void 0 : f.tF(l)) || void 0 === k ? void 0 : k[0]; + l = this.LTa(); + if (this.h6a !== l) { + d = null === (k = null === (f = this.Yn) || void 0 === f ? void 0 : f.xF(l)) || void 0 === k ? void 0 : k[0]; if (d && ("startTime" in d)) if (d.startTime <= l && l <= d.endTime) { g = d; - this.X5a(d.endTime - l); + this.Z5a(d.endTime - l); } else - this.X5a(d.startTime - l); - this.f6a = l; - this.jea !== g && (this.jea = g, !c && this.TZa && this.TZa()); + this.Z5a(d.startTime - l); + this.h6a = l; + this.dea !== g && (this.dea = g, !c && this.SZa && this.SZa()); } }; a.prototype.start = function () { - this.dta = !0; + this.Zsa = !0; this.update(); }; a.prototype.c3a = function (c) { - this.Wn = c; - this.jea = this.f6a = void 0; + this.Yn = c; + this.dea = this.h6a = void 0; c || this.stop(); }; a.prototype.stop = function () { - this.dta = !1; - this.Vp(); + this.Zsa = !1; + this.xr(); }; - a.prototype.cyb = function () { + a.prototype.iyb = function () { this.update(!0); - return this.jea; + return this.dea; }; - a.prototype.X5a = function (c) { - this.Vp(); - this.dta && 0 < c && (this.mo = setTimeout(this.pM, c + a.Rbb)); + a.prototype.Z5a = function (c) { + this.xr(); + this.Zsa && 0 < c && (this.no = setTimeout(this.rM, c + a.Vbb)); }; - a.prototype.Vp = function () { - this.mo && (clearTimeout(this.mo), this.mo = void 0); + a.prototype.xr = function () { + this.no && (clearTimeout(this.no), this.no = void 0); }; - b.iHa = a; - a.Rbb = 10; - }, function (q, b, a) { + b.eHa = a; + a.Vbb = 10; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.pza = void 0; + b.nza = void 0; c = a(18); - f = a(71); - b.pza = function (k) { + f = a(72); + b.nza = function (k) { function l(d) { - k.fireEvent(c.W.iF, { + k.fireEvent(c.Z.lF, { response: d, - K: k.fa.K + K: k.ga.K }); } return { download: function (d, g) { d.j = k; - d = f.Bf.download(d, g); - d.lea(l); + d = f.Df.download(d, g); + d.fea(l); return d; } }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -55372,65 +55387,65 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Tza = void 0; + b.Rza = void 0; c = a(13); f = a(51); k = a(3); - l = a(499); + l = a(503); d = a(11); g = a(17); h = a(18); m = a(7); - n = a(165); - b.Tza = function (r) { - var u, - t, + n = a(203); + b.Rza = function (q) { + var t, + u, w, v; function p() { - r.state.value !== h.Gb.$d || r.ac.value !== h.Bb.Wh && r.ac.value !== h.Bb.au ? t.Vp() : t.tB(); + q.state.value !== h.Jb.Yd || q.bc.value !== h.Eb.Wh && q.bc.value !== h.Eb.fu ? u.xr() : u.pF(); } - u = c.config.eMb; - if (!r.WB() && u) { - t = m.ha.get(n.QP)(u, function () { - r.fireEvent(h.W.qL, k.L.eZ); + t = c.config.gMb; + if (!q.YB() && t) { + u = m.ha.get(n.GZ)(t, function () { + q.fireEvent(h.Z.tL, k.M.dZ); }); - r.ac.addListener(p); - r.state.addListener(p); - if (c.config.ula) { + q.bc.addListener(p); + q.state.addListener(p); + if (c.config.pla) { w = f.Hi(); - v = new l.vFa(c.config.ula, function () { + v = new l.sFa(c.config.pla, function () { var x, y; x = f.Hi(); y = x - w; - y > u && (r.fireEvent(h.W.qL, k.L.KY), v.gOa()); - y > 2 * c.config.ula && (r.vla = d.ln(y, r.vla || 0)); + y > t && (q.fireEvent(h.Z.tL, k.M.JY), v.eOa()); + y > 2 * c.config.pla && (q.qla = d.kn(y, q.qla || 0)); w = x; }); - v.sSb(); + v.wSb(); } - r.addEventListener(h.W.dg, function () { - t.Vp(); - g.Hc(v) && v.gOa(); + q.addEventListener(h.Z.dg, function () { + u.xr(); + g.Jc(v) && v.eOa(); }); } }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.vFa = void 0; - b.vFa = function (a, c) { + b.sFa = void 0; + b.sFa = function (a, c) { var f; - this.sSb = function () { + this.wSb = function () { f || (f = setInterval(c, a)); }; - this.gOa = function () { + this.eOa = function () { f && (clearInterval(f), f = void 0); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -55439,242 +55454,242 @@ a000.D9b = function () { h, m; function c(n) { - var r, + var q, p, - u, - t; - r = this; + t, + u; + q = this; this.j = n; - this.bS = void 0; - this.uca = l.createElement("DIV", "position:fixed;left:0;top:50%;right:0;bottom:0;text-align:center;color:#040;font-size:11px;font-family:monospace;z-index:9999", void 0, { + this.aS = void 0; + this.oca = l.createElement("DIV", "position:fixed;left:0;top:50%;right:0;bottom:0;text-align:center;color:#040;font-size:11px;font-family:monospace;z-index:9999", void 0, { "class": "player-streams" }); - this.jca = l.createElement("DIV", "display:inline-block;background-color:rgba(255,255,255,0.86);border:3px solid #fff;padding:5px;margin-top:-90px"); - this.$ba = l.createElement("DIV", "width:100%;text-align:center"); - this.Zeb = this.lca("Audio Bitrate"); - this.$da = this.lca("Video Bitrate"); - this.cca = this.lca("CDN"); - this.GQ = {}; - this.w3 = d.ha.get(g.gm); - this.uca.appendChild(this.jca); - this.jca.appendChild(this.$ba); + this.dca = l.createElement("DIV", "display:inline-block;background-color:rgba(255,255,255,0.86);border:3px solid #fff;padding:5px;margin-top:-90px"); + this.Uba = l.createElement("DIV", "width:100%;text-align:center"); + this.$eb = this.fca("Audio Bitrate"); + this.Uda = this.fca("Video Bitrate"); + this.Xba = this.fca("CDN"); + this.HQ = {}; + this.x3 = d.ha.get(g.fm); + this.oca.appendChild(this.dca); + this.dca.appendChild(this.Uba); p = l.createElement("BUTTON", void 0, "Override"); - p.addEventListener("click", this.Seb.bind(this), !1); - this.$ba.appendChild(p); + p.addEventListener("click", this.Teb.bind(this), !1); + this.Uba.appendChild(p); p = l.createElement("BUTTON", void 0, "Reset"); - p.addEventListener("click", this.Yib.bind(this), !1); - this.$ba.appendChild(p); - u = this.hib.bind(this); - k.lf.addListener(k.FB, u); - n.addEventListener(m.W.sv, function () { - r.GQ = {}; + p.addEventListener("click", this.Zib.bind(this), !1); + this.Uba.appendChild(p); + t = this.iib.bind(this); + k.lf.addListener(k.IB, t); + n.addEventListener(m.Z.yv, function () { + q.HQ = {}; }); - n.addEventListener(m.W.dg, function () { - k.lf.removeListener(k.FB, u); + n.addEventListener(m.Z.dg, function () { + k.lf.removeListener(k.IB, t); }); - t = this.Lib.bind(this); - n.Pc.forEach(function (w) { - w.addListener(t); + u = this.Mib.bind(this); + n.pc.forEach(function (w) { + w.addListener(u); }); - n.Bd.addListener(t); - n.Qh.addListener(t); + n.Sd.addListener(u); + n.Ph.addListener(u); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vEa = void 0; + b.tEa = void 0; f = a(53); - k = a(63); + k = a(64); l = a(29); d = a(7); g = a(38); - h = a(129); + h = a(128); m = a(18); c.prototype.show = function () { - this.$Q || (this.zKa(), document.body.appendChild(this.uca), this.$Q = !0); + this.bR || (this.xKa(), document.body.appendChild(this.oca), this.bR = !0); }; - c.prototype.Tq = function () { - this.$Q && (document.body.removeChild(this.uca), this.$Q = !1); + c.prototype.Sq = function () { + this.bR && (document.body.removeChild(this.oca), this.bR = !1); }; c.prototype.toggle = function () { - this.$Q ? this.Tq() : this.show(); + this.bR ? this.Sq() : this.show(); }; - c.prototype.O5a = function () { + c.prototype.Q5a = function () { var p, - u, t, + u, w; function n(v, x, y) { var z, - B, - A; - B = []; + A, + B; + A = []; x.filter(function (C) { - return C.Mg === v; + return C.Kg === v; }).forEach(function (C) { - 0 <= y.indexOf(C) ? (void 0 === A ? A = C.bitrate : z = C.bitrate, void 0 === z && (z = C.bitrate)) : void 0 !== A && void 0 !== z && (B.push({ - min: A, + 0 <= y.indexOf(C) ? (void 0 === B ? B = C.bitrate : z = C.bitrate, void 0 === z && (z = C.bitrate)) : void 0 !== B && void 0 !== z && (A.push({ + min: B, max: z - }), A = z = void 0); + }), B = z = void 0); }); - if (void 0 !== A && void 0 !== z) { - B.push({ - min: A, + if (void 0 !== B && void 0 !== z) { + A.push({ + min: B, max: z }); - A = z = void 0; + B = z = void 0; } - return B; + return A; } - function r(v, x, y) { + function q(v, x, y) { var z; z = []; - x.filter(function (B) { - return B.Mg === v; - }).forEach(function (B) { - -1 === y.indexOf(B) && z.push({ + x.filter(function (A) { + return A.Kg === v; + }).forEach(function (A) { + -1 === y.indexOf(A) && z.push({ stream: { - bitrate: B.bitrate + bitrate: A.bitrate }, disallowedBy: ["manual"] }); }); return z; } - u = this.j.ws(); - t = this.j.DF().sort(function (v, x) { + t = this.j.As(); + u = this.j.IF().sort(function (v, x) { return v.bitrate - x.bitrate; }); - w = t.reduce(function (v, x) { - 0 > v.indexOf(x.Mg) && v.push(x.Mg); + w = u.reduce(function (v, x) { + 0 > v.indexOf(x.Kg) && v.push(x.Kg); return v; }, []).map(function (v) { return { profile: v, - ranges: n(v, t, u), - disallowed: r(v, t, u) + ranges: n(v, u, t), + disallowed: q(v, u, t) }; }); !1; - null === (p = this.j.Ma) || void 0 === p ? void 0 : p.Qp(w, this.j.K); + null === (p = this.j.Pa) || void 0 === p ? void 0 : p.Tp(w, this.j.K); }; - c.prototype.Seb = function () { + c.prototype.Teb = function () { var p, - u; - this.GQ = {}; - for (var n = this.$da.options, r = n.length; r--; ) { - p = n[r]; - p.selected && (this.GQ[p.value] = 1); + t; + this.HQ = {}; + for (var n = this.Uda.options, q = n.length; q--; ) { + p = n[q]; + p.selected && (this.HQ[p.value] = 1); } - this.bS = this.xfb.bind(this); - this.O5a(); + this.aS = this.yfb.bind(this); + this.Q5a(); if (n = this.j.Uk) { - u = this.cca.value; - n = n.filter(function (t) { - return t.id == u; + t = this.Xba.value; + n = n.filter(function (u) { + return u.id == t; })[0]; - r = this.j.Pc[f.ic.Za.Hb].value; - n && n != r && (n.KNa = { + q = this.j.pc[f.Qb.Ra.Bb].value; + n && n != q && (n.JNa = { testreason: "streammanager", selreason: "userselection" - }, this.j.Pc[f.ic.Za.Hb].set(n)); + }, this.j.pc[f.Qb.Ra.Bb].set(n)); } - this.Tq(); + this.Sq(); }; - c.prototype.Yib = function () { - this.bS = void 0; + c.prototype.Zib = function () { + this.aS = void 0; this.j.o3a(this.j.K); - this.Tq(); + this.Sq(); }; - c.prototype.xfb = function () { + c.prototype.yfb = function () { var n; n = this; - return this.j.DF().filter(function (r) { - return n.GQ[r.bitrate]; + return this.j.IF().filter(function (q) { + return n.HQ[q.bitrate]; }); }; - c.prototype.zKa = function () { + c.prototype.xKa = function () { var n, - r, + q, p, - u; + t; n = this; - r = this.j.Bd.value; - p = this.j.Qh.value; - u = this.j.Uk; - r && (u = u.slice(), u.sort(function (t, w) { - return t.Eg - w.Eg; - }), this.Jda(this.Zeb, r.streams.map(function (t) { + q = this.j.Sd.value; + p = this.j.Ph.value; + t = this.j.Uk; + q && (t = t.slice(), t.sort(function (u, w) { + return u.Qe - w.Qe; + }), this.Dda(this.$eb, q.streams.map(function (u) { return { - value: t.bitrate, - caption: t.bitrate, - selected: t == n.j.dk.value + value: u.bitrate, + caption: u.bitrate, + selected: u == n.j.ek.value }; }))); - p && (this.Jda(this.$da, p.streams.map(function (t) { + p && (this.Dda(this.Uda, p.streams.map(function (u) { var w, v; - w = n.j.VL.Mt(t); - t = t.bitrate; - v = "" + t; + w = n.j.XL.Rt(u); + u = u.bitrate; + v = "" + u; w && (v += " (" + w.join("|") + ")"); return { - value: t, + value: u, caption: v, - selected: n.bS ? n.GQ[t] : !w + selected: n.aS ? n.HQ[u] : !w }; - })), this.$da.removeAttribute("disabled")); - u && (this.Jda(this.cca, u.map(function (t) { + })), this.Uda.removeAttribute("disabled")); + t && (this.Dda(this.Xba, t.map(function (u) { return { - value: t.id, - caption: "[" + t.id + "] " + t.name, - selected: t == n.j.Pc[f.ic.Za.Hb].value + value: u.id, + caption: "[" + u.id + "] " + u.name, + selected: u == n.j.pc[f.Qb.Ra.Bb].value }; - })), this.cca.removeAttribute("disabled")); + })), this.Xba.removeAttribute("disabled")); }; - c.prototype.Lib = function () { - this.$Q && this.zKa(); + c.prototype.Mib = function () { + this.bR && this.xKa(); }; - c.prototype.lca = function (n) { - var r, + c.prototype.fca = function (n) { + var q, p; - r = l.createElement("DIV", "display:inline-block;vertical-align:top;margin:5px;"); + q = l.createElement("DIV", "display:inline-block;vertical-align:top;margin:5px;"); n = l.createElement("DIV", void 0, n); p = l.createElement("select", "width:120px;height:180px", void 0, { disabled: "disabled", multiple: "multiple" }); - r.appendChild(n); - r.appendChild(p); - this.jca.appendChild(r); + q.appendChild(n); + q.appendChild(p); + this.dca.appendChild(q); return p; }; - c.prototype.Jda = function (n, r) { + c.prototype.Dda = function (n, q) { n.innerHTML = ""; - r.forEach(function (p) { - var u; - u = { + q.forEach(function (p) { + var t; + t = { title: p.caption }; - p.selected && (u.selected = "selected"); - u = l.createElement("option", void 0, p.caption, u); - u.value = p.value; - n.appendChild(u); + p.selected && (t.selected = "selected"); + t = l.createElement("option", void 0, p.caption, t); + t.value = p.value; + n.appendChild(t); }); }; - c.prototype.hib = function (n) { - n.ctrlKey && n.altKey && n.shiftKey && n.keyCode == h.du.Cdb && this.w3.kma && this.toggle(); + c.prototype.iib = function (n) { + n.ctrlKey && n.altKey && n.shiftKey && n.keyCode == h.iu.Fdb && this.x3.ema && this.toggle(); }; - b.vEa = c; - }, function (q, b, a) { + b.tEa = c; + }, function (r, b, a) { var f, k, l, d, g; function c(h, m) { - this.Yia = h; - this.lF = { + this.Ria = h; + this.oF = { position: "absolute", left: "0", top: "0", @@ -55689,28 +55704,28 @@ a000.D9b = function () { return !1; }; this.Z2a(m); - this.WRa = this.Czb(this.Yia); + this.VRa = this.Gzb(this.Ria); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.fHa = void 0; + b.bHa = void 0; f = a(29); - k = a(502); - l = a(503); + k = a(506); + l = a(507); d = a(11); g = a(24); - c.prototype.qp = function () { + c.prototype.rp = function () { return this.element; }; - c.prototype.HRb = function (h) { - this.Rea = h; + c.prototype.KRb = function (h) { + this.Kea = h; }; - c.prototype.RRb = function (h) { + c.prototype.URb = function (h) { this.entry = h; this.TM(); }; - c.prototype.YRb = function (h) { + c.prototype.aSb = function (h) { this.Z2a(h); this.TM(); }; @@ -55718,116 +55733,116 @@ a000.D9b = function () { var h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, - B, A, + B, C; h = this; - m = this.qp(); + m = this.rp(); n = m.parentElement; - r = n && n.clientWidth || 0; + q = n && n.clientWidth || 0; p = n && n.clientHeight || 0; - u = n = 0; - t = { - width: r, + t = n = 0; + u = { + width: q, height: p }; - if (0 < r && 0 < p && this.entry) { - this.Rea && (t = f.NK(r, p, this.Rea), n = Math.round((r - t.width) / 2), u = Math.round((p - t.height) / 2)); - v = this.Enb(t); - x = f.NK(v.width, v.height, this.Rea); + if (0 < q && 0 < p && this.entry) { + this.Kea && (u = f.RK(q, p, this.Kea), n = Math.round((q - u.width) / 2), t = Math.round((p - u.height) / 2)); + v = this.Fnb(u); + x = f.RK(v.width, v.height, this.Kea); v = (w = this.entry.blocks) && w.map(function (E) { - var F; - F = l.iia(E, x, h.Yia, h.WRa); - E = l.eRa(E) + ";position:absolute"; - return f.createElement("div", E, F, c.N9); + var G; + G = l.bia(E, x, h.Ria, h.VRa); + E = l.dRa(E) + ";position:absolute"; + return f.createElement("div", E, G, c.I9); }); } - Object.assign(this.lF, { + Object.assign(this.oF, { left: n + "px", right: n + "px", - top: u + "px", - bottom: u + "px" + top: t + "px", + bottom: t + "px" }); m.style.display = "none"; - m.style.direction = this.lF.direction; + m.style.direction = this.oF.direction; m.innerHTML = ""; if (v && v.length) { - r = t.width; - n = t.height; - y = t; - this.GR && (y = this.Zjb(t, this.GR, p, u)); - this.lF.margin = this.Zq ? this.Z0(t, "top") + "px " + this.Z0(t, "right") + "px " + this.Z0(t, "bottom") + "px " + this.Z0(t, "left") + "px " : void 0; + q = u.width; + n = u.height; + y = u; + this.HR && (y = this.Zjb(u, this.HR, p, t)); + this.oF.margin = this.Zq ? this.a1(u, "top") + "px " + this.a1(u, "right") + "px " + this.a1(u, "bottom") + "px " + this.a1(u, "left") + "px " : void 0; v.forEach(function (E) { return m.appendChild(E); }); - p = f.ZE(this.lF); + p = f.bF(this.oF); m.style.cssText = p + ";visibility:hidden;z-index:-1"; - u = []; + t = []; for (var z = v.length - 1; 0 <= z; z--) { - B = v[z]; - A = w[z]; - C = this.wZa(B, A, r, n); - C.width > r && (B.innerHTML = l.iia(A, t, this.Yia, this.WRa, r / C.width), C = this.wZa(B, A, r, n)); - u[z] = C; + A = v[z]; + B = w[z]; + C = this.tZa(A, B, q, n); + C.width > q && (A.innerHTML = l.bia(B, u, this.Ria, this.VRa, q / C.width), C = this.tZa(A, B, q, n)); + t[z] = C; } - u = k.G5a(u, y); + t = k.I5a(t, y); if (z = w && w[0] && w[0].textNodes && w[0].textNodes[0] && w[0].textNodes[0].style) - (y = z.windowColor, z = z.windowOpacity, y && 0 < z && (t = l.gRa(w, u, Math.round(n / 50), y, t), t = f.createElement("div", "position:absolute;left:0;top:0;right:0;bottom:0;opacity:" + z, t, c.N9), m.insertBefore(t, m.firstChild))); + (y = z.windowColor, z = z.windowOpacity, y && 0 < z && (u = l.fRa(w, t, Math.round(n / 50), y, u), u = f.createElement("div", "position:absolute;left:0;top:0;right:0;bottom:0;opacity:" + z, u, c.I9), m.insertBefore(u, m.firstChild))); m.style.display = "none"; - for (t = u.length - 1; 0 <= t; t--) { - y = v[t].style; - z = l.fRa(w[t].region, u[t], r, n, 0); + for (u = t.length - 1; 0 <= u; u--) { + y = v[u].style; + z = l.eRa(w[u].region, t[u], q, n, 0); Object.assign(y, z); } m.style.cssText = p; } }; - c.prototype.csa = function (h) { - this.GR = h; + c.prototype.Vra = function (h) { + this.HR = h; this.TM(); }; - c.prototype.Bka = function () { - return this.GR; + c.prototype.yka = function () { + return this.HR; }; - c.prototype.dsa = function (h) { + c.prototype.Wra = function (h) { this.Zq = h; this.TM(); }; - c.prototype.Cka = function () { + c.prototype.zka = function () { return this.Zq; }; - c.prototype.Dka = function () { - return "block" === this.lF.display; + c.prototype.Aka = function () { + return "block" === this.oF.display; }; - c.prototype.esa = function (h) { + c.prototype.Xra = function (h) { var m; m = h ? "block" : "none"; this.element.style.display = m; - this.lF.display = m; + this.oF.display = m; h && this.TM(); }; - c.prototype.Czb = function (h) { + c.prototype.Gzb = function (h) { var m, n; m = this; n = {}; - g.de(h, function (r, p) { - n[r] = m.lIb(p); + g.ae(h, function (q, p) { + n[q] = m.oIb(p); }); return n; }; c.prototype.Z2a = function (h) { - this.lF.direction = "boolean" === typeof h ? h ? "ltr" : "rtl" : "inherit"; + this.oF.direction = "boolean" === typeof h ? h ? "ltr" : "rtl" : "inherit"; }; - c.prototype.Z0 = function (h, m) { + c.prototype.a1 = function (h, m) { if (this.Zq) { if ("left" === m || "right" === m) return h.width * (this.Zq[m] || 0); @@ -55836,48 +55851,48 @@ a000.D9b = function () { } return 0; }; - c.prototype.Enb = function (h) { + c.prototype.Fnb = function (h) { return this.Zq ? { height: h.height * (1 - (this.Zq.top || 0) - (this.Zq.bottom || 0)), width: h.width * (1 - (this.Zq.left || 0) - (this.Zq.right || 0)) } : h; }; - c.prototype.lIb = function (h) { + c.prototype.oIb = function (h) { var m; - h = f.createElement("DIV", "display:block;position:fixed;z-index:-1;visibility:hidden;font-size:1000px;" + h + ";", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", c.N9); - d.De.body.appendChild(h); + h = f.createElement("DIV", "display:block;position:fixed;z-index:-1;visibility:hidden;font-size:1000px;" + h + ";", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", c.I9); + d.Fe.body.appendChild(h); m = { fontSize: 1E3, height: h.clientHeight, width: h.clientWidth / 52, lineHeight: h.clientHeight / 1E3 }; - d.De.body.removeChild(h); + d.Fe.body.removeChild(h); return m; }; - c.prototype.wZa = function (h, m, n, r) { + c.prototype.tZa = function (h, m, n, q) { var p, - u, t, + u, w, v; p = m.region; - u = (p.marginTop || 0) * r; - t = (p.marginBottom || 0) * r; + t = (p.marginTop || 0) * q; + u = (p.marginBottom || 0) * q; w = (p.marginLeft || 0) * n; v = (p.marginRight || 0) * n; m = h.clientWidth || 1; h = h.clientHeight || 1; switch (p.verticalAlignment) { case "top": - r = u; + q = t; break; case "center": - r = (u + r - t - h) / 2; + q = (t + q - u - h) / 2; break; default: - r = r - t - h; + q = q - u - h; } switch (p.horizontalAlignment) { case "left": @@ -55890,71 +55905,71 @@ a000.D9b = function () { n = (w + n - v - m) / 2; } return { - top: r, + top: q, left: n, width: m, height: h }; }; - c.prototype.Zjb = function (h, m, n, r) { + c.prototype.Zjb = function (h, m, n, q) { return { - height: n - Math.max(r, m.bottom || 0) - Math.max(r, m.top || 0), + height: n - Math.max(q, m.bottom || 0) - Math.max(q, m.top || 0), width: h.width }; }; - b.fHa = c; - c.N9 = { + b.bHa = c; + c.I9 = { "class": "player-timedtext-text-container" }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.G5a = void 0; + b.I5a = void 0; c = a(11); - b.G5a = function (f, k) { + b.I5a = function (f, k) { function l(h, m, n) { - var t, + var u, v, x, y, z; if (h && 1 < h.length) { - for (var r = [], p = [], u = 0; u < h.length; u++) { - r[u] = 0; - p[u] = 0; + for (var q = [], p = [], t = 0; t < h.length; t++) { + q[t] = 0; + p[t] = 0; } - t = !1; - for (u = 0; u < h.length; u++) { - for (var w = u + 1; w < h.length; w++) { - v = h[u]; + u = !1; + for (t = 0; t < h.length; t++) { + for (var w = t + 1; w < h.length; w++) { + v = h[t]; x = h[w]; if (0 > v.width || 0 > x.width || x.left > v.left + v.width || x.left + x.width < v.left || x.top > v.top + v.height ? 0 : x.top + x.height >= v.top) { - y = c.ln(v.left, x.left); - z = c.ln(v.top, x.top); + y = c.kn(v.left, x.left); + z = c.kn(v.top, x.top); y = { - width: c.ln(c.xo(v.left + v.width, x.left + x.width) - y, 0), - height: c.ln(c.xo(v.top + v.height, x.top + x.height) - z, 0), + width: c.kn(c.yo(v.left + v.width, x.left + x.width) - y, 0), + height: c.kn(c.yo(v.top + v.height, x.top + x.height) - z, 0), x: y, y: z }; } else y = void 0; if (y && 1 < y.width && 1 < y.height) - if ((z = y.width <= y.height, v = d(h[u]), x = d(h[w]), z && m || !z && !m)) - (y = c.ln(y.width / 2, .25), v.x <= x.x ? (p[u] -= y, p[w] += y) : (p[w] -= y, p[u] += y)); + if ((z = y.width <= y.height, v = d(h[t]), x = d(h[w]), z && m || !z && !m)) + (y = c.kn(y.width / 2, .25), v.x <= x.x ? (p[t] -= y, p[w] += y) : (p[w] -= y, p[t] += y)); else if (z && !m || !z && m) - (v = c.ln(y.height / 2, .25), r[u] -= v, r[w] += v); + (v = c.kn(y.height / 2, .25), q[t] -= v, q[w] += v); } } - for (u = 0; u < h.length; u++) { - if ( - .25 > p[u] && 0 <= h[u].left + p[u] || .25 < p[u] && h[u].left + h[u].width + p[u] <= n.width) - (h[u].left += p[u], t = !0); - if ( - .25 > r[u] && 0 <= h[u].top + r[u] || .25 < r[u] && h[u].top + h[u].height + r[u] <= n.height) - (h[u].top += r[u], t = !0); + for (t = 0; t < h.length; t++) { + if ( - .25 > p[t] && 0 <= h[t].left + p[t] || .25 < p[t] && h[t].left + h[t].width + p[t] <= n.width) + (h[t].left += p[t], u = !0); + if ( - .25 > q[t] && 0 <= h[t].top + q[t] || .25 < q[t] && h[t].top + h[t].height + q[t] <= n.height) + (h[t].top += q[t], u = !0); } - return t; + return u; } } function d(h) { @@ -55973,8 +55988,8 @@ a000.D9b = function () { }); (function (h, m) { h.forEach(function (n) { - 0 > n.left && n.left + n.width < m.width ? n.left += c.xo(-n.left, m.width - (n.left + n.width)) : n.left + n.width > m.width && 0 < n.left && (n.left -= c.xo(n.left + n.width - m.width, n.left)); - 0 > n.top && n.top + n.height < m.height ? n.top += c.xo(-n.top, m.height - (n.top + n.height)) : n.top + n.height > m.height && 0 < n.top && (n.top -= c.xo(n.top + n.height - m.height, n.top)); + 0 > n.left && n.left + n.width < m.width ? n.left += c.yo(-n.left, m.width - (n.left + n.width)) : n.left + n.width > m.width && 0 < n.left && (n.left -= c.yo(n.left + n.width - m.width, n.left)); + 0 > n.top && n.top + n.height < m.height ? n.top += c.yo(-n.top, m.height - (n.top + n.height)) : n.top + n.height > m.height && 0 < n.top && (n.top -= c.yo(n.top + n.height - m.height, n.top)); }); })(f, k); for (var g = 0; 50 > g && l(f, !0, k); g++) { ; @@ -55983,58 +55998,58 @@ a000.D9b = function () { } return f; }; - }, function (q, b, a) { + }, function (r, b, a) { var g, h, m; - function c(n, r, p, u, t) { + function c(n, q, p, t, u) { var w; w = {}; - "right" == n.horizontalAlignment ? w.right = 100 * (p - r.left - r.width - t) / p + "%" : w.left = 100 * (r.left - t) / p + "%"; - "bottom" == n.verticalAlignment ? w.bottom = 100 * (u - r.top - r.height - t) / u + "%" : w.top = 100 * (r.top - t) / u + "%"; + "right" == n.horizontalAlignment ? w.right = 100 * (p - q.left - q.width - u) / p + "%" : w.left = 100 * (q.left - u) / p + "%"; + "bottom" == n.verticalAlignment ? w.bottom = 100 * (t - q.top - q.height - u) / t + "%" : w.top = 100 * (q.top - u) / t + "%"; return w; } - function f(n, r) { + function f(n, q) { var p; - if (n && r) { - 40 === r.x && 19 === r.y ? p = 4 / 3 / (40 / 19) : 52 === r.x && 19 === r.y && (p = 16 / 9 / (52 / 19)); + if (n && q) { + 40 === q.x && 19 === q.y ? p = 4 / 3 / (40 / 19) : 52 === q.x && 19 === q.y && (p = 16 / 9 / (52 / 19)); if (p) return n.width / n.fontSize / p; } } - function k(n, r, p, u, t) { + function k(n, q, p, t, u) { var w, v; w = n.style; - v = h.QT(n.text); + v = h.NT(n.text); for (n = n.lineBreaks; n--; ) { v = "
" + v; } - return l(v, w, r, p, u, t); + return l(v, w, q, p, t, u); } - function l(n, r, p, u, t, w) { + function l(n, q, p, t, u, w) { var v; - v = r.characterStyle; - t = t[v]; - v = 0 <= v.indexOf("MONOSPACE") ? f(t, r.cellResolution) || t.lineHeight : t.lineHeight; - u = r.characterSize * u.height / (v || 1); - u = 0 < w ? m.Aw(u * w) : m.yi(u); + v = q.characterStyle; + u = u[v]; + v = 0 <= v.indexOf("MONOSPACE") ? f(u, q.cellResolution) || u.lineHeight : u.lineHeight; + t = q.characterSize * t.height / (v || 1); + t = 0 < w ? m.Gw(t * w) : m.yi(t); w = { - "font-size": u + "px", + "font-size": t + "px", "line-height": "normal", "font-weight": "normal" }; - r.characterItalic && (w["font-style"] = "italic"); - r.characterUnderline && (w["text-decoration"] = "underline"); - r.characterColor && (w.color = r.characterColor); - r.backgroundColor && 0 !== r.backgroundOpacity && (w["background-color"] = d(r.backgroundColor, r.backgroundOpacity)); - u = r.characterEdgeColor || "#000000"; - switch (r.characterEdgeAttributes) { + q.characterItalic && (w["font-style"] = "italic"); + q.characterUnderline && (w["text-decoration"] = "underline"); + q.characterColor && (w.color = q.characterColor); + q.backgroundColor && 0 !== q.backgroundOpacity && (w["background-color"] = d(q.backgroundColor, q.backgroundOpacity)); + t = q.characterEdgeColor || "#000000"; + switch (q.characterEdgeAttributes) { case "DROP_SHADOW": - w["text-shadow"] = u + " 0px 0px 7px"; + w["text-shadow"] = t + " 0px 0px 7px"; break; case "UNIFORM": - w["text-shadow"] = "-1px 0px " + u + ",0px 1px " + u + ",1px 0px " + u + ",0px -1px " + u; + w["text-shadow"] = "-1px 0px " + t + ",0px 1px " + t + ",1px 0px " + t + ",0px -1px " + t; break; case "RAISED": w["text-shadow"] = "-1px -1px white, 0px -1px white, -1px 0px white, 1px 1px black, 0px 1px black, 1px 0px black"; @@ -56042,78 +56057,78 @@ a000.D9b = function () { case "DEPRESED": w["text-shadow"] = "1px 1px white, 0px 1px white, 1px 0px white, -1px -1px black, 0px -1px black, -1px 0px black"; } - w = g.ZE(w); - (p = p[r.characterStyle || "PROPORTIONAL_SANS_SERIF"]) && (w += ";" + p); - r = r.characterOpacity; - 0 < r && 1 > r && (n = '' + n + ""); + w = g.bF(w); + (p = p[q.characterStyle || "PROPORTIONAL_SANS_SERIF"]) && (w += ";" + p); + q = q.characterOpacity; + 0 < q && 1 > q && (n = '' + n + ""); return '' + n + ""; } - function d(n, r) { + function d(n, q) { n = n.substring(1); n = parseInt(n, 16); - return "rgba(" + (n >> 16 & 255) + "," + (n >> 8 & 255) + "," + (n & 255) + "," + (void 0 !== r ? r : 1) + ")"; + return "rgba(" + (n >> 16 & 255) + "," + (n >> 8 & 255) + "," + (n & 255) + "," + (void 0 !== q ? q : 1) + ")"; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.eRa = b.Svb = b.Qvb = b.Tvb = b.Rvb = b.fRa = b.gRa = b.iia = void 0; + b.dRa = b.Yvb = b.Wvb = b.Zvb = b.Xvb = b.eRa = b.fRa = b.bia = void 0; g = a(47); h = a(24); m = a(11); - b.iia = function (n, r, p, u, t) { + b.bia = function (n, q, p, t, u) { var w; w = ""; n.textNodes.forEach(function (v) { - w += k(v, p, r, u, t); + w += k(v, p, q, t, u); }); return w; }; - b.gRa = function (n, r, p, u, t) { + b.fRa = function (n, q, p, t, u) { var w, v, y, z, - B; + A; w = ""; - v = t.width; - t = t.height; - for (var x = r.length; x--; ) { - y = r[x]; + v = u.width; + u = u.height; + for (var x = q.length; x--; ) { + y = q[x]; z = n[x]; z = z && z.region; - B = "position:absolute;background:" + u + ";width:" + m.yi(y.width + 2 * p) + "px;height:" + m.yi(y.height + 2 * p) + "px;"; - y = c(z, y, v, t, p); - h.de(y, function (A, C) { - B += A + ":" + C + ";"; + A = "position:absolute;background:" + t + ";width:" + m.yi(y.width + 2 * p) + "px;height:" + m.yi(y.height + 2 * p) + "px;"; + y = c(z, y, v, u, p); + h.ae(y, function (B, C) { + A += B + ":" + C + ";"; }); - w += '
'; + w += '
'; } return w; }; - b.fRa = c; - b.Rvb = f; - b.Tvb = k; - b.Qvb = l; - b.Svb = d; - b.eRa = function (n) { - var r; - r = { + b.eRa = c; + b.Xvb = f; + b.Zvb = k; + b.Wvb = l; + b.Yvb = d; + b.dRa = function (n) { + var q; + q = { display: "block", "white-space": "nowrap" }; switch (n.region.horizontalAlignment) { case "left": - r["text-align"] = "left"; + q["text-align"] = "left"; break; case "right": - r["text-align"] = "right"; + q["text-align"] = "right"; break; default: - r["text-align"] = "center"; + q["text-align"] = "center"; } - return g.ZE(r); + return g.bF(q); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -56125,93 +56140,93 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kEa = void 0; + b.iEa = void 0; c = a(12); f = a(13); k = a(51); l = a(86); d = a(11); - g = a(61); + g = a(62); h = a(17); m = a(18); - b.kEa = function (n) { - var t, + b.iEa = function (n) { + var u, w, v, x, y, z; - function r() { - return n.state.value === m.Gb.LOADING || n.state.value === m.Gb.$d && n.ac.value === m.Bb.Jg; + function q() { + return n.state.value === m.Jb.LOADING || n.state.value === m.Jb.Yd && n.bc.value === m.Eb.Hg; } function p() { - r() ? z || (z = setInterval(u, 100)) : z && (clearInterval(z), z = void 0, g.fg(u)); + q() ? z || (z = setInterval(t, 100)) : z && (clearInterval(z), z = void 0, g.fg(t)); } - function u() { - var B, - A, + function t() { + var A, + B, C, E, - F, - D, G, - I; - B = k.Hi(); - A = t.value; - C = A ? A.progress : 0; - E = n.state.value == m.Gb.LOADING || r() && B - w > f.config.gnb; - if (E && n.state.value == m.Gb.$d) { - if (n.hf.value === m.$e.QFa) - (F = C, D = !0); + D, + F, + J; + A = k.Hi(); + B = u.value; + C = B ? B.progress : 0; + E = n.state.value == m.Jb.LOADING || q() && A - w > f.config.hnb; + if (E && n.state.value == m.Jb.Yd) { + if (n.hf.value === m.af.NFa) + (G = C, D = !0); else { - G = B + (n.Mm && n.Mm.fDb() || 0); - v = v || B; - x = x || v + f.config.UIb + 1; - h.xa(G) && (G = d.ln(G, x), F = n.Mm ? n.Mm.S4b() : .99, F = d.yi(1E3 * l.yo((B - v) / (G - v), 0, F)) / 1E3); - } - if (F < C) - if (C - F < f.config.lOb / 100) - (F = C, y = void 0); + F = A + (n.Km && n.Km.iDb() || 0); + v = v || A; + x = x || v + f.config.WIb + 1; + h.ya(F) && (F = d.kn(F, x), G = n.Km ? n.Km.X4b() : .99, G = d.yi(1E3 * l.zo((A - v) / (F - v), 0, G)) / 1E3); + } + if (G < C) + if (C - G < f.config.qOb / 100) + (G = C, y = void 0); else if (y) { - if (B - y > f.config.kOb) { - I = !0; + if (A - y > f.config.pOb) { + J = !0; y = void 0; } else - F = C; - } else (y = B, F = C); + G = C; + } else (y = A, G = C); } else y = x = v = void 0; - B = E ? { - M7: D, - progress: F, - mOb: I + A = E ? { + I7: D, + progress: G, + rOb: J } : null; - (!B || !t || !A || h.xa(B.progress) && !h.xa(A.progress) || h.xa(B.progress) && h.xa(A.progress) && .01 < d.tD(B.progress - A.progress) || B.M7 !== A.M7) && t.set(B); + (!A || !u || !B || h.ya(A.progress) && !h.ya(B.progress) || h.ya(A.progress) && h.ya(B.progress) && .01 < d.vD(A.progress - B.progress) || A.I7 !== B.I7) && u.set(A); } - t = n.Dfa; + u = n.wfa; w = 0; n.state.addListener(function () { p(); - u(); - }, c.dZ); - n.ac.addListener(function (B) { - if (B.oldValue !== m.Bb.Jg || B.newValue !== m.Bb.Jg) + t(); + }, c.cZ); + n.bc.addListener(function (A) { + if (A.oldValue !== m.Eb.Hg || A.newValue !== m.Eb.Hg) w = k.Hi(); p(); }); n.hf.addListener(function () { p(); }); - n.Cq.addListener(function () { + n.Eq.addListener(function () { p(); }); - n.bm.addListener(function () { + n.$l.addListener(function () { p(); }); - z || (z = setInterval(u, 100)); + z || (z = setInterval(t, 100)); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -56220,578 +56235,577 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, - J; + D, + F, + J, + K; function c(H) { - var M; - M = this; + var L; + L = this; this.j = H; - this.Ib = this.j.Ib; + this.Kb = this.j.Kb; this.log = n.Ih(this.j, "MediaPresenterASE"); - this.K5 = this.I1 = 0; - this.la = this.Ib.la; - this.d0a = this.V_a = this.z4 = this.xpa = !1; - this.GUb = n.ha.get(C.yI)(A.uc(z.vZ)); - this.NJ = void 0; - this.ho = n.ha.get(F.ZFa)(this.j); - this.gw = {}; - this.FYa = {}; + this.K5 = this.K1 = 0; + this.la = this.Kb.la; + this.b0a = this.T_a = this.z4 = this.spa = !1; + this.IUb = n.ha.get(C.DI)(B.wc(z.vZ)); + this.QJ = void 0; + this.io = n.ha.get(G.VFa)(this.j); + this.kw = {}; + this.CYa = {}; this.LUa = {}; - this.jg = new G.GBa(this.j); - this.EUb = function () { - var O, - L, - P; - M.j.LW = m.Hi(); - if (!M.Ej() && M.Km) { - O = M.Ib.lUa(); - O || (M.pMb(), M.jg.tta(M.mediaTime)); - M.j.paused.value || !M.jg.nha(M.mediaTime) || !M.Afa() || O || M.ho.ema ? M.nra() : M.xpa || M.ora(); - M.oMb(); - if (!M.Ib.lUa() && !M.z4) { - O = M.Ib.mT(!0); - L = M.j.ac.value; - P = M.mpb(); - L !== P && !1; - P === x.Bb.au ? (M.mediaTime = M.j.qt.ea(A.ma), M.nra()) : P !== x.Bb.Jg && M.BWb(O); - M.$5a(); - M.jg.Vfa(M.mediaTime); - M.j.ac.set(P); - P !== x.Bb.Jg || L !== x.Bb.yc && L !== x.Bb.Wh || M.ZKb(); - } - } - }; - this.pl = D.N0a(this.EUb); - this.mediaTime = H.Z; - this.j.El = !1; - this.Ib.addEventListener(B.jj.P3a, function () { - M.log.trace("sourceBuffers have been created. Initialize MediaPresenter."); + this.ig = new F.EBa(this.j); + this.GUb = function () { + var Q, + I, + O; + L.j.KW = m.Hi(); + if (!L.Dj() && L.Im) { + Q = L.Kb.lUa(); + Q || (L.sMb(), L.ig.ota(L.mediaTime)); + L.j.paused.value || !L.ig.hha(L.mediaTime) || !L.tfa() || Q || L.io.Zla ? L.hra() : L.spa || L.ira(); + L.rMb(); + if (!L.Kb.lUa() && !L.z4) { + Q = L.Kb.kT(!0); + I = L.j.bc.value; + O = L.npb(); + I !== O && !1; + O === x.Eb.fu ? (L.mediaTime = L.j.vt.ea(B.ma), L.hra()) : O !== x.Eb.Hg && L.DWb(Q); + L.b6a(); + L.ig.Pfa(L.mediaTime); + L.j.bc.set(O); + O !== x.Eb.Hg || I !== x.Eb.Ac && I !== x.Eb.Wh || L.aLb(); + } + } + }; + this.ol = D.N0a(this.GUb); + this.mediaTime = H.X; + this.j.Cl = !1; + this.Kb.addEventListener(A.hj.Q3a, function () { + L.log.trace("sourceBuffers have been created. Initialize MediaPresenter."); try { - M.mb(); - } catch (O) { - M.log.error("Exception while initializing", O); - M.Ld(r.L.Kcb); + L.mb(); + } catch (Q) { + L.log.error("Exception while initializing", Q); + L.Jd(q.M.Ncb); } }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.UBa = void 0; + b.SBa = void 0; f = a(53); k = a(12); l = a(13); - d = a(62); - g = a(63); + d = a(63); + g = a(64); h = a(47); m = a(51); n = a(7); a(94); - r = a(3); - p = a(318); - u = a(21); - t = a(86); + q = a(3); + p = a(320); + t = a(21); + u = a(86); w = a(29); - v = a(61); + v = a(62); x = a(18); y = a(17); - z = a(171); - B = a(280); - A = a(5); + z = a(170); + A = a(281); + B = a(4); C = a(107); - E = a(165); - F = a(506); - D = a(1100); - G = a(1101); - I = a(1102); - J = a(202); + E = a(203); + G = a(510); + D = a(1103); + F = a(1104); + J = a(1105); + K = a(202); c.prototype.cTa = function () { - return this.Ib.mT(!1); + return this.Kb.kT(!1); }; - c.prototype.V2 = function () { - return this.Ib.V2(); + c.prototype.X2 = function () { + return this.Kb.X2(); }; c.prototype.yB = function () { - return this.Ib.yB(); + return this.Kb.yB(); }; - c.prototype.uF = function () { - return this.Ib.uF(); + c.prototype.yF = function () { + return this.Kb.yF(); }; - c.prototype.lT = function () { - return this.Ib.lT(); + c.prototype.jT = function () { + return this.Kb.jT(); }; - c.prototype.Z2 = function () { - return this.Ib.Z2(); + c.prototype.b3 = function () { + return this.Kb.b3(); }; c.prototype.mb = function () { var H; H = this; this.log.trace("Video element initializing"); - this.Ib.sourceBuffers.forEach(function (M) { - return H.jg.oSb(M); + this.Kb.sourceBuffers.forEach(function (L) { + return H.ig.rSb(L); }); - this.RDb(this.j.XB); + this.VDb(this.j.ZB); }; - c.prototype.RDb = function (H) { - var M, - O; - M = this; + c.prototype.VDb = function (H) { + var L, + Q; + L = this; H ? this.log.trace("Waiting for needkey") : (this.log.warn("Movie is not DRM protected", { MovieId: this.j.K - }), null === (O = this.j.Ma) || void 0 === O ? void 0 : O.Yx(this.j.K)); + }), null === (Q = this.j.Pa) || void 0 === Q ? void 0 : Q.cy(this.j.K)); this.log.trace("Waiting for loadedmetadata"); - this.Ib.addEventListener(B.jj.nXa, function (L) { - var P; - L = L.da; - M.j.Od("ld", L); - null === (P = M.j.Ma) || void 0 === P ? void 0 : P.Yx(L); - M.j.fireEvent(x.W.kXa); - }); - h.CLa(this.la, "loadedmetadata", function () { - M.log.trace("Video element event: loadedmetadata"); - M.j.Od("md"); - }); - g.lf.addListener(g.Jm, this.LUa[g.Jm] = function () { - return M.close(); - }, k.ED); - this.j.addEventListener(x.W.dg, function () { - return M.close(); - }, k.ED); - this.j.addEventListener(x.W.s2a, function () { - return M.ora(); - }); - this.j.addEventListener(x.W.sv, function () { - return M.MKb(); + this.Kb.addEventListener(A.hj.lXa, function (I) { + var O; + I = I.$; + L.j.Md("ld", I); + null === (O = L.j.Pa) || void 0 === O ? void 0 : O.cy(I); + L.j.fireEvent(x.Z.iXa); + }); + h.ALa(this.la, "loadedmetadata", function () { + L.log.trace("Video element event: loadedmetadata"); + L.j.Md("md"); + }); + g.lf.addListener(g.Hm, this.LUa[g.Hm] = function () { + return L.close(); + }, k.GD); + this.j.addEventListener(x.Z.dg, function () { + return L.close(); + }, k.GD); + this.j.addEventListener(x.Z.r2a, function () { + return L.ira(); + }); + this.j.addEventListener(x.Z.yv, function () { + return L.OKb(); }); this.j.paused.addListener(function () { - return M.pl(); + return L.ol(); }); this.j.muted.addListener(function () { - return M.Qta(); + return L.Lta(); }); this.j.volume.addListener(function () { - return M.Qta(); + return L.Lta(); }); this.j.playbackRate.addListener(function () { - return M.A8(); + return L.w8(); }); - this.j.Cq.addListener(function () { - return M.pl(); + this.j.Eq.addListener(function () { + return L.ol(); }); - this.j.bm.addListener(function () { - return M.pl(); + this.j.$l.addListener(function () { + return L.ol(); }); - this.Qta(); - this.A8(); - this.jg.A7(function () { - return M.j5(); + this.Lta(); + this.w8(); + this.ig.w7(function () { + return L.j5(); }); this.j5(); - this.WVb(); + this.YVb(); }; - c.prototype.B0 = function (H) { - var M; - M = this; + c.prototype.D0 = function (H) { + var L; + L = this; !1; - this.jg.mlb(H); - this.cob(H).then(function () { - M.j5(); - M.j.fireEvent(x.W.i5); - }).catch(function (O) { - M.Ld(r.L.Ocb, { - sb: w.vd(O) + this.ig.olb(H); + this.dob(H).then(function () { + L.j5(); + L.j.fireEvent(x.Z.i5); + }).catch(function (Q) { + L.Jd(q.M.Rcb, { + qb: w.vd(Q) }); }); }; - c.prototype.Iea = function (H, M, O) { - O = void 0 === O ? {} - : O; - M = this.Tub(H, M); - this.jg.klb(H, M, O); + c.prototype.Bea = function (H, L, Q) { + Q = void 0 === Q ? {} + : Q; + L = this.Xub(H, L); + this.ig.mlb(H, L, Q); this.j5(); - this.V_a || H.type !== f.ic.Hk.Hb || (this.ho.ema || this.seek(this.j.Z, x.Jd.yw), this.V_a = !0); + this.T_a || H.type !== f.Qb.Hk.Bb || (this.io.Zla || this.seek(this.j.X, x.me.Ew), this.T_a = !0); }; - c.prototype.WVb = function () { + c.prototype.YVb = function () { var H; H = this; - this.Ib.addEventListener(B.jj.iW, this.gw[B.jj.iW] = function () { - return H.cLb(); + this.Kb.addEventListener(A.hj.iW, this.kw[A.hj.iW] = function () { + return H.eLb(); }); - this.Ib.addEventListener(B.jj.Iq, this.gw[B.jj.Iq] = function () { + this.Kb.addEventListener(A.hj.Jq, this.kw[A.hj.Jq] = function () { return H.Z5(); }); - this.la.addEventListener("ended", this.gw.ended = function () { - return H.HKb(); + this.la.addEventListener("ended", this.kw.ended = function () { + return H.JKb(); }); - this.la.addEventListener("play", this.gw.play = function () { - return H.QKb(); + this.la.addEventListener("play", this.kw.play = function () { + return H.SKb(); }); - this.la.addEventListener("pause", this.gw.pause = function () { - return H.OKb(); + this.la.addEventListener("pause", this.kw.pause = function () { + return H.QKb(); }); - this.la.addEventListener("playing", this.gw.playing = function () { - return H.WKb(); + this.la.addEventListener("playing", this.kw.playing = function () { + return H.YKb(); }); - this.Km = !0; - this.jg.tta(this.mediaTime); + this.Im = !0; + this.ig.ota(this.mediaTime); this.log.trace("Video element initialization complete"); - this.j.Od("vi"); - l.config.SPa ? setTimeout(function () { - H.Loa = !0; - H.pl(); - }, l.config.SPa) : this.Loa = !0; - this.zTb(); + this.j.Md("vi"); + l.config.QPa ? setTimeout(function () { + H.Goa = !0; + H.ol(); + }, l.config.QPa) : this.Goa = !0; + this.CTb(); v.fg(function () { - return H.pl(); + return H.ol(); }); }; - c.prototype.zTb = function () { - var O; + c.prototype.CTb = function () { + var Q; function H() { - var L; - O.j.ac.value === x.Bb.yc && 0 === (null === (L = O.j.Cg) || void 0 === L ? void 0 : L.V2()) ? (O.vZa.tB(), L = "ensureTimer") : (O.vZa.Vp(), L = "stopTimer"); - O.log.trace("No render timer update: " + L, { - presentingState: x.Bb[O.j.ac.value] + var I; + Q.j.bc.value === x.Eb.Ac && 0 === (null === (I = Q.j.Bg) || void 0 === I ? void 0 : I.X2()) ? (Q.sZa.pF(), I = "ensureTimer") : (Q.sZa.xr(), I = "stopTimer"); + Q.log.trace("No render timer update: " + I, { + presentingState: x.Eb[Q.j.bc.value] }); } - function M(L) { - var P, - R; - L = void 0 === L ? !0 : L; - P = O.j.Ma; - R = (null === P || void 0 === P ? void 0 : P.dh) && P.E3(); - O.j.ac.value == x.Bb.Jg && O.j.state.value == x.Gb.$d && O.j.Cq.value == x.$e.$d && O.j.bm.value == x.$e.$d && !O.j.El && R ? (L && O.K1.Vp(), O.K1.tB(), P = "ensureTimer") : (O.K1.Vp(), P = "stopTimer"); - O.log.trace("Timer update: " + P, { - presentingState: x.Bb[O.j.ac.value], - playbackState: x.Gb[O.j.state.value], - avBufferingState: x.$e[O.j.Cq.value], - textBufferingState: x.$e[O.j.bm.value], - autoplayWasBlocked: O.j.El, - hasLicense: R, - restartTimer: L - }); - } - O = this; - l.config.IPa && (u.gb(!this.K1), this.K1 = n.ha.get(E.QP)(l.config.IPa, function () { - var L; - L = n.ha.get(p.Y9).ZPa(O.j); - O.Ld(L.code, L); - }), this.j.ac.addListener(function () { - return M(); - }), this.j.Cq.addListener(function () { - return M(); - }), this.j.bm.addListener(function () { - return M(); + function L(I) { + var O, + N; + I = void 0 === I ? !0 : I; + O = Q.j.Pa; + N = (null === O || void 0 === O ? void 0 : O.Ah) && O.F3(); + Q.j.bc.value == x.Eb.Hg && Q.j.state.value == x.Jb.Yd && Q.j.Eq.value == x.af.Yd && Q.j.$l.value == x.af.Yd && !Q.j.Cl && N ? (I && Q.M1.xr(), Q.M1.pF(), O = "ensureTimer") : (Q.M1.xr(), O = "stopTimer"); + Q.log.trace("Timer update: " + O, { + presentingState: x.Eb[Q.j.bc.value], + playbackState: x.Jb[Q.j.state.value], + avBufferingState: x.af[Q.j.Eq.value], + textBufferingState: x.af[Q.j.$l.value], + autoplayWasBlocked: Q.j.Cl, + hasLicense: N, + restartTimer: I + }); + } + Q = this; + l.config.HPa && (t.gb(!this.M1), this.M1 = n.ha.get(E.GZ)(l.config.HPa, function () { + var I; + I = n.ha.get(p.T9).XPa(Q.j); + Q.Jd(I.code, I); + }), this.j.bc.addListener(function () { + return L(); + }), this.j.Eq.addListener(function () { + return L(); + }), this.j.$l.addListener(function () { + return L(); }), this.j.state.addListener(function () { - return M(); - }), this.j.addEventListener(x.W.kXa, function () { - return M(); - }), this.j.addEventListener(x.W.El, function () { - return M(); - }), this.j.addEventListener(x.W.dfa, function () { - return M(); - }), this.j.addEventListener(x.W.EG, function () { - return M(!0); - }), M()); - l.config.uZa && (this.vZa = n.ha.get(E.QP)(l.config.uZa, function () { - var L; - 0 === (null === (L = O.j.Cg) || void 0 === L ? void 0 : L.yB()) && (L = n.ha.get(p.Y9).ZPa(O.j), O.Ld(L.code, L)); - O.j.ac.removeListener(H); - }), this.j.ac.addListener(H), H()); - }; - c.prototype.Tub = function (H, M) { - var O; - O = this.j.we; - (O = J.Rla(O) ? O.bL() : void 0) && H.type === f.ic.Hk.Hb && ((H = new I.bI(this.log, { - mediaType: I.hm.Hb, + return L(); + }), this.j.addEventListener(x.Z.iXa, function () { + return L(); + }), this.j.addEventListener(x.Z.Cl, function () { + return L(); + }), this.j.addEventListener(x.Z.Xea, function () { + return L(); + }), this.j.addEventListener(x.Z.LG, function () { + return L(!0); + }), L()); + l.config.rZa && (this.sZa = n.ha.get(E.GZ)(l.config.rZa, function () { + var I; + 0 === (null === (I = Q.j.Bg) || void 0 === I ? void 0 : I.yB()) && (I = n.ha.get(p.T9).XPa(Q.j), Q.Jd(I.code, I)); + Q.j.bc.removeListener(H); + }), this.j.bc.addListener(H), H()); + }; + c.prototype.Xub = function (H, L) { + var Q; + Q = this.j.Ve; + (Q = K.Mla(Q) ? Q.eL() : void 0) && H.type === f.Qb.Hk.Bb && ((H = new J.jI(this.log, { + mediaType: J.gm.Bb, url: "http://some-url" - }, M).na(O)) ? M = H : !1); - return M; + }, L).na(Q)) ? L = H : !1); + return L; }; c.prototype.j5 = function () { - this.Km ? this.pl() : l.config.llb && this.jg.tta(this.mediaTime); + this.Im ? this.ol() : l.config.nlb && this.ig.ota(this.mediaTime); }; - c.prototype.HTb = function () { + c.prototype.JTb = function () { !1; - this.j.ac.set(x.Bb.Jg); + this.j.bc.set(x.Eb.Hg); this.z4 = !0; - this.pl(); + this.ol(); }; - c.prototype.ipb = function () { + c.prototype.jpb = function () { var H; H = this; this.z4 && (!1, this.z4 = !1, v.fg(function () { - return H.cKb(); + return H.eKb(); })); }; - c.prototype.R2 = function () { - return this.jg.R2(); + c.prototype.S2 = function () { + return this.ig.S2(); }; - c.prototype.cKb = function () { + c.prototype.eKb = function () { var H, - M; - H = this.j.BB() || 0; - if (this.j.kb.Ol) { - if (l.config.Tmb) { - H = H - (this.Ib.Cra + 1) - l.config.Bra; - M = this.j.Ma.vp().Jc; - H = Math.max(H, M); + L; + H = this.j.DB() || 0; + if (this.j.kb.Nl) { + if (l.config.Umb) { + H = H - (this.Kb.vra + 1) - l.config.ura; + L = this.j.Pa.xp().Lc; + H = Math.max(H, L); } - } else (H -= l.config.dRb, H = Math.max(H, this.ho.Cma)); - this.seek(H, x.Jd.xI); + } else (H -= l.config.iRb, H = Math.max(H, this.io.wma)); + this.seek(H, x.me.NP); }; c.prototype.W5 = function (H) { - var M; - M = this; - this.jg.qSb(H); + var L; + L = this; + this.ig.tSb(H); v.fg(function () { - return M.pl(); + return L.ol(); }); }; - c.prototype.Wzb = function () { + c.prototype.$zb = function () { return { - I1: this.I1, + K1: this.K1, K5: this.K5 }; }; - c.prototype.cob = function (H) { - var M; - M = this.Ib && this.Ib.ITa(); - this.j.qt && M && Infinity !== H.A2a && (H = H.A2a + H.Ct, H > this.j.qt.t0a(A.ma) && (this.j.qt = A.uc(H))); + c.prototype.dob = function (H) { + var L; + L = this.Kb && this.Kb.KTa(); + this.j.vt && L && Infinity !== H.A2a && (H = H.A2a + H.Ht, H > this.j.vt.t0a(B.ma) && (this.j.vt = B.wc(H))); return Promise.resolve(); }; - c.prototype.oMb = function () { + c.prototype.rMb = function () { var H; H = this; - this.ho.o6 && (!1, this.Afa() && this.jg.nha(this.mediaTime) && (this.Ib.seek(this.mediaTime), this.ho.o6 = !1, v.fg(function () { - return H.pl(); + this.io.o6 && (!1, this.tfa() && this.ig.hha(this.mediaTime) && (this.Kb.seek(this.mediaTime), this.io.o6 = !1, v.fg(function () { + return H.ol(); }))); }; - c.prototype.BWb = function (H) { - var M; + c.prototype.DWb = function (H) { + var L; if (H < this.mediaTime) { - M = this.mediaTime - H; - l.config.qMb && H && M > z.vZ && (H = { - ElementTime: t.Vh(H), - MediaTime: t.Vh(this.mediaTime) - }, M > z.rFa ? this.Ld(r.L.Zcb, { - sb: Object.assign({ - Trace: this.Ib.py() + L = this.mediaTime - H; + l.config.tMb && H && L > z.vZ && (H = { + ElementTime: u.Vh(H), + MediaTime: u.Vh(this.mediaTime) + }, L > z.oFa ? this.Jd(q.M.bdb, { + qb: Object.assign({ + Trace: this.Kb.EB() }, H) }) : this.log.warn("VIDEO.currentTime became smaller", H)); } else - this.mediaTime = t.yo(H, 0, this.j.qt.ea(A.ma)); + this.mediaTime = u.zo(H, 0, this.j.vt.ea(B.ma)); }; - c.prototype.Afa = function () { - return this.j.Cq.value === x.$e.$d && this.j.bm.value === x.$e.$d; + c.prototype.tfa = function () { + return this.j.Eq.value === x.af.Yd && this.j.$l.value === x.af.Yd; }; - c.prototype.mpb = function () { + c.prototype.npb = function () { var H, - M, - O; + L, + Q; H = this; - M = this.j.ac.value; - O = M; - this.ho.ema ? O = x.Bb.Jg : this.la && this.la.ended ? M === x.Bb.yc && (O = x.Bb.au) : this.Afa() && this.jg.nha(this.mediaTime) ? this.Ib.Utb() ? O = this.la && this.la.paused ? x.Bb.Wh : x.Bb.yc : this.GUb.ol(function () { - return H.FUb(); - }) : O = this.j.qt ? this.j.UUa(this.mediaTime, this.jg.H1()) ? x.Bb.Jg : x.Bb.au : x.Bb.Jg; - return O; - }; - c.prototype.ZKb = function () { + L = this.j.bc.value; + Q = L; + this.io.Zla ? Q = x.Eb.Hg : this.la && this.la.ended ? L === x.Eb.Ac && (Q = x.Eb.fu) : this.tfa() && this.ig.hha(this.mediaTime) ? this.Kb.Xtb() ? Q = this.la && this.la.paused ? x.Eb.Wh : x.Eb.Ac : this.IUb.nl(function () { + return H.HUb(); + }) : Q = this.j.vt ? this.j.UUa(this.mediaTime, this.ig.J1()) ? x.Eb.Hg : x.Eb.fu : x.Eb.Hg; + return Q; + }; + c.prototype.aLb = function () { var H; - if (this.j.ac.value === x.Bb.Jg) { - H = this.jg.nVb() > this.jg.H1(); - this.j.bm.value !== x.$e.$d ? this.j.Rk.value ? (this.j.fireEvent(x.W.Bx, { - cause: d.iEa - }), this.log.warn("rebuffer due to timed text", this.j.Rk.value.Kh)) : this.j.fireEvent(x.W.LN) : H ? (this.I1++, this.j.fireEvent(x.W.Bx, { - cause: d.Maa - })) : (this.K5++, this.j.fireEvent(x.W.Bx, { - cause: d.Naa + if (this.j.bc.value === x.Eb.Hg) { + H = this.ig.pVb() > this.ig.J1(); + this.j.$l.value !== x.af.Yd ? this.j.Rk.value ? (this.j.fireEvent(x.Z.Gx, { + cause: d.gEa + }), this.log.warn("rebuffer due to timed text", this.j.Rk.value.kh)) : this.j.fireEvent(x.Z.MN) : H ? (this.K1++, this.j.fireEvent(x.Z.Gx, { + cause: d.Faa + })) : (this.K5++, this.j.fireEvent(x.Z.Gx, { + cause: d.Gaa })); } }; - c.prototype.FUb = function () { - this.Ej() || (l.config.gKb && this.jg.fKb(), this.pl()); + c.prototype.HUb = function () { + this.Dj() || (l.config.iKb && this.ig.hKb(), this.ol()); }; - c.prototype.cLb = function () { - this.pl(); + c.prototype.eLb = function () { + this.ol(); }; c.prototype.Z5 = function () { - this.pl(); - this.j.fireEvent(x.W.Iq); + this.ol(); + this.j.fireEvent(x.Z.Jq); }; - c.prototype.HKb = function () { + c.prototype.JKb = function () { this.log.trace("Video element event: ended"); - this.pl(); + this.ol(); }; - c.prototype.QKb = function () { + c.prototype.SKb = function () { this.log.trace("Video element event: play"); - this.pl(); + this.ol(); }; - c.prototype.OKb = function () { + c.prototype.QKb = function () { this.log.trace("Video element event: pause"); - this.pl(); + this.ol(); }; - c.prototype.WKb = function () { + c.prototype.YKb = function () { this.log.trace("Video element event: playing"); - this.pl(); + this.ol(); }; - c.prototype.Qta = function () { - this.Ej() || (this.la && this.la.volume !== this.j.volume.value && (this.la.volume = this.j.volume.value), this.la && this.la.muted !== this.j.muted.value && (this.la.muted = this.j.muted.value)); + c.prototype.Lta = function () { + this.Dj() || (this.la && this.la.volume !== this.j.volume.value && (this.la.volume = this.j.volume.value), this.la && this.la.muted !== this.j.muted.value && (this.la.muted = this.j.muted.value)); }; - c.prototype.A8 = function () { - !this.Ej() && this.la && (this.la.playbackRate = this.j.playbackRate.value); + c.prototype.w8 = function () { + !this.Dj() && this.la && (this.la.playbackRate = this.j.playbackRate.value); }; - c.prototype.ora = function () { + c.prototype.ira = function () { var H; H = this; - this.Ej() || !y.Hc(this.la) || this.la.ended || !this.Loa || !this.VN && void 0 !== this.VN || (this.log.trace("Calling play on element"), Promise.resolve(this.la.play()).then(function () { - H.closed || (H.VN = !1, H.xpa = !1, H.la.style.display = null, H.j.El = !1, H.j.fireEvent(x.W.dfa, { + this.Dj() || !y.Jc(this.la) || this.la.ended || !this.Goa || !this.VN && void 0 !== this.VN || (this.log.trace("Calling play on element"), Promise.resolve(this.la.play()).then(function () { + H.closed || (H.VN = !1, H.spa = !1, H.la.style.display = null, H.j.Cl = !1, H.j.fireEvent(x.Z.Xea, { j: H.j })); - }).catch(function (M) { - "NotAllowedError" === M.name ? (H.log.warn("Playback is blocked by the browser settings", M), H.j.El = !0, H.closed || (H.xpa = !0, H.la.style.display = "none", H.j.fireEvent(x.W.El, { + }).catch(function (L) { + "NotAllowedError" === L.name ? (H.log.warn("Playback is blocked by the browser settings", L), H.j.Cl = !0, H.closed || (H.spa = !0, H.la.style.display = "none", H.j.fireEvent(x.Z.Cl, { player: { play: function () { - return H.ora(); + return H.ira(); } } - }))) : H.closed || (H.VN = !1, H.d0a || (H.d0a = !0, H.log.error("Play promise rejected", M))); + }))) : H.closed || (H.VN = !1, H.b0a || (H.b0a = !0, H.log.error("Play promise rejected", L))); })); }; - c.prototype.MKb = function () { - this.ho.Cma = this.j.BB() || 0; + c.prototype.OKb = function () { + this.io.wma = this.j.DB() || 0; }; - c.prototype.nra = function () { - this.Ej() || !y.Hc(this.la) || this.la.ended || !this.Loa || this.VN && void 0 !== this.VN || (this.log.trace("Calling pause on element"), this.la.pause(), this.VN = !0); + c.prototype.hra = function () { + this.Dj() || !y.Jc(this.la) || this.la.ended || !this.Goa || this.VN && void 0 !== this.VN || (this.log.trace("Calling pause on element"), this.la.pause(), this.VN = !0); }; - c.prototype.$5a = function (H) { + c.prototype.b6a = function (H) { this.j.mediaTime.set(this.mediaTime); - H && this.j.oxb(); + H && this.j.txb(); }; - c.prototype.seek = function (H, M, O, L) { - var P, - R; - M = void 0 === M ? x.Jd.Iw : M; - O = void 0 === O ? this.j.va : O; - L = void 0 === L ? !1 : L; - R = null === (P = this.j.Ma) || void 0 === P ? void 0 : P.dh; - !this.Ej() && R && (this.j.fireEvent(x.W.EG, { - cause: M - }), this.ho.tV = { + c.prototype.seek = function (H, L, Q, I) { + var O, + N; + Q = void 0 === Q ? this.j.va : Q; + I = void 0 === I ? !1 : I; + N = null === (O = this.j.Pa) || void 0 === O ? void 0 : O.Ah; + !this.Dj() && N && (this.j.fireEvent(x.Z.LG, { + cause: L + }), this.io.sV = { time: H, - cause: M, - va: O, - uxb: L - }, this.j.ac.set(x.Bb.Jg), this.pl()); + cause: L, + va: Q, + Axb: I + }, this.j.bc.set(x.Eb.Hg), this.ol()); }; - c.prototype.pMb = function () { + c.prototype.sMb = function () { var H, - M, - O, L, - P, - R, - K, - Q; - if (this.ho.tV) { - H = this.ho.tV; - M = H.time; - O = H.cause; - L = H.va; - P = H.uxb; - if (!this.jg.hi() || O === x.Jd.yw) { - H = this.j.Qq(L).K; - R = this.jg.hi() ? void 0 : this.jg.Dyb(); - R = this.ho.wAb(M, O, L, P, R); - L = R.N5; - P = R.Aj; - K = R.TMb; - R = R.bi; - this.jg.Vfa(this.mediaTime); - Q = this.mediaTime; - M = t.Vh(M); - this.j.TA("SEEKING: Requested: (" + H + ":" + O + ":" + M + ") - Actual: (contentPts: " + P + ",playerPts: " + (K + ", newMediaTime: " + L + ")")); + Q, + I, + O, + N, + M, + P; + if (this.io.sV) { + H = this.io.sV; + L = H.time; + Q = H.cause; + I = H.va; + O = H.Axb; + if (!this.ig.hi() || Q === x.me.Ew) { + H = this.j.wp(I).K; + N = this.ig.hi() ? void 0 : this.ig.Iyb(); + N = this.io.zAb(L, Q, I, O, N); + I = N.N5; + O = N.yj; + M = N.WMb; + N = N.bi; + this.ig.Pfa(this.mediaTime); + P = this.mediaTime; + L = u.Vh(L); + this.j.IE("SEEKING: Requested: (" + H + ":" + Q + ":" + L + ") - Actual: (contentPts: " + O + ",playerPts: " + (M + ", newMediaTime: " + I + ")")); this.log.info("Seeking", { - Requested: M, - Actual: t.Vh(L), - Cause: O, - Skip: R + Requested: L, + Actual: u.Vh(I), + Cause: Q, + Skip: N }); - O === x.Jd.yw || R || (this.jg.Z1a(), this.jg.lSb()); - this.mediaTime = L; - this.ho.Cma = P; - M = this.j.Ug.value; - K = this.j.Sf.value; - this.j.Ug.set(null); - this.j.Sf.set(null); - this.$5a(!0); - this.ho.tV = void 0; - this.ho.o6 = !0; - this.j.fireEvent(x.W.Zl, { - Moa: Q, - N5: L, - Aj: P, - cause: O, - skip: R, - Ug: M, - Sf: K, + Q === x.me.Ew || N || (this.ig.Y1a(), this.ig.oSb()); + this.mediaTime = I; + this.io.wma = O; + L = this.j.Sg.value; + M = this.j.Tf.value; + this.j.Sg.set(null); + this.j.Tf.set(null); + this.b6a(!0); + this.io.sV = void 0; + this.io.o6 = !0; + this.j.fireEvent(x.Z.Xl, { + Hoa: P, + N5: I, + yj: O, + cause: Q, + skip: N, + Sg: L, + Tf: M, K: H }); - R && this.jg.skip(L); + N && this.ig.skip(I); } } }; - c.prototype.Ld = function (H, M, O) { - this.closed || this.j.Ld(H, M, O); + c.prototype.Jd = function (H, L, Q) { + this.closed || this.j.Jd(H, L, Q); }; c.prototype.close = function () { if (!this.closed) { this.log.info("Closing."); - this.jg.close(); - this.Ib.removeEventListener(B.jj.iW, this.FYa[B.jj.iW]); - this.Ib.removeEventListener(B.jj.Iq, this.FYa[B.jj.Iq]); - this.la.removeEventListener("ended", this.gw.ended); - this.la.removeEventListener("play", this.gw.play); - this.la.removeEventListener("pause", this.gw.pause); - this.la.removeEventListener("playing", this.gw.playing); - g.lf.removeListener(g.Jm, this.LUa[g.Jm]); + this.ig.close(); + this.Kb.removeEventListener(A.hj.iW, this.CYa[A.hj.iW]); + this.Kb.removeEventListener(A.hj.Jq, this.CYa[A.hj.Jq]); + this.la.removeEventListener("ended", this.kw.ended); + this.la.removeEventListener("play", this.kw.play); + this.la.removeEventListener("pause", this.kw.pause); + this.la.removeEventListener("playing", this.kw.playing); + g.lf.removeListener(g.Hm, this.LUa[g.Hm]); this.closed = !0; try { - l.config.uJb && (this.la.volume = 0, this.la.muted = !0); - this.nra(); - this.Ib.close(); + l.config.wJb && (this.la.volume = 0, this.la.muted = !0); + this.hra(); + this.Kb.close(); } catch (H) {} this.la = void 0; - this.jg.Z1a(); + this.ig.Y1a(); } }; - c.prototype.Ej = function () { - return this.closed ? !0 : y.Hc(this.la) ? !1 : (this.log.error("MediaPresenter not closed and videoElement is not defined"), !0); + c.prototype.Dj = function () { + return this.closed ? !0 : y.Jc(this.la) ? !1 : (this.log.error("MediaPresenter not closed and videoElement is not defined"), !0); }; - b.UBa = c; - }, function (q, b) { + b.SBa = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZFa = "SeekManagerFactorySymbol"; - }, function (q) { + b.VFa = "SeekManagerFactorySymbol"; + }, function (r) { var b; b = (function () { var a; @@ -56804,7 +56818,7 @@ a000.D9b = function () { : function (a, c, f) { a.set(c, f); }; - q.exports = { + r.exports = { from: function (a, c, f, k) { a = new a(c.length); for (var l = "function" === typeof f, d = 0; d < c.length; ++d) { @@ -56814,43 +56828,43 @@ a000.D9b = function () { }, set: b }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { var l; l = null !== f && f.apply(this, arguments) || this; - l.hy = 1536; + l.my = 1536; return l; } c.__extends(k, f); k.Ka = !0; return k; })(a(189).default); - b.default = q; + b.default = r; a = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "ac-3"; + k.Mb = "ac-3"; return k; - })(q); - b.Y8 = a; - q = (function (f) { + })(r); + b.T8 = a; + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "ec-3"; + k.Mb = "ec-3"; return k; - })(q); - b.b$ = q; - }, function (q, b, a) { + })(r); + b.W9 = r; + }, function (r, b, a) { var c, f, k; @@ -56859,62 +56873,62 @@ a000.D9b = function () { }); c = a(23); f = a(101); - q = a(33); - k = f.zD; - q = (function (l) { + r = a(33); + k = f.BD; + r = (function (l) { function d() { return null !== l && l.apply(this, arguments) || this; } c.__extends(d, l); d.prototype.parse = function () { - this.ec(); - this.fileSize = this.u.Hd(); - this.U = this.u.Hd(); - this.duration = this.u.Hd(!1, !0); - this.Goa = this.u.Hd(); - this.u.Hd(); - this.Koa = this.u.Hd(); - this.poa = this.u.ta(); - this.Hoa = this.u.Hd(); - this.Xia = this.u.ta(); - this.u.iz(); - this.Ae = { + this.ic(); + this.fileSize = this.u.Gd(); + this.U = this.u.Gd(); + this.duration = this.u.Gd(!1, !0); + this.Boa = this.u.Gd(); + this.u.Gd(); + this.Foa = this.u.Gd(); + this.koa = this.u.ta(); + this.Coa = this.u.Gd(); + this.Qia = this.u.ta(); + this.u.lz(); + this.Ce = { moof: { - offset: this.Goa + offset: this.Boa }, sidx: { - offset: this.Hoa, - size: this.Xia + offset: this.Coa, + size: this.Qia } }; - this.Ae[f.qP] = { - offset: this.Koa, - size: this.poa + this.Ce[f.rP] = { + offset: this.Foa, + size: this.koa }; - this.u.offset - this.startOffset <= this.length - 24 && (this.Joa = this.u.Hd(), this.joa = this.u.ta(), this.Ioa = this.u.Hd(), this.hoa = this.u.ta(), this.Ae[f.Dw] = { - offset: this.Joa, - size: this.joa - }, this.Ae[f.Cw] = { - offset: this.Ioa, - size: this.hoa + this.u.offset - this.startOffset <= this.length - 24 && (this.Eoa = this.u.Gd(), this.eoa = this.u.ta(), this.Doa = this.u.Gd(), this.coa = this.u.ta(), this.Ce[f.Jw] = { + offset: this.Eoa, + size: this.eoa + }, this.Ce[f.Iw] = { + offset: this.Doa, + size: this.coa }); return !0; }; - d.Lb = k; + d.Mb = k; d.Ka = !1; return d; - })(q.kc); - b.default = q; - }, function (q, b, a) { + })(r.mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = a(101); + r = a(101); a = a(33); - f = q.AD; + f = r.CD; a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; @@ -56924,15 +56938,15 @@ a000.D9b = function () { var d, m, n; - this.ec(); - 1 <= this.version && this.u.iz(); + this.ic(); + 1 <= this.version && this.u.lz(); d = this.u.ta(); - this.Ae = {}; + this.Ce = {}; for (var g = this.startOffset + this.length, h = 0; h < d; ++h) { - m = this.u.ll(); - "uuid" === m && (m = this.u.iz()); - n = this.u.Hd(); - this.Ae[m] = { + m = this.u.kl(); + "uuid" === m && (m = this.u.lz()); + n = this.u.Gd(); + this.Ce[m] = { offset: g, size: n }; @@ -56940,12 +56954,12 @@ a000.D9b = function () { } return !0; }; - l.Lb = f; + l.Mb = f; l.Ka = !1; return l; - })(a.kc); + })(a.mc); b.default = a; - }, function (q) { + }, function (r) { var b, a, c, @@ -56956,7 +56970,7 @@ a000.D9b = function () { channels: 2, sampleRate: 24E3, duration: 1024, - Qj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 157, 188, 0, 0, 8, 28, 0, 0, 0, 14]).buffer + Pj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 157, 188, 0, 0, 8, 28, 0, 0, 0, 14]).buffer }; a = { name: "heaac-2-dase standard sample", @@ -56964,7 +56978,7 @@ a000.D9b = function () { channels: 2, sampleRate: 24E3, duration: 1024, - Qj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 240, 77, 251, 1, 60, 8, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 14, 0, 14]).buffer + Pj: new Uint8Array([33, 17, 69, 0, 20, 80, 1, 70, 240, 77, 251, 1, 60, 8, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 14, 0, 14]).buffer }; c = { name: "ddplus-5.1-dash standard sample", @@ -56972,7 +56986,7 @@ a000.D9b = function () { channels: 6, sampleRate: 48E3, duration: 1536, - Qj: new Uint8Array([11, 119, 1, 127, 63, 134, 255, 225, 6, 32, 0, 32, 0, 66, 10, 65, 0, 135, 216, 68, 3, 254, 202, 2, 88, 163, 1, 16, 177, 64, 146, 32, 160, 75, 20, 80, 37, 136, 35, 227, 36, 160, 152, 156, 165, 37, 38, 41, 37, 73, 74, 9, 201, 146, 130, 114, 82, 116, 160, 152, 152, 150, 136, 58, 125, 89, 245, 39, 207, 159, 63, 116, 150, 147, 242, 73, 95, 165, 171, 175, 253, 215, 126, 82, 21, 55, 188, 8, 165, 126, 249, 242, 100, 175, 255, 249, 73, 42, 255, 253, 215, 124, 246, 156, 23, 239, 108, 36, 134, 249, 211, 228, 181, 255, 246, 253, 205, 119, 176, 179, 86, 126, 166, 27, 231, 175, 225, 58, 255, 222, 170, 110, 127, 249, 215, 41, 232, 146, 73, 183, 0, 88, 211, 192, 0, 0, 31, 7, 178, 116, 62, 122, 114, 245, 8, 233, 196, 71, 223, 196, 18, 59, 202, 113, 248, 103, 242, 80, 250, 118, 15, 1, 60, 79, 251, 46, 14, 8, 9, 37, 4, 14, 183, 67, 131, 195, 103, 241, 250, 32, 124, 81, 61, 76, 9, 40, 161, 2, 1, 16, 64, 114, 219, 225, 217, 172, 140, 44, 12, 64, 147, 49, 210, 195, 206, 12, 52, 186, 196, 0, 107, 134, 202, 4, 9, 216, 72, 67, 11, 127, 185, 13, 125, 124, 124, 194, 90, 203, 69, 1, 209, 8, 129, 183, 36, 196, 101, 7, 248, 73, 181, 38, 181, 30, 232, 124, 27, 18, 222, 207, 92, 251, 85, 227, 78, 0, 70, 196, 59, 0, 207, 194, 0, 252, 226, 209, 111, 144, 239, 111, 148, 54, 39, 28, 176, 248, 160, 58, 88, 113, 9, 76, 65, 57, 180, 96, 82, 224, 115, 52, 208, 161, 184, 86, 120, 211, 212, 168, 13, 52, 217, 124, 121, 189, 237, 163, 53, 72, 52, 157, 245, 160, 110, 16, 182, 219, 180, 152, 180, 136, 47, 23, 151, 198, 192, 20, 62, 220, 249, 107, 82, 0, 0, 0, 234, 22, 24, 202, 252, 104, 154, 198, 95, 7, 98, 110, 113, 104, 187, 197, 110, 105, 201, 123, 18, 61, 45, 233, 135, 20, 0, 151, 155, 45, 131, 75, 174, 9, 228, 53, 214, 32, 19, 131, 131, 87, 146, 156, 22, 16, 160, 0, 0, 5, 169, 31, 241, 155, 119, 242, 21, 168, 176, 225, 35, 130, 186, 60, 97, 189, 244, 57, 5, 158, 124, 200, 224, 156, 74, 33, 48, 12, 75, 235, 252, 25, 83, 61, 12, 178, 134, 75, 92, 124, 56, 71, 63, 232, 35, 142, 23, 11, 179, 154, 25, 17, 254, 160, 55, 0, 28, 144, 253, 91, 117, 102, 221, 190, 135, 231, 10, 70, 30, 23, 176, 0, 0, 1, 176, 4, 8, 133, 150, 0, 255, 79, 159, 83, 83, 77, 46, 180, 197, 95, 161, 141, 13, 44, 47, 253, 61, 176, 86, 148, 52, 201, 148, 194, 126, 246, 155, 165, 78, 181, 18, 73, 32, 28, 45, 70, 221, 101, 80, 78, 20, 6, 206, 130, 30, 219, 0, 30, 251, 237, 127, 232, 113, 255, 107, 248, 25, 147, 2, 185, 140, 224, 224, 189, 152, 101, 89, 28, 152, 47, 182, 88, 216, 198, 90, 3, 213, 0, 64, 150, 89, 96, 5, 18, 73, 32, 18, 105, 56, 170, 112, 129, 132, 77, 233, 15, 190, 8, 58, 109, 254, 217, 232, 164, 181, 91, 34, 227, 8, 27, 140, 83, 141, 186, 71, 175, 110, 91, 83, 37, 82, 15, 247, 58, 112, 134, 42, 42, 18, 3, 0, 8, 18, 196, 44, 5, 18, 73, 32, 25, 234, 135, 27, 145, 161, 76, 95, 163, 44, 124, 140, 151, 13, 189, 174, 93, 108, 80, 63, 112, 61, 88, 28, 46, 219, 213, 65, 40, 74, 243, 69, 108, 141, 37, 80, 21, 72, 191, 2, 50, 88, 122, 3, 0, 0, 10, 36, 146, 64, 54, 170, 52, 196, 80, 163, 79, 142, 148, 81, 36, 46, 131, 66, 255, 221, 26, 128, 73, 23, 103, 49, 192, 55, 30, 59, 219, 161, 166, 249, 122, 141, 88, 62, 36, 228, 107, 116, 158, 14, 252, 92, 103, 226, 0, 0, 20, 73, 36, 128, 113, 105, 27, 109, 199, 165, 26, 100, 240, 30, 8, 113, 124, 175, 175, 166, 144, 115, 74, 138, 80, 24, 32, 117, 28, 206, 194, 21, 85, 40, 218, 254, 177, 100, 37, 127, 63, 131, 208, 68, 250, 76, 169, 40, 0, 0, 0, 0, 0, 0, 0, 95, 208, 40, 5]).buffer + Pj: new Uint8Array([11, 119, 1, 127, 63, 134, 255, 225, 6, 32, 0, 32, 0, 66, 10, 65, 0, 135, 216, 68, 3, 254, 202, 2, 88, 163, 1, 16, 177, 64, 146, 32, 160, 75, 20, 80, 37, 136, 35, 227, 36, 160, 152, 156, 165, 37, 38, 41, 37, 73, 74, 9, 201, 146, 130, 114, 82, 116, 160, 152, 152, 150, 136, 58, 125, 89, 245, 39, 207, 159, 63, 116, 150, 147, 242, 73, 95, 165, 171, 175, 253, 215, 126, 82, 21, 55, 188, 8, 165, 126, 249, 242, 100, 175, 255, 249, 73, 42, 255, 253, 215, 124, 246, 156, 23, 239, 108, 36, 134, 249, 211, 228, 181, 255, 246, 253, 205, 119, 176, 179, 86, 126, 166, 27, 231, 175, 225, 58, 255, 222, 170, 110, 127, 249, 215, 41, 232, 146, 73, 183, 0, 88, 211, 192, 0, 0, 31, 7, 178, 116, 62, 122, 114, 245, 8, 233, 196, 71, 223, 196, 18, 59, 202, 113, 248, 103, 242, 80, 250, 118, 15, 1, 60, 79, 251, 46, 14, 8, 9, 37, 4, 14, 183, 67, 131, 195, 103, 241, 250, 32, 124, 81, 61, 76, 9, 40, 161, 2, 1, 16, 64, 114, 219, 225, 217, 172, 140, 44, 12, 64, 147, 49, 210, 195, 206, 12, 52, 186, 196, 0, 107, 134, 202, 4, 9, 216, 72, 67, 11, 127, 185, 13, 125, 124, 124, 194, 90, 203, 69, 1, 209, 8, 129, 183, 36, 196, 101, 7, 248, 73, 181, 38, 181, 30, 232, 124, 27, 18, 222, 207, 92, 251, 85, 227, 78, 0, 70, 196, 59, 0, 207, 194, 0, 252, 226, 209, 111, 144, 239, 111, 148, 54, 39, 28, 176, 248, 160, 58, 88, 113, 9, 76, 65, 57, 180, 96, 82, 224, 115, 52, 208, 161, 184, 86, 120, 211, 212, 168, 13, 52, 217, 124, 121, 189, 237, 163, 53, 72, 52, 157, 245, 160, 110, 16, 182, 219, 180, 152, 180, 136, 47, 23, 151, 198, 192, 20, 62, 220, 249, 107, 82, 0, 0, 0, 234, 22, 24, 202, 252, 104, 154, 198, 95, 7, 98, 110, 113, 104, 187, 197, 110, 105, 201, 123, 18, 61, 45, 233, 135, 20, 0, 151, 155, 45, 131, 75, 174, 9, 228, 53, 214, 32, 19, 131, 131, 87, 146, 156, 22, 16, 160, 0, 0, 5, 169, 31, 241, 155, 119, 242, 21, 168, 176, 225, 35, 130, 186, 60, 97, 189, 244, 57, 5, 158, 124, 200, 224, 156, 74, 33, 48, 12, 75, 235, 252, 25, 83, 61, 12, 178, 134, 75, 92, 124, 56, 71, 63, 232, 35, 142, 23, 11, 179, 154, 25, 17, 254, 160, 55, 0, 28, 144, 253, 91, 117, 102, 221, 190, 135, 231, 10, 70, 30, 23, 176, 0, 0, 1, 176, 4, 8, 133, 150, 0, 255, 79, 159, 83, 83, 77, 46, 180, 197, 95, 161, 141, 13, 44, 47, 253, 61, 176, 86, 148, 52, 201, 148, 194, 126, 246, 155, 165, 78, 181, 18, 73, 32, 28, 45, 70, 221, 101, 80, 78, 20, 6, 206, 130, 30, 219, 0, 30, 251, 237, 127, 232, 113, 255, 107, 248, 25, 147, 2, 185, 140, 224, 224, 189, 152, 101, 89, 28, 152, 47, 182, 88, 216, 198, 90, 3, 213, 0, 64, 150, 89, 96, 5, 18, 73, 32, 18, 105, 56, 170, 112, 129, 132, 77, 233, 15, 190, 8, 58, 109, 254, 217, 232, 164, 181, 91, 34, 227, 8, 27, 140, 83, 141, 186, 71, 175, 110, 91, 83, 37, 82, 15, 247, 58, 112, 134, 42, 42, 18, 3, 0, 8, 18, 196, 44, 5, 18, 73, 32, 25, 234, 135, 27, 145, 161, 76, 95, 163, 44, 124, 140, 151, 13, 189, 174, 93, 108, 80, 63, 112, 61, 88, 28, 46, 219, 213, 65, 40, 74, 243, 69, 108, 141, 37, 80, 21, 72, 191, 2, 50, 88, 122, 3, 0, 0, 10, 36, 146, 64, 54, 170, 52, 196, 80, 163, 79, 142, 148, 81, 36, 46, 131, 66, 255, 221, 26, 128, 73, 23, 103, 49, 192, 55, 30, 59, 219, 161, 166, 249, 122, 141, 88, 62, 36, 228, 107, 116, 158, 14, 252, 92, 103, 226, 0, 0, 20, 73, 36, 128, 113, 105, 27, 109, 199, 165, 26, 100, 240, 30, 8, 113, 124, 175, 175, 166, 144, 115, 74, 138, 80, 24, 32, 117, 28, 206, 194, 21, 85, 40, 218, 254, 177, 100, 37, 127, 63, 131, 208, 68, 250, 76, 169, 40, 0, 0, 0, 0, 0, 0, 0, 95, 208, 40, 5]).buffer }; f = { name: "ddplus-2.0-dash standard sample", @@ -56980,9 +56994,9 @@ a000.D9b = function () { channels: 2, sampleRate: 48E3, duration: 1536, - Qj: new Uint8Array([11, 119, 0, 191, 52, 134, 255, 224, 4, 32, 24, 132, 33, 46, 136, 15, 236, 128, 165, 150, 32, 161, 69, 16, 65, 66, 33, 0, 160, 224, 136, 32, 48, 40, 56, 176, 233, 159, 62, 203, 176, 139, 218, 213, 221, 58, 124, 249, 83, 239, 245, 26, 179, 232, 106, 97, 174, 75, 74, 149, 104, 85, 223, 38, 74, 253, 242, 95, 253, 47, 117, 10, 116, 228, 206, 145, 61, 126, 153, 83, 169, 201, 146, 214, 124, 251, 202, 125, 62, 3, 184, 113, 105, 44, 145, 91, 107, 58, 206, 87, 7, 170, 74, 27, 187, 48, 217, 65, 241, 1, 161, 157, 113, 91, 21, 163, 111, 51, 104, 115, 118, 123, 44, 77, 110, 247, 112, 43, 8, 73, 76, 172, 73, 150, 207, 95, 153, 3, 182, 105, 124, 66, 2, 0, 118, 237, 94, 135, 88, 83, 124, 41, 205, 76, 76, 109, 131, 40, 166, 169, 150, 166, 233, 51, 26, 43, 143, 131, 162, 201, 227, 35, 146, 30, 46, 75, 41, 1, 28, 21, 124, 91, 11, 74, 112, 106, 170, 137, 88, 102, 81, 122, 90, 108, 154, 41, 64, 72, 81, 74, 40, 176, 29, 246, 45, 81, 141, 178, 47, 68, 210, 113, 129, 217, 48, 217, 176, 77, 157, 147, 211, 28, 106, 174, 210, 66, 110, 190, 228, 106, 249, 236, 107, 188, 90, 91, 41, 31, 191, 71, 149, 201, 40, 136, 209, 138, 100, 91, 53, 25, 18, 245, 27, 148, 208, 18, 20, 81, 70, 24, 7, 147, 116, 48, 233, 47, 145, 81, 32, 242, 74, 51, 50, 138, 85, 186, 6, 202, 227, 8, 169, 201, 206, 77, 68, 201, 80, 186, 57, 179, 90, 232, 234, 208, 230, 109, 96, 154, 4, 249, 38, 86, 153, 185, 81, 45, 38, 146, 243, 73, 117, 105, 140, 5, 34, 48, 227, 11, 10, 32, 130, 14, 49, 4, 40, 131, 127, 229, 199, 232, 95, 78, 126, 229, 243, 175, 254, 117, 124, 233, 83, 154, 239, 93, 63, 195, 190, 120, 247, 107, 232, 10, 68, 177, 11, 22, 24, 32, 66, 4, 99, 231, 207, 159, 7, 124, 241, 174, 215, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 40, 187, 227]).buffer + Pj: new Uint8Array([11, 119, 0, 191, 52, 134, 255, 224, 4, 32, 24, 132, 33, 46, 136, 15, 236, 128, 165, 150, 32, 161, 69, 16, 65, 66, 33, 0, 160, 224, 136, 32, 48, 40, 56, 176, 233, 159, 62, 203, 176, 139, 218, 213, 221, 58, 124, 249, 83, 239, 245, 26, 179, 232, 106, 97, 174, 75, 74, 149, 104, 85, 223, 38, 74, 253, 242, 95, 253, 47, 117, 10, 116, 228, 206, 145, 61, 126, 153, 83, 169, 201, 146, 214, 124, 251, 202, 125, 62, 3, 184, 113, 105, 44, 145, 91, 107, 58, 206, 87, 7, 170, 74, 27, 187, 48, 217, 65, 241, 1, 161, 157, 113, 91, 21, 163, 111, 51, 104, 115, 118, 123, 44, 77, 110, 247, 112, 43, 8, 73, 76, 172, 73, 150, 207, 95, 153, 3, 182, 105, 124, 66, 2, 0, 118, 237, 94, 135, 88, 83, 124, 41, 205, 76, 76, 109, 131, 40, 166, 169, 150, 166, 233, 51, 26, 43, 143, 131, 162, 201, 227, 35, 146, 30, 46, 75, 41, 1, 28, 21, 124, 91, 11, 74, 112, 106, 170, 137, 88, 102, 81, 122, 90, 108, 154, 41, 64, 72, 81, 74, 40, 176, 29, 246, 45, 81, 141, 178, 47, 68, 210, 113, 129, 217, 48, 217, 176, 77, 157, 147, 211, 28, 106, 174, 210, 66, 110, 190, 228, 106, 249, 236, 107, 188, 90, 91, 41, 31, 191, 71, 149, 201, 40, 136, 209, 138, 100, 91, 53, 25, 18, 245, 27, 148, 208, 18, 20, 81, 70, 24, 7, 147, 116, 48, 233, 47, 145, 81, 32, 242, 74, 51, 50, 138, 85, 186, 6, 202, 227, 8, 169, 201, 206, 77, 68, 201, 80, 186, 57, 179, 90, 232, 234, 208, 230, 109, 96, 154, 4, 249, 38, 86, 153, 185, 81, 45, 38, 146, 243, 73, 117, 105, 140, 5, 34, 48, 227, 11, 10, 32, 130, 14, 49, 4, 40, 131, 127, 229, 199, 232, 95, 78, 126, 229, 243, 175, 254, 117, 124, 233, 83, 154, 239, 93, 63, 195, 190, 120, 247, 107, 232, 10, 68, 177, 11, 22, 24, 32, 66, 4, 99, 231, 207, 159, 7, 124, 241, 174, 215, 192, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84, 40, 187, 227]).buffer }; - q.exports = { + r.exports = { standard: { "heaac-2-dash": a, "heaac-2hq-dash": a, @@ -56999,7 +57013,7 @@ a000.D9b = function () { "ddplus-5.1-dash": c, "ddplus-2.0-dash": f }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -57009,12 +57023,12 @@ a000.D9b = function () { c = a(23); f = a(33); k = a(87); - q = (function (l) { - function d(g, h, m, n, r) { - m = l.call(this, m, n, r) || this; - m.ofa = g; - m.Wp = h; - m.Sa = {}; + r = (function (l) { + function d(g, h, m, n, q) { + m = l.call(this, m, n, q) || this; + m.hfa = g; + m.Yp = h; + m.Ta = {}; return m; } c.__extends(d, l); @@ -57022,9 +57036,9 @@ a000.D9b = function () { var h, m, n, - r, + q, p, - u; + t; this.offset = 0; h = []; for (g = g || ({}); this.offset < this.view.byteLength && !(8 > this.view.byteLength - this.offset); ) { @@ -57036,65 +57050,65 @@ a000.D9b = function () { offset: this.offset, error: "Invalid zero-length box" }; - r = k.qn(this.ta()); - if (null === r) + q = k.pn(this.ta()); + if (null === q) return { done: !1, offset: this.offset, error: "Invalid box type" }; - if ("uuid" === r) { + if ("uuid" === q) { if (16 > this.view.byteLength - this.offset) break; - r = this.iz(); + q = this.lz(); } - if (0 === h.length && this.Wp.aT(r, m, n)) + if (0 === h.length && this.Yp.$S(q, m, n)) break; if (m + n > this.view.byteLength) break; - p = this.ofa[r]; - u = void 0; + p = this.hfa[q]; + t = void 0; if (p) { - if ((u = new p(this, r, m, n, h[0]), (h[0] || this).$r(u), u.parse(g))) - this.config.pG && p.Ka ? h.unshift(u) : this.offset = m + n; + if ((t = new p(this, q, m, n, h[0]), (h[0] || this).gs(t), t.parse(g))) + this.config.vG && p.Ka ? h.unshift(t) : this.offset = m + n; else return { done: !1, offset: this.offset, - error: "parse error in " + r + " box" + error: "parse error in " + q + " box" }; } else this.offset = m + n; - for (; h.length && this.offset > h[0].byteOffset + h[0].Vm - 8; ) { - u = h.shift(); - if (!u.Ds(g)) + for (; h.length && this.offset > h[0].byteOffset + h[0].Um - 8; ) { + t = h.shift(); + if (!t.Hs(g)) return { done: !1, offset: this.offset, - error: "finalize error in " + u.type + " box" + error: "finalize error in " + t.type + " box" }; - this.offset = u.byteOffset + u.Vm; + this.offset = t.byteOffset + t.Um; } - if (0 === h.length && this.Wp.uS(r, m, n, u)) + if (0 === h.length && this.Yp.tS(q, m, n, t)) break; } - return !this.Wp.done && (g = this.Wp.endOffset ? this.Wp.endOffset - this.view.byteLength : 4096, 0 < g) ? { + return !this.Yp.done && (g = this.Yp.endOffset ? this.Yp.endOffset - this.view.byteLength : 4096, 0 < g) ? { done: !1, offset: this.offset, - RU: g + QU: g } : { done: !0, - offset: Math.min(this.Wp.endOffset || Infinity, this.offset) + offset: Math.min(this.Yp.endOffset || Infinity, this.offset) }; }; - d.prototype.$r = function (g) { - f.kc.$r(this, g); + d.prototype.gs = function (g) { + f.mc.gs(this, g); }; return d; - })(a(1122).Gba); - b.bD = q; - }, function (q, b, a) { + })(a(1125).Aba); + b.dD = r; + }, function (r, b, a) { var f; function c(k, l) { k = l.indexOf(k); @@ -57104,75 +57118,75 @@ a000.D9b = function () { value: !0 }); f = a(101); - q = (function () { + r = (function () { function k(l) { this.endOffset = l; this.done = !1; } - k.prototype.aT = function () { + k.prototype.$S = function () { return this.done; }; - k.prototype.uS = function (l, d, g) { + k.prototype.tS = function (l, d, g) { return this.done = d + g >= this.endOffset; }; return k; })(); - b.CO = q; - q = (function () { + b.CO = r; + r = (function () { function k(l, d, g, h) { void 0 === d && (d = []); void 0 === g && (g = []); void 0 === h && (h = !1); - this.rh = l; - this.Ux = d; - this.QW = g; - this.pV = h; + this.qh = l; + this.Zx = d; + this.PW = g; + this.oV = h; this.done = !1; - this.Ae = {}; + this.Ce = {}; } - k.prototype.aT = function (l, d, g) { - -1 !== k.Yka.indexOf(l) && (this.Ae[l] = { + k.prototype.$S = function (l, d, g) { + -1 !== k.Uka.indexOf(l) && (this.Ce[l] = { offset: d, size: g }); - if (-1 !== this.QW.indexOf(l)) { - if ((this.Ae[l] = { + if (-1 !== this.PW.indexOf(l)) { + if ((this.Ce[l] = { offset: d, size: g - }, this.pV)) + }, this.oV)) this.endOffset = d + g; else return (this.endOffset = d, this.done = !0); } else - this.rh && -1 !== this.rh.indexOf(l) ? (l = 1 < this.rh.length ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)) : -1 !== this.Ux.indexOf(l) && (l = this.rh ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)); + this.qh && -1 !== this.qh.indexOf(l) ? (l = 1 < this.qh.length ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)) : -1 !== this.Zx.indexOf(l) && (l = this.qh ? 4096 : 0, this.endOffset = Math.max(d + g + l, this.endOffset || 0)); return this.done; }; - k.prototype.uS = function (l, d, g, h) { + k.prototype.tS = function (l, d, g, h) { var m; m = this; - if (-1 !== this.QW.indexOf(l)) + if (-1 !== this.PW.indexOf(l)) return this.done = !0; - l === f.zD && this.sW(h.Ae); - l === f.AD && this.sW(h.Ae); - this.rh && c(l, this.rh); - c(l, this.Ux); - return this.rh && 0 === this.rh.length && !this.Ux.some(function (n) { - return m.Ae[n]; + l === f.BD && this.rW(h.Ce); + l === f.CD && this.rW(h.Ce); + this.qh && c(l, this.qh); + c(l, this.Zx); + return this.qh && 0 === this.qh.length && !this.Zx.some(function (n) { + return m.Ce[n]; }) ? this.done = !0 : this.done; }; - k.prototype.sW = function (l) { + k.prototype.rW = function (l) { var d; d = this; - this.Ae = l; - this.endOffset = (this.rh || []).concat(this.Ux).reduce(function (g, h) { - return d.Ae[h] ? (h = d.Ae[h], Math.max(h.offset + (h.size || 4096), g)) : g; + this.Ce = l; + this.endOffset = (this.qh || []).concat(this.Zx).reduce(function (g, h) { + return d.Ce[h] ? (h = d.Ce[h], Math.max(h.offset + (h.size || 4096), g)) : g; }, this.endOffset || 0); }; - k.Yka = ["moov", "sidx"]; + k.Uka = ["moov", "sidx"]; return k; })(); - b.y$ = q; - }, function (q, b, a) { + b.q$ = r; + }, function (r, b, a) { var c, f, k, @@ -57181,35 +57195,35 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tya = void 0; + b.rya = void 0; c = a(13); - f = a(63); + f = a(64); k = a(24); l = a(3); d = a(18); - b.tya = function (g, h, m) { + b.rya = function (g, h, m) { function n(p) { - var u, - t; - u = p.error || p; - t = k.vd(u); - m.error("uncaught exception", u, t); - (u = (u = u && u.stack) && c.config.I5a && c.config.iWb ? 0 <= u.indexOf(c.config.I5a) : void 0) && (p && p.stopImmediatePropagation && p.stopImmediatePropagation(), g.Ld(l.L.oeb)); + var t, + u; + t = p.error || p; + u = k.vd(t); + m.error("uncaught exception", t, u); + (t = (t = t && t.stack) && c.config.K5a && c.config.kWb ? 0 <= t.indexOf(c.config.K5a) : void 0) && (p && p.stopImmediatePropagation && p.stopImmediatePropagation(), g.Jd(l.M.reb)); } - function r() { - f.lf.removeListener(f.x3, n); - g.removeEventListener(d.W.dg, r); - g.removeEventListener(d.W.ot, r); + function q() { + f.lf.removeListener(f.y3, n); + g.removeEventListener(d.Z.dg, q); + g.removeEventListener(d.Z.tt, q); } try { - f.lf.addListener(f.x3, n); - g.addEventListener(d.W.dg, r); - c.config.wDb && g.addEventListener(d.W.ot, r); + f.lf.addListener(f.y3, n); + g.addEventListener(d.Z.dg, q); + c.config.ADb && g.addEventListener(d.Z.tt, q); } catch (p) { m.error("exception in exception handler ", p); } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -57219,229 +57233,238 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.OXa = void 0; + b.MXa = void 0; c = a(13); f = a(12); k = a(51); - q = a(3); + r = a(3); l = a(11); d = a(17); g = a(7); a = a(32); - g.ha.get(a.Zg).register(q.L.Dza, function (h) { + g.ha.get(a.Xg).register(r.M.Bza, function (h) { var n, - r, + q, p, - u, - t; + t, + u; function m() { var w; - w = l.Aw(k.Hi() / p); - if (w != t) { - for (var v = l.xo(w - t, 30); v--; ) { - u.push(0); + w = l.Gw(k.Hi() / p); + if (w != u) { + for (var v = l.yo(w - u, 30); v--; ) { + t.push(0); } - (v = l.ln(u.length - 31, 0)) && u.splice(0, v); - t = w; + (v = l.kn(t.length - 31, 0)) && t.splice(0, v); + u = w; } - u[u.length - 1]++; + t[t.length - 1]++; } - n = c.config.nHb; - r = -6 / (n - 2 - 2); + n = c.config.qHb; + q = -6 / (n - 2 - 2); p = f.Ik; - u = []; - t = l.Aw(k.Hi() / p); - d.fma(n) && (setInterval(m, 1E3 / n), b.OXa = { - Nzb: function () { + t = []; + u = l.Gw(k.Hi() / p); + d.$la(n) && (setInterval(m, 1E3 / n), b.MXa = { + Rzb: function () { var x; - for (var w = [], v = u.length - 1; v--; ) { - x = u[v]; - w.unshift(0 >= x ? 9 : 1 >= x ? 8 : x >= n - 1 ? 0 : l.yi((x - 2) * r + 7)); + for (var w = [], v = t.length - 1; v--; ) { + x = t[v]; + w.unshift(0 >= x ? 9 : 1 >= x ? 8 : x >= n - 1 ? 0 : l.yi((x - 2) * q + 7)); } return w; } }); - h(f.Ee); + h(f.Ge); }); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Uaa = "PlaybackMilestoneStoreSymbol"; - }, function (q, b) { + b.Naa = "PlaybackMilestoneStoreSymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.EDa = "PboManifestRequestTransformerSymbol"; - }, function (q, b, a) { + b.ADa = "PboManifestRequestTransformerSymbol"; + }, function (r, b, a) { var f, k, l, d, g; function c(h, m) { - this.Ib = h; + this.Kb = h; this.j = m; - this.lU = []; + this.kU = []; } Object.defineProperty(b, "__esModule", { value: !0 }); b.mO = void 0; - q = a(1); + r = a(1); f = a(3); k = a(0); l = a(17); d = a(29); g = a(7); - c.prototype.z2 = function (h) { - this.lU.forEach(function (m) { + c.prototype.A2 = function (h) { + this.kU.forEach(function (m) { return m(h); }); }; - c.prototype.Ld = function (h, m, n) { - this.j.Ld(h, m, n); + c.prototype.Jd = function (h, m, n) { + this.j.Jd(h, m, n); }; c.prototype.tkb = function (h) { - -1 === this.lU.indexOf(h) && this.lU.push(h); + -1 === this.kU.indexOf(h) && this.kU.push(h); }; - c.prototype.EPb = function (h) { - h = this.lU.indexOf(h); - 0 <= h && this.lU.splice(h, 1); + c.prototype.JPb = function (h) { + h = this.kU.indexOf(h); + 0 <= h && this.kU.splice(h, 1); }; - c.prototype.JUa = function (h) { + c.prototype.IUa = function (h) { var m, n; m = {}; - l.Hc(h.code) ? m.oa = f.g$(h.code) : m.oa = f.M.fj; + l.Jc(h.code) ? m.oa = f.nya(h.code) : m.oa = f.L.dj; try { n = h.message.match(/\((\d*)\)/)[1]; - m.Ve = g.lfa(n, 4); - } catch (r) {} - m.sb = d.vd(h); + m.Xe = g.efa(n, 4); + } catch (q) {} + m.qb = d.vd(h); return m; }; - a = q.__decorate([k.R()], c); + a = r.__decorate([k.R()], c); b.mO = a; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.KEa = "PlaygraphManagerFactorySymbol"; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.QEa = "PlaygraphPlaybackStrategyFactorySymbol"; - }, function (q, b) { + b.NEa = "PlaygraphPlaybackStrategyFactorySymbol"; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.UEa = "PlaygraphStateFactorySymbol"; - }, function (q, b, a) { + b.REa = "PlaygraphStateFactorySymbol"; + }, function (r, b, a) { var f; - function c(k, l, d, g) { - var h; - h = this; - this.xb = k; + function c(k, l, d, g, h) { + var m; + m = this; + this.nb = k; this.Uj = l; - this.Jt = d; - this.Pb = g; - this.F6 = new Map(); - this.DSb(); - this.Pb.addListener(f.Rb.loaded, function () { - return h.z0a(); + this.Ot = d; + this.Rb = g; + this.Kp = h; + this.C6 = new Map(); + this.HSb(); + this.Rb.addListener(f.Ub.loaded, function () { + return m.z0a(); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.xD = void 0; + b.zD = void 0; f = a(18); - c.prototype.C5a = function () { + c.prototype.CLa = function (k) { + var l, + d; + l = this; + d = Object.keys(this.nb.yk.wa).find(function (g) { + return l.nb.yk.wa[g].$ === k.K; + }); + k.id || (k.id = null !== d && void 0 !== d ? d : this.Kp.ov(k.K)); + d || (this.nb.yk = this.Kp.plb(this.nb.yk, k)); + d = this.CG(k.id); + k.Li && this.nb.KWb(k.id, k.Li); + return d; + }; + c.prototype.E5a = function () { return Promise.reject(Error("Error isn't recoverable")); }; - c.prototype.Nka = function (k, l) { + c.prototype.Jka = function (k, l) { var d; d = this; l = void 0 === l ? {} : l; - return this.Jt.transition(k, l).then(function () { - d.xb.Fh = k; + return this.Ot.transition(k, l).then(function () { + d.nb.Eh = k; }); }; c.prototype.close = function (k) { - return this.Jt.close(k); + return this.Ot.close(k); }; c.prototype.isReady = function () { - return this.Jt.bBb(); + return this.Ot.dBb(); }; - c.prototype.qp = function () { - return this.Jt.qp(); + c.prototype.rp = function () { + return this.Ot.rp(); }; - c.prototype.cl = function () { - return this.Jt.cl(); + c.prototype.Ns = function () { + return this.Ot.Ns(); }; - c.prototype.GM = function (k) { - this.F6.has(k) || this.F6.set(k, this.Jt.zq(this.fnb(k))); - return this.F6.get(k); + c.prototype.CG = function (k) { + this.C6.has(k) || this.C6.set(k, this.Ot.Cn(this.gnb(k))); + return this.C6.get(k); }; - c.prototype.DSb = function () { + c.prototype.HSb = function () { var k; k = this; - this.Jt.addListener(f.tI.q7, function () { - return k.Pb.tc(f.tI.q7); + this.Ot.addListener(f.LD.jW, function () { + return k.Rb.qc(f.LD.jW); }); - Object.values(f.Rb).forEach(function (l) { - k.Jt.addListener(l, function (d) { - return k.Pb.tc(l, d); + Object.values(f.Ub).forEach(function (l) { + k.Ot.addListener(l, function (d) { + return k.Rb.qc(l, d); }); }); }; - c.prototype.mG = function () { + c.prototype.sG = function () { this.z0a(); }; - c.prototype.Woa = function (k) { - this.Jt.GWb({ + c.prototype.Roa = function (k) { + this.Ot.IWb({ id: k, - K: this.xb.Me(k).da, - uk: this.xb.vBb(k) + K: this.nb.ze(k).$, + Li: this.nb.xBb(k) }); }; c.prototype.z0a = function () { var k, l; if (this.isReady()) { - k = this.xb.Fh; - l = this.xb.h3(k); - l && !this.F6.has(l) && (this.Woa(k), this.GM(l)); + k = this.nb.Eh; + l = this.nb.Xja(k); + l && !this.C6.has(l) && (this.Roa(k), this.CG(l)); } }; - c.prototype.fnb = function (k) { + c.prototype.gnb = function (k) { var l, d, g, h; - d = this.xb.Me(k); - g = this.Uj.kL(d.da); - h = null === g || void 0 === g ? void 0 : g.Fb; + d = this.nb.ze(k); + g = this.Uj.nL(d.$); + h = null === g || void 0 === g ? void 0 : g.Hb; g = null === g || void 0 === g ? void 0 : g.sa; return { id: k, - K: d.da, - Z: d.xc, - uk: null !== (l = null === h || void 0 === h ? void 0 : h.uk) && void 0 !== l ? l : d.Yc, - Fb: h, + K: d.$, + X: d.jc, + Li: null !== (l = null === h || void 0 === h ? void 0 : h.Li) && void 0 !== l ? l : d.Fc, + Hb: h, sa: g }; }; - b.xD = c; - }, function (q, b) { + b.zD = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kya = void 0; - b.Kya = function (a) { + b.Iya = void 0; + b.Iya = function (a) { var k, l, d, @@ -57464,7 +57487,7 @@ a000.D9b = function () { c(); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -57474,17 +57497,17 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperty(b, "__esModule", { value: !0 }); - b.p5a = void 0; - c = a(71); + b.r5a = void 0; + c = a(72); f = a(12); k = a(13); l = a(47); @@ -57492,75 +57515,75 @@ a000.D9b = function () { g = a(7); h = a(3); m = a(24); - n = a(69); - r = a(11); - p = a(121); - u = a(32); - t = a(36); + n = a(70); + q = a(11); + p = a(120); + t = a(32); + u = a(36); w = a(34); v = a(20); - b.p5a = (function () { + b.r5a = (function () { var z, - B, A, + B, C; function x(E) { - var F, + var G, D, - G; - F = "info"; + F; + G = "info"; D = ""; - G = g.ha.get(n.ND).BTa(); - E.X || (F = "error", D += "&errorcode=" + (E.errorCode || ""), D += "&errorsubcode=" + (E.oa || "")); - D = "type=startup&sev=" + F + D + "&" + l.lM(m.Qb({}, G, { + F = g.ha.get(n.QD).CTa(); + E.W || (G = "error", D += "&errorcode=" + (E.errorCode || ""), D += "&errorsubcode=" + (E.oa || "")); + D = "type=startup&sev=" + G + D + "&" + l.nM(m.Tb({}, F, { prefix: "m_" })); !1; y("startup", D, z); } - function y(E, F, D) { - D && B && k.config.r5a[E] && (E = A + "&jsoffms=" + d.Hi() + "&do=" + r.Qe.onLine + "&" + F + "&" + l.lM(m.Qb({}, C.bd, { + function y(E, G, D) { + D && A && k.config.t5a[E] && (E = B + "&jsoffms=" + d.Hi() + "&do=" + q.Re.onLine + "&" + G + "&" + l.nM(m.Tb({}, C.bd, { prefix: "im_" - })), !1, c.Bf.download({ + })), !1, c.Df.download({ url: D, - Lpa: E, + Gpa: E, withCredentials: !0, headers: { "Content-Type": "application/x-www-form-urlencoded" }, - hF: "track" - }, f.kj)); + kF: "track" + }, f.Yj)); } - B = !1; - A = ""; + A = !1; + B = ""; g.ii("TrackingLog"); - C = g.ha.get(u.Zg); - C.register(h.L.Iza, function (E) { - var F, + C = g.ha.get(t.Xg); + C.register(h.M.Gza, function (E) { + var G, D, - G; - if (B = k.config.q5a && !!k.config.lta) { - z = g.ha.get(p.FH).host + k.config.lta; - F = g.ha.get(w.Kk); - D = g.ha.get(w.kA); - G = g.ha.get(v.zd).id; - A = "cat=cadplayback&dev=" + encodeURIComponent(F.Wx) + "&ep=" + encodeURIComponent(D.sY) + "&ver=" + encodeURIComponent("6.0031.809.911") + "&jssid=" + G + "&browserua=" + r.jA; - k.config.HB && (A += "&groupname=" + encodeURIComponent(k.config.HB)); - k.config.uH && (A += "&uigroupname=" + encodeURIComponent(k.config.uH)); - F = A; - D = g.ha.get(t.CP); - D = m.Qb({}, D, { + F; + if (A = k.config.s5a && !!k.config.gta) { + z = g.ha.get(p.NH).host + k.config.gta; + G = g.ha.get(w.Kk); + D = g.ha.get(w.lA); + F = g.ha.get(v.zd).id; + B = "cat=cadplayback&dev=" + encodeURIComponent(G.ay) + "&ep=" + encodeURIComponent(D.rY) + "&ver=" + encodeURIComponent("6.0032.282.911") + "&jssid=" + F + "&browserua=" + q.kA; + k.config.uy && (B += "&groupname=" + encodeURIComponent(k.config.uy)); + k.config.CH && (B += "&uigroupname=" + encodeURIComponent(k.config.CH)); + G = B; + D = g.ha.get(u.CP); + D = m.Tb({}, D, { prefix: "pi_" }); - D = "&" + l.lM(D); - A = F + D; - C.pU(x); + D = "&" + l.nM(D); + B = G + D; + C.oU(x); } - E(f.Ee); + E(f.Ge); }); return y; })(); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -57569,69 +57592,69 @@ a000.D9b = function () { function c(h) { var m; f.ii("MediaSourceASE").trace("Inside MediaSourceASE"); - m = h.tT(); - this.readyState = g.zc.CLOSED; + m = h.rT(); + this.readyState = g.Bc.CLOSED; this.sourceBuffers = m.sourceBuffers; this.addSourceBuffer = function (n) { return m.addSourceBuffer(n); }; - this.w0 = function (n) { - return m.w0(n); + this.y0 = function (n) { + return m.y0(n); }; this.removeSourceBuffer = function (n) { return m.removeSourceBuffer(n); }; - this.gp = function (n) { - return m.gp(n); + this.hp = function (n) { + return m.hp(n); }; - this.zW = d++; + this.yW = d++; this.duration = void 0; - m.GRb(this.zW); - this.readyState = g.zc.OPEN; - this.Ub = k.ha.get(l.Hf).cG(g.Ub, {}); + m.JRb(this.yW); + this.readyState = g.Bc.OPEN; + this.Wb = k.ha.get(l.If).iG(g.Wb, {}); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZBa = void 0; + b.XBa = void 0; f = a(7); k = a(7); l = a(28); d = 0; Object.defineProperty(c.prototype, "duration", { get: function () { - return this.qj; + return this.nj; }, set: function (h) { var m; - this.qj = h || Infinity; + this.nj = h || Infinity; m = Math.floor(1E3 * h) || Infinity; this.sourceBuffers.forEach(function (n) { - n.qj = m; + n.nj = m; }); } }); g = { - zc: { + Bc: { CLOSED: 0, OPEN: 1, - au: 2, + fu: 2, name: ["CLOSED", "OPEN", "ENDED"] }, - Ub: { - mOa: !0, - hZa: !0 + Wb: { + kOa: !0, + eZa: !0 } }; - b.ZBa = Object.assign(c, g); - }, function (q, b, a) { + b.XBa = Object.assign(c, g); + }, function (r, b, a) { var h, m, n, - r, + q, p, - u, t, + u, w; function c(v) { return v.split(",").reduce(function (x, y) { @@ -57651,29 +57674,29 @@ a000.D9b = function () { if ("string" === typeof v) return k.call(this, c(v), x, y); z = 0; - Object.keys(v).forEach(function (B) { - var A, + Object.keys(v).forEach(function (A) { + var B, C, E; - A = p[B]; - C = v[B]; - if (A) { - if (E = u[B] || w[typeof h[A]]) + B = p[A]; + C = v[A]; + if (B) { + if (E = t[A] || w[typeof h[B]]) try { C = E(C); - } catch (F) { - y && y.error("Failed to convert value '" + C + "' for config '" + B + "' : " + F.toString()); + } catch (G) { + y && y.error("Failed to convert value '" + C + "' for config '" + A + "' : " + G.toString()); return; } - E = r[A]; - this[A] = C; - r[A] !== E && (y && y.debug("Config changed for '" + B + "' from " + f(E) + " (" + typeof E + ") to " + f(C) + " (" + typeof C + ")"), ++z); + E = q[B]; + this[B] = C; + q[B] !== E && (y && y.debug("Config changed for '" + A + "' from " + f(E) + " (" + typeof E + ") to " + f(C) + " (" + typeof C + ")"), ++z); } else - x ? (A = (A = t[B]) ? A.filter(function (F) { - return F[0] !== this; - }, this) : [], A.push([this, C]), t[B] = A) : y && y.error("Attempt to change undeclared config option '" + B + "'"); + x ? (B = (B = u[A]) ? B.filter(function (G) { + return G[0] !== this; + }, this) : [], B.push([this, C]), u[A] = B) : y && y.error("Attempt to change undeclared config option '" + A + "'"); }, this); - z && r.emit("changed"); + z && q.emit("changed"); return z; } function l() { @@ -57682,8 +57705,8 @@ a000.D9b = function () { z; y = p[x]; z = v[y]; - z ? (z.push(x), v[y] = z.sort(function (B, A) { - return A.length - B.length; + z ? (z.push(x), v[y] = z.sort(function (A, B) { + return B.length - A.length; })) : v[y] = [x]; return v; }, {}); @@ -57695,24 +57718,24 @@ a000.D9b = function () { return "undefined" === typeof v ? x : v; } b = a(84); - a = a(1207).EventEmitter; + a = a(1211).EventEmitter; h = {}; m = Object.create(h); n = Object.create(m); - r = Object.create(n); + q = Object.create(n); p = {}; - u = {}; t = {}; - r.declare = function (v) { + u = {}; + q.declare = function (v) { Object.keys(v).forEach(function (x) { var y, z, - B, - A; + A, + B; y = v[x]; z = y[0]; - B = y[1]; - A = y[2]; + A = y[1]; + B = y[2]; if (h.hasOwnProperty(x)) throw Error("The local configuraion key '" + x + "' is already in use"); "string" === typeof z && (z = [z]); @@ -57720,21 +57743,21 @@ a000.D9b = function () { var E; if (p.hasOwnProperty(C)) throw Error("The configuration value '" + C + "' has been declared more than once"); - h.hasOwnProperty(x) || ("function" === typeof B && (B = B()), h[x] = B); + h.hasOwnProperty(x) || ("function" === typeof A && (A = A()), h[x] = A); p[C] = x; - "function" === typeof A && (u[C] = A); - if (E = t[C]) - (E.forEach(function (F) { + "function" === typeof B && (t[C] = B); + if (E = u[C]) + (E.forEach(function (G) { var D, - G; - D = F[0]; - G = {}; - G[C] = F[1]; - k.call(D, G, !1); - }), delete t[C]); + F; + D = G[0]; + F = {}; + F[C] = G[1]; + k.call(D, F, !1); + }), delete u[C]); }); }); - return r; + return q; }; w = { object: function (v) { @@ -57752,56 +57775,56 @@ a000.D9b = function () { return v; } }; - r.set = k.bind(m); - r.lV = k.bind(n); - r.dump = function (v, x) { + q.set = k.bind(m); + q.kV = k.bind(n); + q.dump = function (v, x) { var z, - B, A, + B, C; function y() { C && v && v.log("==========================================="); } - z = Object.keys(t).sort(); - B = {}; - A = l(); + z = Object.keys(u).sort(); + A = {}; + B = l(); x = g(x, !0); Object.keys(p).sort().forEach(function (E) { - var F, + var G, D, - G; + F; E = p[E]; - if (!B[E]) { - B[E] = !0; - F = d(m, E); + if (!A[E]) { + A[E] = !0; + G = d(m, E); D = d(n, E); - if (x || "undefined" !== typeof F || "undefined" !== typeof D) { - G = A[E].join(","); - G += " = " + f(r[E]) + " (" + typeof r[E] + ") ["; - G += g(D, "") + ","; - G += g(F, "") + ","; - G += d(h, E) + "]"; + if (x || "undefined" !== typeof G || "undefined" !== typeof D) { + F = B[E].join(","); + F += " = " + f(q[E]) + " (" + typeof q[E] + ") ["; + F += g(D, "") + ","; + F += g(G, "") + ","; + F += d(h, E) + "]"; C || (C = !0, v && v.log("Current config values"), y()); - v && v.log(G); + v && v.log(F); } } }); (x || z.length) && v && v.log(" :", z); y(); }; - r.Hq = function (v) { + q.zs = function (v) { var x, y; x = {}; y = {}; Object.keys(p).forEach(function (z) { z = p[z]; - y[z] || (y[z] = !0, x[z] = r[z]); + y[z] || (y[z] = !0, x[z] = q[z]); }); v && k.call(x, v); return x; }; - r.W_a = function () { + q.U_a = function () { var v; v = l(); return Object.getOwnPropertyNames(m).reduce(function (x, y) { @@ -57809,54 +57832,54 @@ a000.D9b = function () { return x; }, {}); }; - r.reset = function () { + q.reset = function () { Object.keys(m).forEach(function (v) { delete m[v]; }); }; - r.ed = {}; - b(a, r); - q.exports = Object.freeze(r); - }, function (q, b, a) { + q.fd = {}; + b(a, q); + r.exports = Object.freeze(q); + }, function (r, b, a) { var f; function c(k) { for (var l = "", d = 0; d < k.length; d++) { - l += k[d].da + "|"; + l += k[d].$ + "|"; } return l; } - f = a(293); - q.exports = { + f = a(295); + r.exports = { assert: function (k, l) { if (!k) throw Error("PlayPredictionModel assertion failed" + (l ? " : " + l : "")); }, - p5b: function (k, l, d) { + A5b: function (k, l, d) { Array.prototype.splice.apply(k, [l, 0].concat(d)); }, - Uyb: function (k) { + Yyb: function (k) { for (var l = [], d = 0; d < k.length; d++) { - if (k[d].context === f.hP.U8a) { + if (k[d].context === f.iP.W8a) { l = k[d].list; break; } } return l; }, - Ayb: function (k) { + Fyb: function (k) { for (var l = [], d = 0; d < k.length; d++) { - if (k[d].context === f.hP.N7a) { + if (k[d].context === f.iP.P7a) { l = k[d].list; break; } } return l; }, - Ptb: function (k, l) { - for (var d = 0, g, h, m, n = 0, r = k.length - 1; n < r; n++) { + Stb: function (k, l) { + for (var d = 0, g, h, m, n = 0, q = k.length - 1; n < q; n++) { g = c(k[n].list || []); m = !1; - for (var p = 0, u = l.length; p < u; p++) { + for (var p = 0, t = l.length; p < t; p++) { if ((h = c(l[p].list || []), h == g)) { m = !0; break; @@ -57869,47 +57892,47 @@ a000.D9b = function () { } return d; }, - vKb: function (k, l, d) { + xKb: function (k, l, d) { for (var g = [], h, m = 0; m < Math.min(l, k.length); m++) { h = k[m].list || []; g = g.concat(h.slice(0, d)); } return g; }, - uKb: function (k, l) { + wKb: function (k, l) { for (var d = [], g, h = 0; h < k.length && (g = k[h].list || [], g = g.slice(0, Math.min(g.length, l)), l -= g.length, d = d.concat(g), 0 !== l); h++) { ; } return d; }, - tKb: function (k, l, d) { + vKb: function (k, l, d) { var g; l < k.length && 0 <= l && (k = k[l].list || [], d < k.length && (g = k[d])); return g; }, - LRa: function (k) { + KRa: function (k) { for (var l = {}, d = k.length, g, h = 0; h < d; h++) { g = k[h].list || []; for (var m = 0; m < g.length; m++) { - if (g[m].property === f.aI.wP || g[m].property === f.aI.Pwa) { - l.Mj = h; - l.Gl = m; + if (g[m].property === f.iI.xP || g[m].property === f.iI.Mwa) { + l.Lj = h; + l.Fl = m; break; } } } - void 0 === l.Mj && void 0 === l.Gl && (l.Mj = 0, l.Gl = 0); + void 0 === l.Lj && void 0 === l.Fl && (l.Lj = 0, l.Fl = 0); return l; } }; - }, function (q, b, a) { + }, function (r, b, a) { var l; - function c(d, g, h, m, n, r, p) { - this.mX = m; - this.f7a = d; - this.tZa = g; - this.doa = h; - this.uFb = r; - this.FC = p; + function c(d, g, h, m, n, q, p) { + this.lX = m; + this.i7a = d; + this.qZa = g; + this.Zna = h; + this.xFb = q; + this.HC = p; this.split = n; } function f() { @@ -58144,125 +58167,125 @@ a000.D9b = function () { this.J["227"] = new c("227", "228", "228", "0", "0", 1, .25); this.J["228"] = new c("227", "228", "228", "0", "0", 1, - .997101); } - function k(d, g, h, m, n, r) { - this.j7 = n; - this.k1 = r; + function k(d, g, h, m, n, q) { + this.g7 = n; + this.m1 = q; } - b = a(526); - l = a(292); + b = a(529); + l = a(294); a = {}; a.Plb = new(function () { - this.jgb = l(); + this.kgb = l(); this.G = 0; this.update = function () { - this.G = l() - this.jgb; + this.G = l() - this.kgb; }; this.getValue = function () { return this.G; }; this.type = "num"; })(); - a.qGb = new(function () { + a.sGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "becauseYouAdded" === h.Va[d].context || null; + return this.G = "becauseYouAdded" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.rGb = new(function () { + a.tGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "becauseYouLiked" === h.Va[d].context || null; + return this.G = "becauseYouLiked" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.tGb = new(function () { + a.vGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "billboard" === h.Va[d].context || null; + return this.G = "billboard" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.uGb = new(function () { + a.wGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "continueWatching" === h.Va[d].context || null; + return this.G = "continueWatching" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.sGb = new(function () { + a.uGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "bigRow" === h.Va[d].context || null; + return this.G = "bigRow" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.vGb = new(function () { + a.xGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "genre" === h.Va[d].context || null; + return this.G = "genre" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.wGb = new(function () { + a.yGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "netflixOriginals" === h.Va[d].context || null; + return this.G = "netflixOriginals" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.xGb = new(function () { + a.zGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "newRelease" === h.Va[d].context || null; + return this.G = "newRelease" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.yGb = new(function () { + a.AGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "popularTitles" === h.Va[d].context || null; + return this.G = "popularTitles" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.zGb = new(function () { + a.BGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "queue" === h.Va[d].context || null; + return this.G = "queue" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.AGb = new(function () { + a.CGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "recentlyAdded" === h.Va[d].context || null; + return this.G = "recentlyAdded" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.BGb = new(function () { + a.DGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "similars" === h.Va[d].context || null; + return this.G = "similars" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.DGb = new(function () { + a.FGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "trendingNow" === h.Va[d].context || null; + return this.G = "trendingNow" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.EGb = new(function () { + a.GGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "ultraHD" === h.Va[d].context || null; + return this.G = "ultraHD" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.FGb = new(function () { + a.HGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "watchAgain" === h.Va[d].context || null; + return this.G = "watchAgain" === h.Wa[d].context || null; }; this.type = "cat"; })(); - a.CGb = new(function () { + a.EGb = new(function () { this.getValue = function (d, g, h) { - return this.G = "topTen" === h.Va[d].context || null; + return this.G = "topTen" === h.Wa[d].context || null; }; this.type = "cat"; })(); a.Bmb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("becauseYouAdded" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("becauseYouAdded" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58275,9 +58298,9 @@ a000.D9b = function () { })(); a.Cmb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("becauseYouLiked" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("becauseYouLiked" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58290,9 +58313,9 @@ a000.D9b = function () { })(); a.Fmb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("billboard" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("billboard" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58303,11 +58326,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.Hpb = new(function () { + a.Ipb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("continueWatching" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("continueWatching" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58320,9 +58343,9 @@ a000.D9b = function () { })(); a.Emb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("bigRow" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("bigRow" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58333,11 +58356,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.$xb = new(function () { + a.fyb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("genre" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("genre" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58348,11 +58371,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.yJb = new(function () { + a.AJb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("netflixOriginals" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("netflixOriginals" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58363,11 +58386,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.AJb = new(function () { + a.CJb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("newRelease" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("newRelease" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58378,11 +58401,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.cNb = new(function () { + a.gNb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("popularTitles" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("popularTitles" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58393,11 +58416,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.eo = new(function () { + a.fo = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("queue" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("queue" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58408,11 +58431,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.ROb = new(function () { + a.WOb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("recentlyAdded" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("recentlyAdded" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58423,11 +58446,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.iTb = new(function () { + a.lTb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("similars" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("similars" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58438,11 +58461,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.NVb = new(function () { + a.PVb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("trendingNow" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("trendingNow" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58453,11 +58476,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.gWb = new(function () { + a.iWb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("ultraHD" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("ultraHD" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58468,11 +58491,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.gYb = new(function () { + a.iYb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("watchAgain" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("watchAgain" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58483,11 +58506,11 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.xVb = new(function () { + a.zVb = new(function () { this.update = function (d) { - for (var g in d.Va) { - if ("topTen" === d.Va[g].context) { - this.G = Math.max(d.Va[g].list.length, this.G); + for (var g in d.Wa) { + if ("topTen" === d.Wa[g].context) { + this.G = Math.max(d.Wa[g].list.length, this.G); break; } } @@ -58498,619 +58521,619 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.Spb = new(function () { - this.getValue = function (d, g, h) { - return this.G = "AR" === h.Ua || null; - }; - this.type = "cat"; - })(); a.Tpb = new(function () { this.getValue = function (d, g, h) { - return this.G = "AT" === h.Ua || null; + return this.G = "AR" === h.Va || null; }; this.type = "cat"; })(); a.Upb = new(function () { this.getValue = function (d, g, h) { - return this.G = "AU" === h.Ua || null; + return this.G = "AT" === h.Va || null; }; this.type = "cat"; })(); a.Vpb = new(function () { this.getValue = function (d, g, h) { - return this.G = "AZ" === h.Ua || null; + return this.G = "AU" === h.Va || null; }; this.type = "cat"; })(); a.Wpb = new(function () { this.getValue = function (d, g, h) { - return this.G = "BB" === h.Ua || null; + return this.G = "AZ" === h.Va || null; }; this.type = "cat"; })(); a.Xpb = new(function () { this.getValue = function (d, g, h) { - return this.G = "BE" === h.Ua || null; + return this.G = "BB" === h.Va || null; }; this.type = "cat"; })(); a.Ypb = new(function () { this.getValue = function (d, g, h) { - return this.G = "BO" === h.Ua || null; + return this.G = "BE" === h.Va || null; }; this.type = "cat"; })(); a.Zpb = new(function () { this.getValue = function (d, g, h) { - return this.G = "BR" === h.Ua || null; + return this.G = "BO" === h.Va || null; }; this.type = "cat"; })(); a.$pb = new(function () { this.getValue = function (d, g, h) { - return this.G = "BS" === h.Ua || null; + return this.G = "BR" === h.Va || null; }; this.type = "cat"; })(); a.aqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CA" === h.Ua || null; + return this.G = "BS" === h.Va || null; }; this.type = "cat"; })(); a.bqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CH" === h.Ua || null; + return this.G = "CA" === h.Va || null; }; this.type = "cat"; })(); a.cqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CL" === h.Ua || null; + return this.G = "CH" === h.Va || null; }; this.type = "cat"; })(); a.dqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CO" === h.Ua || null; + return this.G = "CL" === h.Va || null; }; this.type = "cat"; })(); a.eqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CR" === h.Ua || null; + return this.G = "CO" === h.Va || null; }; this.type = "cat"; })(); a.fqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "CW" === h.Ua || null; + return this.G = "CR" === h.Va || null; }; this.type = "cat"; })(); a.gqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "DE" === h.Ua || null; + return this.G = "CW" === h.Va || null; }; this.type = "cat"; })(); a.hqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "DK" === h.Ua || null; + return this.G = "DE" === h.Va || null; }; this.type = "cat"; })(); a.iqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "DM" === h.Ua || null; + return this.G = "DK" === h.Va || null; }; this.type = "cat"; })(); a.jqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "DO" === h.Ua || null; + return this.G = "DM" === h.Va || null; }; this.type = "cat"; })(); a.kqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "EC" === h.Ua || null; + return this.G = "DO" === h.Va || null; }; this.type = "cat"; })(); a.lqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "EE" === h.Ua || null; + return this.G = "EC" === h.Va || null; }; this.type = "cat"; })(); a.mqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "EG" === h.Ua || null; + return this.G = "EE" === h.Va || null; }; this.type = "cat"; })(); a.nqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "ES" === h.Ua || null; + return this.G = "EG" === h.Va || null; }; this.type = "cat"; })(); a.oqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "FI" === h.Ua || null; + return this.G = "ES" === h.Va || null; }; this.type = "cat"; })(); a.pqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "FR" === h.Ua || null; + return this.G = "FI" === h.Va || null; }; this.type = "cat"; })(); a.qqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "GB" === h.Ua || null; + return this.G = "FR" === h.Va || null; }; this.type = "cat"; })(); a.rqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "GF" === h.Ua || null; + return this.G = "GB" === h.Va || null; }; this.type = "cat"; })(); a.sqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "GP" === h.Ua || null; + return this.G = "GF" === h.Va || null; }; this.type = "cat"; })(); a.tqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "GT" === h.Ua || null; + return this.G = "GP" === h.Va || null; }; this.type = "cat"; })(); a.uqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "HK" === h.Ua || null; + return this.G = "GT" === h.Va || null; }; this.type = "cat"; })(); a.vqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "HN" === h.Ua || null; + return this.G = "HK" === h.Va || null; }; this.type = "cat"; })(); a.wqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "HR" === h.Ua || null; + return this.G = "HN" === h.Va || null; }; this.type = "cat"; })(); a.xqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "HU" === h.Ua || null; + return this.G = "HR" === h.Va || null; }; this.type = "cat"; })(); a.yqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "ID" === h.Ua || null; + return this.G = "HU" === h.Va || null; }; this.type = "cat"; })(); a.zqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "IE" === h.Ua || null; + return this.G = "ID" === h.Va || null; }; this.type = "cat"; })(); a.Aqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "IL" === h.Ua || null; + return this.G = "IE" === h.Va || null; }; this.type = "cat"; })(); a.Bqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "IN" === h.Ua || null; + return this.G = "IL" === h.Va || null; }; this.type = "cat"; })(); a.Cqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "IT" === h.Ua || null; + return this.G = "IN" === h.Va || null; }; this.type = "cat"; })(); a.Dqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "JE" === h.Ua || null; + return this.G = "IT" === h.Va || null; }; this.type = "cat"; })(); a.Eqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "JM" === h.Ua || null; + return this.G = "JE" === h.Va || null; }; this.type = "cat"; })(); a.Fqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "JP" === h.Ua || null; + return this.G = "JM" === h.Va || null; }; this.type = "cat"; })(); a.Gqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "KE" === h.Ua || null; + return this.G = "JP" === h.Va || null; }; this.type = "cat"; })(); a.Hqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "KN" === h.Ua || null; + return this.G = "KE" === h.Va || null; }; this.type = "cat"; })(); a.Iqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "KR" === h.Ua || null; + return this.G = "KN" === h.Va || null; }; this.type = "cat"; })(); a.Jqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "LU" === h.Ua || null; + return this.G = "KR" === h.Va || null; }; this.type = "cat"; })(); a.Kqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "MK" === h.Ua || null; + return this.G = "LU" === h.Va || null; }; this.type = "cat"; })(); a.Lqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "MU" === h.Ua || null; + return this.G = "MK" === h.Va || null; }; this.type = "cat"; })(); a.Mqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "MX" === h.Ua || null; + return this.G = "MU" === h.Va || null; }; this.type = "cat"; })(); a.Nqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "MY" === h.Ua || null; + return this.G = "MX" === h.Va || null; }; this.type = "cat"; })(); a.Oqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "NI" === h.Ua || null; + return this.G = "MY" === h.Va || null; }; this.type = "cat"; })(); a.Pqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "NL" === h.Ua || null; + return this.G = "NI" === h.Va || null; }; this.type = "cat"; })(); a.Qqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "NO" === h.Ua || null; + return this.G = "NL" === h.Va || null; }; this.type = "cat"; })(); a.Rqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "NZ" === h.Ua || null; + return this.G = "NO" === h.Va || null; }; this.type = "cat"; })(); a.Sqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "OM" === h.Ua || null; + return this.G = "NZ" === h.Va || null; }; this.type = "cat"; })(); a.Tqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PA" === h.Ua || null; + return this.G = "OM" === h.Va || null; }; this.type = "cat"; })(); a.Uqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PE" === h.Ua || null; + return this.G = "PA" === h.Va || null; }; this.type = "cat"; })(); a.Vqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PF" === h.Ua || null; + return this.G = "PE" === h.Va || null; }; this.type = "cat"; })(); a.Wqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PH" === h.Ua || null; + return this.G = "PF" === h.Va || null; }; this.type = "cat"; })(); a.Xqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PK" === h.Ua || null; + return this.G = "PH" === h.Va || null; }; this.type = "cat"; })(); a.Yqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PL" === h.Ua || null; + return this.G = "PK" === h.Va || null; }; this.type = "cat"; })(); a.Zqb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PT" === h.Ua || null; + return this.G = "PL" === h.Va || null; }; this.type = "cat"; })(); a.$qb = new(function () { this.getValue = function (d, g, h) { - return this.G = "PY" === h.Ua || null; + return this.G = "PT" === h.Va || null; }; this.type = "cat"; })(); a.arb = new(function () { this.getValue = function (d, g, h) { - return this.G = "QA" === h.Ua || null; + return this.G = "PY" === h.Va || null; }; this.type = "cat"; })(); a.brb = new(function () { this.getValue = function (d, g, h) { - return this.G = "RO" === h.Ua || null; + return this.G = "QA" === h.Va || null; }; this.type = "cat"; })(); a.crb = new(function () { this.getValue = function (d, g, h) { - return this.G = "RS" === h.Ua || null; + return this.G = "RO" === h.Va || null; }; this.type = "cat"; })(); a.drb = new(function () { this.getValue = function (d, g, h) { - return this.G = "RU" === h.Ua || null; + return this.G = "RS" === h.Va || null; }; this.type = "cat"; })(); a.erb = new(function () { this.getValue = function (d, g, h) { - return this.G = "SA" === h.Ua || null; + return this.G = "RU" === h.Va || null; }; this.type = "cat"; })(); a.frb = new(function () { this.getValue = function (d, g, h) { - return this.G = "SE" === h.Ua || null; + return this.G = "SA" === h.Va || null; }; this.type = "cat"; })(); a.grb = new(function () { this.getValue = function (d, g, h) { - return this.G = "SG" === h.Ua || null; + return this.G = "SE" === h.Va || null; }; this.type = "cat"; })(); a.hrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "SV" === h.Ua || null; + return this.G = "SG" === h.Va || null; }; this.type = "cat"; })(); a.irb = new(function () { this.getValue = function (d, g, h) { - return this.G = "SX" === h.Ua || null; + return this.G = "SV" === h.Va || null; }; this.type = "cat"; })(); a.jrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "TH" === h.Ua || null; + return this.G = "SX" === h.Va || null; }; this.type = "cat"; })(); a.krb = new(function () { this.getValue = function (d, g, h) { - return this.G = "TR" === h.Ua || null; + return this.G = "TH" === h.Va || null; }; this.type = "cat"; })(); a.lrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "TT" === h.Ua || null; + return this.G = "TR" === h.Va || null; }; this.type = "cat"; })(); a.mrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "TW" === h.Ua || null; + return this.G = "TT" === h.Va || null; }; this.type = "cat"; })(); a.nrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "US" === h.Ua || null; + return this.G = "TW" === h.Va || null; }; this.type = "cat"; })(); a.orb = new(function () { this.getValue = function (d, g, h) { - return this.G = "UY" === h.Ua || null; + return this.G = "US" === h.Va || null; }; this.type = "cat"; })(); a.prb = new(function () { this.getValue = function (d, g, h) { - return this.G = "VE" === h.Ua || null; + return this.G = "UY" === h.Va || null; }; this.type = "cat"; })(); a.qrb = new(function () { this.getValue = function (d, g, h) { - return this.G = "ZA" === h.Ua || null; + return this.G = "VE" === h.Va || null; }; this.type = "cat"; })(); - a.TOb = new(function () { + a.rrb = new(function () { this.getValue = function (d, g, h) { - return this.G = 1 === h.Nh || null; - }; - this.type = "cat"; - })(); - a.UOb = new(function () { - this.getValue = function (d, g, h) { - return this.G = 10 === h.Nh || null; - }; - this.type = "cat"; - })(); - a.VOb = new(function () { - this.getValue = function (d, g, h) { - return this.G = 11 === h.Nh || null; - }; - this.type = "cat"; - })(); - a.WOb = new(function () { - this.getValue = function (d, g, h) { - return this.G = 12 === h.Nh || null; - }; - this.type = "cat"; - })(); - a.XOb = new(function () { - this.getValue = function (d, g, h) { - return this.G = 13 === h.Nh || null; + return this.G = "ZA" === h.Va || null; }; this.type = "cat"; })(); a.YOb = new(function () { this.getValue = function (d, g, h) { - return this.G = 14 === h.Nh || null; + return this.G = 1 === h.Mh || null; }; this.type = "cat"; })(); a.ZOb = new(function () { this.getValue = function (d, g, h) { - return this.G = 15 === h.Nh || null; + return this.G = 10 === h.Mh || null; }; this.type = "cat"; })(); a.$Ob = new(function () { this.getValue = function (d, g, h) { - return this.G = 16 === h.Nh || null; + return this.G = 11 === h.Mh || null; }; this.type = "cat"; })(); a.aPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 17 === h.Nh || null; + return this.G = 12 === h.Mh || null; }; this.type = "cat"; })(); a.bPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 18 === h.Nh || null; + return this.G = 13 === h.Mh || null; }; this.type = "cat"; })(); a.cPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 19 === h.Nh || null; + return this.G = 14 === h.Mh || null; }; this.type = "cat"; })(); a.dPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 2 === h.Nh || null; + return this.G = 15 === h.Mh || null; }; this.type = "cat"; })(); a.ePb = new(function () { this.getValue = function (d, g, h) { - return this.G = 20 === h.Nh || null; + return this.G = 16 === h.Mh || null; }; this.type = "cat"; })(); a.fPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 21 === h.Nh || null; + return this.G = 17 === h.Mh || null; }; this.type = "cat"; })(); a.gPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 22 === h.Nh || null; + return this.G = 18 === h.Mh || null; }; this.type = "cat"; })(); a.hPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 23 === h.Nh || null; + return this.G = 19 === h.Mh || null; }; this.type = "cat"; })(); a.iPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 3 === h.Nh || null; + return this.G = 2 === h.Mh || null; }; this.type = "cat"; })(); a.jPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 4 === h.Nh || null; + return this.G = 20 === h.Mh || null; }; this.type = "cat"; })(); a.kPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 5 === h.Nh || null; + return this.G = 21 === h.Mh || null; }; this.type = "cat"; })(); a.lPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 6 === h.Nh || null; + return this.G = 22 === h.Mh || null; }; this.type = "cat"; })(); a.mPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 7 === h.Nh || null; + return this.G = 23 === h.Mh || null; }; this.type = "cat"; })(); a.nPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 8 === h.Nh || null; + return this.G = 3 === h.Mh || null; }; this.type = "cat"; })(); a.oPb = new(function () { this.getValue = function (d, g, h) { - return this.G = 9 === h.Nh || null; + return this.G = 4 === h.Mh || null; + }; + this.type = "cat"; + })(); + a.pPb = new(function () { + this.getValue = function (d, g, h) { + return this.G = 5 === h.Mh || null; }; this.type = "cat"; })(); - a.tUb = new(function () { + a.qPb = new(function () { + this.getValue = function (d, g, h) { + return this.G = 6 === h.Mh || null; + }; + this.type = "cat"; + })(); + a.rPb = new(function () { + this.getValue = function (d, g, h) { + return this.G = 7 === h.Mh || null; + }; + this.type = "cat"; + })(); + a.sPb = new(function () { + this.getValue = function (d, g, h) { + return this.G = 8 === h.Mh || null; + }; + this.type = "cat"; + })(); + a.tPb = new(function () { + this.getValue = function (d, g, h) { + return this.G = 9 === h.Mh || null; + }; + this.type = "cat"; + })(); + a.vUb = new(function () { this.update = function (d) { "down" === d.direction && this.G++; }; @@ -59120,7 +59143,7 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.vUb = new(function () { + a.xUb = new(function () { this.update = function (d) { "right" === d.direction && this.G++; }; @@ -59130,7 +59153,7 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.uUb = new(function () { + a.wUb = new(function () { this.update = function (d) { "left" === d.direction && this.G++; }; @@ -59140,7 +59163,7 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.wUb = new(function () { + a.yUb = new(function () { this.update = function (d) { "up" === d.direction && this.G++; }; @@ -59150,7 +59173,7 @@ a000.D9b = function () { this.type = "num"; this.G = 0; })(); - a.dIb = new(function () { + a.gIb = new(function () { this.G = 0; this.update = function (d) { this.G = Math.max(this.G, d.rowIndex); @@ -59160,253 +59183,253 @@ a000.D9b = function () { }; this.type = "num"; })(); - a.eIb = new(function () { + a.hIb = new(function () { this.G = 0; this.update = function (d) { - this.G = Math.max(this.G, d.pga); + this.G = Math.max(this.G, d.jga); }; this.getValue = function () { return this.G; }; this.type = "num"; })(); - a.jIb = new(function () { - this.gQ = this.G = 0; + a.mIb = new(function () { + this.hQ = this.G = 0; this.update = function (d) { - this.gQ++; - this.G = 1 * (this.G + d.rowIndex) / this.gQ; + this.hQ++; + this.G = 1 * (this.G + d.rowIndex) / this.hQ; }; this.getValue = function () { return this.G; }; this.type = "num"; })(); - a.kIb = new(function () { - this.gQ = this.G = 0; + a.nIb = new(function () { + this.hQ = this.G = 0; this.update = function (d) { - this.gQ++; - return this.G = 1 * (this.G + d.pga) / this.gQ; + this.hQ++; + return this.G = 1 * (this.G + d.jga) / this.hQ; }; this.getValue = function () { return this.G; }; this.type = "num"; })(); - a.LNb = new(function () { + a.QNb = new(function () { this.getValue = function (d, g, h) { - return this.G = h.pga + g; + return this.G = h.jga + g; }; this.type = "num"; })(); - a.MNb = new(function () { + a.RNb = new(function () { this.getValue = function (d, g, h) { return this.G = h.rowIndex + d; }; this.type = "num"; })(); - f.prototype.FC = function (d) { - return this.FKa(this.J["0"].w2a(d), d); + f.prototype.HC = function (d) { + return this.DKa(this.J["0"].w2a(d), d); }; - f.prototype.FKa = function (d, g) { - return "string" == typeof d ? this.FKa(this.J[d].w2a(g), g) : d; + f.prototype.DKa = function (d, g) { + return "string" == typeof d ? this.DKa(this.J[d].w2a(g), g) : d; }; c.prototype.w2a = function (d) { - switch (this.uFb) { + switch (this.xFb) { case 0: - switch (d.features[this.mX].type) { + switch (d.features[this.lX].type) { case "cat": - return null === d.features[this.mX].value ? this.tZa : "missing" == d.features[this.mX].value ? this.doa : this.f7a; + return null === d.features[this.lX].value ? this.qZa : "missing" == d.features[this.lX].value ? this.Zna : this.i7a; case "num": - return null === d.features[this.mX].value ? this.doa : d.features[this.mX].value < this.split ? this.f7a : this.tZa; + return null === d.features[this.lX].value ? this.Zna : d.features[this.lX].value < this.split ? this.i7a : this.qZa; default: - return this.doa; + return this.Zna; } case 1: - return this.FC; + return this.HC; default: - return this.FC; + return this.HC; } }; b.declare({ - NU: ["modelSelector", "modelone"], - apb: ["colEpisodeList", 5], - bDb: ["holdDuration", 15E3], - m2a: ["rowFirst", 2], - oOa: ["colFirst", 5], - o2a: ["rowScroll", 2], - pOa: ["colScroll", 6], - JQb: ["rowScrollHorizontal", 6], - aRb: ["searchTop", 3], - APa: ["cwFirst", 2], - PT: ["horizontalItemsFocusedMode", 3], - wFb: ["itemsPerRank", 1], - VHb: ["maxNumberPayloadsStored", 10], - sYa: ["maxNumberTitlesScheduled", 5], - t4b: ["enableDetailedLogging", !0], - o7b: ["rowStep", 20], - U3b: ["colStep", 15], - S6b: ["pageRows", 100], - R6b: ["pageColumns", 75], - wna: ["maskParamsList", new(function () { + MU: ["modelSelector", "modelone"], + bpb: ["colEpisodeList", 5], + eDb: ["holdDuration", 15E3], + l2a: ["rowFirst", 2], + mOa: ["colFirst", 5], + n2a: ["rowScroll", 2], + nOa: ["colScroll", 6], + OQb: ["rowScrollHorizontal", 6], + fRb: ["searchTop", 3], + zPa: ["cwFirst", 2], + MT: ["horizontalItemsFocusedMode", 3], + zFb: ["itemsPerRank", 1], + YHb: ["maxNumberPayloadsStored", 10], + pYa: ["maxNumberTitlesScheduled", 5], + z4b: ["enableDetailedLogging", !0], + A7b: ["rowStep", 20], + X3b: ["colStep", 15], + c7b: ["pageRows", 100], + b7b: ["pageColumns", 75], + qna: ["maskParamsList", new(function () { var d, g; - this.wna = []; - this.Ae = {}; - this.j7 = 20; - this.k1 = 15; + this.qna = []; + this.Ce = {}; + this.g7 = 20; + this.m1 = 15; for (d = 0; 100 > d; d++) { for (g = 0; 75 > g; g++) { - (Math.floor(d / this.j7) + "_" + Math.floor(g / this.k1)in this.Ae) || (this.Ae[Math.floor(d / this.j7) + "_" + Math.floor(g / this.k1)] = 1, this.wna.push(new k("grid", 10, 5, 5, Math.floor(d / this.j7), Math.floor(g / this.k1)))); + (Math.floor(d / this.g7) + "_" + Math.floor(g / this.m1)in this.Ce) || (this.Ce[Math.floor(d / this.g7) + "_" + Math.floor(g / this.m1)] = 1, this.qna.push(new k("grid", 10, 5, 5, Math.floor(d / this.g7), Math.floor(g / this.m1)))); } } - })().wna], + })().qna], J: ["nodes", new f().J], mapping: ["mapping", { - eIb: "0", - kIb: "1", - dIb: "2", - jIb: "3", + hIb: "0", + nIb: "1", + gIb: "2", + mIb: "3", Plb: "4", - wUb: "5", - uUb: "6", - vUb: "7", - tUb: "8", - MNb: "9", - LNb: "10", - qGb: "11", - rGb: "12", - tGb: "13", - uGb: "14", - sGb: "15", - vGb: "16", - wGb: "17", - xGb: "18", - yGb: "19", - zGb: "20", - AGb: "21", - BGb: "22", - CGb: "23", - DGb: "24", - EGb: "25", - FGb: "26", - TOb: "27", - UOb: "28", - VOb: "29", - WOb: "30", - XOb: "31", - YOb: "32", - ZOb: "33", - $Ob: "34", - aPb: "35", - bPb: "36", - cPb: "37", - dPb: "38", - ePb: "39", - fPb: "40", - gPb: "41", - hPb: "42", - iPb: "43", - jPb: "44", - kPb: "45", - lPb: "46", - mPb: "47", - nPb: "48", - oPb: "49", - Spb: "50", - Tpb: "51", - Upb: "52", - Vpb: "53", - Wpb: "54", - Xpb: "55", - Ypb: "56", - Zpb: "57", - $pb: "58", - aqb: "59", - bqb: "60", - cqb: "61", - dqb: "62", - eqb: "63", - fqb: "64", - gqb: "65", - hqb: "66", - iqb: "67", - jqb: "68", - kqb: "69", - lqb: "70", - mqb: "71", - nqb: "72", - oqb: "73", - pqb: "74", - qqb: "75", - rqb: "76", - sqb: "77", - tqb: "78", - uqb: "79", - vqb: "80", - wqb: "81", - xqb: "82", - yqb: "83", - zqb: "84", - Aqb: "85", - Bqb: "86", - Cqb: "87", - Dqb: "88", - Eqb: "89", - Fqb: "90", - Gqb: "91", - Hqb: "92", - Iqb: "93", - Jqb: "94", - Kqb: "95", - Lqb: "96", - Mqb: "97", - Nqb: "98", - Oqb: "99", - Pqb: "100", - Qqb: "101", - Rqb: "102", - Sqb: "103", - Tqb: "104", - Uqb: "105", - Vqb: "106", - Wqb: "107", - Xqb: "108", - Yqb: "109", - Zqb: "110", - $qb: "111", - arb: "112", - brb: "113", - crb: "114", - drb: "115", - erb: "116", - frb: "117", - grb: "118", - hrb: "119", - irb: "120", - jrb: "121", - krb: "122", - lrb: "123", - mrb: "124", - nrb: "125", - orb: "126", - prb: "127", - qrb: "128", - gYb: "129", - ROb: "130", - iTb: "131", - eo: "132", - Hpb: "133", - $xb: "134", - NVb: "135", - xVb: "136", + yUb: "5", + wUb: "6", + xUb: "7", + vUb: "8", + RNb: "9", + QNb: "10", + sGb: "11", + tGb: "12", + vGb: "13", + wGb: "14", + uGb: "15", + xGb: "16", + yGb: "17", + zGb: "18", + AGb: "19", + BGb: "20", + CGb: "21", + DGb: "22", + EGb: "23", + FGb: "24", + GGb: "25", + HGb: "26", + YOb: "27", + ZOb: "28", + $Ob: "29", + aPb: "30", + bPb: "31", + cPb: "32", + dPb: "33", + ePb: "34", + fPb: "35", + gPb: "36", + hPb: "37", + iPb: "38", + jPb: "39", + kPb: "40", + lPb: "41", + mPb: "42", + nPb: "43", + oPb: "44", + pPb: "45", + qPb: "46", + rPb: "47", + sPb: "48", + tPb: "49", + Tpb: "50", + Upb: "51", + Vpb: "52", + Wpb: "53", + Xpb: "54", + Ypb: "55", + Zpb: "56", + $pb: "57", + aqb: "58", + bqb: "59", + cqb: "60", + dqb: "61", + eqb: "62", + fqb: "63", + gqb: "64", + hqb: "65", + iqb: "66", + jqb: "67", + kqb: "68", + lqb: "69", + mqb: "70", + nqb: "71", + oqb: "72", + pqb: "73", + qqb: "74", + rqb: "75", + sqb: "76", + tqb: "77", + uqb: "78", + vqb: "79", + wqb: "80", + xqb: "81", + yqb: "82", + zqb: "83", + Aqb: "84", + Bqb: "85", + Cqb: "86", + Dqb: "87", + Eqb: "88", + Fqb: "89", + Gqb: "90", + Hqb: "91", + Iqb: "92", + Jqb: "93", + Kqb: "94", + Lqb: "95", + Mqb: "96", + Nqb: "97", + Oqb: "98", + Pqb: "99", + Qqb: "100", + Rqb: "101", + Sqb: "102", + Tqb: "103", + Uqb: "104", + Vqb: "105", + Wqb: "106", + Xqb: "107", + Yqb: "108", + Zqb: "109", + $qb: "110", + arb: "111", + brb: "112", + crb: "113", + drb: "114", + erb: "115", + frb: "116", + grb: "117", + hrb: "118", + irb: "119", + jrb: "120", + krb: "121", + lrb: "122", + mrb: "123", + nrb: "124", + orb: "125", + prb: "126", + qrb: "127", + rrb: "128", + iYb: "129", + WOb: "130", + lTb: "131", + fo: "132", + Ipb: "133", + fyb: "134", + PVb: "135", + zVb: "136", Fmb: "137", - AJb: "138", - gWb: "139", - cNb: "140", + CJb: "138", + iWb: "139", + gNb: "140", Bmb: "141", Emb: "142", Cmb: "143", - yJb: "144" + AJb: "144" } ], features: ["features", a], @@ -59414,20 +59437,20 @@ a000.D9b = function () { $2b: ["_format", "xgboost"], d3b: ["_itemsToKeep", 5], c3b: ["_itemsThreshold", null], - E3b: ["cacheLimit", 20] + H3b: ["cacheLimit", 20] }); - q.exports = { + r.exports = { config: b, - P5b: k, - Z3b: c + Y5b: k, + b4b: c }; - }, function (q, b, a) { - q.exports = a(530); - }, function (q, b, a) { + }, function (r, b, a) { + r.exports = a(533); + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - a(531); + a(534); pb._cad_global = {}; pb.DEBUG = !1; a(12); @@ -59436,618 +59459,618 @@ a000.D9b = function () { a(24); a(47); a(86); - a(1193); - a(523); - a(61); + a(1197); + a(526); + a(62); a(51); a(21); - a(72); - a(63); - a(1194); - a(279); - a(322); - a(1195); - a(499); - a(1196); - a(496); + a(73); + a(64); + a(1198); + a(280); + a(324); + a(1199); a(503); - a(501); - a(502); - a(524); - a(490); - a(491); - a(493); + a(1200); + a(500); + a(507); + a(505); + a(506); + a(527); + a(494); + a(495); + a(497); + a(275); a(274); - a(273); - a(1197); + a(1201); a(13); - a(515); - a(1198); + a(519); + a(1202); a(155); - a(71); - a(497); + a(72); + a(501); a(152); - a(435); - a(436); - a(258); - a(1199); - a(1200); - a(461); - a(1201); - a(455); + a(439); + a(440); + a(259); + a(1203); + a(1204); + a(465); + a(1205); + a(459); + a(277); + a(457); a(276); - a(453); - a(275); - a(489); - a(1202); - a(278); - a(505); + a(493); + a(1206); + a(279); + a(509); a(186); - a(525); - a(117); - a(1203); + a(528); + a(129); + a(1207); a(100); - a(1210); - a(1211); - a(1212); - a(1213); + a(1214); a(1215); + a(1216); a(1217); - a(504); - a(62); - a(1218); - a(500); - a(439); - a(498); - a(514); a(1219); - a(1220); - a(291); - a(160); a(1221); + a(508); + a(63); a(1222); + a(504); + a(443); + a(502); + a(518); a(1223); + a(1224); + a(293); + a(160); a(1225); a(1226); - a(494); - }, function (q, b, a) { + a(1227); + a(1229); + a(1230); + a(498); + }, function (r, b, a) { (function (c) { var f; (function (k) { var D, - G, - I, + F, J, + K, H, - M, - O, L, - P; - function l(R, K, Q) { - var N; - N = P.get(R); - if (!N) { - if (!Q) + Q, + I, + O; + function l(N, M, P) { + var R; + R = O.get(N); + if (!R) { + if (!P) return; - N = new O(); - P.set(R, N); + R = new Q(); + O.set(N, R); } - R = N.get(K); - if (!R) { - if (!Q) + N = R.get(M); + if (!N) { + if (!P) return; - R = new O(); - N.set(K, R); + N = new Q(); + R.set(M, N); } - return R; + return N; } - function d(R, K, Q) { - if (g(R, K, Q)) + function d(N, M, P) { + if (g(N, M, P)) return !0; - K = v(K); - return null !== K ? d(R, K, Q) : !1; + M = v(M); + return null !== M ? d(N, M, P) : !1; } - function g(R, K, Q) { - K = l(K, Q, !1); - return void 0 !== K && !!K.has(R); + function g(N, M, P) { + M = l(M, P, !1); + return void 0 !== M && !!M.has(N); } - function h(R, K, Q) { - if (g(R, K, Q)) - return m(R, K, Q); - K = v(K); - return null !== K ? h(R, K, Q) : void 0; + function h(N, M, P) { + if (g(N, M, P)) + return m(N, M, P); + M = v(M); + return null !== M ? h(N, M, P) : void 0; } - function m(R, K, Q) { - K = l(K, Q, !1); - return void 0 === K ? void 0 : K.get(R); + function m(N, M, P) { + M = l(M, P, !1); + return void 0 === M ? void 0 : M.get(N); } - function n(R, K) { - var Q, - da; - Q = r(R, K); - R = v(R); - if (null === R) - return Q; - K = n(R, K); - if (0 >= K.length) - return Q; - if (0 >= Q.length) - return K; - R = new L(); - for (var N = 0; N < Q.length; N++) { - da = Q[N]; - R.add(da); - } - for (Q = 0; Q < K.length; Q++) { - da = K[Q]; - R.add(da); - } - return z(R); - } - function r(R, K) { - var Q; - R = l(R, K, !1); - Q = []; - R && y(R, function (N, da) { - return Q.push(da); + function n(N, M) { + var P, + ea; + P = q(N, M); + N = v(N); + if (null === N) + return P; + M = n(N, M); + if (0 >= M.length) + return P; + if (0 >= P.length) + return M; + N = new I(); + for (var R = 0; R < P.length; R++) { + ea = P[R]; + N.add(ea); + } + for (P = 0; P < M.length; P++) { + ea = M[P]; + N.add(ea); + } + return z(N); + } + function q(N, M) { + var P; + N = l(N, M, !1); + P = []; + N && y(N, function (R, ea) { + return P.push(ea); }); - return Q; - } - function p(R) { - return void 0 === R; - } - function u(R) { - return Array.isArray ? Array.isArray(R) : R instanceof Array || "[object Array]" === Object.prototype.toString.call(R); - } - function t(R) { - return "object" === typeof R ? null !== R : "function" === typeof R; - } - function w(R) { - return "symbol" === typeof R ? R : String(R); - } - function v(R) { - var K, - Q; - K = Object.getPrototypeOf(R); - if ("function" !== typeof R || R === M || K !== M) - return K; - Q = R.prototype; - Q = Q && Object.getPrototypeOf(Q); - if (null == Q || Q === Object.prototype) - return K; - Q = Q.constructor; - return "function" !== typeof Q || Q === R ? K : Q; - } - function x(R) { - R = R.next(); - return R.done ? void 0 : R; - } - function y(R, K, Q) { - var N, - da, - na; - N = R.entries; - if ("function" === typeof N) { - N = N.call(R); + return P; + } + function p(N) { + return void 0 === N; + } + function t(N) { + return Array.isArray ? Array.isArray(N) : N instanceof Array || "[object Array]" === Object.prototype.toString.call(N); + } + function u(N) { + return "object" === typeof N ? null !== N : "function" === typeof N; + } + function w(N) { + return "symbol" === typeof N ? N : String(N); + } + function v(N) { + var M, + P; + M = Object.getPrototypeOf(N); + if ("function" !== typeof N || N === L || M !== L) + return M; + P = N.prototype; + P = P && Object.getPrototypeOf(P); + if (null == P || P === Object.prototype) + return M; + P = P.constructor; + return "function" !== typeof P || P === N ? M : P; + } + function x(N) { + N = N.next(); + return N.done ? void 0 : N; + } + function y(N, M, P) { + var R, + ea, + pa; + R = N.entries; + if ("function" === typeof R) { + R = R.call(N); try { - for (; da = x(N); ) { - na = da.value; - K.call(Q, na[1], na[0], R); + for (; ea = x(R); ) { + pa = ea.value; + M.call(P, pa[1], pa[0], N); } } finally { - da && (R = N["return"]) && R.call(N); + ea && (N = R["return"]) && N.call(R); } - } else (N = R.forEach, "function" === typeof N && N.call(R, K, Q)); + } else (R = N.forEach, "function" === typeof R && R.call(N, M, P)); } - function z(R) { - var K; - K = []; - y(R, function (Q, N) { - K.push(N); + function z(N) { + var M; + M = []; + y(N, function (P, R) { + M.push(R); }); - return K; + return M; } - function B(R, K, Q) { - var N; - N = 0; + function A(N, M, P) { + var R; + R = 0; return { next: function () { - var da; - if ((R || K) && N < (R || K).length) { - da = N++; - switch (Q) { + var ea; + if ((N || M) && R < (N || M).length) { + ea = R++; + switch (P) { case "key": return { - value: R[da], + value: N[ea], done: !1 }; case "value": return { - value: K[da], + value: M[ea], done: !1 }; case "key+value": return { - value: [R[da], K[da]], + value: [N[ea], M[ea]], done: !1 }; } } - K = R = void 0; + M = N = void 0; return { value: void 0, done: !0 }; }, - "throw": function (da) { - if (R || K) - K = R = void 0; - throw da; + "throw": function (ea) { + if (N || M) + M = N = void 0; + throw ea; }, - "return": function (da) { - if (R || K) - K = R = void 0; + "return": function (ea) { + if (N || M) + M = N = void 0; return { - value: da, + value: ea, done: !0 }; } }; } - function A() { - var R; - R = {}; + function B() { + var N; + N = {}; return (function () { - function K() { - this.Ur = []; - this.Ro = []; - this.VZ = R; - this.UZ = -2; + function M() { + this.Yr = []; + this.So = []; + this.XZ = N; + this.WZ = -2; } - Object.defineProperty(K.prototype, "size", { + Object.defineProperty(M.prototype, "size", { get: function () { - return this.Ur.length; + return this.Yr.length; }, enumerable: !0, configurable: !0 }); - K.prototype.has = function (Q) { - return 0 <= this.q_(Q, !1); + M.prototype.has = function (P) { + return 0 <= this.t_(P, !1); }; - K.prototype.get = function (Q) { - Q = this.q_(Q, !1); - return 0 <= Q ? this.Ro[Q] : void 0; + M.prototype.get = function (P) { + P = this.t_(P, !1); + return 0 <= P ? this.So[P] : void 0; }; - K.prototype.set = function (Q, N) { - Q = this.q_(Q, !0); - this.Ro[Q] = N; + M.prototype.set = function (P, R) { + P = this.t_(P, !0); + this.So[P] = R; return this; }; - K.prototype.delete = function (Q) { - var N; - N = this.q_(Q, !1); - if (0 <= N) { - Q = this.Ur.length; - for (N += 1; N < Q; N++) { - this.Ur[N - 1] = this.Ur[N]; - this.Ro[N - 1] = this.Ro[N]; + M.prototype.delete = function (P) { + var R; + R = this.t_(P, !1); + if (0 <= R) { + P = this.Yr.length; + for (R += 1; R < P; R++) { + this.Yr[R - 1] = this.Yr[R]; + this.So[R - 1] = this.So[R]; } - this.Ur.length--; - this.Ro.length--; - this.VZ = R; - this.UZ = -2; + this.Yr.length--; + this.So.length--; + this.XZ = N; + this.WZ = -2; return !0; } return !1; }; - K.prototype.clear = function () { - this.Ur.length = 0; - this.Ro.length = 0; - this.VZ = R; - this.UZ = -2; + M.prototype.clear = function () { + this.Yr.length = 0; + this.So.length = 0; + this.XZ = N; + this.WZ = -2; }; - K.prototype.keys = function () { - return B(this.Ur, void 0, "key"); + M.prototype.keys = function () { + return A(this.Yr, void 0, "key"); }; - K.prototype.values = function () { - return B(void 0, this.Ro, "value"); + M.prototype.values = function () { + return A(void 0, this.So, "value"); }; - K.prototype.entries = function () { - return B(this.Ur, this.Ro, "key+value"); + M.prototype.entries = function () { + return A(this.Yr, this.So, "key+value"); }; - K.prototype.q_ = function (Q, N) { - var da; - if (this.VZ === Q) - return this.UZ; - da = this.Ur.indexOf(Q); - 0 > da && N && (da = this.Ur.length, this.Ur.push(Q), this.Ro.push(void 0)); - return (this.VZ = Q, this.UZ = da); + M.prototype.t_ = function (P, R) { + var ea; + if (this.XZ === P) + return this.WZ; + ea = this.Yr.indexOf(P); + 0 > ea && R && (ea = this.Yr.length, this.Yr.push(P), this.So.push(void 0)); + return (this.XZ = P, this.WZ = ea); }; - return K; + return M; })(); } function C() { return (function () { - function R() { - this.wl = new O(); + function N() { + this.vl = new Q(); } - Object.defineProperty(R.prototype, "size", { + Object.defineProperty(N.prototype, "size", { get: function () { - return this.wl.size; + return this.vl.size; }, enumerable: !0, configurable: !0 }); - R.prototype.has = function (K) { - return this.wl.has(K); + N.prototype.has = function (M) { + return this.vl.has(M); }; - R.prototype.add = function (K) { - return (this.wl.set(K, K), this); + N.prototype.add = function (M) { + return (this.vl.set(M, M), this); }; - R.prototype.delete = function (K) { - return this.wl.delete(K); + N.prototype.delete = function (M) { + return this.vl.delete(M); }; - R.prototype.clear = function () { - this.wl.clear(); + N.prototype.clear = function () { + this.vl.clear(); }; - R.prototype.keys = function () { - return this.wl.keys(); + N.prototype.keys = function () { + return this.vl.keys(); }; - R.prototype.values = function () { - return this.wl.values(); + N.prototype.values = function () { + return this.vl.values(); }; - R.prototype.entries = function () { - return this.wl.entries(); + N.prototype.entries = function () { + return this.vl.entries(); }; - return R; + return N; })(); } function E() { - var N, - da; - function R(na, va) { - for (var ra = 0; ra < va; ++ra) { - na[ra] = 255 * Math.random() | 0; + var R, + ea; + function N(pa, va) { + for (var ta = 0; ta < va; ++ta) { + pa[ta] = 255 * Math.random() | 0; } - return na; + return pa; } - function K() { - var na, - X; + function M() { + var pa, + Y; do { - na = "function" === typeof Uint8Array ? "undefined" !== typeof crypto ? crypto.getRandomValues(new Uint8Array(16)) : "undefined" !== typeof msCrypto ? msCrypto.getRandomValues(new Uint8Array(16)) : R(new Uint8Array(16), 16) : R(Array(16), 16); - na[6] = na[6] & 79 | 64; - na[8] = na[8] & 191 | 128; - for (var va = "", ra = 0; 16 > ra; ++ra) { - X = na[ra]; - if (4 === ra || 6 === ra || 8 === ra) + pa = "function" === typeof Uint8Array ? "undefined" !== typeof crypto ? crypto.getRandomValues(new Uint8Array(16)) : "undefined" !== typeof msCrypto ? msCrypto.getRandomValues(new Uint8Array(16)) : N(new Uint8Array(16), 16) : N(Array(16), 16); + pa[6] = pa[6] & 79 | 64; + pa[8] = pa[8] & 191 | 128; + for (var va = "", ta = 0; 16 > ta; ++ta) { + Y = pa[ta]; + if (4 === ta || 6 === ta || 8 === ta) va += "-"; - 16 > X && (va += "0"); - va += X.toString(16).toLowerCase(); + 16 > Y && (va += "0"); + va += Y.toString(16).toLowerCase(); } - na = "@@WeakMap@@" + va; - } while (H.has(N, na)); - N[na] = !0; - return na; + pa = "@@WeakMap@@" + va; + } while (H.has(R, pa)); + R[pa] = !0; + return pa; } - function Q(na, va) { - if (!D.call(na, da)) { + function P(pa, va) { + if (!D.call(pa, ea)) { if (!va) return; - Object.defineProperty(na, da, { - value: J() + Object.defineProperty(pa, ea, { + value: K() }); } - return na[da]; + return pa[ea]; } - N = J(); - da = K(); + R = K(); + ea = M(); return (function () { - function na() { - this.wQ = K(); + function pa() { + this.xQ = M(); } - na.prototype.has = function (va) { - va = Q(va, !1); - return void 0 !== va ? H.has(va, this.wQ) : !1; + pa.prototype.has = function (va) { + va = P(va, !1); + return void 0 !== va ? H.has(va, this.xQ) : !1; }; - na.prototype.get = function (va) { - va = Q(va, !1); - return void 0 !== va ? H.get(va, this.wQ) : void 0; + pa.prototype.get = function (va) { + va = P(va, !1); + return void 0 !== va ? H.get(va, this.xQ) : void 0; }; - na.prototype.set = function (va, ra) { - Q(va, !0)[this.wQ] = ra; + pa.prototype.set = function (va, ta) { + P(va, !0)[this.xQ] = ta; return this; }; - na.prototype.delete = function (va) { - va = Q(va, !1); - return void 0 !== va ? delete va[this.wQ] : !1; + pa.prototype.delete = function (va) { + va = P(va, !1); + return void 0 !== va ? delete va[this.xQ] : !1; }; - na.prototype.clear = function () { - this.wQ = K(); + pa.prototype.clear = function () { + this.xQ = M(); }; - return na; + return pa; })(); } - function F(R) { - R.X2b = 1; - delete R.Y2b; - return R; + function G(N) { + N.X2b = 1; + delete N.Y2b; + return N; } D = Object.prototype.hasOwnProperty; - G = "function" === typeof Object.create; - I = (function () { - var K; - function R() {} - K = {}; - R.prototype = K; - return new R().__proto__ === K; + F = "function" === typeof Object.create; + J = (function () { + var M; + function N() {} + M = {}; + N.prototype = M; + return new N().__proto__ === M; })(); - J = G ? function () { - return F(Object.create(null)); + K = F ? function () { + return G(Object.create(null)); } - : I ? function () { - return F({ + : J ? function () { + return G({ __proto__: null }); } : function () { - return F({}); + return G({}); }; - (function (R) { - var K; - K = !G && !I; - R.has = K ? function (Q, N) { - return D.call(Q, N); + (function (N) { + var M; + M = !F && !J; + N.has = M ? function (P, R) { + return D.call(P, R); } - : function (Q, N) { - return (N in Q); + : function (P, R) { + return (R in P); }; - R.get = K ? function (Q, N) { - return D.call(Q, N) ? Q[N] : void 0; + N.get = M ? function (P, R) { + return D.call(P, R) ? P[R] : void 0; } - : function (Q, N) { - return Q[N]; + : function (P, R) { + return P[R]; }; })(H || (H = {})); - M = Object.getPrototypeOf(Function); - O = "function" === typeof Map ? Map : A(); - L = "function" === typeof Set ? Set : C(); - P = new("function" === typeof WeakMap ? WeakMap : E())(); - k.Jq = function (R, K, Q, N) { - var na; - if (p(N)) { - if (p(Q)) { - if (!u(R)) + L = Object.getPrototypeOf(Function); + Q = "function" === typeof Map ? Map : B(); + I = "function" === typeof Set ? Set : C(); + O = new("function" === typeof WeakMap ? WeakMap : E())(); + k.Kq = function (N, M, P, R) { + var pa; + if (p(R)) { + if (p(P)) { + if (!t(N)) throw new TypeError(); - if ("function" !== typeof K) + if ("function" !== typeof M) throw new TypeError(); - for (Q = R.length - 1; 0 <= Q; --Q) { - if ((N = (0, R[Q])(K), !p(N))) { - if ("function" !== typeof N) + for (P = N.length - 1; 0 <= P; --P) { + if ((R = (0, N[P])(M), !p(R))) { + if ("function" !== typeof R) throw new TypeError(); - K = N; + M = R; } } - return K; + return M; } - if (!u(R)) + if (!t(N)) throw new TypeError(); - if (!t(K)) + if (!u(M)) throw new TypeError(); - Q = w(Q); - for (N = R.length - 1; 0 <= N; --N) { - (0, R[N])(K, Q); + P = w(P); + for (R = N.length - 1; 0 <= R; --R) { + (0, N[R])(M, P); } } else { - if (!u(R)) + if (!t(N)) throw new TypeError(); - if (!t(K)) + if (!u(M)) throw new TypeError(); - if (p(Q)) + if (p(P)) throw new TypeError(); - if (!t(N)) + if (!u(R)) throw new TypeError(); - Q = w(Q); - for (var da = R.length - 1; 0 <= da; --da) { - na = (0, R[da])(K, Q, N); - if (!p(na)) { - if (!t(na)) + P = w(P); + for (var ea = N.length - 1; 0 <= ea; --ea) { + pa = (0, N[ea])(M, P, R); + if (!p(pa)) { + if (!u(pa)) throw new TypeError(); - N = na; + R = pa; } } - return N; + return R; } }; - k.xd = function (R, K) { - return function (Q, N) { - if (p(N)) { - if ("function" !== typeof Q) + k.xd = function (N, M) { + return function (P, R) { + if (p(R)) { + if ("function" !== typeof P) throw new TypeError(); - l(Q, void 0, !0).set(R, K); + l(P, void 0, !0).set(N, M); } else { - if (!t(Q)) + if (!u(P)) throw new TypeError(); - N = w(N); - l(Q, N, !0).set(R, K); + R = w(R); + l(P, R, !0).set(N, M); } }; }; - k.wha = function (R, K, Q) { - var N; - if (!t(Q)) + k.qha = function (N, M, P) { + var R; + if (!u(P)) throw new TypeError(); - p(N) || (N = w(N)); - l(Q, N, !0).set(R, K); + p(R) || (R = w(R)); + l(P, R, !0).set(N, M); }; - k.HCb = function (R, K) { - var Q; - if (!t(K)) + k.JCb = function (N, M) { + var P; + if (!u(M)) throw new TypeError(); - p(Q) || (Q = w(Q)); - return d(R, K, Q); + p(P) || (P = w(P)); + return d(N, M, P); }; - k.Wka = function (R, K) { - var Q; - if (!t(K)) + k.Ska = function (N, M) { + var P; + if (!u(M)) throw new TypeError(); - p(Q) || (Q = w(Q)); - return g(R, K, Q); + p(P) || (P = w(P)); + return g(N, M, P); }; - k.getMetadata = function (R, K, Q) { - if (!t(K)) + k.getMetadata = function (N, M, P) { + if (!u(M)) throw new TypeError(); - p(Q) || (Q = w(Q)); - return h(R, K, Q); + p(P) || (P = w(P)); + return h(N, M, P); }; - k.V4b = function (R, K, Q) { - if (!t(K)) + k.$4b = function (N, M, P) { + if (!u(M)) throw new TypeError(); - p(Q) || (Q = w(Q)); - return m(R, K, Q); + p(P) || (P = w(P)); + return m(N, M, P); }; - k.T4b = function (R, K) { - if (!t(R)) + k.Y4b = function (N, M) { + if (!u(N)) throw new TypeError(); - p(K) || (K = w(K)); - return n(R, K); + p(M) || (M = w(M)); + return n(N, M); }; - k.W4b = function (R, K) { - if (!t(R)) + k.a5b = function (N, M) { + if (!u(N)) throw new TypeError(); - p(K) || (K = w(K)); - return r(R, K); + p(M) || (M = w(M)); + return q(N, M); }; - k.c4b = function (R, K, Q) { - var N; - if (!t(K)) + k.f4b = function (N, M, P) { + var R; + if (!u(M)) throw new TypeError(); - p(Q) || (Q = w(Q)); - N = l(K, Q, !1); - if (p(N) || !N.delete(R)) + p(P) || (P = w(P)); + R = l(M, P, !1); + if (p(R) || !R.delete(N)) return !1; - if (0 < N.size) - return !0; - R = P.get(K); - R.delete(Q); if (0 < R.size) return !0; - P.delete(K); + N = O.get(M); + N.delete(P); + if (0 < N.size) + return !0; + O.delete(M); return !0; }; - (function (R) { - if ("undefined" !== typeof R.Reflect) { - if (R.Reflect !== k) - for (var K in k) { - D.call(k, K) && (R.Reflect[K] = k[K]); + (function (N) { + if ("undefined" !== typeof N.Reflect) { + if (N.Reflect !== k) + for (var M in k) { + D.call(k, M) && (N.Reflect[M] = k[M]); } } else - R.Reflect = k; + N.Reflect = k; })("undefined" !== typeof pb ? pb : "undefined" !== typeof WorkerGlobalScope ? self : "undefined" !== typeof c ? c : Function("return this;")()); })(f || (f = {})); - }).call(this, a(294)); - }, function (q, b, a) { + }).call(this, a(296)); + }, function (r, b, a) { var c, f, k, @@ -60057,42 +60080,42 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - c = this && this.__awaiter || (function (t, w, v, x) { + t; + c = this && this.__awaiter || (function (u, w, v, x) { return new(v || (v = Promise))(function (y, z) { - function B(E) { + function A(E) { try { C(x.next(E)); - } catch (F) { - z(F); + } catch (G) { + z(G); } } - function A(E) { + function B(E) { try { C(x["throw"](E)); - } catch (F) { - z(F); + } catch (G) { + z(G); } } function C(E) { - E.done ? y(E.value) : new v(function (F) { - F(E.value); - }).then(B, A); + E.done ? y(E.value) : new v(function (G) { + G(E.value); + }).then(A, B); } - C((x = x.apply(t, w || [])).next()); + C((x = x.apply(u, w || [])).next()); }); }); - f = this && this.__generator || (function (t, w) { + f = this && this.__generator || (function (u, w) { var y, z, - B, A, + B, C; function v(E) { - return function (F) { - return x([E, F]); + return function (G) { + return x([E, G]); }; } function x(E) { @@ -60100,14 +60123,14 @@ a000.D9b = function () { throw new TypeError("Generator is already executing."); for (; y; ) { try { - if ((z = 1, B && (A = B[E[0] & 2 ? "return" : E[0] ? "throw" : "next"]) && !(A = A.call(B, E[1])).done)) - return A; - if ((B = 0, A)) - E = [0, A.value]; + if ((z = 1, A && (B = A[E[0] & 2 ? "return" : E[0] ? "throw" : "next"]) && !(B = B.call(A, E[1])).done)) + return B; + if ((A = 0, B)) + E = [0, B.value]; switch (E[0]) { case 0: case 1: - A = E; + B = E; break; case 4: return (y.label++, { @@ -60116,37 +60139,37 @@ a000.D9b = function () { }); case 5: y.label++; - B = E[1]; + A = E[1]; E = [0]; continue; case 7: - E = y.Tm.pop(); + E = y.Sm.pop(); y.gn.pop(); continue; default: - if (!(A = y.gn, A = 0 < A.length && A[A.length - 1]) && (6 === E[0] || 2 === E[0])) { + if (!(B = y.gn, B = 0 < B.length && B[B.length - 1]) && (6 === E[0] || 2 === E[0])) { y = 0; continue; } - if (3 === E[0] && (!A || E[1] > A[0] && E[1] < A[3])) + if (3 === E[0] && (!B || E[1] > B[0] && E[1] < B[3])) y.label = E[1]; - else if (6 === E[0] && y.label < A[1]) - (y.label = A[1], A = E); - else if (A && y.label < A[2]) - (y.label = A[2], y.Tm.push(E)); + else if (6 === E[0] && y.label < B[1]) + (y.label = B[1], B = E); + else if (B && y.label < B[2]) + (y.label = B[2], y.Sm.push(E)); else { - A[2] && y.Tm.pop(); + B[2] && y.Sm.pop(); y.gn.pop(); continue; } } - E = w.call(t, y); - } catch (F) { - E = [6, F]; - B = 0; + E = w.call(u, y); + } catch (G) { + E = [6, G]; + A = 0; } finally { - z = A = 0; + z = B = 0; } } if (E[0] & 5) @@ -60158,13 +60181,13 @@ a000.D9b = function () { } y = { label: 0, - Oe: function () { - if (A[0] & 1) - throw A[1]; - return A[1]; + Wd: function () { + if (B[0] & 1) + throw B[1]; + return B[1]; }, gn: [], - Tm: [] + Sm: [] }; return (C = { next: v(0), @@ -60177,60 +60200,60 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - k = a(533); + k = a(536); l = a(55); d = a(75); a(41); - g = a(295); - h = a(534); - m = a(541); - n = a(543); - r = a(103); + g = a(297); + h = a(537); + m = a(544); + n = a(546); + q = a(103); p = a(130); - a(546); - u = a(547); - q = (function () { - function t(w) { + a(549); + t = a(550); + r = (function () { + function u(w) { w = w || ({}); if ("object" !== typeof w) + throw Error("" + l.V8a); + if (void 0 === w.iF) + w.iF = d.Kr.IZ; + else if (w.iF !== d.Kr.lba && w.iF !== d.Kr.IZ && w.iF !== d.Kr.Request) throw Error("" + l.T8a); - if (void 0 === w.fF) - w.fF = d.Hr.GZ; - else if (w.fF !== d.Hr.rba && w.fF !== d.Hr.GZ && w.fF !== d.Hr.Request) - throw Error("" + l.R8a); - if (void 0 === w.BR) - w.BR = !1; - else if ("boolean" !== typeof w.BR) - throw Error("" + l.Q8a); - if (void 0 === w.YG) - w.YG = !1; - else if ("boolean" !== typeof w.YG) + if (void 0 === w.CR) + w.CR = !1; + else if ("boolean" !== typeof w.CR) throw Error("" + l.S8a); + if (void 0 === w.fH) + w.fH = !1; + else if ("boolean" !== typeof w.fH) + throw Error("" + l.U8a); this.options = { - BR: w.BR, - fF: w.fF, - YG: w.YG + CR: w.CR, + iF: w.iF, + fH: w.fH }; - this.id = r.id(); - this.QI = new u.jbb(); - this.njb = []; - this.parent = this.ida = null; - this.hhb = new g.faa(); + this.id = q.id(); + this.UI = new t.mbb(); + this.ojb = []; + this.parent = this.cda = null; + this.ihb = new g.Y$(); } - t.prototype.load = function () { + u.prototype.load = function () { var y, z; for (var w = [], v = 0; v < arguments.length; v++) { w[v] = arguments[v]; } - v = this.aJa(); + v = this.ZIa(); for (var x = 0; x < w.length; x++) { y = w[x]; z = v(y.id); - y.Eqa(z.UMa, z.F5a, z.LWa, z.g1a); + y.yqa(z.VMa, z.H5a, z.JWa, z.g1a); } }; - t.prototype.pU = function () { + u.prototype.oU = function () { for (var w = [], v = 0; v < arguments.length; v++) { w[v] = arguments[v]; } @@ -60238,20 +60261,20 @@ a000.D9b = function () { var x, y, z, - B, - A; + A, + B; return f(this, function (C) { switch (C.label) { case 0: - (x = this.aJa(), y = 0, z = w, C.label = 1); + (x = this.ZIa(), y = 0, z = w, C.label = 1); case 1: if (!(y < z.length)) return [3, 4]; - B = z[y]; - A = x(B.id); - return [4, B.Eqa(A.UMa, A.F5a, A.LWa, A.g1a)]; + A = z[y]; + B = x(A.id); + return [4, A.yqa(B.VMa, B.H5a, B.JWa, B.g1a)]; case 2: - (C.Oe(), C.label = 3); + (C.Wd(), C.label = 3); case 3: return (y++, [3, 1]); case 4: @@ -60260,126 +60283,126 @@ a000.D9b = function () { }); }); }; - t.prototype.bind = function (w) { + u.prototype.bind = function (w) { var v; - v = new k.e8a(w, this.options.fF || d.Hr.GZ); - this.QI.add(w, v); - return new n.g8a(v); + v = new k.g8a(w, this.options.iF || d.Kr.IZ); + this.UI.add(w, v); + return new n.i8a(v); }; - t.prototype.NOb = function (w) { - this.E5a(w); + u.prototype.SOb = function (w) { + this.G5a(w); return this.bind(w); }; - t.prototype.E5a = function (w) { + u.prototype.G5a = function (w) { try { - this.QI.remove(w); + this.UI.remove(w); } catch (v) { - throw Error(l.C8a + " " + p.hL(w)); + throw Error(l.E8a + " " + p.kL(w)); } }; - t.prototype.dWa = function (w) { + u.prototype.bWa = function (w) { var v; - v = this.QI.VUa(w); - !v && this.parent && (v = this.parent.dWa(w)); + v = this.UI.VUa(w); + !v && this.parent && (v = this.parent.bWa(w)); return v; }; - t.prototype.restore = function () { + u.prototype.restore = function () { var w; - w = this.njb.pop(); + w = this.ojb.pop(); if (void 0 === w) - throw Error(l.Xbb); - this.QI = w.ER; - this.ida = w.MIb; + throw Error(l.acb); + this.UI = w.FR; + this.cda = w.OIb; }; - t.prototype.xrb = function () { + u.prototype.yrb = function () { var w; - w = new t(this.options); + w = new u(this.options); w.parent = this; return w; }; - t.prototype.get = function (w) { - return this.$Ia(!1, !1, d.Lw.Fba, w); + u.prototype.get = function (w) { + return this.YIa(!1, !1, d.Qw.zba, w); }; - t.prototype.getAll = function (w) { - return this.$Ia(!0, !0, d.Lw.Fba, w); + u.prototype.getAll = function (w) { + return this.YIa(!0, !0, d.Qw.zba, w); }; - t.prototype.resolve = function (w) { + u.prototype.resolve = function (w) { var v; - v = this.xrb(); - v.bind(w).i5a(); + v = this.yrb(); + v.bind(w).k5a(); return v.get(w); }; - t.prototype.aJa = function () { + u.prototype.ZIa = function () { var z; - function w(B) { - return function (A) { - A = z.NOb.bind(z)(A); - A.mc.iJb = B; - return A; + function w(A) { + return function (B) { + B = z.SOb.bind(z)(B); + B.oc.kJb = A; + return B; }; } function v() { - return function (B) { - return z.dWa.bind(z)(B); + return function (A) { + return z.bWa.bind(z)(A); }; } function x() { - return function (B) { - z.E5a.bind(z)(B); + return function (A) { + z.G5a.bind(z)(A); }; } - function y(B) { - return function (A) { - A = z.bind.bind(z)(A); - A.mc.iJb = B; - return A; + function y(A) { + return function (B) { + B = z.bind.bind(z)(B); + B.oc.kJb = A; + return B; }; } z = this; - return function (B) { + return function (A) { return { - UMa: y(B), - LWa: v(B), - g1a: w(B), - F5a: x(B) + VMa: y(A), + JWa: v(A), + g1a: w(A), + H5a: x(A) }; }; }; - t.prototype.$Ia = function (w, v, x, y) { + u.prototype.YIa = function (w, v, x, y) { var z; z = null; w = { nmb: w, - Gpb: function (B) { - return B; + Hpb: function (A) { + return A; }, - QEb: v, + VEb: v, key: void 0, - ng: y, - MUb: x, + mg: y, + OUb: x, value: void 0 }; - if (this.ida) { - if ((z = this.ida(w), void 0 === z || null === z)) - throw Error(l.Qab); + if (this.cda) { + if ((z = this.cda(w), void 0 === z || null === z)) + throw Error(l.Tab); } else - z = this.sib()(w); + z = this.tib()(w); return z; }; - t.prototype.sib = function () { + u.prototype.tib = function () { var w; w = this; return function (v) { var x; - x = h.zM(w.hhb, w, v.QEb, v.MUb, v.ng, v.key, v.value, v.nmb); - x = v.Gpb(x); + x = h.BM(w.ihb, w, v.VEb, v.OUb, v.mg, v.key, v.value, v.nmb); + x = v.Hpb(x); return m.resolve(x); }; }; - return t; + return u; })(); - b.YX = q; - }, function (q, b, a) { + b.XX = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -60387,372 +60410,372 @@ a000.D9b = function () { }); c = a(75); f = a(103); - q = (function () { + r = (function () { function k(l, d) { this.id = f.id(); - this.iea = !1; - this.ng = l; + this.cea = !1; + this.mg = l; this.scope = d; - this.type = c.ej.bbb; - this.YE = function () { + this.type = c.cj.ebb; + this.$E = function () { return !0; }; - this.vK = this.Bv = this.dz = this.IK = this.cache = this.Nl = null; + this.zK = this.Hv = this.gz = this.MK = this.cache = this.Ml = null; } k.prototype.clone = function () { var l; - l = new k(this.ng, this.scope); - l.iea = !1; - l.Nl = this.Nl; - l.vK = this.vK; + l = new k(this.mg, this.scope); + l.cea = !1; + l.Ml = this.Ml; + l.zK = this.zK; l.scope = this.scope; l.type = this.type; - l.IK = this.IK; - l.dz = this.dz; - l.YE = this.YE; - l.Bv = this.Bv; + l.MK = this.MK; + l.gz = this.gz; + l.$E = this.$E; + l.Hv = this.Hv; l.cache = this.cache; return l; }; return k; })(); - b.e8a = q; - }, function (q, b, a) { + b.g8a = r; + }, function (r, b, a) { var d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, x; - function c(y, z, B, A, C) { + function c(y, z, A, B, C) { var E, - F; - E = l(B.$a, C.ng); - F = []; - E.length === d.B9.xCa && B.$a.options.BR && "function" === typeof C.ng && y.KSa(C.ng).vOa && (B.$a.bind(C.ng).i5a(), E = l(B.$a, C.ng)); - F = z ? E : E.filter(function (D) { - var G; - G = new v.Request(D.ng, B, A, D, C); - return D.YE(G); + G; + E = l(A.$a, C.mg); + G = []; + E.length === d.w9.vCa && A.$a.options.CR && "function" === typeof C.mg && y.KSa(C.mg).tOa && (A.$a.bind(C.mg).k5a(), E = l(A.$a, C.mg)); + G = z ? E : E.filter(function (D) { + var F; + F = new v.Request(D.mg, A, B, D, C); + return D.$E(F); }); - f(C.ng, F, C, B.$a); - return F; + f(C.mg, G, C, A.$a); + return G; } - function f(y, z, B, A) { + function f(y, z, A, B) { switch (z.length) { - case d.B9.xCa: - if (B.sWa()) + case d.w9.vCa: + if (A.qWa()) return z; - y = r.hL(y); - z = g.Vbb; - z += r.pGb(y, B); - z += r.pXa(A, y, l); + y = q.kL(y); + z = g.Zbb; + z += q.rGb(y, A); + z += q.nXa(B, y, l); throw Error(z); - case d.B9.mcb: - if (!B.isArray()) + case d.w9.qcb: + if (!A.isArray()) return z; default: - if (B.isArray()) + if (A.isArray()) return z; - y = r.hL(y); - z = g.j7a + " " + y; - z += r.pXa(A, y, l); + y = q.kL(y); + z = g.l7a + " " + y; + z += q.nXa(B, y, l); throw Error(z); } } - function k(y, z, B, A, C, E) { - var F; + function k(y, z, A, B, C, E) { + var G; if (null === C) { - z = c(y, z, A, null, E); - F = new v.Request(B, A, null, z, E); - B = new t.kdb(A, F); - A.zkb(B); - } else (z = c(y, z, A, C, E), F = C.lLa(E.ng, z, E)); + z = c(y, z, B, null, E); + G = new v.Request(A, B, null, z, E); + A = new u.ndb(B, G); + B.zkb(A); + } else (z = c(y, z, B, C, E), G = C.jLa(E.mg, z, E)); z.forEach(function (D) { - var G, - I, - J; - G = null; + var F, + J, + K; + F = null; if (E.isArray()) - G = F.lLa(D.ng, D, E); + F = G.jLa(D.mg, D, E); else { if (D.cache) return; - G = F; + F = G; } - if (D.type === h.ej.Instance && null !== D.Nl) { - I = w.czb(y, D.Nl); - if (!A.$a.options.YG) { - J = w.wyb(y, D.Nl); - if (I.length < J) - throw (D = g.l7a(w.getFunctionName(D.Nl)), Error(D)); + if (D.type === h.cj.Instance && null !== D.Ml) { + J = w.gzb(y, D.Ml); + if (!B.$a.options.fH) { + K = w.Byb(y, D.Ml); + if (J.length < K) + throw (D = g.n7a(w.getFunctionName(D.Ml)), Error(D)); } - I.forEach(function (H) { - k(y, !1, H.ng, A, G, H); + J.forEach(function (H) { + k(y, !1, H.mg, B, F, H); }); } }); } function l(y, z) { - var B, - A; - B = []; - A = y.QI; - A.VUa(z) ? B = A.get(z) : null !== y.parent && (B = l(y.parent, z)); - return B; + var A, + B; + A = []; + B = y.UI; + B.VUa(z) ? A = B.get(z) : null !== y.parent && (A = l(y.parent, z)); + return A; } Object.defineProperty(b, "__esModule", { value: !0 }); - d = a(535); + d = a(538); g = a(55); h = a(75); m = a(41); - n = a(296); - r = a(130); - p = a(536); - u = a(64); - t = a(537); - w = a(538); - v = a(540); - x = a(298); - b.M4b = function (y) { - return y.QI; - }; - b.zM = function (y, z, B, A, C, E, F, D) { + n = a(298); + q = a(130); + p = a(539); + t = a(65); + u = a(540); + w = a(541); + v = a(543); + x = a(300); + b.S4b = function (y) { + return y.UI; + }; + b.BM = function (y, z, A, B, C, E, G, D) { void 0 === D && (D = !1); - z = new p.Dwa(z); - B = new u.Metadata(B ? m.rD : m.fP, C); - A = new x.EZ(A, "", C, B); - void 0 !== E && (E = new u.Metadata(E, F), A.xd.push(E)); + z = new p.Awa(z); + A = new t.Metadata(A ? m.tD : m.gP, C); + B = new x.FZ(B, "", C, A); + void 0 !== E && (E = new t.Metadata(E, G), B.xd.push(E)); try { - return (k(y, D, C, z, null, A), z); - } catch (G) { - throw (n.zWa(G) && z.zM && r.Dob(z.zM.mra), G); + return (k(y, D, C, z, null, B), z); + } catch (F) { + throw (n.xWa(F) && z.BM && q.Eob(z.BM.gra), F); } }; - b.V3b = function (y, z, B, A) { - B = new x.EZ(h.Lw.Fba, "", z, new u.Metadata(B, A)); - y = new p.Dwa(y); - return new v.Request(z, y, null, [], B); + b.Y3b = function (y, z, A, B) { + A = new x.FZ(h.Qw.zba, "", z, new t.Metadata(A, B)); + y = new p.Awa(y); + return new v.Request(z, y, null, [], A); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.B9 = { - x0b: 2, - xCa: 0, - mcb: 1 + b.w9 = { + y0b: 2, + vCa: 0, + qcb: 1 }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(103); - q = (function () { + r = (function () { function f(k) { this.id = c.id(); this.$a = k; } f.prototype.zkb = function (k) { - this.zM = k; + this.BM = k; }; return f; })(); - b.Dwa = q; - }, function (q, b) { + b.Awa = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kdb = (function () { + b.ndb = (function () { return function (a, c) { - this.tM = a; - this.mra = c; + this.vM = a; + this.gra = c; }; })(); - }, function (q, b, a) { + }, function (r, b, a) { var d, g, h, m, n, - r; - function c(p, u, t, w) { + q; + function c(p, t, u, w) { var v, x, y, z, - A, + B, C, E, - F, - D, G, - I, - J; - v = p.KSa(t); - x = v.vOa; + D, + F, + J, + K; + v = p.KSa(u); + x = v.tOa; if (void 0 === x) - throw Error(g.tbb + " " + u + "."); - v = v.sXb; + throw Error(g.xbb + " " + t + "."); + v = v.uXb; y = Object.keys(v); - z = 0 === t.length && 0 < y.length ? y.length : t.length; + z = 0 === u.length && 0 < y.length ? y.length : u.length; y = []; - for (var B = 0; B < z; B++) { - A = B; + for (var A = 0; A < z; A++) { + B = A; C = w; - E = u; - F = x; - D = v[A.toString()] || []; - G = l(D); - I = !0 !== G.cj; - F = F[A]; - J = G.l || G.fG; - F = J ? J : F; - F instanceof d.M$ && (F = F.qWb()); - if (I) { - I = F === Function; - I = F === Object || I || void 0 === F; - if (!C && I) - throw Error(g.ubb + " argument " + A + " in class " + E + "."); - A = new r.EZ(h.Lw.Cwa, G.PW, F); - A.xd = D; - D = A; + E = t; + G = x; + D = v[B.toString()] || []; + F = l(D); + J = !0 !== F.aj; + G = G[B]; + K = F.l || F.lG; + G = K ? K : G; + G instanceof d.E$ && (G = G.sWb()); + if (J) { + J = G === Function; + J = G === Object || J || void 0 === G; + if (!C && J) + throw Error(g.ybb + " argument " + B + " in class " + E + "."); + B = new q.FZ(h.Qw.zwa, F.OW, G); + B.xd = D; + D = B; } else D = null; null !== D && y.push(D); } - p = f(p, t); + p = f(p, u); return y.concat(p); } - function f(p, u) { + function f(p, t) { var y, z, - B; - for (var t = p.YAb(u), w = [], v = 0, x = Object.keys(t); v < x.length; v++) { + A; + for (var u = p.$Ab(t), w = [], v = 0, x = Object.keys(u); v < x.length; v++) { y = x[v]; - z = t[y]; - B = l(t[y]); - y = new r.EZ(h.Lw.twa, B.PW || y, B.l || B.fG); + z = u[y]; + A = l(u[y]); + y = new q.FZ(h.Qw.qwa, A.OW || y, A.l || A.lG); y.xd = z; w.push(y); } - u = Object.getPrototypeOf(u.prototype).constructor; - u !== Object && (p = f(p, u), w = w.concat(p)); + t = Object.getPrototypeOf(t.prototype).constructor; + t !== Object && (p = f(p, t), w = w.concat(p)); return w; } - function k(p, u) { - var t, + function k(p, t) { + var u, w; - u = Object.getPrototypeOf(u.prototype).constructor; - if (u !== Object) { - t = n.getFunctionName(u); - t = c(p, t, u, !0); - w = t.map(function (v) { + t = Object.getPrototypeOf(t.prototype).constructor; + if (t !== Object) { + u = n.getFunctionName(t); + u = c(p, u, t, !0); + w = u.map(function (v) { return v.xd.filter(function (x) { return x.key === m.RP; }); }); w = [].concat.apply([], w).length; - t = t.length - w; - return 0 < t ? t : k(p, u); + u = u.length - w; + return 0 < u ? u : k(p, t); } return 0; } function l(p) { - var u; - u = {}; - p.forEach(function (t) { - u[t.key.toString()] = t.value; + var t; + t = {}; + p.forEach(function (u) { + t[u.key.toString()] = u.value; }); return { - l: u[m.fP], - fG: u[m.rD], - PW: u[m.TY], - cj: u[m.RP] + l: t[m.gP], + lG: t[m.tD], + OW: t[m.SY], + aj: t[m.RP] }; } Object.defineProperty(b, "__esModule", { value: !0 }); - d = a(297); + d = a(299); g = a(55); h = a(75); m = a(41); n = a(130); b.getFunctionName = n.getFunctionName; - r = a(298); - b.czb = function (p, u) { - var t; - t = n.getFunctionName(u); - return c(p, t, u, !1); + q = a(300); + b.gzb = function (p, t) { + var u; + u = n.getFunctionName(t); + return c(p, u, t, !1); }; - b.wyb = k; - }, function (q, b) { + b.Byb = k; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function a(c) { - this.DN = c; + this.EN = c; } a.prototype.startsWith = function (c) { - return 0 === this.DN.indexOf(c); + return 0 === this.EN.indexOf(c); }; a.prototype.endsWith = function (c) { var f; f = c.split("").reverse().join(""); - c = this.DN.split("").reverse().join(""); + c = this.EN.split("").reverse().join(""); return this.startsWith.call({ - DN: c + EN: c }, f); }; a.prototype.contains = function (c) { - return -1 !== this.DN.indexOf(c); + return -1 !== this.EN.indexOf(c); }; a.prototype.equals = function (c) { - return this.DN === c; + return this.EN === c; }; a.prototype.value = function () { - return this.DN; + return this.EN; }; return a; })(); - b.sdb = q; - }, function (q, b, a) { + b.vdb = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(103); - q = (function () { + r = (function () { function f(k, l, d, g, h) { this.id = c.id(); - this.ng = k; - this.tM = l; - this.Yy = d; + this.mg = k; + this.vM = l; + this.az = d; this.target = h; - this.cga = []; - this.ER = Array.isArray(g) ? g : [g]; - this.gQb = null === d ? new Map() : null; + this.Xfa = []; + this.FR = Array.isArray(g) ? g : [g]; + this.lQb = null === d ? new Map() : null; } - f.prototype.lLa = function (k, l, d) { - k = new f(k, this.tM, this, l, d); - this.cga.push(k); + f.prototype.jLa = function (k, l, d) { + k = new f(k, this.vM, this, l, d); + this.Xfa.push(k); return k; }; return f; })(); - b.Request = q; - }, function (q, b, a) { + b.Request = r; + }, function (r, b, a) { var k, l, d, @@ -60760,63 +60783,63 @@ a000.D9b = function () { h; function c(m) { return function (n) { - var r, + var q, p, - u, t, + u, w; - r = n.ER; - p = n.cga; - u = n.target && n.target.isArray(); - t = !n.Yy || !n.Yy.target || !n.target || !n.Yy.target.KHb(n.target.ng); - if (u && t) + q = n.FR; + p = n.Xfa; + t = n.target && n.target.isArray(); + u = !n.az || !n.az.target || !n.target || !n.az.target.NHb(n.target.mg); + if (t && u) return p.map(function (v) { return c(m)(v); }); - u = null; - if (!n.target.sWa() || 0 !== r.length) { - w = r[0]; - r = w.scope === l.Hr.rba; - t = w.scope === l.Hr.Request; - if (r && w.iea) + t = null; + if (!n.target.qWa() || 0 !== q.length) { + w = q[0]; + q = w.scope === l.Kr.lba; + u = w.scope === l.Kr.Request; + if (q && w.cea) return w.cache; - if (t && null !== m && m.has(w.id)) + if (u && null !== m && m.has(w.id)) return m.get(w.id); - if (w.type === l.ej.Awa) - u = w.cache; - else if (w.type === l.ej.Function) - u = w.cache; - else if (w.type === l.ej.Bwa) - u = w.Nl; - else if (w.type === l.ej.Lxa && null !== w.vK) - u = f("toDynamicValue", w.ng, function () { - return w.vK(n.tM); + if (w.type === l.cj.xwa) + t = w.cache; + else if (w.type === l.cj.Function) + t = w.cache; + else if (w.type === l.cj.ywa) + t = w.Ml; + else if (w.type === l.cj.Hxa && null !== w.zK) + t = f("toDynamicValue", w.mg, function () { + return w.zK(n.vM); }); - else if (w.type === l.ej.l$ && null !== w.IK) - u = f("toFactory", w.ng, function () { - return w.IK(n.tM); + else if (w.type === l.cj.d$ && null !== w.MK) + t = f("toFactory", w.mg, function () { + return w.MK(n.vM); }); - else if (w.type === l.ej.mFa && null !== w.dz) - u = f("toProvider", w.ng, function () { - return w.dz(n.tM); + else if (w.type === l.cj.jFa && null !== w.gz) + t = f("toProvider", w.mg, function () { + return w.gz(n.vM); }); - else if (w.type === l.ej.Instance && null !== w.Nl) - u = h.sQb(w.Nl, p, c(m)); + else if (w.type === l.cj.Instance && null !== w.Ml) + t = h.xQb(w.Ml, p, c(m)); else - throw (p = g.hL(n.ng), Error(k.Mab + " " + p)); - "function" === typeof w.Bv && (u = w.Bv(n.tM, u)); - r && (w.cache = u, w.iea = !0); - t && null !== m && !m.has(w.id) && m.set(w.id, u); - return u; + throw (p = g.kL(n.mg), Error(k.Pab + " " + p)); + "function" === typeof w.Hv && (t = w.Hv(n.vM, t)); + q && (w.cache = t, w.cea = !0); + u && null !== m && !m.has(w.id) && m.set(w.id, t); + return t; } }; } - function f(m, n, r) { + function f(m, n, q) { try { - return r(); + return q(); } catch (p) { - if (d.zWa(p)) - throw Error(k.F8a(m, n.toString())); + if (d.xWa(p)) + throw Error(k.H8a(m, n.toString())); throw p; } } @@ -60825,36 +60848,36 @@ a000.D9b = function () { }); k = a(55); l = a(75); - d = a(296); + d = a(298); g = a(130); - h = a(542); + h = a(545); b.resolve = function (m) { - return c(m.zM.mra.gQb)(m.zM.mra); + return c(m.BM.gra.lQb)(m.BM.gra); }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d; function c(g, h, m) { var n; - h = h.filter(function (r) { - return null !== r.target && r.target.type === l.Lw.twa; + h = h.filter(function (q) { + return null !== q.target && q.target.type === l.Qw.qwa; }); n = h.map(m); - h.forEach(function (r, p) { - r = r.target.name.value(); - g[r] = n[p]; + h.forEach(function (q, p) { + q = q.target.name.value(); + g[q] = n[p]; }); return g; } function f(g, h) { var m; - if (Reflect.HCb(d.zP, g)) { + if (Reflect.JCb(d.zP, g)) { m = Reflect.getMetadata(d.zP, g); try { h[m.value](); } catch (n) { - throw Error(k.bdb(g.name, n.message)); + throw Error(k.edb(g.name, n.message)); } } } @@ -60864,16 +60887,16 @@ a000.D9b = function () { k = a(55); l = a(75); d = a(41); - b.sQb = function (g, h, m) { + b.xQb = function (g, h, m) { var n; n = null; - 0 < h.length ? (n = h.filter(function (r) { - return null !== r.target && r.target.type === l.Lw.Cwa; + 0 < h.length ? (n = h.filter(function (q) { + return null !== q.target && q.target.type === l.Qw.zwa; }).map(m), n = new(g.bind.apply(g, [void 0].concat(n)))(), n = c(n, h, m)) : n = new g(); f(g, n); return n; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -60883,189 +60906,189 @@ a000.D9b = function () { }); c = a(55); f = a(75); - k = a(544); - l = a(299); - q = (function () { + k = a(547); + l = a(301); + r = (function () { function d(g) { - this.mc = g; + this.oc = g; } d.prototype.to = function (g) { - this.mc.type = f.ej.Instance; - this.mc.Nl = g; - return new k.xva(this.mc); + this.oc.type = f.cj.Instance; + this.oc.Ml = g; + return new k.uva(this.oc); }; - d.prototype.i5a = function () { - if ("function" !== typeof this.mc.ng) - throw Error("" + c.Sab); - this.to(this.mc.ng); + d.prototype.k5a = function () { + if ("function" !== typeof this.oc.mg) + throw Error("" + c.Vab); + this.to(this.oc.mg); }; d.prototype.si = function (g) { - this.mc.type = f.ej.Awa; - this.mc.cache = g; - this.mc.vK = null; - this.mc.Nl = null; - new l.$C(this.mc); - }; - d.prototype.RC = function (g) { - this.mc.type = f.ej.Lxa; - this.mc.cache = null; - this.mc.vK = g; - this.mc.Nl = null; - return new k.xva(this.mc); - }; - d.prototype.rVb = function (g) { - this.mc.type = f.ej.Bwa; - this.mc.Nl = g; - new l.$C(this.mc); + this.oc.type = f.cj.xwa; + this.oc.cache = g; + this.oc.zK = null; + this.oc.Ml = null; + new l.bD(this.oc); + }; + d.prototype.SC = function (g) { + this.oc.type = f.cj.Hxa; + this.oc.cache = null; + this.oc.zK = g; + this.oc.Ml = null; + return new k.uva(this.oc); + }; + d.prototype.tVb = function (g) { + this.oc.type = f.cj.ywa; + this.oc.Ml = g; + new l.bD(this.oc); }; d.prototype.sf = function (g) { - this.mc.type = f.ej.l$; - this.mc.IK = g; - new l.$C(this.mc); + this.oc.type = f.cj.d$; + this.oc.MK = g; + new l.bD(this.oc); }; - d.prototype.sVb = function (g) { + d.prototype.uVb = function (g) { if ("function" !== typeof g) - throw Error(c.Pab); + throw Error(c.Sab); this.si(g); - this.mc.type = f.ej.Function; + this.oc.type = f.cj.Function; }; - d.prototype.g5a = function (g) { - this.mc.type = f.ej.l$; - this.mc.IK = function (h) { + d.prototype.i5a = function (g) { + this.oc.type = f.cj.d$; + this.oc.MK = function (h) { return function () { return h.$a.get(g); }; }; - new l.$C(this.mc); + new l.bD(this.oc); }; - d.prototype.WW = function (g) { - this.mc.type = f.ej.mFa; - this.mc.dz = g; - new l.$C(this.mc); + d.prototype.VW = function (g) { + this.oc.type = f.cj.jFa; + this.oc.gz = g; + new l.bD(this.oc); }; - d.prototype.tVb = function (g) { - this.RC(function (h) { + d.prototype.vVb = function (g) { + this.SC(function (h) { return h.$a.get(g); }); }; return d; })(); - b.g8a = q; - }, function (q, b, a) { + b.i8a = r; + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(545); + c = a(548); f = a(192); k = a(193); - q = (function () { + r = (function () { function l(d) { - this.mc = d; - this.ZP = new k.C9(this.mc); - this.Wba = new f.QX(this.mc); - this.nIa = new c.f8a(d); + this.oc = d; + this.ZP = new k.x9(this.oc); + this.Qba = new f.PX(this.oc); + this.lIa = new c.h8a(d); } - l.prototype.$ = function () { - return this.nIa.$(); + l.prototype.aa = function () { + return this.lIa.aa(); }; - l.prototype.tla = function () { - return this.nIa.tla(); + l.prototype.ola = function () { + return this.lIa.ola(); }; l.prototype.when = function (d) { return this.ZP.when(d); }; - l.prototype.xX = function () { - return this.ZP.xX(); + l.prototype.wX = function () { + return this.ZP.wX(); }; - l.prototype.Bv = function (d) { - return this.Wba.Bv(d); + l.prototype.Hv = function (d) { + return this.Qba.Hv(d); }; return l; })(); - b.xva = q; - }, function (q, b, a) { + b.uva = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(75); - f = a(299); - q = (function () { + f = a(301); + r = (function () { function k(l) { - this.mc = l; + this.oc = l; } - k.prototype.$ = function () { - this.mc.scope = c.Hr.rba; - return new f.$C(this.mc); + k.prototype.aa = function () { + this.oc.scope = c.Kr.lba; + return new f.bD(this.oc); }; - k.prototype.tla = function () { - this.mc.scope = c.Hr.GZ; - return new f.$C(this.mc); + k.prototype.ola = function () { + this.oc.scope = c.Kr.IZ; + return new f.bD(this.oc); }; return k; })(); - b.f8a = q; - }, function (q, b) { + b.h8a = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zZb = (function () { + b.AZb = (function () { function a() {} a.of = function (c, f) { var k; k = new a(); - k.ER = c; - k.MIb = f; + k.FR = c; + k.OIb = f; return k; }; return a; })(); - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(55); - q = (function () { + r = (function () { function f() { - this.wl = new Map(); + this.vl = new Map(); } f.prototype.add = function (k, l) { var d; if (null === k || void 0 === k) - throw Error(c.sP); + throw Error(c.tP); if (null === l || void 0 === l) - throw Error(c.sP); - d = this.wl.get(k); - void 0 !== d ? (d.push(l), this.wl.set(k, d)) : this.wl.set(k, [l]); + throw Error(c.tP); + d = this.vl.get(k); + void 0 !== d ? (d.push(l), this.vl.set(k, d)) : this.vl.set(k, [l]); }; f.prototype.get = function (k) { if (null === k || void 0 === k) - throw Error(c.sP); - k = this.wl.get(k); + throw Error(c.tP); + k = this.vl.get(k); if (void 0 !== k) return k; - throw Error(c.hAa); + throw Error(c.fAa); }; f.prototype.remove = function (k) { if (null === k || void 0 === k) - throw Error(c.sP); - if (!this.wl.delete(k)) - throw Error(c.hAa); + throw Error(c.tP); + if (!this.vl.delete(k)) + throw Error(c.fAa); }; f.prototype.VUa = function (k) { if (null === k || void 0 === k) - throw Error(c.sP); - return this.wl.has(k); + throw Error(c.tP); + return this.vl.has(k); }; f.prototype.clone = function () { var k; k = new f(); - this.wl.forEach(function (l, d) { + this.vl.forEach(function (l, d) { l.forEach(function (g) { return k.add(d, g.clone()); }); @@ -61074,26 +61097,26 @@ a000.D9b = function () { }; return f; })(); - b.jbb = q; - }, function (q, b, a) { + b.mbb = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(103); - b.ad = (function () { + b.$c = (function () { return function (f) { this.id = c.id(); - this.Eqa = f; + this.yqa = f; }; })(); - b.lva = (function () { + b.iva = (function () { return function (f) { this.id = c.id(); - this.Eqa = f; + this.yqa = f; }; })(); - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -61104,29 +61127,29 @@ a000.D9b = function () { b.R = function () { return function (k) { var l; - if (Reflect.Wka(f.raa, k)) - throw Error(c.$9a); - l = Reflect.getMetadata(f.x9a, k) || []; - Reflect.wha(f.raa, l, k); + if (Reflect.Ska(f.jaa, k)) + throw Error(c.b$a); + l = Reflect.getMetadata(f.z9a, k) || []; + Reflect.qha(f.jaa, l, k); return k; }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(64); + c = a(65); f = a(88); - b.F4a = function (k, l) { + b.H4a = function (k, l) { return function (d, g, h) { var m; m = new c.Metadata(k, l); - "number" === typeof h ? f.fH(d, g, h, m) : f.OW(d, g, m); + "number" === typeof h ? f.nH(d, g, h, m) : f.NW(d, g, m); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61134,16 +61157,16 @@ a000.D9b = function () { value: !0 }); c = a(41); - f = a(64); + f = a(65); k = a(88); - b.jZa = function (l) { + b.gZa = function (l) { return function (d, g, h) { var m; - m = new f.Metadata(c.hA, l); - "number" === typeof h ? k.fH(d, g, h, m) : k.OW(d, g, m); + m = new f.Metadata(c.iA, l); + "number" === typeof h ? k.nH(d, g, h, m) : k.NW(d, g, m); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61151,16 +61174,16 @@ a000.D9b = function () { value: !0 }); c = a(41); - f = a(64); + f = a(65); k = a(88); b.optional = function () { return function (l, d, g) { var h; - h = new f.Metadata(c.GCa, !0); - "number" === typeof g ? k.fH(l, d, g, h) : k.OW(l, d, h); + h = new f.Metadata(c.ECa, !0); + "number" === typeof g ? k.nH(l, d, g, h) : k.NW(l, d, h); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61168,16 +61191,16 @@ a000.D9b = function () { value: !0 }); c = a(41); - f = a(64); + f = a(65); k = a(88); - b.cj = function () { + b.aj = function () { return function (l, d, g) { var h; h = new f.Metadata(c.RP, !0); - k.fH(l, d, g, h); + k.nH(l, d, g, h); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61185,16 +61208,16 @@ a000.D9b = function () { value: !0 }); c = a(41); - f = a(64); + f = a(65); k = a(88); - b.fG = function (l) { + b.lG = function (l) { return function (d, g, h) { var m; - m = new f.Metadata(c.rD, l); - "number" === typeof h ? k.fH(d, g, h, m) : k.OW(d, g, m); + m = new f.Metadata(c.tD, l); + "number" === typeof h ? k.nH(d, g, h, m) : k.NW(d, g, m); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61202,16 +61225,16 @@ a000.D9b = function () { value: !0 }); c = a(41); - f = a(64); + f = a(65); k = a(88); - b.PW = function (l) { + b.OW = function (l) { return function (d, g, h) { var m; - m = new f.Metadata(c.TY, l); - k.fH(d, g, h, m); + m = new f.Metadata(c.SY, l); + k.nH(d, g, h, m); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -61220,85 +61243,85 @@ a000.D9b = function () { }); c = a(55); f = a(41); - k = a(64); - b.s0a = function () { + k = a(65); + b.q0a = function () { return function (l, d) { d = new k.Metadata(f.zP, d); - if (Reflect.Wka(f.zP, l.constructor)) - throw Error(c.Hbb); - Reflect.wha(f.zP, d, l.constructor); + if (Reflect.Ska(f.zP, l.constructor)) + throw Error(c.Lbb); + Reflect.qha(f.zP, d, l.constructor); }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gZa = function (a) { + b.dZa = function (a) { return function (c) { return function () { for (var f = [], k = 0; k < arguments.length; k++) { f[k] = arguments[k]; } return f.forEach(function (l) { - return a.bind(l).tVb(c); + return a.bind(l).vVb(c); }); }; }; }; - }, function (q, b, a) { + }, function (r, b, a) { var d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C; - function c(E, F) { - E = E.mv || E.xL ? t.$Sa(F) : E.ZT ? v.iTa(F) : E.w4 ? w.RTa(F) : E.EL ? x.hUa(F) : u.GSa(F); - this.sY = E.sY; - this.O9 = E.O9; + function c(E, G) { + E = E.sv || E.AL ? u.$Sa(G) : E.XT ? v.iTa(G) : E.w4 ? w.STa(G) : E.GL ? x.hUa(G) : t.GSa(G); + this.rY = E.rY; + this.J9 = E.J9; } function f(E) { - this.Ud = E; + this.Td = E; } function k(E) { - var F; - F = m.Kaa.call(this) || this; - E.ZT ? Object.assign(F, v.hTa()) : E.w4 ? Object.assign(F, w.QTa()) : E.mv || E.xL ? Object.assign(F, t.ZSa()) : E.EL ? Object.assign(F, x.gUa()) : Object.assign(F, u.FSa(E)); - return F; + var G; + G = m.Daa.call(this) || this; + E.XT ? Object.assign(G, v.hTa()) : E.w4 ? Object.assign(G, w.RTa()) : E.sv || E.AL ? Object.assign(G, u.ZSa()) : E.GL ? Object.assign(G, x.gUa()) : Object.assign(G, t.FSa(E)); + return G; } function l(E) { - this.data = E.ZT ? v.kTa(E) : E.w4 ? w.TTa() : E.mv || E.xL ? t.bTa(E) : E.EL ? x.jUa() : u.ISa(E); + this.data = E.XT ? v.kTa(E) : E.w4 ? w.UTa() : E.sv || E.AL ? u.bTa(E) : E.GL ? x.jUa() : t.ISa(E); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.platform = b.y8a = b.x8a = b.w8a = b.v8a = void 0; - q = a(1); + b.platform = b.A8a = b.z8a = b.y8a = b.x8a = void 0; + r = a(1); d = a(0); g = a(34); h = a(131); - m = a(559); + m = a(562); n = a(161); - r = a(302); + q = a(304); p = a(195); - u = a(560); - t = a(561); - w = a(562); - v = a(563); - x = a(564); - y = a(565); - z = a(566); + t = a(563); + u = a(564); + w = a(565); + v = a(566); + x = a(567); + y = a(568); + z = a(569); Xa.Object.defineProperties(l.prototype, { version: { configurable: !0, @@ -61314,126 +61337,126 @@ a000.D9b = function () { return this.data.G5; } }, - kp: { + lp: { configurable: !0, enumerable: !0, get: function () { - return this.data.kp; + return this.data.lp; } }, - Kn: { + Ln: { configurable: !0, enumerable: !0, get: function () { - return this.data.Kn; + return this.data.Ln; } }, - SK: { + WK: { configurable: !0, enumerable: !0, get: function () { - return this.data.SK; + return this.data.WK; } }, - Wx: { + ay: { configurable: !0, enumerable: !0, get: function () { - return this.data.Wx; + return this.data.ay; } }, - Dha: { + xha: { configurable: !0, enumerable: !0, get: function () { - return this.data.Dha; + return this.data.xha; } }, - NPa: { + MPa: { configurable: !0, enumerable: !0, get: function () { - return this.data.NPa; + return this.data.MPa; } }, - ana: { + Vma: { configurable: !0, enumerable: !0, get: function () { - return this.data.ana; + return this.data.Vma; } }, - qS: { + pS: { configurable: !0, enumerable: !0, get: function () { - return this.data.qS; + return this.data.pS; } }, - $ta: { + Wta: { configurable: !0, enumerable: !0, get: function () { - return this.data.$ta; + return this.data.Wta; } }, - y0: { + A0: { configurable: !0, enumerable: !0, get: function () { - return this.data.y0; + return this.data.A0; } }, - TV: { + SV: { configurable: !0, enumerable: !0, get: function () { - return this.data.TV; + return this.data.SV; } } }); - B = l; - B = q.__decorate([d.R(), q.__param(0, d.l(n.Vz))], B); - b.v8a = B; - ka(k, m.Kaa); - A = k; - A = q.__decorate([d.R(), q.__param(0, d.l(n.Vz))], A); - b.w8a = A; + A = l; + A = r.__decorate([d.R(), r.__param(0, d.l(n.Xz))], A); + b.x8a = A; + ja(k, m.Daa); + B = k; + B = r.__decorate([d.R(), r.__param(0, d.l(n.Xz))], B); + b.y8a = B; f.prototype.apply = function () { - this.Ud.ZT ? Object.assign(this, v.jTa(this.Ud)) : this.Ud.w4 ? Object.assign(this, w.STa(this.Ud)) : this.Ud.mv || this.Ud.xL ? Object.assign(this, t.aTa(this.Ud)) : this.Ud.EL ? Object.assign(this, x.iUa(this.Ud)) : Object.assign(this, u.HSa(this.Ud)); + this.Td.XT ? Object.assign(this, v.jTa(this.Td)) : this.Td.w4 ? Object.assign(this, w.TTa(this.Td)) : this.Td.sv || this.Td.AL ? Object.assign(this, u.aTa(this.Td)) : this.Td.GL ? Object.assign(this, x.iUa(this.Td)) : Object.assign(this, t.HSa(this.Td)); return this; }; C = f; - C = q.__decorate([d.R(), q.__param(0, d.l(n.Vz))], C); - b.x8a = C; - c = q.__decorate([d.R(), q.__param(0, d.l(n.Vz)), q.__param(1, d.l(g.Kk))], c); - b.y8a = c; - b.platform = new d.ad(function (E) { - E(g.Kk).to(B).$(); - E(h.BP).to(A).$(); - E(r.aEa).to(C).$(); - E(g.kA).to(c).$(); - E(p.Laa).sf(function (F) { + C = r.__decorate([d.R(), r.__param(0, d.l(n.Xz))], C); + b.z8a = C; + c = r.__decorate([d.R(), r.__param(0, d.l(n.Xz)), r.__param(1, d.l(g.Kk))], c); + b.A8a = c; + b.platform = new d.$c(function (E) { + E(g.Kk).to(A).aa(); + E(h.BP).to(B).aa(); + E(q.ZDa).to(C).aa(); + E(g.lA).to(c).aa(); + E(p.Eaa).sf(function (G) { return function () { var D; - D = F.$a.get(n.Vz); - return D.mv || D.xL ? { - Nb: function (G, I, J) { - return new z.Kba(G, I, J); + D = G.$a.get(n.Xz); + return D.sv || D.AL ? { + Nb: function (F, J, K) { + return new z.Eba(F, J, K); }, - request: y.ZHa + request: y.XHa } - : D.EL ? { - Nb: function (G, I, J) { - return new(a(567))(G, I, J); + : D.GL ? { + Nb: function (F, J, K) { + return new(a(570))(F, J, K); }, - request: a(568) + request: a(571) } : {}; }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -61442,8 +61465,8 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kaa = void 0; - c = a(5); + b.Daa = void 0; + c = a(4); f = a(49); k = a(194); l = a(50); @@ -61456,28 +61479,28 @@ a000.D9b = function () { CURSIVE: "font-family:Lucida Handwriting,Brush Script MT,Segoe Script,Arial,Helvetica;font-weight:bolder", SMALL_CAPITALS: "font-family:Copperplate Gothic,Copperplate Gothic Bold,Copperplate,Arial,Helvetica;font-variant:small-caps;font-weight:bolder" }; - b.Kaa = function () { - this.MMa = this.RJ = k.kw.NY; - this.Ora = !0; - this.YA = []; - this.hw = []; - this.rC = this.yK = !1; - this.$v = [l.Or.P9, l.Or.Ldb, l.Or.iI]; - this.Xe = void 0; - this.gia = !0; - this.g2 = !1; - this.oR = f.ca(288E4); - this.qR = f.ca(335544320); - this.My = c.uc(15E3); - this.SHb = f.ca(6291456); - this.ML = 1E3; - this.Lfa = !0; - this.bta = d; - this.MN = f.ca(0); - this.k8 = c.uc(0); - this.TT = !0; - }; - }, function (q, b, a) { + b.Daa = function () { + this.NMa = this.UJ = k.qw.MY; + this.Hra = !0; + this.$A = []; + this.lw = []; + this.tC = this.CK = !1; + this.ew = [l.Rr.K9, l.Rr.Odb, l.Rr.qI]; + this.Ol = void 0; + this.$ha = !0; + this.h2 = !1; + this.qR = f.da(288E4); + this.rR = f.da(335544320); + this.Py = c.wc(15E3); + this.VHb = f.da(6291456); + this.OL = 1E3; + this.Efa = !0; + this.Xsa = d; + this.NN = f.da(0); + this.g8 = c.wc(0); + this.RT = !0; + }; + }, function (r, b, a) { var c, f, k; @@ -61489,20 +61512,20 @@ a000.D9b = function () { f = a(50); k = a(132); b.ISa = function (l) { - return Object.assign(Object.assign({}, k.YK()), { - kp: l.DWa ? "T" : l.wL ? "C" : "M", - Kn: l.DWa ? "NFCDTS-01-" : l.pma ? "NFCDCH-02-" : l.$la ? "NFCDCH-MC-" : l.wL ? "NFCDCH-01-" : l.rEb ? "NFCDCH-AP-" : l.sEb ? "NFCDCH-AT-" : "NFCDCH-LX-", - Wx: l.wL ? "chromeos-cadmium" : "chrome-cadmium", - TV: l.wL + return Object.assign(Object.assign({}, k.bL()), { + lp: l.BWa ? "T" : l.zL ? "C" : "M", + Ln: l.BWa ? "NFCDTS-01-" : l.jma ? "NFCDCH-02-" : l.Ula ? "NFCDCH-MC-" : l.zL ? "NFCDCH-01-" : l.uEb ? "NFCDCH-AP-" : l.vEb ? "NFCDCH-AT-" : "NFCDCH-LX-", + ay: l.zL ? "chromeos-cadmium" : "chrome-cadmium", + SV: l.zL }); }; b.FSa = function (l) { var d; - d = Object.assign(Object.assign({}, k.WK()), { - yK: !0, - rC: !0 + d = Object.assign(Object.assign({}, k.$K()), { + CK: !0, + tC: !0 }); - l.wL && (d.hw = [].concat(ca(f.O.n$), ca(f.O.k9), ca(f.O.IHa), ca(f.O.Bba), ca(f.O.Cba), ca(f.O.r$), ca(f.O.q$))); + l.zL && (d.lw = [].concat(ca(f.O.f$), ca(f.O.f9), ca(f.O.EHa), ca(f.O.vba), ca(f.O.wba), ca(f.O.j$), ca(f.O.i$))); return d; }; b.HSa = function (l) { @@ -61516,23 +61539,22 @@ a000.D9b = function () { prepareCadmium: !0, enableLdlPrefetch: !0, captureBatteryStatus: !0, - enableGetHeadersAndMediaPrefetch: !0, - enableUsingHeaderCount: !0, + enableMediaPrefetch: !0, defaultHeaderCacheSize: 15, enableSeamless: !0, - videoCapabilityDetectorType: c.Bi.LH, + videoCapabilityDetectorType: c.Bi.TH, preciseSeeking: !0, useTypescriptEme: !0, webkitDecodedFrameCountIncorrectlyReported: !0, enableCDMAttestedDescriptors: !0 }; - 67 <= l.ks && (d = Object.assign(Object.assign({}, d), { + 67 <= l.ns && (d = Object.assign(Object.assign({}, d), { enableVP9: !0 })); - 80 <= l.ks && (d = Object.assign(Object.assign({}, d), { + 80 <= l.ns && (d = Object.assign(Object.assign({}, d), { enableMediaCapabilities: !0 })); - l.wL && 89 <= l.ks && (d = Object.assign(Object.assign({}, d), { + l.zL && 89 <= l.ns && (d = Object.assign(Object.assign({}, d), { enableHEVC: !0, enablePRK: !0, enableHDR: !0, @@ -61543,9 +61565,9 @@ a000.D9b = function () { return d; }; b.GSa = function (l) { - return k.XK(l); + return k.aL(l); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -61561,85 +61583,84 @@ a000.D9b = function () { l = a(194); d = a(132); b.bTa = function (g) { - return Object.assign(Object.assign({}, d.YK()), { - kp: g.mv ? "D" : "H", - Kn: g.mv ? g.$la ? "NFCDIE-04-" : "NFCDIE-03-" : "NFCDIE-02-", - Wx: "edge-cadmium", - y0: !1, - TV: !1 + return Object.assign(Object.assign({}, d.bL()), { + lp: g.sv ? "D" : "H", + Ln: g.sv ? g.Ula ? "NFCDIE-04-" : "NFCDIE-03-" : "NFCDIE-02-", + ay: "edge-cadmium", + A0: !1, + SV: !1 }); }; b.ZSa = function () { - return Object.assign(Object.assign({}, d.WK()), { - RJ: pb.crypto ? l.kw.NY : l.kw.gAa, - MMa: pb.crypto ? l.kw.NY : l.kw.gAa, - YA: [k.je.hD, k.je.iD, k.je.wO, k.je.xO], - hw: [].concat(ca(k.O.n$), ca(k.O.k9), ca(k.O.IHa), ca(k.O.Bba), ca(k.O.Cba), ca(k.O.r$), ca(k.O.q$), ca(k.O.Xwa), ca(k.O.Wwa)), - Xe: void 0, - TT: !1 + return Object.assign(Object.assign({}, d.$K()), { + UJ: pb.crypto ? l.qw.MY : l.qw.eAa, + NMa: pb.crypto ? l.qw.MY : l.qw.eAa, + $A: [k.ke.jD, k.ke.kD, k.ke.wO, k.ke.xO], + lw: [].concat(ca(k.O.f$), ca(k.O.f9), ca(k.O.EHa), ca(k.O.vba), ca(k.O.wba), ca(k.O.j$), ca(k.O.i$), ca(k.O.Uwa), ca(k.O.Twa)), + Ol: void 0, + RT: !1 }); }; b.aTa = function (g) { var h, m, n, - r, + q, p, - u, - t; + t, + u; h = { nudgeSourceBuffer: !0, - audioCapabilityDetectorType: c.Wt.Bw, - videoCapabilityDetectorType: c.Bi.Bw, + audioCapabilityDetectorType: c.au.Hw, + videoCapabilityDetectorType: c.Bi.Hw, microsoftHwdrmRequiresHevc: !0, microsoftScreenSizeFilterEnabled: !0, addFailedLogBlobsToQueue: !1, bookmarkIgnoreBeginning: "2000" }; - m = g.xL; - n = g.mv; - r = g.pma; - p = pb.MSMediaKeys && pb.MSMediaKeys.isTypeSupported(f.Ob.lu, "video/mp4"); - u = pb.MSMediaKeys && pb.MSMediaKeys.isTypeSupported(f.Ob.df, "video/mp4"); - u = { + m = g.AL; + n = g.sv; + q = g.jma; + p = pb.MSMediaKeys && pb.MSMediaKeys.isTypeSupported(f.Pb.su, "video/mp4"); + t = pb.MSMediaKeys && pb.MSMediaKeys.isTypeSupported(f.Pb.df, "video/mp4"); + t = { prepareCadmium: !0, - enableLdlPrefetch: !p || u, + enableLdlPrefetch: !p || t, licenseRenewalRequestDelay: 5E3, - enableGetHeadersAndMediaPrefetch: !0, - enableUsingHeaderCount: !0, + enableMediaPrefetch: !0, defaultHeaderCacheSize: 15, prepareLdlCacheMaxCount: 15 }; - t = { - audioCapabilityDetectorType: c.Wt.Zt, - videoCapabilityDetectorType: c.Bi.LH, + u = { + audioCapabilityDetectorType: c.au.du, + videoCapabilityDetectorType: c.Bi.TH, microsoftScreenSizeFilterEnabled: !1, - keySystemList: [f.Ob.VHa], + keySystemList: [f.Pb.THa], useTypescriptEme: !0, licenseRenewalRequestDelay: 0, - audioProfiles: [k.je.hD, k.je.iD], - videoProfiles: [k.O.XH, k.O.gD, k.O.IO, k.O.JO], + audioProfiles: [k.ke.jD, k.ke.kD], + videoProfiles: [k.O.eI, k.O.iD, k.O.IO, k.O.JO], enableAVCHigh: !0, droppedFrameRateFilterEnabled: !0, enableCDMAttestedDescriptors: !0 }; - m && (14 <= g.ks && (h = Object.assign(Object.assign(Object.assign({}, h), u), { + m && (14 <= g.ns && (h = Object.assign(Object.assign(Object.assign({}, h), t), { microsoftEnableDeviceInfo: !0, microsoftAvcHighRequiresSwdrm: !0, enableHWDRM: !0, enableHEVC: !0, useHevcCodecForDolbyVision: !0 - })), 15 <= g.ks && (h = Object.assign(Object.assign({}, h), { + })), 15 <= g.ns && (h = Object.assign(Object.assign({}, h), { enablePRK: !0, enableDV: !0, enableHDR: !0, usePlayReadyHeaderObject: !0 - })), 16 <= g.ks && (h = Object.assign(Object.assign({}, h), { + })), 16 <= g.ns && (h = Object.assign(Object.assign({}, h), { microsoftHwdrmRequiresHevc: !1 - })), 17 <= g.ks && (h = Object.assign(Object.assign({}, h), { + })), 17 <= g.ns && (h = Object.assign(Object.assign({}, h), { enableDDPlusAtmos: !0 }))); - n && (h = Object.assign(Object.assign({}, h), u), r && (h = Object.assign(Object.assign({}, h), { + n && (h = Object.assign(Object.assign({}, h), t), q && (h = Object.assign(Object.assign({}, h), { webkitDecodedFrameCountIncorrectlyReported: !0, noRenderTimeoutMilliseconds: 1E4 })), p ? (h = Object.assign(Object.assign({}, h), { @@ -61653,39 +61674,39 @@ a000.D9b = function () { usePlayReadyHeaderObject: !0, microsoftHwdrmRequiresHevc: !1, enableDDPlusAtmos: !0 - }), 93 <= g.ks && (h = Object.assign(Object.assign({}, h), { - keySystemList: [f.Ob.mdb, f.Ob.ndb], + }), 94 <= g.ns && (h = Object.assign(Object.assign({}, h), { + keySystemList: [f.Pb.pdb, f.Pb.qdb], useTypescriptEme: !0, enableCDMAttestedDescriptors: !0 - }))) : h = Object.assign(Object.assign({}, h), t)); + }))) : h = Object.assign(Object.assign({}, h), u)); return h; }; b.$Sa = function (g) { - return d.XK(g); + return d.aL(g); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.RTa = b.STa = b.QTa = b.TTa = void 0; + b.STa = b.TTa = b.RTa = b.UTa = void 0; c = a(25); f = a(132); - b.TTa = function () { - return Object.assign(Object.assign({}, f.YK()), { - kp: "O", - Kn: "NFCDOP-01-", - Wx: "opera-cadmium" + b.UTa = function () { + return Object.assign(Object.assign({}, f.bL()), { + lp: "O", + Ln: "NFCDOP-01-", + ay: "opera-cadmium" }); }; - b.QTa = function () { - return Object.assign(Object.assign({}, f.WK()), { - yK: !0, - rC: !0 + b.RTa = function () { + return Object.assign(Object.assign({}, f.$K()), { + CK: !0, + tC: !0 }); }; - b.STa = function (k) { + b.TTa = function (k) { var l; l = { droppedFrameRateFilterEnabled: !0, @@ -61696,25 +61717,24 @@ a000.D9b = function () { prepareCadmium: !0, enableLdlPrefetch: !0, captureBatteryStatus: !0, - enableGetHeadersAndMediaPrefetch: !0, - enableUsingHeaderCount: !0, + enableMediaPrefetch: !0, defaultHeaderCacheSize: 15, enableSeamless: !0, - videoCapabilityDetectorType: c.Bi.LH, + videoCapabilityDetectorType: c.Bi.TH, preciseSeeking: !0, useTypescriptEme: !0, webkitDecodedFrameCountIncorrectlyReported: !0, enableCDMAttestedDescriptors: !0 }; - 67 <= k.ks && (l = Object.assign(Object.assign({}, l), { + 67 <= k.ns && (l = Object.assign(Object.assign({}, l), { enableVP9: !0 })); return l; }; - b.RTa = function (k) { - return f.XK(k); + b.STa = function (k) { + return f.aL(k); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -61724,16 +61744,16 @@ a000.D9b = function () { c = a(25); f = a(132); b.kTa = function (k) { - return Object.assign(Object.assign({}, f.YK()), { - kp: "F", - Kn: k.$la ? "NFCDFF-MC-" : k.pma ? "NFCDFF-02-" : "NFCDFF-LX-", - Wx: "firefox-cadmium" + return Object.assign(Object.assign({}, f.bL()), { + lp: "F", + Ln: k.Ula ? "NFCDFF-MC-" : k.jma ? "NFCDFF-02-" : "NFCDFF-LX-", + ay: "firefox-cadmium" }); }; b.hTa = function () { - return Object.assign(Object.assign({}, f.WK()), { - yK: !0, - rC: !0 + return Object.assign(Object.assign({}, f.$K()), { + CK: !0, + tC: !0 }); }; b.jTa = function (k) { @@ -61742,26 +61762,25 @@ a000.D9b = function () { droppedFrameRateFilterEnabled: !0, promiseBasedEme: !0, defaultHeaderCacheSize: 15, - enableGetHeadersAndMediaPrefetch: !0, + enableMediaPrefetch: !0, enableLdlPrefetch: !0, - enableUsingHeaderCount: !0, prepareCadmium: !0, enableSeamless: !0, waitForDrmToAppendMedia: !0, - videoCapabilityDetectorType: c.Bi.LH, + videoCapabilityDetectorType: c.Bi.TH, useTypescriptEme: !0, enableCDMAttestedDescriptors: !0 }; - 58 <= k.ks && (l = Object.assign(Object.assign({}, l), { + 58 <= k.ns && (l = Object.assign(Object.assign({}, l), { enableVP9: !0, preciseSeeking: !0 })); return l; }; b.iTa = function (k) { - return f.XK(k); + return f.aL(k); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -61771,24 +61790,24 @@ a000.D9b = function () { value: !0 }); b.hUa = b.iUa = b.gUa = b.jUa = void 0; - c = a(5); + c = a(4); f = a(25); k = a(104); l = a(50); d = a(132); b.jUa = function () { - return Object.assign(Object.assign({}, d.YK()), { - kp: "S", - Kn: "NFCDSF-01-", - Wx: "safari-cadmium" + return Object.assign(Object.assign({}, d.bL()), { + lp: "S", + Ln: "NFCDSF-01-", + ay: "safari-cadmium" }); }; b.gUa = function () { - return Object.assign(Object.assign({}, d.WK()), { - YA: [l.je.hD, l.je.iD, l.je.EI], - hw: [].concat(ca(l.O.n$), ca(l.O.k9), ca(l.O.Bba), ca(l.O.Cba), ca(l.O.r$), ca(l.O.q$), ca(l.O.Xwa), ca(l.O.Wwa)), - Xe: k.Ob.I$a, - My: c.uc(7E3) + return Object.assign(Object.assign({}, d.$K()), { + $A: [l.ke.jD, l.ke.kD, l.ke.WD], + lw: [].concat(ca(l.O.f$), ca(l.O.f9), ca(l.O.vba), ca(l.O.wba), ca(l.O.j$), ca(l.O.i$), ca(l.O.Uwa), ca(l.O.Twa)), + Ol: k.Pb.L$a, + Py: c.wc(7E3) }); }; b.iUa = function (g) { @@ -61808,20 +61827,19 @@ a000.D9b = function () { fatalOnUnexpectedSeeked: !1, waitForDrmToAppendMedia: !0, forceAppendHeadersAfterDrm: !0, - videoCapabilityDetectorType: f.Bi.Zt, + videoCapabilityDetectorType: f.Bi.du, enableSeamless: !0 }; - d.aU(g, 10, 12, 2) && (h = Object.assign(Object.assign({}, h), { + d.$T(g, 10, 12, 2) && (h = Object.assign(Object.assign({}, h), { keySystemId: "com.apple.fps.3_0", - enableGetHeadersAndMediaPrefetch: !0, + enableMediaPrefetch: !0, defaultHeaderCacheSize: 15, - enableUsingHeaderCount: !0, prepareCadmium: !0 })); - d.aU(g, 10, 13, 6) && (h = Object.assign(Object.assign({}, h), { + d.$T(g, 10, 13, 6) && (h = Object.assign(Object.assign({}, h), { enableLdlPrefetch: !0 })); - d.aU(g, 10, 15, 5) && (h = Object.assign(Object.assign({}, h), { + d.$T(g, 10, 15, 5) && (h = Object.assign(Object.assign({}, h), { useTypescriptEme: !0, useEncryptedEvent: !1, enablePRK: !0, @@ -61836,51 +61854,51 @@ a000.D9b = function () { powerEfficientForVideo: !0, preciseSeeking: !0 })); - d.aU(g, 10, 15, 6) && (h = Object.assign(Object.assign({}, h), { + d.$T(g, 10, 15, 6) && (h = Object.assign(Object.assign({}, h), { keyStatusFilterEnabled: !0, hdcpEngagementWaitTime: 8E3, enableUHD: !0 })); - d.IWa(g, 9) && (h = Object.assign(Object.assign({}, h), { + d.GWa(g, 9) && (h = Object.assign(Object.assign({}, h), { maxDecoderBufferMilliseconds: 31E3 })); return h; }; b.hUa = function (g) { - return d.XK(g); + return d.aL(g); }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l, d, g) { this.log = k; - this.yF = l; - this.jz = d; + this.CF = l; + this.mz = d; this.context = g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZHa = void 0; + b.XHa = void 0; f = a(3); - c.prototype.ig = function (k) { + c.prototype.hg = function (k) { var l; l = this; - (this.context.We || this.context.qk) && this.log.trace("Requesting license", { - drmType: k.Jn + (this.context.Ye || this.context.qk) && this.log.trace("Requesting license", { + drmType: k.Kn }); - return this.yF(k).catch(function (d) { + return this.CF(k).catch(function (d) { l.log.error("Unable to get the Playready license", d); - if (l.context.e8b) + if (l.context.x8b) throw d; throw { - X: !1, - code: f.L.cI, - jc: d.jc, + W: !1, + code: f.M.kI, + kc: d.kc, wd: d.wd, - Bm: d.Bm, - Dj: d.message || d.Dj, - EK: d.data, - message: "Unable to send the Playready license request. " + (d.message || d.Dj) + zm: d.zm, + Cj: d.message || d.Cj, + IK: d.data, + message: "Unable to send the Playready license request. " + (d.message || d.Cj) }; }); }; @@ -61888,28 +61906,28 @@ a000.D9b = function () { var l; l = this; this.log.trace("Requesting stop data"); - return this.jz(k).catch(function (d) { + return this.mz(k).catch(function (d) { l.log.error("Unable to release the PlayReady license ", { code: d.code, - subCode: d.jc, + subCode: d.kc, extCode: d.wd, - edgeCode: d.Bm, - message: d.message || d.Dj + edgeCode: d.zm, + message: d.message || d.Cj }); throw { - X: !1, - code: f.L.eba, - jc: d.jc, + W: !1, + code: f.M.Zaa, + kc: d.kc, wd: d.wd, - Bm: d.Bm, - Dj: d.message || d.Dj, - message: "Unable to release the PlayReady license. " + (d.message || d.Dj) + zm: d.zm, + Cj: d.message || d.Cj, + message: "Unable to release the PlayReady license. " + (d.message || d.Cj) }; }); }; - b.ZHa = c; + b.XHa = c; pb._cad_global.WindowsDrmRequests = c; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -61921,7 +61939,7 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Kba = void 0; + b.Eba = void 0; c = a(3); f = a(191); k = a(196); @@ -61929,681 +61947,681 @@ a000.D9b = function () { d = a(76); g = a(35); h = a(25); - m = a(65); + m = a(66); (function () { var z; - function n(B, A, C) { + function n(A, B, C) { var E; E = this; - this.log = B; - this.Sm = A || y.bind(this); + this.log = A; + this.Rm = B || y.bind(this); this.context = C; - this.rV = this.challenge = this.keySystem = this.keySessionId = this.tb = this.mediaKeys = void 0; + this.qV = this.challenge = this.keySystem = this.keySessionId = this.wb = this.mediaKeys = void 0; this.bd = {}; - this.Oma = this.Csa = !1; - this.eV = t.bind(this); - this.rV = void 0; - this.fua = new Promise(function (F, D) { - E.dra = F; - E.Fqa = D; - }); - this.fua.catch(function (F) { - E.log.error("wait for license rejected", F); - }); - f.jd.get(h.qw).W2().then(function (F) { - (E.context.We || E.context.qk) && E.log.debug("DRIVERINFO: ", F); - }).catch(function (F) { - E.log.error("DRIVERINFO", F); + this.Ima = this.wsa = !1; + this.dV = u.bind(this); + this.qV = void 0; + this.cua = new Promise(function (G, D) { + E.Yqa = G; + E.zqa = D; + }); + this.cua.catch(function (G) { + E.log.error("wait for license rejected", G); + }); + f.kd.get(h.xw).Y2().then(function (G) { + (E.context.Ye || E.context.qk) && E.log.debug("DRIVERINFO: ", G); + }).catch(function (G) { + E.log.error("DRIVERINFO", G); }); - this.Rm = function (F, D) { - E.Fqa(F, D); - E.context.onerror(F, D); + this.Qm = function (G, D) { + E.zqa(G, D); + E.context.onerror(G, D); }; - this.Toa = function () { - E.dra(); + this.Ooa = function () { + E.Yqa(); }; if (!(this instanceof n)) throw new TypeError("EmeSession constructor not called correctly."); } - function r() { - return f.jd.get(g.Rh); + function q() { + return f.kd.get(g.Rh); } function p() { - return f.jd.get(l.Hf); + return f.kd.get(l.If); } - function u(B) { - var A, + function t(A) { + var B, C; - A = f.jd.get(k.uba); + B = f.kd.get(k.oba); C = ""; - B.forEach(function (E) { + A.forEach(function (E) { C += "" + E + ""; }); - B = '' + C + ""; - A = new Uint8Array(A.o4a(B)); - (this.context.We || this.context.qk) && this.log.trace("LICENSE: proactive license cdm data", { - xml: B, - b64: r().encode(A) + A = '' + C + ""; + B = new Uint8Array(B.q4a(A)); + (this.context.Ye || this.context.qk) && this.log.trace("LICENSE: proactive license cdm data", { + xml: A, + b64: q().encode(B) }); - return A; + return B; } - function t(B) { - var A; - A = B.target.error ? B.target.error.msExtendedCode : void 0; - this.log.error("Received " + B.type + " event", { - sessionId: this.tb.sessionId, - systemCode: A + function u(A) { + var B; + B = A.target.error ? A.target.error.msExtendedCode : void 0; + this.log.error("Received " + A.type + " event", { + sessionId: this.wb.sessionId, + systemCode: B }); if (this.context.onerror) - this.context.onerror(z.af.oq, z.oA.Kr, A); - this.tb = void 0; + this.context.onerror(z.bf.qq, z.qA.Nr, B); + this.wb = void 0; } - function w(B, A, C) { - var F, + function w(A, B, C) { + var G, D, - G; + F; for (var E = 2; E < arguments.length; ++E) { ; } E = ""; - D = B.length; - for (F = 0; F < D; F++) { - G = B[F]; - 0 < G && (E += String.fromCharCode(G)); + D = A.length; + for (G = 0; G < D; G++) { + F = A[G]; + 0 < F && (E += String.fromCharCode(F)); } D = "\\s*(.*)\\s*"; - for (F = arguments.length - 1; 0 < F; F--) { - G = arguments[F]; - if (0 > E.search(G)) + for (G = arguments.length - 1; 0 < G; G--) { + F = arguments[G]; + if (0 > E.search(F)) return; - G = "(?:[^:].*:|)" + G; - D = "[\\s\\S]*<" + G + "[^>]*>" + D + "[\\s\\S]*"; + F = "(?:[^:].*:|)" + F; + D = "[\\s\\S]*<" + F + "[^>]*>" + D + "[\\s\\S]*"; } if (E = E.match(new RegExp(D))) return E[1]; } - function v(B, A, C, E) { - var F, + function v(A, B, C, E) { + var G, D; - F = B.target && B.target.sessionId; - D = r().decode(w(B.message, "PlayReadyKeyMessage", "Challenge")); + G = A.target && A.target.sessionId; + D = q().decode(w(A.message, "PlayReadyKeyMessage", "Challenge")); C.state = 12; - C.log.trace("LICENSE: Received " + B.type + " event", { - keySystem: B.target && B.target.keySystem, - sessionId: F + C.log.trace("LICENSE: Received " + A.type + " event", { + keySystem: A.target && A.target.keySystem, + sessionId: G }); - (C.context.We || C.context.qk || C.context.Kz) && C.log.debug("LICENSE: License challenge", r().encode(D)); - C.keySessionId = F; - B = { - Qf: A, + (C.context.Ye || C.context.qk || C.context.Nz) && C.log.debug("LICENSE: License challenge", q().encode(D)); + C.keySessionId = G; + A = { + Rf: B, messageType: "license-request", - Jn: (/clearkey/i).test(C.keySystem) ? "clearkey" : "playready", - zj: [{ + Kn: (/clearkey/i).test(C.keySystem) ? "clearkey" : "playready", + xj: [{ data: D, - sessionId: F + sessionId: G } ] }; - 12 === C.state && (C.Sm("lc"), D = { + 12 === C.state && (C.Rm("lc"), D = { data: D, - Jn: (/clearkey/i).test(C.keySystem) ? "clearkey" : "playready" - }, C.context.rG || (C.rV = D)); - C.context.ml.ig(B).then(function (G) { - if (12 === C.state && (C.Sm("lr"), C.Toa(), !C.context.rG)) - (C.sV = G.Ni[0].data, C.state = 13, E({ - X: !0, + Kn: (/clearkey/i).test(C.keySystem) ? "clearkey" : "playready" + }, C.context.xG || (C.qV = D)); + C.context.ll.hg(A).then(function (F) { + if (12 === C.state && (C.Rm("lr"), C.Ooa(), !C.context.xG)) + (C.rV = F.Ki[0].data, C.state = 13, E({ + W: !0, state: C.state })); - else if (C.tb) - return x(C, G.Ni[0].data, C.tb).then(function () { + else if (C.wb) + return x(C, F.Ki[0].data, C.wb).then(function () { C.state = 30; E({ - X: !0, + W: !0, state: C.state }); }); - }).catch(function (G) { - E(p().cG(G, { + }).catch(function (F) { + E(p().iG(F, { state: C.state })); }); } - function x(B, A, C) { - B.o4() && B.log.trace("LICENSE: Got the response, calling update", { + function x(A, B, C) { + A.p4() && A.log.trace("LICENSE: Got the response, calling update", { sessionId: C.sessionId, - license: r().encode(A) + license: q().encode(B) }); - return new Promise(function (E, F) { + return new Promise(function (E, G) { try { - B.tb.update(A); + A.wb.update(B); E(void 0); - B.o4() && B.log.trace("LICENSE: Update succeeded", { + A.p4() && A.log.trace("LICENSE: Update succeeded", { sessionId: C.sessionId }); } catch (D) { - F({ - X: !1, - code: z.af.fZ, + G({ + W: !1, + code: z.bf.eZ, message: "Unable to update the EME.", - sb: p().vd(D) + qb: p().vd(D) }); } }); } - function y(B) { - this.context.wa && (this.bd[B] = this.context.wa.getTime(), this.log.trace("Milestone: " + B + ", " + this.bd[B])); + function y(A) { + this.context.xa && (this.bd[A] = this.context.xa.getTime(), this.log.trace("Milestone: " + A + ", " + this.bd[A])); } z = {}; - z.af = c.L; - z.oA = c.M; - n.prototype.Pq = function () { + z.bf = c.M; + z.qA = c.L; + n.prototype.Ls = function () { return this.keySystem; }; - n.prototype.a6a = function (B, A) { - B.log && (this.log = B.log); - B.Sm && (this.Sm = B.Sm); - A.ml && (this.context.ml = A.ml); - A.onerror && (this.context.onerror = A.onerror); + n.prototype.c6a = function (A, B) { + A.log && (this.log = A.log); + A.Rm && (this.Rm = A.Rm); + B.ll && (this.context.ll = B.ll); + B.onerror && (this.context.onerror = B.onerror); }; - n.prototype.create = function (B) { - var A; - A = this; - return (B ? Promise.resolve(B) : f.jd.get(h.qw).Pq()).then(function (C) { - A.Sm("lg"); - A.log.trace("Creating the media keys", { + n.prototype.create = function (A) { + var B; + B = this; + return (A ? Promise.resolve(A) : f.kd.get(h.xw).Ls()).then(function (C) { + B.Rm("lg"); + B.log.trace("Creating the media keys", { keySystem: C }); - A.keySystem = C; + B.keySystem = C; try { if (!pb.MSMediaKeys.isTypeSupported(C, "video/mp4")) return Promise.reject({ - code: z.af.xP + code: z.bf.paa }); } catch (E) { return Promise.reject({ - code: z.af.xP + code: z.bf.paa }); } - if (A.context.EV) + if (B.context.DV) C = Promise.reject({ - X: !1, - code: z.af.EO, + W: !1, + code: z.bf.EO, message: "Promise based EME is currently not supported for Internet Explorer" }); else a: { try { - A.mediaKeys = new pb.MSMediaKeys(C); + B.mediaKeys = new pb.MSMediaKeys(C); } catch (E) { C = Promise.reject({ - X: !1, - code: z.af.TCa, + W: !1, + code: z.bf.QCa, message: "create MSMediaKeys(" + C + ") failed", - sb: p().vd(E) + qb: p().vd(E) }); break a; } try { - A.context.la && A.context.la.msSetMediaKeys(A.mediaKeys); + B.context.la && B.context.la.msSetMediaKeys(B.mediaKeys); } catch (E) { C = Promise.reject({ - X: !1, - code: z.af.mI, + W: !1, + code: z.bf.tI, message: "set MSMediaKeys failed", - sb: p().vd(E) + qb: p().vd(E) }); break a; } C = Promise.resolve({ - X: !0, - mediaKeys: A.mediaKeys + W: !0, + mediaKeys: B.mediaKeys }); } return C; }); }; n.prototype.close = function () { - if (this.tb) { + if (this.wb) { this.log.info("Closing the session", { - sessionId: this.tb.sessionId + sessionId: this.wb.sessionId }); - this.tb.removeEventListener("mskeyerror", this.eV); + this.wb.removeEventListener("mskeyerror", this.dV); try { - this.tb.close(); - } catch (B) { - this.log.error("Failed to close the key sessions", B); + this.wb.close(); + } catch (A) { + this.log.error("Failed to close the key sessions", A); } - this.tb = void 0; + this.wb = void 0; } }; - n.prototype.ig = function (B, A, C) { + n.prototype.hg = function (A, B, C) { var E; - if (1 < A.length) + if (1 < B.length) return Promise.reject({ - code: z.af.ZCa + code: z.bf.VCa }); - if (0 === A.length) + if (0 === B.length) return Promise.reject({ - code: z.af.XCa + code: z.bf.UCa }); - A = A[0]; + B = B[0]; E = this; - E.context.We && E.log.trace("LICENSE: Setting license"); - return E.context.EV ? Promise.reject({ - X: !1, - code: z.af.Sxa, + E.context.Ye && E.log.trace("LICENSE: Setting license"); + return E.context.DV ? Promise.reject({ + W: !1, + code: z.bf.Oxa, message: "Promise based EME is currently not supported for Internet Explorer" }) : (function () { - return new Promise(function (F, D) { - var G, - I, + return new Promise(function (G, D) { + var F, J, + K, H, - M, - O, - L; + L, + Q, + I; try { - I = function (P) { - E.tb && (E.tb.removeEventListener("mskeymessage", H), E.tb.removeEventListener("mskeyadded", M), E.tb.removeEventListener("mskeyerror", O), E.tb.addEventListener("mskeyerror", E.eV)); - P.state = 11; - P.X ? F(P) : (E.close(), D(P)); + J = function (O) { + E.wb && (E.wb.removeEventListener("mskeymessage", H), E.wb.removeEventListener("mskeyadded", L), E.wb.removeEventListener("mskeyerror", Q), E.wb.addEventListener("mskeyerror", E.dV)); + O.state = 11; + O.W ? G(O) : (E.close(), D(O)); }; - J = function (P) { - var R, - K; - R = []; - K = Array.prototype.map.call(P, function (N) { - return N ? String.fromCharCode(N) : ""; + K = function (O) { + var N, + M; + N = []; + M = Array.prototype.map.call(O, function (R) { + return R ? String.fromCharCode(R) : ""; }).join("").match(/(.+?)<\/KID>/); - if (K) - R.push(K[1]); + if (M) + N.push(M[1]); else { - P = w(P, "KIDS"); - K = /VALUE="(.+?)">/g; - for (var Q = K.exec(P); null != Q; ) { - R.push(Q[1]); - Q = K.exec(P); + O = w(O, "KIDS"); + M = /VALUE="(.+?)">/g; + for (var P = M.exec(O); null != P; ) { + N.push(P[1]); + P = M.exec(O); } } - return R; + return N; }; - H = function (P) { - G && clearTimeout(G); - v(P, B, E, I); + H = function (O) { + F && clearTimeout(F); + v(O, A, E, J); }; - M = function (P) { - (E.context.We || E.context.qk) && E.log.trace("LICENSE: Received " + P.type + " event", { - keySystem: P.target.keySystem, - sessionId: P.target.sessionId + L = function (O) { + (E.context.Ye || E.context.qk) && E.log.trace("LICENSE: Received " + O.type + " event", { + keySystem: O.target.keySystem, + sessionId: O.target.sessionId }); - I({ - X: !0 + J({ + W: !0 }); }; - O = function (P) { - var R, - K; - G && clearTimeout(G); - if (P.target && P.target.error) - (R = P.target.error.systemCode, K = P.target.error.code); - R = { - code: z.af.oq, - jc: z.oA.Kr, - wd: R ? f.jd.get(d.lw).rF(R, 4) : K, - details: p().vd(P), - cause: P.target && P.target.error, - c8: R, - n2: K + Q = function (O) { + var N, + M; + F && clearTimeout(F); + if (O.target && O.target.error) + (N = O.target.error.systemCode, M = O.target.error.code); + N = { + code: z.bf.qq, + kc: z.qA.Nr, + wd: N ? f.kd.get(d.rw).vF(N, 4) : M, + details: p().vd(O), + cause: O.target && O.target.error, + Y7: N, + o2: M }; - E.log.error("LICENSE: Received " + P.type + " event", { - sessionId: E.tb && E.tb.sessionId, - keySystem: P.target.keySystem, - systemCode: R.c8, - code: R.n2 + E.log.error("LICENSE: Received " + O.type + " event", { + sessionId: E.wb && E.wb.sessionId, + keySystem: O.target.keySystem, + systemCode: N.Y7, + code: N.o2 }); - E.Sm("le"); - E.Rm && E.Rm(z.af.oq, R); - I({ - X: !1, - code: z.af.oq, - jc: z.oA.Kr, - wd: R.wd, + E.Rm("le"); + E.Qm && E.Qm(z.bf.qq, N); + J({ + W: !1, + code: z.bf.qq, + kc: z.qA.Nr, + wd: N.wd, message: "Received a key error.", - sb: R.details, - cause: R.cause + qb: N.details, + cause: N.cause }); }; E.log.trace("LICENSE: Executing prefix based EME"); - (E.context.We || E.context.qk) && E.log.debug("LICENSE: PSSH", r().encode(A)); - E.nv || (E.nv = J(A)); + (E.context.Ye || E.context.qk) && E.log.debug("LICENSE: PSSH", q().encode(B)); + E.tv || (E.tv = K(B)); if (C) { - L = u.call(E, E.nv); - E.tb = E.mediaKeys.createSession("video/mp4", new Uint8Array(0), L); + I = t.call(E, E.tv); + E.wb = E.mediaKeys.createSession("video/mp4", new Uint8Array(0), I); } else - E.tb = E.mediaKeys.createSession("video/mp4", A, null); - (E.context.We || E.context.qk) && E.log.debug("LICENSE: Created the media keys sessions", { - keySystem: E.tb.keySystem, - sessionId: E.tb.sessionId + E.wb = E.mediaKeys.createSession("video/mp4", B, null); + (E.context.Ye || E.context.qk) && E.log.debug("LICENSE: Created the media keys sessions", { + keySystem: E.wb.keySystem, + sessionId: E.wb.sessionId }); - E.tb.addEventListener("mskeymessage", H); - E.tb.addEventListener("mskeyadded", M); - E.tb.addEventListener("mskeyerror", O); - E.context.jGb && (G = setTimeout(function () { - I({ - X: !1, - code: z.af.yP, - jc: z.oA.u$a + E.wb.addEventListener("mskeymessage", H); + E.wb.addEventListener("mskeyadded", L); + E.wb.addEventListener("mskeyerror", Q); + E.context.lGb && (F = setTimeout(function () { + J({ + W: !1, + code: z.bf.yP, + kc: z.qA.x$a }); - }, E.context.jGb)); - } catch (P) { + }, E.context.lGb)); + } catch (O) { D({ - code: z.af.yP, - jc: z.oA.fj + code: z.bf.yP, + kc: z.qA.dj }); } }); })(); }; - n.prototype.CG = function () { - var B; - (this.context.We || this.context.qk) && this.log.trace("LICENSE: Renewing license"); - B = [new Uint8Array(0)]; - return this.ig(m.gq.L$.Co, B, !0); + n.prototype.JG = function () { + var A; + (this.context.Ye || this.context.qk) && this.log.trace("LICENSE: Renewing license"); + A = [new Uint8Array(0)]; + return this.hg(m.iq.D$.Do, A, !0); }; - n.prototype.C0 = function (B) { - this.sV || this.log.error("pending license must exist at this point"); - this.context.rG = !0; + n.prototype.E0 = function (A) { + this.rV || this.log.error("pending license must exist at this point"); + this.context.xG = !0; try { - B && (this.context.la = B, this.context.la.msSetMediaKeys(this.mediaKeys)); - } catch (A) { + A && (this.context.la = A, this.context.la.msSetMediaKeys(this.mediaKeys)); + } catch (B) { return Promise.reject({ - X: !1, - code: z.af.mI, + W: !1, + code: z.bf.tI, message: "setMediaKeys failed", - sb: p().vd(A) + qb: p().vd(B) }); } - return x(this, this.sV, this.tb); + return x(this, this.rV, this.wb); }; - n.prototype.qRa = function (B) { - var A, + n.prototype.pRa = function (A) { + var B, C; - A = this; - A.log.trace("Releasing the license of current session", JSON.stringify(B)); + B = this; + B.log.trace("Releasing the license of current session", JSON.stringify(A)); C = { - ba: B.ba, - ee: B.ee + ca: A.ca, + ce: A.ce }; - return new Promise(function (E, F) { + return new Promise(function (E, G) { (function () { - A.context.ml.release.call(A.context.ml, C).then(function () { + B.context.ll.release.call(B.context.ll, C).then(function () { var D; - A.log.trace("successfully released the license", JSON.stringify(B)); + B.log.trace("successfully released the license", JSON.stringify(A)); D = { - X: !0 + W: !0 }; - A.close(); - D.X ? E(D) : F(D); + B.close(); + D.W ? E(D) : G(D); }).catch(function (D) { - A.log.error("Unable to release the license", { - sessionId: A.keySessionId, + B.log.error("Unable to release the license", { + sessionId: B.keySessionId, code: D.code, - subCode: D.jc, + subCode: D.kc, extCode: D.wd, - edgeCode: D.Bm, - message: D.Dj + edgeCode: D.zm, + message: D.Cj }); - A.close(); - D.X ? E(D) : F(D); + B.close(); + D.W ? E(D) : G(D); }); })(); }); }; - n.prototype.o4 = function () { - return this.context.We || this.context.qk; + n.prototype.p4 = function () { + return this.context.Ye || this.context.qk; }; - b.Kba = n; - pb._cad_global.WindowsEmeSession = b.Kba; + b.Eba = n; + pb._cad_global.WindowsEmeSession = b.Eba; })(); - }, function (q, b, a) { + }, function (r, b, a) { var v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I; - function c(J, H, M) { - var O; - O = this; - this.log = J; - this.Sm = H || w.bind(this); - this.context = M; - this.rV = this.challenge = this.keySystem = this.keySessionId = this.mediaKeys = void 0; + D, + F, + J; + function c(K, H, L) { + var Q; + Q = this; + this.log = K; + this.Rm = H || w.bind(this); + this.context = L; + this.qV = this.challenge = this.keySystem = this.keySessionId = this.mediaKeys = void 0; this.bd = {}; - this.Oi = void 0; + this.Mi = void 0; this.url = ""; - this.Oma = this.Csa = !1; - this.eV = m.bind(this); - this.mg = this.rV = void 0; - this.fua = new Promise(function (L, P) { - O.dra = L; - O.Fqa = P; + this.Ima = this.wsa = !1; + this.dV = m.bind(this); + this.kg = this.qV = void 0; + this.cua = new Promise(function (I, O) { + Q.Yqa = I; + Q.zqa = O; }); - this.Rm = function (L, P) { - O.Fqa(L, P); - O.context.onerror(L, P); + this.Qm = function (I, O) { + Q.zqa(I, O); + Q.context.onerror(I, O); }; - this.Toa = function () { - O.dra(); + this.Ooa = function () { + Q.Yqa(); }; if (!(this instanceof c)) throw new TypeError("EmeSession constructor not called correctly."); } function f() { - return v.ha.get(B.ru); + return v.ha.get(A.wu); } function k() { return v.ha.get(z.Rh); } function l() { - return v.ha.get(x.Hf); + return v.ha.get(x.If); } - function d(J) { - return (/com.apple.fps/).test(J) && !(/com.apple.fps.2_0/).test(J); + function d(K) { + return (/com.apple.fps/).test(K) && !(/com.apple.fps.2_0/).test(K); } - function g(J) { + function g(K) { var H; - J = (function (M) { - var L, - P; - function O(R, K, Q, N) { - var da, - na; - da = new Uint8Array("piff" == K ? 88 : 72); - na = new D.AO(da); - na.Qz(12); - na.Pz("frma"); - na.Pz(R); - na.Qz(20); - na.Pz("schm"); - na.CX(0); - na.CX(0); - na.Pz(K); - na.Qz(Q); - "piff" == K ? (na.Qz(56), na.Pz("schi"), na.Qz(48), na.Pz("uuid"), na.BX([137, 116, 219, 206, 123, 231, 76, 81, 132, 249, 113, 72, 249, 136, 37, 84])) : (na.Qz(40), na.Pz("schi"), na.Qz(32), na.Pz("tenc")); - na.CX(0); - na.CX(0); - na.Qz(264); - na.BX(N); - return da; - } - L = O("avc1", "piff", 65537, M); + K = (function (L) { + var I, + O; + function Q(N, M, P, R) { + var ea, + pa; + ea = new Uint8Array("piff" == M ? 88 : 72); + pa = new D.AO(ea); + pa.Sz(12); + pa.Rz("frma"); + pa.Rz(N); + pa.Sz(20); + pa.Rz("schm"); + pa.BX(0); + pa.BX(0); + pa.Rz(M); + pa.Sz(P); + "piff" == M ? (pa.Sz(56), pa.Rz("schi"), pa.Sz(48), pa.Rz("uuid"), pa.AX([137, 116, 219, 206, 123, 231, 76, 81, 132, 249, 113, 72, 249, 136, 37, 84])) : (pa.Sz(40), pa.Rz("schi"), pa.Sz(32), pa.Rz("tenc")); + pa.BX(0); + pa.BX(0); + pa.Sz(264); + pa.AX(R); + return ea; + } + I = Q("avc1", "piff", 65537, L); + I = f().decode(k().encode(I)); + L = Q("avc1", F.vw, 65536, L); L = f().decode(k().encode(L)); - M = O("avc1", G.Xz, 65536, M); - M = f().decode(k().encode(M)); - P = new Uint8Array(7 + L.length + 8 + M.length + 5); - P.set([91, 10, 32, 32, 32, 32, 34], 0); - P.set(L, 7); - P.set([34, 44, 10, 32, 32, 32, 32, 34], 7 + L.length); - P.set(M, 7 + L.length + 8); - P.set([34, 10, 32, 32, 93], 7 + L.length + 8 + M.length); - return P; - })(J); - H = new Uint8Array(13 + J.length + 2); + O = new Uint8Array(7 + I.length + 8 + L.length + 5); + O.set([91, 10, 32, 32, 32, 32, 34], 0); + O.set(I, 7); + O.set([34, 44, 10, 32, 32, 32, 32, 34], 7 + I.length); + O.set(L, 7 + I.length + 8); + O.set([34, 10, 32, 32, 93], 7 + I.length + 8 + L.length); + return O; + })(K); + H = new Uint8Array(13 + K.length + 2); H.set([123, 10, 32, 32, 34, 115, 105, 110, 102, 34, 32, 58, 32]); - H.set(J, 13); - H.set([10, 125], 13 + J.length); + H.set(K, 13); + H.set([10, 125], 13 + K.length); return H; } - function h(J) { + function h(K) { var H; - J = J.subarray(14, 30); - J = String.fromCharCode.apply(null, J); - J = k().decode(J); - J = J.subarray(4); + K = K.subarray(14, 30); + K = String.fromCharCode.apply(null, K); + K = k().decode(K); + K = K.subarray(4); H = new Uint8Array(16); - H.set(J); + H.set(K); return H; } - function m(J) { + function m(K) { var H; - H = n(J); - this.log.error("LICENSE Error: Received event: " + J.type, { - sessionId: this.tb ? this.tb.sessionId : void 0, - keySystem: J.target.keySystem, - systemCode: H.c8, - code: H.n2 + H = n(K); + this.log.error("LICENSE Error: Received event: " + K.type, { + sessionId: this.wb ? this.wb.sessionId : void 0, + keySystem: K.target.keySystem, + systemCode: H.Y7, + code: H.o2 }); - this.Rm && this.Rm(I.af.oq, H); - this.tb = void 0; + this.Qm && this.Qm(J.bf.qq, H); + this.wb = void 0; } - function n(J) { + function n(K) { var H, - M; - if (J.target.error) - (H = J.target.error.systemCode, M = J.target.error.code); + L; + if (K.target.error) + (H = K.target.error.systemCode, L = K.target.error.code); return { - code: I.af.oq, - jc: I.oA.Kr, - wd: H ? v.ha.get(y.lw).rF(H, 4) : M, - details: l().vd(J), - cause: J.target.error, - c8: H, - n2: M + code: J.bf.qq, + kc: J.qA.Nr, + wd: H ? v.ha.get(y.rw).vF(H, 4) : L, + details: l().vd(K), + cause: K.target.error, + Y7: H, + o2: L }; } - function r(J, H, M, O) { - var L, - P, - R; - L = J.target.sessionId; - P = J.message; - R = l().qs(P, f().decode("certificate")); - M.Oma = H === F.gq.L$.kn; - M.state = R ? 2 : 12; - M.log.trace("LICENSE: Received event: " + J.type, { - keySystem: J.target.keySystem, - sessionId: L - }); - (M.context.We || M.context.qk || M.context.Kz) && M.log.debug("LICENSE: License challenge", k().encode(P)); - M.keySessionId = L; - J = { - Li: M.Li, - Qf: H, + function q(K, H, L, Q) { + var I, + O, + N; + I = K.target.sessionId; + O = K.message; + N = l().us(O, f().decode("certificate")); + L.Ima = H === G.iq.D$.jn; + L.state = N ? 2 : 12; + L.log.trace("LICENSE: Received event: " + K.type, { + keySystem: K.target.keySystem, + sessionId: I + }); + (L.context.Ye || L.context.qk || L.context.Nz) && L.log.debug("LICENSE: License challenge", k().encode(O)); + L.keySessionId = I; + K = { + Ji: L.Ji, + Rf: H, messageType: "license-request", - Jn: (/clearkey/i).test(M.keySystem) ? "clearkey" : "fps", - zj: [{ - data: P, - sessionId: L + Kn: (/clearkey/i).test(L.keySystem) ? "clearkey" : "fps", + xj: [{ + data: O, + sessionId: I } ] }; - 12 === M.state && (M.Sm("lc"), P = { - data: P, - Jn: (/clearkey/i).test(M.keySystem) ? "clearkey" : "fps" - }, M.context.rG || (M.rV = P)); - M.context.ml.ig(J).then(function (K) { - if (12 === M.state && (M.Sm("lr"), M.Toa(), !M.context.rG)) - (M.sV = K.Ni[0].data, M.state = 13, O({ - X: !0, - state: M.state + 12 === L.state && (L.Rm("lc"), O = { + data: O, + Kn: (/clearkey/i).test(L.keySystem) ? "clearkey" : "fps" + }, L.context.xG || (L.qV = O)); + L.context.ll.hg(K).then(function (M) { + if (12 === L.state && (L.Rm("lr"), L.Ooa(), !L.context.xG)) + (L.rV = M.Ki[0].data, L.state = 13, Q({ + W: !0, + state: L.state })); - else if (M.tb) - return (K = t(M, R, K.Ni[0].data, M.tb), 2 === M.state ? K : K.then(function () { - M.state = 30; - O({ - X: !0, - state: M.state + else if (L.wb) + return (M = u(L, N, M.Ki[0].data, L.wb), 2 === L.state ? M : M.then(function () { + L.state = 30; + Q({ + W: !0, + state: L.state }); })); - }).catch(function (K) { - O(l().cG(K, { - state: M.state + }).catch(function (M) { + Q(l().iG(M, { + state: L.state })); }); } - function p(J, H, M) { - H.log.trace("LICENSE: Received event: " + J.type, { - keySystem: J.target.keySystem, - sessionId: J.target.sessionId + function p(K, H, L) { + H.log.trace("LICENSE: Received event: " + K.type, { + keySystem: K.target.keySystem, + sessionId: K.target.sessionId }); - M({ - X: !0 + L({ + W: !0 }); } - function u(J, H, M) { - var O; - O = n(J); - H.Rm && H.Rm(I.af.oq, O); - H.log.error("LICENSE Error: Received event: " + J.type, { - sessionId: H.tb ? H.tb.sessionId : void 0, - keySystem: J.target.keySystem, - systemCode: O.c8, - code: O.n2 + function t(K, H, L) { + var Q; + Q = n(K); + H.Qm && H.Qm(J.bf.qq, Q); + H.log.error("LICENSE Error: Received event: " + K.type, { + sessionId: H.wb ? H.wb.sessionId : void 0, + keySystem: K.target.keySystem, + systemCode: Q.Y7, + code: Q.o2 }); - M({ - X: !1, - code: I.af.oq, - jc: I.oA.Kr, - wd: O.wd, + L({ + W: !1, + code: J.bf.qq, + kc: J.qA.Nr, + wd: Q.wd, message: "Received a key error.", - sb: O.details, - cause: O.cause + qb: Q.details, + cause: Q.cause }); } - function t(J, H, M, O) { - O = { - sessionId: O.sessionId + function u(K, H, L, Q) { + Q = { + sessionId: Q.sessionId }; - J.o4() && (O.license = k().encode(M)); - J.log.trace("calling keysession update", O); - return new Promise(function (L, P) { - function R() { - J.tb.removeEventListener("webkitkeyadded", R); - L(void 0); + K.p4() && (Q.license = k().encode(L)); + K.log.trace("calling keysession update", Q); + return new Promise(function (I, O) { + function N() { + K.wb.removeEventListener("webkitkeyadded", N); + I(void 0); } try { - H || J.tb.addEventListener("webkitkeyadded", R); - J.tb.update(M); - H && L(void 0); - } catch (K) { - P({ - X: !1, - code: I.af.fZ, + H || K.wb.addEventListener("webkitkeyadded", N); + K.wb.update(L); + H && I(void 0); + } catch (M) { + O({ + W: !1, + code: J.bf.eZ, message: "Unable to update the EME.", - e: K + e: M }); } }); } - function w(J) { - this.bd[J] = v.ha.get(A.zd).Zb().ea(C.ma); - this.log.trace("Milestone: " + J + ", " + this.bd[J]); + function w(K) { + this.bd[K] = v.ha.get(B.zd).Xb().ea(C.ma); + this.log.trace("Milestone: " + K + ", " + this.bd[K]); } Object.defineProperty(b, "__esModule", { value: !0 @@ -62613,244 +62631,244 @@ a000.D9b = function () { x = a(28); y = a(76); z = a(35); - B = a(77); - A = a(20); - C = a(5); + A = a(77); + B = a(20); + C = a(4); E = a(11); - F = a(65); - D = a(162); G = a(66); - I = {}; - I.af = b.L; - I.oA = b.M; - c.prototype.Pq = function () { + D = a(162); + F = a(59); + J = {}; + J.bf = b.M; + J.qA = b.L; + c.prototype.Ls = function () { return this.keySystem; }; - c.prototype.a6a = function (J, H) { - J.log && (this.log = J.log); - J.Sm && (this.Sm = J.Sm); - H.ml && (this.context.ml = H.ml); + c.prototype.c6a = function (K, H) { + K.log && (this.log = K.log); + K.Rm && (this.Rm = K.Rm); + H.ll && (this.context.ll = H.ll); H.onerror && (this.context.onerror = H.onerror); }; - c.prototype.create = function (J) { + c.prototype.create = function (K) { var H; H = this; - H.Sm("lg"); + H.Rm("lg"); H.log.trace("CREATE: Creating the media keys", { - keySystem: J + keySystem: K }); - H.keySystem = J; - return H.context.EV ? Promise.reject({ - X: !1, - code: I.af.EO, + H.keySystem = K; + return H.context.DV ? Promise.reject({ + W: !1, + code: J.bf.EO, message: "CREATE: Promise based EME is currently not supported for Internet Explorer" }) : (function () { - function M() { - var O, - L; - O = l().createElement("div", "position:relative;width:100%;height:100%;overflow:hidden"); - L = O.lastChild; - H.mg = O; - H.context.la = E.De.createElement("VIDEO"); - L ? H.mg.insertBefore(H.context.la, L) : H.mg.appendChild(H.context.la); - } - return new Promise(function (O, L) { - function P(R) { - (H.context.We || H.context.qk || H.context.Kz) && H.log.trace("CREATE: Received event: " + R.type, { - readyState: R.target.readyState, - duration: R.target.duration + function L() { + var Q, + I; + Q = l().createElement("div", "position:relative;width:100%;height:100%;overflow:hidden"); + I = Q.lastChild; + H.kg = Q; + H.context.la = E.Fe.createElement("VIDEO"); + I ? H.kg.insertBefore(H.context.la, I) : H.kg.appendChild(H.context.la); + } + return new Promise(function (Q, I) { + function O(N) { + (H.context.Ye || H.context.qk || H.context.Nz) && H.log.trace("CREATE: Received event: " + N.type, { + readyState: N.target.readyState, + duration: N.target.duration }); try { - H.mediaKeys = new pb.WebKitMediaKeys(J); + H.mediaKeys = new pb.WebKitMediaKeys(K); H.context.la.webkitSetMediaKeys(H.mediaKeys); - O({ - X: !0, + Q({ + W: !0, mediaKeys: H.mediaKeys }); - } catch (K) { - H.log.error("CREATE: Exception on webkitSetMediaKeys", K); - L({ - X: !1, - code: I.af.yP, - sb: l().vd(K) + } catch (M) { + H.log.error("CREATE: Exception on webkitSetMediaKeys", M); + I({ + W: !1, + code: J.bf.yP, + qb: l().vd(M) }); } } if (d(H.keySystem)) try { - H.mediaKeys = new pb.WebKitMediaKeys(J); + H.mediaKeys = new pb.WebKitMediaKeys(K); H.context.la && (H.log.trace("LICENSE: calling setmediakeys on video element"), H.context.la.webkitSetMediaKeys(H.mediaKeys)); - O({ - X: !0, + Q({ + W: !0, mediaKeys: H.mediaKeys }); - } catch (R) { - L({ - X: !1, - code: I.af.yP, - sb: l().vd(R) + } catch (N) { + I({ + W: !1, + code: J.bf.yP, + qb: l().vd(N) }); } - else (H.mediaKeys = new pb.WebKitMediaKeys(J), H.context.la ? (H.log.trace("LICENSE: calling setmediakeys on video element"), H.context.la.webkitSetMediaKeys(H.mediaKeys)) : (M(), H.Oi = new E.BD(), H.Oi.addEventListener("sourceopen", P), H.url = URL.createObjectURL(H.Oi), H.context.la.src = H.url), O({ - X: !0, + else (H.mediaKeys = new pb.WebKitMediaKeys(K), H.context.la ? (H.log.trace("LICENSE: calling setmediakeys on video element"), H.context.la.webkitSetMediaKeys(H.mediaKeys)) : (L(), H.Mi = new E.DD(), H.Mi.addEventListener("sourceopen", O), H.url = URL.createObjectURL(H.Mi), H.context.la.src = H.url), Q({ + W: !0, mediaKeys: H.mediaKeys })); }); })(); }; c.prototype.close = function () { - this.tb && (this.log.info("Closing the session", { - sessionId: this.tb.sessionId - }), this.tb.removeEventListener("webkitkeyerror", this.eV), this.tb.close(), this.tb = void 0); + this.wb && (this.log.info("Closing the session", { + sessionId: this.wb.sessionId + }), this.wb.removeEventListener("webkitkeyerror", this.dV), this.wb.close(), this.wb = void 0); }; - c.prototype.ig = function (J, H) { - var M; + c.prototype.hg = function (K, H) { + var L; if (1 < H.length) return Promise.reject({ - code: I.af.ZCa + code: J.bf.VCa }); if (0 === H.length) return Promise.reject({ - code: I.af.XCa + code: J.bf.UCa }); H = H[0]; - M = this; - M.context.We && M.log.trace("LICENSE: Setting license", { + L = this; + L.context.Ye && L.log.trace("LICENSE: Setting license", { initData: k().encode(H) }); - return M.context.EV ? Promise.reject({ - X: !1, - code: I.af.Sxa, + return L.context.DV ? Promise.reject({ + W: !1, + code: J.bf.Oxa, message: "Promise based EME is currently not supported in Safari" }) : (function () { - return new Promise(function (O, L) { - var R, - K, - Q; - function P(N) { - M.tb && (M.tb.removeEventListener("webkitkeymessage", R), M.tb.removeEventListener("webkitkeyadded", K), M.tb.removeEventListener("webkitkeyerror", Q), M.tb.addEventListener("webkitkeyerror", M.eV)); - N.X ? O(N) : (M.close(), L(N)); + return new Promise(function (Q, I) { + var N, + M, + P; + function O(R) { + L.wb && (L.wb.removeEventListener("webkitkeymessage", N), L.wb.removeEventListener("webkitkeyadded", M), L.wb.removeEventListener("webkitkeyerror", P), L.wb.addEventListener("webkitkeyerror", L.dV)); + R.W ? Q(R) : (L.close(), I(R)); } - R = function (N) { - r(N, J, M, P); + N = function (R) { + q(R, K, L, O); }; - K = function (N) { - p(N, M, P); + M = function (R) { + p(R, L, O); }; - Q = function (N) { - u(N, M, P); + P = function (R) { + t(R, L, O); }; - d(M.keySystem) && (M.Li = h(H), H = g(M.Li)); - M.log.trace("LICENSE: Executing prefix based EME"); - M.context.We | M.context.qk && M.log.debug("LICENSE: PSSH", k().encode(H)); - M.tb = M.mediaKeys.createSession("video/mp4", H, null); - (M.context.We || M.context.qk) && M.log.debug("LICENSE: Created the media keys sessions", { - keySystem: M.tb.keySystem, - sessionId: M.tb.sessionId + d(L.keySystem) && (L.Ji = h(H), H = g(L.Ji)); + L.log.trace("LICENSE: Executing prefix based EME"); + L.context.Ye | L.context.qk && L.log.debug("LICENSE: PSSH", k().encode(H)); + L.wb = L.mediaKeys.createSession("video/mp4", H, null); + (L.context.Ye || L.context.qk) && L.log.debug("LICENSE: Created the media keys sessions", { + keySystem: L.wb.keySystem, + sessionId: L.wb.sessionId }); - M.tb.addEventListener("webkitkeymessage", R); - M.tb.addEventListener("webkitkeyadded", K); - M.tb.addEventListener("webkitkeyerror", Q); + L.wb.addEventListener("webkitkeymessage", N); + L.wb.addEventListener("webkitkeyadded", M); + L.wb.addEventListener("webkitkeyerror", P); }); })(); }; - c.prototype.CG = function () { - var J; - J = this; - return J.Csa ? Promise.resolve({ - X: !0 - }) : new Promise(function (H, M) { - var L, - P, - R; - function O(K) { - J.tb && (J.tb.removeEventListener("webkitkeymessage", L), J.tb.removeEventListener("webkitkeyadded", P), J.tb.removeEventListener("webkitkeyerror", R)); - K.X ? H(K) : (M(K), J.close()); + c.prototype.JG = function () { + var K; + K = this; + return K.wsa ? Promise.resolve({ + W: !0 + }) : new Promise(function (H, L) { + var I, + O, + N; + function Q(M) { + K.wb && (K.wb.removeEventListener("webkitkeymessage", I), K.wb.removeEventListener("webkitkeyadded", O), K.wb.removeEventListener("webkitkeyerror", N)); + M.W ? H(M) : (L(M), K.close()); } - L = function (K) { - r(K, F.gq.L$.Co, J, O); + I = function (M) { + q(M, G.iq.D$.Do, K, Q); }; - P = function (K) { - p(K, J, O); + O = function (M) { + p(M, K, Q); H({ - X: !0 + W: !0 }); }; - R = function (K) { - u(K, J, O); + N = function (M) { + t(M, K, Q); }; - J.Oma = !1; - J.tb.addEventListener("webkitkeymessage", L); - J.tb.addEventListener("webkitkeyadded", P); - J.tb.addEventListener("webkitkeyerror", R); - J.tb.update(f().decode("renew")); + K.Ima = !1; + K.wb.addEventListener("webkitkeymessage", I); + K.wb.addEventListener("webkitkeyadded", O); + K.wb.addEventListener("webkitkeyerror", N); + K.wb.update(f().decode("renew")); }); }; - c.prototype.C0 = function (J) { - this.sV || this.log.error("pending license must exist at this point"); - this.context.rG = !0; + c.prototype.E0 = function (K) { + this.rV || this.log.error("pending license must exist at this point"); + this.context.xG = !0; try { - J && (this.context.la = J, this.log.trace("calling setmediakeys on video element"), this.context.la.webkitSetMediaKeys(this.mediaKeys)); + K && (this.context.la = K, this.log.trace("calling setmediakeys on video element"), this.context.la.webkitSetMediaKeys(this.mediaKeys)); } catch (H) { - return new Promise(function (M, O) { - O({ - X: !1, - code: I.af.mI, + return new Promise(function (L, Q) { + Q({ + W: !1, + code: J.bf.tI, message: "setMediaKeys failed", - sb: l().vd(H) + qb: l().vd(H) }); }); } - return t(this, !1, this.sV, this.tb); + return u(this, !1, this.rV, this.wb); }; - c.prototype.qRa = function (J) { + c.prototype.pRa = function (K) { var H, - M; + L; H = this; - H.log.trace("Releasing the license of the current session", JSON.stringify(J)); - H.Csa = !0; - M = { - ba: J.ba, - ee: J.ee + H.log.trace("Releasing the license of the current session", JSON.stringify(K)); + H.wsa = !0; + L = { + ca: K.ca, + ce: K.ce }; - return new Promise(function (O, L) { + return new Promise(function (Q, I) { (function () { - H.context.ml.release.call(H.context.ml, M).then(function () { - var P; - H.log.trace("successfully released the license", JSON.stringify(J)); - P = { - X: !0 + H.context.ll.release.call(H.context.ll, L).then(function () { + var O; + H.log.trace("successfully released the license", JSON.stringify(K)); + O = { + W: !0 }; - P.X ? O(P) : (H.close(), L(P)); - }).catch(function (P) { + O.W ? Q(O) : (H.close(), I(O)); + }).catch(function (O) { H.log.error("RELEASE: Unable to get the release the license", { - sessionId: H.tb ? H.tb.sessionId : void 0, - code: P.code, - subCode: P.jc, - extCode: P.wd, - edgeCode: P.Bm, - message: P.Dj + sessionId: H.wb ? H.wb.sessionId : void 0, + code: O.code, + subCode: O.kc, + extCode: O.wd, + edgeCode: O.zm, + message: O.Cj }); - P.X ? O(P) : (H.close(), L(P)); + O.W ? Q(O) : (H.close(), I(O)); }); })(); }); }; - c.prototype.o4 = function () { - return this.context.We || this.context.qk; + c.prototype.p4 = function () { + return this.context.Ye || this.context.qk; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p) { + function c(m, n, q, p) { this.log = m; - this.yF = n; - this.jz = r; + this.CF = n; + this.mz = q; this.context = p; } Object.defineProperty(b, "__esModule", { @@ -62861,99 +62879,99 @@ a000.D9b = function () { l = a(28); d = a(77); g = a(35); - h = a(66); - c.prototype.ig = function (m) { + h = a(59); + c.prototype.hg = function (m) { var n, - r; + q; n = this; - (this.context.We || this.context.qk) && this.log.debug("Requesting a license", m); - if (k.ha.get(l.Hf).qs(k.ha.get(d.ru).decode("certificate"), m.zj[0].data)) { + (this.context.Ye || this.context.qk) && this.log.debug("Requesting a license", m); + if (k.ha.get(l.If).us(k.ha.get(d.wu).decode("certificate"), m.xj[0].data)) { n.log.trace("Requesting Fairplay cert data."); - r = Promise.resolve({ - Ni: [{ - sessionId: m.zj[0].sessionId, - data: k.ha.get(g.Rh).decode(h.j$) + q = Promise.resolve({ + Ki: [{ + sessionId: m.xj[0].sessionId, + data: k.ha.get(g.Rh).decode(h.sY) } ] }); } else - r = k.ha.get(l.Hf).qs(k.ha.get(d.ru).decode("content"), m.zj[0].data) ? Promise.resolve({ - Ni: [{ - sessionId: m.zj[0].sessionId, - data: m.Li + q = k.ha.get(l.If).us(k.ha.get(d.wu).decode("content"), m.xj[0].data) ? Promise.resolve({ + Ki: [{ + sessionId: m.xj[0].sessionId, + data: m.Ji } ] }) : (function () { n.log.trace("Requesting license", { - drmType: m.Jn + drmType: m.Kn }); - return n.yF(m).catch(function (p) { + return n.CF(m).catch(function (p) { n.log.error("Unable to get the Fairplay license", p); throw { - code: f.L.cI, - jc: p.jc, + code: f.M.kI, + kc: p.kc, wd: p.wd, - Bm: p.Bm, - Dj: p.message || p.Dj, - EK: p.data, - message: "Unable to send the Fairplay license request. " + (p.message || p.Dj), + zm: p.zm, + Cj: p.message || p.Cj, + IK: p.data, + message: "Unable to send the Fairplay license request. " + (p.message || p.Cj), cause: p }; }); })(); - return r; + return q; }; c.prototype.release = function (m) { var n; n = this; this.log.trace("Requesting stop data"); - return this.jz(m).catch(function (r) { + return this.mz(m).catch(function (q) { n.log.error("Unable to release the FairPlay license", { - code: r.code, - subCode: r.jc, - extCode: r.wd, - edgeCode: r.Bm, - message: r.message || r.Dj + code: q.code, + subCode: q.kc, + extCode: q.wd, + edgeCode: q.zm, + message: q.message || q.Cj }); throw { - X: !1, - code: f.L.eba, - jc: r.jc, - wd: r.wd, - Bm: r.Bm, - Dj: r.message || r.Dj, - message: "Unable to release the FairPlay license. " + (r.message || r.Dj), - cause: r + W: !1, + code: f.M.Zaa, + kc: q.kc, + wd: q.wd, + zm: q.zm, + Cj: q.message || q.Cj, + message: "Unable to release the FairPlay license. " + (q.message || q.Cj), + cause: q }; }); }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p; - function c(u, t, w) { + function c(t, u, w) { var v; v = this; - this.is = u; - this.en = t; + this.is = t; + this.dn = u; this.config = w; - this.aw = function () { + this.fw = function () { return { version: v.version, - drmData: v.Z1.map(function (x) { - return x.aw(); + drmData: v.b2.map(function (x) { + return x.fw(); }) }; }; - this.jja = function (x) { + this.cja = function (x) { var y; - v.is.Bn(x) && (x = f(x)); + v.is.An(x) && (x = f(x)); 1 === x.version && (x = k(v.is, x)); y = { version: 2, @@ -62963,45 +62981,44 @@ a000.D9b = function () { y.version = x.version; try { y.data = x.drmData.map(function (z) { - return new p.nY(z); + return new p.mY(z); }); } catch (z) { - throw new m.$c(g.L.$H, g.M.Wz, void 0, void 0, void 0, "The format of the DRM data is inconsistent with what is expected.", z); + throw new m.dd(g.M.hI, g.L.Yz, void 0, void 0, void 0, "The format of the DRM data is inconsistent with what is expected.", z); } } else { if (!x.version || !v.is.$h(x.version)) - throw new m.$c(g.L.$H, g.M.Wz, void 0, void 0, void 0, "The format of the DRM data is inconsistent with what is expected."); + throw new m.dd(g.M.hI, g.L.Yz, void 0, void 0, void 0, "The format of the DRM data is inconsistent with what is expected."); if (1 !== x.version) - throw new m.$c(g.L.$H, g.M.Pva, void 0, void 0, void 0, "Version number is not supported. Version: " + x.version); + throw new m.dd(g.M.hI, g.L.Mva, void 0, void 0, void 0, "Version number is not supported. Version: " + x.version); } return y; }; - this.sr = new n.D$(2, this.config.yS, this.is.Bn(this.config.yS), this.en, this.aw); + this.ur = new n.v$(2, this.config.xS, this.is.An(this.config.xS), this.dn, this.fw); } - function f(u) { - u = JSON.parse(u); - u = { - xid: u.xid, - movieId: u.movieId, - keySessionIds: u.keySessionIds, - licenseContextId: u.licenseContextId + function f(t) { + t = JSON.parse(t); + t = { + xid: t.xid, + movieId: t.movieId, + keySessionIds: t.keySessionIds, + licenseContextId: t.licenseContextId }; - if (!u.licenseContextId || !u.xid || !u.movieId) - throw new m.$c(g.L.$H, g.M.Wz); + if (!t.licenseContextId || !t.xid || !t.movieId) + throw new m.dd(g.M.hI, g.L.Yz); return { version: 1, - drmData: [u] + drmData: [t] }; } - function k(u, t) { - if (u.tx(t.drmData)) + function k(t, u) { + if (t.yx(u.drmData)) return { version: 2, - drmData: t.drmData.map(function (w) { + drmData: u.drmData.map(function (w) { var v; v = w.keySessionIds; - return new p.nY({ - keySystemId: w.keySystemId, + return new p.mY({ keySessionData: (v && 0 < v.length ? v : [void 0]).map(function (x) { return { id: x, @@ -63011,46 +63028,46 @@ a000.D9b = function () { }), xid: w.xid, movieId: w.movieId - }).aw(); + }).fw(); }) }; - throw new m.$c(g.L.$H, g.M.Wz); + throw new m.dd(g.M.hI, g.L.Yz); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gwa = void 0; - q = a(1); + b.dwa = void 0; + r = a(1); l = a(0); - d = a(68); + d = a(69); g = a(3); h = a(26); m = a(42); - n = a(304); - r = a(78); + n = a(306); + q = a(78); p = a(198); c.prototype.a1a = function () { - return this.FTb(); + return this.HTb(); }; - c.prototype.oLa = function (u) { - return this.sr.add(u); + c.prototype.mLa = function (t) { + return this.ur.add(t); }; - c.prototype.VV = function (u) { - return this.sr.remove(u, function (t, w) { - return t.ba === w.ba; + c.prototype.UV = function (t) { + return this.ur.remove(t, function (u, w) { + return u.ca === w.ca; }); }; c.prototype.toString = function () { - return JSON.stringify(this.aw(), null, " "); + return JSON.stringify(this.fw(), null, " "); }; - c.prototype.FTb = function () { - var u; - u = this; - this.e1a || (this.e1a = new Promise(function (t, w) { - u.sr.load(u.jja).then(function () { - t(); + c.prototype.HTb = function () { + var t; + t = this; + this.e1a || (this.e1a = new Promise(function (u, w) { + t.ur.load(t.cja).then(function () { + u(); }).catch(function (v) { - v.oa && v.cause ? w(new m.$c(g.L.$H, v.oa, void 0, void 0, void 0, "Unable to load persisted playdata.", void 0, v)) : w(v); + v.oa && v.cause ? w(new m.dd(g.M.hI, v.oa, void 0, void 0, void 0, "Unable to load persisted playdata.", void 0, v)) : w(v); }); })); return this.e1a; @@ -63060,21 +63077,21 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.sr.version; + return this.ur.version; } }, - Z1: { + b2: { configurable: !0, enumerable: !0, get: function () { - return this.sr.Qu; + return this.ur.Vu; } } }); a = c; - a = q.__decorate([l.R(), q.__param(0, l.l(h.Gf)), q.__param(1, l.l(r.Rz)), q.__param(2, l.l(d.bu))], a); - b.gwa = a; - }, function (q, b, a) { + a = r.__decorate([l.R(), r.__param(0, l.l(h.Hf)), r.__param(1, l.l(q.Tz)), r.__param(2, l.l(d.gu))], a); + b.dwa = a; + }, function (r, b, a) { var c, f, k, @@ -63086,38 +63103,38 @@ a000.D9b = function () { b.O0a = void 0; c = a(3); f = a(90); - k = a(120); + k = a(119); l = a(197); b.O0a = function (g) { - l.wK.parent = g.$a; + l.AK.parent = g.$a; return function () { d || (d = new Promise(function (h, m) { try { - h(l.wK.get(k.Dxa)); + h(l.AK.get(k.Axa)); } catch (n) { - m(new f.pg(c.L.tab, c.M.Oab, void 0, "Unable to extract the DRM services from the dependency injector", n)); + m(new f.pg(c.M.wab, c.L.Rab, void 0, "Unable to extract the DRM services from the dependency injector", n)); } })); return d; }; }; - }, function (q, b) { + }, function (r, b) { function a() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.TBa = void 0; + b.RBa = void 0; a.prototype.XUa = function () { return void 0 !== this.mediaKeys; }; a.prototype.setMediaKeys = function (c) { this.mediaKeys = c; }; - a.prototype.FPb = function () { + a.prototype.KPb = function () { this.XUa() && (this.mediaKeys = void 0); }; - b.TBa = a; - }, function (q, b, a) { + b.RBa = a; + }, function (r, b, a) { var f, k, l, @@ -63126,83 +63143,78 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t, w) { - this.kF = r; - this.Bc = p; - this.UL = t; - this.Sl = w; - this.log = u.Cb("CannedChallengeProviderImpl"); + function c(q, p, t, u, w) { + this.nF = q; + this.Dc = p; + this.WL = u; + this.Lm = w; + this.log = t.Db("CannedChallengeProviderImpl"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.iwa = void 0; - q = a(1); + b.fwa = void 0; + r = a(1); f = a(0); - k = a(120); + k = a(119); l = a(35); d = a(8); g = a(134); h = a(79); m = a(133); - n = a(573); - c.prototype.ska = function (r) { + n = a(576); + c.prototype.oka = function (q) { var p; p = this; - return Promise.all([this.kF(), this.Pzb(), this.Sl.ly()]).then(function (u) { - var t, - w; - t = aa(u); - u = t.next().value; - w = t.next().value; - t = t.next().value; - return u.Txb({ - type: r, - initData: w, - context: { - Xe: t.keySystem - } - }, p.UL()); - }).then(function (u) { - var t; - t = aa(u); - u = t.next().value; - t = t.next().value; - t = p.Bc.encode(t.data[0]); - p.log.trace("Challenge generated", t); + return Promise.all([this.nF(), this.Tzb()]).then(function (t) { + var u; + u = aa(t); + t = u.next().value; + u = u.next().value; + return t.Zxb({ + type: q, + initData: u + }, p.WL()); + }).then(function (t) { + var u; + u = aa(t); + t = u.next().value; + u = u.next().value; + u = p.Dc.encode(u.data[0]); + p.log.trace("Challenge generated", u); return { - Nb: u, - Sfa: t + Nb: t, + Mfa: u }; }); }; - c.prototype.Pzb = function () { - var r; - r = this; - return this.Sl.Gs().then(function (p) { + c.prototype.Tzb = function () { + var q; + q = this; + return this.Lm.Ks().then(function (p) { switch (p) { - case m.jn.oF: - return n.J$a; - case m.jn.zC: - return n.ldb; + case m.hn.sF: + return n.M$a; + case m.hn.BC: + return n.odb; default: - return n.zeb; + return n.Aeb; } }).then(function (p) { - return p.map(r.Bc.decode); + return p.map(q.Dc.decode); }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.oY)), q.__param(1, f.l(l.Rh)), q.__param(2, f.l(d.Kb)), q.__param(3, f.l(g.lP)), q.__param(4, f.l(h.gu))], a); - b.iwa = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.nY)), r.__param(1, f.l(l.Rh)), r.__param(2, f.l(d.Ib)), r.__param(3, f.l(g.mP)), r.__param(4, f.l(h.lu))], a); + b.fwa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zeb = ["AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQAAAAAAPSZ0kAAAAAAAAAAA=="]; - b.J$a = ["c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFBcDVKNTB0Qml4WTVMaTNYSGJFc3dKdDdybTdhdEExVWpPMkw3Q1ArckJYTT0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFCczgwL0dQUmxsNXEweHl3bHhac1Nya3hjMndPRHZpWWNCMmJoWDdQOTNHQT0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFDcWNFL25GeU0waXVKY1pKSi9xTkl3T0xJaGFCdnB4WEpDNGtyV2VpaGJBOD0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFFamVRbC8rZTBLYWpjSEhZQkt1U0hkb21BdXhmSGlWUTNZYTFpRGJqYjF5Zz0="]; - b.ldb = ["AAADPHBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxwcAwAAAQABABIDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMgAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAUwA+ADwASwBJAEQAIABBAEwARwBJAEQAPQAiAEEARQBTAEMAVABSACIAIABWAEEATABVAEUAPQAiAEEAQQBBAEEAQQBNAFkARQB4AEkARQBBAEEAQQBBAEEAQQBBAEEAQQBBAEEAPQA9ACIAPgA8AC8ASwBJAEQAPgA8AC8ASwBJAEQAUwA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcAA6AC8ALwBjAGEAcABwAHIAcwB2AHIAMAA2AC8AcwBpAGwAdgBlAHIAbABpAGcAaAB0ADUALwByAGkAZwBoAHQAcwBtAGEAbgBhAGcAZQByAC4AYQBzAG0AeAA8AC8ATABBAF8AVQBSAEwAPgA8AEwAVQBJAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAGMAYQBwAHAAcgBzAHYAcgAwADYALwBzAGkAbAB2AGUAcgBsAGkAZwBoAHQANQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAFUASQBfAFUAUgBMAD4APABEAEUAQwBSAFkAUABUAE8AUgBTAEUAVABVAFAAPgBPAE4ARABFAE0AQQBOAEQAPAAvAEQARQBDAFIAWQBQAFQATwBSAFMARQBUAFUAUAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A"]; - }, function (q, b, a) { + b.Aeb = ["AAAANHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABQIARIQAAAAAAPSZ0kAAAAAAAAAAA=="]; + b.M$a = ["c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFBcDVKNTB0Qml4WTVMaTNYSGJFc3dKdDdybTdhdEExVWpPMkw3Q1ArckJYTT0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFCczgwL0dQUmxsNXEweHl3bHhac1Nya3hjMndPRHZpWWNCMmJoWDdQOTNHQT0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFDcWNFL25GeU0waXVKY1pKSi9xTkl3T0xJaGFCdnB4WEpDNGtyV2VpaGJBOD0=", "c2tkOi8vbmV0ZmxpeC9BQUFBQkFBQUFBQUV3MzFFamVRbC8rZTBLYWpjSEhZQkt1U0hkb21BdXhmSGlWUTNZYTFpRGJqYjF5Zz0="]; + b.odb = ["AAADPHBzc2gAAAAAmgTweZhAQoarkuZb4IhflQAAAxwcAwAAAQABABIDPABXAFIATQBIAEUAQQBEAEUAUgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAvAEQAUgBNAC8AMgAwADAANwAvADAAMwAvAFAAbABhAHkAUgBlAGEAZAB5AEgAZQBhAGQAZQByACIAIAB2AGUAcgBzAGkAbwBuAD0AIgA0AC4AMgAuADAALgAwACIAPgA8AEQAQQBUAEEAPgA8AFAAUgBPAFQARQBDAFQASQBOAEYATwA+ADwASwBJAEQAUwA+ADwASwBJAEQAIABBAEwARwBJAEQAPQAiAEEARQBTAEMAVABSACIAIABWAEEATABVAEUAPQAiAEEAQQBBAEEAQQBNAFkARQB4AEkARQBBAEEAQQBBAEEAQQBBAEEAQQBBAEEAPQA9ACIAPgA8AC8ASwBJAEQAPgA8AC8ASwBJAEQAUwA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEwAQQBfAFUAUgBMAD4AaAB0AHQAcAA6AC8ALwBjAGEAcABwAHIAcwB2AHIAMAA2AC8AcwBpAGwAdgBlAHIAbABpAGcAaAB0ADUALwByAGkAZwBoAHQAcwBtAGEAbgBhAGcAZQByAC4AYQBzAG0AeAA8AC8ATABBAF8AVQBSAEwAPgA8AEwAVQBJAF8AVQBSAEwAPgBoAHQAdABwADoALwAvAGMAYQBwAHAAcgBzAHYAcgAwADYALwBzAGkAbAB2AGUAcgBsAGkAZwBoAHQANQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAFUASQBfAFUAUgBMAD4APABEAEUAQwBSAFkAUABUAE8AUgBTAEUAVABVAFAAPgBPAE4ARABFAE0AQQBOAEQAPAAvAEQARQBDAFIAWQBQAFQATwBSAFMARQBUAFUAUAA+ADwALwBEAEEAVABBAD4APAAvAFcAUgBNAEgARQBBAEQARQBSAD4A"]; + }, function (r, b, a) { var c, f, k, @@ -63212,98 +63224,98 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperty(b, "__esModule", { value: !0 }); b.config = void 0; - q = a(0); + r = a(0); c = a(15); - f = a(575); + f = a(578); k = a(37); l = a(38); - d = a(576); - g = a(306); - h = a(578); + d = a(579); + g = a(308); + h = a(581); m = a(164); - n = a(579); - r = a(68); - p = a(580); - b.config = new q.ad(function (u) { - u(c.dd).sf(function () { + n = a(582); + q = a(69); + p = a(583); + b.config = new r.$c(function (t) { + t(c.ed).sf(function () { return function () { return pb._cad_global.config; }; }); - u(k.L9).to(f.zwa).$(); - u(k.km).to(f.JHa).$(); - u(k.gP).to(f.Zza).$(); - u(l.gm).to(d.Nya).$(); - u(g.uCa).to(h.tCa).$(); - u(m.Hya).to(n.Gya).$(); - u(r.bu).to(p.aya).$(); + t(k.G9).to(f.wwa).aa(); + t(k.jm).to(f.FHa).aa(); + t(k.hP).to(f.Xza).aa(); + t(l.fm).to(d.Lya).aa(); + t(g.sCa).to(h.rCa).aa(); + t(m.Fya).to(n.Eya).aa(); + t(q.gu).to(p.Yxa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g, h, m; function c() { - this.Ox = {}; - this.k2a = 0; + this.Tx = {}; + this.j2a = 0; } - function f(n, r, p, u, t) { + function f(n, q, p, t, u) { this.debug = n; - this.vy = r; - this.$U = p; - this.Bg = u; - this.O6 = t; + this.yy = q; + this.ZU = p; + this.Ag = t; + this.L6 = u; } - function k(n, r, p) { - this.vy = n; - this.$U = r; - this.O6 = p; + function k(n, q, p) { + this.yy = n; + this.ZU = q; + this.L6 = p; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Zza = b.JHa = b.zwa = void 0; - q = a(1); + b.Xza = b.FHa = b.wwa = void 0; + r = a(1); l = a(0); d = a(91); g = a(8); h = a(135); - m = a(305); + m = a(307); a = a(37); - k = q.__decorate([l.R(), q.__param(0, l.l(a.gP)), q.__param(1, l.l(h.CZ)), q.__param(2, l.l(m.bba))], k); - b.zwa = k; - f = q.__decorate([l.R(), q.__param(0, l.l(d.Yt)), q.__param(1, l.l(a.gP)), q.__param(2, l.l(h.CZ)), q.__param(3, l.l(g.Kb)), q.__param(4, l.l(m.bba))], f); - b.JHa = f; - c.prototype.AIb = function (n) { - this.Ox = Object.assign({}, this.Ox, n); - this.k2a++; + k = r.__decorate([l.R(), r.__param(0, l.l(a.hP)), r.__param(1, l.l(h.DZ)), r.__param(2, l.l(m.Waa))], k); + b.wwa = k; + f = r.__decorate([l.R(), r.__param(0, l.l(d.cu)), r.__param(1, l.l(a.hP)), r.__param(2, l.l(h.DZ)), r.__param(3, l.l(g.Ib)), r.__param(4, l.l(m.Waa))], f); + b.FHa = f; + c.prototype.CIb = function (n) { + this.Tx = Object.assign({}, this.Tx, n); + this.j2a++; }; Xa.Object.defineProperties(c.prototype, { data: { configurable: !0, enumerable: !0, get: function () { - return this.Ox; + return this.Tx; } }, - i7: { + f7: { configurable: !0, enumerable: !0, get: function () { - return this.k2a; + return this.j2a; } } }); - a = q.__decorate([l.R()], c); - b.Zza = a; - }, function (q, b, a) { + a = r.__decorate([l.R()], c); + b.Xza = a; + }, function (r, b, a) { var f, k, l, @@ -63312,17 +63324,17 @@ a000.D9b = function () { h, m, n; - function c(r, p, u) { - r = d.ff.call(this, r, void 0 === u ? "GeneralConfigImpl" : u) || this; - r.jk = p; - return r; + function c(q, p, t) { + q = d.ff.call(this, q, void 0 === t ? "GeneralConfigImpl" : t) || this; + q.jk = p; + return q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Nya = b.DK = void 0; - q = a(1); - f = a(5); + b.Lya = b.HK = void 0; + r = a(1); + f = a(4); k = a(0); l = a(44); d = a(45); @@ -63335,117 +63347,117 @@ a000.D9b = function () { "int": "Int", prod: "Prod" }; - b.DK = function (r, p) { - return r.b1a(m[p] || p, g.vw); + b.HK = function (q, p) { + return q.b1a(m[p] || p, g.Bw); }; - ka(c, d.ff); + ja(c, d.ff); Xa.Object.defineProperties(c.prototype, { - DK: { + HK: { configurable: !0, enumerable: !0, get: function () { - return g.vw.rdb; + return g.Bw.udb; } }, - Dsa: { + xsa: { configurable: !0, enumerable: !0, get: function () { - return f.Wg(8); + return f.Ug(8); } }, - HB: { + uy: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - YJ: { + bK: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - uH: { + CH: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - J4a: { + L4a: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - D0: { + F0: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - TT: { + RT: { configurable: !0, enumerable: !0, get: function () { - return this.jk.TT; + return this.jk.RT; } }, - cwb: { + iwb: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - Ud: { + Td: { configurable: !0, enumerable: !0, get: function () { return {}; } }, - i2a: { + h2a: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - kma: { + ema: { configurable: !0, enumerable: !0, get: function () { return 1; } }, - N8: { + I8: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - St: { + Yt: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - IS: { + HS: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - MC: { + NC: { configurable: !0, enumerable: !0, get: function () { @@ -63454,41 +63466,41 @@ a000.D9b = function () { }; } }, - Zu: { + dv: { configurable: !0, enumerable: !0, get: function () { - return 0 <= [g.vw.XGa, g.vw.bAa].indexOf(this.DK); + return 0 <= [g.Bw.TGa, g.Bw.$za].indexOf(this.HK); } } }); n = c; - q.__decorate([l.config(b.DK, "environment")], n.prototype, "DK", null); - q.__decorate([l.config(l.vk, "storageTimeout")], n.prototype, "Dsa", null); - q.__decorate([l.config(l.string, "groupName")], n.prototype, "HB", null); - q.__decorate([l.config(l.string, "canaryGroupName", !0)], n.prototype, "YJ", null); - q.__decorate([l.config(l.string, "uiGroupName")], n.prototype, "uH", null); - q.__decorate([l.config(l.ud, "testIndexDBForCorruptedDatabase")], n.prototype, "J4a", null); - q.__decorate([l.config(l.ud, "applyIndexedDbOpenWorkaround")], n.prototype, "D0", null); - q.__decorate([l.config(l.ud, "ignoreIdbOpenError")], n.prototype, "TT", null); - q.__decorate([l.config(l.ud, "executeStorageMigration")], n.prototype, "cwb", null); - q.__decorate([l.config(l.object(), "browserInfo")], n.prototype, "Ud", null); - q.__decorate([l.config(l.ud, "retryAllMslRequestsOnError")], n.prototype, "i2a", null); - q.__decorate([l.config(l.ud, "isTestAccount")], n.prototype, "kma", null); - q.__decorate([l.config(l.ud, "vuiCommandLogging")], n.prototype, "N8", null); - q.__decorate([l.config(l.ud, "useRangeHeader")], n.prototype, "St", null); - q.__decorate([l.config(l.ud, "enableMilestoneEventList")], n.prototype, "IS", null); - q.__decorate([l.config(l.object, "storageRules")], n.prototype, "MC", null); - n = q.__decorate([k.R(), q.__param(0, k.l(h.km)), q.__param(1, k.l(a.BP)), q.__param(2, k.l(h.vO)), q.__param(2, k.optional())], n); - b.Nya = n; - }, function (q, b) { + r.__decorate([l.config(b.HK, "environment")], n.prototype, "HK", null); + r.__decorate([l.config(l.uk, "storageTimeout")], n.prototype, "xsa", null); + r.__decorate([l.config(l.string, "groupName")], n.prototype, "uy", null); + r.__decorate([l.config(l.string, "canaryGroupName", !0)], n.prototype, "bK", null); + r.__decorate([l.config(l.string, "uiGroupName")], n.prototype, "CH", null); + r.__decorate([l.config(l.ad, "testIndexDBForCorruptedDatabase")], n.prototype, "L4a", null); + r.__decorate([l.config(l.ad, "applyIndexedDbOpenWorkaround")], n.prototype, "F0", null); + r.__decorate([l.config(l.ad, "ignoreIdbOpenError")], n.prototype, "RT", null); + r.__decorate([l.config(l.ad, "executeStorageMigration")], n.prototype, "iwb", null); + r.__decorate([l.config(l.object(), "browserInfo")], n.prototype, "Td", null); + r.__decorate([l.config(l.ad, "retryAllMslRequestsOnError")], n.prototype, "h2a", null); + r.__decorate([l.config(l.ad, "isTestAccount")], n.prototype, "ema", null); + r.__decorate([l.config(l.ad, "vuiCommandLogging")], n.prototype, "I8", null); + r.__decorate([l.config(l.ad, "useRangeHeader")], n.prototype, "Yt", null); + r.__decorate([l.config(l.ad, "enableMilestoneEventList")], n.prototype, "HS", null); + r.__decorate([l.config(l.object, "storageRules")], n.prototype, "NC", null); + n = r.__decorate([k.R(), r.__param(0, k.l(h.jm)), r.__param(1, k.l(a.BP)), r.__param(2, k.l(h.vO)), r.__param(2, k.optional())], n); + b.Lya = n; + }, function (r, b) { function a(c) { this.value = c; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.qaa = void 0; + b.iaa = void 0; a.empty = function () { return a.of(void 0); }; @@ -63501,8 +63513,8 @@ a000.D9b = function () { a.prototype.map = function (c) { return void 0 === this.value ? a.empty() : a.of(c(this.value)); }; - b.qaa = a; - }, function (q, b, a) { + b.iaa = a; + }, function (r, b, a) { var f, k, l, @@ -63513,15 +63525,15 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tCa = void 0; - q = a(1); + b.rCa = void 0; + r = a(1); f = a(0); k = a(44); l = a(45); a = a(37); - ka(c, l.ff); + ja(c, l.ff); Xa.Object.defineProperties(c.prototype, { - o6a: { + r6a: { configurable: !0, enumerable: !0, get: function () { @@ -63530,10 +63542,10 @@ a000.D9b = function () { } }); d = c; - q.__decorate([k.config(k.ud, "useNetworkMonitor")], d.prototype, "o6a", null); - d = q.__decorate([f.R(), q.__param(0, f.l(a.km)), q.__param(1, f.l(a.vO)), q.__param(1, f.optional())], d); - b.tCa = d; - }, function (q, b, a) { + r.__decorate([k.config(k.ad, "useNetworkMonitor")], d.prototype, "r6a", null); + d = r.__decorate([f.R(), r.__param(0, f.l(a.jm)), r.__param(1, f.l(a.vO)), r.__param(1, f.optional())], d); + b.rCa = d; + }, function (r, b, a) { var f, k, l, @@ -63541,25 +63553,25 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u) { - n = d.ff.call(this, n, void 0 === u ? "FtlProbeConfigImpl" : u) || this; - n.hh = r; - n.wa = p; + function c(n, q, p, t) { + n = d.ff.call(this, n, void 0 === t ? "FtlProbeConfigImpl" : t) || this; + n.dh = q; + n.xa = p; return n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Gya = void 0; - q = a(1); + b.Eya = void 0; + r = a(1); f = a(40); k = a(0); - l = a(5); + l = a(4); d = a(45); - g = a(121); + g = a(120); h = a(44); a = a(37); - ka(c, d.ff); + ja(c, d.ff); Xa.Object.defineProperties(c.prototype, { enabled: { configurable: !0, @@ -63572,155 +63584,155 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return "" + this.lja + (-1 === this.lja.indexOf("?") ? "?" : "&") + "monotonic=" + this.wa.bZa + "&device=web"; + return "" + this.eja + (-1 === this.eja.indexOf("?") ? "?" : "&") + "monotonic=" + this.xa.ZYa + "&device=web"; } }, - T3a: { + U3a: { configurable: !0, enumerable: !0, get: function () { return l.hb; } }, - cja: { + Wia: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - lja: { + eja: { configurable: !0, enumerable: !0, get: function () { - return this.hh.endpoint + "/ftl/probe" + (this.cja ? "?force=" + this.cja : ""); + return this.dh.endpoint + "/ftl/probe" + (this.Wia ? "?force=" + this.Wia : ""); } } }); m = c; - q.__decorate([h.config(h.ud, "ftlEnabled")], m.prototype, "enabled", null); - q.__decorate([h.config(h.vk, "ftlStartDelay")], m.prototype, "T3a", null); - q.__decorate([h.config(h.string, "ftlEndpointForceParam")], m.prototype, "cja", null); - q.__decorate([h.config(h.url, "ftlEndpoint")], m.prototype, "lja", null); - m = q.__decorate([k.R(), q.__param(0, k.l(a.km)), q.__param(1, k.l(g.FH)), q.__param(2, k.l(f.wi)), q.__param(3, k.l(a.vO)), q.__param(3, k.optional())], m); - b.Gya = m; - }, function (q, b, a) { + r.__decorate([h.config(h.ad, "ftlEnabled")], m.prototype, "enabled", null); + r.__decorate([h.config(h.uk, "ftlStartDelay")], m.prototype, "U3a", null); + r.__decorate([h.config(h.string, "ftlEndpointForceParam")], m.prototype, "Wia", null); + r.__decorate([h.config(h.url, "ftlEndpoint")], m.prototype, "eja", null); + m = r.__decorate([k.R(), r.__param(0, k.l(a.jm)), r.__param(1, k.l(g.NH)), r.__param(2, k.l(f.wi)), r.__param(3, k.l(a.vO)), r.__param(3, k.optional())], m); + b.Eya = m; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { - m = k.ff.call(this, m, void 0 === r ? "EmeConfigImpl" : r) || this; - m.Ud = n; + function c(m, n, q) { + m = k.ff.call(this, m, void 0 === q ? "EmeConfigImpl" : q) || this; + m.Td = n; return m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.aya = void 0; - q = a(1); + b.Yxa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); - d = a(5); + d = a(4); g = a(44); a = a(161); - ka(c, k.ff); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - VVa: { + TVa: { configurable: !0, enumerable: !0, get: function () { - return this.Ud.fWa || this.Ud.ZT || this.Ud.EL ? !0 : !1; + return this.Td.dWa || this.Td.XT || this.Td.GL ? !0 : !1; } }, - $B: { + bC: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(5); + return d.Ug(5); } }, - rpa: { + mpa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(10); + return d.Ug(10); } }, - yS: { + xS: { configurable: !0, enumerable: !0, get: function () { return "unsentDrmData"; } }, - ZS: { + YS: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - Iv: { + Ov: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - YLa: { + XLa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(30); + return d.Ug(30); } }, - ZLa: { + YLa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(30); + return d.Ug(30); } }, - bMa: { + aMa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(30); + return d.Ug(30); } }, - $La: { + ZLa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(30); + return d.Ug(30); } }, - cMa: { + bMa: { configurable: !0, enumerable: !0, get: function () { - return d.Wg(30); + return d.Ug(30); } }, - Pra: { + Ira: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - p_a: { + n_a: { configurable: !0, enumerable: !0, get: function () { - return this.Ud.mv ? !1 : !0; + return this.Td.sv ? !1 : !0; } }, - q_a: { + o_a: { configurable: !0, enumerable: !0, get: function () { @@ -63729,23 +63741,23 @@ a000.D9b = function () { } }); h = c; - q.__decorate([g.config(g.ud, "initializeKeySystemAtStartup")], h.prototype, "VVa", null); - q.__decorate([g.config(g.vk, "licenseRenewalRequestDelay")], h.prototype, "$B", null); - q.__decorate([g.config(g.vk, "persistedReleaseDelay")], h.prototype, "rpa", null); - q.__decorate([g.config(g.string, "drmPersistKey")], h.prototype, "yS", null); - q.__decorate([g.config(g.ud, "forceLimitedDurationLicense")], h.prototype, "ZS", null); - q.__decorate([g.config(g.ud, "prepareCadmium")], h.prototype, "Iv", null); - q.__decorate([g.config(g.vk, "apiCloseTimeout")], h.prototype, "YLa", null); - q.__decorate([g.config(g.vk, "apiCreateMediaKeysTimeout")], h.prototype, "ZLa", null); - q.__decorate([g.config(g.vk, "apiSetServerCertificateTimeout")], h.prototype, "bMa", null); - q.__decorate([g.config(g.vk, "apiGenerateRequestTimeout")], h.prototype, "$La", null); - q.__decorate([g.config(g.vk, "apiUpdateTimeout")], h.prototype, "cMa", null); - q.__decorate([g.config(g.string, "serverCertificate")], h.prototype, "Pra", null); - q.__decorate([g.config(g.ud, "outputRestrictedIsFatal")], h.prototype, "p_a", null); - q.__decorate([g.config(g.ud, "outputRestrictedIsFatalForUhd")], h.prototype, "q_a", null); - h = q.__decorate([f.R(), q.__param(0, f.l(l.km)), q.__param(1, f.l(a.Vz)), q.__param(2, f.l(l.vO)), q.__param(2, f.optional())], h); - b.aya = h; - }, function (q, b, a) { + r.__decorate([g.config(g.ad, "initializeKeySystemAtStartup")], h.prototype, "TVa", null); + r.__decorate([g.config(g.uk, "licenseRenewalRequestDelay")], h.prototype, "bC", null); + r.__decorate([g.config(g.uk, "persistedReleaseDelay")], h.prototype, "mpa", null); + r.__decorate([g.config(g.string, "drmPersistKey")], h.prototype, "xS", null); + r.__decorate([g.config(g.ad, "forceLimitedDurationLicense")], h.prototype, "YS", null); + r.__decorate([g.config(g.ad, "prepareCadmium")], h.prototype, "Ov", null); + r.__decorate([g.config(g.uk, "apiCloseTimeout")], h.prototype, "XLa", null); + r.__decorate([g.config(g.uk, "apiCreateMediaKeysTimeout")], h.prototype, "YLa", null); + r.__decorate([g.config(g.uk, "apiSetServerCertificateTimeout")], h.prototype, "aMa", null); + r.__decorate([g.config(g.uk, "apiGenerateRequestTimeout")], h.prototype, "ZLa", null); + r.__decorate([g.config(g.uk, "apiUpdateTimeout")], h.prototype, "bMa", null); + r.__decorate([g.config(g.string, "serverCertificate")], h.prototype, "Ira", null); + r.__decorate([g.config(g.ad, "outputRestrictedIsFatal")], h.prototype, "n_a", null); + r.__decorate([g.config(g.ad, "outputRestrictedIsFatalForUhd")], h.prototype, "o_a", null); + h = r.__decorate([f.R(), r.__param(0, f.l(l.jm)), r.__param(1, f.l(a.Xz)), r.__param(2, f.l(l.vO)), r.__param(2, f.optional())], h); + b.Yxa = h; + }, function (r, b, a) { var c, f, k, @@ -63755,20 +63767,20 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.DQa = void 0; - q = a(0); - c = a(120); - f = a(582); + b.BQa = void 0; + r = a(0); + c = a(119); + f = a(585); k = a(79); - l = a(583); - d = a(308); - g = a(591); - b.DQa = new q.ad(function (h) { - h(c.Dxa).to(f.Cxa).$(); - h(k.gu).to(l.SBa).$(); - h(d.cya).to(g.bya); - }); - }, function (q, b, a) { + l = a(586); + d = a(310); + g = a(594); + b.BQa = new r.$c(function (h) { + h(c.Axa).to(f.zxa).aa(); + h(k.lu).to(l.QBa).aa(); + h(d.$xa).to(g.Zxa); + }); + }, function (r, b, a) { var f, k, l, @@ -63777,48 +63789,46 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; - function c(x, y, z, B, A, C, E, F, D, G) { - var I; - I = this; - this.vc = y; - this.dz = z; - this.config = B; - this.Oq = A; - this.Wub = C; - this.XJ = E; - this.Sl = F; - this.UL = D; - this.Vl = G; - this.lUb = function (J, H) { - var M; - I.Vl.mark(v.Da.wY, J.li.ba, "generate-challenge"); - M = !1; - H.ZRb(function (O) { - M || (M = !0, I.Vl.mark(v.Da.vY, J.li.ba, "generate-challenge")); - I.yF(J, H, O).then(function (L) { - H.sLa(L); - I.inb(H); - }).catch(function (L) { - return H.ukb(L); + function c(x, y, z, A, B, C, E, G, D, F) { + var J; + J = this; + this.xc = y; + this.gz = z; + this.config = A; + this.Pq = B; + this.$ub = C; + this.aK = E; + this.Lm = G; + this.WL = D; + this.Ul = F; + this.nUb = function (K, H) { + var L; + J.Ul.mark(v.Ea.wY, K.li.ca, "generate-challenge"); + L = !1; + H.bSb(function (Q) { + L || (L = !0, J.Ul.mark(v.Ea.vY, K.li.ca, "generate-challenge")); + J.CF(K, H, Q).then(function (I) { + H.qLa(I); + J.jnb(H); + }).catch(function (I) { + return H.ukb(I); }); }); }; - this.log = x.Cb("DrmServices"); - this.Oq().Cr && this.XJ.a1a().then(function () { - I.sPb(); - }).catch(function (J) { - I.log.error("Unable to load the persisted DRM data", J); + this.log = x.Db("DrmServices"); + this.Pq().Fr && this.aK.a1a().then(function () { + J.xPb(); + }).catch(function (K) { + J.log.error("Unable to load the persisted DRM data", K); }); - this.config.VVa && this.Sl.ly().then(function (J) { - return I.dPa(J, { - Xe: J.keySystem - }, h.Th.Co, D()).then(function (H) { + this.config.TVa && this.Lm.AB().then(function (K) { + return J.cPa(D(), K, h.Th.Do).then(function (H) { return H.close(); }); }); @@ -63826,160 +63836,158 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Cxa = void 0; - q = a(1); + b.zxa = void 0; + r = a(1); f = a(0); k = a(8); l = a(46); - d = a(307); - g = a(69); - h = a(59); - m = a(68); + d = a(309); + g = a(70); + h = a(60); + m = a(69); n = a(199); - r = a(198); - p = a(308); - u = a(15); - t = a(79); + q = a(198); + p = a(310); + t = a(15); + u = a(79); w = a(134); - v = a(65); - c.prototype.Txb = function (x, y) { - return this.bF(x.context, x.type, y).then(function (z) { - return z.Wxb(x.initData).then(function (B) { + v = a(66); + c.prototype.Zxb = function (x, y) { + return this.eF(y, x.type, x.context).then(function (z) { + return z.byb(x.initData).then(function (A) { return [z, { - Jn: z.Gs(), - data: B.zj + Kn: z.Ks(), + data: A.xj } ]; }); }); }; - c.prototype.ig = function (x, y) { + c.prototype.hg = function (x, y) { var z; z = this; - this.log.info("Requesting challenges", this.xTa(x, x.type)); - return this.bF(x.context, x.type, y).then(function (B) { - z.$Ya(x, B); - return B.Xxb(x.initData).then(function () { - return B; + this.log.info("Requesting challenges", this.yTa(x, x.type)); + return this.eF(y, x.type, x.context).then(function (A) { + z.XYa(x, A); + return A.cyb(x.initData).then(function () { + return A; }); }); }; - c.prototype.$Ya = function (x, y) { - y.gSb(x.li); - this.lUb(x, y); + c.prototype.XYa = function (x, y) { + y.jSb(x.li); + this.nUb(x, y); }; c.prototype.release = function (x, y) { var z; z = this; this.log.info("Releasing server license", this.pUa(x)); - return this.dBb(x).then(function () { - var B; - B = Object.assign({ + return this.fBb(x).then(function () { + var A; + A = Object.assign({ active: !1, - Xe: x.context.Xe, - ee: [] + ce: [] }, x.li); - z.XJ.VV(B); - y.FPb(); + z.aK.UV(A); + y.KPb(); return x; }); }; - c.prototype.xTa = function (x, y) { + c.prototype.yTa = function (x, y) { return { movieId: x.li.K, - xid: x.li.ba, - type: h.Mma(y) + xid: x.li.ca, + type: h.Gma(y) }; }; c.prototype.pUa = function (x) { return { movieId: x.li ? x.li.K : void 0, - xid: x.li ? x.li.ba : void 0, - keySessionId: x.ky() + xid: x.li ? x.li.ca : void 0, + keySessionId: x.py() }; }; - c.prototype.yF = function (x, y, z) { - this.log.info("Sending license request", this.xTa(x, z.Qf)); - return this.dz.ig({ - ba: x.li.ba, - Ti: x.li.Ti, - Y1: [x.li.Kl], - zj: [{ - sessionId: y.ky() || "session", - data: z.zj + c.prototype.CF = function (x, y, z) { + this.log.info("Sending license request", this.yTa(x, z.Rf)); + return this.gz.hg({ + ca: x.li.ca, + Ri: x.li.Ri, + a2: [x.li.Jl], + xj: [{ + sessionId: y.py() || "session", + data: z.xj } ], - Qf: z.Qf, - Jn: y.Gs(), - MNa: z.MNa, - BU: x.li.BU, - Fj: x.li.Fj + Rf: z.Rf, + Kn: y.Ks(), + LNa: z.LNa, + AU: x.li.AU, + Ej: x.li.Ej }); }; - c.prototype.dBb = function (x) { + c.prototype.fBb = function (x) { this.log.info("Sending release request", this.pUa(x)); - return this.dz.release({ - ba: x.li.ba, - ee: x.ee + return this.gz.release({ + ca: x.li.ca, + ce: x.ce }); }; - c.prototype.bF = function (x, y, z) { - var B; - B = this; - return this.Sl.ly().then(function (A) { - return B.dPa(A, x, y, z); + c.prototype.eF = function (x, y, z) { + var A; + A = this; + return this.Lm.AB().then(function (B) { + return A.cPa(x, B, y, z); }); }; - c.prototype.dPa = function (x, y, z, B) { - return this.Wub.create().then(function (A) { - return A.createSession(y, x, B, z).then(function () { - return A; + c.prototype.cPa = function (x, y, z, A) { + return this.$ub.create().then(function (B) { + return B.createSession(y, x, z, A).then(function () { + return B; }); }); }; - c.prototype.rPb = function (x) { + c.prototype.wPb = function (x) { var y; y = this; - return this.dz.release({ - ba: x.ba, - ee: x.ee + return this.gz.release({ + ca: x.ca, + ce: x.ce }).catch(function (z) { y.log.error("Unable to send release data to the server", z); }); }; - c.prototype.sPb = function () { + c.prototype.xPb = function () { var x; x = this; - this.vc.Oj(this.config.rpa, function () { + this.xc.Nj(this.config.mpa, function () { x.log.trace("Removing cached sessions", { - "count:": x.XJ.Z1.length + "count:": x.aK.b2.length }); - x.XJ.Z1.filter(function (y) { + x.aK.b2.filter(function (y) { return !y.active; }).reduce(function (y, z) { return y.then(function () { - return x.rPb(z); + return x.wPb(z); }).then(function () { - return x.XJ.VV(z); + return x.aK.UV(z); }); }, Promise.resolve(void 0)); }); }; - c.prototype.inb = function (x) { + c.prototype.jnb = function (x) { var y; - if (x.ky() && x.li) { - y = new r.nY(); - y.Xe = x.context.Xe; - y.ee = x.ee; - y.ba = x.li.ba; + if (x.py() && x.li) { + y = new q.mY(); + y.ce = x.ce; + y.ca = x.li.ca; y.K = x.li.K; - this.XJ.oLa(y); + this.aK.mLa(y); } }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.lj)), q.__param(2, f.l(d.Bxa)), q.__param(3, f.l(m.bu)), q.__param(4, f.l(u.dd)), q.__param(5, f.l(p.cya)), q.__param(6, f.l(n.I9)), q.__param(7, f.l(t.gu)), q.__param(8, f.l(w.lP)), q.__param(9, f.l(g.oP))], a); - b.Cxa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.ij)), r.__param(2, f.l(d.yxa)), r.__param(3, f.l(m.gu)), r.__param(4, f.l(t.ed)), r.__param(5, f.l(p.$xa)), r.__param(6, f.l(n.D9)), r.__param(7, f.l(u.lu)), r.__param(8, f.l(w.mP)), r.__param(9, f.l(g.pP))], a); + b.zxa = a; + }, function (r, b, a) { var f, k, l, @@ -63988,168 +63996,168 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E; - function c(F, D, G, I, J, H, M, O, L, P) { - this.Yq = F; - this.te = D; - this.wh = G; - this.Fi = I; - this.Bc = J; + function c(G, D, F, J, K, H, L, Q, I, O) { + this.Xq = G; + this.ve = D; + this.vh = F; + this.Fi = J; + this.Dc = K; this.is = H; - this.PU = M; - this.config = O; - this.hp = L; - this.ki = P; - this.log = this.Yq.Cb("MediaKeySystemAccessServices"); + this.OU = L; + this.config = Q; + this.ip = I; + this.ki = O; + this.log = this.Xq.Db("MediaKeySystemAccessServices"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.SBa = void 0; - q = a(1); + b.QBa = void 0; + r = a(1); f = a(0); k = a(3); l = a(8); d = a(90); g = a(133); - h = a(584); - m = a(585); - n = a(586); - r = a(201); + h = a(587); + m = a(588); + n = a(589); + q = a(201); p = a(28); - u = a(76); - t = a(35); + t = a(76); + u = a(35); w = a(26); v = a(36); - x = a(587); - y = a(589); + x = a(590); + y = a(592); z = a(77); - B = a(15); - A = a(104); - C = a(68); - a = a(70); - c.prototype.ly = function () { - this.promise || (this.promise = this.MQb()); + A = a(15); + B = a(104); + C = a(69); + a = a(71); + c.prototype.AB = function () { + this.promise || (this.promise = this.RQb()); return this.promise; }; - c.prototype.Srb = function (F) { + c.prototype.Trb = function (G) { var D; D = this; - return new Promise(function (G, I) { - var J, + return new Promise(function (F, J) { + var K, H; - J = A.Ob.Hja(F); - H = D.dTa(J); - J = D.XSa(J); - H.bQb(F, J.mka()).then(function (M) { + K = B.Pb.Aja(G); + H = D.dTa(K); + K = D.XSa(K); + H.gQb(G, K.ika()).then(function (L) { D.log.trace("Created the media keys system access", { - keySystem: F, - supportedconfig: M.getConfiguration ? JSON.stringify(M.getConfiguration()) : void 0 + keySystem: G, + supportedconfig: L.getConfiguration ? JSON.stringify(L.getConfiguration()) : void 0 }); - G(M); - }).catch(function (M) { + F(L); + }).catch(function (L) { D.log.error("Unable to create the media key system access object", { - keySystem: F, - error: M.message + keySystem: G, + error: L.message }); - I(new d.pg(k.L.Nxa, k.M.fj, void 0, "Unable to create media keys system access. " + M.message, M)); + J(new d.pg(k.M.Jxa, k.L.dj, void 0, "Unable to create media keys system access. " + L.message, L)); }); }); }; - c.prototype.Gs = function () { - var F; - F = this; - return this.ly().then(function (D) { - return F.YSa(D); + c.prototype.Ks = function () { + var G; + G = this; + return this.AB().then(function (D) { + return G.YSa(D); }); }; - c.prototype.ozb = function () { - var F, + c.prototype.szb = function () { + var G, D; - F = this; - D = this.config().VWa || [this.config().Xe]; + G = this; + D = this.config().TWa || [this.config().Ol]; if (1 < D.length) - return this.ly().then(function (G) { - return F.YSa(G); - }).then(function (G) { - return A.Ob.WSa(G); + return this.AB().then(function (F) { + return G.YSa(F); + }).then(function (F) { + return B.Pb.WSa(F); }); - D = A.Ob.Hja(D[0]); - return Promise.resolve(A.Ob.WSa(D)); + D = B.Pb.Aja(D[0]); + return Promise.resolve(B.Pb.WSa(D)); }; - c.prototype.pzb = function () { - var F; - F = this; - return this.Gs().then(function (D) { - return F.XSa(D); + c.prototype.tzb = function () { + var G; + G = this; + return this.Ks().then(function (D) { + return G.XSa(D); }); }; - c.prototype.rzb = function () { - var F; - F = this; - return this.Gs().then(function (D) { - return F.dTa(D); + c.prototype.vzb = function () { + var G; + G = this; + return this.Ks().then(function (D) { + return G.dTa(D); }); }; - c.prototype.YSa = function (F) { - return A.Ob.Hja(F.keySystem); + c.prototype.YSa = function (G) { + return B.Pb.Aja(G.keySystem); }; - c.prototype.XSa = function (F) { - switch (F) { - case g.jn.zC: - return new h.Zxa(this.Fi, this.Bc); - case g.jn.oF: - return new y.WFa(this.Fi, this.Bc, this.wh, this.ki); + c.prototype.XSa = function (G) { + switch (G) { + case g.hn.BC: + return new h.Wxa(this.Fi, this.Dc); + case g.hn.sF: + return new y.SFa(this.Fi, this.Dc, this.vh, this.ki); default: - return new n.rwa(this.Fi, this.hp, this.config); + return new n.owa(this.Fi, this.ip, this.config); } }; - c.prototype.dTa = function (F) { - switch (F) { - case g.jn.zC: - return new m.YEa(this.PU, this.is, this.Bc, this.te, this.hp, this.wh); - case g.jn.oF: - return new x.Bya(this.PU, this.is, this.Bc, this.te, this.hp, this.wh); + c.prototype.dTa = function (G) { + switch (G) { + case g.hn.BC: + return new m.VEa(this.OU, this.is, this.Dc, this.ve, this.ip, this.vh); + case g.hn.sF: + return new x.zya(this.OU, this.is, this.Dc, this.ve, this.ip, this.vh); default: - return new r.pu(this.PU, this.is, this.Bc, this.te, this.hp, this.wh); + return new q.uu(this.OU, this.is, this.Dc, this.ve, this.ip, this.vh); } }; - c.prototype.MQb = function () { - var F, + c.prototype.RQb = function () { + var G, D; - F = this; - D = (this.config().VWa || [this.config().Xe]).map(function (G) { + G = this; + D = (this.config().TWa || [this.config().Ol]).map(function (F) { return function () { - return F.Srb(G); + return G.Trb(F); }; }); - return this.NQb(D); + return this.SQb(D); }; - c.prototype.NQb = function (F) { - return F.reduce(function (D, G) { - return D.then(function (I) { - return Promise.resolve(I); + c.prototype.SQb = function (G) { + return G.reduce(function (D, F) { + return D.then(function (J) { + return Promise.resolve(J); }).catch(function () { - return G(); + return F(); }); }, Promise.reject(Error("keySystem missing"))); }; E = c; - E = q.__decorate([f.R(), q.__param(0, f.l(l.Kb)), q.__param(1, f.l(p.Hf)), q.__param(2, f.l(z.ru)), q.__param(3, f.l(u.lw)), q.__param(4, f.l(t.Rh)), q.__param(5, f.l(w.Gf)), q.__param(6, f.l(v.lI)), q.__param(7, f.l(B.dd)), q.__param(8, f.l(C.bu)), q.__param(9, f.l(a.ku))], E); - b.SBa = E; - }, function (q, b, a) { + E = r.__decorate([f.R(), r.__param(0, f.l(l.Ib)), r.__param(1, f.l(p.If)), r.__param(2, f.l(z.wu)), r.__param(3, f.l(t.rw)), r.__param(4, f.l(u.Rh)), r.__param(5, f.l(w.Hf)), r.__param(6, f.l(v.sI)), r.__param(7, f.l(A.ed)), r.__param(8, f.l(C.gu)), r.__param(9, f.l(a.ru))], E); + b.QBa = E; + }, function (r, b, a) { var f, k, l, @@ -64158,139 +64166,139 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u) { + q; + function c(p, t) { this.Fi = p; - this.Bc = u; + this.Dc = t; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Zxa = void 0; - q = a(1); + b.Wxa = void 0; + r = a(1); f = a(0); k = a(3); l = a(76); d = a(35); g = a(200); h = a(90); - m = a(60); + m = a(61); n = a(42); - r = a(66); - c.prototype.m1 = function () { + q = a(59); + c.prototype.o1 = function () { return !0; }; - c.prototype.cfa = function () { + c.prototype.Wea = function () { return !1; }; - c.prototype.Mfa = function () { + c.prototype.Ffa = function () { return !1; }; - c.prototype.qT = function () { - return r.Xz; + c.prototype.oT = function () { + return q.vw; }; - c.prototype.xja = function () { - return r.SCa; + c.prototype.qja = function () { + return q.naa; }; - c.prototype.mka = function () { + c.prototype.ika = function () { return [{ - initDataTypes: [this.qT()], + initDataTypes: [this.oT()], audioCapabilities: [{ - contentType: g.gI + contentType: g.oI } ], videoCapabilities: [{ - contentType: g.zw + contentType: g.Fw } ], sessionTypes: ["temporary"] } ]; }; - c.prototype.Mla = function () { - Promise.reject(new n.$c(k.L.c$)); + c.prototype.Hla = function () { + Promise.reject(new n.dd(k.M.X9)); }; - c.prototype.Iga = function (p) { - var u; - u = new Uint8Array(p.message); - u = this.yia(u, "PlayReadyKeyMessage", "Challenge"); - u = this.Bc.decode(u); + c.prototype.Cga = function (p) { + var t; + t = new Uint8Array(p.message); + t = this.qia(t, "PlayReadyKeyMessage", "Challenge"); + t = this.Dc.decode(t); return { type: p.type, sessionId: p.target.sessionId, - ZF: [u], + eG: [t], messageType: p.messageType }; }; - c.prototype.Mx = function (p) { - var u, - t, + c.prototype.Rx = function (p) { + var t, + u, w; - u = new h.pg(k.L.oq); - t = p.code; - null != t && void 0 !== t ? (t = parseInt(t, 10), u.jc = 1 <= t && 9 >= t ? k.M.Kr + t : k.M.Kr) : u.jc = p instanceof m.qq ? k.M.FO : k.M.fj; + t = new h.pg(k.M.qq); + u = p.code; + null != u && void 0 !== u ? (u = parseInt(u, 10), t.kc = 1 <= u && 9 >= u ? k.L.Nr + u : k.L.Nr) : t.kc = p instanceof m.sq ? k.L.FO : k.L.dj; try { w = (/\((\d+)\)/).exec(p.message); - u.wd = this.Fi.rF(Number(w && w[1]), 4); + t.wd = this.Fi.vF(Number(w && w[1]), 4); } catch (v) {} - u.pS(p); - return u; + t.oS(p); + return t; }; - c.prototype.yia = function (p, u) { + c.prototype.qia = function (p, t) { var w, v, x; - for (var t = 1; t < arguments.length; ++t) { ; + for (var u = 1; u < arguments.length; ++u) { ; } - for (t = 1; t < arguments.length; t++) { ; + for (u = 1; u < arguments.length; u++) { ; } - t = ""; + u = ""; v = p.length; for (w = 0; w < v; w++) { x = p[w]; - 0 < x && (t += String.fromCharCode(x)); + 0 < x && (u += String.fromCharCode(x)); } v = "\\s*(.*)\\s*"; for (w = arguments.length - 1; 0 < w; w--) { x = arguments[w]; - if (0 > t.search(x)) + if (0 > u.search(x)) return ""; x = "(?:[^:].*:|)" + x; v = "[\\s\\S]*<" + x + "[^>]*>" + v + "[\\s\\S]*"; } - return (t = t.match(new RegExp(v))) ? t[1] : ""; + return (u = u.match(new RegExp(v))) ? u[1] : ""; }; - c.prototype.bL = function () {}; + c.prototype.eL = function () {}; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.lw)), q.__param(1, f.l(d.Rh))], a); - b.Zxa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.rw)), r.__param(1, f.l(d.Rh))], a); + b.Wxa = a; + }, function (r, b, a) { var f, k, l, d; function c() { - return k.pu.apply(this, arguments) || this; + return k.uu.apply(this, arguments) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.YEa = void 0; - q = a(1); + b.VEa = void 0; + r = a(1); f = a(0); k = a(201); l = a(90); d = a(3); - ka(c, k.pu); - c.prototype.z1 = function (g, h, m, n, r) { + ja(c, k.uu); + c.prototype.B1 = function (g, h, m, n, q) { this.C1a(m); this.A1a(n); - this.y1a(r); - this.Sgb = this.fb; + this.y1a(q); + this.Tgb = this.fb; this.fb = g.createSession(h); - this.vLa(m); - this.rLa(n); - this.pLa(r); + this.tLa(m); + this.pLa(n); + this.nLa(q); return this.generateRequest(this.initDataType, this.initData); }; c.prototype.close = function () { @@ -64301,19 +64309,19 @@ a000.D9b = function () { }) : Promise.resolve(); } h = this; - this.oga = void 0; + this.iga = void 0; return this.fb ? g(this.fb).then(function () { - g(h.Sgb); - }) : Promise.reject(new l.pg(d.L.Mxa, d.M.SH, void 0, "Unable to close a key session, key session is not valid")); + g(h.Tgb); + }) : Promise.reject(new l.pg(d.M.Ixa, d.L.$H, void 0, "Unable to close a key session, key session is not valid")); }; c.prototype.generateRequest = function (g, h) { this.initDataType = g; this.initData = h; - return k.pu.prototype.generateRequest.call(this, g, h); + return k.uu.prototype.generateRequest.call(this, g, h); }; - a = q.__decorate([f.R()], c); - b.YEa = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.VEa = a; + }, function (r, b, a) { var f, k, l, @@ -64322,99 +64330,99 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w) { - this.Fi = u; - this.hp = t; + function c(t, u, w) { + this.Fi = t; + this.ip = u; this.config = w; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rwa = void 0; - q = a(1); + b.owa = void 0; + r = a(1); f = a(0); k = a(3); l = a(76); d = a(200); g = a(90); - h = a(60); - m = a(68); + h = a(61); + m = a(69); n = a(15); - r = a(42); - p = a(66); - c.prototype.m1 = function () { + q = a(42); + p = a(59); + c.prototype.o1 = function () { return !0; }; - c.prototype.cfa = function () { + c.prototype.Wea = function () { return !0; }; - c.prototype.Mfa = function () { + c.prototype.Ffa = function () { return !0; }; - c.prototype.qT = function () { - return p.Xz; + c.prototype.oT = function () { + return p.vw; }; - c.prototype.xja = function () { - return this.hp.Pra ? this.hp.Pra : p.xeb; + c.prototype.qja = function () { + return this.ip.Ira ? this.ip.Ira : p.RHa; }; - c.prototype.mka = function () { - var u, - t; - u = [{ - contentType: d.zw, - robustness: p.IY + c.prototype.ika = function () { + var t, + u; + t = [{ + contentType: d.Fw, + robustness: p.eP }, { - contentType: d.zw, - robustness: p.VFa + contentType: d.Fw, + robustness: p.hba }, { - contentType: d.zw, - robustness: p.nba + contentType: d.Fw, + robustness: p.yZ } ]; - t = [{ - contentType: d.zw, - robustness: p.nba + u = [{ + contentType: d.Fw, + robustness: p.yZ } ]; return [{ - initDataTypes: [this.qT()], + initDataTypes: [this.oT()], persistentState: "required", - videoCapabilities: this.config().$Ra ? t : u + videoCapabilities: this.config().ZRa ? u : t } ]; }; - c.prototype.Mla = function () { - Promise.reject(new r.$c(k.L.c$)); + c.prototype.Hla = function () { + Promise.reject(new q.dd(k.M.X9)); }; - c.prototype.Iga = function (u) { + c.prototype.Cga = function (t) { return { - type: u.type, - sessionId: u.target.sessionId, - ZF: [new Uint8Array(u.message)], - messageType: u.messageType + type: t.type, + sessionId: t.target.sessionId, + eG: [new Uint8Array(t.message)], + messageType: t.messageType }; }; - c.prototype.Mx = function (u) { - var t, + c.prototype.Rx = function (t) { + var u, w, v; - t = new g.pg(k.L.oq); - w = u.code; - null != w && void 0 !== w ? (w = parseInt(w, 10), t.jc = 1 <= w && 9 >= w ? k.M.Kr + w : k.M.Kr) : t.jc = u instanceof h.qq ? k.M.FO : k.M.fj; + u = new g.pg(k.M.qq); + w = t.code; + null != w && void 0 !== w ? (w = parseInt(w, 10), u.kc = 1 <= w && 9 >= w ? k.L.Nr + w : k.L.Nr) : u.kc = t instanceof h.sq ? k.L.FO : k.L.dj; try { - v = u.message.match(/\((\d*)\)/)[1]; - t.wd = this.Fi.rF(v, 4); + v = t.message.match(/\((\d*)\)/)[1]; + u.wd = this.Fi.vF(v, 4); } catch (x) {} - t.pS(u); - return t; + u.oS(t); + return u; }; - c.prototype.bL = function () {}; + c.prototype.eL = function () {}; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.lw)), q.__param(1, f.l(m.bu)), q.__param(2, f.l(n.dd))], a); - b.rwa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.rw)), r.__param(1, f.l(m.gu)), r.__param(2, f.l(n.ed))], a); + b.owa = a; + }, function (r, b, a) { var f, k, l, @@ -64423,163 +64431,163 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x, y, z) { - t = k.pu.call(this, t, w, v, x, y, z) || this; - t.Bc = v; - t.Rd = x; - t.hp = y; - t.wh = z; - t.nVa = new l.Aya(t.Bc, t.Rd, t.wh); - return t; + t; + function c(u, w, v, x, y, z) { + u = k.uu.call(this, u, w, v, x, y, z) || this; + u.Dc = v; + u.Pd = x; + u.ip = y; + u.vh = z; + u.lVa = new l.yya(u.Dc, u.Pd, u.vh); + return u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Bya = void 0; - q = a(1); + b.zya = void 0; + r = a(1); f = a(0); k = a(201); - l = a(588); + l = a(591); d = a(36); g = a(26); h = a(35); m = a(28); - n = a(68); - r = a(77); - p = a(309); - u = a(310); - ka(c, k.pu); - c.prototype.generateRequest = function (t, w) { + n = a(69); + q = a(77); + p = a(311); + t = a(312); + ja(c, k.uu); + c.prototype.generateRequest = function (u, w) { var v, x, y; v = this; try { x = w.map(function (z) { - return v.nVa.aAb(z); + return v.lVa.eAb(z); }); - this.IVa = x.map(function (z) { - return v.Bc.encode(z); + this.GVa = x.map(function (z) { + return v.Dc.encode(z); }); - y = this.nVa.Apb(x); - return k.pu.prototype.generateRequest.call(this, t, [y]); + y = this.lVa.Bpb(x); + return k.uu.prototype.generateRequest.call(this, u, [y]); } catch (z) { return Promise.reject(z); } }; - c.prototype.update = function (t, w, v) { + c.prototype.update = function (u, w, v) { var x, y, z, - B, - A; + A, + B; x = this; if (v) try { - y = this.wh.encode(t[0]); + y = this.vh.encode(u[0]); z = JSON.parse(y).RESPONSES.map(function (C) { var E; - E = u.yZ.p4a(C.ID); + E = t.zZ.r4a(C.ID); return { - keyID: w === p.PD.xFa ? x.IVa[x.IVa.length - 1] : v[E], + keyID: w === p.SD.uFa ? x.GVa[x.GVa.length - 1] : v[E], payload: C.PAYLOAD }; }); - if (w === p.PD.Request) { - B = z.map(function (C) { + if (w === p.SD.Request) { + A = z.map(function (C) { return C.keyID; }); v.forEach(function (C) { - B.includes(C) || z.push({ + A.includes(C) || z.push({ keyID: C, error: 1 }); }); } - A = JSON.stringify(z); - t = [this.wh.decode(A)]; + B = JSON.stringify(z); + u = [this.vh.decode(B)]; } catch (C) { return Promise.reject(C); } - return k.pu.prototype.update.call(this, t, w); + return k.uu.prototype.update.call(this, u, w); }; - c.prototype.CG = function () { - return k.pu.prototype.update.call(this, [this.wh.decode("renew")], p.PD.Request); + c.prototype.JG = function () { + return k.uu.prototype.update.call(this, [this.vh.decode("renew")], p.SD.Request); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(d.lI)), q.__param(1, f.l(g.Gf)), q.__param(2, f.l(h.Rh)), q.__param(3, f.l(m.Hf)), q.__param(4, f.l(n.bu)), q.__param(5, f.l(r.ru))], a); - b.Bya = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(d.sI)), r.__param(1, f.l(g.Hf)), r.__param(2, f.l(h.Rh)), r.__param(3, f.l(m.If)), r.__param(4, f.l(n.gu)), r.__param(5, f.l(q.wu))], a); + b.zya = a; + }, function (r, b) { function a(c, f, k) { var l; l = this; - this.Bc = c; - this.Rd = f; - this.wh = k; - this.aAb = function (d) { + this.Dc = c; + this.Pd = f; + this.vh = k; + this.eAb = function (d) { var g; d = d.subarray(14, 30); d = String.fromCharCode.apply(null, d); - d = l.Bc.decode(d); + d = l.Dc.decode(d); d = d.subarray(4); g = new Uint8Array(16); g.set(d); return g; }; - this.K$a = { - Xz: 1667591779, - rZb: 1667392371 + this.N$a = { + vw: 1667591779, + sZb: 1667392371 }; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Aya = void 0; - a.prototype.Apb = function (c) { + b.yya = void 0; + a.prototype.Bpb = function (c) { var f; - f = this.K$a.Xz; + f = this.N$a.vw; c = c.map(function (k) { return { - z5b: "", - KFb: k, - Tea: k, - wTb: k, - HXb: [1] + J5b: "", + NFb: k, + Mea: k, + zTb: k, + JXb: [1] }; }); - return this.qHb(f, c); + return this.tHb(f, c); }; - a.prototype.pHb = function (c) { + a.prototype.sHb = function (c) { var f; f = new Uint8Array(4); new DataView(f.buffer).setUint32(0, c); - return this.ona("fpsi", [f]); + return this.ina("fpsi", [f]); }; - a.prototype.oHb = function (c, f, k, l) { - c = [this.ona("fkri", [c])]; - f.byteLength && c.push(this.vU("fkai", [f])); - k.byteLength && c.push(this.vU("fkcx", [k])); - l.length && c.push(this.vU("fkvl", [new Uint8Array(new Uint32Array(l).buffer)])); - return this.vU("fpsk", c); + a.prototype.rHb = function (c, f, k, l) { + c = [this.ina("fkri", [c])]; + f.byteLength && c.push(this.uU("fkai", [f])); + k.byteLength && c.push(this.uU("fkcx", [k])); + l.length && c.push(this.uU("fkvl", [new Uint8Array(new Uint32Array(l).buffer)])); + return this.uU("fpsk", c); }; - a.prototype.qHb = function (c, f) { + a.prototype.tHb = function (c, f) { var k, d; k = new Uint8Array([148, 206, 134, 251, 7, 255, 79, 67, 173, 184, 147, 210, 250, 150, 140, 162]); - c = [this.pHb(c)]; + c = [this.sHb(c)]; for (var l in f) { d = f[l]; - c.push(this.oHb(d.KFb, d.Tea, d.wTb, d.HXb)); + c.push(this.rHb(d.NFb, d.Mea, d.zTb, d.JXb)); } - f = this.vU("fpsd", c); + f = this.uU("fpsd", c); l = new Uint8Array(4); new DataView(l.buffer).setUint32(0, f.byteLength); - return this.ona("pssh", [k, l, f]); + return this.ina("pssh", [k, l, f]); }; - a.prototype.ona = function (c, f) { + a.prototype.ina = function (c, f) { var k, l, d; @@ -64592,7 +64600,7 @@ a000.D9b = function () { d = 0; l.setUint32(d, k.byteLength); d += 4; - k.set(this.wh.decode(c), d); + k.set(this.vh.decode(c), d); d += 4; l.setUint32(d, 0); d += 4; @@ -64603,7 +64611,7 @@ a000.D9b = function () { } return k; }; - a.prototype.vU = function (c, f) { + a.prototype.uU = function (c, f) { var k, l; k = 0; @@ -64614,7 +64622,7 @@ a000.D9b = function () { l = 0; new DataView(k.buffer).setUint32(l, k.byteLength); l += 4; - k.set(this.wh.decode(c), l); + k.set(this.vh.decode(c), l); l += 4; for (var d in f) { c = f[d]; @@ -64623,8 +64631,8 @@ a000.D9b = function () { } return k; }; - b.Aya = a; - }, function (q, b, a) { + b.yya = a; + }, function (r, b, a) { var f, k, l, @@ -64633,51 +64641,51 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; function c(w, v, x, y) { this.Fi = w; - this.Bc = v; - this.wh = x; + this.Dc = v; + this.vh = x; this.ki = y; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.WFa = void 0; - q = a(1); + b.SFa = void 0; + r = a(1); f = a(0); k = a(3); l = a(76); d = a(77); g = a(90); - h = a(60); + h = a(61); m = a(35); - n = a(66); - r = a(311); + n = a(59); + q = a(313); p = a(42); - u = a(70); - t = a(310); - c.prototype.m1 = function () { + t = a(71); + u = a(312); + c.prototype.o1 = function () { return !1; }; - c.prototype.cfa = function () { + c.prototype.Wea = function () { return !1; }; - c.prototype.Mfa = function () { + c.prototype.Ffa = function () { return !0; }; - c.prototype.qT = function () { - return n.Xz; + c.prototype.oT = function () { + return n.vw; }; - c.prototype.xja = function () { - return n.j$; + c.prototype.qja = function () { + return n.sY; }; - c.prototype.mka = function () { + c.prototype.ika = function () { return [{ - initDataTypes: [n.Xz], + initDataTypes: [n.vw], videoCapabilities: [{ contentType: "video/mp4;codecs=avc1.42E01E", robustness: "" @@ -64694,16 +64702,16 @@ a000.D9b = function () { } ]; }; - c.prototype.Mla = function (w) { - w.CG(); + c.prototype.Hla = function (w) { + w.JG(); }; - c.prototype.Iga = function (w) { + c.prototype.Cga = function (w) { var v, x; v = []; - if (w.messageType === r.Y$ || w.messageType === r.X$) { - if (w.messageType === r.Y$) { - x = this.wh.encode(new Uint8Array(w.message)); + if (w.messageType === q.Q$ || w.messageType === q.P$) { + if (w.messageType === q.Q$) { + x = this.vh.encode(new Uint8Array(w.message)); v = JSON.parse(x); x = v.map(function (y) { return y.keyID; @@ -64712,24 +64720,24 @@ a000.D9b = function () { return y.payload; }); } else - v = [this.Bc.encode(new Uint8Array(w.message))]; + v = [this.Dc.encode(new Uint8Array(w.message))]; if (0 === v.length || !v.every(function (y) { return y && y.length; })) - throw new p.$c(k.L.Rxa); - v = this.pVb(v); - v = this.wh.decode(JSON.stringify(v)); + throw new p.dd(k.M.Nxa); + v = this.rVb(v); + v = this.vh.decode(JSON.stringify(v)); } else v = new Uint8Array(w.message); return { type: w.type, sessionId: w.target.sessionId, - ZF: [v], + eG: [v], messageType: w.messageType, - nv: x + tv: x }; }; - c.prototype.Mx = function (w) { + c.prototype.Rx = function (w) { var v, x, y, @@ -64737,49 +64745,49 @@ a000.D9b = function () { x = null === (v = w.target) || void 0 === v ? void 0 : v.error; if (x) (y = x.systemCode, z = x.code); - v = new g.pg(k.L.oq, w instanceof h.qq ? k.M.FO : k.M.Kr, y ? this.Fi.rF(y, 4) : z, "", x); - v.pS(w); + v = new g.pg(k.M.qq, w instanceof h.sq ? k.L.FO : k.L.Nr, y ? this.Fi.vF(y, 4) : z, "", x); + v.oS(w); return v; }; - c.prototype.pVb = function (w) { + c.prototype.rVb = function (w) { w = w.map(function (v, x) { return { - ID: t.yZ.LDb(x), + ID: u.zZ.PDb(x), PAYLOAD: v }; }); return { - VERSION: this.ki.l1 ? 3 : 1, + VERSION: this.ki.n1 ? 3 : 1, CHALLENGES: w }; }; - c.prototype.bL = function (w, v) { + c.prototype.eL = function (w, v) { var x, y; x = this; - if (v && this.ki.l1) + if (v && this.ki.n1) try { - y = this.wh.encode(v[0]); - return JSON.parse(y).RESPONSES.sort(function (z, B) { - return z.ID > B.ID ? 1 : -1; + y = this.vh.encode(v[0]); + return JSON.parse(y).RESPONSES.sort(function (z, A) { + return z.ID > A.ID ? 1 : -1; }).map(function (z) { - var B; - B = t.yZ.p4a(z.ID); - z = x.Bc.decode(z.DHB).subarray(4, 12); - B = x.Bc.decode(w[B]).subarray(0, 8); + var A; + A = u.zZ.r4a(z.ID); + z = x.Dc.decode(z.DHB).subarray(4, 12); + A = x.Dc.decode(w[A]).subarray(0, 8); return { from: z, - to: B + to: A }; }); } catch (z) { - throw new g.pg(k.L.Pcb, void 0, void 0, void 0, z); + throw new g.pg(k.M.Scb, void 0, void 0, void 0, z); } }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.lw)), q.__param(1, f.l(m.Rh)), q.__param(2, f.l(d.ru)), q.__param(3, f.l(u.ku))], a); - b.WFa = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.rw)), r.__param(1, f.l(m.Rh)), r.__param(2, f.l(d.wu)), r.__param(3, f.l(t.ru))], a); + b.SFa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); @@ -64792,7 +64800,7 @@ a000.D9b = function () { a.reject = f; }); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -64801,44 +64809,44 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t, w, v) { - this.Yq = r; - this.Pa = p; - this.Bc = u; - this.config = t; - this.co = w; - this.Sl = v; + function c(q, p, t, u, w, v) { + this.Xq = q; + this.La = p; + this.Dc = t; + this.config = u; + this.eo = w; + this.Lm = v; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.bya = void 0; - q = a(1); + b.Zxa = void 0; + r = a(1); f = a(0); k = a(8); l = a(20); d = a(35); - g = a(68); - h = a(60); - m = a(311); + g = a(69); + h = a(61); + m = a(313); a = a(79); c.prototype.create = function () { - var r; - r = this; - return Promise.all([this.Sl.rzb(), this.Sl.pzb(), this.Sl.Gs()]).then(function (p) { - var u, - t; - u = aa(p); - p = u.next().value; - t = u.next().value; - u = u.next().value; - return new m.dya(r.Yq, r.Pa, r.Bc, r.config, p, t, u, r.co); + var q; + q = this; + return Promise.all([this.Lm.vzb(), this.Lm.tzb(), this.Lm.Ks()]).then(function (p) { + var t, + u; + t = aa(p); + p = t.next().value; + u = t.next().value; + t = t.next().value; + return new m.aya(q.Xq, q.La, q.Dc, q.config, p, u, t, q.eo); }); }; n = c; - n = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.zd)), q.__param(2, f.l(d.Rh)), q.__param(3, f.l(g.bu)), q.__param(4, f.l(h.Gw)), q.__param(5, f.l(a.gu))], n); - b.bya = n; - }, function (q, b, a) { + n = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.zd)), r.__param(2, f.l(d.Rh)), r.__param(3, f.l(g.gu)), r.__param(4, f.l(h.Mw)), r.__param(5, f.l(a.lu))], n); + b.Zxa = n; + }, function (r, b, a) { var c, f, k, @@ -64848,71 +64856,71 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R; + Q, + I, + O, + N; Object.defineProperty(b, "__esModule", { value: !0 }); - b.rXa = void 0; - c = a(593); - f = a(618); - k = a(627); - l = a(630); - d = a(636); - g = a(639); - h = a(642); - m = a(654); - n = a(664); - r = a(668); - p = a(670); - u = a(1005); + b.pXa = void 0; + c = a(596); + f = a(621); + k = a(630); + l = a(633); + d = a(639); + g = a(642); + h = a(645); + m = a(657); + n = a(667); + q = a(671); + p = a(673); t = a(1007); - w = a(1011); - v = a(1023); - x = a(1030); - y = a(1037); - z = a(1040); - B = a(1046); - A = a(197); - C = a(1054); - E = a(1055); - F = a(1062); - D = a(1075); - G = a(1081); - I = a(1083); - J = a(1090); - H = a(1143); - M = a(1165); - O = a(1169); - L = a(1173); - P = a(1186); - R = a(1189); - b.rXa = function (K) { - K.load(c.Jx, g.hH, f.DXa, h.zm, k.ZYa, l.Ca, d.F6a, m.storage, n.ME, r.vNa, p.WXa, u.lC, t.ei, w.CXa, v.mZa, x.lSa, y.P0a, z.uG, B.zQa, A.eme, C.crypto, E.te, F.pd, D.Ma, G.dZa, I.R_a, J.j, H.sOa, M.transports, O.Mi, L.Lh, P.zMa, R.sa); - }; - }, function (q, b, a) { + u = a(1009); + w = a(1013); + v = a(1025); + x = a(1032); + y = a(1039); + z = a(1042); + A = a(1049); + B = a(197); + C = a(1057); + E = a(1058); + G = a(1065); + D = a(1078); + F = a(1084); + J = a(1086); + K = a(1093); + H = a(1147); + L = a(1169); + Q = a(1173); + I = a(1177); + O = a(1190); + N = a(1193); + b.pXa = function (M) { + M.load(c.Ox, g.pH, f.BXa, h.xm, k.WYa, l.wa, d.I6a, m.storage, n.VJ, q.vNa, p.UXa, t.nC, u.ei, w.AXa, v.jZa, x.kSa, y.P0a, z.AG, A.xQa, B.eme, C.crypto, E.ve, G.qd, D.Pa, F.aZa, J.P_a, K.j, H.qOa, L.transports, Q.cl, I.Kh, O.zMa, N.sa); + }; + }, function (r, b, a) { var c, f, k, @@ -64922,53 +64930,53 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La, Ma, Va, @@ -64980,245 +64988,245 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Jx = void 0; - q = a(0); + b.Ox = void 0; + r = a(0); c = a(36); f = a(40); k = a(46); l = a(92); d = a(136); - g = a(594); - h = a(595); - m = a(596); - n = a(597); - r = a(77); + g = a(597); + h = a(598); + m = a(599); + n = a(600); + q = a(77); p = a(76); - u = a(35); - t = a(28); + t = a(35); + u = a(28); w = a(26); v = a(93); - x = a(60); - y = a(314); - z = a(598); - B = a(315); - A = a(599); - C = a(600); - E = a(601); - F = a(190); - D = a(316); - G = a(602); - I = a(196); - J = a(106); - H = a(603); - M = a(20); - O = a(317); - L = a(604); - P = a(605); - R = a(91); - K = a(606); - Q = a(8); - N = a(313); - da = a(607); - na = a(69); - va = a(608); - ra = a(318); - X = a(609); - ta = a(610); - za = a(107); + x = a(61); + y = a(316); + z = a(601); + A = a(317); + B = a(602); + C = a(603); + E = a(604); + G = a(190); + D = a(318); + F = a(605); + J = a(196); + K = a(106); + H = a(606); + L = a(20); + Q = a(319); + I = a(607); + O = a(608); + N = a(91); + M = a(609); + P = a(8); + R = a(315); + ea = a(610); + pa = a(70); + va = a(611); + ta = a(320); + Y = a(612); + ra = a(613); + Ea = a(107); V = a(11); - T = a(611); - ja = a(320); - Ia = a(321); - wa = a(612); - Sa = a(322); + U = a(614); + ma = a(322); + Ia = a(323); + wa = a(615); + Ta = a(324); Ua = a(15); - $a = a(34); + ab = a(34); Za = a(137); - mb = a(323); - db = a(161); - Ta = a(613); - Ca = a(324); - La = a(325); - Ma = a(165); - Va = a(614); - ib = a(326); - yb = a(615); - Eb = a(203); - Hb = a(616); - Ob = a(617); - b.Jx = new q.ad(function (Cb) { - Cb(c.CP).RC(function () { + nb = a(325); + cb = a(161); + Sa = a(616); + Ba = a(326); + La = a(327); + Ma = a(203); + Va = a(617); + ib = a(328); + yb = a(618); + Eb = a(204); + Hb = a(619); + Ob = a(620); + b.Ox = new r.$c(function (Cb) { + Cb(c.CP).SC(function () { return {}; - }).$(); - Cb(c.mD).si(JSON); - Cb(c.WHa).si(pb); - Cb(d.OGa).si(Math); - Cb(c.DAa).si(V.WY); - Cb(c.Gaa).si(V.iu); - Cb(c.DHa).si(V.jA); - Cb(c.Ywa).si(Date); - Cb(c.lI).si(V.Qe); - Cb(c.Kbb).si(V.BD); - Cb(N.vwa).to(da.uwa).$(); - Cb(M.zd).to(H.Mua).$(); - Cb(f.wi).to(n.wwa).$(); - Cb(k.lj).to(g.XFa).$(); - Cb(l.cA).to(h.Sza).$(); - Cb(x.Gw).to(E.lFa).$(); - Cb(d.sZ).to(m.tFa).$(); - Cb(mb.baa).to(Ob.OBa).$(); - Cb(R.Yt).to(P.dxa).$(); - Cb(R.bxa).to(K.axa).$(); - Cb(r.ru).to(z.EHa).$(); - Cb(p.lw).to(B.A9).$(); - Cb(u.Rh).to(A.wva).$(); - Cb(t.Hf).to(C.FHa).$(); - Cb(w.Gf).si(F.lD); - Cb(Ca.HO).to(La.rya).$(); - Cb(v.sya).to(D.Wj).tla(); - Cb(v.lY).to(D.Wj).$(); - Cb(v.nxa).to(D.Wj).$(); - Cb(v.m$).to(D.Wj).$(); - Cb(I.uba).to(J.nA).$(); - Cb(O.Mwa).to(L.Lwa).$(); - Cb(na.ND).to(va.yba).$(); - Cb(na.oP).to(va.yba).$(); - Cb("Factory").g5a(Q.Kb); - Cb(ra.Y9).to(X.exa).$(); - Cb(za.yI).sf(function (Kb) { + }).aa(); + Cb(c.oD).si(JSON); + Cb(c.UHa).si(pb); + Cb(d.KGa).si(Math); + Cb(c.BAa).si(V.VY); + Cb(c.zaa).si(V.pu); + Cb(c.zHa).si(V.kA); + Cb(c.Vwa).si(Date); + Cb(c.sI).si(V.Re); + Cb(c.Obb).si(V.DD); + Cb(R.swa).to(ea.rwa).aa(); + Cb(L.zd).to(H.Jua).aa(); + Cb(f.wi).to(n.twa).aa(); + Cb(k.ij).to(g.TFa).aa(); + Cb(l.dA).to(h.Qza).aa(); + Cb(x.Mw).to(E.iFa).aa(); + Cb(d.sZ).to(m.qFa).aa(); + Cb(nb.U$).to(Ob.MBa).aa(); + Cb(N.cu).to(O.axa).aa(); + Cb(N.Zwa).to(M.Ywa).aa(); + Cb(q.wu).to(z.AHa).aa(); + Cb(p.rw).to(A.v9).aa(); + Cb(t.Rh).to(B.tva).aa(); + Cb(u.If).to(C.BHa).aa(); + Cb(w.Hf).si(G.nD); + Cb(Ba.HO).to(La.pya).aa(); + Cb(v.qya).to(D.Wj).ola(); + Cb(v.kY).to(D.Wj).aa(); + Cb(v.kxa).to(D.Wj).aa(); + Cb(v.e$).to(D.Wj).aa(); + Cb(J.oba).to(K.pA).aa(); + Cb(Q.Jwa).to(I.Iwa).aa(); + Cb(pa.QD).to(va.sba).aa(); + Cb(pa.pP).to(va.sba).aa(); + Cb("Factory").i5a(P.Ib); + Cb(ta.T9).to(Y.bxa).aa(); + Cb(Ea.DI).sf(function (Kb) { return function (Vb) { - return new ta.ZGa(Kb.$a.get(M.zd), Kb.$a.get(k.lj), Vb); + return new ra.VGa(Kb.$a.get(L.zd), Kb.$a.get(k.ij), Vb); }; }); - Cb(ib.Zwa).sf(function (Kb) { + Cb(ib.Wwa).sf(function (Kb) { return function (Vb) { - return new yb.$wa(Kb.$a.get(k.lj), Vb); + return new yb.Xwa(Kb.$a.get(k.ij), Vb); }; }); - Cb(T.aba).rVb(ja.$aa); - Cb(T.pdb).sf(function (Kb) { + Cb(U.Vaa).tVb(ma.Uaa); + Cb(U.sdb).sf(function (Kb) { var Vb; - Vb = Kb.$a.get(T.aba); + Vb = Kb.$a.get(U.Vaa); return function () { return new Vb(!1); }; }); - Cb(T.qdb).sf(function (Kb) { + Cb(U.tdb).sf(function (Kb) { var Vb; - Vb = Kb.$a.get(T.aba); + Vb = Kb.$a.get(U.Vaa); return function () { return new Vb(!0); }; }); - Cb(Ia.BHa).sf(function () { + Cb(Ia.xHa).sf(function () { return function (Kb) { - return new wa.CHa(Kb); + return new wa.yHa(Kb); }; }); Cb(Za.DP).sf(function (Kb) { return function (Vb, mc, Dc) { - return new Sa.BEa(Kb.$a.get(R.Yt), Kb.$a.get(Ua.dd), Kb.$a.get($a.Kk), Kb.$a.get(mb.baa), Vb, mc, Dc); + return new Ta.zEa(Kb.$a.get(N.cu), Kb.$a.get(Ua.ed), Kb.$a.get(ab.Kk), Kb.$a.get(nb.U$), Vb, mc, Dc); }; }); - Cb(y.ICa).sf(function () { + Cb(y.GCa).sf(function () { return function (Kb) { - return new G.JCa(Kb); + return new F.HCa(Kb); }; }); - Cb(db.Vz).to(Ta.Mva); - Cb(Ma.QP).sf(function (Kb) { + Cb(cb.Xz).to(Sa.Jva); + Cb(Ma.GZ).sf(function (Kb) { return function (Vb, mc) { - return new Va.jHa(Kb.$a.get(k.lj), Vb, mc); + return new Va.fHa(Kb.$a.get(k.ij), Vb, mc); }; }); - Cb(Eb.kya).to(Hb.jya).$(); + Cb(Eb.hya).to(Hb.gya).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, g; function c(h) { - this.NN = h; - l.Vn(this, "timers"); + this.ON = h; + l.Xn(this, "timers"); } function f(h, m) { - this.NN = h; - this.Rnb = m; + this.ON = h; + this.Snb = m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.XFa = void 0; - q = a(1); + b.TFa = void 0; + r = a(1); k = a(0); l = a(56); d = a(36); - g = a(5); + g = a(4); f.prototype.cancel = function () { - this.Rnb(this.NN); + this.Snb(this.ON); }; - c.prototype.ol = function (h) { - return this.Oj(g.hb, h); + c.prototype.nl = function (h) { + return this.Nj(g.hb, h); }; - c.prototype.Oj = function (h, m) { + c.prototype.Nj = function (h, m) { var n; - n = this.NN.setTimeout(m, h.ea(g.ma)); - return new f(this.NN, function (r) { - r.clearTimeout(n); + n = this.ON.setTimeout(m, h.ea(g.ma)); + return new f(this.ON, function (q) { + q.clearTimeout(n); }); }; - c.prototype.l7 = function (h, m) { + c.prototype.i7 = function (h, m) { var n; - n = this.NN.setInterval(m, h.ea(g.ma)); - return new f(this.NN, function (r) { - r.clearInterval(n); + n = this.ON.setInterval(m, h.ea(g.ma)); + return new f(this.ON, function (q) { + q.clearInterval(n); }); }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(d.WHa))], a); - b.XFa = a; - }, function (q, b, a) { + a = r.__decorate([k.R(), r.__param(0, k.l(d.UHa))], a); + b.TFa = a; + }, function (r, b, a) { var f, k, l, d, g; function c(h, m) { - this.wa = h; + this.xa = h; this.random = m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Sza = void 0; - q = a(1); + b.Qza = void 0; + r = a(1); k = a(0); - l = a(5); + l = a(4); d = a(40); a = a(136); - c.prototype.lB = function () { - return this.wa.Ue.ea(l.nn) * f.awa + Math.floor(this.random.random() * f.awa); + c.prototype.mB = function () { + return this.xa.We.ea(l.ln) * f.Yva + Math.floor(this.random.random() * f.Yva); }; g = f = c; - g.awa = 1E8; - g = f = q.__decorate([k.R(), q.__param(0, k.l(d.wi)), q.__param(1, k.l(a.sZ))], g); - b.Sza = g; - }, function (q, b, a) { + g.Yva = 1E8; + g = f = r.__decorate([k.R(), r.__param(0, k.l(d.wi)), r.__param(1, k.l(a.sZ))], g); + b.Qza = g; + }, function (r, b, a) { var f, k; function c(l) { - this.IUb = l; + this.KUb = l; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.tFa = void 0; - q = a(1); + b.qFa = void 0; + r = a(1); f = a(0); a = a(136); c.prototype.random = function () { - return this.IUb.random(); + return this.KUb.random(); }; c.prototype.W0a = function (l, d) { if ("number" !== typeof l) @@ -65228,9 +65236,9 @@ a000.D9b = function () { return Math.round(l + this.random() * (d - l)); }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.OGa))], k); - b.tFa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.KGa))], k); + b.qFa = k; + }, function (r, b, a) { var f, k, l, @@ -65238,77 +65246,77 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u) { - var t; - t = this; + function c(n, q, p, t) { + var u; + u = this; this.config = n; - this.Msb = r; - this.Pb = p; - this.performance = u; - this.eLb = function (w) { - t.K2a = w.Ba(t.Ue); + this.Osb = q; + this.Rb = p; + this.performance = t; + this.gLb = function (w) { + u.K2a = w.Da(u.We); }; - f.Vn(this, "date"); - f.Vn(this, "performance"); - this.hlb = void 0 !== this.performance && void 0 !== this.performance.timing && void 0 !== this.performance.now; + f.Xn(this, "date"); + f.Xn(this, "performance"); + this.jlb = void 0 !== this.performance && void 0 !== this.performance.timing && void 0 !== this.performance.now; this.K2a = k.hb; - this.Pb.addListener(m.F$.M2a, this.eLb); + this.Rb.addListener(m.x$.M2a, this.gLb); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.wwa = void 0; - q = a(1); + b.twa = void 0; + r = a(1); f = a(56); - k = a(5); + k = a(4); l = a(0); d = a(36); - g = a(313); + g = a(315); h = a(93); m = a(18); Xa.Object.defineProperties(c.prototype, { - Ue: { + We: { configurable: !0, enumerable: !0, get: function () { - return this.bZa ? k.timestamp(this.performance.timing.navigationStart + this.performance.now()) : k.uc(this.Msb.now()); + return this.ZYa ? k.timestamp(this.performance.timing.navigationStart + this.performance.now()) : k.wc(this.Osb.now()); } }, - x7: { + t7: { configurable: !0, enumerable: !0, get: function () { - return this.Ue.add(this.K2a); + return this.We.add(this.K2a); } }, - bZa: { + ZYa: { configurable: !0, enumerable: !0, get: function () { - return this.config.q6a && this.hlb; + return this.config.t6a && this.jlb; } } }); a = c; - a = q.__decorate([l.R(), q.__param(0, l.l(g.vwa)), q.__param(1, l.l(d.Ywa)), q.__param(2, l.l(h.m$)), q.__param(3, l.l(d.Gaa)), q.__param(3, l.optional())], a); - b.wwa = a; - }, function (q, b, a) { + a = r.__decorate([l.R(), r.__param(0, l.l(g.swa)), r.__param(1, l.l(d.Vwa)), r.__param(2, l.l(h.e$)), r.__param(3, l.l(d.zaa)), r.__param(3, l.optional())], a); + b.twa = a; + }, function (r, b, a) { var f, k; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.EHa = void 0; - q = a(1); + b.AHa = void 0; + r = a(1); a = a(0); c.prototype.encode = function (l) { - return f.bia(l); + return f.Vha(l); }; c.prototype.decode = function (l) { - return f.mha(l); + return f.gha(l); }; - c.bia = function (l) { + c.Vha = function (l) { if (!l) throw new TypeError("Invalid byte array"); for (var d = 0, g, h = l.length, m = ""; d < h; ) { @@ -65326,7 +65334,7 @@ a000.D9b = function () { } return m; }; - c.mha = function (l) { + c.gha = function (l) { var d, g, h, @@ -65349,9 +65357,9 @@ a000.D9b = function () { return g; }; k = f = c; - k = f = q.__decorate([a.R()], k); - b.EHa = k; - }, function (q, b, a) { + k = f = r.__decorate([a.R()], k); + b.AHa = k; + }, function (r, b, a) { var f, k, l, @@ -65364,8 +65372,8 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wva = void 0; - q = a(1); + b.tva = void 0; + r = a(1); a = a(0); k = Array.prototype.slice; l = k.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"); @@ -65375,81 +65383,81 @@ a000.D9b = function () { h = {}; m = {}; n = /\s+/g; - [l, k].forEach(function (r) { - var u; - for (var p = r.length; p--; ) { - u = r[p]; - d[u] = p << 18; - g[u] = p << 12; - h[u] = p << 6; - m[u] = p; + [l, k].forEach(function (q) { + var t; + for (var p = q.length; p--; ) { + t = q[p]; + d[t] = p << 18; + g[t] = p << 12; + h[t] = p << 6; + m[t] = p; } }); - c.prototype.encode = function (r) { - return f.bia(r, l, "="); + c.prototype.encode = function (q) { + return f.Vha(q, l, "="); }; - c.prototype.decode = function (r) { - return f.mha(r); + c.prototype.decode = function (q) { + return f.gha(q); }; - c.mha = function (r) { + c.gha = function (q) { var p, - u, - t; - r = r.replace(n, ""); - p = r.length; - u = r.charAt(p - 1); - "=" !== u && "." !== u || p--; - u = r.charAt(p - 1); - "=" !== u && "." !== u || p--; - u = 3 * (p >> 2); - t = 0; + t, + u; + q = q.replace(n, ""); + p = q.length; + t = q.charAt(p - 1); + "=" !== t && "." !== t || p--; + t = q.charAt(p - 1); + "=" !== t && "." !== t || p--; + t = 3 * (p >> 2); + u = 0; switch (p % 4) { case 2: - t = 1; + u = 1; break; case 3: - t = 2; + u = 2; break; case 1: throw Error("bad base64"); } - p = new Uint8Array(u + t); - for (var w = 0, v = 0, x; v < u; ) { - x = d[r[w++]] + g[r[w++]] + h[r[w++]] + m[r[w++]]; + p = new Uint8Array(t + u); + for (var w = 0, v = 0, x; v < t; ) { + x = d[q[w++]] + g[q[w++]] + h[q[w++]] + m[q[w++]]; if (!(0 <= x && 16777215 >= x)) throw Error("bad base64"); p[v++] = x >>> 16; p[v++] = x >>> 8 & 255; p[v++] = x & 255; } - if (0 < t && (x = d[r[w++]] + g[r[w++]], p[v++] = x >>> 16, 1 < t && (x += h[r[w++]], p[v++] = x >>> 8 & 255), !(0 <= x && 16776960 >= x && 0 === (x & (1 < t ? 255 : 65535))))) + if (0 < u && (x = d[q[w++]] + g[q[w++]], p[v++] = x >>> 16, 1 < u && (x += h[q[w++]], p[v++] = x >>> 8 & 255), !(0 <= x && 16776960 >= x && 0 === (x & (1 < u ? 255 : 65535))))) throw Error("bad base64"); return p; }; - c.bia = function (r, p, u) { - for (var t = "", w = 0, v = r.length, x = v - 2, y; w < x; ) { - y = (r[w++] << 16) + (r[w++] << 8) + r[w++]; + c.Vha = function (q, p, t) { + for (var u = "", w = 0, v = q.length, x = v - 2, y; w < x; ) { + y = (q[w++] << 16) + (q[w++] << 8) + q[w++]; if (!(0 <= y && 16777215 >= y)) throw Error("not bytes"); - t += p[y >>> 18] + p[y >>> 12 & 63] + p[y >>> 6 & 63] + p[y & 63]; + u += p[y >>> 18] + p[y >>> 12 & 63] + p[y >>> 6 & 63] + p[y & 63]; } if (w == x) { - y = (r[w++] << 8) + r[w++]; + y = (q[w++] << 8) + q[w++]; if (!(0 <= y && 65535 >= y)) throw Error("not bytes"); - t += p[y >>> 10] + p[y >>> 4 & 63] + p[y << 2 & 63] + u; + u += p[y >>> 10] + p[y >>> 4 & 63] + p[y << 2 & 63] + t; } else if (w == v - 1) { - y = r[w++]; + y = q[w++]; if (!(0 <= y && 255 >= y)) throw Error("not bytes"); - t += p[y >>> 2] + p[y << 4 & 63] + u + u; + u += p[y >>> 2] + p[y << 4 & 63] + t + t; } - return t; + return u; }; k = f = c; - k = f = q.__decorate([a.R()], k); - b.wva = k; - }, function (q, b, a) { + k = f = r.__decorate([a.R()], k); + b.tva = k; + }, function (r, b, a) { var f, k, l, @@ -65461,31 +65469,31 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.FHa = void 0; - q = a(1); + b.BHa = void 0; + r = a(1); f = a(0); a(3); k = a(26); l = a(76); d = a(11); - c.prototype.cG = function (g, h, m) { + c.prototype.iG = function (g, h, m) { var n, - r, + q, p, - u; + t; n = this; if (h) if (m) { - r = m.NL; + q = m.PL; p = m.prefix; - u = m.Vy; - this.uB(h, function (t, w) { - if (!u || n.is.eg(w)) - g[(p || "") + (r ? t.toLowerCase() : t)] = w; + t = m.Yy; + this.uB(h, function (u, w) { + if (!t || n.is.eg(w)) + g[(p || "") + (q ? u.toLowerCase() : u)] = w; }); } else - this.uB(h, function (t, w) { - g[t] = w; + this.uB(h, function (u, w) { + g[u] = w; }); return g; }; @@ -65494,7 +65502,7 @@ a000.D9b = function () { g.hasOwnProperty(m) && h(m, g[m]); } }; - c.prototype.qs = function (g, h) { + c.prototype.us = function (g, h) { if (g.length == h.length) { for (var m = g.length; m--; ) { if (g[m] != h[m]) @@ -65504,7 +65512,7 @@ a000.D9b = function () { } return !1; }; - c.prototype.LOa = function (g, h) { + c.prototype.KOa = function (g, h) { if (g.length != h.length) return !1; g.sort(); @@ -65532,186 +65540,186 @@ a000.D9b = function () { c.prototype.getFunctionName = function (g) { return (g = (/function (.{1,})\(/).exec(g.toString())) && 1 < g.length ? g[1] : ""; }; - c.prototype.zja = function (g) { + c.prototype.sja = function (g) { return this.getFunctionName(g.constructor); }; - c.prototype.Eoa = function (g) { + c.prototype.zoa = function (g) { var h, m; h = this; m = ""; - this.is.tx(g) || this.is.VLa(g) ? m = Array.prototype.reduce.call(g, function (n, r) { - return n + (32 <= r && 128 > r ? String.fromCharCode(r) : "."); - }, "") : this.is.So(g) ? m = g : this.uB(g, function (n, r) { - m += (m ? ", " : "") + "{" + n + ": " + (h.is.t0(r) ? h.getFunctionName(r) || "function" : r) + "}"; + this.is.yx(g) || this.is.ULa(g) ? m = Array.prototype.reduce.call(g, function (n, q) { + return n + (32 <= q && 128 > q ? String.fromCharCode(q) : "."); + }, "") : this.is.Uo(g) ? m = g : this.uB(g, function (n, q) { + m += (m ? ", " : "") + "{" + n + ": " + (h.is.v0(q) ? h.getFunctionName(q) || "function" : q) + "}"; }); - return "[" + this.zja(g) + " " + m + "]"; + return "[" + this.sja(g) + " " + m + "]"; }; c.prototype.createElement = function (g, h, m, n) { - var r; - r = d.De.createElement(g); - h && (r.style.cssText = h); - m && (r.innerHTML = m); - n && this.uB(n, function (p, u) { - r.setAttribute(p, u); + var q; + q = d.Fe.createElement(g); + h && (q.style.cssText = h); + m && (q.innerHTML = m); + n && this.uB(n, function (p, t) { + q.setAttribute(p, t); }); - return r; + return q; }; - c.prototype.Iwb = function (g, h) { + c.prototype.Owb = function (g, h) { return function (m) { return m[g] === h; }; }; - c.prototype.oV = function (g) { + c.prototype.nV = function (g) { var h; h = {}; (g || "").split("&").forEach(function (m) { var n, - r; + q; m = m.trim(); n = m.indexOf("="); if (0 <= n) { - r = decodeURIComponent(m.substr(0, n)).toLowerCase(); - h[r] = decodeURIComponent(m.substr(n + 1)); + q = decodeURIComponent(m.substr(0, n)).toLowerCase(); + h[q] = decodeURIComponent(m.substr(n + 1)); } else h[m.toLowerCase()] = void 0; }); return h; }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Gf)), q.__param(1, f.l(l.lw))], a); - b.FHa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.Hf)), r.__param(1, f.l(l.rw))], a); + b.BHa = a; + }, function (r, b, a) { var f, k, l; function c(d) { - this.vc = d; + this.xc = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.lFa = void 0; - q = a(1); + b.iFa = void 0; + r = a(1); f = a(0); k = a(46); - l = a(60); - c.prototype.Op = function (d, g) { + l = a(61); + c.prototype.Rp = function (d, g) { var h; h = this; return new Promise(function (m, n) { - var r; - r = h.vc.Oj(d, function () { - n(new l.qq(d)); + var q; + q = h.xc.Nj(d, function () { + n(new l.sq(d)); }); g.then(function (p) { m(p); - r.cancel(); + q.cancel(); }).catch(function (p) { n(p); - r.cancel(); + q.cancel(); }); }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.lj))], a); - b.lFa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.ij))], a); + b.iFa = a; + }, function (r, b, a) { var f; function c(k) { - this.dyb = k; - this.B3 = !1; - this.R3 = this.Ef = this.JN = 0; - this.UT = !1; - this.S3 = 0; + this.jyb = k; + this.C3 = !1; + this.S3 = this.Gf = this.KN = 0; + this.ST = !1; + this.T3 = 0; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.JCa = void 0; + b.HCa = void 0; f = a(17); c.prototype.ykb = function (k) { - k < this.JN && (this.Ef += this.JN); - this.JN = k; - this.B3 = !0; + k < this.KN && (this.Gf += this.KN); + this.KN = k; + this.C3 = !0; }; - c.prototype.Vyb = function () { - if (this.B3) - return this.UT ? this.S3 - this.R3 : this.Ef + this.JN - this.R3; + c.prototype.Zyb = function () { + if (this.C3) + return this.ST ? this.T3 - this.S3 : this.Gf + this.KN - this.S3; }; c.prototype.refresh = function () { var k; - k = this.dyb(); - f.xa(k) && this.ykb(k); + k = this.jyb(); + f.ya(k) && this.ykb(k); }; - c.prototype.xTb = function () { - this.UT || (this.B3 && (this.S3 = this.Ef + this.JN), this.UT = !0); + c.prototype.BTb = function () { + this.ST || (this.C3 && (this.T3 = this.Gf + this.KN), this.ST = !0); }; - c.prototype.OTb = function () { - this.UT && (this.B3 && (this.R3 += this.Ef + this.JN - this.S3), this.S3 = 0, this.UT = !1); + c.prototype.QTb = function () { + this.ST && (this.C3 && (this.S3 += this.Gf + this.KN - this.T3), this.T3 = 0, this.ST = !1); }; - b.JCa = c; - }, function (q, b, a) { + b.HCa = c; + }, function (r, b, a) { var f, k, l, d; function c(g, h) { - this.wa = g; - this.K2 = this.wa.Ue.ea(l.ma) - 1; - this.dHb = this.M4 = 0; - this.id = "" + h.lB(); + this.xa = g; + this.L2 = this.xa.We.ea(l.ma) - 1; + this.fHb = this.M4 = 0; + this.id = "" + h.mB(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mua = void 0; - q = a(1); + b.Jua = void 0; + r = a(1); f = a(0); k = a(40); - l = a(5); + l = a(4); a = a(92); - c.prototype.Zb = function () { + c.prototype.Xb = function () { var g, h; - g = this.wa.Ue.ea(l.ma) - this.K2; + g = this.xa.We.ea(l.ma) - this.L2; if (g < this.M4) { h = this.M4 + 1; - this.K2 -= h - g; + this.L2 -= h - g; g = h; } this.M4 = g; - return l.uc(this.M4); + return l.wc(this.M4); }; - c.prototype.hAb = function () { - return this.dHb++; + c.prototype.kAb = function () { + return this.fHb++; }; Xa.Object.defineProperties(c.prototype, { - TF: { + ZF: { configurable: !0, enumerable: !0, get: function () { - return l.uc(this.K2); + return l.wc(this.L2); } } }); d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(k.wi)), q.__param(1, f.l(a.cA))], d); - b.Mua = d; - }, function (q, b, a) { + d = r.__decorate([f.R(), r.__param(0, f.l(k.wi)), r.__param(1, f.l(a.dA))], d); + b.Jua = d; + }, function (r, b, a) { var f, k, l, d; function c(g, h) { this.is = g; - this.te = h; + this.ve = h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Lwa = void 0; - q = a(1); + b.Iwa = void 0; + r = a(1); k = a(0); l = a(26); a = a(28); @@ -65720,16 +65728,16 @@ a000.D9b = function () { m; h = this; m = ""; - this.te.uB(g, function (n, r) { - n = h.ZQa(n) + "=" + h.ZQa(r); + this.ve.uB(g, function (n, q) { + n = h.YQa(n) + "=" + h.YQa(q); m = m ? m + ("," + n) : n; }); return m; }; - c.prototype.ZQa = function (g) { - return this.is.gF(g) ? this.is.$h(g) ? "" + g : this.is.So(g) ? (g = g.replace(f.Cqa, this.una.bind(this)), !f.DOb.test(g) && f.wJb.test(g) && (g = '"' + g + '"'), g) : this.is.aR(g) ? "" + g : this.is.dea(g) ? "NaN" : "" : ""; + c.prototype.YQa = function (g) { + return this.is.jF(g) ? this.is.$h(g) ? "" + g : this.is.Uo(g) ? (g = g.replace(f.wqa, this.ona.bind(this)), !f.IOb.test(g) && f.yJb.test(g) && (g = '"' + g + '"'), g) : this.is.cR(g) ? "" + g : this.is.Yda(g) ? "NaN" : "" : ""; }; - c.prototype.una = function (g) { + c.prototype.ona = function (g) { return f.map[g]; }; d = f = c; @@ -65738,12 +65746,12 @@ a000.D9b = function () { "\r": "", "\n": " " }; - d.Cqa = /(?!^.+)["\r\n](?=.+$)/g; - d.DOb = /["].*["]/g; - d.wJb = /[", ]/; - d = f = q.__decorate([k.R(), q.__param(0, k.l(l.Gf)), q.__param(1, k.l(a.Hf))], d); - b.Lwa = d; - }, function (q, b, a) { + d.wqa = /(?!^.+)["\r\n](?=.+$)/g; + d.IOb = /["].*["]/g; + d.yJb = /[", ]/; + d = f = r.__decorate([k.R(), r.__param(0, k.l(l.Hf)), r.__param(1, k.l(a.If))], d); + b.Iwa = d; + }, function (r, b, a) { var f, k, l, @@ -65751,65 +65759,65 @@ a000.D9b = function () { function c(g, h, m) { this.config = g; this.bb = h; - this.ya = m.Cb("General"); + this.za = m.Db("General"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dxa = void 0; - q = a(1); + b.axa = void 0; + r = a(1); f = a(0); k = a(26); l = a(91); a = a(8); c.prototype.assert = function () {}; c.prototype.zlb = function (g, h) { - this.assert(this.bb.gF(g), h); + this.assert(this.bb.jF(g), h); }; c.prototype.Alb = function (g, h) { this.assert(this.bb.eg(g), h); }; - c.prototype.G0 = function (g, h) { - this.assert(this.bb.So(g), h); + c.prototype.I0 = function (g, h) { + this.assert(this.bb.Uo(g), h); }; c.prototype.Glb = function (g, h) { - this.assert(this.bb.Bn(g), h); + this.assert(this.bb.An(g), h); }; c.prototype.Elb = function (g, h) { - this.assert(this.bb.So(g) || null === g || void 0 === g, h); + this.assert(this.bb.Uo(g) || null === g || void 0 === g, h); }; - c.prototype.Sea = function (g, h) { + c.prototype.Lea = function (g, h) { this.assert(this.bb.$h(g), h); }; c.prototype.Clb = function (g, h) { - this.assert(this.bb.Fea(g), h); + this.assert(this.bb.yea(g), h); }; c.prototype.Flb = function (g, h) { - this.assert(this.bb.mR(g), h); + this.assert(this.bb.oR(g), h); }; c.prototype.Dlb = function (g, h) { - this.assert(this.bb.bR(g), h); + this.assert(this.bb.dR(g), h); }; c.prototype.ylb = function (g, h) { - this.assert(this.bb.aR(g), h); + this.assert(this.bb.cR(g), h); }; c.prototype.Blb = function (g, h) { - this.assert(this.bb.t0(g), h); + this.assert(this.bb.v0(g), h); }; - c.prototype.kEb = function () { + c.prototype.nEb = function () { this.assert(!1, "invalid operation, this method should not be called"); }; d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(l.bxa)), q.__param(1, f.l(k.Gf)), q.__param(2, f.l(a.Kb))], d); - b.dxa = d; - }, function (q, b, a) { + d = r.__decorate([f.R(), r.__param(0, f.l(l.Zwa)), r.__param(1, f.l(k.Hf)), r.__param(2, f.l(a.Ib))], d); + b.axa = d; + }, function (r, b, a) { var f, k, l, d; function c(g) { g = k.lO.call(this, g, "DebugConfigImpl") || this; - g.a4b = function () { + g.d4b = function () { debugger; }; return g; @@ -65817,15 +65825,15 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.axa = void 0; - q = a(1); + b.Ywa = void 0; + r = a(1); f = a(44); k = a(45); l = a(0); a = a(37); - ka(c, k.lO); + ja(c, k.lO); Xa.Object.defineProperties(c.prototype, { - Umb: { + Vmb: { configurable: !0, enumerable: !0, get: function () { @@ -65834,10 +65842,10 @@ a000.D9b = function () { } }); d = c; - q.__decorate([f.config(f.ud, "breakOnError")], d.prototype, "Umb", null); - d = q.__decorate([l.R(), q.__param(0, l.l(a.L9))], d); - b.axa = d; - }, function (q, b, a) { + r.__decorate([f.config(f.ad, "breakOnError")], d.prototype, "Vmb", null); + d = r.__decorate([l.R(), r.__param(0, l.l(a.G9))], d); + b.Ywa = d; + }, function (r, b, a) { var f, k, l, @@ -65848,15 +65856,15 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uwa = void 0; - q = a(1); + b.rwa = void 0; + r = a(1); f = a(44); k = a(45); l = a(0); a = a(37); - ka(c, k.lO); + ja(c, k.lO); Xa.Object.defineProperties(c.prototype, { - q6a: { + t6a: { configurable: !0, enumerable: !0, get: function () { @@ -65865,39 +65873,39 @@ a000.D9b = function () { } }); d = c; - q.__decorate([f.config(f.ud, "usePerformanceApi")], d.prototype, "q6a", null); - d = q.__decorate([l.R(), q.__param(0, l.l(a.L9))], d); - b.uwa = d; - }, function (q, b, a) { + r.__decorate([f.config(f.ad, "usePerformanceApi")], d.prototype, "t6a", null); + d = r.__decorate([l.R(), r.__param(0, l.l(a.G9))], d); + b.rwa = d; + }, function (r, b, a) { var f, k, l, d; function c(g, h) { - this.Pa = g; + this.La = g; this.entries = new Set(); - this.ya = h.Cb("TimingApi"); + this.za = h.Db("TimingApi"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yba = void 0; - q = a(1); + b.sba = void 0; + r = a(1); f = a(0); k = a(20); - l = a(5); + l = a(4); a = a(8); c.prototype.mark = function (g, h, m) { g = { name: g, - wr: this.Pa.Zb() + zr: this.La.Xb() }; - h && (g.ba = h); - m && (g.Bj = m); + h && (g.ca = h); + m && (g.zj = m); this.entries.add(g); return g; }; - c.prototype.Uja = function () { + c.prototype.Nja = function () { var g; g = []; this.entries.forEach(function (h) { @@ -65905,37 +65913,37 @@ a000.D9b = function () { }); return g; }; - c.prototype.DTa = function (g) { - return this.Uja().filter(function (h) { - return h.ba === g; + c.prototype.ETa = function (g) { + return this.Nja().filter(function (h) { + return h.ca === g; }); }; - c.prototype.BTa = function () { + c.prototype.CTa = function () { var g; g = {}; try { - g = this.Uja().filter(function (h) { - return !h.ba; + g = this.Nja().filter(function (h) { + return !h.ca; }).reduce(function (h, m) { - h[m.name] = m.wr.ea(l.ma); + h[m.name] = m.zr.ea(l.ma); return h; }, {}); } catch (h) { - this.ya.error(" getMapOfCommonMarks exception", h); + this.za.error(" getMapOfCommonMarks exception", h); } return g; }; c.prototype.B1a = function (g) { var h; h = this; - this.Uja().forEach(function (m) { - m.ba === g && h.entries.delete(m); + this.Nja().forEach(function (m) { + m.ca === g && h.entries.delete(m); }); }; d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(k.zd)), q.__param(1, f.l(a.Kb))], d); - b.yba = d; - }, function (q, b, a) { + d = r.__decorate([f.R(), r.__param(0, f.l(k.zd)), r.__param(1, f.l(a.Ib))], d); + b.sba = d; + }, function (r, b, a) { var f, k, l, @@ -65944,140 +65952,140 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u) { - this.Pa = p; - this.config = u; + q; + function c(p, t) { + this.La = p; + this.config = t; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.exa = void 0; - q = a(1); + b.bxa = void 0; + r = a(1); k = a(0); l = a(20); d = a(42); g = a(3); h = a(18); - m = a(5); + m = a(4); n = a(11); - a = a(319); - c.prototype.ZPa = function (p) { - var u, - t, + a = a(321); + c.prototype.XPa = function (p) { + var t, + u, w, v, x, y, z, - B, A, + B, C; - u = this; + t = this; v = p.mediaTime.value; - x = p.Cq.value; - y = p.ac.value; + x = p.Eq.value; + y = p.bc.value; z = p.state.value; - B = { - segmentId: p.eka(), + A = { + segmentId: p.aka(), mediaTime: v, - segmentTime: p.BB(), - bufferingState: f.anb[x], - presentingState: f.ONb[y], - playbackState: f.OMb[z], - mseBuffersBusy: this.wBb(p), - intBuffersBusy: this.Vzb(p), - tabVisible: this.JUb(), - decodedFrameCount: this.ftb(p), - videoElementInDom: this.PXb(p), - lastVideoSync: this.Pa.Zb().Ba(m.uc(p.LW)).ea(m.ma) - }; - A = y === h.Bb.Jg ? p.kb.Ol ? this.config.k_a : this.config.j_a : this.config.WYa; - if (x !== h.$e.$d) { - if ((x = g.M.g9a, this.dNa(B.mseBuffersBusy, B.intBuffersBusy))) - C = f.tva; - } else (y !== h.Bb.yc ? x = g.M.i9a : (x = g.M.h9a, (y = p.Cg) && 0 === y.V2() && (C = f.Deb)), (y = p.Cg) && y.Ib.sourceBuffers.forEach(function (E) { - var F, + segmentTime: p.DB(), + bufferingState: f.bnb[x], + presentingState: f.TNb[y], + playbackState: f.RMb[z], + mseBuffersBusy: this.yBb(p), + intBuffersBusy: this.Zzb(p), + tabVisible: this.LUb(), + decodedFrameCount: this.htb(p), + videoElementInDom: this.RXb(p), + lastVideoSync: this.La.Xb().Da(m.wc(p.KW)).ea(m.ma) + }; + B = y === h.Eb.Hg ? p.kb.Nl ? this.config.i_a : this.config.h_a : this.config.TYa; + if (x !== h.af.Yd) { + if ((x = g.L.i9a, this.dNa(A.mseBuffersBusy, A.intBuffersBusy))) + C = f.qva; + } else (y !== h.Eb.Ac ? x = g.L.k9a : (x = g.L.j9a, (y = p.Bg) && 0 === y.X2() && (C = f.Eeb)), (y = p.Bg) && y.Kb.sourceBuffers.forEach(function (E) { + var G, D; - F = f.Fd[E.mediaType]; - B[F + "Ranges"] = E.S2(); + G = f.Ed[E.mediaType]; + A[G + "Ranges"] = E.T2(); try { D = E.buffered(); - } catch (G) { + } catch (F) { D = void 0; } - D && 0 !== D.length ? (E = 1E3 * D.end(0) - v, B[F + "Undecoded"] = E, 1 < D.length && (C = f.Z7a), v < 1E3 * D.start(0) || v > 1E3 * D.end(0) ? C = f.$7a : E < A.ea(m.ma) ? C = f.a8a : u.dNa(B.mseBuffersBusy, B.intBuffersBusy) && (C = f.tva)) : (B[F + "Undecoded"] = 0, C = f.Y7a); + D && 0 !== D.length ? (E = 1E3 * D.end(0) - v, A[G + "Undecoded"] = E, 1 < D.length && (C = f.a8a), v < 1E3 * D.start(0) || v > 1E3 * D.end(0) ? C = f.b8a : E < B.ea(m.ma) ? C = f.c8a : t.dNa(A.mseBuffersBusy, A.intBuffersBusy) && (C = f.qva)) : (A[G + "Undecoded"] = 0, C = f.$7a); })); - y = p.M1a.wUa(); - z = v === (null === (t = y.repositionTrace) || void 0 === t ? void 0 : t[0].newMediaTime); - B.lastRepositionCausedTimeout = z; - B.trackChangeInProgress = null === (w = p.Ma) || void 0 === w ? void 0 : w.pH; - Object.assign(B, y); + y = p.L1a.wUa(); + z = v === (null === (u = y.repositionTrace) || void 0 === u ? void 0 : u[0].newMediaTime); + A.lastRepositionCausedTimeout = z; + A.trackChangeInProgress = null === (w = p.Pa) || void 0 === w ? void 0 : w.xH; + Object.assign(A, y); p = ""; try { - p = JSON.stringify(B); + p = JSON.stringify(A); } catch (E) { p = "Cannot stringify details: " + E; } - return new d.$c(g.L.UCa, x, C, void 0, void 0, void 0, p, void 0); + return new d.dd(g.M.RCa, x, C, void 0, void 0, void 0, p, void 0); }; - c.prototype.wBb = function (p) { - var u; - if (p.Ib) { - u = {}; - p.Ib.sourceBuffers.forEach(function (t) { - u[0 === t.type ? "audio" : "video"] = { - updating: t.updating() + c.prototype.yBb = function (p) { + var t; + if (p.Kb) { + t = {}; + p.Kb.sourceBuffers.forEach(function (u) { + t[0 === u.type ? "audio" : "video"] = { + updating: u.updating() }; }); - return u; + return t; } }; - c.prototype.Vzb = function (p) { - var u; - if (p.Ib) { - u = {}; - p.Ib.sourceBuffers.forEach(function (t) { - u[0 === t.type ? "audio" : "video"] = { - updating: t.hi() + c.prototype.Zzb = function (p) { + var t; + if (p.Kb) { + t = {}; + p.Kb.sourceBuffers.forEach(function (u) { + t[0 === u.type ? "audio" : "video"] = { + updating: u.hi() }; }); - return u; + return t; } }; - c.prototype.JUb = function () { - return !n.De.hidden; + c.prototype.LUb = function () { + return !n.Fe.hidden; }; - c.prototype.ftb = function (p) { - return (p = p.Cg) && (p = p.Ib.la) && void 0 !== p.webkitDecodedFrameCount ? p.webkitDecodedFrameCount : NaN; + c.prototype.htb = function (p) { + return (p = p.Bg) && (p = p.Kb.la) && void 0 !== p.webkitDecodedFrameCount ? p.webkitDecodedFrameCount : NaN; }; - c.prototype.PXb = function (p) { - if (p = p.Cg) - if (p = p.Ib.la) - return n.De.body.contains(p); + c.prototype.RXb = function (p) { + if (p = p.Bg) + if (p = p.Kb.la) + return n.Fe.body.contains(p); return !1; }; - c.prototype.dNa = function (p, u) { - var t, + c.prototype.dNa = function (p, t) { + var u, w, v, x; - return !((null === (t = p.audio) || void 0 === t ? void 0 : t.updating) === (null === (w = u.audio) || void 0 === w ? void 0 : w.updating) && (null === (v = p.video) || void 0 === v ? void 0 : v.updating) === (null === (x = u.video) || void 0 === x ? void 0 : x.updating)); - }; - r = f = c; - r.Y7a = "1"; - r.Z7a = "2"; - r.$7a = "3"; - r.tva = "4"; - r.a8a = "5"; - r.Deb = "6"; - r.Fd = ["Audio", "Video"]; - r.anb = ["", "NORMAL", "BUFFERING", "STALLED"]; - r.ONb = ["", "WAITING", "PLAYING ", "PAUSED", "ENDED"]; - r.OMb = ["STATE_NOTLOADED", "STATE_LOADING", "STATE_NORMAL", "STATE_CLOSING", "STATE_CLOSED"]; - r = f = q.__decorate([k.R(), q.__param(0, k.l(l.zd)), q.__param(1, k.l(a.iaa))], r); - b.exa = r; - }, function (q, b, a) { + return !((null === (u = p.audio) || void 0 === u ? void 0 : u.updating) === (null === (w = t.audio) || void 0 === w ? void 0 : w.updating) && (null === (v = p.video) || void 0 === v ? void 0 : v.updating) === (null === (x = t.video) || void 0 === x ? void 0 : x.updating)); + }; + q = f = c; + q.$7a = "1"; + q.a8a = "2"; + q.b8a = "3"; + q.qva = "4"; + q.c8a = "5"; + q.Eeb = "6"; + q.Ed = ["Audio", "Video"]; + q.bnb = ["", "NORMAL", "BUFFERING", "STALLED"]; + q.TNb = ["", "WAITING", "PLAYING ", "PAUSED", "ENDED"]; + q.RMb = ["STATE_NOTLOADED", "STATE_LOADING", "STATE_NORMAL", "STATE_CLOSING", "STATE_CLOSED"]; + q = f = r.__decorate([k.R(), r.__param(0, k.l(l.zd)), r.__param(1, k.l(a.aaa))], q); + b.bxa = q; + }, function (r, b, a) { var f, k, l, @@ -66085,55 +66093,55 @@ a000.D9b = function () { function c(g, h, m) { var n; n = this; - this.Lf = g; - this.vc = h; - this.v1 = m; - this.pM = function (r) { - n.Wi = void 0; - n.YVb(r || n.v1); + this.Mf = g; + this.xc = h; + this.x1 = m; + this.rM = function (q) { + n.Ui = void 0; + n.$Vb(q || n.x1); }; - this.XWa = l.uc(-this.v1.ea(l.ma)); + this.VWa = l.wc(-this.x1.ea(l.ma)); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZGa = void 0; - q = a(1); + b.VGa = void 0; + r = a(1); f = a(0); k = a(20); - l = a(5); + l = a(4); a = a(46); - c.prototype.ol = function (g) { - this.wra = g; - this.Wi = this.Wi || this.fg(this.pM); + c.prototype.nl = function (g) { + this.pra = g; + this.Ui = this.Ui || this.fg(this.rM); }; - c.prototype.kh = function () { - this.Wi && this.Wi.cancel(); - this.Wi = void 0; + c.prototype.hh = function () { + this.Ui && this.Ui.cancel(); + this.Ui = void 0; }; - c.prototype.YVb = function (g) { + c.prototype.$Vb = function (g) { var h, m; - h = this.Lf.Zb(); - if (this.wra) { - m = g.Ba(h.Ba(this.XWa)); - 0 >= m.Wk(l.hb) ? (g = this.wra, this.wra = void 0, this.XWa = h, g()) : this.Wi = this.Wi || this.vc.Oj(m, this.pM.bind(this, g)); + h = this.Mf.Xb(); + if (this.pra) { + m = g.Da(h.Da(this.VWa)); + 0 >= m.Wk(l.hb) ? (g = this.pra, this.pra = void 0, this.VWa = h, g()) : this.Ui = this.Ui || this.xc.Nj(m, this.rM.bind(this, g)); } }; c.prototype.fg = function (g) { - return this.vc.Oj(l.hb, g); + return this.xc.Nj(l.hb, g); }; d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(k.zd)), q.__param(1, f.l(a.lj))], d); - b.ZGa = d; - }, function (q, b) { + d = r.__decorate([f.R(), r.__param(0, f.l(k.zd)), r.__param(1, f.l(a.ij))], d); + b.VGa = d; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.aba = "PrioritizedSetOfListsSymbol"; - b.pdb = "PrioritizedSetOfListsFactorySymbol"; - b.qdb = "PrioritizedSetOfSetsFactorySymbol"; - }, function (q, b) { + b.Vaa = "PrioritizedSetOfListsSymbol"; + b.sdb = "PrioritizedSetOfListsFactorySymbol"; + b.tdb = "PrioritizedSetOfSetsFactorySymbol"; + }, function (r, b) { function a() { this.searchParams = {}; } @@ -66144,7 +66152,7 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.CHa = void 0; + b.yHa = void 0; c.prototype.toString = function () { return this.href; }; @@ -66157,7 +66165,7 @@ a000.D9b = function () { } } }); - b.CHa = c; + b.yHa = c; a.prototype.get = function (f) { return this.searchParams[f]; }; @@ -66173,346 +66181,346 @@ a000.D9b = function () { return "" + f + (0 == l ? "?" : "&") + k + "=" + d; }, ""); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g; function c(h, m) { - this.Ud = this.mwb(h, m.data.browserInfo); + this.Td = this.swb(h, m.data.browserInfo); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.KHa = b.Mva = void 0; - q = a(1); + b.GHa = b.Jva = void 0; + r = a(1); f = a(0); k = a(15); l = a(37); a = a(36); - c.prototype.t3 = function (h, m) { + c.prototype.u3 = function (h, m) { var n; - if (m = this.VBb(m)) + if (m = this.XBb(m)) switch (h) { - case g.lna: + case g.fna: n = 0 < m.length ? Number(m[0]) : 0; break; - case g.YYa: + case g.VYa: n = 1 < m.length ? Number(m[1]) : 0; break; - case g.M_a: + case g.K_a: n = 2 < m.length ? Number(m[2]) : 0; break; - case g.i7: + case g.f7: n = 3 < m.length ? Number(m[3]) : 0; } return void 0 === n || isNaN(n) ? 0 : n; }; - c.prototype.VBb = function (h) { + c.prototype.XBb = function (h) { return null === h || void 0 === h ? void 0 : h.split("."); }; - c.prototype.uL = function (h) { - return this.Ud.name === h; + c.prototype.xL = function (h) { + return this.Td.name === h; }; - c.prototype.CL = function (h) { - return this.Ud.Xy.name === h; + c.prototype.EL = function (h) { + return this.Td.$y.name === h; }; - c.prototype.iWa = function (h) { - return this.Ud.Rka === h; + c.prototype.gWa = function (h) { + return this.Td.Nka === h; }; - c.prototype.mwb = function (h, m) { + c.prototype.swb = function (h, m) { return Object.assign(Object.assign({ - Rka: this.owb(h, m) - }, this.lwb(h, m)), { - Xy: this.pwb(h, m) + Nka: this.uwb(h, m) + }, this.rwb(h, m)), { + $y: this.vwb(h, m) }); }; - c.prototype.owb = function (h, m) { - return m && m.Rka ? m.Rka : (/Android.*Chrome\/[.0-9]* Mobile/).test(h) ? k.eP.phone : (/Android.*Chrome\/[.0-9]* /).test(h) ? k.eP.E4a : k.eP.opb; + c.prototype.uwb = function (h, m) { + return m && m.Nka ? m.Nka : (/Android.*Chrome\/[.0-9]* Mobile/).test(h) ? k.fP.phone : (/Android.*Chrome\/[.0-9]* /).test(h) ? k.fP.G4a : k.fP.ppb; }; - c.prototype.lwb = function (h, m) { + c.prototype.rwb = function (h, m) { return m && m.name && m.version ? { name: m.name, version: m.version } : (/OPR/).test(h) ? { - name: k.vo.opera, + name: k.wo.opera, version: "" } : (m = h.match(/Edge\/(\d*)\./)) ? { - name: k.vo.Mq, + name: k.wo.Nq, version: m[1] } : (m = h.match(/Edg\/(\d*)\./)) ? { - name: k.vo.AQa, + name: k.wo.yQa, version: m[1] } : (m = h.match(/Chrome\/(\d*)\./)) ? { - name: k.vo.ega, + name: k.wo.Zfa, version: m[1] } : (m = h.match(/Firefox\/(\d*)\./)) ? { - name: k.vo.SRa, + name: k.wo.RRa, version: m[1] } : (h = h.match(/(\d*)\.(\d*)\.?(\d*)? Safari/)) ? { - name: k.vo.q2a, + name: k.wo.p2a, version: h[1] } : { - name: k.vo.ega, + name: k.wo.Zfa, version: "" }; }; - c.prototype.pwb = function (h, m) { - return m && m.Xy && m.Xy.name && m.Xy.version ? { - name: m.Xy.name, - version: m.Xy.version + c.prototype.vwb = function (h, m) { + return m && m.$y && m.$y.name && m.$y.version ? { + name: m.$y.name, + version: m.$y.version } : (/CrOS/).test(h) ? { - name: k.Ao.XNa, + name: k.Bo.VNa, version: "" } : (/Tesla/).test(h) ? { - name: k.Ao.I4a, + name: k.Bo.K4a, version: "" } : (m = h.match(/Mac OS X (\d*)_?(\d*)?_?(\d*)?/)) ? { - name: k.Ao.NXa, + name: k.Bo.LXa, version: m[1] + "." + m[2] + "." + m[3] } : (/Windows NT/).test(h) ? { - name: k.Ao.lua, + name: k.Bo.iua, version: "" } : (/Android.*Chrome\/[.0-9]* Mobile/).test(h) || (/Android.*Chrome\/[.0-9]* /).test(h) ? { - name: k.Ao.A0, + name: k.Bo.C0, version: "" } : (/Linux/).test(h) ? { - name: k.Ao.oGb, + name: k.Bo.qGb, version: "" } : { - name: k.Ao.lua, + name: k.Bo.iua, version: "" }; }; Xa.Object.defineProperties(c.prototype, { - fWa: { + dWa: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.ega); + return this.xL(k.wo.Zfa); } }, - xL: { + AL: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.Mq); + return this.xL(k.wo.Nq); } }, - mv: { + sv: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.AQa); + return this.xL(k.wo.yQa); } }, - ZT: { + XT: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.SRa); + return this.xL(k.wo.RRa); } }, w4: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.opera); + return this.xL(k.wo.opera); } }, - EL: { + GL: { configurable: !0, enumerable: !0, get: function () { - return this.uL(k.vo.q2a); + return this.xL(k.wo.p2a); } }, - rEb: { + uEb: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.A0) && this.iWa(k.eP.phone); + return this.EL(k.Bo.C0) && this.gWa(k.fP.phone); } }, - sEb: { + vEb: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.A0) && this.iWa(k.eP.E4a); + return this.EL(k.Bo.C0) && this.gWa(k.fP.G4a); } }, - wL: { + zL: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.XNa); + return this.EL(k.Bo.VNa); } }, - $la: { + Ula: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.NXa); + return this.EL(k.Bo.LXa); } }, - DWa: { + BWa: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.I4a); + return this.EL(k.Bo.K4a); } }, - pma: { + jma: { configurable: !0, enumerable: !0, get: function () { - return this.CL(k.Ao.lua); + return this.EL(k.Bo.iua); } }, - ks: { + ns: { configurable: !0, enumerable: !0, get: function () { - return this.t3(g.lna, this.Ud.version); + return this.u3(g.fna, this.Td.version); } }, - yLb: { + ALb: { configurable: !0, enumerable: !0, get: function () { - return this.t3(g.lna, this.Ud.Xy.version); + return this.u3(g.fna, this.Td.$y.version); } }, - zLb: { + BLb: { configurable: !0, enumerable: !0, get: function () { - return this.t3(g.YYa, this.Ud.Xy.version); + return this.u3(g.VYa, this.Td.$y.version); } }, - ALb: { + CLb: { configurable: !0, enumerable: !0, get: function () { - return this.t3(g.M_a, this.Ud.Xy.version); + return this.u3(g.K_a, this.Td.$y.version); } } }); d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(a.DHa)), q.__param(1, f.l(l.gP))], d); - b.Mva = d; + d = r.__decorate([f.R(), r.__param(0, f.l(a.zHa)), r.__param(1, f.l(l.hP))], d); + b.Jva = d; (function (h) { - h[h.lna = 0] = "major"; - h[h.YYa = 1] = "minor"; - h[h.M_a = 2] = "patch"; - h[h.i7 = 3] = "revision"; - })(g = b.KHa || (b.KHa = {})); - }, function (q, b, a) { + h[h.fna = 0] = "major"; + h[h.VYa = 1] = "minor"; + h[h.K_a = 2] = "patch"; + h[h.f7 = 3] = "revision"; + })(g = b.GHa || (b.GHa = {})); + }, function (r, b, a) { var f, k, l; function c(d, g, h) { - this.vc = d; - this.kVb = g; - this.FF = h; + this.xc = d; + this.mVb = g; + this.KF = h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jHa = void 0; - q = a(1); + b.fHa = void 0; + r = a(1); f = a(46); k = a(0); - l = a(5); - c.prototype.tB = function () { - this.Wi || (this.Wi = this.vc.Oj(l.uc(this.kVb), this.FF)); + l = a(4); + c.prototype.pF = function () { + this.Ui || (this.Ui = this.xc.Nj(l.wc(this.mVb), this.KF)); }; - c.prototype.Vp = function () { - this.Wi && this.Wi.cancel(); - this.Wi = void 0; + c.prototype.xr = function () { + this.Ui && this.Ui.cancel(); + this.Ui = void 0; }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(f.lj))], a); - b.jHa = a; - }, function (q, b, a) { + a = r.__decorate([k.R(), r.__param(0, k.l(f.ij))], a); + b.fHa = a; + }, function (r, b, a) { var f, k; function c(l, d) { - this.vc = l; - this.v1 = d; + this.xc = l; + this.x1 = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$wa = void 0; - q = a(1); + b.Xwa = void 0; + r = a(1); f = a(0); a = a(46); - c.prototype.ol = function (l) { - this.kh(); - this.Wi = this.vc.Oj(this.v1, l); + c.prototype.nl = function (l) { + this.hh(); + this.Ui = this.xc.Nj(this.x1, l); }; - c.prototype.kh = function () { - this.Wi && this.Wi.cancel(); - this.Wi = void 0; + c.prototype.hh = function () { + this.Ui && this.Ui.cancel(); + this.Ui = void 0; }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.lj))], k); - b.$wa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.ij))], k); + b.Xwa = k; + }, function (r, b, a) { var f, k; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.jya = void 0; - q = a(1); + b.gya = void 0; + r = a(1); f = a(0); - k = a(203); - c.prototype.CK = function (l, d) { + k = a(204); + c.prototype.GK = function (l, d) { var g; g = this; l && Object.entries(d).forEach(function (h) { var m, n, - r; + q; m = aa(h); h = m.next().value; m = m.next().value; - if (g.AEb(m)) { + if (g.DEb(m)) { n = aa(m); m = n.next().value; - r = n.next().value; + q = n.next().value; n = l[m]; - Array.isArray(n) ? (g.xha(l, h, m), n.forEach(function (p) { - g.CK(p, r); - })) : m === k.TD ? Object.values(l).forEach(function (p) { - g.CK(p, r); - }) : (g.xha(l, h, m), "object" === typeof n && g.CK(n, r)); + Array.isArray(n) ? (g.rha(l, h, m), n.forEach(function (p) { + g.GK(p, q); + })) : m === k.Sr ? Object.values(l).forEach(function (p) { + g.GK(p, q); + }) : (g.rha(l, h, m), "object" === typeof n && g.GK(n, q)); } else - g.xha(l, h, m); + g.rha(l, h, m); }); }; - c.prototype.AEb = function (l) { + c.prototype.DEb = function (l) { return Array.isArray(l); }; - c.prototype.xha = function (l, d, g) { + c.prototype.rha = function (l, d, g) { l.hasOwnProperty(d) || d === g || Object.defineProperty(l, d, { get: function () { return l[g]; @@ -66520,9 +66528,9 @@ a000.D9b = function () { enumerable: !1 }); }; - a = q.__decorate([f.R()], c); - b.jya = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.gya = a; + }, function (r, b, a) { var f, k, l; @@ -66532,21 +66540,21 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.OBa = void 0; - q = a(1); + b.MBa = void 0; + r = a(1); f = a(15); k = a(12); a = a(0); - c.prototype.Gs = function () { - return this.zEb() ? k.Fxa : (/widevine/i).test(this.config().Xe) ? k.a$ : (/fps/i).test(this.config().Xe) ? "fairplay" : k.pY; + c.prototype.Ks = function () { + return this.CEb() ? k.Bxa : (/widevine/i).test(this.config().Ol) ? k.V9 : (/fps/i).test(this.config().Ol) ? "fairplay" : k.oY; }; - c.prototype.zEb = function () { - return (/clearkey/i).test(this.config().Xe); + c.prototype.CEb = function () { + return (/clearkey/i).test(this.config().Ol); }; l = c; - l = q.__decorate([a.R(), q.__param(0, a.l(f.dd))], l); - b.OBa = l; - }, function (q, b, a) { + l = r.__decorate([a.R(), r.__param(0, a.l(f.ed))], l); + b.MBa = l; + }, function (r, b, a) { var c, f, k, @@ -66555,35 +66563,35 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.DXa = void 0; - c = a(619); - f = a(620); - q = a(0); + b.BXa = void 0; + c = a(622); + f = a(623); + r = a(0); k = a(108); l = a(8); - d = a(625); - b.DXa = new q.ad(function (g) { - g(l.Kb).to(f.XAa).$(); - g(k.eI).to(c.YAa).$(); - g(l.R$).to(d.KAa).$(); + d = a(628); + b.BXa = new r.$c(function (g) { + g(l.Ib).to(f.VAa).aa(); + g(k.mI).to(c.WAa).aa(); + g(l.J$).to(d.IAa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { function c() { - this.G3a = {}; - this.cn = []; + this.H3a = {}; + this.bn = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.YAa = void 0; - q = a(1); + b.WAa = void 0; + r = a(1); a = a(0); - c.prototype.V6 = function (f, k) { - k && (this.G3a[f] = k, this.cn = Object.values(this.G3a)); + c.prototype.S6 = function (f, k) { + k && (this.H3a[f] = k, this.bn = Object.values(this.H3a)); }; - a = q.__decorate([a.R()], c); - b.YAa = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.WAa = a; + }, function (r, b, a) { var f, k, l, @@ -66591,79 +66599,79 @@ a000.D9b = function () { g, h, m; - function c(n, r, p) { - this.Pa = n; - this.cn = r; - this.Xma = p; + function c(n, q, p) { + this.La = n; + this.bn = q; + this.Rma = p; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.XAa = void 0; - q = a(1); - f = a(204); + b.VAa = void 0; + r = a(1); + f = a(205); k = a(0); - l = a(622); + l = a(625); d = a(20); g = a(108); h = a(8); - m = a(623); - c.prototype.Cb = function (n, r, p, u, t) { - p = void 0 === p ? this.cn : p; - return r ? new l.qEa(this.Pa, this.Xma, p, r, n) : t ? new m.Wua(this.Pa, this.Xma, p, n, u || "", t) : new f.dI(this.Pa, this.Xma, p, n); + m = a(626); + c.prototype.Db = function (n, q, p, t, u) { + p = void 0 === p ? this.bn : p; + return q ? new l.oEa(this.La, this.Rma, p, q, n) : u ? new m.Tua(this.La, this.Rma, p, n, t || "", u) : new f.lI(this.La, this.Rma, p, n); }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(d.zd)), q.__param(1, k.l(g.eI)), q.__param(2, k.l(h.R$))], a); - b.XAa = a; - }, function (q, b) { + a = r.__decorate([k.R(), r.__param(0, k.l(d.zd)), r.__param(1, k.l(g.mI)), r.__param(2, k.l(h.J$))], a); + b.VAa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); b.pNa = void 0; b.pNa = function (a, c) { var k; - a = a.gAb(); + a = a.jAb(); for (var f = 0; f < c.length; ++f) { k = c[f]; - void 0 != k && null != k && (k.Kh && (k = k.Kh), k.constructor === Uint8Array ? a.Kkb(k) : "MediaRequest" === k.constructor.name ? a.wkb(k) : "string" === typeof k ? a.Ikb(k) : "function" === typeof k ? a.pkb(k) : k instanceof Error ? a.mkb(k) : k instanceof Object ? a.xkb(k) : a.Lkb(k)); + void 0 != k && null != k && (k.kh && (k = k.kh), k.constructor === Uint8Array ? a.Kkb(k) : "MediaRequest" === k.constructor.name ? a.wkb(k) : "string" === typeof k ? a.Ikb(k) : "function" === typeof k ? a.pkb(k) : k instanceof Error ? a.mkb(k) : k instanceof Object ? a.xkb(k) : a.Lkb(k)); } - return a.ek(); + return a.wj(); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; function c(d, g, h, m, n) { - d = l.dI.call(this, d, g, h, n) || this; + d = l.lI.call(this, d, g, h, n) || this; d.j = m; - f.Vn(d, "playback"); + f.Xn(d, "playback"); return d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.qEa = void 0; + b.oEa = void 0; f = a(56); - k = a(327); - l = a(204); - ka(c, l.dI); - c.prototype.Pga = function (d) { - return new c(this.Pa, this.V0, this.cn, this.j, d); - }; - c.prototype.RA = function (d, g, h) { - d = new k.Q$(d, this.Gn, this.Pa.Zb(), g, h, this.j.index); - g = aa(this.cn.cn); + k = a(329); + l = a(205); + ja(c, l.lI); + c.prototype.Jga = function (d) { + return new c(this.La, this.X0, this.bn, this.j, d); + }; + c.prototype.UA = function (d, g, h) { + d = new k.I$(d, this.Gn, this.La.Xb(), g, h, this.j.index); + g = aa(this.bn.bn); for (h = g.next(); !h.done; h = g.next()) { h = h.value; h(d, this.j); } }; - b.qEa = c; - }, function (q, b, a) { + b.oEa = c; + }, function (r, b, a) { var f, k; function c(l, d, g, h, m, n) { - l = f.dI.call(this, l, d, g, h) || this; + l = f.lI.call(this, l, d, g, h) || this; l.groups = m; Array.isArray(n) ? l.prefix = n : n && "string" === typeof n && (l.prefix = [], l.prefix.push(n)); return l; @@ -66671,39 +66679,39 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Wua = void 0; - f = a(204); - k = a(624); - ka(c, f.dI); - c.prototype.RA = function (l, d, g) { - l = new k.Vua(l, this.Gn, this.Pa.Zb(), d, g, this.prefix); - d = aa(this.cn.cn); + b.Tua = void 0; + f = a(205); + k = a(627); + ja(c, f.lI); + c.prototype.UA = function (l, d, g) { + l = new k.Sua(l, this.Gn, this.La.Xb(), d, g, this.prefix); + d = aa(this.bn.bn); for (g = d.next(); !g.done; g = d.next()) { g = g.value; g(l); } }; - c.prototype.Pga = function (l) { - return new c(this.Pa, this.V0, this.cn, l, this.groups, this.prefix); + c.prototype.Jga = function (l) { + return new c(this.La, this.X0, this.bn, l, this.groups, this.prefix); }; - b.Wua = c; - }, function (q, b, a) { + b.Tua = c; + }, function (r, b, a) { var f, k; - function c(l, d, g, h, m, n, r) { + function c(l, d, g, h, m, n, q) { this.level = l; this.Gn = d; this.timestamp = g; this.message = h; - this.Sb = m; + this.Vb = m; this.prefix = n; - this.index = void 0 === r ? 0 : r; + this.index = void 0 === q ? 0 : q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Vua = void 0; - f = a(5); + b.Sua = void 0; + f = a(4); k = { 0: "F", 1: "E", @@ -66712,35 +66720,35 @@ a000.D9b = function () { 4: "T", 5: "D" }; - c.prototype.j8 = function (l, d) { - l = (this.prefix.length ? "" + this.prefix.join(" ") + " " : "") + this.message + (d ? "" : " " + this.iUb(!!l)); + c.prototype.f8 = function (l, d) { + l = (this.prefix.length ? "" + this.prefix.join(" ") + " " : "") + this.message + (d ? "" : " " + this.kUb(!!l)); return (this.timestamp.ea(f.ma) / 1E3).toFixed(3) + "|" + this.index + "|" + (k[this.level] || this.level) + "|" + this.Gn + "| " + l; }; - c.prototype.iUb = function (l) { + c.prototype.kUb = function (l) { var m; - for (var d = this.Sb.length, g = "", h = 0; h < d; ++h) { - m = this.Sb[h].Dt; + for (var d = this.Vb.length, g = "", h = 0; h < d; ++h) { + m = this.Vb[h].It; h && g.length && (g += " "); if ("object" === typeof m) { if (null === m) g += "null"; else if (m instanceof Error) - g += this.hUb(m, l); + g += this.jUb(m, l); else try { g += JSON.stringify(m); } catch (n) { - g += this.gUb(m); + g += this.iUb(m); } } else g += m; } return g; }; - c.prototype.hUb = function (l, d) { + c.prototype.jUb = function (l, d) { return l.toString() + (l.stack && !d ? "\n" + l.stack : "") + "\n"; }; - c.prototype.gUb = function (l) { + c.prototype.iUb = function (l) { var d; d = []; return JSON.stringify(l, function (g, h) { @@ -66752,236 +66760,236 @@ a000.D9b = function () { return h; }); }; - b.Vua = c; - }, function (q, b, a) { + b.Sua = c; + }, function (r, b, a) { var f, k, l, d; function c(g, h) { - this.Bc = g; - this.te = h; + this.Dc = g; + this.ve = h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.KAa = void 0; - q = a(1); + b.IAa = void 0; + r = a(1); f = a(0); - k = a(626); + k = a(629); l = a(35); a = a(28); - c.prototype.gAb = function () { - return new k.LAa(this.Bc, this.te); + c.prototype.jAb = function () { + return new k.JAa(this.Dc, this.ve); }; d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(l.Rh)), q.__param(1, f.l(a.Hf))], d); - b.KAa = d; - }, function (q, b, a) { - var r, + d = r.__decorate([f.R(), r.__param(0, f.l(l.Rh)), r.__param(1, f.l(a.If))], d); + b.IAa = d; + }, function (r, b, a) { + var q, p, - u; - function c(t, w) { - this.Bc = t; - this.te = w; - this.Sb = []; + t; + function c(u, w) { + this.Dc = u; + this.ve = w; + this.Vb = []; } - function f(t) { - return n.call(this, t, function (w) { + function f(u) { + return n.call(this, u, function (w) { return { Details: w }; }) || this; } - function k(t) { - return n.call(this, t, function (w) { + function k(u) { + return n.call(this, u, function (w) { return JSON.parse(w.toJSON()); }) || this; } - function l(t, w) { + function l(u, w) { w = n.call(this, w, function (v) { return { - Base64: t.encode(v) + Base64: u.encode(v) }; }) || this; - w.Bc = t; + w.Dc = u; return w; } - function d(t, w) { + function d(u, w) { w = n.call(this, w, function (v) { return v(); }) || this; - w.te = t; + w.ve = u; return w; } - function g(t) { - return n.call(this, t, function (w) { + function g(u) { + return n.call(this, u, function (w) { return { Exception: w.message || "" + w, StackTrace: w.stack || "nostack" }; }) || this; } - function h(t, w, v) { + function h(u, w, v) { w = n.call(this, w, v) || this; - w.te = t; + w.ve = u; return w; } - function m(t) { - return n.call(this, t, function (w) { + function m(u) { + return n.call(this, u, function (w) { return { Details: w }; }) || this; } - function n(t, w) { - this.Dt = t; - this.value = w ? w(t) : t; + function n(u, w) { + this.It = u; + this.value = w ? w(u) : u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.LAa = void 0; - q = a(1); - r = a(0); + b.JAa = void 0; + r = a(1); + q = a(0); p = a(28); a = a(35); - n.prototype.NS = function (t) { - return this.Dt === t; + n.prototype.MS = function (u) { + return this.It === u; }; - ka(m, n); - m.prototype.mH = function (t, w) { - return w ? "" : "\r\n" + this.Dt; + ja(m, n); + m.prototype.uH = function (u, w) { + return w ? "" : "\r\n" + this.It; }; - ka(h, n); - h.prototype.mH = function () { - var t; - t = ""; - this.te.uB(this.value, function (w, v) { + ja(h, n); + h.prototype.uH = function () { + var u; + u = ""; + this.ve.uB(this.value, function (w, v) { try { - t += ", " + w + ": " + v; + u += ", " + w + ": " + v; } catch (x) { try { - t += ", " + w + ": " + JSON.stringify(v); + u += ", " + w + ": " + JSON.stringify(v); } catch (y) { - t += ", error stringifying " + w; + u += ", error stringifying " + w; } } }); - return t.replace(/[\r\n]+ */g, " "); + return u.replace(/[\r\n]+ */g, " "); }; - ka(g, n); - g.prototype.mH = function (t) { + ja(g, n); + g.prototype.uH = function (u) { var w; - w = "\r\n" + this.Dt.message; - t || (w += "\r\n" + this.Dt.stack); + w = "\r\n" + this.It.message; + u || (w += "\r\n" + this.It.stack); return w; }; - ka(d, n); - d.prototype.mH = function () { - var t; - t = ""; - this.te.uB(this.value, function (w, v) { - t += ", " + w + ": " + v; + ja(d, n); + d.prototype.uH = function () { + var u; + u = ""; + this.ve.uB(this.value, function (w, v) { + u += ", " + w + ": " + v; }); - return t.replace(/[\r\n]+ */g, " "); + return u.replace(/[\r\n]+ */g, " "); }; - ka(l, n); - l.prototype.mH = function (t, w) { - return this.Dt && !w ? "\r\n" + this.Bc.encode(this.Dt) : ""; + ja(l, n); + l.prototype.uH = function (u, w) { + return this.It && !w ? "\r\n" + this.Dc.encode(this.It) : ""; }; - ka(k, n); - k.prototype.mH = function () { - return this.Dt ? this.Dt.toJSON() : ""; + ja(k, n); + k.prototype.uH = function () { + return this.It ? this.It.toJSON() : ""; }; - ka(f, n); - f.prototype.mH = function () { - return ", " + (this.Dt.toString ? "" + this.Dt.toString() : ""); + ja(f, n); + f.prototype.uH = function () { + return ", " + (this.It.toString ? "" + this.It.toString() : ""); }; - c.prototype.Ikb = function (t) { - this.Sb.push(new m(t)); + c.prototype.Ikb = function (u) { + this.Vb.push(new m(u)); }; - c.prototype.xkb = function (t) { - this.Sb.push(new h(this.te, t)); + c.prototype.xkb = function (u) { + this.Vb.push(new h(this.ve, u)); }; - c.prototype.mkb = function (t) { - this.Sb.push(new g(t)); + c.prototype.mkb = function (u) { + this.Vb.push(new g(u)); }; - c.prototype.pkb = function (t) { - this.Sb.push(new d(this.te, t)); + c.prototype.pkb = function (u) { + this.Vb.push(new d(this.ve, u)); }; - c.prototype.Kkb = function (t) { - this.Sb.push(new l(this.Bc, t)); + c.prototype.Kkb = function (u) { + this.Vb.push(new l(this.Dc, u)); }; - c.prototype.wkb = function (t) { - this.Sb.push(new k(t)); + c.prototype.wkb = function (u) { + this.Vb.push(new k(u)); }; - c.prototype.Lkb = function (t) { - this.Sb.push(new f(t)); + c.prototype.Lkb = function (u) { + this.Vb.push(new f(u)); }; - c.prototype.ek = function () { - return this.Sb; + c.prototype.wj = function () { + return this.Vb; }; - u = c; - u = q.__decorate([r.R(), q.__param(0, r.l(a.Rh)), q.__param(1, r.l(p.Hf))], u); - b.LAa = u; - }, function (q, b, a) { + t = c; + t = r.__decorate([q.R(), r.__param(0, q.l(a.Rh)), r.__param(1, q.l(p.If))], t); + b.JAa = t; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.ZYa = void 0; - q = a(0); - c = a(328); - f = a(628); - b.ZYa = new q.ad(function (k) { - k(c.kCa).to(f.jCa).$(); + b.WYa = void 0; + r = a(0); + c = a(330); + f = a(631); + b.WYa = new r.$c(function (k) { + k(c.iCa).to(f.hCa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; function c(d) { - this.vc = d; + this.xc = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jCa = void 0; - q = a(1); + b.hCa = void 0; + r = a(1); f = a(0); - k = a(629); + k = a(632); a = a(46); - c.prototype.ePa = function (d, g) { - return new k.lCa(this.vc, d, g); + c.prototype.dPa = function (d, g) { + return new k.jCa(this.xc, d, g); }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(a.lj))], l); - b.jCa = l; - }, function (q, b) { + l = r.__decorate([f.R(), r.__param(0, f.l(a.ij))], l); + b.hCa = l; + }, function (r, b) { function a(c, f, k) { - this.vc = c; + this.xc = c; this.config = f; this.getTime = k; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.lCa = void 0; + b.jCa = void 0; a.prototype.observe = function (c, f) { var k; k = this; this.cancel(); - this.Wi = this.vc.l7(this.config.bUa(), function () { + this.Ui = this.xc.i7(this.config.bUa(), function () { k.getTime() >= c && (k.cancel(), f()); }); }; a.prototype.cancel = function () { - this.Wi && (this.Wi.cancel(), this.Wi = void 0); + this.Ui && (this.Ui.cancel(), this.Ui = void 0); }; - b.lCa = a; - }, function (q, b, a) { + b.jCa = a; + }, function (r, b, a) { var c, f, k, @@ -66991,20 +66999,20 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ca = void 0; - q = a(0); - c = a(205); - f = a(329); - k = a(631); - l = a(634); - d = a(332); - g = a(635); - b.Ca = new q.ad(function (h) { - h(c.pba).to(k.fGa).$(); - h(f.dGa).to(l.cGa).$(); - h(d.nHa).to(g.mHa).$(); - }); - }, function (q, b, a) { + b.wa = void 0; + r = a(0); + c = a(206); + f = a(331); + k = a(634); + l = a(637); + d = a(334); + g = a(638); + b.wa = new r.$c(function (h) { + h(c.jba).to(k.bGa).aa(); + h(f.$Fa).to(l.ZFa).aa(); + h(d.jHa).to(g.iHa).aa(); + }); + }, function (r, b, a) { var f, k, l, @@ -67013,107 +67021,107 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; - function c(v, x, y, z, B, A, C, E, F, D) { - this.Pa = v; - this.Bg = x; - this.bM = y; - this.SXb = z; - this.wV = B; - this.vc = A; - this.NJ = C; - this.Xm = E; - this.sia = F; - this.Rd = D; + function c(v, x, y, z, A, B, C, E, G, D) { + this.La = v; + this.Ag = x; + this.dM = y; + this.aua = z; + this.vV = A; + this.xc = B; + this.QJ = C; + this.Wm = E; + this.lia = G; + this.Pd = D; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.fGa = void 0; - q = a(1); + b.bGa = void 0; + r = a(1); f = a(0); k = a(20); l = a(8); - d = a(328); + d = a(330); g = a(137); - h = a(330); - m = a(331); - n = a(632); - r = a(633); + h = a(332); + m = a(333); + n = a(635); + q = a(636); p = a(94); - u = a(46); - t = a(325); + t = a(46); + u = a(327); a = a(28); - c.prototype.Wrb = function (v, x, y) { - return new n.gGa(this.Pa, this.Bg, this.bM, this.SXb, x, v, this.Xm, this.wV, this.Rd, this.sia, y); + c.prototype.Xrb = function (v, x, y) { + return new n.cGa(this.La, this.Ag, this.dM, this.aua, x, v, this.Wm, this.vV, this.Pd, this.lia, y); }; - c.prototype.trb = function (v, x) { - return new r.Lva(this.Bg, v, x, this.bM, this.vc, this.NJ); + c.prototype.urb = function (v, x) { + return new q.Iva(this.Ag, v, x, this.dM, this.xc, this.QJ); }; w = c; - w = q.__decorate([f.R(), q.__param(0, f.l(k.zd)), q.__param(1, f.l(l.Kb)), q.__param(2, f.l(d.kCa)), q.__param(3, f.l(m.OHa)), q.__param(4, f.l(h.mEa)), q.__param(5, f.l(u.lj)), q.__param(6, f.l(p.iO)), q.__param(7, f.l(g.DP)), q.__param(8, f.l(t.HO)), q.__param(9, f.l(a.Hf))], w); - b.fGa = w; - }, function (q, b, a) { + w = r.__decorate([f.R(), r.__param(0, f.l(k.zd)), r.__param(1, f.l(l.Ib)), r.__param(2, f.l(d.iCa)), r.__param(3, f.l(m.KHa)), r.__param(4, f.l(h.kEa)), r.__param(5, f.l(t.ij)), r.__param(6, f.l(p.hO)), r.__param(7, f.l(g.DP)), r.__param(8, f.l(u.HO)), r.__param(9, f.l(a.If))], w); + b.bGa = w; + }, function (r, b, a) { var d, g, h; - function c(m, n, r, p, u, t, w, v, x, y, z) { - var B; - B = this; - this.Pa = m; - this.bM = r; - this.Dpa = p; - this.config = u; - this.xb = t; - this.Xm = w; - this.wV = v; - this.Rd = x; + function c(m, n, q, p, t, u, w, v, x, y, z) { + var A; + A = this; + this.La = m; + this.dM = q; + this.ypa = p; + this.config = t; + this.nb = u; + this.Wm = w; + this.vV = v; + this.Pd = x; this.Uj = z; - this.Zvb = Object.values(d.Rb).map(function (A) { + this.ewb = Object.values(d.Ub).map(function (B) { return { - event: A, - FF: function (C) { - return B.Pb.tc(A, C); + event: B, + KF: function (C) { + return A.Rb.qc(B, C); } }; }); - this.Pb = y.create(); - this.DC = []; - this.log = n.Cb("SegmentManager"); - this.Via = !0; - this.mg = this.Rd.createElement("div", h.fba); + this.Rb = y.create(); + this.FC = []; + this.log = n.Db("SegmentManager"); + this.Oia = !0; + this.kg = this.Pd.createElement("div", h.$aa); } - function f(m, n, r, p, u, t, w, v, x, y, z) { - var B; - B = this; + function f(m, n, q, p, t, u, w, v, x, y, z) { + var A; + A = this; this.log = m; this.config = n; - this.sKb = r; - this.Dpa = p; - this.Xm = u; - this.wV = t; - this.Jt = w; + this.uKb = q; + this.ypa = p; + this.Wm = t; + this.vV = u; + this.Ot = w; this.P = v; - this.mg = x; - this.xb = y; + this.kg = x; + this.nb = y; this.Uj = z; - this.ZJ = function () { - B.pC && (B.pC.cancel(), B.pC = void 0); + this.cK = function () { + A.rC && (A.rC.cancel(), A.rC = void 0); }; - this.Qka = function (A) { - B.log.trace("Received the transition event", { - movieId: A.K + this.Mka = function (B) { + A.log.trace("Received the transition event", { + movieId: B.K }); - B.KOb(); + A.POb(); }; - this.Qma = function () {}; + this.Kma = function () {}; this.log.debug("Constructing session data", k(v)); - this.mVb = new Promise(function (A) { - B.KOb = A; + this.oVb = new Promise(function (B) { + A.POb = B; }); } function k(m) { @@ -67124,26 +67132,26 @@ a000.D9b = function () { function l(m) { return JSON.stringify({ movieId: m.K, - startPts: m.Z, - logicalEnd: m.uk, - params: m.Fb ? { - trackingId: m.Fb.Ek, - authParams: m.Fb.K0, - sessionParams: m.Fb.jo, - disableTrackStickiness: m.Fb.Iha, - uiPlayStartTime: m.Fb.x8, - loadImmediately: m.Fb.Q4, - playbackState: m.Fb.playbackState ? { - currentTime: m.Fb.playbackState.currentTime, - volume: m.Fb.playbackState.volume, - muted: m.Fb.playbackState.muted, - playbackRate: m.Fb.playbackState.playbackRate + startPts: m.X, + logicalEnd: m.Li, + params: m.Hb ? { + trackingId: m.Hb.Ek, + authParams: m.Hb.M0, + sessionParams: m.Hb.ko, + disableTrackStickiness: m.Hb.Cha, + uiPlayStartTime: m.Hb.t8, + loadImmediately: m.Hb.Q4, + playbackState: m.Hb.playbackState ? { + currentTime: m.Hb.playbackState.currentTime, + volume: m.Hb.playbackState.volume, + muted: m.Hb.playbackState.muted, + playbackRate: m.Hb.playbackState.playbackRate } : void 0, - pin: m.Fb.X_a, - heartbeatCooldown: m.Fb.bla, - uiLabel: m.Fb.Zd, - uxLabels: m.Fb.G8 + pin: m.Hb.V_a, + heartbeatCooldown: m.Hb.Xka, + uiLabel: m.Hb.je, + uxLabels: m.Hb.B8 } : void 0 }); @@ -67151,44 +67159,44 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gGa = void 0; + b.cGa = void 0; d = a(18); - g = a(5); + g = a(4); h = a(12); f.prototype.load = function (m) { var n, - r; + q; n = this; this.log.trace("Loading new segment", k(this.P)); - this.T = this.Dpa.Qga(this.config, this.wV, this.Xm, this.P, this.xb, this.Uj); - this.T.addEventListener(d.Rb.qL, function (p) { + this.T = this.ypa.Kga(this.config, this.vV, this.Wm, this.P, this.nb, this.Uj); + this.T.addEventListener(d.Ub.tL, function (p) { n.log.trace("Segment is inactive", k(n.P)); - n.Jt.close(n.Xm(p.errorCode)); + n.Ot.close(n.Wm(p.errorCode)); }); - this.T.addEventListener(d.Rb.closed, this.ZJ); + this.T.addEventListener(d.Ub.closed, this.cK); if (m) - (this.log.debug("Pausing background segment", k(this.P)), this.T.addEventListener(d.Rb.gma, this.Qka), this.T.pause()); + (this.log.debug("Pausing background segment", k(this.P)), this.T.addEventListener(d.Ub.ama, this.Mka), this.T.pause()); else { - this.mg.appendChild(this.T.qp()); - r = function (p) { - n.Qka(p); - n.T.removeEventListener(d.Rb.loaded, r); + this.kg.appendChild(this.T.rp()); + q = function (p) { + n.Mka(p); + n.T.removeEventListener(d.Ub.loaded, q); }; - this.T.addEventListener(d.Rb.loaded, r); + this.T.addEventListener(d.Ub.loaded, q); } }; f.prototype.observe = function () { var m, n, - r; + q; m = this; this.log.trace("Observing segment", l(this.P)); - if (this.pC) + if (this.rC) this.log.trace("Segment is currently observing", k(this.P)); - else if (this.P.Fb && this.P.Fb.Q4) - this.Qma(this); + else if (this.P.Hb && this.P.Hb.Q4) + this.Kma(this); else { - n = this.sKb.ePa(this.config, function () { + n = this.uKb.dPa(this.config, function () { var p; if (m.T) { p = m.T.j.mediaTime.value; @@ -67197,14 +67205,14 @@ a000.D9b = function () { } return 0; }); - r = this.tnb(this.P); + q = this.unb(this.P); this.log.trace("Adding a moment to watch", { - time: r + time: q }); - n.observe(r, function () { + n.observe(q, function () { m.log.trace("Segment has reached its loading point", k(m.P)); - m.Qma(m); - m.ZJ(); + m.Kma(m); + m.cK(); }); } }; @@ -67213,71 +67221,71 @@ a000.D9b = function () { segment: l(this.P), error: m }); - return this.T ? (this.T.removeEventListener(d.Rb.gma, this.Qka), this.T.close(m)) : Promise.resolve(); + return this.T ? (this.T.removeEventListener(d.Ub.ama, this.Mka), this.T.close(m)) : Promise.resolve(); }; - f.prototype.hLb = function (m) { - this.Qma = m; + f.prototype.jLb = function (m) { + this.Kma = m; }; - f.prototype.tnb = function (m) { + f.prototype.unb = function (m) { var n, - r; - n = m.uk; - m = m.Fb ? m.Fb.Q4 : !1; - r = 0; - n && !m && (r = n - this.config.zTa(), r < this.config.CTa() && (m = n - this.config.CTa(), r = n - m / 2)); - return r; + q; + n = m.Li; + m = m.Hb ? m.Hb.Q4 : !1; + q = 0; + n && !m && (q = n - this.config.ATa(), q < this.config.DTa() && (m = n - this.config.DTa(), q = n - m / 2)); + return q; }; - c.prototype.bBb = function () { - return this.Ng && this.Ng.T ? this.Ng.T.isReady() : !1; + c.prototype.dBb = function () { + return this.Lg && this.Lg.T ? this.Lg.T.isReady() : !1; }; - c.prototype.qp = function () { - return this.mg; + c.prototype.rp = function () { + return this.kg; }; - c.prototype.cl = function () { - if (!this.Ng || !this.Ng.T) + c.prototype.Ns = function () { + if (!this.Lg || !this.Lg.T) throw Error("Player not ready"); - return this.Ng.T; + return this.Lg.T; }; - c.prototype.GWb = function (m) { + c.prototype.IWb = function (m) { var n, - r; - r = this.Kia(m); - r ? this.b6a(r, m) : this.xb.Me(m.id) || this.log.error("Tried to update a non-existent segment", { + q; + q = this.Dia(m); + q ? this.d6a(q, m) : this.nb.ze(m.id) || this.log.error("Tried to update a non-existent segment", { segment: l(m), - currentMovieId: this.Ng.P.K, - queuedMovieIds: this.DC.map(function (p) { + currentMovieId: this.Lg.P.K, + queuedMovieIds: this.FC.map(function (p) { return p.P.K; }), - xid: null === (n = this.Ng.T) || void 0 === n ? void 0 : n.CB() + xid: null === (n = this.Lg.T) || void 0 === n ? void 0 : n.FB() }); }; - c.prototype.zq = function (m) { + c.prototype.Cn = function (m) { var n; this.log.info("Adding segment", l(m)); - if (this.Via) { + if (this.Oia) { this.log.trace("First segment, loading", k(m)); - n = this.tXa(m); - this.Via = !1; - } else (this.log.trace("Subsequent segment, caching", k(m)), (n = this.Kia(m)) ? this.b6a(n, m) : (n = this.createSession(m), this.DC.push(n), this.Ng.observe())); - return n ? n.mVb : null; + n = this.rXa(m); + this.Oia = !1; + } else (this.log.trace("Subsequent segment, caching", k(m)), (n = this.Dia(m)) ? this.d6a(n, m) : (n = this.createSession(m), this.FC.push(n), this.Lg.observe())); + return n ? n.oVb : null; }; c.prototype.transition = function (m, n) { - var r, + var q, p, - u; - p = this.jG; - u = null === p || void 0 === p ? void 0 : p.T; - if (p && u) - return (this.jG = void 0, this.log.info("Transitioning segment", l(p.P)), u.n3a(this.Pa.Zb().ea(g.ma)), this.v5a(p, n)); + t; + p = this.pG; + t = null === p || void 0 === p ? void 0 : p.T; + if (p && t) + return (this.pG = void 0, this.log.info("Transitioning segment", l(p.P)), t.n3a(this.La.Xb().ea(g.ma)), this.x5a(p, n)); n = null === p || void 0 === p ? void 0 : p.P; this.log.error("Transitioning to next segment failed. Session or player not available.", { - mid: this.Ng.P.K, - xid: null === (r = this.Ng.T) || void 0 === r ? void 0 : r.CB(), + mid: this.Lg.P.K, + xid: null === (q = this.Lg.T) || void 0 === q ? void 0 : q.FB(), nextSegmentId: m, - currentSegment: l(this.Ng.P), + currentSegment: l(this.Lg.P), nextSegment: n ? l(n) : void 0, - queuedMovieIds: this.DC.map(function (t) { - return t.P.K; + queuedMovieIds: this.FC.map(function (u) { + return u.P.K; }) }); return Promise.reject(); @@ -67286,235 +67294,236 @@ a000.D9b = function () { var n; n = this; this.log.trace("Closing all segments", { - currSession: JSON.stringify(k(this.Ng.P)), - nextSession: this.jG ? JSON.stringify(k(this.jG.P)) : void 0 + currSession: JSON.stringify(k(this.Lg.P)), + nextSession: this.pG ? JSON.stringify(k(this.pG.P)) : void 0 }); - m = [this.Ng.close(m)]; - this.jG && m.push(this.jG.close()); + m = [this.Lg.close(m)]; + this.pG && m.push(this.pG.close()); return Promise.all(m).then(function () { - n.jG = void 0; - n.DC = []; - n.Via = !0; + n.pG = void 0; + n.FC = []; + n.Oia = !0; }); }; - c.prototype.addListener = function (m, n, r) { - this.Pb.addListener(m, n, r); + c.prototype.addListener = function (m, n, q) { + this.Rb.addListener(m, n, q); }; c.prototype.removeListener = function (m, n) { - this.Pb.removeListener(m, n); + this.Rb.removeListener(m, n); }; - c.prototype.b6a = function (m, n) { - this.GLb(m.P, n); + c.prototype.d6a = function (m, n) { + this.JLb(m.P, n); this.log.trace("Overwrote existing segment data", l(m.P)); }; - c.prototype.tXa = function (m) { + c.prototype.rXa = function (m) { var n, - r; + q; n = this; this.log.info("Loading the next episode", k(m)); - if (this.Ng) { - this.config.tja()[m.K] = m.Z; - r = this.Kia(m); + if (this.Lg) { + this.config.mja()[m.K] = m.X; + q = this.Dia(m); } else - r = this.createSession(m); - if (r) - return (this.log.trace("Found the next session", k(m)), r.hLb(function (p) { - n.W4a(p); - }), this.Ng ? (this.log.trace("Subsequent playback, caching player and pausing", k(m)), this.jG = r, r.load(!0)) : (this.log.trace("First playback transitioning immediately", k(m)), r.load(!1), this.v5a(r)), r); + q = this.createSession(m); + if (q) + return (this.log.trace("Found the next session", k(m)), q.jLb(function (p) { + n.Y4a(p); + }), this.Lg ? (this.log.trace("Subsequent playback, caching player and pausing", k(m)), this.pG = q, q.load(!0)) : (this.log.trace("First playback transitioning immediately", k(m)), q.load(!1), this.x5a(q)), q); this.log.warn("Unable to find the session, make sure to add it before loading", k(m)); }; - c.prototype.v5a = function (m, n) { - var r, + c.prototype.x5a = function (m, n) { + var q, p, - u, t, + u, w; n = void 0 === n ? {} : n; - t = m.T ? null === (r = m.T) || void 0 === r ? void 0 : r.getError() : "missing player"; - if (t) + u = m.T ? null === (q = m.T) || void 0 === q ? void 0 : q.getError() : "missing player"; + if (u) return (null === (p = m.T) || void 0 === p ? void 0 : p.close(), this.log.error("Transitioning to next segment failed. Session is in the error state.", { - srcmid: this.Ng.P.K, + srcmid: this.Lg.P.K, mid: m.P.K, - error: t, - xid: null === (u = m.T) || void 0 === u ? void 0 : u.CB() + error: u, + xid: null === (t = m.T) || void 0 === t ? void 0 : t.FB() }), Promise.reject()); this.log.trace("Playing episode", k(m.P)); - r = this.Ng; - this.Ng = m; - m = this.Ng.T; + q = this.Lg; + this.Lg = m; + m = this.Lg.T; m.T2a(!1); - this.yX(m, r ? r.T : void 0); - if (r && r.T) { - w = r.T.qp(); - p = m.qp(); + this.xX(m, q ? q.T : void 0); + if (q && q.T) { + w = q.T.rp(); + p = m.rp(); w.style.display = "none"; - r = r.close(); - this.mg.appendChild(p); - r.then(function () { + q = q.close(); + this.kg.appendChild(p); + q.then(function () { w.parentElement && w.parentElement.removeChild(w); }); p.style.display = "block"; - m.oy().DWb(n); - m.BW(); + m.CB().FWb(n); + m.AW(); m.play(); } return Promise.resolve(); }; - c.prototype.W4a = function (m) { + c.prototype.Y4a = function (m) { var n, - r, + q, p, - u, - t; - if (this.DC.length && m.T) { + t, + u; + if (this.FC.length && m.T) { n = m.T.j.mediaTime.value; - r = this.DC[0]; - p = this.Ng.P.uk; - u = this.Ng.P.Fb ? this.Ng.P.Fb.Q4 : !1; - if (p || u) { - u ? t = 0 : p && (t = p - this.config.zTa()); - null !== n && n >= t && (this.log.info("Got a time change, loading the next player", k(r.P)), this.tXa(r.P), this.DC.splice(0, 1), this.W4a(m)); + q = this.FC[0]; + p = this.Lg.P.Li; + t = this.Lg.P.Hb ? this.Lg.P.Hb.Q4 : !1; + if (p || t) { + t ? u = 0 : p && (u = p - this.config.ATa()); + null !== n && n >= u && (this.log.info("Got a time change, loading the next player", k(q.P)), this.rXa(q.P), this.FC.splice(0, 1), this.Y4a(m)); } } }; - c.prototype.Kia = function (m) { - return this.Ng.P.K === m.K ? this.Ng : this.DC.find(function (n) { + c.prototype.Dia = function (m) { + return this.Lg.P.K === m.K ? this.Lg : this.FC.find(function (n) { return n.P.K === m.K; }); }; - c.prototype.GLb = function (m, n) { - m.Z = n.Z || m.Z; - m.uk = n.uk || m.uk; - m.Fb = n.Fb || m.Fb; + c.prototype.JLb = function (m, n) { + m.X = n.X || m.X; + m.Li = n.Li || m.Li; + m.Hb = n.Hb || m.Hb; m.sa = n.sa || m.sa; }; c.prototype.createSession = function (m) { - return new f(this.log, this.config, this.bM, this.Dpa, this.Xm, this.wV, this, m, this.mg, this.xb, this.Uj); + return new f(this.log, this.config, this.dM, this.ypa, this.Wm, this.vV, this, m, this.kg, this.nb, this.Uj); }; - c.prototype.yX = function (m, n) { - this.Zvb.forEach(function (r) { - n && n.removeEventListener(r.event, r.FF); - m.addEventListener(r.event, r.FF); + c.prototype.xX = function (m, n) { + this.ewb.forEach(function (q) { + n && n.removeEventListener(q.event, q.KF); + m.addEventListener(q.event, q.KF); }); - this.Pb.tc(d.tI.q7); + this.Rb.qc(d.LD.jW); }; - b.gGa = c; - }, function (q, b, a) { + b.cGa = c; + }, function (r, b, a) { var l, d, g, h; - function c(m, n, r, p, u, t) { + function c(m, n, q, p, t, u) { var w; w = this; this.T = n; - this.j = r; - this.bM = p; - this.vc = u; - this.NJ = t; - this.ZJ = function () { - w.pC && (w.pC.cancel(), w.pC = void 0); - }; - this.log = m.Cb("SegmentManager", this.j); - this.Ca = new Map(); - this.j.kb.Ol && (this.j.addEventListener(g.W.NG, function (v) { - return w.qC(v); - }), this.j.addEventListener(g.W.closed, this.ZJ)); + this.j = q; + this.dM = p; + this.xc = t; + this.QJ = u; + this.cK = function () { + w.rC && (w.rC.cancel(), w.rC = void 0); + }; + this.log = m.Db("SegmentManager", this.j); + this.wa = new Map(); + this.j.kb.Nl && (this.j.addEventListener(g.Z.WG, function (v) { + return w.sC(v); + }), this.j.addEventListener(g.Z.closed, this.cK)); } function f(m, n) { this.id = m; - this.dga = n; + this.Yfa = n; } - function k(m, n, r, p) { - return d.$c.call(this, m, r, void 0, void 0, void 0, n, void 0, p) || this; + function k(m, n, q, p) { + return d.dd.call(this, m, q, void 0, void 0, void 0, n, void 0, p) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Lva = void 0; + b.Iva = void 0; l = a(3); d = a(42); g = a(18); - h = a(5); - ka(k, d.$c); + h = a(4); + ja(k, d.dd); k.prototype.toString = function () { - return this.code + "-" + this.jc + " : " + this.message + "\n" + JSON.stringify(this.data); + return this.code + "-" + this.kc + " : " + this.message + "\n" + JSON.stringify(this.data); }; f.prototype.toJSON = function () { return { id: this.id, - contentStartPts: this.xc, - contentEndPts: this.Yc + contentStartPts: this.jc, + contentEndPts: this.Fc }; }; Xa.Object.defineProperties(f.prototype, { - xc: { + jc: { configurable: !0, enumerable: !0, get: function () { - return this.dga.startTimeMs; + return this.Yfa.startTimeMs; } }, - Yc: { + Fc: { configurable: !0, enumerable: !0, get: function () { - return this.dga.endTimeMs; + return this.Yfa.endTimeMs; } }, - Uy: { + Xy: { configurable: !0, enumerable: !0, get: function () { - return Object.keys(this.dga.next); + return Object.keys(this.Yfa.next); } } }); - c.prototype.qC = function (m) { + c.prototype.sC = function (m) { var n; n = this; !1; - 0 === this.Ca.size && Object.entries(this.j.jT()).forEach(function (r) { + m = m.position.segmentId; + 0 === this.wa.size && Object.entries(this.j.hT()).forEach(function (q) { var p; - p = aa(r); - r = p.next().value; + p = aa(q); + q = p.next().value; p = p.next().value; - n.Ca.set(r, new f(r, p)); + n.wa.set(q, new f(q, p)); }); - this.fa = this.Ca.get(m.segmentId); + this.ga = this.wa.get(m); }; c.prototype.play = function (m) { - this.Nv && (this.Nv = void 0); - this.ZJ(); + this.Sv && (this.Sv = void 0); + this.cK(); this.log.trace("Playing segment", m); - return this.rWa(m) ? this.HMb(m) : this.uV(m); + return this.pWa(m) ? this.KMb(m) : this.tV(m); }; - c.prototype.eo = function (m) { + c.prototype.fo = function (m) { this.log.trace("Queueing segment", m); - return this.rWa(m) ? this.zOb(m) : this.BOb(m); + return this.pWa(m) ? this.EOb(m) : this.GOb(m); }; c.prototype.ti = function (m, n) { - var r, + var q, p; - r = this; - p = this.j.Ma; - if (null === p || void 0 === p || !p.dh) - return Promise.reject(this.getError(l.L.sva, "ASE session manager is not yet initialized", l.M.z9, { + q = this; + p = this.j.Pa; + if (null === p || void 0 === p || !p.Ah) + return Promise.reject(this.getError(l.M.pva, "ASE session manager is not yet initialized", l.L.u9, { segmentId: m, updates: n })); this.log.trace("Updating next segment weights", m, n); - return new Promise(function (u, t) { + return new Promise(function (t, u) { try { - p.RN(m, n); - r.j.fireEvent(g.W.Kta, { + p.SN(m, n); + q.j.fireEvent(g.Z.Fta, { va: m, - TWb: n + VWb: n }); - u(); + t(); } catch (w) { - t(r.getError(l.L.sva, "updateNextSegmentWeights threw an exception", l.M.X7a, { + u(q.getError(l.M.pva, "updateNextSegmentWeights threw an exception", l.L.Z7a, { segmentId: m, updates: n, error: w @@ -67522,50 +67531,50 @@ a000.D9b = function () { } }); }; - c.prototype.rWa = function (m) { - return this.fa ? void 0 !== this.j.jT()[this.fa.id].next[m] : !1; + c.prototype.pWa = function (m) { + return this.ga ? void 0 !== this.j.hT()[this.ga.id].next[m] : !1; }; - c.prototype.ika = function () { + c.prototype.eka = function () { var m; - m = this.j.Ma; - if (null === m || void 0 === m ? 0 : m.dh) - return m.vp().Pd; + m = this.j.Pa; + if (null === m || void 0 === m ? 0 : m.Ah) + return m.xp().Nd; }; - c.prototype.WAb = function () { + c.prototype.YAb = function () { var m; - m = this.j.Ma; - if (null === m || void 0 === m ? 0 : m.dh) - return m.vp().id; + m = this.j.Pa; + if (null === m || void 0 === m ? 0 : m.Ah) + return m.xp().id; }; - c.prototype.Pyb = function (m) { + c.prototype.Tyb = function (m) { var n; - n = this.j.Ma; - if (null === n || void 0 === n ? 0 : n.dh) - return (m = n.iT(m)) && m.Ke; + n = this.j.Pa; + if (null === n || void 0 === n ? 0 : n.Ah) + return (m = n.gT(m)) && m.Me; }; - c.prototype.HMb = function (m) { + c.prototype.KMb = function (m) { var n, - r; + q; n = this; - r = this.j.Ma; - return null !== r && void 0 !== r && r.dh ? this.fa && 1 === this.fa.Uy.length ? this.uV(m) : this.j.Cg ? void 0 === this.Pyb(m) ? (this.log.error("playNextSegment: branchOffset missing", { + q = this.j.Pa; + return null !== q && void 0 !== q && q.Ah ? this.ga && 1 === this.ga.Xy.length ? this.tV(m) : this.j.Bg ? void 0 === this.Tyb(m) ? (this.log.error("playNextSegment: branchOffset missing", { segment: m - }), this.uV(m)) : new Promise(function (p, u) { + }), this.tV(m)) : new Promise(function (p, t) { var y, z, - B, A, + B, C, E; - function t() { - !B && z && y && (E.cancel(), B = !0, n.log.trace("Telling ASE to choose the next segment", { + function u() { + !A && z && y && (E.cancel(), A = !0, n.log.trace("Telling ASE to choose the next segment", { id: m, stopped: z, repositioned: y, - completed: B - }), r.ns(m, !1, !0) ? (p(), B = !0) : (B = !0, n.log.error("playNextSegment: ASE chooseNextSegment failed. Falling back to full seek.", { + completed: A + }), q.rs(m, !1, !0) ? (p(), A = !0) : (A = !0, n.log.error("playNextSegment: ASE chooseNextSegment failed. Falling back to full seek.", { segment: m - }), n.uV(m).then(p).catch(u))); + }), n.tV(m).then(p).catch(t))); } function w() { y = !0; @@ -67573,14 +67582,14 @@ a000.D9b = function () { id: m, stopped: z, repositioned: y, - completed: B + completed: A }); - n.j.removeEventListener(g.W.Zl, w); - t(); + n.j.removeEventListener(g.Z.Xl, w); + u(); } function v() { - n.j.removeEventListener(g.W.EG, v); - r.stop(); + n.j.removeEventListener(g.Z.LG, v); + q.stop(); } function x() { z = !0; @@ -67588,198 +67597,198 @@ a000.D9b = function () { id: m, stopped: z, repositioned: y, - completed: B + completed: A }); - r.removeEventListener("stop", x); - t(); + q.removeEventListener("stop", x); + u(); } y = !1; z = !1; - B = !1; - A = n.Ca.get(m); - C = n.ika(); + A = !1; + B = n.wa.get(m); + C = n.eka(); if (void 0 === C) return (n.log.debug("playNextSegment: getPresentingBranchPlayerEndPts undefined, fallback to full seek.", { segment: m - }), n.uV(m)); + }), n.tV(m)); n.log.trace("Seeking to next segment", JSON.stringify({ segmentId: m, seekTo: C, - currentSegment: n.fa, - nextSegment: A + currentSegment: n.ga, + nextSegment: B }, null, " ")); - n.j.fireEvent(g.W.O5, { - Fh: n.fa && n.fa.id, - UU: m - }); - r.addEventListener("stop", x); - n.j.addEventListener(g.W.EG, v); - n.j.addEventListener(g.W.Zl, w); - E = n.vc.Oj(h.Wg(10), function () { - B = !0; + n.j.fireEvent(g.Z.O5, { + Eh: n.ga && n.ga.id, + TU: m + }); + q.addEventListener("stop", x); + n.j.addEventListener(g.Z.LG, v); + n.j.addEventListener(g.Z.Xl, w); + E = n.xc.Nj(h.Ug(10), function () { + A = !0; E.cancel(); - u(n.getError(l.L.kO, "Timed out waiting for the player to be repositioned and ASE to be stopped", l.M.T7a, { + t(n.getError(l.M.kO, "Timed out waiting for the player to be repositioned and ASE to be stopped", l.L.V7a, { id: m, stopped: z, repositioned: y, - completed: B + completed: A })); }); - n.T.seek(C, g.Jd.HD); - }) : (this.log.warn("MediaPresenter is not initialized", m), Promise.reject(this.getError(l.L.kO, "MediaPresenter is not initialized", l.M.U7a, { + n.T.seek(C, g.me.CI); + }) : (this.log.warn("MediaPresenter is not initialized", m), Promise.reject(this.getError(l.M.kO, "MediaPresenter is not initialized", l.L.W7a, { id: m - }))) : Promise.reject(this.getError(l.L.kO, "ASE session manager is not yet initialized", l.M.z9, { + }))) : Promise.reject(this.getError(l.M.kO, "ASE session manager is not yet initialized", l.L.u9, { id: m })); }; - c.prototype.uV = function (m) { + c.prototype.tV = function (m) { var n; - n = this.Ca.get(m); - return n ? this.hW(n, l.L.kO) : Promise.reject(this.getError(l.L.kO, "Unable to find the separated segment", l.M.rva, { + n = this.wa.get(m); + return n ? this.hW(n, l.M.kO) : Promise.reject(this.getError(l.M.kO, "Unable to find the separated segment", l.L.ova, { id: m })); }; - c.prototype.zOb = function (m) { + c.prototype.EOb = function (m) { var n; - n = this.j.Ma; - if (null === n || void 0 === n || !n.dh) - return Promise.reject(this.getError(l.L.HH, "ASE session manager is not yet initialized", l.M.z9, { + n = this.j.Pa; + if (null === n || void 0 === n || !n.Ah) + return Promise.reject(this.getError(l.M.PH, "ASE session manager is not yet initialized", l.L.u9, { id: m })); - this.j.fireEvent(g.W.O5, { - Fh: this.fa && this.fa.id, - UU: m + this.j.fireEvent(g.Z.O5, { + Eh: this.ga && this.ga.id, + TU: m }); - if (n.ns(m, !0, !0)) + if (n.rs(m, !0, !0)) return Promise.resolve(); this.log.error("queueNextSegment: ASE chooseNextSegment failed", { segment: m }); - return Promise.reject(this.getError(l.L.HH, "ASE chooseNextSegment failed", l.M.R7a, { + return Promise.reject(this.getError(l.M.PH, "ASE chooseNextSegment failed", l.L.T7a, { id: m })); }; - c.prototype.BOb = function (m) { + c.prototype.GOb = function (m) { var n, - r; + q; n = this; this.log.error("calls to queueSeparatedSegment are deprecated", { segment: m, mid: this.j.K, - srcsegment: this.WAb() + srcsegment: this.YAb() }); - if (this.Nv) - return Promise.reject(this.getError(l.L.HH, "Unable to queue a non-next segment because there is currently already a segment queued", l.M.W7a, { - currentSegment: this.fa ? this.fa.id : void 0, - queuedSegment: this.Nv.id, + if (this.Sv) + return Promise.reject(this.getError(l.M.PH, "Unable to queue a non-next segment because there is currently already a segment queued", l.L.Y7a, { + currentSegment: this.ga ? this.ga.id : void 0, + queuedSegment: this.Sv.id, failedSegment: m })); - if (!this.fa) - return Promise.reject(this.getError(l.L.HH, "Unable to queue a non-next segment because there is no currently playing segment", l.M.S7a, { + if (!this.ga) + return Promise.reject(this.getError(l.M.PH, "Unable to queue a non-next segment because there is no currently playing segment", l.L.U7a, { nextSegmentid: m })); - r = this.Ca.get(m); - if (!r) - return Promise.reject(this.getError(l.L.HH, "Unable to find the separated segment", l.M.rva, { + q = this.wa.get(m); + if (!q) + return Promise.reject(this.getError(l.M.PH, "Unable to find the separated segment", l.L.ova, { nextSegmentid: m, - currentSegmentId: this.fa.id + currentSegmentId: this.ga.id })); - this.Nv = { + this.Sv = { id: m, - promise: new Promise(function (p, u) { - var t; - n.pC = n.bM.ePa({ + promise: new Promise(function (p, t) { + var u; + n.rC = n.dM.dPa({ bUa: function () { - return h.uc(100); + return h.wc(100); } }, function () { return n.T.j.mediaTime.value || 0; }); - t = n.ika() - 500; + u = n.eka() - 500; n.log.trace("Adding moment for queued segment", { segment: m, - pts: t + pts: u }); - n.pC.observe(t, function () { + n.rC.observe(u, function () { n.log.trace("Moment has arrived", { segment: m, - currentSegment: n.fa.id, - playerEndPts: n.ika(), - pts: t + currentSegment: n.ga.id, + playerEndPts: n.eka(), + pts: u }); - n.Nv = void 0; - n.ZJ(); - n.hW(r, l.L.HH).then(p).catch(u); + n.Sv = void 0; + n.cK(); + n.hW(q, l.M.PH).then(p).catch(t); }); }) }; - this.Nv.promise.catch(function (p) { - n.j.Ld(p.code, p); + this.Sv.promise.catch(function (p) { + n.j.Jd(p.code, p); }); return Promise.resolve(); }; c.prototype.hW = function (m, n) { - var r; - r = this; - return new Promise(function (p, u) { - var t; + var q; + q = this; + return new Promise(function (p, t) { + var u; try { - t = m.xc; + u = m.jc; !1; - r.T.seek(t, g.Jd.Iw); + q.T.seek(u, g.me.mA); p(); } catch (w) { - u(r.getError(n, "Seek threw an exception", l.M.V7a, { + t(q.getError(n, "Seek threw an exception", l.L.X7a, { id: m.id, error: w })); } }); }; - c.prototype.getError = function (m, n, r, p) { + c.prototype.getError = function (m, n, q, p) { this.log.warn(n, p); - return new k(m, n, r, p); + return new k(m, n, q, p); }; - b.Lva = c; - }, function (q, b, a) { + b.Iva = c; + }, function (r, b, a) { var k, l; function c() {} function f(d, g, h, m, n) { this.debug = d; this.version = g; - this.DFb = h; - this.EMb = m; + this.GFb = h; + this.HMb = m; this.config = n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.cGa = void 0; - q = a(1); + b.ZFa = void 0; + r = a(1); k = a(0); - l = a(5); - f.prototype.Izb = function () { - return this.config().HB; + l = a(4); + f.prototype.Mzb = function () { + return this.config().uy; }; - f.prototype.tja = function () { + f.prototype.mja = function () { return this.config().$Ma; }; f.prototype.bUa = function () { - return l.uc(this.config().bNb); + return l.wc(this.config().fNb); }; - f.prototype.zTa = function () { - return this.config().QGb; + f.prototype.ATa = function () { + return this.config().SGb; }; - f.prototype.CTa = function () { - return this.config().CHb; + f.prototype.DTa = function () { + return this.config().FHb; }; c.prototype.xB = function (d, g, h, m, n) { return new f(d, g, h, m, n); }; - a = q.__decorate([k.R()], c); - b.cGa = a; - }, function (q, b, a) { + a = r.__decorate([k.R()], c); + b.ZFa = a; + }, function (r, b, a) { var f, k; function c(l) { @@ -67788,58 +67797,54 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mHa = void 0; - q = a(1); + b.iHa = void 0; + r = a(1); f = a(0); a = a(15); - c.prototype.gOb = function (l, d, g) { - var h, - m; - if (this.config().BRb) { + c.prototype.lOb = function (l, d, g) { + var h; + if (this.config().ERb) { h = l.metrics; - if (void 0 !== h && h.segment !== h.srcsegment) { - m = l.playlistSegment || void 0; - d.rU.transition({ - isBranching: void 0 === m || void 0, - isPlaygraph: m, - mid: d.K, - xid: d.ba, - srcxid: g.ba, - srcmid: g.K, - segment: l.segmentId, - srcsegment: h.srcsegment, - srcsegmentduration: h.srcsegmentduration, - srcoffset: h.srcoffset, - seamlessRequested: h.seamlessRequested, - transitionType: h.transitionType, - transitionTypeAtRequest: h.transitionTypeAtRequest, - nextExitPositionAtRequest: h.nextExitPositionAtRequest, - delayToTransition: h.delayToTransition, - durationOfTransition: h.durationOfTransition, - atRequest: h.atRequest, - atTransition: h.atTransition, - discard: h.discard - }); - } + void 0 !== h && h.segment !== h.srcsegment && d.qU.transition({ + isBranching: !0, + isPlaygraph: void 0, + mid: d.K, + xid: d.ca, + srcxid: g.ca, + srcmid: g.K, + segment: l.position.segmentId, + srcsegment: h.srcsegment, + srcsegmentduration: h.srcsegmentduration, + srcoffset: h.srcoffset, + seamlessRequested: h.seamlessRequested, + transitionType: h.transitionType, + transitionTypeAtRequest: h.transitionTypeAtRequest, + nextExitPositionAtRequest: h.nextExitPositionAtRequest, + delayToTransition: h.delayToTransition, + durationOfTransition: h.durationOfTransition, + atRequest: h.atRequest, + atTransition: h.atTransition, + discard: h.discard + }); } }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.dd))], k); - b.mHa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.ed))], k); + b.iHa = k; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.F6a = void 0; - q = a(0); - c = a(331); - f = a(637); - b.F6a = new q.ad(function (k) { - k(c.OHa).to(f.NHa).$(); + b.I6a = void 0; + r = a(0); + c = a(333); + f = a(640); + b.I6a = new r.$c(function (k) { + k(c.KHa).to(f.JHa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -67848,70 +67853,70 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; function c(w) { - this.jd = w; + this.kd = w; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.NHa = void 0; - q = a(1); + b.JHa = void 0; + r = a(1); f = a(0); k = a(89); l = a(28); d = a(26); g = a(8); h = a(93); - m = a(205); - n = a(333); - r = a(638); - p = a(206); - u = a(80); - t = a(334); - c.prototype.Qga = function (w, v, x, y, z, B) { - return new r.cAa(this.jd.get(l.Hf), this.jd.get(d.Gf), this.jd.get(g.Kb), this.jd.get(h.sya), this.jd.get(m.pba), this.jd.get(p.Faa), this.jd.get(u.h$), this.jd.get(t.uDa), this.jd.get(n.oxa), w, v, x, y, z, B); + m = a(206); + n = a(335); + q = a(641); + p = a(207); + t = a(80); + u = a(336); + c.prototype.Kga = function (w, v, x, y, z, A) { + return new q.aAa(this.kd.get(l.If), this.kd.get(d.Hf), this.kd.get(g.Ib), this.kd.get(h.qya), this.kd.get(m.jba), this.kd.get(p.yaa), this.kd.get(t.a$), this.kd.get(u.qDa), this.kd.get(n.lxa), w, v, x, y, z, A); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.$za))], a); - b.NHa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.Yza))], a); + b.JHa = a; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p, u, t, w, v, x, y, z, B, A, C, E) { - var F; - F = this; - this.te = m; + function c(m, n, q, p, t, u, w, v, x, y, z, A, B, C, E) { + var G; + G = this; + this.ve = m; this.bb = n; - this.Pb = p; - this.pt = t; - this.UR = w; - this.nSa = v; + this.Rb = p; + this.ut = u; + this.VR = w; + this.mSa = v; this.config = y; - this.Xm = B; - this.P = A; - this.j = z.create(A.K, A.Wl, x, C, E, A.Fb, A.id); + this.Wm = A; + this.P = B; + this.j = z.create(B.K, B.Vl, x, C, E, B.Hb, B.id); this.j.background = !0; - this.j.sa = A.sa; - this.log = r.Cb("VideoPlayer", this.j); - this.T_a = []; + this.j.sa = B.sa; + this.log = q.Db("VideoPlayer", this.j); + this.R_a = []; this.ended = !1; - this.yX(); + this.xX(); this.j.state.addListener(function (D) { - D.newValue === k.Gb.$d && F.oe(k.Rb.gma, { - movieId: A.K + D.newValue === k.Jb.Yd && G.re(k.Ub.ama, { + movieId: B.K }); }); - this.j.kb.Ol && (this.SJ = u.trb(this, this.j), this.j.addEventListener(k.W.NG, function (D) { - D = D.segmentId; - F.$Fb !== D && (F.$Fb = D, F.oe(k.Rb.mRb, { + this.j.kb.Nl && (this.WJ = t.urb(this, this.j), this.j.addEventListener(k.Z.WG, function (D) { + D = D.position.segmentId; + G.cGb !== D && (G.cGb = D, G.re(k.Ub.pRb, { segmentId: D })); })); @@ -67919,166 +67924,172 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.cAa = void 0; + b.aAa = void 0; f = a(3); k = a(18); - l = a(5); + l = a(4); d = a(11); g = a(80); h = a(24); c.prototype.isReady = function () { - return this.j.state.value === k.Gb.$d; + return this.j.state.value === k.Jb.Yd; }; - c.prototype.sAb = function () { + c.prototype.vAb = function () { return this.j.K; }; - c.prototype.CB = function () { - return this.j.ba; + c.prototype.FB = function () { + return this.j.ca; }; - c.prototype.qp = function () { - return this.j.mg; + c.prototype.rp = function () { + return this.j.kg; }; - c.prototype.oy = function () { + c.prototype.CB = function () { return this.j; }; - c.prototype.UB = function () { - return this.j.Hv.value; + c.prototype.WB = function () { + return this.j.Nv.value; }; - c.prototype.WEb = function () { + c.prototype.$Eb = function () { return this.j.paused.value; }; - c.prototype.DEb = function () { + c.prototype.HEb = function () { return this.ended; }; c.prototype.hi = function () { var m; - m = this.j.Dfa.value; + m = this.j.wfa.value; return m ? { - networkStalled: !!m.M7, - stalled: !!m.M7, + networkStalled: !!m.I7, + stalled: !!m.I7, progress: m.progress, - progressRollback: !!m.mOb + progressRollback: !!m.rOb } : null; }; c.prototype.getError = function () { var m; m = this.j.Zk; - return m ? m.gta() : null; + return m ? m.ata() : null; }; - c.prototype.Eyb = function () { + c.prototype.Jyb = function () { var m; m = (this.MSa() || 0) + this.j.ySa(); return Math.min(m, this.LSa()); }; c.prototype.MSa = function () { - return this.j.BB(); + return this.j.DB(); }; c.prototype.LSa = function () { - return this.j.Lx.ea(l.ma); + return this.j.Qx.ea(l.ma); }; - c.prototype.XBb = function () { - return this.j.Lz ? { - width: this.j.Lz.width, - height: this.j.Lz.height + c.prototype.ZBb = function () { + return this.j.Oz ? { + width: this.j.Oz.width, + height: this.j.Oz.height } : null; }; - c.prototype.Aja = function () { - var u; - if (this.j.so) { - for (var m, n = 0; n < this.j.so.length; n++) { - for (var r = this.j.so[n], p = 0; p < r.streams.length; p++) { - u = r.streams[p]; - this.bb.$h(u.Wga) && this.bb.$h(u.D1) && this.bb.$h(u.C1) && this.bb.$h(u.B1) && 0 < u.D1 && (u = u.B1 / u.C1, m = this.bb.$h(m) ? Math.min(m, u) : u); + c.prototype.tja = function () { + var t; + if (this.j.uo) { + for (var m, n = 0; n < this.j.uo.length; n++) { + for (var q = this.j.uo[n], p = 0; p < q.streams.length; p++) { + t = q.streams[p]; + this.bb.$h(t.Qga) && this.bb.$h(t.F1) && this.bb.$h(t.E1) && this.bb.$h(t.D1) && 0 < t.F1 && (t = t.D1 / t.E1, m = this.bb.$h(m) ? Math.min(m, t) : t); } } return m; } }; - c.prototype.Wyb = function () { - return this.j.Aja(); + c.prototype.$yb = function () { + return this.j.tja(); }; - c.prototype.Zxb = function (m) { + c.prototype.eyb = function (m) { var n, - r; - return (null === (n = this.j.sa) || void 0 === n ? 0 : n.Fj.rT("generateScreenshots")) ? this.nSa.np(this.log, this.j.sa.Fj, m) : (n = null === (r = this.j.kb) || void 0 === r ? void 0 : r.Ep) ? this.nSa.Of(this.log, Object.assign({ + q; + return (null === (n = this.j.sa) || void 0 === n ? 0 : n.Ej.pT("generateScreenshots")) ? this.mSa.op(this.log, this.j.sa.Ej, m) : (n = null === (q = this.j.kb) || void 0 === q ? void 0 : q.Gp) ? this.mSa.Pf(this.log, Object.assign({ packageId: n }, m)) : Promise.reject("Unknown packageId"); }; - c.prototype.fzb = function () { - return this.gzb(this.j.Eha); + c.prototype.jzb = function () { + return this.kzb(this.j.yha); }; - c.prototype.myb = function () { + c.prototype.rSa = function () { var m; m = this; - return this.j.Yo ? this.j.Yo.map(function (n) { - return m.CF(n); + return this.j.Zo ? this.j.Zo.map(function (n) { + return m.HF(n); }).filter(function (n) { return null !== n; }) : []; }; - c.prototype.CUa = function (m) { + c.prototype.nAb = function () { + return this.rSa().length - 1; + }; + c.prototype.xka = function (m) { var n, - r; + q; n = this; - r = m && this.j.Yo.find(function (p) { - return n.CF(p) === m; - }) || this.j.Bd.value; - return null === r ? [] : r.cm.map(function (p) { - return n.CF(p); + q = m && this.j.Zo.find(function (p) { + return n.HF(p) === m; + }) || this.j.Sd.value; + return null === q ? [] : q.am.map(function (p) { + return n.HF(p); }).filter(function (p) { return null !== p; }); }; - c.prototype.REb = function () { + c.prototype.HTa = function (m) { + return this.xka(m).length - 1; + }; + c.prototype.WEb = function () { return this.j.muted.value; }; - c.prototype.aCb = function () { + c.prototype.cCb = function () { return this.j.volume.value; }; - c.prototype.lyb = function () { - return this.CF(this.j.Bd.value); + c.prototype.ryb = function () { + return this.HF(this.j.Sd.value); }; c.prototype.BUa = function () { - return this.CF(this.j.Nc.value); + return this.HF(this.j.Rc.value); }; - c.prototype.uEb = function () { + c.prototype.xEb = function () { return !!this.j.background; }; - c.prototype.bSb = function (m) { + c.prototype.eSb = function (m) { this.j.muted.set(!!m); }; - c.prototype.xSb = function (m) { - this.j.volume.set(this.jKb(m)); + c.prototype.BSb = function (m) { + this.j.volume.set(this.lKb(m)); }; - c.prototype.hSb = function (m) { + c.prototype.kSb = function (m) { this.j.playbackRate.set(m); }; - c.prototype.up = function () { + c.prototype.vp = function () { return this.j.playbackRate.value; }; - c.prototype.IRb = function (m) { + c.prototype.LRb = function (m) { var n, - r; + q; n = this; - r = this.j.Yo.find(function (p) { - return n.CF(p) === m; + q = this.j.Zo.find(function (p) { + return n.HF(p) === m; }); - r ? this.j.Bd.set(r) : this.log.error("Invalid setAudioTrack call"); + q ? this.j.Sd.set(q) : this.log.error("Invalid setAudioTrack call"); }; c.prototype.m3a = function (m) { var p; - if (null !== this.j.Bd.value) { - for (var n = this.j.Bd.value.cm, r = 0; r < n.length; r++) { - p = n[r]; + if (null !== this.j.Sd.value) { + for (var n = this.j.Sd.value.am, q = 0; q < n.length; q++) { + p = n[q]; if (!m && null === p) { - this.j.Nc.set(null); + this.j.Rc.set(null); return; } - if (this.CF(p) === m) { + if (this.HF(p) === m) { this.log.info("Setting Timed Text, profile: " + p.profile); - this.j.Nc.set(p); + this.j.Rc.set(p); return; } } @@ -68088,32 +68099,32 @@ a000.D9b = function () { c.prototype.T2a = function (m) { this.j.background = m; }; - c.prototype.BW = function () { - this.j.BW(); + c.prototype.AW = function () { + this.j.AW(); }; - c.prototype.addEventListener = function (m, n, r) { - this.Pb.addListener(m, n, r); + c.prototype.addEventListener = function (m, n, q) { + this.Rb.addListener(m, n, q); }; c.prototype.removeEventListener = function (m, n) { - this.Pb.removeListener(m, n); + this.Rb.removeListener(m, n); }; - c.prototype.EM = function () {}; + c.prototype.FM = function () {}; c.prototype.load = function () { var m; m = this; - this.loaded || (this.loaded = !0, this.j.load(function (n, r) { + this.loaded || (this.loaded = !0, this.j.load(function (n, q) { try { - m.oe(k.Rb.UGb, void 0, !0); - n.sa && (n.sa.Wc.R6a && m.oe(k.Rb.hYb, n.sa.Wc.R6a, !0), n.sa.Wc.ym && m.oe(k.Rb.lRb, { - segmentMap: n.sa.Wc.ym + m.re(k.Ub.WGb, void 0, !0); + n.sa && (n.sa.Xc.U6a && m.re(k.Ub.jYb, n.sa.Xc.U6a, !0), n.sa.Xc.Hn && m.re(k.Ub.oRb, { + segmentMap: n.sa.Xc.Hn }, !0)); - r({ - X: !0 + q({ + W: !0 }); } catch (p) { - r({ - oa: f.M.fj, - sb: m.te.vd(p) + q({ + oa: f.L.dj, + qb: m.ve.vd(p) }); } })); @@ -68121,81 +68132,82 @@ a000.D9b = function () { c.prototype.close = function (m) { var n; n = this; - this.kOa || (this.kOa = new Promise(function (r) { - m ? n.j.aK(m, r) : n.j.close(r); + this.iOa || (this.iOa = new Promise(function (q) { + m ? n.j.WE(m, q) : n.j.close(q); })); - return this.kOa; + return this.iOa; }; c.prototype.play = function () { - this.j.El ? this.j.fireEvent(k.W.s2a) : (this.load(), this.j.paused.value && (this.j.paused.set(!1), this.j.fireEvent(k.W.w6a))); + this.j.Cl ? this.j.fireEvent(k.Z.r2a) : (this.load(), this.j.paused.value && (this.j.paused.set(!1), this.j.fireEvent(k.Z.z6a))); }; c.prototype.pause = function () { this.load(); - this.j.paused.value || (this.j.paused.set(!0), this.j.fireEvent(k.W.uXb)); + this.j.paused.value || (this.j.paused.set(!0), this.j.fireEvent(k.Z.wXb)); }; - c.prototype.seek = function (m, n, r, p) { - this.j.Cg ? this.j.Cg.seek(m, n, r, p) : this.j.NE = m; + c.prototype.seek = function (m, n, q, p) { + n = void 0 === n ? k.me.mA : n; + this.j.Bg ? this.j.Bg.seek(m, n, q, p) : this.j.OE = m; }; - c.prototype.IMb = function (m) { - return this.SJ ? (this.log.trace("Playing a segment", m), this.SJ.play(m)) : Promise.resolve(); + c.prototype.LMb = function (m) { + return this.WJ ? (this.log.trace("Playing a segment", m), this.WJ.play(m)) : Promise.resolve(); }; - c.prototype.AOb = function (m) { - return this.SJ ? (this.log.trace("Queueing a segment", m), this.SJ.eo(m)) : Promise.resolve(); + c.prototype.FOb = function (m) { + return this.WJ ? (this.log.trace("Queueing a segment", m), this.WJ.fo(m)) : Promise.resolve(); }; c.prototype.ti = function (m, n) { - return this.SJ ? (this.log.trace("Updating next segment weights", m, n), this.SJ.ti(m, n)) : Promise.resolve(); + return this.WJ ? (this.log.trace("Updating next segment weights", m, n), this.WJ.ti(m, n)) : Promise.resolve(); }; - c.prototype.dX = function () { - this.j.dX(); + c.prototype.cX = function () { + this.j.cX(); }; - c.prototype.r3 = function () { + c.prototype.s3 = function () { var m; - m = this.j.Yp.r3(); + m = this.j.Zp.s3(); return { - bounds: m.GR, + bounds: m.HR, margins: m.Zq, size: m.size, visibility: m.visibility }; }; - c.prototype.uW = function (m) { + c.prototype.tW = function (m) { var n, - r, + q, p; n = m.bounds; - r = m.margins; + q = m.margins; p = m.size; m = m.visibility; - this.j.TW && (n && this.j.TW.csa(n), r && this.j.TW.dsa(r), "boolean" === typeof m && this.j.TW.esa(m)); - this.j.Yp && p && this.j.Yp.rSb(p); + this.j.SW && (n && this.j.SW.Vra(n), q && this.j.SW.Wra(q), "boolean" === typeof m && this.j.SW.Xra(m)); + this.j.Zp && p && this.j.Zp.vSb(p); }; c.prototype.n3a = function (m) { - this.j.dm = m; + this.j.bm = m; }; - c.prototype.NBb = function (m) { - return this.j.Cz && this.j.Cz.Gzb(m) || null; + c.prototype.PBb = function (m) { + return this.j.Fz && this.j.Fz.Kzb(m) || null; }; - c.prototype.eyb = function () { - return this.te.cG({ + c.prototype.kyb = function () { + return this.ve.iG({ playerver: this.config.version, - jssid: this.config.DFb, - groupName: this.config.Izb(), - xid: this.j.ba, + jssid: this.config.GFb, + groupName: this.config.Mzb(), + xid: this.j.ca, pbi: this.j.index - }, this.config.EMb, { + }, this.config.HMb, { prefix: "pi_" }); }; - c.prototype.NDb = function (m) { - this.j.Ld(f.L.y$a, f.M.jm, m); + c.prototype.RDb = function (m) { + this.j.Jd(f.M.B$a, f.L.im, m); }; - c.prototype.KGb = function (m, n, r, p) { - if (!this.bb.WLa(m)) + c.prototype.MGb = function (m, n, q, p) { + if (!this.bb.VLa(m)) throw Error("invalid url"); - this.T_a.push({ + this.R_a.push({ url: m, name: n, - hmb: r, + hmb: q, options: p }); this.J0a(); @@ -68203,32 +68215,32 @@ a000.D9b = function () { c.prototype.oUa = function () { var m, n, - r, + q, p, - u, t, + u, w, v; m = {}; - n = this.j.a4a; + n = this.j.b4a; try { - if ((this.j.Zk && (m.errorCode = this.j.Zk.S1, m.errorType = n ? "endplay" : "startplay"), m.playdelay = h.mk(this.j.Ifa()), m.xid = this.j.ba, this.j.sa && this.bb.So(this.j.sa.Wc.Ep) && (m.packageId = Number(this.j.sa.Wc.Ep)), m.auth = this.j.pyb(), n)) { - m.totaltime = this.j.ao ? this.gy(this.j.ao.ET()) : 0; - m.abrdel = this.j.ao ? this.j.ao.sSa() : 0; - r = this.j.Cg; - p = r ? r.uF() : null; + if ((this.j.Zk && (m.errorCode = this.j.Zk.U1, m.errorType = n ? "endplay" : "startplay"), m.playdelay = h.mk(this.j.Bfa()), m.xid = this.j.ca, this.j.sa && this.bb.Uo(this.j.sa.Xc.Gp) && (m.packageId = Number(this.j.sa.Xc.Gp)), m.auth = this.j.uyb(), n)) { + m.totaltime = this.j.bo ? this.ly(this.j.bo.CT()) : 0; + m.abrdel = this.j.bo ? this.j.bo.sSa() : 0; + q = this.j.Bg; + p = q ? q.yF() : null; this.bb.$h(p) && (m.totdfr = p); - p = r ? r.lT() : null; + p = q ? q.jT() : null; this.bb.$h(p) && (m.totcfr = p); - u = r ? r.Wzb() : null; - u && (m.rbfrs_decoder = u.I1, m.rbfrs_network = u.K5); - m.rbfrs_delay = this.j.ao ? this.j.ao.Ola : 0; - m.init_vbr = this.j.b4; - t = this.zT(); - this.bb.gF(t) && (m.pdltime = t); - w = this.j.Sf.value; + t = q ? q.$zb() : null; + t && (m.rbfrs_decoder = t.K1, m.rbfrs_network = t.K5); + m.rbfrs_delay = this.j.bo ? this.j.bo.Jla : 0; + m.init_vbr = this.j.c4; + u = this.xT(); + this.bb.jF(u) && (m.pdltime = u); + w = this.j.Tf.value; v = w && w.stream; - v && (m.vbr = v.bitrate, m.vdlid = v.Dd); + v && (m.vbr = v.bitrate, m.vdlid = v.Cd); m.bufferedTime = this.j.ySa(); } } catch (x) { @@ -68236,11 +68248,11 @@ a000.D9b = function () { } return m; }; - c.prototype.MS = function (m) { - this.j.kb.jo && (this.j.kb.jo.userEngageAction = 1); - return this.bb.$h(this.j.mediaTime.value) ? (m = Object.assign(Object.assign({}, this.pt.create(this.j)), { + c.prototype.LS = function (m) { + this.j.kb.ko && (this.j.kb.ko.userEngageAction = 1); + return this.bb.$h(this.j.mediaTime.value) ? (m = Object.assign(Object.assign({}, this.ut.create(this.j)), { action: m - }), this.UR(g.wo.MS).np(this.log, this.j.sa.Fj, m).then(function () { + }), this.VR(g.xo.LS).op(this.log, this.j.sa.Ej, m).then(function () { return { success: !0 }; @@ -68248,7 +68260,7 @@ a000.D9b = function () { return { success: !1, errorCode: n.code, - errorSubCode: n.jc, + errorSubCode: n.kc, errorExternalCode: n.wd, errorData: n.data, errorDetails: n.details @@ -68257,181 +68269,181 @@ a000.D9b = function () { success: !1 }); }; - c.prototype.gzb = function (m) { + c.prototype.kzb = function (m) { return { register: m.register.bind(m), - notifyUpdated: m.KZa.bind(m), - getModel: m.qAb.bind(m), - getGroups: m.a3.bind(m), + notifyUpdated: m.IZa.bind(m), + getModel: m.tAb.bind(m), + getGroups: m.c3.bind(m), addEventListener: m.addEventListener.bind(m), removeEventListener: m.removeEventListener.bind(m), getTime: m.getTime.bind(m) }; }; - c.prototype.CF = function (m) { + c.prototype.HF = function (m) { var n; if (null !== m) { - n = m.rOb = m.rOb || ({ + n = m.wOb = m.wOb || ({ trackId: m.trackId, bcp47: m.wm, displayName: m.displayName, - trackType: m.po, + trackType: m.qo, rawTrackType: m.MM, channels: m.channels }); - m.Rn && (n.isImageBased = !0); - this.YEb(m) && (n.isNative = m.isNative, n.surroundFormatLabel = m.Z7); - this.ZEb(m) && (n.isNoneTrack = m.AL(), n.isForcedNarrative = m.s4()); - n.subType = m.FN; + m.Tn && (n.isImageBased = !0); + this.bFb(m) && (n.isNative = m.isNative, n.surroundFormatLabel = m.V7); + this.cFb(m) && (n.isNoneTrack = m.TF(), n.isForcedNarrative = m.YT()); + n.subType = m.GN; n.variant = m.variant; return n; } return null; }; - c.prototype.YEb = function (m) { + c.prototype.bFb = function (m) { return "undefined" !== typeof m.isNative; }; - c.prototype.ZEb = function (m) { - return "undefined" !== typeof m.AL && "undefined" !== typeof m.s4; + c.prototype.cFb = function (m) { + return "undefined" !== typeof m.TF && "undefined" !== typeof m.YT; }; - c.prototype.jKb = function (m) { + c.prototype.lKb = function (m) { return 0 <= m ? 1 >= m ? m : 1 : 0; }; - c.prototype.gy = function (m) { + c.prototype.ly = function (m) { return this.bb.$h(m) ? (m / 1E3).toFixed(0) : ""; }; - c.prototype.oe = function (m, n, r) { + c.prototype.re = function (m, n, q) { n = n || ({}); n.target = this; - this.Pb.tc(m, n, !r); + this.Rb.qc(m, n, !q); }; - c.prototype.yX = function () { + c.prototype.xX = function () { var m; m = this; - this.j.addEventListener(k.W.Ysa, function () { - m.oe(k.Rb.Iq); + this.j.addEventListener(k.Z.Tsa, function () { + m.re(k.Ub.Jq); }); - this.j.addEventListener(k.W.M5a, function () { - m.oe(k.Rb.oWb); + this.j.addEventListener(k.Z.O5a, function () { + m.re(k.Ub.qWb); }); - this.j.addEventListener(k.W.i5, function () { - m.oe(k.Rb.lNa); + this.j.addEventListener(k.Z.i5, function () { + m.re(k.Ub.lNa); }); - this.j.addEventListener(k.W.Zl, function () { - m.oe(k.Rb.lNa); + this.j.addEventListener(k.Z.Xl, function () { + m.re(k.Ub.lNa); }); - this.j.addEventListener(k.W.qL, function (n) { - m.oe(k.Rb.qL, { + this.j.addEventListener(k.Z.tL, function (n) { + m.re(k.Ub.tL, { errorCode: n }); }); - this.j.addEventListener(k.W.dfa, function (n) { - m.oe(k.Rb.imb, n.j); + this.j.addEventListener(k.Z.Xea, function (n) { + m.re(k.Ub.imb, n.j); }); - this.j.addEventListener(k.W.El, function (n) { - m.oe(k.Rb.jmb, n); + this.j.addEventListener(k.Z.Cl, function (n) { + m.re(k.Ub.jmb, n); }); - this.j.Hv.addListener(function () { - m.oe(k.Rb.$Mb); + this.j.Nv.addListener(function () { + m.re(k.Ub.dNb); }); this.j.paused.addListener(function () { - m.oe(k.Rb.fMb); + m.re(k.Ub.hMb); }); this.j.muted.addListener(function () { - m.oe(k.Rb.vJb); + m.re(k.Ub.xJb); }); this.j.volume.addListener(function () { - m.oe(k.Rb.aYb); + m.re(k.Ub.cYb); }); - this.j.ac.addListener(function () { - m.U5a(); + this.j.bc.addListener(function () { + m.W5a(); }); this.j.state.addListener(function () { - m.U5a(); + m.W5a(); }); - this.j.Dfa.addListener(function (n) { - m.RGb || m.j.state.value != k.Gb.$d || n.newValue || (m.RGb = !0, m.oe(k.Rb.loaded), setTimeout(function () { + this.j.wfa.addListener(function (n) { + m.TGb || m.j.state.value != k.Jb.Yd || n.newValue || (m.TGb = !0, m.re(k.Ub.loaded), setTimeout(function () { m.log.debug.bind(m.log, "summary ", m.oUa()); })); - m.oe(k.Rb.Efa); + m.re(k.Ub.xfa); }); - this.j.Bd.addListener(function (n) { - m.oe(k.Rb.xR); - n.oldValue && n.newValue && n.oldValue.cm == n.newValue.cm || m.oe(k.Rb.kH); + this.j.Sd.addListener(function (n) { + m.re(k.Ub.yR); + n.oldValue && n.newValue && n.oldValue.am == n.newValue.am || m.re(k.Ub.sH); setTimeout(function () { - var r; - if (null !== m.j.Bd.value && null !== m.j.Nc.value) { - r = m.j.Bd.value.cm; - 0 <= r.indexOf(m.j.Nc.value) || (m.log.info("Changing timed text track to match audio track"), m.j.Nc.set(r[0])); + var q; + if (null !== m.j.Sd.value && null !== m.j.Rc.value) { + q = m.j.Sd.value.am; + 0 <= q.indexOf(m.j.Rc.value) || (m.log.info("Changing timed text track to match audio track"), m.j.Rc.set(q[0])); } }, 0); }); - this.j.Nc.addListener(function (n) { - n.oldValue && n.newValue && n.oldValue.trackId == n.newValue.trackId || m.oe(k.Rb.Az); + this.j.Rc.addListener(function (n) { + n.oldValue && n.newValue && n.oldValue.trackId == n.newValue.trackId || m.re(k.Ub.Dz); }); - this.j.addEventListener(k.W.kH, function () { - m.oe(k.Rb.kH); + this.j.addEventListener(k.Z.sH, function () { + m.re(k.Ub.sH); }); - this.j.addEventListener(k.W.bX, function () { - m.oe(k.Rb.bX); + this.j.addEventListener(k.Z.aX, function () { + m.re(k.Ub.aX); }); this.j.state.addListener(function (n) { switch (n.newValue) { - case k.Gb.$d: - m.oe(k.Rb.Pub); - m.oe(k.Rb.TXb); - m.oe(k.Rb.EMa); - m.oe(k.Rb.kH); - m.oe(k.Rb.TGb); + case k.Jb.Yd: + m.re(k.Ub.Tub); + m.re(k.Ub.UXb); + m.re(k.Ub.EMa); + m.re(k.Ub.sH); + m.re(k.Ub.VGb); m.J0a(); - m.nYb(); + m.pYb(); break; - case k.Gb.CLOSING: - m.j.Zk && m.oe(k.Rb.aWa, m.j.Zk); + case k.Jb.CLOSING: + m.j.Zk && m.re(k.Ub.ZVa, m.j.Zk); break; - case k.Gb.CLOSED: - (m.oe(k.Rb.closed), m.Pb.kh()); + case k.Jb.CLOSED: + (m.re(k.Ub.closed), m.Rb.hh()); } }); }; - c.prototype.nYb = function () { + c.prototype.pYb = function () { var m; m = this; - this.j.Yp.addEventListener("showsubtitle", function (n) { - m.oe(k.Rb.bTb, n, !0); + this.j.Zp.addEventListener("showsubtitle", function (n) { + m.re(k.Ub.eTb, n, !0); }); - this.j.Yp.addEventListener("removesubtitle", function (n) { - m.oe(k.Rb.KPb, n, !0); + this.j.Zp.addEventListener("removesubtitle", function (n) { + m.re(k.Ub.PPb, n, !0); }); }; c.prototype.J0a = function () { - if (this.j.state.value == k.Gb.$d) { - for (var m, n, r; n = this.T_a.shift(); ) { - m = this.j.Yp.mea(n.url, n.name, n.options); - n.hmb && (r = m); + if (this.j.state.value == k.Jb.Yd) { + for (var m, n, q; n = this.R_a.shift(); ) { + m = this.j.Zp.gea(n.url, n.name, n.options); + n.hmb && (q = m); } - r && this.j.Nc.set(r); + q && this.j.Rc.set(q); } }; - c.prototype.U5a = function () { + c.prototype.W5a = function () { var m; - m = this.j.state.value == k.Gb.$d && this.j.ac.value == k.Bb.au; - this.ended !== m && (this.ended = m, this.j.TA("Ended changed: " + m), (m || this.j.state.value === k.Gb.CLOSING) && this.oe(k.Rb.Lvb)); + m = this.j.state.value == k.Jb.Yd && this.j.bc.value == k.Eb.fu; + this.ended !== m && (this.ended = m, this.j.IE("Ended changed: " + m), (m || this.j.state.value === k.Jb.CLOSING) && this.re(k.Ub.Rvb)); }; - c.prototype.zT = function () { + c.prototype.xT = function () { var m, n; try { m = /playercore.*js/; - n = d.iu.getEntriesByType("resource").filter(function (r) { - return null !== m.exec(r.name); + n = d.pu.getEntriesByType("resource").filter(function (q) { + return null !== m.exec(q.name); }); if (n && 0 < n.length) return JSON.stringify(Math.round(n[0].duration)); - } catch (r) {} + } catch (q) {} }; - b.cAa = c; - }, function (q, b, a) { + b.aAa = c; + }, function (r, b, a) { var c, f, k, @@ -68439,85 +68451,85 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hH = void 0; - q = a(0); - c = a(640); - f = a(641); - k = a(335); - l = a(336); - b.hH = new q.ad(function (d) { - d(l.dHa).to(c.cHa); - d(k.aHa).si(new f.$Ga()); - d(l.bHa).sf(function (g) { + b.pH = void 0; + r = a(0); + c = a(643); + f = a(644); + k = a(337); + l = a(338); + b.pH = new r.$c(function (d) { + d(l.$Ga).to(c.ZGa); + d(k.XGa).si(new f.WGa()); + d(l.YGa).sf(function (g) { return function () { - return g.$a.get(l.dHa); + return g.$a.get(l.$Ga); }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d; function c(g) { this.config = g; - this.msa = k.hb; - this.wN = []; + this.gsa = k.hb; + this.xN = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.cHa = void 0; - q = a(1); + b.ZGa = void 0; + r = a(1); f = a(0); k = a(49); - l = a(5); - a = a(335); - c.prototype.Is = function () { + l = a(4); + a = a(337); + c.prototype.Os = function () { var h; - for (var g; 0 < this.wN.length; ) { - g = this.wN.shift(); - this.nLa(g); + for (var g; 0 < this.xN.length; ) { + g = this.xN.shift(); + this.lLa(g); } - g = void 0 === this.wS || void 0 === this.jF ? l.hb : this.jF.Ba(this.wS); - h = g.KWa() ? 0 : this.msa.ea(k.aD) / g.ea(l.ma); + g = void 0 === this.vS || void 0 === this.mF ? l.hb : this.mF.Da(this.vS); + h = g.IWa() ? 0 : this.gsa.ea(k.cD) / g.ea(l.ma); return { - $sa: Math.floor(h), - j4b: g.ea(l.ma) + Vsa: Math.floor(h), + p4b: g.ea(l.ma) }; }; c.prototype.kkb = function (g) { - this.msa = this.msa.add(g.size); - this.wN.push(g.yub); - for (this.wN.sort(function (h, m) { + this.gsa = this.gsa.add(g.size); + this.xN.push(g.Cub); + for (this.xN.sort(function (h, m) { return h.start.Wk(m.start); - }); this.wN.length > this.config.zub; ) { - g = this.wN.shift(); - this.nLa(g); + }); this.xN.length > this.config.Dub; ) { + g = this.xN.shift(); + this.lLa(g); } }; - c.prototype.nLa = function (g) { - void 0 === this.wS && (this.wS = g.start); - void 0 !== this.jF && 0 > this.jF.Wk(g.start) && (this.wS = this.wS.add(g.start.Ba(this.jF))); - if (void 0 === this.jF || 0 > this.jF.Wk(g.end)) - this.jF = g.end; + c.prototype.lLa = function (g) { + void 0 === this.vS && (this.vS = g.start); + void 0 !== this.mF && 0 > this.mF.Wk(g.start) && (this.vS = this.vS.add(g.start.Da(this.mF))); + if (void 0 === this.mF || 0 > this.mF.Wk(g.end)) + this.mF = g.end; }; d = c; - d = q.__decorate([f.R(), q.__param(0, f.l(a.aHa))], d); - b.cHa = d; - }, function (q, b, a) { + d = r.__decorate([f.R(), r.__param(0, f.l(a.XGa))], d); + b.ZGa = d; + }, function (r, b, a) { function c(f) { - this.zub = void 0 === f ? 10 : f; + this.Dub = void 0 === f ? 10 : f; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$Ga = void 0; - q = a(1); + b.WGa = void 0; + r = a(1); a = a(0); - c = q.__decorate([a.R()], c); - b.$Ga = c; - }, function (q, b, a) { + c = r.__decorate([a.R()], c); + b.WGa = c; + }, function (r, b, a) { var c, f, k, @@ -68527,222 +68539,222 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F; + G; Object.defineProperty(b, "__esModule", { value: !0 }); - b.zm = void 0; - q = a(0); + b.xm = void 0; + r = a(0); c = a(25); f = a(15); - k = a(643); + k = a(646); l = a(138); d = a(139); - g = a(644); - h = a(207); - m = a(645); - n = a(337); - r = a(338); - p = a(646); - u = a(208); - t = a(11); - w = a(343); - v = a(650); - x = a(344); - y = a(651); - z = a(211); - B = a(652); - A = a(345); + g = a(647); + h = a(208); + m = a(648); + n = a(339); + q = a(340); + p = a(649); + t = a(209); + u = a(11); + w = a(345); + v = a(653); + x = a(346); + y = a(654); + z = a(212); + A = a(655); + B = a(347); C = a(36); - E = a(342); - F = a(653); - b.zm = new q.ad(function (D) { - D(d.MP).to(g.sGa).$(); - D(c.qw).to(k.hxa).$(); - D(h.eAa).to(m.dAa).$(); - D(r.kwa).to(p.jwa).$(); - D(h.bEa).si({ - isTypeSupported: t.BD && t.BD.isTypeSupported - }); - D(u.WX).si(pb.cast || null); - D(u.lwa).si(pb.castReceiverEme || null); - D(n.wya).RC(function (G) { + E = a(344); + G = a(656); + b.xm = new r.$c(function (D) { + D(d.MP).to(g.oGa).aa(); + D(c.xw).to(k.exa).aa(); + D(h.cAa).to(m.bAa).aa(); + D(q.hwa).to(p.gwa).aa(); + D(h.$Da).si({ + isTypeSupported: u.DD && u.DD.isTypeSupported + }); + D(t.VX).si(pb.cast || null); + D(t.iwa).si(pb.castReceiverEme || null); + D(n.uya).SC(function (F) { return { - xzb: function () { - return G.$a.get(C.CP); + Bzb: function () { + return F.$a.get(C.CP); } }; }); - D(l.OH).RC(function (G) { - return G.$a.get(f.dd); + D(l.WH).SC(function (F) { + return F.$a.get(f.ed); }); - D(w.MBa).to(v.JBa).$(); - D(E.IBa).to(F.HBa).$(); - D(x.LBa).to(y.KBa).$(); - D(z.i$).to(B.vya).$(); - D(A.hFa).si(pb); + D(w.KBa).to(v.HBa).aa(); + D(E.GBa).to(G.FBa).aa(); + D(x.JBa).to(y.IBa).aa(); + D(z.b$).to(A.tya).aa(); + D(B.eFa).si(pb); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { + function c(m, n, q) { this.config = m; this.HNa = n; - this.DMb = r; - this.hOb = this.ksb(); + this.GMb = q; + this.mOb = this.lsb(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.hxa = void 0; - q = a(1); + b.exa = void 0; + r = a(1); f = a(25); k = a(138); l = a(0); d = a(50); - g = a(337); - a = a(338); + g = a(339); + a = a(340); c.prototype.xUa = function (m) { - return this.rSa().yUa(m); + return this.qSa().yUa(m); }; c.prototype.zUa = function (m) { - return this.Ks().yUa(m); + return this.Qs().yUa(m); }; - c.prototype.rSa = function () { - this.Xea && this.Xea.type == this.config().Yea || (this.Xea = this.HNa.srb(this.config().Yea)); - return this.Xea; + c.prototype.qSa = function () { + this.Qea && this.Qea.type == this.config().Rea || (this.Qea = this.HNa.trb(this.config().Rea)); + return this.Qea; }; - c.prototype.Ks = function () { - this.J8 && this.J8.type == this.config().K8 || (this.J8 = this.HNa.ysb(this.config().K8), this.J8.nea(this.DMb.xzb())); - return this.J8; + c.prototype.Qs = function () { + this.E8 && this.E8.type == this.config().F8 || (this.E8 = this.HNa.Asb(this.config().F8), this.E8.hea(this.GMb.Bzb())); + return this.E8; }; - c.prototype.Mzb = function (m) { + c.prototype.Qzb = function (m) { var p; if (!m || !m.length) - return f.ce.xY; - m = this.Ywb(m); - for (var n = [f.ce.KP, f.ce.xY, f.ce.AI, f.ce.xw, f.ce.Ir, f.ce.YC, f.ce.QD, f.ce.Fk], r = n.length; r--; ) { - p = n[r]; - if ((0, this.hOb[p])(m)) + return f.$d.xY; + m = this.dxb(m); + for (var n = [f.$d.KP, f.$d.xY, f.$d.FI, f.$d.Dw, f.$d.Lr, f.$d.$C, f.$d.TD, f.$d.Fk], q = n.length; q--; ) { + p = n[q]; + if ((0, this.mOb[p])(m)) return p; } - return f.ce.KP; + return f.$d.KP; }; - c.prototype.Zv = function (m) { - return this.Ks().Zv(m); + c.prototype.dw = function (m) { + return this.Qs().dw(m); }; - c.prototype.Ex = function (m) { - return this.Ks().Ex(m); + c.prototype.Jx = function (m) { + return this.Qs().Jx(m); }; - c.prototype.Pq = function () { - return this.Ks().Pq(); + c.prototype.Ls = function () { + return this.Qs().Ls(); }; - c.prototype.W2 = function () { - return this.Ks().W2(); + c.prototype.Y2 = function () { + return this.Qs().Y2(); }; - c.prototype.IW = function () { - return this.Ks().IW(); + c.prototype.HW = function () { + return this.Qs().HW(); }; - c.prototype.GW = function () { - return this.rSa().GW(); + c.prototype.FW = function () { + return this.qSa().FW(); }; - c.prototype.Y7 = function () { - return this.Ks().Y7(); + c.prototype.U7 = function () { + return this.Qs().U7(); }; - c.prototype.JW = function () { - return this.Ks().JW(); + c.prototype.IW = function () { + return this.Qs().IW(); }; - c.prototype.VK = function (m) { - return this.Ks().VK(m); + c.prototype.ZK = function (m) { + return this.Qs().ZK(m); }; - c.prototype.dL = function () { - return this.Ks().dL(); + c.prototype.gL = function () { + return this.Qs().gL(); }; - c.prototype.k3 = function () { - return this.Ks().k3(); + c.prototype.l3 = function () { + return this.Qs().l3(); }; - c.prototype.Ywb = function (m) { + c.prototype.dxb = function (m) { var n; n = {}; - m.filter(function (r) { - return "video" === r.type; - }).forEach(function (r) { - n[r.Mg] = ""; + m.filter(function (q) { + return "video" === q.type; + }).forEach(function (q) { + n[q.Kg] = ""; }); return Object.keys(n); }; - c.prototype.ksb = function () { + c.prototype.lsb = function () { var m; m = {}; - m[f.ce.Fk] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("av1"); + m[f.$d.Fk] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("av1"); }); }; - m[f.ce.YC] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("hpl"); + m[f.$d.$C] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("hpl"); }); }; - m[f.ce.QD] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("vp9"); + m[f.$d.TD] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("vp9"); }); }; - m[f.ce.Ir] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("hevc-dv"); + m[f.$d.Lr] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("hevc-dv"); }); }; - m[f.ce.xw] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("hevc-hdr"); + m[f.$d.Dw] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("hevc-hdr"); }); }; - m[f.ce.AI] = function (n) { - return n.some(function (r) { - return -1 < r.indexOf("hevc-main10-L") || -1 < r.indexOf("hevc-main-L"); + m[f.$d.FI] = function (n) { + return n.some(function (q) { + return -1 < q.indexOf("hevc-main10-L") || -1 < q.indexOf("hevc-main-L"); }); }; - m[f.ce.xY] = (function (n, r) { + m[f.$d.xY] = (function (n, q) { var p; p = {}; - n.forEach(function (u) { - return p[u] = 1; + n.forEach(function (t) { + return p[t] = 1; }); - n = aa(r); - for (r = n.next(); !r.done; r = n.next()) { - if (p[r.value]) + n = aa(q); + for (q = n.next(); !q.done; q = n.next()) { + if (p[q.value]) return !0; } return !1; - }).bind(null, [d.O.gD]); - m[f.ce.KP] = function () { + }).bind(null, [d.O.iD]); + m[f.$d.KP] = function () { return !0; }; return m; }; h = c; - h = q.__decorate([l.R(), q.__param(0, l.l(k.OH)), q.__param(1, l.l(a.kwa)), q.__param(2, l.l(g.wya))], h); - b.hxa = h; - }, function (q, b, a) { + h = r.__decorate([l.R(), r.__param(0, l.l(k.WH)), r.__param(1, l.l(a.hwa)), r.__param(2, l.l(g.uya))], h); + b.exa = h; + }, function (r, b, a) { var f, k, l, @@ -68751,80 +68763,80 @@ a000.D9b = function () { h, m, n; - function c(r, p, u) { - this.zm = r; + function c(q, p, t) { + this.xm = q; this.bb = p; - this.q4a = u; + this.s4a = t; this.Ojb = "video/mp4;codecs={0}"; - this.afb = "audio/mp4;codecs={0}"; - r = this.zm.VK(k.ce.Ir); - this.Njb = d.Sd.sPa(r); + this.bfb = "audio/mp4;codecs={0}"; + q = this.xm.ZK(k.$d.Lr); + this.Njb = d.Qd.rPa(q); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sGa = void 0; - q = a(1); + b.oGa = void 0; + r = a(1); k = a(25); l = a(0); d = a(140); g = a(26); h = a(196); - m = a(339); + m = a(341); n = a(12); - c.prototype.A1 = function (r) { - r = this.zm.Mzb(r); - r = this.bb.gF(r) ? r : k.ce.KP; - return this.q4a.format(this.Ojb, this.Njb[r]); + c.prototype.C1 = function (q) { + q = this.xm.Qzb(q); + q = this.bb.jF(q) ? q : k.$d.KP; + return this.s4a.format(this.Ojb, this.Njb[q]); }; - c.prototype.x1 = function (r) { - if (0 === r.length) - return this.q4a.format(this.afb, d.Sd.FX); - r = m.pva[r[0].Mg] || f.uua; - return r === f.uua ? n.gI : r === f.y7a ? n.gBa : n.fBa; + c.prototype.z1 = function (q) { + if (0 === q.length) + return this.s4a.format(this.bfb, d.Qd.EX); + q = m.mva[q[0].Kg] || f.rua; + return q === f.rua ? n.oI : q === f.A7a ? n.eBa : n.dBa; }; a = f = c; - a.uua = "AAC"; - a.y7a = "XHEAAC"; - a = f = q.__decorate([l.R(), q.__param(0, l.l(k.qw)), q.__param(1, l.l(g.Gf)), q.__param(2, l.l(h.uba))], a); - b.sGa = a; - }, function (q, b, a) { + a.rua = "AAC"; + a.A7a = "XHEAAC"; + a = f = r.__decorate([l.R(), r.__param(0, l.l(k.xw)), r.__param(1, l.l(g.Hf)), r.__param(2, l.l(h.oba))], a); + b.oGa = a; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { + function c(m, n, q) { this.config = m; - this.OPa = n; - this.cast = r; + this.NPa = n; + this.cast = q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dAa = void 0; - q = a(1); + b.bAa = void 0; + r = a(1); f = a(0); - k = a(207); + k = a(208); l = a(138); d = a(25); - g = a(208); - h = a(210); - c.prototype.jPa = function () { - switch (this.config().K8) { - case d.Bi.J9: - return g.K9.Lga(this.OPa, this.cast); - case d.Bi.Bw: - return h.gA.Lga(this.config); + g = a(209); + h = a(211); + c.prototype.iPa = function () { + switch (this.config().F8) { + case d.Bi.E9: + return g.F9.Fga(this.NPa, this.cast); + case d.Bi.Hw: + return h.hA.Fga(this.config); default: - return this.OPa; + return this.NPa; } }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.OH)), q.__param(1, f.l(k.bEa)), q.__param(2, f.l(g.WX))], a); - b.dAa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.WH)), r.__param(1, f.l(k.$Da)), r.__param(2, f.l(g.VX))], a); + b.bAa = a; + }, function (r, b, a) { var f, k, l, @@ -68833,157 +68845,157 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B; - function c(A, C, E, F, D, G, I, J, H, M, O) { - this.EWa = A; + A; + function c(B, C, E, G, D, F, J, K, H, L, Q) { + this.CWa = B; this.cast = C; this.config = E; - this.vc = F; - this.wa = D; - this.is = G; - this.Sl = I; - this.Yq = J; + this.xc = G; + this.xa = D; + this.is = F; + this.Lm = J; + this.Xq = K; this.platform = H; - this.Bc = M; - this.xv = O; + this.Dc = L; + this.Dv = Q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jwa = void 0; - q = a(1); + b.gwa = void 0; + r = a(1); f = a(0); k = a(25); - l = a(207); + l = a(208); d = a(138); - g = a(208); - h = a(647); - m = a(648); - n = a(166); - r = a(341); + g = a(209); + h = a(650); + m = a(651); + n = a(165); + q = a(343); p = a(46); - u = a(40); - t = a(26); - w = a(649); + t = a(40); + u = a(26); + w = a(652); v = a(79); x = a(8); y = a(34); z = a(35); - a = a(342); - c.prototype.srb = function (A) { + a = a(344); + c.prototype.trb = function (B) { var C; - C = this.EWa.jPa(); - switch (A) { - case k.Wt.Bw: - return new h.hCa(this.config, C, this.is, this.platform, this.xv); + C = this.CWa.iPa(); + switch (B) { + case k.au.Hw: + return new h.fCa(this.config, C, this.is, this.platform, this.Dv); default: - return new r.mY(this.config, C, this.xv); + return new q.lY(this.config, C, this.Dv); } }; - c.prototype.ysb = function (A) { + c.prototype.Asb = function (B) { var C; - C = this.EWa.jPa(); - switch (A) { - case k.Bi.J9: - A = new g.K9(this.config, C, this.is, this.cast, this.xv); + C = this.CWa.iPa(); + switch (B) { + case k.Bi.E9: + B = new g.F9(this.config, C, this.is, this.cast, this.Dv); break; - case k.Bi.LH: - A = new w.swa(this.config, C, this.is, this.Sl, this.Yq, this.wa, this.xv); + case k.Bi.TH: + B = new w.pwa(this.config, C, this.is, this.Lm, this.Xq, this.xa, this.Dv); break; - case k.Bi.Bw: - A = new m.nBa(this.config, C, this.is, this.vc, this.wa, this.Yq, this.Bc, this.xv); + case k.Bi.Hw: + B = new m.lBa(this.config, C, this.is, this.xc, this.xa, this.Xq, this.Dc, this.Dv); break; default: - A = new n.bq(this.config, C, this.is, this.xv); + B = new n.fq(this.config, C, this.is, this.Dv); } - return A; + return B; }; - B = c; - B = q.__decorate([f.R(), q.__param(0, f.l(l.eAa)), q.__param(1, f.l(g.WX)), q.__param(2, f.l(d.OH)), q.__param(3, f.l(p.lj)), q.__param(4, f.l(u.wi)), q.__param(5, f.l(t.Gf)), q.__param(6, f.l(v.gu)), q.__param(7, f.l(x.Kb)), q.__param(8, f.l(y.Kk)), q.__param(9, f.l(z.Rh)), q.__param(10, f.l(a.IBa))], B); - b.jwa = B; - }, function (q, b, a) { + A = c; + A = r.__decorate([f.R(), r.__param(0, f.l(l.cAa)), r.__param(1, f.l(g.VX)), r.__param(2, f.l(d.WH)), r.__param(3, f.l(p.ij)), r.__param(4, f.l(t.wi)), r.__param(5, f.l(u.Hf)), r.__param(6, f.l(v.lu)), r.__param(7, f.l(x.Ib)), r.__param(8, f.l(y.Kk)), r.__param(9, f.l(z.Rh)), r.__param(10, f.l(a.GBa))], A); + b.gwa = A; + }, function (r, b, a) { var f, k, l, d, g; - function c(h, m, n, r, p) { - h = d.mY.call(this, h, m, p) || this; + function c(h, m, n, q, p) { + h = d.lY.call(this, h, m, p) || this; h.is = n; - h.platform = r; - h.type = f.Wt.Bw; + h.platform = q; + h.type = f.au.Hw; return h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.hCa = void 0; + b.fCa = void 0; f = a(25); k = a(50); l = a(104); - d = a(341); - g = a(210); - ka(c, d.mY); - c.prototype.GW = function () { - return Promise.resolve(this.config().FS && this.fB(l.Ob.lu, "avc1,mp4a", ["audio-endpoint-codec=DD+JOC"])); + d = a(343); + g = a(211); + ja(c, d.lY); + c.prototype.FW = function () { + return Promise.resolve(this.config().ES && this.hB(l.Pb.su, "avc1,mp4a", ["audio-endpoint-codec=DD+JOC"])); }; - c.prototype.cF = function () { + c.prototype.fF = function () { var h; h = {}; - h[k.je.hD] = "mp4a.40.2"; - h[k.je.iD] = "mp4a.40.2"; - "browser" === this.platform.Dha ? this.config().FS && (h[k.je.wO] = { - jh: "avc1", - keySystem: l.Ob.lu, + h[k.ke.jD] = "mp4a.40.2"; + h[k.ke.kD] = "mp4a.40.2"; + "browser" === this.platform.xha ? this.config().ES && (h[k.ke.wO] = { + fh: "avc1", + keySystem: l.Pb.su, features: ["audio-endpoint-codec=DD+JOC"] - }, h[k.je.xO] = { - jh: "avc1", - keySystem: l.Ob.lu, + }, h[k.ke.xO] = { + fh: "avc1", + keySystem: l.Pb.su, features: ["audio-endpoint-codec=DD+JOC"] - }) : (this.config().MQa && (h[k.je.wO] = "ec-3"), this.config().LQa && (h[k.je.M9] = "ec-3"), this.config().FS && (h[k.je.xO] = { - jh: "avc1", - keySystem: l.Ob.lu, + }) : (this.config().KQa && (h[k.ke.wO] = "ec-3"), this.config().JQa && (h[k.ke.H9] = "ec-3"), this.config().ES && (h[k.ke.xO] = { + fh: "avc1", + keySystem: l.Pb.su, features: ["audio-endpoint-codec=DD+JOC"] })); return h; }; - c.prototype.DRa = function (h) { + c.prototype.CRa = function (h) { var m; m = this; h = h.filter(function (n) { - var u; - for (var r = aa(m.Kv), p = r.next(); !p.done; p = r.next()) { + var t; + for (var q = aa(m.Ft), p = q.next(); !p.done; p = q.next()) { if (p.value.test(n)) return !0; } - r = aa(m.Ym); - for (p = r.next(); !p.done; p = r.next()) { + q = aa(m.Xm); + for (p = q.next(); !p.done; p = q.next()) { if (p.value.test(n)) return !1; } - n = m.bqa[n]; - r = []; - u = l.Ob.lu; + n = m.Wpa[n]; + q = []; + t = l.Pb.su; if (n) - return (m.is.So(n) ? p = n : (r = n.features, p = n.jh, u = n.keySystem), m.fB(u, p, r)); + return (m.is.Uo(n) ? p = n : (q = n.features, p = n.fh, t = n.keySystem), m.hB(t, p, q)); }); return Promise.resolve(h); }; - c.prototype.fB = function (h, m, n) { - h = g.gA.y1(h, m, n); - return this.Ex(h); + c.prototype.hB = function (h, m, n) { + h = g.hA.A1(h, m, n); + return this.Jx(h); }; - b.hCa = c; - }, function (q, b, a) { + b.fCa = c; + }, function (r, b, a) { var f, k, l, @@ -68992,563 +69004,563 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E; - function c(F, D, G, I, J, H, M, O) { - F = k.bq.call(this, F, D, G, O) || this; - F.vc = I; - F.wa = J; - F.Yq = H; - F.Bc = M; - F.xv = O; - F.type = l.Bi.Bw; - F.tO = "hvc1"; - F.G8a = "avc1"; - F.c0a = {}; - F.log = F.Yq.Cb("MicrosoftVideoCapabilityDetector"); - F.DTb(); - F.HW && F.config().FIb ? F.vQa = F.Jrb() : (F.vQa = Promise.resolve(""), F.config().HIb ? F.Orb() : F.config().GIb && F.Nrb()); - return F; + function c(G, D, F, J, K, H, L, Q) { + G = k.fq.call(this, G, D, F, Q) || this; + G.xc = J; + G.xa = K; + G.Xq = H; + G.Dc = L; + G.Dv = Q; + G.type = l.Bi.Hw; + G.tO = "hvc1"; + G.I8a = "avc1"; + G.a0a = {}; + G.log = G.Xq.Db("MicrosoftVideoCapabilityDetector"); + G.FTb(); + G.GW && G.config().HIb ? G.sQa = G.Krb() : (G.sQa = Promise.resolve(""), G.config().JIb ? G.Prb() : G.config().IIb && G.Orb()); + return G; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.nBa = void 0; + b.lBa = void 0; f = a(50); - k = a(166); + k = a(165); l = a(25); - q = a(106); + r = a(106); d = a(104); - g = a(5); - h = a(315); + g = a(4); + h = a(317); m = a(140); - n = a(210); - r = a(66); - p = a(209); - u = ("decode-res-x=1920 decode-res-y=1080 decode-bpc=8 decode-bitrate=5800 decode-fps=30 display-res-x=1920 display-res-y=1080 display-bpc=8").split(" "); - t = ("decode-res-x=3840 decode-res-y=2160 decode-bpc=10 decode-bitrate=16000 decode-fps=30 display-res-x=2560 display-res-y=1440 display-bpc=8").split(" "); + n = a(211); + q = a(59); + p = a(210); + t = ("decode-res-x=1920 decode-res-y=1080 decode-bpc=8 decode-bitrate=5800 decode-fps=30 display-res-x=1920 display-res-y=1080 display-bpc=8").split(" "); + u = ("decode-res-x=3840 decode-res-y=2160 decode-bpc=10 decode-bitrate=16000 decode-fps=30 display-res-x=2560 display-res-y=1440 display-bpc=8").split(" "); w = ("decode-res-x=3840 decode-res-y=2160 decode-bpc=10 decode-bitrate=16000 decode-fps=30 display-res-x=3840 display-res-y=2160 display-bpc=8").split(" "); v = ("decode-res-x=1920 decode-res-y=1080 decode-bpc=10 decode-bitrate=5800 decode-fps=30 display-res-x=1920 display-res-y=1080 display-bpc=8 hdr=1").split(" "); x = ("decode-res-x=3840 decode-res-y=2160 decode-bpc=10 decode-bitrate=16000 decode-fps=30 display-res-x=2560 display-res-y=1440 display-bpc=8 hdr=1").split(" "); y = ("decode-res-x=1920 decode-res-y=1080 decode-bpc=10 decode-bitrate=5800 decode-fps=30 display-res-x=1920 display-res-y=1080 display-bpc=8 hdr=1 ext-profile=dvhe.05").split(" "); z = ("decode-res-x=3840 decode-res-y=2160 decode-bpc=10 decode-bitrate=16000 decode-fps=30 display-res-x=2560 display-res-y=1440 display-bpc=8 hdr=1 ext-profile=dvhe.05").split(" "); - B = ["hdcp=1"]; - A = ["hdcp=2"]; - C = new q.nA(); - E = new h.A9(); - ka(c, k.bq); - c.prototype.VK = function (F) { - return F === l.ce.Ir && this.config().eXb ? m.Sd.KO : k.bq.prototype.VK.call(this, F); - }; - c.prototype.Zv = function (F) { - switch (F) { - case l.gj.oD: - return this.z4a(); - case l.gj.eu: - return this.FV; + A = ["hdcp=1"]; + B = ["hdcp=2"]; + C = new r.pA(); + E = new h.v9(); + ja(c, k.fq); + c.prototype.ZK = function (G) { + return G === l.$d.Lr && this.config().gXb ? m.Qd.KO : k.fq.prototype.ZK.call(this, G); + }; + c.prototype.dw = function (G) { + switch (G) { + case l.ej.qD: + return this.B4a(); + case l.ej.ju: + return this.EV; default: return Promise.resolve(!1); } }; - c.prototype.Pq = function () { + c.prototype.Ls = function () { var D; - function F() { - return D.HW ? D.oDb ? D.z4a().then(function (G) { - return Promise.resolve(G ? d.Ob.df : d.Ob.pI); - }) : Promise.resolve(d.Ob.pI) : D.AUb ? Promise.resolve(d.Ob.pI) : Promise.resolve(d.Ob.lu); + function G() { + return D.GW ? D.rDb ? D.B4a().then(function (F) { + return Promise.resolve(F ? d.Pb.df : d.Pb.wI); + }) : Promise.resolve(d.Pb.wI) : D.CUb ? Promise.resolve(d.Pb.wI) : Promise.resolve(d.Pb.su); } D = this; - this.keySystem || (this.keySystem = F()); + this.keySystem || (this.keySystem = G()); return this.keySystem; }; - c.prototype.W2 = function () { - return this.vQa; + c.prototype.Y2 = function () { + return this.sQa; }; - c.prototype.IW = function () { + c.prototype.HW = function () { return Promise.resolve({ - result: this.y4a(), + result: this.A4a(), reason: "is-type-supported" }); }; - c.prototype.JW = function () { - return this.HW && this.B4a() ? this.FV : Promise.resolve(!1); + c.prototype.IW = function () { + return this.GW && this.D4a() ? this.EV : Promise.resolve(!1); }; - c.prototype.Y7 = function () { - return Promise.resolve(this.x4a()).then(function (F) { + c.prototype.U7 = function () { + return Promise.resolve(this.z4a()).then(function (G) { return { - result: F, + result: G, reason: "isTypeSupportedWithFeatures" }; }); }; - c.prototype.nea = function (F) { - this.$n = F; - Object.assign(this.$n, this.c0a); - F.itshwdrm = this.HW; - F.itsqhd = this.A4a(); - F.itshevc = this.B4a(); - F.itshdr = this.y4a(); - F.itsdv = this.x4a(); - this.Mta(); + c.prototype.hea = function (G) { + this.Ip = G; + Object.assign(this.Ip, this.a0a); + G.itshwdrm = this.GW; + G.itsqhd = this.C4a(); + G.itshevc = this.D4a(); + G.itshdr = this.A4a(); + G.itsdv = this.z4a(); + this.Hta(); }; - c.prototype.kR = function (F, D) { - (this.$n ? this.$n : this.c0a)[F] = D; + c.prototype.mR = function (G, D) { + (this.Ip ? this.Ip : this.a0a)[G] = D; }; - c.prototype.dL = function () { - var F; - F = this; - return this.Zv(l.gj.eu).then(function (D) { - return D ? F.cS(l.gj.eu) : F.Zv(l.gj.oD).then(function (G) { - return G ? F.cS(l.gj.oD) : F.cS(void 0); + c.prototype.gL = function () { + var G; + G = this; + return this.dw(l.ej.ju).then(function (D) { + return D ? G.bS(l.ej.ju) : G.dw(l.ej.qD).then(function (F) { + return F ? G.bS(l.ej.qD) : G.bS(void 0); }); }); }; - c.prototype.k3 = function () { - return this.Pq().then(function (F) { - return F === d.Ob.df ? { + c.prototype.l3 = function () { + return this.Ls().then(function (G) { + return G === d.Pb.df ? { DEVICE_SECURITY_LEVEL: "3000" } : void 0; }); }; - c.prototype.LK = function (F) { + c.prototype.PK = function (G) { var D; D = this; - return this.Pq().then(function (G) { - var I, - J, + return this.Ls().then(function (F) { + var J, + K, H; - if (D.bFb(G, F)) + if (D.fFb(F, G)) return !1; - I = D.bqa[F]; - if (I) { - J = []; - if (D.is.So(I)) - H = I; - else (J = I.features, H = I.jh, G = I.keySystem); - return D.fB(G, H, J); + J = D.Wpa[G]; + if (J) { + K = []; + if (D.is.Uo(J)) + H = J; + else (K = J.features, H = J.fh, F = J.keySystem); + return D.hB(F, H, K); } return !1; }); }; - c.prototype.cF = function () { - var F; - F = k.bq.prototype.cF.call(this); - F[f.O.UP] = F[f.O.CI] = F[f.O.BI] = F[f.O.IZ] = { - jh: "vp09.00.11.08.02", - keySystem: d.Ob.df, - features: u - }; - F[f.O.AY] = F[f.O.zY] = { - jh: "hev1.2.6.L90.B0", - keySystem: d.Ob.df, + c.prototype.fF = function () { + var G; + G = k.fq.prototype.fF.call(this); + G[f.O.UP] = G[f.O.HI] = G[f.O.GI] = G[f.O.KZ] = { + fh: "vp09.00.11.08.02", + keySystem: d.Pb.df, features: t }; - F[f.O.CY] = F[f.O.BY] = { - jh: "hev1.2.6.L93.B0", - keySystem: d.Ob.df, - features: t + G[f.O.AY] = G[f.O.zY] = { + fh: "hev1.2.6.L90.B0", + keySystem: d.Pb.df, + features: u }; - F[f.O.EY] = F[f.O.DY] = { - jh: "hev1.2.6.L120.B0", - keySystem: d.Ob.df, - features: t + G[f.O.CY] = G[f.O.BY] = { + fh: "hev1.2.6.L93.B0", + keySystem: d.Pb.df, + features: u }; - F[f.O.GY] = F[f.O.FY] = { - jh: "hev1.2.6.L123.B0", - keySystem: d.Ob.df, - features: t + G[f.O.EY] = G[f.O.DY] = { + fh: "hev1.2.6.L120.B0", + keySystem: d.Pb.df, + features: u }; - F[f.O.XO] = F[f.O.WO] = { - jh: "hev1.2.6.L150.B0", - keySystem: d.Ob.df, - features: t + G[f.O.GY] = G[f.O.FY] = { + fh: "hev1.2.6.L123.B0", + keySystem: d.Pb.df, + features: u }; - F[f.O.ZO] = F[f.O.YO] = { - jh: "hev1.2.6.L153.B0", - keySystem: d.Ob.df, - features: t + G[f.O.XO] = G[f.O.WO] = { + fh: "hev1.2.6.L150.B0", + keySystem: d.Pb.df, + features: u }; - F[f.O.MO] = F[f.O.LO] = { - jh: "hev1.2.6.L90.B0", - keySystem: d.Ob.df, + G[f.O.ZO] = G[f.O.YO] = { + fh: "hev1.2.6.L153.B0", + keySystem: d.Pb.df, + features: u + }; + G[f.O.MO] = G[f.O.LO] = { + fh: "hev1.2.6.L90.B0", + keySystem: d.Pb.df, features: v }; - F[f.O.OO] = F[f.O.NO] = { - jh: "hev1.2.6.L93.B0", - keySystem: d.Ob.df, + G[f.O.OO] = G[f.O.NO] = { + fh: "hev1.2.6.L93.B0", + keySystem: d.Pb.df, features: v }; - F[f.O.PO] = F[f.O.ZH] = { - jh: "hev1.2.6.L120.B0", - keySystem: d.Ob.df, + G[f.O.PO] = G[f.O.gI] = { + fh: "hev1.2.6.L120.B0", + keySystem: d.Pb.df, features: v }; - F[f.O.RO] = F[f.O.QO] = { - jh: "hev1.2.6.L123.B0", - keySystem: d.Ob.df, + G[f.O.RO] = G[f.O.QO] = { + fh: "hev1.2.6.L123.B0", + keySystem: d.Pb.df, features: x }; - F[f.O.TO] = F[f.O.SO] = { - jh: "hev1.2.6.L150.B0", - keySystem: d.Ob.df, + G[f.O.TO] = G[f.O.SO] = { + fh: "hev1.2.6.L150.B0", + keySystem: d.Pb.df, features: x }; - F[f.O.VO] = F[f.O.UO] = { - jh: "hev1.2.6.L153.B0", - keySystem: d.Ob.df, + G[f.O.VO] = G[f.O.UO] = { + fh: "hev1.2.6.L153.B0", + keySystem: d.Pb.df, features: x }; - F[f.O.bY] = F[f.O.aY] = { - jh: "hev1.2.6.L90.B0", - keySystem: d.Ob.df, + G[f.O.aY] = G[f.O.$X] = { + fh: "hev1.2.6.L90.B0", + keySystem: d.Pb.df, features: y }; - F[f.O.dY] = F[f.O.cY] = { - jh: "hev1.2.6.L93.B0", - keySystem: d.Ob.df, + G[f.O.cY] = G[f.O.bY] = { + fh: "hev1.2.6.L93.B0", + keySystem: d.Pb.df, features: y }; - F[f.O.eY] = F[f.O.zO] = { - jh: "hev1.2.6.L120.B0", - keySystem: d.Ob.df, + G[f.O.dY] = G[f.O.zO] = { + fh: "hev1.2.6.L120.B0", + keySystem: d.Pb.df, features: y }; - F[f.O.gY] = F[f.O.fY] = { - jh: "hev1.2.6.L123.B0", - keySystem: d.Ob.df, + G[f.O.fY] = G[f.O.eY] = { + fh: "hev1.2.6.L123.B0", + keySystem: d.Pb.df, features: z }; - F[f.O.iY] = F[f.O.hY] = { - jh: "hev1.2.6.L150.B0", - keySystem: d.Ob.df, + G[f.O.hY] = G[f.O.gY] = { + fh: "hev1.2.6.L150.B0", + keySystem: d.Pb.df, features: z }; - F[f.O.kY] = F[f.O.jY] = { - jh: "hev1.2.6.L153.B0", - keySystem: d.Ob.df, + G[f.O.jY] = G[f.O.iY] = { + fh: "hev1.2.6.L153.B0", + keySystem: d.Pb.df, features: z }; - return F; + return G; }; - c.prototype.fB = function (F, D, G) { - F = n.gA.y1(F, D, G); - return this.Ex(F); + c.prototype.hB = function (G, D, F) { + G = n.hA.A1(G, D, F); + return this.Jx(G); + }; + c.prototype.C4a = function () { + return this.hB(d.Pb.df, this.tO, u); }; c.prototype.A4a = function () { - return this.fB(d.Ob.df, this.tO, t); + return this.hB(d.Pb.df, this.tO, v); }; - c.prototype.y4a = function () { - return this.fB(d.Ob.df, this.tO, v); + c.prototype.z4a = function () { + return this.hB(d.Pb.df, this.tO, y); }; - c.prototype.x4a = function () { - return this.fB(d.Ob.df, this.tO, y); + c.prototype.D4a = function () { + return this.hB(d.Pb.df, this.tO, w); }; c.prototype.B4a = function () { - return this.fB(d.Ob.df, this.tO, w); - }; - c.prototype.z4a = function () { - var F; - F = this; - return this.FV.then(function (D) { - return D ? Promise.resolve(D) : F.M0a; + var G; + G = this; + return this.EV.then(function (D) { + return D ? Promise.resolve(D) : G.M0a; }); }; - c.prototype.Mta = function () { - this.$n && (this.$n.itshdcp = JSON.stringify({ + c.prototype.Hta = function () { + this.Ip && (this.Ip.itshdcp = JSON.stringify({ hdcp1: this.bVa, - time1: this.T4a - this.X3a, + time1: this.V4a - this.Y3a, hdcp2: this.cVa, - time2: this.U4a - this.Y3a + time2: this.W4a - this.Z3a })); }; - c.prototype.DTb = function () { - var F; - F = this; - this.HW ? (this.FV = this.aUa(this.config().KYa, this.config().JIb, function () { + c.prototype.FTb = function () { + var G; + G = this; + this.GW ? (this.EV = this.aUa(this.config().HYa, this.config().LIb, function () { var D; - D = F.Kzb(); + D = G.Ozb(); return ["maybe" !== D, D]; }).then(function (D) { return "probably" === D; - }), this.M0a = this.FV.then(function (D) { - return D ? !0 : F.aUa(F.config().KYa, F.config().IIb, function () { - var G; - G = F.Jzb(); - return ["maybe" !== G, G]; - }).then(function (G) { - return "probably" === G; + }), this.M0a = this.EV.then(function (D) { + return D ? !0 : G.aUa(G.config().HYa, G.config().KIb, function () { + var F; + F = G.Nzb(); + return ["maybe" !== F, F]; + }).then(function (F) { + return "probably" === F; }); - })) : (this.M0a = Promise.resolve(!0), this.FV = Promise.resolve(!1)); + })) : (this.M0a = Promise.resolve(!0), this.EV = Promise.resolve(!1)); }; - c.prototype.aUa = function (F, D, G) { - var I; - I = this; - return new Promise(function (J) { + c.prototype.aUa = function (G, D, F) { + var J; + J = this; + return new Promise(function (K) { var H, - M, - O, - L; - H = aa(G()); - M = H.next().value; + L, + Q, + I; + H = aa(F()); + L = H.next().value; H = H.next().value; - if (M) - return J(H); - O = I.vc.l7(g.uc(F), function () { - var P, - R; - P = aa(G()); - R = P.next().value; - P = P.next().value; - R && (O.cancel(), L.cancel(), J(P)); + if (L) + return K(H); + Q = J.xc.i7(g.wc(G), function () { + var O, + N; + O = aa(F()); + N = O.next().value; + O = O.next().value; + N && (Q.cancel(), I.cancel(), K(O)); }); - L = I.vc.Oj(g.uc(D), function () { - O.cancel(); - L.cancel(); - J("timeout"); + I = J.xc.Nj(g.wc(D), function () { + Q.cancel(); + I.cancel(); + K("timeout"); }); }); }; - c.prototype.Jzb = function () { - var F; - F = n.gA.y1(d.Ob.pI, this.G8a, B).split("|"); - this.bVa = n.gA.Rsa(F[0], F[1]); - this.T4a = this.wa.Ue.ea(g.ma); - this.X3a = this.X3a || this.T4a; - this.Mta(); + c.prototype.Nzb = function () { + var G; + G = n.hA.A1(d.Pb.wI, this.I8a, A).split("|"); + this.bVa = n.hA.Msa(G[0], G[1]); + this.V4a = this.xa.We.ea(g.ma); + this.Y3a = this.Y3a || this.V4a; + this.Hta(); return this.bVa; }; - c.prototype.Kzb = function () { - var F; - F = n.gA.y1(d.Ob.df, this.tO, A).split("|"); - this.cVa = n.gA.Rsa(F[0], F[1]); - this.U4a = this.wa.Ue.ea(g.ma); - this.Y3a = this.Y3a || this.U4a; - this.Mta(); + c.prototype.Ozb = function () { + var G; + G = n.hA.A1(d.Pb.df, this.tO, B).split("|"); + this.cVa = n.hA.Msa(G[0], G[1]); + this.W4a = this.xa.We.ea(g.ma); + this.Z3a = this.Z3a || this.W4a; + this.Hta(); return this.cVa; }; - c.prototype.Jrb = function () { - var F; - F = this; - return this.Oga(d.Ob.df, '' + (r.SCa + "")).then(function (D) { - F.log.debug("DriverInfo: " + D); + c.prototype.Krb = function () { + var G; + G = this; + return this.Iga(d.Pb.df, '' + (q.naa + "")).then(function (D) { + G.log.debug("DriverInfo: " + D); return D; }).catch(function (D) { - F.kR("itsDriverInfo", "exception"); - F.log.error("DriverInfo exception", D); + G.mR("itsDriverInfo", "exception"); + G.log.error("DriverInfo exception", D); throw D; }); }; - c.prototype.Nrb = function () { - var F; - F = this; - this.Oga(d.Ob.lu, '').then(function (D) { - var G; - G = String.fromCharCode.apply(void 0, F.Bc.decode(D)); - F.kR("itsHardwareInfo", G); - F.log.debug("HardwareInfo: " + G); + c.prototype.Orb = function () { + var G; + G = this; + this.Iga(d.Pb.su, '').then(function (D) { + var F; + F = String.fromCharCode.apply(void 0, G.Dc.decode(D)); + G.mR("itsHardwareInfo", F); + G.log.debug("HardwareInfo: " + F); return D; }).catch(function (D) { - F.kR("itsHardwareInfo", "exception"); - F.log.error("HardwareInfo exception", D); + G.mR("itsHardwareInfo", "exception"); + G.log.error("HardwareInfo exception", D); throw D; }); }; - c.prototype.Orb = function () { - var F; - F = this; - this.Oga(d.Ob.lu, '').then(function (D) { - var G; - G = String.fromCharCode.apply(void 0, F.Bc.decode(D)); - F.kR("itsHardwareReset", G); - F.log.debug("ResetHardwareDRMDisabled: " + G); + c.prototype.Prb = function () { + var G; + G = this; + this.Iga(d.Pb.su, '').then(function (D) { + var F; + F = String.fromCharCode.apply(void 0, G.Dc.decode(D)); + G.mR("itsHardwareReset", F); + G.log.debug("ResetHardwareDRMDisabled: " + F); return D; }).catch(function (D) { - F.kR("itsHardwareReset", "exception"); - F.log.error("ResetHardwareDRMDisabled exception", D); + G.mR("itsHardwareReset", "exception"); + G.log.error("ResetHardwareDRMDisabled exception", D); throw D; }); }; - c.prototype.Oga = function (F, D) { - var G; - G = this; - return new Promise(function (I, J) { - var R, - K, - Q; - function H(N) { + c.prototype.Iga = function (G, D) { + var F; + F = this; + return new Promise(function (J, K) { + var N, + M, + P; + function H(R) { try { - L(N.target, "Unexpectedly got an mskeyerror event: 0x" + E.rF(N && N.target && N.target.error && N.target.error.O7b || 0, 4)); - } catch (da) { - L(N.target, da); + I(R.target, "Unexpectedly got an mskeyerror event: 0x" + E.vF(R && R.target && R.target.error && R.target.error.d8b || 0, 4)); + } catch (ea) { + I(R.target, ea); } } - function M(N) { - L(N.target, "Unexpectedly got an mskeyadded event"); + function L(R) { + I(R.target, "Unexpectedly got an mskeyadded event"); } - function O(N) { - var da; + function Q(R) { + var ea; try { - da = G.yia(N.message, "PlayReadyKeyMessage", "Challenge"); - P(N.target); - I(da); - } catch (na) { - L(N.target, na); + ea = F.qia(R.message, "PlayReadyKeyMessage", "Challenge"); + O(R.target); + J(ea); + } catch (pa) { + I(R.target, pa); } } - function L(N, da) { - G.log.error("PlayReadyChallenge error", { + function I(R, ea) { + F.log.error("PlayReadyChallenge error", { cdmData: D }); - P(N); - J(da); + O(R); + K(ea); } - function P(N) { - N.removeEventListener("mskeymessage", O); - N.removeEventListener("mskeyadded", M); - N.removeEventListener("mskeyerror", H); - Q && Q.cancel(); + function O(R) { + R.removeEventListener("mskeymessage", Q); + R.removeEventListener("mskeyadded", L); + R.removeEventListener("mskeyerror", H); + P && P.cancel(); } try { - R = new Uint8Array(C.o4a(D)); - K = new pb.MSMediaKeys(F).createSession("video/mp4", new Uint8Array(0), R); - K.addEventListener("mskeymessage", O); - K.addEventListener("mskeyadded", M); - K.addEventListener("mskeyerror", H); - Q = G.vc.Oj(g.uc(1E3), function () { - L(K, Error("timeout")); + N = new Uint8Array(C.q4a(D)); + M = new pb.MSMediaKeys(G).createSession("video/mp4", new Uint8Array(0), N); + M.addEventListener("mskeymessage", Q); + M.addEventListener("mskeyadded", L); + M.addEventListener("mskeyerror", H); + P = F.xc.Nj(g.wc(1E3), function () { + I(M, Error("timeout")); }); - } catch (N) { - J(N); + } catch (R) { + K(R); } }); }; - c.prototype.yia = function (F, D) { - var I, - J, + c.prototype.qia = function (G, D) { + var J, + K, H; - for (var G = 1; G < arguments.length; ++G) { ; - } - G = ""; - J = F.length; - for (I = 0; I < J; I++) { - H = F[I]; - 0 < H && (G += String.fromCharCode(H)); - } - J = "\\s*(.*)\\s*"; - for (I = arguments.length - 1; 0 < I; I--) { - H = arguments[I]; - if (0 > G.search(H)) + for (var F = 1; F < arguments.length; ++F) { ; + } + F = ""; + K = G.length; + for (J = 0; J < K; J++) { + H = G[J]; + 0 < H && (F += String.fromCharCode(H)); + } + K = "\\s*(.*)\\s*"; + for (J = arguments.length - 1; 0 < J; J--) { + H = arguments[J]; + if (0 > F.search(H)) return; H = "(?:[^:].*:|)" + H; - J = "[\\s\\S]*<" + H + "[^>]*>" + J + "[\\s\\S]*"; + K = "[\\s\\S]*<" + H + "[^>]*>" + K + "[\\s\\S]*"; } - if (G = G.match(new RegExp(J))) - return G[1]; + if (F = F.match(new RegExp(K))) + return F[1]; }; - c.prototype.bFb = function (F, D) { - return p.Ff.YC.test(D) && this.config().EIb && F !== d.Ob.pI && !this.config().rC; + c.prototype.fFb = function (G, D) { + return p.uf.$C.test(D) && this.config().GIb && G !== d.Pb.wI && !this.config().tC; }; Xa.Object.defineProperties(c.prototype, { - oDb: { + rDb: { configurable: !0, enumerable: !0, get: function () { - return this.config().ivb && (!this.config().KIb || this.A4a()); + return this.config().mvb && (!this.config().MIb || this.C4a()); } }, - HW: { + GW: { configurable: !0, enumerable: !0, get: function () { try { - return this.Ex(d.Ob.df + '|video/mp4;codecs="' + m.Sd.WH + '"'); - } catch (F) { + return this.Jx(d.Pb.df + '|video/mp4;codecs="' + m.Qd.dI + '"'); + } catch (G) { return !1; } } }, - AUb: { + CUb: { configurable: !0, enumerable: !0, get: function () { try { - return this.Ex(d.Ob.pI); - } catch (F) { + return this.Jx(d.Pb.wI); + } catch (G) { return !1; } } } }); - b.nBa = c; - c.tH = 'video/mp4;codecs="{0},mp4a";'; - }, function (q, b, a) { + b.lBa = c; + c.BH = 'video/mp4;codecs="{0},mp4a";'; + }, function (r, b, a) { var f, k, l, d; - function c(g, h, m, n, r, p, u) { - g = f.bq.call(this, g, h, m, u) || this; - g.Sl = n; - g.Yq = r; - g.wa = p; - g.xv = u; - g.type = k.Bi.LH; - g.log = g.Yq.Cb("ChromeVideoCapabilityDetector"); + function c(g, h, m, n, q, p, t) { + g = f.fq.call(this, g, h, m, t) || this; + g.Lm = n; + g.Xq = q; + g.xa = p; + g.Dv = t; + g.type = k.Bi.TH; + g.log = g.Xq.Db("ChromeVideoCapabilityDetector"); return g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.swa = void 0; - f = a(166); + b.pwa = void 0; + f = a(165); k = a(25); - l = a(5); - d = a(66); - ka(c, f.bq); - c.prototype.Zv = function (g) { + l = a(4); + d = a(59); + ja(c, f.fq); + c.prototype.dw = function (g) { switch (g) { - case k.gj.eu: - return this.zUb; + case k.ej.ju: + return this.BUb; default: return Promise.resolve(!1); } }; - c.prototype.dL = function () { + c.prototype.gL = function () { var g; g = this; - return this.Zv(k.gj.eu).then(function (h) { - return h ? k.gj.eu : void 0; + return this.dw(k.ej.ju).then(function (h) { + return h ? k.ej.ju : void 0; }).then(function (h) { - return g.cS(h); + return g.bS(h); }); }; - c.prototype.nea = function (g) { - this.$n = g; + c.prototype.hea = function (g) { + this.Ip = g; }; - c.prototype.tFb = function (g) { + c.prototype.wFb = function (g) { var h; return !(null === (h = g.getConfiguration().videoCapabilities) || void 0 === h || !h.some(function (m) { - return (null === m || void 0 === m ? void 0 : m.robustness) === d.IY; + return (null === m || void 0 === m ? void 0 : m.robustness) === d.eP; })); }; - c.prototype.Z5a = function () { + c.prototype.a6a = function () { var g; - if (this.$n) { - g = this.dVa && this.fVa && this.dVa.Ba(this.fVa).ea(l.ma); - this.$n.itshdcp = JSON.stringify({ - hdcp2: this.Ns, + if (this.Ip) { + g = this.dVa && this.fVa && this.dVa.Da(this.fVa).ea(l.ma); + this.Ip.itshdcp = JSON.stringify({ + hdcp2: this.Ss, time2: g }); } @@ -69558,68 +69570,68 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - this.GYa || (this.GYa = this.Sl.ly().then(function (g) { + this.DYa || (this.DYa = this.Lm.AB().then(function (g) { return g.createMediaKeys(); })); - return this.GYa; + return this.DYa; } }, - zUb: { + BUb: { configurable: !0, enumerable: !0, get: function () { var g; g = this; - this.Ssa || (this.config().jvb ? this.Ssa = Promise.all([this.Sl.ly(), this.mediaKeys]).then(function (h) { + this.Nsa || (this.config().nvb ? this.Nsa = Promise.all([this.Lm.AB(), this.mediaKeys]).then(function (h) { var m; m = aa(h); h = m.next().value; m = m.next().value; - if (!g.tFb(h)) - return (g.Ns = "not HW_SECURE_DECODE", g.log.trace("hdcpStatus: " + g.Ns), !1); + if (!g.wFb(h)) + return (g.Ss = "not HW_SECURE_DECODE", g.log.trace("hdcpStatus: " + g.Ss), !1); if (m && m.getStatusForPolicy) - return (g.fVa = g.wa.Ue, m.getStatusForPolicy({ + return (g.fVa = g.xa.We, m.getStatusForPolicy({ minHdcpVersion: "2.2" }).then(function (n) { - g.dVa = g.wa.Ue; - g.Ns = n; - g.log.trace("hdcpStatus: " + g.Ns); - return "usable" === g.Ns; + g.dVa = g.xa.We; + g.Ss = n; + g.log.trace("hdcpStatus: " + g.Ss); + return "usable" === g.Ss; })); - g.Ns = "not available"; - g.log.trace("hdcpStatus: " + g.Ns); + g.Ss = "not available"; + g.log.trace("hdcpStatus: " + g.Ss); return !1; }).catch(function (h) { - g.Ns = "exception"; + g.Ss = "exception"; g.log.error("Exception in supportsHdcpLevel", { - hdcpStatus: g.Ns + hdcpStatus: g.Ss }, h); return !1; }).then(function (h) { - g.Z5a(); + g.a6a(); return h; - }) : (this.Ns = "not enabled", this.log.trace("hdcpStatus: " + this.Ns), this.Z5a(), this.Ssa = Promise.resolve(!1))); - return this.Ssa; + }) : (this.Ss = "not enabled", this.log.trace("hdcpStatus: " + this.Ss), this.a6a(), this.Nsa = Promise.resolve(!1))); + return this.Nsa; } } }); - b.swa = c; - }, function (q, b, a) { + b.pwa = c; + }, function (r, b, a) { var f, k; function c(l) { this.navigator = l; - this.EYa = ("mediaCapabilities" in this.navigator) && ("decodingInfo" in this.navigator.mediaCapabilities); + this.BYa = ("mediaCapabilities" in this.navigator) && ("decodingInfo" in this.navigator.mediaCapabilities); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.JBa = void 0; - q = a(1); + b.HBa = void 0; + r = a(1); f = a(0); a = a(36); - c.prototype.Cia = function (l) { - return this.EYa ? this.navigator.mediaCapabilities.decodingInfo({ + c.prototype.uia = function (l) { + return this.BYa ? this.navigator.mediaCapabilities.decodingInfo({ type: "media-source", video: { contentType: l.contentType, @@ -69637,33 +69649,33 @@ a000.D9b = function () { }) : Promise.reject("MediaCapabilities not supported"); }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.lI))], k); - b.JBa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.sI))], k); + b.HBa = k; + }, function (r, b, a) { var f, k, l; function c(d, g) { this.mediaCapabilities = d; - this.log = g.Cb("MediaCapabilities"); + this.log = g.Db("MediaCapabilities"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.KBa = void 0; - q = a(1); - f = a(343); + b.IBa = void 0; + r = a(1); + f = a(345); k = a(8); a = a(0); - c.prototype.Cia = function (d) { + c.prototype.uia = function (d) { var g, h, m; g = this; h = { - Ub: void 0 + Wb: void 0 }; - if (this.mediaCapabilities.EYa) { + if (this.mediaCapabilities.BYa) { m = { contentType: 'video/mp4;codecs="avc1.640028"', width: d.width, @@ -69671,8 +69683,8 @@ a000.D9b = function () { bitrate: 1E3 * d.bitrate, framerate: 24 }; - this.mediaCapabilities.Cia(m).then(function (n) { - return h.Ub = Object.assign(Object.assign({}, n), m); + this.mediaCapabilities.uia(m).then(function (n) { + return h.Wb = Object.assign(Object.assign({}, n), m); }).catch(function (n) { return g.log.error("Error calling MediaCapabilities API", n); }); @@ -69680,49 +69692,49 @@ a000.D9b = function () { return h; }; l = c; - l = q.__decorate([a.R(), q.__param(0, a.l(f.MBa)), q.__param(1, a.l(k.Kb))], l); - b.KBa = l; - }, function (q, b, a) { + l = r.__decorate([a.R(), r.__param(0, a.l(f.KBa)), r.__param(1, a.l(k.Ib))], l); + b.IBa = l; + }, function (r, b, a) { var f, k, l; function c(d) { - this.KNb = d; + this.PNb = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vya = void 0; - q = a(1); + b.tya = void 0; + r = a(1); f = a(0); - k = a(211); - a = a(345); - c.prototype.Awb = function () { + k = a(212); + a = a(347); + c.prototype.Gwb = function () { var d, g; d = { - PS: k.Yz.reb + OS: k.Zz.ueb }; - g = this.KNb.PresentationRequest; + g = this.PNb.PresentationRequest; g && (new g("https://netflix.com").getAvailability() || Promise.reject()).then(function (h) { var m; - d.PS = h.value ? k.Yz.gFa : k.Yz.Dua; - if (d.PS === k.Yz.Dua) { + d.OS = h.value ? k.Zz.dFa : k.Zz.Aua; + if (d.OS === k.Zz.Aua) { m = function () { - h.value && (d.PS = k.Yz.gFa); + h.value && (d.OS = k.Zz.dFa); h.removeEventListener("change", m); }; h.addEventListener("change", m); } }).catch(function () { - d.PS = k.Yz.Error; + d.OS = k.Zz.Error; }); return d; }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(a.hFa))], l); - b.vya = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(a.eFa))], l); + b.tya = l; + }, function (r, b, a) { var f, k, l, @@ -69731,23 +69743,23 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t) { - this.config = r; + function c(q, p, t, u) { + this.config = q; this.navigator = p; - this.Yq = u; - this.Lna = t; - this.type = k.Bi.Zt; + this.Xq = t; + this.Gna = u; + this.type = k.Bi.du; this.BMa = {}; - this.D6a = {}; - this.log = this.Yq.Cb("MediaCapabilityDetector"); - this.BMa = this.rrb(); - this.D6a = this.xsb(); + this.G6a = {}; + this.log = this.Xq.Db("MediaCapabilityDetector"); + this.BMa = this.srb(); + this.G6a = this.zsb(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.HBa = void 0; - q = a(1); + b.FBa = void 0; + r = a(1); f = a(0); k = a(25); l = a(50); @@ -69755,114 +69767,106 @@ a000.D9b = function () { g = a(36); h = a(79); m = a(138); - n = a(66); - c.prototype.LK = function (r) { + n = a(59); + c.prototype.PK = function (q) { var p; p = this; - return this.Lna.ly().then(function (u) { - return p.Mwb(r, u); + return this.Gna.AB().then(function (t) { + return p.Swb(q, t); }).catch(function () { return !1; }); }; - c.prototype.KEb = function (r) { - return !!r.colorGamut || !!r.hdrMetadataType || !!r.transferFunction; + c.prototype.PEb = function (q) { + return !!q.colorGamut || !!q.hdrMetadataType || !!q.transferFunction; }; - c.prototype.Wla = function () { + c.prototype.Qla = function () { return pb.matchMedia("(dynamic-range: high)").matches; }; - c.prototype.Mwb = function (r, p) { - var u, - t, + c.prototype.Swb = function (q, p) { + var t, + u, w, v; - u = this; + t = this; try { - t = { + u = { type: "media-source" }; - w = this.BMa[r]; - v = this.D6a[r]; + w = this.BMa[q]; + v = this.G6a[q]; if (w) - t.audio = w; + u.audio = w; else if (v) { - t.video = v; - if (this.KEb(v) && !this.Wla()) + u.video = v; + if (this.PEb(v) && !this.Qla()) return Promise.resolve(!1); - p && (t.keySystemConfiguration = this.bAb(p)); + p && (u.keySystemConfiguration = this.fAb(p)); } else return Promise.resolve(!1); - return this.navigator.mediaCapabilities.decodingInfo(t).then(function (x) { + return this.navigator.mediaCapabilities.decodingInfo(u).then(function (x) { var y; - x.configuration || (x.configuration = t); - y = u.mFb(t, x); - y ? u.log.trace("mediaCapabilities.decodingInfo: " + JSON.stringify(x)) : u.log.warn("mediaCapabilities.decodingInfo: " + JSON.stringify(x)); + x.configuration || (x.configuration = u); + y = t.pFb(u, x); + y ? t.log.trace("mediaCapabilities.decodingInfo: " + JSON.stringify(x)) : t.log.warn("mediaCapabilities.decodingInfo: " + JSON.stringify(x)); return y; }).catch(function (x) { - u.log.error("mediaCapabilities.decodingInfo failed", x); + t.log.error("mediaCapabilities.decodingInfo failed", x); return !1; }); } catch (x) { return (this.log.error("mediaCapabilitiesIsTypeSupported failed", x), Promise.resolve(!1)); } }; - c.prototype.bAb = function (r) { + c.prototype.fAb = function (q) { this.keySystemConfiguration || (this.keySystemConfiguration = { - keySystem: r.keySystem - }, (r = this.mAb(r)) && (this.keySystemConfiguration.video = { - robustness: r + keySystem: q.keySystem + }, (q = n.Oja(q)) && (this.keySystemConfiguration.video = { + robustness: q })); return this.keySystemConfiguration; }; - c.prototype.mAb = function (r) { - return [n.IY, n.VFa, n.nba].find(function (p) { - var u; - return null === (u = r.getConfiguration().videoCapabilities) || void 0 === u ? void 0 : u.some(function (t) { - return t.robustness === p; - }); - }); - }; - c.prototype.rrb = function () { - var r, + c.prototype.srb = function () { + var q, p; - r = {}; + q = {}; p = { contentType: "audio/mp4;codecs=mp4a.40.2" }; - r[l.je.hD] = p; - r[l.je.Zya] = p; - r[l.je.iD] = p; - r[l.je.EI] = p; + q[l.ke.jD] = p; + q[l.ke.Xya] = p; + q[l.ke.kD] = p; + q[l.ke.WD] = p; p = { contentType: "audio/mp4;codecs=ec-3" }; - r[l.je.wO] = p; - r[l.je.M9] = p; - r[l.je.xO] = p; - return r; + q[l.ke.wO] = p; + q[l.ke.H9] = p; + q[l.ke.xO] = p; + return q; }; - c.prototype.xsb = function () { - var r, + c.prototype.zsb = function () { + var q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E; - r = {}; + q = {}; p = { contentType: 'video/mp4; codecs="hev1.2.4.L120.B0"' }; - u = { + t = { contentType: 'video/mp4; codecs="dvh1.05.04"' }; - t = { + u = { width: 1920, height: 1080 }; @@ -69870,15 +69874,15 @@ a000.D9b = function () { width: 3840, height: 2160 }; - v = Object.assign(Object.assign({}, t), { + v = Object.assign(Object.assign({}, u), { bitrate: 12E6, framerate: 30 }); - x = Object.assign(Object.assign({}, t), { + x = Object.assign(Object.assign({}, u), { bitrate: 2E7, framerate: 60 }); - t = Object.assign(Object.assign({}, w), { + u = Object.assign(Object.assign({}, w), { bitrate: 25E6, framerate: 30 }); @@ -69896,83 +69900,83 @@ a000.D9b = function () { colorGamut: "rec2020", transferFunction: "pq" }; - B = Object.assign(Object.assign({}, { + A = Object.assign(Object.assign({}, { contentType: 'video/mp4; codecs="avc1.640028"' }), v); - r[l.O.Rya] = B; - r[l.O.IO] = B; - r[l.O.JO] = B; - r[l.O.o$] = B; - B = Object.assign(Object.assign({}, { + q[l.O.Pya] = A; + q[l.O.IO] = A; + q[l.O.JO] = A; + q[l.O.g$] = A; + A = Object.assign(Object.assign({}, { contentType: 'video/mp4; codecs="vp09.02.31.10.01"' }), v); - r[l.O.IZ] = B; - r[l.O.BI] = B; - r[l.O.CI] = B; - r[l.O.UP] = B; - B = Object.assign(Object.assign({}, p), v); - A = Object.assign(Object.assign({}, { + q[l.O.KZ] = A; + q[l.O.GI] = A; + q[l.O.HI] = A; + q[l.O.UP] = A; + A = Object.assign(Object.assign({}, p), v); + B = Object.assign(Object.assign({}, { contentType: 'video/mp4; codecs="hev1.2.4.L123.B0"' }), x); C = Object.assign(Object.assign({}, { contentType: 'video/mp4; codecs="hev1.2.4.L150.B0"' - }), t); + }), u); E = Object.assign(Object.assign({}, { contentType: 'video/mp4; codecs="hev1.2.4.L153.B0"' }), w); - r[l.O.zY] = B; - r[l.O.BY] = B; - r[l.O.DY] = B; - r[l.O.FY] = A; - r[l.O.WO] = C; - r[l.O.YO] = E; - r[l.O.AY] = B; - r[l.O.CY] = B; - r[l.O.EY] = B; - r[l.O.GY] = A; - r[l.O.XO] = C; - r[l.O.ZO] = E; - B = Object.assign(Object.assign(Object.assign({}, p), v), y); - A = Object.assign(Object.assign(Object.assign({}, p), x), y); - C = Object.assign(Object.assign(Object.assign({}, p), t), y); + q[l.O.zY] = A; + q[l.O.BY] = A; + q[l.O.DY] = A; + q[l.O.FY] = B; + q[l.O.WO] = C; + q[l.O.YO] = E; + q[l.O.AY] = A; + q[l.O.CY] = A; + q[l.O.EY] = A; + q[l.O.GY] = B; + q[l.O.XO] = C; + q[l.O.ZO] = E; + A = Object.assign(Object.assign(Object.assign({}, p), v), y); + B = Object.assign(Object.assign(Object.assign({}, p), x), y); + C = Object.assign(Object.assign(Object.assign({}, p), u), y); p = Object.assign(Object.assign(Object.assign({}, p), w), y); - r[l.O.LO] = B; - r[l.O.NO] = B; - r[l.O.ZH] = B; - r[l.O.QO] = A; - r[l.O.SO] = C; - r[l.O.UO] = p; - r[l.O.MO] = B; - r[l.O.OO] = B; - r[l.O.PO] = B; - r[l.O.RO] = A; - r[l.O.TO] = C; - r[l.O.VO] = p; - v = Object.assign(Object.assign(Object.assign({}, u), v), z); - x = Object.assign(Object.assign(Object.assign({}, u), x), z); - t = Object.assign(Object.assign(Object.assign({}, u), t), z); - u = Object.assign(Object.assign(Object.assign({}, u), w), z); - r[l.O.aY] = v; - r[l.O.cY] = v; - r[l.O.zO] = v; - r[l.O.fY] = x; - r[l.O.hY] = t; - r[l.O.jY] = u; - r[l.O.bY] = v; - r[l.O.dY] = v; - r[l.O.eY] = v; - r[l.O.gY] = x; - r[l.O.iY] = t; - r[l.O.kY] = u; - return r; - }; - c.prototype.mFb = function (r, p) { - return r.video && this.config().gNb ? p.supported && p.powerEfficient : p.supported; + q[l.O.LO] = A; + q[l.O.NO] = A; + q[l.O.gI] = A; + q[l.O.QO] = B; + q[l.O.SO] = C; + q[l.O.UO] = p; + q[l.O.MO] = A; + q[l.O.OO] = A; + q[l.O.PO] = A; + q[l.O.RO] = B; + q[l.O.TO] = C; + q[l.O.VO] = p; + v = Object.assign(Object.assign(Object.assign({}, t), v), z); + x = Object.assign(Object.assign(Object.assign({}, t), x), z); + u = Object.assign(Object.assign(Object.assign({}, t), u), z); + t = Object.assign(Object.assign(Object.assign({}, t), w), z); + q[l.O.$X] = v; + q[l.O.bY] = v; + q[l.O.zO] = v; + q[l.O.eY] = x; + q[l.O.gY] = u; + q[l.O.iY] = t; + q[l.O.aY] = v; + q[l.O.cY] = v; + q[l.O.dY] = v; + q[l.O.fY] = x; + q[l.O.hY] = u; + q[l.O.jY] = t; + return q; + }; + c.prototype.pFb = function (q, p) { + return q.video && this.config().kNb ? p.supported && p.powerEfficient : p.supported; }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(m.OH)), q.__param(1, f.l(g.lI)), q.__param(2, f.l(d.Kb)), q.__param(3, f.l(h.gu))], a); - b.HBa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(m.WH)), r.__param(1, f.l(g.sI)), r.__param(2, f.l(d.Ib)), r.__param(3, f.l(h.lu))], a); + b.FBa = a; + }, function (r, b, a) { var c, f, k, @@ -69982,140 +69986,140 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperty(b, "__esModule", { value: !0 }); b.storage = void 0; - q = a(0); - c = a(346); + r = a(0); + c = a(348); f = a(78); - k = a(167); - l = a(655); - d = a(349); - g = a(656); - h = a(348); - m = a(168); - n = a(657); - r = a(659); - p = a(660); - u = a(661); - t = a(78); - w = a(350); - v = a(663); - b.storage = new q.ad(function (x) { - x(k.rCa).sf(function () { + k = a(166); + l = a(658); + d = a(351); + g = a(659); + h = a(350); + m = a(167); + n = a(660); + q = a(662); + p = a(663); + t = a(664); + u = a(78); + w = a(352); + v = a(666); + b.storage = new r.$c(function (x) { + x(k.pCa).sf(function () { return function () { return pb.localStorage; }; }); - x(k.uza).sf(function () { + x(k.sza).sf(function () { return function () { return pb.indexedDB; }; }); - x(w.eCa).to(v.dCa).$(); - x(t.Rz).to(u.Lua).$(); - x(d.CAa).to(g.BAa).$(); - x(c.MY).to(r.Vza).$(); - x(m.Xza).to(n.Wza).$(); - x(f.EGa).to(l.Gwa).$(); - x(m.tza).to(n.sza).$(); - x(m.E$).to(n.Yza).$(); - x(h.Iwa).to(p.Hwa).$(); - }); - }, function (q, b, a) { + x(w.cCa).to(v.bCa).aa(); + x(u.Tz).to(t.Iua).aa(); + x(d.AAa).to(g.zAa).aa(); + x(c.LY).to(q.Tza).aa(); + x(m.Vza).to(n.Uza).aa(); + x(f.AGa).to(l.Dwa).aa(); + x(m.rza).to(n.qza).aa(); + x(m.w$).to(n.Wza).aa(); + x(h.Fwa).to(p.Ewa).aa(); + }); + }, function (r, b, a) { var f, k, l, d, g; function c(h, m, n) { - this.co = m; + this.eo = m; this.config = n; - this.ya = h.Cb(d.tba); + this.za = h.Db(d.nba); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Gwa = void 0; - q = a(1); + b.Dwa = void 0; + r = a(1); f = a(0); k = a(8); - l = a(60); - d = a(347); - a = a(348); + l = a(61); + d = a(349); + a = a(350); c.prototype.validate = function (h) { - return this.config.enabled ? this.config.timeout ? this.co.Op(this.config.timeout, this.mQa(h)) : this.mQa(h) : Promise.resolve(); + return this.config.enabled ? this.config.timeout ? this.eo.Rp(this.config.timeout, this.jQa(h)) : this.jQa(h) : Promise.resolve(); }; - c.prototype.mQa = function (h) { + c.prototype.jQa = function (h) { var m; m = this; - return new Promise(function (n, r) { + return new Promise(function (n, q) { return h.save("indexdb-test", "true", !0).then(function () { return h.load("indexdb-test").then(function (p) { - "true" !== p.value && r(); - m.ya.debug("save/load test passed"); + "true" !== p.value && q(); + m.za.debug("save/load test passed"); h.remove("indexdb-test").then(function () { n(); }).catch(function () { - m.ya.error("Failed to remove testValue"); + m.za.error("Failed to remove testValue"); n(); }); }); }).catch(function (p) { - return r(p); + return q(p); }); }); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.Gw)), q.__param(2, f.l(a.Iwa))], g); - b.Gwa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.Mw)), r.__param(2, f.l(a.Fwa))], g); + b.Dwa = g; + }, function (r, b, a) { var f, k, l; function c(d) { - this.vC = d; + this.xC = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.BAa = void 0; - q = a(1); + b.zAa = void 0; + r = a(1); f = a(0); k = a(3); - a = a(167); + a = a(166); c.prototype.load = function (d) { var g; g = this; return new Promise(function (h, m) { var n, - r; + q; try { - n = g.vC.getItem(d); + n = g.xC.getItem(d); if (n) { - r = n; + q = n; if ("{" === n[0]) try { - r = JSON.parse(n) || n; + q = JSON.parse(n) || n; } catch (p) {} h({ key: d, - value: r + value: q }); } else m({ - oa: k.M.mA + oa: k.L.oA }); } catch (p) { m({ - oa: k.M.TFa, + oa: k.L.QFa, cause: p }); } @@ -70124,16 +70128,16 @@ a000.D9b = function () { c.prototype.save = function (d, g, h) { var m; m = this; - return new Promise(function (n, r) { - if (h && m.vC.getItem(d)) + return new Promise(function (n, q) { + if (h && m.xC.getItem(d)) n(!1); else try { - "string" === typeof g ? m.vC.setItem(d, g) : m.vC.setItem(d, JSON.stringify(g)); + "string" === typeof g ? m.xC.setItem(d, g) : m.xC.setItem(d, JSON.stringify(g)); n(!0); } catch (p) { - r({ - oa: k.M.UFa, + q({ + oa: k.L.RFa, cause: p }); } @@ -70144,11 +70148,11 @@ a000.D9b = function () { g = this; return new Promise(function (h, m) { try { - g.vC.removeItem(d); + g.xC.removeItem(d); h(); } catch (n) { m({ - oa: k.M.mba, + oa: k.L.gba, cause: n }); } @@ -70161,48 +70165,48 @@ a000.D9b = function () { return Promise.reject("Not supported"); }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(a.Zbb))], l); - b.BAa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(a.ccb))], l); + b.zAa = l; + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p, - u, t, + u, w, v; - function c(x, y, z, B, A, C) { + function c(x, y, z, A, B, C) { this.config = y; - this.iS = z; - this.en = B; - this.FXb = A; + this.hS = z; + this.dn = A; + this.HXb = B; this.Dk = C; - this.ya = x.Cb(n.tba); + this.za = x.Db(n.nba); } function f(x, y) { this.config = x; - this.UW = y; + this.TW = y; } - function k(x, y, z, B, A) { + function k(x, y, z, A, B) { this.config = y; - this.UW = z; - this.Dk = A; - this.ya = x.Cb(n.tba); - this.iS = new Promise(function (C, E) { - var F; + this.TW = z; + this.Dk = B; + this.za = x.Db(n.nba); + this.hS = new Promise(function (C, E) { + var G; try { - F = B(); - F ? C(F) : E({ - oa: m.M.vza + G = A(); + G ? C(G) : E({ + oa: m.L.tza }); } catch (D) { E({ - oa: m.M.LY, + oa: m.L.KY, cause: D }); } @@ -70211,40 +70215,40 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Yza = b.Wza = b.sza = void 0; - q = a(1); + b.Wza = b.Uza = b.qza = void 0; + r = a(1); l = a(0); d = a(8); - g = a(658); - h = a(167); + g = a(661); + h = a(166); m = a(3); - n = a(347); - r = a(346); - p = a(60); - u = a(78); - t = a(69); - w = a(168); - v = a(65); + n = a(349); + q = a(348); + p = a(61); + t = a(78); + u = a(70); + w = a(167); + v = a(66); k.prototype.create = function () { - this.dha || (this.dha = this.fK()); - return this.dha; + this.Yga || (this.Yga = this.jK()); + return this.Yga; }; - k.prototype.gp = function (x) { + k.prototype.hp = function (x) { var y; y = this; - this.dha = null; - return this.UW.Op(this.config.timeout, new Promise(function (z, B) { + this.Yga = null; + return this.TW.Rp(this.config.timeout, new Promise(function (z, A) { x.close(); y.delete(x.name).then(function () { z(); - }).catch(function (A) { - B(A); + }).catch(function (B) { + A(B); }); })).catch(function (z) { - return z instanceof p.qq ? Promise.reject({ - oa: m.M.LY + return z instanceof p.sq ? Promise.reject({ + oa: m.L.KY }) : z.oa ? Promise.reject(z) : Promise.reject({ - oa: m.M.LY, + oa: m.L.KY, cause: z }); }); @@ -70252,191 +70256,191 @@ a000.D9b = function () { k.prototype.delete = function (x) { var y; y = this; - return this.UW.Op(this.config.timeout, new Promise(function (z, B) { - y.iS.then(function (A) { + return this.TW.Rp(this.config.timeout, new Promise(function (z, A) { + y.hS.then(function (B) { var C; - C = A.deleteDatabase(x); + C = B.deleteDatabase(x); C.onsuccess = function () { z(); }; C.onerror = function () { - B({ - oa: m.M.LY, + A({ + oa: m.L.KY, cause: C.error }); }; - }).catch(function (A) { - B(A); + }).catch(function (B) { + A(B); }); })); }; - k.prototype.fK = function () { + k.prototype.jK = function () { var x, y; x = this; - return this.UW.Op(this.config.timeout, new Promise(function (z, B) { - if (x.config.ksa) - return B({ - oa: x.config.ksa + return this.TW.Rp(this.config.timeout, new Promise(function (z, A) { + if (x.config.esa) + return A({ + oa: x.config.esa }); - x.iS.then(function (A) { - x.Dk.mark(v.nj.hab); - y = A.open(x.config.name, x.config.version); + x.hS.then(function (B) { + x.Dk.mark(v.kj.kab); + y = B.open(x.config.name, x.config.version); if (!y) - return B({ - oa: m.M.wza + return A({ + oa: m.L.uza }); y.onblocked = function () { - x.Dk.mark(v.nj.eab); - B({ - oa: m.M.aab + x.Dk.mark(v.kj.hab); + A({ + oa: m.L.dab }); }; y.onupgradeneeded = function () { var C; - x.Dk.mark(v.nj.oab); + x.Dk.mark(v.kj.rab); C = y.result; try { - C.createObjectStore(x.config.aV, { + C.createObjectStore(x.config.$U, { keyPath: "name" }); } catch (E) { - x.ya.error("Exception while creating object store", E); + x.za.error("Exception while creating object store", E); } }; y.onsuccess = function (C) { var E, - F; - x.Dk.mark(v.nj.nab); + G; + x.Dk.mark(v.kj.qab); try { E = C.target.result; - F = E.objectStoreNames.length; - x.ya.trace("objectstorenames length ", F); - if (0 === F) { - x.ya.error("invalid indexedDb state, deleting"); - x.Dk.mark(v.nj.gab); + G = E.objectStoreNames.length; + x.za.trace("objectstorenames length ", G); + if (0 === G) { + x.za.error("invalid indexedDb state, deleting"); + x.Dk.mark(v.kj.jab); try { E.close(); } catch (D) {} - A.deleteDatabase(x.config.name); + B.deleteDatabase(x.config.name); setTimeout(function () { - B({ - oa: m.M.$$a + A({ + oa: m.L.cab }); }, 1); return; } } catch (D) { - x.ya.error("Exception while inspecting indexedDb objectstorenames", D); + x.za.error("Exception while inspecting indexedDb objectstorenames", D); } z(y.result); }; y.onerror = function () { - x.Dk.mark(v.nj.fab); - x.ya.error("IndexedDB open error", y.error); - B({ - oa: m.M.bab, + x.Dk.mark(v.kj.iab); + x.za.error("IndexedDB open error", y.error); + A({ + oa: m.L.eab, cause: y.error }); }; - }).catch(function (A) { - B(A); + }).catch(function (B) { + A(B); }); })).catch(function (z) { - if (z instanceof p.qq) { + if (z instanceof p.sq) { try { y && y.readyState && x.Dk.mark("readyState-" + y.readyState); - } catch (B) {} - if (x.config.D0 && y && "done" === y.readyState) { - if (x.AXb(y)) - return (x.Dk.mark(v.nj.lab), Promise.resolve(y.result)); - x.Dk.mark(v.nj.kab); + } catch (A) {} + if (x.config.F0 && y && "done" === y.readyState) { + if (x.CXb(y)) + return (x.Dk.mark(v.kj.oab), Promise.resolve(y.result)); + x.Dk.mark(v.kj.nab); } - x.Dk.mark(v.nj.jab); + x.Dk.mark(v.kj.mab); return Promise.reject({ - oa: m.M.dab + oa: m.L.gab }); } if (z.oa) return Promise.reject(z); - x.Dk.mark(v.nj.iab); - x.ya.error("IndexedDB open exception occurred", z); + x.Dk.mark(v.kj.lab); + x.za.error("IndexedDB open exception occurred", z); return Promise.reject({ - oa: m.M.cab, + oa: m.L.fab, cause: z }); }); }; - k.prototype.AXb = function (x) { + k.prototype.CXb = function (x) { try { return 0 < x.result.objectStoreNames.length; } catch (y) { - this.Dk.mark(v.nj.mab); - this.ya.error("failed to check open request state", y); + this.Dk.mark(v.kj.pab); + this.za.error("failed to check open request state", y); } return !1; }; a = k; - a = q.__decorate([l.R(), q.__param(0, l.l(d.Kb)), q.__param(1, l.l(r.MY)), q.__param(2, l.l(p.Gw)), q.__param(3, l.l(h.uza)), q.__param(4, l.l(t.ND))], a); - b.sza = a; + a = r.__decorate([l.R(), r.__param(0, l.l(d.Ib)), r.__param(1, l.l(q.LY)), r.__param(2, l.l(p.Mw)), r.__param(3, l.l(h.sza)), r.__param(4, l.l(u.QD))], a); + b.qza = a; f.prototype.create = function (x) { - return Promise.resolve(new g.Uza(this.config, this.UW, x)); + return Promise.resolve(new g.Sza(this.config, this.TW, x)); }; a = f; - a = q.__decorate([l.R(), q.__param(0, l.l(r.MY)), q.__param(1, l.l(p.Gw))], a); - b.Wza = a; + a = r.__decorate([l.R(), r.__param(0, l.l(q.LY)), r.__param(1, l.l(p.Mw))], a); + b.Uza = a; c.prototype.create = function () { if (this.storage) return Promise.resolve(this.storage); - this.dS || (this.dS = this.fK(this.FXb)); - return this.dS; + this.cS || (this.cS = this.jK(this.HXb)); + return this.cS; }; - c.prototype.fK = function (x) { + c.prototype.jK = function (x) { var y; y = this; x = void 0 === x ? [] : x; - return new Promise(function (z, B) { - y.Dk.mark(v.nj.Rdb); - y.iS.create().then(function (A) { - y.en.create(A).then(function (C) { + return new Promise(function (z, A) { + y.Dk.mark(v.kj.Udb); + y.hS.create().then(function (B) { + y.dn.create(B).then(function (C) { Promise.all(x.map(function (E) { return E.validate(C); })).then(function () { y.storage = C; z(y.storage); }).catch(function (E) { - y.ya.debug("DB validation failed, cause: " + E); - y.config.URa ? (y.ya.debug("Fixing corrupt DB"), y.iS.gp(A).then(function () { - y.ya.error("Invalid database deleted, creating new database."); - y.fK().then(function (F) { - y.ya.error("Invalid database successfully recreated."); - y.storage = F; + y.za.debug("DB validation failed, cause: " + E); + y.config.TRa ? (y.za.debug("Fixing corrupt DB"), y.hS.hp(B).then(function () { + y.za.error("Invalid database deleted, creating new database."); + y.jK().then(function (G) { + y.za.error("Invalid database successfully recreated."); + y.storage = G; z(y.storage); }); - }).catch(function (F) { - y.ya.error("Couldn't delete invalid database."); - B(F); - })) : (y.ya.debug("Ignoring invalid DB due to config"), y.storage = C, z(y.storage)); + }).catch(function (G) { + y.za.error("Couldn't delete invalid database."); + A(G); + })) : (y.za.debug("Ignoring invalid DB due to config"), y.storage = C, z(y.storage)); }); }).catch(function (C) { - B(C); + A(C); }); - }).catch(function (A) { - B(A); + }).catch(function (B) { + A(B); }); }); }; a = c; - a = q.__decorate([l.R(), q.__param(0, l.l(d.Kb)), q.__param(1, l.l(r.MY)), q.__param(2, l.l(w.tza)), q.__param(3, l.l(w.Xza)), q.__param(4, l.fG(u.EGa)), q.__param(5, l.l(t.ND))], a); - b.Yza = a; - }, function (q, b, a) { + a = r.__decorate([l.R(), r.__param(0, l.l(d.Ib)), r.__param(1, l.l(q.LY)), r.__param(2, l.l(w.rza)), r.__param(3, l.l(w.Vza)), r.__param(4, l.lG(t.AGa)), r.__param(5, l.l(u.QD))], a); + b.Wza = a; + }, function (r, b, a) { var k, l, d; function c(g, h, m) { this.config = g; - this.co = h; - this.vC = m; + this.eo = h; + this.xC = m; } function f(g, h) { this.reason = g; @@ -70445,36 +70449,36 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Uza = b.uFa = void 0; + b.Sza = b.rFa = void 0; k = a(3); - l = a(60); + l = a(61); (function (g) { - g[g.laa = 0] = "NoData"; + g[g.daa = 0] = "NoData"; g[g.Error = 1] = "Error"; - g[g.zI = 2] = "Timeout"; - })(d = b.uFa || (b.uFa = {})); + g[g.EI = 2] = "Timeout"; + })(d = b.rFa || (b.rFa = {})); c.prototype.load = function (g) { var h; h = this; return new Promise(function (m, n) { - h.o2("get", !1, g).then(function (r) { + h.p2("get", !1, g).then(function (q) { m({ key: g, - value: r + value: q }); - }).catch(function (r) { + }).catch(function (q) { var p; - p = k.M.TFa; - switch (r.reason) { - case d.laa: - p = k.M.mA; + p = k.L.QFa; + switch (q.reason) { + case d.daa: + p = k.L.oA; break; - case d.zI: - p = k.M.Sdb; + case d.EI: + p = k.L.Vdb; } n({ oa: p, - cause: r.cause + cause: q.cause }); }); }); @@ -70482,22 +70486,22 @@ a000.D9b = function () { c.prototype.save = function (g, h, m) { var n; n = this; - return new Promise(function (r, p) { - n.o2(m ? "add" : "put", !0, { + return new Promise(function (q, p) { + n.p2(m ? "add" : "put", !0, { name: g, data: h }).then(function () { - r(!m); - }).catch(function (u) { - var t; - t = k.M.UFa; - switch (u.reason) { - case d.zI: - t = k.M.Vdb; + q(!m); + }).catch(function (t) { + var u; + u = k.L.RFa; + switch (t.reason) { + case d.EI: + u = k.L.Ydb; } p({ - oa: t, - cause: u.cause + oa: u, + cause: t.cause }); }); }); @@ -70506,18 +70510,18 @@ a000.D9b = function () { var h; h = this; return new Promise(function (m, n) { - h.o2("delete", !0, g).then(function () { + h.p2("delete", !0, g).then(function () { m(); - }).catch(function (r) { + }).catch(function (q) { var p; - p = k.M.mba; - switch (r.reason) { - case d.zI: - p = k.M.SFa; + p = k.L.gba; + switch (q.reason) { + case d.EI: + p = k.L.PFa; } n({ oa: p, - cause: r.cause + cause: q.cause }); }); }); @@ -70526,17 +70530,17 @@ a000.D9b = function () { var g; g = this; return new Promise(function (h, m) { - g.o2("clear", !0, "").then(function () { + g.p2("clear", !0, "").then(function () { h(); }).catch(function (n) { - var r; - r = k.M.mba; + var q; + q = k.L.gba; switch (n.reason) { - case d.zI: - r = k.M.SFa; + case d.EI: + q = k.L.PFa; } m({ - oa: r, + oa: q, cause: n.cause }); }); @@ -70545,29 +70549,29 @@ a000.D9b = function () { c.prototype.loadAll = function () { var g; g = this; - return this.co.Op(this.config.timeout, new Promise(function (h, m) { + return this.eo.Rp(this.config.timeout, new Promise(function (h, m) { var n, - r, + q, p; - if (g.config.jsa) - m(new f(g.config.jsa)); + if (g.config.dsa) + m(new f(g.config.dsa)); else { n = []; - r = g.vC.transaction(g.config.aV, "readonly"); - p = r.objectStore(g.config.aV).openCursor(); - r.onerror = function () { + q = g.xC.transaction(g.config.$U, "readonly"); + p = q.objectStore(g.config.$U).openCursor(); + q.onerror = function () { m(new f(d.Error, p.error)); }; - p.onsuccess = function (u) { - if (u = u.target.result) + p.onsuccess = function (t) { + if (t = t.target.result) try { n.push({ - key: u.value.name, - value: u.value.data + key: t.value.name, + value: t.value.data }); - u.continue(); - } catch (t) { - m(new f(d.Error, t)); + t.continue(); + } catch (u) { + m(new f(d.Error, u)); } else h(n); @@ -70577,41 +70581,41 @@ a000.D9b = function () { }; } })).catch(function (h) { - return h instanceof l.qq ? Promise.reject(new f(d.zI, h)) : h instanceof f ? Promise.reject(h) : Promise.reject(new f(d.Error, h)); + return h instanceof l.sq ? Promise.reject(new f(d.EI, h)) : h instanceof f ? Promise.reject(h) : Promise.reject(new f(d.Error, h)); }); }; - c.prototype.o2 = function (g, h, m) { + c.prototype.p2 = function (g, h, m) { var n; n = this; - return this.co.Op(this.config.timeout, new Promise(function (r, p) { - var u, - t; - u = n.vC.transaction(n.config.aV, h ? "readwrite" : "readonly"); - t = u.objectStore(n.config.aV)[g](m); - u.onerror = function () { - p(new f(d.Error, t.error)); + return this.eo.Rp(this.config.timeout, new Promise(function (q, p) { + var t, + u; + t = n.xC.transaction(n.config.$U, h ? "readwrite" : "readonly"); + u = t.objectStore(n.config.$U)[g](m); + t.onerror = function () { + p(new f(d.Error, u.error)); }; - t.onsuccess = function (w) { + u.onsuccess = function (w) { var v; if ("get" == g) try { v = w.target.result; - v ? r(v.data) : p(new f(d.laa)); + v ? q(v.data) : p(new f(d.daa)); } catch (x) { - p(new f(d.laa, x)); + p(new f(d.daa, x)); } else - r(void 0); + q(void 0); }; - t.onerror = function () { - p(new f(d.Error, t.error)); + u.onerror = function () { + p(new f(d.Error, u.error)); }; - })).catch(function (r) { - return r instanceof l.qq ? Promise.reject(new f(d.zI, r)) : r instanceof f ? Promise.reject(r) : Promise.reject(new f(d.Error, r)); + })).catch(function (q) { + return q instanceof l.sq ? Promise.reject(new f(d.EI, q)) : q instanceof f ? Promise.reject(q) : Promise.reject(new f(d.Error, q)); }); }; - b.Uza = c; - }, function (q, b, a) { + b.Sza = c; + }, function (r, b, a) { var f, k, l, @@ -70621,57 +70625,57 @@ a000.D9b = function () { h = l.ff.call(this, h, "IndexedDBConfigImpl") || this; h.config = m; h.version = 1; - h.aV = "namedatapairs"; + h.$U = "namedatapairs"; return h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Vza = void 0; - q = a(1); + b.Tza = void 0; + r = a(1); f = a(0); k = a(44); l = a(45); d = a(38); a = a(37); - ka(c, l.ff); + ja(c, l.ff); Xa.Object.defineProperties(c.prototype, { name: { configurable: !0, enumerable: !0, get: function () { - return "netflix.player" + (this.config.Zu ? "Test" : ""); + return "netflix.player" + (this.config.dv ? "Test" : ""); } }, timeout: { configurable: !0, enumerable: !0, get: function () { - return this.config.Dsa; + return this.config.xsa; } }, - D0: { + F0: { configurable: !0, enumerable: !0, get: function () { - return this.config.D0; + return this.config.F0; } }, - ksa: { + esa: { configurable: !0, enumerable: !0, get: function () { return 0; } }, - jsa: { + dsa: { configurable: !0, enumerable: !0, get: function () { return 0; } }, - URa: { + TRa: { configurable: !0, enumerable: !0, get: function () { @@ -70680,12 +70684,12 @@ a000.D9b = function () { } }); g = c; - q.__decorate([k.config(k.Fz, "simulateIdbOpenError")], g.prototype, "ksa", null); - q.__decorate([k.config(k.Fz, "simulateIdbLoadAllError")], g.prototype, "jsa", null); - q.__decorate([k.config(k.ud, "fixInvalidDatabase")], g.prototype, "URa", null); - g = q.__decorate([f.R(), q.__param(0, f.l(a.km)), q.__param(1, f.l(d.gm))], g); - b.Vza = g; - }, function (q, b, a) { + r.__decorate([k.config(k.Iz, "simulateIdbOpenError")], g.prototype, "esa", null); + r.__decorate([k.config(k.Iz, "simulateIdbLoadAllError")], g.prototype, "dsa", null); + r.__decorate([k.config(k.ad, "fixInvalidDatabase")], g.prototype, "TRa", null); + g = r.__decorate([f.R(), r.__param(0, f.l(a.jm)), r.__param(1, f.l(d.fm))], g); + b.Tza = g; + }, function (r, b, a) { var f, k; function c(l) { @@ -70694,8 +70698,8 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Hwa = void 0; - q = a(1); + b.Ewa = void 0; + r = a(1); f = a(0); a = a(38); Xa.Object.defineProperties(c.prototype, { @@ -70703,21 +70707,21 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.config.Dsa; + return this.config.xsa; } }, enabled: { configurable: !0, enumerable: !0, get: function () { - return this.config.J4a; + return this.config.L4a; } } }); k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.gm))], k); - b.Hwa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.fm))], k); + b.Ewa = k; + }, function (r, b, a) { var k, l, d, @@ -70725,215 +70729,215 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t) { - this.ya = r; + function c(q, p, t, u) { + this.za = q; this.config = p; - this.pDb = u; - this.Rna = t; - this.XE = { + this.tDb = t; + this.Mna = u; + this.ZE = { mem: { - storage: this.Rna, + storage: this.Mna, key: "mem" } }; - this.MC = this.config.MC; + this.NC = this.config.NC; } - function f(r, p, u, t) { - this.Bg = r; - this.en = p; - this.Rna = u; - this.config = t; + function f(q, p, t, u) { + this.Ag = q; + this.dn = p; + this.Mna = t; + this.config = u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.m9 = b.Lua = void 0; - q = a(1); + b.h9 = b.Iua = void 0; + r = a(1); k = a(0); l = a(3); - d = a(168); + d = a(167); g = a(8); - h = a(350); - m = a(662); + h = a(352); + m = a(665); a = a(38); f.prototype.create = function () { - this.dS || (this.dS = this.fK()); - return this.dS; + this.cS || (this.cS = this.jK()); + return this.cS; }; - f.prototype.fK = function () { - this.jlb = new c(this.Bg.Cb("AppStorage"), this.config, this.en, this.Rna); - return this.jlb.create(); + f.prototype.jK = function () { + this.llb = new c(this.Ag.Db("AppStorage"), this.config, this.dn, this.Mna); + return this.llb.create(); }; n = f; - n = q.__decorate([k.R(), q.__param(0, k.l(g.Kb)), q.__param(1, k.l(d.E$)), q.__param(2, k.l(h.eCa)), q.__param(3, k.l(a.gm))], n); - b.Lua = n; + n = r.__decorate([k.R(), r.__param(0, k.l(g.Ib)), r.__param(1, k.l(d.w$)), r.__param(2, k.l(h.cCa)), r.__param(3, k.l(a.fm))], n); + b.Iua = n; c.prototype.create = function () { - var r; - r = this; - return this.Prb().then(function (p) { - if (!r.Pnb(p, r.config.TT)) - throw r.KJb(p); - return r; + var q; + q = this; + return this.Qrb().then(function (p) { + if (!q.Qnb(p, q.config.RT)) + throw q.MJb(p); + return q; }); }; - c.prototype.load = function (r) { + c.prototype.load = function (q) { var p; p = this; - return new Promise(function (u, t) { - p.kT(r).storage.load(r).then(function (w) { - u(w); - }).catch(function (w) { + return new Promise(function (t, u) { + p.iT(q).storage.load(q).then(function (w) { t(w); + }).catch(function (w) { + u(w); }); }); }; - c.prototype.save = function (r, p, u) { - var t; - t = this; + c.prototype.save = function (q, p, t) { + var u; + u = this; return new Promise(function (w, v) { - t.kT(r).storage.save(r, p, u).then(function (x) { + u.iT(q).storage.save(q, p, t).then(function (x) { w(x); }).catch(function (x) { v(x); }); }); }; - c.prototype.remove = function (r) { + c.prototype.remove = function (q) { var p; p = this; - return new Promise(function (u, t) { - p.kT(r).storage.remove(r).then(function () { - u(); + return new Promise(function (t, u) { + p.iT(q).storage.remove(q).then(function () { + t(); }).catch(function (w) { - t(w); + u(w); }); }); }; c.prototype.removeAll = function () { - var r; - r = this; - return new Promise(function (p, u) { - r.x1a("mem").then(function () { - return r.x1a("idb"); - }).catch(function (t) { - return Promise.reject(t); + var q; + q = this; + return new Promise(function (p, t) { + q.x1a("mem").then(function () { + return q.x1a("idb"); + }).catch(function (u) { + return Promise.reject(u); }).then(function () { p(); - }).catch(function (t) { - r.ya.error("remove all failed"); - u(t); + }).catch(function (u) { + q.za.error("remove all failed"); + t(u); }); }); }; c.prototype.loadAll = function () { - var r, + var q, p; - r = this; + q = this; p = []; - return this.qXa("mem").then(function (u) { - p = p.concat(u); - return r.qXa("idb"); - }).catch(function (u) { - r.jFb(u) || r.ya.error("IndexedDb.LoadAll exception", u); + return this.oXa("mem").then(function (t) { + p = p.concat(t); + return q.oXa("idb"); + }).catch(function (t) { + q.mFb(t) || q.za.error("IndexedDb.LoadAll exception", t); return []; - }).then(function (u) { - return p = p.concat(u); - }).catch(function (u) { - r.ya.error("load all failed", u); - throw u; + }).then(function (t) { + return p = p.concat(t); + }).catch(function (t) { + q.za.error("load all failed", t); + throw t; }); }; - c.prototype.Prb = function () { - var r; - r = this; - return this.pDb.create().then(function (p) { - r.XE.idb = { + c.prototype.Qrb = function () { + var q; + q = this; + return this.tDb.create().then(function (p) { + q.ZE.idb = { storage: p, key: "idb" }; }).catch(function (p) { - r.ya.error("idb failed to load", p); + q.za.error("idb failed to load", p); return p || ({ - oa: l.M.jm + oa: l.L.im }); }); }; - c.prototype.Pnb = function (r, p) { - return !r || r && p ? !0 : !1; + c.prototype.Qnb = function (q, p) { + return !q || q && p ? !0 : !1; }; - c.prototype.KJb = function (r) { + c.prototype.MJb = function (q) { var p; p = ""; - r && (p += r.oa); + q && (p += q.oa); return { oa: p }; }; - c.prototype.x1a = function (r) { - return (r = this.XE[r]) ? r.storage.removeAll() : Promise.resolve(); + c.prototype.x1a = function (q) { + return (q = this.ZE[q]) ? q.storage.removeAll() : Promise.resolve(); }; - c.prototype.qXa = function (r) { - return (r = this.XE[r]) ? r.storage.loadAll() : Promise.resolve([]); + c.prototype.oXa = function (q) { + return (q = this.ZE[q]) ? q.storage.loadAll() : Promise.resolve([]); }; - c.prototype.Twb = function (r) { - for (var p in this.MC) { - if (r.startsWith(p)) - return this.MC[p]; + c.prototype.Zwb = function (q) { + for (var p in this.NC) { + if (q.startsWith(p)) + return this.NC[p]; } - return this.MC[m.u9a]; + return this.NC[m.w9a]; }; - c.prototype.kT = function (r) { + c.prototype.iT = function (q) { var p, - u; + t; p = this; - this.Twb(r).every(function (t) { - return p.XE[t] ? (u = p.XE[t], !1) : !0; + this.Zwb(q).every(function (u) { + return p.ZE[u] ? (t = p.ZE[u], !1) : !0; }); - if (!u) { - this.ya.error("component not found for storageKey", { - RTb: r, - u3b: Object.keys(this.XE), - rules: this.MC + if (!t) { + this.za.error("component not found for storageKey", { + TTb: q, + w3b: Object.keys(this.ZE), + rules: this.NC }); - u = this.XE.mem; + t = this.ZE.mem; } - this.ya.trace("component found for key", { - storageKey: r, - componentKey: u.key + this.za.trace("component found for key", { + storageKey: q, + componentKey: t.key }); - return u; + return t; }; - c.prototype.jFb = function (r) { - return (r && (r.oa || r.errorSubCode)) === l.M.mA; + c.prototype.mFb = function (q) { + return (q && (q.oa || q.errorSubCode)) === l.L.oA; }; - b.m9 = c; - }, function (q, b) { + b.h9 = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.u9a = "__default_rule_key__"; - }, function (q, b, a) { + b.w9a = "__default_rule_key__"; + }, function (r, b, a) { var f, k, l; function c(d) { - this.Bg = d; - this.gG = {}; - this.ya = this.Bg.Cb("MemoryStorage"); + this.Ag = d; + this.mG = {}; + this.za = this.Ag.Db("MemoryStorage"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.dCa = void 0; - q = a(1); + b.bCa = void 0; + r = a(1); f = a(0); k = a(3); a = a(8); c.prototype.load = function (d) { var g; - if (this.gG.hasOwnProperty(d)) { - g = this.gG[d]; - this.ya.debug("Storage entry loaded", { + if (this.mG.hasOwnProperty(d)) { + g = this.mG[d]; + this.za.debug("Storage entry loaded", { key: d }); return Promise.resolve({ @@ -70941,26 +70945,26 @@ a000.D9b = function () { value: g }); } - this.ya.debug("Storage entry not found", { + this.za.debug("Storage entry not found", { key: d }); return Promise.reject({ - oa: k.M.mA + oa: k.L.oA }); }; c.prototype.save = function (d, g, h) { - if (h && this.gG.hasOwnProperty(d)) + if (h && this.mG.hasOwnProperty(d)) return Promise.resolve(!1); - this.gG[d] = g; + this.mG[d] = g; return Promise.resolve(!0); }; c.prototype.remove = function (d) { - delete this.gG[d]; + delete this.mG[d]; return Promise.resolve(); }; c.prototype.loadAll = function () { var d; - d = Object.entries(this.gG).map(function (g) { + d = Object.entries(this.mG).map(function (g) { var h; h = aa(g); g = h.next().value; @@ -70973,13 +70977,13 @@ a000.D9b = function () { return Promise.resolve(d); }; c.prototype.removeAll = function () { - this.gG = {}; + this.mG = {}; return Promise.resolve(); }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(a.Kb))], l); - b.dCa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(a.Ib))], l); + b.bCa = l; + }, function (r, b, a) { var c, f, k, @@ -70989,20 +70993,20 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ME = void 0; - q = a(0); - c = a(351); - f = a(352); - k = a(353); - l = a(665); - d = a(666); - g = a(667); - b.ME = new q.ad(function (h) { - h(c.Dva).to(l.Cva).$(); - h(f.Bva).to(d.yva).$(); - h(k.Ava).to(g.zva).$(); - }); - }, function (q, b, a) { + b.VJ = void 0; + r = a(0); + c = a(353); + f = a(354); + k = a(355); + l = a(668); + d = a(669); + g = a(670); + b.VJ = new r.$c(function (h) { + h(c.Ava).to(l.zva).aa(); + h(f.yva).to(d.vva).aa(); + h(k.xva).to(g.wva).aa(); + }); + }, function (r, b, a) { var f, k, l, @@ -71010,79 +71014,79 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u, t) { - this.N0 = r; + function c(n, q, p, t, u) { + this.P0 = q; this.bb = p; - this.Kmb = u; - this.config = t; - this.ya = n.Cb("Bookmark"); + this.Lmb = t; + this.config = u; + this.za = n.Db("Bookmark"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Cva = void 0; - q = a(1); + b.zva = void 0; + r = a(1); f = a(0); - k = a(352); - l = a(353); + k = a(354); + l = a(355); d = a(8); g = a(26); - h = a(5); + h = a(4); a = a(15); - c.prototype.Qkb = function (n) { - var r, + c.prototype.Rkb = function (n) { + var q, p; - r = n.kb.playbackState && n.kb.playbackState.currentTime; - p = this.Syb(n.K); - r = this.bb.gF(r) ? h.uc(r) : p; - if (this.bb.eg(r)) - (this.ya.info("Overriding bookmark", { - From: n.wH.ea(h.ma), - To: r.ea(h.ma) + q = n.kb.playbackState && n.kb.playbackState.currentTime; + p = this.Wyb(n.K); + q = this.bb.jF(q) ? h.wc(q) : p; + if (this.bb.eg(q)) + (this.za.info("Overriding bookmark", { + From: n.EH.ea(h.ma), + To: q.ea(h.ma) }), n = Object.assign({}, n, { - wH: r + EH: q })); - else if (this.tDb(n)) - return (this.ya.trace("Ignoring bookmark because it's too close to beginning"), h.Wg(0)); - return n.wH.bma() ? (this.ya.trace("Ignoring bookmark because it's negative"), h.Wg(0)) : this.sDb(n) ? (this.ya.trace("Ignoring bookmark because it's too close to end"), h.Wg(0)) : this.rDb(n) ? (this.ya.trace("Ignoring bookmark because it's too close to the end to start decoding"), h.Wg(0)) : n.wH; + else if (this.xDb(n)) + return (this.za.trace("Ignoring bookmark because it's too close to beginning"), h.Ug(0)); + return n.EH.Wla() ? (this.za.trace("Ignoring bookmark because it's negative"), h.Ug(0)) : this.wDb(n) ? (this.za.trace("Ignoring bookmark because it's too close to end"), h.Ug(0)) : this.vDb(n) ? (this.za.trace("Ignoring bookmark because it's too close to the end to start decoding"), h.Ug(0)) : n.EH; }; - c.prototype.tDb = function (n) { - return 0 > n.wH.Wk(this.Nja(n)); + c.prototype.xDb = function (n) { + return 0 > n.EH.Wk(this.Gja(n)); }; - c.prototype.Nja = function (n) { - return this.aNa(this.N0.Nja(), n.s6); + c.prototype.Gja = function (n) { + return this.aNa(this.P0.Gja(), n.r6); }; - c.prototype.sDb = function (n) { - return 0 < n.wH.Wk(this.Oja(n)); + c.prototype.wDb = function (n) { + return 0 < n.EH.Wk(this.Hja(n)); }; - c.prototype.Oja = function (n) { - var r; - r = n.kb.Ol ? this.N0.Ozb() : this.N0.Oja(); - return n.s6.Ba(this.aNa(r, n.s6)); + c.prototype.Hja = function (n) { + var q; + q = n.kb.Nl ? this.P0.Szb() : this.P0.Hja(); + return n.r6.Da(this.aNa(q, n.r6)); }; - c.prototype.rDb = function (n) { - return 0 < n.wH.Wk(this.uzb(n)); + c.prototype.vDb = function (n) { + return 0 < n.EH.Wk(this.yzb(n)); }; - c.prototype.uzb = function (n) { - var r; - r = n.kb.Ol ? this.config().i_a : this.config().oG; - return n.s6.Ba(h.uc(r)); + c.prototype.yzb = function (n) { + var q; + q = n.kb.Nl ? this.config().g_a : this.config().uG; + return n.r6.Da(h.wc(q)); }; - c.prototype.Syb = function (n) { - var r; - n = this.N0.tja()[n]; - r = -1; - this.bb.So(n) ? r = parseInt(n) : this.bb.$h(n) && (r = n); - if (this.bb.mR(r)) - return h.uc(r); + c.prototype.Wyb = function (n) { + var q; + n = this.P0.mja()[n]; + q = -1; + this.bb.Uo(n) ? q = parseInt(n) : this.bb.$h(n) && (q = n); + if (this.bb.oR(q)) + return h.wc(q); }; - c.prototype.aNa = function (n, r) { - return this.Kmb.fUb(n, r); + c.prototype.aNa = function (n, q) { + return this.Lmb.hUb(n, q); }; m = c; - m = q.__decorate([f.R(), q.__param(0, f.l(d.Kb)), q.__param(1, f.l(k.Bva)), q.__param(2, f.l(g.Gf)), q.__param(3, f.l(l.Ava)), q.__param(4, f.l(a.dd))], m); - b.Cva = m; - }, function (q, b, a) { + m = r.__decorate([f.R(), r.__param(0, f.l(d.Ib)), r.__param(1, f.l(k.yva)), r.__param(2, f.l(g.Hf)), r.__param(3, f.l(l.xva)), r.__param(4, f.l(a.ed))], m); + b.zva = m; + }, function (r, b, a) { var f, k; function c(l) { @@ -71091,29 +71095,29 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.yva = void 0; - q = a(1); + b.vva = void 0; + r = a(1); f = a(0); a = a(15); - c.prototype.Nja = function () { - return this.xB().Lmb; - }; - c.prototype.Oja = function () { + c.prototype.Gja = function () { return this.xB().Mmb; }; - c.prototype.Ozb = function () { + c.prototype.Hja = function () { return this.xB().Nmb; }; - c.prototype.tja = function () { + c.prototype.Szb = function () { + return this.xB().Omb; + }; + c.prototype.mja = function () { return this.xB().$Ma; }; c.prototype.xB = function () { return this.config(); }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.l(a.dd))], k); - b.yva = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.l(a.ed))], k); + b.vva = k; + }, function (r, b, a) { var f, k, l; @@ -71123,36 +71127,36 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zva = void 0; - q = a(1); + b.wva = void 0; + r = a(1); f = a(0); k = a(26); - l = a(5); - c.prototype.fUb = function (d, g) { + l = a(4); + c.prototype.hUb = function (d, g) { var h, m; h = parseFloat(d); m = 0; - "%" === d[d.length - 1] && this.bb.$h(h) ? m = Math.round(h * g.ea(l.ma) / 100) : (d = parseInt(d), this.bb.mR(d) && (m = d)); - return l.uc(Math.min(m, g.ea(l.ma))); + "%" === d[d.length - 1] && this.bb.$h(h) ? m = Math.round(h * g.ea(l.ma) / 100) : (d = parseInt(d), this.bb.oR(d) && (m = d)); + return l.wc(Math.min(m, g.ea(l.ma))); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Gf))], a); - b.zva = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.Hf))], a); + b.wva = a; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); b.vNa = void 0; - q = a(0); - c = a(354); - f = a(669); - b.vNa = new q.ad(function (k) { - k(c.Tva).to(f.Sva).$(); + r = a(0); + c = a(356); + f = a(672); + b.vNa = new r.$c(function (k) { + k(c.Qva).to(f.Pva).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -71161,70 +71165,70 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v, x) { + q; + function c(p, t, u, w, v, x) { this.config = p; - this.lC = t; + this.nC = u; this.profile = w; - this.s8 = v; - this.NR = x; - this.log = u.Cb("CDMAttestedDescriptor"); - this.ESa(n.hu.EP); + this.o8 = v; + this.OR = x; + this.log = t.Db("CDMAttestedDescriptor"); + this.ESa(n.ou.EP); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Sva = void 0; - q = a(1); + b.Pva = void 0; + r = a(1); f = a(0); k = a(15); l = a(8); d = a(141); - g = a(212); + g = a(213); h = a(89); m = a(163); n = a(38); - r = a(59); + q = a(60); c.prototype.ESa = function (p) { - var u; - u = this; - return this.s8.F7(p) ? this.config().evb ? this.CSa().then(function (t) { - if (t) + var t; + t = this; + return this.o8.B7(p) ? this.config().ivb ? this.CSa().then(function (u) { + if (u) return (!1, Promise.resolve(void 0)); - u.lXa || (!1, u.lXa = u.NR.ska(r.Th.kn)); - return u.lXa; - }).catch(function (t) { - u.log.error("Failed to generate challenge", t); - }).then(function (t) { - null === t || void 0 === t ? void 0 : t.Nb.close(); - return null === t || void 0 === t ? void 0 : t.Sfa; - }).then(function (t) { - return Promise.all([Promise.resolve(t), u.CSa()]); - }).then(function (t) { + t.jXa || (!1, t.jXa = t.OR.oka(q.Th.jn)); + return t.jXa; + }).catch(function (u) { + t.log.error("Failed to generate challenge", u); + }).then(function (u) { + null === u || void 0 === u ? void 0 : u.Nb.close(); + return null === u || void 0 === u ? void 0 : u.Mfa; + }).then(function (u) { + return Promise.all([Promise.resolve(u), t.CSa()]); + }).then(function (u) { var w; - t = aa(t); - w = t.next().value; - if (t.next().value) + u = aa(u); + w = u.next().value; + if (u.next().value) !1; else return w; - }) : this.lC().then(function (t) { - t.OU.removeServiceToken("cad"); + }) : this.nC().then(function (u) { + u.NU.removeServiceToken("cad"); }) : Promise.resolve(void 0); }; c.prototype.CSa = function () { var p; p = this; - return this.lC().then(function (u) { - return (u = u.OU.getServiceTokens(p.profile)) && u.find(function (t) { - return "cad" === t.name; + return this.nC().then(function (t) { + return (t = t.NU.getServiceTokens(p.profile)) && t.find(function (u) { + return "cad" === u.name; }); }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.dd)), q.__param(1, f.l(l.Kb)), q.__param(2, f.l(d.pP)), q.__param(3, f.l(h.GP)), q.__param(4, f.l(g.HZ)), q.__param(5, f.l(m.VX))], a); - b.Sva = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.ed)), r.__param(1, f.l(l.Ib)), r.__param(2, f.l(d.qP)), r.__param(3, f.l(h.GP)), r.__param(4, f.l(g.JZ)), r.__param(5, f.l(m.UX))], a); + b.Pva = a; + }, function (r, b, a) { var c, f, k, @@ -71234,57 +71238,57 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; Object.defineProperty(b, "__esModule", { value: !0 }); - b.WXa = void 0; - q = a(0); - c = a(355); - f = a(671); - k = a(356); - l = a(702); - d = a(366); - g = a(367); - h = a(369); - m = a(703); - n = a(370); - r = a(704); + b.UXa = void 0; + r = a(0); + c = a(357); + f = a(674); + k = a(358); + l = a(705); + d = a(368); + g = a(369); + h = a(371); + m = a(706); + n = a(372); + q = a(707); p = a(143); - u = a(705); - t = a(372); - w = a(706); - b.WXa = new q.ad(function (v) { - v(k.uBa).to(l.tBa).$(); - v(c.wBa).to(f.vBa).$(); - v(d.CEa).si(function (x) { + t = a(708); + u = a(374); + w = a(709); + b.UXa = new r.$c(function (v) { + v(k.sBa).to(l.rBa).aa(); + v(c.uBa).to(f.tBa).aa(); + v(d.AEa).si(function (x) { for (var y = [], z = 0; z < arguments.length; ++z) { y[z - 0] = arguments[z]; } - z = a(217).MD; + z = a(218).PD; return new(Function.prototype.bind.apply(z, [null].concat(ca(y))))(); }); - v(g.lHa).si(function (x) { + v(g.hHa).si(function (x) { for (var y = [], z = 0; z < arguments.length; ++z) { y[z - 0] = arguments[z]; } - z = a(439).hwa; + z = a(443).ewa; return new(Function.prototype.bind.apply(z, [null].concat(ca(y))))(); }); - v(h.BBa).sf(function () { + v(h.zBa).sf(function () { return function (x) { - return new m.CBa(x); + return new m.ABa(x); }; }); - v(n.ABa).to(r.zBa).$(); - v(p.kP).to(u.rBa).$(); - v(t.qBa).to(w.pBa).$(); + v(n.yBa).to(q.xBa).aa(); + v(p.lP).to(t.pBa).aa(); + v(u.oBa).to(w.nBa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -71293,45 +71297,45 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; function c(w, v, x, y, z) { - this.Bg = w; + this.Ag = w; this.config = v; - this.Hpa = x; - this.pta = y; - this.o8 = z; + this.Cpa = x; + this.kta = y; + this.k8 = z; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vBa = void 0; - q = a(1); + b.tBa = void 0; + r = a(1); f = a(0); k = a(8); - l = a(356); - d = a(672); - g = a(697); - h = a(698); - m = a(699); - n = a(700); - r = a(701); - p = a(366); - u = a(367); - a = a(368); + l = a(358); + d = a(675); + g = a(700); + h = a(701); + m = a(702); + n = a(703); + q = a(704); + p = a(368); + t = a(369); + a = a(370); c.prototype.create = function (w) { var v, x; - v = this.Bg.Cb("ManifestParser", w); - x = new d.pwa(v, this.config); - return new h.xBa(x, new g.YGa(v, this.config, w, x, this.Hpa), new m.vHa(v, w, this.pta), new n.ova(v, this.config, w, this.o8), new r.THa(v, this.o8)); + v = this.Ag.Db("ManifestParser", w); + x = new d.mwa(v, this.config); + return new h.vBa(x, new g.UGa(v, this.config, w, x, this.Cpa), new m.rHa(v, w, this.kta), new n.lva(v, this.config, w, this.k8), new q.PHa(v, this.k8)); }; - t = c; - t = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.uBa)), q.__param(2, f.l(p.CEa)), q.__param(3, f.l(a.tHa)), q.__param(4, f.l(u.lHa))], t); - b.vBa = t; - }, function (q, b, a) { + u = c; + u = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.sBa)), r.__param(2, f.l(p.AEa)), r.__param(3, f.l(a.pHa)), r.__param(4, f.l(t.hHa))], u); + b.tBa = u; + }, function (r, b, a) { var f; function c(k, l) { this.log = k; @@ -71340,18 +71344,18 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pwa = void 0; - f = a(122); - c.prototype.A_a = function (k, l, d) { + b.mwa = void 0; + f = a(121); + c.prototype.y_a = function (k, l, d) { var g, h, m, n, - r; + q; g = this; - h = this.config.Pfa; - m = this.config.Ofa; - k = aa(f.mt(function (p) { + h = this.config.Ifa; + m = this.config.Hfa; + k = aa(f.st(function (p) { return (!h.length || 0 <= h.indexOf(p.id)) && 0 > m.indexOf(p.id); }, k || [])); n = k.next().value; @@ -71360,69 +71364,69 @@ a000.D9b = function () { Id: p.id }); }); - r = n.map(function (p) { - var u; - u = (l ? l.find(function (t) { - return t.key === p.key; + q = n.map(function (p) { + var t; + t = (l ? l.find(function (u) { + return u.key === p.key; }) : void 0) || ({}); return { id: p.id, name: p.name, - Eg: p.Eg, + Qe: p.Qe, type: p.type, - Sma: p.key, - u5b: p.LXa, + Mma: p.key, + F5b: p.JXa, location: { - id: u.key, - Eg: u.Eg, - level: u.level, - weight: u.weight, + id: t.key, + Qe: t.Qe, + level: t.level, + weight: t.weight, Uk: [] } }; }); - r.sort(function (p, u) { - return p.Eg - u.Eg; + q.sort(function (p, t) { + return p.Qe - t.Qe; }); - r.forEach(function (p) { - return p.location.Uk = r.filter(function (u) { - return u.Sma === p.Sma; + q.forEach(function (p) { + return p.location.Uk = q.filter(function (t) { + return t.Mma === p.Mma; }); }); this.log.trace("Transformed cdns", { - Count: r.length + Count: q.length }); - if (d && !r.length) + if (d && !q.length) throw Error("no valid cdns"); - return r; + return q; }; - b.pwa = c; - }, function (q, b, a) { + b.mwa = c; + }, function (r, b, a) { var c; - b = a(169); - c = a(674); + b = a(168); + c = a(677); a = b(function (f, k, l) { return c(function (d, g, h) { return f(g, h); }, k, l); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f; - b = a(169); - c = a(357); - f = a(675); + b = a(168); + c = a(359); + f = a(678); a = b(function h(l, d, g) { - return f(function (m, n, r) { - return c(n) && c(r) ? h(l, n, r) : l(m, n, r); + return f(function (m, n, q) { + return c(n) && c(q) ? h(l, n, q) : l(m, n, q); }, d, g); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c; - b = a(169); - c = a(213); + b = a(168); + c = a(214); a = b(function (f, k, l) { var d, g; @@ -71435,41 +71439,41 @@ a000.D9b = function () { } return d; }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c; - b = a(358); - c = a(685); - a = a(695); + b = a(360); + c = a(688); + a = a(698); a = c([b, a]); - q.exports = a; - }, function (q) { - q.exports = function (b) { + r.exports = a; + }, function (r) { + r.exports = function (b) { return "function" === typeof b["@@transducer/step"]; }; - }, function (q) { - q.exports = function (b, a) { + }, function (r) { + r.exports = function (b, a) { for (var c = 0, f = a.length, k = []; c < f; ) { b(a[c]) && (k[k.length] = a[c]); c += 1; } return k; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; - b = a(123); - c = a(360); - f = a(680); + b = a(122); + c = a(362); + f = a(683); a = b(function (k) { return c(k) ? !0 : !k || "object" !== typeof k || f(k) ? !1 : 1 === k.nodeType ? !!k.length : 0 === k.length ? !0 : 0 < k.length ? k.hasOwnProperty(0) && k.hasOwnProperty(k.length - 1) : !1; }); - q.exports = a; - }, function (q) { - q.exports = function (b) { + r.exports = a; + }, function (r) { + r.exports = function (b) { return "[object String]" === Object.prototype.toString.call(b); }; - }, function (q) { + }, function (r) { var b; b = (function () { function a(c) { @@ -71486,45 +71490,45 @@ a000.D9b = function () { }; return a; })(); - q.exports = function (a) { + r.exports = function (a) { return new b(a); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; - c = a(215); + c = a(216); b = a(57)(function (f, k) { return c(f.length, function () { return f.apply(k, arguments); }); }); - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var c, f; b = a(57); - c = a(361); + c = a(363); f = (function () { function k(l, d) { - this.DX = d; + this.CX = d; this.f = l; } k.prototype["@@transducer/init"] = c.mb; k.prototype["@@transducer/result"] = c.result; k.prototype["@@transducer/step"] = function (l, d) { - return this.f(d) ? this.DX["@@transducer/step"](l, d) : l; + return this.f(d) ? this.CX["@@transducer/step"](l, d) : l; }; return k; })(); a = b(function (k, l) { return new f(k, l); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f; - c = a(213); + c = a(214); f = Object.prototype.toString; - q.exports = function () { + r.exports = function () { return "[object Arguments]" === f.call(arguments) ? function (k) { return "[object Arguments]" === f.call(k); } @@ -71532,76 +71536,76 @@ a000.D9b = function () { return c("callee", k); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c; - b = a(123); - c = a(686); + b = a(122); + c = a(689); a = b(function (f) { return c(function () { return Array.prototype.slice.call(arguments, 0); }, f); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f, k, l, d; b = a(57); - c = a(363); - f = a(364); - k = a(688); - l = a(689); - d = a(694); + c = a(365); + f = a(366); + k = a(691); + l = a(692); + d = a(697); a = b(function (g, h) { return f(d(k, 0, l("length", h)), function () { var m, n; m = arguments; n = this; - return g.apply(n, c(function (r) { - return r.apply(n, m); + return g.apply(n, c(function (q) { + return q.apply(n, m); }, h)); }); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var f, k; function c(l, d, g) { return function () { var p; - for (var h = [], m = 0, n = l, r = 0; r < d.length || m < arguments.length; ) { - if (r < d.length && (!k(d[r]) || m >= arguments.length)) - p = d[r]; + for (var h = [], m = 0, n = l, q = 0; q < d.length || m < arguments.length; ) { + if (q < d.length && (!k(d[q]) || m >= arguments.length)) + p = d[q]; else (p = arguments[m], m += 1); - h[r] = p; + h[q] = p; k(p) || --n; - r += 1; + q += 1; } return 0 >= n ? g.apply(this, h) : f(n, c(l, h, g)); }; } - f = a(215); - k = a(170); - q.exports = c; - }, function (q, b, a) { + f = a(216); + k = a(169); + r.exports = c; + }, function (r, b, a) { b = a(57)(function (c, f) { return f > c ? f : c; }); - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var c, f; b = a(57); - c = a(690); - f = a(692); + c = a(693); + f = a(695); a = b(function (k, l) { return c(f(k), l); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f, k, @@ -71609,12 +71613,12 @@ a000.D9b = function () { d, g; b = a(57); - c = a(359); - f = a(363); - k = a(214); - l = a(691); - d = a(364); - g = a(362); + c = a(361); + f = a(365); + k = a(215); + l = a(694); + d = a(366); + g = a(364); a = b(c(["fantasy-land/map", "map"], l, function (h, m) { switch (Object.prototype.toString.call(m)) { case "[object Function]": @@ -71622,45 +71626,45 @@ a000.D9b = function () { return h.call(this, m.apply(this, arguments)); }); case "[object Object]": - return k(function (n, r) { - n[r] = h(m[r]); + return k(function (n, q) { + n[q] = h(m[q]); return n; }, {}, g(m)); default: return f(h, m); } })); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f; b = a(57); - c = a(361); + c = a(363); f = (function () { function k(l, d) { - this.DX = d; + this.CX = d; this.f = l; } k.prototype["@@transducer/init"] = c.mb; k.prototype["@@transducer/result"] = c.result; k.prototype["@@transducer/step"] = function (l, d) { - return this.DX["@@transducer/step"](l, this.f(d)); + return this.CX["@@transducer/step"](l, this.f(d)); }; return k; })(); a = b(function (k, l) { return new f(k, l); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c; b = a(57); - c = a(693); + c = a(696); a = b(function (f, k) { return c([f], k); }); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { b = a(57)(function (c, f) { for (var k = 0; k < c.length; ) { if (null == f) @@ -71670,62 +71674,62 @@ a000.D9b = function () { } return f; }); - q.exports = b; - }, function (q, b, a) { - b = a(169); - a = a(214); + r.exports = b; + }, function (r, b, a) { + b = a(168); + a = a(215); a = b(a); - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f; - c = a(696); + c = a(699); b = a(57); - f = a(358); + f = a(360); a = b(function (k, l) { return f(c(k), l); }); - q.exports = a; - }, function (q) { - q.exports = function (b) { + r.exports = a; + }, function (r) { + r.exports = function (b) { return function () { return !b.apply(this, arguments); }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d; - function c(g, h, m, n, r) { + function c(g, h, m, n, q) { this.log = g; this.config = h; this.j = m; - this.Qfa = n; - this.Hpa = r; + this.Jfa = n; + this.Cpa = q; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.YGa = void 0; + b.UGa = void 0; f = a(50); k = a(11); l = a(142); - d = a(216); - c.prototype.ZLb = function (g) { + d = a(217); + c.prototype.aMb = function (g) { var h; h = this; g = g.map(function (m) { var n, - r, + q, p; - n = h.IVb(m); - !1 !== m.BL || n.length || h.log.error("track without downloadables", h.ATa(m)); - !0 !== m.Vla || n.length || h.log.error("forced track without downloadables", h.ATa(m)); - r = {}; + n = h.KVb(m); + !1 !== m.DL || n.length || h.log.error("track without downloadables", h.BTa(m)); + !0 !== m.Pla || n.length || h.log.error("forced track without downloadables", h.BTa(m)); + q = {}; p = []; - 0 < n.length && (r = n[0], r.profile == f.Or.iI && (r = h.oRb(n), !1), p = h.Qfa.A_a(m.Znb, void 0, !1)); - m = h.Hpa(h.j, m.ht, m.id, r.Dd, r.urls || ({}), p, m.language, m.I4, l.FZ[m.po.toLowerCase()] || l.rq.oI, m.FN, m.variant, m.MM.toUpperCase(), r.profile, h.oAb(r) || ({}), m.BL, m.Vla, m.v4, m.Os); + 0 < n.length && (q = n[0], q.profile == f.Rr.qI && (q = h.rRb(n), !1), p = h.Jfa.y_a(m.$nb, void 0, !1)); + m = h.Cpa(h.j, m.ot, m.id, q.Cd, q.urls || ({}), p, m.Qe, m.language, m.I4, l.HZ[m.qo.toLowerCase()] || l.tq.vI, m.GN, m.variant, m.MM.toUpperCase(), q.profile, h.rAb(q) || ({}), m.DL, m.Pla, m.v4, m.Ts); h.log.trace("Transformed timed text track", m); return m; }); @@ -71734,105 +71738,105 @@ a000.D9b = function () { }); return g; }; - c.prototype.gVb = function (g) { + c.prototype.iVb = function (g) { var h, m; h = this; - m = this.config.dja; + m = this.config.Xia; if (m) { if (g = aa(g.filter(function (n) { return n.wm == m || n.trackId == m; })).next().value) return g; - } else if (this.j.E2 && (g = aa(g.filter(function (n) { - return n.trackId == h.j.E2; + } else if (this.j.F2 && (g = aa(g.filter(function (n) { + return n.trackId == h.j.F2; })).next().value)) return g; }; - c.prototype.IVb = function (g) { + c.prototype.KVb = function (g) { var h, m; h = this; - m = g.Cub; - g = Object.entries(g.bWb || ({})).map(function (n) { - var r; - r = aa(n); - n = r.next().value; - r = r.next().value; + m = g.Gub; + g = Object.entries(g.dWb || ({})).map(function (n) { + var q; + q = aa(n); + n = q.next().value; + q = q.next().value; return { - Dd: m[n], + Cd: m[n], profile: n, - size: r.size || 0, - priority: h.mzb(n, r), - offset: r.Una || 0, - vMb: r.width, - Y_a: r.height, - urls: r.Xx + size: q.size || 0, + priority: h.qzb(n, q), + offset: q.Pna || 0, + yMb: q.width, + W_a: q.height, + urls: q.by }; }); - g.sort(function (n, r) { - return n.priority - r.priority; + g.sort(function (n, q) { + return n.priority - q.priority; }); return g; }; - c.prototype.mzb = function (g, h) { + c.prototype.qzb = function (g, h) { var m, n; - m = this.config.$v.indexOf(g); + m = this.config.ew.indexOf(g); h = h.size; - n = this.config.MN; - return g === f.Or.P9 && 0 < n && h > n ? this.config.$v.length + 1 : 0 <= m ? m : this.config.$v.length; + n = this.config.NN; + return g === f.Rr.K9 && 0 < n && h > n ? this.config.ew.length + 1 : 0 <= m ? m : this.config.ew.length; }; - c.prototype.oAb = function (g) { - if (g.profile === f.Or.iI) + c.prototype.rAb = function (g) { + if (g.profile === f.Rr.qI) return { offset: g.offset, length: g.size, - e7: { - width: g.vMb, - height: g.Y_a + bW: { + width: g.yMb, + height: g.W_a } }; }; - c.prototype.oRb = function (g) { + c.prototype.rRb = function (g) { var h, m; - h = this.config.sla || d.DZ.hka(); + h = this.config.nla || d.EZ.dka(); m = aa(g.filter(function (n) { - return n.profile === f.Or.iI; + return n.profile === f.Rr.qI; }).filter(function (n) { - return n.Y_a === h; + return n.W_a === h; })).next().value; if (m) return m; this.log.warn("none of the downloadables match the intended resolution", { - screenHeight: k.ju.height, + screenHeight: k.qu.height, intendedResolution: h }); return g[0]; }; - c.prototype.ATa = function (g) { + c.prototype.BTa = function (g) { return { - isNone: g.BL, - isForced: g.Vla, + isNone: g.DL, + isForced: g.Pla, bcp47: g.language, - id: g.ht + id: g.ot }; }; - b.YGa = c; - }, function (q, b) { + b.UGa = c; + }, function (r, b) { function a(c, f, k, l, d) { - this.Qfa = c; - this.K4a = f; - this.RVb = k; + this.Jfa = c; + this.M4a = f; + this.TVb = k; this.GMa = l; - this.I6a = d; + this.L6a = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.xBa = void 0; - a.prototype.ULb = function (c) { + b.vBa = void 0; + a.prototype.XLb = function (c) { var f, k, l, @@ -71841,88 +71845,74 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; - f = c.Wc; - c = this.Qfa.A_a(f.Kt, f.Un, !0); - k = this.K4a.ZLb(f.jVb); - l = this.RVb.$Lb(f.UVb); - d = this.GMa.MLb(f.IMa, f.media, k); - g = this.I6a.aMb(f.Nz); - h = this.WLb(f, d, k); - m = h[0]; - n = g[0]; - r = this.GMa.$lb(d) || m.Bd || d[0]; - m = this.K4a.gVb(r.cm) || m.Nc || r.cm[0]; - p = this.I6a.XLb(f.Nz); - u = f.Ti; - t = f.Sob; - w = f.MT; - v = f.Kl; + f = c.Xc; + c = this.Jfa.y_a(f.Pt, f.Wn, !0); + k = this.M4a.aMb(f.lVb); + l = this.TVb.bMb(f.WVb); + d = this.GMa.PLb(f.IMa, f.media, k); + g = this.L6a.cMb(f.WC); + h = f.ttb[0]; + m = g[0]; + n = this.GMa.$lb(d) || d.find(function (y) { + return y.SF === h.ME; + }) || d[0]; + q = this.M4a.iVb(n.am) || k.find(function (y) { + return y.SF === h.sUb; + }) || n.am[0]; + p = this.L6a.ZLb(f.WC); + t = f.Ri; + u = f.Tob; + w = f.KT; + v = f.Jl; x = f.IMa.findIndex(function (y) { - return y.ht == r.trackId; + return y.ot == n.trackId; }); - f = f.Nz.findIndex(function (y) { - return y.ht == n.trackId; + f = f.WC.findIndex(function (y) { + return y.ot == m.trackId; }); return { - Bt: p, + Gt: p, Uk: c, - Yo: d, - so: g, - cm: k, - Dz: l, - Ti: u, - FRb: t, - XB: w, - Kl: v, - jtb: x, - rtb: f, - D6: h, - qha: n, - lS: r, - pha: m - }; - }; - a.prototype.WLb = function (c, f, k) { - var l, - d; - l = []; - d = c.PPa[0]; - l.push({ - Bd: f.find(function (g) { - return g.NF === d.KE; - }), - Nc: k.find(function (g) { - return g.NF === d.qUb; - }), - Y6b: 0 - }); - return l; - }; - b.xBa = a; - }, function (q, b) { + Zo: d, + uo: g, + am: k, + Gz: l, + Ri: t, + IRb: u, + ZB: w, + Jl: v, + ltb: x, + utb: f, + kha: m, + kS: n, + jha: q + }; + }; + b.vBa = a; + }, function (r, b) { function a(c, f, k) { this.log = c; this.j = f; - this.pta = k; + this.kta = k; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vHa = void 0; - a.prototype.$Lb = function (c) { + b.rHa = void 0; + a.prototype.bMb = function (c) { var f; f = this; c = (c || []).filter(function (k) { return k.urls && 0 < k.urls.length; }).map(function (k) { - return f.pta(f.j, k.id, k.height, k.width, k.AMb, k.BMb, k.size, k.Os, { + return f.kta(f.j, k.id, k.height, k.width, k.DMb, k.EMb, k.size, k.Ts, { unknown: k.urls[0] }); }); @@ -71935,15 +71925,15 @@ a000.D9b = function () { }); return c; }; - b.vHa = a; - }, function (q, b, a) { + b.rHa = a; + }, function (r, b, a) { var f, k, l, d, g; - function c(h, m, n, r) { - h = k.mP.call(this, h, r) || this; + function c(h, m, n, q) { + h = k.nP.call(this, h, q) || this; h.config = m; h.j = n; return h; @@ -71951,71 +71941,72 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ova = void 0; - f = a(339); - k = a(365); - l = a(122); + b.lva = void 0; + f = a(341); + k = a(367); + l = a(121); d = a(81); g = a(142); - ka(c, k.mP); - c.prototype.MLb = function (h, m, n) { - var r, + ja(c, k.nP); + c.prototype.PLb = function (h, m, n) { + var q, p, - u, - t; - r = this; - p = aa(l.mt(function (w) { - return w.BL; + t, + u; + q = this; + p = aa(l.st(function (w) { + return w.DL; }, h)); h = p.next().value; p = p.next().value; - p = aa(l.mt(function (w) { + p = aa(l.st(function (w) { return w.streams && 0 < w.streams.length; }, p)); - u = p.next().value; + t = p.next().value; p.next().value.forEach(function (w) { - return r.log.warn("Audio track is missing streams", r.IUa(w)); + return q.log.warn("Audio track is missing streams", q.HUa(w)); }); - t = this.config.Qsa; - p = aa(l.mt(function (w) { - return 0 === t.length || 0 <= t.indexOf(w.po); - }, u)); - u = p.next().value; + u = this.config.Lsa; + p = aa(l.st(function (w) { + return 0 === u.length || 0 <= u.indexOf(w.qo); + }, t)); + t = p.next().value; p.next().value.forEach(function (w) { - return r.log.warn("Audio track is not supported", r.IUa(w)); + return q.log.warn("Audio track is not supported", q.HUa(w)); }); - h = [].concat(ca(u), ca(h)).map(function (w) { + h = [].concat(ca(t), ca(h)).map(function (w) { var v, x; - x = w.po; + x = w.qo; x = { type: d.Uh.audio, - FN: w.FN, + GN: w.GN, variant: w.variant, - trackId: w.ht, - NF: w.kta, - po: g.FZ[x.toLowerCase()] || g.rq.oI, + trackId: w.ot, + SF: w.fta, + qo: g.HZ[x.toLowerCase()] || g.tq.vI, MM: x, + Qe: w.Qe, wm: w.language, displayName: w.I4 + " - " + w.codecName, channels: w.channels, - L3b: w.channels, - cm: r.gyb(w.ht, m, n), - Kh: { + O3b: w.channels, + am: q.myb(w.ot, m, n), + kh: { Bcp47: w.language, - TrackId: w.ht + TrackId: w.ot }, streams: [], isNative: w.isNative, - AL: w.BL, - Z7: w.Z7 + TF: w.DL, + V7: w.V7 }; - x.streams = r.t5a(w.streams, x); - r.log.trace("Transformed audio track", x, { + x.streams = q.v5a(w.streams, x); + q.log.trace("Transformed audio track", x, { StreamCount: x.streams.length, - AllowedTimedTextTracks: x.cm.length + AllowedTimedTextTracks: x.am.length }); - x.$ob = f.pva[null === (v = x.streams[0]) || void 0 === v ? void 0 : v.Mg]; + x.apb = f.mva[null === (v = x.streams[0]) || void 0 === v ? void 0 : v.Kg]; return x; }); if (!h.length) @@ -72029,84 +72020,85 @@ a000.D9b = function () { var m, n; m = this; - n = this.config.$ia; + n = this.config.Tia; if (n) { - if (h = aa(h.filter(function (r) { - return r.wm == n || r.trackId == n; + if (h = aa(h.filter(function (q) { + return q.wm == n || q.trackId == n; })).next().value) return h; - } else if (this.j.D2 && (h = aa(h.filter(function (r) { - return r.trackId == m.j.D2; + } else if (this.j.E2 && (h = aa(h.filter(function (q) { + return q.trackId == m.j.E2; })).next().value)) return h; }; - c.prototype.IUa = function (h) { + c.prototype.HUa = function (h) { return { language: h.I4, bcp47: h.language, - type: h.po + type: h.qo }; }; - c.prototype.gyb = function (h, m, n) { - return m.filter(function (r) { - return r.Fg.Tb === h; - }).map(function (r) { - return r.Fg.tl; - }).map(function (r) { + c.prototype.myb = function (h, m, n) { + return m.filter(function (q) { + return q.Dg.Ob === h; + }).map(function (q) { + return q.Dg.sl; + }).map(function (q) { return n.find(function (p) { - return p.trackId === r; + return p.trackId === q; }); }).filter(Boolean); }; - b.ova = c; - }, function (q, b, a) { + b.lva = c; + }, function (r, b, a) { var f, k, l, d; function c(g, h) { - return k.mP.call(this, g, h) || this; + return k.nP.call(this, g, h) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.THa = void 0; - f = a(122); - k = a(365); + b.PHa = void 0; + f = a(121); + k = a(367); l = a(81); d = a(142); - ka(c, k.mP); - c.prototype.aMb = function (g) { + ja(c, k.nP); + c.prototype.cMb = function (g) { var h, m; h = this; - g = aa(f.mt(function (n) { + g = aa(f.st(function (n) { return n.streams && 0 < n.streams.length; }, g)); m = g.next().value; + console.log(m); g.next().value.forEach(function (n) { return h.log.warn("Video track is missing streams", { - trackId: n.ht + trackId: n.ot }); }); g = m.map(function (n) { - var r; - r = n.po; - r = { + var q; + q = n.qo; + q = { type: l.Uh.video, - trackId: n.ht, - NF: n.kta, - po: d.FZ[r.toLowerCase()] || d.rq.oI, - MM: r, + trackId: n.ot, + SF: n.fta, + qo: d.HZ[q.toLowerCase()] || d.tq.vI, + MM: q, streams: [], - Kh: {}, - zt: n.zt + kh: {}, + Dt: n.Dt }; - r.streams = h.t5a(n.streams, r); + q.streams = h.v5a(n.streams, q); h.log.trace("Transformed video track", { - StreamCount: r.streams.length + StreamCount: q.streams.length }); - return r; + return q; }); if (!g.length) throw Error("No valid video tracks"); @@ -72115,23 +72107,23 @@ a000.D9b = function () { }); return g; }; - c.prototype.XLb = function (g) { + c.prototype.ZLb = function (g) { var h; h = g.map(function (m) { - return m.zt; + return m.Dt; }).filter(Boolean); h = [].concat.apply([], ca(h)).map(function (m) { - return m.ca; + return m.da; }); g = g.map(function (m) { - return m.Qha; + return m.Kha; }).filter(Boolean).map(function (m) { - return m.ca; + return m.da; }); return 0 < h.length ? h : g; }; - b.THa = c; - }, function (q, b, a) { + b.PHa = c; + }, function (r, b, a) { var f, k, l, @@ -72146,140 +72138,140 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tBa = void 0; - q = a(1); + b.rBa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); d = a(44); g = a(131); h = a(49); - ka(c, k.ff); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - Qsa: { + Lsa: { configurable: !0, enumerable: !0, get: function () { return []; } }, - $ia: { + Tia: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - Pfa: { + Ifa: { configurable: !0, enumerable: !0, get: function () { return []; } }, - Ofa: { + Hfa: { configurable: !0, enumerable: !0, get: function () { return []; } }, - dja: { + Xia: { configurable: !0, enumerable: !0, get: function () { return ""; } }, - sla: { + nla: { configurable: !0, enumerable: !0, get: function () { return 0; } }, - MN: { + NN: { configurable: !0, enumerable: !0, get: function () { - return this.jk.MN.ea(h.Xt); + return this.jk.NN.ea(h.bu); } }, - $v: { + ew: { configurable: !0, enumerable: !0, get: function () { - return this.jk.$v; + return this.jk.ew; } } }); a = c; - q.__decorate([d.config(d.U7, "supportedAudioTrackTypes")], a.prototype, "Qsa", null); - q.__decorate([d.config(d.string, "forceAudioTrack")], a.prototype, "$ia", null); - q.__decorate([d.config(d.zta, "cdnIdWhiteList")], a.prototype, "Pfa", null); - q.__decorate([d.config(d.zta, "cdnIdBlackList")], a.prototype, "Ofa", null); - q.__decorate([d.config(d.string, "forceTimedTextTrack")], a.prototype, "dja", null); - q.__decorate([d.config(d.Fz, "imageSubsResolution")], a.prototype, "sla", null); - q.__decorate([d.config(d.Fz, "timedTextSimpleFallbackThreshold")], a.prototype, "MN", null); - q.__decorate([d.config(d.U7, "timedTextProfiles")], a.prototype, "$v", null); - a = q.__decorate([f.R(), q.__param(0, f.l(l.km)), q.__param(1, f.l(g.BP))], a); - b.tBa = a; - }, function (q, b) { + r.__decorate([d.config(d.Q7, "supportedAudioTrackTypes")], a.prototype, "Lsa", null); + r.__decorate([d.config(d.string, "forceAudioTrack")], a.prototype, "Tia", null); + r.__decorate([d.config(d.uta, "cdnIdWhiteList")], a.prototype, "Ifa", null); + r.__decorate([d.config(d.uta, "cdnIdBlackList")], a.prototype, "Hfa", null); + r.__decorate([d.config(d.string, "forceTimedTextTrack")], a.prototype, "Xia", null); + r.__decorate([d.config(d.Iz, "imageSubsResolution")], a.prototype, "nla", null); + r.__decorate([d.config(d.Iz, "timedTextSimpleFallbackThreshold")], a.prototype, "NN", null); + r.__decorate([d.config(d.Q7, "timedTextProfiles")], a.prototype, "ew", null); + a = r.__decorate([f.R(), r.__param(0, f.l(l.jm)), r.__param(1, f.l(g.BP))], a); + b.rBa = a; + }, function (r, b) { function a(c) { - this.Mc = c; - this.sb = JSON.stringify(this.jAb()); + this.Yc = c; + this.qb = JSON.stringify(this.mAb()); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.CBa = void 0; - a.prototype.jAb = function () { + b.ABa = void 0; + a.prototype.mAb = function () { var c; c = []; - (!this.Mc.Uk || 0 >= this.Mc.Uk.length) && c.push({ + (!this.Yc.Uk || 0 >= this.Yc.Uk.length) && c.push({ error: "No CDN." }); - this.Mc.lS || c.push({ + this.Yc.kS || c.push({ error: "No default audio track.", - foundTracks: this.Lja(this.Mc.Yo) + foundTracks: this.Eja(this.Yc.Zo) }); - this.Mc.qha || c.push({ + this.Yc.kha || c.push({ error: "No default video track.", - foundTracks: this.Lja(this.Mc.so) + foundTracks: this.Eja(this.Yc.uo) }); - this.Mc.pha || c.push({ + this.Yc.jha || c.push({ error: "No default subtitle track.", - foundTracks: this.Lja(this.Mc.cm) + foundTracks: this.Eja(this.Yc.am) }); return c; }; - a.prototype.Lja = function (c) { + a.prototype.Eja = function (c) { return c && 0 < c.length ? c.map(function (f) { return f.trackId; }) : "No tracks found."; }; - b.CBa = a; - }, function (q, b, a) { + b.ABa = a; + }, function (r, b, a) { var f, k; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.zBa = void 0; - q = a(1); + b.xBa = void 0; + r = a(1); f = a(0); - k = a(216); + k = a(217); c.prototype.decode = function (l) { var d, g; - d = this.qBb(l.cdns); - g = this.wzb(l); + d = this.sBb(l.cdns); + g = this.Azb(l); return { movieId: l.movieId, packageId: l.packageId, duration: l.runtime, - locations: this.Tja(l.locations), + locations: this.Mja(l.locations), servers: d, audio_tracks: this.getAudioTracks(l.audioTracks), video_tracks: this.getVideoTracks(l.videoTracks, l.videoEncrypted ? l.psshb64 : void 0), @@ -72289,30 +72281,32 @@ a000.D9b = function () { watermarkInfo: l.watermark, drmVersion: 0, playbackContextId: l.playbackContextId, - bookmark: l.bookmark.position / 1E3, hasDrmProfile: !0, hasDrmStreams: l.videoEncrypted, hasClearProfile: !1, hasClearStreams: !l.videoEncrypted, - defaultTrackOrderList: this.azb(l), - timedtexttracks: this.KBb(l.textTracks, d), - media: this.nAb(l.media), - trickplays: this.PBb(l.trickPlayTracks), + defaultTrackOrderList: this.ezb(l), + timedtexttracks: this.MBb(l.textTracks, d), + media: this.qAb(l.media), + trickplays: this.RBb(l.trickPlayTracks), drmContextId: l.drmContextId, dpsid: null, isBranching: !!l.branchMap, clientIpAddress: l.clientIpAddress, drmType: "", expiration: g.expiration, - urlExpirationDuration: g.z6a, - manifestExpirationDuration: g.z6a, - initialHeader: void 0, + urlExpirationDuration: g.C6a, + manifestExpirationDuration: g.C6a, steeringAdditionalInfo: null, viewableType: "", - type: "standard" + type: "standard", + recommendedMedia: void 0, + partiallyHydrated: !1, + maxRecommendedAudioRank: Infinity, + maxRecommendedTextRank: Infinity }; }; - c.prototype.azb = function (l) { + c.prototype.ezb = function (l) { var d, g, h; @@ -72329,7 +72323,7 @@ a000.D9b = function () { } ]; }; - c.prototype.Tja = function (l) { + c.prototype.Mja = function (l) { return l ? l.map(function (d) { return { key: d.id, @@ -72339,7 +72333,7 @@ a000.D9b = function () { }; }) : []; }; - c.prototype.qBb = function (l) { + c.prototype.sBb = function (l) { return l ? l.map(function (d) { return { name: d.name, @@ -72351,7 +72345,7 @@ a000.D9b = function () { }; }) : []; }; - c.prototype.KUa = function (l) { + c.prototype.JUa = function (l) { return Object.entries(l).map(function (d) { var g; g = aa(d); @@ -72375,7 +72369,7 @@ a000.D9b = function () { language: g.bcp47, languageDescription: g.language, trackType: g.trackType, - streams: d.jyb(h, g), + streams: d.pyb(h, g), channelsFormat: g.channelsLabel, surroundFormatLabel: g.channelsLabel, profile: h && h.length ? h[0].contentProfile : void 0, @@ -72383,6 +72377,9 @@ a000.D9b = function () { new_track_id: g.id, track_id: g.id, id: g.id, + rank: -1, + hydrated: !0, + offTrackDisallowed: !1, disallowedSubtitleTracks: [], defaultTimedText: null, isNative: !1, @@ -72393,7 +72390,7 @@ a000.D9b = function () { }; }) : []; }; - c.prototype.jyb = function (l, d) { + c.prototype.pyb = function (l, d) { var g; g = this; return l ? (l = l.map(function (h) { @@ -72404,14 +72401,15 @@ a000.D9b = function () { downloadable_id: h.downloadableId, bitrate: h.bitrate, language: d.bcp47, - urls: g.KUa(h.urls), + urls: g.JUa(h.urls), isDrm: !!h.isEncrypted, new_stream_id: h.id, size: h.size, channels: d.channels, channelsFormat: "2.0", surroundFormatLabel: "2.0", - audioKey: null + audioKey: null, + tags: [] }; }), l.sort(function (h, m) { return h.bitrate - m.bitrate; @@ -72424,7 +72422,7 @@ a000.D9b = function () { return { type: 1, trackType: "PRIMARY", - streams: g.WBb(h.downloadables, h.trackType), + streams: g.YBb(h.downloadables, h.trackType), profile: "", new_track_id: h.id, track_id: h.id, @@ -72464,7 +72462,7 @@ a000.D9b = function () { }; }) : []; }; - c.prototype.WBb = function (l, d) { + c.prototype.YBb = function (l, d) { var g; g = this; return l ? (l = l.map(function (h) { @@ -72474,7 +72472,7 @@ a000.D9b = function () { content_profile: h.contentProfile, downloadable_id: h.downloadableId, bitrate: h.bitrate, - urls: g.KUa(h.urls), + urls: g.JUa(h.urls), pix_w: h.width, pix_h: h.height, res_w: h.width, @@ -72493,13 +72491,15 @@ a000.D9b = function () { crop_x: h.cropParamsX, crop_y: h.cropParamsY, crop_w: h.cropParamsWidth, - crop_h: h.cropParamsHeight + crop_h: h.cropParamsHeight, + segmentVmaf: [], + tags: [] }; }), l.sort(function (h, m) { return h.bitrate - m.bitrate; }), l) : []; }; - c.prototype.KBb = function (l, d) { + c.prototype.MBb = function (l, d) { var g; g = this; return l ? l.map(function (h) { @@ -72511,24 +72511,26 @@ a000.D9b = function () { languageDescription: h.language, new_track_id: h.id, id: h.id, + rank: -1, + hydrated: !0, isNoneTrack: h.isNone, isForcedNarrative: h.isForced, - downloadableIds: g.FBb(h.downloadables), - ttDownloadables: g.GBb(h.downloadables), + downloadableIds: g.HBb(h.downloadables), + ttDownloadables: g.IBb(h.downloadables), isLanguageLeftToRight: !!h.isLanguageLeftToRight, cdnlist: d }; }) : []; }; - c.prototype.FBb = function (l) { + c.prototype.HBb = function (l) { return l ? l.reduce(function (d, g) { d[g.contentProfile] = g.downloadableId; return d; }, {}) : {}; }; - c.prototype.VAb = function (l) { + c.prototype.XAb = function (l) { var d; - d = k.DZ.hka(); + d = k.EZ.dka(); l = l.filter(function (g) { return g.isImage; }); @@ -72538,10 +72540,10 @@ a000.D9b = function () { return g.pixHeight; }))); }; - c.prototype.GBb = function (l) { + c.prototype.IBb = function (l) { var d; if (l) { - d = this.VAb(l); + d = this.XAb(l); return l.reduce(function (g, h) { h.isImage && h.pixHeight !== d || (g[h.contentProfile] = { size: h.size, @@ -72560,7 +72562,7 @@ a000.D9b = function () { } return {}; }; - c.prototype.nAb = function (l) { + c.prototype.qAb = function (l) { return l ? l.map(function (d) { return { id: d.mediaId, @@ -72578,7 +72580,7 @@ a000.D9b = function () { }; }) : []; }; - c.prototype.PBb = function (l) { + c.prototype.RBb = function (l) { var d; if (l) { d = []; @@ -72601,7 +72603,7 @@ a000.D9b = function () { } return []; }; - c.prototype.wzb = function (l) { + c.prototype.Azb = function (l) { var d; d = 0; l.videoTracks.forEach(function (g) { @@ -72615,16 +72617,16 @@ a000.D9b = function () { }); }); return { - z6a: 1E3 * d, + C6a: 1E3 * d, expiration: l.clientGenesis + 1E3 * d }; }; c.prototype.encode = function () { throw Error("encode not supported"); }; - a = q.__decorate([f.R()], c); - b.zBa = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.xBa = a; + }, function (r, b, a) { var f, k, l, @@ -72633,78 +72635,105 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t) { - this.wa = r; - this.AHb = p; - this.nGb = u; - this.xHb = t; + function c(q, p, t, u) { + this.xa = q; + this.DHb = p; + this.pGb = t; + this.AHb = u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rBa = void 0; - q = a(1); - f = a(370); + b.pBa = void 0; + r = a(1); + f = a(372); k = a(0); l = a(40); - d = a(5); - g = a(371); - h = a(372); + d = a(4); + g = a(373); + h = a(374); m = a(42); n = a(3); - c.prototype.create = function (r) { - var p; - if (this.SEb(r)) - throw m.$c.pYb(n.L.V$, n.M.Wdb, r); - p = this.nGb(); - this.NEb(r) ? (r.clientGenesis = r.clientGenesis || this.wa.Ue.ea(d.ma), r = this.AHb.decode(r), p.skb(r)) : p.qea(r.links); - this.xHb.CK(r); + c.prototype.create = function (q) { + var p, + t; + if (this.XEb(q)) + throw m.dd.rYb(n.M.N$, n.L.Zdb, q); + p = !1; + t = this.pGb(); + this.SEb(q) ? (q.clientGenesis = q.clientGenesis || this.xa.We.ea(d.ma), q = this.DHb.decode(q), p = !0, t.skb(q)) : t.kea(q.links); + this.AHb.GK(q); return { - Wc: r, - Fj: p, - oWa: !1, - nWa: !1 + Xc: q, + Ej: t, + mWa: !1, + lWa: !1, + EEb: p }; }; - c.prototype.SEb = function (r) { - return ("type" in r) && "muxed" === r.type; + c.prototype.XEb = function (q) { + return ("type" in q) && "muxed" === q.type; }; - c.prototype.NEb = function (r) { - return ("runtime" in r) && !!r.runtime; + c.prototype.SEb = function (q) { + return ("runtime" in q) && !!q.runtime; }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(l.wi)), q.__param(1, k.l(f.ABa)), q.__param(2, k.l(g.yDa)), q.__param(3, k.l(h.qBa))], a); - b.rBa = a; - }, function (q, b, a) { + a = r.__decorate([k.R(), r.__param(0, k.l(l.wi)), r.__param(1, k.l(f.yBa)), r.__param(2, k.l(g.uDa)), r.__param(3, k.l(h.oBa))], a); + b.pBa = a; + }, function (r, b, a) { var f, k; function c(l) { - this.Pvb = l; - this.yHb = { - Jn: "drmType", - o4b: "drmVersion", + this.Vvb = l; + this.BHb = { + Kn: "drmType", + t4b: "drmVersion", expiration: "expiration", - y5b: "isUsingLegacyBatchingAPI", - ME: "bookmark", K: "movieId", - Ep: "packageId", + Gp: "packageId", duration: "duration", - Ti: "playbackContextId", - PPa: ["defaultTrackOrderList", { - TL: "mediaId", - j8b: "videoTrackId", - qUb: "subtitleTrackId", - KE: "audioTrackId", - X6b: "preferenceOrder" + Ri: "playbackContextId", + ttb: ["defaultTrackOrderList", { + VL: "mediaId", + VXb: "videoTrackId", + sUb: "subtitleTrackId", + ME: "audioTrackId", + i7b: "preferenceOrder" + } + ], + x4b: ["eligibleABTestMap", { + Sr: k.Sr + } + ], + z3b: ["badgingInfo", { + m4b: "dolbyDigitalAudio", + j5b: "hdrVideo", + n4b: "dolbyVisionVideo", + r8b: "ultraHdVideo", + "3dVideo": "3dVideo", + l4b: "dolbyAtmosAudio", + s3b: "assistiveAudio", + D7b: "sdVideo", + i5b: "hdVideo" + } + ], + type: "type", + v3b: ["audioTextShortcuts", { + id: "id", + ME: "audioTrackId", + f8b: "textTrackId" } ], - Kl: "drmContextId", - BCb: "hasDrmProfile", - ACb: "hasClearProfile", - MT: "hasDrmStreams", - Tka: "hasClearStreams", - Un: ["locations", { - Eg: "rank", + d7b: "partiallyHydrated", + f6b: "maxRecommendedAudioRank", + g6b: "maxRecommendedTextRank", + Jl: "drmContextId", + DCb: "hasDrmProfile", + CCb: "hasClearProfile", + KT: "hasDrmStreams", + Pka: "hasClearStreams", + Wn: ["locations", { + Qe: "rank", level: "level", weight: "weight", key: "key" @@ -72712,17 +72741,17 @@ a000.D9b = function () { ], links: ["links", {} ], - Kt: ["servers", { + Pt: ["servers", { id: "id", name: "name", type: "type", - Eg: "rank", - LXa: "lowgrade", - oub: ["dns", { + Qe: "rank", + JXa: "lowgrade", + tub: ["dns", { host: "host", - mEb: "ipv4", - nEb: "ipv6", - txb: "forceLookup" + pEb: "ipv4", + qEb: "ipv6", + zxb: "forceLookup" } ], key: "key" @@ -72730,133 +72759,192 @@ a000.D9b = function () { ], IMa: ["audio_tracks", { type: "type", - FN: "subType", + GN: "subType", variant: "variant", - po: "trackType", - ht: "new_track_id", - kta: "track_id", - iOb: "profileType", - NTb: "stereo", + qo: "trackType", + ot: "new_track_id", + fta: "track_id", + nOb: "profileType", + PTb: "stereo", profile: "profile", channels: "channels", language: "language", - gob: "channelsFormat", - Z7: "surroundFormatLabel", + hob: "channelsFormat", + V7: "surroundFormatLabel", I4: "languageDescription", - g4b: "disallowedSubtitleTracks", - b4b: "defaultTimedText", + j4b: "disallowedSubtitleTracks", + e4b: "defaultTimedText", isNative: "isNative", - BL: "isNoneTrack", + DL: "isNoneTrack", streams: ["streams", { - Mha: "downloadable_id", + Gha: "downloadable_id", size: "size", - ZR: "content_profile", - po: "trackType", + v1: "content_profile", + qo: "trackType", bitrate: "bitrate", - By: "isDrm", + Ey: "isDrm", urls: ["urls", { - JNa: "cdn_id", + Lfa: "cdn_id", url: "url" } ], - BJb: "new_stream_id", + DJb: "new_stream_id", type: "type", channels: "channels", - gob: "channelsFormat", - Z7: "surroundFormatLabel", + hob: "channelsFormat", + V7: "surroundFormatLabel", language: "language", - t3b: "audioKey" + u3b: "audioKey", + lJb: ["moov", { + size: "size", + offset: "offset" + } + ], + wr: ["sidx", { + size: "size", + offset: "offset" + } + ], + ATb: ["ssix", { + size: "size", + offset: "offset" + } + ], + en: "tags" } ], - $ob: "codecName", + apb: "codecName", MM: "rawTrackType", - id: "id" + id: "id", + Qe: "rank", + sDb: "hydrated", + T6b: "offTrackDisallowed" } ], - Nz: ["video_tracks", { - po: "trackType", - ht: "new_track_id", + WC: ["video_tracks", { + qo: "trackType", + ot: "new_track_id", type: "type", - kta: "track_id", - BCb: "hasDrmProfile", - ACb: "hasClearProfile", - MT: "hasDrmStreams", - Tka: "hasClearStreams", + fta: "track_id", + DCb: "hasDrmProfile", + CCb: "hasClearProfile", + KT: "hasDrmStreams", + Pka: "hasClearStreams", + uy: "groupName", streams: ["streams", { - Mha: "downloadable_id", + Gha: "downloadable_id", size: "size", - ZR: "content_profile", - po: "trackType", + v1: "content_profile", + qo: "trackType", + tQa: "drmHeaderId", bitrate: "bitrate", - By: "isDrm", + Ey: "isDrm", urls: ["urls", { - JNa: "cdn_id", + Lfa: "cdn_id", url: "url" } ], - BJb: "new_stream_id", + DJb: "new_stream_id", type: "type", - U6b: "peakBitrate", - Ytb: "dimensionsCount", - Ztb: "dimensionsLabel", - $_a: "pix_w", - Z_a: "pix_h", - pQb: "res_w", - oQb: "res_h", - Fsb: "crop_x", - Gsb: "crop_y", - Esb: "crop_w", - Dsb: "crop_h", - Exb: "framerate_value", - Dxb: "framerate_scale", - H7b: "startByteOffset", - zb: "vmaf" + f7b: "peakBitrate", + aub: "dimensionsCount", + bub: "dimensionsLabel", + Y_a: "pix_w", + X_a: "pix_h", + uQb: "res_w", + tQb: "res_h", + Hsb: "crop_x", + Isb: "crop_y", + Gsb: "crop_w", + Fsb: "crop_h", + Kxb: "framerate_value", + Jxb: "framerate_scale", + X7b: "startByteOffset", + xb: "vmaf", + lJb: ["moov", { + size: "size", + offset: "offset" + } + ], + wr: ["sidx", { + size: "size", + offset: "offset" + } + ], + ATb: ["ssix", { + size: "size", + offset: "offset" + } + ], + fN: ["segmentVmaf", { + offset: "offset", + xb: "vmaf" + } + ], + en: "tags" } ], - iOb: "profileType", - NTb: "stereo", + nOb: "profileType", + PTb: "stereo", profile: "profile", - Ytb: "dimensionsCount", - Ztb: "dimensionsLabel", - Qha: ["drmHeader", { - ca: "bytes", - yob: "checksum", - Li: "keyId" + aub: "dimensionsCount", + bub: "dimensionsLabel", + U7b: ["snippets", { + Sr: [k.Sr, { + T7b: "snippetSpec", + jc: "startTimeMs", + Fc: "endTimeMs" + } + ] + } + ], + Kha: ["drmHeader", { + da: "bytes", + zob: "checksum", + tQa: "drmHeaderId", + Ji: "keyId", + bW: ["resolution", { + height: "height", + width: "width" + } + ] } ], - zt: ["prkDrmHeaders", { - ca: "bytes", - yob: "checksum", - Li: "keyId", - e7: ["resolution", { + Dt: ["prkDrmHeaders", { + da: "bytes", + zob: "checksum", + tQa: "drmHeaderId", + Ji: "keyId", + bW: ["resolution", { height: "height", width: "width" } ] } ], - fv: "flavor", - k5b: "ict", + mv: "flavor", + u5b: "ict", maxWidth: "maxWidth", maxHeight: "maxHeight", - yMb: "pixelAspectX", - zMb: "pixelAspectY", - S5b: "maxCroppedWidth", - R5b: "maxCroppedHeight", - T5b: "maxCroppedX", - U5b: "maxCroppedY", - a6b: "max_framerate_value", - $5b: "max_framerate_scale", + BMb: "pixelAspectX", + CMb: "pixelAspectY", + a6b: "maxCroppedWidth", + $5b: "maxCroppedHeight", + b6b: "maxCroppedX", + c6b: "maxCroppedY", + l6b: "max_framerate_value", + k6b: "max_framerate_scale", minWidth: "minWidth", minHeight: "minHeight", - o6b: "minCroppedWidth", - n6b: "minCroppedHeight", - p6b: "minCroppedX", - q6b: "minCroppedY", - ig: ["license", { - kGb: "licenseResponseBase64", - a7b: "providerSessionToken", - m4b: "drmSessionId", + z6b: "minCroppedWidth", + y6b: "minCroppedHeight", + A6b: "minCroppedX", + B6b: "minCroppedY", + hg: ["license", { + mGb: "licenseResponseBase64", + l7b: "providerSessionToken", + H7b: "secureStopExpected", + s4b: "drmSessionId", links: ["links", {} ] } @@ -72864,132 +72952,138 @@ a000.D9b = function () { } ], INa: ["cdnResponseData", { - SG: "sessionABTestCell", - Dv: "pbcid" + $G: "sessionABTestCell", + Jv: "pbcid" } ], - ym: ["choiceMap", { - hg: "initialSegment", + Hn: ["choiceMap", { + Oe: "initialSegment", type: "type", - da: "viewableId", - Ca: ["segments", { - TD: [k.TD, { - xc: "startTimeMs", - Yc: "endTimeMs", + $: "viewableId", + wa: ["segments", { + Sr: [k.Sr, { + jc: "startTimeMs", + Fc: "endTimeMs", next: ["next", { - TD: [k.TD, { + Sr: [k.Sr, { weight: "weight" } ] } ], - Ki: "defaultNext", - av: "exitZones" + Fh: "defaultNext", + fv: "exitZones" } ] } ] } ], - VDb: ["initialHeader", { - Y: ["fragments", { - Aa: "endPts" - } - ] - } - ], media: ["media", { id: "id", - Fg: ["tracks", { - Tb: "AUDIO", - tl: "TEXT", - Hb: "VIDEO" + Dg: ["tracks", { + Ob: "AUDIO", + sl: "TEXT", + Bb: "VIDEO" } ] } ], - jVb: ["timedtexttracks", { - po: "trackType", - ht: "new_track_id", + p7b: ["recommendedMedia", { + VXb: "videoTrackId", + ME: "audioTrackId", + m8b: "timedTextTrackId" + } + ], + lVb: ["timedtexttracks", { + qo: "trackType", + ot: "new_track_id", type: "type", - FN: "subType", + GN: "subType", variant: "variant", MM: "rawTrackType", I4: "languageDescription", language: "language", id: "id", - BL: "isNoneTrack", - Vla: "isForcedNarrative", - Cub: ["downloadableIds", {} + DL: "isNoneTrack", + Pla: "isForcedNarrative", + Gub: ["downloadableIds", {} ], - Znb: ["cdnlist", { + $nb: ["cdnlist", { id: "id", name: "name", type: "type", - Eg: "rank", - LXa: "lowgrade", - oub: ["dns", { + Qe: "rank", + JXa: "lowgrade", + tub: ["dns", { host: "host", - mEb: "ipv4", - nEb: "ipv6", - txb: "forceLookup" + pEb: "ipv4", + qEb: "ipv6", + zxb: "forceLookup" } ], key: "key" } ], - bWb: ["ttDownloadables", { - TD: [k.TD, { + dWb: ["ttDownloadables", { + Sr: [k.Sr, { + id: "id", size: "size", - P7b: "textKey", - c5b: "hashValue", - b5b: "hashAlgo", - t5b: "isImage", - Una: "midxOffset", - MYa: "midxSize", + e8b: "textKey", + h5b: "hashValue", + g5b: "hashAlgo", + E5b: "isImage", + Pna: "midxOffset", + JYa: "midxSize", height: "height", width: "width", - Xx: ["downloadUrls", {} + by: ["downloadUrls", {} + ], + urls: ["urls", { + url: "url", + Lfa: "cdn_id" + } ] } ] } ], v4: "isLanguageLeftToRight", - Os: "headIdentDuration" + Ts: "headIdentDuration", + Qe: "rank", + sDb: "hydrated" } ], - UVb: ["trickplays", { - Mha: "downloadable_id", + WVb: ["trickplays", { + Gha: "downloadable_id", size: "size", urls: "urls", id: "id", interval: "interval", - BMb: "pixelsAspectY", - AMb: "pixelsAspectX", + EMb: "pixelsAspectY", + DMb: "pixelsAspectX", width: "width", height: "height", - Os: "headIdentDuration" + Ts: "headIdentDuration" } ], - R6a: ["watermarkInfo", { + U6a: ["watermarkInfo", { opacity: "opacity", id: "id", anchor: "anchor" } ], - l4b: "dpsid", - Ol: "isBranching", - k8b: "viewableType", - type: "type", - WB: "isSupplemental", - Sob: "clientIpAddress", - d8b: "urlExpirationDuration", - M5b: "manifestExpirationDuration", - I7b: ["steeringAdditionalInfo", { - J7b: "steeringId", + r4b: "dpsid", + Nl: "isBranching", + C8b: "viewableType", + YB: "isSupplemental", + Tob: "clientIpAddress", + w8b: "urlExpirationDuration", + W5b: "manifestExpirationDuration", + Y7b: ["steeringAdditionalInfo", { + Z7b: "steeringId", p3b: "additionalGroupNames", - K7b: ["streamingClientConfig", {} + $7b: ["streamingClientConfig", {} ] } ] @@ -72998,384 +73092,384 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pBa = void 0; - q = a(1); + b.nBa = void 0; + r = a(1); f = a(0); - k = a(203); - c.prototype.CK = function (l) { - this.Pvb.CK(l, this.yHb); + k = a(204); + c.prototype.GK = function (l) { + this.Vvb.GK(l, this.BHb); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.kya))], a); - b.pBa = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.hya))], a); + b.nBa = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { var a; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.wc = b.Vq = void 0; + b.yc = b.Uq = void 0; (function (c) { c[c.zi = 0] = "STOPPED"; c[c.Sc = 1] = "BUFFERING"; c[c.ef = 2] = "REBUFFERING"; - c[c.Zj = 3] = "STREAMING"; - c[c.NP = 4] = "TRACK_SWITCH"; + c[c.$j = 3] = "STREAMING"; + c[c.OP = 4] = "TRACK_SWITCH"; })(a || (a = {})); - b.wc = a; - b.Vq = function (c) { - return c === a.Sc || c === a.ef || c === a.NP; + b.yc = a; + b.Uq = function (c) { + return c === a.Sc || c === a.ef || c === a.OP; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(2); - q.__exportStar(a(719), b); - q.__exportStar(a(720), b); - q.__exportStar(a(721), b); - }, function (q, b) { + r = a(2); + r.__exportStar(a(722), b); + r.__exportStar(a(723), b); + r.__exportStar(a(724), b); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.kaa = void 0; - q = b.kaa || (b.kaa = {}); - q[q.HAVE_NOTHING = 0] = "HAVE_NOTHING"; - q[q.Zz = 1] = "HAVE_SOMETHING"; - q[q.ww = 2] = "HAVE_MINIMUM"; - q[q.YH = 3] = "HAVE_ENOUGH"; - }, function (q, b) { + b.caa = void 0; + r = b.caa || (b.caa = {}); + r[r.HAVE_NOTHING = 0] = "HAVE_NOTHING"; + r[r.$z = 1] = "HAVE_SOMETHING"; + r[r.Cw = 2] = "HAVE_MINIMUM"; + r[r.fI = 3] = "HAVE_ENOUGH"; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { var a; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.ja = void 0; - q = a || (a = {}); - q[q.Ig = 0] = "STARTING"; - q[q.Sc = 1] = "BUFFERING"; - q[q.ef = 2] = "REBUFFERING"; - q[q.yc = 3] = "PLAYING"; - q[q.pq = 4] = "STOPPING"; - q[q.zi = 5] = "STOPPED"; - q[q.Wh = 6] = "PAUSED"; - b.ja = a; - }, function (q, b) { + b.ka = void 0; + r = a || (a = {}); + r[r.Gg = 0] = "STARTING"; + r[r.Sc = 1] = "BUFFERING"; + r[r.ef = 2] = "REBUFFERING"; + r[r.Ac = 3] = "PLAYING"; + r[r.rq = 4] = "STOPPING"; + r[r.zi = 5] = "STOPPED"; + r[r.Wh = 6] = "PAUSED"; + b.ka = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(2); - q.__exportStar(a(741), b); - q.__exportStar(a(742), b); - q.__exportStar(a(743), b); - q.__exportStar(a(744), b); - q.__exportStar(a(745), b); - q.__exportStar(a(746), b); - q.__exportStar(a(747), b); - }, function (q, b) { + r = a(2); + r.__exportStar(a(744), b); + r.__exportStar(a(745), b); + r.__exportStar(a(746), b); + r.__exportStar(a(747), b); + r.__exportStar(a(748), b); + r.__exportStar(a(749), b); + r.__exportStar(a(750), b); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - a(2).__exportStar(a(749), b); - }, function (q, b) { + a(2).__exportStar(a(752), b); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Mw = void 0; - q = b.Mw || (b.Mw = {}); - q[q.Icb = 0] = "PLAYGRAPH_CHANGED"; - q[q.Jcb = 1] = "PLAYGRAPH_UNCHANGED"; - q[q.Wbb = 2] = "NO_MATCHING_SEGMENT_FOUND"; - q[q.x$a = 3] = "EXISTING_SEGMENT_VIEWABLE_ID_MISMATCHED"; - q[q.w$a = 4] = "EXISTING_SEGMENT_START_TIME_MISMATCHED"; - q[q.Hdb = 5] = "SEGMENT_EXTENSION_NOT_SUPPORTED"; - q[q.k7a = 6] = "APPENDED_PAST_TRUNCATION_POINT"; - }, function (q, b) { + b.Rw = void 0; + r = b.Rw || (b.Rw = {}); + r[r.Lcb = 0] = "PLAYGRAPH_CHANGED"; + r[r.Mcb = 1] = "PLAYGRAPH_UNCHANGED"; + r[r.$bb = 2] = "NO_MATCHING_SEGMENT_FOUND"; + r[r.A$a = 3] = "EXISTING_SEGMENT_VIEWABLE_ID_MISMATCHED"; + r[r.z$a = 4] = "EXISTING_SEGMENT_START_TIME_MISMATCHED"; + r[r.Kdb = 5] = "SEGMENT_EXTENSION_NOT_SUPPORTED"; + r[r.m7a = 6] = "APPENDED_PAST_TRUNCATION_POINT"; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.hva = void 0; + b.eva = void 0; c = a(14); - q = (function () { + r = (function () { function f(k) { this.config = k; } - f.prototype.Dm = function (k, l) { - return this.config.T7 || l !== c.wc.Zj ? k.filter(function (d) { - return d.ev; + f.prototype.Bm = function (k, l) { + return this.config.P7 || l !== c.yc.$j ? k.filter(function (d) { + return d.kv; }) : k; }; return f; })(); - b.hva = q; - }, function (q, b, a) { + b.eva = r; + }, function (r, b, a) { var c, f, k; @@ -73384,99 +73478,99 @@ a000.D9b = function () { value: !0 } }); - b.RD = void 0; - q = a(2); + b.UD = void 0; + r = a(2); c = a(19); - f = q.__importDefault(a(4)); - k = a(374); + f = r.__importDefault(a(5)); + k = a(376); a = (function () { function l(d) { this.console = d; - this.LPa = []; - this.XMa = {}; - this.$Pa = !1; + this.KPa = []; + this.YMa = {}; + this.YPa = !1; } - l.prototype.Qp = function (d, g) { - this.LPa = d; - void 0 !== g ? this.XMa[g] = d : this.$Pa || (this.console.warn("StreamFilters: Bitrate filters received with undefined viewable id"), this.$Pa = !0); + l.prototype.Tp = function (d, g) { + this.KPa = d; + void 0 !== g ? this.YMa[g] = d : this.YPa || (this.console.warn("StreamFilters: Bitrate filters received with undefined viewable id"), this.YPa = !0); }; - l.prototype.Dm = function (d) { + l.prototype.Bm = function (d) { var g, h, m, n, - r; + q; g = this; if (0 === d.length) return d; - n = d[0].da; + n = d[0].$; if (void 0 === n) return (this.console.error("StreamFilters: Stream has undefined viewable id"), d); try { - null === (h = f.default.ws) || void 0 === h ? void 0 : h.call(f.default, n); + null === (h = f.default.As) || void 0 === h ? void 0 : h.call(f.default, n); } catch (p) { return (this.console.error("StreamFilters: createFilteredVideoStreamList: " + p), d); } - r = null !== (m = this.XMa[n]) && void 0 !== m ? m : this.LPa; - c.ka && this.console.trace("VideoBitrateRangesFilter: filtering " + d.length + " streams with " + JSON.stringify(r)); + q = null !== (m = this.YMa[n]) && void 0 !== m ? m : this.KPa; + c.ia && this.console.trace("VideoBitrateRangesFilter: filtering " + d.length + " streams with " + JSON.stringify(q)); d = d.filter(function (p) { - return k.Kea(p.profile, p.bitrate, r, g.console).inRange; + return k.Dea(p.profile, p.bitrate, q, g.console).inRange; }); - c.ka && this.console.trace("VideoBitrateRangesFilter: ... " + d.length + " streams in range"); + c.ia && this.console.trace("VideoBitrateRangesFilter: ... " + d.length + " streams in range"); return d; }; return l; })(); - b.RD = a; - }, function (q, b) { + b.UD = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.jva = void 0; - q = (function () { + b.gva = void 0; + r = (function () { function a(c) { var f; f = this; - c.EN && c.EN.enabled && c.EN.profiles && c.EN.profiles.length && "keepLowest" === c.EN.action && (this.TWa = {}, c.EN.profiles.forEach(function (k) { - return f.TWa[k] = !0; + c.FN && c.FN.enabled && c.FN.profiles && c.FN.profiles.length && "keepLowest" === c.FN.action && (this.RWa = {}, c.FN.profiles.forEach(function (k) { + return f.RWa[k] = !0; })); } - a.prototype.Dm = function (c) { + a.prototype.Bm = function (c) { var f, k; f = {}; - k = this.TWa; + k = this.RWa; return void 0 === k ? c : c.filter(function (l) { return !k[l.profile] || (f[l.profile] ? !1 : f[l.profile] = !0); }); }; return a; })(); - b.jva = q; - }, function (q, b) { + b.gva = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.fva = void 0; - q = (function () { + b.cva = void 0; + r = (function () { function a(c) { this.config = c; } - a.prototype.Dm = function (c) { + a.prototype.Bm = function (c) { var f; f = this.config; return c.filter(function (k) { - return !(void 0 !== k.zb && (k.zb < f.bG || k.zb > f.fYa) || (void 0 === k.zb || 0 >= f.bG) && k.bitrate < f.Vna || (void 0 === k.zb || Infinity === f.fYa) && k.bitrate > f.LHb); + return !(void 0 !== k.xb && (k.xb < f.hG || k.xb > f.dYa) || (void 0 === k.xb || 0 >= f.hG) && k.bitrate < f.Qna || (void 0 === k.xb || Infinity === f.dYa) && k.bitrate > f.OHb); }); }; return a; })(); - b.fva = q; - }, function (q, b, a) { + b.cva = r; + }, function (r, b, a) { var f; function c(k, l) { l = Math.max(k, l); @@ -73487,207 +73581,252 @@ a000.D9b = function () { value: !0 } }); - b.Rua = void 0; + b.Oua = void 0; f = a(14); - q = (function () { + r = (function () { function k(l) { this.config = l; - this.R6 = 0; - this.state = f.wc.zi; - this.XYa = c(l.Vna, l.r5); - this.coa = c(l.bG, l.HU); + this.O6 = 0; + this.state = f.yc.zi; + this.UYa = c(l.Qna, l.r5); + this.Yna = c(l.hG, l.GU); } - k.prototype.Dm = function (l, d) { + k.prototype.Bm = function (l, d) { var g; g = this; if (d !== this.state) { this.state = d; - if (d === f.wc.Sc || d === f.wc.NP) + if (d === f.yc.Sc || d === f.yc.OP) return l; - d === f.wc.ef && this.h1a(); + d === f.yc.ef && this.h1a(); } return l.filter(function (h) { - return !(void 0 !== h.zb && h.zb < g.coa || (void 0 === h.zb || 0 > g.coa) && h.bitrate < g.XYa); + return !(void 0 !== h.xb && h.xb < g.Yna || (void 0 === h.xb || 0 > g.Yna) && h.bitrate < g.UYa); }); }; k.prototype.h1a = function () { - ++this.R6; - this.coa = c(this.config.bG, this.config.HU - this.config.QIb * this.R6); - this.XYa = this.config.Vna || -Infinity; + ++this.O6; + this.Yna = c(this.config.hG, this.config.GU - this.config.SIb * this.O6); + this.UYa = this.config.Qna || -Infinity; }; return k; })(); - b.Rua = q; - }, function (q, b, a) { + b.Oua = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.eva = void 0; + b.bva = void 0; c = a(30); - q = (function () { + r = (function () { function f(k) { this.config = k; } - f.prototype.MSb = function (k) { - return k % 100 + 1 <= this.config.opa; + f.prototype.QSb = function (k) { + return k % 100 + 1 <= this.config.jpa; }; - f.prototype.Dm = function (k) { + f.prototype.Bm = function (k) { var l, d, g, h, m, n, - r, + q, p, - u, t, + u, w; - r = Number(null === (l = k[0]) || void 0 === l ? void 0 : l.K); - if (!(this.config.f2 && this.MSb(r) && 0 < this.config.g7.length)) + q = Number(null === (l = k[0]) || void 0 === l ? void 0 : l.K); + if (!(this.config.g2 && this.QSb(q) && 0 < this.config.d7.length)) return k; l = k.length; - p = null !== (d = k[l - 1].f7) && void 0 !== d ? d : 0; - if (d = c.wg(this.config.g7, function (v) { - return v.h7b >= p && v.e2a <= p; + p = null !== (d = k[l - 1].c7) && void 0 !== d ? d : 0; + if (d = c.wg(this.config.d7, function (v) { + return v.t7b >= p && v.d2a <= p; })) { - for (r = 0; r < l; r++) { - u = k[Math.max(r - 1, 0)]; - t = k[r]; - if (!((null !== (g = t.f7) && void 0 !== g ? g : 0) < d.e2a || (null !== (h = u.f7) && void 0 !== h ? h : 0) < d.e2a)) { - w = null !== (m = t.zb) && void 0 !== m ? m : Infinity; - u = null !== (n = u.zb) && void 0 !== n ? n : Infinity; - if (!(u < d.t6b || u < d.s6b && t.bitrate < d.maxBitrate || !w && t.bitrate < d.Q5b)) + for (q = 0; q < l; q++) { + t = k[Math.max(q - 1, 0)]; + u = k[q]; + if (!((null !== (g = u.c7) && void 0 !== g ? g : 0) < d.d2a || (null !== (h = t.c7) && void 0 !== h ? h : 0) < d.d2a)) { + w = null !== (m = u.xb) && void 0 !== m ? m : Infinity; + t = null !== (n = t.xb) && void 0 !== n ? n : Infinity; + if (!(t < d.E6b || t < d.D6b && u.bitrate < d.maxBitrate || !w && u.bitrate < d.Z5b)) break; } } - return k.slice(0, r); + return k.slice(0, q); } return k; }; return f; })(); - b.eva = q; - }, function (q, b, a) { + b.bva = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.T$ = b.v9 = void 0; + b.L$ = b.q9 = void 0; c = a(30); - b.v9 = { - Dm: function (f) { + b.q9 = { + Bm: function (f) { return f.filter(function (k) { - return k.kv && !k.JB; + return k.rv && !k.LB; }); } }; - b.T$ = { - Dm: function (f) { + b.L$ = { + Bm: function (f) { return (f = c.wg(f, function (k) { - return !!k.kv && !k.JB; + return !!k.rv && !k.LB; })) ? [f] : []; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.LD = void 0; - c = a(375); - q = (function () { + b.OD = void 0; + c = a(377); + r = (function () { function f(k, l) { void 0 === l && (l = !1); - this.Nnb = l; + this.Onb = l; this.filters = []; Array.isArray(k) ? k.forEach(this.and.bind(this)) : this.and(k); } f.prototype.and = function (k) { - k !== c.CD && this.filters.push({ + k !== c.ED && this.filters.push({ filter: k, - HOa: !0 + GOa: !0 }); return this; }; f.prototype.or = function (k) { this.filters.push({ filter: k, - HOa: !1 + GOa: !1 }); return this; }; - f.prototype.Dm = function (k, l) { + f.prototype.Bm = function (k, l) { return this.filters.reduce(function (d, g) { - g.HOa ? d = g.filter.Dm(d, l) : 0 === d.length && (d = g.filter.Dm(k, l)); + g.GOa ? d = g.filter.Bm(d, l) : 0 === d.length && (d = g.filter.Bm(k, l)); return d; }, k); }; return f; })(); - b.LD = q; - }, function (q, b) { + b.OD = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.U$ = void 0; - b.U$ = { - Dm: function (a) { + b.M$ = void 0; + b.M$ = { + Bm: function (a) { return [a[0]]; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.aF = b.$E = void 0; + b.dF = b.cF = void 0; c = a(95); - b.$E = function (f, k) { - k && (null === f || void 0 === f ? 0 : f.wVa) && (k = new c.LD(k).or(c.CD)); - return new c.LD(c.v9).and(null !== k && void 0 !== k ? k : c.CD).or(c.T$).or(c.U$); + b.cF = function (f, k) { + k && (null === f || void 0 === f ? 0 : f.uVa) && (k = new c.OD(k).or(c.ED)); + return new c.OD(c.q9).and(null !== k && void 0 !== k ? k : c.ED).or(c.L$).or(c.M$); }; - b.aF = function (f, k) { - k && f.wVa && (k = new c.LD(k).or(c.CD)); - return new c.LD(c.v9).and(new c.hva(f)).and(new c.fva(f)).and(new c.Rua(f)).and(new c.jva(f)).and(f.f2 ? new c.eva(f) : c.CD).and(null !== k && void 0 !== k ? k : c.CD).or(c.T$).or(c.U$); + b.dF = function (f, k) { + k && f.uVa && (k = new c.OD(k).or(c.ED)); + return new c.OD(c.q9).and(new c.eva(f)).and(new c.cva(f)).and(new c.Oua(f)).and(new c.gva(f)).and(f.g2 ? new c.bva(f) : c.ED).and(null !== k && void 0 !== k ? k : c.ED).or(c.L$).or(c.M$); }; - }, function (q, b, a) { + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b, a) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + r = a(2); + r.__exportStar(a(774), b); + r.__exportStar(a(381), b); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b) { + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Gua = void 0; + b.Dua = void 0; c = a(2); - q = (function (f) { + r = (function (f) { function k(l, d) { - l = f.call(this, k.Uxb(l, d)) || this; - l.Yfb = d; + l = f.call(this, k.$xb(l, d)) || this; + l.Zfb = d; l.name = "AggregateError"; return l; } c.__extends(k, f); - k.Uxb = function (l, d) { + k.$xb = function (l, d) { return d.reduce(function (g, h) { return g + "\n" + h; }, l); }; Object.defineProperties(k.prototype, { - k2: { + l2: { get: function () { - return this.Yfb; + return this.Zfb; }, enumerable: !1, configurable: !0 @@ -73695,134 +73834,134 @@ a000.D9b = function () { }); return k; })(Error); - b.Gua = q; - }, function (q, b) { + b.Dua = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.odb = (function () { + b.rdb = (function () { function a() {} a.decode = function (c) { return Object.assign({ - initialSegment: c.hg, - segments: a.etb(c.Ca) - }, void 0 !== c.Yd ? { - transitionType: c.Yd + initialSegment: c.Oe, + segments: a.gtb(c.wa) + }, void 0 !== c.ie ? { + transitionType: c.ie } : {}); }; a.encode = function (c) { return Object.assign({ - hg: c.initialSegment, - Ca: a.Ivb(c.segments) + Oe: c.initialSegment, + wa: a.Ovb(c.segments) }, void 0 !== c.transitionType ? { - Yd: c.transitionType + ie: c.transitionType } : {}); }; - a.Ivb = function (c) { + a.Ovb = function (c) { return Object.keys(c).reduce(function (f, k) { - f[k] = a.Hvb(c[k]); + f[k] = a.Nvb(c[k]); return f; }, {}); }; - a.Hvb = function (c) { + a.Nvb = function (c) { return Object.assign({ - da: c.viewableId, - xc: c.startTimeMs + $: c.viewableId, + jc: c.startTimeMs }, c.endTimeMs ? { - Yc: c.endTimeMs + Fc: c.endTimeMs } : {}, c.defaultNext ? { - Ki: c.defaultNext + Fh: c.defaultNext } : {}, c.weight ? { weight: c.weight } : {}, c.transitionType ? { - Yd: c.transitionType + ie: c.transitionType } : {}, c.next ? { - next: a.Fvb(c.next) + next: a.Lvb(c.next) } : {}, c.exitZones ? { - av: c.exitZones + fv: c.exitZones } : {}, c.playbackRate ? { playbackRate: c.playbackRate } : {}); }; - a.Fvb = function (c) { + a.Lvb = function (c) { return Object.keys(c).reduce(function (f, k) { - f[k] = a.Gvb(c[k]); + f[k] = a.Mvb(c[k]); return f; }, {}); }; - a.Gvb = function (c) { + a.Mvb = function (c) { return Object.assign({}, void 0 !== c.weight ? { weight: c.weight } : {}, c.transitionType ? { - Yd: c.transitionType + ie: c.transitionType } : {}); }; - a.etb = function (c) { + a.gtb = function (c) { return Object.keys(c).reduce(function (f, k) { - f[k] = a.dtb(c[k]); + f[k] = a.ftb(c[k]); return f; }, {}); }; - a.dtb = function (c) { + a.ftb = function (c) { return Object.assign({ - viewableId: c.da, - startTimeMs: c.xc - }, c.Yc ? { - endTimeMs: c.Yc + viewableId: c.$, + startTimeMs: c.jc + }, c.Fc ? { + endTimeMs: c.Fc } - : {}, c.Ki ? { - defaultNext: c.Ki + : {}, c.Fh ? { + defaultNext: c.Fh } : {}, c.weight ? { weight: c.weight } - : {}, c.Yd ? { - transitionType: c.Yd + : {}, c.ie ? { + transitionType: c.ie } : {}, c.next ? { - next: a.btb(c.next) + next: a.dtb(c.next) } - : {}, c.av ? { - exitZones: c.av + : {}, c.fv ? { + exitZones: c.fv } : {}, c.playbackRate ? { playbackRate: c.playbackRate } : {}); }; - a.btb = function (c) { + a.dtb = function (c) { return Object.keys(c).reduce(function (f, k) { - f[k] = a.ctb(c[k]); + f[k] = a.etb(c[k]); return f; }, {}); }; - a.ctb = function (c) { + a.etb = function (c) { return Object.assign({}, void 0 !== c.weight ? { weight: c.weight } - : {}, c.Yd ? { - transitionType: c.Yd + : {}, c.ie ? { + transitionType: c.ie } : {}); }; return a; })(); - }, function (q, b, a) { + }, function (r, b, a) { var l; function c(d) { return Object.keys(d).reduce(function (g, h) { @@ -73833,12 +73972,12 @@ a000.D9b = function () { m = m.transitionType || m.transitionHint; h = g[h] = {}; void 0 !== n && (h.weight = n); - m && (h.Yd = m); + m && (h.ie = m); return g; }, {}); } function f(d, g) { - return !(!d || -1 === d.bja.indexOf(g)); + return !(!d || -1 === d.Via.indexOf(g)); } function k(d) { var g, @@ -73852,63 +73991,63 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - l = a(221); - b.gB = function (d, g) { + l = a(224); + b.iB = function (d, g) { var h, m, n, - r, + q, p; h = void 0 === g ? {} : g; - g = h.Fd; - m = h.hg; - n = h.Ca; - r = f(h.config, d.viewableId); - h = new l.rI(); + g = h.Ed; + m = h.Oe; + n = h.wa; + q = f(h.config, d.viewableId); + h = new l.KD(); p = n || d.segments; - h.rW(null !== m && void 0 !== m ? m : d.initialSegment).e3a(null !== g && void 0 !== g ? g : d.mediaTypes).fsa(r ? "immediate" : d.transitionType).i3a(Object.keys(p).reduce(function (u, t) { + h.qW(null !== m && void 0 !== m ? m : d.initialSegment).e3a(null !== g && void 0 !== g ? g : d.mediaTypes).Yra(q ? "immediate" : d.transitionType).i3a(Object.keys(p).reduce(function (t, u) { var w, v, x, y; - w = p[t]; + w = p[u]; x = w.weight; if (null === x || void 0 === x) { - x = w.next && (r || (null === (y = w.exitZones) || void 0 === y ? 0 : y.length)) ? k(w.next) : void 0; + x = w.next && (q || (null === (y = w.exitZones) || void 0 === y ? 0 : y.length)) ? k(w.next) : void 0; } y = { - da: d.viewableId, - xc: w.startTimeMs, - Yc: (v = w.endTimeMs, null !== v && void 0 !== v ? v : Infinity), - Yd: w.transitionHint, - av: w.exitZones, + $: d.viewableId, + jc: w.startTimeMs, + Fc: (v = w.endTimeMs, null !== v && void 0 !== v ? v : Infinity), + ie: w.transitionHint, + fv: w.exitZones, weight: x }; - w.defaultNext && (y.Ki = w.defaultNext); + w.defaultNext && (y.Fh = w.defaultNext); w.next && (y.next = c(w.next)); - u[t] = y; - return u; + t[u] = y; + return t; }, {})); - return h.ek(); + return h.wj(); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(221); - b.XG = function (f, k, l) { + c = a(224); + b.eH = function (f, k, l) { var d; - d = new c.rI(); - d.rW(k).fsa("lazy").e3a(l).zq(k, { - da: f, - xc: 0, - Yc: Infinity + d = new c.KD(); + d.qW(k).Yra("lazy").e3a(l).Cn(k, { + $: f, + jc: 0, + Fc: Infinity }); - return d.ek(); + return d.wj(); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -73920,84 +74059,84 @@ a000.D9b = function () { value: !0 } }); - b.oBa = void 0; + b.mBa = void 0; c = a(2); f = a(16); - k = a(222); - l = a(796); - q = c.__importDefault(a(4)); - d = a(803); - q = new q.default.Console("ASEJS", "media|asejs"); - q.trace.bind(q); + k = a(225); + l = a(379); + r = c.__importDefault(a(5)); + d = a(805); + r = new r.default.Console("ASEJS", "media|asejs"); + r.trace.bind(r); g = ["prebuffstats", "discardedBytes", "flushedBytes", "cacheEvict", "mediacache"]; - q = (function (h) { - function m(n, r) { + r = (function (h) { + function m(n, q) { var p; p = h.call(this) || this; p.I = n; - p.Tg = new d.tAa(n, r); - n.AK && p.KOa(r); - p.Ag = new f.zh(); - g.forEach(function (u) { - p.Ag.on(p.Tg, u, function (t) { - return p.emit(u, t); + p.Rg = new d.rAa(n, q); + n.EK && p.JOa(q); + p.zg = new f.xh(); + g.forEach(function (t) { + p.zg.on(p.Rg, t, function (u) { + return p.emit(t, u); }); - p.ko && p.Ag.on(p.ko, u, function (t) { - return p.emit(u, t); + p.lo && p.zg.on(p.lo, t, function (u) { + return p.emit(t, u); }); }); return p; } c.__extends(m, h); Object.defineProperties(m.prototype, { - Jb: { + Lb: { get: function () { - return this.Tg.Jb; + return this.Rg.Lb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Om: { + Nm: { get: function () { - return this.Tg.Om; + return this.Rg.Nm; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Lt: { + Qt: { get: function () { - return this.Tg.Lt; + return this.Rg.Qt; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - uz: { + xz: { get: function () { - return this.Tg.uz; + return this.Rg.xz; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - mma: { + gma: { get: function () { - return this.Tg.mma; + return this.Rg.gma; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - HC: { + JC: { get: function () { - return this.Tg.HC; + return this.Rg.JC; }, enumerable: !1, configurable: !0 @@ -74006,56 +74145,56 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { mf: { get: function () { - return this.Tg.mf; + return this.Rg.mf; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - mh: { + jh: { get: function () { - return this.Tg.mh; + return this.Rg.jh; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - pla: { + kla: { get: function () { - return this.Tg.pla; + return this.Rg.kla; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - sU: { + rU: { get: function () { - return this.Tg.sU.bind(this.Tg); + return this.Rg.rU.bind(this.Rg); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - O2: { + P2: { get: function () { - return this.Tg.O2.bind(this.Tg); + return this.Rg.P2.bind(this.Rg); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - X0: { + Z0: { get: function () { var n; n = this; return function () { - n.cra(); - n.Tg.X0(); + n.Xqa(); + n.Rg.Z0(); }; }, enumerable: !1, @@ -74063,13 +74202,13 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Gfa: { + zfa: { get: function () { var n; n = this; return function () { - n.cra(); - n.Tg.Gfa(); + n.Xqa(); + n.Rg.zfa(); }; }, enumerable: !1, @@ -74077,13 +74216,13 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Dx: { + Ix: { get: function () { var n; n = this; return function () { - n.cra(); - n.Tg.Dx(); + n.Xqa(); + n.Rg.Ix(); }; }, enumerable: !1, @@ -74091,94 +74230,94 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Xo: { + Yo: { get: function () { var n; n = this; - return function (r, p, u) { - var t; - null === (t = n.mf) || void 0 === t ? void 0 : t.Xo(r, p, u); + return function (q, p, t) { + var u; + null === (u = n.mf) || void 0 === u ? void 0 : u.Yo(q, p, t); }; }, enumerable: !1, configurable: !0 } }); - m.prototype.KOa = function (n) { - return this.ko = new(a(926).kGa)(this.I, this.Dx, this.Xo, n); + m.prototype.JOa = function (n) { + return this.lo = new(a(928).gGa)(this.I, this.Ix, this.Yo, n); }; - m.prototype.mb = function (n, r, p, u, t, w, v, x) { + m.prototype.mb = function (n, q, p, t, u, w, v, x) { void 0 === v && (v = 262144); void 0 === x && (x = 1048576); - this.Tg.mb(n, r, p, u, t, w); - this.ko ? this.ko.mb(n, r, p, u, t, w, v, x) : this.$Wa = { + this.Rg.mb(n, q, p, t, u, w); + this.lo ? this.lo.mb(n, q, p, t, u, w, v, x) : this.YWa = { Rlb: n, - NXb: r, - Vu: p, - uz: u, - HC: t, - mIb: w, - Zea: v, - cua: x + PXb: q, + $u: p, + xz: t, + JC: u, + pIb: w, + Sea: v, + Zta: x }; }; - m.prototype.tW = function (n, r, p) { - this.Tg.tW(n, r, p); - this.ko ? this.ko.tW(n, r, p) : this.eXa = { - cUb: n, - uz: r, - HC: p + m.prototype.sW = function (n, q, p) { + this.Rg.sW(n, q, p); + this.lo ? this.lo.sW(n, q, p) : this.cXa = { + eUb: n, + xz: q, + JC: p }; }; - m.prototype.createSession = function (n, r, p, u, t, w, v, x, y, z) { - var B, - A, + m.prototype.createSession = function (n, q, p, t, u, w, v, x, y, z) { + var A, + B, C, E, - F; - B = this; - x || (x = this.Tg.config); - if (x.AK && !this.ko) { - A = this.KOa(this.Tg.QC); + G; + A = this; + x || (x = this.Rg.config); + if (x.EK && !this.lo) { + B = this.JOa(this.Rg.RC); g.forEach(function (D) { - B.Ag.on(B.ko, D, function (G) { - return B.emit(D, G); + A.zg.on(A.lo, D, function (F) { + return A.emit(D, F); }); }); - if (this.$Wa) { - C = this.$Wa; - E = C.uz; - F = C.HC; - A.mb(C.Rlb, C.NXb, C.Vu, E, F, C.mIb, C.Zea, C.cua); + if (this.YWa) { + C = this.YWa; + E = C.xz; + G = C.JC; + B.mb(C.Rlb, C.PXb, C.$u, E, G, C.pIb, C.Sea, C.Zta); } - this.eXa && (F = this.eXa, C = F.cUb, E = F.uz, F = F.HC, A.tW(C, E, F)); + this.cXa && (G = this.cXa, C = G.eUb, E = G.xz, G = G.JC, B.sW(C, E, G)); } - return this.ko && x && x.kX ? (x.Aq || x.hG || this.Tg.Dx(), this.ko.createSession(n, r, p, u, t, w, v, x, y, z)) : this.Tg.createSession(n, r, p, u, t, w, v, x, y, z); + return this.lo && x && x.jX ? (x.Bq || x.nG || this.Rg.Ix(), this.lo.createSession(n, q, p, t, u, w, v, x, y, z)) : this.Rg.createSession(n, q, p, t, u, w, v, x, y, z); }; - m.prototype.addEventListener = function (n, r) { - this.addListener(n, r); + m.prototype.addEventListener = function (n, q) { + this.addListener(n, q); return !0; }; - m.prototype.removeEventListener = function (n, r) { - this.removeListener(n, r); + m.prototype.removeEventListener = function (n, q) { + this.removeListener(n, q); return !0; }; - m.prototype.wb = function () { + m.prototype.zb = function () { var n; - this.Ag.clear(); - this.Tg.wb(); - null === (n = this.ko) || void 0 === n ? void 0 : n.wb(); - k.MH.reset(); + this.zg.clear(); + this.Rg.zb(); + null === (n = this.lo) || void 0 === n ? void 0 : n.zb(); + k.UH.reset(); }; - m.prototype.cra = function () { + m.prototype.Xqa = function () { var n, - r; - this.I.Aq || this.I.hG || (null === (n = this.ko) || void 0 === n ? void 0 : n.Ma.state) !== l.Gr.OPEN || (null === (r = this.ko) || void 0 === r ? void 0 : r.Ma.xt.reset()); + q; + this.I.Bq || this.I.nG || (null === (n = this.lo) || void 0 === n ? void 0 : n.Pa.state) !== l.Jr.OPEN || (null === (q = this.lo) || void 0 === q ? void 0 : q.Pa.Bt.reset()); }; return m; })(f.EventEmitter); - b.oBa = q; - }, function (q) { + b.mBa = r; + }, function (r) { function b(c, f, k, l) { c.trace(":", k, ":", l); f(l); @@ -74217,21 +74356,21 @@ a000.D9b = function () { this.listeners = []; this.console && this.console.trace("removed", c, "listener(s)"); }; - q.exports = a; - }, function (q, b, a) { - q.exports = { - udb: a(774), - eZb: a(775) + r.exports = a; + }, function (r, b, a) { + r.exports = { + xdb: a(784), + fZb: a(785) }; - }, function (q, b, a) { + }, function (r, b, a) { function c(g) { this.data = g; this.right = this.left = null; this.red = !0; } function f(g) { - this.He = null; - this.mm = g; + this.Je = null; + this.lm = g; this.size = 0; } function k(g) { @@ -74239,225 +74378,157 @@ a000.D9b = function () { } function l(g, h) { var m; - m = g.Qg(!h); - g.Rp(!h, m.Qg(h)); - m.Rp(h, g); + m = g.Pg(!h); + g.Up(!h, m.Pg(h)); + m.Up(h, g); g.red = !0; m.red = !1; return m; } function d(g, h) { - g.Rp(!h, l(g.Qg(!h), !h)); + g.Up(!h, l(g.Pg(!h), !h)); return l(g, h); } - b = a(377); - c.prototype.Qg = function (g) { + b = a(383); + c.prototype.Pg = function (g) { return g ? this.right : this.left; }; - c.prototype.Rp = function (g, h) { + c.prototype.Up = function (g, h) { g ? this.right = h : this.left = h; }; f.prototype = new b(); - f.prototype.yp = function (g) { + f.prototype.Ap = function (g) { var h, m, n, - r, + q, p, - u, t, + u, w, v; h = !1; - if (null === this.He) - (this.He = new c(g), h = !0, this.size++); + if (null === this.Je) + (this.Je = new c(g), h = !0, this.size++); else { m = new c(void 0); n = 0; - r = 0; + q = 0; p = null; - u = m; - t = null; - w = this.He; - for (u.right = this.He; ; ) { - null === w ? (w = new c(g), t.Rp(n, w), h = !0, this.size++) : k(w.left) && k(w.right) && (w.red = !0, w.left.red = !1, w.right.red = !1); - if (k(w) && k(t)) { - v = u.right === p; - w === t.Qg(r) ? u.Rp(v, l(p, !r)) : u.Rp(v, d(p, !r)); - } - v = this.mm(w.data, g); + t = m; + u = null; + w = this.Je; + for (t.right = this.Je; ; ) { + null === w ? (w = new c(g), u.Up(n, w), h = !0, this.size++) : k(w.left) && k(w.right) && (w.red = !0, w.left.red = !1, w.right.red = !1); + if (k(w) && k(u)) { + v = t.right === p; + w === u.Pg(q) ? t.Up(v, l(p, !q)) : t.Up(v, d(p, !q)); + } + v = this.lm(w.data, g); if (0 === v) break; - r = n; + q = n; n = 0 > v; - null !== p && (u = p); - p = t; - t = w; - w = w.Qg(n); + null !== p && (t = p); + p = u; + u = w; + w = w.Pg(n); } - this.He = m.right; + this.Je = m.right; } - this.He.red = !1; + this.Je.red = !1; return h; }; f.prototype.remove = function (g) { var h, m, - t, + u, w, v; - if (null === this.He) + if (null === this.Je) return !1; h = new c(void 0); m = h; - m.right = this.He; - for (var n = null, r, p = null, u = 1; null !== m.Qg(u); ) { - t = u; - r = n; + m.right = this.Je; + for (var n = null, q, p = null, t = 1; null !== m.Pg(t); ) { + u = t; + q = n; n = m; - m = m.Qg(u); - w = this.mm(g, m.data); - u = 0 < w; + m = m.Pg(t); + w = this.lm(g, m.data); + t = 0 < w; 0 === w && (p = m); - if (!k(m) && !k(m.Qg(u))) - if (k(m.Qg(!u))) - (r = l(m, u), n.Rp(t, r), n = r); - else if (!k(m.Qg(!u)) && (w = n.Qg(!t), null !== w)) - if (k(w.Qg(!t)) || k(w.Qg(t))) { - v = r.right === n; - k(w.Qg(t)) ? r.Rp(v, d(n, t)) : k(w.Qg(!t)) && r.Rp(v, l(n, t)); - t = r.Qg(v); - t.red = !0; + if (!k(m) && !k(m.Pg(t))) + if (k(m.Pg(!t))) + (q = l(m, t), n.Up(u, q), n = q); + else if (!k(m.Pg(!t)) && (w = n.Pg(!u), null !== w)) + if (k(w.Pg(!u)) || k(w.Pg(u))) { + v = q.right === n; + k(w.Pg(u)) ? q.Up(v, d(n, u)) : k(w.Pg(!u)) && q.Up(v, l(n, u)); + u = q.Pg(v); + u.red = !0; m.red = !0; - t.left.red = !1; - t.right.red = !1; + u.left.red = !1; + u.right.red = !1; } else (n.red = !1, w.red = !0, m.red = !0); } - null !== p && (p.data = m.data, n.Rp(n.right === m, m.Qg(null === m.left)), this.size--); - this.He = h.right; - null !== this.He && (this.He.red = !1); + null !== p && (p.data = m.data, n.Up(n.right === m, m.Pg(null === m.left)), this.size--); + this.Je = h.right; + null !== this.Je && (this.Je.red = !1); return null !== p; }; - q.exports = f; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { function c(k) { this.data = k; this.right = this.left = null; } function f(k) { - this.He = null; - this.mm = k; + this.Je = null; + this.lm = k; this.size = 0; } - b = a(377); - c.prototype.Qg = function (k) { + b = a(383); + c.prototype.Pg = function (k) { return k ? this.right : this.left; }; - c.prototype.Rp = function (k, l) { + c.prototype.Up = function (k, l) { k ? this.right = l : this.left = l; }; f.prototype = new b(); - f.prototype.yp = function (k) { - if (null === this.He) - return (this.He = new c(k), this.size++, !0); - for (var l = 0, d = null, g = this.He; ; ) { + f.prototype.Ap = function (k) { + if (null === this.Je) + return (this.Je = new c(k), this.size++, !0); + for (var l = 0, d = null, g = this.Je; ; ) { if (null === g) - return (g = new c(k), d.Rp(l, g), ret = !0, this.size++, !0); - if (0 === this.mm(g.data, k)) + return (g = new c(k), d.Up(l, g), ret = !0, this.size++, !0); + if (0 === this.lm(g.data, k)) return !1; - l = 0 > this.mm(g.data, k); + l = 0 > this.lm(g.data, k); d = g; - g = g.Qg(l); + g = g.Pg(l); } }; f.prototype.remove = function (k) { var l, d, n; - if (null === this.He) + if (null === this.Je) return !1; l = new c(void 0); d = l; - d.right = this.He; - for (var g = null, h = null, m = 1; null !== d.Qg(m); ) { + d.right = this.Je; + for (var g = null, h = null, m = 1; null !== d.Pg(m); ) { g = d; - d = d.Qg(m); - n = this.mm(k, d.data); + d = d.Pg(m); + n = this.lm(k, d.data); m = 0 < n; 0 === n && (h = d); } - return null !== h ? (h.data = d.data, g.Rp(g.right === d, d.Qg(null === d.left)), this.He = l.right, this.size--, !0) : !1; + return null !== h ? (h.data = d.data, g.Up(g.right === d, d.Pg(null === d.left)), this.Je = l.right, this.size--, !0) : !1; }; - q.exports = f; - }, function (q, b, a) { - var c, - f; - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.nq = b.zdb = void 0; - c = a(2); - f = a(378); - q = (function () { - function k(l, d) { - this.G = l; - this.sy = d ? [d] : []; - } - Object.defineProperties(k.prototype, { - value: { - get: function () { - return this.G; - }, - enumerable: !1, - configurable: !0 - } - }); - k.prototype.addListener = function (l) { - -1 === this.sy.indexOf(l) && (this.sy = this.sy.slice(), this.sy.push(l)); - }; - k.prototype.removeListener = function (l) { - l = this.sy.indexOf(l); - -1 !== l && (this.sy = this.sy.slice(), this.sy.splice(l, 1)); - }; - return k; - })(); - b.zdb = q; - q = (function (k) { - function l(d, g) { - return k.call(this, d, g) || this; - } - c.__extends(l, k); - l.iua = function (d, g, h) { - return new f.paa(d, g, h, !1); - }; - Object.defineProperties(l.prototype, { - value: { - get: function () { - return this.G; - }, - set: function (d) { - this.set(d); - }, - enumerable: !1, - configurable: !0 - } - }); - l.prototype.set = function (d) { - var g; - g = this.G; - g !== d && (this.G = d, this.sy.forEach(function (h) { - return h({ - oldValue: g, - newValue: d - }); - })); - }; - return l; - })(q); - b.nq = q; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -74465,10 +74536,10 @@ a000.D9b = function () { value: !0 } }); - b.qCa = void 0; + b.oCa = void 0; c = a(30); f = a(6); - q = (function () { + r = (function () { function k() { this.data = {}; } @@ -74551,8 +74622,8 @@ a000.D9b = function () { h = this; l = void 0 !== g ? l.bind(g) : l; m = d; - this.forEach(function (n, r) { - m = l(m, n, r, h); + this.forEach(function (n, q) { + m = l(m, n, q, h); }); return m; }; @@ -74578,36 +74649,36 @@ a000.D9b = function () { }; return k; })(); - b.qCa = q; - }, function (q, b) { + b.oCa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.ORa = void 0; - b.ORa = function (a, c) { + b.NRa = void 0; + b.NRa = function (a, c) { return a.filter(function (f) { var k, l; - f = null !== (l = null !== (k = f.Ui) && void 0 !== k ? k : f.yy) && void 0 !== l ? l : f.uh; - return !!f && f.Fy(c); + f = null !== (l = null !== (k = f.Si) && void 0 !== k ? k : f.By) && void 0 !== l ? l : f.th; + return !!f && f.Iy(c); }).pop(); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.oGa = b.nGa = void 0; + b.kGa = b.jGa = void 0; c = a(30); - q = (function () { + r = (function () { function f(k) { this.G = k; this.listeners = []; - this.hV = []; + this.gV = []; } Object.defineProperties(f.prototype, { value: { @@ -74621,8 +74692,8 @@ a000.D9b = function () { f.prototype.set = function (k) { var l; this.G = k; - l = this.hV; - this.hV = []; + l = this.gV; + this.gV = []; this.listeners.forEach(function (d) { return d(k); }); @@ -74630,7 +74701,7 @@ a000.D9b = function () { return d(k); }); }; - f.prototype.d2a = function () { + f.prototype.c2a = function () { this.G = void 0; }; f.prototype.on = function (k) { @@ -74638,20 +74709,20 @@ a000.D9b = function () { void 0 !== this.G && k(this.G); }; f.prototype.once = function (k) { - void 0 !== this.G ? k(this.G) : this.hV.push(k); + void 0 !== this.G ? k(this.G) : this.gV.push(k); }; - f.prototype.mM = function (k) { + f.prototype.oM = function (k) { this.listeners = this.listeners.filter(function (l) { return l !== k; }); - this.hV = this.hV.filter(function (l) { + this.gV = this.gV.filter(function (l) { return l !== k; }); }; return f; })(); - b.nGa = q; - q = (function () { + b.jGa = r; + r = (function () { function f() { this.listeners = []; } @@ -74674,19 +74745,19 @@ a000.D9b = function () { this.listeners.push({ signal: k, listener: l, - X6a: g + $6a: g }); k.once(g); } else k.once(l); }; - f.prototype.mM = function (k, l) { + f.prototype.oM = function (k, l) { var d, g; g = c.wg(this.listeners, function (h) { return h.signal === k && h.listener === l; }); - void 0 !== g && k.mM(null !== (d = g.X6a) && void 0 !== d ? d : g.listener); + void 0 !== g && k.oM(null !== (d = g.$6a) && void 0 !== d ? d : g.listener); this.remove(k, l); }; f.prototype.removeAllListeners = function () { @@ -74694,8 +74765,8 @@ a000.D9b = function () { var l, d; l = k.listener; - d = k.X6a; - return k.signal.mM(null !== d && void 0 !== d ? d : l); + d = k.$6a; + return k.signal.oM(null !== d && void 0 !== d ? d : l); }); this.listeners = []; }; @@ -74706,34 +74777,34 @@ a000.D9b = function () { }; return f; })(); - b.oGa = q; - }, function (q, b) { + b.kGa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.uWa = void 0; - b.uWa = function (a) { + b.sWa = void 0; + b.sWa = function (a) { return "function" === typeof(null === a || void 0 === a ? void 0 : a.then); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.KPa = void 0; - b.KPa = function (a) { + b.JPa = void 0; + b.JPa = function (a) { return JSON.parse(JSON.stringify(a)); }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l, d) { var g, m, n; - if (k === l || !d.NC && k == l) + if (k === l || !d.OC && k == l) return !0; if (typeof k !== typeof l) return !1; @@ -74742,29 +74813,29 @@ a000.D9b = function () { if (!c(k[h], l[h], d)) return !1; } - if (!d.lob) { + if (!d.mob) { m = Object.keys(k); - n = Object.keys(l).filter(function (t) { - return 0 > m.indexOf(t); + n = Object.keys(l).filter(function (u) { + return 0 > m.indexOf(u); }); try { - for (var r = f.__values(n), p = r.next(); !p.done; p = r.next()) { + for (var q = f.__values(n), p = q.next(); !p.done; p = q.next()) { if ((h = p.value, !c(k[h], l[h], d))) return !1; } - } catch (t) { - var u; - u = { - error: t + } catch (u) { + var t; + t = { + error: u }; } finally { try { - p && !p.done && (g = r.return) && g.call(r); + p && !p.done && (g = q.return) && g.call(q); } finally { - if (u) - throw u.error; + if (t) + throw t.error; } } } @@ -74777,30 +74848,30 @@ a000.D9b = function () { value: !0 } }); - b.itb = void 0; + b.ktb = void 0; f = a(2); - b.itb = function (k, l, d) { + b.ktb = function (k, l, d) { void 0 === d && (d = {}); d = f.__assign({ - NC: !1, - lob: !1 + OC: !1, + mob: !1 }, d); return c(k, l, d); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.BZ = void 0; - q = (function () { + b.CZ = void 0; + r = (function () { function a() { this.count = 0; - this.max = this.min = this.Ea = NaN; + this.max = this.min = this.Fa = NaN; } Object.defineProperties(a.prototype, { - fr: { + gr: { get: function () { return this.max - this.min; }, @@ -74810,19 +74881,19 @@ a000.D9b = function () { }); a.prototype.push = function (c) { this.count++; - 1 === this.count ? this.Ea = this.min = this.max = c : (this.min = Math.min(c, this.min), this.max = Math.max(c, this.max), this.Ea += (c - this.Ea) / this.count); + 1 === this.count ? this.Fa = this.min = this.max = c : (this.min = Math.min(c, this.min), this.max = Math.max(c, this.max), this.Fa += (c - this.Fa) / this.count); }; a.prototype.toJSON = function () { return { min: this.min, max: this.max, - average: this.Ea + average: this.Fa }; }; return a; })(); - b.BZ = q; - }, function (q, b, a) { + b.CZ = r; + }, function (r, b, a) { var f; function c(k) { this.eN = new Uint16Array(k.length); @@ -74830,7 +74901,7 @@ a000.D9b = function () { this.eN[l] = k.charCodeAt(l); } } - f = new(a(4).default.Console)("ASEJS_XORCiper", "media|asejs"); + f = new(a(5).default.Console)("ASEJS_XORCiper", "media|asejs"); c.prototype.constructor = c; c.prototype.encrypt = function (k) { var l; @@ -74855,20 +74926,20 @@ a000.D9b = function () { } return l; }; - q.exports = c; - }, function (q) { + r.exports = c; + }, function (r) { function b(a, c) { - this.Ea = a; + this.Fa = a; this.vi = c; } - b.prototype.Mpa = function (a) { + b.prototype.Hpa = function (a) { var c, f, k, l, g, h; - c = this.Ea; + c = this.Fa; f = Math.sqrt(2 * this.vi); a *= 2; if (2 <= a) @@ -74890,8 +74961,8 @@ a000.D9b = function () { } return c - f * a; }; - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var k, l, d, @@ -74902,123 +74973,123 @@ a000.D9b = function () { function f(h, m) { l.call(this, new c(h, m, !1)); } - k = a(787); - l = a(788); - d = a(110).ryb; - g = a(110).UBb; + k = a(796); + l = a(797); + d = a(110).wyb; + g = a(110).WBb; c.prototype = Object.create(k.prototype); - c.prototype.Ea = function () { - return Math.floor(8 * d(this.Ad) / this.qd); + c.prototype.Fa = function () { + return Math.floor(8 * d(this.Ad) / this.rd); }; c.prototype.vi = function () { - return Math.floor(64 * g(this.Ad) / (this.qd * this.qd)); + return Math.floor(64 * g(this.Ad) / (this.rd * this.rd)); }; c.prototype.get = function () { return { - Ea: this.Ea(), + Fa: this.Fa(), vi: this.vi(), - D3b: this.Ad.length + G3b: this.Ad.length }; }; c.prototype.toString = function () { - return "bsw(" + this.HJ + "," + this.qd + "," + this.wj + ")"; + return "bsw(" + this.JJ + "," + this.rd + "," + this.tj + ")"; }; f.prototype = Object.create(l.prototype); f.prototype.setInterval = function (h) { - this.YI.setInterval(h); + this.$I.setInterval(h); }; - q.exports = f; - }, function (q) { + r.exports = f; + }, function (r) { function b(a, c, f) { - this.HJ = a; - this.wj = Math.floor((a + c - 1) / c); - this.qd = c; - this.Iib = f; + this.JJ = a; + this.tj = Math.floor((a + c - 1) / c); + this.rd = c; + this.Jib = f; this.reset(); } b.prototype.shift = function () { this.Ad.shift(); - this.Dh.shift(); + this.Ch.shift(); }; b.prototype.update = function (a, c) { this.Ad[a] += c; }; b.prototype.push = function (a) { this.Ad.push(0); - this.Dh.push(a ? a : 0); - this.ib += this.qd; + this.Ch.push(a ? a : 0); + this.ib += this.rd; }; b.prototype.add = function (a, c, f, k) { var l, d; if (null === this.ib) { - l = Math.max(Math.floor((f - c + this.qd - 1) / this.qd), 1); + l = Math.max(Math.floor((f - c + this.rd - 1) / this.rd), 1); for (this.ib = c; this.Ad.length < l; ) { this.push(k); } } for (; this.ib < f; ) { - if ((this.push(k), this.Iib)) - for (; 1 < this.Ad.length && f + k - (this.ib - this.qd * this.Ad.length + this.Dh[0]) > this.HJ; ) { + if ((this.push(k), this.Jib)) + for (; 1 < this.Ad.length && f + k - (this.ib - this.rd * this.Ad.length + this.Ch[0]) > this.JJ; ) { this.shift(); } else - this.Ad.length > this.wj && this.shift(); + this.Ad.length > this.tj && this.shift(); } - if (c > this.ib - this.qd) + if (c > this.ib - this.rd) this.update(this.Ad.length - 1, a); else if (c == f) - (k = this.Ad.length - Math.max(Math.ceil((this.ib - f) / this.qd), 1), 0 <= k && this.update(k, a)); + (k = this.Ad.length - Math.max(Math.ceil((this.ib - f) / this.rd), 1), 0 <= k && this.update(k, a)); else for (k = 1; k <= this.Ad.length; ++k) { - l = this.ib - k * this.qd; - d = l + this.qd; + l = this.ib - k * this.rd; + d = l + this.rd; if (!(l > f)) { if (d < c) break; this.update(this.Ad.length - k, Math.round(a * (Math.min(d, f) - Math.max(l, c)) / (f - c))); } } - for (; this.Ad.length > this.wj; ) { + for (; this.Ad.length > this.tj; ) { this.shift(); } }; b.prototype.reset = function () { this.Ad = []; - this.Dh = []; + this.Ch = []; this.ib = null; }; b.prototype.setInterval = function (a) { - this.wj = Math.floor((a + this.qd - 1) / this.qd); + this.tj = Math.floor((a + this.rd - 1) / this.rd); }; - q.exports = b; - }, function (q) { + r.exports = b; + }, function (r) { function b(a) { - this.YI = a; - this.ve = 0; - this.DJ = null; + this.$I = a; + this.xe = 0; + this.FJ = null; } b.prototype.add = function (a, c, f) { - null !== this.DJ && c > this.DJ && (this.ve += c - this.DJ, this.DJ = null); - this.YI.add(a, c - this.ve, f - this.ve, this.ve); + null !== this.FJ && c > this.FJ && (this.xe += c - this.FJ, this.FJ = null); + this.$I.add(a, c - this.xe, f - this.xe, this.xe); }; b.prototype.stop = function (a) { - null === this.DJ && (this.DJ = a); + null === this.FJ && (this.FJ = a); }; - b.prototype.Ppa = function (a, c) { - return this.YI.Ppa(a, c); + b.prototype.Jpa = function (a, c) { + return this.$I.Jpa(a, c); }; b.prototype.get = function () { - return this.YI.get(); + return this.$I.get(); }; b.prototype.reset = function () { - this.YI.reset(); + this.$I.reset(); }; b.prototype.toString = function () { - return this.YI.toString(); + return this.$I.toString(); }; - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var f, k, l, @@ -75027,30 +75098,30 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u) { - this.Kfb = u; - } - b = a(381); - f = b.f$a; - k = b.d$a; - l = a(225).e$a; - d = a(225).yeb; - g = a(382); - h = a(383); - m = a(384).WGa; - n = a(790); - r = a(791); - p = a(385); + function c(t) { + this.Lfb = t; + } + b = a(386); + f = b.h$a; + k = b.f$a; + l = a(228).g$a; + d = a(228).zeb; + g = a(387); + h = a(388); + m = a(389).SGa; + n = a(799); + q = a(800); + p = a(390); c.prototype.constructor = c; - c.prototype.create = function (u, t) { + c.prototype.create = function (t, u) { var w, v, x, y; - w = this.Kfb[u]; - v = t[u]; + w = this.Lfb[t]; + v = u[t]; x = {}; w && Object.keys(w).forEach(function (z) { x[z] = w[z]; @@ -75087,82 +75158,82 @@ a000.D9b = function () { y = new p(); break; case "entropy": - y = new r(x); + y = new q(x); } y && (y.type = x.type); return y; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f; function c() { - this.tj = void 0; - this.JA = 0; + this.qj = void 0; + this.MA = 0; } f = a(10); c.prototype.getState = function () { - return 0 !== this.JA && this.tj ? { - p25: this.tj.gl, - p50: this.tj.Jj, - p75: this.tj.il, - c: this.JA + return 0 !== this.MA && this.qj ? { + p25: this.qj.gl, + p50: this.qj.Ij, + p75: this.qj.il, + c: this.MA } : null; }; - c.prototype.Ce = function (k) { - if (!(!f.ob(k) && f.has(k, "p25") && f.has(k, "p50") && f.has(k, "p75") && f.has(k, "c") && f.isFinite(k.p25) && f.isFinite(k.p50) && f.isFinite(k.p75) && f.isFinite(k.c))) - return (this.tj = void 0, this.JA = 0, !1); - this.tj = { + c.prototype.Ee = function (k) { + if (!(!f.tb(k) && f.has(k, "p25") && f.has(k, "p50") && f.has(k, "p75") && f.has(k, "c") && f.isFinite(k.p25) && f.isFinite(k.p50) && f.isFinite(k.p75) && f.isFinite(k.c))) + return (this.qj = void 0, this.MA = 0, !1); + this.qj = { gl: k.p25, - Jj: k.p50, + Ij: k.p50, il: k.p75 }; - this.JA = k.c; + this.MA = k.c; }; c.prototype.get = function () { return { - q6: this.tj, - cN: this.JA + p6: this.qj, + cN: this.MA }; }; c.prototype.set = function (k, l) { - this.tj = k; - this.JA = l; + this.qj = k; + this.MA = l; }; c.prototype.reset = function () { - this.tj = void 0; - this.JA = 0; + this.qj = void 0; + this.MA = 0; }; c.prototype.toString = function () { - return "IQRHist(" + this.tj + "," + this.JA + ")"; + return "IQRHist(" + this.qj + "," + this.MA + ")"; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f; function c(k) { var l, d; l = k.sw; d = k.mw; - this.GJ = l; - this.Xba = { + this.IJ = l; + this.Rba = { uhd: k.uhdl, hd: k.hdl }; - this.wj = Math.max(Math.ceil(1 * l / d), 1); - this.nhb = k.mins || 1; + this.tj = Math.max(Math.ceil(1 * l / d), 1); + this.ohb = k.mins || 1; f.call(this, l, d); this.reset(); } f = a(145); - new(a(4).default.Console)("ASEJS_NETWORK_ENTROPY", "media|asejs"); + new(a(5).default.Console)("ASEJS_NETWORK_ENTROPY", "media|asejs"); c.prototype = Object.create(f.prototype); c.prototype.flush = function () { this.Ad.map(function (k, l) { - this.DLa(k, this.nja(l)); + this.BLa(k, this.gja(l)); }, this); }; - c.prototype.lnb = function () { + c.prototype.mnb = function () { var k, l, d, @@ -75170,84 +75241,84 @@ a000.D9b = function () { h, m, n, - t; - k = this.Xba; + u; + k = this.Rba; for (l in k) { if (k.hasOwnProperty(l)) { d = k[l]; - g = this.Uda[l]; - h = this.Tda[l]; + g = this.Oda[l]; + h = this.Nda[l]; if (g.first) { m = g.first; - n = g.xG; + n = g.EG; void 0 !== n && (h[m][n] += 1); g.first = void 0; } g = []; m = 0; d = n = d.length + 1; - for (var r = 0; r < n; r++) { - for (var p = 0, u = 0; u < d; u++) { - p += h[u][r]; + for (var q = 0; q < n; q++) { + for (var p = 0, t = 0; t < d; t++) { + p += h[t][q]; } m += p; g.push(p); } p = -1; - if (m > this.nhb) { - for (r = p = 0; r < n; r++) { - if (0 < g[r]) - for (u = 0; u < d; u++) { - t = h[u][r]; - 0 < t && (p -= t * Math.log(1 * t / g[r])); + if (m > this.ohb) { + for (q = p = 0; q < n; q++) { + if (0 < g[q]) + for (t = 0; t < d; t++) { + u = h[t][q]; + 0 < u && (p -= u * Math.log(1 * u / g[q])); } } p /= m * Math.log(2); } - this.vca[l] = p; + this.pca[l] = p; } } - return this.vca; + return this.pca; }; - c.prototype.DLa = function (k, l) { + c.prototype.BLa = function (k, l) { var m, n; - for (var d = this.wj, g = this.Xba; this.j_.length >= d; ) { - this.j_.shift(); + for (var d = this.tj, g = this.Rba; this.m_.length >= d; ) { + this.m_.shift(); } - for (; this.k_.length >= d; ) { - this.k_.shift(); + for (; this.n_.length >= d; ) { + this.n_.shift(); } - this.j_.push(k); - this.k_.push(l); - k = this.j_.reduce(function (r, p) { - return r + p; + this.m_.push(k); + this.n_.push(l); + k = this.m_.reduce(function (q, p) { + return q + p; }, 0); - l = this.k_.reduce(function (r, p) { - return r + p; + l = this.n_.reduce(function (q, p) { + return q + p; }, 0); if (0 < l) { k = 8 * k / l; for (var h in g) { if (g.hasOwnProperty(h)) { - l = this.Uda[h]; - d = this.Tda[h]; - m = this.vOb(k, g[h]); - n = l.xG; + l = this.Oda[h]; + d = this.Nda[h]; + m = this.AOb(k, g[h]); + n = l.EG; void 0 !== n ? d[m][n] += 1 : l.first = m; - l.xG = m; + l.EG = m; } } } }; - c.prototype.vOb = function (k, l) { + c.prototype.AOb = function (k, l) { for (var d = 0; d < l.length && k > l[d]; ) { d += 1; } return d; }; c.prototype.shift = function () { - this.DLa(this.Ad[0], this.nja(0)); + this.BLa(this.Ad[0], this.gja(0)); f.prototype.shift.call(this); }; c.prototype.reset = function () { @@ -75258,167 +75329,169 @@ a000.D9b = function () { h, m, n; - this.Uda = {}; - this.j_ = []; - this.k_ = []; - this.Tda = {}; - this.vca = {}; - k = this.Xba; + this.Oda = {}; + this.m_ = []; + this.n_ = []; + this.Nda = {}; + this.pca = {}; + k = this.Rba; for (l in k) { if (k.hasOwnProperty(l)) { - d = this.Tda; + d = this.Nda; g = l; m = void 0; n = Array(m); m = h = k[l].length + 1; - for (var r = 0; r < m; r++) { - n[r] = Array(h); + for (var q = 0; q < m; q++) { + n[q] = Array(h); for (var p = 0; p < h; p++) { - n[r][p] = 0; + n[q][p] = 0; } } d[g] = n; - this.Uda[l] = { + this.Oda[l] = { first: void 0, - xG: void 0 + EG: void 0 }; - this.vca[l] = 0; + this.pca[l] = 0; } } f.prototype.reset.call(this); }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f, k; function c(l) { this.I = l; - this.zQ(); + this.AQ(); } f = a(10); - k = a(4).default; + k = a(5).default; new k.Console("ASEJS_NETWORK_HISTORY", "media|asejs"); c.prototype.save = function () { var l; l = this.getState(); k.storage.set("nh", l); }; - c.prototype.GTb = function () { - this.zE || (this.zE = !0, this.dx = k.time.aa()); + c.prototype.ITb = function () { + this.BE || (this.BE = !0, this.ix = k.time.ba()); }; - c.prototype.QTb = function () { + c.prototype.STb = function () { var l; - if (this.zE) { - l = k.time.aa(); - this.ix += l - this.dx; - this.dx = l; - this.zE = !1; - this.yQ = null; + if (this.BE) { + l = k.time.ba(); + this.ox += l - this.ix; + this.ix = l; + this.BE = !1; + this.zQ = null; } }; - c.prototype.bWa = function (l, d) { - this.zE && (d > this.dx && (this.ix += d - this.dx, this.dx = d), null === this.yQ || l > this.yQ) && (l = d - l, this.kJ.push([this.ix - l, l]), this.Cjb(), this.yQ = d); + c.prototype.$Va = function (l, d) { + this.BE && (d > this.ix && (this.ox += d - this.ix, this.ix = d), null === this.zQ || l > this.zQ) && (l = d - l, this.mJ.push([this.ox - l, l]), this.Djb(), this.zQ = d); }; - c.prototype.Cjb = function () { + c.prototype.Djb = function () { var l; - l = this.ix - this.I.zJb; - this.kJ = this.kJ.filter(function (d) { + l = this.ox - this.I.BJb; + this.mJ = this.mJ.filter(function (d) { return d[0] > l; }); }; - c.prototype.zQ = function () { + c.prototype.AQ = function () { var l; l = k.storage.get("nh"); - this.Kda(l) || (this.dx = k.time.aa(), this.ix = 0, this.zE = !1, this.yQ = null, this.kJ = []); + this.Eda(l) || (this.ix = k.time.ba(), this.ox = 0, this.BE = !1, this.zQ = null, this.mJ = []); }; - c.prototype.Kda = function (l) { - if (!(l && f.has(l, "t") && f.has(l, "s") && f.has(l, "i") && f.xa(l.t) && f.xa(l.s) && f.isArray(l.i))) + c.prototype.Eda = function (l) { + if (!(l && f.has(l, "t") && f.has(l, "s") && f.has(l, "i") && f.ya(l.t) && f.ya(l.s) && f.isArray(l.i))) return !1; - this.dx = k.time.zoa(1E3 * l.t); - this.ix = 1E3 * l.s; - this.zE = !1; - this.kJ = l.i.map(function (d) { + this.ix = k.time.uoa(1E3 * l.t); + this.ox = 1E3 * l.s; + this.BE = !1; + this.mJ = l.i.map(function (d) { return [1E3 * d[0], d[1]]; }); - this.yQ = null; + this.zQ = null; return !0; }; c.prototype.getState = function () { - return this.zE ? { + return this.BE ? { t: k.time.now() / 1E3 | 0, - s: (this.ix + (k.time.aa() - this.dx)) / 1E3 | 0, - i: this.kJ.map(function (l) { + s: (this.ox + (k.time.ba() - this.ix)) / 1E3 | 0, + i: this.mJ.map(function (l) { return [l[0] / 1E3 | 0, l[1]]; }) } : { - t: k.time.eoa(this.dx) / 1E3 | 0, - s: this.ix / 1E3 | 0, - i: this.kJ.map(function (l) { + t: k.time.$na(this.ix) / 1E3 | 0, + s: this.ox / 1E3 | 0, + i: this.mJ.map(function (l) { return [l[0] / 1E3 | 0, l[1]]; }) }; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.fya = void 0; - q = a(2); - c = a(794); - new(q.__importDefault(a(4)).default.Console)("ASEJS_ENDPOINT_ACTIVITY", "media|asejs"); + b.cya = void 0; + r = a(2); + c = a(803); + new(r.__importDefault(a(5)).default.Console)("ASEJS_ENDPOINT_ACTIVITY", "media|asejs"); a = (function () { - var E00; function f(k) { var F00; F00 = 2; for (; F00 !== 4; ) { switch (F00) { case 2: - var C9b = "1"; - C9b += "SI"; - C9b += "YbZrNJ"; - C9b += "C"; - C9b += "p9"; - this.xla = k; - this.by = {}; - C9b; + var Z2q = "1SIYbZ"; + Z2q += "r"; + Z2q += "NJCp"; + Z2q += "9"; + this.sla = k; + this.gy = {}; + Z2q; F00 = 4; break; } } } + var E00; E00 = 2; for (; E00 !== 7; ) { switch (E00) { case 3: - f.prototype.Is = function () { + f.prototype.Os = function () { var K00; K00 = 2; for (; K00 !== 1; ) { switch (K00) { case 2: - return this.PC.get(); + return this.QC.get(); break; } } }; - f.prototype.P5a = function (k) { + f.prototype.R5a = function (k) { var L00, l, d; L00 = 2; for (; L00 !== 5; ) { switch (L00) { - case 2: - (l = Object.keys(this.by), d = this.by[l[0]]); - 1 === l.length && !1 === d.v2 ? (this.PC.start(k, d.gg), this.iR = d.gg) : 1 < l.length && this.iR && (l = this.by[this.iR], this.PC.stop(k, this.iR), l.v2 = !1, this.iR = void 0); + case 1: + 1 === l.length && !1 === d.w2 ? (this.QC.start(k, d.gg), this.kR = d.gg) : 1 < l.length && this.kR && (l = this.gy[this.kR], this.QC.stop(k, this.kR), l.w2 = !1, this.kR = void 0); L00 = 5; break; + case 2: + (l = Object.keys(this.gy), d = this.gy[l[0]]); + L00 = 1; + break; } } }; @@ -75430,16 +75503,16 @@ a000.D9b = function () { G00 = 2; for (; G00 !== 1; ) { switch (G00) { - case 2: - this.PC = new c.owa(); - G00 = 1; - break; case 4: - this.PC = new c.owa(); - G00 = 5; + this.QC = new c.lwa(); + G00 = 8; break; G00 = 1; break; + case 2: + this.QC = new c.lwa(); + G00 = 1; + break; } } }; @@ -75449,47 +75522,52 @@ a000.D9b = function () { for (; H00 !== 1; ) { switch (H00) { case 2: - l.gg && (this.xla ? this.PC.start(k, l.gg) : 1 === l.type && (this.by[l.gg] ? this.by[l.gg].rX += 1 : this.by[l.gg] = { + l.gg && (this.sla ? this.QC.start(k, l.gg) : 1 === l.type && (this.gy[l.gg] ? this.gy[l.gg].qX += 1 : this.gy[l.gg] = { gg: l.gg, - rX: 1, - v2: !1 - }, this.P5a(k))); + qX: 1, + w2: !1 + }, this.R5a(k))); H00 = 1; break; } } }; - f.prototype.$V = function (k, l) { + f.prototype.ZV = function (k, l) { var I00, d; I00 = 2; for (; I00 !== 9; ) { switch (I00) { + case 2: + I00 = l.gg ? 1 : 9; + break; case 1: - I00 = this.xla ? 5 : 4; + I00 = this.sla ? 5 : 4; break; - case 4: - d = this.by[l.gg]; - 1 === l.type && d && (--d.rX, 0 === d.rX && (d.v2 && this.PC.stop(k, l.gg), d.v2 = !1, delete this.by[l.gg]), this.P5a(k)); - I00 = 9; + case 6: + I00 = this.sla ? 6 : 5; break; - case 2: - I00 = l.gg ? 1 : 9; + I00 = this.sla ? 5 : 4; break; case 5: - this.PC.stop(k, l.gg); + this.QC.stop(k, l.gg); + I00 = 9; + break; + case 4: + d = this.gy[l.gg]; + 1 === l.type && d && (--d.qX, 0 === d.qX && (d.w2 && this.QC.stop(k, l.gg), d.w2 = !1, delete this.gy[l.gg]), this.R5a(k)); I00 = 9; break; } } }; - f.prototype.SA = function (k, l, d, g) { + f.prototype.VA = function (k, l, d, g) { var J00; J00 = 2; for (; J00 !== 1; ) { switch (J00) { case 2: - g.gg && (this.xla ? this.PC.add(k, l, d, g.gg) : this.iR === g.gg && this.PC.add(k, l, d, g.gg)); + g.gg && (this.sla ? this.QC.add(k, l, d, g.gg) : this.kR === g.gg && this.QC.add(k, l, d, g.gg)); J00 = 1; break; } @@ -75500,79 +75578,21 @@ a000.D9b = function () { } } })(); - b.fya = a; - }, function (q, b, a) { + b.cya = a; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.owa = void 0; - c = a(2).__importDefault(a(385)); - q = (function () { + b.lwa = void 0; + c = a(2).__importDefault(a(390)); + r = (function () { var M00; M00 = 2; - function f() { - var N00; - N00 = 2; - for (; N00 !== 5; ) { - switch (N00) { - case 2: - var Z9b = "1"; - Z9b += "SIYb"; - Z9b += "ZrN"; - Z9b += "J"; - Z9b += "Cp9"; - this.R_ = {}; - Z9b; - N00 = 5; - break; - } - } - } for (; M00 !== 9; ) { switch (M00) { - case 4: - f.prototype.get = function () { - var R00, - k, - l, - d, - g, - h, - m; - R00 = 2; - for (; R00 !== 8; ) { - switch (R00) { - case 1: - R00 = g < l.length ? 5 : 9; - break; - case 2: - (k = this.R_, l = Object.keys(k), d = [], g = 0); - R00 = 1; - break; - case 9: - return d; - break; - case 5: - (h = l[g], m = k[h].get()); - m && d.push({ - cdnid: h, - avtp: m.Ea, - tm: m.V1 - }); - R00 = 3; - break; - case 3: - g++; - R00 = 1; - break; - } - } - }; - return f; - break; case 2: f.prototype.add = function (k, l, d, g) { var O00, @@ -75581,7 +75601,7 @@ a000.D9b = function () { for (; O00 !== 4; ) { switch (O00) { case 2: - h = this.R_; + h = this.U_; void 0 === h[g] && (h[g] = new c.default()); h[g].add(k, l, d); O00 = 4; @@ -75596,7 +75616,7 @@ a000.D9b = function () { for (; P00 !== 4; ) { switch (P00) { case 2: - d = this.R_; + d = this.U_; void 0 === d[l] && (d[l] = new c.default()); d[l].start(k); P00 = 4; @@ -75611,7 +75631,7 @@ a000.D9b = function () { for (; Q00 !== 5; ) { switch (Q00) { case 2: - d = this.R_; + d = this.U_; void 0 !== d[l] && d[l].stop(k); Q00 = 5; break; @@ -75620,40 +75640,121 @@ a000.D9b = function () { }; M00 = 4; break; + case 4: + f.prototype.get = function () { + var R00, + h, + m, + k, + l, + d, + g; + R00 = 2; + for (; R00 !== 8; ) { + switch (R00) { + case 5: + (h = l[g], m = k[h].get()); + m && d.push({ + cdnid: h, + avtp: m.Fa, + tm: m.X1 + }); + R00 = 3; + break; + case 1: + R00 = g < l.length ? 5 : 9; + break; + case 2: + (k = this.U_, l = Object.keys(k), d = [], g = 0); + R00 = 1; + break; + case 9: + return d; + break; + case 3: + g++; + R00 = 1; + break; + } + } + }; + return f; + break; + } + } + function f() { + var N00; + N00 = 2; + for (; N00 !== 5; ) { + switch (N00) { + case 3: + this.U_ = {}; + ""; + N00 = 4; + break; + N00 = 5; + break; + case 2: + var B2q = "1"; + B2q += "SIYbZrNJ"; + B2q += "Cp9"; + this.U_ = {}; + B2q; + N00 = 5; + break; + } } } })(); - b.owa = q; - }, function (q, b) { + b.lwa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.dDa = void 0; - q = (function () { + b.$Ca = void 0; + r = (function () { var S00; - S00 = 2; function a() { var T00; T00 = 2; for (; T00 !== 4; ) { switch (T00) { case 2: - var X9b = "1SIYbZ"; - X9b += "r"; - X9b += "NJC"; - X9b += "p9"; - this.nV = [0, 0]; - this.YW = [0, 0]; - X9b; + var A2q = "1SIYbZrN"; + A2q += "JC"; + A2q += "p9"; + this.mV = [0, 0]; + this.XW = [0, 0]; + A2q; T00 = 4; break; } } } + S00 = 2; for (; S00 !== 3; ) { switch (S00) { + case 5: + a.prototype.k3 = function () { + var W00; + W00 = 2; + for (; W00 !== 1; ) { + switch (W00) { + case 2: + return { + bytesRequestedPacingVideo: this.mV[1], + bytesRequestedPacingAudio: this.mV[0], + bytestotalVideo: this.XW[1], + bytestotalAudio: this.XW[0] + }; + break; + } + } + }; + return a; + break; case 2: a.prototype.reset = function () { var U00; @@ -75661,114 +75762,33 @@ a000.D9b = function () { for (; U00 !== 5; ) { switch (U00) { case 2: - this.nV = [0, 0]; - this.YW = [0, 0]; + this.mV = [0, 0]; + this.XW = [0, 0]; U00 = 5; break; } } }; - a.prototype.SA = function (c, f, k, l, d) { + a.prototype.VA = function (c, f, k, l, d) { var V00; V00 = 2; for (; V00 !== 5; ) { switch (V00) { case 2: - this.YW[l.type] += c; - V00 = 1; - break; - case 1: - d && (this.nV[l.type] += c); + this.XW[l.type] += c; + d && (this.mV[l.type] += c); V00 = 5; break; } } }; - a.prototype.j3 = function () { - var W00; - W00 = 2; - for (; W00 !== 1; ) { - switch (W00) { - case 2: - return { - bytesRequestedPacingVideo: this.nV[1], - bytesRequestedPacingAudio: this.nV[0], - bytestotalVideo: this.YW[1], - bytestotalAudio: this.YW[0] - }; - break; - } - } - }; - return a; + S00 = 5; break; } } })(); - b.dDa = q; - }, function (q, b, a) { - var c; - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.ae = void 0; - q = a(2); - q.__exportStar(a(386), b); - q.__exportStar(a(797), b); - q.__exportStar(a(226), b); - q.__exportStar(a(798), b); - q.__exportStar(a(799), b); - q.__exportStar(a(800), b); - q.__exportStar(a(801), b); - q.__exportStar(a(802), b); - c = a(54); - Object.defineProperties(b, { - ae: { - enumerable: !0, - get: function () { - return c.ae; - } - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b) { - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - }, function (q, b, a) { + b.$Ca = r; + }, function (r, b, a) { var c, f, k, @@ -75778,49 +75798,114 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.tAa = void 0; + b.rAa = void 0; c = a(2); f = c.__importStar(a(10)); - q = a(16); + r = a(16); k = c.__importDefault(a(27)); - l = c.__importDefault(a(804)); - d = c.__importDefault(a(4)); - g = a(227); - h = a(222); - c.__importDefault(a(224)); - m = c.__importDefault(a(805)); - a(387); + l = c.__importDefault(a(806)); + d = c.__importDefault(a(5)); + g = a(171); + h = a(225); + c.__importDefault(a(227)); + m = c.__importDefault(a(807)); + a(391); n = a(6); - r = a(808); - p = a(911); - u = new d.default.Console("ASEJS", "media|asejs"); - t = u.trace.bind(u); - w = u.warn.bind(u); - q = (function (v) { + q = a(810); + p = a(913); + t = new d.default.Console("ASEJS", "media|asejs"); + u = t.trace.bind(t); + w = t.warn.bind(t); + r = (function (v) { var X00; X00 = 2; + function x(y, z) { + var Y00, + A; + Y00 = 2; + for (; Y00 !== 13; ) { + switch (Y00) { + case 3: + var t2q = "1"; + t2q += "SIYbZr"; + t2q += "N"; + t2q += "JCp9"; + var H2q = "D"; + H2q += "EBU"; + H2q += "G"; + H2q += ":"; + var q2q = "nf-ase "; + q2q += "ver"; + q2q += "sio"; + q2q += "n"; + q2q += ":"; + u(q2q, y, H2q, !1); + A.Kca = !1; + A.sib = !1; + A.wE = []; + t2q; + return A; + break; + case 2: + A = v.call(this) || this; + A.config = y; + A.RC = z; + y = a(432); + Y00 = 3; + break; + } + } + } for (; X00 !== 26; ) { switch (X00) { - case 6: + case 2: + c.__extends(x, v); Object.defineProperties(x.prototype, { - mh: { + Lb: { get: function () { - var g10; - g10 = 2; - for (; g10 !== 1; ) { - switch (g10) { + var Z00; + Z00 = 2; + for (; Z00 !== 1; ) { + switch (Z00) { + case 4: + return this.b_.Lb; + break; + Z00 = 1; + break; + case 2: + return this.b_.Lb; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(x.prototype, { + Nm: { + get: function () { + var a10; + a10 = 2; + for (; a10 !== 1; ) { + switch (a10) { + case 4: + return this.b_.Nm; + break; + a10 = 1; + break; case 2: - return this.ZZ.mh; + return this.b_.Nm; break; } } @@ -75829,18 +75914,40 @@ a000.D9b = function () { configurable: !0 } }); - X00 = 14; + Object.defineProperties(x.prototype, { + Qt: { + get: function () { + var b10; + b10 = 2; + for (; b10 !== 1; ) { + switch (b10) { + case 4: + return this.Bda; + break; + b10 = 1; + break; + case 2: + return this.Bda; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + X00 = 3; break; case 3: Object.defineProperties(x.prototype, { - uz: { + xz: { get: function () { var c10; c10 = 2; for (; c10 !== 1; ) { switch (c10) { case 2: - return this.b0; + return this.d0; break; } } @@ -75850,19 +75957,19 @@ a000.D9b = function () { } }); Object.defineProperties(x.prototype, { - mma: { + gma: { get: function () { var d10; d10 = 2; for (; d10 !== 1; ) { switch (d10) { case 4: - return -f.ga(this.OKa); + return ~f.fa(this.MKa); break; d10 = 1; break; case 2: - return !f.ga(this.OKa); + return !f.fa(this.MKa); break; } } @@ -75872,14 +75979,14 @@ a000.D9b = function () { } }); Object.defineProperties(x.prototype, { - HC: { + JC: { get: function () { var e10; e10 = 2; for (; e10 !== 1; ) { switch (e10) { case 2: - return this.KKa; + return this.IKa; break; } } @@ -75888,53 +75995,20 @@ a000.D9b = function () { configurable: !0 } }); - X00 = 7; - break; - case 2: - c.__extends(x, v); Object.defineProperties(x.prototype, { - Jb: { + mf: { get: function () { - var Z00; - Z00 = 2; - for (; Z00 !== 1; ) { - switch (Z00) { + var f10; + f10 = 2; + for (; f10 !== 1; ) { + switch (f10) { case 2: - return this.ZZ.Jb; + return this.Eu; break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(x.prototype, { - Om: { - get: function () { - var a10; - a10 = 2; - for (; a10 !== 1; ) { - switch (a10) { - case 2: - return this.ZZ.Om; + case 4: + return this.Eu; break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(x.prototype, { - Lt: { - get: function () { - var b10; - b10 = 2; - for (; b10 !== 1; ) { - switch (b10) { - case 2: - return this.Hda; + f10 = 1; break; } } @@ -75943,23 +76017,15 @@ a000.D9b = function () { configurable: !0 } }); - X00 = 3; - break; - case 7: Object.defineProperties(x.prototype, { - mf: { + jh: { get: function () { - var f10; - f10 = 2; - for (; f10 !== 1; ) { - switch (f10) { + var g10; + g10 = 2; + for (; g10 !== 1; ) { + switch (g10) { case 2: - return this.zu; - break; - case 4: - return this.zu; - break; - f10 = 1; + return this.b_.jh; break; } } @@ -75968,21 +76034,18 @@ a000.D9b = function () { configurable: !0 } }); - X00 = 6; - break; - case 14: Object.defineProperties(x.prototype, { - pla: { + kla: { get: function () { var h10; h10 = 2; for (; h10 !== 1; ) { switch (h10) { case 2: - return this.rib; + return this.sib; break; case 4: - return this.rib; + return this.sib; break; h10 = 1; break; @@ -75993,392 +76056,366 @@ a000.D9b = function () { configurable: !0 } }); - x.prototype.mb = function (y, z, B, A, C, E) { + X00 = 13; + break; + case 15: + x.prototype.zb = function () { + var u10; + u10 = 2; + for (; u10 !== 6; ) { + switch (u10) { + case 9: + this.Ix(); + delete this.Eu; + h.UH.reset(); + u10 = 6; + break; + case 2: + var F2q = "At"; + F2q += "tempted"; + F2q += " to destruct Manager before all"; + F2q += " Sessions removed"; + n.assert(0 === this.wE.length, F2q); + this.Kca = !1; + delete this.b_; + delete this.Bda; + u10 = 3; + break; + case 3: + delete this.RC; + u10 = 9; + break; + } + } + }; + return x; + break; + case 13: + x.prototype.mb = function (y, z, A, B, C, E) { var i10, - F, + G, D; i10 = 2; for (; i10 !== 11; ) { switch (i10) { - case 2: - (F = this, D = this.config); - h.MH.reset(); - 0 < D.$s && (!f.ga(y) && y > D.$s && (y = D.$s), z > D.$s && (z = D.$s)); - f.ga(y) && (this.OKa = z); - i10 = 3; - break; - case 3: - this.b0 = A; - this.KKa = C; - l.default(D); - i10 = 7; - break; - case 7: - this.ZZ = h.MH.UTa(D, this.QC); - this.Hda = new m.default(D); - i10 = 14; - break; - case 12: - this.Qca = !0; - i10 = 11; - break; case 13: - var V9b = "medi"; - V9b += "aca"; - V9b += "c"; - V9b += "h"; - V9b += "e"; - var d9b = "c"; - d9b += "a"; - d9b += "cheEvi"; - d9b += "c"; - d9b += "t"; - var P9b = "f"; - P9b += "lushed"; - P9b += "Byt"; - P9b += "es"; - var w9b = "d"; - w9b += "iscar"; - w9b += "de"; - w9b += "dB"; - w9b += "ytes"; - var a9b = "pr"; - a9b += "ebu"; - a9b += "ffst"; - a9b += "at"; - a9b += "s"; - (z = new p.kza(this, D, B, E), y = function (G) { + var h2q = "m"; + h2q += "ed"; + h2q += "iac"; + h2q += "a"; + h2q += "che"; + var e2q = "cac"; + e2q += "heEv"; + e2q += "ict"; + var k2q = "flushed"; + k2q += "Byt"; + k2q += "es"; + var y2q = "discard"; + y2q += "edB"; + y2q += "y"; + y2q += "tes"; + var b2q = "p"; + b2q += "rebu"; + b2q += "f"; + b2q += "f"; + b2q += "stats"; + (z = new p.iza(this, D, A, E), y = function (F) { var j10; j10 = 2; for (; j10 !== 1; ) { switch (j10) { case 4: - F.emit(G.type, G); + G.emit(F.type, F); j10 = 2; break; j10 = 1; break; case 2: - F.emit(G.type, G); + G.emit(F.type, F); j10 = 1; break; } } - }, z.addListener(a9b, y), z.addListener(w9b, y), z.addListener(P9b, y), z.addListener(d9b, y), (D.Wta || D.Vta) && z.addListener(V9b, function (G) { + }, z.addListener(b2q, y), z.addListener(y2q, y), z.addListener(k2q, y), z.addListener(e2q, y), (D.Sta || D.Rta) && z.addListener(h2q, function (F) { var k10; k10 = 2; for (; k10 !== 1; ) { switch (k10) { case 2: - var K9b = "med"; - K9b += "iacach"; - K9b += "e"; - F.emit(K9b, G); + var f2q = "m"; + f2q += "e"; + f2q += "d"; + f2q += "iac"; + f2q += "ache"; + G.emit(f2q, F); + k10 = 1; + break; + case 4: + G.emit("", F); + k10 = 7; + break; k10 = 1; break; } } - }), this.zu = z); + }), this.Eu = z); i10 = 12; break; + case 9: + this.IKa = C; + l.default(D); + this.b_ = h.UH.VTa(D, this.RC); + this.Bda = new m.default(D); + i10 = 14; + break; + case 2: + (G = this, D = this.config); + h.UH.reset(); + 0 < D.ht && (!f.fa(y) && y > D.ht && (y = D.ht), z > D.ht && (z = D.ht)); + f.fa(y) && (this.MKa = z); + this.d0 = B; + i10 = 9; + break; + case 12: + this.Kca = !0; + i10 = 11; + break; case 14: - i10 = D.SN || D.D8 ? 13 : 12; + i10 = D.q6a || D.Pta ? 13 : 12; break; } } }; - x.prototype.tW = function (y, z, B) { + x.prototype.sW = function (y, z, A) { var l10; l10 = 2; for (; l10 !== 4; ) { switch (l10) { case 2: - this.OKa = y; - this.b0 = z || 0; - this.KKa = B || 0; + this.MKa = y; + this.d0 = z || 0; + this.IKa = A || 0; l10 = 4; break; } } }; - x.prototype.createSession = function (y, z, B, A, C, E, F, D, G, I) { + x.prototype.createSession = function (y, z, A, B, C, E, G, D, F, J) { var m10; m10 = 2; for (; m10 !== 4; ) { switch (m10) { - case 1: - return (D = D || this.config, this.Jb.reset(), this.Om.GTb(), this.Hda.reset(), void 0 === E && (E = this.O2(y, z)), f.ga(this.b0) && (this.b0 = d.default.Mn()[k.default.Za.Hb] <= D.WIb ? 0 : D.$M), y = new r.jGa(this, y, I, z, B, A, C, E, F, D, G), this.uE.push(y), y); - break; - case 2: - m10 = this.Qca ? 1 : 5; - break; - case 7: - w(""); - m10 = 8; + case 9: + m10 = this.Kca ? 2 : 8; break; - m10 = 4; + m10 = this.Kca ? 1 : 5; break; case 5: - var g9b = "open: streamingManag"; - g9b += "er not initte"; - g9b += "d"; - w(g9b); + var E2q = "open: stre"; + E2q += "amin"; + E2q += "gManager not in"; + E2q += "itt"; + E2q += "ed"; + w(E2q); m10 = 4; break; - } - } - }; - X00 = 10; - break; - case 17: - x.prototype.Gfa = function () { - var s10, - y; - s10 = 2; - for (; s10 !== 5; ) { - switch (s10) { - case 2: - null === (y = this.zu) || void 0 === y ? void 0 : y.VRa(); - s10 = 5; - break; - } - } - }; - x.prototype.Dx = function () { - var t10, - y; - t10 = 2; - for (; t10 !== 5; ) { - switch (t10) { - case 2: - null === (y = this.zu) || void 0 === y ? void 0 : y.Otb(); - t10 = 5; - break; - } - } - }; - x.prototype.wb = function () { - var u10; - u10 = 2; - for (; u10 !== 6; ) { - switch (u10) { case 2: - var N9b = "Attempted to destruct "; - N9b += "M"; - N9b += "anager befo"; - N9b += "re all Sessions removed"; - n.assert(0 === this.uE.length, N9b); - this.Qca = !1; - delete this.ZZ; - delete this.Hda; - u10 = 3; + m10 = this.Kca ? 1 : 5; break; - case 3: - delete this.QC; - this.Dx(); - delete this.zu; - h.MH.reset(); - u10 = 6; + case 1: + return (D = D || this.config, this.Lb.reset(), this.Nm.ITb(), this.Bda.reset(), void 0 === E && (E = this.P2(y, z)), f.fa(this.d0) && (this.d0 = d.default.Nn()[k.default.Ra.Bb] <= D.YIb ? 0 : D.$M), y = new q.fGa(this, y, J, z, A, B, C, E, G, D, F), this.wE.push(y), y); break; } } }; - return x; - break; - case 10: - x.prototype.sU = function (y, z) { + x.prototype.rU = function (y, z) { var n10; n10 = 2; for (; n10 !== 1; ) { switch (n10) { case 2: - return this.zu && (y = this.zu.sU(y, z)) ? y : !1; + return this.Eu && (y = this.Eu.rU(y, z)) ? y : !1; break; } } }; - x.prototype.Mib = function (y) { + x.prototype.Nib = function (y) { var o10, z; o10 = 2; for (; o10 !== 4; ) { switch (o10) { case 2: - var T9b = "can't find sessio"; - T9b += "n in array, movi"; - T9b += "eId:"; - this.Jb.pN(null); - z = this.uE.indexOf(y); - f.ga(z) ? w(T9b, y.me.N.K) : (this.uE.splice(z, 1), 0 === this.uE.length && this.Om.QTb(), this.Om.save(), this.mh.save()); + var x2q = "can't find session in a"; + x2q += "rray"; + x2q += ", movieId:"; + this.Lb.qN(null); + z = this.wE.indexOf(y); + f.fa(z) ? w(x2q, y.pe.N.K) : (this.wE.splice(z, 1), 0 === this.wE.length && this.Nm.STb(), this.Nm.save(), this.jh.save()); o10 = 4; break; } } }; - x.prototype.O2 = function (y, z, B) { + X00 = 19; + break; + case 19: + x.prototype.P2 = function (y, z, A) { var q10; q10 = 2; for (; q10 !== 1; ) { switch (q10) { + case 2: + return g.ITa(y, z, A); + break; case 4: - return g.GTa(y, z, B); + return g.ITa(y, z, A); break; q10 = 1; break; - case 2: - return g.GTa(y, z, B); - break; } } }; - x.prototype.X0 = function () { + x.prototype.Z0 = function () { var r10, y; r10 = 2; for (; r10 !== 5; ) { switch (r10) { case 2: - null === (y = this.zu) || void 0 === y ? void 0 : y.flush(); + null === (y = this.Eu) || void 0 === y ? void 0 : y.flush(); r10 = 5; break; } } }; - X00 = 17; + x.prototype.zfa = function () { + var s10, + y; + s10 = 2; + for (; s10 !== 5; ) { + switch (s10) { + case 2: + null === (y = this.Eu) || void 0 === y ? void 0 : y.URa(); + s10 = 5; + break; + } + } + }; + x.prototype.Ix = function () { + var t10, + y; + t10 = 2; + for (; t10 !== 5; ) { + switch (t10) { + case 2: + null === (y = this.Eu) || void 0 === y ? void 0 : y.Rtb(); + t10 = 5; + break; + } + } + }; + X00 = 15; break; } } - function x(y, z) { - var Y00, - B; - Y00 = 2; - for (; Y00 !== 13; ) { - switch (Y00) { - case 2: - var B9b = "D"; - B9b += "EBU"; - B9b += "G"; - B9b += ":"; - var x9b = "nf"; - x9b += "-ase ver"; - x9b += "sion:"; - B = v.call(this) || this; - B.config = y; - B.QC = z; - y = a(428); - t(x9b, y, B9b, !1); - B.Qca = !1; - B.rib = !1; - Y00 = 7; - break; - case 7: - var s9b = "1"; - s9b += "SIYbZrNJ"; - s9b += "Cp9"; - B.uE = []; - s9b; - return B; - break; - } - } - } - })(q.EventEmitter); - b.tAa = q; - }, function (q, b, a) { + })(r.EventEmitter); + b.rAa = r; + }, function (r, b, a) { var f, k, l, d; function c(g) { var h; - h = nrdp.ei.F7b.match(/android-(\d*)/); - h ? 23 < h[1] ? g.Psa = !1 : (h = nrdp.ei.X1b.ss.platform.platformVersion.match(/(\d*)\.(\d*).(\d*)/), g.Psa = h ? 6 < h[1] || 6 == h[1] && 1 < h[2] || 6 == h[1] && 1 == h[2] && 1 <= h[3] ? !0 : !1 : !1) : g.Psa = !1; - g.X7 = !1; + h = nrdp.ei.V7b.match(/android-(\d*)/); + h ? 23 < h[1] ? g.Ksa = !1 : (h = nrdp.ei.X1b.xs.platform.platformVersion.match(/(\d*)\.(\d*).(\d*)/), g.Ksa = h ? 6 < h[1] || 6 == h[1] && 1 < h[2] || 6 == h[1] && 1 == h[2] && 1 <= h[3] ? !0 : !1 : !1) : g.Ksa = !1; + g.T7 = !1; } f = a(6).assert; - a(124); - k = a(4).default; - l = k.kq; - d = k.Jbb; - q.exports = function () { + a(123); + k = a(5).default; + l = k.mq; + d = k.Nbb; + r.exports = function () { var g, h, m, n; g = new k.Console("ASEJSMONKEY", "media|asejs"); - if (!k.kq.Ub) { - h = function (r) { - this.fhb = r; + if (!k.mq.Wb) { + h = function (q) { + this.ghb = q; }; m = d.prototype.appendBuffer; - k.MediaSource.Ub || (k.MediaSource.Ub = {}); - "undefined" !== typeof nrdp && nrdp.A0 && (c(k.MediaSource.Ub, g), k.MediaSource.Ub.mOa = !1, k.MediaSource.Ub.hZa = !1); - k.kq.Ub = { + k.MediaSource.Wb || (k.MediaSource.Wb = {}); + "undefined" !== typeof nrdp && nrdp.C0 && (c(k.MediaSource.Wb, g), k.MediaSource.Wb.kOa = !1, k.MediaSource.Wb.eZa = !1); + k.mq.Wb = { cW: { - m7a: !0, + o7a: !0, LP: !0, - Ubb: !0 + Ybb: !0 } }; Object.defineProperty(l.prototype, "_response", { get: function () { - return this.ujb || this.Ifb; + return this.vjb || this.Jfb; }, - set: function (r) { - this.Ifb = r; + set: function (q) { + this.Jfb = q; } }); n = l.prototype.open; - l.prototype.open = function (r, p, u, t, w, v, x) { - 1 === u && (this.ujb = new h(this)); - return n.call(this, r, p, u, t, w, v, x); + l.prototype.open = function (q, p, t, u, w, v, x) { + 1 === t && (this.vjb = new h(this)); + return n.call(this, q, p, t, u, w, v, x); }; - l.prototype.SV = function () { - this.yJ = void 0; + l.prototype.RV = function () { + this.AJ = void 0; }; - d.prototype.appendBuffer = function (r) { - if (r instanceof ArrayBuffer) - return m.call(this, r); - if (r instanceof h) - return this.B0(r.fhb); + d.prototype.appendBuffer = function (q) { + if (q instanceof ArrayBuffer) + return m.call(this, q); + if (q instanceof h) + return this.D0(q.ghb); f(!1); }; } }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l; function c() { - this.$w = this.kQ = this.s_ = this.F_ = this.m_ = null; + this.ex = this.lQ = this.v_ = this.I_ = this.p_ = null; } function f(d) { this.I = d; - this.LA = []; - this.tq = new c(); - this.zQ(); + this.OA = []; + this.vq = new c(); + this.AQ(); } k = a(10); a(27); a(9); - l = a(4).default; + l = a(5).default; new l.Console("ASEJS_SESSION_HISTORY", "media|asejs"); - c.prototype.Ce = function (d) { + c.prototype.Ee = function (d) { var g; g = !1; - d && k.has(d, "ens") && k.has(d, "lns") && k.has(d, "fns") && k.has(d, "d") && k.has(d, "t") && (this.m_ = d.ens, this.F_ = d.lns, this.s_ = d.fns, this.kQ = d.d, this.$w = d.t, g = !0); + d && k.has(d, "ens") && k.has(d, "lns") && k.has(d, "fns") && k.has(d, "d") && k.has(d, "t") && (this.p_ = d.ens, this.I_ = d.lns, this.v_ = d.fns, this.lQ = d.d, this.ex = d.t, g = !0); return g; }; c.prototype.getState = function () { var d; - if (k.ob(this.m_) || k.ob(this.F_) || k.ob(this.s_) || k.ob(this.kQ) || k.ob(this.$w)) + if (k.tb(this.p_) || k.tb(this.I_) || k.tb(this.v_) || k.tb(this.lQ) || k.tb(this.ex)) return null; d = { - d: this.kQ, - t: this.$w + d: this.lQ, + t: this.ex }; - d.ens = this.m_; - d.lns = this.F_; - d.fns = this.s_; + d.ens = this.p_; + d.lns = this.I_; + d.fns = this.v_; return d; }; c.prototype.get = function () { @@ -76386,18 +76423,18 @@ a000.D9b = function () { g; d = this.getState(); if (d) { - g = new Date(this.$w); + g = new Date(this.ex); d.dateint = 1E4 * g.getFullYear() + 100 * (g.getMonth() + 1) + g.getDate(); d.hour = g.getHours(); } return d; }; - f.prototype.zQ = function () { + f.prototype.AQ = function () { var d; d = l.storage.get("sth"); - d && this.Ce(d); + d && this.Ee(d); }; - f.prototype.Ce = function (d) { + f.prototype.Ee = function (d) { var g, h; g = null; @@ -76405,20 +76442,20 @@ a000.D9b = function () { d.forEach(function (m) { var n; n = new c(); - n.Ce(m) ? (g = !0, this.LA.push(n)) : k.ob(g) && (g = !1); + n.Ee(m) ? (g = !0, this.OA.push(n)) : k.tb(g) && (g = !1); }, this); - this.LA = this.LA.filter(function (m) { - return m.kQ >= h.y5; + this.OA = this.OA.filter(function (m) { + return m.lQ >= h.y5; }); - this.LA.sort(function (m, n) { - return m.$w - n.$w; + this.OA.sort(function (m, n) { + return m.ex - n.ex; }); - return k.ob(g) ? !0 : g; + return k.tb(g) ? !0 : g; }; - f.prototype.Ica = function () { + f.prototype.Cca = function () { var d; d = []; - this.LA.forEach(function (g) { + this.OA.forEach(function (g) { d.push(g.getState()); }, this); return d; @@ -76427,58 +76464,58 @@ a000.D9b = function () { var d, g, h; - d = this.Ica(); + d = this.Cca(); g = this.I; - h = this.tq.getState(); - h && h.d >= g.y5 && (d.push(h), this.LA.push(this.tq)); + h = this.vq.getState(); + h && h.d >= g.y5 && (d.push(h), this.OA.push(this.vq)); d.length > g.c5 && (d = d.slice(d.length - g.c5, d.length)); - this.tq = new c(); + this.vq = new c(); d && l.storage.set("sth", d); }; f.prototype.reset = function () { - this.tq = new c(); + this.vq = new c(); }; - f.prototype.Zyb = function () { - return this.tq.get(); + f.prototype.czb = function () { + return this.vq.get(); }; - f.prototype.rBb = function () { - return this.LA.length + 1; + f.prototype.tBb = function () { + return this.OA.length + 1; }; f.prototype.lkb = function (d) { - this.tq.m_ = d; - this.tq.$w = l.time.aa(); + this.vq.p_ = d; + this.vq.ex = l.time.ba(); }; f.prototype.vkb = function (d) { - this.tq.F_ = d; - this.tq.$w = l.time.aa(); + this.vq.I_ = d; + this.vq.ex = l.time.ba(); }; f.prototype.okb = function (d, g) { - this.tq.s_ = d; - this.tq.$w = l.time.aa(); - this.tq.kQ = g; + this.vq.v_ = d; + this.vq.ex = l.time.ba(); + this.vq.lQ = g; }; - q.exports = f; - }, function (q, b) { + r.exports = f; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.ZAa = void 0; - q = (function () { + b.XAa = void 0; + r = (function () { function a(c, f, k) { - this.yjb = f; - this.cfb = k; + this.zjb = f; + this.dfb = k; this.H = c; } - a.prototype.Ppa = function (c) { - c = this.$Db(c, this.yjb) + this.cfb; - return this.xda = isNaN(c) ? NaN : this.isa(c); + a.prototype.Jpa = function (c) { + c = this.cEb(c, this.zjb) + this.dfb; + return this.rda = isNaN(c) ? NaN : this.csa(c); }; - a.prototype.Job = function (c) { - return isNaN(this.xda) ? 0 : this.xda > c ? 1 : 0; + a.prototype.Kob = function (c) { + return isNaN(this.rda) ? 0 : this.rda > c ? 1 : 0; }; - a.prototype.$Db = function (c, f) { + a.prototype.cEb = function (c, f) { var k; k = 0; if (c.length !== f.length) @@ -76489,72 +76526,72 @@ a000.D9b = function () { } return k; }; - a.prototype.isa = function (c) { + a.prototype.csa = function (c) { return 1 / (1 + Math.exp(-c)); }; return a; })(); - b.ZAa = q; - }, function (q, b) { + b.XAa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); b.AP = void 0; - q = (function () { + r = (function () { function a(c) { - this.tj = {}; - this.fda = c; - this.Kf = []; - this.yq = !1; - this.vE = void 0; + this.qj = {}; + this.$ca = c; + this.Lf = []; + this.Aq = !1; + this.xE = void 0; } - a.prototype.v0 = function (c) { - this.Kf.length === this.fda && this.Kf.shift(); - Array.isArray(c) ? this.Kf = this.Kf.concat(c) : this.Kf.push(c); - this.yq = !0; + a.prototype.x0 = function (c) { + this.Lf.length === this.$ca && this.Lf.shift(); + Array.isArray(c) ? this.Lf = this.Lf.concat(c) : this.Lf.push(c); + this.Aq = !0; }; - a.prototype.gL = function () { - return this.Kf.length; + a.prototype.jL = function () { + return this.Lf.length; }; - a.prototype.Hfa = function () { + a.prototype.Afa = function () { var c; - c = this.Kf; + c = this.Lf; return 0 < c.length ? c.reduce(function (f, k) { return f + k; - }, 0) / this.Kf.length : void 0; + }, 0) / this.Lf.length : void 0; }; - a.prototype.b1 = function () { + a.prototype.d1 = function () { var c, f; - c = this.Kf; - f = this.Hfa(); + c = this.Lf; + f = this.Afa(); if (0 < c.length && "undefined" !== typeof f) return (c = c.reduce(function (k, l) { return k + l * l; }, 0) / c.length, Math.sqrt(c - f * f)); }; - a.prototype.ms = function (c) { + a.prototype.qs = function (c) { var f, k, l; - if (this.yq || void 0 === this.vE) - (this.vE = this.Kf.slice(0).sort(function (d, g) { + if (this.Aq || void 0 === this.xE) + (this.xE = this.Lf.slice(0).sort(function (d, g) { return d - g; - }), this.yq = !1); - if (void 0 === this.tj[c]) { - f = this.vE; + }), this.Aq = !1); + if (void 0 === this.qj[c]) { + f = this.xE; k = Math.floor(c / 100 * (f.length - 1) + 1) - 1; l = (c / 100 * (f.length - 1) + 1) % 1; - this.tj[c] = k === f.length - 1 ? f[k] : f[k] + l * (f[k + 1] - f[k]); + this.qj[c] = k === f.length - 1 ? f[k] : f[k] + l * (f[k + 1] - f[k]); } - return this.tj[c]; + return this.qj[c]; }; return a; })(); - b.AP = q; - }, function (q, b, a) { + b.AP = r; + }, function (r, b, a) { var c, f, k, @@ -76564,223 +76601,270 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P; + Q, + I; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.jGa = void 0; - q = a(2); + b.fGa = void 0; + r = a(2); c = a(16); - f = q.__importStar(a(10)); + f = r.__importStar(a(10)); k = a(144); - l = a(809); - d = a(227); + l = a(811); + d = a(171); g = a(14); - h = a(219); - m = a(241); - n = a(242); - r = a(854); - p = a(855); - u = q.__importDefault(a(4)); - t = u.default.Promise; - w = u.default.MediaSource; - v = a(9); - x = a(6); - y = a(172); - z = a(405); - B = a(857); - A = a(858); - C = a(406); - q = a(43); - E = a(859); - F = a(860); - D = a(407); - G = a(894); - I = a(419); - J = a(901); - H = a(424); - M = a(907); - O = a(908); - L = a(909); - P = a(910); + h = a(220); + m = a(242); + n = a(243); + q = a(856); + p = a(857); + t = r.__importDefault(a(5)); + u = t.default.MediaSource; + w = a(9); + v = a(6); + x = a(172); + y = a(409); + z = a(859); + A = a(860); + B = a(410); + r = a(43); + C = a(861); + E = a(862); + G = a(411); + D = a(896); + F = a(423); + J = a(903); + K = a(428); + H = a(909); + L = a(910); + Q = a(911); + I = a(912); a = (function () { var v10; - function R(K, Q, N, da, na, va, ra, X, ta, za, V) { + v10 = 2; + function O(N, M, P, R, ea, pa, va, ta, Y, ra, Ea) { var w10, - T, - Ia, - wa, - Ua, - ja; + V, + Ta, + U, + ma, + Ia; w10 = 2; for (; w10 !== 74; ) { switch (w10) { - case 51: - this.P2a = new m.O$(Q, this.Yb.Jb, this.Yb.mh, this.I, void 0); - K = this.P2a.zBb(); - w10 = 49; + case 16: + this.Yb(0) && this.Yb(1); + this.$b = N; + this.ul = va; + w10 = 26; break; - case 55: - w10 = this.Nq ? 77 : 75; + case 4: + var N2q = "med"; + N2q += "ia"; + N2q += "|as"; + N2q += "ej"; + N2q += "s"; + var p2q = "A"; + p2q += "SE"; + p2q += "J"; + p2q += "S"; + var n2q = "1S"; + n2q += "IYb"; + n2q += "Z"; + n2q += "rNJCp"; + n2q += "9"; + this.NB = { + Fu: [Object.create(null), Object.create(null)] + }; + n2q; + this.H = new t.default.Console(p2q, N2q, "(" + va.sessionId + ")"); + this.ak = this.H.error.bind(this.H); + this.Gb = this.H.warn.bind(this.H); + this.rm = this.H.trace.bind(this.H); + w10 = 14; + break; + case 38: + w10 = (ra.Sta || ra.Rta) && this.$b.mf ? 37 : 36; break; case 2: - var U7u = "m"; - U7u += "e"; - U7u += "di"; - U7u += "a"; - U7u += "|asejs"; - var F7u = "A"; - F7u += "S"; - F7u += "EJS"; - var i9b = "1SI"; - i9b += "YbZ"; - i9b += "rNJC"; - i9b += "p9"; - T = this; - this.Ow = new C.wFa(); - this.oIa = []; - this.LB = { - Au: [Object.create(null), Object.create(null)] - }; - i9b; - this.H = new u.default.Console(F7u, U7u, "(" + ra.sessionId + ")"); - this.$j = this.H.error.bind(this.H); - w10 = 7; + V = this; + this.Tw = new B.tFa(); + this.mIa = []; + w10 = 4; break; - case 63: - w10 = za.Zha && this.Yf.t4 ? 62 : 59; + case 60: + this.Yf.Ata(this.I); + w10 = 59; break; - case 17: - this.wjb = [!va.UC, !va.vR]; - this.Vb(0) && this.Vb(1); - w10 = 15; + case 64: + this.Yf = new J.Eua(this, this.H, N, this.$b.Lb, ra, this.RL(), ea, this.Yb.bind(this), Ia); + w10 = 63; break; - case 13: - var y7u = "br"; - y7u += "an"; - y7u += "chi"; - y7u += "ng"; - this.qb = ja; - this.OOa = new z.Ewa(this.H); - (Ia = !(!Q || !Q.choiceMap || y7u !== Q.choiceMap.type), wa = Ia ? { - GS: !1, - Nq: !1 - } - : p.rTa(za)); - this.GS = wa.GS; - w10 = 20; + case 41: + this.wS = new z.txa(this, this.H, U); + w10 = 40; break; - case 56: - this.nb = new H.BGa(this.H, this.Yf, this.I, this.Vb.bind(this), this.T, za, this.Yb.Jb, this.qb, this.Mf, this.Ga, wa); - w10 = 55; + case 48: + ra.IS && (ea = this.$b.Qt.OA); + x.tw.instance().reset(); + M = l.S$.create({ + Fb: 0, + sa: M, + co: P, + E2a: R, + Ng: !!pa.Ng, + nWa: !1, + Gi: !!pa.Gi, + Ed: h.o5(!!pa.wR, !!pa.VC), + X: 0, + Ca: pa.Ca, + ub: this.ub, + Rq: this.hJa.bind(this), + Nb: this, + config: this.I, + H: this.H, + Nf: this.Nf, + Zm: this.Zm, + mf: this.$Ka ? this.$b.mf : void 0, + NB: this.NB + }); + M.pR = !0; + this.sd = [M]; + w10 = 64; + break; + case 28: + this.tda = 0; + this.Yh = new c.xh(); + this.Zm = new H.XFa(this, this.H, this.Yb.bind(this), U); + this.Nf = new L.uxa(this, this.H, this.Yb.bind(this)); + w10 = 41; + break; + case 36: + ma && ra.DK && !ra.evb && (ra.set ? ra.set({ + enableAdaptiveParallelStreaming: !1 + }) : ra.DK = !1); + 0 === Math.floor(1E6 * Math.random()) % ra.YA && (this.Vib = new q.zFa(ra)); + this.Iu = []; + this.rg = []; + w10 = 51; + break; + case 19: + this.Wv = ra.Wv; + this.ji = new Q.yAa(this, this.H, this.Yb.bind(this), Ia); + this.xjb = [!pa.VC, !pa.wR]; + w10 = 16; + break; + case 55: + w10 = this.Oq ? 77 : 75; + break; + case 62: + ra = ra.YCb; + for (var wa in ra) { + P = ra[wa]; + ra.hasOwnProperty(wa) && P && (this.I[wa] = P); + } + w10 = 60; + break; + case 35: + this.T = new A.Rua(Y); + this.QA = ea || 0; + this.sJ = 0; + this.Nba = ta; + w10 = 31; break; case 77: - Ua = this; + Ta = this; w10 = 76; break; - case 30: - this.tQ = void 0; - this.D_ = -1; - this.zda = 0; - this.Yh = new c.zh(); - w10 = 43; + case 59: + wa = M.N; + this.Ga = new F.y9(this, this.ub, this.H, this.Fda.bind(this), wa, this.QA, this.I, this.Nf, this.T, this.fT.bind(this)); + ra = { + sU: this.sU, + kr: this.kr, + cm: this.cm, + EM: this.EM + }; + w10 = 56; break; - case 60: - this.Yf.Gta(this.I); - w10 = 59; + case 56: + this.ob = new K.xGa(this.H, this.Yf, this.I, this.Yb.bind(this), this.T, ra, this.$b.Lb, this.ub, this.Nf, this.Ga, Ia); + w10 = 55; break; - case 76: - this.T.addListener(function ($a) { - var z10, - A10; - z10 = 2; - for (; z10 !== 1; ) { - switch (z10) { + case 37: + var I2q = "medi"; + I2q += "aca"; + I2q += "c"; + I2q += "he"; + this.Yh.on(this.$b.mf, I2q, function (Ua) { + var y10; + y10 = 2; + for (; y10 !== 1; ) { + switch (y10) { case 2: - try { - A10 = 2; - for (; A10 !== 1; ) { - switch (A10) { - case 2: - Ua.nb.CWb.bind(Ua.nb)($a); - A10 = 1; - break; - } - } - } catch (Za) { - var L7u = "Hind"; - L7u += "sight: Error when adding updatePl"; - L7u += "aySegment List"; - L7u += "ener: "; - a000.D9b(2); - Ua.qb.Pm(a000.Q9b(L7u, Za)); - } - z10 = 1; + var V2q = "medi"; + V2q += "ac"; + V2q += "a"; + V2q += "c"; + V2q += "he"; + w.Ua(V, V2q, Ua); + y10 = 1; break; } } }); - w10 = 75; + w10 = 36; break; - case 36: - Ia && za.zK && !za.avb && (za.set ? za.set({ - enableAdaptiveParallelStreaming: !1 - }) : za.zK = !1); - 0 === Math.floor(1E6 * Math.random()) % za.WA && (this.Uib = new r.CFa(za)); - this.Du = []; - this.rg = []; - w10 = 51; + case 63: + w10 = ra.Tha && this.Yf.t4 ? 62 : 59; break; - case 59: - Sa = Q.N; - this.Ga = new I.D9(this, this.qb, this.H, this.Lda.bind(this), Sa, this.NA, this.I, this.Mf, this.T, this.hT.bind(this)); - za = { - tU: this.tU, - jr: this.jr, - em: this.em, - DM: this.DM - }; - w10 = 56; + case 51: + this.P2a = new m.G$(M, this.$b.Lb, this.$b.jh, this.I, void 0); + N = this.P2a.BBb(); + ea = null; + w10 = 48; break; - case 75: - V && this.nb.Qp(V, Sa.da); - w10 = 74; + case 31: + this.j0 = !1; + this.uQ = void 0; + this.G_ = -1; + w10 = 28; break; case 39: - var o7u = "man"; - o7u += "agerdebugeven"; - o7u += "t"; - this.Yh.on(this.Yb.mf, o7u, function ($a) { + var g2q = "manag"; + g2q += "er"; + g2q += "deb"; + g2q += "ugevent"; + this.Yh.on(this.$b.mf, g2q, function (Ua) { var x10; x10 = 2; for (; x10 !== 1; ) { switch (x10) { case 2: - v.Ta(T, $a.type, $a); + w.Ua(V, Ua.type, Ua); x10 = 1; break; } @@ -76789,2137 +76873,2579 @@ a000.D9b = function () { w10 = 38; break; case 40: - w10 = za.Gh && this.Yb.mf ? 39 : 38; + w10 = ra.Gh && this.$b.mf ? 39 : 38; break; - case 20: - this.Nq = wa.Nq; - this.Rv = za.Rv; - this.ji = new L.AAa(this, this.H, this.Vb.bind(this), wa); - w10 = 17; + case 14: + var w2q = "br"; + w2q += "an"; + w2q += "c"; + w2q += "hin"; + w2q += "g"; + U = new I.yCa(this, this.H); + this.ub = U; + this.NOa = new y.Bwa(this.H); + (ma = !(!M || !M.choiceMap || w2q !== M.choiceMap.type), Ia = ma ? { + FS: !1, + Oq: !1 + } + : p.rTa(ra)); + this.FS = Ia.FS; + this.Oq = Ia.Oq; + w10 = 19; break; - case 37: - var b7u = "m"; - b7u += "e"; - b7u += "diaca"; - b7u += "che"; - this.Yh.on(this.Yb.mf, b7u, function ($a) { - var y10; - y10 = 2; - for (; y10 !== 1; ) { - switch (y10) { - case 4: - v.Ta(T, "", $a); - y10 = 3; - break; - y10 = 1; - break; + case 26: + this.I = ra = this.NOa.Ueb(M, ra); + this.Q_ = pa.EM; + this.$Ka = !!pa.q6a; + this.Kjb = !!pa.Pta; + this.rJ = pa.sU; + this.Y_ = void 0; + w10 = 35; + break; + case 75: + Ea && this.ob.Tp(Ea, wa.$); + w10 = 74; + break; + case 76: + this.T.addListener(function (Ua) { + var z10, + A10; + z10 = 2; + for (; z10 !== 1; ) { + switch (z10) { case 2: - var M7u = "m"; - M7u += "edi"; - M7u += "aca"; - M7u += "che"; - v.Ta(T, M7u, $a); - y10 = 1; + try { + A10 = 2; + for (; A10 !== 1; ) { + switch (A10) { + case 2: + Ta.ob.EWb.bind(Ta.ob)(Ua); + A10 = 1; + break; + } + } + } catch (ab) { + var d2q = "Hinds"; + d2q += "ight: Error when adding updatePlaySe"; + d2q += "gment Lis"; + d2q += "tener: "; + a000.Q1q(2); + Ta.ub.Om(a000.P1q(ab, d2q)); + } + z10 = 1; break; } } }); - w10 = 36; - break; - case 49: - na = null; - za.JS && (na = this.Yb.Lt.LA); - y.nw.instance().reset(); - Q = l.$$.create({ - Db: 0, - sa: Q, - bo: N, - E2a: da, - yg: !!va.yg, - pWa: !1, - Gi: !!va.Gi, - Fd: h.o5(!!va.vR, !!va.UC), - Z: 0, - Aa: va.Aa, - qb: this.qb, - Sq: this.jJa.bind(this), - Nb: this, - config: this.I, - H: this.H, - Mf: this.Mf, - $m: this.$m, - mf: this.bLa ? this.Yb.mf : void 0, - LB: this.LB - }); - w10 = 45; - break; - case 26: - this.I = za = this.OOa.Teb(Q, za); - this.N_ = va.DM; - this.bLa = !!va.SN; - this.Kjb = !!va.D8; - w10 = 22; - break; - case 43: - this.$m = new M.aGa(this, this.H, this.Vb.bind(this), ja); - this.Mf = new O.xxa(this, this.H, this.Vb.bind(this)); - this.xS = new B.wxa(this, this.H, ja); - w10 = 40; - break; - case 15: - this.Yb = K; - this.vl = ra; - w10 = 26; - break; - case 38: - w10 = (za.Wta || za.Vta) && this.Yb.mf ? 37 : 36; - break; - case 33: - this.qJ = 0; - this.Tba = X; - this.h0 = !1; - w10 = 30; - break; - case 45: - Q.nR = !0; - this.rd = [Q]; - this.Yf = new J.Hua(this, this.H, K, this.Yb.Jb, za, this.PL(), na, this.Vb.bind(this), wa); - w10 = 63; - break; - case 22: - this.pJ = va.tU; - this.W_ = void 0; - this.T = new A.Uua(ta); - this.NA = na || 0; - w10 = 33; - break; - case 62: - za = za.VCb; - for (var Sa in za) { - N = za[Sa]; - za.hasOwnProperty(Sa) && N && (this.I[Sa] = N); - } - w10 = 60; - break; - case 7: - this.Eb = this.H.warn.bind(this.H); - this.sm = this.H.trace.bind(this.H); - ja = new P.ACa(this, this.H); - w10 = 13; + w10 = 75; break; } } } - v10 = 2; for (; v10 !== 91; ) { switch (v10) { - case 27: - R.prototype.cL = function () { - var Z10; - Z10 = 2; - for (; Z10 !== 1; ) { - switch (Z10) { - case 2: - return this.rd.length; - break; - } + case 2: + Object.defineProperties(O.prototype, { + addEventListener: { + get: function () { + var B10; + B10 = 2; + for (; B10 !== 1; ) { + switch (B10) { + case 2: + return this.addListener.bind(this); + break; + } + } + }, + enumerable: !1, + configurable: !0 } - }; - R.prototype.Sla = function (K, Q) { - var a20; - a20 = 2; - for (; a20 !== 9; ) { - switch (a20) { - case 6: - return -9; - break; - a20 = 5; - break; - case 2: - a20 = K === Q ? 1 : 5; - break; - case 1: - return !0; - break; - case 5: - K = this.rd[K]; - Q = this.rd[Q]; - return K.N.Ze.yg && Q.N.Ze.AU || Q.N.Ze.yg && K.N.Ze.AU; - break; - } + }); + Object.defineProperties(O.prototype, { + removeEventListener: { + get: function () { + var C10; + C10 = 2; + for (; C10 !== 1; ) { + switch (C10) { + case 2: + return this.removeListener.bind(this); + break; + } + } + }, + enumerable: !1, + configurable: !0 } - }; - R.prototype.iT = function (K) { - var b20; - b20 = 2; - for (; b20 !== 5; ) { - switch (b20) { - case 2: - b20 = (K = this.Ga.Mh.children[K]) ? 1 : 5; - break; - case 1: - return { - id: K.P.id, - Ke: K.Ke, - Zc: K.Fpa, - Pd: K.Pd, - Jc: K.p7, - pc: K.pc - }; - break; - } + }); + Object.defineProperties(O.prototype, { + uIb: { + get: function () { + var D10; + D10 = 2; + for (; D10 !== 1; ) { + switch (D10) { + case 2: + return this.zf.Wb; + break; + } + } + }, + enumerable: !1, + configurable: !0 } - }; - R.prototype.vp = function () { - var c20, - K; - c20 = 2; - for (; c20 !== 5; ) { - switch (c20) { - case 2: - K = this.Ga.Mh; - return { - id: K.P.id, - Ke: K.Ke, - Zc: K.Fpa, - Pd: K.Pd, - Jc: K.p7, - pc: K.pc - }; - break; - } + }); + Object.defineProperties(O.prototype, { + mediaSourceId: { + get: function () { + var E10; + E10 = 2; + for (; E10 !== 1; ) { + switch (E10) { + case 4: + return this.zf ? this.zf.yW : +7; + break; + E10 = 1; + break; + case 2: + return this.zf ? this.zf.yW : void 0; + break; + } + } + }, + enumerable: !1, + configurable: !0 } - }; - R.prototype.RN = function (K, Q) { - var d20; - d20 = 2; - for (; d20 !== 1; ) { - switch (d20) { - case 2: - return this.Ga.RN(K, Q); - break; - } + }); + Object.defineProperties(O.prototype, { + Dq: { + get: function () { + var F10; + F10 = 2; + for (; F10 !== 1; ) { + switch (F10) { + case 2: + return this.Yb(0); + break; + case 4: + return this.Yb(2); + break; + F10 = 1; + break; + } + } + }, + enumerable: !1, + configurable: !0 } - }; - R.prototype.open = function () { - var e20, - Q, - N, - da, - na, - va, - ra, - X, - ta, - za, - K; - e20 = 2; - for (; e20 !== 33; ) { - switch (e20) { - case 4: - var r7u = "h"; - r7u += "ea"; - r7u += "de"; - r7u += "r"; - r7u += "s"; - (Q = this.I, N = this.me.N, da = N.K, na = [], va = [r7u]); - this.em && (na.push(1), va.push(1)); - this.Bq && (na.push(0), va.push(0)); - this.xS.Ggb(); - ra = Q.Aq; - this.Yb.mf && this.Yb.mf.Xo(ra, this.vl.sessionId); - e20 = 14; - break; - case 5: - var D7u = "NF"; - D7u += "Er"; - D7u += "r_MC_StreamingI"; - D7u += "nitFailure"; - var Q7u = "s"; - Q7u += "tartPts must "; - Q7u += "be a positiv"; - Q7u += "e num"; - Q7u += "ber, not "; - this.Mo(Q7u + this.NA, void 0, D7u); - e20 = 33; - break; - case 20: - var u7u = "cre"; - u7u += "a"; - u7u += "t"; - u7u += "eMediaSourc"; - u7u += "eEnd"; - this.qb.zl(u7u); - ta.Ub || (ta.Ub = w.Ub); - this.xf = ta; - e20 = 17; + }); + Object.defineProperties(O.prototype, { + cm: { + get: function () { + var G10; + G10 = 2; + for (; G10 !== 1; ) { + switch (G10) { + case 2: + return this.Yb(1); + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + attributes: { + get: function () { + var H10; + H10 = 2; + for (; H10 !== 1; ) { + switch (H10) { + case 2: + return this.Nba; + break; + case 4: + return this.Nba; + break; + H10 = 1; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + zg: { + get: function () { + var I10; + I10 = 2; + for (; I10 !== 1; ) { + switch (I10) { + case 2: + return this.Yh; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + AV: { + get: function () { + var J10; + J10 = 2; + for (; J10 !== 1; ) { + switch (J10) { + case 4: + return 4 < this.G_ ? this.G_ : 8; + break; + J10 = 1; + break; + case 2: + return 0 <= this.G_ ? this.G_ : 0; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + pe: { + get: function () { + var K10; + K10 = 2; + for (; K10 !== 1; ) { + switch (K10) { + case 2: + return this.sd[this.sJ]; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + v10 = 13; + break; + case 72: + O.prototype.f0 = function (N, M) { + var s30, + P, + R, + ea, + pa, + va; + s30 = 2; + for (; s30 !== 19; ) { + switch (s30) { + case 5: + va.MR = void 0; + this.T.Ee(2 === N ? g.ka.ef : g.ka.Sc); + s30 = 3; break; - case 14: - var A7u = "cr"; - A7u += "eat"; - A7u += "eMediaSourceStart"; - X = this.xS.Afb(va, N); - va.forEach(function (V, T) { - var f20; - f20 = 2; - for (; f20 !== 1; ) { - switch (f20) { + case 20: + this.Nf.rj(); + s30 = 19; + break; + case 2: + (P = this, R = this.I, ea = this.ob.rf[0] || ({}), pa = this.ob.rf[1] || ({}), va = this.ob.zz[1] || ({})); + (this.ob.zz[0] || ({})).MR = void 0; + s30 = 5; + break; + case 3: + var o2q = "startB"; + o2q += "u"; + o2q += "ffe"; + o2q += "r"; + o2q += "ing"; + this.ub.Bhb(M); + this.Vw.reset(); + this.pe.N.Koa(); + this.emit(o2q); + h.cf.forEach(function (ta) { + var t30; + t30 = 2; + for (; t30 !== 5; ) { + switch (t30) { + case 1: + (ta.rfa = 0, ta.seeking = 0 === N || 1 === N, ta.bga()); + t30 = 5; + break; case 2: - var e7u = "h"; - e7u += "ea"; - e7u += "de"; - e7u += "r"; - e7u += "s"; - e7u === V ? K.tQ = X[T] : K.nb.rf[V].kg = X[T]; - f20 = 1; + t30 = (ta = P.Ga.Ec.Dd(ta)) ? 1 : 5; break; } } }); - this.qb.zl(A7u); - ta = new w(this.T.UE); - e20 = 10; + this.Tba = t.default.time.ba(); + ea.Tk = pa.Tk = this.Tba; + s30 = 12; break; - case 1: - e20 = !f.xa(this.NA) || 0 > this.NA ? 5 : 4; + case 11: + R.IS && (this.nca = setTimeout(function () { + var u30; + u30 = 2; + for (; u30 !== 1; ) { + switch (u30) { + case 2: + P.Rib(); + u30 = 1; + break; + } + } + }, R.Qha)); + this.T.Qf() && (this.VI = setTimeout(function () { + var v30; + v30 = 2; + for (; v30 !== 1; ) { + switch (v30) { + case 2: + P.ob.Ww(); + v30 = 1; + break; + case 4: + P.ob.Ww(); + v30 = 0; + break; + v30 = 1; + break; + } + } + }, R.cz)); + s30 = 20; break; - case 24: - var q7u = "s"; - q7u += "tartp"; - q7u += "la"; - q7u += "y"; - var l7u = "logda"; - l7u += "t"; - l7u += "a"; - this.qb.ZJa(N); - za = function () { - var k20; - k20 = 2; - for (; k20 !== 5; ) { - switch (k20) { + case 12: + 0 === N && (!this.cm || 0 < pa.zt) && (!this.Dq || 0 < ea.zt) && this.ob.Ww(); + s30 = 11; + break; + } + } + }; + O.prototype.$Q = function (N) { + var w30, + M; + w30 = 2; + for (; w30 !== 3; ) { + switch (w30) { + case 2: + var Q2q = "AdoptingData stil"; + Q2q += "l ha"; + Q2q += "s lock:"; + var P2q = "wi"; + P2q += "peHe"; + P2q += "ader"; + P2q += "C"; + P2q += "ache:"; + a000.Q1q(2); + N = a000.P1q(N, P2q); + this.Tw.WA && this.ak(Q2q + N); + M = this.I; + M.nG || (M.Gh && this.ub.Tl(N), this.$b.Ix(), this.$g && (this.$g = void 0)); + w30 = 3; + break; + } + } + }; + O.prototype.vIa = function (N) { + function M(va, ta) { + var y30, + Y, + ra, + Ea, + V, + U, + ma, + Ia; + y30 = 2; + for (; y30 !== 10; ) { + switch (y30) { + case 2: + (Y = va.mediaType, ra = ta[Y], Ea = Promise.resolve(void 0)); + y30 = 1; + break; + case 1: + y30 = ra ? 5 : 11; + break; + case 5: + (V = ra.Ma, U = ra.header.stream, ma = P.ob.rf[Y], Ia = P.ob.zz[Y]); + f.fa(ta.OB) || P.Yf.a3a(ta.OB, ta.Qn, ta.Rn); + Ia.Ay = ta.Ay; + Ia.jv = ta.jv; + y30 = 8; + break; + case 7: + return Ea; + break; + case 8: + y30 = !va.IXb(V) ? 7 : 6; + break; + case 6: + y30 = !ra.header ? 14 : 13; + break; + case 14: + var l2q = "ad"; + l2q += "optPipeline no header fo"; + l2q += "r streamId:"; + return (va.ak(l2q, V), Ea); + break; + case 13: + ta = P.pe.N; + y30 = 12; + break; + case 12: + ta.w0(ra.header, !ta.$e.Ng && !ta.Gi && 1 === Y, !0) && (void 0 !== va.wG && va.bH(va.wG), Ea = ta.pk(Y, V).stream.Y.Em(va.tc, void 0, !0), ta = U.nk(Ea), U = ta.X, (ta = ta.Fia(va.tc)) && 0 < ta.pd && (U = ta.pd), va.tc !== U && (va.rN(U, Ea), P.Cda(Y, U)), Ea = P.Oeb(va, ra.data).then(function () { + var z30; + z30 = 2; + for (; z30 !== 1; ) { + switch (z30) { + case 2: + return V; + break; + case 4: + return V; + break; + z30 = 1; + break; + } + } + }), ma.oxb = !0, 0 === Y && P.Yf.oN(ra.header.bitrate)); + y30 = 11; + break; + case 11: + return Ea; + break; + } + } + } + var x30, + pa, + P, + R, + ea; + x30 = 2; + for (; x30 !== 13; ) { + switch (x30) { + case 3: + x30 = !this.Kjb || !this.$b.mf ? 9 : 8; + break; + case 9: + return (this.$b.zfa(), Promise.resolve()); + break; + case 8: + var S2q = "c"; + S2q += "heckFor"; + S2q += "Hc"; + S2q += "dS"; + S2q += "tart"; + this.ub.yl(S2q); + this.sd.forEach(function (va) { + var A30; + A30 = 2; + for (; A30 !== 1; ) { + switch (A30) { case 2: - var j7u = "shutdown det"; - j7u += "ec"; - j7u += "ted before startRequests"; - K.qb.Mhb(); - K.pm() ? K.Eb(j7u) : K.qjb(); - k20 = 5; + va.N.K === N && (pa = va); + A30 = 1; break; } } - }; - Q.ttb ? setTimeout(function () { - var l20; - l20 = 2; - for (; l20 !== 1; ) { - switch (l20) { - case 4: - K.xIa(da).then(za); - l20 = 3; + }); + return this.$b.mf.mHb(N, pa ? pa.N : void 0).then(function (va) { + var B30, + ta, + Y; + B30 = 2; + for (; B30 !== 8; ) { + switch (B30) { + case 1: + B30 = f.fa(va) ? 5 : 4; break; - l20 = 1; + case 5: + var J2q = "headerCacheD"; + J2q += "ataNotFou"; + J2q += "nd"; + return (ea.Bq || P.Tw.WA || P.$Q(J2q), Promise.resolve()); + break; + case 4: + var T2q = "a"; + T2q += "dop"; + T2q += "t"; + T2q += "HcdStart"; + (ta = P.Ga.Ec.Dd(0), Y = P.Ga.Ec.Dd(1)); + P.ub.yl(T2q); + return P.Tw.Y6a(function () { + var C30, + ra, + Ea; + C30 = 2; + for (; C30 !== 7; ) { + switch (C30) { + case 2: + ra = Promise.resolve(); + P.cm && (ra = M(Y, va)); + Ea = Promise.resolve(); + C30 = 4; + break; + case 4: + var r2q = "adopt"; + r2q += "Hcd"; + r2q += "End"; + !P.Dq || ea.gVa && !ra || (Ea = ea.gVa ? ra.then(function (V) { + var D30; + D30 = 2; + for (; D30 !== 1; ) { + switch (D30) { + case 2: + return V ? M(ta, va) : Promise.resolve(); + break; + case 4: + return V ? M(ta, va) : Promise.resolve(); + break; + D30 = 1; + break; + } + } + }) : M(ta, va)); + P.kJa = va; + P.ub.yl(r2q); + return Promise.all([ra, Ea]); + break; + } + } + }); break; case 2: - K.xIa(da).then(za); - l20 = 1; + var U2q = "che"; + U2q += "c"; + U2q += "kFor"; + U2q += "HcdE"; + U2q += "nd"; + P.ub.yl(U2q); + B30 = 1; break; } } - }, 0) : this.xIa(da).then(function () { - var m20; - m20 = 2; - for (; m20 !== 1; ) { - switch (m20) { + }).then(function () { + var E30, + va; + E30 = 2; + for (; E30 !== 5; ) { + switch (E30) { case 2: - setTimeout(za, 0); - m20 = 1; + var c2q = "adoptedCompletedR"; + c2q += "e"; + c2q += "quests"; + ea.Bq || (null === (va = P.$g) || void 0 === va ? 0 : va.KB()) || P.Tw.WA || !P.T.Sn(P.pe.N) || P.$Q(c2q); + E30 = 5; break; + } + } + }).catch(function (va) { + var F30; + F30 = 2; + for (; F30 !== 1; ) { + switch (F30) { case 4: - setTimeout(za, 3); - m20 = 3; + P.Gb("", va); + F30 = 2; break; - m20 = 1; + F30 = 1; + break; + case 2: + var a2q = "headerCach"; + a2q += "e:lookupD"; + a2q += "at"; + a2q += "aPromise caught error:"; + P.Gb(a2q, va); + F30 = 1; break; } } }); - N = { - type: l7u, - target: q7u, - fields: { - audiogapconfig: Q.YL, - audiogapdpi: this.xf.Ub && this.xf.Ub.YL, - aseApiVersion: this.IE - } - }; - e20 = 35; break; - case 10: - e20 = 1 === ta.readyState ? 20 : 34; + case 2: + var Y2q = "Previously adopted requ"; + Y2q += "e"; + Y2q += "st list still retai"; + Y2q += "ned was unexpected"; + P = this; + (null === (R = this.$g) || void 0 === R ? 0 : R.KB()) && this.ak(Y2q); + this.$g = void 0; + ea = this.I; + x30 = 3; break; - case 16: - var G7u = "E"; - G7u += "r"; - G7u += "ro"; - G7u += "r"; - G7u += ":"; - throw (this.sm(G7u, ta.error), ta.error); - e20 = 15; + } + } + }; + O.prototype.Oeb = function (N, M) { + var G30, + P, + R, + ea, + pa, + va, + ta, + Y; + G30 = 2; + for (; G30 !== 9; ) { + switch (G30) { + case 2: + P = this; + G30 = 1; break; - case 34: - var O7u = "NFErr"; - O7u += "_MC_Str"; - O7u += "eamingInitFail"; - O7u += "ure"; - var m7u = "exc"; - m7u += "eption i"; - m7u += "n in"; - m7u += "it"; - var Y7u = "E"; - Y7u += "r"; - Y7u += "r"; - Y7u += "or"; - Y7u += ":"; - (this.sm(Y7u, ta.error), this.Mo(m7u, void 0, O7u)); - e20 = 33; + case 7: + P = this; + G30 = 4; break; - case 17: - e20 = !ta.w0(na) ? 16 : 15; + G30 = 1; break; - case 2: - K = this; - e20 = 1; + case 1: + G30 = 0 === M.length ? 5 : 4; break; - case 15: - ta.sourceBuffers.forEach(function (V) { - var g20, - T, - ja; - g20 = 2; - for (; g20 !== 13; ) { - switch (g20) { - case 4: - var J7u = "er"; - J7u += "ro"; - J7u += "r"; - var W7u = "req"; - W7u += "uestAppende"; - W7u += "d"; - var E7u = "header"; - E7u += "App"; - E7u += "ende"; - E7u += "d"; - V.addListener(E7u, K.vgb.bind(K)); - V.addListener(W7u, K.ygb.bind(K)); - V.addListener(J7u, function (Ia) { - var h20; - h20 = 2; - for (; h20 !== 1; ) { - switch (h20) { - case 2: - var I7u = "NFErr_MC_S"; - I7u += "tre"; - I7u += "amingFailure"; - K.Mo(Ia.errorstr, void 0, I7u); - h20 = 1; - break; - } - } - }); - g20 = 8; - break; + case 5: + return Promise.resolve(); + break; + case 14: + return Promise.resolve(); + break; + G30 = 4; + break; + case 4: + (R = N.P4, ea = R.P, pa = Math.min(this.sd[0].Ca || Infinity, R.uc || Infinity), va = N.mediaType, ta = this.ob.rf[va]); + return this.Tw.Y6a(function () { + var H30, + Ea; + H30 = 2; + for (; H30 !== 3; ) { + switch (H30) { case 8: - var c7u = "m"; - c7u += "a"; - c7u += "nagerdebugeven"; - c7u += "t"; - var n7u = "log"; - n7u += "d"; - n7u += "a"; - n7u += "t"; - n7u += "a"; - V.addListener(n7u, function (Ia) { - var i20; - i20 = 2; - for (; i20 !== 1; ) { - switch (i20) { - case 2: - v.Ta(K, Ia.type, Ia); - i20 = 1; - break; - } - } - }); - Q.Gh && V.addListener(c7u, function (Ia) { - var j20; - j20 = 2; - for (; j20 !== 1; ) { - switch (j20) { - case 2: - v.Ta(K, Ia.type, Ia); - j20 = 1; - break; - } - } - }); - K.rg[T] = V; - g20 = 14; + Ea = []; + H30 = 2; + break; + H30 = 1; + break; + case 5: + ra(); + H30 = 1; break; case 2: - (T = V.mediaType, ja = K.nb.rf[T]); - V = new n.E9(ja.H, T, ta, V, Q, K.T, void 0, K.Pg.bind(K)); - ja = new G.oAa(V, T, K.Ga, K.I, ja.H); - g20 = 4; + Ea = []; + H30 = 1; + break; + case 7: + H30 = 5 > M.length ? 6 : 5; + break; + H30 = 0 < M.length ? 5 : 4; + break; + case 1: + H30 = 0 < M.length ? 5 : 4; + break; + case 6: + ra(); + H30 = 8; + break; + H30 = 1; break; case 14: - K.Du[T] = ja; - g20 = 13; + return Promise.all(Ea); + break; + H30 = 3; + break; + case 4: + return Promise.all(Ea); + break; + } + } + function ra() { + var I30, + V; + I30 = 2; + for (; I30 !== 5; ) { + switch (I30) { + case 2: + var i2q = "adoptDat"; + i2q += "a, not a"; + i2q += "dopting failed mediaReq"; + i2q += "uest"; + i2q += ":"; + var j2q = "adoptData, not adopting abort"; + j2q += "ed medi"; + j2q += "aRequest:"; + V = M.shift(); + 7 === V.readyState ? N.Gb(j2q, V.toString()) : 6 === V.readyState ? (N.Gb(i2q, V.toString()), P.FE(V, !1)) : N.tc >= V.Lc && N.tc < V.uc && (N.tc < pa || !f.ya(pa)) ? (Ea.push(P.Peb(N, V).then(function () { + var J30; + J30 = 2; + for (; J30 !== 1; ) { + switch (J30) { + case 2: + V.complete && P.PUa(V); + J30 = 1; + break; + } + } + })), N.fSb(V.uc), f.ya(pa) && N.tc >= pa && P.ub.fda(ea, V.uc), 0 === va && P.Yf.oN(V.bitrate), V.complete ? (ta.zt += V.duration, V.UGb && (ta.yV += V.duration), Y = V) : (P.$g || (P.$g = new E.Cua(P.H)), P.$g.push(V))) : P.FE(V, !1); + I30 = 5; + break; + } + } + } + }).then(function () { + var K30, + ra, + Ea; + K30 = 2; + for (; K30 !== 8; ) { + switch (K30) { + case 1: + Y && N.QUa(Y); + K30 = 5; + break; + case 2: + K30 = 1; + break; + case 5: + K30 = Y || (null === (ra = P.$g) || void 0 === ra ? 0 : ra.KB()) ? 4 : 8; + break; + case 4: + ra = P.sd[R.N.Fb]; + Ea = N.zia(N.tc); + void 0 !== Ea ? (N.ao = Ea, N.Ud = ra.N.Qg[va].stream.nk(N.ao)) : N.ao = N.nf ? N.nf.index + 1 : N.ao + 1; + K30 = 8; break; } } }); - this.Qw = new E.yEa(this.Du, this.AJ.bind(this), this.T.xe.bind(this.T)); - this.jr && this.qb.vhb(); - N = this.ETa(); - e20 = 24; - break; - case 35: - this.emit(N.type, N); - e20 = 33; break; } } }; - Object.defineProperties(R.prototype, { - IE: { - get: function () { - var n20; - n20 = 2; - for (; n20 !== 1; ) { - switch (n20) { - case 2: - var h7u = "1"; - h7u += "."; - h7u += "0"; - return h7u; - break; - case 4: - return ""; - break; - n20 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - R.prototype.jka = function () {}; - R.prototype.flush = function () { - var o20; - o20 = 2; - for (; o20 !== 1; ) { - switch (o20) { - case 4: - this.ji.flush(); - o20 = 3; - break; - o20 = 1; - break; + O.prototype.Peb = function (N, M) { + var L30, + P, + R; + L30 = 2; + for (; L30 !== 3; ) { + switch (L30) { case 2: - this.ji.flush(); - o20 = 1; + var G2q = ","; + G2q += " "; + G2q += "pt"; + G2q += "s: "; + var R2q = ", "; + R2q += "s"; + R2q += "ta"; + R2q += "te:"; + R2q += " "; + var O2q = "adoptMedia"; + O2q += "Request:"; + O2q += " type:"; + O2q += " "; + (P = this, R = N.mediaType); + this.I.Gh && this.ub.Tl(O2q + R + R2q + M.readyState + G2q + M.Lc); + this.Cda(R, M.Lc); + return N.Na.Ykb(M).catch(function (ea) { + var M30; + M30 = 2; + for (; M30 !== 1; ) { + switch (M30) { + case 4: + P.ak("", ea); + M30 = 0; + break; + M30 = 1; + break; + case 2: + var X2q = "Error adoptin"; + X2q += "g "; + X2q += "re"; + X2q += "quest"; + X2q += "s"; + P.ak(X2q, ea); + M30 = 1; + break; + } + } + }); break; } } }; - R.prototype.paused = function () { - var p20; - p20 = 2; - for (; p20 !== 1; ) { - switch (p20) { + O.prototype.yda = function (N, M, P) { + var N30, + R; + N30 = 2; + for (; N30 !== 9; ) { + switch (N30) { case 2: - this.T.paused(); - p20 = 1; + R = this; + void 0 === M && (M = G.IP.afa); + (P || this.Ga.Ec).Wqa(N, M); + this.Vw.reset(); + (void 0 === N ? h.cf : [N]).forEach(function (ea) { + var O30; + O30 = 2; + for (; O30 !== 1; ) { + switch (O30) { + case 2: + R.Yb(ea) && (R.Iu[ea].reset(), R.$ib(ea), R.Yf.RKb(ea)); + O30 = 1; + break; + } + } + }); + N30 = 9; break; } } }; - v10 = 32; - break; - case 87: - R.prototype.Ida = function (K, Q) { - var W30, - N, - da, - na; - W30 = 2; - for (; W30 !== 9; ) { - switch (W30) { - case 1: - W30 = N.Ra(K) ? 5 : 9; - break; - case 7: - N = this.Ga.Cc; - W30 = 9; - break; - W30 = 1; - break; - case 6: - W30 = N.Ra(K) ? 1 : 1; - break; - W30 = N.Ra(K) ? 5 : 9; - break; + O.prototype.usa = function () { + var P30, + N; + P30 = 2; + for (; P30 !== 5; ) { + switch (P30) { case 2: - N = this.Ga.Cc; - W30 = 1; - break; - case 5: - var t7u = "p"; - t7u += "ts"; - t7u += "cha"; - t7u += "nged"; - (da = this.nb.rf[K], na = this.nb.wz[K]); - f.ga(da.Cn) && (da.Cn = Q, 1 === K && this.Bq && (K = this.nb.rf[0], f.ga(K.Cn) && (N = N.Ra(0), N.UG(Q)), this.emit(t7u, Q))); - f.ga(na.LR) && (na.LR = Q); - W30 = 9; + N = this; + h.cf.forEach(function (M) { + var Q30, + P; + Q30 = 2; + for (; Q30 !== 5; ) { + switch (Q30) { + case 2: + null === (P = N.Iu[M]) || void 0 === P ? void 0 : P.stop(); + Q30 = 5; + break; + } + } + }); + P30 = 5; break; } } }; - R.prototype.PUa = function (K) { - var X30; - X30 = 2; - for (; X30 !== 1; ) { - switch (X30) { + O.prototype.iH = function (N) { + var R30, + M; + R30 = 2; + for (; R30 !== 4; ) { + switch (R30) { case 2: - this.bh && (this.bh.GHb(K), this.ONa()); - X30 = 1; + M = this; + (void 0 === N ? h.cf : [N]).forEach(function (P) { + var S30, + R; + S30 = 2; + for (; S30 !== 5; ) { + switch (S30) { + case 2: + null === (R = M.Iu[P]) || void 0 === R ? void 0 : R.resume(); + S30 = 5; + break; + } + } + }); + return Promise.resolve(); break; } } }; - R.prototype.z3 = function (K) { - var Y30; - Y30 = 2; - for (; Y30 !== 1; ) { - switch (Y30) { + O.prototype.TQ = function (N) { + var T30, + M, + P; + T30 = 2; + for (; T30 !== 3; ) { + switch (T30) { case 2: - this.bh && (this.bh.FHb(K), this.ONa()); - Y30 = 1; + M = this; + N = void 0 === N ? h.cf : [N]; + null === (P = this.Vw) || void 0 === P ? void 0 : P.reset(); + N.forEach(function (R) { + var U30, + ea; + U30 = 2; + for (; U30 !== 5; ) { + switch (U30) { + case 2: + null === (ea = M.Iu[R]) || void 0 === ea ? void 0 : ea.resume(); + U30 = 5; + break; + } + } + }); + T30 = 3; break; } } }; - R.prototype.ONa = function () { - var Z30, - K; - Z30 = 2; - for (; Z30 !== 4; ) { - switch (Z30) { + O.prototype.$ib = function (N) { + var V30, + M; + V30 = 2; + for (; V30 !== 3; ) { + switch (V30) { case 2: - Z30 = this.bh ? 1 : 4; - break; - case 9: - Z30 = this.bh ? 0 : 5; - break; - Z30 = this.bh ? 1 : 4; - break; - case 1: - var p7u = "a"; - p7u += "l"; - p7u += "l"; - p7u += "Completed"; - K = this.I; - this.bh.IB() || (this.bh = void 0, K.Aq || this.Ow.UA || this.YQ(p7u)); - Z30 = 4; + M = this.ob.rf[N]; + this.ob.Ev[N].zma = void 0; + M.zt = 0; + M.yV = 0; + V30 = 3; break; } } }; - R.prototype.ZQ = function () { - var a40, - K, - Q, - N, - da, - na, - va, - ra, - X; - a40 = 2; - for (; a40 !== 7; ) { - switch (a40) { - case 8: - this.PA = setTimeout(this.ZQ.bind(this), X); - a40 = 7; + v10 = 87; + break; + case 59: + O.prototype.m2 = function (N, M) { + var f30, + P, + R, + g30; + f30 = 2; + for (; f30 !== 6; ) { + switch (f30) { + case 3: + f30 = M ? 9 : 8; + break; + case 2: + P = this.ob; + N = P.wia(N, M); + R = this.Yf.bqa; + N && !N.PJ && R.iia(N); + f30 = 3; break; case 9: - this.PA && clearTimeout(this.PA); - a40 = 8; + P.Vqa(); + f30 = 6; break; - case 2: - (K = this, Q = this.I, N = this.BV, da = this.rd[N], na = this.Ga.Cc, va = this.T.xe() || 0, ra = this.us(N, va), X = Q.B8); - this.Yb.mf && void 0 !== da.kG && da.kG - va <= Q.PYa && this.Yb.mf.Xo(!0, this.vl.sessionId); - this.T.getState() === g.ja.yc && ([1, 0].forEach(function (ta) { - var b40, - za, - V, - T, - Sa, - ja, - Ia, - wa; - b40 = 2; - for (; b40 !== 35; ) { - switch (b40) { - case 5: - b40 = za ? 4 : 35; - break; - case 21: - var k7u = "Una"; - k7u += "ble to fi"; - k7u += "nd request presenting at playe"; - k7u += "rPts:"; - za.Eb(k7u, va); - b40 = 23; - break; - case 16: - K.pJ && T.Ct != ja.ZFb && K.qb.Whb(T.Ct); - b40 = 15; - break; - case 15: - ja.ZFb = T.Ct; - Ia = T.La; - Ia != ja.Fma && (ja.Fma = Ia, ta = K.rd[wa].N.jv(ta, Ia), wa = K.us(wa, T.Zc), K.qb.Rhb(ta, T.Zc, wa, ta.N.Db)); - T = T.bitrate; - b40 = 24; - break; - case 8: - (T = K.Ga.Es(va, na, ta)) && !T.Je && (T = K.rg[ta].PFb); - b40 = 7; - break; - case 17: - ra = K.us(wa, va); - b40 = 15; - break; - case 1: - za = na.Ra(ta); - b40 = 5; - break; - case 2: - b40 = K.Vb(ta) ? 1 : 35; - break; - case 20: - K.D_ = wa; - b40 = 19; - break; - case 11: - b40 = !K.em || 1 === ta ? 10 : 15; - break; - case 4: - V = za.Na; - za.$J(va); - b40 = 8; - break; - case 19: - Sa = 0 < wa ? wa - 1 : null; - K.qb.Ihb(Ia, va, T.Ct, null !== Sa ? K.rd[Sa].N.K : null, Sa); - b40 = 17; - break; - case 6: - V = T.Pd - va; - V < X && (X = V); - (ja = K.nb.yv[ta], Ia = T.N, wa = Ia.Db); - V = T.Na; - b40 = 11; - break; - case 7: - b40 = T ? 6 : 21; - break; - case 24: - f.ga(T) || T == za.f0a || (za.f0a = T); - b40 = 23; - break; - case 23: - K.Eib(V, va); - K.Ga.pOb(); - b40 = 35; - break; - case 10: - b40 = (K.Ga.$Jb(T, T.Ct), wa > K.D_) ? 20 : 16; - break; - } + case 8: + M = R.Nyb(); + try { + g30 = 2; + for (; g30 !== 1; ) { + switch (g30) { + case 4: + this.ub.Ghb(M); + g30 = 0; + break; + g30 = 1; + break; + case 2: + this.ub.Ghb(M); + g30 = 1; + break; } - }), this.Ga.Br(va, ra)); - this.Mf.uj(); - X = Math.max(X, 1); - a40 = 9; + } + } catch (ea) { + var D2q = "]"; + D2q += " "; + D2q += "["; + var v2q = "ex"; + v2q += "ception"; + v2q += ":"; + v2q += " ["; + this.H.error(v2q + ea.message + D2q + ea.W7b + "]"); + } + f30 = 6; break; } } }; - R.prototype.$Z = function (K) { - var c40; - c40 = 2; - for (; c40 !== 1; ) { - switch (c40) { + O.prototype.Dfa = function (N, M) { + var h30; + h30 = 2; + for (; h30 !== 5; ) { + switch (h30) { case 2: - return this.Mf.$Z(K); + a000.Q1q(4); + v.assert(a000.o1q(0, M)); + return this.sd[M].Gnb(N); break; } } }; - R.prototype.uj = function () { - var d40; - d40 = 2; - for (; d40 !== 1; ) { - switch (d40) { - case 4: - return this.Mf.uj(); + O.prototype.ys = function (N, M) { + var i30, + P, + R; + i30 = 2; + for (; i30 !== 7; ) { + switch (i30) { + case 2: + void 0 === N && (N = this.AV); + P = this.Ga.Wwb(M, N); + i30 = 5; break; - d40 = 1; + case 3: + f.ya(R) || (R = this.sd[N].xv); + a000.Q1q(1); + return a000.o1q(M, R); break; - case 2: - return this.Mf.uj(); + case 8: + (P = this.Ga.xia(N), 0 < P.length && (P = P[0], R = P.Me)); + i30 = 3; + break; + case 5: + i30 = P ? 4 : 8; + break; + case 4: + R = P.Me; + i30 = 3; break; } } }; - R.prototype.DE = function (K, Q) { - var e40, - N, - da; - e40 = 2; - for (; e40 !== 13; ) { - switch (e40) { - case 2: - N = K.Na; - e40 = 1; + O.prototype.hK = function (N, M) { + var j30, + P, + R; + j30 = 2; + for (; j30 !== 7; ) { + switch (j30) { + case 5: + j30 = P ? 4 : 8; break; - case 7: - this.rg[da].Y6(K); - !0 === Q && this.Mf.uj(); - e40 = 13; + case 2: + void 0 === N && (N = this.AV); + P = this.Ga.Vwb(M, N); + j30 = 5; break; - case 5: - da = K.mediaType; - K.abort(); - K.Ic(); - K.Yh && K.Yh.clear(); - N.Y6(K); - e40 = 7; + case 3: + f.ya(R) || (R = this.sd[N].xv); + a000.Q1q(2); + return a000.o1q(R, M); break; - case 1: - e40 = N ? 5 : 14; + case 8: + (P = this.Ga.xia(N), 0 < P.length && (P = P[0], R = P.Me)); + j30 = 3; break; - case 14: - var S7u = "abortReque"; - S7u += "st wi"; - S7u += "th no requestMan"; - S7u += "agae"; - S7u += "r:"; - this.Eb(S7u, K); - e40 = 13; + case 4: + R = P.Me; + j30 = 3; break; } } }; - R.prototype.pjb = function (K) { - var f40, - Q, + O.prototype.CJ = function () { + var k30, N; - f40 = 2; - for (; f40 !== 5; ) { - switch (f40) { + k30 = 2; + for (; k30 !== 4; ) { + switch (k30) { case 2: - var z7u = "no"; - z7u += " newAudioTrack "; - z7u += "set"; - (Q = K.mediaType, N = this.nb.rf[Q]); - f.ga(N.M5) ? K.Eb(z7u) : (this.rg[Q].pause(), N.ZN = !0, K = this.me.pp(0), N = this.me.N.getTrackById(N.M5.trackId), this.qb.xhb(K, N)); - f40 = 5; - break; - } - } - }; - R.prototype.zib = function (K) { - var g40, - va, - ra, - X, - ta, - Q, - N, - da, - na; - g40 = 2; - for (; g40 !== 27; ) { - switch (g40) { - case 9: - g40 = (null === (N = this.bh) || void 0 === N ? 0 : N.IB()) ? 8 : 7; - break; - case 12: - this.Yf.nN(null); - this.Eda(0, D.IP.eSa, K); - this.Ga.X2a(K, !0); - g40 = 20; - break; - case 19: - g40 = N < this.rd.length ? 18 : 16; - break; - case 18: - this.aOb(N, X, ta); - g40 = 17; - break; - case 3: - (va = this.me, ra = va.N.getTrackById(this.nb.wx.trackId), X = ra.ON, ta = this.T.xe() - K.Ke); - g40 = 9; - break; - case 20: - N = this.qJ; - g40 = 19; + N = this.T.Qf(); + k30 = 1; break; - case 16: - K.s1a(ra, ta); - this.aH(0); - g40 = 27; + case 1: + k30 = N || this.ob.Bx ? 5 : 4; break; case 8: - var v7u = "aud"; - v7u += "ioS"; - v7u += "witch"; - (this.bh.MPb(function (za) { - var h40; - h40 = 2; - for (; h40 !== 5; ) { - switch (h40) { - case 1: - return (Q.DE(za, !1), !0); - break; - case 9: - return (Q.DE(za, +2), -2); - break; - h40 = 5; - break; - case 2: - h40 = 0 === za.mediaType ? 1 : 5; - break; - } - } - }), this.bh.IB() || (this.bh = void 0, da.Aq || this.Ow.UA || this.YQ(v7u))); - g40 = 7; - break; - case 7: - N = this.Yb.O2(va.N.sa, [X], 0); - this.Tba[0] = N[0]; - this.xS.vKa(0, K.N); - na.M5 = void 0; - g40 = 12; + k30 = N && this.ob.Bx ? 1 : 5; break; - case 17: - ++N; - g40 = 19; + k30 = N || this.ob.Bx ? 5 : 4; break; - case 2: - (Q = this, da = this.I); - K = K.ub; - na = this.nb.rf[0]; - this.nb.wx = na.M5; - g40 = 3; + case 5: + (N && this.ub.eda(), this.aR(), this.T.Ee(g.ka.Ac), this.Nf.rj()); + k30 = 4; break; } } }; - v10 = 104; - break; - case 32: - R.prototype.ypa = function () {}; - R.prototype.close = function () { - var q20; - q20 = 2; - for (; q20 !== 4; ) { - switch (q20) { + O.prototype.Fda = function () { + var l30, + N, + M; + l30 = 2; + for (; l30 !== 3; ) { + switch (l30) { case 2: - this.P2a.wb(); - this.rd.forEach(function (K) { - var r20; - r20 = 2; - for (; r20 !== 1; ) { - switch (r20) { + (N = this, M = this.T.Qf()); + this.Ga.Ec.v7(M, function (P) { + var m30; + m30 = 2; + for (; m30 !== 1; ) { + switch (m30) { case 2: - K.close(); - r20 = 1; + return N.rg[P] ? N.rg[P].s7() : ""; break; } } }); - this.ji.close(); - q20 = 4; - break; - } - } - }; - R.prototype.E1a = function () { - var s20; - s20 = 2; - for (; s20 !== 1; ) { - switch (s20) { - case 2: - this.Yb.Mib(this); - s20 = 1; + this.VI && (clearTimeout(this.VI), this.VI = void 0); + l30 = 4; break; case 4: - this.Yb.Mib(this); - s20 = 7; + this.Vw.LHb(); + l30 = 3; break; - s20 = 1; + case 14: + this.Vw.LHb(); + l30 = 9; + break; + l30 = 3; break; } } }; - R.prototype.Ic = function () { - var t20, - K; - t20 = 2; - for (; t20 !== 20; ) { - switch (t20) { + O.prototype.EKa = function (N) { + var n30, + M, + o30; + n30 = 2; + for (; n30 !== 7; ) { + switch (n30) { case 2: - this.Yf.BKb(); - this.XZ(); - this.Ga.wb(); - this.xS.Mfb(); - null === (K = this.Qw) || void 0 === K ? void 0 : K.reset(); - t20 = 8; + N.wh = !0; + N.hq = !1; + M = this.T.ye() || 0; + N.dK(M); + this.ob.Ww(); + n30 = 9; break; - case 6: - this.rd.forEach(function (Q) { - var v20; - v20 = 2; - for (; v20 !== 1; ) { - switch (v20) { - case 4: - Q.Ic(); - v20 = 4; - break; - v20 = 1; - break; - case 2: - Q.Ic(); - v20 = 1; - break; - } - } - }); - t20 = 14; + case 9: + n30 = this.Oq && 1 === N.mediaType ? 8 : 7; break; case 8: - this.Du.forEach(function (Q) { - var u20; - u20 = 2; - for (; u20 !== 1; ) { - switch (u20) { - case 4: - Q.reset(); - u20 = 3; - break; - u20 = 1; - break; + try { + o30 = 2; + for (; o30 !== 1; ) { + switch (o30) { case 2: - Q.reset(); - u20 = 1; + this.m2(g.ka.rq, { + Ca: N.uc + }); + o30 = 1; break; } } - }); - this.T.Ce(g.ja.zi); - t20 = 6; - break; - case 14: - var R7u = "Er"; - R7u += "ror"; - R7u += " on Media"; - R7u += "Source destr"; - R7u += "oy: "; - this.rd = []; - this.Yh.clear(); - K = this.xf; - this.xf = void 0; - f.ga(K) || K.gp() || this.Eb(R7u, K.error); - t20 = 20; + } catch (P) { + var M0q = "Hinds"; + M0q += "ight: Error e"; + M0q += "valuating QoE a"; + M0q += "t endOfStream: "; + a000.l1q(2); + this.ub.Om(a000.P1q(P, M0q)); + } + n30 = 7; break; } } }; - R.prototype.suspend = function () { - var w20; - w20 = 2; - for (; w20 !== 1; ) { - switch (w20) { + O.prototype.Rib = function () { + var p30, + N; + p30 = 2; + for (; p30 !== 5; ) { + switch (p30) { case 2: - this.ji.suspend(); - w20 = 1; - break; - case 4: - this.ji.suspend(); - w20 = 9; - break; - w20 = 1; + N = this.$b.Lb; + N && (N = N.get()) && N.avtp && this.Qt.lkb({ + avtp: N.avtp.Fa + }); + p30 = 5; break; } } }; - R.prototype.resume = function () { - var x20; - x20 = 2; - for (; x20 !== 1; ) { - switch (x20) { - case 4: - this.ji.resume(); - x20 = 4; - break; - x20 = 1; - break; + O.prototype.rjb = function () { + var q30, + N, + M, + P; + q30 = 2; + for (; q30 !== 4; ) { + switch (q30) { case 2: - this.ji.resume(); - x20 = 1; + var L0q = "startup, pla"; + L0q += "yerState no long"; + L0q += "er STARTING:"; + var K0q = "fa"; + K0q += "iled "; + K0q += "to"; + K0q += " sta"; + K0q += "rt audio pipeline"; + var z0q = "failed to start video pip"; + z0q += "el"; + z0q += "ine"; + this.T.Ee(g.ka.Gg); + (N = this.Ga.Ec, M = N.Dd(0), P = N.Dd(1)); + this.cm && !this.JKa(P) ? this.Gb(z0q) : this.Dq && !this.JKa(M) ? this.Gb(K0q) : (this.iKa = !0, this.sd[0].N.J3 = !0, M = this.ob.rf[1], P = this.ob.rf[0], (M && 0 < M.zt || P && 0 < P.zt) && this.ub.Ehb(String(N.N.K), P ? P.zt : 0, M ? M.zt : 0, P ? P.yV : 0, M ? M.yV : 0), this.T.yWa() ? (this.f0(0), this.Dq && (N = this.pe.W2(0), M = this.pe.qp(0).trackId, this.ub.Hhb(N, M))) : this.Gb(L0q, this.T.getState())); + q30 = 4; break; } } }; - R.prototype.pm = function () { - var y20; - y20 = 2; - for (; y20 !== 1; ) { - switch (y20) { + O.prototype.JKa = function (N) { + var r30, + M, + P; + r30 = 2; + for (; r30 !== 14; ) { + switch (r30) { case 2: - return this.ji.pm(); + (M = N.mediaType, P = this.ob.rBb(N)); + r30 = 1; + break; + case 5: + var m0q = "NFErr_MC_Streaming"; + m0q += "InitFail"; + m0q += "ure"; + var W0q = "star"; + W0q += "tPipeline "; + W0q += "f"; + W0q += "ailed"; + return (this.om() || this.No(W0q, N.yb.N.Fb, m0q), !1); + break; + case 1: + r30 = f.fa(P) ? 5 : 4; break; case 4: - return this.ji.pm(); + N = N.track.Od[P]; + r30 = 3; break; - y20 = 1; + case 8: + P = this.pe.N; + N.N.bPa(N, { + offset: 0, + sB: !P.$e.Ng && !P.Gi && 1 === M, + hv: !this.ob.rf[M].oxb + }); + return !0; + break; + case 3: + r30 = N.pk() ? 9 : 8; + break; + case 9: + return !0; break; } } }; - R.prototype.ljb = function () { - var z20, - K; - z20 = 2; - for (; z20 !== 8; ) { - switch (z20) { - case 4: - this.Pw || (this.Pw = setInterval(this.qb.XJa.bind(this.qb), K.UJ)); - this.i0 || (this.i0 = setInterval(this.qb.Vhb.bind(this.qb), K.Ksa)); - this.jr && !this.PZ && (this.PZ = setInterval(this.qb.WJa.bind(this.qb), K.E0)); - z20 = 8; + v10 = 72; + break; + case 87: + O.prototype.Cda = function (N, M) { + var W30, + P, + R, + ea; + W30 = 2; + for (; W30 !== 9; ) { + switch (W30) { + case 1: + W30 = P.Sa(N) ? 5 : 9; + break; + case 6: + W30 = P.Sa(N) ? 3 : 8; + break; + W30 = P.Sa(N) ? 5 : 9; break; case 2: - K = this.I; - this.PA && clearTimeout(this.PA); - this.PA = setTimeout(this.ZQ.bind(this), K.B8); - z20 = 4; + P = this.Ga.Ec; + W30 = 1; + break; + case 5: + var C0q = "pt"; + C0q += "sch"; + C0q += "ange"; + C0q += "d"; + (R = this.ob.rf[N], ea = this.ob.zz[N]); + f.fa(R.Bn) && (R.Bn = M, 1 === N && this.Dq && (N = this.ob.rf[0], f.fa(N.Bn) && (P = P.Sa(0), P.bH(M)), this.emit(C0q, M))); + f.fa(ea.MR) && (ea.MR = M); + W30 = 9; break; } } }; - R.prototype.XZ = function () { - var A20; - A20 = 2; - for (; A20 !== 7; ) { - switch (A20) { - case 3: - this.RI && (clearTimeout(this.RI), this.RI = void 0); - this.tca && (clearTimeout(this.tca), this.tca = void 0); - this.Mf.XZ(); - A20 = 7; - break; + O.prototype.PUa = function (N) { + var X30; + X30 = 2; + for (; X30 !== 1; ) { + switch (X30) { case 2: - this.PA && (clearTimeout(this.PA), this.PA = void 0); - this.Pw && (clearInterval(this.Pw), this.Pw = void 0); - this.i0 && (clearInterval(this.i0), this.i0 = void 0); - this.PZ && (clearInterval(this.PZ), this.PZ = void 0); - A20 = 3; + this.$g && (this.$g.JHb(N), this.NNa()); + X30 = 1; break; } } }; - R.prototype.play = function () { - var B20; - B20 = 2; - for (; B20 !== 1; ) { - switch (B20) { + O.prototype.A3 = function (N) { + var Y30; + Y30 = 2; + for (; Y30 !== 1; ) { + switch (Y30) { case 2: - this.ji.play(); - B20 = 1; + this.$g && (this.$g.IHb(N), this.NNa()); + Y30 = 1; break; } } }; - v10 = 39; - break; - case 48: - R.prototype.E3 = function () { - var U20; - U20 = 2; - for (; U20 !== 1; ) { - switch (U20) { + O.prototype.NNa = function () { + var Z30, + N; + Z30 = 2; + for (; Z30 !== 4; ) { + switch (Z30) { + case 1: + var s0q = "al"; + s0q += "lCom"; + s0q += "pl"; + s0q += "e"; + s0q += "ted"; + N = this.I; + this.$g.KB() || (this.$g = void 0, N.Bq || this.Tw.WA || this.$Q(s0q)); + Z30 = 4; + break; + case 9: + Z30 = this.$g ? 3 : 3; + break; + Z30 = this.$g ? 1 : 4; + break; case 2: - return this.T.Qn(this.me.N); + Z30 = this.$g ? 1 : 4; break; } } }; - R.prototype.yIa = function (K) { - var V20, - Q, + O.prototype.aR = function () { + var a40, N, - da; - V20 = 2; - for (; V20 !== 11; ) { - switch (V20) { + M, + P, + R, + ea, + pa, + va, + ta; + a40 = 2; + for (; a40 !== 7; ) { + switch (a40) { case 2: - V20 = K >= this.rd.length ? 1 : 5; + (N = this, M = this.I, P = this.AV, R = this.sd[P], ea = this.Ga.Ec, pa = this.T.ye() || 0, va = this.ys(P, pa), ta = M.x8); + this.$b.mf && void 0 !== R.qG && R.qG - pa <= M.MYa && this.$b.mf.Yo(!0, this.ul.sessionId); + a40 = 5; break; case 5: - (Q = this.Ga.Cc.Ed(0), N = this.Ga.Cc.Ed(1)); - Q = !Q || Q.yh; - da = !N || N.yh; - V20 = 9; - break; - case 9: - N = this.rd[K].N; - V20 = 8; + this.T.getState() === g.ka.Ac && ([1, 0].forEach(function (Y) { + var b40, + U, + ma, + Ia, + Ea, + V, + ra, + wa; + b40 = 2; + for (; b40 !== 35; ) { + switch (b40) { + case 21: + var u0q = "Unable to find request presenti"; + u0q += "ng at pla"; + u0q += "yer"; + u0q += "Pts:"; + ra.Gb(u0q, pa); + b40 = 23; + break; + case 6: + Ea = V.Nd - pa; + Ea < ta && (ta = Ea); + (U = N.ob.Ev[Y], ma = V.N, Ia = ma.Fb); + Ea = V.Na; + b40 = 11; + break; + case 5: + b40 = ra ? 4 : 35; + break; + case 4: + Ea = ra.Na; + ra.dK(pa); + b40 = 9; + break; + case 9: + (V = N.Ga.Is(pa, ea, Y)) && !V.Le && (V = N.rg[Y].SFb); + b40 = 7; + break; + case 1: + ra = ea.Sa(Y); + b40 = 5; + break; + case 7: + b40 = V ? 6 : 21; + break; + case 16: + N.rJ && V.Ht != U.bGb && N.ub.Xhb(V.Ht); + b40 = 15; + break; + case 11: + b40 = !N.cm || 1 === Y ? 10 : 15; + break; + case 15: + U.bGb = V.Ht; + ma = V.Ma; + ma != U.zma && (U.zma = ma, Y = N.sd[Ia].N.qv(Y, ma), Ia = N.ys(Ia, V.Zc), N.ub.Shb(Y, V.Zc, Ia, Y.N.Fb)); + b40 = 25; + break; + case 2: + b40 = N.Yb(Y) ? 1 : 35; + break; + case 17: + va = N.ys(Ia, pa); + b40 = 15; + break; + case 20: + N.G_ = Ia; + wa = 0 < Ia ? Ia - 1 : null; + N.ub.Jhb(ma, pa, V.Ht, null !== wa ? N.sd[wa].N.K : null, wa); + b40 = 17; + break; + case 23: + N.Fib(Ea, pa); + N.Ga.uOb(); + b40 = 35; + break; + case 25: + V = V.bitrate; + b40 = 24; + break; + case 24: + f.fa(V) || V == ra.d0a || (ra.d0a = V); + b40 = 23; + break; + case 10: + b40 = (N.Ga.bKb(V, V.Ht), Ia > N.G_) ? 20 : 16; + break; + } + } + }), this.Ga.Er(pa, va)); + this.Nf.rj(); + ta = Math.max(ta, 1); + this.SA && clearTimeout(this.SA); + a40 = 8; break; - case 1: - return !1; + case 8: + this.SA = setTimeout(this.aR.bind(this), ta); + a40 = 7; break; - case 7: - return !1; + } + } + }; + O.prototype.c_ = function (N) { + var c40; + c40 = 2; + for (; c40 !== 1; ) { + switch (c40) { + case 4: + return this.Nf.c_(N); break; - case 8: - V20 = !(K === this.qJ + 1 && N.Ze.replace || Q && da) || !this.T.Qn(N) ? 7 : 6; + c40 = 1; break; - case 6: - K = N.Rg[0]; - Q = N.Rg[1]; - Q = !this.em || Q && Q.stream.ye; - return (!this.Bq || K && K.stream.ye) && Q ? !0 : !1; + case 2: + return this.Nf.c_(N); break; } } }; - R.prototype.p0 = function () { - var W20; - W20 = 2; - for (; W20 !== 1; ) { - switch (W20) { + O.prototype.rj = function () { + var d40; + d40 = 2; + for (; d40 !== 1; ) { + switch (d40) { case 2: - this.o0(this.qJ + 1); - W20 = 1; + return this.Nf.rj(); break; case 4: - this.o0(this.qJ % 7); - W20 = 3; + return this.Nf.rj(); break; - W20 = 1; + d40 = 1; break; } } }; - R.prototype.o0 = function (K) { - var X20, - Q; - X20 = 2; - for (; X20 !== 6; ) { - switch (X20) { + O.prototype.FE = function (N, M) { + var e40, + P, + R; + e40 = 2; + for (; e40 !== 13; ) { + switch (e40) { case 1: - return !1; - break; - case 3: - return !1; + e40 = P ? 5 : 14; break; case 2: - X20 = !this.yIa(K) ? 1 : 5; + P = N.Na; + e40 = 1; break; - case 4: - X20 = Q.swb || !Q.N.Ze.replace ? 3 : 9; + case 14: + var Z0q = "abortRequest"; + Z0q += " wit"; + Z0q += "h no r"; + Z0q += "equestManagaer:"; + this.Gb(Z0q, N); + e40 = 13; break; case 5: - Q = this.rd[K]; - X20 = 4; - break; - case 9: - this.xjb(K); - this.Mf.uj(); - return !0; + R = N.mediaType; + N.abort(); + N.Kc(); + N.Yh && N.Yh.clear(); + P.V6(N); + this.rg[R].V6(N); + !0 === M && this.Nf.rj(); + e40 = 13; break; } } }; - R.prototype.xjb = function (K) { - var Y20, - Q, - N, - da, - na, - va, - ra; - Y20 = 2; - for (; Y20 !== 20; ) { - switch (Y20) { + O.prototype.qjb = function (N) { + var f40, + M, + P; + f40 = 2; + for (; f40 !== 5; ) { + switch (f40) { case 2: - (Q = this.rd[K], N = this.I, da = this.Ga.Cc, na = da.Ra(0)); - Y20 = 1; - break; - case 1: - na = na ? na.oc : void 0; - va = da.Ra(1); - va = va ? va.oc : void 0; - Y20 = 3; - break; - case 13: - this.HJa(K); - Q.soa(); - this.$m.zca(); - this.Mf.uj(); - Y20 = 20; - break; - case 3: - var C7u = ","; - C7u += " "; - var H7u = ", strea"; - H7u += "min"; - H7u += "g"; - H7u += "Pts: "; - var f7u = "s"; - f7u += "witchManifest m"; - f7u += "anif"; - f7u += "estIndex: "; - N.Gh && this.qb.Ul(f7u + K + H7u + na + C7u + va); - N = this.me; - na = N.N.Ze.yg; - ra = []; - [1, 0].forEach(function (X) { - var Z20; - Z20 = 2; - for (; Z20 !== 1; ) { - switch (Z20) { - case 2: - Q.N.Vb(X) && (ra[X] = Q.pp(X)); - Z20 = 1; - break; - } - } - }); - na ? this.Ga.SPb(N.N, Q.N, ra) : da.q3a(Q.N, ra); - Y20 = 13; + var B0q = "no newAudio"; + B0q += "Track"; + B0q += " s"; + B0q += "et"; + (M = N.mediaType, P = this.ob.rf[M]); + f.fa(P.M5) ? N.Gb(B0q) : (this.rg[M].pause(), P.ZN = !0, N = this.pe.qp(0), P = this.pe.N.getTrackById(P.M5.trackId), this.ub.yhb(N, P)); + f40 = 5; break; } } }; - R.prototype.UZa = function () { - var a30, - K, - Q, - N, - da; - a30 = 2; - for (; a30 !== 6; ) { - switch (a30) { - case 2: - (K = this.Ga.Cc, Q = K.Ra(0)); - a30 = 1; - break; - case 1: - a30 = Q ? 5 : 7; - break; - case 5: - var Z7u = "onAud"; - Z7u += "ioTrackSwitchStarted but current playin"; - Z7u += "g request not found"; - (N = this.T.xe(), da = this.nb.rf[Q.mediaType]); - (K = this.Ga.Es(N, K, 0)) ? Q = K.Na : (this.Eb(Z7u), Q = Q.Na); - this.zib(Q); - a30 = 9; + O.prototype.Aib = function (N) { + var g40, + pa, + va, + ta, + Y, + M, + P, + R, + ea; + g40 = 2; + for (; g40 !== 27; ) { + switch (g40) { + case 4: + this.ob.Bx = ea.M5; + (pa = this.pe, va = pa.N.getTrackById(this.ob.Bx.trackId), ta = va.PN, Y = this.T.ye() - N.Me); + g40 = 9; break; case 9: - da.ZN = !1; - this.Mf.uj(); - a30 = 6; + g40 = (null === (P = this.$g) || void 0 === P ? 0 : P.KB()) ? 8 : 7; break; - case 7: - var X7u = "onAudioTrackSwitchSt"; - X7u += "arted ignored, no audio p"; - X7u += "ipeline"; - this.Eb(X7u); - a30 = 6; + case 12: + this.Yf.oN(null); + this.yda(0, G.IP.dSa, N); + this.Ga.X2a(N, !0); + g40 = 20; break; - } - } - }; - R.prototype.b8 = function (K) { - var b30, - Q, - N, - da, - va, - na; - b30 = 2; - for (; b30 !== 35; ) { - switch (b30) { - case 23: - Q = da.Ra(0); - this.pjb(Q); - b30 = 21; + case 17: + ++P; + g40 = 19; break; - case 25: - var w7u = " "; - w7u += "t"; - w7u += "o"; - w7u += ":"; - w7u += " "; - var a7u = "s"; - a7u += "witchTracks cu"; - a7u += "rr"; - a7u += "e"; - a7u += "nt: "; - Q.Gh && this.qb.Ul(a7u + va + w7u + na.trackId); - N.M5 = { - trackId: K - }; - b30 = 23; + case 18: + this.fOb(P, ta, Y); + g40 = 17; break; case 2: - Q = this.I; - b30 = 1; - break; - case 27: - b30 = va === na.trackId ? 26 : 25; - break; - case 17: - b30 = !na ? 16 : 15; + (M = this, R = this.I); + N = N.yb; + ea = this.ob.rf[0]; + g40 = 4; break; case 20: - var P7u = "switchTra"; - P7u += "cks re"; - P7u += "jected, bufferL"; - P7u += "evelMs"; - return (this.Eb(P7u, na, "<", Q.t5), !1); - break; - case 14: - var d7u = "switchTracks rejected, pre"; - d7u += "vious switch stil"; - d7u += "l"; - d7u += " waiting to "; - d7u += "start"; - return (this.Eb(d7u), !1); + P = this.sJ; + g40 = 19; break; - case 12: - b30 = this.T.getState() === g.ja.yc ? 11 : 19; + case 16: + N.s1a(va, Y); + this.iH(0); + g40 = 27; break; - case 21: - return !0; + case 19: + g40 = P < this.sd.length ? 18 : 16; break; case 7: - N = this.nb.rf[0]; - b30 = 6; + P = this.$b.P2(pa.N.sa, [ta], 0); + this.Nba[0] = P[0]; + this.wS.tKa(0, N.N); + ea.M5 = void 0; + g40 = 12; break; - case 1: - b30 = !this.Bq ? 5 : 4; + case 8: + var A0q = "a"; + A0q += "udi"; + A0q += "o"; + A0q += "Switch"; + (this.$g.RPb(function (ra) { + var h40; + h40 = 2; + for (; h40 !== 5; ) { + switch (h40) { + case 1: + return (M.FE(ra, !1), !0); + break; + case 2: + h40 = 0 === ra.mediaType ? 1 : 5; + break; + } + } + }), this.$g.KB() || (this.$g = void 0, R.Bq || this.Tw.WA || this.$Q(A0q))); + g40 = 7; break; - case 9: - b30 = this.T.Pf() ? 8 : 7; + } + } + }; + v10 = 104; + break; + case 39: + O.prototype.stop = function () { + var C20; + C20 = 2; + for (; C20 !== 1; ) { + switch (C20) { + case 2: + this.ji.stop(); + C20 = 1; break; - case 19: - K = K.KE; - na = this.me.N.getTrackById(K); - b30 = 17; + } + } + }; + O.prototype.pr = function (N, M) { + var D20; + D20 = 2; + for (; D20 !== 1; ) { + switch (D20) { + case 2: + return this.Zm.pr(N, M); break; - case 13: - da = this.Ga.Cc; - b30 = 12; + } + } + }; + O.prototype.seek = function (N, M) { + var E20; + E20 = 2; + for (; E20 !== 1; ) { + switch (E20) { + case 2: + return this.Zm.seek(N, M); break; - case 26: - return !1; + } + } + }; + O.prototype.Cr = function (N) { + var F20, + M, + P, + R, + ea, + pa, + I20; + F20 = 2; + for (; F20 !== 18; ) { + switch (F20) { + case 8: + var f0q = "und"; + f0q += "e"; + f0q += "rf"; + f0q += "low"; + h.cf.forEach(function (va) { + var H20, + ta, + Y, + ra, + Ea; + H20 = 2; + for (; H20 !== 6; ) { + switch (H20) { + case 2: + Y = pa.Dd(va); + H20 = 1; + break; + case 5: + H20 = P.Gh ? 4 : 9; + break; + case 4: + (ra = M.rg[va], Ea = M.Ga.TE(pa, va)); + H20 = 3; + break; + case 3: + var h0q = ", t"; + h0q += "oApp"; + h0q += "end: "; + var e0q = ", fr"; + e0q += "ag"; + e0q += "ments"; + e0q += ": "; + var k0q = ", completeStream"; + k0q += "ingPts"; + k0q += ": "; + var y0q = ", "; + y0q += "stream"; + y0q += "ingP"; + y0q += "ts:"; + y0q += " "; + var b0q = ", "; + b0q += "part"; + b0q += "i"; + b0q += "als: "; + var F0q = ", compl"; + F0q += "et"; + F0q += "ed"; + F0q += "Bytes: "; + var t0q = ","; + t0q += " complete"; + t0q += "d"; + t0q += "Ms: "; + var H0q = ", m"; + H0q += "ediaTy"; + H0q += "p"; + H0q += "e: "; + var q0q = "under"; + q0q += "fl"; + q0q += "ow: "; + ra = q0q + N + H0q + va + t0q + Y.eK + F0q + Ea + b0q + Y.Na.uC + y0q + Y.tc + k0q + Y.ws + e0q + JSON.stringify(Y.Na.Y) + h0q + (ra && ra.s7()); + H20 = 9; + break; + case 1: + H20 = Y ? 5 : 6; + break; + case 9: + P.Gh && M.ub.Tl(ra); + Y.bga(); + null === (ta = Y.Vf) || void 0 === ta ? void 0 : ta.dQb(); + H20 = 6; + break; + } + } + }); + this.pe.N.Hj(); + this.emit(f0q); + this.f0(2); + F20 = 13; break; - case 3: - var V7u = "sw"; - V7u += "itc"; - V7u += "hTracks rejected, previous sw"; - V7u += "itch still in progress: "; - return (this.Eb(V7u + JSON.stringify(this.nb.wx)), !1); + case 2: + var p0q = "branch"; + p0q += "Offs"; + p0q += "et:"; + var n0q = "entry.man"; + n0q += "i"; + n0q += "festOffset:"; + var x0q = "con"; + x0q += "tentP"; + x0q += "ts:"; + var E0q = "underflow: going to BUFFERING"; + E0q += " a"; + E0q += "t "; + E0q += "player pts:"; + (M = this, P = this.I, R = this.ys(this.AV, N)); + this.Gb(E0q, N, x0q, R, n0q, this.pe.xv, p0q, this.Ga.Me); + ea = P.Sy; + this.rg.forEach(function (va) { + var G20; + G20 = 2; + for (; G20 !== 1; ) { + switch (G20) { + case 2: + ea = Math.max(0, Math.min(ea, va.Lja - N)); + G20 = 1; + break; + } + } + }); + this.tda += 1; + pa = this.Ga.Ec; + F20 = 8; break; - case 15: - va = this.me.pp(0).trackId; - b30 = 27; + case 13: + this.Nf.rj(); + F20 = 12; break; - case 10: - b30 = na < Q.t5 ? 20 : 19; + case 12: + F20 = this.Oq ? 11 : 10; break; case 11: - na = this.Ga.Ru(da, 1); - b30 = 10; - break; - case 5: - var K7u = "s"; - K7u += "witchTracks reject"; - K7u += "ed, audio disabled"; - return (this.Eb(K7u), !1); - break; - case 4: - b30 = this.nb.wx ? 3 : 9; - break; - case 8: - var g7u = "switc"; - g7u += "hTracks rejected, b"; - g7u += "uffering"; - return (this.Eb(g7u), !1); - break; - case 16: - var N7u = "swi"; - N7u += "tchTracks "; - N7u += "can'"; - N7u += "t "; - N7u += "find trackId:"; - return (this.Eb(N7u, K), !1); + try { + I20 = 2; + for (; I20 !== 1; ) { + switch (I20) { + case 4: + this.m2(g.ka.Sc); + I20 = 6; + break; + I20 = 1; + break; + case 2: + this.m2(g.ka.Sc); + I20 = 1; + break; + } + } + } catch (va) { + var N0q = "Hindsigh"; + N0q += "t: Error "; + N0q += "when evaluating QoE at Buffe"; + N0q += "ring"; + N0q += ": "; + a000.l1q(2); + this.ub.Om(a000.o1q(va, N0q)); + } + F20 = 10; break; - case 6: - b30 = N.ZN ? 14 : 13; + case 10: + R = this.$b.Lb.get(); + R = R.confidence ? R.Oa.Fa : 0; + ea > P.Bwb && R > P.Awb && this.Fda(); + F20 = 18; break; } } }; - R.prototype.Qp = function (K, Q) { - var c30; - c30 = 2; - for (; c30 !== 1; ) { - switch (c30) { - case 2: - this.nb.Qp(K, Q); - c30 = 1; - break; + O.prototype.cn = function (N) { + var J20; + J20 = 2; + for (; J20 !== 1; ) { + switch (J20) { case 4: - this.nb.Qp(K, Q); - c30 = 4; + return this.Zm.cn(N); break; - c30 = 1; + J20 = 1; + break; + case 2: + return this.Zm.cn(N); break; } } }; - R.prototype.Es = function (K, Q, N) { - var d30; - d30 = 2; - for (; d30 !== 1; ) { - switch (d30) { + O.prototype.rs = function (N, M, P) { + var K20; + K20 = 2; + for (; K20 !== 1; ) { + switch (K20) { case 2: - return this.Ga.Es(K, this.Ga.Mh, Q, N); + return this.Zm.rs(N, M, P); break; } } }; - R.prototype.bi = function (K) { - var e30; - e30 = 2; - for (; e30 !== 1; ) { - switch (e30) { + O.prototype.FJa = function (N) { + var L20, + M; + L20 = 2; + for (; L20 !== 3; ) { + switch (L20) { case 2: - return this.$m.bi(K); - break; - case 4: - return this.$m.bi(K); - break; - e30 = 1; + this.sJ = N; + M = this.sd[N]; + this.ub.Lhb(N, M); + this.ub.XJa(M.N.Bv); + L20 = 3; break; } } }; - v10 = 59; - break; - case 13: - Object.defineProperties(R.prototype, { - Lt: { - get: function () { - var L10; - L10 = 2; - for (; L10 !== 1; ) { - switch (L10) { - case 2: - return this.Yb.Lt; - break; - case 4: - return this.Yb.Lt; - break; - L10 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - jr: { - get: function () { - var M10; - M10 = 2; - for (; M10 !== 1; ) { - switch (M10) { - case 2: - return this.Uib; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - tU: { - get: function () { - var N10; - N10 = 2; - for (; N10 !== 1; ) { - switch (N10) { - case 2: - return this.pJ; - break; - case 4: - return this.pJ; - break; - N10 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - DM: { - get: function () { - var O10; - O10 = 2; - for (; O10 !== 1; ) { - switch (O10) { - case 2: - return this.N_; - break; - case 4: - return this.N_; - break; - O10 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - R.prototype.Vb = function (K) { - var P10; - P10 = 2; - for (; P10 !== 1; ) { - switch (P10) { + O.prototype.MJ = function (N, M) { + var M20, + ea, + pa, + va, + ta, + P, + R, + Y, + ra; + M20 = 2; + for (; M20 !== 35; ) { + switch (M20) { + case 1: + M20 = this.om() ? 5 : 4; + break; + case 9: + M20 = !M.w5b && (this.Dq && ea.hq || this.cm && pa.hq) ? 8 : 7; + break; case 4: - return this.wjb[K]; + M || (M = {}); + (ea = this.Ga.Ec.Dd(0), pa = this.Ga.Ec.Dd(1)); + M20 = 9; break; - P10 = 1; + case 14: + var I0q = "addManifest in"; + I0q += " fastplay but not drm manifest, leaving space for i"; + I0q += "t"; + M.replace && 1 !== ea ? ea = 1 : this.pe.N.$e.Ng && !M.replace && 1 === ea && (this.Gb(I0q), ea = this.sd[0].clone(), this.sd.push(ea), ea = this.sd.length); + pa = M.X || 0; + va = M.Ca; + N = l.S$.create({ + Fb: ea, + sa: N, + co: void 0, + E2a: M.QN || [this.pe.W2(0), this.pe.W2(1)], + Ng: !1, + nWa: !!M.replace, + Gi: !!M.Gi, + Ed: h.o5(!!M.wR, !!M.VC), + X: pa, + Ca: va, + ub: this.ub, + Rq: this.hJa.bind(this), + Nb: this, + config: this.I, + H: this.H, + Nf: this.Nf, + Zm: this.Zm, + mf: this.$Ka ? this.$b.mf : void 0, + NB: this.NB + }); + ta = N.N; + (M.Imb || this.mIa) && this.ob.Tp(M.Imb || this.mIa, ta.$); + M20 = 19; break; case 2: - return this.wjb[K]; + (P = this, R = this.I); + M20 = 1; break; - } - } - }; - R.prototype.hT = function () { - var Q10; - Q10 = 2; - for (; Q10 !== 1; ) { - switch (Q10) { - case 2: - return u.default.time.aa() - this.Zba; + case 8: + var V0q = "addManifest i"; + V0q += "gnored, pipelines"; + V0q += " already "; + V0q += "set EOS:"; + this.Gb(V0q, ea.hq, pa.hq); + M20 = 35; break; - case 4: - return u.default.time.aa() + this.Zba; + case 7: + M.EM && (this.Q_ = !0); + ea = this.sd.length; + M20 = 14; break; - Q10 = 1; + case 5: + var g0q = "add"; + g0q += "Manifest: pipelines "; + g0q += "alrea"; + g0q += "dy shutdown"; + this.Gb(g0q); + M20 = 35; break; - } - } - }; - R.prototype.ETa = function () { - var R10; - R10 = 2; - for (; R10 !== 1; ) { - switch (R10) { - case 2: - return (this.rd || []).reduce(function (K, Q) { - var S10, - N; - S10 = 2; - for (; S10 !== 4; ) { - switch (S10) { + case 19: + var o0q = "b"; + o0q += "oo"; + o0q += "le"; + o0q += "a"; + o0q += "n"; + var d0q = "vid"; + d0q += "e"; + d0q += "o_"; + d0q += "tr"; + d0q += "acks"; + var w0q = "au"; + w0q += "dio_"; + w0q += "tr"; + w0q += "acks"; + (Y = [w0q, d0q], ra = this.FTa()); + M.replace && Y.forEach(function (Ea, V) { + var N20, + U, + ma; + N20 = 2; + for (; N20 !== 3; ) { + switch (N20) { + case 1: + N20 = U ? 5 : 3; + break; case 2: - N = Q.N; - h.cf.forEach(function (da) { - var T10; - T10 = 2; - for (; T10 !== 1; ) { - switch (T10) { + U = ta.GF(V); + N20 = 1; + break; + case 8: + U = ta.GF(V); + N20 = 6; + break; + N20 = 1; + break; + case 7: + N20 = U ? 6 : 4; + break; + N20 = U ? 5 : 3; + break; + case 5: + ma = P.sd[0].N; + Object.keys(U).forEach(function (Ia) { + var O20, + wa; + O20 = 2; + for (; O20 !== 5; ) { + switch (O20) { case 2: - N.vv[da] > K[da] && (K[da] = N.vv[da]); - T10 = 1; + wa = ma.qv(V, Ia); + wa && wa.Ae && (U[Ia].y1(wa), Ia = ta.Bv, Ia[V] > ra[V] && (ra[V] = Ia[V])); + O20 = 5; break; } } }); - return K; + N20 = 3; break; } } - }, [0, 0]); - break; - } - } - }; - R.prototype.PL = function () { - var U10, - K; - U10 = 2; - for (; U10 !== 4; ) { - switch (U10) { - case 5: - return K; - break; - case 2: - K = 0; - f.forEach(this.me.N.sa.audio_tracks, function (Q) { - var V10; - V10 = 2; - for (; V10 !== 1; ) { - switch (V10) { + }); + Y.forEach(function (Ea, V) { + var P20, + U; + P20 = 2; + for (; P20 !== 5; ) { + switch (P20) { case 2: - f.forEach(Q.streams, function (N) { - var W10; - W10 = 2; - for (; W10 !== 1; ) { - switch (W10) { + U = ta.GF(V); + U && Object.keys(U).forEach(function (ma) { + var Q20; + Q20 = 2; + for (; Q20 !== 1; ) { + switch (Q20) { case 2: - K = Math.max(K, N.bitrate); - W10 = 1; + U[ma].T5a(t.default.Nn()[V], ta.Cy() ? R.kYa : 0); + Q20 = 1; break; } } }); - V10 = 1; + P20 = 5; break; } } }); - U10 = 5; + N.pR = o0q === typeof M.gmb ? M.gmb : !0; + this.sd[ea] && this.sd[ea].Kc(); + this.sd[ea] = N; + N.yNa(); + M20 = 25; break; - } - } - }; - R.prototype.Pg = function (K) { - var X10; - X10 = 2; - for (; X10 !== 1; ) { - switch (X10) { - case 2: - return this.rd[K]; + case 25: + var T0q = ","; + T0q += " "; + var J0q = ") last"; + J0q += "StreamA"; + J0q += "ppended: "; + J0q += "("; + var S0q = ","; + S0q += " "; + var l0q = " str"; + l0q += "eamCou"; + l0q += "nt: ("; + var Q0q = " p"; + Q0q += "layer"; + Q0q += "State: "; + var P0q = "ad"; + P0q += "dManifest, c"; + P0q += "urrentPts"; + P0q += ":"; + P0q += " "; + M.replace || this.Ga.Ekb(ta, pa, va); + M = this.ob.Ev[0].YF; + ea = this.ob.Ev[1].YF; + R.Gh && this.ub.Tl(P0q + this.T.ye() + Q0q + this.T.getState() + l0q + N.qp(0).Od.length + S0q + N.qp(1).Od.length + J0q + M + T0q + ea + ")"); + this.Dq && f.fa(M) || this.cm && f.fa(ea) || (N.N.YM([N.qp(0), N.qp(1)]), this.r0()); + M20 = 35; break; } } }; - R.prototype.Rzb = function () { - var Y10, - K; - Y10 = 2; - for (; Y10 !== 5; ) { - switch (Y10) { + O.prototype.iR = function (N) { + var R20; + R20 = 2; + for (; R20 !== 1; ) { + switch (R20) { case 2: - K = this.rd[0]; - return K.N.Ze.yg ? this.rd[1] : K; + return this.Zm.iR(N); break; } } }; - v10 = 27; - break; - case 59: - R.prototype.l2 = function (K, Q) { - var f30, - N, - da, - g30; - f30 = 2; - for (; f30 !== 6; ) { - switch (f30) { - case 8: - Q = da.Jyb(); - f30 = 7; + O.prototype.cy = function (N) { + var S20, + M, + P, + R, + ea, + pa; + S20 = 2; + for (; S20 !== 7; ) { + switch (S20) { + case 1: + S20 = !this.om() ? 5 : 7; break; case 2: - N = this.nb; - K = N.Dia(K, Q); - da = this.Yf.hqa; - K && !K.MJ && da.pia(K); - f30 = 3; - break; - case 9: - N.ara(); - f30 = 6; + R = this.I; + S20 = 1; break; - case 3: - f30 = Q ? 9 : 8; + case 5: + var a0q = " readySta"; + a0q += "te:"; + a0q += " "; + var c0q = " "; + c0q += "for mo"; + c0q += "vi"; + c0q += "eId"; + c0q += ": "; + var U0q = ","; + U0q += " "; + var r0q = "drmRe"; + r0q += "a"; + r0q += "dy at streamin"; + r0q += "g pts: "; + f.fa(M) && (M = !0); + (ea = this.Ga.Ec.Dd(0), pa = this.Ga.Ec.Dd(1)); + R.Gh && this.ub.Tl(r0q + (ea ? ea.tc : null) + U0q + (pa ? pa.tc : null) + c0q + N + a0q + M); + a000.l1q(2); + this.T.pW(a000.o1q("", N), M); + S20 = 8; break; - case 7: - try { - g30 = 2; - for (; g30 !== 1; ) { - switch (g30) { - case 4: - this.qb.Fhb(Q); - g30 = 0; - break; - g30 = 1; - break; - case 2: - this.qb.Fhb(Q); - g30 = 1; - break; + case 8: + var Y0q = "d"; + Y0q += "rm"; + Y0q += "Re"; + Y0q += "ad"; + Y0q += "y"; + M && (this.rg.forEach(function (va) { + var T20; + T20 = 2; + for (; T20 !== 5; ) { + switch (T20) { + case 2: + R.D2 && va.XRa(); + va.cy(); + T20 = 5; + break; + } } - } - } catch (na) { - var x7u = "]"; - x7u += " "; - x7u += "["; - var T7u = "exce"; - T7u += "pt"; - T7u += "ion:"; - T7u += " ["; - this.H.error(T7u + na.message + x7u + na.G7b + "]"); - } - f30 = 6; - break; - } - } - }; - R.prototype.Kfa = function (K, Q) { - var h30; - h30 = 2; - for (; h30 !== 5; ) { - switch (h30) { - case 2: - a000.D9b(4); - x.assert(a000.r9b(0, Q)); - return this.rd[Q].Fnb(K); + }), R.K8 && this.TQ(), this.pe.N.$e.Ng && this.q0(this.Zm.IA ? this.Zm.IA.Fb : this.sJ + 1), R.Bq || (null === (P = this.$g) || void 0 === P ? 0 : P.KB()) || this.Tw.WA || this.$Q(Y0q), this.Zm.tca()); + S20 = 7; break; } } }; - R.prototype.us = function (K, Q) { - var i30, - N, - da; - i30 = 2; - for (; i30 !== 7; ) { - switch (i30) { + v10 = 48; + break; + case 27: + O.prototype.fL = function () { + var Z10; + Z10 = 2; + for (; Z10 !== 1; ) { + switch (Z10) { case 2: - void 0 === K && (K = this.BV); - N = this.Ga.Qwb(Q, K); - i30 = 5; - break; - case 5: - i30 = N ? 4 : 8; - break; - case 8: - (N = this.Ga.Eia(K), 0 < N.length && (N = N[0], da = N.Ke)); - i30 = 3; + return this.sd.length; break; case 4: - da = N.Ke; - i30 = 3; + return this.sd.length; break; - case 3: - f.xa(da) || (da = this.rd[K].rv); - a000.u9b(1); - return a000.Q9b(da, Q); + Z10 = 1; break; } } }; - R.prototype.dK = function (K, Q) { - var j30, - N, - da; - j30 = 2; - for (; j30 !== 7; ) { - switch (j30) { + O.prototype.Nla = function (N, M) { + var a20; + a20 = 2; + for (; a20 !== 9; ) { + switch (a20) { + case 5: + N = this.sd[N]; + M = this.sd[M]; + return N.N.$e.Ng && M.N.$e.zU || M.N.$e.Ng && N.N.$e.zU; + break; case 2: - void 0 === K && (K = this.BV); - N = this.Ga.Pwb(Q, K); - j30 = 5; + a20 = N === M ? 1 : 5; break; - case 5: - j30 = N ? 4 : 8; + case 7: + a20 = N == M ? 4 : 6; break; - case 3: - f.xa(da) || (da = this.rd[K].rv); - j30 = 9; + a20 = N === M ? 1 : 5; break; - case 8: - (N = this.Ga.Eia(K), 0 < N.length && (N = N[0], da = N.Ke)); - j30 = 3; + case 1: + return !0; break; - case 9: - a000.u9b(2); - return a000.Q9b(Q, da); + case 6: + return +6; break; - case 4: - da = N.Ke; - j30 = 3; + a20 = 5; break; } } }; - R.prototype.AJ = function () { - var k30, - K; - k30 = 2; - for (; k30 !== 4; ) { - switch (k30) { - case 5: - (K && this.qb.kda(), this.ZQ(), this.T.Ce(g.ja.yc), this.Mf.uj()); - k30 = 4; - break; - case 1: - k30 = K || this.nb.wx ? 5 : 4; - break; + O.prototype.gT = function (N) { + var b20; + b20 = 2; + for (; b20 !== 5; ) { + switch (b20) { case 2: - K = this.T.Pf(); - k30 = 1; + b20 = (N = this.Ga.Lh.children[N]) ? 1 : 5; break; - case 8: - k30 = K && this.nb.wx ? 4 : 0; - break; - k30 = K || this.nb.wx ? 5 : 4; + case 1: + return { + id: N.P.id, + Me: N.Me, + Zc: N.Apa, + Nd: N.Nd, + Lc: N.m7, + uc: N.uc + }; break; } } }; - R.prototype.Lda = function () { - var l30, - K, - Q; - l30 = 2; - for (; l30 !== 3; ) { - switch (l30) { + O.prototype.xp = function () { + var c20, + N; + c20 = 2; + for (; c20 !== 5; ) { + switch (c20) { case 2: - (K = this, Q = this.T.Pf()); - this.Ga.Cc.z7(Q, function (N) { - var m30; - m30 = 2; - for (; m30 !== 1; ) { - switch (m30) { - case 2: - return K.rg[N] ? K.rg[N].w7() : ""; - break; - } - } - }); - this.RI && (clearTimeout(this.RI), this.RI = void 0); - this.Qw.IHb(); - l30 = 3; + N = this.Ga.Lh; + return { + id: N.P.id, + Me: N.Me, + Zc: N.Apa, + Nd: N.Nd, + Lc: N.m7, + uc: N.uc + }; break; } } }; - R.prototype.GKa = function (K) { - var n30, - Q, - o30; - n30 = 2; - for (; n30 !== 7; ) { - switch (n30) { + O.prototype.SN = function (N, M) { + var d20; + d20 = 2; + for (; d20 !== 1; ) { + switch (d20) { case 2: - K.yh = !0; - K.fq = !1; - Q = this.T.xe() || 0; - n30 = 4; - break; - case 3: - this.nb.Rw(); - n30 = 9; - break; - case 9: - n30 = this.Nq && 1 === K.mediaType ? 8 : 7; + return this.Ga.SN(N, M); break; case 4: - K.$J(Q); - n30 = 3; + return this.Ga.SN(N, M); break; - case 8: - try { - o30 = 2; - for (; o30 !== 1; ) { - switch (o30) { - case 2: - this.l2(g.ja.pq, { - Aa: K.pc - }); - o30 = 1; - break; - } - } - } catch (N) { - var B7u = "Hindsight: Error eval"; - B7u += "uating QoE at"; - B7u += " endOfStream:"; - B7u += " "; - a000.u9b(2); - this.qb.Pm(a000.Q9b(B7u, N)); - } - n30 = 7; + d20 = 1; break; } } }; - R.prototype.Qib = function () { - var p30, - K; - p30 = 2; - for (; p30 !== 5; ) { - switch (p30) { - case 2: - K = this.Yb.Jb; - K && (K = K.get()) && K.avtp && this.Lt.lkb({ - avtp: K.avtp.Ea - }); - p30 = 5; + O.prototype.open = function () { + var e20, + Y, + N, + va, + ta, + M, + P, + R, + ea, + pa, + ra; + e20 = 2; + for (; e20 !== 33; ) { + switch (e20) { + case 17: + e20 = !Y.y0(ea) ? 16 : 15; break; - } - } - }; - R.prototype.qjb = function () { - var q30, - K, - Q, - N; - q30 = 2; - for (; q30 !== 4; ) { - switch (q30) { - case 2: - this.T.Ce(g.ja.Ig); - q30 = 1; + case 12: + var j0q = "c"; + j0q += "rea"; + j0q += "teMediaSource"; + j0q += "S"; + j0q += "tart"; + this.ub.yl(j0q); + Y = new u(this.T.VE); + e20 = 10; break; - case 1: - var F8u = "startup,"; - F8u += " playerState no"; - F8u += " l"; - F8u += "onger STA"; - F8u += "RTING:"; - var i7u = "fa"; - i7u += "iled to s"; - i7u += "tart audio p"; - i7u += "ipeline"; - var s7u = "failed to star"; - s7u += "t video "; - s7u += "pipelin"; - s7u += "e"; - (K = this.Ga.Cc, Q = K.Ed(0), N = K.Ed(1)); - this.em && !this.LKa(N) ? this.Eb(s7u) : this.Bq && !this.LKa(Q) ? this.Eb(i7u) : (this.kKa = !0, this.rd[0].N.I3 = !0, Q = this.nb.rf[1], N = this.nb.rf[0], (Q && 0 < Q.ut || N && 0 < N.ut) && this.qb.Dhb(String(K.N.K), N ? N.ut : 0, Q ? Q.ut : 0, N ? N.zV : 0, Q ? Q.zV : 0), this.T.AWa() ? (this.d0(0), this.Bq && (K = this.me.U2(0), Q = this.me.pp(0).trackId, this.qb.Ghb(K, Q))) : this.Eb(F8u, this.T.getState())); - q30 = 4; + case 10: + e20 = 1 === Y.readyState ? 20 : 34; break; - } - } - }; - R.prototype.LKa = function (K) { - var r30, - Q, - N; - r30 = 2; - for (; r30 !== 14; ) { - switch (r30) { case 2: - (Q = K.mediaType, N = this.nb.pBb(K)); - r30 = 1; + N = this; + e20 = 1; break; case 1: - r30 = f.ga(N) ? 5 : 4; - break; - case 8: - N = this.me.N; - r30 = 7; + e20 = !f.ya(this.QA) || 0 > this.QA ? 5 : 4; break; case 7: - K.N.cPa(K, { - offset: 0, - rB: !N.Ze.yg && !N.Gi && 1 === Q, - cv: !this.nb.rf[Q].ixb + va = M.Bq; + this.$b.mf && this.$b.mf.Yo(va, this.ul.sessionId); + ta = this.wS.Bfb(pa, P); + pa.forEach(function (Ea, V) { + var f20; + f20 = 2; + for (; f20 !== 1; ) { + switch (f20) { + case 2: + var i0q = "h"; + i0q += "ea"; + i0q += "de"; + i0q += "rs"; + i0q === Ea ? N.uQ = ta[V] : N.ob.rf[Ea].jg = ta[V]; + f20 = 1; + break; + } + } }); - return !0; + e20 = 12; + break; + case 4: + var O0q = "he"; + O0q += "ad"; + O0q += "e"; + O0q += "rs"; + (M = this.I, P = this.pe.N, R = P.K, ea = [], pa = [O0q]); + this.cm && (ea.push(1), pa.push(1)); + this.Dq && (ea.push(0), pa.push(0)); + this.wS.Hgb(); + e20 = 7; + break; + case 20: + var R0q = "cr"; + R0q += "eateMedia"; + R0q += "Sourc"; + R0q += "eEnd"; + this.ub.yl(R0q); + Y.Wb || (Y.Wb = u.Wb); + this.zf = Y; + e20 = 17; break; case 5: - var y8u = "NFEr"; - y8u += "r"; - y8u += "_MC_StreamingInit"; - y8u += "Failure"; - var U8u = "sta"; - U8u += "rtPipeline "; - U8u += "fai"; - U8u += "l"; - U8u += "ed"; - return (this.pm() || this.Mo(U8u, K.ub.N.Db, y8u), !1); + var X0q = "NF"; + X0q += "E"; + X0q += "rr_MC_St"; + X0q += "r"; + X0q += "eamingInitFailure"; + var G0q = "sta"; + G0q += "rtPt"; + G0q += "s must be a "; + G0q += "positive number, not "; + this.No(G0q + this.QA, void 0, X0q); + e20 = 33; break; - case 4: - K = K.track.Qd[N]; - r30 = 3; + case 21: + var D0q = "sta"; + D0q += "rt"; + D0q += "pl"; + D0q += "a"; + D0q += "y"; + var v0q = "logda"; + v0q += "t"; + v0q += "a"; + P = { + type: v0q, + target: D0q, + fields: { + audiogapconfig: M.$L, + audiogapdpi: this.zf.Wb && this.zf.Wb.$L, + aseApiVersion: this.KE + } + }; + this.emit(P.type, P); + e20 = 33; break; - case 3: - r30 = K.pk() ? 9 : 8; + case 16: + var M3q = "E"; + M3q += "rror"; + M3q += ":"; + throw (this.rm(M3q, Y.error), Y.error); + e20 = 15; break; - case 9: - return !0; + case 15: + Y.sourceBuffers.forEach(function (Ea) { + var g20, + V, + U; + g20 = 2; + for (; g20 !== 13; ) { + switch (g20) { + case 3: + var K3q = "e"; + K3q += "r"; + K3q += "r"; + K3q += "o"; + K3q += "r"; + var z3q = "req"; + z3q += "uest"; + z3q += "Appended"; + Ea.addListener(z3q, N.zgb.bind(N)); + Ea.addListener(K3q, function (ma) { + var h20; + h20 = 2; + for (; h20 !== 1; ) { + switch (h20) { + case 2: + var L3q = "NFErr_"; + L3q += "M"; + L3q += "C_S"; + L3q += "treamin"; + L3q += "gFailure"; + N.No(ma.errorstr, void 0, L3q); + h20 = 1; + break; + } + } + }); + g20 = 8; + break; + case 8: + var m3q = "managerdeb"; + m3q += "uge"; + m3q += "vent"; + var W3q = "l"; + W3q += "o"; + W3q += "g"; + W3q += "dat"; + W3q += "a"; + Ea.addListener(W3q, function (ma) { + var i20; + i20 = 2; + for (; i20 !== 1; ) { + switch (i20) { + case 2: + w.Ua(N, ma.type, ma); + i20 = 1; + break; + case 4: + w.Ua(N, ma.type, ma); + i20 = 5; + break; + i20 = 1; + break; + } + } + }); + M.Gh && Ea.addListener(m3q, function (ma) { + var j20; + j20 = 2; + for (; j20 !== 1; ) { + switch (j20) { + case 4: + w.Ua(N, ma.type, ma); + j20 = 3; + break; + j20 = 1; + break; + case 2: + w.Ua(N, ma.type, ma); + j20 = 1; + break; + } + } + }); + N.rg[V] = Ea; + g20 = 14; + break; + case 2: + var C3q = "headerAp"; + C3q += "pen"; + C3q += "ded"; + (V = Ea.mediaType, U = N.ob.rf[V]); + Ea = new n.z9(U.H, V, Y, Ea, M, N.T, void 0, N.Og.bind(N)); + U = new D.mAa(Ea, V, N.Ga, N.I, U.H); + Ea.addListener(C3q, N.wgb.bind(N)); + g20 = 3; + break; + case 14: + N.Iu[V] = U; + g20 = 13; + break; + } + } + }); + this.Vw = new C.wEa(this.Iu, this.CJ.bind(this), this.T.ye.bind(this.T)); + this.kr && this.ub.whb(); + P = this.FTa(); + this.ub.XJa(P); + ra = function () { + var k20; + k20 = 2; + for (; k20 !== 5; ) { + switch (k20) { + case 2: + var s3q = "shutdown detected before sta"; + s3q += "rt"; + s3q += "Requests"; + N.ub.Nhb(); + N.om() ? N.Gb(s3q) : N.rjb(); + k20 = 5; + break; + } + } + }; + M.wtb ? setTimeout(function () { + var l20; + l20 = 2; + for (; l20 !== 1; ) { + switch (l20) { + case 4: + N.vIa(R).then(ra); + l20 = 5; + break; + l20 = 1; + break; + case 2: + N.vIa(R).then(ra); + l20 = 1; + break; + } + } + }, 0) : this.vIa(R).then(function () { + var m20; + m20 = 2; + for (; m20 !== 1; ) { + switch (m20) { + case 2: + setTimeout(ra, 0); + m20 = 1; + break; + } + } + }); + e20 = 21; break; - } - } - }; - v10 = 72; - break; - case 94: - R.prototype.zgb = function (K, Q) { - var v40; - v40 = 2; - for (; v40 !== 5; ) { - switch (v40) { - case 2: - Q = d.HTa(Q); - this.Tba[K.mediaType] = Q; - v40 = 5; + case 34: + var B3q = "N"; + B3q += "FErr_MC_StreamingI"; + B3q += "nitFailure"; + var Z3q = "excepti"; + Z3q += "on"; + Z3q += " in init"; + var u3q = "Err"; + u3q += "o"; + u3q += "r:"; + (this.rm(u3q, Y.error), this.No(Z3q, void 0, B3q)); + e20 = 33; break; } } }; - Object.defineProperties(R.prototype, { - wx: { - set: function (K) { - var w40; - w40 = 2; - for (; w40 !== 1; ) { - switch (w40) { + Object.defineProperties(O.prototype, { + KE: { + get: function () { + var n20; + n20 = 2; + for (; n20 !== 1; ) { + switch (n20) { case 2: - this.nb.wx = K; - w40 = 1; + var A3q = "1"; + A3q += "."; + A3q += "0"; + return A3q; break; } } @@ -78928,1334 +79454,961 @@ a000.D9b = function () { configurable: !0 } }); - return R; - break; - case 39: - R.prototype.stop = function () { - var C20; - C20 = 2; - for (; C20 !== 1; ) { - switch (C20) { - case 4: - this.ji.stop(); - C20 = 2; + O.prototype.fka = function () {}; + O.prototype.flush = function () { + var o20; + o20 = 2; + for (; o20 !== 1; ) { + switch (o20) { + case 2: + this.ji.flush(); + o20 = 1; break; - C20 = 1; + case 4: + this.ji.flush(); + o20 = 8; break; - case 2: - this.ji.stop(); - C20 = 1; + o20 = 1; break; } } }; - R.prototype.nr = function (K, Q) { - var D20; - D20 = 2; - for (; D20 !== 1; ) { - switch (D20) { + O.prototype.paused = function () { + var p20; + p20 = 2; + for (; p20 !== 1; ) { + switch (p20) { case 2: - return this.$m.nr(K, Q); - break; - case 4: - return this.$m.nr(K, Q); - break; - D20 = 1; + this.T.paused(); + p20 = 1; break; } } }; - R.prototype.seek = function (K, Q) { - var E20; - E20 = 2; - for (; E20 !== 1; ) { - switch (E20) { + v10 = 32; + break; + case 48: + O.prototype.F3 = function () { + var U20; + U20 = 2; + for (; U20 !== 1; ) { + switch (U20) { case 2: - return this.$m.seek(K, Q); + return this.T.Sn(this.pe.N); break; } } }; - R.prototype.zr = function (K) { - var F20, - va, - Q, - N, - da, - na, - I20; - F20 = 2; - for (; F20 !== 18; ) { - switch (F20) { - case 3: - this.zda += 1; - va = this.Ga.Cc; - h.cf.forEach(function (ra) { - var H20, - X, - ta, - za, - V; - H20 = 2; - for (; H20 !== 6; ) { - switch (H20) { - case 5: - H20 = N.Gh ? 4 : 9; - break; - case 1: - H20 = ta ? 5 : 6; - break; - case 2: - ta = va.Ed(ra); - H20 = 1; - break; - case 3: - var e8u = ", toA"; - e8u += "pp"; - e8u += "end: "; - var u8u = ", fr"; - u8u += "a"; - u8u += "gme"; - u8u += "n"; - u8u += "ts: "; - var D8u = ", comp"; - D8u += "leteSt"; - D8u += "reamin"; - D8u += "gPts:"; - D8u += " "; - var Q8u = ", "; - Q8u += "stre"; - Q8u += "am"; - Q8u += "ingPts: "; - var r8u = ", part"; - r8u += "i"; - r8u += "als"; - r8u += ":"; - r8u += " "; - var M8u = ", completed"; - M8u += "Bytes"; - M8u += ": "; - var b8u = ", compl"; - b8u += "e"; - b8u += "te"; - b8u += "dMs: "; - var o8u = ", media"; - o8u += "T"; - o8u += "ype"; - o8u += ": "; - var L8u = "un"; - L8u += "d"; - L8u += "e"; - L8u += "rflow: "; - za = L8u + K + o8u + ra + b8u + ta.bK + M8u + V + r8u + ta.Na.sC + Q8u + ta.oc + D8u + ta.rs + u8u + JSON.stringify(ta.Na.Y) + e8u + (za && za.w7()); - H20 = 9; - break; - case 9: - N.Gh && Q.qb.Ul(za); - ta.hga(); - null === (X = ta.Uf) || void 0 === X ? void 0 : X.ZPb(); - H20 = 6; - break; - case 4: - (za = Q.rg[ra], V = Q.Ga.SE(va, ra)); - H20 = 3; - break; - } - } - }); - F20 = 7; + O.prototype.wIa = function (N) { + var V20, + M, + P, + R; + V20 = 2; + for (; V20 !== 11; ) { + switch (V20) { + case 5: + (M = this.Ga.Ec.Dd(0), P = this.Ga.Ec.Dd(1)); + M = !M || M.wh; + R = !P || P.wh; + P = this.sd[N].N; + V20 = 8; break; case 2: - var q8u = "branchO"; - q8u += "ff"; - q8u += "s"; - q8u += "et:"; - var l8u = "entry.manif"; - l8u += "estOff"; - l8u += "set:"; - var j8u = "conte"; - j8u += "ntPt"; - j8u += "s"; - j8u += ":"; - var A8u = "underflow"; - A8u += ": going to BU"; - A8u += "FFERING at player pts"; - A8u += ":"; - (Q = this, N = this.I, da = this.us(this.BV, K)); - this.Eb(A8u, K, j8u, da, l8u, this.me.rv, q8u, this.Ga.Ke); - na = N.Py; - this.rg.forEach(function (ra) { - var G20; - G20 = 2; - for (; G20 !== 1; ) { - switch (G20) { - case 2: - na = Math.max(0, Math.min(na, ra.Sja - K)); - G20 = 1; - break; - } - } - }); - F20 = 3; + V20 = N >= this.sd.length ? 1 : 5; break; - case 12: - F20 = this.Nq ? 11 : 10; + case 1: + return !1; break; - case 11: - try { - I20 = 2; - for (; I20 !== 1; ) { - switch (I20) { - case 4: - this.l2(g.ja.Sc); - I20 = 5; - break; - I20 = 1; - break; - case 2: - this.l2(g.ja.Sc); - I20 = 1; - break; - } - } - } catch (ra) { - var G8u = "Hind"; - G8u += "sight: Error when evaluat"; - G8u += "ing QoE at B"; - G8u += "uffering: "; - a000.D9b(2); - this.qb.Pm(a000.Q9b(G8u, ra)); - } - F20 = 10; + case 12: + return (!this.Dq || N && N.stream.Ae) && M ? !0 : !1; break; - case 19: - na > N.vwb && da > N.uwb && this.Lda(); - F20 = 18; + case 8: + V20 = !(N === this.sJ + 1 && P.$e.replace || M && R) || !this.T.Sn(P) ? 7 : 6; break; case 7: - var Y8u = "u"; - Y8u += "nder"; - Y8u += "f"; - Y8u += "lo"; - Y8u += "w"; - this.me.N.Ij(); - this.emit(Y8u); - this.d0(2); - F20 = 13; - break; - case 13: - this.Mf.uj(); - F20 = 12; + return !1; break; - case 10: - da = this.Yb.Jb.get(); - da = da.confidence ? da.Oa.Ea : 0; - F20 = 19; + case 6: + N = P.Qg[0]; + M = P.Qg[1]; + M = !this.cm || M && M.stream.Ae; + V20 = 12; break; } } }; - R.prototype.dn = function (K) { - var J20; - J20 = 2; - for (; J20 !== 1; ) { - switch (J20) { + O.prototype.r0 = function () { + var W20; + W20 = 2; + for (; W20 !== 1; ) { + switch (W20) { case 4: - return this.$m.dn(K); + this.q0(this.sJ * 4); + W20 = 5; break; - J20 = 1; + W20 = 1; break; case 2: - return this.$m.dn(K); + this.q0(this.sJ + 1); + W20 = 1; break; } } }; - R.prototype.ns = function (K, Q, N) { - var K20; - K20 = 2; - for (; K20 !== 1; ) { - switch (K20) { + O.prototype.q0 = function (N) { + var X20, + M; + X20 = 2; + for (; X20 !== 6; ) { + switch (X20) { case 4: - return this.$m.ns(K, Q, N); + X20 = M.ywb || !M.N.$e.replace ? 3 : 9; break; - K20 = 1; + case 1: + return !1; break; case 2: - return this.$m.ns(K, Q, N); + X20 = !this.wIa(N) ? 1 : 5; break; - } - } - }; - R.prototype.HJa = function (K) { - var L20, - Q; - L20 = 2; - for (; L20 !== 3; ) { - switch (L20) { - case 2: - this.qJ = K; - Q = this.rd[K]; - this.qb.Khb(K, Q); - this.qb.ZJa(Q.N.vv); - L20 = 3; + case 5: + M = this.sd[N]; + X20 = 4; + break; + case 3: + return !1; + break; + case 9: + this.yjb(N); + this.Nf.rj(); + return !0; break; } } }; - R.prototype.FE = function (K, Q) { - var M20, - na, - va, - N, - da, - X, - ta, - za, - ra; - M20 = 2; - for (; M20 !== 35; ) { - switch (M20) { - case 4: - Q || (Q = {}); - (na = this.Ga.Cc.Ed(0), va = this.Ga.Cc.Ed(1)); - M20 = 9; - break; - case 15: - this.rd[na] && this.rd[na].Ic(); - this.rd[na] = K; - K.yNa(); - Q.replace || this.Ga.Ekb(X, va, ra); - M20 = 24; - break; + O.prototype.yjb = function (N) { + var Y20, + M, + P, + R, + ea, + pa, + va; + Y20 = 2; + for (; Y20 !== 20; ) { + switch (Y20) { case 2: - (N = this, da = this.I); - M20 = 1; - break; - case 8: - var m8u = "a"; - m8u += "ddMan"; - m8u += "ifest ignored, pipelines already set EOS:"; - this.Eb(m8u, na.fq, va.fq); - M20 = 35; + (M = this.sd[N], P = this.I, R = this.Ga.Ec, ea = R.Sa(0)); + ea = ea ? ea.tc : void 0; + pa = R.Sa(1); + pa = pa ? pa.tc : void 0; + Y20 = 3; break; - case 18: - var O8u = "b"; - O8u += "oo"; - O8u += "le"; - O8u += "an"; - Q.replace && ta.forEach(function (V, T) { - var N20, - ja, - Ia; - N20 = 2; - for (; N20 !== 3; ) { - switch (N20) { - case 2: - ja = X.BF(T); - N20 = 1; - break; - case 8: - ja = X.BF(T); - N20 = 8; - break; - N20 = 1; - break; - case 1: - N20 = ja ? 5 : 3; - break; - case 5: - Ia = N.rd[0].N; - Object.keys(ja).forEach(function (wa) { - var O20, - Sa; - O20 = 2; - for (; O20 !== 5; ) { - switch (O20) { - case 2: - Sa = Ia.jv(T, wa); - Sa && Sa.ye && (ja[wa].w1(Sa), wa = X.vv, wa[T] > za[T] && (za[T] = wa[T])); - O20 = 5; - break; - } - } - }); - N20 = 3; - break; - } - } - }); - ta.forEach(function (V, T) { - var P20, - ja; - P20 = 2; - for (; P20 !== 5; ) { - switch (P20) { + case 3: + var t3q = ","; + t3q += " "; + var H3q = ", stre"; + H3q += "aming"; + H3q += "Pts"; + H3q += ":"; + H3q += " "; + var q3q = "switchM"; + q3q += "anifes"; + q3q += "t"; + q3q += " manifest"; + q3q += "Index: "; + P.Gh && this.ub.Tl(q3q + N + H3q + ea + t3q + pa); + P = this.pe; + ea = P.N.$e.Ng; + va = []; + [1, 0].forEach(function (ta) { + var Z20; + Z20 = 2; + for (; Z20 !== 1; ) { + switch (Z20) { case 2: - ja = X.BF(T); - ja && Object.keys(ja).forEach(function (Ia) { - var Q20; - Q20 = 2; - for (; Q20 !== 1; ) { - switch (Q20) { - case 2: - ja[Ia].R5a(u.default.Mn()[T], X.zy() ? da.nYa : 0); - Q20 = 1; - break; - } - } - }); - P20 = 5; + M.N.Yb(ta) && (va[ta] = M.qp(ta)); + Z20 = 1; break; } } }); - K.nR = O8u === typeof Q.gmb ? Q.gmb : !0; - M20 = 15; - break; - case 1: - M20 = this.pm() ? 5 : 4; + ea ? this.Ga.XPb(P.N, M.N, va) : R.q3a(M.N, va); + Y20 = 13; break; case 10: - var W8u = "video_"; - W8u += "trac"; - W8u += "ks"; - var E8u = "au"; - E8u += "d"; - E8u += "io"; - E8u += "_track"; - E8u += "s"; - X = K.N; - (Q.YMa || this.oIa) && this.nb.Qp(Q.YMa || this.oIa, X.da); - (ta = [E8u, W8u], za = this.ETa()); - M20 = 18; + this.Nf.rj(); + Y20 = 20; break; - case 7: - var J8u = "addMan"; - J8u += "ifest in fastplay "; - J8u += "but not drm mani"; - J8u += "fest, leaving space f"; - J8u += "or it"; - Q.DM && (this.N_ = !0); - na = this.rd.length; - Q.replace && 1 !== na ? na = 1 : this.me.N.Ze.yg && !Q.replace && 1 === na && (this.Eb(J8u), na = this.rd[0].clone(), this.rd.push(na), na = this.rd.length); - va = Q.Z || 0; - ra = Q.Aa; - K = l.$$.create({ - Db: na, - sa: K, - bo: void 0, - E2a: Q.PN || [this.me.U2(0), this.me.U2(1)], - yg: !1, - pWa: !!Q.replace, - Gi: !!Q.Gi, - Fd: h.o5(!!Q.vR, !!Q.UC), - Z: va, - Aa: ra, - qb: this.qb, - Sq: this.jJa.bind(this), - Nb: this, - config: this.I, - H: this.H, - Mf: this.Mf, - $m: this.$m, - mf: this.bLa ? this.Yb.mf : void 0, - LB: this.LB - }); - M20 = 10; + case 13: + this.FJa(N); + M.noa(); + this.Zm.tca(); + Y20 = 10; break; - case 23: - var p8u = ","; - p8u += " "; - var t8u = ") lastSt"; - t8u += "ream"; - t8u += "A"; - t8u += "ppe"; - t8u += "nded: ("; - var h8u = ","; - h8u += " "; - var c8u = " "; - c8u += "stream"; - c8u += "Co"; - c8u += "u"; - c8u += "nt: ("; - var n8u = " play"; - n8u += "e"; - n8u += "r"; - n8u += "Sta"; - n8u += "te: "; - var I8u = "addM"; - I8u += "ani"; - I8u += "fest, currentPts: "; - na = this.nb.yv[1].SF; - da.Gh && this.qb.Ul(I8u + this.T.xe() + n8u + this.T.getState() + c8u + K.pp(0).Qd.length + h8u + K.pp(1).Qd.length + t8u + Q + p8u + na + ")"); - this.Bq && f.ga(Q) || this.em && f.ga(na) || (K.N.YM([K.pp(0), K.pp(1)]), this.p0()); - M20 = 35; + } + } + }; + O.prototype.TZa = function () { + var a30, + N, + M, + P, + R; + a30 = 2; + for (; a30 !== 6; ) { + switch (a30) { + case 2: + (N = this.Ga.Ec, M = N.Sa(0)); + a30 = 1; + break; + case 1: + a30 = M ? 5 : 7; break; case 5: - var k8u = "addM"; - k8u += "anife"; - k8u += "st: pip"; - k8u += "elines already shutdown"; - this.Eb(k8u); - M20 = 35; + (P = this.T.ye(), R = this.ob.rf[M.mediaType]); + a30 = 4; break; - case 9: - M20 = !Q.m5b && (this.Bq && na.fq || this.em && va.fq) ? 8 : 7; + case 4: + var F3q = "onAudioTrackSwitchSt"; + F3q += "a"; + F3q += "rted but "; + F3q += "current playing request not found"; + (N = this.Ga.Is(P, N, 0)) ? M = N.Na : (this.Gb(F3q), M = M.Na); + this.Aib(M); + R.ZN = !1; + this.Nf.rj(); + a30 = 6; break; - case 24: - Q = this.nb.yv[0].SF; - M20 = 23; + case 7: + var b3q = "onAudioTrackSwit"; + b3q += "chStarted ignored, no "; + b3q += "audio pipeline"; + this.Gb(b3q); + a30 = 6; break; } } }; - R.prototype.gR = function (K) { - var R20; - R20 = 2; - for (; R20 !== 1; ) { - switch (R20) { + O.prototype.X7 = function (N) { + var b30, + M, + P, + R, + ea, + pa; + b30 = 2; + for (; b30 !== 35; ) { + switch (b30) { + case 27: + b30 = pa === ea.trackId ? 26 : 25; + break; + case 20: + var y3q = "switchTracks rejected,"; + y3q += " bufferLe"; + y3q += "velMs"; + return (this.Gb(y3q, ea, "<", M.t5), !1); + break; + case 10: + b30 = ea < M.t5 ? 20 : 19; + break; case 2: - return this.$m.gR(K); + M = this.I; + b30 = 1; + break; + case 3: + var k3q = "switchTracks reje"; + k3q += "cted, previous"; + k3q += " switch still in "; + k3q += "progress: "; + return (this.Gb(k3q + JSON.stringify(this.ob.Bx)), !1); + break; + case 16: + var e3q = "switchTracks can't find "; + e3q += "trackId"; + e3q += ":"; + return (this.Gb(e3q, N), !1); + break; + case 7: + P = this.ob.rf[0]; + b30 = 6; + break; + case 13: + R = this.Ga.Ec; + b30 = 12; + break; + case 1: + b30 = !this.Dq ? 5 : 4; + break; + case 11: + ea = this.Ga.Wu(R, 1); + b30 = 10; + break; + case 12: + b30 = this.T.getState() === g.ka.Ac ? 11 : 19; + break; + case 9: + b30 = this.T.Qf() ? 8 : 7; break; case 4: - return this.$m.gR(K); + b30 = this.ob.Bx ? 3 : 9; break; - R20 = 1; + case 8: + var h3q = "switchTracks rejected, "; + h3q += "b"; + h3q += "ufferin"; + h3q += "g"; + return (this.Gb(h3q), !1); break; - } - } - }; - R.prototype.Yx = function (K) { - var S20, - na, - va, - Q, - N, - da; - S20 = 2; - for (; S20 !== 7; ) { - switch (S20) { case 5: - var R8u = " read"; - R8u += "y"; - R8u += "S"; - R8u += "tate"; - R8u += ": "; - var v8u = " for mov"; - v8u += "ieId"; - v8u += ": "; - var z8u = ","; - z8u += " "; - var S8u = "drmR"; - S8u += "eady at streaming pt"; - S8u += "s: "; - f.ga(Q) && (Q = !0); - (na = this.Ga.Cc.Ed(0), va = this.Ga.Cc.Ed(1)); - da.Gh && this.qb.Ul(S8u + (na ? na.oc : null) + z8u + (va ? va.oc : null) + v8u + K + R8u + Q); - S20 = 9; + var f3q = "s"; + f3q += "witchTracks re"; + f3q += "jected, audio disa"; + f3q += "bled"; + return (this.Gb(f3q), !1); break; - case 9: - var f8u = "d"; - f8u += "rm"; - f8u += "Ready"; - a000.D9b(2); - this.T.qW(a000.r9b(K, ""), Q); - Q && (this.rg.forEach(function (ra) { - var T20; - T20 = 2; - for (; T20 !== 5; ) { - switch (T20) { - case 2: - da.C2 && ra.YRa(); - ra.Yx(); - T20 = 5; - break; - } - } - }), da.P8 && this.RQ(), this.me.N.Ze.yg && this.o0(this.$m.GA ? this.$m.GA.Db : this.qJ + 1), da.Aq || (null === (N = this.bh) || void 0 === N ? 0 : N.IB()) || this.Ow.UA || this.YQ(f8u), this.$m.zca()); - S20 = 7; + case 26: + return !1; break; - case 1: - S20 = !this.pm() ? 5 : 7; + case 21: + return !0; break; - case 2: - da = this.I; - S20 = 1; + case 19: + N = N.ME; + ea = this.pe.N.getTrackById(N); + b30 = 17; + break; + case 17: + b30 = !ea ? 16 : 15; + break; + case 15: + pa = this.pe.qp(0).trackId; + b30 = 27; + break; + case 6: + b30 = P.ZN ? 14 : 13; + break; + case 25: + var x3q = " "; + x3q += "t"; + x3q += "o"; + x3q += ":"; + x3q += " "; + var E3q = "swi"; + E3q += "tc"; + E3q += "hTracks current:"; + E3q += " "; + M.Gh && this.ub.Tl(E3q + pa + x3q + ea.trackId); + P.M5 = { + trackId: N + }; + M = R.Sa(0); + this.qjb(M); + b30 = 21; + break; + case 14: + var n3q = "switchTracks r"; + n3q += "ejected, previous switch still waitin"; + n3q += "g to start"; + return (this.Gb(n3q), !1); break; } } }; - v10 = 48; - break; - case 72: - R.prototype.d0 = function (K, Q) { - var s30, - N, - da, - na, - va, - ra; - s30 = 2; - for (; s30 !== 19; ) { - switch (s30) { + O.prototype.Tp = function (N, M) { + var c30; + c30 = 2; + for (; c30 !== 1; ) { + switch (c30) { case 2: - (N = this, da = this.I, na = this.nb.rf[0] || ({}), va = this.nb.rf[1] || ({}), ra = this.nb.wz[1] || ({})); - (this.nb.wz[0] || ({})).LR = void 0; - ra.LR = void 0; - this.T.Ce(2 === K ? g.ja.ef : g.ja.Sc); - s30 = 3; + this.ob.Tp(N, M); + c30 = 1; break; - case 3: - this.qb.Ahb(Q); - this.Qw.reset(); - this.me.N.Poa(); - s30 = 7; + } + } + }; + O.prototype.Is = function (N, M, P) { + var d30; + d30 = 2; + for (; d30 !== 1; ) { + switch (d30) { + case 2: + return this.Ga.Is(N, this.Ga.Lh, M, P); break; - case 7: - var H8u = "sta"; - H8u += "rtB"; - H8u += "uffer"; - H8u += "i"; - H8u += "ng"; - this.emit(H8u); - h.cf.forEach(function (X) { - var t30; - t30 = 2; - for (; t30 !== 5; ) { - switch (t30) { - case 2: - t30 = (X = N.Ga.Cc.Ed(X)) ? 1 : 5; - break; - case 1: - (X.yfa = 0, X.seeking = 0 === K || 1 === K, X.hga()); - t30 = 5; - break; - } - } - }); - this.Zba = u.default.time.aa(); - s30 = 13; + } + } + }; + O.prototype.bi = function (N) { + var e30; + e30 = 2; + for (; e30 !== 1; ) { + switch (e30) { + case 2: + return this.Zm.bi(N); break; - case 10: - this.T.Pf() && (this.RI = setTimeout(function () { - var v30; - v30 = 2; - for (; v30 !== 1; ) { - switch (v30) { - case 2: - N.nb.Rw(); - v30 = 1; - break; - } - } - }, da.$y)); - this.Mf.uj(); - s30 = 19; + case 4: + return this.Zm.bi(N); break; - case 13: - na.Tk = va.Tk = this.Zba; - 0 === K && (!this.em || 0 < va.ut) && (!this.Bq || 0 < na.ut) && this.nb.Rw(); - da.JS && (this.tca = setTimeout(function () { - var u30; - u30 = 2; - for (; u30 !== 1; ) { - switch (u30) { - case 2: - N.Qib(); - u30 = 1; - break; - case 4: - N.Qib(); - u30 = 2; - break; - u30 = 1; - break; - } - } - }, da.Wha)); - s30 = 10; + e30 = 1; break; } } }; - R.prototype.YQ = function (K) { - var w30, - Q; - w30 = 2; - for (; w30 !== 3; ) { - switch (w30) { + v10 = 59; + break; + case 94: + O.prototype.Agb = function (N, M) { + var v40; + v40 = 2; + for (; v40 !== 5; ) { + switch (v40) { case 2: - var Z8u = "Adoptin"; - Z8u += "gData still has lo"; - Z8u += "ck:"; - var C8u = "wi"; - C8u += "p"; - C8u += "eHeader"; - C8u += "Cach"; - C8u += "e:"; - a000.D9b(2); - K = a000.r9b(C8u, K); - this.Ow.UA && this.$j(Z8u + K); - Q = this.I; - Q.hG || (Q.Gh && this.qb.Ul(K), this.Yb.Dx(), this.bh && (this.bh = void 0)); - w30 = 3; + M = d.JTa(M); + this.Nba[N.mediaType] = M; + v40 = 5; break; } } }; - R.prototype.xIa = function (K) { - var x30, - va, - N, - da, - na; - x30 = 2; - function Q(ra, X) { - var y30, - ta, - za, - V, - T, - ja, - Ia, - wa; - y30 = 2; - for (; y30 !== 10; ) { - switch (y30) { - case 2: - (ta = ra.mediaType, za = X[ta], V = t.resolve(void 0)); - y30 = 1; - break; - case 14: - var X8u = "ad"; - X8u += "optPipeline no h"; - X8u += "eader for str"; - X8u += "e"; - X8u += "amId:"; - return (ra.$j(X8u, T), V); - break; - case 5: - (T = za.La, ja = za.header.stream, Ia = N.nb.rf[ta], wa = N.nb.wz[ta]); - f.ga(X.MB) || N.Yf.a3a(X.MB, X.On, X.Pn); - wa.xy = X.xy; - wa.dv = X.dv; - y30 = 8; - break; - case 8: - y30 = !ra.GXb(T) ? 7 : 6; - break; - case 7: - return V; - break; - case 1: - y30 = za ? 5 : 11; - break; - case 6: - y30 = !za.header ? 14 : 13; - break; - case 13: - X = N.me.N; - y30 = 12; - break; - case 11: - return V; - break; - case 12: - X.u0(za.header, !X.Ze.yg && !X.Gi && 1 === ta, !0) && (void 0 !== ra.qG && ra.UG(ra.qG), V = X.pk(ta, T).stream.Y.Gm(ra.oc, void 0, !0), X = ja.nk(V), ja = X.Z, (X = X.Mia(ra.oc)) && 0 < X.od && (ja = X.od), ra.oc !== ja && (ra.qN(ja, V), N.Ida(ta, ja)), V = N.Neb(ra, za.data).then(function () { - var z30; - z30 = 2; - for (; z30 !== 1; ) { - switch (z30) { - case 2: - return T; - break; - } - } - }), Ia.ixb = !0, 0 === ta && N.Yf.nN(za.header.bitrate)); - y30 = 11; - break; + Object.defineProperties(O.prototype, { + Bx: { + set: function (N) { + var w40; + w40 = 2; + for (; w40 !== 1; ) { + switch (w40) { + case 2: + this.ob.Bx = N; + w40 = 1; + break; + } } - } + }, + enumerable: !1, + configurable: !0 } - for (; x30 !== 13; ) { - switch (x30) { - case 14: - return this.Yb.mf.kHb(K, va ? va.N : void 0).then(function (ra) { - var B30, - X, - ta; - B30 = 2; - for (; B30 !== 8; ) { - switch (B30) { - case 2: - var a8u = "che"; - a8u += "ck"; - a8u += "ForHcd"; - a8u += "End"; - N.qb.zl(a8u); - B30 = 1; - break; - case 1: - B30 = f.ga(ra) ? 5 : 4; - break; - case 4: - var w8u = "adoptHc"; - w8u += "dSt"; - w8u += "a"; - w8u += "r"; - w8u += "t"; - (X = N.Ga.Cc.Ed(0), ta = N.Ga.Cc.Ed(1)); - N.qb.zl(w8u); - return N.Ow.V6a(function () { - var C30, - za, - V; - C30 = 2; - for (; C30 !== 7; ) { - switch (C30) { - case 2: - var P8u = "adop"; - P8u += "t"; - P8u += "Hc"; - P8u += "dEnd"; - za = t.resolve(); - N.em && (za = Q(ta, ra)); - V = t.resolve(); - !N.Bq || na.gVa && !za || (V = na.gVa ? za.then(function (T) { - var D30; - D30 = 2; - for (; D30 !== 1; ) { - switch (D30) { - case 2: - return T ? Q(X, ra) : t.resolve(); - break; - } - } - }) : Q(X, ra)); - N.mJa = ra; - N.qb.zl(P8u); - C30 = 8; - break; - case 8: - return t.all([za, V]); - break; - } - } - }); - break; - case 5: - var d8u = "he"; - d8u += "ad"; - d8u += "erCacheDataNotFound"; - return (na.Aq || N.Ow.UA || N.YQ(d8u), t.resolve()); - break; - } - } - }).then(function () { - var E30, - ra; - E30 = 2; - for (; E30 !== 5; ) { - switch (E30) { + }); + return O; + break; + case 32: + O.prototype.tpa = function () {}; + O.prototype.close = function () { + var q20; + q20 = 2; + for (; q20 !== 4; ) { + switch (q20) { + case 2: + this.P2a.zb(); + this.sd.forEach(function (N) { + var r20; + r20 = 2; + for (; r20 !== 1; ) { + switch (r20) { case 2: - var V8u = "adopt"; - V8u += "edCompletedRequ"; - V8u += "ests"; - na.Aq || (null === (ra = N.bh) || void 0 === ra ? 0 : ra.IB()) || N.Ow.UA || !N.T.Qn(N.me.N) || N.YQ(V8u); - E30 = 5; + N.close(); + r20 = 1; break; - } - } - }).catch(function (ra) { - var F30; - F30 = 2; - for (; F30 !== 1; ) { - switch (F30) { case 4: - N.Eb("", ra); - F30 = 2; - break; - F30 = 1; - break; - case 2: - var K8u = "headerCache:lo"; - K8u += "o"; - K8u += "kupDataPromise caught error:"; - N.Eb(K8u, ra); - F30 = 1; + N.close(); + r20 = 0; break; - } - } - }); - break; - case 8: - var g8u = "checkForHc"; - g8u += "dSta"; - g8u += "r"; - g8u += "t"; - this.qb.zl(g8u); - this.rd.forEach(function (ra) { - var A30; - A30 = 2; - for (; A30 !== 1; ) { - switch (A30) { - case 2: - ra.N.K === K && (va = ra); - A30 = 1; + r20 = 1; break; } } }); - x30 = 14; - break; - case 3: - x30 = !this.Kjb || !this.Yb.mf ? 9 : 8; - break; - case 2: - var N8u = "Previously adopted request list still ret"; - N8u += "a"; - N8u += "ined was unexpec"; - N8u += "ted"; - N = this; - (null === (da = this.bh) || void 0 === da ? 0 : da.IB()) && this.$j(N8u); - this.bh = void 0; - na = this.I; - x30 = 3; - break; - case 9: - return (this.Yb.Gfa(), t.resolve()); + this.ji.close(); + q20 = 4; break; } } }; - R.prototype.Neb = function (K, Q) { - var G30, - N, - da, - na, - va, - ra, - X, - ta; - G30 = 2; - for (; G30 !== 9; ) { - switch (G30) { - case 7: - N = this; - G30 = 3; - break; - G30 = 1; - break; + O.prototype.E1a = function () { + var s20; + s20 = 2; + for (; s20 !== 1; ) { + switch (s20) { case 2: - N = this; - G30 = 1; + this.$b.Nib(this); + s20 = 1; break; - case 1: - G30 = 0 === Q.length ? 5 : 4; + case 4: + this.$b.Nib(this); + s20 = 7; break; - case 5: - return t.resolve(); + s20 = 1; break; - case 14: - return t.resolve(); + } + } + }; + O.prototype.Kc = function () { + var t20, + N; + t20 = 2; + for (; t20 !== 20; ) { + switch (t20) { + case 5: + this.ZZ(); + this.Ga.zb(); + this.wS.Nfb(); + null === (N = this.Vw) || void 0 === N ? void 0 : N.reset(); + t20 = 8; break; - G30 = 4; + case 2: + this.Yf.DKb(); + t20 = 5; break; - case 4: - (da = K.P4, na = da.P, va = Math.min(this.rd[0].Aa || Infinity, da.pc || Infinity), ra = K.mediaType, X = this.nb.rf[ra]); - return this.Ow.V6a(function () { - function za() { - var I30, - T; - I30 = 2; - for (; I30 !== 5; ) { - switch (I30) { - case 2: - T = Q.shift(); - I30 = 1; - break; - case 3: - T = Q.shift(); - I30 = 9; - break; - I30 = 1; - break; - case 1: - var x8u = "adoptData, not ado"; - x8u += "p"; - x8u += "ting failed medi"; - x8u += "aR"; - x8u += "equest:"; - var T8u = "adoptData"; - T8u += ", no"; - T8u += "t ad"; - T8u += "opting aborted medi"; - T8u += "aRequest:"; - 7 === T.readyState ? K.Eb(T8u, T.toString()) : 6 === T.readyState ? (K.Eb(x8u, T.toString()), N.DE(T, !1)) : K.oc >= T.Jc && K.oc < T.pc && (K.oc < va || !f.xa(va)) ? (V.push(N.Oeb(K, T).then(function () { - var J30; - J30 = 2; - for (; J30 !== 1; ) { - switch (J30) { - case 2: - T.complete && N.PUa(T); - J30 = 1; - break; - } - } - })), K.cSb(T.pc), f.xa(va) && K.oc >= va && N.qb.lda(na, T.pc), 0 === ra && N.Yf.nN(T.bitrate), T.complete ? (X.ut += T.duration, T.SGb && (X.zV += T.duration), ta = T) : (N.bh || (N.bh = new F.Fua(N.H)), N.bh.push(T))) : N.DE(T, !1); - I30 = 5; - break; - } - } - } - var H30, - V; - H30 = 2; - for (; H30 !== 3; ) { - switch (H30) { - case 1: - H30 = 0 < Q.length ? 5 : 4; - break; + case 8: + this.Iu.forEach(function (M) { + var u20; + u20 = 2; + for (; u20 !== 1; ) { + switch (u20) { case 2: - V = []; - H30 = 1; - break; - case 7: - H30 = 4 <= Q.length ? 0 : 9; - break; - H30 = 0 < Q.length ? 5 : 4; - break; - case 5: - za(); - H30 = 1; - break; - case 6: - za(); - H30 = 4; - break; - H30 = 1; - break; - case 4: - return t.all(V); + M.reset(); + u20 = 1; break; } } - }).then(function () { - var K30, - za, - V; - K30 = 2; - for (; K30 !== 8; ) { - switch (K30) { - case 5: - K30 = ta || (null === (za = N.bh) || void 0 === za ? 0 : za.IB()) ? 4 : 8; - break; + }); + this.T.Ee(g.ka.zi); + this.sd.forEach(function (M) { + var v20; + v20 = 2; + for (; v20 !== 1; ) { + switch (v20) { case 2: - ta && K.QUa(ta); - K30 = 5; - break; - case 4: - za = N.rd[da.N.Db]; - V = K.Gia(K.oc); - void 0 !== V ? (K.Zn = V, K.Vd = za.N.Rg[ra].stream.nk(K.Zn)) : K.Zn = K.nf ? K.nf.index + 1 : K.Zn + 1; - K30 = 8; + M.Kc(); + v20 = 1; break; } } }); + this.sd = []; + this.Yh.clear(); + t20 = 12; + break; + case 12: + var p3q = "Error on Medi"; + p3q += "aSour"; + p3q += "ce destroy: "; + N = this.zf; + this.zf = void 0; + f.fa(N) || N.hp() || this.Gb(p3q, N.error); + t20 = 20; break; } } }; - R.prototype.Oeb = function (K, Q) { - var L30, - N, - da; - L30 = 2; - for (; L30 !== 3; ) { - switch (L30) { + O.prototype.suspend = function () { + var w20; + w20 = 2; + for (; w20 !== 1; ) { + switch (w20) { case 2: - var i8u = ", "; - i8u += "pt"; - i8u += "s"; - i8u += ":"; - i8u += " "; - var s8u = ","; - s8u += " s"; - s8u += "tate: "; - var B8u = "adoptMediaReq"; - B8u += "ue"; - B8u += "st"; - B8u += ": type: "; - (N = this, da = K.mediaType); - this.I.Gh && this.qb.Ul(B8u + da + s8u + Q.readyState + i8u + Q.Jc); - this.Ida(da, Q.Jc); - L30 = 4; + this.ji.suspend(); + w20 = 1; break; case 4: - return K.Na.Xkb(Q).catch(function (na) { - var M30; - M30 = 2; - for (; M30 !== 1; ) { - switch (M30) { - case 4: - N.$j("", na); - M30 = 8; - break; - M30 = 1; - break; - case 2: - var F3u = "E"; - F3u += "rr"; - F3u += "or adopting re"; - F3u += "quests"; - N.$j(F3u, na); - M30 = 1; - break; - } - } - }); + this.ji.suspend(); + w20 = 5; + break; + w20 = 1; break; } } }; - R.prototype.Eda = function (K, Q, N) { - var N30, - da; - N30 = 2; - for (; N30 !== 9; ) { - switch (N30) { - case 7: - da = this; - N30 = 0; + O.prototype.resume = function () { + var x20; + x20 = 2; + for (; x20 !== 1; ) { + switch (x20) { + case 2: + this.ji.resume(); + x20 = 1; + break; + } + } + }; + O.prototype.om = function () { + var y20; + y20 = 2; + for (; y20 !== 1; ) { + switch (y20) { + case 4: + return this.ji.om(); break; - N30 = 1; + y20 = 1; break; case 2: - da = this; - N30 = 1; + return this.ji.om(); break; - case 1: - void 0 === Q && (Q = D.IP.hfa); - (N || this.Ga.Cc).bra(K, Q); - this.Qw.reset(); - (void 0 === K ? h.cf : [K]).forEach(function (na) { - var O30; - O30 = 2; - for (; O30 !== 1; ) { - switch (O30) { - case 2: - da.Vb(na) && (da.Du[na].reset(), da.Zib(na), da.Yf.PKb(na)); - O30 = 1; - break; - } - } - }); - N30 = 9; + } + } + }; + O.prototype.mjb = function () { + var z20, + N; + z20 = 2; + for (; z20 !== 8; ) { + switch (z20) { + case 2: + N = this.I; + this.SA && clearTimeout(this.SA); + this.SA = setTimeout(this.aR.bind(this), N.x8); + this.Uw || (this.Uw = setInterval(this.ub.VJa.bind(this.ub), N.YJ)); + this.k0 || (this.k0 = setInterval(this.ub.Whb.bind(this.ub), N.Fsa)); + this.kr && !this.RZ && (this.RZ = setInterval(this.ub.UJa.bind(this.ub), N.G0)); + z20 = 8; break; } } }; - R.prototype.Bsa = function () { - var P30, - K; - P30 = 2; - for (; P30 !== 5; ) { - switch (P30) { + O.prototype.ZZ = function () { + var A20; + A20 = 2; + for (; A20 !== 7; ) { + switch (A20) { case 2: - K = this; - h.cf.forEach(function (Q) { - var Q30, - N; - Q30 = 2; - for (; Q30 !== 5; ) { - switch (Q30) { - case 2: - null === (N = K.Du[Q]) || void 0 === N ? void 0 : N.stop(); - Q30 = 5; - break; - } + this.SA && (clearTimeout(this.SA), this.SA = void 0); + this.Uw && (clearInterval(this.Uw), this.Uw = void 0); + this.k0 && (clearInterval(this.k0), this.k0 = void 0); + this.RZ && (clearInterval(this.RZ), this.RZ = void 0); + A20 = 3; + break; + case 3: + this.VI && (clearTimeout(this.VI), this.VI = void 0); + this.nca && (clearTimeout(this.nca), this.nca = void 0); + this.Nf.ZZ(); + A20 = 7; + break; + } + } + }; + O.prototype.play = function () { + var B20; + B20 = 2; + for (; B20 !== 1; ) { + switch (B20) { + case 2: + this.ji.play(); + B20 = 1; + break; + } + } + }; + v10 = 39; + break; + case 13: + Object.defineProperties(O.prototype, { + Qt: { + get: function () { + var L10; + L10 = 2; + for (; L10 !== 1; ) { + switch (L10) { + case 2: + return this.$b.Qt; + break; + case 4: + return this.$b.Qt; + break; + L10 = 1; + break; } - }); - P30 = 5; + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + kr: { + get: function () { + var M10; + M10 = 2; + for (; M10 !== 1; ) { + switch (M10) { + case 4: + return this.Vib; + break; + M10 = 1; + break; + case 2: + return this.Vib; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + sU: { + get: function () { + var N10; + N10 = 2; + for (; N10 !== 1; ) { + switch (N10) { + case 4: + return this.rJ; + break; + N10 = 1; + break; + case 2: + return this.rJ; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(O.prototype, { + EM: { + get: function () { + var O10; + O10 = 2; + for (; O10 !== 1; ) { + switch (O10) { + case 4: + return this.Q_; + break; + O10 = 1; + break; + case 2: + return this.Q_; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + O.prototype.Yb = function (N) { + var P10; + P10 = 2; + for (; P10 !== 1; ) { + switch (P10) { + case 2: + return this.xjb[N]; break; } } }; - R.prototype.aH = function (K) { - var R30, - Q; - R30 = 2; - for (; R30 !== 4; ) { - switch (R30) { + O.prototype.fT = function () { + var Q10; + Q10 = 2; + for (; Q10 !== 1; ) { + switch (Q10) { + case 4: + return t.default.time.ba() * this.Tba; + break; + Q10 = 1; + break; case 2: - Q = this; - (void 0 === K ? h.cf : [K]).forEach(function (N) { - var S30, - da; - S30 = 2; - for (; S30 !== 5; ) { - switch (S30) { + return t.default.time.ba() - this.Tba; + break; + } + } + }; + O.prototype.FTa = function () { + var R10; + R10 = 2; + for (; R10 !== 1; ) { + switch (R10) { + case 2: + return (this.sd || []).reduce(function (N, M) { + var S10, + P; + S10 = 2; + for (; S10 !== 4; ) { + switch (S10) { case 2: - null === (da = Q.Du[N]) || void 0 === da ? void 0 : da.resume(); - S30 = 5; + P = M.N; + h.cf.forEach(function (R) { + var T10; + T10 = 2; + for (; T10 !== 1; ) { + switch (T10) { + case 2: + P.Bv[R] > N[R] && (N[R] = P.Bv[R]); + T10 = 1; + break; + } + } + }); + return N; break; } } - }); - return t.resolve(); + }, [0, 0]); break; } } }; - R.prototype.RQ = function (K) { - var T30, - Q, + O.prototype.RL = function () { + var U10, N; - T30 = 2; - for (; T30 !== 3; ) { - switch (T30) { + U10 = 2; + for (; U10 !== 4; ) { + switch (U10) { case 2: - Q = this; - K = void 0 === K ? h.cf : [K]; - null === (N = this.Qw) || void 0 === N ? void 0 : N.reset(); - K.forEach(function (da) { - var U30, - na; - U30 = 2; - for (; U30 !== 5; ) { - switch (U30) { + N = 0; + f.forEach(this.pe.N.sa.audio_tracks, function (M) { + var V10; + V10 = 2; + for (; V10 !== 1; ) { + switch (V10) { case 2: - null === (na = Q.Du[da]) || void 0 === na ? void 0 : na.resume(); - U30 = 5; + f.forEach(M.streams, function (P) { + var W10; + W10 = 2; + for (; W10 !== 1; ) { + switch (W10) { + case 2: + N = Math.max(N, P.bitrate); + W10 = 1; + break; + } + } + }); + V10 = 1; break; } } }); - T30 = 3; + return N; break; } } }; - R.prototype.Zib = function (K) { - var V30, - Q; - V30 = 2; - for (; V30 !== 3; ) { - switch (V30) { + O.prototype.Og = function (N) { + var X10; + X10 = 2; + for (; X10 !== 1; ) { + switch (X10) { case 2: - Q = this.nb.rf[K]; - this.nb.yv[K].Fma = void 0; - Q.ut = 0; - Q.zV = 0; - V30 = 3; + return this.sd[N]; break; } } }; - v10 = 87; + O.prototype.Vzb = function () { + var Y10, + N; + Y10 = 2; + for (; Y10 !== 5; ) { + switch (Y10) { + case 2: + N = this.sd[0]; + return N.N.$e.Ng ? this.sd[1] : N; + break; + } + } + }; + v10 = 27; break; case 104: - R.prototype.aOb = function (K, Q, N) { + O.prototype.fOb = function (N, M, P) { var i40, - da; + R; i40 = 2; for (; i40 !== 6; ) { switch (i40) { - case 2: - k.fm.rp(0); - K = this.rd[K]; - i40 = 5; + case 4: + i40 = N.N.J3 ? 3 : 7; break; - case 5: - K.Fta(Q); + case 2: + k.dm.up(0); + N = this.sd[N]; + N.zta(M); i40 = 4; break; - case 8: - da ? (K.N.Rg[0] = da, K.KV = !1, da.stream.ye && K.Y0()) : (K.N.Rg[0] = void 0, K.KV = !1, K.N.YM([K.pp(0)], !0, 0)); - i40 = 7; - break; - case 7: - this.RQ(0); - i40 = 6; - break; - case 4: - i40 = K.N.I3 ? 3 : 7; - break; case 3: - K.pp(0).Qd.some(function (na) { + N.qp(0).Od.some(function (ea) { var j40; j40 = 2; for (; j40 !== 4; ) { switch (j40) { case 2: - da = na.pk(); + R = ea.pk(); j40 = 1; break; case 1: - j40 = !(da && da.stream && da.stream.Y && N < da.stream.Y.Zi(0)) ? 5 : 4; - break; - case 7: - return ~-da; - break; - j40 = 4; + j40 = !(R && R.stream && R.stream.Y && P < R.stream.Y.Wi(0)) ? 5 : 4; break; case 5: - return !!da; + return !!R; break; } } }); i40 = 8; break; + case 7: + this.TQ(0); + i40 = 6; + break; + case 8: + R ? (N.N.Qg[0] = R, N.JV = !1, R.stream.Ae && N.$0()) : (N.N.Qg[0] = void 0, N.JV = !1, N.N.YM([N.qp(0)], !0, 0)); + i40 = 7; + break; } } }; - R.prototype.Eib = function (K, Q) { + O.prototype.Fib = function (N, M) { var k40, - N; + P; k40 = 2; for (; k40 !== 4; ) { switch (k40) { case 2: - N = this.rg[K.mediaType]; - K = this.Ga.GV(K.ub, K.mediaType, Q, this.Yb.uz || 0, function (da) { + P = this.rg[N.mediaType]; + N = this.Ga.FV(N.yb, N.mediaType, M, this.$b.xz || 0, function (R) { var l40; l40 = 2; for (; l40 !== 1; ) { switch (l40) { case 2: - N.Y6(da); + P.V6(R); l40 = 1; break; } } }); - f.ga(K) || this.Mf.uj(); + f.fa(N) || this.Nf.rj(); k40 = 4; break; } } }; - R.prototype.vgb = function (K) { + O.prototype.wgb = function (N) { var m40, - Q, - N, - da; + M, + P, + R; m40 = 2; for (; m40 !== 8; ) { switch (m40) { - case 9: - this.rd.forEach(function (na, va) { + case 2: + (M = N.mediaType, P = N.manifestIndex, R = N.streamId); + N = this.Ga.Ec.Sa(M); + M = this.sd[P].N.qv(M, R); + this.kjb(N, M); + this.I = this.NOa.Web(M.Kg, this.I); + this.sd.forEach(function (ea, pa) { var n40, - ra; + va; n40 = 2; for (; n40 !== 5; ) { switch (n40) { case 2: - ra = na.N; - ra.I3 || 0 === va || ra.YM([na.pp(0), na.pp(1)]); + va = ea.N; + va.J3 || 0 === pa || va.YM([ea.qp(0), ea.qp(1)]); n40 = 5; break; } @@ -80263,193 +80416,187 @@ a000.D9b = function () { }); m40 = 8; break; - case 2: - (Q = K.mediaType, N = K.manifestIndex, da = K.streamId); - m40 = 1; - break; - case 1: - K = this.Ga.Cc.Ra(Q); - Q = this.rd[N].N.jv(Q, da); - this.jjb(K, Q); - this.I = this.OOa.Veb(Q.Mg, this.I); - m40 = 9; - break; } } }; - R.prototype.ygb = function (K) { + O.prototype.zgb = function (N) { var o40, - Q, - N; + M, + P; o40 = 2; for (; o40 !== 8; ) { switch (o40) { case 2: - Q = K.request; - K = K.mediaType; - N = Q.Na.ub; - N.DHb(K); + M = N.request; + N = N.mediaType; + P = M.Na.yb; + P.GHb(N); o40 = 3; break; case 3: - Q.A2 && this.qb.Chb(Q); - Q.Ap && this.qb.Phb(K, Q.N.Db, N.P); + M.B2 && this.ub.Dhb(M); + M.Cp && this.ub.Qhb(N, M.N.Fb, P.P); o40 = 8; break; } } }; - R.prototype.jjb = function (K, Q) { + O.prototype.kjb = function (N, M) { var p40; p40 = 2; for (; p40 !== 1; ) { switch (p40) { case 2: - this.nb.yv[K.mediaType].SF = { - id: Q.La, - index: Q.og, - bitrate: Q.bitrate, - Oa: Q.lb && Q.lb.confidence && Q.lb.Oa ? Q.lb.Oa.Ea : 0, - location: Q.location + this.ob.Ev[N.mediaType].YF = { + id: M.Ma, + index: M.ng, + bitrate: M.bitrate, + Oa: M.lb && M.lb.confidence && M.lb.Oa ? M.lb.Oa.Fa : 0, + location: M.location }; p40 = 1; break; } } }; - R.prototype.h4 = function (K) { + O.prototype.i4 = function (N) { var q40, - Q, - N, - da, - na, - va, + Y, ra, - X, - ta, - za, - V; + Ea, + M, + P, + R, + ea, + pa, + va, + ta; q40 = 2; for (; q40 !== 11; ) { switch (q40) { - case 2: - (va = {}, ra = this.rg, X = this.Ga); - q40 = 1; - break; - case 9: - va.vbuflbytes = null !== (da = null === V || void 0 === V ? void 0 : V.cp.ca) && void 0 !== da ? da : 0; - va.abuflbytes = null !== (na = null === za || void 0 === za ? void 0 : za.cp.ca) && void 0 !== na ? na : 0; - va.vbuflmsec = X.Ru(ta, 1); - va.abuflmsec = X.Ru(ta, 0); - K && (va.a = null === za || void 0 === za ? void 0 : za.Na.Y.toJSON(), va.v = null === V || void 0 === V ? void 0 : V.Na.Y.toJSON()); - q40 = 13; + case 8: + pa.abuflbytes = null !== (ea = null === ra || void 0 === ra ? void 0 : ra.ep.da) && void 0 !== ea ? ea : 0; + pa.vbuflmsec = ta.Wu(Y, 1); + q40 = 6; break; case 1: - q40 = !X.Cc.Fn ? 5 : 12; + q40 = !ta.Ec.Fn ? 5 : 12; break; case 5: - (ta = X.Cc, za = ta.Ed(0), V = ta.Ed(1)); - va.vspts = null !== (Q = null === V || void 0 === V ? void 0 : V.oc) && void 0 !== Q ? Q : 0; - va.aspts = null !== (N = null === za || void 0 === za ? void 0 : za.oc) && void 0 !== N ? N : 0; - q40 = 9; + (Y = ta.Ec, ra = Y.Dd(0), Ea = Y.Dd(1)); + pa.vspts = null !== (M = null === Ea || void 0 === Ea ? void 0 : Ea.tc) && void 0 !== M ? M : 0; + pa.aspts = null !== (P = null === ra || void 0 === ra ? void 0 : ra.tc) && void 0 !== P ? P : 0; + pa.vbuflbytes = null !== (R = null === Ea || void 0 === Ea ? void 0 : Ea.ep.da) && void 0 !== R ? R : 0; + q40 = 8; break; - case 13: - K && ra && (K = ra[1], ra = ra[0], va.atoappend = null === K || void 0 === K ? void 0 : K.w7(), va.vtoappend = null === ra || void 0 === ra ? void 0 : ra.w7()); - q40 = 12; + case 2: + (pa = {}, va = this.rg, ta = this.Ga); + q40 = 1; break; case 12: - return va; + return pa; + break; + case 6: + pa.abuflmsec = ta.Wu(Y, 0); + N && (pa.a = null === ra || void 0 === ra ? void 0 : ra.Na.Y.toJSON(), pa.v = null === Ea || void 0 === Ea ? void 0 : Ea.Na.Y.toJSON()); + q40 = 13; + break; + case 13: + N && va && (N = va[1], va = va[0], pa.atoappend = null === N || void 0 === N ? void 0 : N.s7(), pa.vtoappend = null === va || void 0 === va ? void 0 : va.s7()); + q40 = 12; break; } } }; - R.prototype.sUa = function (K) { + O.prototype.sUa = function (N) { var r40, - Q, - N, - da, - na, - va, - ra; + M, + P, + R, + ea, + pa, + va; r40 = 2; for (; r40 !== 8; ) { switch (r40) { - case 1: - r40 = N ? 5 : 8; - break; case 2: - (Q = this.Ga.Cc, N = Q.Ra(K)); + (M = this.Ga.Ec, P = M.Sa(N)); r40 = 1; break; case 5: - (da = this.nb.yv[K], na = this.Ga.SE(Q, K)); - da = da.SF ? da.SF.bitrate : 0; - (va = N.Na.epa, ra = this.Ga.Ke); + (R = this.ob.Ev[N], ea = this.Ga.TE(M, N)); + R = R.YF ? R.YF.bitrate : 0; + (pa = P.Na.$oa, va = this.Ga.Me); + r40 = 9; + break; + case 1: + r40 = P ? 5 : 8; + break; + case 9: return { - type: K, - availableMediaBuffer: u.default.Mn()[K] - na, - completeBuffer: Q.Hh(K), - incompleteBuffer: va, - playbackBitrate: N.f0a, - streamingBitrate: da, - streamingTime: N.oc + ra, - usedMediaBuffer: na, - toappend: N.eYb + type: N, + availableMediaBuffer: t.default.Nn()[N] - ea, + completeBuffer: M.Hh(N), + incompleteBuffer: pa, + playbackBitrate: P.d0a, + streamingBitrate: R, + streamingTime: P.tc + va, + usedMediaBuffer: ea, + toappend: P.gYb }; break; } } }; - R.prototype.dQb = function () { + O.prototype.iQb = function () { var s40, - K; + N; s40 = 2; for (; s40 !== 5; ) { switch (s40) { case 2: - var U3u = "reque"; - U3u += "stG"; - U3u += "a"; - U3u += "rbageColle"; - U3u += "ction"; - K = { - type: U3u, - time: u.default.time.aa() + var N3q = "requ"; + N3q += "estGarba"; + N3q += "geColl"; + N3q += "ec"; + N3q += "tion"; + N = { + type: N3q, + time: t.default.time.ba() }; - v.Ta(this, K.type, K); + w.Ua(this, N.type, N); s40 = 5; break; } } }; - R.prototype.Mo = function (K, Q, N, da, na, va) { + O.prototype.No = function (N, M, P, R, ea, pa) { var t40; t40 = 2; for (; t40 !== 1; ) { switch (t40) { case 2: - var y3u = "NFE"; - y3u += "rr_MC_"; - y3u += "Strea"; - y3u += "mingFailure"; - this.h0 || (f.ga(N) && (N = y3u), this.h0 = !0, this.qb.Thb(N, K, da, na, va, void 0 !== Q ? Q : this.BV)); + var I3q = "NFErr"; + I3q += "_MC_Stre"; + I3q += "am"; + I3q += "ingFailure"; + this.j0 || (f.fa(P) && (P = I3q), this.j0 = !0, this.ub.Uhb(P, N, R, ea, pa, void 0 !== M ? M : this.AV)); t40 = 1; break; } } }; - R.prototype.jJa = function () { + O.prototype.hJa = function () { var u40; u40 = 2; for (; u40 !== 5; ) { switch (u40) { case 2: - var L3u = "Networ"; - L3u += "k fa"; - L3u += "ilures r"; - L3u += "eset!"; - this.Eb(L3u); - this.Mf.uj(); + var V3q = "Network"; + V3q += " failur"; + V3q += "es reset!"; + this.Gb(V3q); + this.Nf.rj(); u40 = 5; break; } @@ -80457,200 +80604,12 @@ a000.D9b = function () { }; v10 = 94; break; - case 2: - Object.defineProperties(R.prototype, { - addEventListener: { - get: function () { - var B10; - B10 = 2; - for (; B10 !== 1; ) { - switch (B10) { - case 2: - return this.addListener.bind(this); - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - removeEventListener: { - get: function () { - var C10; - C10 = 2; - for (; C10 !== 1; ) { - switch (C10) { - case 2: - return this.removeListener.bind(this); - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - sIb: { - get: function () { - var D10; - D10 = 2; - for (; D10 !== 1; ) { - switch (D10) { - case 2: - return this.xf.Ub; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - mediaSourceId: { - get: function () { - var E10; - E10 = 2; - for (; E10 !== 1; ) { - switch (E10) { - case 2: - return this.xf ? this.xf.zW : void 0; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - Bq: { - get: function () { - var F10; - F10 = 2; - for (; F10 !== 1; ) { - switch (F10) { - case 2: - return this.Vb(0); - break; - case 4: - return this.Vb(2); - break; - F10 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - em: { - get: function () { - var G10; - G10 = 2; - for (; G10 !== 1; ) { - switch (G10) { - case 2: - return this.Vb(1); - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - attributes: { - get: function () { - var H10; - H10 = 2; - for (; H10 !== 1; ) { - switch (H10) { - case 2: - return this.Tba; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - Ag: { - get: function () { - var I10; - I10 = 2; - for (; I10 !== 1; ) { - switch (I10) { - case 2: - return this.Yh; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - BV: { - get: function () { - var J10; - J10 = 2; - for (; J10 !== 1; ) { - switch (J10) { - case 4: - return 4 >= this.D_ ? this.D_ : 1; - break; - J10 = 1; - break; - case 2: - return 0 <= this.D_ ? this.D_ : 0; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - Object.defineProperties(R.prototype, { - me: { - get: function () { - var K10; - K10 = 2; - for (; K10 !== 1; ) { - switch (K10) { - case 4: - return this.rd[this.qJ]; - break; - K10 = 1; - break; - case 2: - return this.rd[this.qJ]; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - v10 = 13; - break; } } })(); - b.jGa = a; - q.tf(c.EventEmitter, a); - }, function (q, b, a) { + b.fGa = a; + r.tf(c.EventEmitter, a); + }, function (r, b, a) { var c, f, k; @@ -80659,287 +80618,287 @@ a000.D9b = function () { value: !0 } }); - b.$$ = void 0; + b.S$ = void 0; c = a(16); f = a(9); - k = a(228); - q = (function () { - function l(d, g, h, m, n, r, p, u, t, w, v, x) { + k = a(229); + r = (function () { + function l(d, g, h, m, n, q, p, t, u, w, v, x) { void 0 === h && (h = 0); - this.Td = d; - this.$_ = g; - this.Z = h; - this.Aa = m; - this.Q2 = n; - this.Pg = r; - this.cL = p; - this.config = u; - this.H = t; - this.qb = w; - this.swb = v; - this.Ag = x; - this.rv = 0; + this.Rd = d; + this.b0 = g; + this.X = h; + this.Ca = m; + this.R2 = n; + this.Og = q; + this.fL = p; + this.config = t; + this.H = u; + this.ub = w; + this.ywb = v; + this.zg = x; + this.xv = 0; } l.create = function (d) { var h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C; function g(E) { - f.Ta(w, E.type, E); + f.Ua(w, E.type, E); } - h = d.Db; + h = d.Fb; m = d.sa; n = d.E2a; - r = d.Z; - p = d.Aa; - u = d.Sq; - t = d.qb; + q = d.X; + p = d.Ca; + t = d.Rq; + u = d.ub; w = d.Nb; v = d.config; x = d.H; - y = d.Mf; - z = d.$m; - B = d.mf; - A = d.LB; - C = new k.u9(Number(m.movieId), { - Db: h, + y = d.Nf; + z = d.Zm; + A = d.mf; + B = d.NB; + C = new k.p9(Number(m.movieId), { + Fb: h, sa: m, - bo: d.bo, - AYa: { - Ula: d.yg, - yWa: !!d.pWa + co: d.co, + xYa: { + Ola: d.Ng, + wWa: !!d.nWa }, Gi: d.Gi, - Fd: d.Fd, + Ed: d.Ed, config: v, - jVa: { - ol: y.uj.bind(y), - mf: B, - LB: A, - Qm: g, - n4: function (E) { - return E === w.Ga.Cc.N; + hVa: { + nl: y.rj.bind(y), + mf: A, + NB: B, + Pm: g, + o4: function (E) { + return E === w.Ga.Ec.N; }, - BT: function (E, F, D, G, I) { - E = w.nb.rf[E]; - return !F || D || G || I ? w.tQ : E.kg; + zT: function (E, G, D, F, J) { + E = w.ob.rf[E]; + return !G || D || F || J ? w.uQ : E.jg; }, - AB: function (E) { - return w.nb.yv[E]; + BB: function (E) { + return w.ob.Ev[E]; }, - Pg: w.Pg.bind(w) + Og: w.Og.bind(w) }, - ZU: function (E) { + YU: function (E) { w.emit("requestComplete", { - timestamp: E.Ye, + timestamp: E.Ze, mediaRequest: E }); }, - N2: function () { + O2: function () { return w.Yf; }, - Jb: w.Yb.Jb, - mh: w.Yb.mh, - iRa: { - Sq: u, - qh: function (E, F, D, G, I) { - w.Mo(E, h, F, D, G, I); + Lb: w.$b.Lb, + jh: w.$b.jh, + hRa: { + Rq: t, + ph: function (E, G, D, F, J) { + w.No(E, h, G, D, F, J); }, - Lm: function () { - return w.h0; + Jm: function () { + return w.j0; }, - DL: w.T.Pf.bind(w.T), - Qm: g + FL: w.T.Qf.bind(w.T), + Pm: g }, ZM: void 0, - ZG: { - V: w.Yb.uz, - ca: w.Yb.HC + gH: { + V: w.$b.xz, + da: w.$b.JC } }); - v.ay && C.GC({ - Dv: w.vl.Dv, - ba: w.vl.ba, - Kq: w.vl.Kq, - Pm: t.Pm.bind(t) + v.fy && C.IC({ + Jv: w.ul.Jv, + ca: w.ul.ca, + Lq: w.ul.Lq, + Om: u.Om.bind(u) }); - d = new c.zh(); - d.addListener(C.KB, "onHeaderFragments", function (E) { - var F, + d = new c.xh(); + d.addListener(C.MB, "onHeaderFragments", function (E) { + var G, D, - G, - I, - J; - F = E.mediaType; - D = E.La; - G = E.stream.Y; - I = w.Pg(h); - if (I) { - if (C.Rg[F] && E !== C.Rg[F]) - E.cv && (I = C.Rg[F], E = E.stream, J = I && I.stream, x.warn("first header received for non-current track (trackId " + E.trackId + "streamId " + E.La + "), expected track " + (J && J.trackId) + ", stream " + (J && J.La) + ", " + I)); + F, + J, + K; + G = E.mediaType; + D = E.Ma; + F = E.stream.Y; + J = w.Og(h); + if (J) { + if (C.Qg[G] && E !== C.Qg[G]) + E.hv && (J = C.Qg[G], E = E.stream, K = J && J.stream, x.warn("first header received for non-current track (trackId " + E.trackId + "streamId " + E.Ma + "), expected track " + (K && K.trackId) + ", stream " + (K && K.Ma) + ", " + J)); else { - C.Rg[F] = E; - E = w.Ga.Cc; + C.Qg[G] = E; + E = w.Ga.Ec; if (0 === h) { - J = C.Vb(1) ? E.Ra(1).oc : E.Ra(0).oc; - E.a1(J, C); + K = C.Yb(1) ? E.Sa(1).tc : E.Sa(0).tc; + E.c1(K, C); } - I.KV = !1; - I.Y0(); - w.p0(); + J.JV = !1; + J.$0(); + w.r0(); } - z.zca(); - t.Nhb(h, F, D, C.K, G); - y.uj(); + z.tca(); + u.Ohb(h, G, D, C.K, F); + y.rj(); } else x.warn("addFragments for stale manifestIndex:", h); }); - d.addListener(C.KB, "onHeaderRequestComplete", function (E) { - var F, + d.addListener(C.MB, "onHeaderRequestComplete", function (E) { + var G, D; - E.kk ? w.p0() : E.rB && (x.warn("drm header header:", E.toString(), "but no headers seen, marking pipeline drmReady"), w.Yx(E.K)); - F = E.mediaType; - D = Object.getOwnPropertyNames(A.Au[F]); - w.rg[F].DZa(E.stream, 1 === D.length && D[0] === E.La); - y.NIa(); - w.dQb(); - }); - d.addListener(C.KB, "onHeaderFromCache", function (E) { - var F; - F = E.header; - E = E.jxb; - F.kk && w.p0(); - E && t.Ehb(F.K, F.La); + E.kk ? w.r0() : E.sB && (x.warn("drm header header:", E.toString(), "but no headers seen, marking pipeline drmReady"), w.cy(E.K)); + G = E.mediaType; + D = Object.getOwnPropertyNames(B.Fu[G]); + w.rg[G].BZa(E.stream, 1 === D.length && D[0] === E.Ma); + y.LIa(); + w.iQb(); + }); + d.addListener(C.MB, "onHeaderFromCache", function (E) { + var G; + G = E.header; + E = E.pxb; + G.kk && w.r0(); + E && u.Fhb(G.K, G.Ma); }); - return new l(C, n, r, p, function () { + return new l(C, n, q, p, function () { return w.Ga; - }, w.Pg.bind(w), w.cL.bind(w), v, x, t, !1, d); + }, w.Og.bind(w), w.fL.bind(w), v, x, u, !1, d); }; Object.defineProperties(l.prototype, { N: { get: function () { - return this.Td; + return this.Rd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - Db: { + Fb: { get: function () { - return this.N.Db; + return this.N.Fb; }, enumerable: !1, configurable: !0 } }); - l.prototype.pp = function (d) { - return this.Td.HUa(d, this.U2(d)); + l.prototype.qp = function (d) { + return this.Rd.GUa(d, this.W2(d)); }; - l.prototype.U2 = function (d) { - return this.$_[d]; + l.prototype.W2 = function (d) { + return this.b0[d]; }; l.prototype.close = function () { - this.Ag.clear(); + this.zg.clear(); this.N.close(); }; - l.prototype.Ic = function () { - this.Td.Ic(); - delete this.Td; + l.prototype.Kc = function () { + this.Rd.Kc(); + delete this.Rd; }; l.prototype.clone = function () { - return new l(this.N, this.$_, this.Z, this.Aa, this.Q2, this.Pg, this.cL, this.config, this.H, this.qb, !0, this.Ag); + return new l(this.N, this.b0, this.X, this.Ca, this.R2, this.Og, this.fL, this.config, this.H, this.ub, !0, this.zg); }; - l.prototype.Fta = function (d) { - this.H.trace("updateAudioTrack:", this.$_[0], "->", d); - this.$_[0] = d; + l.prototype.zta = function (d) { + this.H.trace("updateAudioTrack:", this.b0[0], "->", d); + this.b0[0] = d; }; l.prototype.vTa = function () { - return void 0 !== this.kG ? this.kG : this.Aa ? this.Aa : this.Td.duration; + return void 0 !== this.qG ? this.qG : this.Ca ? this.Ca : this.Rd.duration; }; - l.prototype.Fnb = function (d) { + l.prototype.Gnb = function (d) { var g, h; - g = this.Td.Rg[1]; - if (g && g.stream.ye) { - if (this.ey && this.ey[1] && this.ey[1].Z <= d && this.ey[1].Aa > d) - return this.ey[1].Zc; + g = this.Rd.Qg[1]; + if (g && g.stream.Ae) { + if (this.jy && this.jy[1] && this.jy[1].X <= d && this.jy[1].Ca > d) + return this.jy[1].Zc; g = g.stream.Y; - d = g.Gm(d, void 0, !0); + d = g.Em(d, void 0, !0); h = void 0; - void 0 === h && (h = g.Zi(d)); + void 0 === h && (h = g.Wi(d)); return h; } }; - l.prototype.Y0 = function () { + l.prototype.$0 = function () { var d, g; - if (!this.KV && this.ZUa()) { - this.soa(); + if (!this.JV && this.ZUa()) { + this.noa(); d = [0, 0]; - if (0 !== this.Db && !this.Td.Ze.AU && !this.Td.Ze.replace) { - g = this.Pg(this.Db - 1); - g = this.Td.K === g.Td.K; - d = this.Q2().Cc; - g = d.a1(this.Z, this.N, d, g); + if (0 !== this.Fb && !this.Rd.$e.zU && !this.Rd.$e.replace) { + g = this.Og(this.Fb - 1); + g = this.Rd.K === g.Rd.K; + d = this.R2().Ec; + g = d.c1(this.X, this.N, d, g); d = g.JM; } - this.Z = d[1]; + this.X = d[1]; this.JM = d; - this.ey = g && g.ey; + this.jy = g && g.jy; this.yNa(); - g = this.Td.Vb(1) ? this.Td.Rg[1].stream.Y.Aa : this.Td.Rg[0].stream.Y.Aa; - this.qb.Jhb(this.Db, this.rv, this.Z, this.kG, g); - this.KV = !0; - for (g = this.Db + 1; g < this.cL(); ++g) { - d = this.Pg(g); - d.KV = !1; - d.Y0(); + g = this.Rd.Yb(1) ? this.Rd.Qg[1].stream.Y.Ca : this.Rd.Qg[0].stream.Y.Ca; + this.ub.Khb(this.Fb, this.xv, this.X, this.qG, g); + this.JV = !0; + for (g = this.Fb + 1; g < this.fL(); ++g) { + d = this.Og(g); + d.JV = !1; + d.$0(); } } }; l.prototype.yNa = function () { var d; - if (0 === this.Db || this.Td.Ze.replace) - this.rv = 0; + if (0 === this.Fb || this.Rd.$e.replace) + this.xv = 0; else { - d = this.Pg(this.Db - 1); - this.rv = d.rv + d.vTa() - this.Z; + d = this.Og(this.Fb - 1); + this.xv = d.xv + d.vTa() - this.X; } }; - l.prototype.soa = function () { + l.prototype.noa = function () { var d, g, h, m, n, - r, + q, p, - u; + t; if (this.ZUa()) { - n = this.Q2().Cc; - r = this.Aa || Infinity; - p = this.Td.Vb(1); - u = n.TS(r, this.N); - this.kG = p ? u[1].Aa : u[0].Aa; - n = p ? this.Td.Rg[1].stream.Y.Aa : this.Td.Rg[0].stream.Y.Aa; - p = Math.min(null !== (g = null === (d = u[1]) || void 0 === d ? void 0 : d.Aa) && void 0 !== g ? g : Infinity, null !== (m = null === (h = u[0]) || void 0 === h ? void 0 : h.Aa) && void 0 !== m ? m : Infinity); - this.qb.Lhb(this.Db, this.kG, n, p); - d = this.Q2().Eia(this.Db); - 0 < d.length && d.forEach(function (t) { - t.wWb(u, r); + n = this.R2().Ec; + q = this.Ca || Infinity; + p = this.Rd.Yb(1); + t = n.SS(q, this.N); + this.qG = p ? t[1].Ca : t[0].Ca; + n = p ? this.Rd.Qg[1].stream.Y.Ca : this.Rd.Qg[0].stream.Y.Ca; + p = Math.min(null !== (g = null === (d = t[1]) || void 0 === d ? void 0 : d.Ca) && void 0 !== g ? g : Infinity, null !== (m = null === (h = t[0]) || void 0 === h ? void 0 : h.Ca) && void 0 !== m ? m : Infinity); + this.ub.Mhb(this.Fb, this.qG, n, p); + d = this.R2().xia(this.Fb); + 0 < d.length && d.forEach(function (u) { + u.yWb(t, q); }); } }; @@ -80948,18 +80907,18 @@ a000.D9b = function () { g, h, m; - d = this.Td.Vb(0); - g = this.Td.Vb(1); - h = this.Td.Rg[0]; - m = this.Td.Rg[1]; - h = h && h.stream.ye; - m = m && m.stream.ye; + d = this.Rd.Yb(0); + g = this.Rd.Yb(1); + h = this.Rd.Qg[0]; + m = this.Rd.Qg[1]; + h = h && h.stream.Ae; + m = m && m.stream.Ae; return (!d || h) && (!g || m); }; return l; })(); - b.$$ = q; - }, function (q, b, a) { + b.S$ = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -80967,73 +80926,73 @@ a000.D9b = function () { value: !0 } }); - b.mGa = void 0; - q = a(2); + b.iGa = void 0; + r = a(2); c = a(9); - a = q.__importDefault(a(4)); - f = a.default.kq; + a = r.__importDefault(a(5)); + f = a.default.mq; new a.default.Console("ASEJS_SIDECHANNEL", "media|asejs"); a = (function () { function k(l, d, g) { - this.Pm = g; - this.Sjb = new c.$Ha(l); - this.ba = d.ba; - this.ffb = 1E3 * d.fIb / d.Vmb; - this.mub = d.Kq; - this.kMa = !1; - } - k.prototype.Uu = function (l) { + this.Om = g; + this.Sjb = new c.YHa(l); + this.ca = d.ca; + this.gfb = 1E3 * d.iIb / d.Wmb; + this.qub = d.Lq; + this.jMa = !1; + } + k.prototype.Zu = function (l) { var d, g; d = { - s_xid: this.ba, - dl: this.mub ? 1 : 0 + s_xid: this.ca, + dl: this.qub ? 1 : 0 }; - l.TJ && (d.bs = c.f1(Math.floor(l.TJ / this.ffb) + 1, 1, 5)); + l.XJ && (d.bs = c.h1(Math.floor(l.XJ / this.gfb) + 1, 1, 5)); l.Q5 && (d.limit_rate = l.Q5); l.ZMa && (d.bb_reason = l.ZMa); - l.e5a && (d.tm = l.e5a); - if (l.eK) { - g = Object.keys(l.eK).every(function (h) { - return 0 === l.eK[h]; + l.g5a && (d.tm = l.g5a); + if (l.iK) { + g = Object.keys(l.iK).every(function (h) { + return 0 === l.iK[h]; }); - if (!g || g && this.kMa) - (d.cpr_ss = l.eK.K7, d.cpr_ca = l.eK.r1, d.cpr_rec = l.eK.T6, this.kMa = g ? !1 : !0); + if (!g || g && this.jMa) + (d.cpr_ss = l.iK.G7, d.cpr_ca = l.iK.s1, d.cpr_rec = l.iK.Q6, this.jMa = g ? !1 : !0); } - l.pfa && (d.br = "" + l.pfa.start + "+" + l.pfa.size); - return this.Xhb(d); + l.ifa && (d.br = "" + l.ifa.start + "+" + l.ifa.size); + return this.Yhb(d); }; - k.prototype.Ira = function (l, d) { + k.prototype.Bra = function (l, d) { var g, h; try { g = new f(void 0, "notification"); - h = this.Uu({ + h = this.Zu({ ZMa: l }); d && h && g.open(d, void 0, 2, void 0, void 0, void 0, h); } catch (m) { - this.Pm("SideChannel: Error when sending sendBlackBoxNotification. Error: " + m); + this.Om("SideChannel: Error when sending sendBlackBoxNotification. Error: " + m); } }; - k.prototype.Xhb = function (l) { + k.prototype.Yhb = function (l) { var d; try { - d = this.gjb(l); + d = this.hjb(l); return this.Sjb.encrypt(d); } catch (g) { - this.Pm("SideChannel: Error when obfuscating msg. Error: " + g); + this.Om("SideChannel: Error when obfuscating msg. Error: " + g); } }; - k.prototype.gjb = function (l) { + k.prototype.hjb = function (l) { return Object.keys(l).map(function (d) { return encodeURIComponent(d) + "=" + encodeURIComponent(JSON.stringify(l[d])); }).join("&"); }; return k; })(); - b.mGa = a; - }, function (q, b, a) { + b.iGa = a; + }, function (r, b, a) { var f, k, l, @@ -81041,111 +81000,111 @@ a000.D9b = function () { g, h; function c(m, n) { - var r, + var q, p; - r = Math.floor(1E3 * m / n); - p = 1E3 * Math.round(r / 1E3); - return new k.S(p, Math.abs(Math.floor(1001 * m / n) - p) > Math.abs(r - p) ? 1E3 : 1001); + q = Math.floor(1E3 * m / n); + p = 1E3 * Math.round(q / 1E3); + return new k.S(p, Math.abs(Math.floor(1001 * m / n) - p) > Math.abs(q - p) ? 1E3 : 1001); } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.iva = void 0; - f = a(388); + b.fva = void 0; + f = a(392); k = a(22); l = a(6); d = a(9); - g = a(389); - h = a(390); - q = (function () { - function m(n, r, p) { - this.I = r; + g = a(393); + h = a(394); + r = (function () { + function m(n, q, p) { + this.I = q; this.H = p; - this.wA = new d.nGa(); - this.J_ = 0; - this.cC = n.cC; + this.yA = new d.jGa(); + this.M_ = 0; + this.eC = n.eC; this.N = n.N; this.mediaType = n.mediaType; - this.ON = n.ON; - this.EE = n.EE; - 1 === this.mediaType && (r = this.cC.streams[0], void 0 !== r.framerate_value && void 0 !== r.framerate_scale && (this.eda = c(r.framerate_value, r.framerate_scale).yqa())); - this.eb = (this.gJ = this.eda) && this.gJ.U; - this.Jca = this.OIa = !1; - this.gla = -Infinity; - this.KXa = Infinity; - n = m.Cfb(this, n.yg); - r = n.maxBitrate; - p = n.Qd; - this.LT = n.LT; - this.maxBitrate = r; - this.Qd = p; - this.tjb = p.reduce(function (u, t) { - u[t.La] = t; - return u; + this.PN = n.PN; + this.GE = n.GE; + 1 === this.mediaType && (q = this.eC.streams[0], void 0 !== q.framerate_value && void 0 !== q.framerate_scale && (this.Zca = c(q.framerate_value, q.framerate_scale).sqa())); + this.eb = (this.iJ = this.Zca) && this.iJ.U; + this.Dca = this.MIa = !1; + this.bla = -Infinity; + this.IXa = Infinity; + n = m.Dfb(this, n.Ng); + q = n.maxBitrate; + p = n.Od; + this.JT = n.JT; + this.maxBitrate = q; + this.Od = p; + this.ujb = p.reduce(function (t, u) { + t[u.Ma] = u; + return t; }, {}); !1; } - m.Cfb = function (n, r) { + m.Dfb = function (n, q) { var p, - u, t, + u, w, v; p = n.I; - u = 1 === n.mediaType; - t = !1; + t = 1 === n.mediaType; + u = !1; w = 0; v = []; - n.cC.streams.forEach(function (x, y) { + n.eC.streams.forEach(function (x, y) { var z, - B, - A; + A, + B; z = x.bitrate; - B = !0; - if (u) { - A = -1 === x.content_profile.indexOf("none"); - B = r && !A || !r && A; - t = t || A; - } - B && z > w && (w = z); - x = new h.gva({ - Ly: x, - og: y, + A = !0; + if (t) { + B = -1 === x.content_profile.indexOf("none"); + A = q && !B || !q && B; + u = u || B; + } + A && z > w && (w = z); + x = new h.dva({ + Oy: x, + ng: y, track: n, - kv: B + rv: A }, p, n.H); v.push(x); }); return { - LT: t, + JT: u, maxBitrate: w, - Qd: v + Od: v }; }; Object.defineProperties(m.prototype, { - goa: { + boa: { get: function () { - return !this.ye && 0 === this.J_; + return !this.Ae && 0 === this.M_; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - ye: { + Ae: { get: function () { - return !!this.oo && !!this.wA.value; + return !!this.po && !!this.yA.value; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Rha: { + Lha: { get: function () { - return this.OIa; + return this.MIa; }, enumerable: !1, configurable: !0 @@ -81163,7 +81122,7 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { trackId: { get: function () { - return this.cC.track_id; + return this.eC.track_id; }, enumerable: !1, configurable: !0 @@ -81172,7 +81131,7 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { pa: { get: function () { - return this.gJ; + return this.iJ; }, enumerable: !1, configurable: !0 @@ -81188,16 +81147,16 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - cM: { + eM: { get: function () { - return this.qhb; + return this.rhb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - oo: { + po: { get: function () { return this.Oc; }, @@ -81206,16 +81165,16 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - rL: { + uL: { get: function () { - return this.wA.value; + return this.yA.value; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - gja: { + $ia: { get: function () { return this.pa.U; }, @@ -81224,16 +81183,16 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - fja: { + Zia: { get: function () { - return this.pa.Wb; + return this.pa.Zb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Z: { + X: { get: function () { return 0; }, @@ -81242,68 +81201,68 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Sia: { + Lia: { get: function () { - return this.wA; + return this.yA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - zU: { + yU: { get: function () { - return this.Qd.some(function (n) { - var r; - return 1 < ((null === (r = n.zg) || void 0 === r ? void 0 : r.length) || 0); + return this.Od.some(function (n) { + var q; + return 1 < ((null === (q = n.yg) || void 0 === q ? void 0 : q.length) || 0); }); }, enumerable: !1, configurable: !0 } }); - m.prototype.jv = function (n) { - return this.BF()[n]; + m.prototype.qv = function (n) { + return this.GF()[n]; }; - m.prototype.BF = function () { - return this.tjb; + m.prototype.GF = function () { + return this.ujb; }; m.prototype.equals = function (n) { return this.K === n.K && this.mediaType === n.mediaType && this.trackId === n.trackId; }; m.prototype.c6 = function () { - this.J_++; + this.M_++; }; m.prototype.b6 = function () { - 0 < this.J_ && this.J_--; + 0 < this.M_ && this.M_--; }; - m.prototype.a6 = function (n, r, p, u, t) { - if (u && void 0 !== u.Bk && (this.ye || void 0 !== u.fd && u.fd.length)) { - if ((n.By && (this.OIa = !0), this.ye)) - !this.Jca && u.fd && u.fd.length > this.oo.length && (this.Oc = new f.zba(this.mediaType, this.pa, u, t), this.wA.d2a(), this.gla = -Infinity, this.Jca = !0); + m.prototype.a6 = function (n, q, p, t, u) { + if (t && void 0 !== t.Ck && (this.Ae || void 0 !== t.gd && t.gd.length)) { + if ((n.Ey && (this.MIa = !0), this.Ae)) + !this.Dca && t.gd && t.gd.length > this.po.length && (this.Oc = new f.tba(this.mediaType, this.pa, t, u), this.yA.c2a(), this.bla = -Infinity, this.Dca = !0); else { - this.IKa(r); - if (p = p || this.eda) - (this.HKa(p || this.eda), void 0 === this.U && this.JKa(p.U)); - this.Oc = new f.zba(this.mediaType, this.pa, u, t); - n.By && (this.Jca = !0); + this.GKa(q); + if (p = p || this.Zca) + (this.FKa(p || this.Zca), void 0 === this.U && this.HKa(p.U)); + this.Oc = new f.tba(this.mediaType, this.pa, t, u); + n.Ey && (this.Dca = !0); } } else this.H && this.H.error("AseTrack.onHeaderReceived with missing fragments data"); }; - m.prototype.JKb = function (n) { - void 0 === this.wA.value && this.wA.set(n); + m.prototype.LKb = function (n) { + void 0 === this.yA.value && this.yA.set(n); }; - m.prototype.Npb = function (n) { - this.ye || (this.JKa(n.U), this.IKa(n.cM), this.HKa(n.pa), this.Oc = n.oo, n.Sia.value ? this.wA.set(n.Sia.value) : this.wA.d2a()); + m.prototype.Opb = function (n) { + this.Ae || (this.HKa(n.U), this.GKa(n.eM), this.FKa(n.pa), this.Oc = n.po, n.Lia.value ? this.yA.set(n.Lia.value) : this.yA.c2a()); }; - m.prototype.Fm = function (n, r, p, u) { - l.assert(this.rL); - return g.Fm(this.mediaType, n, this.rL, r, p, u); + m.prototype.Dm = function (n, q, p, t) { + l.assert(this.uL); + return g.Dm(this.mediaType, n, this.uL, q, p, t); }; - m.prototype.dy = function (n, r, p) { - l.assert(this.rL); - return g.dy(this.mediaType, n, this.rL, r, p); + m.prototype.iy = function (n, q, p) { + l.assert(this.uL); + return g.iy(this.mediaType, n, this.uL, q, p); }; m.prototype.toJSON = function () { return { @@ -81315,19 +81274,19 @@ a000.D9b = function () { m.prototype.toString = function () { return (0 === this.mediaType ? "a" : "v") + ":" + this.trackId; }; - m.prototype.JKa = function (n) { + m.prototype.HKa = function (n) { this.eb = n; }; - m.prototype.IKa = function (n) { - this.qhb = n; + m.prototype.GKa = function (n) { + this.rhb = n; }; - m.prototype.HKa = function (n) { - this.gJ = n; + m.prototype.FKa = function (n) { + this.iJ = n; }; return m; })(); - b.iva = q; - }, function (q, b, a) { + b.fva = r; + }, function (r, b, a) { var c, f, k, @@ -81339,14 +81298,14 @@ a000.D9b = function () { value: !0 } }); - b.FGa = b.$db = void 0; + b.BGa = b.ceb = void 0; c = a(2); a(111); f = a(6); - q = c.__importDefault(a(4)); - k = a(398); - a = a(388); - l = new q.default.Console("FRAGMENTS", "media|asejs"); + r = c.__importDefault(a(5)); + k = a(402); + a = a(392); + l = new r.default.Console("FRAGMENTS", "media|asejs"); try { new Float64Array(8); d = !0; @@ -81354,16 +81313,16 @@ a000.D9b = function () { d = !1; } g = (function (h) { - function m(n, r) { - r = h.call(this, n.oo, r) || this; - r.xE = n; - return r; + function m(n, q) { + q = h.call(this, n.po, q) || this; + q.zE = n; + return q; } c.__extends(m, h); Object.defineProperties(m.prototype, { - ca: { + da: { get: function () { - return this.xE.H3a(this.Kg); + return this.zE.I3a(this.Ig); }, enumerable: !1, configurable: !0 @@ -81372,34 +81331,34 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { offset: { get: function () { - return this.xE.Gd(this.Kg); + return this.zE.Fd(this.Ig); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - foa: { + aoa: { get: function () { - return this.xE.eG && this.xE.eG[this.Kg]; + return this.zE.kG && this.zE.kG[this.Ig]; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Eh: { + Dh: { get: function () { - return this.xE.fyb(this.Kg); + return this.zE.lyb(this.Ig); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - zb: { + xb: { get: function () { - return this.xE.Er && this.xE.Er[this.Kg]; + return this.zE.Hr && this.zE.Hr[this.Ig]; }, enumerable: !1, configurable: !0 @@ -81408,33 +81367,33 @@ a000.D9b = function () { m.prototype.toJSON = function () { return { index: this.index, - contentStartTicks: this.Xa, + contentStartTicks: this.Ya, contentEndTicks: this.jb, - durationTicks: this.Lq, + durationTicks: this.Mq, timescale: this.U, - startPts: this.Z, - endPts: this.Aa, + startPts: this.X, + endPts: this.Ca, duration: this.duration, - additionalSAPs: this.Eh + additionalSAPs: this.Dh }; }; return m; - })(a.kHa); - b.$db = g; - q = (function () { - function h(m, n, r, p, u, t) { - this.uJ = 128; + })(a.gHa); + b.ceb = g; + r = (function () { + function h(m, n, q, p, t, u) { + this.wJ = 128; this.Oc = m; - this.ve = n.offset; - this.Po = n.sizes; - this.SI = this.cQ = this.Dh = this.VKa = this.Nda = void 0; - this.phb = r; - this.Rba = p && p.Gd; - this.dLa = u; - this.Re = Math.min(this.Oc.length, this.Po.length); - this.bhb = this.unb(); - this.oo.uq.length !== this.Po.length && l.error("Mis-matched stream duration (" + this.oo.uq.length + "," + this.Po.length + ") for movie id " + t); - this.oo.x0 && !this.Rba && l.error("Mis-matched additional SAPs information for movie id " + t); + this.xe = n.offset; + this.Qo = n.sizes; + this.WI = this.cQ = this.Ch = this.TKa = this.Hda = void 0; + this.qhb = q; + this.Lba = p && p.Fd; + this.bLa = t; + this.Se = Math.min(this.Oc.length, this.Qo.length); + this.chb = this.vnb(); + this.po.wq.length !== this.Qo.length && l.error("Mis-matched stream duration (" + this.po.wq.length + "," + this.Qo.length + ") for movie id " + u); + this.po.z0 && !this.Lba && l.error("Mis-matched additional SAPs information for movie id " + u); } Object.defineProperties(h.prototype, { mediaType: { @@ -81448,61 +81407,61 @@ a000.D9b = function () { Object.defineProperties(h.prototype, { length: { get: function () { - return this.Re; + return this.Se; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - Bk: { + Ck: { get: function () { - return this.Oc.Bk; + return this.Oc.Ck; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - eia: { + Yha: { get: function () { - return this.Oc.eia; + return this.Oc.Yha; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - Z: { + X: { get: function () { - return this.Oc.Z; + return this.Oc.X; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - Aa: { + Ca: { get: function () { - return this.Oc.Aa; + return this.Oc.Ca; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - Ana: { + vna: { get: function () { - return this.Oc.Ana; + return this.Oc.vna; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - XF: { + cG: { get: function () { - return this.bhb; + return this.chb; }, enumerable: !1, configurable: !0 @@ -81529,41 +81488,41 @@ a000.D9b = function () { Object.defineProperties(h.prototype, { Tj: { get: function () { - return this.VKa || this.aca(); + return this.TKa || this.Vba(); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - eG: { + kG: { get: function () { - return this.phb; + return this.qhb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - GLa: { + FLa: { get: function () { - return this.Rba; + return this.Lba; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - Er: { + Hr: { get: function () { - return this.dLa; + return this.bLa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(h.prototype, { - oo: { + po: { get: function () { return this.Oc; }, @@ -81572,146 +81531,146 @@ a000.D9b = function () { } }); Object.defineProperties(h.prototype, { - uN: { + vN: { get: function () { - return this.Nda || this.Bfb(); + return this.Hda || this.Cfb(); }, enumerable: !1, configurable: !0 } }); - h.prototype.H3a = function (m) { - if (this.Po) - return this.Po[m]; + h.prototype.I3a = function (m) { + if (this.Qo) + return this.Qo[m]; l.error("sizesByIndex _sizes is undefined"); return -1; }; - h.prototype.Zi = function (m) { - return this.Oc.Zi(m); + h.prototype.Wi = function (m) { + return this.Oc.Wi(m); }; - h.prototype.LS = function (m) { - return this.Oc.Zi(m) + this.Oc.fd(m); + h.prototype.KS = function (m) { + return this.Oc.Wi(m) + this.Oc.gd(m); }; - h.prototype.Gd = function (m) { + h.prototype.Fd = function (m) { var n, - r, + q, p; - if (this.cQ !== m || void 0 === this.SI) { + if (this.cQ !== m || void 0 === this.WI) { if (0 === m) - return this.ve; - if (this.cQ === m - 1 && void 0 !== this.SI) - (this.SI += this.Po[this.cQ], ++this.cQ); + return this.xe; + if (this.cQ === m - 1 && void 0 !== this.WI) + (this.WI += this.Qo[this.cQ], ++this.cQ); else { - n = this.Dh || this.lfb(); - r = Math.floor(m / this.uJ); - p = r * this.uJ; - for (n = n[r]; p < m; ++p) { - n += this.Po[p]; + n = this.Ch || this.mfb(); + q = Math.floor(m / this.wJ); + p = q * this.wJ; + for (n = n[q]; p < m; ++p) { + n += this.Qo[p]; } this.cQ = m; - this.SI = n; + this.WI = n; } } - return this.SI; + return this.WI; }; - h.prototype.fd = function (m) { - return this.Oc.fd(m); + h.prototype.gd = function (m) { + return this.Oc.gd(m); }; h.prototype.get = function (m) { return new g(this, m); }; - h.prototype.fyb = function (m) { + h.prototype.lyb = function (m) { var n, - r, + q, p, - u, - t; + t, + u; f.assert(0 <= m); - n = this.oo.x0; - r = this.oo.HLa; - p = this.Rba; - if (!p || !n || !r || m >= n.length) + n = this.po.z0; + q = this.po.GLa; + p = this.Lba; + if (!p || !n || !q || m >= n.length) return []; - u = []; - t = m === n.length - 1 ? r.length : n[m + 1]; - for (n = n[m]; n < t; ++n) { - u.push({ - zk: r[n], - od: this.Zi(m) + this.pa.mC(r[n]).V, + t = []; + u = m === n.length - 1 ? q.length : n[m + 1]; + for (n = n[m]; n < u; ++n) { + t.push({ + Ak: q[n], + pd: this.Wi(m) + this.pa.oC(q[n]).V, offset: p[n] }); } - return u; + return t; }; - h.prototype.wSb = function (m) { - this.dLa = m; + h.prototype.ASb = function (m) { + this.bLa = m; }; - h.prototype.Gm = function (m, n, r) { - return this.Oc.Gm(m, n, r); + h.prototype.Em = function (m, n, q) { + return this.Oc.Em(m, n, q); }; - h.prototype.w2 = function (m, n, r) { - return this.Oc.w2(m, n, r); + h.prototype.x2 = function (m, n, q) { + return this.Oc.x2(m, n, q); }; - h.prototype.Kga = function (m, n) { - return this.Oc.Kga(m, n); + h.prototype.Ega = function (m, n) { + return this.Oc.Ega(m, n); }; - h.prototype.rnb = function (m, n, r, p, u) { - var t, + h.prototype.snb = function (m, n, q, p, t) { + var u, w, v, x, y, z, - B, A, + B, C; - t = !0; + u = !0; w = 0; - v = this.Oc.uq; - x = this.Po; + v = this.Oc.wq; + x = this.Qo; m = Math.floor(m * this.U / 1E3); - y = Math.floor(r * this.U / 1E3); + y = Math.floor(q * this.U / 1E3); z = 0; - B = 0; A = 0; - if (this.Oc.Cta && this.Oc.Bta) - for (w = this.Oc.Cta; w <= this.Oc.Bta; ++w) { + B = 0; + if (this.Oc.xta && this.Oc.wta) + for (w = this.Oc.xta; w <= this.Oc.wta; ++w) { z += v[w]; - B += x[w]; + A += x[w]; } - if (B > n) - t = !1; + if (A > n) + u = !1; else - for (; w < this.length && (!u || w < u); ) { + for (; w < this.length && (!t || w < t); ) { C = x[w]; - r = v[w]; - if (B + C > n) { - for (; 1 < w - A && B + C > n && (z - v[A] >= y || B - x[A] > p); ) { - z -= v[A]; - B -= x[A]; - ++A; + q = v[w]; + if (A + C > n) { + for (; 1 < w - B && A + C > n && (z - v[B] >= y || A - x[B] > p); ) { + z -= v[B]; + A -= x[B]; + ++B; } - if (z < m || B + C > n) { - t = !1; - this.Oc.Cta = A; - this.Oc.Bta = w; + if (z < m || A + C > n) { + u = !1; + this.Oc.xta = B; + this.Oc.wta = w; break; } } - z += r; - B += C; + z += q; + A += C; ++w; } - return t; + return u; }; h.prototype.subarray = function (m, n) { f.assert(void 0 === m || 0 <= m && m < this.length); f.assert(void 0 === n || n > m && n <= this.length); return new h(this.Oc.subarray(m, n), { - offset: this.Gd(m), - sizes: this.Po.subarray(m, n) - }, this.eG && this.eG.subarray(m, n), this.GLa && ({ - Gd: this.GLa + offset: this.Fd(m), + sizes: this.Qo.subarray(m, n) + }, this.kG && this.kG.subarray(m, n), this.FLa && ({ + Fd: this.FLa })); }; h.prototype.forEach = function (m) { @@ -81720,14 +81679,14 @@ a000.D9b = function () { } }; h.prototype.map = function (m) { - for (var n = [], r = 0; r < this.length; ++r) { - n.push(m(this.get(r), r, this)); + for (var n = [], q = 0; q < this.length; ++q) { + n.push(m(this.get(q), q, this)); } return n; }; h.prototype.reduce = function (m, n) { - for (var r = 0; r < this.length; ++r) { - n = m(n, this.get(r), r, this); + for (var q = 0; q < this.length; ++q) { + n = m(n, this.get(q), q, this); } return n; }; @@ -81741,73 +81700,73 @@ a000.D9b = function () { l.trace("StreamFragments: " + this.length); for (var m = 0; m < this.length; ++m) { n = this.get(m); - l.trace("StreamFragments: " + m + ": [" + n.Z + "-" + n.Aa + "] @ " + n.offset + ", " + n.ca + " bytes"); + l.trace("StreamFragments: " + m + ": [" + n.X + "-" + n.Ca + "] @ " + n.offset + ", " + n.da + " bytes"); } }; - h.prototype.unb = function () { + h.prototype.vnb = function () { var m, n, - r, + q, p, - t; + u; m = 0; - n = this.Oc.mYa; - r = this.Oc.uq; - p = this.Po; + n = this.Oc.jYa; + q = this.Oc.wq; + p = this.Qo; if (void 0 === n || n >= this.length) { - for (var u = 0; u < this.length; ++u) { - t = p[u] / r[u]; - t > m && (m = t, n = u); + for (var t = 0; t < this.length; ++t) { + u = p[t] / q[t]; + u > m && (m = u, n = t); } - void 0 === this.Oc.mYa && (this.Oc.mYa = n); + void 0 === this.Oc.jYa && (this.Oc.jYa = n); } else - m = p[n] / r[n]; + m = p[n] / q[n]; return Math.floor(m * this.U / 125); }; - h.prototype.aca = function () { + h.prototype.Vba = function () { for (var m = 0, n = 0; n < this.length; ++n) { - m += this.Po[n]; + m += this.Qo[n]; } - return this.VKa = m; + return this.TKa = m; }; - h.prototype.Bfb = function () { - return this.Nda = new k.qba(this.Oc.uq, this.Po, this.Oc.U); + h.prototype.Cfb = function () { + return this.Hda = new k.kba(this.Oc.wq, this.Qo, this.Oc.U); }; - h.prototype.lfb = function () { - if (!this.Dh) { - for (var m = d ? new Float64Array(Math.ceil(this.length / this.uJ)) : Array(Math.ceil(this.length / this.uJ)), n = this.ve, r = 0; r < m.length; ++r) { - m[r] = n; - for (var p = 0; p < this.uJ; ++p) { - n += this.Po[r * this.uJ + p]; + h.prototype.mfb = function () { + if (!this.Ch) { + for (var m = d ? new Float64Array(Math.ceil(this.length / this.wJ)) : Array(Math.ceil(this.length / this.wJ)), n = this.xe, q = 0; q < m.length; ++q) { + m[q] = n; + for (var p = 0; p < this.wJ; ++p) { + n += this.Qo[q * this.wJ + p]; } } - this.Dh = m; + this.Ch = m; } - return this.Dh; + return this.Ch; }; return h; })(); - b.FGa = q; - q.prototype.Z3a = a.qv(q.prototype.Zi); - a.qv(q.prototype.LS); - a.qv(q.prototype.fd); - a.qv(q.prototype.Gd); - a.qv(q.prototype.H3a); - a.qv(q.prototype.get); - }, function (q, b, a) { + b.BGa = r; + r.prototype.$3a = a.wv(r.prototype.Wi); + a.wv(r.prototype.KS); + a.wv(r.prototype.gd); + a.wv(r.prototype.Fd); + a.wv(r.prototype.I3a); + a.wv(r.prototype.get); + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.ec(); - this.Sb = 1 === this.version ? this.oi([{ + this.ic(); + this.Vb = 1 === this.version ? this.oi([{ creationTime: "int64" }, { modificationTime: "int64" @@ -81828,41 +81787,41 @@ a000.D9b = function () { ]); return !0; }; - k.Lb = "mvhd"; + k.Mb = "mvhd"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "trak"; + k.Mb = "trak"; k.Ka = !0; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var l; - this.ec(); + this.ic(); l = 1 === this.version ? [{ creationTime: "int64" }, { @@ -81892,9 +81851,9 @@ a000.D9b = function () { offset: 64, type: "offset" }, { - gGb: "int16" + iGb: "int16" }, { - glb: "int16" + hlb: "int16" }, { volume: "int16" }, { @@ -81908,123 +81867,123 @@ a000.D9b = function () { }, { height: "int32" }); - this.Sb = this.oi(l); - this.Sb.BVb = !!(this.flags & 1); - this.Sb.CVb = !!(this.flags & 2); - this.Sb.DVb = !!(this.flags & 4); - this.Sb.EVb = !!(this.flags & 8); + this.Vb = this.oi(l); + this.Vb.DVb = !!(this.flags & 1); + this.Vb.EVb = !!(this.flags & 2); + this.Vb.FVb = !!(this.flags & 4); + this.Vb.GVb = !!(this.flags & 8); this.u.console.trace("Finished parsing track box"); return !0; }; - k.Lb = "tkhd"; + k.Mb = "tkhd"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.ec(); - this.Sb = this.oi(1 === this.version ? [{ - I2: "int64" + this.ic(); + this.Vb = this.oi(1 === this.version ? [{ + J2: "int64" } ] : [{ - I2: "int32" + J2: "int32" } ]); return !0; }; - k.Lb = "mehd"; + k.Mb = "mehd"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Sb = this.oi([{ - dDb: "int32" + this.Vb = this.oi([{ + gDb: "int32" }, { - KXb: "int32" + MXb: "int32" } ]); return !0; }; - k.Lb = "pasp"; + k.Mb = "pasp"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Sb = this.oi([{ - Xmb: "int32" + this.Vb = this.oi([{ + Ymb: "int32" }, { maxBitrate: "int32" }, { - ffa: "int32" + Zea: "int32" } ]); return !0; }; - k.Lb = "btrt"; + k.Mb = "btrt"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.u.ll(); - this.u.ll(); - for (this.VE = []; this.u.offset <= this.byteOffset + this.byteLength - 4; ) { - this.VE.push(this.u.ll()); + this.u.kl(); + this.u.kl(); + for (this.XE = []; this.u.offset <= this.byteOffset + this.byteLength - 4; ) { + this.XE.push(this.u.kl()); } return !0; }; - k.Lb = "ftyp"; + k.Mb = "ftyp"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -82032,17 +81991,17 @@ a000.D9b = function () { }); c = a(2); f = a(82); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.Sb = this.oi([{ - jNb: "int32" + this.ic(); + this.Vb = this.oi([{ + nNb: "int32" }, { - IT: "int32" + GT: "int32" }, { offset: 96, type: "offset" @@ -82050,15 +82009,15 @@ a000.D9b = function () { name: "string" } ]); - this.Sb.IT = f.qn(this.Sb.IT); + this.Vb.GT = f.pn(this.Vb.GT); return !0; }; - l.Lb = "hdlr"; + l.Mb = "hdlr"; l.Ka = !1; return l; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c, f, k, @@ -82069,9 +82028,9 @@ a000.D9b = function () { }); c = a(2); f = a(97); - k = a(230); + k = a(231); l = a(173); - q = a(31); + r = a(31); d = a(83); a = (function (g) { function h() { @@ -82079,83 +82038,83 @@ a000.D9b = function () { } c.__extends(h, g); h.prototype.parse = function () { - this.ec(); - this.Ml = this.u.ta(); + this.ic(); + this.Ll = this.u.ta(); return !0; }; - h.prototype.Ds = function (m) { + h.prototype.Hs = function (m) { var n; - n = Object.keys(this.Sa); - n.length && (n = n[0], this.Sa[n].length && (n = this.Sa[n][0], n instanceof l.default ? this.pa = new k.S(n.hy, n.samplerate) : n instanceof d.default && (n = n.Sa[f.yD]) && n.length && (n = n[0].Sb, 1E3 !== n.Tx && 1001 !== n.Tx || 0 !== n.lG % 1E3 ? this.u.console.warn("Unexpected frame rate in NetflixFrameRateBox: " + n.lG + "/" + n.Tx) : this.pa = new k.S(n.Tx, n.lG)), this.pa && (m.pa = this.pa))); + n = Object.keys(this.Ta); + n.length && (n = n[0], this.Ta[n].length && (n = this.Ta[n][0], n instanceof l.default ? this.pa = new k.S(n.my, n.samplerate) : n instanceof d.default && (n = n.Ta[f.AD]) && n.length && (n = n[0].Vb, 1E3 !== n.Yx && 1001 !== n.Yx || 0 !== n.rG % 1E3 ? this.u.console.warn("Unexpected frame rate in NetflixFrameRateBox: " + n.rG + "/" + n.Yx) : this.pa = new k.S(n.Yx, n.rG)), this.pa && (m.pa = this.pa))); return !0; }; - h.prototype.WV = function (m) { - void 0 !== this.Sa[m] && 0 !== this.Sa[m].length && (this.ia.Gg(this.Ml - 1, this.byteOffset + 12), m = this.Sa[m][0], this.re(m.byteLength, m.byteOffset)); + h.prototype.VV = function (m) { + void 0 !== this.Ta[m] && 0 !== this.Ta[m].length && (this.ja.Eg(this.Ll - 1, this.byteOffset + 12), m = this.Ta[m][0], this.te(m.byteLength, m.byteOffset)); }; - h.Lb = "stsd"; + h.Mb = "stsd"; h.Ka = !0; return h; - })(q.kc); + })(r.mc); b.default = a; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.kja = this.u.dc(2); - this.rfa = this.u.dc(5); - this.sfa = this.u.dc(3); - this.gea = this.u.dc(3); - this.u.dc(1); - this.u.dc(5); - this.u.dc(5); + this.dja = this.u.ec(2); + this.kfa = this.u.ec(5); + this.lfa = this.u.ec(3); + this.aea = this.u.ec(3); + this.u.ec(1); + this.u.ec(5); + this.u.ec(5); return !0; }; - k.Lb = "dac3"; + k.Mb = "dac3"; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var d; - this.Doa = this.u.Dc() & 7; - this.Msa = []; - for (var l = 0; l < this.Doa; l++) { + this.yoa = this.u.Gc() & 7; + this.Hsa = []; + for (var l = 0; l < this.yoa; l++) { d = { - kja: this.u.dc(2), - rfa: this.u.dc(5), - sfa: this.u.dc(5), - gea: this.u.dc(3), - iGb: this.u.dc(1), - Coa: this.u.dc(4) + dja: this.u.ec(2), + kfa: this.u.ec(5), + lfa: this.u.ec(5), + aea: this.u.ec(3), + kGb: this.u.ec(1), + xoa: this.u.ec(4) }; - 0 < d.Coa ? d.bob = this.u.dc(9) : this.u.dc(1); - this.Msa.push(d); + 0 < d.xoa ? d.cob = this.u.ec(9) : this.u.ec(1); + this.Hsa.push(d); } return !0; }; - k.Lb = "dec3"; + k.Mb = "dec3"; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -82163,31 +82122,31 @@ a000.D9b = function () { }); c = a(2); f = a(31); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.gW = this.u.ll(); - f.ka && this.u.console.trace("SchemeTypeBoxTranslator: " + this.gW); - "cenc" === this.gW && (this.u.offset -= 4, f.ka && this.u.console.trace("SchemeTypeBoxTranslator: writing type piff at offset " + this.u.offset), this.ia.AX("piff")); + this.ic(); + this.gW = this.u.kl(); + f.ia && this.u.console.trace("SchemeTypeBoxTranslator: " + this.gW); + "cenc" === this.gW && (this.u.offset -= 4, f.ia && this.u.console.trace("SchemeTypeBoxTranslator: writing type piff at offset " + this.u.offset), this.ja.zX("piff")); this.u.ta(); return !0; }; - l.Lb = "schm"; + l.Mb = "schm"; l.Ka = !1; return l; - })(f.kc); - b.default = q; - }, function (q, b, a) { + })(f.mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } @@ -82195,115 +82154,115 @@ a000.D9b = function () { k.prototype.parse = function () { var l; this.u.cb(); - this.l9 = this.u.cb(); + this.g9 = this.u.cb(); this.u.cb(); this.u.cb(); this.u.cb(); - this.AW = this.nE(this.u.cb() & 31); - this.nE(this.u.cb()); - this.cz = this.AW.length ? this.AW[0][0] : this.l9; - this.KQ = this.u.offset; - this.startOffset + this.length < this.u.offset && (100 === this.cz || 110 === this.cz || 122 === this.cz || 144 === this.cz) && (this.u.cb(), this.u.cb(), this.nE(this.u.cb())); - l = this.startOffset + this.length - this.KQ; - 0 < l && this.re(l, this.KQ); + this.zW = this.qE(this.u.cb() & 31); + this.qE(this.u.cb()); + this.fz = this.zW.length ? this.zW[0][0] : this.g9; + this.LQ = this.u.offset; + this.startOffset + this.length < this.u.offset && (100 === this.fz || 110 === this.fz || 122 === this.fz || 144 === this.fz) && (this.u.cb(), this.u.cb(), this.qE(this.u.cb())); + l = this.startOffset + this.length - this.LQ; + 0 < l && this.te(l, this.LQ); return !0; }; - k.prototype.nE = function (l) { + k.prototype.qE = function (l) { var h; for (var d = [], g = 0; g < l; ++g) { - h = this.u.Dc(); - d.push(this.u.gz(h)); + h = this.u.Gc(); + d.push(this.u.jz(h)); } return d; }; - k.Lb = "avcC"; + k.Mb = "avcC"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.prototype.Ds = function () { + k.prototype.Hs = function () { var l; l = this.$k("esds"); - if (l = l && l.d$.$k(5)) - this.hy = l.hy; + if (l = l && l.Y9.$k(5)) + this.my = l.my; return !0; }; - k.Lb = "mp4a"; + k.Mb = "mp4a"; k.Ka = !0; return k; })(a(173).default); - b.default = q; - }, function (q, b, a) { + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - f = a(232); - q = (function (k) { + f = a(233); + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.d$ = f.GO.MV(this.u); + this.ic(); + this.Y9 = f.GO.LV(this.u); return !0; }; - l.Lb = "esds"; + l.Mb = "esds"; l.Ka = !1; return l; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = a(97); + r = a(97); a = a(31); - f = q.yD; + f = r.AD; a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.Sb = this.oi([{ - lG: "int32" + this.ic(); + this.Vb = this.oi([{ + rG: "int32" }, { - Tx: "int16" + Yx: "int16" } ]); return !0; }; - l.Lb = f; + l.Mb = f; l.Ka = !1; return l; - })(a.kc); + })(a.mc); b.default = a; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } @@ -82314,44 +82273,44 @@ a000.D9b = function () { g, h, m; - this.ec(); + this.ic(); l = this.oi([{ - qH: "int32" + yH: "int32" }, { - nS: "int32" + mS: "int32" }, { - Qx: "int32" + Vx: "int32" }, { - Sx: "int32" + Xx: "int32" }, { - Rx: "int32" + Wx: "int32" } ]); - d = l.qH; - g = l.nS; - h = l.Qx; - m = l.Rx; - l = l.Sx; - this.Sb = { + d = l.yH; + g = l.mS; + h = l.Vx; + m = l.Wx; + l = l.Xx; + this.Vb = { trackId: d, - ntb: g, - Px: h, - otb: m, - ptb: l + ptb: g, + Ux: h, + qtb: m, + rtb: l }; - this.qH = d; - this.nS = g; - this.Qx = h; - this.Sx = l; - this.Rx = m; + this.yH = d; + this.mS = g; + this.Vx = h; + this.Xx = l; + this.Wx = m; return !0; }; - k.Lb = "trex"; + k.Mb = "trex"; k.Ka = !1; return k; - })(a(31).kc); - b.default = q; - }, function (q, b, a) { + })(a(31).mc); + b.default = r; + }, function (r, b, a) { var c, f, k, @@ -82361,204 +82320,204 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; + t; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - f = a(831); - k = a(236); + f = a(833); + k = a(237); l = a(147); - d = a(230); + d = a(231); g = a(31); - q = a(393); - h = a(394); - m = a(396); + r = a(397); + h = a(398); + m = a(400); n = a(148); - r = a(229); + q = a(230); p = a(97); - u = a(397); + t = a(401); a = (function () { - function t(w, v, x, y, z, B) { + function u(w, v, x, y, z, A) { this.console = w; this.stream = v; - this.rh = y; - this.vea = z; + this.qh = y; + this.pea = z; this.view = x instanceof ArrayBuffer ? new DataView(x) : new DataView(x.data, x.offset, x.length); - this.config = B || ({}); - this.YUa = n.Eja(); + this.config = A || ({}); + this.YUa = n.xja(); } - t.path = function (w, v) { + u.path = function (w, v) { return v.reduce(function (x, y) { - return x && x.Sa[y] && x.Sa[y][0]; + return x && x.Ta[y] && x.Ta[y][0]; }, w); }; - t.Vja = function (w) { - return w && w.VE && -1 !== w.VE.indexOf("mcl0") ? "mcl0" : void 0; + u.Pja = function (w) { + return w && w.XE && -1 !== w.XE.indexOf("mcl0") ? "mcl0" : void 0; }; - t.Iia = function (w, v) { + u.Bia = function (w, v) { var x, y; l.assert("mcl0" === w, "Unsupported McClearen brand"); x = v.Y; - w = x.fd; - v = new d.S(120, 1).Vf(x.U).Wb; + w = x.gd; + v = new d.S(120, 1).Wf(x.U).Zb; y = 0; - for (x = x.Bk; y < w.length && x < v; ) { + for (x = x.Ck; y < w.length && x < v; ) { x += w[y++]; } return y; }; - t.prototype.parse = function (w) { + u.prototype.parse = function (w) { var v; - v = this.tra(); + v = this.nra(); if (!v.done) { - if (v.RU) + if (v.QU) return { - Wm: !1, - FLa: v.RU + Vm: !1, + ELa: v.QU }; this.console.error("Scan error: " + v.error); return { - Wm: !1, + Vm: !1, parseError: v.error || "unknown mp4 scan error" }; } v = this.view.buffer.slice(this.view.byteOffset, this.view.byteOffset + v.offset); this.view = new DataView(v); - w = this.cpa(w); - return w.done ? this.Ega() : (this.console.error("Parse error: " + w.error), { - Wm: !1, + w = this.Yoa(w); + return w.done ? this.yga() : (this.console.error("Parse error: " + w.error), { + Vm: !1, parseError: w.error || "unknown mp4 parse error" }); }; - t.prototype.Em = function (w) { - return g.kc.Em(this, w); + u.prototype.Cm = function (w) { + return g.mc.Cm(this, w); }; - t.prototype.$k = function (w) { - return g.kc.$k(this, w); + u.prototype.$k = function (w) { + return g.mc.$k(this, w); }; - t.prototype.tra = function () { + u.prototype.nra = function () { var w, v; - w = new u.y$(this.rh, this.vea ? [p.Dw, p.Cw] : [], this.config && this.config.SUb || ["moof", p.qP], this.config && this.config.pV); + w = new t.q$(this.qh, this.pea ? [p.Jw, p.Iw] : [], this.config && this.config.UUb || ["moof", p.rP], this.config && this.config.oV); v = c.__assign(c.__assign({}, this.config), { - pG: !1 + vG: !1 }); - return new m.bD(t.LG, w, this.view, this.console, v).parse(); + return new m.dD(u.TG, w, this.view, this.console, v).parse(); }; - t.prototype.cpa = function (w) { + u.prototype.Yoa = function (w) { var v, x, y; - v = new u.CO(this.view.byteLength); - x = Object.create(r.Cp.Sa); - this.config && ((this.config.n6 || this.config.q8 || this.config.IC) && f(r.Cp.JG, x), this.config.r8 && f(r.Cp.ota, x), this.config.q8 && f(r.Cp.aX, x)); + v = new t.CO(this.view.byteLength); + x = Object.create(q.Ep.Ta); + this.config && ((this.config.n6 || this.config.m8 || this.config.KC) && f(q.Ep.QG, x), this.config.n8 && f(q.Ep.jta, x), this.config.m8 && f(q.Ep.$W, x)); y = c.__assign(c.__assign({}, this.config), { - pG: !0 + vG: !0 }); - this.$b = new m.bD(x, v, this.view, this.console, y); - w = this.$b.parse(w); - w.done && (this.Sa = this.$b.Sa); + this.ac = new m.dD(x, v, this.view, this.console, y); + w = this.ac.parse(w); + w.done && (this.Ta = this.ac.Ta); return w; }; - t.prototype.Ega = function () { + u.prototype.yga = function () { var w, v, x, y, z, - B; + A; w = { - Wm: !0 + Vm: !0 }; - v = t.path(this, ["moov"]); - x = t.path(v, ["trak", "mdia", "minf", "stbl", "stsd"]); + v = u.path(this, ["moov"]); + x = u.path(v, ["trak", "mdia", "minf", "stbl", "stsd"]); if (this.config.n6) if (x) - (w.pa = x.pa, w.PQb = x.Sa); + (w.pa = x.pa, w.UQb = x.Ta); else return { - Wm: !1, + Vm: !1, parseError: "Missing sample descriptions" }; - y = t.path(x, ["encv", "sinf", "schi"]); - y && (y = t.path(y, ["tenc"]) || t.path(y, [p.vP])) && (w.$Qa = { - Dpb: y.Li, - PF: y.PF, - GFb: !1 + y = u.path(x, ["encv", "sinf", "schi"]); + y && (y = u.path(y, ["tenc"]) || u.path(y, [p.wP])) && (w.ZQa = { + Epb: y.Ji, + VF: y.VF, + JFb: !1 }); - if (y = t.path(v, ["trak", "mdia", "mdhd"])) + if (y = u.path(v, ["trak", "mdia", "mdhd"])) w.U = y.U; - if (y = t.path(v, ["mvex", "trex"])) - w.Px = y && y.Sb.Px; - w.Px && w.U && (w.pa = new d.S(w.Px, w.U)); - if (y = t.path(this, ["sidx"])) { - z = t.path(this, [p.Dw]); - z = z && z.Hna; - B = t.path(this, [p.Cw]); - B = B && B.Eh; + if (y = u.path(v, ["mvex", "trex"])) + w.Ux = y && y.Vb.Ux; + w.Ux && w.U && (w.pa = new d.S(w.Ux, w.U)); + if (y = u.path(this, ["sidx"])) { + z = u.path(this, [p.Jw]); + z = z && z.Bna; + A = u.path(this, [p.Iw]); + A = A && A.Dh; w.Y = y.Y; - w.eG = z; - w.Eh = B; + w.kG = z; + w.Dh = A; } - if (z = this.Sa.vmaf && this.Sa.vmaf[0]) - w.Er = z.Er; - if (this.config.j2a) + if (z = this.Ta.vmaf && this.Ta.vmaf[0]) + w.Hr = z.Hr; + if (this.config.i2a) if (v) - (this.trim(v.byteOffset + v.byteLength), this.config.IC && x && 1 < x.Ml && y && (w.zg = this.IC(x, y)), void 0 === w.zg && (v = this.$b.$x ? k.concat(this.$b.na()) : this.view.buffer, w.zg = [{ + (this.trim(v.byteOffset + v.byteLength), this.config.KC && x && 1 < x.Ll && y && (w.yg = this.KC(x, y)), void 0 === w.yg && (v = this.ac.ey ? k.concat(this.ac.na()) : this.view.buffer, w.yg = [{ kf: 0, data: v } ])); else return { - Wm: !1, + Vm: !1, parseError: "Missing movie box" }; - w.Wm = !0; - w.qV = this.$b.offset; + w.Vm = !0; + w.pV = this.ac.offset; return w; }; - t.prototype.trim = function (w) { + u.prototype.trim = function (w) { var v; v = this.view.buffer.slice(this.view.byteOffset, this.view.byteOffset + Math.min(w, this.view.byteLength)); - this.$b.trim(w); + this.ac.trim(w); this.view = new DataView(v); }; - t.prototype.IC = function (w, v) { + u.prototype.KC = function (w, v) { var x, y, z; - x = Object.keys(w.Sa); - y = x.filter(function (B) { - return "encv" !== B; + x = Object.keys(w.Ta); + y = x.filter(function (A) { + return "encv" !== A; }); if (!(2 > x.length || y.length === x.length || 0 === y.length)) { - x = t.path(this, ["ftyp"]); - z = t.Vja(x); + x = u.path(this, ["ftyp"]); + z = u.Pja(x); if (z) - return (x = [], this.$b.fqa(), w.WV("encv"), x.push({ + return (x = [], this.ac.$pa(), w.VV("encv"), x.push({ kf: 0, kk: !1, - data: k.concat(this.$b.na()) - }), this.$b.Kpa(), w.WV(y[0]), w = t.Iia(z, v), x.push({ + data: k.concat(this.ac.na()) + }), this.ac.Fpa(), w.VV(y[0]), w = u.Bia(z, v), x.push({ kf: w, kk: !0, - data: k.concat(this.$b.na()) + data: k.concat(this.ac.na()) }), x); } }; - t.LG = {}; - return t; + u.TG = {}; + return u; })(); - b.Nr = a; - a.LG[p.zD] = q.default; - a.LG[p.AD] = h.default; - }, function (q) { - q.exports = function f(a, c) { + b.Qr = a; + a.TG[p.BD] = r.default; + a.TG[p.CD] = h.default; + }, function (r) { + r.exports = function f(a, c) { var k; a.__proto__ && a.__proto__ !== Object.prototype && f(a.__proto__, c); Object.getOwnPropertyNames(a).forEach(function (l) { @@ -82566,7 +82525,7 @@ a000.D9b = function () { void 0 !== k && Object.defineProperty(c, l, k); }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -82577,17 +82536,17 @@ a000.D9b = function () { }); c = a(2); f = a(147); - k = a(236); + k = a(237); l = a(82); - q = a(833); + r = a(835); d = (function () { function g(h) { - h ? (this.qf = h.qf.slice(), this.Hg = h.Hg.slice(), this.Gd = h.Gd.slice(), this.trim = h.trim) : (this.qf = [], this.Hg = [], this.Gd = []); + h ? (this.qf = h.qf.slice(), this.Fg = h.Fg.slice(), this.Fd = h.Fd.slice(), this.trim = h.trim) : (this.qf = [], this.Fg = [], this.Fd = []); } Object.defineProperties(g.prototype, { empty: { get: function () { - return 0 === this.qf.length && 0 === this.Hg.length && 0 === this.Gd.length; + return 0 === this.qf.length && 0 === this.Fg.length && 0 === this.Fd.length; }, enumerable: !0, configurable: !0 @@ -82595,28 +82554,28 @@ a000.D9b = function () { }); return g; })(); - q = (function (g) { - function h(m, n, r) { - m = g.call(this, m, n, r) || this; - m.DS = []; + r = (function (g) { + function h(m, n, q) { + m = g.call(this, m, n, q) || this; + m.CS = []; m.ab = new d(); return m; } c.__extends(h, g); - h.Nea = function (m, n) { + h.Gea = function (m, n) { if (n.offset + n.size <= m.byteLength) switch (n.size) { case 1: m.setUint8(n.offset, n.value); break; case 2: - n.Nt ? m.setInt16(n.offset, n.value) : m.setUint16(n.offset, n.value); + n.St ? m.setInt16(n.offset, n.value) : m.setUint16(n.offset, n.value); break; case 4: - n.Nt ? m.setInt32(n.offset, n.value) : m.setUint32(n.offset, n.value); + n.St ? m.setInt32(n.offset, n.value) : m.setUint32(n.offset, n.value); break; case 8: - f.assert(!n.Nt); + f.assert(!n.St); m.setUint32(n.offset, Math.floor(n.value / 4294967296)); m.setUint32(n.offset + 4, n.value & 4294967295); break; @@ -82625,7 +82584,7 @@ a000.D9b = function () { } }; Object.defineProperties(h.prototype, { - $x: { + ey: { get: function () { return !this.ab.empty; }, @@ -82633,62 +82592,62 @@ a000.D9b = function () { configurable: !0 } }); - h.prototype.Oz = function (m, n) { - this.ab.Hg.push({ + h.prototype.Qz = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 1 }); void 0 === n && (this.offset += 1); }; - h.prototype.mua = function (m, n) { - this.ab.Hg.push({ + h.prototype.jua = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 2, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 2); }; - h.prototype.Gg = function (m, n) { - this.ab.Hg.push({ + h.prototype.Eg = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 4, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 4); }; - h.prototype.nua = function (m, n) { - this.ab.Hg.push({ + h.prototype.kua = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 8, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 8); }; - h.prototype.AX = function (m) { - this.Gg(l.fQ(m)); + h.prototype.zX = function (m) { + this.Eg(l.gQ(m)); }; - h.prototype.BH = function (m, n) { - this.ab.Gd.push({ + h.prototype.JH = function (m, n) { + this.ab.Fd.push({ offset: this.offset, Sk: m, value: n }); this.offset += 4; }; - h.prototype.re = function (m, n, r) { + h.prototype.te = function (m, n, q) { this.ab.qf.push({ offset: n, remove: m, - $a: r + $a: q }); }; - h.prototype.Et = function (m, n, r, p) { + h.prototype.Jt = function (m, n, q, p) { this.ab.qf.push({ - offset: r, + offset: q, remove: m, replace: n, $a: p @@ -82697,59 +82656,59 @@ a000.D9b = function () { h.prototype.trim = function (m) { this.ab.trim = m; }; - h.prototype.fqa = function () { - this.DS.push(new d(this.ab)); + h.prototype.$pa = function () { + this.CS.push(new d(this.ab)); }; - h.prototype.Kpa = function () { - this.ab = this.DS.pop() || new d(); + h.prototype.Fpa = function () { + this.ab = this.CS.pop() || new d(); }; h.prototype.na = function () { var m, n, - r, + q, p, - u, t, + u, w; m = this; - if (0 === this.ab.qf.length && 0 === this.ab.Hg.length && 0 === this.ab.Gd.length) + if (0 === this.ab.qf.length && 0 === this.ab.Fg.length && 0 === this.ab.Fd.length) return [void 0 === this.ab.trim ? this.view.buffer : this.view.buffer.slice(0, this.ab.trim)]; this.ab.qf.sort(function (v, x) { return v.offset - x.offset; }); - this.ab.Hg.sort(function (v, x) { + this.ab.Fg.sort(function (v, x) { return v.offset - x.offset; }); - this.fra(); - n = this.Fia(); - r = this.view.buffer.slice(0, n); - p = new DataView(r); - this.ab.Hg.forEach(h.Nea.bind(void 0, p)); - this.Jta(p); - this.Hta(p); - u = []; - t = void 0 !== this.ab.trim ? Math.min(this.ab.trim, this.view.byteLength) : this.view.byteLength; + this.Zqa(); + n = this.yia(); + q = this.view.buffer.slice(0, n); + p = new DataView(q); + this.ab.Fg.forEach(h.Gea.bind(void 0, p)); + this.Dta(p); + this.Bta(p); + t = []; + u = void 0 !== this.ab.trim ? Math.min(this.ab.trim, this.view.byteLength) : this.view.byteLength; w = 0; this.ab.qf.filter(function (v) { - return v.offset <= t; + return v.offset <= u; }).forEach(function (v) { - v.offset > w && (u.push(p.buffer.slice(w, v.offset)), v.offset > p.byteLength && p !== m.view && (p = m.view, u.push(p.buffer.slice(n, v.offset)))); - v.replace && u.push(v.replace); + v.offset > w && (t.push(p.buffer.slice(w, v.offset)), v.offset > p.byteLength && p !== m.view && (p = m.view, t.push(p.buffer.slice(n, v.offset)))); + v.replace && t.push(v.replace); w = v.offset + v.remove; }); - w < n && u.push(r.slice(w)); - w < t && u.push(this.view.buffer.slice(Math.max(r.byteLength, w), t)); - return u; + w < n && t.push(q.slice(w)); + w < u && t.push(this.view.buffer.slice(Math.max(q.byteLength, w), u)); + return t; }; - h.prototype.Fia = function () { + h.prototype.yia = function () { var m, n, - r; + q; m = []; - n = this.ab.Hg[this.ab.Hg.length - 1]; - r = this.ab.Gd[this.ab.Gd.length - 1]; + n = this.ab.Fg[this.ab.Fg.length - 1]; + q = this.ab.Fd[this.ab.Fd.length - 1]; n && m.push(n.offset + n.size); - r && m.push(r.offset + 4); + q && m.push(q.offset + 4); this.ab.qf.filter(function (p) { return p.$a; }).forEach(function (p) { @@ -82758,53 +82717,53 @@ a000.D9b = function () { n = Math.max.apply(void 0, m); return void 0 !== this.ab.trim ? Math.min(n, this.ab.trim) : n; }; - h.prototype.fra = function () { + h.prototype.Zqa = function () { this.ab.qf = this.ab.qf.reduce(function (m, n) { - var r, + var q, p; if (0 === m.length) return (m.push(n), m); - r = m[m.length - 1]; - p = r.offset + r.remove; - n.offset >= p ? m.push(n) : n.offset + n.remove > p && (f.assert(r.$a === n.$a), r.remove += n.offset + n.remove - p, n.replace && (r.replace = r.replace ? k.concat(r.replace, n.replace) : n.replace)); + q = m[m.length - 1]; + p = q.offset + q.remove; + n.offset >= p ? m.push(n) : n.offset + n.remove > p && (f.assert(q.$a === n.$a), q.remove += n.offset + n.remove - p, n.replace && (q.replace = q.replace ? k.concat(q.replace, n.replace) : n.replace)); return m; }, []); }; - h.prototype.Jta = function (m) { + h.prototype.Dta = function (m) { var n; n = this; - this.ab.Gd.forEach(function (r) { + this.ab.Fd.forEach(function (q) { var p, - u, t, + u, w; p = m; - u = r.offset; + t = q.offset; n.ab.qf.some(function (v) { - return v.offset <= r.offset && v.replace && v.offset + v.replace.byteLength >= r.offset + 4 ? (p = new DataView(v.replace), u = r.offset - v.offset, !0) : !1; + return v.offset <= q.offset && v.replace && v.offset + v.replace.byteLength >= q.offset + 4 ? (p = new DataView(v.replace), t = q.offset - v.offset, !0) : !1; }); - t = r.Sk + (void 0 !== r.value ? r.value : p.getInt32(u)); + u = q.Sk + (void 0 !== q.value ? q.value : p.getInt32(t)); w = n.ab.qf.reduce(function (v, x) { - return x.offset > r.Sk && x.offset < t ? v + (x.remove - (x.replace ? x.replace.byteLength : 0)) : v; + return x.offset > q.Sk && x.offset < u ? v + (x.remove - (x.replace ? x.replace.byteLength : 0)) : v; }, 0); - p.setInt32(u, t - r.Sk - w); + p.setInt32(t, u - q.Sk - w); }); }; - h.prototype.Hta = function (m) { + h.prototype.Bta = function (m) { this.ab.qf.forEach(function (n) { - var r; - r = (n.remove || 0) - (n.replace ? n.replace.byteLength : 0); - if (0 !== r) + var q; + q = (n.remove || 0) - (n.replace ? n.replace.byteLength : 0); + if (0 !== q) for (n = n.$a; n; ) { - m.setUint32(n.byteOffset, m.getUint32(n.byteOffset) - r); + m.setUint32(n.byteOffset, m.getUint32(n.byteOffset) - q); n = n.parent; } }); }; return h; - })(q.Hba); - b.Gba = q; - }, function (q, b, a) { + })(r.Bba); + b.Aba = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -82813,25 +82772,25 @@ a000.D9b = function () { c = a(148); a(148); f = a(82); - q = (function () { + r = (function () { function k(l, d, g) { this.view = l; this.console = d; this.config = g; this.view = l; this.console = d; - this.Nm = this.zx = this.offset = 0; + this.Mm = this.Ex = this.offset = 0; } - k.prototype.Cja = function (l) { + k.prototype.vja = function (l) { return new DataView(this.view.buffer, this.view.byteOffset + this.offset, l); }; - k.prototype.dc = function (l) { - for (; this.Nm < l; ) { - this.zx = (this.zx << 8) + this.cb(); - this.Nm += 8; + k.prototype.ec = function (l) { + for (; this.Mm < l; ) { + this.Ex = (this.Ex << 8) + this.cb(); + this.Mm += 8; } - this.Nm -= l; - return this.zx >>> this.Nm & (1 << l) - 1; + this.Mm -= l; + return this.Ex >>> this.Mm & (1 << l) - 1; }; k.prototype.cb = function () { var l; @@ -82839,7 +82798,7 @@ a000.D9b = function () { this.offset += 1; return l; }; - k.prototype.Dc = function (l) { + k.prototype.Gc = function (l) { l = this.view.getUint16(this.offset, l); this.offset += 2; return l; @@ -82849,64 +82808,64 @@ a000.D9b = function () { this.offset += 4; return l; }; - k.prototype.AG = function () { + k.prototype.HG = function () { var l; l = this.view.getInt32(this.offset, void 0); this.offset += 4; return l; }; - k.prototype.kpa = function (l, d) { + k.prototype.fpa = function (l, d) { var g; g = this.view.getUint32(this.offset + (l ? 4 : 0), l); l = this.view.getUint32(this.offset + (l ? 0 : 4), l); d || 0 === (g & 4278190080) || this.console.warn("Warning: read unsigned value > 56 bits"); return 4294967296 * g + l; }; - k.prototype.Hd = function (l, d) { - l = this.kpa(l, d); + k.prototype.Gd = function (l, d) { + l = this.fpa(l, d); this.offset += 8; return l; }; - k.prototype.lpa = function (l, d) { + k.prototype.gpa = function (l, d) { var g; g = this.view.getInt32(this.offset + (l ? 4 : 0), l); l = this.view.getUint32(this.offset + (l ? 0 : 4), l); d || 0 === ((0 < g ? g : -g) & 4278190080) || this.console.warn("Warning: read signed value > 56 bits"); return 4294967296 * g + l; }; - k.prototype.sqa = function () { + k.prototype.mqa = function () { var l; - l = this.lpa(void 0, void 0); + l = this.gpa(void 0, void 0); this.offset += 8; return l; }; - k.prototype.ll = function () { - return f.qn(this.ta()); + k.prototype.kl = function () { + return f.pn(this.ta()); }; - k.prototype.iz = function () { + k.prototype.lz = function () { var d, g, h, m, n, - r; - function l(p, u) { - return ("000000" + p.toString(16)).slice(2 * -u); + q; + function l(p, t) { + return ("000000" + p.toString(16)).slice(2 * -t); } d = this.ta(!0); - g = this.Dc(!0); - h = this.Dc(!0); - m = this.Dc(); - n = this.Dc(); - r = this.ta(); - return [l(d, 4), l(g, 2), l(h, 2), l(m, 2), l(n, 2) + l(r, 4)].join("-"); - }; - k.prototype.pqa = function (l) { + g = this.Gc(!0); + h = this.Gc(!0); + m = this.Gc(); + n = this.Gc(); + q = this.ta(); + return [l(d, 4), l(g, 2), l(h, 2), l(m, 2), l(n, 2) + l(q, 4)].join("-"); + }; + k.prototype.jqa = function (l) { var d; d = this.view.byteOffset + this.offset; return this.view.buffer.slice(d, d + l); }; - k.prototype.nqa = function (l) { + k.prototype.hqa = function (l) { var d; d = []; if (0 === l) @@ -82918,35 +82877,35 @@ a000.D9b = function () { } return String.fromCharCode.apply(null, d); }; - k.prototype.gz = function (l) { + k.prototype.jz = function (l) { var d, g; void 0 === d && (d = 1); void 0 === g && (g = !0); - return this.ph(this.config.Iz && c.Hka || c.wp, 1, l, d, g); + return this.oh(this.config.Lz && c.Eka || c.yp, 1, l, d, g); }; - k.prototype.lqa = function (l, d, g) { + k.prototype.fqa = function (l, d, g) { var h; void 0 === d && (d = 2); void 0 === g && (g = !0); void 0 === h && (h = !1); - return this.ph(this.config.Iz && c.Fka || c.qy, 2, l, d, g, h); + return this.oh(this.config.Lz && c.Cka || c.sy, 2, l, d, g, h); }; - k.prototype.fz = function (l, d, g) { + k.prototype.iz = function (l, d, g) { var h; void 0 === d && (d = 4); void 0 === g && (g = !0); void 0 === h && (h = !1); - return this.ph(this.config.Iz && c.Gka || c.Js, 4, l, d, g, h); + return this.oh(this.config.Lz && c.Dka || c.Ps, 4, l, d, g, h); }; - k.prototype.qqa = function () { + k.prototype.kqa = function () { for (var l = this.cb(), d = l & 127; l & 128; ) { l = this.cb(); d = d << 7 | l & 127; } return d; }; - k.prototype.ph = function (l, d, g, h, m, n) { + k.prototype.oh = function (l, d, g, h, m, n) { void 0 === m && (m = !0); void 0 === n && (n = !1); l = l(this.view, this.offset, g, h, n); @@ -82955,120 +82914,120 @@ a000.D9b = function () { }; return k; })(); - b.Hba = q; - }, function (q, b, a) { + b.Bba = r; + }, function (r, b, a) { var k, l, d, g; - function c(h, m, n, r) { - l.call(this, h, m, n, r); + function c(h, m, n, q) { + l.call(this, h, m, n, q); } function f(h, m, n) { l.call(this, h, m, n, void 0); } k = a(97); - l = a(237).lq; - d = a(395); - g = a(82).fQ; + l = a(238).nq; + d = a(399); + g = a(82).gQ; c.prototype = Object.create(l.prototype); f.prototype = Object.create(c.prototype); - f.prototype.Hca = function (h, m) { - return "string" === typeof m ? d[m] : m ? d.reset[h] || d.ssa[h] : d.ssa[h]; + f.prototype.Bca = function (h, m) { + return "string" === typeof m ? d[m] : m ? d.reset[h] || d.msa[h] : d.msa[h]; }; - f.prototype.Jqa = function (h, m, n) { + f.prototype.Dqa = function (h, m, n) { return this.na(h, m, !1, n, void 0); }; - f.prototype.Mqa = function (h, m, n) { + f.prototype.Gqa = function (h, m, n) { return this.na(h, m, !0, n, void 0); }; - f.prototype.na = function (h, m, n, r, p) { - var t, + f.prototype.na = function (h, m, n, q, p) { + var u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I; - function u(J) { - w = t[J]; - v = w.vh("traf"); - if (void 0 === v || void 0 === v.xj) + D, + F, + J; + function t(K) { + w = u[K]; + v = w.uh("traf"); + if (void 0 === v || void 0 === v.uj) return !1; - B = v.vh("tfdt"); - if (void 0 === B) + A = v.uh("tfdt"); + if (void 0 === A) return !1; - x = v.vh("trun"); + x = v.uh("trun"); return void 0 === x ? !1 : !0; } if (!this.parse().done) return !1; - t = this.Sa.moof; - if (!t || 0 === t.length) + u = this.Ta.moof; + if (!u || 0 === u.length) return !1; if (void 0 !== h) { y = h; - for (h = 0; h < t.length; ++h) { - if (!u(h, this.$b.console.trace)) + for (h = 0; h < u.length; ++h) { + if (!t(h, this.ac.console.trace)) return !1; - if (x.yb > y || n && x.yb === y) + if (x.Ab > y || n && x.Ab === y) break; - y -= x.yb; + y -= x.Ab; } - } else if ((h = n ? t.length - 1 : 0, !u(h, this.$b.console.trace))) + } else if ((h = n ? u.length - 1 : 0, !t(h, this.ac.console.trace))) return !1; - if (n && h < t.length - 1) { - z = t[h + 1]; - this.$b.re(this.Lsb - z.startOffset, z.startOffset); - } else !n && 0 < h && this.$b.re(w.startOffset, 0); - z = v.vh("tfhd"); + if (n && h < u.length - 1) { + z = u[h + 1]; + this.ac.te(this.Nsb - z.startOffset, z.startOffset); + } else !n && 0 < h && this.ac.te(w.startOffset, 0); + z = v.uh("tfhd"); if (void 0 === z) return !1; - B = v.vh("tfdt"); - A = x.yb; - C = v.vh("saiz"); - E = v.vh("saio"); - F = v.vh(k.uP); - D = v.vh("sbgp"); + A = v.uh("tfdt"); + B = x.Ab; + C = v.uh("saiz"); + E = v.uh("saio"); + G = v.uh(k.vP); + D = v.uh("sbgp"); if (!(!C && !E || C && E)) return !1; - G = v.vh("sdtp"); - if (this.Sa.mdat && h < this.Sa.mdat.length) - I = this.Sa.mdat[h]; - else if (h !== t.length - 1) + F = v.uh("sdtp"); + if (this.Ta.mdat && h < this.Ta.mdat.length) + J = this.Ta.mdat[h]; + else if (h !== u.length - 1) return !1; - void 0 === y && (y = n ? x.yb : 0); - if (x.na(v, z, I || this.$b, m, y, v.xj, n)) - x.$x && (!n && B && B.na(x.qsa), C && E && (C.na(x.Tp, n), E.na(F ? 0 : C.IG, v.xj, n)), F && F.na(x.Tp, n), G && G.na(x.Tp, A, n), D && D.na(x.Tp, n)); + void 0 === y && (y = n ? x.Ab : 0); + if (x.na(v, z, J || this.ac, m, y, v.uj, n)) + x.ey && (!n && A && A.na(x.ksa), C && E && (C.na(x.Wp, n), E.na(G ? 0 : C.PG, v.uj, n)), G && G.na(x.Wp, n), F && F.na(x.Wp, B, n), D && D.na(x.Wp, n)); else if (!n) { - if (h === t.length - 1) + if (h === u.length - 1) return !1; - this.$b.re(t[h + 1].startOffset - w.startOffset, w.startOffset); - } else if (0 === x.Tp) + this.ac.te(u[h + 1].startOffset - w.startOffset, w.startOffset); + } else if (0 === x.Wp) return !1; - r && (m = this.Hca(this.stream.profile, p)) && x.Oqa(v, z, I, n, r, m); - n = this.$b.na(); - r = n.reduce(function (J, H) { - return J + H.byteLength; + q && (m = this.Bca(this.stream.profile, p)) && x.Jqa(v, z, J, n, q, m); + n = this.ac.na(); + q = n.reduce(function (K, H) { + return K + H.byteLength; }, 0); n = { - gd: n, - length: r, - Vm: this.$b.view.byteLength + jd: n, + length: q, + Um: this.ac.view.byteLength }; - x.$x && !I && (n.Mp = v.xj + x.Mp, n.ri = x.ri); + x.ey && !J && (n.Pp = v.uj + x.Pp, n.ri = x.ri); return n; }; - q.exports = { - mq: f, - Ky: function (h) { + r.exports = { + oq: f, + Ny: function (h) { var m, n; m = new ArrayBuffer(8); @@ -83078,15 +83037,15 @@ a000.D9b = function () { return m; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(2); - q = a(237); - f = a(236); + r = a(238); + f = a(237); a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; @@ -83100,35 +83059,35 @@ a000.D9b = function () { g = this; if (!this.parse().done) return !1; - h = this.Sa.moov; + h = this.Ta.moov; if (!h || 0 === h.length) return !1; m = h[0].$k("tenc"); if (!m) return !1; - n = new Uint8Array(m.Li); - d.forEach(function (r) { - for (var p = r.from, u = !0, t = 0; t < p.length; t++) { - if (n[t] !== p[t]) { - u = !1; + n = new Uint8Array(m.Ji); + d.forEach(function (q) { + for (var p = q.from, t = !0, u = 0; u < p.length; u++) { + if (n[u] !== p[u]) { + t = !1; break; } } - u && g.$b.Et(r.from.length, r.to, m.PF); + t && g.ac.Jt(q.from.length, q.to, m.VF); }); - return f.concat(this.$b.na()); + return f.concat(this.ac.na()); }; return l; - })(q.lq); - b.bI = a; - }, function (q, b) { + })(r.nq); + b.jI = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = b.hm || (b.hm = {}); - q[q.Tb = 0] = "AUDIO"; - q[q.Hb = 1] = "VIDEO"; - }, function (q, b, a) { + r = b.gm || (b.gm = {}); + r[r.Ob = 0] = "AUDIO"; + r[r.Bb = 1] = "VIDEO"; + }, function (r, b, a) { var c, f, k, @@ -83138,10 +83097,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperties(b, { @@ -83149,63 +83108,61 @@ a000.D9b = function () { value: !0 } }); - b.mya = void 0; - q = a(2); + b.jya = void 0; + r = a(2); c = a(16); - f = q.__importStar(a(10)); - k = q.__importDefault(a(4)); + f = r.__importStar(a(10)); + k = r.__importDefault(a(5)); l = new k.default.Console("ASEJS_ERROR_DIRECTOR", "asejs"); - d = q.__importDefault(a(27)); - g = q.__importDefault(a(838)); - h = k.default.kq; - m = h.rY; + d = r.__importDefault(a(27)); + g = r.__importDefault(a(840)); + h = k.default.mq; + m = h.qY; n = {}; - r = {}; - a = [d.default.$g.Ew, !1]; - q = [d.default.$g.Ew, !0]; - p = [d.default.$g.KD, !1]; - u = [d.default.$g.KD, !0]; - t = [d.default.$g.URL, !0]; + q = {}; + a = [d.default.Yg.Kw, !1]; + r = [d.default.Yg.Kw, !0]; + p = [d.default.Yg.ND, !1]; + t = [d.default.Yg.ND, !0]; + u = [d.default.Yg.URL, !0]; w = [-1, !1]; - v = [d.default.$g.KD, !1]; - n[m.yYb] = p; + v = [d.default.Yg.ND, !1]; + n[m.AYb] = p; n[m.UNKNOWN_ERROR] = p; - n[m.Q0b] = p; - n[m.I9a] = p; - n[m.Twa] = p; - n[m.U9a] = p; - n[m.M9a] = u; - n[m.L8a] = u; - n[m.$va] = v; - n[m.Yva] = v; - n[m.M8a] = w; - n[m.N8a] = v; - n[m.O8a] = v; - n[m.I8a] = p; + n[m.R0b] = p; + n[m.K9a] = p; + n[m.Qwa] = p; + n[m.W9a] = p; + n[m.O9a] = t; + n[m.N8a] = t; + n[m.Xva] = v; + n[m.Vva] = v; + n[m.O8a] = w; + n[m.P8a] = v; + n[m.Q8a] = v; n[m.K8a] = p; - n[m.Zva] = a; - n[m.J8a] = p; - n[m.H8a] = v; - n[m.tZb] = u; - n[m.V$a] = v; - n[m.gza] = v; - n[m.fza] = v; - n[m.cza] = v; + n[m.M8a] = p; + n[m.Wva] = a; + n[m.L8a] = p; + n[m.J8a] = v; + n[m.uZb] = t; + n[m.Y$a] = v; + n[m.eza] = v; n[m.dza] = v; - n[m.U$a] = t; - n[m.t$] = u; - n[m.v$] = t; - n[m.u$] = q; - n[m.jza] = u; - n[m.X$a] = t; + n[m.aza] = v; + n[m.bza] = v; + n[m.X$a] = u; + n[m.l$] = t; + n[m.n$] = u; + n[m.m$] = r; + n[m.hza] = t; + n[m.$$a] = u; n[m.HY] = v; - n[m.hza] = u; - n[m.W$a] = u; - n[m.P9a] = u; - n[m.J9a] = p; - n[m.Odb] = p; - n[m.z9a] = p; - n[m.A9a] = p; + n[m.fza] = t; + n[m.Z$a] = t; + n[m.R9a] = t; + n[m.L9a] = p; + n[m.Rdb] = p; n[m.B9a] = p; n[m.C9a] = p; n[m.D9a] = p; @@ -83213,319 +83170,395 @@ a000.D9b = function () { n[m.F9a] = p; n[m.G9a] = p; n[m.H9a] = p; - n[m.K9a] = p; - n[m.L9a] = p; + n[m.I9a] = p; + n[m.J9a] = p; + n[m.M9a] = p; n[m.N9a] = p; - n[m.O9a] = p; + n[m.P9a] = p; n[m.Q9a] = p; - n[m.R9a] = p; n[m.S9a] = p; n[m.T9a] = p; + n[m.U9a] = p; n[m.V9a] = p; - n[m.W9a] = p; - n[m.Ndb] = v; + n[m.X9a] = p; + n[m.Y9a] = p; + n[m.Qdb] = v; n[m.TIMEOUT] = a; - r[m.$va] = !0; - r[m.gza] = !0; - r[m.fza] = !0; - r[m.dza] = !0; - r[m.Twa] = !0; + q[m.Xva] = !0; + q[m.eza] = !0; + q[m.dza] = !0; + q[m.bza] = !0; + q[m.Qwa] = !0; a = (function () { var x40; x40 = 2; + function x(y, z, A, B) { + var y40; + y40 = 2; + for (; y40 !== 10; ) { + switch (y40) { + case 2: + this.Pl = y; + this.config = z; + this.yCb = A; + this.Rq = B; + this.events = new c.EventEmitter(); + y40 = 9; + break; + case 13: + this.Bs = 0; + this.Usa = {}; + y40 = 11; + break; + case 11: + this.Ppa = new g.default(y, B, z); + y40 = 10; + break; + case 9: + var w3q = "ne"; + w3q += "tw"; + w3q += "orkFai"; + w3q += "le"; + w3q += "d"; + var g3q = "1"; + g3q += "S"; + g3q += "IY"; + g3q += "bZrNJCp"; + g3q += "9"; + this.zg = new c.xh(); + g3q; + n[m.aza] = z.oDb ? t : v; + this.zg.addListener(this.Pl, w3q, this.rCb.bind(this)); + this.KL = k.default.time.ba(); + y40 = 13; + break; + } + } + } for (; x40 !== 12; ) { switch (x40) { case 2: - x.prototype.wb = function () { + x.prototype.zb = function () { var z40; z40 = 2; for (; z40 !== 1; ) { switch (z40) { case 2: - this.Ag.clear(); + this.zg.clear(); + z40 = 1; + break; + case 4: + this.zg.clear(); + z40 = 9; + break; z40 = 1; break; } } }; - x.prototype.GC = function (y) { + x.prototype.IC = function (y) { var A40; A40 = 2; for (; A40 !== 1; ) { switch (A40) { - case 2: - this.I7 = y; - A40 = 1; - break; case 4: - this.I7 = y; + this.E7 = y; A40 = 8; break; A40 = 1; break; + case 2: + this.E7 = y; + A40 = 1; + break; } } }; - x.prototype.hr = function (y, z, B, A) { + x.prototype.jr = function (y, z, A, B) { var B40, + K, C, E, - F, - D, G, + D, + F, J, H, - M, - I; + L; B40 = 2; for (; B40 !== 15; ) { switch (B40) { - case 18: - var o3u = "Inval"; - o3u += "id affected f"; - o3u += "or netwo"; - o3u += "rk fa"; - o3u += "ilure"; - l.error(o3u); - B40 = 17; + case 13: + K = F.L2a(y.url); + B40 = 12; + break; + case 12: + K && (E[K] = [y.url]); + B40 = 11; + break; + case 4: + var P3q = " : cr"; + P3q += "i"; + P3q += "tical error count = "; + var o3q = " "; + o3q += "o"; + o3q += "n"; + o3q += " "; + var d3q = "Fa"; + d3q += "i"; + d3q += "lure "; + l.warn(d3q + G + o3q + JSON.stringify(y) + P3q + this.Bs); + B40 = 3; break; case 2: - (C = this, E = h.rY.name, F = B ? E[B] : void 0); + (C = this, E = h.qY.name, G = A ? E[A] : void 0); E = {}; - (D = this.config, G = this.Pl); + (D = this.config, F = this.Pl); B40 = 4; break; - case 19: - E = G.DRb(y.host, y.port); - B40 = 11; + case 14: + B40 = void 0 !== y.url ? 13 : 20; break; - case 13: - J = G.L2a(y.url); - B40 = 12; + case 9: + var l3q = "crit"; + l3q += "ica"; + l3q += "lNet"; + l3q += "w"; + l3q += "orkError"; + var Q3q = "c"; + Q3q += "riti"; + Q3q += "calNetwork"; + Q3q += "Error"; + J = n[A]; + this.Hy = { + LF: z, + Mg: A, + vRa: G, + Oi: B + }; + q[A] && (++this.Bs, this.events.emit(Q3q, { + type: l3q, + Mg: A + })); + B40 = 6; + break; + case 3: + B40 = A && f.isArray(n[A]) ? 9 : 16; + break; + case 6: + B40 = J !== w ? 14 : 15; + break; + case 17: + return; break; case 20: B40 = void 0 !== y.host && void 0 !== y.port ? 19 : 18; break; - case 14: - B40 = void 0 !== y.url ? 13 : 20; + case 19: + E = F.GRb(y.host, y.port); + B40 = 11; break; - case 16: - var b3u = "Unmapped failure code in J"; - b3u += "SA"; - b3u += "SE err"; - b3u += "or directo"; - b3u += "r : "; - a000.u9b(2); - l.error(a000.Q9b(b3u, B)); - B40 = 15; + case 18: + var S3q = "Invalid affec"; + S3q += "ted f"; + S3q += "or netw"; + S3q += "o"; + S3q += "rk failure"; + l.error(S3q); + B40 = 17; break; case 11: - (H = I[0], M = I[1]); - D.At ? f.forEach(E, function (O, L) { + (H = J[0], L = J[1]); + D.Et ? f.forEach(E, function (Q, I) { var C40; C40 = 2; for (; C40 !== 5; ) { switch (C40) { case 2: - var M3u = "e"; - M3u += "r"; - M3u += "r"; - M3u += "o"; - M3u += "r"; - I === v || I === p ? C.Vpa.WNb({ - url: void 0 !== y.url ? y.url : O[0], - Rc: L + var J3q = "e"; + J3q += "r"; + J3q += "r"; + J3q += "or"; + J === v || J === p ? C.Ppa.aOb({ + url: void 0 !== y.url ? y.url : Q[0], + Qc: I }, { - KLa: L, - eX: I, - GF: z, - Og: B, - wRa: F, - Ri: A - }) : O.some(function (P) { + JLa: I, + dX: J, + LF: z, + Mg: A, + vRa: G, + Oi: B + }) : Q.some(function (O) { var D40; D40 = 2; for (; D40 !== 5; ) { switch (D40) { case 2: - G.hr(H, M, P); - return H === d.default.$g.KD; + F.jr(H, L, O); + return H === d.default.Yg.ND; break; } } }); - !C.I7 || 0 !== z && void 0 !== z || (O = void 0 !== y.url ? y.url : O[0]) && C.I7.Ira(M3u, O); + !C.E7 || 0 !== z && void 0 !== z || (Q = void 0 !== y.url ? y.url : Q[0]) && C.E7.Bra(J3q, Q); C40 = 5; break; } } - }) : f.forEach(E, function (O, L) { + }) : f.forEach(E, function (Q, I) { var E40; E40 = 2; for (; E40 !== 5; ) { switch (E40) { case 1: - var r3u = "e"; - r3u += "r"; - r3u += "r"; - r3u += "o"; - r3u += "r"; - (O.some(function (P) { + var T3q = "e"; + T3q += "r"; + T3q += "r"; + T3q += "o"; + T3q += "r"; + (Q.some(function (O) { var F40; F40 = 2; for (; F40 !== 5; ) { switch (F40) { case 2: - G.hr(H, M, P); - return H === d.default.$g.KD; + F.jr(H, L, O); + return H === d.default.Yg.ND; break; } } - }), !C.I7 || 0 !== z && void 0 !== z || (O = void 0 !== y.url ? y.url : O[0]) && C.I7.Ira(r3u, O)); + }), !C.E7 || 0 !== z && void 0 !== z || (Q = void 0 !== y.url ? y.url : Q[0]) && C.E7.Bra(T3q, Q)); E40 = 5; break; case 2: - E40 = I !== v || C.XPb(L) ? 1 : 5; + E40 = J !== v || C.bQb(I) ? 1 : 5; break; } } }); B40 = 15; break; - case 4: - var u3u = " : cr"; - u3u += "itical e"; - u3u += "r"; - u3u += "ror count = "; - var D3u = " "; - D3u += "o"; - D3u += "n"; - D3u += " "; - var Q3u = "F"; - Q3u += "ailu"; - Q3u += "re"; - Q3u += " "; - l.warn(Q3u + F + D3u + JSON.stringify(y) + u3u + this.xs); - B40 = 3; - break; - case 6: - B40 = I !== w ? 14 : 15; - break; - case 9: - var A3u = "crit"; - A3u += "i"; - A3u += "ca"; - A3u += "lNetwor"; - A3u += "kError"; - var e3u = "criti"; - e3u += "calNetworkErro"; - e3u += "r"; - I = n[B]; - this.Ey = { - GF: z, - Og: B, - wRa: F, - Ri: A - }; - r[B] && (++this.xs, this.events.emit(e3u, { - type: A3u, - Og: B - })); - B40 = 6; - break; - case 3: - B40 = B && f.isArray(n[B]) ? 9 : 16; - break; - case 17: - return; - break; - case 12: - J && (E[J] = [y.url]); - B40 = 11; + case 16: + var r3q = "Unmapped failure code in JSAS"; + r3q += "E err"; + r3q += "or d"; + r3q += "irec"; + r3q += "tor : "; + a000.l1q(2); + l.error(a000.o1q(A, r3q)); + B40 = 15; break; } } }; - x40 = 4; - break; - case 13: - return x; - break; - case 4: - x.prototype.XPb = function (y) { + x.prototype.bQb = function (y) { var G40, z, - B, - A; + A, + B; G40 = 2; for (; G40 !== 7; ) { switch (G40) { - case 4: - (A.Tn = z, A.count = 1); - G40 = 7; - break; case 2: - (z = k.default.time.aa(), B = this.config, A = this.Zsa[y]); + (z = k.default.time.ba(), A = this.config, B = this.Usa[y]); G40 = 1; break; case 1: - G40 = A ? 5 : 8; + G40 = B ? 5 : 8; break; - case 5: - G40 = A.Tn < this.IL ? 4 : 3; + case 4: + (B.Vn = z, B.count = 1); + G40 = 7; break; - case 9: - return A.kz = !0; + case 5: + G40 = B.Vn < this.KL ? 4 : 3; break; case 3: - G40 = !(A.Tn >= z - B.d8 || A.kz || (A.Tn = z, ++A.count, A.count < B.e5)) ? 9 : 7; + G40 = !(B.Vn >= z - A.Z7 || B.nz || (B.Vn = z, ++B.count, B.count < A.e5)) ? 9 : 7; break; case 8: - this.Zsa[y] = { - Tn: z, + this.Usa[y] = { + Vn: z, count: 1 }; G40 = 7; break; + case 9: + return B.nz = !0; + break; } } }; - x.prototype.pCb = function (y) { + x.prototype.rCb = function (y) { var H40, - E, - F, - D, z, - B, A, - C; + B, + C, + E, + G, + D; H40 = 2; for (; H40 !== 7; ) { switch (H40) { + case 2: + var j3q = "N"; + j3q += "et"; + j3q += "work ha"; + j3q += "s fa"; + j3q += "iled "; + var Y3q = " "; + Y3q += "m"; + Y3q += "s "; + Y3q += "a"; + Y3q += "go"; + var a3q = "t"; + a3q += "em"; + a3q += "p"; + a3q += "orarily"; + var c3q = "per"; + c3q += "m"; + c3q += "an"; + c3q += "en"; + c3q += "tly"; + var U3q = " "; + U3q += "la"; + U3q += "st succe"; + U3q += "ss was "; + (z = this, A = k.default.time.ba() - this.KL, B = y, C = this.config); + a000.l1q(5); + l.warn(a000.P1q(U3q, y ? c3q : a3q, Y3q, j3q, A)); + !y && A > C.foa && (B = !0); + H40 = 4; + break; case 3: - (E = this.Ey.Og, F = this.Ey.GF, D = this.Ey.Ri); + (E = this.Hy.Mg, G = this.Hy.LF, D = this.Hy.Oi); H40 = 9; break; + case 4: + H40 = this.Hy ? 3 : 9; + break; case 9: - var l3u = "temporaryNetw"; - l3u += "or"; - l3u += "kError"; - var j3u = "te"; - j3u += "m"; - j3u += "po"; - j3u += "rary"; - j3u += "NetworkError"; - y || this.events.emit(j3u, { - type: l3u, + var O3q = "tempor"; + O3q += "aryNetw"; + O3q += "ork"; + O3q += "Error"; + var i3q = "temp"; + i3q += "ora"; + i3q += "r"; + i3q += "yNetworkError"; + y || this.events.emit(i3q, { + type: O3q, errorCode: E, - httpCode: F, + httpCode: G, nativeCode: D }); - A ? (this.aN && (clearTimeout(this.aN), this.aN = void 0), this.hOa(), this.Vpa.reset(), this.wCb({ - XEb: y, - uLb: E, - vLb: F, - wLb: D + B ? (this.aN && (clearTimeout(this.aN), this.aN = void 0), this.fOa(), this.Ppa.reset(), this.yCb({ + aFb: y, + wLb: E, + xLb: G, + yLb: D })) : this.aN || (this.aN = setTimeout(function () { var I40; I40 = 2; @@ -83533,376 +83566,282 @@ a000.D9b = function () { switch (I40) { case 2: z.aN = void 0; - z.c7(); + z.a7(); I40 = 5; break; } } - }, C.loa)); + }, C.goa)); H40 = 7; break; - case 4: - H40 = this.Ey ? 3 : 9; - break; - case 2: - var O3u = "te"; - O3u += "m"; - O3u += "por"; - O3u += "aril"; - O3u += "y"; - var m3u = "pe"; - m3u += "rman"; - m3u += "e"; - m3u += "nt"; - m3u += "ly"; - var Y3u = " m"; - Y3u += "s"; - Y3u += " "; - Y3u += "ag"; - Y3u += "o"; - var G3u = "N"; - G3u += "e"; - G3u += "twork has fa"; - G3u += "iled "; - var q3u = " last "; - q3u += "succe"; - q3u += "ss was "; - (z = this, B = k.default.time.aa() - this.IL, A = y, C = this.config); - a000.D9b(5); - l.warn(a000.r9b(q3u, G3u, B, Y3u, y ? m3u : O3u)); - !y && B > C.koa && (A = !0); - H40 = 4; - break; } } }; - x.prototype.c7 = function () { + x.prototype.a7 = function () { var J40; J40 = 2; for (; J40 !== 1; ) { switch (J40) { case 2: - this.aN || (this.Pl.c7(), this.Zsa = {}, this.Sq()); + this.aN || (this.Pl.a7(), this.Usa = {}, this.Rq()); J40 = 1; break; } } }; - x.prototype.y8 = function (y) { + x.prototype.u8 = function (y) { var K40, z; K40 = 2; for (; K40 !== 9; ) { switch (K40) { + case 1: + this.KL = Math.max(y.timestamp || k.default.time.ba(), this.KL); + this.fOa(); + z.Et && this.Ppa.u8(y); + K40 = 3; + break; case 3: - var W3u = "upda"; - W3u += "tingLastSuc"; - W3u += "ces"; - W3u += "s"; - W3u += "Event"; - var E3u = "up"; - E3u += "datin"; - E3u += "gLast"; - E3u += "Suc"; - E3u += "cessEvent"; - this.events.emit(E3u, { - type: W3u + var G3q = "updatingLas"; + G3q += "tSuc"; + G3q += "c"; + G3q += "essEvent"; + var R3q = "updatingLas"; + R3q += "t"; + R3q += "S"; + R3q += "uccessEvent"; + this.events.emit(R3q, { + type: G3q }); K40 = 9; break; case 2: z = this.config; - this.IL = Math.max(y.timestamp || k.default.time.aa(), this.IL); - K40 = 5; - break; - case 5: - this.hOa(); - z.At && this.Vpa.y8(y); - K40 = 3; + K40 = 1; break; } } }; - x.prototype.Poa = function () { + x40 = 7; + break; + case 7: + x.prototype.Koa = function () { var L40; L40 = 2; for (; L40 !== 1; ) { switch (L40) { case 2: - this.xs = 0; + this.Bs = 0; L40 = 1; break; } } }; - x.prototype.Ij = function () { + x.prototype.Hj = function () { var M40, y, z, - B; + A; M40 = 2; for (; M40 !== 4; ) { switch (M40) { case 2: - var I3u = "m"; - I3u += "s"; - var J3u = "Setting un"; - J3u += "derflow ti"; - J3u += "meout"; - J3u += " in "; - (y = this, z = this.config, B = z.Z4); - this.IL = Math.max(k.default.time.aa(), this.IL); - !z.l6a || this.fX || z.kX && z.AK && z.IJb || (l.info(J3u + B + I3u), this.fX = setTimeout(function () { - var z6u = a000; + var v3q = "m"; + v3q += "s"; + var X3q = "Setti"; + X3q += "ng underf"; + X3q += "low timeout in "; + (y = this, z = this.config, A = z.Z4); + this.KL = Math.max(k.default.time.ba(), this.KL); + !z.n6a || this.eX || z.jX && z.EK && z.KJb || (l.info(X3q + A + v3q), this.eX = setTimeout(function () { var N40; N40 = 2; for (; N40 !== 4; ) { switch (N40) { case 2: - var c3u = "Forcing per"; - c3u += "man"; - c3u += "ent ne"; - c3u += "twork f"; - c3u += "ailure after "; - var n3u = "ms, si"; - n3u += "nce underflow"; - n3u += " wit"; - n3u += "h no success"; - z6u.D9b(6); - l.info(z6u.Q9b(n3u, c3u, B)); - N40 = 1; - break; - case 9: - var t3u = "ms, sin"; - t3u += "ce underflow "; - t3u += "with n"; - t3u += "o "; - t3u += "success"; - var h3u = "ms, since unde"; - h3u += "rflow with no succes"; - h3u += "s"; - z6u.D9b(3); - l.info(z6u.r9b(h3u, t3u, B)); - N40 = 8; - break; - N40 = 1; - break; - case 1: - y.fX = void 0; - y.Pl.hr(d.default.$g.Ew, !0); + var M7q = "ms, since und"; + M7q += "erf"; + M7q += "low with no success"; + var D3q = "Forcin"; + D3q += "g permanent netwo"; + D3q += "r"; + D3q += "k fa"; + D3q += "ilure after "; + a000.Q1q(6); + l.info(a000.o1q(D3q, M7q, A)); + y.eX = void 0; + y.Pl.jr(d.default.Yg.Kw, !0); N40 = 4; break; } } - }, B)); + }, A)); M40 = 4; break; } } }; - x.prototype.hOa = function () { + x.prototype.fOa = function () { var O40; O40 = 2; for (; O40 !== 1; ) { switch (O40) { case 2: - var p3u = "C"; - p3u += "lear"; - p3u += "ed u"; - p3u += "nderflow timeo"; - p3u += "ut"; - this.fX && (clearTimeout(this.fX), this.fX = void 0, l.info(p3u)); + var z7q = "Cl"; + z7q += "ea"; + z7q += "red"; + z7q += " underfl"; + z7q += "ow timeout"; + this.eX && (clearTimeout(this.eX), this.eX = void 0, l.info(z7q)); O40 = 1; break; } } }; - x40 = 13; + return x; break; } } - function x(y, z, B, A) { - var y40; - y40 = 2; - for (; y40 !== 10; ) { - switch (y40) { - case 8: - var S3u = "networkF"; - S3u += "a"; - S3u += "i"; - S3u += "led"; - var k3u = "1"; - k3u += "SIYb"; - k3u += "ZrNJ"; - k3u += "Cp"; - k3u += "9"; - k3u; - n[m.cza] = z.lDb ? u : v; - this.Ag.addListener(this.Pl, S3u, this.pCb.bind(this)); - this.IL = k.default.time.aa(); - y40 = 13; - break; - case 2: - this.Pl = y; - this.config = z; - y40 = 5; - break; - case 5: - this.wCb = B; - this.Sq = A; - this.events = new c.EventEmitter(); - this.Ag = new c.zh(); - y40 = 8; - break; - case 13: - this.xs = 0; - this.Zsa = {}; - this.Vpa = new g.default(y, A, z); - y40 = 10; - break; - } - } - } })(); - b.mya = a; - }, function (q, b, a) { + b.jya = a; + }, function (r, b, a) { var f, k, l; function c(d, g, h) { - this.AQ = d; - this.bE = 0 === Math.floor(1E6 * Math.random()) % h.yG; + this.BQ = d; + this.eE = 0 === Math.floor(1E6 * Math.random()) % h.FG; this.groupId = 1; this.config = h; - this.cy = {}; - this.BC = {}; - this.Sq = g; + this.hy = {}; + this.DC = {}; + this.Rq = g; } f = a(10); - k = a(4).default; + k = a(5).default; new k.Console("ASEJS_PROBE_MANAGER", "asejs"); - l = a(839).cva; + l = a(841).$ua; c.prototype.constructor = c; - c.prototype.WNb = function (d, g) { + c.prototype.aOb = function (d, g) { var h, m, n, - r, + q, p, - u, t, + u, w, v, x, y; - h = this.AQ; - m = d.Rc; - n = h.k4a(d.url); - r = h.R4(d.url); + h = this.BQ; + m = d.Qc; + n = h.m4a(d.url); + q = h.R4(d.url); p = this.config; - u = k.time.aa(); - t = g; + t = k.time.ba(); + u = g; w = []; - v = n.Un[0]; + v = n.Wn[0]; x = !1; - y = this.cy[m]; + y = this.hy[m]; if (!y) - y = this.cy[m] = { + y = this.hy[m] = { count: 0, - Tn: u, - kz: !1, + Vn: t, + nz: !1, error: g, - Rra: [], - Xpa: {} + Kra: [], + Rpa: {} }; - else if (y.Tn >= u - p.d8) + else if (y.Vn >= t - p.Z7) return; - y.kz || (v && r.id === v.id && (d.isPrimary = !0), y.Tn = u, y.kz = !1, y.error = g, ++y.count, n && n.urls && 0 !== n.urls.length && (f.forEach(n.urls, function (z) { - var B, - A, + y.nz || (v && q.id === v.id && (d.isPrimary = !0), y.Vn = t, y.nz = !1, y.error = g, ++y.count, n && n.urls && 0 !== n.urls.length && (f.forEach(n.urls, function (z) { + var A, + B, C; - B = z.cd.id; - A = B + "-" + m; - C = this.BC[A]; - if (void 0 === C || void 0 === C.J6) - (C && C.mo && clearTimeout(C.mo), z = this.iPa(z.url, d, B), this.BC[A] = { - X: !1, + A = z.cd.id; + B = A + "-" + m; + C = this.DC[B]; + if (void 0 === C || void 0 === C.G6) + (C && C.no && clearTimeout(C.no), z = this.hPa(z.url, d, A), this.DC[B] = { + W: !1, count: 0, - J6: z.Jh() + G6: z.Jh() }, w.push(z.Jh()), x = !0); - -1 === y.Rra.indexOf(B) && y.Rra.push(B); - }, this), this.bE && 0 < w.length && (n = { + -1 === y.Kra.indexOf(A) && y.Kra.push(A); + }, this), this.eE && 0 < w.length && (n = { type: "logdata", target: "endplay", fields: {} - }, g = t, t = { - ts: k.time.aa(), - es: g.KLa, - fc: g.Og, - fn: g.wRa, - nc: g.Ri, + }, g = u, u = { + ts: k.time.ba(), + es: g.JLa, + fc: g.Mg, + fn: g.vRa, + nc: g.Oi, pb: w, gid: this.groupId - }, g.GF && (t.hc = g.GF), n.fields.errpb = { + }, g.LF && (u.hc = g.LF), n.fields.errpb = { type: "array", - value: t, + value: u, adjust: ["ts"] - }, h.Qm(n)), x && this.groupId++)); + }, h.Pm(n)), x && this.groupId++)); }; - c.prototype.iPa = function (d, g, h) { + c.prototype.hPa = function (d, g, h) { var m, n, - r; - m = this.AQ.R4(g.url); - m && m.lb && m.lb.Qs && m.lb.Qs.Ea || Math.random(0, 1); + q; + m = this.BQ.R4(g.url); + m && m.lb && m.lb.Vs && m.lb.Vs.Fa || Math.random(0, 1); m = new l(this); n = d.split("?"); - r = "random=" + parseInt(1E7 * Math.random(), 10); - m.pLb(1 < n.length ? d + "&" + r : d + "?" + r, g, h); + q = "random=" + parseInt(1E7 * Math.random(), 10); + m.rLb(1 < n.length ? d + "&" + q : d + "?" + q, g, h); return m; }; - c.prototype.XNb = function (d, g) { + c.prototype.bOb = function (d, g) { var h, m, n, - r, + q, p, - u, t, + u, w; - h = this.AQ; + h = this.BQ; m = this.config; - n = g.Rc; - r = this.cy[n]; + n = g.Qc; + q = this.hy[n]; p = d.url; - u = this.BC[d.Rc + "-" + n]; - if (r) { - t = r.error; - if (u) { - u && u.mo && clearTimeout(u.mo); - u.X = !0; - u.count = 0; - u.J6 = void 0; - r.Xpa[d.Rc] = !0; - (u = this.cy[d.Rc]) && !0 === u.kz && m.sx && (h.c2a(d.Rc, u.error.eX[1]), this.bE && (u = { + t = this.DC[d.Qc + "-" + n]; + if (q) { + u = q.error; + if (t) { + t && t.no && clearTimeout(t.no); + t.W = !0; + t.count = 0; + t.G6 = void 0; + q.Rpa[d.Qc] = !0; + (t = this.hy[d.Qc]) && !0 === t.nz && m.xx && (h.b2a(d.Qc, t.error.dX[1]), this.eE && (t = { type: "logdata", target: "endplay", fields: {} - }, u.fields.errst = { + }, t.fields.errst = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: d.requestId, - servid: g.Rc, + servid: g.Qc, gid: d.groupId ? d.groupId : -1 }, adjust: ["ts"] - }, h.Qm(u)), this.cy[d.Rc] = void 0, this.Sq()); + }, h.Pm(t)), this.hy[d.Qc] = void 0, this.Rq()); if (p !== g.url) { - w = this.BC[n + "-" + n]; - w && w.X || (n = (n = h.R4(p)) && n.lb && n.lb.Qs && n.lb.Qs.Ea || Math.random(0, 1) * m.a5, n = Math.min(n, m.a5), setTimeout((function () { + w = this.DC[n + "-" + n]; + w && w.W || (n = (n = h.R4(p)) && n.lb && n.lb.Vs && n.lb.Vs.Fa || Math.random(0, 1) * m.a5, n = Math.min(n, m.a5), setTimeout((function () { var v; - if (!(!1 !== r.kz || w && w.X) && (r.kz = !0, h.hr(t.eX[0], t.eX[1], g.url, t), this.bE)) { + if (!(!1 !== q.nz || w && w.W) && (q.nz = !0, h.jr(u.dX[0], u.dX[1], g.url, u), this.eE)) { v = { type: "logdata", target: "endplay", @@ -83911,82 +83850,82 @@ a000.D9b = function () { v.fields.erep = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: d.requestId, - servid: g.Rc, + servid: g.Qc, gid: d.groupId ? d.groupId : -1 }, adjust: ["ts"] }; - h.Qm(v); + h.Pm(v); } }).bind(this), n)); } - this.bE && (u = { + this.eE && (t = { type: "logdata", target: "endplay", fields: {} - }, u.fields.pbres = { + }, t.fields.pbres = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: d.requestId, result: 1, - servid: d.Rc, + servid: d.Qc, gid: d.groupId ? d.groupId : -1 }, adjust: ["ts"] - }, h.Qm(u)); + }, h.Pm(t)); } } }; - c.prototype.UNb = function (d, g) { + c.prototype.ZNb = function (d, g) { var h, m, n, - r, + q, p, - u, t, + u, w, v, x; - h = this.AQ; - m = parseInt(g.Rc, 10); - n = this.cy[m]; - r = parseInt(d.Rc, 10); - p = this.BC[r + "-" + m]; - u = 0; - t = this.config; + h = this.BQ; + m = parseInt(g.Qc, 10); + n = this.hy[m]; + q = parseInt(d.Qc, 10); + p = this.DC[q + "-" + m]; + t = 0; + u = this.config; if (p && n) { - p.X = !1; - p.J6 = void 0; - n.Xpa[r] = !1; - w = n.Rra; - if (t.sx && r === m && g.isPrimary) { + p.W = !1; + p.G6 = void 0; + n.Rpa[q] = !1; + w = n.Kra; + if (u.xx && q === m && g.isPrimary) { v = h.R4(g.url); - v = v && v.lb && v.lb.Qs && v.lb.Qs.Ea || 300 * Math.random(0, 1); + v = v && v.lb && v.lb.Vs && v.lb.Vs.Fa || 300 * Math.random(0, 1); v *= Math.pow(2, p.count); v = Math.min(v, 12E4); v += Math.random(0, 1) * (1E4 > v ? 100 : 1E4); - p.mo = setTimeout((function () { + p.no = setTimeout((function () { var y; - p.mo = void 0; - y = this.iPa(d.url, g, r); - y.WRb(d.groupId); - p.J6 = y.Jh(); + p.no = void 0; + y = this.hPa(d.url, g, q); + y.ZRb(d.groupId); + p.G6 = y.Jh(); }).bind(this), v); } ++p.count; - if (r === m && (u = 0, w.forEach(function (y) { - !1 === n.Xpa[y] && u++; - }), w.length === u && n.count >= t.e5)) { + if (q === m && (t = 0, w.forEach(function (y) { + !1 === n.Rpa[y] && t++; + }), w.length === t && n.count >= u.e5)) { x = n.error; - n.kz = !0; - f.forEach(h.k4a(g.url).urls, function (y) { + n.nz = !0; + f.forEach(h.m4a(g.url).urls, function (y) { var z; - h.hr(x.eX[0], x.eX[1], y.url, x); - if (this.bE) { + h.jr(x.dX[0], x.dX[1], y.url, x); + if (this.eE) { z = { type: "logdata", target: "endplay", @@ -83995,71 +83934,71 @@ a000.D9b = function () { z.fields.erep = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: -1, servid: y.cd.id }, adjust: ["ts"] }; - h.Qm(z); + h.Pm(z); } }, this); } - this.bE && (m = { + this.eE && (m = { type: "logdata", target: "endplay", fields: {} }, m.fields.pbres = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: d.requestId, result: 0, - servid: d.Rc, + servid: d.Qc, gid: d.groupId ? d.groupId : -1 }, adjust: ["ts"] - }, h.Qm(m)); + }, h.Pm(m)); } }; - c.prototype.y8 = function (d) { + c.prototype.u8 = function (d) { var g, h, m; g = d.url || d.mediaRequest.url; if (g) { - d = this.AQ; + d = this.BQ; g = d.L2a(g); - h = this.cy[g]; - m = this.BC[g + "-" + g]; - h && h.kz && this.config.sx && (d.c2a(h.error.KLa, !1), this.bE && (h = { + h = this.hy[g]; + m = this.DC[g + "-" + g]; + h && h.nz && this.config.xx && (d.b2a(h.error.JLa, !1), this.eE && (h = { type: "logdata", target: "endplay", fields: {} }, h.fields.errst = { type: "array", value: { - ts: k.time.aa(), + ts: k.time.ba(), id: -1, servid: g }, adjust: ["ts"] - }, d.Qm(h)), this.cy[g] = void 0, m && m.mo && clearTimeout(m.mo)); + }, d.Pm(h)), this.hy[g] = void 0, m && m.no && clearTimeout(m.no)); } }; c.prototype.reset = function () { var d, g, h; - d = this.BC; + d = this.DC; for (h in d) { - d.hasOwnProperty(h) && (g = d[h + "-" + h]) && g.mo && clearTimeout(g.mo); + d.hasOwnProperty(h) && (g = d[h + "-" + h]) && g.no && clearTimeout(g.no); } - this.BC = {}; - this.cy = {}; + this.DC = {}; + this.hy = {}; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var c, f, k; @@ -84068,53 +84007,53 @@ a000.D9b = function () { value: !0 } }); - b.cva = void 0; + b.$ua = void 0; c = a(2); f = a(16); - k = c.__importDefault(a(4)).default.ou; - q = (function (l) { + k = c.__importDefault(a(5)).default.tu; + r = (function (l) { function d(g) { var h; h = l.call(this) || this; - h.pKa = g; - h.w_ = g.groupId; - h.Yh = new f.zh(); - h.Yh.on(h, k.ue.tP, h.oda); - h.Yh.on(h, k.ue.DD, h.EQ); + h.nKa = g; + h.z_ = g.groupId; + h.Yh = new f.xh(); + h.Yh.on(h, k.we.uP, h.ida); + h.Yh.on(h, k.we.FD, h.FQ); return h; } c.__extends(d, l); - d.prototype.pLb = function (g, h, m) { + d.prototype.rLb = function (g, h, m) { k.prototype.open.call(this, g, h, m); }; - d.prototype.WRb = function (g) { - this.w_ = g; + d.prototype.ZRb = function (g) { + this.z_ = g; }; Object.defineProperties(d.prototype, { groupId: { get: function () { - return this.w_; + return this.z_; }, enumerable: !1, configurable: !0 } }); - d.prototype.Ic = function () { + d.prototype.Kc = function () { this.Yh && this.Yh.clear(); - k.prototype.Ic.call(this); + k.prototype.Kc.call(this); }; - d.prototype.oda = function (g) { - this.pKa.XNb(g.probed, g.affected); - this.Ic(); + d.prototype.ida = function (g) { + this.nKa.bOb(g.probed, g.affected); + this.Kc(); }; - d.prototype.EQ = function (g) { - this.pKa.UNb(g.probed, g.affected); - this.Ic(); + d.prototype.FQ = function (g) { + this.nKa.ZNb(g.probed, g.affected); + this.Kc(); }; return d; })(k); - b.cva = q; - }, function (q, b, a) { + b.$ua = r; + }, function (r, b, a) { var c, f, k, @@ -84128,453 +84067,451 @@ a000.D9b = function () { value: !0 } }); - b.lza = void 0; + b.jza = void 0; c = a(2); f = a(144); - k = a(399); + k = a(403); l = a(14); - d = c.__importDefault(a(4)); - q = a(96); - g = a(402); + d = c.__importDefault(a(5)); + r = a(96); + g = a(406); h = a(6); m = a(150); a = (function (n) { - function r(p, u, t, w, v, x, y, z, B, A, C) { + function q(p, t, u, w, v, x, y, z, A, B, C) { var E; E = n.call(this, p) || this; - E.Td = p; - E.H = u; - E.I = t; - E.Qm = w; - E.AB = x; - E.n4 = y; - E.zu = z; - E.EKa = B; - E.Pg = A; - E.yJa = [void 0, void 0]; - E.bea = []; - E.sQ = null !== C && void 0 !== C ? C : { - Au: [Object.create(null), Object.create(null)] + E.Rd = p; + E.H = t; + E.I = u; + E.Pm = w; + E.BB = x; + E.o4 = y; + E.Eu = z; + E.CKa = A; + E.Og = B; + E.wJa = [void 0, void 0]; + E.Wda = []; + E.tQ = null !== C && void 0 !== C ? C : { + Fu: [Object.create(null), Object.create(null)] }; - v ? E.BT = v : (E.ug = m.cq.instance.nB("headers", "" + E.Td.da, !0, !1, {}, E.I), E.ug.mb()); + v ? E.zT = v : (E.ug = m.gq.instance.oB("headers", "" + E.Rd.$, !0, !1, {}, E.I), E.ug.mb()); return E; } - c.__extends(r, n); - Object.defineProperties(r.prototype, { - Au: { + c.__extends(q, n); + Object.defineProperties(q.prototype, { + Fu: { get: function () { - return this.sQ.Au; + return this.tQ.Fu; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(r.prototype, { - uA: { + Object.defineProperties(q.prototype, { + wA: { get: function () { - return this.sQ.uA; + return this.tQ.wA; }, set: function (p) { - this.sQ.uA = p; + this.tQ.wA = p; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(r.prototype, { - $I: { + Object.defineProperties(q.prototype, { + bJ: { get: function () { - return this.sQ.$I; + return this.tQ.bJ; }, set: function (p) { - this.sQ.$I = p; + this.tQ.bJ = p; }, enumerable: !1, configurable: !0 } }); - r.prototype.Ic = function () { + q.prototype.Kc = function () { var p; p = this; - this.Au.forEach(function (u, t) { - for (var w in u) { - u[w].Ic(); - p.zha(t, w); + this.Fu.forEach(function (t, u) { + for (var w in t) { + t[w].Kc(); + p.tha(u, w); } }); - this.ug && m.cq.instance.oS(this.ug); + this.ug && m.gq.instance.nS(this.ug); this.ug = void 0; }; - r.prototype.pk = function (p, u) { - return this.Au[p][u]; + q.prototype.pk = function (p, t) { + return this.Fu[p][t]; }; - r.prototype.C3 = function () { - return !(!this.uA || !this.uA.length); + q.prototype.D3 = function () { + return !(!this.wA || !this.wA.length); }; - r.prototype.jga = function () { - this.uA = void 0; + q.prototype.dga = function () { + this.wA = void 0; }; - r.prototype.oN = function (p) { - this.uA = p; + q.prototype.pN = function (p) { + this.wA = p; }; - r.prototype.uta = function () { + q.prototype.pta = function () { var p, - u; - if (!this.C3() || this.$I) + t; + if (!this.D3() || this.bJ) return !1; - for (f.fm.rp(1); 0 < this.uA.length; ) { - p = this.uA.shift(); - u = this.Td.jv(1, p); - if (u && !this.FCb(p) && u.Vs) - return (this.$I = p, this.u8(u, { + for (f.dm.up(1); 0 < this.wA.length; ) { + p = this.wA.shift(); + t = this.Rd.qv(1, p); + if (t && !this.HCb(p) && t.$s) + return (this.bJ = p, this.q8(t, { offset: 0, - xN: !0 + yN: !0 })); } return !1; }; - r.prototype.Ota = function (p, u) { - var t; - t = this; - u.forEach(function (w) { + q.prototype.Jta = function (p, t) { + var u; + u = this; + t.forEach(function (w) { var v; - v = t.pk(p, w.La); - v && !w.ye && (v.stream.ye ? w.w1(v.stream) : (v.kV || (v.kV = []), v.kV.push(t.Td))); + v = u.pk(p, w.Ma); + v && !w.Ae && (v.stream.Ae ? w.y1(v.stream) : (v.jV || (v.jV = []), v.jV.push(u.Rd))); }); }; - r.prototype.YM = function (p, u, t) { + q.prototype.YM = function (p, t, u) { var w, v, x; w = this; - x = this.Td; + x = this.Rd; l.cf.forEach(function (y) { var z, - B, A, + B, C, E; - if (x.Vb(y) && (void 0 === t || y === t)) { + if (x.Yb(y) && (void 0 === u || y === u)) { C = p[y]; h.assert(C && x.getTrackById(C.trackId) === C); - C = C.Qd; - if (x.Ej) + C = C.Od; + if (x.Dj) w.H.warn("requestHeadersFromManifest, shutdown detected"); - else if (x.Pl.hX(x.da, C)) { - E = null !== (A = null === (B = null === (z = w.AB(y)) || void 0 === z ? void 0 : z.SF) || void 0 === B ? void 0 : B.bitrate) && void 0 !== A ? A : 0; - z = g.Jia(C, E); + else if (x.Pl.gX(x.$, C)) { + E = null !== (B = null === (A = null === (z = w.BB(y)) || void 0 === z ? void 0 : z.YF) || void 0 === A ? void 0 : A.bitrate) && void 0 !== B ? B : 0; + z = g.Cia(C, E); void 0 === z && w.H.warn("Unable to find stream for bitrate " + E); z = C[z]; - (B = x.pk(y, z.La)) && B.stream.Y ? x.uWb(y, B) : (y = { + (A = x.pk(y, z.Ma)) && A.stream.Y ? x.wWb(y, A) : (y = { offset: 0, - xN: !1, - rB: 1 === y, - cv: !0, - dM: !w.n4(x) - }, x.cPa(z, y, u)); + yN: !1, + sB: 1 === y, + hv: !0, + fM: !w.o4(x) + }, x.bPa(z, y, t)); } else w.H.warn("requestHeadersFromManifest, unable to update urls"); } }); - x.I3 = !0; - null === (v = this.Pg) || void 0 === v ? void 0 : v.call(this, x.Db).Y0(); + x.J3 = !0; + null === (v = this.Og) || void 0 === v ? void 0 : v.call(this, x.Fb).$0(); }; - r.prototype.sH = function (p, u) { - var t, + q.prototype.AH = function (p, t) { + var u, w, v, x; - t = this.I; - w = this.pk(p.mediaType, p.La); + u = this.I; + w = this.pk(p.mediaType, p.Ma); if (w) - return (w.stream.Y || w.xN && this.eOa(w), !1); - w = this.Qgb; - v = this.Rgb; - if (void 0 !== t.$na && void 0 !== w && void 0 !== v) { - x = d.default.time.aa(); - if (x - w < t.$na || x - v < t.$na) + return (w.stream.Y || w.yN && this.cOa(w), !1); + w = this.Rgb; + v = this.Sgb; + if (void 0 !== u.Vna && void 0 !== w && void 0 !== v) { + x = d.default.time.ba(); + if (x - w < u.Vna || x - v < u.Vna) return !1; } - p = this.u8(p, { + p = this.q8(p, { url: p.url, offset: 0 - }, void 0, void 0, u); - this.Rgb = d.default.time.aa(); + }, void 0, void 0, t); + this.Sgb = d.default.time.ba(); return p; }; - r.prototype.u8 = function (p, u, t, w, v) { + q.prototype.q8 = function (p, t, u, w, v) { var x, y, z, - B, - A; - B = p.mediaType; - f.fm.rp(B); - A = p.La; - if (this.ofb(A, !!u.cv)) - return (null === (x = this.EKa) || void 0 === x ? void 0 : x.call(this), !1); - if (x = this.pk(B, A)) + A, + B; + A = p.mediaType; + f.dm.up(A); + B = p.Ma; + if (this.pfb(B, !!t.hv)) + return (null === (x = this.CKa) || void 0 === x ? void 0 : x.call(this), !1); + if (x = this.pk(A, B)) p = !1; else { - x = c.__assign(c.__assign({}, u), { - ca: null !== (y = u.ca) && void 0 !== y ? y : this.Zfb(p) + x = c.__assign(c.__assign({}, t), { + da: null !== (y = t.da) && void 0 !== y ? y : this.$fb(p) }); - y = !!x.rB; - A = !!x.dM; - this.BT ? v = this.BT(B, !!x.cv, y, A, !!t) : v || (v = this.ug); + y = !!x.sB; + B = !!x.fM; + this.zT ? v = this.zT(A, !!x.hv, y, B, !!u) : v || (v = this.ug); h.assert(v); - p.url && (this.AB(B).Ima = p.url); - x = p = this.AIa(p, v, x); - if (!p.sM()) - return (this.Td.qh("MediaRequest open failed (2)", "NFErr_MC_StreamingFailure"), !1); + p.url && (this.BB(A).Cma = p.url); + x = p = this.yIa(p, v, x); + if (!p.uM()) + return (this.Rd.ph("MediaRequest open failed (2)", "NFErr_MC_StreamingFailure"), !1); p = !0; } - u.cv && w && (this.Td.Rg[B] = x); - null === (z = this.EKa) || void 0 === z ? void 0 : z.call(this); + t.hv && w && (this.Rd.Qg[A] = x); + null === (z = this.CKa) || void 0 === z ? void 0 : z.call(this); return p; }; - r.prototype.qo = function () { + q.prototype.ro = function () { var p, - u; + t; p = this; - u = []; - this.Au.forEach(function (t, w) { + t = []; + this.Fu.forEach(function (u, w) { var x; - f.fm.rp(w); - for (var v in t) { - w = t[v]; - x = w.Pta(); - 1 === x ? u.push(w) : 2 === x && p.Td.qh("swapUrl failure"); + f.dm.up(w); + for (var v in u) { + w = u[v]; + x = w.Kta(); + 1 === x ? t.push(w) : 2 === x && p.Rd.ph("swapUrl failure"); } }); - return u; + return t; }; - r.prototype.wk = function (p) { - var u, - t; - u = p.mediaType; - t = f.fm.rp(u); - this.Td.Ej ? t.warn("header onrequestcomplete ignored, session shutdown:", p.toString()) : (this.Qm({ + q.prototype.vk = function (p) { + var t, + u; + t = p.mediaType; + u = f.dm.up(t); + this.Rd.Dj ? u.warn("header onrequestcomplete ignored, session shutdown:", p.toString()) : (this.Pm({ type: "logdata", target: "startplay", - Sb: { - usedNativeDataView: p.rXb + Vb: { + usedNativeDataView: p.tXb } - }), p.qV > p.sLb && (this.yJa[u] = p.qV), p.xN && this.eOa(p), this.xgb(p), this.Qgb = d.default.time.aa(), this.Td.KB.emit("onHeaderRequestComplete", p)); - this.gv(p); + }), p.pV > p.uLb && (this.wJa[t] = p.pV), p.yN && this.cOa(p), this.ygb(p), this.Rgb = d.default.time.ba(), this.Rd.MB.emit("onHeaderRequestComplete", p)); + this.nv(p); }; - r.prototype.u0 = function (p, u, t) { + q.prototype.w0 = function (p, t, u) { var w; w = p.mediaType; - f.fm.rp(w); - w = this.Td.jv(w, p.La); - if (u !== !!p.kk) + f.dm.up(w); + w = this.Rd.qv(w, p.Ma); + if (t !== !!p.kk) return !1; - this.qLa(p); - p.Wkb(w); - this.fIa(p); - this.Td.KB.emit("onHeaderFromCache", { + this.oLa(p); + p.Xkb(w); + this.dIa(p); + this.Rd.MB.emit("onHeaderFromCache", { header: p, - jxb: t + pxb: u }); return !0; }; - r.prototype.cR = function (p, u) { - var t, + q.prototype.eR = function (p, t) { + var u, w, v, x; - t = []; - w = this.Au[p]; + u = []; + w = this.Fu[p]; for (v in w) { x = w[v]; - x && !x.stream.Y && x.eo === u && (this.zha(p, v), t.push({ + x && !x.stream.Y && x.fo === t && (this.tha(p, v), u.push({ stream: x.stream, offset: x.offset, - ca: x.ca, - rB: x.rB, - cv: x.cv, - dM: x.dM, - fpa: x.fpa - }), x.Ic()); + da: x.da, + sB: x.sB, + hv: x.hv, + fM: x.fM, + apa: x.apa + }), x.Kc()); } - return t; + return u; }; - r.prototype.ira = function (p) { - var u; - u = this; - p.forEach(function (t) { - u.u8(t.stream, t); + q.prototype.bra = function (p) { + var t; + t = this; + p.forEach(function (u) { + t.q8(u.stream, u); }); }; - r.prototype.qLa = function (p) { - this.Au[p.mediaType][p.La] = p; + q.prototype.oLa = function (p) { + this.Fu[p.mediaType][p.Ma] = p; }; - r.prototype.FCb = function (p) { + q.prototype.HCb = function (p) { return !!this.pk(1, p); }; - r.prototype.xgb = function (p) { - var u, - t, + q.prototype.ygb = function (p) { + var t, + u, w, v, y; - u = this.I; - t = f.fm.rp(p.mediaType); + t = this.I; + u = f.dm.up(p.mediaType); w = p.stream.Y; - if (u.fha) { + if (t.$ga) { v = w.length; - t.trace("fragment count:", v); + u.trace("fragment count:", v); for (var x = 0; x < v; ++x) { y = w.get(x); - t.trace("fragment: " + x + ", startPts: " + y.Z + ", duration: " + y.duration + ", offset: " + y.offset); + u.trace("fragment: " + x + ", startPts: " + y.X + ", duration: " + y.duration + ", offset: " + y.offset); } } - this.fIa(p); - if (u.uC && u.uC.enabled && void 0 === w.Er && u.uC.simulatedFallback) { + this.dIa(p); + if (t.wC && t.wC.enabled && void 0 === w.Hr && t.wC.simulatedFallback) { v = w.length; - u = []; + t = []; for (x = 0; x < v; ++x) { - u[x] = Math.max(0, p.stream.zb + this.Gib(x)); + t[x] = Math.max(0, p.stream.xb + this.Hib(x)); } - w.wSb(u); + w.ASb(t); } }; - r.prototype.fIa = function (p) { - var u, - t; - u = p.mediaType; - t = p.La; - f.fm.rp(u); - p.kV && (p.kV.forEach(function (w) { - (w = w.jv(u, t)) && w !== p.stream && !w.ye && w.w1(p.stream); - }), p.kV = void 0); - this.Td.mCb(p); - }; - r.prototype.AIa = function (p, u, t) { + q.prototype.dIa = function (p) { + var t, + u; + t = p.mediaType; + u = p.Ma; + f.dm.up(t); + p.jV && (p.jV.forEach(function (w) { + (w = w.qv(t, u)) && w !== p.stream && !w.Ae && w.y1(p.stream); + }), p.jV = void 0); + this.Rd.oCb(p); + }; + q.prototype.yIa = function (p, t, u) { var w, v; w = this; - v = f.fm.rp(p.mediaType); - p = new k.r9(p, this.I, u, t, this, !1, v); + v = f.dm.up(p.mediaType); + p = new k.m9(p, this.I, t, u, this, !1, v); p.addListener("headerRequestCancelled", function (x) { - w.wgb(x.request); + w.xgb(x.request); }); p.mb(void 0); - this.qLa(p); + this.oLa(p); return p; }; - r.prototype.ofb = function (p, u) { - return this.zu && (p = this.zu.sU(this.Td.K, p)) && this.u0(p, !1, u) ? !0 : !1; + q.prototype.pfb = function (p, t) { + return this.Eu && (p = this.Eu.rU(this.Rd.K, p)) && this.w0(p, !1, t) ? !0 : !1; }; - r.prototype.Zfb = function (p) { - var u, - t, + q.prototype.$fb = function (p) { + var t, + u, w, v; - u = p.Wv; - t = p.N; - w = t.duration; + t = p.wr; + u = p.N; + w = u.duration; v = this.I; - return t.Ze.yg ? v.yRa ? v.yRa : v.H3 : v.oXb && u ? u.offset + u.size : (p = this.yJa[p.mediaType]) ? p + 128 : v.oia ? 2292 + 12 * Math.ceil(w / 2E3) : v.H3; + return u.$e.Ng ? v.xRa ? v.xRa : v.I3 : v.qXb && t ? t.offset + t.size : (p = this.wJa[p.mediaType]) ? p + 128 : v.hia ? 2292 + 12 * Math.ceil(w / 2E3) : v.I3; }; - r.prototype.wgb = function (p) { - this.zha(p.mediaType, p.La); + q.prototype.xgb = function (p) { + this.tha(p.mediaType, p.Ma); }; - r.prototype.zha = function (p, u) { - delete this.Au[p][u]; + q.prototype.tha = function (p, t) { + delete this.Fu[p][t]; }; - r.prototype.eOa = function (p) { - this.$I === p.La && (this.$I = void 0); + q.prototype.cOa = function (p) { + this.bJ === p.Ma && (this.bJ = void 0); }; - r.prototype.Gib = function (p) { - var u; - u = this.I.uC.fallbackBound; - void 0 === this.bea[p] && (this.bea[p] = Math.floor(2 * Math.random() * u) - u); - return this.bea[p]; - }; - return r; - })(q.jw); - b.lza = a; - }, function (q, b, a) { + q.prototype.Hib = function (p) { + var t; + t = this.I.wC.fallbackBound; + void 0 === this.Wda[p] && (this.Wda[p] = Math.floor(2 * Math.random() * t) - t); + return this.Wda[p]; + }; + return q; + })(r.pw); + b.jza = a; + }, function (r, b, a) { var c, - f, - k; + f; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.JFa = void 0; + b.GFa = void 0; c = a(2); f = a(16); - k = c.__importDefault(a(4)).default.Promise; - q = (function (l) { - function d(g, h, m, n) { - var r; - r = l.call(this) || this; - r.H = g; - r.track = h; - r.Hn = !1; - r.Pca = !1; - r.Ag = new f.zh(); - r.Ag.on(h, "networkfailing", function () { - r.emit("networkfailing"); - }); - r.Ag.on(h, "error", function () { - r.H.warn("requestQueue got error"); - r.emit("error"); - }); - if (m) - (r.Hn = !0, k.resolve().then(function () { - return r.emit("created"); + r = (function (k) { + function l(d, g, h, m) { + var n; + n = k.call(this) || this; + n.H = d; + n.track = g; + n.In = !1; + n.Jca = !1; + n.zg = new f.xh(); + n.zg.on(g, "networkfailing", function () { + n.emit("networkfailing"); + }); + n.zg.on(g, "error", function () { + n.H.warn("requestQueue got error"); + n.emit("error"); + }); + if (h) + (n.In = !0, Promise.resolve().then(function () { + return n.emit("created"); })); else - r.Ag.on(h, "created", function () { - r.Hn = !0; - r.emit("created"); + n.zg.on(g, "created", function () { + n.In = !0; + n.emit("created"); }); - r.Pca = n; - return r; + n.Jca = m; + return n; } - c.__extends(d, l); - Object.defineProperties(d.prototype, { - s2: { + c.__extends(l, k); + Object.defineProperties(l.prototype, { + t2: { get: function () { - return this.track.s2; + return this.track.t2; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(d.prototype, { - Og: { + Object.defineProperties(l.prototype, { + Mg: { get: function () { - return this.track.Og; + return this.track.Mg; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(d.prototype, { - Ri: { + Object.defineProperties(l.prototype, { + Oi: { get: function () { - return this.track.Ri; + return this.track.Oi; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(d.prototype, { - RS: { + Object.defineProperties(l.prototype, { + QS: { get: function () { - return this.track.RS; + return this.track.QS; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(d.prototype, { + Object.defineProperties(l.prototype, { config: { get: function () { return this.track.config; @@ -84583,73 +84520,73 @@ a000.D9b = function () { configurable: !0 } }); - d.prototype.mb = function () { - var g, - h; - this.Pca || (null === (h = (g = this.track).mb) || void 0 === h ? void 0 : h.call(g), this.Pca = !0); + l.prototype.mb = function () { + var d, + g; + this.Jca || (null === (g = (d = this.track).mb) || void 0 === g ? void 0 : g.call(d), this.Jca = !0); }; - d.prototype.Us = function () { - return this.track.Us(); + l.prototype.Zs = function () { + return this.track.Zs(); }; - d.prototype.toString = function () { + l.prototype.toString = function () { return this.track.toString(); }; - d.prototype.toJSON = function () { + l.prototype.toJSON = function () { return this.track; }; - d.prototype.gp = function () { - this.Ag.clear(); + l.prototype.hp = function () { + this.zg.clear(); }; - return d; + return l; })(f.EventEmitter); - b.JFa = q; - }, function (q, b, a) { + b.GFa = r; + }, function (r, b, a) { var g, h, m, n, - r, + q, p, - u; - function c(t) { + t; + function c(u) { var w, v, x; - t = t.parent; + u = u.parent; w = !1; - if (t && t.children) { + if (u && u.children) { v = {}; - v[p.sl] = []; + v[p.rl] = []; v[p.Jk] = []; v[p.TEMPORARY] = []; - x = t.children; + x = u.children; x.forEach(function (y) { - y && v[y.Le].push(y); + y && v[y.Ne].push(y); }); - 0 < v[p.sl].length || (v[p.Jk].length === x.length ? t.Le !== p.Jk && (t.Le = p.Jk, r.error("PERM failing :", m.default.$g.name[t.Cm] + " " + t.id), w = !0) : (t.Le === p.sl && (t.Le = p.TEMPORARY, r.error("TEMP failing :", m.default.$g.name[t.Cm] + " " + t.id), w = !0), v[p.TEMPORARY].forEach(function (y) { - y.Le = p.sl; - })), w && c(t)); + 0 < v[p.rl].length || (v[p.Jk].length === x.length ? u.Ne !== p.Jk && (u.Ne = p.Jk, q.error("PERM failing :", m.default.Yg.name[u.Am] + " " + u.id), w = !0) : (u.Ne === p.rl && (u.Ne = p.TEMPORARY, q.error("TEMP failing :", m.default.Yg.name[u.Am] + " " + u.id), w = !0), v[p.TEMPORARY].forEach(function (y) { + y.Ne = p.rl; + })), w && c(u)); } } - function f(t) { + function f(u) { var w; - if ((t = t.parent) && 0 < t.children.length && t.Le !== p.sl) { + if ((u = u.parent) && 0 < u.children.length && u.Ne !== p.rl) { w = {}; - w[p.sl] = []; + w[p.rl] = []; w[p.Jk] = []; w[p.TEMPORARY] = []; - t.children.forEach(function (v) { - v && w[v.Le].push(v); + u.children.forEach(function (v) { + v && w[v.Ne].push(v); }); - 0 < w[p.sl].length && (t.Le = p.sl, f(t)); + 0 < w[p.rl].length && (u.Ne = p.rl, f(u)); } } - function k(t) { - return t.Le !== p.sl; + function k(u) { + return u.Ne !== p.rl; } - function l(t) { - switch (t.Le) { - case p.sl: + function l(u) { + switch (u.Ne) { + case p.rl: return "OK"; case p.Jk: return "FAILED PERMANENTLY"; @@ -84659,10 +84596,10 @@ a000.D9b = function () { return "INVALID"; } } - function d(t, w) { - if (t.Le === p.TEMPORARY || t.Le === p.Jk && w) - t.Le = p.sl; - t.children && t.children.forEach(function (v) { + function d(u, w) { + if (u.Ne === p.TEMPORARY || u.Ne === p.Jk && w) + u.Ne = p.rl; + u.children && u.children.forEach(function (v) { v && d(v, w); }); } @@ -84671,89 +84608,158 @@ a000.D9b = function () { value: !0 } }); - b.O$ = void 0; + b.G$ = void 0; g = a(2); h = g.__importStar(a(10)); - q = a(16); + r = a(16); m = g.__importDefault(a(27)); - n = g.__importDefault(a(4)); - r = new n.default.Console("ASEJS_LOCATION_SELECTOR", "media|asejs"); - (function (t) { - t[t.sl = 0] = "OK"; - t[t.TEMPORARY = 1] = "TEMPORARY"; - t[t.Jk = 2] = "PERMANENT"; + n = g.__importDefault(a(5)); + q = new n.default.Console("ASEJS_LOCATION_SELECTOR", "media|asejs"); + (function (u) { + u[u.rl = 0] = "OK"; + u[u.TEMPORARY = 1] = "TEMPORARY"; + u[u.Jk = 2] = "PERMANENT"; })(p || (p = {})); - (function (t) { - t[t.Kw = 0] = "STARTUP"; - t[t.wdb = 1] = "REBUFFER"; - })(u || (u = {})); - a = (function (t) { - var P40; - P40 = 2; - function w(v, x, y, z, B) { + (function (u) { + u[u.Pw = 0] = "STARTUP"; + u[u.zdb = 1] = "REBUFFER"; + })(t || (t = {})); + a = (function (u) { + function w(v, x, y, z, A) { var Q40, - A; + B; Q40 = 2; for (; Q40 !== 27; ) { switch (Q40) { - case 20: - var z3u = "1SIYbZ"; - z3u += "rN"; - z3u += "JC"; - z3u += "p9"; - A.G_ = null; - A.hN = null; - A.iN = m.default.JD.Kw; - A.FE(v); - z3u; - return A; + case 2: + B = u.call(this) || this; + B.Lb = x; + B.jh = y; + B.config = z; + Q40 = 3; break; - case 4: - A.config = z; - A.Hhb = B; - A.$Nb = u.Kw; - A.pv = void 0; - Q40 = 7; + case 6: + B.Pt = {}; + B.urls = {}; + B.streams = {}; + Q40 = 12; break; - case 2: - A = t.call(this) || this; - A.Jb = x; - Q40 = 5; + case 12: + B.Wy = []; + Q40 = 11; break; - case 13: - var v3u = "n"; - v3u += "etwo"; - v3u += "rk"; - A.streams = {}; - A.Ty = []; - A.J5 = !1; - A.Yn = { - id: v3u, - Cm: m.default.$g.Ew, - Le: p.sl, - Jv: void 0, + case 3: + B.Ihb = A; + B.eOb = t.Pw; + B.vv = void 0; + B.Wn = {}; + Q40 = 6; + break; + case 11: + var K7q = "n"; + K7q += "etwo"; + K7q += "rk"; + B.J5 = !1; + B.$n = { + id: K7q, + Am: m.default.Yg.Kw, + Ne: p.rl, + Pv: void 0, parent: void 0, - children: A.Ty + children: B.Wy }; - Q40 = 20; - break; - case 5: - A.mh = y; - Q40 = 4; + B.J_ = null; + B.iN = null; + B.jN = m.default.MD.Pw; + Q40 = 17; break; - case 7: - A.Un = {}; - A.Kt = {}; - A.urls = {}; - Q40 = 13; + case 17: + var L7q = "1SIYbZrN"; + L7q += "J"; + L7q += "Cp9"; + B.MJ(v); + L7q; + return B; break; } } } + var P40; + P40 = 2; for (; P40 !== 25; ) { switch (P40) { - case 8: - w.prototype.k4a = function (v) { + case 2: + g.__extends(w, u); + w.prototype.BBb = function () { + var R40; + R40 = 2; + for (; R40 !== 1; ) { + switch (R40) { + case 2: + return this.Wy[0].lb; + break; + } + } + }; + w.prototype.Mja = function () { + var S40; + S40 = 2; + for (; S40 !== 1; ) { + switch (S40) { + case 2: + return this.Wy; + break; + } + } + }; + P40 = 4; + break; + case 4: + w.prototype.Gs = function () { + var T40; + T40 = 2; + for (; T40 !== 1; ) { + switch (T40) { + case 2: + return k(this.$n); + break; + } + } + }; + w.prototype.L2a = function (v) { + var U40; + U40 = 2; + for (; U40 !== 5; ) { + switch (U40) { + case 2: + U40 = (v = this.urls[v]) && v.parent ? 1 : 5; + break; + case 1: + return v.parent.id; + break; + case 9: + return v.parent.id; + break; + U40 = 5; + break; + } + } + }; + w.prototype.R4 = function (v) { + var V40; + V40 = 2; + for (; V40 !== 5; ) { + switch (V40) { + case 2: + V40 = (v = this.urls[v]) && v.cd ? 1 : 5; + break; + case 1: + return v.cd.location; + break; + } + } + }; + w.prototype.m4a = function (v) { var W40; W40 = 2; for (; W40 !== 5; ) { @@ -84761,10 +84767,10 @@ a000.D9b = function () { case 2: W40 = (v = this.urls[v]) ? 1 : 5; break; - case 9: - return v.stream; + case 3: + W40 = (v = this.urls[v]) ? 5 : 6; break; - W40 = 5; + W40 = (v = this.urls[v]) ? 1 : 5; break; case 1: return v.stream; @@ -84772,7 +84778,143 @@ a000.D9b = function () { } } }; - w.prototype.FE = function (v) { + P40 = 7; + break; + case 17: + w.prototype.zWb = function () { + var E50, + v, + x, + y, + z; + E50 = 2; + for (; E50 !== 13; ) { + switch (E50) { + case 2: + (v = this, x = this.config, y = this.Wy.filter(function (A) { + var F50; + F50 = 2; + for (; F50 !== 1; ) { + switch (F50) { + case 4: + return +k(A) || 2 === A.level; + break; + F50 = 1; + break; + case 2: + return !k(A) && 0 !== A.level; + break; + } + } + })); + E50 = 1; + break; + case 1: + E50 = 0 === y.length ? 5 : 4; + break; + case 5: + return null; + break; + case 4: + z = n.default.time.ba(); + E50 = 3; + break; + case 8: + x = this.jN; + y.sort(function (A, B) { + var H50; + H50 = 2; + for (; H50 !== 1; ) { + switch (H50) { + case 2: + return A.level - B.level || A.Qe - B.Qe; + break; + } + } + }); + this.vv || h.tb(x) || (this.vv = !0); + E50 = 14; + break; + case 14: + return y; + break; + case 3: + E50 = null === this.J_ || this.J_ + x.Nma < z ? 9 : 8; + break; + case 9: + (y.forEach(function (A) { + var G50; + G50 = 2; + for (; G50 !== 1; ) { + switch (G50) { + case 2: + A.id !== v.Lb.location && (A.lb = v.jh.get(A.id)); + G50 = 1; + break; + } + } + }), this.J_ = z); + E50 = 8; + break; + } + } + }; + w.prototype.fQb = function (v) { + var I50, + x; + I50 = 2; + for (; I50 !== 3; ) { + switch (I50) { + case 2: + x = this.Lb.location; + this.vv = !1; + this.eOb = v; + this.Wy.forEach(function (y) { + var J50; + J50 = 2; + for (; J50 !== 1; ) { + switch (J50) { + case 2: + y.id !== x && y.lb && y.lb.confidence > m.default.yf.$z && (y.lb.confidence = m.default.yf.$z); + J50 = 1; + break; + } + } + }); + I50 = 3; + break; + } + } + }; + w.prototype.wMb = function () { + var K50, + v; + K50 = 2; + for (; K50 !== 5; ) { + switch (K50) { + case 2: + v = this; + this.J5 || this.Wy.forEach(function (x) { + var L50; + L50 = 2; + for (; L50 !== 1; ) { + switch (L50) { + case 2: + x.Ne === p.TEMPORARY && v.jh.fail(x.id, n.default.time.ba()); + L50 = 1; + break; + } + } + }); + K50 = 5; + break; + } + } + }; + P40 = 27; + break; + case 7: + w.prototype.MJ = function (v) { var X40, x; X40 = 2; @@ -84783,95 +84925,101 @@ a000.D9b = function () { v.locations.forEach(function (y) { var Y40, z, - B, A, + B, C; Y40 = 2; for (; Y40 !== 8; ) { switch (Y40) { case 1: - Y40 = !x.Un[z] ? 5 : 8; + Y40 = !x.Wn[z] ? 5 : 8; + break; + case 9: + C.children.push(y); + Y40 = 8; break; case 2: z = y.key; Y40 = 1; break; case 5: - (B = [], A = x.mh.get(z), C = x.Yn); + (A = [], B = x.jh.get(z), C = x.$n); y = { id: z, - Cm: m.default.$g.LOCATION, - Le: p.sl, - Eg: y.rank, + Am: m.default.Yg.LOCATION, + Ne: p.rl, + Qe: y.rank, level: y.level, weight: y.weight, - Jv: void 0, + Pv: void 0, parent: C, - children: B, - Kt: B, + children: A, + Pt: A, streams: {}, - lb: A + lb: B }; - x.Un[y.id] = y; - C.children.push(y); - Y40 = 8; + x.Wn[y.id] = y; + Y40 = 9; break; } } }); - this.G_ = n.default.time.aa(); - this.Ty.sort(function (y, z) { + this.J_ = n.default.time.ba(); + this.Wy.sort(function (y, z) { var Z40; Z40 = 2; for (; Z40 !== 1; ) { switch (Z40) { case 2: - return y.level - z.level || y.Eg - z.Eg; + return y.level - z.level || y.Qe - z.Qe; break; } } }); + X40 = 3; + break; + case 3: v.servers.forEach(function (y) { var a50, + A, B, - z, - A; + z; a50 = 2; for (; a50 !== 6; ) { switch (a50) { - case 5: - B = x.Un[y.key]; - a50 = 4; - break; case 4: - a50 = B ? 3 : 6; - break; - case 1: - a50 = !x.Kt[z] ? 5 : 6; + a50 = A ? 3 : 6; break; - case 2: - z = y.id; - a50 = 1; + case 5: + A = x.Wn[y.key]; + a50 = 4; break; case 3: - A = []; + B = []; y = { id: z, - Cm: m.default.$g.KD, - Le: p.sl, - Jv: void 0, - parent: B, - children: A, - urls: A, + Am: m.default.Yg.ND, + Ne: p.rl, + Pv: void 0, + parent: A, + children: B, + urls: B, name: y.name, type: y.type, - Eg: y.rank, - location: B + Qe: y.rank, + location: A }; - x.Kt[y.id] = y; - B.children.push(y); + x.Pt[y.id] = y; + A.children.push(y); a50 = 6; break; + case 2: + z = y.id; + a50 = 1; + break; + case 1: + a50 = !x.Pt[z] ? 5 : 6; + break; } } }); @@ -84899,39 +85047,36 @@ a000.D9b = function () { } } }); - X40 = 7; - break; - case 7: - v = this.Ty.filter(function (y) { + v = this.Wy.filter(function (y) { var d50, z; d50 = 2; for (; d50 !== 4; ) { switch (d50) { case 2: - z = y.Kt.every(function (B) { + z = y.Pt.every(function (A) { var e50; e50 = 2; for (; e50 !== 1; ) { switch (e50) { case 2: - return 0 === B.urls.length; + return 0 === A.urls.length; break; } } }); - z && (y.Kt.forEach(function (B) { + z && (y.Pt.forEach(function (A) { var f50; f50 = 2; for (; f50 !== 1; ) { switch (f50) { case 2: - x.Kt[B.id] = void 0; + x.Pt[A.id] = void 0; f50 = 1; break; } } - }), x.Un[y.id] = void 0, y.parent = void 0, y.children.length = 0, y.streams = {}); + }), x.Wn[y.id] = void 0, y.parent = void 0, y.children.length = 0, y.streams = {}); return !z; break; } @@ -84943,13 +85088,13 @@ a000.D9b = function () { for (; g50 !== 1; ) { switch (g50) { case 2: - y.Kt.sort(function (z, B) { + y.Pt.sort(function (z, A) { var h50; h50 = 2; for (; h50 !== 1; ) { switch (h50) { case 2: - return z.Eg - B.Eg; + return z.Qe - A.Qe; break; } } @@ -84959,187 +85104,191 @@ a000.D9b = function () { } } }); - X40 = 14; + this.Wy = v; + this.$n.children = v; + X40 = 12; break; - case 14: - this.Ty = v; - this.Yn.children = v; + case 12: this.dump(); X40 = 11; break; } } }; - w.prototype.hX = function (v, x) { + w.prototype.gX = function (v, x) { var i50, + E, y, z, - B, A, - C, - E; + B, + C; i50 = 2; for (; i50 !== 19; ) { switch (i50) { - case 11: - return (this.hr(m.default.$g.Ew, !1), !1); + case 4: + return !1; break; case 14: - return (this.hr(m.default.$g.Ew, !1), !1); + return (this.jr(m.default.Yg.Kw, !1), !1); break; case 5: - i50 = k(this.Yn) ? 4 : 3; - break; - case 2: - (y = this, z = this.config, B = this.Jb.get(), A = 0); - n.default.ws && n.default.ws(v); - i50 = 5; - break; - case 12: - i50 = !E.length ? 11 : 10; - break; - case 6: - i50 = !this.hN ? 14 : 13; - break; - case 3: - C = m.default.wf.Zz; - z.QU && (C = m.default.wf.ww); - this.Jb.location && B.confidence >= C && (v = this.Un[this.Jb.location]) && (v.lb = B); - i50 = 7; - break; - case 7: - h.ob(this.hN) && (this.hN = this.xWb()); - i50 = 6; - break; - case 4: - return !1; - break; - case 13: - E = this.hN; - i50 = 12; + i50 = k(this.$n) ? 4 : 3; break; case 10: - var K3u = "(empty s"; - K3u += "trea"; - K3u += "m list)"; - var V3u = "Did not "; - V3u += "find a URL f"; - V3u += "o"; - V3u += "r "; - V3u += "ANY stream..."; - var d3u = "netw"; - d3u += "orkFail"; - d3u += "ed"; - var P3u = "Network "; - P3u += "has failed,"; - P3u += " not updating stream selection"; - x.forEach(function (F, D) { + var F7q = "(emp"; + F7q += "ty"; + F7q += " str"; + F7q += "eam"; + F7q += " list)"; + var t7q = "Did not find a U"; + t7q += "RL f"; + t7q += "or ANY stream..."; + var H7q = "n"; + H7q += "etwor"; + H7q += "kFaile"; + H7q += "d"; + var q7q = "Network has failed"; + q7q += ", not updati"; + q7q += "n"; + q7q += "g stream se"; + q7q += "lection"; + x.forEach(function (G, D) { var j50, - G; + F; j50 = 2; for (; j50 !== 5; ) { switch (j50) { case 2: - var w3u = " K"; - w3u += "bp"; - w3u += "s"; - w3u += ")"; - var a3u = " "; - a3u += "("; - var X3u = "]"; - X3u += " "; - var Z3u = "F"; - Z3u += "ail"; - Z3u += "ing "; - Z3u += "strea"; - Z3u += "m ["; - G = F.id; - E.some(function (I) { + var A7q = " K"; + A7q += "b"; + A7q += "p"; + A7q += "s"; + A7q += ")"; + var B7q = " "; + B7q += "("; + var Z7q = "]"; + Z7q += " "; + var u7q = "Fa"; + u7q += "iling st"; + u7q += "rea"; + u7q += "m"; + u7q += " ["; + F = G.id; + E.some(function (J) { var k50, - J, + K, H; k50 = 2; for (; k50 !== 8; ) { switch (k50) { - case 1: - k50 = !J ? 5 : 4; - break; case 5: return !1; break; + case 1: + k50 = !K ? 5 : 4; + break; case 2: - J = I.streams[G]; + K = J.streams[F]; k50 = 1; break; case 4: - H = J.Un[0]; - void 0 === F.I6 && (F.I6 = H.id, F.Upa = J.jX[H.id][0].cd.id); - return J.jX[I.id].some(function (M) { + H = K.Wn[0]; + void 0 === G.F6 && (G.F6 = H.id, G.Opa = K.iX[H.id][0].cd.id); + return K.iX[J.id].some(function (L) { var l50, - O; + Q; l50 = 2; for (; l50 !== 12; ) { switch (l50) { + case 2: + l50 = k(L.cd) ? 1 : 5; + break; case 1: - return (M.cd.Le === p.TEMPORARY && (F.Le = p.TEMPORARY), z.At && F.cd === M.cd.id && M.cd.Jv && (F.Jv = M.cd.Jv), !1); + return (L.cd.Ne === p.TEMPORARY && (G.Ne = p.TEMPORARY), z.Et && G.cd === L.cd.id && L.cd.Pv && (G.Pv = L.cd.Pv), !1); + break; + case 5: + l50 = k(L) ? 4 : 3; break; case 14: - F.lb = z.nfa ? I.lb.confidence >= m.default.wf.ww || B.confidence < C ? I.lb : B : B.confidence === m.default.wf.HAVE_NOTHING || I.lb.confidence >= m.default.wf.ww ? I.lb : B; + G.lb = z.gfa ? J.lb.confidence >= m.default.yf.Cw || A.confidence < C ? J.lb : A : A.confidence === m.default.yf.HAVE_NOTHING || J.lb.confidence >= m.default.yf.Cw ? J.lb : A; return !0; break; - case 5: - l50 = k(M) ? 4 : 3; - break; - case 2: - l50 = k(M.cd) ? 1 : 5; + case 3: + var s7q = "loc"; + s7q += "ation"; + s7q += "failover"; + var C7q = "serv"; + C7q += "er"; + C7q += "fai"; + C7q += "l"; + C7q += "over"; + var m7q = "pe"; + m7q += "rf"; + m7q += "orm"; + m7q += "anc"; + m7q += "e"; + var W7q = "u"; + W7q += "n"; + W7q += "kno"; + W7q += "w"; + W7q += "n"; + Q = W7q; + G.location !== J.id && (z.Et ? G.ima = J.id === H.id : Q = J !== E[0] ? "" + m.default.MD.t9 : void 0 === G.location ? "" + m.default.MD.Pw : h.fa(G.ZWa) || G.ZWa === J.id ? h.fa(G.bXa) || G.bXa === L.cd.id ? m7q : C7q : s7q, G.location = J.id, G.Oma = J.level, G.sr = Q); + G.url = L.url; + G.cd = L.cd.id; + G.ZG = L.cd.name; + l50 = 14; break; case 4: return !1; break; - case 3: - var C3u = "locati"; - C3u += "o"; - C3u += "nfai"; - C3u += "lover"; - var H3u = "s"; - H3u += "e"; - H3u += "rverfai"; - H3u += "love"; - H3u += "r"; - var f3u = "pe"; - f3u += "rformanc"; - f3u += "e"; - var R3u = "unkn"; - R3u += "ow"; - R3u += "n"; - O = R3u; - F.location !== I.id && (z.At ? F.oma = I.id === H.id : O = I !== E[0] ? "" + m.default.JD.y9 : void 0 === F.location ? "" + m.default.JD.Kw : h.ga(F.aXa) || F.aXa === I.id ? h.ga(F.dXa) || F.dXa === M.cd.id ? f3u : H3u : C3u, F.location = I.id, F.Uma = I.level, F.qr = O); - l50 = 8; - break; - case 8: - F.url = M.url; - F.cd = M.cd.id; - F.QG = M.cd.name; - l50 = 14; - break; } } }); break; } } - }) ? (F.JB = !1, F.Le = void 0, F.kv && ++A) : F.Le && F.Le === p.TEMPORARY ? y.Yn.Le = p.TEMPORARY : F.JB || (r.warn(Z3u + D + X3u + G + a3u + F.bitrate + w3u), F.Qob(), F.JB = !0); + }) ? (G.LB = !1, G.Ne = void 0, G.rv && ++B) : G.Ne && G.Ne === p.TEMPORARY ? y.$n.Ne = p.TEMPORARY : G.LB || (q.warn(u7q + D + Z7q + F + B7q + G.bitrate + A7q), G.Rob(), G.LB = !0); j50 = 5; break; } } }); - return k(this.Yn) ? (r.warn(P3u), this.J5 = !0, this.emit(d3u, this.Yn.Le === p.Jk), !1) : A ? !0 : (r.warn(V3u + (x.length ? "" : K3u)), this.hr(m.default.$g.Ew, !0), !1); + return k(this.$n) ? (q.warn(q7q), this.J5 = !0, this.emit(H7q, this.$n.Ne === p.Jk), !1) : B ? !0 : (q.warn(t7q + (x.length ? "" : F7q)), this.jr(m.default.Yg.Kw, !0), !1); + break; + case 11: + return (this.jr(m.default.Yg.Kw, !1), !1); + break; + case 1: + n.default.As && n.default.As(v); + i50 = 5; + break; + case 6: + i50 = !this.iN ? 14 : 13; + break; + case 12: + i50 = !E.length ? 11 : 10; + break; + case 13: + E = this.iN; + i50 = 12; + break; + case 2: + (y = this, z = this.config, A = this.Lb.get(), B = 0); + i50 = 1; + break; + case 3: + C = m.default.yf.$z; + z.PU && (C = m.default.yf.Cw); + this.Lb.location && A.confidence >= C && (v = this.Wn[this.Lb.location]) && (v.lb = A); + h.tb(this.iN) && (this.iN = this.zWb()); + i50 = 6; break; } } }; - w.prototype.DRb = function (v, x) { + w.prototype.GRb = function (v, x) { var m50, y, z; @@ -85148,429 +85297,288 @@ a000.D9b = function () { switch (m50) { case 2: (y = {}, z = /^http(s?):\/\/([^\/:]+):?([0-9]*)/); - h.forEach(this.urls, function (B, A) { + h.forEach(this.urls, function (A, B) { var n50, - F, - D, C, - E; + E, + G, + D; n50 = 2; for (; n50 !== 7; ) { switch (n50) { + case 2: + A = A.parent ? A.parent.id : ""; + (C = y[A], E = B.match(z)); + n50 = 5; + break; case 4: - var N3u = "8"; - N3u += "0"; - var g3u = "4"; - g3u += "4"; - g3u += "3"; - (F = "s" === E[1], D = E[2]); + var y7q = "8"; + y7q += "0"; + var b7q = "4"; + b7q += "4"; + b7q += "3"; + (G = "s" === E[1], D = E[2]); E = E[3]; - E.length || (E = F ? g3u : N3u); - h.ze(D) && h.ze(E) && D === v && E == x && (C ? C.push(A) : y[B] = [A]); + E.length || (E = G ? b7q : y7q); + h.Be(D) && h.Be(E) && D === v && E == x && (C ? C.push(B) : y[A] = [B]); n50 = 7; break; case 5: n50 = E && 4 === E.length ? 4 : 7; break; - case 2: - B = B.parent ? B.parent.id : ""; - (C = y[B], E = A.match(z)); - n50 = 5; - break; } } }); - m50 = 5; - break; - case 5: return y; break; } } }; - P40 = 13; - break; - case 4: - w.prototype.Cs = function () { - var T40; - T40 = 2; - for (; T40 !== 1; ) { - switch (T40) { - case 2: - return k(this.Yn); - break; - } - } - }; - w.prototype.L2a = function (v) { - var U40; - U40 = 2; - for (; U40 !== 5; ) { - switch (U40) { - case 9: - return v.parent.id; - break; - U40 = 5; - break; - case 1: - return v.parent.id; - break; - case 2: - U40 = (v = this.urls[v]) && v.parent ? 1 : 5; - break; - } - } - }; - w.prototype.R4 = function (v) { - var V40; - V40 = 2; - for (; V40 !== 5; ) { - switch (V40) { - case 2: - V40 = (v = this.urls[v]) && v.cd ? 1 : 5; - break; - case 1: - return v.cd.location; - break; - } - } - }; - P40 = 8; - break; - case 2: - g.__extends(w, t); - w.prototype.zBb = function () { - var R40; - R40 = 2; - for (; R40 !== 1; ) { - switch (R40) { - case 2: - return this.Ty[0].lb; - break; - } - } - }; - w.prototype.Tja = function () { - var S40; - S40 = 2; - for (; S40 !== 1; ) { - switch (S40) { - case 4: - return this.Ty; - break; - S40 = 1; - break; - case 2: - return this.Ty; - break; - } - } - }; - P40 = 4; - break; - case 13: - w.prototype.hr = function (v, x, y, z) { + w.prototype.jr = function (v, x, y, z) { var o50, q50, - B, - A, - C, - E, - F, r50, - D; + E, + G, + D, + A, + B, + C; o50 = 2; for (; o50 !== 42; ) { switch (o50) { - case 44: - var T3u = "Inval"; - T3u += "id f"; - T3u += "ailur"; - T3u += "e "; - T3u += "state"; - throw Error(T3u); - o50 = 24; + case 29: + o50 = r50 === p.rl ? 24 : 28; break; - case 11: - q50 = F.Cm; - o50 = q50 === m.default.$g.KD ? 10 : 18; + case 24: + var e7q = "n"; + e7q += "etwork"; + e7q += "Fa"; + e7q += "iled"; + var k7q = "Emitting networkF"; + k7q += "ailed, "; + k7q += "per"; + k7q += "manent ="; + A.Ne = C; + c(A); + this.J5 = this.J5 || k(this.$n); + C = this.$n.Ne; + C > B && (q.warn(k7q, C === p.Jk), this.emit(e7q, C === p.Jk)); + this.iN = null; + this.jN = m.default.MD.wf; + o50 = 32; break; - case 5: - B = B.parent; - o50 = 1; + case 18: + o50 = q50 === m.default.Yg.LOCATION ? 17 : 16; break; case 30: o50 = r50 === p.TEMPORARY ? 24 : 29; break; - case 15: - var x3u = "<"; - x3u += "url"; - x3u += " "; - x3u += "for "; - x.unshift(x3u + F.stream.bitrate + ">"); - o50 = 19; + case 13: + G = A; + o50 = 12; break; - case 21: - var s3u = "n"; - s3u += "etworkF"; - s3u += "ailed"; - var B3u = "Emittin"; - B3u += "g netwo"; - B3u += "rkFaile"; - B3u += "d, perman"; - B3u += "ent ="; - C = this.Yn.Le; - C > A && (r.warn(B3u, C === p.Jk), this.emit(s3u, C === p.Jk)); - o50 = 34; + case 3: + o50 = C !== A.Ne ? 9 : 42; break; - case 2: - (B = v !== m.default.$g.Ew && y ? this.urls[y] : this.Yn, A = this.Yn.Le, C = x ? p.Jk : p.TEMPORARY); + case 5: + A = A.parent; o50 = 1; break; - case 9: - var y1u = " "; - y1u += "a"; - y1u += "t"; - y1u += " "; - var U1u = " fai"; - U1u += "lu"; - U1u += "re re"; - U1u += "ported for"; - U1u += " "; - var F1u = "T"; - F1u += "E"; - F1u += "M"; - F1u += "P"; - var i3u = "P"; - i3u += "E"; - i3u += "R"; - i3u += "M"; - y = r; - E = y.warn; - v = (x ? i3u : F1u) + U1u + m.default.$g.name[v] + y1u; - x = []; - o50 = 13; - break; - case 18: - o50 = q50 === m.default.$g.LOCATION ? 17 : 16; - break; - case 27: - var L1u = " : w"; - L1u += "a"; - L1u += "s"; - L1u += " "; - E.call(y, v + (x.length ? "/" + x.join("/") : "") + L1u + l(B)); - o50 = 26; + case 32: + z && (this.jN = m.default.MD.fdb, A.Pv = z); + this.dump(); + o50 = 42; break; - case 17: - x.unshift(F.id); - o50 = 19; + case 11: + q50 = G.Am; + o50 = q50 === m.default.Yg.ND ? 10 : 18; break; - case 4: - o50 = B ? 3 : 43; + case 44: + var h7q = "Invalid fai"; + h7q += "lur"; + h7q += "e state"; + throw Error(h7q); + o50 = 24; break; case 19: - F = F.parent; + G = G.parent; o50 = 12; break; - case 16: - o50 = q50 === m.default.$g.URL ? 15 : 19; + case 12: + o50 = G ? 11 : 27; break; - case 28: - o50 = 44; + case 26: + r50 = A.Ne; + o50 = r50 === p.Jk ? 25 : 30; break; - case 34: - this.hN = null; - this.iN = m.default.JD.uf; - z && (this.iN = m.default.JD.cdb, B.Jv = z); - this.dump(); - o50 = 42; + case 16: + o50 = q50 === m.default.Yg.URL ? 15 : 19; break; - case 3: - o50 = C !== B.Le ? 9 : 42; + case 27: + var f7q = " "; + f7q += ": w"; + f7q += "a"; + f7q += "s"; + f7q += " "; + E.call(y, v + (x.length ? "/" + x.join("/") : "") + f7q + l(A)); + o50 = 26; break; - case 25: - return; + case 1: + o50 = A && A.parent && A.Am !== v ? 5 : 4; break; case 43: - var o1u = "Unable to find fai"; - o1u += "lure "; - o1u += "entity for URL "; - a000.D9b(2); - r.warn(a000.r9b(o1u, y)); + var E7q = "Unab"; + E7q += "le to find failure e"; + E7q += "ntity for URL "; + a000.Q1q(2); + q.warn(a000.o1q(y, E7q)); o50 = 42; break; + case 15: + var x7q = ""); + o50 = 19; + break; + case 17: + x.unshift(G.id); + o50 = 19; + break; case 20: x.unshift(D.id + "(" + D.name + ")"); o50 = 19; break; - case 13: - F = B; - o50 = 12; + case 25: + return; break; - case 26: - r50 = B.Le; - o50 = r50 === p.Jk ? 25 : 30; + case 28: + o50 = 44; break; - case 12: - o50 = F ? 11 : 27; + case 9: + y = q; + o50 = 8; break; - case 1: - o50 = B && B.parent && B.Cm !== v ? 5 : 4; + case 4: + o50 = A ? 3 : 43; break; - case 29: - o50 = r50 === p.sl ? 24 : 28; + case 8: + var I7q = " "; + I7q += "a"; + I7q += "t"; + I7q += " "; + var N7q = " failure repor"; + N7q += "ted f"; + N7q += "or"; + N7q += " "; + var p7q = "T"; + p7q += "E"; + p7q += "M"; + p7q += "P"; + var n7q = "P"; + n7q += "E"; + n7q += "R"; + n7q += "M"; + E = y.warn; + v = (x ? n7q : p7q) + N7q + m.default.Yg.name[v] + I7q; + x = []; + o50 = 13; break; case 10: - D = F; + D = G; o50 = 20; break; - case 24: - B.Le = C; - c(B); - this.J5 = this.J5 || k(this.Yn); - o50 = 21; + case 2: + (A = v !== m.default.Yg.Kw && y ? this.urls[y] : this.$n, B = this.$n.Ne, C = x ? p.Jk : p.TEMPORARY); + o50 = 1; break; } } }; - w.prototype.c2a = function (v, x) { + w.prototype.b2a = function (v, x) { var s50; s50 = 2; for (; s50 !== 3; ) { switch (s50) { case 2: - s50 = (v = this.Kt[v]) ? 1 : 5; + s50 = (v = this.Pt[v]) ? 1 : 5; break; case 5: - this.hN = null; - s50 = 4; - break; - case 4: - this.iN = m.default.JD.xaa; + this.iN = null; + this.jN = m.default.MD.raa; s50 = 3; break; case 1: (d(v, x), f(v)); s50 = 5; break; - case 8: - s50 = (v = this.Kt[v]) ? 8 : 2; - break; - s50 = (v = this.Kt[v]) ? 1 : 5; - break; } } }; - P40 = 11; - break; - case 11: - w.prototype.c7 = function () { + w.prototype.a7 = function () { var t50; t50 = 2; for (; t50 !== 1; ) { switch (t50) { + case 4: + d(this.$n, -3); + t50 = 6; + break; + t50 = 1; + break; case 2: - d(this.Yn, !1); + d(this.$n, !1); t50 = 1; break; } } }; - w.prototype.Qm = function (v) { + P40 = 10; + break; + case 27: + w.prototype.dump = function () {}; + return w; + break; + case 10: + w.prototype.Pm = function (v) { var u50, x; u50 = 2; for (; u50 !== 5; ) { switch (u50) { case 2: - null === (x = this.Hhb) || void 0 === x ? void 0 : x.call(this, v); + null === (x = this.Ihb) || void 0 === x ? void 0 : x.call(this, v); u50 = 5; break; } } }; - w.prototype.Ij = function () { + w.prototype.Hj = function () { var v50; v50 = 2; for (; v50 !== 1; ) { switch (v50) { - case 2: - this.aQb(u.wdb); - v50 = 1; - break; - } - } - }; - P40 = 19; - break; - case 16: - w.prototype.aQb = function (v) { - var I50, - x; - I50 = 2; - for (; I50 !== 3; ) { - switch (I50) { - case 2: - x = this.Jb.location; - this.pv = !1; - this.$Nb = v; - I50 = 4; - break; case 4: - this.Ty.forEach(function (y) { - var J50; - J50 = 2; - for (; J50 !== 1; ) { - switch (J50) { - case 2: - y.id !== x && y.lb && y.lb.confidence > m.default.wf.Zz && (y.lb.confidence = m.default.wf.Zz); - J50 = 1; - break; - } - } - }); - I50 = 3; + this.fQb(t.zdb); + v50 = 2; + break; + v50 = 1; break; - } - } - }; - w.prototype.tMb = function () { - var K50, - v; - K50 = 2; - for (; K50 !== 5; ) { - switch (K50) { case 2: - v = this; - this.J5 || this.Ty.forEach(function (x) { - var L50; - L50 = 2; - for (; L50 !== 1; ) { - switch (L50) { - case 2: - x.Le === p.TEMPORARY && v.mh.fail(x.id, n.default.time.aa()); - L50 = 1; - break; - } - } - }); - K50 = 5; + this.fQb(t.zdb); + v50 = 1; break; } } }; - w.prototype.dump = function () {}; - return w; - break; - case 19: - w.prototype.wb = function () { + w.prototype.zb = function () { var w50; w50 = 2; for (; w50 !== 1; ) { switch (w50) { case 2: - this.config.XGb && this.tMb(); + this.config.ZGb && this.wMb(); w50 = 1; break; } @@ -85586,119 +85594,121 @@ a000.D9b = function () { x = this; v.streams.forEach(function (y) { var y50, - z, B, + z, A; y50 = 2; for (; y50 !== 6; ) { switch (y50) { - case 1: - y50 = h.ga(B) ? 5 : 9; - break; - case 3: - x.streams[B.id] = B; - y50 = 9; - break; - case 2: - (z = y.downloadable_id, B = x.streams[z]); - y50 = 1; - break; case 5: - var b1u = "n"; - b1u += "o"; - b1u += "ne"; - b1u += "-"; - A = y.content_profile; - B = { + var V7q = "non"; + V7q += "e"; + V7q += "-"; + B = y.content_profile; + A = { id: z, bitrate: y.bitrate, - zb: y.vmaf, + xb: y.vmaf, type: y.type, - profile: A, - clear: 0 === A.indexOf(b1u), - kv: !0, + profile: B, + clear: 0 === B.indexOf(V7q), + rv: !0, urls: [], - jX: {}, - Un: [] + iX: {}, + Wn: [] }; y50 = 3; break; + case 2: + (z = y.downloadable_id, A = x.streams[z]); + y50 = 1; + break; + case 1: + y50 = h.fa(A) ? 5 : 9; + break; + case 3: + x.streams[A.id] = A; + y50 = 9; + break; case 9: y.urls.forEach(function (C) { var z50, E, - F, + G, D; z50 = 2; for (; z50 !== 13; ) { switch (z50) { + case 9: + C.children.push(G); + A.urls.push(G); + 0 === A.Wn.filter(function (F) { + var A50; + A50 = 2; + for (; A50 !== 1; ) { + switch (A50) { + case 4: + return F.id !== D.id; + break; + A50 = 1; + break; + case 2: + return F.id === D.id; + break; + } + } + }).length && A.Wn.push(D); + z50 = 6; + break; case 1: - z50 = h.ga(F) && (C = x.Kt[C.cdn_id]) ? 5 : 13; + z50 = h.fa(G) && (C = x.Pt[C.cdn_id]) ? 5 : 13; break; case 2: - (E = C.url, F = x.urls[E]); + (E = C.url, G = x.urls[E]); z50 = 1; break; case 5: D = C.location; - F = { + G = { id: E, - Cm: m.default.$g.URL, - Le: p.sl, - Jv: void 0, + Am: m.default.Yg.URL, + Ne: p.rl, + Pv: void 0, parent: C, children: [], url: E, cd: C, - stream: B + stream: A }; - x.urls[E] = F; - C.children.push(F); - z50 = 8; + x.urls[E] = G; + z50 = 9; break; - case 8: - B.urls.push(F); - 0 === B.Un.filter(function (G) { - var A50; - A50 = 2; - for (; A50 !== 1; ) { - switch (A50) { - case 4: - return G.id != D.id; - break; - A50 = 1; - break; - case 2: - return G.id === D.id; - break; - } - } - }).length && B.Un.push(D); - D.streams[B.id] = B; - (E = B.jX[D.id]) ? E.push(F) : B.jX[D.id] = [F]; + case 6: + D.streams[A.id] = A; + (E = A.iX[D.id]) ? E.push(G) : A.iX[D.id] = [G]; z50 = 13; break; } } }); - h.Te(B.jX, function (C) { + h.Ue(A.iX, function (C) { var B50; B50 = 2; for (; B50 !== 1; ) { switch (B50) { case 2: - C.sort(function (E, F) { + C.sort(function (E, G) { var C50; C50 = 2; for (; C50 !== 1; ) { switch (C50) { case 4: - return E.cd.Eg + F.cd.Eg; + return E.cd.Qe / G.cd.Qe; break; C50 = 1; break; case 2: - return E.cd.Eg - F.cd.Eg; + return E.cd.Qe - G.cd.Qe; break; } } @@ -85708,13 +85718,13 @@ a000.D9b = function () { } } }); - B.Un = B.Un.sort(function (C, E) { + A.Wn = A.Wn.sort(function (C, E) { var D50; D50 = 2; for (; D50 !== 1; ) { switch (D50) { case 2: - return C.level - E.level || C.Eg - E.Eg; + return C.level - E.level || C.Qe - E.Qe; break; } } @@ -85731,87 +85741,11 @@ a000.D9b = function () { }; P40 = 17; break; - case 17: - w.prototype.xWb = function () { - var E50, - z, - v, - x, - y; - E50 = 2; - for (; E50 !== 13; ) { - switch (E50) { - case 4: - z = n.default.time.aa(); - E50 = 3; - break; - case 2: - (v = this, x = this.config, y = this.Ty.filter(function (B) { - var F50; - F50 = 2; - for (; F50 !== 1; ) { - switch (F50) { - case 2: - return !k(B) && 0 !== B.level; - break; - } - } - })); - E50 = 1; - break; - case 1: - E50 = 0 === y.length ? 5 : 4; - break; - case 5: - return null; - break; - case 3: - E50 = null === this.G_ || this.G_ + x.Tma < z ? 9 : 8; - break; - case 9: - (y.forEach(function (B) { - var G50; - G50 = 2; - for (; G50 !== 1; ) { - switch (G50) { - case 2: - B.id !== v.Jb.location && (B.lb = v.mh.get(B.id)); - G50 = 1; - break; - } - } - }), this.G_ = z); - E50 = 8; - break; - case 6: - this.pv || h.ob(x) || (this.pv = !0); - return y; - break; - case 8: - x = this.iN; - y.sort(function (B, A) { - var H50; - H50 = 2; - for (; H50 !== 1; ) { - switch (H50) { - case 2: - return B.level - A.level || B.Eg - A.Eg; - break; - } - } - }); - E50 = 6; - break; - } - } - }; - P40 = 16; - break; } } - })(q.EventEmitter); - b.O$ = a; - }, function (q, b, a) { + })(r.EventEmitter); + b.G$ = a; + }, function (r, b, a) { var c, f, k, @@ -85826,153 +85760,153 @@ a000.D9b = function () { value: !0 } }); - b.$Ba = void 0; + b.YBa = void 0; c = a(22); f = a(6); - k = a(403); - l = a(844); - d = a(845); - g = a(846); - h = a(847); - m = a(848); - n = a(849); - q = (function () { - function r(p, u, t, w) { + k = a(407); + l = a(846); + d = a(847); + g = a(848); + h = a(849); + m = a(850); + n = a(851); + r = (function () { + function q(p, t, u, w) { this.config = p; - this.mediaType = u; - this.Ub = t; + this.mediaType = t; + this.Wb = u; this.console = w; } - r.prototype.append = function (p, u) { - var t, + q.prototype.append = function (p, t) { + var u, w, v, x; - w = u.endOfStream; - v = u.n5; - x = u.TU; - void 0 === this.track ? this.tL(p.stream) : this.track !== p.stream.track && (f.assert(this.track.pa), f.assert(p.stream.track.pa), f.assert(1 === this.mediaType || this.track.pa.equal(p.stream.track.pa)), this.track = p.stream.track); - f.assert(void 0 !== this.ss); - u = { - gd: p, - offset: null !== (t = p.M6) && void 0 !== t ? t : c.S.hb, - Be: this.config.m7 + w = t.endOfStream; + v = t.n5; + x = t.SU; + void 0 === this.track ? this.wL(p.stream) : this.track !== p.stream.track && (f.assert(this.track.pa), f.assert(p.stream.track.pa), f.assert(1 === this.mediaType || this.track.pa.equal(p.stream.track.pa)), this.track = p.stream.track); + f.assert(void 0 !== this.xs); + t = { + jd: p, + offset: null !== (u = p.J6) && void 0 !== u ? u : c.S.hb, + De: this.config.j7 }; - u = this.ss.reduce(function (y, z) { + t = this.xs.reduce(function (y, z) { return z.append(y, { endOfStream: w, n5: v, - TU: x + SU: x }); - }, u); - t = u.gd; - u = u.offset; - t.na && p.th(t.na); - return u; + }, t); + u = t.jd; + t = t.offset; + u.na && p.sh(u.na); + return t; }; - r.prototype.reset = function () { - this.ss = this.track = void 0; + q.prototype.reset = function () { + this.xs = this.track = void 0; }; - r.prototype.tL = function (p) { - var u, - t; + q.prototype.wL = function (p) { + var t, + u; this.track = p.track; - this.ss = []; + this.xs = []; if (0 === this.mediaType) { - this.config.m7 && this.ss.push(new d.YFa(this.config, p.track, this.console)); - t = this.$0(p); - t.equal(c.S.hb) ? this.config.ck && p.he && this.e4(p.N.da) && this.ss.push(new m.aAa(this.config)) : this.ss.push(new k.kZ(t)); - this.config.m5 || (this.console.log("MediaSplicer: NegativePtsGuard: " + t.Nd() + ", " + (null === (u = p.he) || void 0 === u ? void 0 : u.Nd())), this.ss.push(new g.sCa(this.config, p, this.console))); - this.VEb() && (this.config.Uf || this.ss.push(new n.nva(p, this.config, this.Ub, this.console)), this.ss.push(new l.BCa(this.config, p, this.console)), this.YSb(p) && (f.assert(p.pa), this.ss.push(this.Cpb(p.he || c.S.hb, p.pa, t)))); + this.config.j7 && this.xs.push(new d.UFa(this.config, p.track, this.console)); + u = this.b1(p); + u.equal(c.S.hb) ? this.config.dk && p.ee && this.f4(p.N.$) && this.xs.push(new m.Zza(this.config)) : this.xs.push(new k.kZ(u)); + this.config.m5 || (this.console.log("MediaSplicer: NegativePtsGuard: " + u.Ld() + ", " + (null === (t = p.ee) || void 0 === t ? void 0 : t.Ld())), this.xs.push(new g.qCa(this.config, p, this.console))); + this.ZEb() && (this.config.Vf || this.xs.push(new n.kva(p, this.config, this.Wb, this.console)), this.xs.push(new l.zCa(this.config, p, this.console)), this.aTb(p) && (f.assert(p.pa), this.xs.push(this.Dpb(p.ee || c.S.hb, p.pa, u)))); } }; - r.prototype.e4 = function (p) { - return this.config.e4 || this.config.f4 && -1 !== this.config.f4.indexOf(p); + q.prototype.f4 = function (p) { + return this.config.f4 || this.config.g4 && -1 !== this.config.g4.indexOf(p); }; - r.prototype.$0 = function (p) { - return k.kZ.$0(this.config, p.he, this.Ub, this.console); + q.prototype.b1 = function (p) { + return k.kZ.b1(this.config, p.ee, this.Wb, this.console); }; - r.prototype.VEb = function () { - return !this.config.mz; + q.prototype.ZEb = function () { + return !this.config.pz; }; - r.prototype.YSb = function (p) { - return this.config.VVb && this.config.ck && !!p.he; + q.prototype.aTb = function (p) { + return this.config.XVb && this.config.dk && !!p.ee; }; - r.prototype.Cpb = function (p, u, t) { - return new h.AHa(p.Ba(t), u, this.console); + q.prototype.Dpb = function (p, t, u) { + return new h.wHa(p.Da(u), t, this.console); }; - return r; + return q; })(); - b.$Ba = q; - }, function (q, b, a) { + b.YBa = r; + }, function (r, b, a) { var f, k, l, d; function c(g) { - return g.toString() + " (nrdp: " + g.HG + "ms)"; + return g.toString() + " (nrdp: " + g.OG + "ms)"; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.BCa = void 0; + b.zCa = void 0; f = a(22); - k = a(242); + k = a(243); l = a(19); d = a(6); - q = (function () { + r = (function () { function g(h, m, n) { this.console = n; this.offset = f.S.hb; - this.he = h.ck ? m.he : void 0; + this.ee = h.dk ? m.ee : void 0; d.assert(m.pa); this.pa = m.pa; } g.prototype.append = function (h) { var m, n, - r; - m = h.gd; + q; + m = h.jd; n = h.offset; - r = h.Be; - void 0 !== this.YWa && (d.assert(void 0 !== this.uma), m.Xc.add(h.offset).equal(this.YWa) ? (h = this.ynb(m, n.add(this.offset)).V - this.uma, 0 > h ? this.offset = this.offset.add(f.S.Cv) : 0 === h ? this.offset.lessThan(f.S.hb) && (this.offset = this.offset.add(f.S.Cv)) : 1 === h ? this.offset.greaterThan(f.S.hb) && (this.offset = this.offset.Ba(f.S.Cv)) : this.offset = this.offset.Ba(f.S.Cv)) : this.offset = f.S.hb); - this.uma = this.xnb(m, n.add(this.offset)).V; - this.YWa = m.Md.add(n); + q = h.De; + void 0 !== this.WWa && (d.assert(void 0 !== this.oma), m.Wc.add(h.offset).equal(this.WWa) ? (h = this.znb(m, n.add(this.offset)).V - this.oma, 0 > h ? this.offset = this.offset.add(f.S.Iv) : 0 === h ? this.offset.lessThan(f.S.hb) && (this.offset = this.offset.add(f.S.Iv)) : 1 === h ? this.offset.greaterThan(f.S.hb) && (this.offset = this.offset.Da(f.S.Iv)) : this.offset = this.offset.Da(f.S.Iv)) : this.offset = f.S.hb); + this.oma = this.ynb(m, n.add(this.offset)).V; + this.WWa = m.Kd.add(n); return { - gd: m, + jd: m, offset: n.add(this.offset), - Be: r + De: q }; }; - g.prototype.ynb = function (h, m) { + g.prototype.znb = function (h, m) { var n, - r; - h = this.ILa(h.Xc); - n = k.ft(h).add(k.ft(m)); - r = h.add(m).Ba(n); - l.ka && this.console.trace("NrdpRounding: content start " + c(h) + ", timestamp offset: " + c(m) + ", start rounding error: " + k.ft(h).toString() + ", offset rounding error: " + k.ft(m).toString() + ", total error: " + n.toString() + ", expected nrdp value:" + r.Nd() + ", (" + h.HG + m.HG + "ms), last fragment end nrdp: " + this.uma); - return r; - }; - g.prototype.xnb = function (h, m) { + q; + h = this.HLa(h.Wc); + n = k.mt(h).add(k.mt(m)); + q = h.add(m).Da(n); + l.ia && this.console.trace("NrdpRounding: content start " + c(h) + ", timestamp offset: " + c(m) + ", start rounding error: " + k.mt(h).toString() + ", offset rounding error: " + k.mt(m).toString() + ", total error: " + n.toString() + ", expected nrdp value:" + q.Ld() + ", (" + h.OG + m.OG + "ms), last fragment end nrdp: " + this.oma); + return q; + }; + g.prototype.ynb = function (h, m) { var n, - r, + q, p; n = this.pa; - h = this.ILa(h.Md); - r = k.ft(h.Ba(n)).add(k.ft(n)).add(k.ft(m)); - p = h.add(m).Ba(r); - l.ka && this.console.trace("NrdpRounding: content end: start of last frame:" + c(h.Ba(n)) + ", frame duration: " + c(n) + ", offset: " + c(m) + ", timestamp rounding error: " + k.ft(h.Ba(n)).toString() + ", frame duration rouding error: " + k.ft(n).toString() + ", offset rounding error: " + k.ft(m).toString() + ", total rounding error: " + r.toString() + ", expected nrdp value: " + p.Nd() + ", (" + h.Ba(n).HG + n.HG + m.HG + "ms)"); + h = this.HLa(h.Kd); + q = k.mt(h.Da(n)).add(k.mt(n)).add(k.mt(m)); + p = h.add(m).Da(q); + l.ia && this.console.trace("NrdpRounding: content end: start of last frame:" + c(h.Da(n)) + ", frame duration: " + c(n) + ", offset: " + c(m) + ", timestamp rounding error: " + k.mt(h.Da(n)).toString() + ", frame duration rouding error: " + k.mt(n).toString() + ", offset rounding error: " + k.mt(m).toString() + ", total rounding error: " + q.toString() + ", expected nrdp value: " + p.Ld() + ", (" + h.Da(n).OG + n.OG + m.OG + "ms)"); return p; }; - g.prototype.ILa = function (h) { - return this.he ? h.Ba(this.he) : h; + g.prototype.HLa = function (h) { + return this.ee ? h.Da(this.ee) : h; }; return g; })(); - b.BCa = q; - }, function (q, b, a) { + b.zCa = r; + }, function (r, b, a) { var c, f, k; @@ -85981,83 +85915,83 @@ a000.D9b = function () { value: !0 } }); - b.YFa = void 0; + b.UFa = void 0; c = a(22); f = a(6); k = a(19); - q = (function () { + r = (function () { function l(d, g, h) { this.config = d; this.console = h; - this.Ou = c.S.hb; + this.Tu = c.S.hb; f.assert(g.pa); this.pa = g.pa; - d = g.Qd[0].profile; - this.A5 = this.pAb(d, this.pa); - this.g5 = this.lAb(d, this.pa); + d = g.Od[0].profile; + this.A5 = this.sAb(d, this.pa); + this.g5 = this.pAb(d, this.pa); } l.prototype.append = function (d, g) { var h, m, n, - r; - h = d.gd; + q; + h = d.jd; m = d.offset; - d = d.Be; + d = d.De; n = g.n5; - g = g.TU; - if (this.npa) { - r = this.gJb(h, this.npa); - h.na && this.efa(r) ? (k.ka && this.console.trace("SeamlessAudio: dropping one first frame"), h.AS(1), this.Ou = r) : (this.Ou = r.add(this.pa), this.PMa(this.Ou) || (k.ka && this.console.trace("SeamlessAudio: cannot maintain seamlessness at " + h.Ui.Nd() + " error would be " + this.Ou.Nd() + " (editing " + (h.na ? "" : "not ") + "allowed)"), this.Ou = c.S.hb, d = !1)); - this.npa = void 0; - } - if (h.Ap || h.ov) - (f.assert(n, "SeamlessAudio.append(): mediaSplicePlayerTimestamp is undefined"), !h.na || !g && h.ov || (r = this.hJb(h, n, g), r.xp(c.S.hb) && h.a2(1)), this.npa = n); - f.assert(this.PMa(this.Ou)); - this.zma = h.pf; + g = g.SU; + if (this.ipa) { + q = this.iJb(h, this.ipa); + h.na && this.Yea(q) ? (k.ia && this.console.trace("SeamlessAudio: dropping one first frame"), h.zS(1), this.Tu = q) : (this.Tu = q.add(this.pa), this.QMa(this.Tu) || (k.ia && this.console.trace("SeamlessAudio: cannot maintain seamlessness at " + h.Si.Ld() + " error would be " + this.Tu.Ld() + " (editing " + (h.na ? "" : "not ") + "allowed)"), this.Tu = c.S.hb, d = !1)); + this.ipa = void 0; + } + if (h.Cp || h.uv) + (f.assert(n, "SeamlessAudio.append(): mediaSplicePlayerTimestamp is undefined"), !h.na || !g && h.uv || (q = this.jJb(h, n, g), q.On(c.S.hb) && h.c2(1)), this.ipa = n); + f.assert(this.QMa(this.Tu)); + this.tma = h.pf; return { - gd: h, - offset: m.add(this.Ou), - Be: d + jd: h, + offset: m.add(this.Tu), + De: d }; }; - l.prototype.hJb = function (d, g, h) { + l.prototype.jJb = function (d, g, h) { var m; if (h) - m = this.Ou.add(d.pf.Ba(h)).Ba(this.pa); - else (m = d.pf.Ba(g), m = this.Ou.add(m).Ba(this.pa)); - k.ka && this.console.trace("SeamlessAudio: fragment end: " + d.pf.Nd() + ", splice " + g.Nd() + ", next start " + (null === h || void 0 === h ? void 0 : h.Nd()) + ", error " + m.add(this.pa).Nd() + ", error with frame drop " + m.Nd() + ", is" + (this.efa(m) ? "" : " not") + " within bounds of [" + this.A5.Nd() + " and " + this.g5.Nd() + ")"); + m = this.Tu.add(d.pf.Da(h)).Da(this.pa); + else (m = d.pf.Da(g), m = this.Tu.add(m).Da(this.pa)); + k.ia && this.console.trace("SeamlessAudio: fragment end: " + d.pf.Ld() + ", splice " + g.Ld() + ", next start " + (null === h || void 0 === h ? void 0 : h.Ld()) + ", error " + m.add(this.pa).Ld() + ", error with frame drop " + m.Ld() + ", is" + (this.Yea(m) ? "" : " not") + " within bounds of [" + this.A5.Ld() + " and " + this.g5.Ld() + ")"); return m; }; - l.prototype.gJb = function (d, g) { + l.prototype.iJb = function (d, g) { var h; - f.assert(this.zma); - h = this.Ou.add(this.zma.Ba(d.Ui)).Ba(this.pa); - k.ka && this.console.trace("SeamlessAudio: fragment start: " + d.Ui.Nd() + ", splice " + g.Nd() + ", last fragment end: " + this.zma.Nd() + ", error " + h.add(this.pa).Nd() + ", error with frame drop " + h.Nd() + ", is" + (this.efa(h) ? "" : " not") + " within bounds of [" + this.A5.Nd() + " and " + this.g5.Nd() + ")"); + f.assert(this.tma); + h = this.Tu.add(this.tma.Da(d.Si)).Da(this.pa); + k.ia && this.console.trace("SeamlessAudio: fragment start: " + d.Si.Ld() + ", splice " + g.Ld() + ", last fragment end: " + this.tma.Ld() + ", error " + h.add(this.pa).Ld() + ", error with frame drop " + h.Ld() + ", is" + (this.Yea(h) ? "" : " not") + " within bounds of [" + this.A5.Ld() + " and " + this.g5.Ld() + ")"); return h; }; - l.prototype.efa = function (d) { - return d.lessThan(this.g5) && d.xp(this.A5); + l.prototype.Yea = function (d) { + return d.lessThan(this.g5) && d.On(this.A5); }; - l.prototype.PMa = function (d) { - return d.lessThan(this.g5.add(c.S.Cv)) && d.xp(this.A5.Ba(c.S.Cv)); - }; - l.prototype.lAb = function (d, g) { - return "object" === typeof this.config.yra && void 0 !== this.config.yra[d] ? (d = new c.S(this.config.yra[d], 1E3).Vf(g.U).add(new c.S(1, g.U)), c.S.min(g, d)) : g; + l.prototype.QMa = function (d) { + return d.lessThan(this.g5.add(c.S.Iv)) && d.On(this.A5.Da(c.S.Iv)); }; l.prototype.pAb = function (d, g) { + return "object" === typeof this.config.rra && void 0 !== this.config.rra[d] ? (d = new c.S(this.config.rra[d], 1E3).Wf(g.U).add(new c.S(1, g.U)), c.S.min(g, d)) : g; + }; + l.prototype.sAb = function (d, g) { var h; - if ("object" === typeof this.config.zra && void 0 !== this.config.zra[d]) { + if ("object" === typeof this.config.sra && void 0 !== this.config.sra[d]) { h = g.Yk(-2); - d = new c.S(this.config.zra[d], 1E3).Vf(g.U).Ba(new c.S(1, g.U)); + d = new c.S(this.config.sra[d], 1E3).Wf(g.U).Da(new c.S(1, g.U)); return c.S.max(h, d); } return new c.S(-12, 1E3); }; return l; })(); - b.YFa = q; - }, function (q, b, a) { + b.UFa = r; + }, function (r, b, a) { var c, f, k; @@ -86066,49 +86000,49 @@ a000.D9b = function () { value: !0 } }); - b.sCa = void 0; + b.qCa = void 0; c = a(22); f = a(6); k = a(19); - q = (function () { + r = (function () { function l(d, g, h) { var m; this.console = h; - this.aW = !1; + this.$V = !1; f.assert(g.pa, "NegativePtsGuard: stream.frameDuration must exist."); this.pa = g.pa; - this.ck = d.ck; - this.he = null !== (m = g.he) && void 0 !== m ? m : c.S.hb; + this.dk = d.dk; + this.ee = null !== (m = g.ee) && void 0 !== m ? m : c.S.hb; } l.prototype.append = function (d) { var g, h, m, n; - if (this.aW) + if (this.$V) return d; - g = d.gd; + g = d.jd; h = d.offset; - d = d.Be; + d = d.De; if (g.na) { - m = g.Xc.Ba(this.ck ? this.he : c.S.hb).add(h); + m = g.Wc.Da(this.dk ? this.ee : c.S.hb).add(h); if (m.lessThan(c.S.hb)) { - n = Math.ceil(m.mC(-1).Yk(this.pa)); - k.ka && this.console.trace("NegativePtsGuard: dropping " + n + " frames on first fragment to avoid nagative pts, profile offset " + (this.he.Nd() + ", request content start ") + (g.Xc.Nd() + ", current timestamp offset ") + (h.Nd() + " => firstPlatformTimestamp ") + (m.Nd() + ".")); - g.AS(n); + n = Math.ceil(m.oC(-1).Yk(this.pa)); + k.ia && this.console.trace("NegativePtsGuard: dropping " + n + " frames on first fragment to avoid nagative pts, profile offset " + (this.ee.Ld() + ", request content start ") + (g.Wc.Ld() + ", current timestamp offset ") + (h.Ld() + " => firstPlatformTimestamp ") + (m.Ld() + ".")); + g.zS(n); } } - this.aW = !0; + this.$V = !0; return { - gd: g, + jd: g, offset: h, - Be: d + De: d }; }; return l; })(); - b.sCa = q; - }, function (q, b, a) { + b.qCa = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -86116,12 +86050,12 @@ a000.D9b = function () { value: !0 } }); - b.AHa = void 0; + b.wHa = void 0; c = a(22); f = a(19); - q = (function () { + r = (function () { function k(l, d, g) { - this.he = l; + this.ee = l; this.pa = d; this.console = g; } @@ -86130,48 +86064,48 @@ a000.D9b = function () { h, m, n; - g = l.gd; + g = l.jd; h = l.offset; - l = l.Be; + l = l.De; m = d.endOfStream; d = d.n5; if (m && d) { - m = g.Xc.Ba(this.he).add(h); - n = g.Md.Ba(this.he).add(h); - d = d.Ba(c.S.Cv); - f.ka && this.console.trace("TruncateEndOfStreamAudio: last fragment has adjusted times " + m.Nd() + "-" + n.Nd() + " vs media splice point at " + d.Nd()); - m.add(this.pa).xp(d) ? (f.ka && this.console.trace("TruncateEndOfStreamAudio: dropping whole fragment"), g.Sha()) : n.xp(d) && (d = Math.ceil(n.Ba(d).Yk(this.pa)), g.na ? (f.ka && this.console.trace("TruncateEndOfStreamAudio: drop " + d + " frames"), g.a2(d)) : (f.ka && this.console.trace("TruncateEndOfStreamAudio: fragment.edit is false, dropping whole fragment"), g.Sha())); + m = g.Wc.Da(this.ee).add(h); + n = g.Kd.Da(this.ee).add(h); + d = d.Da(c.S.Iv); + f.ia && this.console.trace("TruncateEndOfStreamAudio: last fragment has adjusted times " + m.Ld() + "-" + n.Ld() + " vs media splice point at " + d.Ld()); + m.add(this.pa).On(d) ? (f.ia && this.console.trace("TruncateEndOfStreamAudio: dropping whole fragment"), g.Mha()) : n.On(d) && (d = Math.ceil(n.Da(d).Yk(this.pa)), g.na ? (f.ia && this.console.trace("TruncateEndOfStreamAudio: drop " + d + " frames"), g.c2(d)) : (f.ia && this.console.trace("TruncateEndOfStreamAudio: fragment.edit is false, dropping whole fragment"), g.Mha())); } else - m && f.ka && this.console.trace("TruncateEndOfStreamAudio: last fragment has no media splice point"); + m && f.ia && this.console.trace("TruncateEndOfStreamAudio: last fragment has no media splice point"); return { - gd: g, + jd: g, offset: h, - Be: l + De: l }; }; return k; })(); - b.AHa = q; - }, function (q, b) { + b.wHa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.aAa = void 0; - q = (function () { + b.Zza = void 0; + r = (function () { function a(c) { - this.aW = !1; - this.hTb = c.ZVa; + this.$V = !1; + this.kTb = c.XVa; } a.prototype.append = function (c) { - c.gd.na && (c.gd.nSb(this.aW ? 0 : this.hTb), this.aW = !0); + c.jd.na && (c.jd.qSb(this.$V ? 0 : this.kTb), this.$V = !0); return c; }; return a; })(); - b.aAa = q; - }, function (q, b, a) { + b.Zza = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -86179,13 +86113,13 @@ a000.D9b = function () { value: !0 } }); - b.nva = void 0; - c = a(243); + b.kva = void 0; + c = a(244); f = a(9); - q = (function () { + r = (function () { function k(l, d, g, h) { this.config = d; - this.Ub = g; + this.Wb = g; this.console = h; this.pa = l.pa; } @@ -86194,50 +86128,50 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; - h = c.g3(this.config, this.Ub); - m = l.gd; + t, + u; + h = c.i3(this.config, this.Wb); + m = l.jd; n = m.pf; - r = m.Ui; - p = m.ov; - u = l.Be; - p = m.Ap || p; - if (!l.gd.na || !p || u) + q = m.Si; + p = m.uv; + t = l.De; + p = m.Cp || p; + if (!l.jd.na || !p || t) return l; - u = m.Md.Ba(m.Xc); - m = Math.floor(u.Yk(this.pa)); - p = null !== (g = d.TU) && void 0 !== g ? g : n.Ba(this.pa.mC(2)); - n = p.Ba(r); + t = m.Kd.Da(m.Wc); + m = Math.floor(t.Yk(this.pa)); + p = null !== (g = d.SU) && void 0 !== g ? g : n.Da(this.pa.oC(2)); + n = p.Da(q); g = m; - t = !1; - d.TU && (d = this.BNa(u, n, n), g = d.cN, t = d.YU); - h = p.Ba(f.S.rb(h)); - r = f.S.max(h.Ba(r), f.S.hb); - t || (r = this.BNa(u, r, n), g = r.cN, r.YU && (--g, this.pa.mC(g))); - g < (this.config.VYa || 1) ? l.gd.Sha() : 0 < m - g && l.gd.a2(m - g); + u = !1; + d.SU && (d = this.BNa(t, n, n), g = d.cN, u = d.XU); + h = p.Da(f.S.rb(h)); + q = f.S.max(h.Da(q), f.S.hb); + u || (q = this.BNa(t, q, n), g = q.cN, q.XU && (--g, this.pa.oC(g))); + g < (this.config.SYa || 1) ? l.jd.Mha() : 0 < m - g && l.jd.c2(m - g); return l; }; k.prototype.BNa = function (l, d, g) { var h; l = f.S.min(l, d); l = Math.floor(l.Yk(this.pa)); - d = this.pa.mC(l); - g = g.Ba(d); - h = 0 < l && g.lessThan(f.S.Cv); + d = this.pa.oC(l); + g = g.Da(d); + h = 0 < l && g.lessThan(f.S.Iv); return { cN: l, - p7b: d, - Qxb: g, - YU: h + B7b: d, + Wxb: g, + XU: h }; }; return k; })(); - b.nva = q; - }, function (q, b, a) { + b.kva = r; + }, function (r, b, a) { var f, k, l, @@ -86246,29 +86180,29 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; - function c(x, y, z, B) { - var A, + function c(x, y, z, A) { + var B, C; - g.assert(x.tk, "Current time: " + n.default.time.aa() + " cr: " + x.currentTime); + g.assert(x.tk, "Current time: " + n.default.time.ba() + " cr: " + x.currentTime); g.assert(x.currentTime.isFinite()); - A = z.Ba(x.currentTime); - A = Math.max(Math.ceil(A.vG / x.speed), 0); - C = null !== B && void 0 !== B ? B : { + B = z.Da(x.currentTime); + B = Math.max(Math.ceil(B.BG / x.speed), 0); + C = null !== A && void 0 !== A ? A : { id: void 0, - UPa: A, - MZa: 0, - tLb: A + SPa: B, + KZa: 0, + vLb: B }; C.id = setTimeout(function () { - z.Ba(x.currentTime).Fy(l.S.hb) ? y() : (C.MZa++, c(x, y, z, C)); - }, A); - C.UPa = A; + z.Da(x.currentTime).Iy(l.S.hb) ? y() : (C.KZa++, c(x, y, z, C)); + }, B); + C.SPa = B; return C; } Object.defineProperties(b, { @@ -86276,339 +86210,339 @@ a000.D9b = function () { value: !0 } }); - b.hua = b.PP = void 0; + b.eua = b.QP = void 0; f = a(2); k = a(16); l = a(22); - d = a(244); + d = a(245); g = a(6); h = a(19); - m = a(851); - n = f.__importDefault(a(4)); - r = a(175); - p = a(852); - u = a(853); - t = a(151); + m = a(853); + n = f.__importDefault(a(5)); + q = a(175); + p = a(854); + t = a(855); + u = a(151); w = (function () { function x() { this.complete(); } Object.defineProperties(x.prototype, { - lH: { + tH: { get: function () { - return this.Rda; + return this.Lda; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - qZa: { + nZa: { get: function () { - return this.thb; + return this.uhb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - Csb: { + Esb: { get: function () { - return this.Ffb; + return this.Gfb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(x.prototype, { - vra: { + ora: { get: function () { - return this.bjb; + return this.cjb; }, enumerable: !1, configurable: !0 } }); - x.prototype.set = function (y, z, B) { - this.Ffb = z === v.hM ? 0 : n.default.time.aa(); - this.thb = y; - this.bjb = z; - h.ka && g.assert(!this.Rda, "Invalid replacement of timeout value"); - this.Rda = B; + x.prototype.set = function (y, z, A) { + this.Gfb = z === v.jM ? 0 : n.default.time.ba(); + this.uhb = y; + this.cjb = z; + h.ia && g.assert(!this.Lda, "Invalid replacement of timeout value"); + this.Lda = A; }; x.prototype.complete = function () { - this.Rda = void 0; - this.set(l.S.PB, v.hM); + this.Lda = void 0; + this.set(l.S.RB, v.jM); }; return x; })(); (function (x) { - x[x.hM = 0] = "none"; - x[x.JYa = 1] = "microTask"; + x[x.jM = 0] = "none"; + x[x.GYa = 1] = "microTask"; x[x.setTimeout = 2] = "setTimeout"; })(v || (v = {})); - q = (function (x) { - function y(z, B, A) { + r = (function (x) { + function y(z, A, B) { var C; - void 0 === A && (A = "unknown"); + void 0 === B && (B = "unknown"); C = x.call(this) || this; - C.wa = z; - C.console = B; - C.name = A; - C.rhb = 0; - C.Rca = !1; - C.bk = new w(); - C.m2 = new k.zh(); - C.xl = new d.RY([], m.BOa(function (E, F) { - return E.bN.Wk(F.bN); - }, function (E, F) { - return F.vr.priority - E.vr.priority; - }, function (E, F) { - return E.vr.id > F.vr.id ? 1 : E.vr.id < F.vr.id ? -1 : 0; + C.xa = z; + C.console = A; + C.name = B; + C.shb = 0; + C.Lca = !1; + C.ck = new w(); + C.n2 = new k.xh(); + C.wl = new d.QY([], m.zOa(function (E, G) { + return E.bN.Wk(G.bN); + }, function (E, G) { + return G.yr.priority - E.yr.priority; + }, function (E, G) { + return E.yr.id > G.yr.id ? 1 : E.yr.id < G.yr.id ? -1 : 0; })); C.vMa(z); return C; } f.__extends(y, x); Object.defineProperties(y.prototype, { - PSb: { + TSb: { get: function () { - return this.wa.tk; + return this.xa.tk; }, enumerable: !1, configurable: !0 } }); - y.prototype.rPa = function (z, B) { - z = new(z.bind.apply(z, f.__spread([void 0], B)))(); - z.id = this.rhb++; + y.prototype.qPa = function (z, A) { + z = new(z.bind.apply(z, f.__spread([void 0], A)))(); + z.id = this.shb++; z.Hlb(this); - this.uea(z); + this.oea(z); return z; }; - y.prototype.mB = function () { - for (var z = [], B = 0; B < arguments.length; B++) { - z[B] = arguments[B]; + y.prototype.nB = function () { + for (var z = [], A = 0; A < arguments.length; A++) { + z[A] = arguments[A]; } - return this.rPa(p.fAa, z); + return this.qPa(p.dAa, z); }; - y.prototype.oyb = function () { + y.prototype.tyb = function () { var z; z = { - hasSchedule: !!this.bk.lH, - schedule: this.bk.lH && ({ - sleepTime: this.bk.lH.UPa, - originalSleepTime: this.bk.lH.tLb, - clockSkewAdjustments: this.bk.lH.MZa + hasSchedule: !!this.ck.tH, + schedule: this.ck.tH && ({ + sleepTime: this.ck.tH.SPa, + originalSleepTime: this.ck.tH.vLb, + clockSkewAdjustments: this.ck.tH.KZa }), - nextWakeup: this.bk.qZa.V, - timeScheduled: this.bk.Csb, - scheduleType: v[this.bk.vra], - numTasks: this.xl.length, + nextWakeup: this.ck.nZa.V, + timeScheduled: this.ck.Esb, + scheduleType: v[this.ck.ora], + numTasks: this.wl.length, clock: { - ir: this.wa.tk, - ct: this.wa.currentTime.V, - sp: this.wa.speed + ir: this.xa.tk, + ct: this.xa.currentTime.V, + sp: this.xa.speed } }; - h.ka && this.trace("audit", z); + h.ia && this.trace("audit", z); return z; }; - y.prototype.gK = function () { - for (var z = [], B = 0; B < arguments.length; B++) { - z[B] = arguments[B]; + y.prototype.kK = function () { + for (var z = [], A = 0; A < arguments.length; A++) { + z[A] = arguments[A]; } - return this.rPa(u.qGa, z); + return this.qPa(t.mGa, z); }; - y.prototype.Qrb = function (z, B, A) { - this.mB(function () { + y.prototype.Rrb = function (z, A, B) { + this.nB(function () { return f.__generator(this, function (C) { switch (C.label) { case 0: - return [4, t.mj.VC(B)]; + return [4, u.jj.XC(A)]; case 1: - return (C.Oe(), z(), [3, 0]); + return (C.Wd(), z(), [3, 0]); case 2: return [2]; } }); - }, A); + }, B); }; y.prototype.vMa = function (z) { - var B; - B = this; - this.hB(); - this.m2.clear(); - this.wa = z; - this.m2.on(z, "stopStart", function () { - return B.PM(); + var A; + A = this; + this.jB(); + this.n2.clear(); + this.xa = z; + this.n2.on(z, "stopStart", function () { + return A.PM(); }); - this.m2.on(z, "clockAdjusted", function () { - return B.cV(); + this.n2.on(z, "clockAdjusted", function () { + return A.bV(); }); - this.m2.on(z, "speedChanged", function () { - return B.gLb(); + this.n2.on(z, "speedChanged", function () { + return A.iLb(); }); - this.cV(); + this.bV(); this.emit("clockChanged"); }; - y.prototype.gLb = function () { - this.hB(); + y.prototype.iLb = function () { + this.jB(); this.PM(); }; - y.prototype.wb = function () { + y.prototype.zb = function () { this.reset(); }; y.prototype.reset = function () { - this.hB(); - this.xl.clear(); + this.jB(); + this.wl.clear(); }; - y.prototype.cV = function () { + y.prototype.bV = function () { var z, - B; + A; z = this; - B = this.xl.map(function (A) { - return A.vr; + A = this.wl.map(function (B) { + return B.yr; }); - this.hB(); - this.xl.clear(); - B.forEach(function (A) { - return z.uea(A, !1); + this.jB(); + this.wl.clear(); + A.forEach(function (B) { + return z.oea(B, !1); }); this.PM(); }; - y.prototype.uea = function (z, B) { - var A, + y.prototype.oea = function (z, A) { + var B, C; - void 0 === B && (B = !0); - A = z.P5(); - C = this.f5a(A); + void 0 === A && (A = !0); + B = z.P5(); + C = this.h5a(B); z = { - vr: z, + yr: z, bN: C, - Z6: A + X6: B }; - g.assert(!this.xl.contains(z)); - this.xl.push(z); - B && this.PM(); + g.assert(!this.wl.contains(z)); + this.wl.push(z); + A && this.PM(); }; y.prototype.PM = function () { var z, - B, A, + B, C, E; z = this; - h.ka && this.trace("recheck schedule task count:" + this.xl.length); - if (this.PSb) { - if (this.Rca) - h.ka && this.trace("already executing, bailing"); + h.ia && this.trace("recheck schedule task count:" + this.wl.length); + if (this.TSb) { + if (this.Lca) + h.ia && this.trace("already executing, bailing"); else { - C = this.bk.qZa; - E = null !== (A = null === (B = this.xl.Ev()) || void 0 === B ? void 0 : B.bN) && void 0 !== A ? A : l.S.PB; - E.isFinite() && E.T5(C) ? (this.hB(!1), this.wa.currentTime.xp(E) ? (this.bk.set(E, v.JYa), Promise.resolve().then(function () { - z.bk.vra === v.JYa && (z.bk.complete(), z.p2a()); - })) : (h.ka && this.trace("scheduling next wake up for:" + E.V), B = c(this.wa, function () { - z.bk.complete(); - z.p2a(); - }, E), this.bk.set(E, v.setTimeout, B))) : E.isFinite() || this.bk.vra !== v.setTimeout || this.hB(!1); - } - } else (h.ka && this.trace("should check schedule is false, stopping"), this.hB()); - }; - y.prototype.p2a = function () { + C = this.ck.nZa; + E = null !== (B = null === (A = this.wl.Kv()) || void 0 === A ? void 0 : A.bN) && void 0 !== B ? B : l.S.RB; + E.isFinite() && E.T5(C) ? (this.jB(!1), this.xa.currentTime.On(E) ? (this.ck.set(E, v.GYa), Promise.resolve().then(function () { + z.ck.ora === v.GYa && (z.ck.complete(), z.o2a()); + })) : (h.ia && this.trace("scheduling next wake up for:" + E.V), A = c(this.xa, function () { + z.ck.complete(); + z.o2a(); + }, E), this.ck.set(E, v.setTimeout, A))) : E.isFinite() || this.ck.ora !== v.setTimeout || this.jB(!1); + } + } else (h.ia && this.trace("should check schedule is false, stopping"), this.jB()); + }; + y.prototype.o2a = function () { var z, - B, A, + B, C; - A = 0; - C = null === (z = this.xl.Ev()) || void 0 === z ? void 0 : z.Z6; + B = 0; + C = null === (z = this.wl.Kv()) || void 0 === z ? void 0 : z.X6; try { - for (this.Rca = !0; 1E4 > A++ && this.ZVb(); ) { ; + for (this.Lca = !0; 1E4 > B++ && this.aWb(); ) { ; } } finally { - this.Rca = !1; - this.hB(); - 1E4 < A && !this.MCb(C) ? null === (B = this.console) || void 0 === B ? void 0 : B.error("Task scheduler executed more than 10000 iterations in same tick") : this.PM(); + this.Lca = !1; + this.jB(); + 1E4 < B && !this.OCb(C) ? null === (A = this.console) || void 0 === A ? void 0 : A.error("Task scheduler executed more than 10000 iterations in same tick") : this.PM(); } }; - y.prototype.MCb = function (z) { - var B, - A; - A = null === (B = this.xl.Ev()) || void 0 === B ? void 0 : B.Z6; - return z && A && z.timestamp.equal(A.timestamp) && z.type === A.type ? !1 : !0; + y.prototype.OCb = function (z) { + var A, + B; + B = null === (A = this.wl.Kv()) || void 0 === A ? void 0 : A.X6; + return z && B && z.timestamp.equal(B.timestamp) && z.type === B.type ? !1 : !0; }; - y.prototype.ZVb = function () { + y.prototype.aWb = function () { var z, - B, - A; - A = null !== (B = null === (z = this.xl.Ev()) || void 0 === z ? void 0 : z.bN) && void 0 !== B ? B : l.S.PB; - h.ka && this.trace("tryExecuteNextTask @" + this.wa.currentTime.V + ", next wakeup at " + A); - if (this.wa.currentTime.xp(A) && (z = this.xl.pop())) { - B = z.vr; - h.ka && this.trace("Running a task @" + this.wa.currentTime.V + ", scheduled for time:" + A.V + ("Name:" + B.name)); + A, + B; + B = null !== (A = null === (z = this.wl.Kv()) || void 0 === z ? void 0 : z.bN) && void 0 !== A ? A : l.S.RB; + h.ia && this.trace("tryExecuteNextTask @" + this.xa.currentTime.V + ", next wakeup at " + B); + if (this.xa.currentTime.On(B) && (z = this.wl.pop())) { + A = z.yr; + h.ia && this.trace("Running a task @" + this.xa.currentTime.V + ", scheduled for time:" + B.V + ("Name:" + A.name)); try { - B.Sv(); - z.Z6 = B.P5(); - z.bN = this.f5a(z.Z6); + A.Xv(); + z.X6 = A.P5(); + z.bN = this.h5a(z.X6); } catch (C) { - throw (this.console.error("Unhandled error from a task " + B.name + " occurred. Removing the task from future executions:" + C, { + throw (this.console.error("Unhandled error from a task " + A.name + " occurred. Removing the task from future executions:" + C, { stack: C.stack - }), B.wb(), C); + }), A.zb(), C); } finally { - z.bN !== l.S.PB && B.state === r.ul.eW && (g.assert(!this.xl.contains(z)), this.xl.push(z)); + z.bN !== l.S.RB && A.state === q.tl.eW && (g.assert(!this.wl.contains(z)), this.wl.push(z)); } return !0; } }; - y.prototype.BQb = function (z) { - g.assert(z.Df === this); - this.Lqa(z, !1); - this.uea(z); + y.prototype.GQb = function (z) { + g.assert(z.Ff === this); + this.Fqa(z, !1); + this.oea(z); }; - y.prototype.Lqa = function (z, B) { - var A; - void 0 === B && (B = !0); - A = this.xl.find(function (C) { - return C.vr === z; + y.prototype.Fqa = function (z, A) { + var B; + void 0 === A && (A = !0); + B = this.wl.find(function (C) { + return C.yr === z; }); - A && this.LPb(A, B); + B && this.QPb(B, A); }; - y.prototype.LPb = function (z, B) { - this.xl.remove(z); - B && this.PM(); + y.prototype.QPb = function (z, A) { + this.wl.remove(z); + A && this.PM(); }; - y.prototype.hB = function (z) { + y.prototype.jB = function (z) { void 0 === z && (z = !0); - this.bk.lH && (z && this.emit("stopping"), clearTimeout(this.bk.lH.id), this.bk.complete()); + this.ck.tH && (z && this.emit("stopping"), clearTimeout(this.ck.tH.id), this.ck.complete()); }; - y.prototype.f5a = function (z) { - return z.type === t.oba.absolute ? z.timestamp : z.timestamp.add(this.wa.currentTime); + y.prototype.h5a = function (z) { + return z.type === u.iba.absolute ? z.timestamp : z.timestamp.add(this.xa.currentTime); }; y.prototype.trace = function () { - for (var z, B = [], A = 0; A < arguments.length; A++) { - B[A] = arguments[A]; + for (var z, A = [], B = 0; B < arguments.length; B++) { + A[B] = arguments[B]; } - null === (z = this.console) || void 0 === z ? void 0 : z.trace.apply(z, f.__spread(["TaskScheduler(" + this.name + "):"], B)); + null === (z = this.console) || void 0 === z ? void 0 : z.trace.apply(z, f.__spread(["TaskScheduler(" + this.name + "):"], A)); }; return y; })(k.EventEmitter); - b.PP = q; - b.hua = function (x, y, z) { - var B; - B = void 0; - return (z || x.wa.tk) && x.wa.currentTime.xp(y) ? { + b.QP = r; + b.eua = function (x, y, z) { + var A; + A = void 0; + return (z || x.xa.tk) && x.xa.currentTime.On(y) ? { promise: Promise.resolve() } : { - promise: new Promise(function (A) { - B = x.gK(t.mj.YN(y), A); + promise: new Promise(function (B) { + A = x.kK(u.jj.YN(y), B); }), - vr: B + yr: A }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -86617,45 +86551,45 @@ a000.D9b = function () { value: !0 } }); - b.BOa = void 0; + b.zOa = void 0; c = a(2); f = a(19); k = a(6); - b.BOa = function () { + b.zOa = function () { for (var l = [], d = 0; d < arguments.length; d++) { l[d] = arguments[d]; } - f.ka && k.assert(l.length); + f.ia && k.assert(l.length); return function (g, h) { var m, p, - u; + t; try { - for (var n = c.__values(l), r = n.next(); !r.done; r = n.next()) { - p = r.value; - u = p(g, h); - if (0 !== u) - return u; + for (var n = c.__values(l), q = n.next(); !q.done; q = n.next()) { + p = q.value; + t = p(g, h); + if (0 !== t) + return t; } } catch (w) { - var t; - t = { + var u; + u = { error: w }; } finally { try { - r && !r.done && (m = n.return) && m.call(n); + q && !q.done && (m = n.return) && m.call(n); } finally { - if (t) - throw t.error; + if (u) + throw u.error; } } return 0; }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -86666,16 +86600,16 @@ a000.D9b = function () { value: !0 } }); - b.fAa = void 0; + b.dAa = void 0; c = a(2); f = a(22); k = a(6); l = a(175); d = a(151); - q = (function (g) { - function h(m, n, r) { - n = g.call(this, n, r) || this; - n.WQb = m; + r = (function (g) { + function h(m, n, q) { + n = g.call(this, n, q) || this; + n.aRb = m; n.reset(); return n; } @@ -86683,37 +86617,37 @@ a000.D9b = function () { h.prototype.reset = function () { var m, n; - if (this.Gc === l.ul.eW || this.Gc === l.ul.pending) - null === (n = null === (m = this.g_) || void 0 === m ? void 0 : m.return) || void 0 === n ? void 0 : n.call(m); - this.Gc = l.ul.pending; - this.g_ = this.WQb(); - this.jda = d.mj.VC(f.S.hb); + if (this.Ic === l.tl.eW || this.Ic === l.tl.pending) + null === (n = null === (m = this.j_) || void 0 === m ? void 0 : m.return) || void 0 === n ? void 0 : n.call(m); + this.Ic = l.tl.pending; + this.j_ = this.aRb(); + this.dda = d.jj.XC(f.S.hb); }; - h.prototype.nl = function () { + h.prototype.ml = function () { this.reset(); - k.assert(this.Hu); - this.Hu.BQb(this); + k.assert(this.Ou); + this.Ou.GQb(this); }; h.prototype.P5 = function () { - return this.jda; + return this.dda; }; - h.prototype.Of = function () { + h.prototype.Pf = function () { var m, n, - r; - r = this.g_.next(); - r.done ? (this.jda = d.mj.gua, null === (n = (m = this.g_).return) || void 0 === n ? void 0 : n.call(m)) : this.jda = r.value; + q; + q = this.j_.next(); + q.done ? (this.dda = d.jj.dua, null === (n = (m = this.j_).return) || void 0 === n ? void 0 : n.call(m)) : this.dda = q.value; }; - h.prototype.wb = function () { + h.prototype.zb = function () { var m, n; - null === (n = (m = this.g_).return) || void 0 === n ? void 0 : n.call(m); - g.prototype.wb.call(this); + null === (n = (m = this.j_).return) || void 0 === n ? void 0 : n.call(m); + g.prototype.zb.call(this); }; return h; - })(l.xba); - b.fAa = q; - }, function (q, b, a) { + })(l.rba); + b.dAa = r; + }, function (r, b, a) { var c, f, k; @@ -86722,28 +86656,28 @@ a000.D9b = function () { value: !0 } }); - b.qGa = void 0; + b.mGa = void 0; c = a(2); f = a(175); k = a(151); - q = (function (l) { + r = (function (l) { function d(g, h, m) { m = l.call(this, m) || this; - m.xra = g; - m.MR = h; + m.qra = g; + m.NR = h; return m; } c.__extends(d, l); d.prototype.P5 = function () { - return this.Gc === f.ul.pending ? this.xra : k.mj.gua; + return this.Ic === f.tl.pending ? this.qra : k.jj.dua; }; - d.prototype.Of = function () { - this.MR(); + d.prototype.Pf = function () { + this.NR(); }; return d; - })(f.xba); - b.qGa = q; - }, function (q, b, a) { + })(f.rba); + b.mGa = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -86751,23 +86685,23 @@ a000.D9b = function () { value: !0 } }); - b.CFa = void 0; - q = a(2); - c = q.__importDefault(a(27)); - f = q.__importDefault(a(404)); + b.zFa = void 0; + r = a(2); + c = r.__importDefault(a(27)); + f = r.__importDefault(a(408)); a = (function () { function k(l) { - this.j0 = []; - this.j0[c.default.Za.Hb] = new f.default(l, c.default.Za.Hb); - this.j0[c.default.Za.Tb] = new f.default(l, c.default.Za.Tb); + this.l0 = []; + this.l0[c.default.Ra.Bb] = new f.default(l, c.default.Ra.Bb); + this.l0[c.default.Ra.Ob] = new f.default(l, c.default.Ra.Ob); } k.prototype.Hkb = function (l, d, g) { - this.j0[l].add(d, g); + this.l0[l].add(d, g); }; - k.prototype.wka = function () { + k.prototype.ska = function () { var l; l = []; - this.j0.forEach(function (d) { + this.l0.forEach(function (d) { var g; if (d) { g = d.get(); @@ -86779,16 +86713,16 @@ a000.D9b = function () { }); return l; }; - k.prototype.Ewb = function (l) { + k.prototype.Kwb = function (l) { var d; - d = this.wka(); + d = this.ska(); l.strmsel = d; return 0 < d.length; }; return k; })(); - b.CFa = a; - }, function (q, b) { + b.zFa = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 @@ -86800,35 +86734,35 @@ a000.D9b = function () { f, k; c = Math.floor(1E6 * Math.random()); - f = a.hla; - k = a.K3; - a = 0 === c % a.ila && 0 < k.length; + f = a.cla; + k = a.L3; + a = 0 === c % a.dla && 0 < k.length; return { - Nq: a, - GS: a && 0 === c % f + Oq: a, + FS: a && 0 === c % f }; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.NOa = void 0; - b.NOa = function (a, c) { + b.MOa = void 0; + b.MOa = function (a, c) { var f; - if (!Array.isArray(a.MOa)) + if (!Array.isArray(a.LOa)) return a; - f = a.Hq ? a.Hq() : Object.create(a); - a.MOa.forEach(function (k) { - if (void 0 !== k.aJb && c.duration >= k.aJb && k.config) + f = a.zs ? a.zs() : Object.create(a); + a.LOa.forEach(function (k) { + if (void 0 !== k.cJb && c.duration >= k.cJb && k.config) for (var l in k.config) { f[l] = k.config[l]; } }); return f; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -86837,53 +86771,51 @@ a000.D9b = function () { value: !0 } }); - b.wxa = void 0; + b.txa = void 0; c = a(2).__importStar(a(10)); f = a(150); k = a(6); - q = (function () { + r = (function () { var M50; M50 = 2; for (; M50 !== 7; ) { switch (M50) { case 2: - l.prototype.Afb = function (d, g) { + l.prototype.Bfb = function (d, g) { var O50, h, m; O50 = 2; for (; O50 !== 8; ) { switch (O50) { - case 4: + case 3: + f.gq.instance.Pf(); + return d; + break; + case 2: + var g7q = "create"; + g7q += "DlTracksSt"; + g7q += "art"; + (h = this, m = this.ym.I); + 0 === this.tE && this.ym.ub.yl(g7q); + this.tE += d.length; d = d.map(function (n) { var P50; P50 = 2; for (; P50 !== 1; ) { switch (P50) { case 2: - return h.BIa(n, g.K, g.zy(), h.Am.vl, m); + return h.zIa(n, g.K, g.Cy(), h.ym.ul, m); break; } } }); - f.cq.instance.Of(); - return d; - break; - case 2: - var M1u = "cre"; - M1u += "ateDl"; - M1u += "Tr"; - M1u += "acksSt"; - M1u += "art"; - (h = this, m = this.Am.I); - 0 === this.rE && this.Am.qb.zl(M1u); - this.rE += d.length; - O50 = 4; + O50 = 3; break; } } }; - l.prototype.Mfb = function () { + l.prototype.Nfb = function () { var Q50, d, g; @@ -86892,28 +86824,28 @@ a000.D9b = function () { switch (Q50) { case 2: (d = this, g = []); - this.Am.nb.rf.forEach(function (h) { + this.ym.ob.rf.forEach(function (h) { var R50; R50 = 2; for (; R50 !== 5; ) { switch (R50) { case 2: - c.ga(h.kg) || g.push(h.kg); - h.kg = void 0; + c.fa(h.jg) || g.push(h.jg); + h.jg = void 0; R50 = 5; break; } } }); - this.Am.tQ && (g.push(this.Am.tQ), this.Am.tQ = void 0); + this.ym.uQ && (g.push(this.ym.uQ), this.ym.uQ = void 0); g.forEach(function (h) { var S50; S50 = 2; for (; S50 !== 5; ) { switch (S50) { case 2: - h.Hn || --d.rE; - f.cq.instance.oS(h); + h.In || --d.tE; + f.gq.instance.nS(h); S50 = 5; break; } @@ -86924,25 +86856,51 @@ a000.D9b = function () { } } }; - l.prototype.Ggb = function () { + M50 = 5; + break; + case 9: + l.prototype.Mfb = function (d) { + var a60, + g; + a60 = 2; + for (; a60 !== 9; ) { + switch (a60) { + case 12: + d.jg = +5; + a60 = 0; + break; + a60 = 9; + break; + case 3: + d.jg = void 0; + a60 = 9; + break; + case 2: + d = this.ym.ob.rf[d]; + g = d.jg; + g.In || --this.tE; + f.gq.instance.nS(g); + a60 = 3; + break; + } + } + }; + return l; + break; + case 5: + l.prototype.Hgb = function () { var T50; T50 = 2; for (; T50 !== 1; ) { switch (T50) { case 2: - this.rE = 0; - T50 = 1; - break; - case 4: - this.rE = 9; - T50 = 7; - break; + this.tE = 0; T50 = 1; break; } } }; - l.prototype.vKa = function (d, g) { + l.prototype.tKa = function (d, g) { var U50, h, m; @@ -86950,153 +86908,136 @@ a000.D9b = function () { for (; U50 !== 5; ) { switch (U50) { case 2: - (h = this.Am.nb.rf[d], m = h.kg); - m && (m = g.cR(d, m), this.Lfb(d), h.kg = this.BIa(d, g.K, g.zy(), this.Am.vl, this.Am.I), g.ira(m)); + (h = this.ym.ob.rf[d], m = h.jg); + m && (m = g.eR(d, m), this.Mfb(d), h.jg = this.zIa(d, g.K, g.Cy(), this.ym.ul, this.ym.I), g.bra(m)); U50 = 5; break; } } }; - M50 = 3; - break; - case 3: - l.prototype.BIa = function (d, g, h, m, n) { + l.prototype.zIa = function (d, g, h, m, n) { var V50, - r, + q, p; V50 = 2; for (; V50 !== 7; ) { switch (V50) { - case 4: - var e1u = "trans"; - e1u += "portr"; - e1u += "eport"; - var r1u = "e"; - r1u += "r"; - r1u += "ro"; - r1u += "r"; - p.Ag.on(p, r1u, function () { + case 5: + var S7q = "t"; + S7q += "ra"; + S7q += "n"; + S7q += "sportr"; + S7q += "eport"; + var o7q = "e"; + o7q += "r"; + o7q += "ror"; + var w7q = "n"; + w7q += "etwo"; + w7q += "rkfailin"; + w7q += "g"; + p.zg.on(p, w7q, function () { + var X50, + t; + X50 = 2; + for (; X50 !== 8; ) { + switch (X50) { + case 5: + k.assert(p.QS); + t = q.ym.pe.N; + t.kp.jr(p.QS, void 0, p.Mg, p.Oi); + t.ro(); + X50 = 8; + break; + case 1: + X50 = p.t2 ? 5 : 8; + break; + case 2: + var d7q = "reportNetwo"; + d7q += "rkFa"; + d7q += "i"; + d7q += "l"; + d7q += "ing: "; + n.Gh && q.Bh.Tl(d7q + p); + X50 = 1; + break; + } + } + }); + p.zg.on(p, o7q, function () { var Y50; Y50 = 2; for (; Y50 !== 5; ) { switch (Y50) { case 2: - var u1u = "NFErr_MC_"; - u1u += "Str"; - u1u += "eamingFailu"; - u1u += "re"; - var D1u = "D"; - D1u += "own"; - D1u += "loadTr"; - D1u += "ack f"; - D1u += "atal error"; - var Q1u = "Down"; - Q1u += "loadTr"; - Q1u += "ack "; - Q1u += "fatal error"; - n.Gh && r.Ch.Ul(Q1u); - r.Am.Mo(D1u, void 0, u1u, p.Og, 0, p.Ri); + var l7q = "NFErr_MC_Streami"; + l7q += "ngF"; + l7q += "ail"; + l7q += "ure"; + var Q7q = "DownloadT"; + Q7q += "rack f"; + Q7q += "atal "; + Q7q += "err"; + Q7q += "or"; + var P7q = "Downloa"; + P7q += "d"; + P7q += "Track fatal "; + P7q += "e"; + P7q += "rror"; + n.Gh && q.Bh.Tl(P7q); + q.ym.No(Q7q, void 0, l7q, p.Mg, 0, p.Oi); Y50 = 5; break; } } }); - p.on(e1u, function (u) { + p.on(S7q, function (t) { var Z50; Z50 = 2; for (; Z50 !== 1; ) { switch (Z50) { case 2: - var A1u = "tr"; - A1u += "an"; - A1u += "sp"; - A1u += "or"; - A1u += "treport"; - r.Am.emit(A1u, u); + var J7q = "tran"; + J7q += "sportr"; + J7q += "eport"; + q.ym.emit(J7q, t); Z50 = 1; break; } } }); - p.mb(); - return p; + V50 = 9; break; case 2: - var q1u = "ne"; - q1u += "t"; - q1u += "workfai"; - q1u += "ling"; - var j1u = "c"; - j1u += "r"; - j1u += "eated"; - (r = this, p = f.cq.instance.nB(d, g, !0, h, m, n)); - p.Ag.on(p, j1u, function () { + var T7q = "cr"; + T7q += "eat"; + T7q += "ed"; + (q = this, p = f.gq.instance.oB(d, g, !0, h, m, n)); + p.zg.on(p, T7q, function () { var W50; W50 = 2; for (; W50 !== 5; ) { switch (W50) { case 2: - var l1u = "c"; - l1u += "rea"; - l1u += "teDlTracksEnd"; - --r.rE; - 0 === r.rE && r.Am.qb.zl(l1u); + var r7q = "createDlT"; + r7q += "racksEn"; + r7q += "d"; + --q.tE; + 0 === q.tE && q.ym.ub.yl(r7q); W50 = 5; break; } } }); - p.Ag.on(p, q1u, function () { - var X50, - u; - X50 = 2; - for (; X50 !== 8; ) { - switch (X50) { - case 5: - k.assert(p.RS); - u = r.Am.me.N; - u.jp.hr(p.RS, void 0, p.Og, p.Ri); - u.qo(); - X50 = 8; - break; - case 1: - X50 = p.s2 ? 5 : 8; - break; - case 2: - var G1u = "repor"; - G1u += "tNetwo"; - G1u += "rkFai"; - G1u += "l"; - G1u += "ing: "; - n.Gh && r.Ch.Ul(G1u + p); - X50 = 1; - break; - } - } - }); - V50 = 4; + V50 = 5; break; - } - } - }; - l.prototype.Lfb = function (d) { - var a60, - g; - a60 = 2; - for (; a60 !== 9; ) { - switch (a60) { - case 2: - d = this.Am.nb.rf[d]; - g = d.kg; - g.Hn || --this.rE; - f.cq.instance.oS(g); - d.kg = void 0; - a60 = 9; + case 9: + p.mb(); + return p; break; } } }; - return l; + M50 = 9; break; } } @@ -87106,22 +87047,21 @@ a000.D9b = function () { for (; N50 !== 3; ) { switch (N50) { case 2: - var Y1u = "1SIYbZr"; - Y1u += "N"; - Y1u += "J"; - Y1u += "Cp9"; - this.Am = d; + var U7q = "1S"; + U7q += "IYbZrN"; + U7q += "JCp9"; + this.ym = d; this.H = g; - this.Ch = h; - Y1u; + this.Bh = h; + U7q; N50 = 3; break; } } } })(); - b.wxa = q; - }, function (q, b, a) { + b.txa = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -87129,183 +87069,181 @@ a000.D9b = function () { value: !0 } }); - b.Uua = void 0; + b.Rua = void 0; c = a(14); f = a(9); - q = (function () { + r = (function () { function k(l) { - this.UE = l; - this.state = new f.nq(c.ja.Ig); - this.Ni = {}; + this.VE = l; + this.state = new f.pq(c.ka.Gg); + this.Ki = {}; } k.prototype.getState = function () { return this.state.value; }; - k.prototype.Ce = function (l) { + k.prototype.Ee = function (l) { this.state.set(l); }; k.prototype.addListener = function (l) { this.state.addListener(l); }; k.prototype.paused = function () { - this.state.value === c.ja.yc && this.state.set(c.ja.Wh); + this.state.value === c.ka.Ac && this.state.set(c.ka.Wh); }; - k.prototype.AWa = function () { - return this.state.value === c.ja.Ig; + k.prototype.yWa = function () { + return this.state.value === c.ka.Gg; }; - k.prototype.UB = function () { - return "function" === typeof this.UE.UB ? this.UE.UB() : this.state.value === c.ja.yc; + k.prototype.WB = function () { + return "function" === typeof this.VE.WB ? this.VE.WB() : this.state.value === c.ka.Ac; }; - k.prototype.Pf = function () { - return this.state.value === c.ja.Sc || this.state.value === c.ja.ef; + k.prototype.Qf = function () { + return this.state.value === c.ka.Sc || this.state.value === c.ka.ef; }; - k.prototype.BWa = function () { - return this.state.value === c.ja.zi; + k.prototype.zWa = function () { + return this.state.value === c.ka.zi; }; - k.prototype.CWa = function () { - return this.state.value === c.ja.pq; + k.prototype.AWa = function () { + return this.state.value === c.ka.rq; }; - k.prototype.xe = function () { - return this.UE.xe(); + k.prototype.ye = function () { + return this.VE.ye(); }; - k.prototype.up = function () { - return "function" === typeof this.UE.up ? this.UE.up() : 1; + k.prototype.vp = function () { + return "function" === typeof this.VE.vp ? this.VE.vp() : 1; }; - k.prototype.tT = function () { - return this.UE.tT(); + k.prototype.rT = function () { + return this.VE.rT(); }; - k.prototype.qW = function (l, d) { - this.Ni[l] = d; + k.prototype.pW = function (l, d) { + this.Ki[l] = d; }; - k.prototype.Qn = function (l) { - return !!this.Ni[l.K] || l.Gi; + k.prototype.Sn = function (l) { + return !!this.Ki[l.K] || l.Gi; }; return k; })(); - b.Uua = q; - }, function (q, b, a) { - var c; + b.Rua = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.yEa = void 0; - c = a(2).__importDefault(a(4)).default.Promise; - q = (function () { - function f(k, l, d) { - var g; - this.ulb = k; - this.kda = l; - this.Gfb = d; - this.yca = (g = {}, g[0] = !1, g[1] = !1, g); + b.wEa = void 0; + r = (function () { + function a(c, f, k) { + var l; + this.vlb = c; + this.eda = f; + this.Hfb = k; + this.sca = (l = {}, l[0] = !1, l[1] = !1, l); this.reset(); } - f.prototype.Hx = function () { - var k, - l; - k = this; - l = this.ulb.filter(function (d) { - return !d.eWa(k.Gfb()); + a.prototype.Mx = function () { + var c, + f; + c = this; + f = this.vlb.filter(function (k) { + return !k.cWa(c.Hfb()); }); - 0 === l.length && this.Vca ? this.zhb() : l.forEach(function (d) { - k.yca[d.mediaType] || (d.once("requestAppended", function () { - k.yca[d.mediaType] = !1; - k.Hx(); - }), k.yca[d.mediaType] = !0); + 0 === f.length && this.Pca ? this.Ahb() : f.forEach(function (k) { + c.sca[k.mediaType] || (k.once("requestAppended", function () { + c.sca[k.mediaType] = !1; + c.Mx(); + }), c.sca[k.mediaType] = !0); }); }; - f.prototype.reset = function () { - var k; - k = this; - this.Vca = !1; - new c(function (l) { - k.zhb = l; + a.prototype.reset = function () { + var c; + c = this; + this.Pca = !1; + new Promise(function (f) { + c.Ahb = f; }).then(function () { - return k.kda(); + return c.eda(); }); }; - f.prototype.IHb = function () { - this.Vca || (this.Vca = !0, this.Hx()); + a.prototype.LHb = function () { + this.Pca || (this.Pca = !0, this.Mx()); }; - return f; + return a; })(); - b.yEa = q; - }, function (q, b, a) { + b.wEa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Fua = void 0; + b.Cua = void 0; c = a(19); - q = (function () { + r = (function () { function f(k) { this.console = k; - this.hE = []; - this.FA = []; - c.ka && this.console.trace("Received pending adoption " + this.ml.length); + this.kE = []; + this.HA = []; + c.ia && this.console.trace("Received pending adoption " + this.ll.length); } Object.defineProperties(f.prototype, { length: { get: function () { - return this.hE.length; + return this.kE.length; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(f.prototype, { - ml: { + ll: { get: function () { - return this.FA; + return this.HA; }, enumerable: !1, configurable: !0 } }); - f.prototype.FHb = function (k) { - k = this.FA.indexOf(k); - -1 !== k && (c.ka && this.console.trace("Marking request attached"), this.hE[k].cWa = !0, this.B5a(k)); + f.prototype.IHb = function (k) { + k = this.HA.indexOf(k); + -1 !== k && (c.ia && this.console.trace("Marking request attached"), this.kE[k].aWa = !0, this.D5a(k)); }; - f.prototype.GHb = function (k) { - k = this.FA.indexOf(k); - -1 !== k && (c.ka && this.console.trace("Marking request completed"), this.hE[k].Ay = !0, this.B5a(k)); + f.prototype.JHb = function (k) { + k = this.HA.indexOf(k); + -1 !== k && (c.ia && this.console.trace("Marking request completed"), this.kE[k].Dy = !0, this.D5a(k)); }; - f.prototype.MPb = function (k) { + f.prototype.RPb = function (k) { var l, d; l = this; d = []; - this.FA.forEach(function (g, h) { + this.HA.forEach(function (g, h) { k(g) && d.unshift(h); }); d.forEach(function (g) { - l.FA.splice(g, 1); - l.hE.splice(g, 1); + l.HA.splice(g, 1); + l.kE.splice(g, 1); }); }; f.prototype.push = function (k) { - this.FA.push(k); - this.hE.push({ - cWa: !1, - Ay: !1 + this.HA.push(k); + this.kE.push({ + aWa: !1, + Dy: !1 }); - c.ka && this.console.trace("Pushing pending request, " + this.length + " total"); + c.ia && this.console.trace("Pushing pending request, " + this.length + " total"); }; - f.prototype.IB = function () { + f.prototype.KB = function () { return 0 < this.length; }; - f.prototype.B5a = function (k) { + f.prototype.D5a = function (k) { var l; - l = this.hE[k]; - l.cWa && l.Ay && (l = this.FA[k], this.FA.splice(k, 1), this.hE.splice(k, 1), c.ka && this.console.trace("Removing request, " + this.length + " left"), 0 === this.length && c.ka && this.console.trace("Removing last request, contentEndPts: " + l.pc)); + l = this.kE[k]; + l.aWa && l.Dy && (l = this.HA[k], this.HA.splice(k, 1), this.kE.splice(k, 1), c.ia && this.console.trace("Removing request, " + this.length + " left"), 0 === this.length && c.ia && this.console.trace("Removing last request, contentEndPts: " + l.uc)); }; return f; })(); - b.Fua = q; - }, function (q, b, a) { + b.Cua = r; + }, function (r, b, a) { var c, f, k, @@ -87318,153 +87256,153 @@ a000.D9b = function () { value: !0 } }); - b.ZDa = void 0; - q = a(2); - c = q.__importDefault(a(27)); - f = c.default.Za; - k = c.default.JD; + b.XDa = void 0; + r = a(2); + c = r.__importDefault(a(27)); + f = c.default.Ra; + k = c.default.MD; l = a(9); d = a(22); - g = q.__importDefault(a(146)); - h = q.__importDefault(a(4)); + g = r.__importDefault(a(146)); + h = r.__importDefault(a(5)); a = (function () { - function m(n, r, p, u, t) { - this.Fv = n; - this.As = r; + function m(n, q, p, t, u) { + this.Lv = n; + this.Es = q; this.I = p; - this.H = u; - this.tg = t; + this.H = t; + this.tg = u; } - m.prototype.ZJb = function (n) { + m.prototype.aKb = function (n) { n = { type: "requestCreated", request: n }; - l.Ta(this.As, n.type, n); + l.Ua(this.Es, n.type, n); }; - m.prototype.YJb = function (n) { - var r; - r = n.Na.ub.P; + m.prototype.$Jb = function (n) { + var q; + q = n.Na.yb.P; n = { type: "updateStreamingPts", mediaType: n.mediaType, position: { - va: r.id, - offset: d.S.rb(this.Fv.uga - r.Z) + va: q.id, + offset: d.S.rb(this.Lv.oga - q.X) }, - completePlayerStreamingTimestamp: d.S.rb(this.Fv.rs), - trackIndex: n.stream.track.EE + completePlayerStreamingTimestamp: d.S.rb(this.Lv.ws), + trackIndex: n.stream.track.GE }; - l.Ta(this.As, n.type, n); + l.Ua(this.Es, n.type, n); }; - m.prototype.IZa = function (n, r, p) { - var u, - t; - u = this.tg; - t = this.Fv.Cf; - t.j3a(n); - 1 === u && this.I.k7 && (void 0 === t.Ema ? t.l3a(h.default.time.aa()) : h.default.time.aa() - t.Ema > this.I.k7 && (n.bitrate !== t.fXa && (h.default.storage.set("vb", n.bitrate), t.pSb(n.bitrate)), t.l3a(h.default.time.aa()))); - t.hU && t.hU === n || (this.Fv.xz.XTb(r, t.hU, n), t.dSb(n), r = 0, n.lb && n.lb.confidence && n.lb.Oa && (r = n.lb.Oa.Ea), t = { - va: this.Fv.ub.P.id, - offset: d.S.rb(p - this.Fv.ub.P.Z) + m.prototype.GZa = function (n, q, p) { + var t, + u; + t = this.tg; + u = this.Lv.Ef; + u.j3a(n); + 1 === t && this.I.h7 && (void 0 === u.yma ? u.l3a(h.default.time.ba()) : h.default.time.ba() - u.yma > this.I.h7 && (n.bitrate !== u.dXa && (h.default.storage.set("vb", n.bitrate), u.sSb(n.bitrate)), u.l3a(h.default.time.ba()))); + u.gU && u.gU === n || (this.Lv.Az.ZTb(q, u.gU, n), u.gSb(n), q = 0, n.lb && n.lb.confidence && n.lb.Oa && (q = n.lb.Oa.Fa), u = { + va: this.Lv.yb.P.id, + offset: d.S.rb(p - this.Lv.yb.P.X) }, n = { type: "streamSelected", - nativetime: h.default.time.aa(), - mediaType: u, + nativetime: h.default.time.ba(), + mediaType: t, streamId: n.id, - manifestIndex: n.N.Db, - trackIndex: n.track.EE, - streamIndex: n.og, + manifestIndex: n.N.Fb, + trackIndex: n.track.GE, + streamIndex: n.ng, movieTime: p, - bandwidth: r, - longtermBw: r, + bandwidth: q, + longtermBw: q, rebuffer: 0, - position: t - }, l.Ta(this.As, n.type, n)); + position: u + }, l.Ua(this.Es, n.type, n)); }; - m.prototype.UJb = function (n, r, p) { - var u, - t, + m.prototype.WJb = function (n, q, p) { + var t, + u, w, v, x; - u = r.N; - t = u.Pl; - w = this.Fv.Cf; - v = u.qFb(r); - x = v.oma; - v = v.rFb; - p && r.cd && !w.iU ? (v = k.Kw, r.qr = k.name[v], this.HZa(n, r.cd, r.qr, r.location, r.bitrate), w.iU = r.cd) : !p && r.cd && r.cd !== w.iU && (v = v ? void 0 === w.iU ? k.Kw : t.iN === k.xaa ? k.Jdb : k.y9 : k.Idb, r.qr = k.name[v], this.HZa(n, r.cd, r.qr, r.location, r.bitrate), w.iU = r.cd); - w.HL || (v = { + t = q.N; + u = t.Pl; + w = this.Lv.Ef; + v = t.tFb(q); + x = v.ima; + v = v.uFb; + p && q.cd && !w.hU ? (v = k.Pw, q.sr = k.name[v], this.FZa(n, q.cd, q.sr, q.location, q.bitrate), w.hU = q.cd) : !p && q.cd && q.cd !== w.hU && (v = v ? void 0 === w.hU ? k.Pw : u.jN === k.raa ? k.Mdb : k.t9 : k.Ldb, q.sr = k.name[v], this.FZa(n, q.cd, q.sr, q.location, q.bitrate), w.hU = q.cd); + w.JL || (v = { type: "logdata", target: "startplay", fields: {} - }, this.tg === f.Tb ? v.fields.alocid = r.location : this.tg === f.Hb && (v.fields.locid = r.location), l.Ta(this.As, v.type, v)); - p && r.location && !w.HL ? (v = k.Kw, r.qr = k.name[v], this.FZa(u.Db, n, r.location, r.Uma, r.cd, r.QG, r.qr, r.Jv), w.HL = r.location) : !p && r.location && r.location !== w.HL && (v = x ? void 0 === w.HL ? k.Kw : t.iN === k.xaa ? k.gbb : k.y9 : k.fbb, r.qr = k.name[v], this.FZa(u.Db, n, r.location, r.Uma, r.cd, r.QG, r.qr, r.Jv), r.Jv = void 0, w.HL = r.location); - this.I.At || (r.aXa = r.location, r.dXa = r.cd); + }, this.tg === f.Ob ? v.fields.alocid = q.location : this.tg === f.Bb && (v.fields.locid = q.location), l.Ua(this.Es, v.type, v)); + p && q.location && !w.JL ? (v = k.Pw, q.sr = k.name[v], this.DZa(t.Fb, n, q.location, q.Oma, q.cd, q.ZG, q.sr, q.Pv), w.JL = q.location) : !p && q.location && q.location !== w.JL && (v = x ? void 0 === w.JL ? k.Pw : u.jN === k.raa ? k.jbb : k.t9 : k.ibb, q.sr = k.name[v], this.DZa(t.Fb, n, q.location, q.Oma, q.cd, q.ZG, q.sr, q.Pv), q.Pv = void 0, w.JL = q.location); + this.I.Et || (q.ZWa = q.location, q.bXa = q.cd); }; m.prototype.X5 = function (n) { n = { type: "requestsPruned", requests: n }; - l.Ta(this.As, n.type, n); + l.Ua(this.Es, n.type, n); }; - m.prototype.HZa = function (n, r, p, u, t) { + m.prototype.FZa = function (n, q, p, t, u) { var w, v; - w = this.tg === f.Hb ? "video" : "audio"; + w = this.tg === f.Bb ? "video" : "audio"; v = g.default.instance().get(); n = { type: "serverSwitch", segmentId: n, mediatype: w, - server: r, + server: q, reason: p, - location: u, - bitrate: t, + location: t, + bitrate: u, confidence: v.confidence }; - v.confidence && (n.throughput = v.Oa.Ea); - this.Fv.Cf.iU && (n.oldserver = r); - l.Ta(this.As, n.type, n); + v.confidence && (n.throughput = v.Oa.Fa); + this.Lv.Ef.hU && (n.oldserver = q); + l.Ua(this.Es, n.type, n); }; - m.prototype.FZa = function (n, r, p, u, t, w, v, x) { - l.Ta(this.As, "locationSelected", { + m.prototype.DZa = function (n, q, p, t, u, w, v, x) { + l.Ua(this.Es, "locationSelected", { type: "locationSelected", manifestIndex: n, - segmentId: r, - mediatype: this.tg === f.Hb ? "video" : "audio", + segmentId: q, + mediatype: this.tg === f.Bb ? "video" : "audio", location: p, - locationlv: u, - serverid: t, + locationlv: t, + serverid: u, servername: w, selreason: v, seldetail: x }); }; - m.prototype.lda = function (n, r) { - r = { + m.prototype.fda = function (n, q) { + q = { type: "lastSegmentPts", segmentId: n.id, - pts: Math.floor(r) + pts: Math.floor(q) }; - n.yC || l.Ta(this.As, r.type, r); + n.AC || l.Ua(this.Es, q.type, q); }; - m.prototype.Ul = function (n) { + m.prototype.Tl = function (n) { n = { type: "managerdebugevent", - message: "@" + h.default.time.aa() + ", " + n + message: "@" + h.default.time.ba() + ", " + n }; - l.Ta(this.As, n.type, n); + l.Ua(this.Es, n.type, n); }; - m.prototype.zxb = function (n) { - l.Ta(this.As, "transportReport", n); + m.prototype.Fxb = function (n) { + l.Ua(this.Es, "transportReport", n); }; return m; })(); - b.ZDa = a; - }, function (q, b, a) { + b.XDa = a; + }, function (r, b, a) { var c, f, k, @@ -87473,50 +87411,46 @@ a000.D9b = function () { g, h, m, - n, - r, - p; + n; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.HFa = void 0; + b.EFa = void 0; c = a(2); f = c.__importStar(a(10)); - k = a(245); - l = a(865); - d = a(868); - q = a(96); + k = a(246); + l = a(867); + d = a(870); + r = a(96); g = a(6); - h = c.__importDefault(a(4)); - m = a(247); - n = a(9); - r = a(67); - p = h.default.Promise; - a = (function (u) { - function t(w, v, x, y, z, B, A, C) { - var E; - E = u.call(this, w) || this; - E.I = v; - E.H = x; - E.qm = y; - E.Kd = z; - E.tg = B; - E.bka = C; - E.k6a = !0; - E.ug = new m.PX(E.H); - E.$j = E.H.error.bind(E.H); - E.Eb = E.H.warn.bind(E.H); - E.sm = E.H.trace.bind(E.H); - E.BKa(); - E.Lo = null === A || void 0 === A ? void 0 : A.mB(function () { - return E.eQb(); + h = a(248); + m = a(9); + n = a(68); + a = (function (q) { + function p(t, u, w, v, x, y, z, A) { + var B; + B = q.call(this, t) || this; + B.I = u; + B.H = w; + B.pm = v; + B.Hd = x; + B.tg = y; + B.Yja = A; + B.m6a = !0; + B.ug = new h.OX(B.H); + B.ak = B.H.error.bind(B.H); + B.Gb = B.H.warn.bind(B.H); + B.rm = B.H.trace.bind(B.H); + B.zKa(); + B.Mo = null === z || void 0 === z ? void 0 : z.nB(function () { + return B.jQb(); }, "pruner"); - return E; + return B; } - c.__extends(t, u); - Object.defineProperties(t.prototype, { + c.__extends(p, q); + Object.defineProperties(p.prototype, { console: { get: function () { return this.H; @@ -87525,7 +87459,7 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(p.prototype, { mediaType: { get: function () { return this.tg; @@ -87534,53 +87468,53 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { - ub: { + Object.defineProperties(p.prototype, { + yb: { get: function () { - return this.Kd; + return this.Hd; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Yv: { + Object.defineProperties(p.prototype, { + cw: { get: function () { - return 0 < this.lz; + return 0 < this.oz; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - ysa: { + Object.defineProperties(p.prototype, { + rsa: { get: function () { - return !this.dJ; + return !this.fJ; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - lz: { + Object.defineProperties(p.prototype, { + oz: { get: function () { - return this.za.length; + return this.Aa.length; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Ar: { + Object.defineProperties(p.prototype, { + Dr: { get: function () { - return this.za.Ar; + return this.Aa.Dr; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - xOb: { + Object.defineProperties(p.prototype, { + COb: { get: function () { return this.ug.count; }, @@ -87588,494 +87522,494 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(t.prototype, { - n1: { + Object.defineProperties(p.prototype, { + p1: { get: function () { - return this.za.complete.pf; + return this.Aa.complete.pf; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - rs: { + Object.defineProperties(p.prototype, { + ws: { get: function () { - return this.za.xOa; + return this.Aa.vOa; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - uga: { + Object.defineProperties(p.prototype, { + oga: { get: function () { - return this.za.wOa; + return this.Aa.uOa; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Ck: { + Object.defineProperties(p.prototype, { + Rj: { get: function () { - return this.za.pf; + return this.Aa.pf; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Zm: { + Object.defineProperties(p.prototype, { + Ym: { get: function () { - return void 0 === this.za.Zc ? 0 : this.za.Pd - this.za.Zc; + return void 0 === this.Aa.Zc ? 0 : this.Aa.Nd - this.Aa.Zc; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - cp: { + Object.defineProperties(p.prototype, { + ep: { get: function () { return { - ca: this.za.iB, - V: Math.max(this.za.xOa - this.za.Zc, 0) || 0 + da: this.Aa.kB, + V: Math.max(this.Aa.vOa - this.Aa.Zc, 0) || 0 }; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - bK: { + Object.defineProperties(p.prototype, { + eK: { get: function () { - return this.za.fpb; + return this.Aa.gpb; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - iB: { + Object.defineProperties(p.prototype, { + kB: { get: function () { - return this.za.iB; + return this.Aa.kB; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - rx: { + Object.defineProperties(p.prototype, { + wx: { get: function () { - return this.za.ca; + return this.Aa.da; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - sC: { + Object.defineProperties(p.prototype, { + uC: { get: function () { - return this.qgb(); + return this.rgb(); }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - epa: { + Object.defineProperties(p.prototype, { + $oa: { get: function () { - return this.za.HDb; + return this.Aa.LDb; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - D3: { + Object.defineProperties(p.prototype, { + E3: { get: function () { - return this.za.length > this.za.Ar; + return this.Aa.length > this.Aa.Dr; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - Uo: { + Object.defineProperties(p.prototype, { + Vo: { get: function () { - return this.za.Uo; + return this.Aa.Vo; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - RFb: { + Object.defineProperties(p.prototype, { + UFb: { get: function () { - return this.wJa; + return this.uJa; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { - S_a: { + Object.defineProperties(p.prototype, { + Q_a: { get: function () { - return this.za.length - this.yl; + return this.Aa.length - this.xl; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(t.prototype, { + Object.defineProperties(p.prototype, { Y: { get: function () { - return this.za; + return this.Aa; }, enumerable: !1, configurable: !0 } }); - t.prototype.zf = function () { - var w, - v; - v = this.za; + p.prototype.Bf = function () { + var t, + u; + u = this.Aa; setTimeout(function () { - v.forEach(function (x) { - x.abort(); - x.Ic(); + u.forEach(function (w) { + w.abort(); + w.Kc(); }); }, 0); - this.BKa(); - this.ug.i2(); - null === (w = this.Lo) || void 0 === w ? void 0 : w.wb(); + this.zKa(); + this.ug.j2(); + null === (t = this.Mo) || void 0 === t ? void 0 : t.zb(); }; - t.prototype.reset = function () { - this.zf(); - this.ug.a2a(); + p.prototype.reset = function () { + this.Bf(); + this.ug.$1a(); }; - t.prototype.close = function () { - this.ug.i2(); + p.prototype.close = function () { + this.ug.j2(); }; - t.prototype.S2a = function () { - this.jIa = !0; + p.prototype.S2a = function () { + this.hIa = !0; }; - t.prototype.jka = function () { + p.prototype.fka = function () { return { endMarked: void 0 !== this.ug.count, queueCount: this.ug.count, - isComplete: this.ug.Ay, - itemCount: this.ug.yOa, - continuousEndPts: this.ug.no().reduce(function (w, v) { - return v && !v.done && (v = v.value, 100 > Math.abs(v.bT - w) || -1 === w) ? v.Axb : w; + isComplete: this.ug.Dy, + itemCount: this.ug.wOa, + continuousEndPts: this.ug.oo().reduce(function (t, u) { + return u && !u.done && (u = u.value, 100 > Math.abs(u.aT - t) || -1 === t) ? u.Gxb : t; }, -1), - sentinelItemCount: this.ug.no().filter(function (w) { - return w && w.done; + sentinelItemCount: this.ug.oo().filter(function (t) { + return t && t.done; }).length, - processedCount: this.ug.Ctb, - rc: this.lz + processedCount: this.ug.Ftb, + rc: this.oz }; }; - t.prototype.nsb = function (w, v, x) { - var y; - y = this.I; - g.assert(!w.header); - w = y.rvb && 1 === this.mediaType ? new d.Xua(x, y, v.track, w, this.za, this.H) : k.MX.create(x, y, v.track, w, this.za, !1, this.H, this.bka); - w.mb(this); - this.px(w); - return w; - }; - t.prototype.Xkb = function (w) { + p.prototype.psb = function (t, u, w) { var v; - w.mb(this); - w.Bea = !0; - this.px(w); - v = p.resolve(); - w.complete ? (this.eca(w), this.qm.IZa(w.stream, w.Zc, w.Jc), v = this.v8(), this.gv(w)) : (w.active && this.PK(w), w.xqa && this.qF(w)); - return v; + v = this.I; + g.assert(!t.header); + t = v.vvb && 1 === this.mediaType ? new d.Uua(w, v, u.track, t, this.Aa, this.H) : k.LX.create(w, v, u.track, t, this.Aa, !1, this.H, this.Yja); + t.mb(this); + this.ux(t); + return t; }; - t.prototype.px = function (w) { - var v, - x; - this.za.yp(w); - (null === (v = this.Lo) || void 0 === v ? void 0 : v.state) === r.ul.complete && (null === (x = this.Lo) || void 0 === x ? void 0 : x.nl()); - this.eca(w); - w.Ap && (this.dJ = !1); + p.prototype.Ykb = function (t) { + var u; + t.mb(this); + t.vea = !0; + this.ux(t); + u = Promise.resolve(); + t.complete ? (this.Zba(t), this.pm.GZa(t.stream, t.Zc, t.Lc), u = this.r8(), this.nv(t)) : (t.active && this.TK(t), t.rqa && this.uF(t)); + return u; }; - t.prototype.AF = function () { - return this.ug.qyb(); + p.prototype.ux = function (t) { + var u, + w; + this.Aa.Ap(t); + (null === (u = this.Mo) || void 0 === u ? void 0 : u.state) === n.tl.complete && (null === (w = this.Mo) || void 0 === w ? void 0 : w.ml()); + this.Zba(t); + t.Cp && (this.fJ = !1); }; - t.prototype.Ufa = function () { - this.yl === this.za.length && this.jIa && this.ug.i2(); + p.prototype.FF = function () { + return this.ug.vyb(); }; - t.prototype.v8 = function () { - var w, + p.prototype.Ofa = function () { + this.xl === this.Aa.length && this.hIa && this.ug.j2(); + }; + p.prototype.r8 = function () { + var t, + u, + w, v, - x, - y, - C; - w = this; - x = p.resolve(); - y = this.Kd; - if (!y.k4(this.tg) || this.yl === this.za.length) - return x; - for (var z = this.I.YHb, B = 0, A = []; this.yl < this.za.length; ) { - if (v = this.za.get(this.yl)) { - if (this.za.TRa && this.za.TRa.Xa < v.Xa) + A; + t = this; + w = Promise.resolve(); + v = this.Hd; + if (!v.l4(this.tg) || this.xl === this.Aa.length) + return w; + for (var x = this.I.aIb, y = 0, z = []; this.xl < this.Aa.length; ) { + if (u = this.Aa.get(this.xl)) { + if (this.Aa.SRa && this.Aa.SRa.Ya < u.Ya) break; - if (!v.Ss()) + if (!u.Xs()) break; - A.push(v); - ++B; - f.xa(this.Zc) || (this.Zc = v.Zc); + z.push(u); + ++y; + f.ya(this.Zc) || (this.Zc = u.Zc); } - ++this.yl; - if (!f.ga(z) && B >= z) + ++this.xl; + if (!f.fa(x) && y >= x) break; } - if (A.length) { - void 0 !== this.ug.count && (this.$j("tryToAtach() but requestQueue has sentinel:", this.ug.count), this.ug.a2a()); - if (this.k6a) - x = p.all(A.map(function (E) { - return w.ug.enqueue(E).then(function () { - return w.z3(E); + if (z.length) { + void 0 !== this.ug.count && (this.ak("tryToAtach() but requestQueue has sentinel:", this.ug.count), this.ug.$1a()); + if (this.m6a) + w = Promise.all(z.map(function (B) { + return t.ug.enqueue(B).then(function () { + return t.A3(B); }); })); else - for (v = 0; v < A.length; v++) { + for (u = 0; u < z.length; u++) { try { - C = A[v]; - y.SAb(this.mediaType).$tb(C); - this.z3(C); - } catch (E) { - return (this.yl -= A.length - v, p.reject(E)); + A = z[u]; + v.VAb(this.mediaType).cub(A); + this.A3(A); + } catch (B) { + return (this.xl -= z.length - u, Promise.reject(B)); } } - this.Ufa(); + this.Ofa(); } - return x; + return w; }; - t.prototype.z3 = function (w) { - this.wJa = w; - this.dSa(w); + p.prototype.A3 = function (t) { + this.uJa = t; + this.cSa(t); }; - t.prototype.dR = function (w, v) { - var x, - y, - z; - x = this; - y = []; - if (0 !== this.za.Ar) { - z = this.za.L_a; - this.za.lWb.rsa(function (B) { - if (!f.ga(w) && B.N.Db !== w || B.Ap || z > B.Zc) + p.prototype.fR = function (t, u) { + var w, + v, + x; + w = this; + v = []; + if (0 !== this.Aa.Dr) { + x = this.Aa.J_a; + this.Aa.nWb.lsa(function (y) { + if (!f.fa(t) && y.N.Fb !== t || y.Cp || x > y.Zc) return !0; - B.A2 && (x.dJ = !1); - if (!x.MZ(B)) - return (x.Eb("request abort failed:", B.toString()), !0); - y.unshift(B); + y.B2 && (w.fJ = !1); + if (!w.OZ(y)) + return (w.Gb("request abort failed:", y.toString()), !0); + v.unshift(y); }); - this.yda(); - y.length && "function" === typeof v && v(y); + this.sda(); + v.length && "function" === typeof u && u(v); } }; - t.prototype.Y6 = function () { - this.yda(); + p.prototype.V6 = function () { + this.sda(); }; - t.prototype.eQb = function () { - var w, + p.prototype.jQb = function () { + var t, + u, + w, v, x, - y, - z, - B; - return c.__generator(this, function (A) { - switch (A.label) { + y; + return c.__generator(this, function (z) { + switch (z.label) { case 0: - A.label = 1; + z.label = 1; case 1: - if (!this.za.length) + if (!this.Aa.length) return [3, 3]; - w = this.za.get(0); - v = n.S.rb(null !== (B = null === (z = this.I.vN) || void 0 === z ? void 0 : z.V) && void 0 !== B ? B : 0); - x = v.add(w.pf); - return [4, r.mj.YN(x)]; + t = this.Aa.get(0); + u = m.S.rb(null !== (y = null === (x = this.I.wN) || void 0 === x ? void 0 : x.V) && void 0 !== y ? y : 0); + w = u.add(t.pf); + return [4, n.jj.YN(w)]; case 2: - A.Oe(); - if (1 >= this.za.complete.length && !w.Ap) + z.Wd(); + if (1 >= this.Aa.complete.length && !t.Cp) return [3, 3]; - g.assert(w === this.za.get(0)); - w.Je || this.MZ(w); - y = this.za.splice(0, 1); - 0 < this.yl && this.yl--; - this.qm.X5(y); + g.assert(t === this.Aa.get(0)); + t.Le || this.OZ(t); + v = this.Aa.splice(0, 1); + 0 < this.xl && this.xl--; + this.pm.X5(v); return [3, 1]; case 3: return [2]; } }); }; - t.prototype.GV = function (w, v) { - var x, + p.prototype.FV = function (t, u) { + var w, + v, + x, y, z, - B, - A, - C; - x = this; - y = this.I; - z = !1; - B = 0; - A = this.za.some(function (E) { - if (w < E.Pd) - return (z && x.eca(E), !0); - ++B; - E.Je || (x.Eb("pruning unappended request:", E && E.toString()), y.Gh && x.qm.Ul("prune pts:" + w + " unappended request:" + (E && E.toString())), E.A2 && (x.dJ = !1, z = !0), x.MZ(E, v) || x.$j("MediaRequest.abort error:", E.Og)); + A; + w = this; + v = this.I; + x = !1; + y = 0; + z = this.Aa.some(function (B) { + if (t < B.Nd) + return (x && w.Zba(B), !0); + ++y; + B.Le || (w.Gb("pruning unappended request:", B && B.toString()), v.Gh && w.pm.Tl("prune pts:" + t + " unappended request:" + (B && B.toString())), B.B2 && (w.fJ = !1, x = !0), w.OZ(B, u) || w.ak("MediaRequest.abort error:", B.Mg)); }); - if (0 < B) { - C = this.za.splice(0, B); - this.yl -= Math.min(B, this.yl); - this.qm.X5(C); + if (0 < y) { + A = this.Aa.splice(0, y); + this.xl -= Math.min(y, this.xl); + this.pm.X5(A); } - return A; + return z; }; - t.prototype.n3 = function (w) { - var v, - x, - y; - void 0 === w && (w = { - VR: null, - BM: null, + p.prototype.o3 = function (t) { + var u, + w, + v; + void 0 === t && (t = { + WR: null, + DM: null, Zc: null, jl: 0, Tj: 0, Y: [] }); - v = this.I; - x = this.za; - f.xa(x.Zc) && (null === w.Zc || x.Zc < w.Zc) && (w.Zc = x.Zc); - y = this.rs; - void 0 !== y && null === w.VR && (w.VR = y); - y = x.Pd; - void 0 !== y && (null === w.BM || y > w.BM) && (w.BM = y); - w.jl += x.jl; - w.Tj = v.lsa ? w.Tj + x.k1a : w.Tj + x.iB; - Array.prototype.unshift.apply(w.Y, x.Oe.Y); - return w; + u = this.I; + w = this.Aa; + f.ya(w.Zc) && (null === t.Zc || w.Zc < t.Zc) && (t.Zc = w.Zc); + v = this.ws; + void 0 !== v && null === t.WR && (t.WR = v); + v = w.Nd; + void 0 !== v && (null === t.DM || v > t.DM) && (t.DM = v); + t.jl += w.jl; + t.Tj = u.fsa ? t.Tj + w.k1a : t.Tj + w.kB; + Array.prototype.unshift.apply(t.Y, w.Wd.Y); + return t; }; - t.prototype.Es = function (w) { - if (this.za.length && (w = this.za.JRa(w))) - return w; + p.prototype.Is = function (t) { + if (this.Aa.length && (t = this.Aa.IRa(t))) + return t; }; - t.prototype.Wjb = function (w) { - var v, - x, - y; - x = w.Md; - w = w.Jc; - g.assert(x, "expected contentEndTimestamp to be defined"); - g.assert(void 0 !== w, "expected contentStartPts to be defined"); - w = this.za.Hia(w); - y = this.za.get(w); - g.assert(y && void 0 !== y.Jc && void 0 !== y.pc && void 0 !== y.index, "expected existing request to be defined with properties"); - if (null === (v = y.Md) || void 0 === v ? 0 : v.equal(x)) - return (this.hLa(w), [y.pc, y.index + 1]); - this.hLa(w - 1); - return [y.Jc, y.index]; - }; - t.prototype.qo = function () { - var w, + p.prototype.Wjb = function (t) { + var u, + w, v; - w = this; - v = []; - this.za.forEach(function (x) { - var y; - y = x.Pta(); - 1 === y ? v.push(x) : 2 === y && w.ub.N.qh("swapUrl failure"); + w = t.Kd; + t = t.Lc; + g.assert(w, "expected contentEndTimestamp to be defined"); + g.assert(void 0 !== t, "expected contentStartPts to be defined"); + t = this.Aa.Aia(t); + v = this.Aa.get(t); + g.assert(v && void 0 !== v.Lc && void 0 !== v.uc && void 0 !== v.index, "expected existing request to be defined with properties"); + if (null === (u = v.Kd) || void 0 === u ? 0 : u.equal(w)) + return (this.fLa(t), [v.uc, v.index + 1]); + this.fLa(t - 1); + return [v.Lc, v.index]; + }; + p.prototype.ro = function () { + var t, + u; + t = this; + u = []; + this.Aa.forEach(function (w) { + var v; + v = w.Kta(); + 1 === v ? u.push(w) : 2 === v && t.yb.N.ph("swapUrl failure"); }); - return v; + return u; }; - t.prototype.qM = function (w) { - w.TB && w.Ss() && this.v8(); - this.qF(w); + p.prototype.sM = function (t) { + t.VB && t.Xs() && this.r8(); + this.uF(t); }; - t.prototype.wk = function (w) { - var v, - x; - w.TB && !w.Je && this.v8(); - (null === (v = this.Lo) || void 0 === v ? void 0 : v.state) === r.ul.complete && (null === (x = this.Lo) || void 0 === x ? void 0 : x.nl()); - this.gv(w); + p.prototype.vk = function (t) { + var u, + w; + t.VB && !t.Le && this.r8(); + (null === (u = this.Mo) || void 0 === u ? void 0 : u.state) === n.tl.complete && (null === (w = this.Mo) || void 0 === w ? void 0 : w.ml()); + this.nv(t); }; - t.prototype.Gea = function (w) { - var v, - x, - y; - v = 1 === this.tg ? "v_" : "a_"; - x = this.za; - y = x.MK(w); - w = 0 <= y ? x.get(y) : void 0; - return (x = 0 <= y && y + 1 < x.length ? x.get(y + 1) : void 0) && w ? w.Pd !== x.Zc ? v + "rg" : w.complete && x.complete ? v + "uk" : v + "fd" : v + "rm"; + p.prototype.zea = function (t) { + var u, + w, + v; + u = 1 === this.tg ? "v_" : "a_"; + w = this.Aa; + v = w.QK(t); + t = 0 <= v ? w.get(v) : void 0; + return (w = 0 <= v && v + 1 < w.length ? w.get(v + 1) : void 0) && t ? t.Nd !== w.Zc ? u + "rg" : t.complete && w.complete ? u + "uk" : u + "fd" : u + "rm"; }; - t.prototype.qgb = function () { - return this.za.Uo + this.za.Ar; + p.prototype.rgb = function () { + return this.Aa.Vo + this.Aa.Dr; }; - t.prototype.BKa = function () { - var w, - v, - x; - v = void 0 !== this.za && 0 < this.za.length; - x = this.za; - this.za = new l.Sua(this.H, this); - this.yl = 0; + p.prototype.zKa = function () { + var t, + u, + w; + u = void 0 !== this.Aa && 0 < this.Aa.length; + w = this.Aa; + this.Aa = new l.Pua(this.H, this); + this.xl = 0; this.ug.clear(); - this.wJa = void 0; + this.uJa = void 0; this.Zc = null; - null === (w = this.Lo) || void 0 === w ? void 0 : w.nl(); - this.jIa = this.dJ = !1; - v && (w = x.map(function (y) { - return y; - }), this.qm.X5(w)); + null === (t = this.Mo) || void 0 === t ? void 0 : t.ml(); + this.hIa = this.fJ = !1; + u && (t = w.map(function (v) { + return v; + }), this.pm.X5(t)); }; - t.prototype.eca = function (w) { - this.dJ ? w.A2 = !1 : this.dJ = w.A2 = !0; + p.prototype.Zba = function (t) { + this.fJ ? t.B2 = !1 : this.fJ = t.B2 = !0; }; - t.prototype.hLa = function (w) { - var v; - for (w += 1; w < this.lz; w++) { - v = this.za.get(w); - g.assert(v, "expected request to exist"); - this.ug.remove(v); - v.aborted || (this.MZ(v), v.Ic()); + p.prototype.fLa = function (t) { + var u; + for (t += 1; t < this.oz; t++) { + u = this.Aa.get(t); + g.assert(u, "expected request to exist"); + this.ug.remove(u); + u.aborted || (this.OZ(u), u.Kc()); } - this.yda(); + this.sda(); }; - t.prototype.MZ = function (w, v) { - if (!w.abort()) + p.prototype.OZ = function (t, u) { + if (!t.abort()) return !1; - "function" === typeof v && v(w); + "function" === typeof u && u(t); return !0; }; - t.prototype.yda = function () { - var w, - v, - x, - y; - w = this; - if (0 !== this.za.length) { - x = []; - y = 0; - this.za.oOb(function (z, B) { - B < w.yl && ++y; - x.push(z); + p.prototype.sda = function () { + var t, + u, + w, + v; + t = this; + if (0 !== this.Aa.length) { + w = []; + v = 0; + this.Aa.tOb(function (x, y) { + y < t.xl && ++v; + w.push(x); }); - this.yl -= y; - null === (v = this.Lo) || void 0 === v ? void 0 : v.nl(); - this.qm.X5(x); + this.xl -= v; + null === (u = this.Mo) || void 0 === u ? void 0 : u.ml(); + this.pm.X5(w); } }; - return t; - })(q.jw); - b.HFa = a; - }, function (q, b, a) { + return p; + })(r.pw); + b.EFa = a; + }, function (r, b, a) { var c, f, k, @@ -88085,108 +88019,108 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Pua = void 0; + b.Mua = void 0; c = a(2); f = a(111); k = c.__importDefault(a(27)); - q = c.__importDefault(a(4)); + r = c.__importDefault(a(5)); l = a(9); d = a(6); - g = a(246); + g = a(247); h = a(98); - m = a(239); + m = a(240); n = a(113); - r = q.default.kq; + q = r.default.mq; a = (function (p) { - function u(t, w, v, x, y, z, B, A) { + function t(u, w, v, x, y, z, A, B) { var C; - x = p.call(this, t, v, x, z, B, A) || this; - y = h.Gk.prototype.toString.call(x) + (y ? "(cache)" : ""); - A = { + x = p.call(this, u, v, x, z, A, B) || this; + y = h.em.prototype.toString.call(x) + (y ? "(cache)" : ""); + B = { offset: v.offset, - ca: v.foa + 8, + da: v.aoa + 8, responseType: 0 }; - x.push(new m.jO(t, w, y + "(moof)", A, x, z, B)); - A = { - offset: v.offset + A.ca, - ca: v.ca - A.ca, - responseType: r.Ub && !r.Ub.cW.LP ? 0 : 1 + x.push(new m.iO(u, w, y + "(moof)", B, x, z, A)); + B = { + offset: v.offset + B.da, + da: v.da - B.da, + responseType: q.Wb && !q.Wb.cW.LP ? 0 : 1 }; - if (x.mediaType === k.default.Za.Hb && x.na) { + if (x.mediaType === k.default.Ra.Bb && x.na) { if (0 < x.na.start) { - C = x.MRa(x.na.start); - C && (A.offset = v.offset + C, A.ca = v.ca - C); + C = x.LRa(x.na.start); + C && (B.offset = v.offset + C, B.da = v.da - C); } - x.na.end < x.wB && (C = x.MRa(x.na.end)) && (A.ca -= v.ca - C); + x.na.end < x.wB && (C = x.LRa(x.na.end)) && (B.da -= v.da - C); } - x.push(new m.jO(t, w, y + "(mdat)", A, x, z, B)); + x.push(new m.iO(u, w, y + "(mdat)", B, x, z, A)); return x; } - c.__extends(u, p); - u.prototype.Ss = function () { - return !this.Je && !!this.za.length && this.za.every(function (t) { - return t.Ss(); + c.__extends(t, p); + t.prototype.Xs = function () { + return !this.Le && !!this.Aa.length && this.Aa.every(function (u) { + return u.Xs(); }); }; - u.prototype.JE = function (t) { + t.prototype.LE = function (u) { var w, v, x, y, z, - B, A, + B, C; - if (this.Je) + if (this.Le) return { - status: n.dj.pw + status: n.bj.ww }; - if (!this.Ss()) + if (!this.Xs()) return { - status: n.dj.uf + status: n.bj.wf }; w = !1; - v = this.za[0].response; + v = this.Aa[0].response; x = v.slice(0, v.byteLength - 8); y = new DataView(v); v = y.getUint32(x.byteLength); - d.assert("mdat" === f.qn(y.getUint32(x.byteLength + 4))); + d.assert("mdat" === f.pn(y.getUint32(x.byteLength + 4))); z = this.na && 0 < this.na.start; y = this.na && this.na.end < this.wB; if (this.na && (z || y)) { if (z) - (B = new f.mq(this.H, this.stream, x), A = B.Jqa(this.na.start, this.U)); - if (y && !1 !== A) { - B = new f.mq(this.H, this.stream, A ? l.jB(A.gd) : x); - C = B.Mqa(this.na.end - this.na.start, this.U); - } - if (x = y ? C : A) - (w = t.appendBuffer(l.jB(x.gd), l.Bp(this)), A && (v -= A.ri), C && (v -= C.ri)); - B = this.Bda(); + (A = new f.oq(this.H, this.stream, x), B = A.Dqa(this.na.start, this.U)); + if (y && !1 !== B) { + A = new f.oq(this.H, this.stream, B ? l.lB(B.jd) : x); + C = A.Gqa(this.na.end - this.na.start, this.U); + } + if (x = y ? C : B) + (w = u.appendBuffer(l.lB(x.jd), l.Dp(this)), B && (v -= B.ri), C && (v -= C.ri)); + A = this.vda(); } else - w = t.appendBuffer(x, l.Bp(this)); - w && (w = t.appendBuffer(f.Ky(v - 8), l.Bp(this))) && (w = t.appendBuffer(this.za[1].response, l.Bp(this))); - this.Je = w; - this.uPb(); + w = u.appendBuffer(x, l.Dp(this)); + w && (w = u.appendBuffer(f.Ny(v - 8), l.Dp(this))) && (w = u.appendBuffer(this.Aa[1].response, l.Dp(this))); + this.Le = w; + this.zPb(); return { - status: w ? n.dj.pw : n.dj.uf, - Gj: B + status: w ? n.bj.ww : n.bj.wf, + Fj: A }; }; - u.prototype.toString = function () { + t.prototype.toString = function () { return "ID: " + this.Jh() + ":" + p.prototype.toString.call(this); }; - return u; - })(g.ZC); - b.Pua = a; - }, function (q, b, a) { + return t; + })(g.aD); + b.Mua = a; + }, function (r, b, a) { var c, f, k, @@ -88199,308 +88133,254 @@ a000.D9b = function () { value: !0 } }); - b.L7a = void 0; - q = a(2); + b.N7a = void 0; + r = a(2); c = a(111); - f = a(243); - k = q.__importDefault(a(27)); + f = a(244); + k = r.__importDefault(a(27)); l = a(9); a(6); d = a(22); - g = q.__importDefault(a(4)); + g = r.__importDefault(a(5)); h = a(113); a = (function () { var b60; + b60 = 2; function m() { var c60; c60 = 2; for (; c60 !== 1; ) { switch (c60) { case 2: - var m1u = "1SI"; - m1u += "Y"; - m1u += "bZr"; - m1u += "N"; - m1u += "JCp9"; - m1u; - c60 = 1; - break; - case 4: - var O1u = "1SIY"; - O1u += "b"; - O1u += "ZrNJ"; - O1u += "Cp"; - O1u += "9"; - O1u; - c60 = 8; - break; + var c7q = "1S"; + c7q += "IY"; + c7q += "bZ"; + c7q += "r"; + c7q += "NJCp9"; + c7q; c60 = 1; break; } } } - b60 = 2; for (; b60 !== 14; ) { switch (b60) { - case 2: - m.prototype.zIa = function (n) { - var d60; - d60 = 2; - for (; d60 !== 1; ) { - switch (d60) { - case 2: - return n && n.K === this.K && n.bT === this.bT ? !0 : !1; - break; - } - } - }; - m.prototype.Igb = function () { - var e60, - n; - e60 = 2; - for (; e60 !== 5; ) { - switch (e60) { - case 2: - n = this.sd; - return n.ck && !n.VA && this.stream.he && (n.e4 || n.f4 && -1 !== n.f4.indexOf(this.stream.da)) ? n.ZVa || 2 : 0; - break; - } - } - }; - m.prototype.mfb = function (n) { - var f60, - r; - f60 = 2; - for (; f60 !== 5; ) { - switch (f60) { - case 2: - r = this.sd; - return { - aja: !1, - gTb: !(void 0 !== r.X7 ? r.X7 : n && n.X7) - }; - break; - } - } - }; - m.prototype.vIa = function (n) { + case 6: + return m; + break; + case 4: + m.prototype.tIa = function (n) { var g60, - r; + q; g60 = 2; for (; g60 !== 4; ) { switch (g60) { case 2: - r = this.sd; - n = this.mfb(n); + q = this.Bd; + n = this.nfb(n); return { - aja: n.aja, - Sp: n.gTb && r.d4 ? r.d4 || 0 : 0 + Uia: n.Uia, + Vp: n.jTb && q.e4 ? q.e4 || 0 : 0 }; break; } } }; - m.prototype.Ueb = function (n, r, p) { + m.prototype.Veb = function (n, q, p) { var h60, - C, - t, + u, w, v, x, y, z, + A, B, - A; + C; h60 = 2; - function u(E) { - var i60, - F, - D; - i60 = 2; - for (; i60 !== 4; ) { - switch (i60) { - case 2: - E = Math.floor(Math.min(z, E) / x.Wb); - (F = x.Wb * E, D = A - F); - return { - cN: E, - Lq: F, - Qxb: D, - YU: 0 < E && D < y / 1E3 - }; - break; - } - } - } for (; h60 !== 11; ) { switch (h60) { - case 9: - v = u(A); - C = v.cN; - h60 = 7; - break; - case 2: - (t = this.sd, w = !0, v = !1); - n = f.g3(t, n); - (x = this.pa, y = x.U, z = this.Lq, B = r ? r.Gpa : this.l0a - 2 * x.Wb, A = B - this.iSa); - h60 = 4; - break; - case 3: - h60 = r && !p ? 9 : 6; - break; case 4: - p = t.sxb || p; + p = u.xxb || p; h60 = 3; break; + case 3: + h60 = q && !p ? 9 : 6; + break; case 6: - v || (C = B - d.S.F5(n, y), C = new d.S(C - this.iSa, y), r = u(t.Uf ? Infinity : Math.max(0, C.Wb)), C = r.cN, (r = r.YU) && 0 < C && !t.Uf && --C); - this.th({ + v || (C = A - d.S.F5(n, y), C = new d.S(C - this.hSa, y), q = t(u.Vf ? Infinity : Math.max(0, C.Zb)), C = q.cN, (q = q.XU) && 0 < C && !u.Vf && --C); + this.sh({ start: 0, end: C }); - C < (t.VYa || 1) && (w = !1); - h60 = 12; - break; - case 12: + C < (u.SYa || 1) && (w = !1); return { - KSb: w, - mHb: v + OSb: w, + pHb: v }; break; + case 2: + (u = this.Bd, w = !0, v = !1); + n = f.i3(u, n); + (x = this.pa, y = x.U, z = this.Mq, A = q ? q.Bpa : this.j0a - 2 * x.Zb, B = A - this.hSa); + h60 = 4; + break; case 7: - v = v.YU; + v = v.XU; h60 = 6; break; + case 9: + v = t(B); + C = v.cN; + h60 = 7; + break; + } + } + function t(E) { + var i60, + G, + D; + i60 = 2; + for (; i60 !== 4; ) { + switch (i60) { + case 2: + E = Math.floor(Math.min(z, E) / x.Zb); + (G = x.Zb * E, D = B - G); + return { + cN: E, + Mq: G, + Wxb: D, + XU: 0 < E && D < y / 1E3 + }; + break; + } } } }; - m.prototype.JE = function (n, r, p, u, t, w) { + m.prototype.LE = function (n, q, p, t, u, w) { var j60, v, x; j60 = 2; for (; j60 !== 10; ) { switch (j60) { - case 2: - v = this.sd; - j60 = 1; - break; - case 1: - j60 = this.Je ? 5 : 4; - break; - case 9: - x = this.Tfb(n, r, u, t, w); - n = x.X; - j60 = 7; - break; case 5: return { - status: h.dj.uf + status: h.bj.wf }; break; + case 2: + v = this.Bd; + j60 = 1; + break; case 4: - j60 = !this.na || this.Ap || this.ov ? 3 : 11; + j60 = !this.na || this.Cp || this.uv ? 3 : 11; + break; + case 1: + j60 = this.Le ? 5 : 4; + break; + case 7: + x = x.Fj; + j60 = 6; break; case 3: - j60 = this.na && (this.Ap || this.ov) ? 9 : 12; + j60 = this.na && (this.Cp || this.uv) ? 9 : 12; break; case 6: - this.Je = !0; - this.SV(); + this.Le = !0; + this.RV(); return { - status: n ? h.dj.pw : h.dj.uf, - Gj: x + status: n ? h.bj.ww : h.bj.wf, + Fj: x }; break; case 12: - n = this.mediaType === k.default.Za.Tb && v.mz && p && this.Ot && p.Pd >= this.Pd && this.pc - this.Ot < this.Ot - this.Jc ? !0 : n.appendBuffer(this.response, l.Bp(this)); - j60 = 6; - break; - case 7: - x = x.Gj; + n = this.mediaType === k.default.Ra.Ob && v.pz && p && this.Ut && p.Nd >= this.Nd && this.uc - this.Ut < this.Ut - this.Lc ? !0 : n.appendBuffer(this.response, l.Dp(this)); j60 = 6; break; case 11: - (x = this.Sfb(n, r, p, t, w), n = x.X, x = x.Gj); + (x = this.Tfb(n, q, p, u, w), n = x.W, x = x.Fj); j60 = 6; break; + case 9: + x = this.Ufb(n, q, t, u, w); + n = x.W; + j60 = 7; + break; } } }; - b60 = 8; - break; - case 8: - m.prototype.Sfb = function (n, r, p, u, t) { + m.prototype.Tfb = function (n, q, p, t, u) { var k60, + z, w, v, x, - y, - z; + y; k60 = 2; for (; k60 !== 11; ) { switch (k60) { + case 6: + z = this.vda(v); + k60 = 12; + break; case 2: (v = { - Sp: 0 + Vp: 0 }, x = !1, y = !0); - this.mediaType === k.default.Za.Tb && p && (u ? t && this.AS() : this.zIa(p) ? p.na && this.na && this.na.start !== p.na.end && this.th({ + this.mediaType === k.default.Ra.Ob && p && (t ? u && this.zS() : this.xIa(p) ? p.na && this.na && this.na.start !== p.na.end && this.sh({ start: p.na.end - }) : (v = this.vIa(r), p.Pd === this.Zc && (v.Sp = 0))); - void 0 === (null === (w = this.na) || void 0 === w ? void 0 : w.J7) ? this.mediaType === k.default.Za.Tb && !p && this.na && (v.Sp = Math.min(this.na.end - this.na.start, Math.max(this.Igb(), v.Sp || 0))) : v.Sp = this.na.J7; + }) : (v = this.tIa(q), p.Nd === this.Zc && (v.Vp = 0))); + void 0 === (null === (w = this.na) || void 0 === w ? void 0 : w.F7) ? this.mediaType === k.default.Ra.Ob && !p && this.na && (v.Vp = Math.min(this.na.end - this.na.start, Math.max(this.Jgb(), v.Vp || 0))) : v.Vp = this.na.F7; 0 >= this.duration && (y = !1, x = !0); k60 = 3; break; case 3: k60 = y ? 9 : 12; break; + case 9: + k60 = this.na && (0 < this.na.start || v.Vp) ? 8 : 13; + break; + case 8: + var Y7q = "medi"; + Y7q += "a|as"; + Y7q += "ejs"; + var a7q = "M"; + a7q += "P"; + a7q += "4"; + k60 = (q = new c.oq(new g.default.Console(a7q, Y7q), this.stream, this.response), q = q.Dqa(this.na.start, this.eM, v.Vp)) ? 7 : 14; + break; case 7: - x = n.appendBuffer(l.jB(r.gd), l.Bp(this)); + x = n.appendBuffer(l.lB(q.jd), l.Dp(this)); k60 = 6; break; - case 9: - k60 = this.na && (0 < this.na.start || v.Sp) ? 8 : 13; - break; - case 13: - x = n.appendBuffer(this.response, l.Bp(this)); + case 14: + var i7q = " from"; + i7q += " "; + i7q += "["; + i7q += " "; + var j7q = "AseFr"; + j7q += "agmentM"; + j7q += "ediaReque"; + j7q += "st: Fragment edit failed f"; + j7q += "or "; + (this.H.error(j7q + this.toString() + i7q + this.VK + "-" + this.K2 + "]"), x = !0); k60 = 12; break; - case 8: - var W1u = "med"; - W1u += "ia"; - W1u += "|a"; - W1u += "sejs"; - var E1u = "M"; - E1u += "P"; - E1u += "4"; - k60 = (r = new c.mq(new g.default.Console(E1u, W1u), this.stream, this.response), r = r.Jqa(this.na.start, this.cM, v.Sp)) ? 7 : 14; - break; - case 6: - z = this.Bda(v); + case 13: + x = n.appendBuffer(this.response, l.Dp(this)); k60 = 12; break; case 12: return { - X: x, - Gj: z + W: x, + Fj: z }; break; - case 14: - var I1u = " "; - I1u += "from ["; - I1u += " "; - var J1u = "AseFragmentM"; - J1u += "ediaRequest: Fragment edit "; - J1u += "fai"; - J1u += "led for"; - J1u += " "; - (this.H.error(J1u + this.toString() + I1u + this.RK + "-" + this.J2 + "]"), x = !0); - k60 = 12; - break; } } }; - m.prototype.Tfb = function (n, r, p, u, t) { + m.prototype.Ufb = function (n, q, p, t, u) { var l60, w, v, @@ -88509,69 +88389,114 @@ a000.D9b = function () { l60 = 2; for (; l60 !== 11; ) { switch (l60) { - case 8: - n = n.appendBuffer(l.jB(x.gd), l.Bp(this)); - l60 = 7; + case 4: + l60 = x ? 3 : 12; + break; + case 6: + return { + W: n, + Fj: y + }; break; case 2: - (w = this.sd, v = { - Sp: 0 + (w = this.Bd, v = { + Vp: 0 }, x = !0); - this.mediaType === k.default.Za.Tb && (u ? t && (this.a2(1), x = 0 < this.na.end) : this.zIa(p) ? p.na && 0 !== p.na.start ? this.th({ + this.mediaType === k.default.Ra.Ob && (t ? u && (this.c2(1), x = 0 < this.na.end) : this.xIa(p) ? p.na && 0 !== p.na.start ? this.sh({ start: 0, end: p.na.start - }) : x = !1 : (v = this.vIa(r), w.mz || (r = this.Ueb(r, p, v.aja), (x = r.KSb) && r.mHb && (v.Sp = 0)))); + }) : x = !1 : (v = this.tIa(q), w.pz || (q = this.Veb(q, p, v.Uia), (x = q.OSb) && q.pHb && (v.Vp = 0)))); x && 0 === this.duration && (x = !1); l60 = 4; break; - case 4: - l60 = x ? 3 : 12; - break; case 9: - l60 = (x = new c.mq(this.H, this.stream, this.response), x = x.Mqa(this.na && this.na.end, this.U, v.Sp)) ? 8 : 14; + l60 = (x = new c.oq(this.H, this.stream, this.response), x = x.Gqa(this.na && this.na.end, this.U, v.Vp)) ? 8 : 14; + break; + case 8: + n = n.appendBuffer(l.lB(x.jd), l.Dp(this)); + l60 = 7; break; case 3: - l60 = this.na && this.na.end < this.wB || v.Sp ? 9 : 13; + l60 = this.na && this.na.end < this.wB || v.Vp ? 9 : 13; break; - case 7: - y = this.Bda(v); + case 13: + n = n.appendBuffer(this.response, l.Dp(this)); l60 = 6; break; - case 6: - return { - X: n, - Gj: y - }; - break; case 14: - var c1u = " "; - c1u += "from ["; - c1u += " "; - var n1u = "AseFragmentMediaRequest: Frag"; - n1u += "ment edit"; - n1u += " failed for "; - (this.H.error(n1u + this.toString() + c1u + this.RK + "-" + this.J2 + "]"), n = !0); + var R7q = " fr"; + R7q += "om"; + R7q += " "; + R7q += "["; + R7q += " "; + var O7q = "AseFragmentMediaRequest:"; + O7q += " Fragment e"; + O7q += "dit failed for "; + (this.H.error(O7q + this.toString() + R7q + this.VK + "-" + this.K2 + "]"), n = !0); l60 = 6; break; case 12: n = !0; l60 = 6; break; - case 13: - n = n.appendBuffer(this.response, l.Bp(this)); + case 7: + y = this.vda(v); l60 = 6; break; } } }; - return m; + b60 = 6; + break; + case 2: + m.prototype.xIa = function (n) { + var d60; + d60 = 2; + for (; d60 !== 1; ) { + switch (d60) { + case 2: + return n && n.K === this.K && n.aT === this.aT ? !0 : !1; + break; + } + } + }; + m.prototype.Jgb = function () { + var e60, + n; + e60 = 2; + for (; e60 !== 5; ) { + switch (e60) { + case 2: + n = this.Bd; + return n.dk && !n.XA && this.stream.ee && (n.f4 || n.g4 && -1 !== n.g4.indexOf(this.stream.$)) ? n.XVa || 2 : 0; + break; + } + } + }; + m.prototype.nfb = function (n) { + var f60, + q; + f60 = 2; + for (; f60 !== 5; ) { + switch (f60) { + case 2: + q = this.Bd; + return { + Uia: !1, + jTb: !(void 0 !== q.T7 ? q.T7 : n && n.T7) + }; + break; + } + } + }; + b60 = 4; break; } } })(); - b.L7a = a; + b.N7a = a; b.default = new a(); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -88583,48 +88508,48 @@ a000.D9b = function () { value: !0 } }); - b.Sua = void 0; + b.Pua = void 0; c = a(2); a(6); - f = a(866); - q = a(43); - k = a(867); + f = a(868); + r = a(43); + k = a(869); l = a(112); d = a(96); - g = a(238); + g = a(239); a = (function (h) { - function m(n, r) { + function m(n, q) { var p, - u; + t; p = this; - u = [new k.LX(n), new k.LX(n), new k.LX(n)]; - p = h.call(this, u, function (t) { - return t.complete ? p.empty || t.Xa <= p.gpb ? 0 : 1 : t.active ? 1 : 2; + t = [new k.KX(n), new k.KX(n), new k.KX(n)]; + p = h.call(this, t, function (u) { + return u.complete ? p.empty || u.Ya <= p.hpb ? 0 : 1 : u.active ? 1 : 2; }) || this; - u = c.__read(u, 3); - p.Xh = u[0]; - p.Fe = u[1]; - p.Yr = u[2]; - p.xq = 0; - p.Qba = 0; + t = c.__read(t, 3); + p.Xh = t[0]; + p.He = t[1]; + p.ds = t[2]; + p.zq = 0; + p.Kba = 0; p.H = n; - p.Ge = r; + p.Ie = q; return p; } c.__extends(m, h); Object.defineProperties(m.prototype, { - ca: { + da: { get: function () { - return this.Xh.ca + this.Fe.ca + this.Yr.ca; + return this.Xh.da + this.He.da + this.ds.da; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - lWb: { + nWb: { get: function () { - return this.Yr; + return this.ds; }, enumerable: !1, configurable: !0 @@ -88633,7 +88558,7 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { active: { get: function () { - return this.Fe; + return this.He; }, enumerable: !1, configurable: !0 @@ -88651,16 +88576,16 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { k1a: { get: function () { - return this.xq; + return this.zq; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - iB: { + kB: { get: function () { - return this.Xh.ca; + return this.Xh.da; }, enumerable: !1, configurable: !0 @@ -88669,16 +88594,16 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { jl: { get: function () { - return this.Xh.ca + this.Fe.ca - this.xq; + return this.Xh.da + this.He.da - this.zq; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - mWb: { + oWb: { get: function () { - return this.Yr.ca; + return this.ds.da; }, enumerable: !1, configurable: !0 @@ -88687,14 +88612,14 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { first: { get: function () { - return this.Nxb(); + return this.Txb(); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Tn: { + Vn: { get: function () { return this.omb(); }, @@ -88703,27 +88628,27 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Vha: { + Pha: { get: function () { - return !this.Xh.empty || this.Yr.empty || this.Fe.empty ? this.first : this.Fe.Xa < this.Yr.Xa ? this.Fe.first : this.Yr.first; + return !this.Xh.empty || this.ds.empty || this.He.empty ? this.first : this.He.Ya < this.ds.Ya ? this.He.first : this.ds.first; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - jXa: { + hXa: { get: function () { - return this.Yr.empty || this.Fe.empty ? this.Tn : this.Fe.jb < this.Yr.jb ? this.Yr.Tn : this.Fe.Tn; + return this.ds.empty || this.He.empty ? this.Vn : this.He.jb < this.ds.jb ? this.ds.Vn : this.He.Vn; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - TRa: { + SRa: { get: function () { - return this.Yr.first; + return this.ds.first; }, enumerable: !1, configurable: !0 @@ -88739,9 +88664,9 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Xa: { + Ya: { get: function () { - return this.Vha && this.Vha.Xa; + return this.Pha && this.Pha.Ya; }, enumerable: !1, configurable: !0 @@ -88750,23 +88675,23 @@ a000.D9b = function () { Object.defineProperties(m.prototype, { jb: { get: function () { - return this.jXa && this.jXa.jb; + return this.hXa && this.hXa.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Lj: { + Kj: { get: function () { - return this.first && this.first.Lj; + return this.first && this.first.Kj; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - fpb: { + gpb: { get: function () { return this.Xh.duration; }, @@ -88775,70 +88700,70 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - HDb: { + LDb: { get: function () { - return this.pc - this.wOa || 0; + return this.uc - this.uOa || 0; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - gpb: { + hpb: { get: function () { - return this.Xh.empty ? this.Xa : this.Xh.jb; + return this.Xh.empty ? this.Ya : this.Xh.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - wOa: { + uOa: { get: function () { - return this.Xh.empty ? this.Jc : this.Xh.pc; + return this.Xh.empty ? this.Lc : this.Xh.uc; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - xOa: { + vOa: { get: function () { - return this.Xh.empty ? this.Zc : this.Xh.Pd; + return this.Xh.empty ? this.Zc : this.Xh.Nd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - L_a: { + J_a: { get: function () { - return this.Fe.Pd || this.Xh.Pd; + return this.He.Nd || this.Xh.Nd; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Ar: { + Dr: { get: function () { - return this.Yr.length; + return this.ds.length; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Uo: { + Vo: { get: function () { - return this.Fe.length; + return this.He.length; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - zOa: { + xOa: { get: function () { return this.Xh.length; }, @@ -88847,16 +88772,16 @@ a000.D9b = function () { } }); Object.defineProperties(m.prototype, { - Oe: { + Wd: { get: function () { - return this.Xh.concat(this.Fe); + return this.Xh.concat(this.He); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(m.prototype, { - Gq: { + Iq: { get: function () { return this.ag; }, @@ -88864,150 +88789,150 @@ a000.D9b = function () { configurable: !0 } }); - m.prototype.II = function (n) { - var r; - n.aborted ? ++this.Qba : this.xq += n.bytesReceived || 0; + m.prototype.MI = function (n) { + var q; + n.aborted ? ++this.Kba : this.zq += n.bytesReceived || 0; if (this.empty) - this.ag = new g.Tz(this, {}); - else if (n.Xa !== this.jb) - if (n.Xa > this.ag.jb) - this.ag.pW(this.ag.jb); - else if (n.Xa < this.Xa || n.Xa === this.ag.jb) { - r = n.jb; - this.qxb(function (p, u) { - return p.Xa - u.Xa; + this.ag = new g.Vz(this, {}); + else if (n.Ya !== this.jb) + if (n.Ya > this.ag.jb) + this.ag.oW(this.ag.jb); + else if (n.Ya < this.Ya || n.Ya === this.ag.jb) { + q = n.jb; + this.vxb(function (p, t) { + return p.Ya - t.Ya; }, function (p) { - r = p.Xa === r ? p.jb : r; + q = p.Ya === q ? p.jb : q; }); - r === Math.max(this.jb, n.jb) ? this.ag.iga() : this.ag.pW(r); + q === Math.max(this.jb, n.jb) ? this.ag.cga() : this.ag.oW(q); } - n.Zra(this); + n.Sra(this); }; - m.prototype.ex = function (n) { - n.aborted ? --this.Qba : this.xq -= n.bytesReceived; - this.empty ? this.ag = void 0 : n.Xa !== this.jb && n.jb <= this.ag.jb && n.Xa > this.ag.Xa && this.ag.pW(n.Xa); - n.dOa(); + m.prototype.jx = function (n) { + n.aborted ? --this.Kba : this.zq -= n.bytesReceived; + this.empty ? this.ag = void 0 : n.Ya !== this.jb && n.jb <= this.ag.jb && n.Ya > this.ag.Ya && this.ag.oW(n.Ya); + n.bOa(); }; m.prototype.push = function (n) { - this.II(n); + this.MI(n); return h.prototype.push.call(this, n); }; m.prototype.shift = function () { var n; n = h.prototype.shift.call(this); - n && this.ex(n); + n && this.jx(n); return n; }; m.prototype.pop = function () { var n; n = h.prototype.pop.call(this); - n && this.ex(n); + n && this.jx(n); return n; }; m.prototype.unshift = function (n) { - this.II(n); + this.MI(n); return h.prototype.unshift.call(this, n); }; - m.prototype.yp = function (n) { - this.II(n); - h.prototype.yp.call(this, n); + m.prototype.Ap = function (n) { + this.MI(n); + h.prototype.Ap.call(this, n); }; m.prototype.remove = function (n) { if (!h.prototype.remove.call(this, n)) return !1; - this.ex(n); + this.jx(n); return !0; }; - m.prototype.splice = function (n, r) { - for (var p = [], u = 2; u < arguments.length; u++) { - p[u - 2] = arguments[u]; + m.prototype.splice = function (n, q) { + for (var p = [], t = 2; t < arguments.length; t++) { + p[t - 2] = arguments[t]; } - u = h.prototype.splice.apply(this, c.__spread([n, r], p)); - p.forEach(this.II.bind(this)); - u.forEach(this.ex.bind(this)); - return u; + t = h.prototype.splice.apply(this, c.__spread([n, q], p)); + p.forEach(this.MI.bind(this)); + t.forEach(this.jx.bind(this)); + return t; }; - m.prototype.oOb = function (n) { - var r; - r = this; - this.reduce(function (p, u, t) { - u.aborted && (n && n(u, t, r), 0 === p.length || p[0].end !== t ? p.unshift({ - start: t, - end: t + 1 + m.prototype.tOb = function (n) { + var q; + q = this; + this.reduce(function (p, t, u) { + t.aborted && (n && n(t, u, q), 0 === p.length || p[0].end !== u ? p.unshift({ + start: u, + end: u + 1 }) : p[0].end += 1); return p; }, []).forEach(function (p) { - return r.splice(p.start, p.end - p.start); + return q.splice(p.start, p.end - p.start); }); }; - m.prototype.Hia = function (n) { - return this.KRa(function (r) { - return r.Hia(n); + m.prototype.Aia = function (n) { + return this.JRa(function (q) { + return q.Aia(n); }); }; - m.prototype.MK = function (n) { - return this.KRa(function (r) { - return r.MK(n); + m.prototype.QK = function (n) { + return this.JRa(function (q) { + return q.QK(n); }); }; - m.prototype.JRa = function (n) { - n = this.MK(n); + m.prototype.IRa = function (n) { + n = this.QK(n); return -1 !== n ? this.get(n) : void 0; }; - m.prototype.nRb = function (n) { + m.prototype.qRb = function (n) { var p; - for (var r = []; n < this.length; ) { + for (var q = []; n < this.length; ) { p = this.get(n); - p && r.push(p); + p && q.push(p); n++; } - return r; + return q; }; - m.prototype.Wy = function (n) { + m.prototype.Zy = function (n) { this.move(n); - this.PK(n); + this.TK(n); }; - m.prototype.rM = function (n) { - this.xq += n.bytesReceived - n.er; - this.QK(n); + m.prototype.tM = function (n) { + this.zq += n.bytesReceived - n.fr; + this.UK(n); }; - m.prototype.wk = function (n) { - for (this.xq += n.bytesReceived - n.er; this.Fe.first && this.Fe.first.complete && (this.Xh.empty ? this.Fe.first === this.Vha : this.Fe.first.Xa === this.Xh.jb); ) { - this.ISb(); + m.prototype.vk = function (n) { + for (this.zq += n.bytesReceived - n.fr; this.He.first && this.He.first.complete && (this.Xh.empty ? this.He.first === this.Pha : this.He.first.Ya === this.Xh.jb); ) { + this.MSb(); } - this.gv(n); + this.nv(n); }; - m.prototype.iV = function (n, r, p) { - this.xq -= n.bytesReceived; - ++this.Qba; - this.OK(n, r, p); + m.prototype.hV = function (n, q, p) { + this.zq -= n.bytesReceived; + ++this.Kba; + this.SK(n, q, p); }; return m; - })(f.xwa); - b.Sua = a; - q.tf(d.jw, a, !1); - q.tf(l.Uz, a); - q.tf(l.Sz, a); - }, function (q, b, a) { + })(f.uwa); + b.Pua = a; + r.tf(d.pw, a, !1); + r.tf(l.Wz, a); + r.tf(l.Uz, a); + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.xwa = void 0; + b.uwa = void 0; c = a(2); a(6); - q = (function () { + r = (function () { function f(k, l) { this.Vc = k; - this.UI = l; - this.Zw(); + this.YI = l; + this.dx(); } Object.defineProperties(f.prototype, { length: { get: function () { - return this.Re; + return this.Se; }, enumerable: !1, configurable: !0 @@ -89016,108 +88941,108 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { empty: { get: function () { - return 0 === this.Re; + return 0 === this.Se; }, enumerable: !1, configurable: !0 } }); - f.prototype.Nxb = function () { + f.prototype.Txb = function () { return this.sg && this.sg.get(0); }; f.prototype.omb = function () { - return this.OI && this.OI.get(this.OI.length - 1); + return this.TI && this.TI.get(this.TI.length - 1); }; f.prototype.get = function (k) { 0 > k && (k += this.length); for (var l = 0; l < this.Vc.length; ++l) { - if (this.Dh[l + 1] > k) - return this.Vc[l].get(k - this.Dh[l]); + if (this.Ch[l + 1] > k) + return this.Vc[l].get(k - this.Ch[l]); } }; f.prototype.push = function (k) { - this.Vc[this.UI(k)].push(k); - this.Zw(); - return this.Re; + this.Vc[this.YI(k)].push(k); + this.dx(); + return this.Se; }; f.prototype.shift = function () { var k; if (this.sg) { k = this.sg.shift(); - this.Zw(); + this.dx(); return k; } }; f.prototype.pop = function () { var k; - if (this.OI) { - k = this.OI.pop(); - this.Zw(); + if (this.TI) { + k = this.TI.pop(); + this.dx(); return k; } }; f.prototype.unshift = function (k) { - this.Vc[this.UI(k)].unshift(k); - this.Zw(); - return this.Re; + this.Vc[this.YI(k)].unshift(k); + this.dx(); + return this.Se; }; - f.prototype.yp = function (k) { + f.prototype.Ap = function (k) { var l; - l = this.UI(k); - this.Vc[l].yp(k); - this.Zw(); + l = this.YI(k); + this.Vc[l].Ap(k); + this.dx(); }; f.prototype.remove = function (k) { var l; l = this.Vc.some(function (d) { return d.remove(k); }); - l && this.Zw(); + l && this.dx(); return l; }; f.prototype.splice = function (k, l) { var p, - u, t, + u, w; for (var d, g = [], h = 2; h < arguments.length; h++) { g[h - 2] = arguments[h]; } h = []; - for (var m, n = k + Math.max(0, l), r = 0; r < this.Vc.length; ++r) { - p = this.Vc[r]; - u = this.Dh[r]; - t = this.Dh[r + 1]; - if (k < t) { - w = k - u; - u = Math.min(n - u, p.length); - void 0 === m && 0 < w && u < p.length ? Array.prototype.push.apply(h, p.splice.apply(p, c.__spread([w, u - w], g))) : (Array.prototype.push.apply(h, p.splice(w, u - w)), void 0 === m && (m = 0 < r && 0 === w ? r - 1 : r)); - k = t; + for (var m, n = k + Math.max(0, l), q = 0; q < this.Vc.length; ++q) { + p = this.Vc[q]; + t = this.Ch[q]; + u = this.Ch[q + 1]; + if (k < u) { + w = k - t; + t = Math.min(n - t, p.length); + void 0 === m && 0 < w && t < p.length ? Array.prototype.push.apply(h, p.splice.apply(p, c.__spread([w, t - w], g))) : (Array.prototype.push.apply(h, p.splice(w, t - w)), void 0 === m && (m = 0 < q && 0 === w ? q - 1 : q)); + k = u; if (k >= n) break; } } if (g.length && void 0 !== m) { - for (n = this.UI(g[0]); 0 < m && n < m && this.Vc[m].empty; ) { + for (n = this.YI(g[0]); 0 < m && n < m && this.Vc[m].empty; ) { --m; } for (; g.length && n === m; ) { this.Vc[m].push(g.shift()); if (!g.length) break; - n = this.UI(g[0]); + n = this.YI(g[0]); } for (; g.length && ++m < this.Vc.length && this.Vc[m].empty; ) { for (; g.length && n === m; ) { this.Vc[m].push(g.shift()); if (!g.length) break; - n = this.UI(g[0]); + n = this.YI(g[0]); } } g.length && (d = this.Vc[m]).splice.apply(d, c.__spread([0, 0], g)); } - this.Zw(); + this.dx(); return h; }; f.prototype.find = function (k) { @@ -89125,16 +89050,16 @@ a000.D9b = function () { d; l = this; return this.Vc.some(function (g, h) { - d = g.find(l.QA(k, h)); + d = g.find(l.TA(k, h)); return void 0 !== d; }) ? d : void 0; }; f.prototype.findIndex = function (k) { var d; for (var l = 0; l < this.Vc.length; ++l) { - d = this.Vc[l].findIndex(this.QA(k, l)); + d = this.Vc[l].findIndex(this.TA(k, l)); if (-1 !== d) - return d + this.Dh[l]; + return d + this.Ch[l]; } return -1; }; @@ -89143,7 +89068,7 @@ a000.D9b = function () { for (var l = 0; l < this.Vc.length; ++l) { d = this.Vc[l].indexOf(k); if (-1 !== d) - return d + this.Dh[l]; + return d + this.Ch[l]; } return -1; }; @@ -89152,7 +89077,7 @@ a000.D9b = function () { d; l = this; d = this.Vc.map(function (g, h) { - return g.map(l.QA(k, h)); + return g.map(l.TA(k, h)); }); return Array.prototype.concat.apply([], d); }; @@ -89167,24 +89092,24 @@ a000.D9b = function () { var l; l = this; this.Vc.forEach(function (d, g) { - d.forEach(l.QA(k, g)); + d.forEach(l.TA(k, g)); }); }; - f.prototype.B2 = function (k) { + f.prototype.C2 = function (k) { for (var l = this.Vc.length - 1; 0 <= l; --l) { - this.Vc[l].B2(this.QA(k, l)); + this.Vc[l].C2(this.TA(k, l)); } }; f.prototype.some = function (k) { var l; l = this; return this.Vc.some(function (d, g) { - return d.some(l.QA(k, g)); + return d.some(l.TA(k, g)); }); }; - f.prototype.rsa = function (k) { + f.prototype.lsa = function (k) { for (var l = this.Vc.length - 1; 0 <= l; --l) { - if (this.Vc[l].rsa(this.QA(k, l))) + if (this.Vc[l].lsa(this.TA(k, l))) return !0; } return !1; @@ -89193,15 +89118,15 @@ a000.D9b = function () { var l; l = this; return this.Vc.every(function (d, g) { - return d.every(l.QA(k, g)); + return d.every(l.TA(k, g)); }); }; - f.prototype.qxb = function (k, l) { + f.prototype.vxb = function (k, l) { var n, - r; + q; function d(p) { - return p.reduce(function (u, t, w, v) { - return void 0 === t ? u : void 0 === u ? w : 0 > k(t, v[u]) ? w : u; + return p.reduce(function (t, u, w, v) { + return void 0 === u ? t : void 0 === t ? w : 0 > k(u, v[t]) ? w : t; }, void 0); } for (var g = this, h = this.Vc.map(function () { @@ -89209,30 +89134,30 @@ a000.D9b = function () { }), m = this.Vc.filter(function (p) { return p.empty; }).length; m < this.Vc.length; ) { - n = h.map(function (p, u) { - return p < g.Vc[u].length ? g.Vc[u].get(p) : void 0; + n = h.map(function (p, t) { + return p < g.Vc[t].length ? g.Vc[t].get(p) : void 0; }); - r = d(n); - l(n[r], this.Dh[r] + h[r], this); - ++h[r]; - h[r] === this.Vc[r].length && ++m; + q = d(n); + l(n[q], this.Ch[q] + h[q], this); + ++h[q]; + h[q] === this.Vc[q].length && ++m; } }; f.prototype.move = function (k) { - return this.remove(k) ? (this.yp(k), !0) : !1; + return this.remove(k) ? (this.Ap(k), !0) : !1; }; - f.prototype.ISb = function () { + f.prototype.MSb = function () { var k; if (this.Vc[1].length) { k = this.Vc[1].shift(); this.Vc[0].push(k); - this.Zw(); + this.dx(); } }; - f.prototype.KRa = function (k) { + f.prototype.JRa = function (k) { for (var l = -1, d = 0; d < this.Vc.length; ++d) { if ((l = k(this.Vc[d]), -1 !== l)) { - l += this.Dh[d]; + l += this.Ch[d]; break; } } @@ -89243,24 +89168,24 @@ a000.D9b = function () { return k.toJSON(); }); }; - f.prototype.Zw = function () { + f.prototype.dx = function () { var l; - this.Re = 0; - this.Dh = [0]; - this.OI = this.sg = void 0; + this.Se = 0; + this.Ch = [0]; + this.TI = this.sg = void 0; for (var k = 0; k < this.Vc.length; ++k) { l = this.Vc[k]; - this.Re += l.length; - this.Dh.push(this.Dh[this.Dh.length - 1] + l.length); + this.Se += l.length; + this.Ch.push(this.Ch[this.Ch.length - 1] + l.length); !this.sg && l.length && (this.sg = l); - l.length && (this.OI = l); + l.length && (this.TI = l); } }; - f.prototype.QA = function (k, l) { + f.prototype.TA = function (k, l) { var d, g; d = this; - g = this.Dh[l]; + g = this.Ch[l]; return function (h, m) { return k(h, g + m, d); }; @@ -89269,15 +89194,15 @@ a000.D9b = function () { var d, g; d = this; - g = this.Dh[l]; + g = this.Ch[l]; return function (h, m, n) { return k(h, m, g + n, d); }; }; return f; })(); - b.xwa = q; - }, function (q, b, a) { + b.uwa = r; + }, function (r, b, a) { var c, f, k, @@ -89287,17 +89212,17 @@ a000.D9b = function () { value: !0 } }); - b.LX = void 0; + b.KX = void 0; c = a(2); f = a(6); - q = a(43); - k = a(238); + r = a(43); + k = a(239); a = a(112); l = (function () { function d(g, h) { this.Ja = []; this.ag = void 0; - this.Fc = 0; + this.Hc = 0; this.H = g; h && h.length && (Array.isArray(h) ? (this.Ja = h.slice(), this.XP(0, this.Ja.length)) : h instanceof d && (this.Ja = h.Ja.slice(), this.XP(0, this.Ja.length))); } @@ -89329,7 +89254,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Tn: { + Vn: { get: function () { return this.Ja[this.Ja.length - 1]; }, @@ -89338,9 +89263,9 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Xa: { + Ya: { get: function () { - return this.first && this.first.Xa; + return this.first && this.first.Ya; }, enumerable: !1, configurable: !0 @@ -89349,14 +89274,14 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { jb: { get: function () { - return this.Tn && this.Tn.jb; + return this.Vn && this.Vn.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(d.prototype, { - Gq: { + Iq: { get: function () { return this.ag; }, @@ -89365,9 +89290,9 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - ca: { + da: { get: function () { - return this.Fc; + return this.Hc; }, enumerable: !1, configurable: !0 @@ -89383,9 +89308,9 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Lj: { + Kj: { get: function () { - return this.first && this.first.Lj; + return this.first && this.first.Kj; }, enumerable: !1, configurable: !0 @@ -89403,21 +89328,21 @@ a000.D9b = function () { d.prototype.bmb = function () { var g; if (0 === this.Ja.length) - (f.assert(void 0 === this.ag), f.assert(0 === this.Fc)); + (f.assert(void 0 === this.ag), f.assert(0 === this.Hc)); else { - f.assert(this.ag instanceof k.Tz); - f.assert("number" === typeof this.Fc); - f.assert(void 0 !== this.Gq && this.Gq.Xa === this.Xa); + f.assert(this.ag instanceof k.Vz); + f.assert("number" === typeof this.Hc); + f.assert(void 0 !== this.Iq && this.Iq.Ya === this.Ya); g = this.Ja.reduce(function (h, m, n) { - return 0 === n || m.Xa === h ? m.jb : h; + return 0 === n || m.Ya === h ? m.jb : h; }, 0); - f.assert(this.Gq.jb === g); + f.assert(this.Iq.jb === g); f.assert(this.Ja.reduce(function (h, m, n) { - return 0 === n || m.Xa === h ? m.jb : h; - }, 0) === this.Gq.jb); + return 0 === n || m.Ya === h ? m.jb : h; + }, 0) === this.Iq.jb); f.assert(this.Ja.reduce(function (h, m) { - return h + m.ca; - }, 0) === this.Fc); + return h + m.da; + }, 0) === this.Hc); } }; d.prototype.get = function (g) { @@ -89436,15 +89361,15 @@ a000.D9b = function () { }; d.prototype.pop = function () { if (0 !== this.Ja.length) - return (this.Ada(this.Ja.length - 1), this.Ja.pop()); + return (this.uda(this.Ja.length - 1), this.Ja.pop()); }; d.prototype.shift = function () { if (0 !== this.Ja.length) - return (this.Ada(0), this.Ja.shift()); + return (this.uda(0), this.Ja.shift()); }; d.prototype.splice = function (g, h) { - for (var m, n = [], r = 2; r < arguments.length; r++) { - n[r - 2] = arguments[r]; + for (var m, n = [], q = 2; q < arguments.length; q++) { + n[q - 2] = arguments[q]; } 0 > g && (g += this.Ja.length); 0 > g && (g = 0); @@ -89452,10 +89377,10 @@ a000.D9b = function () { if (void 0 === h || 0 > h) h = 0; h = Math.min(h, this.Ja.length - g); - 0 < h && this.Ada(g, g + h); - r = (m = this.Ja).splice.apply(m, c.__spread([g, h], n)); + 0 < h && this.uda(g, g + h); + q = (m = this.Ja).splice.apply(m, c.__spread([g, h], n)); 0 < n.length && this.XP(g, g + arguments.length - 2); - return r; + return q; }; d.prototype.slice = function (g, h) { void 0 === g && (g = 0); @@ -89467,19 +89392,19 @@ a000.D9b = function () { 0 > h && (h += this.Ja.length); return new d(this.H, this.Ja.slice(g, h)); }; - d.prototype.yp = function (g) { - if (0 === this.Ja.length || g.Xa >= this.jb) + d.prototype.Ap = function (g) { + if (0 === this.Ja.length || g.Ya >= this.jb) this.push(g); - else if (g.jb <= this.Xa) + else if (g.jb <= this.Ya) this.unshift(g); else { for (var h = 0, m = this.Ja.length - 1, n; h < m - 1; ) { n = Math.floor((m + h) / 2); f.assert(n !== m && n !== h); - g.Xa >= this.Ja[n].jb ? h = n : m = n; + g.Ya >= this.Ja[n].jb ? h = n : m = n; } f.assert(h !== m); - f.assert(this.Ja[h].jb <= g.Xa && this.Ja[m].Xa >= g.jb); + f.assert(this.Ja[h].jb <= g.Ya && this.Ja[m].Ya >= g.jb); this.splice(m, 0, g); } }; @@ -89530,8 +89455,8 @@ a000.D9b = function () { d.prototype.reduce = function (g, h) { var m; m = this; - return this.Ja.reduce(function (n, r, p) { - return g(n, r, p, m); + return this.Ja.reduce(function (n, q, p) { + return g(n, q, p, m); }, h); }; d.prototype.indexOf = function (g) { @@ -89541,18 +89466,18 @@ a000.D9b = function () { var h, m; h = this; - return this.Ja.some(function (n, r) { - m = r; - return g(n, r, h); + return this.Ja.some(function (n, q) { + m = q; + return g(n, q, h); }) ? this.Ja[m] : void 0; }; d.prototype.findIndex = function (g) { var h, m; h = this; - return this.Ja.some(function (n, r) { - m = r; - return g(n, r, h); + return this.Ja.some(function (n, q) { + m = q; + return g(n, q, h); }) ? m : -1; }; d.prototype.filter = function (g) { @@ -89562,90 +89487,90 @@ a000.D9b = function () { return g(m, n, h); })); }; - d.prototype.B2 = function (g) { + d.prototype.C2 = function (g) { for (var h = this.Ja.length - 1; 0 <= h; --h) { g(this.Ja[h], h, this); } }; - d.prototype.rsa = function (g) { + d.prototype.lsa = function (g) { for (var h = this.Ja.length - 1; 0 <= h; --h) { if (g(this.Ja[h], h, this)) return !0; } return !1; }; - d.prototype.Hia = function (g) { - if (this.empty || g < this.Jc || g >= this.pc) + d.prototype.Aia = function (g) { + if (this.empty || g < this.Lc || g >= this.uc) return -1; for (var h = 0, m = this.Ja.length - 1, n; m > h; ) { n = Math.floor((m + h) / 2); - if (g >= this.Ja[n].Jc && g < this.Ja[n].pc) { + if (g >= this.Ja[n].Lc && g < this.Ja[n].uc) { m = n; break; } - g < this.Ja[n].pc ? m = n - 1 : h = n + 1; + g < this.Ja[n].uc ? m = n - 1 : h = n + 1; } return m; }; - d.prototype.MK = function (g) { - if (this.empty || g < this.Zc || g >= this.Pd) + d.prototype.QK = function (g) { + if (this.empty || g < this.Zc || g >= this.Nd) return -1; for (var h = 0, m = this.Ja.length - 1, n; m > h; ) { n = Math.floor((m + h) / 2); - if (g >= this.Ja[n].Zc && g < this.Ja[n].Pd) { + if (g >= this.Ja[n].Zc && g < this.Ja[n].Nd) { m = n; break; } - g < this.Ja[n].Pd ? m = n - 1 : h = n + 1; + g < this.Ja[n].Nd ? m = n - 1 : h = n + 1; } return m; }; - d.prototype.JRa = function (g) { - g = this.MK(g); + d.prototype.IRa = function (g) { + g = this.QK(g); return 0 <= g ? this.Ja[g] : void 0; }; - d.prototype.q0 = function (g) { + d.prototype.s0 = function (g) { var h; h = this.Ja[g].jb; - for (g += 1; g < this.Ja.length && h === this.Ja[g].Xa; ++g) { + for (g += 1; g < this.Ja.length && h === this.Ja[g].Ya; ++g) { h = this.Ja[g].jb; } - g < this.Ja.length ? void 0 === this.ag ? this.ag = new k.Tz(this, { + g < this.Ja.length ? void 0 === this.ag ? this.ag = new k.Vz(this, { jb: h - }) : this.ag.pW(h) : void 0 === this.ag ? this.ag = new k.Tz(this, {}) : this.ag.iga(); + }) : this.ag.oW(h) : void 0 === this.ag ? this.ag = new k.Vz(this, {}) : this.ag.cga(); }; - d.prototype.II = function (g, h) { + d.prototype.MI = function (g, h) { for (var m = g; m < h; ++m) { - this.Fc += this.Ja[m].ca; + this.Hc += this.Ja[m].da; } - void 0 === this.ag || 0 === g ? this.q0(0) : this.ag.jb === this.jb ? this.q0(g - 1) : this.Ja[g].Xa === this.ag.jb && this.q0(g); + void 0 === this.ag || 0 === g ? this.s0(0) : this.ag.jb === this.jb ? this.s0(g - 1) : this.Ja[g].Ya === this.ag.jb && this.s0(g); }; - d.prototype.ex = function (g, h) { + d.prototype.jx = function (g, h) { var m; if (0 === g) - (this.ag = void 0, h < this.length && this.q0(h)); + (this.ag = void 0, h < this.length && this.s0(h)); else { m = this.ag; - m.jb > this.Ja[g - 1].jb && (h < this.length ? m.pW(this.Ja[g - 1].jb) : m.iga()); + m.jb > this.Ja[g - 1].jb && (h < this.length ? m.oW(this.Ja[g - 1].jb) : m.cga()); } for (; g < h; ++g) { - this.Fc -= this.Ja[g].ca; + this.Hc -= this.Ja[g].da; } }; d.prototype.XP = function (g, h) { void 0 === h && (h = g + 1); - this.II(g, h); + this.MI(g, h); }; - d.prototype.Ada = function (g, h) { + d.prototype.uda = function (g, h) { void 0 === h && (h = g + 1); - this.ex(g, h); + this.jx(g, h); }; return d; })(); - b.LX = l; - q.tf(a.Uz, l); - q.tf(a.Sz, l); - }, function (q, b, a) { + b.KX = l; + r.tf(a.Wz, l); + r.tf(a.Uz, l); + }, function (r, b, a) { var c, f, k, @@ -89659,118 +89584,118 @@ a000.D9b = function () { value: !0 } }); - b.Xua = void 0; + b.Uua = void 0; c = a(2); f = a(111); k = a(6); - c.__importDefault(a(4)); + c.__importDefault(a(5)); l = a(9); - d = a(246); + d = a(247); g = a(98); - h = a(239); + h = a(240); m = a(113); - q = (function (n) { - function r(p, u, t, w, v, x) { - u = n.call(this, p, w, v, u, x) || this; - u.Qfb = t; - u.p_ = r.fD.INIT; - u.f3b = w.offset; - u.Xca = g.Gk.prototype.toString.call(u) + " multiple"; - u.iib = w.ca; - u.CJ(p.url, w.offset, 8, 0); - return u; + r = (function (n) { + function q(p, t, u, w, v, x) { + t = n.call(this, p, w, v, t, x) || this; + t.Rfb = u; + t.s_ = q.hD.INIT; + t.f3b = w.offset; + t.Rca = g.em.prototype.toString.call(t) + " multiple"; + t.jib = w.da; + t.EJ(p.url, w.offset, 8, 0); + return t; } - c.__extends(r, n); - Object.defineProperties(r.prototype, { + c.__extends(q, n); + Object.defineProperties(q.prototype, { data: { get: function () { - return this.om; + return this.mm; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(r.prototype, { - ca: { + Object.defineProperties(q.prototype, { + da: { get: function () { - return this.iib; + return this.jib; }, enumerable: !1, configurable: !0 } }); - r.prototype.wk = function (p) { - var u, - t; - this.om = this.p_ === r.fD.INIT ? p.response : l.jB(this.om, p.response); - p.SV(); - switch (this.p_) { - case r.fD.INIT: - (u = new DataView(this.om), t = u.getUint32(0)); - u = u.getUint32(4); - f.qn(u); - this.CJ(p.url, p.offset + p.ca, t, 0); - d.ZC.prototype.wk.call(this, p); - this.p_ = r.fD.hBa; + q.prototype.vk = function (p) { + var t, + u; + this.mm = this.s_ === q.hD.INIT ? p.response : l.lB(this.mm, p.response); + p.RV(); + switch (this.s_) { + case q.hD.INIT: + (t = new DataView(this.mm), u = t.getUint32(0)); + t = t.getUint32(4); + f.pn(t); + this.EJ(p.url, p.offset + p.da, u, 0); + d.aD.prototype.vk.call(this, p); + this.s_ = q.hD.fBa; break; - case r.fD.hBa: - u = new DataView(this.om); - t = u.getUint32(this.uIa - 8); - u = u.getUint32(this.uIa - 4); - f.qn(u); - this.CJ(p.url, p.offset + p.ca, t - 8, 0); - this.p_ = r.fD.cBa; - d.ZC.prototype.wk.call(this, p); + case q.hD.fBa: + t = new DataView(this.mm); + u = t.getUint32(this.sIa - 8); + t = t.getUint32(this.sIa - 4); + f.pn(t); + this.EJ(p.url, p.offset + p.da, u - 8, 0); + this.s_ = q.hD.aBa; + d.aD.prototype.vk.call(this, p); break; - case r.fD.cBa: - d.ZC.prototype.wk.call(this, p); + case q.hD.aBa: + d.aD.prototype.vk.call(this, p); break; default: k.assert(!1); } }; - r.prototype.JE = function (p) { - if (this.Je) + q.prototype.LE = function (p) { + if (this.Le) return { - status: m.dj.pw + status: m.bj.ww }; - if (!this.Ss()) + if (!this.Xs()) return { - status: m.dj.uf + status: m.bj.wf }; - this.Je = p.appendBuffer(this.om, l.Bp(this)); + this.Le = p.appendBuffer(this.mm, l.Dp(this)); return { - status: this.Je ? m.dj.pw : m.dj.uf + status: this.Le ? m.bj.ww : m.bj.wf }; }; - r.prototype.CJ = function (p, u, t, w) { - p = new h.jO(this.stream, this.Qfb, this.Xca + " (" + this.za.length + ")", { + q.prototype.EJ = function (p, t, u, w) { + p = new h.iO(this.stream, this.Rfb, this.Rca + " (" + this.Aa.length + ")", { K: this.K, mediaType: this.mediaType, - La: this.La, + Ma: this.Ma, bitrate: this.bitrate, - offset: u, - ca: t, + offset: t, + da: u, url: p, location: this.location, - Rc: this.Rc, + Qc: this.Qc, responseType: w - }, this, this.sd, this.H); + }, this, this.Bd, this.H); this.push(p); - this.uIa = this.za.reduce(function (v, x) { - return v + x.ca; + this.sIa = this.Aa.reduce(function (v, x) { + return v + x.da; }, 0); }; - r.fD = { + q.hD = { INIT: 0, - hBa: 1, - cBa: 2, + fBa: 1, + aBa: 2, name: ["INIT", "MOOF", "MDAT"] }; - return r; - })(d.ZC); - b.Xua = q; - }, function (q, b, a) { + return q; + })(d.aD); + b.Uua = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -89778,81 +89703,81 @@ a000.D9b = function () { value: !0 } }); - b.xGa = void 0; - c = a(243); + b.tGa = void 0; + c = a(244); f = a(22); - q = (function () { + r = (function () { function k(l, d) { - this.Uf = l; + this.Vf = l; this.console = d; - this.eE = Infinity; - this.eQ = this.V_ = 0; - this.YKa = !1; + this.hE = Infinity; + this.fQ = this.X_ = 0; + this.WKa = !1; } - k.prototype.ZPb = function () { - this.YKa = !0; + k.prototype.dQb = function () { + this.WKa = !0; }; - k.prototype.Swb = function (l, d, g, h, m) { + k.prototype.Ywb = function (l, d, g, h, m) { var n; - if (this.Uf) { + if (this.Vf) { n = l.Y; if (n) { if (1 === g) - (g = n.Gm(Math.ceil(this.Uf * l.pa.vG), void 0, !0), n = l.nk(g), l = n.BS.Yk(l.pa), n.th({ + (g = n.Em(Math.ceil(this.Vf * l.pa.BG), void 0, !0), n = l.nk(g), l = n.AS.Yk(l.pa), n.sh({ start: 0, - end: this.Uf - g * l - }), this.eE = this.Uf); + end: this.Vf - g * l + }), this.hE = this.Vf); else { - void 0 !== h.S3a ? (d = h.S3a, g = d * l.pa.V) : (g = c.g3(h, m) + Math.ceil(h.Ulb * l.pa.vG), f.S.rb(g).Yk(l.pa), g = d + g, d = Math.ceil(g / l.pa.vG)); - g = n.Gm(g, void 0, !0); + void 0 !== h.T3a ? (d = h.T3a, g = d * l.pa.V) : (g = c.i3(h, m) + Math.ceil(h.Ulb * l.pa.BG), f.S.rb(g).Yk(l.pa), g = d + g, d = Math.ceil(g / l.pa.BG)); + g = n.Em(g, void 0, !0); for (m = h = 0; m < g; ++m) { n = l.nk(m); - h += n.BS.Yk(l.pa); + h += n.AS.Yk(l.pa); } h = d - h; n = l.nk(g); - n.th({ + n.sh({ end: h }); - this.eE = d; + this.hE = d; } - n.cYa(); + n.aYa(); return n; } } }; - k.prototype.IDb = function (l) { - this.eQ += l.T1a; - this.console.warn("StallAtFrameCount, adding frames: " + l.T1a, "total frames: " + this.eQ, "needed frames: " + this.eE); + k.prototype.MDb = function (l) { + this.fQ += l.S1a; + this.console.warn("StallAtFrameCount, adding frames: " + l.S1a, "total frames: " + this.fQ, "needed frames: " + this.hE); }; - k.prototype.ECb = function () { - this.console.trace("stallAtFrameCount.hasEnoughRequestedFrames:", "requested: " + this.V_, "needed: " + this.eE); - return this.V_ >= this.eE; + k.prototype.GCb = function () { + this.console.trace("stallAtFrameCount.hasEnoughRequestedFrames:", "requested: " + this.X_, "needed: " + this.hE); + return this.X_ >= this.hE; }; - k.prototype.DCb = function () { - return this.eQ >= this.eE; + k.prototype.FCb = function () { + return this.fQ >= this.hE; }; - k.prototype.KDb = function (l, d) { - this.V_ += this.yB(l, d); + k.prototype.ODb = function (l, d) { + this.X_ += this.yB(l, d); }; - k.prototype.Ovb = function (l, d, g) { - l.T1a = this.yB(d, g); + k.prototype.Uvb = function (l, d, g) { + l.S1a = this.yB(d, g); }; k.prototype.yB = function (l, d) { - return l.BS.Yk(d.pa); + return l.AS.Yk(d.pa); }; - k.prototype.Hx = function () { - if (!this.DCb()) + k.prototype.Mx = function () { + if (!this.FCb()) return !1; - if (this.YKa) + if (this.WKa) return (this.console.warn("StallAtFrameCount underflow reported, bufferingComplete = false"), !1); - this.console.warn("StallAtFrameCount bufferingComplete = true:", this.eQ + " >= " + this.eE); + this.console.warn("StallAtFrameCount bufferingComplete = true:", this.fQ + " >= " + this.hE); return !0; }; return k; })(); - b.xGa = q; - }, function (q, b, a) { + b.tGa = r; + }, function (r, b, a) { var c, f, k, @@ -89862,38 +89787,38 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.HGa = void 0; - q = a(2); - c = q.__importStar(a(10)); - f = q.__importDefault(a(27)); - k = q.__importDefault(a(4)); + b.DGa = void 0; + r = a(2); + c = r.__importStar(a(10)); + f = r.__importDefault(a(27)); + k = r.__importDefault(a(5)); l = a(30); d = a(14); - g = a(248); - h = a(871); + g = a(249); + h = a(873); m = new k.default.Console("ASEJS_STREAM_SELECTOR", "media|asejs"); - n = [d.ja[d.ja.Ig], d.ja[d.ja.Sc], d.ja[d.ja.ef], d.ja[d.ja.yc], d.ja[d.ja.Wh], "checkBuffering"]; - r = { - first: a(872), - random: a(873), + n = [d.ka[d.ka.Gg], d.ka[d.ka.Sc], d.ka[d.ka.ef], d.ka[d.ka.Ac], d.ka[d.ka.Wh], "checkBuffering"]; + q = { + first: a(874), + random: a(875), optimized: a(177).default, - roundrobin: a(877), - selectaudio: a(413), - selectaudioadaptive: a(878), + roundrobin: a(879), + selectaudio: a(417), + selectaudioadaptive: a(880), "default": a(177).default, - lowest: a(879), - highest: a(880), - throughputthreshold: a(881), - replay: a(882).default, - checkdefault: a(884), - testscript: a(885) + lowest: a(881), + highest: a(882), + throughputthreshold: a(883), + replay: a(884).default, + checkdefault: a(886), + testscript: a(887) }; p = { STARTING: "default", @@ -89905,328 +89830,364 @@ a000.D9b = function () { }; a = (function () { var m60; - function u(t, w, v, x) { - var n60, - y; - n60 = 2; - for (; n60 !== 6; ) { - switch (n60) { - case 2: - y = this; - this.jN = t; - this.I = w; - n60 = 4; - break; - case 4: - var h1u = "1SIYbZ"; - h1u += "rN"; - h1u += "JCp9"; - this.Cf = v; - h1u; - t = t || this.I.Gsa; - this.Yf = n.reduce(function (z, B) { - var o60; - o60 = 2; - for (; o60 !== 5; ) { - switch (o60) { - case 2: - z[B] = ((r[t] || r[p[B]])[B] || r[p[B]][B]).bind(y); - return z; - break; - } - } - }, {}); - x && (this.w_a = new h.eDa(w)); - n60 = 6; - break; - } - } - } m60 = 2; for (; m60 !== 6; ) { switch (m60) { + case 3: + t.prototype.C2 = function (u, w) { + var z60, + v; + z60 = 2; + for (; z60 !== 3; ) { + switch (z60) { + case 1: + z60 = 0 <= v ? 5 : 3; + break; + case 5: + w(u[v], v, u); + z60 = 4; + break; + case 2: + v = u.length - 1; + z60 = 1; + break; + case 4: + --v; + z60 = 1; + break; + case 14: + ++v; + z60 = 3; + break; + z60 = 1; + break; + case 8: + v = u.length % 2; + z60 = 2; + break; + z60 = 1; + break; + case 7: + z60 = 2 > v ? 9 : 2; + break; + z60 = 0 <= v ? 5 : 3; + break; + } + } + }; + Object.defineProperties(t.prototype, { + L4: { + get: function () { + var A60; + A60 = 2; + for (; A60 !== 1; ) { + switch (A60) { + case 4: + return this.Sca; + break; + A60 = 1; + break; + case 2: + return this.Sca; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + Object.defineProperties(t.prototype, { + Bma: { + get: function () { + var B60; + B60 = 2; + for (; B60 !== 1; ) { + switch (B60) { + case 2: + return this.Xca; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + return t; + break; case 2: - u.prototype.Hra = function (t, w, v, x, y, z) { + t.prototype.Ara = function (u, w, v, x, y, z) { + var G1N = a000; var p60, + I, J, + K, H, - M, + Q, q60, - O, - B, A, + B, C, E, - F, - D, G, - L, - I; + D, + F, + L; p60 = 2; for (; p60 !== 61; ) { switch (p60) { - case 38: - p60 = !L || null === L.ie ? 37 : 36; - break; - case 31: - a000.u9b(1); - var k31 = a000.r9b(23, 24); - y = L.ie + k31; - p60 = 30; - break; - case 52: - this.w_a && (L.kt = this.w_a.IAb({ - maxBitrate: x.N.vv[x.mediaType], - TJ: v.Hl - v.qc, - Yi: x, - $Wb: w[L.ie + 1], - lHb: w[0], - fe: t.state, - playbackRate: t.playbackRate - })); - p60 = 51; + case 37: + return null; break; - case 13: - (J = v.Y, H = J.length); - p60 = 12; + case 47: + p60 = q60 === d.ka.Sc ? 46 : 45; break; - case 16: - c.ga(D) && (D = this.Cf.cXa); - void 0 !== x && this.Qpa(w, !!t.Wq, t.buffer, x); - t.state === d.ja.Ig && c.xa(D) && (t.state = d.ja.Sc); - t.state !== d.ja.Ig && void 0 === D && (t.state = d.ja.Ig); - p60 = 25; + case 22: + I = this.Yf[d.ka[u.state]].call(this, G, u, w, D, x, !!y, F); + p60 = 21; break; - case 11: - M = J[H - 1].La; - p60 = 10; + case 23: + this.Ef.$2a(f.default.yY.Gg); + p60 = 22; break; - case 20: - p60 = !(0 <= D) ? 19 : 16; + case 21: + p60 = I.Vi && (I.$x = [], w.forEach(function (O, N) { + var u60; + u60 = 2; + for (; u60 !== 4; ) { + switch (u60) { + case 2: + O === I.Vi && (I.he = N); + (!G.hvb || O.Y && O.Y.length) && !O.N7 || I.$x.push(O.Ma); + O.N7 = !1; + u60 = 4; + break; + } + } + }), !I.$x.length) ? 35 : 38; break; - case 10: - D = l.fs(w, function (P) { - var s60; - s60 = 2; - for (; s60 !== 1; ) { - switch (s60) { + case 8: + J = this.Ef.dt.bitrate; + D = l.js(w, function (O) { + var r60; + r60 = 2; + for (; r60 !== 1; ) { + switch (r60) { case 2: - return P.La === M; + return O.bitrate > J; break; } } }); - p60 = 20; - break; - case 17: D = 0 < D ? D - 1 : 0 === D ? 0 : w.length - 1; - p60 = 16; - break; - case 47: - p60 = q60 === d.ja.Sc ? 46 : 45; - break; - case 62: - var t1u = "Str"; - t1u += "eam sele"; - t1u += "ctor called with"; - t1u += " invalid player sta"; - t1u += "te "; - return (m.error(t1u + d.ja[t.state]), null); - break; - case 36: - this.Cf.D7(L.ie); - x = w[L.ie]; - L.reason && (x.qr = L.reason, x.Gra = L.Ps, x.wy = L.wy, x.On = L.On, x.Pn = L.Pn); - p60 = 52; - break; - case 25: - q60 = t.state; - p60 = q60 === d.ja.Ig ? 24 : 47; + p60 = 14; break; - case 40: - G.Y && G.Y.length || (x = !0, L.Vx.push(G.La)); - p60 = 39; + case 13: + (K = v.Y, H = K.length); + p60 = 12; break; case 19: - O = J[H - 1].bitrate; - D = l.fs(w, function (P) { + Q = K[H - 1].bitrate; + D = l.js(w, function (O) { var t60; t60 = 2; for (; t60 !== 1; ) { switch (t60) { case 2: - return P.bitrate > O; + return O.bitrate > Q; break; } } }); p60 = 17; break; - case 21: - p60 = L.Yi && (L.Vx = [], w.forEach(function (P, R) { - var u60; - u60 = 2; - for (; u60 !== 4; ) { - switch (u60) { - case 2: - P === L.Yi && (L.ie = R); - (!F.dvb || P.Y && P.Y.length) && !P.R7 || L.Vx.push(P.La); - P.R7 = !1; - u60 = 4; - break; - } - } - }), !L.Vx.length) ? 35 : 38; - break; - case 37: - return null; + case 16: + c.fa(D) && (D = this.Ef.aXa); + void 0 !== x && this.Kpa(w, !!u.Vq, u.buffer, x); + u.state === d.ka.Gg && c.ya(D) && (u.state = d.ka.Sc); + u.state !== d.ka.Gg && void 0 === D && (u.state = d.ka.Gg); + p60 = 25; break; - case 39: - x || (L.Vx = void 0); - p60 = 38; + case 28: + F.Y && F.Y.length || (x = !0, I.$x.push(F.Ma)); + p60 = 44; break; case 44: p60 = !x ? 43 : 39; break; - case 2: - v = null === t || void 0 === t ? void 0 : t.buffer; - p60 = 5; - break; - case 12: - p60 = 0 < H ? 11 : 16; - break; case 35: - y = v.Hl - v.qc; - G = void 0; - x = !1; - p60 = 32; + y = v.Gl - v.vc; + p60 = 34; break; - case 29: - G = w[y]; - p60 = 28; + case 52: + var G7q = "p"; + G7q += "layin"; + G7q += "g"; + this.u_a && (I.qt = this.u_a.LAb({ + maxBitrate: x.N.Bv[x.mediaType], + XJ: v.Gl - v.vc, + Vi: x, + bXb: w[I.he + 1], + oHb: w[0], + de: u.state, + playbackRate: u.playbackRate + })); + c.ya(D) && x.bitrate < w[D].bitrate && (this.Sca = v.tc); + u.state !== d.ka.Ac && u.state !== d.ka.Wh ? (w = g.w6(u.state), z = this.Mx(u.buffer, w, u.playbackRate, x, z), (I.Te = z.complete) ? I.S0 = z.reason : (I.Te = !1, I.NG = z.NG, I.dC = z.dC, I.progress = z.progress)) : (I.Te = !0, I.S0 = G7q); + u.BK && (I.tc = v.tc, z = u && u.kf, w = x.Y, I.yj = w && void 0 !== z && !isNaN(z) && 0 <= z && z < w.length ? w.Wi(z) : v.tc, I.qNb = x.Oa || 0, I.sKb = x.lb && x.lb.Oa && x.lb.Oa.Fa || 0, I.ufa = v.Gl - v.vc, I.oNa = v.Tj, I.YMb = null !== (C = null === (B = null === (A = k.default.Z4b) || void 0 === A ? void 0 : A.call(k.default)) || void 0 === B ? void 0 : B[1 === u.mediaType ? 1 : 0]) && void 0 !== C ? C : -1, I.de = u.state, I.Vo = u && u.Vo, I.rta = E, I.TUb = k.default.time.ba()); + p60 = 48; break; - case 28: - G.Y && G.Y.length || (x = !0, L.Vx.push(G.La)); - p60 = 44; + case 62: + var X7q = "Stream selector called"; + X7q += " with invalid player stat"; + X7q += "e "; + return (m.error(X7q + d.ka[u.state]), null); break; - case 64: - p60 = q60 === d.ja.Wh ? 22 : 63; + case 30: + p60 = y < w.length ? 29 : 44; break; - case 46: - this.Cf.$2a(f.default.yY.Ig); - p60 = 22; + case 14: + this.Ef.z7(D); + p60 = 13; break; - case 42: - p60 = 0 <= y ? 41 : 39; + case 36: + this.Ef.z7(I.he); + x = w[I.he]; + I.reason && (x.sr = I.reason, x.zra = I.Us, x.zy = I.zy, x.Qn = I.Qn, x.Rn = I.Rn); + p60 = 52; break; - case 23: - this.Cf.$2a(f.default.yY.Ig); - p60 = 22; + case 65: + p60 = q60 === d.ka.Ac ? 22 : 64; break; - case 43: - y = L.ie - 1; - p60 = 42; + case 63: + p60 = 62; break; - case 32: - p60 = F.J3a && y > F.IU ? 31 : 39; + case 39: + x || (I.$x = void 0); + p60 = 38; break; case 9: - p60 = c.ga(D) && t.state === d.ja.yc && (G = !0, void 0 !== this.Cf.Ws) ? 8 : 13; + p60 = c.fa(D) && u.state === d.ka.Ac && (F = !0, void 0 !== this.Ef.dt) ? 8 : 13; break; - case 14: - this.Cf.D7(D); - p60 = 13; + case 41: + F = w[y]; + p60 = 40; break; - case 63: - p60 = 62; + case 32: + p60 = G.K3a && y > G.HU ? 31 : 39; break; - case 48: - return L; + case 45: + p60 = q60 === d.ka.ef ? 46 : 65; break; - case 51: - var p1u = "p"; - p1u += "l"; - p1u += "aying"; - c.xa(D) && x.bitrate < w[D].bitrate && (this.Yca = v.oc); - t.state !== d.ja.yc && t.state !== d.ja.Wh ? (w = g.x6(t.state), z = this.Hx(t.buffer, w, t.playbackRate, x, z), (L.Se = z.complete) ? L.Q0 = z.reason : (L.Se = !1, L.GG = z.GG, L.bC = z.bC, L.progress = z.progress)) : (L.Se = !0, L.Q0 = p1u); - t.xK && (L.oc = v.oc, z = t && t.kf, w = x.Y, L.Aj = w && void 0 !== z && !isNaN(z) && 0 <= z && z < w.length ? w.Zi(z) : v.oc, L.mNb = x.Oa || 0, L.qKb = x.lb && x.lb.Oa && x.lb.Oa.Ea || 0, L.Bfa = v.Hl - v.qc, L.oNa = v.Tj, L.VMb = null !== (C = null === (A = null === (B = k.default.U4b) || void 0 === B ? void 0 : B.call(k.default)) || void 0 === A ? void 0 : A[1 === t.mediaType ? 1 : 0]) && void 0 !== C ? C : -1, L.fe = t.state, L.Uo = t && t.Uo, L.wta = E, L.RUb = k.default.time.aa()); - p60 = 48; + case 48: + return I; break; - case 24: - this.cda = this.Yca = void 0; - p60 = 23; + case 25: + q60 = u.state; + p60 = q60 === d.ka.Gg ? 24 : 47; break; - case 65: - p60 = q60 === d.ja.yc ? 22 : 64; + case 42: + p60 = 0 <= y ? 41 : 39; break; - case 5: - (E = k.default.time.aa(), F = this.I, D = this.Cf.cXa, G = !1); - c.xa(D) && t.state === d.ja.Ig && (this.Cf.D7(void 0), D = void 0); - c.xa(D) && D >= w.length && (this.Cf.D7(void 0), D = void 0); + case 2: + v = null === u || void 0 === u ? void 0 : u.buffer; + (E = k.default.time.ba(), G = this.I, D = this.Ef.aXa, F = !1); + c.ya(D) && u.state === d.ka.Gg && (this.Ef.z7(void 0), D = void 0); + c.ya(D) && D >= w.length && (this.Ef.z7(void 0), D = void 0); p60 = 9; break; - case 41: - G = w[y]; - p60 = 40; - break; - case 22: - L = this.Yf[d.ja[t.state]].call(this, F, t, w, D, x, !!y, G); - p60 = 21; - break; - case 30: - p60 = y < w.length ? 29 : 44; - break; - case 45: - p60 = q60 === d.ja.ef ? 46 : 65; + case 17: + D = 0 < D ? D - 1 : 0 === D ? 0 : w.length - 1; + p60 = 16; break; - case 8: - I = this.Cf.Ws.bitrate; - D = l.fs(w, function (P) { - var r60; - r60 = 2; - for (; r60 !== 1; ) { - switch (r60) { + case 11: + L = K[H - 1].Ma; + D = l.js(w, function (O) { + var s60; + s60 = 2; + for (; s60 !== 1; ) { + switch (s60) { case 2: - return P.bitrate > I; - break; - case 4: - return P.bitrate >= I; - break; - r60 = 1; + return O.Ma === L; break; } } }); - D = 0 < D ? D - 1 : 0 === D ? 0 : w.length - 1; - p60 = 14; + p60 = 20; + break; + case 43: + G1N.l1q(7); + var m31 = G1N.P1q(8, 10, 17); + y = I.he - m31; + p60 = 42; + break; + case 20: + p60 = !(0 <= D) ? 19 : 16; + break; + case 64: + p60 = q60 === d.ka.Wh ? 22 : 63; + break; + case 46: + this.Ef.$2a(f.default.yY.Gg); + p60 = 22; + break; + case 40: + F.Y && F.Y.length || (x = !0, I.$x.push(F.Ma)); + p60 = 39; + break; + case 38: + p60 = !I || null === I.he ? 37 : 36; + break; + case 12: + p60 = 0 < H ? 11 : 16; + break; + case 34: + F = void 0; + x = !1; + p60 = 32; + break; + case 31: + G1N.Q1q(8); + var n31 = G1N.o1q(7, 20, 139); + y = I.he + n31; + p60 = 30; + break; + case 29: + F = w[y]; + p60 = 28; + break; + case 24: + this.Xca = this.Sca = void 0; + p60 = 23; break; } } }; - u.prototype.Hx = function (t, w, v, x, y) { + t.prototype.Mx = function (u, w, v, x, y) { var v60; v60 = 2; for (; v60 !== 1; ) { switch (v60) { case 2: - return this.Yf.checkBuffering.call(this, t, w, v, x, y, this.I); + return this.Yf.checkBuffering.call(this, u, w, v, x, y, this.I); break; } } }; - u.prototype.XTb = function (t, w, v) { + t.prototype.ZTb = function (u, w, v) { var w60; w60 = 2; for (; w60 !== 1; ) { switch (w60) { case 2: - c.ga(w) ? this.Yca = this.cda = void 0 : w.bitrate < v.bitrate && (this.cda = t); + c.fa(w) ? this.Sca = this.Xca = void 0 : w.bitrate < v.bitrate && (this.Xca = u); w60 = 1; break; } } }; - u.prototype.Qpa = function (t, w, v, x) { + t.prototype.Kpa = function (u, w, v, x) { var x60, y, z; @@ -90234,13 +90195,13 @@ a000.D9b = function () { for (; x60 !== 5; ) { switch (x60) { case 2: - this.B2(t, function (B) { + this.C2(u, function (A) { var y60; y60 = 2; for (; y60 !== 1; ) { switch (y60) { case 2: - B.Vs && B.lb && B.lb.confidence ? (y !== B.lb && (y = B.lb, w && B.lb && (B.lb.Wq = !0), z = Math.floor(x(B.lb, v, B.track.N.vv[0])), z = 0 === z ? 1 : z), B.Oa = z) : B.Oa = void 0; + A.$s && A.lb && A.lb.confidence ? (y !== A.lb && (y = A.lb, w && A.lb && (A.lb.Vq = !0), z = Math.floor(x(A.lb, v, A.track.N.Bv[0])), z = 0 === z ? 1 : z), A.Oa = z) : A.Oa = void 0; y60 = 1; break; } @@ -90251,97 +90212,50 @@ a000.D9b = function () { } } }; - u.prototype.B2 = function (t, w) { - var z60, - v; - z60 = 2; - for (; z60 !== 3; ) { - switch (z60) { - case 7: - z60 = 7 > v ? 8 : 4; - break; - z60 = 0 <= v ? 5 : 3; - break; - case 2: - a000.u9b(7); - var m31 = a000.r9b(12, 12); - v = t.length - m31; - z60 = 1; - break; - case 1: - z60 = 0 <= v ? 5 : 3; - break; - case 4: - --v; - z60 = 1; - break; - case 14: - ++v; - z60 = 0; - break; - z60 = 1; - break; - case 5: - w(t[v], v, t); - z60 = 4; - break; - } - } - }; - Object.defineProperties(u.prototype, { - L4: { - get: function () { - var A60; - A60 = 2; - for (; A60 !== 1; ) { - switch (A60) { - case 2: - return this.Yca; - break; - case 4: - return this.Yca; - break; - A60 = 1; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - m60 = 8; + m60 = 3; break; - case 8: - Object.defineProperties(u.prototype, { - Hma: { - get: function () { - var B60; - B60 = 2; - for (; B60 !== 1; ) { - switch (B60) { - case 2: - return this.cda; - break; - case 4: - return this.cda; - break; - B60 = 1; - break; - } + } + } + function t(u, w, v, x) { + var n60, + y; + n60 = 2; + for (; n60 !== 6; ) { + switch (n60) { + case 2: + var v7q = "1S"; + v7q += "IYbZ"; + v7q += "rNJCp9"; + y = this; + this.kN = u; + this.I = w; + this.Ef = v; + v7q; + u = u || this.I.Asa; + n60 = 8; + break; + case 8: + this.Yf = n.reduce(function (z, A) { + var o60; + o60 = 2; + for (; o60 !== 5; ) { + switch (o60) { + case 2: + z[A] = ((q[u] || q[p[A]])[A] || q[p[A]][A]).bind(y); + return z; + break; } - }, - enumerable: !1, - configurable: !0 - } - }); - return u; - break; + } + }, {}); + x && (this.u_a = new h.aDa(w)); + n60 = 6; + break; + } } } })(); - b.HGa = a; - }, function (q, b, a) { + b.DGa = a; + }, function (r, b, a) { var k, l; function c(d) { @@ -90351,21 +90265,21 @@ a000.D9b = function () { var g, h, m; - return (null === (m = null === (h = null === (g = d.Yi) || void 0 === g ? void 0 : g.lb) || void 0 === h ? void 0 : h.Oa) || void 0 === m ? void 0 : m.Ea) || 0; + return (null === (m = null === (h = null === (g = d.Vi) || void 0 === g ? void 0 : g.lb) || void 0 === h ? void 0 : h.Oa) || void 0 === m ? void 0 : m.Fa) || 0; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.eDa = void 0; - q = a(2).__importDefault(a(4)); + b.aDa = void 0; + r = a(2).__importDefault(a(5)); k = a(14); - new q.default.Console("ASEJS_PACERATE_SELECTOR", "media|asejs"); + new r.default.Console("ASEJS_PACERATE_SELECTOR", "media|asejs"); l = { maxStreamBitrate: c, "static": function (d, g) { - return g.LTb; + return g.NTb; }, none: function () { return 0; @@ -90374,164 +90288,159 @@ a000.D9b = function () { var h, m, n, - r, + q, p, - u, - t; - r = g.h1.T3b; - if (!r || "object" !== typeof r) + t, + u; + q = g.j1.W3b; + if (!q || "object" !== typeof q) return 0; - p = d.fe === k.ja.Ig ? 1 : 0; - u = d.fe === k.ja.Sc ? 1 : 0; - t = { - bitrate: ((null === (h = d.Yi) || void 0 === h ? void 0 : h.XF) || 0) * d.playbackRate, - upswitchBitrate: ((null === (m = d.$Wb) || void 0 === m ? void 0 : m.XF) || 0) * d.playbackRate, + p = d.de === k.ka.Gg ? 1 : 0; + t = d.de === k.ka.Sc ? 1 : 0; + u = { + bitrate: ((null === (h = d.Vi) || void 0 === h ? void 0 : h.cG) || 0) * d.playbackRate, + upswitchBitrate: ((null === (m = d.bXb) || void 0 === m ? void 0 : m.cG) || 0) * d.playbackRate, maxBitrate: d.maxBitrate, - bufferLevelMs: d.TJ, + bufferLevelMs: d.XJ, observedThroughput: f(d, g) || 0, - predictedThroughput: (null === (n = d.Yi) || void 0 === n ? void 0 : n.Oa) || 0, + predictedThroughput: (null === (n = d.Vi) || void 0 === n ? void 0 : n.Oa) || 0, inStartingState: p, - inBufferingState: u, - inPlayingState: d.fe === k.ja.yc ? 1 : 0, - inRebufferingState: d.fe === k.ja.ef ? 1 : 0, + inBufferingState: t, + inPlayingState: d.de === k.ka.Ac ? 1 : 0, + inRebufferingState: d.de === k.ka.ef ? 1 : 0, startingObservedThroughput: p * (f(d, g) || 0), - bufferingObservedThroughput: u * (f(d, g) || 0) + bufferingObservedThroughput: t * (f(d, g) || 0) }; - d = r.offset || 0; - return Object.keys(t).reduce(function (w, v) { - return w + (r[v] || 0) * t[v]; + d = q.offset || 0; + return Object.keys(u).reduce(function (w, v) { + return w + (q[v] || 0) * u[v]; }, d); }, "default": c }; a = (function () { + var C60; function d(g) { var D60; D60 = 2; for (; D60 !== 4; ) { switch (D60) { case 2: - var S1u = "d"; - S1u += "e"; - S1u += "fau"; - S1u += "l"; - S1u += "t"; - var k1u = "1SIYb"; - k1u += "Z"; - k1u += "r"; - k1u += "NJCp9"; + var M9q = "d"; + M9q += "e"; + M9q += "fault"; + var D7q = "1"; + D7q += "SI"; + D7q += "YbZrNJCp9"; this.I = g; - k1u; - this.algorithm = (l[this.I.HLb] || l[S1u]).bind(this); + D7q; + this.algorithm = (l[this.I.KLb] || l[M9q]).bind(this); D60 = 4; break; } } } - var C60; C60 = 2; for (; C60 !== 4; ) { switch (C60) { - case 5: - return d; - break; case 2: - d.prototype.Fja = function (g, h, m) { + d.prototype.yja = function (g, h, m) { var E60, n; E60 = 2; for (; E60 !== 8; ) { switch (E60) { case 4: - a000.D9b(8); - h = Math.ceil(a000.Q9b(m, h)); - g = (this.I.h1.G5b || 0) * ((null === (n = g.lHb) || void 0 === n ? void 0 : n.XF) || 0); + a000.l1q(9); + h = Math.ceil(a000.o1q(h, m)); + g = (this.I.j1.Q5b || 0) * ((null === (n = g.oHb) || void 0 === n ? void 0 : n.cG) || 0); return h < g ? 0 : h; break; - case 5: - return 0; - break; case 2: E60 = 1; break; case 1: E60 = !m ? 5 : 4; break; + case 5: + return 0; + break; } } }; - d.prototype.IAb = function (g) { + d.prototype.LAb = function (g) { var F60, + p, n, - r, + q, h, m, - p, - u; + t; F60 = 2; for (; F60 !== 10; ) { switch (F60) { + case 5: + return h; + break; + case 6: + h.s1 = this.yja(g, n, m.X0a[1]); + F60 = 14; + break; + case 9: + p = !1; + F60 = 8; + break; case 4: n = 0; F60 = 3; break; case 2: (h = { - K7: 0, - r1: 0, - T6: 0 - }, m = this.I.h1); + G7: 0, + s1: 0, + Q6: 0 + }, m = this.I.j1); F60 = 1; break; - case 9: - p = !1; - F60 = 8; - break; - case 12: - u = null === (p = g.Yi) || void 0 === p ? void 0 : p.lb; - F60 = 11; + case 3: + F60 = !this.I.j1.y4b || g.de !== k.ka.Gg && g.de !== k.ka.Sc ? 9 : 12; break; - case 5: + case 14: + h.Q6 = this.yja(g, n, m.X0a[2]); return h; break; - case 1: - F60 = !m ? 5 : 4; + case 12: + t = null === (p = g.Vi) || void 0 === p ? void 0 : p.lb; + F60 = 11; break; case 8: - p ? n = f(g, this.I) : g.TJ >= m.LU && (n = this.algorithm(g, this.I)); - h.K7 = this.Fja(g, n, m.X0a[0]); - h.r1 = this.Fja(g, n, m.X0a[1]); - h.T6 = this.Fja(g, n, m.X0a[2]); - return h; + p ? n = f(g, this.I) : g.XJ >= m.KU && (n = this.algorithm(g, this.I)); + h.G7 = this.yja(g, n, m.X0a[0]); + F60 = 6; break; - case 3: - F60 = !this.I.h1.s4b || g.fe !== k.ja.Ig && g.fe !== k.ja.Sc ? 9 : 12; + case 1: + F60 = !m ? 5 : 4; break; case 11: - p = u && u.confidence >= k.kaa.ww && (null === (r = u.Oa) || void 0 === r ? 0 : r.Ea) ? !0 : !1; + p = t && t.confidence >= k.caa.Cw && (null === (q = t.Oa) || void 0 === q ? 0 : q.Fa) ? !0 : !1; F60 = 8; break; } } }; - C60 = 5; - break; - case 7: return d; break; - C60 = 4; - break; } } })(); - b.eDa = a; - }, function (q, b, a) { + b.aDa = a; + }, function (r, b, a) { var f, k, l, d; function c(g, h, m, n) { - if (f.ga(n)) + if (f.fa(n)) g = k(m); else if (l(m[n])) g = n; @@ -90541,35 +90450,35 @@ a000.D9b = function () { } f = a(10); b = a(39); - k = b.Oia; - l = b.GL; - d = b.Do; - q.exports = { + k = b.Hia; + l = b.IL; + d = b.Eo; + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l, d) { k = d.map(function (g, h) { - return g.Vs ? h : null; + return g.$s ? h : null; }).filter(function (g) { return null !== g; }); return k.length ? new f(k[Math.floor(Math.random() * k.length)]) : null; } - f = a(39).Do; - q.exports = { + f = a(39).Eo; + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -90581,103 +90490,107 @@ a000.D9b = function () { value: !0 } }); - b.r7 = void 0; - q = a(2); - c = q.__importStar(a(10)); + b.n7 = void 0; + r = a(2); + c = r.__importStar(a(10)); f = a(30); - q = q.__importDefault(a(39)); - k = a(412); - l = q.default.assert; - d = q.default.Do; - b.r7 = g; + r = r.__importDefault(a(39)); + k = a(416); + l = r.default.assert; + d = r.default.Eo; + b.n7 = g; (function () { var G60; - function h(m, n, r, p) { - var H60, - x, - t, - w, - v, - y; - H60 = 2; - function u(z) { + function h(m, n, q, p) { + function t(z) { var I60, - B; + A; I60 = 2; for (; I60 !== 8; ) { switch (I60) { - case 4: - var z1u = "buff_"; - z1u += "l"; - z1u += "t_hi"; - z1u += "st"; - x = z1u; - y = B; - return !0; + case 5: + return !1; break; case 2: - B = z.Oa; + A = z.Oa; I60 = 1; break; case 1: - I60 = !B || (z.bitrate > w ? m.ZWb : 1) * z.bitrate * n.playbackRate > B ? 5 : 4; + I60 = !A || (z.bitrate > w ? m.aXb : 1) * z.bitrate * n.playbackRate > A ? 5 : 4; break; - case 5: - return !1; + case 4: + var z9q = "b"; + z9q += "uff"; + z9q += "_l"; + z9q += "t_hist"; + x = z9q; + y = A; + return !0; break; } } } + var H60, + u, + w, + v, + x, + y; + H60 = 2; for (; H60 !== 10; ) { switch (H60) { - case 8: - var v1u = "fallback_lowest_"; - v1u += "ac"; - v1u += "ceptable_stream"; - x = v1u; - H60 = 7; - break; - case 5: - H60 = t.Oa ? 4 : 14; - break; case 2: - var R1u = "Must have at least one s"; - R1u += "e"; - R1u += "lected str"; - R1u += "eam"; - l(!c.ga(p), R1u); - (t = r[p], w = t.bitrate, v = t); + var K9q = "Must have at lea"; + K9q += "st one selecte"; + K9q += "d stream"; + l(!c.fa(p), K9q); + (u = q[p], w = u.bitrate, v = u); H60 = 5; break; + case 5: + H60 = u.Oa ? 4 : 14; + break; case 4: - t = f.wg(r.slice(0, Math.min(p + (m.flb ? 2 : 1), r.length)).reverse(), u); + u = f.wg(q.slice(0, Math.min(p + (m.glb ? 2 : 1), q.length)).reverse(), t); H60 = 3; break; - case 9: - t = r[0]; - H60 = 8; - break; case 3: - H60 = void 0 === t ? 9 : 6; + H60 = void 0 === u ? 9 : 6; break; - case 7: - y = null === t || void 0 === t ? void 0 : t.Oa; - H60 = 14; + case 8: + var L9q = "fallback_lowest_ac"; + L9q += "cep"; + L9q += "table"; + L9q += "_st"; + L9q += "ream"; + x = L9q; + H60 = 7; break; case 6: - var f1u = "se"; - f1u += "le"; - f1u += "c"; - f1u += "t_feasibl"; - f1u += "e_buffering"; - x = f1u; + var W9q = "se"; + W9q += "lect_f"; + W9q += "ea"; + W9q += "sible_"; + W9q += "buffering"; + x = W9q; H60 = 7; break; case 14: - r = new d(); - r.Yi = t; - v !== t && (r.reason = x, r.Ps = y); - return r; + q = new d(); + q.Vi = u; + v !== u && (q.reason = x, q.Us = y); + H60 = 11; + break; + case 11: + return q; + break; + case 9: + u = q[0]; + H60 = 8; + break; + case 7: + y = null === u || void 0 === u ? void 0 : u.Oa; + H60 = 14; break; } } @@ -90686,194 +90599,195 @@ a000.D9b = function () { for (; G60 !== 5; ) { switch (G60) { case 2: - var C1u = "1"; - C1u += "SIYbZ"; - C1u += "rNJCp"; - C1u += "9"; - b.r7 = g = function (m, n, r, p, u, t, w) { + var C9q = "1SIYbZr"; + C9q += "NJ"; + C9q += "Cp9"; + b.n7 = g = function (m, n, q, p, t, u, w) { var J60; J60 = 2; for (; J60 !== 1; ) { switch (J60) { case 2: - var H1u = "p"; - H1u += "l"; - H1u += "a"; - H1u += "yi"; - H1u += "ng"; - return H1u === m.zfa ? k.Uv.call(this, m, n, r, p, u, t, w) : h.call(this, m, n, r, p); + var m9q = "pla"; + m9q += "y"; + m9q += "i"; + m9q += "n"; + m9q += "g"; + return m9q === m.sfa ? k.Zv.call(this, m, n, q, p, t, u, w) : h.call(this, m, n, q, p); break; } } }; - C1u; + C9q; G60 = 5; break; } } })(); - }, function (q, b, a) { + }, function (r, b, a) { var c; a(10); c = a(39).console; - q.exports = function (f, k, l, d, g, h, m, n, r, p, u, t, w, v, x) { - var r6u = a000; + r.exports = function (f, k, l, d, g, h, m, n, q, p, t, u, w, v, x) { + var w1N = a000; var K60, + G, + D, y, z, - B, A, + B, C, - E, - F, - D; + E; K60 = 2; for (; K60 !== 39; ) { switch (K60) { - case 40: - return { - result: !0, - uU: d / (y / 1E3), - ev: !0 - }; + case 17: + w1N.l1q(10); + w *= w1N.o1q(1E3, y); + K60 = 16; break; - case 41: - return { - result: !1, - uU: Math.min(f, d) / (y / 1E3), - ev: !0 - }; + case 26: + K60 = t < G ? 25 : 42; break; - case 21: - return { - result: !1, - uU: f / (y / 1E3), - ev: !1 - }; + case 28: + K60 = n >= q && f > B ? 40 : 44; + break; + case 30: + (t += A[E], ++E, g += z[E]); + K60 = 31; + break; + case 32: + t -= G; + K60 = 31; break; case 16: - r6u.D9b(9); - A *= r6u.r9b(1E3, y); + w1N.Q1q(10); + B *= w1N.o1q(1E3, y); K60 = 15; break; - case 29: - ++n; - K60 = 28; + case 27: + (G = A[n], D = z[n]); + K60 = 26; break; - case 8: - var X1u = " >= fra"; - X1u += "gment"; - X1u += "s"; - X1u += "Le"; - X1u += "ngth: "; - var Z1u = "S"; - Z1u += "treaming"; - Z1u += "Ind"; - Z1u += "e"; - Z1u += "x: "; - f = f.fd[0]; - r6u.u9b(10); - g = r6u.Q9b(y, g, f, 1E3); - r6u.D9b(11); - f = r6u.Q9b(0, t, h, 8); - r6u.u9b(12); - t = r6u.Q9b(t, 8, 0); - r6u.u9b(9); - h = r6u.r9b(1E3, y); - n >= k && c.error(Z1u + n + X1u + k); - l += f; - K60 = 10; + case 23: + (l = g, t += A[E], ++E, f = z[E], g += f); + K60 = 24; break; - case 32: - u -= F; - K60 = 31; + case 34: + w1N.l1q(11); + l += w1N.P1q(0, G, h, u); + m += D; + K60 = 32; break; - case 10: - 0 === m && (l = 0); - r6u.u9b(9); - l *= r6u.Q9b(1E3, y); - r6u.D9b(9); - m *= r6u.r9b(1E3, y); - r6u.D9b(9); - v *= r6u.Q9b(1E3, y); - r6u.D9b(9); - w *= r6u.r9b(1E3, y); - K60 = 16; + case 24: + K60 = t < C ? 23 : 22; break; - case 44: - C = f; - K60 = 43; + case 29: + ++n; + K60 = 28; break; - case 42: - K60 = (f = Math.max(m - l, 0), f < w && f < C) ? 41 : 34; + case 41: + return { + result: !1, + tU: Math.min(f, d) / (y / 1E3), + kv: !0 + }; break; - case 23: - (l = g, u += B[E], ++E, f = z[E], g += f); - K60 = 24; + case 35: + w1N.l1q(1); + f = w1N.P1q(m, l); + K60 = 34; break; - case 26: - K60 = u < F ? 25 : 42; + case 43: + d = Math.min(f, d); + K60 = 15; break; case 2: - var a1u = "1S"; - a1u += "I"; - a1u += "YbZrN"; - a1u += "JCp"; - a1u += "9"; - a1u; + var s9q = "1SIYbZ"; + s9q += "r"; + s9q += "NJ"; + s9q += "Cp9"; + s9q; y = f.U; k = Math.min(f.length, k); - (z = f.fd, B = f.sizes, A = d - l); - d = Infinity; - (C = 0, E = 0); - K60 = 8; + K60 = 4; break; - case 34: - r6u.D9b(13); - l += r6u.r9b(0, t, F, h); - m += D; - K60 = 32; + case 40: + return { + result: !0, + tU: d / (y / 1E3), + kv: !0 + }; break; case 31: K60 = g < l && E < n ? 30 : 29; break; - case 30: - (u += B[E], ++E, g += z[E]); - K60 = 31; + case 4: + (z = f.gd, A = f.sizes, B = d - l); + d = Infinity; + (C = 0, E = 0); + f = f.gd[0]; + w1N.l1q(12); + g = w1N.o1q(g, f, 1E3, y); + w1N.Q1q(13); + f = w1N.P1q(0, 8, h, u); + K60 = 14; break; - case 24: - K60 = u < C ? 23 : 22; + case 25: + C = Math.max(G, p); + K60 = 24; break; case 22: K60 = !x && (f = m - l, f < v) ? 21 : 35; break; - case 35: - r6u.D9b(1); - f = r6u.r9b(l, m); - K60 = 34; + case 15: + K60 = n < k ? 27 : 40; break; - case 43: - d = Math.min(f, d); - K60 = 15; + case 10: + 0 === m && (l = 0); + w1N.l1q(10); + l *= w1N.P1q(1E3, y); + w1N.Q1q(10); + m *= w1N.P1q(1E3, y); + w1N.Q1q(10); + v *= w1N.P1q(1E3, y); + K60 = 17; break; - case 27: - (F = B[n], D = z[n]); - K60 = 26; + case 44: + C = f; + K60 = 43; break; - case 15: - K60 = n < k ? 27 : 40; + case 21: + return { + result: !1, + tU: f / (y / 1E3), + kv: !1 + }; break; - case 28: - K60 = n >= r && f > A ? 40 : 44; + case 14: + var Z9q = " >="; + Z9q += " "; + Z9q += "fragmentsLength: "; + var u9q = "S"; + u9q += "treami"; + u9q += "ng"; + u9q += "Index: "; + w1N.l1q(14); + u = w1N.o1q(0, u, 8); + w1N.Q1q(10); + h = w1N.o1q(1E3, y); + n >= k && c.error(u9q + n + Z9q + k); + l += f; + K60 = 10; break; - case 25: - C = Math.max(F, p); - K60 = 24; + case 42: + K60 = (f = Math.max(m - l, 0), f < w && f < C) ? 41 : 34; break; } } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -90883,843 +90797,773 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.GEb = b.B2a = void 0; + b.LEb = b.B2a = void 0; c = a(2); f = c.__importDefault(a(84)); k = c.__importStar(a(10)); l = a(30); - d = a(384); - g = c.__importDefault(a(4)); - q = c.__importDefault(a(110)); + d = a(389); + g = c.__importDefault(a(5)); + r = c.__importDefault(a(110)); a = c.__importDefault(a(39)); - h = a.default.nJb; - m = a.default.hnb; - n = a.default.f1; - r = a.default.Do; - p = q.default.isa; + h = a.default.pJb; + m = a.default.inb; + n = a.default.h1; + q = a.default.Eo; + p = r.default.csa; a = (function () { - function t(A, C, E) { - var N60; - N60 = 2; - for (; N60 !== 5; ) { - switch (N60) { - case 2: - A = m(E.Qi, A * E.Ona); - return h(A, C); + function v(B, C) { + var P1N = a000; + var Q60, + E; + Q60 = 2; + for (; Q60 !== 9; ) { + switch (Q60) { + case 5: + E = C.gN; + Q60 = 4; break; - } - } - } - function u(A, C) { - var M60, - E, - F; - M60 = 2; - for (; M60 !== 12; ) { - switch (M60) { case 2: - E = new r(); - E.Yi = A; - A = E.Yi.lb || ({}); - E.Pn = A.Cl && A.Sj; - E.On = A.Cl ? A.Cl : 0; - M60 = 9; + P1N.l1q(15); + var o31 = P1N.o1q(4, 16667, 33332); + B = n(B, 0, o31) / 1E3; + Q60 = 1; break; - case 14: - var P1u = "hist_t"; - P1u += "h"; - P1u += "roughpu"; - P1u += "t"; - var w1u = "hist"; - w1u += "_t"; - w1u += "digest"; - F ? (C = A.Si(C.s7 / 100) || E.Yi.Oa, E.Ps = C, E.reason = w1u) : E.Yi.Oa && (C = E.Yi.Oa, E.Ps = C, E.reason = P1u); - return E; + case 1: + var B9q = "l"; + B9q += "o"; + B9q += "g"; + Q60 = 0 === C.gN.lastIndexOf(B9q, 0) ? 5 : 3; break; - case 9: - A = f.default(E.Pn, {}); - M60 = 7; + case 4: + return (E = C.C2a[E]) && 2 === E.length ? 1E3 * (E[0] + E[1] * Math.log(1 + B)) : C.$q; break; case 7: - M60 = (F = k.xa(C.s7) && 0 <= C.s7 && 100 >= C.s7 && !k.ga(A) && !k.ob(A)) ? 6 : 14; + P1N.Q1q(16); + var q31 = P1N.o1q(10, 24, 48, 19); + P1N.l1q(17); + var r31 = P1N.o1q(26, 5, 17, 390); + B = n(B, q31, r31) % 899; + Q60 = 3; break; - case 6: - (F = d.WGa.LAb(A), k.Kc(F) ? (A.Si = F, F = !0) : F = !1); - M60 = 14; + Q60 = 1; + break; + case 3: + var A9q = "si"; + A9q += "g"; + A9q += "mo"; + A9q += "id"; + return 0 === C.gN.lastIndexOf(A9q, 0) ? (E = C.gN, (E = C.C2a[E]) && 2 === E.length ? 1E3 * (E[0] + E[1] * p(B)) : C.$q) : C.$q; + break; + case 14: + E = C.gN; + Q60 = 9; + break; + Q60 = 4; break; } } } - function w(A, C) { + function w(B, C) { var O60, E, - F; + G; O60 = 2; for (; O60 !== 13; ) { switch (O60) { - case 2: - O60 = A.X3 ? 1 : 14; - break; - case 14: - return A.$q; + case 5: + O60 = 0 === G ? 4 : 3; break; case 1: - (E = A.X3, F = l.fs(E, function (D) { + (E = B.Y3, G = l.js(E, function (D) { var P60; P60 = 2; for (; P60 !== 1; ) { switch (P60) { + case 2: + return C <= D.r; + break; case 4: return C < D.r; break; P60 = 1; break; - case 2: - return C <= D.r; - break; } } })); O60 = 5; break; - case 4: - return E[0].d; + case 2: + O60 = B.Y3 ? 1 : 14; break; - case 5: - O60 = 0 === F ? 4 : 3; + case 9: + return E[E.length - 1].d; break; - case 3: - O60 = -1 === F ? 9 : 8; + case 4: + return E[0].d; break; case 8: - a000.u9b(1); - A = E[a000.r9b(1, F)]; - E = E[F]; + a000.l1q(1); + B = E[a000.o1q(G, 1)]; + E = E[G]; O60 = 6; break; - case 9: - return E[E.length - 1].d; - break; case 6: - return Math.floor(A.d + (E.d - A.d) * (C - A.r) / (E.r - A.r)); + return Math.floor(B.d + (E.d - B.d) * (C - B.r) / (E.r - B.r)); + break; + case 3: + O60 = -1 === G ? 9 : 8; + break; + case 14: + return B.$q; break; } } } var L60; - L60 = 2; - function B(A, C, E, F) { - var X60, - D; - X60 = 2; - for (; X60 !== 7; ) { - switch (X60) { - case 5: - return A.hR ? x(A, C, E, F) : z(A, C, E, F); - break; - case 4: - var d1u = "hist"; - d1u += "_"; - d1u += "bitrat"; - d1u += "e"; - A = new r(); - A.Yi = l.wg(E.slice().reverse(), function (G) { - var Y60; - Y60 = 2; - for (; Y60 !== 1; ) { - switch (Y60) { - case 2: - return G.bitrate <= D; - break; - case 4: - return G.bitrate > D; - break; - Y60 = 1; - break; - } - } - }) || E[0]; - A.reason = d1u; - return A; - break; + function y(B, C, E, G, D, F) { + var T60; + T60 = 2; + for (; T60 !== 5; ) { + switch (T60) { case 2: - var V1u = "v"; - V1u += "b"; - D = g.default.storage.get(V1u); - X60 = 1; + var t9q = "no_va"; + t9q += "l"; + t9q += "id_Bitrate"; + var H9q = "no"; + H9q += "_vali"; + H9q += "d"; + H9q += "_VMAF"; + var q9q = "n"; + q9q += "o_valid"; + q9q += "_DelayTarget"; + B = E ? B.xb >= F.bM && B.xb <= F.tYa : B.bitrate >= F.Fv && B.bitrate <= F.Ry; + return (G = G < D && B) ? { + v2: G + } + : { + v2: G, + reason: B ? q9q : E ? H9q : t9q + }; break; - case 1: - var K1u = "n"; - K1u += "um"; - K1u += "b"; - K1u += "e"; - K1u += "r"; - X60 = K1u !== typeof D ? 5 : 4; + } + } + } + function u(B, C, E) { + var N60; + N60 = 2; + for (; N60 !== 5; ) { + switch (N60) { + case 2: + B = m(E.Ni, B * E.Jna); + return h(B, C); break; } } } + L60 = 2; for (; L60 !== 5; ) { switch (L60) { case 2: - var g1u = "1SI"; - g1u += "YbZ"; - g1u += "r"; - g1u += "NJC"; - g1u += "p9"; - g1u; + var F9q = "1SIYbZ"; + F9q += "rNJCp"; + F9q += "9"; + F9q; return { - ejb: function (A, C, E, F) { + fjb: function (B, C, E, G) { var Z60; Z60 = 2; for (; Z60 !== 1; ) { switch (Z60) { case 2: - var N1u = "h"; - N1u += "ist"; - N1u += "ori"; - N1u += "c"; - N1u += "al"; - return N1u === A.Fla ? B(A, C, E, F) : A.hR ? x(A, C, E, F) : z(A, C, E, F); + var b9q = "h"; + b9q += "istor"; + b9q += "ica"; + b9q += "l"; + return b9q === B.Ala ? A(B, C, E, G) : B.jR ? x(B, C, E, G) : z(B, C, E, G); break; } } }, - Lgb: y + Mgb: y }; break; } } - function z(A, C, E) { + function z(B, C, E) { var U60, - F, + G, D; U60 = 2; for (; U60 !== 4; ) { switch (U60) { case 2: - (F = new r(), D = Math.max(A.zv, A.r5, C.Xla ? A.Xna : -Infinity)); - F.Yi = l.wg(E.filter(function (G) { + (G = new q(), D = Math.max(B.Fv, B.r5, C.Rla ? B.Sna : -Infinity)); + G.Vi = l.wg(E.filter(function (F) { var V60; V60 = 2; for (; V60 !== 1; ) { switch (V60) { case 4: - return G.bitrate > A.Oy; + return F.bitrate > B.Ry; break; V60 = 1; break; case 2: - return G.bitrate <= A.Oy; + return F.bitrate <= B.Ry; break; } } - }).reverse(), function (G) { + }).reverse(), function (F) { var W60, - I, J, - H; + H, + K; W60 = 2; for (; W60 !== 13; ) { switch (W60) { case 1: - W60 = G.bitrate > D ? 5 : 14; - break; - case 8: - var T1u = "h"; - T1u += "is"; - T1u += "t_buffti"; - T1u += "me"; - t(G, J, A) <= H ? (F.Ps = J, I && (F.On = I.Cl ? I.Cl : 0, F.Pn = I.Cl && I.Sj), F.reason = T1u, I = !0) : I = !1; - W60 = 7; + W60 = F.bitrate > D ? 5 : 14; break; case 2: - I = { - Oa: G.Oa, - Cl: G.lb && G.lb.Cl, - Sj: G.lb && G.lb.Sj + J = { + Oa: F.Oa, + Bl: F.lb && F.lb.Bl, + Sj: F.lb && F.lb.Sj }; W60 = 1; break; - case 5: - G = G.bitrate * C.playbackRate; - J = I.Oa; - W60 = 3; - break; case 3: - W60 = J ? 9 : 6; + W60 = K ? 9 : 6; break; - case 7: - return I; + case 8: + var y9q = "h"; + y9q += "is"; + y9q += "t_"; + y9q += "b"; + y9q += "ufftime"; + u(F, K, B) <= H ? (G.Us = K, J && (G.Qn = J.Bl ? J.Bl : 0, G.Rn = J.Bl && J.Sj), G.reason = y9q, J = !0) : J = !1; + W60 = 7; break; case 9: - H = w(A, G); + H = w(B, F); W60 = 8; break; + case 7: + return J; + break; case 14: - var s1u = "no_h"; - s1u += "istorical_l"; - s1u += "te"; - s1u += "_minbi"; - s1u += "trate"; - var B1u = "hi"; - B1u += "st_t"; - B1u += "put_lt_m"; - B1u += "inb"; - B1u += "itrate"; - var x1u = "lt_h"; - x1u += "ist_lte"; - x1u += "_minbitrate"; - (J = I.Oa, G.bitrate * C.playbackRate <= J ? (F.Ps = J, I && (F.On = I.Cl ? I.Cl : 0, F.Pn = I.Cl ? I.Sj : void 0), F.reason = x1u, I = !0) : J ? (F.Ps = J, I && (F.On = I.Cl ? I.Cl : 0, F.Pn = I.Cl ? I.Sj : void 0), F.reason = B1u, I = !1) : (F.reason = s1u, I = !0)); + var h9q = "no_historical_lte_minbitr"; + h9q += "at"; + h9q += "e"; + var e9q = "hist_tp"; + e9q += "ut_lt_"; + e9q += "min"; + e9q += "b"; + e9q += "itrate"; + var k9q = "l"; + k9q += "t"; + k9q += "_hist_lte_minbit"; + k9q += "rate"; + (K = J.Oa, F.bitrate * C.playbackRate <= K ? (G.Us = K, J && (G.Qn = J.Bl ? J.Bl : 0, G.Rn = J.Bl ? J.Sj : void 0), G.reason = k9q, J = !0) : K ? (G.Us = K, J && (G.Qn = J.Bl ? J.Bl : 0, G.Rn = J.Bl ? J.Sj : void 0), G.reason = e9q, J = !1) : (G.reason = h9q, J = !0)); W60 = 7; break; + case 5: + F = F.bitrate * C.playbackRate; + K = J.Oa; + W60 = 3; + break; case 6: - I = !1; + J = !1; W60 = 7; break; } } }) || E[0]; - return F; + return G; break; } } } - function v(A, C) { - var Q60, - E; - Q60 = 2; - for (; Q60 !== 9; ) { - switch (Q60) { + function A(B, C, E, G) { + var X60, + D; + X60 = 2; + for (; X60 !== 7; ) { + switch (X60) { + case 2: + var f9q = "v"; + f9q += "b"; + D = g.default.storage.get(f9q); + X60 = 1; + break; case 4: - return (E = C.C2a[E]) && 2 === E.length ? 1E3 * (E[0] + E[1] * Math.log(1 + A)) : C.$q; + B = new q(); + B.Vi = l.wg(E.slice().reverse(), function (F) { + var Y60; + Y60 = 2; + for (; Y60 !== 1; ) { + switch (Y60) { + case 2: + return F.bitrate <= D; + break; + } + } + }) || E[0]; + X60 = 9; + break; + case 1: + var E9q = "n"; + E9q += "u"; + E9q += "m"; + E9q += "b"; + E9q += "er"; + X60 = E9q !== typeof D ? 5 : 4; + break; + case 9: + var x9q = "hist_"; + x9q += "bitra"; + x9q += "te"; + B.reason = x9q; + return B; break; case 5: - E = C.fN; - Q60 = 4; + return B.jR ? x(B, C, E, G) : z(B, C, E, G); break; - case 14: - E = C.fN; - Q60 = 2; + } + } + } + function t(B, C) { + var M60, + G, + E; + M60 = 2; + for (; M60 !== 12; ) { + switch (M60) { + case 5: + B = E.Vi.lb || ({}); + E.Rn = B.Bl && B.Sj; + E.Qn = B.Bl ? B.Bl : 0; + B = f.default(E.Rn, {}); + M60 = 7; break; - Q60 = 4; + case 2: + E = new q(); + E.Vi = B; + M60 = 5; break; - case 1: - var i1u = "l"; - i1u += "o"; - i1u += "g"; - Q60 = 0 === C.fN.lastIndexOf(i1u, 0) ? 5 : 3; + case 7: + M60 = (G = k.ya(C.o7) && 0 <= C.o7 && 100 >= C.o7 && !k.fa(B) && !k.tb(B)) ? 6 : 14; break; - case 3: - var F9u = "si"; - F9u += "g"; - F9u += "moi"; - F9u += "d"; - return 0 === C.fN.lastIndexOf(F9u, 0) ? (E = C.fN, (E = C.C2a[E]) && 2 === E.length ? 1E3 * (E[0] + E[1] * p(A)) : C.$q) : C.$q; + case 6: + (G = d.SGa.OAb(B), k.Mc(G) ? (B.Qi = G, G = !0) : G = !1); + M60 = 14; break; - case 2: - a000.D9b(2); - var n31 = a000.Q9b(25000, 75000); - A = n(A, 0, n31) / 1E3; - Q60 = 1; + case 14: + var p9q = "hist_"; + p9q += "th"; + p9q += "roug"; + p9q += "hpu"; + p9q += "t"; + var n9q = "hist_td"; + n9q += "ige"; + n9q += "st"; + G ? (C = B.Qi(C.o7 / 100) || E.Vi.Oa, E.Us = C, E.reason = n9q) : E.Vi.Oa && (C = E.Vi.Oa, E.Us = C, E.reason = p9q); + return E; break; } } } - function x(A, C, E) { + function x(B, C, E) { var R60, - I, J, + K, H, - F, + G, D, - G; + F; R60 = 2; for (; R60 !== 19; ) { switch (R60) { - case 5: - I = E[G]; - D = u(I, A); - (J = t(I.bitrate * C.playbackRate, D.Ps, A), H = v(D.Ps, A)); - H = y(I, D.Ps, F, J, H, A); - I = H.u2; + case 1: + R60 = 0 <= F && (G ? E[F].xb >= B.bM : E[F].bitrate >= B.Fv) ? 5 : 11; + break; + case 8: + J = H.v2; H = H.reason; - R60 = 6; + D.zy = K; + R60 = 14; break; - case 1: - R60 = 0 <= G && (F ? E[G].zb >= A.$L : E[G].bitrate >= A.zv) ? 5 : 11; + case 5: + J = E[F]; + D = t(J, B); + (K = u(J.bitrate * C.playbackRate, D.Us, B), H = v(D.Us, B)); + H = y(J, D.Us, G, K, H, B); + R60 = 8; break; case 2: - (F = !!A.$L && !!A.wYa && E.every(function (M) { + (G = !!B.bM && !!B.tYa && E.every(function (L) { var S60; S60 = 2; for (; S60 !== 1; ) { switch (S60) { + case 2: + return L.xb && 110 >= L.xb; + break; case 4: - return M.zb || 955 > M.zb; + return L.xb || 959 < L.xb; break; S60 = 1; break; - case 2: - return M.zb && 110 >= M.zb; - break; } } - }), D = null, G = E.length - 1); + }), D = null, F = E.length - 1); R60 = 1; break; + case 14: + R60 = J ? 11 : 13; + break; case 13: D.reason = H; R60 = 12; break; - case 11: - var U9u = "fallback_"; - U9u += "no_acceptable"; - U9u += "_str"; - U9u += "eam"; - k.ob(D) && (D = u(E[0], A)); - k.ob(D) && (D = u(E[0], A), D.reason = U9u); + case 20: return D; break; case 12: - G--; + F--; R60 = 1; break; - case 6: - D.wy = J; - R60 = 14; - break; - case 14: - R60 = I ? 11 : 13; - break; - } - } - } - function y(A, C, E, F, D, G) { - var T60; - T60 = 2; - for (; T60 !== 5; ) { - switch (T60) { - case 2: - var o9u = "no_"; - o9u += "valid"; - o9u += "_Bitrat"; - o9u += "e"; - var L9u = "no"; - L9u += "_va"; - L9u += "li"; - L9u += "d_V"; - L9u += "MAF"; - var y9u = "no_v"; - y9u += "alid_Dela"; - y9u += "yTarg"; - y9u += "et"; - A = E ? A.zb >= G.$L && A.zb <= G.wYa : A.bitrate >= G.zv && A.bitrate <= G.Oy; - return (F = F < D && A) ? { - u2: F - } - : { - u2: F, - reason: A ? y9u : E ? L9u : o9u - }; + case 11: + var N9q = "f"; + N9q += "allback_n"; + N9q += "o_acceptab"; + N9q += "le_str"; + N9q += "eam"; + k.tb(D) && (D = t(E[0], B)); + k.tb(D) && (D = t(E[0], B), D.reason = N9q); + R60 = 20; break; } } } })(); - q = a.Lgb; - b.B2a = a.ejb; - b.GEb = q; - }, function (q, b, a) { + r = a.Mgb; + b.B2a = a.fjb; + b.LEb = r; + }, function (r, b, a) { var f, k, l, d; function c(g, h, m) { var n, - r; - n = this.$ca; - h = h.buffer.oc; - r = "forward" === g.IQb; - if (f.ga(n)) - return (n = r ? k(m) : k(m, m.length), this.bda = h, this.$ca = n, new d(n)); - l(m[n]) || (n = k(m, n), this.bda = h, this.$ca = n); + q; + n = this.Uca; + h = h.buffer.tc; + q = "forward" === g.NQb; + if (f.fa(n)) + return (n = q ? k(m) : k(m, m.length), this.Wca = h, this.Uca = n, new d(n)); + l(m[n]) || (n = k(m, n), this.Wca = h, this.Uca = n); if (0 > n) return null; - if (h > this.bda + g.bVb) { - g = m.map(function (p, u) { - return p.Vs ? u : null; + if (h > this.Wca + g.dVb) { + g = m.map(function (p, t) { + return p.$s ? t : null; }).filter(function (p) { return null !== p; }); if (!g.length) return null; - r ? n = (g.indexOf(n) + 1) % g.length : (n = g.indexOf(n) - 1, 0 > n && (n = g.length - 1)); - this.$ca = g[n]; - this.bda = h; + q ? n = (g.indexOf(n) + 1) % g.length : (n = g.indexOf(n) - 1, 0 > n && (n = g.length - 1)); + this.Uca = g[n]; + this.Wca = h; return new d(g[n]); } return new d(n); } f = a(10); b = a(39); - k = b.Oia; - l = b.GL; - d = b.Do; - q.exports = { + k = b.Hia; + l = b.IL; + d = b.Eo; + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { (function () { - var a70, - k, - l, - d, - g, - h, - m, - n, - r, - p, - u; - a70 = 2; - function f(t, w, v, x) { + function f(u, w, v, x) { var d70, + F, y, - z, + J, + K, B, - G, - A, C, E, - F, + G, D, - I, - J; + z, + A; d70 = 2; for (; d70 !== 32; ) { switch (d70) { - case 17: - E--; - d70 = 11; + case 23: + z = C; + d70 = 21; break; - case 26: - var r9u = ", s"; - r9u += "tream"; - r9u += "ingPts"; - r9u += " = "; - var M9u = ", l"; - M9u += "astUpswi"; - M9u += "tchPt"; - M9u += "s = "; - var b9u = " "; - b9u += " Ups"; - b9u += "witch allowed. "; - b9u += "lastD"; - b9u += "ownswitchPts = "; - g && d.log(b9u + J + M9u + I + r9u + C.oc); - d70 = 25; + case 18: + z = C; + d70 = 21; break; - case 21: - var A9u = " "; - A9u += "kbp"; - A9u += "s"; - var e9u = " "; - e9u += "kbps, "; - e9u += "t"; - e9u += "o"; - e9u += " "; - var u9u = "switc"; - u9u += "hing "; - u9u += "audio "; - u9u += "fr"; - u9u += "om "; - var D9u = "d"; - D9u += "o"; - D9u += "w"; - D9u += "n"; - var Q9u = "u"; - Q9u += "p"; - F = v[z]; - z !== x && g && d.log((z > x ? Q9u : D9u) + u9u + A.bitrate + e9u + F.bitrate + A9u); - d70 = 34; + case 10: + C = A[E]; + F = v[C]; + d70 = 19; break; - case 27: - d70 = w.UB && G > D.Hy && (void 0 === J || Number(I) > J || C.oc - J > D.S4) ? 26 : 22; + case 12: + var g9q = " kbps, "; + g9q += "try to"; + g9q += " d"; + g9q += "ownswitc"; + g9q += "h"; + var V9q = " "; + V9q += "k"; + V9q += "bps"; + V9q += " <"; + V9q += " "; + var I9q = "thr"; + I9q += "oug"; + I9q += "hput for audio "; + (g && d.log(I9q + G + V9q + D.mQa + "*" + C + g9q), --E); + d70 = 11; break; - case 2: - var j9u = "Must have at"; - j9u += " le"; - j9u += "ast "; - j9u += "one selected"; - j9u += " stream"; - h(!k.ga(x), j9u); - y = v[x].Mg; - d70 = 5; + case 4: + return new q(x); break; - case 3: - z = x; - t.D4a.some(function (H) { - var e70, - M, - O, - L, - P, - R, - K; - e70 = 2; - for (; e70 !== 9; ) { - switch (e70) { - case 2: - (M = H.profiles, O = M && 0 <= M.indexOf(y)); - e70 = 1; - break; - case 5: - (L = (H = H.lV) && H.x5 || t.x5, P = H && H.m6b || -Infinity, R = H && H.PL || Infinity, K = w.buffer.Su); - e70 = 4; - break; - case 12: - return O; - break; - e70 = 9; - break; - case 4: - B = v.filter(function (Q) { - var f70, - N; - f70 = 2; - for (; f70 !== 5; ) { - switch (f70) { - case 2: - N = Q.bitrate; - return N >= P && N <= R && 0 <= M.indexOf(Q.Mg) && N * L / 8 < K; - break; - } - } - }).map(function (Q) { - var g70; - g70 = 2; - for (; g70 !== 1; ) { - switch (g70) { - case 2: - return Q.og; - break; - case 4: - return Q.og; - break; - g70 = 1; - break; - } - } - }); - e70 = 3; - break; - case 1: - e70 = O ? 5 : 3; - break; - case 3: - return O; - break; - } - } - }); - d70 = 8; + case 17: + E--; + d70 = 11; + break; + case 14: + z = 0; + d70 = 21; break; case 25: - d70 = ++E < B.length ? 24 : 21; + d70 = ++E < A.length ? 24 : 21; break; - case 4: - return new r(x); + case 26: + var o9q = ", st"; + o9q += "re"; + o9q += "amingP"; + o9q += "ts = "; + var d9q = ", "; + d9q += "lastUps"; + d9q += "wi"; + d9q += "tchPt"; + d9q += "s = "; + var w9q = " Upswit"; + w9q += "ch allowed. lastD"; + w9q += "ownswitchPts = "; + g && d.log(w9q + K + d9q + J + o9q + C.tc); + d70 = 25; break; - case 10: - C = B[E]; - G = v[C]; - d70 = 19; + case 16: + var l9q = " "; + l9q += "k"; + l9q += "bp"; + l9q += "s"; + var Q9q = " "; + Q9q += "k"; + Q9q += "bps > "; + var P9q = "throu"; + P9q += "gh"; + P9q += "put for audio "; + d70 = E < A.length - 1 && G > D.P5a * C * w.playbackRate && (g && d.log(P9q + G + Q9q + D.P5a + "*" + C + l9q), C = w.buffer, F = C.Gl - C.vc, B.Y && B.Y.length) ? 15 : 21; break; - case 18: - z = C; - d70 = 21; + case 33: + return new q(z); break; - case 12: - var G9u = " kbps, try to "; - G9u += "down"; - G9u += "switch"; - var q9u = " "; - q9u += "kbps "; - q9u += "< "; - var l9u = "throughput for"; - l9u += " audi"; - l9u += "o "; - (g && d.log(l9u + F + q9u + D.pQa + "*" + C + G9u), --E); - d70 = 11; + case 8: + d70 = A && 1 < A.length ? 7 : 21; break; - case 19: - d70 = n(G) && (0 == E || G.bitrate * w.playbackRate * D.pQa < F) ? 18 : 17; + case 5: + d70 = !(u && u.JN && 0 <= u.JN.indexOf(y)) ? 4 : 3; break; - case 23: - z = C; - d70 = 21; + case 2: + var S9q = "Mus"; + S9q += "t have at least one selected strea"; + S9q += "m"; + h(!k.fa(x), S9q); + y = v[x].Kg; + d70 = 5; break; - case 6: - d70 = 0 > E ? 14 : 13; + case 21: + var i9q = "k"; + i9q += "b"; + i9q += "ps, streamingPts :"; + var j9q = ", "; + j9q += "a"; + j9q += "udio "; + j9q += "throug"; + j9q += "hput:"; + var Y9q = " kbps,"; + Y9q += " profil"; + Y9q += "e :"; + var a9q = "selectAudioStr"; + a9q += "eam: "; + a9q += "sele"; + a9q += "cted stream :"; + var c9q = " "; + c9q += "k"; + c9q += "b"; + c9q += "p"; + c9q += "s"; + var U9q = " kbp"; + U9q += "s, "; + U9q += "to "; + var r9q = "swi"; + r9q += "tc"; + r9q += "hi"; + r9q += "ng audi"; + r9q += "o from "; + var T9q = "do"; + T9q += "w"; + T9q += "n"; + var J9q = "u"; + J9q += "p"; + G = v[z]; + z !== x && g && d.log((z > x ? J9q : T9q) + r9q + B.bitrate + U9q + G.bitrate + c9q); + g && d.log(a9q + G.bitrate + Y9q + y + j9q + G.Oa + i9q + w.buffer.tc); + d70 = 33; break; - case 16: - var O9u = " k"; - O9u += "b"; - O9u += "ps"; - var m9u = " kb"; - m9u += "ps "; - m9u += ">"; - m9u += " "; - var Y9u = "th"; - Y9u += "ro"; - Y9u += "u"; - Y9u += "ghput for au"; - Y9u += "dio "; - d70 = E < B.length - 1 && F > D.N5a * C * w.playbackRate && (g && d.log(Y9u + F + m9u + D.N5a + "*" + C + O9u), C = w.buffer, G = C.Hl - C.qc, A.Y && A.Y.length) ? 15 : 21; + case 27: + d70 = w.WB && F > D.Ky && (void 0 === K || Number(J) > K || C.tc - K > D.S4) ? 26 : 22; + break; + case 19: + d70 = n(F) && (0 == E || F.bitrate * w.playbackRate * D.mQa < G) ? 18 : 17; break; case 11: d70 = 0 <= E ? 10 : 21; break; - case 5: - d70 = !(t && t.IN && 0 <= t.IN.indexOf(y)) ? 4 : 3; - break; - case 7: - (A = v[x], C = A.bitrate, E = B.indexOf(x), F = A.Oa, D = t.Zlb); - d70 = 6; - break; - case 14: - z = 0; - d70 = 21; - break; case 13: - d70 = E && F < D.pQa * C * w.playbackRate ? 12 : 16; - break; - case 15: - (I = this.Hma, J = this.L4); - d70 = 27; + d70 = E && G < D.mQa * C * w.playbackRate ? 12 : 16; break; case 24: - d70 = (C = B[E], G = v[C], n(G) && F > D.N5a * G.bitrate * w.playbackRate) ? 23 : 25; + d70 = (C = A[E], F = v[C], n(F) && G > D.P5a * F.bitrate * w.playbackRate) ? 23 : 25; break; - case 8: - d70 = B && 1 < B.length ? 7 : 21; + case 6: + d70 = 0 > E ? 14 : 13; break; case 22: - var I9u = "m"; - I9u += "s"; - var J9u = ", buffer "; - J9u += "level ="; - J9u += " "; - var W9u = ", "; - W9u += "lastUpsw"; - W9u += "itc"; - W9u += "hPts"; - W9u += " = "; - var E9u = " Upswitch not allowed. l"; - E9u += "astDow"; - E9u += "nswitchPts = "; - g && d.log(E9u + J + W9u + I + J9u + G + I9u); + var X9q = "m"; + X9q += "s"; + var G9q = ", buffer leve"; + G9q += "l "; + G9q += "= "; + var R9q = ", l"; + R9q += "a"; + R9q += "stU"; + R9q += "pswitchPts = "; + var O9q = " Upswitch not allowed. lastD"; + O9q += "own"; + O9q += "switchPts = "; + g && d.log(O9q + K + R9q + J + G9q + F + X9q); d70 = 21; break; - case 34: - var t9u = "kbps, "; - t9u += "s"; - t9u += "treamingPts :"; - var h9u = ", audi"; - h9u += "o"; - h9u += " "; - h9u += "t"; - h9u += "hroughput:"; - var c9u = " k"; - c9u += "bps, pr"; - c9u += "of"; - c9u += "i"; - c9u += "le :"; - var n9u = "sel"; - n9u += "ectAudioSt"; - n9u += "re"; - n9u += "am: selected stream :"; - g && d.log(n9u + F.bitrate + c9u + y + h9u + F.Oa + t9u + w.buffer.oc); - return new r(z); + case 15: + (J = this.Bma, K = this.L4); + d70 = 27; break; - } - } - } - for (; a70 !== 4; ) { - switch (a70) { - case 2: - var z9u = "1SIYbZ"; - z9u += "rNJCp"; - z9u += "9"; - (k = a(10), l = a(39), d = l.console, g = l.debug, h = l.assert, m = a(84), n = l.GL, r = l.Do, p = a(413), u = a(14).ja); - q.exports = { - STARTING: function (t, w, v, x) { - var h70, - y, - z; - h70 = 2; - for (; h70 !== 7; ) { - switch (h70) { - case 4: - var k9u = " kb"; - k9u += "ps, pr"; - k9u += "of"; - k9u += "i"; - k9u += "le :"; - var p9u = "se"; - p9u += "lectAudioSt"; - p9u += "reamStarting: selected stream :"; - t = p[u[u.Ig]](y, w, v, x); - v = v[t.ie]; - g && d.log(p9u + v.bitrate + k9u + v.Mg); - return t; + case 7: + (B = v[x], C = B.bitrate, E = A.indexOf(x), G = B.Oa, D = u.Zlb); + d70 = 6; + break; + case 3: + z = x; + u.F4a.some(function (H) { + var e70, + L, + Q, + I, + O, + N, + M; + e70 = 2; + for (; e70 !== 9; ) { + switch (e70) { + case 1: + e70 = Q ? 5 : 3; + break; + case 3: + return Q; break; case 2: - (y = t, z = v[x || 0].Mg); - h70 = 1; + (L = H.profiles, Q = L && 0 <= L.indexOf(y)); + e70 = 1; break; - case 1: - h70 = (z = t && t.IN && 0 <= t.IN.indexOf(z)) ? 5 : 4; + case 4: + A = v.filter(function (P) { + var f70, + R; + f70 = 2; + for (; f70 !== 5; ) { + switch (f70) { + case 2: + R = P.bitrate; + return R >= O && R <= N && 0 <= L.indexOf(P.Kg) && R * I / 8 < M; + break; + } + } + }).map(function (P) { + var g70; + g70 = 2; + for (; g70 !== 1; ) { + switch (g70) { + case 2: + return P.ng; + break; + } + } + }); + e70 = 3; break; case 5: - var S9u = "sel"; - S9u += "ectAud"; - S9u += "ioStreamStarting: ov"; - S9u += "erriding config with "; - (y = { - minInitAudioBitrate: t.KU, - minHCInitAudioBitrate: t.JU, - maxInitAudioBitrate: t.wU, - minRequiredAudioBuffer: t.x5 - }, g && d.log(S9u + JSON.stringify(z)), m(z, y)); - h70 = 4; + (I = (H = H.kV) && H.x5 || u.x5, O = H && H.x6b || -Infinity, N = H && H.RL || Infinity, M = w.buffer.Xu); + e70 = 4; break; } } - }, - BUFFERING: f, - REBUFFERING: f, - PLAYING: f, - PAUSED: f - }; - z9u; - a70 = 4; - break; + }); + d70 = 8; + break; + } } } - function c(t, w) { + var a70, + k, + l, + d, + g, + h, + m, + n, + q, + p, + t; + a70 = 2; + function c(u, w) { var b70, v; b70 = 2; @@ -91735,7 +91579,7 @@ a000.D9b = function () { switch (c70) { case 2: y = x.profiles; - (y = y && 0 <= y.indexOf(t)) && (v = x.override); + (y = y && 0 <= y.indexOf(u)) && (v = x.override); return y; break; } @@ -91746,50 +91590,123 @@ a000.D9b = function () { } } } + for (; a70 !== 4; ) { + switch (a70) { + case 2: + var z6q = "1SI"; + z6q += "Yb"; + z6q += "ZrNJCp9"; + (k = a(10), l = a(39), d = l.console, g = l.debug, h = l.assert, m = a(84), n = l.IL, q = l.Eo, p = a(417), t = a(14).ka); + r.exports = { + STARTING: function (u, w, v, x) { + var h70, + y, + z; + h70 = 2; + for (; h70 !== 7; ) { + switch (h70) { + case 1: + h70 = (z = u && u.JN && 0 <= u.JN.indexOf(z)) ? 5 : 4; + break; + case 5: + var v9q = "selectAudioStreamStarting: "; + v9q += "o"; + v9q += "verriding "; + v9q += "config w"; + v9q += "ith "; + (y = { + minInitAudioBitrate: u.JU, + minHCInitAudioBitrate: u.IU, + maxInitAudioBitrate: u.vU, + minRequiredAudioBuffer: u.x5 + }, g && d.log(v9q + JSON.stringify(z)), m(z, y)); + h70 = 4; + break; + case 4: + var M6q = " k"; + M6q += "bps, prof"; + M6q += "il"; + M6q += "e :"; + var D9q = "selectAudioStreamSt"; + D9q += "arting: sele"; + D9q += "cted stream"; + D9q += " :"; + u = p[t[t.Gg]](y, w, v, x); + v = v[u.he]; + g && d.log(D9q + v.bitrate + M6q + v.Kg); + return u; + break; + case 2: + (y = u, z = v[x || 0].Kg); + h70 = 1; + break; + } + } + }, + BUFFERING: f, + REBUFFERING: f, + PLAYING: f, + PAUSED: f + }; + z6q; + a70 = 4; + break; + } + } })(); - }, function (q, b, a) { + }, function (r, b, a) { var f; function c() { return new f(0); } a(10); - f = a(39).Do; - q.exports = { + f = a(39).Eo; + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l, d) { return new f(d.length - 1); } a(10); - f = a(39).Do; - q.exports = { + f = a(39).Eo; + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { (function () { var i70, - l, - d, f, - k; + k, + l, + d; i70 = 2; for (; i70 !== 6; ) { switch (i70) { - case 4: - a(4); - (l = k.assert, d = k.Do); + case 7: + var K6q = "1SIY"; + K6q += "bZrN"; + K6q += "JCp9"; + K6q; + i70 = 6; + break; + case 2: + f = a(10); + a(27); + k = a(39); + a(5); + (l = k.assert, d = k.Eo); k = a(177).default; - q.exports = { + r.exports = { STARTING: k.STARTING, BUFFERING: k.BUFFERING, REBUFFERING: k.REBUFFERING, @@ -91798,84 +91715,70 @@ a000.D9b = function () { }; i70 = 7; break; - case 7: - var v9u = "1S"; - v9u += "IYbZr"; - v9u += "NJ"; - v9u += "Cp"; - v9u += "9"; - v9u; - i70 = 6; - break; - case 2: - f = a(10); - a(27); - k = a(39); - i70 = 4; - break; } } function c(g, h, m, n) { var j70, - r; + q; j70 = 2; for (; j70 !== 12; ) { switch (j70) { - case 7: - return (h.ie = n, h); + case 8: + j70 = q.lb && q.lb.Oa && q.bitrate < q.lb.Oa.Fa - g.aVb ? 7 : 6; + break; + case 4: + n = m.length - 1; + j70 = 3; break; case 2: - var f9u = "p"; - f9u += "layer missing fra"; - f9u += "gmentI"; - f9u += "ndex"; - var R9u = "Must have "; - R9u += "at least on"; - R9u += "e s"; - R9u += "elected stream"; - l(!f.ga(n), R9u); - l(f.xa(h.kf), f9u); + var W6q = "playe"; + W6q += "r"; + W6q += " missin"; + W6q += "g fragment"; + W6q += "Index"; + var L6q = "Must have at "; + L6q += "least "; + L6q += "one sel"; + L6q += "ected stream"; + l(!f.fa(n), L6q); + l(f.ya(h.kf), W6q); h = d(n); j70 = 4; break; case 3: j70 = -1 < n ? 9 : 14; break; - case 4: - n = m.length - 1; - j70 = 3; - break; case 9: - r = m[n]; + q = m[n]; j70 = 8; break; - case 8: - j70 = r.lb && r.lb.Oa && r.bitrate < r.lb.Oa.Ea - g.ZUb ? 7 : 6; - break; case 14: - h.ie = 0; + h.he = 0; return h; break; case 6: --n; j70 = 3; break; + case 7: + return (h.he = n, h); + break; } } } })(); - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperties(b, { __esModule: { value: !0 } }); - q = a(883); + r = a(885); b.default = { - PLAYING: q.Uv, - PAUSED: q.Uv + PLAYING: r.Zv, + PAUSED: r.Zv }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -91889,301 +91792,295 @@ a000.D9b = function () { value: !0 } }); - b.Uv = void 0; - q = a(2); - c = q.__importStar(a(10)); - f = q.__importDefault(a(39)); - k = q.__importDefault(a(177)); + b.Zv = void 0; + r = a(2); + c = r.__importStar(a(10)); + f = r.__importDefault(a(39)); + k = r.__importDefault(a(177)); l = a(98); - d = q.__importDefault(a(4)); + d = r.__importDefault(a(5)); g = f.default.assert; - h = f.default.Do; - b.Uv = m; + h = f.default.Eo; + b.Zv = m; (function () { var k70; k70 = 2; for (; k70 !== 5; ) { switch (k70) { case 2: - var Z9u = "1SIYbZ"; - Z9u += "r"; - Z9u += "NJC"; - Z9u += "p9"; - b.Uv = m = function (n, r, p, u, t, w, v) { + var s6q = "1SIYbZrN"; + s6q += "J"; + s6q += "C"; + s6q += "p9"; + b.Zv = m = function (n, q, p, t, u, w, v) { var l70, C, + K, + x, + y, + z, + A, + B, H, - M, + L, + Q, O, - x, - G, - I, + F, J, - A, + I, E, - F, - D, - L, - P, - y, - z, - B; + G, + D; l70 = 2; for (; l70 !== 66; ) { switch (l70) { - case 6: - a000.u9b(1); - A = a000.Q9b(x, B); - 0 > A && (A = 0); - A >= y.length && (A = y.length - 1); - C = y[A].f; - l70 = 11; - break; - case 35: - l70 = A < p.length ? 34 : 61; - break; - case 47: - l70 = L < M.length ? 46 : 65; - break; - case 37: - C.lb && C.lb.tputTrace && (J = C.lb.tputTrace); - (H = [], M = C.Y, O = 0); - l70 = 54; + case 58: + x = void 0; + l70 = 57; break; - case 71: - l70 = 0 <= A ? 70 : 73; + case 68: + l70 = y[B].f < A ? 73 : 67; break; case 61: - z.JMa = t; + z.JMa = u; l70 = 60; break; - case 56: - A += 1; - l70 = 55; - break; - case 60: - return z; - break; - case 17: - l70 = n.zvb ? 16 : 60; + case 69: + x = B; + l70 = 73; break; - case 2: - var H9u = "Must have at least one selecte"; - H9u += "d strea"; - H9u += "m"; - g(!c.ga(u), H9u); - l70 = 5; + case 62: + B++; + l70 = 35; break; - case 76: - x = A; - l70 = 73; + case 54: + l70 = void 0 !== L ? 53 : 65; break; - case 8: - l70 = B < x || B > A ? 7 : 6; + case 6: + a000.l1q(1); + B = a000.P1q(A, x); + 0 > B && (B = 0); + B >= y.length && (B = y.length - 1); + C = y[B].f; + l70 = 11; break; - case 11: - l70 = C === B ? 10 : 58; + case 48: + I = q.kf; + l70 = 47; break; - case 70: - l70 = y[A].f === B ? 69 : 68; + case 39: + J.push(K.max); + l70 = 38; break; case 7: - return k.default.PLAYING.call(this, n, r, p, u, t, w, v); + return k.default.PLAYING.call(this, n, q, p, t, u, w, v); break; - case 34: - C = p[A]; - x = A <= u ? !0 : !1; - (G = void 0, I = []); - C.lb && C.lb.throughput && (G = C.lb.throughput.Ea); - l70 = 30; + case 19: + z.he = y[A].TQb; + l70 = 18; break; - case 58: - x = void 0; - l70 = 57; + case 46: + Q += L.get(I).duration; + l70 = 45; break; - case 49: - L++; - l70 = 52; + case 26: + w = w.Gl - w.vc; + v = l.em.lPa(q.buffer.Y); + v = q.buffer.Xu - v.da; + y = p[t]; + A = p[t]; + l70 = 21; break; - case 44: - I.push(J.j6); - I.push(J.gl); + case 29: + K = C.lb.tdigest; + J.push(K.min); + J.push(K.j6); + J.push(K.gl); l70 = 42; break; - case 29: - J = C.lb.tdigest; - I.push(J.min); - l70 = 44; + case 2: + var C6q = "pl"; + C6q += "ayer m"; + C6q += "issing f"; + C6q += "ragmentIn"; + C6q += "dex"; + var m6q = "Must have at "; + m6q += "least one selected"; + m6q += " stream"; + g(!c.fa(t), m6q); + g(c.ya(q.kf), C6q); + (y = n.$Tb, z = new h(t), A = null !== (x = q.kf) && void 0 !== x ? x : -1); + x = y[0].f; + B = y[y.length - 1].f; + l70 = 8; break; - case 20: - l70 = void 0 !== B ? 19 : 59; + case 74: + B++; + l70 = 55; break; - case 55: - l70 = A < y.length ? 77 : 73; + case 75: + l70 = y[B].f > A ? 73 : 74; break; - case 54: - l70 = void 0 !== M ? 53 : 65; + case 38: + K = void 0; + C.lb && C.lb.tputTrace && (K = C.lb.tputTrace); + (H = [], L = C.Y, Q = 0); + l70 = 54; break; - case 19: - z.ie = y[B].OQb; - l70 = 18; + case 47: + l70 = I < L.length ? 46 : 65; break; - case 65: - M = void 0; - r.JR && (M = d.default.time.aa() - r.JR); - t.push({ - kf: r.kf, - U7b: M, - X5b: O, - v3b: G, - R7b: I, - T7b: J, - Bfa: w, - J4b: v, - O3b: H, - A5b: y.bitrate, - B5b: null !== (E = y.zb) && void 0 !== E ? E : 0, - W3b: C.bitrate, - X3b: null !== (F = C.zb) && void 0 !== F ? F : 0, - v7b: B.bitrate, - w7b: null !== (D = B.zb) && void 0 !== D ? D : 0, - SB: x - }); - l70 = 62; + case 51: + O = L.get(I); + l70 = 50; break; - case 45: - L++; - l70 = 47; + case 50: + H.push({ + d: O.duration, + b: O.da + }); + l70 = 49; break; - case 24: - v = r.buffer.Su - v.ca; - y = p[u]; - B = p[u]; - l70 = 21; + case 21: + B = 0; + l70 = 35; break; - case 42: - I.push(J.Jj); - I.push(J.il); - I.push(J.k6); - l70 = 39; + case 17: + l70 = n.Dvb ? 16 : 60; break; - case 52: - l70 = L < Math.min(L + n.cmb, M.length) ? 51 : 48; + case 30: + l70 = C.lb && C.lb.tdigest ? 29 : 38; break; - case 9: - A = y[y.length - 1].f; - l70 = 8; + case 31: + C.lb && C.lb.throughput && (F = C.lb.throughput.Fa); + l70 = 30; break; case 18: - z.Yi = p[z.ie]; + z.Vi = p[z.he]; l70 = 17; break; - case 75: - l70 = y[A].f > B ? 73 : 74; + case 34: + C = p[B]; + x = B <= t ? !0 : !1; + (F = void 0, J = []); + l70 = 31; break; - case 46: - O += M.get(L).duration; - l70 = 45; + case 72: + --B; + l70 = 71; break; - case 38: - J = void 0; - l70 = 37; + case 20: + l70 = void 0 !== A ? 19 : 59; break; - case 77: - l70 = y[A].f === B ? 76 : 75; + case 45: + I++; + l70 = 47; break; - case 72: - --A; - l70 = 71; + case 53: + I = q.kf; + l70 = 52; break; - case 62: - A++; - l70 = 35; + case 71: + l70 = 0 <= B ? 70 : 73; break; - case 73: - B = x; + case 10: + A = B; l70 = 20; break; - case 74: - A++; - l70 = 55; + case 60: + return z; + break; + case 55: + l70 = B < y.length ? 77 : 73; break; case 16: - t = []; - w = r.buffer; - w = w.Hl - w.qc; - v = l.Gk.mPa(r.buffer.Y); - l70 = 24; + u = []; + w = q.buffer; + l70 = 26; break; - case 53: - L = r.kf; - l70 = 52; + case 70: + l70 = y[B].f === A ? 69 : 68; break; - case 68: - l70 = y[A].f < B ? 73 : 67; + case 77: + l70 = y[B].f === A ? 76 : 75; break; - case 48: - L = r.kf; - l70 = 47; + case 42: + J.push(K.Ij); + J.push(K.il); + J.push(K.k6); + l70 = 39; break; - case 10: - B = A; - l70 = 20; + case 59: + return k.default.PLAYING.call(this, n, q, p, t, u, w, v); break; - case 51: - P = M.get(L); - H.push({ - d: P.duration, - b: P.ca - }); - l70 = 49; + case 35: + l70 = B < p.length ? 34 : 61; break; - case 21: - A = 0; - l70 = 35; + case 57: + l70 = C < A ? 56 : 72; break; - case 30: - l70 = C.lb && C.lb.tdigest ? 29 : 38; + case 76: + x = B; + l70 = 73; break; - case 57: - l70 = C < B ? 56 : 72; + case 65: + L = void 0; + q.KR && (L = d.default.time.ba() - q.KR); + u.push({ + kf: q.kf, + k8b: L, + h6b: Q, + x3b: F, + h8b: J, + j8b: K, + ufa: w, + P4b: v, + R3b: H, + K5b: y.bitrate, + L5b: null !== (E = y.xb) && void 0 !== E ? E : 0, + Z3b: C.bitrate, + $3b: null !== (G = C.xb) && void 0 !== G ? G : 0, + J7b: A.bitrate, + K7b: null !== (D = A.xb) && void 0 !== D ? D : 0, + UB: x + }); + l70 = 62; break; - case 39: - I.push(J.max); - l70 = 38; + case 73: + A = x; + l70 = 20; break; - case 69: - x = A; - l70 = 73; + case 52: + l70 = I < Math.min(I + n.cmb, L.length) ? 51 : 48; break; - case 59: - return k.default.PLAYING.call(this, n, r, p, u, t, w, v); + case 56: + B += 1; + l70 = 55; break; - case 5: - var C9u = "p"; - C9u += "lay"; - C9u += "er mis"; - C9u += "sing fragm"; - C9u += "entIndex"; - g(c.xa(r.kf), C9u); - (y = n.YTb, z = new h(u), B = null !== (x = r.kf) && void 0 !== x ? x : -1); - x = y[0].f; - l70 = 9; + case 49: + I++; + l70 = 52; + break; + case 8: + l70 = A < x || A > B ? 7 : 6; break; case 67: - A--; + B--; l70 = 71; break; + case 11: + l70 = C === A ? 10 : 58; + break; } } }; - Z9u; + s6q; k70 = 5; break; } } })(); - }, function (q, b, a) { + }, function (r, b, a) { (function () { var m70, c; @@ -92194,270 +92091,266 @@ a000.D9b = function () { a(10); a(27); a(39); - c = a(14).wc; - m70 = 3; + m70 = 4; break; - case 3: - var d9u = "1SI"; - d9u += "Y"; - d9u += "bZ"; - d9u += "rNJCp9"; - q.exports = { + case 4: + var q6q = "1S"; + q6q += "IYbZrNJCp"; + q6q += "9"; + c = a(14).yc; + r.exports = { checkBuffering: function (f, k, l, d, g, h) { + var a1N = a000; function m(x) { var o70; o70 = 2; for (; o70 !== 5; ) { switch (o70) { case 2: - x = d.Y.w2(f.qc + x, void 0, !0); - return (t - f.jl) / (t + (x.offset + x.ca) - w); + x = d.Y.x2(f.vc + x, void 0, !0); + return (u - f.jl) / (u + (x.offset + x.da) - w); break; } } } var n70, w, - t, + u, n, - r, + q, p, - u, + t, v; n70 = 2; for (; n70 !== 37; ) { switch (n70) { + case 30: + n70 = h > g ? 29 : 40; + break; + case 22: + n70 = k > q * h.u2 ? 21 : 35; + break; + case 25: + var u6q = "o"; + u6q += "uto"; + u6q += "frang"; + u6q += "e"; + return { + complete: !0, + reason: u6q + }; + break; case 24: - w = d.Y.Gd(g); + w = d.Y.Fd(g); n70 = 23; break; - case 8: - n70 = k <= h.ina && (0 < k || !h.tia) ? 7 : 6; + case 23: + n70 = n >= p ? 22 : 39; + break; + case 29: + q = d.Y.get(h); + v = 8 * v * l / k - q.X - p; + n70 = 44; + break; + case 16: + n70 = !d.Y || !d.Y.length ? 15 : 27; + break; + case 44: + n70 = 0 < v ? 43 : 42; + break; + case 31: + --h; + n70 = 30; + break; + case 27: + g = d.Y.Em(f.tc); + n70 = 26; + break; + case 40: + var Z6q = "noreb"; + Z6q += "u"; + Z6q += "ff"; + return { + complete: !0, + reason: Z6q + }; + break; + case 21: + var B6q = "h"; + B6q += "igh"; + B6q += "tp"; + return { + complete: !0, + reason: B6q + }; break; case 20: - t = 0; + u = 0; f.Y.forEach(function (x) { var p70; p70 = 2; for (; p70 !== 1; ) { switch (p70) { case 2: - t += x.Z + x.duration > f.qc ? x.ca : 0; + u += x.X + x.duration > f.vc ? x.da : 0; p70 = 1; break; } } }); l = Math.max(l, 1); - r = l * d.bitrate; + q = l * d.bitrate; n70 = 16; break; - case 31: - --h; - n70 = 30; - break; - case 43: - return (p = Math.min(u, n + v), { - complete: !1, - GG: p, - progress: m(p) - }); - break; - case 39: - 0 < k && k < r && (p = Math.min(u, Math.max(h.PV * (r / k - 1), p))); - return { - complete: !1, - GG: p, - progress: m(p) - }; - break; - case 30: - n70 = h > g ? 29 : 40; - break; - case 29: - r = d.Y.get(h); - a000.u9b(14); - var q31 = a000.Q9b(144, 12, 148); - v = q31 * v * l / k - r.Z - p; - n70 = 44; - break; - case 44: - n70 = 0 < v ? 43 : 42; - break; - case 11: - n70 = !k ? 10 : 20; - break; case 7: return { complete: !1, - bC: !0 + dC: !0 }; break; - case 16: - n70 = !d.Y || !d.Y.length ? 15 : 27; - break; - case 6: - p = h.Qi * (r ? h.wqa : 1); - h.uvb && d.lb && d.lb.Vi && d.lb.Vi.Ea > h.cna && (p += h.wea + d.lb.Vi.Ea * h.mpa); - g && (p += g.xs * h.xea); - n70 = 12; - break; - case 3: - n70 = n >= u ? 9 : 8; + case 42: + v = q.offset; + n70 = 41; break; case 2: - (n = f.Hl - f.qc, r = k === c.ef); + (n = f.Gl - f.vc, q = k === c.ef); k = d.Oa || 0; - (p = 0, u = h.Uta && !r ? h.gC : h.Ena); - u = Math.min(h.Py, u); + (p = 0, t = h.Qta && !q ? h.iC : h.zna); + t = Math.min(h.Sy, t); n70 = 3; break; - case 22: - n70 = k > r * h.t2 ? 21 : 35; + case 6: + a1N.l1q(10); + var v31 = a1N.o1q(10, 10); + p = h.Ni * (q ? h.qqa : v31); + h.yvb && d.lb && d.lb.Ti && d.lb.Ti.Fa > h.Xma && (p += h.qea + d.lb.Ti.Fa * h.hpa); + g && (p += g.Bs * h.rea); + p = t ? Math.min(t, p) : p; + n70 = 11; break; - case 40: - var X9u = "no"; - X9u += "re"; - X9u += "buf"; - X9u += "f"; - return { - complete: !0, - reason: X9u - }; + case 43: + return (p = Math.min(t, n + v), { + complete: !1, + NG: p, + progress: m(p) + }); break; - case 10: + case 9: + var A6q = "m"; + A6q += "a"; + A6q += "xsize"; return { - complete: !1, - GG: p + complete: !0, + reason: A6q }; break; - case 27: - g = d.Y.Gm(f.oc); - n70 = 26; - break; - case 12: - p = u ? Math.min(u, p) : p; - n70 = 11; - break; - case 35: - p = d.Y.fd(g); - h = Math.min(g + Math.floor(h.PV / p), d.Y.length - 1); - v = d.Y.Gd(h); - p = 8 * w * l / k - f.qc; - n70 = 31; + case 11: + n70 = !k ? 10 : 20; break; - case 41: - --h; - n70 = 30; + case 3: + n70 = n >= t ? 9 : 8; break; - case 23: - n70 = n >= p ? 22 : 39; + case 26: + n70 = -1 === g ? 25 : 24; break; - case 25: - var a9u = "out"; - a9u += "ofr"; - a9u += "a"; - a9u += "nge"; + case 10: return { - complete: !0, - reason: a9u + complete: !1, + NG: p }; break; + case 8: + n70 = k <= h.cna && (0 < k || !h.mia) ? 7 : 6; + break; case 15: - return (k < r && (p = Math.min(u, Math.max(h.PV * (r / k - 1), p))), { + return (k < q && (p = Math.min(t, Math.max(h.OV * (q / k - 1), p))), { complete: !1, - GG: p, + NG: p, progress: 0 }); break; - case 42: - v = r.offset; - n70 = 41; + case 41: + --h; + n70 = 30; break; - case 9: - var w9u = "ma"; - w9u += "x"; - w9u += "s"; - w9u += "iz"; - w9u += "e"; + case 39: + 0 < k && k < q && (p = Math.min(t, Math.max(h.OV * (q / k - 1), p))); return { - complete: !0, - reason: w9u + complete: !1, + NG: p, + progress: m(p) }; break; - case 26: - n70 = -1 === g ? 25 : 24; - break; - case 21: - var P9u = "h"; - P9u += "igh"; - P9u += "tp"; - return { - complete: !0, - reason: P9u - }; + case 35: + p = d.Y.gd(g); + h = Math.min(g + Math.floor(h.OV / p), d.Y.length - 1); + v = d.Y.Fd(h); + a1N.Q1q(8); + var w31 = a1N.o1q(8, 17, 128); + p = w31 * w * l / k - f.vc; + n70 = 31; break; } } } }; - d9u; + q6q; m70 = 8; break; } } })(); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { - g = r; - h = r.map(function (p, u) { - return u; + function c(m, n, q) { + g = q; + h = q.map(function (p, t) { + return t; }); if (null === d) - return (m = k(r), d = r[m].bitrate, new l(m)); - if (!r.length) + return (m = k(q), d = q[m].bitrate, new l(m)); + if (!q.length) return null; m = h.filter(function (p) { - return r[p].bitrate == d; + return q[p].bitrate == d; })[0]; return void 0 === m ? (f.log("Defaulting to first stream due to unvalid bitrate requested: " + d), new l(h[0])) : new l(m); } b = a(39); - a = a(4).default; + a = a(5).default; f = b.console; - k = b.Oia; - l = b.Do; + k = b.Hia; + l = b.Eo; d = null; g = null; h = null; - a.aob && (a.aob.xz = { + a.bob && (a.bob.Az = { mb: function () { h = g = d = null; }, - Hra: function (m) { + Ara: function (m) { d = m; }, - Y4b: function () { + c5b: function () { return { all: g, - j6a: h + l6a: h }; } }); - q.exports = { + r.exports = { STARTING: c, BUFFERING: c, REBUFFERING: c, PLAYING: c, PAUSED: c }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -92466,30 +92359,30 @@ a000.D9b = function () { value: !0 } }); - b.nB = void 0; + b.oB = void 0; c = a(19); f = a(150); k = a(6); - b.nB = function (l, d, g, h, m, n) { - var r; - c.ka && h.trace("AsePlaygraph.createRequestQueue()"); - r = f.cq.instance.nB(l, d.K, !0, !1, { - Xha: g.Xha + b.oB = function (l, d, g, h, m, n) { + var q; + c.ia && h.trace("AsePlaygraph.createRequestQueue()"); + q = f.gq.instance.oB(l, d.K, !0, !1, { + Rha: g.Rha }, g); - r.Ag.on(r, "networkfailing", function () { + q.zg.on(q, "networkfailing", function () { var p; - c.ka && h.trace("requestQueue OnNetworkFailing: ", r); - r.s2 && (k.assert(r.RS), null === (p = d.jp) || void 0 === p ? void 0 : p.hr(r.RS, void 0, r.Og, r.Ri)); - d.qo(); + c.ia && h.trace("requestQueue OnNetworkFailing: ", q); + q.t2 && (k.assert(q.QS), null === (p = d.kp) || void 0 === p ? void 0 : p.jr(q.QS, void 0, q.Mg, q.Oi)); + d.ro(); }); - r.Ag.on(r, "error", function () { - n(r.Og, r.Ri); + q.zg.on(q, "error", function () { + n(q.Mg, q.Oi); }); - r.on("transportreport", m); - r.mb(); - return r; + q.on("transportreport", m); + q.mb(); + return q; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -92500,143 +92393,143 @@ a000.D9b = function () { value: !0 } }); - b.zCa = b.L$a = void 0; + b.xCa = b.O$a = void 0; c = a(2); - f = c.__importDefault(a(4)); + f = c.__importDefault(a(5)); k = a(19); - l = a(888); + l = a(890); d = a(9); - q = (function () { + r = (function () { return function (g, h, m) { var n; this.I = h; - m = d.Ys(f.default, m, "[" + g + "]"); - this.TYa = 1 === g ? h.z5 : h.s5; - n = f.default.Mn()[g]; - this.xU = 1 === g ? h.cIb : h.NHb; - this.xU = Math.min(h.UHb * n, this.xU); - k.ka && m.trace("This pipeline's buffer size ", n, this.xU); - this.v5 = (1 === g ? h.aM : h.XL) || h.v5; - this.b5 = (1 === g ? h.bIb : h.MHb) || h.b5; - this.Dea = h.Dea; + m = d.Yq(f.default, m, "[" + g + "]"); + this.QYa = 1 === g ? h.z5 : h.s5; + n = f.default.Nn()[g]; + this.wU = 1 === g ? h.fIb : h.QHb; + this.wU = Math.min(h.XHb * n, this.wU); + k.ia && m.trace("This pipeline's buffer size ", n, this.wU); + this.v5 = (1 === g ? h.cM : h.ZL) || h.v5; + this.b5 = (1 === g ? h.eIb : h.PHb) || h.b5; + this.xea = h.xea; }; })(); - b.L$a = q; - q = (function (g) { - function h(m, n, r) { - return g.call(this, m, n, r) || this; + b.O$a = r; + r = (function (g) { + function h(m, n, q) { + return g.call(this, m, n, q) || this; } c.__extends(h, g); - h.prototype.Ezb = function (m, n, r, p) { - var u, - t, + h.prototype.Izb = function (m, n, q, p) { + var t, + u, w, v, x; - w = n === r.Vd.index; - v = n === r.nf.index; - if (!v || w && r.Vd.na) { + w = n === q.Ud.index; + v = n === q.nf.index; + if (!v || w && q.Ud.na) { if (w) { - x = m.gTa(r.Vd); - x.rN(r.Vd.Ot); - v && (r.Vd.na || r.nf.na) && x.th({ - start: null === (u = x.na) || void 0 === u ? void 0 : u.start, - end: null === (t = r.nf.na) || void 0 === t ? void 0 : t.end + x = m.gTa(q.Ud); + x.sN(q.Ud.Ut); + v && (q.Ud.na || q.nf.na) && x.sh({ + start: null === (t = x.na) || void 0 === t ? void 0 : t.start, + end: null === (u = q.nf.na) || void 0 === u ? void 0 : u.end }); } else x = m.nk(n); - } else (x = m.gTa(r.nf), x.rN(r.nf.Ot)); - x.fM = n + 1; - if (u = l.eUa(r, r.oc)) - (k.ka && r.sm("getFragmentForRequest pts:", r.oc, "in region:", u, "previous region:", r.vma), l.BQa(r.H, x, u, { - HEb: w, - MEb: v, - TEb: void 0 === r.vma || r.vma !== u.region + } else (x = m.gTa(q.nf), x.sN(q.nf.Ut)); + x.gM = n + 1; + if (t = l.eUa(q, q.tc)) + (k.ia && q.rm("getFragmentForRequest pts:", q.tc, "in region:", t, "previous region:", q.pma), l.zQa(q.H, x, t, { + MEb: w, + REb: v, + YEb: void 0 === q.pma || q.pma !== t.region })); - v && (x.cYa(), x.mSb(r.ub.P)); - if (x.fM !== n && !p && (this.Dea || !x.na)) - for (++n; n < m.Y.length && n < r.nf.index && (x.ca < this.TYa || x.duration < this.v5) && (1 === x.stream.zg.length || this.Knb(m, n)); ++n) { + v && (x.aYa(), x.pSb(q.yb.P)); + if (x.gM !== n && !p && (this.xea || !x.na)) + for (++n; n < m.Y.length && n < q.nf.index && (x.da < this.QYa || x.duration < this.v5) && (1 === x.stream.yg.length || this.Lnb(m, n)); ++n) { p = m.nk(n); - if (l.hWa(r, p)) + if (l.fWa(q, p)) break; if (x.duration + p.duration > this.b5) break; - if (x.ca + p.ca > this.xU) + if (x.da + p.da > this.wU) break; - x.LLa(p); - x.fM = n + 1; - k.ka && r.sm("getFragmentForRequest: extended fragment startPts:", x.Z, "to duration:", x.duration, "size:", x.ca, "min request size:", this.TYa, "max request size:", this.xU, "min request duration:", this.v5, "max request duration:", this.b5, "edit:", x.na); + x.KLa(p); + x.gM = n + 1; + k.ia && q.rm("getFragmentForRequest: extended fragment startPts:", x.X, "to duration:", x.duration, "size:", x.da, "min request size:", this.QYa, "max request size:", this.wU, "min request duration:", this.v5, "max request duration:", this.b5, "edit:", x.na); } - k.ka && r.sm("getFragmentForRequest(" + n + ") returning:", x, "stream:", x.stream, "firstRequestInRegion:", x.Uia, "lastRequestInRegion:", x.ov, "nextIndex:", x.fM); + k.ia && q.rm("getFragmentForRequest(" + n + ") returning:", x, "stream:", x.stream, "firstRequestInRegion:", x.Nia, "lastRequestInRegion:", x.uv, "nextIndex:", x.gM); return x; }; - h.prototype.Knb = function (m, n) { - return !m.zg.some(function (r) { - return n === r.kf; + h.prototype.Lnb = function (m, n) { + return !m.yg.some(function (q) { + return n === q.kf; }); }; return h; - })(q); - b.zCa = q; - }, function (q, b, a) { + })(r); + b.xCa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.BQa = b.JEb = b.hWa = b.eUa = void 0; + b.zQa = b.OEb = b.fWa = b.eUa = void 0; c = a(30); b.eUa = function (f, k) { - if ((f = f.ub.P.Qv) && 0 !== f.length) + if ((f = f.yb.P.Vv) && 0 !== f.length) return c.wg(f, function (l) { - return l.Xc.V <= k && k < l.Md.V; + return l.Wc.V <= k && k < l.Kd.V; }); }; - b.hWa = function (f, k) { - return k.index === f.Vd.index ? !0 : (f = f.ub.P.Qv) && 0 !== f.length ? f.some(function (l) { - l = l.Xc; - return k.Xc.Fy(l) && l.lessThan(k.Md); + b.fWa = function (f, k) { + return k.index === f.Ud.index ? !0 : (f = f.yb.P.Vv) && 0 !== f.length ? f.some(function (l) { + l = l.Wc; + return k.Wc.Iy(l) && l.lessThan(k.Kd); }) : !1; }; - b.JEb = function (f, k) { - return k.index === f.nf.index ? !0 : (f = f.ub.P.Qv) && 0 !== f.length ? f.some(function (l) { - l = l.Md; - return k.Xc.lessThan(l) && l.Fy(k.Md); + b.OEb = function (f, k) { + return k.index === f.nf.index ? !0 : (f = f.yb.P.Vv) && 0 !== f.length ? f.some(function (l) { + l = l.Kd; + return k.Wc.lessThan(l) && l.Iy(k.Kd); }) : !1; }; - b.BQa = function (f, k, l, d) { + b.zQa = function (f, k, l, d) { var g, h, m, n, - r, + q, p, - u, - t; + t, + u; f = null === (g = k.na) || void 0 === g ? void 0 : g.start; g = null === (h = k.na) || void 0 === h ? void 0 : h.end; - t = h = !1; - if ((null === d || void 0 === d ? 0 : d.TEb) || (null === d || void 0 === d || !d.HEb) && k.Xc.lessThan(l.Xc)) { - if (u = k.Lia(l.Xc.V)) - (u = (null !== (n = null === (m = k.na) || void 0 === m ? void 0 : m.start) && void 0 !== n ? n : 0) + u.zk, f = Math.max(null !== f && void 0 !== f ? f : 0, u)); - u = l.Xc.V; + u = h = !1; + if ((null === d || void 0 === d ? 0 : d.YEb) || (null === d || void 0 === d || !d.MEb) && k.Wc.lessThan(l.Wc)) { + if (t = k.Eia(l.Wc.V)) + (t = (null !== (n = null === (m = k.na) || void 0 === m ? void 0 : m.start) && void 0 !== n ? n : 0) + t.Ak, f = Math.max(null !== f && void 0 !== f ? f : 0, t)); + t = l.Wc.V; h = !0; } - if ((null === d || void 0 === d || !d.MEb) && k.Md.greaterThan(l.Md)) { - if (u = k.Lia(l.Md.V)) - (u = (null !== (p = null === (r = k.na) || void 0 === r ? void 0 : r.start) && void 0 !== p ? p : 0) + u.zk, g = Math.min(null !== g && void 0 !== g ? g : Infinity, u), k.fM = k.index); - u = l.Md.V; - t = !0; + if ((null === d || void 0 === d || !d.REb) && k.Kd.greaterThan(l.Kd)) { + if (t = k.Eia(l.Kd.V)) + (t = (null !== (p = null === (q = k.na) || void 0 === q ? void 0 : q.start) && void 0 !== p ? p : 0) + t.Ak, g = Math.min(null !== g && void 0 !== g ? g : Infinity, t), k.gM = k.index); + t = l.Kd.V; + u = !0; } - void 0 === f && void 0 === g || k.th({ + void 0 === f && void 0 === g || k.sh({ start: f, end: g }); - void 0 !== u && (!k.Ot || u > k.Ot) && (k.rN(u), k.na || k.th({})); - k.kSb(l.region, h, t); + void 0 !== t && (!k.Ut || t > k.Ut) && (k.sN(t), k.na || k.sh({})); + k.nSb(l.region, h, u); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -92645,187 +92538,187 @@ a000.D9b = function () { value: !0 } }); - b.YDa = void 0; + b.WDa = void 0; c = a(2); - f = a(414); + f = a(418); k = a(6); - q = (function () { + r = (function () { function l(d) { var g, h, m, n, - r, + q, p, - u, - t; + t, + u; g = this; h = d.console; m = d.config; n = d.N; - r = d.Ne; + q = d.Pe; p = d.P; - u = d.Xc; - t = d.Md; + t = d.Wc; + u = d.Kd; d = d.splice; - this.Gla = this.QR = !1; - this.PNa = function () { - g.QR || g.NLa() && g.xZa(); + this.Bla = this.RR = !1; + this.ONa = function () { + g.RR || g.MLa() && g.uZa(); }; this.console = h; this.config = m; - this.Ne = r; + this.Pe = q; this.N = n; this.P = p; - this.Xc = u; - this.Md = t; + this.Wc = t; + this.Kd = u; this.splice = d; } l.prototype.mb = function (d) { - if (this.QR) + if (this.RR) throw Error("Cannot call init() after cleanup"); - if (this.Gla) + if (this.Bla) throw Error("Cannot call init() twice"); - this.Gla = !0; - this.$Za = d; - this.N.KB.addListener("onHeaderFragments", this.PNa); - this.NLa() && this.xZa(); + this.Bla = !0; + this.ZZa = d; + this.N.MB.addListener("onHeaderFragments", this.ONa); + this.MLa() && this.uZa(); }; - l.prototype.RPb = function (d, g) { - k.assert(this.Gla, "expected to be called init() before renormalize"); + l.prototype.WPb = function (d, g) { + k.assert(this.Bla, "expected to be called init() before renormalize"); this.P = d; - this.Md = g; - d = f.Nqa(this.config, this.Ne, this.Md); + this.Kd = g; + d = f.Iqa(this.config, this.Pe, this.Kd); this.R5(); return d; }; - l.prototype.Ic = function () { - this.QR || (this.QR = !0, this.$Za = void 0, this.N.KB.removeListener("onHeaderFragments", this.PNa)); + l.prototype.Kc = function () { + this.RR || (this.RR = !0, this.ZZa = void 0, this.N.MB.removeListener("onHeaderFragments", this.ONa)); }; - l.prototype.xZa = function () { + l.prototype.uZa = function () { var d, g, h; - if (!this.QR) { - g = this.NJb(); + if (!this.RR) { + g = this.PJb(); h = !1; - this.P && !this.P.iM && (h = this.R5()); - null === (d = this.$Za) || void 0 === d ? void 0 : d.call(this, g, h); - this.Ic(); + this.P && !this.P.kM && (h = this.R5()); + null === (d = this.ZZa) || void 0 === d ? void 0 : d.call(this, g, h); + this.Kc(); } }; - l.prototype.NLa = function () { - return this.Ne.every(function (d) { - return d.track.ye; + l.prototype.MLa = function () { + return this.Pe.every(function (d) { + return d.track.Ae; }); }; - l.prototype.NJb = function () { + l.prototype.PJb = function () { var d, g; - d = c.__read(f.yZa(this.config, this.Ne, this.Xc, this.Md, this.splice), 2); + d = c.__read(f.vZa(this.config, this.Pe, this.Wc, this.Kd, this.splice), 2); g = d[0]; - return d[1] || void 0 === this.Ne.Ra(1) && g; + return d[1] || void 0 === this.Pe.Sa(1) && g; }; l.prototype.R5 = function () { var d, g, h; k.assert(this.P); - k.assert(!this.P.iM); - d = this.Ne.DV; - g = f.AZa(this.config, d, this.P.uh); - if (void 0 === g || void 0 === d.Md) + k.assert(!this.P.kM); + d = this.Pe.CV; + g = f.yZa(this.config, d, this.P.th); + if (void 0 === g || void 0 === d.Kd) return !1; - d = d.Md; - h = this.config.Tta ? f.dYa(this.console, this.P, this.Ne) : []; + d = d.Kd; + h = this.config.Ota ? f.bYa(this.console, this.P, this.Pe) : []; this.P.normalize(g, d, h); return !0; }; return l; })(); - b.YDa = q; - }, function (q, b, a) { + b.WDa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.XDa = void 0; + b.VDa = void 0; c = a(6); - q = (function () { + r = (function () { function f(k) { var l; l = this; void 0 === k && (k = []); - this.Ne = k; + this.Pe = k; k.forEach(function (d) { - return l.Lta(d); + return l.Gta(d); }); } Object.defineProperties(f.prototype, { length: { get: function () { - return this.Ne.length; + return this.Pe.length; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(f.prototype, { - DV: { + CV: { get: function () { var k; - return null !== (k = this.dua) && void 0 !== k ? k : this.$ea; + return null !== (k = this.$ta) && void 0 !== k ? k : this.Tea; }, enumerable: !1, configurable: !0 } }); - f.prototype.Ra = function (k) { - return 1 === k ? this.dua : this.$ea; + f.prototype.Sa = function (k) { + return 1 === k ? this.$ta : this.Tea; }; f.prototype.every = function (k) { - return this.Ne.every(k); + return this.Pe.every(k); }; f.prototype.some = function (k) { - return this.Ne.some(k); + return this.Pe.some(k); }; f.prototype.forEach = function (k) { - this.Ne.forEach(k); + this.Pe.forEach(k); }; f.prototype.reduce = function (k, l) { - return this.Ne.reduce(k, l); + return this.Pe.reduce(k, l); }; f.prototype.filter = function (k) { - return new f(this.Ne.filter(k)); + return new f(this.Pe.filter(k)); }; f.prototype.replace = function (k, l) { var d; - d = this.Ne.indexOf(k); + d = this.Pe.indexOf(k); c.assert(-1 < d); c.assert(k.mediaType === l.mediaType); - this.Ne[d] = l; - this.Lta(l); + this.Pe[d] = l; + this.Gta(l); }; f.prototype.V2a = function (k, l) { - (k = this.Ra(k)) ? this.replace(k, l) : this.add(l); + (k = this.Sa(k)) ? this.replace(k, l) : this.add(l); }; f.prototype.add = function (k) { - this.Ne.push(k); - this.Lta(k); + this.Pe.push(k); + this.Gta(k); }; f.prototype.clear = function () { - this.Ne = []; - this.$ea = this.dua = void 0; + this.Pe = []; + this.Tea = this.$ta = void 0; }; - f.prototype.Lta = function (k) { - 1 === k.mediaType ? this.dua = k : this.$ea = k; + f.prototype.Gta = function (k) { + 1 === k.mediaType ? this.$ta = k : this.Tea = k; }; return f; })(); - b.XDa = q; - }, function (q, b, a) { + b.VDa = r; + }, function (r, b, a) { var c, f, k, @@ -92840,120 +92733,112 @@ a000.D9b = function () { value: !0 } }); - b.DBa = void 0; + b.BBa = void 0; c = a(2); - q = c.__importDefault(a(110)); - f = c.__importDefault(a(4)); - k = a(249); - l = a(250); - d = q.default.f1; - g = q.default.Hob; - h = q.default.lRa; - m = q.default.Xvb; - n = q.default.VQb; + r = c.__importDefault(a(110)); + f = c.__importDefault(a(5)); + k = a(250); + l = a(251); + d = r.default.h1; + g = r.default.Iob; + h = r.default.kRa; + m = r.default.cwb; + n = r.default.$Qb; new f.default.Console("ASEJS_PREDICTOR", "media|asejs"); - a = (function (r) { + a = (function (q) { var q70; q70 = 2; for (; q70 !== 5; ) { switch (q70) { case 2: - c.__extends(p, r); + c.__extends(p, q); return p; break; case 3: - c.__extends(p, r); + c.__extends(p, q); return p; break; q70 = 5; break; } } - function p(u, t) { + function p(t, u) { var r70, w; r70 = 2; for (; r70 !== 12; ) { switch (r70) { case 3: - w.xmb = d(u.hs.threshold || 6E3, 1, 1E5); - w.rmb = d(u.hs.gamma || 1, .1, 10); - w.filter = u.hs.filter; - r70 = 7; + w.xmb = d(t.ls.threshold || 6E3, 1, 1E5); + w.rmb = d(t.ls.gamma || 1, .1, 10); + w.filter = t.ls.filter; + w.mTb = !!t.ls.simpleScaling; + r70 = 6; break; case 2: - w = r.call(this, u, t) || this; - w.AC = function (v, x) { + w = q.call(this, t, u) || this; + w.CC = function (v, x) { var s70; s70 = 2; for (; s70 !== 1; ) { switch (s70) { + case 2: + return l.CC(w.config, v, x); + break; case 4: - return l.AC(w.config, v, x); + return l.CC(w.config, v, x); break; s70 = 1; break; - case 2: - return l.AC(w.config, v, x); - break; } } }; - w.C6 = function (v, x, y) { + w.A6 = function (v, x, y) { var t70, z, - B, A, + B, C, E, - F; + G; t70 = 2; for (; t70 !== 13; ) { switch (t70) { - case 2: - y = null !== y && void 0 !== y ? y : w.PL; - F = null !== (B = null === (z = v.Oa) || void 0 === z ? void 0 : z.Ea) && void 0 !== B ? B : 0; - z = null !== (C = null === (A = v[w.filter]) || void 0 === A ? void 0 : A.Ea) && void 0 !== C ? C : F; - A = Math.pow(Math.max(1 - z / w.xmb, 0), w.rmb); - C = x.Hl - x.qc; - t70 = 8; + case 3: + B = Math.pow(Math.max(1 - z / w.xmb, 0), w.rmb); + C = x.Gl - x.vc; + w.mTb ? (x = h(w.xPa, C, 1), C = h(w.wPa, C, 1), x = x * B + C * (1 - B)) : x = h(n(w.xPa, w.wPa, B), C, 1); + v = w.pZa && (null === (E = v[w.pZa]) || void 0 === E ? void 0 : E.WU); + void 0 !== v && (E = m(w.JJb, v), x = Math.min(x * E, 1)); + a000.Q1q(18); + return w.bQa(a000.P1q(x, G, 1), y); break; - case 8: - w.jTb ? (x = h(w.yPa, C, 1), C = h(w.xPa, C, 1), x = x * A + C * (1 - A)) : x = h(n(w.yPa, w.xPa, A), C, 1); - v = w.sZa && (null === (E = v[w.sZa]) || void 0 === E ? void 0 : E.XU); - void 0 !== v && (E = m(w.HJb, v), x = Math.min(x * E, 1)); - a000.D9b(15); - return w.eQa(a000.Q9b(x, F, 1), y); + case 2: + y = null !== y && void 0 !== y ? y : w.RL; + G = null !== (A = null === (z = v.Oa) || void 0 === z ? void 0 : z.Fa) && void 0 !== A ? A : 0; + z = null !== (C = null === (B = v[w.filter]) || void 0 === B ? void 0 : B.Fa) && void 0 !== C ? C : G; + t70 = 3; break; } } }; - Array.isArray(u.hs.curves) && (w.yPa = g(u.hs.curves[0], 0, 0, 1), w.xPa = g(u.hs.curves[1], 0, 0, 1)); + Array.isArray(t.ls.curves) && (w.xPa = g(t.ls.curves[0], 0, 0, 1), w.wPa = g(t.ls.curves[1], 0, 0, 1)); r70 = 3; break; - case 14: - var V9u = "1"; - V9u += "SIY"; - V9u += "bZ"; - V9u += "rN"; - V9u += "JCp9"; - V9u; - return w; - break; - case 7: - w.jTb = !!u.hs.simpleScaling; - r70 = 6; - break; case 6: - u.hs.niqrfilter && u.hs.niqrcurve && (w.sZa = u.hs.niqrfilter, w.HJb = g(u.hs.niqrcurve, 1, 0, 4)); - r70 = 14; + var H6q = "1"; + H6q += "SIYbZrNJ"; + H6q += "Cp9"; + t.ls.niqrfilter && t.ls.niqrcurve && (w.pZa = t.ls.niqrfilter, w.JJb = g(t.ls.niqrcurve, 1, 0, 4)); + H6q; + return w; break; } } } - })(k.IH); - b.DBa = a; - }, function (q, b, a) { + })(k.QH); + b.BBa = a; + }, function (r, b, a) { var c, f, k; @@ -92962,72 +92847,19 @@ a000.D9b = function () { value: !0 } }); - b.pGa = void 0; + b.lGa = void 0; c = a(2); - q = c.__importDefault(a(4)); - f = a(249); - k = a(250); - new q.default.Console("ASEJS_PREDICTOR", "media|asejs"); + r = c.__importDefault(a(5)); + f = a(250); + k = a(251); + new r.default.Console("ASEJS_PREDICTOR", "media|asejs"); a = (function (l) { - function d(g, h) { - var v70, - m; - v70 = 2; - for (; v70 !== 9; ) { - switch (v70) { - case 5: - var K9u = "1SIY"; - K9u += "bZ"; - K9u += "rN"; - K9u += "JCp9"; - m.C6 = function (n, r, p) { - var x70, - u; - x70 = 2; - for (; x70 !== 3; ) { - switch (x70) { - case 2: - p = null !== p && void 0 !== p ? p : m.PL; - u = d.ZSb(n, m.config); - n = n.Oa ? n.Oa.Ea * (100 - m.vyb(r, u)) / 100 | 0 : 0; - return m.eQa(n, p); - break; - } - } - }; - K9u; - return m; - break; - case 2: - m = l.call(this, g, h) || this; - m.AC = function (n, r) { - var w70; - w70 = 2; - for (; w70 !== 1; ) { - switch (w70) { - case 4: - return k.AC(m.config, n, r); - break; - w70 = 1; - break; - case 2: - return k.AC(m.config, n, r); - break; - } - } - }; - v70 = 5; - break; - } - } - } var u70; u70 = 2; for (; u70 !== 3; ) { switch (u70) { - case 2: - c.__extends(d, l); - d.ZSb = function (g, h) { + case 1: + d.bTb = function (g, h) { var y70, m, n; @@ -93035,14 +92867,14 @@ a000.D9b = function () { for (; y70 !== 4; ) { switch (y70) { case 2: - n = !!g.Wq; - h.Tsa && (null === (m = g.Oa) || void 0 === m ? void 0 : m.Ea) < h.XR && (n = !0); + n = !!g.Vq; + h.Osa && (null === (m = g.Oa) || void 0 === m ? void 0 : m.Fa) < h.YR && (n = !0); return n; break; } } }; - d.prototype.vyb = function (g, h) { + d.prototype.Ayb = function (g, h) { var z70, m, n; @@ -93050,12 +92882,9 @@ a000.D9b = function () { for (; z70 !== 3; ) { switch (z70) { case 2: - (m = this.config, n = h ? m.Aga : m.ifa); - h = h ? m.Bga : m.kfa; - z70 = 5; - break; - case 5: - Array.isArray(h) && (n = k.kRa(h, g.Hl - g.qc, m.jfa)); + (m = this.config, n = h ? m.uga : m.bfa); + h = h ? m.vga : m.dfa; + Array.isArray(h) && (n = k.jRa(h, g.Gl - g.vc, m.cfa)); return n; break; } @@ -93063,36 +92892,86 @@ a000.D9b = function () { }; return d; break; + case 2: + c.__extends(d, l); + u70 = 1; + break; } } - })(f.IH); - b.pGa = a; - }, function (q, b) { + function d(g, h) { + var v70, + m; + v70 = 2; + for (; v70 !== 9; ) { + switch (v70) { + case 2: + m = l.call(this, g, h) || this; + m.CC = function (n, q) { + var w70; + w70 = 2; + for (; w70 !== 1; ) { + switch (w70) { + case 2: + return k.CC(m.config, n, q); + break; + } + } + }; + v70 = 5; + break; + case 5: + var t6q = "1SIYbZ"; + t6q += "rNJC"; + t6q += "p9"; + m.A6 = function (n, q, p) { + var x70, + t; + x70 = 2; + for (; x70 !== 3; ) { + switch (x70) { + case 2: + p = null !== p && void 0 !== p ? p : m.RL; + t = d.bTb(n, m.config); + n = n.Oa ? n.Oa.Fa * (100 - m.Ayb(q, t)) / 100 | 0 : 0; + return m.bQa(n, p); + break; + } + } + }; + t6q; + return m; + break; + } + } + } + })(f.QH); + b.lGa = a; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.qAa = void 0; - q = (function () { + b.oAa = void 0; + r = (function () { function a(c, f, k, l, d, g, h, m) { - this.ub = c; + this.yb = c; this.gNa = f; this.config = k; this.console = l; this.mediaType = d; - this.qb = g; + this.ub = g; this.Na = h; this.Nb = m; - this.fq = this.yh = !1; + this.hq = this.wh = !1; } - a.prototype.$J = function (c, f) { - !this.ub.P.Pt || this.Nb.pJ || this.Nb.N_ && !this.config.Eea || (c -= this.ub.Ke, this.yh && !this.fq && c + this.config.V4a >= f && 0 === this.Na.sC && 0 === this.Na.Ar && 0 === this.Na.xOb && (f = this.Nb.me.N.Db, c = this.Nb.cL(), f + 1 < c || (this.gNa[this.mediaType].w4a || this.qb.Bhb(this.mediaType), this.fq = !0, this.gNa[this.mediaType].W5()))); + a.prototype.dK = function (c, f) { + !this.yb.P.Vt || this.Nb.rJ || this.Nb.Q_ || (c -= this.yb.Me, this.wh && !this.hq && c + this.config.X4a >= f && 0 === this.Na.uC && 0 === this.Na.Dr && 0 === this.Na.COb && (f = this.Nb.pe.N.Fb, c = this.Nb.fL(), f + 1 < c || (this.gNa[this.mediaType].y4a || this.ub.Chb(this.mediaType), this.hq = !0, this.gNa[this.mediaType].W5()))); }; return a; })(); - b.qAa = q; - }, function (q, b, a) { + b.oAa = r; + }, function (r, b, a) { var c, f, k; @@ -93101,35 +92980,35 @@ a000.D9b = function () { value: !0 } }); - b.oAa = void 0; + b.mAa = void 0; c = a(2); f = a(19); - q = a(417); - k = a(416); + r = a(421); + k = a(420); a = (function (l) { function d() { return null !== l && l.apply(this, arguments) || this; } c.__extends(d, l); - d.prototype.$tb = function (g) { + d.prototype.cub = function (g) { l.prototype.F4.call(this, { value: g }); }; - d.prototype.eWa = function () { + d.prototype.cWa = function () { return !0; }; - d.prototype.usa = function () {}; + d.prototype.osa = function () {}; d.prototype.F4 = function (g) { l.prototype.F4.call(this, g); - g.done && (g = this.IA.E1, f.ka && this.H.trace("Requests drained", { - w3b: g && g.P.id - }), (g = g && g.Ra(this.tg)) && g instanceof k.OY && g.$J(this.qg.Sja() || 0)); + g.done && (g = this.KA.G1, f.ia && this.H.trace("Requests drained", { + y3b: g && g.P.id + }), (g = g && g.Sa(this.tg)) && g instanceof k.NY && g.dK(this.qg.Lja() || 0)); }; return d; - })(q.t9); - b.oAa = a; - }, function (q, b, a) { + })(r.o9); + b.mAa = a; + }, function (r, b, a) { var c, f, k; @@ -93138,34 +93017,34 @@ a000.D9b = function () { value: !0 } }); - b.Iva = void 0; + b.Fva = void 0; c = a(2); f = a(176); k = a(19); - q = (function () { + r = (function () { function l(d, g, h) { this.H = d; - this.efb = g; + this.ffb = g; this.tg = h; - this.f_ = 0; - this.C_ = !1; + this.i_ = 0; + this.F_ = !1; this.YP = []; - this.ZD = void 0; - k.ka && d.trace("BranchRequestIterator [" + this.tg + "]: created"); + this.bE = void 0; + k.ia && d.trace("BranchRequestIterator [" + this.tg + "]: created"); } Object.defineProperties(l.prototype, { - Hsb: { + Jsb: { get: function () { - return this.f_; + return this.i_; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - E1: { + G1: { get: function () { - return this.DIa; + return this.BIa; }, enumerable: !1, configurable: !0 @@ -93174,16 +93053,16 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { tk: { get: function () { - return this.C_; + return this.F_; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(l.prototype, { - wPa: { + vPa: { get: function () { - return this.Mk ? this.Mk.Ay ? "Complete" : this.Mk.$pa ? "WaitingForBranch" : void 0 !== this.ZD && 0 !== this.ZD ? "In Policy " + this.YP[this.ZD].name : "WaitingForRequest" : "Uninitialized;Prior:" + this.BJa; + return this.Mk ? this.Mk.Dy ? "Complete" : this.Mk.Upa ? "WaitingForBranch" : void 0 !== this.bE && 0 !== this.bE ? "In Policy " + this.YP[this.bE].name : "WaitingForRequest" : "Uninitialized;Prior:" + this.zJa; }, enumerable: !1, configurable: !0 @@ -93201,95 +93080,102 @@ a000.D9b = function () { d = this.Mk; if (!d) return [3, 6]; - this.ZD = void 0; + this.bE = void 0; return [4, d.next()]; case 1: - (g = n.Oe(), h = 0, n.label = 2); + (g = n.Wd(), h = 0, n.label = 2); case 2: if (!(h < this.YP.length)) return [3, 5]; - this.ZD = h; + this.bE = h; m = this.YP[h]; return [4, m.process(g)]; case 3: - (g = n.Oe(), n.label = 4); + (g = n.Wd(), n.label = 4); case 4: return (h++, [3, 2]); case 5: - this.ZD = void 0; + this.bE = void 0; if (g.done || this.Mk !== d) return [2, { done: !0 } ]; - this.f_++; - g.value.iLa(); + this.i_++; + g.value.gLa(); return [2, { done: !1, value: g.value.value } ]; case 6: - return [2, f.AsyncIterator.Aka()]; + return [2, f.AsyncIterator.wka()]; } }); }); }; - l.prototype.zQb = function () { - this.d4a(); - this.SOb(); + l.prototype.EQb = function () { + this.e4a(); + this.XOb(); }; - l.prototype.d4a = function () { + l.prototype.e4a = function () { var d; if (this.Mk) { - this.BJa = this.wPa; + this.zJa = this.vPa; d = this.Mk; - d && d.kh(); + d && d.hh(); this.YP.forEach(function (g) { return g.reset(); }); - d && k.ka && this.H.trace("BranchRequestIterator [" + this.tg + "]: Disposing iterator that was on branch ", this.E1 && this.E1.P.id); - this.C_ = !1; - this.ZD = this.Mk = void 0; + d && k.ia && this.H.trace("BranchRequestIterator [" + this.tg + "]: Disposing iterator that was on branch ", this.G1 && this.G1.P.id); + this.F_ = !1; + this.bE = this.Mk = void 0; } }; l.prototype.Fkb = function (d) { this.YP.push(d); }; - l.prototype.SOb = function () { + l.prototype.XOb = function () { var d, g, h, m; d = this; - if (!this.C_) { + if (!this.F_) { g = this.H; - h = this.efb; + h = this.ffb; m = this.tg; - this.f_ = 0; - this.BJa = this.DIa = void 0; + this.i_ = 0; + this.zJa = this.BIa = void 0; this.Mk = f.flatten(f.map(h.nUa(), function (n) { - var r; - d.DIa = n; - d.f_ = 0; - k.ka && g.trace("BranchRequestIterator [" + d.tg + "]: new branch " + n.P.id); - r = n.AF(m); - if (r) - return { - value: r - }; - k.ka && g.error("BranchRequestIterator [" + d.tg + "]: skipping branch " + n.P.id); - return { - value: [] - }; + return c.__awaiter(d, void 0, void 0, function () { + var q; + return c.__generator(this, function (p) { + switch (p.label) { + case 0: + return (this.BIa = n, this.i_ = 0, k.ia && g.trace("BranchRequestIterator [" + this.tg + "]: new branch " + n.P.id), [4, n.FF(m)]); + case 1: + if (q = p.Wd()) + return [2, { + value: q + } + ]; + k.ia && g.error("BranchRequestIterator [" + this.tg + "]: skipping branch " + n.P.id); + return [2, { + value: [] + } + ]; + } + }); + }); }, g), g); - this.C_ = !0; + this.F_ = !0; } }; return l; })(); - b.Iva = q; - }, function (q, b, a) { + b.Fva = r; + }, function (r, b, a) { var c, f, k; @@ -93298,36 +93184,36 @@ a000.D9b = function () { value: !0 } }); - b.iFa = void 0; + b.fFa = void 0; c = a(2); - f = a(897); - k = a(898); - q = (function () { - function l(d, g, h, m, n, r, p, u) { + f = a(899); + k = a(900); + r = (function () { + function l(d, g, h, m, n, q, p, t) { this.mediaType = d; this.Ha = h; this.events = n; - this.$W = []; - 1 === this.mediaType && this.$W.push(new k.hGa(d, g, h, m, n, r, p, u, 2)); - this.$W.push(new f.IGa(d, g, h, m, n, r, p, "stream", 1)); + this.ZW = []; + 1 === this.mediaType && this.ZW.push(new k.dGa(d, g, h, m, n, q, p, t, 2)); + this.ZW.push(new f.EGa(d, g, h, m, n, q, p, "stream", 1)); } l.prototype.reset = function () { - this.$W.forEach(function (d) { + this.ZW.forEach(function (d) { return d.reset(); }); }; l.prototype.close = function () { - this.$W.forEach(function (d) { + this.ZW.forEach(function (d) { return d.close(); }); }; l.prototype.bi = function (d) { - return c.__read(this.$W, 1)[0].bi(d); + return c.__read(this.ZW, 1)[0].bi(d); }; return l; })(); - b.iFa = q; - }, function (q, b, a) { + b.fFa = r; + }, function (r, b, a) { var c, f, k; @@ -93336,45 +93222,45 @@ a000.D9b = function () { value: !0 } }); - b.IGa = void 0; + b.EGa = void 0; c = a(2); f = a(6); k = a(19); - q = (function (l) { + r = (function (l) { function d() { return null !== l && l.apply(this, arguments) || this; } c.__extends(d, l); - d.prototype.Ry = function (g) { + d.prototype.Uy = function (g) { var h, m; h = g.stream; - m = g.Ui; + m = g.Si; g = g.pf; f.assert(void 0 !== m); - this.uLa(h, m, g) && k.ka && this.trace("stream " + h.id + ", " + h.bitrate + "kbit/s @ " + m.V + "ms"); + this.sLa(h, m, g) && k.ia && this.trace("stream " + h.id + ", " + h.bitrate + "kbit/s @ " + m.V + "ms"); }; - d.prototype.GQa = function (g, h) { + d.prototype.EQa = function (g, h) { var m, n, - r; - n = g.rH; - r = this.Ha.dr(h); - f.assert(void 0 !== r); - k.ka && this.trace("emitStreamPresentingEvent @ " + g.timestamp.V + "ms for " + (null === n || void 0 === n ? void 0 : n.id) + ", " + ((null === n || void 0 === n ? void 0 : n.bitrate) + "kbit/s")); + q; + n = g.zH; + q = this.Ha.er(h); + f.assert(void 0 !== q); + k.ia && this.trace("emitStreamPresentingEvent @ " + g.timestamp.V + "ms for " + (null === n || void 0 === n ? void 0 : n.id) + ", " + ((null === n || void 0 === n ? void 0 : n.bitrate) + "kbit/s")); this.events.emit("streamPresenting", { type: "streamPresenting", mediaType: this.mediaType, playerTimestamp: h, - position: r, - trackIndex: null === (m = null === n || void 0 === n ? void 0 : n.track) || void 0 === m ? void 0 : m.EE, - streamIndex: null === n || void 0 === n ? void 0 : n.og + position: q, + trackIndex: null === (m = null === n || void 0 === n ? void 0 : n.track) || void 0 === m ? void 0 : m.GE, + streamIndex: null === n || void 0 === n ? void 0 : n.ng }); }; return d; - })(a(418).Zaa); - b.IGa = q; - }, function (q, b, a) { + })(a(422).Taa); + b.EGa = r; + }, function (r, b, a) { var c, f, k, @@ -93384,53 +93270,53 @@ a000.D9b = function () { value: !0 } }); - b.hGa = void 0; + b.dGa = void 0; c = a(2); f = a(19); k = a(6); l = a(9); - q = (function (d) { - function g(h, m, n, r, p, u, t, w, v) { - h = d.call(this, h, m, n, r, p, u, t, "segment", v) || this; - h.cw = w; + r = (function (d) { + function g(h, m, n, q, p, t, u, w, v) { + h = d.call(this, h, m, n, q, p, t, u, "segment", v) || this; + h.gw = w; return h; } c.__extends(g, d); - g.prototype.Ry = function (h) { + g.prototype.Uy = function (h) { var m, n, - r; - n = h.Ui; + q; + n = h.Si; h = h.pf; k.assert(void 0 !== n); - r = null === (m = this.Ha.dr(n)) || void 0 === m ? void 0 : m.va; - k.assert(void 0 !== r); - this.uLa(r, n, h) && f.ka && this.trace("segment " + r + " @ " + n.V + "ms"); + q = null === (m = this.Ha.er(n)) || void 0 === m ? void 0 : m.va; + k.assert(void 0 !== q); + this.sLa(q, n, h) && f.ia && this.trace("segment " + q + " @ " + n.V + "ms"); }; - g.prototype.GQa = function (h, m) { + g.prototype.EQa = function (h, m) { var n, - r; - n = h.rH; - r = this.Ha.dr(m); - k.assert(void 0 !== r); - f.ka && this.trace("emitSegmentPresentingEvent @ " + h.timestamp.V + "ms for segment " + n); - r.va !== n && (f.ka && this.console.warn("player position:", r, "not equal to trackedElement:", n), r = { + q; + n = h.zH; + q = this.Ha.er(m); + k.assert(void 0 !== q); + f.ia && this.trace("emitSegmentPresentingEvent @ " + h.timestamp.V + "ms for segment " + n); + q.va !== n && (f.ia && this.console.warn("player position:", q, "not equal to trackedElement:", n), q = { va: n, offset: l.S.hb }); h = { type: "segmentPresenting", playerTimestamp: m, - position: r + position: q }; - this.cw && (h.metrics = this.cw.Yja(n)); - f.ka && this.trace("segmentPresenting: " + JSON.stringify(h)); + this.gw && (h.metrics = this.gw.Sja(n)); + f.ia && this.trace("segmentPresenting: " + JSON.stringify(h)); this.events.emit(h.type, h); }; return g; - })(a(418).Zaa); - b.hGa = q; - }, function (q, b, a) { + })(a(422).Taa); + b.dGa = r; + }, function (r, b, a) { var c, f, k; @@ -93439,14 +93325,14 @@ a000.D9b = function () { value: !0 } }); - b.uya = void 0; + b.sya = void 0; c = a(2); f = a(19); - k = a(67); - q = (function () { + k = a(68); + r = (function () { function l(d, g, h) { - this.Df = d; - this.RIb = g; + this.Ff = d; + this.TIb = g; this.H = h; } Object.defineProperties(l.prototype, { @@ -93460,9 +93346,9 @@ a000.D9b = function () { }); l.prototype.waitUntil = function (d) { var g; - d = k.hua(this.Df, d, !0); + d = k.eua(this.Ff, d, !0); g = d.promise; - this.Qjb = d.vr; + this.Qjb = d.yr; return g; }; l.prototype.process = function (d) { @@ -93475,13 +93361,13 @@ a000.D9b = function () { if (d.done) return [3, 2]; g = d.value.value; - if (!g.Uia) + if (!g.Nia) return [3, 2]; - h = g.Ui.Ba(this.RIb); - f.ka && this.H.trace("[" + g.mediaType + "] JIT: waiting until playertime >= " + h.V, "to append next request " + g.toString()); + h = g.Si.Da(this.TIb); + f.ia && this.H.trace("[" + g.mediaType + "] JIT: waiting until playertime >= " + h.V, "to append next request " + g.toString()); return [4, this.waitUntil(h)]; case 1: - (m.Oe(), f.ka && this.H.trace("[" + g.mediaType + "] JIT: now appending request " + g.toString()), m.label = 2); + (m.Wd(), f.ia && this.H.trace("[" + g.mediaType + "] JIT: now appending request " + g.toString()), m.label = 2); case 2: return [2, d]; } @@ -93490,42 +93376,42 @@ a000.D9b = function () { }; l.prototype.reset = function () { var d; - null === (d = this.Qjb) || void 0 === d ? void 0 : d.wb(); + null === (d = this.Qjb) || void 0 === d ? void 0 : d.zb(); }; return l; })(); - b.uya = q; - }, function (q, b) { + b.sya = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.bGa = void 0; - q = (function () { - function a(c, f, k, l, d, g, h, m, n, r) { + b.YFa = void 0; + r = (function () { + function a(c, f, k, l, d, g, h, m, n, q) { var p; p = this; this.id = c; this.N = f; - this.Z = k; - this.mS = d; + this.X = k; + this.lS = d; this.Xk = g; - this.Pt = h; - this.av = m; - this.bo = n; - this.Yd = r; - this.jL = function (u) { - var t, + this.Vt = h; + this.fv = m; + this.co = n; + this.ie = q; + this.mL = function (t) { + var u, w; - return (null === (w = null === (t = p.Xk) || void 0 === t ? void 0 : t[u]) || void 0 === w ? void 0 : w.LVb) || p.Yd; + return (null === (w = null === (u = p.Xk) || void 0 === u ? void 0 : u[t]) || void 0 === w ? void 0 : w.NVb) || p.ie; }; - this.Aa = l || Infinity; + this.Ca = l || Infinity; } Object.defineProperties(a.prototype, { - da: { + $: { get: function () { - return this.N.da; + return this.N.$; }, enumerable: !1, configurable: !0 @@ -93541,29 +93427,29 @@ a000.D9b = function () { g; return !(null === (g = null === (d = c.Xk) || void 0 === d ? void 0 : d[l]) || void 0 === g || !g.weight); }); - return k.length ? null !== (f = k.map(this.jL).reduce(function (l, d) { + return k.length ? null !== (f = k.map(this.mL).reduce(function (l, d) { return l === d ? d : void 0; - })) && void 0 !== f ? f : this.Yd : this.Yd; + })) && void 0 !== f ? f : this.ie : this.ie; }; a.prototype.toString = function () { - return "segmentId: " + this.id + " playlistSegmentId: " + this.bo + " viewableId: " + this.N.da + " pts: " + this.Z + "-" + this.Aa + " defaultKey: " + this.mS + " dests: " + JSON.stringify(this.Xk) + " terminal: " + !!this.Pt; + return "segmentId: " + this.id + " playlistSegmentId: " + this.co + " viewableId: " + this.N.$ + " pts: " + this.X + "-" + this.Ca + " defaultKey: " + this.lS + " dests: " + JSON.stringify(this.Xk) + " terminal: " + !!this.Vt; }; a.prototype.toJSON = function () { return { id: this.id, - viewable: this.N.da, - "startPts:": this.Z, - endPts: this.Aa, - defaultKey: this.mS, + viewable: this.N.$, + "startPts:": this.X, + endPts: this.Ca, + defaultKey: this.lS, "dests:": this.Xk, - terminal: !!this.Pt, - playlistSegmentId: this.bo + terminal: !!this.Vt, + playlistSegmentId: this.co }; }; return a; })(); - b.bGa = q; - }, function (q, b, a) { + b.YFa = r; + }, function (r, b, a) { var c, f, k, @@ -93575,169 +93461,272 @@ a000.D9b = function () { value: !0 } }); - b.Hua = void 0; - q = a(2); - c = q.__importStar(a(10)); + b.Eua = void 0; + r = a(2); + c = r.__importStar(a(10)); f = a(178); - k = q.__importDefault(a(902)); - l = a(387); - d = q.__importDefault(a(27)); - g = q.__importDefault(a(4)); + k = r.__importDefault(a(904)); + l = a(391); + d = r.__importDefault(a(27)); + g = r.__importDefault(a(5)); a = (function () { var A70; A70 = 2; for (; A70 !== 27; ) { switch (A70) { - case 7: - h.prototype.ekb = function (m, n, r, p, u, t) { - var L70, + case 20: + h.prototype.Lwb = function (m) { + var T70, + n, + q, + p, + t, + u, + v, + x, w; - L70 = 2; - for (; L70 !== 5; ) { - switch (L70) { + T70 = 2; + for (; T70 !== 25; ) { + switch (T70) { case 2: - w = this.I; - w.Q8 && this.qib(n) || !r || !p || !(r = t ? Math.min(r, p, t) : Math.min(r, p)) || (this.Jf.get(), p = this.fb.Ga, m = p.Ru(p.Cc, m), n.track.Us() && m > w.ufa && r === u ? (w.set ? (w.set({ - pipelineEnabled: !0 - }), w.set({ - maxParallelConnections: 1 - }), w.set({ - maxActiveRequestsPerSession: 2 - }), w.set({ - maxPendingBufferLen: 500 - })) : (w.Fp = !0, w.QL = 1, w.uv = 2, w.fC = 500), n.track.S6({ - type: n.track.config.type, - connections: 1, - openRange: !1, - pipeline: !0, - socketBufferSize: w.WN, - minRequestSize: w.ZL - }), this.Usa++, w.Q8 && (this.Y_ = !0)) : w.Fp && !n.Us() && (m < w.tfa || r !== u) && (w.set ? (w.set({ - pipelineEnabled: !0 - }), w.set({ - maxParallelConnections: 3 - }), w.set({ - maxActiveRequestsPerSession: 3 - }), w.set({ - maxPendingBufferLen: 12E3 - })) : (w.Fp = !0, w.QL = 3, w.uv = 3, w.fC = 12E3), n.track.S6({ - type: n.config.type, - connections: 3, - openRange: !1, - pipeline: !0, - socketBufferSize: w.WN, - minRequestSize: w.ZL - }), this.Vsa++, w.Q8 && (this.Z_ = !0))); - L70 = 5; + var b6q = "startp"; + b6q += "l"; + b6q += "ay"; + var F6q = "log"; + F6q += "d"; + F6q += "ata"; + (n = {}, q = this.I, p = this.fb, t = { + type: F6q, + target: b6q, + fields: {} + }); + t.fields = n; + Object.keys(m).forEach(function (y) { + var U70; + U70 = 2; + for (; U70 !== 1; ) { + switch (U70) { + case 2: + n[y] = m[y]; + U70 = 1; + break; + } + } + }); + u = this.Kf.get(); + T70 = 3; + break; + case 12: + T70 = w ? 11 : 16; + break; + case 11: + v = function (y) { + var V70; + V70 = 2; + for (; V70 !== 1; ) { + switch (V70) { + case 2: + return c.ya(y) ? Number(y).toFixed(2) : -1; + break; + } + } + }; + u = [v(w.min || void 0), v(w.j6 || void 0), v(w.gl || void 0), v(w.Ij || void 0), v(w.il || void 0), v(w.k6 || void 0), v(w.max || void 0)]; + x = []; + T70 = 19; + break; + case 19: + w = c.isArray(w.ci) && w.ci.reduce(function (y, z) { + var W70, + A; + W70 = 2; + for (; W70 !== 3; ) { + switch (W70) { + case 2: + A = v(z.Sf || void 0); + z = v(z.n || void 0); + -1 < A && -1 < z && y.push({ + mean: A, + n: z + }); + return y; + break; + } + } + }, x); + n.histtdc = w; + T70 = 17; + break; + case 17: + n.histtd = u; + T70 = 16; + break; + case 26: + p.emit(t.type, t); + T70 = 25; + break; + case 6: + n.isLowEnd = this.TEb; + n.histdiscbw = this.OB; + w = this.nVa; + T70 = 12; + break; + case 3: + u && u.Oa && (u = u.Oa.Fa); + n.actualbw = u; + n.isConserv = this.Vq; + n.ccs = this.r1; + T70 = 6; + break; + case 16: + n.histage = this.oVa; + q.Tha && this.jJ && (n.ishighstable = this.Mca, n.avg_avtp = this.jJ.kmb, n.avg_ne = Number(this.jJ.lmb).toFixed(4)); + p.$b && (q = g.default.Nn(), n.maxAudioBufferAllowedBytes = q[d.default.Ra.Ob], n.maxVideoBufferAllowedBytes = q[d.default.Ra.Bb]); + T70 = 26; + break; + } + } + }; + h.prototype.Mwb = function (m) { + var X70, + n, + q, + p, + t, + u, + w, + v; + X70 = 2; + for (; X70 !== 6; ) { + switch (X70) { + case 2: + (n = this, q = this.I, p = this.Kf.get(), t = []); + [d.default.Ra.Bb, d.default.Ra.Ob].forEach(function (x) { + var Y70, + y; + Y70 = 2; + for (; Y70 !== 4; ) { + switch (Y70) { + case 1: + y = n.fb.sUa(x); + Y70 = 5; + break; + case 2: + Y70 = n.Yb(x) ? 1 : 4; + break; + case 5: + void 0 !== y && (x === d.default.Ra.Bb && (q.DK && (y.parallelDownloadMs = n.x_a, y.parallelDownloadBytes = n.w_a, y.singleDownloadMs = n.G3a, y.singleDownloadBytes = n.F3a, y.switchFromParallelToSingle = n.Psa, y.switchFromSingleToParallel = n.Qsa), p && p.confidence && p.Oa && (y.asetput = p.Oa, y.aseiqr = p.Ws, y.tdigest = p.Sj && p.Sj.qy() || void 0), p && p.avtp && (y.avtp = p.avtp.Fa)), t.push(y)); + Y70 = 4; + break; + } + } + }); + m.stat = t; + X70 = 4; + break; + case 4: + (u = 0, w = 0, v = 0); + p.confidence && (u = p.Oa ? p.Oa.Fa : 0, w = p.Ti ? p.Ti.Fa : 0, v = p.Vs ? p.Vs.Fa : 0); + m.location = { + responseTime: w, + httpResponseTime: v, + bandwidth: u, + confidence: p.confidence, + name: this.TXb + }; + this.DJa && (m.bt = { + startTime: this.km.startTime, + audioMs: this.km.vR, + videoMs: this.km.pX + }, this.km.vR = [], this.km.pX = [], this.km.Ama = this.km.rma); + X70 = 7; + break; + case 7: + var y6q = "n"; + y6q += "o"; + y6q += "ne"; + y6q !== q.PC && (m.isConserv = this.Vq, m.ccs = this.r1); + X70 = 6; break; } } }; - h.prototype.hkb = function (m, n) { - var M70, - r, - p, - u; - M70 = 2; - for (; M70 !== 6; ) { - switch (M70) { - case 2: - r = this.I; - M70 = 1; + h.prototype.rib = function (m) { + var Z70, + n; + Z70 = 2; + for (; Z70 !== 6; ) { + switch (Z70) { + case 1: + Z70 = this.$_ && m.Zs() ? 5 : 4; break; case 5: - void 0 === this.lm && (this.lm = { - startTime: g.default.time.aa(), - uR: [], - qX: [], - Gma: void 0, - xma: void 0 - }); - r = Math.floor((g.default.time.aa() - this.lm.startTime) / r.UJ); - (p = this.lm.xma, u = this.lm.Gma ? r - this.lm.Gma - 1 : r); - M70 = 9; + return !0; + break; + case 4: + this.$_ && (this.$_ = !1); + Z70 = 3; break; case 9: - M70 = void 0 === p || r > p ? 8 : 7; + return !0; break; - case 1: - M70 = this.FJa ? 5 : 6; + case 3: + Z70 = this.a0 && n.Hp && !m.Zs() ? 9 : 8; break; - case 8: - (this.lm.uR[u] = m, this.lm.qX[u] = n); - M70 = 7; + case 2: + n = this.I; + Z70 = 1; break; - case 7: - this.lm.xma = r; - M70 = 6; + case 8: + this.a0 && (this.a0 = !1); + return !1; break; } } }; - h.prototype.BKb = function () { - var N70, - m, - O70; - N70 = 2; - for (; N70 !== 4; ) { - switch (N70) { + h.prototype.bJa = function (m) { + var a80, + b80; + a80 = 2; + for (; a80 !== 4; ) { + switch (a80) { case 2: - m = this.fb; - N70 = 1; + var k6q = "t"; + k6q += "d"; + k6q += "i"; + k6q += "gest"; + b80 = this.I.ela; + a80 = b80 === k6q ? 1 : 3; + break; + case 6: + m = m.Sj; + a80 = 8; + break; + a80 = 5; break; case 1: - N70 = this.oE.Nq ? 5 : 4; + m = m.Sj; + a80 = 5; + break; + case 3: + a80 = 9; + break; + case 9: + m = m.Ws && m.Ws.p6; + a80 = 5; break; case 5: - try { - O70 = 2; - for (; O70 !== 1; ) { - switch (O70) { - case 2: - (this.Jf.DPb(), this.sKa.Ic()); - O70 = 1; - break; - } - } - } catch (n) { - var g9u = "Hind"; - g9u += "sight: Error"; - g9u += " d"; - g9u += "uring clean u"; - g9u += "p: "; - a000.D9b(2); - m.qb.Pm(a000.Q9b(g9u, n)); - } - N70 = 4; + return m; break; - } - } - }; - h.prototype.PKb = function (m) { - var P70; - P70 = 2; - for (; P70 !== 1; ) { - switch (P70) { - case 2: - this.I.zK && m === d.default.Za.Hb && (this.Vsa = this.Usa = this.E3a = this.F3a = this.y_a = this.z_a = 0); - P70 = 1; + case 12: + a80 = 8; break; - } - } - }; - h.prototype.NKb = function (m, n) { - var Q70; - Q70 = 2; - for (; Q70 !== 1; ) { - switch (Q70) { - case 2: - m === d.default.Za.Hb && (this.RXb = n); - Q70 = 1; + a80 = 9; break; } } }; - A70 = 11; + A70 = 16; break; case 2: Object.defineProperties(h.prototype, { @@ -93748,7 +93737,12 @@ a000.D9b = function () { for (; E70 !== 1; ) { switch (E70) { case 2: - return this.Sca; + return this.Mca; + break; + case 4: + return this.Mca; + break; + E70 = 1; break; } } @@ -93758,20 +93752,20 @@ a000.D9b = function () { } }); Object.defineProperties(h.prototype, { - hqa: { + bqa: { get: function () { var F70; F70 = 2; for (; F70 !== 1; ) { switch (F70) { + case 2: + return this.qKa; + break; case 4: - return this.sKa; + return this.qKa; break; F70 = 1; break; - case 2: - return this.sKa; - break; } } }, @@ -93779,94 +93773,91 @@ a000.D9b = function () { configurable: !0 } }); - h.prototype.a3a = function (m, n, r) { + h.prototype.a3a = function (m, n, q) { var G70; G70 = 2; for (; G70 !== 4; ) { switch (G70) { case 2: - this.MB = m; - c.ga(n) || (this.qVa = n); - c.ga(r) || (this.pVa = r); + this.OB = m; + c.fa(n) || (this.oVa = n); + G70 = 5; + break; + case 5: + c.fa(q) || (this.nVa = q); G70 = 4; break; } } }; - h.prototype.Gta = function (m) { + h.prototype.Ata = function (m) { var H70; H70 = 2; for (; H70 !== 5; ) { switch (H70) { case 2: this.I = m; - this.O_.Gta(m); + this.R_.Ata(m); H70 = 5; break; } } }; - h.prototype.Tca = function (m, n, r, p) { + h.prototype.Nca = function (m, n, q, p) { var I70, - u; + t; I70 = 2; for (; I70 !== 7; ) { switch (I70) { - case 3: - return !1; - break; - case 1: - var N9u = "i"; - N9u += "q"; - N9u += "r"; - I70 = m === N9u ? 5 : 9; - break; case 4: - return !!(n.Oa && r && c.xa(p) && n.Oa.Ea < u.XR && p > u.C$); + return !!(n.Oa && q && c.ya(p) && n.Oa.Fa < t.YR && p > t.u$); break; case 2: - u = this.I; + t = this.I; I70 = 1; break; - case 8: - return n.Oa ? n.Oa.Ea < u.XR : !0; + case 9: + var e6q = "a"; + e6q += "v"; + e6q += "g"; + I70 = m === e6q ? 8 : 3; break; case 5: I70 = void 0 !== p ? 4 : 3; break; - case 9: - var T9u = "a"; - T9u += "v"; - T9u += "g"; - I70 = m === T9u ? 8 : 3; + case 8: + return n.Oa ? n.Oa.Fa < t.YR : !0; + break; + case 3: + return !1; + break; + case 1: + var h6q = "i"; + h6q += "q"; + h6q += "r"; + I70 = m === h6q ? 5 : 9; break; } } }; - h.prototype.fL = function (m) { + h.prototype.iL = function (m) { var J70; J70 = 2; for (; J70 !== 1; ) { switch (J70) { case 2: - return 1 === m ? this.O_.C6 : this.O_.AC; + return 1 === m ? this.R_.A6 : this.R_.CC; break; } } }; - h.prototype.nN = function (m) { + h.prototype.oN = function (m) { var K70; K70 = 2; for (; K70 !== 1; ) { switch (K70) { - case 4: - this.O_.nN(m); - K70 = 7; - break; - K70 = 1; - break; case 2: - this.O_.nN(m); + this.R_.oN(m); K70 = 1; break; } @@ -93874,315 +93865,224 @@ a000.D9b = function () { }; A70 = 7; break; - case 11: - h.prototype.nob = function (m) { - var R70, + case 7: + h.prototype.ekb = function (m, n, q, p, t, u) { + var L70, + w; + L70 = 2; + for (; L70 !== 5; ) { + switch (L70) { + case 2: + w = this.I; + w.L8 && this.rib(n) || !q || !p || !(q = u ? Math.min(q, p, u) : Math.min(q, p)) || (this.Kf.get(), p = this.fb.Ga, m = p.Wu(p.Ec, m), n.track.Zs() && m > w.nfa && q === t ? (w.set ? (w.set({ + pipelineEnabled: !0 + }), w.set({ + maxParallelConnections: 1 + }), w.set({ + maxActiveRequestsPerSession: 2 + }), w.set({ + maxPendingBufferLen: 500 + })) : (w.Hp = !0, w.SL = 1, w.Av = 2, w.hC = 500), n.track.P6({ + type: n.track.config.type, + connections: 1, + openRange: !1, + pipeline: !0, + socketBufferSize: w.WN, + minRequestSize: w.aM + }), this.Psa++, w.L8 && (this.$_ = !0)) : w.Hp && !n.Zs() && (m < w.mfa || q !== t) && (w.set ? (w.set({ + pipelineEnabled: !0 + }), w.set({ + maxParallelConnections: 3 + }), w.set({ + maxActiveRequestsPerSession: 3 + }), w.set({ + maxPendingBufferLen: 12E3 + })) : (w.Hp = !0, w.SL = 3, w.Av = 3, w.hC = 12E3), n.track.P6({ + type: n.config.type, + connections: 3, + openRange: !1, + pipeline: !0, + socketBufferSize: w.WN, + minRequestSize: w.aM + }), this.Qsa++, w.L8 && (this.a0 = !0))); + L70 = 5; + break; + } + } + }; + h.prototype.hkb = function (m, n) { + var M70, + q, p, - n, - r, - u, t; - R70 = 2; - for (; R70 !== 6; ) { - switch (R70) { - case 1: - var x9u = "n"; - x9u += "o"; - x9u += "ne"; - R70 = x9u !== n.OC && !0 !== this.Wq && m.state <= n.Dna ? 5 : 6; - break; - case 5: - p = this.Jf.get(); - R70 = 4; + M70 = 2; + for (; M70 !== 6; ) { + switch (M70) { + case 9: + M70 = void 0 === p || q > p ? 8 : 7; break; - case 2: - n = this.I; - R70 = 1; + case 7: + this.km.rma = q; + M70 = 6; break; - case 4: - var B9u = "i"; - B9u += "q"; - B9u += "r"; - R70 = B9u === n.OC ? 3 : 8; + case 1: + M70 = this.DJa ? 5 : 6; break; - case 9: - void 0 !== u && void 0 !== u.gl && void 0 !== u.Jj && void 0 !== u.il && (r = (u.il - u.gl) / u.Jj); - R70 = 8; + case 2: + q = this.I; + M70 = 1; break; - case 3: - u = this.dJa(p); - R70 = 9; + case 5: + void 0 === this.km && (this.km = { + startTime: g.default.time.ba(), + vR: [], + pX: [], + Ama: void 0, + rma: void 0 + }); + q = Math.floor((g.default.time.ba() - this.km.startTime) / q.YJ); + (p = this.km.rma, t = this.km.Ama ? q - this.km.Ama - 1 : q); + M70 = 9; break; case 8: - t = n.QU ? d.default.wf.ww : d.default.wf.Zz; - R70 = 7; - break; - case 7: - p && p.confidence >= t && this.Tca(n.OC, p, u, r) && (this.Wq = !0, this.q1 = m.state); - R70 = 6; - break; - } - } - }; - h.prototype.Dkb = function (m) { - var S70; - S70 = 2; - for (; S70 !== 1; ) { - switch (S70) { - case 2: - m.Wq = this.Wq; - S70 = 1; + (this.km.vR[t] = m, this.km.pX[t] = n); + M70 = 7; break; } } }; - h.prototype.Fwb = function (m) { - var T70, - n, - r, - p, - u, - t, - w, - v, - x; - T70 = 2; - for (; T70 !== 25; ) { - switch (T70) { - case 2: - var i9u = "s"; - i9u += "ta"; - i9u += "rtp"; - i9u += "la"; - i9u += "y"; - var s9u = "lo"; - s9u += "g"; - s9u += "da"; - s9u += "t"; - s9u += "a"; - (n = {}, r = this.I, p = this.fb, u = { - type: s9u, - target: i9u, - fields: {} - }); - u.fields = n; - Object.keys(m).forEach(function (y) { - var U70; - U70 = 2; - for (; U70 !== 1; ) { - switch (U70) { - case 2: - n[y] = m[y]; - U70 = 1; - break; - } - } - }); - t = this.Jf.get(); - T70 = 3; - break; - case 12: - T70 = w ? 11 : 16; - break; - case 9: - n.actualbw = t; - n.isConserv = this.Wq; - n.ccs = this.q1; - n.isLowEnd = this.OEb; - n.histdiscbw = this.MB; - w = this.pVa; - T70 = 12; - break; - case 11: - v = function (y) { - var V70; - V70 = 2; - for (; V70 !== 1; ) { - switch (V70) { - case 2: - return c.xa(y) ? Number(y).toFixed(2) : -1; - break; - } - } - }; - t = [v(w.min || void 0), v(w.j6 || void 0), v(w.gl || void 0), v(w.Jj || void 0), v(w.il || void 0), v(w.k6 || void 0), v(w.max || void 0)]; - x = []; - w = c.isArray(w.ci) && w.ci.reduce(function (y, z) { - var W70, - B; - W70 = 2; - for (; W70 !== 3; ) { - switch (W70) { - case 4: - return y; - break; + h.prototype.DKb = function () { + var N70, + O70, + m; + N70 = 2; + for (; N70 !== 4; ) { + switch (N70) { + case 5: + try { + O70 = 2; + for (; O70 !== 1; ) { + switch (O70) { case 2: - B = v(z.Rf || void 0); - z = v(z.n || void 0); - -1 < B && -1 < z && y.push({ - mean: B, - n: z - }); - W70 = 4; + (this.Kf.IPb(), this.qKa.Kc()); + O70 = 1; break; } } - }, x); - T70 = 18; + } catch (n) { + var f6q = "Hin"; + f6q += "dsight: Error "; + f6q += "during clean up: "; + a000.Q1q(2); + m.ub.Om(a000.o1q(n, f6q)); + } + N70 = 4; break; - case 18: - n.histtdc = w; - T70 = 17; + case 2: + m = this.fb; + N70 = 1; break; - case 3: - t && t.Oa && (t = t.Oa.Ea); - T70 = 9; + case 8: + N70 = this.rE.Oq ? 6 : 3; break; - case 17: - n.histtd = t; - T70 = 16; + N70 = this.rE.Oq ? 5 : 4; break; - case 16: - n.histage = this.qVa; - r.Zha && this.hJ && (n.ishighstable = this.Sca, n.avg_avtp = this.hJ.kmb, n.avg_ne = Number(this.hJ.lmb).toFixed(4)); - p.Yb && (r = g.default.Mn(), n.maxAudioBufferAllowedBytes = r[d.default.Za.Tb], n.maxVideoBufferAllowedBytes = r[d.default.Za.Hb]); - p.emit(u.type, u); - T70 = 25; + case 1: + N70 = this.rE.Oq ? 5 : 4; break; } } }; - h.prototype.Gwb = function (m) { - var X70, - n, - r, - p, - u, - t, - w, - v; - X70 = 2; - for (; X70 !== 6; ) { - switch (X70) { + h.prototype.RKb = function (m) { + var P70; + P70 = 2; + for (; P70 !== 1; ) { + switch (P70) { case 2: - (n = this, r = this.I, p = this.Jf.get(), u = []); - [d.default.Za.Hb, d.default.Za.Tb].forEach(function (x) { - var Y70, - y; - Y70 = 2; - for (; Y70 !== 4; ) { - switch (Y70) { - case 2: - Y70 = n.Vb(x) ? 1 : 4; - break; - case 1: - y = n.fb.sUa(x); - void 0 !== y && (x === d.default.Za.Hb && (r.zK && (y.parallelDownloadMs = n.z_a, y.parallelDownloadBytes = n.y_a, y.singleDownloadMs = n.F3a, y.singleDownloadBytes = n.E3a, y.switchFromParallelToSingle = n.Usa, y.switchFromSingleToParallel = n.Vsa), p && p.confidence && p.Oa && (y.asetput = p.Oa, y.aseiqr = p.Rs, y.tdigest = p.Sj && p.Sj.my() || void 0), p && p.avtp && (y.avtp = p.avtp.Ea)), u.push(y)); - Y70 = 4; - break; - } - } - }); - m.stat = u; - X70 = 4; - break; - case 4: - (t = 0, w = 0, v = 0); - p.confidence && (t = p.Oa ? p.Oa.Ea : 0, w = p.Vi ? p.Vi.Ea : 0, v = p.Qs ? p.Qs.Ea : 0); - m.location = { - responseTime: w, - httpResponseTime: v, - bandwidth: t, - confidence: p.confidence, - name: this.RXb - }; - this.FJa && (m.bt = { - startTime: this.lm.startTime, - audioMs: this.lm.uR, - videoMs: this.lm.qX - }, this.lm.uR = [], this.lm.qX = [], this.lm.Gma = this.lm.xma); - X70 = 7; + this.I.DK && m === d.default.Ra.Bb && (this.Qsa = this.Psa = this.F3a = this.G3a = this.w_a = this.x_a = 0); + P70 = 1; break; - case 7: - var F2u = "n"; - F2u += "on"; - F2u += "e"; - F2u !== r.OC && (m.isConserv = this.Wq, m.ccs = this.q1); - X70 = 6; + } + } + }; + h.prototype.PKb = function (m, n) { + var Q70; + Q70 = 2; + for (; Q70 !== 1; ) { + switch (Q70) { + case 2: + m === d.default.Ra.Bb && (this.TXb = n); + Q70 = 1; break; } } }; - A70 = 18; - break; - case 18: - h.prototype.qib = function (m) { - var Z70, - n; - Z70 = 2; - for (; Z70 !== 6; ) { - switch (Z70) { + h.prototype.oob = function (m) { + var R70, + p, + n, + q, + u, + t; + R70 = 2; + for (; R70 !== 6; ) { + switch (R70) { case 5: - return !0; + p = this.Kf.get(); + R70 = 4; + break; + case 2: + n = this.I; + R70 = 1; break; case 1: - Z70 = this.Y_ && m.Us() ? 5 : 4; + var E6q = "n"; + E6q += "o"; + E6q += "n"; + E6q += "e"; + R70 = E6q !== n.PC && !0 !== this.Vq && m.state <= n.yna ? 5 : 6; break; case 4: - this.Y_ && (this.Y_ = !1); - Z70 = 3; + var x6q = "i"; + x6q += "q"; + x6q += "r"; + R70 = x6q === n.PC ? 3 : 8; break; - case 2: - n = this.I; - Z70 = 1; + case 8: + u = n.PU ? d.default.yf.Cw : d.default.yf.$z; + R70 = 7; break; case 3: - Z70 = this.Z_ && n.Fp && !m.Us() ? 9 : 8; - break; - case 8: - this.Z_ && (this.Z_ = !1); - return !1; + t = this.bJa(p); + R70 = 9; break; case 9: - return !0; + void 0 !== t && void 0 !== t.gl && void 0 !== t.Ij && void 0 !== t.il && (q = (t.il - t.gl) / t.Ij); + R70 = 8; + break; + case 7: + p && p.confidence >= u && this.Nca(n.PC, p, t, q) && (this.Vq = !0, this.r1 = m.state); + R70 = 6; break; } } }; - h.prototype.dJa = function (m) { - var a80, - b80; - a80 = 2; - for (; a80 !== 4; ) { - switch (a80) { - case 1: - m = m.Sj; - a80 = 5; - break; - case 3: - a80 = 9; - break; + h.prototype.Dkb = function (m) { + var S70; + S70 = 2; + for (; S70 !== 1; ) { + switch (S70) { case 2: - var U2u = "tdi"; - U2u += "ges"; - U2u += "t"; - b80 = this.I.jla; - a80 = b80 === U2u ? 1 : 3; - break; - case 9: - m = m.Rs && m.Rs.q6; - a80 = 5; - break; - case 5: - return m; + m.Vq = this.Vq; + S70 = 1; break; } } }; - A70 = 16; + A70 = 20; break; case 16: - h.prototype.Hgb = function (m, n, r) { + h.prototype.Igb = function (m, n, q) { var c80, p; c80 = 2; @@ -94190,9 +94090,9 @@ a000.D9b = function () { switch (c80) { case 2: p = this.I; - this.Tca(p.OC, m, n, r) ? this.Wq = !0 : this.Wq = !1; - this.q1 = 0; - this.Tca(p.ena, m, n, r) && (this.OEb = !0); + this.Nca(p.PC, m, n, q) ? this.Vq = !0 : this.Vq = !1; + this.r1 = 0; + this.Nca(p.Zma, m, n, q) && (this.TEb = !0); c80 = 3; break; } @@ -94202,76 +94102,91 @@ a000.D9b = function () { break; } } - function h(m, n, r, p, u, t, w, v, x) { + function h(m, n, q, p, t, u, w, v, x) { var B70, + y, C70, D70, - z, - y; + z; B70 = 2; for (; B70 !== 32; ) { switch (B70) { case 26: - B70 = w && 1 < w.length && u.Zha ? 25 : 33; + B70 = w && 1 < w.length && t.Tha ? 25 : 33; break; - case 34: - this.hJ = new l.z$(w, u, this.H); - B70 = 23; + case 17: + q && q.confidence >= p && q.Oa && y && this.Igb(q, n, y); + B70 = 16; break; case 35: B70 = 34; break; - case 16: - B70 = this.oE.Nq ? 15 : 27; - break; - case 18: - p = u.QU ? d.default.wf.ww : d.default.wf.Zz; - r && r.confidence >= p && r.Oa && y && this.Hgb(r, n, y); - B70 = 16; - break; - case 21: - this.hJ = new l.mza(w, u, this.H); + case 24: + this.jJ = new l.r$(w, t, this.H); B70 = 23; break; - case 22: - var y2u = "L"; - y2u += "R"; - B70 = C70 === y2u ? 21 : 35; - break; - case 25: - var L2u = "b"; - L2u += "as"; - L2u += "e"; - L2u += "li"; - L2u += "ne"; - C70 = u.UCb; - B70 = C70 === L2u ? 24 : 22; + case 10: + n = this.bJa(q); + void 0 !== n && void 0 !== n.gl && void 0 !== n.Ij && void 0 !== n.il && (y = (n.il - n.gl) / n.Ij); + p = t.PU ? d.default.yf.Cw : d.default.yf.$z; + B70 = 17; break; - case 7: - this.sm = this.H.trace.bind(this.H); - this.I = u; - B70 = 14; + case 16: + B70 = this.rE.Oq ? 15 : 27; break; case 23: - this.Sca = this.hJ.t4(); + this.Mca = this.jJ.t4(); B70 = 33; break; + case 27: + this.Mca = !1; + B70 = 26; + break; + case 25: + var n6q = "b"; + n6q += "a"; + n6q += "seli"; + n6q += "n"; + n6q += "e"; + C70 = t.XCb; + B70 = C70 === n6q ? 24 : 22; + break; case 2: - var o2u = "1SIY"; - o2u += "b"; - o2u += "ZrNJCp9"; this.H = n; - this.Jf = p; - this.Vb = v; - this.oE = x; - o2u; + this.Kf = p; + this.Yb = v; + B70 = 4; + break; + case 22: + var p6q = "L"; + p6q += "R"; + B70 = C70 === p6q ? 21 : 35; + break; + case 4: + var N6q = "1"; + N6q += "S"; + N6q += "IY"; + N6q += "bZrNJCp9"; + this.rE = x; + N6q; this.fb = m; - this.Eb = this.H.warn.bind(this.H); - B70 = 7; + this.Gb = this.H.warn.bind(this.H); + this.rm = this.H.trace.bind(this.H); + this.I = t; + this.DJa = 0 === Math.floor(1E6 * Math.random()) % t.ofa; + B70 = 13; break; - case 27: - this.Sca = !1; - B70 = 26; + case 21: + this.jJ = new l.kza(w, t, this.H); + B70 = 23; + break; + case 34: + this.jJ = new l.r$(w, t, this.H); + B70 = 23; + break; + case 33: + t.L8 && (this.a0 = this.$_ = !1); + B70 = 32; break; case 15: try { @@ -94280,104 +94195,87 @@ a000.D9b = function () { switch (D70) { case 2: z = new k.default(m, this.H, { - bufferSize: g.default.Mn() - }, u); - this.Jf.nkb(z); - this.sKa = z; + bufferSize: g.default.Nn() + }, t); + this.Kf.nkb(z); + this.qKa = z; D70 = 4; break; } } - } catch (B) { - var b2u = "Hinds"; - b2u += "ight: Error"; - b2u += " when creating"; - b2u += " QoEEvaluator: "; - a000.u9b(2); - m.qb.Pm(a000.r9b(b2u, B)); + } catch (A) { + var I6q = "Hindsight: Error whe"; + I6q += "n c"; + I6q += "reating QoEEvaluator: "; + a000.Q1q(2); + m.ub.Om(a000.P1q(A, I6q)); } B70 = 27; break; - case 24: - this.hJ = new l.z$(w, u, this.H); - B70 = 23; - break; - case 10: - n = this.dJa(r); - void 0 !== n && void 0 !== n.gl && void 0 !== n.Jj && void 0 !== n.il && (y = (n.il - n.gl) / n.Jj); - B70 = 18; - break; - case 33: - u.Q8 && (this.Z_ = this.Y_ = !1); - B70 = 32; - break; - case 14: - a000.u9b(16); - var t31 = a000.Q9b(999982, 16, 30999424, 2); - this.FJa = 0 === Math.floor(t31 * Math.random()) % u.vfa; - this.MB = this.pVa = this.qVa = this.q1 = this.Wq = void 0; - this.Vsa = this.E3a = this.F3a = this.Usa = this.y_a = this.z_a = 0; - this.O_ = f.fL(u, t); + case 13: + this.OB = this.nVa = this.oVa = this.r1 = this.Vq = void 0; + this.Qsa = this.F3a = this.G3a = this.Psa = this.w_a = this.x_a = 0; + this.R_ = f.iL(t, u); B70 = 10; break; } } } })(); - b.Hua = a; - }, function (q, b, a) { + b.Eua = a; + }, function (r, b, a) { var f, k, l; function c(d, g, h, m) { this.fb = d; this.H = g; - this.$j = this.H.error.bind(this.H); - this.Eb = this.H.warn.bind(this.H); - this.sm = this.H.trace.bind(this.H); + this.ak = this.H.error.bind(this.H); + this.Gb = this.H.warn.bind(this.H); + this.rm = this.H.trace.bind(this.H); this.cg = this.H.log.bind(this.H); - this.Peb = new k(); + this.Qeb = new k(); this.I = m; - this.M_ = []; - this.f0 = void 0; - d = m.L3; + this.P_ = []; + this.h0 = void 0; + d = m.M3; f.call(this, d.numB * d.bSizeMs, d.bSizeMs); - this.Nca = !0; + this.Hca = !0; } a(27); - b = a(4).default; + b = a(5).default; f = a(145); - a(420); - k = a(903); + a(424); + k = a(905); new b.Console("ASEJS_QOE_EVAL", "media|asejs"); - l = a(125).kFa || a(125); + l = a(124).hFa || a(124); c.prototype = Object.create(f.prototype); c.prototype.add = function (d, g, h) { - this.f0 || (this.f0 = g); + this.h0 || (this.h0 = g); f.prototype.add.call(this, d, g, h); }; - c.prototype.Jyb = function () { + c.prototype.Nyb = function () { var d; - if (0 !== this.M_.length) { + if (0 !== this.P_.length) { d = []; - this.M_.forEach(function (g) { - g && g.MJ && d.push(g.my()); + this.P_.forEach(function (g) { + g && g.PJ && d.push(g.qy()); }); return d; } }; - c.prototype.Ic = function () { - this.M_ = []; + c.prototype.Kc = function () { + this.P_ = []; }; - c.prototype.IBb = function () { + c.prototype.KBb = function () { var d, g, h; - d = this.get(this.I.L3.fillS); + d = this.get(this.I.M3.fillS); if (0 === d[0] || null === d[0]) { - d.some(function (n, r) { + d.some(function (n, q) { if (n) - return (g = n, h = r, !0); + return (g = n, h = q, !0); }); if (g) for (var m = 0; m < h; m++) { @@ -94386,53 +94284,53 @@ a000.D9b = function () { } d = { trace: d, - timestamp: this.f0, - Ax: this.qd + timestamp: this.h0, + Fx: this.rd }; - this.Nca = !1; + this.Hca = !1; f.prototype.reset.call(this); - this.Nca = !0; - this.f0 = void 0; + this.Hca = !0; + this.h0 = void 0; return d; }; - c.prototype.pia = function (d) { + c.prototype.iia = function (d) { var g, h, m, n, - r, + q, p; - if (d && !d.MJ) { - h = d.Bs.wWa; - h && (d.vqa = this.Gea(d), d.Q6 = !1); - if ((g = this.IBb()) && g.trace && g.trace.length) { - m = d.$i.xC; + if (d && !d.PJ) { + h = d.Fs.uWa; + h && (d.pqa = this.zea(d), d.N6 = !1); + if ((g = this.KBb()) && g.trace && g.trace.length) { + m = d.Yi.zC; n = g.timestamp; if (n > m) { - r = g.Ax; + q = g.Fx; p = g.trace[0]; - m = Math.ceil((n - m) / r); - g.timestamp = n - m * r; + m = Math.ceil((n - m) / q); + g.timestamp = n - m * q; for (n = 0; n < m; n++) { g.trace.splice(0, 0, p); } } g.trace.length && g.trace.pop(); } - d.Bz = g; - g.trace && 0 === g.trace.length || void 0 === g.timestamp || (g = this.mnb(d), d.h_a = g, h && g && (d.Q6 = g.SB), d.MJ = !0, this.M_.push(d)); + d.Ez = g; + g.trace && 0 === g.trace.length || void 0 === g.timestamp || (g = this.nnb(d), d.f_a = g, h && g && (d.N6 = g.UB), d.PJ = !0, this.P_.push(d)); } }; - c.prototype.mnb = function (d) { - var r, + c.prototype.nnb = function (d) { + var q, p, - u, - t; + t, + u; function g(w) { var y; for (var v, x = 0; x < w.length; x++) { - y = w[x].reduce(function (z, B) { - return B.zb ? z + 1 : z; + y = w[x].reduce(function (z, A) { + return A.xb ? z + 1 : z; }, 0); if (void 0 === v) v = y; @@ -94440,52 +94338,52 @@ a000.D9b = function () { throw Error("length of per-fragment vmafs mismatch across streams [ceil(log2(delta))=" + Math.ceil(Math.log(y > v ? y - v : v - y) * Math.LOG2E) + "]"); } } - for (var h = this.I.K3, m = { - SB: !1, - j4: !1, - Vub: 0 + for (var h = this.I.L3, m = { + UB: !1, + k4: !1, + Zub: 0 }, n = 0; n < h.length; n++) { - r = h[n]; - p = this.Peb.create(r); + q = h[n]; + p = this.Qeb.create(q); if (p) { - u = l.now(); - t = {}; + t = l.now(); + u = {}; try { - g(d.fw); - t = p(d); + g(d.jw); + u = p(d); } catch (w) { - t.HK = w; + u.LK = w; } - t.Zkb = l.now() - u; - m[r] = t; - m.SB = m.SB || t.SB; - m.j4 = m.j4 || t.j4; - m.HK = m.HK || t.HK; + u.$kb = l.now() - t; + m[q] = u; + m.UB = m.UB || u.UB; + m.k4 = m.k4 || u.k4; + m.LK = m.LK || u.LK; } } return m; }; - c.prototype.Gea = function (d) { + c.prototype.zea = function (d) { var g; - d = d.Bs; + d = d.Fs; g = ""; - 1E3 > d.ro && (g += d.L6a); - 1E3 > d.Zr && (g = g + ("" !== g ? "," : "") + d.jMa); - 1E3 <= d.ro && 1E3 <= d.Zr && (g = "media"); + 1E3 > d.so && (g += d.O6a); + 1E3 > d.fs && (g = g + ("" !== g ? "," : "") + d.iMa); + 1E3 <= d.so && 1E3 <= d.fs && (g = "media"); return g; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var k; function c() {} function f(l, d, g) { return function (h) { - h.kW = d; + h.fN = d; h.compare = g; return l(h); }; } - k = a(904); + k = a(906); c.prototype.constructor = c; c.prototype.create = function (l) { var d; @@ -94493,19 +94391,19 @@ a000.D9b = function () { case "htwbr": break; case "htwbr-dlvmaf": - d = f(k.GT, !1, k.tOa); + d = f(k.ET, !1, k.rOa); break; case "htwbr-segvmaf": - d = f(k.GT, !0, k.tOa); + d = f(k.ET, !0, k.rOa); break; case "hvmafgr": - d = f(k.GT, !1, k.sga); + d = f(k.ET, !1, k.mga); break; case "hvmafgr-dlvmaf": - d = f(k.GT, !1, k.sga); + d = f(k.ET, !1, k.mga); break; case "hvmafgr-segvmaf": - d = f(k.GT, !0, k.sga); + d = f(k.ET, !0, k.mga); break; case "hvmafdp": d = f(k.dp, !1); @@ -94521,512 +94419,512 @@ a000.D9b = function () { } return d; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var p, - u, t, + u, w, v, x, y, z, - B, A, + B, C; function c(E) { - var F, + var G, D, - G; - F = E.Bz; - D = E.$i; - G = E.Bs.Aa - D.Z; - F.timestamp > D.xC && A.error("expect playSegment.tput.timestamp <= playSegment.startState.playingStartTime but has " + F.timestamp + " and " + D.xC); + F; + G = E.Ez; + D = E.Yi; + F = E.Fs.Ca - D.X; + G.timestamp > D.zC && B.error("expect playSegment.tput.timestamp <= playSegment.startState.playingStartTime but has " + G.timestamp + " and " + D.zC); E = []; - for (var I, J = F.timestamp, H = 0; H < F.trace.length; H++) { - J >= D.xC && (E.push(F.trace[H]), I = F.trace[H]); - J += F.Ax; - G -= F.Ax; - } - for (; 0 < G; ) { - E.push(I); - G -= F.Ax; - } - D = F.Ax; - F = E.length; - if (0 === F) - F = []; + for (var J, K = G.timestamp, H = 0; H < G.trace.length; H++) { + K >= D.zC && (E.push(G.trace[H]), J = G.trace[H]); + K += G.Fx; + F -= G.Fx; + } + for (; 0 < F; ) { + E.push(J); + F -= G.Fx; + } + D = G.Fx; + G = E.length; + if (0 === G) + G = []; else { - for (D = [D / 1E3]; 2 * D.length <= F; ) { + for (D = [D / 1E3]; 2 * D.length <= G; ) { D = D.concat(D); } - D.length < F && (D = D.concat(D.slice(0, F - D.length))); - F = D; + D.length < G && (D = D.concat(D.slice(0, G - D.length))); + G = D; } - return new x(E, F, !1); + return new x(E, G, !1); } - function f(E, F, D) { - F = E.fw[F][D]; - return F.ca + E.$i.zR * F.duration / 8; + function f(E, G, D) { + G = E.jw[G][D]; + return G.da + E.Yi.AR * G.duration / 8; } function k(E) { - var F, + var G, D, - G, - I, + F, J, + K, H, - M, - O, - L; - F = E.$i; - D = F.am; - G = E.Bs; - I = G.Yu; + L, + Q, + I; + G = E.Yi; + D = G.Zl; + F = E.Fs; + J = F.cv; H = []; - for (G = I = Math.min(G.WF, I); G >= D; G--) { + for (F = J = Math.min(F.bG, J); F >= D; F--) { C.update("backward step loop"); - M = J = E.fw[0][G].Z - E.$i.Z; - G < I && (p(void 0 !== H[G + 1], "expect solution[(fragIndex + 1)] !== undefined"), M = Math.min(H[G + 1].startTime, M)); - O = f(E, 0, G); - L = r(O, M, E.Bz, F.xC); - if (0 > L) + L = K = E.jw[0][F].X - E.Yi.X; + F < J && (p(void 0 !== H[F + 1], "expect solution[(fragIndex + 1)] !== undefined"), L = Math.min(H[F + 1].startTime, L)); + Q = f(E, 0, F); + I = q(Q, L, E.Ez, G.zC); + if (0 > I) throw Error("Infeasible: reason throughput at min bitrate"); - O = { - startTime: L, - endTime: M, - G1: M, - tub: J, - gN: O, - ie: 0 + Q = { + startTime: I, + endTime: L, + I1: L, + xub: K, + hN: Q, + he: 0 }; - O.gSa = G; - H[G] = O; + Q.fSa = F; + H[F] = Q; } - F = 0; - for (G = D; G <= I; G++) { - F += H[G].gN; - H[G].Jha = F; + G = 0; + for (F = D; F <= J; F++) { + G += H[F].hN; + H[F].Dha = G; } - if (!l(E, H, D, I)) + if (!l(E, H, D, J)) throw Error("Infeasible: reason buffer capacity at min bitrate"); return { - SB: !0, - qoa: 0 == H.length, - Up: H + UB: !0, + loa: 0 == H.length, + Xp: H }; } - function l(E, F, D, G) { - var I, - J, + function l(E, G, D, F) { + var J, + K, H, - M, - O, L, - P, - R, - K, - Q; - for (; D <= G; D++) { + Q, + I, + O, + N, + M, + P; + for (; D <= F; D++) { C.update("checkBuffer"); - I = E; - J = F; + J = E; + K = G; H = D; C.update("check buffer vacancy"); - M = I.$i; - O = I.fw[M.WT]; - L = I.fNa; - P = !0; - I = I.Xwb(Math.floor(J[H].startTime) + M.Z); - R = M.Jz + J[H].Jha; - K = 0; - Q = 0; - if (I.index < M.am) { - for (var N = 0, da = M.vz; da < I.index; da++) { - N += O[da].ca; - } - K += N; - N = 0; - for (da = M.vz; da < I.index; da++) { - N += O[da].duration; - } - Q += N; - } else (K += M.Jz, Q += M.ro); - N = 0; - for (da = M.am; da < I.index; da++) { - N += J[da].gN; - } - K += N; - N = 0; - for (da = M.am; da < I.index; da++) { - N += O[J[da].gSa].duration; - } - Q += N; - I = R - K; - M = O[H].Z + O[H].duration - M.Z - Q; - if (M >= L.Py || I >= L.A6a) - P = !1; - J[H].oNa = I; - J[H].Bfa = M; - if (!P) + L = J.Yi; + Q = J.jw[L.UT]; + I = J.fNa; + O = !0; + J = J.cxb(Math.floor(K[H].startTime) + L.X); + N = L.Mz + K[H].Dha; + M = 0; + P = 0; + if (J.index < L.Zl) { + for (var R = 0, ea = L.yz; ea < J.index; ea++) { + R += Q[ea].da; + } + M += R; + R = 0; + for (ea = L.yz; ea < J.index; ea++) { + R += Q[ea].duration; + } + P += R; + } else (M += L.Mz, P += L.so); + R = 0; + for (ea = L.Zl; ea < J.index; ea++) { + R += K[ea].hN; + } + M += R; + R = 0; + for (ea = L.Zl; ea < J.index; ea++) { + R += Q[K[ea].fSa].duration; + } + P += R; + J = N - M; + L = Q[H].X + Q[H].duration - L.X - P; + if (L >= I.Sy || J >= I.D6a) + O = !1; + K[H].oNa = J; + K[H].ufa = L; + if (!O) return !1; } return !0; } function d(E) { - E = E.$i.Y; - for (var F = [], D, G = 0; G < E.length; G++) { + E = E.Yi.Y; + for (var G = [], D, F = 0; F < E.length; F++) { C.update("get prebuffered chunks loop"); - D = E[G]; - p(void 0 !== D.zb, "expect frag.vmaf !== undefined"); - D = new t(D.ca, D.duration / 1E3, D.zb); - F.push(D); + D = E[F]; + p(void 0 !== D.xb, "expect frag.vmaf !== undefined"); + D = new u(D.da, D.duration / 1E3, D.xb); + G.push(D); } - return F; + return G; } function g(E) { - var F, + var G, D, - G, - I, + F, J, + K, H, - L; - F = E.fw; - D = E.$i; - G = E.Bs; - I = G.Yu; - J = E.Qd; + I; + G = E.jw; + D = E.Yi; + F = E.Fs; + J = F.cv; + K = E.Od; H = []; - I = Math.min(G.WF, I); - for (var M = 0; M < F.length; M++) { - G = []; - for (var O = D.am; O <= I; O++) { + J = Math.min(F.bG, J); + for (var L = 0; L < G.length; L++) { + F = []; + for (var Q = D.Zl; Q <= J; Q++) { C.update("get chunk map from play segment"); - L = F[M][O]; - L = new t(L.ca, L.duration / 1E3, E.kW && void 0 !== L.zb ? L.zb : J[M].zb); - G.push(L); + I = G[L][Q]; + I = new u(I.da, I.duration / 1E3, E.fN && void 0 !== I.xb ? I.xb : K[L].xb); + F.push(I); } - H.push(G); + H.push(F); } return new w(H, !1); } - function h(E, F, D) { - p(E.lL() >= F.length, "expect chunk_map.get_n_epoch() >= stream_choices.length"); - for (var G = 0, I = 0, J, H, M = 0; M < F.length; M++) { + function h(E, G, D) { + p(E.oL() >= G.length, "expect chunk_map.get_n_epoch() >= stream_choices.length"); + for (var F = 0, J = 0, K, H, L = 0; L < G.length; L++) { C.update("calculate twvmaf"); - p(F[M].uVa === M, "expect stream_choices[idx].i_epoch === idx"); - H = E.gk[F[M].Q3][M]; - J = void 0 !== D ? D(H.quality) : H.quality; - H = H.$l; - G += J * H; - I += H; + p(G[L].sVa === L, "expect stream_choices[idx].i_epoch === idx"); + H = E.gk[G[L].R3][L]; + K = void 0 !== D ? D(H.quality) : H.quality; + H = H.Yl; + F += K * H; + J += H; } return { - kQa: G / I, - jQa: 1E3 * I + hQa: F / J, + gQa: 1E3 * J }; } - function m(E, F, D) { - p(E.lL() >= F.length, "expect chunk_map.get_n_epoch() >= stream_choices.length"); - for (var G = 0, I = 0, J = D.$i.zR, H, M = 0, O = 0, L = 0; L < F.length; L++) { + function m(E, G, D) { + p(E.oL() >= G.length, "expect chunk_map.get_n_epoch() >= stream_choices.length"); + for (var F = 0, J = 0, K = D.Yi.AR, H, L = 0, Q = 0, I = 0; I < G.length; I++) { C.update("calculate Bytes"); - p(F[L].uVa === L, "expect stream_choices[idx].i_epoch === idx"); - H = E.gk[F[L].Q3][L]; - G += H.ca; - I += J * H.$l * 1E3 / 8; - M += H.$l * D.Qd[F[L].Q3].bitrate; - O += H.$l; + p(G[I].sVa === I, "expect stream_choices[idx].i_epoch === idx"); + H = E.gk[G[I].R3][I]; + F += H.da; + J += K * H.Yl * 1E3 / 8; + L += H.Yl * D.Od[G[I].R3].bitrate; + Q += H.Yl; } return { - iQa: G, - gQa: I, - hQa: 0 < O ? 1 * M / O : 0 + fQa: F, + dQa: J, + eQa: 0 < Q ? 1 * L / Q : 0 }; } - function n(E, F, D) { - F = Math.min(E.length - 1, F); - F = Math.max(0, F); - return E[F] * D / 8; + function n(E, G, D) { + G = Math.min(E.length - 1, G); + G = Math.max(0, G); + return E[G] * D / 8; } - function r(E, F, D, G) { - var I, - J, + function q(E, G, D, F) { + var J, + K, H, - M, - O; - I = D.trace; - J = 1 * D.Ax; - H = F + G - D.timestamp; - M = Math.floor(1 * H / J); - F = (H - M * J) / J * n(I, M, J); - if (F >= E) - O = H - 1 * E / F * (H - M * J); + L, + Q; + J = D.trace; + K = 1 * D.Fx; + H = G + F - D.timestamp; + L = Math.floor(1 * H / K); + G = (H - L * K) / K * n(J, L, K); + if (G >= E) + Q = H - 1 * E / G * (H - L * K); else - for (H = M; F < E; ) { + for (H = L; G < E; ) { C.update("find download start time"); --H; if (0 > H) return -1; - M = n(I, H, J); - if (F + M >= E) { - E = (E - F) / M * J; - O = (H + 1) * J - E; + L = n(J, H, K); + if (G + L >= E) { + E = (E - G) / L * K; + Q = (H + 1) * K - E; break; } - F += M; + G += L; } - return O + D.timestamp - G; + return Q + D.timestamp - F; } p = a(6).assert; - u = a(905); - t = a(421).X8a; - w = a(421).Y8a; - v = a(906).l$a; - x = a(422).jeb; - y = a(251).Nva; - z = a(244).RY; - B = a(84).default; - A = new(a(4).default.Console)("ASEJS_QOE_EVAL", "media|asejs"); - C = a(125).kFa || a(125); - q.exports = { - GT: function (E) { - var F, + t = a(907); + u = a(425).Z8a; + w = a(425).$8a; + v = a(908).o$a; + x = a(426).meb; + y = a(252).Kva; + z = a(245).QY; + A = a(84).default; + B = new(a(5).default.Console)("ASEJS_QOE_EVAL", "media|asejs"); + C = a(124).hFa || a(124); + r.exports = { + ET: function (E) { + var G, D, - G, - I, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, - ja, + Y, + ra, + Ea, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za; - A.debug("greedy DEBUG false"); - C.Tra("greedy-" + (E.kW ? "segvmaf" : "dlvmaf") + ": "); + B.debug("greedy DEBUG false"); + C.Mra("greedy-" + (E.fN ? "segvmaf" : "dlvmaf") + ": "); try { - E.VF = []; - F = E.fw; - D = E.$i; - G = E.Bs; - I = G.Yu; - J = E.Qd; - I = Math.min(G.WF, I); - for (M = D.am; M <= I; M++) { - O = new u(); - E.VF[M] = O; - F[0][M].Ffa = F[0][M].ca; - for (H = 1; H < F.length; H++) { - F[H][M].Ffa = F[H][M].ca; + E.aG = []; + G = E.jw; + D = E.Yi; + F = E.Fs; + J = F.cv; + K = E.Od; + J = Math.min(F.bG, J); + for (L = D.Zl; L <= J; L++) { + Q = new t(); + E.aG[L] = Q; + G[0][L].yfa = G[0][L].da; + for (H = 1; H < G.length; H++) { + G[H][L].yfa = G[H][L].da; } H = 0; - L = F[H][M]; - L.dC = Infinity; - L.og = H; - for (H = 1; H < F.length; H++) { - L = F[H][M]; - L.og = H; - P = O.p4() ? F[0][M] : O.mMb(); - R = 8 * L.Ffa / L.duration; - K = 8 * P.Ffa / P.duration; - if (E.kW && void 0 !== L.zb) - (Q = L.zb, N = P.zb); - else (Q = J[H].zb, N = J[P.og].zb); - L.Zs = R - K; - L.dC = (Q - N) / L.Zs; - isFinite(L.dC) && (0 < L.dC || H == F.length - 1) && 0 < L.Zs && O.enqueue(L); - } - } - for (M = D.am; M <= I; M++) { + I = G[H][L]; + I.fC = Infinity; + I.ng = H; + for (H = 1; H < G.length; H++) { + I = G[H][L]; + I.ng = H; + O = Q.q4() ? G[0][L] : Q.pMb(); + N = 8 * I.yfa / I.duration; + M = 8 * O.yfa / O.duration; + if (E.fN && void 0 !== I.xb) + (P = I.xb, R = O.xb); + else (P = K[H].xb, R = K[O.ng].xb); + I.ft = N - M; + I.fC = (P - R) / I.ft; + isFinite(I.fC) && (0 < I.fC || H == G.length - 1) && 0 < I.ft && Q.enqueue(I); + } + } + for (L = D.Zl; L <= J; L++) { D = []; - da = []; - na = []; - va = E.VF[M].no(); - for (F = 0; F < va.length; F++) { - L = va[F]; - D.push(L.Zs.toFixed(2)); - E.kW && void 0 !== L.zb ? da.push(L.zb) : da.push(J[L.og].zb); - na.push(L.dC.toFixed(4)); - } - } - ra = k(E); - if (ra.qoa) - return ra; - X = E.$i; - ta = E.Bs; - za = ta.Yu; - za = Math.min(ta.WF, za); - na = []; - for (var V = X.am; V <= za; V++) { - E.VF[V].p4() || na.push(E.VF[V].qK()); + ea = []; + pa = []; + va = E.aG[L].oo(); + for (G = 0; G < va.length; G++) { + I = va[G]; + D.push(I.ft.toFixed(2)); + E.fN && void 0 !== I.xb ? ea.push(I.xb) : ea.push(K[I.ng].xb); + pa.push(I.fC.toFixed(4)); + } + } + ta = k(E); + if (ta.loa) + return ta; + Y = E.Yi; + ra = E.Fs; + Ea = ra.cv; + Ea = Math.min(ra.bG, Ea); + pa = []; + for (var V = Y.Zl; V <= Ea; V++) { + E.aG[V].q4() || pa.push(E.aG[V].uK()); } p(void 0 !== E.compare, "playSegment.compare required for greedy"); - for (var T = new z(na, E.compare); 0 < T.length; ) { + for (var U = new z(pa, E.compare); 0 < U.length; ) { C.update("upgrade frags"); - ja = T.pop(); + ma = U.pop(); a: { - za = X = void 0; + Ea = Y = void 0; V = E; - na = ra; - da = ja; - Ia = V.$i; - wa = V.Bs; - Sa = Math.min(wa.WF, wa.Yu); - Ua = JSON.parse(JSON.stringify(na.Up)); - p(da && Ua[da.index].ie < da.og, "expect solution[targetFrag.index].selectedStreamIndex < targetFrag.streamIndex"); - za = da.index; - X = Ua[za]; - X.ie = da.og; - X.gN = f(V, X.ie, za); - X.startTime = r(X.gN, X.G1, V.Bz, Ia.xC); - Ua[za] = X; - if (0 > X.startTime) - $a = !1; + pa = ta; + ea = ma; + Ia = V.Yi; + wa = V.Fs; + Ta = Math.min(wa.bG, wa.cv); + Ua = JSON.parse(JSON.stringify(pa.Xp)); + p(ea && Ua[ea.index].he < ea.ng, "expect solution[targetFrag.index].selectedStreamIndex < targetFrag.streamIndex"); + Ea = ea.index; + Y = Ua[Ea]; + Y.he = ea.ng; + Y.hN = f(V, Y.he, Ea); + Y.startTime = q(Y.hN, Y.I1, V.Ez, Ia.zC); + Ua[Ea] = Y; + if (0 > Y.startTime) + ab = !1; else { - for (za = da.index - 1; za >= Ia.am; za--) { - X = Ua[za]; - Za = Ua[za + 1].startTime; - if (X.G1 <= Za) + for (Ea = ea.index - 1; Ea >= Ia.Zl; Ea--) { + Y = Ua[Ea]; + Za = Ua[Ea + 1].startTime; + if (Y.I1 <= Za) break; - X.G1 = Za; - X.startTime = r(X.gN, X.G1, V.Bz, Ia.xC); - Ua[za] = X; - if (0 > X.startTime) { - $a = !1; + Y.I1 = Za; + Y.startTime = q(Y.hN, Y.I1, V.Ez, Ia.zC); + Ua[Ea] = Y; + if (0 > Y.startTime) { + ab = !1; break a; } } - for (var mb = da.index + 1; mb <= Sa; mb++) { - Ua[mb].Jha = Ua[mb].gN + (mb > V.$i.am ? Ua[mb - 1].Jha : 0); + for (var nb = ea.index + 1; nb <= Ta; nb++) { + Ua[nb].Dha = Ua[nb].hN + (nb > V.Yi.Zl ? Ua[nb - 1].Dha : 0); } - for (var db = da.index + 1; db <= Sa; db++) { - if (Ua[db].startTime > Ua[da.index].tub) { - Sa = db - 1; + for (var cb = ea.index + 1; cb <= Ta; cb++) { + if (Ua[cb].startTime > Ua[ea.index].xub) { + Ta = cb - 1; break; } } - l(V, Ua, da, Math.min(za + 1, da.index), Sa) ? (na.Up = Ua, $a = !0) : $a = !1; + l(V, Ua, ea, Math.min(Ea + 1, ea.index), Ta) ? (pa.Xp = Ua, ab = !0) : ab = !1; } } - $a && (E.VF[ja.index].p4() || T.push(E.VF[ja.index].qK())); + ab && (E.aG[ma.index].q4() || U.push(E.aG[ma.index].uK())); } } finally { - delete E.VF; - } - for (Sa = wa = Ia = $a = ja = T = 0; Sa < ra.Up.length; Sa++) { - if (Ua = ra.Up[Sa]) - (Za = E.fw[Ua.ie][Ua.gSa], T += (Za.zb ? Za.zb : E.Qd[Ua.ie].zb) * Za.duration, ja += Za.duration, $a += Za.ca, Ia += E.$i.zR * Za.duration / 8, wa += Za.duration * E.Qd[Ua.ie].bitrate); - } - ra.kQa = 0 < ja ? 1 * T / ja : 0; - ra.jQa = ja; - ra.iQa = $a; - ra.gQa = Ia; - ra.hQa = 0 < ja ? 1 * wa / ja : 0; - ra.Ny = C.FTa(); - A.debug("Max heap used: " + Math.round(ra.Ny / 1024 / 1024) + " MB"); - return ra; + delete E.aG; + } + for (Ta = wa = Ia = ab = ma = U = 0; Ta < ta.Xp.length; Ta++) { + if (Ua = ta.Xp[Ta]) + (Za = E.jw[Ua.he][Ua.fSa], U += (Za.xb ? Za.xb : E.Od[Ua.he].xb) * Za.duration, ma += Za.duration, ab += Za.da, Ia += E.Yi.AR * Za.duration / 8, wa += Za.duration * E.Od[Ua.he].bitrate); + } + ta.hQa = 0 < ma ? 1 * U / ma : 0; + ta.gQa = ma; + ta.fQa = ab; + ta.dQa = Ia; + ta.eQa = 0 < ma ? 1 * wa / ma : 0; + ta.Qy = C.GTa(); + B.debug("Max heap used: " + Math.round(ta.Qy / 1024 / 1024) + " MB"); + return ta; }, - sga: function (E, F) { - if (E.dC < F.dC) + mga: function (E, G) { + if (E.fC < G.fC) return 1; - if (E.dC > F.dC) + if (E.fC > G.fC) return -1; - if (E.Zs > F.Zs) + if (E.ft > G.ft) return 1; - if (E.Zs < F.Zs) + if (E.ft < G.ft) return -1; - if (E.index > F.index) + if (E.index > G.index) return 1; - if (E.index < F.index) + if (E.index < G.index) return -1; throw Error("Invalid frag comparison"); }, - tOa: function (E, F) { - if (E.Zs > F.Zs) + rOa: function (E, G) { + if (E.ft > G.ft) return 1; - if (E.Zs < F.Zs) + if (E.ft < G.ft) return -1; - if (E.index > F.index) + if (E.index > G.index) return 1; - if (E.index < F.index) + if (E.index < G.index) return -1; throw Error("Invalid frag comparison"); }, dp: function (E) { - var F, + var G, D, - G, - I, + F, J, + K, H; - C.Tra("dp-" + (E.kW ? "segvmaf" : "dlvmaf") + ": "); - F = k(E); - if (!1 === F.SB || !0 === F.qoa) - return F; + C.Mra("dp-" + (E.fN ? "segvmaf" : "dlvmaf") + ": "); + G = k(E); + if (!1 === G.UB || !0 === G.loa) + return G; D = g(E); - G = new v(D); - I = d(E); - I = { - a5a: c(E), - HMa: E.$i.zR, - UYa: 0, - zYa: 240, - yYa: 8 * E.fNa.A6a / 1E3, + F = new v(D); + J = d(E); + J = { + c5a: c(E), + HMa: E.Yi.AR, + RYa: 0, + wYa: 240, + vYa: 8 * E.fNa.D6a / 1E3, kNa: .5, - TMa: new y(I), - bRa: 0, - a5b: void 0, + UMa: new y(J), + aRa: 0, + f5b: void 0, OUa: void 0, S0a: void 0, - SLa: !0 + RLa: !0 }; - G = G.Sv(I); - I = h(D, G, void 0); - D = m(D, G, E); - J = []; - H = E.$i.am; - G.forEach(function (M) { - J[H] = { - ie: M.Q3 + F = F.Xv(J); + J = h(D, F, void 0); + D = m(D, F, E); + K = []; + H = E.Yi.Zl; + F.forEach(function (L) { + K[H] = { + he: L.R3 }; H++; }); - B(I, F); - B(D, F); - F.Up = J; - F.Ny = C.FTa(); - A.debug("Max heap used: " + Math.round(F.Ny / 1024 / 1024) + " MB"); - return F; + A(J, G); + A(D, G); + G.Xp = K; + G.Qy = C.GTa(); + B.debug("Max heap used: " + Math.round(G.Qy / 1024 / 1024) + " MB"); + return G; } }; - }, function (q) { + }, function (r) { var c; function b(f) { this.$f = a(f); - this.sg = this.Re = 0; + this.sg = this.Se = 0; if (c(f)) { for (var k = f.length, l = 0; l < k; ++l) { this[l] = f[l]; } - this.Re = k; + this.Se = k; } } function a(f) { @@ -95043,8 +94941,8 @@ a000.D9b = function () { f |= f >> 8; return (f | f >> 16) + 1; } - b.prototype.no = function () { - for (var f = this.Re, k = Array(f), l = this.sg, d = this.$f, g = 0; g < f; ++g) { + b.prototype.oo = function () { + for (var f = this.Se, k = Array(f), l = this.sg, d = this.$f, g = 0; g < f; ++g) { k[g] = this[l + g & d - 1]; } return k; @@ -95055,16 +94953,16 @@ a000.D9b = function () { d, h; k = arguments.length; - l = this.Re; + l = this.Se; if (1 < k) { d = this.$f; if (l + k > d) { for (var g = 0; g < k; ++g) { - this.WZ(l + 1); + this.YZ(l + 1); h = this.sg + l & this.$f - 1; this[h] = arguments[g]; l++; - this.Re = l; + this.Se = l; } return l; } @@ -95073,27 +94971,27 @@ a000.D9b = function () { this[h + l & d - 1] = arguments[g]; h++; } - this.Re = l + k; + this.Se = l + k; return l + k; } if (0 === k) return l; - this.WZ(l + 1); + this.YZ(l + 1); g = this.sg + l & this.$f - 1; this[g] = f; - this.Re = l + 1; + this.Se = l + 1; return l + 1; }; b.prototype.pop = function () { var f, k, l; - f = this.Re; + f = this.Se; if (0 !== f) { k = this.sg + f - 1 & this.$f - 1; l = this[k]; this[k] = void 0; - this.Re = f - 1; + this.Se = f - 1; return l; } }; @@ -95101,13 +94999,13 @@ a000.D9b = function () { var f, k, l; - f = this.Re; + f = this.Se; if (0 !== f) { k = this.sg; l = this[k]; this[k] = void 0; this.sg = k + 1 & this.$f - 1; - this.Re = f - 1; + this.Se = f - 1; return l; } }; @@ -95116,18 +95014,18 @@ a000.D9b = function () { l, d, h; - k = this.Re; + k = this.Se; l = arguments.length; if (1 < l) { d = this.$f; if (k + l > d) { for (var g = l - 1; 0 <= g; g--) { - this.WZ(k + 1); + this.YZ(k + 1); d = this.$f; h = (this.sg - 1 & d - 1 ^ d) - d; this[h] = arguments[g]; k++; - this.Re = k; + this.Se = k; this.sg = h; } return k; @@ -95138,68 +95036,68 @@ a000.D9b = function () { this[h] = arguments[g]; } this.sg = h; - this.Re = k + l; + this.Se = k + l; return k + l; } if (0 === l) return k; - this.WZ(k + 1); + this.YZ(k + 1); d = this.$f; g = (this.sg - 1 & d - 1 ^ d) - d; this[g] = f; - this.Re = k + 1; + this.Se = k + 1; this.sg = g; return k + 1; }; - b.prototype.mMb = function () { + b.prototype.pMb = function () { var f; - f = this.Re; + f = this.Se; if (0 !== f) return this[this.sg + f - 1 & this.$f - 1]; }; b.prototype.get = function (f) { var k; if (f === (f | 0)) { - k = this.Re; + k = this.Se; 0 > f && (f += k); if (!(0 > f || f >= k)) return this[this.sg + f & this.$f - 1]; } }; - b.prototype.p4 = function () { - return 0 === this.Re; + b.prototype.q4 = function () { + return 0 === this.Se; }; b.prototype.clear = function () { - for (var f = this.Re, k = this.sg, l = this.$f, d = 0; d < f; ++d) { + for (var f = this.Se, k = this.sg, l = this.$f, d = 0; d < f; ++d) { this[k + d & l - 1] = void 0; } - this.sg = this.Re = 0; + this.sg = this.Se = 0; }; b.prototype.toString = function () { - return this.no().toString(); + return this.oo().toString(); }; b.prototype.valueOf = b.prototype.toString; b.prototype.enqueue = b.prototype.push; - b.prototype.qK = b.prototype.shift; - b.prototype.toJSON = b.prototype.no; + b.prototype.uK = b.prototype.shift; + b.prototype.toJSON = b.prototype.oo; Object.defineProperty(b.prototype, "length", { get: function () { - return this.Re; + return this.Se; }, set: function () { throw new RangeError(""); } }); - b.prototype.WZ = function (f) { - this.$f < f && this.$ib(a(1.5 * this.$f + 16)); + b.prototype.YZ = function (f) { + this.$f < f && this.ajb(a(1.5 * this.$f + 16)); }; - b.prototype.$ib = function (f) { + b.prototype.ajb = function (f) { var k, l; k = this.$f; this.$f = f; f = this.sg; - l = this.Re; + l = this.Se; if (f + l > k) for ((f = f + l & k - 1, l = 0); l < f; ++l) { this[l + k] = this[l + 0]; @@ -95207,40 +95105,40 @@ a000.D9b = function () { } }; c = Array.isArray; - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var p, - u, t, + u, w; function c(v, x, y) { - this.WMa = this.vfb(v, x, y); + this.XMa = this.wfb(v, x, y); } function f() {} function k() {} function l() {} function d(v) { - this.Aob = v; + this.Bob = v; } function g() {} function h() {} function m() {} function n() { - this.Gha = {}; + this.Aha = {}; } - function r(v, x) { + function q(v, x) { return Array.apply(0, Array(x)).map(function (y, z) { return z + v; }); } p = a(6).assert; - b = a(251).Nva; - u = a(422).keb; - t = a(251).A8a; - new(a(4).default.Console)("ASEJS_QOE_EVAL", "media|asejs"); - w = a(125).kFa || a(125); + b = a(252).Kva; + t = a(426).neb; + u = a(252).C8a; + new(a(5).default.Console)("ASEJS_QOE_EVAL", "media|asejs"); + w = a(124).hFa || a(124); c.prototype.constructor = c; - c.prototype.vfb = function (v, x, y) { + c.prototype.wfb = function (v, x, y) { p(v < x, "expect min_buffer_sec < max_buffer_sec but got " + v + " and " + x); p(0 < y, "expect buffer_step_sec > 0. but got " + y); for (var z = []; v < x; v += y) { @@ -95249,18 +95147,18 @@ a000.D9b = function () { z[z.length - 1] < x && z.push(x); return z; }; - c.prototype.DB = function (v) { - return this.ugb(v, this.WMa); + c.prototype.GB = function (v) { + return this.vgb(v, this.XMa); }; - c.prototype.ugb = function (v, x) { - v = this.Xtb(v, x); + c.prototype.vgb = function (v, x) { + v = this.$tb(v, x); if (0 === v) throw new f(); if (v === x.length) throw new k(); return v; }; - c.prototype.Xtb = function (v, x) { + c.prototype.$tb = function (v, x) { p(0 < x.length, "expect bins.length > 0 but got " + x.length); if (v < x[0]) return 0; @@ -95272,175 +95170,175 @@ a000.D9b = function () { } p(!1, "expect not coming here in digitize()"); }; - c.prototype.v3 = function () { - return r(1, this.WMa.length - 1); + c.prototype.w3 = function () { + return q(1, this.XMa.length - 1); }; f.prototype = Error(); k.prototype = Error(); l.prototype = Error(); d.prototype.constructor = d; d.prototype.VERSION = "0.5"; - d.prototype.s9a = -20; - d.prototype.r9a = 20; - d.prototype.q9a = void 0; - d.prototype.l9a = new b(void 0); - d.prototype.n9a = 0; - d.prototype.m9a = 1; - d.prototype.v9a = !1; - d.prototype.p9a = !0; - d.prototype.o9a = !0; - d.prototype.t9a = void 0; - d.prototype.j9a = !0; - d.prototype.k9a = 0; - d.prototype.Sv = function (v) { - p(void 0 !== v.a5a, "expect recipe.time_varying_bandwidth !== undefined"); - return this.ajb(this.Aob, v.a5a, void 0 !== v.UYa ? v.UYa : this.s9a, void 0 !== v.zYa ? v.zYa : this.r9a, void 0 !== v.yYa ? v.yYa : this.q9a, void 0 !== v.TMa ? v.TMa : this.l9a, void 0 !== v.bRa ? v.bRa : this.n9a, void 0 !== v.kNa ? v.kNa : this.m9a, void 0 !== v.oTb ? v.oTb : this.v9a, void 0 !== v.gCb ? v.gCb : this.p9a, void 0 !== v.OUa ? v.OUa : this.o9a, void 0 !== v.S0a ? v.S0a : this.t9a, void 0 !== v.SLa ? v.SLa : this.j9a, void 0 !== v.HMa ? v.HMa : this.k9a); - }; - d.prototype.ajb = function (v, x, y, z, B, A, C, E, F, D, G, I, J, H) { - var O, - L, + d.prototype.u9a = -20; + d.prototype.t9a = 20; + d.prototype.s9a = void 0; + d.prototype.n9a = new b(void 0); + d.prototype.p9a = 0; + d.prototype.o9a = 1; + d.prototype.x9a = !1; + d.prototype.r9a = !0; + d.prototype.q9a = !0; + d.prototype.v9a = void 0; + d.prototype.l9a = !0; + d.prototype.m9a = 0; + d.prototype.Xv = function (v) { + p(void 0 !== v.c5a, "expect recipe.time_varying_bandwidth !== undefined"); + return this.bjb(this.Bob, v.c5a, void 0 !== v.RYa ? v.RYa : this.u9a, void 0 !== v.wYa ? v.wYa : this.t9a, void 0 !== v.vYa ? v.vYa : this.s9a, void 0 !== v.UMa ? v.UMa : this.n9a, void 0 !== v.aRa ? v.aRa : this.p9a, void 0 !== v.kNa ? v.kNa : this.o9a, void 0 !== v.rTb ? v.rTb : this.x9a, void 0 !== v.iCb ? v.iCb : this.r9a, void 0 !== v.OUa ? v.OUa : this.q9a, void 0 !== v.S0a ? v.S0a : this.v9a, void 0 !== v.RLa ? v.RLa : this.l9a, void 0 !== v.HMa ? v.HMa : this.m9a); + }; + d.prototype.bjb = function (v, x, y, z, A, B, C, E, G, D, F, J, K, H) { + var Q, + I, + O, + N, + M, P, - R, - K, - Q, - ra, - ja, + ta, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La; - function M(Ma) { - return Ma[K]; + function L(Ma) { + return Ma[M]; } - w.Tra("dp: "); - p(y <= A.Yg, "expect min_buffer_sec <= bgn_buffer_queue.total_remain_sec"); - p(A.Yg <= z, "expect bgn_buffer_queue.total_remain_sec <= max_buffer_sec"); + w.Mra("dp: "); + p(y <= B.Wg, "expect min_buffer_sec <= bgn_buffer_queue.total_remain_sec"); + p(B.Wg <= z, "expect bgn_buffer_queue.total_remain_sec <= max_buffer_sec"); p(y <= C, "expect min_buffer_sec <= end_buffer_sec"); p(C <= z, "expect end_buffer_sec <= max_buffer_sec"); - void 0 !== B && p(A.ql <= B, "Need bgn_buffer_queue.total_remain_kb <= max_buffer_kb but has got " + A.ql + " and " + B); - O = new c(y, z, E); + void 0 !== A && p(B.pl <= A, "Need bgn_buffer_queue.total_remain_kb <= max_buffer_kb but has got " + B.pl + " and " + A); + Q = new c(y, z, E); E = new n(); - L = 0; - P = A; - E.put([0, O.DB(A.Yg)], [L, P, void 0, void 0, x, void 0, void 0, void 0]); - R = P = 0; - x = v.bCb(); - p(v.lL() == x.length, "expect chunk_map.get_n_epoch() == durations_sec.length"); - K = -1; - for (Q in x) { - K += 1; - for (var N = !0, da = v.gk.map(M), na = O.v3(), va = 0; va < na.length; va++) { - ra = na[va]; - if (E.sma([K, ra])) - for (var X = E.get([K, ra]), ta = X[0], za = X[1], V = X[4], T = 0; T < da.length; T++) { - x = da[T]; + I = 0; + O = B; + E.put([0, Q.GB(B.Wg)], [I, O, void 0, void 0, x, void 0, void 0, void 0]); + N = O = 0; + x = v.dCb(); + p(v.oL() == x.length, "expect chunk_map.get_n_epoch() == durations_sec.length"); + M = -1; + for (P in x) { + M += 1; + for (var R = !0, ea = v.gk.map(L), pa = Q.w3(), va = 0; va < pa.length; va++) { + ta = pa[va]; + if (E.mma([M, ta])) + for (var Y = E.get([M, ta]), ra = Y[0], Ea = Y[1], V = Y[4], U = 0; U < ea.length; U++) { + x = ea[U]; w.update("epoch-ibuf-chunk loop"); - A = void 0 !== I ? I(x.quality) : x.quality; - ja = V.Hq(); + B = void 0 !== J ? J(x.quality) : x.quality; + ma = V.zs(); try { - X = this.agb(za, x, ja, H); - Ia = X[0]; - wa = X[1]; - Sa = X[2]; - Ua = X[3]; - $a = X[4]; - Za = X[5]; + Y = this.bgb(Ea, x, ma, H); + Ia = Y[0]; + wa = Y[1]; + Ta = Y[2]; + Ua = Y[3]; + ab = Y[4]; + Za = Y[5]; } catch (Ma) { - if (Ma instanceof u) + if (Ma instanceof t) continue; else if (Ma instanceof f) { - P += 1; + O += 1; continue; } else throw Ma; } - mb = L = !1; + nb = I = !1; try { - db = O.DB(Ua.Yg); - D && O.DB(Ia); - G && O.DB(wa); - if (void 0 !== B) - if (G) { - if (Sa.ql > B) + cb = Q.GB(Ua.Wg); + D && Q.GB(Ia); + F && Q.GB(wa); + if (void 0 !== A) + if (F) { + if (Ta.pl > A) throw new l(); - } else if (Ua.ql > B) + } else if (Ua.pl > A) throw new l(); } catch (Ma) { if (Ma instanceof f) - (db = void 0, P += 1); + (cb = void 0, O += 1); else if (Ma instanceof k) - (J ? L = !0 : R += 1, db = void 0); + (K ? I = !0 : N += 1, cb = void 0); else if (Ma instanceof l) - (J ? mb = L = !0 : R += 1, db = void 0); + (K ? nb = I = !0 : N += 1, cb = void 0); else throw Ma; } try { - if (L && mb) { - p(void 0 !== B, "expect max_buffer_kb !== undefined"); - Ta = G ? Sa.ql - B : Ua.ql - B; - p(0 <= Ta, "pause dlnd kb cannot be -ve but is " + Ta); + if (I && nb) { + p(void 0 !== A, "expect max_buffer_kb !== undefined"); + Sa = F ? Ta.pl - A : Ua.pl - A; + p(0 <= Sa, "pause dlnd kb cannot be -ve but is " + Sa); try { - Ca = Ua.JMb(Ta); + Ba = Ua.MMb(Sa); } catch (Ma) { - if (Ma instanceof t) + if (Ma instanceof u) throw new f(); throw Ma; } - ja.N_a(Ca); - $a += Ca; - p(Ua.Yg < z, "expect cur_buffer_queue.total_remain_sec < max_buffer_sec"); - db = O.DB(Ua.Yg); - } else if (L && !mb) { - Ca = G ? Sa.Yg - z + 1E-8 : Ua.Yg - z + 1E-8; - p(0 <= Ca, "pause dlnd kb cannot be -ve but is " + Ca); + ma.L_a(Ba); + ab += Ba; + p(Ua.Wg < z, "expect cur_buffer_queue.total_remain_sec < max_buffer_sec"); + cb = Q.GB(Ua.Wg); + } else if (I && !nb) { + Ba = F ? Ta.Wg - z + 1E-8 : Ua.Wg - z + 1E-8; + p(0 <= Ba, "pause dlnd kb cannot be -ve but is " + Ba); try { - Ua.e0a(Ca); + Ua.c0a(Ba); } catch (Ma) { - if (Ma instanceof t) + if (Ma instanceof u) throw new f(); throw Ma; } - ja.N_a(Ca); - $a += Ca; - p(y <= Ua.Yg, "expect min_buffer_sec <= cur_buffer_queue.total_remain_sec"); - p(Ua.Yg < z, "cur_buffer_queue.total_remain_sec < max_buffer_sec"); - db = O.DB(Ua.Yg); + ma.L_a(Ba); + ab += Ba; + p(y <= Ua.Wg, "expect min_buffer_sec <= cur_buffer_queue.total_remain_sec"); + p(Ua.Wg < z, "cur_buffer_queue.total_remain_sec < max_buffer_sec"); + cb = Q.GB(Ua.Wg); } else - Ca = 0; + Ba = 0; } catch (Ma) { if (Ma instanceof f) - (db = void 0, P += 1, Ca = void 0); - else if (Ma instanceof u) + (cb = void 0, O += 1, Ba = void 0); + else if (Ma instanceof t) continue; else throw Ma; } - L = E.sma([K + 1, db]) ? E.get([K + 1, db])[0] : -Infinity; - this.Jjb(Ua, db, x, A, ra, K + 1, L, E, ta, T, ja, $a, Za, Ca) && (N = !1); + I = E.mma([M + 1, cb]) ? E.get([M + 1, cb])[0] : -Infinity; + this.Jjb(Ua, cb, x, B, ta, M + 1, I, E, ra, U, ma, ab, Za, Ba) && (R = !1); } } - if (N) { - --K; + if (R) { + --M; break; } } try { - La = this.VIa(K + 1, O.DB(C), E, F, O); + La = this.TIa(M + 1, Q.GB(C), E, G, Q); } catch (Ma) { if (Ma instanceof g) try { - La = this.VIa(K + 1, O.DB(C), E, !F, O); + La = this.TIa(M + 1, Q.GB(C), E, !G, Q); } catch (Va) { if (Va instanceof g) { - if (P > R) + if (O > N) throw new h(); throw new m(); } @@ -95449,105 +95347,105 @@ a000.D9b = function () { else throw Ma; } - ra = La; - for (y = []; -1 < K; K--) { - X = E.get([K + 1, ra]); - L = X[0]; - P = X[1]; - z = X[3]; - B = X[5]; - C = X[6]; - F = X[7]; - X = X[2]; - x = v.gk[X][K]; - D = x.ry(); - A = x.quality; + ta = La; + for (y = []; -1 < M; M--) { + Y = E.get([M + 1, ta]); + I = Y[0]; + O = Y[1]; + z = Y[3]; + A = Y[5]; + C = Y[6]; + G = Y[7]; + Y = Y[2]; + x = v.gk[Y][M]; + D = x.ty(); + B = x.quality; y.unshift({ - uVa: K, - Q3: X, + sVa: M, + R3: Y, info: { - z3b: D, - quality: A, - xfa: P.Yg, - wfa: P.ql, - CQa: B, + C3b: D, + quality: B, + qfa: O.Wg, + pfa: O.pl, + AQa: A, Oa: C, - ipa: F + dpa: G } }); - ra = z; + ta = z; } return y; }; - d.prototype.VIa = function (v, x, y, z, B) { - var A, + d.prototype.TIa = function (v, x, y, z, A) { + var B, C; - A = !1; - C = B.v3()[0]; - for (B = B.v3()[B.v3().length - 1]; ; ) { - if (x < C || x > B) { - A = !0; + B = !1; + C = A.w3()[0]; + for (A = A.w3()[A.w3().length - 1]; ; ) { + if (x < C || x > A) { + B = !0; break; } - if (y.sma([v, x])) + if (y.mma([v, x])) break; else x = z ? x - 1 : x + 1; } - if (A) + if (B) throw new g("backtrack fails to find a solution"); return x; }; - d.prototype.Jjb = function (v, x, y, z, B, A, C, E, F, D, G, I, J, H) { - y = F + z * y.$l; - return void 0 !== x && y > C ? (E.put([A, x], [y, v, D, B, G, I, J, H]), !0) : !1; + d.prototype.Jjb = function (v, x, y, z, A, B, C, E, G, D, F, J, K, H) { + y = G + z * y.Yl; + return void 0 !== x && y > C ? (E.put([B, x], [y, v, D, A, F, J, K, H]), !0) : !1; }; - d.prototype.agb = function (v, x, y, z) { - var B, - A, + d.prototype.bgb = function (v, x, y, z) { + var A, + B, C; - z = (x.ry() + z) * x.$l; - y = y.Bub(z); + z = (x.ty() + z) * x.Yl; + y = y.Fub(z); z /= y; - B = v.Yg - y; - A = v.Yg + x.$l; - C = v.Hq(); + A = v.Wg - y; + B = v.Wg + x.Yl; + C = v.zs(); C.add(x, void 0); - v = v.Hq(); + v = v.zs(); v.add(x, void 0); try { - v.e0a(y); + v.c0a(y); } catch (E) { - if (E instanceof t) + if (E instanceof u) throw new f(); throw E; } - return [B, A, C, v, y, z]; + return [A, B, C, v, y, z]; }; g.prototype = Error(); h.prototype = new g(); m.prototype = new g(); n.prototype = { - xta: function (v) { + sta: function (v) { return v.join(","); }, put: function (v, x) { - this.Gha[this.xta(v)] = x; + this.Aha[this.sta(v)] = x; }, get: function (v) { - return this.Gha[this.xta(v)]; + return this.Aha[this.sta(v)]; }, - sma: function (v) { - return (this.xta(v)in this.Gha); + mma: function (v) { + return (this.sta(v)in this.Aha); } }; - q.exports = { - l$a: d, - kZb: c, - KYb: f, - LYb: k + r.exports = { + o$a: d, + lZb: c, + LYb: f, + MYb: k }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -95559,47 +95457,21 @@ a000.D9b = function () { value: !0 } }); - b.aGa = void 0; - q = a(2); - c = q.__importStar(a(10)); + b.XFa = void 0; + r = a(2); + c = r.__importStar(a(10)); f = a(14); k = a(14); - l = q.__importDefault(a(4)); - d = a(220); - g = a(419); + l = r.__importDefault(a(5)); + d = a(223); + g = a(423); a = (function () { - function h(m, n, r, p) { - var e80; - e80 = 2; - for (; e80 !== 9; ) { - switch (e80) { - case 5: - var M2u = "1SIYbZ"; - M2u += "rN"; - M2u += "JCp"; - M2u += "9"; - this.Vb = r; - this.Ch = p; - M2u; - e80 = 9; - break; - case 2: - this.Wa = m; - this.H = n; - e80 = 5; - break; - } - } - } var d80; d80 = 2; for (; d80 !== 13; ) { switch (d80) { - case 14: - return h; - break; case 3: - h.prototype.gR = function (m) { + h.prototype.iR = function (m) { var m80, n; m80 = 2; @@ -95607,669 +95479,854 @@ a000.D9b = function () { switch (m80) { case 2: n = this; - m = this.Wa.Pg(m); - m.nR || (m.nR = !0, k.cf.forEach(function (r) { + m = this.Xa.Og(m); + m.pR || (m.pR = !0, k.cf.forEach(function (q) { var n80; n80 = 2; for (; n80 !== 1; ) { switch (n80) { case 2: - n.Wa.rg[r].resume(); + n.Xa.rg[q].resume(); n80 = 1; break; } } - }), this.Wa.RQ()); + }), this.Xa.TQ()); m80 = 4; break; } } }; - h.prototype.Cib = function (m, n) { + h.prototype.Dib = function (m, n) { var o80, - r, + q, p, - u; + t; o80 = 2; for (; o80 !== 8; ) { switch (o80) { - case 4: - o80 = (null === (p = this.Wa.bh) || void 0 === p ? 0 : p.IB()) ? 3 : 9; - break; case 9: - this.Wa.xS.vKa(u, m.ub.N); + this.Xa.wS.tKa(t, m.yb.N); o80 = 8; break; + case 4: + o80 = (null === (p = this.Xa.$g) || void 0 === p ? 0 : p.KB()) ? 3 : 9; + break; case 3: - (this.Wa.bh.ml.forEach(function (t) { + (this.Xa.$g.ll.forEach(function (u) { var p80; p80 = 2; for (; p80 !== 1; ) { switch (p80) { case 2: - r.Wa.DE(t, !1); - p80 = 1; - break; - case 4: - r.Wa.DE(t, -7); - p80 = 9; - break; + q.Xa.FE(u, !1); p80 = 1; break; } } - }), this.Wa.bh = void 0); + }), this.Xa.$g = void 0); o80 = 9; break; case 2: - (r = this, u = m.mediaType); - m.UG(n); - m.qQb(); + (q = this, t = m.mediaType); + m.bH(n); + m.vQb(); o80 = 4; break; } } }; - h.prototype.zca = function () { + h.prototype.tca = function () { var q80, m, n; q80 = 2; for (; q80 !== 4; ) { switch (q80) { + case 2: + q80 = this.IA ? 1 : 4; + break; case 9: - q80 = this.GA ? 0 : 6; + q80 = this.IA ? 2 : 5; break; - q80 = this.GA ? 1 : 4; + q80 = this.IA ? 1 : 4; break; case 1: - (m = this.GA.Aj, n = this.GA.Db); - this.Wa.Pg(n) && (this.GA = void 0, this.nr(m, n)); + (m = this.IA.yj, n = this.IA.Fb); + this.Xa.Og(n) && (this.IA = void 0, this.pr(m, n)); q80 = 4; break; + } + } + }; + d80 = 7; + break; + case 2: + h.prototype.pr = function (m, n) { + var f80, + w, + q, + p, + t, + u, + v, + x; + f80 = 2; + for (; f80 !== 50; ) { + switch (f80) { + case 35: + var V6q = "se"; + V6q += "ekDe"; + V6q += "l"; + V6q += "ay"; + V6q += "ed"; + this.IA = { + Fb: t.N.Fb + 1, + yj: m + }; + this.Xa.emit(V6q); + f80 = 33; + break; + case 27: + return; + break; + case 7: + f80 = (t = this.Xa.Og(n)) ? 6 : 51; + break; + case 19: + f80 = !this.Xa.wIa(n) ? 18 : 15; + break; + case 21: + f80 = !this.Xa.q0(t.N.Fb + 1) ? 35 : 31; + break; + case 53: + this.Xa.TQ(); + f80 = 43; + break; + case 16: + return; + break; + case 26: + u = this.Xa.Ga.Ec.SS(t.Ca || Infinity, t.N); + f80 = 25; + break; + case 28: + f80 = (u = this.Xa.pe.N.Fb === n && !this.Ngb(n) && m === t.X) ? 44 : 39; + break; + case 18: + var g6q = "s"; + g6q += "eek"; + g6q += "Delayed"; + this.IA = { + Fb: n, + yj: m + }; + this.Xa.emit(g6q); + f80 = 16; + break; + case 33: + return; + break; + case 11: + n < u.N.Fb && t.N.$e.replace && (t.N.$e.replace = !1); + w = this.Xa.Ga.Ec; + k.cf.forEach(function (y) { + var g80; + g80 = 2; + for (; g80 !== 1; ) { + switch (g80) { + case 2: + (y = w.Dd(y)) && q.Xa.EKa(y); + g80 = 1; + break; + } + } + }); + f80 = 19; + break; + case 12: + f80 = n != u.N.Fb ? 11 : 26; + break; + case 2: + q = this; + null === (p = this.AJa) || void 0 === p ? void 0 : p.cancel(); + (t = this.Xa.I, u = this.Xa.T.ye()); + p = m; + f80 = 3; + break; + case 51: + var d6q = "se"; + d6q += "ekF"; + d6q += "ailed"; + var w6q = "seek, "; + w6q += "no m"; + w6q += "a"; + w6q += "nifest at manifestIndex:"; + (this.H.warn(w6q, n), this.Xa.emit(d6q)); + f80 = 50; + break; + case 22: + f80 = t.N.$e.Ng ? 21 : 32; + break; + case 6: + !t.N.$e.zU && 0 < n && (p = this.Xa.hK(n, m)); + this.Xa.T.Ee(f.ka.zi); + u = this.Xa.pe; + f80 = 12; + break; + case 54: + k.cf.forEach(function (y) { + var i80, + z; + i80 = 2; + for (; i80 !== 5; ) { + switch (i80) { + case 2: + z = x.Dd(y); + q.Yb(y) && q.Dib(z, v[y]); + i80 = 5; + break; + } + } + }); + f80 = 53; + break; + case 25: + f80 = u.length ? 24 : 52; + break; + case 41: + var P6q = "seekFai"; + P6q += "l"; + P6q += "ed"; + var o6q = "afte"; + o6q += "r "; + o6q += "seeking, playerState no lon"; + o6q += "ger STARTING: "; + this.H.warn(o6q + this.Xa.T.getState()); + this.Xa.emit(P6q); + f80 = 50; + break; + case 42: + var l6q = "s"; + l6q += "e"; + l6q += "ek"; + var Q6q = "ptsch"; + Q6q += "ang"; + Q6q += "ed"; + return (this.Xa.emit(Q6q, p), this.Xa.emit(l6q), this.iR(n), m = u && this.Xa.ob.Ww() ? 100 : 0, this.Xa.f0(1, m), this.Xa.rj(), p); + break; + case 32: + (m = u, p = m + this.Xa.Ga.Me); + f80 = 31; + break; + case 3: + var U6q = " playe"; + U6q += "rSta"; + U6q += "te"; + U6q += ":"; + U6q += " "; + var r6q = " m"; + r6q += "ed"; + r6q += "ia."; + r6q += "currentPts: "; + var T6q = " current manif"; + T6q += "e"; + T6q += "st: "; + var J6q = " m"; + J6q += "anifestInd"; + J6q += "ex: "; + var S6q = "se"; + S6q += "e"; + S6q += "k"; + S6q += ":"; + S6q += " "; + t.Gh && this.Bh.Tl(S6q + m + J6q + n + T6q + this.Xa.pe.N.Fb + r6q + u + U6q + this.Xa.T.getState()); + c.fa(n) && (n = this.Xa.pe.N.Fb); + this.Xa.Ga.a2a(); + f80 = 7; + break; + case 15: + f80 = this.rs(g.y9.fja(n), !1, !0) ? 27 : 26; + break; + case 23: + f80 = m > u ? 22 : 31; + break; + case 24: + u = this.Xa.Dq ? this.Xa.cm ? Math.min(u[0].X, u[1].X) : u[0].X : u[1].X; + f80 = 23; + break; + case 39: + this.Xa.yda(); + v = this.Xa.Ga.Ec.c1(m).JM; + t.noa(); + x = this.Xa.Ga.Ec; + f80 = 54; + break; + case 52: + var c6q = "seek"; + c6q += "Delay"; + c6q += "ed"; + (this.IA = { + Fb: n, + yj: m + }, this.Xa.emit(c6q)); + f80 = 50; + break; + case 44: + k.cf.forEach(function (y) { + var h80; + h80 = 2; + for (; h80 !== 1; ) { + switch (h80) { + case 2: + q.Xa.Iu[y].ml(!0); + h80 = 1; + break; + } + } + }); + f80 = 43; + break; + case 43: + f80 = this.Xa.T.yWa() ? 42 : 41; + break; + case 31: + this.Xa.T.Ee(f.ka.Gg); + this.Xa.usa(); + this.Xa.Ga.FUb(m, n); + f80 = 28; + break; + } + } + }; + h.prototype.seek = function (m, n) { + var j80, + q; + j80 = 2; + for (; j80 !== 9; ) { + switch (j80) { + case 3: + return this.pr(q, n); + break; case 2: - q80 = this.GA ? 1 : 4; + q = m; + c.fa(n) && (n = this.Xa.pe.N.Fb); + this.Xa.Ga.a2a(); + this.Xa.Og(n).N.$e.zU || this.Xa.rJ || (q = this.Xa.ys(n, m)); + j80 = 3; + break; + case 12: + return this.pr(q, n); + break; + j80 = 9; break; } } }; - h.prototype.dn = function (m) { - var r80, - r, - p; - r80 = 2; - function n(u, t) { - var s80; - s80 = 2; - for (; s80 !== 5; ) { - switch (s80) { - case 2: - var r2u = "skip: un"; - r2u += "expected behaviour - a non-presenti"; - r2u += "ng branch doesn't have a pr"; - r2u += "evious branch"; - u !== r.Wa.Ga.Mh && (u.Tf ? n(u.Tf, t) : r.H.error(r2u)); - (u = u.Ed(t)) && u.dn(); - s80 = 5; - break; - } + h.prototype.rs = function (m, n, q) { + var k80, + p, + t; + k80 = 2; + for (; k80 !== 9; ) { + switch (k80) { + case 2: + t = this.Xa.Ga.rs(m, n); + k80 = 1; + break; + case 1: + k80 = n ? 5 : 4; + break; + case 5: + return t; + break; + case 4: + var Y6q = "s"; + Y6q += "ee"; + Y6q += "k"; + var a6q = "pts"; + a6q += "c"; + a6q += "han"; + a6q += "ged"; + t ? (this.Xa.T.Ee(f.ka.zi), (m = this.Xa.Ga.Lh.children[m]) && this.Xa.emit(a6q, null !== (p = m.Zc) && void 0 !== p ? p : m.QVa), this.Xa.T.Ee(f.ka.Gg), this.Xa.emit(Y6q), m && this.iR(m.N.Fb), this.Xa.f0(1), this.Xa.rj(), this.Xa.ob.Ww()) : q || (p = this.Xa.Ga.pBb(m), this.pr(p)); + k80 = 3; + break; + case 3: + return t; + break; } } - for (; r80 !== 7; ) { - switch (r80) { + }; + h.prototype.Ngb = function (m) { + var l80; + l80 = 2; + for (; l80 !== 1; ) { + switch (l80) { case 2: - r = this; - null === (p = this.CJa) || void 0 === p ? void 0 : p.cancel(); - this.Wa.Bsa(); - r80 = 4; + return !!this.Xa.Og(m).pR; break; case 4: - this.Wa.Ga.Mh.dn(m); - k.cf.forEach(function (u) { + return + +this.Xa.Og(m).pR; + break; + l80 = 1; + break; + } + } + }; + d80 = 3; + break; + case 7: + h.prototype.cn = function (m) { + var r80, + q, + p; + r80 = 2; + for (; r80 !== 7; ) { + switch (r80) { + case 3: + k.cf.forEach(function (t) { var t80, - t; + u; t80 = 2; for (; t80 !== 9; ) { switch (t80) { + case 2: + t80 = q.Yb(t) ? 1 : 9; + break; case 1: - var Q2u = "skip: not "; - Q2u += "resuming bufferManager,"; - Q2u += " audio track switch in p"; - Q2u += "rogress"; - t = r.Wa.nb.rf[u]; - r.Wa.Nq && (t.psa = l.default.time.aa()); - t.ZN ? t.Eb(Q2u) : r.Wa.rg[u].resume(); - n(r.Wa.Ga.Cc, u); + var j6q = "skip: not"; + j6q += " resuming bufferManager"; + j6q += ", audio track switch in progress"; + u = q.Xa.ob.rf[t]; + q.Xa.Oq && (u.jsa = l.default.time.ba()); + u.ZN ? u.Gb(j6q) : q.Xa.rg[t].resume(); + n(q.Xa.Ga.Ec, t); t80 = 9; break; - case 2: - t80 = r.Vb(u) ? 1 : 9; - break; } } }); - this.CJa = m = new d.OD(this.Wa.aH()); - return m.Roa(function () { + this.AJa = m = new d.RD(this.Xa.iH()); + return m.Moa(function () { var u80; u80 = 2; for (; u80 !== 5; ) { switch (u80) { case 2: - r.Wa.T.Ce(f.ja.yc); - r.Wa.ZQ(); + q.Xa.T.Ee(f.ka.Ac); + q.Xa.aR(); u80 = 5; break; } } - }).jra; + }).cra; + break; + case 2: + q = this; + null === (p = this.AJa) || void 0 === p ? void 0 : p.cancel(); + this.Xa.usa(); + this.Xa.Ga.Lh.cn(m); + r80 = 3; break; } } + function n(t, u) { + var s80; + s80 = 2; + for (; s80 !== 5; ) { + switch (s80) { + case 2: + var i6q = "skip: unexpected be"; + i6q += "haviour - a "; + i6q += "non-pres"; + i6q += "enting branch doesn't have a previous "; + i6q += "branch"; + t !== q.Xa.Ga.Lh && (t.Uf ? n(t.Uf, u) : q.H.error(i6q)); + (t = t.Dd(u)) && t.cn(); + s80 = 5; + break; + } + } + } }; h.prototype.bi = function (m) { var v80, n, - r, + q, p; v80 = 2; for (; v80 !== 8; ) { switch (v80) { - case 1: - v80 = m < (null !== (n = r.Zc) && void 0 !== n ? n : r.SVa) || m >= p ? 5 : 4; + case 5: + return !1; break; case 2: - (r = this.Wa.Ga.Mh, p = 0 < Object.keys(r.P && r.P.Xk || ({})).length && !r.ik ? r.Pd - this.Wa.I.jC : r.Pd); + (q = this.Xa.Ga.Lh, p = 0 < Object.keys(q.P && q.P.Xk || ({})).length && !q.ik ? q.Nd - this.Xa.I.lC : q.Nd); v80 = 1; break; - case 5: - return !1; + case 1: + v80 = m < (null !== (n = q.Zc) && void 0 !== n ? n : q.QVa) || m >= p ? 5 : 4; break; case 4: - n = this.Wa.Es(m, 0, !0); - m = this.Wa.Es(m, 1, !0); + n = this.Xa.Is(m, 0, !0); + m = this.Xa.Is(m, 1, !0); return void 0 !== n && void 0 !== m && n.complete && m.complete; break; } } }; - d80 = 14; + return h; break; - case 2: - h.prototype.nr = function (m, n) { - var f80, - w, - r, - p, - u, - t, - v, - x; - f80 = 2; - for (; f80 !== 50; ) { - switch (f80) { - case 7: - f80 = (u = this.Wa.Pg(n)) ? 6 : 51; - break; - case 53: - this.Wa.RQ(); - f80 = 43; - break; - case 16: - return; - break; - case 24: - t = this.Wa.Bq ? this.Wa.em ? Math.min(t[0].Z, t[1].Z) : t[0].Z : t[1].Z; - f80 = 23; - break; - case 43: - f80 = this.Wa.T.AWa() ? 42 : 41; - break; - case 44: - k.cf.forEach(function (y) { - var h80; - h80 = 2; - for (; h80 !== 1; ) { - switch (h80) { - case 2: - r.Wa.Du[y].nl(!0); - h80 = 1; - break; - } - } - }); - f80 = 43; - break; - case 25: - f80 = t.length ? 24 : 52; - break; - case 29: - this.Wa.Ga.DUb(m, n); - f80 = 28; - break; - case 31: - this.Wa.T.Ce(f.ja.Ig); - this.Wa.Bsa(); - f80 = 29; - break; - case 27: - return; - break; - case 21: - f80 = !this.Wa.o0(u.N.Db + 1) ? 35 : 31; - break; - case 42: - var u2u = "s"; - u2u += "e"; - u2u += "e"; - u2u += "k"; - var D2u = "pt"; - D2u += "s"; - D2u += "c"; - D2u += "hange"; - D2u += "d"; - return (this.Wa.emit(D2u, p), this.Wa.emit(u2u), this.gR(n), m = t && this.Wa.nb.Rw() ? 100 : 0, this.Wa.d0(1, m), this.Wa.uj(), p); + } + } + function h(m, n, q, p) { + var e80; + e80 = 2; + for (; e80 !== 9; ) { + switch (e80) { + case 2: + this.Xa = m; + this.H = n; + this.Yb = q; + e80 = 4; + break; + case 4: + var O6q = "1"; + O6q += "SIYbZrNJ"; + O6q += "Cp9"; + this.Bh = p; + O6q; + e80 = 9; + break; + case 13: + this.Bh = p; + ""; + e80 = 5; + break; + e80 = 9; + break; + } + } + } + })(); + b.XFa = a; + }, function (r, b, a) { + var c, + f, + k; + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.uxa = void 0; + r = a(2); + c = r.__importStar(a(10)); + f = a(14); + k = r.__importDefault(a(5)); + a = (function () { + var w80; + w80 = 2; + for (; w80 !== 18; ) { + switch (w80) { + case 14: + l.prototype.MWb = function (d, g, h) { + var P80; + P80 = 2; + for (; P80 !== 4; ) { + switch (P80) { + case 2: + g.xma = d.cd; + P80 = 1; break; - case 19: - f80 = !this.Wa.yIa(n) ? 18 : 15; + case 1: + c.ya(h.jv) || (h.JWb(d.sr, d.zy || -1, d.bitrate), c.fa(d.zra) || this.Qa.Yf.a3a(d.zra, d.Qn, d.Rn)); + d.url && (g.Cma = d.url); + P80 = 4; break; - case 32: - (m = t, p = m + this.Wa.Ga.Ke); - f80 = 31; + } + } + }; + l.prototype.qfb = function (d, g) { + var Q80, + h; + Q80 = 2; + for (; Q80 !== 5; ) { + switch (Q80) { + case 2: + h = this.Qa.ob.Ev[d.mediaType]; + return this.Qa.iKa && g.cd && h.xma && g.cd !== h.xma && (0 < d.Na.uC || 0 < d.Na.Dr) ? !0 : !1; break; - case 11: - n < t.N.Db && u.N.Ze.replace && (u.N.Ze.replace = !1); - w = this.Wa.Ga.Cc; - k.cf.forEach(function (y) { - var g80; - g80 = 2; - for (; g80 !== 1; ) { - switch (g80) { - case 2: - (y = w.Ed(y)) && r.Wa.GKa(y); - g80 = 1; - break; - } - } - }); - f80 = 19; + } + } + }; + l.prototype.rfb = function (d, g) { + var R80, + x, + h, + m, + n, + q, + p, + t, + u, + w, + v; + R80 = 2; + for (; R80 !== 32; ) { + switch (R80) { + case 7: + return !1; break; - case 22: - f80 = u.N.Ze.yg ? 21 : 32; + case 4: + R80 = (null === (h = d.Vf) || void 0 === h ? 0 : h.GCb()) ? 3 : 9; break; - case 2: - var q2u = " p"; - q2u += "lay"; - q2u += "erState: "; - var l2u = " med"; - l2u += "ia.cu"; - l2u += "r"; - l2u += "rentPts:"; - l2u += " "; - var j2u = " "; - j2u += "c"; - j2u += "urrent manif"; - j2u += "e"; - j2u += "st: "; - var A2u = " m"; - A2u += "a"; - A2u += "nifestIndex: "; - var e2u = "s"; - e2u += "ee"; - e2u += "k"; - e2u += ":"; - e2u += " "; - r = this; - null === (p = this.CJa) || void 0 === p ? void 0 : p.cancel(); - (u = this.Wa.I, t = this.Wa.T.xe()); - p = m; - u.Gh && this.Ch.Ul(e2u + m + A2u + n + j2u + this.Wa.me.N.Db + l2u + t + q2u + this.Wa.T.getState()); - c.ga(n) && (n = this.Wa.me.N.Db); - f80 = 8; + case 35: + R80 = (p = 1, d.rfa < m.Ty && (p = m.Ty), d.Na.uC >= p) ? 34 : 33; break; - case 39: - this.Wa.Eda(); - v = this.Wa.Ga.Cc.a1(m).JM; - u.soa(); - f80 = 36; + case 21: + R80 = (q = this.Qa.T.Qf()) ? 35 : 33; break; case 6: - !u.N.Ze.AU && 0 < n && (p = this.Wa.dK(n, m)); - f80 = 14; + h = this.Qa.pe.N; + R80 = 14; break; - case 41: - var Y2u = "s"; - Y2u += "ee"; - Y2u += "kFailed"; - var G2u = "after seeking, playerState "; - G2u += "no longer "; - G2u += "STARTING:"; - G2u += " "; - this.H.warn(G2u + this.Wa.T.getState()); - this.Wa.emit(Y2u); - f80 = 50; + case 19: + R80 = this.Qa.$b.gma ? 18 : 17; break; - case 15: - f80 = this.ns(g.D9.mja(n), !1, !0) ? 27 : 26; + case 18: + return !1; break; - case 14: - this.Wa.T.Ce(f.ja.zi); - t = this.Wa.me; - f80 = 12; + case 11: + t = this.Qa.Ga.TE(q, n); + x = 0; + R80 = 20; break; - case 35: - var m2u = "seek"; - m2u += "Del"; - m2u += "a"; - m2u += "ye"; - m2u += "d"; - this.GA = { - Db: u.N.Db + 1, - Aj: m - }; - this.Wa.emit(m2u); - f80 = 33; + case 3: + return !1; break; - case 12: - f80 = n != t.N.Db ? 11 : 26; + case 14: + x = this.Qa.T.Sn(h); + R80 = 13; break; - case 33: - return; + case 8: + R80 = p >= m.hC ? 7 : 6; break; - case 28: - f80 = (t = this.Wa.me.N.Db === n && !this.Mgb(n) && m === u.Z) ? 44 : 39; + case 12: + return !1; break; - case 18: - var O2u = "s"; - O2u += "eek"; - O2u += "D"; - O2u += "e"; - O2u += "layed"; - this.GA = { - Db: n, - Aj: m - }; - this.Wa.emit(O2u); - f80 = 16; + case 9: + p = d.Na.$oa; + R80 = 8; break; case 26: - t = this.Wa.Ga.Cc.TS(u.Aa || Infinity, u.N); - f80 = 25; - break; - case 52: - var E2u = "se"; - E2u += "ekDela"; - E2u += "ye"; - E2u += "d"; - (this.GA = { - Db: n, - Aj: m - }, this.Wa.emit(E2u)); - f80 = 50; + R80 = this.tgb(n) >= m.UL ? 25 : 24; break; - case 36: - x = this.Wa.Ga.Cc; - k.cf.forEach(function (y) { - var i80, - z; - i80 = 2; - for (; i80 !== 5; ) { - switch (i80) { - case 2: - z = x.Ed(y); - r.Vb(y) && r.Cib(z, v[y]); - i80 = 5; - break; - } - } - }); - f80 = 53; - break; - case 8: - this.Wa.Ga.b2a(); - f80 = 7; + case 33: + return 0 < m.ht && !q && t + (g ? x : 0) > m.ht || void 0 !== this.oIa && u > this.oIa || 1 === n && h.$e.Ng && u > m.una && (g = this.Qa.$b.Lb.get(), g.confidence && g.Oa && g.Oa.Fa * d.eK > m.tna) ? !1 : !0; break; - case 23: - f80 = m > t ? 22 : 31; + case 15: + R80 = void 0 === w || w < m.RHb ? 27 : 26; break; - case 51: - var J2u = "seek"; - J2u += "Fai"; - J2u += "le"; - J2u += "d"; - var W2u = "seek, no manifes"; - W2u += "t at mani"; - W2u += "festIndex:"; - (this.H.warn(W2u, n), this.Wa.emit(J2u)); - f80 = 50; + case 34: + return !1; break; - } - } - }; - h.prototype.seek = function (m, n) { - var j80, - r; - j80 = 2; - for (; j80 !== 9; ) { - switch (j80) { - case 3: - return this.nr(r, n); + case 25: + return !1; break; - case 12: - return this.nr(r, n); + case 20: + R80 = g && (x = this.Qa.Ga.TE(q, g.mediaType), v = d.tc - v, this.Yb(g.mediaType) && !g.wh && v >= m.Ana && w > m.Ni) ? 19 : 26; break; - j80 = 9; + case 27: + return !1; break; - case 2: - r = m; - c.ga(n) && (n = this.Wa.me.N.Db); - this.Wa.Ga.b2a(); - this.Wa.Pg(n).N.Ze.AU || this.Wa.pJ || (r = this.Wa.us(n, m)); - j80 = 3; + case 13: + R80 = t === f.ka.Ac && u > m.sna && !h.$e.Ng && !x && !h.yU || u && p > Math.max(u * m.wna / 100, m.Tna) ? 12 : 11; break; - } - } - }; - h.prototype.ns = function (m, n, r) { - var k80, - p, - u; - k80 = 2; - for (; k80 !== 9; ) { - switch (k80) { case 2: - u = this.Wa.Ga.ns(m, n); - k80 = 1; - break; - case 5: - return u; - break; - case 14: - return u; + var G6q = "fl"; + G6q += "oored"; + G6q += " t"; + G6q += "o "; + G6q += "0"; + var R6q = "negative sc"; + R6q += "heduledB"; + R6q += "ufferLevel:"; + (m = this.Qa.I, n = d.mediaType, q = d.P4, p = this.Qa.T.ye(), t = this.Qa.T.getState(), u = this.Qa.Ga.Wu(q, n), w = d.tc + q.Me - p); + 0 > w && (d.Gb(R6q, w, G6q), w = 0); + v = g ? g.tc : 0; + R80 = 4; break; - k80 = 4; + case 24: + w = this.Qa.Ga.AVb(); + R80 = 23; break; - case 4: - var n2u = "s"; - n2u += "ee"; - n2u += "k"; - var I2u = "ptsc"; - I2u += "h"; - I2u += "a"; - I2u += "n"; - I2u += "ged"; - u ? (this.Wa.T.Ce(f.ja.zi), (m = this.Wa.Ga.Mh.children[m]) && this.Wa.emit(I2u, null !== (p = m.Zc) && void 0 !== p ? p : m.SVa), this.Wa.T.Ce(f.ja.Ig), this.Wa.emit(n2u), m && this.gR(m.N.Db), this.Wa.d0(1), this.Wa.uj(), this.Wa.nb.Rw()) : r || (p = this.Wa.Ga.nBb(m), this.nr(p)); - return u; + case 22: + return !1; break; - case 1: - k80 = n ? 5 : 4; + case 17: + w = void 0; + g && (w = g.mediaType, v = k.default.Nn()[w], w = m.dXb ? this.Qa.Ga.QXa(q, w).Tj / v : x / v); + R80 = 15; break; - } - } - }; - h.prototype.Mgb = function (m) { - var l80; - l80 = 2; - for (; l80 !== 1; ) { - switch (l80) { - case 2: - return !!this.Wa.Pg(m).nR; + case 23: + R80 = !c.fa(m.Av) && w >= m.Av || d.eK + p >= Math.max(m.Sy, this.Qa.$b.xz + m.voa * q.N.UHb[n]) ? 22 : 21; break; } } }; - d80 = 3; - break; - } - } - })(); - b.aGa = a; - }, function (q, b, a) { - var c, - f, - k; - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.xxa = void 0; - q = a(2); - c = q.__importStar(a(10)); - f = a(14); - k = q.__importDefault(a(4)); - a = (function () { - var w80; - function l(d, g, h) { - var x80; - x80 = 2; - for (; x80 !== 9; ) { - switch (x80) { - case 3: - this.qIa = this.VD = void 0; - x80 = 9; - break; - case 2: - var c2u = "1SIYbZr"; - c2u += "N"; - c2u += "JCp"; - c2u += "9"; - this.Qa = d; - this.H = g; - this.Vb = h; - c2u; - x80 = 3; - break; - } - } - } - w80 = 2; - for (; w80 !== 18; ) { - switch (w80) { - case 2: - l.prototype.XZ = function () { - var y80; - y80 = 2; - for (; y80 !== 1; ) { - switch (y80) { + l.prototype.tgb = function (d) { + var S80; + S80 = 2; + for (; S80 !== 1; ) { + switch (S80) { case 2: - this.VD && (clearTimeout(this.VD), this.VD = void 0); - y80 = 1; + return this.Qa.Ga.Cb.reduce(function (g, h) { + var T80; + T80 = 2; + for (; T80 !== 1; ) { + switch (T80) { + case 4: + return g / h.hBb(d); + break; + T80 = 1; + break; + case 2: + return g + h.hBb(d); + break; + } + } + }, 0); break; } } }; - l.prototype.NIa = function () { - var z80, - d, + l.prototype.job = function (d) { + var U80, g, h, m; - z80 = 2; - for (; z80 !== 6; ) { - switch (z80) { - case 2: - z80 = !this.Qa.ji.Qda && !this.Qa.pm() ? 1 : 6; - break; - case 1: - var h2u = "f"; - h2u += "i"; - h2u += "rstDriveStr"; - h2u += "eam"; - h2u += "ing"; - void 0 === this.Qa.Nfb && (this.Qa.Nfb = !0, this.Qa.qb.zl(h2u)); - (d = this.Qa.Ga, g = d.Cc.Ed(0), h = d.Cc.Ed(1), m = !h || h.yh); - (!g || g.yh) && m && this.Qa.pJ && d.Xob(h ? h.pc : g.pc); - h = !h || h.fq; - g && !g.fq || !h || this.Qa.pJ || (this.Qa.Yb.mf && this.Qa.Yb.mf.Xo(!0, this.Qa.vl.sessionId), this.Qa.qb.JZa()); - this.KIa(d.Cc); - this.Djb(); - z80 = 6; - break; - } - } - }; - l.prototype.PKa = function () { - var A80; - A80 = 2; - for (; A80 !== 1; ) { - switch (A80) { + U80 = 2; + for (; U80 !== 4; ) { + switch (U80) { case 2: - return this.Qa.pm() || this.Qa.T.CWa() || this.Qa.T.BWa() ? !0 : !1; + (g = this, h = this.Qa.Ga, m = !0); + c.Ue(d.P.Xk, function (n, q) { + var V80, + p; + V80 = 2; + for (; V80 !== 7; ) { + switch (V80) { + case 2: + V80 = (n = h.ze(q)) ? 1 : 8; + break; + case 1: + q = n.N; + n = q.Qg[0]; + p = q.Qg[1]; + V80 = 3; + break; + case 8: + var v6q = "i"; + v6q += "n"; + v6q += " "; + v6q += "d"; + v6q += "ests:"; + var X6q = "inv"; + X6q += "al"; + X6q += "i"; + X6q += "d segmen"; + X6q += "t:"; + d.Gb(X6q, q, v6q, d.P.Xk); + V80 = 7; + break; + case 3: + n && p && n.stream.Ae && p.stream.Ae || (m = !1); + g.Qa.T.Sn(q) || (m = !1); + V80 = 7; + break; + } + } + }); + return m; break; } } }; - l.prototype.$Z = function (d) { - var B80; - B80 = 2; - for (; B80 !== 1; ) { - switch (B80) { + l.prototype.Ejb = function () { + var W80, + d, + g, + h; + W80 = 2; + for (; W80 !== 5; ) { + switch (W80) { case 2: - return this.PKa() || this.Qa.nb.rf[d.mediaType].ZN || this.Qa.Ow.UA ? !1 : !0; + (d = this.Qa.I, g = this.Qa.Ga, h = g.Ec); + this.Qa.T.Qf() || g.Wu(h, 1) < d.HU || h.N.pta(); + W80 = 5; break; } } }; - w80 = 3; + w80 = 19; break; case 7: - l.prototype.Rfb = function (d, g) { + l.prototype.Sfb = function (d, g) { var H80, m, - n, - r, - p, u, - t, w, - h; + p, + t, + h, + n, + q; H80 = 2; for (; H80 !== 23; ) { switch (H80) { case 5: - m = d.TI.Zm; + m = d.XI.Ym; H80 = 4; break; - case 4: - H80 = Math.min(m[0] - d.fca[0], m[1] - d.fca[1]) >= h.zob ? 3 : 9; - break; - case 13: - H80 = 1 < u.length ? 12 : 20; + case 27: + d.$ba = n.Ym; + H80 = 26; break; - case 3: - d.TI = void 0; - H80 = 8; + case 17: + n = t[0].yb; + q = t[0].weight; + d.XI = n; + H80 = 27; break; - case 9: - (n = d.TI, r = g.Xk[n.P.id].weight); - H80 = 8; + case 13: + H80 = 1 < t.length ? 12 : 20; break; case 8: H80 = !n ? 7 : 26; break; + case 12: + n = t.reduce(function (v, x) { + var K80; + K80 = 2; + for (; K80 !== 4; ) { + switch (K80) { + case 2: + x.Ym = x.yb.Ym; + x.LYa = Math.min(x.Ym[0], x.Ym[1]); + a000.l1q(10); + var y31 = a000.P1q(17, 17); + return [v[0] + x.weight, v[y31] + x.LYa]; + break; + } + } + }, [0, 0]); + (u = n[0], w = n[1]); + H80 = 10; + break; case 7: - (p = [], u = []); - c.Te(d.children, function (v, x) { + (p = [], t = []); + c.Ue(d.children, function (v, x) { var I80; I80 = 2; for (; I80 !== 5; ) { @@ -96278,412 +96335,244 @@ a000.D9b = function () { x = g.Xk[x].weight; 0 !== x && (x = { weight: x, - ub: v - }, v.Xfa(!0, !0) || u.push(x), p.push(x)); + yb: v + }, v.Rfa(!0, !0) || t.push(x), p.push(x)); I80 = 5; break; } } }); - 0 === u.length ? u = p : 2 < u.length && (u.sort(function (v, x) { + 0 === t.length ? t = p : 2 < t.length && (t.sort(function (v, x) { var J80; J80 = 2; for (; J80 !== 1; ) { switch (J80) { - case 2: - return x.weight - v.weight; - break; case 4: - return x.weight * v.weight; + return x.weight + v.weight; break; J80 = 1; break; + case 2: + return x.weight - v.weight; + break; } } - }), u.length = 2); + }), t.length = 2); H80 = 13; break; - case 17: - n = u[0].ub; - r = u[0].weight; - d.TI = n; - H80 = 27; + case 1: + H80 = this.Qa.$b.kla && d.XI && d.$ba ? 5 : 8; + break; + case 2: + h = this.Qa.I; + H80 = 1; break; case 19: - var t2u = "No subbra"; - t2u += "nch candidates to "; - t2u += "drive"; - this.H.warn(t2u); + var D6q = "No subbra"; + D6q += "nch candi"; + D6q += "dat"; + D6q += "es "; + D6q += "to drive"; + this.H.warn(D6q); H80 = 18; break; case 20: - H80 = 0 === u.length ? 19 : 17; - break; - case 26: - n.Wd || (n.Wd = { - Y3: k.default.time.aa(), - lz: 0 - }); - n.Wd.weight = r; - this.KIa(n, !0); - H80 = 23; - break; - case 12: - n = u.reduce(function (v, x) { - var K80; - K80 = 2; - for (; K80 !== 4; ) { - switch (K80) { - case 2: - x.Zm = x.ub.Zm; - x.OYa = Math.min(x.Zm[0], x.Zm[1]); - return [v[0] + x.weight, v[1] + x.OYa]; - break; - } - } - }, [0, 0]); - (t = n[0], w = n[1]); - H80 = 10; - break; - case 27: - d.fca = n.Zm; - H80 = 26; + H80 = 0 === t.length ? 19 : 17; break; - case 2: - h = this.Qa.I; - H80 = 1; + case 3: + d.XI = void 0; + H80 = 8; break; case 10: - 0 !== t && 0 !== w ? (c.Te(u, function (v) { + 0 !== u && 0 !== w ? (c.Ue(t, function (v) { var L80; L80 = 2; for (; L80 !== 4; ) { switch (L80) { - case 1: - v.Wmb = v.OYa / w; - v.usage = v.Wmb - v.jYb; - L80 = 4; - break; case 2: - v.jYb = v.weight / t; - L80 = 1; + v.lYb = v.weight / u; + v.Xmb = v.LYa / w; + v.usage = v.Xmb - v.lYb; + L80 = 4; break; } } - }), u.sort(function (v, x) { + }), t.sort(function (v, x) { var M80; M80 = 2; for (; M80 !== 1; ) { switch (M80) { + case 4: + return v.usage % x.usage; + break; + M80 = 1; + break; case 2: return v.usage - x.usage; break; } } - })) : u.sort(function (v, x) { + })) : t.sort(function (v, x) { + var M2N = a000; var N80; N80 = 2; for (; N80 !== 4; ) { switch (N80) { + case 5: + M2N.Q1q(1); + return M2N.P1q(v, x); + break; + case 7: + M2N.l1q(9); + return M2N.P1q(x, v); + break; + N80 = 4; + break; case 2: - v = Math.min.apply(null, v.ub.Zm); - x = Math.min.apply(null, x.ub.Zm); - a000.D9b(1); - return a000.Q9b(x, v); + v = Math.min.apply(null, v.yb.Ym); + x = Math.min.apply(null, x.yb.Ym); + N80 = 5; break; } } }); H80 = 20; break; + case 9: + (n = d.XI, q = g.Xk[n.P.id].weight); + H80 = 8; + break; + case 4: + H80 = Math.min(m[0] - d.$ba[0], m[1] - d.$ba[1]) >= h.Aob ? 3 : 9; + break; case 18: return; break; - case 1: - H80 = this.Qa.Yb.pla && d.TI && d.fca ? 5 : 8; + case 26: + n.Vd || (n.Vd = { + Z3: k.default.time.ba(), + oz: 0 + }); + n.Vd.weight = q; + this.IIa(n, !0); + H80 = 23; break; } } }; - l.prototype.LIa = function (d, g, h) { + l.prototype.JIa = function (d, g, h) { var O80, m, n, - t, - r, + q, p, + t, u; O80 = 2; for (; O80 !== 8; ) { switch (O80) { - case 1: - O80 = !g.yh ? 5 : 8; - break; case 4: - O80 = r.kg && (void 0 === g.qG || (g.UG(g.qG, g.nMb), void 0 === g.qG)) ? 3 : 8; + O80 = q.jg && (void 0 === g.wG || (g.bH(g.wG, g.qMb), void 0 === g.wG)) ? 3 : 8; break; case 2: (m = this.Qa.I, n = g.mediaType); O80 = 1; break; - case 3: - var k2u = "Still in buf"; - k2u += "fering state w"; - k2u += "hile pipeline does "; - k2u += "not h"; - k2u += "ave vacancy"; - var p2u = "drivePipeline, delaying audio "; - p2u += "until video actualSta"; - p2u += "rtPts determined"; - t = this.Qa.me; - c.ga(t.kG) || (m.mz && 0 === n && c.ga(this.Qa.nb.rf[1].Cn) ? g.Eb(p2u) : (c.ga(g.Zn) && (g.Zn = g.Vd ? g.Vd.index : g.Gia(g.oc)), g.nf && g.Zn > g.nf.index ? d.N.Ze.yg && c.ga(t.Aa) && c.ga(d.pc) || (g.yh || this.Qa.GKa(g), d = this.Qa.me.N.Db, d < this.Qa.cL() - 1 && this.Qa.o0(d + 1)) : this.$Z(g) && (m.wvb && !this.Qa.T.Pf() && 0 >= g.YF ? g.yWb(m.rIb) : this.qfb(g, h) ? (g.aGb = k.default.time.aa(), h = this.Qa.nb.vka(g), m = h.og, c.ga(m) || (m = g.track.Qd[m], this.pfb(g, m) || ((n = m.b3()) ? (g.VFb = m.bitrate, g.vHb(m, n, this.Qa.T.Pf(), r.kg, h.kt), this.KWb(m, u, p), d.Wd && ++d.Wd.lz) : m.sH()))) : this.Qa.T.Pf() && (g.sm(k2u), this.Qa.nb.Rw())))); - O80 = 8; + case 1: + O80 = !g.wh ? 5 : 8; break; case 5: - (r = this.Qa.nb.rf[n], p = this.Qa.nb.wz[n], u = this.Qa.nb.yv[n]); + (q = this.Qa.ob.rf[n], p = this.Qa.ob.zz[n], t = this.Qa.ob.Ev[n]); O80 = 4; break; - } - } - }; - l.prototype.KWb = function (d, g, h) { - var P80; - P80 = 2; - for (; P80 !== 4; ) { - switch (P80) { - case 2: - g.Dma = d.cd; - c.xa(h.dv) || (h.HWb(d.qr, d.wy || -1, d.bitrate), c.ga(d.Gra) || this.Qa.Yf.a3a(d.Gra, d.On, d.Pn)); - d.url && (g.Ima = d.url); - P80 = 4; + case 3: + var z8N = "Still in bufferi"; + z8N += "ng state wh"; + z8N += "ile pipeline do"; + z8N += "es not have"; + z8N += " vacancy"; + var M8N = "drivePipeline, delaying audio"; + M8N += " until"; + M8N += " video actualStartPts determined"; + u = this.Qa.pe; + c.fa(u.qG) || (m.pz && 0 === n && c.fa(this.Qa.ob.rf[1].Bn) ? g.Gb(M8N) : (c.fa(g.ao) && (g.ao = g.Ud ? g.Ud.index : g.zia(g.tc)), g.nf && g.ao > g.nf.index ? d.N.$e.Ng && c.fa(u.Ca) && c.fa(d.uc) || (g.wh || this.Qa.EKa(g), d = this.Qa.pe.N.Fb, d < this.Qa.fL() - 1 && this.Qa.q0(d + 1)) : this.c_(g) && (m.Avb && !this.Qa.T.Qf() && 0 >= g.dG ? g.AWb(m.tIb) : this.rfb(g, h) ? (g.dGb = k.default.time.ba(), h = this.Qa.ob.rka(g), m = h.ng, c.fa(m) || (m = g.track.Od[m], this.qfb(g, m) || ((n = m.d3()) ? (g.YFb = m.bitrate, g.yHb(m, n, this.Qa.T.Qf(), q.jg, h.qt), this.MWb(m, t, p), d.Vd && ++d.Vd.oz) : m.AH()))) : this.Qa.T.Qf() && (g.rm(z8N), this.Qa.ob.Ww())))); + O80 = 8; break; } } }; - l.prototype.pfb = function (d, g) { - var Q80, - h; - Q80 = 2; - for (; Q80 !== 5; ) { - switch (Q80) { + w80 = 14; + break; + case 2: + l.prototype.ZZ = function () { + var y80; + y80 = 2; + for (; y80 !== 1; ) { + switch (y80) { case 2: - h = this.Qa.nb.yv[d.mediaType]; - return this.Qa.kKa && g.cd && h.Dma && g.cd !== h.Dma && (0 < d.Na.sC || 0 < d.Na.Ar) ? !0 : !1; + this.YD && (clearTimeout(this.YD), this.YD = void 0); + y80 = 1; break; } } }; - w80 = 12; - break; - case 12: - l.prototype.qfb = function (d, g) { - var R80, - x, + l.prototype.LIa = function () { + var z80, + d, + g, h, - m, - n, - r, - p, - u, - t, - w, - v; - R80 = 2; - for (; R80 !== 32; ) { - switch (R80) { - case 21: - R80 = (r = this.Qa.T.Pf()) ? 35 : 33; - break; - case 4: - R80 = (null === (h = d.Uf) || void 0 === h ? 0 : h.ECb()) ? 3 : 9; - break; - case 15: - R80 = void 0 === w || w < m.OHb ? 27 : 26; - break; - case 23: - R80 = !c.ga(m.uv) && w >= m.uv || d.bK + p >= Math.max(m.Py, this.Qa.Yb.uz + m.Aoa * r.N.RHb[n]) ? 22 : 21; - break; - case 24: - w = this.Qa.Ga.yVb(); - R80 = 23; - break; - case 6: - h = this.Qa.me.N; - x = this.Qa.T.Qn(h); - R80 = 13; - break; - case 3: - return !1; - break; - case 12: - return !1; + m; + z80 = 2; + for (; z80 !== 6; ) { + switch (z80) { + case 1: + var K8N = "firstDriveStre"; + K8N += "ami"; + K8N += "ng"; + void 0 === this.Qa.Ofb && (this.Qa.Ofb = !0, this.Qa.ub.yl(K8N)); + (d = this.Qa.Ga, g = d.Ec.Dd(0), h = d.Ec.Dd(1), m = !h || h.wh); + (!g || g.wh) && m && this.Qa.rJ && d.Yob(h ? h.uc : g.uc); + z80 = 3; break; case 7: - return !1; - break; - case 9: - p = d.Na.epa; - R80 = 8; - break; - case 25: - return !1; - break; - case 18: - return !1; + this.Ejb(); + z80 = 6; break; case 2: - var z2u = "f"; - z2u += "l"; - z2u += "oo"; - z2u += "re"; - z2u += "d to 0"; - var S2u = "negative sch"; - S2u += "edul"; - S2u += "edBufferLevel:"; - (m = this.Qa.I, n = d.mediaType, r = d.P4, p = this.Qa.T.xe(), u = this.Qa.T.getState(), t = this.Qa.Ga.Ru(r, n), w = d.oc + r.Ke - p); - 0 > w && (d.Eb(S2u, w, z2u), w = 0); - v = g ? g.oc : 0; - R80 = 4; - break; - case 33: - return 0 < m.$s && !r && u + (g ? x : 0) > m.$s || void 0 !== this.qIa && t > this.qIa || 1 === n && h.Ze.yg && t > m.zna && (g = this.Qa.Yb.Jb.get(), g.confidence && g.Oa && g.Oa.Ea * d.bK > m.yna) ? !1 : !0; - break; - case 35: - R80 = (p = 1, d.yfa < m.Qy && (p = m.Qy), d.Na.sC >= p) ? 34 : 33; - break; - case 22: - return !1; - break; - case 34: - return !1; - break; - case 19: - R80 = this.Qa.Yb.mma ? 18 : 17; - break; - case 20: - R80 = g && (x = this.Qa.Ga.SE(r, g.mediaType), v = d.oc - v, this.Vb(g.mediaType) && !g.yh && v >= m.Fna && w > m.Qi) ? 19 : 26; - break; - case 13: - R80 = u === f.ja.yc && t > m.iYa && !h.Ze.yg && !x && !h.zU || t && p > Math.max(t * m.Bna / 100, m.Yna) ? 12 : 11; - break; - case 11: - u = this.Qa.Ga.SE(r, n); - x = 0; - R80 = 20; - break; - case 8: - R80 = p >= m.fC ? 7 : 6; - break; - case 17: - w = void 0; - g && (w = g.mediaType, v = k.default.Mn()[w], w = m.bXb ? this.Qa.Ga.SXa(r, w).Tj / v : x / v); - R80 = 15; - break; - case 27: - return !1; + z80 = !this.Qa.ji.Kda && !this.Qa.om() ? 1 : 6; break; - case 26: - R80 = this.sgb(n) >= m.SL ? 25 : 24; - break; - } - } - }; - l.prototype.sgb = function (d) { - var S80; - S80 = 2; - for (; S80 !== 1; ) { - switch (S80) { - case 2: - return this.Qa.Ga.Ab.reduce(function (g, h) { - var T80; - T80 = 2; - for (; T80 !== 1; ) { - switch (T80) { - case 2: - return g + h.fBb(d); - break; - case 4: - return g / h.fBb(d); - break; - T80 = 1; - break; - } - } - }, 0); + case 3: + h = !h || h.hq; + g && !g.hq || !h || this.Qa.rJ || (this.Qa.$b.mf && this.Qa.$b.mf.Yo(!0, this.Qa.ul.sessionId), this.Qa.ub.HZa()); + this.IIa(d.Ec); + z80 = 7; break; } } }; - l.prototype.iob = function (d) { - var U80, - g, - h, - m; - U80 = 2; - for (; U80 !== 4; ) { - switch (U80) { + l.prototype.NKa = function () { + var A80; + A80 = 2; + for (; A80 !== 1; ) { + switch (A80) { case 2: - (g = this, h = this.Qa.Ga, m = !0); - c.Te(d.P.Xk, function (n, r) { - var V80, - p; - V80 = 2; - for (; V80 !== 7; ) { - switch (V80) { - case 2: - V80 = (n = h.Me(r)) ? 1 : 8; - break; - case 1: - r = n.N; - n = r.Rg[0]; - p = r.Rg[1]; - V80 = 3; - break; - case 8: - var R2u = "in"; - R2u += " "; - R2u += "dest"; - R2u += "s"; - R2u += ":"; - var v2u = "inv"; - v2u += "alid "; - v2u += "segment:"; - d.Eb(v2u, r, R2u, d.P.Xk); - V80 = 7; - break; - case 3: - n && p && n.stream.ye && p.stream.ye || (m = !1); - g.Qa.T.Qn(r) || (m = !1); - V80 = 7; - break; - } - } - }); - return m; + return this.Qa.om() || this.Qa.T.AWa() || this.Qa.T.zWa() ? !0 : !1; break; } } }; - l.prototype.Djb = function () { - var W80, - d, - g, - h; - W80 = 2; - for (; W80 !== 5; ) { - switch (W80) { + l.prototype.c_ = function (d) { + var B80; + B80 = 2; + for (; B80 !== 1; ) { + switch (B80) { case 2: - (d = this.Qa.I, g = this.Qa.Ga, h = g.Cc); - this.Qa.T.Pf() || g.Ru(h, 1) < d.IU || h.N.uta(); - W80 = 5; + return this.NKa() || this.Qa.ob.rf[d.mediaType].ZN || this.Qa.Tw.WA ? !1 : !0; break; } } }; - return l; - break; - case 3: - l.prototype.uj = function () { + l.prototype.rj = function () { var C80, d, g; @@ -96692,41 +96581,35 @@ a000.D9b = function () { switch (C80) { case 2: (d = this, g = this.Qa.I); - !this.Qa.kKa || this.Qa.W_ || this.Qa.h0 || (this.Qa.W_ = setTimeout(function () { + !this.Qa.iKa || this.Qa.Y_ || this.Qa.j0 || (this.Qa.Y_ = setTimeout(function () { var D80; D80 = 2; for (; D80 !== 4; ) { switch (D80) { case 2: - clearTimeout(d.Qa.W_); - d.Qa.W_ = void 0; - d.NIa(); + clearTimeout(d.Qa.Y_); + d.Qa.Y_ = void 0; + d.LIa(); D80 = 4; break; } } - }, g.vpa), g.zK && this.Qa.em && (this.VD || (this.VD = setTimeout(function () { + }, g.qpa), g.DK && this.Qa.cm && (this.YD || (this.YD = setTimeout(function () { var E80, h; E80 = 2; for (; E80 !== 3; ) { switch (E80) { - case 2: - clearTimeout(d.VD); - d.VD = void 0; - h = d.Qa.Ga.Cc.Ed(1); - E80 = 4; - break; case 4: - h && d.eIa(h); + h && d.cIa(h); E80 = 3; break; - case 14: - h || d.eIa(h); + case 2: + clearTimeout(d.YD); + d.YD = void 0; + h = d.Qa.Ga.Ec.Dd(1); E80 = 4; break; - E80 = 3; - break; } } }, g.fkb)))); @@ -96735,79 +96618,104 @@ a000.D9b = function () { } } }; - l.prototype.eIa = function (d, g) { + l.prototype.cIa = function (d, g) { var F80, + q, h, m, - n, - r; + n; F80 = 2; for (; F80 !== 3; ) { switch (F80) { case 1: F80 = m && n ? 5 : 3; break; + case 5: + q = this.Qa.ob.rf[h].jg; + q && (this.Qa.T.Qf() || this.Qa.Yf.ekb(h, q, m.bitrate, n.bitrate, d.$Cb.bitrate, g)); + F80 = 3; + break; case 7: - F80 = m || n ? 6 : 6; + F80 = m || n ? 0 : 5; break; F80 = m && n ? 5 : 3; break; case 2: - (h = d.mediaType, m = this.Qa.nb.yv[h].SF, n = d.Cf.hU); + (h = d.mediaType, m = this.Qa.ob.Ev[h].YF, n = d.Ef.gU); F80 = 1; break; - case 5: - r = this.Qa.nb.rf[h].kg; - r && (this.Qa.T.Pf() || this.Qa.Yf.ekb(h, r, m.bitrate, n.bitrate, d.XCb.bitrate, g)); - F80 = 3; - break; } } }; - l.prototype.KIa = function (d, g) { + l.prototype.IIa = function (d, g) { var G80, h, m, n, - r, + q, p; G80 = 2; for (; G80 !== 7; ) { switch (G80) { - case 3: - return; + case 2: + (h = d.P, m = d.Dd(1), n = d.Dd(0), q = !n || n.wh, p = !m || m.wh); + h.kM || this.Qa.Ga.R5(d, h, d.N.$e.Ng && 0 === d.N.Fb); + G80 = 5; break; case 4: - G80 = (this.Qa.em && this.LIa(d, m, n), this.Qa.Bq && this.LIa(d, n, m), r = !n || n.yh, p = !m || m.yh, !p || !r) ? 3 : 9; + G80 = (this.Qa.cm && this.JIa(d, m, n), this.Qa.Dq && this.JIa(d, n, m), q = !n || n.wh, p = !m || m.wh, !p || !q) ? 3 : 9; break; - case 9: - var f2u = "Still i"; - f2u += "n buffering "; - f2u += "state while pipeline'"; - f2u += "s are "; - f2u += "done"; - this.Qa.T.Pf() && (this.H.warn(f2u), this.Qa.nb.Rw()); - g || h.Pt || d.N.Ze.yg || !this.iob(d) || ((g = this.Qa.T.Pf()) && this.Qa.I.kha && (this.Qa.Lda(), g = !1), d.F2 || this.Qa.Ga.aDb(d, g), d.QJ(), d.job() && (g = Object.keys(d.children), this.Qa.I.b2 && 1 === g.length && !d.children[g[0]].active && this.Qa.Ga.QXa(d, g[0]), this.Rfb(d, h))); - G80 = 7; + case 5: + G80 = !p || !q ? 4 : 9; break; - case 2: - (h = d.P, m = d.Ed(1), n = d.Ed(0), r = !n || n.yh, p = !m || m.yh); - h.iM || this.Qa.Ga.R5(d, h, d.N.Ze.yg && 0 === d.N.Db); - G80 = 5; + case 3: + return; break; - case 5: - G80 = !p || !r ? 4 : 9; + case 9: + var L8N = "S"; + L8N += "till in bu"; + L8N += "ffering state while pipel"; + L8N += "ine's a"; + L8N += "re done"; + this.Qa.T.Qf() && (this.H.warn(L8N), this.Qa.ob.Ww()); + g || h.Vt || d.N.$e.Ng || !this.job(d) || ((g = this.Qa.T.Qf()) && this.Qa.I.eha && (this.Qa.Fda(), g = !1), d.G2 || this.Qa.Ga.dDb(d, g), d.TJ(), d.kob() && (g = Object.keys(d.children), this.Qa.I.d2 && 1 === g.length && !d.children[g[0]].active && this.Qa.Ga.OXa(d, g[0]), this.Sfb(d, h))); + G80 = 7; break; } } }; w80 = 7; break; + case 19: + return l; + break; + } + } + function l(d, g, h) { + var x80; + x80 = 2; + for (; x80 !== 9; ) { + switch (x80) { + case 5: + var W8N = "1"; + W8N += "SIYbZrNJCp"; + W8N += "9"; + this.Yb = h; + W8N; + this.oIa = this.YD = void 0; + x80 = 9; + break; + case 2: + this.Qa = d; + this.H = g; + x80 = 5; + break; + } } } })(); - b.xxa = a; - }, function (q, b, a) { + b.uxa = a; + }, function (r, b, a) { var c, f, k, @@ -96817,13 +96725,38 @@ a000.D9b = function () { value: !0 } }); - b.AAa = void 0; + b.yAa = void 0; c = a(172); f = a(14); k = a(14); l = a(9); - q = (function () { + r = (function () { var X80; + function d(g, h, m, n) { + var Y80; + Y80 = 2; + for (; Y80 !== 8; ) { + switch (Y80) { + case 2: + this.Nb = g; + this.H = h; + this.Yb = m; + this.rE = n; + Y80 = 3; + break; + case 3: + var m8N = "1"; + m8N += "SIYbZrNJ"; + m8N += "C"; + m8N += "p"; + m8N += "9"; + this.fKa = this.Kda = !1; + m8N; + Y80 = 8; + break; + } + } + } X80 = 2; for (; X80 !== 6; ) { switch (X80) { @@ -96834,35 +96767,43 @@ a000.D9b = function () { Z80 = 2; for (; Z80 !== 5; ) { switch (Z80) { - case 2: - var Z2u = "p"; - Z2u += "l"; - Z2u += "a"; - Z2u += "y"; - var H2u = "play called "; - H2u += "after pipelines al"; - H2u += "rea"; - H2u += "dy shutdown"; - g = this; - this.pm() ? this.H.warn(H2u) : (this.Nb.T.Ce(f.ja.yc), this.Nb.ljb(), this.Nb.nb.rf.forEach(function (h) { + case 1: + var u8N = "p"; + u8N += "l"; + u8N += "a"; + u8N += "y"; + var C8N = "pla"; + C8N += "y called after pipelines"; + C8N += " already shutdow"; + C8N += "n"; + this.om() ? this.H.warn(C8N) : (this.Nb.T.Ee(f.ka.Ac), this.Nb.mjb(), this.Nb.ob.rf.forEach(function (h) { var a90; a90 = 2; for (; a90 !== 1; ) { switch (a90) { case 2: - var C2u = "play: not resuming bufferManager, "; - C2u += "audio"; - C2u += " tra"; - C2u += "ck s"; - C2u += "witch in progress"; - g.Vb(h.mediaType) && (h.ZN ? h.Eb(C2u) : (g.Nb.rg[h.mediaType].resume(), g.Nb.Du[h.mediaType].resume())); + var s8N = "play: not r"; + s8N += "esuming bufferMan"; + s8N += "ager, a"; + s8N += "udio track switch in progress"; + g.Yb(h.mediaType) && (h.ZN ? h.Gb(s8N) : (g.Nb.rg[h.mediaType].resume(), g.Nb.Iu[h.mediaType].resume())); a90 = 1; break; } } - }), this.Nb.ZQ(), this.Nb.emit(Z2u)); + }), this.Nb.aR(), this.Nb.emit(u8N)); Z80 = 5; break; + case 2: + g = this; + Z80 = 1; + break; + case 3: + g = this; + Z80 = 5; + break; + Z80 = 1; + break; } } }; @@ -96876,48 +96817,53 @@ a000.D9b = function () { for (; b90 !== 6; ) { switch (b90) { case 8: - var X2u = "s"; - X2u += "t"; - X2u += "op"; - k.cf.forEach(function (r) { + var Z8N = "s"; + Z8N += "t"; + Z8N += "op"; + k.cf.forEach(function (q) { var d90; d90 = 2; for (; d90 !== 1; ) { switch (d90) { case 2: - (r = g.Nb.rg[r]) && r.pause(); + (q = g.Nb.rg[q]) && q.pause(); d90 = 1; break; } } }); - this.Nb.emit(X2u); + this.Nb.emit(Z8N); b90 = 6; break; case 2: - (g = this, h = this.Nb.T.CWa(), m = this.Nb.T.BWa()); - this.Nb.T.Ce(f.ja.pq); - this.Nb.XZ(); - h || m || this.Nb.Ga.Mh.KC(!1, this.Nb.T); - n = this.Nb.Ga.Cc; - k.cf.forEach(function (r) { + (g = this, h = this.Nb.T.AWa(), m = this.Nb.T.zWa()); + this.Nb.T.Ee(f.ka.rq); + this.Nb.ZZ(); + h || m || this.Nb.Ga.Lh.LC(!1, this.Nb.T); + n = this.Nb.Ga.Ec; + k.cf.forEach(function (q) { var c90; c90 = 2; for (; c90 !== 5; ) { switch (c90) { case 2: - c90 = (r = n.Ed(r)) ? 1 : 5; + c90 = (q = n.Dd(q)) ? 1 : 5; break; case 1: - r.yh = !1; + q.wh = !1; c90 = 5; break; case 9: - r.yh = ~6; - c90 = 9; + q.wh = ~9; + c90 = 4; break; c90 = 5; break; + case 3: + c90 = (q = n.Dd(q)) ? 2 : 2; + break; + c90 = (q = n.Dd(q)) ? 1 : 5; + break; } } }); @@ -96926,24 +96872,21 @@ a000.D9b = function () { } } }; - X80 = 5; - break; - case 5: d.prototype.suspend = function () { var e90; e90 = 2; for (; e90 !== 1; ) { switch (e90) { - case 2: - this.Qda = !0; - e90 = 1; - break; case 4: - this.Qda = +6; - e90 = 6; + this.Kda = ~4; + e90 = 8; break; e90 = 1; break; + case 2: + this.Kda = !0; + e90 = 1; + break; } } }; @@ -96953,8 +96896,8 @@ a000.D9b = function () { for (; f90 !== 5; ) { switch (f90) { case 2: - this.Qda = !1; - this.Nb.Mf.uj(); + this.Kda = !1; + this.Nb.Nf.rj(); f90 = 5; break; } @@ -96966,38 +96909,42 @@ a000.D9b = function () { g90 = 2; for (; g90 !== 6; ) { switch (g90) { + case 7: + this.Nb.E1a(); + g90 = 6; + break; case 2: - var a2u = "c"; - a2u += "l"; - a2u += "o"; - a2u += "se"; g = this.Nb.I; - this.hKa = !0; + this.fKa = !0; this.stop(); - this.Nb.emit(a2u); - g90 = 3; + g90 = 4; break; - case 3: - var P2u = "e"; - P2u += "n"; - P2u += "dplay"; - var w2u = "l"; - w2u += "og"; - w2u += "data"; - g.WQa && (g = c.nw.instance().lb()) && (g = { - type: w2u, - target: P2u, + case 4: + var q8N = "e"; + q8N += "n"; + q8N += "d"; + q8N += "pla"; + q8N += "y"; + var A8N = "l"; + A8N += "o"; + A8N += "g"; + A8N += "dat"; + A8N += "a"; + var B8N = "cl"; + B8N += "o"; + B8N += "s"; + B8N += "e"; + this.Nb.emit(B8N); + g.VQa && (g = c.tw.instance().lb()) && (g = { + type: A8N, + target: q8N, fields: { bridgestat: g } - }, l.Ta(this.Nb, g.type, g)); - this.Nb.Yb.mf && this.Nb.Yb.mf.Xo(!0, this.Nb.vl.sessionId, !0); - g90 = 8; - break; - case 8: - this.Nb.qb.JZa(); - this.Nb.E1a(); - g90 = 6; + }, l.Ua(this.Nb, g.type, g)); + this.Nb.$b.mf && this.Nb.$b.mf.Yo(!0, this.Nb.ul.sessionId, !0); + this.Nb.ub.HZa(); + g90 = 7; break; } } @@ -97005,10 +96952,10 @@ a000.D9b = function () { d.prototype.flush = function () { var h90, i90, - u, t, + u, n, - r, + q, p, g, h, @@ -97017,165 +96964,149 @@ a000.D9b = function () { for (; h90 !== 17; ) { switch (h90) { case 14: - var V2u = "en"; - V2u += "d"; - V2u += "p"; - V2u += "la"; - V2u += "y"; - var d2u = "l"; - d2u += "o"; - d2u += "gd"; - d2u += "ata"; - t && t.length && (n.activeRequests = JSON.stringify(t)); - n.aseApiVersion = this.Nb.IE; - h.UQa && ((m = m.j3()) && m.bytesRequestedPacingVideo && (n.bytesRequestedPacingVideo = m.bytesRequestedPacingVideo, n.bytestotalVideo = m.bytestotalVideo), m && m.bytesRequestedPacingAudio && (n.bytesRequestedPacingAudio = m.bytesRequestedPacingAudio, n.bytestotalAudio = m.bytestotalAudio)); + u && u.length && (n.activeRequests = JSON.stringify(u)); + h90 = 13; + break; + case 13: + var t8N = "en"; + t8N += "dp"; + t8N += "lay"; + var H8N = "lo"; + H8N += "gda"; + H8N += "t"; + H8N += "a"; + n.aseApiVersion = this.Nb.KE; + h.TQa && ((m = m.k3()) && m.bytesRequestedPacingVideo && (n.bytesRequestedPacingVideo = m.bytesRequestedPacingVideo, n.bytestotalVideo = m.bytestotalVideo), m && m.bytesRequestedPacingAudio && (n.bytesRequestedPacingAudio = m.bytesRequestedPacingAudio, n.bytestotalAudio = m.bytestotalAudio)); Object.keys(n).length && (n = { - type: d2u, - target: V2u, + type: H8N, + target: t8N, fields: n - }, l.Ta(this.Nb, n.type, n)); + }, l.Ua(this.Nb, n.type, n)); h90 = 10; break; + case 1: + h90 = m ? 5 : 20; + break; + case 6: + for (var w in t) { + var y8N = "n"; + y8N += "e"; + var b8N = "n"; + b8N += "e"; + var F8N = "n"; + F8N += "e"; + t.hasOwnProperty(w) && (n[F8N + w] = Number(t[w]).toFixed(6), p[b8N + w] = 1 * n[y8N + w]); + } + h90 = 14; + break; case 18: try { i90 = 2; for (; i90 !== 1; ) { switch (i90) { case 2: - this.Nb.l2(f.ja.pq); + this.Nb.m2(f.ka.rq); i90 = 1; break; } } } catch (v) { - var K2u = "Hind"; - K2u += "sigh"; - K2u += "t: Er"; - K2u += "ror evaluating QoE at stoppi"; - K2u += "ng: "; - a000.u9b(2); - this.Nb.qb.Pm(a000.Q9b(K2u, v)); + var k8N = "Hin"; + k8N += "dsight: Error evaluating"; + k8N += " QoE at stopping: "; + a000.l1q(2); + this.Nb.ub.Om(a000.o1q(v, k8N)); } h90 = 17; break; - case 1: - h90 = m ? 5 : 20; - break; - case 3: - r && r.cdnavtp && (n.cdnavtp = r.cdnavtp, n.activecdnavtp = r.activecdnavtp); + case 9: m.flush(); - (u = m.fTa(), t = m.jLa); + (t = m.fTa(), u = m.hLa); h90 = 7; break; - case 6: - for (var w in u) { - var T2u = "n"; - T2u += "e"; - var N2u = "n"; - N2u += "e"; - var g2u = "n"; - g2u += "e"; - u.hasOwnProperty(w) && (n[g2u + w] = Number(u[w]).toFixed(6), p[N2u + w] = 1 * n[T2u + w]); - } - h90 = 14; - break; - case 5: - (n = {}, r = m.get(), p = {}); - r && r.avtp && r.avtp.Ea && (n.avtp = r.avtp.Ea, n.dltm = r.avtp.V1, p.avtp = n.avtp); - h90 = 3; + case 19: + h90 = this.rE.Oq ? 18 : 17; break; case 7: - h90 = u ? 6 : 14; + h90 = t ? 6 : 14; + break; + case 5: + (n = {}, q = m.get(), p = {}); + q && q.avtp && q.avtp.Fa && (n.avtp = q.avtp.Fa, n.dltm = q.avtp.X1, p.avtp = n.avtp); + q && q.cdnavtp && (n.cdnavtp = q.cdnavtp, n.activecdnavtp = q.activecdnavtp); + h90 = 9; break; case 10: - var U4u = "end"; - U4u += "p"; - U4u += "lay"; - var F4u = "lo"; - F4u += "g"; - F4u += "d"; - F4u += "ata"; - var i2u = "through"; - i2u += "p"; - i2u += "ut-"; - i2u += "sw"; - var s2u = "thr"; - s2u += "ou"; - s2u += "ghput"; - s2u += "-s"; - s2u += "w"; - var B2u = "th"; - B2u += "ro"; - B2u += "ugh"; - B2u += "put"; - B2u += "-sw"; - var x2u = "throug"; - x2u += "h"; - x2u += "put-sw"; - h.JS && (r && r[x2u] && r[B2u].Ea && this.Nb.Lt.vkb({ - avtp: r[s2u].Ea, - variance: r[i2u].vi - }), this.Nb.Lt.okb(p, null === (g = r.avtp) || void 0 === g ? void 0 : g.V1), g = this.Nb.Lt.Zyb(), h = this.Nb.Lt.rBb(), g && (g.n = h, g = { - type: F4u, - target: U4u, + var n8N = "e"; + n8N += "n"; + n8N += "dp"; + n8N += "l"; + n8N += "ay"; + var x8N = "l"; + x8N += "og"; + x8N += "d"; + x8N += "ata"; + var E8N = "th"; + E8N += "ro"; + E8N += "u"; + E8N += "ghput-s"; + E8N += "w"; + var f8N = "throug"; + f8N += "hpu"; + f8N += "t-s"; + f8N += "w"; + var h8N = "t"; + h8N += "hr"; + h8N += "oug"; + h8N += "hput-sw"; + var e8N = "thr"; + e8N += "o"; + e8N += "ughp"; + e8N += "ut-sw"; + h.IS && (q && q[e8N] && q[h8N].Fa && this.Nb.Qt.vkb({ + avtp: q[f8N].Fa, + variance: q[E8N].vi + }), this.Nb.Qt.okb(p, null === (g = q.avtp) || void 0 === g ? void 0 : g.X1), g = this.Nb.Qt.czb(), h = this.Nb.Qt.tBb(), g && (g.n = h, g = { + type: x8N, + target: n8N, fields: { ibef: g } - }, l.Ta(this.Nb, g.type, g), this.Nb.Lt.save())); + }, l.Ua(this.Nb, g.type, g), this.Nb.Qt.save())); h90 = 20; break; - case 19: - h90 = this.oE.Nq ? 18 : 17; + case 2: + (h = this.Nb.I, m = this.Nb.$b.Lb); + h90 = 1; break; case 20: - this.Nb.qb.WJa(); + this.Nb.ub.UJa(); h90 = 19; break; - case 2: - (h = this.Nb.I, m = this.Nb.Yb.Jb); - h90 = 1; - break; } } }; - d.prototype.pm = function () { + d.prototype.om = function () { var j90; j90 = 2; for (; j90 !== 1; ) { switch (j90) { case 2: - return this.hKa || this.Nb.Ga.Ej; + return this.fKa || this.Nb.Ga.Dj; break; } } }; + X80 = 7; + break; + case 7: return d; break; } } - function d(g, h, m, n) { - var Y80; - Y80 = 2; - for (; Y80 !== 8; ) { - switch (Y80) { - case 2: - var y4u = "1SIYbZrNJC"; - y4u += "p"; - y4u += "9"; - this.Nb = g; - this.H = h; - this.Vb = m; - this.oE = n; - this.hKa = this.Qda = !1; - y4u; - Y80 = 8; - break; - } - } - } })(); - b.AAa = q; - }, function (q, b, a) { + b.yAa = r; + }, function (r, b, a) { var c, f, k, @@ -97187,192 +97118,501 @@ a000.D9b = function () { value: !0 } }); - b.ACa = void 0; - q = a(2); - c = q.__importStar(a(10)); + b.yCa = void 0; + r = a(2); + c = r.__importStar(a(10)); f = a(144); - k = q.__importDefault(a(27)).default.Za; - l = q.__importDefault(a(4)); + k = r.__importDefault(a(27)).default.Ra; + l = r.__importDefault(a(5)); d = a(9); g = a(6); a = (function () { var k90; k90 = 2; + function h(m, n) { + var l90; + l90 = 2; + for (; l90 !== 4; ) { + switch (l90) { + case 2: + var p8N = "1"; + p8N += "SIYbZrNJ"; + p8N += "Cp9"; + this.Za = m; + this.H = n; + p8N; + l90 = 4; + break; + } + } + } for (; k90 !== 38; ) { switch (k90) { case 14: - h.prototype.tgb = function (m, n) { + h.prototype.ugb = function (m, n) { var w90, - r, + q, p; w90 = 2; for (; w90 !== 12; ) { switch (w90) { - case 3: - var L4u = "s"; - L4u += "e"; - L4u += "amles"; - L4u += "s"; - r.transitionType = p; - n.vha || (r.delayToTransition = n.O1); - p = L4u === p ? 0 : l.default.time.aa() - n.startTime; - r.durationOfTransition = p; - r.atTransition = n.u5a; + case 7: + q.durationOfTransition = p; + q.atTransition = n.w5a; w90 = 14; break; + case 14: + q.srcsegmentduration = this.Za.Ga.oBb(n.H7); + return q; + break; case 2: - var Q4u = "res"; - Q4u += "e"; - Q4u += "t"; - var r4u = "sk"; - r4u += "i"; - r4u += "p"; - var M4u = "lo"; - M4u += "n"; - M4u += "g"; - var b4u = "lo"; - b4u += "n"; - b4u += "g"; - var o4u = "se"; - o4u += "am"; - o4u += "l"; - o4u += "ess"; - (r = { + var d8N = "seam"; + d8N += "les"; + d8N += "s"; + var w8N = "r"; + w8N += "e"; + w8N += "s"; + w8N += "e"; + w8N += "t"; + var g8N = "s"; + g8N += "k"; + g8N += "i"; + g8N += "p"; + var V8N = "l"; + V8N += "o"; + V8N += "n"; + V8N += "g"; + var I8N = "lo"; + I8N += "n"; + I8N += "g"; + var N8N = "se"; + N8N += "am"; + N8N += "le"; + N8N += "s"; + N8N += "s"; + (q = { segment: m, - srcsegment: n.L7, - srcoffset: n.zN, - seamlessRequested: n.Be, + srcsegment: n.H7, + srcoffset: n.AN, + seamlessRequested: n.De, atRequest: {}, discard: {} - }, p = n.Wd[m]); - p ? r.atRequest = { + }, p = n.Vd[m]); + p ? q.atRequest = { weight: p.weight, - abuflmsec: p.Eq.Zr, - vbuflmsec: p.Eq.ro, - abuflbytes: p.Eq.fR, - vbuflbytes: p.Eq.Jz + abuflmsec: p.Gq.fs, + vbuflmsec: p.Gq.so, + abuflbytes: p.Gq.hR, + vbuflbytes: p.Gq.Mz } - : (p = this.Ya.Ga.mUa(n.L7, m), void 0 !== p && (r.atRequest.weight = p)); - c.Te(n.Wd, function (u, t) { + : (p = this.Za.Ga.mUa(n.H7, m), void 0 !== p && (q.atRequest.weight = p)); + c.Ue(n.Vd, function (t, u) { var x90; x90 = 2; for (; x90 !== 1; ) { switch (x90) { case 2: - t != m && (r.discard[t] = { - weight: u.weight, - abuflmsec: u.Eq.Zr, - vbuflmsec: u.Eq.ro, - abuflbytes: u.Eq.fR, - vbuflbytes: u.Eq.Jz + u != m && (q.discard[u] = { + weight: t.weight, + abuflmsec: t.Gq.fs, + vbuflmsec: t.Gq.so, + abuflbytes: t.Gq.hR, + vbuflbytes: t.Gq.Mz }); x90 = 1; break; } } }); - p = n.Be ? n.JT ? o4u : b4u : n.lZa ? M4u : n.dn ? r4u : Q4u; - w90 = 3; - break; - case 14: - r.srcsegmentduration = this.Ya.Ga.mBb(n.L7); - return r; + p = n.De ? n.HT ? N8N : I8N : n.iZa ? V8N : n.cn ? g8N : w8N; + q.transitionType = p; + n.pha || (q.delayToTransition = n.Q1); + p = d8N === p ? 0 : l.default.time.ba() - n.startTime; + w90 = 7; break; } } }; - h.prototype.Qhb = function (m, n, r) { + h.prototype.Rhb = function (m, n, q) { var y90; y90 = 2; for (; y90 !== 4; ) { switch (y90) { case 2: - var D4u = "s"; - D4u += "egmen"; - D4u += "t"; - D4u += "Presenting"; - r = r ? this.tgb(m.id, r) : void 0; + var o8N = "segmentPr"; + o8N += "esent"; + o8N += "ing"; + q = q ? this.ugb(m.id, q) : void 0; m = { - type: D4u, + type: o8N, segmentId: m.id, contentOffset: n, - metrics: r, - playlistSegment: m.yC, - manifestIndex: m.N.Db + metrics: q, + playlistSegment: m.AC, + manifestIndex: m.N.Fb }; - d.Ta(this.Ya, m.type, m); + d.Ua(this.Za, m.type, m); y90 = 4; break; } } }; - k90 = 12; + h.prototype.Phb = function (m, n) { + var z90; + z90 = 2; + for (; z90 !== 5; ) { + switch (z90) { + case 2: + var P8N = "seg"; + P8N += "m"; + P8N += "ent"; + P8N += "Appended"; + n = { + type: P8N, + segmentId: m.id, + metrics: n + }; + m.AC || d.Ua(this.Za, n.type, n); + z90 = 5; + break; + } + } + }; + k90 = 11; break; - case 42: - h.prototype.JZa = function () { - var a01, - m; - a01 = 2; - for (; a01 !== 3; ) { - switch (a01) { + case 8: + h.prototype.Uhb = function (m, n, q, p, t, u) { + var t90; + t90 = 2; + for (; t90 !== 4; ) { + switch (t90) { + case 2: + var l8N = "noti"; + l8N += "fyStrea"; + l8N += "mi"; + l8N += "ngErr"; + l8N += "or: "; + var Q8N = "er"; + Q8N += "r"; + Q8N += "o"; + Q8N += "r"; + m = { + type: Q8N, + error: m, + errormsg: n, + networkErrorCode: q, + httpCode: p, + nativeCode: t, + manifestIndex: u + }; + this.H.error(l8N + JSON.stringify(m)); + d.Ua(this.Za, m.type, m); + t90 = 4; + break; + } + } + }; + h.prototype.L_ = function (m, n) { + var u90; + u90 = 2; + for (; u90 !== 5; ) { + switch (u90) { + case 2: + var S8N = "segme"; + S8N += "n"; + S8N += "tS"; + S8N += "ta"; + S8N += "rting"; + n = { + type: S8N, + segmentId: m.id, + contentOffset: n, + maxBitrates: { + audio: m.N.Bv[0], + video: m.N.Bv[1] + } + }; + m.AC || d.Ua(this.Za, n.type, n); + u90 = 5; + break; + } + } + }; + h.prototype.gda = function (m) { + var v90, + n; + v90 = 2; + for (; v90 !== 5; ) { + switch (v90) { case 2: - a01 = !this.vjb && this.Ya.I.GZa ? 1 : 3; + var J8N = "se"; + J8N += "g"; + J8N += "men"; + J8N += "tAbo"; + J8N += "rted"; + n = { + type: J8N, + segmentId: m.id + }; + m.AC || d.Ua(this.Za, n.type, n); + v90 = 5; break; + } + } + }; + k90 = 14; + break; + case 2: + h.prototype.yl = function (m) { + var m90; + m90 = 2; + for (; m90 !== 5; ) { + switch (m90) { case 1: - var u4u = "stre"; - u4u += "ameren"; - u4u += "d"; - this.vjb = !0; + d.Ua(this.Za, m.type, m); + m90 = 5; + break; + case 2: + var T8N = "start"; + T8N += "Eve"; + T8N += "nt"; m = { - type: u4u, - time: l.default.time.aa() + type: T8N, + event: m, + time: l.default.time.ba() }; - d.Ta(this.Ya, m.type, m); - a01 = 3; + m90 = 1; + break; + } + } + }; + h.prototype.Nhb = function () { + var n90, + m; + n90 = 2; + for (; n90 !== 5; ) { + switch (n90) { + case 2: + var r8N = "op"; + r8N += "enC"; + r8N += "om"; + r8N += "pl"; + r8N += "ete"; + m = { + type: r8N + }; + d.Ua(this.Za, m.type, m); + n90 = 5; + break; + } + } + }; + h.prototype.Ohb = function (m, n, q, p, t) { + var o90; + o90 = 2; + for (; o90 !== 1; ) { + switch (o90) { + case 2: + var U8N = "pts"; + U8N += "Star"; + U8N += "ts"; + this.Za.I.eub || (m = { + type: U8N, + manifestIndex: m, + mediaType: n, + movieId: p, + streamId: q, + ptsStarts: t.$3a() + }, d.Ua(this.Za, m.type, m)); + o90 = 1; + break; + } + } + }; + h.prototype.Fhb = function (m, n) { + var q90; + q90 = 2; + for (; q90 !== 5; ) { + switch (q90) { + case 2: + var c8N = "headerC"; + c8N += "a"; + c8N += "c"; + c8N += "heHit"; + m = { + type: c8N, + movieId: m, + streamId: n + }; + d.Ua(this.Za, m.type, m); + q90 = 5; + break; + } + } + }; + h.prototype.Ehb = function (m, n, q, p, t) { + var r90, + u; + r90 = 2; + for (; r90 !== 3; ) { + switch (r90) { + case 2: + var a8N = "hea"; + a8N += "derCa"; + a8N += "cheDataHit"; + u = this.Za.kJa; + this.Za.kJa = void 0; + m = { + type: a8N, + movieId: m, + audio: n, + audioFromMediaCache: p, + video: q, + videoFromMediaCache: t, + actualStartPts: u && u.Bn, + headerCount: u && u.sL, + stats: u && u.yd + }; + d.Ua(this.Za, m.type, m); + r90 = 3; + break; + } + } + }; + h.prototype.Mhb = function (m, n, q, p) { + var s90; + s90 = 2; + for (; s90 !== 5; ) { + switch (s90) { + case 2: + var Y8N = "ma"; + Y8N += "xP"; + Y8N += "ositio"; + Y8N += "n"; + m = { + type: Y8N, + index: m, + endPts: n, + maxPts: q, + maxSeekPts: p + }; + d.Ua(this.Za, m.type, m); + s90 = 5; + break; + } + } + }; + k90 = 8; + break; + case 11: + h.prototype.Qhb = function (m, n, q) { + var A90; + A90 = 2; + for (; A90 !== 5; ) { + switch (A90) { + case 2: + var j8N = "segm"; + j8N += "e"; + j8N += "n"; + j8N += "tComplete"; + m = { + type: j8N, + mediaType: m, + manifestIndex: n, + segmentId: q.id + }; + d.Ua(this.Za, m.type, m); + A90 = 5; + break; + } + } + }; + h.prototype.fda = function (m, n) { + var B90; + B90 = 2; + for (; B90 !== 5; ) { + switch (B90) { + case 2: + var i8N = "last"; + i8N += "S"; + i8N += "eg"; + i8N += "mentPt"; + i8N += "s"; + n = { + type: i8N, + segmentId: m.id, + pts: Math.floor(n) + }; + m.AC || d.Ua(this.Za, n.type, n); + B90 = 5; + break; + } + } + }; + h.prototype.Khb = function (m, n, q, p, t) { + var C90; + C90 = 2; + for (; C90 !== 5; ) { + switch (C90) { + case 2: + var O8N = "mani"; + O8N += "fe"; + O8N += "stRang"; + O8N += "e"; + m = { + type: O8N, + index: m, + manifestOffset: n, + startPts: Math.floor(q), + endPts: Math.floor(p), + maxPts: Math.floor(t) + }; + d.Ua(this.Za, m.type, m); + C90 = 5; break; } } }; - k90 = 41; + k90 = 19; break; case 24: - h.prototype.xhb = function (m, n) { + h.prototype.yhb = function (m, n) { var L90; L90 = 2; for (; L90 !== 3; ) { switch (L90) { - case 4: - d.Ta(this.Ya, n.type, n); - L90 = 3; - break; - case 2: - var e4u = "aud"; - e4u += "ioTrackS"; - e4u += "witc"; - e4u += "hStarted"; - m = m.cC; - n = n.cC; + case 5: + var R8N = "audioTrackSwi"; + R8N += "t"; + R8N += "chStarte"; + R8N += "d"; n = { - type: e4u, + type: R8N, oldLangCode: m.language, oldNumChannels: m.channels, newLangCode: n.language, newNumChannels: n.channels, sourceBufferReset: void 0 }; - L90 = 4; + d.Ua(this.Za, n.type, n); + L90 = 3; + break; + case 2: + m = m.eC; + n = n.eC; + L90 = 5; break; } } }; - h.prototype.whb = function (m, n) { + h.prototype.xhb = function (m, n) { var M90, - r; + q; M90 = 2; for (; M90 !== 5; ) { switch (M90) { case 2: - r = this; + q = this; setTimeout(function () { var N90, p; @@ -97380,15 +97620,15 @@ a000.D9b = function () { for (; N90 !== 5; ) { switch (N90) { case 2: - var A4u = "audi"; - A4u += "oTrack"; - A4u += "SwitchComplete"; + var G8N = "audioTrackSwit"; + G8N += "chComp"; + G8N += "lete"; p = { - type: A4u, + type: G8N, trackId: m, trackIndex: n }; - d.Ta(r.Ya, p.type, p); + d.Ua(q.Za, p.type, p); N90 = 5; break; } @@ -97396,70 +97636,337 @@ a000.D9b = function () { }, 0); M90 = 5; break; - } - } - }; - h.prototype.Ahb = function (m) { - var O90, - n; - O90 = 2; - for (; O90 !== 4; ) { - switch (O90) { - case 2: - var j4u = "buff"; - j4u += "eringStar"; - j4u += "ted"; - n = { - type: j4u, - time: l.default.time.aa(), - percentage: m || 0 - }; - d.Ta(this.Ya, n.type, n); - this.Zca = m || 0; - O90 = 4; + } + } + }; + h.prototype.Bhb = function (m) { + var O90, + n; + O90 = 2; + for (; O90 !== 4; ) { + switch (O90) { + case 2: + var X8N = "bufferi"; + X8N += "n"; + X8N += "gStarted"; + n = { + type: X8N, + time: l.default.time.ba(), + percentage: m || 0 + }; + d.Ua(this.Za, n.type, n); + this.Tca = m || 0; + O90 = 4; + break; + } + } + }; + k90 = 21; + break; + case 32: + h.prototype.Whb = function () { + var T90, + m; + T90 = 2; + for (; T90 !== 3; ) { + switch (T90) { + case 4: + d.Ua(this.Za, m.type, m); + T90 = 3; + break; + case 2: + var v8N = "strea"; + v8N += "m"; + v8N += "in"; + v8N += "gs"; + v8N += "tat"; + this.Za.I.cHb && l.default.memory.Pzb(this.Zgb.bind(this)); + m = { + type: v8N, + time: l.default.time.ba(), + playbackTime: this.Za.T.ye() + }; + this.Za.Yf.Mwb(m); + T90 = 4; + break; + } + } + }; + h.prototype.UJa = function () { + var U90, + m; + U90 = 2; + for (; U90 !== 4; ) { + switch (U90) { + case 2: + U90 = this.Za.kr ? 1 : 4; + break; + case 1: + var D8N = "a"; + D8N += "serep"; + D8N += "ort"; + m = { + type: D8N + }; + this.Za.kr.Kwb(m) && d.Ua(this.Za, m.type, m); + U90 = 4; + break; + } + } + }; + h.prototype.whb = function () { + var V90, + m; + V90 = 2; + for (; V90 !== 5; ) { + switch (V90) { + case 2: + var M5N = "aserep"; + M5N += "ortenable"; + M5N += "d"; + m = { + type: M5N + }; + d.Ua(this.Za, m.type, m); + V90 = 5; + break; + } + } + }; + h.prototype.Ghb = function (m) { + var l1N = a000; + var W90, + n, + q, + p, + t, + u, + w, + v, + x, + y, + z, + A, + B, + C, + E, + G, + D, + F, + J, + K, + L; + W90 = 2; + for (; W90 !== 6; ) { + switch (W90) { + case 1: + var z5N = "hin"; + z5N += "d"; + z5N += "sightreport"; + (n = { + type: z5N + }, q = this.Za.I.L3); + for (L in q) { + var m5N = "h"; + m5N += "v"; + m5N += "maf"; + m5N += "d"; + m5N += "p"; + var W5N = "hv"; + W5N += "m"; + W5N += "af"; + W5N += "gr"; + var L5N = "h"; + L5N += "v"; + L5N += "ma"; + L5N += "ftb"; + var K5N = "h"; + K5N += "tw"; + K5N += "br"; + p = q[L]; + t = 0; + u = 0; + w = 0; + v = 0; + x = 0; + y = 0; + z = void 0; + A = void 0; + B = !1; + C = -1; + E = -1; + G = -1; + D = -1; + F = -1; + J = -1; + for (K in m) { + A = m[K]; + void 0 === A.nd && (z = (z = A.sols) && z[p]) && (B = !0, w += z.dlvdur, t += z.dltwbr * z.dlvdur, u += z.dlvmaf * z.dlvdur); + y += A.pbdur; + v += A.pbtwbr * A.pbdur; + x += A.pbvmaf * A.pbdur; + z = A.rr; + A = A.ra; + } + 0 < y && (C = 1 * v / y, D = 1 * x / y); + B && (0 < w && (E = 1 * t / w, F = 1 * u / w), 0 < w + y && (G = 1 * (t + v) / (w + y), J = 1 * (u + x) / (w + y))); + switch (p) { + case K5N: + n.htwbr = G; + n.hptwbr = E; + n.pbtwbr = C; + z && (n.rr = z, n.ra = A); + break; + case L5N: + n.hvmaftb = J; + n.hpvmaftb = F; + n.pbvmaftb = D; + z && (n.rrvmaftb = z, n.ravmaftb = A); + break; + case W5N: + n.hvmafgr = J; + n.hpvmafgr = F; + n.pbvmafgr = D; + z && (n.rrvmafgr = z, n.ravmafgr = A); + break; + case m5N: + (n.hvmafdp = J, n.hpvmafdp = F, n.pbvmafdp = D, z && (n.rrvmafdp = z, n.ravmafdp = A)); + } + } + W90 = 4; + break; + case 2: + W90 = m ? 1 : 6; + break; + case 9: + W90 = this.Za.Wv ? 8 : 7; + break; + case 4: + W90 = this.Za.FS || this.Za.Wv ? 3 : 9; + break; + case 8: + for (var H in m) { + if ((q = m[H], void 0 !== q.O3a)) + for (p in q.O3a) { + if ((z = q.O3a[p], void 0 !== z.R7)) { + var Z5N = " "; + Z5N += "a"; + Z5N += "n"; + Z5N += "d "; + var u5N = "expect so"; + u5N += "l.strmsel"; + u5N += ".l"; + u5N += "ength === sol.fragsel.length but got "; + var s5N = "expect report.fragment"; + s5N += "sPrebuffer"; + s5N += "ed !== u"; + s5N += "ndefined"; + var C5N = "expect repo"; + C5N += "rt.fragmentsPrebuffer"; + C5N += "ed !== u"; + C5N += "nde"; + C5N += "fined"; + L = void 0 !== q.iSa; + L || (console.error(C5N), g.assert(L, s5N)); + L = []; + for (var Q in q.iSa) { + t = q.iSa[Q]; + L.push({ + da: t.da, + Yl: t.duration / 1E3, + quality: t.xb + }); + } + L = z.R7.length === z.jSa.length; + t = u5N + z.R7.length + Z5N + z.jSa.length; + L || (console.error(t), g.assert(L, t)); + L = []; + t = 0; + for (var I in z.R7) { + w = z.R7[I]; + u = z.jSa[I]; + l1N.l1q(2); + t = w = l1N.P1q(w, t); + L.push({ + L7b: w, + l8b: z.AQa[I], + q4b: z.Oa[I], + qfa: z.qfa[I], + pfa: z.pfa[I], + jNa: z.jNa[I], + S3b: { + da: u.da, + Yl: u.duration / 1E3, + quality: u.xb ? u.xb : z.Od[w].xb, + Q7b: u.ng, + T3b: u.Ig + }, + h1a: 0, + o7b: 0, + dpa: z.dpa[I] + }); + } + z = []; + L = 0; + for (var O in q.Ez.trace) { + t = q.Ez.trace[O]; + l1N.Q1q(2); + L = t = l1N.P1q(t, L); + z.push(t); + } + } + } + } + W90 = 7; + break; + case 7: + d.Ua(this.Za, n.type, n); + W90 = 6; + break; + case 3: + n.report = m; + W90 = 9; break; } } }; - k90 = 21; - break; - case 28: - h.prototype.Bhb = function (m) { + h.prototype.Chb = function (m) { var X90; X90 = 2; for (; X90 !== 5; ) { switch (X90) { case 2: - var l4u = "e"; - l4u += "ndOfStre"; - l4u += "am"; + var B5N = "e"; + B5N += "ndO"; + B5N += "f"; + B5N += "S"; + B5N += "tream"; m = { - type: l4u, + type: B5N, mediaType: m }; - d.Ta(this.Ya, m.type, m); + d.Ua(this.Za, m.type, m); X90 = 5; break; } } }; - h.prototype.Pm = function (m) { + h.prototype.Om = function (m) { var Y90; Y90 = 2; for (; Y90 !== 1; ) { switch (Y90) { case 2: - var G4u = "ase"; - G4u += "exce"; - G4u += "ptio"; - G4u += "n"; - var q4u = "asee"; - q4u += "x"; - q4u += "ce"; - q4u += "pti"; - q4u += "on"; - this.Ya.emit(q4u, { - type: G4u, + var q5N = "a"; + q5N += "se"; + q5N += "e"; + q5N += "xception"; + var A5N = "ase"; + A5N += "e"; + A5N += "xcept"; + A5N += "ion"; + this.Za.emit(A5N, { + type: q5N, msg: m }); Y90 = 1; @@ -97467,28 +97974,28 @@ a000.D9b = function () { } } }; - h.prototype.VJb = function (m, n, r, p) { + h.prototype.XJb = function (m, n, q, p) { var Z90; Z90 = 2; for (; Z90 !== 5; ) { switch (Z90) { case 2: - var m4u = "maxvideobi"; - m4u += "t"; - m4u += "ratechanged"; - var Y4u = "maxvideobi"; - Y4u += "t"; - Y4u += "r"; - Y4u += "atechanged"; + var t5N = "m"; + t5N += "a"; + t5N += "xvideobitratechang"; + t5N += "ed"; + var H5N = "maxvideobitr"; + H5N += "ate"; + H5N += "changed"; m = { - type: Y4u, - time: l.default.time.aa(), + type: H5N, + time: l.default.time.ba(), spts: p, maxvb_old: m, maxvb: n, - reason: r + reason: q }; - this.Ya.emit(m4u, m); + this.Za.emit(t5N, m); Z90 = 5; break; } @@ -97496,559 +98003,464 @@ a000.D9b = function () { }; k90 = 42; break; - case 4: - h.prototype.Ehb = function (m, n) { - var q90; - q90 = 2; - for (; q90 !== 5; ) { - switch (q90) { - case 2: - var O4u = "header"; - O4u += "Cac"; - O4u += "heH"; - O4u += "it"; - m = { - type: O4u, - movieId: m, - streamId: n - }; - d.Ta(this.Ya, m.type, m); - q90 = 5; - break; - } - } - }; - h.prototype.Dhb = function (m, n, r, p, u) { - var r90, - t; - r90 = 2; - for (; r90 !== 3; ) { - switch (r90) { + case 19: + h.prototype.XJa = function (m) { + var D90; + D90 = 2; + for (; D90 !== 5; ) { + switch (D90) { case 2: - var E4u = "head"; - E4u += "erCac"; - E4u += "heD"; - E4u += "ataHi"; - E4u += "t"; - t = this.Ya.mJa; - this.Ya.mJa = void 0; + var F5N = "maxBit"; + F5N += "r"; + F5N += "at"; + F5N += "es"; m = { - type: E4u, - movieId: m, - audio: n, - audioFromMediaCache: p, - video: r, - videoFromMediaCache: u, - actualStartPts: t && t.Cn, - headerCount: t && t.pL, - stats: t && t.yd + type: F5N, + audio: m[0], + video: m[1] }; - d.Ta(this.Ya, m.type, m); - r90 = 3; + d.Ua(this.Za, m.type, m); + D90 = 5; break; } } }; - h.prototype.Lhb = function (m, n, r, p) { - var s90; - s90 = 2; - for (; s90 !== 5; ) { - switch (s90) { + h.prototype.Lhb = function (m, n) { + var E90, + q; + E90 = 2; + for (; E90 !== 3; ) { + switch (E90) { case 2: - var W4u = "m"; - W4u += "ax"; - W4u += "Pos"; - W4u += "iti"; - W4u += "on"; + var y5N = "noti"; + y5N += "fyManifestSelected:"; + y5N += " "; + var b5N = "manife"; + b5N += "stS"; + b5N += "elected"; + q = this.Za.I; m = { - type: W4u, + type: b5N, index: m, - endPts: n, - maxPts: r, - maxSeekPts: p + replace: n.N.$e.replace, + ptsStarts: n.JM, + streamingOffset: n.X + n.xv }; - d.Ta(this.Ya, m.type, m); - s90 = 5; + q.Gh && (n = y5N + JSON.stringify(m), q.Gh && this.Tl(n)); + d.Ua(this.Za, m.type, m); + E90 = 3; break; } } }; - h.prototype.Thb = function (m, n, r, p, u, t) { - var t90; - t90 = 2; - for (; t90 !== 4; ) { - switch (t90) { + h.prototype.Jhb = function (m, n, q, p, t) { + var F90; + F90 = 2; + for (; F90 !== 4; ) { + switch (F90) { case 2: - var I4u = "noti"; - I4u += "fyStr"; - I4u += "eamingEr"; - I4u += "ro"; - I4u += "r: "; - var J4u = "err"; - J4u += "o"; - J4u += "r"; + var k5N = "ma"; + k5N += "nifestPresenti"; + k5N += "ng"; m = { - type: J4u, - error: m, - errormsg: n, - networkErrorCode: r, - httpCode: p, - nativeCode: u, - manifestIndex: t - }; - this.H.error(I4u + JSON.stringify(m)); - d.Ta(this.Ya, m.type, m); - t90 = 4; - break; - } - } - }; - h.prototype.I_ = function (m, n) { - var u90; - u90 = 2; - for (; u90 !== 5; ) { - switch (u90) { - case 2: - var n4u = "segme"; - n4u += "ntS"; - n4u += "t"; - n4u += "arting"; - n = { - type: n4u, - segmentId: m.id, - contentOffset: n, - maxBitrates: { - audio: m.N.vv[0], - video: m.N.vv[1] - } + type: k5N, + index: m.Fb, + pts: Math.floor(n), + movieId: m.K, + replace: m.$e.replace, + contentOffset: q }; - m.yC || d.Ta(this.Ya, n.type, n); - u90 = 5; + null != p && null != t && (m.previousMovieId = p, m.previousIndex = t); + d.Ua(this.Za, m.type, m); + F90 = 4; break; } } }; - h.prototype.mda = function (m) { - var v90, - n; - v90 = 2; - for (; v90 !== 5; ) { - switch (v90) { + h.prototype.Shb = function (m, n, q, p) { + var G90, + t; + G90 = 2; + for (; G90 !== 3; ) { + switch (G90) { case 2: - var c4u = "segmen"; - c4u += "tA"; - c4u += "b"; - c4u += "orted"; - n = { - type: c4u, - segmentId: m.id + var e5N = "st"; + e5N += "ream"; + e5N += "Presenting"; + t = m.mediaType; + f.dm.up(t); + m = { + type: e5N, + startPts: Math.floor(n), + contentStartPts: Math.floor(q), + mediaType: t, + manifestIndex: p, + trackIndex: m.track.GE, + streamIndex: m.ng }; - m.yC || d.Ta(this.Ya, n.type, n); - v90 = 5; + d.Ua(this.Za, m.type, m); + G90 = 3; break; } } }; - k90 = 14; - break; - case 2: - h.prototype.zl = function (m) { - var m90; - m90 = 2; - for (; m90 !== 5; ) { - switch (m90) { + h.prototype.Xhb = function (m) { + var H90; + H90 = 2; + for (; H90 !== 5; ) { + switch (H90) { case 2: - var h4u = "s"; - h4u += "t"; - h4u += "ar"; - h4u += "t"; - h4u += "Event"; + var h5N = "vi"; + h5N += "d"; + h5N += "eoLoop"; + h5N += "e"; + h5N += "d"; m = { - type: h4u, - event: m, - time: l.default.time.aa() + type: h5N, + offset: m }; - d.Ta(this.Ya, m.type, m); - m90 = 5; + d.Ua(this.Za, m.type, m); + H90 = 5; break; } } }; - h.prototype.Mhb = function () { - var n90, - m; - n90 = 2; - for (; n90 !== 5; ) { - switch (n90) { + h.prototype.Vhb = function (m, n, q, p, t) { + var I90; + I90 = 2; + for (; I90 !== 4; ) { + switch (I90) { case 2: - var t4u = "open"; - t4u += "Com"; - t4u += "plet"; - t4u += "e"; - m = { - type: t4u + var f5N = "updateSt"; + f5N += "re"; + f5N += "am"; + f5N += "i"; + f5N += "ngPts"; + n = { + type: f5N, + mediaType: m, + manifestIndex: n, + trackIndex: q, + movieTime: Math.floor(p), + segmentId: t }; - d.Ta(this.Ya, m.type, m); - n90 = 5; + I90 = 1; break; - } - } - }; - h.prototype.Nhb = function (m, n, r, p, u) { - var o90; - o90 = 2; - for (; o90 !== 1; ) { - switch (o90) { - case 2: - var p4u = "pt"; - p4u += "s"; - p4u += "S"; - p4u += "ta"; - p4u += "rts"; - this.Ya.I.bub || (m = { - type: p4u, - manifestIndex: m, - mediaType: n, - movieId: p, - streamId: r, - ptsStarts: u.Z3a() - }, d.Ta(this.Ya, m.type, m)); - o90 = 1; + case 1: + f.dm.up(m); + d.Ua(this.Za, n.type, n); + I90 = 4; break; } } }; - k90 = 4; + k90 = 26; break; case 21: - h.prototype.yhb = function () { + h.prototype.zhb = function () { var P90, m, n, - r, + q, p, - u; + t; P90 = 2; for (; P90 !== 3; ) { switch (P90) { case 2: - var k4u = "b"; - k4u += "uf"; - k4u += "f"; - k4u += "eri"; - k4u += "ng"; - (m = this.Ya.I, n = l.default.time.aa(), r = this.Ya.Ga.Cc, p = this.Ya.em ? 1 : 0, u = r.Ra(p)); - r = r.Hh(p); - m = Math.min(Math.max(Math.round(100 * (u.bC ? (n - this.Ya.Zba) / m.$y : u.progress ? u.progress : r / m.Qi)), this.Zca), 99); - m != this.Zca && (n = { - type: k4u, + (m = this.Za.I, n = l.default.time.ba(), q = this.Za.Ga.Ec, p = this.Za.cm ? 1 : 0, t = q.Sa(p)); + q = q.Hh(p); + m = Math.min(Math.max(Math.round(100 * (t.dC ? (n - this.Za.Tba) / m.cz : t.progress ? t.progress : q / m.Ni)), this.Tca), 99); + P90 = 4; + break; + case 4: + var E5N = "buf"; + E5N += "fer"; + E5N += "ing"; + m != this.Tca && (n = { + type: E5N, time: n, percentage: m - }, d.Ta(this.Ya, n.type, n), this.Zca = m); + }, d.Ua(this.Za, n.type, n), this.Tca = m); P90 = 3; break; } } }; - h.prototype.kda = function () { + h.prototype.eda = function () { var Q90, m, n, - r, + q, p, - u; + t; Q90 = 2; for (; Q90 !== 8; ) { switch (Q90) { case 2: - var S4u = "buffer"; - S4u += "ingCo"; - S4u += "m"; - S4u += "ple"; - S4u += "te"; - (m = this.Ya.Ga.Cc, n = m.Ra(0), r = m.Ra(1)); - this.XJa(); - (p = this.Ya.em ? this.Ya.nb.wz[k.Hb] : this.Ya.nb.wz[k.Tb], u = p.LR); + var x5N = "bufferin"; + x5N += "gCom"; + x5N += "p"; + x5N += "l"; + x5N += "ete"; + (m = this.Za.Ga.Ec, n = m.Sa(0), q = m.Sa(1)); + this.VJa(); + (p = this.Za.cm ? this.Za.ob.zz[k.Bb] : this.Za.ob.zz[k.Ob], t = p.MR); m = { - type: S4u, - time: l.default.time.aa(), - actualStartPts: u, + type: x5N, + time: l.default.time.ba(), + actualStartPts: t, aBufferLevelMs: m.Hh(0), vBufferLevelMs: m.Hh(1), - selector: r ? r.jN : n.jN, - initBitrate: p.dv, - skipbackBufferSizeBytes: this.Ya.Yb.HC + selector: q ? q.kN : n.kN, + initBitrate: p.jv, + skipbackBufferSizeBytes: this.Za.$b.JC }; - Q90 = 3; - break; - case 3: - this.Ya.Yf.Fwb({ - initSelReason: p.xy, - initSelectionPredictedDelay: p.wy, - buffCompleteReason: p.ls, - hashindsight: this.Ya.Nq, - hasasereport: !!this.Ya.jr, + this.Za.Yf.Lwb({ + initSelReason: p.Ay, + initSelectionPredictedDelay: p.zy, + buffCompleteReason: p.ps, + hashindsight: this.Za.Oq, + hasasereport: !!this.Za.kr, bcVBufferLevelMs: m.vBufferLevelMs, bcABufferLevelMs: m.aBufferLevelMs }); - d.Ta(this.Ya, m.type, m); + d.Ua(this.Za, m.type, m); Q90 = 8; break; } } }; - h.prototype.XJa = function () { + h.prototype.VJa = function () { var R90, + m, n, - r, + q, p, - u, t, - w, - m; + u, + w; R90 = 2; for (; R90 !== 12; ) { switch (R90) { + case 2: + m = this.Za.I; + R90 = 1; + break; case 1: - R90 = !this.Ya.pm() ? 5 : 12; + R90 = !this.Za.om() ? 5 : 12; break; - case 6: - var z4u = "update"; - z4u += "B"; - z4u += "u"; - z4u += "fferLevel"; - r = { - type: z4u, - abuflbytes: w, - vbuflbytes: n, - totalabuflmsecs: r, - totalvbuflmsecs: p, - currentBandwidth: u - }; - p > m.PYa && this.Ya.Yb.mf && this.Ya.Yb.mf.Xo(!0, this.Ya.vl.sessionId); - d.Ta(this.Ya, r.type, r); + case 14: + p > m.MYa && this.Za.$b.mf && this.Za.$b.mf.Yo(!0, this.Za.ul.sessionId); + d.Ua(this.Za, q.type, q); R90 = 12; break; case 5: - (n = this.Ya.Ga.Cc, r = n.Hh(0), p = n.Hh(1)); - this.Ya.Yf.hkb(r, p); - u = this.Ya.Yb.Jb.get(); - u = u.confidence ? u.Oa.Ea : 0; - (t = this.Ya.Ga, w = t.SE(n, 0)); - n = t.SE(n, 1); - R90 = 6; + (n = this.Za.Ga.Ec, q = n.Hh(0), p = n.Hh(1)); + this.Za.Yf.hkb(q, p); + t = this.Za.$b.Lb.get(); + R90 = 9; break; - case 2: - m = this.Ya.I; - R90 = 1; + case 9: + var n5N = "u"; + n5N += "p"; + n5N += "dateBuf"; + n5N += "ferLeve"; + n5N += "l"; + t = t.confidence ? t.Oa.Fa : 0; + (u = this.Za.Ga, w = u.TE(n, 0)); + n = u.TE(n, 1); + q = { + type: n5N, + abuflbytes: w, + vbuflbytes: n, + totalabuflmsecs: q, + totalvbuflmsecs: p, + currentBandwidth: t + }; + R90 = 14; break; } } }; - h.prototype.Ygb = function (m) { + h.prototype.Zgb = function (m) { var S90, n, - r, + q, p; S90 = 2; for (; S90 !== 7; ) { switch (S90) { - case 2: - S90 = !c.ga(m) ? 1 : 7; - break; case 5: - S90 = !c.ga(this.rJ) ? 4 : 8; + S90 = !c.fa(this.tJ) ? 4 : 8; break; case 4: - var H4u = ", osAl"; - H4u += "loc"; - H4u += "a"; - H4u += "tor"; - H4u += "Delta: "; - var f4u = ", j"; - f4u += "sHe"; - f4u += "apDe"; - f4u += "lta:"; - f4u += " "; - var R4u = ", fa"; - R4u += "stMallocDel"; - R4u += "ta: "; - var v4u = "m"; - v4u += "emoryUsa"; - v4u += "ge"; - v4u += " at tim"; - v4u += "e: "; - (n = m.ARa - this.rJ.ARa, r = m.mVa - this.rJ.mVa, p = m.m_a - this.rJ.m_a); - (4194304 < n || 4194304 < p) && this.H.warn(v4u + l.default.time.aa() + R4u + n + f4u + r + H4u + p); + var V5N = ", "; + V5N += "os"; + V5N += "AllocatorDe"; + V5N += "lta"; + V5N += ": "; + var I5N = ", j"; + I5N += "sHea"; + I5N += "pDelta"; + I5N += ":"; + I5N += " "; + var N5N = ", fa"; + N5N += "stMal"; + N5N += "locDelt"; + N5N += "a"; + N5N += ": "; + var p5N = "m"; + p5N += "emoryUsage a"; + p5N += "t"; + p5N += " time: "; + (n = m.zRa - this.tJ.zRa, q = m.kVa - this.tJ.kVa, p = m.k_a - this.tJ.k_a); + (4194304 < n || 4194304 < p) && this.H.warn(p5N + l.default.time.ba() + N5N + n + I5N + q + V5N + p); S90 = 9; break; - case 9: - var Z4u = ", "; - Z4u += "sy"; - Z4u += "ste"; - Z4u += "m"; - Z4u += "Delta: "; - var C4u = "memoryUsag"; - C4u += "e a"; - C4u += "t time"; - C4u += ": "; - c.xa(m.MW) && c.xa(this.rJ.MW) && (n = m.MW - this.rJ.MW, 4194304 < n && this.H.warn(C4u + l.default.time.aa(), Z4u + n)); - S90 = 8; + case 2: + S90 = !c.fa(m) ? 1 : 7; + break; + case 1: + c.ya(m.LW); + S90 = 5; break; case 8: - this.rJ = m; + this.tJ = m; S90 = 7; break; - case 1: - c.xa(m.MW); - S90 = 5; + case 9: + var w5N = ","; + w5N += " systemD"; + w5N += "elt"; + w5N += "a: "; + var g5N = "memor"; + g5N += "yUs"; + g5N += "age "; + g5N += "at t"; + g5N += "ime: "; + c.ya(m.LW) && c.ya(this.tJ.LW) && (n = m.LW - this.tJ.LW, 4194304 < n && this.H.warn(g5N + l.default.time.ba(), w5N + n)); + S90 = 8; break; } } }; - h.prototype.Vhb = function () { - var T90, + k90 = 32; + break; + case 42: + h.prototype.HZa = function () { + var a01, m; - T90 = 2; - for (; T90 !== 3; ) { - switch (T90) { + a01 = 2; + for (; a01 !== 3; ) { + switch (a01) { case 2: - var X4u = "streami"; - X4u += "ngst"; - X4u += "a"; - X4u += "t"; - this.Ya.I.aHb && l.default.memory.Lzb(this.Ygb.bind(this)); - m = { - type: X4u, - time: l.default.time.aa(), - playbackTime: this.Ya.T.xe() - }; - this.Ya.Yf.Gwb(m); - T90 = 4; + a01 = !this.wjb && this.Za.I.EZa ? 1 : 3; break; case 4: - d.Ta(this.Ya, m.type, m); - T90 = 3; + d.Ua(this.Za, m.type, m); + a01 = 3; break; - } - } - }; - k90 = 31; - break; - case 16: - h.prototype.Rhb = function (m, n, r, p) { - var G90, - u; - G90 = 2; - for (; G90 !== 3; ) { - switch (G90) { - case 2: - var a4u = "stream"; - a4u += "Present"; - a4u += "in"; - a4u += "g"; - u = m.mediaType; - f.fm.rp(u); + case 1: + var d5N = "stre"; + d5N += "a"; + d5N += "me"; + d5N += "r"; + d5N += "end"; + this.wjb = !0; m = { - type: a4u, - startPts: Math.floor(n), - contentStartPts: Math.floor(r), - mediaType: u, - manifestIndex: p, - trackIndex: m.track.EE, - streamIndex: m.og + type: d5N, + time: l.default.time.ba() }; - d.Ta(this.Ya, m.type, m); - G90 = 3; + a01 = 4; break; } } }; - h.prototype.Whb = function (m) { - var H90; - H90 = 2; - for (; H90 !== 5; ) { - switch (H90) { + h.prototype.dKb = function (m) { + var b01; + b01 = 2; + for (; b01 !== 5; ) { + switch (b01) { case 2: - var w4u = "v"; - w4u += "id"; - w4u += "eo"; - w4u += "Loo"; - w4u += "ped"; + var o5N = "stre"; + o5N += "amSelecti"; + o5N += "onA"; + o5N += "ugment"; + o5N += "Data"; m = { - type: w4u, - offset: m + type: o5N, + augmentData: m, + fragmentIndex: m[0].kf }; - d.Ta(this.Ya, m.type, m); - H90 = 5; + d.Ua(this.Za, m.type, m); + b01 = 5; break; } } }; - h.prototype.Uhb = function (m, n, r, p, u) { - var I90; - I90 = 2; - for (; I90 !== 4; ) { - switch (I90) { + h.prototype.Tl = function (m) { + var c01; + c01 = 2; + for (; c01 !== 5; ) { + switch (c01) { case 2: - var P4u = "updat"; - P4u += "eS"; - P4u += "t"; - P4u += "rea"; - P4u += "mingPts"; - n = { - type: P4u, - mediaType: m, - manifestIndex: n, - trackIndex: r, - movieTime: Math.floor(p), - segmentId: u + var Q5N = ","; + Q5N += " "; + var P5N = "managerdebugev"; + P5N += "e"; + P5N += "n"; + P5N += "t"; + m = { + type: P5N, + message: "@" + l.default.time.ba() + Q5N + m }; - f.fm.rp(m); - d.Ta(this.Ya, n.type, n); - I90 = 4; + d.Ua(this.Za, m.type, m); + c01 = 5; break; } } }; - h.prototype.Chb = function (m) { + return h; + break; + case 26: + h.prototype.Dhb = function (m) { var J90; J90 = 2; for (; J90 !== 5; ) { switch (J90) { case 2: - var d4u = "fir"; - d4u += "stRequ"; - d4u += "estAppended"; + var l5N = "firstRequestAppe"; + l5N += "nd"; + l5N += "ed"; m = { - type: d4u, - manifestIndex: m.Na.ub.N.Db, + type: l5N, + manifestIndex: m.Na.yb.N.Fb, mediatype: m.mediaType, - time: l.default.time.aa() + time: l.default.time.ba() }; - d.Ta(this.Ya, m.type, m); + d.Ua(this.Za, m.type, m); J90 = 5; break; } } }; - h.prototype.Ghb = function (m, n) { + h.prototype.Hhb = function (m, n) { var K90; K90 = 2; for (; K90 !== 5; ) { switch (K90) { case 2: - var V4u = "initi"; - V4u += "al"; - V4u += "A"; - V4u += "udioTra"; - V4u += "ck"; + var S5N = "ini"; + S5N += "tialAu"; + S5N += "dioTr"; + S5N += "ack"; m = { - type: V4u, + type: S5N, trackId: n, trackIndex: m }; - d.Ta(this.Ya, m.type, m); + d.Ua(this.Za, m.type, m); K90 = 5; break; } @@ -98056,686 +98468,447 @@ a000.D9b = function () { }; k90 = 24; break; - case 31: - h.prototype.WJa = function () { - var U90, - m; - U90 = 2; - for (; U90 !== 4; ) { - switch (U90) { - case 1: - var K4u = "a"; - K4u += "s"; - K4u += "ereport"; - m = { - type: K4u - }; - this.Ya.jr.Ewb(m) && d.Ta(this.Ya, m.type, m); - U90 = 4; - break; + } + } + })(); + b.yCa = a; + }, function (r, b, a) { + var c, + f, + k, + l, + d, + g, + h, + m, + n, + q, + p, + t, + u, + w, + v, + x; + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.iza = void 0; + c = a(2); + r = a(16); + f = c.__importStar(a(10)); + a(6); + a(229); + k = a(246); + l = a(403); + d = a(96); + a(394); + a(409); + g = a(150); + h = c.__importDefault(a(27)); + a(242); + m = a(914); + n = c.__importDefault(a(123)); + a(14); + q = c.__importDefault(a(5)); + a(178); + a(415); + a(414); + a(95); + p = new q.default.Console("HEADERCACHE", "media|asejs"); + a = new q.default.Console("MEDIACACHE", "media|asejs"); + t = q.default.XH; + u = p.trace.bind(p); + a.trace.bind(a); + w = p.warn.bind(p); + v = p.error.bind(p); + x = p.info.bind(p); + a = (function (y) { + var d01; + d01 = 2; + for (; d01 !== 39; ) { + switch (d01) { + case 2: + c.__extends(z, y); + Object.defineProperties(z.prototype, { + cache: { + get: function () { + var h01; + h01 = 2; + for (; h01 !== 1; ) { + switch (h01) { + case 2: + return this.Jf; + break; + } + } + }, + enumerable: !1, + configurable: !0 + } + }); + z.prototype.Rtb = function () { + var i01; + i01 = 2; + for (; i01 !== 5; ) { + switch (i01) { case 2: - U90 = this.Ya.jr ? 1 : 4; + this.flush(); + this.FIa(); + i01 = 5; break; } } }; - h.prototype.vhb = function () { - var V90, - m; - V90 = 2; - for (; V90 !== 5; ) { - switch (V90) { - case 2: - var g4u = "aserep"; - g4u += "orten"; - g4u += "ab"; - g4u += "led"; - m = { - type: g4u - }; - d.Ta(this.Ya, m.type, m); - V90 = 5; - break; + d01 = 4; + break; + case 13: + z.prototype.URa = function () { + function B(F, J) { + var t01; + t01 = 2; + for (; t01 !== 1; ) { + switch (t01) { + case 2: + F && F.data && F.data[J].forEach(function (K) { + var u01; + u01 = 2; + for (; u01 !== 5; ) { + switch (u01) { + case 2: + K.abort(); + C += K.bytesReceived; + u01 = 5; + break; + } + } + }); + t01 = 1; + break; + } } } - }; - h.prototype.Fhb = function (m) { - var A6u = a000; - var W90, - n, - r, - p, - u, - t, - w, - v, - x, - y, - z, - B, - A, + var r01, C, E, - F, - D, - G, - I, - J, - M; - W90 = 2; - for (; W90 !== 6; ) { - switch (W90) { - case 4: - W90 = this.Ya.GS || this.Ya.Rv ? 3 : 9; - break; - case 3: - n.report = m; - W90 = 9; - break; + G; + r01 = 2; + for (; r01 !== 4; ) { + switch (r01) { case 2: - W90 = m ? 1 : 6; - break; - case 7: - d.Ta(this.Ya, n.type, n); - W90 = 6; - break; - case 1: - var N4u = "h"; - N4u += "indsi"; - N4u += "g"; - N4u += "htrepo"; - N4u += "rt"; - (n = { - type: N4u - }, r = this.Ya.I.K3); - for (M in r) { - var s4u = "hvm"; - s4u += "a"; - s4u += "f"; - s4u += "dp"; - var B4u = "hvm"; - B4u += "af"; - B4u += "gr"; - var x4u = "h"; - x4u += "v"; - x4u += "m"; - x4u += "aftb"; - var T4u = "ht"; - T4u += "wb"; - T4u += "r"; - p = r[M]; - u = 0; - t = 0; - w = 0; - v = 0; - x = 0; - y = 0; - z = void 0; - B = void 0; - A = !1; - C = -1; - E = -1; - F = -1; - D = -1; - G = -1; - I = -1; - for (J in m) { - B = m[J]; - void 0 === B.nd && (z = (z = B.sols) && z[p]) && (A = !0, w += z.dlvdur, u += z.dltwbr * z.dlvdur, t += z.dlvmaf * z.dlvdur); - y += B.pbdur; - v += B.pbtwbr * B.pbdur; - x += B.pbvmaf * B.pbdur; - z = B.rr; - B = B.ra; - } - 0 < y && (C = 1 * v / y, D = 1 * x / y); - A && (0 < w && (E = 1 * u / w, G = 1 * t / w), 0 < w + y && (F = 1 * (u + v) / (w + y), I = 1 * (t + x) / (w + y))); - switch (p) { - case T4u: - n.htwbr = F; - n.hptwbr = E; - n.pbtwbr = C; - z && (n.rr = z, n.ra = B); - break; - case x4u: - n.hvmaftb = I; - n.hpvmaftb = G; - n.pbvmaftb = D; - z && (n.rrvmaftb = z, n.ravmaftb = B); - break; - case B4u: - n.hvmafgr = I; - n.hpvmafgr = G; - n.pbvmafgr = D; - z && (n.rrvmafgr = z, n.ravmafgr = B); - break; - case s4u: - (n.hvmafdp = I, n.hpvmafdp = G, n.pbvmafdp = D, z && (n.rrvmafdp = z, n.ravmafdp = B)); + C = 0; + for (E in this.Jf) { + G = this.Jf[E]; + if (G.data) { + for (var D in G.data) { + var T5N = "in "; + T5N += "e"; + T5N += "n"; + T5N += "tr"; + T5N += "y:"; + var J5N = "missing head"; + J5N += "erEn"; + J5N += "t"; + J5N += "ry for streamId:"; + G.headers[D] || v(J5N, D, T5N, G); + B(G, D); + G.data[D].forEach(A); + delete G.data[D]; + } + delete G.data; } } - W90 = 4; + this.Sib(C); + r01 = 4; break; - case 8: - for (var H in m) { - if ((r = m[H], void 0 !== r.N3a)) - for (p in r.N3a) { - if ((z = r.N3a[p], void 0 !== z.V7)) { - var y0u = " an"; - y0u += "d"; - y0u += " "; - var U0u = "e"; - U0u += "xpect sol.s"; - U0u += "trmsel.length === sol.fragsel.l"; - U0u += "engt"; - U0u += "h but got "; - var F0u = "expect re"; - F0u += "port.fragmen"; - F0u += "tsPrebuffer"; - F0u += "e"; - F0u += "d !== undefined"; - var i4u = "expect report."; - i4u += "fragmentsPrebuffered !== und"; - i4u += "efined"; - M = void 0 !== r.jSa; - M || (console.error(i4u), g.assert(M, F0u)); - M = []; - for (var O in r.jSa) { - u = r.jSa[O]; - M.push({ - ca: u.ca, - $l: u.duration / 1E3, - quality: u.zb - }); - } - M = z.V7.length === z.kSa.length; - u = U0u + z.V7.length + y0u + z.kSa.length; - M || (console.error(u), g.assert(M, u)); - M = []; - u = 0; - for (var L in z.V7) { - w = z.V7[L]; - t = z.kSa[L]; - A6u.D9b(2); - u = w = A6u.r9b(u, w); - M.push({ - x7b: w, - V7b: z.CQa[L], - k4b: z.Oa[L], - xfa: z.xfa[L], - wfa: z.wfa[L], - jNa: z.jNa[L], - P3b: { - ca: t.ca, - $l: t.duration / 1E3, - quality: t.zb ? t.zb : z.Qd[w].zb, - C7b: t.og, - Q3b: t.Kg - }, - h1a: 0, - d7b: 0, - ipa: z.ipa[L] - }); - } - z = []; - M = 0; - for (var P in r.Bz.trace) { - u = r.Bz.trace[P]; - A6u.u9b(2); - M = u = A6u.r9b(M, u); - z.push(u); - } - } - } + } + } + function A(F) { + var s01; + s01 = 2; + for (; s01 !== 1; ) { + switch (s01) { + case 2: + F.bOa(); + s01 = 1; + break; } - W90 = 7; + } + } + }; + z.prototype.Zy = function (A) { + var v01, + B; + v01 = 2; + for (; v01 !== 5; ) { + switch (v01) { + case 2: + B = this.Jf[A.K]; + B && (this.Nc(A) ? f.fa(B.yd.VCb) && !f.fa(A.loadTime) && (B.yd.VCb = A.loadTime) : f.fa(B.yd.s0a) && !f.fa(A.loadTime) && (B.yd.s0a = A.loadTime)); + v01 = 5; break; - case 9: - W90 = this.Ya.Rv ? 8 : 7; + } + } + }; + z.prototype.vk = function (A) { + var w01; + w01 = 2; + for (; w01 !== 1; ) { + switch (w01) { + case 2: + this.Nc(A) ? this.oLb(A) : this.pLb(A); + w01 = 1; break; } } }; - k90 = 28; + d01 = 10; break; - case 12: - h.prototype.Ohb = function (m, n) { - var z90; - z90 = 2; - for (; z90 !== 5; ) { - switch (z90) { + case 17: + z.prototype.FIa = function () { + var E01, + A; + E01 = 2; + for (; E01 !== 4; ) { + switch (E01) { case 2: - var L0u = "segmentAp"; - L0u += "pen"; - L0u += "ded"; - n = { - type: L0u, - segmentId: m.id, - metrics: n - }; - m.yC || d.Ta(this.Ya, n.type, n); - z90 = 5; + A = this.Ku; + this.Ku = []; + A.forEach(function (B) { + var F01; + F01 = 2; + for (; F01 !== 1; ) { + switch (F01) { + case 2: + g.gq.instance.nS(B); + F01 = 1; + break; + case 4: + g.gq.instance.nS(B); + F01 = 2; + break; + F01 = 1; + break; + } + } + }); + E01 = 4; break; } } }; - h.prototype.Phb = function (m, n, r) { - var A90; - A90 = 2; - for (; A90 !== 5; ) { - switch (A90) { + z.prototype.$gb = function () { + var G01, + A; + G01 = 2; + for (; G01 !== 5; ) { + switch (G01) { case 2: - var o0u = "se"; - o0u += "gme"; - o0u += "ntCo"; - o0u += "m"; - o0u += "plete"; - m = { - type: o0u, - mediaType: m, - manifestIndex: n, - segmentId: r.id - }; - d.Ta(this.Ya, m.type, m); - A90 = 5; + A = this; + !this.k_ && 0 < this.cJ.length && (this.cJ.forEach(function (B) { + var H01; + H01 = 2; + for (; H01 !== 1; ) { + switch (H01) { + case 2: + A.wda(B.UCb, B.pd); + H01 = 1; + break; + } + } + }), this.cJ = []); + G01 = 5; break; } } }; - h.prototype.lda = function (m, n) { - var B90; - B90 = 2; - for (; B90 !== 5; ) { - switch (B90) { - case 2: - var b0u = "l"; - b0u += "ast"; - b0u += "Segment"; - b0u += "Pts"; - n = { - type: b0u, - segmentId: m.id, - pts: Math.floor(n) - }; - m.yC || d.Ta(this.Ya, n.type, n); - B90 = 5; + z.prototype.yIa = function (A, B) { + var I01, + C; + I01 = 2; + for (; I01 !== 8; ) { + switch (I01) { + case 4: + B.rh = A.rh; + B.mf = this; + return B; break; - } - } - }; - h.prototype.Jhb = function (m, n, r, p, u) { - var C90; - C90 = 2; - for (; C90 !== 5; ) { - switch (C90) { case 2: - var M0u = "m"; - M0u += "anifestR"; - M0u += "ange"; - m = { - type: M0u, - index: m, - manifestOffset: n, - startPts: Math.floor(r), - endPts: Math.floor(p), - maxPts: Math.floor(u) - }; - d.Ta(this.Ya, m.type, m); - C90 = 5; + C = A.stream.mediaType; + 2 > this.Ku.length && this.AIa(); + B = new l.m9(A.stream, B, this.Ku[C], A, this, !0, p); + I01 = 4; break; } } }; - k90 = 19; - break; - case 41: - h.prototype.bKb = function (m) { - var b01; - b01 = 2; - for (; b01 !== 5; ) { - switch (b01) { - case 2: - var r0u = "st"; - r0u += "reamSelectionA"; - r0u += "ugmentData"; - m = { - type: r0u, - augmentData: m, - fragmentIndex: m[0].kf - }; - d.Ta(this.Ya, m.type, m); - b01 = 5; + z.prototype.zfb = function (A, B) { + var J01, + C; + J01 = 2; + for (; J01 !== 8; ) { + switch (J01) { + case 5: + B = k.LX.create(A.stream, B, this.Ku[C].track, A, this, !0, p); + B.rh = A.rh; + B.mf = this; + return B; break; - } - } - }; - h.prototype.Ul = function (m) { - var c01; - c01 = 2; - for (; c01 !== 5; ) { - switch (c01) { case 2: - var D0u = ","; - D0u += " "; - var Q0u = "m"; - Q0u += "a"; - Q0u += "na"; - Q0u += "gerdebugevent"; - m = { - type: Q0u, - message: "@" + l.default.time.aa() + D0u + m - }; - d.Ta(this.Ya, m.type, m); - c01 = 5; + C = A.stream.mediaType; + 2 > this.Ku.length && this.AIa(); + J01 = 5; break; } } }; - return h; + d01 = 26; break; - case 19: - h.prototype.ZJa = function (m) { - var D90; - D90 = 2; - for (; D90 !== 5; ) { - switch (D90) { + case 4: + z.prototype.y8 = function (A) { + var j01; + j01 = 2; + for (; j01 !== 5; ) { + switch (j01) { case 2: - var u0u = "maxBitr"; - u0u += "at"; - u0u += "es"; - m = { - type: u0u, - audio: m[0], - video: m[1] - }; - d.Ta(this.Ya, m.type, m); - D90 = 5; + this.ul = A; + this.Ku.forEach(function () {}); + j01 = 5; break; } } }; - h.prototype.Khb = function (m, n) { - var E90, - r; - E90 = 2; - for (; E90 !== 3; ) { - switch (E90) { + z.prototype.Yo = function (A, B, C) { + var k01, + E, + G; + k01 = 2; + for (; k01 !== 9; ) { + switch (k01) { + case 5: + for (var D in E) { + E.hasOwnProperty(D) && !1 === E[D] && (G = !1); + } + k01 = 4; + break; + case 1: + k01 = (E[B] = A) ? 5 : 4; + break; + case 7: + (E = this.wE, G = A); + k01 = 0; + break; + k01 = 1; + break; case 2: - var A0u = "no"; - A0u += "tifyManif"; - A0u += "estSelected: "; - var e0u = "mani"; - e0u += "fes"; - e0u += "tSe"; - e0u += "le"; - e0u += "cted"; - r = this.Ya.I; - m = { - type: e0u, - index: m, - replace: n.N.Ze.replace, - ptsStarts: n.JM, - streamingOffset: n.Z + n.rv - }; - r.Gh && (n = A0u + JSON.stringify(m), r.Gh && this.Ul(n)); - d.Ta(this.Ya, m.type, m); - E90 = 3; + (E = this.wE, G = A); + k01 = 1; + break; + case 4: + C && delete E[B]; + G ? (this.k_ = !1, this.$gb()) : this.k_ = !0; + k01 = 9; break; } } }; - h.prototype.Ihb = function (m, n, r, p, u) { - var F90; - F90 = 2; - for (; F90 !== 4; ) { - switch (F90) { + z.prototype.flush = function () { + var l01, + B; + l01 = 2; + for (; l01 !== 8; ) { + switch (l01) { + case 9: + var U5N = "man"; + U5N += "age"; + U5N += "rdebugevent"; + var r5N = ", heade"; + r5N += "rC"; + r5N += "ache flush: "; + this.un.Gh && (B = "@" + q.default.time.ba() + r5N, this.emit(U5N, { + message: B + })); + l01 = 8; + break; case 2: - var j0u = "m"; - j0u += "ani"; - j0u += "f"; - j0u += "es"; - j0u += "tPresenting"; - m = { - type: j0u, - index: m.Db, - pts: Math.floor(n), - movieId: m.K, - replace: m.Ze.replace, - contentOffset: r - }; - null != p && null != u && (m.previousMovieId = p, m.previousIndex = u); - d.Ta(this.Ya, m.type, m); - F90 = 4; + this.URa(); + for (var A in this.A_) { + B = this.A_[A]; + B.abort(); + } + this.Jf = Object.create(null); + this.ZD = 0; + this.xn = []; + l01 = 9; break; } } }; - k90 = 16; - break; - } - } - function h(m, n) { - var l90; - l90 = 2; - for (; l90 !== 4; ) { - switch (l90) { - case 2: - var l0u = "1SIY"; - l0u += "bZ"; - l0u += "r"; - l0u += "NJC"; - l0u += "p9"; - this.Ya = m; - this.H = n; - l0u; - l90 = 4; - break; - } - } - } - })(); - b.ACa = a; - }, function (q, b, a) { - var c, - f, - k, - l, - d, - g, - h, - m, - n, - r, - p, - u, - t, - w, - v, - x, - y; - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.kza = void 0; - c = a(2); - q = a(16); - f = c.__importStar(a(10)); - a(6); - a(228); - k = a(245); - l = a(399); - d = a(96); - a(390); - a(405); - g = a(150); - h = c.__importDefault(a(27)); - a(241); - m = a(912); - n = c.__importDefault(a(124)); - a(14); - r = c.__importDefault(a(4)); - a(178); - a(411); - a(410); - a(95); - p = r.default.Promise; - u = new r.default.Console("HEADERCACHE", "media|asejs"); - a = new r.default.Console("MEDIACACHE", "media|asejs"); - t = r.default.PH; - w = u.trace.bind(u); - a.trace.bind(a); - v = u.warn.bind(u); - x = u.error.bind(u); - y = u.info.bind(u); - a = (function (z) { - function B(A, C, E, F) { - var e01; - e01 = 2; - for (; e01 !== 25; ) { - switch (e01) { - case 6: - A.WD = 0; - A.yn = []; - e01 = 13; - break; - case 2: - A = z.call(this) || this; - A.sm = w; - A.$j = x; - A.Eb = v; - e01 = 3; - break; - case 3: - A.b3b = y; - A.x_ = Object.create(null); - A.vn = C; - A.If = Object.create(null); - e01 = 6; - break; - case 13: - A.IJa = C.N1; - A.Fu = []; - e01 = 11; - break; - case 18: - var Y0u = "1"; - Y0u += "SIY"; - Y0u += "bZ"; - Y0u += "r"; - Y0u += "NJCp9"; - A.cE = A.vn.Jna; - A.rj = void 0; - A.Yda && (A.vn.sS || (C = (r.default.options || ({})).WL || 0, A.vn.set ? A.vn.set({ - sS: C - }) : A.vn.sS = (r.default.options || ({})).WL || 0), A.rj = new m.NBa(A.vn, r.default, A), A.rj.mb(A, F).then(function () { - var f01; - f01 = 2; - for (; f01 !== 1; ) { - switch (f01) { - case 2: - var q0u = "M"; - q0u += "e"; - q0u += "dia"; - q0u += " cache initialized"; - w(q0u); - f01 = 1; - break; - } - } - }).catch(function (D) { - var g01; - g01 = 2; - for (; g01 !== 1; ) { - switch (g01) { - case 2: - var G0u = "M"; - G0u += "edi"; - G0u += "a cache did not"; - G0u += " in"; - G0u += "itialize"; - x(G0u, D); - g01 = 1; - break; - } - } - })); - A.vl = E; - Y0u; - return A; - break; - case 11: - A.h_ = !1; - A.aJ = []; - A.uE = {}; - A.Yda = (A.vn.Vta || A.vn.Wta) && 0 < (A.vn.sS || (r.default.options || ({})).WL || 0); - e01 = 18; - break; - } - } - } - var d01; - d01 = 2; - for (; d01 !== 39; ) { - switch (d01) { - case 8: - B.prototype.list = function () { + z.prototype.list = function () { var m01; m01 = 2; for (; m01 !== 1; ) { switch (m01) { + case 4: + return this.xn; + break; + m01 = 1; + break; case 2: - return this.yn; + return this.xn; break; } } }; - B.prototype.sU = function (A, C) { + z.prototype.rU = function (A, B) { var n01; n01 = 2; for (; n01 !== 4; ) { switch (n01) { - case 1: - n01 = (C = A.headers[C]) ? 5 : 4; - break; case 9: - n01 = (A = this.If[A]) ? 9 : 5; + n01 = (A = this.Jf[A]) ? 5 : 2; break; - n01 = (A = this.If[A]) ? 1 : 4; + n01 = (A = this.Jf[A]) ? 1 : 4; break; - case 5: - return C; + case 1: + n01 = (B = A.headers[B]) ? 5 : 4; break; case 2: - n01 = (A = this.If[A]) ? 1 : 4; + n01 = (A = this.Jf[A]) ? 1 : 4; + break; + case 5: + return B; + break; + case 7: + return B; + break; + n01 = 4; break; } } }; - B.prototype.kHb = function (A, C) { + z.prototype.mHb = function (A, B) { var o01, - E, - F; + C, + E; o01 = 2; for (; o01 !== 5; ) { switch (o01) { case 2: - (E = this, F = this.jHb(A)); - o01 = 1; - break; - case 1: - return F || !this.rj ? p.resolve(F) : (this.cE ? this.Vgb(A, C) : this.Ugb(A, C)).then(function (D) { + (C = this, E = this.lHb(A)); + return E || !this.oj ? Promise.resolve(E) : (this.fE ? this.Wgb(A, B) : this.Vgb(A, B)).then(function (G) { var p01; p01 = 2; for (; p01 !== 1; ) { switch (p01) { case 4: - return E.H0a(D); + return C.H0a(G); break; p01 = 1; break; case 2: - return E.H0a(D); + return C.H0a(G); break; } } @@ -98744,467 +98917,752 @@ a000.D9b = function () { } } }; - d01 = 14; - break; - case 2: - c.__extends(B, z); - Object.defineProperties(B.prototype, { - cache: { - get: function () { - var h01; - h01 = 2; - for (; h01 !== 1; ) { - switch (h01) { - case 2: - return this.If; - break; - } - } - }, - enumerable: !1, - configurable: !0 - } - }); - B.prototype.Otb = function () { - var i01; - i01 = 2; - for (; i01 !== 5; ) { - switch (i01) { + z.prototype.lHb = function (A) { + var q01; + q01 = 2; + for (; q01 !== 1; ) { + switch (q01) { case 2: - this.flush(); - this.HIa(); - i01 = 5; - break; - case 3: - this.flush(); - this.HIa(); - i01 = 6; + return this.H0a(this.Jf[A]); break; - i01 = 5; + case 4: + return this.H0a(this.Jf[A]); break; - } - } - }; - B.prototype.C8 = function (A) { - var j01; - j01 = 2; - for (; j01 !== 5; ) { - switch (j01) { - case 2: - this.vl = A; - this.Fu.forEach(function () {}); - j01 = 5; + q01 = 1; break; } } }; - d01 = 3; + d01 = 13; break; - case 3: - B.prototype.Xo = function (A, C, E) { - var k01, - F, - D; - k01 = 2; - for (; k01 !== 9; ) { - switch (k01) { - case 1: - k01 = (F[C] = A) ? 5 : 4; - break; - case 7: - (F = this.uE, D = A); - k01 = 3; - break; - k01 = 1; + case 26: + z.prototype.$Z = function (A) { + var K01, + B; + K01 = 2; + for (; K01 !== 9; ) { + switch (K01) { + case 3: + var c5N = "sa"; + c5N += "veto"; + c5N += "di"; + c5N += "s"; + c5N += "k"; + B && 0 === B.iVa && 0 === B.fS && (this.gjb(B, A.Ze), B.rh && this.oj && (B.yd.s6b || (this.fE ? this.oj.ZQb(B) : this.oj.lN(c5N, { + t2a: B.yd.Ar + })))); + K01 = 9; break; case 2: - (F = this.uE, D = A); - k01 = 1; - break; - case 4: - E && delete F[C]; - D ? (this.h_ = !1, this.Zgb()) : this.h_ = !0; - k01 = 9; - break; - case 6: - k01 = (F[C] = A) ? 7 : 9; - break; - k01 = (F[C] = A) ? 5 : 4; - break; - case 5: - for (var G in F) { - F.hasOwnProperty(G) && !1 === F[G] && (D = !1); - } - k01 = 4; + this.Nc(A) && delete this.A_[A.Ma]; + this.Nc(A) || delete A.response; + A.Kc(); + B = this.Jf[A.K] || A.Sl; + K01 = 3; break; } } }; - B.prototype.flush = function () { - var l01, - C; - l01 = 2; - for (; l01 !== 8; ) { - switch (l01) { + z.prototype.fhb = function (A, B, C) { + var L01, + G, + E; + L01 = 2; + for (; L01 !== 8; ) { + switch (L01) { case 3: - var O0u = "mana"; - O0u += "gerdebu"; - O0u += "ge"; - O0u += "vent"; - var m0u = ","; - m0u += " h"; - m0u += "eaderCac"; - m0u += "h"; - m0u += "e flush: "; - this.yn = []; - this.vn.Gh && (C = "@" + r.default.time.aa() + m0u, this.emit(O0u, { - message: C - })); - l01 = 8; + G = C && C.length < A.LPa ? C.length : A.LPa; + return function (D) { + var K2N = a000; + var N01; + N01 = 2; + for (; N01 !== 1; ) { + switch (N01) { + case 4: + K2N.Q1q(19); + return K2N.o1q(D, G); + break; + N01 = 1; + break; + case 2: + K2N.l1q(20); + return K2N.P1q(D, G); + break; + } + } + }; + break; + case 5: + L01 = 0 < E ? 4 : 3; break; case 2: - this.VRa(); - for (var A in this.x_) { - C = this.x_[A]; - C.abort(); - } - this.If = Object.create(null); - this.WD = 0; - l01 = 3; + E = A.O1; + B.rh && this.oj && (A.AYa ? E = A.AYa : A.nYa && 0 < A.nYa && (E = 2E3 * A.nYa)); + L01 = 5; + break; + case 4: + return function (D, F) { + var z2N = a000; + var M01; + M01 = 2; + for (; M01 !== 1; ) { + switch (M01) { + case 2: + z2N.l1q(20); + return z2N.o1q(F, E); + break; + case 4: + z2N.l1q(21); + return z2N.o1q(E, F); + break; + M01 = 1; + break; + } + } + }; break; } } }; - d01 = 8; - break; - case 24: - B.prototype.Cda = function (A, C) { + z.prototype.wda = function (A, B) { var O01, - M, J, - H, + K, + C, E, - F, - D, G, - I, + D, + F, L, - P, - O; + H, + Q, + I; O01 = 2; for (; O01 !== 53; ) { switch (O01) { - case 32: - O01 = (void 0 === M && (M = A.stream.nk(H)), void 0 !== M) ? 31 : 36; - break; - case 54: - I.yha && !f.ga(I.Cn) && (A = I.yha, delete I.yha, this.Cda(A, I.Cn)); - O01 = 53; + case 11: + A.mediaType === h.default.Ra.Ob && D.dk && !D.XA && G.ee && (B = Math.max(G.Y && G.Y.Wi(0) || 0, B + G.ee.V)); + (J = A.stream.Y, K = J && J.Em(B)); + O01 = 20; break; - case 18: - M = A.stream.nk(H); - O01 = 17; + case 17: + O01 = !f.fa(H) ? 16 : 25; break; - case 1: - O01 = this.h_ ? 5 : 9; + case 37: + H = void 0; + O01 = 36; break; case 36: - ++H; + ++K; O01 = 33; break; - case 11: - A.mediaType === h.default.Za.Tb && G.ck && !G.VA && D.he && (C = Math.max(D.Y && D.Y.Zi(0) || 0, C + D.he.V)); - (J = A.stream.Y, H = J && J.Gm(C)); - O01 = 20; - break; case 42: - var E0u = "u"; - E0u += "nde"; - E0u += "fi"; - E0u += "ned"; - f.ga(I.Cn) && (I.Cn = M.Z); - M.sh && (M.responseType = 0); - A.sh && this.rj && A.CU && A.CU[F] && E0u !== typeof M.Z && A.CU[F][M.Z] || (L = this.yfb(M, A.sd), L.sh && (L.Tl = A.Tl), L.sM(), ++I.gS, C.push(L)); - ++O; + var a5N = "undef"; + a5N += "in"; + a5N += "e"; + a5N += "d"; + f.fa(F.Bn) && (F.Bn = H.X); + H.rh && (H.responseType = 0); + A.rh && this.oj && A.BU && A.BU[E] && a5N !== typeof H.X && A.BU[E][H.X] || (Q = this.zfb(H, A.Bd), Q.rh && (Q.Sl = A.Sl), Q.uM(), ++F.fS, B.push(Q)); + ++L; O01 = 38; break; + case 2: + (C = A.K, E = A.Ma, G = A.stream, D = A.Bd); + O01 = 1; + break; + case 7: + O01 = A.mediaType === h.default.Ra.Ob ? 6 : 11; + break; + case 9: + F = this.Jf[C] || A.Sl; + O01 = 8; + break; + case 12: + B = F.Bn; + O01 = 11; + break; + case 31: + H.rh = A.rh; + O01 = 30; + break; + case 38: + G += H.duration; + O01 = 37; + break; + case 3: + this.cJ.shift(); + O01 = 4; + break; + case 33: + O01 = K < (J && J.length || 0) && !C(L, G) ? 32 : 54; + break; + case 19: + var Y5N = "no "; + Y5N += "proper fragment found to request dat"; + Y5N += "a at pts"; + v(Y5N, B); + O01 = 53; + break; + case 25: + void 0 === F.data && (F.data = {}); + void 0 === F.data[E] && (F.data[E] = []); + B = F.data[E]; + C = this.fhb(D, A, J); + O01 = 21; + break; case 43: - ++L; + ++Q; O01 = 28; break; - case 37: - M = void 0; - O01 = 36; + case 16: + H.rh = A.rh; + L = H.Fia(B); + L && (H.mediaType === h.default.Ra.Ob && !D.m5 && L.pd < (D.dk && !D.XA && G.ee ? Math.floor(G.ee.V) : 0) && (++L.Ak, L.pd += H.pa.V), 0 < L.Ak && H.sh({ + start: L.Ak + })); + O01 = 26; break; - case 8: - O01 = I ? 7 : 53; + case 28: + O01 = Q < J.length && (H.da < I || H.duration < D) ? 44 : 42; break; - case 4: - O01 = this.aJ.length > G.Zka ? 3 : 53; + case 18: + H = A.stream.nk(K); + O01 = 17; break; - case 2: - (E = A.K, F = A.La, D = A.stream, G = A.sd); - O01 = 1; + case 21: + L = G = 0; + (Q = H && H.mediaType, I = Q === h.default.Ra.Bb ? D.z5 : D.s5); + O01 = 34; break; - case 5: - this.aJ.push({ - RCb: A, - od: C - }); - O01 = 4; + case 34: + D = Q === h.default.Ra.Bb ? D.aJb : D.VIb; + O01 = 33; break; - case 31: - M.sh = A.sh; - O01 = 30; + case 29: + a000.Q1q(2); + Q = a000.P1q(1, K); + O01 = 28; + break; + case 32: + O01 = (void 0 === H && (H = A.stream.nk(K)), void 0 !== H) ? 31 : 36; break; case 13: return; break; + case 26: + var G5N = "mana"; + G5N += "gerdebuge"; + G5N += "vent"; + var R5N = ","; + R5N += " "; + R5N += "startP"; + R5N += "ts: "; + var O5N = ", "; + O5N += "pt"; + O5N += "s: "; + var i5N = ","; + i5N += " str"; + i5N += "eam"; + i5N += "Id"; + i5N += ": "; + var j5N = ", headerC"; + j5N += "ach"; + j5N += "e requestDat"; + j5N += "a: movieId:"; + j5N += " "; + D.Gh && (B = "@" + q.default.time.ba() + j5N + C + i5N + E + O5N + B + R5N + H.X, this.emit(G5N, { + message: B + })); + O01 = 25; + break; + case 1: + O01 = this.k_ ? 5 : 9; + break; + case 44: + (H.KLa(J.get(Q)), H.gM = Q + 1, K = Q); + O01 = 43; + break; + case 6: + O01 = void 0 === F.Bn ? 14 : 12; + break; + case 30: + O01 = !f.fa(J) && !H.na ? 29 : 42; + break; + case 20: + O01 = -1 === K || void 0 === K ? 19 : 18; + break; + case 8: + O01 = F ? 7 : 53; + break; case 14: - I.yha = A; + F.sha = A; O01 = 13; break; - case 3: - this.aJ.shift(); + case 5: + this.cJ.push({ + UCb: A, + pd: B + }); O01 = 4; break; - case 9: - I = this.If[E] || A.Tl; - O01 = 8; + case 54: + F.sha && !f.fa(F.Bn) && (A = F.sha, delete F.sha, this.wda(A, F.Bn)); + O01 = 53; + break; + case 4: + O01 = this.cJ.length > D.SCb ? 3 : 53; + break; + } + } + }; + d01 = 23; + break; + case 35: + z.prototype.Yba = function () { + var S01, + B, + C, + E; + S01 = 2; + for (; S01 !== 12; ) { + switch (S01) { + case 5: + S01 = this.ZD > this.GJa ? 4 : 13; + break; + case 2: + C = 0; + S01 = 1; + break; + case 3: + E = B.K; + S01 = 9; + break; + case 8: + for (var G in B.data) { + B.data[G].forEach(A); + delete B.data[G]; + } + S01 = 7; + break; + case 1: + S01 = !(this.ZD <= this.GJa) ? 5 : 12; break; case 7: - O01 = A.mediaType === h.default.Za.Tb ? 6 : 11; + delete this.Jf[E]; + --this.ZD; + S01 = 14; break; - case 25: - void 0 === I.data && (I.data = {}); - void 0 === I.data[F] && (I.data[F] = []); - C = I.data[F]; - E = this.ehb(G, A, J); - O = D = 0; - (L = M && M.mediaType, P = L === h.default.Za.Hb ? G.z5 : G.s5); - O01 = 34; + case 9: + S01 = B.data ? 8 : 7; break; - case 33: - O01 = H < (J && J.length || 0) && !E(O, D) ? 32 : 54; + case 14: + this.Pib(E); + S01 = 5; break; - case 44: - (M.LLa(J.get(L)), M.fM = L + 1, H = L); - O01 = 43; + case 4: + S01 = (B = this.xn.shift()) ? 3 : 5; break; - case 16: - M.sh = A.sh; - O = M.Mia(C); - O && (M.mediaType === h.default.Za.Tb && !G.m5 && O.od < (G.ck && !G.VA && D.he ? Math.floor(D.he.V) : 0) && (++O.zk, O.od += M.pa.V), 0 < O.zk && M.th({ - start: O.zk - })); - O01 = 26; + case 13: + this.Qib(C); + S01 = 12; break; - case 29: - a000.D9b(2); - L = a000.r9b(H, 1); - O01 = 28; + } + } + function A(D) { + var T01; + T01 = 2; + for (; T01 !== 5; ) { + switch (T01) { + case 2: + D.abort(); + C += D.bytesReceived; + T01 = 5; + break; + } + } + } + }; + z.prototype.Qib = function (A) { + var U01; + U01 = 2; + for (; U01 !== 1; ) { + switch (U01) { + case 2: + var X5N = "dis"; + X5N += "carde"; + X5N += "dBy"; + X5N += "t"; + X5N += "es"; + 0 !== A && (A = { + type: X5N, + bytes: A + }, this.emit(A.type, A)); + U01 = 1; break; - case 34: - G = L === h.default.Za.Hb ? G.ZIb : G.TIb; - O01 = 33; + } + } + }; + d01 = 33; + break; + case 10: + z.prototype.iV = function (A) { + var x01; + x01 = 2; + for (; x01 !== 5; ) { + switch (x01) { + case 2: + var v5N = "_o"; + v5N += "nErro"; + v5N += "r"; + v5N += ":"; + v5N += " "; + w(v5N, A.toString()); + this.$Z(A); + x01 = 5; break; - case 28: - O01 = L < J.length && (M.ca < P || M.duration < G) ? 44 : 42; + } + } + }; + z.prototype.oLb = function (A) { + var y01, + B; + y01 = 2; + for (; y01 !== 9; ) { + switch (y01) { + case 3: + this.Wib(A, function () { + var z01; + z01 = 2; + for (; z01 !== 1; ) { + switch (z01) { + case 2: + f.fa(A) || (f.fa(A.Sl) || A.Sl.iVa--, B.$Z(A)); + z01 = 1; + break; + } + } + }); + y01 = 9; break; - case 6: - O01 = void 0 === I.Cn ? 14 : 12; + case 2: + B = this; + A.eVb = A.Ze; + this.Leb(A); + f.fa(A.TCb) || A.TCb(A.eVb); + y01 = 3; break; - case 38: - D += M.duration; - O01 = 37; + } + } + }; + z.prototype.pLb = function (A) { + var A01, + B, + C, + E, + G; + A01 = 2; + for (; A01 !== 8; ) { + switch (A01) { + case 2: + (B = this, C = A.K, E = this.Jf[C] || A.Sl); + A01 = 1; break; - case 19: - var W0u = "no proper "; - W0u += "fragm"; - W0u += "ent fou"; - W0u += "nd to request data at"; - W0u += " pts"; - x(W0u, C); - O01 = 53; + case 5: + var L4N = "mana"; + L4N += "gerdebu"; + L4N += "ge"; + L4N += "v"; + L4N += "ent"; + var K4N = ", r"; + K4N += "em"; + K4N += "ai"; + K4N += "ning: "; + var z4N = ", p"; + z4N += "t"; + z4N += "s: "; + var M4N = ", s"; + M4N += "t"; + M4N += "r"; + M4N += "eamId"; + M4N += ": "; + var D5N = ", "; + D5N += "hea"; + D5N += "derCache dataComplete: movieId: "; + A01 = (this.un.Gh && (C = "@" + q.default.time.ba() + D5N + C + M4N + A.Ma + z4N + A.X + K4N + (E.fS - 1), this.emit(L4N, { + message: C + })), A.rh && 0 === A.responseType && this.oj && !this.fE) ? 4 : 9; break; - case 26: - var h0u = "managerde"; - h0u += "bu"; - h0u += "gevent"; - var c0u = ", startP"; - c0u += "ts"; - c0u += ": "; - var n0u = ","; - n0u += " "; - n0u += "p"; - n0u += "ts: "; - var I0u = ", str"; - I0u += "ea"; - I0u += "mId: "; - var J0u = ", head"; - J0u += "er"; - J0u += "Cac"; - J0u += "he"; - J0u += " requestData: movieId: "; - G.Gh && (C = "@" + r.default.time.aa() + J0u + E + I0u + F + n0u + C + c0u + M.Z, this.emit(h0u, { - message: C - })); - O01 = 25; + case 1: + A01 = E ? 5 : 8; break; - case 17: - O01 = !f.ga(M) ? 16 : 25; + case 3: + this.oj.XQb(A, E, function (D) { + var B01; + B01 = 2; + for (; B01 !== 4; ) { + switch (B01) { + case 2: + D || f.fa(E) || (D = q.default.time.ba() - G, f.fa(E.yd) && (E.yd = {}), f.fa(E.yd.Ar) && (E.yd.Ar = 0), E.yd.Ar += D); + --E.fS; + B.$Z(A); + B01 = 4; + break; + } + } + }); + A01 = 8; break; - case 12: - C = I.Cn; - O01 = 11; + case 9: + (--E.fS, B.$Z(A)); + A01 = 8; break; - case 30: - O01 = !f.ga(J) && !M.na ? 29 : 42; + case 4: + G = q.default.time.now(); + A01 = 3; break; - case 20: - O01 = -1 === H || void 0 === H ? 19 : 18; + } + } + }; + z.prototype.AIa = function () { + var C01; + C01 = 2; + for (; C01 !== 1; ) { + switch (C01) { + case 2: + 0 === this.Ku.length && (this.Ku = [g.gq.instance.oB(0, void 0, !1, !1, this.ul, this.un), g.gq.instance.oB(1, void 0, !1, !1, this.ul, this.un)], this.Ku.forEach(function (A) { + var D01; + D01 = 2; + for (; D01 !== 1; ) { + switch (D01) { + case 2: + return A.mb(); + break; + } + } + }), t.Pf()); + C01 = 1; break; } } }; - B.prototype.Keb = function (A) { + d01 = 17; + break; + case 23: + z.prototype.Leb = function (A) { var P01; P01 = 2; for (; P01 !== 1; ) { switch (P01) { + case 4: + this.eIa(A, A.Sl); + P01 = 2; + break; + P01 = 1; + break; case 2: - this.gIa(A, A.Tl); + this.eIa(A, A.Sl); P01 = 1; break; } } }; - B.prototype.Jeb = function (A, C) { + z.prototype.Keb = function (A, B) { var Q01; Q01 = 2; for (; Q01 !== 1; ) { switch (Q01) { case 2: - this.gIa(A, C); + this.eIa(A, B); Q01 = 1; break; } } }; - B.prototype.gIa = function (A, C) { + z.prototype.eIa = function (A, B) { var R01, - E; + C; R01 = 2; for (; R01 !== 4; ) { switch (R01) { case 1: - R01 = (C = this.If[A.K] || C) ? 5 : 4; + R01 = (B = this.Jf[A.K] || B) ? 5 : 4; break; case 2: - E = A.La; + C = A.Ma; R01 = 1; break; case 5: - (C.Nkb || C.sh && !this.cE || (C.Nkb = !0, ++this.WD), C.headers || (C.headers = {}), C.headers[E] = A, this.vn.$ha && (C.pL || (C.pL = 0), ++C.pL), this.dca()); + (B.Okb || B.rh && !this.fE || (B.Okb = !0, ++this.ZD), B.headers || (B.headers = {}), B.headers[C] = A, this.un.Gvb && (B.sL || (B.sL = 0), ++B.sL), this.Yba()); R01 = 4; break; } } }; - B.prototype.dca = function () { - var S01, + d01 = 35; + break; + case 44: + z.prototype.fIa = function (A, B) { + var e11, C, E, - F; - function A(G) { - var T01; - T01 = 2; - for (; T01 !== 5; ) { - switch (T01) { - case 2: - G.abort(); - E += G.bytesReceived; - T01 = 5; - break; - } - } - } - S01 = 2; - for (; S01 !== 12; ) { - switch (S01) { + G, + D; + e11 = 2; + for (; e11 !== 7; ) { + switch (e11) { + case 1: + e11 = B ? 5 : 7; + break; case 2: - E = 0; - S01 = 1; + C = this; + e11 = 1; break; case 5: - S01 = this.WD > this.IJa ? 4 : 13; + (E = this.Jf[A], G = B.headers); + E && G && Object.keys(G).forEach(function (F) { + var f11; + f11 = 2; + for (; f11 !== 1; ) { + switch (f11) { + case 2: + C.Keb(G[F], E); + f11 = 1; + break; + } + } + }); + e11 = 3; break; - case 4: - S01 = (C = this.yn.shift()) ? 3 : 5; + case 9: + D = B.data; + Object.keys(D).forEach(function (F) { + var g11, + J, + K; + g11 = 2; + for (; g11 !== 9; ) { + switch (g11) { + case 2: + J = D[F]; + f.fa(E.data) && (E.data = {}); + f.fa(E.data[F]) && (E.data[F] = []); + g11 = 4; + break; + case 4: + K = E.data; + J.forEach(function (H) { + var h11; + h11 = 2; + for (; h11 !== 1; ) { + switch (h11) { + case 2: + K[F].push(H); + h11 = 1; + break; + } + } + }); + g11 = 9; + break; + } + } + }); + e11 = 7; break; - case 1: - S01 = !(this.WD <= this.IJa) ? 5 : 12; + case 3: + e11 = B.data ? 9 : 7; break; - case 7: - delete this.If[F]; - --this.WD; - S01 = 14; + } + } + }; + z.prototype.E0a = function (A, B) { + var i11; + i11 = 2; + for (; i11 !== 1; ) { + switch (i11) { + case 4: + return B.priority / A.priority; break; - case 9: - S01 = C.data ? 8 : 7; + i11 = 1; break; - case 8: - for (var D in C.data) { - C.data[D].forEach(A); - delete C.data[D]; + case 2: + return B.priority - A.priority; + break; + } + } + }; + z.prototype.H0a = function (A) { + var j11, + E, + B, + C; + j11 = 2; + for (; j11 !== 11; ) { + switch (j11) { + case 5: + for (C in A.data) { + E = A.data[C]; + 0 < E.length && (B[E[0].mediaType] = { + Ma: C, + header: A.headers[C], + data: E + }); } - S01 = 7; + B.Bn = A.Bn; + B.sL = A.sL; + B.yd = A.yd; + B.jv = A.jv; + B.Ay = A.Ay; + B.OB = A.OB; + j11 = 14; break; - case 14: - this.Oib(F); - S01 = 5; + case 2: + B = {}; + j11 = 1; break; - case 3: - F = C.K; - S01 = 9; + case 1: + j11 = A && A.data ? 5 : 11; break; - case 13: - this.Pib(E); - S01 = 12; + case 14: + B.Qn = A.Qn; + B.Rn = A.Rn; + return B; break; } } }; - B.prototype.Pib = function (A) { - var U01; - U01 = 2; - for (; U01 !== 1; ) { - switch (U01) { + z.prototype.Nc = function (A) { + var k11; + k11 = 2; + for (; k11 !== 1; ) { + switch (k11) { case 2: - var t0u = "discarded"; - t0u += "By"; - t0u += "tes"; - 0 !== A && (A = { - type: t0u, - bytes: A - }, this.emit(A.type, A)); - U01 = 1; + return !!A.Nc; + break; + case 4: + return - -A.Nc; + break; + k11 = 1; break; } } }; - B.prototype.Rib = function (A) { + return z; + break; + case 33: + z.prototype.Sib = function (A) { var V01; V01 = 2; for (; V01 !== 1; ) { switch (V01) { case 2: - var p0u = "flus"; - p0u += "he"; - p0u += "dB"; - p0u += "ytes"; + var W4N = "fl"; + W4N += "u"; + W4N += "she"; + W4N += "dBytes"; 0 !== A && (A = { - type: p0u, + type: W4N, bytes: A }, this.emit(A.type, A)); V01 = 1; @@ -99212,940 +99670,1225 @@ a000.D9b = function () { } } }; - d01 = 32; - break; - case 14: - B.prototype.jHb = function (A) { - var q01; - q01 = 2; - for (; q01 !== 1; ) { - switch (q01) { + z.prototype.Pib = function (A) { + var W01; + W01 = 2; + for (; W01 !== 5; ) { + switch (W01) { case 2: - return this.H0a(this.If[A]); + var m4N = "c"; + m4N += "a"; + m4N += "cheE"; + m4N += "vict"; + A = { + type: m4N, + movieId: A + }; + this.emit(A.type, A); + W01 = 5; break; } } }; - B.prototype.VRa = function () { - var r01, - E, - F, - D; - r01 = 2; - for (; r01 !== 4; ) { - switch (r01) { + z.prototype.Wib = function (A, B) { + var X01, + C; + X01 = 2; + for (; X01 !== 3; ) { + switch (X01) { case 2: - E = 0; - for (F in this.If) { - D = this.If[F]; - if (D.data) { - for (var G in D.data) { - var S0u = "in"; - S0u += " e"; - S0u += "n"; - S0u += "tr"; - S0u += "y:"; - var k0u = "missing hea"; - k0u += "derEn"; - k0u += "try "; - k0u += "for stream"; - k0u += "Id:"; - D.headers[G] || x(k0u, G, S0u, D); - C(D, G); - D.data[G].forEach(A); - delete D.data[G]; - } - delete D.data; - } - } - this.Rib(E); - r01 = 4; + C = A.Bd; + f.fa(A.kQb) || this.wda(A, A.kQb); + !this.oj || !A.rh || this.fE || f.fa(A.BU) || A.BU[A.Ma] && A.BU[A.Ma].header ? B() : this.oj.YQb(A, B); + C.Pta || 0 !== Object.keys(this.A_).length || this.FIa(); + X01 = 3; break; } } - function C(I, J) { - var t01; - t01 = 2; - for (; t01 !== 1; ) { - switch (t01) { - case 2: - I && I.data && I.data[J].forEach(function (H) { - var u01; - u01 = 2; - for (; u01 !== 5; ) { - switch (u01) { - case 2: - H.abort(); - E += H.bytesReceived; - u01 = 5; - break; - } - } - }); - t01 = 1; - break; - } - } - } - function A(I) { - var s01; - s01 = 2; - for (; s01 !== 1; ) { - switch (s01) { - case 4: - I.dOa(); - s01 = 7; - break; - s01 = 1; - break; - case 2: - I.dOa(); - s01 = 1; - break; - } - } - } }; - B.prototype.Wy = function (A) { - var v01, - C; - v01 = 2; - for (; v01 !== 5; ) { - switch (v01) { - case 1: - C && (this.Lc(A) ? f.ga(C.yd.SCb) && !f.ga(A.loadTime) && (C.yd.SCb = A.loadTime) : f.ga(C.yd.B6) && !f.ga(A.loadTime) && (C.yd.B6 = A.loadTime)); - v01 = 5; - break; + z.prototype.gjb = function (A, B) { + var Y01; + Y01 = 2; + for (; Y01 !== 4; ) { + switch (Y01) { case 2: - C = this.If[A.K]; - v01 = 1; + var C4N = "prebuffs"; + C4N += "t"; + C4N += "ats"; + A.yd.oNb = B; + A = { + type: C4N, + movieId: A.K, + stats: { + prebuffstarted: A.yd.s0a, + prebuffcomplete: A.yd.oNb + } + }; + this.emit(A.type, A); + Y01 = 4; break; } } }; - B.prototype.wk = function (A) { - var w01; - w01 = 2; - for (; w01 !== 1; ) { - switch (w01) { + z.prototype.Wgb = function (A, B) { + var Z01, + C; + Z01 = 2; + for (; Z01 !== 5; ) { + switch (Z01) { case 2: - this.Lc(A) ? this.mLb(A) : this.nLb(A); - w01 = 1; + var s4N = "Media "; + s4N += "cache is not"; + s4N += " enabled"; + C = this; + return this.oj ? this.oj.OGb(A, B).then(function (E) { + var a11; + a11 = 2; + for (; a11 !== 5; ) { + switch (a11) { + case 2: + a11 = E && E.Sl ? 1 : 5; + break; + case 1: + return (C.Jf[A] = E.Sl, ++C.ZD, C.Yba(), C.xn.push(E.Sl), C.xn.sort(C.E0a), C.fIa(A, E), C.cache[A]); + break; + } + } + }) : Promise.reject(s4N); break; } } }; - d01 = 10; - break; - case 10: - B.prototype.jV = function (A) { - var x01; - x01 = 2; - for (; x01 !== 5; ) { - switch (x01) { + z.prototype.Vgb = function (A, B) { + var b11, + E, + G, + C; + b11 = 2; + for (; b11 !== 8; ) { + switch (b11) { + case 3: + return E.then(function (D) { + var c11; + c11 = 2; + for (; c11 !== 1; ) { + switch (c11) { + case 2: + return !f.fa(D) && C.oj ? C.oj.NGb(A, B, D).then(function (F) { + var d11; + d11 = 2; + for (; d11 !== 5; ) { + switch (d11) { + case 2: + F && (G || (C.Jf[A] = D, ++C.ZD, C.Yba(), C.xn.push(D), C.xn.sort(C.E0a)), C.fIa(A, F)); + d11 = 1; + break; + case 1: + return C.Jf[A]; + break; + } + } + }) : Promise.resolve(void 0); + break; + } + } + }); + break; + case 5: + (E = void 0, G = !1); + this.oj.oWa(this.Jf[A]) ? (E = Promise.resolve(this.Jf[A]), G = !0) : E = this.oj.RGb(A); + b11 = 3; + break; case 2: - var z0u = "_"; - z0u += "on"; - z0u += "Err"; - z0u += "or"; - z0u += ": "; - v(z0u, A.toString()); - this.YZ(A); - x01 = 5; + C = this; + b11 = 1; + break; + case 1: + b11 = this.oj ? 5 : 9; + break; + case 9: + var u4N = "Media cac"; + u4N += "he is not enab"; + u4N += "led"; + return Promise.reject(u4N); break; } } }; - B.prototype.mLb = function (A) { - var y01, - C; - y01 = 2; - for (; y01 !== 9; ) { - switch (y01) { - case 2: - C = this; - A.cVb = A.Ye; - this.Keb(A); - f.ga(A.QCb) || A.QCb(A.cVb); - y01 = 3; + d01 = 44; + break; + } + } + function z(A, B, C, E) { + var e01; + e01 = 2; + for (; e01 !== 25; ) { + switch (e01) { + case 19: + A.Sda = (A.un.Rta || A.un.Sta) && 0 < (A.un.rS || (q.default.options || ({})).YL || 0); + A.fE = A.un.Dna; + A.oj = void 0; + A.Sda && (A.un.rS || (B = (q.default.options || ({})).YL || 0, A.un.set ? A.un.set({ + rS: B + }) : A.un.rS = (q.default.options || ({})).YL || 0), A.oj = new m.LBa(A.un, q.default, A), A.oj.mb(A, E).then(function () { + var f01; + f01 = 2; + for (; f01 !== 1; ) { + switch (f01) { + case 2: + var Z4N = "M"; + Z4N += "ed"; + Z4N += "ia cache "; + Z4N += "initial"; + Z4N += "ized"; + u(Z4N); + f01 = 1; + break; + case 4: + u(""); + f01 = 2; + break; + f01 = 1; + break; + } + } + }).catch(function (G) { + var g01; + g01 = 2; + for (; g01 !== 1; ) { + switch (g01) { + case 4: + v("", G); + g01 = 4; + break; + g01 = 1; + break; + case 2: + var B4N = "M"; + B4N += "edia"; + B4N += " cache did n"; + B4N += "ot initialize"; + v(B4N, G); + g01 = 1; + break; + } + } + })); + e01 = 15; + break; + case 12: + A.Ku = []; + A.k_ = !1; + A.cJ = []; + A.wE = {}; + e01 = 19; + break; + case 15: + var A4N = "1SI"; + A4N += "YbZ"; + A4N += "rNJCp9"; + A.ul = C; + A4N; + return A; + break; + case 9: + A.A_ = Object.create(null); + A.un = B; + A.Jf = Object.create(null); + e01 = 6; + break; + case 2: + A = y.call(this) || this; + A.rm = u; + A.ak = v; + A.Gb = w; + A.b3b = x; + e01 = 9; + break; + case 6: + A.ZD = 0; + A.xn = []; + A.GJa = B.P1; + e01 = 12; + break; + } + } + } + })(d.pw); + b.iza = a; + n.default(r.EventEmitter.prototype, a.prototype); + }, function (r, b, a) { + var c, + f, + k, + l, + d, + g, + h, + m; + Object.defineProperties(b, { + __esModule: { + value: !0 + } + }); + b.LBa = void 0; + c = a(2); + f = a(16); + k = c.__importStar(a(915)); + l = c.__importStar(a(10)); + a(6); + d = a(246); + g = a(9); + r = a(43); + h = c.__importStar(a(926)); + m = h.bBa; + a = (function () { + var l11; + l11 = 2; + function n(q, p, t) { + var m11; + m11 = 2; + for (; m11 !== 12; ) { + switch (m11) { + case 2: + var H4N = "media"; + H4N += "|ase"; + H4N += "js"; + var q4N = "M"; + q4N += "E"; + q4N += "DI"; + q4N += "AC"; + q4N += "ACHE"; + this.H = new p.Console(q4N, H4N); + this.Sda = (q.Rta || q.Sta) && 0 < (q.rS || (p.options || ({})).YL || 0); + this.Wfb = q.tvb ? q.tvb : !1; + m11 = 4; + break; + case 8: + this.wn = p; + this.Ie = t; + m11 = 6; + break; + case 6: + var F4N = "1SIY"; + F4N += "bZrN"; + F4N += "JCp"; + F4N += "9"; + var t4N = "Media"; + t4N += " cache has not been "; + t4N += "initiaized"; + this.Xr = Promise.reject(t4N); + this.Xr.catch(function () {}); + F4N; + m11 = 12; + break; + case 4: + this.fE = q.Dna ? q.Dna : !1; + this.ehb = q.zYa ? q.zYa : !1; + this.I = q; + m11 = 8; + break; + } + } + } + for (; l11 !== 18; ) { + switch (l11) { + case 9: + n.prototype.XQb = function (q, p, t) { + var K11, + u, + w, + v, + x, + y; + K11 = 2; + for (; K11 !== 14; ) { + switch (K11) { + case 1: + K11 = w instanceof ArrayBuffer ? 5 : 6; break; - case 3: - this.Vib(A, function () { - var z01; - z01 = 2; - for (; z01 !== 1; ) { - switch (z01) { + case 8: + l.fa(w) || (y[x + "." + m.zbb] = { + Sp: w, + xd: m.sD + }); + this.tn.s2a(m.jq, y, function (z) { + var L11; + L11 = 2; + for (; L11 !== 5; ) { + switch (L11) { case 2: - f.ga(A) || (f.ga(A.Tl) || A.Tl.kVa--, C.YZ(A)); - z01 = 1; + var b4N = "Failed "; + b4N += "to save f"; + b4N += "ragme"; + b4N += "nt"; + z ? u.H.warn(b4N, z) : (z = u.wn.time.ba() - v, l.fa(p.yd.Ar) && (p.yd.Ar = 0), p.yd.Ar += z); + t(); + L11 = 5; break; } } }); - y01 = 9; + K11 = 14; + break; + case 2: + (u = this, w = q.response); + K11 = 1; + break; + case 6: + var y4N = "Unable to save "; + y4N += "frag"; + y4N += "ment because response is not an Array"; + y4N += "Buffer"; + t(Error(y4N)); + K11 = 14; + break; + case 5: + (v = this.wn.time.ba(), x = [q.K, q.Ma, q.Lc].join(".")); + q = h.Qja(q); + y = {}; + y[x + "." + m.R$] = { + Sp: q, + xd: m.sD + }; + K11 = 8; break; } } }; - B.prototype.nLb = function (A) { - var A01, + n.prototype.ZQb = function (q) { + var M11, + z, + p, + t, + u, + w, + v, + x, + y, + A, + B, + O11, + G, D, C, E, - F; - A01 = 2; - for (; A01 !== 8; ) { - switch (A01) { - case 1: - A01 = F ? 5 : 8; - break; + P11, + F, + J, + K, + H, + Q11, + R11, + S11, + T11, + U11, + V11; + M11 = 2; + for (; M11 !== 20; ) { + switch (M11) { case 4: - D = r.default.time.now(); - this.rj.SQb(A, F, function (G) { - var B01; - B01 = 2; - for (; B01 !== 4; ) { - switch (B01) { + z = {}; + Object.keys(q.headers).forEach(function (Q) { + var N11, + I; + N11 = 2; + for (; N11 !== 5; ) { + switch (N11) { case 2: - G || f.ga(F) || (G = r.default.time.aa() - D, f.ga(F.yd) && (F.yd = {}), f.ga(F.yd.xr) && (F.yd.xr = 0), F.yd.xr += G); - --F.gS; - C.YZ(A); - B01 = 4; + I = h.nTa(q.headers[Q]); + z[Q] = I; + N11 = 5; break; } } }); - A01 = 8; + M11 = 9; break; case 5: - var C0u = "m"; - C0u += "anag"; - C0u += "erd"; - C0u += "ebugevent"; - var H0u = ","; - H0u += " r"; - H0u += "em"; - H0u += "ai"; - H0u += "ning: "; - var f0u = ","; - f0u += " "; - f0u += "pt"; - f0u += "s"; - f0u += ": "; - var R0u = ", "; - R0u += "st"; - R0u += "re"; - R0u += "amId"; - R0u += ": "; - var v0u = ", heade"; - v0u += "rCa"; - v0u += "che dataComplete: movieId"; - v0u += ": "; - A01 = (this.vn.Gh && (E = "@" + r.default.time.aa() + v0u + E + R0u + A.La + f0u + A.Z + H0u + (F.gS - 1), this.emit(C0u, { - message: E - })), A.sh && 0 === A.responseType && this.rj && !this.cE) ? 4 : 9; - break; - case 2: - (C = this, E = A.K, F = this.If[E] || A.Tl); - A01 = 1; + M11 = q.headers ? 4 : 8; break; - case 9: - (--F.gS, C.YZ(A)); - A01 = 8; + case 8: + M11 = q && q.data ? 7 : 12; break; - } - } - }; - B.prototype.CIa = function () { - var C01; - C01 = 2; - for (; C01 !== 1; ) { - switch (C01) { case 2: - 0 === this.Fu.length && (this.Fu = [g.cq.instance.nB(0, void 0, !1, !1, this.vl, this.vn), g.cq.instance.nB(1, void 0, !1, !1, this.vl, this.vn)], this.Fu.forEach(function (A) { - var D01; - D01 = 2; - for (; D01 !== 1; ) { - switch (D01) { - case 2: - return A.mb(); - break; + (w = this, v = this.wn.time.ba(), x = {}, y = h.MTa(q)); + x.movieEntry = y; + M11 = 5; + break; + case 7: + y = {}; + (A = q.data, B = Object.keys(q.data)); + try { + O11 = 2; + for (; O11 !== 6; ) { + switch (O11) { + case 1: + O11 = !E.done ? 5 : 6; + break; + case 5: + (G = E.value, D = A[G]); + B = {}; + O11 = 3; + break; + case 2: + (C = c.__values(B), E = C.next()); + O11 = 1; + break; + case 7: + E = C.next(); + O11 = 1; + break; + case 9: + try { + P11 = 2; + for (; P11 !== 7; ) { + switch (P11) { + case 2: + (F = (t = void 0, c.__values(D)), J = F.next()); + P11 = 1; + break; + case 1: + P11 = !J.done ? 5 : 7; + break; + case 5: + K = J.value; + P11 = 4; + break; + case 4: + P11 = K instanceof d.LX && K.response instanceof ArrayBuffer && !l.fa(K.Lc) ? 3 : 8; + break; + case 9: + B[K.Lc] = { + mediaType: H.mediaType, + streamId: H.streamId, + movieId: H.movieId, + bitrate: H.bitrate, + location: H.location, + serverId: H.serverId, + saveToDisk: H.saveToDisk, + offset: H.offset, + bytes: H.bytes, + timescale: H.timescale, + startTicks: H.startTicks, + durationTicks: H.durationTicks, + response: K.response + }; + P11 = 8; + break; + case 8: + J = F.next(); + P11 = 1; + break; + case 3: + H = h.Qja(K); + P11 = 9; + break; + } + } + } catch (Q) { + t = { + error: Q + }; + } + finally { + Q11 = 2; + for (; Q11 !== 1; ) { + switch (Q11) { + case 2: + try { + R11 = 2; + for (; R11 !== 1; ) { + switch (R11) { + case 2: + J && !J.done && (u = F.return) && u.call(F); + R11 = 1; + break; + } + } + } + finally { + S11 = 2; + for (; S11 !== 5; ) { + switch (S11) { + case 9: + throw t.error; + S11 = 6; + break; + S11 = 5; + break; + case 1: + throw t.error; + S11 = 5; + break; + case 2: + S11 = t ? 1 : 5; + break; + } + } + } + Q11 = 1; + break; + } + } } + O11 = 8; + break; + case 3: + O11 = D ? 9 : 7; + break; + case 8: + y[G] = B; + O11 = 7; + break; } - }), t.Of()); - C01 = 1; - break; - } - } - }; - d01 = 17; - break; - case 32: - B.prototype.Oib = function (A) { - var W01; - W01 = 2; - for (; W01 !== 5; ) { - switch (W01) { - case 1: - this.emit(A.type, A); - W01 = 5; + } + } catch (Q) { + var L; + L = { + error: Q + }; + } + finally { + T11 = 2; + for (; T11 !== 1; ) { + switch (T11) { + case 2: + try { + U11 = 2; + for (; U11 !== 1; ) { + switch (U11) { + case 2: + E && !E.done && (p = C.return) && p.call(C); + U11 = 1; + break; + } + } + } + finally { + V11 = 2; + for (; V11 !== 5; ) { + switch (V11) { + case 3: + V11 = L ? 4 : 2; + break; + V11 = L ? 1 : 5; + break; + case 1: + throw L.error; + V11 = 5; + break; + case 9: + throw L.error; + V11 = 7; + break; + V11 = 5; + break; + case 2: + V11 = L ? 1 : 5; + break; + } + } + } + T11 = 1; + break; + } + } + } + M11 = 13; break; - case 2: - var Z0u = "c"; - Z0u += "acheEvi"; - Z0u += "c"; - Z0u += "t"; - A = { - type: Z0u, - movieId: A - }; - W01 = 1; + case 9: + x.headers = z; + M11 = 8; break; - case 3: - A = { - type: "", - movieId: A + case 12: + L = { + lifespan: 259200 }; - W01 = 4; - break; - W01 = 1; - break; - case 9: - this.emit(A.type, A); - W01 = 6; + this.ehb && (L.convertToBinaryData = !0); + this.tn.save(m.jq, q.K, x, L, function (Q) { + var W11; + W11 = 2; + for (; W11 !== 1; ) { + switch (W11) { + case 2: + var k4N = "saveto"; + k4N += "d"; + k4N += "is"; + k4N += "k"; + Q || w.lN(k4N, { + t2a: w.wn.time.ba() - v + }); + W11 = 1; + break; + } + } + }); + M11 = 20; break; - W01 = 5; + case 13: + x.data = y; + M11 = 12; break; } } }; - B.prototype.Vib = function (A, C) { - var X01, - E; - X01 = 2; - for (; X01 !== 3; ) { - switch (X01) { - case 8: - E = A.sd; - X01 = 9; - break; - X01 = 1; - break; + n.prototype.oWa = function (q) { + var X11; + X11 = 2; + for (; X11 !== 1; ) { + switch (X11) { case 2: - E = A.sd; - X01 = 1; - break; - case 1: - f.ga(A.fQb) || this.Cda(A, A.fQb); - !this.rj || !A.sh || this.cE || f.ga(A.CU) || A.CU[A.La] && A.CU[A.La].header ? C() : this.rj.TQb(A, C); - E.D8 || 0 !== Object.keys(this.x_).length || this.HIa(); - X01 = 3; + return !(l.fa(q) || l.tb(q) || l.fa(q.yd) || l.tb(q.yd) || l.fa(q.K) || l.tb(q.K) || l.fa(q.priority) || l.tb(q.priority)); break; } } }; - B.prototype.fjb = function (A, C) { - var Y01; - Y01 = 2; - for (; Y01 !== 4; ) { - switch (Y01) { + n.prototype.lN = function (q, p) { + var Y11, + t; + Y11 = 2; + for (; Y11 !== 9; ) { + switch (Y11) { case 2: - var X0u = "pr"; - X0u += "ebuffst"; - X0u += "ats"; - A.yd.Opa = C; - A = { - type: X0u, - movieId: A.K, - stats: { - prebuffstarted: A.yd.B6, - prebuffcomplete: A.yd.Opa - } + var f4N = "media"; + f4N += "c"; + f4N += "achelookup"; + var h4N = "sav"; + h4N += "etod"; + h4N += "isk"; + var e4N = "media"; + e4N += "c"; + e4N += "ac"; + e4N += "hestats"; + t = { + type: e4N, + operation: q }; - this.emit(A.type, A); - Y01 = 4; + h4N === q && (t.saveTime = p.t2a); + f4N === q && (t.lookupTime = p.W4, t.dataFound = p.H1); + Y11 = 4; break; - } - } - }; - B.prototype.Vgb = function (A, C) { - var Z01, - E; - Z01 = 2; - for (; Z01 !== 5; ) { - switch (Z01) { - case 2: - var a0u = "Me"; - a0u += "dia"; - a0u += " "; - a0u += "cache is not "; - a0u += "enabled"; - E = this; - return this.rj ? this.rj.MGb(A, C).then(function (F) { - var a11; - a11 = 2; - for (; a11 !== 5; ) { - switch (a11) { - case 1: - return (E.If[A] = F.Tl, ++E.WD, E.dca(), E.yn.push(F.Tl), E.yn.sort(E.E0a), E.hIa(A, F), E.cache[A]); - break; - case 3: - a11 = F || F.Tl ? 8 : 3; - break; - a11 = F && F.Tl ? 1 : 5; - break; - case 2: - a11 = F && F.Tl ? 1 : 5; - break; - } - } - }) : p.reject(a0u); + case 4: + var E4N = "medi"; + E4N += "a"; + E4N += "cac"; + E4N += "h"; + E4N += "e"; + t.oneObject = this.fE; + this.Wfb && this.emit(E4N, t); + Y11 = 9; break; } } }; - d01 = 28; + l11 = 14; break; - case 28: - B.prototype.Ugb = function (A, C) { - var b11, - F, - D, - E; - b11 = 2; - for (; b11 !== 8; ) { - switch (b11) { - case 5: - (F = void 0, D = !1); - this.rj.qWa(this.If[A]) ? (F = p.resolve(this.If[A]), D = !0) : F = this.rj.PGb(A); - b11 = 3; - break; - case 1: - b11 = this.rj ? 5 : 9; - break; + case 2: + n.prototype.mb = function (q, p) { + var n11, + t; + n11 = 2; + for (; n11 !== 4; ) { + switch (n11) { case 2: - E = this; - b11 = 1; - break; - case 3: - return F.then(function (G) { - var c11; - c11 = 2; - for (; c11 !== 1; ) { - switch (c11) { + var n4N = "Med"; + n4N += "ia "; + n4N += "cache is "; + n4N += "disable"; + n4N += "d"; + t = this; + this.Sda ? this.Xr = new Promise(function (u, w) { + var o11; + o11 = 2; + for (; o11 !== 1; ) { + switch (o11) { case 2: - return !f.ga(G) && E.rj ? E.rj.LGb(A, C, G).then(function (I) { - var d11; - d11 = 2; - for (; d11 !== 5; ) { - switch (d11) { + (void 0 !== p && null !== p ? p.wL : function (v) { + var p11; + p11 = 2; + for (; p11 !== 1; ) { + switch (p11) { + case 2: + return k.wL(t.wn, t.I, v); + break; + } + } + })(function (v) { + var q11, + x; + q11 = 2; + for (; q11 !== 4; ) { + switch (q11) { case 2: - I && (D || (E.If[A] = G, ++E.WD, E.dca(), E.yn.push(G), E.yn.sort(E.E0a)), E.hIa(A, I)); - return E.If[A]; + var x4N = "Media cach"; + x4N += "e did"; + x4N += " not in"; + x4N += "itialize"; + t.tn = v; + x = v.Im; + (v = v.RF) ? w(v) : x ? (t.JSb(q), u()) : w(Error(x4N)); + q11 = 4; break; } } - }) : p.resolve(void 0); + }); + o11 = 1; break; } } - }); - break; - case 9: - var w0u = "Media c"; - w0u += "ache"; - w0u += " is "; - w0u += "not enabl"; - w0u += "ed"; - return p.reject(w0u); + }) : (this.Xr = Promise.reject(n4N), this.Xr.catch(function () {})); + return this.Xr; break; } } }; - B.prototype.hIa = function (A, C) { - var e11, - F, - D, - E, - G; - e11 = 2; - for (; e11 !== 7; ) { - switch (e11) { - case 5: - (F = this.If[A], D = C.headers); - F && D && Object.keys(D).forEach(function (I) { - var f11; - f11 = 2; - for (; f11 !== 1; ) { - switch (f11) { - case 2: - E.Jeb(D[I], F); - f11 = 1; - break; - } - } - }); - e11 = 3; - break; + n.prototype.RGb = function (q) { + var r11, + p, + t, + u; + r11 = 2; + for (; r11 !== 5; ) { + switch (r11) { case 2: - E = this; - e11 = 1; - break; - case 1: - e11 = C ? 5 : 7; - break; - case 9: - G = C.data; - Object.keys(G).forEach(function (I) { - var g11, - H, - J; - g11 = 2; - for (; g11 !== 9; ) { - switch (g11) { - case 5: - f.ga(F.data[I]) && (F.data[I] = []); - H = F.data; - J.forEach(function (M) { - var h11; - h11 = 2; - for (; h11 !== 1; ) { - switch (h11) { + (p = this, t = [m.gBa, q].join("."), u = this.wn.time.ba()); + return this.Xr.then(function () { + var s11; + s11 = 2; + for (; s11 !== 1; ) { + switch (s11) { + case 2: + return new Promise(function (w) { + var t11; + t11 = 2; + for (; t11 !== 1; ) { + switch (t11) { case 2: - H[I].push(M); - h11 = 1; + p.tn.HV(m.jq, t, function (v) { + var u11, + x; + u11 = 2; + for (; u11 !== 3; ) { + switch (u11) { + case 4: + p.tn.read(m.jq, x, function (y, z) { + var v11, + w11, + A, + B; + v11 = 2; + for (; v11 !== 14; ) { + switch (v11) { + case 1: + v11 = !l.fa(z) ? 5 : 9; + break; + case 3: + A = { + priority: z.priority, + movieId: z.movieId, + saveToDisk: z.saveToDisk, + firstSelectedStreamBitrate: z.firstSelectedStreamBitrate, + initSelectionReason: z.initSelectionReason, + histDiscountedThroughputValue: z.histDiscountedThroughput, + histTdigest: z.histTdigest, + histAge: z.histAge, + headerCount: z.headerCount, + dataRequestCount: z.dataRequestCount, + headerRequestCount: z.headerRequestCount, + stats: z.stats + }; + v11 = 9; + break; + case 4: + try { + w11 = 2; + for (; w11 !== 1; ) { + switch (w11) { + case 2: + A = JSON.parse(String.fromCharCode.apply(null, new Uint8Array(z))); + w11 = 1; + break; + } + } + } catch (C) {} + v11 = 9; + break; + case 2: + var N4N = " "; + N4N += "fai"; + N4N += "l"; + N4N += "ed"; + var p4N = "Re"; + p4N += "ading movie en"; + p4N += "try"; + p4N += " "; + y && p.H.warn(p4N + x + N4N, y); + v11 = 1; + break; + case 9: + l.fa(A) || (B = h.Tja(A)); + l.fa(B) || l.tb(B) || (B.yd = B.yd || ({}), B.headers = B.headers || ({})); + p.oWa(B) ? w(B) : (p.djb(q), w()); + v11 = 14; + break; + case 5: + v11 = z instanceof ArrayBuffer ? 4 : 3; + break; + } + } + }); + u11 = 3; + break; + case 5: + x = v[0]; + u11 = 4; + break; + case 1: + var I4N = "medi"; + I4N += "a"; + I4N += "c"; + I4N += "achelookup"; + (w(), p.lN(I4N, { + W4: p.wn.time.ba() - u, + H1: !1 + })); + u11 = 3; + break; + case 2: + u11 = !v || 0 >= v.length ? 1 : 5; + break; + } + } + }); + t11 = 1; break; } } }); - g11 = 9; - break; - case 2: - J = G[I]; - f.ga(F.data) && (F.data = {}); - g11 = 5; break; } } }); - e11 = 7; - break; - case 3: - e11 = C.data ? 9 : 7; break; } } }; - B.prototype.E0a = function (A, C) { - var i11; - i11 = 2; - for (; i11 !== 1; ) { - switch (i11) { + n.prototype.NGb = function (q, p, t) { + var x11, + u, + w; + x11 = 2; + for (; x11 !== 9; ) { + switch (x11) { + case 1: + x11 = !this.Xr ? 5 : 4; + break; case 2: - return C.priority - A.priority; + u = this; + x11 = 1; break; - case 4: - return C.priority / A.priority; + case 7: + u = this; + x11 = 9; break; - i11 = 1; + x11 = 1; break; - } - } - }; - d01 = 42; - break; - case 17: - B.prototype.HIa = function () { - var E01, - A; - E01 = 2; - for (; E01 !== 4; ) { - switch (E01) { - case 2: - A = this.Fu; - this.Fu = []; - A.forEach(function (C) { - var F01; - F01 = 2; - for (; F01 !== 1; ) { - switch (F01) { + case 5: + var V4N = "Media"; + V4N += " cache "; + V4N += "is not enabl"; + V4N += "e"; + V4N += "d"; + return Promise.reject(V4N); + break; + case 4: + w = this.wn.time.ba(); + return this.Xr.then(function () { + var y11; + y11 = 2; + for (; y11 !== 1; ) { + switch (y11) { case 2: - g.cq.instance.oS(C); - F01 = 1; + return new Promise(function (v) { + var z11; + z11 = 2; + for (; z11 !== 1; ) { + switch (z11) { + case 2: + u.tn.HV(m.jq, q, function (x) { + var A11; + A11 = 2; + for (; A11 !== 5; ) { + switch (A11) { + case 2: + x = x.reduce(function (y, z) { + var B11, + A; + B11 = 2; + for (; B11 !== 9; ) { + switch (B11) { + case 1: + var g4N = "drmHea"; + g4N += "der.__emb"; + g4N += "ed__"; + B11 = -1 !== A.indexOf(g4N) ? 5 : 4; + break; + case 2: + A = z.substr(0, z.lastIndexOf(".")); + B11 = 1; + break; + case 5: + return y; + break; + case 6: + var w4N = "drmH"; + w4N += "eader.__embed"; + w4N += "__"; + B11 = ~8 != A.indexOf("") ? 7 : 1; + break; + B11 = -1 !== A.indexOf(w4N) ? 5 : 4; + break; + case 4: + y[A] ? y[A].push(z) : y[A] = [z]; + return y; + break; + } + } + }, {}); + u.zOb(x, p).then(function (y) { + var C11, + z, + A; + C11 = 2; + for (; C11 !== 8; ) { + switch (C11) { + case 2: + C11 = void 0 === t || void 0 === y ? 1 : 5; + break; + case 9: + v(y); + C11 = 8; + break; + case 1: + return v(); + break; + case 5: + var o4N = "mediaca"; + o4N += "chelo"; + o4N += "o"; + o4N += "k"; + o4N += "up"; + var d4N = "No cont"; + d4N += "ent da"; + d4N += "ta found"; + d4N += " for "; + (z = u.wn.time.ba() - w, A = !1); + l.fa(y) || l.fa(y.data) || !l.ih(y.data) ? u.H.trace(d4N + q, t) : A = !0; + u.lN(o4N, { + W4: z, + H1: A + }); + C11 = 9; + break; + } + } + }, function () { + var D11; + D11 = 2; + for (; D11 !== 1; ) { + switch (D11) { + case 2: + v(); + D11 = 1; + break; + } + } + }); + A11 = 5; + break; + } + } + }); + z11 = 1; + break; + } + } + }); break; } } }); - E01 = 4; - break; - } - } - }; - B.prototype.Zgb = function () { - var G01, - A; - G01 = 2; - for (; G01 !== 5; ) { - switch (G01) { - case 2: - A = this; - !this.h_ && 0 < this.aJ.length && (this.aJ.forEach(function (C) { - var H01; - H01 = 2; - for (; H01 !== 1; ) { - switch (H01) { - case 2: - A.Cda(C.RCb, C.od); - H01 = 1; - break; - } - } - }), this.aJ = []); - G01 = 5; - break; - } - } - }; - B.prototype.AIa = function (A, C) { - var I01, - E; - I01 = 2; - for (; I01 !== 8; ) { - switch (I01) { - case 2: - E = A.stream.mediaType; - I01 = 1; - break; - case 1: - 2 > this.Fu.length && this.CIa(); - C = new l.r9(A.stream, C, this.Fu[E], A, this, !0, u); - C.sh = A.sh; - C.mf = this; - return C; - break; - } - } - }; - B.prototype.yfb = function (A, C) { - var J01, - E; - J01 = 2; - for (; J01 !== 8; ) { - switch (J01) { - case 2: - E = A.stream.mediaType; - 2 > this.Fu.length && this.CIa(); - C = k.MX.create(A.stream, C, this.Fu[E].track, A, this, !0, u); - C.sh = A.sh; - J01 = 3; - break; - case 3: - C.mf = this; - return C; break; } } }; - B.prototype.YZ = function (A) { - var K01, - C; - K01 = 2; - for (; K01 !== 9; ) { - switch (K01) { + n.prototype.OGb = function (q, p) { + var E11, + t, + u; + E11 = 2; + for (; E11 !== 5; ) { + switch (E11) { case 2: - var P0u = "sa"; - P0u += "vetod"; - P0u += "i"; - P0u += "sk"; - this.Lc(A) && delete this.x_[A.La]; - this.Lc(A) || delete A.response; - A.Ic(); - C = this.If[A.K] || A.Tl; - C && 0 === C.kVa && 0 === C.gS && (this.fjb(C, A.Ye), C.sh && this.rj && (C.yd.h6b || (this.cE ? this.rj.UQb(C) : this.rj.kN(P0u, { - u2a: C.yd.xr - })))); - K01 = 9; - break; - } - } - }; - B.prototype.ehb = function (A, C, E) { - var L01, - F, - D; - L01 = 2; - for (; L01 !== 8; ) { - switch (L01) { - case 4: - return function (G, I) { - var R6u = a000; - var M01; - M01 = 2; - for (; M01 !== 1; ) { - switch (M01) { - case 2: - R6u.D9b(17); - return R6u.Q9b(I, F); - break; + (t = this, u = this.wn.time.ba()); + return this.Xr.then(function () { + var F11; + F11 = 2; + for (; F11 !== 1; ) { + switch (F11) { case 4: - R6u.u9b(18); - return R6u.Q9b(I, F); + return t.Ogb(q); break; - M01 = 1; + F11 = 1; + break; + case 2: + return t.Ogb(q); break; } } - }; - break; - case 2: - F = A.M1; - C.sh && this.rj && (A.DYa ? F = A.DYa : A.qYa && 0 < A.qYa && (F = 2E3 * A.qYa)); - L01 = 5; - break; - case 3: - D = E && E.length < A.MPa ? E.length : A.MPa; - return function (G) { - var N01; - N01 = 2; - for (; N01 !== 1; ) { - switch (N01) { + }).then(function (w) { + var G11; + G11 = 2; + for (; G11 !== 5; ) { + switch (G11) { case 2: - a000.D9b(17); - return a000.Q9b(G, D); + G11 = w ? 1 : 4; + break; + case 1: + return t.Iib(q.toString(), p, u); + break; + case 4: + var P4N = "m"; + P4N += "ed"; + P4N += "iac"; + P4N += "ach"; + P4N += "elookup"; + t.lN(P4N, { + W4: t.wn.time.ba() - u, + H1: !1 + }); + G11 = 5; + break; + case 9: + G11 = w ? 2 : 1; + break; + G11 = w ? 1 : 4; break; } } - }; - break; - case 5: - L01 = 0 < F ? 4 : 3; - break; - } - } - }; - d01 = 24; - break; - case 42: - B.prototype.H0a = function (A) { - var j11, - F, - C, - E; - j11 = 2; - for (; j11 !== 11; ) { - switch (j11) { - case 6: - C.MB = A.MB; - C.On = A.On; - C.Pn = A.Pn; - return C; - break; - case 5: - for (E in A.data) { - F = A.data[E]; - 0 < F.length && (C[F[0].mediaType] = { - La: E, - header: A.headers[E], - data: F - }); - } - C.Cn = A.Cn; - C.pL = A.pL; - C.yd = A.yd; - j11 = 8; - break; - case 8: - C.dv = A.dv; - C.xy = A.xy; - j11 = 6; - break; - case 1: - j11 = A && A.data ? 5 : 11; - break; - case 2: - C = {}; - j11 = 1; + }); break; } } }; - B.prototype.Lc = function (A) { - var k11; - k11 = 2; - for (; k11 !== 1; ) { - switch (k11) { + n.prototype.YQb = function (q, p) { + var H11, + t, + u, + w, + v, + x, + y; + H11 = 2; + for (; H11 !== 13; ) { + switch (H11) { case 4: - return - +A.Lc; - break; - k11 = 1; + H11 = q.stream.Ae && !l.fa(q.stream.Y) ? 3 : 14; break; - case 2: - return !!A.Lc; - break; - } - } - }; - return B; - break; - } - } - })(d.jw); - b.kza = a; - n.default(q.EventEmitter.prototype, a.prototype); - }, function (q, b, a) { - var c, - f, - k, - l, - d, - g, - h, - m; - Object.defineProperties(b, { - __esModule: { - value: !0 - } - }); - b.NBa = void 0; - c = a(2); - f = a(16); - k = c.__importStar(a(913)); - l = c.__importStar(a(10)); - a(6); - d = a(245); - g = a(9); - q = a(43); - h = c.__importStar(a(924)); - m = h.dBa; - a = (function () { - function n(r, p, u) { - var m11; - m11 = 2; - for (; m11 !== 12; ) { - switch (m11) { - case 2: - var V0u = "me"; - V0u += "d"; - V0u += "ia"; - V0u += "|asej"; - V0u += "s"; - var d0u = "M"; - d0u += "EDIAC"; - d0u += "A"; - d0u += "CH"; - d0u += "E"; - this.H = new p.Console(d0u, V0u); - this.Yda = (r.Vta || r.Wta) && 0 < (r.sS || (p.options || ({})).WL || 0); - this.Vfb = r.pvb ? r.pvb : !1; - this.cE = r.Jna ? r.Jna : !1; - this.dhb = r.CYa ? r.CYa : !1; - this.I = r; - this.xn = p; - m11 = 7; - break; - case 13: - var K0u = "1"; - K0u += "SIYb"; - K0u += "Zr"; - K0u += "N"; - K0u += "JCp9"; - K0u; - m11 = 12; - break; - case 7: - var g0u = "Media cache "; - g0u += "has n"; - g0u += "o"; - g0u += "t been initiaized"; - this.Ge = u; - this.Tr = Promise.reject(g0u); - this.Tr.catch(function () {}); - m11 = 13; - break; - } - } - } - var l11; - l11 = 2; - for (; l11 !== 18; ) { - switch (l11) { - case 7: - n.prototype.qWa = function (r) { - var X11; - X11 = 2; - for (; X11 !== 1; ) { - switch (X11) { - case 2: - return !(l.ga(r) || l.ob(r) || l.ga(r.yd) || l.ob(r.yd) || l.ga(r.K) || l.ob(r.K) || l.ga(r.priority) || l.ob(r.priority)); + case 14: + this.tn.s2a(m.jq, x, function (z) { + var J11; + J11 = 2; + for (; J11 !== 5; ) { + switch (J11) { + case 2: + z || (z = t.wn.time.ba() - w, q.Sl && (l.fa(q.Sl.yd.Ar) && (q.Sl.yd.Ar = 0), q.Sl.yd.Ar += z)); + p(); + J11 = 5; + break; + } + } + }); + H11 = 13; break; - } - } - }; - n.prototype.kN = function (r, p) { - var Y11, - u; - Y11 = 2; - for (; Y11 !== 9; ) { - switch (Y11) { case 2: - var x0u = "m"; - x0u += "ediaca"; - x0u += "ch"; - x0u += "elook"; - x0u += "up"; - var T0u = "sav"; - T0u += "et"; - T0u += "o"; - T0u += "disk"; - var N0u = "mediac"; - N0u += "ach"; - N0u += "es"; - N0u += "tats"; - u = { - type: N0u, - operation: r + (t = this, u = [q.K, q.Ma, m.S$a].join("."), w = this.wn.time.ba(), v = h.pTa(q), x = {}); + x[u + "." + m.R$] = { + Sp: v, + xd: m.sD + }; + x[u + "." + m.sab] = { + Sp: g.lB(q.yg.map(function (z) { + var I11; + I11 = 2; + for (; I11 !== 1; ) { + switch (I11) { + case 2: + return z.data; + break; + } + } + })), + xd: m.sD }; - T0u === r && (u.saveTime = p.u2a); - x0u === r && (u.lookupTime = p.W4, u.dataFound = p.F1); - u.oneObject = this.cE; - Y11 = 3; + H11 = 4; break; case 3: - var B0u = "medi"; - B0u += "aca"; - B0u += "c"; - B0u += "he"; - this.Vfb && this.emit(B0u, u); - Y11 = 9; + v = { + timescale: q.stream.Y.U, + startTicks: q.stream.Y.Ck, + offset: q.stream.Y.Fd(0) + }; + y = q.stream.Y.vN; + x[u + "." + m.xya] = { + Sp: v, + xd: m.sD + }; + x[u + "." + m.K$a] = { + Sp: y.sizes.buffer, + xd: m.sD + }; + H11 = 6; + break; + case 6: + x[u + "." + m.J$a] = { + Sp: y.gd.buffer, + xd: m.sD + }; + H11 = 14; break; } } }; - n.prototype.uOb = function (r, p) { + l11 = 9; + break; + case 14: + n.prototype.zOb = function (q, p) { var Z11, - u, - t; + t, + u; Z11 = 2; for (; Z11 !== 5; ) { switch (Z11) { case 2: - (u = this, t = Object.keys(r).map(function (w) { + (t = this, u = Object.keys(q).map(function (w) { var a21; a21 = 2; for (; a21 !== 1; ) { switch (a21) { case 2: - return u.Drb(r[w]); + return t.Erb(q[w]); break; case 4: - return u.Drb(r[w]); + return t.Erb(q[w]); break; a21 = 1; break; } } })); - return Promise.all(t).then(function (w) { + return Promise.all(u).then(function (w) { var b21; b21 = 2; for (; b21 !== 5; ) { @@ -100157,12 +100900,12 @@ a000.D9b = function () { for (; c21 !== 1; ) { switch (c21) { case 2: - return v.Lc === x.Lc ? 0 : v.Lc ? -1 : 1; + return v.Nc === x.Nc ? 0 : v.Nc ? -1 : 1; break; } } }); - return h.$ja(u.I, u.H, u.Ge, w, p); + return h.Uja(t.I, t.H, t.Ie, w, p); break; } } @@ -100171,11 +100914,11 @@ a000.D9b = function () { } } }; - n.prototype.Drb = function (r) { + n.prototype.Erb = function (q) { var d21, p, - u, t, + u, w; d21 = 2; for (; d21 !== 5; ) { @@ -100189,10 +100932,10 @@ a000.D9b = function () { for (; e21 !== 5; ) { switch (e21) { case 2: - p.un.P6(m.hq, r, function (z, B) { + p.tn.M6(m.jq, q, function (z, A) { var f21, g21, - A; + B; f21 = 2; for (; f21 !== 1; ) { switch (f21) { @@ -100201,85 +100944,43 @@ a000.D9b = function () { g21 = 2; for (; g21 !== 19; ) { switch (g21) { - case 3: - g21 = u instanceof ArrayBuffer ? 9 : 7; - break; - case 13: - var s0u = "Missi"; - s0u += "ng or i"; - s0u += "nvalid header data "; - s0u += "parts for stream "; - return (A = s0u + y.La, x(A)); - break; - case 2: - g21 = z || void 0 === B ? 1 : 5; - break; - case 6: - g21 = y.Lc ? 14 : 11; - break; - case 14: - g21 = h.Zla(y) ? 13 : 12; - break; case 7: - y = h.qja(t, w, u); + y = h.jja(u, w, t); g21 = 6; break; - case 9: - var i0u = "Header fragments wa"; - i0u += "s an "; - i0u += "array buffer, is invalid type "; - A = i0u + y.La; - g21 = 8; - break; - case 1: - return x(z); - break; - case 8: - return x(A); - break; - case 12: - v(y); - g21 = 19; - break; - case 4: - g21 = h.jWa(t) ? 3 : 20; - break; - case 11: - g21 = h.Yla(y) ? 10 : 12; - break; case 5: - Object.keys(B).map(function (C) { + Object.keys(A).map(function (C) { var h21, i21, - F, + G, E; h21 = 2; for (; h21 !== 3; ) { switch (h21) { + case 4: + E === m.xya ? t = A[C] : w[E] = A[C]; + h21 = 3; + break; + case 1: + h21 = E === m.R$ ? 5 : 4; + break; case 5: try { i21 = 2; for (; i21 !== 5; ) { switch (i21) { case 2: - F = new Uint8Array(B[C]); - t = JSON.parse(String.fromCharCode.apply(null, F)); + G = new Uint8Array(A[C]); + u = JSON.parse(String.fromCharCode.apply(null, G)); i21 = 5; break; } } } catch (D) { - t = B[C]; + u = A[C]; } h21 = 3; break; - case 1: - h21 = E === m.Z$ ? 5 : 4; - break; - case 4: - E === m.zya ? u = B[C] : w[E] = B[C]; - h21 = 3; - break; case 2: E = C.substr(C.lastIndexOf(".") + 1); h21 = 1; @@ -100289,18 +100990,61 @@ a000.D9b = function () { }); g21 = 4; break; + case 13: + var Q4N = "Missing or inv"; + Q4N += "alid header da"; + Q4N += "t"; + Q4N += "a parts for st"; + Q4N += "ream "; + return (B = Q4N + y.Ma, x(B)); + break; + case 11: + g21 = h.Sla(y) ? 10 : 12; + break; + case 12: + v(y); + g21 = 19; + break; + case 2: + g21 = z || void 0 === A ? 1 : 5; + break; + case 14: + g21 = h.Tla(y) ? 13 : 12; + break; + case 9: + var l4N = "Header fragments was an array buff"; + l4N += "er, is invalid type"; + l4N += " "; + B = l4N + y.Ma; + g21 = 8; + break; + case 1: + return x(z); + break; + case 8: + return x(B); + break; + case 3: + g21 = t instanceof ArrayBuffer ? 9 : 7; + break; + case 4: + g21 = h.hWa(u) ? 3 : 20; + break; + case 6: + g21 = y.Nc ? 14 : 11; + break; case 20: - y = h.pja(t, { + y = h.ija(u, { response: w.response }); g21 = 6; break; case 10: - var F5u = "Missing "; - F5u += "or invalid"; - F5u += " media data part"; - F5u += "s for stream "; - return (A = F5u + y.La, x(A)); + var S4N = "Miss"; + S4N += "ing or invalid media data p"; + S4N += "arts fo"; + S4N += "r stream "; + return (B = S4N + y.Ma, x(B)); break; } } @@ -100321,14 +101065,14 @@ a000.D9b = function () { } } }; - n.prototype.Hib = function (r, p, u) { + n.prototype.Iib = function (q, p, t) { var j21, - t; + u; j21 = 2; for (; j21 !== 5; ) { switch (j21) { case 2: - t = this; + u = this; return new Promise(function (w, v) { var k21, x; @@ -100336,227 +101080,124 @@ a000.D9b = function () { for (; k21 !== 5; ) { switch (k21) { case 2: - t.un.read(m.hq, r, function (y, z) { + u.tn.read(m.jq, q, function (y, z) { var l21, - m21, - J, - H, - M, - G, - I, - O, - n21, - o21, - p21, - B, - A, - C, - E, - D, q21, - K, - r21, - da, - na, - Q, + O, N, + M, + r21, + P, + R, + ea, + pa, s21, t21, u21, - P, - R, v21, w21, x21, - F; + D, + m21, + K, + H, + Q, + L, + F, + J, + n21, + o21, + p21, + G, + A, + B, + C, + E; l21 = 2; for (; l21 !== 4; ) { switch (l21) { - case 5: - v(y); + case 15: + var J4N = "mediacach"; + J4N += "el"; + J4N += "o"; + J4N += "oku"; + J4N += "p"; + u.lN(J4N, { + W4: u.wn.time.ba() - t, + H1: !0 + }); + w(x); l21 = 4; break; case 9: w(); l21 = 4; break; - case 17: - x = h.$ja(t.I, t.H, t.Ge, z, p); - l21 = 16; - break; - case 13: - l21 = F.headers ? 12 : 10; - break; - case 20: - L = F.data; - B = Object.keys(L); - l21 = 18; + case 7: + l21 = G.movieEntry ? 6 : 15; break; - case 10: - l21 = F.data ? 20 : 17; + case 5: + v(y); + l21 = 4; break; - case 11: + case 18: try { - m21 = 2; - for (; m21 !== 12; ) { - switch (m21) { - case 5: - (J = I.value, H = F.headers[J]); - m21 = 4; - break; - case 3: - var U5u = "Header fragment"; - U5u += "s was an arra"; - U5u += "y buff"; - U5u += "er, is invalid type "; - M = U5u + H.streamId; - m21 = 9; - break; - case 14: - z.push(O); - m21 = 13; - break; - case 13: - I = G.next(); - m21 = 1; - break; + q21 = 2; + for (; q21 !== 8; ) { + switch (q21) { case 1: - m21 = !I.done ? 5 : 12; + q21 = !N.done ? 5 : 8; break; case 2: - (G = c.__values(D), I = G.next()); - m21 = 1; - break; - case 8: - O = h.qja(H, H, H.fragments); - m21 = 7; - break; - case 7: - m21 = h.Zla(O) ? 6 : 14; - break; - case 6: - var y5u = "Missing or inval"; - y5u += "id header d"; - y5u += "ata parts"; - y5u += " for stream "; - return (M = y5u + O.La, v(M)); - break; - case 4: - m21 = H.fragments instanceof ArrayBuffer ? 3 : 8; + (O = c.__values(A), N = O.next()); + q21 = 1; break; case 9: - return v(M); - break; - } - } - } catch (ra) { - var L; - L = { - error: ra - }; - } - finally { - n21 = 2; - for (; n21 !== 1; ) { - switch (n21) { - case 2: - try { - o21 = 2; - for (; o21 !== 1; ) { - switch (o21) { - case 2: - I && !I.done && (B = G.return) && B.call(G); - o21 = 1; - break; - } - } - } - finally { - p21 = 2; - for (; p21 !== 5; ) { - switch (p21) { - case 1: - throw L.error; - p21 = 5; - break; - case 2: - p21 = L ? 1 : 5; - break; - } - } - } - n21 = 1; + N = O.next(); + q21 = 1; break; - } - } - } - l21 = 10; - break; - case 2: - l21 = 1; - break; - case 12: - D = Object.keys(F.headers); - l21 = 11; - break; - case 6: - y = h.Zja(F.movieEntry); - z = []; - l21 = 13; - break; - case 7: - l21 = F.movieEntry ? 6 : 15; - break; - case 1: - l21 = y ? 5 : 3; - break; - case 18: - try { - q21 = 2; - for (; q21 !== 8; ) { - switch (q21) { case 5: - J = R.value; - K = Object.keys(L[J]); + K = N.value; + M = Object.keys(I[K]); try { r21 = 2; for (; r21 !== 7; ) { switch (r21) { - case 1: - r21 = !N.done ? 5 : 7; + case 8: + R = P.next(); + r21 = 1; break; - case 5: - (da = L[J][N.value], na = h.pja(da, da)); - r21 = 4; + case 1: + r21 = !R.done ? 5 : 7; break; case 2: - (Q = (C = void 0, c.__values(K)), N = Q.next()); + (P = (C = void 0, c.__values(M)), R = P.next()); r21 = 1; break; - case 3: - var L5u = "Missing or"; - L5u += " invalid "; - L5u += "media"; - L5u += " data parts for stream"; - L5u += " "; - return (M = L5u + na.La, v(M)); + case 5: + (ea = I[K][R.value], pa = h.ija(ea, ea)); + r21 = 4; break; case 4: - r21 = h.Yla(na) ? 3 : 9; + r21 = h.Sla(pa) ? 3 : 9; break; case 9: - z.push(na); + z.push(pa); r21 = 8; break; - case 8: - N = Q.next(); - r21 = 1; + case 3: + var T4N = "Missing or invalid me"; + T4N += "dia data"; + T4N += " parts f"; + T4N += "or stre"; + T4N += "am "; + return (L = T4N + pa.Ma, v(L)); break; } } - } catch (ra) { + } catch (ta) { C = { - error: ra + error: ta }; } finally { @@ -100569,7 +101210,7 @@ a000.D9b = function () { for (; t21 !== 1; ) { switch (t21) { case 2: - N && !N.done && (E = Q.return) && E.call(Q); + R && !R.done && (E = P.return) && E.call(P); t21 = 1; break; } @@ -100579,17 +101220,18 @@ a000.D9b = function () { u21 = 2; for (; u21 !== 5; ) { switch (u21) { - case 1: + case 9: throw C.error; + u21 = 6; + break; u21 = 5; break; case 2: u21 = C ? 1 : 5; break; - case 3: - u21 = C ? 5 : 4; - break; - u21 = C ? 1 : 5; + case 1: + throw C.error; + u21 = 5; break; } } @@ -100601,23 +101243,12 @@ a000.D9b = function () { } q21 = 9; break; - case 1: - q21 = !R.done ? 5 : 8; - break; - case 9: - R = P.next(); - q21 = 1; - break; - case 2: - (P = c.__values(B), R = P.next()); - q21 = 1; - break; } } - } catch (ra) { + } catch (ta) { var va; va = { - error: ra + error: ta }; } finally { @@ -100630,7 +101261,7 @@ a000.D9b = function () { for (; w21 !== 1; ) { switch (w21) { case 2: - R && !R.done && (A = P.return) && A.call(P); + N && !N.done && (B = O.return) && B.call(O); w21 = 1; break; } @@ -100647,11 +101278,6 @@ a000.D9b = function () { case 2: x21 = va ? 1 : 5; break; - case 3: - x21 = va ? 8 : 1; - break; - x21 = va ? 1 : 5; - break; } } } @@ -100662,1033 +101288,354 @@ a000.D9b = function () { } l21 = 17; break; + case 12: + D = Object.keys(G.headers); + l21 = 11; + break; case 16: - void 0 !== x && (x.Tl = y); + void 0 !== x && (x.Sl = y); l21 = 15; break; - case 8: - F = z[r]; - l21 = 7; - break; - case 15: - var o5u = "medi"; - o5u += "a"; - o5u += "cacheloo"; - o5u += "ku"; - o5u += "p"; - t.kN(o5u, { - W4: t.xn.time.aa() - u, - F1: !0 - }); - w(x); - l21 = 4; - break; - case 3: - l21 = l.ga(z) ? 9 : 8; - break; - } - } - }); - k21 = 5; - break; - } - } - }); - break; - } - } - }; - l11 = 11; - break; - case 2: - n.prototype.mb = function (r, p) { - var n11, - u; - n11 = 2; - for (; n11 !== 4; ) { - switch (n11) { - case 2: - var M5u = "Media cache is"; - M5u += " "; - M5u += "disable"; - M5u += "d"; - u = this; - this.Yda ? this.Tr = new Promise(function (t, w) { - var o11; - o11 = 2; - for (; o11 !== 1; ) { - switch (o11) { - case 2: - (void 0 !== p && null !== p ? p.tL : function (v) { - var p11; - p11 = 2; - for (; p11 !== 1; ) { - switch (p11) { - case 2: - return k.tL(u.xn, u.I, v); - break; - case 4: - return k.tL(u.xn, u.I, v); + case 13: + l21 = G.headers ? 12 : 10; break; - p11 = 1; + case 6: + y = h.Tja(G.movieEntry); + z = []; + l21 = 13; break; - } - } - })(function (v) { - var q11, - x; - q11 = 2; - for (; q11 !== 4; ) { - switch (q11) { - case 2: - var b5u = "M"; - b5u += "edia cache did not init"; - b5u += "ialize"; - u.un = v; - x = v.Km; - (v = v.MF) ? w(v) : x ? (u.FSb(r), t()) : w(Error(b5u)); - q11 = 4; + case 1: + l21 = y ? 5 : 3; break; - } - } - }); - o11 = 1; - break; - } - } - }) : (this.Tr = Promise.reject(M5u), this.Tr.catch(function () {})); - return this.Tr; - break; - } - } - }; - l11 = 1; - break; - case 11: - n.prototype.Ngb = function (r) { - var y21, - p; - y21 = 2; - for (; y21 !== 5; ) { - switch (y21) { - case 2: - var r5u = "Media cach"; - r5u += "e is"; - r5u += " not enabled"; - p = this; - return this.Tr ? this.Tr.then(function () { - var z21; - z21 = 2; - for (; z21 !== 1; ) { - switch (z21) { - case 2: - return new Promise(function (u) { - var A21; - A21 = 2; - for (; A21 !== 1; ) { - switch (A21) { - case 2: - p.un.IV(m.hq, r.toString(), function (t) { - var B21; - B21 = 2; - for (; B21 !== 1; ) { - switch (B21) { - case 2: - t && 0 !== t.length ? 1 === t.length && t[0] === r.toString() ? u(!0) : u(!1) : u(!1); - B21 = 1; + case 11: + try { + m21 = 2; + for (; m21 !== 12; ) { + switch (m21) { + case 5: + (K = J.value, H = G.headers[K]); + m21 = 4; break; - } - } - }); - A21 = 1; - break; - } - } - }); - break; - } - } - }) : Promise.reject(r5u); - break; - } - } - }; - n.prototype.cjb = function (r) { - var C21, - t, - w; - function u(v) { - var E21; - E21 = 2; - for (; E21 !== 1; ) { - switch (E21) { - case 2: - v.map(p); - E21 = 1; - break; - case 4: - v.map(p); - E21 = 8; - break; - E21 = 1; - break; - } - } - } - C21 = 2; - function p(v) { - var D21; - D21 = 2; - for (; D21 !== 1; ) { - switch (D21) { - case 2: - t.un.delete(m.hq, v); - D21 = 1; - break; - } - } - } - for (; C21 !== 4; ) { - switch (C21) { - case 2: - (t = this, w = r.toString()); - this.un.IV(m.hq, [m.iBa, r].join("."), u); - this.un.IV(m.hq, w, u); - C21 = 4; - break; - } - } - }; - n.prototype.FSb = function (r) { - var F21, - p; - F21 = 2; - for (; F21 !== 4; ) { - switch (F21) { - case 2: - var u5u = "m"; - u5u += "edia"; - u5u += "cache-erro"; - u5u += "r"; - var Q5u = "me"; - Q5u += "d"; - Q5u += "ia"; - Q5u += "cach"; - Q5u += "e"; - p = new f.zh(); - p.on(this.un, Q5u, function (u) { - var G21; - G21 = 2; - for (; G21 !== 4; ) { - switch (G21) { - case 1: - u.keys || u.items.map(function (t) { - var H21; - H21 = 2; - for (; H21 !== 1; ) { - switch (H21) { - case 2: - return t.key; - break; - } - } - }); - G21 = 5; - break; - case 2: - G21 = u.keys || u.items ? 1 : 5; - break; - case 9: - G21 = u.keys && u.items ? 7 : 4; - break; - G21 = u.keys || u.items ? 1 : 5; - break; - case 5: - var D5u = "m"; - D5u += "ed"; - D5u += "iac"; - D5u += "ac"; - D5u += "he"; - r.emit(D5u, u); - G21 = 4; - break; - } - } - }); - p.on(this.un, u5u, function (u) { - var I21; - I21 = 2; - for (; I21 !== 5; ) { - switch (I21) { - case 2: - var A5u = "me"; - A5u += "dia"; - A5u += "ca"; - A5u += "c"; - A5u += "he"; - var e5u = "e"; - e5u += "r"; - e5u += "ror"; - u.type = e5u; - r.emit(A5u, u); - I21 = 5; - break; - } - } - }); - F21 = 4; - break; - } - } - }; - return n; - break; - case 1: - n.prototype.PGb = function (r) { - var r11, - p, - u, - t; - r11 = 2; - for (; r11 !== 5; ) { - switch (r11) { - case 2: - (p = this, u = [m.iBa, r].join("."), t = this.xn.time.aa()); - return this.Tr.then(function () { - var s11; - s11 = 2; - for (; s11 !== 1; ) { - switch (s11) { - case 2: - return new Promise(function (w) { - var t11; - t11 = 2; - for (; t11 !== 1; ) { - switch (t11) { - case 2: - p.un.IV(m.hq, u, function (v) { - var u11, - x; - u11 = 2; - for (; u11 !== 3; ) { - switch (u11) { - case 2: - u11 = !v || 0 >= v.length ? 1 : 5; + case 14: + z.push(Q); + m21 = 13; break; - case 5: - x = v[0]; - p.un.read(m.hq, x, function (y, z) { - var v11, - w11, - B, - A; - v11 = 2; - for (; v11 !== 14; ) { - switch (v11) { - case 6: - p.qWa(A) ? w(A) : (p.cjb(r), w()); - v11 = 14; - break; - case 2: - var l5u = " fa"; - l5u += "i"; - l5u += "led"; - var j5u = "Read"; - j5u += "i"; - j5u += "ng movie"; - j5u += " entry "; - y && p.H.warn(j5u + x + l5u, y); - v11 = 1; - break; - case 1: - v11 = !l.ga(z) ? 5 : 9; - break; - case 5: - v11 = z instanceof ArrayBuffer ? 4 : 3; - break; - case 3: - B = { - priority: z.priority, - movieId: z.movieId, - saveToDisk: z.saveToDisk, - firstSelectedStreamBitrate: z.firstSelectedStreamBitrate, - initSelectionReason: z.initSelectionReason, - histDiscountedThroughputValue: z.histDiscountedThroughput, - histTdigest: z.histTdigest, - histAge: z.histAge, - headerCount: z.headerCount, - dataRequestCount: z.dataRequestCount, - headerRequestCount: z.headerRequestCount, - stats: z.stats - }; - v11 = 9; - break; - case 4: - try { - w11 = 2; - for (; w11 !== 1; ) { - switch (w11) { - case 2: - B = JSON.parse(String.fromCharCode.apply(null, new Uint8Array(z))); - w11 = 1; - break; - } - } - } catch (C) {} - v11 = 9; - break; - case 9: - l.ga(B) || (A = h.Zja(B)); - l.ga(A) || l.ob(A) || (A.yd = A.yd || ({}), A.headers = A.headers || ({})); - v11 = 6; - break; - } - } - }); - u11 = 3; + case 9: + return v(L); + break; + case 8: + Q = h.jja(H, H, H.fragments); + m21 = 7; + break; + case 13: + J = F.next(); + m21 = 1; + break; + case 7: + m21 = h.Tla(Q) ? 6 : 14; break; case 1: - var q5u = "mediac"; - q5u += "achelo"; - q5u += "o"; - q5u += "kup"; - (w(), p.kN(q5u, { - W4: p.xn.time.aa() - t, - F1: !1 - })); - u11 = 3; + m21 = !J.done ? 5 : 12; break; - } - } - }); - t11 = 1; - break; - } - } - }); - break; - } - } - }); - break; - } - } - }; - n.prototype.LGb = function (r, p, u) { - var x11, - t, - w; - x11 = 2; - for (; x11 !== 9; ) { - switch (x11) { - case 6: - x11 = -this.Tr ? 4 : 0; - break; - x11 = !this.Tr ? 5 : 4; - break; - case 1: - x11 = !this.Tr ? 5 : 4; - break; - case 7: - t = this; - x11 = 5; - break; - x11 = 1; - break; - case 2: - t = this; - x11 = 1; - break; - case 4: - w = this.xn.time.aa(); - return this.Tr.then(function () { - var y11; - y11 = 2; - for (; y11 !== 1; ) { - switch (y11) { - case 2: - return new Promise(function (v) { - var z11; - z11 = 2; - for (; z11 !== 1; ) { - switch (z11) { - case 2: - t.un.IV(m.hq, r, function (x) { - var A11; - A11 = 2; - for (; A11 !== 5; ) { - switch (A11) { + case 6: + var r4N = "Missing or "; + r4N += "invali"; + r4N += "d header data parts for stream "; + return (L = r4N + Q.Ma, v(L)); + break; + case 3: + var U4N = "Header fragments was an array "; + U4N += "buffer, is invalid "; + U4N += "type "; + L = U4N + H.streamId; + m21 = 9; + break; + case 2: + (F = c.__values(D), J = F.next()); + m21 = 1; + break; + case 4: + m21 = H.fragments instanceof ArrayBuffer ? 3 : 8; + break; + } + } + } catch (ta) { + var I; + I = { + error: ta + }; + } + finally { + n21 = 2; + for (; n21 !== 1; ) { + switch (n21) { case 2: - x = x.reduce(function (y, z) { - var B11, - B; - B11 = 2; - for (; B11 !== 9; ) { - switch (B11) { - case 1: - var G5u = "drmHea"; - G5u += "der._"; - G5u += "_embed__"; - B11 = -1 !== B.indexOf(G5u) ? 5 : 4; - break; - case 4: - y[B] ? y[B].push(z) : y[B] = [z]; - return y; - break; - case 5: - return y; - break; + try { + o21 = 2; + for (; o21 !== 1; ) { + switch (o21) { case 2: - B = z.substr(0, z.lastIndexOf(".")); - B11 = 1; + J && !J.done && (A = F.return) && A.call(F); + o21 = 1; break; } } - }, {}); - t.uOb(x, p).then(function (y) { - var C11, - z, - B; - C11 = 2; - for (; C11 !== 8; ) { - switch (C11) { - case 5: - var m5u = "mediac"; - m5u += "achelo"; - m5u += "okup"; - var Y5u = "No content"; - Y5u += " da"; - Y5u += "ta found for "; - (z = t.xn.time.aa() - w, B = !1); - l.ga(y) || l.ga(y.data) || !l.Sg(y.data) ? t.H.trace(Y5u + r, u) : B = !0; - t.kN(m5u, { - W4: z, - F1: B - }); - C11 = 9; - break; - case 9: - v(y); - C11 = 8; + } + finally { + p21 = 2; + for (; p21 !== 5; ) { + switch (p21) { + case 3: + p21 = I ? 7 : 6; break; - case 1: - return v(); + p21 = I ? 1 : 5; break; case 2: - C11 = void 0 === u || void 0 === y ? 1 : 5; + p21 = I ? 1 : 5; break; - } - } - }, function () { - var D11; - D11 = 2; - for (; D11 !== 1; ) { - switch (D11) { - case 2: - v(); - D11 = 1; + case 1: + throw I.error; + p21 = 5; break; } } - }); - A11 = 5; + } + n21 = 1; break; } } - }); - z11 = 1; + } + l21 = 10; + break; + case 10: + l21 = G.data ? 20 : 17; + break; + case 8: + G = z[q]; + l21 = 7; + break; + case 17: + x = h.Uja(u.I, u.H, u.Ie, z, p); + l21 = 16; + break; + case 20: + I = G.data; + A = Object.keys(I); + l21 = 18; + break; + case 3: + l21 = l.fa(z) ? 9 : 8; + break; + case 2: + l21 = 1; break; } } }); + k21 = 5; break; } } }); break; - case 5: - var O5u = "Med"; - O5u += "ia"; - O5u += " cache is not enabled"; - return Promise.reject(O5u); - break; } } }; - n.prototype.MGb = function (r, p) { - var E11, - u, - t; - E11 = 2; - for (; E11 !== 5; ) { - switch (E11) { + l11 = 11; + break; + case 20: + n.prototype.JSb = function (q) { + var F21, + p; + F21 = 2; + for (; F21 !== 4; ) { + switch (F21) { case 2: - (u = this, t = this.xn.time.aa()); - return this.Tr.then(function () { - var F11; - F11 = 2; - for (; F11 !== 1; ) { - switch (F11) { - case 2: - return u.Ngb(r); - break; - } - } - }).then(function (w) { - var G11; - G11 = 2; - for (; G11 !== 5; ) { - switch (G11) { + var Y4N = "mediaca"; + Y4N += "ch"; + Y4N += "e-error"; + var c4N = "m"; + c4N += "ediacac"; + c4N += "he"; + p = new f.xh(); + p.on(this.tn, c4N, function (t) { + var G21; + G21 = 2; + for (; G21 !== 4; ) { + switch (G21) { case 2: - G11 = w ? 1 : 4; - break; - case 4: - var E5u = "mediaca"; - E5u += "c"; - E5u += "helookup"; - u.kN(E5u, { - W4: u.xn.time.aa() - t, - F1: !1 - }); - G11 = 5; + G21 = t.keys || t.items ? 1 : 5; break; - case 1: - return u.Hib(r.toString(), p, t); + case 5: + var a4N = "m"; + a4N += "edi"; + a4N += "acach"; + a4N += "e"; + q.emit(a4N, t); + G21 = 4; break; case 9: - G11 = w ? 0 : 7; + G21 = t.keys && t.items ? 3 : 1; break; - G11 = w ? 1 : 4; + G21 = t.keys || t.items ? 1 : 5; break; - } - } - }); - break; - } - } - }; - n.prototype.TQb = function (r, p) { - var H11, - u, - t, - w, - v, - x, - y; - H11 = 2; - for (; H11 !== 13; ) { - switch (H11) { - case 4: - H11 = r.stream.ye && !l.ga(r.stream.Y) ? 3 : 14; - break; - case 2: - (u = this, t = [r.K, r.La, m.P$a].join("."), w = this.xn.time.aa(), v = h.pTa(r), x = {}); - x[t + "." + m.Z$] = { - Pp: v, - xd: m.qD - }; - x[t + "." + m.pab] = { - Pp: g.jB(r.zg.map(function (z) { - var I11; - I11 = 2; - for (; I11 !== 1; ) { - switch (I11) { - case 2: - return z.data; - break; + case 1: + t.keys || t.items.map(function (u) { + var H21; + H21 = 2; + for (; H21 !== 1; ) { + switch (H21) { + case 2: + return u.key; + break; + } } - } - })), - xd: m.qD - }; - H11 = 4; - break; - case 7: - x[t + "." + m.H$a] = { - Pp: y.sizes.buffer, - xd: m.qD - }; - H11 = 6; - break; - case 3: - v = { - timescale: r.stream.Y.U, - startTicks: r.stream.Y.Bk, - offset: r.stream.Y.Gd(0) - }; - y = r.stream.Y.uN; - x[t + "." + m.zya] = { - Pp: v, - xd: m.qD - }; - H11 = 7; - break; - case 14: - this.un.t2a(m.hq, x, function (z) { - var J11; - J11 = 2; - for (; J11 !== 5; ) { - switch (J11) { - case 2: - z || (z = u.xn.time.aa() - w, r.Tl && (l.ga(r.Tl.yd.xr) && (r.Tl.yd.xr = 0), r.Tl.yd.xr += z)); - p(); - J11 = 5; + }); + G21 = 5; break; } } }); - H11 = 13; - break; - case 6: - x[t + "." + m.G$a] = { - Pp: y.fd.buffer, - xd: m.qD - }; - H11 = 14; - break; - } - } - }; - n.prototype.SQb = function (r, p, u) { - var K11, - t, - w, - v, - x, - y; - K11 = 2; - for (; K11 !== 14; ) { - switch (K11) { - case 1: - K11 = w instanceof ArrayBuffer ? 5 : 6; - break; - case 2: - (t = this, w = r.response); - K11 = 1; - break; - case 8: - l.ga(w) || (y[x + "." + m.vbb] = { - Pp: w, - xd: m.qD - }); - this.un.t2a(m.hq, y, function (z) { - var L11; - L11 = 2; - for (; L11 !== 5; ) { - switch (L11) { + p.on(this.tn, Y4N, function (t) { + var I21; + I21 = 2; + for (; I21 !== 5; ) { + switch (I21) { case 2: - var W5u = "Faile"; - W5u += "d"; - W5u += " to save fr"; - W5u += "agm"; - W5u += "ent"; - z ? t.H.warn(W5u, z) : (z = t.xn.time.aa() - v, l.ga(p.yd.xr) && (p.yd.xr = 0), p.yd.xr += z); - u(); - L11 = 5; + var i4N = "med"; + i4N += "iac"; + i4N += "ac"; + i4N += "he"; + var j4N = "err"; + j4N += "o"; + j4N += "r"; + t.type = j4N; + q.emit(i4N, t); + I21 = 5; break; } } }); - K11 = 14; - break; - case 5: - (v = this.xn.time.aa(), x = [r.K, r.La, r.Jc].join(".")); - r = h.Wja(r); - y = {}; - y[x + "." + m.Z$] = { - Pp: r, - xd: m.qD - }; - K11 = 8; - break; - case 6: - var J5u = "Unabl"; - J5u += "e to save fragment because response is not"; - J5u += " an ArrayBuffer"; - u(Error(J5u)); - K11 = 14; + F21 = 4; break; } } }; - n.prototype.UQb = function (r) { - var M11, - p, - u, - t, - w, - v, - x, - y, - z, - B, - A, - O11, - C, - E, - F, - D, - P11, - G, - I, - J, - H, - Q11, - R11, - S11, - T11, - U11, - V11; - M11 = 2; - for (; M11 !== 20; ) { - switch (M11) { + return n; + break; + case 11: + n.prototype.Ogb = function (q) { + var y21, + p; + y21 = 2; + for (; y21 !== 5; ) { + switch (y21) { case 2: - (w = this, v = this.xn.time.aa(), x = {}, y = h.KTa(r)); - x.movieEntry = y; - M11 = 5; - break; - case 4: - z = {}; - Object.keys(r.headers).forEach(function (O) { - var N11, - L; - N11 = 2; - for (; N11 !== 5; ) { - switch (N11) { - case 2: - L = h.nTa(r.headers[O]); - z[O] = L; - N11 = 5; - break; - } - } - }); - M11 = 9; - break; - case 9: - x.headers = z; - M11 = 8; - break; - case 8: - M11 = r && r.data ? 7 : 12; - break; - case 5: - M11 = r.headers ? 4 : 8; - break; - case 7: - y = {}; - (B = r.data, A = Object.keys(r.data)); - try { - O11 = 2; - for (; O11 !== 6; ) { - switch (O11) { + var O4N = "Media"; + O4N += " "; + O4N += "cache i"; + O4N += "s not enabled"; + p = this; + return this.Xr ? this.Xr.then(function () { + var z21; + z21 = 2; + for (; z21 !== 1; ) { + switch (z21) { case 2: - (C = c.__values(A), E = C.next()); - O11 = 1; - break; - case 5: - (F = E.value, D = B[F]); - A = {}; - O11 = 3; - break; - case 1: - O11 = !E.done ? 5 : 6; - break; - case 9: - try { - P11 = 2; - for (; P11 !== 7; ) { - switch (P11) { - case 1: - P11 = !I.done ? 5 : 7; - break; - case 4: - P11 = J instanceof d.MX && J.response instanceof ArrayBuffer && !l.ga(J.Jc) ? 3 : 8; - break; - case 2: - (G = (u = void 0, c.__values(D)), I = G.next()); - P11 = 1; - break; - case 9: - A[J.Jc] = { - mediaType: H.mediaType, - streamId: H.streamId, - movieId: H.movieId, - bitrate: H.bitrate, - location: H.location, - serverId: H.serverId, - saveToDisk: H.saveToDisk, - offset: H.offset, - bytes: H.bytes, - timescale: H.timescale, - startTicks: H.startTicks, - durationTicks: H.durationTicks, - response: J.response - }; - P11 = 8; - break; - case 5: - J = I.value; - P11 = 4; - break; - case 3: - H = h.Wja(J); - P11 = 9; - break; - case 8: - I = G.next(); - P11 = 1; - break; - } - } - } catch (O) { - u = { - error: O - }; - } - finally { - Q11 = 2; - for (; Q11 !== 1; ) { - switch (Q11) { + return new Promise(function (t) { + var A21; + A21 = 2; + for (; A21 !== 1; ) { + switch (A21) { case 2: - try { - R11 = 2; - for (; R11 !== 1; ) { - switch (R11) { - case 2: - I && !I.done && (t = G.return) && t.call(G); - R11 = 1; - break; - } - } - } - finally { - S11 = 2; - for (; S11 !== 5; ) { - switch (S11) { - case 3: - S11 = u ? 2 : 7; - break; - S11 = u ? 1 : 5; - break; - case 9: - throw u.error; - S11 = 9; - break; - S11 = 5; - break; + p.tn.HV(m.jq, q.toString(), function (u) { + var B21; + B21 = 2; + for (; B21 !== 1; ) { + switch (B21) { case 2: - S11 = u ? 1 : 5; - break; - case 1: - throw u.error; - S11 = 5; + u && 0 !== u.length ? 1 === u.length && u[0] === q.toString() ? t(!0) : t(!1) : t(!1); + B21 = 1; break; } } - } - Q11 = 1; + }); + A21 = 1; break; } } - } - O11 = 8; - break; - case 3: - O11 = D ? 9 : 7; - break; - case 8: - y[F] = A; - O11 = 7; - break; - case 7: - E = C.next(); - O11 = 1; + }); break; } } - } catch (O) { - var M; - M = { - error: O - }; + }) : Promise.reject(O4N); + break; + } + } + }; + n.prototype.djb = function (q) { + function t(v) { + var E21; + E21 = 2; + for (; E21 !== 1; ) { + switch (E21) { + case 4: + v.map(p); + E21 = 2; + break; + E21 = 1; + break; + case 2: + v.map(p); + E21 = 1; + break; } - finally { - T11 = 2; - for (; T11 !== 1; ) { - switch (T11) { - case 2: - try { - U11 = 2; - for (; U11 !== 1; ) { - switch (U11) { - case 2: - E && !E.done && (p = C.return) && p.call(C); - U11 = 1; - break; - } - } - } - finally { - V11 = 2; - for (; V11 !== 5; ) { - switch (V11) { - case 2: - V11 = M ? 1 : 5; - break; - case 1: - throw M.error; - V11 = 5; - break; - } - } - } - T11 = 1; - break; - } - } + } + } + var C21, + u, + w; + C21 = 2; + function p(v) { + var D21; + D21 = 2; + for (; D21 !== 1; ) { + switch (D21) { + case 2: + u.tn.delete(m.jq, v); + D21 = 1; + break; } - M11 = 13; + } + } + for (; C21 !== 4; ) { + switch (C21) { + case 9: + (u = this, w = q.toString()); + C21 = 6; break; - case 12: - M = { - lifespan: 259200 - }; - this.dhb && (M.convertToBinaryData = !0); - this.un.save(m.hq, r.K, x, M, function (O) { - var W11; - W11 = 2; - for (; W11 !== 1; ) { - switch (W11) { - case 2: - var I5u = "savet"; - I5u += "odi"; - I5u += "sk"; - O || w.kN(I5u, { - u2a: w.xn.time.aa() - v - }); - W11 = 1; - break; - } - } - }); - M11 = 20; + C21 = 1; break; - case 13: - x.data = y; - M11 = 12; + case 2: + (u = this, w = q.toString()); + C21 = 1; + break; + case 1: + this.tn.HV(m.jq, [m.gBa, q].join("."), t); + this.tn.HV(m.jq, w, t); + C21 = 4; break; } } }; - l11 = 7; + l11 = 20; break; } } })(); - b.NBa = a; - q.tf(f.EventEmitter, a); - }, function (q, b, a) { + b.LBa = a; + r.tf(f.EventEmitter, a); + }, function (r, b, a) { var c, f, k, @@ -101697,21 +101644,21 @@ a000.D9b = function () { c = a(10); k = []; d = !1; - q.exports = { - tL: function (g, h, m) { + r.exports = { + wL: function (g, h, m) { var n; if (d) - c.Kc(m) && (f.Km || f.MF ? setTimeout(function () { + c.Mc(m) && (f.Im || f.RF ? setTimeout(function () { m(f); }, 0) : k.push(m)); else { d = !0; - n = a(126); - n.VT(g); + n = a(125); + n.TT(g); l = new n.Console("MEDIACACHE", "media|asejs"); - f = new(a(425))(h, function (r) { - r && l.warn("Failed to initialize MediaCache", r); - c.Kc(m) && setTimeout(function () { + f = new(a(429))(h, function (q) { + q && l.warn("Failed to initialize MediaCache", q); + c.Mc(m) && setTimeout(function () { m(f); }, 0); k.map(function (p) { @@ -101723,48 +101670,48 @@ a000.D9b = function () { } return f; }, - I4b: function (g, h) { - f = new(a(425))(g, function (m, n) { + O4b: function (g, h) { + f = new(a(429))(g, function (m, n) { m && l.warn("Failed to initialize MediaCache", m); - c.Kc(h) && setTimeout(function () { + c.Mc(h) && setTimeout(function () { h(n); }, 0); }); } }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - this.sq = h; + this.uq = h; this.context = h.context; - this.CZa = "NULLCONTEXT" === h.context ? !0 : !1; + this.AZa = "NULLCONTEXT" === h.context ? !0 : !1; } f = a(10); - k = a(126); + k = a(125); l = new k.Console("DISKCACHE", "media|asejs"); d = { context: "NULLCONTEXT", - read: function (h, m, n, r, p) { + read: function (h, m, n, q, p) { p("MediaCache is not supported"); }, remove: function (h, m, n) { n("MediaCache is not supported"); }, - create: function (h, m, n, r) { - r("MediaCache is not supported"); + create: function (h, m, n, q) { + q("MediaCache is not supported"); }, - append: function (h, m, n, r) { - r("MediaCache is not supported"); + append: function (h, m, n, q) { + q("MediaCache is not supported"); }, query: function (h, m, n) { n([]); } }; - c.prototype.AE = function () { + c.prototype.CE = function () { var h, m, n; @@ -101772,175 +101719,175 @@ a000.D9b = function () { m = h[0]; n = h[h.length - 1]; h = h.slice(1, h.length - 1); - h.push(function (r) { - n(null, r); + h.push(function (q) { + n(null, q); }); try { - if (this.CZa) + if (this.AZa) throw Error("Media Cache not supported"); - m.apply(this.sq, h); - } catch (r) { - n(r); + m.apply(this.uq, h); + } catch (q) { + n(q); } }; - c.prototype.query = function (h, m, n, r) { + c.prototype.query = function (h, m, n, q) { try { - if (this.CZa) + if (this.AZa) throw Error("Media Cache not supported"); - this.sq.query(h, m, function (p) { + this.uq.query(h, m, function (p) { n(null, p); - }, r); + }, q); } catch (p) { n(p); } }; - c.prototype.read = function (h, m, n, r, p) { - this.AE(this.sq.read, h, m, n, r, p); + c.prototype.read = function (h, m, n, q, p) { + this.CE(this.uq.read, h, m, n, q, p); }; c.prototype.remove = function (h, m, n) { - this.AE(this.sq.remove, h, m, n); + this.CE(this.uq.remove, h, m, n); }; - c.prototype.create = function (h, m, n, r) { - this.AE(this.sq.create, h, m, n, r); + c.prototype.create = function (h, m, n, q) { + this.CE(this.uq.create, h, m, n, q); }; - c.prototype.append = function (h, m, n, r) { - this.AE(this.sq.append, h, m, n, r); + c.prototype.append = function (h, m, n, q) { + this.CE(this.uq.append, h, m, n, q); }; c.prototype.info = function (h) { - this.AE(this.sq.info, h); + this.CE(this.uq.info, h); }; c.prototype.validate = function (h) { - this.AE(this.sq.validate, h); + this.CE(this.uq.validate, h); }; c.prototype.flush = function (h) { - this.AE(this.sq.flush, h); + this.CE(this.uq.flush, h); }; c.prototype.clear = function () { - this.sq.clear(); + this.uq.clear(); }; - q.exports = { - Grb: function (h) { + r.exports = { + Hrb: function (h) { var m, n, - r, + q, p, - u; - m = h.h4b || "NRDMEDIADISKCACHE"; - g = h.sS || 0; - 0 !== g || f.ga(k.options) || f.ga(k.options.WL) || (g = k.options.WL); + t; + m = h.k4b || "NRDMEDIADISKCACHE"; + g = h.rS || 0; + 0 !== g || f.fa(k.options) || f.fa(k.options.YL) || (g = k.options.YL); h = g; try { - r = k.storage.gub; - if (!r || !f.Sg(r)) + q = k.storage.kub; + if (!q || !f.ih(q)) throw (l.warn("Failed to get disk store contexts from platform"), "Platform does not support disk store"); - if (n = r[m]) { + if (n = q[m]) { l.warn("Disk store exists, returning"); p = new c(n); } else { - if (f.ga(k.storage) || !f.Kc(k.storage.$Oa) || k.options && 0 === k.options.WL) + if (f.fa(k.storage) || !f.Mc(k.storage.ZOa) || k.options && 0 === k.options.YL) throw (l.warn("Platform doesn't support creating disk store contexts"), "Platform doesn't support creating disk store contexts"); l.warn("Disk store context doesn't exist, creating with size " + h); - u = k.storage.$Oa({ + t = k.storage.ZOa({ context: m, size: h, encrypted: !0, signed: !0 }); - if (!u || !u.valid) + if (!t || !t.valid) throw "Failed to create disk store context"; - p = new c(u); + p = new c(t); } - } catch (t) { - l.warn("Exception creating disk store context - returning NullContext (noops)", t); + } catch (u) { + l.warn("Exception creating disk store context - returning NullContext (noops)", u); p = new c(d); } return p; }, - izb: function () { + mzb: function () { return g; }, - TZb: c + UZb: c }; - }, function (q, b, a) { + }, function (r, b, a) { var g, h, m, n, - r, + q, p, - u, t, + u, w; function c() {} - function f(v, x, y, z, B) { - var A; - A = g.Kc(z) ? z : c; - this.Cu = v; - this.$f = y.Su; - this.jx = 0; - this.$fb = y.$vb || "NONE"; - this.Tw = g.ga(B) || g.ob(B) ? 0 : B; - this.ke = {}; - this.Qr = y.g6b || h.storage.rP; - this.wu = x; - this.IJ = r.create(this.wu, y.Ksb * this.Tw, this.Cu); + function f(v, x, y, z, A) { + var B; + B = g.Mc(z) ? z : c; + this.Hu = v; + this.$f = y.Xu; + this.px = 0; + this.agb = y.fwb || "NONE"; + this.Yw = g.fa(A) || g.tb(A) ? 0 : A; + this.oe = {}; + this.Ur = y.r6b || h.storage.sP; + this.Bu = x; + this.KJ = q.create(this.Bu, y.Msb * this.Yw, this.Hu); this.on = this.addEventListener = w.addEventListener; this.removeEventListener = w.removeEventListener; - this.emit = this.Ta = w.Ta; - this.kJa = l(this, f.ue.REPLACE); - this.Agb = l(this, f.ue.UHa); - this.tE; - this.tE = y.p6a ? a(920) : a(921); - this.wu.query(this.Qr, this.Dp(""), (function (C, E) { - var F; + this.emit = this.Ua = w.Ua; + this.iJa = l(this, f.we.REPLACE); + this.Bgb = l(this, f.we.SHa); + this.vE; + this.vE = y.s6a ? a(922) : a(923); + this.Bu.query(this.Ur, this.Fp(""), (function (C, E) { + var G; if (C) - A(C); + B(C); else { - F = this.IJ.Rja(); + G = this.KJ.Kja(); C = Object.keys(E).filter(function (D) { - return D !== F && p.zL(D); - }).map(this.sta.bind(this)); - this.P6(C, (function (D, G) { - Object.keys(G).map((function (I) { - var J, + return D !== G && p.CL(D); + }).map(this.nta.bind(this)); + this.M6(C, (function (D, F) { + Object.keys(F).map((function (J) { + var K, H; - J = G[I]; - this.ke[p.r2(I)] = J; - if (J.gra && 1 < Object.keys(J.gra).length) { + K = F[J]; + this.oe[p.s2(J)] = K; + if (K.$qa && 1 < Object.keys(K.$qa).length) { H = 0; - Object.keys(J.gra).forEach((function (M) { - E[this.Dp(M)] && g.xa(E[this.Dp(M)].size) && (H += E[this.Dp(M)].size); + Object.keys(K.$qa).forEach((function (L) { + E[this.Fp(L)] && g.ya(E[this.Fp(L)].size) && (H += E[this.Fp(L)].size); }).bind(this)); - I = p.r2(I); - this.ke[I].size = H; - } else (I = p.r2(I), E[this.Dp(I)] && (this.ke[I].size = E[this.Dp(I)].size)); + J = p.s2(J); + this.oe[J].size = H; + } else (J = p.s2(J), E[this.Fp(J)] && (this.oe[J].size = E[this.Fp(J)].size)); }).bind(this)); - k(this.wu, this.Qr, this.Cu, (function (I, J) { - this.jx = J; - I ? A(I) : A(null, this); + k(this.Bu, this.Ur, this.Hu, (function (J, K) { + this.px = K; + J ? B(J) : B(null, this); }).bind(this)); }).bind(this)); } }).bind(this)); } function k(v, x, y, z) { - var B; - B = g.Kc(z) ? z : c; - v.query(x, y, function (A, C) { - A ? B(A) : (A = Object.keys(C).reduce(function (E, F) { - return E + (C[F].size || 0); - }, 0), B(null, A)); + var A; + A = g.Mc(z) ? z : c; + v.query(x, y, function (B, C) { + B ? A(B) : (B = Object.keys(C).reduce(function (E, G) { + return E + (C[G].size || 0); + }, 0), A(null, B)); }); } function l(v, x) { - return function (y, z, B, A, C) { - return function (E, F) { + return function (y, z, A, B, C) { + return function (E, G) { var D; if (E) - (z || v.Ta(f.ue.uf, { + (z || v.Ua(f.we.wf, { itemKey: y, error: E - }), B(E)); + }), A(E)); else { D = { fk: 0, @@ -101948,20 +101895,20 @@ a000.D9b = function () { items: [], time: h.time.now() }; - Object.keys(F.actions).map(function (G) { - var I; - I = F.actions[G]; - G = { - key: v.sta(I.E4), - xk: G + Object.keys(G.actions).map(function (F) { + var J; + J = G.actions[F]; + F = { + key: v.nta(J.E4), + wk: F }; - I.X ? (D.fk += I.fk, G.D4 = I.fk, g.xa(I.duration) && (D.duration += I.duration)) : G.error = I.error; - D.items.push(G); + J.W ? (D.fk += J.fk, F.D4 = J.fk, g.ya(J.duration) && (D.duration += J.duration)) : F.error = J.error; + D.items.push(F); }); - E = g.Kc(A) ? A() : 0; - 0 < C && (D.mK = C - E); - k(v.wu, v.Qr, v.Cu, function (G, I) { - G ? B(G) : (v.jx = I, D.Hm = v.$f - I, z || v.Ta(x, t.JSa(D)), B(null, D)); + E = g.Mc(B) ? B() : 0; + 0 < C && (D.qK = C - E); + k(v.Bu, v.Ur, v.Hu, function (F, J) { + F ? A(F) : (v.px = J, D.Fm = v.$f - J, z || v.Ua(x, u.JSa(D)), A(null, D)); }); } }; @@ -101971,39 +101918,39 @@ a000.D9b = function () { return 0 < x && v >= x ? !0 : !1; } g = a(10); - h = a(126); - m = a(252); + h = a(125); + m = a(253); b = a(84); n = new h.Console("MEDIACACHE", "media|asejs"); - r = a(916); - p = a(426); - u = a(127); - t = a(253); - w = a(427).EventEmitter; + q = a(918); + p = a(430); + t = a(126); + u = a(254); + w = a(431).EventEmitter; b({ - ue: { - UHa: "writeitem", + we: { + SHa: "writeitem", REPLACE: "replaceitem", - G$: "journalupdate", - uf: "mediacache-error" + y$: "journalupdate", + wf: "mediacache-error" } }, f); - f.prototype.uAb = function () { - return this.Cu; + f.prototype.xAb = function () { + return this.Hu; }; - f.prototype.sta = function (v) { - return v.slice(this.Cu.length + 1); + f.prototype.nta = function (v) { + return v.slice(this.Hu.length + 1); }; - f.prototype.Kja = function () { - return Object.keys(this.ke).filter((function (v) { - v = p.ija(this.ke[v]); - return void 0 === v || 0 >= v.DOa(); + f.prototype.Dja = function () { + return Object.keys(this.oe).filter((function (v) { + v = p.bja(this.oe[v]); + return void 0 === v || 0 >= v.BOa(); }).bind(this)); }; - f.prototype.GAb = function () { - return Object.keys(this.ke).reduce((function (v, x) { + f.prototype.JAb = function () { + return Object.keys(this.oe).reduce((function (v, x) { var y; - y = this.ke[x]; + y = this.oe[x]; return y && y.creationTime < v.creationTime ? { resourceKey: x, creationTime: y.creationTime @@ -102012,213 +101959,213 @@ a000.D9b = function () { }).bind(this), { resourceKey: null, creationTime: h.time.now() - }).i7b; + }).u7b; }; - f.prototype.vzb = function () { + f.prototype.zzb = function () { var v; - switch (this.$fb) { + switch (this.agb) { case "FIFO": - v = this.GAb(); + v = this.JAb(); } return v; }; - f.prototype.ztb = function (v) { + f.prototype.Ctb = function (v) { var x; - x = g.Kc(v) ? v : c; + x = g.Mc(v) ? v : c; this.uTa((function (y) { var z, - B, - A; - z = this.ke; - B = Object.keys(z).reduce(function (C, E) { + A, + B; + z = this.oe; + A = Object.keys(z).reduce(function (C, E) { E = z[E]; - E.resourceIndex && Object.keys(E.resourceIndex).forEach(function (F) { - C.push(F); + E.resourceIndex && Object.keys(E.resourceIndex).forEach(function (G) { + C.push(G); }); return C; }, []); if ((y = y.filter(function (C) { - return !p.zL(C) && 0 > B.indexOf(C); + return !p.CL(C) && 0 > A.indexOf(C); })) && 0 < y.length) { - A = this; + B = this; y = h.Promise.all(y.map(function (C) { - return new h.Promise(function (E, F) { - A.delete(C, function (D) { - D ? F(D) : E(); + return new h.Promise(function (E, G) { + B.delete(C, function (D) { + D ? G(D) : E(); }); }); })).then(function () { x(void 0, { - Bqa: !0 + vqa: !0 }); }, function (C) { x(C, { - Bqa: !1 + vqa: !1 }); }); - t.Lv(y); + u.Qv(y); } else v(void 0, { - Bqa: !1 + vqa: !1 }); }).bind(this)); }; - f.prototype.IOb = function (v, x, y) { + f.prototype.NOb = function (v, x, y) { var z, - B; - z = g.Kc(x) ? x : c; - x = this.Dp(v); - B = h.time.now(); - this.wu.read(this.Qr, x, 0, -1, (function (A, C) { + A; + z = g.Mc(x) ? x : c; + x = this.Fp(v); + A = h.time.now(); + this.Bu.read(this.Ur, x, 0, -1, (function (B, C) { var E; - if (A) - z(A); - else if (C && C.X && C.value) { - g.Kc(y) || (y = this.tE.nT(u.jq.dD), p.zL(v) ? y = this.tE.nT(u.jq.$Y) : (A = this.ke[v], !g.ga(A) && g.xa(A.resourceIndex[v]) ? (A = A.resourceIndex[v], g.ga(A) && (A = u.jq.dD), y = this.tE.nT(A)) : n.warn("Metadata is undefined or does not contain a resource format for key", v, ":", A))); + if (B) + z(B); + else if (C && C.W && C.value) { + g.Mc(y) || (y = this.vE.lT(t.lq.fD), p.CL(v) ? y = this.vE.lT(t.lq.ZY) : (B = this.oe[v], !g.fa(B) && g.ya(B.resourceIndex[v]) ? (B = B.resourceIndex[v], g.fa(B) && (B = t.lq.fD), y = this.vE.lT(B)) : n.warn("Metadata is undefined or does not contain a resource format for key", v, ":", B))); try { E = y(C.value); - } catch (F) { - return z(m.vI.$p(F.message)); + } catch (G) { + return z(m.AI.bq(G.message)); } C = { - duration: h.time.now() - B + duration: h.time.now() - A }; - this.ke[v] && g.xa(this.ke[v].size) && (C.Cx = g.xa(this.ke[v].size) ? this.ke[v].size : 0); + this.oe[v] && g.ya(this.oe[v].size) && (C.Hx = g.ya(this.oe[v].size) ? this.oe[v].size : 0); z(null, E, C); } else - z(m.vI.$p(C.error)); + z(m.AI.bq(C.error)); }).bind(this)); }; f.prototype.read = function (v, x, y) { - this.IOb(v, x, y); + this.NOb(v, x, y); }; - f.prototype.P6 = function (v, x, y) { + f.prototype.M6 = function (v, x, y) { var z, - B, - A; - z = g.Kc(x) ? x : c; + A, + B; + z = g.Mc(x) ? x : c; if ("[object Array]" !== Object.prototype.toString.call(v)) - z(m.vI.$p("item keys must be an array")); + z(m.AI.bq("item keys must be an array")); else { - B = {}; - A = []; + A = {}; + B = []; v = h.Promise.all(v.map((function (C) { - return new h.Promise((function (E, F) { + return new h.Promise((function (E, G) { var D; - y && !g.ga(y[C]) && (D = this.tE.nT(y[C])); - this.read(C, function (G, I, J) { - G ? (I = {}, I[C] = G, F(I)) : (B[C] = I, A.push({ - duration: J.duration, - Cx: J.Cx + y && !g.fa(y[C]) && (D = this.vE.lT(y[C])); + this.read(C, function (F, J, K) { + F ? (J = {}, J[C] = F, G(J)) : (A[C] = J, B.push({ + duration: K.duration, + Hx: K.Hx }), E()); }, D); }).bind(this)); }).bind(this))).then(function () { var C; C = {}; - 0 < A.length && (C = A.reduce(function (E, F) { - g.xa(F.duration) && (E.duration += F.duration); - g.xa(F.Cx) && (E.Cx += F.Cx); + 0 < B.length && (C = B.reduce(function (E, G) { + g.ya(G.duration) && (E.duration += G.duration); + g.ya(G.Hx) && (E.Hx += G.Hx); return E; }, { duration: 0, - Cx: 0 + Hx: 0 })); - z(null, B, C); + z(null, A, C); }, function (C) { z(C); }); - t.Lv(v); + u.Qv(v); } }; - f.prototype.write = function (v, x, y, z, B) { - var A, + f.prototype.write = function (v, x, y, z, A) { + var B, C, E; - y = g.Kc(y) ? y : c; - A = this.Dp(v); - C = "function" === typeof B ? B() : 0; - E = u.Eka(x); - E = this.tE.rka(E)(x); - E.byteLength + this.jx >= this.$f ? y(m.JH) : d(E.byteLength + C, this.Tw) ? y(m.LZ) : this.IJ.save(this.Qr, A, x, this.Agb(v, z, y, B, this.Tw), E.byteLength); - }; - f.prototype.replace = function (v, x, y, z, B) { - var A, + y = g.Mc(y) ? y : c; + B = this.Fp(v); + C = "function" === typeof A ? A() : 0; + E = t.Bka(x); + E = this.vE.nka(E)(x); + E.byteLength + this.px >= this.$f ? y(m.RH) : d(E.byteLength + C, this.Yw) ? y(m.NZ) : this.KJ.save(this.Ur, B, x, this.Bgb(v, z, y, A, this.Yw), E.byteLength); + }; + f.prototype.replace = function (v, x, y, z, A) { + var B, C, E, - F; - A = g.Kc(y) ? y : c; - C = this.Dp(v); + G; + B = g.Mc(y) ? y : c; + C = this.Fp(v); E = 0; - "function" === typeof B && (E = B()); - y = u.Eka(x); - F = this.tE.rka(y)(x); - y = (this.ke[v] || ({})).size || 0; - 0 >= y && this.ke[v] ? this.VTa([v], (function (D) { - n.trace("Replacing key", v, "which exists:", !!this.ke[v], this.ke[v] ? this.ke[v] : void 0, "and has size", D, "with", x, "with size", F.byteLength, "plus _used", this.jx, "vs capacity", this.$f); - F.byteLength - D + this.jx >= this.$f ? A(m.JH) : d(F.byteLength - D + E, this.Tw) ? A(m.LZ) : this.IJ.replace(this.Qr, C, x, this.kJa(v, z, A, B, this.Tw), F.byteLength); - }).bind(this)) : (n.trace("Replacing key", v, "which exists:", !!this.ke[v], this.ke[v] ? this.ke[v] : void 0, "and has size", y, "with", x, "with size", F.byteLength, "plus _used", this.jx, "vs capacity", this.$f), F.byteLength - y + this.jx >= this.$f ? A(m.JH) : d(F.byteLength - y + E, this.Tw) ? A(m.LZ) : this.IJ.replace(this.Qr, C, x, this.kJa(v, z, A, B, this.Tw), F.byteLength)); - }; - f.prototype.TPb = function (v, x, y, z) { - var B; - B = g.Kc(x) ? x : c; - "[object Object]" !== Object.prototype.toString.call(v) ? B(m.KZ.$p("items must be a map of keys to objects")) : (x = h.Promise.all(Object.keys(v).map((function (A) { + "function" === typeof A && (E = A()); + y = t.Bka(x); + G = this.vE.nka(y)(x); + y = (this.oe[v] || ({})).size || 0; + 0 >= y && this.oe[v] ? this.WTa([v], (function (D) { + n.trace("Replacing key", v, "which exists:", !!this.oe[v], this.oe[v] ? this.oe[v] : void 0, "and has size", D, "with", x, "with size", G.byteLength, "plus _used", this.px, "vs capacity", this.$f); + G.byteLength - D + this.px >= this.$f ? B(m.RH) : d(G.byteLength - D + E, this.Yw) ? B(m.NZ) : this.KJ.replace(this.Ur, C, x, this.iJa(v, z, B, A, this.Yw), G.byteLength); + }).bind(this)) : (n.trace("Replacing key", v, "which exists:", !!this.oe[v], this.oe[v] ? this.oe[v] : void 0, "and has size", y, "with", x, "with size", G.byteLength, "plus _used", this.px, "vs capacity", this.$f), G.byteLength - y + this.px >= this.$f ? B(m.RH) : d(G.byteLength - y + E, this.Yw) ? B(m.NZ) : this.KJ.replace(this.Ur, C, x, this.iJa(v, z, B, A, this.Yw), G.byteLength)); + }; + f.prototype.YPb = function (v, x, y, z) { + var A; + A = g.Mc(x) ? x : c; + "[object Object]" !== Object.prototype.toString.call(v) ? A(m.MZ.bq("items must be a map of keys to objects")) : (x = h.Promise.all(Object.keys(v).map((function (B) { return new h.Promise((function (C) { - this.replace(A, v[A], function (E, F) { + this.replace(B, v[B], function (E, G) { E ? C({ error: E, - Pp: A - }) : C(F); + Sp: B + }) : C(G); }, !0, z); }).bind(this)); - }).bind(this))).then((function (A) { + }).bind(this))).then((function (B) { var C, E, - F, + G, D; try { C = Number.MAX_VALUE; - E = A.reduce(function (G, I) { - I.error || (G.fk += I.fk, g.xa(I.duration) && (G.duration += I.duration), !g.ga(I.Hm) && I.Hm < C && (C = I.Hm), I.items.map(function (J) { - G.items.push({ - key: J.key, - xk: J.xk, - D4: J.D4, - eHb: J.eHb, - duration: J.duration + E = B.reduce(function (F, J) { + J.error || (F.fk += J.fk, g.ya(J.duration) && (F.duration += J.duration), !g.fa(J.Fm) && J.Fm < C && (C = J.Fm), J.items.map(function (K) { + F.items.push({ + key: K.key, + wk: K.wk, + D4: K.D4, + gHb: K.gHb, + duration: K.duration }); - }), C < Number.MAX_VALUE && (G.Hm = C)); - return G; + }), C < Number.MAX_VALUE && (F.Fm = C)); + return F; }, { fk: 0, items: [], time: h.time.now(), duration: 0 }); - 0 < this.Tw && (E.mK = this.Tw - z()); - F = A.filter(function (G) { - return !g.ga(G.error); + 0 < this.Yw && (E.qK = this.Yw - z()); + G = B.filter(function (F) { + return !g.fa(F.error); }); - D = t.NUa(F); - y || (D ? D.forEach((function (G) { - this.Ta(f.ue.uf, G); - }).bind(this)) : this.Ta(f.ue.REPLACE, t.JSa(E))); - B(D, E); - } catch (G) { - B(G); - } - }).bind(this), (function (A) { - y || this.Ta(f.ue.uf, A); - B(A); - }).bind(this)), t.Lv(x)); + D = u.NUa(G); + y || (D ? D.forEach((function (F) { + this.Ua(f.we.wf, F); + }).bind(this)) : this.Ua(f.we.REPLACE, u.JSa(E))); + A(D, E); + } catch (F) { + A(F); + } + }).bind(this), (function (B) { + y || this.Ua(f.we.wf, B); + A(B); + }).bind(this)), u.Qv(x)); }; f.prototype.delete = function (v, x) { var y; - y = g.Kc(x) ? x : c; - this.wu.remove(this.Qr, this.Dp(v), (function (z, B) { - z ? y(z) : B && B.X ? k(this.wu, this.Qr, this.Dp(""), (function (A, C) { - A ? y(A) : (this.jx = C, y()); - }).bind(this)) : y(m.w9a.$p(B.error)); + y = g.Mc(x) ? x : c; + this.Bu.remove(this.Ur, this.Fp(v), (function (z, A) { + z ? y(z) : A && A.W ? k(this.Bu, this.Ur, this.Fp(""), (function (B, C) { + B ? y(B) : (this.px = C, y()); + }).bind(this)) : y(m.y9a.bq(A.error)); }).bind(this)); }; f.prototype.uTa = function (v) { @@ -102229,58 +102176,58 @@ a000.D9b = function () { f.prototype.query = function (v, x) { var y, z; - y = g.Kc(x) ? x : c; - z = this.IJ.Rja(); - this.wu.query(this.Qr, this.Dp(v), (function (B, A) { - B ? y(B) : y(null, Object.keys(A).filter(function (C) { + y = g.Mc(x) ? x : c; + z = this.KJ.Kja(); + this.Bu.query(this.Ur, this.Fp(v), (function (A, B) { + A ? y(A) : y(null, Object.keys(B).filter(function (C) { return C !== z; - }).map(this.sta.bind(this))); + }).map(this.nta.bind(this))); }).bind(this)); }; - f.prototype.Dp = function (v) { - return this.Cu + "." + v; + f.prototype.Fp = function (v) { + return this.Hu + "." + v; }; f.prototype.clear = function (v) { var x; - x = g.Kc(v) ? v : c; + x = g.Mc(v) ? v : c; this.uTa((function (y) { var z; - z = h.Promise.all(y.map((function (B) { - return new h.Promise((function (A) { - B && this.delete(B, function () { - A(); + z = h.Promise.all(y.map((function (A) { + return new h.Promise((function (B) { + A && this.delete(A, function () { + B(); }); }).bind(this)); }).bind(this))).then(function () { x(y); - }, (function (B) { - this.Ta(f.ue.uf, B); - x([], B); + }, (function (A) { + this.Ua(f.we.wf, A); + x([], A); }).bind(this)); - t.Lv(z); + u.Qv(z); }).bind(this)); }; - f.prototype.VTa = function (v, x) { + f.prototype.WTa = function (v, x) { var y, z; - y = g.Kc(x) ? x : c; - z = (v || []).map((function (B) { - return this.Dp(B); + y = g.Mc(x) ? x : c; + z = (v || []).map((function (A) { + return this.Fp(A); }).bind(this)); - this.wu.query(this.Qr, this.Cu, (function (B, A) { - B ? (n.error("failed to get persisted size for keyset ", v, B), y(0)) : (B = Object.keys(A).filter(function (C) { + this.Bu.query(this.Ur, this.Hu, (function (A, B) { + A ? (n.error("failed to get persisted size for keyset ", v, A), y(0)) : (A = Object.keys(B).filter(function (C) { return 0 <= z.indexOf(C); }).reduce(function (C, E) { - return C + (A[E].size || 0); - }, 0), y(B)); + return C + (B[E].size || 0); + }, 0), y(A)); }).bind(this)); }; - f.prototype.Gyb = function (v) { - return this.IJ.zSa(v); + f.prototype.Lyb = function (v) { + return this.KJ.zSa(v); }; f.prototype.constructor = f; - q.exports = f; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { var f, k, l, @@ -102289,269 +102236,269 @@ a000.D9b = function () { h, m, n; - function c(r, p, u) { - var B, - A; - function t(C, E, F, D) { - C.info.call(C, (function (G, I) { - var J; - if (G) - D(G); + function c(q, p, t) { + var A, + B; + function u(C, E, G, D) { + C.info.call(C, (function (F, J) { + var K; + if (F) + D(F); else { try { - J = I.values[this.context].entries[E][F].size; + K = J.values[this.context].entries[E][G].size; } catch (H) { - J = -1; + K = -1; } - -1 < J ? D(null, J) : this.validate(function (H, M) { - H ? D(H) : (M[F] && (J = M[F].size), D(null, J)); + -1 < K ? D(null, K) : this.validate(function (H, L) { + H ? D(H) : (L[G] && (K = L[G].size), D(null, K)); }); } }).bind(C)); } - function w(C, E, F, D, G, I, J) { + function w(C, E, G, D, F, J, K) { var H; - I ? I.actions || (I.actions = {}) : I = { + J ? J.actions || (J.actions = {}) : J = { actions: {} }; - B(D); + A(D); H = k.time.now(); - D = new m(function (M, O) { - C.create(k.storage.rP, E, F, function (L, P) { - L ? O(L) : M(P); + D = new m(function (L, Q) { + C.create(k.storage.sP, E, G, function (I, O) { + I ? Q(I) : L(O); }); - }).then(function (M) { - M.X ? t(C, k.storage.rP, E, function (O, L) { - O ? J(O) : (A(L), B(L), I.actions[c.GX.G$] = { - X: !0, - time: G, - fk: L, + }).then(function (L) { + L.W ? u(C, k.storage.sP, E, function (Q, I) { + Q ? K(Q) : (B(I), A(I), J.actions[c.FX.y$] = { + W: !0, + time: F, + fk: I, E4: E, - Y0a: M, + Y0a: L, duration: k.time.now() - H - }, I.Hm = M.Hm, J(null, I)); - }) : (I.actions[c.GX.G$] = { - X: !1, + }, J.Fm = L.Fm, K(null, J)); + }) : (J.actions[c.FX.y$] = { + W: !1, E4: E, - error: M.error - }, J(null, I)); - }, function (M) { - J(M); + error: L.error + }, K(null, J)); + }, function (L) { + K(L); }); - g.Lv(D); + g.Qv(D); } - function v(C, E, F, D, G, I) { - D.yp(F.time, F); - for (var J = F.time - 864E5, H = D.Ev(); H && !isNaN(H.time) && H.time < J; ) { - H = D.qK(); - B(0 - (H.ca || 0)); - H = D.Ev(); + function v(C, E, G, D, F, J) { + D.Ap(G.time, G); + for (var K = G.time - 864E5, H = D.Kv(); H && !isNaN(H.time) && H.time < K; ) { + H = D.uK(); + A(0 - (H.da || 0)); + H = D.Kv(); } - D = D.no().map(function (M) { - return M.time + ";" + M.ca; + D = D.oo().map(function (L) { + return L.time + ";" + L.da; }); - w(C, E, Array.prototype.join.call(D, "|"), F.ca, F.time, G, I); + w(C, E, Array.prototype.join.call(D, "|"), G.da, G.time, F, J); } - function x(C, E, F, D, G, I, J, H, M) { - var O; - O = k.time.now(); - C.create(F, D, G, function (L, P) { - var R; - if (L) - h.error("Failed to replace item", D, L); - else if (P.X) { - R = P.Hm; - t(C, F, D, function (K, Q) { - var N, - da; - if (K) - M(K); + function x(C, E, G, D, F, J, K, H, L) { + var Q; + Q = k.time.now(); + C.create(G, D, F, function (I, O) { + var N; + if (I) + h.error("Failed to replace item", D, I); + else if (O.W) { + N = O.Fm; + u(C, G, D, function (M, P) { + var R, + ea; + if (M) + L(M); else { - K = { + M = { time: H, - ca: Q || 0 + da: P || 0 }; - N = { - Hm: R, + R = { + Fm: N, actions: {} }; - da = k.time.now() - O; - N.actions[c.GX.REPLACE] = { - X: !0, + ea = k.time.now() - Q; + R.actions[c.FX.REPLACE] = { + W: !0, time: H, - fk: Q, + fk: P, E4: D, - Y0a: P, - duration: da + Y0a: O, + duration: ea }; - I ? v(C, E, K, J, N, M) : (B(Q), M(null, N)); + J ? v(C, E, M, K, R, L) : (A(P), L(null, R)); } }); } else - M(l.KZ.$p(P.error || "Failed to create item")); + L(l.MZ.bq(O.error || "Failed to create item")); }); } - function y(C, E, F, D, G, I, J, H, M) { - var O; - O = k.time.now(); - C.append(F, D, G, function (L, P) { - var R; - if (L) - (h.error("Failed to save item " + D, L), M(L)); - else if (P.X) { - R = P.Hm; - t(C, F, D, function (K, Q) { - var N, - da; - if (K) - M(K); + function y(C, E, G, D, F, J, K, H, L) { + var Q; + Q = k.time.now(); + C.append(G, D, F, function (I, O) { + var N; + if (I) + (h.error("Failed to save item " + D, I), L(I)); + else if (O.W) { + N = O.Fm; + u(C, G, D, function (M, P) { + var R, + ea; + if (M) + L(M); else { - K = { + M = { time: H, - ca: Q || 0 + da: P || 0 }; - N = { - Hm: R, + R = { + Fm: N, actions: {} }; - da = k.time.now() - O; - N.actions[c.GX.Ddb] = { - X: !0, + ea = k.time.now() - Q; + R.actions[c.FX.Gdb] = { + W: !0, time: H, - fk: Q, + fk: P, E4: D, - Y0a: P, - duration: da + Y0a: O, + duration: ea }; - I ? v(C, E, K, J, N, M) : (B(Q), M(null, N)); + J ? v(C, E, M, K, R, L) : (A(P), L(null, R)); } }); } else - M(l.KZ.$p(P.error || "Failed to save item")); + L(l.MZ.bq(O.error || "Failed to save item")); }); } function z(C, E) { - C && f.Kc(C.remove) && C.sq.valid && C.remove(k.storage.rP, E.mJ, function (F, D) { - if (F) - h.error("Failed to delete old journal key", F); + C && f.Mc(C.remove) && C.uq.valid && C.remove(k.storage.sP, E.oJ, function (G, D) { + if (G) + h.error("Failed to delete old journal key", G); else try { - D && (f.ga(D.error) || D.error.some(function (G) { - return "NFErr_FileNotFound" === G.w4b; - })) && v(C, E.mJ, { + D && (f.fa(D.error) || D.error.some(function (F) { + return "NFErr_FileNotFound" === F.C4b; + })) && v(C, E.oJ, { time: 0, - ca: 0 - }, E.PQ, 0, function () {}); - } catch (G) {} + da: 0 + }, E.QQ, 0, function () {}); + } catch (F) {} }); } - if (!r.sq.valid) + if (!q.uq.valid) return n; - this.GIa = f.ga(p) || f.ob(p) ? 0 : p; - this.rca = r; - this.Wca = this.bQ = 0; - this.PQ = new d(); - this.nib = u || "default"; - this.mJ = this.nib + ".NRDCACHEJOURNALKEY"; - B = (function (C) { + this.EIa = f.fa(p) || f.tb(p) ? 0 : p; + this.lca = q; + this.Qca = this.bQ = 0; + this.QQ = new d(); + this.oib = t || "default"; + this.oJ = this.oib + ".NRDCACHEJOURNALKEY"; + A = (function (C) { isNaN(C) || (this.bQ += C); return this.bQ; }).bind(this); - A = (function (C) { - isNaN(C) || (this.Wca += C); - return this.Wca; + B = (function (C) { + isNaN(C) || (this.Qca += C); + return this.Qca; }).bind(this); - this.Rja = function () { - return this.mJ; + this.Kja = function () { + return this.oJ; }; - this.save = function (C, E, F, D) { - var G; - G = k.time.now(); - y(this.rca, this.mJ, C, E, F, 0 <= this.GIa, this.PQ, G, D); + this.save = function (C, E, G, D) { + var F; + F = k.time.now(); + y(this.lca, this.oJ, C, E, G, 0 <= this.EIa, this.QQ, F, D); }; - this.replace = function (C, E, F, D) { - var G; - G = k.time.now(); - x(this.rca, this.mJ, C, E, F, 0 <= this.GIa, this.PQ, G, D); + this.replace = function (C, E, G, D) { + var F; + F = k.time.now(); + x(this.lca, this.oJ, C, E, G, 0 <= this.EIa, this.QQ, F, D); }; this.zSa = function (C) { var E, - G; + F; E = this.bQ; C -= 864E5; - for (var F = this.PQ.no(), D = 0; D < F.length; D++) { - G = F[D]; - G.time < C && !isNaN(G.ca) && (E -= G.ca); + for (var G = this.QQ.oo(), D = 0; D < G.length; D++) { + F = G[D]; + F.time < C && !isNaN(F.da) && (E -= F.da); } return E; }; (function (C) { var E; - E = C.rca; + E = C.lca; C.bQ = 0; - E.read(k.storage.rP, C.mJ, 0, -1, function (F, D) { - var G, - I, + E.read(k.storage.sP, C.oJ, 0, -1, function (G, D) { + var F, J, - M; - G = []; - I = 0; - J = !0; - if (F) - h.error("Failed to compile records", F); - else if (D.X) { - F = String.fromCharCode.apply(null, new Uint8Array(D.value)); - F = String.prototype.split.call(F, "|"); - D = F.reduce(function (O, L) { - return O + (L.length + 40); + K, + L; + F = []; + J = 0; + K = !0; + if (G) + h.error("Failed to compile records", G); + else if (D.W) { + G = String.fromCharCode.apply(null, new Uint8Array(D.value)); + G = String.prototype.split.call(G, "|"); + D = G.reduce(function (Q, I) { + return Q + (I.length + 40); }, 0); - B(D); - G = F.map(function (O) { - O = O.split(";"); + A(D); + F = G.map(function (Q) { + Q = Q.split(";"); return { - time: Number(O[0]), - ca: Number(O[1]) + time: Number(Q[0]), + da: Number(Q[1]) }; }); try { - if (!isNaN(G.reduce(function (O, L) { - return O + L.ca; + if (!isNaN(F.reduce(function (Q, I) { + return Q + I.da; }, 0))) { - J = !1; - for (var H = k.time.now() - 864E5; I < G.length; I++) { - M = G[I]; - M.time < H || (C.PQ.yp(M.time, M), B(M.ca)); + K = !1; + for (var H = k.time.now() - 864E5; J < F.length; J++) { + L = F[J]; + L.time < H || (C.QQ.Ap(L.time, L), A(L.da)); } } - } catch (O) {} + } catch (Q) {} } - J && z(E, C); + K && z(E, C); }); })(this); } f = a(10); - k = a(126); - l = a(252); - d = a(917); + k = a(125); + l = a(253); + d = a(919); b = a(84); - g = a(253); + g = a(254); h = new k.Console("DISKWRITEMANAGER", "media|asejs"); m = k.Promise; b({ - GX: { - Ddb: "saveitem", + FX: { + Gdb: "saveitem", REPLACE: "replaceitem", - G$: "journalupdate" + y$: "journalupdate" } }, c); n = { - save: function (r, p, u, t) { - t(l.eBa); + save: function (q, p, t, u) { + u(l.cBa); }, - replace: function (r, p, u, t) { - t(l.eBa); + replace: function (q, p, t, u) { + u(l.cBa); }, - Rja: function () { + Kja: function () { return ""; }, zSa: function () { @@ -102559,26 +102506,26 @@ a000.D9b = function () { } }; c.prototype.constructor = c; - q.exports = { - create: function (r, p, u) { - return new c(r, p, u); + r.exports = { + create: function (q, p, t) { + return new c(q, p, t); }, - $0b: n + a1b: n }; - }, function (q) { + }, function (r) { function b(f) { if (!(this instanceof b)) return new b(f); if ("undefined" === typeof f) - this.mm = function (k, l) { + this.lm = function (k, l) { return k <= l; }; else { if ("function" !== typeof f) throw Error("heap comparator must be a function"); - this.mm = f; + this.lm = f; } - this.Jo = []; + this.Ko = []; } function a(f, k) { var l, @@ -102587,15 +102534,15 @@ a000.D9b = function () { h, m, n, - r; - l = f.Jo; - d = f.mm; + q; + l = f.Ko; + d = f.lm; g = 2 * k + 1; h = 2 * k + 2; m = l[k]; n = l[g]; - r = l[h]; - n && d(n.priority, m.priority) && (!r || d(n.priority, r.priority)) ? (c(l, k, g), a(f, g, d)) : r && d(r.priority, m.priority) && (c(l, k, h), a(f, h, d)); + q = l[h]; + n && d(n.priority, m.priority) && (!q || d(n.priority, q.priority)) ? (c(l, k, g), a(f, g, d)) : q && d(q.priority, m.priority) && (c(l, k, h), a(f, h, d)); } function c(f, k, l) { var d; @@ -102604,15 +102551,15 @@ a000.D9b = function () { f[l] = d; } b.prototype.clear = function () { - this.Jo = []; + this.Ko = []; }; - b.prototype.yp = function (f, k) { - this.Jo.push({ + b.prototype.Ap = function (f, k) { + this.Ko.push({ priority: f, value: k }); - f = this.Jo; - k = this.mm; + f = this.Ko; + k = this.lm; for (var l = f.length - 1, d = 0 === l ? null : Math.floor((l - 1) / 2); null !== d && k(f[l].priority, f[d].priority); ) { c(f, l, d); l = d; @@ -102621,41 +102568,41 @@ a000.D9b = function () { }; b.prototype.remove = function () { var f; - if (0 !== this.Jo.length) { - f = this.Jo[0]; - c(this.Jo, 0, this.Jo.length - 1); - this.Jo.pop(); + if (0 !== this.Ko.length) { + f = this.Ko[0]; + c(this.Ko, 0, this.Ko.length - 1); + this.Ko.pop(); a(this, 0); return f.value; } }; - b.prototype.Ev = function () { - if (0 !== this.Jo.length) - return this.Jo[0].value; + b.prototype.Kv = function () { + if (0 !== this.Ko.length) + return this.Ko[0].value; }; - b.prototype.enqueue = b.prototype.yp; - b.prototype.qK = b.prototype.remove; - b.prototype.p4 = function () { - return 0 === this.Jo.length; + b.prototype.enqueue = b.prototype.Ap; + b.prototype.uK = b.prototype.remove; + b.prototype.q4 = function () { + return 0 === this.Ko.length; }; - b.prototype.no = function () { - return this.Jo.map(function (f) { + b.prototype.oo = function () { + return this.Ko.map(function (f) { return f.value; }); }; - q.exports = b; - }, function (q) { + r.exports = b; + }, function (r) { function b(c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: addEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) - return (this.ed = {}, this.ed[c] = [f], !0); - k = this.ed[c]; - return void 0 === k ? (this.ed[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; + if (void 0 === this.fd) + return (this.fd = {}, this.fd[c] = [f], !0); + k = this.fd[c]; + return void 0 === k ? (this.fd[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; } function a(c, f) { - c = this.ed ? this.ed[c] : void 0; + c = this.fd ? this.fd[c] : void 0; if (!c) return !1; c.forEach(function (k) { @@ -102663,34 +102610,34 @@ a000.D9b = function () { }); return !0; } - q.exports = { + r.exports = { addEventListener: b, on: b, removeEventListener: function (c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: removeEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) + if (void 0 === this.fd) return !1; - k = this.ed[c]; + k = this.fd[c]; if (void 0 === k) return !1; f = k.indexOf(f); if (0 > f) return !1; if (1 === k.length) - return (delete this.ed[c], !0); + return (delete this.fd[c], !0); k.splice(f, 1); return !0; }, - Ta: a, + Ua: a, emit: a, removeAllListeners: function (c) { - this.ed && (void 0 === c ? delete this.ed : delete this.ed[c]); + this.fd && (void 0 === c ? delete this.fd : delete this.fd[c]); return this; } }; - }, function (q) { + }, function (r) { function b(c, f, k, l) { c.trace(":", k, ":", l); f(l); @@ -102730,23 +102677,23 @@ a000.D9b = function () { this.listeners = []; this.console && this.console.trace("removed", c, "listener(s)"); }; - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var c, f, k, l; c = a(10); - f = a(127); + f = a(126); k = {}; - k[f.jq.dD] = function (d) { + k[f.lq.fD] = function (d) { return d; }; - k[f.jq.wZ] = function (d) { + k[f.lq.wZ] = function (d) { d = d || new ArrayBuffer(0); return String.fromCharCode.apply(null, new Uint8Array(d)); }; - k[f.jq.$Y] = function (d) { + k[f.lq.ZY] = function (d) { var g; g = d || new ArrayBuffer(0); d = ""; @@ -102757,27 +102704,27 @@ a000.D9b = function () { return JSON.parse(d); }; l = {}; - l[f.jq.dD] = function (d) { + l[f.lq.fD] = function (d) { return d; }; - l[f.jq.wZ] = function (d) { + l[f.lq.wZ] = function (d) { for (var g = new ArrayBuffer(d.length), h = new Uint8Array(g), m = 0, n = d.length; m < n; m++) { h[m] = d.charCodeAt(m); } return g; }; - l[f.jq.$Y] = function (d) { - return c.ga(d) || c.ob(d) ? d : l[f.jq.wZ](JSON.stringify(d)); + l[f.lq.ZY] = function (d) { + return c.fa(d) || c.tb(d) ? d : l[f.lq.wZ](JSON.stringify(d)); }; - q.exports = { - nT: function (d) { - return k[d] || k[f.jq.dD]; + r.exports = { + lT: function (d) { + return k[d] || k[f.lq.fD]; }, - rka: function (d) { - return l[d] || l[f.jq.dD]; + nka: function (d) { + return l[d] || l[f.lq.fD]; } }; - }, function (q, b, a) { + }, function (r, b, a) { function c(k) { return k; } @@ -102785,11 +102732,11 @@ a000.D9b = function () { return c; } a(10); - q.exports = { - nT: f, - rka: f + r.exports = { + lT: f, + nka: f }; - }, function (q, b, a) { + }, function (r, b, a) { var k; function c(l, d) { return l.length > d.length ? 1 : d.length > l.length ? -1 : 0; @@ -102799,36 +102746,36 @@ a000.D9b = function () { h, m; g = []; - if (k.Sg(d)) { + if (k.ih(d)) { h = {}; m = {}; m[l] = h; g.push(m); - g = Object.keys(d).reduce(function (n, r) { + g = Object.keys(d).reduce(function (n, q) { var p, - u, - t; - p = d[r]; - u = {}; - if (k.l4(p)) { - t = l + ".__embed__." + r; - u[t] = p; - n.push(u); + t, + u; + p = d[q]; + t = {}; + if (k.m4(p)) { + u = l + ".__embed__." + q; + t[u] = p; + n.push(t); } else - k.Sg(p) ? (t = l + ".__sub__." + r, p = f(t, p), h[r] = p[0][t], n = n.concat(p.slice(1))) : h[r] = p; + k.ih(p) ? (u = l + ".__sub__." + q, p = f(u, p), h[q] = p[0][u], n = n.concat(p.slice(1))) : h[q] = p; return n; }, g); } else (m = {}, m[l] = d, g.push(m)); return g; } - k = a(127); - q.exports = { - fub: f, - dEb: function (l) { + k = a(126); + r.exports = { + jub: f, + gEb: function (l) { var d, g, h, - t; + u; d = Object.keys(l).map(function (w) { return w.split("."); }); @@ -102837,40 +102784,40 @@ a000.D9b = function () { h = g.length; g = l[g.join(".")]; for (var m = 1; m < d.length; m++) { - for (var n = !1, r = !1, p = g, u = h; u < d[m].length; u++) { - t = d[m][u]; - switch (t) { + for (var n = !1, q = !1, p = g, t = h; t < d[m].length; t++) { + u = d[m][t]; + switch (u) { case "__metadata__": break; case "__sub__": - r = !0; + q = !0; break; case "__embed__": n = !0; break; default: - r ? (p = p[t], r = !1) : n && (p[t] = l[d[m].join(".")], n = !1); + q ? (p = p[u], q = !1) : n && (p[u] = l[d[m].join(".")], n = !1); } } } return g; }, - LEb: function (l) { + QEb: function (l) { return l && (0 <= l.indexOf("__sub__") || 0 <= l.indexOf("__embed__")); } }; - }, function (q, b, a) { + }, function (r, b, a) { var l, d; function c(g, h, m) { Object.keys(g).forEach(function (n) { - var r, + var q, p; - if (l.Sg(g[n])) - if (g[n].l4) { - r = g[n]; - p = m + r.offset; - g[n] = h.slice(p, p + r.byteLength); + if (l.ih(g[n])) + if (g[n].m4) { + q = g[n]; + p = m + q.offset; + g[n] = h.slice(p, p + q.byteLength); } else g[n] = c(g[n], h, m); }); @@ -102878,18 +102825,18 @@ a000.D9b = function () { } function f(g, h, m) { Object.keys(g).forEach(function (n) { - var r; - if (l.l4(g[n])) { - r = g[n]; - h.push(r); + var q; + if (l.m4(g[n])) { + q = g[n]; + h.push(q); g[n] = { - l4: !0, - offset: m.Zga, - byteLength: r.byteLength + m4: !0, + offset: m.Tga, + byteLength: q.byteLength }; - m.Zga += r.byteLength; + m.Tga += q.byteLength; } else - l.Sg(g[n]) && f(g[n], h, m); + l.ih(g[n]) && f(g[n], h, m); }); return g; } @@ -102898,49 +102845,49 @@ a000.D9b = function () { h, m; g = Array.prototype.concat.apply([], arguments); - h = g.reduce(function (n, r) { - return n + r.byteLength; + h = g.reduce(function (n, q) { + return n + q.byteLength; }, 0); m = new Uint8Array(h); - g.reduce(function (n, r) { - m.set(new Uint8Array(r), n); - return n + r.byteLength; + g.reduce(function (n, q) { + m.set(new Uint8Array(q), n); + return n + q.byteLength; }, 0); return m.buffer; } - l = a(127); + l = a(126); d = a(84); - q.exports = { - Lpb: function (g) { + r.exports = { + Mpb: function (g) { var h, m, n; h = d(g, {}); g = []; h = f(h, g, { - Zga: 0 + Tga: 0 }); h = JSON.stringify(h); m = new ArrayBuffer(h.length + 4); n = new DataView(m); n.setUint32(0, h.length); - for (var r = 4, p = 0, u = h.length; p < u; p++) { - n.setUint8(r, h.charCodeAt(p)); - r++; + for (var q = 4, p = 0, t = h.length; p < t; p++) { + n.setUint8(q, h.charCodeAt(p)); + q++; } g = [m].concat(g); return k.apply(null, g); }, - Kpb: function (g) { - for (var h = new DataView(g, 0, 4).getInt32(0), m = new Uint8Array(g, 4, h), n = "", r = 0; r < m.byteLength; r++) { - n += String.fromCharCode(m[r]); + Lpb: function (g) { + for (var h = new DataView(g, 0, 4).getInt32(0), m = new Uint8Array(g, 4, h), n = "", q = 0; q < m.byteLength; q++) { + n += String.fromCharCode(m[q]); } h = 4 + h; n = JSON.parse(n); return c(n, g, h); } }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -102949,18 +102896,18 @@ a000.D9b = function () { function c(h) { return { mediaType: h.mediaType, - streamId: h.La, + streamId: h.Ma, movieId: h.K, bitrate: h.bitrate, location: h.location, - serverId: h.Rc, + serverId: h.Qc, saveToDisk: !0, offset: h.offset, - bytes: h.ca, + bytes: h.da, timescale: h.U, - frameDuration: h.stream.pa && h.stream.pa.Wb, + frameDuration: h.stream.pa && h.stream.pa.Zb, encrypted: h.kk, - initSegments: 1 < h.zg.length ? h.zg.map(function (m) { + initSegments: 1 < h.yg.length ? h.yg.map(function (m) { return { fi: m.kf, s: m.data.byteLength, @@ -102974,187 +102921,187 @@ a000.D9b = function () { value: !0 } }); - b.Yla = b.Zla = b.jWa = b.KTa = b.nTa = b.pTa = b.Wja = b.$ja = b.Zja = b.pja = b.qja = b.dBa = void 0; + b.Sla = b.Tla = b.hWa = b.MTa = b.nTa = b.pTa = b.Qja = b.Uja = b.Tja = b.ija = b.jja = b.bBa = void 0; f = a(2).__importStar(a(10)); - k = a(925); - l = a(400); + k = a(927); + l = a(404); d = a(9); g = a(22); - b.dBa = { - iBa: "movieEntry", - P$a: "header", - Z$: "metadata", - pab: "headerData", - T_b: "headerMetadata", - H$a: "sizes", - G$a: "durations", - zya: "fragments", - vbb: "response", - hq: "billboard", - qD: { + b.bBa = { + gBa: "movieEntry", + S$a: "header", + R$: "metadata", + sab: "headerData", + U_b: "headerMetadata", + K$a: "sizes", + J$a: "durations", + xya: "fragments", + zbb: "response", + jq: "billboard", + sD: { lifespan: 259200 } }; - b.qja = function (h, m, n) { - var r, + b.jja = function (h, m, n) { + var q, p; - r = m.headerData; + q = m.headerData; n && m.sizes instanceof ArrayBuffer && m.durations instanceof ArrayBuffer && (p = { - Bk: n.startTicks, + Ck: n.startTicks, offset: n.offset, U: n.timescale, sizes: new Uint32Array(m.sizes), - fd: new Uint32Array(m.durations) + gd: new Uint32Array(m.durations) }); return { - Lc: !0, + Nc: !0, mediaType: h.mediaType, K: h.movieId, - La: h.streamId, + Ma: h.streamId, bitrate: h.bitrate, location: h.location, - Rc: h.serverId, - ca: h.bytes, + Qc: h.serverId, + da: h.bytes, offset: h.offset, - $ka: r, - V3: h.initSegments, + Vka: q, + W3: h.initSegments, kk: h.encrypted, U: h.timescale, pa: h.frameDuration, - sh: h.saveToDisk, + rh: h.saveToDisk, Y: p }; }; - b.pja = function (h, m) { + b.ija = function (h, m) { var n, - r, + q, p; m = m.response; n = h.startTicks; - r = h.durationTicks; - void 0 !== n && void 0 !== r && (p = n + r); + q = h.durationTicks; + void 0 !== n && void 0 !== q && (p = n + q); return { - Lc: !1, + Nc: !1, mediaType: h.mediaType, K: h.movieId, - La: h.streamId, + Ma: h.streamId, bitrate: h.bitrate, location: h.location, - Rc: h.serverId, - ca: h.bytes, + Qc: h.serverId, + da: h.bytes, offset: h.offset, response: m, U: h.timescale, - Xa: h.startTicks, - Lq: r, - sh: h.saveToDisk, + Ya: h.startTicks, + Mq: q, + rh: h.saveToDisk, jb: p }; }; - b.Zja = function (h) { + b.Tja = function (h) { return { priority: h.priority, K: h.movieId, headers: {}, - pL: 0, - gS: 0, - kVa: 0, - sh: h.saveToDisk, + sL: 0, + fS: 0, + iVa: 0, + rh: h.saveToDisk, yd: h.stats, - dv: h.firstSelectedStreamBitrate, - xy: h.initSelectionReason, - MB: h.histDiscountedThroughputValue, - Pn: h.histTdigest, - On: h.histAge, - Cn: void 0 + jv: h.firstSelectedStreamBitrate, + Ay: h.initSelectionReason, + OB: h.histDiscountedThroughputValue, + Rn: h.histTdigest, + Qn: h.histAge, + Bn: void 0 }; }; - b.$ja = function (h, m, n, r, p) { - var u, - t; - u = { + b.Uja = function (h, m, n, q, p) { + var t, + u; + t = { headers: {}, data: {} }; - r.forEach(function (w) { + q.forEach(function (w) { var v, x, - B; + A; v = w.mediaType; - v = p && p.jv(v, w.La); + v = p && p.qv(v, w.Ma); x = []; - if (w.Lc) - if (!Array.isArray(w.V3) || 2 > w.V3.length) + if (w.Nc) + if (!Array.isArray(w.W3) || 2 > w.W3.length) x.push({ kf: 0, - data: w.$ka + data: w.Vka }); else - for (var y = 0, z = 0; z < w.V3.length; ++z) { - B = w.V3[z]; + for (var y = 0, z = 0; z < w.W3.length; ++z) { + A = w.W3[z]; x.push({ - kf: B.fi, - data: w.$ka.slice(y, y + B.s), - kk: B.e + kf: A.fi, + data: w.Vka.slice(y, y + A.s), + kk: A.e }); - y += B.s; + y += A.s; } - v ? (w.Y && v.a6(x, w.U, w.pa ? new g.S(w.pa, w.U) : void 0, w.Y), w.Lc && v && v.ye ? (void 0 === u.headers && (u.headers = {}), u.headers[w.La] = new l.NX(v, { - ca: w.ca, + v ? (w.Y && v.a6(x, w.U, w.pa ? new g.S(w.pa, w.U) : void 0, w.Y), w.Nc && v && v.Ae ? (void 0 === t.headers && (t.headers = {}), t.headers[w.Ma] = new l.MX(v, { + da: w.da, offset: w.offset, - zg: x, + yg: x, kk: w.kk - }, m)) : w.response instanceof ArrayBuffer && void 0 !== v.Y && void 0 !== w.Xa && void 0 !== w.U && void 0 !== w.jb && (x = v.Y.w2(new g.S(w.Xa, w.U).V), void 0 !== x && (v = new k.Qua(v, { + }, m)) : w.response instanceof ArrayBuffer && void 0 !== v.Y && void 0 !== w.Ya && void 0 !== w.U && void 0 !== w.jb && (x = v.Y.x2(new g.S(w.Ya, w.U).V), void 0 !== x && (v = new k.Nua(v, { U: w.U, - Xa: w.Xa, + Ya: w.Ya, jb: w.jb, index: x.index, offset: w.offset, - ca: w.ca - }, w.response, n, h, m), void 0 === u.data && (u.data = {}), u.data[w.La] || (u.data[w.La] = []), u.data[w.La].push(v)))) : m.warn("Failed to load data from disk because the AseStream was missing from the stream map streamId: " + w.La + " movieId: " + w.K); - }); - if (!f.ga(u.data)) { - t = u.data; - Object.keys(t).forEach(function (w) { - t[w].sort(function (v, x) { - return v.Xa - x.Xa; + da: w.da + }, w.response, n, h, m), void 0 === t.data && (t.data = {}), t.data[w.Ma] || (t.data[w.Ma] = []), t.data[w.Ma].push(v)))) : m.warn("Failed to load data from disk because the AseStream was missing from the stream map streamId: " + w.Ma + " movieId: " + w.K); + }); + if (!f.fa(t.data)) { + u = t.data; + Object.keys(u).forEach(function (w) { + u[w].sort(function (v, x) { + return v.Ya - x.Ya; }); }); } - return u; + return t; }; - b.Wja = function (h) { + b.Qja = function (h) { return { mediaType: h.mediaType, - streamId: h.La, + streamId: h.Ma, movieId: h.K, bitrate: h.bitrate, location: h.location, - serverId: h.Rc, + serverId: h.Qc, saveToDisk: !0, offset: h.offset, - bytes: h.ca, + bytes: h.da, timescale: h.U, - startTicks: h.Xa, - durationTicks: h.Lq + startTicks: h.Ya, + durationTicks: h.Mq }; }; b.pTa = c; b.nTa = function (h) { var m, n, - r, + q, p; m = c(h); - if (h.stream.ye && h.stream && h.stream.Y) { + if (h.stream.Ae && h.stream && h.stream.Y) { n = { timescale: h.stream.Y.U, - startTicks: h.stream.Y.Bk, - offset: h.stream.Y.Gd(0) + startTicks: h.stream.Y.Ck, + offset: h.stream.Y.Fd(0) }; - r = h.stream.Y.uN; - p = r.sizes.buffer; - r = r.fd.buffer; + q = h.stream.Y.vN; + p = q.sizes.buffer; + q = q.gd.buffer; } return { mediaType: m.mediaType, @@ -103168,38 +103115,38 @@ a000.D9b = function () { bytes: m.bytes, timescale: m.timescale, frameDuration: m.frameDuration, - headerData: d.jB(h.zg.map(function (u) { - return u.data; + headerData: d.lB(h.yg.map(function (t) { + return t.data; })), initSegments: m.initSegments, encrypted: h.kk, fragments: n, sizes: p, - durations: r + durations: q }; }; - b.KTa = function (h) { + b.MTa = function (h) { return { priority: h.priority, movieId: h.K, - saveToDisk: h.sh, - firstSelectedStreamBitrate: h.dv, - initSelectionReason: h.xy, - histDiscountedThroughputValue: h.MB, - histTdigest: h.Pn, - histAge: h.On + saveToDisk: h.rh, + firstSelectedStreamBitrate: h.jv, + initSelectionReason: h.Ay, + histDiscountedThroughputValue: h.OB, + histTdigest: h.Rn, + histAge: h.Qn }; }; - b.jWa = function (h) { + b.hWa = function (h) { return !f.has(h, "startTicks"); }; - b.Zla = function (h) { - return !h.$ka || !h.U || !h.Y || void 0 === h.Y.Bk || void 0 === h.Y.offset || void 0 === h.Y.fd || !h.Y.fd.length || void 0 === h.Y.sizes || !h.Y.sizes.length; + b.Tla = function (h) { + return !h.Vka || !h.U || !h.Y || void 0 === h.Y.Ck || void 0 === h.Y.offset || void 0 === h.Y.gd || !h.Y.gd.length || void 0 === h.Y.sizes || !h.Y.sizes.length; }; - b.Yla = function (h) { - return void 0 === h.ca || void 0 === h.offset || void 0 === h.U || void 0 === h.Xa || void 0 === h.Lq; + b.Sla = function (h) { + return void 0 === h.da || void 0 === h.offset || void 0 === h.U || void 0 === h.Ya || void 0 === h.Mq; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -103208,23 +103155,23 @@ a000.D9b = function () { value: !0 } }); - b.Qua = void 0; + b.Nua = void 0; c = a(2); f = a(9); - q = a(43); + r = a(43); k = a(98); a = (function (l) { - function d(g, h, m, n, r, p) { - n = l.call(this, g, h, n, r, p) || this; - h.ca = m.byteLength; - k.Gk.mb(n, g, h); - n.yJ = m; - n.ifb = h.ca; + function d(g, h, m, n, q, p) { + n = l.call(this, g, h, n, q, p) || this; + h.da = m.byteLength; + k.em.mb(n, g, h); + n.AJ = m; + n.jfb = h.da; return n; } c.__extends(d, l); Object.defineProperties(d.prototype, { - Lc: { + Nc: { get: function () { return !1; }, @@ -103233,7 +103180,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Us: { + Zs: { get: function () { return !1; }, @@ -103242,7 +103189,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Ye: { + Ze: { get: function () { return 0; }, @@ -103260,7 +103207,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Ri: { + Oi: { get: function () { return 0; }, @@ -103269,7 +103216,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - Og: { + Mg: { get: function () {}, enumerable: !1, configurable: !0 @@ -103296,14 +103243,14 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { response: { get: function () { - return this.yJ; + return this.AJ; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(d.prototype, { - SGb: { + UGb: { get: function () { return !0; }, @@ -103337,7 +103284,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - JK: { + NK: { get: function () { return ""; }, @@ -103346,7 +103293,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - xqa: { + rqa: { get: function () { return !1; }, @@ -103357,19 +103304,19 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { bytesReceived: { get: function () { - return this.ifb; + return this.jfb; }, enumerable: !1, configurable: !0 } }); - d.prototype.Ss = function () { + d.prototype.Xs = function () { return !0; }; - d.prototype.JE = function (g) { - this.Je = g.appendBuffer(this.response, f.Bp(this)); + d.prototype.LE = function (g) { + this.Le = g.appendBuffer(this.response, f.Dp(this)); return { - X: this.Je + W: this.Le }; }; d.prototype.Jh = function () { @@ -103378,15 +103325,15 @@ a000.D9b = function () { d.prototype.abort = function () { return !0; }; - d.prototype.Ic = function () {}; - d.prototype.a8 = function () { + d.prototype.Kc = function () {}; + d.prototype.W7 = function () { return !1; }; return d; - })(a(240).GH); - b.Qua = a; - q.tf(k.Gk, a); - }, function (q, b, a) { + })(a(241).OH); + b.Nua = a; + r.tf(k.em, a); + }, function (r, b, a) { var c, f, k, @@ -103396,173 +103343,384 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.kGa = void 0; + b.gGa = void 0; c = a(2); - q = a(16); - f = a(73); - k = c.__importDefault(a(4)); + r = a(16); + f = a(67); + k = c.__importDefault(a(5)); l = a(14); - d = a(254); + d = a(255); g = a(9); h = a(6); - m = a(982); - n = a(376); - r = new k.default.Console("ASEJS", "media|asejs"); - r.trace.bind(r); - q = (function (p) { + m = a(984); + n = a(382); + q = new k.default.Console("ASEJS", "media|asejs"); + q.trace.bind(q); + r = (function (p) { + function t(u, w, v, x) { + var K21, + y; + K21 = 2; + for (; K21 !== 11; ) { + switch (K21) { + case 2: + y = p.call(this) || this; + y.config = u; + y.Ix = w; + K21 = 4; + break; + case 4: + y.Yo = v; + y.RC = x; + y.aH = {}; + u = a(432); + y.console = q; + K21 = 6; + break; + case 6: + var X4N = "1SIYbZrNJ"; + X4N += "Cp"; + X4N += "9"; + var G4N = "DEB"; + G4N += "U"; + G4N += "G"; + G4N += ":"; + var R4N = "nf-"; + R4N += "ase shim ver"; + R4N += "sio"; + R4N += "n:"; + y.console.trace(R4N, u, G4N, !1); + y.Pa = d.DF(); + X4N; + K21 = 12; + break; + case 12: + return y; + break; + } + } + } var J21; J21 = 2; for (; J21 !== 18; ) { switch (J21) { - case 3: - u.prototype.mb = function (t, w, v, x, y, z, B, A) { - var O21; - O21 = 2; - for (; O21 !== 5; ) { - switch (O21) { + case 11: + var K1N = "s"; + K1N += "0"; + t.prototype.zb = function () { + var Y21; + Y21 = 2; + for (; Y21 !== 9; ) { + switch (Y21) { case 2: - this.Ma.Sra({ - audio: t, - video: w, - Zea: B, - cua: A - }, { - V: x, - ca: y - }); - this.Ma.open(this.config, this.QC); - O21 = 5; + var z1N = "A"; + z1N += "ttempt to destruct ShimManag"; + z1N += "er with latest session still defined"; + var M1N = "Attempted to destruct ShimManager with ses"; + M1N += "sion co"; + M1N += "nfig active"; + var D4N = "Attempted to d"; + D4N += "estruct S"; + D4N += "himManager"; + D4N += " with players present in AS"; + D4N += "E"; + var v4N = "A"; + v4N += "ttempted to destruct ShimMana"; + v4N += "ger wi"; + v4N += "th playgraphs present "; + v4N += "in ASE"; + h.assert(0 === this.Pa.yC.length, v4N); + h.assert(0 === this.Pa.l0a.length, D4N); + h.assert(0 === Object.keys(this.aH).length, M1N); + h.assert(void 0 === this.O4, z1N); + this.Pa.close(); + Y21 = 9; break; } } }; - u.prototype.tW = function (t, w, v) { - var P21; - P21 = 2; - for (; P21 !== 1; ) { - switch (P21) { + t.prototype.Gka = function (u, w) { + var Z21; + Z21 = 2; + for (; Z21 !== 1; ) { + switch (Z21) { case 2: - this.Ma.Sra({ - total: t - }, { - V: w, - ca: v - }); - P21 = 1; + a000.l1q(6); + return a000.P1q(u, w, "-"); + break; + } + } + }; + t.stb = K1N; + return t; + break; + case 13: + t.prototype.Js = function (u, w) { + var W21; + W21 = 2; + for (; W21 !== 1; ) { + switch (W21) { + case 2: + return this.aH[this.Gka(w, u)]; break; } } }; - u.prototype.createSession = function (t, w, v, x, y, z, B, A, C, E) { + t.prototype.OPb = function (u) { + var X21, + w, + v; + X21 = 2; + for (; X21 !== 13; ) { + switch (X21) { + case 2: + this.Oob(); + (w = this.Gka(u.$, u.ca), v = this.aH[w]); + v && (v.rF = !0); + this.Pa.hr(u.qa); + X21 = 3; + break; + case 3: + u.Ha && this.Pa.QM(u.Ha); + u.Cg && this.Pa.hr(u.Cg); + u.Jj && this.Pa.QM(u.Jj); + X21 = 7; + break; + case 7: + u === this.O4 && delete this.O4; + this.Pa.Eqa(this.aH[w]); + delete this.aH[w]; + X21 = 13; + break; + } + } + }; + J21 = 11; + break; + case 8: + t.prototype.createSession = function (u, w, v, x, y, z, A, B, C, E) { var Q21, - D, - F; + G, + D; Q21 = 2; for (; Q21 !== 19; ) { switch (Q21) { - case 3: - this.TG[C] = { + case 2: + var L1N = "creatin"; + L1N += "g sess"; + L1N += "ion"; + this.console.trace(L1N); + this.Pa.Lb.reset(); + G = Number(u.movieId); + Q21 = 4; + break; + case 4: + C = this.Gka(G, y.ca); + this.aH[C] = { GNa: function () {}, - ba: y.ba, - equals: function (G) { + ca: y.ca, + equals: function (F) { var R21; R21 = 2; for (; R21 !== 1; ) { switch (R21) { case 2: - return G.da === F && (y.ba === G.ba || !G.ba || !y.ba); + return F.$ === G && (y.ca === F.ca || !F.ca || !y.ca); break; } } }, - nF: !1, - Dr: Promise.resolve({ - sa: t, + rF: !1, + Gr: Promise.resolve({ + sa: u, Gi: !!x.Gi, - Fd: l.o5(!!x.vR, !!x.UC), - config: A + Ed: l.o5(!!x.wR, !!x.VC), + config: B }), - da: F + $: G }; - A.ay && this.Ma.GC(this.TG[C], { - Dv: y.Dv, - ba: y.ba, - Kq: y.Kq + B.fy && this.Pa.IC(this.aH[C], { + Jv: y.Jv, + ca: y.ca, + Lq: y.Lq }); - E = this.hsb(F, t, A.o0a, A, y, E || u.qtb, x); - D = E[0]; - Q21 = 6; + E = this.isb(G, u, B.m0a, B, y, E || t.stb, x); + Q21 = 7; break; case 13: - var n5u = "endPt"; - n5u += "s is "; - n5u += "not su"; - n5u += "ppor"; - n5u += "ted"; - E[1] && D.push(this.CT(F, E[1].Fa, v, C)); - h.assert(void 0 === x.Aa, n5u); - this.O4 = new m.lGa(this.console, this, t, E, w, D, x, y, z, B, A); - A.Aq || A.hG || this.Dx(); - return this.O4; + var W1N = "endPts is n"; + W1N += "ot supporte"; + W1N += "d"; + E[1] && D.push(this.AT(G, E[1].Ba, v, C)); + h.assert(void 0 === x.Ca, W1N); + this.O4 = new m.hGa(this.console, this, u, E, w, D, x, y, z, A, B); + Q21 = 10; break; - case 2: - var c5u = "creati"; - c5u += "ng s"; - c5u += "e"; - c5u += "ss"; - c5u += "ion"; - this.console.trace(c5u); - this.Ma.Jb.reset(); - F = Number(t.movieId); - C = this.Kka(F, y.ba); - Q21 = 3; + case 10: + B.Bq || B.nG || this.Ix(); + return this.O4; break; - case 6: - C = D.Fa.Ca[D.Fa.hg].xc; - D = [this.CT(F, D.Fa, v, C)]; + case 7: + D = E[0]; + C = D.Ba.wa[D.Ba.Oe].jc; + D = [this.AT(G, D.Ba, v, C)]; Q21 = 13; break; } } }; - u.prototype.CT = function (t, w, v, x) { + t.prototype.AT = function (u, w, v, x) { var S21; S21 = 2; for (; S21 !== 1; ) { switch (S21) { case 2: - var h5u = "in"; - h5u += "valid start positio"; - h5u += "n re"; - h5u += "lative t"; - h5u += "o playgraph"; - return w.Ca[w.hg].xc === x ? (t = n.Hga(w, t, g.S.rb(v)), h.assert(t, h5u), t) : { - va: w.hg, + var m1N = "inval"; + m1N += "id star"; + m1N += "t position relative t"; + m1N += "o"; + m1N += " playgraph"; + return w.wa[w.Oe].jc === x ? (u = n.Bga(w, u, g.S.rb(v)), h.assert(u, m1N), u) : { + va: w.Oe, offset: g.S.hb }; break; } } }; - J21 = 6; + t.prototype.isb = function (u, w, v, x, y, z, A) { + var T21, + F, + B, + C, + E, + G, + D; + T21 = 2; + for (; T21 !== 7; ) { + switch (T21) { + case 3: + F = C.OLb; + T21 = 9; + break; + case 2: + var B1N = "v"; + B1N += "i"; + B1N += "de"; + B1N += "o"; + var Z1N = "aud"; + Z1N += "i"; + Z1N += "o"; + var u1N = "a"; + u1N += "u"; + u1N += "d"; + u1N += "i"; + u1N += "o"; + var s1N = "v"; + s1N += "i"; + s1N += "d"; + s1N += "eo"; + var C1N = "Ge"; + C1N += "ner"; + C1N += "ated p"; + C1N += "laygraph from choicema"; + C1N += "p."; + (B = this, C = w.choiceMap); + C ? (u = f.iB(C, { + config: x + }), this.console.trace(C1N)) : u = f.eH(u, z, A.wR || A.VC ? A.VC ? [s1N] : [u1N] : [Z1N, B1N]); + (E = Object.create(x, { + Rha: { + value: y.Lq + }, + YRa: { + value: y.ks + } + }), G = this.Js.bind(this, y.ca), D = [this.Pa.HE(u, v, E, { + Js: G + })]); + T21 = 4; + break; + case 8: + return D; + break; + case 4: + T21 = C && C.OLb ? 3 : 8; + break; + case 9: + Object.keys(F).forEach(function (J, K) { + var U21; + U21 = 2; + for (; U21 !== 9; ) { + switch (U21) { + case 1: + var q1N = "Currently parallel g"; + q1N += "raph can only be media type [aud"; + q1N += "i"; + q1N += "o]"; + var A1N = "a"; + A1N += "u"; + A1N += "d"; + A1N += "i"; + A1N += "o"; + K = F[J]; + h.assert(K.Ed && 1 === K.Ed.length && A1N === K.Ed[0], q1N); + J = f.iB(C, c.__assign(c.__assign({}, F[J]), { + config: x + })); + D.push(B.Pa.HE(J, v, E, { + Js: G + })); + U21 = 9; + break; + case 2: + var H1N = "C"; + H1N += "urrently only"; + H1N += " one parallel graph i"; + H1N += "s supported"; + a000.Q1q(22); + h.assert(a000.P1q(0, K), H1N); + U21 = 1; + break; + } + } + }); + T21 = 8; + break; + } + } + }; + t.prototype.Oob = function () { + var V21; + V21 = 2; + for (; V21 !== 1; ) { + switch (V21) { + case 2: + this.Lb.qN(null); + V21 = 1; + break; + } + } + }; + J21 = 13; break; case 2: - c.__extends(u, p); - Object.defineProperties(u.prototype, { - Jb: { + c.__extends(t, p); + Object.defineProperties(t.prototype, { + Lb: { get: function () { var L21; L21 = 2; for (; L21 !== 1; ) { switch (L21) { case 2: - return this.Ma.Jb; + return this.Pa.Lb; break; } } @@ -103571,15 +103729,15 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(u.prototype, { - Om: { + Object.defineProperties(t.prototype, { + Nm: { get: function () { var M21; M21 = 2; for (; M21 !== 1; ) { switch (M21) { case 2: - return this.Ma.Om; + return this.Pa.Nm; break; } } @@ -103588,21 +103746,21 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(u.prototype, { - mh: { + Object.defineProperties(t.prototype, { + jh: { get: function () { var N21; N21 = 2; for (; N21 !== 1; ) { switch (N21) { + case 2: + return this.Pa.jh; + break; case 4: - return this.Ma.mh; + return this.Pa.jh; break; N21 = 1; break; - case 2: - return this.Ma.mh; - break; } } }, @@ -103610,281 +103768,51 @@ a000.D9b = function () { configurable: !0 } }); - J21 = 3; - break; - case 19: - return u; - break; - case 6: - u.prototype.hsb = function (t, w, v, x, y, z, B) { - var T21, - G, - A, - C, - E, - F, - D; - T21 = 2; - for (; T21 !== 7; ) { - switch (T21) { - case 3: - G = C.LLb; - T21 = 9; - break; + t.prototype.mb = function (u, w, v, x, y, z, A, B) { + var O21; + O21 = 2; + for (; O21 !== 5; ) { + switch (O21) { case 2: - var z5u = "v"; - z5u += "i"; - z5u += "d"; - z5u += "e"; - z5u += "o"; - var S5u = "a"; - S5u += "udi"; - S5u += "o"; - var k5u = "a"; - k5u += "u"; - k5u += "d"; - k5u += "i"; - k5u += "o"; - var p5u = "v"; - p5u += "i"; - p5u += "d"; - p5u += "e"; - p5u += "o"; - var t5u = "Generated pl"; - t5u += "ay"; - t5u += "gra"; - t5u += "ph fr"; - t5u += "om choicemap."; - (A = this, C = w.choiceMap); - C ? (t = f.gB(C, { - config: x - }), this.console.trace(t5u)) : t = f.XG(t, z, B.vR || B.UC ? B.UC ? [p5u] : [k5u] : [S5u, z5u]); - T21 = 5; - break; - case 5: - (E = Object.create(x, { - Xha: { - value: y.Kq - }, - ZRa: { - value: y.gs - } - }), F = this.Fs.bind(this, y.ba), D = [this.Ma.GE(t, v, E, { - Fs: F - })]); - T21 = 4; - break; - case 4: - T21 = C && C.LLb ? 3 : 8; - break; - case 9: - Object.keys(G).forEach(function (I, J) { - var U21; - U21 = 2; - for (; U21 !== 9; ) { - switch (U21) { - case 4: - I = f.gB(C, c.__assign(c.__assign({}, G[I]), { - config: x - })); - D.push(A.Ma.GE(I, v, E, { - Fs: F - })); - U21 = 9; - break; - case 2: - var f5u = "Cur"; - f5u += "r"; - f5u += "ently parallel graph can"; - f5u += " only be media type [audio]"; - var R5u = "au"; - R5u += "d"; - R5u += "io"; - var v5u = "Currently only one para"; - v5u += "llel graph is"; - v5u += " supported"; - a000.D9b(19); - h.assert(a000.r9b(J, 0), v5u); - J = G[I]; - h.assert(J.Fd && 1 === J.Fd.length && R5u === J.Fd[0], f5u); - U21 = 4; - break; - } - } + this.Pa.Lra({ + audio: u, + video: w, + Sea: A, + Zta: B + }, { + V: x, + da: y }); - T21 = 8; - break; - case 8: - return D; - break; - } - } - }; - u.prototype.Nob = function () { - var V21; - V21 = 2; - for (; V21 !== 1; ) { - switch (V21) { - case 4: - this.Jb.pN(1); - V21 = 6; - break; - V21 = 1; - break; - case 2: - this.Jb.pN(null); - V21 = 1; - break; - } - } - }; - u.prototype.Fs = function (t, w) { - var W21; - W21 = 2; - for (; W21 !== 1; ) { - switch (W21) { - case 4: - return this.TG[this.Kka(w, t)]; - break; - W21 = 1; - break; - case 2: - return this.TG[this.Kka(w, t)]; - break; - } - } - }; - J21 = 12; - break; - case 12: - var a5u = "s"; - a5u += "0"; - u.prototype.JPb = function (t) { - var X21, - w, - v; - X21 = 2; - for (; X21 !== 13; ) { - switch (X21) { - case 7: - t === this.O4 && delete this.O4; - this.Ma.Kqa(this.TG[w]); - delete this.TG[w]; - X21 = 13; - break; - case 1: - (w = this.Kka(t.da, t.ba), v = this.TG[w]); - v && (v.nF = !0); - this.Ma.gr(t.qa); - t.Ha && this.Ma.QM(t.Ha); - t.Dg && this.Ma.gr(t.Dg); - t.Kj && this.Ma.QM(t.Kj); - X21 = 7; - break; - case 2: - this.Nob(); - X21 = 1; - break; - } - } - }; - u.prototype.wb = function () { - var Y21; - Y21 = 2; - for (; Y21 !== 9; ) { - switch (Y21) { - case 3: - this.Ma.close(); - Y21 = 9; - break; - case 2: - var X5u = "Att"; - X5u += "empt to"; - X5u += " destruct ShimManager with latest se"; - X5u += "ssion still def"; - X5u += "ined"; - var Z5u = "Attempted t"; - Z5u += "o destruct ShimMana"; - Z5u += "ger with session config active"; - var C5u = "Attempted to des"; - C5u += "truct ShimMan"; - C5u += "ager wi"; - C5u += "th players pres"; - C5u += "ent in ASE"; - var H5u = "Attempted to dest"; - H5u += "ruct ShimMa"; - H5u += "nager with playgraphs present in ASE"; - h.assert(0 === this.Ma.wC.length, H5u); - h.assert(0 === this.Ma.n0a.length, C5u); - h.assert(0 === Object.keys(this.TG).length, Z5u); - h.assert(void 0 === this.O4, X5u); - Y21 = 3; + this.Pa.open(this.config, this.RC); + O21 = 5; break; } } }; - u.prototype.Kka = function (t, w) { - var Z21; - Z21 = 2; - for (; Z21 !== 1; ) { - switch (Z21) { + t.prototype.sW = function (u, w, v) { + var P21; + P21 = 2; + for (; P21 !== 1; ) { + switch (P21) { case 2: - a000.D9b(6); - return a000.Q9b(w, t, "-"); + this.Pa.Lra({ + total: u + }, { + V: w, + da: v + }); + P21 = 1; break; } } }; - u.qtb = a5u; - J21 = 19; + J21 = 8; break; } } - function u(t, w, v, x) { - var K21, - y; - K21 = 2; - for (; K21 !== 11; ) { - switch (K21) { - case 2: - y = p.call(this) || this; - y.config = t; - y.Dx = w; - y.Xo = v; - K21 = 3; - break; - case 3: - var P5u = "D"; - P5u += "E"; - P5u += "BU"; - P5u += "G"; - P5u += ":"; - var w5u = "nf-ase"; - w5u += " sh"; - w5u += "im vers"; - w5u += "io"; - w5u += "n:"; - y.QC = x; - y.TG = {}; - t = a(428); - y.console = r; - y.console.trace(w5u, t, P5u, !1); - y.Ma = d.zF(); - K21 = 13; - break; - case 13: - var d5u = "1"; - d5u += "SIY"; - d5u += "bZrNJCp9"; - d5u; - return y; - break; - } - } - } - })(q.EventEmitter); - b.kGa = q; - }, function (q, b, a) { + })(r.EventEmitter); + b.gGa = r; + }, function (r, b, a) { var c, f, k, @@ -103894,681 +103822,701 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P; + Q, + I, + O; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Eua = void 0; + b.Bua = void 0; c = a(2); f = a(16); - k = a(386); - l = a(228); - d = a(928); - g = a(222); + k = a(380); + l = a(229); + d = a(930); + g = a(225); h = a(14); - a(218); - m = a(929); - n = a(933); - r = a(961); - p = a(424); - u = a(30); - t = a(6); - w = a(406); - v = a(962); - x = a(963); - y = a(964); + a(219); + m = a(931); + n = a(935); + q = a(963); + p = a(428); + t = a(30); + u = a(6); + w = a(410); + v = a(964); + x = a(965); + y = a(966); z = a(114); - B = a(256); - A = a(965); - C = a(67); - E = a(255); - F = a(9); - D = c.__importDefault(a(4)); - G = a(966); - I = a(967); - J = a(968); - H = a(969); - M = a(54); - O = a(434); - L = a(980); - P = a(981); - q = (function () { - function R(K) { - this.H = K; + A = a(257); + B = a(967); + C = a(68); + E = a(256); + G = a(9); + D = c.__importDefault(a(5)); + F = a(968); + J = a(969); + K = a(970); + H = a(971); + L = a(54); + Q = a(438); + I = a(982); + O = a(983); + r = (function () { + function N(M) { + this.H = M; this.events = new f.EventEmitter(); - this.Gc = k.Gr.CLOSED; - this.lx = []; - this.xW = []; - this.IQ = []; - this.Ko = []; - this.pIa = {}; - this.c0 = {}; - this.Ajb = new z.qA({ - jt: this, + this.Ic = k.Jr.CLOSED; + this.rx = []; + this.wW = []; + this.JQ = []; + this.Lo = []; + this.nIa = {}; + this.e0 = {}; + this.Esa = k.jO.default; + this.Bjb = new z.sA({ + pt: this, source: "engine", - hC: 10 + jC: 10, + console: M }); } - Object.defineProperties(R.prototype, { - xt: { + Object.defineProperties(N.prototype, { + Bt: { get: function () { - t.assert(this.cx); - return this.cx; + u.assert(this.hx); + return this.hx; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { + Object.defineProperties(N.prototype, { state: { get: function () { - return this.Gc; + return this.Ic; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - n0a: { + Object.defineProperties(N.prototype, { + l0a: { get: function () { - return this.IQ; + return this.JQ; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - wC: { + Object.defineProperties(N.prototype, { + yC: { get: function () { - return this.Ko.map(function (K) { - return K.Fa; + return this.Lo.map(function (M) { + return M.Ba; }); }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - XMb: { + Object.defineProperties(N.prototype, { + $Mb: { get: function () { - return this.Ko; + return this.Lo; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - Jb: { + Object.defineProperties(N.prototype, { + Lb: { get: function () { - this.iH(); - return this.Jx.Jb; + this.qH(); + return this.Ox.Lb; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - Om: { + Object.defineProperties(N.prototype, { + Nm: { get: function () { - this.iH(); - return this.Jx.Om; + this.qH(); + return this.Ox.Nm; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - mh: { + Object.defineProperties(N.prototype, { + jh: { get: function () { - this.iH(); - return this.Jx.mh; + this.qH(); + return this.Ox.jh; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - VXb: { + Object.defineProperties(N.prototype, { + XXb: { get: function () { - return this.lx.length; + return this.rx.length; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - R0: { + Object.defineProperties(N.prototype, { + T0: { get: function () { - return this.pIa; + return this.nIa; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - ZG: { + Object.defineProperties(N.prototype, { + gH: { get: function () { - return this.c0; + return this.e0; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(R.prototype, { - yIb: { + Object.defineProperties(N.prototype, { + AIb: { get: function () { - return this.OJa || (this.OJa = this.vnb()); + return this.MJa || (this.MJa = this.wnb()); }, enumerable: !1, configurable: !0 } }); - R.prototype.open = function (K, Q, N, da) { - var na; - na = this; - if (this.Gc === k.Gr.OPEN) + N.prototype.open = function (M, P, R, ea) { + var pa; + pa = this; + if (this.Ic === k.Jr.OPEN) return !1; - this.I = K; - this.uo = new C.PP(new E.AZ({ + this.I = M; + this.vo = new C.QP(new E.BZ({ tk: !0, currentTime: function () { - return F.S.rb(D.default.time.aa()); + return G.S.rb(D.default.time.ba()); }, speed: 1 }), this.H, "Engine Scheduler"); - this.iJa = new d.Qya(this.H, K); - this.qE = new r.IFa(this.C4.bind(this), K, this.uo); - this.Jx = g.MH.UTa(K, Q); - this.Gc = k.Gr.OPEN; - K = Object.create(K, { - alb: { - value: K.hG || K.Aq + this.gJa = new d.Oya(this.H, M); + this.LA = new q.FFa(this.C4.bind(this), M, this.vo); + this.Ox = g.UH.VTa(M, P); + this.Ic = k.Jr.OPEN; + M = Object.create(M, { + blb: { + value: M.nG || M.Bq } }); - this.cx = O.wT(K); - N && this.cx.jSb(N); - da && this.cx.Yra(da); - this.p0a = new L.REa({ - xm: function () { - na.Gc !== k.Gr.CLOSED && na.qE.xm("playgraphOpportunity"); + this.hx = Q.uT(M); + R && this.hx.mSb(R); + ea && this.hx.Rra(ea); + this.n0a = new I.OEa({ + El: function () { + pa.Ic !== k.Jr.CLOSED && pa.LA.El("playgraphOpportunity"); } }); - this.PJa = new J.cCa(function () { - return na.e3(); + this.NJa = new K.aCa(function () { + return pa.g3(); }, function () { - return na.f3().global; + return pa.h3().global; }, this.H); - this.msb(); + this.osb(); return !0; }; - R.prototype.GE = function (K, Q, N, da, na) { + N.prototype.HE = function (M, P, R, ea, pa) { var va, - ra, - X, - ta; + ta, + Y, + ra; va = this; - void 0 === na && (na = !0); - this.iH(); - ra = Object.create(N, { - vN: { - value: this.ZG - } - }); - if (na) { - X = this.xt.Fob(K, ra); - if (X) - return (X.d6a(Q), X); - } - ta = new n.Zua(K, Q, ra, R.EJb++, this.Jb, this.Yqa.bind(this, da, N.YXb), function (za, V) { - var T, - ja; - ja = da.Fs(za); - za = null === (T = u.wg(va.lx, function (Ia) { - return Ia.WR.equals(ja); - })) || void 0 === T ? void 0 : T.N; - return null === za || void 0 === za ? void 0 : za.Fm(ra, V); - }, function (za) { - return va.qE.xm(za); - }, na ? this.xt.Eob.bind(this.xt) : function () {}, this.e3.bind(this)); - ta.ai(new x.AGa(ta)); - ta.ai(new y.VGa(ta.st)); - ta.yXa.ai(new H.dva(ta)); - this.fx.UM.forEach(function (za) { - return ta.ai(za); - }); - this.p0a.GE(ta); - K = new f.zh(); - K.on(ta.events, "requestsPruned", this.kQb.bind(this)); - K.on(ta.events, "weightUpdated", this.apa.bind(this)); - K.on(ta.events, "underflow", this.Ij.bind(this, ta)); - this.Ko.push({ - Fa: ta, - Ag: K, - RV: 0 - }); - this.apa(); - return ta; - }; - R.prototype.Ij = function (K) { - K = this.PJa.Gxb(K); - (null === K || void 0 === K ? 0 : K.Q1) || this.xt.reset(); - }; - R.prototype.gr = function (K) { - this.p0a.gr(K); - this.Ko = this.Ko.filter(function (Q) { - return Q.Fa === K ? (Q.Ag.clear(), !1) : !0; - }); - K.wb(); - this.apa(); + void 0 === pa && (pa = !0); + this.qH(); + ta = Object.create(R, { + wN: { + value: this.gH + } + }); + if (pa) { + Y = this.Bt.Gob(M, ta); + if (Y) + return (Y.f6a(P), Y); + } + ra = new n.Wua(M, P, ta, N.GJb++, this.Lb, this.W6.bind(this, ea, R.$Xb), function (Ea, V) { + var U, + ma; + ma = ea.Js(Ea); + Ea = null === (U = t.wg(va.rx, function (Ia) { + return Ia.XR.equals(ma); + })) || void 0 === U ? void 0 : U.N; + return null === Ea || void 0 === Ea ? void 0 : Ea.Dm(ta, V); + }, function (Ea) { + return va.LA.El(Ea); + }, pa ? this.Bt.Fob.bind(this.Bt) : function () {}, this.g3.bind(this)); + ra.ai(new x.wGa(ra)); + ra.ai(new y.RGa(ra.xt)); + ra.wXa.ai(new H.ava(ra)); + this.kx.UM.forEach(function (Ea) { + return ra.ai(Ea); + }); + this.n0a.HE(ra); + M = new f.xh(); + M.on(ra.events, "requestsPruned", this.pQb.bind(this)); + M.on(ra.events, "weightUpdated", this.Woa.bind(this)); + M.on(ra.events, "underflow", this.Hj.bind(this, ra)); + this.Lo.push({ + Ba: ra, + zg: M, + QV: 0 + }); + this.Woa(); + return ra; }; - R.prototype.yLa = function (K, Q) { - var N, - da, - na; - this.iH(); - na = Q.Fd; - K = new m.Yua(K, void 0 === na ? [0, 1] : na, c.__assign({ - vN: null !== (da = null !== (N = Q.vN) && void 0 !== N ? N : this.c0) && void 0 !== da ? da : {} - }, Q)); - this.IQ.push(K); - return K; + N.prototype.Hj = function (M) { + M = this.NJa.Mxb(M); + (null === M || void 0 === M ? 0 : M.S1) || this.Bt.reset(); }; - R.prototype.QM = function (K) { - this.iH(); - this.IQ = this.IQ.filter(function (Q) { - return Q !== K; + N.prototype.hr = function (M) { + this.n0a.hr(M); + this.Lo = this.Lo.filter(function (P) { + return P.Ba === M ? (P.zg.clear(), !1) : !0; }); - K.wb(); + M.zb(); + this.Woa(); }; - R.prototype.Sra = function (K, Q) { - this.pIa = K; - this.c0 = Q; - this.OJa = void 0; - }; - R.prototype.GC = function (K, Q) { - var N, - da; - da = null === (N = u.wg(this.lx, function (na) { - return na.WR.equals(K); - })) || void 0 === N ? void 0 : N.N; - da ? da.GC(c.__assign(c.__assign({}, Q), { - Pm: this.voa.bind(this) - })) : this.xW.push({ - J6a: K, - C3a: Q - }); - }; - R.prototype.Kqa = function (K) { - this.xW = this.xW.filter(function (Q) { - return !Q.J6a.equals(K); - }); - }; - R.prototype.close = function () { - this.Gc !== k.Gr.CLOSED && (this.yPb(), t.assert(0 === this.lx.length, "Unexpected viewable lease after Playgraph destruction."), this.xPb(), this.xW = [], delete this.Jx, this.Gc = k.Gr.CLOSED, this.uo.wb()); - }; - R.prototype.Ln = function () { - return this.fx.Ln(); - }; - R.prototype.msb = function () { - this.fx = new M.hba(this.I); - this.fx.ai(new G.iya(this)); - this.fx.ai(new A.KFa(this.Jb, this.qE)); - this.fx.ai(new v.eya(this.Jb)); - this.fx.ai(new B.pA(this.Ajb)); - this.fx.ai(new B.pA(this.qE.Sn)); - this.fx.ai(new B.pA(this.iJa.Ph)); - this.fx.ai(new B.pA(this.PJa.Ph)); - }; - R.prototype.voa = function () {}; - R.prototype.Yqa = function (K, Q, N) { - var da, - na, + N.prototype.wLa = function (M, P) { + var R, + ea, + pa; + this.qH(); + pa = P.Ed; + M = new m.Vua(M, void 0 === pa ? [0, 1] : pa, c.__assign({ + wN: null !== (ea = null !== (R = P.wN) && void 0 !== R ? R : this.e0) && void 0 !== ea ? ea : {} + }, P)); + this.JQ.push(M); + return M; + }; + N.prototype.QM = function (M) { + this.qH(); + this.JQ = this.JQ.filter(function (P) { + return P !== M; + }); + M.zb(); + }; + N.prototype.Lra = function (M, P) { + this.nIa = M; + this.e0 = P; + this.MJa = void 0; + }; + N.prototype.IC = function (M, P) { + var R, + ea; + ea = null === (R = t.wg(this.rx, function (pa) { + return pa.XR.equals(M); + })) || void 0 === R ? void 0 : R.N; + ea ? ea.IC(c.__assign(c.__assign({}, P), { + Om: this.qoa.bind(this) + })) : this.wW.push({ + M6a: M, + D3a: P + }); + }; + N.prototype.Eqa = function (M) { + this.wW = this.wW.filter(function (P) { + return !P.M6a.equals(M); + }); + }; + N.prototype.close = function () { + this.Ic !== k.Jr.CLOSED && (this.DPb(), u.assert(0 === this.rx.length, "Unexpected viewable lease after Playgraph destruction."), this.CPb(), this.wW = [], delete this.Ox, this.Ic = k.Jr.CLOSED, this.vo.zb()); + }; + N.prototype.uSb = function (M) { + this.Esa = M; + this.LA.El("streamingModeChanged"); + }; + N.prototype.Mn = function () { + return this.kx.Mn(); + }; + N.prototype.osb = function () { + this.kx = new L.bba(this.I); + this.kx.ai(new F.fya(this)); + this.kx.ai(new B.HFa(this.Lb, this.LA)); + this.kx.ai(new v.bya(this.Lb)); + this.kx.ai(new A.rA(this.Bjb)); + this.kx.ai(new A.rA(this.LA.Un)); + this.kx.ai(new A.rA(this.gJa.Oh)); + this.kx.ai(new A.rA(this.NJa.Oh)); + }; + N.prototype.qoa = function () {}; + N.prototype.W6 = function (M, P, R) { + var ea, + pa, va; - da = this; - na = K.Fs(N); - t.assert(na, "ase.requestViewable(): Viewable config not found."); - va = u.wg(this.lx, function (ra) { - return !0 !== ra.WR.nF && ra.WR.equals(na); - }); - va ? va.uX.then(function (ra) { - return c.__awaiter(da, void 0, void 0, function () { - var X, - ta; - return c.__generator(this, function (za) { - switch (za.label) { + ea = this; + pa = M.Js(R); + u.assert(pa, "ase.requestViewable(): Viewable config not found."); + va = t.wg(this.rx, function (ta) { + return !0 !== ta.XR.rF && ta.XR.equals(pa); + }); + va ? va.tX.then(function (ta) { + return c.__awaiter(ea, void 0, void 0, function () { + var Y, + ra; + return c.__generator(this, function (Ea) { + switch (Ea.label) { case 0: - return (ta = (X = ra).SWb, [4, na.Dr]); + return (ra = (Y = ta).UWb, [4, pa.Gr]); case 1: - return (ta.apply(X, [za.Oe()]), [2]); + return (ra.apply(Y, [Ea.Wd()]), [2]); } }); }); }) : (va = { - WR: na, - uX: (function () { - return c.__awaiter(da, void 0, void 0, function () { - var ra, - X; - return c.__generator(this, function (ta) { - switch (ta.label) { + XR: pa, + tX: (function () { + return c.__awaiter(ea, void 0, void 0, function () { + var ta, + Y; + return c.__generator(this, function (ra) { + switch (ra.label) { case 0: - return [4, na.Dr]; + return [4, pa.Gr]; case 1: - return (ra = ta.Oe(), X = this.eS(N, na, ra), va.N = X, [2, X]); + return (ta = ra.Wd(), Y = this.dS(R, pa, ta), va.N = Y, [2, Y]); } }); }); })(), N: void 0, - hGb: new w.nAa(function (ra) { - ra() && va.WR.nF && da.F1a(va); - da.uo.gK(C.mj.VC(F.S.rb(Q)), function () { - ra() && da.F1a(va); + jGb: new w.lAa(function (ta) { + ta() && va.XR.rF ? ea.Hqa(va) : ea.vo.kK(C.jj.XC(G.S.rb(P)), function () { + ta() && ea.Hqa(va); }, "viewable cleanup"); - }) - }, this.lx.push(va)); + }, G.Yq(D.default, this.H, "" + R)) + }, this.rx.push(va)); return { get N() { return null === va || void 0 === va ? void 0 : va.N; }, - uX: va.uX, - Lma: va.hGb.nx() + tX: va.tX, + Fma: va.jGb.sx() }; }; - R.prototype.F1a = function (K) { - var Q, - N; - t.assert(K, "expected viewableEntry to exist"); - Q = K.N; - N = K.uX; - Q ? Q.wb() : N.then(function (da) { - da.wb(); + N.prototype.Hqa = function (M) { + var P, + R; + u.assert(M, "expected viewableEntry to exist"); + P = M.N; + R = M.tX; + P ? P.zb() : R.then(function (ea) { + ea.zb(); }); - this.lx = this.lx.filter(function (da) { - return da !== K; + this.rx = this.rx.filter(function (ea) { + return ea !== M; }); }; - R.prototype.eS = function (K, Q, N) { - var na, + N.prototype.dS = function (M, P, R) { + var pa, va, - ra, - X, ta, - za; - function da(V) { - na.events.emit("logdata", V); - } - na = this; - this.iH(); - ra = N.sa; - X = N.Gi; - ta = N.Fd; - ta = void 0 === ta ? h.cf : ta; - N = N.config; - za = [new p.eaa(0), new p.eaa(1)]; - ra = { - sa: ra, - config: N, - Gi: X, - Fd: ta, - N2: void 0, - Jb: this.Jx.Jb, - mh: this.Jx.mh, - iRa: { - DL: function () { + Y, + ra, + Ea; + function ea(V) { + pa.events.emit("logdata", V); + } + pa = this; + this.qH(); + ta = R.sa; + Y = R.Gi; + ra = R.Ed; + ra = void 0 === ra ? h.cf : ra; + R = R.config; + Ea = [new p.X$(0), new p.X$(1)]; + ta = { + sa: ta, + config: R, + Gi: Y, + Ed: ra, + O2: void 0, + Lb: this.Ox.Lb, + jh: this.Ox.jh, + hRa: { + FL: function () { return !1; }, - Sq: function () { - return na.qE.xm("networkFailureReset"); + Rq: function () { + return pa.LA.El("networkFailureReset"); }, - qh: this.qh.bind(this, K), - Lm: this.Lm.bind(this, K), - Qm: da - }, - jVa: { - Qm: da, - BT: void 0, - AB: function (V) { - return za[V]; + ph: this.ph.bind(this, M), + Jm: this.Jm.bind(this, M), + Pm: ea + }, + hVa: { + Pm: ea, + zT: void 0, + BB: function (V) { + return Ea[V]; }, - n4: function () { + o4: function () { return !0; }, mf: void 0, - ol: void 0, - Pg: void 0, - LB: void 0 + nl: void 0, + Og: void 0, + NB: void 0 }, ZM: { - px: this.px.bind(this), - BG: this.BG.bind(this) + ux: this.ux.bind(this), + IG: this.IG.bind(this) }, - ZG: this.c0, - Db: 0, - bo: void 0, - AYa: { - Ula: !1, - yWa: !1 + gH: this.e0, + Fb: 0, + co: void 0, + xYa: { + Ola: !1, + wWa: !1 }, - ZU: function () {} + YU: function () {} }; - K = new l.u9(K, ra); - N.ay && (ra = (null === (va = u.wg(this.xW, function (V) { - return V.J6a.equals(Q); - })) || void 0 === va ? void 0 : va.C3a) || ({}), this.Kqa(Q), K.GC(c.__assign(c.__assign({}, ra), { - Pm: this.voa.bind(this) + M = new l.p9(M, ta); + R.fy && (ta = (null === (va = t.wg(this.wW, function (V) { + return V.M6a.equals(P); + })) || void 0 === va ? void 0 : va.D3a) || ({}), this.Eqa(P), M.IC(c.__assign(c.__assign({}, ta), { + Om: this.qoa.bind(this) }))); - return K; + return M; }; - R.prototype.C4 = function () { - var K, - Q; - t.assert(this.state === k.Gr.OPEN); - K = this.f3(); - Q = this.iL(); - return this.iJa.d_a(K, Q); + N.prototype.C4 = function () { + var M, + P; + u.assert(this.state === k.Jr.OPEN); + M = this.h3(); + P = this.lL(); + return this.gJa.b_a(M, P); }; - R.prototype.iL = function () { - var K, - Q; - Q = null !== (K = this.I.uNb) && void 0 !== K ? K : this.Ko.every(function (N) { - return !N.Fa.F3; - }); - K = u.flatten(this.Ko.map(function (N) { - return N.Fa.iL().map(function (da) { - N.Fa.F3 || 1 === N.RV || (da.EF = N.RV); - return da; + N.prototype.lL = function () { + var M, + P, + R; + M = this; + R = null !== (P = this.I.yNb) && void 0 !== P ? P : this.Lo.every(function (ea) { + return !ea.Ba.G3; + }); + P = t.flatten(this.Lo.map(function (ea) { + return ea.Ba.lL().map(function (pa) { + ea.Ba.G3 || 1 === ea.QV || (pa.JF = ea.QV); + return pa; }); })); - Q || (Q = K.filter(function (N) { - var da; - return 1 === (null !== (da = N.EF) && void 0 !== da ? da : 1); - }), Q.length && (K = Q)); - Q = this.lx.reduce(function (N, da) { - return da.N ? c.__spread(N, da.N.iL()) : N; + this.Esa === k.jO.disabled ? P = [] : this.Esa === k.jO.nHb && (P = P.filter(function (ea) { + return G.S.rb(M.I.sna).On(ea.Rj.Da(ea.ud)); + })); + R || (R = P.filter(function (ea) { + var pa; + return 1 === (null !== (pa = ea.JF) && void 0 !== pa ? pa : 1); + }), R.length && (P = R)); + R = this.rx.reduce(function (ea, pa) { + return pa.N ? c.__spread(ea, pa.N.lL()) : ea; }, []); - return u.flatten(c.__spread(K, Q)); + return t.flatten(c.__spread(P, R)); }; - R.prototype.iH = function () { - if (this.Gc === k.Gr.CLOSED) + N.prototype.qH = function () { + if (this.Ic === k.Jr.CLOSED) throw Error("Engine CLOSED"); }; - R.prototype.yPb = function () { - var K, - da; + N.prototype.DPb = function () { + var M, + ea; try { - for (var Q = c.__values(this.Ko), N = Q.next(); !N.done; N = Q.next()) { - da = N.value; - da.Ag.clear(); - this.gr(da.Fa); + for (var P = c.__values(this.Lo), R = P.next(); !R.done; R = P.next()) { + ea = R.value; + ea.zg.clear(); + this.hr(ea.Ba); } } catch (va) { - var na; - na = { + var pa; + pa = { error: va }; } finally { try { - N && !N.done && (K = Q.return) && K.call(Q); + R && !R.done && (M = P.return) && M.call(P); } finally { - if (na) - throw na.error; + if (pa) + throw pa.error; } } }; - R.prototype.xPb = function () { - var K; + N.prototype.CPb = function () { + var M; try { - for (var Q = c.__values(this.IQ), N = Q.next(); !N.done; N = Q.next()) { - this.QM(N.value); + for (var P = c.__values(this.JQ), R = P.next(); !R.done; R = P.next()) { + this.QM(R.value); } - } catch (na) { - var da; - da = { - error: na + } catch (pa) { + var ea; + ea = { + error: pa }; } finally { try { - N && !N.done && (K = Q.return) && K.call(Q); + R && !R.done && (M = P.return) && M.call(P); } finally { - if (da) - throw da.error; + if (ea) + throw ea.error; } } }; - R.prototype.qh = function (K, Q, N, da, na, va) { - this.$Ta(K).forEach(function (ra) { - return ra.qh(Q, K, N, da, na, va); + N.prototype.ph = function (M, P, R, ea, pa, va) { + this.$Ta(M).forEach(function (ta) { + return ta.ph(P, M, R, ea, pa, va); }); }; - R.prototype.Lm = function (K) { - return this.$Ta(K).some(function (Q) { - return Q.Lm(); + N.prototype.Jm = function (M) { + return this.$Ta(M).some(function (P) { + return P.Jm(); }); }; - R.prototype.$Ta = function (K) { - return this.Ko.filter(function (Q) { - Q = Q.Fa.Fa; - return "" + K === "" + Q.Ca[Q.hg].da; - }).map(function (Q) { - return Q.Fa; + N.prototype.$Ta = function (M) { + return this.Lo.filter(function (P) { + P = P.Ba.Ba; + return "" + M === "" + P.wa[P.Oe].$; + }).map(function (P) { + return P.Ba; }); }; - R.prototype.f3 = function () { - var K; - K = new I.Oya(); - this.Ko.forEach(function (Q) { - var N, - da; - N = Q.Fa; - Q = Q.RV; - da = N.f3(); - da.EF = Q; - K.add(N.id, da); + N.prototype.h3 = function () { + var M; + M = new J.Mya(); + this.Lo.forEach(function (P) { + var R, + ea; + R = P.Ba; + P = P.QV; + ea = R.h3(); + ea.JF = P; + M.add(R.id, ea); }); - return K; + return M; }; - R.prototype.e3 = function () { - return this.yIb; + N.prototype.g3 = function () { + return this.AIb; }; - R.prototype.vnb = function () { - var K, - Q; - Q = P.CNa(this.I, this.R0); + N.prototype.wnb = function () { + var M, + P; + P = O.CNa(this.I, this.T0); return { - total: (K = {}, K[1] = this.R0.video || Infinity, K[0] = this.R0.audio || Infinity, K.total = this.R0.total || Infinity, K), - Asa: Q + total: (M = {}, M[1] = this.T0.video || Infinity, M[0] = this.T0.audio || Infinity, M.total = this.T0.total || Infinity, M), + tsa: P }; }; - R.prototype.px = function (K) { - this.qE.px(K); + N.prototype.ux = function (M) { + this.LA.ux(M); }; - R.prototype.BG = function (K) { - this.qE.BG(K); + N.prototype.IG = function (M) { + this.LA.IG(M); }; - R.prototype.apa = function () { - var K; - K = this.wC.reduce(function (Q, N) { - return Math.max(N.weight, 0) + Q; + N.prototype.Woa = function () { + var M; + M = this.yC.reduce(function (P, R) { + return Math.max(R.weight, 0) + P; }, 0); - this.Ko.forEach(function (Q) { - Q.RV = 0 >= Q.Fa.weight ? 0 : Q.Fa.weight / K; + this.Lo.forEach(function (P) { + P.QV = 0 >= P.Ba.weight ? 0 : P.Ba.weight / M; }); }; - R.prototype.kQb = function () {}; - R.EJb = 0; - c.__decorate([z.Xb({ + N.prototype.pQb = function () {}; + N.GJb = 0; + c.__decorate([z.Sb({ methodName: "open" - })], R.prototype, "open", null); - c.__decorate([z.Xb({ + })], N.prototype, "open", null); + c.__decorate([z.Sb({ methodName: "addPlaygraph", - context: function (K) { - var Q, - N; + context: function (M) { + var P, + R; return { - playgraphCount: null !== (N = null === (Q = K.SZa.Ko) || void 0 === Q ? void 0 : Q.length) && void 0 !== N ? N : 0 + playgraphCount: null !== (R = null === (P = M.RZa.Lo) || void 0 === P ? void 0 : P.length) && void 0 !== R ? R : 0 }; } - })], R.prototype, "GE", null); - c.__decorate([z.Xb({ + })], N.prototype, "HE", null); + c.__decorate([z.Sb({ methodName: "removePlaygraph", - context: function (K) { + context: function (M) { return { - playgraphCount: K.SZa.Ko.length + playgraphCount: M.RZa.Lo.length }; } - })], R.prototype, "gr", null); - c.__decorate([z.Xb({ + })], N.prototype, "hr", null); + c.__decorate([z.Sb({ methodName: "close" - })], R.prototype, "close", null); - c.__decorate([z.Xb({ + })], N.prototype, "close", null); + c.__decorate([z.Sb({ + methodName: "setStreamingMode", + Cq: !0 + })], N.prototype, "uSb", null); + c.__decorate([z.Sb({ methodName: "notifyAseException", - cs: !0 - })], R.prototype, "voa", null); - c.__decorate([z.Xb({ + Cq: !0 + })], N.prototype, "qoa", null); + c.__decorate([z.Sb({ + methodName: "requestViewable" + })], N.prototype, "W6", null); + c.__decorate([z.Sb({ + methodName: "removeViewable" + })], N.prototype, "Hqa", null); + c.__decorate([z.Sb({ methodName: "createViewable" - })], R.prototype, "eS", null); - c.__decorate([z.Xb({ + })], N.prototype, "dS", null); + c.__decorate([z.Sb({ methodName: "issueRequestOpportunity", - Jl: !0, + Il: !0, return : !0 - })], R.prototype, "C4", null); - c.__decorate([z.Xb({ + })], N.prototype, "C4", null); + c.__decorate([z.Sb({ methodName: "reportStreamingFailure", - cs: !0 - })], R.prototype, "qh", null); - return R; + Cq: !0 + })], N.prototype, "ph", null); + return N; })(); - b.Eua = q; - }, function (q, b, a) { + b.Bua = r; + }, function (r, b, a) { var f, k, l, @@ -104577,91 +104525,91 @@ a000.D9b = function () { h, m, n; - function c(r, p) { - return r.filter(function (u) { - return u.groupId === p.groupId; - }).reduce(l.QYa(function (u) { - return u.Zy.V; - }), p).Zy; + function c(q, p) { + return q.filter(function (t) { + return t.groupId === p.groupId; + }).reduce(l.NYa(function (t) { + return t.bz.V; + }), p).bz; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Qya = void 0; + b.Oya = void 0; f = a(2); - k = a(218); + k = a(219); l = a(30); d = a(14); g = a(9); h = a(114); - m = f.__importDefault(a(4)); - n = a(429); - q = (function () { - function r(p, u) { + m = f.__importDefault(a(5)); + n = a(433); + r = (function () { + function q(p, t) { this.H = p; - this.config = u; - this.gXa = 0; - this.Ph = new h.qA({ - hC: 10, - jt: this, + this.config = t; + this.eXa = 0; + this.Oh = new h.sA({ + jC: 10, + pt: this, source: "GraphStreamingProcess" }); } - r.prototype.d_a = function (p, u) { - var t, + q.prototype.b_a = function (p, t) { + var u, w, v, x, y, z, - B, A, - F, - D, + B, G, - I, - J; + D, + F, + J, + K; v = !1; x = []; - if (0 < u.length) { - y = this.sTb(u); - z = y.some(function (M) { - return 1 === n.ENa(M) && d.Vq(M.hf); + if (0 < t.length) { + y = this.vTb(t); + z = y.some(function (L) { + return 1 === n.ENa(L) && d.Uq(L.hf); }); - B = y.slice(); - A = [!1, !1]; + A = y.slice(); + B = [!1, !1]; try { for (var C = f.__values(y), E = C.next(); !E.done; E = C.next()) { - F = E.value; - if (F.VB && "global" !== A[F.mediaType]) { - D = F.JWa(p, null !== (w = F.EF) && void 0 !== w ? w : 1); - G = k.f1a(D.reason); - G && (A[F.mediaType] = G, l.nMa(B, F)); + G = E.value; + if (G.XB && "global" !== B[G.mediaType]) { + D = G.HWa(p, null !== (w = G.JF) && void 0 !== w ? w : 1); + F = k.f1a(D.reason); + F && (B[G.mediaType] = F, l.nMa(A, G)); if (D.result) { - I = c(B, F); - if (this.tob(F, z, I)) { - J = F.NWa(); - this.Zma(x, F, J.reason); - J.zp && (this.gXa = m.default.time.aa()); - if (v = J.zp) + J = c(A, G); + if (this.uob(G, z, J)) { + K = G.LWa(); + this.Tma(x, G, K.reason); + K.Bp && (this.eXa = m.default.time.ba()); + if (v = K.Bp) break; - } else if ((this.Zma(x, F, "concurrencyCheck"), !G)) + } else if ((this.Tma(x, G, "concurrencyCheck"), !F)) break; } else - this.Zma(x, F, D.reason); + this.Tma(x, G, D.reason); } } - } catch (M) { + } catch (L) { var H; H = { - error: M + error: L }; } finally { try { - E && !E.done && (t = C.return) && t.call(C); + E && !E.done && (u = C.return) && u.call(C); } finally { if (H) @@ -104669,73 +104617,73 @@ a000.D9b = function () { } } } - this.Ph.Ju({ - streamableCount: u.length, + this.Oh.Qu({ + streamableCount: t.length, streamableReasons: x, - lastSuccessfulIssueRequestMs: this.gXa + lastSuccessfulIssueRequestMs: this.eXa }); return v; }; - r.prototype.sTb = function (p) { - return this.RNb(p).sort(function (u, t) { - return u.priority - t.priority; - }).map(function (u) { - return u.ZTb; + q.prototype.vTb = function (p) { + return this.WNb(p).sort(function (t, u) { + return t.priority - u.priority; + }).map(function (t) { + return t.aUb; }); }; - r.prototype.RNb = function (p) { - var u; - u = this; - return p.map(function (t) { + q.prototype.WNb = function (p) { + var t; + t = this; + return p.map(function (u) { return { - priority: -n.DNa(u.config, t, u.H), - ZTb: t + priority: -n.DNa(t.config, u, t.H), + aUb: u }; }); }; - r.prototype.Zma = function (p, u, t) { - this.Ph.enabled && p.push(this.CBb(t, u)); + q.prototype.Tma = function (p, t, u) { + this.Oh.enabled && p.push(this.EBb(u, t)); }; - r.prototype.CBb = function (p, u) { + q.prototype.EBb = function (p, t) { return { - mediaType: u.mediaType, + mediaType: t.mediaType, reason: p, - bufferingState: u.hf, - currentPlayerMs: u.Cd.V, - pathCompletePlayerMs: u.Zy.V, - streamingPlayerMs: u.Ck.V + bufferingState: t.hf, + currentPlayerMs: t.ud.V, + pathCompletePlayerMs: t.bz.V, + streamingPlayerMs: t.Rj.V }; }; - r.prototype.tob = function (p, u, t) { - return this.config.KR && (u || d.Vq(p.hf)) ? this.uob(p, t) : this.vob(p, t); + q.prototype.uob = function (p, t, u) { + return this.config.LR && (t || d.Uq(p.hf)) ? this.vob(p, u) : this.wob(p, u); }; - r.prototype.wob = function (p) { - return p.Ck.Fy(p.Zy); + q.prototype.xob = function (p) { + return p.Rj.Iy(p.bz); }; - r.prototype.vob = function (p, u) { - var t; - t = p.Zy.Ba(p.Cd).V; - t = Math.max(this.config.Zna, Math.min(t * this.config.Hsa, this.config.aIb)); - u = p.Cd.greaterThan(u) ? p.Cd : u; - return p.Ck.Ba(u).V <= t; + q.prototype.wob = function (p, t) { + var u; + u = p.bz.Da(p.ud).V; + u = Math.max(this.config.Una, Math.min(u * this.config.Bsa, this.config.dIb)); + t = p.ud.greaterThan(t) ? p.ud : t; + return p.Rj.Da(t).V <= u; }; - r.prototype.uob = function (p, u) { - var t, + q.prototype.vob = function (p, t) { + var u, w; - if (void 0 === this.config.KR) + if (void 0 === this.config.LR) return !0; - t = g.S.rb(this.config.KR); - w = p.Cd.add(t); - return p.Ck.Fy(w) ? !0 : this.wob(p) && u.xp(w) && p.Ck.Ba(u).lessThan(t); + u = g.S.rb(this.config.LR); + w = p.ud.add(u); + return p.Rj.Iy(w) ? !0 : this.xob(p) && t.On(w) && p.Rj.Da(t).lessThan(u); }; - f.__decorate([h.Xb({ + f.__decorate([h.Sb({ methodName: "onRequestOpportunity", - Jl: !0 - })], r.prototype, "d_a", null); - return r; + Il: !0 + })], q.prototype, "b_a", null); + return q; })(); - b.Qya = q; - }, function (q, b, a) { + b.Oya = r; + }, function (r, b, a) { var c, f, k, @@ -104750,64 +104698,64 @@ a000.D9b = function () { value: !0 } }); - b.Yua = void 0; + b.Vua = void 0; c = a(2); f = a(16); k = a(9); l = a(6); - d = c.__importDefault(a(4)); - g = a(67); + d = c.__importDefault(a(5)); + g = a(68); h = a(30); - m = a(930); - q = a(430); - n = a(932); - a = (function (r) { - function p(u, t, w) { + m = a(932); + r = a(434); + n = a(934); + a = (function (q) { + function p(t, u, w) { var v; - v = r.call(this) || this; - v.T = u; - v.Fd = t; - v.Eu = w; - v.zS = []; - v.xca = new f.zh(); + v = q.call(this) || this; + v.T = t; + v.Ed = u; + v.Ju = w; + v.yS = []; + v.rca = new f.xh(); v.H = new d.default.Console("ASEJS", "media|asejs"); - v.xca.on(v.T, "underflow", function () { - return v.Ij(); + v.rca.on(v.T, "underflow", function () { + return v.Hj(); }); - v.dQ = new n.zEa(u); - v.xca.on(v.T, "skipped", function () { - return v.fV(); + v.dQ = new n.xEa(t); + v.rca.on(v.T, "skipped", function () { + return v.eV(); }); - v.bx = new g.PP(v.dQ, v.H, "player"); - v.jua = new k.BZ(); + v.gx = new g.QP(v.dQ, v.H, "player"); + v.gua = new k.CZ(); return v; } - c.__extends(p, r); + c.__extends(p, q); Object.defineProperties(p.prototype, { - cw: { + gw: { get: function () { - var u; - return null === (u = this.ih) || void 0 === u ? void 0 : u.cw; + var t; + return null === (t = this.eh) || void 0 === t ? void 0 : t.gw; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - st: { + xt: { get: function () { - return this.bx; + return this.gx; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - Ab: { + Cb: { get: function () { - var u, - t; - return null !== (t = null === (u = this.ih) || void 0 === u ? void 0 : u.iy()) && void 0 !== t ? t : []; + var t, + u; + return null !== (u = null === (t = this.eh) || void 0 === t ? void 0 : t.ny()) && void 0 !== u ? u : []; }, enumerable: !1, configurable: !0 @@ -104816,15 +104764,15 @@ a000.D9b = function () { Object.defineProperties(p.prototype, { qa: { get: function () { - var u; - return null === (u = this.ih) || void 0 === u ? void 0 : u.qa; + var t; + return null === (t = this.eh) || void 0 === t ? void 0 : t.qa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(p.prototype, { - wa: { + xa: { get: function () { return this.dQ; }, @@ -104833,177 +104781,177 @@ a000.D9b = function () { } }); Object.defineProperties(p.prototype, { - zz: { + Cz: { get: function () { - var u; - return !(null === (u = this.ih) || void 0 === u || !u.zz); + var t; + return !(null === (t = this.eh) || void 0 === t || !t.Cz); }, enumerable: !1, configurable: !0 } }); - p.prototype.qW = function (u) { - -1 === this.zS.indexOf(u) && this.zS.push(u); - this.ih && this.ih.dV(u); + p.prototype.pW = function (t) { + -1 === this.yS.indexOf(t) && this.yS.push(t); + this.eh && this.eh.cV(t); this.events.emit("drmReady", { - viewableId: u + viewableId: t }); }; - p.prototype.Ura = function (u) { - u = this.zS.indexOf(u); - -1 !== u && this.zS.splice(u, 1); + p.prototype.Nra = function (t) { + t = this.yS.indexOf(t); + -1 !== t && this.yS.splice(t, 1); }; - p.prototype.Qn = function (u) { - var t; - return -1 !== this.zS.indexOf(u) || !(null === (t = h.wg(this.Ab, function (w) { - return w.N.da === u; - })) || void 0 === t || !t.N.Gi); - }; - p.prototype.reset = function () { + p.prototype.Sn = function (t) { var u; - this.jua = new k.BZ(); - r.prototype.reset.call(this); - this.jE = void 0; - null === (u = this.ih) || void 0 === u ? void 0 : u.reset(); + return -1 !== this.yS.indexOf(t) || !(null === (u = h.wg(this.Cb, function (w) { + return w.N.$ === t; + })) || void 0 === u || !u.N.Gi); }; - p.prototype.bW = function (u) { + p.prototype.reset = function () { var t; - r.prototype.bW.call(this, u); - null === (t = this.ih) || void 0 === t ? void 0 : t.bW(u); + this.gua = new k.CZ(); + q.prototype.reset.call(this); + this.mE = void 0; + null === (t = this.eh) || void 0 === t ? void 0 : t.reset(); }; - p.prototype.TE = function () { + p.prototype.aW = function (t) { var u; - null === (u = this.ih) || void 0 === u ? void 0 : u.TE(); - }; - p.prototype.pause = function (u) { - this.bH(u); - r.prototype.pause.call(this, null !== u && void 0 !== u ? u : this.Fd); + q.prototype.aW.call(this, t); + null === (u = this.eh) || void 0 === u ? void 0 : u.aW(t); }; - p.prototype.resume = function (u) { + p.prototype.UE = function () { var t; - null === (t = this.ih) || void 0 === t ? void 0 : t.resume(u); - r.prototype.resume.call(this, null !== u && void 0 !== u ? u : this.Fd); - }; - p.prototype.wb = function () { - this.Vr = this.G3() ? this.vp() : void 0; - this.ih && this.Cha(this.ih.qa); - this.dQ.wb(); - this.bx.wb(); - this.xca.clear(); - r.prototype.wb.call(this); - }; - p.prototype.ZK = function () { - var u, - t; - if (null === (u = this.ih) || void 0 === u ? 0 : u.QNb) { - u = this.T.qc; - if (this.wa.tk) { - if (this.jE) { - if (this.jE.greaterThan(u)) - return (u = this.jE.Ba(u), this.jua.push(u.V), this.jE); - if (this.Ab.length) { - t = this.ih.fGb; - if (t && t.lessThan(u)) + null === (t = this.eh) || void 0 === t ? void 0 : t.UE(); + }; + p.prototype.pause = function (t) { + this.jH(t); + q.prototype.pause.call(this, null !== t && void 0 !== t ? t : this.Ed); + }; + p.prototype.resume = function (t) { + var u; + null === (u = this.eh) || void 0 === u ? void 0 : u.resume(t); + q.prototype.resume.call(this, null !== t && void 0 !== t ? t : this.Ed); + }; + p.prototype.zb = function () { + this.Zr = this.H3() ? this.xp() : void 0; + this.eh && this.wha(this.eh.qa); + this.dQ.zb(); + this.gx.zb(); + this.rca.clear(); + q.prototype.zb.call(this); + }; + p.prototype.cL = function () { + var t, + u; + if (null === (t = this.eh) || void 0 === t ? 0 : t.VNb) { + t = this.T.vc; + if (this.xa.tk) { + if (this.mE) { + if (this.mE.greaterThan(t)) + return (t = this.mE.Da(t), this.gua.push(t.V), this.mE); + if (this.Cb.length) { + u = this.eh.hGb; + if (u && u.lessThan(t)) return (this.events.emit("logdata", { type: "logdata", target: "endplay", - Sb: { + Vb: { clockdrift: { type: "count" } } - }), this.jE); + }), this.mE); } } - this.jE = u; + this.mE = t; } - return u; + return t; } - return r.prototype.ZK.call(this); - }; - p.prototype.up = function () { - var u; - u = this.T.playbackRate; - void 0 === u && (u = r.prototype.up.call(this)); - return u; - }; - p.prototype.G3 = function () { - return !!this.Vr || 0 < this.Ab.length; + return q.prototype.cL.call(this); }; p.prototype.vp = function () { - if (this.Vr) - return this.Vr; - l.assert(0 < this.Ab.length, "Could not find presenting branch. Player has no branches."); - return this.Mh; - }; - p.prototype.Cha = function (u) { var t; - l.assert(u === this.qa); - null === (t = this.ih) || void 0 === t ? void 0 : t.wb(); - this.ih = void 0; - }; - p.prototype.H0 = function (u, t) { - this.Vr = void 0; - if (t = r.prototype.H0.call(this, u, t)) - (this.ih = new m.mva(u, this, this.H, u.config, this.Eu, this.events, this.Fd, this.bx, this.DA, this.CA), this.bH(this.vM)); + t = this.T.playbackRate; + void 0 === t && (t = q.prototype.vp.call(this)); return t; }; - p.prototype.hia = function () { + p.prototype.H3 = function () { + return !!this.Zr || 0 < this.Cb.length; + }; + p.prototype.xp = function () { + if (this.Zr) + return this.Zr; + l.assert(0 < this.Cb.length, "Could not find presenting branch. Player has no branches."); + return this.Lh; + }; + p.prototype.wha = function (t) { + var u; + l.assert(t === this.qa); + null === (u = this.eh) || void 0 === u ? void 0 : u.zb(); + this.eh = void 0; + }; + p.prototype.J0 = function (t, u) { + this.Zr = void 0; + if (u = q.prototype.J0.call(this, t, u)) + (this.eh = new m.jva(t, this, this.H, t.config, this.Ju, this.events, this.Ed, this.gx, this.FA, this.EA), this.jH(this.xM)); + return u; + }; + p.prototype.aia = function () { var w; - for (var u = [], t = 0; t < arguments.length; t++) { - u[t] = arguments[t]; + for (var t = [], u = 0; u < arguments.length; u++) { + t[u] = arguments[u]; } - w = this.ih; + w = this.eh; l.assert(w); - u.forEach(function (v) { - return w.Nvb(v); + t.forEach(function (v) { + return w.Tvb(v); }); }; - p.prototype.bi = function (u) { - var t, + p.prototype.bi = function (t) { + var u, w, v; - if (!this.ih) + if (!this.eh) return !1; - t = this.P2(u); - if (!t) + u = this.Q2(t); + if (!u) return !1; - w = t.P; - v = k.S.rb(this.Eu.jC); - return w.Ll.Ba(v).lessThan(u) || !t.YR(u) ? !1 : this.ih.bi(u); + w = u.P; + v = k.S.rb(this.Ju.lC); + return w.Kl.Da(v).lessThan(t) || !u.ZR(t) ? !1 : this.eh.bi(t); }; - p.prototype.Ij = function () { - var u, - t, + p.prototype.Hj = function () { + var t, + u, w; - t = this.Cd; + u = this.ud; l.assert(this.qa); - w = this.dr(t); + w = this.er(u); l.assert(w); - null === (u = this.ih) || void 0 === u ? void 0 : u.Ij(); - u = this.P2(t); - null === u || void 0 === u ? void 0 : u.N.Ij(); - this.qa.Ij(w); + null === (t = this.eh) || void 0 === t ? void 0 : t.Hj(); + t = this.Q2(u); + null === t || void 0 === t ? void 0 : t.N.Hj(); + this.qa.Hj(w); }; - p.prototype.fV = function () { - this.jE = void 0; + p.prototype.eV = function () { + this.mE = void 0; }; - p.prototype.sja = function () { - var u; - return null === (u = this.ih) || void 0 === u ? void 0 : u.sja(); - }; - p.prototype.bH = function (u) { + p.prototype.lja = function () { var t; - null === (t = this.ih) || void 0 === t ? void 0 : t.bH(u); + return null === (t = this.eh) || void 0 === t ? void 0 : t.lja(); }; - p.prototype.mta = function (u) { - l.assert(this.qa && this.ih); - return r.prototype.mta.call(this, u); + p.prototype.jH = function (t) { + var u; + null === (u = this.eh) || void 0 === u ? void 0 : u.jH(t); + }; + p.prototype.hta = function (t) { + l.assert(this.qa && this.eh); + return q.prototype.hta.call(this, t); }; return p; - })(q.Vaa); - b.Yua = a; - }, function (q, b, a) { + })(r.Oaa); + b.Vua = a; + }, function (r, b, a) { var c, f, k, @@ -105013,296 +104961,296 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.mva = void 0; + b.jva = void 0; c = a(2); - f = a(417); - k = c.__importDefault(a(4)); - l = a(247); + f = a(421); + k = c.__importDefault(a(5)); + l = a(248); a(14); - d = a(242); + d = a(243); g = a(9); h = a(30); - m = a(67); - n = a(378); - r = a(6); - p = a(931); - q = (function () { - function u(t, w, v, x, y, z, B, A, C, E) { - var F; - F = this; - this.qa = t; + m = a(68); + n = a(221); + q = a(6); + p = a(933); + r = (function () { + function t(u, w, v, x, y, z, A, B, C, E) { + var G; + G = this; + this.qa = u; this.T = w; this.H = v; this.I = x; - this.Eu = y; - this.Bh = z; - this.Fd = B; - this.st = A; - this.DA = C; - this.CA = E; - this.SZ = !1; - this.WIa = new g.oGa(); - this.nda = this.yKb.bind(this); - this.oj = new l.PX(this.H); - this.cw = new p.oHa(this.H, t); - this.dsb(this.cw); - this.Lk && (this.wib = this.rja(this.XAb()), this.chb = g.nq.iua(this.Lk.map(function (D) { - return D.Ry; + this.Ju = y; + this.zh = z; + this.Ed = A; + this.xt = B; + this.FA = C; + this.EA = E; + this.UZ = !1; + this.UIa = new g.kGa(); + this.hda = this.AKb.bind(this); + this.lj = new l.OX(this.H); + this.gw = new p.kHa(this.H, u); + this.esb(this.gw); + this.Lk && (this.xib = this.kja(this.ZAb()), this.dhb = g.pq.fua(this.Lk.map(function (D) { + return D.Uy; }), function (D) { - return D.every(function (G) { - return G; + return D.every(function (F) { + return F; }); }, function (D) { - return F.DA.set(D); - }), this.gfb = new n.paa(this.Lk.map(function (D) { - return D.fU; + return G.FA.set(D); + }), this.hfb = new n.haa(this.Lk.map(function (D) { + return D.eU; }), function (D) { return g.S.min.apply(g.S, c.__spread(D)); }, function (D) { - F.CA.set(D); + G.EA.set(D); }, g.S.rb(-Infinity))); - this.Lo = A.mB(function () { - return F.Rmb(); + this.Mo = B.nB(function () { + return G.Smb(); }, "branchPruner"); } - u.prototype.Rmb = function () { - var t, + t.prototype.Smb = function () { + var u, w, v, x, y, z, - B; - return c.__generator(this, function (A) { - switch (A.label) { + A; + return c.__generator(this, function (B) { + switch (B.label) { case 0: - if (!this.oj.yOa) + if (!this.lj.wOa) return [3, 2]; - t = c.__read(this.oj.hta(), 1); - w = t[0]; - v = null !== (B = null === (z = this.Eu.vN) || void 0 === z ? void 0 : z.V) && void 0 !== B ? B : 0; - x = w.Kma || w.pf; + u = c.__read(this.lj.bta(), 1); + w = u[0]; + v = null !== (A = null === (z = this.Ju.wN) || void 0 === z ? void 0 : z.V) && void 0 !== A ? A : 0; + x = w.Ema || w.pf; y = x.add(g.S.rb(v + 1E3)); - return [4, m.mj.YN(y)]; + return [4, m.jj.YN(y)]; case 1: - return (A.Oe(), this.oj.remove(w), w.events.removeListener("branchEdited", this.nda), w.zf(), [3, 0]); + return (B.Wd(), this.lj.remove(w), w.events.removeListener("branchEdited", this.hda), w.Bf(), [3, 0]); case 2: return [2]; } }); }; - Object.defineProperties(u.prototype, { - QNb: { + Object.defineProperties(t.prototype, { + VNb: { get: function () { - var t; - return !(null === (t = this.wib) || void 0 === t || !t.Ry.value); + var u; + return !(null === (u = this.xib) || void 0 === u || !u.Uy.value); }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - zz: { + Object.defineProperties(t.prototype, { + Cz: { get: function () { - var t; - return !(null === (t = this.Lk[0]) || void 0 === t || !t.zz); + var u; + return !(null === (u = this.Lk[0]) || void 0 === u || !u.Cz); }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(u.prototype, { - fGb: { + Object.defineProperties(t.prototype, { + hGb: { get: function () { - return this.SZ ? g.S.max.apply(g.S, c.__spread(this.Lk.map(function (t) { + return this.UZ ? g.S.max.apply(g.S, c.__spread(this.Lk.map(function (u) { var w; - return null === (w = t.Nlb) || void 0 === w ? void 0 : w.bXa; + return null === (w = u.Nlb) || void 0 === w ? void 0 : w.$Wa; }).filter(h.S5))) : void 0; }, enumerable: !1, configurable: !0 } }); - u.prototype.yKb = function () { - var t; - this.Lo.nl(); - t = this.Lk.filter(function (w) { - return w.tEb; + t.prototype.AKb = function () { + var u; + this.Mo.ml(); + u = this.Lk.filter(function (w) { + return w.wEb; }).map(function (w) { return w.mediaType; }); - this.bH(t); - this.resume(t); + this.jH(u); + this.resume(u); }; - u.prototype.Nvb = function (t) { - t.events.addListener("branchEdited", this.nda); - this.oj.enqueue(t); - this.Lo.state === m.ul.complete && this.Lo.nl(); - t.P.Pt && this.oj.i2(); - this.SZ || this.gxb(t); + t.prototype.Tvb = function (u) { + u.events.addListener("branchEdited", this.hda); + this.lj.enqueue(u); + this.Mo.state === m.tl.complete && this.Mo.ml(); + u.P.Vt && this.lj.j2(); + this.UZ || this.mxb(u); }; - u.prototype.dV = function (t) { + t.prototype.cV = function (u) { this.Lk.forEach(function (w) { - w.dV(t); + w.cV(u); }); }; - u.prototype.reset = function () { - this.Lk.forEach(function (t) { - t.reset(); + t.prototype.reset = function () { + this.Lk.forEach(function (u) { + u.reset(); }); - this.SZ = !1; - this.WIa.removeAllListeners(); - this.TE(); + this.UZ = !1; + this.UIa.removeAllListeners(); + this.UE(); }; - u.prototype.bW = function (t) { - t = this.rja(t); - null === t || void 0 === t ? void 0 : t.reset(); + t.prototype.aW = function (u) { + u = this.kja(u); + null === u || void 0 === u ? void 0 : u.reset(); }; - u.prototype.TE = function () { - var t; - t = this; - this.oj.hta().forEach(function (w) { - return w.events.removeListener("branchEdited", t.nda); + t.prototype.UE = function () { + var u; + u = this; + this.lj.bta().forEach(function (w) { + return w.events.removeListener("branchEdited", u.hda); }); - this.oj.clear(); - this.Lo.nl(); + this.lj.clear(); + this.Mo.ml(); }; - u.prototype.resume = function (t) { + t.prototype.resume = function (u) { this.Lk.forEach(function (w) { - void 0 !== t && -1 === t.indexOf(w.mediaType) || w.resume(); + void 0 !== u && -1 === u.indexOf(w.mediaType) || w.resume(); }); }; - u.prototype.bH = function (t) { + t.prototype.jH = function (u) { this.Lk.forEach(function (w) { - return (void 0 === t || -1 !== t.indexOf(w.mediaType)) && w.stop(); + return (void 0 === u || -1 !== u.indexOf(w.mediaType)) && w.stop(); }); }; - u.prototype.Ij = function () { + t.prototype.Hj = function () { this.H.trace("attached-player: onUnderflow"); }; - u.prototype.nUa = function () { - return this.oj.getIterator(); + t.prototype.nUa = function () { + return this.lj.getIterator(); }; - u.prototype.Qzb = function () { - return this.iy()[0]; + t.prototype.Uzb = function () { + return this.ny()[0]; }; - u.prototype.iy = function () { - return this.oj.hta(); + t.prototype.ny = function () { + return this.lj.bta(); }; - u.prototype.dsb = function (t) { + t.prototype.esb = function (u) { var w, v; w = this; - this.zl("createMediaSourceStart"); - if (this.Eu.uT) - v = this.Eu.uT(); - else (v = new k.default.MediaSource(this.T.T), v.Ub || (v.Ub = k.default.MediaSource.Ub)); + this.yl("createMediaSourceStart"); + if (this.Ju.sT) + v = this.Ju.sT(); + else (v = new k.default.MediaSource(this.T.T), v.Wb || (v.Wb = k.default.MediaSource.Wb)); if (1 !== v.readyState) - this.Mo("exception in init", "NFErr_MC_StreamingInitFailure"); + this.No("exception in init", "NFErr_MC_StreamingInitFailure"); else { - this.zl("createMediaSourceEnd"); - this.xf = v; - if (!v.w0(this.Fd)) - throw (this.H.trace("Error:", v.error), this.Mo("error creating source buffers", "NFErr_MC_StreamingInitFailure"), v.error); + this.yl("createMediaSourceEnd"); + this.zf = v; + if (!v.y0(this.Ed)) + throw (this.H.trace("Error:", v.error), this.No("error creating source buffers", "NFErr_MC_StreamingInitFailure"), v.error); this.Lk = v.sourceBuffers.filter(function (x) { - return 0 <= w.Fd.indexOf(x.mediaType); + return 0 <= w.Ed.indexOf(x.mediaType); }).map(function (x) { var y; - y = new d.E9(w.H, x.mediaType, v, x, w.I, { - xe: function () { - return w.T.Cd.V; + y = new d.z9(w.H, x.mediaType, v, x, w.I, { + ye: function () { + return w.T.ud.V; }, - Qn: function (z) { - return w.T.Qn(z.da); + Sn: function (z) { + return w.T.Sn(z.$); } - }, w.st); + }, w.xt); y.addListener("error", function (z) { - return w.Mo(z.errorstr); + return w.No(z.errorstr); }); y.addListener("logdata", function (z) { - return w.Bh.emit("logdata", z); + return w.zh.emit("logdata", z); }); - return new f.t9(y, x.mediaType, w, w.I, w.H, w.T, w.Eu, w.st, t); + return new f.o9(y, x.mediaType, w, w.I, w.H, w.T, w.Ju, w.xt, u); }); } }; - u.prototype.wb = function () { - this.chb.clear(); - this.gfb.clear(); - this.Lk.forEach(function (t) { - return t.wb(); + t.prototype.zb = function () { + this.dhb.clear(); + this.hfb.clear(); + this.Lk.forEach(function (u) { + return u.zb(); }); - this.Eu.uT || this.xf.gp(); - this.TE(); - this.Lo.wb(); + this.Ju.sT || this.zf.hp(); + this.UE(); + this.Mo.zb(); }; - u.prototype.bi = function (t) { + t.prototype.bi = function (u) { return this.Lk.every(function (w) { - return w.bi(t); + return w.bi(u); }); }; - u.prototype.sja = function () { + t.prototype.lja = function () { return { - COb: this.iy(), - RMb: this.Lk + HOb: this.ny(), + UMb: this.Lk }; }; - u.prototype.gxb = function (t) { + t.prototype.mxb = function (u) { var w; w = this; - this.SZ = !0; - t.Fg.forEach(function (v) { + this.UZ = !0; + u.Dg.forEach(function (v) { var x; - x = w.rja(v.mediaType); + x = w.kja(v.mediaType); if (void 0 !== x) - w.WIa.once(v.Sia, function (y) { - return x.hxb(y); + w.UIa.once(v.Lia, function (y) { + return x.nxb(y); }); }); - if (t.Xc) - this.HQa(); + if (u.Wc) + this.FQa(); else - t.events.once("branchNormalized", function () { - return w.HQa(); + u.events.once("branchNormalized", function () { + return w.FQa(); }); }; - u.prototype.HQa = function () { - var t; - t = this.Qzb(); - t && (r.assert(t.Ui), this.Bh.emit("ptsChanged", { - initialTimestamp: t.Ui + t.prototype.FQa = function () { + var u; + u = this.Uzb(); + u && (q.assert(u.Si), this.zh.emit("ptsChanged", { + initialTimestamp: u.Si })); }; - u.prototype.rja = function (t) { + t.prototype.kja = function (u) { return h.wg(this.Lk, function (w) { - return w.mediaType === t; + return w.mediaType === u; }); }; - u.prototype.XAb = function () { - return -1 !== this.Fd.indexOf(1) ? 1 : 0; + t.prototype.ZAb = function () { + return -1 !== this.Ed.indexOf(1) ? 1 : 0; }; - u.prototype.zl = function (t) { - t = { + t.prototype.yl = function (u) { + u = { type: "startEvent", - event: t, - time: k.default.time.aa() + event: u, + time: k.default.time.ba() }; - this.Bh.emit(t.type, t); + this.zh.emit(u.type, u); }; - u.prototype.Mo = function (t, w) { - this.qa.qh(t, void 0, w); + t.prototype.No = function (u, w) { + this.qa.ph(u, void 0, w); }; - return u; + return t; })(); - b.mva = q; - }, function (q, b, a) { + b.jva = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -105310,207 +105258,207 @@ a000.D9b = function () { value: !0 } }); - b.oHa = void 0; - c = a(2).__importDefault(a(4)); + b.kHa = void 0; + c = a(2).__importDefault(a(5)); f = a(39); - q = (function () { + r = (function () { function k(l, d) { this.H = l; - this.wJ = d; + this.yJ = d; } - k.prototype.KC = function (l, d, g, h, m) { + k.prototype.LC = function (l, d, g, h, m) { var n, - r; + q; void 0 === m && (m = !1); n = l.P; - r = this.ngb(n); - this.XQ = { - startTime: c.default.time.aa(), - vTb: l, - uTb: g.V, - Oub: d, - Yd: this.eAb(h, d), - MVb: this.MBb(h, m), - vha: m, - Be: h, - WNa: r, - DJb: this.yAb(n, g) + q = this.ogb(n); + this.ZQ = { + startTime: c.default.time.ba(), + yTb: l, + xTb: g.V, + Sub: d, + ie: this.hAb(h, d), + OVb: this.OBb(h, m), + pha: m, + De: h, + UNa: q, + FJb: this.BAb(n, g) }; }; - k.prototype.Yja = function (l) { + k.prototype.Sja = function (l) { var d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y; - if (this.XQ && 0 !== Object.keys(this.XQ.WNa).length && l === this.XQ.Oub) { - d = this.XQ; - g = d.WNa; - h = d.DJb; - m = d.vha; - n = d.Be; - r = d.vTb; - p = d.uTb; - u = d.startTime; - t = d.Yd; - d = d.MVb; - this.XQ = void 0; - w = this.Fca(l).Eq; - v = this.iyb(r.P.id, l, g); - w = this.GJa(v.weight, w); + if (this.ZQ && 0 !== Object.keys(this.ZQ.UNa).length && l === this.ZQ.Sub) { + d = this.ZQ; + g = d.UNa; + h = d.FJb; + m = d.pha; + n = d.De; + q = d.yTb; + p = d.xTb; + t = d.startTime; + u = d.ie; + d = d.OVb; + this.ZQ = void 0; + w = this.zca(l).Gq; + v = this.oyb(q.P.id, l, g); + w = this.EJa(v.weight, w); x = {}; for (y in g) { y !== l && (x[y] = g[y].details); } - g = c.default.time.aa() - u; + g = c.default.time.ba() - t; return { segment: l, - srcsegment: r.P.id, - srcsegmentduration: r.p8.V, - srcoffset: this.xBb(r, p, n, m), + srcsegment: q.P.id, + srcsegmentduration: q.l8.V, + srcoffset: this.zBb(q, p, n, m), seamlessRequested: n, atRequest: v, atTransition: w, discard: x, - transitionType: t, + transitionType: u, transitionTypeAtRequest: d, - delayToTransition: this.bzb(g, n, m), + delayToTransition: this.fzb(g, n, m), durationOfTransition: n ? 0 : g, nextExitPositionAtRequest: h }; } }; - k.prototype.iyb = function (l, d, g) { + k.prototype.oyb = function (l, d, g) { var h, m, n; n = {}; - (g = g[d]) ? n = g.details : (f.assert(this.wJ), n.weight = null === (m = null === (h = this.wJ.Fa.Ca[l].next) || void 0 === h ? void 0 : h[d]) || void 0 === m ? void 0 : m.weight); + (g = g[d]) ? n = g.details : (f.assert(this.yJ), n.weight = null === (m = null === (h = this.yJ.Ba.wa[l].next) || void 0 === h ? void 0 : h[d]) || void 0 === m ? void 0 : m.weight); return n; }; - k.prototype.bzb = function (l, d, g) { + k.prototype.fzb = function (l, d, g) { var h; g || (h = d ? l : 0); return h; }; - k.prototype.yAb = function (l, d) { + k.prototype.BAb = function (l, d) { var g, h, m; - h = l.uh.add(d); - null === (g = l.Qv) || void 0 === g ? void 0 : g.some(function (n) { - h.lessThan(n.Xc) && (m = n.Xc.V); + h = l.th.add(d); + null === (g = l.Vv) || void 0 === g ? void 0 : g.some(function (n) { + h.lessThan(n.Wc) && (m = n.Wc.V); }); return m; }; - k.prototype.xBb = function (l, d, g, h) { - return g || h ? l.p8.V : d; + k.prototype.zBb = function (l, d, g, h) { + return g || h ? l.l8.V : d; }; - k.prototype.eAb = function (l, d) { - return l ? "seamless" : this.Fca(d).JT ? "reset" : "long"; + k.prototype.hAb = function (l, d) { + return l ? "seamless" : this.zca(d).HT ? "reset" : "long"; }; - k.prototype.MBb = function (l, d) { + k.prototype.OBb = function (l, d) { return l || d ? "lazy" : "immediate"; }; - k.prototype.ngb = function (l) { + k.prototype.ogb = function (l) { var d, g; d = this; g = {}; - l.Uy.forEach(function (h) { + l.Xy.forEach(function (h) { var m, n; - m = l.GJb[h]; - n = d.Fca(h).Eq; + m = l.IJb[h]; + n = d.zca(h).Gq; g[h] = { - details: d.GJa(m, n) + details: d.EJa(m, n) }; }); return g; }; - k.prototype.Fca = function (l) { + k.prototype.zca = function (l) { var d, g; - l = this.wJ.vja(l); + l = this.yJ.oja(l); d = 0 < l.length ? l[0] : void 0; - l = null === d || void 0 === d ? void 0 : d.sF(); + l = null === d || void 0 === d ? void 0 : d.wF(); if (!l) return { - JT: !1, - Eq: { - ro: 0, - Zr: 0, - Jz: 0, - fR: 0 + HT: !1, + Gq: { + so: 0, + fs: 0, + Mz: 0, + hR: 0 } }; - g = d && d.Ra(0) && 0 === l.Zr; - d = d && d.Ra(1) && 0 === l.ro; + g = d && d.Sa(0) && 0 === l.fs; + d = d && d.Sa(1) && 0 === l.so; return { - JT: !g && !d, - Eq: l + HT: !g && !d, + Gq: l }; }; - k.prototype.GJa = function (l, d) { + k.prototype.EJa = function (l, d) { return { weight: l, - vbuflmsec: d.ro, - abuflmsec: d.Zr, - vbuflbytes: d.Jz, - abuflbytes: d.fR + vbuflmsec: d.so, + abuflmsec: d.fs, + vbuflbytes: d.Mz, + abuflbytes: d.hR }; }; return k; })(); - b.oHa = q; - }, function (q, b, a) { + b.kHa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.zEa = void 0; + b.xEa = void 0; c = a(16); - q = a(43); + r = a(43); a = (function () { function f(k) { var l; l = this; this.T = k; - this.Uca = !1; - this.dE = new c.zh(); - this.dE.on(k, "paused", function () { + this.Oca = !1; + this.gE = new c.xh(); + this.gE.on(k, "paused", function () { return l.g6(); }); - this.dE.on(k, "playing", function () { + this.gE.on(k, "playing", function () { return l.g6(!0); }); - this.dE.on(k, "underflow", function () { + this.gE.on(k, "underflow", function () { return l.g6(); }); - this.dE.on(k, "skipped", function () { - return l.fV(); + this.gE.on(k, "skipped", function () { + return l.eV(); }); - this.dE.on(k, "clockAdjusted", function () { - return l.cV(); + this.gE.on(k, "clockAdjusted", function () { + return l.bV(); }); - this.dE.on(k, "playbackRateChanged", function () { - return l.TKb(); + this.gE.on(k, "playbackRateChanged", function () { + return l.VKb(); }); } Object.defineProperties(f.prototype, { currentTime: { get: function () { - return this.MKa || this.T.qc; + return this.KKa || this.T.vc; }, enumerable: !1, configurable: !0 @@ -105519,7 +105467,7 @@ a000.D9b = function () { Object.defineProperties(f.prototype, { tk: { get: function () { - return this.Uca; + return this.Oca; }, enumerable: !1, configurable: !0 @@ -105537,34 +105485,34 @@ a000.D9b = function () { }); f.prototype.g6 = function (k) { void 0 === k && (k = !1); - k !== this.Uca && (this.MKa = (this.Uca = k) ? void 0 : this.T.qc); + k !== this.Oca && (this.KKa = (this.Oca = k) ? void 0 : this.T.vc); this.emit("stopStart", { type: "stopStart" }); }; - f.prototype.fV = function () { - this.MKa = void 0; - this.cV(); + f.prototype.eV = function () { + this.KKa = void 0; + this.bV(); }; - f.prototype.cV = function () { + f.prototype.bV = function () { this.emit("clockAdjusted", { type: "clockAdjusted" }); }; - f.prototype.TKb = function () { + f.prototype.VKb = function () { this.emit("speedChanged", { type: "speedChanged" }); }; - f.prototype.wb = function () { + f.prototype.zb = function () { this.g6(); - this.dE.clear(); + this.gE.clear(); }; return f; })(); - b.zEa = a; - q.tf(c.EventEmitter, a); - }, function (q, b, a) { + b.xEa = a; + r.tf(c.EventEmitter, a); + }, function (r, b, a) { var c, f, k, @@ -105574,412 +105522,410 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Zua = void 0; + b.Wua = void 0; c = a(2); f = a(16); - k = a(226); + k = a(222); l = a(14); - d = a(934); + d = a(936); g = a(9); - h = a(935); - m = a(936); - n = c.__importDefault(a(4)); - r = a(6); - p = a(937); - u = a(30); - t = a(67); + h = a(937); + m = a(938); + n = c.__importDefault(a(5)); + q = a(6); + p = a(939); + t = a(30); + u = a(68); w = a(95); v = a(54); - x = a(431); - y = a(255); - z = a(256); - B = a(938); - A = a(114); + x = a(435); + y = a(256); + z = a(257); + A = a(940); + B = a(114); C = c.__importDefault(a(146)); - E = a(939); - F = a(940); - D = a(941); + E = a(941); G = a(942); - I = a(943); - J = a(944); - H = a(945); - M = a(948); - O = a(950); - L = a(951); - P = a(952); - R = a(953); - K = a(954); - Q = a(956); - N = a(957); - da = a(958); - na = a(959); - va = a(960); - q = (function () { - function ra(X, ta, za, V, T, ja, Ia, wa, Sa, Ua) { - var $a; - $a = this; - this.wJ = X; - this.eLa = ta; - this.config = za; + D = a(943); + F = a(944); + J = a(945); + K = a(946); + H = a(947); + L = a(950); + Q = a(952); + I = a(953); + O = a(954); + N = a(955); + M = a(956); + P = a(958); + R = a(959); + ea = a(960); + pa = a(961); + va = a(962); + r = (function () { + function ta(Y, ra, Ea, V, U, ma, Ia, wa, Ta, Ua) { + var ab; + ab = this; + this.yJ = Y; + this.cLa = ra; + this.config = Ea; this.id = V; - this.Wib = ja; - this.ggb = Ia; - this.xm = wa; - this.Gob = Sa; - this.IE = "2.0"; - this.Gc = k.hn.CLOSED; - this.Dca = !0; - this.gs = !1; - this.cNa = new f.zh(); - this.p6 = []; - this.sB = 0; - this.S7 = !1; - this.qC = function (Za) { - var mb, - db; - Za = $a.navigator.Me(Za.position.va); - if ((Za = $a.MTa(Za)) && $a.T.Nn) { - db = $a.T.Mh; - null === (mb = $a.T.cw) || void 0 === mb ? void 0 : mb.KC({ - P: db.P, - get p8() { - return db.Md.Ba(db.P.uh); - } - }, Za, $a.di.offset, !0, !1); - } - $a.$o.start(); + this.Xib = ma; + this.hgb = Ia; + this.El = wa; + this.Hob = Ta; + this.KE = "2.0"; + this.Ic = k.Gk.CLOSED; + this.xca = !0; + this.ks = !1; + this.cNa = new f.xh(); + this.tB = 0; + this.O7 = !1; + this.sC = function (Za) { + var nb, + cb; + Za = ab.navigator.ze(Za.position.va); + if ((Za = ab.Wja(Za)) && ab.T.Pn) { + cb = ab.T.Lh; + null === (nb = ab.T.gw) || void 0 === nb ? void 0 : nb.LC({ + P: cb.P, + get l8() { + return cb.Kd.Da(cb.P.th); + } + }, Za, ab.di.offset, !0, !1); + } + ab.ap.start(); }; - this.dV = function () { - $a.xm("onDrmReady"); + this.cV = function () { + ab.El("onDrmReady"); }; this.console = new n.default.Console("ASEJS_PLAYGRAPH", "asejs", "" + this.id); - this.Ph = new A.qA({ - hC: 10, - jt: this, + this.Oh = new B.sA({ + jC: 10, + pt: this, source: "AsePlaygraph" }); - this.f3a(X); - this.Ab = new M.EEa(); - this.Ji = new na.GEa(this.console); + this.f3a(Y); + this.Cb = new L.CEa(); + this.Bj = new pa.EEa(this.console); this.events = new f.EventEmitter(); - this.Oka = new G.Pya(this.config, g.S.rb(this.config.f5), { + this.Kka = new F.Nya(this.config, g.S.rb(this.config.f5), { parent: this.rUa.bind(this) }, this.events, this.console); - this.Jsa = new m.KGa(this.console, this.events); - this.IR = { - JF: za.$s || Infinity + this.Dsa = new m.GGa(this.console, this.events); + this.JR = { + OF: Ea.ht || Infinity }; - this.T = new p.Jaa(this); - this.st = new t.PP(this.T.wa, this.console, "playgraph"); - this.uo = new t.PP(new y.AZ({ + this.T = new p.Caa(this); + this.xt = new u.QP(this.T.xa, this.console, "playgraph"); + this.vo = new u.QP(new y.BZ({ tk: !0, currentTime: function () { - return g.S.rb(n.default.time.aa()); + return g.S.rb(n.default.time.ba()); }, speed: 1 }), this.console, "wallclock"); - this.yf = new O.Ova(this.console, za, T, this.events, this, this.uo); - this.O0 = new R.Hva(this.st, this.uo, this.config, this.Ak.bind(this), this.hf, this.console); - this.Y5 = this.yf.Y5.bind(this.yf); - this.gV = this.yf.gV.bind(this.yf); - this.h6 = this.yf.h6.bind(this.yf); - this.t7 = this.t7.bind(this); - this.VM = new v.hba(za); - N.YOa({ - yf: this.yf, - uo: this.uo - }, t.mj.VC(g.S.rb(this.config.$y)), function () { - $a.T.Nn && $a.T.Mh && ($a.yf.state.value === l.wc.ef || $a.yf.state.value === l.wc.Sc) && $a.gE($a.T.Mh); + this.Af = new Q.Lva(this.console, Ea, U, this.events, this, this.vo); + this.Q0 = new N.Eva(this.xt, this.vo, this.config, this.Bk.bind(this), this.hf, this.console); + this.Y5 = this.Af.Y5.bind(this.Af); + this.fV = this.Af.fV.bind(this.Af); + this.h6 = this.Af.h6.bind(this.Af); + this.p7 = this.p7.bind(this); + this.VM = new v.bba(Ea); + R.XOa({ + Af: this.Af, + vo: this.vo + }, u.jj.XC(g.S.rb(this.config.cz)), function () { + ab.T.Pn && ab.T.Lh && (ab.Af.state.value === l.yc.ef || ab.Af.state.value === l.yc.Sc) && ab.jE(ab.T.Lh); }, "buffering"); - this.VM.ai(new z.pA(this.yf.Ph)); - this.VM.ai(new B.$Da(this.MAb.bind(this))); - this.VM.ai(new z.pA(this.Ph)); - this.VM.ai(new E.DEa(this.Ab)); - this.l4a = new da.JGa(this, this.console, Ua); - this.yXa = new F.UAa(this.uo, this.console, this.events); - this.$o = new va.IEa(this.U6.bind(this)); - } - Object.defineProperties(ra.prototype, { + this.VM.ai(new z.rA(this.Af.Oh)); + this.VM.ai(new A.YDa(this.PAb.bind(this))); + this.VM.ai(new z.rA(this.Oh)); + this.VM.ai(new E.BEa(this.Cb)); + this.n4a = new ea.FGa(this, this.console, Ua); + this.wXa = new G.SAa(this.vo, this.console, this.events); + this.ap = new va.GEa(this.R6.bind(this)); + } + Object.defineProperties(ta.prototype, { state: { get: function () { - return this.Gc; + return this.Ic; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - F3: { + Object.defineProperties(ta.prototype, { + G3: { get: function () { - return !(this.T instanceof p.Jaa); + return !(this.T instanceof p.Caa); }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - Fa: { + Object.defineProperties(ta.prototype, { + Ba: { get: function () { - return this.wJ; + return this.yJ; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { + Object.defineProperties(ta.prototype, { weight: { get: function () { - return this.eLa; + return this.cLa; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - n7: { + Object.defineProperties(ta.prototype, { + k7: { get: function () { - r.assert(this.oL, "AsePlaygraph.seekPosition accessed before seekStreaming"); - return this.Oo.position; + q.assert(this.rL, "AsePlaygraph.seekPosition accessed before seekStreaming"); + return this.Po.position; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { + Object.defineProperties(ta.prototype, { z2a: { get: function () { - r.assert(this.oL, "AsePlaygraph.seekTimestamp accessed before seekStreaming"); - return this.GB(this.n7).kB; + q.assert(this.rL, "AsePlaygraph.seekTimestamp accessed before seekStreaming"); + return this.JB(this.k7).aF; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { + Object.defineProperties(ta.prototype, { hf: { get: function () { - return this.yf.state; + return this.Af.state; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - fe: { + Object.defineProperties(ta.prototype, { + de: { get: function () { - return this.yf.fe; + return this.Af.de; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - oL: { + Object.defineProperties(ta.prototype, { + rL: { get: function () { - return void 0 !== this.Oo; + return void 0 !== this.Po; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { + Object.defineProperties(ta.prototype, { di: { get: function () { - return this.T.Nn ? this.T.di : this.n7; + return this.T.Pn ? this.T.di : this.k7; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(ra.prototype, { - Cd: { + Object.defineProperties(ta.prototype, { + ud: { get: function () { - return this.T.Nn ? this.T.Cd : this.z2a; + return this.T.Pn ? this.T.ud : this.z2a; }, enumerable: !1, configurable: !0 } }); - ra.prototype.open = function () { - this.Dca = !0; + ta.prototype.open = function () { + this.xca = !0; this.events.emit("openComplete"); - if (this.Gc !== k.hn.CLOSED) + if (this.Ic !== k.Gk.CLOSED) return !1; - this.Gc = k.hn.OPEN; + this.Ic = k.Gk.OPEN; return !0; }; - ra.prototype.wb = function () { - this.uo.wb(); - this.st.wb(); - this.Gc !== k.hn.CLOSED && (this.zf(), this.$o.wb(), this.yf.stop(), this.Gc = k.hn.CLOSED); + ta.prototype.zb = function () { + this.vo.zb(); + this.xt.zb(); + this.Ic !== k.Gk.CLOSED && (this.Bf(), this.ap.zb(), this.Af.stop(), this.Ic = k.Gk.CLOSED); }; - ra.prototype.Vv = function (X, ta) { - var za, + ta.prototype.$v = function (Y, ra) { + var Ea, V, - T; - za = this; - this.FMa = X; - this.H6a = ta; - ta = L.mRa(this.Ab, this.t7.bind(this)); - X = ta.fob; - ta = ta.Smb; - if (0 !== X.length && 1 === X.length && 0 === X[0]) { + U; + Ea = this; + this.FMa = Y; + this.K6a = ra; + ra = I.lRa(this.Cb, this.p7.bind(this)); + Y = ra.gob; + ra = ra.Tmb; + if (0 !== Y.length && 1 === Y.length && 0 === Y[0]) { V = this.di; - this.T.pause(X); - X.forEach(function (ja) { - return za.T.bW(ja); + this.T.pause(Y); + Y.forEach(function (ma) { + return Ea.T.aW(ma); }); - T = this.GB(V).kB; - ta.forEach(function (ja) { + U = this.JB(V).aF; + ra.forEach(function (ma) { var Ia; - Ia = ja.ub; - Ia.Vv(ja.Fg, V.va === Ia.P.id ? T : void 0, void 0 !== za.Ab.gka(Ia)); + Ia = ma.yb; + Ia.$v(ma.Dg, V.va === Ia.P.id ? U : void 0, void 0 !== Ea.Cb.cka(Ia)); }); - this.yf.jLb(V, ta[0].Fg); - this.T.resume(X); + this.Af.lLb(V, ra[0].Dg); + this.T.resume(Y); } }; - ra.prototype.$E = function (X) { - return w.$E(this.config, X); + ta.prototype.cF = function (Y) { + return w.cF(this.config, Y); }; - ra.prototype.aF = function (X) { - return w.aF(this.config, X); + ta.prototype.dF = function (Y) { + return w.dF(this.config, Y); }; - ra.prototype.NTa = function (X, ta) { - var za, + ta.prototype.OTa = function (Y, ra) { + var Ea, V; - za = this.navigator.Me(X); - V = this.navigator.Me(ta); + Ea = this.navigator.ze(Y); + V = this.navigator.ze(ra); return { - y6a: za.ICb(ta), - T0: ta !== X && this.Ab.has(ta) && this.Ab.iy(ta)[0].sk, - Jc: V.uh.V, - eM: this.Ji.get(za.id) + B6a: Ea.KCb(ra), + V0: ra !== Y && this.Cb.has(ra) && this.Cb.ny(ra)[0].sk, + Lc: V.th.V, + hM: this.Wja(Ea) }; }; - ra.prototype.Ak = function (X, ta, za, V) { - var T, - ja, + ta.prototype.Bk = function (Y, ra, Ea, V) { + var U, + ma, Ia, wa; - T = this; + U = this; void 0 === V && (V = !0); - if (!ta) + if (!ra) throw Error("AsePlaygraph.setNextSegment - nextSegmentId undefined - not implemented"); - if (V && this.Ji.get(X)) - za || this.Ji.set(X, ta); + if (V && this.Bj.get(Y)) + Ea || this.Bj.set(Y, ra); else { - Ia = this.vja(X)[0]; - wa = this.navigator.Me(X); - this.di.va === X && Ia && (null === (ja = this.T.cw) || void 0 === ja ? void 0 : ja.KC({ + Ia = this.oja(Y)[0]; + wa = this.navigator.ze(Y); + this.di.va === Y && Ia && (null === (ma = this.T.gw) || void 0 === ma ? void 0 : ma.LC({ P: Ia.P, - get p8() { - return Ia.Md.Ba(Ia.P.uh); + get l8() { + return Ia.Kd.Da(Ia.P.th); } - }, ta, this.di.offset, V, za)); - V || (X = { + }, ra, this.di.offset, V, Ea)); + V || (Y = { offset: g.S.hb, - va: ta - }, this.Oo = { - position: X, + va: ra + }, this.Po = { + position: Y, sk: !0, - K5a: X + M5a: Y }); - za ? this.Ji.PRb(wa.id, ta) : this.Ji.set(wa.id, ta); - this.$o.start(); - V && wa.Qv && 0 < wa.Qv.length && (r.assert(Ia), Ia.vta(wa.Qv) && this.vja(ta).forEach(function (Sa) { - return T.Hz(Ia, Sa); + Ea ? this.Bj.SRb(wa.id, ra) : this.Bj.set(wa.id, ra); + this.ap.start(); + V && wa.Vv && 0 < wa.Vv.length && (q.assert(Ia), Ia.qta(wa.Vv) && this.oja(ra).forEach(function (Ta) { + return U.Kz(Ia, Ta); })); - V || this.yf.f_a(this.n7); + V || this.Af.d_a(this.k7); } }; - ra.prototype.Hz = function (X, ta) { - var za; - za = this; - X = X.pf.Ba(ta.P.uh); - ta.Hz(X); - this.Ab.Qyb(ta).forEach(function (V) { - return za.Hz(ta, V); + ta.prototype.Kz = function (Y, ra) { + var Ea; + Ea = this; + Y = Y.pf.Da(ra.P.th); + ra.Kz(Y); + this.Cb.Uyb(ra).forEach(function (V) { + return Ea.Kz(ra, V); }); }; - ra.prototype.ti = function (X) { - this.navigator.ti(X); - this.$o.start(); + ta.prototype.ti = function (Y) { + this.navigator.ti(Y); + this.ap.start(); }; - ra.prototype.bsa = function (X, ta) { - this.bfa = X; - this.Mz = ta; - this.xm("setStreamFilters"); + ta.prototype.Ura = function (Y, ra) { + this.Vea = Y; + this.Pz = ra; + this.El("setStreamFilters"); }; - ra.prototype.MG = function (X, ta) { - var za, + ta.prototype.UG = function (Y, ra) { + var Ea, V, - T; - if (D.GWa(this.Fa, X)) { - T = this.sra(X); - if (void 0 === T) - this.qh("Invalid seekPosition"); - else if (void 0 === this.FMa || void 0 === this.H6a) - this.qh("No track selectors available"); - else if (this.F3 && this.T.nL || !D.MUa(null === (za = this.Oo) || void 0 === za ? void 0 : za.K5a, T)) - (this.oL && (za = this.navigator.Me(this.di.va), null === (V = this.T.cw) || void 0 === V ? void 0 : V.KC({ - P: za, - p8: za.duration - }, T.va, this.di.offset, !1), this.di.va === X.va ? this.Ji.Lob(X.va) : this.Ji.fga()), this.zf(!0), this.Kob(), this.Oo = { - position: T, - K5a: T, + U; + if (D.EWa(this.Ba, Y)) { + U = this.mra(Y); + if (void 0 === U) + this.ph("Invalid seekPosition"); + else if (void 0 === this.FMa || void 0 === this.K6a) + this.ph("No track selectors available"); + else if (this.G3 && this.T.qL || !D.MUa(null === (Ea = this.Po) || void 0 === Ea ? void 0 : Ea.M5a, U)) + (this.rL && (Ea = this.navigator.ze(this.di.va), null === (V = this.T.gw) || void 0 === V ? void 0 : V.LC({ + P: Ea, + l8: Ea.duration + }, U.va, this.di.offset, !1), this.di.va === Y.va ? this.Bj.Mob(Y.va) : this.Bj.$fa()), this.Bf(!0), this.Lob(), this.Po = { + position: U, + M5a: U, sk: !1, - UMb: ta - }, this.yf.f_a(), this.Gc = k.hn.Zj, this.$o.start()); + XMb: ra + }, this.Af.d_a(), this.Ic = k.Gk.$j, this.ap.start()); } else - this.qh("Invalid seekPosition"); + this.ph("Invalid seekPosition"); }; - ra.prototype.zf = function (X) { - var ta, - za, + ta.prototype.Bf = function (Y) { + var ra, + Ea, V; - V = this.ZBb(); - this.Ab.reset(); - this.p6 = []; - if (!X && (this.Ji.fga(), V.length)) + V = this.aCb(); + this.Cb.reset(); + if (!Y && (this.Bj.$fa(), V.length)) try { - for (var T = c.__values(V), ja = T.next(); !ja.done; ja = T.next()) { - ja.value.wPb(); + for (var U = c.__values(V), ma = U.next(); !ma.done; ma = U.next()) { + ma.value.BPb(); } } catch (wa) { var Ia; @@ -105989,181 +105935,181 @@ a000.D9b = function () { } finally { try { - ja && !ja.done && (ta = T.return) && ta.call(T); + ma && !ma.done && (ra = U.return) && ra.call(U); } finally { if (Ia) throw Ia.error; } } - this.st.reset(); - this.uo.reset(); + this.xt.reset(); + this.vo.reset(); this.T.reset(); - this.Oo = void 0; - this.O0.reset(); - null === (za = this.cNa) || void 0 === za ? void 0 : za.clear(); - this.Gc === k.hn.Zj && (this.Gc = k.hn.OPEN); - }; - ra.prototype.vja = function (X) { - return this.Ab.iy(X); - }; - ra.prototype.Ij = function (X) { - this.yf.Ij(X); - r.assert(this.T.QF, "Must have an appended branch on underflow"); - this.O0.jta(this.T.QF, this.Cd); - this.xm("onUnderflow"); + this.Po = void 0; + this.Q0.reset(); + null === (Ea = this.cNa) || void 0 === Ea ? void 0 : Ea.clear(); + this.Ic === k.Gk.$j && (this.Ic = k.Gk.OPEN); + }; + ta.prototype.oja = function (Y) { + return this.Cb.ny(Y); + }; + ta.prototype.Hj = function (Y) { + this.Af.Hj(Y); + q.assert(this.T.WF, "Must have an appended branch on underflow"); + this.Q0.dta(this.T.WF, this.ud); + this.El("onUnderflow"); this.events.emit("underflow"); }; - ra.prototype.ai = function (X) { - this.VM.ai(X); + ta.prototype.ai = function (Y) { + this.VM.ai(Y); }; - ra.prototype.Vea = function (X) { - this.ai(new x.GFa(X)); - this.Klb(X); + ta.prototype.Oea = function (Y) { + this.ai(new x.DFa(Y)); + this.Klb(Y); }; - ra.prototype.Klb = function (X) { - this.T.mta(X) ? (this.T = X, this.st.vMa(this.T.wa), this.T.events.on("segmentPresenting", this.qC), this.T.events.on("drmReady", this.dV)) : this.qh("player in use"); + ta.prototype.Klb = function (Y) { + this.T.hta(Y) ? (this.T = Y, this.xt.vMa(this.T.xa), this.T.events.on("segmentPresenting", this.sC), this.T.events.on("drmReady", this.cV)) : this.ph("player in use"); }; - ra.prototype.GB = function (X) { - var ta, - za; - ta = X.offset; - za = this.navigator.Me(X.va); - X = za.da; - ta = za.uh.add(ta); + ta.prototype.JB = function (Y) { + var ra, + Ea; + ra = Y.offset; + Ea = this.navigator.ze(Y.va); + Y = Ea.$; + ra = Ea.th.add(ra); return { - da: X, - kB: ta + $: Y, + aF: ra }; }; - ra.prototype.dr = function (X, ta) { - var za; - za = this.T.dr(X); - if (void 0 !== za) - return za; - za = this.T.QF; - return D.dr(X, { + ta.prototype.er = function (Y, ra) { + var Ea; + Ea = this.T.er(Y); + if (void 0 !== Ea) + return Ea; + Ea = this.T.WF; + return D.er(Y, { qa: this, - WDb: za && ({ - id: za.P.id, - jRb: za.AM + ZDb: Ea && ({ + id: Ea.P.id, + nRb: Ea.CM }) - }, ta); + }, ra); }; - ra.prototype.FT = function (X) { - return this.T.FT(X); + ta.prototype.DT = function (Y) { + return this.T.DT(Y); }; - ra.prototype.sra = function (X) { - var ta; - ta = this.Fa.Ca[X.va]; - if (void 0 !== ta) - return null === ta.Yc || void 0 === ta.Yc ? { - va: X.va, - offset: g.S.max(g.S.hb, X.offset) + ta.prototype.mra = function (Y) { + var ra; + ra = this.Ba.wa[Y.va]; + if (void 0 !== ra) + return null === ra.Fc || void 0 === ra.Fc ? { + va: Y.va, + offset: g.S.max(g.S.hb, Y.offset) } : { - va: X.va, - offset: g.S.max(g.S.hb, g.S.min(X.offset, g.S.rb(ta.Yc - ta.xc))) + va: Y.va, + offset: g.S.max(g.S.hb, g.S.min(Y.offset, g.S.rb(ra.Fc - ra.jc))) }; }; - ra.prototype.Fm = function (X, ta) { - return this.ggb(this.Fa.Ca[X].da, ta); + ta.prototype.Dm = function (Y, ra) { + return this.hgb(this.Ba.wa[Y].$, ra); }; - ra.prototype.f3 = function () { - return K.vSa(this.Ab, this.m4.bind(this)); + ta.prototype.h3 = function () { + return M.vSa(this.Cb, this.n4.bind(this)); }; - ra.prototype.m4 = function (X) { - X = this.Ab.gka(X); - return void 0 === X || X.Wo && this.m4(X); + ta.prototype.n4 = function (Y) { + Y = this.Cb.cka(Y); + return void 0 === Y || Y.Xo && this.n4(Y); }; - ra.prototype.e3 = function () { - return this.IR.JF; + ta.prototype.g3 = function () { + return this.JR.OF; }; - ra.prototype.qzb = function (X) { - return Q.vUa(this.Ab, X); + ta.prototype.uzb = function (Y) { + return P.vUa(this.Cb, Y); }; - ra.prototype.Hh = function (X) { - var ta, - za, + ta.prototype.Hh = function (Y) { + var ra, + Ea, V; - ta = this; - this.Ab.YS(function (T) { - var ja, + ra = this; + this.Cb.XS(function (U) { + var ma, Ia; - ja = T.q3(0); - Ia = T.q3(1); - if (T.P.Pt || !ta.Ab.Ska(T) || !T.Wo) { - if (!za || ja < za) - za = ja; + ma = U.r3(0); + Ia = U.r3(1); + if (U.P.Vt || !ra.Cb.Oka(U) || !U.Xo) { + if (!Ea || ma < Ea) + Ea = ma; if (!V || Ia < V) V = Ia; } - return T.Wo; + return U.Xo; }); return { - XW: za ? Math.max(za - X.V, 0) : 0, - ZW: V ? Math.max(V - X.V, 0) : 0 + WW: Ea ? Math.max(Ea - Y.V, 0) : 0, + YW: V ? Math.max(V - Y.V, 0) : 0 }; }; - ra.prototype.TK = function () { - var X, - ta, - za, + ta.prototype.XK = function () { + var Y, + ra, + Ea, V; - za = this.oL ? this.Hh(this.Cd) : { - XW: 0, - ZW: 0 + Ea = this.rL ? this.Hh(this.ud) : { + WW: 0, + YW: 0 }; V = C.default.instance().get(); return { - totalabuflmsecs: za.XW, - totalvbuflmsecs: za.ZW, + totalabuflmsecs: Ea.WW, + totalvbuflmsecs: Ea.YW, abuflbytes: 0, vbuflbytes: 0, - currentBandwidth: null !== (ta = Number(0 < V.confidence) && (null === (X = V.Oa) || void 0 === X ? void 0 : X.Ea)) && void 0 !== ta ? ta : 0 + currentBandwidth: null !== (ra = Number(0 < V.confidence) && (null === (Y = V.Oa) || void 0 === Y ? void 0 : Y.Fa)) && void 0 !== ra ? ra : 0 }; }; - ra.prototype.iL = function () { - var X, - ta, - za, + ta.prototype.lL = function () { + var Y, + ra, + Ea, V, - T, - ja; - X = this; - if (this.Lm()) - return (this.Ph.Ju({ + U, + ma; + Y = this; + if (this.Jm()) + return (this.Oh.Qu({ isStreamingFailureReported: !0 }), []); - ta = this.Ab.size; - this.Ph.Ju({ - branchCount: ta + ra = this.Cb.size; + this.Oh.Qu({ + branchCount: ra }); - if (0 === ta) + if (0 === ra) return []; - za = this.Cd; + Ea = this.ud; V = this.di; - T = []; - ja = this.oL ? this.navigator.Me(this.di.va).Tv : 1; - ta = this.Ab.reduce(function (Ia, wa, Sa) { + U = []; + ma = this.rL ? this.navigator.ze(this.di.va).Yv : 1; + ra = this.Cb.reduce(function (Ia, wa, Ta) { var Ua, - $a, - db, - Ta, - Ca; + ab, + cb, + Sa, + Ba; try { - for (var Za = c.__values(wa.Xja()), mb = Za.next(); !mb.done; mb = Za.next()) { - db = mb.value; - if (!db.Ts()) { - Ta = "p" + X.id + "-" + Sa + (null === ($a = wa.Ui) || void 0 === $a ? void 0 : $a.V); - Ca = X.qUa(db); - Ia.push(X.osb(db, Ca, Ta, ja, za, V)); - } - !db.VB() && X.Ph.enabled && T.push({ - segmentId: db.va, - isDoneStreaming: db.Ts(), - isNormalized: db.sk(), - needsHeaderRequest: db.track.goa + for (var Za = c.__values(wa.Rja()), nb = Za.next(); !nb.done; nb = Za.next()) { + cb = nb.value; + if (!cb.Ys()) { + Sa = "p" + Y.id + "-" + Ta + (null === (ab = wa.Si) || void 0 === ab ? void 0 : ab.V); + Ba = Y.qUa(cb); + Ia.push(Y.qsb(cb, Ba, Sa, ma, Ea, V)); + } + !cb.XB() && Y.Oh.enabled && U.push({ + segmentId: cb.va, + isDoneStreaming: cb.Ys(), + isNormalized: cb.sk(), + needsHeaderRequest: cb.track.boa }); } } catch (Ma) { @@ -106174,7 +106120,7 @@ a000.D9b = function () { } finally { try { - mb && !mb.done && (Ua = Za.return) && Ua.call(Za); + nb && !nb.done && (Ua = Za.return) && Ua.call(Za); } finally { if (La) @@ -106183,124 +106129,124 @@ a000.D9b = function () { } return Ia; }, []); - this.Ph.Ju({ - nonStreamables: T + this.Oh.Qu({ + nonStreamables: U }); - return ta; + return ra; }; - ra.prototype.qUa = function (X) { - var ta; - if (X.kea) - return X.kea; - ta = this.rUa(X); - return !ta || this.config.d2 && this.navigator.GCb(ta.ub.P, X.va) ? X.n1 : this.qUa(ta); + ta.prototype.qUa = function (Y) { + var ra; + if (Y.eea) + return Y.eea; + ra = this.rUa(Y); + return !ra || this.config.f2 && this.navigator.ICb(ra.yb.P, Y.va) ? Y.p1 : this.qUa(ra); }; - ra.prototype.rUa = function (X) { - var ta; - return null === (ta = this.Ab.gka(X.ub)) || void 0 === ta ? void 0 : ta.vT(X.mediaType); + ta.prototype.rUa = function (Y) { + var ra; + return null === (ra = this.Cb.cka(Y.yb)) || void 0 === ra ? void 0 : ra.tT(Y.mediaType); }; - ra.prototype.lLb = function (X) { - var ta, - za; - if (!this.Jsa.Lm()) { - ta = void 0; - za = this.T.di; - za && (ta = this.navigator.Me(za.va).da); - this.qh("BufferingStateTracker: Temporary failure while buffering", ta, "NFErr_MC_StreamingFailure", null === X || void 0 === X ? void 0 : X.Og, null === X || void 0 === X ? void 0 : X.GF, null === X || void 0 === X ? void 0 : X.Ri); + ta.prototype.nLb = function (Y) { + var ra, + Ea; + if (!this.Dsa.Jm()) { + ra = void 0; + Ea = this.T.di; + Ea && (ra = this.navigator.ze(Ea.va).$); + this.ph("BufferingStateTracker: Temporary failure while buffering", ra, "NFErr_MC_StreamingFailure", null === Y || void 0 === Y ? void 0 : Y.Mg, null === Y || void 0 === Y ? void 0 : Y.LF, null === Y || void 0 === Y ? void 0 : Y.Oi); } }; - ra.prototype.qh = function (X, ta, za, V, T, ja) { - this.Jsa.qh(X, ta, za, V, T, ja); + ta.prototype.ph = function (Y, ra, Ea, V, U, ma) { + this.Dsa.ph(Y, ra, Ea, V, U, ma); }; - ra.prototype.t8 = function (X, ta) { - ta = this.d3(ta); + ta.prototype.p8 = function (Y, ra) { + ra = this.f3(ra); this.events.emit("logdata", { type: "logdata", - target: X, - fields: ta + target: Y, + fields: ra }); }; - ra.prototype.d3 = function (X) { - var ta; - this.yXa.mGb(X); - ta = this.VM.Ln(X); - X === v.ae.ip && (X = this.TK(), ta.vbuflmsec = X.totalvbuflmsecs, ta.abuflmsec = X.totalabuflmsecs, ta.vbuflbytes = X.vbuflbytes, ta.abuflbytes = X.abuflbytes); - return ta; + ta.prototype.f3 = function (Y) { + var ra; + this.wXa.oGb(Y); + ra = this.VM.Mn(Y); + Y === v.Zd.jp && (Y = this.XK(), ra.vbuflmsec = Y.totalvbuflmsecs, ra.abuflmsec = Y.totalabuflmsecs, ra.vbuflbytes = Y.vbuflbytes, ra.abuflbytes = Y.abuflbytes); + return ra; }; - ra.prototype.Q5a = function (X) { - this.IR = X; - this.xm("updateBudget"); + ta.prototype.S5a = function (Y) { + this.JR = Y; + this.El("updateBudget"); }; - ra.prototype.Lm = function () { - return this.Jsa.Lm(); + ta.prototype.Jm = function () { + return this.Dsa.Jm(); }; - ra.prototype.d6a = function (X) { - X !== this.weight && (this.eLa = X, this.events.emit("weightUpdated")); + ta.prototype.f6a = function (Y) { + Y !== this.weight && (this.cLa = Y, this.events.emit("weightUpdated")); }; - ra.prototype.gX = function (X) { - var ta, - za, + ta.prototype.fX = function (Y) { + var ra, + Ea, V, - T, - ja, - Sa, + U, + ma, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La, Ma; - V = H.zNa(this.Fa, X); - T = V.eob; - ja = V.hWb; - if ([V.Mkb, V.SM, T].every(function (ib) { + V = H.zNa(this.Ba, Y); + U = V.fob; + ma = V.jWb; + if ([V.Nkb, V.SM, U].every(function (ib) { return !ib.length; })) return { - X: !0, - reason: l.Mw.Jcb + W: !0, + reason: l.Rw.Mcb }; - if (0 === T.length && 0 === ja.length) + if (0 === U.length && 0 === ma.length) return { - X: !1, - reason: l.Mw.Wbb + W: !1, + reason: l.Rw.$bb }; try { - for (var Ia = c.__values(T), wa = Ia.next(); !wa.done; wa = Ia.next()) { - Sa = wa.value; - Ua = this.Fa.Ca[Sa]; - $a = Ua.xc; - Za = Ua.Yc; - mb = Ua.da; - db = X.Ca[Sa]; - Ta = db.Yc; - Ca = db.xc; - La = db.da; - if (this.di.va === Sa && Ta !== Za) { - if (!Ta) + for (var Ia = c.__values(U), wa = Ia.next(); !wa.done; wa = Ia.next()) { + Ta = wa.value; + Ua = this.Ba.wa[Ta]; + ab = Ua.jc; + Za = Ua.Fc; + nb = Ua.$; + cb = Y.wa[Ta]; + Sa = cb.Fc; + Ba = cb.jc; + La = cb.$; + if (this.di.va === Ta && Sa !== Za) { + if (!Sa) return { - X: !1, - reason: l.Mw.Hdb + W: !1, + reason: l.Rw.Kdb }; - Ma = g.S.rb(Ta - Ca); - if (null === (za = this.di.offset) || void 0 === za ? 0 : za.greaterThan(Ma)) + Ma = g.S.rb(Sa - Ba); + if (null === (Ea = this.di.offset) || void 0 === Ea ? 0 : Ea.greaterThan(Ma)) return { - X: !1, - reason: l.Mw.k7a + W: !1, + reason: l.Rw.m7a }; } - if ($a !== Ca) + if (ab !== Ba) return { - X: !1, - reason: l.Mw.w$a + W: !1, + reason: l.Rw.z$a }; - if (mb !== La) + if (nb !== La) return { - X: !1, - reason: l.Mw.x$a + W: !1, + reason: l.Rw.A$a }; } } catch (ib) { @@ -106311,421 +106257,415 @@ a000.D9b = function () { } finally { try { - wa && !wa.done && (ta = Ia.return) && ta.call(Ia); + wa && !wa.done && (ra = Ia.return) && ra.call(Ia); } finally { if (Va) throw Va.error; } } - this.f3a(X); - this.$o.start(); + this.f3a(Y); + this.ap.start(); return { - X: !0, - reason: l.Mw.Icb + W: !0, + reason: l.Rw.Lcb }; }; - ra.prototype.f3a = function (X) { - this.wJ = X; - this.navigator = new J.OEa(X); - this.eCb = H.JOa(this.navigator); - }; - ra.prototype.Zoa = function (X, ta) { - this.G1a(X); - X.FK.addListener("criticalNetworkError", this.Y5); - X.FK.addListener("temporaryNetworkError", this.gV); - X.FK.addListener("updatingLastSuccessEvent", this.h6); - this.Gc === k.hn.Zj && ta && this.ura(); - }; - ra.prototype.$oa = function (X) { - 0 === this.Ab.filter(function (ta) { - return ta.NT && ta.N === X; - }).length && this.G1a(X); - }; - ra.prototype.G1a = function (X) { - X.FK.removeListener("criticalNetworkError", this.Y5); - X.FK.removeListener("temporaryNetworkError", this.gV); - X.FK.removeListener("updatingLastSuccessEvent", this.h6); - }; - ra.prototype.kLa = function (X) { - var ta; - r.assert(X.sk, "expected branch to be normalized on addBranchToPlayer"); - this.T.nL || (null === (ta = this.Oo) || void 0 === ta ? 0 : ta.sk) || this.fxb(X); - this.yf.C8(X.Fg); - this.T.hia(X); - this.O0.jta(X, this.Cd); - }; - ra.prototype.fxb = function (X) { - r.assert(X.Xc, "Normalized branch should have a defined content start timestamp"); - r.assert(this.Oo, "AsePlaygraph should have a seek position on first branch normalization"); - r.assert(!this.Oo.sk, "Seek position should not already be normalized on first branch normalization"); - this.Oo = c.__assign(c.__assign({}, this.Oo), { + ta.prototype.f3a = function (Y) { + this.yJ = Y; + this.navigator = new K.LEa(Y); + this.gCb = H.IOa(this.navigator); + }; + ta.prototype.Uoa = function (Y, ra) { + this.F1a(Y); + Y.JK.addListener("criticalNetworkError", this.Y5); + Y.JK.addListener("temporaryNetworkError", this.fV); + Y.JK.addListener("updatingLastSuccessEvent", this.h6); + this.Ic === k.Gk.$j && ra && this.v2a(); + }; + ta.prototype.Voa = function (Y) { + 0 === this.Cb.filter(function (ra) { + return ra.LT && ra.N === Y; + }).length && this.F1a(Y); + }; + ta.prototype.F1a = function (Y) { + Y.JK.removeListener("criticalNetworkError", this.Y5); + Y.JK.removeListener("temporaryNetworkError", this.fV); + Y.JK.removeListener("updatingLastSuccessEvent", this.h6); + }; + ta.prototype.iLa = function (Y) { + var ra; + q.assert(Y.sk, "expected branch to be normalized on addBranchToPlayer"); + this.T.qL || (null === (ra = this.Po) || void 0 === ra ? 0 : ra.sk) || this.lxb(Y); + this.Af.y8(Y.Dg); + this.T.aia(Y); + this.Q0.dta(Y, this.ud); + }; + ta.prototype.lxb = function (Y) { + q.assert(Y.Wc, "Normalized branch should have a defined content start timestamp"); + q.assert(this.Po, "AsePlaygraph should have a seek position on first branch normalization"); + q.assert(!this.Po.sk, "Seek position should not already be normalized on first branch normalization"); + this.Po = c.__assign(c.__assign({}, this.Po), { position: { - va: X.P.id, - offset: X.Xc.Ba(X.P.uh) + va: Y.P.id, + offset: Y.Wc.Da(Y.P.th) }, sk: !0 }); - this.yf.LRb(this.Oo.position, X.Fg.filter(function (ta) { - return 0 === ta.mediaType; + this.Af.ORb(this.Po.position, Y.Dg.filter(function (ra) { + return 0 === ra.mediaType; })[0]); }; - ra.prototype.Kob = function () { - var X; - this.O0.reset(); - this.T.TE(); - this.Oo = void 0; - null === (X = this.cNa) || void 0 === X ? void 0 : X.clear(); + ta.prototype.Lob = function () { + var Y; + this.Q0.reset(); + this.T.UE(); + this.Po = void 0; + null === (Y = this.cNa) || void 0 === Y ? void 0 : Y.clear(); }; - ra.prototype.osb = function (X, ta, za, V, T, ja) { + ta.prototype.qsb = function (Y, ra, Ea, V, U, ma) { var Ia, wa, - Sa; + Ta; Ia = this; - Sa = null !== (wa = X.ub.Ui) && void 0 !== wa ? wa : X.ub.yy; - wa = g.S.max(X.Ck, Sa); + Ta = null !== (wa = Y.yb.Si) && void 0 !== wa ? wa : Y.yb.By; + wa = g.S.max(Y.Rj, Ta); return { - P: X.va, - mediaType: X.mediaType, - oh: X.oh, + P: Y.va, + mediaType: Y.mediaType, + mh: Y.mh, hf: this.hf.value, - Zy: ta, - Ck: wa, - Cd: T, - H6: ja.offset, + bz: ra, + Rj: wa, + ud: U, + E6: ma.offset, HM: V, - Tv: X.ub.P.Tv, - duration: X.ub.BS, - m4a: wa.Ba(Sa), - VB: X.VB(), - Ts: X.Ts(), - groupId: za, - JWa: function (Ua, $a) { - Ua = Ia.l4a.Onb(Ua, X.mediaType, 1 > $a || !Ia.m4(X.ub)); - 1 === $a && "global" === l.uqa(Ua.reason) && Ia.yf.IKb(X.mediaType, Ia.Hh(Ia.Cd)); + Yv: Y.yb.P.Yv, + duration: Y.yb.AS, + o4a: wa.Da(Ta), + XB: Y.XB(), + Ys: Y.Ys(), + groupId: Ea, + HWa: function (Ua, ab) { + Ua = Ia.n4a.Pnb(Ua, Y.mediaType, 1 > ab || !Ia.n4(Y.yb)); + 1 === ab && "global" === l.oqa(Ua.reason) && Ia.Af.KKb(Y.mediaType, Ia.Hh(Ia.ud)); return Ua; }, - NWa: function () { + LWa: function () { var Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La, Ma; - mb = X.mediaType; - db = Ia.Oka.pRb(Ia.hf.value, Ia.Cd, Ia.T.playbackRate, X, 0 === mb ? Ia.bfa : Ia.Mz, Ia.gs); - Ta = db.stream; - Ca = db.yN; - La = db.rRb; - db = db.kt; - if (!Ta) + nb = Y.mediaType; + cb = Ia.Kka.sRb(Ia.hf.value, Ia.ud, Ia.T.playbackRate, Y, 0 === nb ? Ia.Vea : Ia.Pz, Ia.ks); + Sa = cb.stream; + Ba = cb.zN; + La = cb.uRb; + cb = cb.qt; + if (!Sa) return { - zp: !1, + Bp: !1, reason: "selectLocationsAndStream" }; - if (Ia.hf.value === l.wc.Zj && X.ub && X.ub.N.LT && !X.ub.N.zU && !Ia.T.Qn(X.ub.N.da) && X.Ck.V - Ia.Cd.V > Ia.config.iYa) + if (Ia.hf.value === l.yc.$j && Y.yb && Y.yb.N.JT && !Y.yb.N.yU && !Ia.T.Sn(Y.yb.N.$) && Y.Rj.V - Ia.ud.V > Ia.config.sna) return { - zp: !1, + Bp: !1, reason: "maxBufferingCompleteBufferInMs" }; Ma = 1; - if (null === (Ua = X.ub) || void 0 === Ua ? 0 : Ua.Fg.every(function (Va) { + if (null === (Ua = Y.yb) || void 0 === Ua ? 0 : Ua.Dg.every(function (Va) { return 0 === Va.mediaType; })) Ma = 0; - Ia.yf.Pf && mb === Ma && Ia.yf.XRb(X.xz.jN, Ta.bitrate, La); - Ia.oN(Ca); - Ua = null === ($a = X.ub.Rt) || void 0 === $a ? void 0 : $a.V; - $a = X.$Vb(Ta, db); - $a.zp && (Ia.Dca && (Ia.zl("firstDriveStreaming"), Ia.Dca = !1), 0 < Ia.sB && (Ta = null === (Za = X.ub.Rt) || void 0 === Za ? void 0 : Za.V, Ua && Ta && (Ia.sB -= Ua - Ta, 0 >= Ia.sB && Ia.ura()))); - return $a; + Ia.Af.Qf && nb === Ma && Ia.Af.$Rb(Y.Az.kN, Sa.bitrate, La); + Ia.pN(Ba); + Ua = null === (ab = Y.yb.Xt) || void 0 === ab ? void 0 : ab.V; + ab = Y.bWb(Sa, cb); + ab.Bp && (Ia.xca && (Ia.yl("firstDriveStreaming"), Ia.xca = !1), 0 < Ia.tB && (Sa = null === (Za = Y.yb.Xt) || void 0 === Za ? void 0 : Za.V, Ua && Sa && (Ia.tB -= Ua - Sa, 0 >= Ia.tB && Ia.v2a()))); + return ab; } }; }; - ra.prototype.oN = function (X) { - var ta; - ta = this; - X.forEach(function (za) { - za.N.QRb(za, function () { + ta.prototype.pN = function (Y) { + var ra; + ra = this; + Y.forEach(function (Ea) { + Ea.N.TRb(Ea, function () { var V, - T, - ja; - r.assert(ta.oL, "Speculative header callback after streaming is cancelled"); - V = ta.yf.state.value; - T = ta.Cd; - ja = T.add(g.S.rb(ta.config.IU)); + U, + ma; + q.assert(ra.rL, "Speculative header callback after streaming is cancelled"); + V = ra.Af.state.value; + U = ra.ud; + ma = U.add(g.S.rb(ra.config.HU)); return { - P: "" + za.N.da, - mediaType: za.mediaType, - oh: [], + P: "" + Ea.N.$, + mediaType: Ea.mediaType, + mh: [], hf: V, - Ts: !1, - VB: !0, - Zy: ja, - Ck: ja, - Cd: T, - H6: ta.di.offset, + Ys: !1, + XB: !0, + bz: ma, + Rj: ma, + ud: U, + E6: ra.di.offset, HM: 1, - Tv: 1 + Yv: 1 }; }); }); }; - ra.prototype.ura = function () { - var X; - X = this; - this.$o.O8(va.pD.uw, function () { - return X.$o.start(); + ta.prototype.v2a = function () { + var Y; + Y = this; + this.ap.J8(va.rD.Aw, function () { + return Y.ap.start(); }); }; - ra.prototype.U6 = function () { - var X, - ta, - za, + ta.prototype.R6 = function () { + var Y, + ra, + Ea, V, - T; - X = this; - if (this.Gc === k.hn.Zj) { - this.p6 = []; - ta = this.di; - za = this.navigator.Me(ta.va); - V = this.Ab.RBb(); - T = this.hyb(ta.va).map(function (ja) { - return ja.P.id; + U; + Y = this; + if (this.Ic === k.Gk.$j) { + ra = this.di; + Ea = this.navigator.ze(ra.va); + V = this.Cb.TBb(); + U = this.nyb(ra.va).map(function (ma) { + return ma.P.id; }); - za = I.U6(this.console, this.eCb, za, V, this.Ji, T, g.S.rb(this.config.Qmb), this.config.boa, g.S.rb(this.config.qfa)); - V = za.U1a; - this.sB = za.sB || 0; - za = this.Ab.tWb(V, function (ja, Ia) { + Ea = J.R6(this.console, this.gCb, Ea, V, this.Bj, U, g.S.rb(this.config.Rmb), this.config.Xna, g.S.rb(this.config.jfa)); + V = Ea.T1a; + this.tB = Ea.tB || 0; + this.Cb.vWb(V, function (ma, Ia) { var wa; - wa = X.navigator.Me(ja); - ja = ja === ta.va ? wa.uh.add(ta.offset) : wa.uh; - return X.XVb(wa, ja, Ia); - }); - V = za.pending; - za.SM.forEach(function (ja) { - ja.zf(); - X.Ji.clear(ja.P.id); - X.T.yCb(ja) || X.$o.O8(va.pD.uw, function () { - return X.mda(ja.P.id); + wa = Y.navigator.ze(ma); + ma = ma === ra.va ? wa.th.add(ra.offset) : wa.th; + return Y.ZVb(wa, ma, Ia); + }).SM.forEach(function (ma) { + ma.Bf(); + Y.Bj.clear(ma.P.id); + Y.T.ACb(ma) || Y.ap.J8(va.rD.Aw, function () { + return Y.gda(ma.P.id); }); }); this.t1a(); - 0 === V.length && this.SNa(); - this.p6 = V; - this.$o.O8(va.pD.uw, function () { - X.xm("reevaluateBranches"); - X.$o.GU(va.pD.HP); + this.QNa(); + this.ap.J8(va.rD.Aw, function () { + Y.El("reevaluateBranches"); + Y.ap.FU(va.rD.HP); }); } }; - ra.prototype.hyb = function (X) { - var ta; - ta = !1; - return this.T.Ab.filter(function (za) { - za.P.id === X && (ta = !0); - return ta; + ta.prototype.nyb = function (Y) { + var ra; + ra = !1; + return this.T.Cb.filter(function (Ea) { + Ea.P.id === Y && (ra = !0); + return ra; }); }; - ra.prototype.ZBb = function () { - return u.lMa(this.Ab.filter(function (X) { - return X.NT; - }).map(function (X) { - return X.N; + ta.prototype.aCb = function () { + return t.kMa(this.Cb.filter(function (Y) { + return Y.LT; + }).map(function (Y) { + return Y.N; })); }; - ra.prototype.t1a = function () { - var X; - if (this.Gc === k.hn.Zj) { - if (!this.T.QF) { - X = c.__read(this.Ab.iy(this.n7.va), 1)[0]; - (null === X || void 0 === X ? 0 : X.sk) && this.kLa(X); + ta.prototype.t1a = function () { + var Y; + if (this.Ic === k.Gk.$j) { + if (!this.T.WF) { + Y = c.__read(this.Cb.ny(this.k7.va), 1)[0]; + (null === Y || void 0 === Y ? 0 : Y.sk) && this.iLa(Y); } - if (this.T.QF) + if (this.T.WF) for (; ; ) { - X = this.MTa(this.T.QF.P); - if (!X) + Y = this.Wja(this.T.WF.P); + if (!Y) break; - X = c.__read(this.Ab.iy(X), 1)[0]; - if (null === X || void 0 === X || !X.sk) + Y = c.__read(this.Cb.ny(Y), 1)[0]; + if (null === Y || void 0 === Y || !Y.sk) break; - this.kLa(X); + this.iLa(Y); } } }; - ra.prototype.MTa = function (X) { - var ta; - ta = this.Ji.get(X.id); - if (void 0 !== ta) - return ta; - X = this.navigator.hzb(X); - if (1 === X.length) - return X[0].id; - }; - ra.prototype.SNa = function () { - var X; - X = 0 !== this.byb(); - X || this.S7 ? X && this.S7 && (this.S7 = !1) : (this.yf.Pf && (X = this.Hh(this.Cd), this.yf.Se("complete", X.XW, X.ZW)), this.Shb(), this.S7 = !0); - }; - ra.prototype.byb = function () { - return this.Ab.filter(function (X) { - return !X.Wo; + ta.prototype.Wja = function (Y) { + var ra; + ra = this.Bj.get(Y.id); + if (void 0 !== ra) + return ra; + Y = this.navigator.lzb(Y); + if (1 === Y.length) + return Y[0].id; + }; + ta.prototype.QNa = function () { + var Y; + Y = 0 !== this.hyb(); + Y || this.O7 ? Y && this.O7 && (this.O7 = !1) : (this.Af.Qf && (Y = this.Hh(this.ud), this.Af.Te("complete", Y.WW, Y.YW)), this.Thb(), this.O7 = !0); + }; + ta.prototype.hyb = function () { + return this.Cb.filter(function (Y) { + return !Y.Xo; }).length; }; - ra.prototype.gE = function (X) { - this.m4(X) && this.yf.$fa(this.Cd, this.T.playbackRate, X, { - Zfa: this.Oka.Zfa.bind(this.Oka, this.l4a) + ta.prototype.jE = function (Y) { + this.n4(Y) && this.Af.Ufa(this.ud, this.T.playbackRate, Y, { + Tfa: this.Kka.Tfa.bind(this.Kka, this.n4a) }); }; - ra.prototype.Noa = function (X, ta) { - var za, + ta.prototype.Ioa = function (Y, ra) { + var Ea, V; - za = this; - if (ta.didNormalizeSegment) { - V = P.eGa.YBb(X); - r.assert(V, "Segment should be normalized"); + Ea = this; + if (ra.didNormalizeSegment) { + V = O.aGa.$Bb(Y); + q.assert(V, "Segment should be normalized"); Promise.resolve().then(function () { - return za.events.emit("segmentNormalized", { + return Ea.events.emit("segmentNormalized", { type: "segmentNormalized", - segmentId: X.P.id, - normalizedStart: ta.segmentContentStart, - normalizedEnd: ta.branchContentEnd, - viewableContentEnd: V.UXb, - viewableEarliestContentEnd: V.WXb + segmentId: Y.P.id, + normalizedStart: ra.segmentContentStart, + normalizedEnd: ra.branchContentEnd, + viewableContentEnd: V.WXb, + viewableEarliestContentEnd: V.YXb }); }); } - this.p6.some(function (T) { - return T.lNb === X; - }) ? this.ura() : Promise.resolve().then(function () { - za.t1a(); + Promise.resolve().then(function () { + Ea.t1a(); }); }; - ra.prototype.Ooa = function () { - this.SNa(); + ta.prototype.Joa = function () { + this.QNa(); }; - ra.prototype.zKb = function () { - this.$o.start(); + ta.prototype.BKb = function () { + this.ap.start(); }; - ra.prototype.XVb = function (X, ta, za) { + ta.prototype.ZVb = function (Y, ra, Ea) { var V, - T, - ja, + U, + ma, Ia, wa; V = this; - if (this.Gob(X, ta)) + if (this.Hob(Y, ra)) throw Error("Not implemented"); - wa = new d.Kva(X.da, this.Wib, function (Sa, Ua, $a) { - V.Zoa(Ua, $a); - V.$o.O8(va.pD.HP, function () { - V.I_(Sa.P.id, Ua, Sa.yj); + wa = new d.Hva(Y.$, this.Xib, function (Ta, Ua, ab) { + V.Uoa(Ua, ab); + V.ap.J8(va.rD.HP, function () { + V.L_(Ta.P.id, Ua, Ta.vj); }); - }, this.$oa.bind(this)); - X = new h.Gva(this.config, this.console, this.events, X, this.t7, ta, null !== (Ia = null === (ja = null === (T = this.Oo) || void 0 === T ? void 0 : T.UMb) || void 0 === ja ? void 0 : ja.Ba(this.z2a)) && void 0 !== Ia ? Ia : g.S.hb, function () { - return V.Cd.V; - }, za, this.hf, this.st, wa); - X.events.on("branchNormalized", this.Noa.bind(this, X)); - X.events.on("lastRequestIssued", this.zKb.bind(this, X)); - X.events.on("branchStreamingComplete", this.Ooa.bind(this, X)); - X.events.on("checkBufferingProgress", this.gE.bind(this, X)); - void 0 === za && (this.zl("createDlTracksStart"), X.events.once("requestQueuesCreated", function () { - V.zl("createDlTracksEnd"); + }, this.Voa.bind(this)); + Y = new h.Dva(this.config, this.console, this.events, Y, this.p7, ra, null !== (Ia = null === (ma = null === (U = this.Po) || void 0 === U ? void 0 : U.XMb) || void 0 === ma ? void 0 : ma.Da(this.z2a)) && void 0 !== Ia ? Ia : g.S.hb, function () { + return V.ud.V; + }, Ea, this.hf, this.xt, wa); + Y.events.on("branchNormalized", this.Ioa.bind(this, Y)); + Y.events.on("lastRequestIssued", this.BKb.bind(this, Y)); + Y.events.on("branchStreamingComplete", this.Joa.bind(this, Y)); + Y.events.on("checkBufferingProgress", this.jE.bind(this, Y)); + void 0 === Ea && (this.yl("createDlTracksStart"), Y.events.once("requestQueuesCreated", function () { + V.yl("createDlTracksEnd"); })); - X.mb(); - return X; + Y.mb(); + return Y; }; - ra.prototype.MAb = function (X) { - if (this.T.Nn) - return this.T.Mh.Ra(X); + ta.prototype.PAb = function (Y) { + if (this.T.Pn) + return this.T.Lh.Sa(Y); }; - ra.prototype.t7 = function (X) { - return [[0, this.FMa, "audio_tracks"], [1, this.H6a, "video_tracks"]].map(function (ta) { - var za, + ta.prototype.p7 = function (Y) { + return [[0, this.FMa, "audio_tracks"], [1, this.K6a, "video_tracks"]].map(function (ra) { + var Ea, V; - za = c.__read(ta, 3); - ta = za[0]; - V = za[1]; - za = za[2]; - r.assert(V, "Expected mediaType " + ta + " track selector to be defined"); - V = V.pr(X.sa, X.sa[za]); - return void 0 !== V ? X.HUa(ta, V) : void 0; - }).filter(u.S5); - }; - ra.prototype.I_ = function (X, ta, za) { - X = { + Ea = c.__read(ra, 3); + ra = Ea[0]; + V = Ea[1]; + Ea = Ea[2]; + q.assert(V, "Expected mediaType " + ra + " track selector to be defined"); + V = V.qr(Y.sa, Y.sa[Ea]); + return void 0 !== V ? Y.GUa(ra, V) : void 0; + }).filter(t.S5); + }; + ta.prototype.L_ = function (Y, ra, Ea) { + Y = { type: "segmentStarting", - segmentId: X, - contentOffset: za.V, + segmentId: Y, + contentOffset: Ea.V, maxBitrates: { - audio: ta.vv[0], - video: ta.vv[1] + audio: ra.Bv[0], + video: ra.Bv[1] } }; - this.events.emit(X.type, X); + this.events.emit(Y.type, Y); }; - ra.prototype.mda = function (X) { - X = { + ta.prototype.gda = function (Y) { + Y = { type: "segmentAborted", - segmentId: X + segmentId: Y }; - this.events.emit(X.type, X); + this.events.emit(Y.type, Y); }; - ra.prototype.Shb = function () { - var X; - X = { + ta.prototype.Thb = function () { + var Y; + Y = { type: "streamerEnd", - time: n.default.time.aa() + time: n.default.time.ba() }; - this.events.emit(X.type, X); + this.events.emit(Y.type, Y); }; - ra.prototype.zl = function (X) { - X = { + ta.prototype.yl = function (Y) { + Y = { type: "startEvent", - event: X, - time: n.default.time.aa() + event: Y, + time: n.default.time.ba() }; - this.events.emit(X.type, X); + this.events.emit(Y.type, Y); }; - c.__decorate([A.Xb({ + c.__decorate([B.Sb({ methodName: "getStreamables", - Jl: !0 - })], ra.prototype, "iL", null); - return ra; + Il: !0 + })], ta.prototype, "lL", null); + return ta; })(); - b.Zua = q; - }, function (q, b) { + b.Wua = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Kva = void 0; - q = (function () { + b.Hva = void 0; + r = (function () { function a(c, f, k, l) { - this.da = c; - this.Yqa = f; - this.Zoa = k; - this.$oa = l; + this.$ = c; + this.W6 = f; + this.Uoa = k; + this.Voa = l; } Object.defineProperties(a.prototype, { N: { get: function () { var c; - return null === (c = this.wX) || void 0 === c ? void 0 : c.N; + return null === (c = this.vX) || void 0 === c ? void 0 : c.N; }, enumerable: !1, configurable: !0 } }); - a.prototype.wb = function () { + a.prototype.zb = function () { var c; - this.N && (this.N.Dta(this.ub), this.$oa(this.N)); - null === (c = this.wX) || void 0 === c ? void 0 : c.Lma.release(); - this.wX = void 0; + this.N && (this.N.yta(this.yb), this.Voa(this.N)); + null === (c = this.vX) || void 0 === c ? void 0 : c.Fma.release(); + this.vX = void 0; }; a.prototype.mb = function (c) { var f, @@ -106733,26 +106673,26 @@ a000.D9b = function () { l, d; f = this; - this.ub = c; - k = this.Yqa(this.da); - l = k.uX; + this.yb = c; + k = this.W6(this.$); + l = k.tX; d = k.N; - this.wX = { - Lma: k.Lma, + this.vX = { + Fma: k.Fma, N: d }; - d ? this.PVa(d, c, !1) : l.then(function (g) { - f.PVa(g, c, !0); + d ? this.NVa(d, c, !1) : l.then(function (g) { + f.NVa(g, c, !0); }); }; - a.prototype.PVa = function (c, f, k) { + a.prototype.NVa = function (c, f, k) { var l; - this.wX && (this.wX.N = c, c.Dqa(f), null === (l = f.normalize) || void 0 === l ? void 0 : l.call(f, c), this.Zoa(f, c, k)); + this.vX && (this.vX.N = c, c.xqa(f), null === (l = f.normalize) || void 0 === l ? void 0 : l.call(f, c), this.Uoa(f, c, k)); }; return a; })(); - b.Kva = q; - }, function (q, b, a) { + b.Hva = r; + }, function (r, b, a) { var f, k, l, @@ -106760,55 +106700,55 @@ a000.D9b = function () { g, h, m; - function c(n, r) { - return (1 === n.mediaType ? 0 : 1) - (1 === r.mediaType ? 0 : 1); + function c(n, q) { + return (1 === n.mediaType ? 0 : 1) - (1 === q.mediaType ? 0 : 1); } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.Gva = b.Jva = b.Iaa = void 0; + b.Dva = b.Gva = b.Baa = void 0; f = a(2); k = a(16); l = a(22); - q = a(112); + r = a(112); d = a(43); - g = a(408); + g = a(412); h = a(6); - b.Iaa = { - QXb: c + b.Baa = { + SXb: c }; (function (n) { - n[n.G9 = 0] = "CREATED"; - n[n.RX = 1] = "CANCELLED"; - })(m = b.Jva || (b.Jva = {})); + n[n.B9 = 0] = "CREATED"; + n[n.QX = 1] = "CANCELLED"; + })(m = b.Gva || (b.Gva = {})); a = (function () { - function n(r, p, u, t, w, v, x, y, z, B, A, C) { + function n(q, p, t, u, w, v, x, y, z, A, B, C) { var E; E = this; - this.I = r; + this.I = q; this.H = p; - this.upa = u; - this.Gu = t; - this.Pja = w; - this.RB = v; - this.sA = x; - this.Gca = y; + this.ppa = t; + this.Lu = u; + this.Ija = w; + this.TB = v; + this.uA = x; + this.Aca = y; this.parent = z; - this.aQ = B; - this.bx = A; - this.vX = C; - this.Gc = m.G9; + this.aQ = A; + this.gx = B; + this.uX = C; + this.Ic = m.B9; this.events = new k.EventEmitter(); - this.UEb = new Promise(function (F) { - E.Noa = F; + this.wZa = new Promise(function (G) { + E.Ioa = G; }); } Object.defineProperties(n.prototype, { state: { get: function () { - return this.Gc; + return this.Ic; }, enumerable: !1, configurable: !0 @@ -106817,7 +106757,7 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { Fn: { get: function () { - return this.Gc === m.RX; + return this.Ic === m.QX; }, enumerable: !1, configurable: !0 @@ -106826,38 +106766,38 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { P: { get: function () { - return this.Gu; + return this.Lu; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - ZB: { + aC: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.ZB; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.aC; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Wo: { + Xo: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.Wo; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.Xo; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - rx: { + wx: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.rx) && void 0 !== p ? p : 0; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.wx) && void 0 !== p ? p : 0; }, enumerable: !1, configurable: !0 @@ -106866,38 +106806,38 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { sk: { get: function () { - var r; - return !(null === (r = this.md) || void 0 === r || !r.sk); + var q; + return !(null === (q = this.od) || void 0 === q || !q.sk); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - bYb: { + dYb: { get: function () { - return this.UEb; + return this.wZa; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Fg: { + Dg: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.Fg) && void 0 !== p ? p : []; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.Dg) && void 0 !== p ? p : []; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - NT: { + LT: { get: function () { - var r; - return !(null === (r = this.vX) || void 0 === r || !r.N); + var q; + return !(null === (q = this.uX) || void 0 === q || !q.N); }, enumerable: !1, configurable: !0 @@ -106906,8 +106846,8 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { N: { get: function () { - h.assert(this.vX.N, "viewable should be available"); - return this.vX.N; + h.assert(this.uX.N, "viewable should be available"); + return this.uX.N; }, enumerable: !1, configurable: !0 @@ -106916,18 +106856,18 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { U: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.U; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.U; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Xa: { + Ya: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.Xa; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.Ya; }, enumerable: !1, configurable: !0 @@ -106936,85 +106876,85 @@ a000.D9b = function () { Object.defineProperties(n.prototype, { jb: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.jb; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.jb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Lj: { + Kj: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.Lj) && void 0 !== p ? p : this.yj.Vf(this.U).Wb; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.Kj) && void 0 !== p ? p : this.vj.Wf(this.U).Zb; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - yy: { + By: { get: function () { - var r, + var q, p, - u; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.yy) && void 0 !== p ? p : null === (u = this.RB) || void 0 === u ? void 0 : u.add(this.yj); + t; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.By) && void 0 !== p ? p : null === (t = this.TB) || void 0 === t ? void 0 : t.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - AM: { + CM: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.AM) && void 0 !== p ? p : this.P.uh.add(this.yj); + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.CM) && void 0 !== p ? p : this.P.th.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - yV: { + xV: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.yV) && void 0 !== p ? p : this.P.Ll.add(this.yj); + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.xV) && void 0 !== p ? p : this.P.Kl.add(this.vj); }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Kma: { + Ema: { get: function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.Kma; + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.Ema; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - yj: { + vj: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.yj) && void 0 !== p ? p : this.sA; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.vj) && void 0 !== p ? p : this.uA; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Rt: { + Xt: { get: function () { - var r, + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.Rt) && void 0 !== p ? p : this.P.Ll.Ba(this.RB || this.P.uh); + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.Xt) && void 0 !== p ? p : this.P.Kl.Da(this.TB || this.P.th); }, enumerable: !1, configurable: !0 @@ -107022,139 +106962,152 @@ a000.D9b = function () { }); n.prototype.mb = function () { return f.__awaiter(this, void 0, void 0, function () { - return f.__generator(this, function (r) { - switch (r.label) { + return f.__generator(this, function (q) { + switch (q.label) { case 0: - return this.parent ? [4, this.parent.bYb] : [3, 2]; + return this.parent ? [4, this.parent.dYb] : [3, 2]; case 1: - (r.Oe(), r.label = 2); + (q.Wd(), q.label = 2); case 2: - return (this.state !== m.RX && this.vX.mb(this), [2]); + return (this.state !== m.QX && this.uX.mb(this), [2]); } }); }); }; - n.prototype.normalize = function (r) { - var p; - if (this.state !== m.RX) { - if (null === (p = this.parent) || void 0 === p ? 0 : p.pf) - this.sA = this.parent.pf.Ba(this.Gu.uh); - this.md = new g.maa(this, this.I, this.H, r, this.upa, this.Gu, this.Pja, void 0, this.RB, this.sA, this.Gca, this.parent, [], this.aQ, this.events, this.bx); + n.prototype.normalize = function (q) { + var p, + t; + p = this; + if (this.state !== m.QX) { + if (null === (t = this.parent) || void 0 === t ? 0 : t.pf) + this.uA = this.parent.pf.Da(this.Lu.th); + this.od = new g.eaa(this, this.I, this.H, q, this.ppa, this.Lu, this.Ija, void 0, this.TB, this.uA, this.Aca, this.parent, [], this.aQ, this.events, this.gx); this.parent = void 0; - this.md.events.on("branchNormalized", this.Noa); - this.md.mb(); + this.od.events.on("branchNormalized", function () { + return p.Ioa(p.od); + }); + this.od.mb(); } }; - n.prototype.update = function (r) { + n.prototype.update = function (q) { var p; - this.Gu = r; - null === (p = this.md) || void 0 === p ? void 0 : p.update(r); + this.Lu = q; + null === (p = this.od) || void 0 === p ? void 0 : p.update(q); }; - n.prototype.Hz = function (r) { + n.prototype.Kz = function (q) { var p; - this.sA = r; - null === (p = this.md) || void 0 === p ? void 0 : p.Hz(r); + this.uA = q; + null === (p = this.od) || void 0 === p ? void 0 : p.Kz(q); }; - n.prototype.AF = function (r) { - var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.AF(r); + n.prototype.FF = function (q) { + return f.__awaiter(this, void 0, void 0, function () { + var p; + return f.__generator(this, function (t) { + switch (t.label) { + case 0: + return [4, this.wZa]; + case 1: + return (p = t.Wd(), [2, p.FF(q)]); + } + }); + }); }; - n.prototype.KS = function () { - var r; - null === (r = this.md) || void 0 === r ? void 0 : r.KS(); + n.prototype.JS = function () { + var q; + null === (q = this.od) || void 0 === q ? void 0 : q.JS(); }; n.prototype.reset = function () { - var r; - null === (r = this.md) || void 0 === r ? void 0 : r.reset(); + var q; + null === (q = this.od) || void 0 === q ? void 0 : q.reset(); }; - n.prototype.zf = function () { - var r; - this.Gc = m.RX; - null === (r = this.md) || void 0 === r ? void 0 : r.zf(); - this.vX.wb(); + n.prototype.Bf = function () { + var q; + this.Ic = m.QX; + null === (q = this.od) || void 0 === q ? void 0 : q.Bf(); + this.uX.zb(); }; - n.prototype.k4 = function (r) { + n.prototype.l4 = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.k4(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.l4(q); }; - n.prototype.Ra = function (r) { + n.prototype.Sa = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.Ra(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.Sa(q); }; - n.prototype.ny = function (r) { + n.prototype.ry = function (q) { var p, - u; - void 0 === r && (r = c); - return null !== (u = null === (p = this.md) || void 0 === p ? void 0 : p.ny(r)) && void 0 !== u ? u : []; + t; + void 0 === q && (q = c); + return null !== (t = null === (p = this.od) || void 0 === p ? void 0 : p.ry(q)) && void 0 !== t ? t : []; }; - n.prototype.Xja = function () { - var r, + n.prototype.Rja = function () { + var q, p; - return null !== (p = null === (r = this.md) || void 0 === r ? void 0 : r.Xja()) && void 0 !== p ? p : []; + return null !== (p = null === (q = this.od) || void 0 === q ? void 0 : q.Rja()) && void 0 !== p ? p : []; }; - n.prototype.vT = function (r) { + n.prototype.tT = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.vT(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.tT(q); }; - n.prototype.Hh = function (r, p) { - var u; - return null === (u = this.md) || void 0 === u ? void 0 : u.Hh(r, p); + n.prototype.Hh = function (q, p) { + var t; + return null === (t = this.od) || void 0 === t ? void 0 : t.Hh(q, p); }; - n.prototype.sF = function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.sF(); + n.prototype.wF = function () { + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.wF(); }; - n.prototype.q3 = function (r) { + n.prototype.r3 = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.q3(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.r3(q); }; - n.prototype.Vv = function (r, p, u) { - var t; - null === (t = this.md) || void 0 === t ? void 0 : t.Vv(r, p, u); + n.prototype.$v = function (q, p, t) { + var u; + null === (u = this.od) || void 0 === u ? void 0 : u.$v(q, p, t); }; - n.prototype.qo = function (r) { + n.prototype.ro = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.qo(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.ro(q); }; - n.prototype.Qoa = function (r) { + n.prototype.Loa = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.Qoa(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.Loa(q); }; - n.prototype.YR = function (r) { + n.prototype.ZR = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.YR(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.ZR(q); }; - n.prototype.Bja = function (r) { - return this.md ? this.md.Bja(r) : l.S.hb; + n.prototype.uja = function (q) { + return this.od ? this.od.uja(q) : l.S.hb; }; - n.prototype.vta = function (r) { + n.prototype.qta = function (q) { var p; - return null === (p = this.md) || void 0 === p ? void 0 : p.vta(r); + return null === (p = this.od) || void 0 === p ? void 0 : p.qta(q); }; n.prototype.toJSON = function () { - var r; - return null === (r = this.md) || void 0 === r ? void 0 : r.toJSON(); + var q; + return null === (q = this.od) || void 0 === q ? void 0 : q.toJSON(); }; return n; })(); - b.Gva = a; - d.tf(q.Uz, a); - d.tf(q.Sz, a); - }, function (q, b) { + b.Dva = a; + d.tf(r.Wz, a); + d.tf(r.Uz, a); + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.KGa = void 0; - q = (function () { + b.GGa = void 0; + r = (function () { function a(c, f) { this.H = c; - this.Bh = f; - this.Isa = !1; + this.zh = f; + this.Csa = !1; } - a.prototype.qh = function (c, f, k, l, d, g) { - this.Isa || (this.Isa = !0, c = { + a.prototype.ph = function (c, f, k, l, d, g) { + this.Csa || (this.Csa = !0, c = { type: "error", error: null !== k && void 0 !== k ? k : "NFErr_MC_StreamingFailure", errormsg: c, @@ -107162,15 +107115,15 @@ a000.D9b = function () { httpCode: d, nativeCode: g, viewableId: f - }, this.H.error("notifyStreamingError: " + JSON.stringify(c)), this.Bh.emit("error", c)); + }, this.H.error("notifyStreamingError: " + JSON.stringify(c)), this.zh.emit("error", c)); }; - a.prototype.Lm = function () { - return this.Isa; + a.prototype.Jm = function () { + return this.Csa; }; return a; })(); - b.KGa = q; - }, function (q, b, a) { + b.GGa = r; + }, function (r, b, a) { var c, f, k, @@ -107181,22 +107134,22 @@ a000.D9b = function () { value: !0 } }); - b.Jaa = void 0; + b.Caa = void 0; c = a(2); f = a(6); k = a(9); l = a(19); - d = a(255); - q = (function (g) { + d = a(256); + r = (function (g) { function h(m) { var n; n = g.call(this) || this; n.qa = m; - n.Ab = []; - n.dQ = new d.AZ({ + n.Cb = []; + n.dQ = new d.BZ({ tk: !1, currentTime: function () { - return n.Nn ? n.Cd : k.S.PB; + return n.Pn ? n.ud : k.S.RB; }, speed: 1 }); @@ -107204,7 +107157,7 @@ a000.D9b = function () { } c.__extends(h, g); Object.defineProperties(h.prototype, { - wa: { + xa: { get: function () { return this.dQ; }, @@ -107212,49 +107165,49 @@ a000.D9b = function () { configurable: !0 } }); - h.prototype.H0 = function (m, n) { - var r; - r = !this.qa; - r && (this.qa = m, this.mca = (null === n || void 0 === n ? 0 : n.Nn) ? n.Cd : void 0); - return r; + h.prototype.J0 = function (m, n) { + var q; + q = !this.qa; + q && (this.qa = m, this.gca = (null === n || void 0 === n ? 0 : n.Pn) ? n.ud : void 0); + return q; }; - h.prototype.TE = function () { - this.Ab = []; - this.mca = void 0; + h.prototype.UE = function () { + this.Cb = []; + this.gca = void 0; }; - h.prototype.Cha = function (m) { - l.ka && f.assert(this.qa === m); + h.prototype.wha = function (m) { + l.ia && f.assert(this.qa === m); this.qa = void 0; - this.TE(); + this.UE(); }; - h.prototype.hia = function () { - for (var m, n = [], r = 0; r < arguments.length; r++) { - n[r] = arguments[r]; + h.prototype.aia = function () { + for (var m, n = [], q = 0; q < arguments.length; q++) { + n[q] = arguments[q]; } - (m = this.Ab).push.apply(m, c.__spread(n)); + (m = this.Cb).push.apply(m, c.__spread(n)); }; - h.prototype.ZK = function () { - return this.mca ? this.mca : g.prototype.ZK.call(this); + h.prototype.cL = function () { + return this.gca ? this.gca : g.prototype.cL.call(this); }; - h.prototype.Qn = function () { + h.prototype.Sn = function () { return !1; }; - h.prototype.bH = function () {}; + h.prototype.jH = function () {}; return h; - })(a(430).Vaa); - b.Jaa = q; - }, function (q, b, a) { + })(a(434).Oaa); + b.Caa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.$Da = void 0; + b.YDa = void 0; c = a(54); - q = (function () { + r = (function () { function f(k) { - this.Ra = k; + this.Sa = k; } Object.defineProperties(f.prototype, { Ii: { @@ -107274,20 +107227,20 @@ a000.D9b = function () { configurable: !0 } }); - f.prototype.Ln = function (k) { + f.prototype.Mn = function (k) { var l, d; k = k.ji; - if (k === c.ae.zr || k === c.ae.ip) { + if (k === c.Zd.Cr || k === c.Zd.jp) { k = {}; - l = this.Ra(1); - d = this.Ra(0); - l && (k.videoPipelineSummary = this.v4a(l)); - d && (k.audioPipelineSummary = this.v4a(d)); + l = this.Sa(1); + d = this.Sa(0); + l && (k.videoPipelineSummary = this.x4a(l)); + d && (k.audioPipelineSummary = this.x4a(d)); return k; } }; - f.prototype.v4a = function (k) { + f.prototype.x4a = function (k) { var l, d, g, @@ -107295,33 +107248,33 @@ a000.D9b = function () { m; m = k.Na.Y; return { - actualStartPlayerTimestamp: null === (l = m.Ui) || void 0 === l ? void 0 : l.V, - actualPartialPlayerTimestamp: m.L_a, - actualCompletePlayerTimestamp: null === (d = k.kea) || void 0 === d ? void 0 : d.V, + actualStartPlayerTimestamp: null === (l = m.Si) || void 0 === l ? void 0 : l.V, + actualPartialPlayerTimestamp: m.J_a, + actualCompletePlayerTimestamp: null === (d = k.eea) || void 0 === d ? void 0 : d.V, segmentId: k.va, - contentStartMs: null === (g = k.Xc) || void 0 === g ? void 0 : g.V, - contentEndMs: null === (h = k.Md) || void 0 === h ? void 0 : h.V, - streamingPlayerMs: k.Ck.V, - isStreamable: k.VB(), + contentStartMs: null === (g = k.Wc) || void 0 === g ? void 0 : g.V, + contentEndMs: null === (h = k.Kd) || void 0 === h ? void 0 : h.V, + streamingPlayerMs: k.Rj.V, + isStreamable: k.XB(), isNormalized: k.sk(), - isDoneStreaming: k.Ts(), - trackNeedsHeaderRequest: k.track.goa, - completedRequests: m.zOa, - activeRequests: k.Na.Uo, - unsentRequests: k.Na.Ar, + isDoneStreaming: k.Ys(), + trackNeedsHeaderRequest: k.track.boa, + completedRequests: m.xOa, + activeRequests: k.Na.Vo, + unsentRequests: k.Na.Dr, bytes: { - current: m.ca, + current: m.da, received: m.k1a, partial: m.jl, - completed: m.iB, - unsent: m.mWb + completed: m.kB, + unsent: m.oWb } }; }; return f; })(); - b.$Da = q; - }, function (q, b, a) { + b.YDa = r; + }, function (r, b, a) { var c, f, k, @@ -107331,14 +107284,14 @@ a000.D9b = function () { value: !0 } }); - b.DEa = void 0; + b.BEa = void 0; c = a(2); f = a(19); k = a(54); - l = a(431); - q = (function () { + l = a(435); + r = (function () { function d(g) { - this.WMb = g; + this.ZMb = g; } Object.defineProperties(d.prototype, { Ii: { @@ -107350,7 +107303,7 @@ a000.D9b = function () { } }); Object.defineProperties(d.prototype, { - nC: { + pC: { get: function () { return "paudit"; }, @@ -107361,46 +107314,46 @@ a000.D9b = function () { Object.defineProperties(d.prototype, { enabled: { get: function () { - return f.ka; + return f.ia; }, enumerable: !1, configurable: !0 } }); - d.prototype.Ln = function (g) { + d.prototype.Mn = function (g) { var h; g = g.ji; - if (g === k.ae.ip || g === k.ae.zr) { + if (g === k.Zd.jp || g === k.Zd.Cr) { h = {}; - this.WMb.forEach(function (m, n) { - var r; - r = l.uja(m); + this.ZMb.forEach(function (m, n) { + var q; + q = l.nja(m); h[n] = c.__assign({ - probabilities: m.oh.map(function (p) { + probabilities: m.mh.map(function (p) { return { duration: p.duration, - immediate: p.NB, - seamless: p.Be + immediate: p.PB, + seamless: p.De }; }) - }, r); + }, q); }); return h; } }; return d; })(); - b.DEa = q; - }, function (q, b) { + b.BEa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.UAa = void 0; - q = (function () { + b.SAa = void 0; + r = (function () { function a(c, f, k) { - this.Df = c; + this.Ff = c; this.H = f; this.events = k; this.UM = []; @@ -107409,13 +107362,13 @@ a000.D9b = function () { var f; f = this; this.UM.push(c); - this.Df.Qrb(function () { - f.y5a(c, { - xEb: !0 + this.Ff.Rrb(function () { + f.A5a(c, { + AEb: !0 }); - }, c.wNa, c.$u); + }, c.wNa, c.ev); }; - a.prototype.mGb = function (c) { + a.prototype.oGb = function (c) { var f, k; f = this; @@ -107423,24 +107376,24 @@ a000.D9b = function () { ji: c }; this.UM.forEach(function (l) { - f.y5a(l, k); + f.A5a(l, k); }); }; - a.prototype.y5a = function (c, f) { + a.prototype.A5a = function (c, f) { var k, l; try { - k = c.Of(f); + k = c.Pf(f); l = k.event; - k.z3a && this.events.emit(c.$u, l); + k.z3a && this.events.emit(c.ev, l); } catch (d) { - this.H.error("Error generating event for " + c.$u, d); + this.H.error("Error generating event for " + c.ev, d); } }; return a; })(); - b.UAa = q; - }, function (q, b, a) { + b.SAa = r; + }, function (r, b, a) { var c, f, k, @@ -107450,17 +107403,17 @@ a000.D9b = function () { value: !0 } }); - b.dr = b.MUa = b.GWa = void 0; + b.er = b.MUa = b.EWa = void 0; c = a(9); f = a(6); k = a(19); - b.GWa = function (d, g) { - d = d.Ca[g.va]; + b.EWa = function (d, g) { + d = d.wa[g.va]; if (void 0 === d) return !1; - if (void 0 === d.Yc || null === d.Yc) + if (void 0 === d.Fc || null === d.Fc) throw Error("Cannot validate graph position without endTimeMs"); - d = d.Yc - d.xc; + d = d.Fc - d.jc; return 0 <= g.offset.V && g.offset.V < d; }; l = c.S.rb(100); @@ -107470,50 +107423,50 @@ a000.D9b = function () { if (d && g && d.va === g.va) { if (d.offset === g.offset) return !0; - d = c.S.abs(d.offset.Ba(g.offset)); + d = c.S.abs(d.offset.Da(g.offset)); if (l.greaterThan(d)) return !0; } return !1; }; - b.dr = function (d, g, h) { + b.er = function (d, g, h) { var m, n, - r, + q, p; - r = g.qa; - g = g.WDb; + q = g.qa; + g = g.ZDb; void 0 === h && (h = {}); - p = r.Fa; - r = r.navigator; - p = r.Me(null !== (m = null === g || void 0 === g ? void 0 : g.id) && void 0 !== m ? m : p.hg); - m = null !== (n = null === g || void 0 === g ? void 0 : g.jRb) && void 0 !== n ? n : p.uh; + p = q.Ba; + q = q.navigator; + p = q.ze(null !== (m = null === g || void 0 === g ? void 0 : g.id) && void 0 !== m ? m : p.Oe); + m = null !== (n = null === g || void 0 === g ? void 0 : g.nRb) && void 0 !== n ? n : p.th; if (m.greaterThan(d)) - return h.K3a ? { - offset: d.Ba(m), + return h.L3a ? { + offset: d.Da(m), va: p.id } : void 0; - g = r.yFb(p); - for (r = g.next(); !r.done; ) { - n = r.value; - r = n.Ll.Ba(n.uh); + g = q.BFb(p); + for (q = g.next(); !q.done; ) { + n = q.value; + q = n.Kl.Da(n.th); p = m; - m = p.add(r); + m = p.add(q); if (m.greaterThan(d)) - return (d = d.Ba(p), k.ka && f.assert(d.xp(c.S.hb) && d.lessThan(r)), { + return (d = d.Da(p), k.ia && f.assert(d.On(c.S.hb) && d.lessThan(q)), { va: n.id, offset: d }); - r = g.next(); - if (r.done && h.L3a) + q = g.next(); + if (q.done && h.M3a) return { va: n.id, - offset: d.Ba(p) + offset: d.Da(p) }; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -107524,135 +107477,135 @@ a000.D9b = function () { value: !0 } }); - b.Pya = void 0; - q = a(2); + b.Nya = void 0; + r = a(2); c = a(14); - f = q.__importDefault(a(146)); - k = q.__importDefault(a(4)); + f = r.__importDefault(a(146)); + k = r.__importDefault(a(5)); l = a(178); d = a(30); a = (function () { - function g(h, m, n, r, p) { + function g(h, m, n, q, p) { this.config = h; - this.nTb = m; + this.qTb = m; this.navigator = n; - this.events = r; + this.events = q; this.console = p; - h = l.fL(this.config); - this.v0a = [h.AC, h.C6]; + h = l.iL(this.config); + this.v0a = [h.CC, h.A6]; } - g.prototype.pRb = function (h, m, n, r, p, u) { - var t, + g.prototype.sRb = function (h, m, n, q, p, t) { + var u, w, v, x, y; w = []; - if (!this.U_a(r.track)) + if (!this.S_a(q.track)) return { stream: v, - yN: w + zN: w }; - v = r.Cf.Ws; - x = p ? p.Dm(r.track.Qd, h) : r.track.Qd; - if (0 === x.length && (null === p || void 0 === p ? 0 : p.Nnb)) + v = q.Ef.dt; + x = p ? p.Bm(q.track.Od, h) : q.track.Od; + if (0 === x.length && (null === p || void 0 === p ? 0 : p.Onb)) return { stream: void 0, - yN: w + zN: w }; - v && !v.track.equals(r.track) && (v = this.Vwb(v, x)); - if (0 === r.mediaType && v && !this.RSb(r, v)) + v && !v.track.equals(q.track) && (v = this.axb(v, x)); + if (0 === q.mediaType && v && !this.VSb(q, v)) return { stream: v, - yN: w + zN: w }; - h = this.esb(h === c.wc.Sc ? c.ja.Sc : h === c.wc.ef ? c.ja.ef : h === c.wc.NP ? c.ja.Sc : h === c.wc.Zj ? c.ja.yc : c.ja.Ig, m, n, r, !!u); - h = r.xz.Hra(h, x, void 0, this.v0a[r.mediaType], !0, r.track.N.jp); + h = this.fsb(h === c.yc.Sc ? c.ka.Sc : h === c.yc.ef ? c.ka.ef : h === c.yc.OP ? c.ka.Sc : h === c.yc.$j ? c.ka.Ac : c.ka.Gg, m, n, q, !!t); + h = q.Az.Ara(h, x, void 0, this.v0a[q.mediaType], !0, q.track.N.kp); if (!h) return { stream: v, - yN: w + zN: w }; h.reason && (y = { reason: h.reason, - Gra: h.Ps, - wy: h.wy, - On: h.On, - Pn: h.Pn + zra: h.Us, + zy: h.zy, + Qn: h.Qn, + Rn: h.Rn }); - this.Zub(r.mediaType, h, x); - v = x[h.ie]; - r.Cf.j3a(v); - if (null === (t = h.Vx) || void 0 === t ? 0 : t.length) - w = h.Vx.map(function (z) { - return d.wg(x, function (B) { - return B.id === z; + this.cvb(q.mediaType, h, x); + v = x[h.he]; + q.Ef.j3a(v); + if (null === (u = h.$x) || void 0 === u ? 0 : u.length) + w = h.$x.map(function (z) { + return d.wg(x, function (A) { + return A.id === z; }); }).filter(d.S5); - r = h.kt; + q = h.qt; return void 0 !== y ? { stream: v, - yN: w, - rRb: y, - kt: r + zN: w, + uRb: y, + qt: q } : { stream: v, - yN: w, - kt: r + zN: w, + qt: q }; }; - g.prototype.Zfa = function (h, m, n, r, p, u, t) { + g.prototype.Tfa = function (h, m, n, q, p, t, u) { var w, v; - if (!c.Vq(m)) + if (!c.Uq(m)) return { complete: !0, reason: "playing" }; - if (!u.JNb) + if (!t.ONb) return { complete: !1, reason: "unknown" }; - if (u.ELb) - return u.FLb; - w = this.xSa(u, n); - v = u.Cf.Ws; - n = w.Hl - w.qc; - if (n < this.config.Qi || void 0 === v) + if (t.GLb) + return t.HLb; + w = this.xSa(t, n); + v = t.Ef.dt; + n = w.Gl - w.vc; + if (n < this.config.Ni || void 0 === v) return { complete: !1, - bB: n, + dB: n, reason: "preBuf" }; - if (0 === u.mediaType) + if (0 === t.mediaType) return { complete: !0, - bB: n, + dB: n, reason: "audio" }; - if (h = h.TNa(u.mediaType)) + if (h = h.RNa(t.mediaType)) return { complete: !0, - bB: n, + dB: n, reason: h }; - this.U_a(u.track); - u.xz.Qpa([v], !1, w, this.v0a[u.mediaType]); - m = u.xz.Hx(w, m, p, v, { - xs: t + this.S_a(t.track); + t.Az.Kpa([v], !1, w, this.v0a[t.mediaType]); + m = t.Az.Mx(w, m, p, v, { + Bs: u }); - if (!m.complete && r) + if (!m.complete && q) return { complete: !0, reason: "prebufferTimeLimit", - bB: n + dB: n }; - m.bB = n; + m.dB = n; return m; }; - g.prototype.Zub = function (h, m, n) { + g.prototype.cvb = function (h, m, n) { this.events.emit("streamSelection", { type: "streamSelection", mediaType: h, @@ -107660,178 +107613,178 @@ a000.D9b = function () { streamList: n }); }; - g.prototype.Vwb = function (h, m) { + g.prototype.axb = function (h, m) { var n; n = m[0]; - m.filter(function (r) { - return r.Vs; - }).every(function (r) { - return r.bitrate <= h.bitrate ? n = r : !1; + m.filter(function (q) { + return q.$s; + }).every(function (q) { + return q.bitrate <= h.bitrate ? n = q : !1; }); return n; }; - g.prototype.RSb = function (h, m) { - return 0 < this.config.IN.length ? !0 : (h = h.Cf.HL) && h === m.location ? !1 : !0; + g.prototype.VSb = function (h, m) { + return 0 < this.config.JN.length ? !0 : (h = h.Ef.JL) && h === m.location ? !1 : !0; }; - g.prototype.U_a = function (h) { - return h.N.Pl.hX(h.N.da, h.Qd); + g.prototype.S_a = function (h) { + return h.N.Pl.gX(h.N.$, h.Od); }; g.prototype.xSa = function (h, m) { var z; - for (var n, r = m.Ba(this.nTb), p = [], u = h, t = m, w, v, x = 0, y = !0; u; ) { - z = u.Fzb(r); - if (!y && !u.Wo) + for (var n, q = m.Da(this.qTb), p = [], t = h, u = m, w, v, x = 0, y = !0; t; ) { + z = t.Jzb(q); + if (!y && !t.Xo) break; - 0 < z.Y.length && (t = z.Y[0].Ui, void 0 === w && (w = z.Y[z.Y.length - 1].pf, v = z.gpa >= z.Y.length ? w : z.Y[z.gpa].Ui), p = z.Y.concat(p), x += z.jl); - u = this.navigator.parent(u); + 0 < z.Y.length && (u = z.Y[0].Si, void 0 === w && (w = z.Y[z.Y.length - 1].pf, v = z.bpa >= z.Y.length ? w : z.Y[z.bpa].Si), p = z.Y.concat(p), x += z.jl); + t = this.navigator.parent(t); y = !1; } return { - Su: k.default.Mn()[h.mediaType], - Z: Math.floor(t.V), - qc: m.V, - oc: Math.floor(null !== (n = null === w || void 0 === w ? void 0 : w.V) && void 0 !== n ? n : m.V), - Hl: Math.floor(v ? v.V : m.V), - Tj: p.reduce(function (B, A) { - return B + A.ca; + Xu: k.default.Nn()[h.mediaType], + X: Math.floor(u.V), + vc: m.V, + tc: Math.floor(null !== (n = null === w || void 0 === w ? void 0 : w.V) && void 0 !== n ? n : m.V), + Gl: Math.floor(v ? v.V : m.V), + Tj: p.reduce(function (A, B) { + return A + B.da; }, 0), jl: x, - hSa: p.length, + gSa: p.length, Y: p }; }; - g.prototype.esb = function (h, m, n, r, p) { - var u, - t, + g.prototype.fsb = function (h, m, n, q, p) { + var t, + u, w; - u = this.xSa(r, m); - t = 1 === r.mediaType ? this.config.oX : this.config.tR; + t = this.xSa(q, m); + u = 1 === q.mediaType ? this.config.nX : this.config.uR; w = f.default.instance(); return { state: h, - UB: h === c.ja.yc, - kf: r.Zn, + WB: h === c.ka.Ac, + kf: q.ao, playbackRate: n, - buffer: u, - Nha: t, - FXa: !1, - xK: p, - Uo: null === w || void 0 === w ? void 0 : w.Uo, - mediaType: r.mediaType, - qc: m.V, - Wq: !1, - Xla: !1, - R6: 0 + buffer: t, + Hha: u, + DXa: !1, + BK: p, + Vo: null === w || void 0 === w ? void 0 : w.Vo, + mediaType: q.mediaType, + vc: m.V, + Vq: !1, + Rla: !1, + O6: 0 }; }; return g; })(); - b.Pya = a; - }, function (q, b, a) { + b.Nya = a; + }, function (r, b, a) { var k, l; function c(d, g, h, m, n) { - var r, + var q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H; w = d.console; - v = d.nWb; - x = d.Ji; - y = d.mQb; - z = d.jub; - B = d.boa; - A = d.qfa; - d = d.BLb; + v = d.pWb; + x = d.Bj; + y = d.rQb; + z = d.nub; + A = d.Xna; + B = d.jfa; + d = d.DLb; C = n || ({ complete: !0, - Rt: 0 + Xt: 0 }); E = C.root; - F = C.complete; + G = C.complete; D = C.dkb; - G = C.V1a; - G = void 0 === G ? 0 : G; - C = C.Rt; - I = G < y.length && y[G] === g.id; + F = C.U1a; + F = void 0 === F ? 0 : F; + C = C.Xt; + J = F < y.length && y[F] === g.id; x = m && x.get(m.id); - J = n && m && x !== g.id ? void 0 !== x ? { - Be: 0 - } - : m.wnb(g.id) : { - Be: 1 - }; - x = J.Be; - J = J.NB; - H = void 0 === J ? 0 : J; - J = (x + H) * (null !== (r = null === n || void 0 === n ? void 0 : n.TNb) && void 0 !== r ? r : 1); - l && w.trace("reevaluateBranches: visiting " + g.id + ", distance: " + (h + ", predecessor: ") + ((null === m || void 0 === m ? void 0 : m.id) + ", predecessorComplete: ") + (F + ", isOnRequiredPath: ") + (I + ", requiredPathIndex: ") + (G + ", activeDistance: ") + (D + ", seamless ") + (x + ", immediate ") + (H + ", predecessor sum of: successor weights=") + ((null === m || void 0 === m ? void 0 : m.Nsa) + ", immediate weights= ") + (null === m || void 0 === m ? void 0 : m.W7)); - r = null !== (u = null === (p = v[g.id]) || void 0 === p ? void 0 : p.shift()) && void 0 !== u ? u : g.duration.V; - p = 0 === r; - if (!I) { - if (0 === J) + K = n && m && x !== g.id ? void 0 !== x ? { + De: 0 + } + : m.xnb(g.id) : { + De: 1 + }; + x = K.De; + K = K.PB; + H = void 0 === K ? 0 : K; + K = (x + H) * (null !== (q = null === n || void 0 === n ? void 0 : n.YNb) && void 0 !== q ? q : 1); + l && w.trace("reevaluateBranches: visiting " + g.id + ", distance: " + (h + ", predecessor: ") + ((null === m || void 0 === m ? void 0 : m.id) + ", predecessorComplete: ") + (G + ", isOnRequiredPath: ") + (J + ", requiredPathIndex: ") + (F + ", activeDistance: ") + (D + ", seamless ") + (x + ", immediate ") + (H + ", predecessor sum of: successor weights=") + ((null === m || void 0 === m ? void 0 : m.Isa) + ", immediate weights= ") + (null === m || void 0 === m ? void 0 : m.S7)); + q = null !== (t = null === (p = v[g.id]) || void 0 === p ? void 0 : p.shift()) && void 0 !== t ? t : g.duration.V; + p = 0 === q; + if (!J) { + if (0 === K) return { - L8: !1 + G8: !1 }; - if (!F && 0 === H && C > A) - return (d.sB = Math.min(d.sB || Infinity, C - A), { - L8: !1 + if (!G && 0 === H && C > B) + return (d.tB = Math.min(d.tB || Infinity, C - B), { + G8: !1 }); - if (!p && h >= z && 1 > J || !1 === E && J < B) + if (!p && h >= z && 1 > K || !1 === E && K < A) return { - L8: !1 + G8: !1 }; } - G < y.length && k.assert(y[G] === g.id, ""); - n = null !== (t = null === n || void 0 === n ? void 0 : n.oh) && void 0 !== t ? t : []; + F < y.length && k.assert(y[F] === g.id, ""); + n = null !== (u = null === n || void 0 === n ? void 0 : n.mh) && void 0 !== u ? u : []; m && 1 > x && (n = n.concat([0 < H ? { - Be: x, - NB: H, + De: x, + PB: H, duration: m.duration.V } : { - Be: x + De: x } ])); - d.U1a.push({ + d.T1a.push({ P: g, - vt: null === m || void 0 === m ? void 0 : m.id, - oh: n + At: null === m || void 0 === m ? void 0 : m.id, + mh: n }); - h = F ? h + g.duration.V : D; + h = G ? h + g.duration.V : D; l && w.trace("reevaluateBranches: added " + g.id + ", visiting successors, active distance: " + (h + " probabilities: ") + JSON.stringify(n)); return { - L8: !0, + G8: !0, state: { root: !m, complete: p, - TNb: J, - oh: n, + YNb: K, + mh: n, dkb: h, - V1a: G + 1, - Rt: C + r + U1a: F + 1, + Xt: C + q } }; } function f(d, g, h, m) { - m("reevaluateBranches: " + Array(h + 1).join(" ") + d.P.id + " (" + (JSON.stringify(d.oh) + ")")); + m("reevaluateBranches: " + Array(h + 1).join(" ") + d.P.id + " (" + (JSON.stringify(d.mh) + ")")); g.filter(function (n) { - return n.vt === d.P.id; + return n.At === d.P.id; }).forEach(function (n) { return f(n, g, h + 1, m); }); @@ -107841,40 +107794,40 @@ a000.D9b = function () { value: !0 } }); - b.AVb = b.$Xb = b.U6 = void 0; + b.CVb = b.bYb = b.R6 = void 0; k = a(6); - l = a(19).ka && !1; - b.U6 = function (d, g, h, m, n, r, p, u, t) { + l = a(19).ia && !1; + b.R6 = function (d, g, h, m, n, q, p, t, u) { var w, v, x, y; v = { - U1a: [] + T1a: [] }; - x = (null === (w = h.Ll) || void 0 === w ? void 0 : w.Ba(h.uh).V) || 0; - 0 < r.length && k.assert(h.id === r[0], "First segment of required path (if it exists) must equal reevaluateBranches start segment."); - l && d.trace("reevaluateBranches: starting at " + h.id + " requiredPath: " + JSON.stringify(r)); + x = (null === (w = h.Kl) || void 0 === w ? void 0 : w.Da(h.th).V) || 0; + 0 < q.length && k.assert(h.id === q[0], "First segment of required path (if it exists) must equal reevaluateBranches start segment."); + l && d.trace("reevaluateBranches: starting at " + h.id + " requiredPath: " + JSON.stringify(q)); y = { console: d, - nWb: m, - Ji: n, - mQb: r, - jub: p.V + x, - boa: u, - qfa: t.V, - BLb: v + pWb: m, + Bj: n, + rQb: q, + nub: p.V + x, + Xna: t, + jfa: u.V, + DLb: v }; - g.ZXb(h, function (z, B, A, C) { - return c(y, z, B, A, C); + g.aYb(h, function (z, A, B, C) { + return c(y, z, A, B, C); }); return v; }; - b.$Xb = c; - b.AVb = function (d, g) { + b.bYb = c; + b.CVb = function (d, g) { f(d[0], d, 0, g); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -107882,68 +107835,68 @@ a000.D9b = function () { value: !0 } }); - b.OEa = void 0; + b.LEa = void 0; c = a(2); - f = a(415); - q = (function () { + f = a(419); + r = (function () { function k(l) { - this.Fa = l; - this.Ca = {}; + this.Ba = l; + this.wa = {}; } - k.prototype.Me = function (l) { + k.prototype.ze = function (l) { var d; - d = this.Ca[l]; + d = this.wa[l]; if (void 0 === d) { - d = this.Fa.Ca[l]; + d = this.Ba.wa[l]; if (void 0 === d) throw Error("Segment not found (" + l + ")"); - d = new f.TEa(l, d, this.Fa.Yd); - this.Ca[l] = d; + d = new f.QEa(l, d, this.Ba.ie); + this.wa[l] = d; } return d; }; - k.prototype.hzb = function (l) { + k.prototype.lzb = function (l) { var d; d = this; return l.P.next ? Object.keys(l.P.next).map(function (g) { - return d.Me(g); + return d.ze(g); }) : []; }; - k.prototype.yFb = function (l) { + k.prototype.BFb = function (l) { var d; return c.__generator(this, function (g) { switch (g.label) { case 0: return [4, l]; case 1: - (g.Oe(), d = l, g.label = 2); + (g.Wd(), d = l, g.label = 2); case 2: - if (!d.P.Ki) + if (!d.P.Fh) return [3, 4]; - d = this.Me(d.P.Ki); + d = this.ze(d.P.Fh); return [4, d]; case 3: - return (g.Oe(), [3, 2]); + return (g.Wd(), [3, 2]); case 4: return [2]; } }); }; - k.prototype.GCb = function (l, d) { - return f.kWa(l.jL(d)); + k.prototype.ICb = function (l, d) { + return f.iWa(l.mL(d)); }; k.prototype.ti = function (l) { var d; d = this; Object.keys(l).forEach(function (g) { var h; - return null === (h = d.Me(g)) || void 0 === h ? void 0 : h.ti(l[g]); + return null === (h = d.ze(g)) || void 0 === h ? void 0 : h.ti(l[g]); }); }; return k; })(); - b.OEa = q; - }, function (q, b, a) { + b.LEa = r; + }, function (r, b, a) { var k, l, d; @@ -107951,21 +107904,21 @@ a000.D9b = function () { var m, n; m = Object.keys(g); - if (m.some(function (r) { + if (m.some(function (q) { var p, - u, t, + u, w; - return (null === (p = g[r]) || void 0 === p ? void 0 : p.Yd) !== (null === (u = h[r]) || void 0 === u ? void 0 : u.Yd) || (null === (t = g[r]) || void 0 === t ? void 0 : t.weight) !== (null === (w = h[r]) || void 0 === w ? void 0 : w.weight); + return (null === (p = g[q]) || void 0 === p ? void 0 : p.ie) !== (null === (t = h[q]) || void 0 === t ? void 0 : t.ie) || (null === (u = g[q]) || void 0 === u ? void 0 : u.weight) !== (null === (w = h[q]) || void 0 === w ? void 0 : w.weight); })) return !0; n = Object.keys(h); - return 0 !== k.__spread(l.ds(m, n), l.ds(n, m)).length ? !0 : !1; + return 0 !== k.__spread(l.hs(m, n), l.hs(n, m)).length ? !0 : !1; } function f(g, h) { return g.some(function (m, n) { - var r; - return 0 !== l.ds(m, null !== (r = h[n]) && void 0 !== r ? r : []).length; + var q; + return 0 !== l.hs(m, null !== (q = h[n]) && void 0 !== q ? q : []).length; }) || g.length !== h.length ? !0 : !1; } Object.defineProperties(b, { @@ -107973,20 +107926,20 @@ a000.D9b = function () { value: !0 } }); - b.zNa = b.JOa = void 0; + b.zNa = b.IOa = void 0; k = a(2); l = a(30); - d = a(946); - b.JOa = function (g) { - return new d.qxa(function (h) { + d = a(948); + b.IOa = function (g) { + return new d.nxa(function (h) { return Object.keys(h.P.next || ({})).map(function (m) { var n, - r, + q, p; - m = g.Me(m); - p = null !== (r = null === (n = h.Ll) || void 0 === n ? void 0 : n.Ba(h.uh).V) && void 0 !== r ? r : Infinity; + m = g.ze(m); + p = null !== (q = null === (n = h.Kl) || void 0 === n ? void 0 : n.Da(h.th).V) && void 0 !== q ? q : Infinity; return { - IXb: m, + KXb: m, weight: p }; }); @@ -107995,42 +107948,42 @@ a000.D9b = function () { b.zNa = function (g, h) { var m, n, - r, + q, p, - u, - t; - m = Object.keys(g.Ca); - n = Object.keys(h.Ca); - r = n.filter(function (w) { + t, + u; + m = Object.keys(g.wa); + n = Object.keys(h.wa); + q = n.filter(function (w) { return -1 === m.indexOf(w); }); p = m.filter(function (w) { return -1 === n.indexOf(w); }); - u = m.filter(function (w) { + t = m.filter(function (w) { var v, x, y, z, - B; + A; if (-1 === n.indexOf(w)) v = !1; else { - v = g.Ca[w]; - w = h.Ca[w]; - v = v.Ki !== w.Ki || v.Yc !== w.Yc || v.xc !== w.xc || v.Yd !== w.Yd || v.da !== w.da || f(null !== (x = v.av) && void 0 !== x ? x : [], null !== (y = w.av) && void 0 !== y ? y : []) || c(null !== (z = v.next) && void 0 !== z ? z : {}, null !== (B = w.next) && void 0 !== B ? B : {}) ? !0 : !1; + v = g.wa[w]; + w = h.wa[w]; + v = v.Fh !== w.Fh || v.Fc !== w.Fc || v.jc !== w.jc || v.ie !== w.ie || v.$ !== w.$ || f(null !== (x = v.fv) && void 0 !== x ? x : [], null !== (y = w.fv) && void 0 !== y ? y : []) || c(null !== (z = v.next) && void 0 !== z ? z : {}, null !== (A = w.next) && void 0 !== A ? A : {}) ? !0 : !1; } return v; }); - t = l.ds(m, k.__spread(u, r, p)); + u = l.hs(m, k.__spread(t, q, p)); return { - Mkb: r, + Nkb: q, SM: p, - eob: u, - hWb: t + fob: t, + jWb: u }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -108040,22 +107993,22 @@ a000.D9b = function () { value: !0 } }); - b.qxa = void 0; + b.nxa = void 0; c = a(6); - f = a(244); - k = a(947); - l = a(432); - q = (function () { + f = a(245); + k = a(949); + l = a(436); + r = (function () { function d(g) { - this.Rub = g; - this.eua = !1; - this.M8 = new k.dba(); - this.Nv = new k.dba(); - this.XLa = new l.cba(); + this.Vub = g; + this.bua = !1; + this.H8 = new k.Yaa(); + this.Sv = new k.Yaa(); + this.WLa = new l.Xaa(); } - d.prototype.ZXb = function (g, h) { + d.prototype.aYb = function (g, h) { var n, - r, + q, p; function m() { var w, @@ -108063,94 +108016,94 @@ a000.D9b = function () { x, y, z, - B; - w = u.pop(); + A; + w = t.pop(); v = p.get(w); - x = v.vt; - y = v.tK; + x = v.At; + y = v.xK; v = v.state; - if (!t.M8.has(w)) { - t.M8.add(w); + if (!u.H8.has(w)) { + u.H8.add(w); x = h(w, y, x, v); - z = x.L8; - B = x.state; - r(w).forEach(function (A) { + z = x.G8; + A = x.state; + q(w).forEach(function (B) { var C, E; - C = A.IXb; - if (!n.M8.has(C) && (A = y + A.weight, z)) - if (n.Nv.has(C)) { - E = n.XLa.get(C); - A < E.tK && (E.tK = A, E.vt = w, E.state = B, u.SNb(C)); - } else (n.Nv.add(C), p.set(C, { - tK: A, - vt: w, - state: B - }), u.push(C)); + C = B.KXb; + if (!n.H8.has(C) && (B = y + B.weight, z)) + if (n.Sv.has(C)) { + E = n.WLa.get(C); + B < E.xK && (E.xK = B, E.At = w, E.state = A, t.XNb(C)); + } else (n.Sv.add(C), p.set(C, { + xK: B, + At: w, + state: A + }), t.push(C)); }); } } n = this; - r = this.Rub; - p = this.XLa; - c.assert(!this.eua); - this.eua = !0; - this.M8.clear(); - this.Nv.clear(); + q = this.Vub; + p = this.WLa; + c.assert(!this.bua); + this.bua = !0; + this.H8.clear(); + this.Sv.clear(); p.set(g, { - tK: 0, + xK: 0, state: { root: !1, complete: !0, - V1a: 0, - Rt: 0 + U1a: 0, + Xt: 0 } }); - for (var u = new f.RY([g], function (w, v) { - return p.get(w).tK - p.get(v).tK; - }), t = this; !u.empty; ) { + for (var t = new f.QY([g], function (w, v) { + return p.get(w).xK - p.get(v).xK; + }), u = this; !t.empty; ) { m(); } - this.eua = !1; + this.bua = !1; }; return d; })(); - b.qxa = q; - }, function (q, b) { + b.nxa = r; + }, function (r, b) { var f, k, l; function a(d) { - return void 0 !== (null === d || void 0 === d ? void 0 : d.dIa); + return void 0 !== (null === d || void 0 === d ? void 0 : d.bIa); } function c(d) { return (a(d) ? d : Object.defineProperties(d, { - dIa: { + bIa: { value: {}, configurable: !1, enumerable: !1 } - })).dIa; + })).bIa; } Object.defineProperties(b, { __esModule: { value: !0 } }); - b.dba = void 0; + b.Yaa = void 0; k = null !== (f = Number.MAX_SAFE_INTEGER) && void 0 !== f ? f : 1E9; l = Date.now() % k; - q = (function () { + r = (function () { function d() { - this.v7 = 0; + this.r7 = 0; this.id = l = (l + 1) % k; } d.prototype.add = function (g) { - c(g)[this.id] = this.v7; + c(g)[this.id] = this.r7; return this; }; d.prototype.has = function (g) { - return a(g) && c(g)[this.id] === this.v7; + return a(g) && c(g)[this.id] === this.r7; }; d.prototype.delete = function (g) { if (!this.has(g)) @@ -108159,22 +108112,21 @@ a000.D9b = function () { return !0; }; d.prototype.clear = function () { - this.v7 = (this.v7 + 1) % k; + this.r7 = (this.r7 + 1) % k; return this; }; return d; })(); - b.dba = q; - }, function (q, b, a) { + b.Yaa = r; + }, function (r, b, a) { var f, k, l, - d, - g; - function c(h) { + d; + function c(g) { return { - value: h.ub, - parent: h.vt + value: g.yb, + parent: g.At }; } Object.defineProperties(b, { @@ -108182,175 +108134,169 @@ a000.D9b = function () { value: !0 } }); - b.EEa = void 0; - f = a(2); - k = a(9); - l = a(30); - d = a(6); - g = a(949); - q = (function () { - function h() { - this.Ab = new k.qCa(); - this.yr = new g.rHa(); + b.CEa = void 0; + f = a(9); + k = a(30); + l = a(6); + d = a(951); + r = (function () { + function g() { + this.Cb = new f.oCa(); + this.Br = new d.nHa(); } - Object.defineProperties(h.prototype, { + Object.defineProperties(g.prototype, { empty: { get: function () { - return this.Ab.empty; + return this.Cb.empty; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(h.prototype, { + Object.defineProperties(g.prototype, { size: { get: function () { - return this.Ab.size; + return this.Cb.size; }, enumerable: !1, configurable: !0 } }); - h.prototype.reset = function () { - var m; - m = this.Ab.values(); - this.Ab.clear(); - this.yr.clear(); - m.forEach(function (n) { - return n.zf(); + g.prototype.reset = function () { + var h; + h = this.Cb.values(); + this.Cb.clear(); + this.Br.clear(); + h.forEach(function (m) { + return m.Bf(); }); }; - h.prototype.iy = function (m) { - return this.Ab.get(m); + g.prototype.ny = function (h) { + return this.Cb.get(h); }; - h.prototype.has = function (m) { - return this.Ab.has(m); + g.prototype.has = function (h) { + return this.Cb.has(h); }; - h.prototype.YS = function (m) { - this.yr.YS(m); + g.prototype.XS = function (h) { + this.Br.XS(h); }; - h.prototype.gka = function (m) { - return this.yr.parent(m); + g.prototype.cka = function (h) { + return this.Br.parent(h); }; - h.prototype.Qyb = function (m) { - return this.yr.children(m); + g.prototype.Uyb = function (h) { + return this.Br.children(h); }; - h.prototype.Ska = function (m) { - return this.yr.Ska(m); + g.prototype.Oka = function (h) { + return this.Br.Oka(h); }; - h.prototype.Hqa = function (m) { - var n; - if (this.Ab.delete(m.P.id, m)) { - n = this.yr.children(m); - this.yr.root === m ? 0 === n.length ? this.yr.clear() : (d.assert(1 === n.length, "cannot remove the root branch with multiple successors"), this.yr.UPb(n[0])) : (d.assert(0 === n.length, "cannot remove non-root branch with successors"), this.yr.remove(m)); + g.prototype.Bqa = function (h) { + var m; + if (this.Cb.delete(h.P.id, h)) { + m = this.Br.children(h); + this.Br.root === h ? 0 === m.length ? this.Br.clear() : (l.assert(1 === m.length, "cannot remove the root branch with multiple successors"), this.Br.ZPb(m[0])) : (l.assert(0 === m.length, "cannot remove non-root branch with successors"), this.Br.remove(h)); } }; - h.prototype.forEach = function (m) { - var n; - n = this; - this.Ab.forEach(function (r, p) { - return m(r, p, n); + g.prototype.forEach = function (h) { + var m; + m = this; + this.Cb.forEach(function (n, q) { + return h(n, q, m); }); }; - h.prototype.reduce = function (m, n) { - var r; - r = this; - return this.Ab.reduce(function (p, u, t) { - return m(p, u, t, r); - }, n); - }; - h.prototype.map = function (m) { + g.prototype.reduce = function (h, m) { var n; n = this; - return this.Ab.map(function (r, p) { - return m(r, p, n); - }); + return this.Cb.reduce(function (q, p, t) { + return h(q, p, t, n); + }, m); }; - h.prototype.filter = function (m) { - var n; - n = this; - return this.Ab.filter(function (r, p) { - return m(r, p, n); + g.prototype.map = function (h) { + var m; + m = this; + return this.Cb.map(function (n, q) { + return h(n, q, m); }); }; - h.prototype.RBb = function () { + g.prototype.filter = function (h) { var m; - m = {}; - this.forEach(function (n, r) { - var p; - (n = n.Rt) && (null !== (p = m[r]) && void 0 !== p ? p : m[r] = []).push(n.V); + m = this; + return this.Cb.filter(function (n, q) { + return h(n, q, m); }); - return m; }; - h.prototype.tWb = function (m, n) { - var r, - p; - r = this; - n = this.JHb(m, n); - m = n.pending; - p = this.yr.MOb(n.target.map(c)); - n = p.SM; - p = p.J1a; - n.forEach(function (u) { - return r.Ab.delete(u.P.id, u); + g.prototype.TBb = function () { + var h; + h = {}; + this.forEach(function (m, n) { + var q; + (m = m.Xt) && (null !== (q = h[n]) && void 0 !== q ? q : h[n] = []).push(m.V); + }); + return h; + }; + g.prototype.vWb = function (h, m) { + var n; + n = this; + h = this.MHb(h, m).target; + m = this.Br.ROb(h.map(c)); + h = m.SM; + m = m.I1a; + h.forEach(function (q) { + return n.Cb.delete(q.P.id, q); }); return { - SM: n, - J1a: p.map(function (u) { - return u.value; - }), - pending: m + SM: h, + I1a: m.map(function (q) { + return q.value; + }) }; }; - h.prototype.JHb = function (m, n) { - var p, - u; - function r(t, w) { - (t = n(t.P.id, w)) && p.Ab.set(t.P.id, t); + g.prototype.MHb = function (h, m) { + var q, + p; + function n(t, u) { + (t = m(t.P.id, u)) && q.Cb.set(t.P.id, t); return t; } - p = this; - u = []; + q = this; + p = []; return { - target: m.reduce(function (t, w, v) { - var x, - y; - d.assert(0 === v || w.vt); - if (w.vt) { - y = null === (x = l.mMa(t, function (z) { - return z.ub.P.id === w.vt; - })) || void 0 === x ? void 0 : x.ub; - if (!y) - return (d.assert(void 0 !== l.wg(u, function (z) { - return z.P.id === w.vt; - }), "predecessorSegmentId " + w.vt + " specified without previously specifying predecessor requiredBranch."), u.push(w), t); - } - x = l.wg(p.iy(w.P.id), function (z) { - return z.NT && p.yr.parent(z) === y || 0 === v; + target: h.reduce(function (t, u, w) { + var v, + x; + l.assert(0 === w || u.At); + if (u.At) { + x = null === (v = k.mMa(t, function (y) { + return y.yb.P.id === u.At; + })) || void 0 === v ? void 0 : v.yb; + if (!x) + return (l.assert(void 0 !== k.wg(p, function (y) { + return y.P.id === u.At; + }), "predecessorSegmentId " + u.At + " specified without previously specifying predecessor requiredBranch."), p.push(u), t); + } + v = k.wg(q.ny(u.P.id), function (y) { + return y.LT && q.Br.parent(y) === x || 0 === w; }); - if (x = null !== x && void 0 !== x ? x : r(w, y)) - (x.oh = w.oh, t.push({ - ub: x, - vt: y - })); - (null === x || void 0 === x ? 0 : x.NT) ? x.update(w.P) : u.push(f.__assign(f.__assign({}, w), { - lNb: y - })); + v = null !== v && void 0 !== v ? v : n(u, x); + v.mh = u.mh; + t.push({ + yb: v, + At: x + }); + (null === v || void 0 === v ? 0 : v.LT) && v.update(u.P); return t; - }, []), - pending: u + }, []) }; }; - return h; + return g; })(); - b.EEa = q; - }, function (q, b, a) { + b.CEa = r; + }, function (r, b, a) { var f, k, l; function c(d) { return 0 === d.length || void 0 === d[0].parent && d.every(function (g, h) { - return 0 === h || l.fs(d, function (m) { + return 0 === h || l.js(d, function (m) { return m.value === g.parent; }) < h; }); @@ -108360,18 +108306,18 @@ a000.D9b = function () { value: !0 } }); - b.rHa = void 0; - f = a(432); + b.nHa = void 0; + f = a(436); k = a(6); l = a(30); - q = (function () { + r = (function () { function d() { - this.J = new f.cba(); + this.J = new f.Xaa(); } Object.defineProperties(d.prototype, { empty: { get: function () { - return !this.oz; + return !this.rz; }, enumerable: !1, configurable: !0 @@ -108381,7 +108327,7 @@ a000.D9b = function () { root: { get: function () { var g; - return null === (g = this.oz) || void 0 === g ? void 0 : g.value; + return null === (g = this.rz) || void 0 === g ? void 0 : g.value; }, enumerable: !1, configurable: !0 @@ -108392,7 +108338,7 @@ a000.D9b = function () { get: function () { var g; g = []; - this.YS(function (h) { + this.XS(function (h) { return !!g.push(h); }); return g; @@ -108417,7 +108363,7 @@ a000.D9b = function () { return h.value; }) : []; }; - d.prototype.Ska = function (g) { + d.prototype.Oka = function (g) { g = this.J.get(g); k.assert(g, "Attempted to find the children of a node not in the tree"); return void 0 !== g.children && 0 < g.children.length; @@ -108428,7 +108374,7 @@ a000.D9b = function () { m = { value: g }; - void 0 === this.oz ? (k.assert(void 0 === h, "a parent cannot be specified when the tree is empty"), this.oz = m) : (k.assert(void 0 !== h, "a parent must be specified when the tree is non-empty"), h = this.J.get(h), k.assert(h, "Parent value does not exist in tree"), this.AMa(m, h)); + void 0 === this.rz ? (k.assert(void 0 === h, "a parent cannot be specified when the tree is empty"), this.rz = m) : (k.assert(void 0 !== h, "a parent must be specified when the tree is non-empty"), h = this.J.get(h), k.assert(h, "Parent value does not exist in tree"), this.AMa(m, h)); this.J.set(g, m); return this; }; @@ -108441,10 +108387,10 @@ a000.D9b = function () { d.prototype.removeNode = function (g) { var h; h = this; - this.Zia(function (m) { + this.Sia(function (m) { return h.J.delete(m); }, g.value); - void 0 === g.parent ? this.oz = void 0 : this.detach(g); + void 0 === g.parent ? this.rz = void 0 : this.detach(g); }; d.prototype.move = function (g, h) { g = this.J.get(g); @@ -108452,11 +108398,11 @@ a000.D9b = function () { k.assert(g, "cannot move a value that is not in the tree"); k.assert(h, "cannot move a value to a parent value not in the tree"); k.assert(g.parent, "cannot move the root node"); - k.assert(!this.qEb(g, h), "cannot move a node below itself or one of its decendants"); + k.assert(!this.tEb(g, h), "cannot move a node below itself or one of its decendants"); g.parent !== h && (this.detach(g), this.AMa(g, h)); return this; }; - d.prototype.UPb = function (g) { + d.prototype.ZPb = function (g) { var h, m; h = this; @@ -108464,44 +108410,44 @@ a000.D9b = function () { k.assert(g, "cannot replant at a value that is not in the tree"); m = []; this.detach(g); - this.Zia(function (n) { + this.Sia(function (n) { h.J.delete(n); m.unshift(n); return !0; }); - this.oz = g; + this.rz = g; }; d.prototype.clear = function () { - this.oz && this.remove(this.oz.value); + this.rz && this.remove(this.rz.value); return this; }; - d.prototype.XRa = function (g, h) { + d.prototype.WRa = function (g, h) { var m, n; m = this; g = this.J.get(g); k.assert(g, "cannot iterate children of a value not in the tree"); - null === (n = g.children) || void 0 === n ? void 0 : n.forEach(function (r) { - return h(r.value, m); + null === (n = g.children) || void 0 === n ? void 0 : n.forEach(function (q) { + return h(q.value, m); }); }; - d.prototype.YS = function (g, h) { + d.prototype.XS = function (g, h) { var m; m = this; k.assert(!this.empty || void 0 === h, "cannot iterate from a value on an empty tree"); - this.empty || (h = null !== h && void 0 !== h ? h : this.oz.value, g(h, this) && this.XRa(h, function (n) { - return m.YS(g, n); + this.empty || (h = null !== h && void 0 !== h ? h : this.rz.value, g(h, this) && this.WRa(h, function (n) { + return m.XS(g, n); })); }; - d.prototype.Zia = function (g, h) { + d.prototype.Sia = function (g, h) { var m; m = this; k.assert(!this.empty || void 0 === h, "cannot iterate from a value on an empty tree"); - this.empty || (h = null !== h && void 0 !== h ? h : this.oz.value, this.XRa(h, function (n) { - return m.Zia(g, n); + this.empty || (h = null !== h && void 0 !== h ? h : this.rz.value, this.WRa(h, function (n) { + return m.Sia(g, n); }), g(h, this)); }; - d.prototype.MOb = function (g) { + d.prototype.ROb = function (g) { var h, m, n; @@ -108511,18 +108457,18 @@ a000.D9b = function () { m = this.values; n = []; this.clear(); - } else (n = g.filter(function (r) { - return h.has(r.value) && r.parent !== h.parent(r.value); - }), m = this.values.filter(function (r) { - return -1 === l.fs(g, function (p) { - return p.value === r; + } else (n = g.filter(function (q) { + return h.has(q.value) && q.parent !== h.parent(q.value); + }), m = this.values.filter(function (q) { + return -1 === l.js(g, function (p) { + return p.value === q; }); - }), this.clear(), g.forEach(function (r) { - return h.add(r.value, r.parent); + }), this.clear(), g.forEach(function (q) { + return h.add(q.value, q.parent); })); return { SM: m, - J1a: n + I1a: n }; }; d.prototype.AMa = function (g, h) { @@ -108539,7 +108485,7 @@ a000.D9b = function () { g.parent.children.splice(h, 1); g.parent = void 0; }; - d.prototype.qEb = function (g, h) { + d.prototype.tEb = function (g, h) { for (; void 0 !== h; ) { if (h === g) return !0; @@ -108549,8 +108495,8 @@ a000.D9b = function () { }; return d; })(); - b.rHa = q; - }, function (q, b, a) { + b.nHa = r; + }, function (r, b, a) { var c, f, k, @@ -108564,173 +108510,173 @@ a000.D9b = function () { value: !0 } }); - b.Ova = void 0; + b.Lva = void 0; c = a(2); - f = c.__importDefault(a(4)); + f = c.__importDefault(a(5)); k = a(14); l = a(9); d = a(22); g = a(6); h = a(114); - m = a(67); - q = (function () { - function n(r, p, u, t, w, v, x) { + m = a(68); + r = (function () { + function n(q, p, t, u, w, v, x) { var y; y = this; void 0 === x && (x = 500); - this.H = r; + this.H = q; this.config = p; - this.Jb = u; - this.events = t; - this.kia = w; - this.Df = v; - this.$mb = x; - this.Tpa = this.Tk = 0; + this.Lb = t; + this.events = u; + this.dia = w; + this.Ff = v; + this.anb = x; + this.Npa = this.Tk = 0; this.p5 = []; - this.k2 = { - xs: 0 + this.l2 = { + Bs: 0 }; - this.state = new l.nq(k.wc.zi); - this.fe = new l.nq(k.ja.Ig); - this.Ph = new h.qA({ - hC: 10, - jt: this, + this.state = new l.pq(k.yc.zi); + this.de = new l.pq(k.ka.Gg); + this.Oh = new h.sA({ + jC: 10, + pt: this, source: "BufferStateTracker", - yea: function () { + sea: function () { return { - isBuffering: y.Pf, - alwaysRunUnderflowTimer: y.config.KJ + isBuffering: y.Qf, + alwaysRunUnderflowTimer: y.config.NJ }; } }); } Object.defineProperties(n.prototype, { - xs: { + Bs: { get: function () { - return this.k2.xs; + return this.l2.Bs; }, enumerable: !1, configurable: !0 } }); Object.defineProperties(n.prototype, { - Pf: { + Qf: { get: function () { - return k.Vq(this.state.value); + return k.Uq(this.state.value); }, enumerable: !1, configurable: !0 } }); - n.prototype.C8 = function (r) { + n.prototype.y8 = function (q) { var p; p = this; - Array.isArray(r) || (r = [r]); - r.forEach(function (u) { - 0 === u.mediaType && (p.mNa = c.__assign(c.__assign({}, p.mNa), { + Array.isArray(q) || (q = [q]); + q.forEach(function (t) { + 0 === t.mediaType && (p.mNa = c.__assign(c.__assign({}, p.mNa), { audio: { - trackId: u.trackId, - trackIndex: u.ON + trackId: t.trackId, + trackIndex: t.PN } })); }); }; - n.prototype.f_a = function (r) { - this.set(k.wc.zi); - this.aH(r, k.wc.Sc); + n.prototype.d_a = function (q) { + this.set(k.yc.zi); + this.iH(q, k.yc.Sc); }; n.prototype.Y5 = function () { - this.k2.xs++; - }; - n.prototype.gV = function (r) { - this.config.KJ || void 0 === this.Ey && this.Pf && this.Uga(); - this.Ey = { - GF: r.httpCode, - Og: r.errorCode, - Ri: r.nativeCode + this.l2.Bs++; + }; + n.prototype.fV = function (q) { + this.config.NJ || void 0 === this.Hy && this.Qf && this.Oga(); + this.Hy = { + LF: q.httpCode, + Mg: q.errorCode, + Oi: q.nativeCode }; }; n.prototype.h6 = function () { - this.Ey = void 0; - this.config.KJ || this.P1(); + this.Hy = void 0; + this.config.NJ || this.R1(); }; - n.prototype.Ij = function (r) { - this.Pf || (this.aH(r, k.wc.ef), this.Pf && (this.Ey || this.config.KJ) && this.Uga()); + n.prototype.Hj = function (q) { + this.Qf || (this.iH(q, k.yc.ef), this.Qf && (this.Hy || this.config.NJ) && this.Oga()); }; - n.prototype.jLb = function (r, p) { - this.state.value !== k.wc.Sc && this.aH(r, k.wc.NP); - this.C8(p); + n.prototype.lLb = function (q, p) { + this.state.value !== k.yc.Sc && this.iH(q, k.yc.OP); + this.y8(p); }; - n.prototype.IKb = function (r, p) { - var u; - u = this; - this.config.Zmb && this.Pf && (-1 === this.p5.indexOf(r) && this.p5.push(r), 2 === this.p5.length && Promise.resolve().then(function () { - u.Pf && void 0 !== u.Xv && u.Se("memoryLimit", p.XW, p.ZW); + n.prototype.KKb = function (q, p) { + var t; + t = this; + this.config.$mb && this.Qf && (-1 === this.p5.indexOf(q) && this.p5.push(q), 2 === this.p5.length && Promise.resolve().then(function () { + t.Qf && void 0 !== t.aw && t.Te("memoryLimit", p.WW, p.YW); })); }; - n.prototype.LRb = function (r, p) { - g.assert(this.state.value === k.wc.Sc && void 0 === this.Xv); - this.Xv = r; + n.prototype.ORb = function (q, p) { + g.assert(this.state.value === k.yc.Sc && void 0 === this.aw); + this.aw = q; p && (this.events.emit("initialAudioTrack", { type: "initialAudioTrack", trackId: p.trackId, - trackIndex: p.ON - }), this.C8(p)); + trackIndex: p.PN + }), this.y8(p)); }; - n.prototype.XRb = function (r, p, u) { - g.assert(this.Pf); - this.Jla = null !== r && void 0 !== r ? r : this.Jla; - this.Hla = null !== p && void 0 !== p ? p : this.Hla; - void 0 === this.a4 ? this.a4 = u : void 0 !== (null === u || void 0 === u ? void 0 : u.reason) && (this.a4.reason = u.reason); + n.prototype.$Rb = function (q, p, t) { + g.assert(this.Qf); + this.Ela = null !== q && void 0 !== q ? q : this.Ela; + this.Cla = null !== p && void 0 !== p ? p : this.Cla; + void 0 === this.b4 ? this.b4 = t : void 0 !== (null === t || void 0 === t ? void 0 : t.reason) && (this.b4.reason = t.reason); }; - n.prototype.Se = function (r, p, u) { - var t; - g.assert(this.Pf && void 0 !== this.Xv && void 0 === this.OE && void 0 === this.H8 && void 0 === this.s0); - this.OE = r; - this.H8 = p; - this.s0 = u; - this.ap = 100; - this.cOa(); - this.P1(); - null === (t = this.aga) || void 0 === t ? void 0 : t.wb(); - this.state.value === k.wc.ef && (this.Tpa = f.default.time.aa()); - this.c2(); - this.set(k.wc.Zj); - this.s0 = this.H8 = this.OE = this.a4 = this.Hla = this.Jla = this.Xv = void 0; + n.prototype.Te = function (q, p, t) { + var u; + g.assert(this.Qf && void 0 !== this.aw && void 0 === this.PE && void 0 === this.C8 && void 0 === this.u0); + this.PE = q; + this.C8 = p; + this.u0 = t; + this.cp = 100; + this.aOa(); + this.R1(); + null === (u = this.Vfa) || void 0 === u ? void 0 : u.zb(); + this.state.value === k.yc.ef && (this.Npa = f.default.time.ba()); + this.e2(); + this.set(k.yc.$j); + this.u0 = this.C8 = this.PE = this.b4 = this.Cla = this.Ela = this.aw = void 0; }; n.prototype.stop = function () { - var r; - this.set(k.wc.zi); - this.cOa(); - this.P1(); - null === (r = this.aga) || void 0 === r ? void 0 : r.wb(); + var q; + this.set(k.yc.zi); + this.aOa(); + this.R1(); + null === (q = this.Vfa) || void 0 === q ? void 0 : q.zb(); }; - n.prototype.$fa = function (r, p, u, t) { + n.prototype.Ufa = function (q, p, t, u) { var w, v, x, y, z, - B, A, + B, C, E, - F; + G; w = this; - g.assert(this.Pf); - null === (v = this.aga) || void 0 === v ? void 0 : v.wb(); - if (this.state.value === k.wc.ef && f.default.time.aa() < this.Tpa + this.config.aoa) { - z = this.config.aoa - (f.default.time.aa() - this.Tpa); - this.aga = this.Df.gK(m.mj.VC(d.S.rb(z)), function () { - w.$fa(r, p, u, t); + g.assert(this.Qf); + null === (v = this.Vfa) || void 0 === v ? void 0 : v.zb(); + if (this.state.value === k.yc.ef && f.default.time.ba() < this.Npa + this.config.Wna) { + z = this.config.Wna - (f.default.time.ba() - this.Npa); + this.Vfa = this.Ff.kK(m.jj.XC(d.S.rb(z)), function () { + w.Ufa(q, p, t, u); }); } else { - v = u.vT(0); - B = u.vT(1); - A = f.default.time.aa() - this.Tk; - if (v || B) { + v = t.tT(0); + A = t.tT(1); + B = f.default.time.ba() - this.Tk; + if (v || A) { C = function (D) { - return D ? D.VB() || D.Ts() ? t.Zfa(w.state.value, r, A >= w.config.$y, p, D, w.xs) : { + return D ? D.XB() || D.Ys() ? u.Tfa(w.state.value, q, B >= w.config.cz, p, D, w.Bs) : { complete: !1, reason: "selecteeNotStreamable" } @@ -108740,214 +108686,214 @@ a000.D9b = function () { }; }; E = C(v); - C = C(B); - F = function (D) { - var G; + C = C(A); + G = function (D) { + var F; return { reason: D.reason, complete: D.complete, - bl: null !== (G = D.bB) && void 0 !== G ? G : 0 + bl: null !== (F = D.dB) && void 0 !== F ? F : 0 }; }; - this.Ph.Ju({ - as: F(E), - vs: F(C), - bt: A + this.Oh.Qu({ + as: G(E), + vs: G(C), + bt: B }); - F = B ? C : E; - F.MXb = B && C.bB || 0; - F.Qlb = v && E.bB || 0; - E.complete && C.complete ? (F.complete = !0, this.Se(null !== (z = F.reason) && void 0 !== z ? z : "unknown", null !== (x = F.MXb) && void 0 !== x ? x : 0, null !== (y = F.Qlb) && void 0 !== y ? y : 0)) : (F.complete = !1, this.nnb(F), this.Ph.Ju({ - bp: this.ap + G = A ? C : E; + G.OXb = A && C.dB || 0; + G.Qlb = v && E.dB || 0; + E.complete && C.complete ? (G.complete = !0, this.Te(null !== (z = G.reason) && void 0 !== z ? z : "unknown", null !== (x = G.OXb) && void 0 !== x ? x : 0, null !== (y = G.Qlb) && void 0 !== y ? y : 0)) : (G.complete = !1, this.onb(G), this.Oh.Qu({ + bp: this.cp })); } } }; - n.prototype.nnb = function (r) { + n.prototype.onb = function (q) { var p, - u, - t; - t = r.progress; - r.bC ? t = (f.default.time.aa() - this.Tk) / this.config.$y : t || (t = (null !== (p = r.bB) && void 0 !== p ? p : 0) / this.config.Qi); - r = Math.min(Math.max(Math.round(100 * t), null !== (u = this.ap) && void 0 !== u ? u : 0), 99); - r != this.ap && (this.ap = r); - }; - n.prototype.aH = function (r, p) { - g.assert(p === k.wc.Sc || void 0 !== r); - this.Xv = r; - this.ap = 0; + t, + u; + u = q.progress; + q.dC ? u = (f.default.time.ba() - this.Tk) / this.config.cz : u || (u = (null !== (p = q.dB) && void 0 !== p ? p : 0) / this.config.Ni); + q = Math.min(Math.max(Math.round(100 * u), null !== (t = this.cp) && void 0 !== t ? t : 0), 99); + q != this.cp && (this.cp = q); + }; + n.prototype.iH = function (q, p) { + g.assert(p === k.yc.Sc || void 0 !== q); + this.aw = q; + this.cp = 0; this.U5 = void 0; - this.k2.xs = 0; + this.l2.Bs = 0; this.p5 = []; - r = this.state.value === k.wc.Sc || this.state.value === k.wc.ef; - this.Tk = f.default.time.aa(); + q = this.state.value === k.yc.Sc || this.state.value === k.yc.ef; + this.Tk = f.default.time.ba(); this.set(p); - r || (this.Yub(), this.uSb()); + q || (this.bvb(), this.ySb()); }; - n.prototype.set = function (r) { - this.state.set(r); - switch (r) { - case k.wc.zi: - this.fe.set(k.ja.zi); + n.prototype.set = function (q) { + this.state.set(q); + switch (q) { + case k.yc.zi: + this.de.set(k.ka.zi); break; - case k.wc.Sc: - case k.wc.NP: - this.fe.set(k.ja.Sc); + case k.yc.Sc: + case k.yc.OP: + this.de.set(k.ka.Sc); break; - case k.wc.ef: - this.fe.set(k.ja.ef); + case k.yc.ef: + this.de.set(k.ka.ef); break; - case k.wc.Zj: - this.fe.set(k.ja.yc); + case k.yc.$j: + this.de.set(k.ka.Ac); } }; - n.prototype.Yub = function () { - g.assert(this.events && void 0 !== this.ap); - this.U5 = this.ap; + n.prototype.bvb = function () { + g.assert(this.events && void 0 !== this.cp); + this.U5 = this.cp; this.events.emit("bufferingStarted", { type: "bufferingStarted", - time: f.default.time.aa(), - percentage: this.ap + time: f.default.time.ba(), + percentage: this.cp }); }; - n.prototype.uSb = function () { - var r; - r = this; - this.uoa = setInterval(function () { - return r.Xub(); - }, this.$mb); + n.prototype.ySb = function () { + var q; + q = this; + this.poa = setInterval(function () { + return q.avb(); + }, this.anb); }; - n.prototype.cOa = function () { - this.uoa && (clearInterval(this.uoa), this.uoa = void 0); + n.prototype.aOa = function () { + this.poa && (clearInterval(this.poa), this.poa = void 0); }; - n.prototype.Xub = function () { - this.Pf && this.events && void 0 !== this.ap && this.ap !== this.U5 && this.events.emit("buffering", { + n.prototype.avb = function () { + this.Qf && this.events && void 0 !== this.cp && this.cp !== this.U5 && this.events.emit("buffering", { type: "buffering", - time: f.default.time.aa(), - percentage: this.ap - }) && (this.U5 = this.ap); - }; - n.prototype.c2 = function () { - var r; - g.assert(this.events && this.Xv && void 0 !== this.OE && void 0 !== this.s0 && void 0 !== this.H8); - this.U5 = this.ap; + time: f.default.time.ba(), + percentage: this.cp + }) && (this.U5 = this.cp); + }; + n.prototype.e2 = function () { + var q; + g.assert(this.events && this.aw && void 0 !== this.PE && void 0 !== this.u0 && void 0 !== this.C8); + this.U5 = this.cp; this.events.emit("bufferingComplete", c.__assign({ type: "bufferingComplete", - time: f.default.time.aa(), - actualStartPosition: this.Xv, - reason: this.OE, - aBufferLevelMs: this.s0, - vBufferLevelMs: this.H8, - selector: this.Jla, - initBitrate: this.Hla, - initSelReason: null === (r = this.a4) || void 0 === r ? void 0 : r.reason, - skipbackBufferSizeBytes: this.D7b + time: f.default.time.ba(), + actualStartPosition: this.aw, + reason: this.PE, + aBufferLevelMs: this.u0, + vBufferLevelMs: this.C8, + selector: this.Ela, + initBitrate: this.Cla, + initSelReason: null === (q = this.b4) || void 0 === q ? void 0 : q.reason, + skipbackBufferSizeBytes: this.R7b }, this.mNa)); }; - n.prototype.Uga = function () { - var r; - r = this; - this.config.l6a && (!this.Gz || this.Gz.state !== m.ul.complete && this.Gz.state !== m.ul.rK ? void 0 === this.Gz && (this.Gz = this.Df.mB(function () { - return r.H5a(); - }, "underflow")) : this.Gz.nl()); + n.prototype.Oga = function () { + var q; + q = this; + this.config.n6a && (!this.Jz || this.Jz.state !== m.tl.complete && this.Jz.state !== m.tl.vK ? void 0 === this.Jz && (this.Jz = this.Ff.nB(function () { + return q.J5a(); + }, "underflow")) : this.Jz.ml()); }; - n.prototype.P1 = function () { - this.Gz && (this.Gz.state !== m.ul.rK && this.Gz.wb(), this.Gz = void 0); + n.prototype.R1 = function () { + this.Jz && (this.Jz.state !== m.tl.vK && this.Jz.zb(), this.Jz = void 0); }; - n.prototype.H5a = function () { - var r, + n.prototype.J5a = function () { + var q, p, - u; - return c.__generator(this, function (t) { - switch (t.label) { + t; + return c.__generator(this, function (u) { + switch (u.label) { case 0: - return (r = this.config.Z4, this.H.trace("BufferingStateTracker: starting underflow timer: " + r + "ms"), [4, m.mj.VC(d.S.rb(r))]); + return (q = this.config.Z4, this.H.trace("BufferingStateTracker: starting underflow timer: " + q + "ms"), [4, m.jj.XC(d.S.rb(q))]); case 1: - (t.Oe(), t.label = 2); + (u.Wd(), u.label = 2); case 2: - if (!this.Pf) + if (!this.Qf) return [3, 4]; - p = this.Jb.WWa || 0; - u = f.default.time.aa() - p; - if (u >= r) - return (this.H.trace("Forcing streaming failure, " + u + "ms since data received"), this.kia.lLb(this.Ey), [2]); - this.H.trace("BufferingStateTracker: network activity, wait " + (r - u) + "ms"); - return [4, m.mj.VC(d.S.rb(r - u))]; + p = this.Lb.UWa || 0; + t = f.default.time.ba() - p; + if (t >= q) + return (this.H.trace("Forcing streaming failure, " + t + "ms since data received"), this.dia.nLb(this.Hy), [2]); + this.H.trace("BufferingStateTracker: network activity, wait " + (q - t) + "ms"); + return [4, m.jj.XC(d.S.rb(q - t))]; case 3: - return (t.Oe(), [3, 2]); + return (u.Wd(), [3, 2]); case 4: return [2]; } }); }; - c.__decorate([h.Xb({ + c.__decorate([h.Sb({ methodName: "onTemporaryNetworkError", - Jl: !0 - })], n.prototype, "gV", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "fV", null); + c.__decorate([h.Sb({ methodName: "onUnderflow", - Jl: !0 - })], n.prototype, "Ij", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "Hj", null); + c.__decorate([h.Sb({ methodName: "bufferingComplete", - Jl: !0 - })], n.prototype, "Se", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "Te", null); + c.__decorate([h.Sb({ methodName: "stop", - Jl: !0 + Il: !0 })], n.prototype, "stop", null); - c.__decorate([h.Xb({ + c.__decorate([h.Sb({ methodName: "checkStreamingBufferingComplete", - Jl: !0 - })], n.prototype, "$fa", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "Ufa", null); + c.__decorate([h.Sb({ methodName: "createUnderflowTask", - Jl: !0 - })], n.prototype, "Uga", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "Oga", null); + c.__decorate([h.Sb({ methodName: "destroyUnderflowTask", - Jl: !0 - })], n.prototype, "P1", null); - c.__decorate([h.Xb({ + Il: !0 + })], n.prototype, "R1", null); + c.__decorate([h.Sb({ methodName: "onUnderflowTimeout", - Jl: !0 - })], n.prototype, "H5a", null); + Il: !0 + })], n.prototype, "J5a", null); return n; })(); - b.Ova = q; - }, function (q, b, a) { + b.Lva = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.mRa = void 0; + b.lRa = void 0; c = a(30); - b.mRa = function (f, k) { + b.lRa = function (f, k) { var l; l = []; f = f.filter(function (d) { - return d.NT; + return d.LT; }).map(function (d) { var g, h; g = k(d.N); - h = c.ds(g, d.Fg).map(function (m) { + h = c.hs(g, d.Dg).map(function (m) { return m.mediaType; }); l = c.qMa(l, h); return { - ub: d, - Fg: g + yb: d, + Dg: g }; }); return { - fob: l, - Smb: f + gob: l, + Tmb: f }; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -108956,32 +108902,32 @@ a000.D9b = function () { value: !0 } }); - b.eGa = void 0; + b.aGa = void 0; c = a(2); f = a(22); k = a(6); - b.eGa = (function () { + b.aGa = (function () { function l() {} - l.YBb = function (d) { + l.$Bb = function (d) { var g, h, m; if (d.sk) { - d = c.__read(d.Fg, 2); + d = c.__read(d.Dg, 2); m = d[1]; - d = null === (g = d[0].oo) || void 0 === g ? void 0 : g.Ll; - g = null === (h = null === m || void 0 === m ? void 0 : m.oo) || void 0 === h ? void 0 : h.Ll; + d = null === (g = d[0].po) || void 0 === g ? void 0 : g.Kl; + g = null === (h = null === m || void 0 === m ? void 0 : m.po) || void 0 === h ? void 0 : h.Kl; k.assert(d); h = g ? f.S.min(d, g) : d; return { - UXb: d, - WXb: h + WXb: d, + YXb: h }; } }; return l; })(); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -108992,97 +108938,97 @@ a000.D9b = function () { value: !0 } }); - b.Hva = void 0; + b.Eva = void 0; c = a(16); f = a(9); - k = a(67); + k = a(68); l = a(19); d = a(14); - q = (function () { - function g(h, m, n, r, p, u) { - this.Df = h; - this.uo = m; + r = (function () { + function g(h, m, n, q, p, t) { + this.Ff = h; + this.vo = m; this.config = n; - this.xKb = r; + this.zKb = q; this.hf = p; - this.console = u; - this.o_ = new c.zh(); + this.console = t; + this.r_ = new c.xh(); } - g.Cyb = function (h) { + g.Hyb = function (h) { var m; - return null !== (m = h.pf) && void 0 !== m ? m : h.yV; + return null !== (m = h.pf) && void 0 !== m ? m : h.xV; }; - g.Dzb = function (h) { + g.Hzb = function (h) { var m, n; m = h.P; - n = h.gM; - return m.Ki ? m.Ki : n.length ? n[0] : h.Uy[0]; + n = h.iM; + return m.Fh ? m.Fh : n.length ? n[0] : h.Xy[0]; }; - g.prototype.jta = function (h, m) { + g.prototype.dta = function (h, m) { var n, - r, + q, p, - u; + t; n = this; p = h.P; this.reset(); - if (!(p.Pt || 1 >= p.Uy.length && (null === (r = p.Qv) || void 0 === r || !r.length))) { - u = this.pnb(h); - r = u.xra; - m = m.lessThan(u.yDb); - this.XQb(p, m ? r : void 0); - m && !this.config.KLb && (l.ka && this.console.trace("BranchDecisionMaker: listening for branch streaming complete on " + h.P.id), p = this.Ooa.bind(this, p), this.o_.on(h.events, "branchStreamingComplete", p), this.o_.on(h.events, "branchEdited", function () { - n.jta(h, n.Df.wa.currentTime); + if (!(p.Vt || 1 >= p.Xy.length && (null === (q = p.Vv) || void 0 === q || !q.length))) { + t = this.qnb(h); + q = t.qra; + m = m.lessThan(t.CDb); + this.bRb(p, m ? q : void 0); + m && !this.config.NLb && (l.ia && this.console.trace("BranchDecisionMaker: listening for branch streaming complete on " + h.P.id), p = this.Joa.bind(this, p), this.r_.on(h.events, "branchStreamingComplete", p), this.r_.on(h.events, "branchEdited", function () { + n.dta(h, n.Ff.xa.currentTime); })); } }; - g.prototype.bOa = function () { + g.prototype.$Na = function () { var h; - null === (h = this.jha) || void 0 === h ? void 0 : h.wb(); - this.jha = void 0; + null === (h = this.dha) || void 0 === h ? void 0 : h.zb(); + this.dha = void 0; }; g.prototype.reset = function () { - this.bOa(); - this.o_.clear(); + this.$Na(); + this.r_.clear(); }; - g.prototype.pnb = function (h) { + g.prototype.qnb = function (h) { var m, n; - h = g.Cyb(h); - m = f.S.rb(this.config.jC); - n = f.S.rb(this.config.bJb + this.config.MU); - m = h.Ba(m); + h = g.Hyb(h); + m = f.S.rb(this.config.lC); + n = f.S.rb(this.config.dJb + this.config.LU); + m = h.Da(m); return { - yDb: d.Vq(this.hf.value) ? h.Ba(n) : m, - xra: m + CDb: d.Uq(this.hf.value) ? h.Da(n) : m, + qra: m }; }; - g.prototype.XQb = function (h, m) { + g.prototype.bRb = function (h, m) { var n; n = this; - this.bOa(); - this.jha = m ? this.Df.gK(k.mj.YN(m), function () { - return n.mna(h); - }, "scheduled branch decision") : this.uo.gK(k.mj.dYb, function () { - return n.mna(h); + this.$Na(); + this.dha = m ? this.Ff.kK(k.jj.YN(m), function () { + return n.gna(h); + }, "scheduled branch decision") : this.vo.kK(k.jj.fYb, function () { + return n.gna(h); }, "immediate branch decision"); }; - g.prototype.Ooa = function (h) { + g.prototype.Joa = function (h) { var m; - d.Vq(this.hf.value) && (null === (m = this.jha) || void 0 === m ? void 0 : m.wb(), this.mna(h)); + d.Uq(this.hf.value) && (null === (m = this.dha) || void 0 === m ? void 0 : m.zb(), this.gna(h)); }; - g.prototype.mna = function (h) { + g.prototype.gna = function (h) { var m; - this.o_.clear(); - m = g.Dzb(h); - l.ka && this.console.trace("BranchDecisionMaker making decision for " + h.id + ", decision is " + m); - this.xKb(h.id, m, !0); + this.r_.clear(); + m = g.Hzb(h); + l.ia && this.console.trace("BranchDecisionMaker making decision for " + h.id + ", decision is " + m); + this.zKb(h.id, m, !0); }; return g; })(); - b.Hva = q; - }, function (q, b, a) { + b.Eva = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { @@ -109090,38 +109036,38 @@ a000.D9b = function () { } }); b.vSa = void 0; - c = a(955); + c = a(957); b.vSa = function (f, k) { return f.reduce(function (l, d) { var g; g = k(d); - d.ny().forEach(function (h) { - return l.rea(h.mediaType, h.rx, !g); + d.ry().forEach(function (h) { + return l.lea(h.mediaType, h.wx, !g); }); return l; - }, new c.NEa()); + }, new c.KEa()); }; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.NEa = void 0; - c = a(433); - q = (function () { + b.KEa = void 0; + c = a(437); + r = (function () { function f() { - this.Gq = new c.nP(); - this.rS = new c.nP(); + this.Iq = new c.oP(); + this.qS = new c.oP(); } Object.defineProperties(f.prototype, { total: { get: function () { var k; - k = new c.nP(); - k.add(this.Gq); - k.add(this.rS); + k = new c.oP(); + k.add(this.Iq); + k.add(this.qS); return k; }, enumerable: !1, @@ -109129,16 +109075,16 @@ a000.D9b = function () { } }); f.prototype.add = function (k) { - this.Gq.add(k.Gq); - this.rS.add(k.rS); + this.Iq.add(k.Iq); + this.qS.add(k.qS); }; - f.prototype.rea = function (k, l, d) { - (d ? this.rS : this.Gq).rea(k, l); + f.prototype.lea = function (k, l, d) { + (d ? this.qS : this.Iq).lea(k, l); }; return f; })(); - b.NEa = q; - }, function (q, b) { + b.KEa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 @@ -109147,10 +109093,10 @@ a000.D9b = function () { b.vUa = void 0; b.vUa = function (a, c) { return a.reduce(function (f, k) { - return f + k.Bja(c).V; + return f + k.uja(c).V; }, 0); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -109158,36 +109104,36 @@ a000.D9b = function () { value: !0 } }); - b.YOa = void 0; + b.XOa = void 0; c = a(2); f = a(14); - b.YOa = function (k) { + b.XOa = function (k) { var h, m; function l(n) { - f.Vq(n.newValue) && !f.Vq(n.oldValue) ? (null === m || void 0 === m ? void 0 : m.wb(), m = h.gK.apply(h, c.__spread(d))) : null === m || void 0 === m ? void 0 : m.wb(); + f.Uq(n.newValue) && !f.Uq(n.oldValue) ? (null === m || void 0 === m ? void 0 : m.zb(), m = h.kK.apply(h, c.__spread(d))) : null === m || void 0 === m ? void 0 : m.zb(); } for (var d = [], g = 1; g < arguments.length; g++) { d[g - 1] = arguments[g]; } - g = k.yf; - h = k.uo; + g = k.Af; + h = k.vo; g.state.addListener(l); l({ - oldValue: f.wc.zi, + oldValue: f.yc.zi, newValue: g.state.value }); }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l, d) { - return Object.keys(l.wC).map(function (g) { - return l.wC[g]; + return Object.keys(l.yC).map(function (g) { + return l.yC[g]; }).filter(function (g) { - return void 0 === g.EF || 1 === g.EF; + return void 0 === g.JF || 1 === g.JF; }).reduce(function (g, h) { - return g + h.Gq[d]; + return g + h.Iq[d]; }, 0); } Object.defineProperties(b, { @@ -109195,98 +109141,98 @@ a000.D9b = function () { value: !0 } }); - b.JGa = void 0; + b.FGa = void 0; f = a(14); k = a(19); - q = (function () { + r = (function () { function l(d, g, h) { - this.Fa = d; + this.Ba = d; this.console = g; - this.Mja = h; + this.Fja = h; } - l.prototype.Onb = function (d, g, h) { + l.prototype.Pnb = function (d, g, h) { var m, n, - r; - k.ka && this.console.log("canIssueRequest " + this.Fa.id + " [" + g + "] " + h + " usage: " + JSON.stringify(d)); - m = h && this.Fa.config.pXb; - h = this.Fa.config.Sta || m; - n = this.Mja(); + q; + k.ia && this.console.log("canIssueRequest " + this.Ba.id + " [" + g + "] " + h + " usage: " + JSON.stringify(d)); + m = h && this.Ba.config.rXb; + h = this.Ba.config.Nta || m; + n = this.Fja(); if (m) { m = d.global; - m = (r = {}, r[0] = m[0] - c(d, 0), r[1] = m[1] - c(d, 1), r); + m = (q = {}, q[0] = m[0] - c(d, 0), q[1] = m[1] - c(d, 1), q); } - r = m; - d = this.TNa(g) || this.qob(d) || this.oob(d, n, r) || this.pob(d, n, r, g); - n = f.uqa(d); + q = m; + d = this.RNa(g) || this.rob(d) || this.pob(d, n, q) || this.qob(d, n, q, g); + n = f.oqa(d); return !d || n && !h ? { result: !0, reason: d } - : (k.ka && this.console.log("canIssueRequest: " + this.Fa.id + " [" + g + "] Cannot issue request due to " + d), { + : (k.ia && this.console.log("canIssueRequest: " + this.Ba.id + " [" + g + "] Cannot issue request due to " + d), { result: !1, reason: d }); }; - l.prototype.TNa = function (d) { + l.prototype.RNa = function (d) { var g; - g = this.Fa.config.Py; - if (this.Fa.qzb(d) >= (g || Infinity)) + g = this.Ba.config.Sy; + if (this.Ba.uzb(d) >= (g || Infinity)) return "mediaDurationLimit"; }; - l.prototype.qob = function (d) { - return d.wC[this.Fa.id].total.total > (this.Fa.e3() || Infinity) ? "playgraphMemoryLimit" : void 0; + l.prototype.rob = function (d) { + return d.yC[this.Ba.id].total.total > (this.Ba.g3() || Infinity) ? "playgraphMemoryLimit" : void 0; }; - l.prototype.oob = function (d, g, h) { + l.prototype.pob = function (d, g, h) { d = d.global; - return h ? h[0] + h[1] > (g.Asa.total || Infinity) ? "staticMemoryLimit" : void 0 : d.total > (g.total.total || Infinity) ? "globalMemoryLimit" : void 0; + return h ? h[0] + h[1] > (g.tsa.total || Infinity) ? "staticMemoryLimit" : void 0 : d.total > (g.total.total || Infinity) ? "globalMemoryLimit" : void 0; }; - l.prototype.pob = function (d, g, h, m) { + l.prototype.qob = function (d, g, h, m) { var n; n = d.global; - return h ? (k.ka && this.console.log("checkRequestByMediaTypeMemory [" + m + "]: using static limit " + (g.Asa[m] + ", usage: " + h) + (" (global: " + n[m] + " - certain contiguous: ") + (c(d, m) + ")")), h[m] > (g.Asa[m] || Infinity) ? 1 === m ? "staticVideoMemoryLimit" : "staticAudioMemoryLimit" : void 0) : n[m] > (g.total[m] || Infinity) ? 1 === m ? "globalVideoMemoryLimit" : "globalAudioMemoryLimit" : void 0; + return h ? (k.ia && this.console.log("checkRequestByMediaTypeMemory [" + m + "]: using static limit " + (g.tsa[m] + ", usage: " + h) + (" (global: " + n[m] + " - certain contiguous: ") + (c(d, m) + ")")), h[m] > (g.tsa[m] || Infinity) ? 1 === m ? "staticVideoMemoryLimit" : "staticAudioMemoryLimit" : void 0) : n[m] > (g.total[m] || Infinity) ? 1 === m ? "globalVideoMemoryLimit" : "globalAudioMemoryLimit" : void 0; }; return l; })(); - b.JGa = q; - }, function (q, b) { + b.FGa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.GEa = void 0; - q = (function () { + b.EEa = void 0; + r = (function () { function a(c) { this.console = c; - this.fga(); + this.$fa(); } a.prototype.get = function (c) { - return this.L1[c] || this.Ji[c]; + return this.N1[c] || this.Bj[c]; }; a.prototype.set = function (c, f) { - void 0 === this.Ji[c] && (this.Ji[c] = f); + void 0 === this.Bj[c] && (this.Bj[c] = f); }; - a.prototype.PRb = function (c, f) { - void 0 === this.get(c) && (this.L1[c] = f); + a.prototype.SRb = function (c, f) { + void 0 === this.get(c) && (this.N1[c] = f); }; a.prototype.clear = function (c) { - this.L1[c] = void 0; - this.Ji[c] = void 0; + this.N1[c] = void 0; + this.Bj[c] = void 0; }; - a.prototype.Lob = function (c) { + a.prototype.Mob = function (c) { var f; - this.Ji = (f = {}, f[c] = this.Ji[c], f); - this.L1 = {}; + this.Bj = (f = {}, f[c] = this.Bj[c], f); + this.N1 = {}; }; - a.prototype.fga = function () { - this.Ji = {}; - this.L1 = {}; + a.prototype.$fa = function () { + this.Bj = {}; + this.N1 = {}; }; return a; })(); - b.GEa = q; - }, function (q, b, a) { + b.EEa = r; + }, function (r, b, a) { var c, f, k; @@ -109295,26 +109241,26 @@ a000.D9b = function () { value: !0 } }); - b.IEa = b.pD = void 0; + b.GEa = b.rD = void 0; c = a(2); f = a(6); (function (l) { - l[l.G9 = 0] = "CREATED"; - l[l.lba = 1] = "STARTED"; + l[l.B9 = 0] = "CREATED"; + l[l.fba = 1] = "STARTED"; l[l.HP = 2] = "REQUEST_ISSUED"; - l[l.uw = 3] = "EVALUATED"; - })(k = b.pD || (b.pD = {})); - q = (function () { + l[l.Aw = 3] = "EVALUATED"; + })(k = b.rD || (b.rD = {})); + r = (function () { function l(d) { - this.Sv = d; - this.Gc = k.G9; - this.LC = {}; - this.FW = {}; + this.Xv = d; + this.Ic = k.B9; + this.MC = {}; + this.EW = {}; } Object.defineProperties(l.prototype, { state: { get: function () { - return this.Gc; + return this.Ic; }, enumerable: !1, configurable: !0 @@ -109323,61 +109269,61 @@ a000.D9b = function () { l.prototype.start = function () { var d; d = this; - this.Gc !== k.lba && (this.GU(k.lba), [k.uw, k.HP].forEach(function (g) { + this.Ic !== k.fba && (this.FU(k.fba), [k.Aw, k.HP].forEach(function (g) { var h; h = new Promise(function (m) { - f.assert(d.FW && d.LC, "state promises should be defined"); - d.FW[g] = m; - d.LC[g] = h; + f.assert(d.EW && d.MC, "state promises should be defined"); + d.EW[g] = m; + d.MC[g] = h; }); - }), this.Sv(), this.GU(k.uw)); + }), this.Xv(), this.FU(k.Aw)); }; - l.prototype.GU = function (d) { - this.Gc = d; - this.FW && (d = this.FW[d], null === d || void 0 === d ? void 0 : d()); + l.prototype.FU = function (d) { + this.Ic = d; + this.EW && (d = this.EW[d], null === d || void 0 === d ? void 0 : d()); }; - l.prototype.wb = function () { + l.prototype.zb = function () { return c.__awaiter(this, void 0, void 0, function () { return c.__generator(this, function (d) { switch (d.label) { case 0: - if (this.Gc !== k.lba) + if (this.Ic !== k.fba) return [3, 2]; - f.assert(this.LC, "state resolves should be defined"); - return [4, this.LC[k.uw]]; + f.assert(this.MC, "state resolves should be defined"); + return [4, this.MC[k.Aw]]; case 1: - (d.Oe(), d.label = 2); + (d.Wd(), d.label = 2); case 2: - return (this.FW = this.LC = void 0, [2]); + return (this.EW = this.MC = void 0, [2]); } }); }); }; - l.prototype.O8 = function (d, g) { + l.prototype.J8 = function (d, g) { c.__awaiter(this, void 0, void 0, function () { var h; return c.__generator(this, function (m) { switch (m.label) { case 0: - if (this.Gc === k.uw) + if (this.Ic === k.Aw) return [3, 6]; - f.assert(this.LC, "state promises should be defined"); + f.assert(this.MC, "state promises should be defined"); h = d; switch (h) { - case k.uw: + case k.Aw: return [3, 1]; case k.HP: return [3, 3]; } return [3, 5]; case 1: - return [4, this.LC[k.uw]]; + return [4, this.MC[k.Aw]]; case 2: - return (m.Oe(), [3, 6]); + return (m.Wd(), [3, 6]); case 3: - return [4, this.LC[k.HP]]; + return [4, this.MC[k.HP]]; case 4: - return (m.Oe(), [3, 6]); + return (m.Wd(), [3, 6]); case 5: return [3, 6]; case 6: @@ -109388,8 +109334,8 @@ a000.D9b = function () { }; return l; })(); - b.IEa = q; - }, function (q, b, a) { + b.GEa = r; + }, function (r, b, a) { var c, f, k, @@ -109401,100 +109347,78 @@ a000.D9b = function () { value: !0 } }); - b.IFa = void 0; + b.FFa = void 0; c = a(2); f = a(6); - k = c.__importDefault(a(4)); + k = c.__importDefault(a(5)); l = a(114); - d = a(67); + d = a(68); g = a(9); - q = (function () { - function h(m, n, r) { - var b31, - p; - b31 = 2; - for (; b31 !== 14; ) { - switch (b31) { - case 4: - var N5u = "R"; - N5u += "eque"; - N5u += "st"; - N5u += "Pacer"; - var g5u = "1S"; - g5u += "IYbZr"; - g5u += "NJ"; - g5u += "C"; - g5u += "p9"; - var K5u = "m"; - K5u += "edia|"; - K5u += "as"; - K5u += "ejs"; - var V5u = "ASE"; - V5u += "JS_"; - V5u += "REQUEST_"; - V5u += "P"; - V5u += "ACER"; - this.fE = 0; - this.console = new k.default.Console(V5u, K5u); - g5u; - this.Sn = new l.qA({ - jt: this, - source: N5u, - yea: function () { - var c31; - c31 = 2; - for (; c31 !== 1; ) { - switch (c31) { - case 2: - return { - numOutstanding: p.fE - }; - break; - } - } - }, - hC: 10 - }); - b31 = 7; - break; - case 2: - p = this; - this.C4 = m; - this.config = n; - b31 = 4; - break; - case 7: - this.Q1a = new g.BZ(); - this.Yfa = r.mB(function () { - var d31; - d31 = 2; - for (; d31 !== 1; ) { - switch (d31) { - case 2: - return p.UNa(k.default.time.aa()); - break; - } - } - }); - b31 = 14; - break; - } - } - } + r = (function () { var a31; a31 = 2; for (; a31 !== 13; ) { switch (a31) { + case 8: + var y1N = "I"; + y1N += "G"; + var b1N = "rem"; + b1N += "oveReq"; + b1N += "u"; + b1N += "es"; + b1N += "t"; + var F1N = "u"; + F1N += "x"; + var t1N = "ad"; + t1N += "d"; + t1N += "R"; + t1N += "eques"; + t1N += "t"; + c.__decorate([l.Sb({ + methodName: t1N, + Il: !0 + })], h.prototype, F1N, null); + c.__decorate([l.Sb({ + methodName: b1N, + Il: !0 + })], h.prototype, y1N, null); + a31 = 6; + break; + case 6: + var e1N = "S"; + e1N += "N"; + e1N += "a"; + var k1N = "che"; + k1N += "ckRequestOpportunityR"; + k1N += "unner"; + c.__decorate([l.Sb({ + methodName: k1N, + Il: !0 + })], h.prototype, e1N, null); + return h; + break; case 2: + var p1N = "E"; + p1N += "l"; + var n1N = "checkRequestOp"; + n1N += "por"; + n1N += "tuni"; + n1N += "t"; + n1N += "y"; Object.defineProperties(h.prototype, { - iKb: { + kKb: { get: function () { var e31; e31 = 2; for (; e31 !== 1; ) { switch (e31) { + case 4: + return this.iE; + break; + e31 = 1; + break; case 2: - return this.fE; + return this.iE; break; } } @@ -109503,119 +109427,77 @@ a000.D9b = function () { configurable: !0 } }); - h.prototype.xm = function () { + h.prototype.El = function () { var f31; f31 = 2; for (; f31 !== 5; ) { switch (f31) { case 2: - this.Sn.Ju({ - taskState: this.Yfa.state + this.Un.Qu({ + taskState: this.Sfa.state }); - this.Yfa.state !== d.ul.eW && this.Yfa.nl(); + this.Sfa.state !== d.tl.eW && this.Sfa.ml(); f31 = 5; break; } } }; - h.prototype.px = function (m) { + h.prototype.ux = function (m) { var g31; g31 = 2; for (; g31 !== 4; ) { switch (g31) { case 2: - var T5u = "More th"; - T5u += "an maxAllowedOu"; - T5u += "tstandingR"; - T5u += "eque"; - T5u += "sts are outstanding"; - this.Sn.Ju({ + this.Un.Qu({ mediaType: m.mediaType, - contentStartPts: m.Jc, - contentEndPts: m.pc + contentStartPts: m.Lc, + contentEndPts: m.uc }); - this.fE++; - f.assert(this.fE <= this.config.Y4, T5u); + g31 = 1; + break; + case 1: + var h1N = "More t"; + h1N += "han maxAllowe"; + h1N += "dOutstandingRequests are outstanding"; + this.iE++; + f.assert(this.iE <= this.config.Y4, h1N); g31 = 4; break; } } }; - h.prototype.BG = function (m) { + h.prototype.IG = function (m) { var h31; h31 = 2; for (; h31 !== 3; ) { switch (h31) { - case 4: - var x5u = "rem"; - x5u += "ov"; - x5u += "eR"; - x5u += "eq"; - x5u += "uest"; - this.xm(x5u); - h31 = 3; - break; case 2: - var B5u = "Received remove request "; - B5u += "when there are no "; - B5u += "r"; - B5u += "eq"; - B5u += "uests outstanding"; - this.Sn.Ju({ + var E1N = "re"; + E1N += "moveRequ"; + E1N += "e"; + E1N += "s"; + E1N += "t"; + var f1N = "Received r"; + f1N += "emove request whe"; + f1N += "n there are no req"; + f1N += "uests outstanding"; + this.Un.Qu({ mediaType: m.mediaType, - contentStartPts: m.Jc, - contentEndPts: m.pc + contentStartPts: m.Lc, + contentEndPts: m.uc }); - this.fE--; - f.assert(0 <= this.fE, B5u); - h31 = 4; + this.iE--; + f.assert(0 <= this.iE, f1N); + this.El(E1N); + h31 = 3; break; } } }; - a31 = 3; - break; - case 7: - var U6u = "U"; - U6u += "N"; - U6u += "a"; - var F6u = "check"; - F6u += "Req"; - F6u += "uestOpportunity"; - F6u += "R"; - F6u += "unner"; - var i5u = "B"; - i5u += "G"; - var s5u = "r"; - s5u += "emove"; - s5u += "Reque"; - s5u += "st"; - c.__decorate([l.Xb({ - methodName: s5u, - Jl: !0 - })], h.prototype, i5u, null); - c.__decorate([l.Xb({ - methodName: F6u, - Jl: !0 - })], h.prototype, U6u, null); - return h; - break; - case 3: - var M6u = "p"; - M6u += "x"; - var b6u = "addRe"; - b6u += "que"; - b6u += "st"; - var o6u = "x"; - o6u += "m"; - var L6u = "c"; - L6u += "heckR"; - L6u += "eque"; - L6u += "stOpportunity"; - h.prototype.UNa = function (m) { + h.prototype.SNa = function (m) { var i31, n, - r, + q, p; i31 = 2; for (; i31 !== 5; ) { @@ -109626,34 +109508,36 @@ a000.D9b = function () { j31 = 2; for (; j31 !== 6; ) { switch (j31) { - case 4: - this.Q1a.push(r); - j31 = 3; + case 3: + j31 = this.iE < n && this.C4() ? 9 : 8; break; case 2: n = this.config.Y4; - r = k.default.time.aa() - m; + q = k.default.time.ba() - m; p = 0; j31 = 4; break; - case 3: - j31 = this.fE < n && this.C4() ? 9 : 8; - break; - case 9: - p++; + case 4: + this.P1a.push(q); j31 = 3; break; case 8: - var y6u = "requestO"; - y6u += "pportunit"; - y6u += "yR"; - y6u += "unnerCompl"; - y6u += "ete"; - this.Sn.lR(y6u, { + var x1N = "requestOpp"; + x1N += "ortu"; + x1N += "nityRunner"; + x1N += "Complete"; + this.Un.nR(x1N, { requestsIssued: p, scheduledMs: m, - timeSinceScheduled: r + timeSinceScheduled: q }, !0); + j31 = 7; + break; + case 9: + p++; + j31 = 3; + break; + case 7: return [2]; break; } @@ -109663,33 +109547,94 @@ a000.D9b = function () { } } }; - c.__decorate([l.Xb({ - methodName: L6u, - Jl: !0, - cs: !0 - })], h.prototype, o6u, null); - c.__decorate([l.Xb({ - methodName: b6u, - Jl: !0 - })], h.prototype, M6u, null); - a31 = 7; + c.__decorate([l.Sb({ + methodName: n1N, + Il: !0, + Cq: !0 + })], h.prototype, p1N, null); + a31 = 8; break; } } + function h(m, n, q) { + var b31, + p; + b31 = 2; + for (; b31 !== 14; ) { + switch (b31) { + case 3: + var g1N = "Re"; + g1N += "qu"; + g1N += "estPa"; + g1N += "cer"; + var V1N = "1"; + V1N += "SIYbZrNJC"; + V1N += "p9"; + var I1N = "m"; + I1N += "edia|asej"; + I1N += "s"; + var N1N = "ASEJS_RE"; + N1N += "QUE"; + N1N += "ST_PACE"; + N1N += "R"; + this.console = new k.default.Console(N1N, I1N); + V1N; + this.Un = new l.sA({ + pt: this, + source: g1N, + sea: function () { + var c31; + c31 = 2; + for (; c31 !== 1; ) { + switch (c31) { + case 2: + return { + numOutstanding: p.iE + }; + break; + } + } + }, + jC: 10 + }); + this.P1a = new g.CZ(); + this.Sfa = q.nB(function () { + var d31; + d31 = 2; + for (; d31 !== 1; ) { + switch (d31) { + case 2: + return p.SNa(k.default.time.ba()); + break; + } + } + }); + b31 = 14; + break; + case 2: + p = this; + this.C4 = m; + this.config = n; + this.iE = 0; + b31 = 3; + break; + } + } + } })(); - b.IFa = q; - }, function (q, b, a) { + b.FFa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.eya = void 0; + b.bya = void 0; c = a(54); - q = (function () { + r = (function () { function f(k) { - this.Jb = k; + this.Lb = k; } Object.defineProperties(f.prototype, { Ii: { @@ -109709,17 +109654,17 @@ a000.D9b = function () { configurable: !0 } }); - f.prototype.Ln = function (k) { + f.prototype.Mn = function (k) { var l; - if (k.ji === c.ae.ip && this.Jb) { + if (k.ji === c.Zd.jp && this.Lb) { k = {}; - l = this.Jb.get(); - l && l.avtp && l.avtp.Ea && (k.avtp = l.avtp.Ea, k.dltm = l.avtp.V1); + l = this.Lb.get(); + l && l.avtp && l.avtp.Fa && (k.avtp = l.avtp.Fa, k.dltm = l.avtp.X1); l && l.cdnavtp && (k.cdnavtp = l.cdnavtp, k.activecdnavtp = l.activecdnavtp); - if (l = this.Jb.j3()) + if (l = this.Lb.k3()) (l.bytesRequestedPacingVideo && (k.bytesRequestedPacingVideo = l.bytesRequestedPacingVideo, k.bytestotalVideo = l.bytestotalVideo), l.bytesRequestedPacingAudio && (k.bytesRequestedPacingAudio = l.bytesRequestedPacingAudio, k.bytestotalAudio = l.bytestotalAudio)); - this.Jb.flush(); - if (l = this.Jb.fTa()) + this.Lb.flush(); + if (l = this.Lb.fTa()) for (var d in l) { l.hasOwnProperty(d) && (k["ne" + d] = Number(l[d]).toFixed(6)); } @@ -109728,22 +109673,22 @@ a000.D9b = function () { }; return f; })(); - b.eya = q; - }, function (q, b, a) { + b.bya = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.AGa = void 0; + b.wGa = void 0; c = a(54); - q = (function () { + r = (function () { function f(k) { - k.events.on("streamSelection", this.Xoa.bind(this)); + k.events.on("streamSelection", this.Soa.bind(this)); } - f.prototype.Xoa = function (k) { - 0 === k.mediaType && void 0 === this.QVa ? this.QVa = k : 1 === k.mediaType && void 0 === this.TVa && (this.TVa = k); + f.prototype.Soa = function (k) { + 0 === k.mediaType && void 0 === this.OVa ? this.OVa = k : 1 === k.mediaType && void 0 === this.RVa && (this.RVa = k); }; Object.defineProperties(f.prototype, { Ii: { @@ -109763,18 +109708,18 @@ a000.D9b = function () { configurable: !0 } }); - f.prototype.Ln = function (k) { + f.prototype.Mn = function (k) { var l; - if (k.ji === c.ae.JC) - return (k = null !== (l = this.TVa) && void 0 !== l ? l : this.QVa, { - histdiscbw: null === k || void 0 === k ? void 0 : k.result.Ps, - histage: null === k || void 0 === k ? void 0 : k.result.On + if (k.ji === c.Zd.Tt) + return (k = null !== (l = this.RVa) && void 0 !== l ? l : this.OVa, { + histdiscbw: null === k || void 0 === k ? void 0 : k.result.Us, + histage: null === k || void 0 === k ? void 0 : k.result.Qn }); }; return f; })(); - b.AGa = q; - }, function (q, b, a) { + b.wGa = r; + }, function (r, b, a) { var c, f, k; @@ -109783,15 +109728,15 @@ a000.D9b = function () { value: !0 } }); - b.VGa = void 0; - q = a(2); + b.RGa = void 0; + r = a(2); c = a(16); f = a(19); - k = q.__importDefault(a(4)); + k = r.__importDefault(a(5)); a = (function () { function l(d) { - this.Df = d; - this.RZ = []; + this.Ff = d; + this.TZ = []; this.reset(); } Object.defineProperties(l.prototype, { @@ -109804,7 +109749,7 @@ a000.D9b = function () { } }); Object.defineProperties(l.prototype, { - nC: { + pC: { get: function () { return "tsched"; }, @@ -109815,7 +109760,7 @@ a000.D9b = function () { Object.defineProperties(l.prototype, { enabled: { get: function () { - return f.ka; + return f.ia; }, enumerable: !1, configurable: !0 @@ -109825,52 +109770,52 @@ a000.D9b = function () { var d, g; d = this; - null === (g = this.cJ) || void 0 === g ? void 0 : g.clear(); - this.cJ = new c.zh(); - this.cJ.on(this.Df, "clockChanged", function () { + null === (g = this.eJ) || void 0 === g ? void 0 : g.clear(); + this.eJ = new c.xh(); + this.eJ.on(this.Ff, "clockChanged", function () { d.reset(); - d.eT("initial"); + d.dT("initial"); }); - this.cJ.on(this.Df, "stopping", function () { - d.eT("stopping"); + this.eJ.on(this.Ff, "stopping", function () { + d.dT("stopping"); }); - this.cJ.on(this.Df.wa, "clockAdjusted", function () { - d.eT("clockAdjusted"); + this.eJ.on(this.Ff.xa, "clockAdjusted", function () { + d.dT("clockAdjusted"); }); - this.cJ.on(this.Df.wa, "stopStart", function () { - d.eT("stopStart"); + this.eJ.on(this.Ff.xa, "stopStart", function () { + d.dT("stopStart"); }); - this.cJ.on(this.Df.wa, "speedChanged", function () { - d.eT("speedChanged"); + this.eJ.on(this.Ff.xa, "speedChanged", function () { + d.dT("speedChanged"); }); }; - l.prototype.eT = function (d) { - this.RZ.push({ + l.prototype.dT = function (d) { + this.TZ.push({ reason: d, - audit: this.Df.oyb(), - time: k.default.time.aa() + audit: this.Ff.tyb(), + time: k.default.time.ba() }); - 5 < this.RZ.length && this.RZ.shift(); + 5 < this.TZ.length && this.TZ.shift(); }; - l.prototype.Ln = function () { - return this.RZ; + l.prototype.Mn = function () { + return this.TZ; }; return l; })(); - b.VGa = a; - }, function (q, b, a) { + b.RGa = a; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.KFa = void 0; + b.HFa = void 0; c = a(54); - q = (function () { + r = (function () { function f(k, l) { - this.Jb = k; - this.R1a = l; + this.Lb = k; + this.Q1a = l; } Object.defineProperties(f.prototype, { Ii: { @@ -109890,66 +109835,66 @@ a000.D9b = function () { configurable: !0 } }); - f.prototype.Ln = function (k) { + f.prototype.Mn = function (k) { var l; k = k.ji; - if (k === c.ae.ip || k === c.ae.zr || void 0 === k) { + if (k === c.Zd.jp || k === c.Zd.Cr || void 0 === k) { k = { - numOutstandingRequests: this.R1a.iKb, - requestOpportunityDelayStats: this.R1a.Q1a + numOutstandingRequests: this.Q1a.kKb, + requestOpportunityDelayStats: this.Q1a.P1a }; - l = this.Jb.jLa; + l = this.Lb.hLa; l && l.length && (k.activeRequests = JSON.stringify(l)); return k; } }; return f; })(); - b.KFa = q; - }, function (q, b) { + b.HFa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.iya = void 0; - q = (function () { + b.fya = void 0; + r = (function () { function a(c) { - this.h2 = c; - this.nC = "engine"; + this.i2 = c; + this.pC = "engine"; this.enabled = !0; } Object.defineProperties(a.prototype, { Ii: { get: function () { - return this.nC; + return this.pC; }, enumerable: !1, configurable: !0 } }); - a.prototype.Ln = function () { + a.prototype.Mn = function () { var c; - c = this.h2.XMb.map(function (f) { + c = this.i2.$Mb.map(function (f) { var k; - k = f.Fa; + k = f.Ba; return { id: k.id, weight: k.weight, - relativeWeight: f.RV + relativeWeight: f.QV }; }); return { - prefetcher: this.h2.xt.getStats(), + prefetcher: this.i2.Bt.getStats(), playgraphs: c, - viewables: this.h2.VXb, - players: this.h2.n0a.length + viewables: this.i2.XXb, + players: this.i2.l0a.length }; }; return a; })(); - b.iya = q; - }, function (q, b, a) { + b.fya = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -109957,24 +109902,24 @@ a000.D9b = function () { value: !0 } }); - b.Oya = void 0; + b.Mya = void 0; c = a(6); - f = a(433); - q = (function () { + f = a(437); + r = (function () { function k() { - this.global = new f.nP(); - this.wC = {}; + this.global = new f.oP(); + this.yC = {}; } k.prototype.add = function (l, d) { - c.assert(void 0 === this.wC[l], "Cannot add new memory object for playgraph"); - this.wC[l] = d; - this.global.add(d.Gq); - this.global.add(d.rS); + c.assert(void 0 === this.yC[l], "Cannot add new memory object for playgraph"); + this.yC[l] = d; + this.global.add(d.Iq); + this.global.add(d.qS); }; return k; })(); - b.Oya = q; - }, function (q, b, a) { + b.Mya = r; + }, function (r, b, a) { var c, f, k, @@ -109984,98 +109929,98 @@ a000.D9b = function () { value: !0 } }); - b.cCa = void 0; + b.aCa = void 0; c = a(2); f = a(19); - k = a(429); + k = a(433); l = a(114); - q = (function () { + r = (function () { function d(g, h, m) { - this.Mja = g; - this.Hzb = h; + this.Fja = g; + this.Lzb = h; this.H = m; - this.Ph = new l.qA({ - jt: this, + this.Oh = new l.sA({ + pt: this, console: m, source: "MemoryDeadlockProtector", - hC: 5 + jC: 5 }); } - d.prototype.Gxb = function (g) { + d.prototype.Mxb = function (g) { var h, m, n, - r; + q; n = g.config; - r = n.Qi + (null !== (m = null === (h = n.vN) || void 0 === h ? void 0 : h.V) && void 0 !== m ? m : 0); - h = this.CCb(r, g); - f.ka && this.H.debug("MDP: has prebuf: " + h); + q = n.Ni + (null !== (m = null === (h = n.wN) || void 0 === h ? void 0 : h.V) && void 0 !== m ? m : 0); + h = this.ECb(q, g); + f.ia && this.H.debug("MDP: has prebuf: " + h); return h ? { - Q1: !0 + S1: !0 } - : (m = this.znb(n), h = m.DLb, m = m.yXb, h && m ? (f.ka && this.H.debug("MDP: utilizing " + Math.round(100 * m) + "%"), m >= n.wIb ? this.$1a(g, h) : { - Q1: !0 + : (m = this.Anb(n), h = m.FLb, m = m.AXb, h && m ? (f.ia && this.H.debug("MDP: utilizing " + Math.round(100 * m) + "%"), m >= n.yIb ? this.Z1a(g, h) : { + S1: !0 }) : { - Q1: !1 + S1: !1 }); }; - d.prototype.$1a = function (g, h) { + d.prototype.Z1a = function (g, h) { var m, n, - r, + q, p, - u, + t, w, y, z; - this.Ph.Ju({ + this.Oh.Qu({ o: h }); p = g.T; - g = g.Ab; - u = p.Ab; - p = p.QF; - for (var t = 0; t < u.length; t++) { - if (!u[t].Wo) { - p = u[t]; - u = u.slice(0, t + 1); + g = g.Cb; + t = p.Cb; + p = p.WF; + for (var u = 0; u < t.length; u++) { + if (!t[u].Xo) { + p = t[u]; + t = t.slice(0, u + 1); break; } } - t = !1; + u = !1; w = [{ mediaType: 0, - cB: 0 + eB: 0 }, { mediaType: 1, - cB: 0 + eB: 0 } ]; - if (null === p || void 0 === p || !p.Wo) { - g = g.map(function (A) { - return A; - }).filter(function (A) { - return -1 === u.indexOf(A); - }).sort(function (A, C) { - return k.Jfa(A) - k.Jfa(C); + if (null === p || void 0 === p || !p.Xo) { + g = g.map(function (B) { + return B; + }).filter(function (B) { + return -1 === t.indexOf(B); + }).sort(function (B, C) { + return k.Cfa(B) - k.Cfa(C); }); try { for (var v = c.__values(g), x = v.next(); !x.done; x = v.next()) { y = x.value; - z = y.sF(); - w[0].cB += null !== (n = z.fR) && void 0 !== n ? n : 0; - w[1].cB += null !== (r = z.Jz) && void 0 !== r ? r : 0; - f.ka && this.H.debug("Resetting discontiguous branch " + y.P.id, z); + z = y.wF(); + w[0].eB += null !== (n = z.hR) && void 0 !== n ? n : 0; + w[1].eB += null !== (q = z.Mz) && void 0 !== q ? q : 0; + f.ia && this.H.debug("Resetting discontiguous branch " + y.P.id, z); y.reset(); - if (t = w.every(function (A) { - return A.cB >= h[A.mediaType].cB; + if (u = w.every(function (B) { + return B.eB >= h[B.mediaType].eB; })) break; } - } catch (A) { - var B; - B = { - error: A + } catch (B) { + var A; + A = { + error: B }; } finally { @@ -110083,74 +110028,74 @@ a000.D9b = function () { x && !x.done && (m = v.return) && m.call(v); } finally { - if (B) - throw B.error; + if (A) + throw A.error; } } } return { - Q1: t, - K4b: w + S1: u, + Q4b: w }; }; - d.prototype.znb = function (g) { + d.prototype.Anb = function (g) { var h, m, n, - r; - if (!g.xIb) + q; + if (!g.zIb) return {}; - h = this.Hzb(); - m = this.Mja().total; - n = g.vIb; - r = 0; + h = this.Lzb(); + m = this.Fja().total; + n = g.xIb; + q = 0; g = [0, 1].map(function (p) { - var u; - u = h[p] - m[p] * n; - r = Math.max(0 < m[p] ? h[p] / m[p] : 0, r); + var t; + t = h[p] - m[p] * n; + q = Math.max(0 < m[p] ? h[p] / m[p] : 0, q); return { - cB: Math.max(0, u), + eB: Math.max(0, t), mediaType: p }; }); return { - yXb: r, - DLb: g + AXb: q, + FLb: g }; }; - d.prototype.CCb = function (g, h) { + d.prototype.ECb = function (g, h) { var m, n; m = !1; - h = h.F3 ? h.T : void 0; - if (null === h || void 0 === h ? 0 : h.UDb) { - m = h.Mh.ny().map(function (r) { - return r.mediaType; + h = h.G3 ? h.T : void 0; + if (null === h || void 0 === h ? 0 : h.YDb) { + m = h.Lh.ry().map(function (q) { + return q.mediaType; }); - n = h.Tyb(); - m = m.every(function (r) { + n = h.Xyb(); + m = m.every(function (q) { var p, - u; - if (0 === r) - r = null !== (p = n.Zr) && void 0 !== p ? p : 0; - else if (1 === r) - r = null !== (u = n.ro) && void 0 !== u ? u : 0; + t; + if (0 === q) + q = null !== (p = n.fs) && void 0 !== p ? p : 0; + else if (1 === q) + q = null !== (t = n.so) && void 0 !== t ? t : 0; else - throw Error("Unsupported media type:" + r); - return r >= g; + throw Error("Unsupported media type:" + q); + return q >= g; }); } return m; }; - c.__decorate([l.Xb({ + c.__decorate([l.Sb({ methodName: "resetDiscontiguousBranches", return : !0, - Jl: !0 - })], d.prototype, "$1a", null); + Il: !0 + })], d.prototype, "Z1a", null); return d; })(); - b.cCa = q; - }, function (q, b, a) { + b.aCa = r; + }, function (r, b, a) { var c, f, k, @@ -110161,59 +110106,59 @@ a000.D9b = function () { value: !0 } }); - b.dva = void 0; - q = a(2); + b.ava = void 0; + r = a(2); c = a(9); - f = q.__importDefault(a(27)); + f = r.__importDefault(a(27)); k = a(30); - l = q.__importDefault(a(404)); + l = r.__importDefault(a(408)); d = a(54); a = (function () { function g(h) { var m, n; m = this; - this.Fa = h; - this.$u = "aseReport"; - this.wNa = c.S.PB; - this.wn = !1; - if (0 === Math.floor(1E6 * Math.random()) % h.config.WA || h.config.ZRa) { - this.wNa = c.S.rb(h.config.E0); - this.Fa.gs = !0; + this.Ba = h; + this.ev = "aseReport"; + this.wNa = c.S.RB; + this.vn = !1; + if (0 === Math.floor(1E6 * Math.random()) % h.config.YA || h.config.YRa) { + this.wNa = c.S.rb(h.config.G0); + this.Ba.ks = !0; n = []; - n[f.default.Za.Hb] = new l.default(h.config, f.default.Za.Hb); - n[f.default.Za.Tb] = new l.default(h.config, f.default.Za.Tb); - this.Pda = n; - this.Fa.events.on("openComplete", function () { + n[f.default.Ra.Bb] = new l.default(h.config, f.default.Ra.Bb); + n[f.default.Ra.Ob] = new l.default(h.config, f.default.Ra.Ob); + this.Jda = n; + this.Ba.events.on("openComplete", function () { return m.open(); }); } } g.prototype.open = function () { - this.Fa.gs && !this.wn && (this.wn = !0, this.Fa.events.emit("aseReportEnabled", { + this.Ba.ks && !this.vn && (this.vn = !0, this.Ba.events.emit("aseReportEnabled", { type: "asereportenabled" - }), this.Fa.events.on("streamSelection", this.Xoa.bind(this))); + }), this.Ba.events.on("streamSelection", this.Soa.bind(this))); }; - g.prototype.Xoa = function (h) { - this.Pda[h.mediaType].add(h.result, h.streamList); + g.prototype.Soa = function (h) { + this.Jda[h.mediaType].add(h.result, h.streamList); }; - g.prototype.wka = function () { + g.prototype.ska = function () { var h; - h = k.flatten(this.Pda.map(function (m) { + h = k.flatten(this.Jda.map(function (m) { return m.get(); }).filter(function (m) { return void 0 !== m; })); - this.Pda.forEach(function (m) { + this.Jda.forEach(function (m) { return m.reset(!0); }); return h; }; - g.prototype.Of = function (h) { + g.prototype.Pf = function (h) { var m; m = h.ji; - h = h.xEb; - return this.Fa.gs && this.wn && (h || m === d.ae.ip) && (m = this.wka()) && m.length ? { + h = h.AEb; + return this.Ba.ks && this.vn && (h || m === d.Zd.jp) && (m = this.ska()) && m.length ? { z3a: !0, event: { type: "asereport", @@ -110230,8 +110175,8 @@ a000.D9b = function () { }; return g; })(); - b.dva = a; - }, function (q, b, a) { + b.ava = a; + }, function (r, b, a) { var c, f, k, @@ -110241,10 +110186,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, @@ -110255,101 +110200,101 @@ a000.D9b = function () { value: !0 } }); - b.bFa = void 0; + b.ZEa = void 0; c = a(2); f = a(16); k = a(14); l = a(9); - d = a(971); + d = a(973); g = a(30); h = a(6); - m = a(972); + m = a(974); n = a(19); - r = a(95); - p = a(973); - u = c.__importDefault(a(4)); - t = a(974); - w = a(975); - v = a(976); - x = a(257); - y = a(978); - z = a(979); - q = (function () { - function B(A, C, E, F, D) { - void 0 === F && (F = new w.gxa()); - void 0 === D && (D = new t.fxa()); - this.dRa = A; + q = a(95); + p = a(975); + t = c.__importDefault(a(5)); + u = a(976); + w = a(977); + v = a(978); + x = a(258); + y = a(980); + z = a(981); + r = (function () { + function A(B, C, E, G, D) { + void 0 === G && (G = new w.dxa()); + void 0 === D && (D = new u.cxa()); + this.cRa = B; this.config = C; - this.q1a = F; - this.Yl = []; + this.q1a = G; + this.Wl = []; this.x0a = []; - this.$N = []; + this.nw = []; this.events = new f.EventEmitter(); - this.H = l.Ys(u.default, E, "PREFETCH"); - this.zLa(new v.Jwa(C)); - this.zLa(new z.iGa(C)); + this.H = l.Yq(t.default, E, "PREFETCH"); + this.xLa(new v.Gwa(C)); + this.xLa(new z.eGa(C)); this.U2a({ - JF: C.qNb + OF: C.uNb }); - this.Yra(D); + this.Rra(D); } - Object.defineProperties(B.prototype, { - rNb: { + Object.defineProperties(A.prototype, { + vNb: { get: function () { - return this.Yl.map(function (A) { - return A.context; + return this.Wl.map(function (B) { + return B.context; }); }, enumerable: !1, configurable: !0 } }); - B.prototype.jSb = function (A) { - n.ka && h.assert(A, "Reconciliation strategy is undefined"); - this.q1a = A; + A.prototype.mSb = function (B) { + n.ia && h.assert(B, "Reconciliation strategy is undefined"); + this.q1a = B; }; - B.prototype.zLa = function (A) { - this.x0a.unshift(A); + A.prototype.xLa = function (B) { + this.x0a.unshift(B); }; - B.prototype.r3a = function (A) { - n.ka && this.H.debug("Wish list changed", { - A6b: A.length + A.prototype.r3a = function (B) { + n.ia && this.H.debug("Wish list changed", { + K6b: B.length }); - this.$N = A; - this.Zpa(); + this.nw = B; + this.Tpa(); }; - B.prototype.reset = function () { - var A, - F, - D, + A.prototype.reset = function () { + var B, G, - I, - J; - if (this.config.ANb) + D, + F, + J, + K; + if (this.config.ENb) try { - for (var C = c.__values(this.Yl), E = C.next(); !E.done; E = C.next()) { - F = E.value; - D = F.Fa; - G = F.H4; - I = F.context; + for (var C = c.__values(this.Wl), E = C.next(); !E.done; E = C.next()) { + G = E.value; + D = G.Ba; + F = G.H4; + J = G.context; if (D) { - D.zf(); - G.Iqa(function (M) { - return "segmentNormalized" !== M.$u; + D.Bf(); + F.Cqa(function (L) { + return "segmentNormalized" !== L.ev; }); - J = x.o3(I.Pe, D.Fa); - D.MG(J); + K = x.p3(J.Xd, D.Ba); + D.UG(K); } } - } catch (M) { + } catch (L) { var H; H = { - error: M + error: L }; } finally { try { - E && !E.done && (A = C.return) && A.call(C); + E && !E.done && (B = C.return) && B.call(C); } finally { if (H) @@ -110359,325 +110304,356 @@ a000.D9b = function () { else this.r3a([]); }; - B.prototype.U2a = function (A) { - n.ka && this.H.debug("Budget changed", { - J6b: this.IR, - z6b: A + A.prototype.U2a = function (B) { + n.ia && this.H.debug("Budget changed", { + U6b: this.JR, + J6b: B }); - this.IR = A; - this.Zpa(); + this.JR = B; + this.Tpa(); }; - B.prototype.Fob = function (A, C) { + A.prototype.Gob = function (B, C) { var E, - F, - D, G, - I; - if (C = this.q1a.Wwb(this.Yl, { - Fa: A, - kl: C + D, + F, + J; + if (C = this.q1a.bxb(this.Wl, { + Ba: B, + xk: C })) { - D = this.$N.indexOf(C.context.Pe); - n.ka && this.H.debug("Claiming item: " + x.Ls(C.context.Pe.key), { - Cl: u.default.time.aa() - C.g8, - buffer: null === (E = C.Fa) || void 0 === E ? void 0 : E.Hh(l.S.hb) + D = this.nw.indexOf(C.context.Xd); + n.ia && this.H.debug("Claiming item: " + x.zp(C.context.Xd.key), { + Bl: t.default.time.ba() - C.c8, + buffer: null === (E = C.Ba) || void 0 === E ? void 0 : E.Hh(l.S.hb) }); - this.Tha(C.context, { - UWa: !!C.Fa + this.Nha(C.context, { + SWa: !!C.Ba }); - if (C.Fa) { - E = C.Fa; - G = C.context; - I = C.jr; - y.$Ea.VPb(E, C.H4, this.H); - A = x.o3(G.Pe, A); - I.RQb(null !== (F = E.FT(A)) && void 0 !== F ? F : l.S.hb, D); - E.Q5a({ - JF: this.config.$s || Infinity + if (C.Ba) { + E = C.Ba; + F = C.context; + J = C.kr; + y.XEa.$Pb(E, C.H4, this.H); + B = x.p3(F.Xd, B); + J.WQb(null !== (G = E.DT(B)) && void 0 !== G ? G : l.S.hb, D); + E.S5a({ + OF: this.config.ht || Infinity }); } } - this.config.alb || this.reset(); - return null === C || void 0 === C ? void 0 : C.Fa; + this.config.blb || this.reset(); + return null === C || void 0 === C ? void 0 : C.Ba; }; - B.prototype.Eob = function () {}; - B.prototype.getStats = function () { - var A; - A = u.default.time.aa(); + A.prototype.Fob = function () {}; + A.prototype.getStats = function () { + var B; + B = t.default.time.ba(); return { - wishListLength: this.$N.length, - prefetchList: this.rNb.length, - contents: this.Yl.map(function (C) { + wishListLength: this.nw.length, + prefetchList: this.vNb.length, + contents: this.Wl.map(function (C) { var E, - F, - D, G, - I; + D, + F, + J; return { - id: x.Ls(C.context.Pe.key), - buffer: null === (E = C.Fa) || void 0 === E ? void 0 : E.Hh(l.S.hb), - pId: null === (F = C.Fa) || void 0 === F ? void 0 : F.id, + id: x.zp(C.context.Xd.key), + buffer: null === (E = C.Ba) || void 0 === E ? void 0 : E.Hh(l.S.hb), + pId: null === (G = C.Ba) || void 0 === G ? void 0 : G.id, budget: { - inMemoryBytes: C.context.OWa.JF + inMemoryBytes: C.context.MWa.OF }, - weight: C.context.A6, - age: A - C.g8, - timeOpened: A - (null !== (D = C.dVb) && void 0 !== D ? D : 0), - state: k.wc[null !== (I = null === (G = C.Fa) || void 0 === G ? void 0 : G.hf.value) && void 0 !== I ? I : k.wc.zi] + weight: C.context.z6, + age: B - C.c8, + timeOpened: B - (null !== (D = C.fVb) && void 0 !== D ? D : 0), + state: k.yc[null !== (J = null === (F = C.Ba) || void 0 === F ? void 0 : F.hf.value) && void 0 !== J ? J : k.yc.zi] }; }) }; }; - B.prototype.Tha = function (A, C) { - var E, - F, - D; + A.prototype.Nha = function (B, C) { + var E; void 0 === C && (C = {}); - F = c.__assign({ - UWa: !1, - SWa: !1 - }, C); - C = F.UWa; - F = F.SWa; - D = g.wg(this.Yl, function (G) { - return G.context === A; - }); - D && (this.Yl.splice(this.Yl.indexOf(D), 1), F || (this.$N = this.$N.filter(function (G) { - return G !== A.Pe; - })), n.ka && this.H.debug("Dropping playgraph", { - Cl: u.default.time.aa() - D.g8, - buffer: null === (E = D.Fa) || void 0 === E ? void 0 : E.Hh(l.S.hb), - e7b: !C - }), C || this.gr(D), this.Zpa()); - }; - B.prototype.Yra = function (A) { - h.assert(A, "Playgraph resolver is undefined"); - this.Ipa = A; + c.__awaiter(this, void 0, void 0, function () { + var G, + D, + F, + J, + K, + H; + return c.__generator(this, function (L) { + switch (L.label) { + case 0: + G = c.__assign({ + SWa: !1, + QWa: !1 + }, C); + D = G.SWa; + F = G.QWa; + J = g.wg(this.Wl, function (Q) { + return Q.context === B; + }); + if (!J) + return [3, 3]; + this.Wl.splice(this.Wl.indexOf(J), 1); + F || (K = this.nw.length, this.nw = this.nw.filter(function (Q) { + return Q !== B.Xd; + }), n.ia && this.H.info("Dropping items from wishlist", K - this.nw.length), this.nw.length >= K && n.ia && this.H.warn("Unable to filter out wishlist item", this.nw.map(function (Q) { + return Q.key; + }), B.Xd.key)); + n.ia && this.H.debug("Dropping playgraph", { + Bl: t.default.time.ba() - J.c8, + buffer: null === (E = J.Ba) || void 0 === E ? void 0 : E.Hh(l.S.hb), + $: x.zp(B.Xd.key), + q7b: !D, + F4b: !F + }); + if (D) + return [3, 2]; + H = this.hr(J); + return J.Ba ? [4, H] : [3, 2]; + case 1: + (L.Wd(), L.label = 2); + case 2: + (this.Tpa(), L.label = 3); + case 3: + return [2]; + } + }); + }); + }; + A.prototype.Rra = function (B) { + h.assert(B, "Playgraph resolver is undefined"); + this.Dpa = B; return this; }; - B.prototype.Zpa = function () { - var A, + A.prototype.Tpa = function () { + var B, C, E, - F, + G, D, - G; - A = this; - C = d.qwa.lEb({ - oYb: this.$N, - cCb: this.IR - }, this.x0a.map(function (I) { - return I.ANa.bind(I); - })).Yl; - E = g.ds(C, this.Yl, function (I, J) { - return x.isEqual(I.Pe.key, J.context.Pe.key); - }); - F = g.ds(this.Yl, C, function (I, J) { - return x.isEqual(I.context.Pe.key, J.Pe.key); - }); - D = g.ds(this.Yl, F); - n.ka && this.H.debug("Re-evaluated prefetch items. new:" + E.length + ", evict: " + F.length + ", update: " + E.length); - F = F.map(function (I) { - var J; - J = I.context.Pe.key; - n.ka && A.H.debug("Releasing playgraph", x.Ls(J)); - return A.gr(I).then(function () { - A.events.emit("itemEvicted", { + F; + B = this; + C = d.nwa.oEb({ + qYb: this.nw, + eCb: this.JR + }, this.x0a.map(function (J) { + return J.ANa.bind(J); + })).Wl; + E = g.hs(C, this.Wl, function (J, K) { + return x.isEqual(J.Xd.key, K.context.Xd.key); + }); + G = g.hs(this.Wl, C, function (J, K) { + return x.isEqual(J.context.Xd.key, K.Xd.key); + }); + D = g.hs(this.Wl, G); + n.ia && this.H.debug("Re-evaluated prefetch items. new:" + E.length + ", evict: " + G.length + ", update: " + E.length); + G = G.map(function (J) { + var K; + K = J.context.Xd.key; + n.ia && B.H.debug("Releasing playgraph", x.zp(K)); + return B.hr(J).then(function () { + B.events.emit("itemEvicted", { type: "itemEvicted", - wishListItem: I.context.Pe + wishListItem: J.context.Xd }); }); }); - G = D.map(function (I) { - return c.__awaiter(A, void 0, void 0, function () { - var J, + F = D.map(function (J) { + return c.__awaiter(B, void 0, void 0, function () { + var K, H; - return c.__generator(this, function (M) { - switch (M.label) { + return c.__generator(this, function (L) { + switch (L.label) { case 0: - return (J = g.wg(C, function (O) { - return x.isEqual(O.Pe.key, I.context.Pe.key); - }), h.assert(J, "Couldn't find the requested item context"), [4, I.z6]); + return (K = g.wg(C, function (Q) { + return x.isEqual(Q.Xd.key, J.context.Xd.key); + }), h.assert(K, "Couldn't find the requested item context"), J.context = K, [4, J.y6]); case 1: - return (H = M.Oe(), g.wg(this.Yl, function (O) { - return O === I; - }) && (this.iMa(I.context, H), this.events.emit("itemReevaluated", { + return (H = L.Wd(), g.wg(this.Wl, function (Q) { + return Q === J; + }) && (this.hMa(J.context, H), this.events.emit("itemReevaluated", { type: "itemReevaluated", - wishListItem: I.context.Pe + wishListItem: J.context.Xd })), [2]); } }); }); }); - E = E.map(function (I) { - var J; - J = A.isb(I); - A.events.emit("itemQueued", { + E = E.map(function (J) { + var K; + K = B.jsb(J); + B.events.emit("itemQueued", { type: "itemQueued", - wishListItem: I.Pe + wishListItem: J.Xd }); - return J; + return K; }); - this.Yl = c.__spread(D, E); - D = E.map(function (I) { - return I.z6.then(function () {}); + this.Wl = c.__spread(D, E); + D = E.map(function (J) { + return J.y6; }); - D = F.concat(G).concat(D); - Promise.all(D).then(function () {}); + D = G.concat(F).concat(D); + Promise.all(D); }; - B.prototype.gr = function (A) { + A.prototype.hr = function (B) { var C; C = this; - return A.z6.then(function (E) { + return B.y6.then(function (E) { return c.__awaiter(C, void 0, void 0, function () { - var F; + var G; return c.__generator(this, function (D) { switch (D.label) { case 0: - return (n.ka && this.H.debug("Removing prefetch playgraph", { + return (n.ia && this.H.debug("Removing prefetch playgraph", { size: E.Hh(l.S.hb) - }), A.ria.clear(), [4, this.dRa()]); + }), B.kia.clear(), [4, this.cRa()]); case 1: - return (F = D.Oe(), F.gr(E), [2]); + return (G = D.Wd(), G.hr(E), [2]); } }); }); }); }; - B.prototype.fsb = function (A) { + A.prototype.gsb = function (B) { return c.__awaiter(this, void 0, void 0, function () { var C, E, - F, - D, G, - I; - I = this; - return c.__generator(this, function (J) { - switch (J.label) { + D, + F, + J; + J = this; + return c.__generator(this, function (K) { + switch (K.label) { case 0: - return (C = A.context, E = x.Ls(C.Pe.key), n.ka && this.H.debug("Creating playgraph", E), [4, this.Ipa.aYa(C)]); + return (C = B.context, E = x.zp(C.Xd.key), n.ia && this.H.debug("Creating playgraph", E), [4, this.Dpa.ZXa(C)]); case 1: - return (F = J.Oe(), [4, this.dRa()]); + return (G = K.Wd(), [4, this.cRa()]); case 2: - return (D = J.Oe(), G = D.GE(F, C.A6, C.kl, C.Pe.zH, !1), A.ria.addListener(G.events, "error", function (H) { - n.ka && I.H.debug("Prefetch playgraph resulted in error", H.x4b); - I.Tha(C); - }), [2, G]); + return (D = K.Wd(), F = D.HE(G, C.z6, C.xk, C.Xd.HH, !1), B.kia.addListener(F.events, "error", function (H) { + n.ia && J.H.debug("Prefetch playgraph resulted in error", H.D4b); + J.Nha(C); + }), [2, F]); } }); }); }; - B.prototype.oLb = function (A, C) { + A.prototype.qLb = function (B, C) { var E, - F, + G, D; E = this; - F = A.context; - D = x.Ls(F.Pe.key); - this.iMa(F, C); + G = B.context; + D = x.zp(G.Xd.key); + this.hMa(G, C); C.open(); - C.Vv({ - pr: function (G, I) { - var J; - J = G.defaultTrackOrderList[0].audioTrackId; - return g.fs(I, function (H) { - return H.track_id === J; + C.$v({ + qr: function (F, J) { + var K; + K = F.defaultTrackOrderList[0].audioTrackId; + return g.js(J, function (H) { + return H.track_id === K; }); } }, { - pr: function (G, I) { - var J; - J = G.defaultTrackOrderList[0].videoTrackId; - return g.fs(I, function (H) { - return H.track_id === J; + qr: function (F, J) { + var K; + K = F.defaultTrackOrderList[0].videoTrackId; + return g.js(J, function (H) { + return H.track_id === K; }); } }); - C.MG(x.o3(F.Pe, C.Fa)); - C = F.Pe.zH.Fs(D); - C.events && A.ria.addListener(C.events, "viewableExpired", function () { - A.N5b = !0; - E.Tha(A.context, { - SWa: !0 + C.UG(x.p3(G.Xd, C.Ba)); + C = G.Xd.HH.Js(D); + C.events && B.kia.addListener(C.events, "viewableExpired", function () { + n.ia && E.H.debug("Viewable expired", x.zp(B.context.Xd.key)); + B.X5b = !0; + n.ia && E.H.debug("Viewable Expired for " + B.context.Xd.key.$); + E.Nha(B.context, { + QWa: !0 }); }); }; - B.prototype.iMa = function (A, C) { + A.prototype.hMa = function (B, C) { var E; - C.d6a(A.A6); - C.Q5a(A.OWa); - A = A.VTb; - E = A.video; - C.bsa(new r.LD(A.audio, !0), new r.LD(E, !0)); + C.f6a(B.z6); + C.S5a(B.MWa); + B = B.XTb; + E = B.video; + C.Ura(new q.OD(B.audio, !0), new q.OD(E, !0)); }; - B.prototype.isb = function (A) { + A.prototype.jsb = function (B) { var C, E, - F; + G; C = this; - E = new m.aFa(); - F = { - context: A, - g8: u.default.time.aa(), - ria: new f.zh(), - jr: E + E = new m.YEa(); + G = { + context: B, + c8: t.default.time.ba(), + kia: new f.xh(), + kr: E }; - F.z6 = this.fsb(F); - F.z6.then(function (D) { + G.y6 = this.gsb(G); + G.y6.then(function (D) { return c.__awaiter(C, void 0, void 0, function () { - var G; - G = this; + var F; + F = this; return c.__generator(this, function () { try { - return (F.Fa = D, D.ai(E), E.Llb(D), F.H4 = new p.qya(D.events, { - TSb: function (I) { - var J; - J = I.$u; - switch (J) { + return (G.Ba = D, D.ai(E), E.Llb(D), G.H4 = new p.oya(D.events, { + XSb: function (J) { + var K; + K = J.ev; + switch (K) { case "buffering": return !1; case "bufferingStarted": - F.H4.Iqa(function (H) { - return "bufferingComplete" === H.$u || "updateStreamingPts" === H.$u; + G.H4.Cqa(function (H) { + return "bufferingComplete" === H.ev || "updateStreamingPts" === H.ev; }); case "openComplete": case "updateStreamingPts": case "bufferingComplete": - F.H4.Iqa(function (H) { - return H.$u === J; + G.H4.Cqa(function (H) { + return H.ev === K; }); default: return !0; } } }), D.events.on("bufferingComplete", function () { - G.events.emit("prefetchComplete", { + F.events.emit("prefetchComplete", { type: "prefetchComplete", - wishListItem: A.Pe + wishListItem: B.Xd }); - }), this.oLb(F, D), F.dVb = u.default.time.aa(), [2, D]); - } catch (I) { - throw (n.ka && this.H.error("Exception occurred creating playgraph", I), this.gr(F), I); + }), this.qLb(G, D), G.fVb = t.default.time.ba(), [2, D]); + } catch (J) { + throw (n.ia && this.H.error("Exception occurred creating playgraph", J), this.hr(G), J); } }); }); }); - return F; + return G; }; - return B; + return A; })(); - b.bFa = q; - }, function (q, b) { + b.ZEa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.qwa = void 0; - b.qwa = (function () { + b.nwa = void 0; + b.nwa = (function () { function a() {} - a.lEb = function (c, f) { + a.oEb = function (c, f) { var d; function k(g) { return l(d++)(g, k); @@ -110693,7 +110669,7 @@ a000.D9b = function () { }; return a; })(); - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -110701,13 +110677,13 @@ a000.D9b = function () { value: !0 } }); - b.aFa = void 0; - c = a(2).__importDefault(a(4)); + b.YEa = void 0; + c = a(2).__importDefault(a(5)); f = a(54); - q = (function () { + r = (function () { function k() { - this.creationTime = c.default.time.aa(); - this.Sb = { + this.creationTime = c.default.time.ba(); + this.Vb = { isPrefetchItem: !0, prefetchClaimDurationMs: 0, prefetchedVideoMs: 0, @@ -110715,16 +110691,16 @@ a000.D9b = function () { }; } k.prototype.Llb = function (l) { - this.Fa = l; + this.Ba = l; }; - k.prototype.RQb = function (l, d) { + k.prototype.WQb = function (l, d) { var g; - l = null === (g = this.Fa) || void 0 === g ? void 0 : g.Hh(l); - this.Sb = { + l = null === (g = this.Ba) || void 0 === g ? void 0 : g.Hh(l); + this.Vb = { isPrefetchItem: !0, - prefetchedVideoMs: l.ZW, - prefetchedAudioMs: l.XW, - prefetchClaimDurationMs: c.default.time.aa() - this.creationTime, + prefetchedVideoMs: l.YW, + prefetchedAudioMs: l.WW, + prefetchClaimDurationMs: c.default.time.ba() - this.creationTime, prefetchRank: d }; }; @@ -110746,14 +110722,14 @@ a000.D9b = function () { configurable: !0 } }); - k.prototype.Ln = function (l) { - if (l.ji === f.ae.JC) - return this.Sb; + k.prototype.Mn = function (l) { + if (l.ji === f.Zd.Tt) + return this.Vb; }; return k; })(); - b.aFa = q; - }, function (q, b, a) { + b.YEa = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -110761,130 +110737,128 @@ a000.D9b = function () { value: !0 } }); - b.qya = void 0; + b.oya = void 0; c = a(2); - q = (function () { + r = (function () { function k(l, d) { void 0 === d && (d = {}); - this.lp = l; + this.mp = l; this.options = d; - this.mF = []; - this.YT = new f(l, this.rkb.bind(this)); + this.qF = []; + this.WT = new f(l, this.rkb.bind(this)); } k.prototype.rkb = function (l) { - for (var d, g, h, m, n, r, p = [], u = 1; u < arguments.length; u++) { - p[u - 1] = arguments[u]; + for (var d, g, h, m, n, q, p = [], t = 1; t < arguments.length; t++) { + p[t - 1] = arguments[t]; } p = { - $u: l, - cs: p + ev: l, + Cq: p }; - (null !== (h = null === (g = (d = this.options).TSb) || void 0 === g ? void 0 : g.call(d, p, this.mF)) && void 0 !== h ? h : 1) && this.mF.push(p); - return null !== (r = null === (n = (m = this.options).z7b) || void 0 === n ? void 0 : n.call(m, p)) && void 0 !== r ? r : !0; + (null !== (h = null === (g = (d = this.options).XSb) || void 0 === g ? void 0 : g.call(d, p, this.qF)) && void 0 !== h ? h : 1) && this.qF.push(p); + return null !== (q = null === (n = (m = this.options).N7b) || void 0 === n ? void 0 : n.call(m, p)) && void 0 !== q ? q : !0; }; - k.prototype.Iqa = function (l) { - this.mF = this.mF.filter(function (d, g) { + k.prototype.Cqa = function (l) { + this.qF = this.qF.filter(function (d, g) { return !l(d, g); }); }; - k.prototype.Pqa = function () { + k.prototype.Kqa = function () { var l; l = this; - this.YT.J5a(); - this.mF.forEach(function (d) { + this.WT.L5a(); + this.qF.forEach(function (d) { var g; - (g = l.lp).emit.apply(g, c.__spread([d.$u], d.cs)); + (g = l.mp).emit.apply(g, c.__spread([d.ev], d.Cq)); }); - this.YT.$Va(); + this.WT.YVa(); }; Object.defineProperties(k.prototype, { length: { get: function () { - return this.mF.length; + return this.qF.length; }, enumerable: !1, configurable: !0 } }); k.prototype.clear = function () { - this.mF = []; + this.qF = []; }; - k.prototype.wb = function () { - this.YT.J5a(); + k.prototype.zb = function () { + this.WT.L5a(); }; return k; })(); - b.qya = q; + b.oya = r; f = (function () { function k(l, d) { var g; g = this; - this.lp = l; - this.MR = d; - this.YT = function (h) { - for (var m, n = [], r = 1; r < arguments.length; r++) { - n[r - 1] = arguments[r]; + this.mp = l; + this.NR = d; + this.WT = function (h) { + for (var m, n = [], q = 1; q < arguments.length; q++) { + n[q - 1] = arguments[q]; } - return g.MR.apply(g, c.__spread([h], n)) ? (m = g.l_a).call.apply(m, c.__spread([g.lp, h], n)) : !1; + return g.NR.apply(g, c.__spread([h], n)) ? (m = g.j_a).call.apply(m, c.__spread([g.mp, h], n)) : !1; }; - this.l_a = this.lp.emit; - this.$Va(); + this.j_a = this.mp.emit; + this.YVa(); } - k.prototype.$Va = function () { - this.lp.emit = this.YT; + k.prototype.YVa = function () { + this.mp.emit = this.WT; }; - k.prototype.J5a = function () { - this.lp.emit = this.l_a; + k.prototype.L5a = function () { + this.mp.emit = this.j_a; }; return k; })(); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, - k, - l; + k; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.fxa = void 0; + b.cxa = void 0; c = a(2); - f = a(73); - k = c.__importDefault(a(4)); - l = a(257); - q = (function () { - function d() {} - d.prototype.aYa = function (g) { + f = a(67); + k = a(258); + r = (function () { + function l() {} + l.prototype.ZXa = function (d) { return c.__awaiter(this, void 0, void 0, function () { - var h, + var g, + h, m, n, - r, - p; - return c.__generator(this, function (u) { - switch (u.label) { + q; + return c.__generator(this, function (p) { + switch (p.label) { case 0: - h = g.Pe.key; - if (!l.cU(h)) + g = d.Xd.key; + if (!k.bU(g)) return [3, 2]; - m = h.da; - n = g.Pe.zH.Fs(m); - return [4, k.default.Promise.resolve(n.Dr)]; + h = g.$; + m = d.Xd.HH.Js(h); + return [4, Promise.resolve(m.Gr)]; case 1: - return (r = u.Oe(), p = r.sa, p.ym ? [2, f.gB(p.ym, { - config: r.config - })] : [2, f.XG(m, "ps0")]); + return (n = p.Wd(), q = n.sa, q.Hn ? [2, f.iB(q.Hn, { + config: n.config + })] : [2, f.eH(h, "ps0")]); case 2: - return [2, h.Fa]; + return [2, g.Ba]; } }); }); }; - return d; + return l; })(); - b.fxa = q; - }, function (q, b, a) { + b.cxa = r; + }, function (r, b, a) { var c, f, k; @@ -110893,32 +110867,36 @@ a000.D9b = function () { value: !0 } }); - b.gxa = void 0; + b.dxa = void 0; c = a(2); f = a(6); - k = a(257); - q = (function () { + k = a(258); + r = (function () { function l() {} - l.Ls = function (d) { + l.zp = function (d) { var g, h; - g = d.Ca; - d = d.hg; - h = g[d].da; + g = d.wa; + d = d.Oe; + h = g[d].$; Object.keys(g).forEach(function (m) { - return f.assert(g[m].da === h); + return f.assert(g[m].$ === h); }); - return g[d].da; + return g[d].$; }; - l.prototype.Wwb = function (d, g) { - return c.__read(d.filter(function (h) { - return l.Ls(g.Fa) === k.Ls(h.context.Pe.key); + l.prototype.bxb = function (d, g) { + var h; + h = Object.keys(g.Ba.wa).length; + return c.__read(d.filter(function (m) { + var n, + q; + return l.zp(g.Ba) === k.zp(m.context.Xd.key) && (1 === h || h === Object.keys(null !== (q = null === (n = m.Ba) || void 0 === n ? void 0 : n.Ba.wa) && void 0 !== q ? q : {}).length); }), 1)[0]; }; return l; })(); - b.gxa = q; - }, function (q, b, a) { + b.dxa = r; + }, function (r, b, a) { var c, f; Object.defineProperties(b, { @@ -110926,11 +110904,11 @@ a000.D9b = function () { value: !0 } }); - b.Jwa = b.Nwa = void 0; + b.Gwa = b.Kwa = void 0; c = a(95); - f = a(977); - b.Nwa = 625E3; - q = (function () { + f = a(979); + b.Kwa = 625E3; + r = (function () { function k(l) { this.config = l; } @@ -110938,25 +110916,25 @@ a000.D9b = function () { var d, g, h; - d = this.config.N1; - g = (this.config.DYa || this.config.M1) * b.Nwa / 1E3; - h = Math.floor(l.cCb.JF / g); + d = this.config.P1; + g = (this.config.AYa || this.config.O1) * b.Kwa / 1E3; + h = Math.floor(l.eCb.OF / g); return { - Yl: l.oYb.sort(function (m, n) { + Wl: l.qYb.sort(function (m, n) { return m.priority - n.priority; }).slice(0, d).map(function (m, n) { - var r; - r = m.key.config; + var q; + q = m.key.config; return { - OWa: { - JF: n > h - 1 ? 0 : g + MWa: { + OF: n > h - 1 ? 0 : g }, - Pe: m, - A6: 1, - kl: r, - VTb: { - audio: [c.$E(r), new f.sba()], - video: [c.aF(r), new f.sba()] + Xd: m, + z6: 1, + xk: q, + XTb: { + audio: [c.cF(q), new f.mba()], + video: [c.dF(q), new f.mba()] } }; }) @@ -110964,56 +110942,56 @@ a000.D9b = function () { }; return k; })(); - b.Jwa = q; - }, function (q, b, a) { + b.Gwa = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.sba = void 0; + b.mba = void 0; c = a(14); - q = (function () { + r = (function () { function f() {} - f.prototype.Dm = function (k, l) { - return l === c.wc.Zj ? [] : k; + f.prototype.Bm = function (k, l) { + return l === c.yc.$j ? [] : k; }; return f; })(); - b.sba = q; - }, function (q, b, a) { + b.mba = r; + }, function (r, b, a) { var c; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.$Ea = void 0; + b.XEa = void 0; c = a(19); - b.$Ea = (function () { + b.XEa = (function () { function f() {} - f.VPb = function (k, l, d) { + f.$Pb = function (k, l, d) { var g; g = k.open; k.open = function () { - c.ka && d.log("Replaying " + l.length + " events from prefetched playgraph"); - l.Pqa(); - l.wb(); + c.ia && d.log("Replaying " + l.length + " events from prefetched playgraph"); + l.Kqa(); + l.zb(); k.open = g; return g.call(k); }; }; return f; })(); - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.iGa = void 0; - q = (function () { + b.eGa = void 0; + r = (function () { function a(c) { this.config = c; } @@ -111022,44 +111000,44 @@ a000.D9b = function () { l; k = this; c = f(c); - l = c.Yl.map(function (d) { - return d.Pe.priority; + l = c.Wl.map(function (d) { + return d.Xd.priority; }).sort(); - c.Yl.forEach(function (d) { - d.A6 = k.config.tNb / (2 << l.lastIndexOf(d.Pe.priority)); + c.Wl.forEach(function (d) { + d.z6 = k.config.xNb / (2 << l.lastIndexOf(d.Xd.priority)); }); return c; }; return a; })(); - b.iGa = q; - }, function (q, b) { + b.eGa = r; + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.REa = void 0; - q = (function () { + b.OEa = void 0; + r = (function () { function a(c) { var f; f = this; - c = c.xm; - this.FF = function () { - f.xm(); + c = c.El; + this.KF = function () { + f.El(); }; - this.xm = c; + this.El = c; } - a.prototype.GE = function (c) { - c.events.on("requestsPruned", this.FF); + a.prototype.HE = function (c) { + c.events.on("requestsPruned", this.KF); }; - a.prototype.gr = function (c) { - c.events.removeListener("requestsPruned", this.FF); + a.prototype.hr = function (c) { + c.events.removeListener("requestsPruned", this.KF); }; return a; })(); - b.REa = q; - }, function (q, b) { + b.OEa = r; + }, function (r, b) { function a(c, f, k, l) { return c && f ? Math.min(c - f * k, c - l) : (c || Infinity) - l; } @@ -111073,11 +111051,11 @@ a000.D9b = function () { var k, l, d; - l = a(f.audio, f.Zea, c.ROa, c.POa); - d = a(f.video, f.cua, c.ROa, c.QOa); - return (k = {}, k[0] = l, k[1] = d, k.total = (f.total || Infinity) - c.POa - c.QOa, k); + l = a(f.audio, f.Sea, c.QOa, c.OOa); + d = a(f.video, f.Zta, c.QOa, c.POa); + return (k = {}, k[0] = l, k[1] = d, k.total = (f.total || Infinity) - c.OOa - c.POa, k); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -111087,159 +111065,157 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, - z, - B; + z; Object.defineProperties(b, { __esModule: { value: !0 } }); - b.lGa = void 0; + b.hGa = void 0; c = a(2); f = a(16); k = c.__importStar(a(10)); l = a(14); - d = a(226); + d = a(222); g = a(14); h = a(9); m = a(6); n = a(22); - r = a(220); + q = a(223); p = a(54); - u = a(95); - t = a(114); - w = a(256); - v = c.__importDefault(a(4)); - x = a(983); - y = a(984); - z = v.default.Promise; - B = 0; - q = (function (A) { - function C(E, F, D, G, I, J, H, M, O, L, P) { - var R, - K, - Q, + t = a(95); + u = a(114); + w = a(257); + v = c.__importDefault(a(5)); + x = a(985); + y = a(986); + z = 0; + r = (function (A) { + function B(C, E, G, D, F, J, K, H, L, Q, I) { + var O, N, - da; - N = A.call(this) || this; - N.console = E; - N.Wn = F; - N.CQ = D; - N.FJ = I; - N.DW = J; - N.Vu = M; - N.T = L; - N.config = P; - N.vq = !1; - N.QZ = !1; - N.Vr = void 0; - N.Se = function () { - var na, + M, + P, + R; + P = A.call(this) || this; + P.console = C; + P.Yn = E; + P.DQ = G; + P.HJ = F; + P.BW = J; + P.$u = H; + P.T = Q; + P.config = I; + P.xq = !1; + P.SZ = !1; + P.Zr = void 0; + P.Te = function () { + var ea, + pa, va, - ra, - X, - ta; - null === (na = N.$P) || void 0 === na ? void 0 : na.clear(); - na = N.hfb; - ta = N.jib; - m.assert(na); - N.Dg && m.assert(ta); - N.Ok.value !== g.ja.pq && N.Ok.value !== g.ja.zi && (null !== (va = N.Ha) && void 0 !== va && va.Nn ? (va = null === (X = null === (ra = N.Wn.Ma.Jb.get()) || void 0 === ra ? void 0 : ra.Oa) || void 0 === X ? void 0 : X.Ea, N.qa.t8("startplay", p.ae.JC), N.m8.lR("emitBufferingComplete", {}), x.c2(N, na, N.Ha.Cd, va, ta, N.qa.gs)) : N.console.error("Shim received buffering complete but player has no position (player " + (N.Ha ? "" : "un") + "defined, state " + N.Ok.value + ")")); + ta, + Y; + null === (ea = P.$P) || void 0 === ea ? void 0 : ea.clear(); + ea = P.ifb; + Y = P.kib; + m.assert(ea); + P.Cg && m.assert(Y); + P.Ok.value !== g.ka.rq && P.Ok.value !== g.ka.zi && (null !== (pa = P.Ha) && void 0 !== pa && pa.Pn ? (pa = null === (ta = null === (va = P.Yn.Pa.Lb.get()) || void 0 === va ? void 0 : va.Oa) || void 0 === ta ? void 0 : ta.Fa, P.qa.p8("startplay", p.Zd.Tt), P.i8.nR("emitBufferingComplete", {}), x.e2(P, ea, P.Ha.ud, pa, Y, P.qa.ks)) : P.console.error("Shim received buffering complete but player has no position (player " + (P.Ha ? "" : "un") + "defined, state " + P.Ok.value + ")")); }; - N.yR = function () { - var na, - va, - ra; - N.m8.lR("audioTrackSwitchComplete", {}); - m.assert(void 0 !== N.rm); - va = N.CQ.audio_tracks[N.rm]; - ra = N.rm; - N.rm = void 0; - x.FQa(N, va, ra); - null === (na = N.bV) || void 0 === na ? void 0 : na.call(N); - N.bV = void 0; + P.zR = function () { + var ea, + pa, + va; + P.i8.nR("audioTrackSwitchComplete", {}); + m.assert(void 0 !== P.qm); + pa = P.DQ.audio_tracks[P.qm]; + va = P.qm; + P.qm = void 0; + x.DQa(P, pa, va); + null === (ea = P.aV) || void 0 === ea ? void 0 : ea.call(P); + P.aV = void 0; }; - m.assert(2 >= G.length, "Ase session shim suports a maximum of 1 parallel graph."); - D = c.__read(G, 2); - E = D[0]; - D = D[1]; - N.Yh = new f.zh(); - N.da = E.Fa.Ca[J[0].va].da; - N.Ok = new h.nq(g.ja.Ig); - N.Mz = new u.RD(N.console); - N.qa = E; - N.Dg = D; - G.forEach(function (na) { - var va, - ra; - va = na.aF(N.Mz); - ra = na.$E(); - na.bsa(ra, va); - }); - N.g3a(); - N.e4b = !1; - N.aQa = !1; - x.bYa(N.console, F, N, E, D); - da = B++; - N.m8 = new t.qA({ - jt: N, + m.assert(2 >= D.length, "Ase session shim suports a maximum of 1 parallel graph."); + G = c.__read(D, 2); + C = G[0]; + G = G[1]; + P.Yh = new f.xh(); + P.$ = C.Ba.wa[J[0].va].$; + P.Ok = new h.pq(g.ka.Gg); + P.Pz = new t.UD(P.console); + P.qa = C; + P.Cg = G; + D.forEach(function (ea) { + var pa, + va; + pa = ea.dF(P.Pz); + va = ea.cF(); + ea.Ura(va, pa); + }); + P.g3a(); + P.h4b = !1; + P.ZPa = !1; + x.$Xa(P.console, E, P, C, G); + R = z++; + P.i8 = new u.sA({ + pt: P, source: "ShimSession", - console: N.console, - hC: 50, - yea: function () { + console: P.console, + jC: 50, + sea: function () { return { - shimId: da + shimId: R }; } }); - N.qa.ai(new w.pA(N.m8)); - N.v6a = void 0 !== (null === (Q = null === (K = (R = N.T).tT) || void 0 === K ? void 0 : K.call(R)) || void 0 === Q ? void 0 : Q.la); - N.kd = y.KMa(L); - F = N.WOa({ - Fd: N.YXa(N.qa.Fa.Fd), - uT: N.i3.bind(N) + P.qa.ai(new w.rA(P.i8)); + P.y6a = void 0 !== (null === (M = null === (N = (O = P.T).rT) || void 0 === N ? void 0 : N.call(O)) || void 0 === M ? void 0 : M.la); + P.md = y.KMa(Q); + E = P.VOa({ + Ed: P.WXa(P.qa.Ba.Ed), + sT: P.j3.bind(P) }); - N.Ha = F; - N.Dg && (N.Kj = N.WOa({ - Fd: N.YXa(N.Dg.Fa.Fd), - uT: N.i3.bind(N) + P.Ha = E; + P.Cg && (P.Jj = P.VOa({ + Ed: P.WXa(P.Cg.Ba.Ed), + sT: P.j3.bind(P) })); - N.Ha.events.on("segmentPresenting", function () { - N.Vr = N.eJa(); + P.Ha.events.on("segmentPresenting", function () { + P.Zr = P.cJa(); }); - N.on("streamerend", function () { - return N.bUb(); + P.on("streamerend", function () { + return P.dUb(); }); - return N; + return P; } - c.__extends(C, A); - Object.defineProperties(C.prototype, { + c.__extends(B, A); + Object.defineProperties(B.prototype, { K: { get: function () { - return this.da; + return this.$; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(C.prototype, { - ba: { + Object.defineProperties(B.prototype, { + ca: { get: function () { - return this.Vu.ba; + return this.$u.ca; }, enumerable: !1, configurable: !0 } }); - Object.defineProperties(C.prototype, { + Object.defineProperties(B.prototype, { mediaSourceId: { get: function () { return 0; @@ -111248,8 +111224,8 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(C.prototype, { - Ag: { + Object.defineProperties(B.prototype, { + zg: { get: function () { return this.Yh; }, @@ -111257,14 +111233,14 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(C.prototype, { - me: { + Object.defineProperties(B.prototype, { + pe: { get: function () { return { - VDb: { + z5b: { 1: { Y: { - Aa: Infinity + Ca: Infinity } } } @@ -111274,7 +111250,7 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(C.prototype, { + Object.defineProperties(B.prototype, { addEventListener: { get: function () { return this.addListener.bind(this); @@ -111283,7 +111259,7 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(C.prototype, { + Object.defineProperties(B.prototype, { removeEventListener: { get: function () { return this.removeListener.bind(this); @@ -111292,92 +111268,92 @@ a000.D9b = function () { configurable: !0 } }); - Object.defineProperties(C.prototype, { - pH: { + Object.defineProperties(B.prototype, { + xH: { get: function () { - return void 0 !== this.rm; + return void 0 !== this.qm; }, enumerable: !1, configurable: !0 } }); - C.prototype.GGb = function () { - var E, - F, - D, + B.prototype.IGb = function () { + var C, + E, G, - I; - E = this; - I = null === (G = null === (D = (F = this.T).tT) || void 0 === D ? void 0 : D.call(F)) || void 0 === G ? void 0 : G.la; - m.assert(I, "video element is not defined"); - I.addEventListener("play", function () { - return E.ZKa(); + D, + F; + C = this; + F = null === (D = null === (G = (E = this.T).rT) || void 0 === G ? void 0 : G.call(E)) || void 0 === D ? void 0 : D.la; + m.assert(F, "video element is not defined"); + F.addEventListener("play", function () { + return C.XKa(); }); - I.addEventListener("pause", function () { - return E.Nk(); + F.addEventListener("pause", function () { + return C.Nk(); }); }; - C.prototype.bUb = function () { - this.Wn.Xo(!0, this.Vu.sessionId); + B.prototype.dUb = function () { + this.Yn.Yo(!0, this.$u.sessionId); }; - C.prototype.RN = function (E, F) { - var D; - this.qa.ti((D = {}, D[E] = F, D)); + B.prototype.SN = function (C, E) { + var G; + this.qa.ti((G = {}, G[C] = E, G)); }; - C.prototype.open = function () { - var E, - F, - D, - G; - E = this; - if (!this.vq) { - this.vq = !0; - this.Wn.Xo(this.config.Aq, this.Vu.sessionId); - G = new z(function (I) { - setTimeout(I, 0); + B.prototype.open = function () { + var C, + E, + G, + D; + C = this; + if (!this.xq) { + this.xq = !0; + this.Yn.Yo(this.config.Bq, this.$u.sessionId); + D = new Promise(function (F) { + setTimeout(F, 0); }).then(function () { - E.emit("openComplete", { + C.emit("openComplete", { type: "openComplete" }); }); this.qa.open(); - null === (F = this.Dg) || void 0 === F ? void 0 : F.open(); - this.qa.MG(this.DW[0]); + null === (E = this.Cg) || void 0 === E ? void 0 : E.open(); + this.qa.UG(this.BW[0]); m.assert(this.Ha, "asePlayer should be defined on session.open"); - this.DW[1] && (F = this.qa.GB(this.DW[0]), m.assert(F, "ShimSession.open(): Graph position did not map a valid content timestamp"), null === (D = this.Dg) || void 0 === D ? void 0 : D.MG(this.DW[1], F.kB)); - x.$Xa(this.Wn, this, this.Ha, this.console); - this.Ok.set(g.ja.Sc); - G.then(function () { - E.Zp(E.Se); + this.BW[1] && (E = this.qa.JB(this.BW[0]), m.assert(E, "ShimSession.open(): Graph position did not map a valid content timestamp"), null === (G = this.Cg) || void 0 === G ? void 0 : G.UG(this.BW[1], E.aF)); + x.YXa(this.Yn, this, this.Ha, this.console); + this.Ok.set(g.ka.Sc); + D.then(function () { + C.$p(C.Te); }); - this.qa.Vea(this.Ha); - this.Dg && (m.assert(this.Kj, "parallelPlayer should be defined on session.open"), this.Dg.Vea(this.Kj)); - this.v6a && this.GGb(); - } - }; - C.prototype.i3 = function () { - this.Oi || (this.Oi = new v.default.MediaSource(this.kd), this.Oi.Ub || (this.Oi.Ub = v.default.MediaSource.Ub)); - return this.Oi; - }; - C.prototype.WOa = function (E) { - void 0 === E && (E = {}); - E = c.__assign({ - jC: this.config.jC, - Epa: this.config.Epa - }, E); - return this.Wn.Ma.yLa(this.kd, E); - }; - C.prototype.YXa = function (E) { - return E ? null === E || void 0 === E ? void 0 : E.map(function (F) { - return "video" === F ? 1 : 0; + this.qa.Oea(this.Ha); + this.Cg && (m.assert(this.Jj, "parallelPlayer should be defined on session.open"), this.Cg.Oea(this.Jj)); + this.y6a && this.IGb(); + } + }; + B.prototype.j3 = function () { + this.Mi || (this.Mi = new v.default.MediaSource(this.md), this.Mi.Wb || (this.Mi.Wb = v.default.MediaSource.Wb)); + return this.Mi; + }; + B.prototype.VOa = function (C) { + void 0 === C && (C = {}); + C = c.__assign({ + lC: this.config.lC, + zpa: this.config.zpa + }, C); + return this.Yn.Pa.wLa(this.md, C); + }; + B.prototype.WXa = function (C) { + return C ? null === C || void 0 === C ? void 0 : C.map(function (E) { + return "video" === E ? 1 : 0; }) : [0, 1]; }; - C.prototype.close = function () { - this.vq && (this.vq = !1); - this.Wn.Xo(!0, this.Vu.sessionId, !0); + B.prototype.close = function () { + this.xq && (this.xq = !1); + this.Yn.Yo(!0, this.$u.sessionId, !0); }; - Object.defineProperties(C.prototype, { - IE: { + Object.defineProperties(B.prototype, { + KE: { get: function () { return "1.5"; }, @@ -111385,480 +111361,480 @@ a000.D9b = function () { configurable: !0 } }); - C.prototype.flush = function () { - var E; - this.vq && this.Ok.value !== g.ja.zi && this.Ok.value !== g.ja.pq && this.stop(); - this.qa.t8("endplay", p.ae.ip); - this.qa.zf(); - null === (E = this.Dg) || void 0 === E ? void 0 : E.zf(); - this.Wn.mh.save(); - this.Wn.Om.save(); - }; - C.prototype.paused = function () { - this.v6a || this.Nk(); - }; - C.prototype.Nk = function () { - this.Ok.value === g.ja.yc && (this.Ok.set(g.ja.Wh), this.kd.emit("paused", { + B.prototype.flush = function () { + var C; + this.xq && this.Ok.value !== g.ka.zi && this.Ok.value !== g.ka.rq && this.stop(); + this.qa.p8("endplay", p.Zd.jp); + this.qa.Bf(); + null === (C = this.Cg) || void 0 === C ? void 0 : C.Bf(); + this.Yn.jh.save(); + this.Yn.Nm.save(); + }; + B.prototype.paused = function () { + this.y6a || this.Nk(); + }; + B.prototype.Nk = function () { + this.Ok.value === g.ka.Ac && (this.Ok.set(g.ka.Wh), this.md.emit("paused", { type: "paused", - od: this.kd.qc + pd: this.md.vc })); }; - C.prototype.ZKa = function () { - this.Ok.value === g.ja.Wh && (this.Ok.set(g.ja.yc), this.kd.emit("playing", { + B.prototype.XKa = function () { + this.Ok.value === g.ka.Wh && (this.Ok.set(g.ka.Ac), this.md.emit("playing", { type: "playing", - od: this.kd.qc + pd: this.md.vc })); }; - C.prototype.Ic = function () { - var E, - F; - this.vq && this.Ok.value !== g.ja.zi && this.Ok.value !== g.ja.pq && this.stop(); - this.Wn.JPb(this); - this.vq && this.close(); - this.Pw && (clearInterval(this.Pw), this.Pw = void 0); - null === (E = this.$P) || void 0 === E ? void 0 : E.clear(); - this.Ha && this.Wn.Ma.QM(this.Ha); - this.Kj && this.Wn.Ma.QM(this.Kj); - null === (F = this.Oi) || void 0 === F ? void 0 : F.gp(); - }; - C.prototype.suspend = function () {}; - C.prototype.resume = function () {}; - C.prototype.play = function () { - var E; - E = this; - this.qa.state !== d.hn.CLOSED && (m.assert(this.Ha, "ShimSession.play(), expected asePlayer to exist."), this.Ha.resume(this.QZ ? [1] : void 0), this.Dg && (m.assert(this.Kj, "ShimSession.play(), expected parallelPlayer to exist."), this.Kj.resume(this.QZ ? [1] : void 0)), this.Ok.set(g.ja.yc), this.kd.emit("playing", { + B.prototype.Kc = function () { + var C, + E; + this.xq && this.Ok.value !== g.ka.zi && this.Ok.value !== g.ka.rq && this.stop(); + this.Yn.OPb(this); + this.xq && this.close(); + this.Uw && (clearInterval(this.Uw), this.Uw = void 0); + null === (C = this.$P) || void 0 === C ? void 0 : C.clear(); + this.Ha && this.Yn.Pa.QM(this.Ha); + this.Jj && this.Yn.Pa.QM(this.Jj); + null === (E = this.Mi) || void 0 === E ? void 0 : E.hp(); + }; + B.prototype.suspend = function () {}; + B.prototype.resume = function () {}; + B.prototype.play = function () { + var C; + C = this; + this.qa.state !== d.Gk.CLOSED && (m.assert(this.Ha, "ShimSession.play(), expected asePlayer to exist."), this.Ha.resume(this.SZ ? [1] : void 0), this.Cg && (m.assert(this.Jj, "ShimSession.play(), expected parallelPlayer to exist."), this.Jj.resume(this.SZ ? [1] : void 0)), this.Ok.set(g.ka.Ac), this.md.emit("playing", { type: "playing", - od: this.kd.qc - }), this.emit("play"), this.Pw || (this.Pw = setInterval(function () { - return E.QJb(); - }, this.config.UJ))); + pd: this.md.vc + }), this.emit("play"), this.Uw || (this.Uw = setInterval(function () { + return C.SJb(); + }, this.config.YJ))); }; - C.prototype.stop = function () { - this.Ok.set(g.ja.pq); + B.prototype.stop = function () { + this.Ok.set(g.ka.rq); m.assert(this.Ha, "ShimSession.stop(), expected asePlayer to exist."); this.Ha.pause(); - this.Dg && (m.assert(this.Kj, "ShimSession.stop(), expected parallelPlayer to exist."), this.Kj.pause()); - this.kd.emit("paused", { + this.Cg && (m.assert(this.Jj, "ShimSession.stop(), expected parallelPlayer to exist."), this.Jj.pause()); + this.md.emit("paused", { type: "paused", - od: this.kd.qc + pd: this.md.vc }); this.emit("stop"); }; - C.prototype.Yx = function (E) { - var F, - D, - G; - void 0 === F && (F = !0); - this.Ha ? (E = parseInt(E), k.isFinite(E) && (F ? (this.Ha.qW(E), null === (D = this.Kj) || void 0 === D ? void 0 : D.qW(E)) : (this.Ha.Ura(E), null === (G = this.Kj) || void 0 === G ? void 0 : G.Ura(E)))) : this.fail("Must call open prior to drmReady"); + B.prototype.cy = function (C) { + var E, + G, + D; + void 0 === E && (E = !0); + this.Ha ? (C = parseInt(C), k.isFinite(C) && (E ? (this.Ha.pW(C), null === (G = this.Jj) || void 0 === G ? void 0 : G.pW(C)) : (this.Ha.Nra(C), null === (D = this.Jj) || void 0 === D ? void 0 : D.Nra(C)))) : this.fail("Must call open prior to drmReady"); }; - C.prototype.E3 = function () { - var E; - if (!this.Ha || !this.Ha.Nn) + B.prototype.F3 = function () { + var C; + if (!this.Ha || !this.Ha.Pn) return !1; - E = this.Ha.Qn(this.qa.Fa.Ca[this.Ha.di.va].da); - return E && this.Dg && this.Kj ? this.Kj.Qn(this.Dg.Fa.Ca[this.Kj.di.va].da) : E; + C = this.Ha.Sn(this.qa.Ba.wa[this.Ha.di.va].$); + return C && this.Cg && this.Jj ? this.Jj.Sn(this.Cg.Ba.wa[this.Jj.di.va].$) : C; }; - C.prototype.zr = function () { - this.Ok.set(g.ja.ef); - this.kd.emit("underflow", { + B.prototype.Cr = function () { + this.Ok.set(g.ka.ef); + this.md.emit("underflow", { type: "underflow", - od: this.kd.qc + pd: this.md.vc }); - this.Zp(this.Se); + this.$p(this.Te); }; - C.prototype.d3 = function (E) { - var F; - F = p.ae.JC; - switch (E) { + B.prototype.f3 = function (C) { + var E; + E = p.Zd.Tt; + switch (C) { case "intrplay": - F = p.ae.zr; + E = p.Zd.Cr; break; case "endplay": - F = p.ae.ip; + E = p.Zd.jp; } - E = this.qa.d3(F); - return c.__assign(c.__assign({}, E), { - aseApiVersion: this.IE + C = this.qa.f3(E); + return c.__assign(c.__assign({}, C), { + aseApiVersion: this.KE }); }; - C.prototype.ypa = function () { - this.kd.emit("playbackRateChanged", { + B.prototype.tpa = function () { + this.md.emit("playbackRateChanged", { type: "playbackRateChanged", - od: this.kd.qc + pd: this.md.vc }); }; - C.prototype.dn = function () { - var E; - E = this.kd.xe(); - E = { + B.prototype.cn = function () { + var C; + C = this.md.ye(); + C = { type: "skipped", - pts: n.S.rb(E) + pts: n.S.rb(C) }; - this.kd.emit(E.type, E); - return new r.OD(z.resolve()).jra; + this.md.emit(C.type, C); + return new q.RD(Promise.resolve()).cra; }; - C.prototype.Kfa = function (E, F) { - var D; - F = this.pka(F || 0, E); - return null === (D = this.qa.Fm(F, E)) || void 0 === D ? void 0 : D.Jc; + B.prototype.Dfa = function (C, E) { + var G; + E = this.lka(E || 0, C); + return null === (G = this.qa.Dm(E, C)) || void 0 === G ? void 0 : G.Lc; }; - C.prototype.us = function (E, F) { - var D; - D = new n.S(F, 1E3); - return (D = this.qa.dr(D, { - L3a: !0, - K3a: !0 - })) ? this.qa.Fa.Ca[D.va].xc + Number(D.offset.V.toFixed(0)) : this.fail("convertPlayerPtsToContentPts failed to convert manifestIndex " + E + ", playerPts: " + F); - }; - C.prototype.dK = function (E, F) { - E = this.pka(E || 0, F); - E = { - va: E, - offset: new n.S(F - this.qa.Fa.Ca[E].xc, 1E3) + B.prototype.ys = function (C, E) { + var G; + G = new n.S(E, 1E3); + return (G = this.qa.er(G, { + M3a: !0, + L3a: !0 + })) ? this.qa.Ba.wa[G.va].jc + Number(G.offset.V.toFixed(0)) : this.fail("convertPlayerPtsToContentPts failed to convert manifestIndex " + C + ", playerPts: " + E); + }; + B.prototype.hK = function (C, E) { + C = this.lka(C || 0, E); + C = { + va: C, + offset: new n.S(E - this.qa.Ba.wa[C].jc, 1E3) }; - return (E = this.qa.FT(E)) ? E.V : F; + return (C = this.qa.DT(C)) ? C.V : E; }; - C.prototype.h4 = function () { - var E, - F, - D; - F = {}; - D = null === (E = this.qa) || void 0 === E ? void 0 : E.TK(); - E = this.Dg ? this.Dg.TK() : D; - D && (F.vbuflmsec = D.totalvbuflmsecs, F.vbuflbytes = D.vbuflbytes); - E && (F.abuflmsec = E.totalabuflmsecs, F.abuflbytes = E.abuflbytes); - return F; + B.prototype.i4 = function () { + var C, + E, + G; + E = {}; + G = null === (C = this.qa) || void 0 === C ? void 0 : C.XK(); + C = this.Cg ? this.Cg.XK() : G; + G && (E.vbuflmsec = G.totalvbuflmsecs, E.vbuflbytes = G.vbuflbytes); + C && (E.abuflmsec = C.totalabuflmsecs, E.abuflbytes = C.abuflbytes); + return E; }; - C.prototype.iT = function () { + B.prototype.gT = function () { return { - Ke: 0 + Me: 0 }; }; - C.prototype.vp = function () { - var E, - F; - return null !== (E = this.Vr) && void 0 !== E ? E : (null === (F = this.Ha) || void 0 === F ? 0 : F.G3()) ? this.eJa() : { - id: this.DW[0].va, - Ke: 0, - Jc: 0, - pc: Infinity, - Pd: Infinity, + B.prototype.xp = function () { + var C, + E; + return null !== (C = this.Zr) && void 0 !== C ? C : (null === (E = this.Ha) || void 0 === E ? 0 : E.H3()) ? this.cJa() : { + id: this.BW[0].va, + Me: 0, + Lc: 0, + uc: Infinity, + Nd: Infinity, Zc: 0 }; }; - C.prototype.eJa = function () { - var E, - F, - D, + B.prototype.cJa = function () { + var C, + E, G, - I, + D, + F, J, + K, H, - M, - O; + L; m.assert(this.Ha, "attempted to get presenting branch information with no player"); - m.assert(this.Ha.G3(), "attempted to get presenting branch information but player has no branches"); - J = this.Ha.vp() || ({}); - H = J.P; - M = J.yj; - O = J.yV; - J = J.AM; + m.assert(this.Ha.H3(), "attempted to get presenting branch information but player has no branches"); + J = this.Ha.xp() || ({}); + K = J.P; + H = J.vj; + L = J.xV; + J = J.CM; return { - id: H.id, - Ke: null !== (E = null === M || void 0 === M ? void 0 : M.V) && void 0 !== E ? E : 0, - Jc: null !== (F = null === H || void 0 === H ? void 0 : H.uh.V) && void 0 !== F ? F : 0, - pc: null !== (D = null === H || void 0 === H ? void 0 : H.Ll.V) && void 0 !== D ? D : Infinity, - Pd: null !== (G = null === O || void 0 === O ? void 0 : O.V) && void 0 !== G ? G : Infinity, - Zc: null !== (I = null === J || void 0 === J ? void 0 : J.V) && void 0 !== I ? I : 0 + id: K.id, + Me: null !== (C = null === H || void 0 === H ? void 0 : H.V) && void 0 !== C ? C : 0, + Lc: null !== (E = null === K || void 0 === K ? void 0 : K.th.V) && void 0 !== E ? E : 0, + uc: null !== (G = null === K || void 0 === K ? void 0 : K.Kl.V) && void 0 !== G ? G : Infinity, + Nd: null !== (D = null === L || void 0 === L ? void 0 : L.V) && void 0 !== D ? D : Infinity, + Zc: null !== (F = null === J || void 0 === J ? void 0 : J.V) && void 0 !== F ? F : 0 }; }; - C.prototype.E1a = function () { - this.$F("removeSession"); + B.prototype.E1a = function () { + this.fG("removeSession"); }; - C.prototype.nr = function (E, F) { - void 0 === F && (F = 0); - m.assert(!this.Dg, "Seeking with dual playgraphs not supported."); - F = this.pka(F, E); - this.Wn.Xo(this.config.Aq, this.Vu.sessionId); - E = { - va: F, - offset: n.S.rb(E - this.qa.Fa.Ca[F].xc) + B.prototype.pr = function (C, E) { + void 0 === E && (E = 0); + m.assert(!this.Cg, "Seeking with dual playgraphs not supported."); + E = this.lka(E, C); + this.Yn.Yo(this.config.Bq, this.$u.sessionId); + C = { + va: E, + offset: n.S.rb(C - this.qa.Ba.wa[E].jc) }; - this.Vr = void 0; - this.qa.MG(E); + this.Zr = void 0; + this.qa.UG(C); m.assert(this.Ha); this.Ha.resume(); - this.Ok.set(g.ja.Sc); - this.Zp(this.Se); - E = this.qa.sra(E); - m.assert(E, "Valid position must be provided for seek"); - return E.offset.V; + this.Ok.set(g.ka.Sc); + this.$p(this.Te); + C = this.qa.mra(C); + m.assert(C, "Valid position must be provided for seek"); + return C.offset.V; }; - C.prototype.seek = function (E, F) { - E = this.us(F, E); - return this.nr(E, F); + B.prototype.seek = function (C, E) { + C = this.ys(E, C); + return this.pr(C, E); }; - C.prototype.ns = function (E, F, D) { - var G, - I; - G = this.vp().id; - I = this.qa.NTa(G, E); - if (F) { - if (!I.y6a) - return (this.console.warn("chooseNextSegment, seamless transition, invalid destination: " + (E + " for current segment: " + G)), !1); - if (void 0 !== I.eM) - return (this.qa.Ak(G, E, !1, F), I.eM === E); - this.qa.Ak(G, E, !1, F); + B.prototype.rs = function (C, E, G) { + var D, + F; + D = this.xp().id; + F = this.qa.OTa(D, C); + if (E) { + if (!F.B6a) + return (this.console.warn("chooseNextSegment, seamless transition, invalid destination: " + (C + " for current segment: " + D)), !1); + if (void 0 !== F.hM) + return (this.qa.Bk(D, C, !1, E), F.hM === C); + this.qa.Bk(D, C, !1, E); return !0; } - if (void 0 !== I.eM) - return (D || this.nr(I.Jc, 0), !1); - I.T0 ? (m.assert(this.Ha), this.Ha.reset(), this.qa.Ak(G, E, !1, F), this.Ha.resume(), this.Ok.set(g.ja.Sc), this.Zp(this.Se)) : D || this.nr(I.Jc, 0); - return !!I.T0; + if (void 0 !== F.hM) + return (G || this.pr(F.Lc, 0), !1); + F.V0 ? (m.assert(this.Ha), this.Ha.reset(), this.qa.Bk(D, C, !1, E), this.Ha.resume(), this.Ok.set(g.ka.Sc), this.$p(this.Te)) : G || this.pr(F.Lc, 0); + return !!F.V0; }; - C.prototype.FE = function () { - this.$F("addManifest"); + B.prototype.MJ = function () { + this.fG("addManifest"); }; - C.prototype.gR = function () { - return this.$F("activateManifest"); + B.prototype.iR = function () { + return this.fG("activateManifest"); }; - C.prototype.UZa = function () { - this.wIa(); + B.prototype.TZa = function () { + this.uIa(); }; - C.prototype.b8 = function (E) { - var F, - D, + B.prototype.X7 = function (C) { + var E, G, - I, + D, + F, J; - F = this.Dg ? this.Kj : this.Ha; - D = E.KE; - m.assert(!this.Dg, "ShimSesssion: Parallel graph does not support track switches."); - if (void 0 !== this.rm) + E = this.Cg ? this.Jj : this.Ha; + G = C.ME; + m.assert(!this.Cg, "ShimSesssion: Parallel graph does not support track switches."); + if (void 0 !== this.qm) return !1; - E = this.CQ.audio_tracks; - if (!E.some(function (H, M) { - if (H.track_id === D) - return (G = H, I = M, !0); + C = this.DQ.audio_tracks; + if (!C.some(function (K, H) { + if (K.track_id === G) + return (D = K, F = H, !0); }))return !1; - E = E[this.FJ[0]]; - this.rm = I; - J = null === F || void 0 === F ? void 0 : F.zz; - J ? this.wIa() : (this.QZ = !0, null === F || void 0 === F ? void 0 : F.pause([0]), this.emit("audioTrackSwitchStarted", { + C = C[this.HJ[0]]; + this.qm = F; + J = null === E || void 0 === E ? void 0 : E.Cz; + J ? this.uIa() : (this.SZ = !0, null === E || void 0 === E ? void 0 : E.pause([0]), this.emit("audioTrackSwitchStarted", { type: "audioTrackSwitchStarted", - oldLangCode: E.language, - oldNumChannels: E.channels, - newLangCode: G.language, - newNumChannels: G.channels, + oldLangCode: C.language, + oldNumChannels: C.channels, + newLangCode: D.language, + newNumChannels: D.channels, sourceBufferReset: J })); return !0; }; - C.prototype.Qp = function (E, F) { - this.Mz.Qp(E, F); + B.prototype.Tp = function (C, E) { + this.Pz.Tp(C, E); }; - C.prototype.bi = function (E) { - return this.Ha ? this.Ha.bi(n.S.rb(E)) : !1; + B.prototype.bi = function (C) { + return this.Ha ? this.Ha.bi(n.S.rb(C)) : !1; }; - C.prototype.l2 = function () { - this.$F("evaluateQoE"); + B.prototype.m2 = function () { + this.fG("evaluateQoE"); }; - C.prototype.Bsa = function () { - this.$F("stopBuffering"); + B.prototype.usa = function () { + this.fG("stopBuffering"); }; - C.prototype.aH = function () { - return this.$F("startBuffering"); + B.prototype.iH = function () { + return this.fG("startBuffering"); }; - C.prototype.sUa = function () { - return this.$F("getStreamingStatistics"); + B.prototype.sUa = function () { + return this.fG("getStreamingStatistics"); }; - C.prototype.fail = function (E) { + B.prototype.fail = function (C) { this.emit("error", { type: "error", error: "NFErr_MC_StreamingFailure", - errormsg: E, + errormsg: C, manifestIndex: 0 }); }; - C.prototype.pka = function (E, F) { - return 0 !== E ? this.fail("Unexpected manifestIndex: " + E + ", single viewable playback only supports manifestIndex: 0") : this.US(F); + B.prototype.lka = function (C, E) { + return 0 !== C ? this.fail("Unexpected manifestIndex: " + C + ", single viewable playback only supports manifestIndex: 0") : this.TS(E); }; - C.prototype.US = function (E) { - var F, - D, - I, + B.prototype.TS = function (C) { + var E, + G, + F, J, + K, H, - M, - O; - F = this.qa.Fa; - D = []; - m.assert(0 <= E, "contentPts must be 0 or greater for segmentId lookup"); - for (var G in F.Ca) { - I = F.Ca[G]; - J = I.xc; - I = I.Yc; - H = E < Number(null !== I && void 0 !== I ? I : Infinity); - if (J <= E && H) - D.push(G); - else if ((J = Math.min(Math.abs(E - J), Math.abs(E - I)), void 0 === M || J < M)) - (M = J, O = G); - } - m.assert(1 >= D.length, "Overlapped segments detected in branching, this is not supported"); - E = D[0] || O; - m.assert(void 0 !== E, "segmentId from contentPts lookup failed"); - return E; + L; + E = this.qa.Ba; + G = []; + m.assert(0 <= C, "contentPts must be 0 or greater for segmentId lookup"); + for (var D in E.wa) { + F = E.wa[D]; + J = F.jc; + F = F.Fc; + K = C < Number(null !== F && void 0 !== F ? F : Infinity); + if (J <= C && K) + G.push(D); + else if ((J = Math.min(Math.abs(C - J), Math.abs(C - F)), void 0 === H || J < H)) + (H = J, L = D); + } + m.assert(1 >= G.length, "Overlapped segments detected in branching, this is not supported"); + C = G[0] || L; + m.assert(void 0 !== C, "segmentId from contentPts lookup failed"); + return C; }; - C.prototype.QJb = function () { - var E, - F; - F = null === (E = this.qa) || void 0 === E ? void 0 : E.TK(); - E = this.Dg ? this.Dg.TK() : F; - F && E && this.emit("updateBufferLevel", { + B.prototype.SJb = function () { + var C, + E; + E = null === (C = this.qa) || void 0 === C ? void 0 : C.XK(); + C = this.Cg ? this.Cg.XK() : E; + E && C && this.emit("updateBufferLevel", { type: "updateBufferLevel", - abuflbytes: E.abuflbytes, - vbuflbytes: F.vbuflbytes, - totalabuflmsecs: E.totalabuflmsecs, - totalvbuflmsecs: F.totalvbuflmsecs, - currentBandwidth: F.currentBandwidth + abuflbytes: C.abuflbytes, + vbuflbytes: E.vbuflbytes, + totalabuflmsecs: C.totalabuflmsecs, + totalvbuflmsecs: E.totalvbuflmsecs, + currentBandwidth: E.currentBandwidth }); }; - C.prototype.$F = function (E) { - return this.fail("Method not implemented " + E); + B.prototype.fG = function (C) { + return this.fail("Method not implemented " + C); }; - C.prototype.wIa = function () { - m.assert(void 0 !== this.rm); - this.FJ[0] = this.rm; + B.prototype.uIa = function () { + m.assert(void 0 !== this.qm); + this.HJ[0] = this.qm; this.g3a(); - this.Zp(this.yR); + this.$p(this.zR); }; - C.prototype.g3a = function () { - var E; - E = this; - this.Dg ? (this.qa.Vv({ - pr: function () {} + B.prototype.g3a = function () { + var C; + C = this; + this.Cg ? (this.qa.$v({ + qr: function () {} }, { - pr: function () { - return E.FJ[1]; + qr: function () { + return C.HJ[1]; } - }), this.Dg.Vv({ - pr: function () { - return E.FJ[0]; + }), this.Cg.$v({ + qr: function () { + return C.HJ[0]; } }, { - pr: function () {} - })) : this.qa.Vv({ - pr: function () { - return E.FJ[0]; + qr: function () {} + })) : this.qa.$v({ + qr: function () { + return C.HJ[0]; } }, { - pr: function () { - return E.FJ[1]; + qr: function () { + return C.HJ[1]; } }); - this.QZ = !1; + this.SZ = !1; }; - C.prototype.KRb = function (E) { - this.hfb = E; + B.prototype.NRb = function (C) { + this.ifb = C; }; - C.prototype.eSb = function (E) { - this.jib = E; + B.prototype.hSb = function (C) { + this.kib = C; }; - C.prototype.Zp = function (E) { - var F, - D; - F = this; - E !== this.yR && void 0 !== this.rm ? this.bV = E : (null === (D = this.$P) || void 0 === D ? void 0 : D.clear(), this.$P = this.Dg ? h.nq.iua([this.qa.hf, this.Ha.fU, this.Dg.hf, this.Kj.fU], function (G) { - var I, + B.prototype.$p = function (C) { + var E, + G; + E = this; + C !== this.zR && void 0 !== this.qm ? this.aV = C : (null === (G = this.$P) || void 0 === G ? void 0 : G.clear(), this.$P = this.Cg ? h.pq.fua([this.qa.hf, this.Ha.eU, this.Cg.hf, this.Jj.eU], function (D) { + var F, J, + K, H, - M, - O; - G = c.__read(G, 4); - H = G[1]; - M = G[2]; - O = G[3]; - return G[0] === l.wc.Zj && (null === (I = F.Ha) || void 0 === I ? void 0 : I.Nn) && H.greaterThan(F.Ha.Cd) && M === l.wc.Zj && (null === (J = F.Kj) || void 0 === J ? void 0 : J.Nn) && O.greaterThan(F.Kj.Cd); - }, this.XOa(E)) : h.nq.iua([this.qa.hf, this.Ha.fU], function (G) { - var I, + L; + D = c.__read(D, 4); + K = D[1]; + H = D[2]; + L = D[3]; + return D[0] === l.yc.$j && (null === (F = E.Ha) || void 0 === F ? void 0 : F.Pn) && K.greaterThan(E.Ha.ud) && H === l.yc.$j && (null === (J = E.Jj) || void 0 === J ? void 0 : J.Pn) && L.greaterThan(E.Jj.ud); + }, this.WOa(C)) : h.pq.fua([this.qa.hf, this.Ha.eU], function (D) { + var F, J; - G = c.__read(G, 2); - J = G[1]; - return G[0] === l.wc.Zj && (null === (I = F.Ha) || void 0 === I ? void 0 : I.Nn) && J.greaterThan(F.Ha.Cd); - }, this.XOa(E))); + D = c.__read(D, 2); + J = D[1]; + return D[0] === l.yc.$j && (null === (F = E.Ha) || void 0 === F ? void 0 : F.Pn) && J.greaterThan(E.Ha.ud); + }, this.WOa(C))); }; - C.prototype.XOa = function (E) { - var F; - F = this; - return function (D) { - var G; - D && (null === (G = F.$P) || void 0 === G ? void 0 : G.clear(), F.$P = void 0, z.resolve().then(E)); + B.prototype.WOa = function (C) { + var E; + E = this; + return function (G) { + var D; + G && (null === (D = E.$P) || void 0 === D ? void 0 : D.clear(), E.$P = void 0, Promise.resolve().then(C)); }; }; - c.__decorate([t.Xb({ + c.__decorate([u.Sb({ methodName: "updateChoiceMapEntry", - cs: !0 - })], C.prototype, "RN", null); - c.__decorate([t.Xb({ + Cq: !0 + })], B.prototype, "SN", null); + c.__decorate([u.Sb({ methodName: "open" - })], C.prototype, "open", null); - c.__decorate([t.Xb({ + })], B.prototype, "open", null); + c.__decorate([u.Sb({ methodName: "close" - })], C.prototype, "close", null); - c.__decorate([t.Xb({ + })], B.prototype, "close", null); + c.__decorate([u.Sb({ methodName: "paused" - })], C.prototype, "Nk", null); - c.__decorate([t.Xb({ + })], B.prototype, "Nk", null); + c.__decorate([u.Sb({ methodName: "unpaused" - })], C.prototype, "ZKa", null); - c.__decorate([t.Xb({ + })], B.prototype, "XKa", null); + c.__decorate([u.Sb({ methodName: "cleanup" - })], C.prototype, "Ic", null); - c.__decorate([t.Xb({ + })], B.prototype, "Kc", null); + c.__decorate([u.Sb({ methodName: "suspend" - })], C.prototype, "suspend", null); - c.__decorate([t.Xb({ + })], B.prototype, "suspend", null); + c.__decorate([u.Sb({ methodName: "resume" - })], C.prototype, "resume", null); - c.__decorate([t.Xb({ + })], B.prototype, "resume", null); + c.__decorate([u.Sb({ methodName: "play" - })], C.prototype, "play", null); - c.__decorate([t.Xb({ + })], B.prototype, "play", null); + c.__decorate([u.Sb({ methodName: "stop" - })], C.prototype, "stop", null); - c.__decorate([t.Xb({ - cs: !0, + })], B.prototype, "stop", null); + c.__decorate([u.Sb({ + Cq: !0, methodName: "drmReady" - })], C.prototype, "Yx", null); - c.__decorate([t.Xb({ + })], B.prototype, "cy", null); + c.__decorate([u.Sb({ methodName: "underflow" - })], C.prototype, "zr", null); - c.__decorate([t.Xb({ + })], B.prototype, "Cr", null); + c.__decorate([u.Sb({ methodName: "getLogdataReport" - })], C.prototype, "d3", null); - c.__decorate([t.Xb({ + })], B.prototype, "f3", null); + c.__decorate([u.Sb({ methodName: "skipped" - })], C.prototype, "dn", null); - c.__decorate([t.Xb({ + })], B.prototype, "cn", null); + c.__decorate([u.Sb({ methodName: "seekByContentPts" - })], C.prototype, "nr", null); - c.__decorate([t.Xb({ + })], B.prototype, "pr", null); + c.__decorate([u.Sb({ methodName: "seek" - })], C.prototype, "seek", null); - c.__decorate([t.Xb({ + })], B.prototype, "seek", null); + c.__decorate([u.Sb({ methodName: "chooseNextSegment", - cs: !0 - })], C.prototype, "ns", null); - c.__decorate([t.Xb({ + Cq: !0 + })], B.prototype, "rs", null); + c.__decorate([u.Sb({ methodName: "onAudioTrackSwitchStarted" - })], C.prototype, "UZa", null); - c.__decorate([t.Xb({ + })], B.prototype, "TZa", null); + c.__decorate([u.Sb({ methodName: "switchTracks" - })], C.prototype, "b8", null); - return C; + })], B.prototype, "X7", null); + return B; })(f.EventEmitter); - b.lGa = q; - }, function (q, b, a) { + b.hGa = r; + }, function (r, b, a) { var k, l; function c(d, g, h) { @@ -111866,21 +111842,21 @@ a000.D9b = function () { n; m = Array.isArray(h) ? h[0] : h; n = Array.isArray(h) ? h[1] : h; - g.on(m, function (r) { - d.emit(n, k.__assign(k.__assign({}, r), { + g.on(m, function (q) { + d.emit(n, k.__assign(k.__assign({}, q), { type: n })); }); } function f(d, g, h, m) { var n, - r; + q; g.events.once(d, function (p) { - (n = p) && r && m(n, r); + (n = p) && q && m(n, q); }); h.events.once(d, function (p) { - r = p; - n && r && m(n, r); + q = p; + n && q && m(n, q); }); } Object.defineProperties(b, { @@ -111888,142 +111864,142 @@ a000.D9b = function () { value: !0 } }); - b.FQa = b.c2 = b.$Xa = b.bYa = void 0; + b.DQa = b.e2 = b.YXa = b.$Xa = void 0; k = a(2); l = a(19); - b.bYa = function (d, g, h, m, n) { + b.$Xa = function (d, g, h, m, n) { var p; - function r(u, t) { - c(h, u, t); + function q(t, u) { + c(h, t, u); } g = n ? [m, n] : [m]; - [["aseReport", "asereport"], ["aseReportEnabled", "asereportenabled"], "buffering", ["debug", "managerdebugevent"], "endOfStream", "lastSegmentPts", "locationSelected", "segmentAborted", "startEvent", ["transportReport", "transportreport"]].forEach(function (u) { - return r(m.events, u); + [["aseReport", "asereport"], ["aseReportEnabled", "asereportenabled"], "buffering", ["debug", "managerdebugevent"], "endOfStream", "lastSegmentPts", "locationSelected", "segmentAborted", "startEvent", ["transportReport", "transportreport"]].forEach(function (t) { + return q(m.events, t); }); - n ? (r(n.events, "initialAudioTrack"), f("streamerEnd", m, n, function (u) { - h.emit("streamerend", k.__assign(k.__assign({}, u), { + n ? (q(n.events, "initialAudioTrack"), f("streamerEnd", m, n, function (t) { + h.emit("streamerend", k.__assign(k.__assign({}, t), { type: "streamerend" })); - })) : (r(m.events, ["streamerEnd", "streamerend"]), r(m.events, "initialAudioTrack")); - m.events.on("logdata", function (u) { - h.emit("logdata", k.__assign(k.__assign({}, u), { - fields: k.__assign(k.__assign({}, u.fields), { - aseApiVersion: h.IE + })) : (q(m.events, ["streamerEnd", "streamerend"]), q(m.events, "initialAudioTrack")); + m.events.on("logdata", function (t) { + h.emit("logdata", k.__assign(k.__assign({}, t), { + fields: k.__assign(k.__assign({}, t.fields), { + aseApiVersion: h.KE }) })); }); p = !0; - m.events.on("bufferingStarted", function (u) { - h.pH && p ? p = !1 : (h.m8.lR("bufferingStarted", {}), h.emit("bufferingStarted", u)); + m.events.on("bufferingStarted", function (t) { + h.xH && p ? p = !1 : (h.i8.nR("bufferingStarted", {}), h.emit("bufferingStarted", t)); }); - m.events.on("bufferingComplete", function (u) { - h.pH ? p = !0 : h.KRb(u); + m.events.on("bufferingComplete", function (t) { + h.xH ? p = !0 : h.NRb(t); }); - null === n || void 0 === n ? void 0 : n.events.on("bufferingComplete", function (u) { - h.pH || h.eSb(u); + null === n || void 0 === n ? void 0 : n.events.on("bufferingComplete", function (t) { + h.xH || h.hSb(t); }); - m.events.on("error", function (u) { - u = k.__assign(k.__assign({}, u), { + m.events.on("error", function (t) { + t = k.__assign(k.__assign({}, t), { manifestIndex: 0 }); - h.emit("error", u); + h.emit("error", t); }); h.on("error", function () {}); - m.events.on("segmentComplete", function (u) { + m.events.on("segmentComplete", function (t) { h.emit("segmentComplete", { type: "segmentComplete", - mediaType: u.mediaType, + mediaType: t.mediaType, manifestIndex: 0, - segmentId: u.segmentId + segmentId: t.segmentId }); }); - m.events.on("segmentNormalized", function (u) { - var t; - t = Math.floor(u.viewableContentEnd.V); + m.events.on("segmentNormalized", function (t) { + var u; + u = Math.floor(t.viewableContentEnd.V); h.emit("maxPosition", { type: "maxPosition", index: 0, - endPts: t, - maxPts: t, - maxSeekPts: Math.floor(u.viewableEarliestContentEnd.V) + endPts: u, + maxPts: u, + maxSeekPts: Math.floor(t.viewableEarliestContentEnd.V) }); h.emit("manifestRange", { type: "manifestRange", index: 0, manifestOffset: 0, startPts: 0, - endPts: t, - maxPts: t + endPts: u, + maxPts: u }); }); - m.events.on("segmentStarting", function (u) { + m.events.on("segmentStarting", function (t) { h.emit("maxBitrates", { type: "maxBitrates", - audio: u.maxBitrates.audio, - video: u.maxBitrates.video + audio: t.maxBitrates.audio, + video: t.maxBitrates.video }); - h.emit("segmentStarting", u); + h.emit("segmentStarting", t); }); - g.forEach(function (u) { - u.events.on("serverSwitch", function (t) { + g.forEach(function (t) { + t.events.on("serverSwitch", function (u) { h.emit("serverSwitch", { type: "serverSwitch", - segmentId: t.segmentId, - mediatype: t.mediatype, - server: t.server, - reason: t.reason, - location: t.location, - bitrate: t.bitrate, - confidence: t.confidence, - throughput: t.throughput, - oldserver: t.oldserver + segmentId: u.segmentId, + mediatype: u.mediatype, + server: u.server, + reason: u.reason, + location: u.location, + bitrate: u.bitrate, + confidence: u.confidence, + throughput: u.throughput, + oldserver: u.oldserver }); }); - u.events.on("streamSelected", function (t) { + t.events.on("streamSelected", function (u) { var w; - w = u.GB(t.position); + w = t.JB(u.position); h.emit("streamSelected", { type: "streamSelected", - nativetime: t.nativetime, - mediaType: t.mediaType, - streamId: t.streamId, + nativetime: u.nativetime, + mediaType: u.mediaType, + streamId: u.streamId, manifestIndex: 0, - trackIndex: t.trackIndex, - streamIndex: t.streamIndex, - movieTime: w.kB.V, - bandwidth: t.bandwidth, - longtermBw: t.longtermBw, - rebuffer: t.rebuffer + trackIndex: u.trackIndex, + streamIndex: u.streamIndex, + movieTime: w.aF.V, + bandwidth: u.bandwidth, + longtermBw: u.longtermBw, + rebuffer: u.rebuffer }); }); - u.events.on("updateStreamingPts", function (t) { + t.events.on("updateStreamingPts", function (u) { var w; w = h.K; - l.ka && d.trace("converting updateStreamingPts, movieId:", w); + l.ia && d.trace("converting updateStreamingPts, movieId:", w); h.emit("updateStreamingPts", { type: "updateStreamingPts", - mediaType: t.mediaType, + mediaType: u.mediaType, manifestIndex: 0, - trackIndex: t.trackIndex, - segmentId: t.position.va, - movieTime: Math.floor(t.completePlayerStreamingTimestamp.V) + trackIndex: u.trackIndex, + segmentId: u.position.va, + movieTime: Math.floor(u.completePlayerStreamingTimestamp.V) }); }); }); }; - b.$Xa = function (d, g, h, m) { + b.YXa = function (d, g, h, m) { [["debug", "managerdebugevent"], "segmentAppended", "startEvent", "logdata"].forEach(function (n) { return c(g, h.events, n); }); h.events.on("streamPresenting", function (n) { - var r, + var q, p; - r = n.playerTimestamp.V; - p = g.qa.GB(n.position); + q = n.playerTimestamp.V; + p = g.qa.JB(n.position); void 0 === p ? m.warn("ShimSession cannot map streamPresenting: " + JSON.stringify(n)) : g.emit("streamPresenting", { type: "streamPresenting", - startPts: Math.floor(r), - contentStartPts: Math.floor(p.kB.V), + startPts: Math.floor(q), + contentStartPts: Math.floor(p.aF.V), mediaType: n.mediaType, manifestIndex: 0, trackIndex: n.trackIndex, @@ -112031,33 +112007,33 @@ a000.D9b = function () { }); }); h.events.on("segmentPresenting", function (n) { - var r, + var q, p, - u; - r = g.qa.GB(n.position); - p = n.playerTimestamp.Ba(r.kB); - u = n.position.va; - g.aQa || (g.emit("manifestPresenting", { + t; + q = g.qa.JB(n.position); + p = n.playerTimestamp.Da(q.aF); + t = n.position.va; + g.ZPa || (g.emit("manifestPresenting", { type: "manifestPresenting", index: 0, pts: n.playerTimestamp.V, - movieId: r.da.toString(), + movieId: q.$.toString(), replace: !1, contentOffset: p.V - }), g.aQa = !0); + }), g.ZPa = !0); g.emit("segmentPresenting", { type: "segmentPresenting", - segmentId: u, + segmentId: t, contentOffset: p.V, metrics: n.metrics }); }); h.events.on("ptsChanged", function (n) { g.emit("ptschanged", n.initialTimestamp.V); - g.kd.emit("skipped"); + g.md.emit("skipped"); }); }; - b.c2 = function (d, g, h, m, n, r) { + b.e2 = function (d, g, h, m, n, q) { var p; h = h.V; n = null !== n && void 0 !== n ? n : g; @@ -112065,7 +112041,7 @@ a000.D9b = function () { type: "logdata", target: "startplay", fields: { - hasasereport: !!r, + hasasereport: !!q, hashindsight: !1, buffCompleteReason: g.reason, actualbw: m, @@ -112086,14 +112062,14 @@ a000.D9b = function () { skipbackBufferSizeBytes: g.skipbackBufferSizeBytes }); }; - b.FQa = function (d, g, h) { + b.DQa = function (d, g, h) { d.emit("audioTrackSwitchComplete", { type: "audioTrackSwitchComplete", trackId: g.track_id, trackIndex: h }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; @@ -112103,83 +112079,83 @@ a000.D9b = function () { } }); b.KMa = void 0; - q = a(2); + r = a(2); c = a(16); - f = q.__importDefault(a(124)); + f = r.__importDefault(a(123)); k = a(9); b.KMa = function (l) { - if (l.Geb) + if (l.Heb) return l; f.default(c.EventEmitter.prototype, l); Object.defineProperties(l, { - Geb: { + Heb: { value: !0 }, - qc: { + vc: { get: function () { - return new k.S(this.xe(), 1E3); + return new k.S(this.ye(), 1E3); } }, playbackRate: { get: function () { - return Math.max("function" === typeof this.up ? this.up() : 1, .01); + return Math.max("function" === typeof this.vp ? this.vp() : 1, .01); } } }); return l; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperties(b, { __esModule: { value: !0 } }); - b.xpb = { - zv: ["minInitVideoBitrate", -Infinity], - Xna: ["minHCInitVideoBitrate", -Infinity], - Oy: ["maxInitVideoBitrate", Infinity], - KU: ["minInitAudioBitrate", -Infinity], - JU: ["minHCInitAudioBitrate", -Infinity], - wU: ["maxInitAudioBitrate", Infinity], + b.ypb = { + Fv: ["minInitVideoBitrate", -Infinity], + Sna: ["minHCInitVideoBitrate", -Infinity], + Ry: ["maxInitVideoBitrate", Infinity], + JU: ["minInitAudioBitrate", -Infinity], + IU: ["minHCInitAudioBitrate", -Infinity], + vU: ["maxInitAudioBitrate", Infinity], r5: ["minAcceptableVideoBitrate", -Infinity], - HU: ["minAcceptableVMAF", 0], - QIb: ["minAcceptableVMAFRebufferScalingFactor", 0], - Vna: ["minAllowedVideoBitrate", -Infinity], - LHb: ["maxAllowedVideoBitrate", Infinity], - bG: ["minAllowedVmaf", -Infinity], - fYa: ["maxAllowedVmaf", Infinity], - EN: ["streamFilteringRules", { + GU: ["minAcceptableVMAF", 0], + SIb: ["minAcceptableVMAFRebufferScalingFactor", 0], + Qna: ["minAllowedVideoBitrate", -Infinity], + OHb: ["maxAllowedVideoBitrate", Infinity], + hG: ["minAllowedVmaf", -Infinity], + dYa: ["maxAllowedVmaf", Infinity], + FN: ["streamFilteringRules", { enabled: !1, profiles: ["playready-h264mpl40-dash"], action: "keepLowest" } ], - f2: ["enableResolutionVMAFStreamFilter", !1], - opa: ["percentCapTitlesForResolutionVMAFStreamFilter", 100], - g7: ["resolutionVMAFCappingRuleList", []], - wVa: ["ignoreUserFilterOnEmptyResult", !0], - LU: ["minRequiredBuffer", 2E4], + g2: ["enableResolutionVMAFStreamFilter", !1], + jpa: ["percentCapTitlesForResolutionVMAFStreamFilter", 100], + d7: ["resolutionVMAFCappingRuleList", []], + uVa: ["ignoreUserFilterOnEmptyResult", !0], + KU: ["minRequiredBuffer", 2E4], x5: ["minRequiredAudioBuffer", 0], - Qi: ["minPrebufSize", 5800], - Wna: ["minCheckBufferingCompleteInterval", 200], - TQa: ["enableMoreFrequentBufferingCompleteCheck", !1], - aoa: ["minimumBufferingCompleteInterval", 1E4], - a7: ["requireDownloadDataAtBuffering", !1], - HVa: ["indicatorForDownloadDataAtBuffering", "oncomplete"], - b7: ["requireSetupConnectionDuringBuffering", !1], - wqa: ["rebufferingFactor", 1], + Ni: ["minPrebufSize", 5800], + Rna: ["minCheckBufferingCompleteInterval", 200], + SQa: ["enableMoreFrequentBufferingCompleteCheck", !1], + Wna: ["minimumBufferingCompleteInterval", 1E4], + Y6: ["requireDownloadDataAtBuffering", !1], + FVa: ["indicatorForDownloadDataAtBuffering", "oncomplete"], + Z6: ["requireSetupConnectionDuringBuffering", !1], + qqa: ["rebufferingFactor", 1], $q: ["maxBufferingTime", 2E3], - Uta: ["useMaxPrebufSize", !0], - gC: ["maxPrebufSize", 4E4], - Ena: ["maxRebufSize", Infinity], - vwb: ["fastRebufferRecoveryThreshold", Infinity], - uwb: ["fastRebufferRecoverBwThrehold", 3E3], - X3: ["initialBitrateSelectionCurve", null], - MVa: ["initSelectionLowerBound", -Infinity], - NVa: ["initSelectionUpperBound", Infinity], - e8: ["throughputPercentForAudio", 15], - ifa: ["bandwidthMargin", 0], - kfa: ["bandwidthMarginCurve", [{ + Qta: ["useMaxPrebufSize", !0], + iC: ["maxPrebufSize", 4E4], + zna: ["maxRebufSize", Infinity], + Bwb: ["fastRebufferRecoveryThreshold", Infinity], + Awb: ["fastRebufferRecoverBwThrehold", 3E3], + Y3: ["initialBitrateSelectionCurve", null], + KVa: ["initSelectionLowerBound", -Infinity], + LVa: ["initSelectionUpperBound", Infinity], + a8: ["throughputPercentForAudio", 15], + bfa: ["bandwidthMargin", 0], + dfa: ["bandwidthMarginCurve", [{ m: 20, b: 15E3 }, { @@ -112196,17 +112172,17 @@ a000.D9b = function () { smb: ["bandwidthMarginCurveAudio", { min: .7135376, max: .85, - Gx: 76376, + Lx: 76376, scale: 18862.4, gamma: 3.0569 } ], - jfa: ["bandwidthMarginContinuous", !1], + cfa: ["bandwidthMarginContinuous", !1], tmb: ["bandwidthMarginForAudio", !0], - Tsa: ["switchConfigBasedOnInSessionTput", !0], - Aga: ["conservBandwidthMargin", 20], - XR: ["conservBandwidthMarginTputThreshold", 6E3], - Bga: ["conservBandwidthMarginCurve", [{ + Osa: ["switchConfigBasedOnInSessionTput", !0], + uga: ["conservBandwidthMargin", 20], + YR: ["conservBandwidthMarginTputThreshold", 6E3], + vga: ["conservBandwidthMarginCurve", [{ m: 25, b: 15E3 }, { @@ -112223,23 +112199,23 @@ a000.D9b = function () { b: 24E4 } ]], - C4a: ["switchAlgoBasedOnHistIQR", !1], - OC: ["switchConfigBasedOnThroughputHistory", "iqr"], - Dna: ["maxPlayerStateToSwitchConfig", -1], - ena: ["lowEndMarkingCriteria", "iqr"], - C$: ["IQRThreshold", .5], - jla: ["histIQRCalcToUse", "simple"], - hs: ["bandwidthManifold", { + E4a: ["switchAlgoBasedOnHistIQR", !1], + PC: ["switchConfigBasedOnThroughputHistory", "iqr"], + yna: ["maxPlayerStateToSwitchConfig", -1], + Zma: ["lowEndMarkingCriteria", "iqr"], + u$: ["IQRThreshold", .5], + ela: ["histIQRCalcToUse", "simple"], + ls: ["bandwidthManifold", { curves: [{ min: .05, max: .82, - Gx: 7E4, + Lx: 7E4, scale: 178E3, gamma: 1.16 }, { min: 0, max: .03, - Gx: 15E4, + Lx: 15E4, scale: 16E4, gamma: 3.7 } @@ -112258,73 +112234,73 @@ a000.D9b = function () { simpleScaling: !0 } ], - $s: ["maxTotalBufferLevelPerSession", 0], - oVa: ["highWatermarkLevel", 3E4], - j5a: ["toStableThreshold", 3E4], - k8: ["toUnstableThreshold", 0], - nsa: ["skipBitrateInUpswitch", !1], - kua: ["watermarkLevelForSkipStart", 8E3], - dla: ["highStreamRetentionWindow", 9E4], - fna: ["lowStreamTransitionWindow", 51E4], - fla: ["highStreamRetentionWindowUp", 5E5], - hna: ["lowStreamTransitionWindowUp", 1E5], - ela: ["highStreamRetentionWindowDown", 6E5], - gna: ["lowStreamTransitionWindowDown", 0], - cla: ["highStreamInfeasibleBitrateFactor", .5], - Hy: ["lowestBufForUpswitch", 9E3], + ht: ["maxTotalBufferLevelPerSession", 0], + mVa: ["highWatermarkLevel", 3E4], + l5a: ["toStableThreshold", 3E4], + g8: ["toUnstableThreshold", 0], + hsa: ["skipBitrateInUpswitch", !1], + hua: ["watermarkLevelForSkipStart", 8E3], + Zka: ["highStreamRetentionWindow", 9E4], + $ma: ["lowStreamTransitionWindow", 51E4], + ala: ["highStreamRetentionWindowUp", 5E5], + bna: ["lowStreamTransitionWindowUp", 1E5], + $ka: ["highStreamRetentionWindowDown", 6E5], + ana: ["lowStreamTransitionWindowDown", 0], + Yka: ["highStreamInfeasibleBitrateFactor", .5], + Ky: ["lowestBufForUpswitch", 9E3], S4: ["lockPeriodAfterDownswitch", 15E3], - jna: ["lowWatermarkLevel", 15E3], - Iy: [["lowestWaterMarkLevel", "lowestWatermarkLevel"], 3E4], - kna: ["lowestWaterMarkLevelBufferRelaxed", !1], - Ona: ["mediaRate", 1.5], + dna: ["lowWatermarkLevel", 15E3], + Ly: [["lowestWaterMarkLevel", "lowestWatermarkLevel"], 3E4], + ena: ["lowestWaterMarkLevelBufferRelaxed", !1], + Jna: ["mediaRate", 1.5], f5: ["maxTrailingBufferLen", 15E3], - tR: ["audioBufferTargetAvailableSize", 262144], - oX: ["videoBufferTargetAvailableSize", 1048576], - xYa: ["maxVideoTrailingBufferSize", 8388608], - hYa: ["maxAudioTrailingBufferSize", 393216], - t2: ["fastUpswitchFactor", 3], - zRa: ["fastUpswitchFactorWithoutHeaders", 3], - Aia: ["fastDownswitchFactor", 3], - Py: ["maxMediaBufferAllowed", 27E4], - r6b: ["minMediaBufferLen", 1E4], - lsa: ["simulatePartialBlocks", !0], - D3a: ["simulateBufferFull", !0], - Cga: ["considerConnectTime", !0], - zga: ["connectTimeMultiplier", 1], - HXa: ["lowGradeModeEnterThreshold", 12E4], - IXa: ["lowGradeModeExitThreshold", 9E4], - lYa: ["maxDomainFailureWaitDuration", 3E4], - gYa: ["maxAttemptsOnFailure", 18], - pRa: ["exhaustAllLocationsForFailure", !0], - rYa: ["maxNetworkErrorsDuringBuffering", 20], + uR: ["audioBufferTargetAvailableSize", 262144], + nX: ["videoBufferTargetAvailableSize", 1048576], + uYa: ["maxVideoTrailingBufferSize", 8388608], + fYa: ["maxAudioTrailingBufferSize", 393216], + u2: ["fastUpswitchFactor", 3], + yRa: ["fastUpswitchFactorWithoutHeaders", 3], + sia: ["fastDownswitchFactor", 3], + Sy: ["maxMediaBufferAllowed", 27E4], + C6b: ["minMediaBufferLen", 1E4], + fsa: ["simulatePartialBlocks", !0], + E3a: ["simulateBufferFull", !0], + wga: ["considerConnectTime", !0], + tga: ["connectTimeMultiplier", 1], + FXa: ["lowGradeModeEnterThreshold", 12E4], + GXa: ["lowGradeModeExitThreshold", 9E4], + iYa: ["maxDomainFailureWaitDuration", 3E4], + eYa: ["maxAttemptsOnFailure", 18], + oRa: ["exhaustAllLocationsForFailure", !0], + oYa: ["maxNetworkErrorsDuringBuffering", 20], Z4: ["maxBufferingTimeAllowedWithNetworkError", 6E4], - KJ: ["alwaysRunUnderflowTimer", !0], - xRa: ["fastDomainSelectionBwThreshold", 2E3], - P4a: ["throughputProbingEnterThreshold", 4E4], - Q4a: ["throughputProbingExitThreshold", 34E3], - vXa: ["locationProbingTimeout", 1E4], - ERa: ["finalLocationSelectionBwThreshold", 1E4], - N4a: ["throughputHighConfidenceLevel", .75], - O4a: ["throughputLowConfidenceLevel", .4], - Tma: ["locationStatisticsUpdateInterval", 6E4], - XGb: ["locationSelectorPersistFailures", !0], - VQa: ["enablePerfBasedLocationSwitch", !1], - W5b: ["maxRateMaxFragmentGroups", 4500], - vpa: ["pipelineScheduleTimeoutMs", 2], - Qy: ["maxPartialBuffersAtBufferingStart", 2], - Yna: ["minPendingBufferLen", 3E3], - fC: ["maxPendingBufferLen", 6E3], - svb: ["enableNginxRateLimit", !1], + NJ: ["alwaysRunUnderflowTimer", !0], + wRa: ["fastDomainSelectionBwThreshold", 2E3], + R4a: ["throughputProbingEnterThreshold", 4E4], + S4a: ["throughputProbingExitThreshold", 34E3], + tXa: ["locationProbingTimeout", 1E4], + DRa: ["finalLocationSelectionBwThreshold", 1E4], + P4a: ["throughputHighConfidenceLevel", .75], + Q4a: ["throughputLowConfidenceLevel", .4], + Nma: ["locationStatisticsUpdateInterval", 6E4], + ZGb: ["locationSelectorPersistFailures", !0], + UQa: ["enablePerfBasedLocationSwitch", !1], + e6b: ["maxRateMaxFragmentGroups", 4500], + qpa: ["pipelineScheduleTimeoutMs", 2], + Ty: ["maxPartialBuffersAtBufferingStart", 2], + Tna: ["minPendingBufferLen", 3E3], + hC: ["maxPendingBufferLen", 6E3], + wvb: ["enableNginxRateLimit", !1], Q5: ["nginxSendingRate", 4E4], - wvb: ["enableRequestPacingToken", !1], - rIb: ["mediaRequestPacingSpeed", 2], - Ila: ["initialMediaRequestToken", 2E4], + Avb: ["enableRequestPacingToken", !1], + tIb: ["mediaRequestPacingSpeed", 2], + Dla: ["initialMediaRequestToken", 2E4], X4: ["maxActiveRequestsSABCell100", 2], d5: ["maxPendingBufferLenSABCell100", 500], - Y1a: ["resetActiveRequestsAtSessionInit", !0], - JQa: ["enableCprAudio", !1], - KQa: ["enableCprVideo", !1], - h1: ["clientPacingParams", { + X1a: ["resetActiveRequestsAtSessionInit", !0], + HQa: ["enableCprAudio", !1], + IQa: ["enableCprVideo", !1], + j1: ["clientPacingParams", { enableAdaptiveInitialThroughput: !1, minRequiredBuffer: 3E4, rateDiscountFactors: [2, 2, 3], @@ -112346,143 +112322,143 @@ a000.D9b = function () { } } ], - LTb: ["staticPacingRateKbps", 0], - HLb: ["paceRateSelectorAlgorithm", "default"], - UQa: ["enablePaceReportLogging", !1], - Fna: ["maxStreamingSkew", 2E3], - OHb: ["maxBufferOccupancyForSkewCheck", Infinity], - bXb: ["useBufferOccupancySkipBack", !0], - Bna: ["maxPendingBufferPercentage", 10], - SL: ["maxRequestsInBuffer", 120], - H3: ["headerRequestSize", 4096], - oia: ["estimateHeaderSize", !0], - d5b: ["headerCacheEstimateHeaderSize", !1], - hG: ["neverWipeHeaderCache", !1], - oXb: ["useSidxInfoFromManifestForHeaderRequestSize", !1], - yRa: ["fastPlayHeaderRequestSize", 0], - RL: ["maxRequestSize", 0], - ZL: ["minRequestSize", 65536], - IU: ["minBufferLenForHeaderDownloading", 1E4], - J3a: ["smartHeaderPreDownloading", !1], - dvb: ["enableAllHeadersPreDownloading", !1], - N6b: ["onlyAllowPtsUpdatePolling", !1], - WIb: ["minVideoBufferPoolSizeForSkipbackBuffer", 33554432], + NTb: ["staticPacingRateKbps", 0], + KLb: ["paceRateSelectorAlgorithm", "default"], + TQa: ["enablePaceReportLogging", !1], + Ana: ["maxStreamingSkew", 2E3], + RHb: ["maxBufferOccupancyForSkewCheck", Infinity], + dXb: ["useBufferOccupancySkipBack", !0], + wna: ["maxPendingBufferPercentage", 10], + UL: ["maxRequestsInBuffer", 120], + I3: ["headerRequestSize", 4096], + hia: ["estimateHeaderSize", !0], + k5b: ["headerCacheEstimateHeaderSize", !1], + nG: ["neverWipeHeaderCache", !1], + qXb: ["useSidxInfoFromManifestForHeaderRequestSize", !1], + xRa: ["fastPlayHeaderRequestSize", 0], + TL: ["maxRequestSize", 0], + aM: ["minRequestSize", 65536], + HU: ["minBufferLenForHeaderDownloading", 1E4], + K3a: ["smartHeaderPreDownloading", !1], + hvb: ["enableAllHeadersPreDownloading", !1], + Y6b: ["onlyAllowPtsUpdatePolling", !1], + YIb: ["minVideoBufferPoolSizeForSkipbackBuffer", 33554432], $M: ["reserveForSkipbackBufferMs", 15E3], - Aoa: ["numExtraFragmentsAllowed", 2], - Fp: ["pipelineEnabled", !0], - QL: ["maxParallelConnections", 3], - lXb: ["usePipelineForAudio", !1], - kXb: ["usePipelineDetectionForAudio", !1], - M3a: ["socketReceiveBufferSize", 0], - J0: ["audioSocketReceiveBufferSize", 32768], + voa: ["numExtraFragmentsAllowed", 2], + Hp: ["pipelineEnabled", !0], + SL: ["maxParallelConnections", 3], + nXb: ["usePipelineForAudio", !1], + mXb: ["usePipelineDetectionForAudio", !1], + N3a: ["socketReceiveBufferSize", 0], + L0: ["audioSocketReceiveBufferSize", 32768], WN: ["videoSocketReceiveBufferSize", 65536], - r6a: ["usePipelineDetectionForVideo", !1], - $Ib: ["minVideoSocketReceiveBufferSize", 65536], - ala: ["headersSocketReceiveBufferSize", 32768], - GSb: ["shareDownloadTracks", !0], - HSb: ["shareOpenRangeTracks", !1], - aub: ["disableHeaderDownloadTracks", !1], - $na: ["minTimeBetweenHeaderRequests", void 0], - B8: ["updatePtsIntervalMs", 1E3], - vfa: ["bufferTraceDenominator", 0], - UJ: ["bufferLevelNotifyIntervalMs", 2E3], - Ksa: ["streamingStatusIntervalMs", 2E3], - $y: ["prebufferTimeLimit", 6E4], + u6a: ["usePipelineDetectionForVideo", !1], + bJb: ["minVideoSocketReceiveBufferSize", 65536], + Wka: ["headersSocketReceiveBufferSize", 32768], + KSb: ["shareDownloadTracks", !0], + LSb: ["shareOpenRangeTracks", !1], + dub: ["disableHeaderDownloadTracks", !1], + Vna: ["minTimeBetweenHeaderRequests", void 0], + x8: ["updatePtsIntervalMs", 1E3], + ofa: ["bufferTraceDenominator", 0], + YJ: ["bufferLevelNotifyIntervalMs", 2E3], + Fsa: ["streamingStatusIntervalMs", 2E3], + cz: ["prebufferTimeLimit", 6E4], t5: ["minBufferLevelForTrackSwitch", 2E3], - uvb: ["enablePenaltyForLongConnectTime", !1], - mpa: ["penaltyFactorForLongConnectTime", 2], - cna: ["longConnectTimeThreshold", 200], - wea: ["additionalBufferingLongConnectTime", 2E3], - xea: ["additionalBufferingPerFailure", 8E3], - PV: ["rebufferCheckDuration", 6E4], - SQa: ["enableLookaheadHints", !1], - EXa: ["lookaheadFragments", 2], - ay: ["enableOCSideChannel", !0], - Wpa: ["probeRequestTimeoutMilliseconds", 3E4], - $6b: ["probeRequestConnectTimeoutMilliseconds", 8E3], - aZ: ["OCSCBufferQuantizationConfig", { + yvb: ["enablePenaltyForLongConnectTime", !1], + hpa: ["penaltyFactorForLongConnectTime", 2], + Xma: ["longConnectTimeThreshold", 200], + qea: ["additionalBufferingLongConnectTime", 2E3], + rea: ["additionalBufferingPerFailure", 8E3], + OV: ["rebufferCheckDuration", 6E4], + QQa: ["enableLookaheadHints", !1], + CXa: ["lookaheadFragments", 2], + fy: ["enableOCSideChannel", !0], + Qpa: ["probeRequestTimeoutMilliseconds", 3E4], + k7b: ["probeRequestConnectTimeoutMilliseconds", 8E3], + $Y: ["OCSCBufferQuantizationConfig", { lv: 5, mx: 240 } ], - xvb: ["enableSCByteRangeHints", !1], - T5a: ["updateDrmRequestOnNetworkFailure", !0], - kYa: ["maxDiffAudioVideoEndPtsMs", 1E3], - ttb: ["deferAseHeaderCache", !1], - QPa: ["deferAseScheduling", !1], - V4a: ["timeBeforeEndOfStreamBufferMark", 6E3], - zna: ["maxFastPlayBufferInMs", 2E4], - yna: ["maxFastPlayBitThreshold", 2E8], - iYa: ["maxBufferingCompleteBufferInMs", Infinity], - Zmb: ["bufferingCompleteOnMemoryLimit", !1], + Bvb: ["enableSCByteRangeHints", !1], + V5a: ["updateDrmRequestOnNetworkFailure", !0], + hYa: ["maxDiffAudioVideoEndPtsMs", 1E3], + wtb: ["deferAseHeaderCache", !1], + OPa: ["deferAseScheduling", !1], + X4a: ["timeBeforeEndOfStreamBufferMark", 6E3], + una: ["maxFastPlayBufferInMs", 2E4], + tna: ["maxFastPlayBitThreshold", 2E8], + sna: ["maxBufferingCompleteBufferInMs", Infinity], + $mb: ["bufferingCompleteOnMemoryLimit", !1], s5: ["minAudioMediaRequestSizeBytes", 0], z5: ["minVideoMediaRequestSizeBytes", 0], - NHb: ["maxAudioMediaRequestSizeBytes", Infinity], - cIb: ["maxVideoMediaRequestSizeBytes", Infinity], - UHb: ["maxMediaRequestSizeBytesInFraction", 1], - XL: ["minAudioMediaRequestDuration", 0], - aM: ["minVideoMediaRequestDuration", 0], + QHb: ["maxAudioMediaRequestSizeBytes", Infinity], + fIb: ["maxVideoMediaRequestSizeBytes", Infinity], + XHb: ["maxMediaRequestSizeBytesInFraction", 1], + ZL: ["minAudioMediaRequestDuration", 0], + cM: ["minVideoMediaRequestDuration", 0], v5: ["minMediaRequestDuration", 0], - MHb: ["maxAudioMediaRequestDuration", Infinity], - bIb: ["maxVideoMediaRequestDuration", Infinity], + PHb: ["maxAudioMediaRequestDuration", Infinity], + eIb: ["maxVideoMediaRequestDuration", Infinity], b5: ["maxMediaRequestDuration", Infinity], - Dea: ["allowFirstRequestAggregation", !1], - TIb: ["minAudioMediaRequestDurationCache", 0], - ZIb: ["minVideoMediaRequestDurationCache", 0], - rvb: ["enableMultiFragmentRequest", !1], - SN: [["useHeaderCache", "usehc"], !0], - D8: [["useHeaderCacheData", "usehcd"], !0], - N1: ["defaultHeaderCacheSize", 4], - MPa: ["defaultHeaderCacheDataCount", 4], - M1: ["defaultHeaderCacheDataPrefetchMs", 0], - Zka: ["headerCacheMaxPendingData", 6], - hVa: ["headerCachePriorityLimit", 5], + xea: ["allowFirstRequestAggregation", !1], + VIb: ["minAudioMediaRequestDurationCache", 0], + aJb: ["minVideoMediaRequestDurationCache", 0], + vvb: ["enableMultiFragmentRequest", !1], + q6a: [["useHeaderCache", "usehc"], !0], + Pta: [["useHeaderCacheData", "usehcd"], !0], + P1: ["defaultHeaderCacheSize", 4], + LPa: ["defaultHeaderCacheDataCount", 4], + O1: ["defaultHeaderCacheDataPrefetchMs", 0], + SCb: ["headerCacheMaxPendingData", 6], + l5b: ["headerCachePriorityLimit", 5], gVa: ["headerCacheAdoptBothAV", !1], - mXb: ["usePipelineForBranchedAudio", !0], - zob: ["childBranchBatchedAmount", 1E4], - jC: ["minimumTimeBeforeBranchDecision", 2E3], - bJb: ["minimumAppendedMediaBeforePlayback", 5E3], - KLb: ["parallelBranchesDuringBuffering", !1], - YHb: ["maxRequestsToAttachOnBranchActivation", void 0], - MU: ["minimumJustInTimeBufferLevel", 3E3], - mvb: ["enableJustInTimeAppends", !1], - OQa: ["enableDelayedSeamless", !1], - B3b: ["branchEndPtsIntervalMs", 250], - vDb: ["ignorePtsJustBeforeCurrentSegment", !1], - nYa: ["maxFragsForFittableOnBranching", 300], - dMb: ["pausePlaylistAtEnd", !0], + oXb: ["usePipelineForBranchedAudio", !0], + Aob: ["childBranchBatchedAmount", 1E4], + lC: ["minimumTimeBeforeBranchDecision", 2E3], + dJb: ["minimumAppendedMediaBeforePlayback", 5E3], + NLb: ["parallelBranchesDuringBuffering", !1], + aIb: ["maxRequestsToAttachOnBranchActivation", void 0], + LU: ["minimumJustInTimeBufferLevel", 3E3], + qvb: ["enableJustInTimeAppends", !1], + MQa: ["enableDelayedSeamless", !1], + E3b: ["branchEndPtsIntervalMs", 250], + zDb: ["ignorePtsJustBeforeCurrentSegment", !1], + kYa: ["maxFragsForFittableOnBranching", 300], + fMb: ["pausePlaylistAtEnd", !0], fkb: ["adaptiveParallelTimeoutMs", 1E3], - zK: ["enableAdaptiveParallelStreaming", !1], - ufa: ["bufferThresholdToSwitchToSingleConnMs", 45E3], - tfa: ["bufferThresholdToSwitchToParallelConnMs", 35E3], - avb: ["enableAPSForBranching", !1], - Q8: ["waitForPendingConnAdaptation", !1], - loa: ["networkFailureResetWaitMs", 2E3], - koa: ["networkFailureAbandonMs", 6E4], + DK: ["enableAdaptiveParallelStreaming", !1], + nfa: ["bufferThresholdToSwitchToSingleConnMs", 45E3], + mfa: ["bufferThresholdToSwitchToParallelConnMs", 35E3], + evb: ["enableAPSForBranching", !1], + L8: ["waitForPendingConnAdaptation", !1], + goa: ["networkFailureResetWaitMs", 2E3], + foa: ["networkFailureAbandonMs", 6E4], e5: ["maxThrottledNetworkFailures", 5], - d8: ["throttledNetworkFailureThresholdMs", 200], - ina: ["lowThroughputThreshold", 400], - tia: ["excludeSessionWithoutHistoryFromLowThroughputThreshold", !1], - bVb: ["timeAtEachBitrateRoundRobin", 1E4], - IQb: ["roundRobinDirection", "forward"], - lDb: ["httpsConnectErrorAsPerm", !1], - cZa: ["mp4ParsingInNative", !1], + Z7: ["throttledNetworkFailureThresholdMs", 200], + cna: ["lowThroughputThreshold", 400], + mia: ["excludeSessionWithoutHistoryFromLowThroughputThreshold", !1], + dVb: ["timeAtEachBitrateRoundRobin", 1E4], + NQb: ["roundRobinDirection", "forward"], + oDb: ["httpsConnectErrorAsPerm", !1], + $Ya: ["mp4ParsingInNative", !1], Gh: ["enableManagerDebugTraces", !1], - VXa: ["managerDebugMessageInterval", 1E3], - UXa: ["managerDebugMessageCount", 20], - GZa: ["notifyManifestCacheEom", !0], - $ha: ["enableUsingHeaderCount", !1], - O3a: ["sourceBufferInOrderAppend", !0], - mz: ["requireAudioStreamToEncompassVideo", !1], - OLa: ["allowAudioToStreamPastVideo", !1], - VOa: ["countGapInBuffer", !1], - PLa: ["allowCallToStreamSelector", !1], + TXa: ["managerDebugMessageInterval", 1E3], + SXa: ["managerDebugMessageCount", 20], + EZa: ["notifyManifestCacheEom", !0], + Gvb: ["enableUsingHeaderCount", !1], + P3a: ["sourceBufferInOrderAppend", !0], + pz: ["requireAudioStreamToEncompassVideo", !1], + NLa: ["allowAudioToStreamPastVideo", !1], + UOa: ["countGapInBuffer", !1], + OLa: ["allowCallToStreamSelector", !1], hNa: ["bufferThresholdForAbort", 2E4], - Gsa: ["ase_stream_selector", "optimized"], + Asa: ["ase_stream_selector", "optimized"], DMa: ["audiostreamSelectorAlgorithm", "selectaudioadaptive"], - Fla: ["initBitrateSelectorAlgorithm", "default"], - zfa: ["bufferingSelectorAlgorithm", "default"], - YTb: ["streamSelectionTrace", [{ + Ala: ["initBitrateSelectorAlgorithm", "default"], + sfa: ["bufferingSelectorAlgorithm", "default"], + $Tb: ["streamSelectionTrace", [{ f: 60, s: 5 }, { @@ -112496,74 +112472,74 @@ a000.D9b = function () { s: 0 } ]], - XQa: ["enableThroughputTraceResearchData", !1], - R4a: ["throughputTraceParam", { + WQa: ["enableThroughputTraceResearchData", !1], + T4a: ["throughputTraceParam", { numB: 3600, bSizeMs: 2E3, fillS: "last", fillHl: 1E3 } ], - Rv: ["researchEnvironmentEnabled", !1], - zvb: ["enableStreamSelectionAugmentData", !1], + Wv: ["researchEnvironmentEnabled", !1], + Dvb: ["enableStreamSelectionAugmentData", !1], cmb: ["augmentDataNumOfChunks", 30], - FPa: ["ase_ls_failure_simulation", ""], - fha: ["ase_dump_fragments", !1], - hha: ["ase_location_history", 0], - iha: ["ase_throughput", 0], - HPa: ["ase_simulate_verbose", !1], - Uf: ["stallAtFrameCount", void 0], - S3a: ["stallAtFrameCountAudio", void 0], - vna: ["marginPredictor", "simple"], - l6a: ["useBackupUnderflowTimer", !0], - IJb: ["noDuplicateUnderflowTimer", !1], - f8b: ["useManifestDrmHeader", !0], - g8b: ["useOnlyManifestDrmHeader", !0], - moa: ["networkMeasurementGranularity", "video_location"], - zJb: ["netIntrStoreWindow", 36E3], - y6b: ["minNetIntrDuration", 8E3], - fgb: ["fastHistoricBandwidthExpirationTime", 10368E3], - Egb: ["bandwidthExpirationTime", 5184E3], - egb: ["failureExpirationTime", 86400], - jKa: ["historyTimeOfDayGranularity", 4], - bgb: ["expandDownloadTime", !0], - mhb: ["minimumMeasurementTime", 500], - lhb: ["minimumMeasurementBytes", 131072], - yib: ["throughputMeasurementTimeout", 2E3], - xib: ["initThroughputMeasureDataSize", 262144], - Xgb: ["historicBandwidthUpdateInterval", 2E3], - khb: ["minimumBufferToStopProbing", 1E4], + EPa: ["ase_ls_failure_simulation", ""], + $ga: ["ase_dump_fragments", !1], + bha: ["ase_location_history", 0], + cha: ["ase_throughput", 0], + GPa: ["ase_simulate_verbose", !1], + Vf: ["stallAtFrameCount", void 0], + T3a: ["stallAtFrameCountAudio", void 0], + pna: ["marginPredictor", "simple"], + n6a: ["useBackupUnderflowTimer", !0], + KJb: ["noDuplicateUnderflowTimer", !1], + y8b: ["useManifestDrmHeader", !0], + z8b: ["useOnlyManifestDrmHeader", !0], + hoa: ["networkMeasurementGranularity", "video_location"], + BJb: ["netIntrStoreWindow", 36E3], + I6b: ["minNetIntrDuration", 8E3], + ggb: ["fastHistoricBandwidthExpirationTime", 10368E3], + Fgb: ["bandwidthExpirationTime", 5184E3], + fgb: ["failureExpirationTime", 86400], + hKa: ["historyTimeOfDayGranularity", 4], + cgb: ["expandDownloadTime", !0], + nhb: ["minimumMeasurementTime", 500], + mhb: ["minimumMeasurementBytes", 131072], + zib: ["throughputMeasurementTimeout", 2E3], + yib: ["initThroughputMeasureDataSize", 262144], + Ygb: ["historicBandwidthUpdateInterval", 2E3], + lhb: ["minimumBufferToStopProbing", 1E4], l3b: ["throughputPredictor", "ewma"], - Ara: ["secondThroughputEstimator", "slidingwindow"], + tra: ["secondThroughputEstimator", "slidingwindow"], x2a: ["secondThroughputMeasureWindowInMs", 3E5], k3b: ["throughputMeasureWindow", 5E3], m3b: ["throughputWarmupTime", 5E3], j3b: ["throughputIQRMeasureWindow", 1E3], W2b: ["IQRBucketizerWindow", 15E3], - oYa: ["maxIQRSamples", 100], - RYa: ["minIQRSamples", 5], + lYa: ["maxIQRSamples", 100], + OYa: ["minIQRSamples", 5], g3b: ["connectTimeHalflife", 10], a3b: ["responseTimeHalflife", 10], - qJa: ["historicThroughputHalflife", 14400], - pJa: ["historicResponseTimeHalflife", 100], - oJa: ["historicHttpResponseTimeHalflife", 100], - nza: ["HistoricalTDigestConfig", { + oJa: ["historicThroughputHalflife", 14400], + nJa: ["historicResponseTimeHalflife", 100], + mJa: ["historicHttpResponseTimeHalflife", 100], + lza: ["HistoricalTDigestConfig", { maxc: 25, rc: "ewma", c: .5, hl: 7200 } ], - UJa: ["minReportedNetIntrDuration", 4E3], + SJa: ["minReportedNetIntrDuration", 4E3], i3b: ["throughputBucketMs", 500], Z2b: ["bucketHoltWintersWindow", 2E3], - Ufb: ["enableFilters", ("throughput-ewma throughput-sw throughput-iqr throughput-tdigest avtp entropy").split(" ")], - cgb: ["experimentalFilter", ["throughput-wssl"]], - Aca: ["filterDefinitionOverrides", {} + Vfb: ["enableFilters", ("throughput-ewma throughput-sw throughput-iqr throughput-tdigest avtp entropy").split(" ")], + dgb: ["experimentalFilter", ["throughput-wssl"]], + uca: ["filterDefinitionOverrides", {} ], - Jfb: ["defaultFilter", "throughput-ewma"], - djb: ["secondaryFilter", "throughput-sw"], - bJ: ["defaultFilterDefinitions", { + Kfb: ["defaultFilter", "throughput-ewma"], + ejb: ["secondaryFilter", "throughput-sw"], + dJ: ["defaultFilterDefinitions", { "throughput-ewma": { type: "discontiguous-ewma", mw: 5E3 @@ -112628,24 +112604,24 @@ a000.D9b = function () { } } ], - aia: ["enableWsslEstimate", !1], - Z5b: ["maxWsslRequestSize", 131072], - Y5b: ["maxWsslRequestRatio", .2], - Z6a: ["wsslAggregationMethod", "max"], - JS: ["enableSessionHistoryReport", !0], - Wha: ["earlyStageEstimatePeriod", 1E4], - iXa: ["lateStageEstimatePeriod", 3E4], + Uha: ["enableWsslEstimate", !1], + j6b: ["maxWsslRequestSize", 131072], + i6b: ["maxWsslRequestRatio", .2], + b7a: ["wsslAggregationMethod", "max"], + IS: ["enableSessionHistoryReport", !0], + Qha: ["earlyStageEstimatePeriod", 1E4], + gXa: ["lateStageEstimatePeriod", 3E4], c5: ["maxNumSessionHistoryStored", 10], y5: ["minSessionHistoryDuration", 3E5], - UCb: ["highAndStableModelName", "baseline"], - Zha: ["enableHighAndStablePredictor", !1], + XCb: ["highAndStableModelName", "baseline"], + Tha: ["enableHighAndStablePredictor", !1], w5: ["minNumSessionHistory", 5], - x3b: ["baselineHighAndStableThreshold", { + A3b: ["baselineHighAndStableThreshold", { bwThreshold: 2E4, nethreshold: .15 } ], - J3: ["highAndStableLRModelParams", { + K3: ["highAndStableLRModelParams", { probThresh: .5, lrParams: { lrMeans: { @@ -112741,7 +112717,7 @@ a000.D9b = function () { } } ], - VCb: ["highAndStableParams", { + YCb: ["highAndStableParams", { minRequiredBuffer: 1E4, bandwidthMarginCurve: [{ m: 10, @@ -112756,39 +112732,38 @@ a000.D9b = function () { ] } ], - pea: ["addHeaderDataToNetworkMonitor", !0], - xsa: ["startMonitorOnLoadStart", !1], - Rqa: ["reportFailedRequestsToNetworkMonitor", !1], - r6: ["periodicHistoryPersistMs", 0], - k7: ["saveVideoBitrateMs", 0], - QU: ["needMinimumNetworkConfidence", !0], - nfa: ["biasTowardHistoricalThroughput", !1], - aHb: ["logMemoryUsage", !1], - iVa: ["headerCacheTruncateHeaderAfterParsing", !0], - At: ["probeServerWhenError", !0], - sx: ["allowSwitchback", !0], - yG: ["probeDetailDenominator", 100], + jea: ["addHeaderDataToNetworkMonitor", !0], + qsa: ["startMonitorOnLoadStart", !1], + Mqa: ["reportFailedRequestsToNetworkMonitor", !1], + q6: ["periodicHistoryPersistMs", 0], + h7: ["saveVideoBitrateMs", 0], + PU: ["needMinimumNetworkConfidence", !0], + gfa: ["biasTowardHistoricalThroughput", !1], + cHb: ["logMemoryUsage", !1], + Et: ["probeServerWhenError", !0], + xx: ["allowSwitchback", !0], + FG: ["probeDetailDenominator", 100], a5: ["maxDelayToReportFailure", 300], - Aq: ["allowParallelStreaming", !1], - j6b: ["mediaPrefetchDisabled", !1], - PYa: ["minBufferLevelToAllowPrefetch", 5E3], - m7: ["seamlessAudio", !1], - r7b: ["seamlessAudioProfiles", []], - s7b: ["seamlessAudioProfilesAndTitles", {} + Bq: ["allowParallelStreaming", !1], + u6b: ["mediaPrefetchDisabled", !1], + MYa: ["minBufferLevelToAllowPrefetch", 5E3], + j7: ["seamlessAudio", !1], + E7b: ["seamlessAudioProfiles", []], + F7b: ["seamlessAudioProfilesAndTitles", {} ], - yra: ["seamlessAudioMaximumSyncError", void 0], - zra: ["seamlessAudioMinimumSyncError", void 0], - d4: ["insertSilentFrames", 0], - e4: ["insertSilentFramesOnSeek", !1], - f4: ["insertSilentFramesOnSeekForTitles", []], - ZVa: ["insertSilentFramesOnSeekCount", 3], - sxb: ["forceDiscontinuityAtTransition", !0], - Psa: ["supportAudioResetOnDiscontinuity", void 0], - X7: ["supportAudioEasingOnDiscontinuity", void 0], - Sub: ["editCompleteFragments", !0], - VYa: ["minimumAudioFramesPerFragment", 1], - VA: ["applyProfileTimestampOffset", !1], - ck: ["applyProfileStreamingOffset", !0], + rra: ["seamlessAudioMaximumSyncError", void 0], + sra: ["seamlessAudioMinimumSyncError", void 0], + e4: ["insertSilentFrames", 0], + f4: ["insertSilentFramesOnSeek", !1], + g4: ["insertSilentFramesOnSeekForTitles", []], + XVa: ["insertSilentFramesOnSeekCount", 3], + xxb: ["forceDiscontinuityAtTransition", !0], + Ksa: ["supportAudioResetOnDiscontinuity", void 0], + T7: ["supportAudioEasingOnDiscontinuity", void 0], + Wub: ["editCompleteFragments", !0], + SYa: ["minimumAudioFramesPerFragment", 1], + XA: ["applyProfileTimestampOffset", !1], + dk: ["applyProfileStreamingOffset", !0], K0a: ["profileTimestampOffsets", { "heaac-2-dash": { 64: { @@ -112809,44 +112784,44 @@ a000.D9b = function () { } ], Vlb: ["audioProfilesNonSyncSamples", ["xheaac-dash"]], - VVb: ["truncateEndOfStreamAudio", !1], - dXb: ["useDpiAssumedAacEncoderDelay", !0], + XVb: ["truncateEndOfStreamAudio", !1], + fXb: ["useDpiAssumedAacEncoderDelay", !0], m5: ["mediaSourceSupportsNegativePts", !1], - YL: ["minAudioPtsGap", void 0], + $L: ["minAudioPtsGap", void 0], Ulb: ["audioOverlapGuardSampleCount", 2], - WQa: ["enableRecordJSBridgePerf", !1], - H$: ["JSBridgeTDigestConfig", { + VQa: ["enableRecordJSBridgePerf", !1], + z$: ["JSBridgeTDigestConfig", { maxc: 25, c: .5 } ], - ZUb: ["throughputThresholdSelectorParam", 0], - ZWb: ["upswitchDuringBufferingFactor", 2], - flb: ["allowUpswitchDuringBuffering", !1], - MOa: ["contentOverrides", void 0], - Gga: ["contentProfileOverrides", void 0], - ila: ["hindsightDenominator", 0], - hla: ["hindsightDebugDenominator", 0], - K3: ["hindsightAlgorithmsEnabled", []], - L3: ["hindsightParam", { + aVb: ["throughputThresholdSelectorParam", 0], + aXb: ["upswitchDuringBufferingFactor", 2], + glb: ["allowUpswitchDuringBuffering", !1], + LOa: ["contentOverrides", void 0], + Aga: ["contentProfileOverrides", void 0], + dla: ["hindsightDenominator", 0], + cla: ["hindsightDebugDenominator", 0], + L3: ["hindsightAlgorithmsEnabled", []], + M3: ["hindsightParam", { numB: Infinity, bSizeMs: 1E3, fillS: "last", fillHl: 1E3 } ], - eMa: ["appendMediaRequestOnComplete", !1], - P8: ["waitForDrmToAppendMedia", !1], - C2: ["forceAppendHeadersAfterDrm", !1], - kha: ["declareBufferingCompleteAtSegmentEnd", !1], - uv: ["maxActiveRequestsPerSession", void 0], - Nma: ["limitAudioDiscountByMaxAudioBitrate", !1], - Hea: ["appendFirstHeaderOnComplete", !0], - T7: ["strictBufferCapacityCheck", !1], - WA: ["aseReportDenominator", 0], - E0: ["aseReportIntervalMs", 3E5], - r8: ["translateToVp9Draft", !1], - IN: ["switchableAudioProfiles", []], + dMa: ["appendMediaRequestOnComplete", !1], + K8: ["waitForDrmToAppendMedia", !1], + D2: ["forceAppendHeadersAfterDrm", !1], + eha: ["declareBufferingCompleteAtSegmentEnd", !1], + Av: ["maxActiveRequestsPerSession", void 0], + Hma: ["limitAudioDiscountByMaxAudioBitrate", !1], + Aea: ["appendFirstHeaderOnComplete", !0], + P7: ["strictBufferCapacityCheck", !1], + YA: ["aseReportDenominator", 0], + G0: ["aseReportIntervalMs", 3E5], + n8: ["translateToVp9Draft", !1], + JN: ["switchableAudioProfiles", []], Wlb: ["audioProfilesOverride", [{ profiles: ["ddplus-5.1-dash", "ddplus-5.1hq-dash"], override: { @@ -112860,7 +112835,7 @@ a000.D9b = function () { } } ]], - D4a: ["switchableAudioProfilesOverride", [{ + F4a: ["switchableAudioProfilesOverride", [{ profiles: ["ddplus-5.1-dash", "ddplus-5.1hq-dash"], override: { maxInitAudioBitrate: 192 @@ -112881,11 +112856,11 @@ a000.D9b = function () { lockPeriodAfterDownswitch: 16E3 } ], - wYa: ["maxStartingVideoVMAF", 110], - $L: ["minStartingVideoVMAF", 1], - hR: ["activateSelectStartingVMAF", !1], - s7: ["selectStartingVMAFTDigest", -1], - fN: ["selectStartingVMAFMethod", "fallback"], + tYa: ["maxStartingVideoVMAF", 110], + bM: ["minStartingVideoVMAF", 1], + jR: ["activateSelectStartingVMAF", !1], + o7: ["selectStartingVMAFTDigest", -1], + gN: ["selectStartingVMAFMethod", "fallback"], C2a: ["selectStartingVMAFMethodCurve", { log_p50: [6.0537, - .8612], log_p40: [5.41, - .7576], @@ -112893,24 +112868,23 @@ a000.D9b = function () { sigmoid_1: [11.0925, -8.0793] } ], - uC: ["perFragmentVMAFConfig", { + wC: ["perFragmentVMAFConfig", { enabled: !1, simulatedFallback: !1, fallbackBound: 12 } ], - bub: ["disablePtsStartsEvent", !0], - zqa: ["recordFirstFragmentOnSubBranchCreate", !0], - CYa: ["mediaCacheConvertToBinaryData", !1], - Jna: ["mediaCacheSaveOneObject", !1], - eYa: ["markRequestActiveOnFirstByte", !1], - b2: ["earlyAppendSingleChildBranch", !0], - Iz: ["useNativeDataViewMethods", !0], - Eea: ["alwaysNotifyEOSForPlaygraph", !1], - cXb: ["useCorrectDrainingAmounts", !0], - AK: ["enableNewAse", !1], - kX: ["useNewApi", !1], - Eha: ["aseDiagnostics", [{ + eub: ["disablePtsStartsEvent", !0], + tqa: ["recordFirstFragmentOnSubBranchCreate", !0], + zYa: ["mediaCacheConvertToBinaryData", !1], + Dna: ["mediaCacheSaveOneObject", !1], + cYa: ["markRequestActiveOnFirstByte", !1], + d2: ["earlyAppendSingleChildBranch", !0], + Lz: ["useNativeDataViewMethods", !0], + eXb: ["useCorrectDrainingAmounts", !0], + EK: ["enableNewAse", !1], + jX: ["useNewApi", !1], + yha: ["aseDiagnostics", [{ Ii: "queue-audit", enabled: !0 }, { @@ -112939,37 +112913,37 @@ a000.D9b = function () { enabled: !0 } ]], - Qmb: ["branchDistanceThreshold", 6E4], + Rmb: ["branchDistanceThreshold", 6E4], Y4: ["maxAllowedOutstandingRequests", 4], - Zna: ["minStreamableConcurrencyWindow", 3E3], - aIb: ["maxStreamableConcurrencyWindow", Infinity], - Hsa: ["streamableConcurrencyFactor", .3], - KR: ["bufferingConcurrencyWindow", 7800], - qfa: ["branchCreationThreshold", 12E4], - d2: ["enableDiscontiguousBuffering", !1], - bja: ["forceImmediateTransitionTypeForTitles", []], - ROa: ["contiguousBufferMultiplier", 3], - POa: ["contiguousBufferMinimumAudio", 1048576], - QOa: ["contiguousBufferMinimumVideo", 8388608], - qNb: ["prefetchBudgetInBytes", 0], + Una: ["minStreamableConcurrencyWindow", 3E3], + dIb: ["maxStreamableConcurrencyWindow", Infinity], + Bsa: ["streamableConcurrencyFactor", .3], + LR: ["bufferingConcurrencyWindow", 7800], + jfa: ["branchCreationThreshold", 12E4], + f2: ["enableDiscontiguousBuffering", !1], + Via: ["forceImmediateTransitionTypeForTitles", []], + QOa: ["contiguousBufferMultiplier", 3], + OOa: ["contiguousBufferMinimumAudio", 1048576], + POa: ["contiguousBufferMinimumVideo", 8388608], + uNb: ["prefetchBudgetInBytes", 0], j1a: ["rebufferRiskHalfLife", 1E4], - Sta: ["useBufferSizeLimiter", !1], - pXb: ["useStaticBufferSizeLimiter", !1], - YXb: ["viewableReleaseTimeoutMs", 1E3], - tNb: ["prefetchWeightBudget", 32], - boa: ["minimumDownstreamBranchProbability", .075], - Tta: ["useExitZones", !0], - uNb: ["prefetchWhilePlaying", !0], - ANb: ["prefetcherSoftReset", !0], - o0a: ["playgraphDefaultWeight", 65520], - utb: ["delayNotificationOfEoS", !1], - xIb: ["memDeadlockShouldCheckMemory", !0], - wIb: ["memDeadlockOverageThreshold", .9], - vIb: ["memDeadlockMaxUtilizationPercentage", .5], - Epa: ["playerPtsPadding", 1] - }; - b.jk = b.xpb; - }, function (q, b, a) { + Nta: ["useBufferSizeLimiter", !1], + rXb: ["useStaticBufferSizeLimiter", !1], + $Xb: ["viewableReleaseTimeoutMs", 1E3], + xNb: ["prefetchWeightBudget", 32], + Xna: ["minimumDownstreamBranchProbability", .075], + Ota: ["useExitZones", !0], + yNb: ["prefetchWhilePlaying", !0], + ENb: ["prefetcherSoftReset", !0], + m0a: ["playgraphDefaultWeight", 65520], + xtb: ["delayNotificationOfEoS", !1], + zIb: ["memDeadlockShouldCheckMemory", !0], + yIb: ["memDeadlockOverageThreshold", .9], + xIb: ["memDeadlockMaxUtilizationPercentage", .5], + zpa: ["playerPtsPadding", 1] + }; + b.jk = b.ypb; + }, function (r, b, a) { var c, f, k; @@ -112978,45 +112952,45 @@ a000.D9b = function () { value: !0 } }); - b.mq = b.lq = b.Nr = b.Ky = b.zZ = void 0; + b.oq = b.nq = b.Qr = b.Ny = b.AZ = void 0; c = a(2); f = a(111); Object.defineProperties(b, { - lq: { + nq: { enumerable: !0, get: function () { - return f.lq; + return f.nq; } } }); Object.defineProperties(b, { - mq: { + oq: { enumerable: !0, get: function () { - return f.mq; + return f.oq; } } }); Object.defineProperties(b, { - Ky: { + Ny: { enumerable: !0, get: function () { - return f.Ky; + return f.Ny; } } }); Object.defineProperties(b, { - zZ: { + AZ: { enumerable: !0, get: function () { - return f.zZ; + return f.AZ; } } }); - k = c.__importDefault(a(4)); - q = (function (l) { - function d(g, h, m, n, r) { - return l.call(this, d.console, g, h, m, n, r) || this; + k = c.__importDefault(a(5)); + r = (function (l) { + function d(g, h, m, n, q) { + return l.call(this, d.console, g, h, m, n, q) || this; } c.__extends(d, l); Object.defineProperties(d, { @@ -113029,27 +113003,27 @@ a000.D9b = function () { } }); return d; - })(f.Nr); - b.Nr = q; - }, function (q, b) { + })(f.Qr); + b.Qr = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.qPa = void 0; - b.qPa = function (a, c, f, k) { + b.pPa = void 0; + b.pPa = function (a, c, f, k) { return { dUa: function () { var l; - l = a.dka(); - k.Os && (l += k.Os); + l = a.$ja(); + k.Ts && (l += k.Ts); return l; }, - ya: c, + za: c, request: f, - We: !1 + Ye: !1 }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -113061,22 +113035,22 @@ a000.D9b = function () { h.content = ""; h.entries = []; k.gb(("videoSize" in m) && ("xml" in m) && !!m.xml, "Subtitle options didn't contain XML data"); - ("videoSize" in m) && ("xml" in m) && (h.content = null !== (n = m.xml) && void 0 !== n ? n : "", h.Lz = m.videoSize); + ("videoSize" in m) && ("xml" in m) && (h.content = null !== (n = m.xml) && void 0 !== n ? n : "", h.Oz = m.videoSize); return h; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.uAa = void 0; + b.sAa = void 0; f = a(16); k = a(21); l = a(13); d = a(29); - g = a(989); - ka(c, f.EventEmitter); - c.prototype.tF = function (h) { + g = a(991); + ja(c, f.EventEmitter); + c.prototype.xF = function (h) { var m; - d.Hc(h) && d.Hc(this.duration) && h < this.duration && this.entries && (m = this.CJb || this.entries[Math.floor(h * this.eVb)] || this.entries[0]); + d.Jc(h) && d.Jc(this.duration) && h < this.duration && this.entries && (m = this.EJb || this.entries[Math.floor(h * this.gVb)] || this.entries[0]); if (m) { for (; m && m.endTime < h; ) { m = m.next; @@ -113084,27 +113058,27 @@ a000.D9b = function () { for (; m && m.previous && m.previous.endTime >= h; ) { m = m.previous; } - this.CJb = m; + this.EJb = m; } return m ? [m] : []; }; - c.prototype.DT = function (h, m) { + c.prototype.BT = function (h, m) { var n; n = []; try { - n = this.entries.filter(function (r) { + n = this.entries.filter(function (q) { var p; - p = aa([r.startTime, r.endTime]); - r = p.next().value; + p = aa([q.startTime, q.endTime]); + q = p.next().value; p = p.next().value; - return r >= h && r <= m || r <= h && h <= p; + return q >= h && q <= m || q <= h && h <= p; }); - } catch (r) {} + } catch (q) {} return n; }; - c.prototype.Rq = function (h, m) { - return this.DT(h, m).reduce(function (n, r) { - return n + r.blocks.length; + c.prototype.Qq = function (h, m) { + return this.BT(h, m).reduce(function (n, q) { + return n + q.blocks.length; }, 0); }; c.prototype.start = function () { @@ -113112,11 +113086,11 @@ a000.D9b = function () { m; h = this; if (this.content) - g.J_a(this.content, this.Lz.width / this.Lz.height, l.config.cta, l.config.h8).then(function (n) { - h.duration = n && Math.max.apply(Math, ca(n.map(function (r) { - return r.endTime; + g.H_a(this.content, this.Oz.width / this.Oz.height, l.config.Ysa, l.config.d8).then(function (n) { + h.duration = n && Math.max.apply(Math, ca(n.map(function (q) { + return q.endTime; }))) || 0; - h.eVb = n && n.length / h.duration || 0; + h.gVb = n && n.length / h.duration || 0; h.entries = n; h.emit("ready"); }).catch(function (n) { @@ -113130,41 +113104,41 @@ a000.D9b = function () { }; c.prototype.pause = function () {}; c.prototype.stop = function () {}; - c.prototype.eqa = function () { + c.prototype.Zpa = function () { throw Error("Method not implemented."); }; - c.prototype.Br = function () { + c.prototype.Er = function () { throw Error("Method not implemented."); }; - c.prototype.rz = function () { + c.prototype.wz = function () { throw Error("Method not implemented."); }; - c.prototype.Ak = function () { + c.prototype.Bk = function () { throw Error("Method not implemented."); }; c.prototype.ti = function () { throw Error("Method not implemented."); }; - b.uAa = c; - }, function (q, b, a) { + b.sAa = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.J_a = void 0; - c = a(990); - f = a(258); - b.J_a = function (k, l, d, g) { + b.H_a = void 0; + c = a(992); + f = a(259); + b.H_a = function (k, l, d, g) { return new Promise(function (h, m) { - f.pua(k, function (n) { - n.X ? c.B_a(n.object, l, d, g, function (r) { - r.X ? h(r.entries) : m(r); + f.mua(k, function (n) { + n.W ? c.z_a(n.object, l, d, g, function (q) { + q.W ? h(q.entries) : m(q); }) : m(n); }); }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -113175,7 +113149,7 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.D_a = b.C_a = b.dpa = b.F_a = b.OLb = b.PLb = b.E_a = b.G_a = b.m6 = b.H_a = b.I_a = b.B_a = void 0; + b.B_a = b.A_a = b.Zoa = b.D_a = b.RLb = b.SLb = b.C_a = b.E_a = b.m6 = b.F_a = b.G_a = b.z_a = void 0; c = a(21); f = a(29); k = a(12); @@ -113183,315 +113157,315 @@ a000.D9b = function () { d = a(11); g = a(17); h = a(24); - b.B_a = (function () { - var F, + b.z_a = (function () { + var G, D, - G, - I, + F, J, + K, H, - M, - O, L, - P, - R, - K; - function m(Q) { - if (f.Dy(Q)) { - Q = Q.toLowerCase(); - if ("#" == Q[0]) { - if (7 == Q.length) - return Q; - if (4 == Q.length) - return "#" + Q[1] + Q[1] + Q[2] + Q[2] + Q[3] + Q[3]; - } - return b.G_a[Q]; - } - } - function n(Q, N, da) { - N = N[Q]; - 0 <= N || (N = parseFloat(Q)); - if (0 <= N) - return d.xo(N, da); - } - function r(Q, N) { - var da, - na; - da = Q.length; - na = Q[da - 1]; - if ("t" === na) - return parseFloat(Q) * N | 0; - if ("s" === na) - return "m" === Q[da - 2] ? parseFloat(Q) | 0 : parseFloat(Q) * k.Ik | 0; - if ((Q = Q.match(L)) && 4 <= Q.length) - return (3600 * parseInt(Q[1], 10) + 60 * parseInt(Q[2], 10) + parseFloat(Q[3])) * k.Ik | 0; + Q, + I, + O, + N, + M; + function m(P) { + if (f.Gy(P)) { + P = P.toLowerCase(); + if ("#" == P[0]) { + if (7 == P.length) + return P; + if (4 == P.length) + return "#" + P[1] + P[1] + P[2] + P[2] + P[3] + P[3]; + } + return b.E_a[P]; + } + } + function n(P, R, ea) { + R = R[P]; + 0 <= R || (R = parseFloat(P)); + if (0 <= R) + return d.yo(R, ea); + } + function q(P, R) { + var ea, + pa; + ea = P.length; + pa = P[ea - 1]; + if ("t" === pa) + return parseFloat(P) * R | 0; + if ("s" === pa) + return "m" === P[ea - 2] ? parseFloat(P) | 0 : parseFloat(P) * k.Ik | 0; + if ((P = P.match(I)) && 4 <= P.length) + return (3600 * parseInt(P[1], 10) + 60 * parseInt(P[2], 10) + parseFloat(P[3])) * k.Ik | 0; throw Error("dfxp-badtime"); } - function p(Q, N, da, na, va) { - var ra, - X, - ta, - za, + function p(P, R, ea, pa, va) { + var ta, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia; - ra = void 0; - if (Q) { - X = Q.style; - da = X ? da[X] : void 0; - na = (X = Q.region) ? na[X] : void 0; - X = va.length; - for (ta = 0; ta < X; ta++) { - V = va[ta]; - T = Q[V]; - void 0 === T && da && (T = da[V]); - void 0 === T && na && (T = na[V]); - if (void 0 !== T && T !== N[V]) { - if (!ra) - for ((ra = {}, za = 0); za < X; za++) { - ja = va[za]; - Ia = N[ja]; - void 0 !== Ia && (ra[ja] = Ia); + ta = void 0; + if (P) { + Y = P.style; + ea = Y ? ea[Y] : void 0; + pa = (Y = P.region) ? pa[Y] : void 0; + Y = va.length; + for (ra = 0; ra < Y; ra++) { + V = va[ra]; + U = P[V]; + void 0 === U && ea && (U = ea[V]); + void 0 === U && pa && (U = pa[V]); + if (void 0 !== U && U !== R[V]) { + if (!ta) + for ((ta = {}, Ea = 0); Ea < Y; Ea++) { + ma = va[Ea]; + Ia = R[ma]; + void 0 !== Ia && (ta[ma] = Ia); } - ra[V] = T; + ta[V] = U; } } } - return ra || N; + return ta || R; } - function u(Q, N, da, na, va, ra, X, ta, za) { - var T, - ja; - function V(Ia, wa, Sa) { + function t(P, R, ea, pa, va, ta, Y, ra, Ea) { + var U, + ma; + function V(Ia, wa, Ta) { var Ua, - $a, + ab, Za, - mb, - db, - Ta; + nb, + cb, + Sa; Ua = Ia[l.Vj]; - $a = Ua.style || wa.style || ""; + ab = Ua.style || wa.style || ""; Za = Ua.region || wa.region || ""; - if ($a || Za) - (mb = $a + "/" + Za, db = da[mb]); + if (ab || Za) + (nb = ab + "/" + Za, cb = ea[nb]); else - db = N; - if (!db) { - db = N; - Ta = f.sN(na); - f.Qb(Ta, va[$a]); - db = x(db, Ta, X, ta, za); - da[$a + "/"] = db; - Za && (f.Qb(Ta, ra[Za]), f.Qb(Ta, va[$a]), db = x(db, Ta, X, ta, za), da[mb] = db); - } - if (!Sa) + cb = R; + if (!cb) { + cb = R; + Sa = f.tN(pa); + f.Tb(Sa, va[ab]); + cb = x(cb, Sa, Y, ra, Ea); + ea[ab + "/"] = cb; + Za && (f.Tb(Sa, ta[Za]), f.Tb(Sa, va[ab]), cb = x(cb, Sa, Y, ra, Ea), ea[nb] = cb); + } + if (!Ta) a: { - for (Sa = H.length; Sa--; ) { - if (void 0 !== Ua[H[Sa]]) { - Sa = !0; + for (Ta = H.length; Ta--; ) { + if (void 0 !== Ua[H[Ta]]) { + Ta = !0; break a; } } - Sa = void 0; + Ta = void 0; } - Sa && (Ua = p(Ua, wa, va, ra, M), db = x(db, Ua, X, ta, za)); - wa = (Ia = Ia[l.dO]) && Ia.length; - for ($a = 0; $a < wa; $a++) { - Za = Ia[$a]; - f.Sg(Za) ? P.test(Za[l.eO]) ? ja++ : V(Za, Ua, Sa) : (T.push({ + Ta && (Ua = p(Ua, wa, va, ta, L), cb = x(cb, Ua, Y, ra, Ea)); + wa = (Ia = Ia[l.cO]) && Ia.length; + for (ab = 0; ab < wa; ab++) { + Za = Ia[ab]; + f.ih(Za) ? O.test(Za[l.dO]) ? ma++ : V(Za, Ua, Ta) : (U.push({ text: Za, - lineBreaks: ja, - style: db - }), ja = 0); + lineBreaks: ma, + style: cb + }), ma = 0); } } - T = []; - ja = 0; - V(Q, na, !1); - 0 < ja && T.push({ + U = []; + ma = 0; + V(P, pa, !1); + 0 < ma && U.push({ text: "", - lineBreaks: ja, - style: N + lineBreaks: ma, + style: R }); - return T; + return U; } - function t(Q, N, da, na, va, ra, X, ta) { - var za, + function u(P, R, ea, pa, va, ta, Y, ra) { + var Ea, V; - da && (da = D[da] || "top", Q.verticalAlignment !== da && (Q.verticalAlignment = da)); - na && (da = G[na] || "left", Q.horizontalAlignment !== da && (Q.horizontalAlignment = da)); + ea && (ea = D[ea] || "top", P.verticalAlignment !== ea && (P.verticalAlignment = ea)); + pa && (ea = F[pa] || "left", P.horizontalAlignment !== ea && (P.horizontalAlignment = ea)); if (va) { - if (za = ta[va]) - (na = za.marginLeft, da = za.marginTop); + if (Ea = ra[va]) + (pa = Ea.marginLeft, ea = Ea.marginTop); else { V = va.split(" "); - na = z(V[0], X.x) || 0; - da = z(V[1], X.y) || 0; - za = { - Ml: 0, - marginLeft: na, - marginTop: da, - Tkb: na * N.Pka + N.HT, - Vkb: da * N.aua + N.I8 + pa = z(V[0], Y.x) || 0; + ea = z(V[1], Y.y) || 0; + Ea = { + Ll: 0, + marginLeft: pa, + marginTop: ea, + Ukb: pa * R.Lka + R.FT, + Wkb: ea * R.Xta + R.D8 }; - 30 > ta.Ml && (ta.Ml++, ta[va] = za); + 30 > ra.Ll && (ra.Ll++, ra[va] = Ea); } - Q.marginLeft = za.Tkb; - Q.marginTop = za.Vkb; - } else (da = na = 0, (za = ta["default"]) || (ta["default"] = za = { - Ml: 0 + P.marginLeft = Ea.Ukb; + P.marginTop = Ea.Wkb; + } else (ea = pa = 0, (Ea = ra["default"]) || (ra["default"] = Ea = { + Ll: 0 })); - ra && (va = za[ra], va || (V = ra.split(" "), va = { - Ukb: (1 - (na + (z(V[0], X.x) || 0))) * N.Pka + N.HT, - Skb: (1 - (da + (z(V[1], X.y) || 0))) * N.aua + N.I8 - }, 30 > za.Ml && (za.Ml++, za[ra] = va)), Q.marginRight = va.Ukb, Q.marginBottom = va.Skb); + ta && (va = Ea[ta], va || (V = ta.split(" "), va = { + Vkb: (1 - (pa + (z(V[0], Y.x) || 0))) * R.Lka + R.FT, + Tkb: (1 - (ea + (z(V[1], Y.y) || 0))) * R.Xta + R.D8 + }, 30 > Ea.Ll && (Ea.Ll++, Ea[ta] = va)), P.marginRight = va.Vkb, P.marginBottom = va.Tkb); } - function w(Q, N, da, na, va) { - var ra, - X, - ta; - ra = Q.displayAlign; - X = Q.textAlign; - ta = Q.origin; - Q = Q.extent; - da = f.sN(da); - t(da, N, ra, X, ta, Q, na, va); - da.id = F++; - return da; - } - function v(Q, N, da, na) { + function w(P, R, ea, pa, va) { + var ta, + Y, + ra; + ta = P.displayAlign; + Y = P.textAlign; + ra = P.origin; + P = P.extent; + ea = f.tN(ea); + u(ea, R, ta, Y, ra, P, pa, va); + ea.id = G++; + return ea; + } + function v(P, R, ea, pa) { var va, - ra, - X, ta, - za, + Y, + ra, + Ea, V; - va = n(da.characterSize || N.characterSize, b.H_a, 2) || 1; - ra = (ra = Q.fontSize) && R.test(ra) ? f.yo(f.pe(ra), 25, 200) : void 0; - va *= ra / 100 || 1; - if ((ra = Q.textOutline) && "none" != ra) { - X = ra.split(" "); - if (K.test(X)) - (ta = 0, za = Q.color); - else (ta = 1, za = m(X[0])); - V = y(X[ta]); - X = y(X[ta + 1]); + va = n(ea.characterSize || R.characterSize, b.F_a, 2) || 1; + ta = (ta = P.fontSize) && N.test(ta) ? f.zo(f.se(ta), 25, 200) : void 0; + va *= ta / 100 || 1; + if ((ta = P.textOutline) && "none" != ta) { + Y = ta.split(" "); + if (M.test(Y)) + (ra = 0, Ea = P.color); + else (ra = 1, Ea = m(Y[0])); + V = y(Y[ra]); + Y = y(Y[ra + 1]); } return { - characterStyle: da.characterStyle || b.I_a[Q.fontFamily] || N.characterStyle, - characterSize: va * na, - characterColor: m(da.characterColor || Q.color || N.characterColor), - characterOpacity: n(f.j1(da.characterOpacity, Q.opacity, N.characterOpacity), b.m6, 1), - characterEdgeAttributes: da.characterEdgeAttributes || ra && ("none" === ra ? b.E_a : X ? b.dpa : b.F_a) || N.characterEdgeAttributes, - characterEdgeColor: m(da.characterEdgeColor || za || N.characterEdgeColor), + characterStyle: ea.characterStyle || b.G_a[P.fontFamily] || R.characterStyle, + characterSize: va * pa, + characterColor: m(ea.characterColor || P.color || R.characterColor), + characterOpacity: n(f.l1(ea.characterOpacity, P.opacity, R.characterOpacity), b.m6, 1), + characterEdgeAttributes: ea.characterEdgeAttributes || ta && ("none" === ta ? b.C_a : Y ? b.Zoa : b.D_a) || R.characterEdgeAttributes, + characterEdgeColor: m(ea.characterEdgeColor || Ea || R.characterEdgeColor), characterEdgeWidth: V, - characterEdgeBlur: X, - characterItalic: "italic" === Q.fontStyle, - characterUnderline: "underline" === Q.textDecoration, - backgroundColor: m(da.backgroundColor || Q.backgroundColor || N.backgroundColor), - backgroundOpacity: n(f.j1(da.backgroundOpacity, Q.opacity, N.backgroundOpacity), b.m6, 1) + characterEdgeBlur: Y, + characterItalic: "italic" === P.fontStyle, + characterUnderline: "underline" === P.textDecoration, + backgroundColor: m(ea.backgroundColor || P.backgroundColor || R.backgroundColor), + backgroundOpacity: n(f.l1(ea.backgroundOpacity, P.opacity, R.backgroundOpacity), b.m6, 1) }; } - function x(Q, N, da, na, va) { - var ra; - N = v(N, da, na, va); - h.de(N, function (X, ta) { - ta !== Q[X] && (ra || (ra = d.FD(Q)), ra[X] = ta); + function x(P, R, ea, pa, va) { + var ta; + R = v(R, ea, pa, va); + h.ae(R, function (Y, ra) { + ra !== P[Y] && (ta || (ta = d.HD(P)), ta[Y] = ra); }); - return ra || Q; + return ta || P; } - function y(Q) { - Q = f.pe(Q); - return g.Cy(Q, 0, 100) ? Q : 0; + function y(P) { + P = f.se(P); + return g.Fy(P, 0, 100) ? P : 0; } - function z(Q, N) { - var da; - da = Q[Q.length - 1]; - if ("%" === da) - return f.yo(.01 * parseFloat(Q), 0, 1); - if ("c" === da) - return f.yo(f.pe(Q) / N, 0, 1); + function z(P, R) { + var ea; + ea = P[P.length - 1]; + if ("%" === ea) + return f.zo(.01 * parseFloat(P), 0, 1); + if ("c" === ea) + return f.zo(f.se(P) / R, 0, 1); } - function B(Q) { - for (var N = Q.length, da = Q[--N].endTime; N--; ) { - da = d.xo(Q[N].endTime, da); + function A(P) { + for (var R = P.length, ea = P[--R].endTime; R--; ) { + ea = d.yo(P[R].endTime, ea); } - return da; + return ea; } - function A(Q) { - h.de(Q, function (N, da) { - 0 <= N.toLowerCase().indexOf("color") && (Q[N] = m(da)); + function B(P) { + h.ae(P, function (R, ea) { + 0 <= R.toLowerCase().indexOf("color") && (P[R] = m(ea)); }); } - function C(Q, N) { - var da, - na, + function C(P, R) { + var ea, + pa, va, - ra; - da = Q.pixelAspectRatio; - na = { - HT: 0, - Pka: 1, - I8: 0, - aua: 1 + ta; + ea = P.pixelAspectRatio; + pa = { + FT: 0, + Lka: 1, + D8: 0, + Xta: 1 }; - Q = (Q.extent || "640px 480px").split(" "); - if (2 <= Q.length) { - da = (da || "").split(" "); - va = parseFloat(Q[0]) * (parseFloat(da[0]) || 1); - ra = parseFloat(Q[1]) * (parseFloat(da[1]) || 1); - } - va = 0 < va && 0 < ra ? va / ra : 1280 / 720; - N = N || 1280 / 720; - da = va / N; - .01 < d.tD(N - va) && (N >= va ? (na.HT = (1 - da) / 2, na.Pka = da) : c.gb(!1, "not implemented")); - return na; - } - function E(Q) { - var N, - da, - na, + P = (P.extent || "640px 480px").split(" "); + if (2 <= P.length) { + ea = (ea || "").split(" "); + va = parseFloat(P[0]) * (parseFloat(ea[0]) || 1); + ta = parseFloat(P[1]) * (parseFloat(ea[1]) || 1); + } + va = 0 < va && 0 < ta ? va / ta : 1280 / 720; + R = R || 1280 / 720; + ea = va / R; + .01 < d.vD(R - va) && (R >= va ? (pa.FT = (1 - ea) / 2, pa.Lka = ea) : c.gb(!1, "not implemented")); + return pa; + } + function E(P) { + var R, + ea, + pa, va, - ra; - if (N = Q.cellResolution) - if ((N = N.split(" "), 2 <= N.length)) { - da = f.pe(N[0]); - N = f.pe(N[1]); - if (0 < da && 0 < N) + ta; + if (R = P.cellResolution) + if ((R = R.split(" "), 2 <= R.length)) { + ea = f.se(R[0]); + R = f.se(R[1]); + if (0 < ea && 0 < R) return { - x: da, - y: N + x: ea, + y: R }; } - if ((N = Q.extent) && (N = N.split(" "), 2 <= N.length)) { - da = f.pe(N[0]); - na = f.pe(N[1]); - if (Q = Q.pixelAspectRatio) { - N = Q.split(" "); - va = f.pe(N[0]); - ra = f.pe(N[1]); + if ((R = P.extent) && (R = R.split(" "), 2 <= R.length)) { + ea = f.se(R[0]); + pa = f.se(R[1]); + if (P = P.pixelAspectRatio) { + R = P.split(" "); + va = f.se(R[0]); + ta = f.se(R[1]); } - if (da && na && 1.5 < da * (va || 1) / (na * (ra || 1))) - return b.D_a; + if (ea && pa && 1.5 < ea * (va || 1) / (pa * (ta || 1))) + return b.B_a; } - return b.C_a; + return b.A_a; } - F = 1; + G = 1; D = { before: "top", center: "center", after: "bottom" }; - G = { + F = { left: "left", start: "left", center: "center", right: "right", end: "right" }; - I = { - id: F++, + J = { + id: G++, verticalAlignment: "bottom", horizontalAlignment: "center", marginTop: .1, @@ -113499,8 +113473,8 @@ a000.D9b = function () { marginRight: .1, marginBottom: .1 }; - J = { - id: F++, + K = { + id: G++, verticalAlignment: "top", horizontalAlignment: "left", marginTop: 0, @@ -113509,27 +113483,27 @@ a000.D9b = function () { marginBottom: 0 }; H = ("fontFamily fontSize fontStyle textDecoration color opacity backgroundColor textOutline").split(" "); - M = H.concat(["style", "region"]); - O = ["region", "textAlign", "displayAlign", "extent", "origin"]; - L = /^([0-9]+):([0-9]+):([0-9.]+)$/; - P = /^br$/i; - R = /^[0-9]{1,3}%$/; - K = /^[0-9]/; - return function (Q, N, da, na, va) { - var za, + L = H.concat(["style", "region"]); + Q = ["region", "textAlign", "displayAlign", "extent", "origin"]; + I = /^([0-9]+):([0-9]+):([0-9.]+)$/; + O = /^br$/i; + N = /^[0-9]{1,3}%$/; + M = /^[0-9]/; + return function (P, R, ea, pa, va) { + var Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db, - Ta, - Ca, + nb, + cb, + Sa, + Ba, La, Ma, Va, @@ -113546,13 +113520,13 @@ a000.D9b = function () { re, Nd, fd; - function ra() { + function ta() { var dc, ec, ac, ub, fc, - nb, + mb, Rb, hc, Lc, @@ -113569,53 +113543,53 @@ a000.D9b = function () { ib = Kb[l.Vj]; dc = Vb; ec = dc.push; - ac = F++; - ub = r(ib.begin, T); - fc = r(ib.end, T); - nb = void 0; + ac = G++; + ub = q(ib.begin, U); + fc = q(ib.end, U); + mb = void 0; Rb = Ua; - hc = ja; - Lc = db; + hc = ma; + Lc = cb; qc = Ma; cc = Kb[l.Vj]; - Ec = p(Kb[l.Vj], Dc, wa, Sa, O); + Ec = p(Kb[l.Vj], Dc, wa, Ta, Q); Mc = Ec.region; uc = cc.displayAlign; rd = Ec.textAlign; sd = cc.origin; Ub = cc.extent; - Mc || uc || rd || sd || Ub ? ((nb = Rb[Mc]) ? nb = d.FD(nb) : uc || sd || Ub ? (nb = d.FD(J), nb.id = F++) : nb = d.FD(I), t(nb, hc, uc, rd, sd, Ub, Lc, qc)) : nb = I; + Mc || uc || rd || sd || Ub ? ((mb = Rb[Mc]) ? mb = d.HD(mb) : uc || sd || Ub ? (mb = d.HD(K), mb.id = G++) : mb = d.HD(J), u(mb, hc, uc, rd, sd, Ub, Lc, qc)) : mb = J; ec.call(dc, { id: ac, startTime: ub, endTime: fc, - region: nb, - textNodes: u(Kb, Md, re, mc, wa, Sa, Ca, La, Ta) + region: mb, + textNodes: t(Kb, Md, re, mc, wa, Ta, Ba, La, Sa) }); - Kb = Kb[l.WC]; - pc = d.NH(); + Kb = Kb[l.YC]; + pc = d.VH(); if (100 < pc - Nd) { Nd = Date.now(); - fd = setTimeout(ra, 1); + fd = setTimeout(ta, 1); return; } } } catch (Fc) { - ta({ - oa: f.M.uY, - sb: f.vd(Fc) + ra({ + oa: f.L.uY, + qb: f.vd(Fc) }); return; } - fd = setTimeout(X, 1); + fd = setTimeout(Y, 1); } - function X() { + function Y() { var dc, ec, ac, ub, fc, - nb, + mb, Rb; function pc(hc, Lc) { for (var qc, cc = [], Ec = {}, Mc, uc = ec.length; uc--; ) { @@ -113623,8 +113597,8 @@ a000.D9b = function () { Mc = qc.region.id; Ec[Mc] || (Ec[Mc] = 1, cc.unshift(qc)); } - (qc = dc[dc.length - 1]) && qc.endTime == hc && f.qs(qc.blocks, cc) ? qc.endTime = Lc : dc.push({ - id: F++, + (qc = dc[dc.length - 1]) && qc.endTime == hc && f.us(qc.blocks, cc) ? qc.endTime = Lc : dc.push({ + id: G++, startTime: hc, endTime: Lc, blocks: cc @@ -113632,8 +113606,8 @@ a000.D9b = function () { } try { if (!Vb.length) { - ta({ - X: !0, + ra({ + W: !0, entries: [] }); return; @@ -113649,10 +113623,10 @@ a000.D9b = function () { ub = ac.startTime; ac = Vb[fc++]; } - Rb = B(ec); + Rb = A(ec); if (!ac || Rb <= ac.startTime) - for ((pc(ub, Rb), ub = Rb, nb = ec.length); nb--; ) { - ec[nb].endTime <= ub && ec.splice(nb, 1); + for ((pc(ub, Rb), ub = Rb, mb = ec.length); mb--; ) { + ec[mb].endTime <= ub && ec.splice(mb, 1); } else (pc(ub, ac.startTime), ub = ac.startTime, ec.push(ac), ac = Vb[fc++]); } @@ -113662,117 +113636,117 @@ a000.D9b = function () { dc[fc].next = dc[fc + 1]; } } catch (hc) { - ta({ - oa: f.M.uY, - sb: f.vd(hc) + ra({ + oa: f.L.uY, + qb: f.vd(hc) }); return; } - ta({ - X: !0, + ra({ + W: !0, entries: dc }); } - function ta(pc) { + function ra(pc) { setTimeout(function () { - za.abort = f.kj; + Ea.abort = f.Yj; va(pc); }, 1); } - za = { + Ea = { abort: function () { fd && clearTimeout(fd); } }; try { - V = Q[l.Vj]; - T = k.Ik / (f.pe(V.tickRate) || 1); - ja = C(V, N); - Ia = f.Qb(J, { - marginLeft: ja.HT, - marginTop: ja.I8, - marginRight: ja.HT, - marginBottom: ja.I8 + V = P[l.Vj]; + U = k.Ik / (f.se(V.tickRate) || 1); + ma = C(V, R); + Ia = f.Tb(K, { + marginLeft: ma.FT, + marginTop: ma.D8, + marginRight: ma.FT, + marginBottom: ma.D8 }); wa = {}; - Sa = {}; + Ta = {}; Ua = {}; - Za = Q.head; - mb = Q.body; - db = E(V, N); - Ta = 1 / db.y * ja.aua; - Ca = f.Qb({ + Za = P.head; + nb = P.body; + cb = E(V, R); + Sa = 1 / cb.y * ma.Xta; + Ba = f.Tb({ characterStyle: "PROPORTIONAL_SANS_SERIF", characterColor: "#EBEB64", - characterEdgeAttributes: b.dpa, + characterEdgeAttributes: b.Zoa, characterEdgeColor: "#000000", characterSize: 1 - }, da, { - Vy: !0 + }, ea, { + Yy: !0 }); - La = na || ({}); + La = pa || ({}); Ma = { - Ml: 0 + Ll: 0 }; if (Za) { Va = Za.styling; if (Va) - for ($a = Va.style; $a; ) { - ib = $a[l.Vj]; - A(ib); + for (ab = Va.style; ab; ) { + ib = ab[l.Vj]; + B(ib); wa[ib.id] = ib; - $a = $a[l.WC]; + ab = ab[l.YC]; } yb = Za.layout; if (yb) for (var Eb = yb.region; Eb; ) { ib = Eb[l.Vj]; Hb = ib.id; - Ob = f.sN(wa[ib.style]); - Ob = f.Qb(Ob, ib); - for ($a = Eb.style; $a; ) { - f.Qb(Ob, $a[l.Vj]); - $a = $a[l.WC]; + Ob = f.tN(wa[ib.style]); + Ob = f.Tb(Ob, ib); + for (ab = Eb.style; ab; ) { + f.Tb(Ob, ab[l.Vj]); + ab = ab[l.YC]; } - A(Ob); - Sa[Hb] = Ob; - Ua[Hb] = w(Ob, ja, Ia, db, Ma); - Eb = Eb[l.WC]; + B(Ob); + Ta[Hb] = Ob; + Ua[Hb] = w(Ob, ma, Ia, cb, Ma); + Eb = Eb[l.YC]; } } - Cb = mb.div; + Cb = nb.div; Kb = Cb.p; Vb = []; mc = {}; - mc = p(mb[l.Vj], mc, wa, Sa, M); - mc = p(Cb[l.Vj], mc, wa, Sa, M); + mc = p(nb[l.Vj], mc, wa, Ta, L); + mc = p(Cb[l.Vj], mc, wa, Ta, L); Dc = {}; - Dc = p(mb[l.Vj], Dc, wa, Sa, O); - Dc = p(Cb[l.Vj], Dc, wa, Sa, O); - Md = v(mc, Ca, La, Ta); - f.Qb(Md, { - windowColor: m(La.windowColor || Ca.windowColor), - windowOpacity: n(f.j1(La.windowOpacity, Ca.windowOpacity), b.m6, 1), - cellResolution: db + Dc = p(nb[l.Vj], Dc, wa, Ta, Q); + Dc = p(Cb[l.Vj], Dc, wa, Ta, Q); + Md = v(mc, Ba, La, Sa); + f.Tb(Md, { + windowColor: m(La.windowColor || Ba.windowColor), + windowOpacity: n(f.l1(La.windowOpacity, Ba.windowOpacity), b.m6, 1), + cellResolution: cb }, { - Vy: !0 + Yy: !0 }); re = {}; Cb.p = void 0; - Cb[l.dO] = []; + Cb[l.cO] = []; } catch (pc) { - ta({ - oa: f.M.uY, - sb: f.vd(pc) + ra({ + oa: f.L.uY, + qb: f.vd(pc) }); return; } - Nd = d.NH(); - fd = setTimeout(ra, 1); - return za; + Nd = d.VH(); + fd = setTimeout(ta, 1); + return Ea; }; })(); - b.I_a = { + b.G_a = { "default": "PROPORTIONAL_SANS_SERIF", monospaceSansSerif: "MONOSPACED_SANS_SERIF", monospaceSerif: "MONOSPACED_SERIF", @@ -113785,7 +113759,7 @@ a000.D9b = function () { sansSerif: "PROPORTIONAL_SANS_SERIF", serif: "PROPORTIONAL_SERIF" }; - b.H_a = { + b.F_a = { SMALL: .5, MEDIUM: 1, LARGE: 2 @@ -113795,7 +113769,7 @@ a000.D9b = function () { SEMI_TRANSPARENT: .5, OPAQUE: 1 }; - b.G_a = { + b.E_a = { black: "#000000", silver: "#c0c0c0", gray: "#808080", @@ -113817,48 +113791,48 @@ a000.D9b = function () { orange: "#ffa500", pink: "#ffc0cb" }; - b.E_a = "NONE"; - b.PLb = "RAISED"; - b.OLb = "DEPRESED"; - b.F_a = "UNIFORM"; - b.dpa = "DROP_SHADOW"; - b.C_a = { + b.C_a = "NONE"; + b.SLb = "RAISED"; + b.RLb = "DEPRESED"; + b.D_a = "UNIFORM"; + b.Zoa = "DROP_SHADOW"; + b.A_a = { x: 40, y: 19 }; - b.D_a = { + b.B_a = { x: 52, y: 19 }; - }, function (q, b, a) { + }, function (r, b, a) { var h, m, n, - r; + q; function c(p) { - var u, - t, + var t, + u, v; - u = 0; - this.Ia.info("show subtitle called at " + this.Vw() + " for displayTime " + p.displayTime); + t = 0; + this.Ia.info("show subtitle called at " + this.$w() + " for displayTime " + p.displayTime); this.emit("showsubtitle", p); - t = this.AA[this.AA.length - 1]; - t.tN || (t.tN = {}); - if ("dfxp-ls-sdh" === this.JQ) + u = this.CA[this.CA.length - 1]; + u.uN || (u.uN = {}); + if ("dfxp-ls-sdh" === this.KQ) for (var w = 0; w < p.blocks.length; w++) { v = p.blocks[w]; - t.tN[v.id] || (u++, t.tN[v.id] = !0); + u.uN[v.id] || (t++, u.uN[v.id] = !0); } else - t.tN[p.id] || (u++, t.tN[p.id] = !0); - t.wW += u; + u.uN[p.id] || (t++, u.uN[p.id] = !0); + u.vW += t; } function f(p) { - this.Ia.info("remove subtitle called at " + this.Vw() + " for remove time " + (p.displayTime + p.duration)); + this.Ia.info("remove subtitle called at " + this.$w() + " for remove time " + (p.displayTime + p.duration)); this.emit("removesubtitle", p); } function k(p) { - this.Ia.info("stage subtitle called at " + this.Vw() + " for displayTime " + p.displayTime); + this.Ia.info("stage subtitle called at " + this.$w() + " for displayTime " + p.displayTime); this.emit("stagesubtitle", p); } function l() { @@ -113870,78 +113844,78 @@ a000.D9b = function () { this.emit("bufferingComplete"); } function g(p) { - var u; + var t; this.Ia.info("ending subtitle interval at " + p); - u = this.AA[this.AA.length - 1]; - u.Aa = p; - u.Aa < u.Z && (this.Ia.warn("correcting for interval where endPts is smaller than startPts"), u.Z = 0 < u.Aa ? u.Aa - 1 : 0); - u.q2 = this.Uc.Rq(u.Z, u.Aa); - delete u.tN; - u.q2 > u.wW && u.Bma && 500 > u.Aa - u.Bma && (u.q2 = this.Uc.Rq(u.Z, u.Bma)); - this.Ia.info("showed " + u.wW + " during this interval"); - this.Ia.info("expected " + u.q2 + " for this interval"); + t = this.CA[this.CA.length - 1]; + t.Ca = p; + t.Ca < t.X && (this.Ia.warn("correcting for interval where endPts is smaller than startPts"), t.X = 0 < t.Ca ? t.Ca - 1 : 0); + t.r2 = this.Uc.Qq(t.X, t.Ca); + delete t.uN; + t.r2 > t.vW && t.vma && 500 > t.Ca - t.vma && (t.r2 = this.Uc.Qq(t.X, t.vma)); + this.Ia.info("showed " + t.vW + " during this interval"); + this.Ia.info("expected " + t.r2 + " for this interval"); } h = a(109).EventEmitter; - m = a(992); - b = a(437)(); - n = a(993); - r = a(1E3); - a = function w(u, t) { + m = a(994); + b = a(441)(); + n = a(995); + q = a(1002); + a = function w(t, u) { var v, x; v = this; - x = u.We || !1; + x = t.Ye || !1; if (!(v instanceof w)) - return new w(u, t); + return new w(t, u); h.call(v); - v.Ia = u.ya || console; - v.pE = u.request; - v.Vw = u.dUa; + v.Ia = t.za || console; + v.sE = t.request; + v.$w = t.dUa; v.vg = null; v.Nk = !0; - v.AA = []; - v.JQ = t.profile; - v.Qk = t.url; - v.mE = t.od; - v.P_ = t.preferences; - v.i_ = t.jk; - v.Xw = v.mE || 0; - u = { + v.CA = []; + v.KQ = u.profile; + v.Qk = u.url; + v.pE = u.pd; + v.S_ = u.preferences; + v.l_ = u.jk; + v.bx = v.pE || 0; + t = { url: v.Qk, - request: v.pE, - od: v.mE, - xml: t.xml, - preferences: v.P_, - jk: v.i_, - ya: v.Ia, - We: x, - bufferSize: t.bufferSize, - et: t.et, - dqa: t.dqa || 0, - iNa: t.iNa - }; - if ("nflx-cmisc" === v.JQ) - (u.offset = t.Una, u.size = t.MYa, u.o7 = t.o7, u.IQa = t.IQa, v.Uc = new n(u)); - else if (-1 < ["simplesdh", "dfxp-ls-sdh"].indexOf(v.JQ) && "function" === typeof r) - v.Uc = new r(u); + request: v.sE, + pd: v.pE, + xml: u.xml, + preferences: v.S_, + jk: v.l_, + za: v.Ia, + Ye: x, + bufferSize: u.bufferSize, + kt: u.kt, + Ypa: u.Ypa || 0, + iNa: u.iNa + }; + if ("nflx-cmisc" === v.KQ) + (t.offset = u.Pna, t.size = u.JYa, t.l7 = u.l7, t.GQa = u.GQa, v.Uc = new n(t)); + else if (-1 < ["simplesdh", "dfxp-ls-sdh"].indexOf(v.KQ) && "function" === typeof q) + v.Uc = new q(t); else - throw Error("SubtitleManager: " + v.JQ + " is an unsupported profile"); + throw Error("SubtitleManager: " + v.KQ + " is an unsupported profile"); v.Uc.on("ready", function () { var y, z; - y = !!t.OMa; + y = !!u.PMa; v.Ia.info("ready event fired by subtitle stream"); v.emit("ready"); - z = v.Uc.tF.bind(v.Uc); - v.vg = new m(v.Vw, z, v.Ia, t); - if ("dfxp-ls-sdh" === v.JQ && "function" === typeof r) + z = v.Uc.xF.bind(v.Uc); + v.vg = new m(v.$w, z, v.Ia, u); + if ("dfxp-ls-sdh" === v.KQ && "function" === typeof q) v.vg.on("stagesubtitle", k.bind(v)); v.vg.on("showsubtitle", c.bind(v)); v.vg.on("removesubtitle", f.bind(v)); v.vg.on("underflow", l.bind(v)); v.vg.on("bufferingComplete", d.bind(v)); y && (v.Ia.info("autostarting subtitles"), setTimeout(function () { - v.Br(v.Vw()); + v.Er(v.$w()); }, 10)); }); v.Uc.on("error", v.emit.bind(v, "error")); @@ -113950,75 +113924,75 @@ a000.D9b = function () { a.prototype.start = function () { this.Uc.start(); }; - a.prototype.eqa = function () { - this.Nk || (this.Nk = !0, g.call(this, this.Xw)); + a.prototype.Zpa = function () { + this.Nk || (this.Nk = !0, g.call(this, this.bx)); }; - a.prototype.Br = function (u) { - !this.Nk && 1E4 < Math.abs(u - this.Xw) && (this.Ia.warn("Detected an unexpected pts jump larger than", 1E4, "at", u, ". If this is a seamless segment transition then the ptsShift API", "should have been called before the pts change was reflected."), this.eqa()); - this.Xw = u; - this.Nk && (this.Nk = !1, this.Ia.info("creating a new subtitle interval at " + u), this.AA.push({ - Z: u, - wW: 0 + a.prototype.Er = function (t) { + !this.Nk && 1E4 < Math.abs(t - this.bx) && (this.Ia.warn("Detected an unexpected pts jump larger than", 1E4, "at", t, ". If this is a seamless segment transition then the ptsShift API", "should have been called before the pts change was reflected."), this.Zpa()); + this.bx = t; + this.Nk && (this.Nk = !1, this.Ia.info("creating a new subtitle interval at " + t), this.CA.push({ + X: t, + vW: 0 })); - null !== this.vg && (this.AA[this.AA.length - 1].Bma = u, this.vg.Br(u)); + null !== this.vg && (this.CA[this.CA.length - 1].vma = t, this.vg.Er(t)); }; a.prototype.stop = function () { - var u; + var t; this.Ia.info("stop called"); this.Nk || this.pause(); this.Uc.removeAllListeners(["ready"]); null !== this.vg && this.vg.stop(); - u = this.AA.reduce(function (t, w) { - t.B3a += w.wW; - t.p2 += w.q2; - t.hEb.push(w); - return t; + t = this.CA.reduce(function (u, w) { + u.C3a += w.vW; + u.q2 += w.r2; + u.kEb.push(w); + return u; }, { - B3a: 0, - p2: 0, - hEb: [] + C3a: 0, + q2: 0, + kEb: [] }); "object" === typeof this.Uc && this.Uc.close(); - this.Ia.info("metrics: " + JSON.stringify(u)); - return u; + this.Ia.info("metrics: " + JSON.stringify(t)); + return t; }; a.prototype.pause = function () { - var u; - u = this.Vw(); - this.Nk ? this.Ia.warn("pause called on subtitle manager, but it was already paused!") : (this.Ia.info("pause called at " + u), this.Nk = !0, g.call(this, u)); + var t; + t = this.$w(); + this.Nk ? this.Ia.warn("pause called on subtitle manager, but it was already paused!") : (this.Ia.info("pause called at " + t), this.Nk = !0, g.call(this, t)); null !== this.vg && this.vg.pause(); }; - a.prototype.DT = function (u, t) { - return this.Uc.DT(u, t); + a.prototype.BT = function (t, u) { + return this.Uc.BT(t, u); }; - a.prototype.Rq = function (u, t) { - return this.Uc.Rq(u, t); + a.prototype.Qq = function (t, u) { + return this.Uc.Qq(t, u); }; - a.prototype.tF = function (u) { - return this.Uc.tF(u); + a.prototype.xF = function (t) { + return this.Uc.xF(t); }; - a.prototype.rz = function (u) { + a.prototype.wz = function (t) { var w; - function t() { + function u() { w.Ia.trace("bufferingComplete from setStreamStartPosition"); w.emit("bufferingComplete"); } w = this; - "function" === typeof w.Uc.rz ? w.Uc.rz(u, t) : t(); + "function" === typeof w.Uc.wz ? w.Uc.wz(t, u) : u(); }; - a.prototype.Ak = function (u, t) { - this.Uc.Ak && this.Uc.Ak(u, t); + a.prototype.Bk = function (t, u) { + this.Uc.Bk && this.Uc.Bk(t, u); }; - a.prototype.ti = function (u, t) { - this.Uc.ti && this.Uc.ti(u, t); + a.prototype.ti = function (t, u) { + this.Uc.ti && this.Uc.ti(t, u); }; a = b([{ request: "function", dUa: "function", - ya: "object" + za: "object" }, "object"], a); - q.exports.default = a; - }, function (q, b, a) { + r.exports.default = a; + }, function (r, b, a) { var l; function c(d, g) { return g.reduce(f.bind(this, d), []); @@ -114039,67 +114013,67 @@ a000.D9b = function () { }; } l = a(109).EventEmitter; - b = a(437)({}); - a = function r(g, h, m, n) { - if (!(this instanceof r)) - return new r(g, h, m, n); + b = a(441)({}); + a = function q(g, h, m, n) { + if (!(this instanceof q)) + return new q(g, h, m, n); l.call(this); - this.Vw = g; - this.rgb = h; - this.hx = {}; - this.wE = {}; + this.$w = g; + this.sgb = h; + this.nx = {}; + this.yE = {}; this.Ia = m || console; - this.TZ = !1; - this.Fib = n && n.dqa || 0; + this.VZ = !1; + this.Gib = n && n.Ypa || 0; }; a.prototype = Object.create(l.prototype); a.prototype.stop = function () { clearTimeout(this.vg); - this.zPb(); + this.EPb(); }; - a.prototype.zPb = function () { + a.prototype.EPb = function () { var g; g = this; - Object.keys(g.hx).forEach(function (h) { - g.emit("removesubtitle", g.hx[h]); + Object.keys(g.nx).forEach(function (h) { + g.emit("removesubtitle", g.nx[h]); }); - g.hx = {}; - g.wE = {}; + g.nx = {}; + g.yE = {}; }; a.prototype.pause = function () { clearTimeout(this.vg); }; - a.prototype.Br = function (g, h) { + a.prototype.Er = function (g, h) { var m, n; m = this; - n = m.Vw(); + n = m.$w(); clearTimeout(this.vg); - g = m.rgb(n); - null !== g && m.TZ && (m.TZ = !1, m.emit("bufferingComplete")); + g = m.sgb(n); + null !== g && m.VZ && (m.VZ = !1, m.emit("bufferingComplete")); h = "number" === typeof h ? h : 0; - Object.keys(m.hx).forEach(function (r) { - r = m.hx[r]; - r.displayTime - m.Fib <= n && n < r.displayTime + r.duration || (delete m.hx[r.id], m.emit("removesubtitle", r)); + Object.keys(m.nx).forEach(function (q) { + q = m.nx[q]; + q.displayTime - m.Gib <= n && n < q.displayTime + q.duration || (delete m.nx[q.id], m.emit("removesubtitle", q)); }); - Object.keys(m.wE).forEach(function (r) { - r = m.wE[r]; - n >= r.displayTime + r.duration && delete m.wE[r.id]; + Object.keys(m.yE).forEach(function (q) { + q = m.yE[q]; + n >= q.displayTime + q.duration && delete m.yE[q.id]; }); - null !== g && 0 < g.length ? (h = g.length, m.Ia.info("found " + h + " entries for pts " + n), g.forEach(function (r) { - r.displayTime - 0 <= n && n < r.displayTime + r.duration && !m.hx[r.id] && (m.emit("showsubtitle", r), m.hx[r.id] = r, delete m.wE[r.id]); - }), h = g[g.length - 1], m.hx[h.id] || m.wE[h.id] || (m.emit("stagesubtitle", h), m.wE[h.id] = h), h = c(n, g), 0 < h.length ? m.X_(h[0].timeout) : m.X_(2E4)) : null === g ? (g = 250 * Math.pow(2, h), 2E3 < g && (g = 2E3), m.Ia.warn("checking buffer again in " + g + "ms"), m.TZ || (m.TZ = !0, m.emit("underflow")), m.X_(g, h + 1)) : m.X_(2E4); + null !== g && 0 < g.length ? (h = g.length, m.Ia.info("found " + h + " entries for pts " + n), g.forEach(function (q) { + q.displayTime - 0 <= n && n < q.displayTime + q.duration && !m.nx[q.id] && (m.emit("showsubtitle", q), m.nx[q.id] = q, delete m.yE[q.id]); + }), h = g[g.length - 1], m.nx[h.id] || m.yE[h.id] || (m.emit("stagesubtitle", h), m.yE[h.id] = h), h = c(n, g), 0 < h.length ? m.Z_(h[0].timeout) : m.Z_(2E4)) : null === g ? (g = 250 * Math.pow(2, h), 2E3 < g && (g = 2E3), m.Ia.warn("checking buffer again in " + g + "ms"), m.VZ || (m.VZ = !0, m.emit("underflow")), m.Z_(g, h + 1)) : m.Z_(2E4); }; - a.prototype.X_ = function (g, h) { + a.prototype.Z_ = function (g, h) { var m; m = this; m.Ia.info("Scheduling pts check."); m.vg = setTimeout(function () { - m.Br(m.Vw(), h); + m.Er(m.$w(), h); }, g); }; - q.exports = b(["function", "function", "object", "object"], a); - }, function (q, b, a) { + r.exports = b(["function", "function", "object", "object"], a); + }, function (r, b, a) { var f, k, l, @@ -114109,353 +114083,353 @@ a000.D9b = function () { function c(m) { f.call(this); this.Qk = m.url; - this.pE = m.request; - this.mE = m.od || 0; - this.Ia = m.ya; - this.Zh = this.wq = null; - m.et ? this.wq = m.et : (this.ve = m.offset, this.BJ = m.size); - this.Bl; - this.qda = m; + this.sE = m.request; + this.pE = m.pd || 0; + this.Ia = m.za; + this.Zh = this.yq = null; + m.kt ? this.yq = m.kt : (this.xe = m.offset, this.DJ = m.size); + this.Al; + this.kda = m; } f = a(109).EventEmitter; - k = a(994); - l = a(995); - d = a(996); + k = a(996); + l = a(997); + d = a(998); g = a(153); h = c.events = { - sbb: "midxready", - Kdb: "sidxready", - vdb: "ready", - uf: "error" + wbb: "midxready", + Ndb: "sidxready", + ydb: "ready", + wf: "error" }; c.prototype = Object.create(f.prototype); c.prototype.constructor = c; Object.defineProperties(c.prototype, { - Ho: { + Io: { get: function () { - return this.Bl && this.Bl.bha; + return this.Al && this.Al.Wga; } } }); c.prototype.start = function () { - this.wq ? (this.Ia.warn("midx was prefectched and provided"), this.QIa(this.wq)) : this.Ofb(this.ve, this.BJ, this.Aib.bind(this)); + this.yq ? (this.Ia.warn("midx was prefectched and provided"), this.OIa(this.yq)) : this.Pfb(this.xe, this.DJ, this.Bib.bind(this)); }; c.prototype.close = function () {}; - c.prototype.DT = function (m, n) { - return this.Bl && this.Bl.xka(m, n); + c.prototype.BT = function (m, n) { + return this.Al && this.Al.tka(m, n); }; - c.prototype.Rq = function (m, n) { - return (m = this.DT(m, n)) ? m.length : m; + c.prototype.Qq = function (m, n) { + return (m = this.BT(m, n)) ? m.length : m; }; - c.prototype.rz = function (m, n) { + c.prototype.wz = function (m, n) { this.Ia.debug("setStreamStartPosition: buffering subtitles at pts " + m); - this.mE = m; - this.Bl ? this.Bl.rz(m, n) : n && n(); + this.pE = m; + this.Al ? this.Al.wz(m, n) : n && n(); }; - c.prototype.tF = function (m) { + c.prototype.xF = function (m) { var n, - r, + q, p; - if (!this.Bl || m > g.Bzb(this.wq)) + if (!this.Al || m > g.Fzb(this.yq)) return []; - this.Bl && this.Bl.Oha(m); - n = this.Ho.Wv; - r = this.Ho.index; + this.Al && this.Al.Iha(m); + n = this.Io.wr; + q = this.Io.index; p = []; - r = g.Hc(r) && this.Zh[r + 1]; - if (!(r && r.entries.length || n && !(m > n.endTime))) + q = g.Jc(q) && this.Zh[q + 1]; + if (!(q && q.entries.length || n && !(m > n.endTime))) return []; - n && n.images.length && (p = this.bJa(n, m, [])); - 2 > p.length && r && r.images.length && (n = this.bJa(r, m, p), p.push.apply(p, n)); - return this.Bl.gsa(m) ? null : g.IOa(p); + n && n.images.length && (p = this.$Ia(n, m, [])); + 2 > p.length && q && q.images.length && (n = this.$Ia(q, m, p), p.push.apply(p, n)); + return this.Al.$ra(m) ? null : g.HOa(p); }; c.prototype.ti = function (m, n) { - this.Bl && this.Bl.ti(m, n); + this.Al && this.Al.ti(m, n); }; - c.prototype.Ak = function (m, n) { - this.Bl && this.Bl.Ak(m, n); + c.prototype.Bk = function (m, n) { + this.Al && this.Al.Bk(m, n); }; - c.prototype.Ofb = function (m, n, r) { + c.prototype.Pfb = function (m, n, q) { this.Ia.debug("downloading midx..."); - this.nJa(m, n, "binary", r); + this.lJa(m, n, "binary", q); }; - c.prototype.Pfb = function (m, n, r) { + c.prototype.Qfb = function (m, n, q) { this.Ia.debug("downloading sidx..."); - this.nJa(m, n, void 0, r); + this.lJa(m, n, void 0, q); }; - c.prototype.nJa = function (m, n, r, p) { - this.pE({ + c.prototype.lJa = function (m, n, q, p) { + this.sE({ url: this.Qk, offset: m, size: n, - responseType: r + responseType: q }, p); }; - c.prototype.Aib = function (m, n) { + c.prototype.Bib = function (m, n) { if (m) - this.emit(h.uf, g.pT(m, "midxdownloaderror")); + this.emit(h.wf, g.nT(m, "midxdownloaderror")); else try { - this.wq = new k(n); - this.QIa(this.wq); - } catch (r) { - this.emit(h.uf, g.pT(r, "midxparseerror")); + this.yq = new k(n); + this.OIa(this.yq); + } catch (q) { + this.emit(h.wf, g.nT(q, "midxparseerror")); } }; - c.prototype.QIa = function (m) { + c.prototype.OIa = function (m) { var n; - n = m.entries.reduce(function (r, p) { - return r + p.size; + n = m.entries.reduce(function (q, p) { + return q + p.size; }, 0); - n ? (this.emit(h.sbb, m), this.Pfb(m.startOffset, n, this.Dib.bind(this, m))) : this.emit(h.uf, g.pT({}, "nosidxfoundinmidx")); + n ? (this.emit(h.wbb, m), this.Qfb(m.startOffset, n, this.Eib.bind(this, m))) : this.emit(h.wf, g.nT({}, "nosidxfoundinmidx")); }; - c.prototype.Dib = function (m, n, r) { + c.prototype.Eib = function (m, n, q) { var p, - u, t, + u, w; p = this; if (n) - p.emit(h.uf, g.pT(n, "sidxdownloaderror")); + p.emit(h.wf, g.nT(n, "sidxdownloaderror")); else { - u = 0; t = 0; + u = 0; p.Zh = []; try { w = 0; m.entries.forEach(function (v) { var x; - x = new l(r, u, m.Ela, p.Ia, t, t + v.duration, w); + x = new l(q, t, m.zla, p.Ia, u, u + v.duration, w); p.Zh.push(x); - v.eTb = x; - t = x.Jp; - u += v.size; + v.hTb = x; + u = x.Mp; + t += v.size; w++; }); } catch (v) { - p.emit(h.uf, g.pT(v, "sidxparseerror")); + p.emit(h.wf, g.nT(v, "sidxparseerror")); return; } - p.emit(h.Kdb, p.Zh); - this.Bl = new d(p.qda, m, p.Zh); - n = p.mE; - p.qda && p.qda.o7 || (n = Math.max(p.mE - 1E4, 0)); - this.Bl.Oha(n, function (v) { + p.emit(h.Ndb, p.Zh); + this.Al = new d(p.kda, m, p.Zh); + n = p.pE; + p.kda && p.kda.l7 || (n = Math.max(p.pE - 1E4, 0)); + this.Al.Iha(n, function (v) { v && p.Ia.error("initial sidx download failed"); - p.emit(h.vdb); + p.emit(h.ydb); }); } }; - c.prototype.bJa = function (m, n, r) { + c.prototype.$Ia = function (m, n, q) { var y; - for (var p = m.entries, u = 0, t = p.length, w = [], v, x = this.wq; u < t; ) { - v = p[u]; + for (var p = m.entries, t = 0, u = p.length, w = [], v, x = this.yq; t < u; ) { + v = p[t]; if (v.displayTime <= n) - v.displayTime + v.duration >= n && w.push(g.Tga(v, m.images[u].data, x)); + v.displayTime + v.duration >= n && w.push(g.Nga(v, m.images[t].data, x)); else { - y = w.length && w[w.length - 1] || r.length && r[r.length - 1]; + y = w.length && w[w.length - 1] || q.length && q[q.length - 1]; if (y && y.displayTime > n && y.displayTime !== v.displayTime) break; - y.IF !== v.IF && w.push(g.Tga(v, m.images[u].data, x)); + y.NF !== v.NF && w.push(g.Nga(v, m.images[t].data, x)); } - u++; + t++; } return w; }; - q.exports = c; - }, function (q, b, a) { + r.exports = c; + }, function (r, b, a) { var f, k; function c(l, d) { this.duration = l; this.size = d; - this.eTb = void 0; + this.hTb = void 0; } - f = a(259); + f = a(260); k = a(153); - q.exports = function (l) { + r.exports = function (l) { var m; l = new f(l); - this.identifier = l.oqa(4); + this.identifier = l.iqa(4); k.assert("midx" === this.identifier); - this.version = l.Kp(4); + this.version = l.Np(4); k.assert(0 === this.version); - this.Ela = l.ph(36); + this.zla = l.oh(36); this.creationTime = l.OM(); - this.Ep = l.OM(); + this.Gp = l.OM(); this.K = l.OM(); - this.FQb = l.Vg(); - this.GQb = l.Vg(); - this.language = l.ph(16); - l.ph(16); + this.KQb = l.Tg(); + this.LQb = l.Tg(); + this.language = l.oh(16); + l.oh(16); this.startOffset = l.OM(); - this.Ml = l.Vg(); - for (var d = [], g = 0, h = 0; h < this.Ml; h++) { - m = new c(l.Kp(4), l.Vg()); + this.Ll = l.Tg(); + for (var d = [], g = 0, h = 0; h < this.Ll; h++) { + m = new c(l.Np(4), l.Tg()); d.push(m); g += m.duration; } this.entries = d; this.endTime = g; }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l; - function c(d, g, h, m, n, r, p, u) { + function c(d, g, h, m, n, q, p, t) { this.displayTime = d; this.duration = g; - this.qLb = h; - this.rLb = m; - this.lTb = n; - this.mTb = r; - this.IF = p; - this.rla = u; - } - function f(d, g, h, m, n, r, p) { - var u; + this.sLb = h; + this.tLb = m; + this.oTb = n; + this.pTb = q; + this.NF = p; + this.mla = t; + } + function f(d, g, h, m, n, q, p) { + var t; d = new k(d); - u = 0; + t = 0; d.position = g; this.Ia = m; - this.identifier = d.oqa(4); + this.identifier = d.iqa(4); l.assert("sidx" === this.identifier, m); - this.Ela = d.ph(36); - l.epb(this.Ela, h, m); - this.duration = d.Kp(4); - this.Ml = d.Vg(); - this.Ov = n; - this.Jp = r; + this.zla = d.oh(36); + l.fpb(this.zla, h, m); + this.duration = d.Np(4); + this.Ll = d.Tg(); + this.Tv = n; + this.Mp = q; this.index = p || 0; this.entries = []; this.images = []; - for (this.Fda = 0; u < this.Ml; ) { - g = new c(d.Kp(4), d.Kp(4), d.Vg(), d.Vg(), d.Vg(), d.Vg(), d.OM(), d.Kp(4)); - u++; + for (this.zda = 0; t < this.Ll; ) { + g = new c(d.Np(4), d.Np(4), d.Tg(), d.Tg(), d.Tg(), d.Tg(), d.OM(), d.Np(4)); + t++; this.entries.push(g); } this.entries.length && (this.startTime = this.entries[0].displayTime, this.endTime = this.entries[this.entries.length - 1].displayTime + this.entries[this.entries.length - 1].duration); } - k = a(259); + k = a(260); l = a(153); - f.prototype.JDb = function () { - this.Fda++; + f.prototype.NDb = function () { + this.zda++; }; - f.prototype.htb = function () { + f.prototype.jtb = function () { var d; d = 0; - this.Fda--; - 1 > this.Fda ? this.images && 0 < this.images.length && (d += l.tka([this]), this.images = []) : this.Ia.debug("Not cleaning up shared sidx with range", this.Ov, "-", this.Jp); + this.zda--; + 1 > this.zda ? this.images && 0 < this.images.length && (d += l.pka([this]), this.images = []) : this.Ia.debug("Not cleaning up shared sidx with range", this.Tv, "-", this.Mp); return d; }; - q.exports = f; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { var l, d; function c(g, h) { var n; g = g || 0; if (h) - for (var m in h.Ca) { - n = h.Ca[m]; - if (g >= (n.xc || 0) && (!n.Yc || g < n.Yc)) + for (var m in h.wa) { + n = h.wa[m]; + if (g >= (n.jc || 0) && (!n.Fc || g < n.Fc)) return m; } } function f(g, h) { - return g && h && h.Ca[g]; + return g && h && h.wa[g]; } function k(g, h, m) { var n; - this.Ia = g.ya; + this.Ia = g.za; this.Zh = m; - this.KA = this.tfb(g.o7); - this.Lg = []; + this.NA = this.ufb(g.l7); + this.Jg = []; n = m && m[m.length - 1]; - this.Xw = n && (n.endTime || n.Jp); + this.bx = n && (n.endTime || n.Mp); this.qg = new l(g, h, m); - g = c(g.od || 0, this.KA); - this.rn = this.Sw(g); + g = c(g.pd || 0, this.NA); + this.qn = this.Xw(g); } - l = a(997); - d = a(999); + l = a(999); + d = a(1001); Object.defineProperties(k.prototype, { - bha: { + Wga: { get: function () { - return this.qg.bha; + return this.qg.Wga; } } }); - k.prototype.xka = function (g, h) { - return this.qg && this.qg.xka(g, h); + k.prototype.tka = function (g, h) { + return this.qg && this.qg.tka(g, h); }; - k.prototype.Oha = function (g, h) { - this.qg.NRb(g); - this.$Ka(g); - if (!this.KA && this.Xw && g > this.Xw) + k.prototype.Iha = function (g, h) { + this.qg.QRb(g); + this.YKa(g); + if (!this.NA && this.bx && g > this.bx) h && h(); - else if ((g = this.MIa(g, this.rn, 2, h), this.KA && 0 < this.rn.rZa.length)) + else if ((g = this.KIa(g, this.qn, 2, h), this.NA && 0 < this.qn.oZa.length)) h && h(); - else if (this.KA && this.rn.yL && g) { - 2 > this.Lg.length && this.zfb(this.rn); - h = Math.ceil(2 / (this.Lg.length - 1)); - for (var m = 0; m < this.Lg.length && g && 3 > m; m++) { - g = this.Lg[m]; - g = this.MIa(g.startTime, g, h); + else if (this.NA && this.qn.BL && g) { + 2 > this.Jg.length && this.Afb(this.qn); + h = Math.ceil(2 / (this.Jg.length - 1)); + for (var m = 0; m < this.Jg.length && g && 3 > m; m++) { + g = this.Jg[m]; + g = this.KIa(g.startTime, g, h); } } }; - k.prototype.gsa = function (g) { - return this.qg.gsa(g) ? (this.qg.Ykb(), this.Oha(g), this.rn.yL = !1, !0) : !1; + k.prototype.$ra = function (g) { + return this.qg.$ra(g) ? (this.qg.Zkb(), this.Iha(g), this.qn.BL = !1, !0) : !1; }; - k.prototype.rz = function (g, h) { + k.prototype.wz = function (g, h) { var m; - this.$Ka(g); - this.Lg.forEach(function (n) { - n.yL = !1; + this.YKa(g); + this.Jg.forEach(function (n) { + n.BL = !1; }); - m = this.rn.bn && this.rn.bn[0]; - this.qg.rz(g, m && m.index); - (g = this.qg.tBb(g)) && g.length ? this.qg.sQa(g, h) : h && h(); + m = this.qn.$m && this.qn.$m[0]; + this.qg.wz(g, m && m.index); + (g = this.qg.vBb(g)) && g.length ? this.qg.pQa(g, h) : h && h(); }; - k.prototype.Ak = function (g, h) { + k.prototype.Bk = function (g, h) { var m; this.Ia.debug("Set next segment to", h, "for segment", g); - g = this.UIa(g) || this.Sw(g); + g = this.SIa(g) || this.Xw(g); g.D2a = h; m = this; - g.WU = g.WU.filter(function (n) { + g.VU = g.VU.filter(function (n) { if (n.id === h) return !0; - m.pca(n); + m.jca(n); return !1; }); }; k.prototype.ti = function (g, h) { var m; - m = f(g, this.KA); + m = f(g, this.NA); Object.keys(m.next).forEach(function (n) { m.next[n].weight = h[n] || 0; }); }; - k.prototype.tfb = function (g) { + k.prototype.ufb = function (g) { var h, n; h = {}; - if (g = (g || ({})).Ca) { - h.Ca = {}; + if (g = (g || ({})).wa) { + h.wa = {}; for (var m in g) { n = g[m] || ({}); - h.Ca[m] = { - xc: n.xc, - Yc: n.Yc, - Ki: n.Ki, - next: this.sfb(n.next) + h.wa[m] = { + jc: n.jc, + Fc: n.Fc, + Fh: n.Fh, + next: this.tfb(n.next) }; } } return h; }; - k.prototype.sfb = function (g) { + k.prototype.tfb = function (g) { var h, m; h = {}; @@ -114466,137 +114440,137 @@ a000.D9b = function () { } return h; }; - k.prototype.$Ka = function (g) { + k.prototype.YKa = function (g) { var h, m; - if (this.KA && this.rn.startTime > g || this.rn.endTime && this.rn.endTime < g) { - h = this.rn; - m = c(g, this.KA); - m ? (this.Ia.debug("Switching segments from", this.rn.id, "to", m, "at pts", g), this.rn = this.UIa(m) || this.Sw(m), this.pca(h)) : this.Ia.debug("The pts is outside of the current segment but not in a new one yet"); + if (this.NA && this.qn.startTime > g || this.qn.endTime && this.qn.endTime < g) { + h = this.qn; + m = c(g, this.NA); + m ? (this.Ia.debug("Switching segments from", this.qn.id, "to", m, "at pts", g), this.qn = this.SIa(m) || this.Xw(m), this.jca(h)) : this.Ia.debug("The pts is outside of the current segment but not in a new one yet"); } }; - k.prototype.Sw = function (g) { + k.prototype.Xw = function (g) { this.Ia.debug("SegmentManager: creating segment", g); - g = new d(g, f(g, this.KA), this.Zh, this.Ia); - this.Lg.push(g); - this.Ia.debug("SegmentManager: segment contains", g.bn.length, "sidxes"); + g = new d(g, f(g, this.NA), this.Zh, this.Ia); + this.Jg.push(g); + this.Ia.debug("SegmentManager: segment contains", g.$m.length, "sidxes"); return g; }; - k.prototype.pca = function (g) { + k.prototype.jca = function (g) { var h; - if (g && g !== this.rn) { + if (g && g !== this.qn) { this.Ia.debug("SegmentManager: deleting segment", g.id); - g.WU.forEach(this.pca.bind(this)); - this.Lg = this.Lg.filter(function (m) { + g.VU.forEach(this.jca.bind(this)); + this.Jg = this.Jg.filter(function (m) { return m !== g; }); - h = g.ZNa(); - this.qg.vPb(h && h.size || 0, h && h.bn); + h = g.XNa(); + this.qg.APb(h && h.size || 0, h && h.$m); } }; - k.prototype.UIa = function (g) { + k.prototype.SIa = function (g) { var m; - for (var h = 0; g && h < this.Lg.length; h++) { - m = this.Lg[h]; + for (var h = 0; g && h < this.Jg.length; h++) { + m = this.Jg[h]; if (g === m.id) return m; } }; - k.prototype.zfb = function (g) { + k.prototype.Afb = function (g) { var h, n; h = g.D2a; if (h && "" !== h) - g.WU.push(this.Sw(h)); + g.VU.push(this.Xw(h)); else { - h = g.rZa; + h = g.oZa; for (var m in h) { n = h[m]; if (!n || !n.weight) break; - g.WU.push(this.Sw(m)); + g.VU.push(this.Xw(m)); } } }; - k.prototype.MIa = function (g, h, m, n) { - if (!h || h.yL) + k.prototype.KIa = function (g, h, m, n) { + if (!h || h.BL) return (this.Ia.debug("Done driving segment", h && h.id), !0); - if (!this.qg.Lnb) + if (!this.qg.Mnb) return (this.Ia.debug("Throttling buffering in quiet period"), !1); this.Ia.debug("Drive streaming of segment", h.id, "from pts", g); - m = (g = this.qg.uBb(g, h, m)) && g.length || 0; + m = (g = this.qg.wBb(g, h, m)) && g.length || 0; if (0 === m) - return (this.Ia.debug("Segment is fully downloaded", h && h.id), h.yL = !0, n && n(), !0); + return (this.Ia.debug("Segment is fully downloaded", h && h.id), h.BL = !0, n && n(), !0); this.Ia.debug("Downloading", m, "sidxes in segment", h.id); - return this.qg.sQa(g, function (r, p) { - r && (h.yL = !1); - n && n(r, p); + return this.qg.pQa(g, function (q, p) { + q && (h.BL = !1); + n && n(q, p); }); }; - q.exports = k; - }, function (q, b, a) { + r.exports = k; + }, function (r, b, a) { var h, m; - function c(n, r, p) { - var u; - u = p.displayTime <= n && n <= p.displayTime + p.duration; - return n <= p.displayTime && p.displayTime <= r || u; - } - function f(n, r, p) { - return r && (!r.entries.length && n > r.Ov || n > r.endTime) && p.entries.length && n < p.endTime; - } - function k(n, r, p) { - this.sE = this.vu = 0; - this.ahb = n.bufferSize || 4194304; - this.Ho = new g(); - this.kE; - this.aE = n.We; - this.Ia = n.ya; - this.wq = r; + function c(n, q, p) { + var t; + t = p.displayTime <= n && n <= p.displayTime + p.duration; + return n <= p.displayTime && p.displayTime <= q || t; + } + function f(n, q, p) { + return q && (!q.entries.length && n > q.Tv || n > q.endTime) && p.entries.length && n < p.endTime; + } + function k(n, q, p) { + this.uE = this.Au = 0; + this.bhb = n.bufferSize || 4194304; + this.Io = new g(); + this.nE; + this.dE = n.Ye; + this.Ia = n.za; + this.yq = q; this.Zh = p; - this.zn = new h(n); - this.CE = new d(this.Zh.length, n.IQa); - this.MQ = new l(n.iNa); + this.yn = new h(n); + this.EE = new d(this.Zh.length, n.GQa); + this.NQ = new l(n.iNa); } function l(n) { - this.Wfb = 0 !== n; + this.Xfb = 0 !== n; this.on = !1; - this.qj = n || 3E3; + this.nj = n || 3E3; this.vg; } - function d(n, r) { - if (this.enabled = r) - this.bn = Array.apply(null, Array(n)).map(function () { + function d(n, q) { + if (this.enabled = q) + this.$m = Array.apply(null, Array(n)).map(function () { return "-"; }); } - function g(n, r) { - this.Wv = n; - this.index = r; + function g(n, q) { + this.wr = n; + this.index = q; } - h = a(998); + h = a(1E3); m = a(153); g.prototype.reset = function () { - this.index = this.Wv = void 0; + this.index = this.wr = void 0; }; d.prototype.ea = function (n) { - this.enabled && n < this.bn.length && (this.bn[n] = "x"); + this.enabled && n < this.$m.length && (this.$m[n] = "x"); }; - d.prototype.n_a = function (n) { - this.enabled && n < this.bn.length && (this.bn[n] = "-"); + d.prototype.l_a = function (n) { + this.enabled && n < this.$m.length && (this.$m[n] = "-"); }; d.prototype.toString = function () { - return this.enabled && "|" + this.bn.join("") + "|"; + return this.enabled && "|" + this.$m.join("") + "|"; }; l.prototype.start = function () { var n; - if (this.Wfb) { + if (this.Xfb) { n = this; this.on = !0; this.vg = setTimeout(function () { n.on = !1; n.vg = void 0; - }, this.qj); + }, this.nj); } }; l.prototype.stop = function () { @@ -114605,180 +114579,180 @@ a000.D9b = function () { this.vg = void 0; }; Object.defineProperties(k.prototype, { - bha: { + Wga: { get: function () { - return this.Ho; + return this.Io; } }, - Lnb: { + Mnb: { get: function () { - return !this.MQ.on; + return !this.NQ.on; } } }); - k.prototype.BQ = function () { - this.CE.enabled && this.Ia.debug("Buffer: " + this.CE.toString()); + k.prototype.CQ = function () { + this.EE.enabled && this.Ia.debug("Buffer: " + this.EE.toString()); }; - k.prototype.Xib = function (n) { - this.sE += n; - this.Ia.debug("Reserved buffer size is", this.vu + this.sE, "after reserving", n); + k.prototype.Yib = function (n) { + this.uE += n; + this.Ia.debug("Reserved buffer size is", this.Au + this.uE, "after reserving", n); }; k.prototype.Gjb = function (n) { - this.sE -= n; - this.Ia.debug("Reserved buffer size is", this.vu + this.sE, "after unreserving", n); + this.uE -= n; + this.Ia.debug("Reserved buffer size is", this.Au + this.uE, "after unreserving", n); }; - k.prototype.rfb = function (n) { - this.vu += n; - this.Ia.debug("Buffer size is", this.vu, "after claiming", n); + k.prototype.sfb = function (n) { + this.Au += n; + this.Ia.debug("Buffer size is", this.Au, "after claiming", n); }; - k.prototype.yKa = function (n) { - this.vu -= n; - this.Ia.debug("Buffer size is", this.vu, "after clearing", n); + k.prototype.wKa = function (n) { + this.Au -= n; + this.Ia.debug("Buffer size is", this.Au, "after clearing", n); }; - k.prototype.vPb = function (n, r) { + k.prototype.APb = function (n, q) { var p; - this.yKa(n); + this.wKa(n); p = this; - r && this.CE.enabled && (r.forEach(function (u) { - p.CE.n_a(u.index); - }), this.BQ()); + q && this.EE.enabled && (q.forEach(function (t) { + p.EE.l_a(t.index); + }), this.CQ()); }; - k.prototype.gsa = function (n) { - var r; - r = this.hgb(n); - return m.xVa(r) && m.oUb(n, r); + k.prototype.$ra = function (n) { + var q; + q = this.igb(n); + return m.vVa(q) && m.qUb(n, q); }; - k.prototype.NRb = function (n) { - var r; - r = this.gJa(n); - (!r || r.index) !== (!this.Ho || this.Ho.index) && (this.kE = this.Ho.Wv, r ? (this.aE && this.Ia.debug("Current sidx is index", r.index), this.Ho = r) : (this.aE && this.Ia.debug("Current sidx is out of range"), this.Ho.reset())); - this.kE && "number" === typeof this.kE.index && (n < this.kE.Ov - 35E3 || n > this.kE.Jp + 35E3) && (this.gca(this.kE.index), this.kE = void 0, this.BQ()); + k.prototype.QRb = function (n) { + var q; + q = this.eJa(n); + (!q || q.index) !== (!this.Io || this.Io.index) && (this.nE = this.Io.wr, q ? (this.dE && this.Ia.debug("Current sidx is index", q.index), this.Io = q) : (this.dE && this.Ia.debug("Current sidx is out of range"), this.Io.reset())); + this.nE && "number" === typeof this.nE.index && (n < this.nE.Tv - 35E3 || n > this.nE.Mp + 35E3) && (this.aca(this.nE.index), this.nE = void 0, this.CQ()); }; - k.prototype.rz = function (n, r) { + k.prototype.wz = function (n, q) { var p, - u; + t; p = this.Zh && this.Zh.length; - for (r; r < p; r++) { - (u = this.Zh[r]) && ((u.endTime || u.Jp) >= n - 1E4 && (u.endTime || u.Jp) < n + 3E5 || this.gca(r)); + for (q; q < p; q++) { + (t = this.Zh[q]) && ((t.endTime || t.Mp) >= n - 1E4 && (t.endTime || t.Mp) < n + 3E5 || this.aca(q)); } - this.MQ.stop(); - this.BQ(); + this.NQ.stop(); + this.CQ(); }; - k.prototype.Ykb = function () { + k.prototype.Zkb = function () { var n, - r; + q; this.Ia.debug("executing aggressive cleanup"); n = this.Zh && this.Zh.length; - for (r = 0; r < n; r++) { - r === this.Ho.index && (r += 2); - this.gca(r); + for (q = 0; q < n; q++) { + q === this.Io.index && (q += 2); + this.aca(q); } - this.MQ.stop(); - this.BQ(); + this.NQ.stop(); + this.CQ(); }; - k.prototype.tBb = function (n) { - var r, + k.prototype.vBb = function (n) { + var q, p, - u, - t; - r = []; - p = this.gJa(n); + t, + u; + q = []; + p = this.eJa(n); if (!p) - return (this.Ho.reset(), r); - this.Ho = p; - u = n + 1E4; + return (this.Io.reset(), q); + this.Io = p; + t = n + 1E4; p = p.index; - t = this.Zh[p]; + u = this.Zh[p]; p; - for (t; p < this.Zh.length && u > t.Ov; (p++, t = this.Zh[p])) { - m.xVa(t) && m.pUb(n, u, t) && r.push(t); + for (u; p < this.Zh.length && t > u.Tv; (p++, u = this.Zh[p])) { + m.vVa(u) && m.rUb(n, t, u) && q.push(u); } - return r; + return q; }; - k.prototype.sQa = function (n, r) { + k.prototype.pQa = function (n, q) { var p, - u, t, + u, w, v, x; if (!n || !n.length) - return (r && r(null), !0); - this.zn.HQ && 2 <= Object.keys(this.zn.HQ).length && !this.MQ.on && (this.Ia.debug("Enabling buffering quiet period"), this.MQ.start()); + return (q && q(null), !0); + this.yn.IQ && 2 <= Object.keys(this.yn.IQ).length && !this.NQ.on && (this.Ia.debug("Enabling buffering quiet period"), this.NQ.start()); p = this; - u = n[0]; - t = n[n.length - 1]; - if (0 < u.entries.length) - (w = u.entries[0].IF, v = u.entries[u.entries.length - 1]); - 0 < t.entries.length && (m.Hc(w) || (w = t.entries[0].IF), v = t.entries[t.entries.length - 1]); + t = n[0]; + u = n[n.length - 1]; + if (0 < t.entries.length) + (w = t.entries[0].NF, v = t.entries[t.entries.length - 1]); + 0 < u.entries.length && (m.Jc(w) || (w = u.entries[0].NF), v = u.entries[u.entries.length - 1]); if (w) - x = v.IF + v.rla - w; + x = v.NF + v.mla - w; else - return (r && r(null), !0); - u = m.Gja(w, x); - if (this.zn.HQ[u]) - (this.Ia.debug("The request for", u, "is already pending. Not requesting again"), r && r()); - else if (this.Bgb(m.tka(n))) - (this.Ia.debug("Reserving", x, "bytes for subtitle request", n[0].Ov, n[n.length - 1].Jp), this.Xib(x), this.zn.wub(n, w, x, function (y, z) { + return (q && q(null), !0); + t = m.zja(w, x); + if (this.yn.IQ[t]) + (this.Ia.debug("The request for", t, "is already pending. Not requesting again"), q && q()); + else if (this.Cgb(m.pka(n))) + (this.Ia.debug("Reserving", x, "bytes for subtitle request", n[0].Tv, n[n.length - 1].Mp), this.Yib(x), this.yn.Aub(n, w, x, function (y, z) { p.Ia.debug("Claiming reserved space. Expected", x, "received", z); - p.CE.enabled && (n.forEach(function (B) { - p.CE.ea(B.index); - }), p.BQ()); + p.EE.enabled && (n.forEach(function (A) { + p.EE.ea(A.index); + }), p.CQ()); p.Gjb(x); - p.rfb(z); - r && r(y); + p.sfb(z); + q && q(y); })); else - return (this.Ia.debug("Not enough space in buffer to download all of the imaages in the list"), r && r(), !1); + return (this.Ia.debug("Not enough space in buffer to download all of the imaages in the list"), q && q(), !1); return !0; }; - k.prototype.xka = function (n, r) { + k.prototype.tka = function (n, q) { var p, - u, - t; - p = this.wq; - u = this.fJa(n, r, this.Zh); - if (!u || 0 === u.length) + t, + u; + p = this.yq; + t = this.dJa(n, q, this.Zh); + if (!t || 0 === t.length) return []; - t = []; - r = c.bind(null, n, r); - for (var w = 0; w < u.length; w++) { - n = u[w]; - t = t.concat(n.entries.filter(r)); + u = []; + q = c.bind(null, n, q); + for (var w = 0; w < t.length; w++) { + n = t[w]; + u = u.concat(n.entries.filter(q)); } - t = t.map(function (v) { - return m.Tga(v, null, p); + u = u.map(function (v) { + return m.Nga(v, null, p); }); - return m.IOa(t); + return m.HOa(u); }; - k.prototype.uBb = function (n, r, p) { - return this.fJa(n, r.endTime, r.bn, p, !0); + k.prototype.wBb = function (n, q, p) { + return this.dJa(n, q.endTime, q.$m, p, !0); }; - k.prototype.fJa = function (n, r, p, u, t) { + k.prototype.dJa = function (n, q, p, t, u) { var w, v, x, y; - if (r && n > r || 0 > n) - this.Ia.error("invalid range startPts: " + n + ", endPts: " + r); + if (q && n > q || 0 > n) + this.Ia.error("invalid range startPts: " + n + ", endPts: " + q); else { w = p && p.length || 0; v = []; if (p && 0 !== w) { x = p[0].duration; - y = p[0].Ov; - if (m.Hc(x) && 0 < x) + y = p[0].Tv; + if (m.Jc(x) && 0 < x) x = Math.floor((n - y) / x); else - for ((this.aE && this.Ia.warn("The duration of the first sidx is not defined or sidx", "durations vary, so use brute force to get starting sidx"), x = 0); x < w && (y = p[x], !m.qub(y, n)); x++) { ; + for ((this.dE && this.Ia.warn("The duration of the first sidx is not defined or sidx", "durations vary, so use brute force to get starting sidx"), x = 0); x < w && (y = p[x], !m.vub(y, n)); x++) { ; } - for (; x < w && (!u || v.length < u); ) { + for (; x < w && (!t || v.length < t); ) { y = p[x]; - if (!t || !y.images.length && y.endTime > n) + if (!u || !y.images.length && y.endTime > n) v.push(y); else if (v.length) break; - if (r && r <= y.Jp) + if (q && q <= y.Mp) break; x++; } @@ -114786,25 +114760,25 @@ a000.D9b = function () { } } }; - k.prototype.hgb = function (n) { - var r, + k.prototype.igb = function (n) { + var q, p, - t; - r = this.Zh; - if (r && 0 !== r.length) { - p = r[Math.floor(n / 6E4)]; - if (p && (p.Ov > n || n > p.Jp)) + u; + q = this.Zh; + if (q && 0 !== q.length) { + p = q[Math.floor(n / 6E4)]; + if (p && (p.Tv > n || n > p.Mp)) a: { - this.Xfb || (this.Xfb = !0, p = m.cAb(this.wq.language), this.Ia.error("bruteforce search for ", { - movieId: this.wq.K, - packageId: this.wq.Ep, + this.Yfb || (this.Yfb = !0, p = m.gAb(this.yq.language), this.Ia.error("bruteforce search for ", { + movieId: this.yq.K, + packageId: this.yq.Gp, lang: p })); - p = r.length; - for (var u = 0; u < p; u++) { - t = r[u]; - if (t.Ov <= n && n <= t.Jp) { - p = t; + p = q.length; + for (var t = 0; t < p; t++) { + u = q[t]; + if (u.Tv <= n && n <= u.Mp) { + p = u; break a; } } @@ -114813,375 +114787,375 @@ a000.D9b = function () { return p; } }; - k.prototype.gJa = function (n) { - var r, + k.prototype.eJa = function (n) { + var q, p, - u, t, + u, w, v, x, y; - r = this.Ho; - p = r.Wv; - u = r.index; - t = this.Zh; - this.nca(m.Hc(n)); + q = this.Io; + p = q.wr; + t = q.index; + u = this.Zh; + this.hca(m.Jc(n)); if (p) if (p.entries.length) { - if (0 === u && n <= p.startTime || n >= p.startTime && n <= p.endTime) - (w = !0, v = r); + if (0 === t && n <= p.startTime || n >= p.startTime && n <= p.endTime) + (w = !0, v = q); else { - if (0 < u) { - x = t[u - 1]; - f(n, x, p) && (w = !0, v = r); + if (0 < t) { + x = u[t - 1]; + f(n, x, p) && (w = !0, v = q); } } } else { - x = t[u - 1]; - y = t[u + 1]; - f(n, x, p) ? (w = !0, v = r) : y && y.endTime && n <= y.endTime && (n >= p.endTime || n >= p.Jp) && (w = !0, v = new g(y, u + 1)); + x = u[t - 1]; + y = u[t + 1]; + f(n, x, p) ? (w = !0, v = q) : y && y.endTime && n <= y.endTime && (n >= p.endTime || n >= p.Mp) && (w = !0, v = new g(y, t + 1)); } if (!w) - for ((r = t.length, p = 0); p < r; p++) { - if ((u = t[p], u.entries.length && n <= u.endTime)) { - v = new g(u, p); + for ((q = u.length, p = 0); p < q; p++) { + if ((t = u[p], t.entries.length && n <= t.endTime)) { + v = new g(t, p); break; } } return v; }; - k.prototype.Bgb = function (n) { - return this.vu + this.sE + n <= this.ahb; + k.prototype.Cgb = function (n) { + return this.Au + this.uE + n <= this.bhb; }; - k.prototype.gca = function (n) { - var r, + k.prototype.aca = function (n) { + var q, p, - u; - r = this.Zh[n]; - p = r && r.images && r.images.length || 0; + t; + q = this.Zh[n]; + p = q && q.images && q.images.length || 0; if (0 < p) { - u = m.tka([r]); - r.images = []; - this.CE.n_a(n); - this.yKa(u); - this.aE && this.Ia.debug("cleaning up space from sidx", { + t = m.pka([q]); + q.images = []; + this.EE.l_a(n); + this.wKa(t); + this.dE && this.Ia.debug("cleaning up space from sidx", { index: n, - start: r.startTime, - size: u, + start: q.startTime, + size: t, images: p, - C6b: this.vu + M6b: this.Au }); } }; - k.prototype.nca = function (n) { - this.aE && m.assert(n, this.Ia); + k.prototype.hca = function (n) { + this.dE && m.assert(n, this.Ia); }; - q.exports = k; - }, function (q, b, a) { + r.exports = k; + }, function (r, b, a) { var f, k; function c(l) { this.Qk = l.url; - this.pE = l.request; - this.mE = l.od || 0; - this.aE = l.We; - this.Ia = l.ya; - this.HQ = {}; + this.sE = l.request; + this.pE = l.pd || 0; + this.dE = l.Ye; + this.Ia = l.za; + this.IQ = {}; } - f = a(259); + f = a(260); k = a(153); - c.prototype.wub = function (l, d, g, h) { - this.HQ[k.Gja(d, g)] = !0; + c.prototype.Aub = function (l, d, g, h) { + this.IQ[k.zja(d, g)] = !0; l && l.forEach(function (m) { - m.P1a = !0; + m.O1a = !0; }); - this.pE({ + this.sE({ url: this.Qk, offset: d, size: g - }, this.Zhb.bind(this, l, d, g, h)); + }, this.$hb.bind(this, l, d, g, h)); }; - c.prototype.Zhb = function (l, d, g, h, m, n) { - var r, + c.prototype.$hb = function (l, d, g, h, m, n) { + var q, p, - u, - t; - r = this; - p = k.Gja(d, g); + t, + u; + q = this; + p = k.zja(d, g); setTimeout(function () { - delete r.HQ[p]; + delete q.IQ[p]; }, 1E3); if (m) (h && h(m, 0), l && l.forEach(function (w) { - delete w.P1a; + delete w.O1a; })); else { - u = new f(n); - t = 0; + t = new f(n); + u = 0; l && l.forEach(function (w) { - delete w.P1a; + delete w.O1a; w.entries.forEach(function (v, x) { - u.position = v.IF - d; + t.position = v.NF - d; v = { - data: u.ph(v.rla) + data: t.oh(v.mla) }; w.images[x] = v; - k.CXb(w.images[x].data, r.nca.bind(r)); - t += w.images[x].data.length; + k.EXb(w.images[x].data, q.hca.bind(q)); + u += w.images[x].data.length; }); }); - h && h(null, t); + h && h(null, u); } }; - c.prototype.nca = function (l) { - this.aE && k.assert(l, this.Ia); + c.prototype.hca = function (l) { + this.dE && k.assert(l, this.Ia); }; - q.exports = c; - }, function (q) { + r.exports = c; + }, function (r) { function b(a, c, f, k) { this.Ia = k; this.id = a; - this.startTime = c && c.xc || 0; - this.endTime = c && c.Yc; - this.rZa = c && c.next || []; + this.startTime = c && c.jc || 0; + this.endTime = c && c.Fc; + this.oZa = c && c.next || []; this.D2a; - this.WU = []; - this.yL = !1; + this.VU = []; + this.BL = !1; a = this.startTime; c = this.endTime; for (var l = [], d = 0; d < f.length; d++) { - (k = f[d]) && (!c || c > k.Ov) && a < k.Jp && (k.JDb(), l.push(k)); + (k = f[d]) && (!c || c > k.Tv) && a < k.Mp && (k.NDb(), l.push(k)); } - this.bn = l; + this.$m = l; } - b.prototype.ZNa = function () { + b.prototype.XNa = function () { this.Ia.debug("Cleaning up segment", this.id); - for (var a, c = 0, f, k = [], l = 0; l < this.bn.length; l++) { - a = this.bn[l]; - (f = a.htb()) && k.push(a); + for (var a, c = 0, f, k = [], l = 0; l < this.$m.length; l++) { + a = this.$m[l]; + (f = a.jtb()) && k.push(a); a && (c += f); } - this.bn = []; + this.$m = []; return { size: c, - bn: k + $m: k }; }; - q.exports = b; - }, function (q, b, a) { - var u, - t, + r.exports = b; + }, function (r, b, a) { + var t, + u, w, v, x, y, z, - B, - A; + A, + B; function c(C) { var E, - F, - D, G, - I; + D, + F, + J; E = C.preferences; - F = C.jk; - D = C.od; - G = C.xml; - I = C.ya; + G = C.jk; + D = C.pd; + F = C.xml; + J = C.za; if (!C.xml && !C.request) throw Error("FullTextStream requires either a 'request' function or the 'xml' data"); - u.call(this); - this.Kg = this.Kca = null; - this.P_ = "object" === typeof E ? C.preferences : {}; - this.i_ = "object" === typeof F ? C.jk : {}; - this.NA = "number" === typeof D ? C.od : 0; - this.BE = "string" === typeof G ? C.xml : ""; - this.Ia = "object" === typeof I ? C.ya : A; - this.pE = C.request; + t.call(this); + this.Ig = this.Eca = null; + this.S_ = "object" === typeof E ? C.preferences : {}; + this.l_ = "object" === typeof G ? C.jk : {}; + this.QA = "number" === typeof D ? C.pd : 0; + this.DE = "string" === typeof F ? C.xml : ""; + this.Ia = "object" === typeof J ? C.za : B; + this.sE = C.request; this.Qk = C.url; - this.tA = []; - this.Xw = this.NA; + this.vA = []; + this.bx = this.QA; this.vg = null; - this.tda = this.uKa = !1; - this.bfb = C.dqa || 0; + this.nda = this.sKa = !1; + this.cfb = C.Ypa || 0; } function f() { var C, E, - F; + G; C = this; - E = C.BE.indexOf(" E; }); - return 0 < C.length ? F.concat([C[0]]) : F; + return 0 < C.length ? G.concat([C[0]]) : G; } function l(C) { var E, - F, - D, G, - I, + D, + F, J, + K, H; E = this; - F = E.Kca; + G = E.Eca; D = 0; - G = []; - I = F.defaultStyle ? [F.defaultStyle] : []; + F = []; + J = G.defaultStyle ? [G.defaultStyle] : []; E.Ia.info("parsing the next 5 entries..."); - J = E.Kg.zAb(C); - E.Ia.info(J); - H = t.$b(!0); - H.onerror = function (M) { - M.xml = J; - E.emit("error", M); + K = E.Ig.CAb(C); + E.Ia.info(K); + H = u.ac(!0); + H.onerror = function (L) { + L.xml = K; + E.emit("error", L); }; H.onend = function () { - var M; - M = E.tA.reduce(function (O, L) { - L = L.blocks.reduce(function (P, R) { - return P.concat([R.id]); + var L; + L = E.vA.reduce(function (Q, I) { + I = I.blocks.reduce(function (O, N) { + return O.concat([N.id]); }, []); - return O.concat(L); + return Q.concat(I); }, []); - G.forEach(function (O) { - -1 === M.indexOf(O.id) && E.tA.push(O); + F.forEach(function (Q) { + -1 === L.indexOf(Q.id) && E.vA.push(Q); }); - E.tda = !1; - E.uKa || (E.uKa = !0, E.emit("ready")); + E.nda = !1; + E.sKa || (E.sKa = !0, E.emit("ready")); }; - H.ontext = function (M) { - ("" !== M.trim() || M.match(/ +/)) && n(n(G).blocks).textNodes.push({ - text: M.match(/ +/) ? M : M.trim(), - style: n(I), + H.ontext = function (L) { + ("" !== L.trim() || L.match(/ +/)) && n(n(F).blocks).textNodes.push({ + text: L.match(/ +/) ? L : L.trim(), + style: n(J), lineBreaks: D }); D = 0; }; H.onclosetag = function () { - "undefined" !== typeof H.tag.attributes.style && I.pop(); + "undefined" !== typeof H.tag.attributes.style && J.pop(); }; - H.onopentag = function (M) { - var O, - L, - P, - R, - K; - O = M.attributes; - L = M.name; - M = F.tickRate; - if ("p" === L) { + H.onopentag = function (L) { + var Q, + I, + O, + N, + M; + Q = L.attributes; + I = L.name; + L = G.tickRate; + if ("p" === I) { D = 0; - L = O["xml:id"]; - O.style && I.push(O.style); - P = Math.floor(parseInt(O.begin) / M * 1E3); - if (0 === G.length || n(G).displayTime !== P) { - P = G.push; - R = {}; - K = parseInt(O.begin) / M; - M = parseInt(O.end) / M; - R.id = L; - R.startTime = Math.floor(1E3 * K); - R.endTime = Math.floor(1E3 * M); - R.style = O.style; - R.region = O.region; - R.displayTime = R.startTime; - R.duration = R.endTime - R.startTime; - R.extent = O["tts:extent"] || null; - R.origin = O["tts:origin"] || null; - R.latestEndSoFar = 0 > R.endTime ? 0 : R.endTime; - R.blocks = [{ + I = Q["xml:id"]; + Q.style && J.push(Q.style); + O = Math.floor(parseInt(Q.begin) / L * 1E3); + if (0 === F.length || n(F).displayTime !== O) { + O = F.push; + N = {}; + M = parseInt(Q.begin) / L; + L = parseInt(Q.end) / L; + N.id = I; + N.startTime = Math.floor(1E3 * M); + N.endTime = Math.floor(1E3 * L); + N.style = Q.style; + N.region = Q.region; + N.displayTime = N.startTime; + N.duration = N.endTime - N.startTime; + N.extent = Q["tts:extent"] || null; + N.origin = Q["tts:origin"] || null; + N.latestEndSoFar = 0 > N.endTime ? 0 : N.endTime; + N.blocks = [{ textNodes: [], - region: R.region, - id: L, - extent: R.extent, - origin: R.origin + region: N.region, + id: I, + extent: N.extent, + origin: N.origin } ]; - P.call(G, R); + O.call(F, N); } else - n(G).blocks.push({ + n(F).blocks.push({ textNodes: [], - region: O.region, - id: L, - extent: O["tts:extent"] || null, - origin: O["tts:origin"] || null + region: Q.region, + id: I, + extent: Q["tts:extent"] || null, + origin: Q["tts:origin"] || null }); } else - "span" === L ? I.push(O.style) : "br" === L && D++; + "span" === I ? J.push(Q.style) : "br" === I && D++; }; - H.write("").write(J).write("").close(); + H.write("").write(K).write("").close(); } function d(C, E) { - var F, + var G, D, - G, - I, - J; - F = t.$b(!0); + F, + J, + K; + G = u.ac(!0); D = {}; - G = []; - I = null; - J = []; - F.onerror = function (H) { + F = []; + J = null; + K = []; + G.onerror = function (H) { E(H, null); }; - F.onend = function () { + G.onend = function () { E(null, D); }; - F.onclosetag = function () { - G.pop(); + G.onclosetag = function () { + F.pop(); }; - F.onopentag = function (H) { - var M, - O, - L, - P; - M = H.attributes; - O = H.name; - L = D.regions; - P = D.styles; - G.push(H); - "tt" === O ? D = g(M) : "body" === O ? "undefined" !== typeof M.style && (D.defaultStyle = M.style, J.push(M.style)) : "style" === O && m(G, "styling") ? P[M["xml:id"]] = h(M, y) : "style" === O && m(G, "region") ? (H = Object.keys(M)[0], "string" === typeof H && (L[I][H.slice(4)] = M[H])) : "region" === O && m(G, "layout") && (I = M["xml:id"], L[I] = h(M, B)); + G.onopentag = function (H) { + var L, + Q, + I, + O; + L = H.attributes; + Q = H.name; + I = D.regions; + O = D.styles; + F.push(H); + "tt" === Q ? D = g(L) : "body" === Q ? "undefined" !== typeof L.style && (D.defaultStyle = L.style, K.push(L.style)) : "style" === Q && m(F, "styling") ? O[L["xml:id"]] = h(L, y) : "style" === Q && m(F, "region") ? (H = Object.keys(L)[0], "string" === typeof H && (I[J][H.slice(4)] = L[H])) : "region" === Q && m(F, "layout") && (J = L["xml:id"], I[J] = h(L, A)); }; setTimeout(function () { var H; - for (F.write(C); 0 < G.length && !F.error; ) { - H = n(G).name; - F.write(""); + for (G.write(C); 0 < F.length && !G.error; ) { + H = n(F).name; + G.write(""); } - F.close(); + G.close(); }, 10); } function g(C) { var E; C = h(C, z); if ("string" === typeof C.extent) { - E = C.extent.split(" ").map(function (F) { - return parseInt(F, 10); + E = C.extent.split(" ").map(function (G) { + return parseInt(G, 10); }); C.width = E[0]; C.height = E[1]; } else (C.width = 1280, C.height = 720); C.aspectRatio = C.width / C.height; - "string" === typeof C.cellResolution ? (E = C.cellResolution.split(" ").map(function (F) { - return parseInt(F, 10); + "string" === typeof C.cellResolution ? (E = C.cellResolution.split(" ").map(function (G) { + return parseInt(G, 10); }), C.cellResolution = {}, C.cellResolution.x = E[0], C.cellResolution.y = E[1]) : C.cellResolution = { x: 52, y: 19 @@ -115189,19 +115163,19 @@ a000.D9b = function () { return C; } function h(C, E) { - var F; - F = {}; + var G; + G = {}; E.forEach(function (D) { - "undefined" !== typeof C["tts:" + D] ? F[D] = C["tts:" + D] : "undefined" !== typeof C["ttp:" + D] && (F[D] = C["ttp:" + D]); + "undefined" !== typeof C["tts:" + D] ? G[D] = C["tts:" + D] : "undefined" !== typeof C["ttp:" + D] && (G[D] = C["ttp:" + D]); }); - F.styles = {}; - F.regions = {}; - return F; + G.styles = {}; + G.regions = {}; + return G; } function m(C, E) { - var F; - for (F = C.length - 1; 0 <= F; F--) { - if (C[F].name === E) + var G; + for (G = C.length - 1; 0 <= G; G--) { + if (C[G].name === E) return !0; } return !1; @@ -115211,18 +115185,18 @@ a000.D9b = function () { throw Error("last called on non-array: " + C); return C[C.length - 1]; } - function r(C, E) { + function q(C, E) { return { lineBreaks: E.lineBreaks, text: E.text, - style: x.psb(C[E.style] || ({}), this.i_, this.P_), + style: x.rsb(C[E.style] || ({}), this.l_, this.S_), id: E.id }; } function p(C, E) { - var F, + var G, D; - F = this; + G = this; D = C.styles || ({}); return { startTime: E.startTime, @@ -115230,601 +115204,601 @@ a000.D9b = function () { endTime: E.endTime, displayTime: E.displayTime, duration: E.duration, - blocks: E.blocks.map(function (G) { - var I; - I = v.lsb(C, G); + blocks: E.blocks.map(function (F) { + var J; + J = v.nsb(C, F); return { - textNodes: G.textNodes.map(r.bind(F, D)), - region: I, - id: G.id + textNodes: F.textNodes.map(q.bind(G, D)), + region: J, + id: F.id }; }) }; } - u = a(109).EventEmitter; - t = a(1001); - w = a(1002); - v = a(1003); - x = a(1004); + t = a(109).EventEmitter; + u = a(1003); + w = a(1004); + v = a(1005); + x = a(1006); y = ("color fontSize fontWeight fontStyle textAlign fontFamily backgroundColor textDecoration textOutline").split(" "); z = ["cellResolution", "pixelAspectRatio", "tickRate", "timeBase", "extent"]; - B = ["backgroundColor", "displayAlign", "extent", "origin"]; - A = { + A = ["backgroundColor", "displayAlign", "extent", "origin"]; + B = { info: function () {} }; - b = Object.create(u.prototype); + b = Object.create(t.prototype); c.prototype = b; b.start = function () { var C; C = this; - C.Ia.info("incremental text stream created, starting at pts " + C.NA); - C.BE ? f.call(C) : C.pE({ + C.Ia.info("incremental text stream created, starting at pts " + C.QA); + C.DE ? f.call(C) : C.sE({ url: C.Qk - }, function (E, F) { - C.BE = F; + }, function (E, G) { + C.DE = G; f.call(C); }); }; - b.tF = function (C) { + b.xF = function (C) { var E, - F, + G, D; E = this; - C < E.Xw - E.bfb && (E.tA = []); - F = E.tA; - D = 0 < F.length ? F[F.length - 1].startTime : C; - E.Xw = C; - for (!E.vg && 5 > E.tA.length && !E.tda && (E.Ia.info("buffer size: " + E.tA.length + "; minimum: 5"), E.tda = !0, E.vg = setTimeout(function () { + C < E.bx - E.cfb && (E.vA = []); + G = E.vA; + D = 0 < G.length ? G[G.length - 1].startTime : C; + E.bx = C; + for (!E.vg && 5 > E.vA.length && !E.nda && (E.Ia.info("buffer size: " + E.vA.length + "; minimum: 5"), E.nda = !0, E.vg = setTimeout(function () { E.vg = null; l.call(E, D + 1); - }, 10)); 0 < F.length && F[0].endTime < C; ) { - F.shift(); + }, 10)); 0 < G.length && G[0].endTime < C; ) { + G.shift(); } - F = k(F, C).map(p.bind(E, E.Kca)); - C < E.Kg.Nwb() && 0 === F.length && (F = null); - return F; + G = k(G, C).map(p.bind(E, E.Eca)); + C < E.Ig.Twb() && 0 === G.length && (G = null); + return G; }; - b.Rq = function (C, E) { - return this.Kg ? this.Kg.Rq(C, E) : 0; + b.Qq = function (C, E) { + return this.Ig ? this.Ig.Qq(C, E) : 0; }; b.close = function () {}; - b.c8b = function (C) { - this.P_ = C && "object" === typeof C.preferences ? C.preferences : {}; - this.i_ = C && "object" === typeof C.jk ? C.jk : {}; + b.v8b = function (C) { + this.S_ = C && "object" === typeof C.preferences ? C.preferences : {}; + this.l_ = C && "object" === typeof C.jk ? C.jk : {}; }; - q.exports = c; - }, function (q, b) { + r.exports = c; + }, function (r, b) { (function (a) { var x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, - L; + L, + Q, + I; function c() {} - function f(P, R) { + function f(O, N) { if (!(this instanceof f)) - return new f(P, R); - for (var K = 0, Q = x.length; K < Q; K++) { - this[x[K]] = ""; - } - this.q = this.c = this.Cm = this.textNode = ""; - this.eNa = a.W$; - this.Um = R || ({}); - this.Um.JXa = this.Um.JXa || this.Um.F5b; - this.dna = this.Um.JXa ? "toLowerCase" : "toUpperCase"; - this.Xp = []; - this.closed = this.SR = this.dN = !1; + return new f(O, N); + for (var M = 0, P = x.length; M < P; M++) { + this[x[M]] = ""; + } + this.q = this.c = this.Am = this.textNode = ""; + this.eNa = a.O$; + this.Tm = N || ({}); + this.Tm.HXa = this.Tm.HXa || this.Tm.P5b; + this.Yma = this.Tm.HXa ? "toLowerCase" : "toUpperCase"; + this.en = []; + this.closed = this.TR = this.dN = !1; this.tag = this.error = null; - this.NC = !!P; - this.BZa = !(!P && !this.Um.BZa); - this.state = L.w9; - this.tw = (this.n4a = this.Um.n4a) ? Object.create(a.Ceb) : Object.create(a.tw); - this.XA = []; - this.Um.EX && (this.Hj = Object.create(H)); - if (this.n8 = !1 !== this.Um.position) - this.position = this.line = this.TR = 0; + this.OC = !!O; + this.zZa = !(!O && !this.Tm.zZa); + this.state = I.r9; + this.zw = (this.p4a = this.Tm.p4a) ? Object.create(a.Deb) : Object.create(a.zw); + this.ZA = []; + this.Tm.DX && (this.Gj = Object.create(H)); + if (this.j8 = !1 !== this.Tm.position) + this.position = this.line = this.UR = 0; this.onready && this.onready(void 0); } - function k(P, R) { - var K; + function k(O, N) { + var M; if (!(this instanceof k)) - return new k(P, R); + return new k(O, N); c.apply(this); - this.ax = new f(P, R); + this.fx = new f(O, N); this.readable = this.writable = !0; - K = this; - this.ax.onend = function () { - K.emit("end"); + M = this; + this.fx.onend = function () { + M.emit("end"); }; - this.ax.onerror = function (Q) { - K.emit("error", Q); - K.ax.error = null; + this.fx.onerror = function (P) { + M.emit("error", P); + M.fx.error = null; }; - y.forEach(function (Q) { - Object.defineProperty(K, "on" + Q, { + y.forEach(function (P) { + Object.defineProperty(M, "on" + P, { get: function () { - return K.ax["on" + Q]; + return M.fx["on" + P]; }, - set: function (N) { - if (!N) - return (K.removeAllListeners(Q), K.ax["on" + Q] = N); - K.on(Q, N); + set: function (R) { + if (!R) + return (M.removeAllListeners(P), M.fx["on" + P] = R); + M.on(P, R); }, enumerable: !0, configurable: !1 }); }); } - function l(P) { - return P.split("").reduce(function (R, K) { - R[K] = !0; - return R; + function l(O) { + return O.split("").reduce(function (N, M) { + N[M] = !0; + return N; }, {}); } - function d(P, R) { - return "[object RegExp]" === Object.prototype.toString.call(P) ? !!R.match(P) : P[R]; + function d(O, N) { + return "[object RegExp]" === Object.prototype.toString.call(O) ? !!N.match(O) : O[N]; } - function g(P, R, K) { - P.textNode && h(P); - P[R] && P[R](K); + function g(O, N, M) { + O.textNode && h(O); + O[N] && O[N](M); } - function h(P) { - P.textNode = m(P.Um, P.textNode); - P.textNode && P.ontext && P.ontext(P.textNode); - P.textNode = ""; + function h(O) { + O.textNode = m(O.Tm, O.textNode); + O.textNode && O.ontext && O.ontext(O.textNode); + O.textNode = ""; } - function m(P, R) { - P.trim && (R = R.trim()); - P.normalize && (R = R.replace(/\s+/g, " ")); - return R; + function m(O, N) { + O.trim && (N = N.trim()); + O.normalize && (N = N.replace(/\s+/g, " ")); + return N; } - function n(P, R) { - h(P); - P.n8 && (R += "\nLine: " + P.line + "\nColumn: " + P.TR + "\nChar: " + P.c); - R = Error(R); - P.error = R; - P.onerror && P.onerror(R); - return P; + function n(O, N) { + h(O); + O.j8 && (N += "\nLine: " + O.line + "\nColumn: " + O.UR + "\nChar: " + O.c); + N = Error(N); + O.error = N; + O.onerror && O.onerror(N); + return O; } - function r(P) { - P.dN && !P.SR && p(P, "Unclosed root tag"); - P.state !== L.w9 && P.state !== L.x9 && P.state !== L.tl && n(P, "Unexpected end"); - h(P); - P.c = ""; - P.closed = !0; - P.onend && P.onend(void 0); - f.call(P, P.NC, P.Um); - return P; + function q(O) { + O.dN && !O.TR && p(O, "Unclosed root tag"); + O.state !== I.r9 && O.state !== I.s9 && O.state !== I.sl && n(O, "Unexpected end"); + h(O); + O.c = ""; + O.closed = !0; + O.onend && O.onend(void 0); + f.call(O, O.OC, O.Tm); + return O; } - function p(P, R) { - if ("object" !== typeof P || !(P instanceof f)) + function p(O, N) { + if ("object" !== typeof O || !(O instanceof f)) throw Error("bad call to strictFail"); - P.NC && n(P, R); + O.OC && n(O, N); } - function u(P, R) { - var K, - Q; - K = 0 > P.indexOf(":") ? ["", P] : P.split(":"); - Q = K[0]; - K = K[1]; - R && "xmlns" === P && (Q = "xmlns", K = ""); + function t(O, N) { + var M, + P; + M = 0 > O.indexOf(":") ? ["", O] : O.split(":"); + P = M[0]; + M = M[1]; + N && "xmlns" === O && (P = "xmlns", M = ""); return { - prefix: Q, - local: K + prefix: P, + local: M }; } - function t(P) { - var R, - K, - Q; - P.NC || (P.Di = P.Di[P.dna]()); - if (-1 !== P.XA.indexOf(P.Di) || P.tag.attributes.hasOwnProperty(P.Di)) - return P.Di = P.Ei = ""; - if (P.Um.EX) { - R = u(P.Di, !0); - K = R.local; - if ("xmlns" === R.prefix) - if ("xml" === K && P.Ei !== I) - p(P, "xml: prefix must be bound to " + I + "\nActual: " + P.Ei); - else if ("xmlns" === K && P.Ei !== J) - p(P, "xmlns: prefix must be bound to " + J + "\nActual: " + P.Ei); + function u(O) { + var N, + M, + P; + O.OC || (O.Di = O.Di[O.Yma]()); + if (-1 !== O.ZA.indexOf(O.Di) || O.tag.attributes.hasOwnProperty(O.Di)) + return O.Di = O.Ei = ""; + if (O.Tm.DX) { + N = t(O.Di, !0); + M = N.local; + if ("xmlns" === N.prefix) + if ("xml" === M && O.Ei !== J) + p(O, "xml: prefix must be bound to " + J + "\nActual: " + O.Ei); + else if ("xmlns" === M && O.Ei !== K) + p(O, "xmlns: prefix must be bound to " + K + "\nActual: " + O.Ei); else { - R = P.tag; - Q = P.Xp[P.Xp.length - 1] || P; - R.Hj === Q.Hj && (R.Hj = Object.create(Q.Hj)); - R.Hj[K] = P.Ei; - } - P.XA.push([P.Di, P.Ei]); - } else (P.tag.attributes[P.Di] = P.Ei, g(P, "onattribute", { - name: P.Di, - value: P.Ei + N = O.tag; + P = O.en[O.en.length - 1] || O; + N.Gj === P.Gj && (N.Gj = Object.create(P.Gj)); + N.Gj[M] = O.Ei; + } + O.ZA.push([O.Di, O.Ei]); + } else (O.tag.attributes[O.Di] = O.Ei, g(O, "onattribute", { + name: O.Di, + value: O.Ei })); - P.Di = P.Ei = ""; + O.Di = O.Ei = ""; } - function w(P, R) { - var K, - Q, - da, - na, + function w(O, N) { + var M, + P, + ea, + pa, va, - ra, - X; - if (P.Um.EX) { - K = P.tag; - Q = u(P.tagName); - K.prefix = Q.prefix; - K.local = Q.local; - K.uri = K.Hj[Q.prefix] || ""; - K.prefix && !K.uri && (p(P, "Unbound namespace prefix: " + JSON.stringify(P.tagName)), K.uri = Q.prefix); - Q = P.Xp[P.Xp.length - 1] || P; - K.Hj && Q.Hj !== K.Hj && Object.keys(K.Hj).forEach(function (ta) { - g(P, "onopennamespace", { - prefix: ta, - uri: K.Hj[ta] + ta, + Y; + if (O.Tm.DX) { + M = O.tag; + P = t(O.tagName); + M.prefix = P.prefix; + M.local = P.local; + M.uri = M.Gj[P.prefix] || ""; + M.prefix && !M.uri && (p(O, "Unbound namespace prefix: " + JSON.stringify(O.tagName)), M.uri = P.prefix); + P = O.en[O.en.length - 1] || O; + M.Gj && P.Gj !== M.Gj && Object.keys(M.Gj).forEach(function (ra) { + g(O, "onopennamespace", { + prefix: ra, + uri: M.Gj[ra] }); }); - Q = 0; - for (var N = P.XA.length; Q < N; Q++) { - da = P.XA[Q]; - na = da[0]; - va = da[1]; - ra = u(na, !0); - da = ra.prefix; - X = "" == da ? "" : K.Hj[da] || ""; + P = 0; + for (var R = O.ZA.length; P < R; P++) { + ea = O.ZA[P]; + pa = ea[0]; + va = ea[1]; + ta = t(pa, !0); + ea = ta.prefix; + Y = "" == ea ? "" : M.Gj[ea] || ""; va = { - name: na, + name: pa, value: va, - prefix: da, - local: ra.local, - uri: X + prefix: ea, + local: ta.local, + uri: Y }; - da && "xmlns" != da && !X && (p(P, "Unbound namespace prefix: " + JSON.stringify(da)), va.uri = da); - P.tag.attributes[na] = va; - g(P, "onattribute", va); + ea && "xmlns" != ea && !Y && (p(O, "Unbound namespace prefix: " + JSON.stringify(ea)), va.uri = ea); + O.tag.attributes[pa] = va; + g(O, "onattribute", va); } - P.XA.length = 0; + O.ZA.length = 0; } - P.tag.x5b = !!R; - P.dN = !0; - P.Xp.push(P.tag); - g(P, "onopentag", P.tag); - R || (P.state = P.BZa || "script" !== P.tagName.toLowerCase() ? L.tl : L.wI, P.tag = null, P.tagName = ""); - P.Di = P.Ei = ""; - P.XA.length = 0; + O.tag.I5b = !!N; + O.dN = !0; + O.en.push(O.tag); + g(O, "onopentag", O.tag); + N || (O.state = O.zZa || "script" !== O.tagName.toLowerCase() ? I.sl : I.BI, O.tag = null, O.tagName = ""); + O.Di = O.Ei = ""; + O.ZA.length = 0; } - function v(P) { - var R, - K, - N; - if (P.tagName) { - if (P.Pj) { - if ("script" !== P.tagName) { - P.Pj += ""; - P.tagName = ""; - P.state = L.wI; + function v(O) { + var N, + M, + R; + if (O.tagName) { + if (O.Oj) { + if ("script" !== O.tagName) { + O.Oj += ""; + O.tagName = ""; + O.state = I.BI; return; } - g(P, "onscript", P.Pj); - P.Pj = ""; + g(O, "onscript", O.Oj); + O.Oj = ""; } - R = P.Xp.length; - K = P.tagName; - P.NC || (K = K[P.dna]()); - for (var Q = K; R--; ) { - if (P.Xp[R].name !== Q) - p(P, "Unexpected close tag"); + N = O.en.length; + M = O.tagName; + O.OC || (M = M[O.Yma]()); + for (var P = M; N--; ) { + if (O.en[N].name !== P) + p(O, "Unexpected close tag"); else break; } - if (0 > R) - (p(P, "Unmatched closing tag: " + P.tagName), P.textNode += ""); + if (0 > N) + (p(O, "Unmatched closing tag: " + O.tagName), O.textNode += ""); else { - P.tagName = K; - for (K = P.Xp.length; K-- > R; ) { - N = P.tag = P.Xp.pop(); - P.tagName = P.tag.name; - g(P, "onclosetag", P.tagName); - for (var da in N.Hj) { ; - } - Q = P.Xp[P.Xp.length - 1] || P; - P.Um.EX && N.Hj !== Q.Hj && Object.keys(N.Hj).forEach(function (na) { - g(P, "onclosenamespace", { - prefix: na, - uri: N.Hj[na] + O.tagName = M; + for (M = O.en.length; M-- > N; ) { + R = O.tag = O.en.pop(); + O.tagName = O.tag.name; + g(O, "onclosetag", O.tagName); + for (var ea in R.Gj) { ; + } + P = O.en[O.en.length - 1] || O; + O.Tm.DX && R.Gj !== P.Gj && Object.keys(R.Gj).forEach(function (pa) { + g(O, "onclosenamespace", { + prefix: pa, + uri: R.Gj[pa] }); }); } - 0 === R && (P.SR = !0); - P.tagName = P.Ei = P.Di = ""; - P.XA.length = 0; + 0 === N && (O.TR = !0); + O.tagName = O.Ei = O.Di = ""; + O.ZA.length = 0; } - } else (p(P, "Weird empty close tag."), P.textNode += ""); - P.state = L.tl; + } else (p(O, "Weird empty close tag."), O.textNode += ""); + O.state = I.sl; } - a.$b = function (P, R) { - return new f(P, R); + a.ac = function (O, N) { + return new f(O, N); }; a.V1b = f; a.W1b = k; - a.nPa = function (P) { - return new k(P, void 0); + a.mPa = function (O) { + return new k(O, void 0); }; - a.W$ = 65536; + a.O$ = 65536; x = ("comment sgmlDecl textNode tagName doctype procInstName procInstBody entity attribName attribValue cdata script").split(" "); - a.ue = ("text processinginstruction sgmldeclaration doctype comment attribute opentag closetag opencdata cdata closecdata error end ready script opennamespace closenamespace").split(" "); - Object.create || (Object.create = function (P) { - function R() { - this.__proto__ = P; + a.we = ("text processinginstruction sgmldeclaration doctype comment attribute opentag closetag opencdata cdata closecdata error end ready script opennamespace closenamespace").split(" "); + Object.create || (Object.create = function (O) { + function N() { + this.__proto__ = O; } - R.prototype = P; - return new R(); + N.prototype = O; + return new N(); }); - Object.getPrototypeOf || (Object.getPrototypeOf = function (P) { - return P.__proto__; + Object.getPrototypeOf || (Object.getPrototypeOf = function (O) { + return O.__proto__; }); - Object.keys || (Object.keys = function (P) { - var R, - K; - R = []; - for (K in P) { - P.hasOwnProperty(K) && R.push(K); + Object.keys || (Object.keys = function (O) { + var N, + M; + N = []; + for (M in O) { + O.hasOwnProperty(M) && N.push(M); } - return R; + return N; }); f.prototype = { end: function () { - r(this); + q(this); }, - write: function (P) { - var N, - da, - na, + write: function (O) { + var R, + ea, + pa, va, - ra, - X; + ta, + Y; if (this.closed) return n(this, "Cannot write after close. Assign an onready handler."); - if (null === P) - return r(this); + if (null === O) + return q(this); if (this.error) throw this.error; - for (var R = 0, K; this.c = K = P.charAt(R++); ) { - switch ((this.n8 && (this.position++, "\n" === K ? (this.line++, this.TR = 0) : this.TR++), this.state)) { - case L.w9: - if ((this.state = L.x9, "\ufeff" === K)) + for (var N = 0, M; this.c = M = O.charAt(N++); ) { + switch ((this.j8 && (this.position++, "\n" === M ? (this.line++, this.UR = 0) : this.UR++), this.state)) { + case I.r9: + if ((this.state = I.s9, "\ufeff" === M)) continue; - case L.x9: - "<" === K ? (this.state = L.oaa, this.zsa = this.position) : d(z, K) || (p(this, "Non-whitespace before first tag."), this.textNode = K, this.state = L.tl); + case I.s9: + "<" === M ? (this.state = I.gaa, this.ssa = this.position) : d(z, M) || (p(this, "Non-whitespace before first tag."), this.textNode = M, this.state = I.sl); continue; - case L.tl: - if (this.dN && !this.SR) { - for (var Q = R - 1; K && "<" !== K && "&" !== K; ) { - (K = P.charAt(R++)) && this.n8 && (this.position++, "\n" === K ? (this.line++, this.TR = 0) : this.TR++); + case I.sl: + if (this.dN && !this.TR) { + for (var P = N - 1; M && "<" !== M && "&" !== M; ) { + (M = O.charAt(N++)) && this.j8 && (this.position++, "\n" === M ? (this.line++, this.UR = 0) : this.UR++); } - this.textNode += P.substring(Q, R - 1); + this.textNode += O.substring(P, N - 1); } - "<" !== K || this.dN && this.SR && !this.NC ? (d(z, K) || this.dN && !this.SR || p(this, "Text data outside of root node."), "&" === K ? this.state = L.vba : this.textNode += K) : (this.state = L.oaa, this.zsa = this.position); + "<" !== M || this.dN && this.TR && !this.OC ? (d(z, M) || this.dN && !this.TR || p(this, "Text data outside of root node."), "&" === M ? this.state = I.pba : this.textNode += M) : (this.state = I.gaa, this.ssa = this.position); continue; - case L.wI: - "<" === K ? this.state = L.LFa : this.Pj += K; + case I.BI: + "<" === M ? this.state = I.IFa : this.Oj += M; continue; - case L.LFa: - "/" === K ? this.state = L.F9 : (this.Pj += "<" + K, this.state = L.wI); + case I.IFa: + "/" === M ? this.state = I.A9 : (this.Oj += "<" + M, this.state = I.BI); continue; - case L.oaa: - "!" === K ? (this.state = L.kba, this.ur = "") : d(z, K) || (d(M, K) ? (this.state = L.FCa, this.tagName = K) : "/" === K ? (this.state = L.F9, this.tagName = "") : "?" === K ? (this.state = L.cDa, this.K6 = this.zG = "") : (p(this, "Unencoded <"), this.zsa + 1 < this.position && (K = Array(this.position - this.zsa).join(" ") + K), this.textNode += "<" + K, this.state = L.tl)); + case I.gaa: + "!" === M ? (this.state = I.eba, this.vr = "") : d(z, M) || (d(L, M) ? (this.state = I.DCa, this.tagName = M) : "/" === M ? (this.state = I.A9, this.tagName = "") : "?" === M ? (this.state = I.ZCa, this.H6 = this.GG = "") : (p(this, "Unencoded <"), this.ssa + 1 < this.position && (M = Array(this.position - this.ssa).join(" ") + M), this.textNode += "<" + M, this.state = I.sl)); continue; - case L.kba: - (this.ur + K).toUpperCase() === D ? (g(this, "onopencdata"), this.state = L.SX, this.Fl = this.ur = "") : "--" === this.ur + K ? (this.state = L.UX, this.ur = this.ps = "") : (this.ur + K).toUpperCase() === G ? (this.state = L.ZX, (this.doctype || this.dN) && p(this, "Inappropriately located doctype declaration"), this.ur = this.doctype = "") : ">" === K ? (g(this, "onsgmldeclaration", this.ur), this.ur = "", this.state = L.tl) : (d(C, K) && (this.state = L.OFa), this.ur += K); + case I.eba: + (this.vr + M).toUpperCase() === D ? (g(this, "onopencdata"), this.state = I.RX, this.Dl = this.vr = "") : "--" === this.vr + M ? (this.state = I.TX, this.vr = this.ss = "") : (this.vr + M).toUpperCase() === F ? (this.state = I.YX, (this.doctype || this.dN) && p(this, "Inappropriately located doctype declaration"), this.vr = this.doctype = "") : ">" === M ? (g(this, "onsgmldeclaration", this.vr), this.vr = "", this.state = I.sl) : (d(C, M) && (this.state = I.LFa), this.vr += M); continue; - case L.OFa: - K === this.q && (this.state = L.kba, this.q = ""); - this.ur += K; + case I.LFa: + M === this.q && (this.state = I.eba, this.q = ""); + this.vr += M; continue; - case L.ZX: - ">" === K ? (this.state = L.tl, g(this, "ondoctype", this.doctype), this.doctype = !0) : (this.doctype += K, "[" === K ? this.state = L.Q9 : d(C, K) && (this.state = L.Vwa, this.q = K)); + case I.YX: + ">" === M ? (this.state = I.sl, g(this, "ondoctype", this.doctype), this.doctype = !0) : (this.doctype += M, "[" === M ? this.state = I.L9 : d(C, M) && (this.state = I.Swa, this.q = M)); continue; - case L.Vwa: - this.doctype += K; - K === this.q && (this.q = "", this.state = L.ZX); + case I.Swa: + this.doctype += M; + M === this.q && (this.q = "", this.state = I.YX); continue; - case L.Q9: - this.doctype += K; - "]" === K ? this.state = L.ZX : d(C, K) && (this.state = L.Uwa, this.q = K); + case I.L9: + this.doctype += M; + "]" === M ? this.state = I.YX : d(C, M) && (this.state = I.Rwa, this.q = M); continue; - case L.Uwa: - this.doctype += K; - K === this.q && (this.state = L.Q9, this.q = ""); + case I.Rwa: + this.doctype += M; + M === this.q && (this.state = I.L9, this.q = ""); continue; - case L.UX: - "-" === K ? this.state = L.Xva : this.ps += K; + case I.TX: + "-" === M ? this.state = I.Uva : this.ss += M; continue; - case L.Xva: - "-" === K ? (this.state = L.Wva, (this.ps = m(this.Um, this.ps)) && g(this, "oncomment", this.ps), this.ps = "") : (this.ps += "-" + K, this.state = L.UX); + case I.Uva: + "-" === M ? (this.state = I.Tva, (this.ss = m(this.Tm, this.ss)) && g(this, "oncomment", this.ss), this.ss = "") : (this.ss += "-" + M, this.state = I.TX); continue; - case L.Wva: - ">" !== K ? (p(this, "Malformed comment"), this.ps += "--" + K, this.state = L.UX) : this.state = L.tl; + case I.Tva: + ">" !== M ? (p(this, "Malformed comment"), this.ss += "--" + M, this.state = I.TX) : this.state = I.sl; continue; - case L.SX: - "]" === K ? this.state = L.Qva : this.Fl += K; + case I.RX: + "]" === M ? this.state = I.Nva : this.Dl += M; continue; - case L.Qva: - "]" === K ? this.state = L.Rva : (this.Fl += "]" + K, this.state = L.SX); + case I.Nva: + "]" === M ? this.state = I.Ova : (this.Dl += "]" + M, this.state = I.RX); continue; - case L.Rva: - ">" === K ? (this.Fl && g(this, "oncdata", this.Fl), g(this, "onclosecdata"), this.Fl = "", this.state = L.tl) : "]" === K ? this.Fl += "]" : (this.Fl += "]]" + K, this.state = L.SX); + case I.Ova: + ">" === M ? (this.Dl && g(this, "oncdata", this.Dl), g(this, "onclosecdata"), this.Dl = "", this.state = I.sl) : "]" === M ? this.Dl += "]" : (this.Dl += "]]" + M, this.state = I.RX); continue; - case L.cDa: - "?" === K ? this.state = L.zaa : d(z, K) ? this.state = L.yaa : this.K6 += K; + case I.ZCa: + "?" === M ? this.state = I.taa : d(z, M) ? this.state = I.saa : this.H6 += M; continue; - case L.yaa: - if (!this.zG && d(z, K)) + case I.saa: + if (!this.GG && d(z, M)) continue; else - "?" === K ? this.state = L.zaa : this.zG += K; + "?" === M ? this.state = I.taa : this.GG += M; continue; - case L.zaa: - ">" === K ? (g(this, "onprocessinginstruction", { - name: this.K6, - body: this.zG - }), this.K6 = this.zG = "", this.state = L.tl) : (this.zG += "?" + K, this.state = L.yaa); + case I.taa: + ">" === M ? (g(this, "onprocessinginstruction", { + name: this.H6, + body: this.GG + }), this.H6 = this.GG = "", this.state = I.sl) : (this.GG += "?" + M, this.state = I.saa); continue; - case L.FCa: - if (d(O, K)) - this.tagName += K; + case I.DCa: + if (d(Q, M)) + this.tagName += M; else { - this.NC || (this.tagName = this.tagName[this.dna]()); - Q = this.Xp[this.Xp.length - 1] || this; - N = this.tag = { + this.OC || (this.tagName = this.tagName[this.Yma]()); + P = this.en[this.en.length - 1] || this; + R = this.tag = { name: this.tagName, attributes: {} }; - this.Um.EX && (N.Hj = Q.Hj); - this.XA.length = 0; - ">" === K ? w(this) : "/" === K ? this.state = L.bZ : (!d(z, K) && p(this, "Invalid character in tag name"), this.state = L.EH); + this.Tm.DX && (R.Gj = P.Gj); + this.ZA.length = 0; + ">" === M ? w(this) : "/" === M ? this.state = I.aZ : (!d(z, M) && p(this, "Invalid character in tag name"), this.state = I.MH); } continue; - case L.bZ: - ">" === K ? (w(this, !0), v(this)) : (p(this, "Forward-slash in opening tag not followed by >"), this.state = L.EH); + case I.aZ: + ">" === M ? (w(this, !0), v(this)) : (p(this, "Forward-slash in opening tag not followed by >"), this.state = I.MH); continue; - case L.EH: - if (d(z, K)) + case I.MH: + if (d(z, M)) continue; else - ">" === K ? w(this) : "/" === K ? this.state = L.bZ : d(M, K) ? (this.Di = K, this.Ei = "", this.state = L.JX) : p(this, "Invalid attribute name"); + ">" === M ? w(this) : "/" === M ? this.state = I.aZ : d(L, M) ? (this.Di = M, this.Ei = "", this.state = I.IX) : p(this, "Invalid attribute name"); continue; - case L.JX: - "=" === K ? this.state = L.b9 : ">" === K ? (p(this, "Attribute without value"), this.Ei = this.Di, t(this), w(this)) : d(z, K) ? this.state = L.sua : d(O, K) ? this.Di += K : p(this, "Invalid attribute name"); + case I.IX: + "=" === M ? this.state = I.W8 : ">" === M ? (p(this, "Attribute without value"), this.Ei = this.Di, u(this), w(this)) : d(z, M) ? this.state = I.pua : d(Q, M) ? this.Di += M : p(this, "Invalid attribute name"); continue; - case L.sua: - if ("=" === K) - this.state = L.b9; - else if (d(z, K)) + case I.pua: + if ("=" === M) + this.state = I.W8; + else if (d(z, M)) continue; else (p(this, "Attribute without value"), this.Ei = this.tag.attributes[this.Di] = "", g(this, "onattribute", { name: this.Di, value: "" - }), this.Di = "", ">" === K ? w(this) : d(M, K) ? (this.Di = K, this.state = L.JX) : (p(this, "Invalid attribute name"), this.state = L.EH)); + }), this.Di = "", ">" === M ? w(this) : d(L, M) ? (this.Di = M, this.state = I.IX) : (p(this, "Invalid attribute name"), this.state = I.MH)); continue; - case L.b9: - if (d(z, K)) + case I.W8: + if (d(z, M)) continue; else - d(C, K) ? (this.q = K, this.state = L.e9) : (p(this, "Unquoted attribute value"), this.state = L.f9, this.Ei = K); + d(C, M) ? (this.q = M, this.state = I.Z8) : (p(this, "Unquoted attribute value"), this.state = I.a9, this.Ei = M); continue; - case L.e9: - if (K !== this.q) { - "&" === K ? this.state = L.c9 : this.Ei += K; + case I.Z8: + if (M !== this.q) { + "&" === M ? this.state = I.X8 : this.Ei += M; continue; } - t(this); + u(this); this.q = ""; - this.state = L.tua; + this.state = I.qua; continue; - case L.tua: - d(z, K) ? this.state = L.EH : ">" === K ? w(this) : "/" === K ? this.state = L.bZ : d(M, K) ? (p(this, "No whitespace between attributes"), this.Di = K, this.Ei = "", this.state = L.JX) : p(this, "Invalid attribute name"); + case I.qua: + d(z, M) ? this.state = I.MH : ">" === M ? w(this) : "/" === M ? this.state = I.aZ : d(L, M) ? (p(this, "No whitespace between attributes"), this.Di = M, this.Ei = "", this.state = I.IX) : p(this, "Invalid attribute name"); continue; - case L.f9: - if (!d(F, K)) { - "&" === K ? this.state = L.d9 : this.Ei += K; + case I.a9: + if (!d(G, M)) { + "&" === M ? this.state = I.Y8 : this.Ei += M; continue; } - t(this); - ">" === K ? w(this) : this.state = L.EH; + u(this); + ">" === M ? w(this) : this.state = I.MH; continue; - case L.F9: + case I.A9: if (this.tagName) - ">" === K ? v(this) : d(O, K) ? this.tagName += K : this.Pj ? (this.Pj += "" === M ? v(this) : d(Q, M) ? this.tagName += M : this.Oj ? (this.Oj += "" === K ? v(this) : p(this, "Invalid characters in closing tag"); + ">" === M ? v(this) : p(this, "Invalid characters in closing tag"); continue; - case L.vba: - case L.c9: - case L.d9: + case I.pba: + case I.X8: + case I.Y8: switch (this.state) { - case L.vba: - (da = L.tl, na = "textNode"); - break; - case L.c9: - da = L.e9; - na = "attribValue"; - break; - case L.d9: - (da = L.f9, na = "attribValue"); - } - if (";" === K) { - K = na; - Q = this[K]; - N = this.Cm; - va = N.toLowerCase(); - ra = ""; - if (this.tw[N]) - N = this.tw[N]; - else if (this.tw[va]) - N = this.tw[va]; + case I.pba: + (ea = I.sl, pa = "textNode"); + break; + case I.X8: + ea = I.Z8; + pa = "attribValue"; + break; + case I.Y8: + (ea = I.a9, pa = "attribValue"); + } + if (";" === M) { + M = pa; + P = this[M]; + R = this.Am; + va = R.toLowerCase(); + ta = ""; + if (this.zw[R]) + R = this.zw[R]; + else if (this.zw[va]) + R = this.zw[va]; else { - N = va; - if ("#" === N.charAt(0)) - if ("x" === N.charAt(1)) { - N = N.slice(2); - X = parseInt(N, 16); - ra = X.toString(16); - } else (N = N.slice(1), X = parseInt(N, 10), ra = X.toString(10)); - N = N.replace(/^0+/, ""); - N = ra.toLowerCase() !== N ? (p(this, "Invalid character entity"), "&" + this.Cm + ";") : String.fromCodePoint(X); + R = va; + if ("#" === R.charAt(0)) + if ("x" === R.charAt(1)) { + R = R.slice(2); + Y = parseInt(R, 16); + ta = Y.toString(16); + } else (R = R.slice(1), Y = parseInt(R, 10), ta = Y.toString(10)); + R = R.replace(/^0+/, ""); + R = ta.toLowerCase() !== R ? (p(this, "Invalid character entity"), "&" + this.Am + ";") : String.fromCodePoint(Y); } - this[K] = Q + N; - this.Cm = ""; - this.state = da; + this[M] = P + R; + this.Am = ""; + this.state = ea; } else - d(E, K) ? this.Cm += K : (p(this, "Invalid character entity"), this[na] += "&" + this.Cm + K, this.Cm = "", this.state = da); + d(E, M) ? this.Am += M : (p(this, "Invalid character entity"), this[pa] += "&" + this.Am + M, this.Am = "", this.state = ea); continue; default: throw Error(this, "Unknown state: " + this.state); } } if (this.position >= this.eNa) { - P = Math.max(a.W$, 10); - K = R = 0; - for (da = x.length; K < da; K++) { - na = this[x[K]].length; - if (na > P) - switch (x[K]) { + O = Math.max(a.O$, 10); + M = N = 0; + for (ea = x.length; M < ea; M++) { + pa = this[x[M]].length; + if (pa > O) + switch (x[M]) { case "textNode": h(this); break; case "cdata": - g(this, "oncdata", this.Fl); - this.Fl = ""; + g(this, "oncdata", this.Dl); + this.Dl = ""; break; case "script": - g(this, "onscript", this.Pj); - this.Pj = ""; + g(this, "onscript", this.Oj); + this.Oj = ""; break; default: - n(this, "Max buffer length exceeded: " + x[K]); + n(this, "Max buffer length exceeded: " + x[M]); } - R = Math.max(R, na); + N = Math.max(N, pa); } - this.eNa = a.W$ - R + this.position; + this.eNa = a.O$ - N + this.position; } return this; }, @@ -115837,108 +115811,108 @@ a000.D9b = function () { }, flush: function () { h(this); - "" !== this.Fl && (g(this, "oncdata", this.Fl), this.Fl = ""); - "" !== this.Pj && (g(this, "onscript", this.Pj), this.Pj = ""); + "" !== this.Dl && (g(this, "oncdata", this.Dl), this.Dl = ""); + "" !== this.Oj && (g(this, "onscript", this.Oj), this.Oj = ""); } }; - y = a.ue.filter(function (P) { - return "error" !== P && "end" !== P; + y = a.we.filter(function (O) { + return "error" !== O && "end" !== O; }); k.prototype = Object.create(c.prototype, { constructor: { value: k } }); - k.prototype.write = function (P) { - this.ax.write(P.toString()); - this.emit("data", P); + k.prototype.write = function (O) { + this.fx.write(O.toString()); + this.emit("data", O); return !0; }; - k.prototype.end = function (P) { - P && P.length && this.write(P); - this.ax.end(); + k.prototype.end = function (O) { + O && O.length && this.write(O); + this.fx.end(); return !0; }; - k.prototype.on = function (P, R) { - var K; - K = this; - K.ax["on" + P] || -1 === y.indexOf(P) || (K.ax["on" + P] = function () { - var Q; - Q = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments); - Q.splice(0, 0, P); - K.emit.apply(K, Q); + k.prototype.on = function (O, N) { + var M; + M = this; + M.fx["on" + O] || -1 === y.indexOf(O) || (M.fx["on" + O] = function () { + var P; + P = 1 === arguments.length ? [arguments[0]] : Array.apply(null, arguments); + P.splice(0, 0, O); + M.emit.apply(M, P); }); - return c.prototype.on.call(K, P, R); + return c.prototype.on.call(M, O, N); }; z = "\r\n\t "; - B = "0124356789"; - A = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; + A = "0124356789"; + B = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; C = "'\""; - E = B + A + "#"; - F = z + ">"; + E = A + B + "#"; + G = z + ">"; D = "[CDATA["; - G = "DOCTYPE"; - I = "http://www.w3.org/XML/1998/namespace"; - J = "http://www.w3.org/2000/xmlns/"; + F = "DOCTYPE"; + J = "http://www.w3.org/XML/1998/namespace"; + K = "http://www.w3.org/2000/xmlns/"; H = { - xml: I, - EX: J + xml: J, + DX: K }; z = l(z); - B = l(B); A = l(A); - M = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; - O = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; + B = l(B); + L = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/; + Q = /[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; C = l(C); E = l(E); - F = l(F); - L = 0; - a.lA = { - w9: L++, - x9: L++, - tl: L++, - vba: L++, - oaa: L++, - kba: L++, - OFa: L++, - ZX: L++, - Vwa: L++, - Q9: L++, - Uwa: L++, - sZb: L++, - UX: L++, - Xva: L++, - Wva: L++, - SX: L++, - Qva: L++, - Rva: L++, - cDa: L++, - yaa: L++, - zaa: L++, - FCa: L++, - bZ: L++, - EH: L++, - JX: L++, - sua: L++, - b9: L++, - e9: L++, - tua: L++, - f9: L++, - c9: L++, - d9: L++, - F9: L++, - Uva: L++, - wI: L++, - LFa: L++ - }; - a.Ceb = { + G = l(G); + I = 0; + a.nA = { + r9: I++, + s9: I++, + sl: I++, + pba: I++, + gaa: I++, + eba: I++, + LFa: I++, + YX: I++, + Swa: I++, + L9: I++, + Rwa: I++, + tZb: I++, + TX: I++, + Uva: I++, + Tva: I++, + RX: I++, + Nva: I++, + Ova: I++, + ZCa: I++, + saa: I++, + taa: I++, + DCa: I++, + aZ: I++, + MH: I++, + IX: I++, + pua: I++, + W8: I++, + Z8: I++, + qua: I++, + a9: I++, + X8: I++, + Y8: I++, + A9: I++, + Rva: I++, + BI: I++, + IFa: I++ + }; + a.Deb = { amp: "&", gt: ">", lt: "<", quot: '"', apos: "'" }; - a.tw = { + a.zw = { amp: "&", gt: ">", lt: "<", @@ -116193,57 +116167,57 @@ a000.D9b = function () { hearts: 9829, diams: 9830 }; - Object.keys(a.tw).forEach(function (P) { - var R; - R = a.tw[P]; - R = "number" === typeof R ? String.fromCharCode(R) : R; - a.tw[P] = R; + Object.keys(a.zw).forEach(function (O) { + var N; + N = a.zw[O]; + N = "number" === typeof N ? String.fromCharCode(N) : N; + a.zw[O] = N; }); - for (L in a.lA) { - a.lA[a.lA[L]] = L; + for (I in a.nA) { + a.nA[a.nA[I]] = I; } - L = a.lA; + I = a.nA; String.fromCodePoint || (function () { - var R, - K; - function P() { - var Q, - N, - da, + var N, + M; + function O() { + var P, + R, + ea, va, - ra; - Q = []; - N = -1; - da = arguments.length; - if (!da) + ta; + P = []; + R = -1; + ea = arguments.length; + if (!ea) return ""; - for (var na = ""; ++N < da; ) { - va = Number(arguments[N]); - if (!isFinite(va) || 0 > va || 1114111 < va || K(va) != va) + for (var pa = ""; ++R < ea; ) { + va = Number(arguments[R]); + if (!isFinite(va) || 0 > va || 1114111 < va || M(va) != va) throw RangeError("Invalid code point: " + va); if (65535 >= va) - Q.push(va); + P.push(va); else { va -= 65536; - ra = (va >> 10) + 55296; + ta = (va >> 10) + 55296; va = va % 1024 + 56320; - Q.push(ra, va); + P.push(ta, va); } - if (N + 1 == da || 16384 < Q.length) - (na += R.apply(null, Q), Q.length = 0); + if (R + 1 == ea || 16384 < P.length) + (pa += N.apply(null, P), P.length = 0); } - return na; + return pa; } - R = String.fromCharCode; - K = Math.floor; + N = String.fromCharCode; + M = Math.floor; Object.defineProperty ? Object.defineProperty(String, "fromCodePoint", { - value: P, + value: O, configurable: !0, writable: !0 - }) : String.fromCodePoint = P; + }) : String.fromCodePoint = O; })(); })(b); - }, function (q) { + }, function (r) { function b(a, c) { var f, k, @@ -116256,7 +116230,7 @@ a000.D9b = function () { l = -1; do { d = {}; - d.qTb = k; + d.tTb = k; g = a.indexOf("begin=", k) + 7; h = a.indexOf("end=", k) + 5; g = Math.floor(parseInt(a.substr(g, 25), 10) / c * 1E3); @@ -116265,34 +116239,34 @@ a000.D9b = function () { d.startTime = g; d.endTime = h; d.latestEndSoFar = l; - d.hRa = a.indexOf("/p>", k) + 3; - k = d.hRa; + d.gRa = a.indexOf("/p>", k) + 3; + k = d.gRa; f.push(d); k = a.indexOf("= a; }).length; }; - b.prototype.zAb = function (a) { - for (var c = "", f = this.n_.filter(function (l) { + b.prototype.CAb = function (a) { + for (var c = "", f = this.q_.filter(function (l) { return l.startTime <= a && a < l.endTime || l.startTime >= a; }), k = 4; k + 1 < f.length && f[k + 1].startTime === f[4].startTime; ) { k++; } f = f.slice(0, k + 1); - 0 < f.length && (c = this.BE.slice(f[0].qTb, f[f.length - 1].hRa)); + 0 < f.length && (c = this.DE.slice(f[0].tTb, f[f.length - 1].gRa)); return c; }; - q.exports = b; - }, function (q, b, a) { + r.exports = b; + }, function (r, b, a) { var k, l, d; @@ -116304,38 +116278,38 @@ a000.D9b = function () { return .01 * parseFloat(h); }); } - k = a(438); - q.exports = { - lsb: function (g, h) { + k = a(442); + r.exports = { + nsb: function (g, h) { var m, n, - r, + q, p, - u, - t; + t, + u; m = h.textNodes[0] || ({}); n = g.regions; - r = g.styles; + q = g.styles; g = g.aspectRatio; n = n && n[h.region] ? n[h.region] : {}; - m = r && r[m.style] ? r[m.style] : {}; - r = f(k(h.extent, n.extent, "80% 80%")); + m = q && q[m.style] ? q[m.style] : {}; + q = f(k(h.extent, n.extent, "80% 80%")); p = f(k(h.origin, n.origin, "10% 10%")); h = Object; g /= 1280 / 720; - u = (1 - g) / 2; - t = p[0]; + t = (1 - g) / 2; + u = p[0]; p = p[1]; - r = h.create.call(h, { - marginLeft: t * g + u, + q = h.create.call(h, { + marginLeft: u * g + t, marginTop: p, - marginRight: (1 - (t + r[0])) * g + u, - marginBottom: 1 - (p + r[1]) + marginRight: (1 - (u + q[0])) * g + t, + marginBottom: 1 - (p + q[1]) }); - 1 < Object.keys(n).length ? r.verticalAlignment = c(k(m.displayAlign, n.displayAlign, "before")) : r.verticalAlignment = c(k(m.displayAlign, "after")); + 1 < Object.keys(n).length ? q.verticalAlignment = c(k(m.displayAlign, n.displayAlign, "before")) : q.verticalAlignment = c(k(m.displayAlign, "after")); n = k(m.textAlign, n.textAlign, "center"); - r.horizontalAlignment = "string" !== typeof n ? null : d[n]; - return r; + q.horizontalAlignment = "string" !== typeof n ? null : d[n]; + return q; } }; l = { @@ -116350,7 +116324,7 @@ a000.D9b = function () { right: "right", end: "end" }; - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, @@ -116358,87 +116332,87 @@ a000.D9b = function () { h, m, n; - function c(r) { - return "string" !== typeof r || "#" === r[0] && 7 === r.length ? r : "#" === r[0] && 4 === r.length ? "#" + r[1] + r[1] + r[2] + r[2] + r[3] + r[3] : d[r.toLowerCase()]; + function c(q) { + return "string" !== typeof q || "#" === q[0] && 7 === q.length ? q : "#" === q[0] && 4 === q.length ? "#" + q[1] + q[1] + q[2] + q[2] + q[3] + q[3] : d[q.toLowerCase()]; } - function f(r) { + function f(q) { var p, - u, - t; - p = (r || "").split(" "); - u = (/^[0-9]/).test(p); - r = u ? "#000000" : c(p[0]); - t = u ? 0 : 1; - u = parseInt(p[t]); - p = parseInt(p[t + 1]); + t, + u; + p = (q || "").split(" "); + t = (/^[0-9]/).test(p); + q = t ? "#000000" : c(p[0]); + u = t ? 0 : 1; + t = parseInt(p[u]); + p = parseInt(p[u + 1]); return { - color: r, - width: 0 < u ? u : 0, + color: q, + width: 0 < t ? t : 0, blur: 0 < p ? p : 0 }; } - k = a(438); - q.exports = { - psb: function (r, p, u) { - var t, + k = a(442); + r.exports = { + rsb: function (q, p, t) { + var u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I; - t = k(u.characterSize, p.characterSize, "MEDIUM"); - w = r.fontFamily; - w = k(u.characterStyle, "string" !== typeof w ? null : g[w], p.characterStyle, "PROPORTIONAL_SANS_SERIF"); - v = parseInt(r.fontSize, 10) / 100 || 1; - x = "underline" === r.textDecoration; - y = "italic" === r.fontStyle; - z = l[k(u.lYb, p.lYb, "OPAQUE")]; - B = l[k(u.characterOpacity, p.characterOpacity, "OPAQUE")]; - A = l[k(u.backgroundOpacity, r.opacity, p.backgroundOpacity, "OPAQUE")]; - C = c(k(u.characterColor, r.color, p.characterColor, "#ffffff")); - E = c(k(u.backgroundColor, r.backgroundColor, p.backgroundColor, null)); - F = c(k(u.T6a, r.T6a, p.T6a, null)); - D = k(u.characterEdgeAttributes, p.characterEdgeAttributes, null); - v *= h[t] || 1; - G = 1; - m[t] && (G = m[t][w] || 1); - v *= 1 / 19 * G; - G = 0; - n[t] && (G = n[t][w] || 0); - t = G; - G = r.textOutline; - G = "string" !== typeof G ? null : f(G).width; - G = k(G, 0); - I = r.textOutline; - I = "string" !== typeof I ? null : f(I).blur; - I = k(I, 0); - u = u.characterEdgeColor; - r = r.textOutline; - r = "string" !== typeof r ? null : f(r).color; + D, + F, + J; + u = k(t.characterSize, p.characterSize, "MEDIUM"); + w = q.fontFamily; + w = k(t.characterStyle, "string" !== typeof w ? null : g[w], p.characterStyle, "PROPORTIONAL_SANS_SERIF"); + v = parseInt(q.fontSize, 10) / 100 || 1; + x = "underline" === q.textDecoration; + y = "italic" === q.fontStyle; + z = l[k(t.nYb, p.nYb, "OPAQUE")]; + A = l[k(t.characterOpacity, p.characterOpacity, "OPAQUE")]; + B = l[k(t.backgroundOpacity, q.opacity, p.backgroundOpacity, "OPAQUE")]; + C = c(k(t.characterColor, q.color, p.characterColor, "#ffffff")); + E = c(k(t.backgroundColor, q.backgroundColor, p.backgroundColor, null)); + G = c(k(t.W6a, q.W6a, p.W6a, null)); + D = k(t.characterEdgeAttributes, p.characterEdgeAttributes, null); + v *= h[u] || 1; + F = 1; + m[u] && (F = m[u][w] || 1); + v *= 1 / 19 * F; + F = 0; + n[u] && (F = n[u][w] || 0); + u = F; + F = q.textOutline; + F = "string" !== typeof F ? null : f(F).width; + F = k(F, 0); + J = q.textOutline; + J = "string" !== typeof J ? null : f(J).blur; + J = k(J, 0); + t = t.characterEdgeColor; + q = q.textOutline; + q = "string" !== typeof q ? null : f(q).color; return { characterUnderline: x, characterItalic: y, characterStyle: w, windowOpacity: z, - characterOpacity: B, - backgroundOpacity: A, + characterOpacity: A, + backgroundOpacity: B, characterColor: C, backgroundColor: E, - windowColor: F, + windowColor: G, characterEdgeAttributes: D, characterSize: v, - characterTracking: t, - characterEdgeWidth: G, - characterEdgeBlur: I, - characterEdgeColor: c(k(u, r, p.characterEdgeColor, "#000000")) + characterTracking: u, + characterEdgeWidth: F, + characterEdgeBlur: J, + characterEdgeColor: c(k(t, q, p.characterEdgeColor, "#000000")) }; } }; @@ -116508,50 +116482,50 @@ a000.D9b = function () { MONOSPACED_SERIF: 1 } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - b.lC = void 0; - q = a(0); - c = a(440); - f = a(1006); + b.nC = void 0; + r = a(0); + c = a(444); + f = a(1008); k = a(141); - b.lC = new q.ad(function (l) { - l(c.jaa).to(f.nCa).$(); - l(k.pP).WW(function (d) { + b.nC = new r.$c(function (l) { + l(c.baa).to(f.lCa).aa(); + l(k.qP).VW(function (d) { return function () { - return d.$a.get(c.jaa).sJb; + return d.$a.get(c.baa).uJb; }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { function c() { var f; f = this; this.ready = !1; - this.sJb = new Promise(function (k) { - f.tQb = k; + this.uJb = new Promise(function (k) { + f.yQb = k; }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.nCa = void 0; - q = a(1); + b.lCa = void 0; + r = a(1); a = a(0); - c.prototype.tJb = function (f) { - this.ready || (this.tQb(f), this.ready = !0); + c.prototype.vJb = function (f) { + this.ready || (this.yQb(f), this.ready = !0); }; c.prototype.isReady = function () { return this.ready; }; - a = q.__decorate([a.R()], c); - b.nCa = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.lCa = a; + }, function (r, b, a) { var c, f, k, @@ -116561,22 +116535,22 @@ a000.D9b = function () { value: !0 }); b.ei = void 0; - q = a(0); + r = a(0); c = a(85); - f = a(441); - k = a(1008); - l = a(443); - d = a(1009); - b.ei = new q.ad(function (g) { - g(c.rw).sf(function () { + f = a(445); + k = a(1010); + l = a(447); + d = a(1011); + b.ei = new r.$c(function (g) { + g(c.yw).sf(function () { return function () { return pb._cad_global.device; }; }); - g(l.mxa).to(d.lxa).$(); - g(f.jxa).to(k.ixa).$(); + g(l.jxa).to(d.ixa).aa(); + g(f.gxa).to(k.fxa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -116584,34 +116558,34 @@ a000.D9b = function () { g, h; function c(m, n) { - this.wa = m; - this.iqa = n; + this.xa = m; + this.cqa = n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ixa = void 0; - q = a(1); + b.fxa = void 0; + r = a(1); f = a(40); - k = a(5); + k = a(4); l = a(136); - d = a(442); + d = a(446); g = a(56); a = a(0); - c.prototype.Sxb = function () { - for (var m = "", n = this.wa.Ue.ea(k.ma), r = 6; r--; ) { + c.prototype.Yxb = function () { + for (var m = "", n = this.xa.We.ea(k.ma), q = 6; q--; ) { m = ("0123456789ACDEFGHJKLMNPQRTUVWXYZ")[n % 32] + m; n = Math.floor(n / 32); } for (; 30 > m.length; ) { - m += ("0123456789ACDEFGHJKLMNPQRTUVWXYZ")[this.iqa.W0a(new d.gba(0, 31, g.RZa))]; + m += ("0123456789ACDEFGHJKLMNPQRTUVWXYZ")[this.cqa.W0a(new d.aba(0, 31, g.PZa))]; } return m; }; h = c; - h = q.__decorate([a.R(), q.__param(0, a.l(f.wi)), q.__param(1, a.l(l.sZ))], h); - b.ixa = h; - }, function (q, b, a) { + h = r.__decorate([a.R(), r.__param(0, a.l(f.wi)), r.__param(1, a.l(l.sZ))], h); + b.fxa = h; + }, function (r, b, a) { var f, k, l, @@ -116620,141 +116594,141 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; - function c(w, v, x, y, z, B, A, C, E) { - this.Stb = w; - this.en = v; + t, + u; + function c(w, v, x, y, z, A, B, C, E) { + this.Vtb = w; + this.dn = v; this.bb = y; - this.Xga = z; - this.Bc = B; - this.debug = A; - this.xXb = C; - this.hMb = E; - this.Vxa = /^(SDK-|SLW32-|SLW64-|SLMAC-|WWW-BROWSE-|.{10})([A-Z0-9-=]{4,})$/; - this.log = x.Cb("Device"); + this.Rga = z; + this.Dc = A; + this.debug = B; + this.zXb = C; + this.jMb = E; + this.Rxa = /^(SDK-|SLW32-|SLW64-|SLMAC-|WWW-BROWSE-|.{10})([A-Z0-9-=]{4,})$/; + this.log = x.Db("Device"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.lxa = void 0; - q = a(1); + b.ixa = void 0; + r = a(1); f = a(3); k = a(26); - l = a(1010); + l = a(1012); d = a(8); - g = a(441); + g = a(445); h = a(35); m = a(91); n = a(28); - r = a(0); + q = a(0); p = a(78); - u = a(444); - a = a(445); - c.prototype.sRa = function (w) { + t = a(448); + a = a(449); + c.prototype.rRa = function (w) { try { - return w.match(this.Vxa)[2]; + return w.match(this.Rxa)[2]; } catch (v) {} }; - c.prototype.uRa = function (w) { + c.prototype.tRa = function (w) { try { - return w.match(this.Vxa)[1]; + return w.match(this.Rxa)[1]; } catch (v) {} }; c.prototype.create = function (w) { var v; v = this; return new Promise(function (x, y) { - v.en.create().then(function (z) { - var A, + v.dn.create().then(function (z) { + var B, C, E, - F, + G, D, - G; - function B(I) { - v.bb.Bn(I) && v.bb.Bn(A) ? (C = new l.kxa(I, A, void 0, E, w.qS || "cadmium"), x(C)) : y({ - oa: f.M.Rwa + F; + function A(J) { + v.bb.An(J) && v.bb.An(B) ? (C = new l.hxa(J, B, void 0, E, w.pS || "cadmium"), x(C)) : y({ + oa: f.L.Owa }); } - A = w.Kn; - if (w.Dja) { + B = w.Ln; + if (w.wja) { E = "bind_device"; - v.hMb.Of(v.log, {}).then(function (I) { - B(I.esn); - }).catch(function (I) { - y(I); + v.jMb.Pf(v.log, {}).then(function (J) { + A(J.esn); + }).catch(function (J) { + y(J); }); - } else if (w.SK) { + } else if (w.WK) { D = w.gi; - if (v.bb.Bn(D)) { - G = v.uRa(D); - G != w.Kn && v.log.error("esn prefix from ui is different", { - ui: G, - cad: w.Kn, + if (v.bb.An(D)) { + F = v.tRa(D); + F != w.Ln && v.log.error("esn prefix from ui is different", { + ui: F, + cad: w.Ln, ua: w.userAgent }); } else - w.Wma && v.log.error("esn from ui is missing"); - z.load(w.YPa).then(function (I) { - F = I.value; - v.bb.Bn(F) && (!1, v.bb.Bn(D) ? (I = v.sRa(D), E = I === F ? "storage_matched_esn_in_config" : "storage_did_not_match_esn_in_config") : E = "storage_esn_not_in_config", B(A + F)); - }).catch(function (I) { - var M; - function J() { - z.save(w.YPa, M, !1).then(function () { - B(A + M); - }).catch(function (O) { - y(O); + w.Qma && v.log.error("esn from ui is missing"); + z.load(w.WPa).then(function (J) { + G = J.value; + v.bb.An(G) && (!1, v.bb.An(D) ? (J = v.rRa(D), E = J === G ? "storage_matched_esn_in_config" : "storage_did_not_match_esn_in_config") : E = "storage_esn_not_in_config", A(B + G)); + }).catch(function (J) { + var L; + function K() { + z.save(w.WPa, L, !1).then(function () { + A(B + L); + }).catch(function (Q) { + y(Q); }); } function H() { - M = v.Stb.Sxb(); + L = v.Vtb.Yxb(); !1; - J(); + K(); } - if (I.oa === f.M.mA) { - if (v.bb.Bn(w.gi)) { - M = v.sRa(w.gi); - v.bb.Bn(M) ? (E = "config_since_not_in_storage", J()) : (E = "generated_since_invalid_in_config_and_not_in_storage", v.log.error("invalid esn passed from UI", w.gi), H()); + if (J.oa === f.L.oA) { + if (v.bb.An(w.gi)) { + L = v.rRa(w.gi); + v.bb.An(L) ? (E = "config_since_not_in_storage", K()) : (E = "generated_since_invalid_in_config_and_not_in_storage", v.log.error("invalid esn passed from UI", w.gi), H()); } else (E = "generated_since_not_in_config_and_storage", H()); } else - y(I); + y(J); }); } else - w.Ttb && v.Xga && v.Xga.getKeyByName ? v.Xga.getKeyByName(w.dmb).then(function (I) { - I = I.id; - if (v.bb.So(I)) - (I = String.fromCharCode.apply(void 0, v.Bc.decode(I)), v.debug.assert("" != I), A = v.uRa(I), B(I)); + w.Wtb && v.Rga && v.Rga.getKeyByName ? v.Rga.getKeyByName(w.dmb).then(function (J) { + J = J.id; + if (v.bb.Uo(J)) + (J = String.fromCharCode.apply(void 0, v.Dc.decode(J)), v.debug.assert("" != J), B = v.tRa(J), A(J)); else throw "ESN from getKeyByName is not a string"; - }).catch(function (I) { + }).catch(function (J) { y({ - oa: f.M.Qwa, - sb: v.xXb.vd(I) + oa: f.L.Nwa, + qb: v.zXb.vd(J) }); - }) : B(); + }) : A(); }).catch(function (z) { y(z); }); }); }; - t = c; - t = q.__decorate([r.R(), q.__param(0, r.l(g.jxa)), q.__param(1, r.l(p.Rz)), q.__param(2, r.l(d.Kb)), q.__param(3, r.l(k.Gf)), q.__param(4, r.l(u.Kwa)), q.__param(5, r.l(h.Rh)), q.__param(6, r.l(m.Yt)), q.__param(7, r.l(n.Hf)), q.__param(8, r.l(a.kDa))], t); - b.lxa = t; - }, function (q, b) { + u = c; + u = r.__decorate([q.R(), r.__param(0, q.l(g.gxa)), r.__param(1, q.l(p.Tz)), r.__param(2, q.l(d.Ib)), r.__param(3, q.l(k.Hf)), r.__param(4, q.l(t.Hwa)), r.__param(5, q.l(h.Rh)), r.__param(6, q.l(m.cu)), r.__param(7, q.l(n.If)), r.__param(8, q.l(a.gDa))], u); + b.ixa = u; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.kxa = void 0; - b.kxa = function (a, c, f, k) { + b.hxa = void 0; + b.hxa = function (a, c, f, k) { this.gi = a; - this.Kn = c; - this.nia = k; + this.Ln = c; + this.gia = k; }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -116764,77 +116738,77 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E; Object.defineProperty(b, "__esModule", { value: !0 }); - b.CXa = void 0; - q = a(0); + b.AXa = void 0; + r = a(0); c = a(141); - f = a(1012); - k = a(1013); - l = a(1014); - d = a(1015); - g = a(1016); + f = a(1014); + k = a(1015); + l = a(1016); + d = a(1017); + g = a(1018); h = a(15); - m = a(1017); - n = a(1018); - r = a(1019); + m = a(1019); + n = a(1020); + q = a(1021); p = a(46); - u = a(85); - t = a(451); - w = a(447); - v = a(446); + t = a(85); + u = a(455); + w = a(451); + v = a(450); x = a(99); - y = a(260); + y = a(261); z = a(58); - B = a(452); - A = a(1020); - C = a(454); - E = a(455); - b.CXa = new q.ad(function (F) { - F(z.iq).to(k.FAa).$(); - F(w.gCa).to(l.fCa).$(); - F(v.WAa).to(d.VAa).$(); - F(y.QAa).to(g.PAa).$(); - F(z.P$).to(m.EAa).$(); - F(x.eA).to(n.MAa).$(); - F(y.OAa).to(r.NAa).$(); - F(B.SAa).to(A.RAa).$(); - F(C.txa).to(E.sxa).$(); - F(t.Kua).to(f.Jua).$(); - F(z.GAa).WW(function (D) { + A = a(456); + B = a(1022); + C = a(458); + E = a(459); + b.AXa = new r.$c(function (G) { + G(z.kq).to(k.DAa).aa(); + G(w.eCa).to(l.dCa).aa(); + G(v.UAa).to(d.TAa).aa(); + G(y.OAa).to(g.NAa).aa(); + G(z.H$).to(m.CAa).aa(); + G(x.fA).to(n.KAa).aa(); + G(y.MAa).to(q.LAa).aa(); + G(A.QAa).to(B.PAa).aa(); + G(C.qxa).to(E.pxa).aa(); + G(u.Hua).to(f.Gua).aa(); + G(z.EAa).VW(function (D) { return function () { - return D.$a.get(c.pP)().then(function (G) { - return new Promise(function (I) { + return D.$a.get(c.qP)().then(function (F) { + return new Promise(function (J) { var H, - M, - O; - function J() { - M() && O() && G.OU ? I(D.$a.get(z.iq)) : H.ol(J); - } - H = D.$a.get(p.lj); - M = D.$a.get(h.dd); - O = D.$a.get(u.rw); - H.ol(J); + L, + Q; + function K() { + L() && Q() && F.NU ? J(D.$a.get(z.kq)) : H.nl(K); + } + H = D.$a.get(p.ij); + L = D.$a.get(h.ed); + Q = D.$a.get(t.yw); + H.nl(K); }); }); }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -116842,75 +116816,75 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u) { - var t; - t = this; - this.iHb = n; - this.qU = r; - this.config = u; - this.Aqa = []; - this.iHb.V6(f.i7a, this.nCb.bind(this)); + function c(n, q, p, t) { + var u; + u = this; + this.kHb = n; + this.pU = q; + this.config = t; + this.uqa = []; + this.kHb.S6(f.k7a, this.pCb.bind(this)); p().then(function (w) { var v; - v = u().Mq.rxb; - t.THb = v ? m.hj[v.toUpperCase()] : m.hj.uf; - t.Ql = w; - t.xRb(); + v = t().Nq.wxb; + u.WHb = v ? m.fj[v.toUpperCase()] : m.fj.wf; + u.Ql = w; + u.ARb(); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Jua = void 0; - q = a(1); + b.Gua = void 0; + r = a(1); k = a(0); l = a(15); d = a(108); g = a(58); h = a(99); m = a(8); - c.prototype.nCb = function (n, r) { - this.Ql ? this.U0a(n, r) : this.Aqa.push([n, r]); + c.prototype.pCb = function (n, q) { + this.Ql ? this.U0a(n, q) : this.uqa.push([n, q]); }; - c.prototype.xRb = function () { + c.prototype.ARb = function () { var n, - r; + q; n = this; - r = this.Aqa; - this.Aqa = []; - r.forEach(function (p) { + q = this.uqa; + this.uqa = []; + q.forEach(function (p) { n.U0a(p[0], p[1]); }); }; - c.prototype.U0a = function (n, r) { + c.prototype.U0a = function (n, q) { var p; - if (this.Ql && this.NSb(n)) { + if (this.Ql && this.RSb(n)) { p = { debugMessage: n.message, debugCategory: n.Gn }; - n.Sb.forEach(function (u) { - return p = Object.assign(Object.assign({}, p), u.value); + n.Vb.forEach(function (t) { + return p = Object.assign(Object.assign({}, p), t.value); }); p = Object.assign(Object.assign({}, p), { prefix: "debug" }); - n = this.qU.Uu("debug", m.hj[n.level].toLowerCase(), p, r); - this.Ql.Xd(n); + n = this.pU.Zu("debug", m.fj[n.level].toLowerCase(), p, q); + this.Ql.fe(n); } }; - c.prototype.NSb = function (n) { - var r; - r = this.THb; - return void 0 !== r && n.level <= r && !n.Sb.find(function (p) { - return p.NS(m.DO); + c.prototype.RSb = function (n) { + var q; + q = this.WHb; + return void 0 !== q && n.level <= q && !n.Vb.find(function (p) { + return p.MS(m.DO); }); }; a = f = c; - a.i7a = "adaptorAll"; - a = f = q.__decorate([k.R(), q.__param(0, k.l(d.eI)), q.__param(1, k.l(h.eA)), q.__param(2, k.l(g.GAa)), q.__param(3, k.l(l.dd))], a); - b.Jua = a; - }, function (q, b, a) { + a.k7a = "adaptorAll"; + a = f = r.__decorate([k.R(), r.__param(0, k.l(d.mI)), r.__param(1, k.l(h.fA)), r.__param(2, k.l(g.EAa)), r.__param(3, k.l(l.ed))], a); + b.Gua = a; + }, function (r, b, a) { var f, k, l, @@ -116919,62 +116893,62 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x, y, z, B) { - this.config = t; + t; + function c(u, w, v, x, y, z, A) { + this.config = u; this.json = w; - this.vc = v; - this.ZGb = x; - this.EU = z; - this.gha = B; - this.u4 = this.Km = !1; + this.xc = v; + this.aHb = x; + this.DU = z; + this.aha = A; + this.u4 = this.Im = !1; this.listeners = []; - k.Vn(this, "json"); - this.ya = y.Cb("LogBatcher"); + k.Xn(this, "json"); + this.za = y.Db("LogBatcher"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.FAa = void 0; - q = a(1); + b.DAa = void 0; + r = a(1); f = a(0); k = a(56); l = a(36); - d = a(446); + d = a(450); g = a(46); h = a(8); m = a(58); - n = a(447); - r = a(3); + n = a(451); + q = a(3); p = a(93); a(180); - u = a(448); + t = a(452); c.prototype.mb = function () { - this.Km = !0; + this.Im = !0; }; - c.prototype.Xd = function (t) { + c.prototype.fe = function (u) { var w; w = this; - this.WSb(t) || (!1, 0 < t.size.Wk(this.config.QHb) ? this.ya.error("Logblob is too large, dropping from the queue", { - logblobType: t.type, - logblobSize: t.size.toString() + this.ZSb(u) || (!1, 0 < u.size.Wk(this.config.THb) ? this.za.error("Logblob is too large, dropping from the queue", { + logblobType: u.type, + logblobSize: u.size.toString() }) : (this.listeners.forEach(function (v) { - return v.BIb(t); - }), !1, this.EU.sea(t), this.vc.ol(function () { - w.cxb(); + return v.DIb(u); + }), !1, this.DU.mea(u), this.xc.nl(function () { + w.ixb(); }))); }; - c.prototype.flush = function (t) { + c.prototype.flush = function (u) { var w; w = this; - t = void 0 === t ? !1 : t; - return this.u4 ? (this.ya.trace("LogBatcher is in error state, ignoring flush"), Promise.reject()) : new Promise(function (v, x) { - w.ya.trace("Flushing", h.DO); - w.Vp(); - w.vc.ol(function () { - w.Jra(t).then(function () { + u = void 0 === u ? !1 : u; + return this.u4 ? (this.za.trace("LogBatcher is in error state, ignoring flush"), Promise.reject()) : new Promise(function (v, x) { + w.za.trace("Flushing", h.DO); + w.xr(); + w.xc.nl(function () { + w.Cra(u).then(function () { v(); }).catch(function (y) { x(y); @@ -116982,110 +116956,110 @@ a000.D9b = function () { }); }); }; - c.prototype.addListener = function (t) { - this.listeners.push(t); + c.prototype.addListener = function (u) { + this.listeners.push(u); }; - c.prototype.removeListener = function (t) { - t = this.listeners.indexOf(t); - 0 <= t && this.listeners.splice(t, 1); + c.prototype.removeListener = function (u) { + u = this.listeners.indexOf(u); + 0 <= u && this.listeners.splice(u, 1); }; - c.prototype.Jra = function (t) { + c.prototype.Cra = function (u) { var w, v; w = this; - t = void 0 === t ? !1 : t; - if (!this.Km) - return (this.ya.trace("LogBatcher is not initialized"), Promise.resolve()); + u = void 0 === u ? !1 : u; + if (!this.Im) + return (this.za.trace("LogBatcher is not initialized"), Promise.resolve()); if (this.u4) - return (this.ya.trace("LogBatcher is in error state, ignoring sendLogMessages"), Promise.resolve()); - v = this.EU.xyb(); - if (0 === v.length && !t) - return (this.ya.trace("No logblobs to send"), Promise.resolve()); + return (this.za.trace("LogBatcher is in error state, ignoring sendLogMessages"), Promise.resolve()); + v = this.DU.Cyb(); + if (0 === v.length && !u) + return (this.za.trace("No logblobs to send"), Promise.resolve()); !1; - this.Vp(); + this.xr(); this.listeners.forEach(function () {}); - t = Promise.resolve(); + u = Promise.resolve(); for (var x = {}, y = aa(v), z = y.next(); !z.done; (x = { - V8: x.V8 + P8: x.P8 }, z = y.next())) { - x.V8 = z.value; - t = t.then((function (B) { + x.P8 = z.value; + u = u.then((function (A) { return function () { - return w.tRb(B.V8); + return w.wRb(A.P8); }; })(x)); } - return t.then(function () { - return w.tB(); - }).catch(function (B) { - v.filter(function (A) { - return !A.Ay; - }).forEach(function (A) { - return A.Cs(); + return u.then(function () { + return w.pF(); + }).catch(function (A) { + v.filter(function (B) { + return !B.Dy; + }).forEach(function (B) { + return B.Gs(); }); - w.tB(); - throw Error("Send failure. " + B); + w.pF(); + throw Error("Send failure. " + A); }); }; - c.prototype.tRb = function (t) { + c.prototype.wRb = function (u) { var w; w = this; - this.ya.trace("Sending batch: " + t.size, h.DO); - return Promise.resolve(this.EU.APb(t)).then(function () { - return w.ZGb.send(t.ZF); + this.za.trace("Sending batch: " + u.size, h.DO); + return Promise.resolve(this.DU.FPb(u)).then(function () { + return w.aHb.send(u.eG); }).then(function () { - return t.HN(); + return u.IN(); }).catch(function (v) { - w.ya.warn("Failed to send batch of logblobs.", v, h.DO); - t.Cs(); - w.JSb(v) && w.EU.gkb(t); - w.XSb(v) && (w.u4 = !0); + w.za.warn("Failed to send batch of logblobs.", v, h.DO); + u.Gs(); + w.NSb(v) && w.DU.gkb(u); + w.$Sb(v) && (w.u4 = !0); throw v; }); }; - c.prototype.JSb = function (t) { - return t.wd === r.JY.fDa ? !1 : this.config.oea; + c.prototype.NSb = function (u) { + return u.wd === q.IY.bDa ? !1 : this.config.iea; }; - c.prototype.XSb = function (t) { - return t.jc === r.M.Lya || t.jc === r.M.$O || t.jc === r.M.dP ? !0 : !1; + c.prototype.$Sb = function (u) { + return u.kc === q.L.Jya || u.kc === q.L.$O || u.kc === q.L.dP ? !0 : !1; }; - c.prototype.cxb = function () { - var t; - t = this; - 0 < this.EU.size.Wk(this.config.pYa) ? this.Jra().catch(function (w) { - return t.ya.warn("Failed to send log messages on size threshold. " + w); - }) : this.tB(); + c.prototype.ixb = function () { + var u; + u = this; + 0 < this.DU.size.Wk(this.config.mYa) ? this.Cra().catch(function (w) { + return u.za.warn("Failed to send log messages on size threshold. " + w); + }) : this.pF(); }; - c.prototype.Vp = function () { + c.prototype.xr = function () { this.G4 && (!1, this.G4.cancel(), this.G4 = void 0); }; - c.prototype.tB = function () { - this.G4 || (!1, this.G4 = this.vc.Oj(this.config.uRb, this.pM.bind(this))); + c.prototype.pF = function () { + this.G4 || (!1, this.G4 = this.xc.Nj(this.config.xRb, this.rM.bind(this))); }; - c.prototype.pM = function () { - var t; - t = this; + c.prototype.rM = function () { + var u; + u = this; this.u4 = !1; - this.Vp(); - this.Jra().catch(function (w) { - return t.ya.warn("Failed to send log messages on timer. " + w); + this.xr(); + this.Cra().catch(function (w) { + return u.za.warn("Failed to send log messages on timer. " + w); }); }; - c.prototype.stringify = function (t) { + c.prototype.stringify = function (u) { var w; w = ""; try { - w = this.json.stringify(t.data, void 0, " "); + w = this.json.stringify(u.data, void 0, " "); } catch (v) {} return w; }; - c.prototype.WSb = function (t) { - return 0 <= this.config.x3a.indexOf(t.type) ? !0 : t.type === u.bf.debug ? 0 <= this.config.w3a.indexOf(t.data.debugCategory) : !1; + c.prototype.ZSb = function (u) { + return 0 <= this.config.x3a.indexOf(u.type) ? !0 : u.type === t.xf.debug ? 0 <= this.config.w3a.indexOf(u.data.debugCategory) : !1; }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(m.P$)), q.__param(1, f.l(l.mD)), q.__param(2, f.l(g.lj)), q.__param(3, f.l(d.WAa)), q.__param(4, f.l(h.Kb)), q.__param(5, f.l(n.gCa)), q.__param(6, f.l(p.lY))], a); - b.FAa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(m.H$)), r.__param(1, f.l(l.oD)), r.__param(2, f.l(g.ij)), r.__param(3, f.l(d.UAa)), r.__param(4, f.l(h.Ib)), r.__param(5, f.l(n.eCa)), r.__param(6, f.l(p.kY))], a); + b.DAa = a; + }, function (r, b, a) { var k, l, d, @@ -117093,83 +117067,83 @@ a000.D9b = function () { h, m, n; - function c(r) { - this.BJ = d.hb; - this.hda = []; - this.vQ = this.y_ = !1; - r && (this.BJ = r.size, this.hda = r.ZF); - } - function f(r, p, u, t) { - this.CIb = r; + function c(q) { + this.DJ = d.hb; + this.bda = []; + this.wQ = this.B_ = !1; + q && (this.DJ = q.size, this.bda = q.eG); + } + function f(q, p, t, u) { + this.EIb = q; this.config = p; - this.Bg = u; - this.json = t; - l.Vn(this, "json"); - this.ya = this.Bg.Cb("MessageQueue"); - this.js = []; + this.Ag = t; + this.json = u; + l.Xn(this, "json"); + this.za = this.Ag.Db("MessageQueue"); + this.ms = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.fCa = void 0; - q = a(1); + b.dCa = void 0; + r = a(1); k = a(0); l = a(56); d = a(49); - g = a(260); + g = a(261); h = a(8); m = a(36); a = a(58); - f.prototype.sea = function (r) { + f.prototype.mea = function (q) { var p, - u; - 0 === this.js.length && this.js.push(this.Ija()); - if (r = this.jBb(r)) { - p = this.CIb.measure([r]); - u = this.js[this.js.length - 1]; - 0 < u.size.add(p).Wk(this.config.pYa) && (u = this.Ija(), this.js.push(u)); - u.sea(r); + t; + 0 === this.ms.length && this.ms.push(this.Bja()); + if (q = this.lBb(q)) { + p = this.EIb.measure([q]); + t = this.ms[this.ms.length - 1]; + 0 < t.size.add(p).Wk(this.config.mYa) && (t = this.Bja(), this.ms.push(t)); + t.mea(q); } }; - f.prototype.xyb = function () { - var r; - r = this.js.filter(function (p) { - return p.Qnb; + f.prototype.Cyb = function () { + var q; + q = this.ms.filter(function (p) { + return p.Rnb; }); - this.js.push(this.Ija()); - r.forEach(function (p) { - return p.EHb(); + this.ms.push(this.Bja()); + q.forEach(function (p) { + return p.HHb(); }); - return r; + return q; }; - f.prototype.gkb = function (r) { - r.Ay || this.js.unshift(new c(r)); + f.prototype.gkb = function (q) { + q.Dy || this.ms.unshift(new c(q)); }; - f.prototype.APb = function (r) { - r = this.js.indexOf(r); - 0 <= r && this.js.splice(r, 1); + f.prototype.FPb = function (q) { + q = this.ms.indexOf(q); + 0 <= q && this.ms.splice(q, 1); }; - f.prototype.jBb = function (r) { + f.prototype.lBb = function (q) { try { return { - data: this.json.parse(this.json.stringify(r.data)), - severity: r.severity, - size: r.size, - timestamp: r.timestamp, - type: r.type + data: this.json.parse(this.json.stringify(q.data)), + severity: q.severity, + size: q.size, + timestamp: q.timestamp, + type: q.type }; - } catch (t) { + } catch (u) { var p, - u; + t; p = {}; - r = r.data; - u = r.debugMessage; - u && "string" === typeof u && (p.originalDebugMessage = u); - (r = r.debugCategory) && "string" === typeof r && (p.originalDebugCategory = r); - this.ya.error("JSON.stringify error: " + t.message, p); + q = q.data; + t = q.debugMessage; + t && "string" === typeof t && (p.originalDebugMessage = t); + (q = q.debugCategory) && "string" === typeof q && (p.originalDebugCategory = q); + this.za.error("JSON.stringify error: " + u.message, p); } }; - f.prototype.Ija = function () { + f.prototype.Bja = function () { return new c(); }; Xa.Object.defineProperties(f.prototype, { @@ -117177,60 +117151,60 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.js.reduce(function (r, p) { - return r.add(p.size); + return this.ms.reduce(function (q, p) { + return q.add(p.size); }, d.hb); } } }); n = f; - n = q.__decorate([k.R(), q.__param(0, k.l(g.QAa)), q.__param(1, k.l(a.P$)), q.__param(2, k.l(h.Kb)), q.__param(3, k.l(m.mD))], n); - b.fCa = n; - c.prototype.HN = function () { - this.y_ = !1; - this.vQ = !0; + n = r.__decorate([k.R(), r.__param(0, k.l(g.OAa)), r.__param(1, k.l(a.H$)), r.__param(2, k.l(h.Ib)), r.__param(3, k.l(m.oD))], n); + b.dCa = n; + c.prototype.IN = function () { + this.B_ = !1; + this.wQ = !0; }; - c.prototype.Cs = function () { - this.y_ = !1; + c.prototype.Gs = function () { + this.B_ = !1; }; - c.prototype.sea = function (r) { - this.hda.push(r); - this.BJ = this.BJ.add(r.size); + c.prototype.mea = function (q) { + this.bda.push(q); + this.DJ = this.DJ.add(q.size); }; - c.prototype.EHb = function () { - this.y_ = !0; + c.prototype.HHb = function () { + this.B_ = !0; }; Xa.Object.defineProperties(c.prototype, { size: { configurable: !0, enumerable: !0, get: function () { - return this.BJ; + return this.DJ; } }, - ZF: { + eG: { configurable: !0, enumerable: !0, get: function () { - return this.hda; + return this.bda; } }, - Qnb: { + Rnb: { configurable: !0, enumerable: !0, get: function () { - return 0 < this.ZF.length && !1 === this.y_; + return 0 < this.eG.length && !1 === this.B_; } }, - Ay: { + Dy: { configurable: !0, enumerable: !0, get: function () { - return this.vQ; + return this.wQ; } } }); - }, function (q, b, a) { + }, function (r, b, a) { var k, l, d, @@ -117238,20 +117212,20 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; - function c(w, v, x, y, z, B, A, C) { - this.Pa = w; + t, + u; + function c(w, v, x, y, z, A, B, C) { + this.La = w; this.platform = x; this.ei = y; this.json = z; - this.Rd = B; - this.ki = A; - this.gHb = C; - l.Vn(this, "json"); - this.ya = v.Cb("LogblobSender"); + this.Pd = A; + this.ki = B; + this.iHb = C; + l.Xn(this, "json"); + this.za = v.Db("LogblobSender"); } function f() { this.entries = []; @@ -117259,102 +117233,102 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.VAa = void 0; - q = a(1); + b.TAa = void 0; + r = a(1); k = a(0); l = a(56); d = a(36); - g = a(5); + g = a(4); h = a(28); m = a(20); n = a(34); - r = a(85); + q = a(85); p = a(8); - u = a(449); - a = a(70); + t = a(453); + a = a(71); c.prototype.send = function (w) { var v; v = this; return new Promise(function (x, y) { var z; try { - z = w.reduce(function (B, A) { - B.entries.push(v.Vrb(A)); - return B; + z = w.reduce(function (A, B) { + A.entries.push(v.Wrb(B)); + return A; }, new f()); - x(v.Vxb(z)); - } catch (B) { - v.ya.error(B.message); - y(B); + x(v.ayb(z)); + } catch (A) { + v.za.error(A.message); + y(A); } }).then(function (x) { - return v.Mra(x); + return v.Fra(x); }); }; - c.prototype.Vrb = function (w) { - return this.Rd.cG(this.Rd.cG({}, w.data), { + c.prototype.Wrb = function (w) { + return this.Pd.iG(this.Pd.iG({}, w.data), { esn: this.ei().gi, sev: w.severity, type: w.type, - lver: this.platform.ana, - jssid: this.Pa.id, - devmod: this.platform.Wx, - jsoffms: w.timestamp.Ba(this.Pa.TF).ea(g.ma), + lver: this.platform.Vma, + jssid: this.La.id, + devmod: this.platform.ay, + jsoffms: w.timestamp.Da(this.La.ZF).ea(g.ma), clienttime: w.timestamp.ea(g.ma), - client_utc: w.timestamp.ea(g.nn), - uiver: this.ki.Ez + client_utc: w.timestamp.ea(g.ln), + uiver: this.ki.Hz }); }; - c.prototype.Vxb = function (w) { + c.prototype.ayb = function (w) { var v; v = this; try { return this.json.stringify(w); } catch (z) { for (var x = {}, y = 0; y < w.entries.length; (x = { - gO: x.gO, - Ut: x.Ut + fO: x.fO, + Zt: x.Zt }, ++y)) { - x.Ut = Object.assign({}, w.entries[y]); + x.Zt = Object.assign({}, w.entries[y]); try { - this.json.stringify(x.Ut); - } catch (B) { - x.gO = void 0; - this.Rd.uB(x.Ut, (function (A) { + this.json.stringify(x.Zt); + } catch (A) { + x.fO = void 0; + this.Pd.uB(x.Zt, (function (B) { return function (C, E) { try { v.json.stringify(E); - } catch (F) { - A.gO = F.message; - A.Ut[C] = A.gO; + } catch (G) { + B.fO = G.message; + B.Zt[C] = B.fO; } }; })(x)); - x.Ut.stringifyException = x.gO; - x.Ut.originalType = x.Ut.type; - x.Ut.type = "debug"; - x.Ut.sev = "error"; + x.Zt.stringifyException = x.fO; + x.Zt.originalType = x.Zt.type; + x.Zt.type = "debug"; + x.Zt.sev = "error"; } } return this.json.stringify(w); } }; - c.prototype.Mra = function (w) { + c.prototype.Fra = function (w) { var v; v = this; - return this.gHb.Of(this.ya, { + return this.iHb.Pf(this.za, { logblobs: w }).then(function () { !1; }).catch(function (x) { - v.ya.error("PBO logblob failed", x); + v.za.error("PBO logblob failed", x); return Promise.reject(x); }); }; - t = c; - t = q.__decorate([k.R(), q.__param(0, k.l(m.zd)), q.__param(1, k.l(p.Kb)), q.__param(2, k.l(n.Kk)), q.__param(3, k.l(r.rw)), q.__param(4, k.l(d.mD)), q.__param(5, k.l(h.Hf)), q.__param(6, k.l(a.ku)), q.__param(7, k.l(u.CDa))], t); - b.VAa = t; - }, function (q, b, a) { + u = c; + u = r.__decorate([k.R(), r.__param(0, k.l(m.zd)), r.__param(1, k.l(p.Ib)), r.__param(2, k.l(n.Kk)), r.__param(3, k.l(q.yw)), r.__param(4, k.l(d.oD)), r.__param(5, k.l(h.If)), r.__param(6, k.l(a.ru)), r.__param(7, k.l(t.yDa))], u); + b.TAa = u; + }, function (r, b, a) { var f, k, l; @@ -117364,24 +117338,24 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.PAa = void 0; - q = a(1); + b.NAa = void 0; + r = a(1); f = a(0); - k = a(260); + k = a(261); l = a(49); c.prototype.measure = function (d) { var g; g = this; return d.map(function (h) { - return h.size.add(g.config.bHb()); + return h.size.add(g.config.dHb()); }).reduce(function (h, m) { return h.add(m); - }, l.ca(0)); + }, l.da(0)); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.OAa))], a); - b.PAa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.MAa))], a); + b.NAa = a; + }, function (r, b, a) { var f, k, l, @@ -117389,33 +117363,33 @@ a000.D9b = function () { g, h, m; - function c(n, r) { + function c(n, q) { n = h.ff.call(this, n, "PboConfigImpl") || this; - n.config = r; - n.QHb = f.ca(5E5); - n.uRb = k.B5(1); - n.pYa = f.ca(1E6); + n.config = q; + n.THb = f.da(5E5); + n.xRb = k.B5(1); + n.mYa = f.da(1E6); return n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.EAa = void 0; - q = a(1); + b.CAa = void 0; + r = a(1); f = a(49); - k = a(5); + k = a(4); l = a(0); d = a(15); g = a(44); h = a(45); a = a(37); - ka(c, h.ff); + ja(c, h.ff); Xa.Object.defineProperties(c.prototype, { - oea: { + iea: { configurable: !0, enumerable: !0, get: function () { - return this.config().oea; + return this.config().iea; } }, x3a: { @@ -117434,11 +117408,11 @@ a000.D9b = function () { } }); m = c; - q.__decorate([g.config(g.object(), "shedLogblobTypes")], m.prototype, "x3a", null); - q.__decorate([g.config(g.ux("string"), "shedDebugTypes")], m.prototype, "w3a", null); - m = q.__decorate([l.R(), q.__param(0, l.l(a.km)), q.__param(1, l.l(d.dd))], m); - b.EAa = m; - }, function (q, b, a) { + r.__decorate([g.config(g.object(), "shedLogblobTypes")], m.prototype, "x3a", null); + r.__decorate([g.config(g.zx("string"), "shedDebugTypes")], m.prototype, "w3a", null); + m = r.__decorate([l.R(), r.__param(0, l.l(a.jm)), r.__param(1, l.l(d.ed))], m); + b.CAa = m; + }, function (r, b, a) { var k, l, d, @@ -117446,70 +117420,70 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w, v, x, y, z, B, A, C) { - this.platform = t; - this.Yga = w; + function c(t, u, w, v, x, y, z, A, B, C) { + this.platform = u; + this.Sga = w; this.type = v; this.severity = x; this.timestamp = y; - this.Pa = B; + this.La = A; this.data = z; this.data.type = v; this.data.sev = x; - this.data.devmod = this.platform.Wx; + this.data.devmod = this.platform.ay; this.data.clver = this.platform.version; - u && u.Ud && (u.Ud.os && (this.data.osplatform = u.Ud.os.name, this.data.osver = u.Ud.os.version), this.data.browsername = u.Ud.name, this.data.browserver = u.Ud.version); - u.kma && (this.data.tester = !0); - u.HB && !this.data.groupname && (this.data.groupname = u.HB); - u.YJ && (this.data.groupname = this.data.groupname ? this.data.groupname + "|" + u.YJ : u.YJ); - u.uH && (this.data.uigroupname = u.uH); + t && t.Td && (t.Td.os && (this.data.osplatform = t.Td.os.name, this.data.osver = t.Td.os.version), this.data.browsername = t.Td.name, this.data.browserver = t.Td.version); + t.ema && (this.data.tester = !0); + t.uy && !this.data.groupname && (this.data.groupname = t.uy); + t.bK && (this.data.groupname = this.data.groupname ? this.data.groupname + "|" + t.bK : t.bK); + t.CH && (this.data.uigroupname = t.CH); this.data.uigroupname && (this.data.groupname = this.data.groupname ? this.data.groupname + ("|" + this.data.uigroupname) : this.data.uigroupname); - this.data.appLogSeqNum = this.Pa.hAb(); - this.data.uniqueLogId = A.oSa(); - this.data.appId = this.Pa.id; - C && (u = this.Pa.Zb(), this.data.soffms = u.Ba(C.Wl).ea(g.ma), this.data.mid = this.data.mid || C.K, this.data.lvpi = C.$ma, this.data.uiLabel = C.Zd, this.data.uxLabels = C.G8, v = "startup" === v ? "playbackxid" : "xid", this.data[v] = "xid" === v && this.data.xid || C.ba, C.SG && (v = C.SG, (C = C.SG.split(".")) && 1 < C.length && "S" !== C[0][0] && (v = "SABTest" + C[0] + ".Cell" + C[1]), this.data.groupname = this.data.groupname ? this.data.groupname + "|" + v : v)); - } - function f(u, t, w, v, x, y) { - this.wa = u; - this.Yga = t; + this.data.appLogSeqNum = this.La.kAb(); + this.data.uniqueLogId = B.nSa(); + this.data.appId = this.La.id; + C && (t = this.La.Xb(), this.data.soffms = t.Da(C.Vl).ea(g.ma), this.data.mid = this.data.mid || C.K, this.data.lvpi = C.Uma, this.data.uiLabel = C.je, this.data.uxLabels = C.B8, v = "startup" === v ? "playbackxid" : "xid", this.data[v] = "xid" === v && this.data.xid || C.ca, C.$G && (v = C.$G, (C = C.$G.split(".")) && 1 < C.length && "S" !== C[0][0] && (v = "SABTest" + C[0] + ".Cell" + C[1]), this.data.groupname = this.data.groupname ? this.data.groupname + "|" + v : v)); + } + function f(t, u, w, v, x, y) { + this.xa = t; + this.Sga = u; this.config = w; - this.Pa = v; - this.zXb = x; + this.La = v; + this.BXb = x; this.platform = y; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.MAa = void 0; - q = a(1); + b.KAa = void 0; + r = a(1); k = a(49); l = a(0); d = a(40); - g = a(5); - h = a(317); + g = a(4); + h = a(319); m = a(38); n = a(20); - r = a(450); + q = a(454); a = a(34); - f.prototype.Uu = function (u, t, w, v) { - return new c(this.config, this.platform, this.Yga, u, t, this.wa.Ue, w, this.Pa, this.zXb, v); + f.prototype.Zu = function (t, u, w, v) { + return new c(this.config, this.platform, this.Sga, t, u, this.xa.We, w, this.La, this.BXb, v); }; p = f; - p = q.__decorate([l.R(), q.__param(0, l.l(d.wi)), q.__param(1, l.l(h.Mwa)), q.__param(2, l.l(m.gm)), q.__param(3, l.l(n.zd)), q.__param(4, l.l(r.HHa)), q.__param(5, l.l(a.Kk))], p); - b.MAa = p; + p = r.__decorate([l.R(), r.__param(0, l.l(d.wi)), r.__param(1, l.l(h.Jwa)), r.__param(2, l.l(m.fm)), r.__param(3, l.l(n.zd)), r.__param(4, l.l(q.DHa)), r.__param(5, l.l(a.Kk))], p); + b.KAa = p; Xa.Object.defineProperties(c.prototype, { size: { configurable: !0, enumerable: !0, get: function () { - this.uNa || (this.uNa = k.ca(this.Yga.encode(this.data).length)); + this.uNa || (this.uNa = k.da(this.Sga.encode(this.data).length)); return this.uNa; } } }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; @@ -117519,20 +117493,20 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.NAa = void 0; - q = a(1); + b.LAa = void 0; + r = a(1); f = a(0); k = a(49); a = a(85); - c.prototype.bHb = function () { + c.prototype.dHb = function () { var d; d = this.ei() ? this.ei().gi.length : 40; - return k.ca(d + 33); + return k.da(d + 33); }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(a.rw))], l); - b.NAa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(a.yw))], l); + b.LAa = l; + }, function (r, b, a) { var f, k, l, @@ -117541,83 +117515,83 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, - A; - function c(C, E, F, D, G, I, J, H, M, O, L, P, R, K, Q, N, da) { - this.S4a = C; + A, + B; + function c(C, E, G, D, F, J, K, H, L, Q, I, O, N, M, P, R, ea) { + this.U4a = C; this.Ql = E; - this.Kna = F; - this.xia = D; - this.te = G; - this.X1 = I; - this.Bf = J; + this.Ena = G; + this.pia = D; + this.ve = F; + this.Z1 = J; + this.Df = K; this.config = H; - this.pd = M; - this.wa = O; - this.Pa = L; - this.platform = P; - this.$n = R; - this.qU = K; - this.kl = Q; - this.Oq = N; - this.aG = da; + this.qd = L; + this.xa = Q; + this.La = I; + this.platform = O; + this.Ip = N; + this.pU = M; + this.xk = P; + this.Pq = R; + this.gG = ea; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.RAa = void 0; - q = a(1); - f = a(336); + b.PAa = void 0; + r = a(1); + f = a(338); k = a(58); l = a(28); - d = a(344); - g = a(211); + d = a(346); + g = a(212); h = a(0); - m = a(453); - n = a(454); - r = a(115); + m = a(457); + n = a(458); + q = a(115); p = a(15); - u = a(40); - t = a(20); + t = a(40); + u = a(20); w = a(34); v = a(99); x = a(116); y = a(154); z = a(36); - B = a(38); - a = a(261); - c.prototype.create = function (C, E, F) { - return new m.TAa(C, E, F, this.S4a, this.Ql, this.Kna, this.xia, this.te, this.X1, this.Bf, this.config, this.pd, this.wa, this.Pa, this.platform, this.$n, this.qU, this.kl, this.Oq, this.aG); + A = a(38); + a = a(262); + c.prototype.create = function (C, E, G) { + return new m.RAa(C, E, G, this.U4a, this.Ql, this.Ena, this.pia, this.ve, this.Z1, this.Df, this.config, this.qd, this.xa, this.La, this.platform, this.Ip, this.pU, this.xk, this.Pq, this.gG); }; - A = c; - A = q.__decorate([h.R(), q.__param(0, h.l(f.bHa)), q.__param(1, h.l(k.iq)), q.__param(2, h.l(d.LBa)), q.__param(3, h.l(g.i$)), q.__param(4, h.l(l.Hf)), q.__param(5, h.l(n.txa)), q.__param(6, h.l(r.dA)), q.__param(7, h.l(p.dd)), q.__param(8, h.l(x.SD)), q.__param(9, h.l(u.wi)), q.__param(10, h.l(t.zd)), q.__param(11, h.l(w.Kk)), q.__param(12, h.l(z.CP)), q.__param(13, h.l(v.eA)), q.__param(14, h.l(y.sI)), q.__param(15, h.l(B.gm)), q.__param(16, h.l(a.gaa))], A); - b.RAa = A; - }, function (q, b, a) { + B = c; + B = r.__decorate([h.R(), r.__param(0, h.l(f.YGa)), r.__param(1, h.l(k.kq)), r.__param(2, h.l(d.JBa)), r.__param(3, h.l(g.b$)), r.__param(4, h.l(l.If)), r.__param(5, h.l(n.qxa)), r.__param(6, h.l(q.eA)), r.__param(7, h.l(p.ed)), r.__param(8, h.l(x.VD)), r.__param(9, h.l(t.wi)), r.__param(10, h.l(u.zd)), r.__param(11, h.l(w.Kk)), r.__param(12, h.l(z.CP)), r.__param(13, h.l(v.fA)), r.__param(14, h.l(y.yI)), r.__param(15, h.l(A.fm)), r.__param(16, h.l(a.Z$))], B); + b.PAa = B; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.rxa = void 0; + b.oxa = void 0; c = a(49); - b.rxa = function (f, k) { - this.yub = f; - this.size = k.bma() ? c.hb : k; + b.oxa = function (f, k) { + this.Cub = f; + this.size = k.Wla() ? c.hb : k; }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jYa = void 0; - b.jYa = function (a, c) { + b.gYa = void 0; + b.gYa = function (a, c) { var d, g; if (0 !== a.length) { @@ -117631,7 +117605,7 @@ a000.D9b = function () { return f; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -117642,89 +117616,89 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mZa = void 0; - q = a(0); - c = a(1024); + b.jZa = void 0; + r = a(0); + c = a(1026); f = a(115); - k = a(456); - l = a(1025); - d = a(262); - g = a(457); - h = a(1026); - b.mZa = new q.ad(function (m) { - m(k.bIa).to(c.aIa).$(); - m(f.dA).RC(function () { + k = a(460); + l = a(1027); + d = a(263); + g = a(461); + h = a(1028); + b.jZa = new r.$c(function (m) { + m(k.$Ha).to(c.ZHa).aa(); + m(f.eA).SC(function () { return pb._cad_global.http; }); - m(d.ZY).to(l.vCa).$(); - m(g.wCa).si(h.default); + m(d.YY).to(l.tCa).aa(); + m(g.uCa).si(h.default); }); - }, function (q, b, a) { + }, function (r, b, a) { function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.aIa = void 0; - q = a(1); + b.ZHa = void 0; + r = a(1); a = a(0); c.prototype.create = function () { return new XMLHttpRequest(); }; - a = q.__decorate([a.R()], c); - b.aIa = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.ZHa = a; + }, function (r, b, a) { var f, k, l, d; function c(g, h, m) { this.config = g; - this.VGb = h; - this.Jb = m; + this.XGb = h; + this.Lb = m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vCa = void 0; - q = a(1); - f = a(306); + b.tCa = void 0; + r = a(1); + f = a(308); k = a(0); - l = a(167); - a = a(457); - c.prototype.Nga = function () { - if (this.config.o6a) - return this.Jb(this.VGb()); + l = a(166); + a = a(461); + c.prototype.Hga = function () { + if (this.config.r6a) + return this.Lb(this.XGb()); }; d = c; - d = q.__decorate([k.R(), q.__param(0, k.l(f.uCa)), q.__param(1, k.l(l.rCa)), q.__param(2, k.l(a.wCa))], d); - b.vCa = d; - }, function (q, b, a) { + d = r.__decorate([k.R(), r.__param(0, k.l(f.sCa)), r.__param(1, k.l(l.pCa)), r.__param(2, k.l(a.uCa))], d); + b.tCa = d; + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(1027); - f = a(1028); - k = a(1029); + c = a(1029); + f = a(1030); + k = a(1031); b.default = function (l) { var d; - l = new c.m9(l); - d = new k.bcb(l); - return new f.acb(l, d); + l = new c.h9(l); + d = new k.fcb(l); + return new f.ecb(l, d); }; - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function a(c) { - this.uXa = c; + this.sXa = c; } - a.prototype.Vra = function (c) { + a.prototype.Ora = function (c) { try { - this.uXa.setItem("gtp", JSON.stringify(c)); + this.sXa.setItem("gtp", JSON.stringify(c)); } catch (f) { return !1; } @@ -117733,36 +117707,36 @@ a000.D9b = function () { a.prototype.oTa = function () { var c; try { - c = this.uXa.getItem("gtp"); + c = this.sXa.getItem("gtp"); if (c) return JSON.parse(c); } catch (f) {} }; - a.prototype.Is = function () { + a.prototype.Os = function () { var c; c = this.oTa(); if (c && c.tp) return c.tp.a; }; - a.prototype.Xzb = function () { + a.prototype.aAb = function () { var c; - c = this.Qja(); + c = this.Jja(); if (c) return c.p25; }; - a.prototype.Yzb = function () { + a.prototype.bAb = function () { var c; - c = this.Qja(); + c = this.Jja(); if (c) return c.p50; }; - a.prototype.Zzb = function () { + a.prototype.cAb = function () { var c; - c = this.Qja(); + c = this.Jja(); if (c) return c.p75; }; - a.prototype.Qja = function () { + a.prototype.Jja = function () { var c; c = this.oTa(); if (c && (c = c.iqr)) @@ -117770,50 +117744,50 @@ a000.D9b = function () { }; return a; })(); - b.m9 = q; - }, function (q, b) { + b.h9 = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function a(c, f) { - this.Lu = c; - this.XU = f; + this.Su = c; + this.WU = f; } - a.prototype.Vra = function (c) { - return this.Lu.Vra(c); + a.prototype.Ora = function (c) { + return this.Su.Ora(c); }; - a.prototype.Is = function () { - return this.Lu.Is(); + a.prototype.Os = function () { + return this.Su.Os(); }; - a.prototype.BAb = function () { - return this.XU.XU(); + a.prototype.EAb = function () { + return this.WU.WU(); }; return a; })(); - b.acb = q; - }, function (q, b) { + b.ecb = r; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = (function () { + r = (function () { function a(c) { - this.Lu = c; + this.Su = c; } - a.prototype.XU = function () { + a.prototype.WU = function () { var c, f, k; - c = this.Lu.Xzb(); - f = this.Lu.Yzb(); - k = this.Lu.Zzb(); + c = this.Su.aAb(); + f = this.Su.bAb(); + k = this.Su.cAb(); if ("number" === typeof c && "number" === typeof f && "number" === typeof k) return (k - c) / f; }; return a; })(); - b.bcb = q; - }, function (q, b, a) { + b.fcb = r; + }, function (r, b, a) { var c, f, k, @@ -117825,24 +117799,24 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lSa = void 0; - q = a(0); - c = a(1031); - f = a(1032); - k = a(1033); - l = a(1034); - d = a(1035); - g = a(458); - h = a(459); + b.kSa = void 0; + r = a(0); + c = a(1033); + f = a(1034); + k = a(1035); + l = a(1036); + d = a(1037); + g = a(462); + h = a(463); m = a(164); - b.lSa = new q.ad(function (n) { - n(m.Jya).to(c.Iya).$(); - n(m.BFa).to(f.AFa).$(); - n(m.zFa).to(k.yFa).$(); - n(g.Fya).to(l.Eya).$(); - n(h.rza).to(d.qza).$(); - }); - }, function (q, b, a) { + b.kSa = new r.$c(function (n) { + n(m.Hya).to(c.Gya).aa(); + n(m.yFa).to(f.xFa).aa(); + n(m.wFa).to(k.vFa).aa(); + n(g.Dya).to(l.Cya).aa(); + n(h.pza).to(d.oza).aa(); + }); + }, function (r, b, a) { var f, k, l, @@ -117851,144 +117825,144 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t, w, v, x) { - this.config = r; - this.tVa = p; - this.vc = u; - this.$b = t; - this.YPb = w; - this.Qqa = v; - this.zFb = 0; - this.ya = x.Cb("FTL"); + function c(q, p, t, u, w, v, x) { + this.config = q; + this.rVa = p; + this.xc = t; + this.ac = u; + this.cQb = w; + this.Lqa = v; + this.CFb = 0; + this.za = x.Db("FTL"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Iya = void 0; - q = a(1); + b.Gya = void 0; + r = a(1); k = a(0); - l = a(5); + l = a(4); d = a(46); g = a(8); - h = a(458); - m = a(459); + h = a(462); + m = a(463); a = a(164); c.prototype.start = function () { - this.config.enabled && !this.mr && (this.mr = this.vc.Oj(this.config.T3a, this.Sv.bind(this))); + this.config.enabled && !this.nr && (this.nr = this.xc.Nj(this.config.U3a, this.Xv.bind(this))); }; c.prototype.stop = function () { - this.mr && (this.mr.cancel(), this.mr = void 0); + this.nr && (this.nr.cancel(), this.nr = void 0); }; - c.prototype.Sv = function () { - var r, + c.prototype.Xv = function () { + var q, p; - r = this; - p = "" + this.config.endpoint + (-1 === this.config.endpoint.indexOf("?") ? "?" : "&") + "iter=" + this.zFb++; - this.EBb(p).then(function (u) { - return Promise.all(u.urls.map(function (t) { - return r.xCb(u, t.url, t.name); - })).then(function (t) { - 0 < t.length && r.YPb.YV({ - data: t, - context: u.context, - bna: u.bna + q = this; + p = "" + this.config.endpoint + (-1 === this.config.endpoint.indexOf("?") ? "?" : "&") + "iter=" + this.CFb++; + this.GBb(p).then(function (t) { + return Promise.all(t.urls.map(function (u) { + return q.zCb(t, u.url, u.name); + })).then(function (u) { + 0 < u.length && q.cQb.XV({ + data: u, + context: t.context, + Wma: t.Wma }); }).then(function () { - return u; + return t; }); - }).then(function (u) { - r.mr && (u.PWa ? r.mr = r.vc.Oj(u.PWa, r.Sv.bind(r)) : r.stop()); - }).catch(function (u) { - return r.ya.error("FTL run failed", u); + }).then(function (t) { + q.nr && (t.NWa ? q.nr = q.xc.Nj(t.NWa, q.Xv.bind(q)) : q.stop()); + }).catch(function (t) { + return q.za.error("FTL run failed", t); }); }; - c.prototype.EBb = function (r) { + c.prototype.GBb = function (q) { var p; p = this; - return this.tVa.get(r, !1).then(function (u) { - var t; - if (200 != u.status || null == u.body) - return (p.Qqa.YV({ - url: r, - status: u.status, - spa: "FTL API request failed", - Wd: u.Wd - }), Promise.reject(Error("FTL API request failed: " + u.status))); - t = p.$b.parse(u.body); - return t instanceof Error ? (p.Qqa.YV({ - url: r, + return this.rVa.get(q, !1).then(function (t) { + var u; + if (200 != t.status || null == t.body) + return (p.Lqa.XV({ + url: q, + status: t.status, + npa: "FTL API request failed", + Vd: t.Vd + }), Promise.reject(Error("FTL API request failed: " + t.status))); + u = p.ac.parse(t.body); + return u instanceof Error ? (p.Lqa.XV({ + url: q, status: 4, - spa: "FTL Probe API JSON parsing error", - Wd: u.Wd - }), Promise.reject(t)) : Promise.resolve(t); - }).catch(function (u) { - u instanceof Error && (p.Qqa.YV({ - url: r, + npa: "FTL Probe API JSON parsing error", + Vd: t.Vd + }), Promise.reject(u)) : Promise.resolve(u); + }).catch(function (t) { + t instanceof Error && (p.Lqa.XV({ + url: q, status: 0, - spa: u.message - }), p.ya.error("FTL API call failed", u.message)); - return Promise.reject(u); + npa: t.message + }), p.za.error("FTL API call failed", t.message)); + return Promise.reject(t); }); }; - c.prototype.xCb = function (r, p, u) { - var t; - t = this; + c.prototype.zCb = function (q, p, t) { + var u; + u = this; return new Promise(function (w, v) { var E; - for (var x, y, z, B = [], A = {}, C = 0; C < r.tOb; (A = { - W8: A.W8, - X8: A.X8 + for (var x, y, z, A = [], B = {}, C = 0; C < q.yOb; (B = { + Q8: B.Q8, + S8: B.S8 }, ++C)) { - A.W8 = C < r.R0a.length ? r.R0a[C] : l.hb; - A.X8 = "" + p + (-1 === p.indexOf("?") ? "?" : "&") + "pulse=" + (C + 1); - E = (function (F) { + B.Q8 = C < q.R0a.length ? q.R0a[C] : l.hb; + B.S8 = "" + p + (-1 === p.indexOf("?") ? "?" : "&") + "pulse=" + (C + 1); + E = (function (G) { return function () { - return new Promise(function (D, G) { - t.vc.Oj(F.W8, function () { - f.ZNb(t.tVa, F.X8, r.sOb).then(function (I) { - function J(H, M, O) { - H || (H = O.headers[M]); + return new Promise(function (D, F) { + u.xc.Nj(G.Q8, function () { + f.dOb(u.rVa, G.S8, q.xOb).then(function (J) { + function K(H, L, Q) { + H || (H = Q.headers[L]); return H; } - x = J(x, "via", I); - y = J(y, "x-ftl-probe-data", I); - z = J(z, "x-ftl-error", I); + x = K(x, "via", J); + y = K(y, "x-ftl-probe-data", J); + z = K(z, "x-ftl-error", J); D({ - status: I.status, - Wd: I.Wd, - LXb: x || "", - Cob: y || "", - OS: z || "" + status: J.status, + Vd: J.Vd, + NXb: x || "", + Dob: y || "", + NS: z || "" }); - }).catch(function (I) { - G(I); + }).catch(function (J) { + F(J); }); }); }); }; - })(A); - B.push(0 < C ? B[C - 1].then(E) : E()); + })(B); + A.push(0 < C ? A[C - 1].then(E) : E()); } - Promise.all(B).then(function (F) { + Promise.all(A).then(function (G) { w({ url: p, - name: u, - data: F + name: t, + data: G }); - }).catch(function (F) { - v(F); + }).catch(function (G) { + v(G); }); }); }; - c.ZNb = function (r, p, u) { - return r.get(p, !1, u).then(function (t) { - return Object.assign({}, t); + c.dOb = function (q, p, t) { + return q.get(p, !1, t).then(function (u) { + return Object.assign({}, u); }); }; n = f = c; - n = f = q.__decorate([k.R(), q.__param(0, k.l(a.Hya)), q.__param(1, k.l(m.rza)), q.__param(2, k.l(d.lj)), q.__param(3, k.l(h.Fya)), q.__param(4, k.l(a.BFa)), q.__param(5, k.l(a.zFa)), q.__param(6, k.l(g.Kb))], n); - b.Iya = n; - }, function (q, b, a) { + n = f = r.__decorate([k.R(), r.__param(0, k.l(a.Fya)), r.__param(1, k.l(m.pza)), r.__param(2, k.l(d.ij)), r.__param(3, k.l(h.Dya)), r.__param(4, k.l(a.yFa)), r.__param(5, k.l(a.wFa)), r.__param(6, k.l(g.Ib))], n); + b.Gya = n; + }, function (r, b, a) { var f, k, l, @@ -117997,56 +117971,56 @@ a000.D9b = function () { h; function c(m, n) { this.Ql = m; - this.Tna = n; + this.Ona = n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.AFa = void 0; - q = a(1); + b.xFa = void 0; + r = a(1); k = a(0); l = a(49); - d = a(5); + d = a(4); g = a(58); a = a(99); - c.prototype.YV = function (m) { + c.prototype.XV = function (m) { var n; n = { ctx: m.context, - data: m.data.map(function (r) { + data: m.data.map(function (q) { return { - name: r.name, - url: r.url, - data: r.data.map(function (p) { - return f.rYb({ - d: p.Wd.duration.ea(d.ma), + name: q.name, + url: q.url, + data: q.data.map(function (p) { + return f.tYb({ + d: p.Vd.duration.ea(d.ma), sc: p.status, - sz: p.Wd.size.ea(l.Xt), - via: p.LXb, - cip: p.Cob, - err: p.OS + sz: p.Vd.size.ea(l.bu), + via: p.NXb, + cip: p.Dob, + err: p.NS }, p); }) }; }) }; - m = this.Tna.Uu(m.bna, "info", n); - this.Ql.Xd(m); + m = this.Ona.Zu(m.Wma, "info", n); + this.Ql.fe(m); }; - c.rYb = function (m, n) { - f.Ku(m, "dns", n.Wd.lQa); - f.Ku(m, "tcp", n.Wd.Wsa); - f.Ku(m, "tls", n.Wd.fta); - f.Ku(m, "ttfb", n.Wd.ata); + c.tYb = function (m, n) { + f.Ru(m, "dns", n.Vd.iQa); + f.Ru(m, "tcp", n.Vd.Rsa); + f.Ru(m, "tls", n.Vd.$sa); + f.Ru(m, "ttfb", n.Vd.Wsa); return m; }; - c.Ku = function (m, n, r) { - r && (m[n] = r.ea(d.ma)); + c.Ru = function (m, n, q) { + q && (m[n] = q.ea(d.ma)); }; h = f = c; - h = f = q.__decorate([k.R(), q.__param(0, k.l(g.iq)), q.__param(1, k.l(a.eA))], h); - b.AFa = h; - }, function (q, b, a) { + h = f = r.__decorate([k.R(), r.__param(0, k.l(g.kq)), r.__param(1, k.l(a.fA))], h); + b.xFa = h; + }, function (r, b, a) { var f, k, l, @@ -118055,37 +118029,37 @@ a000.D9b = function () { h; function c(m, n) { this.Ql = m; - this.Tna = n; + this.Ona = n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yFa = void 0; - q = a(1); + b.vFa = void 0; + r = a(1); k = a(0); l = a(49); - d = a(5); + d = a(4); g = a(58); a = a(99); - c.prototype.YV = function (m) { - m = this.Tna.Uu("ftlProbeError", "info", f.qYb({ + c.prototype.XV = function (m) { + m = this.Ona.Zu("ftlProbeError", "info", f.sYb({ url: m.url, sc: m.status, - pf_err: m.spa + pf_err: m.npa }, m)); - this.Ql.Xd(m); + this.Ql.fe(m); }; - c.qYb = function (m, n) { - n.Wd && (n = n.Wd, f.Ku(m, "d", n.duration), f.Ku(m, "dns", n.lQa), f.Ku(m, "tcp", n.Wsa), f.Ku(m, "tls", n.fta), f.Ku(m, "ttfb", n.ata), m.sz = n.size.ea(l.Xt)); + c.sYb = function (m, n) { + n.Vd && (n = n.Vd, f.Ru(m, "d", n.duration), f.Ru(m, "dns", n.iQa), f.Ru(m, "tcp", n.Rsa), f.Ru(m, "tls", n.$sa), f.Ru(m, "ttfb", n.Wsa), m.sz = n.size.ea(l.bu)); return m; }; - c.Ku = function (m, n, r) { - r && (m[n] = r.ea(d.ma)); + c.Ru = function (m, n, q) { + q && (m[n] = q.ea(d.ma)); }; h = f = c; - h = f = q.__decorate([k.R(), q.__param(0, k.l(g.iq)), q.__param(1, k.l(a.eA))], h); - b.yFa = h; - }, function (q, b, a) { + h = f = r.__decorate([k.R(), r.__param(0, k.l(g.kq)), r.__param(1, k.l(a.fA))], h); + b.vFa = h; + }, function (r, b, a) { var f, k, l, @@ -118094,60 +118068,60 @@ a000.D9b = function () { function c(h, m) { this.is = h; this.json = m; - k.Vn(this, "json"); + k.Xn(this, "json"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Eya = void 0; - q = a(1); + b.Cya = void 0; + r = a(1); f = a(0); k = a(56); l = a(36); - d = a(5); + d = a(4); a = a(26); c.prototype.parse = function (h) { var n; h = this.json.parse(h); - if (!this.is.eea(h)) + if (!this.is.Zda(h)) throw Error("FtlProbe: param: not an object"); - if (h.next && !this.is.bR(h.next)) + if (h.next && !this.is.dR(h.next)) throw Error("FtlProbe: param.next: not a positive integer"); - if (!this.is.bR(h.pulses)) + if (!this.is.dR(h.pulses)) throw Error("FtlProbe: param.pulses: not a positive integer"); - if (h.pulse_delays && !this.is.tx(h.pulse_delays)) + if (h.pulse_delays && !this.is.yx(h.pulse_delays)) throw Error("FtlProbe: param.pulse_delays: not an array"); - if (!this.is.bR(h.pulse_timeout)) + if (!this.is.dR(h.pulse_timeout)) throw Error("FtlProbe: param.pulse_timeout: not a positive integer"); - if (!this.is.tx(h.urls)) + if (!this.is.yx(h.urls)) throw Error("FtlProbe: param.urls: not an array"); - if (!this.is.Bn(h.logblob)) + if (!this.is.An(h.logblob)) throw Error("FtlProbe: param.logblob: not a string"); - if (!this.is.LJ(h.ctx)) + if (!this.is.OJ(h.ctx)) throw Error("FtlProbe: param.ctx: not an object"); for (var m = 0; m < h.urls.length; ++m) { n = h.urls[m]; - if (!this.is.eea(n)) + if (!this.is.Zda(n)) throw Error("FtlProbe: param.urls[" + m + "]: not an object"); - if (!this.is.So(n.name)) + if (!this.is.Uo(n.name)) throw Error("FtlProbe: param.urls[" + m + "].name: not a string"); - if (!this.is.So(n.url)) + if (!this.is.Uo(n.url)) throw Error("FtlProbe: param.urls[" + m + "].url: not a string"); } return { - tOb: h.pulses, - R0a: h.pulse_delays ? h.pulse_delays.map(d.uc) : [], - sOb: d.uc(h.pulse_timeout), - PWa: h.next ? d.uc(h.next) : void 0, + yOb: h.pulses, + R0a: h.pulse_delays ? h.pulse_delays.map(d.wc) : [], + xOb: d.wc(h.pulse_timeout), + NWa: h.next ? d.wc(h.next) : void 0, urls: h.urls, - bna: h.logblob, + Wma: h.logblob, context: h.ctx }; }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.Gf)), q.__param(1, f.l(l.mD))], g); - b.Eya = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.Hf)), r.__param(1, f.l(l.oD))], g); + b.Cya = g; + }, function (r, b, a) { var f, k, l, @@ -118156,113 +118130,113 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t) { - this.wa = p; - this.tYb = u; - this.performance = t; - k.Vn(this, "performance"); + q; + function c(p, t, u) { + this.xa = p; + this.vYb = t; + this.performance = u; + k.Xn(this, "performance"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.qza = void 0; - q = a(1); + b.oza = void 0; + r = a(1); k = a(56); - l = a(1036); + l = a(1038); d = a(49); g = a(36); h = a(40); m = a(0); - n = a(456); - r = a(5); - c.prototype.get = function (p, u, t) { + n = a(460); + q = a(4); + c.prototype.get = function (p, t, u) { var w; w = this; return new Promise(function (v, x) { var y, z, - B; + A; try { - y = w.tYb.create(); + y = w.vYb.create(); ("withCredentials" in y) || x(Error("Missing CORS support")); y.open("GET", p, !0); - u && (y.withCredentials = !0); - t && (y.timeout = t.ea(r.ma)); - z = w.wa.Ue; - B = void 0; + t && (y.withCredentials = !0); + u && (y.timeout = u.ea(q.ma)); + z = w.xa.We; + A = void 0; y.onreadystatechange = function () { - var A; + var B; switch (y.readyState) { case XMLHttpRequest.HEADERS_RECEIVED: - B = w.wa.Ue.Ba(z); + A = w.xa.We.Da(z); break; case XMLHttpRequest.DONE: - A = w.wa.Ue.Ba(z); - A = { + B = w.xa.We.Da(z); + B = { body: y.responseText, status: y.status, - headers: f.RLb(y.getAllResponseHeaders()), - Wd: w.Yja(p, d.ca(y.responseText.length), A, B) + headers: f.ULb(y.getAllResponseHeaders()), + Vd: w.Sja(p, d.da(y.responseText.length), B, A) }; - v(A); + v(B); } }; y.send(); - } catch (A) { - x(A); + } catch (B) { + x(B); } }); }; - c.RLb = function (p) { - var u, + c.ULb = function (p) { + var t, w, v; - u = {}; + t = {}; p = p.split("\r\n"); - for (var t = 0; t < p.length; t++) { - w = p[t]; + for (var u = 0; u < p.length; u++) { + w = p[u]; v = w.indexOf(": "); - 0 < v && (u[w.substring(0, v).toLowerCase()] = w.substring(v + 2)); + 0 < v && (t[w.substring(0, v).toLowerCase()] = w.substring(v + 2)); } - return u; + return t; }; - c.prototype.Yja = function (p, u, t, w) { - u = { - size: u, - duration: t, - ata: w + c.prototype.Sja = function (p, t, u, w) { + t = { + size: t, + duration: u, + Wsa: w }; if (!this.performance || !this.performance.getEntriesByName) - return u; - t = this.performance.getEntriesByName(p); - if (0 == t.length && (t = this.performance.getEntriesByName(p + "/"), 0 == t.length)) - return u; - p = t[t.length - 1]; - u = l.RXa(u); - p.decodedBodySize && (u.size = d.ca(p.decodedBodySize)); - 0 < p.duration ? u.duration = r.timestamp(p.duration) : 0 < p.startTime && 0 < p.responseEnd && (u.duration = r.timestamp(p.responseEnd - p.startTime)); - 0 < p.requestStart && (u.lQa = r.timestamp(p.domainLookupEnd - p.domainLookupStart), u.Wsa = r.timestamp(p.connectEnd - p.connectStart), u.ata = r.timestamp(p.responseStart - p.startTime), 0 === p.secureConnectionStart ? u.fta = r.timestamp(0) : void 0 !== p.secureConnectionStart && (t = p.connectEnd - p.secureConnectionStart, u.fta = r.timestamp(t), u.Wsa = r.timestamp(p.connectEnd - p.connectStart - t))); - return u; + return t; + u = this.performance.getEntriesByName(p); + if (0 == u.length && (u = this.performance.getEntriesByName(p + "/"), 0 == u.length)) + return t; + p = u[u.length - 1]; + t = l.PXa(t); + p.decodedBodySize && (t.size = d.da(p.decodedBodySize)); + 0 < p.duration ? t.duration = q.timestamp(p.duration) : 0 < p.startTime && 0 < p.responseEnd && (t.duration = q.timestamp(p.responseEnd - p.startTime)); + 0 < p.requestStart && (t.iQa = q.timestamp(p.domainLookupEnd - p.domainLookupStart), t.Rsa = q.timestamp(p.connectEnd - p.connectStart), t.Wsa = q.timestamp(p.responseStart - p.startTime), 0 === p.secureConnectionStart ? t.$sa = q.timestamp(0) : void 0 !== p.secureConnectionStart && (u = p.connectEnd - p.secureConnectionStart, t.$sa = q.timestamp(u), t.Rsa = q.timestamp(p.connectEnd - p.connectStart - u))); + return t; }; a = f = c; - a = f = q.__decorate([m.R(), q.__param(0, m.l(h.wi)), q.__param(1, m.l(n.bIa)), q.__param(2, m.l(g.Gaa)), q.__param(2, m.optional())], a); - b.qza = a; - }, function (q, b) { + a = f = r.__decorate([m.R(), r.__param(0, m.l(h.wi)), r.__param(1, m.l(n.$Ha)), r.__param(2, m.l(g.zaa)), r.__param(2, m.optional())], a); + b.oza = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.tHb = b.RXa = b.rHb = void 0; - b.rHb = function (a) { + b.wHb = b.PXa = b.uHb = void 0; + b.uHb = function (a) { return a; }; - b.RXa = function (a) { + b.PXa = function (a) { return a; }; - b.tHb = function (a) { + b.wHb = function (a) { return Object.assign({}, a); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -118271,16 +118245,16 @@ a000.D9b = function () { value: !0 }); b.P0a = void 0; - q = a(0); - c = a(307); - f = a(1038); + r = a(0); + c = a(309); + f = a(1040); k = a(182); - l = a(1039); - b.P0a = new q.ad(function (d) { - d(c.Bxa).to(f.Axa).$(); - d(k.jP).to(l.zAa).$(); + l = a(1041); + b.P0a = new r.$c(function (d) { + d(c.yxa).to(f.xxa).aa(); + d(k.kP).to(l.xAa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -118289,138 +118263,138 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t) { - this.Rd = r; - this.xx = p; - this.wXb = u; - this.KL = t; + function c(q, p, t, u) { + this.Pd = q; + this.Cx = p; + this.yXb = t; + this.ML = u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Axa = void 0; - q = a(1); + b.xxa = void 0; + r = a(1); f = a(0); k = a(28); l = a(35); d = a(77); g = a(133); - h = a(59); - m = a(66); + h = a(60); + m = a(59); a = a(182); - c.prototype.ig = function (r) { + c.prototype.hg = function (q) { var p; p = this; - return this.Rd.qs(r.zj[0].data[0], [8, 4]) ? Promise.resolve({ - ee: [{ + return this.Pd.us(q.xj[0].data[0], [8, 4]) ? Promise.resolve({ + ce: [{ id: "ddd", - UF: "cert", - oU: void 0 + $F: "cert", + nU: void 0 } ], - Ni: [{ + Ki: [{ sessionId: "ddd", - data: new Uint8Array(this.xx.decode(m.web)) + data: new Uint8Array(this.Cx.decode(m.QHa)) } ] - }) : this.Rd.qs(r.zj[0].data[0], this.wXb.decode("certificate")) ? Promise.resolve({ - ee: [{ + }) : this.Pd.us(q.xj[0].data[0], this.yXb.decode("certificate")) ? Promise.resolve({ + ce: [{ id: "ddd", - UF: "cert", - oU: void 0 + $F: "cert", + nU: void 0 } ], - Ni: [{ + Ki: [{ sessionId: "ddd", - data: new Uint8Array(this.xx.decode(m.j$)) + data: new Uint8Array(this.Cx.decode(m.sY)) } ] - }) : this.KL.nx(this.Ixb(r)).then(function (u) { - return p.Jxb(u); + }) : this.ML.sx(this.Oxb(q)).then(function (t) { + return p.Pxb(t); }); }; - c.prototype.release = function (r) { - return this.KL.release(this.Mxb(r)).then(function () {}); + c.prototype.release = function (q) { + return this.ML.release(this.Sxb(q)).then(function () {}); }; - c.prototype.Ixb = function (r) { + c.prototype.Oxb = function (q) { var p, - u; + t; p = this; - u = r.zj.map(function (t) { - return t.data.map(function (w) { + t = q.xj.map(function (u) { + return u.data.map(function (w) { return { - sessionId: t.sessionId, - dataBase64: p.xx.encode(w) + sessionId: u.sessionId, + dataBase64: p.Cx.encode(w) }; }); }); return { - ba: r.ba, - Ti: r.Ti, - Y1: r.Y1, - Qf: h.Mma(r.Qf), - Jn: g.jn[r.Jn], - zj: u.reduce(function (t, w) { - return t.concat(w); + ca: q.ca, + Ri: q.Ri, + a2: q.a2, + Rf: h.Gma(q.Rf), + Kn: g.hn[q.Kn], + xj: t.reduce(function (u, w) { + return u.concat(w); }, []), - BU: r.BU, - Fj: r.Fj + AU: q.AU, + Ej: q.Ej }; }; - c.prototype.Mxb = function (r) { + c.prototype.Sxb = function (q) { return { - ba: r.ba, - ee: r.ee + ca: q.ca, + ce: q.ce }; }; - c.prototype.Jxb = function (r) { + c.prototype.Pxb = function (q) { return { - ee: r.ee, - Ni: r.Ni + ce: q.ce, + Ki: q.Ki }; }; n = c; - n = q.__decorate([f.R(), q.__param(0, f.l(k.Hf)), q.__param(1, f.l(l.Rh)), q.__param(2, f.l(d.ru)), q.__param(3, f.l(a.jP))], n); - b.Axa = n; - }, function (q, b, a) { + n = r.__decorate([f.R(), r.__param(0, f.l(k.If)), r.__param(1, f.l(l.Rh)), r.__param(2, f.l(d.wu)), r.__param(3, f.l(a.kP))], n); + b.xxa = n; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p, u) { + function c(m, n, q, p, t) { this.$jb = m; - this.tPb = n; - this.S1a = p; - this.yQb = u; - this.ya = r.Cb("LicenseProviderImpl"); + this.yPb = n; + this.R1a = p; + this.DQb = t; + this.za = q.Db("LicenseProviderImpl"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.zAa = void 0; - q = a(1); + b.xAa = void 0; + r = a(1); f = a(0); k = a(8); - l = a(460); - a(461); - d = a(462); - g = a(463); - a = a(263); - c.prototype.nx = function (m) { + l = a(464); + a(465); + d = a(466); + g = a(467); + a = a(264); + c.prototype.sx = function (m) { var n, - r; + q; n = this; !1; - r = this.S1a.HVb(m); - return this.$jb.np(this.ya, m.Fj, r).then(function (p) { - p.map(function (u) { - return u.kGb; + q = this.R1a.JVb(m); + return this.$jb.op(this.za, m.Ej, q).then(function (p) { + p.map(function (t) { + return t.mGb; }); - return n.yQb.s5a(p); + return n.DQb.u5a(p); }).catch(function (p) { - n.ya.error("PBO license failed", p); + n.za.error("PBO license failed", p); return Promise.reject(p); }); }; @@ -118428,20 +118402,20 @@ a000.D9b = function () { var n; n = this; !1; - m = this.S1a.KVb(m); - return this.tPb.Of(this.ya, m).then(function () { + m = this.R1a.MVb(m); + return this.yPb.Pf(this.za, m).then(function () { return { - X: !0 + W: !0 }; - }).catch(function (r) { - n.ya.error("PBO release license failed", r); - return Promise.reject(r); + }).catch(function (q) { + n.za.error("PBO release license failed", q); + return Promise.reject(q); }); }; h = c; - h = q.__decorate([f.R(), q.__param(0, f.l(l.hDa)), q.__param(1, f.l(d.TDa)), q.__param(2, f.l(k.Kb)), q.__param(3, f.l(g.wDa)), q.__param(4, f.l(a.Daa))], h); - b.zAa = h; - }, function (q, b, a) { + h = r.__decorate([f.R(), r.__param(0, f.l(l.dDa)), r.__param(1, f.l(d.RDa)), r.__param(2, f.l(k.Ib)), r.__param(3, f.l(g.sDa)), r.__param(4, f.l(a.waa))], h); + b.xAa = h; + }, function (r, b, a) { var f, k, l, @@ -118450,156 +118424,161 @@ a000.D9b = function () { h, m, n, - r, + q, p, + t, u, - t; - function c(w) { + w, + v; + function c(x) { return function () { - return w.$a.get(f.ODa).mb(); + return x.$a.get(f.MDa).mb(); }; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.uG = void 0; - q = a(0); + b.AG = void 0; + r = a(0); f = a(183); - k = a(206); - l = a(264); - d = a(464); - g = a(1041); - h = a(1042); - m = a(465); - n = a(1043); - r = a(466); - p = a(1044); - u = a(265); - t = a(1045); - b.uG = new q.ad(function (w) { - w(m.xEa).to(n.wEa).$(); - w(k.Faa).to(l.MDa).$(); - w(d.mDa).to(g.lDa).$(); - w(f.ODa).to(h.NDa).$(); - w(f.hZ).WW(c); - w(r.sDa).to(p.rDa).$().xX(); - w(u.QDa).to(t.PDa).$(); - w(u.JDa).to(t.IDa).$(); - w(u.LDa).to(t.KDa).$(); - }); - }, function (q, b, a) { + k = a(207); + l = a(265); + d = a(468); + g = a(1043); + h = a(1044); + m = a(469); + n = a(1045); + q = a(470); + p = a(1046); + t = a(266); + u = a(1047); + w = a(471); + v = a(1048); + b.AG = new r.$c(function (x) { + x(m.vEa).to(n.uEa).aa(); + x(k.yaa).to(l.IDa).aa(); + x(d.iDa).to(g.hDa).aa(); + x(f.MDa).to(h.LDa).aa(); + x(f.hZ).VW(c); + x(w.KDa).to(v.JDa).aa(); + x(q.oDa).to(p.nDa).aa().wX(); + x(t.ODa).to(u.NDa).aa(); + x(t.FDa).to(u.EDa).aa(); + x(t.HDa).to(u.GDa).aa(); + }); + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p, - u, - t; + t, + u; function c() {} function f() {} function k(w, v, x, y, z) { - var B; - B = this; + var A; + A = this; this.is = w; - this.en = v; + this.dn = v; this.config = x; - this.qB = y; - this.jMb = z; - this.aw = function () { + this.rB = y; + this.lMb = z; + this.fw = function () { return new c().encode({ - version: B.version, - data: B.uG + version: A.version, + data: A.AG }); }; - this.UWb = function (A) { - A = B.upgrade(A); - B.jMb.validate(A); - return A; + this.WWb = function (B) { + B = A.upgrade(B); + A.lMb.validate(B); + return B; }; - this.upgrade = function (A) { + this.upgrade = function (B) { var C; - if (B.is.Bn(A)) - return B.XWb(A); - C = A.version; - if (void 0 != C && B.is.$h(C) && 1 == C) - return B.YWb(A); - C = A.version; - if (void 0 != C && B.is.$h(C) && 2 == C) - return new c().decode(A); - if (A.version && B.is.$h(A.version)) - throw new m.$c(g.L.aA, g.M.Pva, void 0, void 0, void 0, "Version number is not supported. Version: " + A.version, void 0, A); - throw new m.$c(g.L.aA, g.M.Wz, void 0, void 0, void 0, "The format of the playdata is inconsistent with what is expected.", void 0, A); + if (A.is.An(B)) + return A.ZWb(B); + C = B.version; + if (void 0 != C && A.is.$h(C) && 1 == C) + return A.$Wb(B); + C = B.version; + if (void 0 != C && A.is.$h(C) && 2 == C) + return new c().decode(B); + if (B.version && A.is.$h(B.version)) + throw new m.dd(g.M.bA, g.L.Mva, void 0, void 0, void 0, "Version number is not supported. Version: " + B.version, void 0, B); + throw new m.dd(g.M.bA, g.L.Yz, void 0, void 0, void 0, "The format of the playdata is inconsistent with what is expected.", void 0, B); }; - this.sr = new n.D$(2, this.config().k0a, "" !== this.config().k0a && 0 < this.config().PMb, this.en, this.aw); + this.ur = new n.v$(2, this.config().i0a, "" !== this.config().i0a && 0 < this.config().SMb, this.dn, this.fw); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.lDa = void 0; - q = a(1); + b.hDa = void 0; + r = a(1); l = a(0); d = a(15); g = a(3); h = a(26); m = a(42); - n = a(304); - r = a(78); + n = a(306); + q = a(78); p = a(85); - u = a(264); - a = a(265); - k.prototype.HOb = function () { - return this.sr.load(this.UWb).catch(function (w) { - throw new m.$c(g.L.aA, w.oa || w.jc, void 0, void 0, void 0, "Unable to load persisted playdata.", void 0, w); + t = a(265); + a = a(266); + k.prototype.MOb = function () { + return this.ur.load(this.WWb).catch(function (w) { + throw new m.dd(g.M.bA, w.oa || w.kc, void 0, void 0, void 0, "Unable to load persisted playdata.", void 0, w); }); }; k.prototype.Ckb = function (w) { - return this.sr.add(w); + return this.ur.add(w); }; k.prototype.D1a = function (w) { - return this.sr.remove(w, function (v, x) { - return v.ba === x.ba; + return this.ur.remove(w, function (v, x) { + return v.ca === x.ca; }); }; - k.prototype.Nta = function (w) { - return this.sr.update(w, function (v, x) { - return v.ba === x.ba; + k.prototype.Ita = function (w) { + return this.ur.update(w, function (v, x) { + return v.ca === x.ca; }); }; k.prototype.toString = function () { - return JSON.stringify(this.aw(), null, " "); + return JSON.stringify(this.fw(), null, " "); }; - k.prototype.g6a = function (w) { - return w ? "/events?playbackContextId=" + w + "&esn=" + this.qB().gi : ""; + k.prototype.i6a = function (w) { + return w ? "/events?playbackContextId=" + w + "&esn=" + this.rB().gi : ""; }; - k.prototype.Rta = function (w) { + k.prototype.Mta = function (w) { return w.map(function (v) { return { - Dd: v.downloadableId, + Cd: v.downloadableId, duration: v.duration }; }); }; - k.prototype.h6a = function (w) { + k.prototype.j6a = function (w) { var v; return w ? { total: w.playTimes.total, - nH: null !== (v = w.playTimes.totalContentTime) && void 0 !== v ? v : w.playTimes.total, - audio: this.Rta(w.playTimes.audio || []), - video: this.Rta(w.playTimes.video || []), - text: this.Rta(w.playTimes.timedtext || []) + vH: null !== (v = w.playTimes.totalContentTime) && void 0 !== v ? v : w.playTimes.total, + audio: this.Mta(w.playTimes.audio || []), + video: this.Mta(w.playTimes.video || []), + text: this.Mta(w.playTimes.timedtext || []) } : { total: 0, - nH: 0, + vH: 0, audio: [], video: [], text: [] }; }; - k.prototype.XWb = function (w) { + k.prototype.ZWb = function (w) { var v, x, y; @@ -118607,16 +118586,16 @@ a000.D9b = function () { w = JSON.parse(w); x = { type: "online", - href: this.g6a(w.playbackContextId), - ba: w.xid ? w.xid.toString() : "", + href: this.i6a(w.playbackContextId), + ca: w.xid ? w.xid.toString() : "", K: w.movieId, position: w.position, - RR: w.timestamp, - mW: w.playback ? 1E3 * w.playback.startEpoch : -1, - TL: w.mediaId, - vV: this.h6a(w.playback), + SR: w.timestamp, + lW: w.playback ? 1E3 * w.playback.startEpoch : -1, + VL: w.mediaId, + uV: this.j6a(w.playback), trackId: "", - jo: {}, + ko: {}, profileId: w.accountKey }; y = JSON.stringify({ @@ -118626,37 +118605,37 @@ a000.D9b = function () { licenseContextId: w.licenseContextId, profileId: w.profileId }); - this.en.create().then(function (z) { - z.save(v.config().yS, y, !1); + this.dn.create().then(function (z) { + z.save(v.config().xS, y, !1); }); - if ("" === x.href || "" === x.ba) - throw new m.$c(g.L.aA, g.M.Wz); + if ("" === x.href || "" === x.ca) + throw new m.dd(g.M.bA, g.L.Yz); return { version: 2, data: [x] }; }; - k.prototype.YWb = function (w) { + k.prototype.$Wb = function (w) { var v; v = this; - if (!w.playdata || !this.is.tx(w.playdata)) - throw new m.$c(g.L.aA, g.M.Wz, void 0, void 0, void 0, "The version 1 playdata is corrupted.", void 0, w); + if (!w.playdata || !this.is.yx(w.playdata)) + throw new m.dd(g.M.bA, g.L.Yz, void 0, void 0, void 0, "The version 1 playdata is corrupted.", void 0, w); return { version: 2, data: (function (x) { return x.map(function (y) { return { type: y.type, - href: v.g6a(y.playbackContextId), - ba: y.xid ? y.xid.toString() : "", + href: v.i6a(y.playbackContextId), + ca: y.xid ? y.xid.toString() : "", K: y.movieId, position: y.position, - RR: y.timestamp, - mW: y.playback ? 1E3 * y.playback.startEpoch : -1, - TL: y.mediaId, - vV: v.h6a(y.playback), + SR: y.timestamp, + lW: y.playback ? 1E3 * y.playback.startEpoch : -1, + VL: y.mediaId, + uV: v.j6a(y.playback), trackId: "", - jo: {}, + ko: {}, profileId: y.profileId }; }); @@ -118668,28 +118647,28 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.sr.version; + return this.ur.version; } }, - uG: { + AG: { configurable: !0, enumerable: !0, get: function () { - return this.sr.Qu; + return this.ur.Vu; } } }); - t = k; - t = q.__decorate([l.R(), q.__param(0, l.l(h.Gf)), q.__param(1, l.l(r.Rz)), q.__param(2, l.l(d.dd)), q.__param(3, l.l(p.rw)), q.__param(4, l.l(a.LDa))], t); - b.lDa = t; + u = k; + u = r.__decorate([l.R(), r.__param(0, l.l(h.Hf)), r.__param(1, l.l(q.Tz)), r.__param(2, l.l(d.ed)), r.__param(3, l.l(p.yw)), r.__param(4, l.l(a.HDa))], u); + b.hDa = u; f.prototype.encode = function (w) { var v; - v = new u.gZ(); + v = new t.gZ(); return w.map(v.encode); }; f.prototype.decode = function (w) { var v; - v = new u.gZ(); + v = new t.gZ(); return w.map(v.decode); }; c.prototype.encode = function (w) { @@ -118704,410 +118683,348 @@ a000.D9b = function () { data: new f().decode(w.data) }; }; - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, - x, - y; - function c(z, B, A, C, E, F, D, G) { - this.config = z; - this.vc = A; - this.ew = C; - this.pt = E; - this.v6 = F; - this.Xm = D; - this.RF = Promise.resolve(); + x; + function c(y, z, A, B, C, E, G, D) { + this.config = y; + this.xc = A; + this.iw = B; + this.ut = C; + this.u6 = E; + this.Wm = G; + this.XF = Promise.resolve(); this.closed = !1; - this.log = B.Cb("PlaydataServices"); - this.tG = []; + this.log = z.Db("PlaydataServices"); + this.zG = []; this.active = new Set(); - this.CQb = new f(z, G); + this.HQb = new f(y, D); } - function f(z, B) { - this.config = z; - this.wa = B; + function f(y, z) { + this.config = y; + this.xa = z; } - function k(z, B, A, C, E, F) { - this.log = z; - this.vc = B; + function k(y, z, A, B, C, E) { + this.log = y; + this.xc = z; this.mi = A; - this.pt = C; - this.ew = E; - this.GMb = F; - this.vRa = this.Fn = !1; + this.ut = B; + this.iw = C; + this.JMb = E; + this.uRa = this.Fn = !1; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.NDa = b.gdb = void 0; - q = a(1); + b.LDa = b.kdb = void 0; + r = a(1); l = a(0); - d = a(5); + d = a(4); g = a(8); h = a(46); - m = a(206); - n = a(464); - r = a(18); - p = a(465); - u = a(3); - t = a(264); - w = a(466); - v = a(122); - x = a(40); + m = a(207); + n = a(468); + q = a(469); + p = a(3); + t = a(265); + u = a(470); + w = a(121); + v = a(40); a = a(137); - k.prototype.D5 = function (z, B) { - var C; + k.prototype.D5 = function (y, z) { + var B; function A() { - var E; - E = C.pt.create(C.mi); - C.ew.Nta(E).catch(function (F) { - var D; - D = C.vRa ? g.hj.Iba : g.hj.uf; - C.vRa = !0; - C.log.write(D, "Unable to save playdata changes to IDB", F); + var C; + C = B.ut.create(B.mi); + B.iw.Ita(C).catch(function (E) { + var G; + G = B.uRa ? g.fj.Cba : g.fj.wf; + B.uRa = !0; + B.log.write(G, "Unable to save playdata changes to IDB", E); }); } - C = this; - this.log.trace("Adding initial playdata", B); - this.ew.Ckb(B).then(function () { - C.log.trace("Scheduling monitor", { - interval: z + B = this; + this.log.trace("Adding initial playdata", z); + this.iw.Ckb(z).then(function () { + B.log.trace("Scheduling monitor", { + interval: y }); - C.mr = C.vc.l7(z, A); - }).catch(function (E) { - C.log.error("Unable to add playdata", { - error: E, - playdata: new t.gZ().encode(B) + B.nr = B.xc.i7(y, A); + }).catch(function (C) { + B.log.error("Unable to add playdata", { + error: C, + playdata: new t.gZ().encode(z) }); - C.mr = C.vc.l7(z, A); + B.nr = B.xc.i7(y, A); }); }; - k.prototype.stop = function (z) { - var B, + k.prototype.stop = function (y) { + var z, A; - B = this; + z = this; if (this.Fn) return Promise.resolve(); - this.mr && this.mr.cancel(); - A = this.pt.create(this.mi); - return this.ew.Nta(A).catch(function (C) { - B.log.error("Unable to update playdata changes during stop", C); + this.nr && this.nr.cancel(); + A = this.ut.create(this.mi); + return this.iw.Ita(A).catch(function (B) { + z.log.error("Unable to update playdata changes during stop", B); }).then(function () { - if (z) { - if (B.mi.background) - return (B.log.trace("Playback is currently in the background and never played, not sending the playdata", A), Promise.resolve()); - B.log.trace("Sending final playdata to the server", A); - return B.GMb.J2a(A); + if (y) { + if (z.mi.background) + return (z.log.trace("Playback is currently in the background and never played, not sending the playdata", A), Promise.resolve()); + z.log.trace("Sending final playdata to the server", A); + return z.JMb.J2a(A); } - B.log.trace("Currently configured to not send play data, not sending the data to the server"); + z.log.trace("Currently configured to not send play data, not sending the data to the server"); }).then(function () { - if (z) - return (B.log.trace("Removing playdata from the persisted store", A), B.ew.D1a(A)); - B.log.trace("Currently configured to not send play data, not removing the play data from IDB"); + if (y) + return (z.log.trace("Removing playdata from the persisted store", A), z.iw.D1a(A)); + z.log.trace("Currently configured to not send play data, not removing the play data from IDB"); }).then(function () { - B.log.info("Successfully stopped the playback", A.K); - }).catch(function (C) { - B.log.error("Unable to remove playdata changes", C); - throw C; + z.log.info("Successfully stopped the playback", A.K); + }).catch(function (B) { + z.log.error("Unable to remove playdata changes", B); + throw B; }); }; k.prototype.cancel = function () { this.Fn = !0; - this.mr && this.mr.cancel(); - this.ew.Nta(this.pt.create(this.mi)); + this.nr && this.nr.cancel(); + this.iw.Ita(this.ut.create(this.mi)); }; Xa.Object.defineProperties(f.prototype, { - Mnb: { + Nnb: { configurable: !0, enumerable: !0, get: function () { - var z; - z = this.wa.Ue; - return !this.RF || 0 <= z.Ba(this.RF).Wk(this.config.RWa) ? (this.RF = z, !0) : !1; + var y; + y = this.xa.We; + return !this.XF || 0 <= y.Da(this.XF).Wk(this.config.PWa) ? (this.XF = y, !0) : !1; } } }); - b.gdb = f; + b.kdb = f; c.prototype.mb = function () { - var z; - z = this; - this.QB || (this.log.trace("Starting playdata services"), this.QB = this.ew.HOb().then(function () { + var y; + y = this; + this.SB || (this.log.trace("Starting playdata services"), this.SB = this.iw.MOb().then(function () { !1; - return z; - }).catch(function (B) { - z.log.error("Unable to read the playdata, it will be deleted and not sent to the server", B); - return z; + return y; + }).catch(function (z) { + y.log.error("Unable to read the playdata, it will be deleted and not sent to the server", z); + return y; })); - return this.QB; + return this.SB; }; c.prototype.close = function () { this.closed = !0; - this.tG.forEach(function (z) { - z.D5.cancel(); + this.zG.forEach(function (y) { + y.D5.cancel(); }); }; - c.prototype.send = function (z) { - var B; + c.prototype.send = function (y) { + var z; if (this.closed) return Promise.resolve(); - B = this.config; - return B.xM && B.Kra ? this.sRb(z) : Promise.resolve(); + z = this.config; + return z.zM && z.Dra ? this.vRb(y) : Promise.resolve(); }; - c.prototype.JC = function (z) { - this.closed || this.BTb(z); + c.prototype.Tt = function (y, z, A, B) { + var C; + C = this; + this.closed || (this.X3a(y), this.Gra(y, B).catch(function (E) { + C.log.error("Start command failed", { + playdata: E.AG, + error: E.NS + }); + }), z && this.psa(this.dAb(y), y, A)); }; - c.prototype.e4a = function (z) { - var B, + c.prototype.f4a = function (y) { + var z, A, - C; - B = this; + B; + z = this; if (this.closed) return Promise.resolve(); - A = this.pt.create(z); - this.active.delete(A.ba); - z = aa(v.mt(function (E) { - return E.key === A.ba; - }, this.tG)); - C = z.next().value; - this.tG = z.next().value; - return Promise.all(C.map(function (E) { - E.stopped = !0; - return E.D5.stop(B.config.Kra); + A = this.ut.create(y); + this.active.delete(A.ca); + y = aa(w.st(function (C) { + return C.key === A.ca; + }, this.zG)); + B = y.next().value; + this.zG = y.next().value; + return Promise.all(B.map(function (C) { + C.stopped = !0; + return C.D5.stop(z.config.Dra); })).then(function () {}); }; - c.prototype.a_a = function (z) { - var B, - A; - B = this; - A = z.fa; - this.W3a(A); - this.Nra(A, z.aS).catch(function (C) { - B.log.error("Start command failed", { - playdata: C.uG, - error: C.OS - }); - }); - this.yTb(z); - }; - c.prototype.BTb = function (z) { - var B; - B = this; - z.addEventListener(r.W.sv, function (A) { - var C; - if (void 0 !== A.IM) { - C = z.eL(A.IM); - B.e4a(C); - A.r4 || new Promise(function (E) { - var F; - if (z.Hv.value) - E(); - else { - F = function (D) { - D.newValue && (E(), z.Hv.removeListener(F)); - }; - z.Hv.addListener(F); - } - }).then(function () { - return B.a_a(z); - }); - } - }); - z.addEventListener(r.W.ot, function () { - B.a_a(z); - }); - z.background || z.addEventListener(r.W.LL, function (A) { - A = z.eL(A.K); - B.W3a(A); - }); - z.addEventListener(r.W.dg, function () { - B.PTb(); - }); - z.addEventListener(r.W.w6a, function () { - B.yRb(z.fa).catch(function (A) { - (A = A.Cpa) && z.aK(A); - }); - }); - z.Nc.addListener(function () { - z.kb.Iha ? B.log.trace("stickiness is disabled for timedtext") : B.I2a(z.fa); - }); - z.Bd.addListener(function () { - z.kb.Iha ? B.log.trace("stickiness is disabled for audio") : B.I2a(z.fa).catch(function (A) { - (A = A.Cpa) && z.aK(A); - }); - }); - }; - c.prototype.W3a = function (z) { - var B, + c.prototype.X3a = function (y) { + var z, A; - z.Od("pdb"); - if (this.config.qpa.$Eb()) { - B = this.pt.create(z); - A = B.ba; - this.tG.some(function (C) { - return C.key === A; - }) ? this.log.trace("Already collecting online playdata, ignoring", B) : (this.log.info("Starting to collect online playdata", B), this.active.add(A), this.tG.push({ + y.Md("pdb"); + if (this.config.lpa.dFb()) { + z = this.ut.create(y); + A = z.ca; + this.zG.some(function (B) { + return B.key === A; + }) ? this.log.trace("Already collecting playdata, ignoring", z) : (this.log.info("Starting to collect playdata", z), this.active.add(A), this.zG.push({ key: A, - D5: this.rAb(z, B), - Yv: !1, + D5: this.uAb(y, z), + cw: !1, stopped: !1 })); } }; - c.prototype.sRb = function (z) { - var B, + c.prototype.vRb = function (y) { + var z, A, - C, - E; - B = this; - A = this.ew.uG.filter(function (F) { - return !B.active.has(F.ba); + B, + C; + z = this; + A = this.iw.AG.filter(function (E) { + return !z.active.has(E.ca); }); + B = void 0; C = void 0; - E = void 0; - z && Infinity === z ? C = A : (A = aa(v.mt(function (F) { - return F.K === z; - }, A)), C = A.next().value, E = A.next().value); - E && 0 < E.length && this.vc.Oj(this.config.F2a, function () { - B.H2a(E); + y && Infinity === y ? B = A : (A = aa(w.st(function (E) { + return E.K === y; + }, A)), B = A.next().value, C = A.next().value); + C && 0 < C.length && this.xc.Nj(this.config.F2a, function () { + z.H2a(C); }); - return C && 0 !== C.length ? this.H2a(C) : Promise.resolve(); + return B && 0 !== B.length ? this.H2a(B) : Promise.resolve(); }; - c.prototype.H2a = function (z) { + c.prototype.H2a = function (y) { var A; - function B(C) { - return A.v6.J2a(C).then(function () { - return A.GPb(C); + function z(B) { + return A.u6.J2a(B).then(function () { + return A.LPb(B); }); } A = this; - return z.reduce(function (C, E) { - return C.then(function () { - return B(E); + return y.reduce(function (B, C) { + return B.then(function () { + return z(C); }); }, Promise.resolve()); }; - c.prototype.GPb = function (z) { - var B; - B = this; - return this.ew.D1a(z).then(function () {}).catch(function (A) { - B.log.error("Unble to complete the stop lifecycle event", A); + c.prototype.LPb = function (y) { + var z; + z = this; + return this.iw.D1a(y).then(function () {}).catch(function (A) { + z.log.error("Unable to complete the stop lifecycle event", A); throw A; }); }; - c.prototype.rAb = function (z, B) { - z = new k(this.log, this.vc, z, this.pt, this.ew, this.v6); - z.D5(this.config.qpa, B); - return z; + c.prototype.uAb = function (y, z) { + y = new k(this.log, this.xc, y, this.ut, this.iw, this.u6); + y.D5(this.config.lpa, z); + return y; }; - c.prototype.Nra = function (z, B) { + c.prototype.Gra = function (y, z) { var A, - C; + B; A = this; - C = this.pt.Mrb(z, B); - return this.v6.Nra(z, C).then(function () { + B = this.ut.Nrb(y, z); + return this.u6.Gra(y, B).then(function () { !1; - A.tG.filter(function (E) { - return E.key === z.ba.toString(); - }).forEach(function (E) { - E.Yv = !0; + A.zG.filter(function (C) { + return C.key === y.ca.toString(); + }).forEach(function (C) { + C.cw = !0; }); - }).catch(function (E) { + }).catch(function (C) { throw { - uG: C, - OS: E + AG: B, + NS: C }; }); }; - c.prototype.yRb = function (z) { - return this.CQb.Mnb ? this.lW(w.Caa.eU, z, u.L.J$) : Promise.resolve(); + c.prototype.BRb = function (y) { + return this.HQb.Nnb ? this.kW(u.vaa.dU, y, p.M.B$) : Promise.resolve(); }; - c.prototype.I2a = function (z) { - return this.lW(w.Caa.splice, z, u.L.PFa); + c.prototype.I2a = function (y) { + return this.kW(u.vaa.splice, y, p.M.MFa); }; - c.prototype.lW = function (z, B, A) { - var E; - function C(F) { - var D; - D = E.tG.filter(function (G) { - return G.key === F.ba.toString(); + c.prototype.kW = function (y, z, A) { + var C; + function B(E) { + var G; + G = C.zG.filter(function (D) { + return D.key === E.ca.toString(); }); - return 0 === D.length ? !0 : D.reduce(function (G, I) { - return G || I.stopped || !I.Yv; + return 0 === G.length ? !0 : G.reduce(function (D, F) { + return D || F.stopped || !F.cw; }, !1); } - E = this; - return C(B) ? this.RF : this.RF = this.RF.catch(function () { + C = this; + return B(z) ? this.XF : this.XF = this.XF.catch(function () { return Promise.resolve(); }).then(function () { - var F; - if (C(B)) + var E; + if (B(z)) return Promise.resolve(); !1; - F = E.pt.create(B); - return E.v6.lW(z, B, F); - }).then(function (F) { + E = C.ut.create(z); + return C.u6.kW(y, z, E); + }).then(function (E) { !1; - return F; - }).catch(function (F) { - var D; - E.log.error("Failed to send event", { - eventKey: z, - xid: B.ba, - error: F + return E; + }).catch(function (E) { + var G; + C.log.error("Failed to send event", { + eventKey: y, + xid: z.ca, + error: E }); - F.Dj ? D = E.Xm(A, F) : F.Av === u.SY.Eba && (D = E.Xm(A, F)); + E.Cj ? G = C.Wm(A, E) : E.Gv === p.RY.yba && (G = C.Wm(A, E)); throw { - OS: F, - Cpa: D + NS: E, + xpa: G }; }); }; - c.prototype.yTb = function (z) { - this.USb(z) && this.wsa(this.$zb(z.fa), z); - }; - c.prototype.wsa = function (z, B) { - var A; - A = this; + c.prototype.psa = function (y, z, A) { + var B; + B = this; !1; - this.kga(); - this.rma = this.vc.Oj(z, function () { - A.kga(); - A.lW(w.Caa.eU, B.fa, u.L.J$).then(function () { - A.wsa(z, B); + this.ega(); + this.lma = this.xc.Nj(y, function () { + B.ega(); + B.kW(u.vaa.dU, z, p.M.B$).then(function () { + B.psa(y, z, A); }).catch(function (C) { var E; - E = C.OS; - (C = C.Cpa) && B.aK(C); - E.Av === u.SY.Eba && A.wsa(z, B); + E = C.NS; + (C = C.xpa) && A(C); + E.Gv === p.RY.yba && B.psa(y, z, A); }); }); }; - c.prototype.PTb = function () { - this.kga(); - }; - c.prototype.USb = function (z) { - return z.state.value == r.Gb.$d; + c.prototype.RTb = function () { + this.ega(); }; - c.prototype.kga = function () { - this.rma && (this.rma.cancel(), this.rma = void 0); + c.prototype.ega = function () { + this.lma && (this.lma.cancel(), this.lma = void 0); }; - c.prototype.$zb = function (z) { - return z.kb.bla ? d.uc(z.kb.bla) : this.config.QWa; + c.prototype.dAb = function (y) { + return y.kb.Xka ? d.wc(y.kb.Xka) : this.config.OWa; }; - y = c; - y = q.__decorate([l.R(), q.__param(0, l.l(p.xEa)), q.__param(1, l.l(g.Kb)), q.__param(2, l.l(h.lj)), q.__param(3, l.l(n.mDa)), q.__param(4, l.l(m.Faa)), q.__param(5, l.l(w.sDa)), q.__param(6, l.l(a.DP)), q.__param(7, l.l(x.wi))], y); - b.NDa = y; - }, function (q, b, a) { + x = c; + x = r.__decorate([l.R(), r.__param(0, l.l(q.vEa)), r.__param(1, l.l(g.Ib)), r.__param(2, l.l(h.ij)), r.__param(3, l.l(n.iDa)), r.__param(4, l.l(m.yaa)), r.__param(5, l.l(u.oDa)), r.__param(6, l.l(a.DP)), r.__param(7, l.l(v.wi))], x); + b.LDa = x; + }, function (r, b, a) { var f, k, l, @@ -119122,24 +119039,24 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.wEa = void 0; - q = a(1); + b.uEa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); d = a(44); - g = a(5); + g = a(4); a = a(38); - ka(c, k.ff); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - xM: { + zM: { configurable: !0, enumerable: !0, get: function () { - return this.config.Zu ? "unsentplaydatatest" : "unsentplaydata"; + return this.config.dv ? "unsentplaydatatest" : "unsentplaydata"; } }, - Kra: { + Dra: { configurable: !0, enumerable: !0, get: function () { @@ -119150,126 +119067,203 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return g.uc(1E4); + return g.wc(1E4); } }, - qpa: { + lpa: { configurable: !0, enumerable: !0, get: function () { - return g.uc(4E3); + return g.wc(4E3); } }, - QWa: { + OWa: { configurable: !0, enumerable: !0, get: function () { return g.B5(1); } }, - RWa: { + PWa: { configurable: !0, enumerable: !0, get: function () { - return g.Wg(30); + return g.Ug(30); } } }); h = c; - q.__decorate([d.config(d.string, "playdataPersistKey")], h.prototype, "xM", null); - q.__decorate([d.config(d.ud, "sendPersistedPlaydata")], h.prototype, "Kra", null); - q.__decorate([d.config(d.vk, "playdataSendDelayMilliseconds")], h.prototype, "F2a", null); - q.__decorate([d.config(d.vk, "playdataPersistIntervalMilliseconds")], h.prototype, "qpa", null); - q.__decorate([d.config(d.vk, "heartbeatCooldown")], h.prototype, "QWa", null); - q.__decorate([d.config(d.vk, "keepAliveWindow")], h.prototype, "RWa", null); - h = q.__decorate([f.R(), q.__param(0, f.l(l.km)), q.__param(1, f.l(a.gm))], h); - b.wEa = h; - }, function (q, b, a) { + r.__decorate([d.config(d.string, "playdataPersistKey")], h.prototype, "zM", null); + r.__decorate([d.config(d.ad, "sendPersistedPlaydata")], h.prototype, "Dra", null); + r.__decorate([d.config(d.uk, "playdataSendDelayMilliseconds")], h.prototype, "F2a", null); + r.__decorate([d.config(d.uk, "playdataPersistIntervalMilliseconds")], h.prototype, "lpa", null); + r.__decorate([d.config(d.uk, "heartbeatCooldown")], h.prototype, "OWa", null); + r.__decorate([d.config(d.uk, "keepAliveWindow")], h.prototype, "PWa", null); + h = r.__decorate([f.R(), r.__param(0, f.l(l.jm)), r.__param(1, f.l(a.fm))], h); + b.uEa = h; + }, function (r, b, a) { var f, k, l; function c(d, g) { - this.UR = g; - this.log = d.Cb("PboEventSenderImpl"); + this.VR = g; + this.log = d.Db("PboEventSenderImpl"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rDa = void 0; - q = a(1); + b.nDa = void 0; + r = a(1); f = a(80); k = a(8); a = a(0); - c.prototype.Nra = function (d, g) { + c.prototype.Gra = function (d, g) { var h; - h = this.UR(f.wo.start); - return this.oRa(h, d, g); + h = this.VR(f.xo.start); + return this.nRa(h, d, g); }; c.prototype.J2a = function (d) { var g; g = this; - return this.UR(f.wo.stop).Of(this.log, d).then(function () {}).catch(function (h) { + return this.VR(f.xo.stop).Pf(this.log, d).then(function () {}).catch(function (h) { g.log.error("PBO stop event failed", h); throw h; }); }; - c.prototype.lW = function (d, g, h) { - d = this.UR(d); - return this.oRa(d, g, h); + c.prototype.kW = function (d, g, h) { + d = this.VR(d); + return this.nRa(d, g, h); }; - c.prototype.oRa = function (d, g, h) { + c.prototype.nRa = function (d, g, h) { var m; m = this; - return d.np(this.log, g.sa.Fj, h).then(function () {}).catch(function (n) { + return d.op(this.log, g.sa.Ej, h).then(function () {}).catch(function (n) { m.log.error("PBO event failed", n); throw n; }); }; l = c; - l = q.__decorate([a.R(), q.__param(0, a.l(k.Kb)), q.__param(1, a.l(f.h$))], l); - b.rDa = l; - }, function (q, b, a) { + l = r.__decorate([a.R(), r.__param(0, a.l(k.Ib)), r.__param(1, a.l(f.a$))], l); + b.nDa = l; + }, function (r, b, a) { var l, d, g, h; function c() {} function f(m) { - this.iMb = m; + this.kMb = m; } function k(m) { - this.kMb = m; + this.nMb = m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.PDa = b.KDa = b.IDa = void 0; - q = a(1); + b.NDa = b.GDa = b.EDa = void 0; + r = a(1); l = a(0); - d = a(265); + d = a(266); g = a(42); h = a(3); k.prototype.validate = function (m) { - m.map(this.kMb.validate); + m.map(this.nMb.validate); }; a = k; - a = q.__decorate([l.R(), q.__param(0, l.l(d.QDa))], a); - b.IDa = a; + a = r.__decorate([l.R(), r.__param(0, l.l(d.ODa))], a); + b.EDa = a; f.prototype.validate = function (m) { - this.iMb.validate(m.data); + this.kMb.validate(m.data); }; a = f; - a = q.__decorate([l.R(), q.__param(0, l.l(d.JDa))], a); - b.KDa = a; + a = r.__decorate([l.R(), r.__param(0, l.l(d.FDa))], a); + b.GDa = a; c.prototype.validate = function (m) { var n; - m.ba && "string" === typeof m.ba ? m.href && "string" === typeof m.href ? m.profileId && "string" === typeof m.profileId || (n = "ProfileId value is corrupted.") : n = "Href value is corrupted." : n = "Xid value is corrupted."; + m.ca && "string" === typeof m.ca ? m.href && "string" === typeof m.href ? m.profileId && "string" === typeof m.profileId || (n = "ProfileId value is corrupted.") : n = "Href value is corrupted." : n = "Xid value is corrupted."; if (n) - throw new g.$c(h.L.aA, h.M.Wz, void 0, void 0, void 0, n, void 0, m.ba); + throw new g.dd(h.M.bA, h.L.Yz, void 0, void 0, void 0, n, void 0, m.ca); }; - q = q.__decorate([l.R()], c); - b.PDa = q; - }, function (q, b, a) { + r = r.__decorate([l.R()], c); + b.NDa = r; + }, function (r, b, a) { + var f, + k, + l, + d; + function c(g, h) { + this.mMb = h; + this.log = g.Db("PlaydataServices"); + } + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.JDa = void 0; + r = a(1); + f = a(0); + k = a(8); + l = a(18); + a = a(183); + c.prototype.Tt = function (g) { + var h; + h = this; + this.mMb().then(function (m) { + g.addEventListener(l.Z.yv, function (n) { + var q; + if (void 0 !== n.IM) { + q = g.hL(n.IM); + m.f4a(q); + n.s4 || new Promise(function (p) { + var t; + if (g.Nv.value) + p(); + else { + t = function (u) { + u.newValue && (p(), g.Nv.removeListener(t)); + }; + g.Nv.addListener(t); + } + }).then(function () { + return m.Tt(g, h.A3a(g), function (p) { + return g.WE(p); + }, g.fK); + }); + } + }); + g.addEventListener(l.Z.tt, function () { + m.Tt(g, h.A3a(g), function (n) { + return g.WE(n); + }, g.fK); + }); + g.background || g.addEventListener(l.Z.NL, function (n) { + n = g.hL(n.K); + m.X3a(n); + }); + g.addEventListener(l.Z.dg, function () { + m.RTb(); + }); + g.addEventListener(l.Z.z6a, function () { + m.BRb(g.ga).catch(function (n) { + (n = n.xpa) && g.WE(n); + }); + }); + g.Rc.addListener(function () { + g.kb.Cha ? h.log.trace("stickiness is disabled for timedtext") : m.I2a(g.ga); + }); + g.Sd.addListener(function () { + g.kb.Cha ? h.log.trace("stickiness is disabled for audio") : m.I2a(g.ga).catch(function (n) { + (n = n.xpa) && g.WE(n); + }); + }); + }); + }; + c.prototype.A3a = function (g) { + return g.state.value == l.Jb.Yd; + }; + d = c; + d = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(a.hZ))], d); + b.JDa = d; + }, function (r, b, a) { var f, k, l, @@ -119278,15 +119272,15 @@ a000.D9b = function () { h, m, n; - function c(r) { + function c(q) { return function () { - return new Promise(function (p, u) { - var t; - t = r.$a.get(k.Kxa); - t.mb().then(function () { - p(t); + return new Promise(function (p, t) { + var u; + u = q.$a.get(k.Gxa); + u.mb().then(function () { + p(u); }).catch(function (w) { - u(w); + t(w); }); }); }; @@ -119294,26 +119288,26 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zQa = void 0; - q = a(0); - f = a(467); - a(1047); - k = a(469); - l = a(1049); + b.xQa = void 0; + r = a(0); + f = a(472); + a(1050); + k = a(474); + l = a(1052); d = a(94); - g = a(1050); - h = a(470); - m = a(1051); - n = a(1052); - a(1053); - b.zQa = new q.ad(function (r) { - r(h.IAa).to(m.HAa).$(); - r(f.Hxa).to(n.JAa); - r(d.iO).to(g.Oua).$(); - r(k.Kxa).to(l.Ixa).$(); - r(k.Jxa).WW(c); - }); - }, function (q, b, a) { + g = a(1053); + h = a(475); + m = a(1054); + n = a(1055); + a(1056); + b.xQa = new r.$c(function (q) { + q(h.GAa).to(m.FAa).aa(); + q(f.Dxa).to(n.HAa); + q(d.hO).to(g.Lua).aa(); + q(k.Gxa).to(l.Exa).aa(); + q(k.Fxa).VW(c); + }); + }, function (r, b, a) { var f, k, l, @@ -119321,151 +119315,151 @@ a000.D9b = function () { g, h, m; - function c(n, r, p) { - var u; - u = g.OP.call(this, n, r, "idb") || this; - u.en = p; - u.n2a = function (t) { - u.ytb(t.target.id).then(function () { - return u.refresh(); + function c(n, q, p) { + var t; + t = g.PP.call(this, n, q, "idb") || this; + t.dn = p; + t.m2a = function (u) { + t.Btb(u.target.id).then(function () { + return t.refresh(); }); }; - u.DKb = function () { - u.Mob().then(function () { - return u.refresh(); + t.FKb = function () { + t.Nob().then(function () { + return t.refresh(); }); }; - u.$Kb = function () { - u.refresh(); + t.bLb = function () { + t.refresh(); }; - u.GKb = function () { - u.Opb(); + t.IKb = function () { + t.Ppb(); }; - return u; + return t; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.abb = void 0; - q = a(1); + b.dbb = void 0; + r = a(1); f = a(0); k = a(28); l = a(26); - d = a(168); - g = a(468); - h = a(129); - m = a(266); - ka(c, g.OP); + d = a(167); + g = a(473); + h = a(128); + m = a(267); + ja(c, g.PP); c.prototype.mb = function () { var n; n = this; - if (this.Km) + if (this.Im) return Promise.resolve(); - pb.addEventListener("keydown", function (r) { - r.ctrlKey && r.altKey && r.shiftKey && r.keyCode == h.du.Z$a && n.toggle(); + pb.addEventListener("keydown", function (q) { + q.ctrlKey && q.altKey && q.shiftKey && q.keyCode == h.iu.bab && n.toggle(); }); - return this.en.create().then(function (r) { - n.storage = r; - n.Km = !0; + return this.dn.create().then(function (q) { + n.storage = q; + n.Im = !0; }); }; c.prototype.pk = function () { return '#NameValue'); }; - c.prototype.nka = function (n, r, p) { - var u; + c.prototype.jka = function (n, q, p) { + var t; n = n.toString(); - u = '"' + r + '"'; - p = this.sNa.ek({ - name: r, + t = '"' + q + '"'; + p = this.sNa.wj({ + name: q, data: p }); - return '' + n + '' + u + '
    ' + p + '
'); + return '' + n + '' + t + '
    ' + p + '
'); }; - c.prototype.zka = function (n) { - var r, + c.prototype.vka = function (n) { + var q, p; - r = this; + q = this; p = '' + this.pk(); - Object.entries(n).forEach(function (u, t) { + Object.entries(n).forEach(function (t, u) { var w; - w = aa(u); - u = w.next().value; + w = aa(t); + t = w.next().value; w = w.next().value; - p += r.nka(t, u, w); + p += q.jka(u, t, w); }); return p + "
"; }; c.prototype.NSa = function () { var n, - r, + q, p; - n = this.Rd.createElement("button", g.KH, "Clear", { + n = this.Pd.createElement("button", g.SH, "Clear", { "class": this.prefix + "-display-btn" }); - r = this.Rd.createElement("button", g.KH, "Refresh", { + q = this.Pd.createElement("button", g.SH, "Refresh", { "class": this.prefix + "-display-btn" }); - p = this.Rd.createElement("button", g.KH, "Copy", { + p = this.Pd.createElement("button", g.SH, "Copy", { "class": this.prefix + "-display-btn" }); - n.onclick = this.DKb; - r.onclick = this.$Kb; - p.onclick = this.GKb; - return [n, r, p]; + n.onclick = this.FKb; + q.onclick = this.bLb; + p.onclick = this.IKb; + return [n, q, p]; }; - c.prototype.OGb = function () { + c.prototype.QGb = function () { var n; n = this; - return this.storage.loadAll().then(function (r) { - n.vVa = r.reduce(function (p, u) { - p[u.key] = u.value; + return this.storage.loadAll().then(function (q) { + n.tVa = q.reduce(function (p, t) { + p[t.key] = t.value; return p; }, {}); - return n.vVa; + return n.tVa; }); }; - c.prototype.ytb = function (n) { + c.prototype.Btb = function (n) { return this.storage.remove(n); }; - c.prototype.Mob = function () { + c.prototype.Nob = function () { return this.storage.removeAll(); }; c.prototype.u1a = function () { var n; n = this; - return this.OGb().then(function (r) { - return n.zka(r); + return this.QGb().then(function (q) { + return n.vka(q); }); }; - c.prototype.Opb = function () { + c.prototype.Ppb = function () { var n; - n = JSON.stringify(this.vVa, null, 4); - m.XX.Jga(n); + n = JSON.stringify(this.tVa, null, 4); + m.WX.Dga(n); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Hf)), q.__param(1, f.l(l.Gf)), q.__param(2, f.l(d.E$))], a); - b.abb = a; - }, function (q, b) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.If)), r.__param(1, f.l(l.Hf)), r.__param(2, f.l(d.w$))], a); + b.dbb = a; + }, function (r, b) { function a(c) { this.is = c; - this.FFb = "#881391"; - this.dUb = "#C41A16"; - this.Omb = this.kKb = "#1C00CF"; - this.iEb = "#D79BDB"; - this.kWb = this.hKb = "#808080"; + this.IFb = "#881391"; + this.fUb = "#C41A16"; + this.Pmb = this.mKb = "#1C00CF"; + this.lEb = "#D79BDB"; + this.mWb = this.jKb = "#808080"; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sHa = void 0; - a.prototype.ek = function (c) { + b.oHa = void 0; + a.prototype.wj = function (c) { return this.getValue("~~NONAME~~", c); }; a.prototype.zB = function (c, f) { - return '' + c + ": "; + return '' + c + ": "; }; - a.prototype.qSa = function (c, f) { + a.prototype.pSa = function (c, f) { f = f || ""; c = '
  • ' + this.zB(c) + "Array[" + f.length + "]"; c += "
      "; @@ -119475,12 +119469,12 @@ a000.D9b = function () { c += this.getValue("length", f.length, !0); return c + "
  • "; }; - a.prototype.PTa = function (c, f) { + a.prototype.QTa = function (c, f) { var k, l; k = this; if (f instanceof CryptoKey) - return this.Xyb(c, f); + return this.azb(c, f); l = ""; l += '
  • ' + ("~~NONAME~~" !== c ? this.zB(c) : "") + "Object"; l += "
      "; @@ -119494,57 +119488,57 @@ a000.D9b = function () { l += "
    "; return l += "
  • "; }; - a.prototype.Xyb = function (c, f) { + a.prototype.azb = function (c, f) { c = '
  • ' + this.zB(c) + "CryptoKey"; - c = c + "
      " + this.PTa("algorithm", f.algorithm); + c = c + "
        " + this.QTa("algorithm", f.algorithm); c += this.uSa("extractable", f.extractable); c += this.tUa("type", f.type); - c += this.qSa("usages", f.usages); + c += this.pSa("usages", f.usages); return c + "
      "; }; - a.prototype.FAb = function (c, f, k) { - return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('' + f.toString() + "
    • "); + a.prototype.IAb = function (c, f, k) { + return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('' + f.toString() + "
    • "); }; a.prototype.uSa = function (c, f, k) { - return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('' + f.toString() + "
    • "); + return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('' + f.toString() + "
    • "); }; a.prototype.tUa = function (c, f, k) { 128 < f.length && (f = f.substr(0, 128) + "..."); - return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('"' + f + '"
    • '); + return '
    • ' + this.zB(c, void 0 === k ? !1 : k) + ('"' + f + '"
    • '); }; - a.prototype.EAb = function (c) { - return '
    • ' + this.zB(c) + ('null
    • '); + a.prototype.HAb = function (c) { + return '
    • ' + this.zB(c) + ('null
    • '); }; - a.prototype.QBb = function (c, f) { + a.prototype.SBb = function (c, f) { f = "undefined" === typeof f ? "" : f.toString(); 255 < f.length && (f = f.substr(0, 255) + "..."); - return '
    • ' + this.zB(c) + ('' + f + "
    • "); + return '
    • ' + this.zB(c) + ('' + f + "
    • "); }; a.prototype.getValue = function (c, f, k) { k = void 0 === k ? !1 : k; - return null === f ? "" + this.EAb(c) : this.is.tx(f) ? "" + this.qSa(c, f) : this.is.LJ(f) ? "" + this.PTa(c, f) : this.is.So(f) ? "" + this.tUa(c, f, k) : this.is.$h(f) ? "" + this.FAb(c, f, k) : this.is.aR(f) ? "" + this.uSa(c, f, k) : "" + this.QBb(c, f); + return null === f ? "" + this.HAb(c) : this.is.yx(f) ? "" + this.pSa(c, f) : this.is.OJ(f) ? "" + this.QTa(c, f) : this.is.Uo(f) ? "" + this.tUa(c, f, k) : this.is.$h(f) ? "" + this.IAb(c, f, k) : this.is.cR(f) ? "" + this.uSa(c, f, k) : "" + this.SBb(c, f); }; - b.sHa = a; - }, function (q, b, a) { + b.oHa = a; + }, function (r, b, a) { var f, k; function c(l) { - this.iub = l; + this.mub = l; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ixa = void 0; - q = a(1); + b.Exa = void 0; + r = a(1); f = a(0); - a = a(467); + a = a(472); c.prototype.mb = function () { var l; l = this; - this.QB || (this.QB = new Promise(function (d, g) { + this.SB || (this.SB = new Promise(function (d, g) { var h; h = []; - l.iub.forEach(function (m) { + l.mub.forEach(function (m) { h.push(m.mb()); }); Promise.all(h).then(function () { @@ -119553,61 +119547,61 @@ a000.D9b = function () { g(m); }); })); - return this.QB; + return this.SB; }; k = c; - k = q.__decorate([f.R(), q.__param(0, f.fG(a.Hxa))], k); - b.Ixa = k; - }, function (q, b, a) { + k = r.__decorate([f.R(), r.__param(0, f.lG(a.Dxa))], k); + b.Exa = k; + }, function (r, b, a) { var f, k; function c() { - this.Dra = ""; - this.K6a = [[], []]; + this.wra = ""; + this.N6a = [[], []]; this.Y = [[], []]; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Oua = void 0; - q = a(1); + b.Lua = void 0; + r = a(1); f = a(0); - a(5); + a(4); k = a(94); c.prototype.downloadRequest = function (l) { var d; - "" === this.Dra && (this.Dra = l.va); - if (!l.Lc) { - d = this.oVb(l); + "" === this.wra && (this.wra = l.va); + if (!l.Nc) { + d = this.qVb(l); this.Y[l.mediaType].push(d); - this.K6a[l.mediaType].forEach(function (g) { + this.N6a[l.mediaType].forEach(function (g) { g.o3b(d); }); } }; - c.prototype.oVb = function (l) { + c.prototype.qVb = function (l) { return { id: l.Jh(), va: l.va, mediaType: l.mediaType, - Aj: l.Aj, - startTime: l.ez, - endTime: l.Mv, - offset: l.Ct, - WJ: l.WJ, - VJ: l.VJ, - duration: l.Zx, + yj: l.yj, + startTime: l.hz, + endTime: l.Rv, + offset: l.Ht, + $J: l.$J, + ZJ: l.ZJ, + duration: l.dy, bitrate: l.bitrate, - state: k.q9.uQa, - Hv: !1, - n5b: !1, + state: k.l9.rQa, + Nv: !1, + x5b: !1, WUa: !1, - i4b: k.p9.waiting + o4b: k.k9.waiting }; }; c.prototype.update = function (l) { - this.K6a[l.mediaType].forEach(function (d) { - d.b8b(l); + this.N6a[l.mediaType].forEach(function (d) { + d.u8b(l); }); }; Xa.Object.defineProperties(c.prototype, { @@ -119615,13 +119609,13 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.Dra; + return this.wra; } } }); - a = q.__decorate([f.R()], c); - b.Oua = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.Lua = a; + }, function (r, b, a) { var f, k, l, @@ -119635,30 +119629,30 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.HAa = void 0; - q = a(1); + b.FAa = void 0; + r = a(1); f = a(0); k = a(44); l = a(45); d = a(37); a = a(131); - ka(c, l.ff); + ja(c, l.ff); Xa.Object.defineProperties(c.prototype, { - XV: { + WV: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - ML: { + OL: { configurable: !0, enumerable: !0, get: function () { - return this.jk.ML; + return this.jk.OL; } }, - AXa: { + yXa: { configurable: !0, enumerable: !0, get: function () { @@ -119667,233 +119661,233 @@ a000.D9b = function () { } }); g = c; - q.__decorate([k.config(k.ud, "renderDomDiagnostics")], g.prototype, "XV", null); - q.__decorate([k.config(k.g4, "logDisplayMaxEntryCount")], g.prototype, "ML", null); - q.__decorate([k.config(k.g4, "logDisplayAutoshowLevel")], g.prototype, "AXa", null); - g = q.__decorate([f.R(), q.__param(0, f.l(d.km)), q.__param(1, f.l(a.BP))], g); - b.HAa = g; - }, function (q, b, a) { + r.__decorate([k.config(k.ad, "renderDomDiagnostics")], g.prototype, "WV", null); + r.__decorate([k.config(k.h4, "logDisplayMaxEntryCount")], g.prototype, "OL", null); + r.__decorate([k.config(k.h4, "logDisplayAutoshowLevel")], g.prototype, "yXa", null); + g = r.__decorate([f.R(), r.__param(0, f.l(d.jm)), r.__param(1, f.l(a.BP))], g); + b.FAa = g; + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B; - function c(A, C, E, F, D, G, I, J, H, M) { - var O; - O = this; - this.wa = A; - this.Lf = C; - this.Rd = E; - this.vc = F; - this.cn = D; - this.config = G; - this.qB = I; - this.Xsa = J; - this.Osb = H; - this.en = M; - this.UUb = function () { - O.iX.ol(function () { - O.update(); + A; + function c(B, C, E, G, D, F, J, K, H, L) { + var Q; + Q = this; + this.xa = B; + this.Mf = C; + this.Pd = E; + this.xc = G; + this.bn = D; + this.config = F; + this.rB = J; + this.Ssa = K; + this.Qsb = H; + this.dn = L; + this.WUb = function () { + Q.hX.nl(function () { + Q.update(); }); }; this.clear = function () { - O.entries = []; - O.update(); - }; - this.SYa = function () { - O.se.FL = !O.se.FL; - O.eC && O.iC && (O.se.FL ? (O.eC.style.display = "inline-block", O.iC.style.display = "none") : (O.iC.style.display = "inline-block", O.eC.style.display = "none")); - O.VG(!1); - }; - this.hHb = function (L) { - var P; - O.entries.push(L); - P = O.config.ML; - 0 <= P && O.entries.length > P && O.entries.shift(); - void 0 === O.se.Fx[L.Gn] && (O.se.Fx[L.Gn] = !0, O.VG(!1)); - O.se.isVisible && !O.L4a ? O.UUb() : O.iX.ol(); - }; - this.rub = function () { - k.download("all", O.entries.map(function (L) { - return L.j8(!1, !1); - })).catch(function (L) { - console.error("Unable to download all logs to the file", L); - }); - }; - this.Km = !1; - this.se = { + Q.entries = []; + Q.update(); + }; + this.PYa = function () { + Q.ue.HL = !Q.ue.HL; + Q.gC && Q.kC && (Q.ue.HL ? (Q.gC.style.display = "inline-block", Q.kC.style.display = "none") : (Q.kC.style.display = "inline-block", Q.gC.style.display = "none")); + Q.cH(!1); + }; + this.jHb = function (I) { + var O; + Q.entries.push(I); + O = Q.config.OL; + 0 <= O && Q.entries.length > O && Q.entries.shift(); + void 0 === Q.ue.Kx[I.Gn] && (Q.ue.Kx[I.Gn] = !0, Q.cH(!1)); + Q.ue.isVisible && !Q.N4a ? Q.WUb() : Q.hX.nl(); + }; + this.wub = function () { + k.download("all", Q.entries.map(function (I) { + return I.f8(!1, !1); + })).catch(function (I) { + console.error("Unable to download all logs to the file", I); + }); + }; + this.Im = !1; + this.ue = { isVisible: !1, - FL: !0, - T1: !0, - Yma: t.hj.A$, - Fx: {} + HL: !0, + V1: !0, + Sma: u.fj.s$, + Kx: {} }; - this.iX = this.Xsa(r.Wg(1)); - this.Jwb = this.Osb(r.uc(250)); + this.hX = this.Ssa(q.Ug(1)); + this.Pwb = this.Qsb(q.wc(250)); this.entries = []; !1; !1; } - function f(A) { + function f(B) { var C; this.elements = []; - C = document.createElementNS(f.KW, "svg"); - C.setAttribute("viewBox", A); + C = document.createElementNS(f.JW, "svg"); + C.setAttribute("viewBox", B); this.elements.push(C); } function k() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.JAa = void 0; - q = a(1); + b.HAa = void 0; + r = a(1); l = a(0); d = a(28); g = a(107); - h = a(326); + h = a(328); m = a(46); n = a(40); - r = a(5); + q = a(4); p = a(20); - u = a(85); - t = a(8); + t = a(85); + u = a(8); w = a(108); - v = a(267); - x = a(470); + v = a(268); + x = a(475); y = a(78); - z = a(129); - B = a(266); - k.download = function (A, C) { - return k.zzb(A).then(function (E) { - return k.HBb(E, C.join("\r\n")).then(function (F) { - return k.pub(F.filename, F.text); + z = a(128); + A = a(267); + k.download = function (B, C) { + return k.Dzb(B).then(function (E) { + return k.JBb(E, C.join("\r\n")).then(function (G) { + return k.uub(G.filename, G.text); }); }); }; - k.zzb = function (A) { + k.Dzb = function (B) { return new Promise(function (C, E) { - var F, + var G, D, - G, - I, + F, J, + K, H, - M; + L; try { - F = new Date(); - D = F.getDate().toString(); - G = (F.getMonth() + 1).toString(); - I = F.getFullYear().toString(); - J = F.getHours().toString(); - H = F.getMinutes().toString(); - M = F.getSeconds().toString(); + G = new Date(); + D = G.getDate().toString(); + F = (G.getMonth() + 1).toString(); + J = G.getFullYear().toString(); + K = G.getHours().toString(); + H = G.getMinutes().toString(); + L = G.getSeconds().toString(); 1 === D.length && (D = "0" + D); - 1 === G.length && (G = "0" + G); - 1 === J.length && (J = "0" + J); + 1 === F.length && (F = "0" + F); + 1 === K.length && (K = "0" + K); 1 === H.length && (H = "0" + H); - 1 === M.length && (M = "0" + M); - C(I + G + D + J + H + M + "." + A + ".log"); - } catch (O) { - E(O); + 1 === L.length && (L = "0" + L); + C(J + F + D + K + H + L + "." + B + ".log"); + } catch (Q) { + E(Q); } }); }; - k.HBb = function (A, C) { - return new Promise(function (E, F) { + k.JBb = function (B, C) { + return new Promise(function (E, G) { try { E({ - filename: A, + filename: B, text: URL.createObjectURL(new Blob([C], { type: "text/plain" })) }); } catch (D) { - F(D); + G(D); } }); }; - k.pub = function (A, C) { + k.uub = function (B, C) { var E; try { E = document.createElement("a"); E.setAttribute("href", C); - E.setAttribute("download", A); + E.setAttribute("download", B); E.style.display = "none"; document.body.appendChild(E); E.click(); document.body.removeChild(E); return Promise.resolve(); - } catch (F) { - return Promise.reject(F); + } catch (G) { + return Promise.reject(G); } }; - f.prototype.AN = function () { - var A; - A = document.createElementNS(f.KW, "g"); - A.setAttribute("stroke", "none"); - A.setAttribute("stroke-width", (1).toString()); - A.setAttribute("fill", "none"); - A.setAttribute("fill-rule", "evenodd"); - A.setAttribute("stroke-linecap", "round"); - this.addElement(A); + f.prototype.BN = function () { + var B; + B = document.createElementNS(f.JW, "g"); + B.setAttribute("stroke", "none"); + B.setAttribute("stroke-width", (1).toString()); + B.setAttribute("fill", "none"); + B.setAttribute("fill-rule", "evenodd"); + B.setAttribute("stroke-linecap", "round"); + this.addElement(B); return this; }; - f.prototype.BN = function (A, C, E) { - var F; - F = document.createElementNS(f.KW, "path"); - F.setAttribute("d", A); - C && F.setAttribute("fill", C); - E && F.setAttribute("fill-rule", E); - this.addElement(F); + f.prototype.CN = function (B, C, E) { + var G; + G = document.createElementNS(f.JW, "path"); + G.setAttribute("d", B); + C && G.setAttribute("fill", C); + E && G.setAttribute("fill-rule", E); + this.addElement(G); return this; }; - f.prototype.EW = function (A, C, E, F, D) { - var G; + f.prototype.DW = function (B, C, E, G, D) { + var F; D = void 0 === D ? "#000000" : D; - G = document.createElementNS(f.KW, "rect"); - G.setAttribute("x", A.toString()); - G.setAttribute("y", C.toString()); - G.setAttribute("height", E.toString()); - G.setAttribute("width", F.toString()); - D && G.setAttribute("fill", D); - this.addElement(G); + F = document.createElementNS(f.JW, "rect"); + F.setAttribute("x", B.toString()); + F.setAttribute("y", C.toString()); + F.setAttribute("height", E.toString()); + F.setAttribute("width", G.toString()); + D && F.setAttribute("fill", D); + this.addElement(F); return this; }; - f.prototype.ETb = function () { - var A; - A = document.createElementNS(f.KW, "polygon"); - A.setAttribute("points", "0 0 24 0 24 24 0 24"); - A.setAttribute("transform", "translate(12.000000, 12.000000) scale(-1, 1) translate(-12.000000, -12.000000)"); - this.addElement(A); + f.prototype.GTb = function () { + var B; + B = document.createElementNS(f.JW, "polygon"); + B.setAttribute("points", "0 0 24 0 24 24 0 24"); + B.setAttribute("transform", "translate(12.000000, 12.000000) scale(-1, 1) translate(-12.000000, -12.000000)"); + this.addElement(B); return this; }; f.prototype.end = function () { this.elements.pop(); return this; }; - f.prototype.ek = function () { + f.prototype.wj = function () { if (1 < this.elements.length) throw new RangeError("Some item wasn't terminated correctly"); if (0 === this.elements.length) throw new RangeError("Too many items were terminated"); return this.elements[0]; }; - f.prototype.addElement = function (A) { + f.prototype.addElement = function (B) { if (0 === this.elements.length) throw new RangeError("Too many items were terminated"); - this.elements[this.elements.length - 1].appendChild(A); - this.elements.push(A); + this.elements[this.elements.length - 1].appendChild(B); + this.elements.push(B); }; Xa.Object.defineProperties(f, { background: { @@ -119903,7 +119897,7 @@ a000.D9b = function () { return "transparent"; } }, - eF: { + hF: { configurable: !0, enumerable: !0, get: function () { @@ -119911,299 +119905,299 @@ a000.D9b = function () { } } }); - f.KW = "http://www.w3.org/2000/svg"; + f.JW = "http://www.w3.org/2000/svg"; c.prototype.mb = function () { - var A; - A = this; - this.QB || (this.QB = new Promise(function (C) { + var B; + B = this; + this.SB || (this.SB = new Promise(function (C) { pb.addEventListener("keydown", function (E) { - E.ctrlKey && E.altKey && E.shiftKey && (E.keyCode == z.du.dbb ? A.toggle() : E.keyCode == z.du.E && B.XX.Jga(A.qB().gi)); + E.ctrlKey && E.altKey && E.shiftKey && (E.keyCode == z.iu.gbb ? B.toggle() : E.keyCode == z.iu.E && A.WX.Dga(B.rB().gi)); }); - A.cn.V6(v.S$.y9a, A.hHb); + B.bn.S6(v.K$.A9a, B.jHb); C(); })); - return this.QB; + return this.SB; }; c.prototype.show = function () { - document.body && (this.element || (this.Arb(), this.Km = !0), !this.se.isVisible && this.element && (document.body.appendChild(this.element), this.se.isVisible = !0, this.update(!0))); + document.body && (this.element || (this.Brb(), this.Im = !0), !this.ue.isVisible && this.element && (document.body.appendChild(this.element), this.ue.isVisible = !0, this.update(!0))); }; - c.prototype.Tq = function () { - this.Km && this.se.isVisible && this.element && (document.body.removeChild(this.element), this.se.isVisible = !1); + c.prototype.Sq = function () { + this.Im && this.ue.isVisible && this.element && (document.body.removeChild(this.element), this.ue.isVisible = !1); }; c.prototype.toggle = function () { - this.se.isVisible ? this.Tq() : this.show(); - this.VG(!1); + this.ue.isVisible ? this.Sq() : this.show(); + this.cH(!1); }; - c.prototype.Arb = function () { - var A, + c.prototype.Brb = function () { + var B, C; try { - A = this.createElement("div", "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;bottom:10px;", void 0, { + B = this.createElement("div", "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;bottom:10px;", void 0, { "class": "player-log" }); C = this.createElement("style"); C.type = "text/css"; C.appendChild(document.createTextNode("button:focus { outline: none; }")); - A.appendChild(C); - A.appendChild(this.lo = this.rsb()); - A.appendChild(this.ssb()); - A.appendChild(this.urb()); - this.element = A; + B.appendChild(C); + B.appendChild(this.mo = this.tsb()); + B.appendChild(this.usb()); + B.appendChild(this.vrb()); + this.element = B; } catch (E) { console.error("Unable to create the log console", E); } }; - c.prototype.rsb = function () { - var A, + c.prototype.tsb = function () { + var B, C; - A = this; + B = this; C = this.createElement("textarea", "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;margin:0;color:#040;font-size:11px;font-family:monospace;overflow:scroll;background-color:rgba(255,255,255,0.6)"); C.setAttribute("wrap", "off"); C.setAttribute("readonly", "readonly"); C.addEventListener("focus", function () { - A.L4a = !0; - A.update(); - A.lo && (A.lo.style.cssText = "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;margin:0;color:#040;font-size:11px;font-family:monospace;overflow:scroll;background-color:rgba(255,255,255,0.86)"); + B.N4a = !0; + B.update(); + B.mo && (B.mo.style.cssText = "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;margin:0;color:#040;font-size:11px;font-family:monospace;overflow:scroll;background-color:rgba(255,255,255,0.86)"); }); C.addEventListener("blur", function () { - A.L4a = !1; - A.update(); - A.lo && (A.lo.style.cssText = "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;margin:0;color:#040;font-size:11px;font-family:monospace;overflow:scroll;background-color:rgba(255,255,255,0.6)"); + B.N4a = !1; + B.update(); + B.mo && (B.mo.style.cssText = "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;margin:0;color:#040;font-size:11px;font-family:monospace;overflow:scroll;background-color:rgba(255,255,255,0.6)"); }); return C; }; - c.prototype.ssb = function () { - var A; - A = this.createElement("div", "float:right;opacity:0.8;background-color:white;display:flex;align-items:center;font-size:small;font-family:sans-serif"); - A.appendChild(this.Urb()); - A.appendChild(this.Krb()); - A.appendChild(this.Frb()); - A.appendChild(this.usb()); - A.appendChild(this.yrb()); - A.appendChild(this.$rb()); - A.appendChild(this.Yrb()); - A.appendChild(this.Hrb()); - A.appendChild(this.zrb()); - return A; + c.prototype.usb = function () { + var B; + B = this.createElement("div", "float:right;opacity:0.8;background-color:white;display:flex;align-items:center;font-size:small;font-family:sans-serif"); + B.appendChild(this.Vrb()); + B.appendChild(this.Lrb()); + B.appendChild(this.Grb()); + B.appendChild(this.xsb()); + B.appendChild(this.zrb()); + B.appendChild(this.bsb()); + B.appendChild(this.Zrb()); + B.appendChild(this.Irb()); + B.appendChild(this.Arb()); + return B; }; - c.prototype.urb = function () { - var A, + c.prototype.vrb = function () { + var B, C, E, - F, + G, D, - G; - A = this; + F; + B = this; C = this.createElement("div", "float:right;opacity:0.8;background-color:white;font-size:small;font-family:sans-serif"); E = this.createElement("div", "padding:2px"); - F = this.createElement("select", this.hv(22, 160, 1, 2), ""); + G = this.createElement("select", this.pv(22, 160, 1, 2), ""); D = this.createElement("div", "height:500px;overflow-y:auto;display:none;border:1px #dadada solid"); C.appendChild(E); C.appendChild(D); - E.appendChild(F); - E.addEventListener("mousedown", function (I) { - I.preventDefault(); + E.appendChild(G); + E.addEventListener("mousedown", function (J) { + J.preventDefault(); }); - G = !1; + F = !1; E.addEventListener("click", function () { - G ? D.style.display = "none" : (D.innerHTML = "", ["all", "none"].concat(Object.keys(A.se.Fx).sort()).forEach(function (I) { - D.appendChild(A.vrb(I, E)); + F ? D.style.display = "none" : (D.innerHTML = "", ["all", "none"].concat(Object.keys(B.ue.Kx).sort()).forEach(function (J) { + D.appendChild(B.wrb(J, E)); }), D.style.display = "block"); - G = !G; + F = !F; }); return C; }; - c.prototype.vrb = function (A, C) { + c.prototype.wrb = function (B, C) { var E, - F, + G, D; E = this; - F = this.createElement("label", "display: block;margin:1px"); - F.htmlFor = A; + G = this.createElement("label", "display: block;margin:1px"); + G.htmlFor = B; D = this.createElement("input", "margin:1px"); D.type = "checkbox"; - D.id = A; - D.checked = this.se.Fx[A]; + D.id = B; + D.checked = this.ue.Kx[B]; D.addEventListener("click", function () { - "all" === A || "none" === A ? (Object.keys(E.se.Fx).forEach(function (G) { - E.se.Fx[G] = "all" === A; - }), C.click()) : E.se.Fx[A] = !E.se.Fx[A]; - E.VG(!0); + "all" === B || "none" === B ? (Object.keys(E.ue.Kx).forEach(function (F) { + E.ue.Kx[F] = "all" === B; + }), C.click()) : E.ue.Kx[B] = !E.ue.Kx[B]; + E.cH(!0); }); - F.appendChild(D); - F.insertAdjacentText("beforeend", 18 < A.length ? A.slice(0, 15) + "..." : A); - return F; + G.appendChild(D); + G.insertAdjacentText("beforeend", 18 < B.length ? B.slice(0, 15) + "..." : B); + return G; }; - c.prototype.Urb = function () { - var A, + c.prototype.Vrb = function () { + var B, C; - A = this; - C = this.createElement("select", this.hv(22, NaN, 1, 2), '')); - C.value = this.se.Yma.toString(); + B = this; + C = this.createElement("select", this.pv(22, NaN, 1, 2), '')); + C.value = this.ue.Sma.toString(); C.addEventListener("change", function (E) { - A.se.Yma = parseInt(E.target.value); - A.VG(!0); + B.ue.Sma = parseInt(E.target.value); + B.cH(!0); }, !1); return C; }; - c.prototype.Krb = function () { + c.prototype.Lrb = function () { var C, E; - function A(F) { - return C.Jwb.ol(function () { + function B(G) { + return C.Pwb.nl(function () { var D; - D = F.target.value; - C.se.filter = D ? new RegExp(D) : void 0; - C.VG(!0); + D = G.target.value; + C.ue.filter = D ? new RegExp(D) : void 0; + C.cH(!0); }); } C = this; - E = this.createElement("input", this.hv(14, 150, 1, 2)); - E.value = this.se.filter ? this.se.filter.source : ""; + E = this.createElement("input", this.pv(14, 150, 1, 2)); + E.value = this.ue.filter ? this.ue.filter.source : ""; E.title = "Filter (RegEx)"; E.placeholder = "Filter (RegEx)"; - E.addEventListener("keydown", A, !1); - E.addEventListener("change", A, !1); + E.addEventListener("keydown", B, !1); + E.addEventListener("change", B, !1); return E; }; - c.prototype.Frb = function () { - var A, + c.prototype.Grb = function () { + var B, C, E, - F; - A = this; - C = this.createElement("div", this.hv(NaN, NaN)); + G; + B = this; + C = this.createElement("div", this.pv(NaN, NaN)); E = this.createElement("input", "vertical-align: middle;margin: 0px 2px 0px 0px;"); E.id = "details"; E.type = "checkbox"; E.title = "Details"; - E.checked = this.se.T1; + E.checked = this.ue.V1; E.addEventListener("change", function (D) { - A.se.T1 = D.target.checked; - A.VG(!0); + B.ue.V1 = D.target.checked; + B.cH(!0); }, !1); - F = this.createElement("label", "vertical-align: middle;margin: 0px 0px 0px 2px;"); - F.setAttribute("for", "details"); - F.innerHTML = "View details"; + G = this.createElement("label", "vertical-align: middle;margin: 0px 0px 0px 2px;"); + G.setAttribute("for", "details"); + G.innerHTML = "View details"; C.appendChild(E); - C.appendChild(F); + C.appendChild(G); return C; }; - c.prototype.usb = function () { - var A, + c.prototype.xsb = function () { + var B, C, E; - A = this; - C = this.createElement("button", this.hv()); - E = new f("0 0 24 24").AN().ETb().end().BN("M20,12.3279071 L21.9187618,10.9573629 L23.0812382,12.5848299 L19,15.5 L14.9187618,12.5848299 L16.0812382,10.9573629 L18,12.3279071 L18,12 C18,8.13 14.87,5 11,5 C7.13,5 4,8.13 4,12 C4,15.87 7.13,19 11,19 C12.93,19 14.68,18.21 15.94,16.94 L17.36,18.36 C15.73,19.99 13.49,21 11,21 C6.03,21 2,16.97 2,12 C2,7.03 6.03,3 11,3 C15.97,3 20,7.03 20,12 L20,12.3279071 Z", f.eF, "nonzero").end().end().ek(); + B = this; + C = this.createElement("button", this.pv()); + E = new f("0 0 24 24").BN().GTb().end().CN("M20,12.3279071 L21.9187618,10.9573629 L23.0812382,12.5848299 L19,15.5 L14.9187618,12.5848299 L16.0812382,10.9573629 L18,12.3279071 L18,12 C18,8.13 14.87,5 11,5 C7.13,5 4,8.13 4,12 C4,15.87 7.13,19 11,19 C12.93,19 14.68,18.21 15.94,16.94 L17.36,18.36 C15.73,19.99 13.49,21 11,21 C6.03,21 2,16.97 2,12 C2,7.03 6.03,3 11,3 C15.97,3 20,7.03 20,12 L20,12.3279071 Z", f.hF, "nonzero").end().end().wj(); C.appendChild(E); C.addEventListener("click", function () { - A.update(); + B.update(); }, !1); C.setAttribute("title", "Refresh the log console"); return C; }; - c.prototype.yrb = function () { - var A, + c.prototype.zrb = function () { + var B, C; - A = this.createElement("button", this.hv()); - C = new f("0 0 24 24").AN().EW(0, 0, 24, 24, f.background).end().BN("M19,4 L15.5,4 L14.5,3 L9.5,3 L8.5,4 L5,4 L5,6 L19,6 L19,4 Z M6,19 C6,20.1 6.9,21 8,21 L16,21 C17.1,21 18,20.1 18,19 L18,7 L6,7 L6,19 Z", f.eF).end().end().ek(); - A.appendChild(C); - A.addEventListener("click", this.clear, !1); - A.setAttribute("title", "Remove all log messages"); - return A; + B = this.createElement("button", this.pv()); + C = new f("0 0 24 24").BN().DW(0, 0, 24, 24, f.background).end().CN("M19,4 L15.5,4 L14.5,3 L9.5,3 L8.5,4 L5,4 L5,6 L19,6 L19,4 Z M6,19 C6,20.1 6.9,21 8,21 L16,21 C17.1,21 18,20.1 18,19 L18,7 L6,7 L6,19 Z", f.hF).end().end().wj(); + B.appendChild(C); + B.addEventListener("click", this.clear, !1); + B.setAttribute("title", "Remove all log messages"); + return B; }; - c.prototype.$rb = function () { - var A; - this.iC = this.createElement("button", this.hv()); - this.iC.style.display = this.se.FL ? "none" : "inline-block"; - A = new f("0 0 24 24").AN().EW(0, 0, 24, 24, f.background).end().BN("M3,3 L21,3 L21,21 L3,21 L3,3 Z M5,5 L5,19 L19,19 L19,5 L5,5 Z M6,6 L18,6 L18,12 L6,12 L6,6 Z", f.eF, "nonzero").end().end().ek(); - this.iC.addEventListener("click", this.SYa, !1); - this.iC.appendChild(A); - this.iC.setAttribute("title", "Shrink the log console"); - return this.iC; - }; - c.prototype.Yrb = function () { - var A; - this.eC = this.createElement("button", this.hv()); - this.eC.style.display = this.se.FL ? "inline-block" : "none"; - A = new f("0 0 24 24").AN().EW(4, 4, 16, 16, f.background).end().BN("M5,5 L5,19 L19,19 L19,5 L5,5 Z M3,3 L21,3 L21,21 L3,21 L3,3 Z", f.eF, "nonzero").end().end().ek(); - this.eC.addEventListener("click", this.SYa, !1); - this.eC.appendChild(A); - this.eC.setAttribute("title", "Expand the log console"); - return this.eC; - }; - c.prototype.Hrb = function () { - var A, + c.prototype.bsb = function () { + var B; + this.kC = this.createElement("button", this.pv()); + this.kC.style.display = this.ue.HL ? "none" : "inline-block"; + B = new f("0 0 24 24").BN().DW(0, 0, 24, 24, f.background).end().CN("M3,3 L21,3 L21,21 L3,21 L3,3 Z M5,5 L5,19 L19,19 L19,5 L5,5 Z M6,6 L18,6 L18,12 L6,12 L6,6 Z", f.hF, "nonzero").end().end().wj(); + this.kC.addEventListener("click", this.PYa, !1); + this.kC.appendChild(B); + this.kC.setAttribute("title", "Shrink the log console"); + return this.kC; + }; + c.prototype.Zrb = function () { + var B; + this.gC = this.createElement("button", this.pv()); + this.gC.style.display = this.ue.HL ? "inline-block" : "none"; + B = new f("0 0 24 24").BN().DW(4, 4, 16, 16, f.background).end().CN("M5,5 L5,19 L19,19 L19,5 L5,5 Z M3,3 L21,3 L21,21 L3,21 L3,3 Z", f.hF, "nonzero").end().end().wj(); + this.gC.addEventListener("click", this.PYa, !1); + this.gC.appendChild(B); + this.gC.setAttribute("title", "Expand the log console"); + return this.gC; + }; + c.prototype.Irb = function () { + var B, C; - A = this.createElement("button", this.hv()); - C = new f("0 0 26 26").AN().EW(0, 0, 24, 24, f.background).end().BN("M20,20 L20,22 L4,22 L4,20 L20,20 Z M7.8,12.85 L12,16 L16.2,12.85 L17.4,14.45 L12,18.5 L6.6,14.45 L7.8,12.85 Z M7.8,7.85 L12,11 L16.2,7.85 L17.4,9.45 L12,13.5 L6.6,9.45 L7.8,7.85 Z M7.8,2.85 L12,6 L16.2,2.85 L17.4,4.45 L12,8.5 L6.6,4.45 L7.8,2.85 Z", f.eF, "nonzero").end().end().ek(); - A.appendChild(C); - A.addEventListener("click", this.rub, !1); - A.setAttribute("title", "Download all log messages"); - return A; + B = this.createElement("button", this.pv()); + C = new f("0 0 26 26").BN().DW(0, 0, 24, 24, f.background).end().CN("M20,20 L20,22 L4,22 L4,20 L20,20 Z M7.8,12.85 L12,16 L16.2,12.85 L17.4,14.45 L12,18.5 L6.6,14.45 L7.8,12.85 Z M7.8,7.85 L12,11 L16.2,7.85 L17.4,9.45 L12,13.5 L6.6,9.45 L7.8,7.85 Z M7.8,2.85 L12,6 L16.2,2.85 L17.4,4.45 L12,8.5 L6.6,4.45 L7.8,2.85 Z", f.hF, "nonzero").end().end().wj(); + B.appendChild(C); + B.addEventListener("click", this.wub, !1); + B.setAttribute("title", "Download all log messages"); + return B; }; - c.prototype.zrb = function () { - var A, + c.prototype.Arb = function () { + var B, C, E; - A = this; - C = this.createElement("button", this.hv()); - E = new f("0 0 24 24").AN().EW(0, 0, 24, 24, f.background).end().BN("M12,10.5857864 L19.2928932,3.29289322 L20.7071068,4.70710678 L13.4142136,12 L20.7071068,19.2928932 L19.2928932,20.7071068 L12,13.4142136 L4.70710678,20.7071068 L3.29289322,19.2928932 L10.5857864,12 L3.29289322,4.70710678 L4.70710678,3.29289322 L12,10.5857864 Z", f.eF, "nonzero").end().end().ek(); + B = this; + C = this.createElement("button", this.pv()); + E = new f("0 0 24 24").BN().DW(0, 0, 24, 24, f.background).end().CN("M12,10.5857864 L19.2928932,3.29289322 L20.7071068,4.70710678 L13.4142136,12 L20.7071068,19.2928932 L19.2928932,20.7071068 L12,13.4142136 L4.70710678,20.7071068 L3.29289322,19.2928932 L10.5857864,12 L3.29289322,4.70710678 L4.70710678,3.29289322 L12,10.5857864 Z", f.hF, "nonzero").end().end().wj(); C.appendChild(E); C.addEventListener("click", function () { - A.toggle(); + B.toggle(); }, !1); C.setAttribute("title", "Close the log console"); return C; }; - c.prototype.VG = function (A) { + c.prototype.cH = function (B) { var C; - A = void 0 === A ? !1 : A; + B = void 0 === B ? !1 : B; C = void 0 === C ? !1 : C; !1; - A && this.update(C); + B && this.update(C); }; - c.prototype.update = function (A) { + c.prototype.update = function (B) { var C; C = this; - A = void 0 === A ? !1 : A; - this.element && this.config.XV && Promise.resolve(this.cnb() + this.Azb().join("\r\n")).then(function (E) { - C.element && C.lo && (C.lo.value = E, C.element.style.cssText = C.se.FL ? "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;height:30%;" : "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;bottom:10px;", A && C.vc.Oj(r.hb, function () { - C.lo.scrollTop = C.lo.scrollHeight; + B = void 0 === B ? !1 : B; + this.element && this.config.WV && Promise.resolve(this.dnb() + this.Ezb().join("\r\n")).then(function (E) { + C.element && C.mo && (C.mo.value = E, C.element.style.cssText = C.ue.HL ? "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;height:30%;" : "position:fixed;left:10px;top:30px;right:10px;z-index:10000;color:#000;bottom:10px;", B && C.xc.Nj(q.hb, function () { + C.mo.scrollTop = C.mo.scrollHeight; })); }).catch(function (E) { console.error("Unable to update the log console", E); }); }; - c.prototype.Azb = function () { - var A, + c.prototype.Ezb = function () { + var B, C; - A = this; + B = this; C = []; this.entries.forEach(function (E) { - (E.level || E.level) <= A.se.Yma && A.se.Fx[E.Gn] && (E = E.j8(!A.se.T1, !A.se.T1), A.se.filter && !A.se.filter.test(E) || C.push(E)); + (E.level || E.level) <= B.ue.Sma && B.ue.Kx[E.Gn] && (E = E.f8(!B.ue.V1, !B.ue.V1), B.ue.filter && !B.ue.filter.test(E) || C.push(E)); }); return C; }; - c.prototype.cnb = function () { - var A; - A = this.qB(); - return "Version: 6.0031.809.911 \n" + ((A ? "Esn: " + A.gi : "") + "\nJsSid: ") + (this.Lf.id + ", Epoch: " + this.wa.Ue.ea(r.nn) + ", Start: " + this.Lf.TF.ea(r.nn) + ", TimeZone: " + new Date().getTimezoneOffset() + "\nHref: ") + (location.href + "\nUserAgent: ") + (navigator.userAgent + "\n--------------------------------------------------------------------------------\n"); + c.prototype.dnb = function () { + var B; + B = this.rB(); + return "Version: 6.0032.282.911 \n" + ((B ? "Esn: " + B.gi : "") + "\nJsSid: ") + (this.Mf.id + ", Epoch: " + this.xa.We.ea(q.ln) + ", Start: " + this.Mf.ZF.ea(q.ln) + ", TimeZone: " + new Date().getTimezoneOffset() + "\nHref: ") + (location.href + "\nUserAgent: ") + (navigator.userAgent + "\n--------------------------------------------------------------------------------\n"); }; - c.prototype.createElement = function (A, C, E, F) { - return this.Rd.createElement(A, C, E, F); + c.prototype.createElement = function (B, C, E, G) { + return this.Pd.createElement(B, C, E, G); }; - c.prototype.hv = function (A, C, E, F) { - A = void 0 === A ? 26 : A; + c.prototype.pv = function (B, C, E, G) { + B = void 0 === B ? 26 : B; C = void 0 === C ? 26 : C; - return "display:inline-block;border:" + (void 0 === E ? 0 : E) + "px solid " + f.eF + ";padding:3px;" + (isNaN(A) ? "" : "height:" + A + "px") + ";" + (isNaN(C) ? "" : "width:" + C + "px") + ";margin:0px 3px;background-color:transparent;" + (F ? "border-radius:" + F + "px;" : ""); + return "display:inline-block;border:" + (void 0 === E ? 0 : E) + "px solid " + f.hF + ";padding:3px;" + (isNaN(B) ? "" : "height:" + B + "px") + ";" + (isNaN(C) ? "" : "width:" + C + "px") + ";margin:0px 3px;background-color:transparent;" + (G ? "border-radius:" + G + "px;" : ""); }; a = c; - a.RTb = "logDxDisplay"; - a = q.__decorate([l.R(), q.__param(0, l.l(n.wi)), q.__param(1, l.l(p.zd)), q.__param(2, l.l(d.Hf)), q.__param(3, l.l(m.lj)), q.__param(4, l.l(w.eI)), q.__param(5, l.l(x.IAa)), q.__param(6, l.l(u.rw)), q.__param(7, l.l(g.yI)), q.__param(8, l.l(h.Zwa)), q.__param(9, l.l(y.Rz))], a); - b.JAa = a; - }, function (q, b, a) { + a.TTb = "logDxDisplay"; + a = r.__decorate([l.R(), r.__param(0, l.l(n.wi)), r.__param(1, l.l(p.zd)), r.__param(2, l.l(d.If)), r.__param(3, l.l(m.ij)), r.__param(4, l.l(w.mI)), r.__param(5, l.l(x.GAa)), r.__param(6, l.l(t.yw)), r.__param(7, l.l(g.DI)), r.__param(8, l.l(h.Wwa)), r.__param(9, l.l(y.Tz))], a); + b.HAa = a; + }, function (r, b, a) { var f, k, l, @@ -120212,144 +120206,144 @@ a000.D9b = function () { h, m, n; - function c(r, p, u) { - var t; - t = h.OP.call(this, r, p, "network") || this; - t.gha = u; - t.U1 = g.cxa.Ibb; - t.PHb = 30; - t.kLb = function (w) { - t.U1 = w.target.value; - t.refresh(); + function c(q, p, t) { + var u; + u = h.PP.call(this, q, p, "network") || this; + u.aha = t; + u.W1 = g.$wa.Mbb; + u.SHb = 30; + u.mLb = function (w) { + u.W1 = w.target.value; + u.refresh(); }; - t.CKb = function () { - t.data = {}; - t.refresh(); + u.EKb = function () { + u.data = {}; + u.refresh(); }; - t.n2a = function (w) { + u.m2a = function (w) { var v, x; v = Number(w.target.id); w = w.target.getAttribute("data-type"); - v = t.data[t.U1][v].value; + v = u.data[u.W1][v].value; x = JSON.stringify(v, null, 4); - "copy" === w ? n.XX.Jga(x) : "log" === w && console.log(v); + "copy" === w ? n.WX.Dga(x) : "log" === w && console.log(v); }; - return t; + return u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$bb = void 0; - q = a(1); + b.dcb = void 0; + r = a(1); f = a(0); k = a(28); l = a(26); d = a(93); g = a(180); - h = a(468); - m = a(129); - n = a(266); - ka(c, h.OP); + h = a(473); + m = a(128); + n = a(267); + ja(c, h.PP); c.prototype.mb = function () { - var r; - r = this; - if (this.Km) + var q; + q = this; + if (this.Im) return Promise.resolve(); pb.addEventListener("keydown", function (p) { - p.ctrlKey && p.altKey && p.shiftKey && p.keyCode == m.du.Obb && r.toggle(); + p.ctrlKey && p.altKey && p.shiftKey && p.keyCode == m.iu.Sbb && q.toggle(); }); this.data = {}; - this.gha.addListener(g.W9.fdb, function (p) { - var u; - r.data[p.type] || (r.data[p.type] = []); - u = r.data[p.type]; - u.length === r.PHb && u.shift(); - u.push(p); - p.type === r.U1 && r.refresh(); + this.aha.addListener(g.R9.jdb, function (p) { + var t; + q.data[p.type] || (q.data[p.type] = []); + t = q.data[p.type]; + t.length === q.SHb && t.shift(); + t.push(p); + p.type === q.W1 && q.refresh(); }); - this.Km = !0; + this.Im = !0; return Promise.resolve(); }; c.prototype.pk = function () { return '#NameValue'); }; - c.prototype.nka = function (r, p, u) { - var t; - t = r.toString(); + c.prototype.jka = function (q, p, t) { + var u; + u = q.toString(); p = '"' + p + '"'; - u = this.sNa.ek(u); - return '\n \n ' + t + '\n ' + p + '\n
        ' + u + '
      \n \n
      \n \n \n
      \n \n \n '; + t = this.sNa.wj(t); + return '\n \n ' + u + '\n ' + p + '\n
        ' + t + '
      \n \n
      \n \n \n
      \n \n \n '; }; - c.prototype.zka = function () { - for (var r = '' + this.pk(), p = this.data[this.U1] || [], u = 0; u < p.length; ++u) { - r += this.nka(u, p[u].name, p[u].value); + c.prototype.vka = function () { + for (var q = '
      ' + this.pk(), p = this.data[this.W1] || [], t = 0; t < p.length; ++t) { + q += this.jka(t, p[t].name, p[t].value); } - return r + "
      "; + return q + ""; }; c.prototype.NSa = function () { - var r; - r = this.Rd.createElement("button", h.KH, "Clear", { + var q; + q = this.Pd.createElement("button", h.SH, "Clear", { "class": this.prefix + "-display-btn" }); - r.onclick = this.CKb; - return [r, this.tsb(), this.jsb()]; + q.onclick = this.EKb; + return [q, this.wsb(), this.ksb()]; }; - c.prototype.tsb = function () { - var r; - r = this.Rd.createElement("select", h.KH, Object.values(g.cxa).reduce(function (p, u) { - return p + ('"); + c.prototype.wsb = function () { + var q; + q = this.Pd.createElement("select", h.SH, Object.values(g.$wa).reduce(function (p, t) { + return p + ('"); }, ""), { "class": this.prefix + "-display-select" }); - r.onchange = this.kLb; - return r; + q.onchange = this.mLb; + return q; }; - c.prototype.jsb = function () { - var r, + c.prototype.ksb = function () { + var q, p, - u, - t; - r = this; - p = this.Rd.createElement("input", "margin:3px;", void 0, { + t, + u; + q = this; + p = this.Pd.createElement("input", "margin:3px;", void 0, { id: "preventRefresh", type: "checkbox", title: "PreventRefresh" }); - p.checked = this.CV; + p.checked = this.BV; p.onchange = function () { - return r.vVb(); + return q.xVb(); }; - u = this.Rd.createElement("label", void 0, "Prevent Refresh", { + t = this.Pd.createElement("label", void 0, "Prevent Refresh", { "for": "preventRefresh" }); - t = this.Rd.createElement("div", void 0, void 0, { + u = this.Pd.createElement("div", void 0, void 0, { "class": this.prefix + "-display-div" }); - t.appendChild(p); - t.appendChild(u); - return t; + u.appendChild(p); + u.appendChild(t); + return u; }; c.prototype.u1a = function () { - return Promise.resolve(this.zka()); + return Promise.resolve(this.vka()); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.Hf)), q.__param(1, f.l(l.Gf)), q.__param(2, f.l(d.lY))], a); - b.$bb = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.If)), r.__param(1, f.l(l.Hf)), r.__param(2, f.l(d.kY))], a); + b.dcb = a; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); b.crypto = void 0; - q = a(0); - c = a(444); + r = a(0); + c = a(448); f = a(11); - b.crypto = new q.ad(function (k) { - k(c.Kwa).si(f.UY); + b.crypto = new r.$c(function (k) { + k(c.Hwa).si(f.TY); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -120359,30 +120353,30 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperty(b, "__esModule", { value: !0 }); - b.te = void 0; - q = a(0); - c = a(1056); - f = a(1057); - k = a(1058); + b.ve = void 0; + r = a(0); + c = a(1059); + f = a(1060); + k = a(1061); l = a(135); - d = a(305); - g = a(450); - h = a(1059); - m = a(1060); - n = a(471); - r = a(1061); - b.te = new q.ad(function (p) { - p(l.CZ).to(c.MGa).$(); - p(d.bba).to(k.oFa).$(); - p(g.HHa).to(f.GHa).$(); - p(h.lcb).to(m.HCa).$(); - p(n.YHa).to(r.XHa).$(); - }); - }, function (q, b, a) { + d = a(307); + g = a(454); + h = a(1062); + m = a(1063); + n = a(476); + q = a(1064); + b.ve = new r.$c(function (p) { + p(l.DZ).to(c.IGa).aa(); + p(d.Waa).to(k.lFa).aa(); + p(g.DHa).to(f.CHa).aa(); + p(h.pcb).to(m.FCa).aa(); + p(n.WHa).to(q.VHa).aa(); + }); + }, function (r, b, a) { var f, k, l, @@ -120392,13 +120386,13 @@ a000.D9b = function () { function c(m, n) { this.is = m; this.json = n; - k.Vn(this, "json"); + k.Xn(this, "json"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.MGa = void 0; - q = a(1); + b.IGa = void 0; + r = a(1); k = a(56); l = a(36); d = a(0); @@ -120407,230 +120401,230 @@ a000.D9b = function () { c.prototype.c1a = function (m) { var n; n = this; - return f.read(m, function (r) { - return parseInt(r); - }, function (r) { - return n.is.Fea(r); + return f.read(m, function (q) { + return parseInt(q); + }, function (q) { + return n.is.yea(q); }); }; - c.prototype.mqa = function (m) { + c.prototype.gqa = function (m) { var n; n = this; - return f.read(m, function (r) { - return "true" == r ? !0 : "false" == r ? !1 : void 0; - }, function (r) { - return n.is.aR(r); + return f.read(m, function (q) { + return "true" == q ? !0 : "false" == q ? !1 : void 0; + }, function (q) { + return n.is.cR(q); }); }; - c.prototype.Lp = function (m) { + c.prototype.Op = function (m) { var n; n = this; - return f.read(m, function (r) { - return parseInt(r); - }, function (r) { - return n.is.mR(r); + return f.read(m, function (q) { + return parseInt(q); + }, function (q) { + return n.is.oR(q); }); }; - c.prototype.FOb = function (m) { + c.prototype.KOb = function (m) { var n; n = this; - return f.read(m, function (r) { - return parseFloat(r); - }, function (r) { - return n.is.$h(r); + return f.read(m, function (q) { + return parseFloat(q); + }, function (q) { + return n.is.$h(q); }); }; c.prototype.b1a = function (m, n) { - return f.read(m, function (r) { - return f.Rwb(r, n); - }, function (r) { - return void 0 !== r; + return f.read(m, function (q) { + return f.Xwb(q, n); + }, function (q) { + return void 0 !== q; }); }; - c.prototype.tqa = function (m, n) { - return f.read(m, function (r) { - return r; - }, function (r) { - return n ? n.test(r) : !0; + c.prototype.nqa = function (m, n) { + return f.read(m, function (q) { + return q; + }, function (q) { + return n ? n.test(q) : !0; }); }; c.prototype.d1a = function (m) { var n, - r; + q; n = this; - r = void 0 === r ? function () { + q = void 0 === q ? function () { return !0; } - : r; + : q; try { return f.read(m, function (p) { return n.json.parse(decodeURIComponent(p)); }, function (p) { - return n.is.LJ(p) && r(p); + return n.is.OJ(p) && q(p); }); } catch (p) { - return new h.zo(); + return new h.Ao(); } }; - c.prototype.ph = function (m, n, r) { + c.prototype.oh = function (m, n, q) { var p, - u; + t; p = this; - r = void 0 === r ? 1 : r; + q = void 0 === q ? 1 : q; m = m.trim(); - u = n instanceof Function ? n : this.bsb(n, r); + t = n instanceof Function ? n : this.csb(n, q); n = m.indexOf("["); - r = m.lastIndexOf("]"); - if (0 != n || r != m.length - 1) - return new h.zo(); - m = m.substring(n + 1, r); + q = m.lastIndexOf("]"); + if (0 != n || q != m.length - 1) + return new h.Ao(); + m = m.substring(n + 1, q); try { - return f.VLb(m).map(function (t) { - t = u(p, f.DXb(t)); - if (t instanceof h.zo) - throw t; - return t; + return f.YLb(m).map(function (u) { + u = t(p, f.FXb(u)); + if (u instanceof h.Ao) + throw u; + return u; }); - } catch (t) { - return t instanceof h.zo ? t : new h.zo(); + } catch (u) { + return u instanceof h.Ao ? u : new h.Ao(); } }; - c.prototype.bsb = function (m, n) { - var r; - r = this; + c.prototype.csb = function (m, n) { + var q; + q = this; n = void 0 === n ? 1 : n; - return function (p, u) { - p = f.HAb(m); - return 1 < n ? r.ph(u, m, n - 1) : p(r, u); + return function (p, t) { + p = f.KAb(m); + return 1 < n ? q.oh(t, m, n - 1) : p(q, t); }; }; - c.Rwb = function (m, n) { + c.Xwb = function (m, n) { var p; - for (var r in n) { - p = parseInt(r); + for (var q in n) { + p = parseInt(q); if (n[p] == m) return p; } }; - c.read = function (m, n, r) { + c.read = function (m, n, q) { m = n(m); - return void 0 !== m && r(m) ? m : new h.zo(); + return void 0 !== m && q(m) ? m : new h.Ao(); }; - c.HAb = function (m) { + c.KAb = function (m) { switch (m) { case "int": - return function (n, r) { - return n.c1a(r); + return function (n, q) { + return n.c1a(q); }; case "bool": - return function (n, r) { - return n.mqa(r); + return function (n, q) { + return n.gqa(q); }; case "uint": - return function (n, r) { - return n.Lp(r); + return function (n, q) { + return n.Op(q); }; case "float": - return function (n, r) { - return n.FOb(r); + return function (n, q) { + return n.KOb(q); }; case "string": - return function (n, r) { - return n.tqa(r); + return function (n, q) { + return n.nqa(q); }; case "object": - return function (n, r) { - return n.d1a(r); + return function (n, q) { + return n.d1a(q); }; } }; - c.VLb = function (m) { + c.YLb = function (m) { var x; - for (var n = [["[", "]"]], r = [], p = 0, u = 0, t = 0, w = [], v = {}; u < m.length; (v = { - fO: v.fO - }, ++u)) { - v.fO = m.charAt(u); + for (var n = [["[", "]"]], q = [], p = 0, t = 0, u = 0, w = [], v = {}; t < m.length; (v = { + eO: v.eO + }, ++t)) { + v.eO = m.charAt(t); x = void 0; - "," == v.fO && 0 == t ? (r.push(m.substr(p, u - p)), p = u + 1) : (x = n.find((function (y) { + "," == v.eO && 0 == u ? (q.push(m.substr(p, t - p)), p = t + 1) : (x = n.find((function (y) { return function (z) { - return z[0] == y.fO; + return z[0] == y.eO; }; - })(v))) ? (++t, w.push(x)) : 0 < w.length && w[w.length - 1][1] == v.fO && (--t, w.pop()); + })(v))) ? (++u, w.push(x)) : 0 < w.length && w[w.length - 1][1] == v.eO && (--u, w.pop()); } - if (p != u) - r.push(m.substr(p, u - p)); - else if (p == u && 0 < p) - throw new h.zo(); - return r; + if (p != t) + q.push(m.substr(p, t - p)); + else if (p == t && 0 < p) + throw new h.Ao(); + return q; }; - c.DXb = function (m) { + c.FXb = function (m) { var n; n = m.charAt(0); if ('"' == n || "'" == n) { if (m.charAt(m.length - 1) != n) - throw new h.zo(); + throw new h.Ao(); return m.substring(1, m.length - 1); } return m; }; a = f = c; - a = f = q.__decorate([d.R(), q.__param(0, d.l(g.Gf)), q.__param(1, d.l(l.mD))], a); - b.MGa = a; - }, function (q, b, a) { + a = f = r.__decorate([d.R(), r.__param(0, d.l(g.Hf)), r.__param(1, d.l(l.oD))], a); + b.IGa = a; + }, function (r, b, a) { function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.GHa = void 0; - q = a(1); + b.CHa = void 0; + r = a(1); a = a(0); - c.prototype.oSa = function (f) { + c.prototype.nSa = function (f) { var k; k = this; return f ? (f ^ 16 * Math.random() >> f / 4).toString(16) : ("10000000-1000-4000-8000-100000000000").replace(/[018]/g, function (l) { - return k.oSa(l); + return k.nSa(l); }); }; - a = q.__decorate([a.R()], c); - b.GHa = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.CHa = a; + }, function (r, b, a) { var f, k, l, d; function c(g) { this.location = g; - k.Vn(this, "location"); + k.Xn(this, "location"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.oFa = void 0; - q = a(1); + b.lFa = void 0; + r = a(1); k = a(56); l = a(36); a = a(0); - c.oV = function (g) { + c.nV = function (g) { var h, n, - r; + q; h = {}; if (0 < g.length) { g = g.split("&"); for (var m = 0; m < g.length; m++) { n = g[m].trim(); - r = n.indexOf("="); - 0 <= r ? h[decodeURIComponent(n.substr(0, r).replace(f.bDa, "%20"))] = decodeURIComponent(n.substr(r + 1).replace(f.bDa, "%20")) : h[n.toLowerCase()] = ""; + q = n.indexOf("="); + 0 <= q ? h[decodeURIComponent(n.substr(0, q).replace(f.YCa, "%20"))] = decodeURIComponent(n.substr(q + 1).replace(f.YCa, "%20")) : h[n.toLowerCase()] = ""; } } return h; }; Xa.Object.defineProperties(c.prototype, { - wOb: { + BOb: { configurable: !0, enumerable: !0, get: function () { - return this.data ? this.data : this.data = f.oV(this.T0a); + return this.data ? this.data : this.data = f.nV(this.T0a); } }, T0a: { @@ -120638,62 +120632,62 @@ a000.D9b = function () { enumerable: !0, get: function () { var g; - if (void 0 !== this.JV) - return this.JV; - this.JV = this.location.search.substr(1); - g = this.JV.indexOf("#"); - 0 <= g && (this.JV = this.T0a.substr(0, g)); - return this.JV; + if (void 0 !== this.IV) + return this.IV; + this.IV = this.location.search.substr(1); + g = this.IV.indexOf("#"); + 0 <= g && (this.IV = this.T0a.substr(0, g)); + return this.IV; } } }); d = f = c; - d.bDa = /[+]/g; - d = f = q.__decorate([a.R(), q.__param(0, a.l(l.DAa))], d); - b.oFa = d; - }, function (q, b) { + d.YCa = /[+]/g; + d = f = r.__decorate([a.R(), r.__param(0, a.l(l.BAa))], d); + b.lFa = d; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lcb = "ObjectComparerSymbol"; - }, function (q, b, a) { + b.pcb = "ObjectComparerSymbol"; + }, function (r, b, a) { var f, k; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.HCa = void 0; - q = a(1); + b.FCa = void 0; + r = a(1); f = a(0); k = a(190); c.prototype.compare = function (l, d) { var g; g = []; - this.rga(l, d, "", g); + this.lga(l, d, "", g); return g; }; - c.prototype.rga = function (l, d, g, h) { + c.prototype.lga = function (l, d, g, h) { var m; m = this; - if (k.lD.tx(l)) - k.lD.tx(d) && l.length === d.length ? l.forEach(function (p, u) { - m.rga(l[u], d[u], g + "[" + u + "]", h); + if (k.nD.yx(l)) + k.nD.yx(d) && l.length === d.length ? l.forEach(function (p, t) { + m.lga(l[t], d[t], g + "[" + t + "]", h); }) : h.push({ a: l, b: d, path: g }); - else if (k.lD.LJ(l) && null != l) { - if (k.lD.LJ(d) && null != d) { + else if (k.nD.OJ(l) && null != l) { + if (k.nD.OJ(d) && null != d) { for (var n in l) { - this.rga(l[n], d[n], g + "." + n, h); + this.lga(l[n], d[n], g + "." + n, h); } - for (var r in d) { - (r in l) || void 0 === d[r] || h.push({ + for (var q in d) { + (q in l) || void 0 === d[q] || h.push({ a: void 0, - b: d[r], - path: g + "." + r + b: d[q], + path: g + "." + q }); } } else @@ -120709,9 +120703,9 @@ a000.D9b = function () { path: g }); }; - a = q.__decorate([f.R()], c); - b.HCa = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.FCa = a; + }, function (r, b, a) { var f, k, l, @@ -120721,35 +120715,35 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.XHa = void 0; - q = a(1); + b.VHa = void 0; + r = a(1); f = a(0); k = a(11); l = a(34); - d = a(268); + d = a(269); g = a(7); - c.prototype.eBb = function () { + c.prototype.gBb = function () { var h; h = pb.devicePixelRatio || 1; return { - width: this.uda.JZb || k.ju.width * h, - height: this.uda.IZb || k.ju.height * h + width: this.oda.KZb || k.qu.width * h, + height: this.oda.JZb || k.qu.height * h }; }; Xa.Object.defineProperties(c.prototype, { - uda: { + oda: { configurable: !0, enumerable: !0, get: function () { - return g.ha.get(l.kA); + return g.ha.get(l.lA); } } }); a = c; - q.__decorate([d.jU], a.prototype, "uda", null); - a = q.__decorate([f.R()], a); - b.XHa = a; - }, function (q, b, a) { + r.__decorate([d.iU], a.prototype, "oda", null); + a = r.__decorate([f.R()], a); + b.VHa = a; + }, function (r, b, a) { var c, f, k, @@ -120759,183 +120753,183 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; Object.defineProperty(b, "__esModule", { value: !0 }); - b.pd = void 0; - q = a(0); - c = a(472); - f = a(1063); + b.qd = void 0; + r = a(0); + c = a(477); + f = a(1066); k = a(116); - l = a(269); - d = a(1064); - g = a(1065); - h = a(1067); - m = a(1068); - n = a(1069); - r = a(473); - p = a(475); - u = a(117); - t = a(271); - w = a(1070); - v = a(270); - x = a(1071); - b.pd = new q.ad(function (y) { - y(c.fEa).to(f.eEa).$(); - y(l.Yaa).to(d.fFa).$(); - y(k.SD).to(g.PHa).$(); - y(r.eFa).to(n.yBa).$(); - y(r.dFa).to(m.yAa).$(); - y(r.cFa).to(h.sAa).$(); - y(t.bva).sVb(function () { + l = a(270); + d = a(1067); + g = a(1068); + h = a(1070); + m = a(1071); + n = a(1072); + q = a(478); + p = a(479); + t = a(129); + u = a(272); + w = a(1073); + v = a(271); + x = a(1074); + b.qd = new r.$c(function (y) { + y(c.dEa).to(f.cEa).aa(); + y(l.Saa).to(d.cFa).aa(); + y(k.VD).to(g.LHa).aa(); + y(q.bFa).to(n.wBa).aa(); + y(q.aFa).to(m.wAa).aa(); + y(q.$Ea).to(h.qAa).aa(); + y(u.Zua).uVb(function () { var z; - return null === (z = u.Dl.aj) || void 0 === z ? void 0 : z.xt; + return null === (z = t.sm.Zi) || void 0 === z ? void 0 : z.Bt; }); - y(t.ava).to(w.$ua).$(); - y(p.Waa).to(p.SEa); - y(v.H9).to(x.fwa).$(); + y(u.Yua).to(w.Xua).aa(); + y(p.Qaa).to(p.PEa); + y(v.C9).to(x.cwa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; function c(d, g) { this.bb = g; - this.ya = d.Cb("PlayPredictionDeserializer"); + this.za = d.Db("PlayPredictionDeserializer"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.eEa = void 0; - q = a(1); + b.cEa = void 0; + r = a(1); f = a(0); k = a(8); a = a(26); - c.prototype.Ktb = function (d) { + c.prototype.Ntb = function (d) { var g; g = this; try { return { direction: d.direction, - C5b: d.layoutHasChanged, - m7b: d.rowInteractionIndex, - Va: d.lolomos.map(function (h) { - return g.Ftb(h); + M5b: d.layoutHasChanged, + y7b: d.rowInteractionIndex, + Wa: d.lolomos.map(function (h) { + return g.Itb(h); }) }; } catch (h) { - this.ya.error("Failed to deserialize update Payload: ", { + this.za.error("Failed to deserialize update Payload: ", { payload: JSON.stringify(d) }); } }; - c.prototype.Ftb = function (d) { + c.prototype.Itb = function (d) { var g; g = this; return { context: d.context, list: d.list.map(function (h) { - return g.Etb(h); + return g.Htb(h); }), requestId: d.requestId, rowIndex: d.rowIndex, - n7b: d.rowSegment + z7b: d.rowSegment }; }; - c.prototype.Etb = function (d) { + c.prototype.Htb = function (d) { var g, h; g = { - od: d.pts, + pd: d.pts, property: d.property, - da: d.viewableId, + $: d.viewableId, index: d.index }; h = d.preplay; - this.bb.eg(h) && (g.G6 = this.Jtb(h)); + this.bb.eg(h) && (g.D6 = this.Mtb(h)); d = d.params; - this.bb.eg(d) && (g.Fb = this.WPa(d)); + this.bb.eg(d) && (g.Hb = this.UPa(d)); return g; }; - c.prototype.Jtb = function (d) { + c.prototype.Mtb = function (d) { var g; g = { - od: d.pts, - da: d.viewableId, - yM: d.pipelineNum, + pd: d.pts, + $: d.viewableId, + AM: d.pipelineNum, index: d.index }; d = d.params; - this.bb.eg(d) && (g.Fb = this.WPa(d)); + this.bb.eg(d) && (g.Hb = this.UPa(d)); return g; }; - c.prototype.WPa = function (d) { + c.prototype.UPa = function (d) { return { - Zd: d.uiLabel, + je: d.uiLabel, Ek: d.trackingId, - jo: d.sessionParams + ko: d.sessionParams }; }; - c.prototype.Itb = function (d) { + c.prototype.Ltb = function (d) { var g; g = this; try { return d.map(function (h) { - return g.Gtb(h); + return g.Jtb(h); }); } catch (h) { - this.ya.error("Failed to deserialize uprepareList", { + this.za.error("Failed to deserialize uprepareList", { prepareList: JSON.stringify(d) }); } }; - c.prototype.Gtb = function (d) { + c.prototype.Jtb = function (d) { var g, h; h = d.params; - this.bb.eg(h) && (g = this.Htb(h)); + this.bb.eg(h) && (g = this.Ktb(h)); return { K: d.movieId, priority: d.priority, force: d.force, - Fb: g, - Zd: d.uiLabel, - Z7b: d.uiExpectedStartTime, - Y7b: d.uiExpectedEndTime, + Hb: g, + je: d.uiLabel, + q8b: d.uiExpectedStartTime, + p8b: d.uiExpectedEndTime, al: d.firstTimeAdded }; }; - c.prototype.Htb = function (d) { + c.prototype.Ktb = function (d) { var g, h; g = void 0; h = d.sessionParams; this.bb.eg(h) && (g = h); return { - K0: this.Dtb(d.authParams), - jo: g, + M0: this.Gtb(d.authParams), + ko: g, Ek: d.trackingId, - Z: d.startPts, + X: d.startPts, sa: d.manifest, - Ol: d.isBranching + Nl: d.isBranching }; }; - c.prototype.Dtb = function (d) { + c.prototype.Gtb = function (d) { return { - uMb: null === d || void 0 === d ? void 0 : d.pinCapableClient + xMb: null === d || void 0 === d ? void 0 : d.pinCapableClient }; }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(a.Gf))], l); - b.eEa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(a.Hf))], l); + b.cEa = l; + }, function (r, b, a) { var f, k, l, @@ -120944,46 +120938,46 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w, v) { + function c(t, u, w, v) { this.is = w; - this.Lf = v; - this.log = u.Cb("TaskScheduler"); - this.Pb = new r.Wj(); - this.config = t(); - this.currentIteration = this.fS = 0; - this.gH = []; + this.Mf = v; + this.log = t.Db("TaskScheduler"); + this.Rb = new q.Wj(); + this.config = u(); + this.currentIteration = this.eS = 0; + this.oH = []; this.paused = !1; - this.N7 = []; - this.AOa = []; - this.aEb = this.config.BNb || p.append; - this.addEventListener = this.Pb.addListener; + this.J7 = []; + this.yOa = []; + this.dEb = this.config.GNb || p.append; + this.addEventListener = this.Rb.addListener; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.fFa = void 0; - q = a(1); + b.cFa = void 0; + r = a(1); f = a(0); - k = a(269); + k = a(270); l = a(8); d = a(15); - g = a(128); + g = a(127); h = a(26); m = a(20); - n = a(5); - r = a(72); - (function (u) { - u.prepend = "prepend"; - u.append = "append"; - u.qDb = "ignore"; + n = a(4); + q = a(73); + (function (t) { + t.prepend = "prepend"; + t.append = "append"; + t.uDb = "ignore"; })(p || (p = {})); - c.prototype.Jkb = function (u) { - this.log.trace("adding tasks, number of tasks: " + u.length); + c.prototype.Jkb = function (t) { + this.log.trace("adding tasks, number of tasks: " + t.length); this.paused = !1; - this.gH = this.bEb(u); - this.fS = 0; + this.oH = this.eEb(t); + this.eS = 0; this.currentIteration += 1; this.fg(); }; @@ -120991,99 +120985,99 @@ a000.D9b = function () { this.paused = !0; }; c.prototype.fg = function () { - var u, - t, + var t, + u, w, v; - u = this; - if (this.fS === this.gH.length) + t = this; + if (this.eS === this.oH.length) this.log.trace("all tasks completed"); else if (this.paused) this.log.trace("in paused state", { - currentTaskIndex: this.fS, - numberOfTasks: this.gH.length + currentTaskIndex: this.eS, + numberOfTasks: this.oH.length }); else { - t = this.AAb(); + u = this.DAb(); w = this.currentIteration; - t.startTime = this.Lf.Zb().ea(n.ma); - t.status = g.Yj.Yv; - this.Pb.tc(k.uI.PUb, { - K: t.K, - type: t.type + u.startTime = this.Mf.Xb().ea(n.ma); + u.status = g.Zj.cw; + this.Rb.qc(k.zI.RUb, { + K: u.K, + type: u.type }); - this.N7.push(t); + this.J7.push(u); v = function (x) { - t.endTime = u.Lf.Zb().ea(n.ma); + u.endTime = t.Mf.Xb().ea(n.ma); x(); - u.AOa.push(t); - u.N7.splice(u.N7.indexOf(t), 1); - u.currentIteration === w && (u.fS++, u.fg()); + t.yOa.push(u); + t.J7.splice(t.J7.indexOf(u), 1); + t.currentIteration === w && (t.eS++, t.fg()); }; - t.LQb().then(function () { + u.QQb().then(function () { v(function () { - t.status = g.Yj.HN; - u.Ypa(t, k.uI.QUb, "task succeeded"); + u.status = g.Zj.IN; + t.Spa(u, k.zI.SUb, "task succeeded"); }); }).catch(function (x) { v(function () { - 0 <= [g.Yj.Fn, g.Yj.Snb, g.Yj.Nfa].indexOf(x.status) ? (t.status = x.status, u.Ypa(t, k.uI.NUb, "cancelled task")) : (t.status = g.Yj.Cs, u.Ypa(t, k.uI.OUb, "task failed", x)); + 0 <= [g.Zj.Fn, g.Zj.Tnb, g.Zj.Gfa].indexOf(x.status) ? (u.status = x.status, t.Spa(u, k.zI.PUb, "cancelled task")) : (u.status = g.Zj.Gs, t.Spa(u, k.zI.QUb, "task failed", x)); }); }); } }; - c.prototype.AAb = function () { - return this.gH[this.fS]; + c.prototype.DAb = function () { + return this.oH[this.eS]; }; - c.prototype.getStats = function (u, t, w) { + c.prototype.getStats = function (t, u, w) { var v, x, y, z; - v = this.AOa.map(function (B) { - return B.Hs(); + v = this.yOa.map(function (A) { + return A.Ms(); }); - x = this.N7.map(function (B) { - return B.Hs(); + x = this.J7.map(function (A) { + return A.Ms(); }); - y = this.is.eg(u) && this.is.eg(t); + y = this.is.eg(t) && this.is.eg(u); z = {}; if (this.is.eg(w)) - return (z.kpb = v.filter(function (B) { - return B.movieId === w; + return (z.lpb = v.filter(function (A) { + return A.movieId === w; }), z); - v.concat(x).forEach(function (B) { - var A; - z[B.type + "_" + B.status] = (z[B.type + "_" + B.status] | 0) + 1; - A = B.status == g.Yj.Yv ? B.startTime : B.endTime; - y && A && A >= u && A < t && (z[B.type + "_" + B.status + "_delta"] = (z[B.type + "_" + B.status + "_delta"] | 0) + 1); + v.concat(x).forEach(function (A) { + var B; + z[A.type + "_" + A.status] = (z[A.type + "_" + A.status] | 0) + 1; + B = A.status == g.Zj.cw ? A.startTime : A.endTime; + y && B && B >= t && B < u && (z[A.type + "_" + A.status + "_delta"] = (z[A.type + "_" + A.status + "_delta"] | 0) + 1); }); return z; }; - c.prototype.Ypa = function (u, t, w, v) { + c.prototype.Spa = function (t, u, w, v) { var x; - x = u.Hs(); + x = t.Ms(); v ? this.log.warn(w, x, v) : this.log.trace(w, x); - this.Pb.tc(t, { - K: u.K, - type: u.type, - reason: u.status + this.Rb.qc(u, { + K: t.K, + type: t.type, + reason: t.status }); - u.jM(x); + t.lM(x); }; - c.prototype.bEb = function (u) { - var t, + c.prototype.eEb = function (t) { + var u, w; - t = this.gH.filter(function (v) { - return v.sMb && v.status === g.Yj.Hn; + u = this.oH.filter(function (v) { + return v.vMb && v.status === g.Zj.In; }); - w = this.aEb; - return w === p.qDb ? [].concat(u) : w === p.prepend ? t.concat(u) : u.concat(t); + w = this.dEb; + return w === p.uDb ? [].concat(t) : w === p.prepend ? u.concat(t) : t.concat(u); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.Kb)), q.__param(1, f.l(d.dd)), q.__param(2, f.l(h.Gf)), q.__param(3, f.l(m.zd))], a); - b.fFa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.Ib)), r.__param(1, f.l(d.ed)), r.__param(2, f.l(h.Hf)), r.__param(3, f.l(m.zd))], a); + b.cFa = a; + }, function (r, b, a) { var k, l, d, @@ -121091,32 +121085,32 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; - function c(y, z, B, A, C, E, F, D, G, I, J) { - this.uYb = B; - this.bb = A; - this.Lf = C; - this.Df = E; - this.CRa = F; - this.Bwb = D; - this.Cwb = G; - this.Bia = I; + function c(y, z, A, B, C, E, G, D, F, J, K) { + this.wYb = A; + this.bb = B; + this.Mf = C; + this.Ff = E; + this.BRa = G; + this.Hwb = D; + this.Iwb = F; + this.tia = J; this.events = new x.EventEmitter(); - this.log = y.Cb("VideoPreparer"); + this.log = y.Db("VideoPreparer"); this.config = z(); - this.oua = {}; + this.lua = {}; this.E5 = {}; this.yd = { num_of_calls: 0, num_of_movies: 0 }; - this.xg = J.xg; + this.xg = K.xg; } function f(y) { return void 0 !== y; @@ -121124,32 +121118,32 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.PHa = void 0; - q = a(1); - k = a(1066); + b.LHa = void 0; + r = a(1); + k = a(1069); l = a(15); d = a(0); g = a(8); h = a(92); m = a(26); - n = a(269); - r = a(20); - p = a(5); - u = a(128); - t = a(270); - w = a(473); - v = a(271); + n = a(270); + q = a(20); + p = a(4); + t = a(127); + u = a(271); + w = a(478); + v = a(272); x = a(16); - c.prototype.W2a = function (y, z, B) { - this.xg.setData(y, "ldl", z, B); + c.prototype.W2a = function (y, z, A) { + this.xg.setData(y, "ldl", z, A); }; c.prototype.TUa = function (y) { - return this.xg.KT(y, "ldl"); + return this.xg.IT(y, "ldl"); }; - c.prototype.aOa = function (y) { + c.prototype.ZNa = function (y) { this.xg.clearData(y, "ldl", void 0, !0); }; - c.prototype.UK = function (y, z) { + c.prototype.YK = function (y, z) { return this.xg.getData(y, z); }; c.prototype.ASa = function (y) { @@ -121158,152 +121152,152 @@ a000.D9b = function () { this.xg.clearData(y, "ldl", void 0, !0); return z; }; - c.prototype.XXb = function (y) { - return this.b4a === y || this.uPa === y; + c.prototype.ZXb = function (y) { + return this.c4a === y || this.tPa === y; }; - c.prototype.EM = function (y, z) { - var B, - A, + c.prototype.FM = function (y, z) { + var A, + B, C; - B = this; + A = this; y = y.map(function (E) { - E.Fb = E.Fb || ({ - K0: { - uMb: !1 + E.Hb = E.Hb || ({ + M0: { + xMb: !1 }, Ek: 0 }); - B.bb.gF(E.Fb.Ek) || (E.Fb.Ek = 0); - B.bb.gF(E.od) && (E.Fb.Z = E.od); + A.bb.jF(E.Hb.Ek) || (E.Hb.Ek = 0); + A.bb.jF(E.pd) && (E.Hb.X = E.pd); return E; }); - A = y.map(function (E) { - return B.qsb(E, z); - }).reduce(function (E, F) { - return E.concat(F); + B = y.map(function (E) { + return A.ssb(E, z); + }).reduce(function (E, G) { + return E.concat(G); }, []); - C = A.map(function (E) { + C = B.map(function (E) { return E.K + "-" + E.type; }); this.log.trace("prepare tasks", C); - this.Df.Jkb(A); + this.Ff.Jkb(B); this.yd.num_of_calls++; this.yd.num_of_movies += y.length; }; - c.prototype.getStats = function (y, z, B) { - return Object.assign(Object.assign({}, B && this.E5[B] || ({})), { - gH: this.Df.getStats(y, z, B), + c.prototype.getStats = function (y, z, A) { + return Object.assign(Object.assign({}, A && this.E5[A] || ({})), { + oH: this.Ff.getStats(y, z, A), cache: this.xg.getStats(y, z), - Rxb: Object.assign(Object.assign({}, this.yd), this.Bia.getStats()) + Xxb: Object.assign(Object.assign({}, this.yd), this.tia.getStats()) }); }; - c.prototype.tCb = function (y) { - this.b4a = y; + c.prototype.vCb = function (y) { + this.c4a = y; }; - c.prototype.sCb = function (y) { + c.prototype.uCb = function (y) { this.log.trace("task scheduler paused on playback created"); - this.Df.pause(); - this.config.Btb && this.xg.gga(y, ["manifest"]); - this.config.Atb && this.xg.gga(y, ["ldl"]); - this.config.wtb && this.xg.clearData(y, "manifest"); - this.Bia.z1a(y); - this.uPa = y; + this.Ff.pause(); + this.config.Etb && this.xg.aga(y, ["manifest"]); + this.config.Dtb && this.xg.aga(y, ["ldl"]); + this.config.ztb && this.xg.clearData(y, "manifest"); + this.tia.z1a(y); + this.tPa = y; }; c.prototype.RUa = function () { this.log.info("track changed, clearing all manifests from cache"); - this.xg.gga("none", ["manifest"]); + this.xg.aga("none", ["manifest"]); }; - c.prototype.rCb = function (y) { + c.prototype.tCb = function (y) { var z; z = this; - this.config.xtb ? this.xg.clearData(y, "manifest") : this.xg.KT(y, "manifest") && this.xg.getData(y, "manifest").then(function (B) { - B.Wc.isSupplemental || z.xg.clearData(y, "manifest"); - }, function (B) { - z.log.warn("Failed to get manifest for movieId [" + y + "] from cacheManager.", B); + this.config.Atb ? this.xg.clearData(y, "manifest") : this.xg.IT(y, "manifest") && this.xg.getData(y, "manifest").then(function (A) { + A.Xc.isSupplemental || z.xg.clearData(y, "manifest"); + }, function (A) { + z.log.warn("Failed to get manifest for movieId [" + y + "] from cacheManager.", A); }); - this.lga(y); - this.b4a = this.uPa = void 0; + this.fga(y); + this.c4a = this.tPa = void 0; }; - c.prototype.lga = function (y) { - delete this.oua[y]; + c.prototype.fga = function (y) { + delete this.lua[y]; }; - c.prototype.CB = function (y) { - return this.oua[y]; + c.prototype.FB = function (y) { + return this.lua[y]; }; - c.prototype.tPa = function (y) { - return this.oua[y] = this.uYb.lB(); + c.prototype.sPa = function (y) { + return this.lua[y] = this.wYb.mB(); }; c.prototype.y3a = function (y, z) { if (this.TUa(y)) - return u.Yj.Fn; - if (!z.MT) - return u.Yj.Nfa; + return t.Zj.Fn; + if (!z.KT) + return t.Zj.Gfa; }; - c.prototype.qsb = function (y, z) { - var B, - A; - y.Zd && y.Fb && (y.Fb.Zd = y.Zd); - this.JWb(y.K, y.al); - B = this.Xrb(y, z); - A = this.Trb(y, null === B || void 0 === B ? void 0 : B.id, z); - y = [this.Zrb(y, null === B || void 0 === B ? void 0 : B.id, z)]; - return [B, A].concat(ca(y)).filter(f); - }; - c.prototype.Xrb = function (y, z) { - if (this.xg.KT(y.K, "manifest")) + c.prototype.ssb = function (y, z) { + var A, + B; + y.je && y.Hb && (y.Hb.je = y.je); + this.LWb(y.K, y.al); + A = this.Yrb(y, z); + B = this.Urb(y, null === A || void 0 === A ? void 0 : A.id, z); + y = [this.$rb(y, null === A || void 0 === A ? void 0 : A.id, z)]; + return [A, B].concat(ca(y)).filter(f); + }; + c.prototype.Yrb = function (y, z) { + if (this.xg.IT(y.K, "manifest")) this.log.trace("manifest exists in cache for " + y.K); else - return new k.FP("manifest", this.Lf.Zb().ea(p.ma), !!y.Fb.sh, void 0, z, this.CRa, y, this); + return new k.FP("manifest", this.Mf.Xb().ea(p.ma), !!y.Hb.rh, void 0, z, this.BRa, y, this); }; - c.prototype.Trb = function (y, z, B) { - if (this.config.HS) - if (this.xg.KT(y.K, "ldl")) + c.prototype.Urb = function (y, z, A) { + if (this.config.GS) + if (this.xg.IT(y.K, "ldl")) !1; else - return this.config.Cr ? new k.FP("ldl", this.Lf.Zb().ea(p.ma), !!y.Fb.sh, z, B, this.Bwb, y, this) : new k.FP("ldl", this.Lf.Zb().ea(p.ma), !!y.Fb.sh, z, B, this.Cwb, y, this); + return this.config.Fr ? new k.FP("ldl", this.Mf.Xb().ea(p.ma), !!y.Hb.rh, z, A, this.Hwb, y, this) : new k.FP("ldl", this.Mf.Xb().ea(p.ma), !!y.Hb.rh, z, A, this.Iwb, y, this); }; - c.prototype.Zrb = function (y, z, B) { - if (this.config.e2) - return new k.FP("getMedia", this.Lf.Zb().ea(p.ma), !!y.Fb.sh, z, B, this.Bia, y, this); + c.prototype.$rb = function (y, z, A) { + if (this.config.RQa) + return new k.FP("getMedia", this.Mf.Xb().ea(p.ma), !!y.Hb.rh, z, A, this.tia, y, this); }; - c.prototype.JWb = function (y, z) { + c.prototype.LWb = function (y, z) { this.E5[y] || (this.E5[y] = { - E6: 0, + B6: 0, al: 0 }); y = this.E5[y]; - y.E6 = (void 0 !== y ? void 0 !== y.E6 ? y.E6 : 0 : 0) + 1; + y.B6 = (void 0 !== y ? void 0 !== y.B6 ? y.B6 : 0 : 0) + 1; y.al = z; }; a = c; - a = q.__decorate([d.R(), q.__param(0, d.l(g.Kb)), q.__param(1, d.l(l.dd)), q.__param(2, d.l(h.cA)), q.__param(3, d.l(m.Gf)), q.__param(4, d.l(r.zd)), q.__param(5, d.l(n.Yaa)), q.__param(6, d.l(w.eFa)), q.__param(7, d.l(w.dFa)), q.__param(8, d.l(w.cFa)), q.__param(9, d.l(v.ava)), q.__param(10, d.l(t.H9))], a); - b.PHa = a; - }, function (q, b, a) { + a = r.__decorate([d.R(), r.__param(0, d.l(g.Ib)), r.__param(1, d.l(l.ed)), r.__param(2, d.l(h.dA)), r.__param(3, d.l(m.Hf)), r.__param(4, d.l(q.zd)), r.__param(5, d.l(n.Saa)), r.__param(6, d.l(w.bFa)), r.__param(7, d.l(w.aFa)), r.__param(8, d.l(w.$Ea)), r.__param(9, d.l(v.Yua)), r.__param(10, d.l(u.C9))], a); + b.LHa = a; + }, function (r, b, a) { var f, k; - function c(l, d, g, h, m, n, r, p) { + function c(l, d, g, h, m, n, q, p) { this.type = l; - this.Hn = d; - this.sMb = void 0 === g ? !1 : g; + this.In = d; + this.vMb = void 0 === g ? !1 : g; this.notify = m; - this.Dwb = n; - this.FM = r; - this.pd = p; + this.Jwb = n; + this.GM = q; + this.qd = p; this.id = ++k; - this.status = f.Yj.Hn; + this.status = f.Zj.In; } Object.defineProperty(b, "__esModule", { value: !0 }); b.FP = void 0; - f = a(128); + f = a(127); k = 0; - c.prototype.Hs = function () { + c.prototype.Ms = function () { var l; l = { id: this.id, type: this.type, - created: this.Hn, + created: this.In, status: this.status, movieId: this.K }; @@ -121311,30 +121305,30 @@ a000.D9b = function () { this.endTime && this.startTime && (l.duration = this.endTime - this.startTime, l.endTime = this.endTime); return l; }; - c.prototype.jM = function (l) { + c.prototype.lM = function (l) { this.notify && this.notify(l); }; - c.prototype.LQb = function () { - return this.Dwb.fetch(this.FM, this.pd); + c.prototype.QQb = function () { + return this.Jwb.fetch(this.GM, this.qd); }; Xa.Object.defineProperties(c.prototype, { K: { configurable: !0, enumerable: !0, get: function () { - return this.FM.K; + return this.GM.K; } }, priority: { configurable: !0, enumerable: !0, get: function () { - return this.FM.priority; + return this.GM.priority; } } }); b.FP = c; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -121343,165 +121337,165 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y; - function c(z, B, A, C, E, F, D, G, I, J) { - this.ar = A; - this.yW = C; - this.Bc = E; - this.wa = F; - this.Pa = D; - this.KL = G; - this.CMb = I; - this.el = J; - this.log = z.Cb("VideoPreparer"); - this.config = B(); + function c(z, A, B, C, E, G, D, F, J, K) { + this.ar = B; + this.xW = C; + this.Dc = E; + this.xa = G; + this.La = D; + this.ML = F; + this.FMb = J; + this.el = K; + this.log = z.Db("VideoPreparer"); + this.config = A(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sAa = void 0; - q = a(1); + b.qAa = void 0; + r = a(1); f = a(0); k = a(8); l = a(15); - d = a(128); - g = a(65); - h = a(59); + d = a(127); + g = a(66); + h = a(60); m = a(34); n = a(139); - r = a(182); + q = a(182); p = a(35); - u = a(5); - t = a(40); + t = a(4); + u = a(40); w = a(20); v = a(184); x = a(195); - a = a(118); - c.prototype.fetch = function (z, B) { - var A; - A = this; - this.log.trace("Fetching LDL", v.VH(z)); + a = a(117); + c.prototype.fetch = function (z, A) { + var B; + B = this; + this.log.trace("Fetching LDL", v.cI(z)); this.K = z.K; - this.pd = B; - return B.UK(z.K, "ldl").catch(function () { - A.log.trace("Requesting a new license", v.VH(z)); - return A.el.T2(z.K).then(function (C) { + this.qd = A; + return A.YK(z.K, "ldl").catch(function () { + B.log.trace("Requesting a new license", v.cI(z)); + return B.el.U2(z.K).then(function (C) { var E, - F; - A.sa = C; - A.Wc = C.Wc; - if (C = A.pd.y3a(z.K, A.Wc)) + G; + B.sa = C; + B.Xc = C.Xc; + if (C = B.qd.y3a(z.K, B.Xc)) throw { status: C }; - C = A.Wc.Nz[0].zt; - E = A.Wc.Nz[0].Qha; - F = (C ? C : [E]).map(function (D) { - return A.Bc.decode(D.bytes); + C = B.Xc.WC[0].Dt; + E = B.Xc.WC[0].Kha; + G = (C ? C : [E]).map(function (D) { + return B.Dc.decode(D.bytes); }); - A.we = A.bF({ - EQa: A.log, - kia: function (D) { - return A.handleError(D); + B.Ve = B.eF({ + CQa: B.log, + dia: function (D) { + return B.handleError(D); }, - Od: void 0, - xoa: function () {}, - wa: { + Md: void 0, + soa: function () {}, + xa: { getTime: function () { - return A.Pa.Zb().ea(u.ma); + return B.La.Xb().ea(t.ma); }, - P4b: function () { - return A.wa.Ue.ea(u.nn); + V4b: function () { + return B.xa.We.ea(t.ln); } } }); - B.W2a(z.K, A.we); - return A.we.create(A.config.Xe).then(function () { - return A.we.ig(h.Th.kn, F, !0); + A.W2a(z.K, B.Ve); + return B.Ve.create(B.config.Ol).then(function () { + return B.Ve.hg(h.Th.jn, G, !0); }).then(function () { - return A.we; + return B.Ve; }).catch(function (D) { - A.handleError(D); + B.handleError(D); throw D; }); }).catch(function (C) { - A.log.warn("Manifest not available for ldl request", C); + B.log.warn("Manifest not available for ldl request", C); if (void 0 !== C.status) throw C; throw { - status: d.Yj.Fn + status: d.Zj.Fn }; }); }); }; c.prototype.handleError = function (z) { this.log.warn("ldl is now invalid", z); - this.we.close(); - this.pd.aOa(this.K); - this.pd.lga(this.K); + this.Ve.close(); + this.qd.ZNa(this.K); + this.qd.fga(this.K); }; - c.prototype.bF = function (z) { - var B, - A; - B = this; - if (!this.ar.TH || !this.ar.RH) { - A = this.CMb(); - this.ar.TH = A.Nb; - this.ar.RH = A.request; + c.prototype.eF = function (z) { + var A, + B; + A = this; + if (!this.ar.aI || !this.ar.ZH) { + B = this.FMb(); + this.ar.aI = B.Nb; + this.ar.ZH = B.request; } - A = new this.ar.RH(z.EQa, function (C) { + B = new this.ar.ZH(z.CQa, function (C) { var E; E = []; - C.zj.forEach(function (F) { + C.xj.forEach(function (G) { E.push({ - sessionId: F.sessionId, - dataBase64: B.Bc.encode(F.data) + sessionId: G.sessionId, + dataBase64: A.Dc.encode(G.data) }); }); C = { - zj: E, - Y1: [B.Wc.Kl], - Qf: g.gq.SOa(C.Qf), - Ti: B.Wc.Ti, - ba: B.pd.tPa(B.K), - Fj: B.sa.Fj + xj: E, + a2: [A.Xc.Jl], + Rf: g.iq.ROa(C.Rf), + Ri: A.Xc.Ri, + ca: A.qd.sPa(A.K), + Ej: A.sa.Ej }; - B.log.trace("xid created ", { - MovieId: B.K, - xid: C.ba + A.log.trace("xid created ", { + MovieId: A.K, + xid: C.ca }); - return B.KL.nx(C); + return A.ML.sx(C); }, void 0, { - We: !1, + Ye: !1, qk: !1 }); - return this.ar.TH(z.EQa, z.Od, { - We: !1, + return this.ar.aI(z.CQa, z.Md, { + Ye: !1, qk: !1, - ml: A, - EV: this.config.L0a, + ll: B, + DV: this.config.L0a, la: void 0, - Kz: this.config.PQa, - onerror: z.kia, - xoa: z.xoa, - wa: z.wa, - rG: !1, - Slb: this.yW.x1([]), - OXb: this.yW.A1([]), - U3: this.config.U3 + Nz: this.config.NQa, + onerror: z.dia, + soa: z.soa, + xa: z.xa, + xG: !1, + Slb: this.xW.z1([]), + QXb: this.xW.C1([]), + V3: this.config.V3 }); }; y = c; - y = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.dd)), q.__param(2, f.l(m.kA)), q.__param(3, f.l(n.MP)), q.__param(4, f.l(p.Rh)), q.__param(5, f.l(t.wi)), q.__param(6, f.l(w.zd)), q.__param(7, f.l(r.jP)), q.__param(8, f.l(x.Laa)), q.__param(9, f.l(a.sD))], y); - b.sAa = y; - }, function (q, b, a) { + y = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.ed)), r.__param(2, f.l(m.lA)), r.__param(3, f.l(n.MP)), r.__param(4, f.l(p.Rh)), r.__param(5, f.l(u.wi)), r.__param(6, f.l(w.zd)), r.__param(7, f.l(q.kP)), r.__param(8, f.l(x.Eaa)), r.__param(9, f.l(a.uD))], y); + b.qAa = y; + }, function (r, b, a) { var f, k, l, @@ -121510,118 +121504,116 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w, v, x, y) { - this.Bc = w; - this.Hub = v; - this.UL = x; + function c(t, u, w, v, x, y) { + this.Dc = w; + this.Lub = v; + this.WL = x; this.el = y; - this.log = u.Cb("VideoPreparer"); - this.config = t(); + this.log = t.Db("VideoPreparer"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yAa = void 0; - q = a(1); + b.wAa = void 0; + r = a(1); f = a(0); k = a(8); l = a(15); - d = a(59); + d = a(60); g = a(35); - h = a(120); + h = a(119); m = a(134); - n = a(128); - r = a(184); - a = a(118); - c.prototype.fetch = function (u, t) { + n = a(127); + q = a(184); + a = a(117); + c.prototype.fetch = function (t, u) { var w; w = this; - this.log.trace("Fetching LDL", r.VH(u)); - this.K = u.K; - this.pd = t; - return t.UK(u.K, "ldl").then(function (v) { - return v.y7; + this.log.trace("Fetching LDL", q.cI(t)); + this.K = t.K; + this.qd = u; + return u.YK(t.K, "ldl").then(function (v) { + return v.u7; }).catch(function () { - w.log.trace("Requesting a new license", r.VH(u)); - return w.el.T2(u.K).then(function (v) { + w.log.trace("Requesting a new license", q.cI(t)); + return w.el.U2(t.K).then(function (v) { var x, y, z, - B; - w.Wc = v.Wc; - if (t.TUa(u.K)) - return t.UK(u.K, "ldl").then(function (A) { - return A.y7; + A; + w.Xc = v.Xc; + if (u.TUa(t.K)) + return u.YK(t.K, "ldl").then(function (B) { + return B.u7; }); - x = w.pd.y3a(u.K, w.Wc); + x = w.qd.y3a(t.K, w.Xc); if (x) throw { status: x }; - y = w.Wc.Nz[0].zt; - x = w.Wc.Nz[0].Qha; - z = (y ? y : [x]).map(function (A) { - return w.Bc.decode(A.bytes); + y = w.Xc.WC[0].Dt; + x = w.Xc.WC[0].Kha; + z = (y ? y : [x]).map(function (B) { + return w.Dc.decode(B.bytes); }); - B = w.Hub().then(function (A) { + A = w.Lub().then(function (B) { var C; C = { - type: d.Th.kn, + type: d.Th.jn, initData: z, context: { - Xe: w.config.Xe, - zt: y + Dt: y }, li: { - K: u.K, - ba: t.tPa(u.K), - Ti: w.Wc.Ti, - Kl: w.Wc.Kl, - Fj: v.Fj + K: t.K, + ca: u.sPa(t.K), + Ri: w.Xc.Ri, + Jl: w.Xc.Jl, + Ej: v.Ej } }; - return A.ig(C, w.UL()); - }).catch(function (A) { - w.handleError("Unable to prepare an EME session.", A); - throw A; + return B.hg(C, w.WL()); + }).catch(function (B) { + w.handleError("Unable to prepare an EME session.", B); + throw B; }); - w.pd.W2a(u.K, { - y7: B, + w.qd.W2a(t.K, { + u7: A, source: "videopreparer" }, function () { - if (!w.pd.XXb(u.K)) + if (!w.qd.ZXb(t.K)) try { - B.then(function (A) { - return A.close(); - }).catch(function (A) { - w.handleError("Unable to cleanup LDL session, Unable to get the session.", A); + A.then(function (B) { + return B.close(); + }).catch(function (B) { + w.handleError("Unable to cleanup LDL session, Unable to get the session.", B); }); - } catch (A) { - w.handleError("Unable to cleanup LDL session, unexpected exception.", A); + } catch (B) { + w.handleError("Unable to cleanup LDL session, unexpected exception.", B); } }); - return B; + return A; }).catch(function (v) { w.log.warn("Manifest not available for ldl request", v); if (void 0 !== v.status) throw v; throw { - status: n.Yj.Fn + status: n.Zj.Fn }; }); }); }; - c.prototype.handleError = function (u, t) { - this.log.warn(u + " LDL is now invalid.", t); - this.pd.aOa(this.K); - this.pd.lga(this.K); + c.prototype.handleError = function (t, u) { + this.log.warn(t + " LDL is now invalid.", u); + this.qd.ZNa(this.K); + this.qd.fga(this.K); }; p = c; - p = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.dd)), q.__param(2, f.l(g.Rh)), q.__param(3, f.l(h.oY)), q.__param(4, f.l(m.lP)), q.__param(5, f.l(a.sD))], p); - b.yAa = p; - }, function (q, b, a) { + p = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.ed)), r.__param(2, f.l(g.Rh)), r.__param(3, f.l(h.nY)), r.__param(4, f.l(m.mP)), r.__param(5, f.l(a.uD))], p); + b.wAa = p; + }, function (r, b, a) { var f, k, l, @@ -121630,52 +121622,52 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w, v, x) { - this.rna = w; - this.Lf = v; + function c(t, u, w, v, x) { + this.lna = w; + this.Mf = v; this.el = x; - this.log = u.Cb("VideoPreparer"); - this.config = t(); + this.log = t.Db("VideoPreparer"); + this.config = u(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yBa = void 0; - q = a(1); + b.wBa = void 0; + r = a(1); f = a(15); k = a(0); l = a(8); d = a(20); - g = a(5); + g = a(4); h = a(143); - m = a(119); + m = a(118); n = a(184); - r = a(118); - p = a(59); - c.prototype.fetch = function (u, t) { + q = a(117); + p = a(60); + c.prototype.fetch = function (t, u) { var w, v; - this.log.trace("Fetching manifest", n.VH(u)); - v = u.Fb; - this.config.Yjb && v && v.sa && !this.el.A3(u.K) && (!(("clientGenesis" in v.sa) && v.sa.clientGenesis) || Date.now() - v.sa.clientGenesis < this.config.y0a) && (v = this.rna.create(v.sa), v.FG = this.Lf.Zb().ea(g.ma), v.XM = this.Lf.Zb().ea(g.ma), this.el.Esa(u.K, v)); - return this.el.sT({ - da: u.K, - kb: null !== (w = u.Fb) && void 0 !== w ? w : {}, - fv: m.Xj.GD, - Qf: p.Th.kn + this.log.trace("Fetching manifest", n.cI(t)); + v = t.Hb; + this.config.Yjb && v && v.sa && !this.el.B3(t.K) && (!(("clientGenesis" in v.sa) && v.sa.clientGenesis) || Date.now() - v.sa.clientGenesis < this.config.y0a) && (v = this.lna.create(v.sa), v.MG = this.Mf.Xb().ea(g.ma), v.XM = this.Mf.Xb().ea(g.ma), this.el.ysa(t.K, v)); + return this.el.qT({ + $: t.K, + kb: null !== (w = t.Hb) && void 0 !== w ? w : {}, + mv: m.Xj.JD, + Rf: p.Th.jn }, function () { - t.events.emit("manifestRemovedFromCache", { + u.events.emit("manifestRemovedFromCache", { type: "manifestRemovedFromCache", - da: u.K + $: t.K }); }); }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(l.Kb)), q.__param(1, k.l(f.dd)), q.__param(2, k.l(h.kP)), q.__param(3, k.l(d.zd)), q.__param(4, k.l(r.sD))], a); - b.yBa = a; - }, function (q, b, a) { + a = r.__decorate([k.R(), r.__param(0, k.l(l.Ib)), r.__param(1, k.l(f.ed)), r.__param(2, k.l(h.lP)), r.__param(3, k.l(d.zd)), r.__param(4, k.l(q.uD))], a); + b.wBa = a; + }, function (r, b, a) { var k, l, d, @@ -121683,10 +121675,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; function c() { var v; @@ -121696,67 +121688,67 @@ a000.D9b = function () { v.reject = y; }); } - function f(v, x, y, z, B) { - var A; - A = this; - this.Ipa = y; - this.yNb = z; - this.el = B; - this.zX = []; - this.az = new Map(); - this.XKb = function (C) { + function f(v, x, y, z, A) { + var B; + B = this; + this.Dpa = y; + this.CNb = z; + this.el = A; + this.yX = []; + this.dz = new Map(); + this.ZKb = function (C) { var E, - F; - C = C.wishListItem.key.da; - if (A.az.has(C)) { - F = A.az.get(C); - C = F.FM; - F = F.vga; - null === (E = F.resolve) || void 0 === E ? void 0 : E.call(F, C); + G; + C = C.wishListItem.key.$; + if (B.dz.has(C)) { + G = B.dz.get(C); + C = G.GM; + G = G.pga; + null === (E = G.resolve) || void 0 === E ? void 0 : E.call(G, C); } }; - this.YZa = function (C) { + this.XZa = function (C) { var E, - F; - A.config.zNb ? (A.z1a(C.da), A.s3a(A.zX)) : null === (F = null === (E = A.az.get(C.da)) || void 0 === E ? void 0 : E.U6a.zH.Fs(C.da).events) || void 0 === F ? void 0 : F.emit("viewableExpired", { + G; + B.config.DNb ? (B.z1a(C.$), B.s3a(B.yX)) : null === (G = null === (E = B.dz.get(C.$)) || void 0 === E ? void 0 : E.X6a.HH.Js(C.$).events) || void 0 === G ? void 0 : G.emit("viewableExpired", { type: "viewableExpired" }); }; - this.ya = v.Cb("VideoPreparer"); + this.za = v.Db("VideoPreparer"); this.config = x(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$ua = void 0; - q = a(1); + b.Xua = void 0; + r = a(1); k = a(8); a(184); - l = a(117); + l = a(129); d = a(53); g = a(15); h = a(13); - m = a(119); - n = a(271); - r = a(0); - p = a(475); - u = a(16); - t = a(118); - w = a(59); + m = a(118); + n = a(272); + q = a(0); + p = a(479); + t = a(16); + u = a(117); + w = a(60); f.prototype.fetch = function (v, x) { - if (-1 === x.events.listeners("manifestRemovedFromCache").indexOf(this.YZa)) - x.events.on("manifestRemovedFromCache", this.YZa); + if (-1 === x.events.listeners("manifestRemovedFromCache").indexOf(this.XZa)) + x.events.on("manifestRemovedFromCache", this.XZa); !1; - this.s3a(this.cpb(this.Asb(v, x))); - return this.az.get(v.K).vga.promise; + this.s3a(this.dpb(this.Csb(v, x))); + return this.dz.get(v.K).pga.promise; }; f.prototype.getStats = function () { - return this.xt.getStats(); + return this.Bt.getStats(); }; - f.prototype.cpb = function (v) { - return [v].concat(ca(this.zX.filter(function (x) { - return x.key.da !== v.key.da; - }))).slice(0, this.config.wNb).map(this.config.xNb ? function (x, y) { + f.prototype.dpb = function (v) { + return [v].concat(ca(this.yX.filter(function (x) { + return x.key.$ !== v.key.$; + }))).slice(0, this.config.ANb).map(this.config.BNb ? function (x, y) { return Object.assign({}, x, { priority: y }); @@ -121765,178 +121757,178 @@ a000.D9b = function () { return x; }); }; - f.prototype.sT = function (v) { + f.prototype.qT = function (v) { var x; - return this.el.sT({ - da: v.K, - fv: m.Xj.GD, - Qf: w.Th.kn, - kb: null !== (x = v.Fb) && void 0 !== x ? x : {} + return this.el.qT({ + $: v.K, + mv: m.Xj.JD, + Rf: w.Th.jn, + kb: null !== (x = v.Hb) && void 0 !== x ? x : {} }).then(function (y) { - return y.Wc; + return y.Xc; }); }; - f.prototype.Asb = function (v, x) { + f.prototype.Csb = function (v, x) { var y, z, - B, A, + B, C, E; - B = new c(); - if (this.az.has(v.K)) { - A = this.az.get(v.K); - C = A.FM; - if (C.K === v.K && C.Zd === v.Zd) - E = A.U6a.key; - this.xt.getStats().contents.some(function (F) { - return F.id === v.K; - }) && (B = A.vga); - } - A = l.Dl.sd.Hq(h.p1(v.Zd)); + A = new c(); + if (this.dz.has(v.K)) { + B = this.dz.get(v.K); + C = B.GM; + if (C.K === v.K && C.je === v.je) + E = B.X6a.key; + this.Bt.getStats().contents.some(function (G) { + return G.id === v.K; + }) && (A = B.pga); + } + B = l.sm.Bd.zs(h.sga(v.je)); E || (E = { - da: v.K, - config: A + $: v.K, + config: B }); x = { key: E, - v5b: !1, + G5b: !1, priority: v.priority, - M0: d.S.rb(null !== (z = null === (y = v.Fb) || void 0 === y ? void 0 : y.Z) && void 0 !== z ? z : 0), - zH: this.zsb(v, x, A) + O0: d.S.rb(null !== (z = null === (y = v.Hb) || void 0 === y ? void 0 : y.X) && void 0 !== z ? z : 0), + HH: this.Bsb(v, x, B) }; - this.az.set(v.K, { - U6a: x, - FM: v, - vga: B + this.dz.set(v.K, { + X6a: x, + GM: v, + pga: A }); return x; }; - f.prototype.zsb = function (v, x, y) { + f.prototype.Bsb = function (v, x, y) { var z, - B, A, + B, C; z = this; - B = v.K; - A = this.el; + A = v.K; + B = this.el; C = { - get ba() { - return x.CB(B); + get ca() { + return x.FB(A); }, - get nF() { - return !A.A3(B); + get rF() { + return !B.B3(A); }, - events: new u.EventEmitter(), + events: new t.EventEmitter(), GNa: function () {}, - get Dr() { - return z.sT(v).then(function (E) { + get Gr() { + return z.qT(v).then(function (E) { return { sa: E, - Gi: E.Tka && !E.MT, + Gi: E.Pka && !E.KT, config: y, - C3a: {} + D3a: {} }; }); }, - da: B, + $: A, equals: function (E) { - var F; - F = x.CB(B); - return E.da === B && (!E.ba || !F || F === E.ba); + var G; + G = x.FB(A); + return E.$ === A && (!E.ca || !G || G === E.ca); } }; return { - Fs: function () { + Js: function () { return C; } }; }; f.prototype.b3a = function (v) { - this.zX = v; + this.yX = v; }; f.prototype.s3a = function (v) { this.b3a(v); - this.xt.r3a(this.zX); + this.Bt.r3a(this.yX); }; f.prototype.z1a = function (v) { - this.az.has(v) && (this.b3a(this.zX.filter(function (x) { - return x.key.da !== v; - })), this.az.delete(v)); + this.dz.has(v) && (this.b3a(this.yX.filter(function (x) { + return x.key.$ !== v; + })), this.dz.delete(v)); }; Xa.Object.defineProperties(f.prototype, { - xt: { + Bt: { configurable: !0, enumerable: !0, get: function () { - this.cx || (this.cx = this.yNb(), this.cx.Yra(this.Ipa).U2a({ - JF: this.config.vNb - }), this.cx.events.on("prefetchComplete", this.XKb)); - return this.cx; + this.hx || (this.hx = this.CNb(), this.hx.Rra(this.Dpa).U2a({ + OF: this.config.zNb + }), this.hx.events.on("prefetchComplete", this.ZKb)); + return this.hx; } } }); a = f; - a = q.__decorate([r.R(), q.__param(0, r.l(k.Kb)), q.__param(1, r.l(g.dd)), q.__param(2, r.l(p.Waa)), q.__param(3, r.l(n.bva)), q.__param(4, r.l(t.sD))], a); - b.$ua = a; - }, function (q, b, a) { + a = r.__decorate([q.R(), r.__param(0, q.l(k.Ib)), r.__param(1, q.l(g.ed)), r.__param(2, q.l(p.Qaa)), r.__param(3, q.l(n.Zua)), r.__param(4, q.l(u.uD))], a); + b.Xua = a; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { + function c(m, n, q) { var p; p = this; - this.Lf = n; - n = r(); + this.Mf = n; + n = q(); this.xg = new h({ - log: m.Cb("CacheManager"), - wa: { + log: m.Db("CacheManager"), + xa: { getTime: function () { - return p.Lf.Zb().ea(d.ma); + return p.Mf.Xb().ea(d.ma); } }, Promise: Promise, - We: !1, - knb: n.ENb, - jnb: n.CNb, - gwb: n.y0a, - fwb: n.DNb + Ye: !1, + lnb: n.JNb, + knb: n.HNb, + mwb: n.y0a, + lwb: n.INb }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.fwa = void 0; - q = a(1); + b.cwa = void 0; + r = a(1); f = a(0); k = a(20); l = a(8); - d = a(5); + d = a(4); g = a(15); - h = a(1072); - c = q.__decorate([f.R(), q.__param(0, f.l(l.Kb)), q.__param(1, f.l(k.zd)), q.__param(2, f.l(g.dd))], c); - b.fwa = c; - }, function (q, b, a) { + h = a(1075); + c = r.__decorate([f.R(), r.__param(0, f.l(l.Ib)), r.__param(1, f.l(k.zd)), r.__param(2, f.l(g.ed))], c); + b.cwa = c; + }, function (r, b, a) { var d; function c() { return Object.create(null); } function f(g) { this.log = g.log; - this.wa = g.wa; - this.kC = c(); + this.xa = g.xa; + this.mC = c(); this.Promise = g.Promise; - this.Kx = g.Kx; - this.Ata = g.Ata; - this.We = g.We || !1; - this.bv = c(); - this.dB = c(); - this.PE = c(); - this.kjb(g); - g.lp && (this.lp = g.lp); + this.Px = g.Px; + this.vta = g.vta; + this.Ye = g.Ye || !1; + this.gv = c(); + this.fB = c(); + this.QE = c(); + this.ljb(g); + g.mp && (this.mp = g.mp); } function k(g) { return "undefined" !== typeof g; @@ -121949,53 +121941,53 @@ a000.D9b = function () { return n; } } - a(1073); - d = a(1074); - f.prototype.kjb = function (g) { - this.bv.manifest = l(g.gwb, d.bv.sa); - this.bv.ldl = l(g.fwb, d.bv.kU); - this.bv.metadata = l(g.A4b, d.bv.xd); - this.dB.manifest = l(g.knb, d.dB.sa); - this.dB.ldl = l(g.jnb, d.dB.kU); - this.dB.metadata = l(g.I3b, d.dB.xd); - this.PE.manifest = l(g.G3b, d.PE.sa); - this.PE.ldl = l(g.F3b, d.PE.kU); - this.PE.metadata = l(g.H3b, d.PE.xd); - }; - f.prototype.KT = function (g, h) { - this.zs("undefined" !== typeof g); - this.zs("undefined" !== typeof h); - return !!this.TIa(g, h, void 0).value; - }; - f.prototype.TIa = function (g, h, m) { + a(1076); + d = a(1077); + f.prototype.ljb = function (g) { + this.gv.manifest = l(g.mwb, d.gv.sa); + this.gv.ldl = l(g.lwb, d.gv.jU); + this.gv.metadata = l(g.H4b, d.gv.xd); + this.fB.manifest = l(g.lnb, d.fB.sa); + this.fB.ldl = l(g.knb, d.fB.jU); + this.fB.metadata = l(g.L3b, d.fB.xd); + this.QE.manifest = l(g.J3b, d.QE.sa); + this.QE.ldl = l(g.I3b, d.QE.jU); + this.QE.metadata = l(g.K3b, d.QE.xd); + }; + f.prototype.IT = function (g, h) { + this.Ds("undefined" !== typeof g); + this.Ds("undefined" !== typeof h); + return !!this.RIa(g, h, void 0).value; + }; + f.prototype.RIa = function (g, h, m) { var n, - r; + q; n = { value: null, reason: "", log: "" }; - r = this.kC[h]; - if ("undefined" === typeof r) + q = this.mC[h]; + if ("undefined" === typeof q) return (n.log = "cache miss: no data exists for field:" + h, n.reason = "unavailable", n); - "undefined" === typeof r[g] ? (n.log = "cache miss: no data exists for movieId:" + g, n.reason = "unavailable") : (m = r[g][m ? m : "DEFAULTCAPS"]) && m.value ? this.q4(h, m.creationTime) ? (n.log = "cache miss: " + h + " data expired for movieId:" + g, n.reason = "expired") : (n.log = this.Promise && m.value instanceof this.Promise ? "cache hit: " + h + " request in flight for movieId:" + g : "cache hit: " + h + " available for movieId:" + g, n.value = m.value) : (n.log = "cache miss: " + h + " data not available for movieId:" + g, n.reason = "unavailable"); + "undefined" === typeof q[g] ? (n.log = "cache miss: no data exists for movieId:" + g, n.reason = "unavailable") : (m = q[g][m ? m : "DEFAULTCAPS"]) && m.value ? this.r4(h, m.creationTime) ? (n.log = "cache miss: " + h + " data expired for movieId:" + g, n.reason = "expired") : (n.log = this.Promise && m.value instanceof this.Promise ? "cache hit: " + h + " request in flight for movieId:" + g : "cache hit: " + h + " available for movieId:" + g, n.value = m.value) : (n.log = "cache miss: " + h + " data not available for movieId:" + g, n.reason = "unavailable"); return n; }; f.prototype.getData = function (g, h, m) { - this.zs("undefined" !== typeof g); - this.zs("undefined" !== typeof h); - g = this.TIa(g, h, m); + this.Ds("undefined" !== typeof g); + this.Ds("undefined" !== typeof h); + g = this.RIa(g, h, m); this.log.trace(g.log); - return g.value ? this.Promise ? g.value instanceof this.Promise ? g.value : Promise.resolve(g.value) : this.Ata ? JSON.parse(this.Ata(g.value, "gzip", !1)) : g.value : this.Promise ? Promise.reject(g.reason) : g.reason; + return g.value ? this.Promise ? g.value instanceof this.Promise ? g.value : Promise.resolve(g.value) : this.vta ? JSON.parse(this.vta(g.value, "gzip", !1)) : g.value : this.Promise ? Promise.reject(g.reason) : g.reason; }; - f.prototype.setData = function (g, h, m, n, r) { + f.prototype.setData = function (g, h, m, n, q) { var p, - u, - t; - this.zs("undefined" !== typeof g); - this.zs("undefined" !== typeof h); - p = this.kC; - u = r ? r : "DEFAULTCAPS"; + t, + u; + this.Ds("undefined" !== typeof g); + this.Ds("undefined" !== typeof h); + p = this.mC; + t = q ? q : "DEFAULTCAPS"; p[h] || (p[h] = c(), Object.defineProperty(p[h], "numEntries", { enumerable: !1, configurable: !0, @@ -122007,143 +121999,143 @@ a000.D9b = function () { writable: !0, value: 0 })); - m = this.Kx ? this.Kx(JSON.stringify(m), "gzip", !0) : m; + m = this.Px ? this.Px(JSON.stringify(m), "gzip", !0) : m; p = p[h]; - this.$gb(g, h, u, p); - t = this; + this.ahb(g, h, t, p); + u = this; n = { - creationTime: this.wa.getTime(), + creationTime: this.xa.getTime(), value: m, size: 0, type: h, - Bha: n, - ewb: setTimeout(function () { - t.clearData(g, h, u, !1, "expired"); - }, this.bv[h] + 1) + vha: n, + kwb: setTimeout(function () { + u.clearData(g, h, t, !1, "expired"); + }, this.gv[h] + 1) }; p[g] = p[g] || c(); - p[g][u] = p[g][u] || c(); - p[g][u] = n; + p[g][t] = p[g][t] || c(); + p[g][t] = n; p.size += 0; p.numEntries++; - this.lp && this.lp.emit("addedCacheItem", n); + this.mp && this.mp.emit("addedCacheItem", n); return n; }; - f.prototype.$gb = function (g, h, m, n) { - var r, + f.prototype.ahb = function (g, h, m, n) { + var q, p, - u, t, + u, w, v, x, y, z; - r = this; + q = this; p = n.numEntries; - u = this.dB[h]; - t = n[g] && n[g][m]; - if (t && t.value) + t = this.fB[h]; + u = n[g] && n[g][m]; + if (u && u.value) (w = g, v = "promise_or_expired"); - else if (p >= u) { + else if (p >= t) { y = Number.POSITIVE_INFINITY; - Object.keys(n).every(function (B) { - var A; - A = n[B] && n[B][m]; - A && A.value && r.q4(h, A.creationTime) && (z = B); - A && A.value && A.creationTime < y && (y = A.creationTime, x = B); + Object.keys(n).every(function (A) { + var B; + B = n[A] && n[A][m]; + B && B.value && q.r4(h, B.creationTime) && (z = A); + B && B.value && B.creationTime < y && (y = B.creationTime, x = A); return !0; }); w = z || x; v = "cache_full"; } - this.We && this.log.debug("makespace ", { - maxCount: u, + this.Ye && this.log.debug("makespace ", { + maxCount: t, currentCount: n.numEntries, field: h, movieId: g, movieToBeRemoved: w }); - w && (r.clearData(w, h, m, void 0, v), this.log.debug("removed from cache: ", w, h)); + w && (q.clearData(w, h, m, void 0, v), this.log.debug("removed from cache: ", w, h)); }; - f.prototype.gga = function (g, h) { + f.prototype.aga = function (g, h) { var m, n; m = this; - m.zs("undefined" !== typeof g); + m.Ds("undefined" !== typeof g); n = g + ""; - h.forEach(function (r) { + h.forEach(function (q) { var p; - p = m.kC[r]; - p && Object.keys(p).forEach(function (u) { - u != n && m.clearData(u, r, void 0, void 0, "clear_all"); + p = m.mC[q]; + p && Object.keys(p).forEach(function (t) { + t != n && m.clearData(t, q, void 0, void 0, "clear_all"); }); }); }; - f.prototype.clearData = function (g, h, m, n, r) { + f.prototype.clearData = function (g, h, m, n, q) { var p; - this.zs("undefined" !== typeof g); - this.zs("undefined" !== typeof h); - p = this.kC[h]; + this.Ds("undefined" !== typeof g); + this.Ds("undefined" !== typeof h); + p = this.mC[h]; h = p ? p[g] : void 0; m = m ? m : "DEFAULTCAPS"; if (h && h[m]) { p.size -= h[m].size; p.numEntries--; if (p = h && h[m]) - (clearTimeout(p.ewb), h[m] = void 0, !n && p.Bha && p.Bha()); - this.lp && (g = { + (clearTimeout(p.kwb), h[m] = void 0, !n && p.vha && p.vha()); + this.mp && (g = { creationTime: p.creationTime, - destroyFn: p.Bha, + destroyFn: p.vha, size: p.size, type: p.type, value: p.value, - reason: r, + reason: q, movieId: g - }, this.lp.emit("deletedCacheItem", g)); + }, this.mp.emit("deletedCacheItem", g)); } }; f.prototype.flush = function (g) { var h; - this.zs("undefined" !== typeof g); - h = this.kC; + this.Ds("undefined" !== typeof g); + h = this.mC; h[g] = c(); h[g].numEntries = 0; h[g].size = 0; }; - f.prototype.ZNa = function () { + f.prototype.XNa = function () { var g, h; - this.zs(!1); + this.Ds(!1); g = this; - h = this.kC; + h = this.mC; h[void 0]instanceof Object && Object.keys(h[void 0]).forEach(function (m) { var n; n = h[void 0][m].DEFAULTCAPS; - g.wa.getTime() - n.creationTime > g.bv[void 0] && this.clearData(m, void 0, "DEFAULTCAPS", void 0, "clean_up"); + g.xa.getTime() - n.creationTime > g.gv[void 0] && this.clearData(m, void 0, "DEFAULTCAPS", void 0, "clean_up"); }); }; - f.prototype.q4 = function (g, h) { - return this.wa.getTime() - h > this.bv[g]; + f.prototype.r4 = function (g, h) { + return this.xa.getTime() - h > this.gv[g]; }; f.prototype.getStats = function (g, h, m) { var n, - r, + q, p, - u, - t; + t, + u; n = {}; - r = this; - p = r.kC; - u = k(g) && k(h); - t = m || "DEFAULTCAPS"; + q = this; + p = q.mC; + t = k(g) && k(h); + u = m || "DEFAULTCAPS"; Object.keys(p).forEach(function (w) { var v, x; v = Object.keys(p[w]); x = p[w]; v.forEach(function (y) { - !(y = x && x[y] && x[y][t]) || !k(y.value) || y.value instanceof this.Promise || (n[w] = (n[w] | 0) + 1, r.q4(y.type, y.creationTime) && (n[w + "_expired"] = (n[w + "_expired"] | 0) + 1), u && y.creationTime >= g && y.creationTime < h && (n[w + "_delta"] = (n[w + "_delta"] | 0) + 1)); + !(y = x && x[y] && x[y][u]) || !k(y.value) || y.value instanceof this.Promise || (n[w] = (n[w] | 0) + 1, q.r4(y.type, y.creationTime) && (n[w + "_expired"] = (n[w + "_expired"] | 0) + 1), t && y.creationTime >= g && y.creationTime < h && (n[w + "_delta"] = (n[w + "_delta"] | 0) + 1)); }); }); return n; @@ -122152,22 +122144,22 @@ a000.D9b = function () { var h, m, n, - r; + q; h = []; m = this; - n = m.kC; - r = g || "DEFAULTCAPS"; + n = m.mC; + q = g || "DEFAULTCAPS"; Object.keys(n).forEach(function (p) { - var u, - t; - u = Object.keys(n[p]); - t = n[p]; - u.forEach(function (w) { + var t, + u; + t = Object.keys(n[p]); + u = n[p]; + t.forEach(function (w) { var v, x; - v = t && t[w] && t[w][r]; + v = u && u[w] && u[w][q]; if (v && k(v.value)) { - x = m.q4(v.type, v.creationTime) ? "expired" : v.value instanceof this.Promise ? "loading" : "cached"; + x = m.r4(v.type, v.creationTime) ? "expired" : v.value instanceof this.Promise ? "loading" : "cached"; h.push({ movieId: w, state: x, @@ -122179,12 +122171,12 @@ a000.D9b = function () { }); return h; }; - f.prototype.zs = function (g) { - if (!g && (this.log.error("Debug Assert Failed", void 0), this.We)) + f.prototype.Ds = function (g) { + if (!g && (this.log.error("Debug Assert Failed", void 0), this.Ye)) throw Error("Debug Assert Failed "); }; - q.exports = f; - }, function (q) { + r.exports = f; + }, function (r) { function b(a) { var c; c = []; @@ -122201,7 +122193,7 @@ a000.D9b = function () { return !1; })(a); } - q.exports = function (a, c) { + r.exports = function (a, c) { var k; if (c && b(a)) return -1; @@ -122224,25 +122216,25 @@ a000.D9b = function () { } return f; }; - }, function (q) { - q.exports = { - bv: { + }, function (r) { + r.exports = { + gv: { sa: 12E5, - kU: 9E5, + jU: 9E5, xd: 12E5 }, - dB: { + fB: { sa: 10, - kU: 10, + jU: 10, xd: 10 }, - PE: { + QE: { sa: 10240, - kU: 10240, + jU: 10240, xd: 10240 } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -122255,25 +122247,25 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Ma = void 0; - q = a(0); + b.Pa = void 0; + r = a(0); c = a(186); - f = a(1076); - k = a(476); - l = a(1077); - d = a(477); - g = a(1078); - h = a(1079); - m = a(478); - n = a(1080); - b.Ma = new q.ad(function (r) { - r(c.Z9).to(f.uxa).$(); - r(k.RBa).to(l.QBa).$(); - r(d.LCa).to(g.KCa).$(); - r(d.YBa).to(h.XBa).$(); - r(m.WBa).to(n.VBa).$(); - }); - }, function (q, b, a) { + f = a(1079); + k = a(480); + l = a(1080); + d = a(481); + g = a(1081); + h = a(1082); + m = a(482); + n = a(1083); + b.Pa = new r.$c(function (q) { + q(c.U9).to(f.rxa).aa(); + q(k.PBa).to(l.OBa).aa(); + q(d.JCa).to(g.ICa).aa(); + q(d.WBa).to(h.VBa).aa(); + q(m.UBa).to(n.TBa).aa(); + }); + }, function (r, b, a) { var f, k, l, @@ -122281,8 +122273,8 @@ a000.D9b = function () { function c(g) { function h(m, n) { this.I = m; - this.vl = n; - this.s2 = !1; + this.ul = n; + this.t2 = !1; this.emit = d.prototype.emit; this.addListener = d.prototype.addListener; this.on = d.prototype.on; @@ -122292,23 +122284,23 @@ a000.D9b = function () { this.listeners = d.prototype.listeners; this.listenerCount = d.prototype.listenerCount; d.call(this); - this.cg = g.Cb("DownloadTrack"); + this.cg = g.Db("DownloadTrack"); } - h.prototype.gp = function () { + h.prototype.hp = function () { !1; - this.n0 = void 0; + this.p0 = void 0; this.emit("destroyed"); }; h.prototype.toString = function () { - return "id:" + this.n0 + " config: " + JSON.stringify(this.I); + return "id:" + this.p0 + " config: " + JSON.stringify(this.I); }; h.prototype.toJSON = function () { - return "Download Track id:" + this.n0 + " config: " + JSON.stringify(this.I); + return "Download Track id:" + this.p0 + " config: " + JSON.stringify(this.I); }; - h.prototype.S6 = function (m) { + h.prototype.P6 = function (m) { this.I.connections !== m.connections && (this.I = m); }; - h.prototype.Us = function () { + h.prototype.Zs = function () { return 1 < this.I.connections ? !0 : !1; }; Xa.Object.defineProperties(h.prototype, { @@ -122316,14 +122308,14 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.n0; + return this.p0; } }, - Hn: { + In: { configurable: !0, enumerable: !0, get: function () { - return void 0 === this.n0; + return void 0 === this.p0; } }, config: { @@ -122333,35 +122325,35 @@ a000.D9b = function () { return this.I; } }, - sG: { + yG: { configurable: !0, enumerable: !0, get: function () { return this.cg; } }, - Mm: { + Km: { configurable: !0, enumerable: !0, get: function () { - return this.vl.Mm; + return this.ul.Km; } } }); - this.PH = Object.assign(h, new l.vxa()); + this.XH = Object.assign(h, new l.sxa()); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.uxa = void 0; - q = a(1); + b.rxa = void 0; + r = a(1); f = a(0); k = a(8); l = a(186); d = a(109).EventEmitter; - c = q.__decorate([f.R(), q.__param(0, f.l(k.Kb))], c); - b.uxa = c; - }, function (q, b, a) { + c = r.__decorate([f.R(), r.__param(0, f.l(k.Ib))], c); + b.rxa = c; + }, function (r, b, a) { var f, k, l, @@ -122370,21 +122362,21 @@ a000.D9b = function () { h, m, n, - r, + q, p; - function c(u, t, w, v, x, y) { - this.NJ = u; - this.Bf = w; + function c(t, u, w, v, x, y) { + this.QJ = t; + this.Df = w; this.bb = v; - this.Pa = x; + this.La = x; this.config = y; - this.log = t.Cb("MediaHttp"); + this.log = u.Db("MediaHttp"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.QBa = void 0; - q = a(1); + b.OBa = void 0; + r = a(1); f = a(187); k = a(94); l = a(3); @@ -122393,204 +122385,204 @@ a000.D9b = function () { h = a(115); m = a(26); n = a(20); - r = a(5); + q = a(4); a = a(15); - c.prototype.jy = function () { - return this.Pa.Zb().ea(r.ma); + c.prototype.oy = function () { + return this.La.Xb().ea(q.ma); }; - c.prototype.EZa = function (u, t) { - u.TJb({ - mediaRequest: u, - timestamp: t + c.prototype.CZa = function (t, u) { + t.VJb({ + mediaRequest: t, + timestamp: u }); }; - c.prototype.XZa = function (u) { - var t; - t = u.mediaRequest.Sy; - t.readyState = f.bc.zc.Hw; - u = u.connect ? u : { - timestamp: this.jy(), + c.prototype.WZa = function (t) { + var u; + u = t.mediaRequest.Vy; + u.readyState = f.cc.Bc.Nw; + t = t.connect ? t : { + timestamp: this.oy(), connect: !1 }; - u.mediaRequest = t; - u.readyState = t.readyState; - t.woa(u); + t.mediaRequest = u; + t.readyState = u.readyState; + u.roa(t); }; - c.prototype.d6 = function (u) { - this.EZa(u.mediaRequest.Sy, u.timestamp); + c.prototype.d6 = function (t) { + this.CZa(t.mediaRequest.Vy, t.timestamp); }; - c.prototype.f6 = function (u) { - var t, + c.prototype.f6 = function (t) { + var u, w; - t = u.mediaRequest.Sy; - w = u.bytes; - "undefined" === typeof t ? !1 : (t.readyState === f.bc.zc.Jw && this.XZa(u), this.bb.$h(w) && (u.mediaRequest = t, u.timestamp = this.jy(), w > t.bytesReceived && (u.newBytes = w - t.bytesReceived, u.bytesLoaded = w, t.WJb(u)))); + u = t.mediaRequest.Vy; + w = t.bytes; + "undefined" === typeof u ? !1 : (u.readyState === f.cc.Bc.Ow && this.WZa(t), this.bb.$h(w) && (t.mediaRequest = u, t.timestamp = this.oy(), w > u.bytesReceived && (t.newBytes = w - u.bytesReceived, t.bytesLoaded = w, u.YJb(t)))); }; - c.prototype.Rm = function (u) { - var t, + c.prototype.Qm = function (t) { + var u, w, v, x; - t = u.mediaRequest; - w = u.errorcode; - v = u.httpcode; - x = f.bc.rY; - if ("undefined" === typeof t) + u = t.mediaRequest; + w = t.errorcode; + v = t.httpcode; + x = f.cc.qY; + if ("undefined" === typeof u) !1; - else if ((t = t.Sy, "undefined" === typeof t)) + else if ((u = u.Vy, "undefined" === typeof u)) !1; - else if (t.readyState !== f.bc.zc.UH) - if (w === l.M.$z) - (t.readyState = f.bc.zc.hO, u.mediaRequest = t, u.readyState = t.readyState, t.PJb(u)); + else if (u.readyState !== f.cc.Bc.bI) + if (w === l.L.aA) + (u.readyState = f.cc.Bc.gO, t.mediaRequest = u, t.readyState = u.readyState, u.RJb(t)); else { - t.readyState = f.bc.zc.UH; + u.readyState = f.cc.Bc.bI; switch (w) { - case l.M.dP: - v = x.Yva; + case l.L.dP: + v = x.Vva; break; - case l.M.w$: - v = x.t$; + case l.L.o$: + v = x.l$; break; - case l.M.aP: - v = 400 < v && 500 > v ? x.v$ : 500 <= v ? x.jza : x.t$; + case l.L.aP: + v = 400 < v && 500 > v ? x.n$ : 500 <= v ? x.hza : x.l$; break; - case l.M.bP: - v = x.u$; + case l.L.bP: + v = x.m$; break; - case l.M.$O: - v = x.Zva; + case l.L.$O: + v = x.Wva; break; - case l.M.cP: + case l.L.cP: v = x.HY; break; - case l.M.jD: + case l.L.lD: v = x.HY; break; - case l.M.iza: - v = x.hza; + case l.L.gza: + v = x.fza; break; - case l.M.eza: - v = x.v$; + case l.L.cza: + v = x.n$; break; - case l.M.Z9a: - v = x.u$; + case l.L.a$a: + v = x.m$; break; default: v = x.HY; } - u.mediaRequest = t; - u.readyState = t.readyState; - u.errorcode = v; - u.nativecode = w; - t.yoa(u); + t.mediaRequest = u; + t.readyState = u.readyState; + t.errorcode = v; + t.nativecode = w; + u.toa(t); } }; - c.prototype.Roa = function (u, t) { + c.prototype.Moa = function (t, u) { var w, v; - w = t.request.Sy; + w = u.request.Vy; if (w) - if (t.X) { - if ((!1, u.j && w.readyState !== f.bc.zc.DONE)) { + if (u.W) { + if ((!1, t.j && w.readyState !== f.cc.Bc.DONE)) { switch (w.readyState) { - case f.bc.zc.hO: + case f.cc.Bc.gO: !1; return; - case f.bc.zc.UH: + case f.cc.Bc.bI: !1; break; - case f.bc.zc.Hw: + case f.cc.Bc.Nw: break; - case f.bc.zc.Jw: - this.XZa({ - mediaRequest: t.request + case f.cc.Bc.Ow: + this.WZa({ + mediaRequest: u.request }); break; default: !1; } - w.readyState = f.bc.zc.DONE; - if (!w.Lc) { + w.readyState = f.cc.Bc.DONE; + if (!w.Nc) { v = { mediaRequest: w, readyState: w.readyState, - timestamp: this.jy(), - cadmiumResponse: t + timestamp: this.oy(), + cadmiumResponse: u }; - u.j.ita += 1; - w.LBb(); - w.dFb() && (u.j.hra += 1, t.Rl.Oh = Math.ceil(w.Qia), t.Rl.fo = Math.ceil(w.WE), t.Rl.Np = Math.floor(w.aC)); - w.o1 = v; - w.jM(v); + t.j.cta += 1; + w.NBb(); + w.hFb() && (t.j.ara += 1, u.Rl.Nh = Math.ceil(w.Jia), u.Rl.ho = Math.ceil(w.YE), u.Rl.Qp = Math.floor(w.cC)); + w.q1 = v; + w.lM(v); } } - } else (!1, w.readyState === f.bc.zc.hO ? !1 : (u = { - mediaRequest: t.request, - timestamp: this.jy(), - errorcode: t.oa, - httpcode: t.lk - }, this.Rm(u))); + } else (!1, w.readyState === f.cc.Bc.gO ? !1 : (t = { + mediaRequest: u.request, + timestamp: this.oy(), + errorcode: u.oa, + httpcode: u.lk + }, this.Qm(t))); }; - c.prototype.download = function (u, t) { + c.prototype.download = function (t, u) { var w, v; w = this; - t = this.Bf.download(u, t); - if (u.Sy) { - v = u.Sy; - -1 < [f.bc.zc.OPENED, f.bc.zc.UH].indexOf(v.readyState) && (v.readyState = f.bc.zc.Jw, this.config().qIb ? t.aSb(function (x) { + u = this.Df.download(t, u); + if (t.Vy) { + v = t.Vy; + -1 < [f.cc.Bc.OPENED, f.cc.Bc.bI].indexOf(v.readyState) && (v.readyState = f.cc.Bc.Ow, this.config().sIb ? u.dSb(function (x) { w.d6(x); - }) : this.EZa(v, this.jy())); + }) : this.CZa(v, this.oy())); } - t.lea(function (x) { - w.Roa(u, x); + u.fea(function (x) { + w.Moa(t, x); }); - t.iSb(function (x) { + u.lSb(function (x) { w.f6(x); }); - t.SRb(function (x) { - w.Rm(x); + u.VRb(function (x) { + w.Qm(x); }); - return t; + return u; }; p = c; - p = q.__decorate([g.R(), q.__param(0, g.l(k.iO)), q.__param(1, g.l(d.Kb)), q.__param(2, g.l(h.dA)), q.__param(3, g.l(m.Gf)), q.__param(4, g.l(n.zd)), q.__param(5, g.l(a.dd))], p); - b.QBa = p; - }, function (q, b, a) { + p = r.__decorate([g.R(), r.__param(0, g.l(k.hO)), r.__param(1, g.l(d.Ib)), r.__param(2, g.l(h.eA)), r.__param(3, g.l(m.Hf)), r.__param(4, g.l(n.zd)), r.__param(5, g.l(a.ed))], p); + b.OBa = p; + }, function (r, b, a) { var f, k, l; function c(d, g) { - this.Bf = g; - this.log = d.Cb("OpenConnectSideChannel"); + this.Df = g; + this.log = d.Db("OpenConnectSideChannel"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.KCa = void 0; - q = a(1); + b.ICa = void 0; + r = a(1); f = a(0); k = a(8); a = a(115); - c.prototype.dT = function (d, g, h) { + c.prototype.cT = function (d, g, h) { d = { url: d.url, - $Qb: h + eRb: h }; !1; - this.Bf.dTb(d); + this.Df.gTb(d); }; - c.prototype.DE = function (d) { + c.prototype.FE = function (d) { try { - d.ola(); + d.jla(); } catch (g) { this.log.warn("exception aborting request"); } }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(a.dA))], l); - b.KCa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(a.eA))], l); + b.ICa = l; + }, function (r, b, a) { var f, k, l, @@ -122599,105 +122591,105 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x, y, z) { - this.Pa = t; - this.Oq = w; + t; + function c(u, w, v, x, y, z) { + this.La = u; + this.Pq = w; this.config = v; - this.Bf = y; - this.oIb = z; - this.log = x.Cb("MediaRequestDownloader"); + this.Df = y; + this.rIb = z; + this.log = x.Db("MediaRequestDownloader"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.XBa = void 0; - q = a(1); + b.VBa = void 0; + r = a(1); f = a(53); k = a(0); l = a(8); d = a(115); - g = a(476); + g = a(480); h = a(81); m = a(187); n = a(20); - r = a(5); + q = a(4); p = a(38); a = a(15); - c.prototype.dT = function (t, w, v) { + c.prototype.cT = function (u, w, v) { var y, z, - B; + A; function x() { - t.removeEventListener(m.bc.ue.DD, x); - t.QS ? t.QS++ : t.QS = 1; - t.QS >= y.config().zia.length && (t.QS = y.config().zia.length - 1); + u.removeEventListener(m.cc.we.FD, x); + u.PS ? u.PS++ : u.PS = 1; + u.PS >= y.config().ria.length && (u.PS = y.config().ria.length - 1); setTimeout(function () { - y.dT(t, w, v); - }, y.config().zia[t.QS]); + y.cT(u, w, v); + }, y.config().ria[u.PS]); } y = this; - t.w5b = !0; - z = this.oIb.download({ - url: t.url, - responseType: this.Bf.xdb.O7a, + u.H5b = !0; + z = this.rIb.download({ + url: u.url, + responseType: this.Df.Adb.Q7a, withCredentials: !1, - hF: t.mediaType === f.ic.Za.Tb ? "audio" : "video", + kF: u.mediaType === f.Qb.Ra.Ob ? "audio" : "video", offset: w.start, - length: t.Tj, + length: u.Tj, track: { - type: t.mediaType === f.ic.Za.Tb ? h.Uh.audio : h.Uh.video + type: u.mediaType === f.Qb.Ra.Ob ? h.Uh.audio : h.Uh.video }, stream: { - Dd: t.La, - bitrate: t.bitrate + Cd: u.Ma, + bitrate: u.bitrate }, - Pc: t.Rc, - Sy: t, - H7: v, - St: this.Oq.St - }, function (A) { - A.X && t.readyState !== m.bc.zc.DONE && (t.readyState === m.bc.zc.hO ? !1 : (t.readyState === m.bc.zc.UH ? !1 : t.readyState === m.bc.zc.Jw ? (t.readyState = m.bc.zc.Hw, t.woa({ - mediaRequest: t, - readyState: t.readyState, - timestamp: y.jy(), + pc: u.Qc, + Vy: u, + D7: v, + Yt: this.Pq.Yt + }, function (B) { + B.W && u.readyState !== m.cc.Bc.DONE && (u.readyState === m.cc.Bc.gO ? !1 : (u.readyState === m.cc.Bc.bI ? !1 : u.readyState === m.cc.Bc.Ow ? (u.readyState = m.cc.Bc.Nw, u.roa({ + mediaRequest: u, + readyState: u.readyState, + timestamp: y.oy(), connect: !1 - })) : t.readyState !== m.bc.zc.Jw && t.readyState !== m.bc.zc.Hw && !1, t.readyState = m.bc.zc.DONE, A = { - mediaRequest: t, - readyState: t.readyState, - timestamp: y.jy(), - cadmiumResponse: A, - response: A.content - }, t.o1 = A, t.jM(A))); - }); - if (t.Lc) { - B = { - mediaRequest: t, - readyState: t.readyState, - timestamp: this.jy(), + })) : u.readyState !== m.cc.Bc.Ow && u.readyState !== m.cc.Bc.Nw && !1, u.readyState = m.cc.Bc.DONE, B = { + mediaRequest: u, + readyState: u.readyState, + timestamp: y.oy(), + cadmiumResponse: B, + response: B.content + }, u.q1 = B, u.lM(B))); + }); + if (u.Nc) { + A = { + mediaRequest: u, + readyState: u.readyState, + timestamp: this.oy(), connect: !1 }; - t.woa(B); + u.roa(A); } - t.addEventListener(m.bc.ue.DD, x); - t.ola = z.abort; + u.addEventListener(m.cc.we.FD, x); + u.jla = z.abort; }; - c.prototype.DE = function (t) { + c.prototype.FE = function (u) { try { - t.ola(); + u.jla(); } catch (w) { this.log.warn("exception aborting request"); } }; - c.prototype.jy = function () { - return this.Pa.Zb().ea(r.ma); + c.prototype.oy = function () { + return this.La.Xb().ea(q.ma); }; - u = c; - u = q.__decorate([k.R(), q.__param(0, k.l(n.zd)), q.__param(1, k.l(p.gm)), q.__param(2, k.l(a.dd)), q.__param(3, k.l(l.Kb)), q.__param(4, k.l(d.dA)), q.__param(5, k.l(g.RBa))], u); - b.XBa = u; - }, function (q, b, a) { + t = c; + t = r.__decorate([k.R(), r.__param(0, k.l(n.zd)), r.__param(1, k.l(p.fm)), r.__param(2, k.l(a.ed)), r.__param(3, k.l(l.Ib)), r.__param(4, k.l(d.eA)), r.__param(5, k.l(g.PBa))], t); + b.VBa = t; + }, function (r, b, a) { var f, k, l, @@ -122706,115 +122698,115 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t, w, v) { - function x(z, B) { + function c(q, p, t, u, w, v) { + function x(z, A) { this.track = z; - this.label = B; - this.fh = n.bc.zc.UNSENT; + this.label = A; + this.bh = n.cc.Bc.UNSENT; this.bytesReceived = 0; - this.kr = []; - this.requestId = v.lB().toString(); - this.bb = u; - this.log = p.Cb("MediaRequest"); - this.config = r; - this.Pb = new m.Wj(); - "notification" === this.label ? this.config().ay && (this.Mm = t) : this.Mm = w; + this.mr = []; + this.requestId = v.mB().toString(); + this.bb = t; + this.log = p.Db("MediaRequest"); + this.config = q; + this.Rb = new m.Wj(); + "notification" === this.label ? this.config().fy && (this.Km = u) : this.Km = w; !1; } - function y(z, B) { - this.requestId = v.lB().toString(); - this.bb = u; - this.log = p.Cb("MediaRequest"); - this.config = r; - this.Pb = new m.Wj(); - this.label = B; - "notification" === this.label ? this.config().ay && (this.Mm = t) : this.Mm = w; - this.XT = this.VJ = this.WJ = void 0; + function y(z, A) { + this.requestId = v.mB().toString(); + this.bb = t; + this.log = p.Db("MediaRequest"); + this.config = q; + this.Rb = new m.Wj(); + this.label = A; + "notification" === this.label ? this.config().fy && (this.Km = u) : this.Km = w; + this.VT = this.ZJ = this.$J = void 0; this.track = z; - this.W0 = this.url = this.responseType = void 0; - this.fh = n.bc.zc.UNSENT; - this.Ri = this.JK = this.Og = this.status = void 0; - this.er = this.bytesReceived = 0; - this.connect = this.Qia = this.WE = this.aC = this.wma = this.Ye = this.Pia = this.loadTime = this.yJ = void 0; - this.kr = []; - this.Hn = !1; + this.Y0 = this.url = this.responseType = void 0; + this.bh = n.cc.Bc.UNSENT; + this.Oi = this.NK = this.Mg = this.status = void 0; + this.fr = this.bytesReceived = 0; + this.connect = this.Jia = this.YE = this.cC = this.qma = this.Ze = this.Iia = this.loadTime = this.AJ = void 0; + this.mr = []; + this.In = !1; !1; } - x.prototype.addEventListener = function (z, B, A) { - this.Pb.addListener.call(this, z, B, A); + x.prototype.addEventListener = function (z, A, B) { + this.Rb.addListener.call(this, z, A, B); }; - x.prototype.removeEventListener = function (z, B) { - this.Pb.removeListener.call(this, z, B); + x.prototype.removeEventListener = function (z, A) { + this.Rb.removeListener.call(this, z, A); }; - x.prototype.emit = function (z, B, A) { - this.Pb.tc.call(this, z, B, A); + x.prototype.emit = function (z, A, B) { + this.Rb.qc.call(this, z, A, B); }; - x.prototype.TJb = function (z) { - this.fh === n.bc.zc.OPENED && (this.XT = !0, this.loadTime = this.Ye = z.timestamp, !1, this.fh = n.bc.zc.Jw, this.emit(n.bc.ue.DCa, z)); + x.prototype.VJb = function (z) { + this.bh === n.cc.Bc.OPENED && (this.VT = !0, this.loadTime = this.Ze = z.timestamp, !1, this.bh = n.cc.Bc.Ow, this.emit(n.cc.we.BCa, z)); }; - x.prototype.woa = function (z) { - var B; - if (this.fh < n.bc.zc.Hw) { - this.kr = []; - B = z.timestamp - this.loadTime; - !this.Lc && 0 < B && (this.connect = !0, this.kr.push(B)); - !0 === this.config().uDb ? this.Pia = z.timestamp : this.Pia = this.Ye = z.timestamp; + x.prototype.roa = function (z) { + var A; + if (this.bh < n.cc.Bc.Nw) { + this.mr = []; + A = z.timestamp - this.loadTime; + !this.Nc && 0 < A && (this.connect = !0, this.mr.push(A)); + !0 === this.config().yDb ? this.Iia = z.timestamp : this.Iia = this.Ze = z.timestamp; !1; - this.fh = n.bc.zc.Hw; - this.emit(n.bc.ue.CCa, z); + this.bh = n.cc.Bc.Nw; + this.emit(n.cc.we.ACa, z); } }; - x.prototype.WJb = function (z) { - this.fh === n.bc.zc.Hw && (!1, this.wma = this.Ye = z.timestamp, z.newBytes = z.bytesLoaded - this.bytesReceived, this.bytesReceived = z.bytesLoaded, this.bb.eg(this.wma) && this.emit(n.bc.ue.ECa, z)); + x.prototype.YJb = function (z) { + this.bh === n.cc.Bc.Nw && (!1, this.qma = this.Ze = z.timestamp, z.newBytes = z.bytesLoaded - this.bytesReceived, this.bytesReceived = z.bytesLoaded, this.bb.eg(this.qma) && this.emit(n.cc.we.CCa, z)); }; - x.prototype.jM = function (z) { - -1 < [n.bc.zc.Jw, n.bc.zc.Hw].indexOf(this.fh) && (this.XT = !1, !1, this.Ye = z.timestamp, this.fh = n.bc.zc.DONE, z.newBytes = this.Tj - this.bytesReceived, this.bytesReceived = this.Tj, this.bb.eg(this.WE) && (this.Ye = this.WE, 0 === z.newBytes && (this.wma = this.WE)), this.bb.eg(this.aC) && (this.loadTime = this.aC), this.yJ = z.response, this.emit(n.bc.ue.tP, z)); + x.prototype.lM = function (z) { + -1 < [n.cc.Bc.Ow, n.cc.Bc.Nw].indexOf(this.bh) && (this.VT = !1, !1, this.Ze = z.timestamp, this.bh = n.cc.Bc.DONE, z.newBytes = this.Tj - this.bytesReceived, this.bytesReceived = this.Tj, this.bb.eg(this.YE) && (this.Ze = this.YE, 0 === z.newBytes && (this.qma = this.YE)), this.bb.eg(this.cC) && (this.loadTime = this.cC), this.AJ = z.response, this.emit(n.cc.we.uP, z)); }; - x.prototype.PJb = function (z) { - this.XT = !1; + x.prototype.RJb = function (z) { + this.VT = !1; !1; - this.emit(n.bc.ue.hcb, z); + this.emit(n.cc.we.lcb, z); }; - x.prototype.yoa = function (z) { - this.Ye = z.timestamp; + x.prototype.toa = function (z) { + this.Ze = z.timestamp; this.status = z.httpcode; - this.Og = z.errorcode; - this.JK = n.bc.rY.name[this.Og]; - this.Ri = z.nativecode; + this.Mg = z.errorcode; + this.NK = n.cc.qY.name[this.Mg]; + this.Oi = z.nativecode; !1; - this.emit(n.bc.ue.DD, z); - this.XT = !1; + this.emit(n.cc.we.FD, z); + this.VT = !1; }; - x.prototype.open = function (z, B, A, C, E, F, D) { - this.Yv = !1; - this.W0 = B; + x.prototype.open = function (z, A, B, C, E, G, D) { + this.cw = !1; + this.Y0 = A; this.url = z; - this.responseType = A; + this.responseType = B; !1; if (!this.url) return (!1, !1); - this.fh = n.bc.zc.OPENED; - this.Mm.dT(this, B, D); + this.bh = n.cc.Bc.OPENED; + this.Km.cT(this, A, D); return !0; }; - x.prototype.Ic = function () { + x.prototype.Kc = function () { !1; - -1 !== [n.bc.zc.OPENED, n.bc.zc.Jw, n.bc.zc.Hw].indexOf(this.fh) && this.abort(); + -1 !== [n.cc.Bc.OPENED, n.cc.Bc.Ow, n.cc.Bc.Nw].indexOf(this.bh) && this.abort(); return !0; }; - x.prototype.$Na = function () { - this.yJ = void 0; - this.o1 && (this.o1.response = void 0, this.o1.cadmiumResponse.content = void 0); - this.ola = void 0; + x.prototype.YNa = function () { + this.AJ = void 0; + this.q1 && (this.q1.response = void 0, this.q1.cadmiumResponse.content = void 0); + this.jla = void 0; }; - x.prototype.a8 = function (z) { + x.prototype.W7 = function (z) { !1; this.url = z; return !0; }; x.prototype.abort = function () { - this.fh = n.bc.zc.hO; - this.Mm.DE(this); + this.bh = n.cc.Bc.gO; + this.Km.FE(this); return !0; }; x.prototype.pause = function () {}; @@ -122824,7 +122816,7 @@ a000.D9b = function () { x.prototype.getAllResponseHeaders = function () { return ""; }; - x.prototype.SV = function () {}; + x.prototype.RV = function () {}; x.prototype.Jh = function () { return this.requestId; }; @@ -122833,12 +122825,12 @@ a000.D9b = function () { z = { requestId: this.Jh(), segmentId: this.va, - isHeader: this.Lc, - ptsStart: this.ez, - ptsOffset: this.Ct, + isHeader: this.Nc, + ptsStart: this.hz, + ptsOffset: this.Ht, responseType: this.responseType, - duration: this.Zx, - readystate: this.fh + duration: this.dy, + readystate: this.bh }; this.stream && (z.bitrate = this.stream.bitrate); return JSON.stringify(z); @@ -122846,34 +122838,34 @@ a000.D9b = function () { x.prototype.toJSON = function () { return this.toString(); }; - x.prototype.LBb = function () { + x.prototype.NBb = function () { var z, - B; - if (this.config().s6a && d.iu && d.iu.getEntriesByType && (!this.bb.eg(this.aC) || !this.bb.eg(this.WE) && this.bb.eg(this.url))) { - z = "" + this.url.split("nflxvideo.net")[0].split("//").pop() + ("*nflxvideo.net/range/" + this.WJ + "-" + this.VJ + "*"); - B = new RegExp(z); - z = d.iu.getEntriesByType("resource").filter(function (A) { - return B.exec(A.name); + A; + if (this.config().v6a && d.pu && d.pu.getEntriesByType && (!this.bb.eg(this.cC) || !this.bb.eg(this.YE) && this.bb.eg(this.url))) { + z = "" + this.url.split("nflxvideo.net")[0].split("//").pop() + ("*nflxvideo.net/range/" + this.$J + "-" + this.ZJ + "*"); + A = new RegExp(z); + z = d.pu.getEntriesByType("resource").filter(function (B) { + return A.exec(B.name); })[0]; - this.bb.eg(z) && (0 < z.startTime && (this.aC = z.startTime, 0 < z.requestStart && (this.aC = Math.max(this.aC, z.requestStart))), 0 < z.responseStart && (this.Qia = z.responseStart), 0 < z.responseEnd && (this.WE = z.responseEnd)); + this.bb.eg(z) && (0 < z.startTime && (this.cC = z.startTime, 0 < z.requestStart && (this.cC = Math.max(this.cC, z.requestStart))), 0 < z.responseStart && (this.Jia = z.responseStart), 0 < z.responseEnd && (this.YE = z.responseEnd)); } }; - x.prototype.dFb = function () { - return this.bb.eg(this.aC) && this.bb.eg(this.WE) && this.bb.eg(this.Qia); + x.prototype.hFb = function () { + return this.bb.eg(this.cC) && this.bb.eg(this.YE) && this.bb.eg(this.Jia); }; Xa.Object.defineProperties(x.prototype, { Tj: { configurable: !0, enumerable: !0, get: function () { - return this.W0.end - this.W0.start + 1; + return this.Y0.end - this.Y0.start + 1; } }, byteLength: { configurable: !0, enumerable: !0, get: function () { - return this.VJ - this.WJ + 1; + return this.ZJ - this.$J + 1; } }, WUa: { @@ -122883,66 +122875,66 @@ a000.D9b = function () { return !!(this.response && 0 < this.response.byteLength); } }, - Lc: { + Nc: { configurable: !0, enumerable: !0, get: function () { - return !this.TB; + return !this.VB; } }, response: { configurable: !0, enumerable: !0, get: function () { - return this.yJ; + return this.AJ; } }, readyState: { configurable: !0, enumerable: !0, get: function () { - return this.fh; + return this.bh; }, set: function () {} } }); Object.getOwnPropertyNames(x.prototype).forEach(function (z) { - var B; - B = Object.getOwnPropertyDescriptor(x.prototype, z); - Object.defineProperty(y.prototype, z, B); + var A; + A = Object.getOwnPropertyDescriptor(x.prototype, z); + Object.defineProperty(y.prototype, z, A); }); - this.kq = Object.assign(y, n.bc); + this.mq = Object.assign(y, n.cc); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.VBa = void 0; - q = a(1); + b.TBa = void 0; + r = a(1); f = a(0); k = a(8); l = a(15); d = a(11); g = a(26); - h = a(477); - m = a(72); + h = a(481); + m = a(73); n = a(187); a = a(92); - c = q.__decorate([f.R(), q.__param(0, f.l(l.dd)), q.__param(1, f.l(k.Kb)), q.__param(2, f.l(g.Gf)), q.__param(3, f.l(h.LCa)), q.__param(4, f.l(h.YBa)), q.__param(5, f.l(a.cA))], c); - b.VBa = c; - }, function (q, b, a) { + c = r.__decorate([f.R(), r.__param(0, f.l(l.ed)), r.__param(1, f.l(k.Ib)), r.__param(2, f.l(g.Hf)), r.__param(3, f.l(h.JCa)), r.__param(4, f.l(h.WBa)), r.__param(5, f.l(a.dA))], c); + b.TBa = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.dZa = void 0; - q = a(0); - c = a(319); - f = a(1082); - b.dZa = new q.ad(function (k) { - k(c.iaa).to(f.mCa).$(); + b.aZa = void 0; + r = a(0); + c = a(321); + f = a(1085); + b.aZa = new r.$c(function (k) { + k(c.aaa).to(f.kCa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -122954,44 +122946,44 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.mCa = void 0; - q = a(1); + b.kCa = void 0; + r = a(1); f = a(44); k = a(45); l = a(0); d = a(37); - g = a(5); - ka(c, k.ff); + g = a(4); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - WYa: { + TYa: { configurable: !0, enumerable: !0, get: function () { - return g.uc(5E3); + return g.wc(5E3); } }, - j_a: { + h_a: { configurable: !0, enumerable: !0, get: function () { - return g.uc(1E3); + return g.wc(1E3); } }, - k_a: { + i_a: { configurable: !0, enumerable: !0, get: function () { - return g.uc(1E3); + return g.wc(1E3); } } }); a = c; - q.__decorate([f.config(f.vk, "minDecoderBufferMilliseconds")], a.prototype, "WYa", null); - q.__decorate([f.config(f.vk, "optimalDecoderBufferMilliseconds")], a.prototype, "j_a", null); - q.__decorate([f.config(f.vk, "optimalDecoderBufferMillisecondsBranching")], a.prototype, "k_a", null); - a = q.__decorate([l.R(), q.__param(0, l.l(d.km))], a); - b.mCa = a; - }, function (q, b, a) { + r.__decorate([f.config(f.uk, "minDecoderBufferMilliseconds")], a.prototype, "TYa", null); + r.__decorate([f.config(f.uk, "optimalDecoderBufferMilliseconds")], a.prototype, "h_a", null); + r.__decorate([f.config(f.uk, "optimalDecoderBufferMillisecondsBranching")], a.prototype, "i_a", null); + a = r.__decorate([l.R(), r.__param(0, l.l(d.jm))], a); + b.kCa = a; + }, function (r, b, a) { var c, f, k, @@ -123001,136 +122993,136 @@ a000.D9b = function () { h, m, n, - r; + q; Object.defineProperty(b, "__esModule", { value: !0 }); - b.R_a = void 0; - q = a(0); - c = a(479); - f = a(1084); - k = a(70); - l = a(1086); - d = a(482); - g = a(1087); - h = a(371); - m = a(1088); + b.P_a = void 0; + r = a(0); + c = a(483); + f = a(1087); + k = a(71); + l = a(1089); + d = a(486); + g = a(1090); + h = a(373); + m = a(1091); n = a(188); - r = a(1089); - b.R_a = new q.ad(function (p) { - p(k.ku).to(l.oDa).$(); - p(c.qDa).to(f.pDa).$(); - p(h.ADa).to(m.zDa); - p(h.yDa).sf(function (u) { + q = a(1092); + b.P_a = new r.$c(function (p) { + p(k.ru).to(l.kDa).aa(); + p(c.mDa).to(f.lDa).aa(); + p(h.wDa).to(m.vDa); + p(h.uDa).sf(function (t) { return function () { - return u.$a.get(h.ADa); + return t.$a.get(h.wDa); }; }); - p(d.VDa).to(g.UDa).$(); - p(n.iZ).to(r.RDa).$(); + p(d.TDa).to(g.SDa).aa(); + p(n.iZ).to(q.PDa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B; - function c(A) { - this.config = A; - this.Ix = []; + A; + function c(B) { + this.config = B; + this.Nx = []; } - function f(A, C, E) { - this.Pa = A; - this.QN = C; + function f(B, C, E) { + this.La = B; + this.RN = C; this.context = E; - this.startTime = this.Pa.Zb(); + this.startTime = this.La.Xb(); } - function k(A, C, E, F, D, G, I, J, H) { - this.w5a = C; + function k(B, C, E, G, D, F, J, K, H) { + this.y5a = C; this.json = E; - this.Pa = F; - this.Oq = D; - this.iqa = G; - this.vc = I; - this.config = J; - this.Pb = H; - this.log = A.Cb("Pbo"); - J.r1a && (this.Ix = new c(J)); - this.QN = this.w5a(); + this.La = G; + this.Pq = D; + this.cqa = F; + this.xc = J; + this.config = K; + this.Rb = H; + this.log = B.Db("Pbo"); + K.r1a && (this.Nx = new c(K)); + this.RN = this.y5a(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.pDa = void 0; - q = a(1); + b.lDa = void 0; + r = a(1); l = a(0); - d = a(5); - g = a(480); + d = a(4); + g = a(484); h = a(8); m = a(36); n = a(20); - r = a(38); + q = a(38); p = a(136); - u = a(46); - t = a(481); - w = a(70); + t = a(46); + u = a(485); + w = a(71); v = a(93); x = a(18); y = a(48); - z = a(1085); - B = { + z = a(1088); + A = { "shakti-": "akira", "UI-": "chromecast" }; - k.prototype.send = function (A, C) { + k.prototype.send = function (B, C) { var E; - E = new f(this.Pa, this.QN, A); - this.Ix && this.Ix.append(E); - return this.Mra(A, C, E); + E = new f(this.La, this.RN, B); + this.Nx && this.Nx.append(E); + return this.Fra(B, C, E); }; - k.prototype.Mra = function (A, C, E) { - var F; - F = this; - return new Promise(function (D, G) { - F.retry(A, C).then(function (I) { - var J, + k.prototype.Fra = function (B, C, E) { + var G; + G = this; + return new Promise(function (D, F) { + G.retry(B, C).then(function (J) { + var K, H; - F.zRb(I); - J = aa(F.EXb(I)); - H = J.next().value; - J = J.next().value; - H && (F.Zob(E), D(I)); - J && (F.nOa(E, J), G(J)); - }).catch(function (I) { - var J; - J = F.nOa(E, I); - I.sb && (I.sb = [I.sb, " ", J].join("")); - G(I); + G.CRb(J); + K = aa(G.GXb(J)); + H = K.next().value; + K = K.next().value; + H && (G.$ob(E), D(J)); + K && (G.lOa(E, K), F(K)); + }).catch(function (J) { + var K; + K = G.lOa(E, J); + J.qb && (J.qb = [J.qb, " ", K].join("")); + F(J); }); }); }; - k.prototype.zRb = function (A) { - (A = A.serverTime) && this.Pb.tc(x.F$.M2a, d.uc(A)); + k.prototype.CRb = function (B) { + (B = B.serverTime) && this.Rb.qc(x.x$.M2a, d.wc(B)); }; - k.prototype.EXb = function (A) { + k.prototype.GXb = function (B) { var C; !1; - C = A.result; - if (("deviceCommand" in A)) { - A = A.deviceCommand; - this.log.trace("Received device command '" + A + "'"); - switch (A) { + C = B.result; + if (("deviceCommand" in B)) { + B = B.deviceCommand; + this.log.trace("Received device command '" + B + "'"); + switch (B) { case "reset": C = "RESET_DEVICE"; break; @@ -123141,28 +123133,28 @@ a000.D9b = function () { C = "EXIT_DEVICE"; break; default: - (C = "FAIL", this.log.error("Unhandled device command '" + A + "'")); + (C = "FAIL", this.log.error("Unhandled device command '" + B + "'")); } return [, { - tC: !0, + vC: !0, code: C, detail: { - message: "Server sent device action to '" + A + "' device" + message: "Server sent device action to '" + B + "' device" } } ]; } if (C) return (!1, [C, void 0]); - if (A.code) - return (this.log.error("Response did not contain a result or an error but did contain an error code", A), [, { - code: A.code, + if (B.code) + return (this.log.error("Response did not contain a result or an error but did contain an error code", B), [, { + code: B.code, detail: { - message: A.message + message: B.message } } ]); - this.log.error("Response did not contain a result or an error", A); + this.log.error("Response did not contain a result or an error", B); return [, { code: "FAIL", detail: { @@ -123171,58 +123163,29 @@ a000.D9b = function () { } ]; }; - k.prototype.YLb = function (A) { - var C; - if (A) { - try { - C = this.json.parse(A); - } catch (E) { - throw { - tC: !0, - code: "FAIL", - message: "Unable to parse the response body", - data: A - }; - } - if (C.error) - throw C.error; - if (C.result) - return C; - throw { - tC: !0, - code: "FAIL", - message: "There is no result property on the response" - }; - } - throw { - tC: !0, - code: "FAIL", - message: "There is no body property on the response" - }; - }; - k.prototype.Olb = function (A, C, E) { - var F; - F = this; - this.PWb(C, A); - this.QN = this.w5a(E); - return this.QN.send(C, E).then(function (D) { + k.prototype.Olb = function (B, C, E) { + var G; + G = this; + this.RWb(C, B); + this.RN = this.y5a(E); + return this.RN.send(C, E).then(function (D) { return { retry: !1, - result: F.YLb(D.body) + result: z.fZ.$Lb(G.json, D.body) }; }).catch(function (D) { - var G, - I; - G = z.Baa.kAb(D); - I = void 0 !== G ? Math.min(G, C.lra) : C.lra; - return F.E7(C, D, A, I) ? (G = F.Bnb(D, A, I), F.log.warn("Method failed, retrying", Object.assign({ + var F, + J; + F = z.fZ.oAb(D); + J = void 0 !== F ? Math.min(F, C.fra) : C.fra; + return G.A7(C, D, B, J) ? (F = G.Cnb(D, B, J), G.log.warn("Method failed, retrying", Object.assign({ Method: C.Vk, - Attempt: A + 1, - WaitTime: G, - MaxRetries: I - }, F.lha(D))), Promise.resolve({ + Attempt: B + 1, + WaitTime: F, + MaxRetries: J + }, G.fha(D))), Promise.resolve({ retry: !0, - delay: G, + delay: F, error: D })) : Promise.resolve({ retry: !1, @@ -123230,48 +123193,48 @@ a000.D9b = function () { }); }); }; - k.prototype.ayb = function (A) { + k.prototype.gyb = function (B) { var C, E; - if (!this.fea || this.fea.xLb !== A) { + if (!this.$da || this.$da.zLb !== B) { C = ""; - E = A; - Object.entries(B).find(function (F) { + E = B; + Object.entries(A).find(function (G) { var D; - D = aa(F); - F = D.next().value; + D = aa(G); + G = D.next().value; D = D.next().value; - if (0 === A.indexOf(F)) - return (C = D, A = A.slice(F.length), !0); + if (0 === B.indexOf(G)) + return (C = D, B = B.slice(G.length), !0); }); - this.fea = { - iOa: C, - Ez: A, - xLb: E + this.$da = { + gOa: C, + Hz: B, + zLb: E }; } - return this.fea; + return this.$da; }; - k.prototype.PWb = function (A, C) { + k.prototype.RWb = function (B, C) { var E, - F, + G, D, - G; - G = A.url.searchParams; - G.set(y.qu.Adb, (C + 1).toString()); - G.set(y.qu.ah, A.Vqa.toString()); - G.set(y.qu.Bdb, A.Uqa); - A = this.ayb(null !== (E = this.config.Ez) && void 0 !== E ? E : ""); - A.iOa && (G.set(y.qu.Z8a, A.iOa), A.Ez && G.set(y.qu.meb, encodeURIComponent(A.Ez)), E = this.Oq.Ud, (null === E || void 0 === E ? 0 : E.name) && G.set(y.qu.u8a, encodeURIComponent(E.name)), (null === E || void 0 === E ? 0 : E.version) && G.set(y.qu.z8a, encodeURIComponent(E.version)), (null === (F = null === E || void 0 === E ? void 0 : E.os) || void 0 === F ? 0 : F.name) && G.set(y.qu.icb, encodeURIComponent(E.os.name)), (null === (D = null === E || void 0 === E ? void 0 : E.os) || void 0 === D ? 0 : D.version) && G.set(y.qu.jcb, encodeURIComponent(E.os.version))); - }; - k.prototype.retry = function (A, C, E) { - var F; - F = this; + F; + F = B.url.searchParams; + F.set(y.vu.Ddb, (C + 1).toString()); + F.set(y.vu.Zg, B.Qqa.toString()); + F.set(y.vu.Edb, B.Pqa); + B = this.gyb(null !== (E = this.config.Hz) && void 0 !== E ? E : ""); + B.gOa && (F.set(y.vu.a9a, B.gOa), B.Hz && F.set(y.vu.peb, encodeURIComponent(B.Hz)), E = this.Pq.Td, (null === E || void 0 === E ? 0 : E.name) && F.set(y.vu.w8a, encodeURIComponent(E.name)), (null === E || void 0 === E ? 0 : E.version) && F.set(y.vu.B8a, encodeURIComponent(E.version)), (null === (G = null === E || void 0 === E ? void 0 : E.os) || void 0 === G ? 0 : G.name) && F.set(y.vu.mcb, encodeURIComponent(E.os.name)), (null === (D = null === E || void 0 === E ? void 0 : E.os) || void 0 === D ? 0 : D.version) && F.set(y.vu.ncb, encodeURIComponent(E.os.version))); + }; + k.prototype.retry = function (B, C, E) { + var G; + G = this; E = void 0 === E ? 0 : E; - return this.Olb(E++, A, C).then(function (D) { + return this.Olb(E++, B, C).then(function (D) { if (D.retry) - return F.wait(D.delay).then(function () { - return F.retry(A, C, E); + return G.wait(D.delay).then(function () { + return G.retry(B, C, E); }); if (D.error) throw D.error; @@ -123286,151 +123249,185 @@ a000.D9b = function () { return D.result; }); }; - k.prototype.E7 = function (A, C, E, F) { + k.prototype.A7 = function (B, C, E, G) { var D; - D = this.Oq.i2a || z.Baa.eFb(C); - if (D && E < F) + D = this.Pq.h2a || z.fZ.iFb(C); + if (D && E < G) return !0; D ? this.log.error("Method failed, retry limit exceeded, giving up", Object.assign({ - Method: A.Vk, + Method: B.Vk, Attempt: E + 1, - MaxRetries: F - }, this.lha(C))) : this.log.error("Method failed with an error that is not retriable, giving up", Object.assign({ - Method: A.Vk - }, this.lha(C))); + MaxRetries: G + }, this.fha(C))) : this.log.error("Method failed with an error that is not retriable, giving up", Object.assign({ + Method: B.Vk + }, this.fha(C))); return !1; }; - k.prototype.Bnb = function (A, C, E) { - return A && A.EC && void 0 !== A.EC.retryAfterSeconds ? d.Wg(A.EC.retryAfterSeconds) : d.uc(this.iqa.W0a(1E3 * (0 === C ? 1 : C), 1E3 * Math.pow(2, Math.min(C, E)))); + k.prototype.Cnb = function (B, C, E) { + return B && B.GC && void 0 !== B.GC.retryAfterSeconds ? d.Ug(B.GC.retryAfterSeconds) : d.wc(this.cqa.W0a(1E3 * (0 === C ? 1 : C), 1E3 * Math.pow(2, Math.min(C, E)))); }; - k.prototype.wait = function (A) { + k.prototype.wait = function (B) { var C; C = this; return new Promise(function (E) { - C.vc.Oj(A || d.hb, E); + C.xc.Nj(B || d.hb, E); }); }; - k.prototype.lha = function (A) { - return t.tWa(A) ? A : { - message: A.message, - subCode: A.jc, - extCode: A.wd, - mslCode: A.Av, - data: A.data + k.prototype.fha = function (B) { + return u.rWa(B) ? B : { + message: B.message, + subCode: B.kc, + extCode: B.wd, + mslCode: B.Gv, + data: B.data }; }; - k.prototype.Zob = function (A) { - A.HN(); + k.prototype.$ob = function (B) { + B.IN(); }; - k.prototype.nOa = function (A, C) { + k.prototype.lOa = function (B, C) { var E; - A.Cs(C); - if (this.Ix) + B.Gs(C); + if (this.Nx) try { - E = this.json.stringify(this.Ix); + E = this.json.stringify(this.Nx); this.log.error("PBO command history", E); return E; - } catch (F) {} + } catch (G) {} return ""; }; a = k; - a = q.__decorate([l.R(), q.__param(0, l.l(h.Kb)), q.__param(1, l.l(g.qHa)), q.__param(2, l.l(m.mD)), q.__param(3, l.l(n.zd)), q.__param(4, l.l(r.gm)), q.__param(5, l.l(p.sZ)), q.__param(6, l.l(u.lj)), q.__param(7, l.l(w.ku)), q.__param(8, l.l(v.m$))], a); - b.pDa = a; - f.prototype.HN = function () { - this.X = !0; - this.elapsedTime = this.Pa.Zb().Ba(this.startTime); - }; - f.prototype.Cs = function (A) { - this.X = !1; - this.elapsedTime = this.Pa.Zb().Ba(this.startTime); - this.jUb = A.jc || A.subCode; - this.kwb = A.wd || A.extCode; + a = r.__decorate([l.R(), r.__param(0, l.l(h.Ib)), r.__param(1, l.l(g.mHa)), r.__param(2, l.l(m.oD)), r.__param(3, l.l(n.zd)), r.__param(4, l.l(q.fm)), r.__param(5, l.l(p.sZ)), r.__param(6, l.l(t.ij)), r.__param(7, l.l(w.ru)), r.__param(8, l.l(v.e$))], a); + b.lDa = a; + f.prototype.IN = function () { + this.W = !0; + this.elapsedTime = this.La.Xb().Da(this.startTime); + }; + f.prototype.Gs = function (B) { + this.W = !1; + this.elapsedTime = this.La.Xb().Da(this.startTime); + this.lUb = B.kc || B.subCode; + this.qwb = B.wd || B.extCode; }; f.prototype.toString = function () { return JSON.stringify(this); }; f.prototype.toJSON = function () { - var A; - A = Object.assign({ - success: this.X, + var B; + B = Object.assign({ + success: this.W, method: this.context.Vk, startTime: this.startTime.ea(d.ma), elapsedTime: this.elapsedTime ? this.elapsedTime.ea(d.ma) : "in progress" - }, this.QN.Dga()); - return this.X ? A : Object.assign(Object.assign(Object.assign({}, A), this.QN.Dga()), { - subcode: this.jUb, - extcode: this.kwb + }, this.RN.xga()); + return this.W ? B : Object.assign(Object.assign(Object.assign({}, B), this.RN.xga()), { + subcode: this.lUb, + extcode: this.qwb }); }; - c.prototype.append = function (A) { - this.Ix.push(A); - 0 < this.config.kla && this.Ix.length > this.config.kla && this.Ix.shift(); + c.prototype.append = function (B) { + this.Nx.push(B); + 0 < this.config.fla && this.Nx.length > this.config.fla && this.Nx.shift(); }; c.prototype.toJSON = function () { - return this.Ix; + return this.Nx; }; - }, function (q, b, a) { + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.Baa = void 0; + b.fZ = void 0; f = a(3); - c.eFb = function (k) { + c.iFb = function (k) { var l, d; l = k && k.code; - d = k && (k.oa || k.jc); - k = k.wd !== f.JY.fDa; - d = !!d && d >= f.M.dP && d <= f.M.bP && k; + d = k && (k.oa || k.kc); + k = k.wd !== f.IY.bDa; + d = !!d && d >= f.L.dP && d <= f.L.bP && k; return !("RETRY" !== l && "FAIL" !== l) || d; }; - c.kAb = function (k) { + c.oAb = function (k) { var l, d; - d = null === (l = null === k || void 0 === k ? void 0 : k.EC) || void 0 === l ? void 0 : l.maxRetries; + d = null === (l = null === k || void 0 === k ? void 0 : k.GC) || void 0 === l ? void 0 : l.maxRetries; return "number" === typeof d ? d : "FAIL" === (null === k || void 0 === k ? void 0 : k.code) ? 1 : void 0; }; - b.Baa = c; - }, function (q, b, a) { + c.$Lb = function (k, l) { + var d; + if (l) { + try { + d = k.parse(l); + } catch (g) { + throw { + vC: !0, + code: "FAIL", + message: "Unable to parse the response body", + data: l + }; + } + if (d.error) + throw d.error; + if (d.result) { + if (Array.isArray(d.result) && (k = d.result.find(function (g) { + return g.error; + }))) + throw k.error; + return d; + } + throw { + vC: !0, + code: "FAIL", + message: "There is no result property on the response" + }; + } + throw { + vC: !0, + code: "FAIL", + message: "There is no body property on the response" + }; + }; + b.fZ = c; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r) { + function c(m, n, q) { m = k.ff.call(this, m, "PboConfigImpl") || this; m.config = n; - m.ilb = r; + m.klb = q; return m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.oDa = void 0; - q = a(1); + b.kDa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); d = a(44); g = a(15); - a = a(121); - ka(c, k.ff); + a = a(120); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - Ez: { + Hz: { configurable: !0, enumerable: !0, get: function () { - return this.config().Mq.Ez || ""; + return this.config().Nq.Hz || ""; } }, - w8: { + s8: { configurable: !0, enumerable: !0, get: function () { - return this.config().Mq.w8 || ""; + return this.config().Nq.s8 || ""; } }, version: { @@ -123451,24 +123448,24 @@ a000.D9b = function () { configurable: !0, enumerable: !0, get: function () { - return this.config().Mq.Rpa; + return this.config().Nq.Lpa; } }, - cma: { + Xla: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - gIb: { + jIb: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - iIb: { + lIb: { configurable: !0, enumerable: !0, get: function () { @@ -123499,7 +123496,7 @@ a000.D9b = function () { version: "1" }, bind: { - service: this.ilb.VMa, + service: this.klb.WMa, version: "^1.0.0" }, pair: { @@ -123531,88 +123528,96 @@ a000.D9b = function () { return !1; } }, - kla: { + fla: { configurable: !0, enumerable: !0, get: function () { return 10; } }, - ELa: { + DLa: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - l1: { + n1: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - RQa: { + PQa: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - gXb: { + iXb: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - u6a: { + x6a: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - QQa: { + OQa: { configurable: !0, enumerable: !0, get: function () { return !0; } + }, + Hvb: { + configurable: !0, + enumerable: !0, + get: function () { + return !1; + } } }); h = c; - q.__decorate([d.config(d.string, "uiVersion")], h.prototype, "Ez", null); - q.__decorate([d.config(d.string, "uiPlatform")], h.prototype, "w8", null); - q.__decorate([d.config(d.Fz, "pboVersion")], h.prototype, "version", null); - q.__decorate([d.config(d.string, "pboOrganization")], h.prototype, "organization", null); - q.__decorate([d.config(d.U7, "pboLanguages")], h.prototype, "languages", null); - q.__decorate([d.config(d.ud, "hasLimitedPlaybackFunctionality")], h.prototype, "cma", null); - q.__decorate([d.config(d.ud, "mdxBindUsingNodeQuark")], h.prototype, "gIb", null); - q.__decorate([d.config(d.ud, "mdxPairUsingNodeQuark")], h.prototype, "iIb", null); - q.__decorate([d.config(d.object(), "pboCommands")], h.prototype, "N2a", null); - q.__decorate([d.config(d.object(), "pboCommandsOverride")], h.prototype, "O2a", null); - q.__decorate([d.config(d.ud, "pboRecordHistory")], h.prototype, "r1a", null); - q.__decorate([d.config(d.Fz, "pboHistorySize")], h.prototype, "kla", null); - q.__decorate([d.config(d.ud, "pboAddXEsnHeader")], h.prototype, "ELa", null); - q.__decorate([d.config(d.ud, "combineManifestAndLicense")], h.prototype, "l1", null); - q.__decorate([d.config(d.ud, "enableLicensedManifestForPrefetch")], h.prototype, "RQa", null); - q.__decorate([d.config(d.ud, "useLdlForPrefetchLicensedManifest")], h.prototype, "gXb", null); - q.__decorate([d.config(d.ud, "pboUseStudioManifest")], h.prototype, "u6a", null); - q.__decorate([d.config(d.ud, "pboEnableLeanManifest")], h.prototype, "QQa", null); - h = q.__decorate([f.R(), q.__param(0, f.l(l.km)), q.__param(1, f.l(g.dd)), q.__param(2, f.l(a.FH))], h); - b.oDa = h; - }, function (q, b, a) { + r.__decorate([d.config(d.string, "uiVersion")], h.prototype, "Hz", null); + r.__decorate([d.config(d.string, "uiPlatform")], h.prototype, "s8", null); + r.__decorate([d.config(d.Iz, "pboVersion")], h.prototype, "version", null); + r.__decorate([d.config(d.string, "pboOrganization")], h.prototype, "organization", null); + r.__decorate([d.config(d.Q7, "pboLanguages")], h.prototype, "languages", null); + r.__decorate([d.config(d.ad, "hasLimitedPlaybackFunctionality")], h.prototype, "Xla", null); + r.__decorate([d.config(d.ad, "mdxBindUsingNodeQuark")], h.prototype, "jIb", null); + r.__decorate([d.config(d.ad, "mdxPairUsingNodeQuark")], h.prototype, "lIb", null); + r.__decorate([d.config(d.object(), "pboCommands")], h.prototype, "N2a", null); + r.__decorate([d.config(d.object(), "pboCommandsOverride")], h.prototype, "O2a", null); + r.__decorate([d.config(d.ad, "pboRecordHistory")], h.prototype, "r1a", null); + r.__decorate([d.config(d.Iz, "pboHistorySize")], h.prototype, "fla", null); + r.__decorate([d.config(d.ad, "pboAddXEsnHeader")], h.prototype, "DLa", null); + r.__decorate([d.config(d.ad, "combineManifestAndLicense")], h.prototype, "n1", null); + r.__decorate([d.config(d.ad, "enableLicensedManifestForPrefetch")], h.prototype, "PQa", null); + r.__decorate([d.config(d.ad, "useLdlForPrefetchLicensedManifest")], h.prototype, "iXb", null); + r.__decorate([d.config(d.ad, "pboUseStudioManifest")], h.prototype, "x6a", null); + r.__decorate([d.config(d.ad, "pboEnableLeanManifest")], h.prototype, "OQa", null); + r.__decorate([d.config(d.ad, "pboEnableV2OptimizedManifest")], h.prototype, "Hvb", null); + h = r.__decorate([f.R(), r.__param(0, f.l(l.jm)), r.__param(1, f.l(g.ed)), r.__param(2, f.l(a.NH))], h); + b.kDa = h; + }, function (r, b, a) { var k, l; - function c(d, g, h, m, n, r, p) { + function c(d, g, h, m, n, q, p) { this.version = d; this.url = g; this.id = h; this.languages = m; - this.Fb = n; - this.Qub = r; - this.qJb = p; + this.Hb = n; + this.Uub = q; + this.sJb = p; } function f(d) { this.ki = d; @@ -123620,55 +123625,55 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.UDa = void 0; - q = a(1); + b.SDa = void 0; + r = a(1); k = a(0); - a = a(70); + a = a(71); f.prototype.create = function (d, g, h, m, n) { return new c(this.ki.version, g, d, this.ki.languages, h, m, n); }; l = f; - l = q.__decorate([k.R(), q.__param(0, k.l(a.ku))], l); - b.UDa = l; + l = r.__decorate([k.R(), r.__param(0, k.l(a.ru))], l); + b.SDa = l; c.prototype.toJSON = function () { return { version: this.version, url: this.url, id: this.id, languages: this.languages, - params: this.Fb, - echo: this.Qub + params: this.Hb, + echo: this.Uub }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; function c(d, g) { - this.qB = g; - this.log = d.Cb("Pbo"); + this.rB = g; + this.log = d.Db("Pbo"); this.links = {}; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.zDa = void 0; - q = a(1); + b.vDa = void 0; + r = a(1); f = a(0); k = a(8); a = a(85); - c.prototype.qea = function (d) { + c.prototype.kea = function (d) { d && (!1, this.links = Object.assign(Object.assign({}, this.links), d)); }; - c.prototype.rT = function (d) { + c.prototype.pT = function (d) { !1; return this.links[d]; }; c.prototype.skb = function (d) { var g; - g = "playbackContextId=" + d.playbackContextId + "&esn=" + this.qB().gi; + g = "playbackContextId=" + d.playbackContextId + "&esn=" + this.rB().gi; d = "drmContextId=" + d.drmContextId; - this.qea({ + this.kea({ events: { rel: "events", href: "/events?" + g @@ -123684,26 +123689,26 @@ a000.D9b = function () { }); }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(a.rw))], l); - b.zDa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(a.yw))], l); + b.vDa = l; + }, function (r, b, a) { function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.RDa = void 0; - q = a(1); + b.PDa = void 0; + r = a(1); a = a(0); - c.prototype.$Rb = function (f) { + c.prototype.cSb = function (f) { this.listener = f; }; c.prototype.KM = function (f) { var k; null === (k = this.listener) || void 0 === k ? void 0 : k.call(this, f); }; - a = q.__decorate([a.R()], c); - b.RDa = a; - }, function (q, b, a) { + a = r.__decorate([a.R()], c); + b.PDa = a; + }, function (r, b, a) { var c, f, k, @@ -123713,154 +123718,154 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na; + M, + P, + R, + ea, + pa; Object.defineProperty(b, "__esModule", { value: !0 }); b.j = void 0; - q = a(0); - c = a(368); - f = a(483); - k = a(1091); - l = a(485); - d = a(1092); - g = a(333); - h = a(330); - m = a(1093); - n = a(1128); - r = a(15); + r = a(0); + c = a(370); + f = a(487); + k = a(1094); + l = a(489); + d = a(1095); + g = a(335); + h = a(332); + m = a(1096); + n = a(1132); + q = a(15); p = a(20); - u = a(91); - t = a(26); + t = a(91); + u = a(26); w = a(8); - v = a(1129); - x = a(486); - y = a(1130); - z = a(5); - B = a(1131); - A = a(1132); - C = a(506); - E = a(1133); - F = a(93); - D = a(487); - G = a(1134); - I = a(107); - J = a(28); + v = a(1133); + x = a(490); + y = a(1134); + z = a(4); + A = a(1135); + B = a(1136); + C = a(510); + E = a(1137); + G = a(93); + D = a(491); + F = a(1138); + J = a(107); + K = a(28); H = a(139); - M = a(85); - O = a(261); - L = a(516); - P = a(1135); - R = a(69); - K = a(38); - Q = a(488); - N = a(1136); - da = a(272); - na = a(25); - b.j = new q.ad(function (va) { - va(L.Uaa).to(P.rEa).$(); - va(da.s9).sf(function (ra) { - var X; - X = ra.$a; - return function (ta, za) { - return new(a(1137).Tua)(ta, za, X.get(u.Yt)); - }; - }); - va(c.tHa).sf(function (ra) { - var X; - X = ra.$a; - return function (ta, za, V, T, ja, Ia, wa, Sa, Ua) { - return new(a(1140).uHa)(X.get(B.zHa), ta, za, V, T, ja, Ia, wa, Sa, Ua); + L = a(85); + Q = a(262); + I = a(520); + O = a(1139); + N = a(70); + M = a(38); + P = a(492); + R = a(1140); + ea = a(273); + pa = a(25); + b.j = new r.$c(function (va) { + va(I.Naa).to(O.pEa).aa(); + va(ea.n9).sf(function (ta) { + var Y; + Y = ta.$a; + return function (ra, Ea) { + return new(a(1141).Qua)(ra, Ea, Y.get(t.cu)); }; }); - va(B.zHa).to(A.yHa).$(); - va(f.xHa).to(k.wHa).$(); - va(h.mEa).to(m.lEa).$(); - va(Q.FFa).to(N.EFa); - va(Q.DFa).g5a(Q.FFa); - va(g.oxa).sf(function (ra) { - var X; - X = ra.$a; - return function (ta) { - return new(a(1141).pxa)(X.get(F.nxa), X.get(u.Yt), X.get(p.zd), ta); + va(c.pHa).sf(function (ta) { + var Y; + Y = ta.$a; + return function (ra, Ea, V, U, ma, Ia, wa, Ta, Ua) { + return new(a(1144).qHa)(Y.get(A.vHa), ra, Ea, V, U, ma, Ia, wa, Ta, Ua); }; }); - va(l.uva).sf(function () { + va(A.vHa).to(B.uHa).aa(); + va(f.tHa).to(k.sHa).aa(); + va(h.kEa).to(m.jEa).aa(); + va(P.CFa).to(R.BFa); + va(P.AFa).i5a(P.CFa); + va(g.lxa).sf(function (ta) { + var Y; + Y = ta.$a; return function (ra) { - return new d.vva(ra); + return new(a(1145).mxa)(Y.get(G.kxa), Y.get(t.cu), Y.get(p.zd), ra); }; }); - va(v.gEa).sf(function (ra) { - var X; - X = ra.$a; + va(l.rva).sf(function () { return function (ta) { - return new n.hEa(ta, X.get(w.Kb), X.get(r.dd), X.get(t.Gf), X.get(u.Yt)); + return new d.sva(ta); + }; + }); + va(v.eEa).sf(function (ta) { + var Y; + Y = ta.$a; + return function (ra) { + return new n.fEa(ra, Y.get(w.Ib), Y.get(q.ed), Y.get(u.Hf), Y.get(t.cu)); }; }); - va(x.tEa).sf(function (ra) { - var X; - X = ra.$a; - return function (ta, za, V, T, ja, Ia, wa, Sa, Ua) { - return new y.uEa(ta, za, V, T, ja, Ia, wa, Sa, Ua, X.get(v.gEa), X.get(L.Uaa)); + va(x.rEa).sf(function (ta) { + var Y; + Y = ta.$a; + return function (ra, Ea, V, U, ma, Ia, wa, Ta, Ua) { + return new y.sEa(ra, Ea, V, U, ma, Ia, wa, Ta, Ua, Y.get(v.eEa), Y.get(I.Naa)); }; }); - va(C.ZFa).sf(function (ra) { - return function (X) { - var ta, - za; - ta = ra.$a.get(r.dd); - za = ra.$a.get(w.Kb); - return new E.$Fa(ta, X, za); + va(C.VFa).sf(function (ta) { + return function (Y) { + var ra, + Ea; + ra = ta.$a.get(q.ed); + Ea = ta.$a.get(w.Ib); + return new E.WFa(ra, Y, Ea); }; }); - va(D.oEa).sf(function (ra) { - return function (X) { - var ta, - za, + va(D.mEa).sf(function (ta) { + return function (Y) { + var ra, + Ea, V, - T, - ja; - ta = ra.$a.get(M.rw); - za = ra.$a.get(I.yI); - V = ra.$a.get(J.Hf); - T = ra.$a.get(H.MP); - ja = ra.$a.get(na.qw); - return new G.pEa(X, ta, za(z.Wg(1)), V, T, ja); + U, + ma; + ra = ta.$a.get(L.yw); + Ea = ta.$a.get(J.DI); + V = ta.$a.get(K.If); + U = ta.$a.get(H.MP); + ma = ta.$a.get(pa.xw); + return new F.nEa(Y, ra, Ea(z.Ug(1)), V, U, ma); }; }); - va(O.gaa).RC(function (ra) { - return new(a(1142).iCa)(ra.$a.get(R.oP), ra.$a.get(K.gm)); - }).$(); + va(Q.Z$).SC(function (ta) { + return new(a(1146).gCa)(ta.$a.get(N.pP), ta.$a.get(M.fm)); + }).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -123868,102 +123873,102 @@ a000.D9b = function () { g, h; function c(m, n) { - this.Lf = m; + this.Mf = m; this.config = n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.wHa = void 0; - q = a(1); + b.sHa = void 0; + r = a(1); f = a(18); - k = a(484); + k = a(488); l = a(20); d = a(0); - g = a(5); + g = a(4); a = a(15); - c.prototype.BK = function (m) { + c.prototype.FK = function (m) { var n; - m.cX = {}; - if (!m.WB() && m.Dz && 0 < m.Dz.length && (m.Cz = this.qTa(m), m.Cz)) { - n = this.CSb(m); - n() || (m.ac.addListener(n), m.Xf.addListener(n)); + m.bX = {}; + if (!m.YB() && m.Gz && 0 < m.Gz.length && (m.Fz = this.qTa(m), m.Fz)) { + n = this.GSb(m); + n() || (m.bc.addListener(n), m.og.addListener(n)); } }; - c.prototype.CSb = function (m) { - var r; + c.prototype.GSb = function (m) { + var q; function n() { var p, - u; - if (!m.Xf.value || m.ac.value === f.Bb.Jg) + t; + if (!m.og.value || m.bc.value === f.Eb.Hg) return !1; - p = m.Cz; - u = p.getState(); - return u === k.Eo.LOADING ? !1 : u !== k.Eo.nD && p.retry ? (p = r.OBb(m)) ? (m.cX.offset = r.Lf.Zb().ea(g.ma), m.Cz = p, p.download(), !0) : !1 : (m.ac.removeListener(n), m.Xf.removeListener(n), !1); + p = m.Fz; + t = p.getState(); + return t === k.Fo.LOADING ? !1 : t !== k.Fo.pD && p.retry ? (p = q.QBb(m)) ? (m.bX.offset = q.Mf.Xb().ea(g.ma), m.Fz = p, p.download(), !0) : !1 : (m.bc.removeListener(n), m.og.removeListener(n), !1); } - r = this; + q = this; return n; }; - c.prototype.OBb = function (m) { + c.prototype.QBb = function (m) { var n, - r; + q; n = this.config(); - r = m.ao.ET() < n.QVb; - n = (m.Xf.value ? m.Xf.value.bitrate : 0) > n.PVb; - return this.kBb(m, r && n); + q = m.bo.CT() < n.SVb; + n = (m.og.value ? m.og.value.bitrate : 0) > n.RVb; + return this.mBb(m, q && n); }; - c.prototype.kBb = function (m, n) { + c.prototype.mBb = function (m, n) { if (n && (n = this.qTa(m), this.kUa(m, n.size))) - return (m.cX.W1a = "h", n); - n = this.iAb(m); + return (m.bX.V1a = "h", n); + n = this.lAb(m); if (this.kUa(m, n.size)) - return (m.cX.W1a = "l", n); + return (m.bX.V1a = "l", n); }; c.prototype.kUa = function (m, n) { - var r, + var q, p; - r = this.config(); - p = Math.min(m.sR(), m.nX()); - return m.umb.qnb(n) * (1 + .01 * r.Okb[2]) < p * r.TVb; + q = this.config(); + p = Math.min(m.tR(), m.mX()); + return m.umb.rnb(n) * (1 + .01 * q.Pkb[2]) < p * q.VVb; }; c.prototype.qTa = function (m) { - return m.Dz[m.Dz.length - 1]; + return m.Gz[m.Gz.length - 1]; }; - c.prototype.iAb = function (m) { - return m.Dz[0]; + c.prototype.lAb = function (m) { + return m.Gz[0]; }; h = c; - h = q.__decorate([d.R(), q.__param(0, d.l(l.zd)), q.__param(1, d.l(a.dd))], h); - b.wHa = h; - }, function (q, b) { + h = r.__decorate([d.R(), r.__param(0, d.l(l.zd)), r.__param(1, d.l(a.ed))], h); + b.sHa = h; + }, function (r, b) { function a(c) { this.j = c; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vva = void 0; - a.prototype.c6a = function () { + b.sva = void 0; + a.prototype.e6a = function () { var c; - c = this.j.Ma; - if (null !== c && void 0 !== c && c.zA) { - c = c.Jb.get(); - if (null === c || void 0 === c ? 0 : c.Vi) - this.j.Vi = c.Vi.Ea; + c = this.j.Pa; + if (null !== c && void 0 !== c && c.BA) { + c = c.Lb.get(); + if (null === c || void 0 === c ? 0 : c.Ti) + this.j.Ti = c.Ti.Fa; if (null === c || void 0 === c ? 0 : c.Oa) - this.j.Oa = c.Oa.Ea; + this.j.Oa = c.Oa.Fa; } }; - a.prototype.Is = function () { - -1 === this.j.Oa && this.c6a(); + a.prototype.Os = function () { + -1 === this.j.Oa && this.e6a(); return this.j.Oa; }; - a.prototype.qnb = function (c) { - -1 !== this.j.Vi && -1 !== this.j.Oa || this.c6a(); - return -1 === this.j.Vi || -1 === this.j.Oa ? Number.MAX_VALUE : this.j.Vi + 8 * c / this.j.Oa; + a.prototype.rnb = function (c) { + -1 !== this.j.Ti && -1 !== this.j.Oa || this.e6a(); + return -1 === this.j.Ti || -1 === this.j.Oa ? Number.MAX_VALUE : this.j.Ti + 8 * c / this.j.Oa; }; - b.vva = a; - }, function (q, b, a) { + b.sva = a; + }, function (r, b, a) { var f, k, l, @@ -123972,687 +123977,645 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H; - function c(M, O, L, P, R, K, Q, N, da, na, va, ra, X, ta, za, V, T, ja, Ia, wa, Sa, Ua, $a, Za, mb) { - this.HF = M; - this.PJ = O; - this.Pa = L; - this.wa = P; - this.wmb = R; - this.Xsa = K; - this.sna = Q; - this.tna = N; - this.V4 = da; - this.pd = na; - this.Xm = va; - this.kl = ra; - this.ME = X; - this.zpa = ta; - this.el = za; - this.qta = V; - this.Ql = T; - this.Vl = ja; - this.te = Ia; - this.wpa = wa; - this.$Pb = Sa; - this.Pea = Ua; - this.aG = $a; - this.d1 = Za; - this.NJ = mb; - } - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.lEa = void 0; - q = a(1); + function c(L, Q, I, O, N, M, P, R, ea, pa, va, ta, Y, ra, Ea, V, U, ma, Ia, wa, Ta, Ua, ab, Za, nb) { + this.MF = L; + this.SJ = Q; + this.La = I; + this.xa = O; + this.wmb = N; + this.Ssa = M; + this.mna = P; + this.nna = R; + this.V4 = ea; + this.qd = pa; + this.Wm = va; + this.xk = ta; + this.VJ = Y; + this.upa = ra; + this.el = Ea; + this.lta = V; + this.Ql = U; + this.Ul = ma; + this.ve = Ia; + this.rpa = wa; + this.eQb = Ta; + this.Iea = Ua; + this.gG = ab; + this.f1 = Za; + this.QJ = nb; + } + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.jEa = void 0; + r = a(1); f = a(92); k = a(0); l = a(107); d = a(32); g = a(20); h = a(40); - m = a(485); - n = a(355); - r = a(369); - p = a(452); - u = a(116); - t = a(137); + m = a(489); + n = a(357); + q = a(371); + p = a(456); + t = a(116); + u = a(137); w = a(154); v = a(94); - x = a(351); - y = a(486); - z = a(1094); - B = a(483); - A = a(58); + x = a(353); + y = a(490); + z = a(1097); + A = a(487); + B = a(58); C = a(28); - E = a(487); - F = a(69); - D = a(488); - G = a(272); - I = a(261); - J = a(118); - c.prototype.create = function (M, O, L, P, R, K, Q) { - return new(a(489).nEa)(M, O, K, Q, P, R, this.HF, L, this.Pa, this.PJ, this.wa, this.sna, this.wmb, this.Xsa, this.tna, this.V4, this.pd, this.Xm, this.kl, this.ME, this.zpa, this.el, this.qta, this.Ql, this.te, this.wpa, this.Vl, this.$Pb(), this.Pea, this.aG, void 0, this.d1); + E = a(491); + G = a(70); + D = a(492); + F = a(273); + J = a(262); + K = a(117); + c.prototype.create = function (L, Q, I, O, N, M, P) { + return new(a(493).lEa)(L, Q, M, P, O, N, this.MF, I, this.La, this.SJ, this.xa, this.mna, this.wmb, this.Ssa, this.nna, this.V4, this.qd, this.Wm, this.xk, this.VJ, this.upa, this.el, this.lta, this.Ql, this.ve, this.rpa, this.Ul, this.eQb(), this.Iea, this.gG, void 0, this.f1); }; H = c; - H = q.__decorate([k.R(), q.__param(0, k.l(f.cA)), q.__param(1, k.l(d.Zg)), q.__param(2, k.l(g.zd)), q.__param(3, k.l(h.wi)), q.__param(4, k.l(m.uva)), q.__param(5, k.l(l.yI)), q.__param(6, k.l(n.wBa)), q.__param(7, k.l(r.BBa)), q.__param(8, k.l(p.SAa)), q.__param(9, k.l(u.SD)), q.__param(10, k.l(t.DP)), q.__param(11, k.l(w.sI)), q.__param(12, k.l(x.Dva)), q.__param(13, k.l(y.tEa)), q.__param(14, k.l(J.sD)), q.__param(15, k.l(B.xHa)), q.__param(16, k.l(A.iq)), q.__param(17, k.l(F.oP)), q.__param(18, k.l(C.Hf)), q.__param(19, k.l(E.oEa)), q.__param(20, k.l(D.DFa)), q.__param(21, k.l(G.s9)), q.__param(22, k.l(I.gaa)), q.__param(23, k.l(z.mwa)), q.__param(23, k.optional()), q.__param(24, k.l(v.iO)), q.__param(24, k.optional())], H); - b.lEa = H; - }, function (q, b) { - Object.defineProperty(b, "__esModule", { - value: !0 - }); - b.mwa = b.nwa = void 0; - q = b.nwa || (b.nwa = {}); - q[q.pcb = 0] = "PAUSE"; - q[q.ydb = 1] = "RESUME"; - q[q.pZb = 2] = "CAPTIONS_ON"; - q[q.oZb = 3] = "CAPTIONS_OFF"; - q[q.qZb = 4] = "CAPTION_LANGUAGE_CHANGED"; - q[q.FYb = 5] = "AUDIO_LANGUAGE_CHANGED"; - q[q.O0b = 6] = "NEXT_EP"; - q[q.G1b = 7] = "PREV_EP"; - q[q.Iw = 8] = "SEEK"; - q[q.RFa = 9] = "STOP"; - b.mwa = "CastInteractionTrackerSymbol"; - }, function (q, b, a) { - var g, + H = r.__decorate([k.R(), r.__param(0, k.l(f.dA)), r.__param(1, k.l(d.Xg)), r.__param(2, k.l(g.zd)), r.__param(3, k.l(h.wi)), r.__param(4, k.l(m.rva)), r.__param(5, k.l(l.DI)), r.__param(6, k.l(n.uBa)), r.__param(7, k.l(q.zBa)), r.__param(8, k.l(p.QAa)), r.__param(9, k.l(t.VD)), r.__param(10, k.l(u.DP)), r.__param(11, k.l(w.yI)), r.__param(12, k.l(x.Ava)), r.__param(13, k.l(y.rEa)), r.__param(14, k.l(K.uD)), r.__param(15, k.l(A.tHa)), r.__param(16, k.l(B.kq)), r.__param(17, k.l(G.pP)), r.__param(18, k.l(C.If)), r.__param(19, k.l(E.mEa)), r.__param(20, k.l(D.AFa)), r.__param(21, k.l(F.n9)), r.__param(22, k.l(J.Z$)), r.__param(23, k.l(z.jwa)), r.__param(23, k.optional()), r.__param(24, k.l(v.hO)), r.__param(24, k.optional())], H); + b.jEa = H; + }, function (r, b) { + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.jwa = b.kwa = void 0; + r = b.kwa || (b.kwa = {}); + r[r.tcb = 0] = "PAUSE"; + r[r.Bdb = 1] = "RESUME"; + r[r.qZb = 2] = "CAPTIONS_ON"; + r[r.pZb = 3] = "CAPTIONS_OFF"; + r[r.rZb = 4] = "CAPTION_LANGUAGE_CHANGED"; + r[r.GYb = 5] = "AUDIO_LANGUAGE_CHANGED"; + r[r.P0b = 6] = "NEXT_EP"; + r[r.G1b = 7] = "PREV_EP"; + r[r.mA = 8] = "SEEK"; + r[r.OFa = 9] = "STOP"; + b.jwa = "CastInteractionTrackerSymbol"; + }, function (r, b, a) { + var d, + g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, - H, - M, - O, - L; + K, + H; function c() { - this.l8 = []; - this.zVb = 50; - } - function f(P) { - var R; - R = this; - this.j = P; - this.Q6a = Promise.resolve(); - this.e$ = pb.WebKitMediaKeys ? "webkit" : HTMLVideoElement.prototype.msSetMediaKeys ? "ms" : ""; - this.MA = []; - this.Sr = new r.Wj(); - this.FIa = this.Sba = 0; - this.b_ = []; + this.h8 = []; + this.BVb = 50; + } + function f(L) { + var Q; + Q = this; + this.j = L; + this.T6a = Promise.resolve(); + this.Vxa = pb.WebKitMediaKeys ? "webkit" : HTMLVideoElement.prototype.msSetMediaKeys ? "ms" : ""; + this.PA = []; + this.Wr = new n.Wj(); + this.DIa = this.Mba = 0; + this.e_ = []; this.cg = t.Ih(this.j, "MediaElementASE"); - this.CKa = B.kj; - this.oca = !1; - this.Xb = new c(); - this.An = {}; - this.hJa = {}; - this.V2 = this.hQ(function () { - var K; - if (R.la) - return null !== (K = R.la.webkitDecodedFrameCount) && void 0 !== K ? K : 0; + this.AKa = z.Yj; + this.ica = !1; + this.Sb = new c(); + this.zn = {}; + this.fJa = {}; + this.X2 = this.iQ(function () { + var I; + if (Q.la) + return null !== (I = Q.la.webkitDecodedFrameCount) && void 0 !== I ? I : 0; }); - this.yB = this.hQ(function () { - var K; - if (R.la) { - K = R.v_(); - return K ? K.totalVideoFrames : R.la.webkitDecodedFrameCount; + this.yB = this.iQ(function () { + var I; + if (Q.la) { + I = Q.y_(); + return I ? I.totalVideoFrames : Q.la.webkitDecodedFrameCount; } }); - this.uF = this.hQ(function () { - var K; - if (R.la) { - K = R.v_(); - return K ? K.droppedVideoFrames : R.la.webkitDroppedFrameCount; + this.yF = this.iQ(function () { + var I; + if (Q.la) { + I = Q.y_(); + return I ? I.droppedVideoFrames : Q.la.webkitDroppedFrameCount; } }); - this.lT = this.hQ(function () { - var K; - if (R.la) { - K = R.v_(); - return K && K.corruptedVideoFrames; + this.jT = this.iQ(function () { + var I; + if (Q.la) { + I = Q.y_(); + return I && I.corruptedVideoFrames; } }); - this.Z2 = this.hQ(function () { - var K; - if (R.la) { - K = R.v_(); - return K && C.yi(K.totalFrameDelay * B.Ik); + this.b3 = this.iQ(function () { + var I; + if (Q.la) { + I = Q.y_(); + return I && B.yi(I.totalFrameDelay * z.Ik); } }); - this.DJa = function (K) { - return R.Sr.tc(D.jj.nXa, { - da: K + this.BJa = function (I) { + return Q.Wr.qc(G.hj.lXa, { + $: I }); }; - this.Mi = t.ha.get(F.wAa).create(n.config.Cr, this, this.j); - n.config.$B && (this.Q6a = new Promise(function (K) { - R.CKa = K; - R.j.addEventListener(J.W.dg, K); + this.cl = t.ha.get(E.uAa).create(m.config.Fr, this, this.j); + m.config.bC && (this.T6a = new Promise(function (I) { + Q.AKa = I; + Q.j.addEventListener(J.Z.dg, I); })); this.cg.trace("Created Media Element"); - this.addEventListener = this.Sr.addListener; - this.removeEventListener = this.Sr.removeListener; + this.addEventListener = this.Wr.addListener; + this.removeEventListener = this.Wr.removeListener; } - function k(P) { - var R, - K; - R = t.ha.get(G.YHa).eBb(); - P = P.width / P.height * R.height; - K = (R.width - P) / 2; - return n.config.vSb ? B.createElement("VIDEO", "position:absolute;width:" + P + "px;height:" + R.height + "px;left:" + K + "px;top:0px") : B.createElement("VIDEO", "position:absolute;width:100%;height:100%"); + function k(L) { + var Q, + I; + Q = t.ha.get(D.WHa).gBb(); + L = L.width / L.height * Q.height; + I = (Q.width - L) / 2; + return m.config.zSb ? z.createElement("VIDEO", "position:absolute;width:" + L + "px;height:" + Q.height + "px;left:" + I + "px;top:0px") : z.createElement("VIDEO", "position:absolute;width:100%;height:100%"); } - function l(P) { - P.preventDefault(); + function l(L) { + L.preventDefault(); return !1; } - function d(P, R, K) { - var Q, - N, - da; - Q = P.target; - Q = Q && Q.error; - N = P.errorCode; - da = Q && Q.code; - B.Hc(da) || (da = N && N.code); - N = Q && Q.msExtendedCode; - B.Hc(N) || (N = Q && Q.systemCode); - B.Hc(N) || (N = P.systemCode); - P = B.Qb({}, { - code: da, - systemCode: N, - trace: JSON.stringify(K) - }, { - Vy: !0 - }); - R = { - oa: R(da), - sb: A.nna(P) - }; - try { - Q && Q.message && (R.DU = Q.message); - } catch (na) {} - N = B.pe(N); - E.xa(N) && (R.Ve = t.lfa(N, 4)); - return R; - } Object.defineProperty(b, "__esModule", { value: !0 }); - b.PBa = void 0; - g = a(53); - h = a(278); - m = a(12); - n = a(13); - r = a(72); - p = a(63); - u = a(47); + b.NBa = void 0; + d = a(53); + g = a(279); + h = a(12); + m = a(13); + n = a(73); + q = a(64); + p = a(47); t = a(7); - w = a(3); - v = a(21); - x = a(86); - y = a(314); - z = a(24); - B = a(29); - A = a(279); - C = a(11); - E = a(17); - F = a(495); - D = a(280); - G = a(471); - I = a(5); + u = a(3); + w = a(21); + v = a(86); + x = a(316); + y = a(24); + z = a(29); + A = a(280); + B = a(11); + C = a(17); + E = a(499); + G = a(281); + D = a(476); + F = a(4); J = a(18); - H = a(165); - M = a(65); - O = !!(C.BD && HTMLVideoElement && URL && HTMLVideoElement.prototype.play); - L = O && C.jI; - f.prototype.mT = function (P) { + K = a(66); + H = !!(B.DD && HTMLVideoElement && URL && HTMLVideoElement.prototype.play); + f.prototype.kT = function (L) { try { - this.la && (this.FIa = this.la.currentTime); - } catch (R) { - this.cg.error("Exception while getting VIDEO.currentTime", R); - P && this.WI(w.L.Vcb, R); - } - return C.yi(this.FIa * B.Ik); - }; - f.prototype.seek = function (P) { - var R; - v.gb(!this.No); - this.wKa(); - R = this.mT(!0); - if (!n.config.dlb && C.tD(R - P) <= this.Cra) + this.la && (this.DIa = this.la.currentTime); + } catch (Q) { + this.cg.error("Exception while getting VIDEO.currentTime", Q); + L && this.eQ(u.M.Ycb, Q); + } + return B.yi(this.DIa * z.Ik); + }; + f.prototype.seek = function (L) { + var Q; + w.gb(!this.Oo); + this.uKa(); + Q = this.kT(!0); + if (!m.config.elb && B.vD(Q - L) <= this.vra) (this.cg.trace("Seek delta too small", { - currentTime: R, - seekTime: P, - min: this.Cra - }), this.Xb.trace("smallseek", P)); + currentTime: Q, + seekTime: L, + min: this.vra + }), this.Sb.trace("smallseek", L)); else { - this.Xb.trace("seek", P); + this.Sb.trace("seek", L); try { this.cg.trace("Setting video elements currentTime", { - From: x.Vh(R), - To: x.Vh(P) + From: v.Vh(Q), + To: v.Vh(L) }); - this.No = {}; - this.la.currentTime = P / B.Ik; - this.Sr.tc(D.jj.Iq); - } catch (K) { - this.cg.error("Exception while setting VIDEO.currentTime", K); - this.WI(w.L.Wcb, K); + this.Oo = {}; + this.la.currentTime = L / z.Ik; + this.Wr.qc(G.hj.Jq); + } catch (I) { + this.cg.error("Exception while setting VIDEO.currentTime", I); + this.eQ(u.M.Zcb, I); } } }; f.prototype.lUa = function () { - return !!this.No; + return !!this.Oo; }; - f.prototype.addSourceBuffer = function (P) { - var R, - K; - R = B.pe(this.Sba.toString() + this.MA.length.toString()); - R = { - zW: this.Sba, - S0: R + f.prototype.addSourceBuffer = function (L) { + var Q, + I; + Q = z.se(this.Mba.toString() + this.PA.length.toString()); + Q = { + yW: this.Mba, + U0: Q }; try { - K = new h.caa(this.j, P, this.xf, R, this.cg); - this.MA.push(K); - P == m.hI && K.Ria && K.Ria.addListener(this.CKa); - return K; - } catch (Q) { - K = B.vd(Q); + I = new g.V$(this.j, L, this.zf, Q, this.cg); + this.PA.push(I); + L == h.pI && I.Kia && I.Kia.addListener(this.AKa); + return I; + } catch (O) { + I = z.vd(O); this.cg.error("Unable to add source buffer.", { - error: K + error: I }); - this.j.Ld(w.L.waa, { - oa: P === g.ic.Hk.Tb ? B.M.jBa : B.M.kBa, - sb: K + this.j.Jd(u.M.qaa, { + oa: L === d.Qb.Hk.Ob ? z.L.hBa : z.L.iBa, + qb: I }); } }; - f.prototype.w0 = function (P) { - var R; - R = this; - P.forEach(function (K) { - return R.addSourceBuffer(K); + f.prototype.y0 = function (L) { + var Q; + Q = this; + L.forEach(function (I) { + return Q.addSourceBuffer(I); }); - this.Sr.tc(D.jj.P3a); + this.Wr.qc(G.hj.Q3a); return !0; }; - f.prototype.removeSourceBuffer = function (P) { - this.MA = this.MA.filter(function (R) { - return !u.uOa(P, R); + f.prototype.removeSourceBuffer = function (L) { + this.PA = this.PA.filter(function (Q) { + return !p.sOa(L, Q); }); - this.xf.removeSourceBuffer(P); + this.zf.removeSourceBuffer(L); }; f.prototype.endOfStream = function () { - this.Xb.trace("endofstream"); + this.Sb.trace("endofstream"); !1; - n.config.Lfa && this.xf.endOfStream(); + m.config.Efa && this.zf.endOfStream(); }; - f.prototype.gp = function (P) { + f.prototype.hp = function (L) { !1; - this.MA = []; - P && P.M6b(); + this.PA = []; + L && L.X6b(); return !0; }; - f.prototype.GRb = function (P) { - this.Sba = P; + f.prototype.JRb = function (L) { + this.Mba = L; }; - f.prototype.ITa = function () { - if (this.xf) - return I.u0a(this.xf.duration); + f.prototype.KTa = function () { + if (this.zf) + return F.u0a(this.zf.duration); }; - f.prototype.Utb = function () { - var P; - if (!this.oca && this.la && this.la.readyState >= M.gq.bza.HAVE_CURRENT_DATA) { - P = this.la.webkitDecodedFrameCount; - if (void 0 === P || 0 < P || n.config.iYb) - this.oca = !0; + f.prototype.Xtb = function () { + var L; + if (!this.ica && this.la && this.la.readyState >= K.iq.$ya.HAVE_CURRENT_DATA) { + L = this.la.webkitDecodedFrameCount; + if (void 0 === L || 0 < L || m.config.kYb) + this.ica = !0; } - return this.oca; + return this.ica; }; f.prototype.open = function () { - var P, - R, - K; - P = this; - this.la = k(this.j.Lz); - this.sourceBuffers = this.MA; - this.j.addEventListener(J.W.A3a, function (Q) { - return P.dib(Q); - }); - if (O) { - if (this.j.XB) { - if (!L) { - this.VI(w.L.YCa); - return; - } - if (C.jI && C.jI.isTypeSupported && this.Mi.Xe) - try { - if (!C.jI.isTypeSupported(this.Mi.Xe, "video/mp4")) { - this.Ejb(function (Q) { - P.VI(w.L.xP, Q); - }); - return; - } - } catch (Q) { - this.WI(w.L.xP, Q); - return; - } - n.config.m6a || this.Mi.e6(); - } + var L, + Q, + I; + L = this; + this.la = k(this.j.Oz); + this.sourceBuffers = this.PA; + this.j.addEventListener(J.Z.B3a, function (O) { + return L.eib(O); + }); + if (H) { + this.j.ZB && !m.config.o6a && this.cl.e6(); try { - this.xf = new C.BD(); - } catch (Q) { - this.WI(w.L.Lcb, Q); + this.zf = new B.DD(); + } catch (O) { + this.eQ(u.M.Ocb, O); return; } try { - this.Qk = URL.createObjectURL(this.xf); - } catch (Q) { - this.WI(w.L.Mcb, Q); + this.Qk = URL.createObjectURL(this.zf); + } catch (O) { + this.eQ(u.M.Pcb, O); return; } try { - this.Mi.tkb(this.DJa); - this.xf.addEventListener("sourceopen", function (Q) { - return P.dKa(Q); + this.cl.tkb(this.BJa); + this.zf.addEventListener("sourceopen", function (O) { + return L.bKa(O); }); - this.xf.addEventListener(this.e$ + "sourceopen", function (Q) { - return P.dKa(Q); + this.zf.addEventListener(this.Vxa + "sourceopen", function (O) { + return L.bKa(O); }); - this.la.addEventListener("error", this.An.error = function (Q) { - return P.EQ(Q); + this.la.addEventListener("error", this.zn.error = function (O) { + return L.FQ(O); }); - this.la.addEventListener("seeking", this.An.seeking = function () { - return P.cib(); + this.la.addEventListener("seeking", this.zn.seeking = function () { + return L.dib(); }); - this.la.addEventListener("seeked", this.An.seeked = function () { - return P.bib(); + this.la.addEventListener("seeked", this.zn.seeked = function () { + return L.cib(); }); - this.la.addEventListener("timeupdate", this.An.timeupdate = function () { - return P.fib(); + this.la.addEventListener("timeupdate", this.zn.timeupdate = function () { + return L.gib(); }); - this.la.addEventListener("loadstart", this.An.loadstart = function () { - return P.pda(); + this.la.addEventListener("loadstart", this.zn.loadstart = function () { + return L.jda(); }); - this.la.addEventListener("volumechange", this.An.volumechange = function (Q) { - return P.gib(Q); + this.la.addEventListener("volumechange", this.zn.volumechange = function (O) { + return L.hib(O); }); - this.la.addEventListener(this.Mi.oC, this.An[this.Mi.oC] = function () { - P.cg.trace(P.Mi.oC); - P.$hb(); + this.la.addEventListener(this.cl.qC, this.zn[this.cl.qC] = function () { + L.cg.trace(L.cl.qC); + L.aib(); }); - R = this.j.mg; - K = R.lastChild; - K ? R.insertBefore(this.la, K) : R.appendChild(this.la); - n.config.cQa && this.la.addEventListener("contextmenu", l); + Q = this.j.kg; + I = Q.lastChild; + I ? Q.insertBefore(this.la, I) : Q.appendChild(this.la); + m.config.aQa && this.la.addEventListener("contextmenu", l); this.la.src = this.Qk; - p.lf.addListener(p.mL, this.hJa[p.mL] = function () { - return P.bKa(); + q.lf.addListener(q.pL, this.fJa[q.pL] = function () { + return L.$Ja(); }); - this.bKa(); - } catch (Q) { - this.WI(w.L.Ncb, Q); + this.$Ja(); + } catch (O) { + this.eQ(u.M.Qcb, O); } } else - this.VI(w.L.$Ca); + this.a_(u.M.WCa); }; f.prototype.close = function () { - var R; - function P() { - R.Qk && (R.wKa(), p.lf.removeListener(p.mL, R.hJa[p.mL]), R.ufb()); - } - R = this; - this.Xb.trace("close"); - this.la.removeEventListener(this.Mi.oC, this.An[this.Mi.oC]); - this.la.removeEventListener("error", this.An.error); - this.la.removeEventListener("seeking", this.An.seeking); - this.la.removeEventListener("seeked", this.An.seeked); - this.la.removeEventListener("timeupdate", this.An.timeupdate); - this.la.removeEventListener("loadstart", this.An.loadstart); - this.la.removeEventListener("volumechange", this.An.volumechange); - this.Mi.EPb(this.DJa); - n.config.Cr ? this.Mi.jz().then(function () { - return P(); - }) : P(); - this.Mi.I1a && clearTimeout(this.Mi.I1a); - }; - f.prototype.py = function () { - return this.Xb.py(); - }; - f.prototype.$hb = function () { - n.config.m6a && this.Mi.e6(); - }; - f.prototype.v_ = function () { + var Q; + function L() { + Q.Qk && (Q.uKa(), q.lf.removeListener(q.pL, Q.fJa[q.pL]), Q.vfb()); + } + Q = this; + this.Sb.trace("close"); + this.la.removeEventListener(this.cl.qC, this.zn[this.cl.qC]); + this.la.removeEventListener("error", this.zn.error); + this.la.removeEventListener("seeking", this.zn.seeking); + this.la.removeEventListener("seeked", this.zn.seeked); + this.la.removeEventListener("timeupdate", this.zn.timeupdate); + this.la.removeEventListener("loadstart", this.zn.loadstart); + this.la.removeEventListener("volumechange", this.zn.volumechange); + this.cl.JPb(this.BJa); + m.config.Fr ? this.cl.mz().then(function () { + return L(); + }) : L(); + this.cl.H1a && clearTimeout(this.cl.H1a); + }; + f.prototype.EB = function () { + return this.Sb.EB(); + }; + f.prototype.aib = function () { + m.config.o6a && this.cl.e6(); + }; + f.prototype.y_ = function () { if (this.la) return this.la.getVideoPlaybackQuality && this.la.getVideoPlaybackQuality() || this.la.videoPlaybackQuality || this.la.playbackQuality; }; - f.prototype.mjb = function () { - var P; - P = this.j.Zk; - return (P = P && P.errorCode) && 0 <= [w.L.eZ, w.L.KY].indexOf(P); + f.prototype.njb = function () { + var L; + L = this.j.Zk; + return (L = L && L.errorCode) && 0 <= [u.M.dZ, u.M.JY].indexOf(L); }; - f.prototype.ufb = function () { - var P; - P = !1; - n.config.PNb && this.mjb() && (P = !0); - n.config.Rob && !P && (this.la.removeAttribute("src"), this.la.load && this.la.load()); + f.prototype.vfb = function () { + var L; + L = !1; + m.config.UNb && this.njb() && (L = !0); + m.config.Sob && !L && (this.la.removeAttribute("src"), this.la.load && this.la.load()); URL.revokeObjectURL(this.Qk); - n.config.cQa && this.la.removeEventListener("contextmenu", l); - !P && this.la && this.j.mg.removeChild(this.la); - this.la = this.xf = void 0; + m.config.aQa && this.la.removeEventListener("contextmenu", l); + !L && this.la && this.j.kg.removeChild(this.la); + this.la = this.zf = void 0; this.Qk = ""; }; - f.prototype.bKa = function () { - !0 === C.De.hidden ? this.b_.forEach(function (P) { - P.refresh(); - P.xTb(); - }) : this.b_.forEach(function (P) { - P.refresh(); - P.OTb(); + f.prototype.$Ja = function () { + !0 === B.Fe.hidden ? this.e_.forEach(function (L) { + L.refresh(); + L.BTb(); + }) : this.e_.forEach(function (L) { + L.refresh(); + L.QTb(); }); }; - f.prototype.hQ = function (P) { - var R; - R = t.ha.get(y.ICa)(P); - this.b_.push(R); + f.prototype.iQ = function (L) { + var Q; + Q = t.ha.get(x.GCa)(L); + this.e_.push(Q); return function () { - R.refresh(); - return R.Vyb(); + Q.refresh(); + return Q.Zyb(); }; }; - f.prototype.WI = function (P, R) { - var K, - Q; - K = { - oa: B.M.fj, - sb: B.vd(R) + f.prototype.eQ = function (L, Q) { + var I, + O; + I = { + oa: z.L.dj, + qb: z.vd(Q) }; try { - (Q = R.message.match(/(?:[x\W\s]|^)([0-9a-f]{8})(?:[x\W\s]|$)/i)[1].toUpperCase()) && 8 == Q.length && (K.Ve = Q); + (O = Q.message.match(/(?:[x\W\s]|^)([0-9a-f]{8})(?:[x\W\s]|$)/i)[1].toUpperCase()) && 8 == O.length && (I.Xe = O); } catch (N) {} - this.j.Ld(P, K); + this.j.Jd(L, I); }; - f.prototype.wKa = function () { - this.b_.forEach(function (P) { - P.refresh(); + f.prototype.uKa = function () { + this.e_.forEach(function (L) { + L.refresh(); }); }; - f.prototype.ogb = function () { + f.prototype.pgb = function () { return this.la && this.la.msGraphicsTrustStatus; }; - f.prototype.VI = function (P, R) { - this.j.Ld(P, R, void 0); + f.prototype.a_ = function (L, Q) { + this.j.Jd(L, Q, void 0); }; - f.prototype.Ejb = function (P) { - var K, - Q, - N; - function R(da) { - R = B.kj; - Q.Vp(); - P(da); - } - K = this; - Q = t.ha.get(H.QP)(500, function () { - R(); - }); - Q.tB(); - try { - N = this.j.Xf.value.header.u6b.children.filter(function (da) { - return "pssh" == da.type && da.n4b == m.Exa; - })[0]; - new C.jI(this.Mi.Xe).createSession("video/mp4", N.raw, null).addEventListener(this.e$ + "keyerror", function (da) { - R(d(da, w.g$, K.py())); - }); - } catch (da) { - R(); - } - }; - f.prototype.dib = function (P) { - var R, - Q, + f.prototype.eib = function (L) { + var Q, + O, N, - da, - na, - va, - ra; + M, + P, + R, + ea; if (this.la) { - P = P.pX; - R = this.ogb(); - R && (P.ConstrictionActive = R.constrictionActive, P.Status = R.status); + L = L.oX; + Q = this.pgb(); + Q && (L.ConstrictionActive = Q.constrictionActive, L.Status = Q.status); try { - P.readyState = "" + this.la.readyState; - P.currentTime = "" + this.la.currentTime; - P.pbRate = "" + this.la.playbackRate; - } catch (X) {} - R = this.MA.length; - for (var K; R--; ) { - K = this.MA[R]; - Q = ""; - K.type == m.PY ? Q = "audio" : K.type == m.hI && (Q = "video"); - B.Qb(P, K.S2(), { - prefix: Q + L.readyState = "" + this.la.readyState; + L.currentTime = "" + this.la.currentTime; + L.pbRate = "" + this.la.playbackRate; + } catch (pa) {} + Q = this.PA.length; + for (var I; Q--; ) { + I = this.PA[Q]; + O = ""; + I.type == h.OY ? O = "audio" : I.type == h.pI && (O = "video"); + z.Tb(L, I.T2(), { + prefix: O }); - n.config.ovb && this.j.Zk && m.hI == K.type && (Q = B.sN(K.$K()), 3E3 > (Q.data && Q.data.length) && (Q.data = z.UOa(Q.data).join(), B.Qb(P, Q, { - prefix: K.type + m.config.svb && this.j.Zk && h.pI == I.type && (O = z.tN(I.V2()), 3E3 > (O.data && O.data.length) && (O.data = y.TOa(O.data).join(), z.Tb(L, O, { + prefix: I.type }))); } - this.xf && (R = this.xf.duration) && !isNaN(R) && (P.duration = R.toFixed(4)); - if (n.config.$Gb) + this.zf && (Q = this.zf.duration) && !isNaN(Q) && (L.duration = Q.toFixed(4)); + if (m.config.bHb) try { - N = this.j.we; - da = N && N.tb; - if (da) { - na = da.expiration; - isNaN(na) || (P.exp = na); - va = da.keyStatuses.entries(); - if (va.next) { - ra = va.next().value; - ra && (P.keyStatus = ra[1]); + N = this.j.Ve; + M = N && N.wb; + if (M) { + P = M.expiration; + isNaN(P) || (L.exp = P); + R = M.keyStatuses.entries(); + if (R.next) { + ea = R.next().value; + ea && (L.keyStatus = ea[1]); } } - } catch (X) {} + } catch (pa) {} } }; - f.prototype.dKa = function (P) { + f.prototype.bKa = function (L) { !1; - this.ojb || (this.ojb = !0, this.Sr.tc(D.jj.Q3a, P)); + this.pjb || (this.pjb = !0, this.Wr.qc(G.hj.R3a, L)); }; - f.prototype.cib = function () { - this.Xb.trace("seeking"); + f.prototype.dib = function () { + this.Sb.trace("seeking"); this.cg.trace("Video element event: seeking"); - this.No ? this.No.pKb = !0 : (this.cg.error("unexpected seeking event"), n.config.ywb && this.VI(w.L.adb, { - sb: { - Trace: this.py() + this.Oo ? this.Oo.rKb = !0 : (this.cg.error("unexpected seeking event"), m.config.Ewb && this.a_(u.M.ddb, { + qb: { + Trace: this.EB() } })); }; - f.prototype.bib = function () { - this.Xb.trace("seeked"); + f.prototype.cib = function () { + this.Sb.trace("seeked"); this.cg.trace("Video element event: seeked"); - this.No ? (v.gb(this.No.pKb), this.No.oKb = !0, this.XKa()) : (this.cg.error("unexpected seeked event"), n.config.xwb && this.VI(w.L.$cb, { - sb: { - Trace: this.py() + this.Oo ? (w.gb(this.Oo.rKb), this.Oo.qKb = !0, this.VKa()) : (this.cg.error("unexpected seeked event"), m.config.Dwb && this.a_(u.M.cdb, { + qb: { + Trace: this.EB() } })); }; - f.prototype.fib = function () { - var P; - this.Xb.trace("timeupdate", null === (P = this.la) || void 0 === P ? void 0 : P.currentTime); + f.prototype.gib = function () { + var L; + this.Sb.trace("timeupdate", null === (L = this.la) || void 0 === L ? void 0 : L.currentTime); !1; - this.No && (this.No.rKb = !0, this.XKa()); - this.Sr.tc(D.jj.Iq); + this.Oo && (this.Oo.tKb = !0, this.VKa()); + this.Wr.qc(G.hj.Jq); }; - f.prototype.pda = function () { + f.prototype.jda = function () { this.cg.trace("Video element event: loadstart"); }; - f.prototype.gib = function (P) { - this.cg.trace("Video element event:", P.type); + f.prototype.hib = function (L) { + this.cg.trace("Video element event:", L.type); try { this.j.volume.set(this.la.volume); this.j.muted.set(this.la.muted); - } catch (R) { - this.cg.error("error updating volume", R); + } catch (Q) { + this.cg.error("error updating volume", Q); } }; - f.prototype.EQ = function (P) { - this.VI(w.L.Ucb, d(P, w.pya, this.py())); + f.prototype.FQ = function (L) { + var Q, + I, + O, + N, + M, + P, + R; + Q = this.a_; + I = u.M.Xcb; + O = u.mya; + N = this.EB(); + M = L.target; + M = M && M.error; + P = L.errorCode; + R = M && M.code; + z.Jc(R) || (R = P && P.code); + P = M && M.msExtendedCode; + z.Jc(P) || (P = M && M.systemCode); + z.Jc(P) || (P = L.systemCode); + L = z.Tb({}, { + code: R, + systemCode: P, + trace: JSON.stringify(N) + }, { + Yy: !0 + }); + O = { + oa: O(R), + qb: A.hna(L) + }; + try { + M && M.message && (O.CU = M.message); + } catch (ea) {} + P = z.se(P); + C.ya(P) && (O.Xe = t.efa(P, 4)); + Q.call(this, I, O); }; - f.prototype.XKa = function () { - this.No && this.No.oKb && this.No.rKb && (this.Xb.trace("seekcomplete"), this.No = void 0, this.Sr.tc(D.jj.iW)); + f.prototype.VKa = function () { + this.Oo && this.Oo.qKb && this.Oo.tKb && (this.Sb.trace("seekcomplete"), this.Oo = void 0, this.Wr.qc(G.hj.iW)); }; Xa.Object.defineProperties(f.prototype, { - Cra: { + vra: { configurable: !0, enumerable: !0, get: function () { - return n.config.pTb; + return m.config.sTb; } } }); - b.PBa = f; - c.prototype.trace = function (P, R) { - this.l8.push([P, R]); - this.l8.length > this.zVb && this.l8.shift(); + b.NBa = f; + c.prototype.trace = function (L, Q) { + this.h8.push([L, Q]); + this.h8.length > this.BVb && this.h8.shift(); }; - c.prototype.py = function () { - return this.l8; + c.prototype.EB = function () { + return this.h8; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -124661,222 +124624,222 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; function c(w) { var v; v = this; this.j = w; - this.Osa = this.iZa = 0; - this.dg = this.Gp = !1; - this.h7 = 0; - this.Az = function () { + this.Jsa = this.fZa = 0; + this.dg = this.Jp = !1; + this.e7 = 0; + this.Dz = function () { var x, y; - v.d7(); - v.dF && (v.log.info("Deactivating", v.dF), v.yz.Nsb(v.xe())); + v.b7(); + v.gF && (v.log.info("Deactivating", v.gF), v.Bz.Psb(v.ye())); v.j.Rk.set(null); - v.jH.c3a(void 0); - v.fOa(); - x = v.j.Nc.value; - x && x.AL() && !x.s4() && (x = null); - if (x && v.j.ac.value !== u.Bb.Jg) { - y = v.xe(); - v.yz.ckb(y, x); - } - x ? (v.log.info("Activating", x), v.j.bm.set(x.getState() === f.MD.lA.nD ? u.$e.$d : u.$e.Sc), v.Gp || v.j.Od("tt_start"), x.W3().then(v.JJ).catch(v.JJ)) : v.j.bm.set(u.$e.$d); - v.dF = x; - v.xH(); + v.rH.c3a(void 0); + v.dOa(); + x = v.j.Rc.value; + x && x.TF() && !x.YT() && (x = null); + if (x && v.j.bc.value !== t.Eb.Hg) { + y = v.ye(); + v.Bz.ckb(y, x); + } + x ? (v.log.info("Activating", x), v.j.$l.set(x.getState() === f.PD.nA.pD ? t.af.Yd : t.af.Sc), v.Jp || v.j.Md("tt_start"), x.X3().then(v.LJ).catch(v.LJ)) : v.j.$l.set(t.af.Yd); + v.gF = x; + v.FH(); }; this.sync = function () { - v.Gp && (v.jH.start(), v.j.ac.value !== u.Bb.yc && v.jH.stop()); + v.Jp && (v.rH.start(), v.j.bc.value !== t.Eb.Ac && v.rH.stop()); }; - this.xH = function () { + this.FH = function () { var x; - v.j.state.value === u.Gb.$d && v.j.ac.value !== u.Bb.Jg && (v.Xg ? x = v.jH.cyb() : v.j.Nc.value && (x = c.JTb[v.j.Nc.value.getState()])); - x && p.Hc(x.startTime) && v.j.Qt.value !== x && (v.iZa++, v.Osa += v.jH.JTa() - x.startTime, v.QMa = Math.ceil(v.Osa / (v.iZa + 0))); - v.j.Qt.set(x); + v.j.state.value === t.Jb.Yd && v.j.bc.value !== t.Eb.Hg && (v.Vg ? x = v.rH.iyb() : v.j.Rc.value && (x = c.LTb[v.j.Rc.value.getState()])); + x && p.Jc(x.startTime) && v.j.Wt.value !== x && (v.fZa++, v.Jsa += v.rH.LTa() - x.startTime, v.RMa = Math.ceil(v.Jsa / (v.fZa + 0))); + v.j.Wt.set(x); }; - this.xe = function () { + this.ye = function () { var x; - x = v.j.dka(); - v.dF && v.dF.Os && (x += v.dF.Os); + x = v.j.$ja(); + v.gF && v.gF.Ts && (x += v.gF.Ts); return x; }; - this.fLb = function (x) { - v.fireEvent(c.cTb, x); - x && x.id && (v.yz.e6a(x.id), !1); + this.hLb = function (x) { + v.fireEvent(c.fTb, x); + x && x.id && (v.Bz.g6a(x.id), !1); v.log.trace("showsubtitle", v.uUa(x)); }; - this.bLb = function (x) { - v.fireEvent(c.NPb, x); + this.dLb = function (x) { + v.fireEvent(c.SPb, x); v.log.trace("removesubtitle", v.uUa(x)); }; - this.Ij = function () { - v.log.warn("imagesubs buffer underflow", v.j.Nc.value.Kh); - v.j.bm.set(u.$e.Sc); + this.Hj = function () { + v.log.warn("imagesubs buffer underflow", v.j.Rc.value.kh); + v.j.$l.set(t.af.Sc); }; - this.AKb = function () { - v.log.info("imagesubs buffering complete", v.j.Nc.value.Kh); - v.j.bm.set(u.$e.$d); + this.CKb = function () { + v.log.info("imagesubs buffering complete", v.j.Rc.value.kh); + v.j.$l.set(t.af.Yd); }; this.Z5 = function () { - v.Gp && v.Xg && v.Xg.Br(v.xe()); + v.Jp && v.Vg && v.Vg.Er(v.ye()); }; - this.c_a = function (x) { - v.Gp && v.Xg && (v.Xg.pause(), v.Xg.rz(x.Aj)); + this.a_a = function (x) { + v.Jp && v.Vg && (v.Vg.pause(), v.Vg.wz(x.yj)); }; - this.qC = function () { - v.Gp && v.Xg && v.Xg.eqa(); + this.sC = function () { + v.Jp && v.Vg && v.Vg.Zpa(); }; - this.ZZa = function (x) { - v.Xg && v.Xg.Ak(x.Fh, x.UU); + this.YZa = function (x) { + v.Vg && v.Vg.Bk(x.Eh, x.TU); }; - this.g_a = function (x) { - v.Xg && v.Xg.ti(x.va, x.TWb); + this.e_a = function (x) { + v.Vg && v.Vg.ti(x.va, x.VWb); }; - this.UKb = function () { - v.Gp = !0; - r.fg(function () { + this.WKb = function () { + v.Jp = !0; + q.fg(function () { var x, y; - (null === (x = v.dF) || void 0 === x ? 0 : x.Rn) ? null === (y = v.Xg) || void 0 === y ? void 0 : y.Br(v.xe()) : v.sync(); - v.xH(); + (null === (x = v.gF) || void 0 === x ? 0 : x.Tn) ? null === (y = v.Vg) || void 0 === y ? void 0 : y.Er(v.ye()) : v.sync(); + v.FH(); }); }; - this.RKb = function () { - v.fOa(); - v.jH.stop(); - v.xH(); + this.TKb = function () { + v.dOa(); + v.rH.stop(); + v.FH(); v.dg = !0; - v.d7(); + v.b7(); }; - this.Yoa = function (x) { - (x = x.newValue) && p.isArray(x.blocks) && (v.yz.e6a.apply(v.yz, ca(x.blocks.map(function (y) { + this.Toa = function (x) { + (x = x.newValue) && p.isArray(x.blocks) && (v.Bz.g6a.apply(v.Bz, ca(x.blocks.map(function (y) { return y.id; }))), !1); }; - this.YKb = function (x) { - v.MWb(x.newValue, x.oldValue); + this.$Kb = function (x) { + v.OWb(x.newValue, x.oldValue); v.sync(); - v.xH(); + v.FH(); }; - this.JJ = function (x) { + this.LJ = function (x) { var y; if (!v.dg) { y = x.track; - if (y === v.j.Nc.value) + if (y === v.j.Rc.value) try { - v.Xg = y.Lsa; - y.Rn ? v.akb(x) : v.bkb(x); + v.Vg = y.Gsa; + y.Tn ? v.akb(x) : v.bkb(x); } catch (z) { v.log.error("Error activating track:", z, y); return; } - v.Gp || v.j.Od(x.X ? "tt_comp" : "tt_err"); - x.X ? (d.config.r2a ? setTimeout(function () { - v.j.bm.set(u.$e.$d); - }, d.config.r2a) : v.j.bm.set(u.$e.$d), y.Rn || v.xH()) : x.aborted ? v.log.warn("aborted timed text track loading") : d.config.wwb ? v.j.Ld(n.L.Lab, { - sb: x.track ? x.track.Kh : {} - }) : (v.log.error("ignore subtitle initialization error", x), v.j.bm.set(u.$e.$d)); + v.Jp || v.j.Md(x.W ? "tt_comp" : "tt_err"); + x.W ? (d.config.q2a ? setTimeout(function () { + v.j.$l.set(t.af.Yd); + }, d.config.q2a) : v.j.$l.set(t.af.Yd), y.Tn || v.FH()) : x.aborted ? v.log.warn("aborted timed text track loading") : d.config.Cwb ? v.j.Jd(n.M.Oab, { + qb: x.track ? x.track.kh : {} + }) : (v.log.error("ignore subtitle initialization error", x), v.j.$l.set(t.af.Yd)); } }; - this.Pb = new l.Wj(); - this.yz = new m.NGa(h.Ih(w, "SubtitleTracker"), d.config.Avb); + this.Rb = new l.Wj(); + this.Bz = new m.JGa(h.Ih(w, "SubtitleTracker"), d.config.Evb); this.log = h.Ih(w, "TimedTextManager"); - this.jH = new k.iHa(this.xe, this.xH); - this.j.Nc.addListener(this.Az); - d.config.iNb ? (this.j.addEventListener(u.W.Gp, this.UKb), this.Az()) : (this.j.bm.set(u.$e.$d), this.j.addEventListener(u.W.Gp, function () { - v.Gp = !0; - v.Az(); + this.rH = new k.eHa(this.ye, this.FH); + this.j.Rc.addListener(this.Dz); + d.config.mNb ? (this.j.addEventListener(t.Z.Jp, this.WKb), this.Dz()) : (this.j.$l.set(t.af.Yd), this.j.addEventListener(t.Z.Jp, function () { + v.Jp = !0; + v.Dz(); })); - this.j.ac.addListener(this.YKb); - this.j.addEventListener(u.W.Ysa, this.sync); - this.j.Qt.addListener(this.Yoa); - this.j.addEventListener(u.W.dg, this.RKb); + this.j.bc.addListener(this.$Kb); + this.j.addEventListener(t.Z.Tsa, this.sync); + this.j.Wt.addListener(this.Toa); + this.j.addEventListener(t.Z.dg, this.TKb); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gHa = void 0; - f = a(217); - k = a(496); - l = a(72); + b.cHa = void 0; + f = a(218); + k = a(500); + l = a(73); d = a(13); g = a(47); h = a(7); - m = a(1097); + m = a(1100); n = a(3); - r = a(61); + q = a(62); p = a(17); - u = a(18); - t = a(1098); + t = a(18); + u = a(1101); c.prototype.addEventListener = function (w, v, x) { - this.Pb.addListener(w, v, x); + this.Rb.addListener(w, v, x); }; c.prototype.removeEventListener = function (w, v) { - this.Pb.removeListener(w, v); + this.Rb.removeListener(w, v); }; c.prototype.fireEvent = function (w, v, x) { - this.Pb.tc(w, v, x); + this.Rb.qc(w, v, x); }; - c.prototype.mea = function (w, v, x) { + c.prototype.gea = function (w, v, x) { var y; - y = t.eHa.Crb(this.j, w, v, x); - this.j.cm.push(y); - this.j.Yo.forEach(function (z) { - g.Nua(z.cm, y); + y = u.aHa.Drb(this.j, w, v, x); + this.j.am.push(y); + this.j.Zo.forEach(function (z) { + g.Kua(z.am, y); }); - this.j.Nc.set(y); - this.j.fireEvent(u.W.kH); + this.j.Rc.set(y); + this.j.fireEvent(t.Z.sH); }; - c.prototype.pNb = function (w) { - this.$qa(w) ? w.W3().then(function () {}) : Promise.resolve(); + c.prototype.tNb = function (w) { + this.Uqa(w) ? w.X3().then(function () {}) : Promise.resolve(); }; - c.prototype.DBb = function (w) { - return this.yz.lBb(w); + c.prototype.FBb = function (w) { + return this.Bz.nBb(w); }; - c.prototype.yka = function (w) { - return this.yz.yka(w); + c.prototype.uka = function (w) { + return this.Bz.uka(w); }; - c.prototype.r3 = function () { + c.prototype.s3 = function () { var w, v; - w = this.j.TW; - v = d.config.cta.characterSize; + w = this.j.SW; + v = d.config.Ysa.characterSize; v = { - size: d.config.h8.characterSize || v + size: d.config.d8.characterSize || v }; - w && (v.visibility = w.Dka(), v.GR = w.Bka(), v.Zq = w.Cka()); + w && (v.visibility = w.Aka(), v.HR = w.yka(), v.Zq = w.zka()); return v; }; - c.prototype.rSb = function (w) { - d.config.h8.characterSize = w; - w = this.j.Nc.value; - this.$qa(w) && !w.Rn && w.W3().then(this.JJ).catch(this.JJ); + c.prototype.vSb = function (w) { + d.config.d8.characterSize = w; + w = this.j.Rc.value; + this.Uqa(w) && !w.Tn && w.X3().then(this.LJ).catch(this.LJ); }; - c.prototype.MWb = function (w, v) { + c.prototype.OWb = function (w, v) { var x; - w === u.Bb.yc || w == u.Bb.Wh ? v !== u.Bb.yc && v !== u.Bb.Wh && ((v = this.j.Nc.value) && !this.$qa(v) || this.yz.nZa(this.xe(), v || void 0, "presentingstate:" + w)) : w !== u.Bb.Jg && w !== u.Bb.au || this.yz.dia(null !== (x = this.xe()) && void 0 !== x ? x : void 0, "presentingstate:" + w); + w === t.Eb.Ac || w == t.Eb.Wh ? v !== t.Eb.Ac && v !== t.Eb.Wh && ((v = this.j.Rc.value) && !this.Uqa(v) || this.Bz.kZa(this.ye(), v || void 0, "presentingstate:" + w)) : w !== t.Eb.Hg && w !== t.Eb.fu || this.Bz.Xha(null !== (x = this.ye()) && void 0 !== x ? x : void 0, "presentingstate:" + w); }; - c.prototype.d7 = function () { - this.h7 = 0; - clearTimeout(this.EQb); + c.prototype.b7 = function () { + this.e7 = 0; + clearTimeout(this.JQb); }; - c.prototype.fOa = function () { + c.prototype.dOa = function () { var w; - this.Xg && this.Xg.stop(); - (null === (w = this.dF) || void 0 === w ? 0 : w.Rn) && this.TXa("removeListener"); - this.Xg = void 0; + this.Vg && this.Vg.stop(); + (null === (w = this.gF) || void 0 === w ? 0 : w.Tn) && this.RXa("removeListener"); + this.Vg = void 0; }; - c.prototype.TXa = function (w) { - this.Xg && (this.Xg[w]("showsubtitle", this.fLb), this.Xg[w]("removesubtitle", this.bLb), this.Xg[w]("underflow", this.Ij), this.Xg[w]("bufferingComplete", this.AKb), "addListener" === w ? (this.j.addEventListener(u.W.Iq, this.Z5), this.j.addEventListener(u.W.Zl, this.c_a), this.j.addEventListener(u.W.NG, this.qC), this.j.addEventListener(u.W.O5, this.ZZa), this.j.addEventListener(u.W.Kta, this.g_a)) : (this.j.removeEventListener(u.W.Iq, this.Z5), this.j.removeEventListener(u.W.Zl, this.c_a), this.j.removeEventListener(u.W.NG, this.qC), this.j.removeEventListener(u.W.O5, this.ZZa), this.j.removeEventListener(u.W.Kta, this.g_a))); + c.prototype.RXa = function (w) { + this.Vg && (this.Vg[w]("showsubtitle", this.hLb), this.Vg[w]("removesubtitle", this.dLb), this.Vg[w]("underflow", this.Hj), this.Vg[w]("bufferingComplete", this.CKb), "addListener" === w ? (this.j.addEventListener(t.Z.Jq, this.Z5), this.j.addEventListener(t.Z.Xl, this.a_a), this.j.addEventListener(t.Z.WG, this.sC), this.j.addEventListener(t.Z.O5, this.YZa), this.j.addEventListener(t.Z.Fta, this.e_a)) : (this.j.removeEventListener(t.Z.Jq, this.Z5), this.j.removeEventListener(t.Z.Xl, this.a_a), this.j.removeEventListener(t.Z.WG, this.sC), this.j.removeEventListener(t.Z.O5, this.YZa), this.j.removeEventListener(t.Z.Fta, this.e_a))); }; c.prototype.uUa = function (w) { return { - currentPts: this.xe(), + currentPts: this.ye(), displayTime: w.displayTime, duration: w.duration, id: w.id, @@ -124893,174 +124856,174 @@ a000.D9b = function () { x; v = this; x = w.track; - if (!x || !x.Rn) + if (!x || !x.Tn) throw Error("Not an image base subtitle"); - w.X ? (this.d7(), this.TXa("addListener"), this.log.info("Activated", x), this.j.Rk.set(x), this.Gp ? r.fg(function () { - v.Xg.Br(v.xe()); - }) : this.Xg.pause()) : this.h2a(x, w); + w.W ? (this.b7(), this.RXa("addListener"), this.log.info("Activated", x), this.j.Rk.set(x), this.Jp ? q.fg(function () { + v.Vg.Er(v.ye()); + }) : this.Vg.pause()) : this.g2a(x, w); }; c.prototype.bkb = function (w) { var v, x; v = w.track; - x = w.X; - if (!v || v.Rn) + x = w.W; + if (!v || v.Tn) throw Error("Not a valid text track"); - x ? (this.d7(), this.jH.c3a(this.Xg), this.log.info("Activated", v), this.j.Rk.set(v)) : this.h2a(v, n.Lr(w)); - this.xH(); + x ? (this.b7(), this.rH.c3a(this.Vg), this.log.info("Activated", v), this.j.Rk.set(v)) : this.g2a(v, n.Or(w)); + this.FH(); }; - c.prototype.h2a = function (w, v) { + c.prototype.g2a = function (w, v) { var x, y; x = this; - y = this.h7 < d.config.ZHb; - y && (this.EQb = setTimeout(function () { - x.h7++; - w.W3().then(x.JJ).catch(x.JJ); - }, d.config.fVb)); - this.log.error("Failed to activate" + ((null === w || void 0 === w ? 0 : w.Rn) ? " img subtitle" : ""), { + y = this.e7 < d.config.bIb; + y && (this.JQb = setTimeout(function () { + x.e7++; + w.X3().then(x.LJ).catch(x.LJ); + }, d.config.hVb)); + this.log.error("Failed to activate" + ((null === w || void 0 === w ? 0 : w.Tn) ? " img subtitle" : ""), { retry: y }, v, w); }; - c.prototype.$qa = function (w) { - return !(!w || w.AL() && !w.s4()); + c.prototype.Uqa = function (w) { + return !(!w || w.TF() && !w.YT()); }; - b.gHa = c; - q = {}; - c.JTb = (q[f.MD.lA.LOADING] = { - E5b: !0 - }, q[f.MD.lA.iP] = { - Cs: !0 - }, q); - c.cTb = "showsubtitle"; - c.NPb = "removesubtitle"; - }, function (q, b, a) { + b.cHa = c; + r = {}; + c.LTb = (r[f.PD.nA.LOADING] = { + O5b: !0 + }, r[f.PD.nA.jP] = { + Gs: !0 + }, r); + c.fTb = "showsubtitle"; + c.SPb = "removesubtitle"; + }, function (r, b, a) { var k; function c(l, d, g) { this.start = l; this.track = d; - this.eH = Array.isArray(g) ? g : []; + this.mH = Array.isArray(g) ? g : []; } function f(l, d) { this.log = l; - this.Kz = d; - this.kqa = []; + this.Nz = d; + this.eqa = []; this.orphans = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.NGa = void 0; + b.JGa = void 0; k = a(21); f.prototype.ckb = function (l, d) { - this.nZa(l, d, "activating"); + this.kZa(l, d, "activating"); }; - f.prototype.Nsb = function (l) { - this.dia(l, "de-activating"); + f.prototype.Psb = function (l) { + this.Xha(l, "de-activating"); }; - f.prototype.nZa = function (l, d, g) { + f.prototype.kZa = function (l, d, g) { var h; - this.hk && this.dia(l, "close current for new"); + this.hk && this.Xha(l, "close current for new"); h = []; this.orphans.length && (h.push.apply(h, ca(this.orphans)), this.orphans = []); this.hk = new c(l, d, h); - this.Kz && this.log.trace("new range: " + g, this.hk); + this.Nz && this.log.trace("new range: " + g, this.hk); }; - f.prototype.dia = function (l, d) { - this.hk && (this.hk.end = l, this.kqa.push(this.hk), this.Kz && this.log.trace("end range: " + d, this.hk || ({})), this.hk = void 0); + f.prototype.Xha = function (l, d) { + this.hk && (this.hk.end = l, this.eqa.push(this.hk), this.Nz && this.log.trace("end range: " + d, this.hk || ({})), this.hk = void 0); }; - f.prototype.e6a = function (l) { + f.prototype.g6a = function (l) { for (var d = [], g = 0; g < arguments.length; ++g) { d[g - 0] = arguments[g]; } - this.hk ? this.hk.eH.push.apply(this.hk.eH, ca(d)) : this.orphans.push.apply(this.orphans, ca(d)); + this.hk ? this.hk.mH.push.apply(this.hk.mH, ca(d)) : this.orphans.push.apply(this.orphans, ca(d)); }; - f.prototype.yka = function (l) { + f.prototype.uka = function (l) { var d, g; - d = this.kqa.slice(0); + d = this.eqa.slice(0); if (this.hk && "undefined" !== typeof l) { - g = new c(this.hk.start, this.hk.track, this.hk.eH); + g = new c(this.hk.start, this.hk.track, this.hk.mH); g.end = l; d.push(g); } l = d.reduce(function (h, m) { var n, - r, + q, p, - u; + t; if (!m.track) return h; - r = m.track.Dd; - p = m.track.Rq(m.start, m.end); + q = m.track.Cd; + p = m.track.Qq(m.start, m.end); if (void 0 === p || null === p) return h; - u = new Set(m.eH); - h[r] ? (m = h[r], m.expected += p, m.missed += p - u.size) : h[r] = { - dlid: r, + t = new Set(m.mH); + h[q] ? (m = h[q], m.expected += p, m.missed += p - t.size) : h[q] = { + dlid: q, bcp47: m.track.wm, profile: m.track.profile, expected: p, - missed: p - u.size, - startPts: null !== (n = m.track.yBb()) && void 0 !== n ? n : 0 + missed: p - t.size, + startPts: null !== (n = m.track.ABb()) && void 0 !== n ? n : 0 }; return h; }, {}); l = Object.values(l); - this.Kz && this.log.trace("subtitleqoe:", JSON.stringify(l, null, "\t")); + this.Nz && this.log.trace("subtitleqoe:", JSON.stringify(l, null, "\t")); return l; }; - f.prototype.lBb = function (l) { + f.prototype.nBb = function (l) { var d, g, h, m; - d = this.kqa.slice(0); + d = this.eqa.slice(0); g = 0; h = 0; if (this.hk && "undefined" != typeof l) { - m = new c(this.hk.start, this.hk.track, this.hk.eH); + m = new c(this.hk.start, this.hk.track, this.hk.mH); m.end = l; d.push(m); } d.forEach(function (n) { - var r, + var q, p; if (n.track) { if (n.end < n.start) { k.gb(!1, "negative range"); - n.FC = 0; + n.HC = 0; return; } - r = new Set(n.eH); - p = n.track.Rq(n.start, n.end); - n.p2 = p; - n.FC = void 0 === p || null === p ? 0 : 0 === p ? 100 : 100 * r.size / p; + q = new Set(n.mH); + p = n.track.Qq(n.start, n.end); + n.q2 = p; + n.HC = void 0 === p || null === p ? 0 : 0 === p ? 100 : 100 * q.size / p; } else - n.FC = 100; - r = n.end - n.start; - g += r; - h += n.FC * r; + n.HC = 100; + q = n.end - n.start; + g += q; + h += n.HC * q; }); m = g ? Math.round(h / g) : 100; this.log.trace("qoe score " + m + ", at pts: " + l); - this.Kz && (l = d.map(function (n) { + this.Nz && (l = d.map(function (n) { return { start: n.start, "end ": n.end, duration: n.end - n.start, - score: Math.round(n.FC), + score: Math.round(n.HC), lang: n.track ? n.track.wm : "none", - "actual ": n.eH.join(" "), - expected: n.p2 + "actual ": n.mH.join(" "), + expected: n.q2 }; - }), this.log.trace("score for each range: ", JSON.stringify(l, function (n, r) { - return r; + }), this.log.trace("score for each range: ", JSON.stringify(l, function (n, q) { + return q; }, " "))); return m; }; - b.NGa = f; - }, function (q, b, a) { + b.JGa = f; + }, function (r, b, a) { var f, k, l, @@ -125069,42 +125032,42 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v) { + q; + function c(p, t, u, w, v) { var x, y; - p = g.MD.call(this, u, p, p, "1", { - 0: t + p = g.PD.call(this, t, p, p, "1", { + 0: u }, [{ id: 0, name: "custom" } - ], "xx", w || p, h.rq.oI, void 0, void 0, "primary", null !== (x = null === v || void 0 === v ? void 0 : v.profile) && void 0 !== x ? x : "dfxp-ls-sdh", null !== (y = null === v || void 0 === v ? void 0 : v.midx) && void 0 !== y ? y : {}, !1, !1, null === v || void 0 === v ? void 0 : v.isLanguageLeftToRight) || this; - p.j = u; - p.url = t; + ], null === v || void 0 === v ? void 0 : v.rank, "xx", w || p, h.tq.vI, void 0, void 0, "primary", null !== (x = null === v || void 0 === v ? void 0 : v.profile) && void 0 !== x ? x : "dfxp-ls-sdh", null !== (y = null === v || void 0 === v ? void 0 : v.midx) && void 0 !== y ? y : {}, !1, !1, null === v || void 0 === v ? void 0 : v.isLanguageLeftToRight) || this; + p.j = t; + p.url = u; p.options = v; - p.St = null === v || void 0 === v ? void 0 : v.useRangeHeader; + p.Yt = null === v || void 0 === v ? void 0 : v.useRangeHeader; return p; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.eHa = void 0; - q = a(62); + b.aHa = void 0; + r = a(63); f = a(13); - k = a(63); + k = a(64); l = a(7); d = a(29); - g = a(217); + g = a(218); h = a(142); - m = a(71); - n = a(129); - r = a(18); - q.Taa(q.Paa, function (p) { - var t; - function u(w) { + m = a(72); + n = a(128); + q = a(18); + r.Maa(r.Iaa, function (p) { + var u; + function t(w) { var v; - if (w.ctrlKey && w.altKey && w.shiftKey && w.keyCode == n.du.feb) { + if (w.ctrlKey && w.altKey && w.shiftKey && w.keyCode == n.iu.ieb) { v = d.createElement("INPUT", void 0, void 0, { type: "file" }); @@ -125115,13 +125078,13 @@ a000.D9b = function () { x = v.files[0]; if (x) { y = x.name; - t.info("Loading file", { + u.info("Loading file", { FileName: y }); z = new FileReader(); z.readAsText(x); z.addEventListener("load", function () { - return p.Yp.mea("nourl", y, { + return p.Zp.gea("nourl", y, { content: z.result }); }); @@ -125130,46 +125093,46 @@ a000.D9b = function () { v.click(); } } - t = l.Ih(p, "TimedTextCustomTrack"); - f.config.cha && (t.info("Loading url", { - Url: f.config.cha - }), p.Yp.mea(f.config.cha, "custom")); - k.lf.addListener(k.FB, u); - p.addEventListener(r.W.dg, function () { - k.lf.removeListener(k.FB, u); + u = l.Ih(p, "TimedTextCustomTrack"); + f.config.Xga && (u.info("Loading url", { + Url: f.config.Xga + }), p.Zp.gea(f.config.Xga, "custom")); + k.lf.addListener(k.IB, t); + p.addEventListener(q.Z.dg, function () { + k.lf.removeListener(k.IB, t); }); }); - ka(c, g.MD); - c.Crb = function (p, u, t, w) { + ja(c, g.PD); + c.Drb = function (p, t, u, w) { var v; - v = "custom" + c.cEb++; - return new c(v, p, u, t, w); + v = "custom" + c.fEb++; + return new c(v, p, t, u, w); }; - c.prototype.tQa = function () { + c.prototype.qQa = function () { var p; p = this; - return new Promise(function (u, t) { + return new Promise(function (t, u) { var w, v; if (null === (w = p.options) || void 0 === w ? 0 : w.content) - u(p.options.content); + t(p.options.content); else if (p.url) { v = { - responseType: m.lla, + responseType: m.gla, url: p.url, track: p, - Pc: null, - hF: "tt-" + p.wm + pc: null, + kF: "tt-" + p.wm }; - p.j.P3.download(v, function (x) { - x.X ? u(x.content) : (x.reason = "downloadfailed", x.url = v.url, x.track = p, t(x)); + p.j.Q3.download(v, function (x) { + x.W ? t(x.content) : (x.reason = "downloadfailed", x.url = v.url, x.track = p, u(x)); }); } }); }; - b.eHa = c; - c.cEb = 0; - }, function (q, b, a) { + b.aHa = c; + c.fEb = 0; + }, function (r, b, a) { var f, k, l, @@ -125178,64 +125141,64 @@ a000.D9b = function () { h; function c(m) { var n, - r; + q; n = this; this.j = m; - this.FKb = function () { + this.HKb = function () { var p; - l.lf.removeListener(l.y3, n.e_a); - p = n.Uq.qp(); + l.lf.removeListener(l.z3, n.c_a); + p = n.Tq.rp(); p && p.parentNode && p.parentNode.removeChild(p); }; - this.Yoa = function (p) { - n.Uq.RRb(p.newValue); + this.Toa = function (p) { + n.Tq.URb(p.newValue); }; - this.iLb = function (p) { - n.Uq.YRb(p.newValue ? p.newValue.v4 : void 0); + this.kLb = function (p) { + n.Tq.aSb(p.newValue ? p.newValue.v4 : void 0); }; - this.e_a = function () { - n.Uq.TM(); + this.c_a = function () { + n.Tq.TM(); }; - this.Uq = new g.fHa(d.config.bta, m.Nc.value ? m.Nc.value.v4 : void 0); - r = m.Lz; - k.gb(.1 < r.width / r.height); - this.Uq.HRb(r.width / r.height); - m.mg.appendChild(this.Uq.qp()); - m.Qt.addListener(this.Yoa); - m.Nc.addListener(this.iLb); - m.addEventListener(h.W.dg, this.FKb, f.ED); - l.lf.addListener(l.y3, this.e_a); + this.Tq = new g.bHa(d.config.Xsa, m.Rc.value ? m.Rc.value.v4 : void 0); + q = m.Oz; + k.gb(.1 < q.width / q.height); + this.Tq.KRb(q.width / q.height); + m.kg.appendChild(this.Tq.rp()); + m.Wt.addListener(this.Toa); + m.Rc.addListener(this.kLb); + m.addEventListener(h.Z.dg, this.HKb, f.GD); + l.lf.addListener(l.z3, this.c_a); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.hHa = void 0; + b.dHa = void 0; f = a(12); k = a(21); - l = a(63); + l = a(64); d = a(13); - g = a(501); + g = a(505); h = a(18); - c.prototype.esa = function (m) { - this.Uq.esa(m); + c.prototype.Xra = function (m) { + this.Tq.Xra(m); }; - c.prototype.Dka = function () { - return this.Uq.Dka(); + c.prototype.Aka = function () { + return this.Tq.Aka(); }; - c.prototype.csa = function (m) { - this.Uq.csa(m); + c.prototype.Vra = function (m) { + this.Tq.Vra(m); }; - c.prototype.Bka = function () { - return this.Uq.Bka(); + c.prototype.yka = function () { + return this.Tq.yka(); }; - c.prototype.dsa = function (m) { - this.Uq.dsa(m); + c.prototype.Wra = function (m) { + this.Tq.Wra(m); }; - c.prototype.Cka = function () { - return this.Uq.Cka(); + c.prototype.zka = function () { + return this.Tq.zka(); }; - b.hHa = c; - }, function (q, b) { + b.dHa = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); @@ -125257,7 +125220,7 @@ a000.D9b = function () { } }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -125266,42 +125229,42 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t) { - this.j = t; - this.CUb = !1; + t; + function c(u) { + this.j = u; + this.EUb = !1; this.log = d.Ih(this.j, "MediaAppendManager"); - this.Ib = this.j.Ib; - this.la = this.Ib.la; - this.sX = this.wR = !1; + this.Kb = this.j.Kb; + this.la = this.Kb.la; + this.rX = this.xR = !1; this.audio = { type: l.Uh.audio, - oB: [], + pB: [], fl: [], - wM: !1 + yM: !1 }; this.video = { type: l.Uh.video, - oB: [], + pB: [], fl: [], - wM: !1 + yM: !1 }; - t = {}; - this.oH = (t[f.ic.Hk.Hb] = this.video, t[f.ic.Hk.Tb] = this.audio, t); + u = {}; + this.wH = (u[f.Qb.Hk.Bb] = this.video, u[f.Qb.Hk.Ob] = this.audio, u); this.closed = !1; - this.My = k.config.My; + this.Py = k.config.Py; this.u5 = k.config.u5; - this.oG = k.EOa(!!this.j.kb.Ol).oG; - this.RMa = !0; - h.gb(this.My > this.u5, "bad config"); - h.gb(this.My > this.oG, "bad config"); + this.uG = k.DOa(!!this.j.kb.Nl).uG; + this.SMa = !0; + h.gb(this.Py > this.u5, "bad config"); + h.gb(this.Py > this.uG, "bad config"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.GBa = void 0; + b.EBa = void 0; f = a(53); k = a(13); l = a(81); @@ -125310,366 +125273,366 @@ a000.D9b = function () { h = a(21); m = a(29); n = a(18); - r = a(171); - p = a(5); - u = a(65); - c.prototype.R2 = function () { + q = a(170); + p = a(4); + t = a(66); + c.prototype.S2 = function () { var v, x; - function t(y, z) { + function u(y, z) { return w(y, z.l5); } function w(y, z) { - var B, - A, + var A, + B, C, E; C = !!z.response; E = z.response; - if (z.Lc) + if (z.Nc) return y + (E.byteLength || 0); - z = (null !== (B = null === z || void 0 === z ? void 0 : z.VJ) && void 0 !== B ? B : 0) - (null !== (A = null === z || void 0 === z ? void 0 : z.WJ) && void 0 !== A ? A : 0); + z = (null !== (A = null === z || void 0 === z ? void 0 : z.ZJ) && void 0 !== A ? A : 0) - (null !== (B = null === z || void 0 === z ? void 0 : z.$J) && void 0 !== B ? B : 0); return (C ? E.byteLength : z) + y; } - v = this.oH[f.ic.Hk.Hb]; - x = this.oH[f.ic.Hk.Tb]; + v = this.wH[f.Qb.Hk.Bb]; + x = this.wH[f.Qb.Hk.Ob]; return { videoToAppend: v.fl.reduce(w, 0), - videoInBuffer: v.oB.reduce(t, 0), + videoInBuffer: v.pB.reduce(u, 0), audioToAppend: x.fl.reduce(w, 0), - audioInBuffer: x.oB.reduce(t, 0) + audioInBuffer: x.pB.reduce(u, 0) }; }; - c.prototype.fKb = function () { - this.audio.Rj && !this.audio.Rj.hi() && (!1, this.audio.Rj.dMa(new Uint8Array([0, 0, 0, 8, 102, 114, 101, 101]))); + c.prototype.hKb = function () { + this.audio.Qj && !this.audio.Qj.hi() && (!1, this.audio.Qj.cMa(new Uint8Array([0, 0, 0, 8, 102, 114, 101, 101]))); }; - c.prototype.lSb = function () { - this.audio.hsa = !0; - this.video.hsa = !0; + c.prototype.oSb = function () { + this.audio.bsa = !0; + this.video.bsa = !0; }; - c.prototype.qSb = function (t) { - t === f.ic.Hk.Tb ? this.wR = !0 : t === f.ic.Hk.Hb && (this.sX = !0); + c.prototype.tSb = function (u) { + u === f.Qb.Hk.Ob ? this.xR = !0 : u === f.Qb.Hk.Bb && (this.rX = !0); }; c.prototype.hi = function () { - var t, + var u, w; - return !(null === (t = this.audio.Rj) || void 0 === t || !t.hi()) || !(null === (w = this.video.Rj) || void 0 === w || !w.hi()); + return !(null === (u = this.audio.Qj) || void 0 === u || !u.hi()) || !(null === (w = this.video.Qj) || void 0 === w || !w.hi()); }; - c.prototype.A7 = function (t) { + c.prototype.w7 = function (u) { var w, v; - null === (w = this.audio.Rj) || void 0 === w ? void 0 : w.A7(t); - null === (v = this.video.Rj) || void 0 === v ? void 0 : v.A7(t); + null === (w = this.audio.Qj) || void 0 === w ? void 0 : w.w7(u); + null === (v = this.video.Qj) || void 0 === v ? void 0 : v.w7(u); }; - c.prototype.mlb = function (t) { + c.prototype.olb = function (u) { var w; - t.mediaType === f.ic.Hk.Tb ? this.wR = !1 : t.mediaType === f.ic.Hk.Hb && (this.sX = !1); - w = this.oH[t.mediaType]; - w ? w.fl.push(t) : h.gb(!1); + u.mediaType === f.Qb.Hk.Ob ? this.xR = !1 : u.mediaType === f.Qb.Hk.Bb && (this.rX = !1); + w = this.wH[u.mediaType]; + w ? w.fl.push(u) : h.gb(!1); }; - c.prototype.klb = function (t, w, v) { + c.prototype.mlb = function (u, w, v) { w = { - mediaType: t.type, - TB: !1, + mediaType: u.type, + VB: !1, response: w, Jh: function () { return "header"; }, - get Lc() { - return !this.TB; + get Nc() { + return !this.VB; }, profile: v.profile }; - (t = this.oH[t.type]) ? t.fl.push(w) : h.gb(!1); + (u = this.wH[u.type]) ? u.fl.push(w) : h.gb(!1); }; - c.prototype.oSb = function (t) { + c.prototype.rSb = function (u) { var w; - w = this.oH[t.type]; + w = this.wH[u.type]; if (w) try { - w.Rj = t; + w.Qj = u; } catch (v) { - this.Ld(g.L.waa, { - oa: r.Y2(t.type), - sb: m.vd(v) + this.Jd(g.M.qaa, { + oa: q.a3(u.type), + qb: m.vd(v) }); } }; c.prototype.close = function () { this.closed = !0; }; - c.prototype.Ld = function (t, w, v) { - this.closed || this.j.Ld(t, w, v); + c.prototype.Jd = function (u, w, v) { + this.closed || this.j.Jd(u, w, v); }; - c.prototype.nha = function (t) { - return this.nQa(this.audio, t, this.H1()) && this.nQa(this.video, t, this.H1()); + c.prototype.hha = function (u) { + return this.kQa(this.audio, u, this.J1()) && this.kQa(this.video, u, this.J1()); }; - c.prototype.H1 = function () { - return this.j.ac.value === n.Bb.Jg ? this.oG : this.u5; + c.prototype.J1 = function () { + return this.j.bc.value === n.Eb.Hg ? this.uG : this.u5; }; - c.prototype.nVb = function () { - var t, + c.prototype.pVb = function () { + var u, w; - t = this.video.fl.filter(function (v) { - return !v.Lc; + u = this.video.fl.filter(function (v) { + return !v.Nc; }).reduce(function (v, x) { - return v + x.Zx; + return v + x.dy; }, 0); w = this.audio.fl.filter(function (v) { - return !v.Lc; + return !v.Nc; }).reduce(function (v, x) { - return v + x.Zx; + return v + x.dy; }, 0); - return Math.min(t, w); + return Math.min(u, w); }; - c.prototype.nQa = function (t, w, v) { + c.prototype.kQa = function (u, w, v) { var x; - x = t.oha; + x = u.iha; x = x && x.l5; - return !t.Rj || 0 === t.fl.length && (t.type === l.Uh.audio && this.wR || t.type === l.Uh.video && this.sX) ? !0 : x && x.Mv - w >= v || !1; + return !u.Qj || 0 === u.fl.length && (u.type === l.Uh.audio && this.xR || u.type === l.Uh.video && this.rX) ? !0 : x && x.Rv - w >= v || !1; }; - c.prototype.tta = function (t) { + c.prototype.ota = function (u) { var w, v; - this.CUb || (this.z5a(this.audio, t), this.z5a(this.video, t)); - !(this.closed || !(0 === this.audio.fl.length && this.wR || 0 === this.video.fl.length && this.sX) || (null === (w = this.audio.Rj) || void 0 === w ? 0 : w.hi()) || (null === (v = this.video.Rj) || void 0 === v ? 0 : v.hi()) || this.cia) && this.la.readyState > u.gq.bza.HAVE_NOTHING && (this.cia = !0, this.Ib.endOfStream()); + this.EUb || (this.B5a(this.audio, u), this.B5a(this.video, u)); + !(this.closed || !(0 === this.audio.fl.length && this.xR || 0 === this.video.fl.length && this.rX) || (null === (w = this.audio.Qj) || void 0 === w ? 0 : w.hi()) || (null === (v = this.video.Qj) || void 0 === v ? 0 : v.hi()) || this.Wha) && this.la.readyState > t.iq.$ya.HAVE_NOTHING && (this.Wha = !0, this.Kb.endOfStream()); }; - c.prototype.z5a = function (t, w) { + c.prototype.B5a = function (u, w) { var v, x, y; - if (!this.closed && t.Rj) { - v = t.Rj; - x = t.oB; - !v.hi() && 0 < x.length && (t.oha = x[x.length - 1]); - if (t.hsa) { + if (!this.closed && u.Qj) { + v = u.Qj; + x = u.pB; + !v.hi() && 0 < x.length && (u.iha = x[x.length - 1]); + if (u.bsa) { if (v.hi()) return; - t.hsa = !1; - y = this.Ib.ITa().t0a(p.nn); + u.bsa = !1; + y = this.Kb.KTa().t0a(p.ln); 0 < y && v.remove(0, y); } - for (y = t.fl[0]; y && y.response && (y.Lc || y.ez - w <= this.My); ) { - if ((this.cia = !1, this.aWb(y))) - (t.fl.shift(), y = t.fl[0]); + for (y = u.fl[0]; y && y.response && (y.Nc || y.hz - w <= this.Py); ) { + if ((this.Wha = !1, this.cWb(y))) + (u.fl.shift(), y = u.fl[0]); else break; } - !v.hi() && 0 < x.length && (t.oha = x[x.length - 1]); + !v.hi() && 0 < x.length && (u.iha = x[x.length - 1]); } }; - c.prototype.aWb = function (t) { + c.prototype.cWb = function (u) { var w, v, x; !1; - h.gb(t && !!t.response); - w = t.response; - v = t.mediaType; - x = this.oH[v]; - if (!this.closed && x.Rj && !x.Rj.hi()) { + h.gb(u && !!u.response); + w = u.response; + v = u.mediaType; + x = this.wH[v]; + if (!this.closed && x.Qj && !x.Qj.hi()) { try { - t.Lc && t.profile && x.Rj.dob(t.profile); + u.Nc && u.profile && x.Qj.eob(u.profile); this.log.trace("Feeding media segment to decoder", { Bytes: w.byteLength }); - x.Rj.dMa(w, t); - t.Lc || x.oB.push(this.Erb(t)); - k.config.eub && !t.Lc && t.$Na(); + x.Qj.cMa(w, u); + u.Nc || x.pB.push(this.Frb(u)); + k.config.iub && !u.Nc && u.YNa(); } catch (y) { - "QuotaExceededError" === y.name ? (this.j.J1 = this.j.J1 ? this.j.J1 + 1 : 1, this.RMa = !1, x.wM = !0) : (this.log.error("Exception while appending media", t, y), this.Ld("CodecSwitchingError" === y.name ? g.L.aDa : g.L.Xcb, r.Y2(v))); + "QuotaExceededError" === y.name ? (this.j.L1 = this.j.L1 ? this.j.L1 + 1 : 1, this.SMa = !1, x.yM = !0) : (this.log.error("Exception while appending media", u, y), this.Jd("CodecSwitchingError" === y.name ? g.M.XCa : g.M.$cb, q.a3(v))); return; } return !0; } }; - c.prototype.wrb = function (t) { + c.prototype.xrb = function (u) { var w; - w = this.j.zCb(t.Rc); + w = this.j.BCb(u.Qc); w || (this.log.warn("Could not find CDN", { - cdnId: t.Rc + cdnId: u.Qc }), w = { - id: t.Rc, - Sma: t.location + id: u.Qc, + Mma: u.location }); return w; }; - c.prototype.nPa = function (t) { + c.prototype.mPa = function (u) { var w, v; - v = t.La; - t.mediaType === f.ic.Hk.Tb ? w = this.j.SUa(v) : t.mediaType === f.ic.Hk.Hb && (w = this.j.aVa(v)); + v = u.Ma; + u.mediaType === f.Qb.Hk.Ob ? w = this.j.SUa(v) : u.mediaType === f.Qb.Hk.Bb && (w = this.j.aVa(v)); w || this.log.error("Could not find stream", { stream: v }); return w; }; - c.prototype.Erb = function (t) { + c.prototype.Frb = function (u) { var w; - w = this.nPa(t); + w = this.mPa(u); return { - l5: t, + l5: u, stream: w, - Fq: { - startTime: Math.floor(t.ez), - endTime: Math.floor(t.Mv) + Hq: { + startTime: Math.floor(u.hz), + endTime: Math.floor(u.Rv) }, - Pc: this.wrb(t) + pc: this.xrb(u) }; }; - c.prototype.Vfa = function (t) { - this.VNa(t, f.ic.Hk.Tb); - this.VNa(t, f.ic.Hk.Hb); + c.prototype.Pfa = function (u) { + this.TNa(u, f.Qb.Hk.Ob); + this.TNa(u, f.Qb.Hk.Bb); }; - c.prototype.VNa = function (t, w) { + c.prototype.TNa = function (u, w) { var v, x, y, z, - B, A, + B, C, E, - F; + G; v = this; - x = t; - this.RMa && (x -= k.config.$M); - y = this.oH[w]; - z = y.oB; + x = u; + this.SMa && (x -= k.config.$M); + y = this.wH[w]; + z = y.pB; C = !1; - z.some(function (D, G) { - var I; - I = D.l5; - if (t < I.ez) + z.some(function (D, F) { + var J; + J = D.l5; + if (u < J.hz) return (h.gb(!1, "decoder content does not contain media time"), !0); - x >= I.Mv && (B = G); - if (t < I.Mv) - return (A = G, G = w === f.ic.Hk.Tb ? v.j.Ug : v.j.Sf, D !== G.value && (G.set(D), C = !0), !0); + x >= J.Rv && (A = F); + if (u < J.Rv) + return (B = F, F = w === f.Qb.Hk.Ob ? v.j.Sg : v.j.Tf, D !== F.value && (F.set(D), C = !0), !0); }); - if ((y.wM || C) && void 0 !== B && !this.cia) { - if (B + 1 === A) { - if (0 === B) + if ((y.yM || C) && void 0 !== A && !this.Wha) { + if (A + 1 === B) { + if (0 === A) return; - B--; + A--; } - E = z[B].l5.Mv - 1; + E = z[A].l5.Rv - 1; if (0 < E) { - F = y.Rj; - F && !F.hi() ? (F.remove(0, E / m.Ik), y.wM = !1, z.splice(0, B + 1)) : (y.wM = !0, !1); + G = y.Qj; + G && !G.hi() ? (G.remove(0, E / m.Ik), y.yM = !1, z.splice(0, A + 1)) : (y.yM = !0, !1); } } }; - c.prototype.Z1a = function () { + c.prototype.Y1a = function () { !1; - [this.audio, this.video].forEach(function (t) { - t.oB = []; - t.oha = void 0; - t.fl = []; + [this.audio, this.video].forEach(function (u) { + u.pB = []; + u.iha = void 0; + u.fl = []; }); - this.sX = this.wR = !1; - this.j.fireEvent(n.W.i5); + this.rX = this.xR = !1; + this.j.fireEvent(n.Z.i5); }; - c.prototype.Ika = function () { - return [this.audio, this.video].filter(function (t) { - return t.Rj; + c.prototype.Fka = function () { + return [this.audio, this.video].filter(function (u) { + return u.Qj; }); }; - c.prototype.Dyb = function () { - var t, + c.prototype.Iyb = function () { + var u, w; if (this.hi()) h.gb(!1, "should not be busy while checking buffer ranges"); else { - t = this.Ika().map(function (v) { + u = this.Fka().map(function (v) { var x, y, z, - B, - A; - B = v.fl.filter(function (C) { - return C.TB; + A, + B; + A = v.fl.filter(function (C) { + return C.VB; }); - A = v.Rj.buffered(); - v = A.length ? Math.ceil(1E3 * A.start(0)) : void 0; - A = A.length ? Math.floor(1E3 * A.end(A.length - 1)) : void 0; - v = null !== v && void 0 !== v ? v : null === (x = B[0]) || void 0 === x ? void 0 : x.ez; - x = null !== (z = null === (y = B[B.length - 1]) || void 0 === y ? void 0 : y.Mv) && void 0 !== z ? z : A; + B = v.Qj.buffered(); + v = B.length ? Math.ceil(1E3 * B.start(0)) : void 0; + B = B.length ? Math.floor(1E3 * B.end(B.length - 1)) : void 0; + v = null !== v && void 0 !== v ? v : null === (x = A[0]) || void 0 === x ? void 0 : x.hz; + x = null !== (z = null === (y = A[A.length - 1]) || void 0 === y ? void 0 : y.Rv) && void 0 !== z ? z : B; if (void 0 !== v && void 0 !== x) return { start: v, end: x }; }); - if (t.every(function (v) { + if (u.every(function (v) { return v; })) { - w = Math.max.apply(Math, ca(t.map(function (v) { + w = Math.max.apply(Math, ca(u.map(function (v) { return v.start; }))); - t = Math.min.apply(Math, ca(t.map(function (v) { + u = Math.min.apply(Math, ca(u.map(function (v) { return v.end; }))); - if (t > w) + if (u > w) return { - start: p.uc(w), - end: p.uc(t) + start: p.wc(w), + end: p.wc(u) }; } } }; - c.prototype.skip = function (t) { + c.prototype.skip = function (u) { h.gb(!this.hi(), "should not be busy while skipping"); - this.Ika().forEach(function (w) { - w.wM = !0; + this.Fka().forEach(function (w) { + w.yM = !0; }); - this.Vfa(t); - this.Ika().forEach(function (w) { - 0 < w.oB.length || (w.fl = w.fl.filter(function (v) { - return v.Lc || v.Mv > t ? !0 : !1; + this.Pfa(u); + this.Fka().forEach(function (w) { + 0 < w.pB.length || (w.fl = w.fl.filter(function (v) { + return v.Nc || v.Rv > u ? !0 : !1; })); }); }; - b.GBa = c; - }, function (q, b, a) { + b.EBa = c; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(281); + r = a(282); c = a(157); - b.b$a = c; - c = a(507); - b.Aba = c; + b.d$a = c; c = a(511); + b.uba = c; + c = a(515); b.Xlb = c; - b.zZ = q.Cp.Sa.sidx; - q = a(1120); - b.Nr = q.Nr; - q = a(289); - b.lq = q.lq; - q = a(1124); - b.mq = q.mq; - b.Ky = q.Ky; - q = a(1125); - b.bI = q.bI; - q = a(87); - b.qn = q.qn; - a = a(1126); - b.hm = a.hm; - }, function (q, b, a) { + b.AZ = r.Ep.Ta.sidx; + r = a(1123); + b.Qr = r.Qr; + r = a(290); + b.nq = r.nq; + r = a(1127); + b.oq = r.oq; + b.Ny = r.Ny; + r = a(1128); + b.jI = r.jI; + r = a(87); + b.pn = r.pn; + a = a(1129); + b.gm = a.gm; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.ec(); - this.Sb = 1 === this.version ? this.oi([{ + this.ic(); + this.Vb = 1 === this.version ? this.oi([{ creationTime: "int64" }, { modificationTime: "int64" @@ -125690,41 +125653,41 @@ a000.D9b = function () { ]); return !0; }; - k.Lb = "mvhd"; + k.Mb = "mvhd"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.Lb = "trak"; + k.Mb = "trak"; k.Ka = !0; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var l; - this.ec(); + this.ic(); l = 1 === this.version ? [{ creationTime: "int64" }, { @@ -125754,9 +125717,9 @@ a000.D9b = function () { offset: 64, type: "offset" }, { - gGb: "int16" + iGb: "int16" }, { - glb: "int16" + hlb: "int16" }, { volume: "int16" }, { @@ -125770,123 +125733,123 @@ a000.D9b = function () { }, { height: "int32" }); - this.Sb = this.oi(l); - this.Sb.BVb = !!(this.flags & 1); - this.Sb.CVb = !!(this.flags & 2); - this.Sb.DVb = !!(this.flags & 4); - this.Sb.EVb = !!(this.flags & 8); + this.Vb = this.oi(l); + this.Vb.DVb = !!(this.flags & 1); + this.Vb.EVb = !!(this.flags & 2); + this.Vb.FVb = !!(this.flags & 4); + this.Vb.GVb = !!(this.flags & 8); this.u.console.trace("Finished parsing track box"); return !0; }; - k.Lb = "tkhd"; + k.Mb = "tkhd"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.ec(); - this.Sb = this.oi(1 === this.version ? [{ - I2: "int64" + this.ic(); + this.Vb = this.oi(1 === this.version ? [{ + J2: "int64" } ] : [{ - I2: "int32" + J2: "int32" } ]); return !0; }; - k.Lb = "mehd"; + k.Mb = "mehd"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Sb = this.oi([{ - dDb: "int32" + this.Vb = this.oi([{ + gDb: "int32" }, { - KXb: "int32" + MXb: "int32" } ]); return !0; }; - k.Lb = "pasp"; + k.Mb = "pasp"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.Sb = this.oi([{ - Xmb: "int32" + this.Vb = this.oi([{ + Ymb: "int32" }, { maxBitrate: "int32" }, { - ffa: "int32" + Zea: "int32" } ]); return !0; }; - k.Lb = "btrt"; + k.Mb = "btrt"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.u.ll(); - this.u.ll(); - for (this.VE = []; this.u.offset <= this.byteOffset + this.byteLength - 4; ) { - this.VE.push(this.u.ll()); + this.u.kl(); + this.u.kl(); + for (this.XE = []; this.u.offset <= this.byteOffset + this.byteLength - 4; ) { + this.XE.push(this.u.kl()); } return !0; }; - k.Lb = "ftyp"; + k.Mb = "ftyp"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -125894,17 +125857,17 @@ a000.D9b = function () { }); c = a(23); f = a(87); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.Sb = this.oi([{ - jNb: "int32" + this.ic(); + this.Vb = this.oi([{ + nNb: "int32" }, { - IT: "int32" + GT: "int32" }, { offset: 96, type: "offset" @@ -125912,15 +125875,15 @@ a000.D9b = function () { name: "string" } ]); - this.Sb.IT = f.qn(this.Sb.IT); + this.Vb.GT = f.pn(this.Vb.GT); return !0; }; - l.Lb = "hdlr"; + l.Mb = "hdlr"; l.Ka = !1; return l; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c, f, k, @@ -125931,9 +125894,9 @@ a000.D9b = function () { }); c = a(23); f = a(101); - k = a(282); + k = a(283); l = a(189); - q = a(33); + r = a(33); d = a(102); a = (function (g) { function h() { @@ -125941,83 +125904,83 @@ a000.D9b = function () { } c.__extends(h, g); h.prototype.parse = function () { - this.ec(); - this.Ml = this.u.ta(); + this.ic(); + this.Ll = this.u.ta(); return !0; }; - h.prototype.Ds = function (m) { + h.prototype.Hs = function (m) { var n; - n = Object.keys(this.Sa); - n.length && (n = n[0], this.Sa[n].length && (n = this.Sa[n][0], n instanceof l.default ? this.pa = new k.S(n.hy, n.samplerate) : n instanceof d.default && (n = n.Sa[f.yD]) && n.length && (n = n[0].Sb, 1E3 !== n.Tx && 1001 !== n.Tx || 0 !== n.lG % 1E3 ? this.u.console.warn("Unexpected frame rate in NetflixFrameRateBox: " + n.lG + "/" + n.Tx) : this.pa = new k.S(n.Tx, n.lG)), this.pa && (m.pa = this.pa))); + n = Object.keys(this.Ta); + n.length && (n = n[0], this.Ta[n].length && (n = this.Ta[n][0], n instanceof l.default ? this.pa = new k.S(n.my, n.samplerate) : n instanceof d.default && (n = n.Ta[f.AD]) && n.length && (n = n[0].Vb, 1E3 !== n.Yx && 1001 !== n.Yx || 0 !== n.rG % 1E3 ? this.u.console.warn("Unexpected frame rate in NetflixFrameRateBox: " + n.rG + "/" + n.Yx) : this.pa = new k.S(n.Yx, n.rG)), this.pa && (m.pa = this.pa))); return !0; }; - h.prototype.WV = function (m) { - void 0 !== this.Sa[m] && 0 !== this.Sa[m].length && (this.ia.Gg(this.Ml - 1, this.byteOffset + 12), m = this.Sa[m][0], this.re(m.byteLength, m.byteOffset)); + h.prototype.VV = function (m) { + void 0 !== this.Ta[m] && 0 !== this.Ta[m].length && (this.ja.Eg(this.Ll - 1, this.byteOffset + 12), m = this.Ta[m][0], this.te(m.byteLength, m.byteOffset)); }; - h.Lb = "stsd"; + h.Mb = "stsd"; h.Ka = !0; return h; - })(q.kc); + })(r.mc); b.default = a; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { - this.kja = this.u.dc(2); - this.rfa = this.u.dc(5); - this.sfa = this.u.dc(3); - this.gea = this.u.dc(3); - this.u.dc(1); - this.u.dc(5); - this.u.dc(5); + this.dja = this.u.ec(2); + this.kfa = this.u.ec(5); + this.lfa = this.u.ec(3); + this.aea = this.u.ec(3); + this.u.ec(1); + this.u.ec(5); + this.u.ec(5); return !0; }; - k.Lb = "dac3"; + k.Mb = "dac3"; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); k.prototype.parse = function () { var d; - this.Doa = this.u.Dc() & 7; - this.Msa = []; - for (var l = 0; l < this.Doa; l++) { + this.yoa = this.u.Gc() & 7; + this.Hsa = []; + for (var l = 0; l < this.yoa; l++) { d = { - kja: this.u.dc(2), - rfa: this.u.dc(5), - sfa: this.u.dc(5), - gea: this.u.dc(3), - iGb: this.u.dc(1), - Coa: this.u.dc(4) + dja: this.u.ec(2), + kfa: this.u.ec(5), + lfa: this.u.ec(5), + aea: this.u.ec(3), + kGb: this.u.ec(1), + xoa: this.u.ec(4) }; - 0 < d.Coa ? d.bob = this.u.dc(9) : this.u.dc(1); - this.Msa.push(d); + 0 < d.xoa ? d.cob = this.u.ec(9) : this.u.ec(1); + this.Hsa.push(d); } return !0; }; - k.Lb = "dec3"; + k.Mb = "dec3"; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -126025,31 +125988,31 @@ a000.D9b = function () { }); c = a(23); f = a(33); - q = (function (k) { + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.gW = this.u.ll(); - f.ka && this.u.console.trace("SchemeTypeBoxTranslator: " + this.gW); - "cenc" === this.gW && (this.u.offset -= 4, f.ka && this.u.console.trace("SchemeTypeBoxTranslator: writing type piff at offset " + this.u.offset), this.ia.AX("piff")); + this.ic(); + this.gW = this.u.kl(); + f.ia && this.u.console.trace("SchemeTypeBoxTranslator: " + this.gW); + "cenc" === this.gW && (this.u.offset -= 4, f.ia && this.u.console.trace("SchemeTypeBoxTranslator: writing type piff at offset " + this.u.offset), this.ja.zX("piff")); this.u.ta(); return !0; }; - l.Lb = "schm"; + l.Mb = "schm"; l.Ka = !1; return l; - })(f.kc); - b.default = q; - }, function (q, b, a) { + })(f.mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } @@ -126057,115 +126020,115 @@ a000.D9b = function () { k.prototype.parse = function () { var l; this.u.cb(); - this.l9 = this.u.cb(); + this.g9 = this.u.cb(); this.u.cb(); this.u.cb(); this.u.cb(); - this.AW = this.nE(this.u.cb() & 31); - this.nE(this.u.cb()); - this.cz = this.AW.length ? this.AW[0][0] : this.l9; - this.KQ = this.u.offset; - this.startOffset + this.length < this.u.offset && (100 === this.cz || 110 === this.cz || 122 === this.cz || 144 === this.cz) && (this.u.cb(), this.u.cb(), this.nE(this.u.cb())); - l = this.startOffset + this.length - this.KQ; - 0 < l && this.re(l, this.KQ); + this.zW = this.qE(this.u.cb() & 31); + this.qE(this.u.cb()); + this.fz = this.zW.length ? this.zW[0][0] : this.g9; + this.LQ = this.u.offset; + this.startOffset + this.length < this.u.offset && (100 === this.fz || 110 === this.fz || 122 === this.fz || 144 === this.fz) && (this.u.cb(), this.u.cb(), this.qE(this.u.cb())); + l = this.startOffset + this.length - this.LQ; + 0 < l && this.te(l, this.LQ); return !0; }; - k.prototype.nE = function (l) { + k.prototype.qE = function (l) { var h; for (var d = [], g = 0; g < l; ++g) { - h = this.u.Dc(); - d.push(this.u.gz(h)); + h = this.u.Gc(); + d.push(this.u.jz(h)); } return d; }; - k.Lb = "avcC"; + k.Mb = "avcC"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } c.__extends(k, f); - k.prototype.Ds = function () { + k.prototype.Hs = function () { var l; l = this.$k("esds"); - if (l = l && l.d$.$k(5)) - this.hy = l.hy; + if (l = l && l.Y9.$k(5)) + this.my = l.my; return !0; }; - k.Lb = "mp4a"; + k.Mb = "mp4a"; k.Ka = !0; return k; })(a(189).default); - b.default = q; - }, function (q, b, a) { + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - f = a(284); - q = (function (k) { + f = a(285); + r = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.d$ = f.GO.MV(this.u); + this.ic(); + this.Y9 = f.GO.LV(this.u); return !0; }; - l.Lb = "esds"; + l.Mb = "esds"; l.Ka = !1; return l; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = a(101); + r = a(101); a = a(33); - f = q.yD; + f = r.AD; a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; } c.__extends(l, k); l.prototype.parse = function () { - this.ec(); - this.Sb = this.oi([{ - lG: "int32" + this.ic(); + this.Vb = this.oi([{ + rG: "int32" }, { - Tx: "int16" + Yx: "int16" } ]); return !0; }; - l.Lb = f; + l.Mb = f; l.Ka = !1; return l; - })(a.kc); + })(a.mc); b.default = a; - }, function (q, b, a) { + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = (function (f) { + r = (function (f) { function k() { return null !== f && f.apply(this, arguments) || this; } @@ -126176,44 +126139,44 @@ a000.D9b = function () { g, h, m; - this.ec(); + this.ic(); l = this.oi([{ - qH: "int32" + yH: "int32" }, { - nS: "int32" + mS: "int32" }, { - Qx: "int32" + Vx: "int32" }, { - Sx: "int32" + Xx: "int32" }, { - Rx: "int32" + Wx: "int32" } ]); - d = l.qH; - g = l.nS; - h = l.Qx; - m = l.Rx; - l = l.Sx; - this.Sb = { + d = l.yH; + g = l.mS; + h = l.Vx; + m = l.Wx; + l = l.Xx; + this.Vb = { trackId: d, - ntb: g, - Px: h, - otb: m, - ptb: l + ptb: g, + Ux: h, + qtb: m, + rtb: l }; - this.qH = d; - this.nS = g; - this.Qx = h; - this.Sx = l; - this.Rx = m; + this.yH = d; + this.mS = g; + this.Vx = h; + this.Xx = l; + this.Wx = m; return !0; }; - k.Lb = "trex"; + k.Mb = "trex"; k.Ka = !1; return k; - })(a(33).kc); - b.default = q; - }, function (q, b, a) { + })(a(33).mc); + b.default = r; + }, function (r, b, a) { var c, f, k, @@ -126223,204 +126186,204 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; + t; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - f = a(1121); - k = a(288); + f = a(1124); + k = a(289); l = a(156); - d = a(282); + d = a(283); g = a(33); - q = a(509); - h = a(510); - m = a(512); + r = a(513); + h = a(514); + m = a(516); n = a(157); - r = a(281); + q = a(282); p = a(101); - u = a(513); + t = a(517); a = (function () { - function t(w, v, x, y, z, B) { + function u(w, v, x, y, z, A) { this.console = w; this.stream = v; - this.rh = y; - this.vea = z; + this.qh = y; + this.pea = z; this.view = x instanceof ArrayBuffer ? new DataView(x) : new DataView(x.data, x.offset, x.length); - this.config = B || ({}); - this.YUa = n.Eja(); + this.config = A || ({}); + this.YUa = n.xja(); } - t.path = function (w, v) { + u.path = function (w, v) { return v.reduce(function (x, y) { - return x && x.Sa[y] && x.Sa[y][0]; + return x && x.Ta[y] && x.Ta[y][0]; }, w); }; - t.Vja = function (w) { - return w && w.VE && -1 !== w.VE.indexOf("mcl0") ? "mcl0" : void 0; + u.Pja = function (w) { + return w && w.XE && -1 !== w.XE.indexOf("mcl0") ? "mcl0" : void 0; }; - t.Iia = function (w, v) { + u.Bia = function (w, v) { var x, y; l.assert("mcl0" === w, "Unsupported McClearen brand"); x = v.Y; - w = x.fd; - v = new d.S(120, 1).Vf(x.U).Wb; + w = x.gd; + v = new d.S(120, 1).Wf(x.U).Zb; y = 0; - for (x = x.Bk; y < w.length && x < v; ) { + for (x = x.Ck; y < w.length && x < v; ) { x += w[y++]; } return y; }; - t.prototype.parse = function (w) { + u.prototype.parse = function (w) { var v; - v = this.tra(); + v = this.nra(); if (!v.done) { - if (v.RU) + if (v.QU) return { - Wm: !1, - FLa: v.RU + Vm: !1, + ELa: v.QU }; this.console.error("Scan error: " + v.error); return { - Wm: !1, + Vm: !1, parseError: v.error || "unknown mp4 scan error" }; } v = this.view.buffer.slice(this.view.byteOffset, this.view.byteOffset + v.offset); this.view = new DataView(v); - w = this.cpa(w); - return w.done ? this.Ega() : (this.console.error("Parse error: " + w.error), { - Wm: !1, + w = this.Yoa(w); + return w.done ? this.yga() : (this.console.error("Parse error: " + w.error), { + Vm: !1, parseError: w.error || "unknown mp4 parse error" }); }; - t.prototype.Em = function (w) { - return g.kc.Em(this, w); + u.prototype.Cm = function (w) { + return g.mc.Cm(this, w); }; - t.prototype.$k = function (w) { - return g.kc.$k(this, w); + u.prototype.$k = function (w) { + return g.mc.$k(this, w); }; - t.prototype.tra = function () { + u.prototype.nra = function () { var w, v; - w = new u.y$(this.rh, this.vea ? [p.Dw, p.Cw] : [], this.config && this.config.SUb || ["moof", p.qP], this.config && this.config.pV); + w = new t.q$(this.qh, this.pea ? [p.Jw, p.Iw] : [], this.config && this.config.UUb || ["moof", p.rP], this.config && this.config.oV); v = c.__assign(c.__assign({}, this.config), { - pG: !1 + vG: !1 }); - return new m.bD(t.LG, w, this.view, this.console, v).parse(); + return new m.dD(u.TG, w, this.view, this.console, v).parse(); }; - t.prototype.cpa = function (w) { + u.prototype.Yoa = function (w) { var v, x, y; - v = new u.CO(this.view.byteLength); - x = Object.create(r.Cp.Sa); - this.config && ((this.config.n6 || this.config.q8 || this.config.IC) && f(r.Cp.JG, x), this.config.r8 && f(r.Cp.ota, x), this.config.q8 && f(r.Cp.aX, x)); + v = new t.CO(this.view.byteLength); + x = Object.create(q.Ep.Ta); + this.config && ((this.config.n6 || this.config.m8 || this.config.KC) && f(q.Ep.QG, x), this.config.n8 && f(q.Ep.jta, x), this.config.m8 && f(q.Ep.$W, x)); y = c.__assign(c.__assign({}, this.config), { - pG: !0 + vG: !0 }); - this.$b = new m.bD(x, v, this.view, this.console, y); - w = this.$b.parse(w); - w.done && (this.Sa = this.$b.Sa); + this.ac = new m.dD(x, v, this.view, this.console, y); + w = this.ac.parse(w); + w.done && (this.Ta = this.ac.Ta); return w; }; - t.prototype.Ega = function () { + u.prototype.yga = function () { var w, v, x, y, z, - B; + A; w = { - Wm: !0 + Vm: !0 }; - v = t.path(this, ["moov"]); - x = t.path(v, ["trak", "mdia", "minf", "stbl", "stsd"]); + v = u.path(this, ["moov"]); + x = u.path(v, ["trak", "mdia", "minf", "stbl", "stsd"]); if (this.config.n6) if (x) - (w.pa = x.pa, w.PQb = x.Sa); + (w.pa = x.pa, w.UQb = x.Ta); else return { - Wm: !1, + Vm: !1, parseError: "Missing sample descriptions" }; - y = t.path(x, ["encv", "sinf", "schi"]); - y && (y = t.path(y, ["tenc"]) || t.path(y, [p.vP])) && (w.$Qa = { - Dpb: y.Li, - PF: y.PF, - GFb: !1 + y = u.path(x, ["encv", "sinf", "schi"]); + y && (y = u.path(y, ["tenc"]) || u.path(y, [p.wP])) && (w.ZQa = { + Epb: y.Ji, + VF: y.VF, + JFb: !1 }); - if (y = t.path(v, ["trak", "mdia", "mdhd"])) + if (y = u.path(v, ["trak", "mdia", "mdhd"])) w.U = y.U; - if (y = t.path(v, ["mvex", "trex"])) - w.Px = y && y.Sb.Px; - w.Px && w.U && (w.pa = new d.S(w.Px, w.U)); - if (y = t.path(this, ["sidx"])) { - z = t.path(this, [p.Dw]); - z = z && z.Hna; - B = t.path(this, [p.Cw]); - B = B && B.Eh; + if (y = u.path(v, ["mvex", "trex"])) + w.Ux = y && y.Vb.Ux; + w.Ux && w.U && (w.pa = new d.S(w.Ux, w.U)); + if (y = u.path(this, ["sidx"])) { + z = u.path(this, [p.Jw]); + z = z && z.Bna; + A = u.path(this, [p.Iw]); + A = A && A.Dh; w.Y = y.Y; - w.eG = z; - w.Eh = B; + w.kG = z; + w.Dh = A; } - if (z = this.Sa.vmaf && this.Sa.vmaf[0]) - w.Er = z.Er; - if (this.config.j2a) + if (z = this.Ta.vmaf && this.Ta.vmaf[0]) + w.Hr = z.Hr; + if (this.config.i2a) if (v) - (this.trim(v.byteOffset + v.byteLength), this.config.IC && x && 1 < x.Ml && y && (w.zg = this.IC(x, y)), void 0 === w.zg && (v = this.$b.$x ? k.concat(this.$b.na()) : this.view.buffer, w.zg = [{ + (this.trim(v.byteOffset + v.byteLength), this.config.KC && x && 1 < x.Ll && y && (w.yg = this.KC(x, y)), void 0 === w.yg && (v = this.ac.ey ? k.concat(this.ac.na()) : this.view.buffer, w.yg = [{ kf: 0, data: v } ])); else return { - Wm: !1, + Vm: !1, parseError: "Missing movie box" }; - w.Wm = !0; - w.qV = this.$b.offset; + w.Vm = !0; + w.pV = this.ac.offset; return w; }; - t.prototype.trim = function (w) { + u.prototype.trim = function (w) { var v; v = this.view.buffer.slice(this.view.byteOffset, this.view.byteOffset + Math.min(w, this.view.byteLength)); - this.$b.trim(w); + this.ac.trim(w); this.view = new DataView(v); }; - t.prototype.IC = function (w, v) { + u.prototype.KC = function (w, v) { var x, y, z; - x = Object.keys(w.Sa); - y = x.filter(function (B) { - return "encv" !== B; + x = Object.keys(w.Ta); + y = x.filter(function (A) { + return "encv" !== A; }); if (!(2 > x.length || y.length === x.length || 0 === y.length)) { - x = t.path(this, ["ftyp"]); - z = t.Vja(x); + x = u.path(this, ["ftyp"]); + z = u.Pja(x); if (z) - return (x = [], this.$b.fqa(), w.WV("encv"), x.push({ + return (x = [], this.ac.$pa(), w.VV("encv"), x.push({ kf: 0, kk: !1, - data: k.concat(this.$b.na()) - }), this.$b.Kpa(), w.WV(y[0]), w = t.Iia(z, v), x.push({ + data: k.concat(this.ac.na()) + }), this.ac.Fpa(), w.VV(y[0]), w = u.Bia(z, v), x.push({ kf: w, kk: !0, - data: k.concat(this.$b.na()) + data: k.concat(this.ac.na()) }), x); } }; - t.LG = {}; - return t; + u.TG = {}; + return u; })(); - b.Nr = a; - a.LG[p.zD] = q.default; - a.LG[p.AD] = h.default; - }, function (q) { - q.exports = function f(a, c) { + b.Qr = a; + a.TG[p.BD] = r.default; + a.TG[p.CD] = h.default; + }, function (r) { + r.exports = function f(a, c) { var k; a.__proto__ && a.__proto__ !== Object.prototype && f(a.__proto__, c); Object.getOwnPropertyNames(a).forEach(function (l) { @@ -126428,7 +126391,7 @@ a000.D9b = function () { void 0 !== k && Object.defineProperty(c, l, k); }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -126439,17 +126402,17 @@ a000.D9b = function () { }); c = a(23); f = a(156); - k = a(288); + k = a(289); l = a(87); - q = a(1123); + r = a(1126); d = (function () { function g(h) { - h ? (this.qf = h.qf.slice(), this.Hg = h.Hg.slice(), this.Gd = h.Gd.slice(), this.trim = h.trim) : (this.qf = [], this.Hg = [], this.Gd = []); + h ? (this.qf = h.qf.slice(), this.Fg = h.Fg.slice(), this.Fd = h.Fd.slice(), this.trim = h.trim) : (this.qf = [], this.Fg = [], this.Fd = []); } Object.defineProperties(g.prototype, { empty: { get: function () { - return 0 === this.qf.length && 0 === this.Hg.length && 0 === this.Gd.length; + return 0 === this.qf.length && 0 === this.Fg.length && 0 === this.Fd.length; }, enumerable: !0, configurable: !0 @@ -126457,28 +126420,28 @@ a000.D9b = function () { }); return g; })(); - q = (function (g) { - function h(m, n, r) { - m = g.call(this, m, n, r) || this; - m.DS = []; + r = (function (g) { + function h(m, n, q) { + m = g.call(this, m, n, q) || this; + m.CS = []; m.ab = new d(); return m; } c.__extends(h, g); - h.Nea = function (m, n) { + h.Gea = function (m, n) { if (n.offset + n.size <= m.byteLength) switch (n.size) { case 1: m.setUint8(n.offset, n.value); break; case 2: - n.Nt ? m.setInt16(n.offset, n.value) : m.setUint16(n.offset, n.value); + n.St ? m.setInt16(n.offset, n.value) : m.setUint16(n.offset, n.value); break; case 4: - n.Nt ? m.setInt32(n.offset, n.value) : m.setUint32(n.offset, n.value); + n.St ? m.setInt32(n.offset, n.value) : m.setUint32(n.offset, n.value); break; case 8: - f.assert(!n.Nt); + f.assert(!n.St); m.setUint32(n.offset, Math.floor(n.value / 4294967296)); m.setUint32(n.offset + 4, n.value & 4294967295); break; @@ -126487,7 +126450,7 @@ a000.D9b = function () { } }; Object.defineProperties(h.prototype, { - $x: { + ey: { get: function () { return !this.ab.empty; }, @@ -126495,62 +126458,62 @@ a000.D9b = function () { configurable: !0 } }); - h.prototype.Oz = function (m, n) { - this.ab.Hg.push({ + h.prototype.Qz = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 1 }); void 0 === n && (this.offset += 1); }; - h.prototype.mua = function (m, n) { - this.ab.Hg.push({ + h.prototype.jua = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 2, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 2); }; - h.prototype.Gg = function (m, n) { - this.ab.Hg.push({ + h.prototype.Eg = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 4, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 4); }; - h.prototype.nua = function (m, n) { - this.ab.Hg.push({ + h.prototype.kua = function (m, n) { + this.ab.Fg.push({ offset: void 0 !== n ? n : this.offset, value: m, size: 8, - Nt: !1 + St: !1 }); void 0 === n && (this.offset += 8); }; - h.prototype.AX = function (m) { - this.Gg(l.fQ(m)); + h.prototype.zX = function (m) { + this.Eg(l.gQ(m)); }; - h.prototype.BH = function (m, n) { - this.ab.Gd.push({ + h.prototype.JH = function (m, n) { + this.ab.Fd.push({ offset: this.offset, Sk: m, value: n }); this.offset += 4; }; - h.prototype.re = function (m, n, r) { + h.prototype.te = function (m, n, q) { this.ab.qf.push({ offset: n, remove: m, - $a: r + $a: q }); }; - h.prototype.Et = function (m, n, r, p) { + h.prototype.Jt = function (m, n, q, p) { this.ab.qf.push({ - offset: r, + offset: q, remove: m, replace: n, $a: p @@ -126559,59 +126522,59 @@ a000.D9b = function () { h.prototype.trim = function (m) { this.ab.trim = m; }; - h.prototype.fqa = function () { - this.DS.push(new d(this.ab)); + h.prototype.$pa = function () { + this.CS.push(new d(this.ab)); }; - h.prototype.Kpa = function () { - this.ab = this.DS.pop() || new d(); + h.prototype.Fpa = function () { + this.ab = this.CS.pop() || new d(); }; h.prototype.na = function () { var m, n, - r, + q, p, - u, t, + u, w; m = this; - if (0 === this.ab.qf.length && 0 === this.ab.Hg.length && 0 === this.ab.Gd.length) + if (0 === this.ab.qf.length && 0 === this.ab.Fg.length && 0 === this.ab.Fd.length) return [void 0 === this.ab.trim ? this.view.buffer : this.view.buffer.slice(0, this.ab.trim)]; this.ab.qf.sort(function (v, x) { return v.offset - x.offset; }); - this.ab.Hg.sort(function (v, x) { + this.ab.Fg.sort(function (v, x) { return v.offset - x.offset; }); - this.fra(); - n = this.Fia(); - r = this.view.buffer.slice(0, n); - p = new DataView(r); - this.ab.Hg.forEach(h.Nea.bind(void 0, p)); - this.Jta(p); - this.Hta(p); - u = []; - t = void 0 !== this.ab.trim ? Math.min(this.ab.trim, this.view.byteLength) : this.view.byteLength; + this.Zqa(); + n = this.yia(); + q = this.view.buffer.slice(0, n); + p = new DataView(q); + this.ab.Fg.forEach(h.Gea.bind(void 0, p)); + this.Dta(p); + this.Bta(p); + t = []; + u = void 0 !== this.ab.trim ? Math.min(this.ab.trim, this.view.byteLength) : this.view.byteLength; w = 0; this.ab.qf.filter(function (v) { - return v.offset <= t; + return v.offset <= u; }).forEach(function (v) { - v.offset > w && (u.push(p.buffer.slice(w, v.offset)), v.offset > p.byteLength && p !== m.view && (p = m.view, u.push(p.buffer.slice(n, v.offset)))); - v.replace && u.push(v.replace); + v.offset > w && (t.push(p.buffer.slice(w, v.offset)), v.offset > p.byteLength && p !== m.view && (p = m.view, t.push(p.buffer.slice(n, v.offset)))); + v.replace && t.push(v.replace); w = v.offset + v.remove; }); - w < n && u.push(r.slice(w)); - w < t && u.push(this.view.buffer.slice(Math.max(r.byteLength, w), t)); - return u; + w < n && t.push(q.slice(w)); + w < u && t.push(this.view.buffer.slice(Math.max(q.byteLength, w), u)); + return t; }; - h.prototype.Fia = function () { + h.prototype.yia = function () { var m, n, - r; + q; m = []; - n = this.ab.Hg[this.ab.Hg.length - 1]; - r = this.ab.Gd[this.ab.Gd.length - 1]; + n = this.ab.Fg[this.ab.Fg.length - 1]; + q = this.ab.Fd[this.ab.Fd.length - 1]; n && m.push(n.offset + n.size); - r && m.push(r.offset + 4); + q && m.push(q.offset + 4); this.ab.qf.filter(function (p) { return p.$a; }).forEach(function (p) { @@ -126620,53 +126583,53 @@ a000.D9b = function () { n = Math.max.apply(void 0, m); return void 0 !== this.ab.trim ? Math.min(n, this.ab.trim) : n; }; - h.prototype.fra = function () { + h.prototype.Zqa = function () { this.ab.qf = this.ab.qf.reduce(function (m, n) { - var r, + var q, p; if (0 === m.length) return (m.push(n), m); - r = m[m.length - 1]; - p = r.offset + r.remove; - n.offset >= p ? m.push(n) : n.offset + n.remove > p && (f.assert(r.$a === n.$a), r.remove += n.offset + n.remove - p, n.replace && (r.replace = r.replace ? k.concat(r.replace, n.replace) : n.replace)); + q = m[m.length - 1]; + p = q.offset + q.remove; + n.offset >= p ? m.push(n) : n.offset + n.remove > p && (f.assert(q.$a === n.$a), q.remove += n.offset + n.remove - p, n.replace && (q.replace = q.replace ? k.concat(q.replace, n.replace) : n.replace)); return m; }, []); }; - h.prototype.Jta = function (m) { + h.prototype.Dta = function (m) { var n; n = this; - this.ab.Gd.forEach(function (r) { + this.ab.Fd.forEach(function (q) { var p, - u, t, + u, w; p = m; - u = r.offset; + t = q.offset; n.ab.qf.some(function (v) { - return v.offset <= r.offset && v.replace && v.offset + v.replace.byteLength >= r.offset + 4 ? (p = new DataView(v.replace), u = r.offset - v.offset, !0) : !1; + return v.offset <= q.offset && v.replace && v.offset + v.replace.byteLength >= q.offset + 4 ? (p = new DataView(v.replace), t = q.offset - v.offset, !0) : !1; }); - t = r.Sk + (void 0 !== r.value ? r.value : p.getInt32(u)); + u = q.Sk + (void 0 !== q.value ? q.value : p.getInt32(t)); w = n.ab.qf.reduce(function (v, x) { - return x.offset > r.Sk && x.offset < t ? v + (x.remove - (x.replace ? x.replace.byteLength : 0)) : v; + return x.offset > q.Sk && x.offset < u ? v + (x.remove - (x.replace ? x.replace.byteLength : 0)) : v; }, 0); - p.setInt32(u, t - r.Sk - w); + p.setInt32(t, u - q.Sk - w); }); }; - h.prototype.Hta = function (m) { + h.prototype.Bta = function (m) { this.ab.qf.forEach(function (n) { - var r; - r = (n.remove || 0) - (n.replace ? n.replace.byteLength : 0); - if (0 !== r) + var q; + q = (n.remove || 0) - (n.replace ? n.replace.byteLength : 0); + if (0 !== q) for (n = n.$a; n; ) { - m.setUint32(n.byteOffset, m.getUint32(n.byteOffset) - r); + m.setUint32(n.byteOffset, m.getUint32(n.byteOffset) - q); n = n.parent; } }); }; return h; - })(q.Hba); - b.Gba = q; - }, function (q, b, a) { + })(r.Bba); + b.Aba = r; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { @@ -126675,25 +126638,25 @@ a000.D9b = function () { c = a(157); a(157); f = a(87); - q = (function () { + r = (function () { function k(l, d, g) { this.view = l; this.console = d; this.config = g; this.view = l; this.console = d; - this.Nm = this.zx = this.offset = 0; + this.Mm = this.Ex = this.offset = 0; } - k.prototype.Cja = function (l) { + k.prototype.vja = function (l) { return new DataView(this.view.buffer, this.view.byteOffset + this.offset, l); }; - k.prototype.dc = function (l) { - for (; this.Nm < l; ) { - this.zx = (this.zx << 8) + this.cb(); - this.Nm += 8; + k.prototype.ec = function (l) { + for (; this.Mm < l; ) { + this.Ex = (this.Ex << 8) + this.cb(); + this.Mm += 8; } - this.Nm -= l; - return this.zx >>> this.Nm & (1 << l) - 1; + this.Mm -= l; + return this.Ex >>> this.Mm & (1 << l) - 1; }; k.prototype.cb = function () { var l; @@ -126701,7 +126664,7 @@ a000.D9b = function () { this.offset += 1; return l; }; - k.prototype.Dc = function (l) { + k.prototype.Gc = function (l) { l = this.view.getUint16(this.offset, l); this.offset += 2; return l; @@ -126711,64 +126674,64 @@ a000.D9b = function () { this.offset += 4; return l; }; - k.prototype.AG = function () { + k.prototype.HG = function () { var l; l = this.view.getInt32(this.offset, void 0); this.offset += 4; return l; }; - k.prototype.kpa = function (l, d) { + k.prototype.fpa = function (l, d) { var g; g = this.view.getUint32(this.offset + (l ? 4 : 0), l); l = this.view.getUint32(this.offset + (l ? 0 : 4), l); d || 0 === (g & 4278190080) || this.console.warn("Warning: read unsigned value > 56 bits"); return 4294967296 * g + l; }; - k.prototype.Hd = function (l, d) { - l = this.kpa(l, d); + k.prototype.Gd = function (l, d) { + l = this.fpa(l, d); this.offset += 8; return l; }; - k.prototype.lpa = function (l, d) { + k.prototype.gpa = function (l, d) { var g; g = this.view.getInt32(this.offset + (l ? 4 : 0), l); l = this.view.getUint32(this.offset + (l ? 0 : 4), l); d || 0 === ((0 < g ? g : -g) & 4278190080) || this.console.warn("Warning: read signed value > 56 bits"); return 4294967296 * g + l; }; - k.prototype.sqa = function () { + k.prototype.mqa = function () { var l; - l = this.lpa(void 0, void 0); + l = this.gpa(void 0, void 0); this.offset += 8; return l; }; - k.prototype.ll = function () { - return f.qn(this.ta()); + k.prototype.kl = function () { + return f.pn(this.ta()); }; - k.prototype.iz = function () { + k.prototype.lz = function () { var d, g, h, m, n, - r; - function l(p, u) { - return ("000000" + p.toString(16)).slice(2 * -u); + q; + function l(p, t) { + return ("000000" + p.toString(16)).slice(2 * -t); } d = this.ta(!0); - g = this.Dc(!0); - h = this.Dc(!0); - m = this.Dc(); - n = this.Dc(); - r = this.ta(); - return [l(d, 4), l(g, 2), l(h, 2), l(m, 2), l(n, 2) + l(r, 4)].join("-"); - }; - k.prototype.pqa = function (l) { + g = this.Gc(!0); + h = this.Gc(!0); + m = this.Gc(); + n = this.Gc(); + q = this.ta(); + return [l(d, 4), l(g, 2), l(h, 2), l(m, 2), l(n, 2) + l(q, 4)].join("-"); + }; + k.prototype.jqa = function (l) { var d; d = this.view.byteOffset + this.offset; return this.view.buffer.slice(d, d + l); }; - k.prototype.nqa = function (l) { + k.prototype.hqa = function (l) { var d; d = []; if (0 === l) @@ -126780,35 +126743,35 @@ a000.D9b = function () { } return String.fromCharCode.apply(null, d); }; - k.prototype.gz = function (l) { + k.prototype.jz = function (l) { var d, g; void 0 === d && (d = 1); void 0 === g && (g = !0); - return this.ph(this.config.Iz && c.Hka || c.wp, 1, l, d, g); + return this.oh(this.config.Lz && c.Eka || c.yp, 1, l, d, g); }; - k.prototype.lqa = function (l, d, g) { + k.prototype.fqa = function (l, d, g) { var h; void 0 === d && (d = 2); void 0 === g && (g = !0); void 0 === h && (h = !1); - return this.ph(this.config.Iz && c.Fka || c.qy, 2, l, d, g, h); + return this.oh(this.config.Lz && c.Cka || c.sy, 2, l, d, g, h); }; - k.prototype.fz = function (l, d, g) { + k.prototype.iz = function (l, d, g) { var h; void 0 === d && (d = 4); void 0 === g && (g = !0); void 0 === h && (h = !1); - return this.ph(this.config.Iz && c.Gka || c.Js, 4, l, d, g, h); + return this.oh(this.config.Lz && c.Dka || c.Ps, 4, l, d, g, h); }; - k.prototype.qqa = function () { + k.prototype.kqa = function () { for (var l = this.cb(), d = l & 127; l & 128; ) { l = this.cb(); d = d << 7 | l & 127; } return d; }; - k.prototype.ph = function (l, d, g, h, m, n) { + k.prototype.oh = function (l, d, g, h, m, n) { void 0 === m && (m = !0); void 0 === n && (n = !1); l = l(this.view, this.offset, g, h, n); @@ -126817,120 +126780,120 @@ a000.D9b = function () { }; return k; })(); - b.Hba = q; - }, function (q, b, a) { + b.Bba = r; + }, function (r, b, a) { var k, l, d, g; - function c(h, m, n, r) { - l.call(this, h, m, n, r); + function c(h, m, n, q) { + l.call(this, h, m, n, q); } function f(h, m, n) { l.call(this, h, m, n, void 0); } k = a(101); - l = a(289).lq; - d = a(511); - g = a(87).fQ; + l = a(290).nq; + d = a(515); + g = a(87).gQ; c.prototype = Object.create(l.prototype); f.prototype = Object.create(c.prototype); - f.prototype.Hca = function (h, m) { - return "string" === typeof m ? d[m] : m ? d.reset[h] || d.ssa[h] : d.ssa[h]; + f.prototype.Bca = function (h, m) { + return "string" === typeof m ? d[m] : m ? d.reset[h] || d.msa[h] : d.msa[h]; }; - f.prototype.Jqa = function (h, m, n) { + f.prototype.Dqa = function (h, m, n) { return this.na(h, m, !1, n, void 0); }; - f.prototype.Mqa = function (h, m, n) { + f.prototype.Gqa = function (h, m, n) { return this.na(h, m, !0, n, void 0); }; - f.prototype.na = function (h, m, n, r, p) { - var t, + f.prototype.na = function (h, m, n, q, p) { + var u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I; - function u(J) { - w = t[J]; - v = w.vh("traf"); - if (void 0 === v || void 0 === v.xj) + D, + F, + J; + function t(K) { + w = u[K]; + v = w.uh("traf"); + if (void 0 === v || void 0 === v.uj) return !1; - B = v.vh("tfdt"); - if (void 0 === B) + A = v.uh("tfdt"); + if (void 0 === A) return !1; - x = v.vh("trun"); + x = v.uh("trun"); return void 0 === x ? !1 : !0; } if (!this.parse().done) return !1; - t = this.Sa.moof; - if (!t || 0 === t.length) + u = this.Ta.moof; + if (!u || 0 === u.length) return !1; if (void 0 !== h) { y = h; - for (h = 0; h < t.length; ++h) { - if (!u(h, this.$b.console.trace)) + for (h = 0; h < u.length; ++h) { + if (!t(h, this.ac.console.trace)) return !1; - if (x.yb > y || n && x.yb === y) + if (x.Ab > y || n && x.Ab === y) break; - y -= x.yb; + y -= x.Ab; } - } else if ((h = n ? t.length - 1 : 0, !u(h, this.$b.console.trace))) + } else if ((h = n ? u.length - 1 : 0, !t(h, this.ac.console.trace))) return !1; - if (n && h < t.length - 1) { - z = t[h + 1]; - this.$b.re(this.Lsb - z.startOffset, z.startOffset); - } else !n && 0 < h && this.$b.re(w.startOffset, 0); - z = v.vh("tfhd"); + if (n && h < u.length - 1) { + z = u[h + 1]; + this.ac.te(this.Nsb - z.startOffset, z.startOffset); + } else !n && 0 < h && this.ac.te(w.startOffset, 0); + z = v.uh("tfhd"); if (void 0 === z) return !1; - B = v.vh("tfdt"); - A = x.yb; - C = v.vh("saiz"); - E = v.vh("saio"); - F = v.vh(k.uP); - D = v.vh("sbgp"); + A = v.uh("tfdt"); + B = x.Ab; + C = v.uh("saiz"); + E = v.uh("saio"); + G = v.uh(k.vP); + D = v.uh("sbgp"); if (!(!C && !E || C && E)) return !1; - G = v.vh("sdtp"); - if (this.Sa.mdat && h < this.Sa.mdat.length) - I = this.Sa.mdat[h]; - else if (h !== t.length - 1) + F = v.uh("sdtp"); + if (this.Ta.mdat && h < this.Ta.mdat.length) + J = this.Ta.mdat[h]; + else if (h !== u.length - 1) return !1; - void 0 === y && (y = n ? x.yb : 0); - if (x.na(v, z, I || this.$b, m, y, v.xj, n)) - x.$x && (!n && B && B.na(x.qsa), C && E && (C.na(x.Tp, n), E.na(F ? 0 : C.IG, v.xj, n)), F && F.na(x.Tp, n), G && G.na(x.Tp, A, n), D && D.na(x.Tp, n)); + void 0 === y && (y = n ? x.Ab : 0); + if (x.na(v, z, J || this.ac, m, y, v.uj, n)) + x.ey && (!n && A && A.na(x.ksa), C && E && (C.na(x.Wp, n), E.na(G ? 0 : C.PG, v.uj, n)), G && G.na(x.Wp, n), F && F.na(x.Wp, B, n), D && D.na(x.Wp, n)); else if (!n) { - if (h === t.length - 1) + if (h === u.length - 1) return !1; - this.$b.re(t[h + 1].startOffset - w.startOffset, w.startOffset); - } else if (0 === x.Tp) + this.ac.te(u[h + 1].startOffset - w.startOffset, w.startOffset); + } else if (0 === x.Wp) return !1; - r && (m = this.Hca(this.stream.profile, p)) && x.Oqa(v, z, I, n, r, m); - n = this.$b.na(); - r = n.reduce(function (J, H) { - return J + H.byteLength; + q && (m = this.Bca(this.stream.profile, p)) && x.Jqa(v, z, J, n, q, m); + n = this.ac.na(); + q = n.reduce(function (K, H) { + return K + H.byteLength; }, 0); n = { - gd: n, - length: r, - Vm: this.$b.view.byteLength + jd: n, + length: q, + Um: this.ac.view.byteLength }; - x.$x && !I && (n.Mp = v.xj + x.Mp, n.ri = x.ri); + x.ey && !J && (n.Pp = v.uj + x.Pp, n.ri = x.ri); return n; }; - q.exports = { - mq: f, - Ky: function (h) { + r.exports = { + oq: f, + Ny: function (h) { var m, n; m = new ArrayBuffer(8); @@ -126940,15 +126903,15 @@ a000.D9b = function () { return m; } }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(23); - q = a(289); - f = a(288); + r = a(290); + f = a(289); a = (function (k) { function l() { return null !== k && k.apply(this, arguments) || this; @@ -126962,54 +126925,127 @@ a000.D9b = function () { g = this; if (!this.parse().done) return !1; - h = this.Sa.moov; + h = this.Ta.moov; if (!h || 0 === h.length) return !1; m = h[0].$k("tenc"); if (!m) return !1; - n = new Uint8Array(m.Li); - d.forEach(function (r) { - for (var p = r.from, u = !0, t = 0; t < p.length; t++) { - if (n[t] !== p[t]) { - u = !1; + n = new Uint8Array(m.Ji); + d.forEach(function (q) { + for (var p = q.from, t = !0, u = 0; u < p.length; u++) { + if (n[u] !== p[u]) { + t = !1; break; } } - u && g.$b.Et(r.from.length, r.to, m.PF); + t && g.ac.Jt(q.from.length, q.to, m.VF); }); - return f.concat(this.$b.na()); + return f.concat(this.ac.na()); }; return l; - })(q.lq); - b.bI = a; - }, function (q, b) { + })(r.nq); + b.jI = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = b.hm || (b.hm = {}); - q[q.Tb = 0] = "AUDIO"; - q[q.Hb = 1] = "VIDEO"; - }, function (q, b, a) { + r = b.gm || (b.gm = {}); + r[r.Ob = 0] = "AUDIO"; + r[r.Bb = 1] = "VIDEO"; + }, function (r, b) { + function a(f, k, l) { + var d, + g, + h, + m; + d = []; + f.forEach(function (n) { + -1 == d.indexOf(n.Kg) && d.push(n.Kg); + }); + g = null; + h = null; + k.forEach(function (n) { + null === g ? h = g = n.bitrate : h < n.bitrate ? h = n.bitrate : g > n.bitrate && (g = n.bitrate); + }); + m = []; + d.forEach(function (n) { + var q; + q = { + ranges: [], + profile: n + }; + g && h && (q.ranges.push({ + min: g, + max: h + }), l && (q.disallowed = l.filter(function (p) { + return p.stream.Kg === n; + }).map(function (p) { + return { + stream: { + bitrate: p.stream.bitrate + }, + disallowedBy: p.T1 + }; + })), m.push(q)); + }); + return m; + } + function c(f, k) { + var l; + l = void 0; + f = f.filter(function (g) { + var h; + h = k(g); + h && (l = l || [], l.push({ + stream: g, + T1: h + })); + return !h; + }); + for (var d = 0; d < f.length; d++) { + f[d].lower = f[d - 1]; + f[d].ZCb = f[d + 1]; + } + return { + vB: f, + hub: l + }; + } + Object.defineProperty(b, "__esModule", { + value: !0 + }); + b.gub = b.As = b.ysb = b.KUa = void 0; + b.KUa = function (f, k) { + k = c(f, k); + return a(f, k.vB, k.hub); + }; + b.ysb = a; + b.As = c; + b.gub = function (f) { + if (f.lower && 1080 < f.height) + return ["Prefetch UHD"]; + }; + }, function (r, b, a) { var f, k; function c(l, d) { - l = f.Ec.call(this, l) || this; - l.Cna = d; + l = f.zc.call(this, l) || this; + l.xna = d; return l; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sEa = void 0; + b.qEa = void 0; f = a(105); k = a(86); - ka(c, f.Ec); + ja(c, f.zc); c.prototype.set = function (l) { - f.Ec.prototype.set.call(this, k.yo(l, 0, this.Cna)); + f.zc.prototype.set.call(this, k.zo(l, 0, this.xna)); }; - b.sEa = c; - }, function (q, b, a) { + b.qEa = c; + }, function (r, b, a) { var k, l, d, @@ -127017,357 +127053,358 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v) { + q; + function c(p, t, u, w, v) { var x; x = this; this.mi = p; - this.config = t; + this.config = u; this.bb = w; this.debug = v; - this.w6 = []; - this.cr = []; - this.Bpa = []; - this.LE = {}; - this.oQa = !1; - this.CR = {}; - this.Ola = 0; - this.log = u.Cb("PlayTimeTracker"); + this.v6 = []; + this.dr = []; + this.wpa = []; + this.NE = {}; + this.lQa = !1; + this.DR = {}; + this.Jla = 0; + this.log = t.Db("PlayTimeTracker"); this.startTime = this.mi.mediaTime.value; this.U4 = this.config().Xjb; - this.yX(); - this.LE.abrdel = 0; + this.xX(); + this.NE.abrdel = 0; this.U4.forEach(function (y) { y = "abrdel" + y; - x.CR[y] = 0; - x.LE[y] = 0; + x.DR[y] = 0; + x.NE[y] = 0; }); } function f() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.hEa = void 0; - q = a(1); + b.fEa = void 0; + r = a(1); k = a(0); l = a(8); d = a(15); g = a(89); - a(5); + a(4); h = a(26); m = a(91); n = a(12); - r = a(24); + q = a(24); f.prototype.encode = function (p) { return { key: p.key, - downloadableId: p.Dd, + downloadableId: p.Cd, bitrate: p.bitrate, - vmaf: p.zb, + vmaf: p.xb, duration: p.duration, - metric: p.FU, - cdnId: p.e1 + metric: p.EU, + cdnId: p.g1 }; }; f.prototype.decode = function (p) { return { key: p.key, - Dd: p.downloadableId, + Cd: p.downloadableId, bitrate: p.bitrate, - zb: p.vmaf, + xb: p.vmaf, duration: p.duration, - FU: p.metric, - e1: p.cdnId + EU: p.metric, + g1: p.cdnId }; }; - c.prototype.ET = function () { + c.prototype.CT = function () { var p; - this.$G(this.mi.mediaTime.value); + this.hH(this.mi.mediaTime.value); p = 0; - this.cr.forEach(function (u) { - p += (u.endTime - u.startTime) / u.rate; + this.dr.forEach(function (t) { + p += (t.endTime - t.startTime) / t.rate; }); return Math.floor(p); }; - c.prototype.FUa = function () { + c.prototype.EUa = function () { var p; - this.$G(this.mi.mediaTime.value); + this.hH(this.mi.mediaTime.value); p = 0; - this.cr.forEach(function (u) { - p += u.endTime - u.startTime; + this.dr.forEach(function (t) { + p += t.endTime - t.startTime; }); this.debug.assert(p === Math.floor(p), "Value of totalContentPlayTime is not an integer."); return Math.floor(p); }; - c.prototype.nyb = function () { - this.$G(this.mi.mediaTime.value); + c.prototype.syb = function () { + this.hH(this.mi.mediaTime.value); return { - audio: this.oT(this.w6, this.VSa), - video: this.oT(this.cr, this.VSa) + audio: this.mT(this.v6, this.VSa), + video: this.mT(this.dr, this.VSa) }; }; - c.prototype.OAb = function () { + c.prototype.RAb = function () { var p; p = { - total: this.ET(), - totalContentTime: this.FUa(), - audio: this.oT(this.w6, this.X2), - video: this.oT(this.cr, this.X2), - timedtext: this.oT(this.Bpa, this.X2) + total: this.CT(), + totalContentTime: this.EUa(), + audio: this.mT(this.v6, this.Z2), + video: this.mT(this.dr, this.Z2), + timedtext: this.mT(this.wpa, this.Z2) }; this.debug.assert(!(!p.audio || !p.video)); return p; }; c.prototype.sSa = function () { var p, - u; - this.$G(this.mi.mediaTime.value); - p = this.oja(this.cr, this.Byb); + t; + this.hH(this.mi.mediaTime.value); + p = this.hja(this.dr, this.Gyb); try { - u = this.tSa(p); - } catch (t) { + t = this.tSa(p); + } catch (u) { return (this.log.warn("Failed to calc average bitrate."), null); } - this.LE.abrdel = Math.round(u); - return this.LE.abrdel; + this.NE.abrdel = Math.round(t); + return this.NE.abrdel; }; - c.prototype.tyb = function () { + c.prototype.yyb = function () { var p, - u; - this.$G(this.mi.mediaTime.value); - p = this.oja(this.cr, this.$Bb); + t; + this.hH(this.mi.mediaTime.value); + p = this.hja(this.dr, this.bCb); try { - u = this.tSa(p); - } catch (t) { + t = this.tSa(p); + } catch (u) { return (this.log.warn("Failed to calc average vmaf."), null); } - return Math.round(u); + return Math.round(t); }; - c.prototype.syb = function () { + c.prototype.xyb = function () { var p, - u; + t; p = this; - if (!this.oQa) { - u = this.ET(); - this.U4.forEach(function (t) { + if (!this.lQa) { + t = this.CT(); + this.U4.forEach(function (u) { var w, v, x; - if (0 === p.CR["abrdel" + t] && u > t * n.Ik) { + if (0 === p.DR["abrdel" + u] && t > u * n.Ik) { w = 0; v = 0; x = 0; - p.cr.some(function (y) { + p.dr.some(function (y) { w += y.stream.bitrate * (y.endTime - y.startTime); v += y.endTime - y.startTime; x = y.stream.bitrate; - if (v > t * n.Ik) + if (v > u * n.Ik) return !0; }); - w && (p.CR["abrdel" + t] = Math.round((w - x * (v - t * n.Ik)) / (t * n.Ik))); + w && (p.DR["abrdel" + u] = Math.round((w - x * (v - u * n.Ik)) / (u * n.Ik))); } }); - 0 !== this.CR["abrdel" + this.U4[this.U4.length - 1]] && (this.oQa = !0); - r.de(this.CR, function (t, w) { - p.LE[t] = 0 === w ? p.LE.abrdel : w; + 0 !== this.DR["abrdel" + this.U4[this.U4.length - 1]] && (this.lQa = !0); + q.ae(this.DR, function (u, w) { + p.NE[u] = 0 === w ? p.NE.abrdel : w; }); } - return this.LE; + return this.NE; }; c.prototype.qkb = function (p) { - this.Ola += p; + this.Jla += p; }; - c.prototype.NCb = function () { - return !!(this.cr[0] && this.cr[0].stream && this.bb.eg(this.cr[0].stream.zb)); + c.prototype.PCb = function () { + return !!(this.dr[0] && this.dr[0].stream && this.bb.eg(this.dr[0].stream.xb)); }; - c.prototype.yX = function () { + c.prototype.xX = function () { var p; p = this; - this.mi.Ug.addListener(function (u) { - p.iK = p.NNa(p.iK, p.w6, u.newValue); + this.mi.Sg.addListener(function (t) { + p.mK = p.MNa(p.mK, p.v6, t.newValue); }); - this.mi.Sf.addListener(function (u) { - p.lK = p.NNa(p.lK, p.cr, u.newValue); + this.mi.Tf.addListener(function (t) { + p.pK = p.MNa(p.pK, p.dr, t.newValue); }); - this.mi.playbackRate.addListener(function (u) { - p.$G(p.mi.mediaTime.value, u.oldValue); + this.mi.playbackRate.addListener(function (t) { + p.hH(p.mi.mediaTime.value, t.oldValue); }); - this.mi.Rk.addListener(this.wKb.bind(this)); + this.mi.Rk.addListener(this.yKb.bind(this)); }; - c.prototype.XJb = function (p, u) { - this.$G(p); - this.startTime = u; - this.lK = this.iK = void 0; - this.kK && (this.kK.startTime = this.startTime); + c.prototype.ZJb = function (p, t) { + this.hH(p); + this.startTime = t; + this.pK = this.mK = void 0; + this.oK && (this.oK.startTime = this.startTime); !1; }; - c.prototype.wKb = function (p) { - this.HV(this.kK, this.Bpa, this.mi.mediaTime.value); - this.kK = p.newValue ? { + c.prototype.yKb = function (p) { + this.GV(this.oK, this.wpa, this.mi.mediaTime.value); + this.oK = p.newValue ? { track: p.newValue, startTime: this.mi.mediaTime.value, - endTime: g.fA + endTime: g.gA } : void 0; }; - c.prototype.$G = function (p, u) { - u = void 0 === u ? this.mi.playbackRate.value : u; - p && this.iK && this.lK && (p = Math.min(p, this.iK.endTime, this.lK.endTime), this.HV(this.iK, this.w6, p, u), this.iK.startTime = p, this.HV(this.lK, this.cr, p, u), this.lK.startTime = p, this.kK && (this.HV(this.kK, this.Bpa, p, u), this.kK.startTime = p), this.startTime = p, !1); - }; - c.prototype.NNa = function (p, u, t) { - p && this.HV(p, u, Math.min(p.endTime, this.mi.mediaTime.value)); - if (t && t.stream) - return (p = t.Fq, u = t.stream, { - Pc: t.Pc, - track: u.track, - stream: u, + c.prototype.hH = function (p, t) { + t = void 0 === t ? this.mi.playbackRate.value : t; + p && this.mK && this.pK && (p = Math.min(p, this.mK.endTime, this.pK.endTime), this.GV(this.mK, this.v6, p, t), this.mK.startTime = p, this.GV(this.pK, this.dr, p, t), this.pK.startTime = p, this.oK && (this.GV(this.oK, this.wpa, p, t), this.oK.startTime = p), this.startTime = p, !1); + }; + c.prototype.MNa = function (p, t, u) { + p && this.GV(p, t, Math.min(p.endTime, this.mi.mediaTime.value)); + if (u && u.stream) + return (p = u.Hq, t = u.stream, { + pc: u.pc, + track: t.track, + stream: t, startTime: Math.max(p.startTime, this.startTime), endTime: p.endTime }); }; - c.prototype.HV = function (p, u, t, w) { + c.prototype.GV = function (p, t, u, w) { w = void 0 === w ? this.mi.playbackRate.value : w; - p && t && t >= p.startTime && (p = { - Pc: p.Pc, + p && u && u >= p.startTime && (p = { + pc: p.pc, track: p.track, stream: p.stream, startTime: p.startTime, - endTime: t, + endTime: u, rate: w - }, (t = u[u.length - 1]) && t.track === p.track && t.stream === p.stream && t.Pc === p.Pc && t.endTime === p.startTime && t.rate === p.rate ? t.endTime = p.endTime : u.push(p), !1); + }, (u = t[t.length - 1]) && u.track === p.track && u.stream === p.stream && u.pc === p.pc && u.endTime === p.startTime && u.rate === p.rate ? u.endTime = p.endTime : t.push(p), !1); }; - c.prototype.oja = function (p, u) { - var t, + c.prototype.hja = function (p, t) { + var u, w; - t = this; + u = this; w = {}; return p.reduce(function (v, x) { var y, z, - B; - y = u.bind(t, x)(); + A; + y = t.bind(u, x)(); z = y.key; x = x.endTime - x.startTime; - B = w[z]; - B ? B.duration += x : (delete y.key, B = y, B.duration = x, v.push(B), w[z] = B); + A = w[z]; + A ? A.duration += x : (delete y.key, A = y, A.duration = x, v.push(A), w[z] = A); return v; }, []); }; - c.prototype.oT = function (p, u) { - return this.oja(p, u).map(function (t) { - return new f().encode(t); + c.prototype.mT = function (p, t) { + return this.hja(p, t).map(function (u) { + return new f().encode(u); }); }; - c.prototype.X2 = function (p) { - var u, - t, + c.prototype.Z2 = function (p) { + var t, + u, w; - u = p.stream; - if (u) { - p = u.Dd; - t = u.bitrate; - w = u.zb; + t = p.stream; + if (t) { + p = t.Cd; + u = t.bitrate; + w = t.xb; } else - p = p.track.Dd; + p = p.track.Cd; return { - key: p + "$" + (t || 0), - Dd: p, - bitrate: t, - zb: w + key: p + "$" + (u || 0), + Cd: p, + bitrate: u, + xb: w }; }; c.prototype.VSa = function (p) { - var u; - u = this.X2(p); - p = p.Pc.id; - return Object.assign({}, u, { - key: u.key + "$" + p, - e1: p + var t; + t = this.Z2(p); + p = p.pc.id; + return Object.assign({}, t, { + key: t.key + "$" + p, + g1: p }); }; - c.prototype.Byb = function (p) { + c.prototype.Gyb = function (p) { p = (p = p.stream) ? p.bitrate : 0; return { key: p, - FU: p + EU: p }; }; - c.prototype.$Bb = function (p) { - p = (p = p.stream) ? p.zb : 0; + c.prototype.bCb = function (p) { + p = (p = p.stream) ? p.xb : 0; return { key: p, - FU: p + EU: p }; }; c.prototype.tSa = function (p) { - var u, - t, + var t, + u, w; - u = this; - t = 0; + t = this; + u = 0; p.forEach(function (v) { - if (u.bb.eg(v.duration) && u.bb.eg(v.FU)) - t += v.duration; + if (t.bb.eg(v.duration) && t.bb.eg(v.EU)) + u += v.duration; else throw Error("Invalid arguments: missing duration and/or metric in segment."); }); - if (!t) + if (!u) return 0; w = 0; p.forEach(function (v) { - w += v.FU * v.duration / t; + w += v.EU * v.duration / u; }); return w; }; a = c; - a = q.__decorate([k.R(), q.__param(1, k.l(l.Kb)), q.__param(2, k.l(d.dd)), q.__param(3, k.l(h.Gf)), q.__param(4, k.l(m.Yt))], a); - b.hEa = a; - }, function (q, b) { + a = r.__decorate([k.R(), r.__param(1, k.l(l.Ib)), r.__param(2, k.l(d.ed)), r.__param(3, k.l(h.Hf)), r.__param(4, k.l(m.cu))], a); + b.fEa = a; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.gEa = "PlayTimeTrackerFactorySymbol"; - }, function (q, b, a) { + b.eEa = "PlayTimeTrackerFactorySymbol"; + }, function (r, b, a) { var f, k; - function c(l, d, g, h, m, n, r, p, u, t, w) { + function c(l, d, g, h, m, n, q, p, t, u, w) { this.index = l; this.K = d; this.va = g; this.kb = h; - this.ba = m; - this.Wl = n; - this.$ma = r; - this.Fpb = u; - this.NYa = w; - this.Bd = new f.Ec(null); - this.Qh = new f.Ec(null); - this.Nc = new f.Ec(null); - this.Rk = new f.Ec(null); - this.Qt = new f.Ec(void 0); - this.Xf = new f.Ec(null); - this.dk = new f.Ec(null); - this.Ug = new f.Ec(null); - this.Sf = new f.Ec(null); - this.mediaTime = new f.Ec(void 0); - this.playbackRate = new f.Ec(1); - this.Zo = new f.Ec(null); - this.RE = this.QE = "notcached"; + this.ca = m; + this.Vl = n; + this.Uma = q; + this.Gpb = t; + this.KYa = w; + this.Sd = new f.zc(null); + this.Ph = new f.zc(null); + this.Rc = new f.zc(null); + this.Rk = new f.zc(null); + this.Wt = new f.zc(void 0); + this.og = new f.zc(null); + this.ek = new f.zc(null); + this.Sg = new f.zc(null); + this.Tf = new f.zc(null); + this.pc = [new f.zc(null), new f.zc(null)]; + this.mediaTime = new f.zc(void 0); + this.playbackRate = new f.zc(1); + this.$o = new f.zc(null); + this.SE = this.RE = "notcached"; this.background = !1; - p && (this.Xf.set(p.Xf.value), this.dk.set(p.dk.value)); - this.ao = t(this); - this.Vl = this.NYa.pPb(this.ba, this.Wl); + p && (this.og.set(p.og.value), this.ek.set(p.ek.value)); + this.bo = u(this); + this.Ul = this.KYa.uPb(this.ca, this.Vl); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.uEa = void 0; + b.sEa = void 0; f = a(105); - k = a(5); - c.prototype.Od = function (l) { - this.Vl.Vo(l); + k = a(4); + c.prototype.Md = function (l) { + this.Ul.Wo(l); }; - c.prototype.uy = function (l) { + c.prototype.xy = function (l) { var d; d = this; Object.entries(l).forEach(function (g) { @@ -127375,87 +127412,87 @@ a000.D9b = function () { h = aa(g); g = h.next().value; h = h.next().value; - d.Vl.Vo(g, k.uc(h - d.Wl.ea(k.ma))); + d.Ul.Wo(g, k.wc(h - d.Vl.ea(k.ma))); }); }; c.prototype.V5 = function () { - this.NYa.HPb(this.ba); + this.KYa.MPb(this.ca); }; Xa.Object.defineProperties(c.prototype, { - Zd: { + je: { configurable: !0, enumerable: !0, get: function () { - return this.kb.Zd; + return this.kb.je; } }, - G8: { + B8: { configurable: !0, enumerable: !0, get: function () { - return this.kb.G8; + return this.kb.B8; } }, - Kl: { + Jl: { configurable: !0, enumerable: !0, get: function () { - return this.Mc && this.Mc.Kl; + return this.Yc && this.Yc.Jl; } }, - Yo: { + Zo: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.Yo) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.Zo) && void 0 !== l ? l : []; } }, - so: { + uo: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.so) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.uo) && void 0 !== l ? l : []; } }, - Dz: { + Gz: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.Dz) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.Gz) && void 0 !== l ? l : []; } }, - cm: { + am: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.cm) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.am) && void 0 !== l ? l : []; } }, - Ti: { + Ri: { configurable: !0, enumerable: !0, get: function () { - return this.Mc && this.Mc.Ti; + return this.Yc && this.Yc.Ri; } }, - XB: { + ZB: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.XB) && void 0 !== l ? l : !1; + return null !== (l = this.Yc && this.Yc.ZB) && void 0 !== l ? l : !1; } }, - Bt: { + Gt: { configurable: !0, enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.Bt) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.Gt) && void 0 !== l ? l : []; } }, Uk: { @@ -127463,25 +127500,17 @@ a000.D9b = function () { enumerable: !0, get: function () { var l; - return null !== (l = this.Mc && this.Mc.Uk) && void 0 !== l ? l : []; - } - }, - D6: { - configurable: !0, - enumerable: !0, - get: function () { - var l; - return null !== (l = this.Mc && this.Mc.D6) && void 0 !== l ? l : []; + return null !== (l = this.Yc && this.Yc.Uk) && void 0 !== l ? l : []; } }, - Lx: { + Qx: { configurable: !0, enumerable: !0, get: function () { - return this.hca && 0 < this.hca.ea(k.ma) ? this.hca : k.uc(this.sa ? this.sa.Wc.duration : 0); + return this.bca && 0 < this.bca.ea(k.ma) ? this.bca : k.wc(this.sa ? this.sa.Xc.duration : 0); }, set: function (l) { - this.hca = l; + this.bca = l; } }, Ek: { @@ -127491,46 +127520,46 @@ a000.D9b = function () { return this.kb.Ek || 0; } }, - $ga: { + Uga: { configurable: !0, enumerable: !0, get: function () { - return void 0 !== this.t1 ? this.t1 : void 0 === this.mediaTime.value ? null : this.Fpb(this.mediaTime.value, this.va); + return void 0 !== this.u1 ? this.u1 : void 0 === this.mediaTime.value ? null : this.Gpb(this.mediaTime.value, this.va); } }, - Bj: { + zj: { configurable: !0, enumerable: !0, get: function () { var l, d; - return null === (d = null === (l = this.sa) || void 0 === l ? void 0 : l.Wc.INa) || void 0 === d ? void 0 : d.Dv; + return null === (d = null === (l = this.sa) || void 0 === l ? void 0 : l.Xc.INa) || void 0 === d ? void 0 : d.Jv; } }, - SG: { + $G: { configurable: !0, enumerable: !0, get: function () { var l, d; - return null === (d = null === (l = this.sa) || void 0 === l ? void 0 : l.Wc.INa) || void 0 === d ? void 0 : d.SG; + return null === (d = null === (l = this.sa) || void 0 === l ? void 0 : l.Xc.INa) || void 0 === d ? void 0 : d.$G; } }, bd: { configurable: !0, enumerable: !0, get: function () { - return this.Vl.bd; + return this.Ul.bd; } } }); - b.uEa = c; - }, function (q, b) { + b.sEa = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.zHa = "TrickPlayParserSymbol"; - }, function (q, b, a) { + b.vHa = "TrickPlayParserSymbol"; + }, function (r, b, a) { var f, k, l; @@ -127538,8 +127567,8 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.yHa = void 0; - q = a(1); + b.uHa = void 0; + r = a(1); k = a(162); a = a(0); c.prototype.parse = function (d) { @@ -127549,22 +127578,22 @@ a000.D9b = function () { throw Error("invalid array buffer"); g = new Uint8Array(d); h = new k.AO(g); - d = this.QLb(h); - g = this.SLb(h, g, d); + d = this.TLb(h); + g = this.VLb(h, g, d); return { header: d, images: g }; }; - c.prototype.QLb = function (d) { + c.prototype.TLb = function (d) { var g, h, m, n; - if (d.lka() < this.lQb()) + if (d.hka() < this.qQb()) throw Error("array buffer too short"); - f.$Aa.forEach(function (r) { - if (r != d.hz()) + f.YAa.forEach(function (q) { + if (q != d.kz()) throw Error("BIF has invalid magic."); }); g = d.NM(); @@ -127574,139 +127603,138 @@ a000.D9b = function () { if (0 == h) throw Error("BIF has no frames."); m = d.NM(); - n = d.ph(f.pFa); + n = d.oh(f.mFa); return { version: g, - mKb: h, - d5a: m, - X1a: n + oKb: h, + f5a: m, + W1a: n }; }; - c.prototype.SLb = function (d, g, h) { - var r, + c.prototype.VLb = function (d, g, h) { + var q, p; - for (var m = [], n = 0; n <= h.mKb; n++) { - r = { + for (var m = [], n = 0; n <= h.oKb; n++) { + q = { timestamp: d.NM(), offset: d.NM() }; - void 0 != p && m.push(g.subarray(p.offset, r.offset)); - p = r; + void 0 != p && m.push(g.subarray(p.offset, q.offset)); + p = q; } return m; }; - c.prototype.lQb = function () { - return f.$Aa.length + 4 + 4 + 4 + f.pFa; + c.prototype.qQb = function () { + return f.YAa.length + 4 + 4 + 4 + f.mFa; }; l = f = c; - l.$Aa = [137, 66, 73, 70, 13, 10, 26, 10]; + l.YAa = [137, 66, 73, 70, 13, 10, 26, 10]; l.VERSION = 0; - l.pFa = 44; - l = f = q.__decorate([a.R()], l); - b.yHa = l; - }, function (q, b, a) { + l.mFa = 44; + l = f = r.__decorate([a.R()], l); + b.uHa = l; + }, function (r, b, a) { var f, k, l; function c(d, g, h) { this.config = d; this.j = g; - this.Bg = h; - this.tV = void 0; + this.Ag = h; + this.sV = void 0; this.o6 = !1; - this.Cma = 0; - this.log = this.Bg.Cb(); + this.wma = 0; + this.log = this.Ag.Db(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.$Fa = void 0; + b.WFa = void 0; f = a(18); - k = a(5); + k = a(4); l = a(86); - c.prototype.wAb = function (d, g, h, m, n) { - var r, + c.prototype.zAb = function (d, g, h, m, n) { + var q, p, - u, - t; + t, + u; h = void 0 === h ? this.j.va : h; m = void 0 === m ? !1 : m; - r = g === f.Jd.HD; - p = this.Dnb(r ? d : this.Iob(d, h), m, h); - m = this.j.Ma; - r ? (d = p, p = m.us(p)) : d = m.dK(h, p); - g === f.Jd.yw && (this.j.bNa = p); + q = g === f.me.CI; + p = this.Enb(q ? d : this.Job(d, h), m, h); + m = this.j.Pa; + q ? (d = p, p = m.ys(p)) : d = m.hK(h, p); + g === f.me.Ew && (this.j.bNa = p); n = this.bi(d, g, n); - u = (g === f.Jd.Iw || g === f.Jd.xI) && !this.j.gFb; - u = (r = r || n || u) ? d : p; - if (this.j.qt) { - t = this.config().oG; - this.j.UUa(u, t) || g !== f.Jd.Iw || (u = this.j.qt.ea(k.ma) - t - 1E3, r ? (d = u, p = m.us(u)) : (d = m.dK(h, u), p = u)); + t = (q = q || n) ? d : p; + if (this.j.vt) { + u = this.config().uG; + this.j.UUa(t, u) || g !== f.me.mA || (t = this.j.vt.ea(k.ma) - u - 1E3, q ? (d = t, p = m.ys(t)) : (d = m.hK(h, t), p = t)); } return { - N5: u, - Aj: p, - TMb: d, + N5: t, + yj: p, + WMb: d, bi: n }; }; - c.prototype.Dnb = function (d, g, h) { - d = this.aFb() || g ? Math.round(d) : this.j.Ma.Kfa(d, h); - this.j.kb.Ol && (d = this.vxb(d)); - this.config().Bra && (d += this.config().Bra); + c.prototype.Enb = function (d, g, h) { + d = this.eFb() || g ? Math.round(d) : this.j.Pa.Dfa(d, h); + this.j.kb.Nl && (d = this.Bxb(d)); + this.config().ura && (d += this.config().ura); return d; }; c.prototype.bi = function (d, g, h) { - if (this.config().cub || g === f.Jd.yw || g === f.Jd.HD || g === f.Jd.xI || g === f.Jd.tY || !h || d < h.start.ea(k.ma) || d >= h.end.ea(k.ma)) + if (this.config().fub || g === f.me.Ew || g === f.me.NP || g === f.me.tY || !h || d < h.start.ea(k.ma) || d >= h.end.ea(k.ma)) return !1; - g = this.j.Ma; - return (null === g || void 0 === g ? void 0 : g.dh) && g.bi(d) || !1; + g = this.j.Pa; + return (null === g || void 0 === g ? void 0 : g.Ah) && g.bi(d) || !1; }; - c.prototype.aFb = function () { - return this.j.kb.Ol ? !0 : "boolean" === typeof this.j.kb.AV ? this.j.kb.AV : navigator.hardwareConcurrency && 2 >= navigator.hardwareConcurrency ? this.config().AV && this.config().kNb : this.config().AV; + c.prototype.eFb = function () { + return this.j.kb.Nl ? !0 : "boolean" === typeof this.j.kb.zV ? this.j.kb.zV : navigator.hardwareConcurrency && 2 >= navigator.hardwareConcurrency ? this.config().zV && this.config().pNb : this.config().zV; }; - c.prototype.Iob = function (d, g) { + c.prototype.Job = function (d, g) { var h; - g = this.j.Qq(g); - h = g.Lx; - g = (g.$Hb || h).ea(k.ma) - this.config().sYb; - return l.yo(d, 0, g); + g = this.j.wp(g); + h = g.Qx; + g = (g.cIb || h).ea(k.ma) - this.config().uYb; + return l.zo(d, 0, g); }; - c.prototype.vxb = function (d) { + c.prototype.Bxb = function (d) { var g, h, m; - g = this.j.jT(); + g = this.j.hT(); if (Object.values(g).find(function (n) { - var r; - r = n.Yc; - r = d < (null !== r && void 0 !== r ? r : Infinity); - return n.xc <= d && r; + var q; + q = n.Fc; + q = d < (null !== q && void 0 !== q ? q : Infinity); + return n.jc <= d && q; })) return (!1, d); m = d; Object.entries(g).forEach(function (n) { - var r; + var q; n = aa(n); n.next(); - n = n.next().value.xc; - r = n - d; - 0 < r && (void 0 === h || r < h) && (h = r, m = n); + n = n.next().value.jc; + q = n - d; + 0 < q && (void 0 === h || q < h) && (h = q, m = n); }); !1; return m; }; Xa.Object.defineProperties(c.prototype, { - ema: { + Zla: { configurable: !0, enumerable: !0, get: function () { - return this.o6 || !!this.tV; + return this.o6 || !!this.sV; } } }); - b.$Fa = c; - }, function (q, b, a) { + b.WFa = c; + }, function (r, b, a) { var f, k, l, @@ -127715,359 +127743,358 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; - function c(x, y, z, B, A, C) { + function c(x, y, z, A, B, C) { var E; E = this; this.j = x; this.ei = y; - this.iX = z; - this.Rd = B; - this.yW = A; - this.zm = C; - this.zPa = {}; + this.hX = z; + this.Pd = A; + this.xW = B; + this.xm = C; + this.yPa = {}; this.update = function () { - var F; - if (E.lo.selectionStart == E.lo.selectionEnd) { - F = ""; - E.a3().forEach(function (D) { - F = F ? F + "\n" : ""; - Object.entries(D).forEach(function (G) { - var I; - I = aa(G); - G = I.next().value; - I = I.next().value; - F += G + ": " + I + "\n"; + var G; + if (E.mo.selectionStart == E.mo.selectionEnd) { + G = ""; + E.c3().forEach(function (D) { + G = G ? G + "\n" : ""; + Object.entries(D).forEach(function (F) { + var J; + J = aa(F); + F = J.next().value; + J = J.next().value; + G += F + ": " + J + "\n"; }); }); - E.lo.style.fontSize = d.yo(h.Aw(E.element.clientHeight / 60), 8, 18) + "px"; - E.lo.value = F; + E.mo.style.fontSize = d.zo(h.Gw(E.element.clientHeight / 60), 8, 18) + "px"; + E.mo.value = G; } }; - this.KKb = function () { - var F, + this.MKb = function () { + var G, D; - if (E.j.Cg) { - D = E.j.Cg.uF(); - D && (E.aha = D - (null !== (F = E.l5a) && void 0 !== F ? F : 0), E.l5a = D, E.nM()); + if (E.j.Bg) { + D = E.j.Bg.yF(); + D && (E.Vga = D - (null !== (G = E.n5a) && void 0 !== G ? G : 0), E.n5a = D, E.pM()); } }; - this.nM = function () { - E.iX.ol(E.update); + this.pM = function () { + E.hX.nl(E.update); }; - this.onkeydown = function (F) { - F.ctrlKey && F.altKey && F.shiftKey && (F.keyCode == r.du.b9a || F.keyCode == r.du.Q) && E.toggle(); + this.onkeydown = function (G) { + G.ctrlKey && G.altKey && G.shiftKey && (G.keyCode == q.iu.d9a || G.keyCode == q.iu.Q) && E.toggle(); }; - this.g0a = [x.mediaTime, x.Pc[f.ic.Za.Tb], x.Pc[f.ic.Za.Hb], x.Ug, x.Sf, x.dk, x.Xf, x.Rk, x.state, x.Cq, x.ac, x.volume, x.muted]; - this.element = this.Rd.createElement("div", "position:fixed;left:10px;top:10px;right:10px;bottom:10px;z-index:9999", void 0, { + this.e0a = [x.mediaTime, x.pc[f.Qb.Ra.Ob], x.pc[f.Qb.Ra.Bb], x.Sg, x.Tf, x.ek, x.og, x.Rk, x.state, x.Eq, x.bc, x.volume, x.muted]; + this.element = this.Pd.createElement("div", "position:fixed;left:10px;top:10px;right:10px;bottom:10px;z-index:9999", void 0, { "class": "player-info" }); - this.lo = this.Rd.createElement("textarea", "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;padding:10px;background-color:rgba(0,0,0,0.4);color:#fff;font-size:12px;font-family:Arial;overflow:auto;", void 0, { + this.mo = this.Pd.createElement("textarea", "position:absolute;resize:none;box-sizing:border-box;width:100%;height:100%;padding:10px;background-color:rgba(0,0,0,0.4);color:#fff;font-size:12px;font-family:Arial;overflow:auto;", void 0, { readonly: "readonly" }); - this.element.appendChild(this.lo); - this.controls = this.Rd.createElement("div", "position:absolute;top:2px;right:2px"); + this.element.appendChild(this.mo); + this.controls = this.Pd.createElement("div", "position:absolute;top:2px;right:2px"); this.element.appendChild(this.controls); - y = this.Rd.createElement("button", void 0, "X"); + y = this.Pd.createElement("button", void 0, "X"); y.addEventListener("click", function () { - return E.Tq(); + return E.Sq(); }, !1); this.controls.appendChild(y); - l.lf.addListener(l.FB, this.onkeydown); - x.addEventListener(n.W.dg, function () { - l.lf.removeListener(l.FB, E.onkeydown); - E.Tq(); + l.lf.addListener(l.IB, this.onkeydown); + x.addEventListener(n.Z.dg, function () { + l.lf.removeListener(l.IB, E.onkeydown); + E.Sq(); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.pEa = void 0; + b.nEa = void 0; f = a(53); - k = a(62); - l = a(63); + k = a(63); + l = a(64); d = a(86); - g = a(279); + g = a(280); h = a(11); m = a(17); n = a(18); - r = a(129); - p = a(5); - q = {}; - u = (q[n.Gb.kI] = "Not Loaded", q[n.Gb.LOADING] = "Loading", q[n.Gb.$d] = "Normal", q[n.Gb.CLOSING] = "Closing", q[n.Gb.CLOSED] = "Closed", q); - q = {}; - t = (q[n.$e.$d] = "Normal", q[n.$e.Sc] = "Pre-buffering", q[n.$e.QFa] = "Network stalled", q); - q = {}; - w = (q[n.Bb.Jg] = "Waiting for decoder", q[n.Bb.yc] = "Playing", q[n.Bb.Wh] = "Paused", q[n.Bb.au] = "Media ended", q); - v = [n.W.i5, n.W.vmb]; - c.prototype.ORb = function (x) { - this.zPa.DFR = x; + q = a(128); + p = a(4); + r = {}; + t = (r[n.Jb.rI] = "Not Loaded", r[n.Jb.LOADING] = "Loading", r[n.Jb.Yd] = "Normal", r[n.Jb.CLOSING] = "Closing", r[n.Jb.CLOSED] = "Closed", r); + r = {}; + u = (r[n.af.Yd] = "Normal", r[n.af.Sc] = "Pre-buffering", r[n.af.NFa] = "Network stalled", r); + r = {}; + w = (r[n.Eb.Hg] = "Waiting for decoder", r[n.Eb.Ac] = "Playing", r[n.Eb.Wh] = "Paused", r[n.Eb.fu] = "Media ended", r); + v = [n.Z.i5, n.Z.vmb]; + c.prototype.RRb = function (x) { + this.yPa.DFR = x; }; c.prototype.show = function () { var x; x = this; - this.visible || (this.gEb = pb.setInterval(this.KKb, 1E3), document.body.appendChild(this.element), this.g0a.forEach(function (y) { - y.addListener(x.nM); + this.visible || (this.jEb = pb.setInterval(this.MKb, 1E3), document.body.appendChild(this.element), this.e0a.forEach(function (y) { + y.addListener(x.pM); }), v.forEach(function (y) { - x.j.addEventListener(y, x.nM); - }), this.visible = !0, this.zm.IW().then(function (y) { - x.Xka = y; - x.nM(); + x.j.addEventListener(y, x.pM); + }), this.visible = !0, this.xm.HW().then(function (y) { + x.Tka = y; + x.pM(); })); this.update(); }; - c.prototype.Tq = function () { + c.prototype.Sq = function () { var x; x = this; - this.visible && (clearInterval(this.gEb), this.l5a = this.aha = void 0, document.body.removeChild(this.element), this.g0a.forEach(function (y) { - y.removeListener(x.nM); + this.visible && (clearInterval(this.jEb), this.n5a = this.Vga = void 0, document.body.removeChild(this.element), this.e0a.forEach(function (y) { + y.removeListener(x.pM); }), v.forEach(function (y) { - x.j.removeEventListener(y, x.nM); - }), this.iX.ol(), this.visible = !1); + x.j.removeEventListener(y, x.pM); + }), this.hX.nl(), this.visible = !1); }; c.prototype.toggle = function () { - this.visible ? this.Tq() : this.show(); + this.visible ? this.Sq() : this.show(); }; - c.prototype.a3 = function () { + c.prototype.c3 = function () { var x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da, - na, + M, + P, + R, + ea, + pa, va, - ra, - X, ta, - za, + Y, + ra, + Ea, V, - T, - ja, + U, + ma, Ia, wa, - Sa, + Ta, Ua, - $a, + ab, Za, - mb, - db; + nb, + cb; D = []; - G = this.ei(); + F = this.ei(); D.push({ - Version: "6.0031.809.911", - Esn: G ? G.gi : "UNKNOWN", - PBCID: this.j.Bj, - UserAgent: h.jA + Version: "6.0032.282.911", + Esn: F ? F.gi : "UNKNOWN", + PBCID: this.j.zj, + UserAgent: h.kA }); try { - I = { + J = { MovieId: this.j.K, TrackingId: this.j.Ek, - Xid: this.j.ba + " (" + k.Bo.map(function (Ta) { - return Ta.ba; + Xid: this.j.ca + " (" + k.Co.map(function (Sa) { + return Sa.ca; }).join(", ") + ")", Position: d.Vh(this.j.mediaTime.value), - Duration: d.Vh(this.j.Lx.ea(p.ma)), - PlayerDuration: d.Vh(this.j.qt.ea(p.ma)), + Duration: d.Vh(this.j.Qx.ea(p.ma)), + PlayerDuration: d.Vh(this.j.vt.ea(p.ma)), Volume: h.yi(100 * this.j.volume.value) + "%" + (this.j.muted.value ? " (Muted)" : "") }; - if (this.j.kb.Ol || this.j.kb.x4) - (I["Segment Position"] = d.Vh(this.j.BB()), I.Segment = this.j.eka()); - D.push(I); - } catch (Ta) {} + if (this.j.kb.Nl || this.j.kb.x4) + (J["Segment Position"] = d.Vh(this.j.DB()), J.Segment = this.j.aka()); + D.push(J); + } catch (Sa) {} try { - J = this.j.Mm ? this.j.Mm.fDb() : void 0; + K = this.j.Km ? this.j.Km.iDb() : void 0; D.push({ - "Player state": u[this.j.state.value], - "Buffering state": t[this.j.Cq.value] + (m.xa(J) ? ", ETA:" + d.Vh(J) : ""), - "Rendering state": w[this.j.ac.value] + "Player state": t[this.j.state.value], + "Buffering state": u[this.j.Eq.value] + (m.ya(K) ? ", ETA:" + d.Vh(K) : ""), + "Rendering state": w[this.j.bc.value] }); - } catch (Ta) {} + } catch (Sa) {} try { - H = this.j.bua() + this.j.Wea(); - M = this.j.Ug.value; - O = null === M || void 0 === M ? void 0 : M.stream; - L = this.j.Sf.value; - P = null === L || void 0 === L ? void 0 : L.stream; - R = null !== (x = null === O || void 0 === O ? void 0 : O.bitrate) && void 0 !== x ? x : "?"; - K = P ? P.bitrate + " (" + P.width + "x" + P.height + ")" : "?"; - Q = null !== (y = null === P || void 0 === P ? void 0 : P.zb) && void 0 !== y ? y : "?"; - N = null !== (B = null === (z = this.j.Xf.value) || void 0 === z ? void 0 : z.zb) && void 0 !== B ? B : "?"; - da = null !== (C = null === (A = this.j.dk.value) || void 0 === A ? void 0 : A.bitrate) && void 0 !== C ? C : "?"; - na = null !== (F = null === (E = this.j.Xf.value) || void 0 === E ? void 0 : E.bitrate) && void 0 !== F ? F : "?"; - va = this.j.Pc[f.ic.Za.Hb].value; - ra = this.j.Pc[f.ic.Za.Tb].value; + H = this.j.Yta() + this.j.Pea(); + L = this.j.Sg.value; + Q = null === L || void 0 === L ? void 0 : L.stream; + I = this.j.Tf.value; + O = null === I || void 0 === I ? void 0 : I.stream; + N = null !== (x = null === Q || void 0 === Q ? void 0 : Q.bitrate) && void 0 !== x ? x : "?"; + M = O ? O.bitrate + " (" + O.width + "x" + O.height + ")" : "?"; + P = null !== (y = null === O || void 0 === O ? void 0 : O.xb) && void 0 !== y ? y : "?"; + R = null !== (A = null === (z = this.j.og.value) || void 0 === z ? void 0 : z.xb) && void 0 !== A ? A : "?"; + ea = null !== (C = null === (B = this.j.ek.value) || void 0 === B ? void 0 : B.bitrate) && void 0 !== C ? C : "?"; + pa = null !== (G = null === (E = this.j.og.value) || void 0 === E ? void 0 : E.bitrate) && void 0 !== G ? G : "?"; + va = this.j.pc[f.Qb.Ra.Bb].value; + ta = this.j.pc[f.Qb.Ra.Ob].value; D.push({ - "Playing bitrate (a/v)": R + " / " + K, - "Playing/Buffering vmaf": Q + "/" + N, - "Buffering bitrate (a/v)": da + " / " + na, - "Buffer size in Bytes (a/v)": this.j.Wea() + " / " + this.j.bua(), + "Playing bitrate (a/v)": N + " / " + M, + "Playing/Buffering vmaf": P + "/" + R, + "Buffering bitrate (a/v)": ea + " / " + pa, + "Buffer size in Bytes (a/v)": this.j.Pea() + " / " + this.j.Yta(), "Buffer size in Bytes": "" + H, - "Buffer size in Seconds (a/v)": d.Vh(this.j.sR()) + " / " + d.Vh(this.j.nX()), - "Current CDN (a/v)": (ra ? ra.name + ", Id: " + ra.id : "?") + " / " + (va ? va.name + ", Id: " + va.id : "?") + "Buffer size in Seconds (a/v)": d.Vh(this.j.tR()) + " / " + d.Vh(this.j.mX()), + "Current CDN (a/v)": (ta ? ta.name + ", Id: " + ta.id : "?") + " / " + (va ? va.name + ", Id: " + va.id : "?") }); - } catch (Ta) {} + } catch (Sa) {} try { - if (this.j.Ug.value && this.j.Sf.value) { - X = this.j.Ug.value.stream; - ta = X.track; - za = this.j.Sf.value.stream; + if (this.j.Sg.value && this.j.Tf.value) { + Y = this.j.Sg.value.stream; + ra = Y.track; + Ea = this.j.Tf.value.stream; V = this.j.Rk.value; - T = this.yW.A1(this.j.Qh.value ? this.j.Qh.value.streams : []); - ja = this.yW.x1(ta.streams); - Ia = za.Mg; + U = this.xW.C1(this.j.Ph.value ? this.j.Ph.value.streams : []); + ma = this.xW.z1(ra.streams); + Ia = Ea.Kg; wa = (/hevc/).test(Ia) ? "hevc" : (/vp9/).test(Ia) ? "vp9" : (/h264hpl/).test(Ia) ? "avchigh" : "avc"; (/hdr/).test(Ia) && (wa += ", hdr"); (/dv/).test(Ia) && (wa += ", dv"); (/prk/).test(Ia) && (wa += ", prk"); - Sa = X.Mg; - Ua = (/xheaac/).test(Sa) ? "xhe-aac" : (/heaac/).test(Sa) ? "he-aac" : (/ddplus/).test(Sa) ? "ddplus" : "unknown"; - (/atmos/).test(Sa) && (Ua += ", atmos"); + Ta = Y.Kg; + Ua = (/xheaac/).test(Ta) ? "xhe-aac" : (/heaac/).test(Ta) ? "he-aac" : (/ddplus/).test(Ta) ? "ddplus" : "unknown"; + (/atmos/).test(Ta) && (Ua += ", atmos"); D.push({ - "Audio Track": ta.wm + ", Id: " + ta.trackId + ", Channels: " + ta.channels + ", Codec: " + ja + " (" + Ua + ")", - "Video Track": "Codec: " + T + " (" + wa + ")", + "Audio Track": ra.wm + ", Id: " + ra.trackId + ", Channels: " + ra.channels + ", Codec: " + ma + " (" + Ua + ")", + "Video Track": "Codec: " + U + " (" + wa + ")", "Timed Text Track": V ? V.wm + ", Profile: " + V.profile + ", Id: " + V.trackId : "none" }); } - } catch (Ta) {} + } catch (Sa) {} try { - $a = this.j.Cg; - Za = this.j.Xf.value ? this.j.Xf.value.framerate : 0; - mb = a(515).OXa; + ab = this.j.Bg; + Za = this.j.og.value ? this.j.og.value.framerate : 0; + nb = a(519).MXa; D.push({ Framerate: Za.toFixed(3), - "Current Dropped Frames": m.xa(this.aha) ? this.aha : "", - "Total Frames": $a.yB(), - "Total Dropped Frames": $a.uF(), - "Total Corrupted Frames": $a.lT(), - "Total Frame Delay": $a.Z2(), - "Main Thread stall/sec": mb ? mb.Nzb().join(" ") : "DISABLED", - VideoDiag: g.nna(this.j.u3()), - "HDR support": this.Xka ? this.Xka.result + " (" + this.Xka.reason + ")" : "unknown" - }); - } catch (Ta) {} + "Current Dropped Frames": m.ya(this.Vga) ? this.Vga : "", + "Total Frames": ab.yB(), + "Total Dropped Frames": ab.yF(), + "Total Corrupted Frames": ab.jT(), + "Total Frame Delay": ab.b3(), + "Main Thread stall/sec": nb ? nb.Rzb().join(" ") : "DISABLED", + VideoDiag: g.hna(this.j.v3()), + "HDR support": this.Tka ? this.Tka.result + " (" + this.Tka.reason + ")" : "unknown" + }); + } catch (Sa) {} try { D.push({ Throughput: this.j.Oa + " kbps" }); - } catch (Ta) {} + } catch (Sa) {} try { D.push({ - PlaybackTime: secondToDate(d.Vh(this.j.mediaTime.value)) + " / " + secondToDate(d.Vh(this.j.Lx.ea(p.ma))), - "Size (A+V)": (O.size / 1024 / 1024 / 1024).toFixed(2) + " GB" + " + " + (P.size / 1024 / 1024 / 1024).toFixed(2) + " GB = " + ((O.size / 1024 / 1024 / 1024) + (P.size / 1024 / 1024 / 1024)).toFixed(2) + " GB" + PlaybackTime: secondToDate(d.Vh(this.j.mediaTime.value)) + " / " + secondToDate(d.Vh(this.j.Qx.ea(p.ma))), + "Size (A+V)": (Q.size / 1024 / 1024 / 1024).toFixed(2) + " GB" + " + " + (O.size / 1024 / 1024 / 1024).toFixed(2) + " GB = " + ((Q.size / 1024 / 1024 / 1024) + (O.size / 1024 / 1024 / 1024)).toFixed(2) + " GB" }); - } catch (Ta) {} + } catch (Sa) {} - - db = void 0; + cb = void 0; try { - Object.entries(this.zPa).forEach(function (Ta) { - var Ca; - Ca = aa(Ta); - Ta = Ca.next().value; - Ca = Ca.next().value; - db = db || ({}); - db[Ta] = JSON.stringify(Ca); - }); - db && D.push(db); - } catch (Ta) {} + Object.entries(this.yPa).forEach(function (Sa) { + var Ba; + Ba = aa(Sa); + Sa = Ba.next().value; + Ba = Ba.next().value; + cb = cb || ({}); + cb[Sa] = JSON.stringify(Ba); + }); + cb && D.push(cb); + } catch (Sa) {} return D; }; - b.pEa = c; - }, function (q, b, a) { + b.nEa = c; + }, function (r, b, a) { var k, l, d, g; - function c(h, m, n, r) { - this.ba = h; - this.iQb = m; - this.ya = n; - this.Lf = r; + function c(h, m, n, q) { + this.ca = h; + this.nQb = m; + this.za = n; + this.Mf = q; this.bd = {}; } function f(h, m) { - this.Bg = h; - this.Lf = m; + this.Ag = h; + this.Mf = m; this.xd = {}; - this.ya = h.Cb("PlaybackMilestoneStoreImpl"); + this.za = h.Db("PlaybackMilestoneStoreImpl"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rEa = void 0; - q = a(1); + b.pEa = void 0; + r = a(1); k = a(0); l = a(8); d = a(20); - g = a(5); - f.prototype.pPb = function (h, m) { - this.xd[h] && this.ya.warn("registerPlayback: xid " + h + " already registered, overriding"); - m = (m ? m : this.Lf.Zb()).ea(g.ma); - this.ya.trace("registerPlayback: xid " + h + " at " + m); - this.xd[h] = new c(h, m, this.ya, this.Lf); + g = a(4); + f.prototype.uPb = function (h, m) { + this.xd[h] && this.za.warn("registerPlayback: xid " + h + " already registered, overriding"); + m = (m ? m : this.Mf.Xb()).ea(g.ma); + this.za.trace("registerPlayback: xid " + h + " at " + m); + this.xd[h] = new c(h, m, this.za, this.Mf); return this.xd[h]; }; - f.prototype.QAb = function (h) { - this.xd[h] || this.ya.warn("getPlaybackMilestones: xid " + h + " is not registered"); + f.prototype.TAb = function (h) { + this.xd[h] || this.za.warn("getPlaybackMilestones: xid " + h + " is not registered"); return this.xd[h]; }; - f.prototype.HPb = function (h) { - this.ya.trace("removePlayback: xid " + h); + f.prototype.MPb = function (h) { + this.za.trace("removePlayback: xid " + h); delete this.xd[h]; }; a = f; - a = q.__decorate([k.R(), q.__param(0, k.l(l.Kb)), q.__param(1, k.l(d.zd))], a); - b.rEa = a; - c.prototype.Vo = function (h, m) { - m = m ? m.ea(g.ma) : this.Lf.Zb().ea(g.ma) - this.iQb; - this.ya.trace("addMilestone: xid " + this.ba + " " + h + " at " + m); + a = r.__decorate([k.R(), r.__param(0, k.l(l.Ib)), r.__param(1, k.l(d.zd))], a); + b.pEa = a; + c.prototype.Wo = function (h, m) { + m = m ? m.ea(g.ma) : this.Mf.Xb().ea(g.ma) - this.nQb; + this.za.trace("addMilestone: xid " + this.ca + " " + h + " at " + m); this.bd[h] = m; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d; function c(g) { - this.Pa = g; + this.La = g; this.trace = []; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.EFa = void 0; - q = a(1); + b.BFa = void 0; + r = a(1); f = a(18); k = a(0); l = a(20); - d = a(5); - c.prototype.Zl = function (g) { - g.cause !== f.Jd.yw && (this.trace.unshift({ - time: this.Pa.Zb(), + d = a(4); + c.prototype.Xl = function (g) { + g.cause !== f.me.Ew && (this.trace.unshift({ + time: this.La.Xb(), event: g }), 5 < this.trace.length && this.trace.pop()); }; @@ -128079,41 +128106,41 @@ a000.D9b = function () { return {}; h = this.trace[0]; return { - timeSinceLastRepositionMs: this.$4a(h.time), + timeSinceLastRepositionMs: this.b5a(h.time), lastRepositionCause: this.DSa(h.event.cause), repositionTrace: this.trace.map(function (m) { return { - timeSince: g.$4a(m.time), + timeSince: g.b5a(m.time), cause: g.DSa(m.event.cause), newMediaTime: m.event.N5, - oldMediaTime: m.event.Moa, - contentPts: m.event.Aj, + oldMediaTime: m.event.Hoa, + contentPts: m.event.yj, skip: m.event.skip }; }) }; }; - c.prototype.$4a = function (g) { - return this.Pa.Zb().Ba(g).ea(d.ma); + c.prototype.b5a = function (g) { + return this.La.Xb().Da(g).ea(d.ma); }; c.prototype.DSa = function (g) { switch (g) { - case f.Jd.yw: + case f.me.Ew: return "initial"; - case f.Jd.Iw: + case f.me.mA: return "seek"; - case f.Jd.HD: + case f.me.CI: return "segment_changed"; - case f.Jd.xI: + case f.me.NP: return "track_changed"; - case f.Jd.tY: + case f.me.tY: return "force_rebuffer"; } }; a = c; - a = q.__decorate([k.R(), q.__param(0, k.l(l.zd))], a); - b.EFa = a; - }, function (q, b, a) { + a = r.__decorate([k.R(), r.__param(0, k.l(l.zd))], a); + b.BFa = a; + }, function (r, b, a) { var f, k, l, @@ -128122,198 +128149,198 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; function c(x, y, z) { - var B; - B = this; - this.xb = x; + var A; + A = this; + this.nb = x; this.j = y; this.debug = z; - this.vq = this.dh = this.zA = !1; - this.rm = void 0; - this.Dr = new Map(); - this.Vr = void 0; - this.Se = function () { - var A, + this.xq = this.Ah = this.BA = !1; + this.qm = void 0; + this.Gr = new Map(); + this.Zr = void 0; + this.Te = function () { + var B, C, E, - F, + G, D, - G; - B.debug.assert(B.qa, "has access to asePlaygraph"); - B.debug.assert(B.Qc, "has access to internalLogger"); - B.debug.assert(B.dt, "has access to mediaBufferGetLogFields"); - if (B.fe.value !== f.ja.pq && B.fe.value !== f.ja.zi) { - D = B.Dn; - G = null === (C = null === (A = B.Jb.get()) || void 0 === A ? void 0 : A.Oa) || void 0 === C ? void 0 : C.Ea; - A = { + F; + A.debug.assert(A.qa, "has access to asePlaygraph"); + A.debug.assert(A.Pc, "has access to internalLogger"); + A.debug.assert(A.jt, "has access to mediaBufferGetLogFields"); + if (A.de.value !== f.ka.rq && A.de.value !== f.ka.zi) { + D = A.Dn; + F = null === (C = null === (B = A.Lb.get()) || void 0 === B ? void 0 : B.Oa) || void 0 === C ? void 0 : C.Fa; + B = { type: "logdata", target: "startplay", fields: { - hasasereport: B.j.xK, + hasasereport: A.j.BK, hashindsight: !1, buffCompleteReason: D.reason, - actualbw: G, + actualbw: F, initSelReason: null !== (E = D.initSelReason) && void 0 !== E ? E : "unknown", bcVBufferLevelMs: D.vBufferLevelMs, bcABufferLevelMs: D.aBufferLevelMs } }; - h.Uea({ - nRa: A, - Gj: B.Gj, - loadTime: B.loadTime + h.Nea({ + mRa: B, + Fj: A.Fj, + loadTime: A.loadTime }); - B.qa.t8("startplay", l.ae.JC); - null !== (F = B.Ha) && void 0 !== F && F.Nn ? (B.Qc.trace("Buffering complete", { + A.qa.p8("startplay", l.Zd.Tt); + null !== (G = A.Ha) && void 0 !== G && G.Pn ? (A.Pc.trace("Buffering complete", { Cause: "ASE Buffering complete", evt: D - }, B.dt()), B.j.Dn = D, B.j.Cq.set(m.$e.$d), B.kxb || (B.kxb = !0, B.j.Od("pb")), B.play()) : B.Qc.error("Shim received buffering complete but player has no position (player " + (B.Ha ? "" : "un") + "defined, state " + B.j.state + ")"); + }, A.jt()), A.j.Dn = D, A.j.Eq.set(m.af.Yd), A.qxb || (A.qxb = !0, A.j.Md("pb")), A.play()) : A.Pc.error("Shim received buffering complete but player has no position (player " + (A.Ha ? "" : "un") + "defined, state " + A.j.state + ")"); } }; - this.yR = function () { - var A, + this.zR = function () { + var B, C; - B.debug.assert(B.Qc, "has access to internalLogger"); + A.debug.assert(A.Pc, "has access to internalLogger"); !1; - B.rm = void 0; - B.j.paused.value && B.uM && (B.uM = !1, B.j.paused.set(!1, { - toa: !0 + A.qm = void 0; + A.j.paused.value && A.wM && (A.wM = !1, A.j.paused.set(!1, { + ooa: !0 })); - null === (A = B.j.Cg) || void 0 === A ? void 0 : A.ipb(); - null === (C = B.bV) || void 0 === C ? void 0 : C.call(B); - B.bV = void 0; + null === (B = A.j.Bg) || void 0 === B ? void 0 : B.jpb(); + null === (C = A.aV) || void 0 === C ? void 0 : C.call(A); + A.aV = void 0; }; this.events = new v(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Tua = void 0; + b.Qua = void 0; f = a(53); k = a(16); - l = a(272); - d = a(61); + l = a(273); + d = a(62); g = a(3); - h = a(1138); + h = a(1142); m = a(18); n = a(13); - r = a(17); - p = a(5); - u = a(1139); - t = a(86); + q = a(17); + p = a(4); + t = a(1143); + u = a(86); w = a(105); v = a(109).EventEmitter; - c.prototype.X0 = function () {}; - c.prototype.Ic = function () { + c.prototype.Z0 = function () {}; + c.prototype.Kc = function () { var x; - this.vq = !1; - this.Jb.pN(null); - this.debug.assert(this.aj, "has access to streamingEngine"); - this.qa && this.aj.gr(this.qa); - this.Ha && this.aj.QM(this.Ha); - this.aj.Kqa(this.Dr.get(this.xb.fa.da)); - this.Dr.clear(); - null === (x = this.Oi) || void 0 === x ? void 0 : x.gp(); - }; - c.prototype.BSb = function (x) { + this.xq = !1; + this.Lb.qN(null); + this.debug.assert(this.Zi, "has access to streamingEngine"); + this.qa && this.Zi.hr(this.qa); + this.Ha && this.Zi.QM(this.Ha); + this.Zi.Eqa(this.Gr.get(this.nb.ga.$)); + this.Gr.clear(); + null === (x = this.Mi) || void 0 === x ? void 0 : x.hp(); + }; + c.prototype.FSb = function (x) { var y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M; + L; y = x.config; - z = x.Dl; - B = x.Qc; - A = x.te; - C = x.dt; + z = x.sm; + A = x.Pc; + B = x.ve; + C = x.jt; E = x.ii; - F = x.oW; - x = x.OG; - this.Qc = B; - this.dt = C; - this.oW = F; - this.OG = x; - C = this.j.fa; + G = x.nW; + x = x.XG; + this.Pc = A; + this.jt = C; + this.nW = G; + this.XG = x; + C = this.j.ga; this.debug.assert(C, "has a playback segment"); this.debug.assert(y, "has access to config"); - this.debug.assert(A, "has access to utils"); + this.debug.assert(B, "has access to utils"); this.debug.assert(E, "has access to getCategoryLog"); this.debug.assert(z, "has access to aseGlobals"); - this.debug.assert(z.aj, "has access to streamingEngine"); + this.debug.assert(z.Zi, "has access to streamingEngine"); this.debug.assert(C.sa, "has access to manifest"); - this.aj = z.aj; - z.sd.set(a(179)(y), !0, E("ASE")); - z.sd.set({ - maxNumberTitlesScheduled: null !== (G = null === (D = y.hNb) || void 0 === D ? void 0 : D.maxNumberTitlesScheduled) && void 0 !== G ? G : 1 - }, !0, B); - y.Qpb && 3E5 > C.sa.Wc.duration ? z.sd.lV({ + this.Zi = z.Zi; + z.Bd.set(a(179)(y), !0, E("ASE")); + z.Bd.set({ + maxNumberTitlesScheduled: null !== (F = null === (D = y.lNb) || void 0 === D ? void 0 : D.maxNumberTitlesScheduled) && void 0 !== F ? F : 1 + }, !0, A); + y.Rpb && 3E5 > C.sa.Xc.duration ? z.Bd.kV({ expandDownloadTime: !1 - }, !0, B) : z.sd.lV({ - expandDownloadTime: z.sd.W_a().expandDownloadTime - }, !0, B); - y = C.background || y.fNb && "postplay" === C.Zd ? "historical" : z.sd.W_a().initBitrateSelectorAlgorithm; - z.sd.lV({ + }, !0, A) : z.Bd.kV({ + expandDownloadTime: z.Bd.U_a().expandDownloadTime + }, !0, A); + y = C.background || y.jNb && "postplay" === C.je ? "historical" : z.Bd.U_a().initBitrateSelectorAlgorithm; + z.Bd.kV({ initBitrateSelectorAlgorithm: y - }, !0, B); - y = null === (M = null === (H = null === (J = null === (I = C.Qh) || void 0 === I ? void 0 : I.value) || void 0 === J ? void 0 : J.streams) || void 0 === H ? void 0 : H[0]) || void 0 === M ? void 0 : M.Mg; - z.sd.lV(n.yga(!!C.kb.Ol, !!C.kb.x4, y), !0, B); - B = A.cG({}, n.p1(C.Zd)); - this.sd = z.sd.Hq(B); - f.platform.events.emit("networkchange", C.Mc.FRb); - this.zA = !0; - }; - c.prototype.c4 = function (x) { + }, !0, A); + y = null === (L = null === (H = null === (K = null === (J = C.Ph) || void 0 === J ? void 0 : J.value) || void 0 === K ? void 0 : K.streams) || void 0 === H ? void 0 : H[0]) || void 0 === L ? void 0 : L.Kg; + z.Bd.kV(n.COa(!!C.kb.Nl, !!C.kb.x4, y), !0, A); + A = B.iG({}, n.sga(C.je)); + this.Bd = z.Bd.zs(A); + f.platform.events.emit("networkchange", C.Yc.IRb); + this.BA = !0; + }; + c.prototype.d4 = function (x) { var y, z; - this.debug.assert(this.aj, "has access to streamingEngine"); - y = this.j.Qq(x.va); - this.debug.assert(y.Mc, "has access to playback parsedManifest"); + this.debug.assert(this.Zi, "has access to streamingEngine"); + y = this.j.wp(x.va); + this.debug.assert(y.Yc, "has access to playback parsedManifest"); z = x.flags; - this.Jb.reset(); - this.Fd = new Set([f.ic.Za.Tb, f.ic.Za.Hb]); - (z.UC || z.vR) && this.Fd.delete(z.UC ? f.ic.Za.Tb : f.ic.Za.Hb); - this.PN = [y.Mc.jtb, y.Mc.rtb]; - this.eS(x.va, x.Vu); - this.TDb(x); - this.Qga(); - }; - c.prototype.gX = function (x) { + this.Lb.reset(); + this.Ed = new Set([f.Qb.Ra.Ob, f.Qb.Ra.Bb]); + (z.VC || z.wR) && this.Ed.delete(z.VC ? f.Qb.Ra.Ob : f.Qb.Ra.Bb); + this.QN = [y.Yc.ltb, y.Yc.utb]; + this.dS(x.va, x.$u); + this.XDb(x); + this.Kga(); + }; + c.prototype.fX = function (x) { var y; - null === (y = this.qa) || void 0 === y ? void 0 : y.gX(x); + null === (y = this.qa) || void 0 === y ? void 0 : y.fX(x); }; c.prototype.Hmb = function (x) { var y, z, - B, - A; + A, + B; y = this; z = x.loadTime; - B = x.Gj; + A = x.Fj; this.debug.assert(this.qa, "has access to asePlaygraph"); this.debug.assert(this.Ha, "has access to asePlayer"); - this.Gj = B; + this.Fj = A; this.loadTime = z; x = this.qa.events; - A = this.Ha.events; + B = this.Ha.events; x.addListener("error", function (C) { - "NFErr_MC_StreamingFailure" === C.error && (y.Qc.trace("receiving an unrecoverable streaming error: " + JSON.stringify(C)), y.Qc.trace("StreamingFailure, buffer status:" + JSON.stringify(y.dt())), d.fg(function () { - y.j.Ld(g.L.p7a, { + "NFErr_MC_StreamingFailure" === C.error && (y.Pc.trace("receiving an unrecoverable streaming error: " + JSON.stringify(C)), y.Pc.trace("StreamingFailure, buffer status:" + JSON.stringify(y.jt())), d.fg(function () { + y.j.Jd(g.M.r7a, { oa: C.nativeCode, - sb: C.errormsg, + qb: C.errormsg, lk: C.httpCode, I5: C.networkErrorCode }); @@ -128321,174 +128348,164 @@ a000.D9b = function () { }); x.addListener("logdata", function (C) { var E; - "string" === typeof C.target && "object" === typeof C.fields && (C.fields.aseApiVersion = null === (E = y.qa) || void 0 === E ? void 0 : E.IE, h.Uea({ - nRa: C, - Gj: B, + "string" === typeof C.target && "object" === typeof C.fields && (C.fields.aseApiVersion = null === (E = y.qa) || void 0 === E ? void 0 : E.KE, h.Nea({ + mRa: C, + Fj: A, loadTime: z })); }); x.addListener("bufferingStarted", function () { - y.j.Cq.set(m.$e.Sc); + y.j.Eq.set(m.af.Sc); }); x.addListener("bufferingComplete", function (C) { y.Dn = C; }); this.j.paused.addListener(function (C) { var E; - y.debug.assert(y.Qc, "has access to internalLogger"); - null !== (E = C.Wu) && void 0 !== E && E.toa || !y.zA || (C.newValue && y.fe.value === f.ja.yc ? (y.fe.set(f.ja.Wh), y.kd.emit("paused", { + y.debug.assert(y.Pc, "has access to internalLogger"); + null !== (E = C.av) && void 0 !== E && E.ooa || !y.BA || (C.newValue && y.de.value === f.ka.Ac ? (y.de.set(f.ka.Wh), y.md.emit("paused", { type: "paused", - pts: y.kd.qc - })) : C.newValue || y.fe.value !== f.ja.Wh || (y.fe.set(f.ja.yc), y.kd.emit("playing", { + pts: y.md.vc + })) : C.newValue || y.de.value !== f.ka.Wh || (y.de.set(f.ka.Ac), y.md.emit("playing", { type: "playing", - pts: y.kd.qc + pts: y.md.vc }))); - C.newValue || (y.uM = !1); - y.Qc.info("Paused changed", { + C.newValue || (y.wM = !1); + y.Pc.info("Paused changed", { From: C.oldValue, To: C.newValue, - MediaTime: t.Vh(y.j.mediaTime.value) + MediaTime: u.Vh(y.j.mediaTime.value) }); }); - this.j.Bd.addListener(function (C) { + this.j.Sd.addListener(function (C) { var E, - F, + G, D, - G; - if (y.zA) - if ((y.debug.assert(y.Qc, "has access to internalLogger"), C.Wu && C.Wu.TLa)) - y.Qc.trace("Not processing already applied track", null === (E = C.newValue) || void 0 === E ? void 0 : E.trackId); + F; + if (y.BA) + if ((y.debug.assert(y.Pc, "has access to internalLogger"), C.av && C.av.SLa)) + y.Pc.trace("Not processing already applied track", null === (E = C.newValue) || void 0 === E ? void 0 : E.trackId); else { - G = C.newValue; - y.b8({ - KE: G.NF, + F = C.newValue; + y.X7({ + ME: F.SF, toJSON: function () { - return G.Kh; + return F.kh; } - }) ? y.Qc.trace("ASE accepted the audio track switch", null === (D = C.newValue) || void 0 === D ? void 0 : D.trackId) : (y.Qc.trace("ASE rejected the audio track switch", null === (F = C.newValue) || void 0 === F ? void 0 : F.trackId), C.oldValue && C.oldValue.NF !== G.NF && y.j.Bd.set(C.oldValue, { - TLa: !0 + }) ? y.Pc.trace("ASE accepted the audio track switch", null === (D = C.newValue) || void 0 === D ? void 0 : D.trackId) : (y.Pc.trace("ASE rejected the audio track switch", null === (G = C.newValue) || void 0 === G ? void 0 : G.trackId), C.oldValue && C.oldValue.SF !== F.SF && y.j.Sd.set(C.oldValue, { + SLa: !0 })); } }); x.addListener("serverSwitch", function (C) { var E; - y.j.fireEvent(m.W.lN, C); + y.j.fireEvent(m.Z.mN, C); if ("video" === C.mediatype) - E = f.ic.Za.Hb; + E = f.Qb.Ra.Bb; else - "audio" === C.mediatype && (E = f.ic.Za.Tb); - r.Hc(E) && y.oW(C.server, E); + "audio" === C.mediatype && (E = f.Qb.Ra.Ob); + q.Jc(E) && y.nW(C.segmentId, C.server, E); }); x.addListener("streamSelected", function (C) { var E, - F, + G, D, - G; - F = (null === (E = y.qa) || void 0 === E ? void 0 : E.GB(C.position)).kB.V; + F; + G = (null === (E = y.qa) || void 0 === E ? void 0 : E.JB(C.position)).aF.V; E = []; - if (C.mediaType === f.ic.Za.Hb) { + if (C.mediaType === f.Qb.Ra.Bb) { D = y.j.aVa(C.streamId); - G = y.j.Xf; - E = y.j.DF(); + F = y.j.og; + E = y.j.IF(); } else - C.mediaType === f.ic.Za.Tb && (D = y.j.SUa(C.streamId), G = y.j.dk, E = y.j.kyb()); - D && G ? (!1, G.set(D, { - YNa: F, + C.mediaType === f.Qb.Ra.Ob && (D = y.j.SUa(C.streamId), F = y.j.ek, E = y.j.qyb()); + D && F ? (!1, F.set(D, { + WNa: G, pmb: C.bandwidth - })) : y.Qc.error("no matching stream for streamSelected event", { + })) : y.Pc.error("no matching stream for streamSelected event", { streamId: C.streamId, mediaType: C.mediaType, streamList: E, - cachedManifest: y.j.RE + cachedManifest: y.j.SE }); }); x.addListener("segmentNormalized", function (C) { var E, - F; - E = y.j.Qq(C.segmentId); - F = Math.floor(C.viewableEarliestContentEnd.V); - C = p.uc(Math.floor(C.viewableContentEnd.V)); - F = p.uc(F); - E && (E.Lx = C, E.$Hb = F); - y.j.qt || (y.j.qt = C); - }); - A.addListener("segmentPresenting", function (C) { - var E, - F, - D; + G; + E = y.j.wp(C.segmentId); + G = Math.floor(C.viewableEarliestContentEnd.V); + C = p.wc(Math.floor(C.viewableContentEnd.V)); + G = p.wc(G); + E && (E.Qx = C, E.cIb = G); + y.j.vt || (y.j.vt = C); + }); + B.addListener("segmentPresenting", function (C) { + var E; y.debug.assert(y.qa, "has access to asePlaygraph"); y.debug.assert(y.Ha, "has access to asePlayer"); - y.debug.assert(y.OG, "has access to segmentPresentingHandler"); - E = y.qa.GB(C.position); - F = C.playerTimestamp.Ba(E.kB); - D = C.position.va; - y.OG(E.da, !1); - y.j.fireEvent(m.W.NG, { + y.debug.assert(y.XG, "has access to segmentPresentingHandler"); + E = y.qa.JB(C.position); + y.XG(E.$, !1); + y.j.fireEvent(m.Z.WG, { type: "segmentPresenting", - segmentId: D, - contentOffset: F.V, + position: { + segmentId: C.position.va, + offset: C.position.offset + }, + playerTimestamp: C.playerTimestamp, metrics: C.metrics }); - y.Vr = y.Ha.vp(); + y.Zr = y.Ha.xp(); }); - A.addListener("ptsChanged", function () { - y.kd.emit("skipped"); - }); - x.addListener("segmentStarting", function (C) { - return y.j.fireEvent(m.W.kRb, C); - }); - x.addListener("lastSegmentPts", function (C) { - return y.j.fireEvent(m.W.gRb, C); - }); - x.addListener("segmentAborted", function (C) { - y.j.fireEvent(m.W.eRb, C); + B.addListener("ptsChanged", function () { + y.md.emit("skipped"); }); x.addListener("locationSelected", function (C) { - y.j.fireEvent(m.W.pv, C); + y.j.fireEvent(m.Z.vv, C); }); x.addListener("aseReportEnabled", function () { - y.j.xK = !0; + y.j.BK = !0; }); x.addListener("aseReport", function (C) { - y.j.fireEvent(m.W.OJ, C); + y.j.fireEvent(m.Z.RJ, C); }); }; - c.prototype.vp = function () { + c.prototype.xp = function () { var x, y, z, - B, A, + B, C, E, - F, + G, D; - F = null === (x = this.Ha) || void 0 === x ? void 0 : x.G3(); - x = (null !== (y = this.Vr) && void 0 !== y ? y : F && this.Ha.vp()) || ({}); + G = null === (x = this.Ha) || void 0 === x ? void 0 : x.H3(); + x = (null !== (y = this.Zr) && void 0 !== y ? y : G && this.Ha.xp()) || ({}); y = x.P; - F = x.yj; - D = x.yV; - x = x.AM; + G = x.vj; + D = x.xV; + x = x.CM; return { id: String(null === y || void 0 === y ? void 0 : y.id), - Ke: null !== (z = null === F || void 0 === F ? void 0 : F.V) && void 0 !== z ? z : 0, - Jc: null !== (B = null === y || void 0 === y ? void 0 : y.uh.V) && void 0 !== B ? B : Infinity, - pc: null !== (A = null === y || void 0 === y ? void 0 : y.Ll.V) && void 0 !== A ? A : 0, - Pd: null !== (C = null === D || void 0 === D ? void 0 : D.V) && void 0 !== C ? C : Infinity, + Me: null !== (z = null === G || void 0 === G ? void 0 : G.V) && void 0 !== z ? z : 0, + Lc: null !== (A = null === y || void 0 === y ? void 0 : y.th.V) && void 0 !== A ? A : Infinity, + uc: null !== (B = null === y || void 0 === y ? void 0 : y.Kl.V) && void 0 !== B ? B : 0, + Nd: null !== (C = null === D || void 0 === D ? void 0 : D.V) && void 0 !== C ? C : Infinity, Zc: null !== (E = null === x || void 0 === x ? void 0 : x.V) && void 0 !== E ? E : 0 }; }; - c.prototype.iT = function () { + c.prototype.gT = function () { return { - Ke: 0 + Me: 0 }; }; - c.prototype.h4 = function () { + c.prototype.i4 = function () { var x, y; this.debug.assert(this.qa, "has access to asePlaygraph"); x = {}; - y = this.qa.TK(); + y = this.qa.XK(); x.vbuflmsec = y.totalvbuflmsecs; x.vbuflbytes = y.vbuflbytes; x.abuflmsec = y.totalabuflmsecs; @@ -128496,153 +128513,150 @@ a000.D9b = function () { return x; }; c.prototype.paused = function () {}; - c.prototype.ypa = function () { - this.kd.emit("playbackRateChanged", { + c.prototype.tpa = function () { + this.md.emit("playbackRateChanged", { type: "playbackRateChanged", - pts: this.kd.qc + pts: this.md.vc }); }; - c.prototype.b8 = function (x) { + c.prototype.X7 = function (x) { var y, z, - B, - A; + A, + B; y = this; - this.debug.assert(this.Qc, "has access to internalLogger"); + this.debug.assert(this.Pc, "has access to internalLogger"); this.debug.assert(this.qa, "has access to asePlaygraph"); this.debug.assert(this.Ha, "has access to asePlayer"); this.debug.assert(this.j.sa, "has access to playback manifest"); - if (this.pH) + if (this.xH) return (!1, !1); - if (!this.j.sa.Wc.audio_tracks.some(function (C, E) { - if (C.track_id === x.KE) - return (A = E, !0); + if (!this.j.sa.Xc.audio_tracks.some(function (C, E) { + if (C.track_id === x.ME) + return (B = E, !0); }))return (!1, !1); !1; - this.rm = A; - null === (z = this.j.Cg) || void 0 === z ? void 0 : z.HTb(); - (null === (B = this.Ha) || void 0 === B ? 0 : B.zz) ? this.uM = !1 : n.config.cMb && !this.j.paused.value && (this.Ha.pause([f.ic.Za.Tb]), this.uM = !0, this.j.paused.set(!0, { - toa: !0 + this.qm = B; + null === (z = this.j.Bg) || void 0 === z ? void 0 : z.JTb(); + (null === (A = this.Ha) || void 0 === A ? 0 : A.Cz) ? this.wM = !1 : n.config.eMb && !this.j.paused.value && (this.Ha.pause([f.Qb.Ra.Ob]), this.wM = !0, this.j.paused.set(!0, { + ooa: !0 })); - this.debug.Sea(this.rm, "has access to valid requestedAudioTrackIndex number"); - this.PN[f.ic.Za.Tb] = this.rm; - this.qa.Vv({ - pr: function () { - return y.PN[f.ic.Za.Tb]; + this.debug.Lea(this.qm, "has access to valid requestedAudioTrackIndex number"); + this.QN[f.Qb.Ra.Ob] = this.qm; + this.qa.$v({ + qr: function () { + return y.QN[f.Qb.Ra.Ob]; } }, { - pr: function () { - return y.PN[f.ic.Za.Hb]; + qr: function () { + return y.QN[f.Qb.Ra.Bb]; } }); - this.Zp(this.yR); + this.$p(this.zR); return !0; }; - c.prototype.zr = function () { - this.fe.set(f.ja.ef); - this.kd.emit("underflow", { + c.prototype.Cr = function () { + this.de.set(f.ka.ef); + this.md.emit("underflow", { type: "underflow", - pts: this.kd.qc + pts: this.md.vc }); - this.Zp(this.Se); - }; - c.prototype.FE = function () { - throw Error("addManifest is not implemented"); + this.$p(this.Te); }; - c.prototype.Qp = function (x, y) { - this.Mz.Qp(x, y); + c.prototype.Tp = function (x, y) { + this.Pz.Tp(x, y); }; c.prototype.open = function () { - this.vq || (this.debug.assert(this.qa, "has access to asePlaygraph"), this.debug.assert(this.Ha, "has access to asePlayer"), this.vq = this.dh = !0, this.qa.open(), this.debug.assert(this.Xv, "invalid start position relative to playgraph"), this.qa.MG(this.Xv), this.fe.set(f.ja.Sc), this.Zp(this.Se), this.qa.Vea(this.Ha), this.HGb()); + this.xq || (this.debug.assert(this.qa, "has access to asePlaygraph"), this.debug.assert(this.Ha, "has access to asePlayer"), this.xq = this.Ah = !0, this.qa.open(), this.debug.assert(this.aw, "invalid start position relative to playgraph"), this.qa.UG(this.aw), this.de.set(f.ka.Sc), this.$p(this.Te), this.qa.Oea(this.Ha), this.JGb()); }; c.prototype.play = function () { this.debug.assert(this.qa, "has access to asePlaygrah"); this.debug.assert(this.Ha, "has access to asePlayer"); - 0 !== this.qa.state && (this.Ha.resume(this.uM ? [f.ic.Za.Hb] : void 0), this.fe.set(f.ja.yc), this.kd.emit("playing", { + 0 !== this.qa.state && (this.Ha.resume(this.wM ? [f.Qb.Ra.Bb] : void 0), this.de.set(f.ka.Ac), this.md.emit("playing", { type: "playing", - pts: this.kd.qc + pts: this.md.vc })); }; c.prototype.stop = function () { var x; - this.fe.set(f.ja.pq); + this.de.set(f.ka.rq); null === (x = this.Ha) || void 0 === x ? void 0 : x.pause(); this.events.emit("stop"); - this.kd.emit("paused", { + this.md.emit("paused", { type: "paused", - pts: this.kd.qc + pts: this.md.vc }); }; c.prototype.flush = function () { this.debug.assert(this.qa, "has access to asePlaygraph"); - this.debug.assert(this.aj, "has access to streamingEngine"); - this.vq && this.fe.value !== f.ja.zi && this.fe.value !== f.ja.pq && this.stop(); - this.qa.t8("endplay", l.ae.ip); - this.qa.zf(); - this.aj.mh.save(); - this.aj.Om.save(); - }; - c.prototype.us = function (x) { + this.debug.assert(this.Zi, "has access to streamingEngine"); + this.xq && this.de.value !== f.ka.zi && this.de.value !== f.ka.rq && this.stop(); + this.qa.p8("endplay", l.Zd.jp); + this.qa.Bf(); + this.Zi.jh.save(); + this.Zi.Nm.save(); + }; + c.prototype.ys = function (x) { var y; this.debug.assert(this.qa, "has access to asePlaygraph"); y = f.S.rb(x); - return (y = this.qa.dr(y, { - L3a: !0, - K3a: !0 - })) ? this.qa.Fa.Ca[y.va].xc + Number(y.offset.V.toFixed(0)) : this.fail("convertPlayerPtsToContentPts failed to convert playerPts: " + x); + return (y = this.qa.er(y, { + M3a: !0, + L3a: !0 + })) ? this.qa.Ba.wa[y.va].jc + Number(y.offset.V.toFixed(0)) : this.fail("convertPlayerPtsToContentPts failed to convert playerPts: " + x); }; - c.prototype.dK = function (x, y) { + c.prototype.hK = function (x, y) { this.debug.assert(this.qa, "has access to asePlaygraph"); - this.debug.assert(this.Qc, "has access to internalLogger"); - this.qa.Fa.Ca[x] || (x = this.US(y)); - this.debug.G0(x, "has access to segmentId"); + this.debug.assert(this.Pc, "has access to internalLogger"); + this.qa.Ba.wa[x] || (x = this.TS(y)); + this.debug.I0(x, "has access to segmentId"); x = { va: x, - offset: f.S.rb(y - this.qa.Fa.Ca[x].xc) + offset: f.S.rb(y - this.qa.Ba.wa[x].jc) }; - if (x = this.qa.FT(x)) + if (x = this.qa.DT(x)) return x.V; !1; return y; }; - c.prototype.Kfa = function (x, y) { + c.prototype.Dfa = function (x, y) { var z, - B, - A; + A, + B; this.debug.assert(this.qa, "has access to asePlaygraph"); this.debug.assert(this.Ha, "has access to asePlayer"); - y && this.qa.Fa.Ca[y] || (y = null !== (z = this.US(x)) && void 0 !== z ? z : null === (B = this.Ha) || void 0 === B ? void 0 : B.di.va); - return null === (A = this.qa.Fm(y, x)) || void 0 === A ? void 0 : A.Jc; + y && this.qa.Ba.wa[y] || (y = null !== (z = this.TS(x)) && void 0 !== z ? z : null === (A = this.Ha) || void 0 === A ? void 0 : A.di.va); + return null === (B = this.qa.Dm(y, x)) || void 0 === B ? void 0 : B.Lc; }; - c.prototype.Yx = function (x) { + c.prototype.cy = function (x) { var y; y = void 0 === y ? !0 : y; - this.dh ? Number.isFinite(x) && (this.debug.assert(this.Ha, "has access to asePlayer"), y ? this.Ha.qW(x) : this.Ha.Ura(x)) : this.fail("Must call open prior to drmReady"); + this.Ah ? Number.isFinite(x) && (this.debug.assert(this.Ha, "has access to asePlayer"), y ? this.Ha.pW(x) : this.Ha.Nra(x)) : this.fail("Must call open prior to drmReady"); }; - c.prototype.E3 = function () { + c.prototype.F3 = function () { var x; - return null !== (x = this.Ha) && void 0 !== x && x.Nn ? this.Ha.Qn(this.qa.Fa.Ca[this.Ha.di.va].da) : !1; + return null !== (x = this.Ha) && void 0 !== x && x.Pn ? this.Ha.Sn(this.qa.Ba.wa[this.Ha.di.va].$) : !1; }; c.prototype.bi = function (x) { !1; return this.Ha ? this.Ha.bi(f.S.rb(x)) : (!1, !1); }; - c.prototype.nr = function (x, y) { + c.prototype.pr = function (x, y) { var z; this.debug.assert(this.qa, "has access to asePlaygraph"); this.debug.assert(this.Ha, "has access to asePlayer"); - y && this.qa.Fa.Ca[y] || (y = null !== (z = this.US(x)) && void 0 !== z ? z : this.Ha.di.va); - this.debug.G0(y, "has access to segmentId"); - this.debug.assert(this.qa.Fa.Ca[y], "segment exists in playgraph map"); + y && this.qa.Ba.wa[y] || (y = null !== (z = this.TS(x)) && void 0 !== z ? z : this.Ha.di.va); + this.debug.I0(y, "has access to segmentId"); + this.debug.assert(this.qa.Ba.wa[y], "segment exists in playgraph map"); x = { va: y, - offset: f.S.rb(x - this.qa.Fa.Ca[y].xc) + offset: f.S.rb(x - this.qa.Ba.wa[y].jc) }; - this.qa.MG(x); + this.qa.UG(x); this.Ha.resume(); - this.fe.set(f.ja.Sc); - this.Zp(this.Se); - x = this.qa.sra(x); + this.de.set(f.ka.Sc); + this.$p(this.Te); + x = this.qa.mra(x); this.debug.assert(x, "Valid position must be provided for seek"); return x.offset.V; }; @@ -128654,94 +128668,94 @@ a000.D9b = function () { this.events.removeListener(x, y); return this; }; - c.prototype.RN = function (x, y) { + c.prototype.SN = function (x, y) { var z; z = {}; this.qa.ti((z[x] = y, z)); }; - c.prototype.ns = function (x, y) { + c.prototype.rs = function (x, y) { var z, - B; - this.debug.assert(this.Qc, "has access to internalLogger"); + A; + this.debug.assert(this.Pc, "has access to internalLogger"); this.debug.assert(this.qa, "has access to asePlaygraph"); this.debug.assert(this.Ha, "has access to asePlayer"); - z = this.vp().id; - B = this.qa.NTa(z, x); + z = this.xp().id; + A = this.qa.OTa(z, x); if (y) { - if (!B.y6a) - return (this.Qc.warn("chooseNextSegment, seamless transition, invalid destination: " + (x + " for current segment: " + z)), !1); - if (void 0 !== B.eM) - return (!1, B.eM === x); - this.qa.Ak(z, x, !1, y); + if (!A.B6a) + return (this.Pc.warn("chooseNextSegment, seamless transition, invalid destination: " + (x + " for current segment: " + z)), !1); + if (void 0 !== A.hM) + return (!1, A.hM === x); + this.qa.Bk(z, x, !1, y); return !0; } - if (void 0 !== B.eM) + if (void 0 !== A.hM) return (!1, !1); - B.T0 && (this.Ha.reset(), this.qa.Ak(z, x, !1, y), this.Ha.resume(), this.fe.set(f.ja.Sc), this.Zp(this.Se)); - return !!B.T0; + A.V0 && (this.Ha.reset(), this.qa.Bk(z, x, !1, y), this.Ha.resume(), this.de.set(f.ka.Sc), this.$p(this.Te)); + return !!A.V0; }; - c.prototype.dn = function () { + c.prototype.cn = function () { var x; - this.debug.assert(this.Qc, "has access to internalLogger"); - x = this.kd.qc; + this.debug.assert(this.Pc, "has access to internalLogger"); + x = this.md.vc; !1; - this.kd.emit("skipped", { + this.md.emit("skipped", { type: "skipped", pts: x }); - return new f.OD(Promise.resolve()).jra; + return new f.RD(Promise.resolve()).cra; }; - c.prototype.US = function (x) { + c.prototype.TS = function (x) { var y, z, - B, A, + B, C, E, - F, + G, D, - G; + F; this.debug.assert(this.qa, "has acccess to asePlaygraph"); - this.debug.assert(this.Qc, "has acccess to internalLogger"); - y = this.qa.Fa; + this.debug.assert(this.Pc, "has acccess to internalLogger"); + y = this.qa.Ba; z = []; - B = Infinity; - for (A in y.Ca) { - C = y.Ca[A]; - E = C.xc; - C = C.Yc; - F = E <= x; + A = Infinity; + for (B in y.wa) { + C = y.wa[B]; + E = C.jc; + C = C.Fc; + G = E <= x; D = x < Number(null !== C && void 0 !== C ? C : Infinity); !1; - if (F && D) - (!1, z.push(A)); - else if ((E = Math.min(Math.abs(x - E), Math.abs(x - C)), E < B)) { - B = E; - G = A; + if (G && D) + (!1, z.push(B)); + else if ((E = Math.min(Math.abs(x - E), Math.abs(x - C)), E < A)) { + A = E; + F = B; } } - x = z[0] || G; - this.debug.G0(x, "has access to locatedSegmentId"); + x = z[0] || F; + this.debug.I0(x, "has access to locatedSegmentId"); !1; return x; }; - c.prototype.HGb = function () { + c.prototype.JGb = function () { var x, y; x = this; - this.debug.assert(this.j.Ib, "has acccess to mediaElement"); - y = this.j.Ib.la; + this.debug.assert(this.j.Kb, "has acccess to mediaElement"); + y = this.j.Kb.la; this.debug.assert(y, "has acccess to videoElement"); y.addEventListener("play", function () { - x.fe.value === f.ja.Wh && (x.fe.set(f.ja.yc), x.kd.emit("playing", { + x.de.value === f.ka.Wh && (x.de.set(f.ka.Ac), x.md.emit("playing", { type: "playing", - pts: x.kd.qc + pts: x.md.vc })); }); y.addEventListener("pause", function () { - x.fe.value === f.ja.yc && (x.fe.set(f.ja.Wh), x.kd.emit("paused", { + x.de.value === f.ka.Ac && (x.de.set(f.ka.Wh), x.md.emit("paused", { type: "paused", - pts: x.kd.qc + pts: x.md.vc })); }); }; @@ -128753,141 +128767,141 @@ a000.D9b = function () { errormsg: x }); }; - c.prototype.Zp = function (x) { + c.prototype.$p = function (x) { var y, z, - B, A, + B, C, E, - F, + G, D; y = this; - if (x !== this.yR && this.pH) - this.bV = x; + if (x !== this.zR && this.xH) + this.aV = x; else { - D = !0 === (null === (z = this.Ha) || void 0 === z ? void 0 : z.Ry.value); - z = (null === (B = this.qa) || void 0 === B ? void 0 : B.hf.value) === f.wc.Zj; - null === (A = this.Ha) || void 0 === A ? void 0 : A.Ry.removeListener(this.BYa); + D = !0 === (null === (z = this.Ha) || void 0 === z ? void 0 : z.Uy.value); + z = (null === (A = this.qa) || void 0 === A ? void 0 : A.hf.value) === f.yc.$j; + null === (B = this.Ha) || void 0 === B ? void 0 : B.Uy.removeListener(this.yYa); null === (C = this.qa) || void 0 === C ? void 0 : C.hf.removeListener(this.nNa); - D && z ? x() : (this.BYa = function () { - return y.Zp(x); + D && z ? x() : (this.yYa = function () { + return y.$p(x); }, this.nNa = function () { - return y.Zp(x); - }, null === (E = this.Ha) || void 0 === E ? void 0 : E.Ry.addListener(this.BYa), null === (F = this.qa) || void 0 === F ? void 0 : F.hf.addListener(this.nNa)); + return y.$p(x); + }, null === (E = this.Ha) || void 0 === E ? void 0 : E.Uy.addListener(this.yYa), null === (G = this.qa) || void 0 === G ? void 0 : G.hf.addListener(this.nNa)); } }; - c.prototype.zH = function (x) { + c.prototype.HH = function (x) { var y, z, - B; + A; y = this; - B = this.j.Qq(x); - return Promise.resolve(null !== (z = B.sa) && void 0 !== z ? z : this.j.yOb(B).then(function () { - y.j.sNb(B); - return B.sa; - })).then(function (A) { - A = A.Wc; + A = this.j.wp(x); + return Promise.resolve(null !== (z = A.sa) && void 0 !== z ? z : this.j.DOb(A).then(function () { + y.j.wNb(A); + return A.sa; + })).then(function (B) { + B = B.Xc; return { - sa: A, - Gi: A.Tka && !A.MT, - config: y.sd, - Fd: [].concat(ca(y.Fd)) + sa: B, + Gi: B.Pka && !B.KT, + config: y.Bd, + Ed: [].concat(ca(y.Ed)) }; }); }; - c.prototype.eS = function (x, y) { + c.prototype.dS = function (x, y) { var z, - B, - A; - this.debug.assert(this.aj, "has access to streamingEngine"); - z = this.xb.Me(x).da; - if (!this.Dr.has(z)) { - B = this.zH.bind(this); - A = { - aea: void 0, + A, + B; + this.debug.assert(this.Zi, "has access to streamingEngine"); + z = this.nb.ze(x).$; + if (!this.Gr.has(z)) { + A = this.HH.bind(this); + B = { + Vda: void 0, GNa: function () {}, equals: function (C) { - return C.da === z && (y.ba === C.ba || !C.ba || !y.ba); + return C.$ === z && (y.ca === C.ca || !C.ca || !y.ca); }, - get Dr() { - this.aea || (this.aea = B(x)); - return this.aea; + get Gr() { + this.Vda || (this.Vda = A(x)); + return this.Vda; }, - ba: y.ba, - da: z, - nF: !1 + ca: y.ca, + $: z, + rF: !1 }; - this.Dr.set(z, A); - this.sd.ay && this.aj.GC(A, { - Dv: y.Dv, - ba: y.ba, - Kq: y.Kq + this.Gr.set(z, B); + this.Bd.fy && this.Zi.IC(B, { + Jv: y.Jv, + ca: y.ca, + Lq: y.Lq }); } }; - c.prototype.TDb = function (x) { + c.prototype.XDb = function (x) { var y, z, - B; + A; y = this; - z = x.Vu; - B = x.va; - this.debug.assert(this.aj, "has access to streamingEngine"); - this.debug.assert(this.Qc, "has access to internalLogger"); - x = this.j.Qq(B); - x = this.xb.l3(x); - B = x.Ca[B]; - this.debug.assert(B, "segment exists"); - this.Xv = u.CT(B.da, x, this.j.Z, B.xc); - z = Object.create(this.sd, { - Xha: { - value: z.Kq + z = x.$u; + A = x.va; + this.debug.assert(this.Zi, "has access to streamingEngine"); + this.debug.assert(this.Pc, "has access to internalLogger"); + x = this.j.wp(A); + x = this.nb.m3(x); + A = x.wa[A]; + this.debug.assert(A, "segment exists"); + this.aw = t.AT(A.$, x, this.j.X, A.jc); + z = Object.create(this.Bd, { + Rha: { + value: z.Lq }, - ZRa: { - value: z.gs + YRa: { + value: z.ks } }); - this.fe = new w.Ec(f.ja.Ig); - this.qa = this.aj.GE(x, this.sd.o0a, z, { - Fs: function (A) { - return y.Dr.get(A); + this.de = new w.zc(f.ka.Gg); + this.qa = this.Zi.HE(x, this.Bd.m0a, z, { + Js: function (B) { + return y.Gr.get(B); } }); - this.Mz = new f.RD(this.Qc); - z = this.qa.aF(this.Mz); - x = this.qa.$E(); - this.qa.bsa(x, z); - this.qa.Vv({ - pr: function () { - return y.PN[f.ic.Za.Tb]; + this.Pz = new f.UD(this.Pc); + z = this.qa.dF(this.Pz); + x = this.qa.cF(); + this.qa.Ura(x, z); + this.qa.$v({ + qr: function () { + return y.QN[f.Qb.Ra.Ob]; } }, { - pr: function () { - return y.PN[f.ic.Za.Hb]; + qr: function () { + return y.QN[f.Qb.Ra.Bb]; } }); - this.uM = !1; + this.wM = !1; }; - c.prototype.Qga = function () { + c.prototype.Kga = function () { var x, y; x = this; - this.debug.assert(this.aj, "has access to streamingEngine"); - y = Object.create(this.sd, { - Fd: { - value: [].concat(ca(this.Fd)) + this.debug.assert(this.Zi, "has access to streamingEngine"); + y = Object.create(this.Bd, { + Ed: { + value: [].concat(ca(this.Ed)) }, - uT: { + sT: { value: function () { - return x.i3(); + return x.j3(); } } }); - this.kd = Object.create(new k.EventEmitter(), { - qc: { + this.md = Object.create(new k.EventEmitter(), { + vc: { get: function () { - x.debug.Sea(x.j.mediaTime.value, "has access to mediaTime.value"); + x.debug.Lea(x.j.mediaTime.value, "has access to mediaTime.value"); return f.S.rb(x.j.mediaTime.value); } }, @@ -128896,59 +128910,59 @@ a000.D9b = function () { return Math.max(x.j.playbackRate.value, .01); } }, - tT: { + rT: { value: function () { - x.debug.assert(x.j.Ib, "has access to mediaElement"); - return x.j.Ib; + x.debug.assert(x.j.Kb, "has access to mediaElement"); + return x.j.Kb; } } }); - this.Ha = this.aj.yLa(this.kd, y); + this.Ha = this.Zi.wLa(this.md, y); }; - c.prototype.i3 = function () { - this.Oi || (this.Oi = new f.platform.MediaSource(this.kd), this.Oi.Ub || (this.Oi.Ub = f.platform.MediaSource.Ub)); - return this.Oi; + c.prototype.j3 = function () { + this.Mi || (this.Mi = new f.platform.MediaSource(this.md), this.Mi.Wb || (this.Mi.Wb = f.platform.MediaSource.Wb)); + return this.Mi; }; Xa.Object.defineProperties(c.prototype, { - pH: { + xH: { configurable: !0, enumerable: !0, get: function () { - return void 0 !== this.rm; + return void 0 !== this.qm; } }, - Jb: { + Lb: { configurable: !0, enumerable: !0, get: function () { - this.debug.assert(this.aj, "has access to streamingEngine"); - return this.aj.Jb; + this.debug.assert(this.Zi, "has access to streamingEngine"); + return this.Zi.Lb; } } }); - b.Tua = c; - }, function (q, b, a) { + b.Qua = c; + }, function (r, b, a) { var c; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Uea = void 0; + b.Nea = void 0; c = a(17); - b.Uea = function (f) { + b.Nea = function (f) { var k, l, d, g; - k = f.Gj; + k = f.Fj; l = f.loadTime; - f = f.nRa; - d = c.xa(l) ? l : 0; + f = f.mRa; + d = c.ya(l) ? l : 0; g = k[f.target] || ({}); k[f.target] !== g && (k[f.target] = g); Object.entries(f.fields).forEach(function (h) { var m, n, - r, + q, p; m = aa(h); h = m.next().value; @@ -128962,11 +128976,11 @@ a000.D9b = function () { else if (void 0 !== m.value) { if ("array" === n) { n = g[h]; - r = m.adjust; + q = m.adjust; p = m.value; n || (n = g[h] = []); - r && 0 < r.length && r.forEach(function (u) { - p[u] -= d || 0; + q && 0 < q.length && q.forEach(function (t) { + p[t] -= d || 0; }); n.push(p); } else @@ -128976,22 +128990,22 @@ a000.D9b = function () { } }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.CT = void 0; + b.AT = void 0; c = a(53); f = a(21); - b.CT = function (k, l, d, g) { - return l.Ca[l.hg].xc === g ? (k = c.Hga(l, k, c.S.rb(d)), f.gb(k, "has valid start position relative to playgraph"), k) : { - va: l.hg, + b.AT = function (k, l, d, g) { + return l.wa[l.Oe].jc === g ? (k = c.Bga(l, k, c.S.rb(d)), f.gb(k, "has valid start position relative to playgraph"), k) : { + va: l.Oe, offset: c.S.hb }; }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -128999,72 +129013,72 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u, t, w, v, x, y, z) { - var B; - B = this; - this.SVb = n; - this.j = r; + function c(n, q, p, t, u, w, v, x, y, z) { + var A; + A = this; + this.UVb = n; + this.j = q; this.id = p; - this.height = u; - this.width = t; - this.wMb = w; - this.xMb = v; + this.height = t; + this.width = u; + this.zMb = w; + this.AMb = v; this.size = x; - this.Os = y; + this.Ts = y; this.urls = z; - this.type = f.Uh.rta; + this.type = f.Uh.mta; this.retry = !0; - this.state = g.Eo.YY; - this.Kh = {}; - this.I0 = {}; - this.fOb = function (A) { - if (A.X) + this.state = g.Fo.XY; + this.kh = {}; + this.K0 = {}; + this.kOb = function (B) { + if (B.W) try { - B.data = B.SVb.parse(A.content); - B.state = g.Eo.nD; - B.log.trace("TrickPlay parsed", { - Images: B.data.images.length - }, B.Kh); - B.j.fireEvent(h.W.bX); + A.data = A.UVb.parse(B.content); + A.state = g.Fo.pD; + A.log.trace("TrickPlay parsed", { + Images: A.data.images.length + }, A.kh); + A.j.fireEvent(h.Z.aX); } catch (C) { - B.state = g.Eo.MCa; - B.log.error("TrickPlay parse failed.", C); + A.state = g.Fo.KCa; + A.log.error("TrickPlay parse failed.", C); } - else (B.state = g.Eo.YY, B.log.error("TrickPlay download failed.", m.Lr(A), B.Kh)); + else (A.state = g.Fo.XY, A.log.error("TrickPlay download failed.", m.Or(B), A.kh)); }; - this.log = l.Ih(r, "TrickPlay"); + this.log = l.Ih(q, "TrickPlay"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.uHa = void 0; + b.qHa = void 0; f = a(81); k = a(13); l = a(7); - d = a(71); - g = a(484); + d = a(72); + g = a(488); h = a(18); m = a(3); - c.prototype.Gzb = function (n) { - if (this.data && (this.Os && (n += this.Os), n = Math.floor(n / this.data.header.d5a), 0 <= n && n < this.data.images.length)) + c.prototype.Kzb = function (n) { + if (this.data && (this.Ts && (n += this.Ts), n = Math.floor(n / this.data.header.f5a), 0 <= n && n < this.data.images.length)) return { image: this.data.images[n], - time: n * this.data.header.d5a, + time: n * this.data.header.f5a, height: this.height, width: this.width, - pixelAspectHeight: this.wMb, - pixelAspectWidth: this.xMb + pixelAspectHeight: this.zMb, + pixelAspectWidth: this.AMb }; }; - c.prototype.p3 = function () { + c.prototype.q3 = function () { switch (this.state) { - case g.Eo.nD: + case g.Fo.pD: return "downloaded"; - case g.Eo.LOADING: + case g.Fo.LOADING: return "loading"; - case g.Eo.iP: + case g.Fo.jP: return "downloadfailed"; - case g.Eo.MCa: + case g.Fo.KCa: return "parsefailed"; default: return "notstarted"; @@ -129072,109 +129086,109 @@ a000.D9b = function () { }; c.prototype.download = function () { var n; - n = this.SBb(); - n ? (this.state = g.Eo.LOADING, this.vub(n)) : this.retry = !1; + n = this.UBb(); + n ? (this.state = g.Fo.LOADING, this.zub(n)) : this.retry = !1; }; c.prototype.getState = function () { return this.state; }; - c.prototype.SBb = function () { + c.prototype.UBb = function () { var n, - r, + q, p; n = this; - r = Object.keys(this.urls).find(function (u) { - return (n.I0[n.urls[u]] || 0) <= k.config.OVb; + q = Object.keys(this.urls).find(function (t) { + return (n.K0[n.urls[t]] || 0) <= k.config.QVb; }); - if (r) { - p = this.urls[r]; - (p in this.I0) ? this.I0[p]++ : this.I0[p] = 1; + if (q) { + p = this.urls[q]; + (p in this.K0) ? this.K0[p]++ : this.K0[p] = 1; return { url: p, - e1: r + g1: q }; } }; - c.prototype.vub = function (n) { - this.log.trace("Downloading", n.url, this.Kh); + c.prototype.zub = function (n) { + this.log.trace("Downloading", n.url, this.kh); n = { - responseType: d.RT, - Pc: this.wja(n.e1), + responseType: d.OT, + pc: this.pja(n.g1), url: n.url, track: this }; - this.j.P3.download(n, this.fOb); + this.j.Q3.download(n, this.kOb); }; - c.prototype.wja = function (n) { - return this.j.Uk.find(function (r) { - return r && r.id === n; + c.prototype.pja = function (n) { + return this.j.Uk.find(function (q) { + return q && q.id === n; }); }; - b.uHa = c; - }, function (q, b, a) { + b.qHa = c; + }, function (r, b, a) { var f; function c(k, l, d, g) { - this.Fha = k; + this.zha = k; this.debug = l; - this.Pa = d; + this.La = d; this.j = g; this.l6 = []; this.C5 = {}; - this.Hha = {}; - this.Nia = !1; - this.H4a = 1; - this.qva = 7.8125; + this.Bha = {}; + this.Gia = !1; + this.J4a = 1; + this.nva = 7.8125; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.pxa = void 0; - f = a(5); + b.mxa = void 0; + f = a(4); a(18); a(17); - a(71); + a(72); c.prototype.register = function (k, l) { this.debug.assert(!(0 <= this.l6.indexOf(k)), "panel already registered"); this.C5[k] = l; this.l6.push(k); }; - c.prototype.KZa = function (k) { + c.prototype.IZa = function (k) { var l; l = this; - this.Hha[k] = !0; - this.Nia || (this.Nia = !0, setTimeout(function () { - return l.exb(); + this.Bha[k] = !0; + this.Gia || (this.Gia = !0, setTimeout(function () { + return l.kxb(); }, 0)); }; - c.prototype.qAb = function (k) { + c.prototype.tAb = function (k) { return (k = this.C5[k]) ? k() : void 0; }; - c.prototype.a3 = function () { + c.prototype.c3 = function () { var k; - k = this.j.t6; - return k ? k.a3() : []; + k = this.j.s6; + return k ? k.c3() : []; }; c.prototype.addEventListener = function (k, l) { - this.Fha.addListener(k, l); - this.C5[k] && this.KZa(k); + this.zha.addListener(k, l); + this.C5[k] && this.IZa(k); }; c.prototype.removeEventListener = function (k, l) { - this.Fha.removeListener(k, l); + this.zha.removeListener(k, l); }; c.prototype.getTime = function () { - return this.Pa.Zb().ea(f.ma); + return this.La.Xb().ea(f.ma); }; - c.prototype.exb = function () { - this.Nia = !1; + c.prototype.kxb = function () { + this.Gia = !1; for (var k = this.l6.length, l; k--; ) { l = this.l6[k]; - this.Hha[l] && (this.Hha[l] = !1, this.Fha.tc(l + "changed", { + this.Bha[l] && (this.Bha[l] = !1, this.zha.qc(l + "changed", { getModel: this.C5[l] })); } }; - b.pxa = c; - }, function (q, b, a) { + b.mxa = c; + }, function (r, b, a) { var f, k, l, @@ -129182,323 +129196,323 @@ a000.D9b = function () { g, h, m; - function c(n, r) { + function c(n, q) { var p; p = this; - this.Vl = n; - this.Oq = r; - this.n5a = function (u) { - var t, + this.Ul = n; + this.Pq = q; + this.p5a = function (t) { + var u, w, v, x, y, z, - B; - t = p.H4a++; - w = u.request.hF || "dl"; - v = p.EUa(w, "start"); + A; + u = p.J4a++; + w = t.request.kF || "dl"; + v = p.DUa(w, "start"); if (v) { - x = u.request.Sy; - y = x.stream.N.bo; - x = aa(x.stream.N.Ah).next().value; + x = t.request.Vy; + y = x.stream.N.co; + x = aa(x.stream.N.yh).next().value; if (y || x) - if ((y = null !== y && void 0 !== y ? y : x.P.id, !p.c4a.has(y))) { - z = p.XTa(y); - B = u.fr; - p.Vl.mark(v, z, B ? w + "-" + B + "-" + t : w); - u.lea(function () { - var A, + if ((y = null !== y && void 0 !== y ? y : x.P.id, !p.d4a.has(y))) { + z = p.YTa(y); + A = t.gr; + p.Ul.mark(v, z, A ? w + "-" + A + "-" + u : w); + t.fea(function () { + var B, C; - A = p.EUa(w, "end"); - C = B ? w + "-" + B + "-" + t : w; - A && p.Vl.mark(A, z, C); + B = p.DUa(w, "end"); + C = A ? w + "-" + A + "-" + u : w; + B && p.Ul.mark(B, z, C); }); } } }; - this.H4a = 0; - this.c4a = new Set(); - this.Era = new Map(); - r.IS && this.mYb(); + this.J4a = 0; + this.d4a = new Set(); + this.xra = new Map(); + q.HS && this.oYb(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.iCa = void 0; - q = a(1); + b.gCa = void 0; + r = a(1); f = a(0); - k = a(65); - l = a(69); - d = a(5); - g = a(71); + k = a(66); + l = a(70); + d = a(4); + g = a(72); a = a(38); h = { start: { - video: k.Da.sO, - audio: k.Da.oO + video: k.Ea.sO, + audio: k.Ea.oO }, end: { - video: k.Da.rO, - audio: k.Da.nO + video: k.Ea.rO, + audio: k.Ea.nO } }; - c.prototype.YTa = function (n) { + c.prototype.ZTa = function (n) { var p, - u, t, + u, w, v, x, y, z; - function r(B) { - return d.timestamp(p.JLa(d.timestamp(B), n, !0)); + function q(A) { + return d.timestamp(p.ILa(d.timestamp(A), n, !0)); } p = this; - u = new Set(); - t = n.bd; - w = n.ba; - v = void 0 === n.V3a ? null : n.V3a; + t = new Set(); + u = n.bd; + w = n.ca; + v = void 0 === n.W3a ? null : n.W3a; x = n.va; - y = this.Vl.DTa(w); - z = x && this.XTa(x); - z && y.push.apply(y, ca(this.Vl.DTa(z))); - this.Vl.B1a(n.ba); - z && this.Vl.B1a(z); - x && this.c4a.add(x); + y = this.Ul.ETa(w); + z = x && this.YTa(x); + z && y.push.apply(y, ca(this.Ul.ETa(z))); + this.Ul.B1a(n.ca); + z && this.Ul.B1a(z); + x && this.d4a.add(x); x = []; - ("pr_ats" in t) && x.push({ - name: k.Da.rZ, - wr: r(t.pr_ats), - ba: w, - Bj: "request-pre-manifest" - }); - ("ats" in t) && x.push({ - name: k.Da.pZ, - wr: r(t.ats), - ba: w, - Bj: "request-manifest" - }); - ("pr_at" in t) && x.push({ - name: k.Da.qZ, - wr: r(t.pr_at), - ba: w, - Bj: "request-pre-manifest" - }); - ("at" in t) && x.push({ - name: k.Da.oZ, - wr: r(t.at), - ba: w, - Bj: "request-manifest" - }); - ("lg" in t) && x.push({ - name: k.Da.nZ, - wr: r(t.lg), - ba: w, - Bj: "request-license" - }); - ("lr" in t) && (x.push({ - name: k.Da.mZ, - wr: r(t.lr), - ba: w, - Bj: "request-license" + ("pr_ats" in u) && x.push({ + name: k.Ea.rZ, + zr: q(u.pr_ats), + ca: w, + zj: "request-pre-manifest" + }); + ("ats" in u) && x.push({ + name: k.Ea.pZ, + zr: q(u.ats), + ca: w, + zj: "request-manifest" + }); + ("pr_at" in u) && x.push({ + name: k.Ea.qZ, + zr: q(u.pr_at), + ca: w, + zj: "request-pre-manifest" + }); + ("at" in u) && x.push({ + name: k.Ea.oZ, + zr: q(u.at), + ca: w, + zj: "request-manifest" + }); + ("lg" in u) && x.push({ + name: k.Ea.nZ, + zr: q(u.lg), + ca: w, + zj: "request-license" + }); + ("lr" in u) && (x.push({ + name: k.Ea.mZ, + zr: q(u.lr), + ca: w, + zj: "request-license" }), x.push({ - name: k.Da.IX, - wr: r(t.lr), - ba: w, - Bj: "apply-license" + name: k.Ea.HX, + zr: q(u.lr), + ca: w, + zj: "apply-license" })); - ("ld" in t) && x.push({ - name: k.Da.HX, - wr: r(t.ld), - ba: w, - Bj: "apply-license" - }); - ("tt_start" in t) && x.push({ - name: k.Da.qO, - wr: r(t.tt_start), - ba: w, - Bj: "request-timed-text" - }); - ("tt_comp" in t) && x.push({ - name: k.Da.pO, - wr: r(t.tt_comp), - ba: w, - Bj: "request-timed-text" - }); - return x.concat(y).map(function (B) { - return p.lVb(B, n); - }).filter(function (B) { - return B.ts <= (null !== v && void 0 !== v ? v : B.ts) ? ("end" === B.step && u.add(B.eventId), !0) : !1; - }).filter(function (B) { - return "start" !== B.step || u.has(B.eventId) ? !0 : !1; - }).sort(function (B, A) { - return B.ts - A.ts; - }).reduce(function (B, A) { + ("ld" in u) && x.push({ + name: k.Ea.GX, + zr: q(u.ld), + ca: w, + zj: "apply-license" + }); + ("tt_start" in u) && x.push({ + name: k.Ea.qO, + zr: q(u.tt_start), + ca: w, + zj: "request-timed-text" + }); + ("tt_comp" in u) && x.push({ + name: k.Ea.pO, + zr: q(u.tt_comp), + ca: w, + zj: "request-timed-text" + }); + return x.concat(y).map(function (A) { + return p.nVb(A, n); + }).filter(function (A) { + return A.ts <= (null !== v && void 0 !== v ? v : A.ts) ? ("end" === A.step && t.add(A.eventId), !0) : !1; + }).filter(function (A) { + return "start" !== A.step || t.has(A.eventId) ? !0 : !1; + }).sort(function (A, B) { + return A.ts - B.ts; + }).reduce(function (A, B) { var C; - C = A.eventName; - delete A.eventName; - C && (B[C] = A); - return B; + C = B.eventName; + delete B.eventName; + C && (A[C] = B); + return A; }, {}); }; - c.prototype.Pkb = function (n, r, p) { - return (void 0 === p ? 0 : p) ? n.ea(d.ma) + r.Wl.ea(d.ma) : n.ea(d.ma) - r.Wl.ea(d.ma); + c.prototype.Qkb = function (n, q, p) { + return (void 0 === p ? 0 : p) ? n.ea(d.ma) + q.Vl.ea(d.ma) : n.ea(d.ma) - q.Vl.ea(d.ma); }; - c.prototype.JLa = function (n, r, p) { + c.prototype.ILa = function (n, q, p) { p = void 0 === p ? !1 : p; - if (r.dm) + if (q.bm) if (p) - n.ea(d.ma) + r.dm; + n.ea(d.ma) + q.bm; else - return n.ea(d.ma) - r.dm; - return this.Pkb(n, r, p); + return n.ea(d.ma) - q.bm; + return this.Qkb(n, q, p); }; - c.prototype.lVb = function (n, r) { + c.prototype.nVb = function (n, q) { var p, - u; - p = n.Bj; - u = n.name; + t; + p = n.zj; + t = n.name; return { - eventName: this.LJb(u, p), - eventId: p || u, - ts: this.JLa(n.wr, r), - comp: this.kT(u), - cat: this.Kyb(u), - step: this.ABb(u) + eventName: this.NJb(t, p), + eventId: p || t, + ts: this.ILa(n.zr, q), + comp: this.iT(t), + cat: this.Oyb(t), + step: this.CBb(t) }; }; - c.prototype.LJb = function (n, r) { + c.prototype.NJb = function (n, q) { switch (n) { - case k.Da.qO: - case k.Da.pO: - case k.Da.oO: - case k.Da.nO: - case k.Da.sO: - case k.Da.rO: - return n + "-" + r; + case k.Ea.qO: + case k.Ea.pO: + case k.Ea.oO: + case k.Ea.nO: + case k.Ea.sO: + case k.Ea.rO: + return n + "-" + q; default: return n; } }; - c.prototype.kT = function (n) { + c.prototype.iT = function (n) { switch (n) { - case k.Da.rZ: - case k.Da.qZ: - case k.Da.pZ: - case k.Da.oZ: + case k.Ea.rZ: + case k.Ea.qZ: + case k.Ea.pZ: + case k.Ea.oZ: return "manifest"; - case k.Da.nZ: - case k.Da.mZ: - case k.Da.jba: - case k.Da.iba: - case k.Da.wY: - case k.Da.vY: - case k.Da.IX: - case k.Da.HX: + case k.Ea.nZ: + case k.Ea.mZ: + case k.Ea.dba: + case k.Ea.cba: + case k.Ea.wY: + case k.Ea.vY: + case k.Ea.HX: + case k.Ea.GX: return "license"; - case k.Da.qO: - case k.Da.pO: - case k.Da.oO: - case k.Da.nO: - case k.Da.sO: - case k.Da.rO: - case k.Da.a9: - case k.Da.Z8: + case k.Ea.qO: + case k.Ea.pO: + case k.Ea.oO: + case k.Ea.nO: + case k.Ea.sO: + case k.Ea.rO: + case k.Ea.V8: + case k.Ea.U8: return "buffering"; - case k.Da.uaa: - case k.Da.taa: + case k.Ea.maa: + case k.Ea.laa: return "playback"; default: return null; } }; - c.prototype.Kyb = function (n) { + c.prototype.Oyb = function (n) { switch (n) { - case k.Da.rZ: - case k.Da.qZ: - case k.Da.pZ: - case k.Da.oZ: + case k.Ea.rZ: + case k.Ea.qZ: + case k.Ea.pZ: + case k.Ea.oZ: return "aws"; - case k.Da.nZ: - case k.Da.mZ: + case k.Ea.nZ: + case k.Ea.mZ: return "mixed"; - case k.Da.uaa: - case k.Da.taa: - case k.Da.jba: - case k.Da.iba: - case k.Da.wY: - case k.Da.vY: - case k.Da.IX: - case k.Da.HX: - case k.Da.a9: - case k.Da.Z8: + case k.Ea.maa: + case k.Ea.laa: + case k.Ea.dba: + case k.Ea.cba: + case k.Ea.wY: + case k.Ea.vY: + case k.Ea.HX: + case k.Ea.GX: + case k.Ea.V8: + case k.Ea.U8: return "device"; - case k.Da.qO: - case k.Da.pO: - case k.Da.oO: - case k.Da.nO: - case k.Da.sO: - case k.Da.rO: + case k.Ea.qO: + case k.Ea.pO: + case k.Ea.oO: + case k.Ea.nO: + case k.Ea.sO: + case k.Ea.rO: return "cdn"; default: return null; } }; - c.prototype.ABb = function (n) { + c.prototype.CBb = function (n) { switch (n) { - case k.Da.rZ: - case k.Da.uaa: - case k.Da.pZ: - case k.Da.nZ: - case k.Da.a9: - case k.Da.qO: - case k.Da.oO: - case k.Da.sO: - case k.Da.jba: - case k.Da.wY: - case k.Da.IX: + case k.Ea.rZ: + case k.Ea.maa: + case k.Ea.pZ: + case k.Ea.nZ: + case k.Ea.V8: + case k.Ea.qO: + case k.Ea.oO: + case k.Ea.sO: + case k.Ea.dba: + case k.Ea.wY: + case k.Ea.HX: return "start"; - case k.Da.qZ: - case k.Da.taa: - case k.Da.oZ: - case k.Da.mZ: - case k.Da.iba: - case k.Da.vY: - case k.Da.HX: - case k.Da.Z8: - case k.Da.pO: - case k.Da.nO: - case k.Da.rO: + case k.Ea.qZ: + case k.Ea.laa: + case k.Ea.oZ: + case k.Ea.mZ: + case k.Ea.cba: + case k.Ea.vY: + case k.Ea.GX: + case k.Ea.U8: + case k.Ea.pO: + case k.Ea.nO: + case k.Ea.rO: return "end"; default: return null; } }; - c.prototype.EUa = function (n, r) { - if ((n in h[r])) - return h[r][n]; + c.prototype.DUa = function (n, q) { + if ((n in h[q])) + return h[q][n]; }; - c.prototype.pWb = function () { - g.Bf.removeEventListener(g.M3, this.n5a); + c.prototype.rWb = function () { + g.Df.removeEventListener(g.N3, this.p5a); }; - c.prototype.mYb = function () { - this.pWb(); - g.Bf.addEventListener(g.M3, this.n5a); + c.prototype.oYb = function () { + this.rWb(); + g.Df.addEventListener(g.N3, this.p5a); }; - c.prototype.XTa = function (n) { - var r; - if (this.Era.has(n)) - return this.Era.get(n); - r = Date.now(); - this.Era.set(n, r); - return r; + c.prototype.YTa = function (n) { + var q; + if (this.xra.has(n)) + return this.xra.get(n); + q = Date.now(); + this.xra.set(n, q); + return q; }; m = c; - m = q.__decorate([f.R(), q.__param(0, f.l(l.oP)), q.__param(1, f.l(a.gm))], m); - b.iCa = m; - }, function (q, b, a) { + m = r.__decorate([f.R(), r.__param(0, f.l(l.pP)), r.__param(1, f.l(a.fm))], m); + b.gCa = m; + }, function (r, b, a) { var c, f, k, @@ -129508,153 +129522,153 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, - N; + I, + O, + N, + M, + P, + R; Object.defineProperty(b, "__esModule", { value: !0 }); - b.sOa = void 0; - q = a(0); - c = a(449); - f = a(1144); - k = a(119); - l = a(1145); - d = a(460); - g = a(1146); - h = a(462); - m = a(1147); - n = a(463); - r = a(1148); - p = a(263); - u = a(1149); - t = a(80); - w = a(1150); - v = a(1151); + b.qOa = void 0; + r = a(0); + c = a(453); + f = a(1148); + k = a(118); + l = a(1149); + d = a(464); + g = a(1150); + h = a(466); + m = a(1151); + n = a(467); + q = a(1152); + p = a(264); + t = a(1153); + u = a(80); + w = a(1154); + v = a(1155); x = a(42); y = a(3); - z = a(1152); - B = a(1153); - A = a(1154); + z = a(1156); + A = a(1157); + B = a(1158); C = a(52); - E = a(1155); - F = a(277); - D = a(1156); - G = a(1157); - I = a(1158); - J = a(445); - H = a(1159); - M = a(1160); - O = a(1161); - L = a(334); - P = a(1162); - R = a(70); - K = a(517); - Q = a(1163); - N = a(1164); - b.sOa = new q.ad(function (da) { - da(C.im).to(E.nDa); - da(c.CDa).to(f.BDa); - da(F.Aaa).to(D.iDa); - da(J.kDa).to(H.jDa); - da(G.hdb).to(I.GDa); - da(k.Eaa).to(l.DDa); - da(K.EDa).sf(function (na) { + E = a(1159); + G = a(278); + D = a(1160); + F = a(1161); + J = a(1162); + K = a(449); + H = a(1163); + L = a(1164); + Q = a(1165); + I = a(336); + O = a(1166); + N = a(71); + M = a(521); + P = a(1167); + R = a(1168); + b.qOa = new r.$c(function (ea) { + ea(C.hm).to(E.jDa); + ea(c.yDa).to(f.xDa); + ea(G.uaa).to(D.eDa); + ea(K.gDa).to(H.fDa); + ea(F.ldb).to(J.CDa); + ea(k.xaa).to(l.zDa); + ea(M.ADa).sf(function (pa) { return function () { var va; - va = na.$a.get(R.ku); - return va && va.u6a ? na.$a.resolve(N.WDa) : na.$a.resolve(Q.FDa); + va = pa.$a.get(N.ru); + return va && va.x6a ? pa.$a.resolve(R.UDa) : pa.$a.resolve(P.BDa); }; }); - da(d.hDa).to(g.gDa); - da(h.TDa).to(m.SDa); - da(n.wDa).to(r.vDa); - da(p.Daa).to(u.xDa); - da(t.zGa).to(w.yGa); - da(t.DGa).to(v.CGa); - da(t.jAa).to(z.iAa); - da(t.uGa).to(B.tGa); - da(t.hya).to(A.gya); - da(O.jdb).to(M.HDa); - da(L.uDa).to(P.tDa); - da(t.h$).sf(function (na) { + ea(d.dDa).to(g.cDa); + ea(h.RDa).to(m.QDa); + ea(n.sDa).to(q.rDa); + ea(p.waa).to(t.tDa); + ea(u.vGa).to(w.uGa); + ea(u.zGa).to(v.yGa); + ea(u.hAa).to(z.gAa); + ea(u.qGa).to(A.pGa); + ea(u.eya).to(B.dya); + ea(Q.mdb).to(L.DDa); + ea(I.qDa).to(O.pDa); + ea(u.a$).sf(function (pa) { return function (va) { switch (va) { - case t.wo.start: - return na.$a.get(t.zGa); - case t.wo.stop: - return na.$a.get(t.DGa); - case t.wo.eU: - return na.$a.get(t.jAa); - case t.wo.splice: - return na.$a.get(t.uGa); - case t.wo.MS: - return na.$a.get(t.hya); - } - throw new x.$c(y.L.vcb, void 0, void 0, void 0, void 0, "The event key was invalid - " + va); + case u.xo.start: + return pa.$a.get(u.vGa); + case u.xo.stop: + return pa.$a.get(u.zGa); + case u.xo.dU: + return pa.$a.get(u.hAa); + case u.xo.splice: + return pa.$a.get(u.qGa); + case u.xo.LS: + return pa.$a.get(u.eya); + } + throw new x.dd(y.M.zcb, void 0, void 0, void 0, void 0, "The event key was invalid - " + va); }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.hbb, 1, l.Ai.BXa, l.ah.fI, l.Ai.BXa) || this; + return d.Sh.call(this, h, k.M.kbb, 1, l.Ai.zXa, l.Zg.nI, l.Ai.zXa) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.BDa = void 0; - q = a(1); + b.xDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m) { + ja(c, d.Sh); + c.prototype.Pf = function (h, m) { var n; n = this; - return this.send(h, "/" + this.name, m).then(function (r) { - return r.result; - }).catch(function (r) { - throw n.Im(r); + return this.send(h, "/" + this.name, m).then(function (q) { + return q.result; + }).catch(function (q) { + throw n.Gm(q); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with logblobs")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.BDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.xDa = g; + }, function (r, b, a) { var f, k, l, @@ -129663,23 +129677,23 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x, y) { - t = d.Sh.call(this, t, k.L.V$, 3, l.Ai.sa, l.ah.cu, l.Ai.sa) || this; - t.platform = w; - t.rna = v; - t.lGb = x; - t.zHb = y; - return t; + t; + function c(u, w, v, x, y) { + u = d.Sh.call(this, u, k.M.N$, 3, l.Ai.sa, l.Zg.hu, l.Ai.sa) || this; + u.platform = w; + u.lna = v; + u.nGb = x; + u.CHb = y; + return u; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.DDa = void 0; - q = a(1); - f = a(119); + b.zDa = void 0; + r = a(1); + f = a(118); k = a(3); l = a(48); a(180); @@ -129688,242 +129702,239 @@ a000.D9b = function () { h = a(34); m = a(38); n = a(143); - r = a(263); + q = a(264); p = a(0); - a = a(517); - ka(c, d.Sh); - c.prototype.Of = function (t, w) { + a = a(521); + ja(c, d.Sh); + c.prototype.Pf = function (u, w) { var v, x; v = this; - this.U_ = w.fv === f.Xj.GD ? "prefetch/manifest" : l.Ai.sa; - x = w.fv === f.Xj.xZ ? m.hu.ZEa : m.hu.EP; - return this.zHb().transform(w, x).then(function (y) { + this.W_ = w.mv === f.Xj.JD ? "prefetch/manifest" : l.Ai.sa; + x = w.mv === f.Xj.xZ ? m.ou.WEa : m.ou.EP; + return this.CHb().transform(w, x).then(function (y) { var z, - B; + A; y = aa(y); z = y.next().value; - B = y.next().value; + A = y.next().value; !1; - B.Xu && (v.U_ = "licensedManifest"); - return v.send(t, B.Vk, z, void 0, v.gBb(w.fv), void 0, x).then(function (A) { + A.bv && (v.W_ = "licensedManifest"); + return v.send(u, A.Vk, z, void 0, v.iBb(w.mv), void 0, x).then(function (B) { var C; - A = v.rna.create(A.result); - C = A.Wc.Nz.map(function (E) { - return E.ig; + B = v.lna.create(B.result); + C = B.Xc.WC.map(function (E) { + return E.hg; }).filter(Boolean); - B.Xu && (0 < C.length ? (C = v.lGb.s5a(C), B.Xu.sLa(C), A.Xu = B.Xu, A.oWa = w.fv === f.Xj.GD, A.nWa = !0) : B.Xu.close()); + A.bv && (0 < C.length ? (C = v.nGb.u5a(C), A.bv.qLa(C), B.bv = A.bv, B.mWa = w.mv === f.Xj.JD, B.lWa = !0) : A.bv.close()); !1; - return A; + return B; }); }).catch(function (y) { !1; - throw v.Im(y); + throw v.Gm(y); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are not supported with manifest command")); }; - c.prototype.gBb = function (t) { - switch (t) { - case f.Xj.Co: - case f.Xj.Y9a: - return l.ah.cu; - case f.Xj.nFa: + c.prototype.iBb = function (u) { + switch (u) { + case f.Xj.Do: + case f.Xj.$9a: + return l.Zg.hu; + case f.Xj.kFa: case f.Xj.xZ: - return l.ah.daa; - case f.Xj.GD: - return l.ah.fI; + return l.Zg.W$; + case f.Xj.JD: + return l.Zg.nI; } }; - u = c; - u = q.__decorate([p.R(), q.__param(0, p.l(g.im)), q.__param(1, p.l(h.Kk)), q.__param(2, p.l(n.kP)), q.__param(3, p.l(r.Daa)), q.__param(4, p.l(a.EDa))], u); - b.DDa = u; - }, function (q, b, a) { + t = c; + t = r.__decorate([p.R(), r.__param(0, p.l(g.hm)), r.__param(1, p.l(h.Kk)), r.__param(2, p.l(n.lP)), r.__param(3, p.l(q.waa)), r.__param(4, p.l(a.ADa))], t); + b.zDa = t; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.cI, 3, l.Ai.ig, l.ah.cu, l.Ai.ig) || this; + return d.Sh.call(this, h, k.M.kI, 3, l.Ai.hg, l.Zg.hu, l.Ai.hg) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gDa = void 0; - q = a(1); + b.cDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function () { + ja(c, d.Sh); + c.prototype.Pf = function () { return Promise.reject(Error("Links are required with acquire command")); }; - c.prototype.np = function (h, m, n) { - var r, + c.prototype.op = function (h, m, n) { + var q, p; - r = this; - m = m.rT(n.Pma).href; - p = "license" === n.Pma ? l.ah.cu : l.ah.fI; - this.U_ = "ldl" === n.Pma ? "prefetch/license" : l.Ai.ig; - return this.send(h, m, n.inputs, "drmSessionId", p).then(function (u) { - u = u.result; - r.RNa(u); - r.kob(u); - return u; - }).catch(function (u) { - throw r.Im(u); + q = this; + m = m.pT(n.Jma).href; + p = "license" === n.Jma ? l.Zg.hu : l.Zg.nI; + this.W_ = "ldl" === n.Jma ? "prefetch/license" : l.Ai.hg; + return this.send(h, m, n.inputs, "drmSessionId", p).then(function (t) { + t = t.result; + q.lob(t); + return t; + }).catch(function (t) { + throw q.Gm(t); }); }; - c.prototype.kob = function (h) { + c.prototype.lob = function (h) { h.forEach(function (m) { if (!m.licenseResponseBase64) throw Error("Received empty licenseResponseBase64"); }); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.gDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.cDa = g; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.eba, 3, l.Ai.ig, l.ah.daa, "release/license") || this; + return d.Sh.call(this, h, k.M.Zaa, 3, l.Ai.hg, l.Zg.W$, "release/license") || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.SDa = void 0; - q = a(1); + b.QDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m) { + ja(c, d.Sh); + c.prototype.Pf = function (h, m) { var n; n = this; - return this.send(h, "/bundle", m).then(function (r) { - r = r.result; - n.RNa(r); - return r; - }).catch(function (r) { - throw n.Im(r); + return this.send(h, "/bundle", m).then(function (q) { + return q.result; + }).catch(function (q) { + throw n.Gm(q); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with release")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.SDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.QDa = g; + }, function (r, b, a) { var f, k, l; function c(d) { - this.wa = d; + this.xa = d; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vDa = void 0; - q = a(1); + b.rDa = void 0; + r = a(1); f = a(0); k = a(40); - l = a(5); - c.prototype.HVb = function (d) { + l = a(4); + c.prototype.JVb = function (d) { var g; - g = this.wa.Ue.ea(l.nn); + g = this.xa.We.ea(l.ln); return { - inputs: d.zj.map(function (h) { + inputs: d.xj.map(function (h) { return { drmSessionId: h.sessionId, clientTime: g, challengeBase64: h.dataBase64, - xid: d.ba.toString(), - mdxControllerEsn: d.BU + xid: d.ca.toString(), + mdxControllerEsn: d.AU }; }), - Pma: "standard" === d.Qf.toLowerCase() ? "license" : "ldl" + Jma: "standard" === d.Rf.toLowerCase() ? "license" : "ldl" }; }; - c.prototype.KVb = function (d) { + c.prototype.MVb = function (d) { var g, h; g = this; h = []; - return d.ee.map(function (m) { + return d.ce.map(function (m) { h.push(m.id); return { - url: g.enb(m.UF, m.oU), + url: g.fnb(m.$F, m.nU), echo: "drmSessionId", params: { drmSessionId: m.id, - xid: d.ba.toString() + xid: d.ca.toString() } }; }); }; - c.prototype.enb = function (d, g) { + c.prototype.fnb = function (d, g) { return "/releaseLicense?drmLicenseContextId=" + d + (g ? "&licenseId=" + g : ""); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(k.wi))], a); - b.vDa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(k.wi))], a); + b.rDa = a; + }, function (r, b, a) { var f, k, l; function c(d, g) { - this.Rd = d; - this.xx = g; + this.Pd = d; + this.Cx = g; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.xDa = void 0; - q = a(1); + b.tDa = void 0; + r = a(1); f = a(0); k = a(28); a = a(35); - c.prototype.s5a = function (d) { + c.prototype.u5a = function (d) { var g, h; g = this; h = d.map(function (m) { return m.links.releaseLicense.href; }).map(function (m) { - return g.Rd.oV(m.substring(m.indexOf("?") + 1)); + return g.Pd.nV(m.substring(m.indexOf("?") + 1)); }); return { - X: !0, - ee: d.map(function (m, n) { + W: !0, + ce: d.map(function (m, n) { return { id: m.drmSessionId, - UF: h[n].drmlicensecontextid, - oU: h[n].licenseid + $F: h[n].drmlicensecontextid, + nU: h[n].licenseid }; }), - Ni: d.map(function (m) { + Ki: d.map(function (m) { return { - data: g.xx.decode(m.licenseResponseBase64), + data: g.Cx.decode(m.licenseResponseBase64), sessionId: m.drmSessionId }; }) }; }; l = c; - l = q.__decorate([f.R(), q.__param(0, f.l(k.Hf)), q.__param(1, f.l(a.Rh))], l); - b.xDa = l; - }, function (q, b, a) { + l = r.__decorate([f.R(), r.__param(0, f.l(k.If)), r.__param(1, f.l(a.Rh))], l); + b.tDa = l; + }, function (r, b, a) { var f, k, l, @@ -129931,24 +129942,24 @@ a000.D9b = function () { g, h; function c(m) { - return l.aq.call(this, m, k.L.Qdb, d.wo.start, 3, h.ah.cu) || this; + return l.cq.call(this, m, k.M.Tdb, d.xo.start, 3, h.Zg.hu) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.yGa = void 0; - q = a(1); + b.uGa = void 0; + r = a(1); f = a(0); k = a(3); l = a(159); d = a(80); g = a(52); h = a(48); - ka(c, l.aq); + ja(c, l.cq); a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.im))], a); - b.yGa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.hm))], a); + b.uGa = a; + }, function (r, b, a) { var f, k, l, @@ -129956,24 +129967,24 @@ a000.D9b = function () { g, h; function c(m) { - return l.aq.call(this, m, k.L.RFa, d.wo.stop, 3, h.ah.daa) || this; + return l.cq.call(this, m, k.M.OFa, d.xo.stop, 3, h.Zg.W$) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.CGa = void 0; - q = a(1); + b.yGa = void 0; + r = a(1); f = a(0); k = a(3); l = a(159); d = a(80); g = a(52); h = a(48); - ka(c, l.aq); + ja(c, l.cq); a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.im))], a); - b.CGa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.hm))], a); + b.yGa = a; + }, function (r, b, a) { var f, k, l, @@ -129981,24 +129992,24 @@ a000.D9b = function () { g, h; function c(m) { - return l.aq.call(this, m, k.L.J$, d.wo.eU, 1, h.ah.fI) || this; + return l.cq.call(this, m, k.M.B$, d.xo.dU, 1, h.Zg.nI) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.iAa = void 0; - q = a(1); + b.gAa = void 0; + r = a(1); f = a(0); k = a(3); l = a(159); d = a(80); g = a(52); h = a(48); - ka(c, l.aq); + ja(c, l.cq); a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.im))], a); - b.iAa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.hm))], a); + b.gAa = a; + }, function (r, b, a) { var f, k, l, @@ -130006,24 +130017,24 @@ a000.D9b = function () { g, h; function c(m) { - return l.aq.call(this, m, k.L.PFa, d.wo.splice, 1, h.ah.fI) || this; + return l.cq.call(this, m, k.M.MFa, d.xo.splice, 1, h.Zg.nI) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.tGa = void 0; - q = a(1); + b.pGa = void 0; + r = a(1); f = a(0); k = a(3); l = a(159); d = a(80); g = a(52); h = a(48); - ka(c, l.aq); + ja(c, l.cq); a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.im))], a); - b.tGa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.hm))], a); + b.pGa = a; + }, function (r, b, a) { var f, k, l, @@ -130031,29 +130042,29 @@ a000.D9b = function () { g, h; function c(m) { - return l.aq.call(this, m, k.L.v$a, d.wo.MS, 3, h.ah.fI) || this; + return l.cq.call(this, m, k.M.y$a, d.xo.LS, 3, h.Zg.nI) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.gya = void 0; - q = a(1); + b.dya = void 0; + r = a(1); f = a(0); k = a(3); l = a(159); d = a(80); g = a(52); h = a(48); - ka(c, l.aq); - c.prototype.U0 = function (m) { - return Object.assign(Object.assign({}, l.aq.prototype.U0.call(this, m)), { + ja(c, l.cq); + c.prototype.W0 = function (m) { + return Object.assign(Object.assign({}, l.cq.prototype.W0.call(this, m)), { action: m.action }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(g.im))], a); - b.gya = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(g.hm))], a); + b.dya = a; + }, function (r, b, a) { var f, k, l, @@ -130062,227 +130073,227 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v, x, y, z, B) { - this.hh = p; - this.Bf = u; - this.ki = t; - this.hub = w; - this.HF = v; - this.aXb = x; - this.gha = y; - this.cQb = z; - this.qB = B; + q; + function c(p, t, u, w, v, x, y, z, A) { + this.dh = p; + this.Df = t; + this.ki = u; + this.lub = w; + this.MF = v; + this.cXb = x; + this.aha = y; + this.hQb = z; + this.rB = A; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.nDa = void 0; - q = a(1); + b.jDa = void 0; + r = a(1); f = a(0); - k = a(121); - l = a(70); - d = a(482); - g = a(479); + k = a(120); + l = a(71); + d = a(486); + g = a(483); h = a(92); m = a(115); - n = a(321); - r = a(93); + n = a(323); + q = a(93); a = a(85); - c = q.__decorate([f.R(), q.__param(0, f.l(k.FH)), q.__param(1, f.l(m.dA)), q.__param(2, f.l(l.ku)), q.__param(3, f.l(g.qDa)), q.__param(4, f.l(h.cA)), q.__param(5, f.l(n.BHa)), q.__param(6, f.l(r.lY)), q.__param(7, f.l(d.VDa)), q.__param(8, f.l(a.rw))], c); - b.nDa = c; - }, function (q, b, a) { + c = r.__decorate([f.R(), r.__param(0, f.l(k.NH)), r.__param(1, f.l(m.eA)), r.__param(2, f.l(l.ru)), r.__param(3, f.l(g.mDa)), r.__param(4, f.l(h.dA)), r.__param(5, f.l(n.xHa)), r.__param(6, f.l(q.kY)), r.__param(7, f.l(d.TDa)), r.__param(8, f.l(a.yw))], c); + b.jDa = c; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.P7a, 2, l.Ai.bind, l.ah.cu, l.Ai.bind) || this; + return d.Sh.call(this, h, k.M.R7a, 2, l.Ai.bind, l.Zg.hu, l.Ai.bind) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.iDa = void 0; - q = a(1); + b.eDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m, n) { - var r; - r = this; + ja(c, d.Sh); + c.prototype.Pf = function (h, m, n) { + var q; + q = this; return this.send(h, "/" + this.name, m, void 0, void 0, n).then(function (p) { return p.result; }).catch(function (p) { - throw r.Im(p); + throw q.Gm(p); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with bind")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.iDa = g; - }, function (q, b) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.eDa = g; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.hdb = "PboPairCommandSymbol"; - }, function (q, b, a) { + b.ldb = "PboPairCommandSymbol"; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.ncb, 2, l.Ai.x_a, l.ah.cu, l.Ai.x_a) || this; + return d.Sh.call(this, h, k.M.rcb, 2, l.Ai.v_a, l.Zg.hu, l.Ai.v_a) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.GDa = void 0; - q = a(1); + b.CDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m, n) { - var r; - r = this; + ja(c, d.Sh); + c.prototype.Pf = function (h, m, n) { + var q; + q = this; return this.send(h, "/" + this.name, m, void 0, void 0, n).then(function (p) { return p.result; }).catch(function (p) { - throw r.Im(p); + throw q.Gm(p); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with pair")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.GDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.CDa = g; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.Q7a, 2, l.Ai.bind, l.ah.cu, l.Ai.bind) || this; + return d.Sh.call(this, h, k.M.S7a, 2, l.Ai.bind, l.Zg.hu, l.Ai.bind) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.jDa = void 0; - q = a(1); + b.fDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m, n) { - var r; - r = this; + ja(c, d.Sh); + c.prototype.Pf = function (h, m, n) { + var q; + q = this; return this.send(h, "/bindDevice", m, void 0, void 0, n).then(function (p) { return p.result; }).catch(function (p) { - throw r.Im(p); + throw q.Gm(p); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with bindDevice")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.jDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.fDa = g; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.Fcb, 1, l.Ai.ping, l.ah.cu, l.Ai.ping) || this; + return d.Sh.call(this, h, k.M.Jcb, 1, l.Ai.ping, l.Zg.hu, l.Ai.ping) || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.HDa = void 0; - q = a(1); + b.DDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m, n) { - var r; - r = this; + ja(c, d.Sh); + c.prototype.Pf = function (h, m, n) { + var q; + q = this; return this.send(h, "/" + this.name, m, void 0, void 0, n).then(function (p) { return p.result; }).catch(function (p) { - throw r.Im(p); + throw q.Gm(p); }); }; - c.prototype.np = function () { + c.prototype.op = function () { return Promise.reject(Error("Links are unsupported with ping")); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.HDa = g; - }, function (q, b) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.DDa = g; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.jdb = "PboPingCommandSymbol"; - }, function (q, b, a) { + b.mdb = "PboPingCommandSymbol"; + }, function (r, b, a) { var f, k, l, d, g; function c(h) { - return d.Sh.call(this, h, k.L.M$a, 2, l.Ai.sa, l.ah.cu, "generateScreenshots") || this; + return d.Sh.call(this, h, k.M.P$a, 2, l.Ai.sa, l.Zg.hu, "generateScreenshots") || this; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.tDa = void 0; - q = a(1); + b.pDa = void 0; + r = a(1); f = a(0); k = a(3); l = a(48); d = a(74); a = a(52); - ka(c, d.Sh); - c.prototype.Of = function (h, m) { + ja(c, d.Sh); + c.prototype.Pf = function (h, m) { var n; n = this; - return this.send(h, "/generateScreenshots", m).then(function (r) { - return r.result; - }).catch(function (r) { - throw n.Im(r); + return this.send(h, "/generateScreenshots", m).then(function (q) { + return q.result; + }).catch(function (q) { + throw n.Gm(q); }); }; - c.prototype.np = function (h, m, n) { - var r; - r = this; - return this.send(h, m.rT("generateScreenshots").href, n).then(function (p) { + c.prototype.op = function (h, m, n) { + var q; + q = this; + return this.send(h, m.pT("generateScreenshots").href, n).then(function (p) { return p.result; }).catch(function (p) { - throw r.Im(p); + throw q.Gm(p); }); }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(a.im))], g); - b.tDa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(a.hm))], g); + b.pDa = g; + }, function (r, b, a) { var f, k, l, @@ -130291,271 +130302,277 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; - function c(y, z, B, A, C, E, F, D, G, I) { + function c(y, z, A, B, C, E, G, D, F, J) { this.ki = y; this.platform = z; - this.config = B; - this.Wnb = A; - this.MMb = C; - this.Sl = E; - this.NR = F; - this.wa = D; - this.k5 = G; - this.zm = I; + this.config = A; + this.Xnb = B; + this.PMb = C; + this.Lm = E; + this.OR = G; + this.xa = D; + this.k5 = F; + this.xm = J; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.FDa = void 0; - q = a(1); + b.BDa = void 0; + r = a(1); f = a(0); - k = a(119); + k = a(118); l = a(15); - d = a(216); - g = a(354); - h = a(516); + d = a(217); + g = a(356); + h = a(520); m = a(79); n = a(34); - r = a(40); - p = a(5); - u = a(163); - t = a(70); - w = a(323); + q = a(40); + p = a(4); + t = a(163); + u = a(71); + w = a(325); v = a(25); - x = a(59); + x = a(60); c.prototype.transform = function (y, z) { - var B, - A, + var A, + B, C, E, - F, - D, G, - I, + D, + F, J, + K, H, - M, - O, - L; - B = this; + L, + Q, + I; + A = this; D = y.kb; - G = Object.assign({}, D.K0, D.jo); - I = {}; - J = y.da; - I[J] = { - unletterboxed: !!G.preferUnletterboxed + F = Object.assign({}, D.M0, D.ko); + J = {}; + K = y.$; + J[K] = { + unletterboxed: !!F.preferUnletterboxed }; H = this.config(); - M = H.nXb ? 30 : 25; - O = H.Cr ? this.Sl.ozb() : Promise.resolve(this.k5.Gs()); - L = null === (C = null === (A = H.yta) || void 0 === A ? void 0 : A[null === D || void 0 === D ? void 0 : D.Zd]) || void 0 === C ? void 0 : C.hw; - A = null === (F = null === (E = H.yta) || void 0 === E ? void 0 : E[null === D || void 0 === D ? void 0 : D.Zd]) || void 0 === F ? void 0 : F.YA; - return Promise.all([this.zm.xUa(A), this.zm.zUa(L), this.zm.dL(), this.zm.k3(), this.Lyb(y.ba, z), this.szb(y), O]).then(function (P) { - var R, - K, - Q, - N, - da, - na; - R = aa(P); - K = R.next().value; - Q = R.next().value; - N = R.next().value; - da = R.next().value; - na = R.next().value; - P = R.next().value; - R = R.next().value; - K = (K || []).concat(Q || []).concat(B.config().$v).concat(["BIF240", "BIF320"]).filter(Boolean); - da = da ? da.DEVICE_SECURITY_LEVEL : void 0; - Q = "postplay" === D.Zd ? !0 : !!G.isUIAutoPlay; - if (M == 30){ + L = H.pXb ? 30 : 25; + Q = H.Fr ? this.Lm.szb() : Promise.resolve(this.k5.Ks()); + I = null === (C = null === (B = H.tta) || void 0 === B ? void 0 : B[null === D || void 0 === D ? void 0 : D.je]) || void 0 === C ? void 0 : C.lw; + B = null === (G = null === (E = H.tta) || void 0 === E ? void 0 : E[null === D || void 0 === D ? void 0 : D.je]) || void 0 === G ? void 0 : G.$A; + return Promise.all([this.xm.xUa(B), this.xm.zUa(I), this.xm.gL(), this.xm.l3(), this.Pyb(y.ca, z), this.wzb(y), Q]).then(function (O) { + var N, + M, + P, + R, + ea, + pa; + N = aa(O); + M = N.next().value; + P = N.next().value; + R = N.next().value; + ea = N.next().value; + pa = N.next().value; + O = N.next().value; + N = N.next().value; + M = (M || []).concat(P || []).concat(A.config().ew).concat(["BIF240", "BIF320"]).filter(Boolean); + ea = ea ? ea.DEVICE_SECURITY_LEVEL : void 0; + P = "postplay" === D.je ? !0 : !!F.isUIAutoPlay; + + if (L == 30){ if(useAVC){ - K.push("playready-h264hpl22-dash"); - K.push("playready-h264hpl30-dash"); - K.push("playready-h264hpl31-dash"); - K.push("playready-h264hpl40-dash"); + M.push("playready-h264hpl22-dash"); + M.push("playready-h264hpl30-dash"); + M.push("playready-h264hpl31-dash"); + M.push("playready-h264hpl40-dash"); } var pattern = /hevc-hdr/; - if (useDV && pattern.test(K)){ - K.push("hevc-dv5-main10-L30-dash-cenc-prk"); - K.push("hevc-dv5-main10-L31-dash-cenc-prk"); - K.push("hevc-dv5-main10-L40-dash-cenc-prk"); - K.push("hevc-dv5-main10-L41-dash-cenc-prk"); - K.push("hevc-dv5-main10-L50-dash-cenc-prk"); - K.push("hevc-dv5-main10-L51-dash-cenc-prk"); + if (useDV && pattern.test(M)){ + M.push("hevc-dv5-main10-L30-dash-cenc-prk"); + M.push("hevc-dv5-main10-L31-dash-cenc-prk"); + M.push("hevc-dv5-main10-L40-dash-cenc-prk"); + M.push("hevc-dv5-main10-L41-dash-cenc-prk"); + M.push("hevc-dv5-main10-L50-dash-cenc-prk"); + M.push("hevc-dv5-main10-L51-dash-cenc-prk"); } if(useddplus) { - K.push("ddplus-2.0-dash"); - K.push("ddplus-5.1-dash"); - K.push("ddplus-5.1hq-dash"); - K.push("ddplus-atmos-dash"); - K.splice(0,2); + M.push("ddplus-2.0-dash"); + M.push("ddplus-5.1-dash"); + M.push("ddplus-5.1hq-dash"); + M.push("ddplus-atmos-dash"); + M = M.filter(item => {if (!new RegExp(/heaac/g).test(JSON.stringify(item))) return item;}); + + } + if(usehevc) { + M = M.filter(item => {if (!new RegExp(/main10-L5/g).test(JSON.stringify(item))) return item;}); } }else{ if(useFHD){ - K.push("playready-h264mpl40-dash"); - K.push("playready-h264hpl40-dash"); - K.push("vp9-profile0-L40-dash-cenc"); + M.push("playready-h264mpl40-dash"); + M.push("playready-h264hpl40-dash"); + M.push("vp9-profile0-L40-dash-cenc"); } if(useHA){ - K.push("heaac-5.1-dash"); + M.push("heaac-5.1-dash"); } if(useAVCH){ - K.splice(2,2); - K.splice(4,2); + M.splice(2,2); + M.splice(4,2); } } if(useallSub) { - G.showAllSubDubTracks = 1 + F.showAllSubDubTracks = 1 } - N = { + + R = { type: "standard", - viewableId: J, - profiles: K, - flavor: y.fv, - drmType: R, - drmVersion: M, + viewableId: K, + profiles: M, + flavor: y.mv, + drmType: N, + drmVersion: L, usePsshBox: !0, - isBranching: !!y.kb.Ol, + isBranching: !!y.kb.Nl, useHttpsStreams: !0, - supportsUnequalizedDownloadables: B.config().BUb, - imageSubtitleHeight: d.DZ.hka(), - uiVersion: B.ki.Ez, - uiPlatform: B.ki.w8, - clientVersion: B.platform.version, - supportsPreReleasePin: B.config().Mq.xUb, - supportsWatermark: B.config().Mq.yUb, - showAllSubDubTracks: B.config().Mq.aTb || !!G.showAllSubDubTracks, - packageId: B.JAb(D), - deviceSecurityLevel: da, - videoOutputInfo: N, - titleSpecificData: I, - preferAssistiveAudio: !!G.assistiveAudioPreferred, - preferredTextLocale: G.preferredTextLocale, - preferredAudioLocale: G.preferredAudioLocale, - isUIAutoPlay: Q, - challenge: na, - isNonMember: B.ki.cma, - pin: D.X_a, - desiredVmaf: B.config().iXb ? B.config().Ltb : B.config().Mtb - }; - D.rRa && (N.extraParams = D.rRa); - D.XPa && (N.desiredDownloadables = D.XPa); - D.Xqa && (N.requestReference = D.Xqa); - na = { - Vk: P ? "licensedManifest" : "manifest", - Xu: null === P || void 0 === P ? void 0 : P.Nb + supportsUnequalizedDownloadables: A.config().DUb, + imageSubtitleHeight: d.EZ.dka(), + uiVersion: A.ki.Hz, + uiPlatform: A.ki.s8, + clientVersion: A.platform.version, + supportsPreReleasePin: A.config().Nq.zUb, + supportsWatermark: A.config().Nq.AUb, + showAllSubDubTracks: A.config().Nq.dTb || !!F.showAllSubDubTracks, + packageId: A.MAb(D), + deviceSecurityLevel: ea, + videoOutputInfo: R, + titleSpecificData: J, + preferAssistiveAudio: !!F.assistiveAudioPreferred, + preferredTextLocale: F.preferredTextLocale, + preferredAudioLocale: F.preferredAudioLocale, + isUIAutoPlay: P, + challenge: pa, + isNonMember: A.ki.Xla, + pin: D.V_a, + desiredVmaf: A.config().kXb ? A.config().Otb : A.config().Ptb + };console.log(M); + D.qRa && (R.extraParams = D.qRa); + D.VPa && (R.desiredDownloadables = D.VPa); + D.Sqa && (R.requestReference = D.Sqa); + pa = { + Vk: O ? "licensedManifest" : "manifest", + bv: null === O || void 0 === O ? void 0 : O.Nb }; - P && (P = { - drmSessionId: P.Nb.ky() || "session", - clientTime: B.wa.x7.ea(p.nn), - challengeBase64: P.Sfa - }, N.challenges = { - "default": [P] - }, N.profileGroups = [{ + O && (O = { + drmSessionId: O.Nb.py() || "session", + clientTime: A.xa.t7.ea(p.ln), + challengeBase64: O.Mfa + }, R.challenges = { + "default": [O] + }, R.profileGroups = [{ name: "default", - profiles: K + profiles: M } - ], N.licenseType = y.Qf == x.Th.kn ? "limited" : "standard", y.ba && (N.xid = y.ba.toString())); - B.ki.QQa && y.fv === k.Xj.xZ && (N.maxSupportedLanguages = 2); - return [N, na]; + ], R.licenseType = y.Rf == x.Th.jn ? "limited" : "standard", y.ca && (R.xid = y.ca.toString())); + A.ki.OQa && y.mv === k.Xj.xZ && (R.maxSupportedLanguages = 2); + return [R, pa]; }); }; - c.prototype.JAb = function (y) { - if (this.config().N6.enabled) { - if (void 0 !== y.Ep) - return y.Ep; - if (void 0 !== this.config().N6.Ep) - return Number(this.config().N6.Ep); + c.prototype.MAb = function (y) { + if (this.config().K6.enabled) { + if (void 0 !== y.Gp) + return y.Gp; + if (void 0 !== this.config().K6.Gp) + return Number(this.config().K6.Gp); } }; - c.prototype.Lyb = function (y, z) { - var B; - B = this; - return this.Wnb.ESa(z).then(function (A) { + c.prototype.Pyb = function (y, z) { + var A; + A = this; + return this.Xnb.ESa(z).then(function (B) { var C; - C = y && B.MMb.QAb(y); - C && C.Vo("cad"); - return A; + C = y && A.PMb.TAb(y); + C && C.Wo("cad"); + return B; }); }; - c.prototype.szb = function (y) { + c.prototype.wzb = function (y) { var z; - if (void 0 === y.Qf || !this.config().Cr) + if (void 0 === y.Rf || !this.config().Fr) return Promise.resolve(void 0); - z = y.Qf === x.Th.Co && this.ki.l1; - return y.Qf === x.Th.kn && this.ki.RQa || z ? this.NR.ska(y.Qf) : Promise.resolve(void 0); + z = y.Rf === x.Th.Do && this.ki.n1; + return y.Rf === x.Th.jn && this.ki.PQa || z ? this.OR.oka(y.Rf) : Promise.resolve(void 0); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(t.ku)), q.__param(1, f.l(n.Kk)), q.__param(2, f.l(l.dd)), q.__param(3, f.l(g.Tva)), q.__param(4, f.l(h.Uaa)), q.__param(5, f.l(m.gu)), q.__param(6, f.l(u.VX)), q.__param(7, f.l(r.wi)), q.__param(8, f.l(w.baa)), q.__param(9, f.l(v.qw))], a); - b.FDa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(u.ru)), r.__param(1, f.l(n.Kk)), r.__param(2, f.l(l.ed)), r.__param(3, f.l(g.Qva)), r.__param(4, f.l(h.Naa)), r.__param(5, f.l(m.lu)), r.__param(6, f.l(t.UX)), r.__param(7, f.l(q.wi)), r.__param(8, f.l(w.U$)), r.__param(9, f.l(v.xw))], a); + b.BDa = a; + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p) { + function c(m, n, q, p) { this.platform = m; this.config = n; - this.NR = r; - this.zm = p; + this.OR = q; + this.xm = p; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.WDa = void 0; - q = a(1); + b.UDa = void 0; + r = a(1); f = a(0); k = a(15); l = a(34); d = a(163); g = a(25); - h = a(59); + h = a(60); c.prototype.transform = function (m) { var n, - r; + q; n = this; - r = m.kb; - return Promise.all([this.zm.xUa(), this.zm.zUa(), this.NR.ska(h.Th.Co)]).then(function (p) { - var u, - t; - u = aa(p); - p = u.next().value; - t = u.next().value; - u = u.next().value; + q = m.kb; + return Promise.all([this.xm.xUa(), this.xm.zUa(), this.OR.oka(h.Th.Do)]).then(function (p) { + var t, + u; + t = aa(p); + p = t.next().value; + u = t.next().value; + t = t.next().value; return [{ - viewableId: m.da, - packageId: r.Ep, - assetId: r.Tea, - challenge: u.Sfa, + viewableId: m.$, + packageId: q.Gp, + assetId: q.Mea, + challenge: t.Mfa, audioProfiles: p, - textProfiles: n.config().$v, + textProfiles: n.config().ew, trickplayProfiles: ["BIF240", "BIF320"], - videoProfiles: t, - audioLanguages: r.Tlb, - textLanguages: r.TUb, - videoLanguages: r.E6a ? [r.E6a] : void 0, - requestReference: r.Xqa + videoProfiles: u, + audioLanguages: q.Tlb, + textLanguages: q.VUb, + videoLanguages: q.H6a ? [q.H6a] : void 0, + requestReference: q.Sqa }, { - Xu: null === u || void 0 === u ? void 0 : u.Nb, + bv: null === t || void 0 === t ? void 0 : t.Nb, Vk: "studioManifest" } ]; }); }; a = c; - a = q.__decorate([f.R(), q.__param(0, f.l(l.Kk)), q.__param(1, f.l(k.dd)), q.__param(2, f.l(d.VX)), q.__param(3, f.l(g.qw))], a); - b.WDa = a; - }, function (q, b, a) { + a = r.__decorate([f.R(), r.__param(0, f.l(l.Kk)), r.__param(1, f.l(k.ed)), r.__param(2, f.l(d.UX)), r.__param(3, f.l(g.xw))], a); + b.UDa = a; + }, function (r, b, a) { var c, f, k, @@ -130566,25 +130583,25 @@ a000.D9b = function () { value: !0 }); b.transports = void 0; - q = a(0); - c = a(212); - f = a(480); - k = a(1166); - l = a(1167); - d = a(1168); + r = a(0); + c = a(213); + f = a(484); + k = a(1170); + l = a(1171); + d = a(1172); g = a(38); - b.transports = new q.ad(function (h) { - h(c.HZ).to(d.pHa).$(); - h(f.pCa).to(k.oCa); - h(f.wGa).to(l.vGa); - h(f.qHa).sf(function (m) { + b.transports = new r.$c(function (h) { + h(c.JZ).to(d.lHa).aa(); + h(f.nCa).to(k.mCa); + h(f.sGa).to(l.rGa); + h(f.mHa).sf(function (m) { return function (n) { - var r; - return m.$a.get(c.HZ).F7(null !== (r = null === n || void 0 === n ? void 0 : n.qJb) && void 0 !== r ? r : g.hu.EP) ? m.$a.get(f.pCa) : m.$a.get(f.wGa); + var q; + return m.$a.get(c.JZ).B7(null !== (q = null === n || void 0 === n ? void 0 : n.sJb) && void 0 !== q ? q : g.ou.EP) ? m.$a.get(f.nCa) : m.$a.get(f.sGa); }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -130592,96 +130609,96 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u) { - var t; - t = this; - this.lC = r; + function c(n, q, p, t) { + var u; + u = this; + this.nC = q; this.receiver = p; - this.profile = u; - this.log = n.Cb("MslTransport"); - this.lC().then(function (w) { - return t.G5 = w; + this.profile = t; + this.log = n.Db("MslTransport"); + this.nC().then(function (w) { + return u.G5 = w; }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.oCa = void 0; - q = a(1); + b.mCa = void 0; + r = a(1); f = a(0); k = a(8); l = a(141); - d = a(5); + d = a(4); g = a(188); a = a(89); h = { license: !0 }; - c.prototype.send = function (n, r) { + c.prototype.send = function (n, q) { var p, - u; + t; p = this; - u = { - eZa: Object.assign({ - Bf: n.Bf, + t = { + bZa: Object.assign({ + Df: n.Df, log: n.log, profile: this.profile }, n.Gmb), method: n.Vk, url: n.url.href, - body: JSON.stringify(r), + body: JSON.stringify(q), timeout: n.timeout.ea(d.ma), - tXb: this.profile, - f7b: !h[n.Vk], - JJb: !!h[n.Vk], + vXb: this.profile, + r7b: !h[n.Vk], + LJb: !!h[n.Vk], kk: !0, - h7: n.lra, + e7: n.fra, headers: n.headers }; !1; - return this.lC().then(function (t) { - return t.send(u).then(function (w) { + return this.nC().then(function (u) { + return u.send(t).then(function (w) { p.receiver.KM({ command: n.Vk, - inputs: r, + inputs: q, outputs: w }); return w; }).catch(function (w) { var v; if (!w.error) - throw (w.jc = w.oa || w.jc, p.receiver.KM({ + throw (w.kc = w.oa || w.kc, p.receiver.KM({ command: n.Vk, - inputs: r, + inputs: q, outputs: w }), w); v = w.error; - v.EC = w.EC; + v.GC = w.GC; p.log.error("Error sending MSL request", { - mslCode: v.Av, - subCode: v.jc, + mslCode: v.Gv, + subCode: v.kc, data: v.data, message: v.message }); p.receiver.KM({ command: n.Vk, - inputs: r, + inputs: q, outputs: v }); throw v; }); }); }; - c.prototype.Dga = function () { + c.prototype.xga = function () { var n; return { - userTokens: null === (n = this.G5) || void 0 === n ? void 0 : n.OU.getUserIdTokenKeys() + userTokens: null === (n = this.G5) || void 0 === n ? void 0 : n.NU.getUserIdTokenKeys() }; }; m = c; - m = q.__decorate([f.R(), q.__param(0, f.l(k.Kb)), q.__param(1, f.l(l.pP)), q.__param(2, f.l(g.iZ)), q.__param(3, f.l(a.GP))], m); - b.oCa = m; - }, function (q, b, a) { + m = r.__decorate([f.R(), r.__param(0, f.l(k.Ib)), r.__param(1, f.l(l.qP)), r.__param(2, f.l(g.iZ)), r.__param(3, f.l(a.GP))], m); + b.mCa = m; + }, function (r, b, a) { var f, k, l, @@ -130689,35 +130706,35 @@ a000.D9b = function () { g; function c(h, m, n) { this.receiver = m; - this.Bf = n; - this.log = h.Cb("SslTransport"); + this.Df = n; + this.log = h.Db("SslTransport"); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vGa = void 0; - q = a(1); + b.rGa = void 0; + r = a(1); f = a(0); - k = a(5); + k = a(4); l = a(8); d = a(188); a = a(115); c.prototype.send = function (h, m) { var n, - r; + q; n = this; - r = { + q = { url: h.url.href, - hF: "nq-" + h.Vk, - Lpa: JSON.stringify(m), - s1: h.timeout.ea(k.ma), + kF: "nq-" + h.Vk, + Gpa: JSON.stringify(m), + t1: h.timeout.ea(k.ma), headers: h.headers, withCredentials: !0 }; !1; - return new Promise(function (p, u) { - n.Bf.download(r, function (t) { - t.X ? p(t) : u(t); + return new Promise(function (p, t) { + n.Df.download(q, function (u) { + u.W ? p(u) : t(u); }); }).then(function (p) { p = { @@ -130731,35 +130748,35 @@ a000.D9b = function () { }); return p; }).catch(function (p) { - var u; + var t; if (!p.error) - throw (p.jc = p.oa || p.jc, n.receiver.KM({ + throw (p.kc = p.oa || p.kc, n.receiver.KM({ command: h.Vk, inputs: m, outputs: p }), p); - u = p.error; - u.EC = p.EC; + t = p.error; + t.GC = p.GC; n.log.error("Error sending SSL request", { - subCode: u.jc, - data: u.content, - message: u.message + subCode: t.kc, + data: t.content, + message: t.message }); n.receiver.KM({ command: h.Vk, inputs: m, - outputs: u + outputs: t }); - throw u; + throw t; }); }; - c.prototype.Dga = function () { + c.prototype.xga = function () { return {}; }; g = c; - g = q.__decorate([f.R(), q.__param(0, f.l(l.Kb)), q.__param(1, f.l(d.iZ)), q.__param(2, f.l(a.dA))], g); - b.vGa = g; - }, function (q, b, a) { + g = r.__decorate([f.R(), r.__param(0, f.l(l.Ib)), r.__param(1, f.l(d.iZ)), r.__param(2, f.l(a.eA))], g); + b.rGa = g; + }, function (r, b, a) { var f, k, l, @@ -130771,37 +130788,37 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.pHa = void 0; - q = a(1); + b.lHa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); d = a(44); g = a(38); - ka(c, k.ff); - c.prototype.F7 = function (h) { + ja(c, k.ff); + c.prototype.B7 = function (h) { var m, n; - m = this.x6a; - n = this.QLa; + m = this.A6a; + n = this.PLa; switch (h) { - case g.hu.EP: + case g.ou.EP: return m; - case g.hu.ZEa: + case g.ou.WEa: return m && !n; - case g.hu.ecb: + case g.ou.icb: return !1; } }; Xa.Object.defineProperties(c.prototype, { - x6a: { + A6a: { configurable: !0, enumerable: !0, get: function () { return !0; } }, - QLa: { + PLa: { configurable: !0, enumerable: !0, get: function () { @@ -130810,24 +130827,24 @@ a000.D9b = function () { } }); a = c; - q.__decorate([d.config(d.ud, "usesMsl")], a.prototype, "x6a", null); - q.__decorate([d.config(d.ud, "allowRequestsWithoutMsl")], a.prototype, "QLa", null); - a = q.__decorate([f.R(), q.__param(0, f.l(l.km))], a); - b.pHa = a; - }, function (q, b, a) { + r.__decorate([d.config(d.ad, "usesMsl")], a.prototype, "A6a", null); + r.__decorate([d.config(d.ad, "allowRequestsWithoutMsl")], a.prototype, "PLa", null); + a = r.__decorate([f.R(), r.__param(0, f.l(l.jm))], a); + b.lHa = a; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mi = void 0; - q = a(0); - c = a(495); - f = a(1170); - b.Mi = new q.ad(function (k) { - k(c.wAa).to(f.vAa); + b.cl = void 0; + r = a(0); + c = a(499); + f = a(1174); + b.cl = new r.$c(function (k) { + k(c.uAa).to(f.tAa); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -130836,33 +130853,33 @@ a000.D9b = function () { h, m, n; - function c(r, p, u, t, w) { - this.kF = r; - this.hp = p; - this.config = u; - this.UL = t; - this.pd = w; + function c(q, p, t, u, w) { + this.nF = q; + this.ip = p; + this.config = t; + this.WL = u; + this.qd = w; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.vAa = void 0; - q = a(1); + b.tAa = void 0; + r = a(1); f = a(0); - k = a(120); - l = a(1171); - d = a(1172); - g = a(68); + k = a(119); + l = a(1175); + d = a(1176); + g = a(69); h = a(15); m = a(134); a = a(116); - c.prototype.create = function (r, p, u) { - return r ? new l.xAa(this.config(), this.hp, this.pd, p, u, this.kF, this.UL()) : new d.rAa(this.config, this.pd, p, u); + c.prototype.create = function (q, p, t) { + return q ? new l.vAa(this.config(), this.ip, this.qd, p, t, this.nF, this.WL()) : new d.pAa(this.config, this.qd, p, t); }; n = c; - n = q.__decorate([f.R(), q.__param(0, f.l(k.oY)), q.__param(1, f.l(g.bu)), q.__param(2, f.l(h.dd)), q.__param(3, f.l(m.lP)), q.__param(4, f.l(a.SD))], n); - b.vAa = n; - }, function (q, b, a) { + n = r.__decorate([f.R(), r.__param(0, f.l(k.nY)), r.__param(1, f.l(g.gu)), r.__param(2, f.l(h.ed)), r.__param(3, f.l(m.mP)), r.__param(4, f.l(a.VD))], n); + b.tAa = n; + }, function (r, b, a) { var f, k, l, @@ -130871,169 +130888,168 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v, x, y) { + q; + function c(p, t, u, w, v, x, y) { w = m.mO.call(this, w, v) || this; w.config = p; - w.hp = u; - w.pd = t; - w.kF = x; - w.Nna = y; + w.ip = t; + w.qd = u; + w.nF = x; + w.Ina = y; w.log = k.Ih(w.j, "LicenseBroker"); - w.mU = new Set(); - w.Mna = !1; + w.lU = new Set(); + w.Hna = !1; return w; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.xAa = void 0; - q = a(1); + b.vAa = void 0; + r = a(1); f = a(3); k = a(7); - l = a(312); - d = a(5); + l = a(314); + d = a(4); g = a(0); - h = a(268); - m = a(518); - n = a(59); - r = a(18); - ka(c, m.mO); + h = a(269); + m = a(522); + n = a(60); + q = a(18); + ja(c, m.mO); c.prototype.e6 = function () { var p, - u; + t; p = this; - u = this.j.fa; - this.mU.has(u.K) || (this.mU.add(u.K), this.olb(u).catch(function () { - return p.O1a(u); + t = this.j.ga; + this.lU.has(t.K) || (this.lU.add(t.K), this.qlb(t).catch(function () { + return p.N1a(t); }).then(function () { - return p.hMa(u); - }).catch(function (t) { - return p.gMa(u, t); - }).catch(function (t) { - return p.Ld(t.code, t, t.wd); + return p.gMa(t); + }).catch(function (u) { + return p.fMa(t, u); + }).catch(function (u) { + return p.Jd(u.code, u, u.wd); })); }; - c.prototype.olb = function (p) { - var u; - u = this; - return Promise.all([this.pd.ASa(p.K), this.kF()]).then(function (t) { + c.prototype.qlb = function (p) { + var t; + t = this; + return Promise.all([this.qd.ASa(p.K), this.nF()]).then(function (u) { var w, v; - t = aa(t); - w = t.next().value; - v = t.next().value; - return w.y7.then(function (x) { + u = aa(u); + w = u.next().value; + v = u.next().value; + return w.u7.then(function (x) { var y; if ("manifest" === w.source) { - y = u.yTa(p); - v.$Ya(y, x); + y = t.zTa(p); + v.XYa(y, x); } return x; }).then(function (x) { - return u.C0(x, p, w.source); + return t.E0(x, p, w.source); }); - }).catch(function (t) { - u.log.warn("eme not in cache", t); - throw t; + }).catch(function (u) { + t.log.warn("eme not in cache", u); + throw u; }); }; - c.prototype.C0 = function (p, u, t) { - this.F0a(p, u); - u.QE = t; - this.Nna.setMediaKeys(p.mediaKeys); - return p.Lea(); + c.prototype.E0 = function (p, t, u) { + this.F0a(p, t); + t.RE = u; + this.Ina.setMediaKeys(p.mediaKeys); + return p.Eea(); }; - c.prototype.yxb = function (p) { - var u; - u = {}; - p.forEach(function (t) { - u[l.xQa(t.GU)] = t.time.ea(d.ma); + c.prototype.Exb = function (p) { + var t; + t = {}; + p.forEach(function (u) { + t[l.vQa(u.FU)] = u.time.ea(d.ma); }); - return u; + return t; }; - c.prototype.F0a = function (p, u) { - var t; - t = this; - u.we = p; - p.TRb(function (w) { - t.Ld(w.code, w, w.wd); + c.prototype.F0a = function (p, t) { + var u; + u = this; + t.Ve = p; + p.WRb(function (w) { + u.Jd(w.code, w, w.wd); }); }; - c.prototype.hMa = function (p) { - this.log.info("Successfully applied license for xid: " + p.ba + ", viewable: " + p.K + ", segment: " + p.va); - this.uy(p); - this.Mna ? this.z2(p.K) : this.setMediaKeys(p); + c.prototype.gMa = function (p) { + this.log.info("Successfully applied license for xid: " + p.ca + ", viewable: " + p.K + ", segment: " + p.va); + this.xy(p); + this.Hna ? this.A2(p.K) : this.setMediaKeys(p); }; - c.prototype.gMa = function (p, u) { - this.uy(p); - throw u; + c.prototype.fMa = function (p, t) { + this.xy(p); + throw t; }; - c.prototype.uy = function (p) { - p.we && p.uy(this.yxb(p.we.bd)); + c.prototype.xy = function (p) { + p.Ve && p.xy(this.Exb(p.Ve.bd)); }; - c.prototype.yTa = function (p) { - var u; + c.prototype.zTa = function (p) { + var t; return { - type: this.c3(!1), - initData: p.Bt.map(function (t) { - return k.Dq(t); + type: this.e3(!1), + initData: p.Gt.map(function (u) { + return k.Fq(u); }), context: { - Xe: this.config.Xe, - la: this.Ib.la, - zt: null === (u = p.Qh.value) || void 0 === u ? void 0 : u.zt + la: this.Kb.la, + Dt: null === (t = p.Ph.value) || void 0 === t ? void 0 : t.Dt }, li: { K: p.K, - ba: p.ba, - Ti: p.Ti, - Kl: p.Kl, - Fj: p.sa.Fj + ca: p.ca, + Ri: p.Ri, + Jl: p.Jl, + Ej: p.sa.Ej } }; }; - c.prototype.O1a = function (p) { - var u; - u = this; - return this.kF().then(function (t) { + c.prototype.N1a = function (p) { + var t; + t = this; + return this.nF().then(function (u) { var w; - w = u.yTa(p); - u.mU.add(p.K); - return t.ig(w, u.Nna).then(function (v) { - u.F0a(v, p); - u.j.fireEvent(r.W.LL, { + w = t.zTa(p); + t.lU.add(p.K); + return u.hg(w, t.Ina).then(function (v) { + t.F0a(v, p); + t.j.fireEvent(q.Z.NL, { K: p.K }); - return v.Lea(); + return v.Eea(); }); }); }; c.prototype.setMediaKeys = function (p) { - var u; - u = this; - if (this.Mna) + var t; + t = this; + if (this.Hna) this.log.trace("Media Keys already set"); else try { - this.Ib.la ? this.Ib.la.setMediaKeys(p.we.mediaKeys).then(function () { - u.z2(p.K); - u.Mna = !0; - }).catch(function (t) { - t = u.JUa(t); - u.Ld(f.L.mI, t, t.Ve); - }) : this.z2(p.K); - } catch (t) { - this.Ld(f.L.mI, t, void 0); - } - }; - c.prototype.jz = function () { + this.Kb.la ? this.Kb.la.setMediaKeys(p.Ve.mediaKeys).then(function () { + t.A2(p.K); + t.Hna = !0; + }).catch(function (u) { + u = t.IUa(u); + t.Jd(f.M.tI, u, u.Xe); + }) : this.A2(p.K); + } catch (u) { + this.Jd(f.M.tI, u, void 0); + } + }; + c.prototype.mz = function () { var p, - u; + t; p = this; - u = this.j.fa.we; - return u ? this.kF().then(function (t) { - return t.release(u, p.Nna).then(function (w) { + t = this.j.ga.Ve; + return t ? this.nF().then(function (u) { + return u.release(t, p.Ina).then(function (w) { p.log.trace("Successfully released the license"); return w.close(); }).catch(function (w) { @@ -131041,40 +131057,40 @@ a000.D9b = function () { }); }) : Promise.resolve(); }; - c.prototype.N1a = function (p) { - var u; - u = this; + c.prototype.M1a = function (p) { + var t; + t = this; p = void 0 === p ? this.j : p; - return this.O1a(p).then(function () { - return u.hMa(p); - }).catch(function (t) { - return u.gMa(p, t); + return this.N1a(p).then(function () { + return t.gMa(p); + }).catch(function (u) { + return t.fMa(p, u); }); }; - c.prototype.c3 = function (p) { - return this.hp.ZS ? n.Th.kn : p ? n.Th.kn : n.Th.Co; + c.prototype.e3 = function (p) { + return this.ip.YS ? n.Th.jn : p ? n.Th.jn : n.Th.Do; }; Xa.Object.defineProperties(c.prototype, { - oC: { + qC: { configurable: !0, enumerable: !0, get: function () { return "encrypted"; } }, - Xe: { + Ol: { configurable: !0, enumerable: !0, get: function () { - return this.config.Xe; + return this.config.Ol; } } }); a = c; - q.__decorate([h.jU], a.prototype, "oC", null); - a = q.__decorate([g.R()], a); - b.xAa = a; - }, function (q, b, a) { + r.__decorate([h.iU], a.prototype, "qC", null); + a = r.__decorate([g.R()], a); + b.vAa = a; + }, function (r, b, a) { var f, k, l, @@ -131083,102 +131099,102 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w, v, x) { - v = r.mO.call(this, v, x) || this; - v.config = t; - v.pd = w; + t; + function c(u, w, v, x) { + v = q.mO.call(this, v, x) || this; + v.config = u; + v.qd = w; v.log = k.Ih(v.j, "LegacyLicenseBroker"); - v.Xe = v.config().Xe; - v.config().L0a ? d.vWa() ? v.F8 = !0 : v.log.error("Promise based eme requested but platform does not support it", { - browserua: g.jA - }) : v.F8 = !1; + v.Ol = v.config().Ol; + v.config().L0a ? d.tWa() ? v.A8 = !0 : v.log.error("Promise based eme requested but platform does not support it", { + browserua: g.kA + }) : v.A8 = !1; return v; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rAa = void 0; - q = a(1); + b.pAa = void 0; + r = a(1); f = a(3); k = a(7); l = a(139); d = a(47); g = a(11); h = a(0); - m = a(268); + m = a(269); n = a(34); - r = a(518); - p = a(59); - ka(c, r.mO); - c.prototype.bPa = function (t) { + q = a(522); + p = a(60); + ja(c, q.mO); + c.prototype.aPa = function (u) { var w; w = void 0 === w ? this.j : w; - return new this.ar.RH(t, function (v) { - return w.$R.yF(v); + return new this.ar.ZH(u, function (v) { + return w.$R.CF(v); }, function (v) { return w.$R.release(v); }, { - We: !1, + Ye: !1, qk: !1 }); }; - c.prototype.bF = function (t) { + c.prototype.eF = function (u) { var w, v, x, y, z, - B; + A; w = this; - t = void 0 === t ? this.j : t; + u = void 0 === u ? this.j : u; v = a(51).Hi; - this.ar.RH || this.Ld(f.L.cI, f.M.n$a); - x = k.Ih(t, "Eme"); - y = this.bPa(x); + this.ar.ZH || this.Jd(f.M.kI, f.L.q$a); + x = k.Ih(u, "Eme"); + y = this.aPa(x); z = k.ha.get(l.MP); - B = z.x1(t.Bd.value.streams); - z = z.A1(t.Qh.value.streams); - return this.ar.TH(x, function (A) { - return t.Od(A); + A = z.z1(u.Sd.value.streams); + z = z.C1(u.Ph.value.streams); + return this.ar.aI(x, function (B) { + return u.Md(B); }, { - We: !1, + Ye: !1, qk: !1, - wa: { + xa: { getTime: v }, - ml: y, - EV: !!this.F8, - la: this.Ib.la, - Kz: this.config().PQa, - onerror: function (A, C, E) { - return w.Ld(A, C, E); + ll: y, + DV: !!this.A8, + la: this.Kb.la, + Nz: this.config().NQa, + onerror: function (B, C, E) { + return w.Jd(B, C, E); }, - xoa: function () {}, - rG: !0, - Slb: B, - OXb: z, - U3: this.config().U3 + soa: function () {}, + xG: !0, + Slb: A, + QXb: z, + V3: this.config().V3 }); }; - c.prototype.setMediaKeys = function (t) { + c.prototype.setMediaKeys = function (u) { var w; w = this; - return this.F8 ? new Promise(function (v, x) { - if (w.Ib.la) - w.Ib.la.setMediaKeys(t).then(function () { + return this.A8 ? new Promise(function (v, x) { + if (w.Kb.la) + w.Kb.la.setMediaKeys(u).then(function () { v(); }).catch(function (y) { var z; - z = w.JUa(y); + z = w.IUa(y); x({ - X: !1, - code: f.L.mI, - jc: z.oa, - wd: z.Ve, - sb: z.sb, + W: !1, + code: f.M.tI, + kc: z.oa, + wd: z.Xe, + qb: z.qb, message: "Set media keys is a failure", cause: y }); @@ -131187,149 +131203,149 @@ a000.D9b = function () { return Promise.resolve(); }) : Promise.resolve(); }; - c.prototype.jRa = function (t) { + c.prototype.iRa = function (u) { return { - code: t.code, - subCode: t.jc, - extCode: t.wd, - edgeCode: t.Bm, - message: t.message, - errorDetails: t.sb, - errorData: t.EK, - state: t.state + code: u.code, + subCode: u.kc, + extCode: u.wd, + edgeCode: u.zm, + message: u.message, + errorDetails: u.qb, + errorData: u.IK, + state: u.state }; }; - c.prototype.Wra = function (t, w, v) { + c.prototype.Pra = function (u, w, v) { var y, z, - B; + A; function x() { - z.CG().catch(function (A) { - y.log.error("Unable to set the license", y.jRa(A)); - A.cause && A.cause.sb && (A.sb = A.sb ? A.sb + A.cause.sb : A.cause.sb); - y.Ld(A.code, A, A.wd); + z.JG().catch(function (B) { + y.log.error("Unable to set the license", y.iRa(B)); + B.cause && B.cause.qb && (B.qb = B.qb ? B.qb + B.cause.qb : B.cause.qb); + y.Jd(B.code, B, B.wd); }); } y = this; v = void 0 === v ? this.j : v; - z = v.we; + z = v.Ve; this.log.info("Setting the license"); - B = w ? function () { + A = w ? function () { return Promise.resolve(); } : function () { - return z.ig(y.c3(!1), t); + return z.hg(y.e3(!1), u); }; return (w ? function () { - return z.C0(y.Ib.la); + return z.E0(y.Kb.la); } : function () { - return z.create(y.Xe).then(function () { + return z.create(y.Ol).then(function () { return Promise.resolve(); }); })().then(function () { return y.config().d3a ? y.setMediaKeys(z.mediaKeys) : Promise.resolve(); - }).then(B).then(function () { + }).then(A).then(function () { return y.config().d3a ? Promise.resolve() : y.setMediaKeys(z.mediaKeys); }).then(function () { y.log.info("license set"); - y.z2(v.K); - y.Ib.Q6a.then(function () { - y.config().$B && (w || y.config().ZS) && (y.I1a = pb.setTimeout(x, y.config().$B)); + y.A2(v.K); + y.Kb.T6a.then(function () { + y.config().bC && (w || y.config().YS) && (y.H1a = pb.setTimeout(x, y.config().bC)); }); - }).catch(function (A) { - y.log.error("Unable to set the license", y.jRa(A)); - A.cause && A.cause.sb && (A.sb = A.sb ? A.sb + A.cause.sb : A.cause.sb); + }).catch(function (B) { + y.log.error("Unable to set the license", y.iRa(B)); + B.cause && B.cause.qb && (B.qb = B.qb ? B.qb + B.cause.qb : B.cause.qb); if (w) - throw Error(A && A.message ? A.message : "failed to set license"); - y.Ld(A.code, A, A.wd); + throw Error(B && B.message ? B.message : "failed to set license"); + y.Jd(B.code, B, B.wd); }); }; - c.prototype.jz = function () { + c.prototype.mz = function () { return Promise.resolve(); }; c.prototype.e6 = function () { var w; - function t() { + function u() { var v; - w.j.we = w.bF(); + w.j.Ve = w.eF(); v = []; - w.j.Bt.forEach(function (x) { - v.push(k.Dq(x)); + w.j.Gt.forEach(function (x) { + v.push(k.Fq(x)); }); - w.Wra(v); + w.Pra(v); } w = this; - this.mU || (this.mU = !0, this.ar.TH ? this.j.Bt ? this.config().HS && this.config().Iv ? this.pd.ASa(this.j.K).then(function (v) { - w.j.we = v; - return v.fua.then(function () { + this.lU || (this.lU = !0, this.ar.aI ? this.j.Gt ? this.config().GS && this.config().Ov ? this.qd.ASa(this.j.K).then(function (v) { + w.j.Ve = v; + return v.cua.then(function () { var x; x = []; - w.j.Bt.forEach(function (y) { - x.push(k.Dq(y)); + w.j.Gt.forEach(function (y) { + x.push(k.Fq(y)); }); - return w.Wra(x, !0).then(function () { + return w.Pra(x, !0).then(function () { var y; - if (v.S3b) - w.Ld(f.L.q$a); + if (v.V3b) + w.Jd(f.M.t$a); else { y = k.Ih(w.j, "Eme"); - v.a6a({ + v.c6a({ log: y, - Sm: function (z) { - return w.j.Od(z); + Rm: function (z) { + return w.j.Md(z); } }, { - ml: w.bPa(y), - onerror: function (z, B, A) { - return w.Ld(z, B, A); + ll: w.aPa(y), + onerror: function (z, A, B) { + return w.Jd(z, A, B); } }); - w.j.uy(v.bd || ({})); - w.j.QE = "videopreparer"; + w.j.xy(v.bd || ({})); + w.j.RE = "videopreparer"; } }); }); }).catch(function (v) { w.log.warn("eme not in cache", v); - t(); - }) : t() : (this.log.error("Missing the PSSH on the video track, closing the player"), this.Ld(f.L.Scb)) : this.Ld(f.L.cI, f.M.o$a)); + u(); + }) : u() : (this.log.error("Missing the PSSH on the video track, closing the player"), this.Jd(f.M.Vcb)) : this.Jd(f.M.kI, f.L.r$a)); }; - c.prototype.N1a = function (t) { + c.prototype.M1a = function (u) { var w; - t = void 0 === t ? this.j : t; - t.we = this.bF(); + u = void 0 === u ? this.j : u; + u.Ve = this.eF(); w = []; - t.Bt.forEach(function (v) { - w.push(k.Dq(v)); + u.Gt.forEach(function (v) { + w.push(k.Fq(v)); }); - return this.Wra(w, !1, t); + return this.Pra(w, !1, u); }; - c.prototype.c3 = function (t) { - return this.config().ZS ? p.Th.kn : t ? p.Th.kn : p.Th.Co; + c.prototype.e3 = function (u) { + return this.config().YS ? p.Th.jn : u ? p.Th.jn : p.Th.Do; }; Xa.Object.defineProperties(c.prototype, { ar: { configurable: !0, enumerable: !0, get: function () { - return k.ha.get(n.kA); + return k.ha.get(n.lA); } }, - oC: { + qC: { configurable: !0, enumerable: !0, get: function () { - return this.F8 ? "encrypted" : this.Ib.e$ + "needkey"; + return this.A8 ? "encrypted" : this.Kb.Vxa + "needkey"; } } }); - u = c; - q.__decorate([m.jU], u.prototype, "ar", null); - q.__decorate([m.jU], u.prototype, "oC", null); - u = q.__decorate([h.R()], u); - b.rAa = u; - }, function (q, b, a) { + t = c; + r.__decorate([m.iU], t.prototype, "ar", null); + r.__decorate([m.iU], t.prototype, "qC", null); + t = r.__decorate([h.R()], t); + b.pAa = t; + }, function (r, b, a) { var c, f, k, @@ -131339,43 +131355,43 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; Object.defineProperty(b, "__esModule", { value: !0 }); - b.Lh = void 0; - q = a(0); - c = a(519); - f = a(1174); - k = a(290); - l = a(1179); + b.Kh = void 0; + r = a(0); + c = a(291); + f = a(1178); + k = a(292); + l = a(1183); d = a(185); - g = a(1181); - h = a(1182); + g = a(1185); + h = a(1186); m = a(154); - n = a(520); - r = a(1183); - p = a(521); - u = a(1185); - t = a(92); - b.Lh = new q.ad(function (w) { - w(c.KEa).to(f.JEa).$(); - w(k.Xaa).to(l.WEa).$(); - w(d.jZ).to(g.HEa).$(); - w(m.sI).to(h.FEa).$(); - w(n.QEa).to(r.PEa).$(); - w(p.UEa).sf(function (v) { + n = a(523); + q = a(1187); + p = a(524); + t = a(1189); + u = a(92); + b.Kh = new r.$c(function (w) { + w(c.Paa).to(f.HEa).aa(); + w(k.Raa).to(l.TEa).aa(); + w(d.jZ).to(g.FEa).aa(); + w(m.yI).to(h.DEa).aa(); + w(n.NEa).to(q.MEa).aa(); + w(p.REa).sf(function (v) { var x; x = v.$a; return function (y) { - return new u.VEa(y, x.get(t.cA), x.get(m.sI)); + return new t.SEa(y, x.get(u.dA), x.get(m.yI)); }; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -131384,243 +131400,262 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v, x, y) { - this.Bg = p; - this.sia = u; - this.kl = t; - this.CM = w; - this.nta = v; - this.YMb = x; - this.ZMb = y; + q; + function c(p, t, u, w, v, x, y) { + this.Ag = p; + this.lia = t; + this.xk = u; + this.ita = w; + this.aNb = v; + this.cNb = x; + this.bNb = y; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.JEa = void 0; - q = a(1); + b.HEa = void 0; + r = a(1); f = a(0); - k = a(1175); + k = a(1179); l = a(8); d = a(154); - g = a(324); - h = a(520); - m = a(185); - n = a(332); - a = a(521); + g = a(326); + h = a(523); + m = a(334); + n = a(524); + a = a(292); c.prototype.create = function (p) { - return new k.LEa(p, this.Bg, this.sia, this.CM, this.kl, this.nta, this.YMb, this.ZMb); + return new k.IEa(p, this.Ag, this.lia, this.xk, this.ita, this.aNb, this.cNb, this.bNb); }; - r = c; - r = q.__decorate([f.R(), q.__param(0, f.l(l.Kb)), q.__param(1, f.l(g.HO)), q.__param(2, f.l(d.sI)), q.__param(3, f.l(m.jZ)), q.__param(4, f.l(n.nHa)), q.__param(5, f.l(h.QEa)), q.__param(6, f.l(a.UEa))], r); - b.JEa = r; - }, function (q, b, a) { + q = c; + q = r.__decorate([f.R(), r.__param(0, f.l(l.Ib)), r.__param(1, f.l(g.HO)), r.__param(2, f.l(d.yI)), r.__param(3, f.l(m.jHa)), r.__param(4, f.l(h.NEa)), r.__param(5, f.l(n.REa)), r.__param(6, f.l(a.Raa))], q); + b.HEa = q; + }, function (r, b, a) { var f, k, l; - function c(d, g, h, m, n, r, p, u) { - this.CM = m; - this.nta = r; - this.WS = !1; - n.E8 && (d = new l.MEa().JVb(d)); - this.xb = u(d); - this.Uj = new k.XEa(this.xb); - this.Uj.Y2a(this.xb.fa.da); - this.log = g.Cb("PlaygraphManager"); - this.Pb = h.create(); - this.Gv = p.create(this.xb, this.Uj, this.log, this.Pb); - this.ESb(); + function c(d, g, h, m, n, q, p, t) { + this.ita = n; + this.aua = t; + this.VS = !1; + m.z8 && (d = new l.JEa().LVb(d)); + this.nb = p(d); + this.Uj = new k.UEa(this.nb); + this.Uj.Y2a(this.nb.ga.$); + this.log = g.Db("PlaygraphManager"); + this.Rb = h.create(); + this.Mv = q.create(this.nb, this.Uj, this.log, this.Rb); + this.ISb(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.LEa = void 0; + b.IEa = void 0; f = a(18); - k = a(1176); - l = a(1178); - c.prototype.TAb = function () { - return this.xb.y6; + k = a(1180); + l = a(1182); + c.prototype.WAb = function () { + return this.nb.x6; }; - c.prototype.$K = function () { - return this.xb.fa; + c.prototype.V2 = function () { + return this.nb.ga; }; c.prototype.PSa = function () { - return this.xb.Fh; + return this.nb.Eh; }; - c.prototype.UAb = function () { - return this.xb.Xl; + c.prototype.EF = function () { + return this.nb.yk; }; - c.prototype.Ak = function (d) { + c.prototype.Bk = function (d) { for (var g = [], h = 0; h < arguments.length; ++h) { g[h - 0] = arguments[h]; } - this.xb.Ak.apply(this.xb, ca(g)); + this.nb.Bk.apply(this.nb, ca(g)); }; - c.prototype.Oob = function (d) { + c.prototype.Pob = function (d) { for (var g = [], h = 0; h < arguments.length; ++h) { g[h - 0] = arguments[h]; } - this.xb.wMa(g); + this.nb.wMa(g); }; - c.prototype.gX = function (d) { - this.xb.Xl = d; + c.prototype.fX = function (d) { + this.nb.yk = d; }; c.prototype.ti = function (d, g) { - this.xb.ti(d, g); + this.nb.ti(d, g); }; - c.prototype.Mka = function (d, g, h) { + c.prototype.Ika = function (d, g, h) { + var m; h = void 0 === h ? {} : h; - if (d !== this.xb.Fh) + if (d !== this.nb.Eh) throw Error("Invalid currentSegmentId"); - if (g !== this.xb.h3(d)) + if (!Object.keys(null !== (m = this.EF().wa[d].next) && void 0 !== m ? m : {}).includes(g)) throw Error("Invalid nextSegmentId"); this.log.info("Transition initiated: " + d + " -> " + g); - return this.Gv.Nka(g, h); + this.Zra(); + return this.Mv.Jka(g, h); }; c.prototype.isReady = function () { - return this.Gv.isReady(); + return this.Mv.isReady(); }; c.prototype.addListener = function (d, g, h) { - this.Pb.addListener(d, g, h); + this.Rb.addListener(d, g, h); }; c.prototype.removeListener = function (d, g) { - this.Pb.removeListener(d, g); + this.Rb.removeListener(d, g); }; - c.prototype.qp = function () { - return this.Gv.qp(); + c.prototype.rp = function () { + return this.Mv.rp(); }; - c.prototype.cl = function () { - return this.Gv.cl(); + c.prototype.sb = function () { + return this.Mv.Ns(); }; - c.prototype.zq = function (d) { - var g, - h; - g = this; - this.log.info("Adding segment - movieId: " + d.K + ", startPts: " + d.Z + ", logicalEnd: " + d.uk); - h = Object.keys(this.xb.Xl.Ca).find(function (m) { - return g.xb.Xl.Ca[m].da === d.K; - }); - d.id || (d.id = null !== h && void 0 !== h ? h : this.CM.fT(d.K)); - d.sa && this.Uj.FE(d.K, d.sa); - this.Uj.Bkb(d.K, Object.assign({}, d.Fb, d.Z ? { - Z: d.Z - } - : {}, d.uk ? { - uk: d.uk - } - : {})); - if (!this.WS) - return (h = this.Gv.GM(d.id), this.cl().oy().addEventListener(f.W.NG, function (m) { - return g.qC(m); - }), this.WS = !0, h); - h || (this.xb.Xl = this.CM.nlb(this.xb.Xl, d), this.cl().oy().TA("addSegment movieId: " + d.K + ", startPts: " + d.Z + ", logicalEnd: " + d.uk)); - d.uk && this.xb.IWb(d.id, d.uk); - return this.Gv.GM(d.id); + c.prototype.msb = function (d, g, h) { + var m; + d = void 0 === d ? this.EF().Oe : d; + g = void 0 === g ? {} + : g; + m = this.aua.kPa(this); + this.FNb(null !== d && void 0 !== d ? d : this.EF().Oe, g, h); + return m; + }; + c.prototype.Mkb = function (d) { + var g; + this.log.info("Adding segment - movieId: " + d.K + ", startPts: " + d.X + ", logicalEnd: " + d.Li); + g = Object.assign({}, d.Hb, d.X ? { + X: d.X + } + : {}, d.Li ? { + Li: d.Li + } + : {}); + this.k4a(d.K, g, d.sa); + d = this.Mv.CLa(d); + this.Zra(); + return d; }; c.prototype.transition = function (d) { var g; - g = this.xb.h3(this.xb.Fh); - return g ? this.Mka(this.xb.Fh, g, d) : (this.log.error("Next segment is not defined"), Promise.reject()); + g = this.nb.Xja(this.nb.Eh); + return g ? this.Ika(this.nb.Eh, g, d) : (this.log.error("Next segment is not defined"), Promise.reject()); }; c.prototype.close = function (d) { - return this.Gv.close(d); + return this.Mv.close(d); + }; + c.prototype.FNb = function (d, g, h) { + var m; + void 0 === d && (d = null === (m = this.EF()) || void 0 === m ? void 0 : m.Oe); + (g || h) && this.k4a(this.EF().wa[d].$, null !== g && void 0 !== g ? g : {}, h); + this.Zra(); + this.Mv.CG(d); + }; + c.prototype.k4a = function (d, g, h) { + h && this.Uj.MJ(d, h); + this.Uj.Bkb(d, g); }; - c.prototype.ESb = function () { + c.prototype.ISb = function () { var d; d = this; - this.xb.mUb(function () { - d.Uj.mG(); - d.Gv.mG(); + this.nb.oUb(function () { + d.Uj.sG(); + d.Mv.sG(); }); - this.xb.nUb(function (g) { - d.Gv.Woa(g); + this.nb.pUb(function (g) { + d.Mv.Roa(g); }); - this.addListener(f.tI.q7, function () { - return d.dLb(); + this.addListener(f.LD.jW, function () { + return d.fLb(); }); - this.addListener(f.Rb.aWa, function (g) { - return d.SKb(g); + this.addListener(f.Ub.ZVa, function (g) { + return d.UKb(g); }); }; - c.prototype.SKb = function (d) { + c.prototype.Zra = function () { + var d; + d = this; + this.VS || (this.sb().CB().addEventListener(f.Z.WG, function (g) { + return d.sC(g); + }), this.VS = !0); + }; + c.prototype.UKb = function (d) { var g; g = this; - this.Gv.C5a(d).catch(function () { - return g.Pb.tc(f.Rb.error, d.gta()); + this.Mv.E5a(d).catch(function () { + return g.Rb.qc(f.Ub.error, d.ata()); }); }; - c.prototype.dLb = function () { + c.prototype.fLb = function () { var d; - d = this.cl().getError(); - d ? this.Pb.tc(f.Rb.Efa, d) : (this.Pb.tc(f.Rb.EMa), this.Pb.tc(f.Rb.xR), this.Pb.tc(f.Rb.kH), this.Pb.tc(f.Rb.Az), this.Pb.tc(f.Rb.bX), this.Pb.tc(f.Rb.Efa)); + d = this.sb().getError(); + d ? this.Rb.qc(f.Ub.xfa, d) : (this.Rb.qc(f.Ub.EMa), this.Rb.qc(f.Ub.yR), this.Rb.qc(f.Ub.sH), this.Rb.qc(f.Ub.Dz), this.Rb.qc(f.Ub.aX), this.Rb.qc(f.Ub.xfa)); }; - c.prototype.qC = function (d) { + c.prototype.sC = function (d) { var g, h, m; !1; g = d.metrics; if (g) { - h = this.cl().oy(); - m = h.Qq(d.segmentId); - g = h.Qq(g.srcsegment); - this.nta.gOb(d, m, g); + h = this.sb().CB(); + m = h.wp(d.position.segmentId); + g = h.wp(g.srcsegment); + this.ita.lOb(d, m, g); } }; - b.LEa = c; - }, function (q, b, a) { + b.IEa = c; + }, function (r, b, a) { var f; function c(k) { - this.Fa = k; + this.Ba = k; this.XN = {}; - this.mG(); + this.sG(); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.XEa = void 0; - f = a(1177); - c.prototype.mG = function () { + b.UEa = void 0; + f = a(1181); + c.prototype.sG = function () { var k; k = this; - Object.values(this.Fa.Xl.Ca).forEach(function (l) { - l = l.da; - k.XN[l] || k.XVa(l); + Object.values(this.Ba.yk.wa).forEach(function (l) { + l = l.$; + k.XN[l] || k.VVa(l); }); - this.z8(); + this.v8(); }; - c.prototype.kL = function (k) { + c.prototype.nL = function (k) { return this.XN[k]; }; - c.prototype.VRb = function (k) { - this.xT(k).state = f.Nw.Cya; - this.z8(); + c.prototype.YRb = function (k) { + this.vT(k).state = f.Sw.Aya; + this.v8(); }; - c.prototype.URb = function (k, l) { - k = this.xT(k); - k.state = f.Nw.Error; + c.prototype.XRb = function (k, l) { + k = this.vT(k); + k.state = f.Sw.Error; k.error = l; - k.g2a(!1); - this.z8(); + k.f2a(!1); + this.v8(); }; c.prototype.Y2a = function (k) { - k = this.xT(k); - k.state = f.Nw.g$a; - k.g2a(!0); - this.z8(); + k = this.vT(k); + k.state = f.Sw.i$a; + k.f2a(!0); + this.v8(); }; c.prototype.Bkb = function (k, l) { - this.xT(k).Fb = l; + this.vT(k).Hb = l; }; - c.prototype.FE = function (k, l) { - this.xT(k).sa = l; + c.prototype.MJ = function (k, l) { + this.vT(k).sa = l; }; - c.prototype.xT = function (k) { + c.prototype.vT = function (k) { var l; - return null !== (l = this.kL(k)) && void 0 !== l ? l : this.XVa(k); + return null !== (l = this.nL(k)) && void 0 !== l ? l : this.VVa(k); }; - c.prototype.XVa = function (k) { + c.prototype.VVa = function (k) { var l, d; l = void 0; @@ -131630,128 +131665,150 @@ a000.D9b = function () { }; }); return this.XN[k] = { - state: f.Nw.yCa, - JOb: d, - g2a: l + state: f.Sw.wCa, + OOb: d, + f2a: l }; }; - c.prototype.z8 = function () { + c.prototype.v8 = function () { var l; - for (var k = this.Fa.Fh; k = this.Fa.h3(k); ) { - l = this.Ls(k); - if (this.XN[l].state === f.Nw.Error) + for (var k = this.Ba.Eh; k = this.Ba.Xja(k); ) { + l = this.zp(k); + if (this.XN[l].state === f.Sw.Error) break; - if (this.XN[l].state === f.Nw.Cya) + if (this.XN[l].state === f.Sw.Aya) break; - if (this.XN[l].state === f.Nw.yCa) + if (this.XN[l].state === f.Sw.wCa) break; } }; - c.prototype.Ls = function (k) { - return this.Fa.Xl.Ca[k].da; + c.prototype.zp = function (k) { + return this.Ba.yk.wa[k].$; }; - b.XEa = c; - }, function (q, b) { + b.UEa = c; + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Nw = void 0; - q = b.Nw || (b.Nw = {}); - q[q.yCa = 0] = "None"; - q[q.Cya = 1] = "Fetching"; - q[q.g$a = 2] = "Done"; - q[q.Error = 3] = "Error"; - }, function (q, b, a) { + b.Sw = void 0; + r = b.Sw || (b.Sw = {}); + r[r.wCa = 0] = "None"; + r[r.Aya = 1] = "Fetching"; + r[r.i$a = 2] = "Done"; + r[r.Error = 3] = "Error"; + }, function (r, b, a) { var f; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.MEa = void 0; - f = a(73); - c.prototype.JVb = function (k) { + b.JEa = void 0; + f = a(67); + c.prototype.LVb = function (k) { var l; - if (!this.hFb(k.Ca)) + if (!this.kFb(k.wa)) return k; - l = new f.rI().rW(k.hg); - Object.entries(k.Ca).forEach(function (d) { + l = new f.KD().qW(k.Oe); + Object.entries(k.wa).forEach(function (d) { var g; g = aa(d); d = g.next().value; g = g.next().value; - d === k.hg ? l.zq(d, Object.assign(Object.assign({}, g), { + d === k.Oe ? l.Cn(d, Object.assign(Object.assign({}, g), { next: void 0, - Yc: void 0, - Ki: void 0 - })) : l.zq(d, g); + Fc: void 0, + Fh: void 0 + })) : l.Cn(d, g); }); - return l.ek(); + return l.wj(); }; - c.prototype.hFb = function (k) { + c.prototype.kFb = function (k) { k = Object.values(k).map(function (l) { - return l.da; + return l.$; }); return 1 === new Set(k).size; }; - b.MEa = c; - }, function (q, b, a) { - var f; - function c() {} + b.JEa = c; + }, function (r, b, a) { + var f, + k, + l; + function c(d) { + this.La = d; + } Object.defineProperty(b, "__esModule", { value: !0 }); - b.WEa = void 0; - q = a(1); + b.TEa = void 0; + r = a(1); f = a(0); - c.prototype.create = function (k, l) { - return new(a(291).JZ)(k, l); + k = a(20); + c.prototype.create = function (d) { + return new(a(293).LZ)(this.La.Xb(), d); }; - c.prototype.lPa = function (k, l) { - return new(a(1180).MHa)(k, l); + c.prototype.kPa = function (d) { + return new(a(1184).IHa)(this.La.Xb(), d); }; - q = q.__decorate([f.R()], c); - b.WEa = q; - }, function (q, b, a) { + l = c; + l = r.__decorate([f.R(), r.__param(0, f.l(k.zd))], l); + b.TEa = l; + }, function (r, b, a) { var f; function c(k, l) { var d; - d = f.JZ.call(this, k, l) || this; + d = f.LZ.call(this, k, l) || this; d.seek = function (g) { - return d.Mb().seek(g); + return d.sb().seek(g); }; d.addEpisode = function (g) { var h, - m; + m, + n, + q, + p, + t, + u; d.log.info("Next episode added", g); - h = d.ZXa(g.playbackParams); - m = ("startPts" in g) ? g.startPts : ("nextStartPts" in g) ? g.nextStartPts : h.Z; - if (void 0 === m || 0 > m) - m = 0; - return d.Lh.zq({ + t = d.XXa(g.playbackParams); + u = Math.max(0, null !== (n = null !== (m = null !== (h = g.startPts) && void 0 !== h ? h : g.nextStartPts) && void 0 !== m ? m : t.X) && void 0 !== n ? n : 0); + h = null !== (p = null !== (q = g.endPts) && void 0 !== q ? q : g.currentEndPts) && void 0 !== p ? p : t.Li; + return d.Kh.Mkb({ K: g.movieId, - Z: m, - uk: ("endPts" in g) ? g.endPts : ("currentEndPts" in g) ? g.currentEndPts : h.uk, - Fb: h, + X: u, + Li: h, + Hb: t, sa: g.manifest, - Wl: d.Wl + Vl: d.Vl }); }; d.playNextEpisode = function (g) { + var h, + m, + n, + q, + p; g = void 0 === g ? {} : g; - g = d.ZXa(g); + g = d.XXa(g); d.log.info("Playing the next episode", g); - return d.Lh.Mka(d.Lh.PSa(), d.Lh.$K().Ki, g); + m = d.Kh.PSa(); + n = d.Kh.EF(); + q = n.wa[m]; + p = Object.keys(null !== (h = q.next) && void 0 !== h ? h : {}).find(function (t) { + return q.$ !== n.wa[t].$; + }); + if (p) + return d.Kh.Ika(m, p, g); }; d.watchCredits = function () {}; d.playSegment = function (g) { - return d.Mb().IMb(g); + return d.sb().LMb(g); }; d.queueSegment = function (g) { - return d.Mb().AOb(g); + return d.sb().FOb(g); }; d.updateNextSegmentWeights = function (g, h) { - return d.Mb().ti(g, h); + return d.sb().ti(g, h); }; d.setNextSegment = function (g) { for (var h = [], m = 0; m < arguments.length; ++m) { @@ -131760,19 +131817,19 @@ a000.D9b = function () { h = h.map(function (n) { return { va: n.segmentId, - UU: n.nextSegmentId + TU: n.nextSegmentId }; }); - d.Lh.Ak.apply(d.Lh, ca(h)); + d.Kh.Bk.apply(d.Kh, ca(h)); }; d.clearNextSegment = function (g) { for (var h = [], m = 0; m < arguments.length; ++m) { h[m - 0] = arguments[m]; } - return d.Lh.Oob.apply(d.Lh, ca(h)); + return d.Kh.Pob.apply(d.Kh, ca(h)); }; d.goToNextSegment = function (g, h) { - return d.Lh.Mka(g, h); + return d.Kh.Ika(g, h); }; d.getPlaying = function () { return d.isPlaying(); @@ -131790,28 +131847,28 @@ a000.D9b = function () { return d.isTimedTextVisible(); }; d.isTimedTextVisible = function () { - return !!d.Mb().r3().visibility; + return !!d.sb().s3().visibility; }; d.setTimedTextVisibility = function (g) { return d.setTimedTextVisible(g); }; d.setTimedTextSize = function (g) { - return d.Mb().uW({ + return d.sb().tW({ size: g }); }; d.setTimedTextBounds = function (g) { - return d.Mb().uW({ + return d.sb().tW({ bounds: g }); }; d.setTimedTextMargins = function (g) { - return d.Mb().uW({ + return d.sb().tW({ margins: g }); }; d.setTimedTextVisible = function (g) { - return d.Mb().uW({ + return d.sb().tW({ visibility: g }); }; @@ -131827,22 +131884,22 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.MHa = void 0; - f = a(291); - ka(c, f.JZ); - b.MHa = c; - }, function (q, b, a) { + b.IHa = void 0; + f = a(293); + ja(c, f.LZ); + b.IHa = c; + }, function (r, b, a) { var f, k; function c() {} Object.defineProperty(b, "__esModule", { value: !0 }); - b.HEa = void 0; - q = a(1); + b.FEa = void 0; + r = a(1); f = a(0); - k = a(73); - c.prototype.gsb = function (l) { + k = a(67); + c.prototype.hsb = function (l) { var h, m, n; @@ -131852,58 +131909,56 @@ a000.D9b = function () { h = this; if (0 === d.length) throw Error("Empty playgraph"); - m = new k.rI().rW(this.fT(d[0])); - d.reverse().forEach(function (r) { + m = new k.KD().qW(this.ov(d[0])); + d.reverse().forEach(function (q) { var p; - p = h.fT(r); - m.zq(p, Object.assign({ - da: r, - xc: 0, - Yc: Infinity + p = h.ov(q); + m.Cn(p, Object.assign({ + $: q, + jc: 0, + Fc: Infinity }, n ? { - Ki: n + Fh: n } : {})); n = p; }); - return m.ek(); + return m.wj(); }; - c.prototype.fT = function (l, d) { - return l + ":[startPts:" + (void 0 === d ? 0 : d) + "]"; + c.prototype.ov = function (l, d) { + return l + ":" + (void 0 === d ? "main" : d); }; - c.prototype.nlb = function (l, d) { + c.prototype.plb = function (l, d) { var g, h, m, n; if (void 0 === m) - m = null !== (h = d.id) && void 0 !== h ? h : this.fT(d.K, d.Z); - void 0 === g && (g = "pauseAtStart"); - h = this.dAb(l); - n = new k.rI(l); - n.zq(m, { - da: d.K, - xc: d.Z || 0, - Yc: Infinity, - Yd: g - }); - l = l.Ca[h]; + m = null !== (g = d.id) && void 0 !== g ? g : this.ov(d.K); + g = this.wTa(l); + n = new k.KD(l); + n.Cn(m, { + $: d.K, + jc: null !== (h = d.X) && void 0 !== h ? h : 0, + Fc: Infinity + }); + l = l.wa[g]; d = {}; - n.zq(h, Object.assign({}, l, { - Ki: m, + n.Cn(g, Object.assign({}, l, { + Fh: m, next: Object.assign({}, l.next || ({}), (d[m] = {}, d)) })); - return n.ek(); + return n.wj(); }; - c.prototype.dAb = function (l) { - for (var d = l.hg, g = d; g = l.Ca[g].Ki; ) { + c.prototype.wTa = function (l) { + for (var d = l.Oe, g = d; g = l.wa[g].Fh; ) { d = g; } return d; }; - a = q.__decorate([f.R()], c); - b.HEa = a; - }, function (q, b, a) { + a = r.__decorate([f.R()], c); + b.FEa = a; + }, function (r, b, a) { var f, k, l, @@ -131915,51 +131970,58 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.FEa = void 0; - q = a(1); + b.DEa = void 0; + r = a(1); f = a(0); k = a(45); l = a(37); d = a(44); - g = a(5); - ka(c, k.ff); + g = a(4); + ja(c, k.ff); Xa.Object.defineProperties(c.prototype, { - GNb: { + LNb: { configurable: !0, enumerable: !0, get: function () { return 2; } }, - FNb: { + KNb: { configurable: !0, enumerable: !0, get: function () { return g.B5(3); } }, - Xta: { + Tta: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - E8: { + z8: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - t6a: { + w6a: { + configurable: !0, + enumerable: !0, + get: function () { + return !1; + } + }, + $Ra: { configurable: !0, enumerable: !0, get: function () { return !1; } }, - aSa: { + r0a: { configurable: !0, enumerable: !0, get: function () { @@ -131968,15 +132030,16 @@ a000.D9b = function () { } }); a = c; - q.__decorate([d.config(d.Fz, "prepareSegmentsUpfront")], a.prototype, "GNb", null); - q.__decorate([d.config(d.vk, "prepareSegmentsDuration")], a.prototype, "FNb", null); - q.__decorate([d.config(d.ud, "usePlaygraphForPostPlay")], a.prototype, "Xta", null); - q.__decorate([d.config(d.ud, "usePlaygraphForSkipSegment")], a.prototype, "E8", null); - q.__decorate([d.config(d.ud, "useSinglePlayerPlayback")], a.prototype, "t6a", null); - q.__decorate([d.config(d.ud, "forcePlaygraphTrace")], a.prototype, "aSa", null); - a = q.__decorate([f.R(), q.__param(0, f.l(l.km))], a); - b.FEa = a; - }, function (q, b, a) { + r.__decorate([d.config(d.Iz, "prepareSegmentsUpfront")], a.prototype, "LNb", null); + r.__decorate([d.config(d.uk, "prepareSegmentsDuration")], a.prototype, "KNb", null); + r.__decorate([d.config(d.ad, "usePlaygraphForPostPlay")], a.prototype, "Tta", null); + r.__decorate([d.config(d.ad, "usePlaygraphForSkipSegment")], a.prototype, "z8", null); + r.__decorate([d.config(d.ad, "useSinglePlayerPlayback")], a.prototype, "w6a", null); + r.__decorate([d.config(d.ad, "forcePlaygraphTrace")], a.prototype, "$Ra", null); + r.__decorate([d.config(d.ad, "postPlayDefaultNextEpisode")], a.prototype, "r0a", null); + a = r.__decorate([f.R(), r.__param(0, f.l(l.jm))], a); + b.DEa = a; + }, function (r, b, a) { var f, k, l, @@ -131985,357 +132048,435 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u, t, w, v, x) { - this.Pa = p; - this.hRb = t; - this.kl = v; - this.$n = x; - this.fRb = u.xB(!1, "6.0031.809.911", p.id, x, w); + q, + p; + function c(t, u, w, v, x, y, z) { + this.La = t; + this.lRb = w; + this.xk = x; + this.Kp = z; + this.kRb = u.xB(!1, "6.0032.282.911", t.id, y, v); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.PEa = void 0; - q = a(1); + b.MEa = void 0; + r = a(1); f = a(0); k = a(20); l = a(154); - d = a(1184); - g = a(329); - h = a(205); + d = a(1188); + g = a(331); + h = a(206); m = a(15); - n = a(522); - a = a(36); - c.prototype.create = function (p, u, t, w) { - var v, - x; - v = this.hRb.Wrb(p, this.fRb, u); - x = p.Yta; - t.debug("Using " + (x ? "single" : "multiple") + " player playback strategy"); - return x ? new d.rGa(this.kl, p, u, t, this.Pa, v, w) : new n.xD(p, u, v, w); - }; - r = c; - r = q.__decorate([f.R(), q.__param(0, f.l(k.zd)), q.__param(1, f.l(g.dGa)), q.__param(2, f.l(h.pba)), q.__param(3, f.l(m.dd)), q.__param(4, f.l(l.sI)), q.__param(5, f.l(a.CP))], r); - b.PEa = r; - }, function (q, b, a) { + n = a(525); + q = a(36); + a = a(185); + c.prototype.create = function (t, u, w, v) { + var x, + y; + x = this.lRb.Xrb(t, this.kRb, u); + y = t.Uta; + w.debug("Using " + (y ? "single" : "multiple") + " player playback strategy"); + return y ? new d.nGa(this.xk, t, u, w, this.La, x, v, this.Kp) : new n.zD(t, u, x, v, this.Kp); + }; + p = c; + p = r.__decorate([f.R(), r.__param(0, f.l(k.zd)), r.__param(1, f.l(g.$Fa)), r.__param(2, f.l(h.jba)), r.__param(3, f.l(m.ed)), r.__param(4, f.l(l.yI)), r.__param(5, f.l(q.CP)), r.__param(6, f.l(a.jZ))], p); + b.MEa = p; + }, function (r, b, a) { var f, k, l, d, - g; - function c(h, m, n, r, p, u, t) { - var w; - w = d.xD.call(this, m, n, u, t) || this; - w.kl = h; - w.ya = r; - w.Pa = p; - w.WS = !1; - w.lia = new Map(); - w.VKb = function () { - w.cl().oy().addEventListener(f.W.NG, function (v) { - w.xb.Fh = v.va; - }); - }; - w.ODb(); - t.addListener(f.Rb.loaded, w.VKb); - return w; + g, + h; + function c(m, n, q, p, t, u, w, v) { + var x; + x = g.zD.call(this, n, q, u, w, v) || this; + x.xk = m; + x.za = p; + x.La = t; + x.VS = !1; + x.eia = new Map(); + x.XKb = function () { + x.Ns().CB().addEventListener(k.Z.WG, function (y) { + x.Rb.qc(k.LD.jW); + x.nb.Eh = y.position.segmentId; + }); + }; + x.SDb(); + w.addListener(k.Ub.loaded, x.XKb); + return x; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.rGa = void 0; - f = a(18); - k = a(5); - l = a(3); - d = a(522); - g = a(122); - ka(c, d.xD); - c.prototype.mG = function () { - this.cl().oy().mG(); - }; - c.prototype.Woa = function () {}; - c.prototype.Nka = function (h, m) { - var n, - r, - p; - m = void 0 === m ? {} - : m; - n = this.xb.Me(h); - if (this.kl.E8 && this.xb.fa.da === n.da) - return Promise.resolve(this.cl().seek(n.xc, f.Jd.Iw, void 0)); - m = g.Sna(this.Uj.kL(n.da).Fb, m); - r = this.cl().oy(); - n = r.Ma; - if (null === n || void 0 === n || !n.dh) - throw (this.ya.debug("No streaming session. Aborting transition"), Error("No streaming session")); - this.ya.debug("going to next segment: " + this.xb.Fh + " -> " + h); - r.TA("Transition " + this.xb.Fh + "->" + h); - p = r.Qq(h); - p.dm = this.Pa.Zb().ea(k.ma); - p.kb = m; - return (void 0 !== n.iT(h) ? this.dCb(h, p.K) : this.hW(h, p.K)).then(function () { - r.wxb(p.K); - }); - }; - c.prototype.hW = function (h, m) { - var n; - n = this.xb.Xl.Ca[h].xc; - this.ya.debug("Segment is not pre-buffered - performing a regular seek"); - this.cl().oy().TA("NO DATA " + h + ", SEEKING " + n + ", viewableId: " + m); - return Promise.resolve(this.cl().seek(n, f.Jd.Iw, h, !0)); - }; - c.prototype.dCb = function (h, m) { + b.nGa = void 0; + f = a(67); + k = a(18); + l = a(4); + d = a(3); + g = a(525); + h = a(121); + ja(c, g.zD); + c.prototype.CLa = function (m) { var n, - r, + q, p, + t, u, - t; + w, + v, + x, + y, + z, + A; n = this; - r = this.cl().oy(); - p = r.Ma; - if (null === p || void 0 === p || !p.dh) + p = this.nb.yk; + t = this.Kp.ov(m.K, "ident"); + u = this.Kp.ov(m.K, "main"); + w = this.Kp.ov(m.K, "credits"); + v = isFinite(m.Li); + x = isFinite(m.X) && m.K !== p.wa[p.Oe].$; + y = {}; + z = new f.KD(p).Cn(u, Object.assign({ + $: m.K, + jc: x && m.X || 0, + Fc: null !== (q = m.Li) && void 0 !== q ? q : Infinity + }, v ? { + next: (y[w] = {}, y), + Fh: w + } + : {})); + x && (q = {}, z.Cn(t, { + $: m.K, + jc: 0, + Fc: m.X, + next: (q[u] = {}, q), + Fh: u + })); + v && z.Cn(w, { + $: m.K, + jc: m.Li, + Fc: Infinity + }); + if (!this.nb.VG(u)) { + m = p.wa[this.Kp.wTa(p)].$; + A = this.Kp.ov(m, "credits"); + [this.Kp.ov(m, "main"), A].filter(function (B) { + return n.nb.VG(B); + }).forEach(function (B) { + var C, + E, + G; + C = n.nb.ze(B); + E = B === A || n.xk.r0a; + G = {}; + z.Cn(B, Object.assign({}, C, { + next: Object.assign({}, C.next, (G[u] = {}, G)) + }, E ? { + Fh: u + } + : {})); + }); + } + this.nb.yk = z.wj(); + return this.CG(u); + }; + c.prototype.sG = function () { + this.isReady() && this.Ns().CB().sG(); + }; + c.prototype.Roa = function () {}; + c.prototype.Jka = function (m, n) { + var q, + p, + t; + n = void 0 === n ? {} + : n; + q = this.nb.ze(m); + if (this.xk.z8 && this.nb.ga.$ === q.$) + return Promise.resolve(this.Ns().seek(q.jc, k.me.mA, void 0)); + n = h.Nna(this.Uj.nL(q.$).Hb, n); + p = this.Ns().CB(); + q = p.Pa; + if (null === q || void 0 === q || !q.Ah) + throw (this.za.debug("No streaming session. Aborting transition"), Error("No streaming session")); + this.za.debug("going to next segment: " + this.nb.Eh + " -> " + m); + p.IE("Transition " + this.nb.Eh + "->" + m); + t = p.wp(m); + t.bm = this.La.Xb().ea(l.ma); + t.kb = n; + return (void 0 !== q.gT(m) ? this.fCb(m, t.K) : this.hW(m, t.K)).then(function () { + p.Cxb(t.K); + }); + }; + c.prototype.hW = function (m, n) { + var q; + q = this.nb.yk.wa[m].jc; + this.za.debug("Segment is not pre-buffered - performing a regular seek"); + this.Ns().CB().IE("NO DATA " + m + ", SEEKING " + q + ", viewableId: " + n); + return Promise.resolve(this.Ns().seek(q, k.me.mA, m, !0)); + }; + c.prototype.fCb = function (m, n) { + var q, + p, + t, + u, + w, + v; + q = this; + p = this.Ns().CB(); + t = p.Pa; + if (null === t || void 0 === t || !t.Ah) throw Error("No streaming session"); - u = new Promise(function (w) { - function v() { - n.ya.debug("Stopped ASE"); - p.removeEventListener("stop", v); - w(); + u = new Promise(function (x) { + function y() { + q.za.debug("Stopped ASE"); + t.removeEventListener("stop", y); + x(); } - p.addEventListener("stop", v); + t.addEventListener("stop", y); }); - t = new Promise(function (w) { - function v() { - n.ya.debug("Repositioned"); - r.removeEventListener(f.W.Zl, v); - w(); + w = !1; + v = new Promise(function (x) { + function y(A) { + q.za.debug("Repositioned"); + p.removeEventListener(k.Z.Xl, y); + w = A.skip; + x(); } - function x() { - n.ya.debug("Repositioning"); - r.removeEventListener(f.W.EG, x); - p.stop(); + function z() { + q.za.debug("Repositioning"); + p.removeEventListener(k.Z.LG, z); + t.stop(); } - r.addEventListener(f.W.EG, x); - r.addEventListener(f.W.Zl, v); - }); - u = Promise.all([u, t]).then(function () { - if (!p.ns(h, !1, !0)) - return (r.TA("Seek forced - ASE chooseNextSegment failed. Likely ASE entered panic mode and chose a default segment."), n.hW(h, m)); + p.addEventListener(k.Z.LG, z); + p.addEventListener(k.Z.Xl, y); }); - t = p.dK(h, this.xb.Xl.Ca[h].xc); - this.ya.debug("Calling seek on internal player to " + t); - this.cl().seek(t, f.Jd.HD, h, !0); + u = Promise.all([u, v]).then(function () { + var x; + x = !1; + w && (x = t.rs(m, !1, !0)); + if (!x) + return (p.IE("Seek forced - ASE chooseNextSegment failed. Likely ASE entered panic mode and chose a default segment."), q.hW(m, n)); + }); + v = t.hK(m, this.nb.yk.wa[m].jc); + this.za.debug("Calling seek on internal player to " + v); + this.Ns().seek(v, k.me.CI, m, !0); return u; }; - c.prototype.GM = function (h) { - return this.WS ? this.Uj.kL(this.xb.Me(h).da).JOb : (this.WS = !0, d.xD.prototype.GM.call(this, h)); + c.prototype.CG = function (m) { + if (m === this.jRb) + return null; + this.jRb = m; + return this.VS ? this.Uj.nL(this.nb.ze(m).$).OOb : (this.VS = !0, g.zD.prototype.CG.call(this, m)); }; - c.prototype.C5a = function (h) { - return h.errorCode && this.lia.has(h.errorCode) ? this.lia.get(h.errorCode)(h) : Promise.reject(Error("Error " + h.errorCode + " isn't recoverable")); + c.prototype.E5a = function (m) { + return m.errorCode && this.eia.has(m.errorCode) ? this.eia.get(m.errorCode)(m) : Promise.reject(Error("Error " + m.errorCode + " isn't recoverable")); }; - c.prototype.ODb = function () { - var h; - h = this; - this.lia.set(l.L.aDa, function () { - var m, - n; - return null !== (n = null === (m = d.xD.prototype.GM.call(h, h.xb.Fh)) || void 0 === m ? void 0 : m.then(function () { - var r, - p; - d.xD.prototype.Nka.call(h, h.xb.Fh, null !== (p = null === (r = h.Uj.kL(h.xb.fa.da)) || void 0 === r ? void 0 : r.Fb) && void 0 !== p ? p : {}); - })) && void 0 !== n ? n : Promise.reject(Error("Couldn't prepare segment for transition")); + c.prototype.SDb = function () { + var m; + m = this; + this.eia.set(d.M.XCa, function () { + var n, + q; + return null !== (q = null === (n = g.zD.prototype.CG.call(m, m.nb.Eh)) || void 0 === n ? void 0 : n.then(function () { + var p, + t; + g.zD.prototype.Jka.call(m, m.nb.Eh, null !== (t = null === (p = m.Uj.nL(m.nb.ga.$)) || void 0 === p ? void 0 : p.Hb) && void 0 !== t ? t : {}); + })) && void 0 !== q ? q : Promise.reject(Error("Couldn't prepare segment for transition")); }); }; - b.rGa = c; - }, function (q, b, a) { + b.nGa = c; + }, function (r, b, a) { var f, k; function c(l, d, g) { - this.HF = d; - this.kl = g; - this.H_ = {}; - this.V5a = []; - this.I3a = []; - this.Qea = new WeakMap(); + this.MF = d; + this.xk = g; + this.K_ = {}; + this.X5a = []; + this.J3a = []; + this.Jea = new WeakMap(); this.reset(l); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.VEa = void 0; - f = a(73); - k = a(73); + b.SEa = void 0; + f = a(67); + k = a(67); c.prototype.reset = function (l) { var d; - d = 1 < Object.keys(l.Ca).length && 1 === new Set(Object.values(l.Ca).map(function (g) { - return g.da; + d = 1 < Object.keys(l.wa).length && 1 === new Set(Object.values(l.wa).map(function (g) { + return g.$; })).size; - this.Ljb = this.kl.t6a || d; + this.Ljb = this.xk.w6a || d; this.h3a(l); - this.Fh = l.hg; - this.tib = this.HF.lB(); - this.osa = new Map(); + this.Eh = l.Oe; + this.uib = this.MF.mB(); + this.isa = new Map(); }; - c.prototype.l3 = function (l) { - if (this.Yta) - return this.Xl; - this.Qea.has(l) || this.Qea.set(l, f.XG(l.K, l.va)); - return this.Qea.get(l); + c.prototype.m3 = function (l) { + if (this.Uta) + return this.yk; + this.Jea.has(l) || this.Jea.set(l, f.eH(l.K, l.va)); + return this.Jea.get(l); }; c.prototype.h3a = function (l) { - this.uib = l; - this.H_ = {}; - l = Object.keys(l.Ca); + this.vib = l; + this.K_ = {}; + l = Object.keys(l.wa); this.wMa(l); - this.eKb(); + this.gKb(); }; - c.prototype.Ak = function (l) { + c.prototype.Bk = function (l) { var h; for (var d = [], g = 0; g < arguments.length; ++g) { d[g - 0] = arguments[g]; } h = this; d.filter(function (m) { - return h.jW(m.va); + return h.VG(m.va); }).filter(function (m) { - m = m.UU; - return !m || h.jW(m); + m = m.TU; + return !m || h.VG(m); }).forEach(function (m) { - h.H_[m.va] = h.LZa(m.UU); + h.K_[m.va] = h.JZa(m.TU); }); }; c.prototype.wMa = function (l) { var d; d = this; l.filter(function (g) { - return d.jW(g); + return d.VG(g); }).forEach(function (g) { - d.H_[g] = d.LZa(d.Me(g).Ki); + d.K_[g] = d.JZa(d.ze(g).Fh); }); }; c.prototype.ti = function (l, d) { var g, h, m; - g = this.Me(l); + g = this.ze(l); if (g && g.next) { - h = new k.rI(this.Xl); - m = Object.keys(g.next).reduce(function (n, r) { - n[r] = void 0 === d[r] ? g.next[r] : Object.assign({}, g.next[r], { - weight: d[r] + h = new k.KD(this.yk); + m = Object.keys(g.next).reduce(function (n, q) { + n[q] = void 0 === d[q] ? g.next[q] : Object.assign({}, g.next[q], { + weight: d[q] }); return n; }, {}); m = Object.assign({}, g, { next: m }); - h.zq(l, m); - this.Xl = h.ek(); + h.Cn(l, m); + this.yk = h.wj(); } }; - c.prototype.jW = function (l, d) { - d = void 0 === d ? this.Xl.Ca : d; + c.prototype.VG = function (l, d) { + d = void 0 === d ? this.yk.wa : d; return (l in d); }; - c.prototype.h3 = function (l) { - return this.H_[l]; + c.prototype.Xja = function (l) { + return this.K_[l]; }; - c.prototype.Me = function (l) { - return this.Xl.Ca[l]; + c.prototype.ze = function (l) { + return this.yk.wa[l]; }; - c.prototype.vBb = function (l) { - if (this.osa.has(l)) - return this.osa.get(l); - l = this.Me(l); - return isFinite(l.Yc) ? l.Yc : void 0; + c.prototype.xBb = function (l) { + if (this.isa.has(l)) + return this.isa.get(l); + l = this.ze(l); + return isFinite(l.Fc) ? l.Fc : void 0; }; - c.prototype.IWb = function (l, d) { - this.osa.set(l, d); - this.aKb(l); + c.prototype.KWb = function (l, d) { + this.isa.set(l, d); + this.cKb(l); }; - c.prototype.mUb = function (l) { - this.V5a.push(l); + c.prototype.oUb = function (l) { + this.X5a.push(l); }; - c.prototype.nUb = function (l) { - this.I3a.push(l); + c.prototype.pUb = function (l) { + this.J3a.push(l); }; - c.prototype.eKb = function () { + c.prototype.gKb = function () { var l; l = this; - this.V5a.forEach(function (d) { - return d(l.Xl); + this.X5a.forEach(function (d) { + return d(l.yk); }); }; - c.prototype.aKb = function (l) { - this.I3a.forEach(function (d) { + c.prototype.cKb = function (l) { + this.J3a.forEach(function (d) { return d(l); }); }; - c.prototype.LZa = function (l) { + c.prototype.JZa = function (l) { return null === l ? void 0 : l; }; Xa.Object.defineProperties(c.prototype, { - y6: { + x6: { configurable: !0, enumerable: !0, get: function () { - return this.tib; + return this.uib; } }, - Yta: { + Uta: { configurable: !0, enumerable: !0, get: function () { return this.Ljb; } }, - Xl: { + yk: { configurable: !0, enumerable: !0, get: function () { - return this.uib; + return this.vib; }, set: function (l) { - if (this.Fh && !this.jW(this.Fh, l.Ca)) - throw Error("Provided playgraphMap does not contain the current segmentId " + this.Fh); + if (this.Eh && !this.VG(this.Eh, l.wa)) + throw Error("Provided playgraphMap does not contain the current segmentId " + this.Eh); this.h3a(l); } }, - Fh: { + Eh: { configurable: !0, enumerable: !0, get: function () { - return this.Hfb; + return this.Ifb; }, set: function (l) { - if (!this.jW(l)) + if (!this.VG(l)) throw Error("Provided currentSegmentId " + l + " does not exist in the current playgraph"); - this.Hfb = l; + this.Ifb = l; } }, - fa: { + ga: { configurable: !0, enumerable: !0, get: function () { - return this.Me(this.Fh); + return this.ze(this.Eh); } } }); - b.VEa = c; - }, function (q, b, a) { + b.SEa = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); b.zMa = void 0; - q = a(0); - c = a(1187); + r = a(0); + c = a(1191); f = a(32); - b.zMa = new q.ad(function (k) { - k(f.Zg).to(c.kva).$(); + b.zMa = new r.$c(function (k) { + k(f.Xg).to(c.hva).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -132344,112 +132485,112 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; - function c(v, x, y, z, B, A) { + function c(v, x, y, z, A, B) { var C; C = this; this.Dk = v; this.config = y; - this.co = z; - this.debug = B; - this.Pa = A; - this.h5a = []; + this.eo = z; + this.debug = A; + this.La = B; + this.j5a = []; this.bd = {}; - this.log = x.Cb("loadAsync"); - this.sHb = u.Kya(function (E) { - C.qPb = !0; - C.startTime = C.Pa.Zb().ea(r.ma); - C.load(C.h5a).then(function () { - C.endTime = C.Pa.Zb().ea(r.ma); - E(w.Ee); - }).catch(function (F) { - C.endTime = C.Pa.Zb().ea(r.ma); - E(F); + this.log = x.Db("loadAsync"); + this.vHb = t.Iya(function (E) { + C.vPb = !0; + C.startTime = C.La.Xb().ea(q.ma); + C.load(C.j5a).then(function () { + C.endTime = C.La.Xb().ea(q.ma); + E(w.Ge); + }).catch(function (G) { + C.endTime = C.La.Xb().ea(q.ma); + E(G); }); }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.kva = void 0; - q = a(1); - f = a(69); + b.hva = void 0; + r = a(1); + f = a(70); k = a(3); - l = a(1188); - d = a(65); + l = a(1192); + d = a(66); g = a(0); h = a(8); m = a(15); - n = a(60); - r = a(5); + n = a(61); + q = a(4); p = a(91); - u = a(523); - t = a(20); + t = a(526); + u = a(20); w = a(12); - c.prototype.pU = function (v) { - this.sHb(v); + c.prototype.oU = function (v) { + this.vHb(v); }; c.prototype.register = function (v, x) { - this.debug.assert(!this.qPb); - this.h5a.push({ - NGb: this.Jnb(x), + this.debug.assert(!this.vPb); + this.j5a.push({ + PGb: this.Knb(x), errorCode: v }); }; - c.prototype.Od = function (v) { + c.prototype.Md = function (v) { this.debug.assert(void 0 === this.bd[v]); - this.bd[v] = this.Pa.Zb().ea(r.ma); + this.bd[v] = this.La.Xb().ea(q.ma); }; c.prototype.load = function (v) { var x; x = this; return l.D0a(v).then(function (y) { - x.Dk.mark(d.gq.nj.x7a); - return y.reduce(function (z, B) { + x.Dk.mark(d.iq.kj.z7a); + return y.reduce(function (z, A) { return z.then(function () { - return x.JGb(B); + return x.LGb(A); }); }, Promise.resolve()).then(function () { - x.Dk.mark(d.gq.nj.v7a); + x.Dk.mark(d.iq.kj.x7a); }); }); }; - c.prototype.JGb = function (v) { + c.prototype.LGb = function (v) { var x, y; x = this; - y = v.NGb; + y = v.PGb; !1; - return this.co.Op(r.uc(this.config().Ilb), y()).catch(function (z) { + return this.eo.Rp(q.wc(this.config().Ilb), y()).catch(function (z) { x.log.error("Failed to load component " + v.errorCode, z); - x.Dk.mark(d.gq.nj.w7a); - if (z instanceof n.qq) + x.Dk.mark(d.iq.kj.y7a); + if (z instanceof n.sq) throw { - oa: k.M.u7a, + oa: k.L.w7a, errorCode: v.errorCode }; z.errorCode = z.errorCode || v.errorCode; - z.oa = z.oa || k.M.t7a; + z.oa = z.oa || k.L.v7a; throw z; }); }; - c.prototype.Jnb = function (v) { + c.prototype.Knb = function (v) { return function () { return new Promise(function (x, y) { v(function (z) { - z.X ? x() : y(z); + z.W ? x() : y(z); }); }); }; }; a = c; - a = q.__decorate([g.R(), q.__param(0, g.l(f.ND)), q.__param(1, g.l(h.Kb)), q.__param(2, g.l(m.dd)), q.__param(3, g.l(n.Gw)), q.__param(4, g.l(p.Yt)), q.__param(5, g.l(t.zd))], a); - b.kva = a; - }, function (q, b, a) { + a = r.__decorate([g.R(), r.__param(0, g.l(f.QD)), r.__param(1, g.l(h.Ib)), r.__param(2, g.l(m.ed)), r.__param(3, g.l(n.Mw)), r.__param(4, g.l(p.cu)), r.__param(5, g.l(u.zd))], a); + b.hva = a; + }, function (r, b, a) { var c, f, k; @@ -132458,28 +132599,28 @@ a000.D9b = function () { }); b.D0a = void 0; c = a(3); - f = [c.L.uab, c.L.Iza, c.L.Gza, c.L.Hza, c.L.Mza, c.L.Dza, c.L.Bza, c.L.B$, c.L.Nza, c.L.Eza, c.L.rab, c.L.sab, c.L.Cza, c.L.aA, c.L.yza, c.L.Aza, c.L.Jza, c.L.Kza, c.L.Lza, c.L.vab, c.L.xab, c.L.Bab, c.L.zab, c.L.yab, c.L.wab, c.L.Aab, c.L.Dab, c.L.Fza, c.L.Cab, c.L.zza]; + f = [c.M.xab, c.M.Gza, c.M.Eza, c.M.Fza, c.M.Kza, c.M.Bza, c.M.zza, c.M.t$, c.M.Lza, c.M.Cza, c.M.uab, c.M.vab, c.M.Aza, c.M.bA, c.M.wza, c.M.yza, c.M.Hza, c.M.Iza, c.M.Jza, c.M.yab, c.M.Aab, c.M.Eab, c.M.Cab, c.M.Bab, c.M.zab, c.M.Dab, c.M.Gab, c.M.Dza, c.M.Fab, c.M.xza]; (function (l) { - l.ccb = function (d) { + l.gcb = function (d) { var m; for (var g = {}, h = 0; h < d.length; h++) { m = d[h]; if (g[m.errorCode]) return { errorCode: m.errorCode, - oa: c.M.r7a + oa: c.L.t7a }; g[m.errorCode] = 1; } }; - l.dcb = function (d) { + l.hcb = function (d) { var h; for (var g = 0; g < d.length; g++) { h = d[g]; if (-1 === f.indexOf(h.errorCode)) return { errorCode: h.errorCode, - oa: c.M.s7a + oa: c.L.u7a }; } }; @@ -132487,28 +132628,28 @@ a000.D9b = function () { b.D0a = function (l) { return new Promise(function (d, g) { var h; - h = k.dcb(l); + h = k.hcb(l); h && g(h); - (h = k.ccb(l)) && g(h); + (h = k.gcb(l)) && g(h); d(l.sort(function (m, n) { return f.indexOf(m.errorCode) - f.indexOf(n.errorCode); })); }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); b.sa = void 0; - q = a(0); - c = a(1190); - f = a(118); - b.sa = new q.ad(function (k) { - k(f.sD).to(c.sBa).$(); + r = a(0); + c = a(1194); + f = a(117); + b.sa = new r.$c(function (k) { + k(f.uD).to(c.qBa).aa(); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -132516,88 +132657,88 @@ a000.D9b = function () { g, h, m; - function c(n, r, p, u) { - this.Lf = r; - this.wHb = u; - this.UV = new Map(); - this.log = n.Cb("ManifestFetcher"); + function c(n, q, p, t) { + this.Mf = q; + this.zHb = t; + this.TV = new Map(); + this.log = n.Db("ManifestFetcher"); this.xg = p.xg; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.sBa = void 0; - q = a(1); + b.qBa = void 0; + r = a(1); f = a(0); k = a(20); l = a(42); d = a(8); - g = a(5); - h = a(119); - a = a(270); - c.prototype.sT = function (n, r) { + g = a(4); + h = a(118); + a = a(271); + c.prototype.qT = function (n, q) { var p, - u; + t; p = this; - r && this.Gkb(n.da, r); - if (!this.A3(n.da)) { - this.log.trace("Requesting a new manifest", n.da); - u = this.Lf.Zb().ea(g.ma); - r = this.wHb.Of(this.log, n).then(function (t) { + q && this.Gkb(n.$, q); + if (!this.B3(n.$)) { + this.log.trace("Requesting a new manifest", n.$); + t = this.Mf.Xb().ea(g.ma); + q = this.zHb.Pf(this.log, n).then(function (u) { var w, v; - if (t.Xu) { - w = t.Xu; + if (u.bv) { + w = u.bv; v = { - y7: Promise.resolve(w), + u7: Promise.resolve(w), source: "manifest" }; - delete t.Xu; - p.xg.setData(n.da, "ldl", v, function () { + delete u.bv; + p.xg.setData(n.$, "ldl", v, function () { w.close().catch(function (x) { p.log.info("Unable to cleanup LDL session.", x); }); }); } - n.fv === h.Xj.GD && (t.FG = u, t.XM = p.Lf.Zb().ea(g.ma)); - return t; - }).catch(function (t) { - p.Esa(n.da, void 0); - p.log.error("Failed to fetch manifest", l.$c.vd(t)); - throw t; + n.mv === h.Xj.JD && (u.MG = t, u.XM = p.Mf.Xb().ea(g.ma)); + return u; + }).catch(function (u) { + p.ysa(n.$, void 0); + p.log.error("Failed to fetch manifest", l.dd.vd(u)); + throw u; }); - this.Esa(n.da, r); + this.ysa(n.$, q); } - return this.T2(n.da); + return this.U2(n.$); }; - c.prototype.A3 = function (n) { - return this.xg.KT(n, "manifest"); + c.prototype.B3 = function (n) { + return this.xg.IT(n, "manifest"); }; - c.prototype.Esa = function (n, r) { + c.prototype.ysa = function (n, q) { var p; p = this; - this.xg.setData(n, "manifest", r, function () { - return p.oCb(n); + this.xg.setData(n, "manifest", q, function () { + return p.qCb(n); }); }; - c.prototype.T2 = function (n) { + c.prototype.U2 = function (n) { return this.xg.getData(n, "manifest"); }; - c.prototype.oCb = function (n) { - var r; - null === (r = this.UV.get(n)) || void 0 === r ? void 0 : r.forEach(function (p) { + c.prototype.qCb = function (n) { + var q; + null === (q = this.TV.get(n)) || void 0 === q ? void 0 : q.forEach(function (p) { return p(); }); - this.UV.delete(n); + this.TV.delete(n); }; - c.prototype.Gkb = function (n, r) { - this.UV.has(n) || this.UV.set(n, []); - this.UV.get(n).push(r); + c.prototype.Gkb = function (n, q) { + this.TV.has(n) || this.TV.set(n, []); + this.TV.get(n).push(q); }; m = c; - m = q.__decorate([f.R(), q.__param(0, f.l(d.Kb)), q.__param(1, f.l(k.zd)), q.__param(2, f.l(a.H9)), q.__param(3, f.l(h.Eaa))], m); - b.sBa = m; - }, function (q, b, a) { + m = r.__decorate([f.R(), r.__param(0, f.l(d.Ib)), r.__param(1, f.l(k.zd)), r.__param(2, f.l(a.C9)), r.__param(3, f.l(h.xaa))], m); + b.qBa = m; + }, function (r, b, a) { var c, f, k, @@ -132605,50 +132746,50 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.profile = b.aMa = void 0; - c = a(1192); - f = a(121); - q = a(0); + b.profile = b.$La = void 0; + c = a(1196); + f = a(120); + r = a(0); k = a(89); l = a(15); - b.aMa = new q.ad(function (d) { - d(f.FH).to(c.Iua).$(); + b.$La = new r.$c(function (d) { + d(f.NH).to(c.Fua).aa(); }); - b.profile = new q.ad(function (d) { - d(k.GP).RC(function (g) { - return (g = g.$a.get(l.dd)()) && g.Zu ? "browsertest" : "browser"; + b.profile = new r.$c(function (d) { + d(k.GP).SC(function (g) { + return (g = g.$a.get(l.ed)()) && g.dv ? "browsertest" : "browser"; }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, g, h; - function c(m, n, r, p) { + function c(m, n, q, p) { m = d.ff.call(this, m, void 0 === p ? "AppInfoConfigImpl" : p) || this; m.config = n; - m.s8 = r; + m.o8 = q; return m; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Iua = void 0; - q = a(1); + b.Fua = void 0; + r = a(1); f = a(0); k = a(38); l = a(44); d = a(45); g = a(37); - a = a(212); - ka(c, d.ff); - c.prototype.DAb = function (m) { - return "" + this.cRa + (this.s8.F7(m) ? "/msl_v1" : ""); + a = a(213); + ja(c, d.ff); + c.prototype.GAb = function (m) { + return "" + this.bRa + (this.o8.B7(m) ? "/msl_v1" : ""); }; - c.prototype.NAb = function (m) { - return "" + this.host + (this.s8.F7(m) ? "/msl" : "") + "/playapi"; + c.prototype.QAb = function (m) { + return "" + this.host + (this.o8.B7(m) ? "/msl" : "") + "/playapi"; }; Xa.Object.defineProperties(c.prototype, { endpoint: { @@ -132658,7 +132799,7 @@ a000.D9b = function () { return this.host + "/api"; } }, - cRa: { + bRa: { configurable: !0, enumerable: !0, get: function () { @@ -132670,14 +132811,14 @@ a000.D9b = function () { enumerable: !0, get: function () { var m; - switch (this.config.DK) { - case k.vw.Ydb: + switch (this.config.HK) { + case k.Bw.aeb: m = "www.stage"; break; - case k.vw.XGa: + case k.Bw.TGa: m = "www-qa.test"; break; - case k.vw.bAa: + case k.Bw.$za: m = "www-int.test"; break; default: @@ -132686,7 +132827,7 @@ a000.D9b = function () { return "https://" + m + ".netflix.com"; } }, - VMa: { + WMa: { configurable: !0, enumerable: !0, get: function () { @@ -132695,31 +132836,31 @@ a000.D9b = function () { } }); h = c; - q.__decorate([l.config(l.string, "apiEndpoint")], h.prototype, "endpoint", null); - q.__decorate([l.config(l.string, "nqEndpoint")], h.prototype, "cRa", null); - q.__decorate([l.config(l.string, "bindService")], h.prototype, "VMa", null); - h = q.__decorate([f.R(), q.__param(0, f.l(g.km)), q.__param(1, f.l(k.gm)), q.__param(2, f.l(a.HZ)), q.__param(3, f.l(g.vO)), q.__param(3, f.optional())], h); - b.Iua = h; - }, function (q, b, a) { + r.__decorate([l.config(l.string, "apiEndpoint")], h.prototype, "endpoint", null); + r.__decorate([l.config(l.string, "nqEndpoint")], h.prototype, "bRa", null); + r.__decorate([l.config(l.string, "bindService")], h.prototype, "WMa", null); + h = r.__decorate([f.R(), r.__param(0, f.l(g.jm)), r.__param(1, f.l(k.fm)), r.__param(2, f.l(a.JZ)), r.__param(3, f.l(g.vO)), r.__param(3, f.optional())], h); + b.Fua = h; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.vXb = b.eeb = b.ceb = b.beb = b.deb = void 0; + b.xXb = b.heb = b.feb = b.eeb = b.geb = void 0; c = a(29); f = a(11); - b.deb = function (k, l, d) { + b.geb = function (k, l, d) { for (d = (d - k.length) / l.length; 0 < d--; ) { k += l; } return k; }; - b.beb = function (k, l, d) { - d = c.ze(d) ? d : "..."; + b.eeb = function (k, l, d) { + d = c.Be(d) ? d : "..."; return k.length <= l ? k : k.substr(0, k.length - (k.length + d.length - l)) + d; }; - b.ceb = function (k, l) { + b.feb = function (k, l) { var g; for (var d = 1; d < arguments.length; ++d) { ; } @@ -132728,13 +132869,13 @@ a000.D9b = function () { return "undefined" != typeof g[m] ? g[m] : h; }); }; - b.eeb = function (k) { + b.heb = function (k) { for (var l = k.length, d = new Uint16Array(l), g = 0; g < l; g++) { d[g] = k.charCodeAt(g); } return d.buffer; }; - b.vXb = function (k) { + b.xXb = function (k) { var l; l = new Uint8Array(k.length); Array.prototype.forEach.call(k, function (d, g) { @@ -132742,161 +132883,161 @@ a000.D9b = function () { }); return l; }; - }, function (q, b, a) { + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(7); + r = a(7); b = a(108); - a = a(267); - q.ha.get(b.eI).V6(a.S$.P8a, function (c) { + a = a(268); + r.ha.get(b.mI).S6(a.K$.R8a, function (c) { var f, k; f = c.level; - if (!pb._cad_global.config || f <= pb._cad_global.config.fHb) { - c = c.j8(); + if (!pb._cad_global.config || f <= pb._cad_global.config.hHb) { + c = c.f8(); k = pb.console; 1 >= f ? k.error(c) : 2 >= f ? k.warn(c) : k.log(c); } }); - }, function (q, b, a) { + }, function (r, b, a) { var h, m, n, - r, + q, p; - function c(u) { - var t, + function c(t) { + var u, v; - m.oK(u); - if (n.ze(u) && b.Qza.test(u)) { - t = u.split("."); - if (4 === t.length) { - for (var w = 0; w < t.length; w++) { - v = n.pe(t[w]); - if (0 > v || !p.Cy(v, 0, 255) || 1 !== t[w].length && 0 === t[w].indexOf("0")) + m.sK(t); + if (n.Be(t) && b.Oza.test(t)) { + u = t.split("."); + if (4 === u.length) { + for (var w = 0; w < u.length; w++) { + v = n.se(u[w]); + if (0 > v || !p.Fy(v, 0, 255) || 1 !== u[w].length && 0 === u[w].indexOf("0")) return; } - return u; + return t; } } } - function f(u) { - var t; - t = 0; - if (c(u) === u) - return (u = u.split("."), t += n.pe(u[0]) << 24, t += n.pe(u[1]) << 16, t += n.pe(u[2]) << 8, t + n.pe(u[3])); + function f(t) { + var u; + u = 0; + if (c(t) === t) + return (t = t.split("."), u += n.se(t[0]) << 24, u += n.se(t[1]) << 16, u += n.se(t[2]) << 8, u + n.se(t[3])); } - function k(u) { - var t; - m.oK(u); - if (n.ze(u) && u.match(b.Rza)) { - t = u.split(":"); - -1 !== t[t.length - 1].indexOf(".") && (u = l(t[t.length - 1]), t.pop(), t.push(u[0]), t.push(u[1]), u = t.join(":")); - u = u.split("::"); - if (!(2 < u.length || 1 === u.length && 8 !== t.length) && (t = 1 < u.length ? d(u) : t, u = t.length, 8 === u)) { - for (; u--; ) { - if (!p.Cy(parseInt(t[u], 16), 0, h.bBa)) + function k(t) { + var u; + m.sK(t); + if (n.Be(t) && t.match(b.Pza)) { + u = t.split(":"); + -1 !== u[u.length - 1].indexOf(".") && (t = l(u[u.length - 1]), u.pop(), u.push(t[0]), u.push(t[1]), t = u.join(":")); + t = t.split("::"); + if (!(2 < t.length || 1 === t.length && 8 !== u.length) && (u = 1 < t.length ? d(t) : u, t = u.length, 8 === t)) { + for (; t--; ) { + if (!p.Fy(parseInt(u[t], 16), 0, h.$Aa)) return; } - return t.join(":"); + return u.join(":"); } } } - function l(u) { - var t; - u = f(u) >>> 0; - t = []; - t.push((u >>> 16 & 65535).toString(16)); - t.push((u & 65535).toString(16)); - return t; + function l(t) { + var u; + t = f(t) >>> 0; + u = []; + u.push((t >>> 16 & 65535).toString(16)); + u.push((t & 65535).toString(16)); + return u; } - function d(u) { - var t, + function d(t) { + var u, w, v; - t = u[0].split(":"); - u = u[1].split(":"); - 1 === t.length && "" === t[0] && (t = []); + u = t[0].split(":"); + t = t[1].split(":"); 1 === u.length && "" === u[0] && (u = []); - w = 8 - (t.length + u.length); + 1 === t.length && "" === t[0] && (t = []); + w = 8 - (u.length + t.length); if (1 > w) return []; for (v = 0; v < w; v++) { - t.push("0"); + u.push("0"); } - for (v = 0; v < u.length; v++) { - t.push(u[v]); + for (v = 0; v < t.length; v++) { + u.push(t[v]); } - return t; + return u; } - function g(u) { - return -1 << 32 - u; + function g(t) { + return -1 << 32 - t; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Uab = b.Zab = b.Wab = b.Vab = b.Yab = b.Tab = b.Xab = b.kD = b.Rza = b.Qza = void 0; + b.Xab = b.bbb = b.Zab = b.Yab = b.abb = b.Wab = b.$ab = b.mD = b.Pza = b.Oza = void 0; h = a(12); m = a(21); n = a(29); - r = a(11); + q = a(11); p = a(17); - b.Qza = /^[0-9.]*$/; - b.Rza = /^([a-fA-F0-9]*:){2}[a-fA-F0-9:.]*$/; - b.kD = "0000000000000000"; - b.Xab = c; - b.Tab = f; - b.Yab = k; - b.Vab = l; - b.Wab = d; - b.Zab = function (u, t, w) { + b.Oza = /^[0-9.]*$/; + b.Pza = /^([a-fA-F0-9]*:){2}[a-fA-F0-9:.]*$/; + b.mD = "0000000000000000"; + b.$ab = c; + b.Wab = f; + b.abb = k; + b.Yab = l; + b.Zab = d; + b.bbb = function (t, u, w) { var v, x, y, z; - v = c(u); - x = k(u); - y = c(t); - z = k(t); + v = c(t); + x = k(t); + y = c(u); + z = k(u); if (!v && !x || !y && !z || v && !y || x && !z) return !1; - if (u === v) - return (w = g(w), (f(u) & w) !== (f(t) & w) ? !1 : !0); - if (u === x) { - u = u.split(":"); + if (t === v) + return (w = g(w), (f(t) & w) !== (f(u) & w) ? !1 : !0); + if (t === x) { t = t.split(":"); - for (v = r.Aw(w / b.kD.length); v--; ) { - if (u[v] !== t[v]) + u = u.split(":"); + for (v = q.Gw(w / b.mD.length); v--; ) { + if (t[v] !== u[v]) return !1; } - w %= b.kD.length; + w %= b.mD.length; if (0 !== w) - for ((u = parseInt(u[v], 16).toString(2), t = parseInt(t[v], 16).toString(2), u = b.kD.substring(0, b.kD.length - u.length) + u, t = b.kD.substring(0, b.kD.length - t.length) + t, v = 0); v < w; v++) { - if (u[v] !== t[v]) + for ((t = parseInt(t[v], 16).toString(2), u = parseInt(u[v], 16).toString(2), t = b.mD.substring(0, b.mD.length - t.length) + t, u = b.mD.substring(0, b.mD.length - u.length) + u, v = 0); v < w; v++) { + if (t[v] !== u[v]) return !1; } return !0; } return !1; }; - b.Uab = g; - }, function (q, b, a) { + b.Xab = g; + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); a(13); a(12); - q = a(7); + r = a(7); a(108); - a(267); + a(268); a(3); a(107); - a(5); + a(4); a = a(32); - q.ha.get(a.Zg); + r.ha.get(a.Xg); !1; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -132917,103 +133058,103 @@ a000.D9b = function () { g = a(34); h = a(11); m = a(7); - q = a(32); - n = m.ha.get(q.Zg); - n.register(l.L.Mza, function (r) { - h.ep && h.ep.generateKey && h.ep.importKey && h.ep.unwrapKey ? !m.ha.get(g.kA).O9 && k.config.RJ != d.kw.edb && k.config.RJ != d.kw.rbb || h.UY ? (n.Od("wcs"), c.nG(h.ep.generateKey({ + r = a(32); + n = m.ha.get(r.Xg); + n.register(l.M.Kza, function (q) { + h.fp && h.fp.generateKey && h.fp.importKey && h.fp.unwrapKey ? !m.ha.get(g.lA).J9 && k.config.UJ != d.qw.hdb && k.config.UJ != d.qw.vbb || h.TY ? (n.Md("wcs"), c.tG(h.fp.generateKey({ name: "AES-CBC", length: 128 }, !0, ["encrypt", "decrypt"])).then(function () { - n.Od("wcdone"); - r(f.Ee); + n.Md("wcdone"); + q(f.Ge); }, function (p) { - var u; + var t; p = "" + p; if (0 <= p.indexOf("missing crypto.subtle")) - u = l.M.Jba; + t = l.L.Dba; else - 0 <= p.indexOf("timeout waiting for iframe to load") && (u = l.M.veb); - r({ - oa: u, - sb: p + 0 <= p.indexOf("timeout waiting for iframe to load") && (t = l.L.yeb); + q({ + oa: t, + qb: p }); - })) : r({ - oa: l.M.ueb - }) : r({ - oa: l.M.Jba + })) : q({ + oa: l.L.xeb + }) : q({ + oa: l.L.Dba }); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(3); + r = a(3); c = a(7); - f = a(469); + f = a(474); a = a(32); - c.ha.get(a.Zg).register(q.L.Bza, function (k) { - c.ha.get(f.Jxa)().then(function () { + c.ha.get(a.Xg).register(r.M.zza, function (k) { + c.ha.get(f.Fxa)().then(function () { k({ - X: !0 + W: !0 }); }).catch(function (l) { c.log.error("error in initializing indexedDb debug tool", l); k({ - X: !0 + W: !0 }); }); }); - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g, h; - function c(m, n, r, p) { - var u, - t, + function c(m, n, q, p) { + var t, + u, w; - l.gb(h.Sg(m) && !h.isArray(m)); + l.gb(h.ih(m) && !h.isArray(m)); p = p || ""; - u = ""; - t = m.hasOwnProperty(g.Vj) && m[g.Vj]; - t && d.de(t, function (v, x) { - u && (u += " "); - u += v + '="' + k(x) + '"'; - }); - r = (n ? n + ":" : "") + r; - t = p + "<" + r + (u ? " " + u : ""); - w = m.hasOwnProperty(g.Fr) && m[g.Fr].trim && "" !== m[g.Fr].trim() && m[g.Fr]; + t = ""; + u = m.hasOwnProperty(g.Vj) && m[g.Vj]; + u && d.ae(u, function (v, x) { + t && (t += " "); + t += v + '="' + k(x) + '"'; + }); + q = (n ? n + ":" : "") + q; + u = p + "<" + q + (t ? " " + t : ""); + w = m.hasOwnProperty(g.Ir) && m[g.Ir].trim && "" !== m[g.Ir].trim() && m[g.Ir]; if (w) - return t + ">" + k(w) + ""; + return u + ">" + k(w) + ""; m = f(m, n, p + " "); - return t + (m ? ">\n" + m + "\n" + p + "" : "/>"); + return u + (m ? ">\n" + m + "\n" + p + "" : "/>"); } - function f(m, n, r) { + function f(m, n, q) { var p; - l.gb(h.Sg(m) && !h.isArray(m)); - r = r || ""; + l.gb(h.ih(m) && !h.isArray(m)); + q = q || ""; p = ""; - d.de(m, function (u, t) { + d.ae(m, function (t, u) { var x; - if ("$" != u[0]) - for (var w = d.qv(t), v = 0; v < w.length; v++) { - if ((t = w[v], p && (p += "\n"), h.Sg(t))) - p += c(t, n, u, r); + if ("$" != t[0]) + for (var w = d.wv(u), v = 0; v < w.length; v++) { + if ((u = w[v], p && (p += "\n"), h.ih(u))) + p += c(u, n, t, q); else { - x = (n ? n + ":" : "") + u; - p += r + "<" + x + ">" + k(t) + ""; + x = (n ? n + ":" : "") + t; + p += q + "<" + x + ">" + k(u) + ""; } } }); return p; } function k(m) { - if (h.ze(m)) - return d.QT(m); - if (h.xa(m)) - return (l.jS(m, "Convert non-integer numbers to string for xml serialization."), "" + m); + if (h.Be(m)) + return d.NT(m); + if (h.ya(m)) + return (l.iS(m, "Convert non-integer numbers to string for xml serialization."), "" + m); if (null === m || void 0 === m) return ""; l.gb(!1, "Invalid xml value."); @@ -133022,15 +133163,15 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.uVb = b.CFb = b.BFb = void 0; + b.wVb = b.FFb = b.EFb = void 0; l = a(21); d = a(24); g = a(152); h = a(17); - b.BFb = c; - b.CFb = f; - b.uVb = k; - }, function (q, b, a) { + b.EFb = c; + b.FFb = f; + b.wVb = k; + }, function (r, b, a) { var c, f, k, @@ -133040,134 +133181,134 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B; + A; Object.defineProperty(b, "__esModule", { value: !0 }); - c = a(273); + c = a(274); f = a(155); k = a(13); l = a(12); d = a(3); g = a(21); h = a(7); - m = a(69); - n = a(65); - r = a(78); + m = a(70); + n = a(66); + q = a(78); p = a(24); - u = a(11); - t = a(17); + t = a(11); + u = a(17); w = a(47); v = a(107); - x = a(5); - q = a(32); - y = a(440); + x = a(4); + r = a(32); + y = a(444); z = {}; - B = h.ha.get(q.Zg); - B.register(d.L.Eza, function (A) { + A = h.ha.get(r.Xg); + A.register(d.M.Cza, function (B) { var D, - G, - I, + F, J, + K, H, - M, - O, L, - P, - R, - K, Q, + I, + O, N, - da; - function C(na) { - na && na.userList && k.config.QSb && (na.userList = []); - J({ + M, + P, + R, + ea; + function C(pa) { + pa && pa.userList && k.config.USb && (pa.userList = []); + K({ esn: f.ei.gi, - esnPrefix: f.ei.Kn, - authenticationType: k.config.RJ, - authenticationKeyNames: k.config.LMa, - systemKeyWrapFormat: k.config.HUb, + esnPrefix: f.ei.Ln, + authenticationType: k.config.UJ, + authenticationKeyNames: k.config.MMa, + systemKeyWrapFormat: k.config.JUb, serverIdentityId: "MSL_TRUSTED_NETWORK_SERVER_KEY", - serverIdentityKeyData: N, - storeState: na, - notifyMilestone: B.Od.bind(B), - log: O, + serverIdentityKeyData: R, + storeState: pa, + notifyMilestone: A.Md.bind(A), + log: Q, ErrorSubCodes: { - MSL_REQUEST_TIMEOUT: d.M.Fbb, - MSL_READ_TIMEOUT: d.M.Ebb + MSL_REQUEST_TIMEOUT: d.L.Jbb, + MSL_READ_TIMEOUT: d.L.Ibb } }, { result: function (va) { E(va); }, timeout: function () { - A({ - oa: d.M.mBa + B({ + oa: d.L.kBa }); }, error: function (va) { - A(F(d.M.mBa, void 0, va)); + B(G(d.L.kBa, void 0, va)); } }); } - function E(na) { - var ra, - X, - ta; + function E(pa) { + var ta, + Y, + ra; function va() { - Q && h.ha.get(r.Rz).create().then(function (za) { - return za.save(R, X, !1); - }).catch(function (za) { - O.error("Error persisting msl store", d.Lr(za)); + P && h.ha.get(q.Tz).create().then(function (Ea) { + return Ea.save(N, Y, !1); + }).catch(function (Ea) { + Q.error("Error persisting msl store", d.Or(Ea)); }); } - ra = h.ha.get(v.yI)(x.uc(100)); - ta = H.extend({ - init: function (za) { - this.SJa = za; + ta = h.ha.get(v.DI)(x.wc(100)); + ra = H.extend({ + init: function (Ea) { + this.QJa = Ea; }, - getResponse: function (za, V, T) { - var ja, + getResponse: function (Ea, V, U) { + var ma, Ia; - V = this.SJa; - ja = V.eZa.Bf || ja; - za = t.lma(za.body) ? h.lX(za.body) : za.body; - g.oK(za, "Msl should not be sending empty request"); - za = { + V = this.QJa; + ma = V.bZa.Df || ma; + Ea = u.fma(Ea.body) ? h.kX(Ea.body) : Ea.body; + g.sK(Ea, "Msl should not be sending empty request"); + Ea = { url: V.url, - Lpa: za, + Gpa: Ea, withCredentials: !0, - hF: "nq-" + V.method, + kF: "nq-" + V.method, headers: V.headers }; - V = this.SJa.timeout; - za.s1 = V; - za.roa = V; - Ia = ja.download(za, function (wa) { + V = this.QJa.timeout; + Ea.t1 = V; + Ea.moa = V; + Ia = ma.download(Ea, function (wa) { try { - if (wa.X) - T.result({ + if (wa.W) + U.result({ body: wa.content }); - else if (400 === wa.lk && wa.sb) - T.result({ - body: wa.sb + else if (400 === wa.lk && wa.qb) + U.result({ + body: wa.qb }); else - throw p.Qb(new M("HTTP error, SubCode: " + wa.oa + (wa.lk ? ", HttpCode: " + wa.lk : "")), { + throw p.Tb(new L("HTTP error, SubCode: " + wa.oa + (wa.lk ? ", HttpCode: " + wa.lk : "")), { cadmiumResponse: wa }); - } catch (Sa) { - T.error(Sa); + } catch (Ta) { + U.error(Ta); } }); return { @@ -133177,160 +133318,160 @@ a000.D9b = function () { }; } }); - P && na.addEventHandler("shouldpersist", function (za) { - X = za.storeState; - ra.ol(va); + O && pa.addEventHandler("shouldpersist", function (Ea) { + Y = Ea.storeState; + ta.nl(va); }); - p.Qb(z, { - o5b: function () { - K = !0; + p.Tb(z, { + y5b: function () { + M = !0; }, - send: function (za) { + send: function (Ea) { function V() { - var T, - ja; - T = za.eZa; - ja = { - method: za.method, - nonReplayable: za.JJb, - encrypted: za.kk, - userId: za.tXb, - body: za.body, - timeout: 2 * za.timeout, - url: new ta(za), - allowTokenRefresh: Q, - sendUserAuthIfRequired: da, - shouldSendUserAuthData: k.config.VSb + var U, + ma; + U = Ea.bZa; + ma = { + method: Ea.method, + nonReplayable: Ea.LJb, + encrypted: Ea.kk, + userId: Ea.vXb, + body: Ea.body, + timeout: 2 * Ea.timeout, + url: new ra(Ea), + allowTokenRefresh: P, + sendUserAuthIfRequired: ea, + shouldSendUserAuthData: k.config.YSb }; - T.email ? (ja.email = T.email, ja.password = T.password || "") : T.wVb ? (ja.token = T.wVb, ja.mechanism = T.f6b, T.ioa && (ja.netflixId = T.ioa, ja.secureNetflixId = T.cRb), T.aqa && (ja.profileGuid = T.aqa)) : T.ioa ? (ja.netflixId = T.ioa, ja.secureNetflixId = T.cRb) : T.hIb ? (ja.mdxControllerToken = T.hIb, ja.mdxPin = T.d6b, ja.mdxNonce = T.c6b, ja.mdxEncryptedPinB64 = T.b6b, ja.mdxSignature = T.e6b) : K || T.useNetflixUserAuthData ? ja.useNetflixUserAuthData = !0 : T.aqa && (ja.profileGuid = T.aqa); - return ja; + U.email ? (ma.email = U.email, ma.password = U.password || "") : U.yVb ? (ma.token = U.yVb, ma.mechanism = U.q6b, U.doa && (ma.netflixId = U.doa, ma.secureNetflixId = U.hRb), U.Vpa && (ma.profileGuid = U.Vpa)) : U.doa ? (ma.netflixId = U.doa, ma.secureNetflixId = U.hRb) : U.kIb ? (ma.mdxControllerToken = U.kIb, ma.mdxPin = U.o6b, ma.mdxNonce = U.n6b, ma.mdxEncryptedPinB64 = U.m6b, ma.mdxSignature = U.p6b) : M || U.useNetflixUserAuthData ? ma.useNetflixUserAuthData = !0 : U.Vpa && (ma.profileGuid = U.Vpa); + return ma; } - return new Promise(function (T, ja) { + return new Promise(function (U, ma) { var Ia; Ia = V(); - na.send(Ia).then(function (wa) { - K && (K = !1); - T({ - X: !0, + pa.send(Ia).then(function (wa) { + M && (M = !1); + U({ + W: !0, body: wa.body }); }).catch(function (wa) { - var Sa, + var Ta, Ua; if (wa.error) { - Sa = wa.error.cadmiumResponse && wa.error.cadmiumResponse.oa ? wa.error.cadmiumResponse.oa : na.isErrorReauth(wa.error) ? d.M.lBa : na.isErrorHeader(wa.error) ? d.M.ybb : d.M.xbb; - Ua = na.getErrorCode(wa.error); - ja(F(Sa, Ua, wa.error)); - } else (O.error("Unknown MSL error", wa), wa.jc = wa.subCode, ja({ - oa: wa.jc ? wa.jc : d.M.Gbb + Ta = wa.error.cadmiumResponse && wa.error.cadmiumResponse.oa ? wa.error.cadmiumResponse.oa : pa.isErrorReauth(wa.error) ? d.L.jBa : pa.isErrorHeader(wa.error) ? d.L.Cbb : d.L.Bbb; + Ua = pa.getErrorCode(wa.error); + ma(G(Ta, Ua, wa.error)); + } else (Q.error("Unknown MSL error", wa), wa.kc = wa.subCode, ma({ + oa: wa.kc ? wa.kc : d.L.Kbb })); }); }); }, - OU: na + NU: pa }); - A(l.Ee); - h.ha.get(y.jaa).tJb(z); + B(l.Ge); + h.ha.get(y.baa).vJb(z); } - function F(na, va, ra) { - var X, - ta, - za, + function G(pa, va, ta) { + var Y, + ra, + Ea, V; - za = { - oa: na, - GK: va + Ea = { + oa: pa, + KK: va }; - if (ra) { - V = function (T) { - var ja; - T = T || "" + ra; - if (ra.stack) { - ja = "" + ra.stack; - T = 0 <= ja.indexOf(T) ? ja : T + ja; - } - return T; + if (ta) { + V = function (U) { + var ma; + U = U || "" + ta; + if (ta.stack) { + ma = "" + ta.stack; + U = 0 <= ma.indexOf(U) ? ma : U + ma; + } + return U; }; - if (ta = ra.cadmiumResponse) { - if (X = ta.Ve && ta.Ve.toString()) - ta.Ve = X; - ta.oa = na; - ta.GK = va; - ta.sb = V(ra.message); - ta.error = { - jc: na, - wd: X, - Av: va, - data: ra.cause, - message: ra.message + if (ra = ta.cadmiumResponse) { + if (Y = ra.Xe && ra.Xe.toString()) + ra.Xe = Y; + ra.oa = pa; + ra.KK = va; + ra.qb = V(ta.message); + ra.error = { + kc: pa, + wd: Y, + Gv: va, + data: ta.cause, + message: ta.message }; - return ta; + return ra; } - V = V(ra.errorMessage); - X = p.pe(ra.internalCode) || p.pe(ra.error && ra.error.internalCode); - ta = void 0 !== ra.Wvb ? w.Eoa(ra.Wvb) : void 0; - } - V && (za.sb = V); - X && (za.Ve = X); - za.error = { - jc: na, - wd: X.toString(), - Av: va, - data: ta, + V = V(ta.errorMessage); + Y = p.se(ta.internalCode) || p.se(ta.error && ta.error.internalCode); + ra = void 0 !== ta.bwb ? w.zoa(ta.bwb) : void 0; + } + V && (Ea.qb = V); + Y && (Ea.Xe = Y); + Ea.error = { + kc: pa, + wd: Y.toString(), + Gv: va, + data: ra, message: V }; - return za; + return Ea; } g.gb(k.config); - D = h.ha.get(m.ND); - G = n.gq.nj; - if (u.iA && u.ep && u.ep.unwrapKey) { + D = h.ha.get(m.QD); + F = n.iq.kj; + if (t.jA && t.fp && t.fp.unwrapKey) { try { - I = pb.netflix.msl; - J = I.createMslClient; - H = I.IHttpLocation; - M = I.MslIoException; - } catch (na) { - A({ - oa: d.M.zbb + J = pb.netflix.msl; + K = J.createMslClient; + H = J.IHttpLocation; + L = J.MslIoException; + } catch (pa) { + B({ + oa: d.L.Dbb }); return; } - O = h.ii("Msl"); - L = k.config.pJb; - P = k.config.rJb; - R = k.config.Zu ? "mslstoretest" : "mslstore"; - I = c.cH.Q2a; - K = k.config.EDb; - Q = !I || I.X; - N = h.Dq(k.config.Zu ? "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm84o+RfF7KdJgbE6lggYAdUxOArfgCsGCq33+kwAK/Jmf3VnNo1NOGlRpLQUFAqYRqG29u4wl8fH0YCn0v8JNjrxPWP83Hf5Xdnh7dHHwHSMc0LxA2MyYlGzn3jOF5dG/3EUmUKPEjK/SKnxeKfNRKBWnm0K1rzCmMUpiZz1pxgEB/cIJow6FrDAt2Djt4L1u6sJ/FOy/zA1Hf4mZhytgabDfapxAzsks+HF9rMr3wXW5lSP6y2lM+gjjX/bjqMLJQ6iqDi6++7ScBh0oNHmgUxsSFE3aBRBaCL1kz0HOYJe26UqJqMLQ71SwvjgM+KnxZvKa1ZHzQ+7vFTwE7+yxwIDAQAB" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlibeiUhffUDs6QqZiB+jXH/MNgITf7OOcMzuSv4G3JysWkc0aPbT3vkCVaxdjNtw50zo2Si8I24z3/ggS3wZaF//lJ/jgA70siIL6J8kBt8zy3x+tup4Dc0QZH0k1oxzQxM90FB5x+UP0hORqQEUYZCGZ9RbZ/WNV70TAmFkjmckutWN9DtR6WUdAQWr0HxsxI9R05nz5qU2530AfQ95h+WGZqnRoG0W6xO1X05scyscNQg0PNCy3nfKBG+E6uIl5JB4dpc9cgSNgkfAIeuPURhpD0jHkJ/+4ytpdsXAGmwYmoJcCSE1TJyYYoExuoaE8gLFeM01xXK5VINU7/eWjQIDAQAB"); - da = !!k.config.Ora; - h.ha.get(r.Rz).create().then(function (na) { - L ? na.remove(R).then(function () { + Q = h.ii("Msl"); + I = k.config.rJb; + O = k.config.tJb; + N = k.config.dv ? "mslstoretest" : "mslstore"; + J = c.kH.Q2a; + M = k.config.IDb; + P = !J || J.W; + R = h.Fq(k.config.dv ? "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm84o+RfF7KdJgbE6lggYAdUxOArfgCsGCq33+kwAK/Jmf3VnNo1NOGlRpLQUFAqYRqG29u4wl8fH0YCn0v8JNjrxPWP83Hf5Xdnh7dHHwHSMc0LxA2MyYlGzn3jOF5dG/3EUmUKPEjK/SKnxeKfNRKBWnm0K1rzCmMUpiZz1pxgEB/cIJow6FrDAt2Djt4L1u6sJ/FOy/zA1Hf4mZhytgabDfapxAzsks+HF9rMr3wXW5lSP6y2lM+gjjX/bjqMLJQ6iqDi6++7ScBh0oNHmgUxsSFE3aBRBaCL1kz0HOYJe26UqJqMLQ71SwvjgM+KnxZvKa1ZHzQ+7vFTwE7+yxwIDAQAB" : "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlibeiUhffUDs6QqZiB+jXH/MNgITf7OOcMzuSv4G3JysWkc0aPbT3vkCVaxdjNtw50zo2Si8I24z3/ggS3wZaF//lJ/jgA70siIL6J8kBt8zy3x+tup4Dc0QZH0k1oxzQxM90FB5x+UP0hORqQEUYZCGZ9RbZ/WNV70TAmFkjmckutWN9DtR6WUdAQWr0HxsxI9R05nz5qU2530AfQ95h+WGZqnRoG0W6xO1X05scyscNQg0PNCy3nfKBG+E6uIl5JB4dpc9cgSNgkfAIeuPURhpD0jHkJ/+4ytpdsXAGmwYmoJcCSE1TJyYYoExuoaE8gLFeM01xXK5VINU7/eWjQIDAQAB"); + ea = !!k.config.Hra; + h.ha.get(q.Tz).create().then(function (pa) { + I ? pa.remove(N).then(function () { C(); }).catch(function (va) { - O.error("Unable to delete MSL store", d.Lr(va)); + Q.error("Unable to delete MSL store", d.Or(va)); C(); - }) : P ? na.load(R).then(function (va) { - D.mark(G.Bbb); + }) : O ? pa.load(N).then(function (va) { + D.mark(F.Fbb); C(va.value); }).catch(function (va) { - va.oa == d.M.mA ? (D.mark(G.Dbb), C()) : (O.error("Error loading msl store", d.Lr(va)), D.mark(G.Cbb), na.remove(R).then(function () { + va.oa == d.L.oA ? (D.mark(F.Hbb), C()) : (Q.error("Error loading msl store", d.Or(va)), D.mark(F.Gbb), pa.remove(N).then(function () { C(); - }).catch(function (ra) { - A(ra); + }).catch(function (ta) { + B(ta); })); }) : C(); - }).catch(function (na) { - O.error("Error creating app storage while loading msl store", d.Lr(na)); - A(na); + }).catch(function (pa) { + Q.error("Error creating app storage while loading msl store", d.Or(pa)); + B(pa); }); } else - A({ - oa: d.M.Abb + B({ + oa: d.L.Ebb }); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -133340,10 +133481,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v; Object.defineProperty(b, "__esModule", { @@ -133352,66 +133493,66 @@ a000.D9b = function () { c = a(181); f = a(12); k = a(13); - l = a(62); + l = a(63); d = a(51); - q = a(3); + r = a(3); g = a(7); - h = a(69); + h = a(70); m = a(11); - n = a(61); - r = a(17); + n = a(62); + q = a(17); p = a(58); - u = a(99); + t = a(99); a = a(32); - v = g.ha.get(a.Zg); - v.register(q.L.Cza, function (x) { + v = g.ha.get(a.Xg); + v.register(r.M.Aza, function (x) { var z; function y() { - var B, - A, + var A, + B, C; - B = v.startTime; - A = { - browserua: m.jA, - browserhref: m.WY.href, - initstart: B, - initdelay: v.endTime - B + A = v.startTime; + B = { + browserua: m.kA, + browserhref: m.VY.href, + initstart: A, + initdelay: v.endTime - A }; - (B = m.De.documentMode) && (A.browserdm = "" + B); - "undefined" !== typeof pb.nrdp && pb.nrdp.device && (A.firmware_version = pb.nrdp.device.firmwareVersion); - r.Dy(k.config.BRa) && (A.fesn = k.config.BRa); - Object.assign(A, c.oka()); - C = m.iu && m.iu.timing; - C && k.config.cHb.map(function (E) { - var F; - F = C[E]; - F && (A["pt_" + E] = F - d.jOa()); + (A = m.Fe.documentMode) && (B.browserdm = "" + A); + "undefined" !== typeof pb.nrdp && pb.nrdp.device && (B.firmware_version = pb.nrdp.device.firmwareVersion); + q.Gy(k.config.ARa) && (B.fesn = k.config.ARa); + Object.assign(B, c.kka()); + C = m.pu && m.pu.timing; + C && k.config.eHb.map(function (E) { + var G; + G = C[E]; + G && (B["pt_" + E] = G - d.hOa()); }); - B = z.BTa(); - Object.entries(B).forEach(function (E) { - var F; - F = aa(E); - E = F.next().value; - F = F.next().value; - return A["m_" + E] = F; - }); - B = w.Uu("startup", "info", A, l.qI.Tia); - t.Xd(B); - } - w = g.ha.get(u.eA); - t = g.ha.get(p.iq); - z = g.ha.get(h.ND); - v.pU(function () { - t.mb(); + A = z.CTa(); + Object.entries(A).forEach(function (E) { + var G; + G = aa(E); + E = G.next().value; + G = G.next().value; + return B["m_" + E] = G; + }); + A = w.Zu("startup", "info", B, l.xI.Mia); + u.fe(A); + } + w = g.ha.get(t.fA); + u = g.ha.get(p.kq); + z = g.ha.get(h.QD); + v.oU(function () { + u.mb(); n.fg(y); }); - x(f.Ee); + x(f.Ge); }); - }, function (q, b) { + }, function (r, b) { Object.defineProperty(b, "__esModule", { value: !0 }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -133421,10 +133562,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w, v, x; @@ -133433,127 +133574,127 @@ a000.D9b = function () { }); c = a(1); f = a(53); - k = a(478); - l = a(1204); - d = a(278); + k = a(482); + l = a(1208); + d = a(279); g = a(13); h = a(12); m = a(186); - n = a(525); - r = a(51); - q = a(3); + n = a(528); + q = a(51); + r = a(3); p = a(7); - u = a(262); - t = a(11); - w = a(274); + t = a(263); + u = a(11); + w = a(275); b = a(32); - v = a(62); - x = a(117); - p.ha.get(b.Zg).register(q.L.yza, function (y) { + v = a(63); + x = a(129); + p.ha.get(b.Xg).register(r.M.wza, function (y) { var z, - B, A, + B, C, E, - F, + G, D; - z = p.ha.get(u.ZY).Nga(); - B = p.ha.get(m.Z9).PH; - A = p.ha.get(k.WBa).kq; + z = p.ha.get(t.YY).Hga(); + A = p.ha.get(m.U9).XH; + B = p.ha.get(k.UBa).mq; C = { - sG: p.gT("ASE"), - tlb: p.gT("JS-ASE", void 0, "Platform"), - ii: p.gT, + yG: p.eT("ASE"), + ulb: p.eT("JS-ASE", void 0, "Platform"), + ii: p.eT, storage: w.storage, - CAb: t.NH, - getTime: r.Hi, - JL: {}, - kq: A, - ou: l.ou, - PH: B, - MediaSource: n.ZBa, - SourceBuffer: d.caa, - Mn: function () { - return [g.config.oR, g.config.qR]; + FAb: u.VH, + getTime: q.Hi, + LL: {}, + mq: B, + tu: l.tu, + XH: A, + MediaSource: n.XBa, + SourceBuffer: d.V$, + Nn: function () { + return [g.config.qR, g.config.rR]; }, - ws: function (G) { - v.Bo.forEach(function (I) { - I.o3a(G); + As: function (F) { + v.Co.forEach(function (J) { + J.o3a(F); }); } }; - B = new Promise(function (G) { - w.storage.load("nh", function (I) { - C.JL.nh = I.X ? I.data : void 0; - G(); + A = new Promise(function (F) { + w.storage.load("nh", function (J) { + C.LL.nh = J.W ? J.data : void 0; + F(); }); }); - A = new Promise(function (G) { - w.storage.load("lh", function (I) { - C.JL.lh = I.X ? I.data : void 0; - G(); + B = new Promise(function (F) { + w.storage.load("lh", function (J) { + C.LL.lh = J.W ? J.data : void 0; + F(); }); }); - E = new Promise(function (G) { - w.storage.load("gh", function (I) { - C.JL.gh = I.X ? I.data : void 0; - G(); + E = new Promise(function (F) { + w.storage.load("gh", function (J) { + C.LL.gh = J.W ? J.data : void 0; + F(); }); }); - F = new Promise(function (G) { - w.storage.load("sth", function (I) { - C.JL.sth = I.X ? I.data : void 0; - G(); + G = new Promise(function (F) { + w.storage.load("sth", function (J) { + C.LL.sth = J.W ? J.data : void 0; + F(); }); }); - D = new Promise(function (G) { - w.storage.load("vb", function (I) { - C.JL.vb = I.X ? I.data : void 0; - G(); + D = new Promise(function (F) { + w.storage.load("vb", function (J) { + C.LL.vb = J.W ? J.data : void 0; + F(); }); }); - Promise.all([B, A, D, F, E]).then(function () { - return c.__awaiter(this, void 0, void 0, function I() { - var J, + Promise.all([A, B, D, G, E]).then(function () { + return c.__awaiter(this, void 0, void 0, function J() { + var K, H, - M; - return Ha(I, function (O) { - var L; - if (1 == O.iG) { - J = a(1206)(C); - x.Dl.sd = a(526); - x.Dl.sd.declare(f.jk); - x.Dl.sd.set(a(179)(g.config), !0, p.gT("ASE")); - H = f.PXa(J); - x.Dl.uMa = new H(x.Dl.sd, z); - x.Dl.uMa.mb(g.config.oR, g.config.qR, { - sG: C.sG + L; + return Ha(J, function (Q) { + var I; + if (1 == Q.oG) { + K = a(1210)(C); + x.sm.Bd = a(529); + x.sm.Bd.declare(f.jk); + x.sm.Bd.set(a(179)(g.config), !0, p.eT("ASE")); + H = f.NXa(K); + x.sm.uMa = new H(x.sm.Bd, z); + x.sm.uMa.mb(g.config.qR, g.config.rR, { + yG: C.yG }, g.config.$M); - L = f.zF(J); - O.iG = 2; + I = f.DF(K); + Q.oG = 2; return { - value: L + value: I }; } - M = O.qua; - M.open(x.Dl.sd, z); - M.Sra({ - audio: g.config.oR, - video: g.config.qR + L = Q.nua; + L.open(x.sm.Bd, z); + L.Lra({ + audio: g.config.qR, + video: g.config.rR }, { V: g.config.$M, - ca: void 0 + da: void 0 }); - x.Dl.aj = M; - y(h.Ee); - O.iG = 0; + x.sm.Zi = L; + y(h.Ge); + Q.oG = 0; }); }); - }).catch(function (G) { - C.sG.error("Exception loading location history from local storage", G); + }).catch(function (F) { + C.yG.error("Exception loading location history from local storage", F); }); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, @@ -133566,20 +133707,20 @@ a000.D9b = function () { n = new k.Wj(); this.addEventListener = n.addListener.bind(this); this.removeEventListener = n.removeListener.bind(this); - this.emit = n.tc.bind(this); - this.T_ = h++; + this.emit = n.qc.bind(this); + this.V_ = h++; this.cg = l.ii("ProbeRequest"); - this.oKa = f.jFa; - d.gb(void 0 !== this.oKa); - this.fh = b.ou.zc.UNSENT; + this.mKa = f.gFa; + d.gb(void 0 !== this.mKa); + this.bh = b.tu.Bc.UNSENT; !1; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.ou = void 0; - f = a(1205); - k = a(72); + b.tu = void 0; + f = a(1209); + k = a(73); l = a(7); d = a(21); g = a(29); @@ -133588,50 +133729,50 @@ a000.D9b = function () { function n() { return JSON.stringify({ url: this.Qk, - id: this.T_, - affected: this.OZ, - readystate: this.fh + id: this.V_, + affected: this.QZ, + readystate: this.bh }); } - g.Qb(c.prototype, { - jM: function (r) { - r.affected = this.OZ; - r.probed = { - requestId: this.T_, + g.Tb(c.prototype, { + lM: function (q) { + q.affected = this.QZ; + q.probed = { + requestId: this.V_, url: this.Qk, - Rc: this.SQ, - groupId: this.w_ + Qc: this.UQ, + groupId: this.z_ }; - this.emit(b.ou.ue.tP, r); + this.emit(b.tu.we.uP, q); }, - yoa: function (r) { - this.rjb = r.httpcode; - r.affected = this.OZ; - r.probed = { - requestId: this.T_, + toa: function (q) { + this.sjb = q.httpcode; + q.affected = this.QZ; + q.probed = { + requestId: this.V_, url: this.Qk, - Rc: this.SQ, - groupId: this.w_ + Qc: this.UQ, + groupId: this.z_ }; - this.emit(b.ou.ue.DD, r); + this.emit(b.tu.we.FD, q); }, - open: function (r, p, u, t) { - if (!r) + open: function (q, p, t, u) { + if (!q) return (!1, !1); - this.Qk = r; - this.OZ = p; - this.SQ = u; - this.fh = b.ou.zc.OPENED; - this.Wgb = t; - this.oKa.dT(this); + this.Qk = q; + this.QZ = p; + this.UQ = t; + this.bh = b.tu.Bc.OPENED; + this.Xgb = u; + this.mKa.cT(this); return !0; }, - Ic: function () { + Kc: function () { !1; return !0; }, Jh: function () { - return this.T_; + return this.V_; }, toString: n, toJSON: n @@ -133639,13 +133780,13 @@ a000.D9b = function () { Object.defineProperties(c.prototype, { readyState: { get: function () { - return this.fh; + return this.bh; }, set: function () {} }, status: { get: function () { - return this.rjb; + return this.sjb; } }, url: { @@ -133655,75 +133796,75 @@ a000.D9b = function () { }, q3b: { get: function () { - return this.OZ; + return this.QZ; } }, - WGb: { + YGb: { get: function () { - return this.Wgb; + return this.Xgb; } } }); })(); (function (n) { - n.ue = { - tP: "pr0", - DD: "pr1" + n.we = { + uP: "pr0", + FD: "pr1" }; - n.zc = { + n.Bc = { UNSENT: 0, OPENED: 1, - Jw: 2, + Ow: 2, DONE: 3, - UH: 4, + bI: 4, name: ["UNSENT", "OPENED", "SENT", "DONE", "FAILED"] }; })(m || (m = {})); - b.ou = Object.assign(c, m); - }, function (q, b, a) { + b.tu = Object.assign(c, m); + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - b.jFa = void 0; + b.gFa = void 0; c = a(7); - f = a(71); - b.jFa = (function () { + f = a(72); + b.gFa = (function () { c.ii("ProbeDownloader"); return { - dT: function (k) { + cT: function (k) { k = { url: k.url, - VNb: k + $Nb: k }; !1; - f.Bf.YNb(k); + f.Df.cOb(k); } }; })(); - }, function (q, b, a) { + }, function (r, b, a) { var g, h, m, n, - r, + q, p, - u, t, + u, w, v, x, y, z, - B, A, + B, C; - function c(E, F, D) { + function c(E, G, D) { this.Gn = E; - this.groups = F; + this.groups = G; this.prefix = D; - E = v(E, F, D); + E = v(E, G, D); this.info = E.info.bind(E); this.fatal = E.fatal.bind(E); this.error = E.error.bind(E); @@ -133733,10 +133874,10 @@ a000.D9b = function () { this.log = E.log.bind(E); } function f() { - this.$Oa = function () { + this.ZOa = function () { throw Error("Not implemented"); }; - this.gub = { + this.kub = { query: function () { throw Error("Not implemented"); }, @@ -133757,49 +133898,49 @@ a000.D9b = function () { } function d(E) { E({ - m_a: 0, - MW: 0, - mVa: 0, - ARa: 0 + k_a: 0, + LW: 0, + kVa: 0, + zRa: 0 }); } g = a(16); - f.prototype.set = function (E, F) { - n[E] = F; - r.save(E, F); + f.prototype.set = function (E, G) { + n[E] = G; + q.save(E, G); }; - f.prototype.get = function (E, F) { + f.prototype.get = function (E, G) { if (n.hasOwnProperty(E)) return n[E]; - t.trace("key: " + E + ", is not available in storage cache and needs to be retrieved asynchronously"); - r.load(E, function (D) { - D.X ? (n[E] = D.data, F && F(D.data)) : n[E] = void 0; + u.trace("key: " + E + ", is not available in storage cache and needs to be retrieved asynchronously"); + q.load(E, function (D) { + D.W ? (n[E] = D.data, G && G(D.data)) : n[E] = void 0; }); }; f.prototype.remove = function (E) { - r.remove(E); + q.remove(E); }; f.prototype.clear = function () { - t.info("WARNING: Calling unimplemented function Storage.clear()"); + u.info("WARNING: Calling unimplemented function Storage.clear()"); }; k.prototype.now = function () { return p(); }; - k.prototype.aa = function () { - return u(); + k.prototype.ba = function () { + return t(); }; - k.prototype.eoa = function (E) { - return E + p() - u(); + k.prototype.$na = function (E) { + return E + p() - t(); }; - k.prototype.zoa = function (E) { - return E + u() - p(); + k.prototype.uoa = function (E) { + return E + t() - p(); }; - c.prototype.oPa = function (E) { - var F; - F = []; - this.prefix && Array.isArray(this.prefix) ? F.push.apply(F, ca(this.prefix)) : this.prefix && F.push(this.prefix); - F.push(E); - return new c(this.Gn, this.groups, F); + c.prototype.nPa = function (E) { + var G; + G = []; + this.prefix && Array.isArray(this.prefix) ? G.push.apply(G, ca(this.prefix)) : this.prefix && G.push(this.prefix); + G.push(E); + return new c(this.Gn, this.groups, G); }; x = (function () { var E; @@ -133807,25 +133948,25 @@ a000.D9b = function () { E.prototype.fail = Promise.prototype.catch; return E; })(); - q.exports = function (E) { - h = E.sG; + r.exports = function (E) { + h = E.yG; v = E.ii; - r = E.storage; - n = E.JL; - p = E.CAb; - u = E.getTime; - t = E.tlb; - y = E.kq; - C = E.ou; - z = E.PH; - B = E.SourceBuffer; - A = E.MediaSource; - w = E.q5b; - m = E.ws; + q = E.storage; + n = E.LL; + p = E.FAb; + t = E.getTime; + u = E.ulb; + y = E.mq; + C = E.tu; + z = E.XH; + A = E.SourceBuffer; + B = E.MediaSource; + w = E.B5b; + m = E.As; return { name: "cadmium", - ws: m, - sG: h, + As: m, + yG: h, storage: new f(), Storage: f, time: new k(), @@ -133834,37 +133975,37 @@ a000.D9b = function () { Console: c, options: {}, Promise: x, - kq: y, - PH: z, - Jbb: B, - MediaSource: A, - ou: C, - Yn: { + mq: y, + XH: z, + Nbb: A, + MediaSource: B, + tu: C, + $n: { name: l }, memory: { - Lzb: d + Pzb: d }, - Mn: E.Mn + Nn: E.Nn }; }; - }, function (q, b, a) { - q.exports = { - EventEmitter: a(1208), - zh: a(1209) + }, function (r, b, a) { + r.exports = { + EventEmitter: a(1212), + xh: a(1213) }; - }, function (q) { + }, function (r) { function b(c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: addEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) - return (this.ed = {}, this.ed[c] = [f], !0); - k = this.ed[c]; - return void 0 === k ? (this.ed[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; + if (void 0 === this.fd) + return (this.fd = {}, this.fd[c] = [f], !0); + k = this.fd[c]; + return void 0 === k ? (this.fd[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; } function a(c, f) { - c = this.ed ? this.ed[c] : void 0; + c = this.fd ? this.fd[c] : void 0; if (!c) return !1; c.forEach(function (k) { @@ -133872,34 +134013,34 @@ a000.D9b = function () { }); return !0; } - q.exports = { + r.exports = { addEventListener: b, on: b, removeEventListener: function (c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: removeEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) + if (void 0 === this.fd) return !1; - k = this.ed[c]; + k = this.fd[c]; if (void 0 === k) return !1; f = k.indexOf(f); if (0 > f) return !1; if (1 === k.length) - return (delete this.ed[c], !0); + return (delete this.fd[c], !0); k.splice(f, 1); return !0; }, - Ta: a, + Ua: a, emit: a, removeAllListeners: function (c) { - this.ed && (void 0 === c ? delete this.ed : delete this.ed[c]); + this.fd && (void 0 === c ? delete this.fd : delete this.fd[c]); return this; } }; - }, function (q) { + }, function (r) { function b(c, f, k, l) { c.trace(":", k, ":", l); f(l); @@ -133939,8 +134080,8 @@ a000.D9b = function () { this.listeners = []; this.console && this.console.trace("removed", c, "listener(s)"); }; - q.exports = a; - }, function (q, b, a) { + r.exports = a; + }, function (r, b, a) { var f, k, l, @@ -133949,179 +134090,179 @@ a000.D9b = function () { h, m, n, - r; - function c(p, u) { + q; + function c(p, t) { var v, x, y, z, - B, A, + B, C, E, - F, + G, D, - G; - function t() { - var I; - I = p.ac.value === n.Bb.yc && p.state.value === n.Gb.$d && p.K === u.K; - G ? I || (clearInterval(G), A = G = void 0) : I && (G = pb.setInterval(w, 1E3)); + F; + function u() { + var J; + J = p.bc.value === n.Eb.Ac && p.state.value === n.Jb.Yd && p.K === t.K; + F ? J || (clearInterval(F), B = F = void 0) : J && (F = pb.setInterval(w, 1E3)); } function w() { - var I, - J, + var J, + K, H, - M, - O, - L; - I = p.Sf.value; - I = (I = I && I.stream) && I.height; - if (null !== I && 0 < I) { - J = d.Hi(); - H = p.Cg.uF(); + L, + Q, + I; + J = p.Tf.value; + J = (J = J && J.stream) && J.height; + if (null !== J && 0 < J) { + K = d.Hi(); + H = p.Bg.yF(); if (H) { - if (A && 2E3 > J - A.time && I === A.height) { - M = H - A.Iub; - O = x[I]; - O || (x[I] = O = [], I > E && (B.push(I), l.KX(B))); - 0 < M && !(D && D < I) && (D = I); - O.push(M); - O.length > C && O.shift(); - (O = z[I]) || (z[I] = O = {}); - L = O[M]; - O[M] = L ? L + 1 : 1; + if (B && 2E3 > K - B.time && J === B.height) { + L = H - B.Mub; + Q = x[J]; + Q || (x[J] = Q = [], J > E && (A.push(J), l.JX(A))); + 0 < L && !(D && D < J) && (D = J); + Q.push(L); + Q.length > C && Q.shift(); + (Q = z[J]) || (z[J] = Q = {}); + I = Q[L]; + Q[L] = I ? I + 1 : 1; } - A = { - time: J, - Iub: H, - height: I + B = { + time: K, + Mub: H, + height: J }; - p.t6 && p.t6.ORb(x); + p.s6 && p.s6.RRb(x); } } } v = g.Ih(p, "DFF"); x = {}; - y = f.config.Mub; + y = f.config.Qub; z = {}; - B = []; - C = f.config.Kub; - E = f.config.Lub; - F = k.aBa; - if (f.config.Jub) - return (u.Uha = { - uyb: function () { - var I; - I = {}; - z && B.forEach(function (J) { + A = []; + C = f.config.Oub; + E = f.config.Pub; + G = k.ZAa; + if (f.config.Nub) + return (t.Oha = { + zyb: function () { + var J; + J = {}; + z && A.forEach(function (K) { var H, - M, - O; - H = z[J]; + L, + Q; + H = z[K]; if (H) { - M = 0; - O = 0; - r.de(H, function (L, P) { - O += h.pe(L); - M += P; + L = 0; + Q = 0; + q.ae(H, function (I, O) { + Q += h.se(I); + L += O; }); - I[J] = O / M; + J[K] = Q / L; } }); - return I; + return J; }, - yT: function (I) { - var J; - J = {}; - I.forEach(function (H) { - J[H] = {}; + wT: function (J) { + var K; + K = {}; + J.forEach(function (H) { + K[H] = {}; }); - z && (l.KX(I), B.forEach(function (H) { - var M, - O, - L, - P; - M = z[H]; - if (M) { - O = 0; - L = 0; - r.de(M, function (da, na) { - O += na; + z && (l.JX(J), A.forEach(function (H) { + var L, + Q, + I, + O; + L = z[H]; + if (L) { + Q = 0; + I = 0; + q.ae(L, function (ea, pa) { + Q += pa; }); - P = Object.keys(M).map(Number); - l.KX(P); - for (var R = P.length - 1, K = P[R], Q = I.length - 1; 0 <= Q; Q--) { - for (var N = I[Q]; K >= N && 0 <= R; ) { - (K = M[K]) && (L += K); - K = P[--R]; + O = Object.keys(L).map(Number); + l.JX(O); + for (var N = O.length - 1, M = O[N], P = J.length - 1; 0 <= P; P--) { + for (var R = J[P]; M >= R && 0 <= N; ) { + (M = L[M]) && (I += M); + M = O[--N]; } - J[N][H] = m.yi(L / O * 100); + K[R][H] = m.yi(I / Q * 100); } } })); - return J; + return K; } - }, p.state.addListener(t), p.ac.addListener(t), p.addEventListener(n.W.sv, t), { - KK: "df", - Mt: function (I) { - var M, - O, - L, - K, - Q; - if (I.lower && I.height > E) { - I = I.height; + }, p.state.addListener(u), p.bc.addListener(u), p.addEventListener(n.Z.yv, u), { + OK: "df", + Rt: function (J) { + var L, + Q, + I, + M, + P; + if (J.lower && J.height > E) { + J = J.height; a: { if (D) { - for (var J = B.length, H = 0; H < J; H++) { - M = B[H]; - if (M >= D && M < F) { - O = x[M]; - if (L = O) + for (var K = A.length, H = 0; H < K; H++) { + L = A[H]; + if (L >= D && L < G) { + Q = x[L]; + if (I = Q) b: { - L = y.length; - for (var P = O.length, R = 0; R < L; R++) { - K = y[R]; - Q = K[0]; - K = K[1]; - for (var N = 0; N < P; N++) { - if (O[N] >= K && 0 >= --Q) { - L = !0; + I = y.length; + for (var O = Q.length, N = 0; N < I; N++) { + M = y[N]; + P = M[0]; + M = M[1]; + for (var R = 0; R < O; R++) { + if (Q[R] >= M && 0 >= --P) { + I = !0; break b; } } } - L = !1; + I = !1; } - if (L && F != M) { + if (I && G != L) { v.warn("Restricting resolution due to high number of dropped frames", { - MaxHeight: M + MaxHeight: L }); - u.Zo.set({ + t.$o.set({ reason: "droppedFrames", - height: M + height: L }); - J = F = M; + K = G = L; break a; } } } D = void 0; } - J = F; + K = G; } - I = I >= J; + J = J >= K; } else - I = !1; - return I; + J = !1; + return J; } }); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.Lbb = void 0; - q = a(100); + b.Pbb = void 0; + r = a(100); f = a(13); k = a(12); l = a(47); @@ -134130,32 +134271,32 @@ a000.D9b = function () { h = a(29); m = a(11); n = a(18); - r = a(24); - q.vD(c); - b.Lbb = c; - }, function (q, b, a) { + q = a(24); + r.xD(c); + b.Pbb = c; + }, function (r, b, a) { Object.defineProperty(b, "__esModule", { value: !0 }); - a(100).vD(function () { + a(100).xD(function () { return { - KK: "op", - Mt: function () {} + OK: "op", + Rt: function () {} }; }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k; function c(l, d) { var g, h; g = k.Ih(l, "MSS"); - if (f.config.LIb) + if (f.config.NIb) return { - KK: "mss", - Mt: function (m) { + OK: "mss", + Rt: function (m) { var n, - r; + q; if (m.lower && 2160 <= m.height) a: { for (n = m; n.lower; ) { @@ -134174,15 +134315,15 @@ a000.D9b = function () { if (n) { if (void 0 === h) { try { - r = pb.MSMediaKeys; - h = r && r.isTypeSupportedWithFeatures ? "probably" === r.isTypeSupportedWithFeatures("com.microsoft.playready.software", 'video/mp4;codecs="avc1,mp4a";features="display-res-x=3840,display-res-y=2160,display-bpc=8"') : !1; + q = pb.MSMediaKeys; + h = q && q.isTypeSupportedWithFeatures ? "probably" === q.isTypeSupportedWithFeatures("com.microsoft.playready.software", 'video/mp4;codecs="avc1,mp4a";features="display-res-x=3840,display-res-y=2160,display-bpc=8"') : !1; } catch (p) { g.error("hasUltraHdDisplay exception"); h = !0; } h || (g.warn("Restricting resolution due screen size", { MaxHeight: m.height - }), d.Zo.set({ + }), d.$o.set({ reason: "microsoftScreenSize", height: m.height })); @@ -134195,13 +134336,13 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.Mbb = void 0; - q = a(100); + b.Qbb = void 0; + r = a(100); f = a(13); k = a(7); - q.vD(c); - b.Mbb = c; - }, function (q, b, a) { + r.xD(c); + b.Qbb = c; + }, function (r, b, a) { var c, f, k, @@ -134209,37 +134350,37 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(100); - c = a(1214); + r = a(100); + c = a(1218); f = a(7); k = a(34); l = a(79); - q.vD(function (d) { + r.xD(function (d) { var g; - if (f.ha.get(k.Kk).TV) { - g = f.ha.get(l.gu); - return new c.lAa(d, f.Bg, g); + if (f.ha.get(k.Kk).SV) { + g = f.ha.get(l.lu); + return new c.jAa(d, f.Ag, g); } }); - }, function (q, b, a) { + }, function (r, b, a) { var f; function c(k, l, d) { var g; g = this; this.j = k; - this.ya = l; - this.Lna = d; - this.ima = !1; - this.log = this.ya.Cb("KeySystemRobustness", this.j); - this.ima = !1; - this.Lna.ly().then(function (h) { + this.za = l; + this.Gna = d; + this.cma = !1; + this.log = this.za.Db("KeySystemRobustness", this.j); + this.cma = !1; + this.Gna.AB().then(function (h) { var m, n; - n = null === (m = h.getConfiguration().videoCapabilities) || void 0 === m ? void 0 : m.map(function (r) { - return r.robustness; + n = null === (m = h.getConfiguration().videoCapabilities) || void 0 === m ? void 0 : m.map(function (q) { + return q.robustness; }); - g.ima = !(null === n || void 0 === n || !n.some(function (r) { - return r === f.IY; + g.cma = !(null === n || void 0 === n || !n.some(function (q) { + return q === f.eP; })); k.p3a("keySystem", h.keySystem); k.p3a("robustness", null === n || void 0 === n ? void 0 : n.toString()); @@ -134251,13 +134392,13 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.lAa = void 0; - f = a(66); - c.prototype.Mt = function (k) { - return k.lower && k.By && !this.ima && 720 < k.height; + b.jAa = void 0; + f = a(59); + c.prototype.Rt = function (k) { + return k.lower && k.Ey && !this.cma && 720 < k.height; }; Xa.Object.defineProperties(c.prototype, { - KK: { + OK: { configurable: !0, enumerable: !0, get: function () { @@ -134265,81 +134406,81 @@ a000.D9b = function () { } } }); - b.lAa = c; - }, function (q, b, a) { + b.jAa = c; + }, function (r, b, a) { var c, f, k; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(100); + r = a(100); c = a(13); f = a(7); - k = a(1216); - q.vD(function (l, d) { - if (c.config.HFb) - return new k.kAa(l, d, f.Bg, c.config, f.wa, f.vc); + k = a(1220); + r.xD(function (l, d) { + if (c.config.KFb) + return new k.iAa(l, d, f.Ag, c.config, f.xa, f.xc); }); - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l; - function c(d, g, h, m, n, r) { + function c(d, g, h, m, n, q) { var p; p = this; this.j = d; - this.io = g; - this.ya = h; + this.jo = g; + this.za = h; this.config = m; - this.wa = n; - this.vc = r; - this.elb = function (u) { - !0 === u.oldValue && !1 === u.newValue && (p.log.error("RestartStreaming: UHD key is no longer usable"), p.j.AQb()); + this.xa = n; + this.xc = q; + this.flb = function (t) { + !0 === t.oldValue && !1 === t.newValue && (p.log.error("RestartStreaming: UHD key is no longer usable"), p.j.FQb()); }; - this.dWb = function (u) { - var t, + this.fWb = function (t) { + var u, w, v; - p.log.trace("UhdKeyStatus: " + u.oldValue + " -> " + u.newValue); - w = null === u || void 0 === u ? void 0 : u.newValue; - v = null === u || void 0 === u ? void 0 : u.oldValue; - "usable" !== w && (p.JRb(w, (null === (t = null === u || void 0 === u ? void 0 : u.Wu) || void 0 === t ? void 0 : t.height) || 0), "usable" === v && (u = p.wa.Ue.Ba(p.JFb), p.log.error("UHD KeyStatus unexpectedly changed: " + u.ea(l.ma)))); + p.log.trace("UhdKeyStatus: " + t.oldValue + " -> " + t.newValue); + w = null === t || void 0 === t ? void 0 : t.newValue; + v = null === t || void 0 === t ? void 0 : t.oldValue; + "usable" !== w && (p.MRb(w, (null === (u = null === t || void 0 === t ? void 0 : t.av) || void 0 === u ? void 0 : u.height) || 0), "usable" === v && (t = p.xa.We.Da(p.MFb), p.log.error("UHD KeyStatus unexpectedly changed: " + t.ea(l.ma)))); }; - this.FWa = !1; - this.log = this.ya.Cb("KeyStatusStreamFilter", this.j); - this.RLa = new k.Ec(!1, this.elb); - this.cWb = new k.Ec(void 0, this.dWb); + this.DWa = !1; + this.log = this.za.Db("KeyStatusStreamFilter", this.j); + this.QLa = new k.zc(!1, this.flb); + this.eWb = new k.zc(void 0, this.fWb); } Object.defineProperty(b, "__esModule", { value: !0 }); - b.kAa = void 0; + b.iAa = void 0; f = a(202); k = a(105); - l = a(5); - c.prototype.Mt = function (d) { - this.kUb(); - this.RLa.set(this.FWa && this.OCb); - return d.lower && 1080 < d.height && !this.RLa.value ? !0 : !1; - }; - c.prototype.hpb = function () { - this.OCb = !0; + l = a(4); + c.prototype.Rt = function (d) { + this.mUb(); + this.QLa.set(this.DWa && this.QCb); + return d.lower && 1080 < d.height && !this.QLa.value ? !0 : !1; + }; + c.prototype.ipb = function () { + this.QCb = !0; this.log.trace("HDCP enagement wait is complete: " + this.config.eVa); }; - c.prototype.Rrb = function () { + c.prototype.Srb = function () { var d, g, h; g = {}; - h = null === (d = this.io.Qh.value) || void 0 === d ? void 0 : d.zt; + h = null === (d = this.jo.Ph.value) || void 0 === d ? void 0 : d.Dt; null === h || void 0 === h ? void 0 : h.forEach(function (m) { - g[m.Li] = m.e7.height; + g[m.Ji] = m.bW.height; }); this.log.trace("KeyStatusMap", g); return g; }; - c.prototype.oZa = function (d) { + c.prototype.lZa = function (d) { var g; g = this; Object.entries(d).forEach(function (h) { @@ -134347,35 +134488,35 @@ a000.D9b = function () { m = aa(h); h = m.next().value; m = m.next().value; - h = g.IFb[h]; - 1080 < h && (g.FWa = "usable" === m, g.cWb.set(m, { + h = g.LFb[h]; + 1080 < h && (g.DWa = "usable" === m, g.eWb.set(m, { height: h })); }); }; - c.prototype.kUb = function () { + c.prototype.mUb = function () { var d, g; d = this; - g = this.io.we; - !this.lFb && f.Rla(g) && (this.lFb = !0, this.IFb = this.Rrb(), this.oZa(g.keyStatuses.value), g.keyStatuses.addListener(function (h) { - return d.oZa(h.newValue); - }), this.vc.Oj(l.uc(this.config.eVa), function () { - return d.hpb(); - }), this.JFb = this.wa.Ue); - }; - c.prototype.JRb = function (d, g) { + g = this.jo.Ve; + !this.oFb && f.Mla(g) && (this.oFb = !0, this.LFb = this.Srb(), this.lZa(g.keyStatuses.value), g.keyStatuses.addListener(function (h) { + return d.lZa(h.newValue); + }), this.xc.Nj(l.wc(this.config.eVa), function () { + return d.ipb(); + }), this.MFb = this.xa.We); + }; + c.prototype.MRb = function (d, g) { this.log.error("Restricting resolution due to keyStatus", { keyHeight: g, keyStatus: d }); - this.io.Zo.set({ + this.jo.$o.set({ reason: "keyStatus", height: g }); }; Xa.Object.defineProperties(c.prototype, { - KK: { + OK: { configurable: !0, enumerable: !0, get: function () { @@ -134383,17 +134524,17 @@ a000.D9b = function () { } } }); - b.kAa = c; - }, function (q, b, a) { + b.iAa = c; + }, function (r, b, a) { var c, f; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(100); + r = a(100); c = a(13); f = a(7); - q.vD(function (k, l) { + r.xD(function (k, l) { var d, g, h, @@ -134405,19 +134546,19 @@ a000.D9b = function () { "show-as-a-row-bob-horizontal": 480, "mini-modal-horizontal": 720 }; - Object.assign(d, c.config.eWb); - g = d[l.Zd]; - if (c.config.fWb && g) { + Object.assign(d, c.config.gWb); + g = d[l.je]; + if (c.config.hWb && g) { h = {}; m = f.Ih(k, "MediaStreamFilter"); return { - KK: "uiLabel", - Mt: function (n) { + OK: "uiLabel", + Rt: function (n) { if (n.lower && n.height > g) return (h[n.height] || (h[n.height] = !0, m.warn("Restricting resolution due to uiLabel", { MaxHeight: g, streamHeight: n.height - }), l.Zo.set({ + }), l.$o.set({ reason: "uiLabel", height: n.height })), !0); @@ -134425,7 +134566,7 @@ a000.D9b = function () { }; } }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134435,117 +134576,117 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, t, + u, w; Object.defineProperty(b, "__esModule", { value: !0 }); c = a(181); - f = a(524); - q = a(62); + f = a(527); + r = a(63); k = a(13); - l = a(63); + l = a(64); d = a(12); g = a(47); h = a(51); m = a(24); n = a(11); - r = a(7); - p = a(121); - u = a(18); - t = a(32); + q = a(7); + p = a(120); + t = a(18); + u = a(32); w = a(34); - q.Taa(q.Oaa, function (v) { + r.Maa(r.Haa, function (v) { var E, - F, - D, G, - I, - J; + D, + F, + J, + K; function x(H) { - var M, - O; - if (H.newValue >= u.Gb.LOADING) { + var L, + Q; + if (H.newValue >= t.Jb.LOADING) { v.state.removeListener(x); - H = n.VY; + H = n.UY; try { - M = "" + h.i1(); - localStorage.setItem("player$test", M); - O = localStorage.getItem("player$test"); + L = "" + h.k1(); + localStorage.setItem("player$test", L); + Q = localStorage.getItem("player$test"); localStorage.removeItem("player$test"); - M = M == O ? "success" : "mism"; - } catch (L) { - M = "ex: " + L; + L = L == Q ? "success" : "mism"; + } catch (I) { + L = "ex: " + I; } - C("type=openplay&sev=info&locstor=" + H.call(n, M)); + C("type=openplay&sev=info&locstor=" + H.call(n, L)); D = h.Hi(); - B(); + A(); } } function y() { - J("type=startplay&sev=info&outcome=success"); + K("type=startplay&sev=info&outcome=success"); } function z() { var H, - M; + L; H = v.Zk; if (H) { - M = "type=startplay&sev=error&outcome=error"; - H = c.cka(r.ha.get(w.Kk).kp, H); - m.de(H, function (O, L) { - M += "&" + n.VY(O) + "=" + n.VY(L || ""); + L = "type=startplay&sev=error&outcome=error"; + H = c.Zja(q.ha.get(w.Kk).lp, H); + m.ae(H, function (Q, I) { + L += "&" + n.UY(Q) + "=" + n.UY(I || ""); }); - J(M); + K(L); } else - J("type=startplay&sev=info&outcome=abort"); + K("type=startplay&sev=info&outcome=abort"); } - function B() { + function A() { var H, - M; - H = G.shift(); + L; + H = F.shift(); if (0 < H) { - M = n.ln(H - (h.Hi() - D), 0); - F = setTimeout(function () { + L = n.kn(H - (h.Hi() - D), 0); + G = setTimeout(function () { C("type=startstall&sev=info&kt=" + H); - B(); - }, M); + A(); + }, L); } } - function A() { - J("type=startplay&sev=info&outcome=unload"); + function B() { + K("type=startplay&sev=info&outcome=unload"); } function C(H) { - H = I + "&soffms=" + v.kka() + "&" + H; - v.bd && Object.keys(v.bd).length && (H += "&" + g.lM(m.Qb({}, v.bd, { + H = J + "&soffms=" + v.gka() + "&" + H; + v.bd && Object.keys(v.bd).length && (H += "&" + g.nM(m.Tb({}, v.bd, { prefix: "sm_" }))); - f.p5a("playback", H, E); + f.r5a("playback", H, E); } - E = r.ha.get(p.FH).host + k.config.lta; - if (k.config.q5a && E && k.config.r5a.playback) { - G = k.config.GVb.slice(); - I = "xid=" + v.ba + "&pbi=" + v.index + "&uiLabel=" + (v.Zd || ""); + E = q.ha.get(p.NH).host + k.config.gta; + if (k.config.s5a && E && k.config.t5a.playback) { + F = k.config.IVb.slice(); + J = "xid=" + v.ca + "&pbi=" + v.index + "&uiLabel=" + (v.je || ""); v.state.addListener(x); - v.addEventListener(u.W.ot, y); - v.addEventListener(u.W.dg, z); - l.lf.addListener(l.Jm, A, d.ED); - J = function (H) { - var M; - J = d.kj; - M = r.ha.get(t.Zg); - H += "&initstart=" + M.startTime + "&initend=" + M.endTime; + v.addEventListener(t.Z.tt, y); + v.addEventListener(t.Z.dg, z); + l.lf.addListener(l.Hm, B, d.GD); + K = function (H) { + var L; + K = d.Yj; + L = q.ha.get(u.Xg); + H += "&initstart=" + L.startTime + "&initend=" + L.endTime; C(H); - clearTimeout(F); - v.removeEventListener(u.W.ot, y); - v.removeEventListener(u.W.dg, z); - l.lf.removeListener(l.Jm, A); + clearTimeout(G); + v.removeEventListener(t.Z.tt, y); + v.removeEventListener(t.Z.dg, z); + l.lf.removeListener(l.Hm, B); }; } }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134555,15 +134696,15 @@ a000.D9b = function () { }); c = a(13); f = a(12); - q = a(3); + r = a(3); k = a(7); l = a(164); a = a(32); - k.ha.get(a.Zg).register(q.L.Aza, function (d) { - c.config.Oxb && k.ha.get(l.Jya).start(); - d(f.Ee); + k.ha.get(a.Xg).register(r.M.yza, function (d) { + c.config.Uxb && k.ha.get(l.Hya).start(); + d(f.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134572,47 +134713,47 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - b.ywa = void 0; - c = a(71); + b.vwa = void 0; + c = a(72); f = a(47); k = a(21); l = a(24); d = a(29); - b.ywa = function (g, h) { + b.vwa = function (g, h) { k.gb(g); k.gb(h); - k.oK(h.Mvb, "endpointURL property is required"); - k.gb(h.Ud); + k.sK(h.Svb, "endpointURL property is required"); + k.gb(h.Td); this.log = g; - this.m0a = h; + this.k0a = h; }; - b.ywa.prototype.xB = function () { + b.vwa.prototype.xB = function () { var g, h, m; g = this; g.log.trace("Downloading config data."); h = { - browserInfo: JSON.stringify(g.m0a.Ud) + browserInfo: JSON.stringify(g.k0a.Td) }; - m = g.m0a.Mvb + "?" + f.lM(h); - return new Promise(function (n, r) { + m = g.k0a.Svb + "?" + f.nM(h); + return new Promise(function (n, q) { function p(v) { var x, y; try { - if (v.X) { + if (v.W) { x = new Uint8Array(v.content); y = String.fromCharCode.apply(null, x); return { - X: !0, + W: !0, config: JSON.parse(y).core.initParams }; } return { - X: !1, - message: "Unable to download the config. " + v.sb, - GF: v.lk + W: !1, + message: "Unable to download the config. " + v.qb, + LF: v.lk }; } catch (z) { return (v = l.vd(z), g.log.error("Unable to download the config. Received an exception parsing response", { @@ -134620,19 +134761,19 @@ a000.D9b = function () { exception: v, url: m }), { - X: !1, - sb: v, + W: !1, + qb: v, message: "Unable to download the config. " + z.message }); } } - function u(v, x, y) { - return x > y ? (g.log.error("Config download failed, retry limit exceeded, giving up", d.Qb({ + function t(v, x, y) { + return x > y ? (g.log.error("Config download failed, retry limit exceeded, giving up", d.Tb({ Attempts: x - 1, MaxRetries: y }, v)), !1) : !0; } - function t(v) { + function u(v) { return new Promise(function (x) { setTimeout(function () { x(); @@ -134640,39 +134781,39 @@ a000.D9b = function () { }); } function w(v, x, y) { - c.Bf.download(v, function (z) { - var B; + c.Df.download(v, function (z) { + var A; z = p(z); - if (z.X) + if (z.W) n(z); else { - g.log.warn("Config download failed, retrying", d.Qb({ + g.log.warn("Config download failed, retrying", d.Tb({ Attempt: x, - WaitTime: B, + WaitTime: A, MaxRetries: y }, z)); - if (u(z, x + 1, y)) { - B = l.jqa(1E3, 1E3 * Math.pow(2, Math.min(x - 1, y))); - return t(B).then(function () { + if (t(z, x + 1, y)) { + A = l.dqa(1E3, 1E3 * Math.pow(2, Math.min(x - 1, y))); + return u(A).then(function () { return w(v, x + 1, y); }); } - r(z); + q(z); } }); } - return c.Bf ? w({ + return c.Df ? w({ url: m, responseType: 3, withCredentials: !0, - hF: "config-download" + kF: "config-download" }, 1, 3) : Promise.reject({ - X: !1, + W: !1, message: "Unable to download Config. There was no HTTP object supplied" }); }); }; - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134682,7 +134823,7 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperty(b, "__esModule", { value: !0 @@ -134691,50 +134832,50 @@ a000.D9b = function () { f = a(160); k = a(12); l = a(13); - q = a(3); + r = a(3); d = a(7); g = a(21); h = a(24); m = a(29); n = a(17); - r = a(58); + q = a(58); p = a(99); a = a(32); - d.ha.get(a.Zg).register(q.L.Jza, function (u) { - var t, + d.ha.get(a.Xg).register(r.M.Hza, function (t) { + var u, w; - t = d.ii("NccpApi"); + u = d.ii("NccpApi"); w = h.pMa(["info", "warn", "trace", "error"]); - f.DI.rR.nccp = { + f.II.sR.nccp = { getEsn: function () { return c.ei.gi; }, getPreferredLanguages: function () { - return l.config.Mq.Rpa; + return l.config.Nq.Lpa; }, setPreferredLanguages: function (v) { - g.gb(n.isArray(v) && m.Dy(v[0])); - l.config.Mq.Rpa = v; + g.gb(n.isArray(v) && m.Gy(v[0])); + l.config.Nq.Lpa = v; }, queueLogblob: function (v, x, y) { var z; if (v && x) if ((x = x.toLowerCase(), w[x])) { - z = d.ha.get(r.iq); - v = d.ha.get(p.eA).Uu(v, x, y); - z.Xd(v); + z = d.ha.get(q.kq); + v = d.ha.get(p.fA).Zu(v, x, y); + z.fe(v); } else - t.warn("Invalid severity", { + u.warn("Invalid severity", { severity: x }); }, flushLogblobs: function () { - d.ha.get(r.iq).flush(!0); + d.ha.get(q.kq).flush(!0); } }; - u(k.Ee); + t(k.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134744,12 +134885,12 @@ a000.D9b = function () { h, m, n, - r, + q, p; Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(32); + r = a(32); b = a(3); c = a(8); f = a(34); @@ -134757,104 +134898,104 @@ a000.D9b = function () { l = a(12); d = a(13); g = a(7); - h = a(117); - m = a(62); + h = a(129); + m = a(63); n = a(160); - r = a(277); + q = a(278); p = a(116); - g.ha.get(q.Zg).register(b.L.Lza, function (u) { + g.ha.get(r.Xg).register(b.M.Jza, function (t) { var v, x, y; - function t(z, B) { - return void 0 === z || void 0 === B ? Promise.reject("Invalid email and/or password") : g.ha.get(r.Aaa).Of(this.log, {}, { + function u(z, A) { + return void 0 === z || void 0 === A ? Promise.reject("Invalid email and/or password") : g.ha.get(q.uaa).Pf(this.log, {}, { email: z, - password: B + password: A }).then(function () {}); } function w(z) { - var B; - B = g.ha.get(p.SD); - return B.CRa.fetch(z, B); + var A; + A = g.ha.get(p.VD); + return A.BRa.fetch(z, A); } - if (d.config.iwb) { + if (d.config.owb) { v = g.ha.get(k.iZ); x = g.ha.get(f.Kk); - y = g.ha.get(c.Kb).Cb("Test"); - n.DI.rR.test = { + y = g.ha.get(c.Ib).Db("Test"); + n.II.sR.test = { setPboRequestsListener: function (z) { - return v.$Rb(z); + return v.cSb(z); }, - playbacks: m.Bo, + playbacks: m.Co, getPlayback: function (z) { - return m.Bo.find(function (B) { - return B.ba === z; + return m.Co.find(function (A) { + return A.ca === z; }); }, playgraphManager: { - isNextSegmentReady: function (z, B) { - var A, + isNextSegmentReady: function (z, A) { + var B, C; - return void 0 !== (null === (C = null === (A = m.Bo.find(function (E) { - return E.ba === z; - })) || void 0 === A ? void 0 : A.Ma) || void 0 === C ? void 0 : C.iT(B)); + return void 0 !== (null === (C = null === (B = m.Co.find(function (E) { + return E.ca === z; + })) || void 0 === B ? void 0 : B.Pa) || void 0 === C ? void 0 : C.gT(A)); } }, aseManager: { cacheDestroy: function () { - return h.Dl.uMa.Dx(); + return h.sm.uMa.Ix(); } }, device: { esn: pb._cad_global.device.gi, - esnPrefix: x.Kn, - errorPrefix: x.kp + esnPrefix: x.Ln, + errorPrefix: x.lp }, log: { - info: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + info: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.info(z, A); + return y.info(z, B); }, - error: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + error: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.error(z, A); + return y.error(z, B); }, - warn: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + warn: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.warn(z, A); + return y.warn(z, B); }, - trace: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + trace: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.trace(z, A); + return y.trace(z, B); }, - log: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + log: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.log(z, A); + return y.log(z, B); }, - debug: function (z, B) { - for (var A = [], C = 1; C < arguments.length; ++C) { - A[C - 1] = arguments[C]; + debug: function (z, A) { + for (var B = [], C = 1; C < arguments.length; ++C) { + B[C - 1] = arguments[C]; } - return y.debug(z, A); + return y.debug(z, B); } }, - login: t, + login: u, getManifest: w }; } - u(l.Ee); + t(l.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -134867,10 +135008,10 @@ a000.D9b = function () { Object.defineProperty(b, "__esModule", { value: !0 }); - q = a(1224); + r = a(1228); c = a(12); f = a(13); - k = a(62); + k = a(63); b = a(8); l = a(7); d = a(58); @@ -134881,36 +135022,36 @@ a000.D9b = function () { pb.netflix = pb.netflix || ({}); h.gb(!pb.netflix.player); pb.netflix.player = { - VideoSession: q.SHa, + VideoSession: r.OHa, diag: { - togglePanel: function (r, p) { - var u; - u = []; - if (!f.config || f.config.XV) { - switch (r) { + togglePanel: function (q, p) { + var t; + t = []; + if (!f.config || f.config.WV) { + switch (q) { case "info": - u = k.Bo.map(function (t) { - return t.t6; + t = k.Co.map(function (u) { + return u.s6; }); break; case "streams": - u = k.Bo.map(function (t) { - return t.u6; + t = k.Co.map(function (u) { + return u.t6; }); break; case "log": - u = []; + t = []; } - u.forEach(function (t) { - m.Hc(p) ? p ? t.show() : t.Tq() : t.toggle(); + t.forEach(function (u) { + m.Jc(p) ? p ? u.show() : u.Sq() : u.toggle(); }); } }, - addLogMessageSink: function (r) { - l.ha.get(d.iq).addListener({ - y7b: function () {}, - BIb: function (p) { - r({ + addLogMessageSink: function (q) { + l.ha.get(d.kq).addListener({ + M7b: function () {}, + DIb: function (p) { + q({ data: p.data }); } @@ -134918,103 +135059,102 @@ a000.D9b = function () { } }, log: l.ii("Ext"), - LogLevel: b.hj, - addLogSink: function (r, p) { - l.ha.get(g.eI).V6(r, p); + LogLevel: b.fj, + addLogSink: function (q, p) { + l.ha.get(g.mI).S6(q, p); }, getVersion: function () { - return "6.0031.809.911"; + return "6.0032.282.911"; }, - isWidevineSupported: function (r) { - var u; - function p(t) { + isWidevineSupported: function (q) { + var t; + function p(u) { return function (w, v) { - return v.contentType == t; + return v.contentType == u; }; } - if ("function" !== typeof r) + if ("function" !== typeof q) throw Error("input param is not a function"); - u = [{ + t = [{ distinctiveIdentifier: "not-allowed", videoCapabilities: [{ - contentType: c.zw, + contentType: c.Fw, robustness: "SW_SECURE_DECODE" } ], audioCapabilities: [{ - contentType: c.gI, + contentType: c.oI, robustness: "SW_SECURE_CRYPTO" } ] } ]; try { - n.Qe.requestMediaKeySystemAccess("com.widevine.alpha", u).then(function (t) { + n.Re.requestMediaKeySystemAccess("com.widevine.alpha", t).then(function (u) { var w; - w = t.getConfiguration(); - t = w.videoCapabilities || []; - w = (w.audioCapabilities || []).reduce(p(c.gI), !1); - t = t.reduce(p(c.zw), !1); - r(w && t); + w = u.getConfiguration(); + u = w.videoCapabilities || []; + w = (w.audioCapabilities || []).reduce(p(c.oI), !1); + u = u.reduce(p(c.Fw), !1); + q(w && u); }).catch(function () { - r(!1); + q(!1); }); - } catch (t) { - r(!1); + } catch (u) { + q(!1); } } }; - }, function (q, b, a) { + }, function (r, b, a) { var f, k, l, d, - g; - function c(h) { - var m; - m = l.DI.call(this, h) || this; - m.createPlayer = function (n, r) { - var p, + g, + h; + function c(m) { + var n; + n = l.II.call(this, m) || this; + n.createPlayer = function (q, p) { + var t, u, - t, w; - r = void 0 === r ? {} - : r; - p = "number" === typeof r ? { - Ek: r - } - : r; - u = f.ha.get(k.jZ).gsb(n); - n = f.ha.get(g.kP); - n = p.manifest ? n.create(p.manifest) : void 0; - r = f.ha.get(d.Xaa); - t = aa(m.ZTa(u, p)); - p = t.next().value; - u = t.next().value; - t = t.next().value; - w = u.$K(); - r = r.lPa(p, u); - r.addEpisode({ - movieId: w.da, - playbackParams: t, - manifest: n + p = void 0 === p ? {} + : p; + p = "number" === typeof p ? { + Ek: p + } + : p; + t = f.ha.get(k.jZ); + u = f.ha.get(g.lP); + u = p.manifest ? u.create(p.manifest) : void 0; + w = f.ha.get(d.Raa); + q = t.hsb(q); + t = f.ha.get(h.Paa).create(q); + q = t.V2(); + w = w.kPa(t); + w.addEpisode({ + movieId: q.$, + playbackParams: n.LMa(p, q), + manifest: u }); - return r; + return w; }; - return m; + return n; } Object.defineProperty(b, "__esModule", { value: !0 }); - b.SHa = void 0; + b.OHa = void 0; f = a(7); k = a(185); l = a(160); - d = a(290); + d = a(292); g = a(143); - ka(c, l.DI); - b.SHa = c; - }, function (q, b, a) { + h = a(291); + ja(c, l.II); + b.OHa = c; + }, function (r, b, a) { var c, f, k, @@ -135024,10 +135164,10 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u, - t; + t, + u; Object.defineProperty(b, "__esModule", { value: !0 }); @@ -135035,98 +135175,98 @@ a000.D9b = function () { f = a(155); k = a(12); l = a(47); - q = a(3); + r = a(3); d = a(7); g = a(162); h = a(21); m = a(29); n = a(11); b = a(32); - r = a(51); + q = a(51); p = a(89); - u = a(141); - t = a(161); - d.ha.get(b.Zg).register(q.L.Kza, function (w) { - var A; + t = a(141); + u = a(161); + d.ha.get(b.Xg).register(r.M.Iza, function (w) { + var B; function v() { return f.ei.gi; } function x(C) { var E; E = d.ha.get(p.GP); - d.ha.get(u.pP)().then(function (F) { + d.ha.get(t.qP)().then(function (G) { var D, - G; - D = F.OU.getStateForMdx(E); - G = D.cryptoContext; - F = D.masterToken; + F; + D = G.NU.getStateForMdx(E); + F = D.cryptoContext; + G = D.masterToken; D = D.userIdToken; - F && D ? (h.gb(G), F = ["1", d.ZA(JSON.stringify(F.toJSON())), d.ZA(JSON.stringify(D.toJSON()))].join(), C({ + G && D ? (h.gb(F), G = ["1", d.aB(JSON.stringify(G.toJSON())), d.aB(JSON.stringify(D.toJSON()))].join(), C({ success: !0, cryptoContext: { - cTicket: F, - encrypt: function (I, J) { - I = m.ze(I) ? d.TN(I) : I; - G.encrypt(I, { + cTicket: G, + encrypt: function (J, K) { + J = m.Be(J) ? d.TN(J) : J; + F.encrypt(J, { result: function (H) { - H = d.ZA(H); - J({ + H = d.aB(H); + K({ success: !0, mslEncryptionEnvelopeBase64: H }); }, timeout: function () { - J({ + K({ success: !1 }); }, error: function (H) { h.gb(!1, "Encrypt error: " + H); - J({ + K({ success: !1 }); } }); }, - decrypt: function (I, J) { - I = d.Dq(I); - G.decrypt(I, { + decrypt: function (J, K) { + J = d.Fq(J); + F.decrypt(J, { result: function (H) { - J({ + K({ success: !0, - text: d.lX(H) + text: d.kX(H) }); }, timeout: function () { - J({ + K({ success: !1 }); }, error: function (H) { h.gb(!1, "Decrypt error: " + H); - J({ + K({ success: !1 }); } }); }, - hmac: function (I, J) { - I = m.ze(I) ? d.TN(I) : I; - G.sign(I, { + hmac: function (J, K) { + J = m.Be(J) ? d.TN(J) : J; + F.sign(J, { result: function (H) { - J({ + K({ success: !0, - hmacBase64: d.ZA(H) + hmacBase64: d.aB(H) }); }, timeout: function () { - J({ + K({ success: !1 }); }, error: function (H) { h.gb(!1, "Hmac error: " + H); - J({ + K({ success: !1 }); } @@ -135139,15 +135279,15 @@ a000.D9b = function () { }); } function y(C, E) { - var F; - F = d.Dq(C); - C = F.subarray(32, 48); - F = F.subarray(0, 32); - if (16 != C.length || 32 != F.length) + var G; + G = d.Fq(C); + C = G.subarray(32, 48); + G = G.subarray(0, 32); + if (16 != C.length || 32 != G.length) throw Error("Bad shared secret"); - Promise.all([l.nG(n.ep.importKey("raw", C, { + Promise.all([l.tG(n.fp.importKey("raw", C, { name: "AES-CBC" - }, !1, ["encrypt", "decrypt"])), l.nG(n.ep.importKey("raw", F, { + }, !1, ["encrypt", "decrypt"])), l.tG(n.fp.importKey("raw", G, { name: "HMAC", hash: { name: "SHA-256" @@ -135164,97 +135304,97 @@ a000.D9b = function () { }); } function z(C, E) { - function F(D) { - D = new g.AO(d.Dq(D)); - D.hz(); + function G(D) { + D = new g.AO(d.Fq(D)); + D.kz(); return { iv: D.Z0a(), - Jvb: D.Z0a() + Pvb: D.Z0a() }; } return { - encrypt: function (D, G) { - var I; - D = m.ze(D) ? d.TN(D) : D; - I = n.iA.getRandomValues(new Uint8Array(16)); - l.nG(n.ep.encrypt({ + encrypt: function (D, F) { + var J; + D = m.Be(D) ? d.TN(D) : D; + J = n.jA.getRandomValues(new Uint8Array(16)); + l.tG(n.fp.encrypt({ name: "AES-CBC", - iv: I - }, C, D)).then(function (J) { + iv: J + }, C, D)).then(function (K) { var H, - M; - J = new Uint8Array(J); + L; + K = new Uint8Array(K); H = []; - M = new g.AO(H); - M.T8(2); - M.Y6a(I); - M.Y6a(J); - J = d.ZA(H); - G({ + L = new g.AO(H); + L.N8(2); + L.a7a(J); + L.a7a(K); + K = d.aB(H); + F({ success: !0, - encryptedDataAsn1Base64: J + encryptedDataAsn1Base64: K }); - }, function (J) { - h.gb(!1, "Encrypt error: " + J); - G({ + }, function (K) { + h.gb(!1, "Encrypt error: " + K); + F({ success: !1 }); }); }, - decrypt: function (D, G) { - D = F(D); - l.nG(n.ep.decrypt({ + decrypt: function (D, F) { + D = G(D); + l.tG(n.fp.decrypt({ name: "AES-CBC", iv: D.iv - }, C, D.Jvb)).then(function (I) { - I = new Uint8Array(I); - G({ + }, C, D.Pvb)).then(function (J) { + J = new Uint8Array(J); + F({ success: !0, - text: d.lX(I) + text: d.kX(J) }); - }, function (I) { - h.gb(!1, "Decrypt error: " + I); - G({ + }, function (J) { + h.gb(!1, "Decrypt error: " + J); + F({ success: !1 }); }); }, - hmac: function (D, G) { - D = m.ze(D) ? d.TN(D) : D; - l.nG(n.ep.sign({ + hmac: function (D, F) { + D = m.Be(D) ? d.TN(D) : D; + l.tG(n.fp.sign({ name: "HMAC", hash: { name: "SHA-256" } - }, E, D)).then(function (I) { - I = new Uint8Array(I); - G({ + }, E, D)).then(function (J) { + J = new Uint8Array(J); + F({ success: !0, - hmacBase64: d.ZA(I) + hmacBase64: d.aB(J) }); - }, function (I) { - h.gb(!1, "Hmac error: " + I); - G({ + }, function (J) { + h.gb(!1, "Hmac error: " + J); + F({ success: !1 }); }); } }; } - function B() { - return r.mga(); + function A() { + return q.gga(); } - A = d.ha.get(t.Vz); - if (A.fWa || A.mv) - c.DI.rR.mdx = { + B = d.ha.get(u.Xz); + if (B.dWa || B.sv) + c.II.sR.mdx = { getEsn: v, createCryptoContext: x, createCryptoContextFromSharedSecret: y, - getServerEpoch: B + getServerEpoch: A }; - w(k.Ee); + w(k.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var c, f, k, @@ -135265,95 +135405,95 @@ a000.D9b = function () { }); c = a(13); f = a(12); - q = a(3); + r = a(3); k = a(7); b = a(32); l = a(116); - k.ha.get(b.Zg).register(q.L.Fza, function (g) { + k.ha.get(b.Xg).register(r.M.Dza, function (g) { var h, m, n; - if (c.config.SMb) { + if (c.config.VMb) { h = k.ii("PlayerPredictionModel"); - m = k.ha.get(l.SD); - n = a(1227); + m = k.ha.get(l.VD); + n = a(1231); h.log = h.trace.bind(h); d = new n({}, h, { - ZV: function () {}, - WPb: function () {} + YV: function () {}, + aQb: function () {} }, m, { - EM: function () {} + FM: function () {} }); pb._cad_global.playerPredictionModel = d; h.info("ppm v2 initialized"); } - g(f.Ee); + g(f.Ge); }); - }, function (q, b, a) { + }, function (r, b, a) { var l, d, g, h, m, n, - r; - function c(p, u, t, w, v, x) { - this.K = this.da = p; - this.priority = u; - this.od = t; - x && x.Zd && (this.Zd = x.Zd); - void 0 !== w && (this.yM = w); + q; + function c(p, t, u, w, v, x) { + this.K = this.$ = p; + this.priority = t; + this.pd = u; + x && x.je && (this.je = x.je); + void 0 !== w && (this.AM = w); this.al = v; - this.Fb = x; + this.Hb = x; } - function f(p, u, t, w, v) { + function f(p, t, u, w, v) { g(void 0 !== w, "video preparer is null"); g(void 0 !== v, "ui preparer is null"); - this.H = u; - this.Ia = t; + this.H = t; + this.Ia = u; this.Mjb = w; this.Fjb = v; - this.mKa = n.Npa; - this.EJ = []; - this.Zda = !1; - this.jQ = 0; - new r().on(n, "changed", k, this); + this.kKa = n.Ipa; + this.GJ = []; + this.Tda = !1; + this.kQ = 0; + new q().on(n, "changed", k, this); this.reset(); } function k() { this.H.log("config changed"); - n.Npa && (this.mKa = n.Npa); - n.NU !== this.sJ && (this.reset(), this.Pqa()); + n.Ipa && (this.kKa = n.Ipa); + n.MU !== this.uJ && (this.reset(), this.Kqa()); } - l = a(292); - d = a(293); - b = a(527); + l = a(294); + d = a(295); + b = a(530); g = b.assert; - h = b.LRa; - m = a(1228); - n = a(528).config; - r = a(1229).zh; + h = b.KRa; + m = a(1232); + n = a(531).config; + q = a(1233).xh; n.declare({ - Npa: ["ppmConfig", { - gZb: { - QZa: 0, - PZa: 2, - NZa: 0, - OZa: 5, + Ipa: ["ppmConfig", { + hZb: { + OZa: 0, + NZa: 2, + LZa: 0, + MZa: 5, t3a: 0 }, t2b: { - QZa: 0, - PZa: 1, - NZa: 0, - OZa: 3, + OZa: 0, + NZa: 1, + LZa: 0, + MZa: 3, t3a: 1E3 }, - wZb: { - QZa: 0, - PZa: 1, - NZa: 0, - OZa: 3, + xZb: { + OZa: 0, + NZa: 1, + LZa: 0, + MZa: 3, t3a: 1E3 } } @@ -135361,181 +135501,181 @@ a000.D9b = function () { }); f.prototype.constructor = f; f.prototype.reset = function () { - this.Cca = !0; - this.sJ = n.NU; - this.H.log("create model: " + n.NU, n.m2a, n.oOa); - switch (n.NU) { + this.wca = !0; + this.uJ = n.MU; + this.H.log("create model: " + n.MU, n.l2a, n.mOa); + switch (n.MU) { case "modelone": - this.sJ = new m(this.H); + this.uJ = new m(this.H); break; default: - this.sJ = new m(this.H); + this.uJ = new m(this.H); } }; - f.prototype.Pqa = function () { - var u, - t; - if (!1 === this.Zda) { - this.Zda = !0; - for (var p = 0; p < this.EJ.length; p++) { - this.H.log("PlayPredictionModel replay: ", JSON.stringify(this.EJ[p])); - u = this.TOa(this.EJ[p]); - t = this.pSa(u); - this.sJ.update(u, t); - this.Cca = !1; + f.prototype.Kqa = function () { + var t, + u; + if (!1 === this.Tda) { + this.Tda = !0; + for (var p = 0; p < this.GJ.length; p++) { + this.H.log("PlayPredictionModel replay: ", JSON.stringify(this.GJ[p])); + t = this.SOa(this.GJ[p]); + u = this.oSa(t); + this.uJ.update(t, u); + this.wca = !1; } - this.EJ = []; + this.GJ = []; } }; f.prototype.update = function (p) { - var u, - t, + var t, + u, w; this.H.log("PlayPredictionModel update: ", JSON.stringify(p)); - if (p && p.Va && p.Va[0]) { - !1 === this.Zda && this.EJ.length < n.VHb && this.EJ.push(p); - u = this.TOa(p); - t = this.pSa(u); - this.H.log("actionType", t); - u = "mlmodel" == n.NU ? this.sJ.update(p, t) : this.sJ.update(u, t); - u = this.Yxb(u, n.wFb || 1); - this.H.log("PlayPredictionModel.prototype.update() - returnedList: ", JSON.stringify(u)); - 0 === this.jQ && (this.jQ = l(), this.Ia && this.Ia.ZV && this.Ia.ZV({ - Ntb: this.jQ + if (p && p.Wa && p.Wa[0]) { + !1 === this.Tda && this.GJ.length < n.YHb && this.GJ.push(p); + t = this.SOa(p); + u = this.oSa(t); + this.H.log("actionType", u); + t = "mlmodel" == n.MU ? this.uJ.update(p, u) : this.uJ.update(t, u); + t = this.dyb(t, n.zFb || 1); + this.H.log("PlayPredictionModel.prototype.update() - returnedList: ", JSON.stringify(t)); + 0 === this.kQ && (this.kQ = l(), this.Ia && this.Ia.YV && this.Ia.YV({ + Qtb: this.kQ })); - if (this.Ia && this.Ia.WPb) { - this.ezb(); + if (this.Ia && this.Ia.aQb) { + this.izb(); w = []; - u.forEach(function (v) { + t.forEach(function (v) { w.push({ - W7b: v.da + n8b: v.$ }); }); JSON.stringify(p); - JSON.stringify(u); + JSON.stringify(t); } - this.Mjb.EM(u); - this.Fjb.EM(u); - this.Cca = !1; + this.Mjb.FM(t); + this.Fjb.FM(t); + this.wca = !1; } }; - f.prototype.ezb = function () { + f.prototype.izb = function () { l(); }; - f.prototype.ZV = function () { - this.jQ = l(); - this.Ia && this.Ia.ZV && this.Ia.ZV({ - Ntb: this.jQ + f.prototype.YV = function () { + this.kQ = l(); + this.Ia && this.Ia.YV && this.Ia.YV({ + Qtb: this.kQ }); }; - f.prototype.TOa = function (p) { - var u, - t, + f.prototype.SOa = function (p) { + var t, + u, w, v, x; - u = {}; - w = p.Va || []; + t = {}; + w = p.Wa || []; v = (function (y) { var z, - B; + A; z = {}; - x = d.hP.name.indexOf(y.context); - z.context = 0 <= x ? x : d.hP.Fw; + x = d.iP.name.indexOf(y.context); + z.context = 0 <= x ? x : d.iP.Lw; z.rowIndex = y.rowIndex; z.requestId = y.requestId; z.list = []; - t = y.list || []; - t.forEach((function (A) { - B = { - da: A.da, - od: A.od, - index: A.index, - yM: A.yM, - G6: A.G6, - list: A.list, - Fb: A.Fb + u = y.list || []; + u.forEach((function (B) { + A = { + $: B.$, + pd: B.pd, + index: B.index, + AM: B.AM, + D6: B.D6, + list: B.list, + Hb: B.Hb }; - void 0 !== A.property && (x = d.aI.name.indexOf(A.property), B.property = 0 <= x ? x : d.aI.Fw); - z.list.push(B); + void 0 !== B.property && (x = d.iI.name.indexOf(B.property), A.property = 0 <= x ? x : d.iI.Lw); + z.list.push(A); }).bind(this)); - u.Va.push(z); + t.Wa.push(z); }).bind(this); if (void 0 !== p.direction) { - x = d.fu.name.indexOf(p.direction); - u.direction = 0 <= x ? x : d.fu.Fw; + x = d.ku.name.indexOf(p.direction); + t.direction = 0 <= x ? x : d.ku.Lw; } - void 0 !== p.XS && (u.H4b = p.XS.rowIndex, u.G4b = p.XS.bpb); - u.XS = p.XS; - u.Va = []; + void 0 !== p.WS && (t.N4b = p.WS.rowIndex, t.M4b = p.WS.cpb); + t.WS = p.WS; + t.Wa = []; w.forEach(v); - return u; + return t; }; - f.prototype.pSa = function (p) { - var u, - t, + f.prototype.oSa = function (p) { + var t, + u, w; - u = p.direction || d.fu.Fw; - t = p.XS; - w = p.Va || []; - !0 === this.Cca ? p = d.iw.xya : !0 === w.some(this.LCb) ? (p = d.iw.wP, this.X6(w, u, t)) : p = w[0].context === d.hP.uZ ? d.iw.uZ : u === d.fu.sFa || u === d.fu.mAa ? d.iw.MFa : d.iw.Fw; + t = p.direction || d.ku.Lw; + u = p.WS; + w = p.Wa || []; + !0 === this.wca ? p = d.ow.vya : !0 === w.some(this.NCb) ? (p = d.ow.xP, this.U6(w, t, u)) : p = w[0].context === d.iP.uZ ? d.ow.uZ : t === d.ku.pFa || t === d.ku.kAa ? d.ow.JFa : d.ow.Lw; return p; }; - f.prototype.LCb = function (p) { - return (p.list || []).some(function (u) { - return u.property === d.aI.wP || u.property === d.aI.Pwa; + f.prototype.NCb = function (p) { + return (p.list || []).some(function (t) { + return t.property === d.iI.xP || t.property === d.iI.Mwa; }); }; - f.prototype.X6 = function (p, u, t) { + f.prototype.U6 = function (p, t, u) { var w, v; - this.H.log("reportPlayFocusEvent: ", u, t); + this.H.log("reportPlayFocusEvent: ", t, u); w = {}; v = h(p); - this.Ia && this.Ia.X6 && (w.y4b = l(), w.direction = d.fu.name[u], t && (w.rowIndex = t.rowIndex, w.pga = t.bpb), void 0 !== v.Mj && (w.requestId = p[v.Mj].requestId), this.Ia.X6 && this.Ia.X6(w)); + this.Ia && this.Ia.U6 && (w.E4b = l(), w.direction = d.ku.name[t], u && (w.rowIndex = u.rowIndex, w.jga = u.cpb), void 0 !== v.Lj && (w.requestId = p[v.Lj].requestId), this.Ia.U6 && this.Ia.U6(w)); }; - f.prototype.Yxb = function (p, u) { - for (var t = p.length, w = [], v, x, y, z, B = 0; B < t; B++) { - x = p[B]; - v = Math.floor(B / u) + 1; + f.prototype.dyb = function (p, t) { + for (var u = p.length, w = [], v, x, y, z, A = 0; A < u; A++) { + x = p[A]; + v = Math.floor(A / t) + 1; if (void 0 !== x.list) { y = x.list; z = y.length; - for (var A = 0; A < Math.min(n.apb, z) && !(y[A].al = x.al, this.wLa(y[A], v, w), w.length >= n.sYa); A++) { ; + for (var B = 0; B < Math.min(n.bpb, z) && !(y[B].al = x.al, this.uLa(y[B], v, w), w.length >= n.pYa); B++) { ; } } else - this.wLa(x, v, w); - if (w.length >= n.sYa) + this.uLa(x, v, w); + if (w.length >= n.pYa) break; } return w; }; - f.prototype.wLa = function (p, u, t) { + f.prototype.uLa = function (p, t, u) { var v, x; function w(y) { - y.Zd && (y.Fb || (y.Fb = {}), y.Fb.Zd = y.Zd); - return y.Fb; + y.je && (y.Hb || (y.Hb = {}), y.Hb.je = y.je); + return y.Hb; } - v = p.G6; + v = p.D6; if (void 0 !== v && v instanceof Array) v.forEach(function (y) { - void 0 !== y.da && (x = w(y), t.push(new c(y.da, u, y.od, y.yM, p.al, x))); + void 0 !== y.$ && (x = w(y), u.push(new c(y.$, t, y.pd, y.AM, p.al, x))); }); - else if (void 0 !== v && void 0 !== v.da) { - v = p.G6; + else if (void 0 !== v && void 0 !== v.$) { + v = p.D6; x = w(v); - t.push(new c(v.da, u, v.od, v.yM, p.al, x)); + u.push(new c(v.$, t, v.pd, v.AM, p.al, x)); } - void 0 !== p.da && (x = w(p), t.push(new c(p.da, u, p.od, p.yM, p.al, x))); + void 0 !== p.$ && (x = w(p), u.push(new c(p.$, t, p.pd, p.AM, p.al, x))); }; f.prototype.xB = function (p) { - var u; - u = this.mKa; - return p ? u[p] : u; + var t; + t = this.kKa; + return p ? t[p] : t; }; - q.exports = f; - }, function (q, b, a) { + r.exports = f; + }, function (r, b, a) { var k, l, d, @@ -135543,187 +135683,187 @@ a000.D9b = function () { h, m, n, - r, + q, p, - u; - function c(t, w) { - this.Mj = t; - this.Gl = w; + t; + function c(u, w) { + this.Lj = u; + this.Fl = w; } - function f(t) { - this.H = t; + function f(u) { + this.H = u; this.reset(); } - k = a(292); - l = a(293); - b = a(527); - d = a(528).config; - g = b.Uyb; - h = b.Ayb; - m = b.Ptb; - n = b.vKb; - r = b.uKb; - p = b.tKb; - u = b.LRa; + k = a(294); + l = a(295); + b = a(530); + d = a(531).config; + g = b.Yyb; + h = b.Fyb; + m = b.Stb; + n = b.xKb; + q = b.wKb; + p = b.vKb; + t = b.KRa; f.prototype.constructor = f; f.prototype.reset = function () { - this.nKa = void 0; - this.ak = []; - this.$Ja = this.aKa = !1; + this.lKa = void 0; + this.bk = []; + this.YJa = this.ZJa = !1; }; - f.prototype.update = function (t, w) { + f.prototype.update = function (u, w) { var v; - this.ak && (this.ak = this.ak.filter(this.SSb, this)); - if (!1 === this.aKa) { - v = g(t.Va).slice(0, d.APa); - 0 < v.length && (this.dG(v, l.ow.Jk), this.aKa = !0, this.ak = this.vH(v.concat(this.ak))); + this.bk && (this.bk = this.bk.filter(this.WSb, this)); + if (!1 === this.ZJa) { + v = g(u.Wa).slice(0, d.zPa); + 0 < v.length && (this.jG(v, l.uw.Jk), this.ZJa = !0, this.bk = this.DH(v.concat(this.bk))); } - !1 === this.$Ja && (v = h(t.Va).slice(0, d.APa), 0 < v.length && (this.dG(v, l.ow.Jk), this.$Ja = !0, this.ak = this.vH(v.concat(this.ak)))); + !1 === this.YJa && (v = h(u.Wa).slice(0, d.zPa), 0 < v.length && (this.jG(v, l.uw.Jk), this.YJa = !0, this.bk = this.DH(v.concat(this.bk)))); switch (w) { - case l.iw.xya: - w = this.lCb(t); + case l.ow.vya: + w = this.nCb(u); break; - case l.iw.MFa: - w = this.uCb(t); + case l.ow.JFa: + w = this.wCb(u); break; - case l.iw.uZ: - w = this.vCb(t); + case l.ow.uZ: + w = this.xCb(u); break; - case l.iw.wP: - w = this.qCb(t); + case l.ow.xP: + w = this.sCb(u); break; default: - w = this.iCb(t); + w = this.kCb(u); } - this.nKa = t; + this.lKa = u; return w; }; - f.prototype.lCb = function (t) { - t = n(t.Va, d.m2a, d.oOa); - this.dG(t, l.ow.Jk); - return this.ak = this.vH(this.ak.concat(t)); + f.prototype.nCb = function (u) { + u = n(u.Wa, d.l2a, d.mOa); + this.jG(u, l.uw.Jk); + return this.bk = this.DH(this.bk.concat(u)); }; - f.prototype.uCb = function (t) { + f.prototype.wCb = function (u) { var w, v; this.H.log("handleScrollHorizontal"); - w = t.Va; - t = n(w, d.o2a, d.pOa); - v = m(w, this.nKa.Va); - w = w[v].list.slice(0, d.JQb); - w.concat(t); - this.dG(w, l.ow.wba); - return this.vH(w.concat(this.ak)); - }; - f.prototype.dG = function (t, w) { - t.forEach(function (v) { - if (void 0 === v.eB || v.eB < w) - v.eB = w; - void 0 === v.KN && (v.KN = k()); + w = u.Wa; + u = n(w, d.n2a, d.nOa); + v = m(w, this.lKa.Wa); + w = w[v].list.slice(0, d.OQb); + w.concat(u); + this.jG(w, l.uw.qba); + return this.DH(w.concat(this.bk)); + }; + f.prototype.jG = function (u, w) { + u.forEach(function (v) { + if (void 0 === v.gB || v.gB < w) + v.gB = w; + void 0 === v.LN && (v.LN = k()); void 0 === v.al && (v.al = k()); }); }; - f.prototype.vCb = function (t) { + f.prototype.xCb = function (u) { this.H.log("handleSearch"); - t = r(t.Va, d.aRb); - this.dG(t, l.ow.NFa); - this.ak = t.concat(this.ak); - return this.ak = this.vH(this.ak); + u = q(u.Wa, d.fRb); + this.jG(u, l.uw.KFa); + this.bk = u.concat(this.bk); + return this.bk = this.DH(this.bk); }; - f.prototype.qCb = function (t) { + f.prototype.sCb = function (u) { var w, v, x, y, z; - this.H.log("handlePlayFocus: ", d.PT); - w = t.direction; - v = t.Va; - t = []; - x = u(v); - if (void 0 !== x.Mj) - switch ((t.push(x), w)) { - case l.fu.sFa: - for (w = 1; w < d.PT; w++) { - t.push(new c(x.Mj, x.Gl + w)); - } - t.push(new c(x.Mj - 1, x.Gl)); - t.push(new c(x.Mj + 1, x.Gl)); + this.H.log("handlePlayFocus: ", d.MT); + w = u.direction; + v = u.Wa; + u = []; + x = t(v); + if (void 0 !== x.Lj) + switch ((u.push(x), w)) { + case l.ku.pFa: + for (w = 1; w < d.MT; w++) { + u.push(new c(x.Lj, x.Fl + w)); + } + u.push(new c(x.Lj - 1, x.Fl)); + u.push(new c(x.Lj + 1, x.Fl)); break; - case l.fu.mAa: - for (w = 1; w < d.PT; w++) { - t.push(new c(x.Mj, x.Gl - w)); + case l.ku.kAa: + for (w = 1; w < d.MT; w++) { + u.push(new c(x.Lj, x.Fl - w)); } - t.push(new c(x.Mj - 1, x.Gl)); - t.push(new c(x.Mj + 1, x.Gl)); + u.push(new c(x.Lj - 1, x.Fl)); + u.push(new c(x.Lj + 1, x.Fl)); break; - case l.fu.qeb: - t.push(new c(x.Mj - 1, x.Gl)); - for (w = 1; w <= d.PT / 2; w++) { - t.push(new c(x.Mj, x.Gl + w)); - t.push(new c(x.Mj, x.Gl - w)); + case l.ku.teb: + u.push(new c(x.Lj - 1, x.Fl)); + for (w = 1; w <= d.MT / 2; w++) { + u.push(new c(x.Lj, x.Fl + w)); + u.push(new c(x.Lj, x.Fl - w)); } break; - case l.fu.X9a: - for ((t.push(new c(x.Mj + 1, x.Gl)), w = 1); w <= d.PT / 2; w++) { - t.push(new c(x.Mj, x.Gl + w)); - t.push(new c(x.Mj, x.Gl - w)); + case l.ku.Z9a: + for ((u.push(new c(x.Lj + 1, x.Fl)), w = 1); w <= d.MT / 2; w++) { + u.push(new c(x.Lj, x.Fl + w)); + u.push(new c(x.Lj, x.Fl - w)); } } y = []; - t.forEach(function (B) { - z = p(v, B.Mj, B.Gl); + u.forEach(function (A) { + z = p(v, A.Lj, A.Fl); void 0 !== z && y.push(z); }); - this.dG(y, l.ow.wba); - return this.vH(y.concat(this.ak)); + this.jG(y, l.uw.qba); + return this.DH(y.concat(this.bk)); }; - f.prototype.iCb = function (t) { + f.prototype.kCb = function (u) { this.H.log("ModelOne: handleDefaultCase"); - t = n(t.Va, d.o2a, d.pOa); - this.dG(t, l.ow.wba); - return this.vH(t.concat(this.ak)); + u = n(u.Wa, d.n2a, d.nOa); + this.jG(u, l.uw.qba); + return this.DH(u.concat(this.bk)); }; - f.prototype.SSb = function (t) { - return t.eB == l.ow.Jk | t.eB == l.ow.NFa & k() - t.KN < d.bDb; + f.prototype.WSb = function (u) { + return u.gB == l.uw.Jk | u.gB == l.uw.KFa & k() - u.LN < d.eDb; }; - f.prototype.vH = function (t) { + f.prototype.DH = function (u) { var w, v, x, y, z, - B, - A; + A, + B; w = []; v = {}; y = 0; - z = t.length; + z = u.length; for (x = 0; x < z; x++) { - B = t[x].da; - A = t[x]; - !1 === (B in v) ? (w.push(A), v[B] = y, y++) : (B = w[v[B]], A.al < B.al && (B.al = A.al), A.eB > B.eB && (B.eB = A.eB), A.KN > B.KN && (B.KN = A.KN)); + A = u[x].$; + B = u[x]; + !1 === (A in v) ? (w.push(B), v[A] = y, y++) : (A = w[v[A]], B.al < A.al && (A.al = B.al), B.gB > A.gB && (A.gB = B.gB), B.LN > A.LN && (A.LN = B.LN)); } return w; }; - q.exports = f; - }, function (q, b, a) { - q.exports = { - EventEmitter: a(1230), - zh: a(1231) + r.exports = f; + }, function (r, b, a) { + r.exports = { + EventEmitter: a(1234), + xh: a(1235) }; - }, function (q) { + }, function (r) { function b(c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: addEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) - return (this.ed = {}, this.ed[c] = [f], !0); - k = this.ed[c]; - return void 0 === k ? (this.ed[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; + if (void 0 === this.fd) + return (this.fd = {}, this.fd[c] = [f], !0); + k = this.fd[c]; + return void 0 === k ? (this.fd[c] = [f], !0) : 0 > k.indexOf(f) ? (k.push(f), !0) : !1; } function a(c, f) { - c = this.ed ? this.ed[c] : void 0; + c = this.fd ? this.fd[c] : void 0; if (!c) return !1; c.forEach(function (k) { @@ -135731,34 +135871,34 @@ a000.D9b = function () { }); return !0; } - q.exports = { + r.exports = { addEventListener: b, on: b, removeEventListener: function (c, f) { var k; if (void 0 === f || "function" !== typeof f || "string" !== typeof c) throw new TypeError("EventEmitter: removeEventListener requires a string and a function as arguments"); - if (void 0 === this.ed) + if (void 0 === this.fd) return !1; - k = this.ed[c]; + k = this.fd[c]; if (void 0 === k) return !1; f = k.indexOf(f); if (0 > f) return !1; if (1 === k.length) - return (delete this.ed[c], !0); + return (delete this.fd[c], !0); k.splice(f, 1); return !0; }, - Ta: a, + Ua: a, emit: a, removeAllListeners: function (c) { - this.ed && (void 0 === c ? delete this.ed : delete this.ed[c]); + this.fd && (void 0 === c ? delete this.fd : delete this.fd[c]); return this; } }; - }, function (q) { + }, function (r) { function b(c, f, k, l) { c.trace(":", k, ":", l); f(l); @@ -135798,7 +135938,7 @@ a000.D9b = function () { this.listeners = []; this.console && this.console.trace("removed", c, "listener(s)"); }; - q.exports = a; + r.exports = a; } ]); }).call(pb); diff --git a/content_script.js b/content_script.js index ecc1943..0fcb783 100644 --- a/content_script.js +++ b/content_script.js @@ -11,7 +11,7 @@ urls = [ ] // very messy workaround for accessing chrome storage outside of background / content scripts -chrome.storage.sync.get(['useallSub', 'useddplus', 'useAVC', 'useDV', 'useFHD', 'useHA', 'useAVCH', 'setMaxBitrate'], function(items) { +chrome.storage.sync.get(['useallSub', 'useddplus', 'useAVC', 'useDV', 'useFHD', 'useHA', 'useAVCH', 'usehevc', 'setMaxBitrate'], function(items) { var useallSub = items.useallSub; var useddplus = items.useddplus; var useAVC = items.useAVC; @@ -19,6 +19,7 @@ chrome.storage.sync.get(['useallSub', 'useddplus', 'useAVC', 'useDV', 'useFHD', var useFHD = items.useFHD; var useHA = items.useHA; var useAVCH = items.useAVCH; + var usehevc = items.usehevc; var setMaxBitrate = items.setMaxBitrate; var mainScript = document.createElement('script'); mainScript.type = 'application/javascript'; @@ -29,6 +30,7 @@ chrome.storage.sync.get(['useallSub', 'useddplus', 'useAVC', 'useDV', 'useFHD', + 'var useFHD = ' + useFHD + ';' + '\n' + 'var useHA = ' + useHA + ';' + '\n' + 'var useAVCH = ' + useAVCH + ';' + '\n' + + 'var usehevc = ' + usehevc + ';' + '\n' + 'var setMaxBitrate = ' + setMaxBitrate + ';'; document.documentElement.appendChild(mainScript); }); diff --git a/manifest.json b/manifest.json index e8429e6..5492366 100644 --- a/manifest.json +++ b/manifest.json @@ -36,7 +36,7 @@ "web_accessible_resources": [ //"msl_client.js", "netflix_max_bitrate.js", - "cadmium-playercore-6.0031.809.911.js" + "cadmium-playercore-6.0032.282.911.js" ], "permissions": [ "storage", diff --git a/pages/options.css b/pages/options.css index 820b935..b94b14f 100644 --- a/pages/options.css +++ b/pages/options.css @@ -1,7 +1,7 @@ body { margin: 0; padding: 15px 0px 0px 15px; - width: 400px; + width: 450px; height: 175px; font-size: 14px; overflow: hidden; diff --git a/pages/options.html b/pages/options.html index f078d07..797ef19 100644 --- a/pages/options.html +++ b/pages/options.html @@ -25,6 +25,11 @@ + +
      + + +
      diff --git a/pages/options.js b/pages/options.js index 4ec335f..74c6b72 100644 --- a/pages/options.js +++ b/pages/options.js @@ -6,6 +6,7 @@ function save_options() { var useFHD = document.getElementById('FHD').checked; var useHA = document.getElementById('HA').checked; var useAVCH = document.getElementById('AVCH').checked; + var usehevc = document.getElementById('hevc').checked; var setMaxBitrate = document.getElementById('setMaxBitrate').checked; chrome.storage.sync.set({ useallSub: useallSub, @@ -15,6 +16,7 @@ function save_options() { useFHD: useFHD, useHA: useHA, useAVCH: useAVCH, + usehevc: usehevc, setMaxBitrate: setMaxBitrate }, function() { //var status = document.getElementById('status'); @@ -42,6 +44,7 @@ function restore_options() { useFHD: false, useHA: false, useAVCH: false, + usehevc: false, setMaxBitrate: false }, function(items) { document.getElementById('allSub').checked = items.useallSub; @@ -51,6 +54,7 @@ function restore_options() { document.getElementById('FHD').checked = items.useFHD; document.getElementById('HA').checked = items.useHA; document.getElementById('AVCH').checked = items.useAVCH; + document.getElementById('hevc').checked = items.usehevc; document.getElementById('setMaxBitrate').checked = items.setMaxBitrate; }); }