This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dependency resolution, adapted from https://gist.github.com/1232505/f16308bc14966c8d003c2686b1c258ec41303c1f | |
function resolve(graph) { | |
var sorted = [], // sorted list of IDs ( returned value ) | |
visited = {}; // hash: id of already visited node => true | |
// 2. topological sort | |
Object.keys(graph).forEach(function visit(name, ancestors) { | |
if (!Array.isArray(ancestors)) ancestors = []; | |
ancestors.push(name); | |
visited[name] = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! @vod/playback-source-fetcher 0.0.72 17-04-2020 13:44:58 */ | |
(function (modules) { | |
var installedModules = {}; | |
function __webpack_require__(moduleId) { | |
if (installedModules[moduleId]) { | |
return installedModules[moduleId]["exports"]; | |
} | |
var module = (installedModules[moduleId] = { | |
i: moduleId, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const decompose = (n: number) => { | |
const decomposeWithIndex = (rest: number, index: number, currentResult = []) => { | |
var repeat = true; | |
var saved = []; | |
while (repeat) { | |
repeat = false; | |
if (index < 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class G964 { | |
public static decompose = (n: number) => { | |
const decomposeWithIndex = (rest: number, index: number, currentResult = []) => { | |
if (index < 0) { | |
return null; | |
} | |
if (index * index > rest) { | |
return decomposeWithIndex(rest, index - 1, currentResult); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class G964 { | |
public static decompose = (n: number) => { | |
const decomposeWithIndex = (rest: number, index: number, currentResult = []) => { | |
var repeat = true; | |
var saved = []; | |
while (repeat) { | |
repeat = false; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"mapve": "2.0", | |
"memve": "2.7.0", | |
"ualnm": "Chrome", | |
"ualve": "79.0.3945.88", | |
"ualeg": "Blink", | |
"udvnm": null, | |
"udvcg": "", | |
"udvmn": null, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"mapve": "2.0", | |
"bdm": "litix.io", | |
"psqno": 26, | |
"xsqno": 26, | |
"pispa": false, | |
"pphti": 1339532, | |
"uti": 1578401570429, | |
"ake": "vfq2nsli1v76fglgdl9puq0cd", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(window.webpackJsonp = window.webpackJsonp || []).push([["vendor-videojs"], { | |
"./node_modules/video.js/dist/video.cjs.js": function(e, t, r) { | |
function n(e) { | |
return e && "object" == typeof e && "default"in e ? e.default : e | |
} | |
var i, o, a, s, p = n(r("./node_modules/global/window.js")), f = n(r("./node_modules/global/document.js")), d = n(r("./node_modules/tsml/tsml.js")), v = n(r("./node_modules/safe-json-parse/tuple.js")), y = n(r("./node_modules/xhr/index.js")), l = n(r("./node_modules/videojs-vtt.js/lib/browser-index.js")), m = "6.12.1", u = p.navigator && p.navigator.userAgent || "", c = /AppleWebKit\/([\d.]+)/i.exec(u), h = c ? parseFloat(c.pop()) : null, _ = /iPad/i.test(u), g = /iPhone/i.test(u) && !_, b = /iPod/i.test(u), T = g || _ || b, w = (i = u.match(/OS (\d+)_/i)) && i[1] ? i[1] : null, k = /Android/i.test(u), S = function() { | |
var e = u.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i); | |
if (!e) | |
return null; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.__IPLAYER_REDUX_STATE__ = { | |
"translations": { | |
"page_title_version_ad": "Audio Described", | |
"page_title_version_sign": "Signed", | |
"related_episodes_this_episode_label": "This episode", | |
"related_episodes_title": "More episodes", | |
"related_episodes_view_all": "View all", | |
"msi_modal_title": "You need to sign in. It's quick & easy.", | |
"msi_modal_text": "And we'll keep you signed in.", | |
"msi_modal_why_sign_in": "Why sign in to the BBC?", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var USERINFO_URL = ""; | |
var USERINFO_PREFIX = "www." || "www."; | |
function initUserCache(orbitUser) { | |
var availableAttr = [ | |
'X-Country', | |
'X-Ip_is_advertise_combined', | |
'X-Ip_is_uk_combined' | |
]; | |
var userCache = availableAttr.reduce(function(user, curr, i) { |
NewerOlder