CINXE.COM

Make a CBBC Picture with paints, stickers, glitter and frames! - CBBC - BBC

<!DOCTYPE html> <html lang="en" id="ng-app" class="no-js b-header--white--black b-footer--transparent--dark-grey b-reith-sans-font"> <head prefix="og: http://ogp.me/ns#"><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.co.uk/cbbc/games/cbbc-picture-maker","20190701112059","https://web.archive.org/","web","/_static/", "1561980059"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <link rel="schema.DCTERMS" href="https://purl.org/dc/terms/"> <script type="text/javascript"> window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({'type': 'holdEvents'}); </script> <script src="https://web.archive.org/web/20190701112059js_/https://cdn.optimizely.com/public/4621041136/s/childrens_prod.js"></script> <title>Make a CBBC Picture with paints, stickers, glitter and frames! - CBBC - BBC</title> <meta name="DCTERMS.title" content="Make a CBBC Picture with paints, stickers, glitter and frames! - CBBC - BBC"/> <meta name="description" content="Create your own CBBC picture using paints, stickers, glitter and more! See what amazing masterpieces you can create using The Next Step, Danger Mouse, The Worst Witch, Jamie Johnson, Horrible Histories and The Zoo stickers - what awesome CBBC show mash-ups can you make? "/> <meta name="DCTERMS.description" content="Create your own CBBC picture using paints, stickers, glitter and more! See what amazing masterpieces you can create using The Next Step, Danger Mouse, The Worst Witch, Jamie Johnson, Horrible Histories and The Zoo stickers - what awesome CBBC show mash-ups can you make? "/> <meta property="og:title" content="CBBC - CBBC Picture Maker"/> <meta property="og:description" content="Create your own CBBC picture using paints, stickers, glitter and more! See what amazing masterpieces you can create using The Next Step, Danger Mouse, The Worst Witch, Jamie Johnson, Horrible Histories and The Zoo stickers - what awesome CBBC show mash-ups can you make? "/> <meta property="og:image" content="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/cbbc_picture_maker_brand_2019_index.jpg"/> <meta property="og:url" content="https://web.archive.org/web/20190701112059/http://www.bbc.co.uk/cbbc/games/cbbc-picture-maker"/> <meta property="fb:pages" content="194575130577797"/> <meta property="fb:pages" content="7397061762"/> <meta property="fb:pages" content="7833211321"/> <meta property="fb:pages" content="129044383774217"/> <meta property="fb:pages" content="401538510458"/> <meta property="fb:pages" content="8251776107"/> <meta property="fb:pages" content="273726292719943"/> <meta property="fb:pages" content="107909022566650"/> <meta property="fb:pages" content="21750735380"/> <meta property="fb:pages" content="1477945425811579"/> <meta property="fb:pages" content="944295152308991"/> <meta property="fb:pages" content="154344434967"/> <meta property="fb:pages" content="8244244903"/> <meta property="fb:pages" content="512423982152360"/> <meta property="fb:pages" content="156060587793370"/> <meta property="fb:pages" content="215504865453262"/> <meta property="fb:pages" content="260967092113"/> <meta property="fb:pages" content="1392506827668140"/> <meta property="fb:pages" content="128645453843827"/> <meta property="fb:pages" content="7519460786"/> <meta property="fb:pages" content="1143803202301544"/> <meta property="fb:pages" content="1470145583204829"/> <meta property="fb:pages" content="470911516262605"/> <meta property="fb:pages" content="413132078795966"/> <meta property="fb:pages" content="118883634811868"/> <meta property="fb:pages" content="130593816777"/> <meta property="fb:pages" content="228735667216"/> <meta property="fb:pages" content="80758950658"/> <meta property="fb:pages" content="260212261199"/> <meta property="fb:pages" content="294662213128"/> <meta property="fb:pages" content="1086451581439054"/> <meta property="fb:pages" content="283348121682053"/> <meta property="fb:pages" content="295830058648"/> <meta property="fb:pages" content="239931389545417"/> <meta property="fb:pages" content="304314573046"/> <meta property="fb:pages" content="310719525611571"/> <meta property="fb:pages" content="647687225371774"/> <meta property="fb:pages" content="1159932557403143"/> <meta property="fb:pages" content="286567251709437"/> <meta property="fb:pages" content="1731770190373618"/> <meta property="fb:pages" content="125309456546"/> <meta property="fb:pages" content="742734325867560"/> <meta property="fb:pages" content="168895963122035"/> <meta property="fb:pages" content="292291897588734"/> <meta property="fb:pages" content="658551547588605"/> <meta property="fb:pages" content="156400551056385"/> <meta property="fb:pages" content="185246968166196"/> <meta property="fb:pages" content="1411916919051820"/> <meta property="fb:pages" content="958681370814419"/> <meta property="fb:pages" content="317278538359186"/> <meta property="fb:pages" content="8585725981"/> <meta property="fb:pages" content="1436581493296609"/> <meta property="fb:pages" content="163571453661989"/> <meta property="fb:pages" content="751471531641341"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="DCTERMS.created" content="2019-05-22T13:00:00.000Z"/> <meta name="DCTERMS.modified" content="2019-05-24T12:49:14.405Z"/> <link rel="canonical" href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbbc/games/cbbc-picture-maker"/> <script type="text/javascript"> var _sf_startpt = (new Date()).getTime() </script> <link rel="copyright" href="https://web.archive.org/web/20190701112059/http://www.bbc.co.uk/terms/" title="Terms of Use"/> <link href="/web/20190701112059im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/apple-touch-icon.png" rel="apple-touch-icon"/> <link href="/web/20190701112059im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon.ico" rel="shortcut icon" type="image/x-icon"/> <link href="/web/20190701112059im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-16x16.png" rel="icon" type="image/png" sizes="16x16"/> <link href="/web/20190701112059im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-32x32.png" rel="icon" type="image/png" sizes="32x32"/> <link href="/web/20190701112059im_/https://www.bbc.co.uk/cbbc/assets/images/favicons/favicon-96x96.png" rel="icon" type="image/png" sizes="96x96"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20190701112059cs_/https://static.bbci.co.uk/gelstyles/0.11.0/style/core.css"/> <link rel="stylesheet" type="text/css" href="https://web.archive.org/web/20190701112059cs_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/stylesheets/cbbc.min.css"/> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/stylesheets/cbbc.ie8.min.css"/> <![endif]--> <link rel="stylesheet" type="text/css" href="/web/20190701112059cs_/https://www.bbc.co.uk/cbbc/stylesheets/immersive/brand/1546879811/ef6ddea/cbbc.css"/> <script type="text/javascript"> var allForwardSlashes = /\//g; var anythingNotAWordOrFullStop = /[^\w^\.]/g; var allMultipleUnderscores = /_+/g; var fullStopAtEnd = /\.$/; var pageDescriptor = window.location.pathname.substring(1) .replace(allForwardSlashes, '.') .replace(anythingNotAWordOrFullStop, '_') .replace(allMultipleUnderscores, '_') .replace(fullStopAtEnd, ''); window.istats_countername = pageDescriptor.toLowerCase() + '.page'; </script> <!-- Nav Env: live --> <!-- Analytics Web Module: 0.0.1-314.17bc1cb --> <!-- NavID Web Module: 0.2.0-75.de8f099 --> <!-- Detectview Web Module: 0.0.1-314.17bc1cb --> <!-- Searchbox Web Module: 3.0.0-4.9a69f1b --> <!-- Promo Web Module: 3.0.0-149.a8f341d --> <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="fb:admins" content="100004154058350"><link rel="stylesheet" href="https://web.archive.org/web/20190701112059cs_/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20190701112059/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20190701112059/https://www.', staticHost: 'https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41', figUrl: 'https://web.archive.org/web/20190701112059/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20190701112059/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = ''; /*]]>*/</script><script>// Promise polyfill from https://github.com/bramstein/promis (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}} function r(a,b){if(a.a==p){if(b==a)throw new TypeError;a.a=1;a.b=b;v(a)}}function v(a){l(function(){if(a.a!=p)for(;a.f.length;){var b=a.f.shift(),c=b[0],d=b[1],e=b[2],b=b[3];try{0==a.a?"function"==typeof c?e(c.call(void 0,a.b)):e(a.b):1==a.a&&("function"==typeof d?e(d.call(void 0,a.b)):b(a.b))}catch(h){b(h)}}})}n.prototype.g=function(a){return this.c(void 0,a)};n.prototype.c=function(a,b){var c=this;return new n(function(d,e){c.f.push([a,b,d,e]);v(c)})}; function w(a){return new n(function(b,c){function d(c){return function(d){h[c]=d;e+=1;e==a.length&&b(h)}}var e=0,h=[];0==a.length&&b(h);for(var k=0;k<a.length;k+=1)u(a[k]).c(d(k),c)})}function x(a){return new n(function(b,c){for(var d=0;d<a.length;d+=1)u(a[d]).c(b,c)})};window.Promise||(window.Promise=n,window.Promise.resolve=u,window.Promise.reject=t,window.Promise.race=x,window.Promise.all=w,window.Promise.prototype.then=n.prototype.c,window.Promise.prototype["catch"]=n.prototype.g);}()); // Polyfill Event constructor for IE ref: https://jira.dev.bbc.co.uk/browse/ORBITEN-919 // see: https://stackoverflow.com/questions/26596123 (function () { if (typeof window.CustomEvent === "function") { return false; } function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: undefined }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; })(); //Element.prototype.matches polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill if (!Element.prototype.matches) { Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector; } //NodeList.forEach Polyfill //from https://developer.mozilla.org/en-US/docs/Web/API/NodeList/forEach#Polyfill if (window.NodeList && !NodeList.prototype.forEach) { NodeList.prototype.forEach = Array.prototype.forEach; } // Object.assign polyfill from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill if (typeof Object.assign != 'function') { // Must be writable: true, enumerable: false, configurable: true Object.defineProperty(Object, "assign", { value: function assign(target, varArgs) { // .length of function is 2 'use strict'; if (target == null) { // TypeError if undefined or null throw new TypeError('Cannot convert undefined or null to object'); } var to = Object(target); for (var index = 1; index < arguments.length; index++) { var nextSource = arguments[index]; if (nextSource != null) { // Skip over if undefined or null for (var nextKey in nextSource) { // Avoid bugs when hasOwnProperty is shadowed if (Object.prototype.hasOwnProperty.call(nextSource, nextKey)) { to[nextKey] = nextSource[nextKey]; } } } } return to; }, writable: true, configurable: true }); } if (typeof window.CustomEvent !== 'function') { function CustomEvent(event, params) { params = params || { bubbles: false, cancelable: false, detail: null }; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.CustomEvent = CustomEvent; } (function() { var language = 'en'; language = 'en'; var modal = false; var istatsLabels = {name: 'cbbc.games.cbbc_picture_maker.page' || undefined}; istatsLabels['app_name'] = 'cbbc'; istatsLabels['app_type'] = 'responsive'; function getMetaValue(propertyName) { var metaTag = document.querySelector( "meta[property='" + propertyName + "'], " + "meta[name='" + propertyName + "']"); if (metaTag) { return metaTag.getAttribute("content"); } else { throw new Error('No meta tag called: ' + propertyName) } } function generateCountername() { var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } var additionalPageProperties = {}; additionalPageProperties['custom_var_1'] = 'cbbc'; additionalPageProperties['custom_var_2'] = 'true'; additionalPageProperties['custom_var_3'] = 'true'; additionalPageProperties['custom_var_4'] = 'none'; additionalPageProperties['custom_var_5'] = 'gid-gg2q4q2c2v'; additionalPageProperties['custom_var_6'] = '2017-09-06T09:30:47.742Z'; additionalPageProperties['custom_var_7'] = '2019-05-24T12:49:14.405Z'; additionalPageProperties['custom_var_10'] = 'none'; additionalPageProperties['app_name'] = 'cbbc'; var page = { name: '' || istatsLabels.name || generateCountername(), destination: 'cbbc' || null, producer: 'cbbc' || null, section: 'games' || null, site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null, contentId: 'urn:bbc:isite2:9d26ba0e-6dce-440d-9570-834cacdbd612' || null, contentType: 'article' || null, edition: '' || null, additionalProperties: additionalPageProperties }; function updatePageData(newData) { page = Object.assign(page, newData); } document.addEventListener('bbc-page-reset', function(event) { if (event.detail && event.detail.page) { updatePageData(event.detail.page); } document.dispatchEvent(new Event('bbc-page-updated')); }); window.bbcpage = { loadModule: function(deps) { return new Promise(function (resolve, reject) { window.require(deps, function () { resolve.apply(this, arguments); }, function (error) { reject(error); }); }) }, loadCSS: function (url, timeout) { return window.bbcpage.loadModule(['orb/lib/_$']) .then(function($) { return new Promise(function(resolve, reject) { var stylesheet = loadCSS(url); $.onloadCSS(stylesheet, function() { resolve(); }); if (timeout) { setTimeout(function () { reject(); }, timeout); } }); }); }, isModal: function () { return modal; }, getLanguage: function () { return new Promise(function(resolve, reject) { resolve(language); }); }, trackRegion: function (region, labels) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { var trackLabels = { region: region }; for (var label in labels) { trackLabels[label] = labels[label]; } var linkType = labels.linkType || 'internal'; istats.track(linkType, trackLabels); }); }, getName: function() { return Promise.resolve(page.name); }, getDestination: function() { return Promise.resolve(page.destination); }, getProducer: function() { return Promise.resolve(page.producer); }, getSite: function() { return Promise.resolve(page.site); }, getSection: function() { return Promise.resolve(page.section); }, getContentType: function() { return Promise.resolve(page.contentType); }, getContentId: function() { return Promise.resolve(page.contentId); }, getEdition: function() { return new Promise(function (resolve, reject) { if (page.edition) { resolve(page.edition); return; } try { resolve(getMetaValue('x-audience').toLowerCase()); } catch (err){ // This property is related to Chartbeat; see http://support.chartbeat.com/docs/ if (window._sf_async_config) { resolve(window._sf_async_config.region || null); } } resolve(null); }); }, getAdditionalProperties: function() { return Promise.resolve(page.additionalProperties); } }; var country; var sanitiseCountry = function(country) { return country ? country.replace(/ /g, '') : undefined; } window.bbcuser = { getHashedId: function() { if (modal) { return undefined; } return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getCountry: function() { if (country) { return new Promise(function(resolve, reject) { resolve(sanitiseCountry(country)); }) } else { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function (fig) { if (fig.geo.isUK()) { resolve('GB'); } else if (fig.geo.isEU()) { resolve('EU'); } else { resolve(undefined); } }, function () { reject('Error determining country. Timeout?'); }); }); }); } }, isUKCombined: function(inputCountry) { return window.bbcpage.loadModule(['orb/bbcuser']) .then(function(service) { return new Promise(function(resolve, reject) { if (inputCountry) { resolve(service.isUKCombined(sanitiseCountry(inputCountry))); } else { window.bbcuser.getCountry().then(function(fetchedCountry){ resolve(service.isUKCombined(fetchedCountry)); }) } }); }); }, isEU: function(inputCountry) { return window.bbcpage.loadModule(['orb/bbcuser']) .then(function(service) { return new Promise(function(resolve, reject) { if (inputCountry) { resolve(service.isEU(sanitiseCountry(inputCountry))); } else { window.bbcuser.getCountry().then(function(fetchedCountry){ resolve(service.isEU(fetchedCountry)); }) } }); }); }, isSignedIn: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return (idcta && idcta.getCookieInstance().hasCookie()); }); }, allowsPerformanceCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('performance'); }); }, allowsFunctionalCookies: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled() && !!bbccookies.readPolicy('personalisation'); }); }, getCookieValue: function(cookieName) { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return bbccookies.get(cookieName); }); }, resetCookiesPreferences: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { bbccookies.setDefaultCookiesSingleDomain(); }); }, hasCookiesEnabled: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function(bbccookies) { return !!bbccookies.cookiesEnabled(); }); }, hasSeenCookieBanner: function() { return window.bbcpage.loadModule(['orb/cookies']) .then(function (bbccookies) { return !!bbccookies.isCookiePolicySet(); }); }, logEvent: function (verb, noun, extraLabels) { return window.bbcuser.hasCookiesEnabled() .then(function(allowsCookies) { if (allowsCookies) { return window.bbcpage.loadModule(['istats-1']) .then(function(istats) { istats.log(verb, noun, extraLabels); }); } else { throw new Error('User cannot be tracked due to cookies preferences.'); } }); }, }; }());</script><script src="https://web.archive.org/web/20190701112059js_/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/js/require.min.js"></script> <script src="https://web.archive.org/web/20190701112059js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-314.17bc1cb/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">define('orb/cookies', function() { return window.bbccookies; });</script> <script src="https://web.archive.org/web/20190701112059js_/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-314.17bc1cb/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(t,a){if(a.isAllowed("s1")){var e=(c=document.location.href.match(/^(?:https|http):\/\/\w*\.(?:(int|test|stage|live|)\.)?bbc\.(?:co\.uk|com)/))?void 0===c[1]||""===c[1]||"live"===c[1]?"//web.archive.org/web/20190701112059/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20190701112059/https://sa.bbc.co.uk/bbc/"+c[1]+"/s":"//web.archive.org/web/20190701112059/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="cbbc.games.cbbc_picture_maker.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.1-314.17bc1cb&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=cbbc&language=en&app_name=cbbc&app_type=responsive")}var c});</script><link rel="stylesheet" href="https://web.archive.org/web/20190701112059cs_/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.19.0/style/id-cta.css"><!--[if IE 8]><link href="https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.19.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://web.archive.org/web/20190701112059/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&context=cbbc&ptrt=' + encodeURIComponent((ptrt ? ptrt[1] : document.location.href))).replace(/\&amp;/g, '&');var ENDPOINT_TRANSLATIONS = '/idcta/translations?callback=';function hasPromise() {var P = window.Promise;var promiseToString = null;if (P) {try {promiseToString = Object.prototype.toString.call(P.resolve());} catch(e) {/*silently ignored*/}}return (promiseToString === '[object Promise]' && !P.cast);}if (hasPromise()) {define('idcta/es6-promise', function() {return window.Promise;});define('idcta-v2/es6-promise', function() {return window.Promise;});}map['idcta-v2'] = 'https://web.archive.org/web/20190701112059/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.19.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://web.archive.org/web/20190701112059/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20190701112059/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.19.0/modules/idcta-v2/dist/idcta-1.min';const idctaShim = {deps: ['idcta-v2/idcta-1'],};require({shim: {'idcta-v2/statusbar': idctaShim,'idcta-v2/id-config': idctaShim},map: {'*': {'idcta/idcta-1': 'idcta-v2/idcta-1','idcta': 'idcta-v2',}},paths: map});window.idctaBaseUrl = ENDPOINT_URL;define('idcta/config', ['idcta-v2/config'], function(data) {return data;});define('idcta/translations', ['idcta-v2/translations'], function(data) {return data;});})();</script> <!-- BBCDOTCOM head --><script type="text/javascript">/*<![CDATA[*/ var _sf_startpt = (new Date()).getTime(); /*]]>*/</script><style type="text/css">.bbccom_display_none{display:none;}</style><script type="text/javascript">/*<![CDATA[*/ var bbcdotcomConfig, googletag = googletag || {}; googletag.cmd = googletag.cmd || [], bbcdotcomScripts = [], tp = window.tp || []; var bbcdotcom = false; (function(){ if(typeof require !== 'undefined') { require({ paths:{ "bbcdotcom":"https://web.archive.org/web/20190701112059/https://static.bbc.co.uk/bbcdotcom/2.5.0/script" } }); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ var bbcdotcom = { adverts: { keyValues: { set: function() {} } }, advert: { write: function () {}, show: function () {}, isActive: function () { return false; }, layout: function() { return { reset: function() {} } } }, config: { init: function() {}, isActive: function() {}, setSections: function() {}, isAdsEnabled: function() {}, setAdsEnabled: function() {}, isAnalyticsEnabled: function() {}, setAnalyticsEnabled: function() {}, setAssetPrefix: function() {}, setVersion: function () {}, setJsPrefix: function() {}, setSwfPrefix: function() {}, setCssPrefix: function() {}, setConfig: function() {}, getAssetPrefix: function() {}, getJsPrefix: function () {}, getSwfPrefix: function () {}, getCssPrefix: function () {}, isOptimizelyEnabled: function() {} }, survey: { init: function(){ return false; } }, data: {}, init: function() {}, objects: function(str) { return false; }, locale: { set: function() {}, get: function() {} }, setAdKeyValue: function() {}, utils: { addEvent: function() {}, addHtmlTagClass: function() {}, log: function () {} }, addLoadEvent: function() {} }; /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb !== 'undefined' && typeof orb.fig === 'function') { if (orb.fig('ad') && orb.fig('uk') == 0) { bbcdotcom.data = { ads: (orb.fig('ad') ? 1 : 0), stats: (orb.fig('uk') == 0 ? 1 : 0), statsProvider: orb.fig('ap') }; } } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20190701112059/https://www.bbc.com/wwscripts/data">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (typeof orb === 'undefined' || typeof orb.fig !== 'function') { bbcdotcom.data = { ads: bbcdotcom.data.a, stats: bbcdotcom.data.b, statsProvider: bbcdotcom.data.c }; } if (bbcdotcom.data.ads == 1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20190701112059/https://www.bbc.com/wwscripts/flag">\x3C/script>'); } })(); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (window.bbcdotcom && (typeof bbcdotcom.flag == 'undefined' || (typeof bbcdotcom.data.ads !== 'undefined' && bbcdotcom.flag.a != 1))) { bbcdotcom.data.ads = 0; } if (/[?|&]ads/.test(window.location.href) || /(^|; )ads=on; /.test(document.cookie) || /; ads=on(; |$)/.test(document.cookie)) { bbcdotcom.data.ads = 1; bbcdotcom.data.stats = 1; } if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcom.assetPrefix = "https://web.archive.org/web/20190701112059/https://static.bbc.co.uk/bbcdotcom/2.5.0/"; if (/(sandbox|int)(.dev)*.bbc.co*/.test(window.location.href) || /[?|&]ads-debug/.test(window.location.href) || document.cookie.indexOf('ads-debug=') !== -1) { document.write('<script type="text/javascript" src="https://web.archive.org/web/20190701112059/https://static.bbc.co.uk/bbcdotcom/2.5.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20190701112059/https://static.bbc.co.uk/bbcdotcom/2.5.0/script/dist/bbcdotcom.js">\x3C/script>'); } } })(); /*]]>*/</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.stats == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20190701112059/https://ad.crwdcntrl.net/">'); }</script><script type="text/javascript">if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<meta name="google-site-verification" content="auTeTTwSt_KBY_4iDoR00Lwb7-qzx1IgzJy6ztaWgEI" />'); }</script><script type="text/javascript">/*<![CDATA[*/ (function(){ if (window.bbcdotcom && (bbcdotcom.data.ads == 1 || bbcdotcom.data.stats == 1)) { bbcdotcomConfig = {"adFormat":"standard","adKeyword":"","adMode":"smart","adsEnabled":true,"appAnalyticsSections":"","asyncEnabled":true,"disableInitialLoad":false,"advertInfoPageUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"sherlockEnabled":false,"appName":"cbbc","assetPrefix":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/static.bbc.co.uk\/bbcdotcom\/2.5.0\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"lotameWSEnabled":false,"optimizelyEnabled":true,"palEnv":"live","productName":"cbbc","sections":[],"comScoreEnabled":true,"comscoreSite":"bbc","comscoreID":"19293874","comscorePageName":"","slots":"","sponsoredByText":"is sponsored by","adsByGoogleText":"Ads by Google","summary":"","type":"","features":{"testfeature":{"name":"testfeature","envs":["sandbox","int","test"],"on":true,"options":{},"override":null},"lxadverts":{"name":"lxadverts","envs":[],"on":true,"options":{},"override":null}},"staticBase":"\/bbcdotcom","staticHost":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/static.bbc.co.uk","staticVersion":"2.5.0","staticPrefix":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/static.bbc.co.uk\/bbcdotcom\/2.5.0","dataHttp":"tps.bbc.com","dataHttps":"www.bbc.com","flagHttp":"www.bbc.co.uk","flagHttps":"www.bbc.co.uk","analyticsHttp":"sa.bbc.com","analyticsHttps":"ssa.bbc.com"}; bbcdotcom.config.init(bbcdotcomConfig, bbcdotcom.data, window.location, window.document); bbcdotcom.config.setFlagpoles(bbcdotcom.flag || {}); bbcdotcom.config.setAssetPrefix("https://web.archive.org/web/20190701112059/https://static.bbc.co.uk/bbcdotcom/2.5.0/"); bbcdotcom.config.setVersion("2.5.0"); document.write('<!--[if IE 7]><script type="text/javascript">bbcdotcom.config.setIE7(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 8]><script type="text/javascript">bbcdotcom.config.setIE8(true);\x3C/script><![endif]-->'); document.write('<!--[if IE 9]><script type="text/javascript">bbcdotcom.config.setIE9(true);\x3C/script><![endif]-->'); if (/[?|&]ex-dp/.test(window.location.href) || document.cookie.indexOf('ex-dp=') !== -1) { bbcdotcom.utils.addHtmlTagClass('bbcdotcom-ex-dp'); } } })(); /*]]>*/</script><script type="text/javascript">var initOptimizely = (function(isEnabled){ if(!isEnabled) return; var logger = window.bbcdotcom.Logger('bbcdotcom:head:optimizely'); /* Allow Optimizely in these paths */ var allowPaths = ['/', '/wwhp']; /* Only run on optimizely on homepage */ if (bbcdotcom.utils && allowPaths.indexOf(window.location.pathname) !== -1 && window.bbccookies && bbccookies.readPolicy('necessary') ){ /* set correct OptimizelyURL for prod or sandbox */ var optimizelyURL = "https://web.archive.org/web/20190701112059/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20190701112059/https://cdn.optimizely.com/public/4621041136/s/bbccom_prod.js"; } /* Set cookie to 1 year */ window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ "type": "cookieExpiration", "cookieExpirationDays": 365 }); document.write('<script type="text/javascript" src="'+optimizelyURL+'">\x3C/script>'); } })( bbcdotcom.config.isOptimizelyEnabled() );</script><script type="text/javascript">/*<![CDATA[*/ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isGrapeshotEnabled && bbcdotcom.config.isGrapeshotEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService() ) { var gs_channels="DEFAULT"; (function () { var gsurl = window.location.href.split("?")[0]; bbcdotcomScripts.push({src:'https://web.archive.org/web/20190701112059/https://bbc.gscontxt.net/?url='+encodeURIComponent(gsurl)}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats == 1 && bbcdotcom.config && bbcdotcom.config.isLotameEnabled && bbcdotcom.config.isLotameEnabled()){ (function () { var clientId, lotameUrl, lotameAudienceUrl; clientId = (bbcdotcom.config.isWorldService && bbcdotcom.config.isWorldService()) ? '10826' : '10816'; lotameUrl = 'https://web.archive.org/web/20190701112059/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20190701112059/https://ad.crwdcntrl.net/5/c=10815/pe=y/var=ccauds'; bbcdotcomScripts.push({src:lotameUrl,id:"LOTCC"+clientId}); bbcdotcomScripts.push({src:lotameAudienceUrl}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /** * ASYNC waits to make any gpt requests until the bottom of the page */ if ( window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.ads && bbcdotcom.data.ads == 1 && bbcdotcom.config && bbcdotcom.config.isAsync && bbcdotcom.config.isAsync() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20190701112059/https://www.googletagservices.com/tag/js/gpt.js'}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ /* Load Lotame, Grapeshot and GPT without blocking rendering but executing in order */ if ( bbcdotcomScripts && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcomScripts.forEach(function(item) { var script = document.createElement('script'); script.async = false; if(item.id) script.id = item.id; script.src = item.src; document.head.appendChild(script); }); })(); } /*]]>*/</script><script type="text/javascript" async="true">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats == 1 && bbcdotcom.config && bbcdotcom.config.isLotameEnabled && bbcdotcom.config.isLotameEnabled() && bbcdotcom.lotame){ (function () { bbcdotcom.lotame.callback(); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script><script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"cbbc","locale":"en","navSearchboxStaticPrefix":"https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/searchbox/3.0.0-4.9a69f1b","searchboxAppStaticPrefix":"https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/searchbox/3.0.0-4.9a69f1b/drawer","searchFormHtml":"<div tabindex=\"-1\" data-reactroot=\"\" data-reactid=\"1\" data-react-checksum=\"729995048\"><div data-reactid=\"2\"><section class=\"se-searchbox-panel\" data-reactid=\"3\"><div class=\"se-g-wrap\" data-reactid=\"4\"><div class=\"se-g-layout\" data-reactid=\"5\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\" data-reactid=\"6\">search</div><div class=\"se-g-layout__item se-searchbox\" data-reactid=\"7\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\" data-reactid=\"8\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\" data-reactid=\"9\"><span class=\"se-sr-only\" data-reactid=\"10\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxlength=\"512\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\" data-reactid=\"11\"/></label><input type=\"hidden\" name=\"scope\" value=\"\" data-reactid=\"12\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-reactid=\"13\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-reactid=\"14\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\" data-reactid=\"15\"><section class=\"se-g-wrap\" data-reactid=\"16\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"cbbc\">","searchScopeParam":"?scope=cbbc","searchScopeTemplate":"cbbc","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20190701112059cs_/https://nav.files.bbci.co.uk/searchbox/3.0.0-4.9a69f1b/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/3.0.0-4.9a69f1b/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/3.0.0-4.9a69f1b/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--><script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/navpromo/3.0.0-149.a8f341d/js/async/_footerpromo' } });</script> <script type="text/javascript">"use strict";require.config({paths:{reverb:"https://web.archive.org/web/20190701112059/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-0.9.1"}}),function(){var e=function(a){require(["reverb"],function(e){if(a&&a.detail){var t=a.detail.label,i=a.detail.type,n=a.detail.elem,r=a.detail.originalEvent,c=a.detail.isClick;e.invoke(!1).then(function(){e.userActionEvent(i,t,a.detail,n,r,c)})}})};document.addEventListener("bbc-user-event",e),document.addEventListener("bbc-user-click",e),document.addEventListener("bbc-page-updated",function(){require(["reverb"],function(e){e.invoke(!0)})})}();</script> <script> require.config({ paths: { 'optimizely-ati': ['https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/stats/optimizely-ati'] } }); require(['optimizely-ati'], function (optimizelyATI) { window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({'type': 'sendEvents'}); optimizelyATI.init(); }); </script> <script type="text/javascript"> require(['orb/fig'], function(orbFig) { orbFig.load(function(fig) { if (!fig.geo.isUK()) { window.location = "https://web.archive.org/web/20190701112059/http://www.bbcchannels.com/cbbc"; } }); }); </script> <script type="text/javascript" src="https://web.archive.org/web/20190701112059js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/modernizr.js"></script> <script> define('modernizr', [], Modernizr); </script> <script type="text/javascript" src="https://web.archive.org/web/20190701112059js_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/matchMedia.js"></script> <script>window.Morph = {}</script> <script type="text/javascript">Morph.markPerformance = function(label) { if(window.performance && window.performance.mark) { window.performance.mark(label); } }; Morph.versions = {}; Morph.modules = {}; Morph.config = { cdn: "m.files.bbci.co.uk", pushEnv: "live" }; Morph.styles = {}; Morph.styleSrc = []; Morph.toInit = {bundles: [], registers: [], payloads: []}; Morph.initStyles = function() { if (!Morph.enhanced) { var eles = Array.prototype.slice.call(document.getElementsByTagName('noscript')); for (var i = 0, len = eles.length; i<len; i++) { if (eles[i].className === 'morph-core-style') { document.write(eles[i].innerText); eles[i].parentNode.removeChild(eles[i]); } } return; } for (var j = 0, jLen = Morph.styleSrc.length; j<jLen; j++) { document.write(Morph.styleSrc[j]); } Morph.styleSrc = []; };</script> <script type="text/javascript">Morph.forceCore = window.location.search.indexOf('morph-disable-enhanced=1')>-1; Morph.modernBrowser = ( 'addEventListener' in window && 'querySelector' in document && 'localStorage' in window ); Morph.isOperaMini = ( window.navigator.userAgent.indexOf('Opera Mini/')>-1 && window.navigator.userAgent.indexOf('Presto/')>-1 ); Morph.enhanced = (!Morph.forceCore && Morph.modernBrowser && !Morph.isOperaMini);</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>@import url("https://web.archive.org/web/20190701112059cs_/https://gel.files.bbci.co.uk/r2.302/bbc-reith.css");body{margin:0}.game-wrapper{position:relative;width:100%;height:101%;padding-bottom:56.25%;background-color:#000}#fullscreen-game-embed .game-wrapper{padding-bottom:0}.game-wrapper--fixedsize{position:relative;margin:0 auto}@keyframes rotating{from{-ms-transform:translate(-50%, -50%) rotate(0deg);-moz-transform:translate(-50%, -50%) rotate(0deg);-webkit-transform:translate(-50%, -50%) rotate(0deg);-o-transform:translate(-50%, -50%) rotate(0deg);transform:translate(-50%, -50%) rotate(0deg)}to{-ms-transform:translate(-50%, -50%) rotate(360deg);-moz-transform:translate(-50%, -50%) rotate(360deg);-webkit-transform:translate(-50%, -50%) rotate(360deg);-o-transform:translate(-50%, -50%) rotate(360deg);transform:translate(-50%, -50%) rotate(360deg)}}.game-wrapper__loading-spinner{position:absolute;left:50%;top:50%;animation:rotating 1.5s linear infinite}.game-wrapper__loading-spinner path{fill:#fff}.game-wrapper__cta{position:absolute;height:100%;width:100%;cursor:pointer;background-color:#000}.game-wrapper__cta img{width:100%;height:100%}.game-wrapper__cta:hover .game-holder__cta-button{background-color:rgba(186,26,23,0.75)}.game-wrapper__cta-button{position:absolute;bottom:0;left:0;width:80px;height:80px;background-color:rgba(0,0,0,0.75)}.game-wrapper__cta-icon{position:absolute;top:16px;left:16px;width:49px;height:39px}.game-wrapper__iframe{position:absolute;width:100%;height:100%}.game-wrapper__game{position:fixed;width:100%;height:100%}.game-wrapper__iframe--fixedsize{position:absolute;margin:0 auto}.cage-rotate-screen{position:fixed;display:block;overflow:visible;left:0;top:0;width:100%;height:100%;margin-left:auto;z-index:2147483647;color:#fff;background-color:#000}.cage-rotate-screen__icon{position:absolute;width:40%;height:40%;top:30%;right:20%}.cage-rotate-screen__path{fill:#fff}.cage-rotate-screen__text{position:absolute;width:100%;top:50%;right:20%;text-align:center;font:bold 7vmin Helvetica, sans-serif}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}:focus{outline:none}.achievements{background-color:#2a205c;border-radius:6px;position:relative;margin:86px auto;width:744px;height:628px}.achievements__wrapper{font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(56,56,56,0.85)}.achievements__list{overflow-y:scroll;padding-right:16px;position:relative;top:20px;margin:16px;border-radius:6px;height:calc(100% - 86px)}.achievements__list .achievements__achievement:last-child{margin-bottom:0}.achievements__list::-webkit-scrollbar{-webkit-appearance:none}.achievements__list::-webkit-scrollbar:vertical{width:16px}.achievements__list::-webkit-scrollbar-thumb{background-color:#fff;border-radius:3px}.achievements__list::-webkit-scrollbar-track{border-radius:3px;background-color:#746d93}.achievements__title{font-weight:bold;color:white;font-size:26px;text-align:center;margin-top:18px}.achievements__achievement{background-color:#fff;margin-bottom:10px;padding:8px;border-radius:3px;height:74px;font-size:15px;line-height:22px;color:#3b3b3b}.achievements__achievement img{float:left;margin-right:10px}.achievements__achievement img:first-child{border-radius:2px}.achievements__achievement img:nth-child(2){margin-right:6px;margin-top:6px}.achievements__achievement h2{color:#222;font-size:18px;line-height:22px;margin:0;font-weight:bold;margin-top:2px}.achievements__achievement p{margin:4px 0 0 0}.achievements__achievement progress[value]{-webkit-appearance:none;appearance:none;width:216px;height:10px;margin-right:6px;position:relative;bottom:3px}.achievements__achievement progress[value]::-webkit-progress-bar{background-color:#d6d6d6;border-radius:5px;overflow:hidden}.achievements__achievement progress[value]::-webkit-progress-value{background:#01d2a8;border-radius:5px}.achievements__locked{background-color:#EAE9EE}.achievements__close-button{position:absolute;right:16px;top:16px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.achievements__close-button:hover .cage-settings__close-icon-circle{fill:#b3b3b5}.achievements__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.achievements__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#f0f0f4}#achievements-label{position:relative;top:18px}.cage-settings__wrapper{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.4)}.cage-settings{position:absolute;left:25%;top:25%;width:50%;min-width:325px;height:50%;min-height:150px;overflow:hidden;background-color:#fff;z-index:1;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;font-size:110%}.cage-settings__list{overflow-y:auto;outline:none}.cage-settings__list::-webkit-scrollbar{-webkit-appearance:none}.cage-settings__list::-webkit-scrollbar:vertical{width:12px}.cage-settings__list::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.5);border-radius:10px;border:2px solid #fff}.cage-settings__list::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.cage-settings__title{margin:0 auto;padding:0;color:#3F3E4A;text-align:center;border-bottom:1px solid #B7BBBB}.cage-settings__title-text{text-align:center;padding:1.1em 3em;font:bold 1.3em arial,sans-serif;color:#3F3E4A;outline:0}.cage-settings__close-button{position:absolute;right:10px;top:10px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.cage-settings__close-button:hover .cage-settings__close-icon-circle{fill:#B3B3B5}.cage-settings__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.cage-settings__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#F0F0F4}.cage-settings__subheading{padding:1em 2.2em;font:bold 0.9em arial,sans-serif;text-transform:uppercase;color:#939397;background-color:#F0F0F4}.cage-setting{position:relative;padding:1em 2.2em;border-bottom:1px solid #F0F0F4}.cage-setting:last-child{border-bottom:0}.cage-setting__info{display:block;padding-right:86px;font:normal 1em arial,sans-serif}.cage-setting__title{padding-bottom:0.3em;font-weight:bold;color:#323232}.cage-setting__description{font-size:1em;color:#939397}.cage-setting__toggle{position:absolute;right:1.8em;top:10px}.cage-setting__toggle_button{margin-top:0.4em;padding:0.4em 0.4em 0.2em;border:0;background-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.cage-setting__toggle_button:active,.cage-setting__toggle_button:focus{background-color:rgba(0,0,0,0);-webkit-focus-ring-color:#bfbfc2}.cage-setting__toggle_button .cage-setting__toggle-slider,.cage-setting__toggle_button .cage-setting__toggle-outline{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out}.cage-setting__toggle_button--on .cage-setting__toggle-outline{fill:#44D6DA}.cage-setting__toggle_button--off .cage-setting__toggle-outline{fill:#D8D8D8}@media (max-width: 410px){.cage-settings{top:5%;left:5%;width:90%;height:90%;font-size:85%}.cage-settings__list{height:69%}.cage-settings__close-button{top:8px;right:8px}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-settings{top:5%;left:5%;width:90%;height:90%;font-size:85%}.cage-settings__list{height:70%}.cage-settings__close-button{top:8px;right:8px}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-settings{top:5%;left:10%;width:80%;height:90%;font-size:90%}.cage-settings__list{height:72%}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-settings{left:10%;top:10%;width:80%;height:80%;font-size:90%}.cage-settings__list{height:77%}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 980px) and (min-width: 781px){.cage-settings{left:15%;top:15%;width:70%;height:70%}.cage-settings__list{height:75%}}@media (max-width: 1470px) and (min-width: 981px){.cage-settings__list{height:74%}.cage-settings--mobile{left:10%;width:80%}.cage-settings--mobile .cage-settings__list{height:70%}}@media (min-width: 1470px){.cage-settings__list{height:81%}}.game-wrapper__error{padding-top:5%;background-color:#000;color:#fff;font-family:Arial, Helvetica, sans-serif;text-align:center;font-size:26px}.game-wrapper__error a{color:#fff;text-decoration:underline;font-weight:bold}@media screen and (min-width: 400px){.game-wrapper__error h1{margin:8px 70px}.game-wrapper__error p{margin:8px 70px}}@media screen and (min-width: 600px){.game-wrapper__error h1{margin:16px 96px;font-size:20px}.game-wrapper__error p{margin:16px 96px;font-size:18px}}@media screen and (min-width: 770px){.game-wrapper__error h1{margin:16px 126px;font-size:26px}.game-wrapper__error p{margin:16px 126px;font-size:20px}}@media screen and (min-width: 1008px){.game-wrapper__error h1{margin:16px 246px}.game-wrapper__error p{margin:16px 246px}}.game-wrapper #brim{display:none}.cage-brim#cage-brim{position:absolute;top:0;left:0;width:100%;height:1000%;z-index:2147483647;color:#FFFFFF;background-color:#000000;touch-action:manipulation}.cage-brim--disabled{display:none}.cage-brim__text{position:absolute;top:62vmin;left:0px;right:0px;text-align:center;font:bold 7vmin Helvetica, sans-serif}@keyframes hand-movement{21%{transform:rotate(-20deg);visibility:hidden;left:50%;top:27vmin}50%{transform:rotate(-5deg);visibility:hidden;left:50%;top:7vmin}}@keyframes hand-tap-swipe{20%{transform:rotate(-20deg);visibility:hidden;top:27vmin}50%{transform:rotate(-5deg);visibility:visible;top:7vmin}51%{visibility:hidden;top:7vmin}}@keyframes arrow-swipe{20%{opacity:0;top:26vmin}30%{opacity:1}50%{opacity:1;top:7vmin}100%{opacity:0;top:7vmin}}.cage-brim__hand{position:absolute;left:50%;top:24vmin;width:30vmin;height:30vmin;animation:hand-movement 2.2s ease infinite;transform:translate(10vmin);transform-origin:bottom right}.cage-brim__hand-tap{position:absolute;left:50%;top:27vmin;width:30vmin;height:30vmin;visibility:hidden;animation:hand-tap-swipe 2.2s ease infinite;transform-origin:bottom right}.cage-brim__arrow{position:absolute;left:50%;top:26vmin;width:40vmin;height:40vmin;opacity:0;animation:arrow-swipe 2.2s ease infinite;transform:translate(-30vmin)}.achievement-notification{position:fixed;left:50%;bottom:30px;margin-left:-212px;width:424px;height:87px;pointer-events:none}.achievement-top .achievement-notification{position:fixed;left:50%;top:30px;margin-left:-212px;width:424px;height:87px;pointer-events:none} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-childrens-games-view/1.11.10"]=true; Morph.styleSrc.push("<style>@import url(\"https://gel.files.bbci.co.uk/r2.302/bbc-reith.css\");body{margin:0}.game-wrapper{position:relative;width:100%;height:101%;padding-bottom:56.25%;background-color:#000}#fullscreen-game-embed .game-wrapper{padding-bottom:0}.game-wrapper--fixedsize{position:relative;margin:0 auto}@keyframes rotating{from{-ms-transform:translate(-50%, -50%) rotate(0deg);-moz-transform:translate(-50%, -50%) rotate(0deg);-webkit-transform:translate(-50%, -50%) rotate(0deg);-o-transform:translate(-50%, -50%) rotate(0deg);transform:translate(-50%, -50%) rotate(0deg)}to{-ms-transform:translate(-50%, -50%) rotate(360deg);-moz-transform:translate(-50%, -50%) rotate(360deg);-webkit-transform:translate(-50%, -50%) rotate(360deg);-o-transform:translate(-50%, -50%) rotate(360deg);transform:translate(-50%, -50%) rotate(360deg)}}.game-wrapper__loading-spinner{position:absolute;left:50%;top:50%;animation:rotating 1.5s linear infinite}.game-wrapper__loading-spinner path{fill:#fff}.game-wrapper__cta{position:absolute;height:100%;width:100%;cursor:pointer;background-color:#000}.game-wrapper__cta img{width:100%;height:100%}.game-wrapper__cta:hover .game-holder__cta-button{background-color:rgba(186,26,23,0.75)}.game-wrapper__cta-button{position:absolute;bottom:0;left:0;width:80px;height:80px;background-color:rgba(0,0,0,0.75)}.game-wrapper__cta-icon{position:absolute;top:16px;left:16px;width:49px;height:39px}.game-wrapper__iframe{position:absolute;width:100%;height:100%}.game-wrapper__game{position:fixed;width:100%;height:100%}.game-wrapper__iframe--fixedsize{position:absolute;margin:0 auto}.cage-rotate-screen{position:fixed;display:block;overflow:visible;left:0;top:0;width:100%;height:100%;margin-left:auto;z-index:2147483647;color:#fff;background-color:#000}.cage-rotate-screen__icon{position:absolute;width:40%;height:40%;top:30%;right:20%}.cage-rotate-screen__path{fill:#fff}.cage-rotate-screen__text{position:absolute;width:100%;top:50%;right:20%;text-align:center;font:bold 7vmin Helvetica, sans-serif}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-o-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}:focus{outline:none}.achievements{background-color:#2a205c;border-radius:6px;position:relative;margin:86px auto;width:744px;height:628px}.achievements__wrapper{font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(56,56,56,0.85)}.achievements__list{overflow-y:scroll;padding-right:16px;position:relative;top:20px;margin:16px;border-radius:6px;height:calc(100% - 86px)}.achievements__list .achievements__achievement:last-child{margin-bottom:0}.achievements__list::-webkit-scrollbar{-webkit-appearance:none}.achievements__list::-webkit-scrollbar:vertical{width:16px}.achievements__list::-webkit-scrollbar-thumb{background-color:#fff;border-radius:3px}.achievements__list::-webkit-scrollbar-track{border-radius:3px;background-color:#746d93}.achievements__title{font-weight:bold;color:white;font-size:26px;text-align:center;margin-top:18px}.achievements__achievement{background-color:#fff;margin-bottom:10px;padding:8px;border-radius:3px;height:74px;font-size:15px;line-height:22px;color:#3b3b3b}.achievements__achievement img{float:left;margin-right:10px}.achievements__achievement img:first-child{border-radius:2px}.achievements__achievement img:nth-child(2){margin-right:6px;margin-top:6px}.achievements__achievement h2{color:#222;font-size:18px;line-height:22px;margin:0;font-weight:bold;margin-top:2px}.achievements__achievement p{margin:4px 0 0 0}.achievements__achievement progress[value]{-webkit-appearance:none;appearance:none;width:216px;height:10px;margin-right:6px;position:relative;bottom:3px}.achievements__achievement progress[value]::-webkit-progress-bar{background-color:#d6d6d6;border-radius:5px;overflow:hidden}.achievements__achievement progress[value]::-webkit-progress-value{background:#01d2a8;border-radius:5px}.achievements__locked{background-color:#EAE9EE}.achievements__close-button{position:absolute;right:16px;top:16px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.achievements__close-button:hover .cage-settings__close-icon-circle{fill:#b3b3b5}.achievements__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.achievements__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#f0f0f4}#achievements-label{position:relative;top:18px}.cage-settings__wrapper{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.4)}.cage-settings{position:absolute;left:25%;top:25%;width:50%;min-width:325px;height:50%;min-height:150px;overflow:hidden;background-color:#fff;z-index:1;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;font-size:110%}.cage-settings__list{overflow-y:auto;outline:none}.cage-settings__list::-webkit-scrollbar{-webkit-appearance:none}.cage-settings__list::-webkit-scrollbar:vertical{width:12px}.cage-settings__list::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,0.5);border-radius:10px;border:2px solid #fff}.cage-settings__list::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.cage-settings__title{margin:0 auto;padding:0;color:#3F3E4A;text-align:center;border-bottom:1px solid #B7BBBB}.cage-settings__title-text{text-align:center;padding:1.1em 3em;font:bold 1.3em arial,sans-serif;color:#3F3E4A;outline:0}.cage-settings__close-button{position:absolute;right:10px;top:10px;padding:2px 2px 0;border:0;background-color:rgba(0,0,0,0);-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden}.cage-settings__close-button:hover .cage-settings__close-icon-circle{fill:#B3B3B5}.cage-settings__close-button:focus{-webkit-focus-ring-color:#bfbfc2}.cage-settings__close-icon-circle{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out;fill:#F0F0F4}.cage-settings__subheading{padding:1em 2.2em;font:bold 0.9em arial,sans-serif;text-transform:uppercase;color:#939397;background-color:#F0F0F4}.cage-setting{position:relative;padding:1em 2.2em;border-bottom:1px solid #F0F0F4}.cage-setting:last-child{border-bottom:0}.cage-setting__info{display:block;padding-right:86px;font:normal 1em arial,sans-serif}.cage-setting__title{padding-bottom:0.3em;font-weight:bold;color:#323232}.cage-setting__description{font-size:1em;color:#939397}.cage-setting__toggle{position:absolute;right:1.8em;top:10px}.cage-setting__toggle_button{margin-top:0.4em;padding:0.4em 0.4em 0.2em;border:0;background-color:rgba(0,0,0,0);-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.cage-setting__toggle_button:active,.cage-setting__toggle_button:focus{background-color:rgba(0,0,0,0);-webkit-focus-ring-color:#bfbfc2}.cage-setting__toggle_button .cage-setting__toggle-slider,.cage-setting__toggle_button .cage-setting__toggle-outline{transition:200ms;transition-timing-function:ease-in-out;-webkit-transition:200ms;-webkit-transition-timing-function:ease-in-out}.cage-setting__toggle_button--on .cage-setting__toggle-outline{fill:#44D6DA}.cage-setting__toggle_button--off .cage-setting__toggle-outline{fill:#D8D8D8}@media (max-width: 410px){.cage-settings{top:5%;left:5%;width:90%;height:90%;font-size:85%}.cage-settings__list{height:69%}.cage-settings__close-button{top:8px;right:8px}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 450px) and (min-width: 411px){.cage-settings{top:5%;left:5%;width:90%;height:90%;font-size:85%}.cage-settings__list{height:70%}.cage-settings__close-button{top:8px;right:8px}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 580px) and (min-width: 451px){.cage-settings{top:5%;left:10%;width:80%;height:90%;font-size:90%}.cage-settings__list{height:72%}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 780px) and (min-width: 581px){.cage-settings{left:10%;top:10%;width:80%;height:80%;font-size:90%}.cage-settings__list{height:77%}.cage-settings__close-icon{width:36px;height:36px}.cage-setting__toggle-icon{width:42px;height:26px}}@media (max-width: 980px) and (min-width: 781px){.cage-settings{left:15%;top:15%;width:70%;height:70%}.cage-settings__list{height:75%}}@media (max-width: 1470px) and (min-width: 981px){.cage-settings__list{height:74%}.cage-settings--mobile{left:10%;width:80%}.cage-settings--mobile .cage-settings__list{height:70%}}@media (min-width: 1470px){.cage-settings__list{height:81%}}.game-wrapper__error{padding-top:5%;background-color:#000;color:#fff;font-family:Arial, Helvetica, sans-serif;text-align:center;font-size:26px}.game-wrapper__error a{color:#fff;text-decoration:underline;font-weight:bold}@media screen and (min-width: 400px){.game-wrapper__error h1{margin:8px 70px}.game-wrapper__error p{margin:8px 70px}}@media screen and (min-width: 600px){.game-wrapper__error h1{margin:16px 96px;font-size:20px}.game-wrapper__error p{margin:16px 96px;font-size:18px}}@media screen and (min-width: 770px){.game-wrapper__error h1{margin:16px 126px;font-size:26px}.game-wrapper__error p{margin:16px 126px;font-size:20px}}@media screen and (min-width: 1008px){.game-wrapper__error h1{margin:16px 246px}.game-wrapper__error p{margin:16px 246px}}.game-wrapper #brim{display:none}.cage-brim#cage-brim{position:absolute;top:0;left:0;width:100%;height:1000%;z-index:2147483647;color:#FFFFFF;background-color:#000000;touch-action:manipulation}.cage-brim--disabled{display:none}.cage-brim__text{position:absolute;top:62vmin;left:0px;right:0px;text-align:center;font:bold 7vmin Helvetica, sans-serif}@keyframes hand-movement{21%{transform:rotate(-20deg);visibility:hidden;left:50%;top:27vmin}50%{transform:rotate(-5deg);visibility:hidden;left:50%;top:7vmin}}@keyframes hand-tap-swipe{20%{transform:rotate(-20deg);visibility:hidden;top:27vmin}50%{transform:rotate(-5deg);visibility:visible;top:7vmin}51%{visibility:hidden;top:7vmin}}@keyframes arrow-swipe{20%{opacity:0;top:26vmin}30%{opacity:1}50%{opacity:1;top:7vmin}100%{opacity:0;top:7vmin}}.cage-brim__hand{position:absolute;left:50%;top:24vmin;width:30vmin;height:30vmin;animation:hand-movement 2.2s ease infinite;transform:translate(10vmin);transform-origin:bottom right}.cage-brim__hand-tap{position:absolute;left:50%;top:27vmin;width:30vmin;height:30vmin;visibility:hidden;animation:hand-tap-swipe 2.2s ease infinite;transform-origin:bottom right}.cage-brim__arrow{position:absolute;left:50%;top:26vmin;width:40vmin;height:40vmin;opacity:0;animation:arrow-swipe 2.2s ease infinite;transform:translate(-30vmin)}.achievement-notification{position:fixed;left:50%;bottom:30px;margin-left:-212px;width:424px;height:87px;pointer-events:none}.achievement-top .achievement-notification{position:fixed;left:50%;top:30px;margin-left:-212px;width:424px;height:87px;pointer-events:none}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u5542485035955282 */</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:" ";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:"";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette("text-dark");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:"";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-childrens-reactions/1.4.7"]=true; Morph.styleSrc.push("<style>.reactions-styleguide__section{background-color:#fff;margin-bottom:32px}@media (min-width: 37.5em){.reactions-styleguide__section{padding:16px}}.reactions-styleguide__heading{background-color:#FFD201;margin-left:-16px;margin-right:-16px;padding:16px}.reactions-styleguide__heading:first-of-type{margin-top:-16px}.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.reactions-styleguide__heading,.reactions-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .reactions-styleguide__heading,.no-touch .reactions-styleguide__subheading{font-size:20px;font-size:1.25rem}}#reactions-list li{list-style:none}.reactions__standalone .content-item-description{*zoom:1}.reactions__standalone .content-item-description:before,.reactions__standalone .content-item-description:after{content:\" \";display:table}.reactions__standalone .content-item-description:after{clear:both}.reactions__standalone{max-width:864px}.reactions__standalone::before{position:relative;content:\"\";display:block;width:100%;background-color:black;padding-top:56.25%;z-index:999}.reactions__standalone .content-item-description{color:palette(\"text-dark\");padding:16px 8px}@media (min-width: 37.5em){.reactions__standalone .content-item-description{padding:16px}}.reactions__standalone .reactions-container{width:calc(100% + 16px);margin-top:-16px;margin-right:-16px;margin-bottom:16px;margin-left:-8px}.content-item--riddle-content .reactions__standalone .reactions-container{margin-top:0}@media (min-width: 37.5em){.reactions__standalone .reactions-container{width:calc(100% + 32px);margin-left:-16px}}.reactions__standalone .content-item-description .reactions-cta{float:right;padding-left:16px;padding-right:4px}@media (min-width: 25em){.reactions__standalone .content-item-description .reactions-cta{padding-right:8px}}@media (min-width: 37.5em){.reactions__standalone .content-item-description .reactions-cta{padding-right:16px}}.reactions__standalone .content-item-description .reactions-cta--open{margin-top:0}.reactions__standalone .content-item-description .reactions-tray__reactions{z-index:999}.reactions-module{pointer-events:none;position:relative}.reactions .reactions-tray{margin-top:-36px;position:relative;z-index:999;pointer-events:none}.reactions .reactions-tray::before{display:block;height:20px;content:''}.reactions .reactions-tray__reactions-container{display:block;position:relative;padding:0 3px;max-height:0;height:auto;transition:max-height 300ms 120ms;background-color:#FDF6FF}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (prefers-reduced-motion: reduce){.reactions .reactions-tray__reactions-container{transition:none;max-height:0}}.reactions .reactions-tray__reactions-container:after{content:\"\";position:absolute;width:100%;height:5px;left:0;background:linear-gradient(rgba(43,31,90,0), rgba(43,31,90,0.2));bottom:0;visibility:hidden;transition:visibility 1ms 300ms}.reactions .reactions-tray__reactions-container li{padding-bottom:0;visibility:hidden;transition:visibility 0ms linear 300ms}.reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;color:#333;opacity:0;padding-bottom:16px;text-align:center;text-transform:uppercase;transition:opacity 300ms,visibility 0s linear 200ms;visibility:hidden}@media (min-width: 37.5em){.reactions .reactions-tray__reactive-prompt{font-size:13px;font-size:.8125rem}.no-touch .reactions .reactions-tray__reactive-prompt{font-size:12px;font-size:.75rem}}.reactions .reactions-tray__reactions-container--open{display:block;max-height:124px;pointer-events:all;transition:max-height 300ms}@media (min-width: 37.5em){.reactions .reactions-tray__reactions-container--open{max-height:154px}}.reactions .reactions-tray__reactions-container--open:after{visibility:visible;transition:visibility 1ms}.reactions .reactions-tray__reactions-container--open li{visibility:visible;transition:visibility 0ms linear 0ms}.reactions .reactions-tray__reactions-container--open .reactions-tray__reactive-prompt{visibility:visible;opacity:1}.reactions .reactions-cta{border:0;position:relative;overflow:visible;cursor:pointer;background-color:transparent;margin:8px 0;pointer-events:auto;z-index:999}.reactions .reactions-cta:hover .cta-cbbc-icon,.reactions .reactions-cta:hover .cta-cbeebies-icon{animation-play-state:paused}@media (min-width: 37.5em){.reactions .reactions-cta:hover .cta-cbbc-icon svg,.reactions .reactions-cta:hover .cta-cbeebies-icon svg{transition:all 500ms ease;transform:scale(1.1)}}.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbbc-icon,.reactions .reactions-cta:not(.reactions-cta--clicked) .cta-cbeebies-icon{display:block;animation-name:wiggle;animation-duration:7s;animation-delay:5s;animation-iteration-count:3}.reactions .cta-icon svg{width:54px}@keyframes wiggle{0%{transform:scale(1) rotate(0deg)}10%{transform:scale(1.05) rotate(0deg)}11%{transform:scale(1.05) rotate(-5deg)}13%{transform:scale(1.05) rotate(5deg)}15%{transform:scale(1.05) rotate(-5deg)}17%{transform:scale(1.05) rotate(5deg)}19%{transform:scale(1.05) rotate(-5deg)}20%{transform:scale(1.05) rotate(0deg)}30%{transform:scale(1) rotate(0deg)}}.reactions .reactions-cta-image{display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;-ms-flex-align:center;font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;font-weight:bold;color:#2B1F5A;position:relative}@media (min-width: 37.5em){.reactions .reactions-cta-image{line-height:20px;line-height:1.25rem}.no-touch .reactions .reactions-cta-image{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.reactions .reactions-count-container{position:absolute;top:58%;left:-90%;height:25px;line-height:25px;width:80px;text-align:right;vertical-align:middle}.reactions .reactions-cta--open .cta-arrow-icon{transform:rotate(180deg)}.reactions .reaction-button{transition:opacity 200ms ease-in-out;opacity:0;outline:none;overflow:visible;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (hover: hover), (-ms-high-contrast: none){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}}@media (hover: hover) and (min-width: 37.5em), (-ms-high-contrast: none) and (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}@-moz-document url-prefix(){.reactions .reaction-button:hover svg{height:44px;width:44px;top:-2px;left:-2px;transform:rotate(-10deg);transform-origin:center center}@media (min-width: 37.5em){.reactions .reaction-button:hover svg{height:66px;width:66px;top:-3px;left:-3px}}}.reactions .reaction-button:focus .reaction-focus-line{background-color:#2B1F5A}.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon{top:-12px}}.reactions .reaction-button.reaction-button--selected .reaction-icon svg{transform:rotate(20deg);transform-origin:center center;height:56px;width:56px;top:-8px;left:-8px}@media (min-width: 37.5em){.reactions .reaction-button.reaction-button--selected .reaction-icon svg{height:84px;width:84px;top:-12px;left:-12px}}.reactions .animation-playing .reaction-button--selected{position:relative;z-index:1020}.reactions .animation-playing .reaction-button--selected .reaction-icon svg{z-index:1030;height:104px;width:104px;top:-32px;left:-32px}@media (min-width: 37.5em){.reactions .animation-playing .reaction-button--selected .reaction-icon svg{height:156px;width:156px;top:-48px;left:-48px}}.reactions .reaction-button--show{transition:opacity 43ms cubic-bezier(0, 0.94, 0.46, 0.85) 80ms;opacity:1}@media (prefers-reduced-motion: reduce){.reactions .reaction-button{transition:none}}.reactions .reaction-icon{display:block;position:relative;height:40px;width:40px;margin:4px auto;top:0}@media (min-width: 37.5em){.reactions .reaction-icon{height:60px;width:60px;margin-bottom:8px;margin-top:0}}.reactions .reaction-icon svg{position:absolute;top:0;left:0;height:40px;width:40px;transition:width 43ms ease-out,height 43ms ease-out,transform 43ms ease-out,top 43ms ease-out,left 43ms ease-out}@media (min-width: 37.5em){.reactions .reaction-icon svg{height:60px;width:60px}}.reactions .reaction-label,.reactions .reaction-count{display:block;position:relative;color:#2B1F5A}.reactions .reaction-label{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-weight:bold}@media (min-width: 37.5em){.reactions .reaction-label{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-label{font-size:12px;font-size:.75rem}}@media (min-width: 37.5em){.reactions .reaction-label{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold}}@media (min-width: 37.5em) and (min-width: 20em){.reactions .reaction-label{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em) and (min-width: 37.5em){.no-touch .reactions .reaction-label{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase;font-size:11px;padding-bottom:3px}@media (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}@media (min-width: 25em){.reactions .reaction-count{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;text-transform:uppercase}}@media (min-width: 25em) and (min-width: 37.5em){.reactions .reaction-count{font-size:13px;font-size:.8125rem}.no-touch .reactions .reaction-count{font-size:12px;font-size:.75rem}}.reactions .reaction-focus-line{width:12px;height:3px;margin:0 auto;position:relative}.reactions .gel-icon{position:relative}.reactions .reactions-cookie-warning{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FFD201;text-align:center}@media (min-width: 20em){.reactions .reactions-cookie-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-cookie-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-cookie-warning__inner{display:inline-block}.reactions .reactions-cookie-warning__icon{width:60px;height:50px;float:right;position:relative;overflow:hidden}.reactions .reactions-cookie-warning__icon svg{transform:rotate(15deg);position:absolute;top:-7.5px;left:0}.reactions .reactions-cookie-warning__text{text-align:left;padding:16px;-webkit-text-size-adjust:100%}@media (min-width: 37.5em){.reactions .reactions-cookie-warning__text{padding-right:60px;padding-left:60px}}.reactions .reactions-cookie-warning__link{color:#000;text-decoration:none;font-weight:bold;white-space:nowrap}.reactions .reactions-cookie-warning__link:hover{text-decoration:underline}.reactions .reactions-sprite-animation-wrapper{position:fixed;width:100%;height:100%;top:0;left:0;overflow:hidden;z-index:1000}.reactions .reactions-sprite-animation{position:absolute;overflow:hidden;pointer-events:none;width:150vw;height:150vh;margin-left:-75vw;margin-top:-67.5vh}.reactions .reactions-sprite-animation svg{width:100%;height:100%;max-height:100%;position:relative}.reactions .reactions-sprite__layer{visibility:hidden}.reactions .reactions-sprite-animation__slide--1 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--2 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--3 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--4 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--5 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--6 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--7 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--8 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--9 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--1{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--2{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--3{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--4{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--5{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--6{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--7{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--8{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--9{visibility:visible}.reactions .reactions-sprite-animation__slide--10 .reactions-sprite__layer--10{visibility:visible}.reactions .reactions-list{display:flex;display:-webkit-flex;display:-ms-flexbox;margin-bottom:10px;width:100%;justify-content:space-between;-ms-flex-pack:space-between;-webkit-justify-content:space-between}@media (min-width: 25em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center}}@media (min-width: 37.5em){.reactions .reactions-list{justify-content:center;-ms-flex-pack:center;-webkit-justify-content:center;margin:0 auto 10px;padding:8px 0 0}}.reactions .reactions-list li{flex-direction:row;padding:0 2px}@media (min-width: 25em){.reactions .reactions-list li{padding:0 4px}}@media (min-width: 37.5em){.reactions .reactions-list li{padding:0 5px}}.reactions .reactions-error-message{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:#FD3726;text-align:center;color:#fff}@media (min-width: 20em){.reactions .reactions-error-message{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .reactions .reactions-error-message{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.reactions .reactions-error-message__inner{display:inline-block}.reactions .reactions-error-message__text{text-align:left;padding:16px}@media (min-width: 37.5em){.reactions .reactions-error-message__text{padding-right:60px;padding-left:60px}}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-reactions/4.2.0"]=true; Morph.styleSrc.push("<style>.gs-c-reactions{list-style:none;margin:0;padding:0}.gs-c-reaction{border:0;padding:0;margin:0;background:none;min-height:44px;cursor:pointer}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/2.2.0"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u8205696634936944 */</script> <script type="text/javascript">Morph.initStyles(); /* u8137243800363956 */</script> <script type="text/javascript">Morph.initStyles(); /* u76713657445515455 */</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.ugc-hidden--offscreen{left:-9999px;position:absolute}.ugc-form-cta-container{background:#fff}.ugc-form-cta-container *,.ugc-form-cta-container::before,.ugc-form-cta-container::after{-webkit-box-sizing:inherit;box-sizing:inherit}.ugc-form-cta-container a{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;color:#006def;cursor:pointer;font-weight:inherit;text-decoration:none}.ugc-form-cta-container a:hover{color:#0e5ec5;text-decoration:underline}.ugc-form-cta-container b{font-weight:bold}.ugc-form-cta-container .accordion .accordion-body{background-color:#f0f1f2;max-height:0;overflow:hidden;-webkit-transition:max-height 300ms;transition:max-height 300ms;width:100%}.ugc-form-cta-container .accordion--open .accordion-drawer{background-color:#e5ddf6;border-bottom:1px solid #9f5ce9;border-top:1px solid #9f5ce9}.ugc-form-cta-container .accordion--open .accordion-drawer:hover{background-color:#ededed;border-bottom:1px solid #b3b3b3;border-top:1px solid #b3b3b3}.ugc-form-cta-container .accordion--open .accordion-body{border-bottom:solid 1px #b3b3b3}.ugc-form-cta-container .accordion-drawer{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;background-color:#ededed;border-bottom:1px solid #b3b3b3;border-top:1px solid #b3b3b3;color:#131011;display:block;text-decoration:none;width:100%}.ugc-form-cta-container .accordion-drawer:hover{background-color:#e5ddf6;border-bottom:1px solid #9f5ce9;border-top:1px solid #9f5ce9;color:inherit;text-decoration:none}@media (min-width: 37.5em){.ugc-form-cta-container .accordion-drawer{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold}}.ugc-form-cta-container .ugc-button{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.ugc-form-cta-container .ugc-button__link{background-color:#006def;border-bottom:4px #004ca6 solid;border-radius:4px;border-top:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:inherit;font-weight:bold;padding:8px;text-align:center;text-decoration:none}.ugc-form-cta-container .ugc-button__link:hover{background-color:#0e5ec5;border-bottom-width:2px;color:#fff;margin-top:2px;text-decoration:underline}.ugc-form-cta-container .ugc-button__link:active{border-bottom:0;border-top:2px #004ca6 solid}.ugc-form-cta-container .ugc-cta{overflow:hidden;position:relative}.ugc-form-cta-container .ugc-cta__image--desktop{display:none}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__image--desktop{display:block;height:239px;position:absolute;right:16px;top:0;width:174px}}.ugc-form-cta-container .ugc-cta__image--mobile{bottom:0;display:block;height:87px;position:absolute;right:8px;width:284px}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__image--mobile{display:none}}.ugc-form-cta-container .ugc-cta__content{padding:24px 8px 103px}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__content{padding:32px 206px 40px 16px}}.ugc-form-cta-container .ugc-cta__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:bold;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0}.ugc-form-cta-container .ugc-button--cta{padding-top:16px}.ugc-form-cta-container .ugc-button--cta .gel-icon{height:20px;margin-right:4px;vertical-align:text-top;width:20px}.ugc-form-cta-container .tips .look-icon{height:32px;width:32px}.ugc-form-cta-container .tips .look-icon svg{height:32px;width:32px}.ugc-form-cta-container .tips .accordion--open .accordion-body{max-height:500vw}.ugc-form-cta-container .tips .accordion-drawer-contents{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:11px 8px}@media (min-width: 37.5em){.ugc-form-cta-container .tips .accordion-drawer-contents{padding:11px 16px}}.ugc-form-cta-container .tips .accordion-body-contents{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:20px 8px 8px}@media (min-width: 37.5em){.ugc-form-cta-container .tips .accordion-body-contents{padding:24px 16px}}.ugc-form-cta-container .tips__drawer__text{margin-left:12px}.ugc-form-cta-container .tips-heading{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.ugc-form-cta-container .tips-open-close{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ugc-form-cta-container .tips-open-close .down-icon svg{fill:#e4134f}.ugc-form-cta-container .tips-open-close--open .down-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ugc-form-cta-container .tips-open-close__label{display:none}@media (min-width: 37.5em){.ugc-form-cta-container .tips-open-close__label{display:inherit;margin-right:12px}}.ugc-form-cta-container .tips-content{display:block;width:100%}.ugc-form-cta-container .tips-content__label{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:bold;letter-spacing:-1px;letter-spacing:-.0625rem;display:block;margin:0}.ugc-form-cta-container .tips-content__examples{display:-ms-grid;display:grid;grid-gap:8px;-ms-grid-rows:auto 8px auto 8px auto 8px auto;-ms-grid-columns:1fr;grid-template:'a' 'b' 'c' 'd' / 1fr;margin-top:16px;padding:0}@media (min-width: 37.5em){.ugc-form-cta-container .tips-content__examples{grid-gap:16px}}@media (min-width: 26.25em){.ugc-form-cta-container .tips-content__examples{-ms-grid-rows:auto 16px auto;-ms-grid-columns:1fr 16px 1fr;grid-template:'a b' 'c d' / 1fr 1fr}}@media (min-width: 56.25em){.ugc-form-cta-container .tips-content__examples{-ms-grid-rows:auto;-ms-grid-columns:1fr 16px 1fr 16px 1fr 16px 1fr;grid-template:'a b c d' / 1fr 1fr 1fr 1fr}}.ugc-form-cta-container .tips-example-card{list-style:none;margin-bottom:32px;position:relative}@media (min-width: 37.5em){.ugc-form-cta-container .tips-example-card{margin-bottom:29px}}.ugc-form-cta-container .tips-example-card img{border-radius:4px;width:100%}.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:a}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:3;-ms-grid-column:1;grid-area:b}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:5;-ms-grid-column:1;grid-area:c}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:7;-ms-grid-column:1;grid-area:d}@media (min-width: 26.25em){.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:1;-ms-grid-column:3}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:3;-ms-grid-column:3}}@media (min-width: 56.25em){.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:1;-ms-grid-column:3}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:1;-ms-grid-column:5}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:1;-ms-grid-column:7}}.ugc-form-cta-container .tips-example-card__label{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:bold;background-color:#e21b52;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;left:-4px;max-width:95%;padding:8px 12px;position:absolute;top:calc(100% - 23px)}.ugc-form-cta-container .tips-example-card__label::before{border-bottom:4px solid #871031;border-left:4px solid transparent;content:'';height:0;left:0;position:absolute;top:-4px;width:0}.ugc-form-cta-container .rules{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px}.ugc-form-cta-container .rules__text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-left:12px}.ugc-form-cta-container .rules__text a{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:bold}.ugc-form-cta-container .rules__information-icon{-ms-flex-negative:0;flex-shrink:0;height:1em;width:1em} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-ugc-form-cta/1.12.0"]=true; Morph.styleSrc.push("<style>.ugc-hidden--offscreen{left:-9999px;position:absolute}.ugc-form-cta-container{background:#fff}.ugc-form-cta-container *,.ugc-form-cta-container::before,.ugc-form-cta-container::after{-webkit-box-sizing:inherit;box-sizing:inherit}.ugc-form-cta-container a{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;color:#006def;cursor:pointer;font-weight:inherit;text-decoration:none}@media (min-width: 37.5em){.ugc-form-cta-container a{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .ugc-form-cta-container a{font-size:20px;font-size:1.25rem}}.ugc-form-cta-container a:hover{color:#0e5ec5;text-decoration:underline}.ugc-form-cta-container b{font-weight:bold}.ugc-form-cta-container .accordion .accordion-body{background-color:#f0f1f2;max-height:0;overflow:hidden;-webkit-transition:max-height 300ms;transition:max-height 300ms;width:100%}.ugc-form-cta-container .accordion--open .accordion-drawer{background-color:#e5ddf6;border-bottom:1px solid #9f5ce9;border-top:1px solid #9f5ce9}.ugc-form-cta-container .accordion--open .accordion-drawer:hover{background-color:#ededed;border-bottom:1px solid #b3b3b3;border-top:1px solid #b3b3b3}.ugc-form-cta-container .accordion--open .accordion-body{border-bottom:solid 1px #b3b3b3}.ugc-form-cta-container .accordion-drawer{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;background-color:#ededed;border-bottom:1px solid #b3b3b3;border-top:1px solid #b3b3b3;color:#131011;display:block;text-decoration:none;width:100%}@media (min-width: 20em){.ugc-form-cta-container .accordion-drawer{letter-spacing:-1px;letter-spacing:-.0625rem}}@media (min-width: 37.5em){.ugc-form-cta-container .accordion-drawer{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .ugc-form-cta-container .accordion-drawer{font-size:20px;font-size:1.25rem}}.ugc-form-cta-container .accordion-drawer:hover{background-color:#e5ddf6;border-bottom:1px solid #9f5ce9;border-top:1px solid #9f5ce9;color:inherit;text-decoration:none}@media (min-width: 37.5em){.ugc-form-cta-container .accordion-drawer{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold}}@media (min-width: 37.5em) and (min-width: 20em){.ugc-form-cta-container .accordion-drawer{letter-spacing:-1px;letter-spacing:-.0625rem}}@media (min-width: 37.5em) and (min-width: 37.5em){.ugc-form-cta-container .accordion-drawer{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .ugc-form-cta-container .accordion-drawer{font-size:20px;font-size:1.25rem}}.ugc-form-cta-container .ugc-button{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.ugc-form-cta-container .ugc-button__link{background-color:#006def;border-bottom:4px #004ca6 solid;border-radius:4px;border-top:0;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:inherit;font-weight:bold;padding:8px;text-align:center;text-decoration:none}.ugc-form-cta-container .ugc-button__link:hover{background-color:#0e5ec5;border-bottom-width:2px;color:#fff;margin-top:2px;text-decoration:underline}.ugc-form-cta-container .ugc-button__link:active{border-bottom:0;border-top:2px #004ca6 solid}.ugc-form-cta-container .ugc-cta{overflow:hidden;position:relative}.ugc-form-cta-container .ugc-cta__image--desktop{display:none}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__image--desktop{display:block;height:239px;position:absolute;right:16px;top:0;width:174px}}.ugc-form-cta-container .ugc-cta__image--mobile{bottom:0;display:block;height:87px;position:absolute;right:8px;width:284px}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__image--mobile{display:none}}.ugc-form-cta-container .ugc-cta__content{padding:24px 8px 103px}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__content{padding:32px 206px 40px 16px}}.ugc-form-cta-container .ugc-cta__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:bold;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0}@media (min-width: 37.5em){.ugc-form-cta-container .ugc-cta__title{font-size:26px;font-size:1.625rem;line-height:30px;line-height:1.875rem}.no-touch .ugc-form-cta-container .ugc-cta__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}.ugc-form-cta-container .ugc-button--cta{padding-top:16px}.ugc-form-cta-container .ugc-button--cta .gel-icon{height:20px;margin-right:4px;vertical-align:text-top;width:20px}.ugc-form-cta-container .tips .look-icon{height:32px;width:32px}.ugc-form-cta-container .tips .look-icon svg{height:32px;width:32px}.ugc-form-cta-container .tips .accordion--open .accordion-body{max-height:500vw}.ugc-form-cta-container .tips .accordion-drawer-contents{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:11px 8px}@media (min-width: 37.5em){.ugc-form-cta-container .tips .accordion-drawer-contents{padding:11px 16px}}.ugc-form-cta-container .tips .accordion-body-contents{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:20px 8px 8px}@media (min-width: 37.5em){.ugc-form-cta-container .tips .accordion-body-contents{padding:24px 16px}}.ugc-form-cta-container .tips__drawer__text{margin-left:12px}.ugc-form-cta-container .tips-heading{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.ugc-form-cta-container .tips-open-close{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ugc-form-cta-container .tips-open-close .down-icon svg{fill:#e4134f}.ugc-form-cta-container .tips-open-close--open .down-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.ugc-form-cta-container .tips-open-close__label{display:none}@media (min-width: 37.5em){.ugc-form-cta-container .tips-open-close__label{display:inherit;margin-right:12px}}.ugc-form-cta-container .tips-content{display:block;width:100%}.ugc-form-cta-container .tips-content__label{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:bold;letter-spacing:-1px;letter-spacing:-.0625rem;display:block;margin:0}@media (min-width: 37.5em){.ugc-form-cta-container .tips-content__label{font-size:26px;font-size:1.625rem;line-height:30px;line-height:1.875rem}.no-touch .ugc-form-cta-container .tips-content__label{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}.ugc-form-cta-container .tips-content__examples{display:-ms-grid;display:grid;grid-gap:8px;-ms-grid-rows:auto 8px auto 8px auto 8px auto;-ms-grid-columns:1fr;grid-template:'a' 'b' 'c' 'd' / 1fr;margin-top:16px;padding:0}@media (min-width: 37.5em){.ugc-form-cta-container .tips-content__examples{grid-gap:16px}}@media (min-width: 26.25em){.ugc-form-cta-container .tips-content__examples{-ms-grid-rows:auto 16px auto;-ms-grid-columns:1fr 16px 1fr;grid-template:'a b' 'c d' / 1fr 1fr}}@media (min-width: 56.25em){.ugc-form-cta-container .tips-content__examples{-ms-grid-rows:auto;-ms-grid-columns:1fr 16px 1fr 16px 1fr 16px 1fr;grid-template:'a b c d' / 1fr 1fr 1fr 1fr}}.ugc-form-cta-container .tips-example-card{list-style:none;margin-bottom:32px;position:relative}@media (min-width: 37.5em){.ugc-form-cta-container .tips-example-card{margin-bottom:29px}}.ugc-form-cta-container .tips-example-card img{border-radius:4px;width:100%}.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:a}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:3;-ms-grid-column:1;grid-area:b}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:5;-ms-grid-column:1;grid-area:c}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:7;-ms-grid-column:1;grid-area:d}@media (min-width: 26.25em){.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:1;-ms-grid-column:3}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:3;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:3;-ms-grid-column:3}}@media (min-width: 56.25em){.ugc-form-cta-container .tips-example-card:nth-child(1){-ms-grid-row:1;-ms-grid-column:1}.ugc-form-cta-container .tips-example-card:nth-child(2){-ms-grid-row:1;-ms-grid-column:3}.ugc-form-cta-container .tips-example-card:nth-child(3){-ms-grid-row:1;-ms-grid-column:5}.ugc-form-cta-container .tips-example-card:nth-child(4){-ms-grid-row:1;-ms-grid-column:7}}.ugc-form-cta-container .tips-example-card__label{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:bold;background-color:#e21b52;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;left:-4px;max-width:95%;padding:8px 12px;position:absolute;top:calc(100% - 23px)}@media (min-width: 20em){.ugc-form-cta-container .tips-example-card__label{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.ugc-form-cta-container .tips-example-card__label{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .ugc-form-cta-container .tips-example-card__label{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.ugc-form-cta-container .tips-example-card__label::before{border-bottom:4px solid #871031;border-left:4px solid transparent;content:'';height:0;left:0;position:absolute;top:-4px;width:0}.ugc-form-cta-container .rules{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:16px}.ugc-form-cta-container .rules__text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-left:12px}@media (min-width: 20em){.ugc-form-cta-container .rules__text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.ugc-form-cta-container .rules__text{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .ugc-form-cta-container .rules__text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.ugc-form-cta-container .rules__text a{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:bold}@media (min-width: 20em){.ugc-form-cta-container .rules__text a{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.ugc-form-cta-container .rules__text a{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .ugc-form-cta-container .rules__text a{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.ugc-form-cta-container .rules__information-icon{-ms-flex-negative:0;flex-shrink:0;height:1em;width:1em}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u5618771217142397 */</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.heart-icon{fill:#e63f23} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/3.3.1/icons-childrens"]=true; Morph.styleSrc.push("<style>.heart-icon{fill:#e63f23}\n</style>"); }</script> <!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{left:-9999px;position:absolute;top:-9999px}.comments-no-js-message{background-color:#d31c70;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__more-comments-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#d31c70;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#767676}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#d31c70}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:8px}.comments .comments__footer.comments__footer--no-comments.comments__footer--closed-forum{padding-bottom:0}.comments .comments__footer.comments__footer--closed-forum{padding-bottom:16px}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;border:2px solid #fff;box-shadow:2px 2px 0 0 rgba(0,0,0,0.2);color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;border:2px solid #fff;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;border:2px solid #fff;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total{border-top:1px solid #222;margin-top:16px}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{min-height:62px}.comments .comment{background-color:#fff;border-radius:4px 4px 4px 0;box-shadow:4px 3px 3px -2px rgba(0,0,0,0.2),-3px 3px 3px -2px rgba(0,0,0,0.2),0 -2px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{border-radius:50%;bottom:-3px;box-shadow:-3px 1px 6px 0 rgba(0,0,0,0.4);content:'';height:4px;left:-2px;position:absolute;transform:rotate(-21deg);width:14px}.comments .comment::after{background-repeat:no-repeat;bottom:-7px;content:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyNCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMCwxNy42QzIuNCwxMy43LDQuMSw4LDQuMSwzLjNWMS4zaDEzSDI0djkuOWgtNy42QzEwLjYsMTUuNSw0LjgsMTcuNiwwLDE3LjZ6Ii8+DQo8L3N2Zz4=");height:19px;left:-4px;position:absolute;width:24px}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{box-shadow:3px 1px 6px 0 rgba(0,0,0,0.4);left:auto;right:-2px;transform:rotate(21deg)}.comments .comment--by-current-user::after{left:auto;right:-4px;transform:scaleX(-1)}.comments .comment--notable{background-color:#ededed}.comments .comment--notable::after{content:url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyNCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGZpbGw9IiNlZGVkZWQiIGQ9Ik0wLDE3LjZDMi40LDEzLjcsNC4xLDgsNC4xLDMuM1YxLjNoMTNIMjR2OS45aC03LjZDMTAuNiwxNS41LDQuOCwxNy42LDAsMTcuNnoiLz4NCjwvc3ZnPg==")}.comments .comment__avatar+.comment__username-and-posted-date{padding-left:8px}.comments .comment__header{display:-webkit-flex;display:flex}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#767676}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto}.comments .comment__footer--medium-tap-size{margin-bottom:-6px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0 6px}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#767676}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-bottom:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-username{display:inline-block;font-weight:bold}.comments .comment__product-flag-default,.comments .comment__product-flag-default .comment__distress-message-logo{display:none}.comments .comment__reply-button{position:absolute}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin:12px 0;margin-bottom:16px}@media (min-width: 37.5em){.comments .reply-separator{margin:16px 0;margin-bottom:20px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:6px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{margin-top:10px;padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:8px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:12px 8px}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#d31c70;color:#fff}.comments .reply-to-reply{border-left:0;margin-bottom:6px;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0;word-break:break-word}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;text-align:left}.comments .reply-snippet .reply-snippet__closed{display:-webkit-flex;display:flex;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__closed{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__closed{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--prelink{color:#767676;font-style:italic}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--link .reply-snippet__closed--msg-short{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__opened{background-color:#f5f5f5;cursor:pointer;line-height:24px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:24px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{margin-left:4px;position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .username{font-weight:bold}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-6px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;height:40px;margin:0 8px 8px 0;width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:left}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__distress-message-product-flag{left:-6px;position:absolute;top:8px}.comments-theme-variant--childrens .comment__distress-message-username{background-color:#28215b;color:#fff;height:24px;line-height:24px;padding:0 10px 0 32px}.comments-theme-variant--childrens .comment__distress-message-logo{height:24px;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments-theme-variant--childrens .comment__distress-message-logo::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0;z-index:10}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab;padding:1px 2px 2px 3px}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo::after{border-top-color:#551bab} </style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-comments-view/3.3.1"]=true; Morph.styleSrc.push("<style>.comments-styleguide__section{background-color:#ededed;margin-bottom:32px;padding:16px}.comments-styleguide__section--tabs{margin-bottom:32px;padding:16px}.comments-styleguide__heading{background-color:#fdd92e;margin-left:-16px;margin-right:-16px;padding:16px}.comments-styleguide__heading:first-of-type{margin-top:-16px}.comments-styleguide__heading,.comments-styleguide__subheading{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;font-weight:bold;margin-bottom:16px;margin-top:32px}@media (min-width: 37.5em){.comments-styleguide__heading,.comments-styleguide__subheading{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.no-touch .comments-styleguide__heading,.no-touch .comments-styleguide__subheading{font-size:20px;font-size:1.25rem}}.comments-styleguide .comments__idcta-btn .id5-cta__button{font-size:18px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin{background-color:#006def;background-image:url(\"data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2718%27 height=%2718%27 viewBox=%270 0 32 32%27 fill=%27white%27%3E%3Ctitle%3Esign-in%3C/title%3E%3Cpath d=%27M9.8,17.3A6.2,6.2,0,1,1,16,23.4a6.2,6.2,0,0,1-6.2-6.2M22.2,26l2.4,4.9A16,16,0,1,0,0,17.3,16.3,16.3,0,0,0,7.4,30.9L9.9,26Z%27/%3E%3C/svg%3E%0A\");background-position:8px center;background-repeat:no-repeat;color:#fff;display:inline-block;padding:8px;padding-left:32px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-signin:hover{background-color:#005bc8}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register{padding-bottom:4px}.comments-styleguide .comments__idcta-btn .id5-cta__button .id5-cta__button-register:hover{border-bottom:1px solid #005bc8;color:#005bc8}.comments-styleguide .comments__idcta-msg{display:inline-block;margin-bottom:8px}.comments-styleguide__tooltip{position:relative}.comments-styleguide__white-background{background-color:#fff;border:1px dotted #000;margin-top:4px;padding:16px}.comments .comment__hidden-text{left:-9999px;position:absolute;top:-9999px}.comments-no-js-message{background-color:#d31c70;color:#fff;margin-bottom:16px;margin-left:-16px;margin-right:-16px;padding:16px}.comments-no-js-message a{color:#fff}.comments--no-js .comments__more-comments-button{display:none !important}.comments .alert-icon{fill:#000;padding-right:2px}.comments .to-top-icon{fill:#222}.comments .more-icon-vertical{height:0;padding-bottom:100%;position:relative;width:100%}.comments .more-icon-vertical svg{height:100%;left:0;position:absolute;top:0;width:100%}.comments .loading-spinner{animation:.7s infinite spin linear}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.comments .comments-total{margin-top:16px}.comments .comments-button{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;background-color:#006def;color:#fff;display:inline-block;font-family:inherit;font-weight:500;padding:8px;text-align:center}.comments .comments-button[disabled]{background-color:#dbdbdb;color:#222;font-weight:normal}.comments .comments-button:hover:enabled{background-color:#005bc8}.comments .comments-button--full-width{width:100%}.comments{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;box-sizing:border-box;color:#222}.comments *,.comments::after,.comments::before{box-sizing:inherit}.comments .comments__back-to-top-link{color:#222;font-weight:normal}.comments .comments__back-to-top-link .to-top-icon{margin-left:4px}.comments .comments__back-to-top-link:hover{text-decoration:underline}.comments a{color:#006def;font-weight:bold;text-decoration:none}.comments b{font-weight:bold}.comments em{font-style:italic}.comments .comments__header{background-color:#fff;border-radius:4px;box-shadow:3px 3px 3px -2px rgba(0,0,0,0.2);margin-bottom:24px;padding:16px 8px}@media (min-width: 37.5em){.comments .comments__header{padding:16px}}.comments .comments__header .comments-error-message{background-color:#d31c70;color:#fff}.comments .comments__header .comments__heading-wrapper{margin-bottom:16px}.comments .comments__header .comments__heading-module-title{color:#525252;font-size:1.1em;font-weight:bold;line-height:20px;margin-bottom:8px}.comments .comments__header .comments__heading-title{color:#000;font-size:1.4em;font-weight:bold;padding-right:40px}.comments .comments__header .comments__signin--prompt{font-size:1.1em}.comments .comments__header .comments__idcta-msg{font-size:1.2em}.comments .comments__header .comments__heading-title-text{line-height:1.2em;padding:2px 6px 6px 0}.comments .comments__header .comments__message--user-ineligible{font-size:1.1em;line-height:1.4em;margin-bottom:8px}.comments .comments-moderation__rules-msg{margin-top:8px}.comments .comments-moderation__rules-msg :link,.comments .comments-moderation__rules-msg :visited{color:#000}.comments .comments__signin--prompt{margin-bottom:16px}.comments .comments__message{font-style:italic;margin-bottom:8px}.comments .comments__message--closed-forum{font-style:normal}.comments .comments__input{padding-bottom:8px}.comments .comments__input-area{margin-bottom:16px}@media only screen and (min-width: 480px){.comments .comments__input-area{border:1px solid #5a5a5a;border-radius:2px}}.comments .comments__cancel-link{background-color:transparent;border:0;color:#000;cursor:pointer;font-family:inherit;font-size:1em;font-weight:bold;margin-left:16px}.comments .comments__submit-button{margin-bottom:8px}.comments .comments__display-name{font-weight:bold;overflow-wrap:break-word;word-wrap:break-word}.comments .comments__text-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;background-color:transparent;color:#767676}@media (min-width: 20em){.comments .comments__text-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}@media only screen and (max-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;padding-bottom:8px;padding-right:2px;padding-top:13px}}@media only screen and (min-width: 480px){.comments .comments__text-limit{display:inline-block;float:right;margin-right:18px;margin-top:-24px;position:relative}}.comments .comments__text-limit--over-limit{font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;color:#d31c70}@media (min-width: 20em){.comments .comments__text-limit--over-limit{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comments__text-limit--over-limit{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comments__footer{padding:8px 8px 24px;text-align:center}@media (min-width: 37.5em){.comments .comments__footer{padding:16px 16px 32px}}.comments .comments__footer.comments__footer--no-comments{padding:8px}.comments .comments__footer.comments__footer--no-comments.comments__footer--closed-forum{padding-bottom:0}.comments .comments__footer.comments__footer--closed-forum{padding-bottom:16px}.comments .comments__more-comments-button{margin-bottom:44px}.comments .comments__show-new-comments-container{position:-webkit-sticky;position:sticky;top:-2px;z-index:10}.comments .comments-snc-button{background-color:#fff;border:2px solid #fff;box-shadow:2px 2px 0 0 rgba(0,0,0,0.2);color:#006def}.comments .comments-snc-button[disabled]{color:#006def}.comments .comments-snc-button:hover:enabled{background-color:#006def;border:2px solid #fff;color:#fff}.comments .comments-snc-button:active:enabled{background-color:#005bc8;border:2px solid #fff;color:#fff}.comments .comments-snc-button--full-width{width:100%}.comments .gel-icon--refresh{height:16px;margin-right:8px;margin-top:3px;vertical-align:text-top;width:16px}.comments .comments__comments-total{border-top:1px solid #222;margin-top:16px}.comments .comments__idcta-btn .id4-cta,.comments .comments__idcta-msg .id4-cta{padding:0 !important}.comments .comments__idcta-msg{margin-bottom:16px}.comments .comments__idcta-msg .id5-cta.id4-cta-size-medium{line-height:inherit}.comments .comments-list{margin-top:24px}.comments .comments-list__item{padding-bottom:24px}.comments .comments-list__item--entering-list{opacity:0;transition:opacity 2s}.comments .comments-list__item--entering-list.comments-list__item--entered-list{opacity:1}.comments :not(.comments-list__item--entering-list) ~ .comments-list__item--entering-list{opacity:1;transition:none}.comments .comments-body-anchor{display:block;height:0;position:relative;top:0;visibility:hidden}.comments .comments-input-box{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem;-ms-overflow-y:auto;-webkit-transition:height .5s ease-in-out, min-height .5s ease-in-out;background-color:#fff;color:#222;display:block;font-family:inherit;min-height:1.25em;overflow-y:auto;resize:none;transition:height .5s ease-in-out, min-height .5s ease-in-out;transition-delay:.2s;width:100%}@media only screen and (min-width: 480px){.comments .comments-input-box{border:0;padding-bottom:10px;padding-left:10px;padding-right:85px;padding-top:10px}}@media only screen and (max-width: 480px){.comments .comments-input-box{border:1px solid #5a5a5a;border-radius:2px;padding:8px}}.comments .comments-input-box:focus{min-height:62px}.comments .comment{background-color:#fff;border-radius:4px 4px 4px 0;box-shadow:4px 3px 3px -2px rgba(0,0,0,0.2),-3px 3px 3px -2px rgba(0,0,0,0.2),0 -2px 3px -2px rgba(0,0,0,0.2);padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment{padding:16px}}.comments .comment::before{border-radius:50%;bottom:-3px;box-shadow:-3px 1px 6px 0 rgba(0,0,0,0.4);content:'';height:4px;left:-2px;position:absolute;transform:rotate(-21deg);width:14px}.comments .comment::after{background-repeat:no-repeat;bottom:-7px;content:url(\"data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyNCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMCwxNy42QzIuNCwxMy43LDQuMSw4LDQuMSwzLjNWMS4zaDEzSDI0djkuOWgtNy42QzEwLjYsMTUuNSw0LjgsMTcuNiwwLDE3LjZ6Ii8+DQo8L3N2Zz4=\");height:19px;left:-4px;position:absolute;width:24px}.comments .comment--distress{background-color:#ededed;margin-top:10px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment--has-footer{padding-bottom:16px}.comments .comment--by-current-user{border-radius:4px 4px 0}.comments .comment--by-current-user::before{box-shadow:3px 1px 6px 0 rgba(0,0,0,0.4);left:auto;right:-2px;transform:rotate(21deg)}.comments .comment--by-current-user::after{left:auto;right:-4px;transform:scaleX(-1)}.comments .comment--notable{background-color:#ededed}.comments .comment--notable::after{content:url(\"data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTkiIHZpZXdCb3g9IjAgMCAyNCAxOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGZpbGw9IiNlZGVkZWQiIGQ9Ik0wLDE3LjZDMi40LDEzLjcsNC4xLDgsNC4xLDMuM1YxLjNoMTNIMjR2OS45aC03LjZDMTAuNiwxNS41LDQuOCwxNy42LDAsMTcuNnoiLz4NCjwvc3ZnPg==\")}.comments .comment__avatar+.comment__username-and-posted-date{padding-left:8px}.comments .comment__header{display:-webkit-flex;display:flex}.comments .comment__title{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:block;word-break:break-all;word-wrap:break-word}@media (min-width: 37.5em){.comments .comment__title{line-height:20px;line-height:1.25rem}.no-touch .comments .comment__title{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment__posted-date{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;color:#767676}@media (min-width: 20em){.comments .comment__posted-date{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__posted-date{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__body{margin-top:8px}.comments .comment__footer{margin-top:8px}.comments .comment__toolbar{display:-webkit-flex;display:flex;flex-direction:column-reverse}.comments .comment__toolbar-section{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row}.comments .comment__toolbar-section--right{justify-content:flex-end;margin-left:auto}.comments .comment__footer--medium-tap-size{margin-bottom:-6px}.comments .comment__text{overflow-wrap:break-word;word-wrap:break-word}.comments .comment__text a{font-weight:normal}.comments .comment__text a:hover{text-decoration:underline}.comments .comment__display-name-moderation-warning{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;display:block;font-weight:normal;text-decoration:underline}@media (min-width: 20em){.comments .comment__display-name-moderation-warning{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .comment__display-name-moderation-warning{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .comment__links-toggle{-webkit-appearance:none;background-color:transparent;border:0;border-radius:0;height:32px;margin-right:-8px;padding:0 6px;width:24px;z-index:1}.comments .comment__links-toggle .more-icon-vertical{vertical-align:middle}.comments .comment__links-toggle:hover .more-icon-vertical{fill:#006def}@media (hover: none){.comments .comment__links-toggle:not(.comment__links-toggle--enabled):hover .more-icon-vertical{fill:inherit}}.comments .comment__links-toggle--enabled .more-icon-vertical{fill:#006def}.comments .comment__action-tray{margin-top:8px;text-align:right}@media (min-width: 37.5em){.comments .comment__action-tray{margin-top:16px}}.comments .comment__action-tray .action-links{border-top:1px solid #5a5a5a;padding:12px 0 6px}.comments .comments-error-message{color:#222;font-weight:bold;margin-bottom:16px;padding:16px}.comments .comments-success-message{background-color:#ededed;color:#222;margin-bottom:16px;overflow:hidden;padding:8px}.comments .comments-success-message .comments-success-message-icon{float:left;height:20px;margin:1px 8px 8px 0;width:20px}.comments .comments-success-message .comments-success-message-icon .tick-icon{fill:#008a0b;margin-top:3px}.comments .comments-success-message .comments-success-message-text{margin-top:2px;overflow:hidden}.comments .comment-rating{white-space:nowrap}.comments .comment-rating__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#222;padding:0}.comments .comment-rating__button:disabled .comment-rating__button-icon svg{fill:#767676}.comments .comment-rating__button .comment-rating__button-icon .fill{opacity:0;transition:opacity 300ms}.comments .comment-rating__button .loading-spinner,.comments .comment-rating__button .fill{fill:#2866f6}.comments .comment-rating__button:hover:not(:disabled),.comments .comment-rating__button:focus:not(:disabled){cursor:pointer}.comments .comment-rating__button:hover:not(:disabled) .comment-rating__button-icon .fill,.comments .comment-rating__button:focus:not(:disabled) .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button--number-placement-right{padding-right:4px}.comments .comment-rating__button--number-placement-left{padding-left:4px}@keyframes shrink{from{transform:scale(1.2)}to{transform:scale(1)}}.comments .comment-rating__button--posted:hover:not(:disabled){cursor:default}.comments .comment-rating__button--posted .comment-rating__button-icon{animation:shrink 300ms ease-in-out;transform:scale(1);will-change:transform}.comments .comment-rating__button--posted .comment-rating__button-icon .fill{opacity:1}.comments .comment-rating__button-number{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px !important}@media (min-width: 37.5em){.comments .comment-rating__button-number{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-rating__button-number{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-rating__button-icon{display:inline-block;fill:#222;height:32px;margin:0 4px;position:relative;vertical-align:top;width:16px}.comments .comment-rating__button-icon svg{height:16px;left:0;margin-top:-8px;position:absolute;top:50%;width:16px}@media (min-width: 37.5em){.comments .action-links--forum-links{text-align:right}}.comments .action-links__item{display:block}@media (min-width: 25em){.comments .action-links__item{display:inline-block}}.comments .action-links__item--with-separator{padding-left:16px}.comments .action-links__item--with-separator::before{color:#aeaeae;content:'|';left:-8px;position:relative;top:0}.comments .action-link{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;display:inline-block;line-height:32px}@media (min-width: 37.5em){.comments .action-link{line-height:20px;line-height:1.25rem}.no-touch .comments .action-link{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .action-link:hover{text-decoration:none}.comments .action-link:hover .action-link__text{text-decoration:underline}.comments .action-link .alert-icon{fill:#006def}.comments .action-link__icon{display:inline-block;margin-right:4px}.comments .comments-loading{align-items:stretch;display:-webkit-inline-flex;display:inline-flex;margin-bottom:44px;padding:16px 0}.comments .comments-loading__text{color:#222;font-weight:bold;margin-left:8px}.comments .comments-loading__icon{line-height:10px}.comments .comment-tooltip{display:block;position:absolute;top:16px;width:304px}@media (min-width: 37.5em){.comments .comment-tooltip{width:320px}}.comments .comment-tooltip .alert-icon{fill:#515151;padding-right:4px;vertical-align:middle}.comments .comment-tooltip__pointer{display:inline-block;height:0;left:0;line-height:0;margin-left:5px;margin-top:-2px;pointer-events:none;position:relative;top:0;vertical-align:top;width:24px;z-index:81}.comments .comment-tooltip__pointer::after,.comments .comment-tooltip__pointer::before{border-color:transparent transparent #fff;border-style:solid;border-width:11px;content:'';left:0;position:absolute;top:0}.comments .comment-tooltip__pointer::before{border-color:transparent transparent #a9a9a9;border-width:12px;top:-1px}.comments .comment-tooltip__pointer::after{left:1px;top:2px}.comments .comment-tooltip__inner{background-color:#fff;border:1px solid #a9a9a9;box-shadow:1px 1px 5px rgba(50,50,50,0.1);clear:both;color:#515151;cursor:default;left:0;position:relative;top:0;z-index:80}.comments .comment-tooltip__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:0;padding:16px 32px 16px 16px}@media (min-width: 20em){.comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment-tooltip__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment-tooltip__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment-tooltip__subtitle--alert{padding-bottom:8px}.comments .comment-tooltip__body{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;padding:0 16px 16px 16px}@media (min-width: 37.5em){.comments .comment-tooltip__body{line-height:20px;line-height:1.25rem}.no-touch .comments .comment-tooltip__body{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.comments .comment-tooltip__body .comments__idcta-btn{margin-bottom:0}.comments .comment-tooltip__close{background-color:transparent;border:0;cursor:pointer;margin:0;padding:0;position:absolute;right:0;text-align:center;text-decoration:none;top:0;z-index:81}.comments .comment-tooltip__close:hover,.comments .comment-tooltip__close:active,.comments .comment-tooltip__close:focus{background-color:transparent;line-height:4px;text-decoration:none}.comments .comment-tooltip__close:hover .comment-tooltip__close-icon,.comments .comment-tooltip__close:active .comment-tooltip__close-icon,.comments .comment-tooltip__close:focus .comment-tooltip__close-icon{background-color:#ebebeb}.comments .comment-tooltip__close-icon{display:block;margin:8px;padding:4px}.comments .tooltip-launcher{position:relative}.comments .tooltip-launcher__children{display:inline-block}.comments .comment--distress{background-color:#f5f5f5;margin-top:10px;padding:12px;position:relative}@media (min-width: 37.5em){.comments .comment--distress{padding:16px}}.comments .comment__distress-message-product-flag{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin-bottom:8px}@media (min-width: 20em){.comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width: 37.5em){.comments .comment__distress-message-product-flag{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.no-touch .comments .comment__distress-message-product-flag{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.comments .comment__distress-message-username{display:inline-block;font-weight:bold}.comments .comment__product-flag-default,.comments .comment__product-flag-default .comment__distress-message-logo{display:none}.comments .comment__reply-button{position:absolute}.comments .comments-list__item-reply{padding-bottom:0}.comments .comments-list__item-reply::before{border-top:1px solid #5a5a5a;content:'';display:block;margin:12px;margin-right:0}@media (min-width: 37.5em){.comments .comments-list__item-reply::before{margin-bottom:16px;margin-left:16px;margin-top:16px}}.comments .comments-list__item-reply:first-child::before{display:none}.comments .comment--reply{border:0;box-shadow:none;padding-bottom:0;padding-right:0;padding-top:0}.comments .comment--reply::before,.comments .comment--reply::after{content:none}@media (max-width: 480px){.comments .reply-input{padding-bottom:12px}}@media (max-width: 480px){.comments .reply-input-buttons-wrapper{padding-top:36px}}.comments .reply-separator{border-bottom:1px solid #5a5a5a;margin:12px 0;margin-bottom:16px}@media (min-width: 37.5em){.comments .reply-separator{margin:16px 0;margin-bottom:20px}}.comments .replies-list-reply-open{margin-top:0}.comments .replies{border-left:2px solid #006def}.comments .reply-input-hidden{display:none}.comments .reply{border-left:2px solid #006def;margin-top:6px;padding-left:12px}@media (min-width: 37.5em){.comments .reply{margin-top:10px;padding-left:16px}}.comments .reply .reply__signin{background-color:#f5f5f5;padding:8px}.comments .reply .reply__signin .reply__signin--prompt{padding-bottom:12px;padding-top:4px}.comments .reply .reply__signedin{background-color:#f5f5f5;padding:0 8px}.comments .reply .reply__signedin a{color:#006def;font-weight:normal}.comments .reply .reply__signedin a:hover{text-decoration:underline}.comments .reply .reply__signedin .reply__signedin-ineligible{padding:12px 8px}.comments .reply .reply__signedin .reply__signedin-eligible{padding:12px 8px 0}.comments .reply .reply__signedin .reply__signedin-eligible .reply__signedin-eligible-header{font-weight:bold;padding-bottom:16px;padding-top:6px}.comments .reply .comments-success-message{background-color:transparent;border-top:1px solid #5a5a5a;padding:0;padding-top:16px}.comments .reply .comments-error-message{background-color:#d31c70;color:#fff}.comments .reply-to-reply{border-left:0;margin-bottom:6px;padding-left:0}.comments .reply-button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;line-height:32px;padding:0}.comments .reply-button .reply-button__text{font-weight:bold}.comments .reply-button .reply-button__icon{margin-right:6px;position:relative;top:2px}.comments .reply-button .reply-button__icon .reply-button__icon-gel{height:13px;width:13px}.comments .reply-button:hover,.comments .reply-button:focus{color:#005bc8}.comments .reply-button:hover .reply-button__text,.comments .reply-button:focus .reply-button__text{text-decoration:underline}.comments .reply-snippet{margin:12px 0;word-break:break-word}@media (min-width: 37.5em){.comments .reply-snippet{margin:16px 0}}.comments .reply-snippet .reply-snippet-button{background:none;border:0;font:inherit;text-align:left}.comments .reply-snippet .reply-snippet__closed{display:-webkit-flex;display:flex;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;line-height:18px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__closed{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__closed{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--prelink{color:#767676;font-style:italic}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--link{display:-webkit-flex;display:flex;color:#006def;cursor:pointer;font-weight:bold;padding-left:5px}.comments .reply-snippet .reply-snippet__closed .reply-snippet__closed--link .reply-snippet__closed--msg-short{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comments .reply-snippet .reply-snippet__opened{background-color:#f5f5f5;cursor:pointer;line-height:24px;padding:16px 12px;width:100%}.comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px;font-size:.875rem;line-height:16px;line-height:1rem;font-weight:bold;font-size:15px}@media (min-width: 20em){.comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{line-height:18px;line-height:1.125rem}}@media (min-width: 37.5em){.no-touch .comments .reply-snippet .reply-snippet__opened .reply-snippet__opened--name{font-size:13px;font-size:.8125rem;line-height:16px;line-height:1rem}}.comments .reply-more-replies{border-top:1px solid #5a5a5a;margin-top:24px;padding-top:12px}.comments .reply-more-replies .reply-more-replies__button{-webkit-appearance:none;background:none;border:0;border-radius:0;font-family:inherit;font-size:inherit;color:#006def;cursor:pointer;padding-left:0}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__text{font-weight:bold}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon{margin-left:4px;position:relative;top:1px}.comments .reply-more-replies .reply-more-replies__button .reply-more-replies__icon .reply-more-replies__icon-gel{height:13px;stroke:#006def;stroke-width:1px;width:13px}.comments .reply-more-replies .reply-more-replies__button:hover,.comments .reply-more-replies .reply-more-replies__button:focus{color:#005bc8}.comments .reply-more-replies .reply-more-replies__button:hover .reply-more-replies__text,.comments .reply-more-replies .reply-more-replies__button:focus .reply-more-replies__text{text-decoration:underline}.comments .username{font-weight:bold}.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{left:8px;position:relative}@media (min-width: 25em){.comments-theme-variant--childrens .comments__header .comments__heading-wrapper{margin-bottom:24px}}.comments-theme-variant--childrens .comments__header .comments__heading-module-title{background-color:#d31c70;box-shadow:1px 1px 0 0 rgba(0,0,0,0.5);color:#fff;display:inline-block;font-size:.9em;left:-5px;margin-bottom:0;padding:2px 6px;position:relative;z-index:2}.comments-theme-variant--childrens .comments__header .comments__heading-title{color:#fff;font-weight:800;position:relative;white-space:pre-wrap;z-index:1}.comments-theme-variant--childrens .comments__header .comments__heading-title-text{background-color:#28215b;box-shadow:-6px 0 0 0 #28215b;line-height:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__heading-title-text{font-size:1.2em}}.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.4em}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments__header .comments__idcta-msg{font-size:1.5em}}.comments-theme-variant--childrens .comments__more-comments-button{border-bottom:4px #005b87 solid;border-radius:4px;border-top:0;padding:12px 16px}.comments-theme-variant--childrens .comments__more-comments-button:hover,.comments-theme-variant--childrens .comments__more-comments-button:active{border-bottom-width:2px;margin-top:2px;text-decoration:underline}.comments-theme-variant--childrens .comment{border-radius:8px 8px 8px 0}.comments-theme-variant--childrens .comment--by-current-user{border-radius:8px 8px 0}.comments-theme-variant--childrens .comment-rating__button .loading-spinner,.comments-theme-variant--childrens .comment-rating__button .fill{fill:#e63f23}.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:none;height:40px;margin:0 8px 8px 0;width:40px}@media (min-width: 37.5em){.comments-theme-variant--childrens .comments-success-message .comments-success-message-icon{float:left}}.comments-theme-variant--childrens:not(.comments__product--default) .comment--distress{padding-top:40px}.comments-theme-variant--childrens .comment__distress-message-product-flag{left:-6px;position:absolute;top:8px}.comments-theme-variant--childrens .comment__distress-message-username{background-color:#28215b;color:#fff;height:24px;line-height:24px;padding:0 10px 0 32px}.comments-theme-variant--childrens .comment__distress-message-logo{height:24px;left:0;padding:3px;position:absolute;width:24px;z-index:10}.comments-theme-variant--childrens .comment__distress-message-logo::after{border-left:6px solid transparent;border-top:6px solid;content:'';height:0;left:0;position:absolute;top:24px;width:0;z-index:10}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-username{background-color:#1a3f8c}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo{background-color:#153371}.comments-theme-variant--childrens .comment__product-flag-cbbc .comment__distress-message-logo::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-username{background-color:#ffe514;color:#222}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo{background-color:#f1d911}.comments-theme-variant--childrens .comment__product-flag-cbeebies .comment__distress-message-logo::after{border-top-color:#ccb80d}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-username{background-color:#1a3f8c;color:transparent;min-width:90px;padding:0 0 0 32px}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo{background-color:#153371;padding:0}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo svg{height:100%;left:5px;position:relative}.comments-theme-variant--childrens .comment__product-flag-ownit .comment__distress-message-logo::after{border-top-color:#122b5e}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-username{background-color:#431588;color:#fff}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo{background-color:#551bab;padding:1px 2px 2px 3px}.comments-theme-variant--childrens .comment__product-flag-newsround .comment__distress-message-logo::after{border-top-color:#551bab}\n</style>"); }</script> <script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/4.0.0"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script> <script type="text/javascript">Morph.initStyles(); /* u713738287774027 */</script> <script type="text/javascript" id="js-require-config"> define('local/utils/config', function () { "use strict"; var currentTLD = function () { var hostname = window.location.hostname; if (hostname.indexOf('bbc.com') > -1) { return 'com'; } return 'co.uk'; }(); return { 'appName': 'cbbc', 'env': 'live', 'uasKey': 'ocivkho3fups2', 'uasEnv': 'live', 'uasUrl': '', 'uasDomainSuffix': currentTLD, 'currentTLD': currentTLD, 'comscoreSiteOverride': '', 'comscoreTestServiceUrl': '', 'oneTooltipPerPageEnabled': 'true', 'analyticsReclassificationEnabled': true, 'breakpointConfig': [ { minWidth: 0, name: 'extra-small' }, { minWidth: 400, name: 'small' }, { minWidth: 600, name: 'medium' }, { minWidth: 768, name: 'medium-wide' }, { minWidth: 1008, name: 'wide' }, { minWidth: 1280, name: 'extra-wide' } ] }; }); </script> <script> define('childrens-mandolin', function () { "use strict"; var ROLLING_PERIOD_DAYS = 30; var Mandolin = function (id, segments, opts) { var now = new Date().getTime(), storedItem, DEFAULT_START = now, DEFAULT_RATE = 1, COOKIE_NAME = 'ckpf_childrens_mandolin'; opts = opts || {}; this._id = id; this._segmentSet = segments; this._store = new Mandolin.Storage(COOKIE_NAME); this._opts = opts; this._rate = (opts.rate !== undefined) ? +opts.rate : DEFAULT_RATE; this._startTs = (opts.start !== undefined) ? new Date(opts.start).getTime() : new Date(DEFAULT_START).getTime(); this._endTs = (opts.end !== undefined) ? new Date(opts.end).getTime() : daysFromNow(ROLLING_PERIOD_DAYS); this._signupEndTs = (opts.signupEnd !== undefined) ? new Date(opts.signupEnd).getTime() : this._endTs; this._segment = null; // initially // Check for invalid options if (typeof id !== 'string') { throw new Error('Invalid Argument: id must be defined and be a string'); } if (Object.prototype.toString.call(segments) !== '[object Array]') { throw new Error('Invalid Argument: Segments are required.'); } if (opts.rate !== undefined && (opts.rate < 0 || opts.rate > 1)) { throw new Error('Invalid Argument: Rate must be between 0 and 1.'); } if (this._startTs > this._endTs) { throw new Error('Invalid Argument: end date must occur after start date.'); } if (!(this._startTs < this._signupEndTs && this._signupEndTs <= this._endTs)) { throw new Error('Invalid Argument: SignupEnd must be between start and end date'); } // Clear out expired items from Storage before looking for stashed segment data removeExpired.call(this, now); // Load segment override from cookie and validate segment if set. var overrides = window.bbccookies.get().match(/ckns_mandolin_setSegments=([^;]+)/); if (overrides !== null) { eval('overrides = ' + decodeURIComponent(RegExp.$1) + ';'); if(overrides[this._id] && this._segmentSet.indexOf(overrides[this._id]) == -1){ throw new Error('Invalid Override: overridden segment should exist in segments array'); } } if (overrides !== null && overrides[this._id]){ this._segment = overrides[this._id]; } else if ((storedItem = this._store.getItem(this._id))) { this._segment = storedItem.segment; } else if (this._startTs <= now && now < this._signupEndTs && now <= this._endTs && this._store.isEnabled() === true) { this._segment = pick(segments, this._rate); if (opts.end === undefined) { this._store.setItem(this._id, {segment: this._segment}); } else { this._store.setItem(this._id, {segment: this._segment, end: this._endTs}); } log.call(this, 'mandolin_segment'); } // order matters: do this after the segment has been populated log.call(this, 'mandolin_view'); }; Mandolin.prototype.getSegment = function () { return this._segment; }; function log(actionType, params) { var that = this; require(['istats-1'], function (istats) { istats.log(actionType, that._id + ':' + that._segment, params ? params : {}); }); } function removeExpired(expires) { var items = this._store.getItems(), expiresInt = +expires; for (var key in items) { if (items[key].end !== undefined && +items[key].end < expiresInt) { this._store.removeItem(key); } } } function getLastExpirationDate(data) { var winner = 0, rollingExpire = daysFromNow(ROLLING_PERIOD_DAYS); for (var key in data) { if (data[key].end === undefined && rollingExpire > winner) { winner = rollingExpire; } else if (+data[key].end > winner) { winner = +data[key].end; } } return (winner) ? new Date(winner) : new Date(rollingExpire) ; } Mandolin.prototype.log = function (params) { log.call(this, 'mandolin_log', params); }; Mandolin.prototype.convert = function (params) { log.call(this, 'mandolin_convert', params); this.convert = function () {}; }; function daysFromNow(n) { var endDate; endDate = new Date().getTime() + (n * 60 * 60 * 24) * 1000; return endDate; } function pick(segments, rate) { var picked, min = 0, max = segments.length - 1; if (typeof rate === 'number' && Math.random() > rate) { return null; } do { picked = Math.floor(Math.random() * (max - min + 1)) + min; } while (picked > max); return segments[picked]; } Mandolin.Storage = function (name) { validateCookieName(name); this._cookieName = name; this._isEnabled = (bbccookies.isAllowed(this._cookieName) === true && bbccookies.cookiesEnabled() === true); }; Mandolin.Storage.prototype.setItem = function (key, value) { var storeData = this.getItems(); storeData[key] = value; this.save(storeData); return value; }; Mandolin.Storage.prototype.isEnabled = function () { return this._isEnabled; }; Mandolin.Storage.prototype.getItem = function (key) { var storeData = this.getItems(); return storeData[key]; }; Mandolin.Storage.prototype.removeItem = function (key) { var storeData = this.getItems(); delete storeData[key]; this.save(storeData); }; Mandolin.Storage.prototype.getItems = function () { return deserialise(this.readCookie(this._cookieName) || ''); }; Mandolin.Storage.prototype.save = function (data) { //TODO: Is this mixing concerns to have Storage aware of item expiry? window.bbccookies.set( this._cookieName + '=' + encodeURIComponent(serialise(data)) + '; ' + 'path=/;' + 'expires=' + getLastExpirationDate(data).toUTCString() + ';' ); }; Mandolin.Storage.prototype.readCookie = function (name) { var nameEq = name + '=', ca = window.bbccookies.get().split('; '), i, c; validateCookieName(name); for (i = 0; i < ca.length; i++) { c = ca[i]; if (c.indexOf(nameEq) === 0) { return decodeURIComponent(c.substring(nameEq.length, c.length)); } } return null; }; function serialise(o) { var str = ''; for (var p in o) { if (o.hasOwnProperty(p)) { str += '"' + p + '"' + ':' + (typeof o[p] === 'object' ? (o[p] === null? 'null' : '{' + serialise(o[p])+ '}') : '"' + o[p].toString() + '"') + ','; } } return str.replace(/,\}/g, '}').replace(/,$/g, ''); } function deserialise(str) { var o; str = '{' + str + '}'; if ( !validateSerialisation(str) ) { throw 'Invalid input provided for deserialisation.'; } eval('o = ' + str); return o; } var validateSerialisation = (function () { var OBJECT_TOKEN = '<Object>', ESCAPED_CHAR = '"\\n\\r\\u2028\\u2029\\u000A\\u000D\\u005C', ALLOWED_CHAR = '([^' + ESCAPED_CHAR + ']|\\\\[' + ESCAPED_CHAR + '])', KEY = '"' + ALLOWED_CHAR + '+"', VALUE = '(null|"' + ALLOWED_CHAR + '*"|' + OBJECT_TOKEN + ')', KEY_VALUE = KEY + ':' + VALUE, KEY_VALUE_SEQUENCE = '(' + KEY_VALUE + ',)*' + KEY_VALUE, OBJECT_LITERAL = '({}|{' + KEY_VALUE_SEQUENCE + '})', objectPattern = new RegExp(OBJECT_LITERAL, 'g'); return function(str) { if (str.indexOf(OBJECT_TOKEN) !== -1) return false; while (str.match(objectPattern)) { str = str.replace(objectPattern, OBJECT_TOKEN); } return str === OBJECT_TOKEN; } })(); function validateCookieName(name) { if ( name.match(/ ,;/) ) { throw 'Illegal name provided, must be valid in browser cookie.'; } } return Mandolin; }); </script> <script type="text/javascript" id="js-require-setup"> require({ paths: { 'childrens': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts', 'cbeebies': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/cbeebies', 'cbbc': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/cbbc', 'jquery': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/jquery', 'jquery-1': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/jquery/jquery', 'jquery-1.9': 'https://web.archive.org/web/20190701112059/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1', 'lib': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries', 'bump-3': 'https://web.archive.org/web/20190701112059/https://emp.bbci.co.uk/emp/bump-3/bump-3', 'bump-4': 'https://web.archive.org/web/20190701112059/https://emp.bbci.co.uk/emp/bump-4/bump-4', 'embed': 'https://web.archive.org/web/20190701112059/https://play.bbc.co.uk/play/sdk/embed/v1/latest', 'lib/Imager': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/Imager.min', 'TweenMax': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/gsap/TweenMax.min', 'TimelineMax': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/gsap/TweenMax.min', 'echo-11.2.2': 'https://web.archive.org/web/20190701112059/https://mybbc-analytics.files.bbci.co.uk/echo-client-js/echo-11.2.2.min', 'lib/riddle': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/riddle/embed-3.23.min', 'lib/minpubsub': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/minpubsub.min', 'uasclient': 'https://web.archive.org/web/20190701112059/https://static.bbci.co.uk/uasclient/0.1.40/modules/uasclient', 'activity-button': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/activity-button', 'activity-button/activity-button': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/personalisation/personalisation.min', 'reads': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/reads', 'reads/reads': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/personalisation/personalisation.min', 'reads-carousel': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/reads-carousel', 'reads-carousel/reads-carousel': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/personalisation/personalisation.min', 'angular': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/angular', 'angular/app': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/angular/app.min', 'stats': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/stats', 'stats/riddle-events': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/stats/riddle-events.min', 'stats/stats': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/stats/stats.min', 'confetti': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/confetti', 'confetti/confetti': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/confetti/confetti.min', 'follows-panel': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/follows-panel', 'follows-panel/childrens-follows-panel': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/personalisation/personalisation.min', 'personalisation': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/personalisation', 'domReady': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/libraries/require/domReady.min', 'relay-1': 'https://web.archive.org/web/20190701112059/https://static.bbci.co.uk/frameworks/relay/0.2.6/sharedmodules/relay-1', 'jssignals-1': 'https://web.archive.org/web/20190701112059/https://static.bbci.co.uk/frameworks/jssignals/0.3.6/modules/jssignals-1', 'vote-wrapper': 'https://web.archive.org/web/20190701112059/https://account-wrapper.files.bbci.co.uk/vote-wrapper.min', 'event-stream': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/event-stream/event-stream.min', 'riddle/auto-scroll': 'https://web.archive.org/web/20190701112059/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/javascripts/riddle/auto-scroll.min' }, shim: { 'angular/angular': { exports: 'angular' }, 'TweenMax': { exports: 'TweenMax' }, 'TimelineMax': { exports: 'TimelineMax' } } }); require({ map: { '*': { 'idcta/idcta-1': 'idcta-v2/idcta-1' } } }); requirejs.onError = function (err) { // if a version of echojs fails to load (i.e. blocked for privacy reasons) // replace our echo_client with a dummy implementation so existing code // continues to work as expected function isEchoJsLibrary(moduleName) { return moduleName.indexOf('echo-') === 0; } if ( err.requireType === 'scripterror' && err.requireModules && err.requireModules.find(isEchoJsLibrary) ) { requirejs.undef('stats/echo_client'); define('stats/echo_client', [], function () { return { countername : function() {}, viewEvent : function() {}, userActionEvent : function() {} } }); // re-evaluate all dependencies on echo_client which will pick up the dummy version requirejs(['stats/echo_client'], function () {}); } }; require(['local/utils/config'], function (config) { }); require(["istats-1"], function (istats) { if (istats.setSite !== undefined) { istats.setSite('cbbc'); } istats.addLabels({ "page_type" : "content", "children_curation" : "none", "children_show" : "cbbc", "children_index" : "games", "children_topic" : "none", "children_collection" : "none", "children_oj_campaign" : "none", "children_primary_content" : "gid-gg2q4q2c2v", "children_game_cms" : "isite", "children_comments" : "true", "children_uploader" : "true" }); }); </script> <script> require(['childrens-mandolin'], function (Mandolin) { //cleanup collection-position test var storage = new Mandolin.Storage('ckpf_childrens_mandolin'); var experimentName = 'childrens_collection_position'; if (storage.getItem(experimentName)) { storage.removeItem(experimentName); } }); </script> <script type="text/javascript"> define('local/utils/experiments', ['childrens-mandolin'], function (Mandolin) { "use strict"; function setupMandolin(experiment, variants, config) { var mandolin = new Mandolin(experiment, variants, config); return mandolin.getSegment(); } function addClasses(wrapper, experiment, variant) { var experimentPrefix = " experiment-"; var experimentClass = experimentPrefix + experiment; wrapper.className += experimentClass + experimentClass + "--" + variant; } function addAttribute(wrapper, experiment, variant) { if (!wrapper.hasAttribute("data-active-experiment")) { var att = document.createAttribute("data-active-experiment"); att.value = experiment + ":" + variant; wrapper.setAttributeNode(att); } } return { setup: function(experiment, variants, config) { var variant = setupMandolin(experiment, variants, config); var wrapper = document.querySelector(".childrens-wrapper"); if (variant) { addClasses(wrapper, experiment, variant); } addAttribute(wrapper, experiment, variant); return variant; } } }); </script> </head> <body class="b-pw-1280"> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20190701112059im_/https://a1.api.bbc.co.uk/hit.xiti?&amp;col=1&amp;from=p&amp;ptag=js&amp;s=598253&amp;p=games::unknown&amp;x1=[urn:bbc:isite2:9d26ba0e-6dce-440d-9570-834cacdbd612]&amp;x2=[responsive]&amp;x3=[bbc_website]&amp;x4=[en]&amp;x7=[article]&amp;x8=[reverb-0.9.1-nojs]&amp;x10=[cbbc]&amp;x11=[cbbc]" height="1" width="1" alt=""></p></noscript> <!-- BBCDOTCOM bodyFirst --><div id="bbccom_interstitial_ad" class="bbccom_display_none"></div><div id="bbccom_interstitial" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { googletag.cmd.push(function() { googletag.display('bbccom_interstitial'); }); } }()); /*]]>*/</script></div><div id="bbccom_wallpaper_ad" class="bbccom_display_none"></div><div id="bbccom_wallpaper" class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ (function() { var wallpaper; if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { if (bbcdotcom.config.isAsync()) { googletag.cmd.push(function() { googletag.display('bbccom_wallpaper'); }); } else if (typeof googletag !== "undefined" && typeof googletag.display === "function") { googletag.display("wallpaper"); } wallpaper = bbcdotcom.adverts.adRegister.getAd('wallpaper'); } }()); /*]]>*/</script></div><script type="text/javascript">/*<![CDATA[*/ (function() { if (window.bbcdotcom && bbcdotcom.config.isActive('ads')) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isActive('analytics')) { document.write(unescape('%3Cscript id="gnlAnalyticsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } }()); /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyFirst = true; }()); /*]]>*/</script> <div id="cookiePrompt"></div> <!--[if (gt IE 8) | (IEMobile)]><!--><header id="orb-banner" role="banner" aria-label="BBC"><!--<![endif]--><!--[if (lt IE 9) & (!IEMobile)]> <![if (IE 8)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie8" aria-label="BBC"> <![endif]> <![if (IE 7)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie7" aria-label="BBC"> <![endif]> <![if (IE 6)]> <header id="orb-banner" role="banner" class="orb-old-ie orb-ie6" aria-label="BBC"> <![endif]> <![endif]--><div id="orb-header" class="orb-nav-pri orb-nav-pri-white orb-nav-empty" dir="ltr"><div class="orb-nav-pri-container b-r b-g-p"><div class="orb-nav-section orb-nav-blocks"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#main-content">Skip to content</a></li><li><a id="orb-accessibility-help" href="/web/20190701112059/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"><div id="idcta-statusbar" class="orb-nav-section orb-nav-focus"><a id="idcta-link" href="https://web.archive.org/web/20190701112059/https://account.bbc.com/account?context=cbbc&amp;ptrt=https://www.bbc.co.uk/cbbc/games/cbbc-picture-maker"><span id="idcta-username">BBC Account</span></a></div><script type="text/javascript">require(['idcta/statusbar'], function (statusbar) {new statusbar.Statusbar({id: 'idcta-statusbar', publiclyCacheable: true});});</script></div><nav role="navigation" aria-label="BBC" class="orb-nav"><div class="orb-nav-section orb-nav-links orb-nav-focus" id="orb-nav-links"><ul><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.com/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/iplayer/guide/cbbc">CBBC on TV</a></li><li class="orb-nav-cbbchelp orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbbc/curations/cbbc-help">CBBC Help</a></li><li id="orb-nav-more" style="width: 88px" aria-controls="orb-panel-more"><a href="#orb-footer" data-alt="More" class="istats-notrack">Menu<span class="orb-icon orb-icon-arrow"></span></a></li></ul></div></nav><div class="orb-nav-section orb-nav-search"><a class="orb-search__button" href="https://web.archive.org/web/20190701112059/https://search.bbc.co.uk/search?scope=cbbc" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20190701112059/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="cbbc"><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" name="q" placeholder="Search"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form></div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="unsupported-browser-banner-wrapper"> <!--[if lt IE 10]> <div class="unsupported-browser-banner" role="complementary"> <div class="unsupported-browser-banner__window"> <div class="grid__container"> <div class="grid__item"> <img class="unsupported-browser-banner__icon" aria-hidden="true" alt="" src="https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/images/icons/ie-caution-icon.png"/> <span class="unsupported-browser-banner__text">To get the best experience from CBBC, you need to upgrade your browser to the latest version.</span> </div> </div> </div> </div> <![endif]--> </div> <script> // Show unsupported browser banner for IE10 (function () { if (/*@cc_on!@*/false && document.documentMode === 10) { var bannerWrapper = document.getElementById('unsupported-browser-banner-wrapper'); var currentNode = bannerWrapper.firstChild; var startTagLength = '<!--[if lt IE 10]>'.length; var endTagLength = '<![endif]-->'.length; // Retrieve comment node inside the bannerWrapper; first child is whitespace while (currentNode) { if (currentNode.nodeType === bannerWrapper.COMMENT_NODE) { // Remove the IE tag comments and insert HTML into bannerWrapper bannerWrapper.innerHTML = currentNode.nodeValue.trim().slice(startTagLength, -endTagLength); } currentNode = currentNode.nextSibling; } } })(); </script> <div class="childrens-wrapper childrens-wrapper--cbbc childrens-wrapper--content-item childrens-wrapper--games childrens-wrapper--background feature-flag feature-flag--search-bar feature-flag--new-vote-styling feature-flag--episode-prominence-on-brand-pages feature-flag--reactions feature-flag--reith-font" data-stats-page-type="content" data-stats-children-curation="none" data-stats-children-show="cbbc" data-stats-children-index="games" data-stats-children-topic="none" data-stats-children-collection="none" data-stats-children-oj-campaign="none" data-stats-children-page-intention="false" data-stats-children-primary-content="gid-gg2q4q2c2v" data-stats-children-game-cms="isite" data-stats-children-comments="true" data-stats-children-uploader="true"> <script> require(['jquery-1', 'stats/stats', 'domReady!'], function ($, stats, domReady) { stats.init($('.childrens-wrapper'), window.location.pathname); }); </script> <span class="childrens-wrapper__cover"></span> <div class="menu-container "> <div class="menu-placeholder"></div> <nav id="menu" role="navigation" class="menu menu--closed"> <div class="menu__window window window--extra-wide "> <div class="menu__bar"> <a class="menu__product" href="/web/20190701112059/https://www.bbc.co.uk/cbbc" data-stats-interaction="navigation" data-stats-interaction-variant="home_logo"> <svg version="1.1" id="small-menu-logo" class="logo logo--cbbc logo--animated menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="xMaxYMin meet"> <defs> <clippath id="small-menu-logo-outer-logo-path"> <ellipse cx="31.5" cy="30" rx="30.5" ry="30"></ellipse> </clippath> </defs> <g style="clip-path: url(/web/20190701112059im_/https://www.bbc.co.uk/cbbc/games/cbbc-picture-maker#small-menu-logo-outer-logo-path);"> <path class="logo__part logo__part--pink" fill="#FF2C9F" d="M18.2,2.9v13.6v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--raspberry" fill="#D41C6F" d="M21.5,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0-0.1,0-0.1,0v0.4v23.6v15c3.9,1.8,8.1,2.9,12.6,2.9 V47.7V29.4C30.3,24.2,26.5,19.8,21.5,18.5"></path> <path class="logo__part logo__part--blue" fill="#008AAA" d="M32.6,0v40.9v1.1v0.4c0,0,0,0,0,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V3.4C41.4,1.4,37.1,0.2,32.6,0"></path> <path class="logo__part logo__part--turquoise" fill="#00D2A9" d="M35.9,42.9c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4v-2.7 C44.6,48.6,40.9,44.3,35.9,42.9"></path> <path class="logo__part logo__part--green" fill="#9FE600" d="M16.4,17.9V3.9C7.3,9.2,1.2,18.9,1.2,29.9S7.3,50.7,16.4,56v-14c-2.8-3.3-4.3-7.5-4.3-12.1 S13.7,21.2,16.4,17.9"></path> <path class="logo__part logo__part--pink-replacement" fill="#FF2C9F" d="M18.2,2.9v38v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--turquoise-replacement" fill="#00D2A9" d="M35.9,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4V29.4 C44.6,24.2,40.9,19.8,35.9,18.5"></path> <path class="logo__part logo__part--orange" fill="#F76C06" d="M58.8,17.2C58.8,17.2,58.8,17.2,58.8,17.2C58.2,16.1,57.6,15,57,14 c-2.4-3.9-5.7-7.2-9.6-9.6v19.3C52.2,23.6,56.4,21.1,58.8,17.2"></path> <path class="logo__part logo__part--dark-orange" fill="#F63400" d="M47.3,36.3v19.3c3.9-2.4,7.2-5.7,9.6-9.6c0.3-0.5,0.6-1.1,0.9-1.6c0.3-0.5,0.6-1.1,0.8-1.7 l0,0C56.4,38.8,52.2,36.3,47.3,36.3"></path> </g> </svg> <script> require(['jquery-1', 'modernizr', 'childrens/logo/animated-cbbc-logo'], function ($, Modernizr, logoAnimation) { var shouldAnimateLogo = Modernizr.svg && Modernizr.cssanimations; if (shouldAnimateLogo) { var logo = logoAnimation({id: '#small-menu-logo'}); $(document).ready(function () { setTimeout(logo.play, 800); }); } }); </script> Home </a> <button id="menu-toggle" class="menu__toggle" data-stats-interaction="navigation" data-stats-interaction-action="button" data-stats-interaction-variant="open"> <span id="menu-toggle-title" class="menu__toggle-title">Menu</span> <i aria-hidden="true" class="menu__toggle-icon"></i> </button> </div> <div class="menu__contents"> <div class="menu__list"> <ul class="menu__list-inner"> <li class="menu__item menu__item--home"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc" data-stats-interaction="navigation" data-stats-interaction-variant="home" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;home::1&quot;}" data-bbc-title="Home" data-bbc-source="cbbc"> <span class="menu__link-icon"> <svg version="1.1" id="large-menu-logo" class="logo logo--cbbc logo--animated menu__logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewbox="0 0 60 60" enable-background="new 0 0 60 60" xml:space="preserve" preserveaspectratio="xMaxYMin meet"> <defs> <clippath id="large-menu-logo-outer-logo-path"> <ellipse cx="31.5" cy="30" rx="30.5" ry="30"></ellipse> </clippath> </defs> <g style="clip-path: url(/web/20190701112059im_/https://www.bbc.co.uk/cbbc/games/cbbc-picture-maker#large-menu-logo-outer-logo-path);"> <path class="logo__part logo__part--pink" fill="#FF2C9F" d="M18.2,2.9v13.6v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--raspberry" fill="#D41C6F" d="M21.5,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0-0.1,0-0.1,0v0.4v23.6v15c3.9,1.8,8.1,2.9,12.6,2.9 V47.7V29.4C30.3,24.2,26.5,19.8,21.5,18.5"></path> <path class="logo__part logo__part--blue" fill="#008AAA" d="M32.6,0v40.9v1.1v0.4c0,0,0,0,0,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V3.4C41.4,1.4,37.1,0.2,32.6,0"></path> <path class="logo__part logo__part--turquoise" fill="#00D2A9" d="M35.9,42.9c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4v-2.7 C44.6,48.6,40.9,44.3,35.9,42.9"></path> <path class="logo__part logo__part--green" fill="#9FE600" d="M16.4,17.9V3.9C7.3,9.2,1.2,18.9,1.2,29.9S7.3,50.7,16.4,56v-14c-2.8-3.3-4.3-7.5-4.3-12.1 S13.7,21.2,16.4,17.9"></path> <path class="logo__part logo__part--pink-replacement" fill="#FF2C9F" d="M18.2,2.9v38v1.1v0.4c0,0,0,0,0.1,0c1.1,0,2.2-0.1,3.3-0.4c3.6-0.9,6.5-3.4,8.1-6.7 c0.6-1.3,1.1-2.8,1.2-4.3V0C26.3,0.1,22.1,1.1,18.2,2.9"></path> <path class="logo__part logo__part--turquoise-replacement" fill="#00D2A9" d="M35.9,18.5c-1-0.3-2.2-0.4-3.3-0.4c0,0,0,0,0,0v0.4v2.9V60c4.5-0.2,8.7-1.4,12.6-3.4V29.4 C44.6,24.2,40.9,19.8,35.9,18.5"></path> <path class="logo__part logo__part--orange" fill="#F76C06" d="M58.8,17.2C58.8,17.2,58.8,17.2,58.8,17.2C58.2,16.1,57.6,15,57,14 c-2.4-3.9-5.7-7.2-9.6-9.6v19.3C52.2,23.6,56.4,21.1,58.8,17.2"></path> <path class="logo__part logo__part--dark-orange" fill="#F63400" d="M47.3,36.3v19.3c3.9-2.4,7.2-5.7,9.6-9.6c0.3-0.5,0.6-1.1,0.9-1.6c0.3-0.5,0.6-1.1,0.8-1.7 l0,0C56.4,38.8,52.2,36.3,47.3,36.3"></path> </g> </svg> <script> require(['jquery-1', 'modernizr', 'childrens/logo/animated-cbbc-logo'], function ($, Modernizr, logoAnimation) { var shouldAnimateLogo = Modernizr.svg && Modernizr.cssanimations; if (shouldAnimateLogo) { var logo = logoAnimation({id: '#large-menu-logo'}); $(document).ready(function () { setTimeout(logo.play, 800); }); } }); </script> </span><span class="menu__link-label">Home</span> </a> </li><!-- --><li class="menu__item menu__item--shows"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows" data-stats-interaction="navigation" data-stats-interaction-variant="shows" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;shows::2&quot;}" data-bbc-title="Shows" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Shows</span> </a> </li><li class="menu__item menu__item--games menu__item--current"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/games" data-stats-interaction="navigation" data-stats-interaction-variant="games" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;games::3&quot;}" data-bbc-title="Games" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Games</span> </a> </li><li class="menu__item menu__item--quizzes"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/quizzes" data-stats-interaction="navigation" data-stats-interaction-variant="quizzes" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;quizzes::4&quot;}" data-bbc-title="Quizzes" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Quizzes</span> </a> </li><li class="menu__item menu__item--watch"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/watch" data-stats-interaction="navigation" data-stats-interaction-variant="watch" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;watch::5&quot;}" data-bbc-title="Watch" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Watch</span> </a> </li><li class="menu__item menu__item--joinin"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/joinin" data-stats-interaction="navigation" data-stats-interaction-variant="joinin" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;joinin::6&quot;}" data-bbc-title="Join In" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Join In</span> </a> </li><li class="menu__item menu__item--topics"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/topics" data-stats-interaction="navigation" data-stats-interaction-variant="topics" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;topics::7&quot;}" data-bbc-title="Topics" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Topics</span> </a> </li><li class="menu__item menu__item--newsround"> <a class="menu__link" href="/web/20190701112059/https://www.bbc.co.uk/newsround" data-stats-interaction="navigation" data-stats-interaction-variant="newsround" data-bbc-container="Navigation" data-bbc-metadata="{&quot;PAR&quot;:&quot;navigation&quot;,&quot;CHD&quot;:&quot;newsround::8&quot;}" data-bbc-title="Newsround" data-bbc-source="cbbc"> <span class="menu__link-icon"></span><span class="menu__link-label">Newsround</span> </a> </li> </ul> <div class="menu__search-bar menu__search-bar--open"> <form id="search-bar-in-menu" class="search-bar" role="search" action="//web.archive.org/web/20190701112059/https://search.bbc.co.uk/search" method="get" accept-charset="utf-8"> <label for="search-bar-input-in-menu" class="search-bar__label vh">Start your search here...</label> <input type="hidden" name="scope" value="cbbc"> <div class="search-bar__input-area"> <input id="search-bar-input-in-menu" class="search-bar__input" type="text" name="q" placeholder="Start your search here..."> <button class="search-bar__clear" aria-label="Clear Search" type="button" data-stats-interaction="search_bar" data-stats-interaction-variant="clear" data-stats-interaction-action="button"> <i class="search-bar__clear-icon gelicon gelicon--no" aria-hidden="true"></i> </button> </div> <button aria-label="Search" class="search-bar__button"> <div class="search-bar__button-inner"> <span class="search-bar__button-image"></span> </div> </button> </form> <script> require(['jquery-1', 'local/utils/config'], function ($, config) { function clearSearchOnClick() { var $searchBar = $('#search-bar-in-menu'); var $searchInput = $('#search-bar-input-in-menu'); var $clearButton = $searchBar.find('.search-bar__clear'); $clearButton.on('click', function () { $searchInput.val("").focus(); $clearButton.hide(); }); function hideOrShowClearButton() { var isEmpty = $searchInput.val() === ""; isEmpty ? $clearButton.hide() : $clearButton.show(); } hideOrShowClearButton(); $searchInput.on('keyup keypress blur change', hideOrShowClearButton); } function setNextPageIstatsLabelsOnFormSubmit() { var $searchForm = $('#search-bar-in-menu'); function canSetPerformanceCookies() { return config.analyticsReclassificationEnabled || (window.bbccookies && window.bbccookies.cookiesEnabled() && window.bbccookies.readPolicy('performance')); } function setNextPageIstatsCookie(labels, domain) { var encodedLabels = $.map(labels, function(value, key) { return encodeURIComponent(key) + '=' + encodeURIComponent(value); }); var encodedLabelString = encodeURIComponent(encodedLabels.join('&')); document.cookie = 'sa_labels=' + encodedLabelString + '; domain=' + domain + '; path=/'; } var $searchButton = $searchForm.find('.search-bar__button'); function searchButtonIsActive() { return document.activeElement === $searchButton[0]; } $searchForm.submit(function () { if (canSetPerformanceCookies()) { var pageType = $(this).closest('[data-stats-page-type]').attr('data-stats-page-type'); var submitType = searchButtonIsActive() ? 'button' : 'submit'; var labels = { 'intlink_from_url': window.location.href, 'intlink_ts': new Date().getTime(), 'intlink_id': 'childrens-local-search-' + submitType, 'link_location': 'childrens-local-search-' + pageType }; setNextPageIstatsCookie(labels, "bbc." + config.currentTLD); } }); } clearSearchOnClick(); setNextPageIstatsLabelsOnFormSubmit(); }); </script> </div> <div class="menu__close-on-focus" tabindex="0"></div> </div> </div> </div> </nav> <div class="menu__search-bar menu__search-bar--below-menu"> <form id="search-bar-below-menu" class="search-bar" role="search" action="//web.archive.org/web/20190701112059/https://search.bbc.co.uk/search" method="get" accept-charset="utf-8"> <label for="search-bar-input-below-menu" class="search-bar__label vh">Start your search here...</label> <input type="hidden" name="scope" value="cbbc"> <div class="search-bar__input-area"> <input id="search-bar-input-below-menu" class="search-bar__input" type="text" name="q" placeholder="Start your search here..."> <button class="search-bar__clear" aria-label="Clear Search" type="button" data-stats-interaction="search_bar" data-stats-interaction-variant="clear" data-stats-interaction-action="button"> <i class="search-bar__clear-icon gelicon gelicon--no" aria-hidden="true"></i> </button> </div> <button aria-label="Search" class="search-bar__button"> <div class="search-bar__button-inner"> <span class="search-bar__button-image"></span> </div> </button> </form> <script> require(['jquery-1', 'local/utils/config'], function ($, config) { function clearSearchOnClick() { var $searchBar = $('#search-bar-below-menu'); var $searchInput = $('#search-bar-input-below-menu'); var $clearButton = $searchBar.find('.search-bar__clear'); $clearButton.on('click', function () { $searchInput.val("").focus(); $clearButton.hide(); }); function hideOrShowClearButton() { var isEmpty = $searchInput.val() === ""; isEmpty ? $clearButton.hide() : $clearButton.show(); } hideOrShowClearButton(); $searchInput.on('keyup keypress blur change', hideOrShowClearButton); } function setNextPageIstatsLabelsOnFormSubmit() { var $searchForm = $('#search-bar-below-menu'); function canSetPerformanceCookies() { return config.analyticsReclassificationEnabled || (window.bbccookies && window.bbccookies.cookiesEnabled() && window.bbccookies.readPolicy('performance')); } function setNextPageIstatsCookie(labels, domain) { var encodedLabels = $.map(labels, function(value, key) { return encodeURIComponent(key) + '=' + encodeURIComponent(value); }); var encodedLabelString = encodeURIComponent(encodedLabels.join('&')); document.cookie = 'sa_labels=' + encodedLabelString + '; domain=' + domain + '; path=/'; } var $searchButton = $searchForm.find('.search-bar__button'); function searchButtonIsActive() { return document.activeElement === $searchButton[0]; } $searchForm.submit(function () { if (canSetPerformanceCookies()) { var pageType = $(this).closest('[data-stats-page-type]').attr('data-stats-page-type'); var submitType = searchButtonIsActive() ? 'button' : 'submit'; var labels = { 'intlink_from_url': window.location.href, 'intlink_ts': new Date().getTime(), 'intlink_id': 'childrens-local-search-' + submitType, 'link_location': 'childrens-local-search-' + pageType }; setNextPageIstatsCookie(labels, "bbc." + config.currentTLD); } }); } clearSearchOnClick(); setNextPageIstatsLabelsOnFormSubmit(); }); </script> </div> </div> <script> (function () { 'use strict'; var button = document.getElementById('menu-toggle'); var buttonTitle = document.getElementById('menu-toggle-title'); var menu = document.getElementById('menu'); var menuOverlay = document.querySelector('.menu__contents'); var menuOpen = false; function addEvent(name, el, fn) { if (el.addEventListener) el.addEventListener(name, fn, false); else if (el.attachEvent) el.attachEvent('on' + name, fn); } function removeClass(el, name) { el.className = el.className.replace(new RegExp('(?:^|\\s)' + name + '(?!\\S)'), ''); } function setText(el, text) { if (el.textContent) { el.textContent = text; } else { el.innerText = text; } } function toggleMenuOpenAndClose(e) { e.preventDefault(); menuOpen = !menuOpen; if (menuOpen) { removeClass(menu, 'menu--closed'); menu.className += ' menu--open'; setText(buttonTitle, 'Close'); setTimeout(function () { button.setAttribute('data-stats-interaction-variant', 'close'); }, 10); } else { removeClass(menu, 'menu--open'); menu.className += ' menu--closed'; setText(buttonTitle, 'Menu'); setTimeout(function () { button.setAttribute('data-stats-interaction-variant', 'open'); }, 10); } } function findElements(selector) { var elements = document.querySelectorAll(selector); return Array.prototype.slice.call(elements); } var searchBars = findElements('.search-bar__input'); function searchInputCopyText(e) { var text = e.target.value; searchBars.forEach(function(searchBar) { searchBar.value = text; if ("createEvent" in document) { var evt = document.createEvent("HTMLEvents"); evt.initEvent("change", false, true); searchBar.dispatchEvent(evt); } }) } addEvent('click', button, toggleMenuOpenAndClose); if (menuOverlay) { addEvent('click', menuOverlay, function (e) { var clickedOnEmptySpace = e.target === menuOverlay; if (clickedOnEmptySpace) { toggleMenuOpenAndClose(e); } }); } var hiddenElementAfterSearchInMenu = document.querySelector('.menu__close-on-focus'); addEvent('focus', hiddenElementAfterSearchInMenu, function (e) { var menuToggle = document.querySelector('.menu__toggle'); toggleMenuOpenAndClose(e); menuToggle.focus(); }); searchBars.forEach(function(searchBar) { addEvent('blur', searchBar, searchInputCopyText); }); })(); </script> <script> (function () { var menu = document.getElementById('menu'); var childrensWrapper = document.querySelector('.childrens-wrapper'); var anchorOffsetClass = 'childrens-wrapper--anchor-offset'; function currentVerticalScroll() { return document.documentElement.scrollTop || document.body.scrollTop; } function setupMenuStickyness() { var stuckClass = 'menu--stuck'; function stickingPoint() { return childrensWrapper.offsetTop; } function hasScrolledPastStickingPoint() { return currentVerticalScroll() >= stickingPoint(); } function calculateMainContentHeight() { var viewportWidth = document.documentElement.clientWidth; var mediumBreakpoint = 600; var maxContentHeight = 468; var contentHeight; if (viewportWidth < mediumBreakpoint) { contentHeight = Math.floor(viewportWidth / 16 * 9); } else { contentHeight = Math.floor((viewportWidth - 64) / 16 * 9); } return contentHeight > maxContentHeight ? maxContentHeight : contentHeight; } function hasEnoughSpaceForMainContent() { var viewportHeight = document.documentElement.clientHeight; var menuHeight = menu.offsetHeight; return viewportHeight > (menuHeight + calculateMainContentHeight()); } function stickElement(elem) { elem.classList.add(stuckClass); } function unstickElement(elem) { elem.classList.remove(stuckClass); } function applyAnchorOffsets() { childrensWrapper.classList.add(anchorOffsetClass); } function unapplyAnchorOffsets() { childrensWrapper.classList.remove(anchorOffsetClass); } function stickOrUnstickMenu() { var menuIsStuck = menu.classList.contains(stuckClass); var menuIsOpen = menu.classList.contains('menu--open'); var isSpaceForStickyNav = (hasEnoughSpaceForMainContent() || menuIsOpen); //If the menu is open then assume there is enough space for sticky nav if (hasScrolledPastStickingPoint() && isSpaceForStickyNav) { if (!menuIsStuck && !menuIsOpen) { stickElement(menu); } } else { if (menuIsStuck) { unstickElement(menu); } } } function applyOrUnapplyAnchorOffsets() { if (hasEnoughSpaceForMainContent()) { applyAnchorOffsets(); } else { unapplyAnchorOffsets(); } } function throttleAndDebounce(fn) { var blockFunctionCall = false; return function () { if (blockFunctionCall) return; var self = this; blockFunctionCall = true; function run() { fn.apply(self); } run(); setTimeout(function () { blockFunctionCall = false; run(); }, 16); }; } window.addEventListener('resize', throttleAndDebounce(applyOrUnapplyAnchorOffsets), false); window.addEventListener('resize', throttleAndDebounce(stickOrUnstickMenu), false); window.addEventListener('scroll', throttleAndDebounce(stickOrUnstickMenu), false); window.addEventListener('touchmove', throttleAndDebounce(stickOrUnstickMenu), false); document.addEventListener('DOMContentLoaded', stickOrUnstickMenu, false); applyOrUnapplyAnchorOffsets(); } setupMenuStickyness(); })(); </script> <div class="content-page " role="main"> <span class="vh" id="main-content">CBBC Picture Maker</span> <section class="content-page__section content-page__section--content-item content-item content-item--game content-item--games"> <div class="content-item__frame"> <section class="content-item__section content-item__primary-content content-item__primary-content--game" itemtype="http://www.schema.org/MediaObject" itemscope> <meta itemprop="name" content="CBBC - CBBC Picture Maker"/> <meta itemprop="description" content="Create your own CBBC picture using paints, stickers, glitter and more! See what amazing masterpieces you can create using The Next Step, Danger Mouse, The Worst Witch, Jamie Johnson, Horrible Histories and The Zoo stickers - what awesome CBBC show mash-ups can you make? "/> <meta itemprop="typicalAgeRange" content="0-12"/> <meta itemprop="datePublished" content="2019-05-22T13:00:00.000Z"/> <meta itemprop="url" content="https://web.archive.org/web/20190701112059/http://www.bbc.co.uk/cbbc/games/cbbc-picture-maker"/> <meta itemprop="isFamilyFriendly" content="true"/> <meta itemprop="image" content="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/cbbc_picture_maker_brand_2019_index.jpg"/> <meta itemprop="thumbnailUrl" content="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/720/1x/cbbc/cbbc_picture_maker_brand_2019_index.jpg"/> <div class="content-item__section-content"> <div id="game" class="game-embed" data-intention-id="gg2q4q2c2v" data-stats-children-game-cms="isite"><div id="u5542485035955282"><div class="game-wrapper" data-reactid=".p7twa6yj3c" data-react-checksum="489651473"><div data-reactid=".p7twa6yj3c.0"><svg width="64" height="64" viewbox="0 0 32 32" class="game-wrapper__loading-spinner" data-reactid=".p7twa6yj3c.0.0"><path d="M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z" data-reactid=".p7twa6yj3c.0.0.0"></path></svg><div class="game-wrapper__cta" data-reactid=".p7twa6yj3c.0.1"><img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-reactid=".p7twa6yj3c.0.1.0"/><button type="button" class="game-wrapper__cta-button" data-reactid=".p7twa6yj3c.0.1.1"><div class="game-wrapper__cta-icon" data-reactid=".p7twa6yj3c.0.1.1.0"><svg viewbox="0 0 32 32" data-reactid=".p7twa6yj3c.0.1.1.0.0"><path fill="#fff" d="M8 7.5c-1.9 0-3.5 1.6-3.5 3.5s1.6 3.5 3.5 3.5 3.5-1.6 3.5-3.5S9.9 7.5 8 7.5z" data-reactid=".p7twa6yj3c.0.1.1.0.0.0"></path><path fill="#fff" d="M24 3c-2 0-3.9.8-5.3 2h-5.4C11.9 3.8 10 3 8 3c-4.4 0-8 3.6-8 8v18h6l6-10h8l6 10h6V11c0-4.4-3.6-8-8-8zm0 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM8 17c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm12-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" data-reactid=".p7twa6yj3c.0.1.1.0.0.1"></path></svg></div></button></div></div></div></div></div> <script> require(['jquery-1', 'stats/stats'], function ($, stats) { var intentionId = 'gid-gg2q4q2c2v'; var statsAttributes = { children_interaction_action: 'button', children_interaction_type: 'play', children_interaction_variant: intentionId }; var clicked = false; var $embed = $('#game'); $embed.on('click', '.game-wrapper__cta', function () { if (!clicked) { clicked = true; stats.recordIntention(intentionId); stats.recordInteraction($embed, "click", window.location.pathname, statsAttributes); } }); }); </script> <script> require(['jquery-1'], function ($) { var $embed = $('#game'); $embed.on('DOMNodeInserted', '.game-wrapper__iframe--fixedsize', function (e) { var width = $(e.target).width(); if($.isNumeric(width) && (width > 0)) { $('.content-page__section.content-item--game').css('max-width', (width + 32) + 'px'); } }); }); </script> <noscript> <div class="content-item__js-not-available js-not-available"> <h2 class="js-not-available__title">Oops you can't see this activity!</h2> <p class="js-not-available__text">To enjoy the CBBC website at its best you will need to have JavaScript turned on.</p> <p class="js-not-available__text">For more help please visit the <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/web-help-javascript" class="js-not-available__link">CBBC FAQ <span class="gel-icon gelicon--next"></span></a></p> </div> </noscript> </div> </section> <div class="content-item__section content-item__section--information"> <div class="content-item__section-content"> <div class="content-item-description"> <div class="reactions-container"><div id="u8205696634936944"><div class="reactions" data-reactid=".ab8xikdicm" data-react-checksum="1168633010"><div data-reactid=".ab8xikdicm.0"><div data-reactid=".ab8xikdicm.0.0"><div class="reactions-module" data-reactid=".ab8xikdicm.0.0.0"><div class="reactions-sprite-animation-wrapper" data-reactid=".ab8xikdicm.0.0.0.0"><div class="reactions-sprite-animation reactions-sprite-animation__slide--0" style="left:0;top:0;" data-reactid=".ab8xikdicm.0.0.0.0.0"><noscript data-reactid=".ab8xikdicm.0.0.0.0.0.0"></noscript></div></div><div class="reactions-tray" data-reactid=".ab8xikdicm.0.0.0.1"><div class="reactions-tray__reactions-container reactions-tray__reactions-container--no-animation" data-reactid=".ab8xikdicm.0.0.0.1.0"><ul class="gs-c-reactions" data-reactid=".ab8xikdicm.0.0.0.1.0.0"><div class="reactions-list" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0"><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0"><span class="gel-icon reaction-icon reaction-icon-loved" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.0.0"><path d="M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z" fill="#e63f23" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.0.0.0"></path><path d="M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z" fill="#ee7966" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.0.0.1"></path></svg></span><span id="reaction-label-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type Love," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.1">Love</span><span id="reaction-count-text--loved-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of Loves 11905" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.2">11905</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$0.0.3"></div></button></li><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0"><span class="gel-icon reaction-icon reaction-icon-lol" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0"><circle cx="35.91" cy="35.72" r="30" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.0"></circle><path d="M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z" fill="#269dc8" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.1"></path><path d="M16.37 36.45a19.34 19.34 0 0 0 38.69.16z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.2"></path><path d="M25.17 52.73a11.33 11.33 0 0 1 21 .08" fill="#a75916" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.3"></path><path d="M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z" fill="#e63f23" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.4"></path><path d="M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.0.0.5"></path></svg></span><span id="reaction-label-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type LOL," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.1">LOL</span><span id="reaction-count-text--lol-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of LOLs 5404" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.2">5404</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$1.0.3"></div></button></li><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0"><span class="gel-icon reaction-icon reaction-icon-applause" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.0.0"><path d="M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.0.0.0"></path><path d="M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72" fill="#9f8214" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.0.0.1"></path><path d="M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.0.0.2"></path></svg></span><span id="reaction-label-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type Applause," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.1">Applause</span><span id="reaction-count-text--applause-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of Applauses 4091" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.2">4091</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$2.0.3"></div></button></li><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0"><span class="gel-icon reaction-icon reaction-icon-inspired" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.0.0"><circle cx="36" cy="36" r="30" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.0.0.0"></circle><path d="M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z" fill="#fff" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.0.0.1"></path><path d="M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z" fill="#d3145b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.0.0.2"></path></svg></span><span id="reaction-label-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type Got It!," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.1">Got It!</span><span id="reaction-count-text--inspired-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of Got Its 2898" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.2">2898</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$3.0.3"></div></button></li><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0"><span class="gel-icon reaction-icon reaction-icon-omd" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.0"></circle><circle cx="25.69" cy="31.15" r="7.9" fill="#fff" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.1"></circle><ellipse cx="25.73" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.2"></ellipse><circle cx="46.31" cy="31.15" r="7.9" fill="#fff" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.3"></circle><ellipse cx="46.26" cy="31.35" rx="3.85" ry="4.57" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.4"></ellipse><path d="M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.5"></path><path d="M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z" fill="#9f8214" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.0.0.6"></path></svg></span><span id="reaction-label-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type OMD," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.1">OMD</span><span id="reaction-count-text--omd-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of OMDs 2597" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.2">2597</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$4.0.3"></div></button></li><li data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5"><button class="gs-c-reaction reaction-button" aria-pressed="false" aria-labelledby="reaction-label-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v reaction-count-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0"><span class="gel-icon reaction-icon reaction-icon-sad" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.0"><svg data-name="Layer 1" viewbox="0 0 72 72" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.0.0"><circle cx="36" cy="36" r="30" transform="rotate(-5.1 35.96834013 36.0247667)" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.0.0.0"></circle><path d="M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z" fill="#269dc8" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.0.0.1"></path><path d="M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.0.0.2"></path></svg></span><span id="reaction-label-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-label" aria-label="Reaction type Sad," data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.1">Sad</span><span id="reaction-count-text--sad-childrens-reactions-urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v" class="reaction-count" aria-label="Total number of Sads 3103" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.2">3103</span><div class="reaction-focus-line" data-reactid=".ab8xikdicm.0.0.0.1.0.0.0.$5.0.3"></div></button></li></div></ul><div class="reactions-tray__reactive-prompt" data-reactid=".ab8xikdicm.0.0.0.1.0.1">Press and hold for more...</div></div></div><button class="reactions-cta" aria-pressed="false" aria-label="Reactions. Show Reactions. Total number of reactions: 29998" data-reactid=".ab8xikdicm.0.0.0.4"><div class="reactions-cta-image" data-reactid=".ab8xikdicm.0.0.0.4.0"><span data-reactid=".ab8xikdicm.0.0.0.4.0.0"><span class="cta-icon cta-cbbc-icon" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0"><svg viewbox="0 0 76 68" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0"><path d="M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z" fill="#e63f23" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.0"></path><path d="M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z" fill="#ee7966" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.1"></path><circle cx="20" cy="25" r="19.94" transform="rotate(-85 20.002 25.004)" fill="#efc203" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.2"></circle><path d="M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z" fill="#9f8214" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.3"></path><circle cx="13.71" cy="20.6" r="5.25" transform="rotate(-79.9 13.71 20.605)" fill="#fff" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.4"></circle><ellipse cx="13.71" cy="20.74" rx="3.04" ry="2.56" transform="rotate(-79.9 13.711 20.738)" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.5"></ellipse><circle cx="27.2" cy="23.01" r="5.25" transform="rotate(-79.9 27.2 23.006)" fill="#fff" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.6"></circle><ellipse cx="27.15" cy="23.13" rx="3.04" ry="2.56" transform="rotate(-79.9 27.15 23.127)" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.7"></ellipse><path d="M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.8"></path><circle cx="42.08" cy="45.87" r="22.16" transform="rotate(-81.9 42.082 45.87)" fill="#ffd201" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.9"></circle><path data-name="<Path>" d="M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z" fill="#269dc8" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.a"></path><path d="M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.b"></path><path d="M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22" fill="#a75916" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.c"></path><path d="M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z" fill="#e63f23" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.d"></path><path d="M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z" fill="#2b2b2b" data-reactid=".ab8xikdicm.0.0.0.4.0.0.0.0.e"></path></svg></span><span class="reactions-count-container" data-reactid=".ab8xikdicm.0.0.0.4.0.0.1"><span class="reactions-count-container__count-text" data-reactid=".ab8xikdicm.0.0.0.4.0.0.1.0">29998</span></span></span><div class="cta-arrow-icon" data-reactid=".ab8xikdicm.0.0.0.4.0.1"><svg height="15" width="20" viewbox="0 0 20 15" data-reactid=".ab8xikdicm.0.0.0.4.0.1.0"><path fill="#db63d9" d="M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z" data-reactid=".ab8xikdicm.0.0.0.4.0.1.0.0"></path></svg></div></div></button></div></div></div></div></div></div> <div class="button-list-container button-list-container--above-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><span class="button__add-on-container"> <span class="button__add-on cbbc-picture-maker">1246</span> </span><!-- --></div> </li><!-- --></ul> </div> <div class="content-item-description__text-container"> <a class="content-item-description__brand-link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" title="CBBC" data-stats-interaction="show_oj" data-stats-interaction-variant="text_link"> <span class="content-item-description__brand-name">All CBBC</span> <span class="gelicon gelicon--next"></span> </a> <h1 class="content-item-description__heading"><span class="vh">CBBC - </span>CBBC Picture Maker</h1> <p class="content-item-description__description">Create your own CBBC picture using paints, stickers, glitter and more! See what amazing masterpieces you can create using The Next Step, Danger Mouse, The Worst Witch, Jamie Johnson, Horrible Histories and The Zoo stickers - what awesome CBBC show mash-ups can you make? </p> </div> </div> <div class="button-list-container button-list-container--below-description"> <ul class="button-list"><!-- --><li class="button-list__item content-item__comment-cta"> <div class=" button button--comment-count button--immersive "><!-- --><a class="button__link" href="#comments" data-stats-interaction="comments" data-stats-interaction-variant="button" data-stats-interaction-action="button"><!-- --><span class="button__inner"> <i class="button__icon-pre gelicon gelicon--comments" aria-hidden="true"></i> <span class="button__text">View comments</span> </span><!-- --></a><!-- --><span class="button__add-on-container"> <span class="button__add-on cbbc-picture-maker">1246</span> </span><!-- --></div> </li><!-- --></ul> </div> </div> </div> <article class="content-item__section content-item__section--article article "> <div class="article__section "> <div class="article__body-text"> <p><strong>Now with brand new stickers and all new sticky tape, see what spectacular spring creations you can make! Watch out for Pig's muddy footprints though!</strong></p> </div> <div class="article__media-container media-container"> <!--[if IE]> <div class="unsupported-browser-messaging content-item__unsupported-browser-messaging"> <h2 class="unsupported-browser-messaging__title">Oops you can't see this activity!</h2> <p class="unsupported-browser-messaging__text">To enjoy this content you need to update your browser to the latest version.</p> <a href="/cbbc/findoutmore/how-to-upgrade-your-browser" class="unsupported-browser-messaging__link"> Find out how to update your browser <span class="gel-icon gelicon--next"></span> </a> </div> <![endif]--> <!--[if !IE]> --> <script> require(['riddle/auto-scroll'], function(autoscroll) {autoscroll.init()}); </script> <div data-auto-scroll="true" data-auto-scroll-offset="0" class="riddle_target content-item__riddle" data-url="//web.archive.org/web/20190701112059oe_/https://www.riddle.com/a/183348?wide=1"> <div class="rid-load content-item__riddle-loader"></div> </div> <script> require(['lib/riddle'], function (riddle) {}); </script> <!-- <![endif]--> <noscript> <div class="content-item__js-not-available js-not-available"> <h2 class="js-not-available__title">Oops you can't see this activity!</h2> <p class="js-not-available__text">To enjoy the CBBC website at its best you will need to have JavaScript turned on.</p> <p class="js-not-available__text">For more help please visit the <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/web-help-javascript" class="js-not-available__link">CBBC FAQ <span class="gel-icon gelicon--next"></span></a></p> </div> </noscript> <p class="privacy-notice"> We collect information on how quizzes are used so we can make them even better. <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/riddle-quizzes-privacy">Find out more</a> </p> </div> </div> <div class="article__section "> <div class="article__body-text"> <p><strong>Send us your creations and we might include them in our gallery below!</strong></p> </div> <div class="article__media-container media-container"> <div class="ugc-cta-container"><div id="u5618771217142397"><div class="ugc-form-cta-container ugc-form-cta-container--cbbc" data-reactid=".24gw360glta" data-react-checksum="1124606572"><div class="ugc-cta" data-reactid=".24gw360glta.0"><div class="ugc-cta__content" data-reactid=".24gw360glta.0.0"><h2 class="ugc-cta__title" data-reactid=".24gw360glta.0.0.0">Are you ready to send your stuff?</h2><div data-reactid=".24gw360glta.0.0.1"><div class="ugc-button ugc-button--cta" data-reactid=".24gw360glta.0.0.1.0"><a class="ugc-button__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/upload/u3152038?ptrt=%2Fcbbc%2Fgames%2Fcbbc-picture-maker" data-reactid=".24gw360glta.0.0.1.0.0"><div class="gel-icon gel-icon--upload" data-reactid=".24gw360glta.0.0.1.0.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".24gw360glta.0.0.1.0.0.0.0"><g id="Layer_2" data-reactid=".24gw360glta.0.0.1.0.0.0.0.0"><path d="M20.5 30v-2H30v-6h2v8zM18.499 30H0v-8h2v6h11.48l.019-16.438-7.45 7.46-3.531-3.536L15.987 2l13.495 13.469L25.947 19l-7.448-7.438z" data-reactid=".24gw360glta.0.0.1.0.0.0.0.0.0"></path></g></svg></div><span class="button__text" data-reactid=".24gw360glta.0.0.1.0.0.1">Send your stuff</span></a></div></div></div><image class="ugc-cta__image--desktop" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/ugc-cta-background-desktop.svg" data-reactid=".24gw360glta.0.1"></image><image class="ugc-cta__image--mobile" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/ugc-cta-background-mobile.svg" data-reactid=".24gw360glta.0.2"></image></div><div class="tips" data-reactid=".24gw360glta.1"><div class="accordion" data-reactid=".24gw360glta.1.0"><a class="accordion-drawer" href="#" aria-controls="accordion-0" aria-expanded="false" aria-label="open Tips on what to send us" data-reactid=".24gw360glta.1.0.0"><div class="accordion-drawer-contents" data-reactid=".24gw360glta.1.0.0.0"><div class="tips-heading" data-reactid=".24gw360glta.1.0.0.0.0"><div class="look-icon" data-reactid=".24gw360glta.1.0.0.0.0.0"><svg viewbox="0 0 60 60" data-reactid=".24gw360glta.1.0.0.0.0.0.0"><circle cx="30" cy="30" r="30" transform="translate(-2.55 2.78) rotate(-5.1)" fill="#ffd201" data-reactid=".24gw360glta.1.0.0.0.0.0.0.0"></circle><circle cx="40.31" cy="21.15" r="7.9" fill="#fff" data-reactid=".24gw360glta.1.0.0.0.0.0.0.1"></circle><ellipse cx="43.63" cy="21.35" rx="4.41" ry="4.57" fill="#2b2b2b" data-reactid=".24gw360glta.1.0.0.0.0.0.0.2"></ellipse><path d="M10.66,33.78a19.34,19.34,0,0,0,38.69.16Z" transform="translate(0 0)" fill="#2b2b2b" data-reactid=".24gw360glta.1.0.0.0.0.0.0.3"></path><path d="M29.95,43.11a11.35,11.35,0,0,0-10.52,7,19.44,19.44,0,0,0,10.47,3.14,19,19,0,0,0,10.5-3.06A11.21,11.21,0,0,0,29.95,43.11Z" transform="translate(0 0)" fill="#e63f23" data-reactid=".24gw360glta.1.0.0.0.0.0.0.4"></path><circle cx="19.67" cy="21.15" r="7.9" fill="#fff" data-reactid=".24gw360glta.1.0.0.0.0.0.0.5"></circle><ellipse cx="22.99" cy="21.35" rx="4.41" ry="4.57" fill="#2b2b2b" data-reactid=".24gw360glta.1.0.0.0.0.0.0.6"></ellipse></svg></div><span class="tips__drawer__text" data-reactid=".24gw360glta.1.0.0.0.0.1">Tips on what to send us</span></div><div aria-hidden="true" class="tips-open-close" data-reactid=".24gw360glta.1.0.0.0.1"><span class="tips-open-close__label" data-reactid=".24gw360glta.1.0.0.0.1.0">open</span><div class="down-icon" data-reactid=".24gw360glta.1.0.0.0.1.1"><svg height="15" width="20" viewbox="0 0 20 15" data-reactid=".24gw360glta.1.0.0.0.1.1.0"><path d="M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z" data-reactid=".24gw360glta.1.0.0.0.1.1.0.0"></path></svg></div></div></div></a><div id="accordion-0" class="accordion-body" data-reactid=".24gw360glta.1.0.1"><div class="accordion-body-contents" data-reactid=".24gw360glta.1.0.1.0"><div class="tips-content" data-reactid=".24gw360glta.1.0.1.0.0"><p class="tips-content__label" aria-hidden="true" data-reactid=".24gw360glta.1.0.1.0.0.0">Don&#x27;t send:</p><ul class="tips-content__examples" data-reactid=".24gw360glta.1.0.1.0.0.1"><li class="tips-example-card" data-reactid=".24gw360glta.1.0.1.0.0.1.0"><img alt="" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/tips-dont-send-personal-details.jpg" data-reactid=".24gw360glta.1.0.1.0.0.1.0.0"/><div class="tips-example-card__label" role="text" data-reactid=".24gw360glta.1.0.1.0.0.1.0.1"><span class="ugc-hidden--offscreen" data-reactid=".24gw360glta.1.0.1.0.0.1.0.1.0">Don&#x27;t send</span><span data-reactid=".24gw360glta.1.0.1.0.0.1.0.1.1">Personal details</span></div></li><li class="tips-example-card" data-reactid=".24gw360glta.1.0.1.0.0.1.1"><img alt="" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/tips-dont-send-other-people.jpg" data-reactid=".24gw360glta.1.0.1.0.0.1.1.0"/><div class="tips-example-card__label" role="text" data-reactid=".24gw360glta.1.0.1.0.0.1.1.1"><span class="ugc-hidden--offscreen" data-reactid=".24gw360glta.1.0.1.0.0.1.1.1.0">Don&#x27;t send</span><span data-reactid=".24gw360glta.1.0.1.0.0.1.1.1.1">Stuff with other people</span></div></li><li class="tips-example-card" data-reactid=".24gw360glta.1.0.1.0.0.1.2"><img alt="" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/tips-dont-send-anything-naughty.jpg" data-reactid=".24gw360glta.1.0.1.0.0.1.2.0"/><div class="tips-example-card__label" role="text" data-reactid=".24gw360glta.1.0.1.0.0.1.2.1"><span class="ugc-hidden--offscreen" data-reactid=".24gw360glta.1.0.1.0.0.1.2.1.0">Don&#x27;t send</span><span data-reactid=".24gw360glta.1.0.1.0.0.1.2.1.1">Anything naughty</span></div></li><li class="tips-example-card" data-reactid=".24gw360glta.1.0.1.0.0.1.3"><img alt="" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/tips-dont-send-things-we-didnt-ask-for.jpg" data-reactid=".24gw360glta.1.0.1.0.0.1.3.0"/><div class="tips-example-card__label" role="text" data-reactid=".24gw360glta.1.0.1.0.0.1.3.1"><span class="ugc-hidden--offscreen" data-reactid=".24gw360glta.1.0.1.0.0.1.3.1.0">Don&#x27;t send</span><span data-reactid=".24gw360glta.1.0.1.0.0.1.3.1.1">Stuff we didn&#x27;t ask for</span></div></li></ul><div class="rules" data-reactid=".24gw360glta.1.0.1.0.0.2"><img class="rules__information-icon" src="//web.archive.org/web/20190701112059im_/https://m.files.bbci.co.uk/modules/bbc-morph-ugc-form-cta/1.12.0/images/information-icon.svg" data-reactid=".24gw360glta.1.0.1.0.0.2.0"/><div class="rules__text" data-reactid=".24gw360glta.1.0.1.0.0.2.1"><span aria-hidden="true" data-reactid=".24gw360glta.1.0.1.0.0.2.1.0">Everything you send in has to follow </span><a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/uploads-house-rules" aria-label="Everything you send in has to follow the rules" data-reactid=".24gw360glta.1.0.1.0.0.2.1.1">the rules</a><span data-reactid=".24gw360glta.1.0.1.0.0.2.1.2">.</span></div></div></div></div></div></div></div></div></div></div> </div> </div> <div class="article__section "> <div class="article__body-text"> <p>If you are having issues playing this game on your device/browser, then please check our <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/supported-device-list">recommended device list</a> to get the best experience when playing our games.</p> </div> </div> <div class="article__section "> <span class="anchor" id="gallery"></span> <h2 class="article__section-heading">Picture Maker Gallery</h2> <div class="article__body-text"> <p>You've been sending in your amazing creations! We've featured some in our gallery below - can you spot yours?</p> </div> <div class="article__media-container media-container"> <!--[if IE]> <div class="unsupported-browser-messaging content-item__unsupported-browser-messaging"> <h2 class="unsupported-browser-messaging__title">Oops you can't see this activity!</h2> <p class="unsupported-browser-messaging__text">To enjoy this content you need to update your browser to the latest version.</p> <a href="/cbbc/findoutmore/how-to-upgrade-your-browser" class="unsupported-browser-messaging__link"> Find out how to update your browser <span class="gel-icon gelicon--next"></span> </a> </div> <![endif]--> <!--[if !IE]> --> <script> require(['riddle/auto-scroll'], function(autoscroll) {autoscroll.init()}); </script> <div data-auto-scroll="true" data-auto-scroll-offset="0" class="riddle_target content-item__riddle" data-url="//web.archive.org/web/20190701112059oe_/https://www.riddle.com/a/193573?wide=1"> <div class="rid-load content-item__riddle-loader"></div> </div> <script> require(['lib/riddle'], function (riddle) {}); </script> <!-- <![endif]--> <noscript> <div class="content-item__js-not-available js-not-available"> <h2 class="js-not-available__title">Oops you can't see this activity!</h2> <p class="js-not-available__text">To enjoy the CBBC website at its best you will need to have JavaScript turned on.</p> <p class="js-not-available__text">For more help please visit the <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/web-help-javascript" class="js-not-available__link">CBBC FAQ <span class="gel-icon gelicon--next"></span></a></p> </div> </noscript> <p class="privacy-notice"> We collect information on how quizzes are used so we can make them even better. <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/findoutmore/riddle-quizzes-privacy">Find out more</a> </p> </div> </div> <div class="article__section "> <div class="article__body-text"> <p><strong>Head here to see more of your amazing creations!</strong></p> <p><a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/joinin/picture-maker-collection">Picture Maker: The Collection</a></p> </div> </div> <div class="article__section "> <div class="article__body-text"> </div> </div> </article> <section class="content-item__section content-page__section--brand-onward-journey-footer brand-onward-journey--top"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">CBBC</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/cbbc-logo-onward-journey.png" data-alt="CBBC"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/cbbc-logo-onward-journey.png" alt="CBBC"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> <section class="content-item__section content-page__section--brand-onward-journey-footer brand-onward-journey--bottom"> <div class="brand-journey-card"> <div class="brand-journey-card__inner"> <div class="brand-journey-card__body-container"> <div class="brand-journey-card__title-container"> <a class="brand-journey-card__title-link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <h3 class="brand-journey-card__title">CBBC</h3> </a> </div> <div class="brand-journey-card__image-container"> <a class="brand-journey-card__image-link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"> <span class="responsive-img responsive-img--5x6 brand-journey-card__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/cbbc-logo-onward-journey.png" data-alt="CBBC"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/cbbc-logo-onward-journey.png" alt="CBBC"/> </noscript> </span> </a> </div> <div class="brand-journey-card__button-container"> <div class="brand-journey-card__button button button--immersive "><!-- --><a class="button__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><span class="button__inner"> <span class="button__text">View all</span> <i class="brand-journey-card__chevron button__icon-pre gelicon gelicon--next" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </div> </div> </div> </section> </div> </section> <script> require(['jquery-1'], function ($) { var cover = $('.childrens-wrapper__cover'); var secondContentItemSection = $('.content-item__section').eq(1); function updateCoverHeight() { var height = secondContentItemSection.offset().top - cover.offset().top; if (height > 250) { cover.height(height); } } if (cover.length && secondContentItemSection.length) { updateCoverHeight(); var timer = null; $(window).on('orientationchange', updateCoverHeight); $(window).resize(function () { if (timer) { clearTimeout(timer); } timer = setTimeout(updateCoverHeight, 150); }); } var menuToggleButton = $('.menu__toggle'); menuToggleButton.click(function () { window.setTimeout(updateCoverHeight, 100); }); }); </script> <div class="content-page__section content-page__section--comments"> <span class="anchor" id="comments"></span> <div id="comments-embed-container" class="content-item__comments"><div id="u713738287774027"><div class="comments--loading comments--no-js" data-reactid=".zwjn6ie1hu" data-react-checksum="798560492"><div class="comments comments-theme-variant--childrens comments__product--cbbc" data-reactid=".zwjn6ie1hu.0"><div class="comments__header" data-reactid=".zwjn6ie1hu.0.0"><div class="comments__heading-wrapper" id="comments" tabindex="0" data-reactid=".zwjn6ie1hu.0.0.0"><h4 class="comments__heading-module-title" data-reactid=".zwjn6ie1hu.0.0.0.0">Your Comments</h4><h4 class="comments__heading-title" data-reactid=".zwjn6ie1hu.0.0.0.1"><span class="comments__heading-title-text" data-reactid=".zwjn6ie1hu.0.0.0.1.0">Join the conversation</span></h4></div><noscript data-reactid=".zwjn6ie1hu.0.0.1"><div class="comments-no-js-message"> To use comments you will need to have JavaScript enabled. </div></noscript><div class="comments__comments-total" data-reactid=".zwjn6ie1hu.0.0.5"><div class="comments-total" data-reactid=".zwjn6ie1hu.0.0.5.0"><span data-reactid=".zwjn6ie1hu.0.0.5.0.0">1246</span><span data-reactid=".zwjn6ie1hu.0.0.5.0.1"> comment</span><span data-reactid=".zwjn6ie1hu.0.0.5.0.2">s</span></div></div></div><span data-reactid=".zwjn6ie1hu.0.1"></span><div data-reactid=".zwjn6ie1hu.0.2"><div class="comments-body-anchor" data-reactid=".zwjn6ie1hu.0.2.0"></div><div class="comments__body" data-reactid=".zwjn6ie1hu.0.2.1"><div class="comments__show-new-comments-container" data-reactid=".zwjn6ie1hu.0.2.1.0"></div><div data-reactid=".zwjn6ie1hu.0.2.1.1"><div class="comments-list-anchor" data-reactid=".zwjn6ie1hu.0.2.1.1.0"></div><ul class="comments-list" data-reactid=".zwjn6ie1hu.0.2.1.1.1"><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660"><div id="comment-135290660" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.0.1.0">1246</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.0.2">littlelilylion</span></h4><div data-time="2019-06-30T12:27:41+01:00" class="posted-date comment__posted-date" aria-label="at 12:27 30 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.0.1.2">12:27 30 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.2.0">team pig always</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1246. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290660.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335"><div id="comment-135290335" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.0.1.0">1245</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.0.2">Jessica</span></h4><div data-time="2019-06-30T09:22:39+01:00" class="posted-date comment__posted-date" aria-label="at 09:22 30 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.0.1.2">09:22 30 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.2.0">always team unicorn!<br></div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1245. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135290335.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082"><div id="comment-135289082" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.0.1.0">1244</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.0.2">Jessica</span></h4><div data-time="2019-06-29T19:20:54+01:00" class="posted-date comment__posted-date" aria-label="at 19:20 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.0.1.2">19:20 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.2.0">love this game<br></div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1244. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135289082.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747"><div id="comment-135288747" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.0.1.0">1243</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.0.2">BigFurryElephant</span></h4><div data-time="2019-06-29T18:27:07+01:00" class="posted-date comment__posted-date" aria-label="at 18:27 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.0.1.2">18:27 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.2.0">Some of these pictures are incredible also team pig all the way!</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1243. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288747.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643"><div id="comment-135288643" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.0.1.0">1242</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.0.2">Spr1nkles9</span></h4><div data-time="2019-06-29T18:08:55+01:00" class="posted-date comment__posted-date" aria-label="at 18:08 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.0.1.2">18:08 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.2.0">#Pig all the way</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1242. Number of likes 1" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.0">1</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288643.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334"><div id="comment-135288334" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.0.1.0">1241</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.0.2">unimermaid123</span></h4><div data-time="2019-06-29T17:21:06+01:00" class="posted-date comment__posted-date" aria-label="at 17:21 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.0.1.2">17:21 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.2.0">Team pig</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1241. Number of likes 1" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.0">1</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288334.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062"><div id="comment-135288062" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.0.1.0">1240</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.0.2">unicorncbbcfan20</span></h4><div data-time="2019-06-29T16:30:04+01:00" class="posted-date comment__posted-date" aria-label="at 16:30 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.0.1.2">16:30 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.2.0">dear cbbc,i did a picture and i would be delighted to show it to everone love Hannah.</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1240. Number of likes 1" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.0">1</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135288062.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596"><div id="comment-135286596" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.0.1.0">1239</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.0.2">Daniboomzoom</span></h4><div data-time="2019-06-29T11:48:01+01:00" class="posted-date comment__posted-date" aria-label="at 11:48 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.0.1.2">11:48 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.2.0">best game ever</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1239. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286596.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572"><div id="comment-135286572" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.0.1.0">1238</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.0.2">Daniboomzoom</span></h4><div data-time="2019-06-29T11:45:44+01:00" class="posted-date comment__posted-date" aria-label="at 11:45 29 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.0.1.2">11:45 29 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.2.0">I like pigs they are cute but I like unicorns too I am team unicorn it is such hard choice</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1238. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135286572.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li><li class="comments-list__item" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047"><div id="comment-135282047" class="comment comment--has-footer" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0"><div tabindex="0" class="comment__header" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0"><div class="comment__username-and-posted-date" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1"><h4 class="comment__title" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.0"><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.0.0">Comment number </span><span class="comment__index" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.0.1"><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.0.1.0">1237</span><span data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.0.1.1">. </span></span></span><span class="comment__hidden-text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.1">Posted by </span><span class="username comment__username" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.0.2">U17733026</span></h4><div data-time="2019-06-28T16:44:22+01:00" class="posted-date comment__posted-date" aria-label="at 16:44 28 Jun" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.0.1.2">16:44 28 Jun</div></div></div><div class="comment__body" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.2"><div tabindex="0" class="comment__text" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.2.0">Both</div></div><div class="comment__footer comment__footer--medium-tap-size" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4"><div class="comment__toolbar" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1"><div class="comment__toolbar-section comment__toolbar-section--right" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1"><div class="comment__ratings" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0"><div class="comment-rating" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0"><button class="comment-rating__button comment-rating__button--positive comment-rating__button--number-placement-left" disabled="" aria-label="Like comment number 1237. Number of likes 0" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0"><div class="comment-rating__button-number" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.0">0</div><div class="comment-rating__button-icon" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1"><svg class="heart-icon" viewbox="0 0 32 27.82" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1.0"><g class="heart-icon__stroke" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1.0.0"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1.0.0.0"></path></g><g class="heart-icon__fill fill" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1.0.1"><path d="M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z" transform="translate(0 -2.09)" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.0.0.0.1.0.1.0"></path></g></svg></div></button></div></div><button class="comment__links-toggle" aria-label="Show comment links" aria-expanded="false" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1"><div class="more-icon-vertical" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1.0.0"><rect x="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1.0.0.0"></rect><rect x="12" y="12" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1.0.0.1"></rect><rect x="12" y="24" width="8" height="8" data-reactid=".zwjn6ie1hu.0.2.1.1.1.$=1$comment_135282047.0.4.1.1.1.0.0.2"></rect></svg></div></button></div></div></div></div></li></ul></div></div></div><div class="comments__footer" data-reactid=".zwjn6ie1hu.0.3"><button class="comments-button comments__more-comments-button" rel="next" data-reactid=".zwjn6ie1hu.0.3.1">More comments</button><div data-reactid=".zwjn6ie1hu.0.3.3"><a class="comments__back-to-top-link" href="#comments" data-reactid=".zwjn6ie1hu.0.3.3.0"><span data-reactid=".zwjn6ie1hu.0.3.3.0.0">Back to top</span><span class="to-top-icon" aria-hidden="true" data-reactid=".zwjn6ie1hu.0.3.3.0.1"><svg height="14" width="14" viewbox="0 0 32 32" data-reactid=".zwjn6ie1hu.0.3.3.0.1.0"><rect y="2" width="32" height="3" data-reactid=".zwjn6ie1hu.0.3.3.0.1.0.0"></rect><polygon points="16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5" data-reactid=".zwjn6ie1hu.0.3.3.0.1.0.1"></polygon></svg></span></a></div><div class="comments__a11y-message comment__hidden-text" aria-live="assertive" aria-atomic="true" data-reactid=".zwjn6ie1hu.0.3.4"></div></div></div></div></div></div> </div> <section class="content-page__section content-page__section--brandcards"> <a href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/cbbc" class="brandcard" data-stats-interaction="show_oj" data-stats-interaction-variant="panel"><!-- --><div class="brandcard__inner"><!-- --><div class="brandcard__image-container"> <div class="brandcard__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/cbbc-logo-onward-journey.png" data-alt="CBBC"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/cbbc-logo-onward-journey.png" alt="CBBC"/> </noscript> </span> </div> </div><!-- --><div class="brandcard__text"> <span class="brandcard__text-inner"> <span class="brandcard__brand-prefix">All</span> <span class="brandcard__brand-name-container"> <span class="brandcard__brand-name">CBBC <span class="brandcard__link-icon gelicon gelicon--next"></span></span> </span> </span> </div><!-- --></div><!-- --></a> </section> <section class="brand-shelf-section"> <p class="brand-shelf__title window window--extra-wide grid-container" hidden></p> <div class="brand-shelf-container window window--extra-wide"> <div id="brand-shelf" data-simple-carousel class="brand-shelf simple-carousel"> <div class="brand-shelf__main"> <div class="simple-carousel__controls"> <div class="brand-shelf__curtain brand-shelf__curtain--left"></div> <div class="brand-shelf__curtain brand-shelf__curtain--right"></div> <button class="brand-shelf__button brand-shelf__button--prev simple-carousel__button--prev"> <span class="vh">Previous items</span> <i class="gelicon gelicon--previous" aria-hidden="true"></i> </button> <button class="brand-shelf__button brand-shelf__button--next simple-carousel__button--next"> <span class="vh">Next items</span> <i class="gelicon gelicon--next" aria-hidden="true"></i> </button> </div> <div class="simple-carousel__window brand-shelf__window"> <div class="simple-carousel__panel"> <ul class="brand-shelf__list"><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/the-next-step" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="0"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/the_next_step_s7_a_z_index.png" data-alt="The Next Step Dancers smiling, two stood back to back (Kingston and Summer)."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/the_next_step_s7_a_z_index.png" alt="The Next Step Dancers smiling, two stood back to back (Kingston and Summer)."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/the-worst-witch" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="1"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/the_worst_witch_S02_a_z.png" data-alt="Enid, Mildred and Maud with the Worst Witch Logo"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/the_worst_witch_S02_a_z.png" alt="Enid, Mildred and Maud with the Worst Witch Logo"/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/the-dumping-ground" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="2"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/the_dumping_ground_az_image_s5.png" data-alt="Jodi and Tyler from The Dumping Ground on a green background in front of the logo."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/the_dumping_ground_az_image_s5.png" alt="Jodi and Tyler from The Dumping Ground on a green background in front of the logo."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/horrible-histories" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="3"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/horrible-histories-2019-az.png" data-alt="Henry VII and the Horrible Histories logo."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/horrible-histories-2019-az.png" alt="Henry VII and the Horrible Histories logo."/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/danger-mouse" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="4"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/dm-title_az_image_bid.png" data-alt="Danger Mouse"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/dm-title_az_image_bid.png" alt="Danger Mouse"/> </noscript> </span> </a> </li><!-- --><li class="simple-carousel__item brand-shelf__item"> <a class="brand-shelf__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows/blue-peter" data-stats-interaction="brand_shelf" data-stats-interaction-variant="show" data-stats-interaction-position="5"> <span class="responsive-img responsive-img--5x6 brand-shelf__image"> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/BP-Shows-Brand-Shelf-2019-V2.png" data-alt="The Blue Peter team: Lindsey, Henry and Richie."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/BP-Shows-Brand-Shelf-2019-V2.png" alt="The Blue Peter team: Lindsey, Henry and Richie."/> </noscript> </span> </a> </li><!-- --></ul> </div> </div> </div> </div> <div class="brand-shelf__all-shows-link button button--center button--shows "><!-- --><a class="button__link" href="/web/20190701112059/https://www.bbc.co.uk/cbbc/shows" data-stats-interaction="brand_shelf" data-stats-interaction-variant="all_shows"><!-- --><span class="button__inner"> <span class="button__text">All shows</span> <i class="button__icon-gel gelicon gelicon--next gelicon--trailing" aria-hidden="true"></i> </span><!-- --></a><!-- --><!-- --></div> </div> </section> <section class="channel-banner-section" data-channel-banner data-channel-banner-enable-close-persist="true" data-ng-class="{'channel-banner-section--hide' : isChannelBannerHidden}"> <script> (function () { var cookieCheckingEnabled = true; var channelBannerSection = document.querySelector(".channel-banner-section"); function hideChannelBannerIfCookieIsSet() { var channelBannerCookieName = 'ckps_cbbc_channel_banner_hidden'; var hideCookieIsSet = document.cookie.indexOf(" " + channelBannerCookieName + "=true") > 0; if (hideCookieIsSet) { channelBannerSection.className += ' channel-banner-section--hide'; } } function showCloseButtonIfCookiesAreAllowed() { var cookiePolicy = window.bbccookies.readPolicy(); var personalisationAllowed = cookiePolicy.personalisation; if (personalisationAllowed) { showCloseButton(); } } function showCloseButton() { channelBannerSection.className += ' channel-banner-section--show-close'; } if (cookieCheckingEnabled) { hideChannelBannerIfCookieIsSet(); showCloseButtonIfCookiesAreAllowed(); } else { showCloseButton(); } })() </script> <div class="channel-banner-section__inner window window--extra-wide"> <div class="channel-banner"> <div class="channel-banner__inner"> <div class="channel-banner__title-bar"> <a class="channel-banner__logo" href="/web/20190701112059/https://www.bbc.co.uk/cbeebies" data-istats-click="cross_channel_logo" data-stats-interaction="channel_banner" data-stats-interaction-variant="logo"> <img class="channel-banner__logo-image" alt="CBeebies logo" src="https://web.archive.org/web/20190701112059im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/images/channel-banner/logo.png"/> </a> <span class="channel-banner__title">Looking for CBeebies shows?</span> </div> <div class="channel-banner__main"> <ul class="channel-banner__list"> <li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20190701112059/https://www.bbc.co.uk/cbeebies/shows/molly-and-mack" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="0"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/molly-and-mack-cross-channel-banner.png" data-alt="Molly and Mack on a red background. "></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/molly-and-mack-cross-channel-banner.png" alt="Molly and Mack on a red background. "/> </noscript> </span> </span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20190701112059/https://www.bbc.co.uk/cbeebies/shows/octonauts" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="1"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/octonauts-brand-index.png" data-alt="Octonauts"></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/octonauts-brand-index.png" alt="Octonauts"/> </noscript> </span> </span><!-- --><span class="channel-banner-link__title"></span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20190701112059/https://www.bbc.co.uk/cbeebies/shows/peter-rabbit" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="2"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/peter-rabbit-brand-index.png" data-alt="Peter Rabbit."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/peter-rabbit-brand-index.png" alt="Peter Rabbit."/> </noscript> </span> </span><!-- --> </a> </li><li class="channel-banner__list-item"> <a class="channel-banner__link channel-banner-link" href="/web/20190701112059/https://www.bbc.co.uk/cbeebies/shows/andys-safari-adventures" data-stats-interaction="channel_banner" data-stats-interaction-variant="show" data-stats-interaction-position="3"> <span class="channel-banner-link__image"> <span class="responsive-img responsive-img--16x9 "> <span class="delayed-png-image-load" data-src="https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/{width}/{pixel_ratio}x/cbbc/Andys-Wild-Adventures.png" data-alt="Andy's Wild Adventures."></span> <noscript> <img src="https://web.archive.org/web/20190701112059im_/https://ichef.bbci.co.uk/childrens-responsive-ichef-live/r/400/1x/cbbc/Andys-Wild-Adventures.png" alt="Andy's Wild Adventures."/> </noscript> </span> </span><!-- --> </a> </li> </ul> <div class="channel-banner__footer"> <a class="channel-banner-close" data-stats-interaction="channel_banner" data-stats-interaction-variant="close" data-stats-interaction-action="button" data-channel-banner-close data-feedback-banner-open> <i aria-hidden="true" class="gelicon gelicon--no gelicon--leading"></i><span class="channel-banner-close__text">No thanks</span> </a> <span class="channel-banner__title">Looking for CBeebies shows?</span> </div> </div> </div> </div> </div> </section> <section class="feedback-banner-section" data-feedback-banner data-ng-class="{'feedback-banner-section--show' : !isFeedbackBannerHidden}"> <div class="feedback-banner-container window window--extra-wide"> <div class="feedback-banner"> <span class="feedback-banner__close" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="hide" data-stats-interaction-action="button" data-istats-click="cross_channel_hide"> <i aria-hidden="true" class="gelicon gelicon--no"></i> </span> <p class="feedback-banner__message">We’ll hide these CBeebies shows for 30 Days.</p> <p class="feedback-banner__undo"><a class="feedback-banner__undo-link" data-feedback-banner-close data-channel-banner-open data-stats-interaction="channel_banner" data-stats-interaction-variant="undo" data-stats-interaction-action="button" data-istats-click="cross_channel_undo">Bring them back!</a></p> <p class="feedback-banner__question">Why did you hide them?</p> <ul class="feedback-banner__options"> <li class="feedback-banner__option" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="feedback" data-stats-interaction-position="0" data-stats-interaction-action="button" data-istats-pos="0" data-istats-click="cross_channel_feedback"> <span>I don&#x27;t like those shows</span> </li> <li class="feedback-banner__option" data-feedback-banner-close data-stats-interaction="channel_banner" data-stats-interaction-variant="feedback" data-stats-interaction-position="1" data-stats-interaction-action="button" data-istats-pos="1" data-istats-click="cross_channel_feedback"> <span>I&#x27;m too old for CBeebies</span> </li> </ul> <div class="feedback-banner__image"> <img class="feedback-banner__image-inner" src="https://web.archive.org/web/20190701112059im_/https://childrens-web.files.bbci.co.uk/cbbc/www/assets/ef6ddea/images/feedback/feedbackImage.png" alt=""/> </div> </div> </div> </section> </div> <div class="cf"></div> </div> <div id="heart-button-isite-tooltip"> <div class="tooltip heart-button__tooltip" data-active-tooltip=""> <span class="tooltip__pointer"></span> <div class="tooltip__inner"> <div class="tooltip__content tooltip__content--upsell"> <p class="tooltip__subtitle"> Love this? Sign in to let us know. </p> <div class="tooltip__idcta"> <p class="id4-cta"> <span class="id4-cta-size-medium id4-cta-color-blue id4-cta-medium-blue"> <a href="" class="id4-cta-signin id4-cta-button">Sign in</a> <span class="id4-cta-with"> with your BBC iD,</span> or <a href="" class="id4-cta-register">Register</a> </span> <script> require(['jquery-1', 'idcta-v2/id-config'], ($, idctaConfig) => { idctaConfig.getConfigAsync() .then((idConfig) => { $('.id4-cta-signin').each(function () { if (idConfig.signin_url) { this.href = idConfig.signin_url; } }); $('.id4-cta-register').each(function () { if (idConfig.register_url) { this.href = idConfig.register_url; } }); }); }); </script> </p> </div> </div> <div class="tooltip__content tooltip__content--error"> <p class="tooltip__title"> <span class="add-to__icons add-to__s"> <i aria-hidden="true" class="gelicon gelicon--alert add-to__gelicon add-to__icon"></i> </span>Something&#39;s gone wrong </p> <p class="tooltip__body tooltip__try-again">Please try again later</p> </div> <button href="#" class="tooltip__close add-to__tab" title="Close" aria-label="Close Tooltip"> <span class="tooltip__close-icon"> <i aria-hidden="true" class="gelicon gelicon--no"></i> </span> </button> </div> </div> </div> <script type="text/javascript"> require(['lib/Imager', 'lib/minpubsub'], function (Imager, pubsub) { Imager.transforms.pixelRatio = function (value) { return value; }; var availableWidths = [80, 160, 240, 320, 400, 480, 560, 640, 720, 800, 880, 960]; var imagerDefault = new Imager('.delayed-image-load', { availableWidths: availableWidths, availablePixelRatios: [1, 1.5], loadHidden: false }); var imagerPng = new Imager('.delayed-png-image-load', { availableWidths: availableWidths, availablePixelRatios: [1], loadHidden: false }); var imagerGif = new Imager('.delayed-gif-image-load', { availableWidths: availableWidths, availablePixelRatios: [1, 1.5], lazyload: true, loadHidden: false }); pubsub.subscribe('/showMore/updateImages', function () { imagerDefault.add('.delayed-image-load'); imagerPng.add('.delayed-png-image-load'); }); pubsub.subscribe('/imager/addPngImages', function (selector) { imagerPng.add(selector); }); pubsub.subscribe('/imager/addImages', function (selector) { imagerDefault.add(selector); }); }); require(['childrens/singlePlayingVideo'], function (singlePlayingVideo) { setTimeout(singlePlayingVideo.setup, 2000); }); require(['stats/riddle-events'], function (riddleEvents) { riddleEvents.init(); }); require(['angular/app'], function () {}); </script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-debouncer@1.0.1"]={morph:"3.4.0"},function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){Morph.modules["bbc-morph-debouncer@1.0.1"]=t(1)},function(e,n,t){var o=t(2);e.exports=function(){function e(e,n){window.addEventListener?window.addEventListener(e,n,!1):document.documentElement.attachEvent("onpropertychange",function(t){t.propertyName===e&&n()})}function n(e){var n;document.createEvent?(n=document.createEvent("UIEvents"),n.initEvent(e,!1,!0),window.dispatchEvent(n)):(n=document.documentElement[e],n+=1)}function t(e){return setTimeout(function(){n(e+"-debounced")},i)}var r,c,i=50;o.isClientSide()&&(e("resize",function(){clearTimeout(r),r=t("resize")}),e("scroll",function(){clearTimeout(c),c=t("scroll")}))}()},function(e,n){e.exports=Morph}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-responsive-image@1.3.1"]={"bbc-morph-debouncer":"1.0.1",morph:"3.5.0",react:"0.14.7"},function(t){function e(r){if(i[r])return i[r].exports;var s=i[r]={exports:{},id:r,loaded:!1};return t[r].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){Morph.modules["bbc-morph-responsive-image@1.3.1"]=i(1)},function(t,e,i){i(2);var r=i(3),s=[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680];t.exports=r.createClass({displayName:"ResponsiveImage",propTypes:{src:r.PropTypes.string.isRequired,alt:r.PropTypes.string,className:r.PropTypes.string,width:r.PropTypes.number,availableWidths:r.PropTypes.arrayOf(r.PropTypes.number),delayed:r.PropTypes.bool,keepAspectRatio:r.PropTypes.string,aspectRatioStartPoint:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.bool])},getDefaultProps:function(){return{width:320,height:180,delayed:!1,background:!1,aspectRatioStartPoint:!1}},getInitialState:function(){var t=this.getClosestGreaterWidth(this.props.width);return{delayed:this.props.delayed,width:t,height:this.calcHeight(this.props.width),background:this.props.background,ratioStartPoint:this.isWidthAboveRatioStartPoint(t)}},componentWillUnmount:function(){window.removeEventListener&&(window.removeEventListener("resize-debounced",this.state.resizeHandler),window.removeEventListener("orientationchange",this.state.resizeHandler),this.props.triggerResizeOnClick&&window.removeEventListener("click",this.state.resizeHandler))},componentDidMount:function(){var t=function(){var t=this.getClosestGreaterWidth(this.node.parentNode.clientWidth);this.setState({width:t,height:this.calcHeight(t)})}.bind(this);window.addEventListener&&(window.addEventListener("resize-debounced",t),window.addEventListener("orientationchange",t),this.props.triggerResizeOnClick&&window.addEventListener("click",t));var e=this.getClosestGreaterWidth(this.node.parentNode.clientWidth),i=this.calcHeight(e);this.setState({delayed:!1,width:e,height:i,resizeHandler:t})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&!0===this.props.hidpi&&window.devicePixelRatio>1},defaultInterpolator:function(t,e){var i="";return this.hdpiEnabled()&&(i="-hidpi"),t.replace(/{width}/g,e+i)},interpolate:function(t,e){return this.props.customInterpolator?this.props.customInterpolator(t,e):this.defaultInterpolator(t,e)},getClosestGreaterWidth:function(t){for(var e=this.props.availableWidths||s,i=0;i<e.length;i+=1){var r=e[i];if(r>=t)return r}return e[e.length-1]},calcHeight:function(t){var e=this.getRatio(this.props.keepAspectRatio);return Math.floor(t/e)},getRatio:function(t){var e=1;if("string"==typeof t){var i=/^(\d{1,2})\:(\d{1,2})/g,r=i.exec(t);r.length>0&&(e=r[1]/r[2])}return e},isWidthAboveRatioStartPoint:function(t){return"string"==typeof this.props.keepAspectRatio&&("number"==typeof this.props.aspectRatioStartPoint&&this.props.aspectRatioStartPoint<t||!1===this.props.aspectRatioStartPoint)},setNode:function(t){this.node=t},render:function(){var t,e,i,s=this.state.width;return i=this.isWidthAboveRatioStartPoint(s)?{maxHeight:this.state.height}:{},this.state.delayed?e=r.createElement("img",{ref:this.setNode,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(t={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},e=r.createElement("div",{ref:this.setNode,style:t,className:this.props.className})):e=r.createElement("img",{ref:this.setNode,src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className,style:i}),e}})},function(t,e){t.exports=Morph.modules["bbc-morph-debouncer@1.0.1"]},function(t,e){t.exports=React}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-debouncer@2.1.1"]={morph:"3.10.0"},function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){Morph.modules["bbc-morph-debouncer@2.1.1"]=t(1)},function(e,n,t){function o(e,n,t){t||(t="-debounced"+n);var o=e+t;timeouts[o]||r(e,function(){clearTimeout(timeouts[o]),timeouts[o]=u(e,t,n)})}function r(e,n){window.addEventListener?window.addEventListener(e,n,!1):document.documentElement.attachEvent("onpropertychange",function(t){t.propertyName===e&&n()})}function c(e){var n;document.createEvent?(n=document.createEvent("UIEvents"),n.initEvent(e,!1,!0),window.dispatchEvent(n)):(n=document.documentElement[e],n+=1)}function u(e,n,t){return setTimeout(function(){c(e+n)},t)}var i=t(2),d=50;timeouts={},function(){i.isClientSide()&&(o("resize",d,"-debounced"),o("scroll",d,"-debounced"))}(),e.exports={addDebouncedEvent:o}},function(e,n){e.exports=Morph}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-childrens-games-view@1.11.10"]={"@bugsnag/js":"6.3.1","@babel/polyfill":"7.4.4","@babel/runtime":"7.4.5","bbc-morph-debouncer":"2.1.1","bbc-morph-games-data":"1.1.0","bbc-morph-id-availability-data":"1.0.0","bbc-morph-responsive-image":"1.3.1","@bbc/echo-client-js":"12.4.0","es6-promise":"4.2.8","isomorphic-fetch":"2.2.1","morph-container":"4.0.0","morph-require":"5.2.1","react":"0.14.7"}; !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=89)}([function(e,t,n){var i=n(2);i(i.S+i.F*!n(10),"Object",{defineProperty:n(16).f})},function(e,t,n){var i=n(44)("wks"),r=n(43),o=n(6).Symbol,s="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(6),r=n(18),o=n(15),s=n(17),a=n(19),u=function(e,t,n){var c,l,f,d,p=e&u.F,h=e&u.G,_=e&u.S,g=e&u.P,v=e&u.B,m=h?i:_?i[t]||(i[t]={}):(i[t]||{}).prototype,E=h?r:r[t]||(r[t]={}),y=E.prototype||(E.prototype={});h&&(n=t);for(c in n)l=!p&&m&&void 0!==m[c],f=(l?m:n)[c],d=v&&l?a(f,i):g&&"function"==typeof f?a(Function.call,f):f,m&&s(m,c,f,e&u.U),E[c]!=f&&o(E,c,d),g&&y[c]!=f&&(y[c]=f)};i.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";var i=n(36),r={};r[n(1)("toStringTag")]="z",r+""!="[object z]"&&n(17)(Object.prototype,"toString",function(){return"[object "+i(this)+"]"},!0)},function(e,t,n){"use strict";var i,r,o,s,a=n(45),u=n(6),c=n(19),l=n(36),f=n(2),d=n(9),p=n(20),h=n(108),_=n(109),g=n(65),v=n(66).set,m=n(113)(),E=n(68),y=n(114),b=n(115),S=n(116),A=u.TypeError,I=u.process,T=I&&I.versions,C=T&&T.v8||"",P=u.Promise,O="process"==l(I),w=function(){},N=r=E.f,R=!!function(){try{var e=P.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(w,w)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(w)instanceof t&&0!==C.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),D=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},L=function(e,t){if(!e._n){e._n=!0;var n=e._c;m(function(){for(var i=e._v,r=1==e._s,o=0;n.length>o;)!function(t){var n,o,s,a=r?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{a?(r||(2==e._h&&x(e),e._h=1),!0===a?n=i:(l&&l.enter(),n=a(i),l&&(l.exit(),s=!0)),n===t.promise?c(A("Promise-chain cycle")):(o=D(n))?o.call(n,u,c):u(n)):c(i)}catch(e){l&&!s&&l.exit(),c(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&B(e)})}},B=function(e){v.call(u,function(){var t,n,i,r=e._v,o=M(e);if(o&&(t=y(function(){O?I.emit("unhandledRejection",r,e):(n=u.onunhandledrejection)?n({promise:e,reason:r}):(i=u.console)&&i.error&&i.error("Unhandled promise rejection",r)}),e._h=O||M(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},M=function(e){return 1!==e._h&&0===(e._a||e._c).length},x=function(e){v.call(u,function(){var t;O?I.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},k=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),L(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw A("Promise can't be resolved itself");(t=D(e))?m(function(){var i={_w:n,_d:!1};try{t.call(e,c(U,i,1),c(k,i,1))}catch(e){k.call(i,e)}}):(n._v=e,n._s=1,L(n,!1))}catch(e){k.call({_w:n,_d:!1},e)}}};R||(P=function(e){h(this,P,"Promise","_h"),p(e),i.call(this);try{e(c(U,this,1),c(k,this,1))}catch(e){k.call(this,e)}},i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n(117)(P.prototype,{then:function(e,t){var n=N(g(this,P));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?I.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=c(U,e,1),this.reject=c(k,e,1)},E.f=N=function(e){return e===P||e===s?new o(e):r(e)}),f(f.G+f.W+f.F*!R,{Promise:P}),n(50)(P,"Promise"),n(69)("Promise"),s=n(18).Promise,f(f.S+f.F*!R,"Promise",{reject:function(e){var t=N(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(a||!R),"Promise",{resolve:function(e){return S(a&&this===s?P:this,e)}}),f(f.S+f.F*!(R&&n(118)(function(e){P.all(e).catch(w)})),"Promise",{all:function(e){var t=this,n=N(t),i=n.resolve,r=n.reject,o=y(function(){var n=[],o=0,s=1;_(e,!1,function(e){var a=o++,u=!1;n.push(void 0),s++,t.resolve(e).then(function(e){u||(u=!0,n[a]=e,--s||i(n))},r)}),--s||i(n)});return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=N(t),i=n.reject,r=y(function(){_(e,!1,function(e){t.resolve(e).then(n.resolve,i)})});return r.e&&i(r.v),n.promise}})},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var i=n(9);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=React},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(11)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var i=n(7),r=n(21),o=n(23),s=n(35),a=n(46),u=n(47),c=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n(48)("replace",2,function(e,t,n,_){function g(e,t,i,o,s,a){var u=i+e.length,c=o.length,l=p;return void 0!==s&&(s=r(s),l=d),n.call(a,l,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(u);case"<":a=s[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>c){var d=f(l/10);return 0===d?n:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}a=o[l-1]}return void 0===a?"":a})}return[function(i,r){var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=_(n,e,this,t);if(r.done)return r.value;var f=i(e),d=String(this),p="function"==typeof t;p||(t=String(t));var v=f.global;if(v){var m=f.unicode;f.lastIndex=0}for(var E=[];;){var y=u(f,d);if(null===y)break;if(E.push(y),!v)break;""===String(y[0])&&(f.lastIndex=a(d,o(f.lastIndex),m))}for(var b="",S=0,A=0;A<E.length;A++){y=E[A];for(var I=String(y[0]),T=c(l(s(y.index),d.length),0),C=[],P=1;P<y.length;P++)C.push(h(y[P]));var O=y.groups;if(p){var w=[I].concat(C,T,d);void 0!==O&&w.push(O);var N=String(t.apply(void 0,w))}else N=g(I,d,T,C,O,t);T>=S&&(b+=d.slice(S,T)+N,S=T+I.length)}return b+d.slice(S)}]})},function(e,t,n){var i=n(2);i(i.P,"Function",{bind:n(95)})},function(e,t,n){"use strict";var i=n(2),r=n(37)(1);i(i.P+i.F*!n(34)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(16),r=n(42);e.exports=n(10)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(7),r=n(59),o=n(60),s=Object.defineProperty;t.f=n(10)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(6),r=n(15),o=n(27),s=n(43)("src"),a=n(94),u=(""+a).split("toString");n(18).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(o(n,s)||r(n,s,e[t]?""+e[t]:u.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(20);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(22);e.exports=function(e){return Object(i(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(35),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(16).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(10)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var i=n(7),r=n(23),o=n(46),s=n(47);n(48)("match",1,function(e,t,n,a){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var u=i(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var f,d=[],p=0;null!==(f=s(u,c));){var h=String(f[0]);d[p]=h,""===h&&(u.lastIndex=o(c,r(u.lastIndex),l)),p++}return 0===p?null:d}]})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}e.exports=i},function(e,t,n){function i(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}var r=n(96),o=n(62);e.exports=i},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}var r=n(97);e.exports=i},function(e,t){e.exports={}},function(e,t,n){"use strict";var i=n(11);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(24),r=n(1)("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var i=n(19),r=n(51),o=n(21),s=n(23),a=n(123);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,d=5==e||f,p=t||a;return function(t,a,h){for(var _,g,v=o(t),m=r(v),E=i(a,h,3),y=s(m.length),b=0,S=n?p(t,y):u?p(t,0):void 0;y>b;b++)if((d||b in m)&&(_=m[b],g=E(_,b,v),e))if(n)S[b]=g;else if(g)switch(e){case 3:return!0;case 5:return _;case 6:return b;case 2:S.push(_)}else if(l)return!1;return f?-1:c||l?l:S}}},function(e,t,n){var i=n(51),r=n(22);e.exports=function(e){return i(r(e))}},function(e,t,n){var i=n(76),r=n(57);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){"use strict";var i=n(2),r=n(55)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(34)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(9),r=n(6).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(18),r=n(6),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(45)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},function(e,t,n){"use strict";var i=n(101)(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},function(e,t,n){"use strict";var i=n(36),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";n(102);var i=n(17),r=n(15),o=n(11),s=n(22),a=n(1),u=n(49),c=a("species"),l=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=a(e),p=!o(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),h=p?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[d](""),!t}):void 0;if(!p||!h||"replace"===e&&!l||"split"===e&&!f){var _=/./[d],g=n(s,d,""[e],function(e,t,n,i,r){return t.exec===u?p&&!r?{done:!0,value:_.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),v=g[0],m=g[1];i(String.prototype,e,v),r(RegExp.prototype,d,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)})}}},function(e,t,n){"use strict";var i=n(64),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=void 0!==/()??/.exec("")[1];(a||u)&&(s=function(e){var t,n,s,c,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),a&&(t=l.lastIndex),s=r.call(l,e),a&&s&&(l.lastIndex=l.global?s.index+s[0].length:t),u&&s&&s.length>1&&o.call(s[0],n,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)}),s}),e.exports=s},function(e,t,n){var i=n(16).f,r=n(27),o=n(1)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(24);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";function i(e){return/^https?:\/\/([a-z-.]*\.)?bbci?\.co(m|\.uk)(\/.*)?$/.test(e)?e:""}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.getValidUrl=i},function(e,t,n){"use strict";var i=n(54),r=n(147),o=n(33),s=n(38);e.exports=n(148)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var i=n(1)("unscopables"),r=Array.prototype;void 0==r[i]&&n(15)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(38),r=n(23),o=n(151);e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var i=n(44)("keys"),r=n(43);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(9),r=n(24),o=n(1)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){e.exports=!n(10)&&!n(11)(function(){return 7!=Object.defineProperty(n(41)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(9);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t){e.exports=Morph},function(e,t,n){"use strict";var i=n(7);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var i=n(7),r=n(20),o=n(1)("species");e.exports=function(e,t){var n,s=i(e).constructor;return void 0===s||void 0==(n=i(s)[o])?t:r(n)}},function(e,t,n){var i,r,o,s=n(19),a=n(61),u=n(67),c=n(41),l=n(6),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,_=l.Dispatch,g=0,v={},m=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},E=function(e){m.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){a("function"==typeof e?e:Function(e),t)},i(g),g},p=function(e){delete v[e]},"process"==n(24)(f)?i=function(e){f.nextTick(s(m,e,1))}:_&&_.now?i=function(e){_.now(s(m,e,1))}:h?(r=new h,o=r.port2,r.port1.onmessage=E,i=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(i=function(e){l.postMessage(e+"","*")},l.addEventListener("message",E,!1)):i="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),m.call(e)}}:function(e){setTimeout(s(m,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){var i=n(6).document;e.exports=i&&i.documentElement},function(e,t,n){"use strict";function i(e){var t,n;this.promise=new e(function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i}),this.resolve=r(t),this.reject=r(n)}var r=n(20);e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";var i=n(6),r=n(16),o=n(10),s=n(1)("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){n(120),e.exports=self.fetch.bind(self)},function(e,t,n){"use strict";var i=n(2),r=n(37)(0),o=n(34)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(2),r=n(20),o=n(21),s=n(11),a=[].sort,u=[1,2,3];i(i.P+i.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!n(34)(a)),"Array",{sort:function(e){return void 0===e?a.call(o(this)):a.call(o(this),r(e))}})},function(e,t){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};i.get||i.set?Object.defineProperty(t,n,i):t[n]=e[n]}return t.default=e,t}e.exports=n},function(e,t,n){for(var i=n(53),r=n(39),o=n(17),s=n(6),a=n(15),u=n(33),c=n(1),l=c("iterator"),f=c("toStringTag"),d=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=r(p),_=0;_<h.length;_++){var g,v=h[_],m=p[v],E=s[v],y=E&&E.prototype;if(y&&(y[l]||a(y,l,d),y[f]||a(y,f,v),u[v]=d,m))for(g in i)y[g]||o(y,g,i[g],!0)}},function(e,t,n){var i=n(7),r=n(150),o=n(57),s=n(56)("IE_PROTO"),a=function(){},u=function(){var e,t=n(41)("iframe"),i=o.length;for(t.style.display="none",n(67).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;i--;)delete u.prototype[o[i]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=i(e),n=new a,a.prototype=null,n[s]=e):n=u(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(27),r=n(38),o=n(55)(!1),s=n(56)("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);for(;t.length>u;)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var i=n(21),r=n(39);n(153)("keys",function(){return function(e){return r(i(e))}})},function(e,t,n){"use strict";var i=n(2),r=n(37)(2);i(i.P+i.F*!n(34)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";function i(e,t){e.top.location=decodeURI(t)}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.openUrlAtWindowTop=i},function(e,t,n){"use strict";n(155)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){var i=n(6),r=n(157),o=n(16).f,s=n(160).f,a=n(58),u=n(64),c=i.RegExp,l=c,f=c.prototype,d=/a/g,p=/a/g,h=new c(d)!==d;if(n(10)&&(!h||n(11)(function(){return p[n(1)("match")]=!1,c(d)!=d||c(p)==p||"/a/i"!=c(d,"i")}))){c=function(e,t){var n=this instanceof c,i=a(e),o=void 0===t;return!n&&i&&e.constructor===c&&o?e:r(h?new l(i&&!o?e.source:e,t):l((i=e instanceof c)?e.source:e,i&&o?u.call(e):t),n?this:f,c)};for(var _=s(l),g=0;_.length>g;)!function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}(_[g++]);f.constructor=c,c.prototype=f,n(17)(i,"RegExp",c)}n(69)("RegExp")},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var i=n(58),r=n(7),o=n(65),s=n(46),a=n(23),u=n(47),c=n(49),l=n(11),f=Math.min,d=[].push,p="length",h=!l(function(){RegExp(4294967295,"y")});n(48)("split",2,function(e,t,n,l){var _;return _="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);for(var o,s,a,u=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,_=new RegExp(e.source,l+"g");(o=c.call(_,r))&&!((s=_.lastIndex)>f&&(u.push(r.slice(f,o.index)),o[p]>1&&o.index<r[p]&&d.apply(u,o.slice(1)),a=o[0][p],f=s,u[p]>=h));)_.lastIndex===o.index&&_.lastIndex++;return f===r[p]?!a&&_.test("")||u.push(""):u.push(r.slice(f)),u[p]>h?u.slice(0,h):u}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):_.call(String(r),n,i)},function(e,t){var i=l(_,e,this,t,_!==n);if(i.done)return i.value;var c=r(e),d=String(this),p=o(c,RegExp),g=c.unicode,v=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),m=new p(h?c:"^(?:"+c.source+")",v),E=void 0===t?4294967295:t>>>0;if(0===E)return[];if(0===d.length)return null===u(m,d)?[d]:[];for(var y=0,b=0,S=[];b<d.length;){m.lastIndex=h?b:0;var A,I=u(m,h?d:d.slice(b));if(null===I||(A=f(a(m.lastIndex+(h?0:b)),d.length))===y)b=s(d,b,g);else{if(S.push(d.slice(y,b)),S.length===E)return S;for(var T=1;T<=I.length-1;T++)if(S.push(I[T]),S.length===E)return S;b=y=A}}return S.push(d.slice(y)),S}]})},function(e,t,n){var i=n(2);i(i.S,"Object",{create:n(75)})},function(e,t,n){"use strict";var i=n(2),r=n(55)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(54)("includes")},function(e,t,n){"use strict";var i=n(2),r=n(168);i(i.P+i.F*n(169)("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var i=n(2),r=n(37)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(54)("find")},function(e,t,n){var i=n(2);i(i.S+i.F,"Object",{assign:n(172)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(90),r=n.n(i);Morph.modules["bbc-morph-childrens-games-view@1.11.10"]=r.a},function(e,t,n){"use strict";e.exports=n(91)},function(e,t,n){"use strict";var i=n(3),r=i(n(92)),o=i(n(93)),s=function(e){var t={uri:{data:"bbc-morph-games-data",game:e.game||e.gid,project:"childrensgames",baseUrl:"/childrens/assets/games"},updates:!1,requireSuccess:!0};return e.versionOverride&&(t.uri.versionOverride=e.versionOverride),e.viewNonPublished&&(t.uri.viewNonPublished=e.viewNonPublished),t};e.exports=r.default.create(o.default,{data:function(e){return{data:s(e),idAvailabilityData:{uri:{data:"bbc-morph-id-availability-data"},requireSuccess:!0,updates:!1},idConfigData:{uri:{service:"bbcid-config-couk",path:"?"},requireSuccess:!0,updates:!1}}}})},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-childrens-games-view@1.11.10",e,t)}}},function(e,t,n){"use strict";n(13),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(13);var r,o,s=i(n(28)),a=i(n(29)),u=i(n(30)),c=i(n(31)),l=i(n(62)),f=i(n(32)),d=i(n(8)),p=i(n(98)),h=i(n(100)),_=i(n(105)),g=i(n(106)),v=i(n(107)),m=i(n(122)),E=i(n(126)),y=n(127),b=i(n(132)),S=i(n(133)),A=i(n(140)),I=n(52),T=n(141),C=n(142),P=n(52),O=n(143),w=n(144),N=n(145),R=n(146),D=n(79),L=function(){window.bbccookies=n(154)},B=function(e){return"true"===e||!0===e},M=function(e){function t(e){var n;return(0,s.default)(this,t),n=(0,u.default)(this,(0,c.default)(t).call(this,e)),n.bugSnagEnabled=n.props.bugSnagEnabled||!1,n.loadGameFromCta=n.loadGameFromCta.bind((0,l.default)(n)),n.state={showIframe:!1,showCta:n.showCta(),showSettings:!1,showErrorMessage:!1,loadingSpinnerEnabled:!0,useBrim:!1,showRedirectMessage:!1,componentMounted:!1,notificationFired:void 0},B(n.props.showFullscreen)&&C.selfTransitiveThenUpdate("fullscreen",(0,l.default)(n)),n}return(0,f.default)(t,e),(0,a.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.setUpWindowObject(),this.setState({componentMounted:!0,useBrim:N.brimNeeded(window)});var t=this.props.data.body.embedVars.lockedRedirectUrl,n=function(){return!e.showCta()&&e.loadGame()},i=this.redirectTo(t),r=this.authenticateWithRedirect(this.props.data.body,n,i),s=t?3:1;o=v.default.inject(document.head,s),t?o.then(r).catch(function(){return e.setState({showErrorMessage:!0,loadingSpinnerEnabled:!1})}):n()}},{key:"getGameWrapperProps",value:function(){var e={className:"game-wrapper"};return this.isFixedSize()&&this.state.showIframe&&(e.className+=" game-wrapper--fixedsize",e.style={width:this.props.data.body.width,height:this.props.data.body.height}),e}},{key:"getGameHolderProps",value:function(){return{id:this.isLegacyGame()?"og-game-holder":"game-holder",className:"game-wrapper__game","aria-hidden":this.state.showSettings?"true":null,tabIndex:this.state.showSettings?"-1":null}}},{key:"setUpWindowObject",value:function(){window.cage={gameId:this.props.data.body.id,gameDir:(0,T.setUrlOrigin)(this.props.data.body.gameDir,this.props.data.body.environment,window),exitGameUrl:P.getValidUrl(this.props.exitGameUrl),embedVars:this.props.data.body.embedVars,gameContainerId:"game-holder",environment:window.Morph.config.pushEnv||"test",isFullScreen:O.isFullscreen(window,B(this.props.showFullscreen))},this.isLegacyGame()&&(window.og=window.cage,window.og.gameContainerId="og-game-holder")}},{key:"setRequireConfig",value:function(){requirejs({paths:{Game:(0,T.setUrlOrigin)(this.props.data.body.url,this.props.data.body.environment,window),echo:"https://web.archive.org/web/20190701112059/https://static.bbci.co.uk/nkdata/echoclient/2.0.0/sharedmodules/echo"},waitSeconds:30,baseUrl:(0,T.setUrlOrigin)(this.props.data.body.gameDir,this.props.data.body.environment,window)})}},{key:"redirectTo",value:function(e){var t=this;return function(){t.setState({showRedirectMessage:!0}),D.openUrlAtWindowTop(window,e)}}},{key:"authenticateWithRedirect",value:function(e,t,n){return function(i){return(0,S.default)(i,e).then(t).catch(n)}}},{key:"isFixedSize",value:function(){var e=this.props.data.body;return!B(e.responsive)&&!(!e.width||!e.height)}},{key:"showCta",value:function(){return B(this.props.showCallToAction)}},{key:"isLegacyGame",value:function(){return B(this.props.data.body.isLegacyGame)}},{key:"delayLoadingSpinnerRemoval",value:function(){var e=this;setTimeout(function(){e.setState({loadingSpinnerEnabled:!1})},1e4)}},{key:"loadGameFromCta",value:function(){if(window.cage.isFullScreen)return this.loadGame(),void this.setState({showCta:!1});if(w.isMobile(window,screen)){var e=R.generate(window,this.props);D.openUrlAtWindowTop(window,e)}else this.setState({showIframe:!0}),this.delayLoadingSpinnerRemoval()}},{key:"addBugsnag",value:function(){if(this.bugSnagEnabled){var e=n(161);window.bugsnagClient=e({apiKey:"6f60db20524e1d13eec8466104896551",collectUserIp:!1})}}},{key:"loadGame",value:function(){var e=this;L();var t=n(163)(this.props,o),i=n(166);this.addBugsnag(),r=n(167)(window,i,function(t){e.setState(t)},t),window.getGMI=r.getGMI,this.setRequireConfig(),this.requireAndInitGame()}},{key:"requireAndInitGame",value:function(){var e=this;requirejs(["Game","echo"],function(t){t&&"function"==typeof t.init&&t.init(),e.delayLoadingSpinnerRemoval()},function(t){console.log(t),e.setState({showErrorMessage:!0,loadingSpinnerEnabled:!1})})}},{key:"renderRotateScreen",value:function(){var e=Boolean(this.props.data.body.embedVars&&B(this.props.data.body.embedVars.showRotateScreen));return d.default.createElement(b.default,{windowObj:window,showRotate:e})}},{key:"renderGameHolder",value:function(){var e=this;return d.default.createElement("div",null,this.state.componentMounted&&this.renderRotateScreen(),d.default.createElement("div",this.getGameHolderProps()),d.default.createElement(E.default,{notificationKey:this.state.notificationFired,gmi:this.state.gmi}),this.state.showAchievements&&d.default.createElement(y.AchievementsScreen,{gmi:this.state.gmi}),this.state.useBrim&&d.default.createElement(p.default,{windowObj:window}),this.state.showSettings&&d.default.createElement(m.default,{isMobile:w.isMobile(window,screen),gmi:this.state.gmi,gmiOptions:this.state.gmiOptions,closeSettingsView:function(){e.setState({showSettings:!1},function(){e.state.onSettingsClosed()})},onSettingChanged:this.state.onSettingChanged}))}},{key:"renderIframe",value:function(){var e={src:R.generate(window,this.props),className:this.isFixedSize()?"game-wrapper__iframe--fixedsize":"game-wrapper__iframe",marginWidth:"0",marginHeight:"0"};return this.isFixedSize()&&(e.width=this.props.data.body.width,e.height=this.props.data.body.height),d.default.createElement("iframe",e)}},{key:"renderCallToAction",value:function(){var e=this.props.data.body.heroImagePid;return d.default.createElement("div",{className:"game-wrapper__cta",onClick:this.loadGameFromCta},e&&d.default.createElement(h.default,{imagePid:e}),d.default.createElement(g.default,null))}},{key:"renderError",value:function(){return 200!==this.props.data.meta.responseCode||!0===this.state.showErrorMessage?d.default.createElement("div",{className:"game-wrapper__error"},"This content could not be found."):this.state.showRedirectMessage?d.default.createElement(A.default,{url:(0,I.getValidUrl)(this.props.data.body.embedVars.lockedRedirectUrl)}):null}},{key:"renderGameContent",value:function(){return this.state.showIframe?this.renderIframe():this.state.showCta?this.renderCallToAction():this.renderGameHolder()}},{key:"renderContent",value:function(){return d.default.createElement("div",null,this.state.loadingSpinnerEnabled&&d.default.createElement(_.default,null),this.renderGameContent())}},{key:"render",value:function(){return d.default.createElement("div",this.getGameWrapperProps(),this.renderError()||this.renderContent())}}]),t}(d.default.Component);t.default=M,M.displayName="Childrens-Games-View__Game",M.propTypes={bugSnagEnabled:d.default.PropTypes.bool,data:d.default.PropTypes.object.isRequired,game:d.default.PropTypes.string.isRequired,exitGameUrl:d.default.PropTypes.string,showCallToAction:d.default.PropTypes.oneOfType([d.default.PropTypes.string,d.default.PropTypes.bool])}},function(e,t,n){e.exports=n(44)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";var i=n(20),r=n(9),o=n(61),s=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";a[t]=Function("F,a","return new F("+i.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=i(this),n=s.call(arguments,1),a=function(){var i=n.concat(s.call(arguments));return this instanceof a?u(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=i=function(e){return n(e)}:e.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},i(t)}e.exports=i},function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,i)}e.exports=n},function(e,t,n){"use strict";n(13),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(13);var r=i(n(28)),o=i(n(29)),s=i(n(30)),a=i(n(31)),u=i(n(32)),c=i(n(8)),l=n(99),f=function(e){function t(e){var n;return(0,r.default)(this,t),n=(0,s.default)(this,(0,a.default)(t).call(this,e)),n.state={hideBrim:!1},n}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){(0,l.addDebouncedEvent)("resize",500),this.onResize(),this.props.windowObj.addEventListener("resize-debounced500",this.onResize.bind(this))}},{key:"componentWillUnmount",value:function(){this.props.windowObj.removeEventListener("resize-debounced500",this.onResize.bind(this))}},{key:"onResize",value:function(){var e=this.props.windowObj,t=e.innerHeight>e.innerWidth,n=e.innerHeight===e.screen.width,i=t||n;this.setState({hideBrim:i})}},{key:"render",value:function(){var e={id:"cage-brim",className:"cage-brim".concat(this.state.hideBrim?" cage-brim--disabled":"")};return c.default.createElement("div",e,c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__hand"},c.default.createElement("path",{fill:"#FFFFFF",d:"M163.8,229.5c23.6-10.7,44-20,55-29s9.1-18.2,7-28c-2-9.5,3.5-14.5,3.5-27.5s-0.3-27.3-18-45c-19-19-14-33-37-33c-16,0-19,17-19,17s-13-14-28-5s-13,17-13,17s-6.1-16.5-18-37c-5.5-9.5-22.5-7.5-28-4c-8.4,5.4-16,16-6,35s32,63,32,63s-24-9-32,3s-9,29,2,33s47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}),c.default.createElement("g",{fill:"#DADADA"},c.default.createElement("path",{d:"M120.1,107.4c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,0.3-14.5,3-25.9c-9.9,6.5-11.1,12.3-11.2,14.7c0,0.2,0,0.4,0,0.5c0,0,0,0,0,0c0,0.1,0,0.2,0.1,0.4C117.5,105.3,118.4,106.2,120.1,107.4z"}),c.default.createElement("path",{d:"M155.3,83.9c0.6,3.8,3.1,7.4,4.8,8.5c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,1.3-11.2,3.9-22.4C157.7,72.8,155.5,82.8,155.3,83.9z"}),c.default.createElement("path",{d:"M101.2,153.7c0.9,0.1,1.5-0.8,1.1-1.6c-4.4-8.5-22.8-44.2-31-61.1c-11.2-22.8-0.8-30.5,7.5-36.8c0.9-0.7,0.3-2.1-0.8-2c-4,0.4-7.7,1.5-9.7,2.8c-8.4,5.4-16,16-6,35c9.3,17.8,29.2,57.4,31.7,62.5c0.2,0.3,0.5,0.6,0.9,0.6L101.2,153.7z"}),c.default.createElement("path",{d:"M163.8,229.5c23.6-10.7,44-20,55-29c6.7-5.5,8.6-11,8.6-16.8c-2.2,4.1-6.3,8.8-11.6,11.8c-18,10-36,21-50,25c-19,7-21-11-21-11s-63-21-78-27c-5.4-2.2-7.8-9.5-8.7-18.1c-3.7,10.4-2.4,21.4,6.2,24.6c11,4,47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}))),c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__hand-tap"},c.default.createElement("path",{fill:"#FFFFFF",d:"M82.8,70.9c-5-5-21-16-33-2c-14,19-3,28,23,51s26,34,26,34l-4.5-1c0,0-24-9-32,3s-9,29,2,33s47,20,78,24c0,0,5,24,21.5,16.5c23.6-10.7,44-20,55-29s9.1-18.2,7-28c-2-9.5,3.5-14.5,3.5-27.5s-0.3-27.3-18-45c-19-19-14-33-37-33c-16,0-19,17-19,17s-13-14-28-5s-13,17-13,17L82.8,70.9z"}),c.default.createElement("g",{fill:"#DADADA"},c.default.createElement("path",{d:"M120.1,107.4c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,0.3-14.5,3-25.9c-9.9,6.5-11.1,12.3-11.2,14.7c0,0.2,0,0.4,0,0.5c0,0,0,0,0,0c0,0.1,0,0.2,0.1,0.4C117.5,105.3,118.4,106.2,120.1,107.4z"}),c.default.createElement("path",{d:"M155.3,83.9c0.6,3.8,3.1,7.4,4.8,8.5c1,0.7,2.3-0.1,2.2-1.3c-0.1-3.3,1.3-11.2,3.9-22.4C157.7,72.8,155.5,82.8,155.3,83.9z"}),c.default.createElement("path",{d:"M163.8,229.5c23.6-10.7,44-20,55-29c6.7-5.5,8.6-11,8.6-16.8c-2.2,4.1-6.3,8.8-11.6,11.8c-18,10-36,21-50,25c-19,7-21-11-21-11s-63-21-78-27c-5.4-2.2-7.8-9.5-8.7-18.1c-3.7,10.4-2.4,21.4,6.2,24.6c11,4,47,20,78,24C142.3,213,147.3,237,163.8,229.5z"}),c.default.createElement("path",{d:"M72.8,119.9c12.1,10.7,18.5,18.8,22,24.4v-7c0-4.6-2.1-8.9-5.7-11.8C81,119.1,66.2,107,57.8,97.9c-8.6-9.4-7-25,8.4-35.7c-5.4-0.7-11.2,0.7-16.4,6.7C35.8,87.9,46.8,96.9,72.8,119.9z"}))),c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 273 283",className:"cage-brim__arrow"},c.default.createElement("path",{fill:"#FFFFFF",d:"M139.1,82.4L91.6,130c-2,2-2,5.3,0,7.3l10.9,10.9c2.1,2.1,5.4,2,7.4-0.1l19.2-20.6V197c0,2.8,2.3,5.1,5.1,5.1h17.1c2.8,0,5.1-2.3,5.1-5.1v-69.7l19.2,20.6c2,2.1,5.3,2.2,7.4,0.1l10.9-10.9c2-2,2-5.3,0-7.3l-47.5-47.5C144.4,80.4,141.1,80.4,139.1,82.4z"})),c.default.createElement("p",{className:"cage-brim__text"},"Swipe up to return to the game!"))}}]),t}(c.default.Component);t.default=f,f.displayName="Childrens-Games-View__Brim",f.propTypes={windowObj:c.default.PropTypes.object}},function(e,t,n){function i(e,t,n){n||(n="-debounced"+t);var i=e+n;timeouts[i]||r(e,function(){clearTimeout(timeouts[i]),timeouts[i]=s(e,n,t)})}function r(e,t){window.addEventListener?window.addEventListener(e,t,!1):document.documentElement.attachEvent("onpropertychange",function(n){n.propertyName===e&&t()})}function o(e){var t;document.createEvent?(t=document.createEvent("UIEvents"),t.initEvent(e,!1,!0),window.dispatchEvent(t)):(t=document.documentElement[e],t+=1)}function s(e,t,n){return setTimeout(function(){o(e+t)},n)}var a=n(63);timeouts={},function(){a.isClientSide()&&(i("resize",50,"-debounced"),i("scroll",50,"-debounced"))}(),e.exports={addDebouncedEvent:i}},function(e,t,n){"use strict";n(12),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(12);var r=i(n(28)),o=i(n(29)),s=i(n(30)),a=i(n(31)),u=i(n(32)),c=i(n(8)),l=i(n(103)),f=function(e){function t(){return(0,r.default)(this,t),(0,s.default)(this,(0,a.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"customInterpolator",value:function(e,t){var n=Math.round(9*t/16),i="".concat(t,"x").concat(n);return e.replace(/{width-height}/g,i)}},{key:"render",value:function(){var e={src:"https://web.archive.org/web/20190701112059/https://ichef.bbci.co.uk/images/ic/{width-height}/".concat(this.props.imagePid,".jpg"),customInterpolator:this.customInterpolator,aspectRatioStartPoint:1,chefSizes:[400,512,608,704,800],delayed:!0};return c.default.createElement(l.default,e)}}]),t}(c.default.Component);t.default=f,f.displayName="Childrens-Games-View__Hero-Image",f.propTypes={imagePid:c.default.PropTypes.string}},function(e,t,n){var i=n(35),r=n(22);e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),u=i(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},function(e,t,n){"use strict";var i=n(49);n(2)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(e,t,n){n(104);var i=n(8),r=[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680];e.exports=i.createClass({displayName:"ResponsiveImage",propTypes:{src:i.PropTypes.string.isRequired,alt:i.PropTypes.string,className:i.PropTypes.string,width:i.PropTypes.number,availableWidths:i.PropTypes.arrayOf(i.PropTypes.number),delayed:i.PropTypes.bool,keepAspectRatio:i.PropTypes.string,aspectRatioStartPoint:i.PropTypes.oneOfType([i.PropTypes.number,i.PropTypes.bool])},getDefaultProps:function(){return{width:320,height:180,delayed:!1,background:!1,aspectRatioStartPoint:!1}},getInitialState:function(){var e=this.getClosestGreaterWidth(this.props.width);return{delayed:this.props.delayed,width:e,height:this.calcHeight(this.props.width),background:this.props.background,ratioStartPoint:this.isWidthAboveRatioStartPoint(e)}},componentWillUnmount:function(){window.removeEventListener&&(window.removeEventListener("resize-debounced",this.state.resizeHandler),window.removeEventListener("orientationchange",this.state.resizeHandler),this.props.triggerResizeOnClick&&window.removeEventListener("click",this.state.resizeHandler))},componentDidMount:function(){var e=function(){var e=this.getClosestGreaterWidth(this.node.parentNode.clientWidth);this.setState({width:e,height:this.calcHeight(e)})}.bind(this);window.addEventListener&&(window.addEventListener("resize-debounced",e),window.addEventListener("orientationchange",e),this.props.triggerResizeOnClick&&window.addEventListener("click",e));var t=this.getClosestGreaterWidth(this.node.parentNode.clientWidth),n=this.calcHeight(t);this.setState({delayed:!1,width:t,height:n,resizeHandler:e})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&!0===this.props.hidpi&&window.devicePixelRatio>1},defaultInterpolator:function(e,t){var n="";return this.hdpiEnabled()&&(n="-hidpi"),e.replace(/{width}/g,t+n)},interpolate:function(e,t){return this.props.customInterpolator?this.props.customInterpolator(e,t):this.defaultInterpolator(e,t)},getClosestGreaterWidth:function(e){for(var t=this.props.availableWidths||r,n=0;n<t.length;n+=1){var i=t[n];if(i>=e)return i}return t[t.length-1]},calcHeight:function(e){var t=this.getRatio(this.props.keepAspectRatio);return Math.floor(e/t)},getRatio:function(e){var t=1;if("string"==typeof e){var n=/^(\d{1,2})\:(\d{1,2})/g,i=n.exec(e);i.length>0&&(t=i[1]/i[2])}return t},isWidthAboveRatioStartPoint:function(e){return"string"==typeof this.props.keepAspectRatio&&("number"==typeof this.props.aspectRatioStartPoint&&this.props.aspectRatioStartPoint<e||!1===this.props.aspectRatioStartPoint)},setNode:function(e){this.node=e},render:function(){var e,t,n,r=this.state.width;return n=this.isWidthAboveRatioStartPoint(r)?{maxHeight:this.state.height}:{},this.state.delayed?t=i.createElement("img",{ref:this.setNode,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(e={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},t=i.createElement("div",{ref:this.setNode,style:e,className:this.props.className})):t=i.createElement("img",{ref:this.setNode,src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className,style:n}),t}})},function(e,t,n){var i=n(63);e.exports=function(){function e(e,t){window.addEventListener?window.addEventListener(e,t,!1):document.documentElement.attachEvent("onpropertychange",function(n){n.propertyName===e&&t()})}function t(e){var t;document.createEvent?(t=document.createEvent("UIEvents"),t.initEvent(e,!1,!0),window.dispatchEvent(t)):(t=document.documentElement[e],t+=1)}function n(e){return setTimeout(function(){t(e+"-debounced")},s)}var r,o,s=50;i.isClientSide()&&(e("resize",function(){clearTimeout(r),r=n("resize")}),e("scroll",function(){clearTimeout(o),o=n("scroll")}))}()},function(e,t,n){"use strict";n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),o=r.default.createClass({displayName:"LoadingSpinner",render:function(){var e={xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64",viewBox:"0 0 32 32",className:"game-wrapper__loading-spinner",ref:"loading"};return r.default.createElement("svg",e,r.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))}});o.displayName="Childrens-Games-View__Loading-Spinner";var s=o;t.default=s},function(e,t,n){"use strict";n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),o=r.default.createClass({displayName:"PlayIcon",render:function(){return r.default.createElement("button",{type:"button",className:"game-wrapper__cta-button"},r.default.createElement("div",{className:"game-wrapper__cta-icon"},r.default.createElement("svg",{viewBox:"0 0 32 32"},r.default.createElement("path",{fill:"#fff",d:"M8 7.5c-1.9 0-3.5 1.6-3.5 3.5s1.6 3.5 3.5 3.5 3.5-1.6 3.5-3.5S9.9 7.5 8 7.5z"}),r.default.createElement("path",{fill:"#fff",d:"M24 3c-2 0-3.9.8-5.3 2h-5.4C11.9 3.8 10 3 8 3c-4.4 0-8 3.6-8 8v18h6l6-10h8l6 10h6V11c0-4.4-3.6-8-8-8zm0 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zM8 17c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zm12-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm4-4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}))))}});o.displayName="Childrens-Games-View__Play-Icon";var s=o;t.default=s},function(e,t,n){"use strict";n(5),n(4),n(12),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4),n(12);var r=i(n(119)),o=function(e){var t=document.createElement("script");return t.type="text/javascript",t.charset="utf-8",t.defer=!1,t.async=!1,t.text=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")}(e.inlineHead),t},s={inject:function(e,t){return new Promise(function(n,i){r.default.init(t).then(function(t){var n=o(t);e.appendChild(n)}).then(function(){requirejs(["idcta-v2/idcta-1"],function(e){n(e)},i)}).catch(i)})}};t.default=s},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(19),r=n(110),o=n(111),s=n(7),a=n(23),u=n(112),c={},l={},t=e.exports=function(e,t,n,f,d){var p,h,_,g,v=d?function(){return e}:u(e),m=i(n,f,t?2:1),E=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(p=a(e.length);p>E;E++)if((g=t?m(s(h=e[E])[0],h[1]):m(e[E]))===c||g===l)return g}else for(_=v.call(e);!(h=_.next()).done;)if((g=r(_,m,h.value,t))===c||g===l)return g};t.BREAK=c,t.RETURN=l},function(e,t,n){var i=n(7);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(33),r=n(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){var i=n(36),r=n(1)("iterator"),o=n(33);e.exports=n(18).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){var i=n(6),r=n(66).set,o=i.MutationObserver||i.WebKitMutationObserver,s=i.process,a=i.Promise,u="process"==n(24)(s);e.exports=function(){var e,t,n,c=function(){var i,r;for(u&&(i=s.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(u)n=function(){s.nextTick(c)};else if(!o||i.navigator&&i.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(i,c)};else{var f=!0,d=document.createTextNode("");new o(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var i=n(6),r=i.navigator;e.exports=r&&r.userAgent||""},function(e,t,n){var i=n(7),r=n(9),o=n(68);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){var i=n(17);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},function(e,t,n){var i=n(1)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(e){}return n}},function(e,t,n){"use strict";n(5),n(4),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4);var r=i(n(70)),o=i(n(121)),s=function(e){return new Promise(function(t,n){var i=setTimeout(n,e,o.default.timeOut);(0,r.default)("https://web.archive.org/web/20190701112059/https://idcta.api.bbc.co.uk/idcta/init").then(function(e){return clearTimeout(i),200!==e.status&&n(o.default.unavailable),e.json().then(t).catch(function(){n(o.default.unavailable)})}).catch(function(){clearTimeout(i),n(o.default.unavailable)})})},a=function e(t,n){if(0===n)return t();var i=n;return t().catch(function(){return e(t,i-=1)})},u={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3e3,n=e;return a(function(){return s(t)},n-=1)}};t.default=u},function(e,t,n){"use strict";function i(e){return e&&DataView.prototype.isPrototypeOf(e)}function r(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function s(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return b.iterable&&(t[Symbol.iterator]=function(){return t}),t}function a(e){this.map={},e instanceof a?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function u(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function c(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function l(e){var t=new FileReader,n=c(t);return t.readAsArrayBuffer(e),n}function f(e){var t=new FileReader,n=c(t);return t.readAsText(e),n}function d(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}function p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function h(){return this.bodyUsed=!1,this._initBody=function(e){this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:b.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:b.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:b.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():b.arrayBuffer&&b.blob&&i(e)?(this._bodyArrayBuffer=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):b.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||A(e))?this._bodyArrayBuffer=p(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):b.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},b.blob&&(this.blob=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?u(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var e=u(this);if(e)return e;if(this._bodyBlob)return f(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(d(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},b.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}function _(e){var t=e.toUpperCase();return I.indexOf(t)>-1?t:e}function g(e,t){t=t||{};var n=t.body;if(e instanceof g){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=_(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}}),t}function m(e){var t=new a;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),i=n.shift().trim();if(i){var r=n.join(":").trim();t.append(i,r)}}),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new a(t.headers),this.url=t.url||"",this._initBody(e)}function y(e,t){return new Promise(function(n,i){function r(){s.abort()}var o=new g(e,t);if(o.signal&&o.signal.aborted)return i(new C("Aborted","AbortError"));var s=new XMLHttpRequest;s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:m(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;n(new E(t,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new C("Aborted","AbortError"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&b.blob&&(s.responseType="blob"),o.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),o.signal&&(o.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&o.signal.removeEventListener("abort",r)}),s.send(void 0===o._bodyInit?null:o._bodyInit)})}Object.defineProperty(t,"__esModule",{value:!0}),t.Headers=a,t.Request=g,t.Response=E,n.d(t,"DOMException",function(){return C}),t.fetch=y;var b={searchParams:"URLSearchParams"in self,iterable:"Symbol"in self&&"iterator"in Symbol,blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};if(b.arrayBuffer)var S=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],A=ArrayBuffer.isView||function(e){return e&&S.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},a.prototype.delete=function(e){delete this.map[r(e)]},a.prototype.get=function(e){return e=r(e),this.has(e)?this.map[e]:null},a.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},a.prototype.set=function(e,t){this.map[r(e)]=o(t)},a.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),s(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),s(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),s(e)},b.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},h.call(g.prototype),h.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];E.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})};var C=self.DOMException;try{new C}catch(e){C=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},C.prototype=Object.create(Error.prototype),C.prototype.constructor=C}y.polyfill=!0,self.fetch||(self.fetch=y,self.Headers=a,self.Request=g,self.Response=E)},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new Error("The IDCTA service timed-out."),r=new Error("The IDCTA service is unavailable."),o={timeOut:i,unavailable:r};t.default=o},function(e,t,n){"use strict";n(14),n(71),n(13),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(14),n(71),n(13);var r=i(n(28)),o=i(n(29)),s=i(n(30)),a=i(n(31)),u=i(n(32)),c=i(n(8)),l=function(e){function t(e){var n;return(0,r.default)(this,t),n=(0,s.default)(this,(0,a.default)(t).call(this,e)),n.setInitialState(e),n.keyIsPressed=!1,n.handleEscapeKeyDown=n.checkForEscape(),n}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleEscapeKeyDown),this.refs["settings-title"].focus(),this.unfocusSvgsForIe11(document)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleEscapeKeyDown)}},{key:"getTitleProps",value:function(){return{id:"settings-label",className:"cage-settings__title-text",ref:"settings-title",onKeyDown:this.handleKeyDownOnTitle.bind(this),tabIndex:this.state.titleHasFocus?"0":"-1"}}},{key:"getStateFromGmi",value:function(e,t){return void 0!==e[t]?!0===e[t]:e.gameData&&void 0!==e.gameData[t]?!0===e.gameData[t]:void 0}},{key:"setInitialState",value:function(e){var t=this,n=e.gmi.getAllSettings();this.state={},this.initialState={},this.state.titleHasFocus=!0,e.gmiOptions.settingsConfig&&e.gmiOptions.settingsConfig.pages&&e.gmiOptions.settingsConfig.pages.length&&e.gmiOptions.settingsConfig.pages.forEach(function(e){e.settings.forEach(function(e){var i=e.key.toLowerCase(),r="setting-".concat(i),o=t.getStateFromGmi(n,i);t.state[r]=o,t.initialState[i]=o})})}},{key:"unfocusSvgsForIe11",value:function(){var e,t=document.getElementsByTagName("svg");for(e=0;e<t.length;e+=1)t[e].setAttribute("focusable","false")}},{key:"handleClose",value:function(e){this.props.gmi.sendStatsEvent("settings","closed"),e.closeSettingsView()}},{key:"checkForEscape",value:function(){var e=this;return function(t){27===t.keyCode&&e.handleClose(e.props)}}},{key:"interactWithGmi",value:function(e,t,n){var i={muted:this.props.gmi.setMuted,audio:this.props.gmi.setAudio,subtitles:this.props.gmi.setSubtitles,motion:this.props.gmi.setMotion};t in i?i[t](n):this.props.gmi.setGameData(t,n),this.props.gmi.sendStatsEvent(t,n?"on":"off")}},{key:"handleToggle",value:function(e,t){var n="setting-".concat(t),i={},r=!this.state[n];i[n]=r,this.setState(i),this.interactWithGmi(e,t,r),e.onSettingChanged(t,r)}},{key:"handleKeyDownOnTitle",value:function(e){9===e.keyCode&&this.setState({titleHasFocus:!1})}},{key:"handleKeyDown",value:function(e){var t=32===e.keyCode,n=13===e.keyCode;9===e.keyCode||e.preventDefault(),(t||n)&&!1===this.keyIsPressed&&(e.target.click(),this.keyIsPressed=!0)}},{key:"handleKeyUp",value:function(){this.keyIsPressed=!1}},{key:"renderToggle",value:function(e,t){var n=this,i=!0===this.state["setting-".concat(t)],r=i?"on":"off",o="cage-setting__toggle_button cage-setting__toggle_button--".concat(r),s=i?36:16,a={id:"".concat(t,"-button"),className:"cage-setting__toggle-container ".concat(o),role:"checkbox",tabIndex:"0","aria-checked":i,"aria-label":t,onClick:function(){n.handleToggle(e,t)},onKeyDown:this.handleKeyDown.bind(this),onKeyUp:this.handleKeyUp.bind(this)};return c.default.createElement("div",a,c.default.createElement("svg",{className:"cage-setting__toggle-icon",viewBox:"0 0 52 32",preserveAspectRatio:"xMaxYMin meet",width:"52",height:"32",focusable:"false"},c.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},c.default.createElement("rect",{className:"cage-setting__toggle-outline",fill:"#D8D8D8",x:"0",y:"0",width:"100%",height:"100%",rx:"16"}),c.default.createElement("ellipse",{className:"cage-setting__toggle-slider",fill:"#FFFFFF",cx:s,cy:"16.054902",rx:"14",ry:"14.054902"}))))}},{key:"renderCloseButton",value:function(e){var t=this,n={"aria-label":"close settings",className:"cage-settings__close-button",type:"button",tabIndex:"0",onClick:function(){return t.handleClose(e)},onKeyDown:this.handleKeyDown.bind(this),onKeyUp:this.handleKeyUp.bind(this)};return c.default.createElement("button",n,c.default.createElement("svg",{className:"cage-settings__close-icon",viewBox:"0 0 48 48",preserveAspectRatio:"xMaxYMin meet",width:"48px",height:"48px",focusable:"false"},c.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},c.default.createElement("path",{className:"cage-settings__close-icon-circle",d:"M24,48 L24,48 C10.7451429,48 0,37.2548571 0,24 L0,24 C0,10.7451429 10.7451429,0 24,0 L24,0 C37.2548571,0 48,10.7451429 48,24 L48,24 C48,37.2548571 37.2548571,48 24,48"}),c.default.createElement("polygon",{className:"cage-settings__close-icon-cross",fill:"#50505D",points:"26.0225143 23.9948571 33.1390857 31.1182857 31.1196571 33.1377143 23.9962286 26.0211429 16.8796571 33.1377143 14.8533714 31.1182857 21.9768 23.9948571 14.8533714 16.8782857 16.8796571 14.852 23.9962286 21.9754286 31.1196571 14.852 33.1390857 16.8782857"}))))}},{key:"renderSetting",value:function(e,t,n,i){var r="".concat(i,"-").concat(n),o=t.key.toLowerCase(),s=c.default.createElement("label",null,c.default.createElement("div",{className:"cage-setting__info",htmlFor:"".concat(o,"-button")},c.default.createElement("div",{className:"cage-setting__title"},t.title),c.default.createElement("div",{className:"cage-setting__description"},t.description)),c.default.createElement("div",{className:"cage-setting__toggle"},this.renderToggle(e,o)));return c.default.createElement("div",{key:r,className:"cage-setting"},s)}},{key:"renderSettingsList",value:function(e){var t=this;return e.gmiOptions.settingsConfig.pages.map(function(n,i){var r=n.settings.map(function(n,r){return t.renderSetting(e,n,r,i)}),o="".concat(n,"-").concat(i);return c.default.createElement("div",{key:"".concat(n,"-").concat(i)},c.default.createElement("div",{className:"cage-settings__subheading",key:"".concat(o,"-subheading")},n.title),r)})}},{key:"render",value:function(){var e="cage-settings".concat(this.props.isMobile?" cage-settings--mobile":"");return c.default.createElement("div",{className:"cage-settings__wrapper",role:"dialog","aria-modal":"true",tabIndex:"-1","aria-labelledby":"settings-label"},c.default.createElement("div",{className:e},c.default.createElement("div",{className:"cage-settings__title"},c.default.createElement("div",this.getTitleProps(),"Settings"),this.renderCloseButton(this.props)),c.default.createElement("div",{className:"cage-settings__list",tabIndex:"-1"},c.default.createElement("form",null,this.renderSettingsList(this.props)))))}}]),t}(c.default.Component);l.displayName="Childrens-Games-View__Settings-Screen",l.propTypes={isMobile:c.default.PropTypes.bool.isRequired,gmi:c.default.PropTypes.object.isRequired,gmiOptions:c.default.PropTypes.object.isRequired,closeSettingsView:c.default.PropTypes.func.isRequired,onSettingChanged:c.default.PropTypes.func.isRequired};var f=l;t.default=f},function(e,t,n){var i=n(124);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(9),r=n(125),o=n(1)("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(24);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){"use strict";n(12),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(12);var r=i(n(8)),o=r.default.createClass({displayName:"AchievementNotification",getInitialState:function(){return{notificationPlaying:!1,notificationKey:void 0}},componentWillReceiveProps:function(e){this.props.notificationKey!==e.notificationKey&&this.setState({notificationPlaying:!0,notificationKey:e.notificationKey})},renderVideo:function(){var e=this,t=this.props.gmi.embedVars.configPath,n=this.props.notificationKey.toLowerCase().replace(/_/g,"-"),i=function(){return e.setState({notificationPlaying:!1,notificationKey:void 0})};return r.default.createElement("video",{className:"achievement-notification__video",autoPlay:!0,muted:!0,onEnded:i,name:"media"},r.default.createElement("track",{kind:"captions"}),r.default.createElement("source",{src:"".concat(this.props.gmi.gameDir).concat(t,"/achievements/").concat(n,".webm"),type:"video/webm"}))},render:function(){return r.default.createElement("div",{className:"achievement-notification"},this.state.notificationKey&&this.renderVideo())}});o.displayName="Childrens-Games-View__Achievements-Notification",o.propTypes={notificationKey:r.default.PropTypes.oneOfType([r.default.PropTypes.string,r.default.PropTypes.bool]),gmi:r.default.PropTypes.object};var s=o;t.default=s},function(e,t,n){"use strict";n(13),n(14),n(72),n(25),n(12),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.AchievementsScreen=void 0,n(13);var r=i(n(28)),o=i(n(29)),s=i(n(30)),a=i(n(31)),u=i(n(32));n(14),n(72),n(25);var c=i(n(128));n(12);var l=i(n(8)),f=function(e){var t,n=e.getElementsByTagName("svg");for(t=0;t<n.length;t+=1)n[t].setAttribute("focusable","false")},d=function(e){e.gmi.sendStatsEvent("achievements","closed"),e.gmi.achievements.show(!1)},p=function(e){var t=e.maxProgress,n=e.progress||0;return!(!t||n>=t)&&l.default.createElement("div",{className:"achievements__achievement-progress"},l.default.createElement("progress",{max:t,value:n}),n," / ",t)},h=function(e,t){return function(n){var i=n.achieved?n.key.toLowerCase().replace(/_/g,"-"):"locked",r="".concat(e).concat(t,"/achievements/").concat(i,".png"),o=n.achieved?"trophy":"trophy-locked",s="".concat(e).concat(t,"/achievements/").concat(o,".png"),a=["achievements__achievement"].concat((0,c.default)(n.achieved?[]:["achievements__locked"]));return l.default.createElement("div",{className:a.join(" "),key:n.key},l.default.createElement("img",{src:r,alt:n.name,width:"74px",height:"74px"}),l.default.createElement("img",{src:s,alt:"trophy",width:"16px",height:"16px"}),l.default.createElement("h2",null,n.name),l.default.createElement("p",null,n.description),p(n))}},_=function(e,t){return t.achieved-e.achieved},g=function(e){var t=e.gmi.embedVars.configPath,n=e.gmi.gameDir,i=e.gmi.achievements.get();return i.sort(_),i.map(h(n,t))},v=function(e){function t(e){var n;return(0,r.default)(this,t),n=(0,s.default)(this,(0,a.default)(t).call(this,e)),n.setInitialState(e),n.keyIsPressed=!1,n.handleEscapeKeyDown=n.checkForEscape(),n}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.props.gmi.sendStatsEvent("achievements","open"),this.props.gmi.setStatsScreen("achievements"),document.addEventListener("keydown",this.handleEscapeKeyDown),this.refs["achievements-title"].focus(),f(document)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleEscapeKeyDown)}},{key:"getTitleProps",value:function(){return{id:"achievements-label",className:"achievements__title",ref:"achievements-title",onKeyDown:this.handleKeyDownOnTitle.bind(this),tabIndex:this.state.titleHasFocus?"0":"-1"}}},{key:"setInitialState",value:function(){this.state={},this.initialState={},this.state.titleHasFocus=!0}},{key:"checkForEscape",value:function(){var e=this;return function(t){27===t.keyCode&&d(e.props)}}},{key:"interactWithGmi",value:function(e,t,n){var i={muted:this.props.gmi.setMuted,audio:this.props.gmi.setAudio,subtitles:this.props.gmi.setSubtitles,motion:this.props.gmi.setMotion};t in i?i[t](n):this.props.gmi.setGameData(t,n),this.props.gmi.sendStatsEvent(t,n?"on":"off")}},{key:"handleKeyDownOnTitle",value:function(e){9===e.keyCode&&this.setState({titleHasFocus:!1})}},{key:"handleKeyDown",value:function(e){var t=32===e.keyCode,n=13===e.keyCode;9===e.keyCode||e.preventDefault(),(t||n)&&!1===this.keyIsPressed&&(e.target.click(),this.keyIsPressed=!0)}},{key:"handleKeyUp",value:function(){this.keyIsPressed=!1}},{key:"renderCloseButton",value:function(e){var t={"aria-label":"close achievements",className:"achievements__close-button",type:"button",tabIndex:"0",onClick:function(){return d(e)},onKeyDown:this.handleKeyDown.bind(this),onKeyUp:this.handleKeyUp.bind(this)};return l.default.createElement("button",t,l.default.createElement("svg",{className:"achievements__close-icon",viewBox:"0 0 48 48",preserveAspectRatio:"xMaxYMin meet",width:"44px",height:"44px",focusable:"false"},l.default.createElement("svg",{width:"100%",height:"100%",focusable:"false"},l.default.createElement("path",{className:"achievements__close-icon-circle",d:"M24,48 L24,48 C10.7451429,48 0,37.2548571 0,24 L0,24 C0,10.7451429 10.7451429,0 24,0 L24,0 C37.2548571,0 48,10.7451429 48,24 L48,24 C48,37.2548571 37.2548571,48 24,48"}),l.default.createElement("polygon",{className:"achievements__close-icon-cross",fill:"rgb( 42, 32, 92)",points:"26.0225143 23.9948571 33.1390857 31.1182857 31.1196571 33.1377143 23.9962286 26.0211429 16.8796571 33.1377143 14.8533714 31.1182857 21.9768 23.9948571 14.8533714 16.8782857 16.8796571 14.852 23.9962286 21.9754286 31.1196571 14.852 33.1390857 16.8782857"}))))}},{key:"render",value:function(){return l.default.createElement("div",{className:"achievements__wrapper",role:"dialog","aria-modal":"true",tabIndex:"-1","aria-labelledby":"achievements-label"},l.default.createElement("div",{className:"achievements"},l.default.createElement("div",{className:"achievements__title"},l.default.createElement("div",this.getTitleProps(),"Achievements"),this.renderCloseButton(this.props)),l.default.createElement("div",{className:"achievements__list",tabIndex:"-1"},g(this.props))))}}]),t}(l.default.Component);t.AchievementsScreen=v,v.displayName="Childrens-Games-View__Achievements-Screen",v.propTypes={gmi:l.default.PropTypes.object.isRequired}},function(e,t,n){function i(e){return r(e)||o(e)||s()}var r=n(129),o=n(130),s=n(131);e.exports=i},function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}e.exports=n},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t,n){"use strict";n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),o=r.default.createClass({displayName:"Childrens-Games-View__RotateScreen",getInitialState:function(){return{isPortrait:!1}},componentDidMount:function(){this.showRotateIfPortrait(),this.props.windowObj.addEventListener("orientationchange",this.showRotateIfPortrait,!1)},componentWillUnmount:function(){this.props.windowObj.removeEventListener("orientationchange",this.showRotateIfPortrait,!1)},showRotateIfPortrait:function(){this.setState({isPortrait:0===this.props.windowObj.orientation||180===this.props.windowObj.orientation})},renderRotateIcon:function(){var e={version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink",className:"cage-rotate-screen__icon rotate-90",viewBox:"0 0 500 500",x:0,y:0,xmlSpace:"preserve"};return r.default.createElement("svg",e,r.default.createElement("path",{className:"cage-rotate-screen__path",d:"M389.4,186.2L389.4,186.2c-35.3-64.1-115.7-87.3-179.7-52c-1.2,0.7-2.4,1.4-3.6,2.1 c-0.5,0.3-0.9,0.5-1.4,0.8c-1.5,0.9-2.9,1.8-4.4,2.8c-0.4,0.2-0.7,0.5-1.1,0.7c-1.5,1-3,2.1-4.4,3.1c-0.3,0.2-0.5,0.4-0.8,0.6 c-1.5,1.1-3,2.3-4.4,3.5c-0.2,0.2-0.3,0.3-0.5,0.4c-1.5,1.2-3,2.5-4.4,3.8c-0.1,0.1-0.2,0.2-0.3,0.3c-1.5,1.3-2.9,2.7-4.3,4.1 c-0.1,0.1-0.3,0.3-0.4,0.4c-1.4,1.4-2.7,2.8-4,4.2c-15.2,16.7-26.2,37.4-31.2,60.3l-21.7-39.3L94,198l32,58l16,29l3.7-2.1 l25.1-13.9l5.1-2.8l52.9-29.1l-16-28.9l-35.7,19.7c2.3-9.9,6.1-19.5,11.3-28.3c0,0,0,0,0-0.1c0.7-1.1,1.4-2.2,2.1-3.4 c0.3-0.5,0.6-1,1-1.5c0.3-0.4,0.6-0.8,0.9-1.3c10.1-14.5,24-26.1,40.3-33.6c0.1,0,0.1,0,0.2-0.1c1.3-0.6,2.6-1.2,4-1.7 c0.1,0,0.2-0.1,0.4-0.1c1.3-0.5,2.7-1,4-1.5c0.1,0,0.2-0.1,0.3-0.1c1.4-0.5,2.8-0.9,4.2-1.3c0,0,0.1,0,0.1,0c8.8-2.6,18.2-4,27.8-4 c27.5,0,54.4,11.5,73.4,32.4c0,0.1,0,0.1,0,0.2c16.1,17.6,25.9,40.9,25.9,66.6c0,11.2-1.9,21.9-5.3,31.9c-0.1,0-0.1,0-0.2,0.1 c-7.6,22.6-23.4,42.4-45.8,54.8c-15.2,8.4-31.6,12.3-47.8,12.3v33.1c21.6,0,43.6-5.2,63.8-16.4c11-6.1,20.8-13.5,29.3-22 C391,319.9,406,286.7,406,250C406,226.9,399.9,205.1,389.4,186.2"}))},renderRotateScreen:function(){return r.default.createElement("div",{className:"cage-rotate-screen"},this.renderRotateIcon(),r.default.createElement("div",{className:"cage-rotate-screen__text rotate-90"},"Please rotate your device"))},render:function(){return this.props.showRotate&&this.state.isPortrait&&this.renderRotateScreen()}});o.propTypes={windowObj:r.default.PropTypes.object.isRequired,showRotate:r.default.PropTypes.oneOfType([r.default.PropTypes.string,r.default.PropTypes.bool])};var s=o;t.default=s},function(e,t,n){"use strict";n(5),n(4),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4);var r=i(n(134)),o=i(n(137)),s=i(n(139)),a=function(e,t){return new Promise(function(n,i){(0,s.default)(e.hasCookie(),t.environment,t.embedVars.openBeta).then(r.default).then(o.default).then(n).catch(i)})},u=a;t.default=u},function(e,t,n){"use strict";n(5),n(4),n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4);var r=i(n(135)),o=function(e){var t="true"===e.openBeta,n=(0,r.default)({},e,{openBeta:t});return Promise.resolve(n)},s=o;t.default=s},function(e,t,n){function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}var r=n(136);e.exports=i},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t,n){"use strict";n(5),n(4),n(0);var i=n(73);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4);var r=i(n(138)),o=function(e){var t="live"===e?"":".".concat(e),n="https://web.archive.org/web/20190701112059/https://activity".concat(t,".api.bbc.co.uk/my/games/"),i="live"===e?r.Live:r.Test,o={"Content-Type":"application/json",Accept:"application/json","X-API-Key":i,"X-Authentication-Provider":"idv5"};return window.fetch(n+"urn:bbc:cbbc:game:isite2:file_id:childrensgames:nightfall",{method:"GET",cache:"no-cache",credentials:"include",headers:o})},s=function(e){return 200!==e.status?Promise.reject():e.json()},a=function(e){return new Promise(function(t,n){e.metaData&&e.metaData.ticket?t():n()})},u=function(e){return e.openBeta?Promise.resolve():new Promise(function(t,n){o(e.env).then(s).then(a).then(t).catch(n)})},c=u;t.default=c},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.Live=t.Test=void 0,t.Test="8d6f5s2dqp0pc",t.Live="ocivkho3fups2"},function(e,t,n){"use strict";n(5),n(4),n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(5),n(4);var i=function(e,t,n){return new Promise(function(i,r){e?i({env:t,openBeta:n}):r()})},r=i;t.default=r},function(e,t,n){"use strict";n(0);var i=n(3);n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8)),o=r.default.createClass({displayName:"RedirectMessage",render:function(){return r.default.createElement("div",{className:"game-wrapper__error"},r.default.createElement("p",null,"You are being redirected."),r.default.createElement("p",null,r.default.createElement("a",{href:this.props.url},"Please click here if the browser does not redirect you within 5 seconds.")))}});o.propTypes={url:r.default.PropTypes.string.isRequired};var s=o;t.default=s},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.setUrlOrigin=void 0;var i=function(e,t,n){var i=n.Morph.config.pushEnv,r="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk";if(i){var o=n.location.port?":".concat(n.location.port):"";r="".concat(n.location.protocol,"//").concat(n.location.hostname).concat(o)}else"local"===t&&(r="https://web.archive.org/web/20190701112059/http://localhost:9000");return r+e};t.setUrlOrigin=i},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-games-view@1.11.10",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-games-view@1.11.10",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-games-view@1.11.10",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-games-view@1.11.10",e,t,!0)}}},function(e,t,n){"use strict";function i(e,t){return e.top===e.self&&t}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.isFullscreen=i},function(e,t,n){"use strict";function i(e){return"msMaxTouchPoints"in e.navigator?e.navigator.msMaxTouchPoints>0:"ontouchstart"in e||"onmsgesturechange"in e}function r(e){return e.width+e.height<1160}n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.isMobile=void 0;var o=function(e,t){return i(e)||r(t)};t.isMobile=o},function(e,t,n){"use strict";function i(e){if(/iP(hone|od)/.test(e.navigator.userAgent)){var t=e.navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3]||0,10)]}}function r(e){var t=i(e);return!!(t&&t[0]>=8)}n(26),n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.brimNeeded=r,n(26)},function(e,t,n){"use strict";function i(e){var t=/cageEnv=([[a-zA-Z]*)/;return e.match(t)}function r(e){return["versionOverride","viewNonPublished"].indexOf(e)>-1}function o(e,t){var n=i(e),o=Object.keys(t).filter(r).map(function(e){return"".concat(e,"=").concat(t[e])});return n&&o.push("cageEnv=".concat(n[1])),o.push("showFullscreen=true"),o.push("exitGameUrl=".concat(encodeURIComponent(e))),o.join("&")}function s(e,t){if(!t.embedUrl)throw new Error("The morph prop 'embedUrl' has not been passed into the childrens-games-view");var n=t.game||t.gid,i=o(e.location.href,t),r=i?"?".concat(i):"";return decodeURIComponent(t.embedUrl)+n+r}n(74),n(53),n(4),n(77),n(78),n(14),n(40),n(26),n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.generate=s,n(74),n(53),n(4),n(77),n(78),n(14),n(40),n(26)},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var i=n(45),r=n(2),o=n(17),s=n(15),a=n(33),u=n(149),c=n(50),l=n(152),f=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,_,g,v){u(n,t,h);var m,E,y,b=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",A="values"==_,I=!1,T=e.prototype,C=T[f]||T["@@iterator"]||_&&T[_],P=C||b(_),O=_?A?b("entries"):P:void 0,w="Array"==t?T.entries||C:C;if(w&&(y=l(w.call(new e)))!==Object.prototype&&y.next&&(c(y,S,!0),i||"function"==typeof y[f]||s(y,f,p)),A&&C&&"values"!==C.name&&(I=!0,P=function(){return C.call(this)}),i&&!v||!d&&!I&&T[f]||s(T,f,P),a[t]=P,a[S]=p,_)if(m={values:A?P:b("values"),keys:g?P:b("keys"),entries:O},v)for(E in m)E in T||o(T,E,m[E]);else r(r.P+r.F*(d||I),t,m);return m}},function(e,t,n){"use strict";var i=n(75),r=n(42),o=n(50),s={};n(15)(s,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(16),r=n(7),o=n(39);e.exports=n(10)?Object.defineProperties:function(e,t){r(e);for(var n,s=o(t),a=s.length,u=0;a>u;)i.f(e,n=s[u++],t[n]);return e}},function(e,t,n){var i=n(35),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(27),r=n(21),o=n(56)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var i=n(2),r=n(18),o=n(11);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},function(e,t,n){"use strict";n(80),n(81),n(40),n(83),n(12),n(26),n(80),n(81),n(40),n(83),n(12),n(26),function(){function t(e,t,n){return"".concat(window.orb.partialCookieOvenUrl,".").concat(e,"/").concat(t,"/").concat(n)}function n(e,t){t&&t(new Error(e))}function i(e){var t=new XMLHttpRequest;return t.withCredentials=!0,t.onload=function(){e&&e(null,t.status)},t.onerror=function(i){n("Request to cross domain cookie service encountered an error with code".concat(t.status,". ").concat(i),e)},t.onabort=function(){n("Request to cross domain cookie service was aborted.",e)},t.ontimeout=function(){n("Request to cross domain cookie service timed out.",e)},t}function r(e){return{com:"co.uk","co.uk":"com"}[e.match(/(co.uk|com)/)[0]]}function o(e,t,n){t="".concat(t).replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent),n=n||{};var i="".concat(e,"=").concat(t);return i+=n.path?";path=".concat(n.path):"",i+=n.domain?";domain=".concat(n.domain):"",i+=n.expires?";expires=".concat(n.expires.toUTCString()):"",i+=n.secure?";secure":""}function s(e,t){if(void 0===e)return null;var n={};n.expires=new Date(0),t&&(n.domain=t.domain,n.path=t.path),document.cookie=o(e,"removed",n)}function a(e,t){var n=window.location.pathname.split("/");for(s(e,t);n.length;){var i=n.join("/");""===i&&(i="/"),s(e,{domain:t,path:i}),s(e,{domain:".".concat(t),path:i}),n.pop()}}function u(e){var t=window.location.hostname.split(".");for(s(e),a(e);t.length&&-1==="|co.uk|com|".indexOf("|".concat(t.join("."),"|"));){if(t.length){var n=t.join(".");s(e,{domain:n}),a(e,n)}t.shift()}}function c(e){var t=JSON.stringify(e);if(void 0!==E[t])return E[t];var n="";for(var i in e)e.hasOwnProperty(i)&&y[i]&&!0===e[i]&&(n+=(n?"|":"")+y[i]);return E[t]=new RegExp("^(".concat(n||".*",")$"),"i"),E[t]}function l(){var e=new RegExp("(?:^|; ?)".concat(v,"=(\\d)(\\d)(\\d)($|;)")),t=document.cookie.match(e);return t?{ads:"1"===t[1],personalisation:"1"===t[2],performance:"1"===t[3],necessary:!0}:m}function f(){var e=new Date;return e.setYear(e.getFullYear()+1),e}function d(e,t,n){var i=f(),r="".concat(e.ads?1:0).concat(e.personalisation?1:0).concat(e.performance?1:0),o=_._getCurrentDomain();_.set(v,r,{domain:o,path:"/",expires:i,crossDomainEnabled:t},n);var s=new Date(i.getTime());return s.setMonth(s.getMonth()+1),_.set(g,i.getTime(),{domain:o,path:"/",expires:s}),e}function p(e){var t="".concat(e).match(/^([^=]+)(?==)/);return t&&t.length?t[0]:""}function h(e){return e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent),e=e.replace(/\(/g,"%28").replace(/\)/g,"%29")}var _=e.exports={};_.POLICY_REFRESH_DATE_MILLIS=new Date(2015,4,21,0,0,0,0).getTime();var g="ckns_policy_exp",v="ckns_policy",m={ads:!0,personalisation:!0,performance:!0,necessary:!0},E={},y={personalisation:"ckps_.+|X-AB-iplayer-.+|ACTVTYMKR|BBC_EXAMPLE_COOKIE|BBCIplayer|BBCiPlayerM|BBCIplayerSession|BBCMediaselector|BBCPostcoder|bbctravel|CGISESSID|ed|food-view|forceDesktop|h4|IMRID|locserv|MyLang|myloc|NTABS|ttduserPrefs|V5|WEATHER|BBCScienceDiscoveryPlaylist_.+|bitratePref|correctAnswerCount|genreCookie|highestQuestionScore|incorrectAnswerCount|longestStreak|MSCSProfile|programmes-oap-expanded|quickestAnswer|score|servicePanel|slowestAnswer|totalTimeForAllFormatted|v|BBCwords|score|correctAnswerCount|highestQuestionScore|hploc|BGUID|BBCWEACITY|mstouch|myway|BBCNewsCustomisation|cbbc_anim|cbeebies_snd|bbcsr_usersx|cbeebies_rd|BBC-Latest_Blogs|zh-enc|pref_loc|m|bbcEmp.+|recs-.+|_lvd2|_lvs2|tick|_fcap_CAM1|_rcc2",performance:"ckpf_.+|BBCLiveStatsClick|id|_em_.+|cookies_enabled|mbox|mbox-admin|mc_.+|omniture_unique|s_.+|sc_.+|adpolicyAdDisplayFrequency|ns_session|ns_cookietest|ns_ux|NO-SA|tr_pr1|gvsurvey|bbcsurvey|si_v|sa_labels|obuid|mm_.+|mmid|mmcore.+|mmpa.+",ads:"ckad_.+|rsi_segs|c",necessary:"optimizelyEndUserId|ckns_.+|BBC-UID|blq\\.dPref|idrxvr|s1|atidvisitor|atuserid|sa_labels|_cb_ls|_cb_svref|_chartbeat2|_chartbeat5|_chartbeat4|_cb|_cb_cp|SSO2-UID|BBC-H2-User|rmRpDetectReal|bbcComSurvey|IDENTITY_ENV|IDENTITY|IDENTITY-HTTPS|IDENTITY_SESSION|BBCCOMMENTSMODULESESSID|bbcBump.+|IVOTE_VOTE_HISTORY|pulse|BBCPG|BBCPGstat|ecos\\.dt|_sm_au_[c|d]|AMAuthCookie|AM_REDIRECT_BACK_SERVER_URL|AWSELB|(devN|uatN|n)ightfall(Session|Refresh)Token"};_.cookieOvenRequest=function(e,t,n){try{e.open("GET",t,!0),e.send()}catch(e){n&&n(e)}},_.cookieOvenClient=function(e,n,o,s){if("withCredentials"in new XMLHttpRequest){var a=[v];try{if(!o)throw new Error("Cannot make request to cross domain cookie service when domain is not set.");if(a.indexOf(e)<=-1)throw new Error("Cookie name is not in the whitelist accepted by the cross domain cookie service.");var u=r(o),c=i(s),l=t(u,e,n);_.cookieOvenRequest(c,l,s)}catch(e){s&&s(e)}}else s(new Error("Cannot make request to cross domain cookie service as this browser does not support XmlHttpRequest with credentials."))},_.set=function(e,t,n,i){var r,s;if(void 0!==t){r=h(e),s=o(r,t,n);var a=n&&n.crossDomainEnabled;_.isAllowed(r)&&a&&_.cookieOvenClient(e,t,n.domain,i)}else r=p(e),s=e;_.isAllowed(r)&&(document.cookie=s)},_.isAllowed=function(e){var t,n;return"ckpf_whatever"==e||(t=_.readPolicy(),n=c(t),n.test(e))},_.readPolicy=function(e){var t=l();return e?t[e]:t},_.analyticsPolicyString=function(){var e=l();return"ad".concat(e.ads,"ps").concat(e.personalisation,"pf").concat(e.performance)},_.get=function(e){return e?decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*".concat(encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&"),"\\s*\\=\\s*([^;]*).*$)|^.*$")),"$1"))||null:document.cookie},_.isCookiePolicySet=function(){return null!==_.get(v)},_.setDefaultCookiesSingleDomain=function(){d(m,!1)},_._setPolicy=function(e,t,n,i){var r=_.readPolicy();r[e]=!!t,d(r,!n,i)},_.cookiesEnabled=function(){var e="ckns_cookietest".concat(Math.floor(1e5*Math.random()));return this.set(e,"1"),!!this.get(e)&&(this.delete(e),!0)},_.delete=function(e,t){e=h(e),s(e,t)},_.del=_.delete,_._crunch=function(){u("");for(var e=document.cookie.split(";"),t=0;t<e.length;t+=1){var n=e[t].split("="),i=n[0].trim();this.isAllowed(i)||u(i)}},_._getCurrentDomain=function(){try{return window.location.hostname.toLowerCase().match(/.*(bbc\.co\.uk|bbc\.com)\/*/)[1]}catch(e){return}},_._getPolicy=_.readPolicy,String.prototype.trim||function(){var e=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(e,"")}}(),_._crunch(),function(e,t){var n=!1,i=!0,r=e.document,o=r.documentElement,s=r.addEventListener,a=s?"addEventListener":"attachEvent",u=s?"removeEventListener":"detachEvent",c=s?"":"on",l=function i(o){"readystatechange"===o.type&&"complete"!==r.readyState||(("load"===o.type?e:r)[u](c+o.type,i,!1),!n&&(n=!0)&&t.call(e,o.type||o))};if("complete"===r.readyState)t.call(e,"lazy");else{if(!s&&o.doScroll){try{i=!e.frameElement}catch(e){}i&&function e(){try{o.doScroll("left")}catch(t){return void setTimeout(e,50)}l("poll")}()}r[a]("".concat(c,"DOMContentLoaded"),l,!1),r[a]("".concat(c,"readystatechange"),l,!1),e[a]("".concat(c,"load"),l,!1)}}(window,function(){_._crunch()}),window.addEventListener?window.addEventListener("beforeunload",function(){_._crunch()},!1):window.attachEvent?window.attachEvent("onbeforeunload",function(){_._crunch()}):window.onbeforeunload=function(){_._crunch()}}()},function(e,t,n){var i=n(2),r=n(22),o=n(11),s=n(156),a="["+s+"]",u="​…",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(e,t,n){var r={},a=o(function(){return!!s[e]()||u[e]()!=u}),c=r[e]=a?t(d):s[e];n&&(r[n]=c),i(i.P+i.F*a,"String",r)},d=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var i=n(9),r=n(158).set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t,n){var i=n(9),r=n(7),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n(19)(Function.call,n(159).f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var i=n(82),r=n(42),o=n(38),s=n(60),a=n(27),u=n(59),c=Object.getOwnPropertyDescriptor;t.f=n(10)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(76),r=n(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){e.exports=n(162)},function(e,t,n){!function(t){e.exports=function(){function e(){return e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.apply(this,arguments)}function t(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},n.apply(this,arguments)}function i(){return be((Math.random()*Re<<0).toString(Ne),we)}function r(){return Oe=Oe<Re?Oe:0,++Oe-1}function o(){return"c"+(new Date).getTime().toString(Ne)+be(r().toString(Ne),we)+Pe()+(i()+i())}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s.apply(this,arguments)}function a(e){return e instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(e))}function u(e){return"[Throws: "+(e?e.message:"?")+"]"}function c(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return!0;return!1}function l(e,t){for(var n=0,i=e.length;n<i;n++)if(0===t.indexOf(e[n]))return!0;return!1}function f(e,t){for(var n=0,i=e.length;n<i;n++){if("string"==typeof e[n]&&e[n]===t)return!0;if(e[n]&&"function"==typeof e[n].test&&e[n].test(t))return!0}return!1}function d(e){return"[object Array]"===Object.prototype.toString.call(e)}function p(e,t){try{return e[t]}catch(e){return u(e)}}function h(e,t,n){function i(e,s){function h(){return s.length>$e&&o>ze}if(o++,s.length>qe)return Xe;if(h())return Xe;if(null===e||"object"!=typeof e)return e;if(c(r,e))return"[Circular]";if(r.push(e),"function"==typeof e.toJSON)try{o--;var _=i(e.toJSON(),s);return r.pop(),_}catch(e){return u(e)}if(a(e)){o--;var g=i({name:e.name,message:e.message},s);return r.pop(),g}if(d(e)){for(var v=[],m=0,E=e.length;m<E;m++){if(h()){v.push(Xe);break}v.push(i(e[m],s.concat("[]")))}return r.pop(),v}var y={};try{for(var b in e)if(Object.prototype.hasOwnProperty.call(e,b))if(l(n,s.join("."))&&f(t,b))y[b]="[Filtered]";else{if(h()){y[b]=Xe;break}y[b]=i(p(e,b),s.concat(b))}}catch(e){}return r.pop(),y}var r=[],o=0;return i(e,[])}function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_.apply(this,arguments)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g.apply(this,arguments)}function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},v.apply(this,arguments)}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m.apply(this,arguments)}function E(e,t,n){var i=e[t];if(!i)return i;var r=n(i);return e[t]=r,i}function y(e){var t=!!e[1]&&"function"==typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}function b(e,t){var n=[e.tagName];if(e.id&&n.push("#"+e.id),e.className&&e.className.length&&n.push("."+e.className.split(" ").join(".")),!t.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===t.document.querySelectorAll(n.join("")).length)return n.join("")}catch(e){return n.join("")}if(e.parentNode.childNodes.length>1){var i=Array.prototype.indexOf.call(e.parentNode.childNodes,e)+1;n.push(":nth-child("+i+")")}return 1===t.document.querySelectorAll(n.join("")).length?n.join(""):e.parentNode?b(e.parentNode,t)+" > "+n.join(""):n.join("")}function S(e,t){return e&&e.length<=t?e:e.slice(0,t-"(...)".length)+"(...)"}function A(){if(!Vt(Nt(),this[kt])){var e={status:this.status,request:this[Ut]+" "+this[kt]};this.status>=400?Ot.leaveBreadcrumb("XMLHttpRequest failed",e,xt):Ot.leaveBreadcrumb("XMLHttpRequest succeeded",e,xt)}}function I(){Vt(Nt,this[kt])||Ot.leaveBreadcrumb("XMLHttpRequest error",{request:this[Ut]+" "+this[kt]},xt)}function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},T.apply(this,arguments)}function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},C.apply(this,arguments)}var P,O=function(e,t,n){for(var i=n,r=0,o=e.length;r<o;r++)i=t(i,e[r],r,e);return i},w=function(e,t){return O(e,function(e,n,i,r){return t(n,i,r)?e.concat(n):e},[])},N=function(e,t){return O(e,function(e,n,i,r){return e.concat(t(n,i,r))},[])},R=function(e,t){return O(e,function(e,n,i,r){return!0===e||n===t},!1)},D=!{toString:null}.propertyIsEnumerable("toString"),L=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],B=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!D)return n;for(var i=0,r=L.length;i<r;i++)Object.prototype.hasOwnProperty.call(e,L[i])&&n.push(L[i]);return n},M=function(e){return"[object Array]"===Object.prototype.toString.call(e)},x=function(e){return e<10?"0"+e:e},k=function(){var e=new Date;return e.getUTCFullYear()+"-"+x(e.getUTCMonth()+1)+"-"+x(e.getUTCDate())+"T"+x(e.getUTCHours())+":"+x(e.getUTCMinutes())+":"+x(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"},U={map:N,reduce:O,filter:w,includes:R,keys:B,isArray:M,isoDate:k},V={};V.intRange=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},V.stringWithLength=function(e){return"string"==typeof e&&!!e.length};var G={},j=U.filter,F=U.reduce,H=U.keys,W=U.isArray,K=U.includes,Y=V.intRange,q=V.stringWithLength;G.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:q},appVersion:{defaultValue:function(){return null},message:"should be a string",validate:function(e){return null===e||q(e)}},appType:{defaultValue:function(){return null},message:"should be a string",validate:function(e){return null===e||q(e)}},autoNotify:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},beforeSend:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:function(e){return"function"==typeof e||W(e)&&j(e,function(e){return"function"==typeof e}).length===e.length}},endpoints:{defaultValue:function(){return{notify:"https://web.archive.org/web/20190701112059/https://notify.bugsnag.com",sessions:"https://web.archive.org/web/20190701112059/https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }. sessions is optional if autoCaptureSessions=false",validate:function(e,t){return e&&"object"==typeof e&&q(e.notify)&&(!1===t.autoCaptureSessions||q(e.sessions))&&0===j(H(e),function(e){return!K(["notify","sessions"],e)}).length}},autoCaptureSessions:{defaultValue:function(e,t){return void 0===t.endpoints||!!t.endpoints&&!!t.endpoints.sessions},message:"should be true|false",validate:function(e){return!0===e||!1===e}},notifyReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||W(e)&&j(e,function(e){return"string"==typeof e}).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"==typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 20},message:"should be a number ≤40",validate:function(e){return Y(0,40)(e)}},autoBreadcrumbs:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return"boolean"==typeof e}},user:{defaultValue:function(){return null},message:"(object) user should be an object",validate:function(e){return"object"==typeof e}},metaData:{defaultValue:function(){return null},message:"should be an object",validate:function(e){return"object"==typeof e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&F(["debug","info","warn","error"],function(t,n){return t&&"function"==typeof e[n]},!0)}},filters:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return W(e)&&e.length===j(e,function(e){return"string"==typeof e||e&&"function"==typeof e.test}).length}}},G.mergeDefaults=function(e,t){if(!e||!t)throw new Error("opts and schema objects are required");return F(H(t),function(n,i){return n[i]=void 0!==e[i]?e[i]:t[i].defaultValue(e[i],e),n},{})},G.validate=function(e,t){if(!e||!t)throw new Error("opts and schema objects are required");var n=F(H(t),function(n,i){return t[i].validate(e[i],e)?n:n.concat({key:i,message:t[i].message,value:e[i]})},[]);return{valid:!n.length,errors:n}};var z=G.schema,$=U.map,X=V.stringWithLength,J={releaseStage:{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"},message:"should be set",validate:X},logger:e({},z.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?Q():void 0}})},Q=function(){var e={},t=console.log;return $(["debug","info","warn","error"],function(n){var i=console[n];e[n]="function"==typeof i?i.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")}),e},Z=U.isoDate,ee=function(){function e(e,t,n,i){void 0===e&&(e="[anonymous]"),void 0===t&&(t={}),void 0===n&&(n="manual"),void 0===i&&(i=Z()),this.type=n,this.name=e,this.metaData=t,this.timestamp=i}return e.prototype.toJSON=function(){return{type:this.type,name:this.name,timestamp:this.timestamp,metaData:this.metaData}},e}(),te=ee,ne=function(e,t,n){var i=e.length,r=0,o=function(){if(r>=i)return n(null,!1);t(e[r],function(e,t){return e?n(e,!1):!0===t?n(null,!0):(r++,void o())})};o()},ie=function(e){return e.app&&"string"==typeof e.app.releaseStage?e.app.releaseStage:e.config.releaseStage},re=t,oe=re,se=function(e,t){return function(n,i){if("function"!=typeof n)return i(null,!1);try{if(2!==n.length){var r=n(e);return r&&"function"==typeof r.then?r.then(function(t){return setTimeout(function(){return i(null,ae(e,t))},0)},function(e){setTimeout(function(){return t(e),i(null,!1)})}):i(null,ae(e,r))}n(e,function(n,r){if(n)return t(n),i(null,!1);i(null,ae(e,r))})}catch(e){t(e),i(null,!1)}}},ae=function(e,t){return e.isIgnored()||!1===t},ue={};!function(e,t){"use strict";"function"==typeof P&&P.amd?P("stackframe",[],t):"object"==typeof ue?ue=t():e.StackFrame=t()}(this,function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}function i(e){if(e instanceof Object)for(var n=0;n<u.length;n++)e.hasOwnProperty(u[n])&&void 0!==e[u[n]]&&this["set"+t(u[n])](e[u[n]])}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],s=["fileName","functionName","source"],a=["args"],u=r.concat(o,s,a);i.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof i)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new i(e)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var c=0;c<r.length;c++)i.prototype["get"+t(r[c])]=n(r[c]),i.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var l=0;l<o.length;l++)i.prototype["get"+t(o[l])]=n(o[l]),i.prototype["set"+t(o[l])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(o[l]);for(var f=0;f<s.length;f++)i.prototype["get"+t(s[f])]=n(s[f]),i.prototype["set"+t(s[f])]=function(e){return function(t){this[e]=String(t)}}(s[f]);return i});var ce={};!function(e,t){"use strict";"function"==typeof P&&P.amd?P("error-stack-parser",["stackframe"],t):"object"==typeof ce?ce=t(ue):e.ErrorStackParser=t(e.StackFrame)}(this,function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,i=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/,n=t.exec(e.replace(/[\(\)]/g,""));return[n[1],n[2]||void 0,n[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter(function(e){return!!e.match(n)},this).map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").split(/\s+/).slice(1),i=this.extractLocation(n.pop()),r=n.join(" ")||void 0,o=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:r,fileName:o,lineNumber:i[1],columnNumber:i[2],source:t})},this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter(function(e){return!e.match(i)},this).map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,i=t.match(n),r=i&&i[1]?i[1]:void 0,o=this.extractLocation(t.replace(n,""));return new e({functionName:r,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,i=t.message.split("\n"),r=[],o=2,s=i.length;o<s;o+=2){var a=n.exec(i[o]);a&&r.push(new e({fileName:a[2],lineNumber:a[1],source:i[o]}))}return r},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,i=t.stacktrace.split("\n"),r=[],o=0,s=i.length;o<s;o+=2){var a=n.exec(i[o]);a&&r.push(new e({functionName:a[3]||void 0,fileName:a[2],lineNumber:a[1],source:i[o]}))}return r},parseOpera11:function(n){return n.stack.split("\n").filter(function(e){return!!e.match(t)&&!e.match(/^Error created at/)},this).map(function(t){var n,i=t.split("@"),r=this.extractLocation(i.pop()),o=i.shift()||"",s=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(n=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var a=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:s,args:a,fileName:r[0],lineNumber:r[1],columnNumber:r[2],source:t})},this)}}});var le=ce,fe=function(e){return!(!e||!e.stack&&!e.stacktrace&&!e["opera#sourceloc"]||"string"!=typeof(e.stack||e.stacktrace||e["opera#sourceloc"])||e.stack===e.name+": "+e.message)},de={};!function(e,t){"use strict";"function"==typeof P&&P.amd?P("stack-generator",["stackframe"],t):"object"==typeof de?de=t(ue):e.StackGenerator=t(e.StackFrame)}(this,function(e){return{backtrace:function(t){var n=[],i=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(i=t.maxStackSize);for(var r=arguments.callee;r&&n.length<i&&r.arguments;){for(var o=new Array(r.arguments.length),s=0;s<o.length;++s)o[s]=r.arguments[s];/function(?:\s+([\w$]+))+\s*\(/.test(r.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:o})):n.push(new e({args:o}));try{r=r.caller}catch(e){break}}return n}}});var pe=U.reduce,he=U.filter,_e=function(){function e(e,t,n,i,r){void 0===n&&(n=[]),void 0===i&&(i=me()),this.__isBugsnagReport=!0,this._ignored=!1,this._handledState=i,this.app=void 0,this.apiKey=void 0,this.breadcrumbs=[],this.context=void 0,this.device=void 0,this.errorClass=Ee(e,"[no error class]"),this.errorMessage=Ee(t,"[no error message]"),this.groupingHash=void 0,this.metaData={},this.request=void 0,this.severity=this._handledState.severity,this.stacktrace=pe(n,function(e,t){var n=ge(t);try{return"{}"===JSON.stringify(n)?e:e.concat(n)}catch(t){return e}},[]),this.user=void 0,this.session=void 0,this.originalError=r}var t=e.prototype;return t.ignore=function(){this._ignored=!0},t.isIgnored=function(){return this._ignored},t.updateMetaData=function(e){var t;if(!e)return this;var i;return null===(arguments.length<=1?void 0:arguments[1])?this.removeMetaData(e):null===(arguments.length<=2?void 0:arguments[2])?this.removeMetaData(e,arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2]):("object"==typeof(arguments.length<=1?void 0:arguments[1])&&(i=arguments.length<=1?void 0:arguments[1]),"string"==typeof(arguments.length<=1?void 0:arguments[1])&&(t={},t[arguments.length<=1?void 0:arguments[1]]=arguments.length<=2?void 0:arguments[2],i=t),i?(this.metaData[e]||(this.metaData[e]={}),this.metaData[e]=n({},this.metaData[e],i),this):this)},t.removeMetaData=function(e,t){return"string"!=typeof e?this:t?this.metaData[e]?(delete this.metaData[e][t],this):this:(delete this.metaData[e],this)},t.toJSON=function(){return{payloadVersion:"4",exceptions:[{errorClass:this.errorClass,message:this.errorMessage,stacktrace:this.stacktrace,type:"browserjs"}],severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,breadcrumbs:this.breadcrumbs,context:this.context,user:this.user,metaData:this.metaData,groupingHash:this.groupingHash,request:this.request,session:this.session}},e}(),ge=function(e){var t={file:e.fileName,method:ve(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return t.lineNumber>-1&&!t.file&&!t.method&&(t.file="global code"),t},ve=function(e){return/^global code$/i.test(e)?"global code":e},me=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},Ee=function(e,t){return"string"==typeof e&&e?e:t};_e.getStacktrace=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),fe(e))return le.parse(e).slice(t);try{throw e}catch(t){return fe(t)?le.parse(e).slice(1+n):he(de.backtrace(),function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")}).slice(1+n)}},_e.ensureReport=function(e,t,n){if(void 0===t&&(t=0),void 0===n&&(n=0),e.__isBugsnagReport)return e;try{var i=_e.getStacktrace(e,t,1+n);return new _e(e.name,e.message,i,void 0,e)}catch(t){return new _e(e.name,e.message,[],void 0,e)}};var ye=_e,be=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},Se="object"==typeof window?window:self,Ae=0;for(var Ie in Se)Object.hasOwnProperty.call(Se,Ie)&&Ae++;var Te=navigator.mimeTypes?navigator.mimeTypes.length:0,Ce=be((Te+navigator.userAgent.length).toString(36)+Ae.toString(36),4),Pe=function(){return Ce},Oe=0,we=4,Ne=36,Re=Math.pow(Ne,we);o.fingerprint=Pe;var De=o,Le=U.isoDate,Be=function(){function e(){this.id=De(),this.startedAt=Le(),this._handled=0,this._unhandled=0}var t=e.prototype;return t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t.trackError=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),Me=Be,xe=U.map,ke=U.includes,Ue=U.isArray,Ve=function(){function e(t){if(!(t&&t.name&&t.version&&t.url))throw new Error("`notifier` argument is required");this.notifier=t,this._configured=!1,this._opts={},this.config={},this._delivery={sendSession:function(){},sendReport:function(){}},this._logger={debug:function(){},info:function(){},warn:function(){},error:function(){}},this._plugins={},this._session=null,this.breadcrumbs=[],this.app={},this.context=void 0,this.device=void 0,this.metaData=void 0,this.request=void 0,this.user={},this.BugsnagClient=e,this.BugsnagReport=ye,this.BugsnagBreadcrumb=te,this.BugsnagSession=Me;var n=this,i=this.notify;this.notify=function(){return i.apply(n,arguments)}}var t=e.prototype;return t.setOptions=function(e){this._opts=s({},this._opts,e)},t.configure=function(e){void 0===e&&(e=G.schema);var t=G.mergeDefaults(this._opts,e),n=G.validate(t,e);if(1==!n.valid)throw new Error(Fe(n.errors));return"function"==typeof t.beforeSend&&(t.beforeSend=[t.beforeSend]),t.appVersion&&(this.app.version=t.appVersion),t.appType&&(this.app.type=t.appType),t.metaData&&(this.metaData=t.metaData),t.user&&(this.user=t.user),t.logger&&this.logger(t.logger),this.config=s({},this.config,t),this._configured=!0,this},t.use=function(e){if(!this._configured)throw new Error("client not configured");e.configSchema&&this.configure(e.configSchema);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r=e.init.apply(e,[this].concat(n));return e.name&&(this._plugins["~"+e.name+"~"]=r),this},t.getPlugin=function(e){return this._plugins["~"+e+"~"]},t.delivery=function(e){return this._delivery=e(this),this},t.logger=function(e,t){return this._logger=e,this},t.sessionDelegate=function(e){return this._sessionDelegate=e,this},t.startSession=function(){return this._sessionDelegate?this._sessionDelegate.startSession(this):(this._logger.warn("No session implementation is installed"),this)},t.leaveBreadcrumb=function(e,t,n,i){if(!this._configured)throw new Error("client not configured");if(e=e||void 0,n="string"==typeof n?n:void 0,i="string"==typeof i?i:void 0,t="object"==typeof t&&null!==t?t:void 0,"string"==typeof e||t){var r=new te(e,t,n,i);return this.breadcrumbs.push(r),this.breadcrumbs.length>this.config.maxBreadcrumbs&&(this.breadcrumbs=this.breadcrumbs.slice(this.breadcrumbs.length-this.config.maxBreadcrumbs)),this}},t.notify=function(e,t,n){var i=this;if(void 0===t&&(t={}),void 0===n&&(n=function(){}),!this._configured)throw new Error("client not configured");var r=ie(this),o=Ge(e,t,this._logger),a=o.err,u=o.errorFramesToSkip,c=o._opts;c&&(t=c),"object"==typeof t&&null!==t||(t={});var l=ye.ensureReport(a,u,2);if(l.app=s({},{releaseStage:r},l.app,this.app),l.context=l.context||t.context||this.context||void 0,l.device=s({},l.device,this.device,t.device),l.request=s({},l.request,this.request,t.request),l.user=s({},l.user,this.user,t.user),l.metaData=s({},l.metaData,this.metaData,t.metaData),l.breadcrumbs=this.breadcrumbs.slice(0),this._session&&(this._session.trackError(l),l.session=this._session),void 0!==t.severity&&(l.severity=t.severity,l._handledState.severityReason={type:"userSpecifiedSeverity"}),Ue(this.config.notifyReleaseStages)&&!ke(this.config.notifyReleaseStages,r))return this._logger.warn("Report not sent due to releaseStage/notifyReleaseStages configuration"),n(null,l);var f=l.severity,d=[].concat(t.beforeSend).concat(this.config.beforeSend),p=function(e){i._logger.error("Error occurred in beforeSend callback, continuing anyway…"),i._logger.error(e)};ne(d,se(l,p),function(e,t){if(e&&p(e),t)return i._logger.debug("Report not sent due to beforeSend callback"),n(null,l);i.config.autoBreadcrumbs&&i.leaveBreadcrumb(l.errorClass,{errorClass:l.errorClass,errorMessage:l.errorMessage,severity:l.severity},"error"),f!==l.severity&&(l._handledState.severityReason={type:"userCallbackSetSeverity"}),i._delivery.sendReport({apiKey:l.apiKey||i.config.apiKey,notifier:i.notifier,events:[l]},function(e){return n(e,l)})})},e}(),Ge=function(e,t,n){var i,r,o=function(e){var t=He(e);return n.warn("Usage error. "+t),new Error("Bugsnag usage error. "+t)},s=0;switch(typeof e){case"string":"string"==typeof t?(i=o("string/string"),r={metaData:{notifier:{notifyArgs:[e,t]}}}):(i=new Error(String(e)),s=3);break;case"number":case"boolean":i=new Error(String(e));break;case"function":i=o("function");break;case"object":null!==e&&(oe(e)||e.__isBugsnagReport)?i=e:null!==e&&je(e)?(i=new Error(e.message||e.errorMessage),i.name=e.name||e.errorClass,s=3):i=o(null===e?"null":"unsupported object");break;default:i=o("nothing")}return{err:i,errorFramesToSkip:s,_opts:r}},je=function(e){return!("string"!=typeof e.name&&"string"!=typeof e.errorClass||"string"!=typeof e.message&&"string"!=typeof e.errorMessage)},Fe=function(e){return"Bugsnag configuration error\n"+xe(e,function(e){return'"'+e.key+'" '+e.message+" \n got "+We(e.value)}).join("\n\n")},He=function(e){return"notify() expected error/opts parameters, got "+e},We=function(e){return"object"==typeof e?JSON.stringify(e):String(e)},Ke=Ve,Ye=function(e,t,n,i){var r=i&&i.filterKeys?i.filterKeys:[],o=i&&i.filterPaths?i.filterPaths:[];return JSON.stringify(h(e,r,o),t,n)},qe=20,ze=25e3,$e=8,Xe="...",Je={},Qe=["events.[].app","events.[].metaData","events.[].user","events.[].breadcrumbs","events.[].request","events.[].device"],Ze=["device","app","user"];Je.report=function(e,t){var n=Ye(e,null,null,{filterPaths:Qe,filterKeys:t});if(n.length>1e6&&(delete e.events[0].metaData,e.events[0].metaData={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetaData was removed"},n=Ye(e,null,null,{filterPaths:Qe,filterKeys:t}),n.length>1e6))throw new Error("payload exceeded 1MB limit");return n},Je.session=function(e,t){var n=Ye(e,null,null,{filterPaths:Ze,filterKeys:t});if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var et={},tt=this,nt=U.isoDate;et=function(e,t){return void 0===t&&(t=window),{sendReport:function(n,i){void 0===i&&(i=function(){});var r=it(e.config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){i(null)},o.open("POST",r),setTimeout(function(){try{o.send(Je.report(n,e.config.filters))}catch(t){e._logger.error(t),i(t)}},0)},sendSession:function(n,i){void 0===i&&(i=function(){});var r=it(e.config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){i(null)},o.open("POST",r),setTimeout(function(){try{o.send(Je.session(n,e.config.filters))}catch(e){tt._logger.error(e),i(e)}},0)}}};var it=function(e,t,n,i){return rt(e.endpoints[t],i.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(nt())},rt=et._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},ot=U.isoDate,st=function(e,t){return void 0===t&&(t=window),{sendReport:function(n,i){void 0===i&&(i=function(){});try{var r=e.config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&i(null)},o.open("POST",r),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e.config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",ot()),o.send(Je.report(n,e.config.filters))}catch(t){e._logger.error(t)}},sendSession:function(n,i){void 0===i&&(i=function(){});try{var r=e.config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&i(null)},o.open("POST",r),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e.config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",ot()),o.send(Je.session(n,e.config.filters))}catch(t){e._logger.error(t)}}}},at={init:function(e,t){void 0===t&&(t=window),e.config.beforeSend.unshift(function(e){e.context||(e.context=t.location.pathname)})}},ut=U.isoDate,ct={init:function(e,t){void 0===t&&(t=navigator);var n={locale:t.browserLanguage||t.systemLanguage||t.userLanguage||t.language,userAgent:t.userAgent};e.device=_({},n,e.device),e.config.beforeSend.unshift(function(e){e.device=_({},e.device,{time:ut()})})}},lt={init:function(e,t){void 0===t&&(t=window),e.config.beforeSend.unshift(function(e){e.request&&e.request.url||(e.request=g({},e.request,{url:t.location.href}))})}},ft=U.isArray,dt=U.includes,pt={init:function(e){return e.sessionDelegate(ht)}},ht={startSession:function(e){var t=e;t._session=new e.BugsnagSession;var n=ie(t);return ft(t.config.notifyReleaseStages)&&!dt(t.config.notifyReleaseStages,n)?(t._logger.warn("Session not sent due to releaseStage/notifyReleaseStages configuration"),t):t.config.endpoints.sessions?(t._delivery.sendSession({notifier:t.notifier,device:t.device,app:v({},{releaseStage:n},t.app),sessions:[{id:t._session.id,startedAt:t._session.startedAt,user:t.user}]}),t):(t._logger.warn("Session not sent due to missing endpoints.sessions configuration"),t)}},_t={init:function(e){e.config.collectUserIp||e.config.beforeSend.push(function(e){e.user&&void 0===e.user.id&&delete e.user.id,e.user=m({id:"[NOT COLLECTED]"},e.user),e.request=m({clientIp:"[NOT COLLECTED]"},e.request)})},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},gt={},vt=U.map,mt=U.reduce,Et=U.filter;gt.init=function(e){var t=/^dev(elopment)?$/.test(e.config.releaseStage),n=!1===e.config.consoleBreadcrumbsEnabled,i=(!1===e.config.autoBreadcrumbs||t)&&!0!==e.config.consoleBreadcrumbsEnabled;n||i||vt(yt,function(t){var n=console[t];console[t]=function(){for(var i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];e.leaveBreadcrumb("Console output",mt(r,function(e,t,n){var i="[Unknown value]";try{i=String(t)}catch(e){}if("[object Object]"===i)try{i=JSON.stringify(t)}catch(e){}return e["["+n+"]"]=i,e},{severity:0===t.indexOf("group")?"log":t}),"log"),n.apply(console,r)},console[t]._restore=function(){console[t]=n}})},gt.configSchema={consoleBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}};var yt=Et(["log","debug","info","warn","error"],function(e){return"undefined"!=typeof console&&"function"==typeof console[e]}),bt=U.map,St=U.reduce,At=U.filter,It={init:function(e,t,n){function i(e,t){return function(){var n=Array.prototype.slice.call(arguments),i=t(n),r=i.get();if("function"!=typeof r)return e.apply(this,n);try{if(r.__trace__)i.replace(r.__trace__);else{var o=f();r.__trace__=function(){l(o),h(function(){l(null)},0);var e=r.apply(this,arguments);return l(null),e},r.__trace__.__trace__=r.__trace__,i.replace(r.__trace__)}}catch(e){}if(e.apply)return e.apply(this,n);switch(n.length){case 1:return e(n[0]);case 2:return e(n[0],n[1]);default:return e()}}}if(void 0===t&&(t=document),void 0===n&&(n=window),e.config.trackInlineScripts){var r=n.location.href,o="",s=!1,a=function(){return t.documentElement.outerHTML};o=a();var u=t.onreadystatechange;t.onreadystatechange=function(){"interactive"===t.readyState&&(o=a(),s=!0),"function"==typeof u&&u.apply(this,arguments)};var c=null,l=function(e){c=e},f=function(){var e=t.currentScript||c;if(!e&&!s){var n=t.scripts||t.getElementsByTagName("script");e=n[n.length-1]}return e},d=function(e){s&&o||(o=a());var t=["\x3c!-- DOC START --\x3e"].concat(o.split("\n")),n=e-1,i=Math.max(n-3,0),r=Math.min(n+3,t.length-1);return St(t.slice(i,r),function(t,n,i){return t[i+e-3]=n.length<=200?n:n.substr(0,200),t},{})};e.config.beforeSend.unshift(function(e){e.stacktrace=At(e.stacktrace,function(e){return!/__trace__$/.test(e.method)});var t=e.stacktrace[0];if(!t||!t.file||t.file.replace(/#.*$/,"")===r.replace(/#.*$/,"")){var n=f();if(n){var i=n.innerHTML;e.updateMetaData("script","content",i.length<=5e5?i:i.substr(0,5e5))}void 0!==t.lineNumber&&(t.code=d(t.lineNumber))}});var p=bt(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],function(e){return E(n,e,function(e){return i(e,function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}})})}),h=p[0];bt(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],function(e){n[e]&&n[e].prototype&&"function"==typeof n[e].prototype.addEventListener&&(E(n[e].prototype,"addEventListener",function(e){return i(e,y)}),E(n[e].prototype,"removeEventListener",function(e){return i(e,y)}))})}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}},Tt={init:function(e,t){if(void 0===t&&(t=window),"addEventListener"in t){var n=!1===e.config.interactionBreadcrumbsEnabled,i=!1===e.config.autoBreadcrumbs&&!0!==e.config.interactionBreadcrumbsEnabled;n||i||t.addEventListener("click",function(n){var i,r;try{i=Ct(n.target),r=b(n.target,t)}catch(t){i="[hidden]",r="[hidden]",e._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}e.leaveBreadcrumb("UI click",{targetText:i,targetSelector:r},"user")},!0)}},configSchema:{interactionBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}}},Ct=function(e){var t=e.textContent||e.innerText||"";return t||"submit"!==e.type&&"button"!==e.type||(t=e.value),t=t.replace(/^\s+|\s+$/g,""),S(t,140)},Pt={};Pt.init=function(e,t){if(void 0===t&&(t=window),"addEventListener"in t){var n=!1===e.config.navigationBreadcrumbsEnabled,i=!1===e.config.autoBreadcrumbs&&!0!==e.config.navigationBreadcrumbsEnabled;if(!n&&!i){var r=function(t){return function(){return e.leaveBreadcrumb(t,{},"navigation")}};t.addEventListener("pagehide",r("Page hidden"),!0),t.addEventListener("pageshow",r("Page shown"),!0),t.addEventListener("load",r("Page loaded"),!0),t.document.addEventListener("DOMContentLoaded",r("DOMContentLoaded"),!0),t.addEventListener("load",function(){return t.addEventListener("popstate",r("Navigated back"),!0)}),t.addEventListener("hashchange",function(n){var i=n.oldURL?{from:Rt(n.oldURL,t),to:Rt(n.newURL,t),state:Bt(t)}:{to:Rt(t.location.href,t)};e.leaveBreadcrumb("Hash changed",i,"navigation")},!0),t.history.replaceState&&Lt(e,t.history,"replaceState",t),t.history.pushState&&Lt(e,t.history,"pushState",t),e.leaveBreadcrumb("Bugsnag loaded",{},"navigation")}}},Pt.configSchema={navigationBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}};var Ot,wt,Nt,Rt=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},Dt=function(e,t,n,i){var r=Rt(e.location.href,e);return{title:n,state:t,prevState:Bt(e),to:i||r,from:r}},Lt=function(e,t,n,i){var r=t[n];t[n]=function(o,s,a){e.leaveBreadcrumb("History "+n,Dt(i,o,s,a),"navigation"),"function"==typeof e.refresh&&e.refresh(),e.config.autoCaptureSessions&&e.startSession(),r.apply(t,[o,s].concat(void 0!==a?a:[]))}},Bt=function(e){try{return e.history.state}catch(e){}},Mt={},xt="request",kt="BS~~U",Ut="BS~~M",Vt=U.includes,Gt=function(){return[Ot.config.endpoints.notify,Ot.config.endpoints.sessions]};Mt.name="networkBreadcrumbs",Mt.init=function(e,t,n){void 0===t&&(t=Gt),void 0===n&&(n=window);var i=!1===e.config.networkBreadcrumbsEnabled,r=!1===e.config.autoBreadcrumbs&&!0!==e.config.networkBreadcrumbsEnabled;i||r||(Ot=e,wt=n,Nt=t,jt(),Ft())},Mt.configSchema={networkBreadcrumbsEnabled:{defaultValue:function(){},validate:function(e){return!0===e||!1===e||void 0===e},message:"should be true|false"}};var jt=function(){if("addEventListener"in wt.XMLHttpRequest.prototype){var e=wt.XMLHttpRequest.prototype.open;wt.XMLHttpRequest.prototype.open=function(t,n){this[kt]=n,this[Ut]=t,this["BS~~S"]&&(this.removeEventListener("load",A),this.removeEventListener("error",I)),this.addEventListener("load",A),this.addEventListener("error",I),this["BS~~S"]=!0,e.apply(this,arguments)}}},Ft=function(){if("fetch"in wt&&!wt.fetch.polyfill){var e=wt.fetch;wt.fetch=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n[0],o=n[1],s="GET";return o&&o.method&&(s=o.method),new Promise(function(t,i){e.apply(void 0,n).then(function(e){Ht(e,s,r),t(e)}).catch(function(e){Wt(s,r),i(e)})})}}},Ht=function(e,t,n){var i={status:e.status,request:t+" "+n};e.status>=400?Ot.leaveBreadcrumb("fetch() failed",i,xt):Ot.leaveBreadcrumb("fetch() succeeded",i,xt)},Wt=function(e,t){Ot.leaveBreadcrumb("fetch() error",{request:e+" "+t},xt)},Kt=V.intRange,Yt={init:function(e){var t=0;e.config.beforeSend.push(function(n){if(t>=e.config.maxEvents)return n.ignore();t++}),e.refresh=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer ≤100",validate:function(e){return Kt(1,100)(e)}}}},qt={},zt=U.map;qt={init:function(e){e.config.beforeSend.push(function(e){e.stacktrace=zt(e.stacktrace,function(e){return T({},e,{file:Xt(e.file)})})})}};var $t,Xt=qt._strip=function(e){return"string"==typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},Jt={init:function(e,t){function n(t,n,r,o,s){if(0===r&&/Script error\.?/.test(t))e._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var a,u={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(s)s.name&&s.message?a=new e.BugsnagReport(s.name,s.message,Qt(e.BugsnagReport.getStacktrace(s),n,r,o),u,s):(a=new e.BugsnagReport("window.onerror",String(s),Qt(e.BugsnagReport.getStacktrace(s,1),n,r,o),u,s),a.updateMetaData("window onerror",{error:s}));else if("object"!=typeof t||null===t||n&&"string"==typeof n||r||o||s)a=new e.BugsnagReport("window.onerror",String(t),Qt(e.BugsnagReport.getStacktrace(s,1),n,r,o),u,t),a.updateMetaData("window onerror",{event:t});else{var c=t.type?"Event: "+t.type:"window.onerror",l=t.message||t.detail||"";a=new e.BugsnagReport(c,l,e.BugsnagReport.getStacktrace(new Error,1).slice(1),u,t),a.updateMetaData("window onerror",{event:t,extraParameters:n})}e.notify(a)}"function"==typeof i&&i.apply(this,arguments)}void 0===t&&(t=window);var i=t.onerror;t.onerror=n}},Qt=function(e,t,n,i){var r=e[0];return r?(r.fileName||"string"!=typeof t||r.setFileName(t),!r.lineNumber&&Zt(n)&&r.setLineNumber(n),r.columnNumber||(Zt(i)?r.setColumnNumber(i):window.event&&Zt(window.event.errorCharacter)&&r.setColumnNumber(window.event.errorCharacter)),e):e},Zt=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},en={},tn=U.reduce;en.init=function(e,t){void 0===t&&(t=window);var n=function(t){var n=t.reason,i=!1;try{t.detail&&t.detail.reason&&(n=t.detail.reason,i=!0)}catch(e){}var r,o={severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}};n&&fe(n)?(r=new e.BugsnagReport(n.name,n.message,le.parse(n),o,n),i&&(r.stacktrace=tn(r.stacktrace,rn(n),[]))):(r=new e.BugsnagReport(n&&n.name?n.name:"UnhandledRejection",n&&n.message?n.message:'Rejection reason was not an Error. See "Promise" tab for more detail.',[],o,n),r.updateMetaData("promise","rejection reason",nn(n))),e.notify(r)};"addEventListener"in t?t.addEventListener("unhandledrejection",n):t.onunhandledrejection=function(e,t){n({detail:{reason:e,promise:t}})},$t=n};var nn=function(e){if(null===e||void 0===e)return"undefined (or null)";if(oe(e)){var t;return t={},t[Object.prototype.toString.call(e)]={name:e.name,message:e.message,code:e.code,stack:e.stack},t}return e},rn=function(e){return function(t,n){return n.file===e.toString()?t:(n.method&&(n.method=n.method.replace(/^\s+/,"")),t.concat(n))}},on={},sn=C({},G.schema,J);return on=function(e){"string"==typeof e&&(e={apiKey:e});var t="";e.endpoints&&e.endpoints.notify&&!e.endpoints.sessions&&(t+="notify endpoint is set but sessions endpoint is not. No sessions will be sent.");var n=new Ke({name:"Bugsnag JavaScript",version:"6.3.0",url:"https://web.archive.org/web/20190701112059/https://github.com/bugsnag/bugsnag-js"});return n.setOptions(e),n.delivery(window.XDomainRequest?et:st),n.configure(sn),t&&n._logger.warn(t),n.use(ct),n.use(at),n.use(lt),n.use(Yt),n.use(pt),n.use(_t),n.use(qt),!1!==n.config.autoNotify&&(n.use(Jt),n.use(en)),n.use(Pt),n.use(Tt),n.use(Mt),n.use(gt),n.use(It),n._logger.debug("Loaded!"),n.config.autoCaptureSessions?n.startSession():n},on.Bugsnag={Client:Ke,Report:ye,Session:Me,Breadcrumb:te},on.default=on,on}()}()},function(e,t,n){"use strict";n(5),n(4);var i=n(73),r=n(3);n(5),n(4);var o,s=r(n(70)),a=r(n(164)),u=i(n(52)),c=i(n(79)),l=r(n(165));e.exports=function(e,t){var n=e.idAvailabilityData.body.isAvailable,i=e.idConfigData.body?JSON.parse(e.idConfigData.body):{},r=u.getValidUrl(e.exitGameUrl),f=r?"ptrt=".concat(encodeURIComponent(r)):"";o=l.default,t.then(function(e){o=e}).catch(function(){});var d=function(t){var n=e.data.body.embedVars,r=n.authUrl,o=n.clientId;if(!r||!o)return!1;var s=f?"&".concat(f):"",a=encodeURIComponent(r),u=(new Date).getTime();return"".concat(i.identityTokenExchangeUrl,"?clientId=").concat(o,"&nonce=").concat(u,"&redirectUri=").concat(a,"&state=").concat(t).concat(s,"&responseMode=query")},p=function(e){return new Promise(function(t,i){n?(e+="?".concat(f),c.openUrlAtWindowTop(window,e),t()):i(a.default.systemUnavailable)})},h=function(){return new Promise(function(e){return e(o.hasCookie())})};return{status:h,signIn:function(){return p(i.signin_url)},signOut:function(){return p(i.signout_url)},register:function(){return p(i.register_url)},authorise:function(e){return h().then(function(t){return t?new Promise(function(t,i){n||i(a.default.systemUnavailable);var r=d(e);!1===r?(console.warn("clientId or AuthUrl have not been supplied"),i(new Error("clientId or AuthUrl have not been supplied"))):(0,s.default)(r,{credentials:"include"}).then(function(e){return 200===e.status?t():i(a.default.authorisationSystemUnavailable)}).catch(function(){i(a.default.authorisationSystemUnavailable)})}):(console.warn("User not logged in."),Promise.reject(new Error("User not logged in.")))})}}}},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=new Error("The ID availability service timed-out."),r=new Error("The ID availability service is unavailable."),o=new Error("The ID system is unavailable."),s=new Error("Not signed In"),a=new Error("The authorisation system is unavailable"),u={servicetimeOut:i,serviceUnavailable:r,systemUnavailable:o,notSignedIn:s,authorisationSystemUnavailable:a};t.default=u},function(e,t,n){"use strict";n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={hasCookie:function(){return!1},policyCheck:function(){return!1}};t.default=i},function(e,t,n){!function(t,n){e.exports=function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(i,r,function(t){return e[t]}.bind(null,r));return i},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=22)}([function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){var n={};for(var i in e)try{e[i].constructor===Object?n[i]=t(e[i]):n[i]=e[i]}catch(t){n[i]=e[i]}return n}function i(e,n,r){var o=r?e:t(e);for(var s in n)try{n[s].constructor===Object?o[s]=i(o[s],n[s]):o[s]=n[s]}catch(e){o[s]=n[s]}return o}function r(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return!0;return!1}function o(e,n){for(var r=(n?t(e):e)||{},o=arguments,s=2,a=o.length;s<a;s++)"object"==typeof o[s]?i(r,o[s],!0):r[o[s]]=o[++s];return r}function s(e,t,n){return e||(n?a.warn("AssertionFailed: "+t):a.error("AssertionFailed: "+t)),e}var a=n(2);return{clone:t,combineObjects:i,addKV:function(e,t,n){return n?o(e,!0,t,n):o(e,!0,t)},containsValue:r,extend:o,assert:s,assertContainsValue:function(e,t,n){return s(r(e,t),n)},trim:function(e){if("string"==typeof e)return e=String.prototype.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e,t,n,i){var r={};return r[u.COMSCORE_CUSTOMER_ID]=e,r[u.COMSCORE_SITE]=t,r[u.COMSCORE_HOST]=n,r[u.SSC_HOSTNAME]=i,r}function i(e){return t(p,e,"sa.bbc.co.uk",".co.uk")}function r(e,n){return t(e,n,"scorecardresearch.com",".com")}var o=n(10),s=n(5),a=n(11),u=n(3),c=n(6),l={};Object.keys(o).map(function(e){l[e]=e});var f={};Object.keys(s).map(function(e){f[e]=e});var d={};Object.keys(a).map(function(e){d[e]=e});var p="16060501",h="18897612",_={};return _.PUBLIC_SERVICE=i("bbc"),_.PUBLIC_SERVICE_STAGE=i("stage"),_.PUBLIC_SERVICE_TEST=i("test"),_.PUBLIC_SERVICE_INT=i("int"),_.PUBLIC_SERVICE_INTRANET=i("intranet"),_.GNL=r("19293874","bbc"),_.GNL_ACCEPTANCE=r(h,"gnl-test"),_.WORLD_SERVICE=r("19999701","bbc"),_.WORLD_SERVICE_ACCEPTANCE=r(h,"ws-test"),_.WORLDWIDE_FEATURES=r("19774467","bbc"),_.WORLDWIDE_FEATURES_ACCEPTANCE=r(h,"features-test"),_.STORE_NONCOMMERCIAL=r("19774474","bbc"),_.STORE_COMMERCIAL=r("19774472","bbc"),_.BRITBOX_ACCEPTANCE=r("18897612","bbc-global-test"),_.BRITBOX=r("23239715","bbc"),{ApplicationType:{WEB:"web",MOBILE_WEB:"mobile-web",RESPONSIVE:"responsive",MOBILE_APP:"mobile-app",BIGSCREEN_HTML:"bigscreen-html",BIGSCREEN_FLASH:"bigscreen-flash",BIGSCREEN_APP:"bigscreen-app",BIGSCREEN_CAST:"bigscreen-cast",DESKTOP_APP:"desktop-app"},WindowState:{FULL:"full",NORMAL:"norm",MINIMISED:"min",MAXIMISED:"max",PICTUREINPICTURE:"picture-in-picture"},MediaIdType:{VERSION:"version",CLIP:"clip",EPISODE:"episode",SERVICE:"service",VPID:"vpid",NONPIPSCONTENTID:"nonpipscontentid",PRODUCER:"producer",BRAND:"brand",SERIES:"series"},MediaClipType:{UNDEFINED:void 0,CLIP:"clip",EPISODE:"episode"},MediaInitiationType:{UNDEFINED:void 0,USER:"user",AUTO:"auto"},AvType:{AUDIO:"audio",VIDEO:"video"},RetrievalType:{STREAM:"stream",DOWNLOAD:"download"},Form:{LONG:"long",SHORT:"short"},PIPsType:{CLIP:"clip",EPISODE:"ep"},MediaConsumptionMode:{ON_DEMAND:"ondemand",LIVE:"live",DOWNLOAD:"download"},EchoCacheMode:{OFFLINE:"offline",ALL:"all"},ManagedLabels:{EVENT_MASTER_BRAND:"event_master_brand",BBC_SITE:"bbc_site",IPLAYER_STATE:"iplayer_state",STORE_ED_TYPE:"store_ed_type",IPLAYER_AVAIL:"iplayer_avail",STORE_REFERRAL:"store_referral",BBC_HASHED_ID:"bbc_hid"},ReportingProfiles:_,EssError:{STATUS_CODE:"status_code",TIMEOUT:"timeout",JSON:"json",RUNTIME:"runtime_error"},Destinations:l,Producers:f,Masterbrands:d,EchoLabelKeys:c}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){var t,i;n&&(t="log",i=e,"object"==typeof console&&"function"==typeof console[t]&&console[t](i))}var n=!1;return{enable:function(){n=!0},disable:function(){n=!1},getState:function(){return n},info:t,warn:t,error:function(e){if(n)throw new Error("ECHO_DEBUG: "+e)}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{ECHO_ENABLED:"enabled",ECHO_AUTO_START:"auto_start",ECHO_TRACE:"trace",ECHO_DEVICE_ID:"device_id",REPORTING_PROFILE:"reporting_profile",ECHO_CACHE_MODE:"cache_mode",DEBUG_MODE:"disabled",ECHO_NAME:"lib_name",ECHO_VERSION:"lib_version",USE_SSC:"use_ssc",SSC_HOSTNAME:"ssc_hostname",COMSCORE_ENABLED:"comscore.enabled",COMSCORE_HOST:"comscore.host",COMSCORE_SITE:"comscore.site",COMSCORE_CUSTOMER_ID:"comscore.customer_id",COMSCORE_PUBLISHER_SECRET:"comscore.publisher_secret",ATI_ENABLED:"ati.enabled",ATI_LOG:"ati.log",ATI_SSL_LOG:"ati.ssl_log",ATI_DOMAIN:"ati.domain",ATI_PIXEL_PATH:"ati.pixel_path",ATI_FORCE_HTTPS:"ati.force_https",ATI_CACHE_MODE_ALWAYS:"always",ATI_CACHE_MODE_REQUIRED:"required",APP_CATEGORY:"app_category",KEEPALIVE_DURATION:"keepalive_duration",DESTINATION:"bbc_destination",PRODUCER:"bbc_producer",TEST_SERVICE_ENABLED:"test.enabled",TEST_SERVICE_URL:"test.url",BARB_ENABLED:"barb.enabled",BARB_SITE_CODE:"barb.site_code",BARB_DEBUG:"barb.debug",USE_ESS:"use_ess",ESS_HOSTNAME:"ess.hostname"}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){return e&&e.toLowerCase().replace(/[^a-z0-9]+/g,"_").replace(/(^_+)|(_+$)/g,"")}function i(e){var n=t(e);return s.assert(e===n,'Label key can only contain: [a-z0-9_], and no consecutive "_"s or "_" at the begining or end, got "'+e+'". This will be sent as "'+n+'"',!0),n}function r(e){var t=e&&e.toLowerCase().replace(/[^a-z0-9\.]+/g,"_").replace(/\.+/g,".").replace(/(^_+)|(_+$)/g,"")||"no.name.page";return e!==t&&(null!==e&&"string"==typeof e&&0!==e.replace(/ */,"").length||a.error("Countername must be a non-empty string"),e&&-1!==e.search(/-/)?a.warn('Submitted countername ("'+e+'") contains at least one "-". Dashes are not permitted but, for legacy reasons, "-" and "_" are equivalent in DAx. Echo converts dashes to underscores, so the countername will be sent as "'+t+'"'):a.warn('countername may only contain: [a-z0-9._], got "'+e+'". This will be cleaned up and sent as "'+t+'"')),-1===t.search(/\.page$/)&&(t+=".page"),t}function o(e,n){var i,o="",u=n,l=(i=e,d.hasOwnProperty(i)?d[i]:c.CUSTOM);if(l===c.COUNTERNAME&&(n=r(n)),"number"==typeof n||"boolean"==typeof n)return n.toString();if("string"==typeof n){switch(l){case c.EVENT_MASTER_BRAND:o='Label value can only contain [0-9a-z], and no consecutive "_"s and no "_"s or whitespace at the start or end.',u=t(n);break;case c.STRICT:o='Strict Label values can only contain [ 0-9a-z-], and no consecutive "-"s and no "-"s or whitespace at the start or end.',u=(p=n)&&p.toLowerCase().replace(/(^\s+)|(\s+$)/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-+)|(-+$)/g,"");break;case c.NO_CLEANSING:break;default:o="Custom Label value cannot contain whitespace at start or end or pipes (|).",u=(f=n)&&f.replace(/(^\s+)|(\s+$)/g,"").replace(/\|/g,"!")}var f,p;return o+='Got "'+n+'", will be replaced with "'+u+'"',s.assert(n===u,o,!0),u}a.error("Label must have number, boolean or string value")}var s=n(0),a=n(2),u=n(1),c=n(25),l=["player_name","ns_st_ws","bbc_site","app_type","app_name","bbc_store_pf","bbc_store_ed","bbc_store_fr","bbc_store_src"],f=["token","guardianToken","nonce","dateOfBirthDay","dateOfBirthMonth","dateOfBirthYear","dateOfBirth","permissionToken"],d={name:c.COUNTERNAME};d[u.ManagedLabels.EVENT_MASTER_BRAND]=c.EVENT_MASTER_BRAND;for(var p=0;p<l.length;p++)d[l[p]]=c.STRICT;return{cleanCounterName:r,cleanLabelKey:i,cleanLabelValue:o,cleanLanguage:function(e){if("number"==typeof e||"boolean"==typeof e)return e.toString();var t=e&&e.replace(/(^\s*)|(\s*$)/g,"").replace(/[^0-9a-zA-Z._]+/g,"-").replace(/(^-)|(-$)/g,"")||"";return s.assert(e===t,'Language label value can only contain [0-9a-zA-Z._-], and no consecutive "-"s and no - at the start or end. Got "'+e+'", will be replaced with "'+t+'"',!0),t},cleanLabels:function(e){var t,n={};for(var r in e)n[t=i(r)]=o(t,e[r]);return n},cleanCustomVariable:function(e){return e&&e.trim().replace(/\[|\]/g,"").replace(/&/g,"$").replace(/\s{1,}/g," ")},removeSensitiveInfo:function(e){if(e&&"string"==typeof e)for(p=0;p<f.length;p++){var t=new RegExp(f[p]+"=[^&]*","g");e=e.replace(t,f[p]+"=XXXX")}return e}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{ACCOUNT:1,AFAAN_OROMOO:2,AFRIQUE:3,AMHARIC:4,ARABIC:5,AZERI:6,BBC:7,BBC_ALBA:8,BBC_ARTS:9,BBC_ASIAN_NETWORK:10,BBC_FOOD:11,BBC_FOUR:12,BBC_HD:13,BBC_MUSIC:14,BBC_NEWS_CHANNEL:15,BBC_ONE:16,BBC_PARLIAMENT_CHANNEL:17,BBC_RADIO:18,BBC_RADIO_1:19,BBC_RADIO_1XTRA:20,BBC_RADIO_2:21,BBC_RADIO_3:22,BBC_RADIO_4:23,BBC_RADIO_4_EXTRA:24,BBC_RADIO_5_LIVE:25,BBC_RADIO_6_MUSIC:26,BBC_SCOTLAND:120,BBC_SEND:121,BBC_SHOP:27,BBC_THREE:28,BBC_TWO:29,BBC_WORLD_NEWS:30,BENGALI:31,BITESIZE:32,BRASIL:33,BRITBOX:34,BURMESE:35,CBBC:36,CBEEBIES:37,CHINESE:38,ENGLISH_REGIONS:39,GAHUZA:40,GATEWAY:41,GNL_AUTOS:42,GNL_CAPITAL:43,GNL_CULTURE:44,GNL_EARTH:45,GNL_FUTURE:46,GNL_HOMEPAGE:47,GNL_STORYWORKS:48,GNL_TRAVEL:49,GUJARATI:50,HAUSA:51,HINDI:52,IGBO:53,INDONESIAN:54,IPLAYER:55,JAPANESE:56,KOREAN:57,KYRGYZ:58,MARATHI:59,MEDIA_ACTION:60,MONITORING:61,MUNDO:62,NEPALI:63,NEWS:64,NEWSROUND:65,NORTHERN_IRELAND:66,OTHER:67,OWN_IT:118,PASHTO:68,PERSIAN:69,PIDGIN:70,PROGRAMMES:71,PS_HOMEPAGE:72,PUNJABI:73,REEL:74,RUSSIAN:75,S4C:76,SCHOOL_RADIO:77,SCHOOL_REPORT:78,SCOTLAND:79,SEARCH:80,SERBIAN:81,SINHALA:82,SOMALI:83,SOUNDS:84,SPORT:85,SWAHILI:86,TAMIL:87,TASTER:88,TEACH:119,TELUGU:89,THAI:90,TIGRINYA:91,TURKISH:92,UK_CHINA:93,UKRAINIAN:94,URDU:95,UZBEK:96,VIETNAMESE:97,VOICE:98,VOICE_FIRST_FORMATS:99,WALES:100,WEATHER:101,WEATHER_WATCHERS:102,WORLD_SERVICE_ENGLISH:103,WORKLIFE:104,WS_LEARNING_ENGLISH:105,WS_PARTNERS_B2B:106,YORUBA:107,NEWS_ENGLISH_REGIONS:108,SPORT_ENGLISH_REGIONS:109,NEWS_SCOTLAND:110,SPORT_SCOTLAND:111,NEWS_WALES:112,SPORT_WALES:113,NEWS_NORTHERN_IRELAND:114,SPORT_NORTHERN_IRELAND:115,AUDIENCE_SERVICES:116,WORLD_NEWS_PROGRAMMES:117,getId:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={BBC_COUNTER_NAME:"name",ECHO_EVENT_NAME:"echo_event",APP_VERSION:"apvr",HASHED_ID:"at",LEVEL_1_SITE:"site",LEVEL_2_SITE:"level2",SECTION:"section",CHAPTER_1:"chapter1",CONTENT_ID:"bbc_content_id",APP_TYPE:"bbc_app_type",APP_NAME:"bbc_app_name",APP_CATEGORY:"app_category",LANGUAGE:"language",URL:"bbc_url",REFERRER_URL:"bbc_referrer_url",CONTENT_TYPE:"bbc_content_type",LIBRARY_VERSION:"bbc_library_version",PAGE_TITLE:"page_title",CUSTOM_VAR_1:"custom_var_1",CUSTOM_VAR_2:"custom_var_2",CUSTOM_VAR_3:"custom_var_3",CUSTOM_VAR_4:"custom_var_4",CUSTOM_VAR_5:"custom_var_5",CUSTOM_VAR_6:"custom_var_6",CUSTOM_VAR_7:"custom_var_7",CUSTOM_VAR_8:"custom_var_8",CUSTOM_VAR_9:"custom_var_9",CUSTOM_VAR_10:"custom_var_10",MEDIA_PLAYER:"bbc_media_player",LOGGED_IN:"bbc_identity",BBC_HID:"bbc_hid",MEDIA_BRAND:"brand",MEDIA_SERIES:"series",IS_BACKGROUND:"is_background",SOURCE:"source",CONTAINER:"container",METADATA:"metadata",PERSONALISATION:"personalisation",RESULT:"result"}},function(e,t,n){e.exports={BBC_APPLICATION_NAME:"app_name",BBC_APPLICATION_TYPE:"app_type",BBC_APPLICATION_VERSION:"app_version",BBC_COUNTER_NAME:"name",DESTINATION:"bbc_destination",PRODUCER:"bbc_producer",BBC_LANGUAGE:"language",DEVICE_ID:"ns_alias",COMSCORE_C1:"c1",COMSCORE_C7:"c7",BBC_MEASUREMENT_LIB_NAME:"ml_name",BBC_MEASUREMENT_LIB_VERSION:"ml_version",ECHO_TRACE:"trace",ECHO_EVENT_NAME:"echo_event",EVENT_TRIGGERED_BY_USER:"ns_st_ui",STREAMSENSE_CUSTOM_EVENT_TYPE:"ns_st_ev",USER_ACTION_TYPE:"action_type",USER_ACTION_NAME:"action_name",PLAYLIST_END:"ns_st_pe",REWIND_FF_RATE:"ffrw_rate",COMSCORE_SITE:"ns_site",COMSCORE_CUSTOMER:"c2",COMSCORE_ENDPOINT:"comscore_endpoint",PLAYER_NAME:"ns_st_mp",PLAYER_VERSION:"ns_st_mv",PLAYER_WINDOW_STATE:"ns_st_ws",PLAYER_VOLUME:"ns_st_vo",PLAYER_POPPED:"bbc_st_pop",PLAYER_SUBTITLED:"bbc_st_sub",PLAYLIST_NAME:"ns_st_pl",PLAYLIST_CLIP_COUNT:"ns_st_cp",PLAYLIST_LENGTH:"ns_st_ca",MEDIA_PID:"ns_st_ci",MEDIA_LENGTH:"ns_st_cl",MEDIA_STREAM_TYPE:"ns_st_ty",MEDIA_IS_LIVE:"ns_st_li",MEDIA_EPISODE_ID:"episode_id",MEDIA_CLIP_ID:"clip_id",MEDIA_CLIP_NUMBER:"ns_st_cn",MEDIA_PART_NUMBER:"ns_st_pn",MEDIA_TOTAL_PARTS:"ns_st_tp",MEDIA_MEDIUM:"bbc_st_med",MEDIA_LIVE_OR_ONDEMAND:"bbc_st_lod",MEDIA_FORM:"bbc_st_mf",MEDIA_RETRIEVAL_TYPE:"bbc_st_ret",MEDIA_SCHEDULE_INDICATOR:"bbc_st_sch",MEDIA_VERSION_ID:"version_id",MEDIA_SERVICE_ID:"service_id",MEDIA_NON_PIPS_CONTENT_ID:"non_pips_content_id",MEDIA_AMBIGUOUS_ID:"ambig_ci",MEDIA_TIMESTAMP:"bbc_st_live_ts",ESS_SUCCESS:"ess_success",ESS_ERROR:"ess_error",ESS_STATUS_CODE:"ess_status_code",APP_PLATFORM_NAME:"ns_ap_pn",APP_PLATFORM_RUNTIME:"ns_ap_pfm",APP_OS_VERSION:"ns_ap_pfv",APP_DEVICE_NAME:"ns_ap_device",APP_SCREEN_RESOLUTION:"ns_ap_res",APP_LANGUAGE:"ns_ap_lang",ENV_CHAR_SET:"ns_c",ENV_TITLE:"c8",ENV_URL:"c7",ENV_REFERRER:"c9",APP_NAME:"ns_ap_an",APP_VERSION:"ns_ap_ver",NO_COOKIES:"ns_nc",COOKIE_POLICY:"bbc_mc",BBC_ID_LOGGED_IN:"bbc_identity",WEB_SCREEN_RES:"screen_resolution",ESS_ENABLED:"ess_enabled",ESS_ENRICHED:"ess_enriched"}},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){var e=window.screen||{},t=window.navigator||{},n=window.document||{};this._platformRuntimeEnvironment="html",this._platformOSVersion="5",this._screenResolution=(e.width||"-")+"x"+(e.height||"-"),this._language=t.language||"",this._platformName=t.platform||"",this._charset=n.characterSet||n.defaultCharset||"",this._title=n.title||"",this._url=n.URL||"",this._referrer=n.referrer||"",this._deviceName=null,this._httpGet=null,this._executeCrossDomainGet=null,this._getCookie=null,this._setCookie=null,this._setLocalStorageItem=null,this._getLocalStorageItem=null}var i,r,o,s=n(4),a=n(9),u=n(26),c=!1,l=[];return t._defaultHttpGet=u.httpGet,t._defaultGetCookie=a.getCookieValueByName,t.prototype.getPlatformName=function(){return this._platformName},t.prototype.getPlatformRuntimeEnvironment=function(){return this._platformRuntimeEnvironment},t.prototype.getPlatformOSVersion=function(){return this._platformOSVersion},t.prototype.getDeviceName=function(){return this._deviceName},t.prototype.getScreenResolution=function(){return this._screenResolution},t.prototype.getLanguage=function(){return this._language},t.prototype.getHttpGet=function(){return this._httpGet},t.prototype.setExecuteCrossDomainGet=function(e){this._executeCrossDomainGet=e},t.prototype.getExecuteCrossDomainGet=function(){return this._executeCrossDomainGet?this._executeCrossDomainGet:u.executeCrossDomainGet},t.prototype.getCookieGetter=function(){return this._getCookie},t.prototype.getCookieSetter=function(){return this._setCookie},t.prototype.getCharSet=function(){return this._charset},t.prototype.getTitle=function(){return this._title},t.prototype.getURL=function(){return this._url},t.prototype.getProtocol=function(){return 0!==this.getURL().toLowerCase().indexOf("http:",0)?"https:":"http:"},t.prototype.getReferrer=function(){return this._referrer},t.prototype.setSetLocalStorageItem=function(e){this._setLocalStorageItem=e},t.prototype.getSetLocalStorageItem=function(){return this._setLocalStorageItem},t.prototype.setGetLocalStorageItem=function(e){this._getLocalStorageItem=e},t.prototype.getGetLocalStorageItem=function(){return this._getLocalStorageItem},t.prototype.setPlatformName=function(e){return this._platformName=e,this},t.prototype.setPlatform=function(e,t){return this._platformRuntimeEnvironment=e,this._platformOSVersion=t,this},t.prototype.setDeviceName=function(e){return this._deviceName=e,this},t.prototype.setScreenResolution=function(e){return this._screenResolution=e,this},t.prototype.setLanguage=function(e){return this._language=s.cleanLanguage(e),this},t.prototype.setHttpGet=function(e){return this._httpGet=e,this},t.prototype.setCookieGetter=function(e){return this._getCookie=e,this},t.prototype.setCookieSetter=function(e){return this._setCookie=e,this},t.prototype.setCharSet=function(e){return this._charset=e,this},t.prototype.setTitle=function(e){return this._title=e,this},t.prototype.setURL=function(e){return this._url=e,this},t.prototype.setReferrer=function(e){return this._referrer=e,this},t.setOrbCookies=function(e){return i=e,this},t.getOrbCookies=function(){return i},t.getOrbCookiesPolicy=function(){if(i&&"function"==typeof i.readPolicy)return i.readPolicy()},t.setOrbIdCta=function(e){return r=e,this},t.getOrbIdCta=function(e){var t=function(e,t){e&&"function"==typeof e&&e(t)};if(void 0===r)if(!1!==o){l.push(e);var n=window.require;void 0===o&&n?!(o="function"==typeof n.defined&&n.defined("idcta/idcta-1"))&&n.s&&n.s.contexts&&n.s.contexts._&&n.s.contexts._.config&&n.s.contexts._.config.paths&&n.s.contexts._.config.paths.idcta&&(o=!0):o=!1,o&&!c?(c=!0,window.require(["idcta/idcta-1"],function(e){for(r=e,0;0<l.length;l++)l[0]&&"function"==typeof l[0]&&t(l[0],r)})):!1===o&&t(e)}else t(e);else t(e,r)},t}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";return{getCookieValueByName:function(e,t){var n=e+"=",i=(t||window).document,r={};if(void 0===i||"string"!=typeof i.cookie)return null;for(var o=0,s=(r=i.cookie.split(";")).length;o<s;o++){var a=r[o];if(" "===a.charAt(0)&&(a=a.substring(1,a.length)),0===a.indexOf(n))return a.substring(n.length,a.length)}return null}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(5);return{DEFAULT:{id:"596068",defaultProducer:e.BBC,isTest:!0},ACCOUNT:{id:"598250",defaultProducer:e.ACCOUNT,isTest:!1},ACCOUNT_TEST:{id:"598252",defaultProducer:e.ACCOUNT,isTest:!0},AUDIENCE_PORTAL:{id:"602136",defaultProducer:e.AUDIENCE_SERVICES,isTest:!1},AUDIENCE_PORTAL_TEST:{id:"602137",defaultProducer:e.AUDIENCE_SERVICES,isTest:!0},AUDIENCE_SERVICES_PS:{id:"602167",defaultProducer:e.AUDIENCE_SERVICES,isTest:!1},AUDIENCE_SERVICES_PS_TEST:{id:"602168",defaultProducer:e.AUDIENCE_SERVICES,isTest:!0},BBC_CORPORATE_PS:{id:"603550",defaultProducer:e.BBC,isTest:!1},BBC_CORPORATE_PS_TEST:{id:"603551",defaultProducer:e.BBC,isTest:!0},BBC_SHOP:{id:"598253",defaultProducer:e.BBC_SHOP,isTest:!1},BBC_SHOP_TEST:{id:"598254",defaultProducer:e.BBC_SHOP,isTest:!0},BBC_SYNDICATION:{id:"601718",defaultProducer:e.BBC,isTest:!1},BBC_SYNDICATION_TEST:{id:"601719",defaultProducer:e.BBC,isTest:!0},BBC_THREE:{id:"598255",defaultProducer:e.BBC_THREE,isTest:!1},BBC_THREE_TEST:{id:"598256",defaultProducer:e.BBC_THREE,isTest:!0},BITESIZE:{id:"598257",defaultProducer:e.BITESIZE,isTest:!1},BITESIZE_TEST:{id:"598258",defaultProducer:e.BITESIZE,isTest:!0},BLOGS_PS:{id:"603546",defaultProducer:e.BBC,isTest:!1},BLOGS_PS_TEST:{id:"603547",defaultProducer:e.BBC,isTest:!0},BRITBOX:{id:"598259",defaultProducer:e.BRITBOX,isTest:!1},BRITBOX_TEST:{id:"598260",defaultProducer:e.BRITBOX,isTest:!0},CBBC:{id:"598261",defaultProducer:e.CBBC,isTest:!1},CBBC_TEST:{id:"598262",defaultProducer:e.CBBC,isTest:!0},CBEEBIES:{id:"598263",defaultProducer:e.CBEEBIES,isTest:!1},CBEEBIES_TEST:{id:"598264",defaultProducer:e.CBEEBIES,isTest:!0},FEATURE_SITES_GNL:{id:"598265",defaultProducer:e.GNL_HOMEPAGE,isTest:!1},FEATURE_SITES_GNL_TEST:{id:"598266",defaultProducer:e.GNL_HOMEPAGE,isTest:!0},FOOD:{id:"598267",defaultProducer:e.BBC_FOOD,isTest:!1},FOOD_TEST:{id:"598268",defaultProducer:e.BBC_FOOD,isTest:!0},GAMES_PS:{id:"599452",defaultProducer:e.BBC,isTest:!1},GAMES_PS_TEST:{id:"599454",defaultProducer:e.BBC,isTest:!0},GATEWAY:{id:"598269",defaultProducer:e.GATEWAY,isTest:!1},GATEWAY_TEST:{id:"598270",defaultProducer:e.GATEWAY,isTest:!0},HOMEPAGE_GNL:{id:"598271",defaultProducer:e.GNL_HOMEPAGE,isTest:!1},HOMEPAGE_GNL_TEST:{id:"598272",defaultProducer:e.GNL_HOMEPAGE,isTest:!0},HOMEPAGE_PS:{id:"598273",defaultProducer:e.PS_HOMEPAGE,isTest:!1},HOMEPAGE_PS_TEST:{id:"598274",defaultProducer:e.PS_HOMEPAGE,isTest:!0},IDEAS:{id:"598275",defaultProducer:e.BBC,isTest:!1},IDEAS_TEST:{id:"598276",defaultProducer:e.BBC,isTest:!0},IPLAYER:{id:"598277",defaultProducer:e.IPLAYER,isTest:!1},IPLAYER_TEST:{id:"598278",defaultProducer:e.IPLAYER,isTest:!0},MEDIA_ACTION:{id:"598279",defaultProducer:e.MEDIA_ACTION,isTest:!1},MEDIA_ACTION_TEST:{id:"598280",defaultProducer:e.MEDIA_ACTION,isTest:!0},MONITORING:{id:"598281",defaultProducer:e.MONITORING,isTest:!1},MONITORING_TEST:{id:"598282",defaultProducer:e.MONITORING,isTest:!0},MUSIC:{id:"598283",defaultProducer:e.BBC_MUSIC,isTest:!1},MUSIC_TEST:{id:"598284",defaultProducer:e.BBC_MUSIC,isTest:!0},NEWS_PS:{id:"598285",defaultProducer:e.NEWS,isTest:!1},NEWS_PS_TEST:{id:"598286",defaultProducer:e.NEWS,isTest:!0},NEWS_GNL:{id:"598287",defaultProducer:e.NEWS,isTest:!1},NEWS_GNL_TEST:{id:"598288",defaultProducer:e.NEWS,isTest:!0},NEWS_LANGUAGES_GNL:{id:"598289",defaultProducer:e.NEWS,isTest:!1},NEWS_LANGUAGES_GNL_TEST:{id:"598290",defaultProducer:e.NEWS,isTest:!0},NEWS_LANGUAGES_PS:{id:"598291",defaultProducer:e.NEWS,isTest:!1},NEWS_LANGUAGES_PS_TEST:{id:"598292",defaultProducer:e.NEWS,isTest:!0},NEWSROUND:{id:"598293",defaultProducer:e.NEWSROUND,isTest:!1},NEWSROUND_TEST:{id:"598294",defaultProducer:e.NEWSROUND,isTest:!0},OTHER:{id:"598295",defaultProducer:e.OTHER,isTest:!1},OTHER_TEST:{id:"598297",defaultProducer:e.OTHER,isTest:!0},OWN_IT:{id:"598298",defaultProducer:e.CBBC,isTest:!1},OWN_IT_TEST:{id:"598299",defaultProducer:e.CBBC,isTest:!0},PROGRAMMES_PS:{id:"598300",defaultProducer:e.PROGRAMMES,isTest:!1},PROGRAMMES_PS_TEST:{id:"598301",defaultProducer:e.PROGRAMMES,isTest:!0},RED_BUTTON_PS:{id:"601192",defaultProducer:e.BBC,isTest:!1},RED_BUTTON_PS_TEST:{id:"601193",defaultProducer:e.BBC,isTest:!0},REWIND_PS:{id:"603552",defaultProducer:e.BBC,isTest:!1},REWIND_PS_TEST:{id:"603553",defaultProducer:e.BBC,isTest:!0},SEARCH_GNL:{id:"598302",defaultProducer:e.SEARCH,isTest:!1},SEARCH_GNL_TEST:{id:"598303",defaultProducer:e.SEARCH,isTest:!0},SEARCH_PS:{id:"598304",defaultProducer:e.SEARCH,isTest:!1},SEARCH_PS_TEST:{id:"598305",defaultProducer:e.SEARCH,isTest:!0},SOUNDS:{id:"598306",defaultProducer:e.SOUNDS,isTest:!1},SOUNDS_TEST:{id:"598307",defaultProducer:e.SOUNDS,isTest:!0},SPORT_GNL:{id:"598308",defaultProducer:e.SPORT,isTest:!1},SPORT_GNL_TEST:{id:"598309",defaultProducer:e.SPORT,isTest:!0},SPORT_PS:{id:"598310",defaultProducer:e.SPORT,isTest:!1},SPORT_PS_TEST:{id:"598311",defaultProducer:e.SPORT,isTest:!0},STORYWORKS_GNL:{id:"598312",defaultProducer:e.GNL_STORYWORKS,isTest:!1},STORYWORKS_GNL_TEST:{id:"598313",defaultProducer:e.GNL_STORYWORKS,isTest:!0},SUBTITLES_PS:{id:"603548",defaultProducer:e.PROGRAMMES,isTest:!1},SUBTITLES_PS_TEST:{id:"603549",defaultProducer:e.PROGRAMMES,isTest:!0},SYNDICATION_PARTNERS_GNL:{id:"598314",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},SYNDICATION_PARTNERS_GNL_TEST:{id:"598315",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},TASTER:{id:"598316",defaultProducer:e.TASTER,isTest:!1},TASTER_TEST:{id:"598317",defaultProducer:e.TASTER,isTest:!0},TEACH:{id:"598318",defaultProducer:e.BBC,isTest:!1},TEACH_TEST:{id:"598320",defaultProducer:e.BBC,isTest:!0},VOICE:{id:"598326",defaultProducer:e.VOICE,isTest:!1},VOICE_TEST:{id:"598328",defaultProducer:e.VOICE,isTest:!0},WEATHER_GNL:{id:"598330",defaultProducer:e.WEATHER,isTest:!1},WEATHER_GNL_TEST:{id:"598332",defaultProducer:e.WEATHER,isTest:!0},WEATHER_PS:{id:"598338",defaultProducer:e.WEATHER,isTest:!1},WEATHER_PS_TEST:{id:"598339",defaultProducer:e.WEATHER,isTest:!0},WS_LEARNING_ENGLISH:{id:"598340",defaultProducer:e.WS_LEARNING_ENGLISH,isTest:!1},WS_LEARNING_ENGLISH_TEST:{id:"598341",defaultProducer:e.WS_LEARNING_ENGLISH,isTest:!0},WS_NEWS_LANGUAGES:{id:"598342",defaultProducer:e.BBC_WORLD_NEWS,isTest:!1},WS_NEWS_LANGUAGES_TEST:{id:"598343",defaultProducer:e.BBC_WORLD_NEWS,isTest:!0},WS_PARTNERS_B2B:{id:"598820",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},WS_PARTNERS_B2B_TEST:{id:"598823",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},WS_PROGRAMMES:{id:"598344",defaultProducer:e.PROGRAMMES,isTest:!1},WS_PROGRAMMES_TEST:{id:"598345",defaultProducer:e.PROGRAMMES,isTest:!0},WS_SYNDICATION_PARTNERS:{id:"598346",defaultProducer:e.WS_PARTNERS_B2B,isTest:!1},WS_SYNDICATION_PARTNERS_TEST:{id:"598347",defaultProducer:e.WS_PARTNERS_B2B,isTest:!0},get:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(5);return{BBC_NEWS:e.BBC_NEWS_CHANNEL,BBC_NEWS24:e.BBC_NEWS_CHANNEL,BBC_WORLD_NEWS:e.BBC_WORLD_NEWS,BBC_AFRIQUE_RADIO:e.AFRIQUE,BBC_AFRIQUE_TV:e.AFRIQUE,BBC_AMHARIC_RADIO:e.AMHARIC,BBC_ARABIC_RADIO:e.ARABIC,BBC_ARABIC_TV:e.ARABIC,BBC_BENGALI_RADIO:e.BENGALI,BBC_BRASIL:e.BRASIL,BBC_BURMESES_RADIO:e.BURMESE,BBC_BURMESES_TV:e.BURMESE,BBC_CANTONESE_RADIO:e.CHINESE,BBC_DARI_RADIO:e.PERSIAN,BBC_GAHUZA_RADIO:e.GAHUZA,BBC_GUJARATI_TV:e.GUJARATI,BBC_HAUSA_RADIO:e.HAUSA,BBC_HAUSA_TV:e.HAUSA,BBC_HINDI_RADIO:e.HINDI,BBC_HINDI_TV:e.HINDI,BBC_IGBO_RADIO:e.IGBO,BBC_IGBO_TV:e.IGBO,BBC_INDONESIAN_RADIO:e.INDONESIAN,BBC_KOREAN_RADIO:e.KOREAN,BBC_KOREAN_TV:e.KOREAN,BBC_KYRGYZ_RADIO:e.KYRGYZ,BBC_KYRGYZ_TV:e.KYRGYZ,BBC_LEARNING_ENGLISH:e.WS_LEARNING_ENGLISH,BBC_MARATHI_TV:e.MARATHI,BBC_MUNDO:e.MUNDO,BBC_NEPALI_RADIO:e.NEPALI,BBC_OROMO_RADIO:e.AFAAN_OROMOO,BBC_PARLIAMENT:e.BBC_PARLIAMENT_CHANNEL,BBC_PASHTO_RADIO:e.PASHTO,BBC_PASHTO_TV:e.PASHTO,BBC_PERSIAN_RADIO:e.PERSIAN,BBC_PERSIAN_TV:e.PERSIAN,BBC_PIDGIN_RADIO:e.PIDGIN,BBC_PIDGIN_TV:e.PIDGIN,BBC_PUNJABI_TV:e.PUNJABI,BBC_RUSSIAN_RADIO:e.RUSSIAN,BBC_RUSSIAN_TV:e.RUSSIAN,BBC_SINHALA_RADIO:e.SINHALA,BBC_SOMALI_RADIO:e.SOMALI,BBC_SOMALI_TV:e.SOMALI,BBC_SWAHILI_RADIO:e.SWAHILI,BBC_SWAHILI_TV:e.SWAHILI,BBC_TAMIL_RADIO:e.TAMIL,BBC_TAMIL_TV:e.TAMIL,BBC_TELUGU_TV:e.TELUGU,BBC_THAI:e.THAI,BBC_TIGRINYA_RADIO:e.TIGRINYA,BBC_UKRAINIAN_TV:e.UKRAINIAN,BBC_URDU_RADIO:e.URDU,BBC_URDU_TV:e.URDU,BBC_UZBEK_RADIO:e.UZBEK,BBC_UZBEK_TV:e.UZBEK,BBC_WEATHER:e.WEATHER,BBC_WORLD_SERVICE:e.WORLD_SERVICE_ENGLISH,BBC_WORLD_SERVICE_TV:e.WORLD_SERVICE_ENGLISH,BBC_YORUBA_RADIO:e.YORUBA,BBC_YORUBA_TV:e.YORUBA,PARLIAMENTS_ONLINE:e.BBC_PARLIAMENT_CHANNEL,BBC_ALBA:e.BBC_ALBA,BBC_CYMRU:e.WALES,BBC_FOUR:e.BBC_FOUR,BBC_HD:e.BBC_HD,BBC_LONDON:e.ENGLISH_REGIONS,BBC_MUSIC:e.BBC_MUSIC,BBC_MUSIC_JAZZ:e.BBC_MUSIC,BBC_ONE:e.BBC_ONE,BBC_ONE_EAST:e.ENGLISH_REGIONS,BBC_ONE_EAST_MIDLANDS:e.ENGLISH_REGIONS,BBC_ONE_EAST_YORKSHIRE:e.ENGLISH_REGIONS,BBC_ONE_LONDON:e.ENGLISH_REGIONS,BBC_ONE_NORTH_EAST:e.ENGLISH_REGIONS,BBC_ONE_NORTH_WEST:e.ENGLISH_REGIONS,BBC_ONE_NORTHERN_IRELAND:e.NORTHERN_IRELAND,BBC_ONE_SCOTLAND:e.SCOTLAND,BBC_ONE_SOUTH:e.ENGLISH_REGIONS,BBC_ONE_SOUTH_EAST:e.ENGLISH_REGIONS,BBC_ONE_SOUTH_WEST:e.ENGLISH_REGIONS,BBC_ONE_WALES:e.WALES,BBC_ONE_WEST:e.ENGLISH_REGIONS,BBC_ONE_WEST_MIDLANDS:e.ENGLISH_REGIONS,BBC_ONE_YORKS:e.ENGLISH_REGIONS,BBC_SCOTLAND:e.BBC_SCOTLAND,BBC_TEES:e.ENGLISH_REGIONS,BBC_THREE:e.BBC_THREE,BBC_TWO:e.BBC_TWO,BBC_TWO_ENGLAND:e.ENGLISH_REGIONS,BBC_TWO_NORTHERN_IRELAND:e.NORTHERN_IRELAND,BBC_TWO_NORTHERN_IRELAND_DIGITAL:e.NORTHERN_IRELAND,BBC_TWO_SCOTLAND:e.SCOTLAND,BBC_TWO_WALES:e.WALES,BBC_WALES:e.WALES,BBC_WM:e.ENGLISH_REGIONS,CBBC:e.CBBC,CBEEBIES:e.CBEEBIES,BBC_1XTRA:e.BBC_RADIO_1XTRA,BBC_6MUSIC:e.BBC_RADIO_6_MUSIC,BBC_7:e.BBC_RADIO_4_EXTRA,BBC_ASIAN_NETWORK:e.BBC_ASIAN_NETWORK,BBC_RADIO_BERKSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_BRISTOL:e.ENGLISH_REGIONS,BBC_RADIO_CAMBRIDGE:e.ENGLISH_REGIONS,BBC_RADIO_CORNWALL:e.ENGLISH_REGIONS,BBC_RADIO_COVENTRY_WARWICKSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_CUMBRIA:e.ENGLISH_REGIONS,BBC_RADIO_CYMRU:e.WALES,BBC_RADIO_CYMRU_2:e.WALES,BBC_RADIO_CYMRU_MWY:e.WALES,BBC_RADIO_DERBY:e.ENGLISH_REGIONS,BBC_RADIO_DEVON:e.ENGLISH_REGIONS,BBC_RADIO_ESSEX:e.ENGLISH_REGIONS,BBC_RADIO_FIVE_LIVE:e.BBC_RADIO_5_LIVE,BBC_RADIO_FIVE_LIVE_OLYMPICS_EXTRA:e.BBC_RADIO_5_LIVE,BBC_RADIO_FIVE_LIVE_SPORTS_EXTRA:e.BBC_RADIO_5_LIVE,BBC_RADIO_FOUR:e.BBC_RADIO_4,BBC_RADIO_FOUR_EXTRA:e.BBC_RADIO_4_EXTRA,BBC_RADIO_FOYLE:e.NORTHERN_IRELAND,BBC_RADIO_GLOUCESTERSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_GUERNSEY:e.ENGLISH_REGIONS,BBC_RADIO_HEREFORD_WORCESTER:e.ENGLISH_REGIONS,BBC_RADIO_HUMBERSIDE:e.ENGLISH_REGIONS,BBC_RADIO_JERSEY:e.ENGLISH_REGIONS,BBC_RADIO_KENT:e.ENGLISH_REGIONS,BBC_RADIO_LANCASHIRE:e.ENGLISH_REGIONS,BBC_RADIO_LEEDS:e.ENGLISH_REGIONS,BBC_RADIO_LEICESTER:e.ENGLISH_REGIONS,BBC_RADIO_LINCOLNSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_MANCHESTER:e.ENGLISH_REGIONS,BBC_RADIO_MERSEYSIDE:e.ENGLISH_REGIONS,BBC_RADIO_NAN_GAIDHEAL:e.SCOTLAND,BBC_RADIO_NEWCASTLE:e.ENGLISH_REGIONS,BBC_RADIO_NORFOLK:e.ENGLISH_REGIONS,BBC_RADIO_NORTHAMPTON:e.ENGLISH_REGIONS,BBC_RADIO_NOTTINGHAM:e.ENGLISH_REGIONS,BBC_RADIO_ONE:e.BBC_RADIO_1,BBC_RADIO_ONE_VINTAGE:e.BBC_RADIO_1,BBC_RADIO_OXFORD:e.ENGLISH_REGIONS,BBC_RADIO_SCOTLAND:e.SCOTLAND,BBC_RADIO_SCOTLAND_FM:e.SCOTLAND,BBC_RADIO_SCOTLAND_MUSIC_EXTRA:e.SCOTLAND,BBC_RADIO_SHEFFIELD:e.ENGLISH_REGIONS,BBC_RADIO_SHROPSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_SOLENT:e.ENGLISH_REGIONS,BBC_RADIO_SOMERSET_SOUND:e.ENGLISH_REGIONS,BBC_RADIO_STOKE:e.ENGLISH_REGIONS,BBC_RADIO_SUFFOLK:e.ENGLISH_REGIONS,BBC_RADIO_SURREY:e.ENGLISH_REGIONS,BBC_RADIO_SUSSEX:e.ENGLISH_REGIONS,BBC_RADIO_SWINDON:e.ENGLISH_REGIONS,BBC_RADIO_THREE:e.BBC_RADIO_3,BBC_RADIO_TWO:e.BBC_RADIO_2,BBC_RADIO_TWO_COUNTRY:e.BBC_RADIO_2,BBC_RADIO_TWO_EUROVISION:e.BBC_RADIO_2,BBC_RADIO_TWO_FIFTIES:e.BBC_RADIO_2,BBC_RADIO_ULSTER:e.NORTHERN_IRELAND,BBC_RADIO_WALES:e.WALES,BBC_RADIO_WILTSHIRE:e.ENGLISH_REGIONS,BBC_RADIO_YORK:e.ENGLISH_REGIONS,BBC_SOUNDS_MIXES:e.SOUNDS,BBC_SOUNDS_PODCASTS:e.SOUNDS,BBC_SOUTHERN_COUNTIES_RADIO:e.ENGLISH_REGIONS,BBC_THREE_COUNTIES_RADIO:e.ENGLISH_REGIONS,CBEEBIES_RADIO:e.CBEEBIES,BBC_SPORT:e.SPORT,getProducerId:function(e){var t;return e&&(t=this[e.toUpperCase()]),t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={NAME:"echo_js",VERSION:"12.4.0"}},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){this.reset()}return e.prototype.start=function(){!0!==this._isPlaying&&(this._isPlaying=!0,this._startTime=this._getCurrentTime())},e.prototype.reset=function(){this._isPlaying=!1,this._position=0,this._startTime=0},e.prototype.stop=function(){this._isPlaying&&(this._isPlaying=!1,this._position+=this._getCurrentTime()-this._startTime,this._startTime=0)},e.prototype.getPosition=function(){var e=this._position;return!0===this._isPlaying&&(e+=this._getCurrentTime()-this._startTime),e},e.prototype._getCurrentTime=function(){return Date.now||(Date.now=function(){return(new Date).getTime()}),Date.now()},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;i=[n(0),n(2),n(1)],void 0===(r=function(e,t,n){"use strict";function i(e,t,n){this._schedule=[],this.serviceId=null,this._media=e,this._environment=t,this._echoClient=n,this._fetchData()}return i.prototype.getBroadcast=function(e){var t,n;for(t=0;t<this._schedule.length;t++)if(e<(n=this._schedule[t].published_time).end&&e>=n.start)return this._schedule[t]},i.essHost="ess.api.bbci.co.uk",i.prototype._fetchData=function(){var e,n=this;e=this._environment.getExecuteCrossDomainGet();var r=this._environment.getProtocol()+i.essHost.replace(/^(\/+)?/,"//")+"/schedules";if(this._media){if(this._media.getServiceId())r+="?serviceId="+encodeURIComponent(this._media.getServiceId());else if(this._media.getVersionId())r+="?versionId="+encodeURIComponent(this._media.getVersionId());else{if(!this._media.getVpId())return void t.info("Unable to determine serviceId, versionId or VpId for schedule");r+="?vpid="+encodeURIComponent(this._media.getVpId())}e(r,{onSuccess:function(e){n._dataSuccessHandler(e)},onError:function(e,t){var i="error";"json"===e?i="json":"object"==typeof e&&"timeout"===e.type&&(i="timeout"),n._dataErrorHandler(i,t)}})}},i.prototype.hasData=function(){return 0<this._schedule.length},i.prototype._dataSuccessHandler=function(e){var n,i,r,o,s=[];if(t.info("Cross-domain schedule request success."),e){for(this._echoClient.setEssSuccess(!0),this.serviceId=e.service.id,e.items=e.items||[],n=0;n<e.items.length;n++)r=e.items[n].published_time.start,o=e.items[n].published_time.end,(i=e.items[n]).published_time.start=new Date(r).getTime(),i.published_time.end=new Date(o).getTime(),s.push(i);this._schedule=s}},i.prototype._dataErrorHandler=function(e,i){this._schedule=[],t.error("There was a problem requesting the schedule from ESS: "+e),this._echoClient.setEssSuccess(!1),"json"===e?this._echoClient.setEssError(n.EssError.JSON,i):"timeout"===e?this._echoClient.setEssError(n.EssError.TIMEOUT,i):"error"===e&&void 0!==i?this._echoClient.setEssError(n.EssError.STATUS_CODE,i):this._echoClient.setEssError(n.EssError.RUNTIME,"0")},i}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(5),i=n(11),r=n(16),o=n(1),s=n(0),a=n(6),u=n(7),c=n(4),l=n(2),f=o.MediaConsumptionMode,d=function(e,t){var n,i;this.avType=(n=e)===o.AvType.AUDIO||n===o.AvType.VIDEO?e:null,this.consumptionMode=(i=t)===f.ON_DEMAND||i===f.DOWNLOAD||i===f.LIVE?t:null,s.assert(this.avType,"Media: Invalid avType: "+this.avType,!0),s.assert(this.consumptionMode,"Media: Invalid consumptionMode: "+this.consumptionMode,!0),this.serviceIdObject=new r(o.MediaIdType.SERVICE,!0),this.versionIdObject=new r(o.MediaIdType.VERSION,!0),this.clipIdObject=new r(o.MediaIdType.CLIP,!0),this.episodeIdObject=new r(o.MediaIdType.EPISODE,!0),this.vpIdObject=new r(o.MediaIdType.VPID,!0),this.nonPipsContentIdObject=new r(o.MediaIdType.NONPIPSCONTENT,!1),this.producerObject=new r(o.MediaIdType.PRODUCER,!1),this.brandIdObject=new r(o.MediaIdType.BRAND,!1),this.seriesIdObject=new r(o.MediaIdType.SERIES,!1),this.length=0,this.bufferLength=0,this.supplier=null,this.mediaSet=null,this.transferFormat=null,this.essEnrichedData=!1,this._isPlaying=!1,this._isBuffering=!1,this._isEmbedded=!1,this.name="",this.type=o.MediaClipType.UNDEFINED,this.playlist="",this.initiationType=o.MediaInitiationType.UNDEFINED,this.adsEnabled=!1,this.mediaPlayerName="",this.mediaPlayerVersion="",this.transportMode=""};return d.prototype.isEssEnriched=function(){return!0===this.essEnrichedData},d.prototype.setEssEnriched=function(e){this.essEnrichedData=e},d.prototype.getAvType=function(){return this.avType},d.prototype.getMediaConsumptionMode=function(){return this.consumptionMode},d.prototype.getClone=function(){var e=new d(this.avType,this.consumptionMode);return e.brandIdObject=this.brandIdObject,e.seriesIdObject=this.seriesIdObject,e.serviceIdObject=this.serviceIdObject,e.versionIdObject=this.versionIdObject,e.clipIdObject=this.clipIdObject,e.episodeIdObject=this.episodeIdObject,e.vpIdObject=this.vpIdObject,e.name=this.name,e.type=this.type,e.playlist=this.playlist,e.initiationType=this.initiationType,e.adsEnabled=this.adsEnabled,e.mediaPlayerVersion=this.mediaPlayerVersion,e.mediaPlayerName=this.mediaPlayerName,e.transportMode=this.transportMode,e.nonPipsContentIdObject=this.nonPipsContentIdObject,e.producerObject=this.producerObject,e.bufferLength=this.bufferLength,e.mediaSet=this.mediaSet,e.supplier=this.supplier,e.transferFormat=this.transferFormat,e.length=this.length,e.essEnrichedData=this.essEnrichedData,e},d.prototype.isEmbedded=function(){return this._isEmbedded},d.prototype.setIsEmbedded=function(e){return this._isEmbedded=e,this},d.prototype.setVersionId=function(e){return this.versionIdObject.setValue(e),this},d.prototype.setBrandId=function(e){return this.brandIdObject.setValue(c.cleanLabelValue(a.MEDIA_BRAND,e)),this},d.prototype.setSeriesId=function(e){return this.seriesIdObject.setValue(c.cleanLabelValue(a.MEDIA_SERIES,e)),this},d.prototype.setClipId=function(e){return this.clipIdObject.setValue(e),this},d.prototype.setServiceId=function(e){return this.serviceIdObject.setValue(e),this},d.prototype.setEpisodeId=function(e){return this.episodeIdObject.setValue(e),this},d.prototype.setVpId=function(e){return this.vpIdObject.setValue(e),this},d.prototype.setNonPipsContentId=function(e){return this.nonPipsContentIdObject.setValue(c.cleanLabelValue(u.MEDIA_NON_PIPS_CONTENT_ID,e)),this},d.prototype.getSupplier=function(){return this.supplier},d.prototype.setSupplier=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.supplier=t)}return this},d.prototype.getMediaSet=function(){return this.mediaSet},d.prototype.setMediaSet=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.mediaSet=t)}return this},d.prototype.getTransferFormat=function(){return this.transferFormat},d.prototype.setTransferFormat=function(e){if(null!==e){var t=s.trim(e);0!==t.length&&(this.transferFormat=t)}return this},d.prototype.isAdsEnabled=function(){return this.adsEnabled},d.prototype.setAdsEnabled=function(e){return this.adsEnabled=e,this},d.prototype.getName=function(){return this.name},d.prototype.setName=function(e){return this.name=e,this},d.prototype.getType=function(){return this.type},d.prototype.setType=function(e){return this.type=e,this},d.prototype.getPlaylist=function(){return this.playlist},d.prototype.setPlaylist=function(e){return this.playlist=e,this},d.prototype.getInitiationType=function(){return this.initiationType},d.prototype.setInitiationType=function(e){return this.initiationType=e,this},d.prototype.getMediaPlayerName=function(){return this.mediaPlayerName},d.prototype.setMediaPlayerName=function(e){return this.mediaPlayerName=e,this},d.prototype.getMediaPlayerVersion=function(){return this.mediaPlayerVersion},d.prototype.setMediaPlayerVersion=function(e){return this.mediaPlayerVersion=e,this},d.prototype.getTransportMode=function(){return this.transportMode},d.prototype.setTransportMode=function(e){return this.transportMode=e,this},d.prototype.getLength=function(){return this.length},d.prototype.setLength=function(e){return null!=e&&(e=Math.floor(e)),(void 0===e||isNaN(e)||!isFinite(e)||e<0)&&(l.warn("Media: length must be an integer of 0 or greater. Echo will report as 0."),e=0),this.length=e,this},d.prototype.getProducer=function(){return this.producerObject.getValue()},d.prototype.setProducer=function(e){var n;return(n=e?t.getId(e):"0")&&this.producerObject.setValue(n),this},d.prototype.setProducerById=function(e){return e&&this.producerObject.setValue(e),this},d.prototype.setProducerByMasterbrand=function(e){e&&i.getProducerId(e)?this.producerObject.setValue(i.getProducerId(e)):(this.producerObject.setValue(0),null===e||e&&"NULL"===e.toUpperCase()||""===e||l.info("Masterbrand ["+e+"] not recognised, producer will be set to undefined (0)"))},d.prototype.getVersionIdObject=function(){return this.versionIdObject},d.prototype.getClipIdObject=function(){return this.clipIdObject},d.prototype.getServiceIdObject=function(){return this.serviceIdObject},d.prototype.getEpisodeIdObject=function(){return this.episodeIdObject},d.prototype.getVpIdObject=function(){return this.vpIdObject},d.prototype.getNonPipsContentIdObject=function(){return this.nonPipsContentIdObject},d.prototype.getBrandIdObject=function(){return this.brandIdObject},d.prototype.getBrandId=function(){return this.brandIdObject.getValue()},d.prototype.getSeriesIdObject=function(){return this.seriesIdObject},d.prototype.getSeriesId=function(){return this.seriesIdObject.getValue()},d.prototype.getVersionId=function(){return this.versionIdObject.getValue()},d.prototype.getClipId=function(){return this.clipIdObject.getValue()},d.prototype.getServiceId=function(){return this.serviceIdObject.getValue()},d.prototype.getEpisodeId=function(){return this.episodeIdObject.getValue()},d.prototype.getVpId=function(){return this.vpIdObject.getValue()},d.prototype.getNonPipsContentId=function(){return this.nonPipsContentIdObject.getValue()},d.prototype.getRetrievalType=function(){return null===this.consumptionMode?null:this.consumptionMode===f.DOWNLOAD?o.RetrievalType.DOWNLOAD:o.RetrievalType.STREAM},d.prototype.isOnDemand=function(){return this.consumptionMode===f.ON_DEMAND},d.prototype.isDownload=function(){return this.consumptionMode===f.DOWNLOAD},d.prototype.isLive=function(){return this.consumptionMode===f.LIVE},d.prototype.isVideo=function(){return this.avType===o.AvType.VIDEO},d.prototype.getPlayerId=function(){return"1"},d.prototype.setPlaying=function(e){return this._isPlaying=Boolean(e),this},d.prototype.getPlaying=function(){return this._isPlaying},d.prototype.setBuffering=function(e){return this._isBuffering=Boolean(e),this},d.prototype.getBuffering=function(){return this._isBuffering},d}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(0),i=function(e,t){this.idType=e,this.validValueRegex=/^[a-z0-9A-Z_-]+$/,this.value=null,this.isSet=!1,this.isValid=!1,this.requiresValidation=t};return i.prototype.getIdType=function(){return this.idType},i.prototype.setValue=function(e){this.isSet=!0,null==e?this.isValid=!1:this.requiresValidation?this.isValid=this._validateValue(e):this.isValid=!0,t.assert(this.isValid,"MediaId: The value for "+this.idType+"Id is invalid",!0),this.value=e},i.prototype.getValue=function(){return this.value},i.prototype.isValueSet=function(){return this.isSet},i.prototype.isValueValid=function(){return this.isValid},i.prototype._validateValue=function(e){return"string"==typeof e&&this.validValueRegex.test(e)},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}var t=n(18).Promise;return e.get=function(){return window&&window.bbcpage?t.all(["getDestination","getProducer","getSection","getContentId","getContentType","getLanguage","getAdditionalProperties","getName"].map(function(e){return n=e,window.bbcpage[n]&&"function"==typeof window.bbcpage[n]?window.bbcpage[n]():t.resolve(null);var n})).then(function(t){return{destination:(t=e._decodeFromOrbit(t))[0],producer:t[1],section:t[2],contentId:t[3],contentType:t[4],language:t[5],additionalProperties:t[6],pageName:t[7]}}):t.resolve(void 0)},e._decodeFromOrbit=function(t){for(var n=Object.keys(t),i=0;i<n.length;i++)if(t[n[i]]&&"object"!=typeof t[n[i]]){var r=new RegExp("&#x2F;","g");t[n[i]]=t[n[i]].replace(r,"/")}else t[n[i]]&&"object"==typeof t[n[i]]&&(t[n[i]]=e._decodeFromOrbit(t[n[i]]));return t},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){(function(t,n){e.exports=function(){"use strict";function e(e){return"function"==typeof e}function i(){var e=setTimeout;return function(){return e(r,1)}}function r(){for(var e=0;e<I;e+=2)(0,L[e])(L[e+1]),L[e]=void 0,L[e+1]=void 0;I=0}function o(e,t){var n=this,i=new this.constructor(a);void 0===i[M]&&m(i);var r=n._state;if(r){var o=arguments[r-1];P(function(){return v(r,i,o,n._result)})}else _(n,i,e,t);return i}function s(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(a);return f(t,e),t}function a(){}function u(e){try{return e.then}catch(e){return V.error=e,V}}function c(e,t,n,i){try{e.call(t,n,i)}catch(e){return e}}function l(t,n,i){var r,a,u,l;n.constructor===t.constructor&&i===o&&n.constructor.resolve===s?(u=t,(l=n)._state===k?p(u,l._result):l._state===U?h(u,l._result):_(l,void 0,function(e){return f(u,e)},function(e){return h(u,e)})):i===V?(h(t,V.error),V.error=null):void 0===i?p(t,n):e(i)?(r=n,a=i,P(function(e){var t=!1,n=c(a,r,function(n){t||(t=!0,r!==n?f(e,n):p(e,n))},function(n){t||(t=!0,h(e,n))},e._label);!t&&n&&(t=!0,h(e,n))},t)):p(t,n)}function f(e,t){var n,i;e===t?h(e,new TypeError("You cannot resolve a promise with itself")):(i=typeof(n=t),null===n||"object"!==i&&"function"!==i?p(e,t):l(e,t,u(t)))}function d(e){e._onerror&&e._onerror(e._result),g(e)}function p(e,t){e._state===x&&(e._result=t,e._state=k,0!==e._subscribers.length&&P(g,e))}function h(e,t){e._state===x&&(e._state=U,e._result=t,P(d,e))}function _(e,t,n,i){var r=e._subscribers,o=r.length;e._onerror=null,r[o]=t,r[o+k]=n,r[o+U]=i,0===o&&e._state&&P(g,e)}function g(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,r=void 0,o=e._result,s=0;s<t.length;s+=3)i=t[s],r=t[s+n],i?v(n,i,r,o):r(o);e._subscribers.length=0}}function v(t,n,i,r){var o=e(i),s=void 0,a=void 0,u=void 0,c=void 0;if(o){if((s=function(e,t){try{return e(t)}catch(e){return V.error=e,V}}(i,r))===V?(c=!0,a=s.error,s.error=null):u=!0,n===s)return void h(n,new TypeError("A promises callback cannot return that same promise."))}else s=r,u=!0;n._state!==x||(o&&u?f(n,s):c?h(n,a):t===k?p(n,s):t===U&&h(n,s))}function m(e){e[M]=G++,e._state=void 0,e._result=void 0,e._subscribers=[]}var E,y,b,S,A=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},I=0,T=void 0,C=void 0,P=function(e,t){L[I]=e,L[I+1]=t,2===(I+=2)&&(C?C(r):B())},O="undefined"!=typeof window?window:void 0,w=O||{},N=w.MutationObserver||w.WebKitMutationObserver,R="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),D="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,L=new Array(1e3),B=void 0;B=R?function(){return t.nextTick(r)}:N?(y=0,b=new N(r),S=document.createTextNode(""),b.observe(S,{characterData:!0}),function(){S.data=y=++y%2}):D?((E=new MessageChannel).port1.onmessage=r,function(){return E.port2.postMessage(0)}):void 0===O?function(){try{var e=Function("return this")().require("vertx");return void 0===(T=e.runOnLoop||e.runOnContext)?i():function(){T(r)}}catch(e){return i()}}():i();var M=Math.random().toString(36).substring(2),x=void 0,k=1,U=2,V={error:null},G=0,j=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(a),this.promise[M]||m(this.promise),A(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?p(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&p(this.promise,this._result))):h(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===x&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===s){var r=u(e);if(r===o&&e._state!==x)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===F){var c=new n(a);l(c,e,r),this._willSettleAt(c,t)}else this._willSettleAt(new n(function(t){return t(e)}),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;i._state===x&&(this._remaining--,e===U?h(i,n):this._result[t]=n),0===this._remaining&&p(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;_(e,void 0,function(e){return n._settledAt(k,t,e)},function(e){return n._settledAt(U,t,e)})},e}(),F=function(){function t(e){this[M]=G++,this._result=this._state=void 0,this._subscribers=[],a!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t(function(t){f(e,t)},function(t){h(e,t)})}catch(t){h(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then(function(e){return n.resolve(t()).then(function(){return e})},function(e){return n.resolve(t()).then(function(){throw e})}):this.then(t,t)},t}();return F.prototype.then=o,F.all=function(e){return new j(this,e).promise},F.race=function(e){var t=this;return new t(A(e)?function(n,i){for(var r=e.length,o=0;o<r;o++)t.resolve(e[o]).then(n,i)}:function(e,t){return t(new TypeError("You must pass an array to race."))})},F.resolve=s,F.reject=function(e){var t=new this(a);return h(t,e),t},F._setScheduler=function(e){C=e},F._setAsap=function(e){P=e},F._asap=P,F.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=F},F.Promise=F}()}).call(this,n(19),n(20))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function r(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(){h&&d&&(h=!1,d.length?p=d.concat(p):_=-1,p.length&&s())}function s(){if(!h){var e=r(o);h=!0;for(var t=p.length;t;){for(d=p,p=[];++_<t;)d&&d[_].run();_=-1,t=p.length}d=null,h=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===i||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function u(){}var c,l,f=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{l="function"==typeof clearTimeout?clearTimeout:i}catch(e){l=i}}();var d,p=[],h=!1,_=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||h||r(s)},a.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(45).version;return{getLibraryName:function(){return"echo_js"},getLibraryVersion:function(){return t}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports=n(23)},function(e,t,n){var i,r;i=[n(24)],void 0===(r=function(e){"use strict";return window&&window.bbccookies&&e.Environment.setOrbCookies(window.bbccookies),e}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(12),i=n(8);return{EchoClient:n(27),Media:n(15),MediaId:n(16),Environment:i,Enums:n(1),ConfigKeys:n(3),Debug:n(2),getImplementationVersion:function(){return t.VERSION}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={STRICT:"strict",COUNTERNAME:"countername",EVENT_MASTER_BRAND:"event_master_brand",NO_CLEANSING:"no_cleansing",CUSTOM:"custom"}},function(e,t,n){var i;void 0===(i=function(){"use strict";return{httpGet:function(e,t,n){var i=new Image;i.onload=t,i.onerror=n,i.src=e},executeCrossDomainGet:function(e,t){var n,i,r;r=i=!1;var o=function(e,n){t.onError&&t.onError(e,n)};if(window.JSON&&window.JSON.parse&&void 0!==window.XMLHttpRequest&&"withCredentials"in(n=new XMLHttpRequest)&&(r=!0),r){try{n.open("GET",e,!0),n.onload=function(){(void 0===n.status||n.status<400)&&null!==n.responseText?function(){var e;if(t.onSuccess){try{e=window.JSON.parse(n.responseText)}catch(e){o("json")}"object"==typeof e&&setTimeout(function(){t.onSuccess(e)})}}():o(n.responseText,n.status)},n.onerror=function(e){o(e)},n.timeout=1e4,n.ontimeout=function(e){o(e)}}catch(e){s=e,i||o(s)}var s;try{n.send(null)}catch(e){i=!0,n.onload=n.onerror=n.onreadystatechange=null,n.abort(),o(e)}}else o()}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e,n,s,a,u){var l=this;s=s||{},r.assertContainsValue(c.ApplicationType,n,'appType should be one of Enums.ApplicationType, got "'+n+'"'),this.state={counterNameSet:!1};var f,d=t.ConfigGenerator.generate(s);this._env=null!=a?a:new t.Environment,d&&"string"==typeof d[o.ECHO_DEVICE_ID]&&(0<(f=r.trim(d[o.ECHO_DEVICE_ID])).length?(d[o.ECHO_DEVICE_ID]=f,this._deviceId=f):d[o.ECHO_DEVICE_ID]=void 0),d&&d[o.COMSCORE_HOST]===_&&!d[o.ECHO_DEVICE_ID]&&((f=h.getCookieValueByName(v))||(f=h.getCookieValueByName(g)),f&&(this._deviceId=f,d[o.ECHO_DEVICE_ID]=f)),d&&!1===d[o.ECHO_AUTO_START]?this._autoStart=!1:this._autoStart=!0,this._setConsumers(e,n,d,this._env),d&&d[o.USE_ESS]?this._essEnabled=!0:this._essEnabled=!1,d&&d[o.ESS_HOSTNAME]&&(p.essHost=d[o.ESS_HOSTNAME]),d&&!1===d[o.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0,d&&!0===d[o.DEBUG_MODE]?i.enable():i.disable(),this._liveBroker=null,this._onDemandBroker=null,this._suppressingPlayEvent=!1,this._suppressedPlayEventLabels=null,this.addLabel("bbc_id_wait","1"),t.Environment.getOrbIdCta(function(e){l.removeLabel("bbc_id_wait"),e&&"function"==typeof e.getIStatsLabels&&l.addLabels({bbc_identity:e.getIStatsLabels().bbc_identity,bbc_hid:encodeURIComponent(e.getIStatsLabels().bbc_hid||"unidentified-user")})}),d&&d[o.ECHO_CACHE_MODE]&&(this._cacheMode=d[o.ECHO_CACHE_MODE]),this._isEnabled&&this._autoStart&&("function"==typeof u?this.start().then(u):this.start())}var i=n(2),r=n(0),o=n(3),s=n(10),a=n(11),u=n(5),c=n(1),l=n(28),f=n(29),d=n(7),p=n(14),h=n(9),_="sa.bbc.co.uk",g="ckpf_echo_device_id",v="ckns_echo_device_id",m=n(17),E=n(18).Promise;return t.prototype.getDebugMode=function(){return i.getState()},t.prototype.start=function(){var e;return this._isEnabled&&!this._hasStarted?(this._hasStarted=!0,m.get().then(function(t){e=t,this._delegate("start",[t])}.bind(this)).then(function(){e&&e.pageName&&""!==e.pageName&&"orb.page"!==e.pageName&&this.setCounterName(e.pageName)}.bind(this),function(e){i.error("failed to start delegates: "+e)})):E.reject()},t.prototype.enable=function(){return this._isEnabled||(this._isEnabled=!0,this._delegate("enable"),this._autoStart&&!this._hasStarted&&this.start()),this},t.prototype.disable=function(){return this._isEnabled&&(this._clearMedia(),this._isEnabled=!1,this._delegate("disable")),this},t.prototype.isEnabled=function(){return this._isEnabled},t.prototype.getComScoreDeviceId=function(){var e;return this.consumers[t.Consumers.COMSCORE]&&(e=this.consumers[t.Consumers.COMSCORE])instanceof t.ComScoreDelegate&&"function"==typeof e.getDeviceId?e.getDeviceId():null},t.prototype.getAtiDeviceId=function(){var e;return this.consumers[t.Consumers.ATI]&&(e=this.consumers[t.Consumers.ATI])instanceof t.AtiDelegate&&"function"==typeof e.getDeviceId?e.getDeviceId():null},t.prototype.setTraceId=function(e){this._delegate("setTraceId",[e])},t.ConfigGenerator=n(30),t.LabelCleanser=n(4),t.Util=n(0),t.ComScoreDelegate=n(31),t.SpringDelegate=n(37),t.AtiDelegate=n(41),t.Environment=n(8),t.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},t.prototype._setConsumers=function(e,n,i,r){this.consumers={};var s=t.LabelCleanser.cleanLabelValue("app_name",e);return i&&i[o.COMSCORE_ENABLED]&&(this.consumers[t.Consumers.COMSCORE]=new t.ComScoreDelegate(s,n,i,r)),i&&i[o.ATI_ENABLED]&&(this.consumers[t.Consumers.ATI]=new t.AtiDelegate(s,n,i,r)),i&&i[o.BARB_ENABLED]&&(this.consumers[t.Consumers.BARB]=new t.SpringDelegate(s,n,i,r)),this},t.prototype._delegate=function(e,t,n){var i,r,o=[];for(i in this.consumers)i&&(r=this.consumers[i],n&&r.requiresLabelCleansing()?o.push(r[e].apply(r,n)):o.push(r[e].apply(r,t)));return E.all(o)},t.prototype.addLabels=function(e){return this._delegate("addLabels",[t.LabelCleanser.cleanLabels(e)]),this},t.prototype.addLabel=function(e,t){if("string"==typeof e){if(null!=t){var n={};return n[e]=t,this.addLabels(n)}i.error("Label cannot be null/undefined")}else i.error("Label key must be a string")},t.prototype.addManagedLabel=function(e,n){return this._delegate("addManagedLabel",[t.LabelCleanser.cleanLabelKey(e),t.LabelCleanser.cleanLabelValue(e,n)]),this},t.prototype.removeLabels=function(e){for(var n=[],i=0,r=e.length;i<r;i++)n.push(t.LabelCleanser.cleanLabelKey(e[i]));return this._delegate("removeLabels",[n]),this},t.prototype.removeLabel=function(e){return this.removeLabels([e])},t.prototype.setLoggedInToBBCId=function(e){return this._delegate("setLoggedInToBBCId",[e]),this},t.prototype.setLoggedOutOfBBCId=function(){return this._delegate("setLoggedOutOfBBCId"),this},t.prototype.setAppVersion=function(e){return this._delegate("setAppVersion",[e]),this},t.prototype.setDestination=function(e){return this._delegate("setDestination",[s.get(e)]),this},t.prototype.setProducer=function(e){return this._setProducer(e,!1)},t.prototype.setProducerByMasterbrand=function(e){return this._setProducer(e,!0)},t.prototype._setProducer=function(e,t){var n;if(!(n=e&&"NULL"!==e.toUpperCase()?t?a.getProducerId(e):u.getId(e):"0")){var r=t?"Masterbrand":"Producer";i.info(r+" ["+e+"] not recognised")}return n&&this._delegate("setProducer",[n]),this},t.prototype.setCounterName=function(e){var n=t.LabelCleanser.cleanCounterName(e),i=this._delegate("setCounterName",[e],[n]);return this.state.counterNameSet=!0,i},t.prototype.setContentLanguage=function(e){return this._delegate("setContentLanguage",[e]),this},t.prototype.setCacheMode=function(e){return this._delegate("setCacheMode",[e]),this._cacheMode=e,this},t.prototype.getCacheMode=function(){return this._cacheMode},t.prototype.clearCache=function(){this._isEnabled&&this._delegate("clearCache")},t.prototype.flushCache=function(){this._isEnabled&&this._delegate("flushCache")},t.prototype.viewEvent=function(e,n){if(this._eventsEnabled()){var i=t.LabelCleanser.cleanCounterName(e),r=t.LabelCleanser.cleanLabels(n);this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0);var o=this._delegate("viewEvent",[e,n],[i,r]);return this.state.counterNameSet=!0,this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0),o}},t.prototype.userActionEvent=function(e,n,r){if(this._eventsEnabled())return this.state.counterNameSet?(this._delegate("userActionEvent",[e,n,t.LabelCleanser.cleanLabels(r)]),this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0)):i.error("userActionEvent not available before a call to viewEvent (to set counter name)."),this},t.prototype.errorEvent=function(e,n){if(this._eventsEnabled())return this._delegate("errorEvent",[e,t.LabelCleanser.cleanLabels(n)]),this},t.prototype.setPlayerName=function(e){r.assert("string"==typeof e&&0<e.length,'setPlayerName: name must be string with length, got "'+e+'"');var n=t.LabelCleanser.cleanLabelValue("player_name",e);return this._delegate("setPlayerName",[e],[n])},t.prototype.setPlayerVersion=function(e){r.assert("string"==typeof e&&0<e.length,'setPlayerVersion: version must be string with length, got "'+e+'"');var n=t.LabelCleanser.cleanLabelValue("player_version",e);return this._delegate("setPlayerVersion",[e],[n])},t.prototype.setPlayerIsPopped=function(e){return r.assert("boolean"==typeof e,'setPlayerIsPopped: isPopped must be boolean, got "'+e+'"'),this._delegate("setPlayerIsPopped",[e]),this},t.prototype.setPlayerWindowState=function(e){return r.assertContainsValue(c.WindowState,e,'The window state must be set as a member of Enums.WindowState, got "'+e+'"'),this._delegate("setPlayerWindowState",[e]),this},t.prototype.setPlayerVolume=function(e){return r.assert(e<=100&&0<=e,"volume must be 0-100, got: "+e),e<=100&&0<=e&&this._delegate("setPlayerVolume",[e]),this},t.prototype.setPlayerIsSubtitled=function(e){return r.assert("boolean"==typeof e,'setPlayerIsSubtitled: isSubtitled must be a boolean, got "'+e+'"'),this._delegate("setPlayerIsSubtitled",[e]),this},t.prototype.setPlayerDelegate=function(e){e=e||{};var t,n,i,o=["getTimestamp","getPosition"],s=!1;for(n=0;n<o.length;n++)t=o[n],i=e.hasOwnProperty(t)&&"function"==typeof e[t],r.assert(i,'The player delegate must implement "'+t+'"'),i||(s=!0);return s||(this._playerDelegate=e),this},t.prototype.setMedia=function(e){if(this._eventsEnabled()){this._clearMedia();var t=e.getClone();if(this.state.counterNameSet){this.media=t,this.addLabel(d.ESS_ENABLED,this._essEnabled?"true":"false");var n=c.MediaConsumptionMode.LIVE;this.media.getMediaConsumptionMode()===n?this._initLiveBroker():this._initOnDemandBroker(),this._delegate("setMedia",[this.media])}else i.error("setMedia: Must have a countername set or view event sent first")}},t.prototype.liveMediaUpdate=function(e,t,n){this._eventsEnabled()&&this._avEventsEnabled()&&e&&(this._suppressingPlayEvent=!1,this.media=e,this._delegate("liveMediaUpdate",[e,t,n]))},t.prototype.setMediaLength=function(e){return this.media?this.media.isOnDemand()?"number"!=typeof(e=this._cleanPosition(e))?i.error("setMediaLength: Length must be a positive number"):(this._delegate("setMediaLength",[e]),this.media.setLength(e)):i.error("setMediaLength: Length should be set to zero prior to passing the media object to Echo for live media"):i.error("setMediaLength: Must call setMedia first"),this},t.prototype.setMediaBitrate=function(){},t.prototype.setMediaCodec=function(){},t.prototype.setMediaCDN=function(){},t.prototype.setEssSuccess=function(e){this.addLabel(d.ESS_SUCCESS,e?"true":"false")},t.prototype.setEssError=function(e,t){this.addLabel(d.ESS_ERROR,e.toString().toLowerCase()),e.toString()===c.EssError.STATUS_CODE.toString()&&this.addLabel(d.ESS_STATUS_CODE,t),this._delegate("liveEnrichmentFailed")},t.prototype._avEventsEnabled=function(){return r.assert(Boolean(this.media),"setMedia() must be called prior to this method",!0)&&r.assert(Boolean(this._playerDelegate),"setPlayerDelegate not called or not configured correctly",!0)},t.prototype.getLiveBroker=function(){return this._liveBroker},t.prototype._initLiveBroker=function(){this._avEventsEnabled()&&this.media.getMediaConsumptionMode()===c.MediaConsumptionMode.LIVE&&(this._liveBroker=new l(this._playerDelegate,this.media,this,this._env,this._essEnabled),this._delegate("setBroker",[this._liveBroker]))},t.prototype.getOnDemandBroker=function(){return this._onDemandBroker},t.prototype._initOnDemandBroker=function(){this._avEventsEnabled()&&this.media.getMediaConsumptionMode()!==c.MediaConsumptionMode.LIVE&&(this._onDemandBroker=new f(this._playerDelegate,this.media,this),this._delegate("setBroker",[this._onDemandBroker]))},t.prototype._cleanPosition=function(e){return null!=e&&(e=Math.floor(e)),(void 0===e||isNaN(e)||!isFinite(e)||e<0)&&(e=0),e},t.prototype.avPlayEvent=function(e,n){if(this._eventsEnabled()&&this._avEventsEnabled()){var i=this.media.isLive();if(this._isPlaying=!0,i&&this._liveBroker)e=this._liveBroker.getPosition(),this._liveBroker.start();else if(!i&&this._onDemandBroker){if(e=this._cleanPosition(e),this._previousPlayPosition=e,this._positionExceedsMediaLength(e))return;this._onDemandBroker.setPosition(e),this._onDemandBroker.start()}return i&&this.media.isEssEnriched()&&this._suppressingPlayEvent?this._suppressedPlayEventLabels=n:(this._delegate("avPlayEvent",[e,t.LabelCleanser.cleanLabels(n)]),this.media.setBuffering(!1),this.media.setPlaying(!0)),this.consumers[t.Consumers.COMSCORE]&&(this.state.comscoreEventSent=!0),this}},t.prototype._avNavigationEvent=function(e,n,i,r){this._avEventsEnabled()&&(this._isPlaying=!1,this.media.isLive()?(this._liveBroker&&(this._liveBroker.stop(),n=this._liveBroker.getPosition()),this.media.isEssEnriched()&&!this._suppressingPlayEvent&&(this._suppressingPlayEvent=!0)):this._onDemandBroker&&(n=this._cleanPosition(n),n=this._preventPositionExceedingMediaLength(n),this._onDemandBroker.stop()),"avRewindEvent"===e||"avFastForwardEvent"===e?this._delegate(e,[n,r,t.LabelCleanser.cleanLabels(i)]):this._delegate(e,[n,t.LabelCleanser.cleanLabels(i)]))},t.prototype.avPauseEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avPauseEvent",e,t),this},t.prototype.avBufferEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avBufferEvent",e,t),this.media.setBuffering(!0),this},t.prototype.avEndEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this.media.setPlaying(!1),this._avNavigationEvent("avEndEvent",e,t),this.media=null,this},t.prototype.avRewindEvent=function(e,t,n){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avRewindEvent",e,n,t),this},t.prototype.avFastForwardEvent=function(e,t,n){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avFastForwardEvent",e,n,t),this},t.prototype.avSeekEvent=function(e,t){if(this._eventsEnabled()&&this._avEventsEnabled())return this._avNavigationEvent("avSeekEvent",e,t),this},t.prototype.avUserActionEvent=function(e,n,i,r){if(this._eventsEnabled()&&this._avEventsEnabled()){i=this._liveBroker?this._liveBroker.getPosition():(i=this._cleanPosition(i),this._preventPositionExceedingMediaLength(i));var o=t.LabelCleanser.cleanLabels(r);return this._delegate("avUserActionEvent",[e,n,i,o]),this}},t.prototype.releaseSuppressedPlay=function(){if(this._eventsEnabled()&&this._avEventsEnabled())return this._suppressingPlayEvent&&(this._suppressingPlayEvent=!1,this.avPlayEvent(this._liveBroker.getPosition(),this._suppressedPlayEventLabels)),this},t.prototype._clearMedia=function(){this.removeLabel(d.MEDIA_TIMESTAMP),this.removeLabel(d.ESS_ENABLED),this.removeLabel(d.ESS_ENRICHED),this.removeLabel(d.ESS_SUCCESS),this.removeLabel(d.ESS_ERROR),this.removeLabel(d.ESS_STATUS_CODE),null!==this.media&&(this.media=null),this._liveBroker instanceof l&&(this._liveBroker.stop(),this._liveBroker=null),this._onDemandBroker instanceof f&&(this._onDemandBroker.stop(),this._onDemandBroker=null),this._isPlaying=void 0,this._previousPlayPosition=void 0},t.prototype._positionExceedsMediaLength=function(e){return!!(this.media&&0<this.media.length&&e>=this.media.length-1e3)},t.prototype._preventPositionExceedingMediaLength=function(e){return this._positionExceedsMediaLength(e)?this.media.length:e},t.Consumers={COMSCORE:1,BARB:2,ATI:4},t}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;i=[n(13),n(7),n(14),n(15)],void 0===(r=function(e,t,n,i){"use strict";function r(t,i,r,s,a){this._playerDelegate=t,this._playhead=new e,this._isStarted=!1,this._interval=null,this._echoClient=r,this._broadcast=o,this._playerDelegateTimestamp=0,this._previousPosition=0,this._playingTime=0,this._media=i,this._environment=s,this._essEnabled=a,this._hb3NotSentYet=!0,this._hb5NotSentYet=!0,this._isRecievingPlayerTimestamp=!1,this._updateTime=0,this._essEnabled&&(this._schedule=new n(i,s,r))}var o="no-broadcast";return r.prototype.start=function(){var e=this;this._isStarted||(this._interval=setInterval(function(){e._update()},1e3),this._isStarted=!0,this._isRecievingPlayerTimestamp||this._playhead.start())},r.prototype.stop=function(){clearInterval(this._interval),this._playhead.stop(),this._isStarted=!1},r.prototype._update=function(){var e,n=parseInt(this._playerDelegate.getTimestamp(),10),i=!1,r=!1,o=!1,s=this.getTimestamp(),a=new Date,u=(a=a.getTime())-this._updateTime;this._updateTime=a,"number"==typeof n&&0<n&&(r=!0,this._isRecievingPlayerTimestamp=!0,this._playerDelegateTimestamp!==n&&(i=!0,this._echoClient.addLabel(t.MEDIA_TIMESTAMP,n)),e=n-s,r&&(0===this._playerDelegateTimestamp||e<0-u-1500||u+1500<e)&&(o=!0,this._playerDelegateTimestamp=n,this._playingTime+=this._playhead.getPosition(),this._restartPlayhead(),s=this.getTimestamp())),o||(0!==this._playerDelegateTimestamp&&!i||this._isRecievingPlayerTimestamp&&!r?this._playhead.stop():this._playhead.start()),this._updateSchedule(s)?(this._playingTime=0,this._playerDelegateTimestamp=n,this._restartPlayhead(),this._hb3NotSentYet=!0,this._hb5NotSentYet=!0):i&&this._echoClient.releaseSuppressedPlay(),this._updateHeartbeats(),this._previousPosition=this.getPosition()},r.prototype._updateSchedule=function(e){var t,n,r,s,a=!1;return this._essEnabled&&this._schedule.hasData()&&0<e&&(t=this._schedule.getBroadcast(e),(s=new i(this._media.getAvType(),this._media.getMediaConsumptionMode())).setServiceId(this._schedule.serviceId),s.setTransportMode(this._media.getTransportMode()),s.setMediaPlayerName(this._media.getMediaPlayerName()),s.setMediaPlayerVersion(this._media.getMediaPlayerVersion()),t||this._broadcast===o?!t||this._broadcast!==o&&t.version.id===this._broadcast.version.id||(r=(n=(this._broadcast=t).published_time).end-n.start,s.setEssEnriched(!0),s.setVersionId(t.version.id),s.setLength(r),t.episode&&t.episode.id&&s.setEpisodeId(t.episode.id),this._updateMedia(s),a=!0):(this._broadcast=o,this._updateMedia(s),a=!0)),a},r.prototype._updateHeartbeats=function(){var e,t;this._broadcast!==o&&(this._hb3NotSentYet||this._hb5NotSentYet)&&(e=this._playingTime+this._playhead.getPosition(),t=this.getPosition(),3e3<=e&&this._hb3NotSentYet&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_3",t),this._hb3NotSentYet=!1),5e3<=e&&this._hb5NotSentYet&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_5",t),this._hb5NotSentYet=!1))},r.prototype._updateMedia=function(e){var t=this.getPosition();this._echoClient.liveMediaUpdate(e,t,this._previousPosition),this._previousPosition=t},r.prototype._restartPlayhead=function(){this._playhead.reset(),this._playhead.start()},r.prototype.getPosition=function(){return this._broadcast&&this._broadcast!==o?this._playerDelegateTimestamp-this._broadcast.published_time.start+this._playhead.getPosition():this._playhead.getPosition()},r.prototype.getTimestamp=function(){return this._playerDelegateTimestamp+this._playhead.getPosition()},r}.apply(t,i))||(e.exports=r)},function(e,t,n){var i,r;i=[n(13)],void 0===(r=function(e){"use strict";function t(t,n,i){this._playerDelegate=t,this._media=n,this._echoClient=i,this._playhead=new e,this._isStarted=!1,this._interval=null,this._playerDelegatePosition=0,this._playingTime=0,this._currentIntervalMaxPosition=0,this._hb3NotSentYet=!0,this._hb5NotSentYet=!0,this._previousPlayingTime=0}return t.prototype.setPlayhead=function(e){this._playhead=e},t.prototype.start=function(){var e=this;this._isStarted||(this._interval=setInterval(function(){e._update()},1e3),this._isStarted=!0,this._playhead.start())},t.prototype.stop=function(){clearInterval(this._interval),this._playhead.stop(),this._isStarted=!1},t.prototype.setPosition=function(e){"number"==typeof e&&0<=e&&!this.arePositionsWithinTolerance(this.getPosition(),e)&&(this._playerDelegatePosition=e,this._playingTime+=this._playhead.getPosition(),this._restartPlayhead(),this._currentIntervalMaxPosition=e)},t.prototype.getCurrentIntervalMaxPosition=function(){return this._currentIntervalMaxPosition},t.prototype._update=function(){var e=parseInt(this._playerDelegate.getPosition(),10),t=this.getPosition(),n=this._playingTime+this._playhead.getPosition(),i=Math.abs(n-(this._previousPlayingTime||n));this._previousPlayingTime=n,"number"==typeof e&&e!==this._playerDelegatePosition&&0<e&&(0!==this._playerDelegatePosition&&this.arePositionsWithinTolerance(e,t)||(this._playerDelegatePosition=e,t=this._playerDelegatePosition,this._restartPlayhead())),t>this._currentIntervalMaxPosition&&(this._currentIntervalMaxPosition=t),3e3<=n&&this._hb3NotSentYet&&i<1500&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_3",t),this._hb3NotSentYet=!1),5e3<=n&&this._hb5NotSentYet&&i<1500&&(this._echoClient.avUserActionEvent("echo_hb","echo_hb_5",t),this._hb5NotSentYet=!1),0<this._media.length&&t>=this._media.length&&this._echoClient.avPauseEvent(this._media.length,{echo_pause_at_media_length:1})},t.prototype._restartPlayhead=function(){this._playhead.reset(),this._playhead.start()},t.prototype.getPosition=function(){var e=this._playhead.getPosition();return this._playerDelegatePosition+e},t.prototype.getTimestamp=function(){return 0},t.prototype.arePositionsWithinTolerance=function(e,t){var n=e-t;return-1500<=n&&n<=1500},t}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(e){return"string"==typeof e&&0<e.length}function i(e){return"string"==typeof(t=e[f.ECHO_CACHE_MODE])&&(t=t.toUpperCase(),u.EchoCacheMode.hasOwnProperty(t))?c.assert("boolean"==typeof e[f.ECHO_ENABLED],'Config: "enabled" must be boolean, got '+e[f.ECHO_ENABLED])&&c.assert("boolean"==typeof e[f.ECHO_AUTO_START],'Config: "auto_start" must be boolean, got '+e[f.ECHO_AUTO_START])&&c.assert(null===e[f.ECHO_DEVICE_ID]||"string"==typeof e[f.ECHO_DEVICE_ID]&&e[f.ECHO_DEVICE_ID].length,"ECHO.DEVICE_ID must be an non-empty string"):(a.error("Config Error: KEYS.ECHO_CACHE_MODE Invalid cache mode specified"),!1);var t}function r(e){if(!1===e[f.COMSCORE_ENABLED])return!0;if(!t(e[f.REPORTING_PROFILE])){if(!t(e[f.COMSCORE_HOST]))return a.error("Config Error: Must have config value for COMSCORE_HOST or REPORTING_PROFILE"),!1;if("scorecardresearch.com"!==e[f.COMSCORE_HOST]&&"sa.bbc.co.uk"!==e[f.COMSCORE_HOST])return a.error("Config Error: KEYS.COMSCORE_HOST Should be one of scorecardresearch.com or sa.bbc.co.uk"),!1}return"string"==typeof(n=e[f.REPORTING_PROFILE])&&(n=n.toUpperCase(),u.ReportingProfiles.hasOwnProperty(n))?c.assert("boolean"==typeof e[f.COMSCORE_ENABLED],'ComScore config: "ENABLED" must be boolean'):(a.error("Config Error: KEYS.REPORTING_PROFILE Invalid reporting profile specified"),!1);var n}function o(e){return"string"==typeof e&&(e=e.toUpperCase(),u.ReportingProfiles.hasOwnProperty(e))?u.ReportingProfiles[e]:null}function s(e){return"string"==typeof e&&(e=e.toUpperCase(),u.EchoCacheMode.hasOwnProperty(e))?u.EchoCacheMode[e]:null}var a=n(2),u=n(1),c=n(0),l=n(12),f=n(3),d={};d[f.ECHO_ENABLED]=!0,d[f.ECHO_AUTO_START]=!0,d[f.ECHO_DEVICE_ID]=null,d[f.REPORTING_PROFILE]="PUBLIC_SERVICE",d[f.ECHO_CACHE_MODE]="OFFLINE",d[f.COMSCORE_ENABLED]=!1,d[f.ATI_ENABLED]=!0,d[f.BARB_ENABLED]=!1,d[f.BARB_DEBUG]=!1,d[f.BARB_SITE_CODE]="bbcdotcom",d[f.TEST_SERVICE_ENABLED]=!1,d[f.USE_ESS]=!1,d[f.ESS_HOSTNAME]="ess.api.bbci.co.uk",d[f.USE_SSC]=!1,d[f.SSC_HOSTNAME]=null;var p={};return p[f.ECHO_NAME]=l.NAME,p[f.ECHO_VERSION]=l.VERSION,{defaultConfig:d,fixedConfig:p,generate:function(e){var n,u;(e=e||{})[f.REPORTING_PROFILE]&&(n=o(e[f.REPORTING_PROFILE])),n||(n=o("PUBLIC_SERVICE")),e[f.ECHO_CACHE_MODE]&&(u=s(e[f.ECHO_CACHE_MODE])),u||(u=s("OFFLINE"));var l,h,_,g=c.extend(d,!0,n,e||{},p);return i(g)&&r(g)&&(!1===(_=g)[f.BARB_ENABLED]||(t(_[f.BARB_SITE_CODE])?_[f.BARB_SITE_CODE].match(/[a-zA-Z]+/)?"boolean"==typeof _[f.BARB_DEBUG]||(a.error("Config Error: KEYS.BARB_DEBUG must be a boolean"),0):(a.error("Config Error: KEYS.BARB_SITE_CODE must match [a-zA-Z]"),0):(a.error("Config Error: KEYS.BARB_SITE_CODE must have a value"),0)))&&(h=(l=g)[f.SSC_HOSTNAME],"boolean"!=typeof l[f.USE_SSC]?(a.error("Config Error: KEYS.USE_SSC must be boolean"),0):null===h||".com"===h||".co.uk"===h||(a.error("Config Error: SSC_HOSTNAME must be one of .com, .co.uk or null"),0))?g:null}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n){return e===y?(i=t)+"//"+("https:"===i?"s":"")+"b."+y+"/p?":t+"//"+E+"/"+n+"/s";var i}function r(e){return null===e?g:e}function o(e){return null!==e&&e.isValueValid()?e.getValue():g}function s(e){var t=e.getMediaConsumptionMode(),n=e.getServiceIdObject(),i=e.getVersionIdObject(),r=e.getClipIdObject(),o=e.getEpisodeIdObject(),s=e.getVpIdObject(),a=e.getNonPipsContentIdObject();return t===_.MediaConsumptionMode.LIVE&&!0===e.isEssEnriched()&&i.isValueValid()?i:t===_.MediaConsumptionMode.LIVE&&n.isValueValid()?n:a.isValueValid()?a:i.isValueValid()?i:r.isValueValid()?r:o.isValueValid()?o:s.isValueValid()?s:n.isValueValid()?n:null}function a(e){var t={},n=s(e),i=r(e.getAvType()),a=r(e.getLength()),u=r(e.getRetrievalType());t[c.MEDIA_PART_NUMBER]=1,t[c.MEDIA_TOTAL_PARTS]=1,t[c.MEDIA_LENGTH]=a,t[c.MEDIA_MEDIUM]=i,t[c.MEDIA_RETRIEVAL_TYPE]=u,null===e.getMediaConsumptionMode()?(t[c.MEDIA_STREAM_TYPE]=g,t[c.MEDIA_LIVE_OR_ONDEMAND]=g):e.isLive()||i!==g?e.isOnDemand()||e.isDownload()?(t[c.MEDIA_STREAM_TYPE]=e.isVideo()?"vod":"aod",t[c.MEDIA_LIVE_OR_ONDEMAND]="on-demand"):(e.isEssEnriched()?t[c.ESS_ENRICHED]="true":(t[c.ESS_ENRICHED]="false",t[c.MEDIA_IS_LIVE]="1"),t[c.MEDIA_STREAM_TYPE]="live",t[c.MEDIA_LIVE_OR_ONDEMAND]="live"):t[c.MEDIA_STREAM_TYPE]=g;var l=e.getVersionIdObject(),f=e.getServiceIdObject(),d=e.getClipIdObject(),p=e.getEpisodeIdObject(),h=e.getNonPipsContentIdObject();if(t[c.MEDIA_PID]=o(n),e.isLive()&&!e.getServiceId()&&!1===e.isEssEnriched()&&(e.getVersionId()||e.getVpId())){var v=e.getVersionId()||e.getVpId();t[c.MEDIA_PID]="unverified_"+v}return h.isValueSet()&&(t[c.MEDIA_NON_PIPS_CONTENT_ID]=o(h)),l.isValueSet()&&(t[c.MEDIA_VERSION_ID]=o(l)),f.isValueSet()&&(t[c.MEDIA_SERVICE_ID]=o(f)),d.isValueSet()&&(t[c.MEDIA_CLIP_ID]=o(d)),p.isValueSet()&&(t[c.MEDIA_EPISODE_ID]=o(p)),function(e){var t=s(e),n=e.getVersionIdObject(),i=e.getEpisodeIdObject(),r=e.getClipIdObject();if(null!==t){var o=t.getIdType();if(e.isLive()){if(o===_.MediaIdType.SERVICE||e.isEssEnriched())return!1}else{if(!(o!==_.MediaIdType.SERVICE||n.isValueSet()||i.isValueSet()||r.isValueSet()))return!0;if(o!==_.MediaIdType.VPID)return!1}}return!0}(e)&&(t[c.MEDIA_AMBIGUOUS_ID]="1"),t}function u(e,t,n,r){var o,s,a,f,h,v,E,S,A,I=n[l.COMSCORE_SITE];this._deviceId=null,this._broker=null,this.media=null,this.SSPlayerEvent=u.StreamSense.PlayerEvents,this.SSPlayerState=u.StreamSense.InternalStates,this._clips=[],this._isEnabled=!0,this._hasStartedAppTag=!1,this._hasCreatedAsset=!1,this._storedAssetLabels={},h=n[l.COMSCORE_HOST],I=n[l.COMSCORE_SITE],this.useSsc=!0===n[l.USE_SSC]&&"sa.bbc.co.uk"!==h,this._deviceId=n[l.ECHO_DEVICE_ID]||void 0,!0!==this.useSsc||this._deviceId||(E=u._createSscHelper({forceBBCHost:n[l.SSC_HOSTNAME]}),this._deviceId=E.getCookieId()),p.containsValue(_.ApplicationType,t)||(t=g),o=i(h,r.getProtocol(),I),!0!==this.useSsc||this._deviceId||(o=E.getLocation().protocol+"//"+E.getSSCHostname()),!0===n[l.TEST_SERVICE_ENABLED]&&(a=o,o=n[l.TEST_SERVICE_URL]+"/comscore",this._isUsingComscoreOTTLibrary&&(s=n[l.TEST_SERVICE_URL]+"/offline")),this._isApp=!p.containsValue(b,t),v=r.getHttpGet(),f=h===y,this._isUsingComscoreOTTLibrary=!(!u.AppTag||!u.AppTag.ns_),this._isUsingComscoreOTTLibrary?(this.appTag=u.AppTag.ns_.comScore,this.appTag.setPlatformAPI(u.AppTag.ns_.PlatformAPIs.html5),v&&(this.appTag.getPlatformAPI().httpGet=v),this.appTag.setPublisherSecret(n[l.COMSCORE_PUBLISHER_SECRET]),this.appTag.setAppContext()):this.appTag=new u.AppTag(v||d._defaultHttpGet,this._isApp,f),this.ss=new u.StreamSense.StreamingAnalytics({liveEndpointURL:o,systemClockJumpDetection:!0}),v&&(this.ss.getPlatformAPI().httpGet=v),f&&(this.appTag.setCustomerC2(n[l.COMSCORE_CUSTOMER_ID]),this.ss.setLabel(c.COMSCORE_CUSTOMER,n[l.COMSCORE_CUSTOMER_ID]),this.addLabel(c.COMSCORE_C1,"2"),this.addLabel(c.COMSCORE_SITE,I)),this.appTag.setPixelURL(o),this._deviceId?this.addLabel(c.DEVICE_ID,this._deviceId):this.useSsc||"sa.bbc.co.uk"!==h||(this._deviceId=m.getCookieValueByName("s1")),!0===n[l.TEST_SERVICE_ENABLED]&&(this.addLabel(c.COMSCORE_ENDPOINT,a),this._isUsingComscoreOTTLibrary&&this.appTag.setOfflineURL(s)),this.addLabel(c.BBC_APPLICATION_NAME,e),this.addLabel(c.BBC_APPLICATION_TYPE,t),this.setCacheMode(n[l.ECHO_CACHE_MODE]),this.addLabel(c.BBC_MEASUREMENT_LIB_NAME,n[l.ECHO_NAME]),this.addLabel(c.BBC_MEASUREMENT_LIB_VERSION,n[l.ECHO_VERSION]),this._isApp?(this._isUsingComscoreOTTLibrary?this.appTag.setAppName(e):this.addLabel(c.APP_NAME,e),this.addLabel(c.APP_PLATFORM_NAME,r.getPlatformName()),this.addLabel(c.APP_PLATFORM_RUNTIME,r.getPlatformRuntimeEnvironment()),this.addLabel(c.APP_OS_VERSION,r.getPlatformOSVersion()),this.addLabel(c.APP_DEVICE_NAME,r.getDeviceName()),this.addLabel(c.APP_SCREEN_RESOLUTION,r.getScreenResolution()),this.addLabel(c.APP_LANGUAGE,r.getLanguage())):this.addLabel(c.WEB_SCREEN_RES,r.getScreenResolution()),this.addLabel(c.ENV_CHAR_SET,r.getCharSet()),this.addLabel(c.ENV_TITLE,r.getTitle()),this.addLabel(c.ENV_REFERRER,r.getReferrer()),-1===r.getURL().indexOf("file:",0)&&this.addLabel(c.ENV_URL,r.getURL()),n[l.ECHO_TRACE]&&this.setTraceId(n[l.ECHO_TRACE]),(S=d.getOrbCookiesPolicy())&&(A="ad"+(S.ads?"1":"0")+"ps"+(S.personalisation?"1":"0")+"pf"+(S.performance?"1":"0"),this.addLabel(c.COOKIE_POLICY,A)),this.addLabel(_.ManagedLabels.BBC_SITE,g),this._mediaIsLive=null,n&&!1===n[l.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0}var c=n(7),l=n(3),f=n(32),d=n(8),p=n(0),h=n(33),_=n(1),g="invalid-data",v=n(34),m=n(9),E="sa.bbc.co.uk/bbc",y="scorecardresearch.com",b=[_.ApplicationType.WEB,_.ApplicationType.MOBILE_WEB,_.ApplicationType.RESPONSIVE],S=[c.NO_COOKIES],A=["ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_ty","ns_st_ct","ns_st_st","ns_st_pu"];u.prototype.start=function(){this._isEnabled&&!this._hasStartedAppTag&&(this.appTag.start(),this._hasStartedAppTag=!0)},u.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},u.prototype.disable=function(){this._isEnabled&&(this.clearMedia(),this._isEnabled=!1)},u.prototype.getDeviceId=function(){return this._deviceId},u.prototype._buildStreamSenseClip=function(e){var t,n=a(e),i=n[c.MEDIA_PID];for(t=0;t<this._clips.length;t++)if(this._clips[t][c.MEDIA_PID]===i)return this._clips[t];return n[c.MEDIA_CLIP_NUMBER]=this._clips.length+1,this._clips.push(n),n},u.prototype.setTraceId=function(e){this.addLabel(l.ECHO_TRACE,e)},u._createSscHelper=function(e){return new v(e||{})},u.StreamSense=n(35),u.AppTag=n(36);var I="<"+S.join("><")+">";return u.prototype._isExcludedLabel=function(e){return!0===this.useSsc&&!!I.match(new RegExp("<"+e+">"))},u.prototype.addLabels=function(e){if("object"==typeof e)for(var t in e)e.hasOwnProperty(t)&&this.addLabel(t,e[t])},u.prototype.addLabel=function(e,t){!0!==this._isExcludedLabel(e)&&(this.appTag.setLabel(e,t),-1<A.indexOf(e)?this._hasCreatedAsset?this.ss.getPlaybackSession().getAsset().setLabel(e,t):this._storedAssetLabels[e]=t:this.ss.setLabel(e,t))},u.prototype.addManagedLabel=function(e,t){var n=h.isValidManagedLabel(e,t)?t:g;for(var i in _.ManagedLabels)_.ManagedLabels[i]===e&&this.addLabel(e,n)},u.prototype.removeLabels=function(e){for(var t=0,n=e.length;t<n;t++)this.removeLabel(e[t])},u.prototype.removeLabel=function(e){this.appTag.setLabel(e,null),-1<A.indexOf(e)?this._hasCreatedAsset?this.ss.getPlaybackSession().getAsset().setLabel(e,null):delete this._storedAssetLabels[e]:this.ss.setLabel(e,null)},u.prototype.setLoggedInToBBCId=function(e){this.addLabel(c.BBC_ID_LOGGED_IN,"1"),e&&0<e.length?this.addManagedLabel(_.ManagedLabels.BBC_HASHED_ID,e):this.removeLabel(_.ManagedLabels.BBC_HASHED_ID)},u.prototype.setLoggedOutOfBBCId=function(){this.removeLabels([c.BBC_ID_LOGGED_IN,_.ManagedLabels.BBC_HASHED_ID])},u.prototype.setAppVersion=function(e){"function"==typeof this.appTag.setAppVersion?this.appTag.setAppVersion(e):e&&this._isApp?this.addLabel(c.APP_VERSION,e.toString()):e&&this.addLabel(c.BBC_APPLICATION_VERSION,e.toString())},u.prototype.setCounterName=function(e){this._isEnabled&&this.addLabel(c.BBC_COUNTER_NAME,e)},u.prototype.setDestination=function(e){this.addLabel(c.DESTINATION,e)},u.prototype.setProducer=function(e){this.addLabel(c.PRODUCER,e)},u.prototype.setContentLanguage=function(e){this.addLabel(c.BBC_LANGUAGE,e)},u.prototype.setCacheMode=function(e){if(this._isUsingComscoreOTTLibrary&&e!==this._cacheMode){switch(e){case _.EchoCacheMode.ALL:this.appTag.allowLiveTransmission(this.appTag.TransmissionMode.NEVER),this.appTag.allowOfflineTransmission(this.appTag.TransmissionMode.NEVER);break;case _.EchoCacheMode.OFFLINE:this.appTag.allowLiveTransmission(this.appTag.TransmissionMode.DEFAULT),this.appTag.allowOfflineTransmission(this.appTag.TransmissionMode.DEFAULT)}this._cacheMode=e}},u.prototype.flushCache=function(){this._isUsingComscoreOTTLibrary&&this.appTag.flushCache()},u.prototype.clearCache=t,u.prototype.viewEvent=function(e,t){if(this._eventsEnabled()){this.addLabel(c.BBC_COUNTER_NAME,e);var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"view");n.name=e,this.appTag.view(n)}},u.prototype.errorEvent=t,u.prototype.userActionEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.USER_ACTION_TYPE,e,c.USER_ACTION_NAME,t,c.ECHO_EVENT_NAME,"userAct");this.appTag.hidden(i)}},u.prototype.setPlayerName=function(e){this.addLabel(c.PLAYER_NAME,e)},u.prototype.setPlayerVersion=function(e){this.addLabel(c.PLAYER_VERSION,e)},u.prototype.setPlayerIsPopped=function(e){this.ss.setLabel(c.PLAYER_POPPED,e?1:0)},u.prototype.setPlayerWindowState=function(e){this.ss.setLabel(c.PLAYER_WINDOW_STATE,e)},u.prototype.setPlayerVolume=function(e){this.ss.setLabel(c.PLAYER_VOLUME,e)},u.prototype.setPlayerIsSubtitled=function(e){this.ss.setLabel(c.PLAYER_SUBTITLED,e?1:0)},u.prototype.setBroker=function(e){return this._broker=e,this},u.prototype.setMedia=function(e){var t,n,i;if(this._eventsEnabled()&&(this.clearMedia(),e)){this.media=e;var r=this._buildStreamSenseClip(this.media),o=(t=this.media,n={},i=s(t),n[c.PLAYLIST_NAME]=null===i?g:i.getValue(),n);this._mediaIsLive=!e.isOnDemand(),this.ss.createPlaybackSession(o),this.ss.getPlaybackSession()&&(this.ss.getPlaybackSession().setAsset(r),this._hasCreatedAsset=!0,this.ss.getPlaybackSession().getAsset().setLabels(this._storedAssetLabels))}},u.prototype.liveMediaUpdate=function(e,t,n){p.assert("number"==typeof t,"newPosition must be a number"),p.assert("number"==typeof n,"oldPosition must be a number"),this.media=e;var i=this._buildStreamSenseClip(e);this.ss.notifyEnd(n),this.ss.getPlaybackSession().setAsset(i),this.ss.getPlaybackSession().getAsset().setLabels(this._storedAssetLabels),this.ss.notifyPlay(t)},u.prototype.liveEnrichmentFailed=t,u.prototype.setMediaLength=function(e){this._eventsEnabled()&&null!=this.media&&((!e||e<0)&&(e=0),this.ss.getPlaybackSession().getAsset().setLabel(c.MEDIA_LENGTH,e))},u.prototype.avPlayEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avPlay");this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPlay(n,e)}},u.prototype.avPauseEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avPause"),i=this.media.isLive();i&&!1===this.media.isEssEnriched()?e=0:!i&&this._broker&&0===e&&(e=this._broker.getCurrentIntervalMaxPosition()),this.ss.notifyPause(n,e)}},u.prototype.avBufferEvent=function(e,t){this._eventsEnabled()&&(this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyBufferStart(e))},u.prototype.avEndEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avEnd",c.PLAYLIST_END,1);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyEnd(e,n),this.clearMedia()}},u.prototype.avRewindEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.ECHO_EVENT_NAME,"avRW",c.EVENT_TRIGGERED_BY_USER,"rewind",c.REWIND_FF_RATE,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(e,i)}},u.prototype.avFastForwardEvent=function(e,t,n){if(this._eventsEnabled()){var i=p.extend(n,!0,c.ECHO_EVENT_NAME,"avFF",c.EVENT_TRIGGERED_BY_USER,"fastforward",c.REWIND_FF_RATE,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(i,e)}},u.prototype.avSeekEvent=function(e,t){if(this._eventsEnabled()){var n=p.extend(t,!0,c.ECHO_EVENT_NAME,"avSeek",c.EVENT_TRIGGERED_BY_USER,"seek");this.media.isLive()&&!1===this.media.isEssEnriched()&&(e=0),this.ss.notifyPause(e,n)}},u.prototype.avUserActionEvent=function(e,t,n,i){if(this._eventsEnabled()){var r=p.extend(i,!0,c.ECHO_EVENT_NAME,"avUserAct",c.STREAMSENSE_CUSTOM_EVENT_TYPE,e,c.USER_ACTION_TYPE,e,c.USER_ACTION_NAME,t);this.media.isLive()&&!1===this.media.isEssEnriched()&&(n=0),this.ss.notifyCustomEvent(n,r)}},u.prototype.clearMedia=function(){this._eventsEnabled()&&(this._clips=[],this._hasCreatedAsset=!1,null!==this.media&&(this.ss.getState()===f.PLAYING&&this.avEndEvent(0),this.media=null))},u.prototype.requiresLabelCleansing=function(){return!0},u.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStartedAppTag},u}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={IDLE:0,PLAYBACK_NOT_STARTED:1,PLAYING:2,PAUSED:3,BUFFERING_BEFORE_PLAYBACK:4,BUFFERING_DURING_PLAYBACK:5,BUFFERING_DURING_SEEKING:6,BUFFERING_DURING_PAUSE:7,SEEKING_BEFORE_PLAYBACK:8,SEEKING_DURING_PLAYBACK:9,SEEKING_DURING_BUFFERING:10,SEEKING_DURING_PAUSE:11,PAUSED_DURING_BUFFERING:12}},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(1),i=n(0);return{isValidManagedLabel:function(e,n){switch(e){case t.ManagedLabels.IPLAYER_STATE:if("purchased"!==n&&"free"!==n)return!1;break;case t.ManagedLabels.STORE_ED_TYPE:if("archive"!==n&&"standard"!==n)return!1;break;case t.ManagedLabels.IPLAYER_AVAIL:if("avail"!==n&&"unavail"!==n&&"soon"!==n)return!1;break;case t.ManagedLabels.STORE_REFERRAL:if("iplayer"!==n&&"store"!==n)return!1;break;case t.ManagedLabels.BBC_HASHED_ID:if("string"!=typeof n||0===i.trim(n).length)return!1}return!0}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(){function e(e){e=e||{},this.alwaysUseHttps=!0===e.alwaysUseHttps||!1,this.forceBBCHost=!1,this._sscCookieId=void 0,this._s1CookieId=void 0,this._uidCookieId=void 0,".co.uk"===e.forceBBCHost?this.forceBBCHost=".co.uk":".com"===e.forceBBCHost&&(this.forceBBCHost=".com")}var t,n;return t="ssc.api.bbc.co.uk",n="ssc.api.bbc.com",e.prototype.getCookie=function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},e.prototype.getLocation=function(){return window.location},e.prototype.getCookieId=function(){var e,i,r,o,s;return i=this.getSSCHostname(),r=this.getLocation(),o=i===t&&-1!==r.hostname.search(/bbc.co.uk$/),s=i===n&&-1!==r.hostname.search(/bbc.com$/),(o||s)&&null==(e=this.getSSCCookieId())&&(o?e=this.getS1CookieId():s&&(e=this.getUidCookieId())),e},e.prototype.getS1CookieId=function(){return void 0===this._s1CookieValue&&(this._s1CookieValue=this.getCookie("s1")),this._s1CookieValue},e.prototype.getUidCookieId=function(){return void 0===this._uidCookieValue&&(this._uidCookieValue=this.getCookie("ckns_uid"),null===this._uidCookieValue&&(this._uidCookieValue=this.getCookie("ckpf_uid"))),this._uidCookieValue},e.prototype.getSSCCookieId=function(){return void 0===this._sscCookieValue&&(this._sscCookieValue=this.getCookie("ckns_sscid"),null===this._sscCookieValue&&(this._sscCookieValue=this.getCookie("ckpf_sscid"))),this._sscCookieValue},e.prototype.isValidId=function(e){var t;return t=!1,"string"==typeof e&&-1!==e.search(/^[^(?!<>\s)]+$/)&&(t=!0),t},e.prototype.getAnalyticsLocation=function(e,t){var n,i,r,o,s;return this.getSSCHostname(),i=this.getLocation(),n={sscId:void 0},"string"!=typeof e&&(e=""),void 0!==t&&!1!==this.isValidId(t)||(t=this.getCookieId()),this.alwaysUseHttps||"https:"===i.protocol?n.protocol="https:":n.protocol="http:",o=-1!==e.search(/ns_alias=/),s=this.isValidId(t),n.hostname=o||s?this.getScorecardresearchHostname():this.getSSCHostname(),s&&(e=""===e?"?ns_alias="+t:(r=e.search(/\?/)+1,[e.slice(0,r),"ns_alias="+t+"&",e.slice(r)].join("")),n.sscId=t),n.search=e,-1!==n.hostname.search(/scorecardresearch.com$/)?n.pathname="/p":n.pathname="/",n.href=n.protocol+"//"+n.hostname+n.pathname+n.search,n},e.prototype.getSSCHostname=function(){var e;return e=this.getLocation(),".com"===this.forceBBCHost||".co.uk"!==this.forceBBCHost&&-1===e.hostname.search(/bbc\.co\.uk$/)?n:t},e.prototype.getScorecardresearchHostname=function(){return"https:"===this.getLocation().protocol?"sb.scorecardresearch.com":"b.scorecardresearch.com"},e})?i.call(t,n,t,e):i)||(e.exports=r)},function(e,t,n){(function(t,n){e.exports=function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){return r(t[s][1][e]||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var o=!1,s=0;s<i.length;s++)r(i[s]);return r}({1:[function(e,t,n){var i=e(24),r=e(26),o=e(36);t.exports=function(e){function t(t){c=t,e.t().set("plannedFlushTime",t+"")}function n(){e.flush(),t(-1),a.i()}function s(){l&&(o.clearTimeout(l),l=null)}var a=this,u=!1,c=-1,l=null;i.extend(a,{start:function(){u=!0,!l&&0<e.getCacheFlushingInterval()&&null!=e.getCustomerC2()&&(e.t().has("plannedFlushTime")&&(c=r.o(e.t().get("plannedFlushTime"),-1)),a.i())},stop:function(){u=!1,s()},update:function(){0<e.getCacheFlushingInterval()&&null!=e.getCustomerC2()?!l&&u?(t(-1),a.start()):null!=l&&(t(0<e.getCacheFlushingInterval()?+new Date+1e3*e.getCacheFlushingInterval():-1),l&&(o.clearTimeout(l),a.i())):(t(-1),s())},i:function(){c<0&&t(+new Date+1e3*e.getCacheFlushingInterval()),l=o.setTimeout(n,c-+new Date)}})}},{24:24,26:26,36:36}],2:[function(e,t,n){var i=e(5),r=e(8).TransmissionMode,o=e(8).u,s=new i,a={TransmissionMode:r,getCore:function(){return s},setAppContext:function(e){s.setAppContext(e)},setEnabled:function(e){s.setEnabled(e)},getEnabled:function(){return s.getEnabled()},onUxActive:function(){s.onUxActive()},onUxInactive:function(){s.onUxInactive()},onEnterForeground:function(){s.onEnterForeground()},onExitForeground:function(){s.onExitForeground()},onUserInteraction:function(){s.onUserInteraction()},update:function(){s.update()},enableAutoUpdate:function(e,t){s.enableAutoUpdate(e,void 0===t||t)},disableAutoUpdate:function(){s.disableAutoUpdate()},isAutoUpdateEnabled:function(){return s.isAutoUpdateEnabled()},start:function(e){s.s(o.l,e||{})},view:function(e){s.s(o.v,e||{})},hidden:function(e){s.s(o.HIDDEN,e||{})},close:function(e){s.s(o.h,e)},aggregate:function(e){s.s(o._,e)},getPixelURL:function(){return s.getPixelURL()},setPixelURL:function(e){s.setPixelURL(e)},getCustomerC2:function(){return s.getCustomerC2()},setCustomerC2:function(e){s.setCustomerC2(e)},getAppName:function(){return s.getAppName()},setAppName:function(e){s.setAppName(e)},getAppVersion:function(){return s.getAppVersion()},setAppVersion:function(e){s.setAppVersion(e)},getGenesis:function(){return s.getGenesis()},getVisitorID:function(){return s.getVisitorId()},setVisitorId:function(e,t){s.setVisitorId(e,t)},getCrossPublisherId:function(){return s.getCrossPublisherId()},getOfflineTransmissionMode:function(){return s.getOfflineTransmissionMode()},allowOfflineTransmission:function(e){s.allowOfflineTransmission(e)},getLiveTransmissionMode:function(){return s.getLiveTransmissionMode()},allowLiveTransmission:function(e){s.allowLiveTransmission(e)},getPublisherSecret:function(){return s.g()},setPublisherSecret:function(e){s.m(e)},flushCache:function(){s.flush()},clearOfflineCache:function(){s.I().clear()},setLabel:function(e,t){s.setLabel(e,t)},getLabel:function(e){return s.getLabel(e)},setLabels:function(e){s.setLabels(e)},getLabels:function(){return s.getLabels()},setAutoStartLabels:function(e){s.setAutoStartLabels(e)},getAutoStartLabel:function(e){return s.getAutoStartLabel(e)},getAutoStartLabels:function(){return s.getAutoStartLabels()},setAutoStartLabel:function(e,t){s.setAutoStartLabel(e,t)},isKeepAliveEnabled:function(){return s.S().isEnabled()},setKeepAliveEnabled:function(e){s.setKeepAliveEnabled(!!e)},setCacheMaxMeasurements:function(e){s.setCacheMaxMeasurements(e)},getCacheMaxMeasurements:function(){return s.getCacheMaxMeasurements()},setCacheMaxBatchFiles:function(e){s.setCacheMaxBatchFiles(e)},getCacheMaxBatchFiles:function(){return s.getCacheMaxBatchFiles()},setCacheMaxFlushesInARow:function(e){s.setCacheMaxFlushesInARow(e)},getCacheMaxFlushesInARow:function(){return s.getCacheMaxFlushesInARow()},setCacheMinutesToRetry:function(e){s.setCacheMinutesToRetry(e)},getCacheMinutesToRetry:function(){return s.getCacheMinutesToRetry()},setCacheMeasurementExpiry:function(e){s.setCacheMeasurementExpiry(e)},getCacheMeasurementExpiry:function(){return s.getCacheMeasurementExpiry()},getCacheFlushingInterval:function(){return s.getCacheFlushingInterval()},setCacheFlushingInterval:function(e){s.setCacheFlushingInterval(e)},setSecure:function(e){s.setSecure(e)},isSecure:function(){return s.isSecure()},getMeasurementLabelOrder:function(){return s.getMeasurementLabelOrder()},setMeasurementLabelOrder:function(e){s.setMeasurementLabelOrder(e)},setAutoStartEnabled:function(e){s.setAutoStartEnabled(e)},isAutoStartEnabled:function(){return s.isAutoStartEnabled()},getVersion:function(){return s.getVersion()},getPlatformAPI:function(){return s.getPlatformAPI()},setPlatformAPI:function(e){s.setPlatformAPI(e)},setOfflineURL:function(e){s.setOfflineURL(e)},clearInternalData:function(){s.clearInternalData()},cacheHttpRedirects:function(){s.cacheHttpRedirects()}};t.exports=a},{5:5,8:8}],3:[function(e,t,n){var i=e(24),r=e(36),o=e(8).TransmissionMode;t.exports=function(e){function t(){e.flush(),p=-1,f=null}function n(){f&&(r.clearTimeout(f),f=null)}function s(e){var i=+new Date;l?(n(),(p<i||p<0||!e)&&(p=i+3e4),f=r.setTimeout(t,p-i)):p<0&&(p=i+3e4)}function a(){var t=r.isConnectionAvailable();t!=u&&((u=t)?e.getOfflineTransmissionMode()!=o.NEVER&&e.getOfflineTransmissionMode()!=o.DISABLED&&s(!1):(n(),p=-1)),l&&(d=r.setTimeout(a,c))}var u,c=1e3,l=!1,f=null,d=null,p=-1;i.extend(this,{start:function(){l=!0,u&&0<p&&s(!0),d=r.setTimeout(a,c)},stop:function(){r.clearTimeout(d),d=null,l=!1,n()}})}},{24:24,36:36,8:8}],4:[function(e,t,n){t.exports={PAGE_NAME_LABEL:"name",P:2048,A:4096,C:"previousVersion",k:["c1","c2","ca2","cb2","cc2","cd2","ns_site","ca_ns_site","cb_ns_site","cc_ns_site","cd_ns_site","ns_vsite","ca_ns_vsite","cb_ns_vsite","cc_ns_vsite","cd_ns_vsite","ns_alias","ca_ns_alias","cb_ns_alias","cc_ns_alias","cd_ns_alias","ns_ap_an","ca_ns_ap_an","cb_ns_ap_an","cc_ns_ap_an","cd_ns_ap_an","ns_ap_pn","ns_ap_pv","c12","ca12","cb12","cc12","cd12","ns_ak","ns_ap_hw","name","ns_ap_ni","ns_ap_ec","ns_ap_ev","ns_ap_device","ns_ap_id","ns_ap_csf","ns_ap_bi","ns_ap_pfm","ns_ap_pfv","ns_ap_ver","ca_ns_ap_ver","cb_ns_ap_ver","cc_ns_ap_ver","cd_ns_ap_ver","ns_ap_sv","ns_ap_bv","ns_ap_cv","ns_ap_smv","ns_type","ca_ns_type","cb_ns_type","cc_ns_type","cd_ns_type","ns_radio","ns_nc","cs_partner","cs_xcid","cs_impid","ns_ap_ui","ca_ns_ap_ui","cb_ns_ap_ui","cc_ns_ap_ui","cd_ns_ap_ui","ns_ap_gs","ns_ap_ie","ns_st_sv","ns_st_pv","ns_st_smv","ns_st_it","ns_st_id","ns_st_ec","ns_st_sp","ns_st_sc","ns_st_psq","ns_st_asq","ns_st_sq","ns_st_ppc","ns_st_apc","ns_st_spc","ns_st_atpc","ns_st_cn","ns_st_ev","ns_st_po","ns_st_cl","ns_st_el","ns_st_sl","ns_st_pb","ns_st_hc","ns_st_mp","ca_ns_st_mp","cb_ns_st_mp","cc_ns_st_mp","cd_ns_st_mp","ns_st_mv","ca_ns_st_mv","cb_ns_st_mv","cc_ns_st_mv","cd_ns_st_mv","ns_st_pn","ns_st_tp","ns_st_ad","ns_st_li","ns_st_ci","ns_st_si","ns_st_pt","ns_st_dpt","ns_st_ipt","ns_st_ap","ns_st_dap","ns_st_et","ns_st_det","ns_st_upc","ns_st_dupc","ns_st_iupc","ns_st_upa","ns_st_dupa","ns_st_iupa","ns_st_lpc","ns_st_dlpc","ns_st_lpa","ns_st_dlpa","ns_st_pa","ns_st_ldw","ns_st_ldo","ns_st_ie","ns_ap_jb","ns_ap_et","ns_ap_res","ns_ap_sd","ns_ap_po","ns_ap_ot","ns_ap_c12m","cs_c12u","ca_cs_c12u","cb_cs_c12u","cc_cs_c12u","cd_cs_c12u","ns_ap_install","ns_ap_updated","ns_ap_lastrun","ns_ap_cs","ns_ap_runs","ns_ap_usage","ns_ap_fg","ns_ap_ft","ns_ap_dft","ns_ap_bt","ns_ap_dbt","ns_ap_dit","ns_ap_as","ns_ap_das","ns_ap_it","ns_ap_uc","ns_ap_aus","ns_ap_daus","ns_ap_us","ns_ap_dus","ns_ap_ut","ns_ap_oc","ns_ap_uxc","ns_ap_uxs","ns_ap_lang","ns_ap_ar","ns_ap_miss","ns_ts","ns_ap_cfg","ns_ap_env","ns_ap_ais","ns_st_ca","ns_st_cp","ns_st_er","ca_ns_st_er","cb_ns_st_er","cc_ns_st_er","cd_ns_st_er","ns_st_pe","ns_st_ui","ca_ns_st_ui","cb_ns_st_ui","cc_ns_st_ui","cd_ns_st_ui","ns_st_bc","ns_st_dbc","ns_st_bt","ns_st_dbt","ns_st_bp","ns_st_lt","ns_st_skc","ns_st_dskc","ns_st_ska","ns_st_dska","ns_st_skd","ns_st_skt","ns_st_dskt","ns_st_pc","ns_st_dpc","ns_st_pp","ns_st_br","ns_st_pbr","ns_st_rt","ns_st_prt","ns_st_ub","ns_st_vo","ns_st_pvo","ns_st_ws","ns_st_pws","ns_st_ki","ns_st_rp","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_pl","ns_st_pr","ns_st_tpr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_tep","ns_st_sr","ns_st_ty","ns_st_ct","ns_st_cs","ns_st_ge","ns_st_st","ns_st_stc","ns_st_ce","ns_st_ia","ns_st_dt","ns_st_ddt","ns_st_tdt","ns_st_tm","ns_st_dtm","ns_st_ttm","ns_st_de","ns_st_pu","ns_st_ti","ns_st_cu","ns_st_fee","ns_st_ft","ns_st_at","ns_st_pat","ns_st_vt","ns_st_pvt","ns_st_tt","ns_st_ptt","ns_st_cdn","ns_st_pcdn","ns_st_amg","ns_st_ami","ns_st_amp","ns_st_amt","ns_st_ams","ns_ap_i1","ns_ap_i2","ns_ap_i3","ns_ap_i4","ns_ap_i5","ns_ap_i6","ns_ap_referrer","ns_clid","ns_campaign","ns_source","ns_mchannel","ns_linkname","ns_fee","gclid","utm_campaign","utm_source","utm_medium","utm_term","utm_content","ns_ecommerce","ns_ec_sv","ns_client_id","ns_order_id","ns_ec_cur","ns_orderline_id","ns_orderlines","ns_prod_id","ns_qty","ns_prod_price","ns_prod_grp","ns_brand","ns_shop","ns_category","category","ns_c","ns_search_term","ns_search_result","ns_m_exp","ns_m_chs","c3","ca3","cb3","cc3","cd3","c4","ca4","cb4","cc4","cd4","c5","ca5","cb5","cc5","cd5","c6","ca6","cb6","cc6","cd6","c10","c11","c13","c14","c15","c16","c7","c8","c9","ns_ap_er","ns_st_amc"]}},{}],5:[function(e,t,n){var i=e(8).T,r=e(8).N,o=e(4),s=e(26),a=e(17),u=e(8).u,c=e(36),l=e(21),f=e(24),d=e(22),p=e(25),h=e(6),_=e(11),g=e(7),v=e(9),m=e(12).L,E=e(1),y=e(3),b="undefined",S=a.D,A="https://web.archive.org/web/20190701112059/http://b.scorecardresearch.com/p2?",I="https://web.archive.org/web/20190701112059/https://sb.scorecardresearch.com/p2?",T="exitCode",C="lastApplicationAccumulationTimestamp",P="lastSessionAccumulationTimestamp",O="lastApplicationSessionTimestamp",w="lastUserSessionTimestamp",N="lastActiveUserSessionTimestamp",R="foregroundTransitionsCount",D="accumulatedForegroundTime",L="accumulatedBackgroundTime",B="accumulatedInactiveTime",M="totalForegroundTime",x="totalBackgroundTime",k="totalInactiveTime",U="accumulatedApplicationSessionTime",V="accumulatedActiveUserSessionTime",G="accumulatedUserSessionTime",j="activeUserSessionCount",F="userSessionCount",H="lastUserInteractionTimestamp",W="userInteractionCount",K="applicationSessionCountKey",Y="genesis",q="previousGenesis",z="installId",$="firstInstallId",X="currentVersion",J="runs",Q="coldStartCount",Z="crossPublisherIdHashed",ee="crossPublisherId";t.exports=function(){function e(e){return ae.has(e)?ae.get(e)+"":null}function t(){var e=+new Date,t=!1;return 18e5<e-Fe&&(Be=Le,Le=e,Ve++,t=!0),Fe=e,t}function n(e){if(rt){e=typeof e===b||e;var t=+new Date,n=t-Me;switch(lt){case i.H:Re+=n,Pe+=n;break;case i.Y:Ne+=n,Oe+=n;break;case i.R:De+=n,we+=n}Me=t,e&&(ae.set(C,Me+""),ae.set(R,Ce+""),ae.set(D,Re+""),ae.set(L,Ne+""),ae.set(B,De+""),ae.set(M,Pe+""),ae.set(x,Oe+""),ae.set(k,we+""))}}function a(e){if(rt){e=typeof e===b||e;var t=+new Date,n=t-qe;switch(ft){case r.F:Ue+=n,We=t;case r.G:ke+=n,He=t;case r.K:xe+=n,Fe=t;break;case r.R:}qe=t,e&&(ae.set(P,qe+""),ae.set(O,Fe+""),ae.set(w,He+""),ae.set(N,We+""),ae.set(U,xe+""),ae.set(V,Ue+""),ae.set(G,ke+""),ae.set(j,je+""),ae.set(F,Ge+""),ae.set(H,Ye+""),ae.set(W,Ke+""),ae.set(q,Be+""),ae.set(Y,Le+""),ae.set(K,Ve+""))}}function te(){if(rt){var e,o,s=+new Date;e=0<Ie?i.H:0<Te?i.Y:i.R,o=s-Ye<3e5?r.F:0<Te?r.G:0<Ie?r.K:r.R;var l,f=lt,d=ft;if(e!=f||o!=d){var p=!1;f!=e&&(function(e){if(rt)switch(e){case i.R:le.J(!1),ue.X(),ue.Z(),fe.start(),ce.start();break;case i.Y:re();break;case i.H:st.nn(null),re()}}(lt),function(e){if(rt)switch(e){case i.R:fe.stop(),ue.pause(),ce.stop(),re(),le.J(!0);break;case i.Y:at||ie();break;case i.H:ie(),Ce++}}(e),n(),lt=e,p=!0),d!=o&&(function(e){if(rt){var n=+new Date;switch(e){case r.F:null!=ze&&(c.clearTimeout(ze),ze=null),We=n;case r.G:He=n;case r.K:Fe=n;break;case r.R:t()||(xe+=n-qe)}}}(ft),function(e){if(rt)switch(e){case r.F:3e5<=(i=+new Date)-We&&je++,We=i,st.j();case r.G:3e5<=(n=+new Date)-He&&Ge++,He=n;case r.K:t();break;case r.R:}var n,i}(o),a(),ft=o),p&&(l=lt,rt&&l!=i.R&&st.isAutoStartEnabled()&&!ut&&st.s(u.l,it))}}}function ne(e,t){rt&&(l.tn(e)?(t=l.tn(t)?"-cs"+t:"",Xe=e+t):null==Xe&&gt&&(Xe=d(c.getVisitorId()+st.g()),"function"==typeof c.getVisitorIdSuffix&&null!=c.getVisitorIdSuffix()&&(Xe=Xe+"-cs"+c.getVisitorIdSuffix())),ae.set("vid",Xe+""))}function ie(){if(rt){re();var e=function(){st.update(),null!=pe&&c.setTimeout(e,_e)};pe=c.setTimeout(e,_e)}}function re(){rt&&null!=pe&&(c.clearTimeout(_e),pe=null)}function oe(){return!gt||null==Ze||0===Ze.length||null==$e||0===$e.length}var se,ae,ue,ce,le,fe,de,pe,he,_e,ge,ve,me,Ee,ye,be,Se,Ae,Ie,Te,Ce,Pe,Oe,we,Ne,Re,De,Le,Be,Me,xe,ke,Ue,Ve,Ge,je,Fe,He,We,Ke,Ye,qe,ze,$e,Xe,Je,Qe,Ze,et,tt,nt,it,rt,ot,st=this,at=!0,ut=!1,ct=!0,lt=i.R,ft=r.R,dt=!1,pt=!1,ht=!1,_t=!0,gt=!1,vt=0;f.extend(st,{isProperlyInitialized:function(){return!oe()},reset:function(){rt&&(de.reset(),lt=i.R,ft=r.R,ut=!1,Se=be=null,tt=Ke=Be=ke=Ue=xe=De=Re=Ne=we=Oe=Pe=Te=Ie=me=ge=0,pt=dt=!(ye=Ee=We=He=Fe=qe=Me=Ye=Ge=je=Le=Ee=ye=ve=-1),st.disableAutoUpdate(),null!=ze&&(c.clearTimeout(ze),ze=null),null!=ue&&ue.cancel(),null!=ce&&ce.stop(),null!=le&&(le.en(),le=new g(st)))},M:function(e){ae=e||new c.Storage},O:function(e){se=e||new m(st)},W:function(e){ce=e||new E(st)},V:function(e){fe=new y(st)},in:function(){var t=e("AppName");null!=t&&st.setAppName(t);var n=e("AppVersion");null!=n&&st.setAppVersion(n)},rn:function(){rt&&ae.has("vid")&&(Xe=ae.get("vid"))},un:function(){rt&&(ge++,ae.set(J,ge+""))},sn:function(){return!ut&&(ut=!0,me++,ae.set(Q,me+""),ve=+new Date,!0)},j:function(){rt&&(null!=ze&&(c.clearTimeout(ze),ze=null),ze=c.setTimeout(function(){null!=ze&&(c.clearTimeout(ze),ze=null),te()},3e5))},I:function(){return se},an:function(){return fe},t:function(){return ae},fn:function(){return le},S:function(){return ue},cn:function(){return ce},ln:function(){return de},onUxActive:function(){rt&&(oe()||(Ge<0&&(Ge=0),Te++,te()))},onUxInactive:function(){rt&&(oe()||0<Te&&(Te--,te()))},onEnterForeground:function(){rt&&(oe()||(Ie++,te()))},onExitForeground:function(){rt&&(oe()||0<Ie&&(Ie--,te()))},onUserInteraction:function(){rt&&(oe()||(Ge<0&&(Ge=0),je<0&&(je=0),Ye=+new Date,Ke++,ft!=r.F?te():st.j()))},pn:function(){return lt},vn:function(){return ft},dn:function(){return ge},hn:function(){return Ee},_n:function(){return ye},gn:function(){return ve},mn:function(){return me},wn:function(){return Se},yn:function(e){Se=e},bn:function(e){var t=Ce;return(e=typeof e===b||e)&&(Ce=0,ae.set(R,Ce+"")),t},In:function(e){var t=Pe;return(e=typeof e===b||e)&&(Pe=0,ae.set(M,Pe+"")),t},Sn:function(e){var t=Re;return(e=typeof e===b||e)&&(Re=0,ae.set(D,Re+"")),t},Pn:function(e){var t=Oe;return(e=typeof e===b||e)&&(Oe=0,ae.set(x,Oe+"")),t},An:function(e){var t=Ne;return(e=typeof e===b||e)&&(Ne=0,ae.set(L,Ne+"")),t},Cn:function(e){var t=we;return(e=typeof e===b||e)&&(we=0,ae.set(k,we+"")),t},kn:function(e){var t=De;return(e=typeof e===b||e)&&(De=0,ae.set(B,De+"")),t},En:function(e){var t=xe;return(e=typeof e===b||e)&&(xe=0,ae.set(U,xe+"")),t},Tn:function(e){var t=Ue;return(e=typeof e===b||e)&&(Ue=0,ae.set(V,Ue+"")),t},Nn:function(e){var t=ke;return(e=typeof e===b||e)&&(ke=0,ae.set(G,ke+"")),t},Ln:function(){return _e},Dn:function(e){var t=Ve;return(e=typeof e===b||e)&&(Ve=0,ae.set(K,Ve+"")),t},Rn:function(e){e=typeof e===b||e;var t=-1;return 0<=je&&(t=je,e&&(je=0,ae.set(j,je+""))),t},Mn:function(e){e=typeof e===b||e;var t=-1;return 0<=Ge&&(t=Ge,e&&(Ge=0,ae.set(F,Ge+""))),t},On:function(e){var t=Ke;return(e=typeof e===b||e)&&(Ke=0,ae.set(W,Ke+"")),t},setAppContext:function(){gt||(c.autoDetect(),st.M(),le=new g(st),ue=new v(st),st.O(),st.W(),st.V(),he=new _(st),de=new h,function(){Me=s.o(ae.get(C),-1),qe=s.o(ae.get(P),-1),Fe=s.o(ae.get(O),-1),He=s.o(ae.get(w),-1),We=s.o(ae.get(N),-1),Ce=s.U(ae.get(R)),Re=s.o(ae.get(D)),Ne=s.o(ae.get(L)),De=s.o(ae.get(B)),Pe=s.o(ae.get(M)),Oe=s.o(ae.get(x)),we=s.o(ae.get(k)),xe=s.o(ae.get(U)),Ue=s.o(ae.get(V)),ke=s.o(ae.get(G)),je=s.U(ae.get(j),-1),Ge=s.U(ae.get(F),-1),Ye=s.o(ae.get(H),-1),Ke=s.U(ae.get(W),0),Ve=s.U(ae.get(K),0),tt=ae.get(T)?parseInt(ae.get(T)):0,be=c.getAppVersion(),Be=s.o(ae.get(q),0),(Le=s.o(ae.get(Y),-1))<0?(Le=+new Date,Be=0,Fe=Le,Ve++):(t()||(xe+=+new Date-qe,ae.set(U,xe+"")),Fe=Le),(ye=s.o(ae.get($),-1))<0?(Ee=ye=Le,be&&be!=S&&ae.set(X,be+""),ae.set($,ye+""),ae.set(z,Ee+"")):st.setAppVersion(be),ae.set(Y,Le+""),ae.set(q,Be+""),st.B(Le);var e=+new Date;if(0<=Me){var n=e-Me;De+=n,ae.set(B,De+""),we+=n,ae.set(k,we+"")}qe=Me=e,ae.set(C,Me+""),ae.set(P,qe+""),ae.set(O,Fe+""),ae.has(J)||ae.set(J,"0"),ge=s.U(ae.get(J)),me=s.U(ae.get(Q))}(),st.in(),st.rn(),gt=!0)},setEnabled:function(e){rt&&null!=e&&!e&&(rt=!1,ce.stop(),fe.stop(),ue.pause())},getEnabled:function(){return rt},Wn:function(){return{}},Vn:function(){return Ae},nn:function(e){Ae=e},setPixelURL:function(e){if(rt){if(null==e||0===e.length)return null;dt=!0;var t=e.indexOf("?");if(0<=t){if(t<e.length-1){for(var n=e.substring(t+1).split("&"),i=0,r=n.length;i<r;i++){var s=n[i].split("=");2==s.length?st.setLabel(s[0],s[1]):1==s.length&&st.setLabel(o.PAGE_NAME_LABEL,s[0])}e=e.substring(0,t+1)}}else e+="?";return $e=e}},setKeepAliveEnabled:function(e){rt&&ue.xn(e)},getPixelURL:function(){return $e},getCrossPublisherId:function(){return Je},isCrossPublisherIdChanged:function(){return c.isCrossPublisherIdChanged()||ht},getVisitorId:function(){return null==Xe&&ne(),Xe},setVisitorId:ne,Un:function(){var e=(c.getCrossPublisherId()||"null").split(" "),t=e[0]&&"null"!=e[0]?e[0]:null,n="true"==e[1];if(null!=t){Je||(Qe=ae.get(Z),Je=ae.get(ee));var i=null;Je?"none"==t&&"none"==Je||!_t&&"none"==Je||"none"!=t&&(i=d(t))==Qe||(Je=n?"none"==t?(Qe=null,"none"):(Qe=i,p(t)):(ht=!0,_t&&"none"!=t?(Qe=d(t),p(t)):(Qe=null,"none")),ae.set(ee,Je),null==Qe?ae.remove(Z):ae.set(Z,Qe)):(Je="none"==t?(Qe=null,"none"):(Qe=d(t),p(t)),ae.set(ee,Je),null==Qe?ae.remove(Z):ae.set(Z,Qe)),_t=!1}else Je=Qe=null},m:function(e){return null==e||0===e.length||(Ze=e),st},g:function(){return null==Ze&&(Ze=""),Ze},setAppName:function(e){rt&&(et=e)},getAppName:function(){return null!=et&&0!==et.length||st.setAppName(c.getAppName()),et},setAppVersion:function(e){var t;ae&&(e&&e!=S?(ae.has(o.C)&&(Se=ae.get(o.C)+""),ae.has(X)&&(t=ae.get(X)+""),t&&t!==e?(Se=t,ae.set(o.C,Se+""),Ee=Le,ae.set(z,Ee+"")):Ee=s.o(ae.get(z),-1),ae.set(X,e+"")):Ee=s.o(ae.get(z),-1)),be=e},getAppVersion:function(){return be},getVersion:function(){return"6.2.3.180328"},getGenesis:function(){return Le},Bn:function(){return Be},B:function(e){ae.set(T,e.toString(10))},Fn:function(){return tt},getLabels:function(){return nt},setLabels:function(e){if(rt)for(var t in e)e.hasOwnProperty(t)&&st.setLabel(t,e[t])},getLabel:function(e){return nt[e]},setLabel:function(e,t){rt&&(!e||t?nt[e]=t:delete nt[e])},setAutoStartLabels:function(e){rt&&null!=e&&f.extend(it,e)},getAutoStartLabel:function(e){return it[e]},getAutoStartLabels:function(){return it},setAutoStartLabel:function(e,t){rt&&(it[e]=t)},getCustomerC2:function(){return nt.c2},setCustomerC2:function(e){if(rt&&null!=e&&0!==e.length){var t=de.isSecure()?I:A;st.setPixelURL(t),dt=!1,st.setLabel("c2",e)}},getLiveTransmissionMode:function(){return de.getLiveTransmissionMode()},allowLiveTransmission:function(e){rt&&de.getLiveTransmissionMode()!=e&&de.allowLiveTransmission(e)},getOfflineTransmissionMode:function(){return de.getOfflineTransmissionMode()},allowOfflineTransmission:function(e){rt&&de.getOfflineTransmissionMode()!=e&&de.allowOfflineTransmission(e)},setSecure:function(e){rt&&(this.getCustomerC2()||(pt=!0,de.isSecure()!=e&&de.setSecure(e)))},jn:function(e){if(!pt&&(de.setSecure(!!e),null!=le&&le.Gn(h.Kn,!!e),st.getCustomerC2()&&!dt)){var t=de.isSecure()?I:A;st.setPixelURL(t),dt=!1}},setAutoStartEnabled:function(e){rt&&(ct=e)},isAutoStartEnabled:function(){return ct},isSecure:function(){return de.isSecure()},setCacheMaxMeasurements:function(e){null!=se&&se.setCacheMaxMeasurements(e)},getCacheMaxMeasurements:function(){return null!=se?se.getCacheMaxMeasurements():m.qn},setCacheMaxBatchFiles:function(e){null!=se&&se.setCacheMaxBatchFiles(e)},getCacheMaxBatchFiles:function(){return null!=se?se.getCacheMaxBatchFiles():m.Hn},setCacheMaxFlushesInARow:function(e){null!=se&&se.Yn(e)},getCacheMaxFlushesInARow:function(){return null!=se?se.Jn():m.zn},setCacheMinutesToRetry:function(e){null!=se&&se.Qn(e)},getCacheMinutesToRetry:function(){return null!=se?se.Xn():m.Zn},setCacheMeasurementExpiry:function(e){null!=se&&se.setCacheMeasurementExpiry(e)},getCacheMeasurementExpiry:function(){return null!=se?se.getCacheMeasurementExpiry():m.$n},getCacheFlushingInterval:function(){return vt},setCacheFlushingInterval:function(e){rt&&vt!=e&&(vt=e,null!=ce&&ce.update())},getMeasurementLabelOrder:function(){return de.getMeasurementLabelOrder()},setMeasurementLabelOrder:function(e){rt&&e!=de.getMeasurementLabelOrder()&&de.setMeasurementLabelOrder(e)},flush:function(){se.flush(de,function(){})},update:function(e){rt&&(n(e=typeof e===b||e),a(e))},enableAutoUpdate:function(e,t){rt&&(e=e||60,re(),e<60&&(e=60),at=t,_e=1e3*e,lt==i.H?ie():lt!=i.Y||at||ie())},disableAutoUpdate:function(){rt&&(re(),at=!0,_e=-1)},isAutoUpdateEnabled:function(){return 0<_e},s:function(e,t){rt&&(oe()||(ut||e==u.l||he.send(u.l,{},dt?$e:null),e==u.h?(st.B(0),st.update(!0)):he.send(e,t,dt?$e:null)))},nt:function(e,t){he.send(u.HIDDEN,e,t)},setOfflineURL:function(e){rt&&se.tt(e)},getPlatformAPI:function(){return c},setPlatformAPI:function(e){c.setPlatformAPI(e)},et:function(){return he},clearInternalData:function(){ae&&ae.clear()},cacheHttpRedirects:function(e){ot=e},it:function(){return ot}}),de=new h,nt={},it={},ot=rt=!0,st.reset()}},{1:1,11:11,12:12,17:17,21:21,22:22,24:24,25:25,26:26,3:3,36:36,4:4,6:6,7:7,8:8,9:9}],6:[function(e,t,n){function i(){var e,t,n,i;r.extend(this,{reset:function(){e=o.DEFAULT,t=o.DEFAULT,n=s.isConnectionSecure(),i=a.k},rt:function(r){e=r.getLiveTransmissionMode(),t=r.getOfflineTransmissionMode(),i=r.getMeasurementLabelOrder(),n=r.isSecure()},ot:function(e,t){switch(e){case 0:this.allowLiveTransmission(t);break;case 1:this.allowOfflineTransmission(t);break;case 2:this.setSecure(t);break;case 3:this.setMeasurementLabelOrder(t)}},getLiveTransmissionMode:function(){return e},allowLiveTransmission:function(t){null!=t&&(e=t)},getOfflineTransmissionMode:function(){return t},allowOfflineTransmission:function(e){null!=e&&(t=e)},isSecure:function(){return n},setSecure:function(e){n=e},getMeasurementLabelOrder:function(){return i},setMeasurementLabelOrder:function(e){null!=e&&0<e.length&&(i=e)}}),this.reset()}var r=e(24),o=e(8).TransmissionMode,s=e(36),a=e(4);i.ut=0,i.st=1,i.Kn=2,i.at=3,t.exports=i},{24:24,36:36,4:4,8:8}],7:[function(e,t,n){var i=e(24),r=e(13),o="q_dcf",s="q_dcc";t.exports=function(e){function t(e){return e-l<1e3&&20<=c}function n(e){return e-d<864e5&&6e3<=f}function a(t){864e5<t-d&&(f=0,d=t),1e3<t-l&&(c=0,l=t),f++,c++;var n=e.t();n.set(s,f+""),n.set(o,d+"")}function u(){var i,o=+new Date;if(g)for(;_.length;){var s=_.shift();c=s,e.I().ft(c)}else{for(var c,f,h;_.length&&!t(h=o)&&!n(h);)a(o),s=_.shift(),f=s,new r(e,e.ln(),f).send();i=o,_.length&&(p||(t(i)?p=e.getPlatformAPI().setTimeout(function(){p=null,u()},l+1e3-i):n(i)&&(p=e.getPlatformAPI().setTimeout(function(){p=null,u()},d+864e5-i))))}}var c,l,f,d,p,h,_=[],g=!1;i.extend(this,{ct:function(t){e.getEnabled()&&(_.push(t),u())},en:function(){e.getPlatformAPI().clearTimeout(p),_.length=0},J:function(t){g=t,e.getPlatformAPI().clearTimeout(p),u()}}),d=(h=e.t()).has(s)&&h.has(o)?(f=parseInt(h.get(s)),parseInt(h.get(o))):(f=0,+new Date),c=0,l=+new Date}},{13:13,24:24}],8:[function(e,t,n){var i={DEFAULT:0,NEVER:1,WIFIONLY:2,PIGGYBACK:3,DISABLED:4,valueOf:function(e){return null==e||"DEFAULT"==e?i.DEFAULT:"NEVER"==e?i.NEVER:"WIFIONLY"==e?i.WIFIONLY:"PIGGYBACK"==e?i.PIGGYBACK:"DISABLED"==e?i.DISABLED:void 0}};n.TransmissionMode=i,n.N={R:0,K:1,G:2,F:3},n.T={R:0,Y:1,H:2},n.u={l:"start",v:"view",h:"close",_:"aggregate",HIDDEN:"hidden",KEEPALIVE:"keep-alive"}},{}],9:[function(e,t,n){var i=e(36),r=e(8).u,o=e(24);t.exports=function(e){function t(){u=+new Date+l,n()}function n(){e.et().send(r.KEEPALIVE)}var s=this,a=null,u=NaN,c=!0,l=864e5;o.extend(s,{xn:function(e){(c=e)?(s.X(),s.Z()):s.cancel()},isEnabled:function(){return c},Z:function(){c&&(s.cancel(),u=+new Date+l,a=i.setInterval(t,l))},X:function(){if(c){var e=+new Date;u&&u<=e&&n()}},pause:function(){s.cancel()},cancel:function(){a&&(i.clearInterval(a),a=null)}})}},{24:24,36:36,8:8}],10:[function(e,t,n){function i(e){var t,n={};s.extend(this,{pt:function(e){delete n[e]},vt:function(e){if(null!=e)for(var t in e)e.hasOwnProperty(t)&&this.setLabel(t,e[t])},setLabel:function(e,t){n[e]=t},getLabel:function(e){return n[e]},getLabels:function(){return n},dt:function(e){return n.hasOwnProperty(e)},ht:function(e){for(var t=[],i=s.extend({},n),r=0,o=e.length;r<o;r++){var a=e[r],u=i[a];null!=u&&""!==u&&(t.push("&",h(a),"=",h(u)),delete i[a])}for(var c in i)if(i.hasOwnProperty(c)){var l=i[c];null!=l&&""!==l&&t.push("&",h(c),"=",h(i[c]))}return 0<(t=t.join("")).length&&"&"==t.charAt(0)?t.substring(1):t},setPixelURL:function(e){t=e},getPixelURL:function(){return t}}),e&&this.setPixelURL(e.getPixelURL())}function r(e,t,n,r){if(i.call(this,e),e){null!=n&&this.setPixelURL(n),this.setLabel("c1","19"),this.setLabel("ns_ap_an",_(e.getAppName())),this.setLabel("ns_ap_pn",_(l.getPlatformName())),this.setLabel("ns_ap_pv",_(l.getRuntimeVersion())),this.setLabel("c12",e.getVisitorId()),e.Un();var o=e.getCrossPublisherId();o&&(this.setLabel("ns_ak",o),e.isCrossPublisherIdChanged()&&this.setLabel("ns_ap_ni","1")),this.setLabel("ns_ap_device",_(l.getDeviceModel())),this.setLabel("ns_ap_ar",_(l.getDeviceArchitecture())),this.setLabel("ns_radio",_(l.getConnectionType())),this.setLabel("ns_type",g(t)),this.setLabel("ns_nc","1"),this.setLabel("ns_ap_pfv",_(l.getPlatformVersion())),this.setLabel("ns_ap_pfm",_(l.getRuntimeName())),this.setLabel("ns_ap_ev",t),this.setLabel("ns_ap_ver",_(e.getAppVersion())),this.setLabel("ns_ap_sd",l.getDisplayResolution()),this.setLabel("ns_ap_res",l.getApplicationResolution()),this.setLabel("ns_ap_lang",l.getLanguage()),this.setLabel("ns_ap_sv",e.getVersion()),t==u.KEEPALIVE&&this.setLabel("ns_ap_oc",e.I()._t()+"");var s=e.gn(),a=e.mn();this.setLabel("ns_ap_id",s+""),this.setLabel("ns_ap_cs",a+""),this.setLabel("ns_ap_bi",l.getPackageName()),this.setLabel("ns_ap_jb",_(l.getDeviceJailBrokenFlag()))}}function o(e,t,n,i){r.call(this,e,t,n,i),this.setLabel("ns_ap_gs",e._n()+""),this.setLabel("ns_ap_install",e.hn()+""),this.setLabel("ns_ap_runs",e.dn()+""),i&&this.setLabel("ns_ap_csf","1"),this.setLabel("ns_ap_lastrun",e.Bn()+"");var o=e.Fn();0<o&&this.setLabel("ns_ap_miss",o.toString());var s=e.wn();s&&(this.setLabel("ns_ap_updated",s+""),e.t().remove(f.C),e.yn(null)),this.setLabel("ns_ap_jb",_(l.getDeviceJailBrokenFlag()))}var s=e(24),a=e(21),u=e(8).u,c=e(17),l=e(36),f=e(4),d="undefined",p=c.D,h=typeof encodeURIComponent!=d?encodeURIComponent:escape,_=function(e){return a.lt(e)?e:p},g=function(e){return e==u.l||e==u.h||e==u.v?u.v:u.HIDDEN};r.gt=function(e,t){var n=t.wt,i=t.yt,r=t.bt;if(i=typeof i===d||i,r=typeof r===d||r,e.update(r),r){var o=e.bn(),s=e.In(n),a=e.Sn(i),u=e.Pn(n),c=e.An(i),l=e.Cn(n),f=e.kn(i),p=e.En(i),h=e.Tn(i),_=e.Nn(i),g=e.Ln(),v=e.Dn(i),m=e.Rn(i),E=e.Mn(i),y=e.On(i);t.labels.ns_ap_fg=o+"",t.labels.ns_ap_ft=s+"",t.labels.ns_ap_dft=a+"",t.labels.ns_ap_bt=u+"",t.labels.ns_ap_dbt=c+"",t.labels.ns_ap_it=l+"",t.labels.ns_ap_dit=f+"",t.labels.ns_ap_ut=g+"",t.labels.ns_ap_as=v+"",t.labels.ns_ap_das=p+"",0<=m&&(t.labels.ns_ap_aus=m+"",t.labels.ns_ap_daus=h+"",t.labels.ns_ap_uc=y+""),0<=E&&(t.labels.ns_ap_us=E+"",t.labels.ns_ap_dus=_+""),t.labels.ns_ap_usage=t.It-e.getGenesis()+""}t.labels.ns_ts=t.It+""},r.prototype=new i,r.St=function(e,t,n,i){var r=e.et(),o=r.Pt(t,n,i);return r.At(o)},o.prototype=new r,t.exports.Ct=i,t.exports.kt=r,t.exports.Et=o},{17:17,21:21,24:24,36:36,4:4,8:8}],11:[function(e,t,n){var i=e(10).kt,r=e(10).Et,o=e(36),s=e(8).u,a=e(8).T,u=e(4),c=e(14).Tt;t.exports=function(e){var t=this,n=0,l=[],f=!1,d=0,p={};t.Nt=function(){n++;var e=!1;return function(i){e||(e=!0,n--,i&&t.Lt())}},t.Dt=function(){if(!f){var e=t.Nt();f=!0,o.onDataFetch(function(){e(!(f=!1))},function(){e(f=!1)})}},t.Lt=function(){if(!(0<n)){for(var e=0;e<l.length;++e){var i=l[e],r=t.At(i);t.Rt(i,r)}l.length=0}},t.Mt=function(e){l.push(e),t.Dt()},t.Rt=function(t,n){e.fn().ct(n),e.S().Z()},t.send=function(e,n,i){if(e!=s._){var r=t.Pt(e,n,i);t.Mt(r)}else t.Ot(n)},t.Pt=function(t,n,r){var o={It:+new Date,Wt:t,Vt:r,wt:!1,yt:void 0,bt:void 0,labels:{}};return d++,o.labels.ns_ap_ec=d+"",t==s.l?(e.un(),o.wt=e.sn()):(o.yt=!(null!=n&&n.hasOwnProperty("ns_st_ev")&&"hb"==n.ns_st_ev),o.bt=!(null!=n&&n.hasOwnProperty("ns_st_ev"))),o.xt=e.getLabels(),o.Ut=n,null!=e.Vn()?o.Bt=e.Vn():t==s.l?o.Bt="start":e.pn()==a.H?o.Bt="foreground":o.Bt="background",i.gt(e,o),o},t.At=function(t){var n=null,a=t.Wt,c=t.Vt,l=t.wt;return(n=a===s.l?new r(e,a,c,l):new i(e,a,c,l)).vt(t.labels),n.vt(t.xt),n.vt(t.Ut),n.dt(u.PAGE_NAME_LABEL)||n.setLabel(u.PAGE_NAME_LABEL,t.Bt),o.processMeasurementLabels(n),n.vt(p),p={},n},t.Ot=function(e){c(p,e)}}},{10:10,14:14,36:36,4:4,8:8}],12:[function(e,t,n){function i(e,t){function n(){D=0,null!=P&&(P=null)}function i(){for(var e,n=h(),i=!1,r=n.length;0<r;r--){var o=(e=n[r-1],Number(e.substring(t.length)));i?g(n[r-1],!0):i=E(o)}}function p(t){if(e.getEnabled()){var n=e.t();n.has(d)&&(t+=Number(n.get(d))),n.set(d,t+"")}}function h(){return null==C&&(C=f.Gt()),C}function _(i){var r=t+l.Kt(i,"ns_ts");f.qt(e,r,i),null==C&&(C=[]),C.push(r),n()}function g(t,n){if(null!=t){n&&(r=t,(o=e.t()).has(r)&&p(Number(o.get(r)))),f.deleteFile(e,t);var i=a.indexOf(t,C);0<=i&&C.splice(i,1)}var r,o}function v(){return null!=C&&0<C.length?C[C.length-1]:null}function m(t){var n=e.t(),i=0;return null!=t&&(i=n.has(t)?Number(n.get(t)):f.Ht(e,t).length),i}function E(e){var t=+new Date;return 24*T*60*60*1e3-(t-e)<=0}function y(t,i){var o=e.t();if(function(){if(e.getEnabled()&&r.isConnectionAvailable()&&!R.jt()&&null!=e.getCustomerC2()){if(!(A<=O))return!0;if(1e3*I*60-(+new Date-w)<=0)return!(w=O=0)}return!1}()){var a=null,c=null;if(null==P&&null!=(a=function(t){for(var n=0,i=f.Ht(e,t),r=!1;n<i.length&&!(r=!E(Number(l.Kt(i[n],"ns_ts"))));n++);return i=r?(p(n),i.slice(n,i.length)):(g(t,!0),null)}(c=v()))&&0<a.length){var h=o.has(d)?o.get(d):"0";P=l.Yt(a,h)}if(null!=P&&0<P.length)return void r.httpPost(function(t){var n,i=!0;-1==(n=s.tn(N)&&s.lt(N)?N:t.isSecure()?"https://web.archive.org/web/20190701112059/https://udm.scorecardresearch.com/offline":"https://web.archive.org/web/20190701112059/http://udm.scorecardresearch.com/offline").indexOf("?")&&(n+="?",i=!1);var r=e.getCustomerC2();s.lt(r)&&(i&&(n+="&"),n+="c2="+r,i=!0);var o="JetportGotAMaskOfThe"+e.g()+"S.D_K-";return o=u(o),s.lt(o)&&(i&&(n+="&"),n+="s="+o),n.toLowerCase()}(t),P,function(e){if(200==e)return O++,g(c,!1),n(),w=+new Date,o.remove(d),void r.setTimeout(function(){y(t,i)},0);i()})}i()}var b,S,A,I,T,C,P,O,w,N,R=this,D=0;t=t||"cs_cache_",o.extend(this,{flush:function(t,n){e.getEnabled()&&(i(),1e3*I*60-(+new Date-D)<=0?(D=0,y(t,n)):n())},setCacheMaxMeasurements:function(e){b=e},getCacheMaxMeasurements:function(){return b},setCacheMaxBatchFiles:function(e){e<=0||(S=e)},getCacheMaxBatchFiles:function(){return S},Yn:function(e){A=e},Jn:function(){return A},Qn:function(e){I=e},Xn:function(){return I},setCacheMeasurementExpiry:function(e){T=e},getCacheMeasurementExpiry:function(){return T},ft:function(t){if(e.getEnabled()){var i=e.ln();if("string"!=typeof t&&(t=t.ht(i.getMeasurementLabelOrder())),i.getOfflineTransmissionMode()!=c.DISABLED&&null!=e.getCustomerC2()&&s.lt(l.Kt(t,"ns_ts"))){var r=v();null!=r?m(r)<this.getCacheMaxBatchFiles()?(t="\n"+t,f.qt(e,r,t),n()):(h().length>=this.getCacheMaxMeasurements()/this.getCacheMaxBatchFiles()&&g(null!=C&&0<C.length?C[0]:null,!0),_(t)):_(t)}}},_t:function(){var e=m(v());return 0<h().length&&(e+=(h().length-1)*this.getCacheMaxBatchFiles()),e},jt:function(){return 0==this._t()},clear:function(){for(var t=h(),n=t.length;0<n;n--)g(t[n-1],!0);e.t().remove(d)},tt:function(e){N=e}}),this.setCacheMaxMeasurements(2e3),this.setCacheMaxBatchFiles(100),this.Yn(10),this.Qn(30),this.setCacheMeasurementExpiry(31),i()}var r=e(36),o=e(24),s=e(21),a=e(19),u=e(22),c=e(8).TransmissionMode,l=e(15),f=e(14).Ft,d="CACHE_DROPPED_MEASUREMENTS";i.qn=2e3,i.Hn=100,i.zn=10,i.Zn=30,i.$n=31,n.L=i},{14:14,15:15,19:19,21:21,22:22,24:24,36:36,8:8}],13:[function(e,t,n){var i=e(24),r=e(20),o=e(36),s=e(4),a=e(8).TransmissionMode;t.exports=function(e,t,n,u){function c(t){200!=t&&(302!=t&&301!=t||e.it())&&e.I().ft(p.ht(d.getMeasurementLabelOrder()),d),u&&u()}function l(){var e=f.process(p.getPixelURL());o.httpGet(e,c)}var f=this,d=t,p=n;i.extend(f,{process:function(e){e+=p.ht(d.getMeasurementLabelOrder());var t=r.Jt()?s.A:s.P;if(e.length>t&&0<e.indexOf("&")){var n=e.substring(0,t-8).lastIndexOf("&"),i=encodeURIComponent(e.substring(n+1));e=e.substring(0,n)+"&ns_cut="+i}return e.length>t&&(e=e.substring(0,t)),e},send:function(){var t=d.getLiveTransmissionMode();return t==a.NEVER||t==a.DISABLED?(e.I().ft(p.ht(d.getMeasurementLabelOrder()),d),u&&u()):d.getOfflineTransmissionMode()!=a.NEVER&&0<e.I()._t()?e.I().flush(d,l):l(),!0}})}},{20:20,24:24,36:36,4:4,8:8}],14:[function(e,t,n){function i(e){return!((e+="").indexOf(",")<0)&&e.indexOf(" ")<0}function r(e){return!isNaN(parseInt(e))&&isFinite(e)}function o(e,t){for(var n=t,i=e.split(","),r=0,o=i.length;r<o;r++){var s=i[r];if(0<s.length)if(n.indexOf(s)<0)0==n.length?n+=s+":1":n+=";"+s+":1";else for(var a=n.split(";"),u=0,c=a.length;u<c;u++)if(0<=a[u].indexOf(s)){var l=a[u].split(":"),f=Number(l[1]);f++;var d=l[0]+":"+f,p=n.indexOf(a[u]);n=n.substring(0,p)+d+n.substring(p+a[u].length)}}return n}var s=e(36),a="cache_dir",u={Gt:function(){return s.IO.dir(a)||[]},qt:function(e,t,n){var i=e.t(),r=Number(i.get(t))||0;s.IO.append(a,t,n),r++,i.set(t,r+"")},deleteFile:function(e,t){s.IO.deleteFile(a,t),e.t().remove(t)},Ht:function(e,t){var n=s.IO.read(a,t);return n?n.split("\n"):[]}};n.Tt=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var s=e[n],a=t[n];null==s?i(a)?e[n]=o(a,""):e[n]=a:r(s)&&r(a)?e[n]=parseInt(s)+parseInt(a)+"":i(a)?e[n]=o(a,s):(u=a,0<=s.indexOf(u)||(e[n]=s+","+a))}var u},n.Ft=u},{36:36}],15:[function(e,t,n){function i(e,t){u=c=-1;var n=0;do{if(0<=(n=e.indexOf(t,n))){var i=n+t.length;if((0==n||"&"==e.charAt(n-1))&&i<e.length&&"="==e.charAt(i))return u=i+1,void(-1==(c=e.indexOf("&",u))&&(c=e.length));n=i+1}}while(0<=n&&n<e.length)}function r(e,t){var n=0;if(i(e,"ns_ts"),-1!=u&&u<c){t.push('<event t="',e.substring(u,c),'">');for(var r,o,l=0,p=0;l<e.length;){if(-1==(r=e.indexOf("&",l))&&(r=e.length),l<r&&l<(o=e.indexOf("=",l))){var h=!0;if(n!=d)for(var _=0,g=f.length;_<g;_++){var v=1<<_;if(0==(n&v)&&f[_].length==o-l&&s.zt(f[_],0,e,l,f[_].length)){h=!1,n|=v;break}}h&&(0<p&&(a.push("&"),t.push("&")),a.push(e.substring(l,r)),t.push(e.substring(l,r)),p++)}l=r+1}t.push("</event>")}}var o=e(22),s=e(21),a=[],u=-1,c=-1,l=["c12","c1","ns_ap_an","ns_ap_pn","ns_ap_pv","ns_ap_device","ns_ak"],f=["c12","c1","ns_ap_an","ns_ap_pn","ns_ap_pv","ns_ap_device","ns_ts","ns_ak"],d=(1<<f.length)-1,p=-1,h={Yt:function(e,t){var n,f,d=['<?xml version="1.0" encoding="UTF-8" ?>'];return function(e,t,n){var r,o,s,a=+new Date+"";e.push('<events t="',a,'" ');for(var f=0,d=l.length;f<d;f++)r=e,i(o=t,s=l[f]),-1!=u&&u<c&&r.push(s,'="',o.substring(u,c),'" ');e.push('dropped="',n,'" md5="','">'),p=e.length-1}(d,e[0],t),function(e,t){a=[];for(var n=0,i=e.length;n<i;n++)s.lt(e[n])&&r(e[n],t)}(e,d),n=d,f=o(a.join("")).toLowerCase(),n.splice(p,0,f),d.push("</events>"),d.join("")},Kt:function(e,t){return i(e,t),-1!=u&&u<c?e.substring(u,c):null}};t.exports=h},{21:21,22:22}],16:[function(e,n,i){(function(t){var i=e(24),r=n.exports=t.ns_||{};"undefined"!=typeof window&&(window.ns_=r),r.comScore=e(2),r.loadModule=r.loadModule||function(e){for(var t in e)"ns_"!==t&&i.extend(r,e);return e.ns_=r},r.PlatformAPIs=e(32),e(39),r.StreamingAnalytics=e(67),r.ReducedRequirementsStreamingAnalytics=e(64)}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2,24:24,32:32,39:39,64:64,67:67}],17:[function(e,t,n){t.exports={D:"unknown",Qt:"0x0",Xt:"-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD0+fCVxGq3Bk24jUKO1PzsiUs3\nvqww6zR4n2e3AweVLUAgsrDRbAWJ/EjZm1WBLBVNMiTLpSAkV6sjOIrUs03xdUEj\nQZJHwOGK+MfzFaZukoo0qAsEMPwQ5posv0JdkBdUGhKchPk6+NYmD6Hb44Lkp7/a\nQnVeWzvfAPQyTJR5wQIDAQAB\n-----END PUBLIC KEY-----"}},{}],18:[function(e,t,n){var i="undefined",r="function";t.exports=function(e,t){function n(t){t=t||[];var n=["comScore",+new Date];return e&&n.push(e),t=Array.prototype.slice.call(t),n=n.concat(t)}function o(e){var n,i,r;if("boolean"==typeof t||!t)return!!t;if(r=e.join(" "),t instanceof Array&&0<t.length){for(n=0;n<t.length;++n)if((i=t[n])instanceof RegExp&&i.test(r))return!0;return!1}if("object"!=typeof t)return!0;var o=!1;if(t.hide instanceof Array)for(n=0;n<t.hide.length;++n)if((i=t.hide[n])instanceof RegExp&&i.test(r)){o=!0;break}if(t.show instanceof Array)for(n=0;n<t.show.length;++n)if((i=t.show[n])instanceof RegExp&&i.test(r))return!0;return!o&&!t.show}function s(e){var n=u.length;if(1e4<n||"object"==typeof t&&t.max&&n>t.max){var i="object"==typeof t&&t.max||1e4;u.splice(0,u.length-i+1)}u.push(e)}var a=this,u=[];a.log=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.log==r&&o(e)&&console.log.apply(console,e)},a.warn=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.warn==r&&o(e)&&console.warn.apply(console,e)},a.error=function(){var e=n(arguments);s(e),typeof console!=i&&typeof console.error==r&&o(e)&&console.error.apply(console,e)},a.Zt=function(e){for(var t=["API call to:",e],n=1;n<arguments.length;++n)t.push("arg"+n+":",arguments[n]);this.log.apply(this,t)},a.$t=function(){var e=["Trace log:"];e.push.apply(e,Array.prototype.slice.call(arguments)),this.log.apply(this,e)},a.ne=function(e,t){var n=["Deprecated API:",e,"is deprecated and will be eventually removed."];t&&n.push("Use",t,"instead."),this.warn.apply(this,n)},a.te=function(){return u}}},{}],19:[function(e,t,n){var i={},r="undefined";i.indexOf=function(e,t){var n=-1;return i.forEach(t,function(t,i){t==e&&(n=i)}),n},i.forEach=function(e,t,n){try{if("function"==typeof t)if(n=typeof n!=r?n:null,"number"!=typeof e.length||typeof e[0]==r){var i=typeof e.__proto__!=r;for(var o in e)e.hasOwnProperty(o)&&(!i||i&&typeof e.__proto__[o]==r)&&"function"!=typeof e[o]&&t.call(n,e[o],o)}else for(var s=0,a=e.length;s<a;s++)t.call(n,e[s],s)}catch(e){}},n.indexOf=i.indexOf,n.forEach=i.forEach},{}],20:[function(e,t,n){var i={},r="undefined",o=typeof document!=r&&document||void 0;i.ee=function(){if(!o)return!1;var e=!1;return typeof o.hidden!==r?e=!0:typeof o.mozHidden!==r?e=!0:typeof o.msHidden!==r?e=!0:typeof o.webkitHidden!==r&&(e=!0),function(){return e}}(),i.ie=function(){if(!o)return null;var e,t,n;typeof o.hidden!==r?(e="hidden",t="visibilitychange",n="visibilityState"):typeof o.mozHidden!==r?(e="mozHidden",t="mozvisibilitychange",n="mozVisibilityState"):typeof o.msHidden!==r?(e="msHidden",t="msvisibilitychange",n="msVisibilityState"):typeof o.webkitHidden!==r&&(e="webkitHidden",t="webkitvisibilitychange",n="webkitVisibilityState");var i={hidden:e,re:t,state:n};return function(){return i}}(),i.oe=function(){if(!o)return null;var e=i.ie();return function(){return o[e.hidden]}}(),i.ue=function(){if(!navigator)return"";var e,t,n=navigator.userAgent||"",i=navigator.appName||"";return-1!=(t=n.indexOf("Opera"))||-1!=(t=n.indexOf("OPR/"))?i="Opera":-1!=(t=n.indexOf("Android"))?i="Android":-1!=(t=n.indexOf("Chrome"))?i="Chrome":-1!=(t=n.indexOf("Safari"))?i="Safari":-1!=(t=n.indexOf("Firefox"))?i="Firefox":-1!=(t=n.indexOf("IEMobile"))?i="Internet Explorer Mobile":"Microsoft Internet Explorer"==i||"Netscape"==i?i="Internet Explorer":(e=n.lastIndexOf(" ")+1)<(t=n.lastIndexOf("/"))?(i=n.substring(e,t)).toLowerCase()==i.toUpperCase()&&(i=navigator.appName):i="unknown",i},i.se=function(){if(!navigator)return"";var e,t,n,i=navigator.userAgent||"",r=navigator.appName||"",o=navigator.appVersion?""+parseFloat(navigator.appVersion):"";return-1!=(t=i.indexOf("Opera"))?(o=i.substring(t+6),-1!=(t=i.indexOf("Version"))&&(o=i.substring(t+8))):-1!=(t=i.indexOf("OPR/"))?o=i.substring(t+4):-1!=(t=i.indexOf("Android"))?o=i.substring(t+11):-1!=(t=i.indexOf("Chrome"))?o=i.substring(t+7):-1!=(t=i.indexOf("Safari"))?(o=i.substring(t+7),-1!=(t=i.indexOf("Version"))&&(o=i.substring(t+8))):-1!=(t=i.indexOf("Firefox"))?o=i.substring(t+8):"Microsoft Internet Explorer"==r?null!=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1)):"Netscape"==r?null!=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})").exec(i)&&(o=parseFloat(RegExp.$1)):o=i.lastIndexOf(" ")+1<(t=i.lastIndexOf("/"))?i.substring(t+1):"unknown",-1!=(n=(o=o.toString()).indexOf(";"))&&(o=o.substring(0,n)),-1!=(n=o.indexOf(" "))&&(o=o.substring(0,n)),-1!=(n=o.indexOf(")"))&&(o=o.substring(0,n)),e=parseInt(""+o,10),isNaN(e)&&(o=""+parseFloat(navigator.appVersion)),o},i.Jt=function(){return typeof window!=r&&window.ae,!0},i.fe=function(){return typeof window!=r&&o},i.ce=function(){return!!o&&"s"===o.location.href.charAt(4)},t.exports.ee=i.ee,t.exports.ie=i.ie,t.exports.oe=i.oe,t.exports.ue=i.ue,t.exports.se=i.se,t.exports.Jt=i.Jt,t.exports.fe=i.fe,t.exports.ce=i.ce},{}],21:[function(e,t,n){var i,r=r||{},o="undefined";r.le=(i=1,function(){return+new Date+"_"+i++}),r.jt=function(e){return null==e||""===e||e instanceof Array&&0===e.length},r.lt=function(e){return!this.jt(e)},r.pe=function(e,t){return t=this.tn(t)?t:"",this.tn(e)?e:t},r.ve=function(e){return typeof e!=o&&("string"==typeof e?"true"===(e=e.toLowerCase())||"1"===e||"on"===e:!!e)},r.zt=function(e,t,n,i,r){if(t<0||i<0||t+r>e.length||i+r>n.length)return!1;for(;0<=--r;)if(e.charAt(t++)!=n.charAt(i++))return!1;return!0},r.tn=function(e){return typeof e!=o&&null!=e},t.exports.tn=r.tn,t.exports.zt=r.zt,t.exports.ve=r.ve,t.exports.pe=r.pe,t.exports.lt=r.lt,t.exports.jt=r.jt,t.exports.le=r.le},{}],22:[function(e,t,n){var i={};i.de=function(){function e(e,t){var s=e[0],a=e[1],u=e[2],l=e[3];a=o(a=o(a=o(a=o(a=r(a=r(a=r(a=r(a=i(a=i(a=i(a=i(a=n(a=n(a=n(a=n(a,u=n(u,l=n(l,s=n(s,a,u,l,t[0],7,-680876936),a,u,t[1],12,-389564586),s,a,t[2],17,606105819),l,s,t[3],22,-1044525330),u=n(u,l=n(l,s=n(s,a,u,l,t[4],7,-176418897),a,u,t[5],12,1200080426),s,a,t[6],17,-1473231341),l,s,t[7],22,-45705983),u=n(u,l=n(l,s=n(s,a,u,l,t[8],7,1770035416),a,u,t[9],12,-1958414417),s,a,t[10],17,-42063),l,s,t[11],22,-1990404162),u=n(u,l=n(l,s=n(s,a,u,l,t[12],7,1804603682),a,u,t[13],12,-40341101),s,a,t[14],17,-1502002290),l,s,t[15],22,1236535329),u=i(u,l=i(l,s=i(s,a,u,l,t[1],5,-165796510),a,u,t[6],9,-1069501632),s,a,t[11],14,643717713),l,s,t[0],20,-373897302),u=i(u,l=i(l,s=i(s,a,u,l,t[5],5,-701558691),a,u,t[10],9,38016083),s,a,t[15],14,-660478335),l,s,t[4],20,-405537848),u=i(u,l=i(l,s=i(s,a,u,l,t[9],5,568446438),a,u,t[14],9,-1019803690),s,a,t[3],14,-187363961),l,s,t[8],20,1163531501),u=i(u,l=i(l,s=i(s,a,u,l,t[13],5,-1444681467),a,u,t[2],9,-51403784),s,a,t[7],14,1735328473),l,s,t[12],20,-1926607734),u=r(u,l=r(l,s=r(s,a,u,l,t[5],4,-378558),a,u,t[8],11,-2022574463),s,a,t[11],16,1839030562),l,s,t[14],23,-35309556),u=r(u,l=r(l,s=r(s,a,u,l,t[1],4,-1530992060),a,u,t[4],11,1272893353),s,a,t[7],16,-155497632),l,s,t[10],23,-1094730640),u=r(u,l=r(l,s=r(s,a,u,l,t[13],4,681279174),a,u,t[0],11,-358537222),s,a,t[3],16,-722521979),l,s,t[6],23,76029189),u=r(u,l=r(l,s=r(s,a,u,l,t[9],4,-640364487),a,u,t[12],11,-421815835),s,a,t[15],16,530742520),l,s,t[2],23,-995338651),u=o(u,l=o(l,s=o(s,a,u,l,t[0],6,-198630844),a,u,t[7],10,1126891415),s,a,t[14],15,-1416354905),l,s,t[5],21,-57434055),u=o(u,l=o(l,s=o(s,a,u,l,t[12],6,1700485571),a,u,t[3],10,-1894986606),s,a,t[10],15,-1051523),l,s,t[1],21,-2054922799),u=o(u,l=o(l,s=o(s,a,u,l,t[8],6,1873313359),a,u,t[15],10,-30611744),s,a,t[6],15,-1560198380),l,s,t[13],21,1309151649),u=o(u,l=o(l,s=o(s,a,u,l,t[4],6,-145523070),a,u,t[11],10,-1120210379),s,a,t[2],15,718787259),l,s,t[9],21,-343485551),e[0]=c(s,e[0]),e[1]=c(a,e[1]),e[2]=c(u,e[2]),e[3]=c(l,e[3])}function t(e,t,n,i,r,o){return t=c(c(t,e),c(i,o)),c(t<<r|t>>>32-r,n)}function n(e,n,i,r,o,s,a){return t(n&i|~n&r,e,n,o,s,a)}function i(e,n,i,r,o,s,a){return t(n&r|i&~r,e,n,o,s,a)}function r(e,n,i,r,o,s,a){return t(n^i^r,e,n,o,s,a)}function o(e,n,i,r,o,s,a){return t(i^(n|~r),e,n,o,s,a)}function s(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function a(e){for(var t="",n=0;n<4;n++)t+=l[e>>8*n+4&15]+l[e>>8*n&15];return t}function u(t){return function(e){for(var t=0;t<e.length;t++)e[t]=a(e[t]);return e.join("")}(function(t){var n,i=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)e(r,s(t.substring(n-64,n)));t=t.substring(n-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)o[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(o[n>>2]|=128<<(n%4<<3),55<n)for(e(r,o),n=0;n<16;n++)o[n]=0;return o[14]=8*i,e(r,o),r}(t))}function c(e,t){return e+t&4294967295}function c(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}var l="0123456789abcdef".split("");return u("hello"),u}(),t.exports=i.de},{}],23:[function(e,t,n){var i=function(e){if("object"!=typeof e)return e;var t;if(e instanceof Array){t=[];for(var n=0,r=e.length;n<r;n++)t[n]=i(e[n]);return t}for(var o in t={},e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t};t.exports=i},{}],24:[function(e,t,n){var i=i||{};i.filter=function(e,t){var n={};for(var i in t)t.hasOwnProperty(i)&&e(t[i])&&(n[i]=t[i]);return n},i.extend=function(e){var t,n=arguments.length;e=e||{};for(var i=1;i<n;i++)if(t=arguments[i])for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},t.exports.filter=i.filter,t.exports.extend=i.extend},{}],25:[function(e,t,n){var i=e(17),r={};r.encrypt=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.he(e,t,n):null==t&&"string"!=typeof e?this._e(e,256):this._e(e,t))}function t(){return new e(null)}function n(e){return O.charAt(e)}function r(e,t){var n=w[e.charCodeAt(t)];return null==n?-1:n}function o(e){var n=t();return n.Pe(e),n}function s(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}function a(e){this.Ae=e}function u(e){this.Ae=e,this.Ce=e.ke(),this.Ee=32767&this.Ce,this.Te=this.Ce>>15,this.Ne=(1<<e.me-15)-1,this.Le=2*e.De}function c(e,t){return e&t}function l(e,t){return e|t}function f(e,t){return e^t}function d(e,t){return e&~t}function p(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function h(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function _(){}function g(e){return e}function v(n){this.r2=t(),this.Re=t(),e.ONE.Me(2*n.De,this.r2),this.Oe=this.r2.We(n),this.Ae=n}function m(){this.ai=0,this.fi=0,this.ci=[]}function E(){var e;e=(new Date).getTime(),L[B++]^=255&e,L[B++]^=e>>8&255,L[B++]^=e>>16&255,L[B++]^=e>>24&255,M<=B&&(B-=M)}function y(){if(null==D){for(E(),(D=new m).init(L),B=0;B<L.length;++B)L[B]=0;B=0}return D.next()}function b(){}function S(t,n){return new e(t,n)}function A(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function I(e){var t,n,i="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),i+=k.charAt(n>>6)+k.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),i+=k.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),i+=k.charAt(n>>2)+k.charAt((3&n)<<4));0<(3&i.length);)i+="=";return i}var T=function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t));if(-1===n)throw new Error;return n};e.prototype.ge=function(e,t,n,i,r,o){for(var s=16383&t,a=t>>14;0<=--o;){var u=16383&this[e],c=this[e++]>>14,l=a*u+c*s;r=((u=s*u+((16383&l)<<14)+n[i]+r)>>28)+(l>>14)+a*c,n[i++]=268435455&u}return r},e.prototype.me=28,e.prototype.we=268435455,e.prototype.ye=1<<28,e.prototype.be=Math.pow(2,52),e.prototype.Ie=24,e.prototype.Se=4;var C,P,O="0123456789abcdefghijklmnopqrstuvwxyz",w=[];for(C="0".charCodeAt(0),P=0;P<=9;++P)w[C++]=P;for(C="a".charCodeAt(0),P=10;P<36;++P)w[C++]=P;for(C="A".charCodeAt(0),P=10;P<36;++P)w[C++]=P;a.prototype.Ve=function(e){return e.xe<0||0<=e.Ue(this.Ae)?e.Be(this.Ae):e},a.prototype.Fe=function(e){return e},a.prototype.reduce=function(e){e.je(this.Ae,null,e)},a.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},a.prototype.qe=function(e,t){e.He(t),this.reduce(t)},u.prototype.Ve=function(n){var i=t();return n.abs().Me(this.Ae.De,i),i.je(this.Ae,null,i),n.xe<0&&0<i.Ue(e.ZERO)&&this.Ae.Ye(i,i),i},u.prototype.Fe=function(e){var n=t();return e.Je(n),this.reduce(n),n},u.prototype.reduce=function(e){for(;e.De<=this.Le;)e[e.De++]=0;for(var t=0;t<this.Ae.De;++t){var n=32767&e[t],i=n*this.Ee+((n*this.Te+(e[t]>>15)*this.Ee&this.Ne)<<15)&e.we;for(e[n=t+this.Ae.De]+=this.Ae.ge(0,i,e,t,0,this.Ae.De);e[n]>=e.ye;)e[n]-=e.ye,e[++n]++}e.ze(),e.Qe(this.Ae.De,e),0<=e.Ue(this.Ae)&&e.Ye(this.Ae,e)},u.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},u.prototype.qe=function(e,t){e.He(t),this.reduce(t)},e.prototype.Je=function(e){for(var t=this.De-1;0<=t;--t)e[t]=this[t];e.De=this.De,e.xe=this.xe},e.prototype.Pe=function(e){this.De=1,this.xe=e<0?-1:0,0<e?this[0]=e:e<-1?this[0]=e+DV:this.De=0},e.prototype._e=function(t,n){var i;if(16==n)i=4;else if(8==n)i=3;else if(256==n)i=8;else if(2==n)i=1;else if(32==n)i=5;else{if(4!=n)return void this.Xe(t,n);i=2}this.De=0,this.xe=0;for(var o=t.length,s=!1,a=0;0<=--o;){var u=8==i?255&t[o]:r(t,o);u<0?"-"==t.charAt(o)&&(s=!0):(s=!1,0==a?this[this.De++]=u:a+i>this.me?(this[this.De-1]|=(u&(1<<this.me-a)-1)<<a,this[this.De++]=u>>this.me-a):this[this.De-1]|=u<<a,(a+=i)>=this.me&&(a-=this.me))}8==i&&0!=(128&t[0])&&(this.xe=-1,0<a&&(this[this.De-1]|=(1<<this.me-a)-1<<a)),this.ze(),s&&e.ZERO.Ye(this,this)},e.prototype.ze=function(){for(var e=this.xe&this.we;0<this.De&&this[this.De-1]==e;)--this.De},e.prototype.Me=function(e,t){var n;for(n=this.De-1;0<=n;--n)t[n+e]=this[n];for(n=e-1;0<=n;--n)t[n]=0;t.De=this.De+e,t.xe=this.xe},e.prototype.Qe=function(e,t){for(var n=e;n<this.De;++n)t[n-e]=this[n];t.De=Math.max(this.De-e,0),t.xe=this.xe},e.prototype.Ze=function(e,t){var n,i=e%this.me,r=this.me-i,o=(1<<r)-1,s=Math.floor(e/this.me),a=this.xe<<i&this.we;for(n=this.De-1;0<=n;--n)t[n+s+1]=this[n]>>r|a,a=(this[n]&o)<<i;for(n=s-1;0<=n;--n)t[n]=0;t[s]=a,t.De=this.De+s+1,t.xe=this.xe,t.ze()},e.prototype.$e=function(e,t){t.xe=this.xe;var n=Math.floor(e/this.me);if(n>=this.De)t.De=0;else{var i=e%this.me,r=this.me-i,o=(1<<i)-1;t[0]=this[n]>>i;for(var s=n+1;s<this.De;++s)t[s-n-1]|=(this[s]&o)<<r,t[s-n]=this[s]>>i;0<i&&(t[this.De-n-1]|=(this.xe&o)<<r),t.De=this.De-n,t.ze()}},e.prototype.Ye=function(e,t){for(var n=0,i=0,r=Math.min(e.De,this.De);n<r;)i+=this[n]-e[n],t[n++]=i&this.we,i>>=this.me;if(e.De<this.De){for(i-=e.xe;n<this.De;)i+=this[n],t[n++]=i&this.we,i>>=this.me;i+=this.xe}else{for(i+=this.xe;n<e.De;)i-=e[n],t[n++]=i&this.we,i>>=this.me;i-=e.xe}t.xe=i<0?-1:0,i<-1?t[n++]=this.ye+i:0<i&&(t[n++]=i),t.De=n,t.ze()},e.prototype.Ke=function(t,n){var i=this.abs(),r=t.abs(),o=i.De;for(n.De=o+r.De;0<=--o;)n[o]=0;for(o=0;o<r.De;++o)n[o+i.De]=i.ge(0,r[o],n,o,0,i.De);n.xe=0,n.ze(),this.xe!=t.xe&&e.ZERO.Ye(n,n)},e.prototype.He=function(e){for(var t=this.abs(),n=e.De=2*t.De;0<=--n;)e[n]=0;for(n=0;n<t.De-1;++n){var i=t.ge(n,t[n],e,2*n,0,1);(e[n+t.De]+=t.ge(n+1,2*t[n],e,2*n+1,i,t.De-n-1))>=t.ye&&(e[n+t.De]-=t.ye,e[n+t.De+1]=1)}0<e.De&&(e[e.De-1]+=t.ge(n,t[n],e,2*n,0,1)),e.xe=0,e.ze()},e.prototype.je=function(n,i,r){var o=n.abs();if(!(o.De<=0)){var a=this.abs();if(a.De<o.De)return null!=i&&i.Pe(0),void(null!=r&&this.Je(r));null==r&&(r=t());var u=t(),c=this.xe,l=n.xe,f=this.me-s(o[o.De-1]);0<f?(o.Ze(f,u),a.Ze(f,r)):(o.Je(u),a.Je(r));var d=u.De,p=u[d-1];if(0!=p){var h=p*(1<<this.Ie)+(1<d?u[d-2]>>this.Se:0),_=this.be/h,g=(1<<this.Ie)/h,v=1<<this.Se,m=r.De,E=m-d,y=null==i?t():i;for(u.Me(E,y),0<=r.Ue(y)&&(r[r.De++]=1,r.Ye(y,r)),e.ONE.Me(d,y),y.Ye(u,u);u.De<d;)u[u.De++]=0;for(;0<=--E;){var b=r[--m]==p?this.we:Math.floor(r[m]*_+(r[m-1]+v)*g);if((r[m]+=u.ge(0,b,r,E,0,d))<b)for(u.Me(E,y),r.Ye(y,r);r[m]<--b;)r.Ye(y,r)}null!=i&&(r.Qe(d,i),c!=l&&e.ZERO.Ye(i,i)),r.De=d,r.ze(),0<f&&r.$e(f,r),c<0&&e.ZERO.Ye(r,r)}}},e.prototype.ke=function(){if(this.De<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return 0<(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.ye)%this.ye)?this.ye-t:-t},e.prototype.ni=function(){return 0==(0<this.De?1&this[0]:this.xe)},e.prototype.exp=function(n,i){if(4294967295<n||n<1)return e.ONE;var r=t(),o=t(),a=i.Ve(this),u=s(n)-1;for(a.Je(r);0<=--u;)if(i.qe(r,o),0<(n&1<<u))i.Ge(o,a,r);else{var c=r;r=o,o=c}return i.Fe(r)},e.prototype.toString=function(e){if(this.xe<0)return"-"+this.ti().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.ei(e);t=2}var i,r=(1<<t)-1,o=!1,s="",a=this.De,u=this.me-a*this.me%t;if(0<a--)for(u<this.me&&0<(i=this[a]>>u)&&(o=!0,s=n(i));0<=a;)u<t?(i=(this[a]&(1<<u)-1)<<t-u,i|=this[--a]>>(u+=this.me-t)):(i=this[a]>>(u-=t)&r,u<=0&&(u+=this.me,--a)),0<i&&(o=!0),o&&(s+=n(i));return o?s:"0"},e.prototype.ti=function(){var n=t();return e.ZERO.Ye(this,n),n},e.prototype.abs=function(){return this.xe<0?this.ti():this},e.prototype.Ue=function(e){var t=this.xe-e.xe;if(0!=t)return t;var n=this.De;if(0!=(t=n-e.De))return this.xe<0?-t:t;for(;0<=--n;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.ii=function(){return this.De<=0?0:this.me*(this.De-1)+s(this[this.De-1]^this.xe&this.we)},e.prototype.Be=function(n){var i=t();return this.abs().je(n,null,i),this.xe<0&&0<i.Ue(e.ZERO)&&n.Ye(i,i),i},e.prototype.ri=function(e,t){var n;return n=e<256||t.ni()?new a(t):new u(t),this.exp(e,n)},e.ZERO=o(0),e.ONE=o(1),_.prototype.Ve=g,_.prototype.Fe=g,_.prototype.Ge=function(e,t,n){e.Ke(t,n)},_.prototype.qe=function(e,t){e.He(t)},v.prototype.Ve=function(e){if(e.xe<0||e.De>2*this.Ae.De)return e.Be(this.Ae);if(e.Ue(this.Ae)<0)return e;var n=t();return e.Je(n),this.reduce(n),n},v.prototype.Fe=function(e){return e},v.prototype.reduce=function(e){for(e.Qe(this.Ae.De-1,this.r2),e.De>this.Ae.De+1&&(e.De=this.Ae.De+1,e.ze()),this.Oe.oi(this.r2,this.Ae.De+1,this.Re),this.Ae.ui(this.Re,this.Ae.De+1,this.r2);e.Ue(this.r2)<0;)e.si(1,this.Ae.De+1);for(e.Ye(this.r2,e);0<=e.Ue(this.Ae);)e.Ye(this.Ae,e)},v.prototype.Ge=function(e,t,n){e.Ke(t,n),this.reduce(n)},v.prototype.qe=function(e,t){e.He(t),this.reduce(t)};var N=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],R=(1<<26)/N[N.length-1];e.prototype.li=function(e){return Math.floor(Math.LN2*this.me/Math.log(e))},e.prototype.ei=function(e){if(null==e&&(e=10),0==this.pi()||e<2||36<e)return"0";var n=this.li(e),i=Math.pow(e,n),r=o(i),s=t(),a=t(),u="";for(this.je(r,s,a);0<s.pi();)u=(i+a.vi()).toString(e).substr(1)+u,s.je(r,s,a);return a.vi().toString(e)+u},e.prototype.Xe=function(t,n){this.Pe(0),null==n&&(n=10);for(var i=this.li(n),o=Math.pow(n,i),s=!1,a=0,u=0,c=0;c<t.length;++c){var l=r(t,c);l<0?"-"==t.charAt(c)&&0==this.pi()&&(s=!0):(u=n*u+l,++a>=i&&(this.di(o),this.si(u,0),u=a=0))}0<a&&(this.di(Math.pow(n,a)),this.si(u,0)),s&&e.ZERO.Ye(this,this)},e.prototype.he=function(t,n,i){if("number"==typeof n)if(t<2)this.Pe(1);else for(this.he(t,i),this.hi(t-1)||this._i(e.ONE.shiftLeft(t-1),l,this),this.ni()&&this.si(1,0);!this.gi(n);)this.si(2,0),this.ii()>t&&this.Ye(e.ONE.shiftLeft(t-1),this);else{var r=[],o=7&t;r.length=1+(t>>3),n.mi(r),0<o?r[0]&=(1<<o)-1:r[0]=0,this._e(r,256)}},e.prototype._i=function(e,t,n){var i,r,o=Math.min(e.De,this.De);for(i=0;i<o;++i)n[i]=t(this[i],e[i]);if(e.De<this.De){for(r=e.xe&this.we,i=o;i<this.De;++i)n[i]=t(this[i],r);n.De=this.De}else{for(r=this.xe&this.we,i=o;i<e.De;++i)n[i]=t(r,e[i]);n.De=e.De}n.xe=t(this.xe,e.xe),n.ze()},e.prototype.wi=function(t,n){var i=e.ONE.shiftLeft(t);return this._i(i,n,i),i},e.prototype.yi=function(e,t){for(var n=0,i=0,r=Math.min(e.De,this.De);n<r;)i+=this[n]+e[n],t[n++]=i&this.we,i>>=this.me;if(e.De<this.De){for(i+=e.xe;n<this.De;)i+=this[n],t[n++]=i&this.we,i>>=this.me;i+=this.xe}else{for(i+=this.xe;n<e.De;)i+=e[n],t[n++]=i&this.we,i>>=this.me;i+=e.xe}t.xe=i<0?-1:0,0<i?t[n++]=i:i<-1&&(t[n++]=this.ye+i),t.De=n,t.ze()},e.prototype.di=function(e){this[this.De]=this.ge(0,e-1,this,0,0,this.De),++this.De,this.ze()},e.prototype.si=function(e,t){if(0!=e){for(;this.De<=t;)this[this.De++]=0;for(this[t]+=e;this[t]>=this.ye;)this[t]-=this.ye,++t>=this.De&&(this[this.De++]=0),++this[t]}},e.prototype.ui=function(e,t,n){var i,r=Math.min(this.De+e.De,t);for(n.xe=0,n.De=r;0<r;)n[--r]=0;for(i=n.De-this.De;r<i;++r)n[r+this.De]=this.ge(0,e[r],n,r,0,this.De);for(i=Math.min(e.De,t);r<i;++r)this.ge(0,e[r],n,r,0,t-r);n.ze()},e.prototype.oi=function(e,t,n){--t;var i=n.De=this.De+e.De-t;for(n.xe=0;0<=--i;)n[i]=0;for(i=Math.max(t-this.De,0);i<e.De;++i)n[this.De+i-t]=this.ge(t-i,e[i],n,0,0,this.De+i-t);n.ze(),n.Qe(1,n)},e.prototype.bi=function(e){if(e<=0)return 0;var t=this.ye%e,n=this.xe<0?e-1:0;if(0<this.De)if(0==t)n=this[0]%e;else for(var i=this.De-1;0<=i;--i)n=(t*n+this[i])%e;return n},e.prototype.Ii=function(n){var i=this.Si(e.ONE),r=i.Pi();if(r<=0)return!1;var o=i.Ai(r);(n=n+1>>1)>N.length&&(n=N.length);for(var s=t(),a=0;a<n;++a){s.Pe(N[Math.floor(Math.random()*N.length)]);var u=s.Ci(o,this);if(0!=u.Ue(e.ONE)&&0!=u.Ue(i)){for(var c=1;c++<r&&0!=u.Ue(i);)if(0==(u=u.ri(2,this)).Ue(e.ONE))return!1;if(0!=u.Ue(i))return!1}}return!0},e.prototype.clone=function(){var e=t();return this.Je(e),e},e.prototype.vi=function(){if(this.xe<0){if(1==this.De)return this[0]-this.ye;if(0==this.De)return-1}else{if(1==this.De)return this[0];if(0==this.De)return 0}return(this[1]&(1<<32-this.me)-1)<<this.me|this[0]},e.prototype.ki=function(){return 0==this.De?this.xe:this[0]<<24>>24},e.prototype.Ei=function(){return 0==this.De?this.xe:this[0]<<16>>16},e.prototype.pi=function(){return this.xe<0?-1:this.De<=0||1==this.De&&this[0]<=0?0:1},e.prototype.Ti=function(){var e=this.De,t=[];t[0]=this.xe;var n,i=this.me-e*this.me%8,r=0;if(0<e--)for(i<this.me&&(n=this[e]>>i)!=(this.xe&this.we)>>i&&(t[r++]=n|this.xe<<this.me-i);0<=e;)i<8?(n=(this[e]&(1<<i)-1)<<8-i,n|=this[--e]>>(i+=this.me-8)):(n=this[e]>>(i-=8)&255,i<=0&&(i+=this.me,--e)),0!=(128&n)&&(n|=-256),0==r&&(128&this.xe)!=(128&n)&&++r,(0<r||n!=this.xe)&&(t[r++]=n);return t},e.prototype.Ni=function(e){return 0==this.Ue(e)},e.prototype.min=function(e){return this.Ue(e)<0?this:e},e.prototype.max=function(e){return 0<this.Ue(e)?this:e},e.prototype.Li=function(e){var n=t();return this._i(e,c,n),n},e.prototype.Di=function(e){var n=t();return this._i(e,l,n),n},e.prototype.Ri=function(e){var n=t();return this._i(e,f,n),n},e.prototype.Mi=function(e){var n=t();return this._i(e,d,n),n},e.prototype.Oi=function(){for(var e=t(),n=0;n<this.De;++n)e[n]=this.we&~this[n];return e.De=this.De,e.xe=~this.xe,e},e.prototype.shiftLeft=function(e){var n=t();return e<0?this.$e(-e,n):this.Ze(e,n),n},e.prototype.Ai=function(e){var n=t();return e<0?this.Ze(-e,n):this.$e(e,n),n},e.prototype.Pi=function(){for(var e=0;e<this.De;++e)if(0!=this[e])return e*this.me+p(this[e]);return this.xe<0?this.De*this.me:-1},e.prototype.Wi=function(){for(var e=0,t=this.xe&this.we,n=0;n<this.De;++n)e+=h(this[n]^t);return e},e.prototype.hi=function(e){var t=Math.floor(e/this.me);return t>=this.De?0!=this.xe:0!=(this[t]&1<<e%this.me)},e.prototype.Vi=function(e){return this.wi(e,l)},e.prototype.xi=function(e){return this.wi(e,d)},e.prototype.Ui=function(e){return this.wi(e,f)},e.prototype.add=function(e){var n=t();return this.yi(e,n),n},e.prototype.Si=function(e){var n=t();return this.Ye(e,n),n},e.prototype.multiply=function(e){var n=t();return this.Ke(e,n),n},e.prototype.We=function(e){var n=t();return this.je(e,n,null),n},e.prototype.Bi=function(e){var n=t();return this.je(e,null,n),n},e.prototype.Fi=function(e){var n=t(),i=t();return this.je(e,n,i),[n,i]},e.prototype.Ci=function(e,n){var i,r,c=e.ii(),l=o(1);if(c<=0)return l;i=c<18?1:c<48?3:c<144?4:c<768?5:6,r=c<8?new a(n):n.ni()?new v(n):new u(n);var f=[],d=3,p=i-1,h=(1<<i)-1;if(f[1]=r.Ve(this),1<i){var _=t();for(r.qe(f[1],_);d<=h;)f[d]=t(),r.Ge(_,f[d-2],f[d]),d+=2}var g,m,E=e.De-1,y=!0,b=t();for(c=s(e[E])-1;0<=E;){for(p<=c?g=e[E]>>c-p&h:(g=(e[E]&(1<<c+1)-1)<<p-c,0<E&&(g|=e[E-1]>>this.me+c-p)),d=i;0==(1&g);)g>>=1,--d;if((c-=d)<0&&(c+=this.me,--E),y)f[g].Je(l),y=!1;else{for(;1<d;)r.qe(l,b),r.qe(b,l),d-=2;0<d?r.qe(l,b):(m=l,l=b,b=m),r.Ge(b,f[g],l)}for(;0<=E&&0==(e[E]&1<<c);)r.qe(l,b),m=l,l=b,b=m,--c<0&&(c=this.me-1,--E)}return r.Fe(l)},e.prototype.ji=function(t){var n=t.ni();if(this.ni()&&n||0==t.pi())return e.ZERO;for(var i=t.clone(),r=this.clone(),s=o(1),a=o(0),u=o(0),c=o(1);0!=i.pi();){for(;i.ni();)i.$e(1,i),n?(s.ni()&&a.ni()||(s.yi(this,s),a.Ye(t,a)),s.$e(1,s)):a.ni()||a.Ye(t,a),a.$e(1,a);for(;r.ni();)r.$e(1,r),n?(u.ni()&&c.ni()||(u.yi(this,u),c.Ye(t,c)),u.$e(1,u)):c.ni()||c.Ye(t,c),c.$e(1,c);0<=i.Ue(r)?(i.Ye(r,i),n&&s.Ye(u,s),a.Ye(c,a)):(r.Ye(i,r),n&&u.Ye(s,u),c.Ye(a,c))}return 0!=r.Ue(e.ONE)?e.ZERO:0<=c.Ue(t)?c.Si(t):c.pi()<0?(c.yi(t,c),c.pi()<0?c.add(t):c):c},e.prototype.pow=function(e){return this.exp(e,new _)},e.prototype.Gi=function(e){var t=this.xe<0?this.ti():this.clone(),n=e.xe<0?e.ti():e.clone();if(t.Ue(n)<0){var i=t;t=n,n=i}var r=t.Pi(),o=n.Pi();if(o<0)return t;for(r<o&&(o=r),0<o&&(t.$e(o,t),n.$e(o,n));0<t.pi();)0<(r=t.Pi())&&t.$e(r,t),0<(r=n.Pi())&&n.$e(r,n),0<=t.Ue(n)?(t.Ye(n,t),t.$e(1,t)):(n.Ye(t,n),n.$e(1,n));return 0<o&&n.Ze(o,n),n},e.prototype.gi=function(e){var t,n=this.abs();if(1==n.De&&n[0]<=N[N.length-1]){for(t=0;t<N.length;++t)if(n[0]==N[t])return!0;return!1}if(n.ni())return!1;for(t=1;t<N.length;){for(var i=N[t],r=t+1;r<N.length&&i<R;)i*=N[r++];for(i=n.bi(i);t<r;)if(i%N[t++]==0)return!1}return n.Ii(e)},e.prototype.Ki=function(){var e=t();return this.He(e),e},m.prototype.init=function(e){var t,n,i;for(t=0;t<256;++t)this.ci[t]=t;for(t=n=0;t<256;++t)n=n+this.ci[t]+e[t%e.length]&255,i=this.ci[t],this.ci[t]=this.ci[n],this.ci[n]=i;this.ai=0,this.fi=0},m.prototype.next=function(){var e;return this.ai=this.ai+1&255,this.fi=this.fi+this.ci[this.ai]&255,e=this.ci[this.ai],this.ci[this.ai]=this.ci[this.fi],this.ci[this.fi]=e,this.ci[e+this.ci[this.ai]&255]};var D,L,B,M=256;if(null==L){var x;for(L=[],B=0;B<M;)x=Math.floor(65536*Math.random()),L[B++]=x>>>8,L[B++]=255&x;B=0,E()}b.prototype.mi=function(e){var t;for(t=0;t<e.length;++t)e[t]=y()},A.prototype.qi=function(e){return e.ri(this.e,this.n)},A.prototype.Hi=function(e,t){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16)):alert("Invalid RSA public key")},A.prototype.encrypt=function(t){var n=function(t,n){if(n<t.length+11)return alert("Message too long for RSA"),null;for(var i=[],r=t.length-1;0<=r&&0<n;){var o=t.charCodeAt(r--);i[--n]=o<128?o:127<o&&o<2048?(i[--n]=63&o|128,o>>6|192):(i[--n]=63&o|128,i[--n]=o>>6&63|128,o>>12|224)}i[--n]=0;for(var s=new b,a=[];2<n;){for(a[0]=0;0==a[0];)s.mi(a);i[--n]=a[0]}return i[--n]=2,i[--n]=0,new e(i)}(t,this.n.ii()+7>>3);if(null==n)return null;var i=this.qi(n);if(null==i)return null;var r=i.toString(16);return 0==(1&r.length)?r:"0"+r},A.prototype.Yi=function(e){if(null==this.p||null==this.q)return e.Ci(this.d,this.n);for(var t=e.Be(this.p).Ci(this.dmp1,this.p),n=e.Be(this.q).Ci(this.dmq1,this.q);t.Ue(n)<0;)t=t.add(this.p);return t.Si(n).multiply(this.coeff).Be(this.p).multiply(this.q).add(n)},A.prototype.Ji=function(e,t,n){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16),this.d=S(n,16)):alert("Invalid RSA private key")},A.prototype.zi=function(e,t,n,i,r,o,s,a){null!=e&&null!=t&&0<e.length&&0<t.length?(this.n=S(e,16),this.e=parseInt(t,16),this.d=S(n,16),this.p=S(i,16),this.q=S(r,16),this.dmp1=S(o,16),this.dmq1=S(s,16),this.coeff=S(a,16)):alert("Invalid RSA private key")},A.prototype.Qi=function(t,n){var i=new b,r=t>>1;this.e=parseInt(n,16);for(var o=new e(n,16);;){for(;this.p=new e(t-r,1,i),0!=this.p.Si(e.ONE).Gi(o).Ue(e.ONE)||!this.p.gi(10););for(;this.q=new e(r,1,i),0!=this.q.Si(e.ONE).Gi(o).Ue(e.ONE)||!this.q.gi(10););if(this.p.Ue(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var a=this.p.Si(e.ONE),u=this.q.Si(e.ONE),c=a.multiply(u);if(0==c.Gi(o).Ue(e.ONE)){this.n=this.p.multiply(this.q),this.d=o.ji(c),this.dmp1=this.d.Be(a),this.dmq1=this.d.Be(u),this.coeff=this.q.ji(this.p);break}}},A.prototype.decrypt=function(e){var t=S(e,16),n=this.Yi(t);return null==n?null:function(e,t){for(var n=e.Ti(),i=0;i<n.length&&0==n[i];)++i;if(n.length-i!=t-1||2!=n[i])return null;for(++i;0!=n[i];)if(++i>=n.length)return null;for(var r="";++i<n.length;){var o=255&n[i];o<128?r+=String.fromCharCode(o):191<o&&o<224?(r+=String.fromCharCode((31&o)<<6|63&n[i+1]),++i):(r+=String.fromCharCode((15&o)<<12|(63&n[i+1])<<6|63&n[i+2]),i+=2)}return r}(n,this.n.ii()+7>>3)};var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";A.prototype.Xi=function(e){e=this.Zi(e);var t=this.$i(),n=0,i=null,r=null,o=0;for(var s in t)t.hasOwnProperty(s)&&((i=t[s]).hasOwnProperty("offset")&&(n+=2*i.offset),o="string"==typeof i.length?this[i.length]:i.length,o*=2,r=e.substr(n,o),i.hasOwnProperty("type")&&("int"==i.type?r=parseInt(r,16):"bigint"==i.type&&(r=S(r,16))),n+=o,this[s]=r)},A.prototype.nr=function(e){var t="";e=function(e){var t,n,i,r=(e=""+e).length;if(0===r)return e;if(r%4!=0)throw new Error;t=0,"="===e.charAt(r-1)&&(t=1,"="===e.charAt(r-2)&&(t=2),r-=4);var o=[];for(n=0;n<r;n+=4)i=T(e,n)<<18|T(e,n+1)<<12|T(e,n+2)<<6|T(e,n+3),o.push(String.fromCharCode(i>>16,i>>8&255,255&i));switch(t){case 1:i=T(e,n)<<18|T(e,n+1)<<12|T(e,n+2)<<6,o.push(String.fromCharCode(i>>16,i>>8&255));break;case 2:i=T(e,n)<<18|T(e,n+1)<<12,o.push(String.fromCharCode(i>>16))}return o.join("")}(e);for(var n=0;n<e.length;++n){var i=e.charCodeAt(n).toString(16);1===i.length&&(i="0"+i),t+=i}return t},A.prototype.Zi=function(e){var t=(e=e.replace(/^\s+|\s+$/g,"")).split(/\r?\n/);return"-----BEGIN"==t[0].substring(0,10)&&(t=t.slice(1,t.length-1)),e=t.join(""),this.nr(e)},A.prototype.tr=function(){var e="",t=this.$i(),n=null,i=null,r=0;for(var o in t)t.hasOwnProperty(o)&&(n=t[o]).er&&((i=this[o].toString(16)).length%2&&(i="0"+i),n.hasOwnProperty("padded")&&n.ir&&(i="00"+i),(r=(r=i.length/2).toString(16)).length%2&&(r="0"+r),n.hasOwnProperty("extraspace")&&(e+=r),e+=r,e+=i,e+="02");return e.slice(0,-2)},A.prototype.rr=function(e,t){if(!e)return e;var n="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(new RegExp(n,"g")).join("\n")},A.prototype.or=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n",t="3082025e02010002";return t+=this.tr(),e+=this.rr(I(t))+"\n",e+="-----END RSA PRIVATE KEY-----"},A.prototype.ur=function(){var e="-----BEGIN PUBLIC KEY-----\n",t="30819f300d06092a864886f70d010101050003818d0030818902";return t+=this.tr(),e+=this.rr(I(t))+"\n",e+="-----END PUBLIC KEY-----"};var U=function(e){A.call(this),e&&this.Xi(e)};((U.prototype=new A).constructor=U).prototype.$i=function(){return{header:{length:4},versionlength:{length:1,offset:1,type:"int"},version:{length:"versionlength",type:"int"},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",er:!0,ir:!0,sr:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",er:!0},d_length:{length:1,offset:2,type:"int"},d:{length:"d_length",type:"bigint",er:!0,ir:!0,sr:!0},p_length:{length:1,offset:1,type:"int"},p:{length:"p_length",type:"bigint",er:!0,ir:!0},q_length:{length:1,offset:1,type:"int"},q:{length:"q_length",type:"bigint",er:!0,ir:!0},dmp1_length:{length:1,offset:1,type:"int"},dmp1:{length:"dmp1_length",type:"bigint",er:!0},dmq1_length:{length:1,offset:1,type:"int"},dmq1:{length:"dmq1_length",type:"bigint",er:!0,ir:!0},coeff_length:{length:1,offset:1,type:"int"},coeff:{length:"coeff_length",type:"bigint",er:!0,ir:!0}}};var V=function(e){A.call(this),e&&("string"==typeof e?this.Xi(e):e.hasOwnProperty("n")&&e.hasOwnProperty("e")&&(this.n=e.n,this.e=e.e))};((V.prototype=new A).constructor=V).prototype.$i=function(){return{header:{length:25},n_length:{length:1,offset:2,type:"int"},n:{length:"n_length",type:"bigint",er:!0,ir:!0,sr:!0},e_length:{length:1,offset:1,type:"int"},e:{length:"e_length",type:"int",er:!0}}};var G=function(){this.ar=null,this.cr=null};return G.prototype.lr=function(e){this.ar=new U(e),this.cr=new V(this.ar)},G.prototype.pr=function(e){this.cr=new V(e)},G.prototype.decrypt=function(e){return!!this.ar&&this.ar.decrypt(function(e){var t,i,r="",o=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var s=k.indexOf(e.charAt(t));s<0||(o=0==o?(r+=n(s>>2),i=3&s,1):1==o?(r+=n(i<<2|s>>4),i=15&s,2):2==o?(r+=n(i),r+=n(s>>2),i=3&s,3):(r+=n(i<<2|s>>4),r+=n(15&s),0))}return 1==o&&(r+=n(i<<2)),r}(e))},G.prototype.encrypt=function(e){var t=this.cr||this.ar;return!!t&&I(t.encrypt(e))},G.prototype.or=function(){return this.ar||(this.ar=new U,this.ar.Qi(1024,"010001"),this.cr=new V(this.ar)),this.ar.or()},G.prototype.ur=function(){return this.cr||(this.cr=new V,this.cr.Qi(1024,"010001")),this.cr.ur()},function(e){var t=new G;return t.pr(i.Xt),t.encrypt(e)}}(),t.exports=r.encrypt},{17:17}],26:[function(e,t,n){var i=i||{},r="undefined";i.vr=function(e,t){return t=t||!1,e?"0"!=e:t},i.U=function(e,t){return null==e||isNaN(e)?t||0:parseInt(e)},i.o=function(e,t){var n=Number(e);return null==e||isNaN(n)?t||0:n},i.toString=function(e){if(typeof e==r)return r;if("string"==typeof e)return e;if(e instanceof Array)return e.join(",");var t="";for(var n in e)e.hasOwnProperty(n)&&(t+=n+":"+e[n]+";");return t||e.toString()},t.exports.vr=i.vr,t.exports.U=i.U,t.exports.o=i.o,t.exports.toString=i.toString},{}],27:[function(e,t,n){var i=e(19),r="undefined",o=typeof encodeURIComponent!==r?encodeURIComponent:escape,s=typeof decodeURIComponent!==r?decodeURIComponent:unescape,a="cs_dir_",u="cs_file_",c=typeof localStorage!==r?localStorage:null,l={},f=c&&o&&s,d={dir:function(e){if(!f)return null;var t=a+e,n=l[t];if(n)return n.slice();var i=c.getItem(t);if(i){n=[];for(var r=0,o=(i=i.split("|")).length;r<o;r++)0<i[r].length&&n.push(s(i[r]));return(l[t]=n).slice()}return null},append:function(e,t,n){if(f){var i=d.read(e,t);i?i+=n:i=n,d.write(e,t,i)}},write:function(e,t,n){if(f){var r,s=d.dir(e);s||(r=a+e,"function"==typeof c.setItem?c.setItem(r,""):c[r]="",l[r]=[],s=[]),-1==i.indexOf(t,s)&&function(e,t){var n=a+e;try{"function"==typeof c.setItem?c.setItem(n,c.getItem(n)+"|"+o(t)):c[n]=c.getItem(n)+"|"+o(t)}catch(e){}l[n].push(t)}(e,t),function(e,t,n){try{"function"==typeof c.setItem?c.setItem(u+e+t,n):c[u+e+t]=n}catch(e){}}(e,t,n)}},deleteFile:function(e,t){if(!f)return!1;var n=d.dir(e);return!!n&&-1!=i.indexOf(t,n)&&(function(e,t){var n=a+e,r=l[n];r.splice(i.indexOf(t,r),1);for(var s=[],f=0,d=r.length;f<d;f++)s.push(o(r[f]));try{"function"==typeof c.setItem?c.setItem(n,s.join("|")):c[n]=s.join("|"),"function"==typeof c.removeItem?c.removeItem(u+e+t):delete c[u+e+t]}catch(e){}}(e,t),!0)},read:function(e,t){if(!f)return null;var n=d.dir(e);return n?-1==i.indexOf(t,n)?null:function(e,t){try{return"function"==typeof c.getItem?c.getItem(u+e+t):c[u+e+t]}catch(e){}}(e,t):null}};t.exports=d},{19:19}],28:[function(e,t,n){function i(){f=typeof FileSystem!=l?new FileSystem:null,d=typeof curWidget!=l?curWidget.id:null,typeof sf!==l&&(u=a=function(e,t){sf.core.localData(e,t)}),null==f||typeof f.isValidCommonPath==l||f.isValidCommonPath(d)||f.createCommonDir(d),g=!0}function r(e){return e.replace(/^\s+|\s+$/g,"")}function o(e,t){var n=_[e];n?n.push(t):n=_[e]=[t],u(p+e,n.join(h))}function s(e,t){var n=_[e],i=c.indexOf(t,n);0<=i&&(n.splice(i,1),u(p+e,0===n.length?null:n.join(h)))}var a,u,c=e(19),l="undefined",f=null,d=null,p="cs_dir_",h="|",_={},g=!1,v={dir:function(e){if(g||i(),f.isValidCommonPath(d+"/"+e)){var t=_[e];if(!t){if(!(t=a(p+e)))return null;t=_[e]=t.split(h)}for(var n=t.slice(),r=0,o=n.length;r<o;r++){var u=t[r];f.isValidCommonPath(d+"/"+e+"/"+u)||s(e,u)}return n}return null},append:function(e,t,n){g||i();var s=d+"/"+e;f.isValidCommonPath(s)||f.createCommonDir(s),f.isValidCommonPath(s+"/"+t)||o(e,t);var a=f.openCommonFile(s+"/"+t,"a");a.writeLine(r(n)),f.closeCommonFile(a)},write:function(e,t,n){g||i();var s=d+"/"+e;f.isValidCommonPath(s)||f.createCommonDir(s),f.isValidCommonPath(s+"/"+t)||o(e,t);var a=f.openCommonFile(s+"/"+t,"w");a.writeLine(r(n)),f.closeCommonFile(a)},deleteFile:function(e,t){g||i();var n=d+"/"+e;return!!f.isValidCommonPath(n)&&(s(e,t),f.deleteCommonFile(n+"/"+t))},read:function(e,t){g||i();var n=d+"/"+e;if(!f.isValidCommonPath(n))return null;var r=f.openCommonFile(n+"/"+t,"r");if(r){for(var o,a=[];o=r.readLine();)a.push(o);return f.closeCommonFile(r),a.join("\n")}return s(e,t),""}};t.exports=v},{19:19}],29:[function(e,t,n){t.exports={dir:function(){return null},append:function(e,t,n){},write:function(e,t,n){},deleteFile:function(){return!1},read:function(){return null}}},{}],30:[function(e,t,n){function i(){null==p&&(h=typeof atv!=l&&typeof atv.device!=l&&atv.device.idForVendor?(p=r.pe(atv.device.idForVendor,""),"62"):(p=+new Date+~~(1e3*Math.random()),"72"),_=null)}var r=e(21),o=e(17),s=e(49).dr,a=e(49).hr(),u=e(45),c=e(29),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"atv",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return f},getAppVersion:function(){return f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return"Apple TV"},getPlatformVersion:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.softwareVersion,f)},getPlatformName:function(){return"js"},getRuntimeName:function(){return"atv"},getRuntimeVersion:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.softwareVersion,f)},getDisplayResolution:function(){return typeof atv.device!=l&&typeof atv.device.screenFrame!=l&&typeof atv.device.screenFrame.height!=l&&typeof atv.device.screenFrame.width!=l?atv.device.screenFrame.height+"x"+atv.device.screenFrame.width:d},getLanguage:function(){return typeof atv!=l&&typeof atv.device!=l&&r.pe(atv.device.language,"")},getPackageName:function(){return""},isConnectionAvailable:function(){return!0},setTimeout:function(e,t){return typeof atv!=l&&typeof atv.setTimeout!=l&&atv.setTimeout(e,t)},setInterval:function(e,t){return typeof atv!=l&&typeof atv.setInterval!=l&&atv.setInterval(e,t)},clearTimeout:function(e){return typeof atv!=l&&typeof atv.clearTimeout!=l&&atv.clearTimeout(e)},clearInterval:function(e){return typeof atv!=l&&typeof atv.clearInterval!=l&&atv.clearInterval(e)},isCompatible:function(){return typeof window==l&&typeof atv!=l},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,29:29,45:45,49:49}],31:[function(e,t,n){var i=e(21),r=e(20),o=e(17),s=e(50),a=e(48)._r,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p={PLATFORM:"chromecast",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return null},getAppName:function(){return typeof ns_.crm===l?f:ns_.crm.getApplicationData().name},getAppVersion:function(){return f},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return"chromecast"},getPlatformVersion:function(){return cast.receiver.VERSION+"-"+i.pe(r.ue()+" "+r.se(),f)},getPlatformName:function(){return"js"},getRuntimeName:function(){return"html"},getRuntimeVersion:function(){return"5"},getDisplayResolution:function(){var e=typeof window!=l&&i.tn(window.screen)&&i.tn(window.screen.availWidth)?window.screen.availWidth:0,t=typeof window!=l&&i.tn(window.screen)&&i.tn(window.screen.availHeight)?window.screen.availHeight:0;return 0<e&&0<t?e+"x"+t:d},getLanguage:function(){return typeof window!=l&&i.tn(window.navigator)&&i.pe(window.navigator.language,"")||f},getPackageName:function(){return f},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window!==l&&!i.jt(window.cast)&&!i.jt(cast.receiver)},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=p},{17:17,20:20,21:21,27:27,46:46,48:48,50:50}],32:[function(e,t,n){t.exports={SmartTV:0,Netcast:1,Cordova:2,Trilithium:3,AppleTV:4,Chromecast:5,Xbox:6,webOS:7,tvOS:8,nodejs:9,html5:10,JSMAF:11,Skeleton:12}},{}],33:[function(e,t,n){function i(){return typeof device!=d&&typeof device.available!=d&&device.available&&typeof window!=d&&typeof window.navigator!=d}function r(){if(null==_){var e=i()&&typeof device!=d&&o.tn(device.uuid)&&0<device.uuid.length?device.uuid:null;v=null!=e?(g="31",_=e):(_=+new Date+~~(1e3*Math.random()),g="72",null)}}var o=e(21),s=e(17),a=e(50),u=e(48).gr,c=e(48)._r,l=e(46),f=e(27),d="undefined",p=s.D,h=s.Qt,_=null,g=null,v=null,m={PLATFORM:"cordova",httpGet:function(){return typeof Image!=d?a.apply(this,arguments):u.apply(this,arguments)},httpPost:c,Storage:l,IO:f,getCrossPublisherId:function(){return r(),v},getAppName:function(){return p},getAppVersion:function(){return p},getVisitorId:function(){return r(),_},getVisitorIdSuffix:function(){return g},getDeviceModel:function(){return typeof device!=d&&o.tn(device.model)||p},getPlatformVersion:function(){return typeof device!=d&&o.tn(device.cordova)&&device.cordova||p},getPlatformName:function(){return"js"},getRuntimeName:function(){return typeof device!=d&&o.tn(device.platform)&&"cordova"+device.platform||"cordova"},getRuntimeVersion:function(){return typeof device!=d&&o.tn(device.version)||p},getDisplayResolution:function(){var e=typeof window!=d&&o.tn(window.screen)&&o.tn(window.screen.availWidth)&&window.screen.availWidth||0,t=typeof window!=d&&o.tn(window.screen)&&o.tn(window.screen.availHeight)&&window.screen.availHeight||0;return 0<e&&0<t?e+"x"+t:h},getLanguage:function(){return typeof window!=d&&o.tn(window.navigator)&&o.tn(window.navigator.language)&&window.navigator.language||p},getPackageName:function(){return""},isConnectionAvailable:function(){return typeof window==d||!o.tn(window.navigator)||!o.tn(window.navigator.onLine)||window.navigator.onLine},isCompatible:i,isConnectionSecure:function(){return typeof document!=d&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=m},{17:17,21:21,27:27,46:46,48:48,50:50}],34:[function(e,t,n){var i=e(21),r=e(20),o=e(17),s=e(50),a=e(48).gr,u=e(48)._r,c=e(46),l=e(27),f="undefined",d=typeof document!=f&&document||void 0,p=o.D,h=o.Qt,_={PLATFORM:"html5",httpGet:function(){return typeof Image!=f?s.apply(this,arguments):a.apply(this,arguments)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return null},getAppName:function(){return d&&i.tn(d.title)&&d.title||p},getAppVersion:function(){return p},getVisitorId:function(){return this.getDeviceModel()+ +new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return typeof window!=f&&i.tn(window.navigator)&&i.pe(window.navigator.platform,"")||""},getPlatformVersion:function(){return i.pe(r.ue()+" "+r.se(),"")},getPlatformName:function(){return"js"},getRuntimeName:function(){return"html"},getRuntimeVersion:function(){return"5"},getDisplayResolution:function(){var e,t;typeof window!=f&&window.screen&&window.screen.width&&(e=window.screen.width),typeof window!=f&&window.screen&&window.screen.width&&(t=window.screen.height);var n=1;return typeof window!=f&&window.devicePixelRatio&&(n=window.devicePixelRatio),0<e&&0<t?(e*=n)+"x"+(t*=n):h},getApplicationResolution:function(){var e,t;typeof window!=f&&window.innerWidth&&(e=window.innerWidth),typeof window!=f&&window.innerHeight&&(t=window.innerHeight);var n=1;return typeof window!=f&&window.devicePixelRatio&&(n=window.devicePixelRatio),0<e&&0<t?(e*=n)+"x"+(t*=n):h},getLanguage:function(){return typeof window!=f&&i.tn(window.navigator)&&i.pe(window.navigator.language,"")||p},getPackageName:function(){return""},isConnectionAvailable:function(){return typeof window==f||!i.tn(window.navigator)||!i.tn(window.navigator.onLine)||window.navigator.onLine},isCompatible:function(){return typeof window!==f&&i.tn(window.navigator)&&i.tn(window.localStorage)&&i.tn(d)&&!!d.createElement("canvas").getContext},isConnectionSecure:function(){return!!d&&"s"===d.location.href.charAt(4)}};t.exports=_},{17:17,20:20,21:21,27:27,46:46,48:48,50:50}],35:[function(e,t,n){function i(){if(null==h)if(typeof jsmaf!=f&&o.tn(jsmaf.hardwareId)){var e=jsmaf.hardwareId;_="31",g=h=e}else h=+new Date+~~(1e3*Math.random()),_="72",g=null}function r(){return typeof jsmaf==f||!o.tn(jsmaf.networkStatus)||"connected"==jsmaf.networkStatus}var o=e(21),s=e(17),a=e(48).gr,u=e(48)._r,c=e(46),l=e(27),f="undefined",d=s.D,p=s.Qt,h=null,_=null,g=null,v={PLATFORM:"jsmaf",httpGet:a,httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return i(),g},getAppName:function(){return d},getAppVersion:function(){return d},getVisitorId:function(){return i(),h},getVisitorIdSuffix:function(){return i(),_},getDeviceModel:function(){return typeof jsmaf!=f&&o.tn(jsmaf.platform)?jsmaf.platform:d},getPlatformName:function(){return"js"},getPlatformVersion:function(){return d},getRuntimeName:function(){return"jsmaf"},getRuntimeVersion:function(){return typeof jsmaf!=f&&o.tn(jsmaf.version)?jsmaf.version:d},getDisplayResolution:function(){return typeof jsmaf!=f&&o.tn(jsmaf.screenWidth)&&o.tn(jsmaf.screenHeight)?jsmaf.screenWidth+"x"+jsmaf.screenHeight:p},getLanguage:function(){return typeof jsmaf!=f&&o.tn(jsmaf.locale)?jsmaf.locale:d},getPackageName:function(){return null},isConnectionAvailable:r,isCompatible:function(){return typeof jsmaf!=f},setTimeout:function(e,t){return jsmaf.setTimeout(e,t)},setInterval:function(e,t){return jsmaf.setInterval(e,t)},clearTimeout:function(e){return jsmaf.clearTimeout(e)},clearInterval:function(e){return jsmaf.clearInterval(e)},getDeviceArchitecture:function(){if(typeof jsmaf==f||!o.tn(jsmaf.platform))var e=d;return"ps3"==jsmaf.platform?e="cell":"ps4"==jsmaf.platform?e="ps4":"vita"==jsmaf.platform&&(e="vita"),e},getConnectionType:function(){return r()&&typeof jsmaf!=f&&o.tn(jsmaf.connectionType)?"wired"==jsmaf.connectionType?"eth":"wireless"==jsmaf.connectionType?"wifi":"phone"==jsmaf.connectionType?"wwan":d:d},getDeviceJailBrokenFlag:function(){return d},isConnectionSecure:function(){return typeof document!=f&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=v},{17:17,21:21,27:27,46:46,48:48}],36:[function(e,t,n){var i=e(50),r=e(52).mr,o=e(46),s=e(29),a=e(17),u=a.D,c=a.Qt,l={PLATFORM:"generic",httpGet:i,httpPost:r,Storage:o,IO:s,onDataFetch:function(e){e()},getCrossPublisherId:function(){return null},getAppName:function(){return u},getAppVersion:function(){return u},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return u},getPlatformVersion:function(){return u},getPlatformName:function(){return"js"},getRuntimeName:function(){return u},getRuntimeVersion:function(){return u},getDisplayResolution:function(){return c},getApplicationResolution:function(){return c},getLanguage:function(){return u},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return!0},autoSelect:function(){},autoDetect:function(){},setPlatformAPI:function(){},isCrossPublisherIdChanged:function(){return!1},setTimeout:function(e,t){return setTimeout(e,t)},setInterval:function(e,t){return setInterval(e,t)},clearTimeout:function(e){return clearTimeout(e)},clearInterval:function(e){return clearInterval(e)},getDeviceArchitecture:function(){return u},getConnectionType:function(){return u},getDeviceJailBrokenFlag:function(){return u},isConnectionSecure:function(){return!1},processMeasurementLabels:function(){}};t.exports=l},{17:17,29:29,46:46,50:50,52:52}],37:[function(e,t,n){function i(){if(null==h){var e=function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)){if(r.tn(ns_.netcastDevice.net_macAddress)&&r.lt(ns_.netcastDevice.net_macAddress))return ns_.netcastDevice.net_macAddress;if(r.tn(ns_.netcastDevice.serialNumber)&&r.lt(ns_.netcastDevice.serialNumber))return ns_.netcastDevice.serialNumber}return null}();g=null!=e?(_="31",h=e):(h=+new Date+~~(1e3*Math.random()),_="72",null)}}var r=e(21),o=e(17),s=e(50),a=e(48).gr,u=e(52).mr,c=e(46),l=e(29),f="undefined",d=o.D,p=o.Qt,h=null,_=null,g=null,v={PLATFORM:"netcast",httpGet:function(){return typeof Image!=f?s.apply(this,arguments):a.apply(this,arguments)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return i(),g},getAppName:function(){return d},getAppVersion:function(){return d},getVisitorId:function(){return i(),h},getVisitorIdSuffix:function(){return _},getDeviceModel:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.tn(ns_.netcastDevice.modelName)&&ns_.netcastDevice.modelName||d},getPlatformVersion:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.pe(ns_.netcastDevice.version,d)||d},getPlatformName:function(){return"js"},getRuntimeName:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)?"lg-ott"+r.pe(ns_.netcastDevice.platform,d):d},getRuntimeVersion:function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)){if(r.tn(ns_.netcastDevice.version))return ns_.netcastDevice.version;if(r.tn(ns_.netcastDevice.hwVersion))return ns_.netcastDevice.hwVersion;if(r.tn(ns_.netcastDevice.swVersion))return ns_.netcastDevice.swVersion}return d},getDisplayResolution:function(){if(typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.tn(ns_.netcastDevice.osdResolution))switch(ns_.netcastDevice.osdResolution){case 0:return"640x480";case 1:return"720x576";case 2:return"1280x720";case 3:return"1920x1080";case 4:return"1366x768"}return p},getLanguage:function(){return typeof ns_!=f&&r.tn(ns_.netcastDevice)&&r.pe(ns_.netcastDevice.tvLanguage2,r.pe(window.navigator.language))||d},getPackageName:function(){return null},isConnectionAvailable:function(){return typeof ns_.netcastDevice===f||!!ns_.netcastDevice.net_isConnected},getConnectionType:function(){if(typeof ns_.netcastDevice!==f){if(0===ns_.netcastDevice.networkType)return"eth";if(1===ns_.netcastDevice.networkType)return"wifi"}return d},isCompatible:function(){return typeof ns_!=f&&typeof ns_.netcastDevice!=f&&typeof ns_.netcastDevice.version!=f&&typeof window!=f&&typeof window.navigator!=f},isConnectionSecure:function(){return typeof document!=f&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=v},{17:17,21:21,29:29,46:46,48:48,50:50,52:52}],38:[function(e,i,r){(function(t){function o(){null==h&&(h=+new Date+~~(1e3*Math.random()),_="72",g=null)}var s=e(21),a=e(17),u=e(52).mr,c=e(46),l=e(29),f="undefined",d=a.D,p=a.Qt,h=null,_=null,g=null,v={PLATFORM:"nodejs",httpGet:function(t,n){new function(t){var n=this,i=0;n.send=function(r){e("http").get(r,function(e){var r=e.statusCode;if((302==r||301==r)&&i<20&&e.headers&&e.headers.location)return i++,void n.send(e.headers.location);t(r)}).on("error",function(){t()})}}(n).send(t)},httpPost:u,Storage:c,IO:l,getCrossPublisherId:function(){return o(),g},getVisitorId:function(){return o(),h},getVisitorIdSuffix:function(){return _},getPlatformVersion:function(){var t=e("os");return[t.type(),t.platform(),t.release()].join(";")},getPlatformName:function(){return"js"},getRuntimeName:function(){return"nodejs"},getRuntimeVersion:function(){return typeof n===f||s.jt(n.version)?d:n.version},getDisplayResolution:function(){return p},isCompatible:function(){return typeof window===f&&typeof i!==f&&typeof r!==f&&typeof t!==f&&typeof n!==f&&s.tn(n.version)},isConnectionSecure:function(){return!1}};i.exports=v}).call(this,void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{17:17,21:21,29:29,46:46,52:52,undefined:void 0}],39:[function(e,t,n){var i=e(24),r=e(32),o=e(36),s=e(40),a=e(37),u=e(43),c=e(33),l=e(41),f=e(30),d=e(44),p=e(31),h=e(42),_=e(35),g=e(38),v=e(34),m=!1;o.autoDetect=function(){m||(m=!0,s.isCompatible()?i.extend(o,s):a.isCompatible()?i.extend(o,a):u.isCompatible()?i.extend(o,u):c.isCompatible()?i.extend(o,c):l.isCompatible()?i.extend(o,l):f.isCompatible()?i.extend(o,f):d.isCompatible()?i.extend(o,d):p.isCompatible()?i.extend(o,p):h.isCompatible()?i.extend(o,h):_.isCompatible()?i.extend(o,_):g.isCompatible()?i.extend(o,g):v.isCompatible()&&i.extend(o,v))},o.autoSelect=o.autoDetect,o.setPlatformAPI=function(e){switch(m=!0,e){case r.SmartTV:i.extend(o,s);break;case r.Netcast:i.extend(o,a);break;case r.Cordova:i.extend(o,c);break;case r.Trilithium:i.extend(o,l);break;case r.AppleTV:i.extend(o,f);break;case r.Chromecast:i.extend(o,p);break;case r.Xbox:i.extend(o,d);break;case r.webOS:i.extend(o,u);break;case r.tvOS:i.extend(o,h);break;case r.JSMAF:i.extend(o,_);break;case r.nodejs:i.extend(o,g);break;case r.html5:i.extend(o,v);break;case r.Skeleton:break;default:m=!1}}},{24:24,30:30,31:31,32:32,33:33,34:34,35:35,36:36,37:37,38:38,40:40,41:41,42:42,43:43,44:44}],40:[function(e,t,n){function i(){if(null==p){var e=function(){if("object"!=typeof sf||"object"!=typeof sf.core||"function"!=typeof sf.core.sefplugin)return null;var e=sf.core.sefplugin("NNAVI");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return null;e.Open("Network","1.001","Network");var t=e.Execute("GetMAC","0");if(!r.jt(t))return t;if(t=e.Execute("GetMAC","1"),!r.jt(t))return t;var n=e.Execute("GetDeviceID");return r.jt(n)?null:n}();_=null!=e?(h="31",p=e):(p=+new Date+~~(1e3*Math.random()),h="72",null)}}var r=e(21),o=e(17),s=e(48).gr,a=e(52).mr,u=e(47),c=e(28),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"smarttv",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return f},getAppVersion:function(){return typeof sf!=l&&r.tn(sf.env)&&r.tn(sf.env.getAppVersion)&&sf.env.getAppVersion()||f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return typeof sf!=l&&r.tn(sf.core)&&r.tn(sf.core.getEnvValue)&&sf.core.getEnvValue("modelid")||f},getPlatformVersion:function(){return"2.0.0"},getPlatformName:function(){return"js"},getRuntimeName:function(){if(typeof sf!==l&&r.tn(sf.env)&&r.tn(sf.env.getProductType)&&r.tn(sf.env.PRODUCTTYPE_TV)&&r.tn(sf.env.PRODUCTTYPE_MONITOR)&&r.tn(sf.env.PRODUCTTYPE_BD)){var e=[];return e[sf.env.PRODUCTTYPE_TV]="samsung-smarttv-tv",e[sf.env.PRODUCTTYPE_MONITOR]="samsung-smarttv-monitor",e[sf.env.PRODUCTTYPE_BD]="samsung-smarttv-bd",e[sf.env.getProductType()]}},getRuntimeVersion:function(){return typeof sf!=l&&r.tn(sf.env)&&r.tn(sf.env.getFirmwareVer)&&sf.env.getFirmwareVer().version},getDisplayResolution:function(){if(typeof sf===l||!r.tn(sf.env)||!r.tn(sf.env.getScreenSize))return d;var e=sf.env.getScreenSize();return e.width+"x"+e.height},getLanguage:function(){if(typeof sf!==l&&r.tn(sf.env)&&r.tn(sf.env.getLanguageCode))return sf.env.getLanguageCode()},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window!=l&&typeof window.navigator!=l&&typeof sf!=l&&typeof sf.env!=l},getConnectionType:function(){if("object"!=typeof sf||"object"!=typeof sf.core||"function"!=typeof sf.core.sefplugin)return f;var e=sf.core.sefplugin("NETWORK");if("function"!=typeof e.Open||"function"!=typeof e.Execute)return f;e.Open("Network","1.001","Network");var t=e.Execute("GetActiveType");return 0===t?"wired":1===t?"wireless":f},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,28:28,47:47,48:48,52:52}],41:[function(e,t,n){function i(){if(null==p){var e=r.lt(engine.stats.device.id)?engine.stats.device.id:r.lt(engine.stats.network.mac)?engine.stats.network.mac:null;_=null!=e?(h="31",p=e):(p=+new Date+~~(1e3*Math.random()),h="72",null)}}var r=e(21),o=e(17),s=e(51),a=e(52),u=e(46),c=e(29),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"trilithium",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return r.lt(engine.stats.application.name)?engine.stats.application.name:f},getAppVersion:function(){return r.lt(engine.stats.application.version)?engine.stats.application.version:f},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return r.pe(engine.stats.device.platform,f)},getPlatformVersion:function(){return""},getPlatformName:function(){return"js"},getRuntimeName:function(){return"trilithium"},getRuntimeVersion:function(){return r.pe(engine.stats.device.version,f)},getDisplayResolution:function(){return typeof screen!=l&&typeof screen.height!=l&&typeof screen.width!=l?screen.height+"x"+screen.width:d},getLanguage:function(){return f},getPackageName:function(){return null},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof engine!=l&&typeof engine.stats!=l},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=g},{17:17,21:21,29:29,46:46,51:51,52:52}],42:[function(e,t,n){function i(){null==p&&(h=r.jt(Device.vendorIdentifier)?(p=+new Date+~~(1e3*Math.random()),"72"):(p=Device.vendorIdentifier,"62"),_=p)}var r=e(21),o=e(17),s=e(48).gr,a=e(48)._r,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g={PLATFORM:"tvos",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return i(),_},getAppName:function(){return Device.appIdentifier},getAppVersion:function(){return Device.appVersion},getVisitorId:function(){return i(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return Device.productType},getPlatformVersion:function(){return Device.systemVersion},getPlatformName:function(){return"js"},getRuntimeName:function(){return"tvos"},getRuntimeVersion:function(){return Device.systemVersion},getDisplayResolution:function(){return d},getLanguage:function(){return Settings.language},getPackageName:function(){return f},isConnectionAvailable:function(){return!0},isCompatible:function(){return typeof window===l&&typeof Device!==l&&"Apple TV"===Device.model},isConnectionSecure:function(){return!0}};t.exports=g},{17:17,21:21,27:27,46:46,48:48}],43:[function(e,t,n){var i,r,o,s=e(21),a=e(17),u=e(50),c=e(48)._r,l=e(46),f=e(27),d="undefined",p=a.D,h=a.Qt,_={PLATFORM:"webos",httpGet:u,httpPost:c,Storage:l,IO:f,onDataFetch:function(e,t){var n,s,a,u=3,c=function(){0==--u&&e()};n=c,webOS.service.request("luna://com.webos.service.tv.systemproperty",{method:"getSystemInfo",parameters:{keys:["modelName","firmwareVersion","UHD","sdkVersion"]},onSuccess:function(e){e.returnValue&&(i=e),n()},onFailure:function(){n()}}),s=c,webOS.service.request("luna://com.webos.settingsservice",{method:"getSystemSettings",parameters:{category:"option"},onSuccess:function(e){e.returnValue&&(r=e),s()},onFailure:function(){s()}}),a=c,webOS.service.request("luna://com.webos.service.connectionmanager",{method:"getStatus",onSuccess:function(e){e.returnValue&&(o=e),a()},onFailure:function(){a()}})},getCrossPublisherId:function(){return typeof webOS!==d&&webOS.device&&webOS.device.serialNumber&&"Unknown"!=webOS.device.serialNumber?webOS.device.serialNumber:null},getAppName:function(){return p},getAppVersion:function(){return p},getVisitorId:function(){return+new Date+~~(1e3*Math.random())},getVisitorIdSuffix:function(){return"72"},getDeviceModel:function(){return i&&i.modelName?i.modelName:p},getPlatformVersion:function(){return i&&i.sdkVersion?i.sdkVersion:p},getPlatformName:function(){return"js"},getRuntimeName:function(){return"webOS"},getRuntimeVersion:function(){return typeof webOS!==d&&webOS.device?webOS.device.platformVersion:p},getDisplayResolution:function(){var e=0;typeof webOS!==d&&webOS.device?e=webOS.device.screenWidth:typeof window!=d&&window.screen&&(e=window.screen.availWidth);var t=0;return typeof webOS!==d&&typeof webOS.device!==d?t=webOS.device.screenHeight:typeof window!=d&&window.screen&&(t=window.screen.availHeight),0<e&&0<t?e+"x"+t:h},getLanguage:function(){return r&&r.locales&&(r.locales.UI||r.locales.TV)||p},getPackageName:function(){return p},isConnectionAvailable:function(){return!o||!o.isInternetConnectionAvailable||o.isInternetConnectionAvailable},isCompatible:function(){return typeof window!==d&&!s.jt(window.webOS)&&!s.jt(webOS.service)&&!s.jt(webOS.service.request)},getConnectionType:function(){if(o&&(o.wired||o.wifi)){if("connected"===o.wired.state&&"yes"===o.wired.onInternet)return"eth";if("connected"===o.wifi.state&&"yes"===o.wifi.onInternet)return"wifi"}return p},isConnectionSecure:function(){return typeof document!=d&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=_},{17:17,21:21,27:27,46:46,48:48,50:50}],44:[function(e,t,n){function i(){typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.addEventListener("currentuserchanged",function(){v=!0}),r(),m=!0}function r(){var e=null;if(typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.ApplicationModel&&Windows.Xbox.ApplicationModel.Core&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext&&Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser){var t=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser;null!=t&&!t.br&&t.Ir&&(e=Windows.Xbox.ApplicationModel.Core.CoreApplicationContext.currentUser.xboxUserId)}_=e}var o=e(17),s=e(53).wr,a=e(53).yr,u=e(46),c=e(27),l="undefined",f=o.D,d=o.Qt,p=null,h=null,_=null,g=!1,v=!1,m=!1,E={PLATFORM:"xbox",httpGet:s,httpPost:a,Storage:u,IO:c,getCrossPublisherId:function(){return m||i(),v&&r(),_},getAppName:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},getAppVersion:function(){var e=f;if(typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.version){var t=Windows.ApplicationModel.Package.current.id.version;e=t.major+"."+t.minor+"."+t.build+"."+t.revision}return e},getVisitorId:function(){return g||function(){p=typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.System&&Windows.Xbox.System.Console&&Windows.Xbox.System.Console.applicationSpecificDeviceId?Windows.Xbox.System.Console.applicationSpecificDeviceId:this.getDeviceModel()+ +new Date+~~(1e3*Math.random()),h="72",g=!0}(),p},getVisitorIdSuffix:function(){return h},getDeviceModel:function(){return"xbox one"},getPlatformVersion:function(){var e=f;return typeof navigator!=l&&navigator&&navigator.userAgent&&navigator.userAgent.split(";").filter(function(e){return-1!=e.indexOf("Windows NT")}).forEach(function(t){e=t.substr(t.indexOf("Windows NT")+11,t.length-1)}),e},getPlatformName:function(){return"xbox"},getRuntimeName:function(){return"winjs"},getRuntimeVersion:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.dependencies&&Windows.ApplicationModel.Package.current.dependencies.filter(function(e){return e&&e.id&&e.id.name&&-1!=e.id.name.indexOf("WinJS")&&e.id.version}).forEach(function(t){e=t.id.version.major+"."+t.id.version.minor+"."+t.id.version.build+"."+t.id.version.revision}),e},getDisplayResolution:function(){var e=d;if(typeof Windows!=l&&Windows&&Windows.Xbox&&Windows.Xbox.Graphics&&Windows.Xbox.Graphics.Display&&Windows.Xbox.Graphics.Display.DisplayConfiguration&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView()&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawWidth&&Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode.rawHeight){var t=Windows.Xbox.Graphics.Display.DisplayConfiguration.getForCurrentView().currentDisplayMode;e=t.rawWidth+"x"+t.rawHeight}return e},getApplicationResolution:function(){var e=d;return typeof window!=l&&window.innerWidth&&window.innerHeight&&(e=window.innerWidth+"x"+window.innerHeight),e},getLanguage:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.System&&Windows.System.UserProfile&&Windows.System.UserProfile.GlobalizationPreferences&&Windows.System.UserProfile.GlobalizationPreferences.languages&&(e=Windows.System.UserProfile.GlobalizationPreferences.languages.getAt(0)),e},getPackageName:function(){var e=f;return typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.name&&(e=Windows.ApplicationModel.Package.current.id.name),e},isConnectionAvailable:function(){return!(typeof Windows!=l&&Windows&&Windows.Networking&&Windows.Networking.Connectivity&&Windows.Networking.Connectivity.NetworkInformation&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile()&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel())||4==Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().getNetworkConnectivityLevel()},isCompatible:function(){return typeof WinJS!=l&&WinJS&&typeof Windows!=l&&Windows&&Windows.Xbox},setPlatformAPI:function(){},isCrossPublisherIdChanged:function(){return m||i(),v},getDeviceArchitecture:function(){var e="unknown";if(typeof Windows!=l&&Windows&&Windows.ApplicationModel&&Windows.ApplicationModel.Package&&Windows.ApplicationModel.Package.current&&Windows.ApplicationModel.Package.current.id&&Windows.ApplicationModel.Package.current.id.architecture)switch(Windows.ApplicationModel.Package.current.id.architecture){case 5:e="arm";break;case 11:e="neutral";break;case 9:e="x64";break;case 0:e="x86"}return e},getConnectionType:function(){var e=f;if(typeof Windows!=l&&Windows&&Windows.Networking&&Windows.Networking.Connectivity&&Windows.Networking.Connectivity.NetworkInformation&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile()&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter&&Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType)switch(Windows.Networking.Connectivity.NetworkInformation.getInternetConnectionProfile().networkAdapter.ianaInterfaceType){case 6:e="eth";break;case 71:e="wifi"}return e},getDeviceJailBrokenFlag:function(){return f},isConnectionSecure:function(){return typeof document!=l&&null!=document&&"s"===document.location.href.charAt(4)}};t.exports=E},{17:17,27:27,46:46,53:53}],45:[function(e,t,n){var i=e(24),r="undefined",o="cs_";t.exports=function(){var e=typeof atv!=r&&typeof atv.localStorage!=r&&atv.localStorage||null;i.extend(this,{get:function(t){return e&&t&&e.getItem(o+t)||null},set:function(t,n){e&&t&&(e[o+t]=n)},has:function(t){return e&&t&&null!=e.getItem(o+t)||!1},remove:function(t){e&&t&&e.removeItem(o+t)},clear:function(){}})}},{24:24}],46:[function(e,t,n){var i=e(24),r="cs_";t.exports=function(){var e="undefined"!=typeof localStorage?localStorage:null;i.extend(this,{get:function(t){try{return e&&"function"==typeof e.getItem?e.getItem(r+t):e?e[r+t]:e}catch(t){}},set:function(t,n){try{e&&"function"==typeof e.setItem?e.setItem(r+t,n):e&&(e[r+t]=n)}catch(t){}},has:function(t){try{return e&&"function"==typeof e.getItem?e.getItem(r+t):e?e[r+t]:e}catch(t){}},remove:function(t){try{e&&"function"==typeof e.removeItem?e.removeItem(r+t):e&&delete e[r+t]}catch(t){}},clear:function(){try{for(var t=0;e&&t<e.length;++t){var n=e.key(t);n.substr(0,r.length)===r&&("function"==typeof e.removeItem?e.removeItem(n):delete e[n])}}catch(t){}}})}},{24:24}],47:[function(e,t,n){var i,r,o=e(24),s="cs_";"undefined"!=typeof sf?r=i=function(e,t){sf.core.localData(e,t)}:(r=function(e,t){$.sf.setData(e,void 0===t?null:t)},i=function(e){return $.sf.getData(e)}),t.exports=function(){o.extend(this,{get:function(e){return i(s+e)},set:function(e,t){r(s+e,t)},has:function(e){return void 0!==i(s+e)},remove:function(e){r(s+e,null)}})}},{24:24}],48:[function(e,t,n){var i="undefined";n.gr=function(e,t){if(typeof XMLHttpRequest!=i){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&(t&&t(n.status),n=null)},n.send()}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},n._r=function(e,t,n){if(typeof XMLHttpRequest!=i){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},{}],49:[function(e,t,n){var i="undefined";n.dr=function(e,t){if(typeof atv!=i&&typeof XMLHttpRequest!=i){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(t&&t(n.status),n=null)},n.send()}else typeof atv!=i&&"function"==typeof atv.setTimeout?t&&atv.setTimeout(t,0):t&&t()},n.hr=function(e,t,n){if(typeof atv!=i&&typeof XMLHttpRequest!=i){var r=new XMLHttpRequest;r.open("POST",e,!0),r.onreadystatechange=function(){4===r.readyState&&(n&&n(r.status),r=null)},r.send(t)}else typeof atv!=i&&"function"==typeof atv.setTimeout?n&&atv.setTimeout(n,0):n&&n()}},{}],50:[function(e,t,n){t.exports=function(e,t){if("undefined"!=typeof Image){var n=new Image;n.onload=function(){t&&t(200),n=null},n.onerror=function(){t&&t(),n=null},n.src=e}else"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},{}],51:[function(e,t,n){t.exports=function(e,t){"undefined"!=typeof engine?(engine.createHttpClient().createRequest("GET",e,null).start(),t&&setTimeout(t,0)):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()}},{}],52:[function(e,t,n){t.exports.Sr=function(e,t){"function"==typeof setTimeout?t&&setTimeout(function(){t(200)},0):t&&t(200)},t.exports.mr=function(e,t,n){"function"==typeof setTimeout?n&&setTimeout(function(){n(200)},0):n&&n(200)}},{}],53:[function(e,t,n){var i="undefined";n.wr=function(e,t){typeof WinJS!=i&&typeof WinJS.xhr!=i?WinJS.xhr({url:e}).then(function(e){t&&t(e.status)},function(){t&&t()}):"function"==typeof setTimeout?t&&setTimeout(t,0):t&&t()},n.yr=function(e,t,n){typeof WinJS!=i&&typeof WinJS.xhr!=i?WinJS.xhr({type:"post",url:e,data:t,headers:{"Content-type":"application/xml"}}).then(function(e){n&&n(e.status)},function(){n&&n()}):"function"==typeof setTimeout?n&&setTimeout(n,0):n&&n()}},{}],54:[function(e,t,n){function i(){var e,t,n,i,c,l,f,d,p,h,_,g,v,m,E,y,b,S,A,I,T,C,P,O,w,N,R,D,L,B,M,x,k,U,V,G,j,F,H,W,K,Y,q,z,$,X,J,Q,Z,ee,te,ne,ie,re,oe,se,ae=this,ue=500;r.extend(ae,{Pr:function(){return e},Ar:function(t){e=t},setPlaybackIntervalMergeTolerance:function(e){ue=e},getPlaybackIntervalMergeTolerance:function(){return ue},Cr:function(e,t){i[e]=t},kr:function(e){return i[e]},Er:function(e){return null!=i[e]},setLabels:function(e){e&&r.extend(c,e)},getLabels:function(){return c},setLabel:function(e,t){c[e]=t},getLabel:function(e){return c[e]},dt:function(e){return e in c},Tr:function(){return parseInt(ae.kr("ns_st_cn"))},Nr:function(e){ae.Cr("ns_st_cn",e+"")},Lr:function(){return ae.dt("ns_st_pn")?parseInt(ae.getLabel("ns_st_pn")):parseInt(ae.kr("ns_st_pn"))},Dr:function(e,t,o){var c=e,l=parseInt(c.ns_st_po),f=s.jt(c.ns_st_ap)?T:parseInt(c.ns_st_ap);c.ns_st_dap=o&&se<0&&0<g-l?(c.ns_st_ap=f+g-l,f+g-l-C):o&&0<se&&0<l-g?(c.ns_st_ap=f+l-g,f+l-g-C):(c.ns_st_ap=f)-C;var d=s.jt(c.ns_st_pt)?ae.Rr():parseInt(c.ns_st_pt);c.ns_st_pt=d+(isNaN(p)?0:t-p)+"",c.ns_st_dpt=d+(isNaN(p)?0:t-p)-h+"",c.ns_st_ipt=d+(isNaN(p)?0:t-p)-_+"";var v=s.jt(c.ns_st_et)?ae.Mr():parseInt(c.ns_st_et);c.ns_st_et=v+(isNaN(E)?0:t-E)+"",c.ns_st_det=v+(isNaN(E)?0:t-E)-y+"";var m=s.jt(c.ns_st_bt)?ae.Or():parseInt(c.ns_st_bt);c.ns_st_bt=m+"",c.ns_st_dbt=m+(isNaN(k)?0:t-k)-U+"";var b=P,I=O;o&&(b=a.Wr(u(P),se<0?l:w,se<0?w:l,ue),I=a.Wr(u(O),se<0?l:w,se<0?w:l,ue));for(var x,V=0,j=0,F=0;F<b.length;F++)V+=x=Math.abs(b[F].end-b[F].start),j<x&&(j=x);var H=0,K=0;for(F=0;F<I.length;F++)H+=x=Math.abs(I[F].end-I[F].start),K<x&&(K=x);c.ns_st_upc=V+"",c.ns_st_dupc=V-N+"",c.ns_st_iupc=V-R+"",c.ns_st_iupc=R<V?V-R+"":"0",c.ns_st_lpc=j+"",c.ns_st_dlpc=j-D+"",c.ns_st_upa=H+"",c.ns_st_dupa=H-L+"",c.ns_st_iupa=B<H?H-B+"":"0",c.ns_st_lpa=K+"",c.ns_st_dlpa=K-M+"";var Y=s.jt(c.ns_st_pc)?ae.Vr():parseInt(c.ns_st_pc);c.ns_st_pc=Y+"",c.ns_st_dpc=Y-J+"";var q=s.jt(c.ns_st_skc)?ae.xr():parseInt(c.ns_st_skc);c.ns_st_skc=q+"",c.ns_st_dskc=q-Z+"";var $=s.jt(c.ns_st_bc)?ae.Ur():parseInt(c.ns_st_bc);c.ns_st_bc=$+"",c.ns_st_dbc=$-G+"";var X=s.jt(c.ns_st_skt)?ae.Br():parseInt(c.ns_st_skt);c.ns_st_skt=X+"",c.ns_st_dskt=X-W+"";var Q=s.jt(c.ns_st_ska)?ae.Fr():parseInt(c.ns_st_ska);c.ns_st_ska=Q+"",c.ns_st_dska=Q-z+"",n&&(c.ns_st_spc=ee+"",c.ns_st_apc=te+"",c.ns_st_sq=ne+"",c.ns_st_asq=ie+""),c.ns_st_sc=n||0!=re?re+"":"1",c.ns_st_rt=se+"",c.ns_st_ldw=S,c.ns_st_ldo=A,r.extend(c,i)},jr:function(e){h=parseInt(e.ns_st_pt),C=parseInt(e.ns_st_ap),y=parseInt(e.ns_st_et),U=parseInt(e.ns_st_bt),N=parseInt(e.ns_st_upc),D=parseInt(e.ns_st_lpc),L=parseInt(e.ns_st_upa),M=parseInt(e.ns_st_lpa),J=parseInt(e.ns_st_pc),Z=parseInt(e.ns_st_skc),G=parseInt(e.ns_st_bc),W=parseInt(e.ns_st_skt),z=parseInt(e.ns_st_ska),ae.Gr(0)},Kr:function(e){_=parseInt(e.ns_st_pt),R=parseInt(e.ns_st_upc),B=parseInt(e.ns_st_upa)},qr:function(){return ae.kr("ns_st_vt")},Hr:function(e){ae.Cr("ns_st_vt",e+"")},Yr:function(){return ae.kr("ns_st_at")},Jr:function(e){ae.Cr("ns_st_at",e+"")},zr:function(){return ae.kr("ns_st_tt")},Qr:function(e){ae.Cr("ns_st_tt",e+"")},Xr:function(){return ae.kr("ns_st_cdn")},Zr:function(e){ae.Cr("ns_st_cdn",e+"")},$r:function(){return P},no:function(e){P=e},to:function(){return O},eo:function(){X++},io:function(){Q++},ro:function(){ne++},oo:function(){return ne},Or:function(){return x},uo:function(e){x=e},so:function(e){if(!isNaN(k)){var t=ae.Or();t+=e-k,ae.uo(t),k=NaN}},ao:function(e){w=parseInt(e)},fo:function(){return w},co:function(e){isNaN(w)||isNaN(e)||(P=a.Wr(P,se<0?e:w,se<0?w:e,ue),O=a.Wr(O,se<0?e:w,se<0?w:e,ue),w=NaN)},Mr:function(){return m},lo:function(e){m=e},po:function(e){if(!isNaN(E)){var t=ae.Mr();t+=e-E,ae.lo(t),E=NaN}},vo:function(){return E},do:function(e){E=e},ho:function(e){isNaN(p)||(d+=e-p,p=NaN)},Rr:function(){return d},_o:function(e){var t=g+I-A;return!f&&isNaN(p)||(t+=Math.floor((e-v)*se/100)),t},mo:function(e,t){return f?g-e+Math.floor((t-v)*se/100)+I:0},wo:function(e,t){g=e,v=t},yo:function(){return p},bo:function(e){p=e},Io:function(e){h=e},So:function(){return k},Po:function(e){k=e},Vr:function(){return X},Ao:function(e){X=e},xr:function(){return Q},Co:function(e){Q=e},ko:function(e){j=e},Eo:function(){return j},To:function(e){Y=e},No:function(){return Y},Lo:function(e){t=e},Do:function(){return t},Ro:function(e){n=e},Mo:function(){return n},Oo:function(e){F=e},Wo:function(){return F},Vo:function(e){if(!isNaN(F)){var t=ae.Br();t+=e-F,ae.xo(t),F=NaN}},Br:function(){return H},xo:function(e){H=e},Uo:function(e){$=e},Bo:function(){return $},Fo:function(e){K=e},jo:function(){return K},Go:function(e){q=e},Fr:function(){return q},Ko:function(e){var t,n=ae.Fr();n+=Math.abs(e-K),ae.Go(n),K==e?t=0:e<K?t=-1:K<e&&(t=1),ae.Gr(t),K=0},qo:function(){return parseInt(ae.kr("ns_st_skd"))},Gr:function(e){ae.Cr("ns_st_skd",e+"")},Ho:function(){O=[],Z=Q=z=q=W=H=y=m=M=B=L=ne=J=X=G=V=U=x=_=h=d=C=T=0},Yo:function(){ee++},Jo:function(){re++},zo:function(){te++},Qo:function(){return N},Xo:function(e){N=e},Zo:function(){return R},$o:function(e){R=e},nu:function(e){D=e},tu:function(){return D},eu:function(){O=[],M=B=L=0},iu:function(e){ee=e},ru:function(e){re=e},ou:function(e){te=e},uu:function(e){b=e},su:function(){return ee},au:function(){return re},fu:function(){return te},cu:function(){return b},Ur:function(){return V},lu:function(){V++},pu:function(){return U},vu:function(e){ie=e},du:function(){ie++},hu:function(){return ie},_u:function(){return oe},gu:function(e){oe=e},mu:function(e){l=!!e},wu:function(){return l},yu:function(){return se},bu:function(e){se=e},Iu:function(e){se<0&&0<g-e?T+=g-e:0<se&&0<e-g&&(T+=e-g)},Su:function(e){S=e},Pu:function(){return S},Au:function(e){A=e},Cu:function(){return A},ku:function(e){I=e},Eu:function(e){f=e}}),(i={}).ns_st_cl="0",i.ns_st_pn="1",i.ns_st_tp="0",i.ns_st_cn="1",i.ns_st_skd="0",i.ns_st_ci="0",i.c3="*null",i.c4="*null",i.c6="*null",i.ns_st_st="*null",i.ns_st_pu="*null",i.ns_st_pr="*null",i.ns_st_ep="*null",i.ns_st_sn="*null",i.ns_st_en="*null",i.ns_st_ct="*null",t=n=!(c={}),e=o.D,f=!(l=!0),P=[],F=k=w=E=p=NaN,re=ie=ne=te=ee=Z=Q=J=X=z=q=W=H=$=K=G=V=U=x=M=B=L=D=R=N=C=T=I=A=S=_=y=b=m=h=g=d=0,oe=Y=j=!(O=[]),se=100}var r=e(24),o=e(17),s=e(21),a=e(68),u=e(23);i.Tu=function(e,t,n){for(var i=e.getLabels(),r={},o=0;n&&o<n.length;++o)i.hasOwnProperty(n[o])&&(r[n[o]]=i[n[o]]);t.setLabels(r),t.setPlaybackIntervalMergeTolerance(e.getPlaybackIntervalMergeTolerance())},t.exports=i},{17:17,21:21,23:23,24:24,68:68}],55:[function(e,t,n){t.exports={PAGE_NAME_LABEL:"name",HASH_LABELS:["ns_st_st","ns_st_ci","ns_st_pr","ns_st_sn","ns_st_en","ns_st_ep","ns_st_ty","ns_st_ct","ns_st_li","ns_st_ad","ns_st_bn","ns_st_tb","ns_st_an","ns_st_ta","ns_st_pu","c3","c4","c6"]}},{}],56:[function(e,t,n){var i=e(73),r=e(74),o=e(76),s=e(77),a=e(69),u=e(71),c=e(72),l=e(70),f=e(75),d=e(78),p=e(79),h=e(80),_=e(81),g=e(55),v=e(68),m=e(65),E=e(20),y=e(24),b=e(19),S=e(82),A=e(62),I=e(63),T=e(58).Nu,C=e(58).Lu,P=e(58).Du,O=e(61),w=e(60),N=e(59),R=e(18),D=e(66),L=e(17),B=e(2),M="undefined",x="6.2.3.180328";t.exports=function(e){function t(e){var t=V.Mu().Ru();if(t==T.IDLE||t==T.PLAYBACK_NOT_STARTED||t==T.BUFFERING_BEFORE_PLAYBACK||t==T.SEEKING_BEFORE_PLAYBACK){if(e==C.PLAY)return!0}else if(t==T.PLAYING){if(e==C.END||e==C.AD_SKIP||e==C.SEEK_START||e==C.PAUSE)return!0}else if(t==T.PAUSED||t==T.BUFFERING_DURING_PAUSE||t==T.SEEKING_DURING_PLAYBACK||t==T.SEEKING_DURING_BUFFERING||t==T.SEEKING_DURING_PAUSE){if(e==C.END||e==C.AD_SKIP||e==C.PLAY)return!0}else if(t==T.BUFFERING_DURING_PLAYBACK){if(e==C.PAUSE_ON_BUFFERING||e==C.END||e==C.AD_SKIP||e==C.SEEK_START||e==C.PAUSE||e==C.PLAY)return!0}else if(t==T.BUFFERING_DURING_SEEKING){if(e==C.END||e==C.AD_SKIP||e==C.PAUSE||e==C.PLAY)return!0}else if(t==T.PAUSED_DURING_BUFFERING&&(e==C.END||e==C.AD_SKIP||e==C.BUFFER_STOP||e==C.PLAY))return!0;return!1}function n(){Ee||(Ee=!0,S.Ou(k))}function k(e){fe=e,ye=!0}function U(){var e={},t=v.Wu(e);de.Vu(C.END,t,e)}var V,G,j,F,H,W,K,Y,q,z,$,X,J,Q,Z,ee,te,ne,ie,re,oe,se,ae,ue,ce,le,fe,de=this,pe={},he=500,_e=500,ge={},ve=!1,me=!0,Ee=!1,ye=!1;y.extend(de,{getConfiguration:function(){return e||{}},Dr:function(e,t,n){var i=V.getPlaybackSession(),r=i.getAsset(),o=!1;if(e==C.HEARTBEAT){var s=isNaN(ne)?te:ne;((ne=n)<s||ye)&&(ye=!(o=!0),n<s?(i.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(i.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(i.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),n=s)}var a={};if(ve&&(a.c2=ce),typeof document!=M){var u=document;a.c7=u.URL,a.c8=u.title,a.c9=u.referrer}a.ns_ts=+new Date+"",a.ns_st_ev=C.toString(e),a.ns_st_mp="js_api",a.ns_st_mv=x,a.ns_st_ub="0",a.ns_st_br="0",a.ns_st_pn="1",a.ns_st_tp="0",a.ns_st_it=P.toString(P.Bu),a.ns_st_sv=x,a.ns_st_smv="5.10",a.ns_type="hidden",a.ns_st_ec=V.ju().Fu()+"",a.ns_st_ki=V.S().Gu()+"",t.ns_st_po?a.ns_st_po=t.ns_st_po+"":r.wu()?a.ns_st_po=r._o(n)+"":a.ns_st_po=le+"",le=parseInt(a.ns_st_po),i.Dr(a,n),i.getAsset().Dr(a,n,e==C.HEARTBEAT);var c={};return y.extend(c,ge),y.extend(c,i.getLabels()),y.extend(c,i.getAsset().getLabels()),y.extend(c,t),o&&(r.wo(le,ne),i.bo(ne-parseInt(a.ns_st_dpt)),r.bo(ne-parseInt(a.ns_st_dpt)),r.do(ne-parseInt(a.ns_st_det))),{Wt:e,Ut:a,Ku:c}},Vu:function(i,r,o,s){de.qu();var a=V.Mu().Ru(),u=V.Mu().Hu(i);if(null!=u&&u!=a)if(!de.isThrottlingEnabled()||a!=T.PLAYING&&a!=T.PAUSED||u!=T.PLAYING&&u!=T.PAUSED||s){var c,l;e.systemClockJumpDetection&&(u==T.IDLE?(S.Yu(k),Ee=!1):a==T.IDLE&&n()),me&&v.Ju(a)&&!v.Ju(u)?A.zu(U):me&&!v.Ju(a)&&v.Ju(u)&&A.Qu(U);var f=V.getPlaybackSession(),d=f.getAsset(),p=isNaN(ne)?te:ne,h=!1;((ne=r)<p||ye)&&(ye=!(h=!0),r<p?(f.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(f.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(f.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),r=p),o.ns_st_po?V.Mu().Ru()==T.IDLE?d.Au(d.Pu()-parseInt(o.ns_st_po)):d.Au(d.mo(parseInt(o.ns_st_po),r)):d.wu()?V.Mu().Ru()==T.IDLE?o.ns_st_po=d.Pu()-d.Cu()+"":o.ns_st_po=d._o(r)+"":o.ns_st_po=le+"";var _,g,m,E,y=parseInt(o.ns_st_po);le=y,_=i,g=r,m=o,E=V.Mu().Ru(),_==C.AD_SKIP&&!m.hasOwnProperty("ns_st_ui")&&t(_)?m.ns_st_ui="skip":_==C.SEEK_START&&!m.hasOwnProperty("ns_st_ui")&&t(_)&&(m.ns_st_ui="seek"),E==T.IDLE?_==C.BUFFER?G.Xu(g,m):_==C.SEEK_START?G.Zu(g,m):_==C.PLAY&&G.$u(g,m):E==T.PLAYBACK_NOT_STARTED?_==C.END||_==C.AD_SKIP?F.ns(g,m):_==C.SEEK_START?F.Zu(g,m):_==C.PLAY?F.$u(g,m):_==C.BUFFER&&F.Xu(g,m):E==T.PLAYING?_==C.END||_==C.AD_SKIP?H.ns(g,m):_==C.BUFFER?H.Xu(g,m):_==C.SEEK_START?H.Zu(g,m):_==C.PAUSE&&H.ts(g,m):E==T.PAUSED?_==C.END||_==C.AD_SKIP?j.ns(g,m):_==C.PLAY?j.$u(g,m):_==C.BUFFER?Q.es(g,m):_==C.SEEK_START&&Q.rs(g,m):E==T.BUFFERING_BEFORE_PLAYBACK?_==C.END||_==C.AD_SKIP?W.ns(g,m):_==C.BUFFER_STOP?W.os(g,m):_==C.SEEK_START?W.Zu(g,m):_==C.PAUSE?W.ts(g,m):_==C.PLAY&&W.$u(g,m):E==T.BUFFERING_DURING_PLAYBACK?_==C.PAUSE_ON_BUFFERING?K.us(g,m):_==C.BUFFER_STOP?Q.ss(g,m):_==C.END||_==C.AD_SKIP?K.ns(g,m):_==C.SEEK_START?K.Zu(g,m):_==C.PAUSE?K.ts(g,m):_==C.PLAY&&Q.ss(g,m):E==T.BUFFERING_DURING_SEEKING?_==C.END||_==C.AD_SKIP?Y.ns(g,m):_==C.PAUSE?Y.ts(g,m):_==C.PLAY?Y.$u(g,m):_==C.BUFFER_STOP&&Q.as(g,m):E==T.BUFFERING_DURING_PAUSE?_==C.END||_==C.AD_SKIP?q.fs(g,m):_==C.PAUSE?q.ts(g,m):_==C.PLAY?q.$u(g,m):_==C.SEEK_START?Q.rs(g,m):_==C.BUFFER_STOP&&Q.as(g,m):E==T.SEEKING_BEFORE_PLAYBACK?_==C.END||_==C.AD_SKIP?$.ns(g,m):_==C.PAUSE?$.ts(g,m):_==C.PLAY?$.$u(g,m):_==C.BUFFER&&Q.es(g,m):E==T.SEEKING_DURING_PLAYBACK?_==C.END||_==C.AD_SKIP?J.ns(g,m):_==C.PLAY?J.$u(g,m):_==C.BUFFER?Q.es(g,m):_==C.PAUSE&&Q.cs(g,m):E==T.SEEKING_DURING_BUFFERING?_==C.PAUSE?X.ts(g,m):_==C.BUFFER?Q.es(g,m):_==C.PLAY?Q.ls(g,m):_==C.END||_==C.AD_SKIP?Q.ps(g,m):_==C.BUFFER_STOP&&Q.vs(g,m):E==T.PAUSED_DURING_BUFFERING?_==C.END||_==C.AD_SKIP?z.ns(g,m):_==C.BUFFER_STOP?z.ds(g,m):_==C.SEEK_START?z.Zu(g,m):_==C.PAUSE?z.ts(g,m):_==C.PLAY&&z.ds(g,m):E==T.SEEKING_DURING_PAUSE&&(_==C.BUFFER?Q.es(g,m):_==C.PLAY?Q.ls(g,m):_==C.PAUSE?Q.cs(g,m):_==C.END||_==C.AD_SKIP?Q.ps(g,m):_==C.BUFFER_STOP&&Q.vs(g,m)),t(_)&&V.getPlaybackSession().hs(!0),d.wo(y,r),d.ku(d.Cu());var b=0;isNaN(V.Mu()._s())||(b=r-V.Mu()._s()),V.Mu().Vu(i,r),h&&(d.wo(y,ne),u!=T.IDLE&&u!=T.PLAYBACK_NOT_STARTED&&u!=T.SEEKING_BEFORE_PLAYBACK&&u!=T.BUFFERING_BEFORE_PLAYBACK&&d.do(ne),u!=T.BUFFERING_BEFORE_PLAYBACK&&u!=T.BUFFERING_DURING_PAUSE&&u!=T.BUFFERING_DURING_PLAYBACK&&u!=T.BUFFERING_DURING_SEEKING&&u!=T.PAUSED_DURING_BUFFERING||(f.Po(ne),d.Po(ne)),u==T.PLAYING&&(f.bo(ne),d.bo(ne)),u!=T.SEEKING_BEFORE_PLAYBACK&&u!=T.SEEKING_DURING_BUFFERING&&u!=T.SEEKING_DURING_PAUSE&&u!=T.SEEKING_DURING_PLAYBACK&&u!=T.BUFFERING_DURING_SEEKING||d.Oo(ne)),V.Uu().log("Transition from",v.gs(a),"to",v.gs(u),"due to event:",C.toString(i));for(var I=0,P=ae.length;I<P;I++)ae[I](a,u,o,b)}else{V.Uu().$t("Throttled event:",C.toString(i),"during state",v.gs(a),o,de.getThrottlingDelay(),"ms");var O=(c=i,l=o,function(){de.Vu(c,r,l,!0)});se=de.getPlatformAPI().setTimeout(O,de.getThrottlingDelay())}else V.Uu().$t("Ignored event:",C.toString(i),"during state",v.gs(a),o)},ms:function(e,t,n){var i=V.Mu().Ru();if(e!=C.LOAD&&e!=C.ENGAGE||i==T.IDLE){e==C.ERROR&&null==n.ns_st_er&&(n.ns_st_er=L.D),e==C.TRANSFER&&null==n.ns_st_rp&&(n.ns_st_rp=L.D);var r,o,s,a,u=!0,c=!1;switch(e){case C.BIT_RATE:r="ns_st_br",o="ns_st_pbr";break;case C.PLAYBACK_RATE:r="ns_st_rt",o="ns_st_prt";break;case C.VOLUME:r="ns_st_vo",o="ns_st_pvo";break;case C.WINDOW_STATE:r="ns_st_ws",o="ns_st_pws";break;case C.AUDIO:r="ns_st_at",o="ns_st_pat";break;case C.VIDEO:r="ns_st_vt",o="ns_st_pvt";break;case C.SUBS:r="ns_st_tt",o="ns_st_ptt";break;case C.CDN:r="ns_st_cdn",o="ns_st_pcdn";break;default:u=!1}var l=V.getPlaybackSession(),f=l.getAsset();if(u&&r in n)switch(a=n[r],e){case C.BIT_RATE:case C.VOLUME:case C.WINDOW_STATE:r in ge&&(s=ge[r],c=a==(n[o]=s)+""),ge[r]=n[r];break;case C.AUDIO:case C.VIDEO:case C.SUBS:case C.CDN:f.Er(r)&&(s=f.kr(r),c=a==(n[o]=s)+""),f.Cr(r,n[r]);break;case C.PLAYBACK_RATE:s=f.yu(),n[o]=s+""}if(u&&i!=T.PLAYING&&i!=T.BUFFERING_DURING_PLAYBACK||u&&c)return e==C.PLAYBACK_RATE&&f.bu(parseInt(n.ns_st_rt)),void V.Uu().$t("No measurement send for the pseudo-event:",C.toString(e),"during state",v.gs(i),n);var d=isNaN(ne)?te:ne,p=!1;((ne=t)<d||ye)&&(ye=!(p=!0),t<d?(l.xu("1"),V.Uu().$t("System clock jump detected","to the far past")):fe?(l.xu("3"),V.Uu().$t("System clock jump detected","to the future")):(l.xu("2"),V.Uu().$t("System clock jump detected","to the near past")),t=d),n.ns_st_po?f.Au(f.mo(parseInt(n.ns_st_po),t)):f.wu()?n.ns_st_po=f._o(t)+"":n.ns_st_po=le+"";var h=parseInt(n.ns_st_po);le=h,V.getPlaybackSession().getAsset().wo(h,t),f.ku(f.Cu()),i!=T.IDLE&&i!=T.PLAYBACK_NOT_STARTED&&i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.BUFFERING_BEFORE_PLAYBACK&&(f.po(t),f.do(t)),i==T.PLAYING&&(l.ho(t),l.bo(t),f.ho(t),f.bo(t),f.Iu(h),f.co(parseInt(n.ns_st_po)),f.ao(parseInt(n.ns_st_po))),i!=T.BUFFERING_BEFORE_PLAYBACK&&i!=T.BUFFERING_DURING_PAUSE&&i!=T.BUFFERING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING||(l.so(t),l.Po(t),f.so(t),f.Po(t));var _=de.Dr(e,n,t);f.jr(_.Ut),f.Kr(_.Ut),V.ju().Vu(_),e==C.PLAYBACK_RATE&&f.bu(parseInt(n.ns_st_rt)),p&&(f.wo(h,ne),i==T.PLAYING&&(l.bo(ne),f.bo(ne)),i!=T.IDLE&&i!=T.PLAYBACK_NOT_STARTED&&i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.BUFFERING_BEFORE_PLAYBACK&&f.do(ne),i!=T.BUFFERING_BEFORE_PLAYBACK&&i!=T.BUFFERING_DURING_PAUSE&&i!=T.BUFFERING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING&&i!=T.PAUSED_DURING_BUFFERING||(l.Po(ne),f.Po(ne)),i!=T.SEEKING_BEFORE_PLAYBACK&&i!=T.SEEKING_DURING_BUFFERING&&i!=T.SEEKING_DURING_PAUSE&&i!=T.SEEKING_DURING_PLAYBACK&&i!=T.BUFFERING_DURING_SEEKING||f.Oo(ne))}else V.Uu().$t("Ignored pseudo-event:",C.toString(e),"during state",v.gs(i),n)},getState:function(){return V.Mu().Ru()},addListener:function(e){ae.push(e)},removeListener:function(e){ae.splice(b.indexOf(e,ae),1)},getLabel:function(e){return ge[e]},getLabels:function(){return ge},setLabel:function(e,t){null==t?delete ge[e]:ge[e]=t},setLabels:function(e){for(var t in e)e.hasOwnProperty(t)&&de.setLabel(t,e[t])},getPlatformAPI:function(){return V.ws().getPlatformAPI()},ys:function(){return pe},isProperlyInitialized:function(){var e=V.ws().Wn(),t=V.ws().g(),n=V.ws().getPixelURL();return e&&n&&t},setThrottlingDelay:function(e){_e=e},getThrottlingDelay:function(){return _e},isThrottlingEnabled:function(){return oe},setThrottlingEnabled:function(e){oe=e},bs:function(){return Z},Is:function(e){Z=e},getLoadTimeOffset:function(){return ee},setLoadTimeOffset:function(e){ee=e},Ss:function(){return te},setPauseOnBufferingInterval:function(e){he=e},getPauseOnBufferingInterval:function(){return he},isPauseOnBufferingEnabled:function(){return ie},setPauseOnBufferingEnabled:function(e){ie=e},setExitEndEventEnabled:function(e){if(me!=e){var t=V.Mu().Ru();e||v.Ju(t)?e&&!v.Ju(t)&&A.zu(U):A.Qu(U)}me=e},isExitEndEventEnabled:function(){return me},Ps:function(e,t){de.As(),re=de.getPlatformAPI().setTimeout(function(){var e={},n=v.Wu(e),i=parseInt(t.ns_st_po);e.ns_st_po=i+"",de.Vu(C.PAUSE_ON_BUFFERING,n,e)},he)},As:function(){null!=re&&(de.getPlatformAPI().clearTimeout(re),re=null)},qu:function(){se&&(de.getPlatformAPI().clearTimeout(se),se=null)},setLiveEndpointURL:function(e){if(null==e||0==e.length)return null;var t=decodeURIComponent||unescape,n=e.indexOf("?");if(0<=n){if(n<e.length-1){for(var i=e.substring(n+1).split("&"),r=0,o=i.length;r<o;r++){var s=i[r].split("=");2==s.length?de.setLabel(s[0],t(s[1])):1==s.length&&de.setLabel(g.PAGE_NAME_LABEL,t(s[0]))}e=e.substring(0,n+1)}}else e+="?";return ue=e},getLiveEndpointURL:function(){return ue||(typeof ns_p!==M&&"string"==typeof ns_p.src?ue=ns_p.src.replace(/&amp;/,"&").replace(/&ns__t=\d+/,""):"string"==typeof ns_pixelUrl?ue=ns_pixelUrl.replace(/&amp;/,"&").replace(/&ns__t=\d+/,""):null)},Cs:function(){return V},ks:function(e){var t=V.getPlaybackSession();V.Es(new I(V)),I.ks(V,t,e)},Ts:function(){V.Ns().pause();var e=V.Ns().Ls();V.Ds(new w(V)),V.Ns().Rs(e)},getVersion:function(){return x}}),function(){if((V=new m(de)).Ms(B.getCore()),V.Os(new O(V)),V.Ds(new w(V)),V.Ws(new N(V)),V.Vs(new D),V.xs(new R("STA",e.debug)),V.Es(new I(V)),G=new i(V),j=new r(V),F=new o(V),H=new s(V),W=new a(V),K=new u(V),Y=new c(V),q=new l(V),z=new f(V),$=new d(V),X=new p(V),J=new h(V),Q=new _(V),Z=!1,ee=0,te=+new Date,oe=!(ie=!0),ae=[],e.publisherId){ve=!0,ce=e.publisherId+"";var t=(("secure"in e?e.secure:V.ws()&&V.ws().isProperlyInitialized()?V.ws().isSecure():v.fe()&&E.ce())?"https://web.archive.org/web/20190701112059/https://sb":"http://b")+".scorecardresearch.com/p?c1=2";de.setLiveEndpointURL(t)}e.liveEndpointURL&&de.setLiveEndpointURL(e.liveEndpointURL),e.systemClockJumpDetection&&(S.setPlatformAPI(de.getPlatformAPI()),e.systemClockJumpDetectionInterval?S.Us(parseInt(e.systemClockJumpDetectionInterval),!0):S.Us(),e.systemClockJumpDetectionPrecision?S.Bs(parseInt(e.systemClockJumpDetectionPrecision),!0):S.Bs(),n())}()}},{17:17,18:18,19:19,2:2,20:20,24:24,55:55,58:58,59:59,60:60,61:61,62:62,63:63,65:65,66:66,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82}],57:[function(e,t,n){var i,r,o=e(20),s=e(4),a="undefined";r=o.fe()?(i=window,document):(i={},{location:{href:""},title:"",URL:"",referrer:"",cookie:""}),t.exports=function(e,t){for(var n,u=i.encodeURIComponent||escape,c=[],l=s.k,f=e.split("?"),d=f[0],p=f[1].split("&"),h=0,_=p.length;h<_;h++){var g=p[h].split("="),v=unescape(g[0]),m=unescape(g[1]);v&&(t[v]=m)}for(var E={},y=0,b=l.length;y<b;y++){var S=l[y];if(t.hasOwnProperty(S)){var A=t[S];typeof A!==a&&null!=A&&(E[S]=!0,c.push(u(S)+"="+u(t[S])))}}for(var I in t)if(t.hasOwnProperty(I)){if(E[I])continue;var T=t[I];typeof T!==a&&null!=T&&c.push(u(I)+"="+u(t[I]))}n=(n=d+"?"+c.join("&"))+(n.indexOf("&c8=")<0?"&c8="+u(r.title):"")+(n.indexOf("&c7=")<0?"&c7="+u(r.URL):"")+(n.indexOf("&c9=")<0?"&c9="+u(r.referrer):"");var C=o.Jt()?s.A:s.P;if(n.length>C&&0<n.indexOf("&")){var P=n.substr(0,C-8).lastIndexOf("&");n=(n.substring(0,P)+"&ns_cut="+u(n.substring(P+1))).substr(0,C)}return n}},{20:20,4:4}],58:[function(e,t,n){var i,r,o=(i=["play","pause","pause-on-buffering","end","buffer","buffer-stop","keep-alive","hb","custom","load","start","skstart","adskip","cta","error","trans","drmfa","drmap","drmde","bitrt","playrt","volume","window","audio","video","subs","cdn"],{PLAY:0,PAUSE:1,PAUSE_ON_BUFFERING:2,END:3,BUFFER:4,BUFFER_STOP:5,KEEPALIVE:6,HEARTBEAT:7,CUSTOM:8,LOAD:9,ENGAGE:10,SEEK_START:11,AD_SKIP:12,CTA:13,ERROR:14,TRANSFER:15,DRM_FAILED:16,DRM_APPROVED:17,DRM_DENIED:18,BIT_RATE:19,PLAYBACK_RATE:20,VOLUME:21,WINDOW_STATE:22,AUDIO:23,VIDEO:24,SUBS:25,CDN:26,toString:function(e){return i[e]}}),s=(r=["c","s","r"],{Bu:0,Fs:1,js:2,toString:function(e){return r[e]}});t.exports.Lu=o,t.exports.Nu={IDLE:0,PLAYBACK_NOT_STARTED:1,PLAYING:2,PAUSED:3,BUFFERING_BEFORE_PLAYBACK:4,BUFFERING_DURING_PLAYBACK:5,BUFFERING_DURING_SEEKING:6,BUFFERING_DURING_PAUSE:7,SEEKING_BEFORE_PLAYBACK:8,SEEKING_DURING_PLAYBACK:9,SEEKING_DURING_BUFFERING:10,SEEKING_DURING_PAUSE:11,PAUSED_DURING_BUFFERING:12},t.exports.Du=s},{}],59:[function(e,t,n){var i=e(24),r=e(57),o=e(58).Lu;t.exports=function(e){var t,n,s=this,a=[];i.extend(this,{Vu:function(t){for(var u=i.extend({},t.Ut,t.Ku),c=0;c<a.length;++c)a[c](u);!function(t){n=i.extend({},t);var o=e.Gs().getLiveEndpointURL();e.Gs().isProperlyInitialized()?e.ws().nt(t,o):o&&e.Gs().getPlatformAPI().httpGet(r(o,t))}(u),t.Wt!=o.HEARTBEAT&&s.Ks()},addMeasurementListener:function(e){"function"==typeof e&&a.push(e)},removeMeasurementListener:function(e){for(var t=NaN,n=0;n<a.length;++n)if(a[n]==e){t=n;break}isNaN(t)||a.splice(t,1)},Fu:function(){return t},Ks:function(){t++},qs:function(e){t=e},Hs:function(){return n}}),t=1}},{24:24,57:57,58:58}],60:[function(e,t,n){var i=e(58).Lu,r=e(68),o=e(24),s=[{Ys:6e4,interval:1e4},{Ys:null,interval:6e4}];t.exports=function(e){function t(){c++;var t={},n=r.Wu(t);t.ns_st_hc=e.Ns().Js()+"";var o=e.Gs().Dr(i.HEARTBEAT,t,n);e.getPlaybackSession().getAsset().Kr(o.Ut),e.ju().Vu(o),u=0,l.resume()}function n(){null!=a&&(e.Gs().getPlatformAPI().clearTimeout(a),a=null)}var a,u,c,l=this,f=s;o.extend(this,{Js:function(){return c},Rs:function(e){f=e},Gu:function(e){var t=0;if(null!=f)for(var n=0;n<f.length;n++){var i=f[n],r=i.Ys;if(!r||e<r){t=i.interval;break}}return t},Ls:function(){return f},resume:function(){n();var i=l.Gu(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()));if(0<i){var r=0<u?u:i;a=e.Gs().getPlatformAPI().setTimeout(t,r)}u=0},pause:function(){n();var t=l.Gu(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()));u=t-(e.getPlaybackSession().getAsset().Rr()+(+new Date-e.getPlaybackSession().getAsset().yo()))%t}}),c=u=0}},{24:24,58:58,68:68}],61:[function(e,t,n){var i=e(58).Lu,r=e(24),o=e(68);t.exports=function(e){function t(){var t={},n=o.Wu(t);e.Gs().ms(i.KEEPALIVE,n,t),a.start()}function n(){null!=s&&(e.Gs().getPlatformAPI().clearTimeout(s),s=null)}var s,a=this,u=12e5;r.extend(a,{start:function(){n(),s=e.Gs().getPlatformAPI().setTimeout(t,u)},stop:n,setInterval:function(e){u=e},Gu:function(){return u}})}},{24:24,58:58,68:68}],62:[function(e,t,n){function i(){for(var e=0;e<o.length;++e)o[e]()}var r=e(20),o=[],s=!1;t.exports={zu:function(e){o.push(e),s||r.fe()&&(window.addEventListener?(window.addEventListener("unload",i,!1),s=!0):window.attachEvent&&(window.attachEvent("onunload",i),s=!0))},Qu:function(e){for(var t=0;t<o.length;++t)if(o[t]==e){o.splice(t,1);break}0==o.length&&r.fe()&&(window.removeEventListener?(window.removeEventListener("unload",i,!1),s=!1):window.detachEvent&&(window.detachEvent("onunload",i),s=!1))}}},{20:20}],63:[function(e,t,n){function i(e){var t,n,i,f,d,p,h,_,g,v,m,E,y,b,S,A,I=this;r.extend(this,{Tu:function(){var e=t;t=new o,o.Tu(e,t)},zs:function(e){return null!=_[e]},Qs:function(e){_[e]={}},Xs:function(e){delete _[e]},Zs:function(){for(var e in _)if(_.hasOwnProperty(e)&&_[e].$s===t.Tr()){r.extend(_[e],{na:t.su(),ta:t.au(),ea:t.fu(),ia:t.cu(),seeking:t.Eo(),ra:t.Bo(),oa:t.jo(),ua:t.$r(),sa:t.qr(),aa:t.Yr(),fa:t.zr(),ca:t.Xr(),la:t.hu(),pa:t.Qo(),va:t.Zo(),da:t.tu()});break}},ha:function(e){return _[e]},Tr:function(e){return _[e].$s},_a:function(){return g},ga:function(e,t){_[e].$s=t,g<t&&(g=t)},setLabels:function(e){null!=e&&r.extend(p,e)},getLabels:function(){return p},setLabel:function(e,t){var n={};n[e]=t,I.setLabels(n)},getLabel:function(e){return p[e]},getAsset:function(){return t},xu:function(e){for(var t=0;t<A.length;++t)if(A[t]==e)return;A.push(e)},Dr:function(e,n){var i=e,o=a.jt(i.ns_st_pa)?I.Rr():parseInt(i.ns_st_pa);i.ns_st_pa=o+(isNaN(f)?0:n-f)+"",i.ns_st_pp=y+"",i.ns_st_sp=b+"",i.ns_st_bp=S+"",v||(i.ns_st_pb=null!=i.ns_st_pb?i.ns_st_pb:"1"),t.Mo()&&(i.ns_st_ppc=m+"",i.ns_st_psq=E+""),0<A.length&&(i.ns_st_ie=(i.ns_st_ie?i.ns_st_ie+";":"")+A.join(";")),r.extend(i,d)},ro:function(){b++},eo:function(){y++},ho:function(e){if(!isNaN(f)){var t=I.Rr();t+=e-f,I.ma(t),f=NaN}},so:function(e){if(!isNaN(n)){var t=I.Or();t+=e-n,I.uo(t),n=NaN}},Or:function(){return S},uo:function(e){S=e},Rr:function(){return i},Po:function(e){n=e},So:function(){return n},ma:function(e){i=e},bo:function(e){f=e},yo:function(){return f},Vr:function(){return y},Ao:function(e){y=e},wa:function(){return h},ya:function(e){h=e},ba:function(){return m},Ia:function(){m++},hs:function(e){v=e},vu:function(e){E=e},du:function(){E++},Sa:function(){return d.ns_st_id},setAsset:function(t,n){e.Uu().Zt("setAsset",t,n),t=s.Pa(t);var i=e.Mu().Ru();if(i!=c.IDLE){e.Uu().$t("Ending the current Clip. It was in state:",s.gs(i));var r={};e.Gs().Vu(l.END,s.Wu(r),r)}var o="",f=0;if(null!=t.ns_st_cn)o=t.ns_st_cn;else for(var d=0;d<u.length;d++)t[u[d]]&&(o+=u[d]+":"+t[u[d]]+";");var p=I,h=p.getAsset();f=h.Do()?(p.zs(h.Pr())||(p.Qs(h.Pr()),p.ga(h.Pr(),h.Tr())),p.Zs(),p.zs(o)?p.Tr(o):a.tn(t.ns_st_cn)?parseInt(t.ns_st_cn):p._a()+1):p.zs(o)?p.Tr(o):h.Tr(),p.Tu(),(h=p.getAsset()).Ar(o),h.Nr(f),h.setLabels(t);var _=p.ha(o);_&&(h.Lo(!0),h.iu(_.na),h.ru(_.ta),h.ou(_.ea),h.uu(_.ia),h.ko(_.seeking),h.Uo(_.ra),h.Fo(_.oa),h.no(_.ua),_.sa&&h.Hr(_.sa),_.aa&&h.Jr(_.aa),_.fa&&h.Qr(_.fa),_.ca&&h.Zr(_.ca),h.vu(_.la),h.Xo(_.pa),h.$o(_.va),h.nu(_.da)),h.Jo(),h.Do()&&n&&p.ro(),n&&(p.vu(0),h.gu(!0)),!a.tn(t.ns_st_tp)&&a.tn(t.ns_st_ad)&&a.lt(t.ns_st_ad)&&"0"!==t.ns_st_ad&&h.Cr("ns_st_tp","1")}}),t=new o,(d={}).ns_st_id=+new Date+"",p={},f=n=NaN,v=h=!(_={}),b=1,S=E=y=m=g=i=0,A=[]}var r=e(24),o=e(54),s=e(68),a=e(21),u=e(55).HASH_LABELS,c=e(58).Nu,l=e(58).Lu;i.ks=function(e,t,n){for(var i=t.getAsset(),r=t.getLabels(),s={},a=0;n&&a<n.length;a++)r.hasOwnProperty(n[a])&&(s[n[a]]=r[n[a]]);e.getPlaybackSession().setLabels(s),o.Tu(i,e.getPlaybackSession().getAsset(),n)},t.exports=i},{21:21,24:24,54:54,55:55,58:58,68:68}],64:[function(e,t,n){var i={LongFormOnDemand:"12",ShortFormOnDemand:"11",Live:"13",UserGeneratedLongFormOnDemand:"22",UserGeneratedShortFormOnDemand:"21",UserGeneratedLive:"23",Bumper:"99",Other:"00"},r={LinearOnDemandPreRoll:"11",LinearOnDemandMidRoll:"12",LinearOnDemandPostRoll:"13",LinearLive:"21",BrandedOnDemandPreRoll:"31",BrandedOnDemandMidRoll:"32",BrandedOnDemandPostRoll:"33",BrandedOnDemandContent:"34",BrandedOnDemandLive:"35",Other:"00"},o=e(67),s=e(58).Nu,a=e(58).Du,u=e(55).HASH_LABELS,c=e(21),l=e(24),f=e(18),d=function(e){function t(e){g.getPlaybackSession().setAsset(e),p=e,g.notifyPlay()}function n(e){var t=e||{};t.ns_st_ad="1",t.ns_st_an=++h+"",g.getPlaybackSession().setAsset(t),g.notifyPlay(),_=!1}function d(e,n){m==v.Aa&&(m=n),_&&m==n&&function(e){for(var t in u)if(u.hasOwnProperty(t)&&(n=u[t],i=p,r=e,!(c.tn(n)&&c.tn(i)&&c.tn(r)&&(i.hasOwnProperty(n)&&r.hasOwnProperty(n)&&i[n]===r[n]||!i.hasOwnProperty(n)&&!r.hasOwnProperty(n)))))return!1;var n,i,r;return!0}(e)?(g.getPlaybackSession().getAsset().setLabels(e),g.getState()!=s.PLAYING&&g.notifyPlay()):t(e),_=!0,m=n}var p=null,h=0,_=!1,g=null,v={Aa:0,Ca:1,ka:2},m=v.Aa,E=new f("TTSTA",(e||{}).debug);l.extend(this,{playVideoAdvertisement:function(e,t){E.Zt("playVideoAdvertisement",e,t);var i={ns_st_ct:"va"};t?i.ns_st_ct="va"+t:E.warn("Calling 'playVideoAdvertisement' without specifying the media type as a second parameter."),t!=r.LinearLive&&t!=r.BrandedOnDemandLive||(i.ns_st_li="1"),e&&l.extend(i,e),n(i)},playAudioAdvertisement:function(e,t){E.Zt("playAudioAdvertisement",e,t);var i={ns_st_ct:"aa"};t?i.ns_st_ct="aa"+t:E.warn("Calling 'playAudioAdvertisement' without specifying the media type as a second parameter."),t!=r.LinearLive&&t!=r.BrandedOnDemandLive||(i.ns_st_li="1"),e&&l.extend(i,e),n(i)},playVideoContentPart:function(e,t){E.Zt("playVideoContentPart",e,t);var n={ns_st_ct:"vc"};t?n.ns_st_ct="vc"+t:E.warn("Calling 'playVideoContentPart' without specifying the media type as a second parameter."),t!=i.Live&&t!=i.UserGeneratedLive||(n.ns_st_li="1"),e&&l.extend(n,e),d(n,v.ka)},playAudioContentPart:function(e,t){E.Zt("playAudioContentPart",e,t);var n={ns_st_ct:"ac"};t?n.ns_st_ct="ac"+t:E.warn("Calling 'playAudioContentPart' without specifying the media type as a second parameter."),t!=i.Live&&t!=i.UserGeneratedLive||(n.ns_st_li="1"),e&&l.extend(n,e),d(n,v.Ca)},stop:function(){E.Zt("stop"),g.notifyPause()}}),(g=new o(e)).setLabel("ns_st_it",a.toString(a.js))};d.ContentType=i,d.AdType=r,t.exports=d},{18:18,21:21,24:24,55:55,58:58,67:67}],65:[function(e,t,n){var i=e(24);t.exports=function(e){var t,n,r,o,s,a,u;i.extend(this,{ws:function(){return t},Gs:function(){return e},ju:function(){return n},Mu:function(){return r},Ns:function(){return o},S:function(){return s},getPlaybackSession:function(){return a},Uu:function(){return u},Ms:function(e){t=e},Os:function(e){s=e},Ds:function(e){o=e},Ws:function(e){n=e},Vs:function(e){r=e},Es:function(e){a=e},xs:function(e){u=e}})}},{24:24}],66:[function(e,t,n){var i=e(58).Nu,r=e(24),o=e(58).Lu;t.exports=function(e){var t,n,s,a=this;r.extend(a,{Hu:function(e){if(s==i.IDLE){if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK}else if(s==i.PLAYBACK_NOT_STARTED){if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK;if(e==o.END||e==o.AD_SKIP)return i.IDLE}else if(s==i.PLAYING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.BUFFER)return i.BUFFERING_DURING_PLAYBACK;if(e==o.PAUSE)return i.PAUSED;if(e==o.SEEK_START)return i.SEEKING_DURING_PLAYBACK}else if(s==i.PAUSED){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.BUFFER)return i.BUFFERING_DURING_PAUSE;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_DURING_PAUSE}else if(s==i.BUFFERING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_BEFORE_PLAYBACK}else if(s==i.BUFFERING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY||e==o.BUFFER_STOP)return i.PLAYING;if(e==o.PAUSE_ON_BUFFERING)return i.PAUSED_DURING_BUFFERING;if(e==o.SEEK_START)return i.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return i.PAUSED}else if(s==i.BUFFERING_DURING_SEEKING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.BUFFER_STOP)return i.SEEKING_DURING_PLAYBACK;if(e==o.PAUSE)return i.PAUSED}else if(s==i.BUFFERING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.SEEK_START)return i.SEEKING_DURING_PAUSE;if(e==o.BUFFER_STOP||e==o.PAUSE)return i.PAUSED}else if(s==i.SEEKING_BEFORE_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PAUSE)return i.PLAYBACK_NOT_STARTED;if(e==o.PLAY)return i.PLAYING;if(e==o.BUFFER)return i.BUFFERING_BEFORE_PLAYBACK}else if(s==i.SEEKING_DURING_PLAYBACK){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_SEEKING}else if(s==i.SEEKING_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_SEEKING}else if(s==i.SEEKING_DURING_PAUSE){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.PLAY)return i.PLAYING;if(e==o.PAUSE||e==o.BUFFER_STOP)return i.PAUSED;if(e==o.BUFFER)return i.BUFFERING_DURING_PAUSE}else if(s==i.PAUSED_DURING_BUFFERING){if(e==o.END||e==o.AD_SKIP)return i.IDLE;if(e==o.SEEK_START)return i.SEEKING_DURING_BUFFERING;if(e==o.PAUSE)return i.PAUSED;if(e==o.PLAY||e==o.BUFFER_STOP)return i.PLAYING}return null},Ru:function(){return s},Vu:function(e,i){var r=a.Hu(e);s!=r&&(n=s,s=r,t=i)},Ea:function(){return n},_s:function(){return t}}),s=i.IDLE,n=null,t=NaN}},{24:24,58:58}],67:[function(e,t,n){function i(e){function t(e,t,i){if(a.toString(e)){i=o.Pa(i);var r=o.Wu(i);i.ns_st_po||isNaN(t)||(i.ns_st_po=parseInt(t)+""),e==a.PLAY||e==a.PAUSE||e==a.BUFFER||e==a.END||e==a.SEEK_START||e==a.AD_SKIP||e==a.BUFFER_STOP?n.Vu(e,r,i):n.ms(e,r,i)}}var n,i=this;for(var l in r.extend(i,{isProperlyInitialized:function(){return n.isProperlyInitialized()},reset:function(e){t(a.END);var i=n;i.Cs().S().stop(),i.Cs().Ns().pause(),n=new s(i.getConfiguration()),c.ks(n.Cs(),i.Cs().getPlaybackSession(),e)},setPauseOnBufferingInterval:function(e){n.setPauseOnBufferingInterval(e)},getPauseOnBufferingInterval:function(){return n.getPauseOnBufferingInterval()},setKeepAliveInterval:function(e){n.Cs().S().setInterval(e)},getKeepAliveInterval:function(){return n.Cs().S().Gu()},setHeartbeatIntervals:function(e){n.Cs().Ns().Rs(e)},getLabels:function(){return n.getLabels()},getState:function(){return n.Cs().Mu().Ru()},setLabels:function(e){n.setLabels(e)},getLabel:function(e){return n.getLabel(e)},setLabel:function(e,t){n.setLabel(e,t)},getLoadTimeOffset:function(){return n.getLoadTimeOffset()},setLoadTimeOffset:function(e){n.setLoadTimeOffset(e)},setLiveEndpointURL:function(e){return n.setLiveEndpointURL(e)},getLiveEndpointURL:function(){return n.getLiveEndpointURL()},isPauseOnBufferingEnabled:function(){return n.isPauseOnBufferingEnabled()},setPauseOnBufferingEnabled:function(e){n.setPauseOnBufferingEnabled(e)},isThrottlingEnabled:function(){return n.isThrottlingEnabled()},setThrottlingEnabled:function(e){n.setThrottlingEnabled(e)},setThrottlingDelay:function(e){n.setThrottlingDelay(e)},getThrottlingDelay:function(){return n.getThrottlingDelay()},setPlaybackIntervalMergeTolerance:function(e){n.Cs().getPlaybackSession().getAsset().setPlaybackIntervalMergeTolerance(e)},getPlaybackIntervalMergeTolerance:function(){return n.Cs().getPlaybackSession().getAsset().getPlaybackIntervalMergeTolerance()},createPlaybackSession:function(e){n.Cs().Uu().Zt("createPlaybackSession",e),e=o.Pa(e);var t=n.Cs().Mu().Ru();t!=u.IDLE&&(n.Cs().Uu().$t("Ending the current Clip. It was in state:",o.gs(t)),i.notifyEnd()),n.Cs().getPlaybackSession().wa()&&n.ks(),n.Cs().getPlaybackSession().setLabels(e)},getVersion:function(){return n.getVersion()},addListener:function(e){n.addListener(e)},removeListener:function(e){n.removeListener(e)},addMeasurementListener:function(e){n.Cs().ju().addMeasurementListener(e)},removeMeasurementListener:function(e){n.Cs().ju().removeMeasurementListener(e)},getPlaybackSession:function(){return n.Cs().getPlaybackSession()},setExitEndEventEnabled:function(e){n.setExitEndEventEnabled(!!e)},isExitEndEventEnabled:function(){return n.isExitEndEventEnabled()},setDvrWindowLength:function(e){n.Cs().getPlaybackSession().getAsset().Su(e),n.Cs().getPlaybackSession().getAsset().Eu(!0)},setDvrWindowOffset:function(e){n.Cs().getPlaybackSession().getAsset().Au(e),n.Cs().getPlaybackSession().getAsset().Eu(!0)},getPlatformAPI:function(){return n.getPlatformAPI()},_getLogHistory:function(){return n.Cs().Uu().te()}}),f)!function(e,r){i[e]=function(i,o){n.Cs().Uu().Zt(e,i,o);var s={},a=NaN;"object"==typeof i?s=i:"object"==typeof o&&(s=o),"number"==typeof i?a=i:"number"==typeof o&&(a=o),t(r,a,s)}}(l,f[l]);for(var p in d)!function(e,r,o){i[e]=function(i,s,a){if(n.Cs().Uu().Zt(e,i,s,a),null!=i){var u={},c=NaN;"object"==typeof s?u=s:"object"==typeof a&&(u=a),"number"==typeof s?c=s:"number"==typeof a&&(c=a),u[o]=i+"",t(r,c,u)}}}(p,d[p][0],d[p][1]);e=r.extend({},e),(n=new s(e)).Cs().Uu().log("New StreamingAnalytics instance with configuration",e)}var r=e(24),o=e(68),s=e(56),a=e(58).Lu,u=e(58).Nu,c=e(63),l=e(55),f={notifyPlay:a.PLAY,notifyPause:a.PAUSE,notifyEnd:a.END,notifyBufferStart:a.BUFFER,notifyBufferStop:a.BUFFER_STOP,notifyLoad:a.LOAD,notifyEngage:a.ENGAGE,notifySeekStart:a.SEEK_START,notifySkipAd:a.AD_SKIP,notifyCallToAction:a.CTA,notifyError:a.ERROR,notifyTransferPlayback:a.TRANSFER,notifyDrmFail:a.DRM_FAILED,notifyDrmApprove:a.DRM_APPROVED,notifyDrmDeny:a.DRM_DENIED,notifyCustomEvent:a.CUSTOM},d={notifyChangeBitrate:[a.BIT_RATE,"ns_st_br"],notifyChangePlaybackRate:[a.PLAYBACK_RATE,"ns_st_rt"],notifyChangeVolume:[a.VOLUME,"ns_st_vo"],notifyChangeWindowState:[a.WINDOW_STATE,"ns_st_ws"],notifyChangeAudioTrack:[a.AUDIO,"ns_st_at"],notifyChangeVideoTrack:[a.VIDEO,"ns_st_vt"],notifyChangeSubtitleTrack:[a.SUBS,"ns_st_tt"],notifyChangeCdn:[a.CDN,"ns_st_cdn"]};i.PlayerEvents=a,i.InternalStates=u,i.Constants=l,t.exports=i},{24:24,55:55,56:56,58:58,63:63,68:68}],68:[function(e,t,n){var i=e(23),r=e(58).Nu;n.Pa=function(e){var t={};for(var n in e){var i=e[n];t[n]=null==i?i:e[n]+""}return t},n.Ta=function(e,t){var n,i=[];for(n in e)t&&!t.test(n)||!e.hasOwnProperty(n)||(i[i.length]=n);return i},n.Wu=function(e){if(e.ns_ts)return parseInt(e.ns_ts);var t=+new Date;return e.ns_ts=t+"",t},n.fe=function(){return"undefined"!=typeof window&&"undefined"!=typeof document},n.Wr=function(e,t,n,r){var o,s,a={};if(!(t<=n))return i(e);if(a.start=t,a.end=n,0==e.length)return e.push(a),i(e);for(o=0;o<e.length;o++)if(a.start>=e[o].start&&a.end<=e[o].end)return i(e);var u=!1;for(s=0;s<e.length;s++)if(s+1===e.length&&a.start>=e[s].start||a.start>=e[s].start&&a.start<e[s+1].start){e.splice(s+1,0,a),u=!0;break}u||e.splice(0,0,a);var c=[e[0]];for(o=1;o<e.length;o++)c[c.length-1].end+r<e[o].start?c.push(e[o]):c[c.length-1].end<e[o].end&&(c[c.length-1].end=e[o].end);return i(c)},n.gs=function(e){for(var t in r)if(r.hasOwnProperty(t)&&r[t]==e)return t},n.Ju=function(e){return e==r.IDLE||e==r.BUFFERING_BEFORE_PLAYBACK||e==r.SEEKING_BEFORE_PLAYBACK||e==r.PLAYBACK_NOT_STARTED}},{23:23,58:58}],69:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();i.so(t),o.so(t),o.Eo()&&o.No()&&o.Uo(t-o.Wo()),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},os:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1))},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()?r.No()||(r.Oo(t),r.To(!0)):r.io(),r.Eo()||(r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t))},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.Ro(!0),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.Ro(!0),r.Yo(),r.ro(),i.bo(t),r.bo(t),r.do(t),r.ao(s),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),r.du(),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],70:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{fs:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],71:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{us:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();e.Gs().As(),r.po(t),r.do(t),i.so(t),r.so(t),i.eo(),r.eo();var s=e.Gs().Dr(o.PAUSE,n,t);r.jr(s.Ut),r.Kr(s.Ut),e.ju().Vu(s),i.Po(t),r.Po(t)},ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().As(),e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Gs().As(),e.Ns().pause(),e.S().stop(),r.po(t),r.do(t),i.so(t),r.so(t),r.io(),r.ko(!0),r.To(!0),r.Fo(s),r.Oo(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();e.Gs().As(),r.po(t),r.do(t),i.so(t),r.so(t),i.eo(),r.eo();var s=e.Gs().Dr(o.PAUSE,n,t);r.jr(s.Ut),r.Kr(s.Ut),e.ju().Vu(s)}})}},{24:24,26:26,58:58}],72:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),e.Gs().As(),i.so(t),s.so(t),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),i.eo(),r.eo(),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1)),r.po(t),r.do(t)},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),i.so(t),r.so(t),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],73:[function(e,t,n){var i=e(24),r=e(58).Lu;t.exports=function(e){i.extend(this,{Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.ya(!0),r.Lo(!0),r.Eo()&&r.xo(r.Bo()),i.Po(t),r.Po(t)},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.ya(!0),r.Lo(!0),r.Eo()&&r.xo(r.Bo()),r.io(),r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t)},$u:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset(),s=parseInt(n.ns_st_po);i.ya(!0),o.Lo(!0),(o._u()||0==i.ba())&&(i.Ia(),o.gu(!1)),o.Eo()&&(o.xo(o.Bo()),o.Ko(s),o.ko(!1)),i.du(),o.Ro(!0),o.Yo(),(0==o.cu()||o.Lr()<=o.cu())&&(o.uu(o.Lr()),o.zo(),o.vu(0),o.eu()),o.du(),o.ro(),i.bo(t),o.bo(t),o.do(t),o.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(r.PLAY,n,t);o.jr(a.Ut),o.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,58:58}],74:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.ko(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.ro(),r.du(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],75:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),i.so(t),s.so(t),s.po(t),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1));var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);i.so(t),r.so(t),r.Eo()?r.No()||(r.Oo(t),r.To(!0)):r.io(),r.Eo()||(r.ko(!0),r.To(!0),r.Fo(o),r.Oo(t)),r.po(t),r.do(t)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},ds:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),i.so(t),r.so(t),r.ro(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],76:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();o.Eo()&&o.No()&&(o.Uo(t-o.Wo()),o.To(!1)),i.Zs(),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Zu:function(t,n){var i=e.getPlaybackSession().getAsset(),r=parseInt(n.ns_st_po);i.Eo()?i.Oo(t):i.io(),i.Eo()||(i.ko(!0),i.To(!0),i.Fo(r),i.Oo(t))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);r.Eo()&&(r.Ko(s),r.ko(!1)),i.ya(!0),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.Ro(!0),r.Yo(),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),r.du(),r.ro(),i.bo(t),r.bo(t),r.do(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.Po(t),r.Po(t)}})}},{24:24,26:26,58:58}],77:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset(),a=parseInt(n.ns_st_po);e.Gs().Ts(),e.S().stop(),i.ho(t),s.ho(t),s.Iu(a),s.po(t),s.co(a);var u=e.Gs().Dr(o.END,n,t);s.jr(u.Ut),s.Kr(u.Ut),e.ju().Vu(u),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},Xu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(o),r.co(o),e.Gs().isPauseOnBufferingEnabled()&&e.Gs().Ps(t,n),r.lu(),i.Po(t),r.Po(t),r.po(t),r.do(t)},Zu:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(s),r.co(s),r.io(),r.ko(!0),r.To(!0),r.Fo(s),r.Oo(t),r.po(t),r.do(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);e.Ns().pause(),e.S().stop(),i.ho(t),r.ho(t),r.Iu(s),r.co(s),r.po(t),r.do(t),i.eo(),r.eo();var a=e.Gs().Dr(o.PAUSE,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],78:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),o=i.getAsset();o.Eo()&&o.No()&&(o.Uo(t-o.Wo()),o.To(!1)),i.Zs(),o.Ho(),o.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},ts:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1))},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),(r._u()||0==i.ba())&&(i.Ia(),r.gu(!1)),i.du(),r.du(),r.ro(),r.Ro(!0),r.Yo(),(0==r.cu()||r.Lr()<=r.cu())&&(r.uu(r.Lr()),r.zo(),r.vu(0),r.eu()),i.bo(t),r.bo(t),r.do(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],79:[function(e,t,n){var i=e(24);t.exports=function(e){i.extend(this,{ts:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.eo(),r.eo(),r.Eo()&&r.No()&&(r.Vo(t),r.To(!1)),r.po(t),r.do(t)}})}},{24:24}],80:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{ns:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},$u:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.ro(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.po(t),r.do(t),i.bo(t),r.bo(t),r.ao(s),e.Gs().bs()||(n.ns_st_lt=e.Gs().getLoadTimeOffset()+t-e.Gs().Ss()+"",e.Gs().Is(!0)),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)}})}},{24:24,26:26,58:58}],81:[function(e,t,n){var i=e(24),r=e(26),o=e(58).Lu;t.exports=function(e){i.extend(this,{rs:function(t,n){var i=e.getPlaybackSession().getAsset(),r=parseInt(n.ns_st_po);i.Eo()?i.No()||(i.Oo(t),i.To(!0)):i.io(),i.Eo()||(i.ko(!0),i.To(!0),i.Fo(r),i.Oo(t)),i.po(t),i.do(t)},es:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.Po(t),r.Po(t),r.po(t),r.do(t)},ls:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),s=parseInt(n.ns_st_po);i.du(),r.du(),r.Eo()&&(r.No()&&(r.Vo(t),r.To(!1)),r.Ko(s),r.ko(!1)),r.ro(),i.bo(t),r.bo(t),r.po(t),r.do(t),r.ao(s),e.Ns().resume(),e.S().start();var a=e.Gs().Dr(o.PLAY,n,t);r.jr(a.Ut),r.Kr(a.Ut),e.ju().Vu(a)},as:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset();i.so(t),r.so(t),r.po(t),r.do(t)},cs:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1)),i.po(t),i.do(t)},ps:function(t,n){var i=e.getPlaybackSession(),s=i.getAsset();e.Gs().Ts(),e.S().stop(),s.po(t);var a=e.Gs().Dr(o.END,n,t);s.jr(a.Ut),s.Kr(a.Ut),e.ju().Vu(a),s.Eo()&&s.No()&&(s.Uo(t-s.Wo()),s.To(!1)),i.Zs(),s.Ho(),s.Ro(!1),n.hasOwnProperty("ns_st_pe")&&r.vr(n.ns_st_pe,!1)&&e.Gs().ks()},vs:function(t,n){var i=e.getPlaybackSession().getAsset();i.Eo()&&i.No()&&(i.Vo(t),i.To(!1)),i.po(t),i.do(t)},ss:function(t,n){var i=e.getPlaybackSession(),r=i.getAsset(),o=parseInt(n.ns_st_po);e.Gs().As(),i.so(t),r.so(t),i.bo(t),r.bo(t),r.ao(o),r.po(t),r.do(t),e.Ns().resume(),e.S().start()}})}},{24:24,26:26,58:58}],82:[function(e,t,n){function i(){var e=+new Date;u=a.setInterval(function(){var t=e+o,n=+new Date,i=n-t;if(e=n,Math.abs(i)>s)for(var r=0<i,a=0;a<c.length;++a)c[a](r)},o)}function r(){clearInterval(u),u=null}var o,s,a,u=null,c=[];t.exports={Ou:function(e){c.push(e),u||i()},Yu:function(e){for(var t=0;t<c.length;++t)if(c[t]==e){c.splice(t,1);break}c.length||r()},setPlatformAPI:function(e){a=e},Us:function(e,t){!t&&o||(o=e||1e3),(u&&t||!u)&&(r(),i())},Bs:function(e,t){s=e||1e3}}},{}]},{},[16])(16)}).call(this,n(20),n(19))},function(e,t,n){var i,r;i=[n(7)],void 0===(r=function(e){"use strict";function t(e,t,n){this._persistantLabels={},this._urlParams="",this._cut="",this._httpGet=e,this._eventCount=0,this._isApp=t,this._isScorecardDomain=!0===n,this._hasStarted=!1}return t.IS_ECHO_APP_TAG=!0,t.URL_LIMIT=2048,t.prototype.setPixelURL=function(e){this._url=this._makeBaseUrl(e)},t.prototype.setCustomerC2=function(t){this.setLabel(e.COMSCORE_CUSTOMER,t)},t.prototype.start=function(){this._hasStarted||(this._hasStarted=!0)},t.prototype.setLabel=function(e,t){null===t?this.removeLabel(e):this._persistantLabels[e]=t},t.prototype.removeLabels=function(e){for(var t in e)void 0!==this._persistantLabels[e[t]]&&delete this._persistantLabels[e[t]]},t.prototype.removeLabel=function(e){void 0!==this._persistantLabels[e]&&delete this._persistantLabels[e]},t.prototype.view=function(e){this.send("view",e)},t.prototype.hidden=function(e){this.send("hidden",e)},t.prototype.send=function(e,t,n){var i,r,o=this._persistantLabels,s={};if(this._hasStarted){for(r in this._eventCount++,o)s[r]=o[r];for(r in t)s[r]=t[r];s.ns_type=e,this._isApp&&(s.ns_ap_ev=e,s.ns_ap_ec=this._eventCount),s[this._isApp?"ns_ts":"ns__t"]=+new Date,i=this._createUrl(s),this._httpGet(i,n)}},t.prototype._createUrl=function(t){var n,i=window.encodeURIComponent||escape,r=this._url;for(n in this._urlParams="",this._cut="",t.hasOwnProperty("name")&&this._addUrlParam("name",t.name),t)"name"!==n&&"ns_referrer"!==n&&this._addUrlParam(n,t[n]);return t.hasOwnProperty("ns_referrer")&&this._addUrlParam(this._isScorecardDomain?e.ENV_REFERRER:"ns_referrer",t.ns_referrer),r+=this._urlParams,this._cut.length?r+="ns_cut="+i(this._cut.replace(/&$/,"")):r=r.replace(/&$/,""),r},t.prototype._addUrlParam=function(e,n){var i=window.encodeURIComponent||escape,r=i(e)+"="+i(n)+"&",o=t.URL_LIMIT-8;this._url.length+this._urlParams.length+r.length<o?this._urlParams+=r:this._cut+=r},t.prototype._makeBaseUrl=function(e){for(var t=-1,n=e.charAt(e.length-1),i=0,r=e.length;i<r;i++)"?"===e.charAt(i)&&(t=i);return-1===t?e+="?":"?"!==n&&"&"!==n&&(e+="&"),e},t}.apply(t,i))||(e.exports=r)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n,i){this._sensors=null,this._broker=null,this._media=null,this._meta={},this._stream=null,this._env=i,this._siteCode=n[o.BARB_SITE_CODE],this._debug=n[o.BARB_DEBUG],this._traceId=null,this._isPlaying=!1,this._isEssEnabled=!1,this._isEnabled=!0,this._hasStarted=!1,n[o.ECHO_TRACE]&&this.setTraceId(n[o.ECHO_TRACE]),n[o.USE_ESS]&&(this._isEssEnabled=!0),n&&!1===n[o.ECHO_ENABLED]?this._isEnabled=!1:this._isEnabled=!0}var r=n(38),o=n(3),s=n(2),a=n(1),u=n(39);return i.prototype.start=function(){this._hasStarted||(this._hasStarted=!0)},i.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},i.prototype.disable=function(){this._isEnabled&&(this._isEnabled=!1,this.clearMedia())},i.prototype.setTraceId=function(e){this._traceId=e},i.SpringStreams=n(40),i.prototype.addLabels=t,i.prototype.addLabel=t,i.prototype.addManagedLabel=t,i.prototype.removeLabels=t,i.prototype.removeLabel=t,i.prototype.setLoggedInToBBCId=t,i.prototype.setLoggedOutOfBBCId=t,i.prototype.setAppVersion=t,i.prototype.setCounterName=t,i.prototype.setContentLanguage=t,i.prototype.setCacheMode=t,i.prototype.clearCache=t,i.prototype.flushCache=t,i.prototype.setESSEnabled=t,i.prototype.viewEvent=t,i.prototype.errorEvent=t,i.prototype.userActionEvent=t,i.prototype.setPlayerName=function(e){this._meta[r.PLAYER_DESC]=e},i.prototype.setPlayerVersion=function(e){this._meta[r.PLAYER_VERSION]=e},i.prototype.setPlayerIsPopped=t,i.prototype.setPlayerWindowState=t,i.prototype.setPlayerVolume=t,i.prototype.setPlayerIsSubtitled=t,i.prototype.setDestination=t,i.prototype.setProducer=t,i.prototype.setBroker=function(e){return this._broker=e,this},i.prototype.setMedia=function(e){this._eventsEnabled()&&(this.clearMedia(),this._media=e.getClone())},i.prototype.setMediaLength=function(e){this._media.setLength(e)},i.prototype.liveMediaUpdate=function(e){this._media=e.getClone(),this._isPlaying&&this._startTracking()},i.prototype.liveEnrichmentFailed=function(){this._media.getServiceId()||this._media.setServiceId("no-service-id-found"),this._isPlaying&&this._startTracking()},i.prototype.avPlayEvent=function(e,t){this._eventsEnabled()&&this.isValidMedia()&&this._broker&&(this._initSensors(),this._isPlaying=!0,this._media.isLive()&&!this._media.getServiceId()?this._isEssEnabled&&(this._media.getVersionId()||this._media.getVpId())||(this._media.setServiceId("invalid-data"),this._startTracking()):this._startTracking())},i.prototype._initSensors=function(){if(null===this._sensors){if(this._sensors=new i.SpringStreams(this._siteCode),null!==this._env.getSetLocalStorageItem()&&null!==this._env.getGetLocalStorageItem()&&null!==this._env.getHttpGet()){s.info("Using custom PageContext for BARB");var e=new u("com.kma.springstreams",this._env);this._sensors.setPageContext(e)}this._debug&&(this._sensors.debug=function(e){s.info("Spring DEBUG: "+e)})}},i.prototype._startTracking=function(){if(null===this._stream){var e=this._getAttributes(),t=e[r.PID]||" ";this._stream=this._sensors.track(t,e,this._getAdaptor())}},i.prototype._getMostPrecedentIdObject=function(){var e=this._media.getVersionIdObject(),t=this._media.getEpisodeIdObject(),n=this._media.getClipIdObject(),i=this._media.getVpIdObject(),r=this._media.getServiceIdObject();return e.isValueValid()?e:t.isValueValid()?t:n.isValueValid()?n:i.isValueValid()?i:r.isValueValid()?r:null},i.prototype._getAttributes=function(){var e=this._media,t={};if(this._traceId&&(t[o.ECHO_TRACE]=this._traceId),!e.isLive()){var n=this._getMostPrecedentIdObject();null!==n&&(t[r.PID]=n.getValue())}return e.isOnDemand()?t[r.STREAM]="od":e.isDownload()?t[r.STREAM]="dwn":e.isLive()&&e.getServiceIdObject().isValueValid()&&(t[r.STREAM]="live/"+e.getServiceId()),t},i.prototype._getAdaptor=function(){var e,t=this;return e=this._media.isLive()?function(){return t._broker.getTimestamp()}:function(){return t._broker.getPosition()},{getMeta:function(e){return t._meta},getDuration:function(e){var n=0;return t._media.isLive()||(n=Math.floor(t._media.getLength()/1e3)),n},getPosition:function(t){return Math.floor(e()/1e3)}}},i.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},i.prototype.avPauseEvent=function(){},i.prototype.avBufferEvent=function(){},i.prototype.avEndEvent=function(){this._eventsEnabled()&&(this._isPlaying=!1,this.isValidMedia()&&this.clearMedia())},i.prototype.avRewindEvent=function(){},i.prototype.avFastForwardEvent=function(){},i.prototype.avSeekEvent=function(){},i.prototype.avUserActionEvent=t,i.prototype.clearMedia=function(){this.isValidMedia()&&(this._stream&&this._stream.stop(),this._stream=null,this._media=null)},i.prototype.isValidMedia=function(){return null!==this._media&&this._media.avType===a.AvType.VIDEO},i.prototype.isValidLiveMedia=function(){return this.isValidMedia()&&this._media.isLive()},i.prototype.requiresLabelCleansing=function(){return!0},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){e.exports={STREAM:"stream",PID:"cq",WIDTH:"sx",HEIGHT:"sy",PLAYER_DESC:"pl",PLAYER_VERSION:"plv"}},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(e,t){this.namespace=e,this.env=t}return e.prototype.preloadImage=function(e){return this.env.getHttpGet()(e)},e.prototype.getLocalStorageItem=function(e){return this.env.getGetLocalStorageItem()(e)},e.prototype.setLocalStorageItem=function(e,t){return this.env.getSetLocalStorageItem()(e,t)},e.prototype.getWindowLocationURL=function(){return this.env.getURL()},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){function e(e){function t(e){for(var t=0;t<c.length;++t)try{c[t].update(e)}catch(e){i(e)}}function n(e){for(var t=0;t<c.length;++t)try{c[t].sync(e)}catch(e){i(e)}}function i(e){o("",e)}function r(e,t){return function e(t){var n,i,r,o,s,a=/[+&,;=~]/g;switch(typeof t){case"string":return a.test(t)?escape(t).replace(a,function(e){return(void 0)[e]||e}):escape(t);case"number":return isFinite(t)?t.toString():"null";case"boolean":case"null":return t.toString();case"object":if(!t)return"null";if(n=[],"number"==typeof t.length&&!t.propertyIsEnumerable("length")){for(o=t.length,i=0;i<o;i+=1)n.push(e(t[i])||"null");return","+n.join("+")+";"}for(r in t)"string"==typeof r&&"site"!=r&&(s=e(t[r]))&&n.push(e(r)+"="+s);return","+n.join("+")+";"}return""}([[e,t]])}function o(e,t){var n,i=(void 0===f.pageContext.getWindowLocationURL()?"http://":"https"==f.pageContext.getWindowLocationURL().slice(0,5)?"https://web.archive.org/web/20190701112059/https://ssl-":"http://")+((n=t)&&null!=n.site?n.site:u)+"."+a+"/j0="+r(e,t)+"?lt="+(new Date).getTime().toString(36)+function(){if(!this.nlso)try{var e;if(e=f.pageContext.getLocalStorageItem("i00"))return"&c="+e;var t="0000"+Math.ceil((new Date).getTime()/1e3).toString(16)+(32768|65535*Math.random()).toString(16)+"0000";f.pageContext.setLocalStorageItem("i00",t)}catch(e){console.log("error"+e)}return""}();f.pageContext.preloadImage(i),this.debug(i)}function s(e,t,n,r){function o(e){var t;E=[e,e,Math.round((new Date).getTime()/1e3).toString(36)],t=E,l.length<u.maxstates&&l.push(t),S=!0,y=0}function s(){null!=_&&g<_.length&&(h=_[g++],u.debug("switch syncrate to "+h))}function a(e){if(S){try{c.width&&(d.sx=c.width),c.videoWidth&&(d.sx=c.videoWidth),c.height&&(d.sy=c.height),c.videoHeight&&(d.sy=c.videoHeight)}catch(e){}var t;void 0!==f.pageContext.getDeviceID&&void 0!==f.pageContext.getDeviceID()&&(d[f.pageContext.getDeviceID().id_name]=f.pageContext.getDeviceID().id_value),d.uid=v,d.pst=l;try{d.dur&&0!=d.dur||(d.dur=p.getDuration(c))}catch(e){}try{t=p.getMeta(c)}catch(e){}d.vt=Math.round((new Date).getTime()/1e3)-m,u.send(t,d),b=E[1]}S=!1}var u,c,l,d,p,h,_,g,v=Math.round(1e10*Math.random()).toString(36),m=Math.round((new Date).getTime()/1e3),E=[0,0,m.toString(36)],y=0,b=0,S=!0,A=!1;u=e,c=t,p=r||u.HTML5Adapter,d=function(e){var t=new Object;for(var n in e)t[n]=e[n];return t}(n),(l=new Array).push(E),g=0,h=e.syncrate,_=e.getSyncRates(),s(),this.update=function(e){if(!A){var t=E[1],n=t;try{n=Math.round(p.getPosition(c))}catch(e){}try{if(t==n)return void(0<=y&&++y==u.pausesync&&(S=!0));y>=u.pausesync?o(n):t<n-1?o(n):n<t?o(n):(E[1]=n,E[1]-E[0]>=h&&h<=n-b&&(S=!0,s()),y=0)}catch(e){i=!0,u.error(e)}}},this.stop=function(){A||(A=S=!0,a(null))},this.sync=a}this.version="2.0.0";var a="2cnt.net",u="default",c=new Array;this.namespace="com.kma.springstreams",this.syncrate=20,this.pausesync=6,this.maxstates=50;var l,f=this;this.pageContext,function(e){var t;if(e){for(var n in e)n==a&&(t=e[n]);t&&(i=t.syncrates)&&(l=i)}var i}({"2cnt.net":{syncrates:[3,7,10,10,10,10,10,60]}}),e&&(u=e),setInterval(t,200),setInterval(n,2e3),this.getSyncRates=function(){return l},this.track=function(e,t,n){if(void 0===f.pageContext&&(f.pageContext=f.defaultPageContext),e){var i=new s(this,e,t,n);return c.push(i),i}},this.unload=function(){for(var e=0;e<c.length;++e)try{c[e].stop()}catch(e){i(e)}},this.doUpdate=t,this.doSync=n,this.error=i,this.debug=function(e){},this.send=o,this.defaultPageContext={getLocalStorageItem:function(e){return localStorage.getItem(e)},setLocalStorageItem:function(e,t){localStorage.setItem(e,t)},preloadImage:function(e){(new Image).src=e},getWindowLocationURL:function(){return document.location.href}},this.HTML5Adapter={getMeta:function(e){return{pl:"HTML 5 Video",pv:"HTML 5",sx:screen.width,sy:screen.height}},getPosition:function(e){return e.currentTime},getDuration:function(e){return Math.round(e.duration)}},this.DefaultAdapter={getMeta:function(e){return{pl:"DEF",pv:version,sx:screen.width,sy:screen.height}},getPosition:function(e){return(new Date).getTime()/1e3},getDuration:function(e){return 0}},this.WMStreamAdapter={getMeta:function(e){return{pl:"MSWM",plv:e.versionInfo,sx:screen.width,sy:screen.height}},getPosition:function(e){return e.CurrentPosition?e.CurrentPosition:e.currentPosition?e.currentPosition:e.controls&&e.controls.currentPosition?e.controls.currentPosition:e.Controls&&e.Controls.currentPosition?e.Controls.currentPosition:0},getDuration:function(e){if(e.currentMedia){if(e.currentMedia.Duration)return e.currentMedia.Duration;if(e.currentMedia.duration)return e.currentMedia.duration}else if(e.CurrentMedia){if(e.CurrentMedia.duration)return e.CurrentMedia.duration;if(e.CurrentMedia.Duration)return e.CurrentMedia.Duration}}},this.RVStreamAdapter={getMeta:function(e){return{pl:"RV",plv:e.GetVersionInfo(),sx:screen.width,sy:screen.height}},getPosition:function(e){return e.GetPosition()/1e3},getDuration:function(e){return e.GetLength()/1e3}}}return e.prototype.setPageContext=function(e){this.pageContext=e},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";function t(){return-1}function i(e,t,n,i){if(this._tag=null,this._broker=null,this._media=null,this._mediaLength=null,this._commonMediaParams=null,this._env=i,this._pageValues={},this._customParams={},this._appName=e,this._appType=t,this._config=n,this._bbc_hid=null,this._lastHitUrl=null,this._lastPlayHitUrl=null,this._lastPage=null,this._counterName=null,this._deviceId=n[a.ECHO_DEVICE_ID]||void 0,this._deviceId||(this._deviceId=y.getCookieValueByName("idrxvr")),!this._deviceId){var r=y.getCookieValueByName("atuserid");r&&(this._deviceId=JSON.parse(decodeURIComponent(r)).val)}n[a.ECHO_TRACE]&&this.setTraceId(n[a.ECHO_TRACE]),this._isEnabled=n&&n[a.ECHO_ENABLED],n&&n[a.KEEPALIVE_DURATION]?this._keepAliveDuration=Number(n[a.KEEPALIVE_DURATION]):this._keepAliveDuration=3e5}var r=n(42),o=n(17),s=n(6),a=n(3),u=n(43),c=n(44),l=n(46),f=n(47),d=n(48),p=n(10),h=n(5),_=n(0),g=n(2),v=n(4),m=n(1),E=n(8),y=n(9),b="info",S="move",A="play",I="stop",T="live",C="ati-host.net",P="logw363.ati-host.net",O="logws1363.ati-host.net",w="api.bbc.co.uk",N="a1.api.bbc.co.uk",R="a1.api.bbc.co.uk";return i.SmartTag=r,i.prototype._getHttpGetMethod=function(){return this._env.getHttpGet()||E._defaultHttpGet},i.prototype._setHTTPGetMethod=function(e){var t=this._getHttpGetMethod(),n=this;n._tag.sendUrl=function(i,r){var o=function(t,i,o){return function(s){n._tag.emit(t,{lvl:o,details:{hit:i,event:s}}),r&&"function"==typeof r&&r(),e&&"function"==typeof e&&e()}},s=o("Tracker:Hit:Sent:Ok",i=n._addLengthToMediaHit(i),"INFO"),a=o("Tracker:Hit:Sent:Error",i,"ERROR");t(i,s,a)}},i.prototype._getDestination=function(e,t){var n;return e&&(n=p.get(e[a.DESTINATION])),!n&&t&&(n=p.get(t.destination)),n||(g.info("Destination not found, using default site"),n=p.DEFAULT),n},i.prototype._getProducer=function(e,t,n){var i;return e&&(i=h.getId(e[a.PRODUCER])),!i&&t&&(i=h.getId(t.producer)),!i&&n&&(g.info("Producer not found, using default producer"),i=n.defaultProducer),i},i.prototype.setDestination=function(e){e||(e=p.DEFAULT,g.info("Destination not found, using default site instead")),e&&(this.setProducer(e.defaultProducer),this._setDomain(e.isTest),this._tag.setConfig(s.LEVEL_1_SITE,e.id))},i.prototype.setProducer=function(e){this.addLabel(s.LEVEL_2_SITE,e)},i.prototype._getCookieDomain=function(e){return e&&e.location&&e.location.hostname&&e.location.hostname.match(/.bbc.com$/)?"bbc.com":"bbc.co.uk"},i.prototype._setDomain=function(e){e?(this._tag.setConfig("domain",C),this._tag.setConfig("collectDomain",P),this._tag.setConfig("collectDomainSSL",O)):(this._tag.setConfig("domain",w),this._tag.setConfig("collectDomain",N),this._tag.setConfig("collectDomainSSL",R))},i.prototype._setSection=function(e,t,n){t&&(e&&e[s.SECTION]?(t[s.CHAPTER_1]=v.cleanCustomVariable(e[s.SECTION]),t.customObject&&delete t.customObject[s.SECTION]):n&&n.section&&(t[s.CHAPTER_1]=v.cleanCustomVariable(n.section)))},i.prototype._createAtiOptions=function(e,t){var n;if(e)switch(n={collectDomain:t.isTest?P:N,collectDomainSSL:t.isTest?O:R,cookieDomain:this._getCookieDomain(window),domain:t.isTest?C:w,pixelPath:e[a.ATI_PIXEL_PATH]||"/hit.xiti",secure:!1!==e[a.ATI_FORCE_HTTPS],site:t.id},e[a.ATI_LOG]&&(n.log=e[a.ATI_LOG]),e[a.ATI_SSL_LOG]&&(n.logSSL=e[a.ATI_SSL_LOG]),e[a.ECHO_DEVICE_ID]&&(n.ClientSideUserId={clientSideMode:"required",userIdCookieDuration:397,userIdExpirationMode:"fixed"}),e[a.ECHO_CACHE_MODE]){case m.EchoCacheMode.ALL:n.Offline={storageMode:a.ATI_CACHE_MODE_ALWAYS};break;default:n.Offline={storageMode:a.ATI_CACHE_MODE_REQUIRED}}return n},i.prototype._createTag=function(e){return new i.SmartTag.Tracker.Tag(e)},i.prototype._initTag=function(e){if(!this._tag){var t=this._config,n=this._getDestination(t,e),i=this._createAtiOptions(t,n);this._tag=this._createTag(i),this._tag.onTrigger("Tracker:Hit:Sent:Ok",this._onHitSent.bind(this)),this._debug&&(this._tag.debug=function(e){g.info("ATI DEBUG: "+e)}),this._deviceId&&this._tag.clientSideUserId.set(this._deviceId),this._bbc_hid&&this._tag.setParam(s.HASHED_ID,this._bbc_hid,{hitType:["all"],permanent:!0});var r=this._getProducer(t,e,n);this.setProducer(r),t&&t[a.APP_CATEGORY]&&this.addLabel(s.APP_CATEGORY,t[a.APP_CATEGORY]),this._setHTTPGetMethod(),this._counterName&&this.setCounterName(this._counterName)}},i.prototype.start=function(e){this._isEnabled&&!this._hasStarted&&(this._hasStarted=!0,this._initTag(e))},i.prototype.enable=function(){this._isEnabled||(this._isEnabled=!0)},i.prototype.disable=function(){this._isEnabled&&(this._isEnabled=!1,this.clearMedia())},i.prototype._onHitSent=function(e,t){t&&t.details&&t.details.hit&&this._setLastHitUrl(t.details.hit)},i.prototype._addLengthToMediaHit=function(e){if(e&&"string"==typeof e&&e.match(/a\=(play|pause|stop|info|refresh|move)/)&&this._mediaLength){var t="m1="+Math.ceil(this._mediaLength/1e3);e=e.replace(/m1\=\d+/g,t)}return e},i.prototype._setLastHitUrl=function(e){e&&"string"==typeof e&&e.match(/a\=play/)?this._lastPlayHitUrl=e:this._lastHitUrl=e},i.prototype.setTraceId=function(e){this.addLabel(a.ECHO_TRACE,e)},i.prototype.addLabels=function(e){if("object"==typeof e)for(var t in e.bbc_identity&&(this.setBBCUser({bbc_hid:e.bbc_hid,signed_in:"1"===e.bbc_identity}),delete e.bbc_hid,delete e.bbc_identity),e)e.hasOwnProperty(t)&&this.addLabel(t,e[t])},i.prototype.addLabel=function(e,t){e===s.BBC_COUNTER_NAME||e===s.LEVEL_2_SITE?this._pageValues[e]=t:this._customParams[e]=t},i.prototype.setLoggedInToBBCId=function(e){this.setBBCUser({bbc_hid:e,signed_in:!0})},i.prototype.setLoggedOutOfBBCId=function(){this._tag&&this._tag.delParam(s.HASHED_ID),this._bbc_hid=null},i.prototype.setAppVersion=function(e){e&&this._tag&&this._tag.setParam(s.APP_VERSION,"["+e+"]",{hitType:["all"],permanent:!0})},i.prototype.setBBCUser=function(e){e.bbc_hid?this._bbc_hid=e.bbc_hid:e.signed_in&&(this._bbc_hid="unidentified-user"),this._tag&&!this._customParams.bbc_id_wait&&this._tag.setParam(s.HASHED_ID,this._bbc_hid,{hitType:["all"],permanent:!0})},i.prototype.addManagedLabel=t,i.prototype.removeLabels=function(e){for(var t=0,n=e.length;t<n;t++)this.removeLabel(e[t])},i.prototype.removeLabel=function(e){e===s.BBC_COUNTER_NAME||e===s.LEVEL_2_SITE?delete this._pageValues[e]:delete this._customParams[e]},i.prototype.setCounterName=function(e){var t={name:this._counterName=e,level2:this._pageValues[s.LEVEL_2_SITE]};this._tag&&(this._tag.page.set(t),this._lastPage=t)},i.prototype.setContentLanguage=t,i.prototype.setCacheMode=t,i.prototype.clearCache=function(){this._tag.offline.remove()},i.prototype.flushCache=function(){this._tag.offline.send()},i.prototype.setESSEnabled=t,i.prototype.viewEvent=function(e,t){if(this._eventsEnabled())return this.addLabel(s.BBC_COUNTER_NAME,e),this.counterName=e,o.get().then(function(e){var n=_.clone(this._customParams),i=c.create(this._appName,this._appType,n,t,e,document),r=_.extend(t,!0,s.ECHO_EVENT_NAME,"view"),o=_.combineObjects(n,r,!1),a=_.clone(this._pageValues);a.customObject=o,i&&(a.customVars=i),this._setSection(r,a,e),this._tag.page.send(a),this._lastPage=a}.bind(this))},i.prototype.errorEvent=t,i.prototype.userActionEvent=function(e,t,n){if(this._eventsEnabled()){var i=_.extend(n,!0,s.ECHO_EVENT_NAME,"userAct"),r=_.combineObjects(this._customParams,i,!1),o=_.clone(this._pageValues);o&&(o.actionName=t,o.actionType=e,o.user=this._bbc_hid,o[s.BBC_COUNTER_NAME]=this.counterName,o.customObject=r,Boolean(o.customObject[s.IS_BACKGROUND])?d.sendImpressionEvent(this._tag,o):d.sendClickEvent(this._tag,o))}},i.prototype.setPlayerName=function(e){this._mediaPlayerName=e},i.prototype.setPlayerVersion=function(e){this._mediaPlayerVersion=e},i.prototype.setPlayerIsPopped=t,i.prototype.setPlayerWindowState=t,i.prototype.setPlayerVolume=t,i.prototype.setPlayerIsSubtitled=t,i.prototype.setBroker=function(e){return this._broker=e,this},i.prototype.setMedia=function(e){this._eventsEnabled()&&(this._mediaPlayerName&&!e.getMediaPlayerName()&&e.setMediaPlayerName(this._mediaPlayerName),this._mediaPlayerVersion&&!e.getMediaPlayerVersion()&&e.setMediaPlayerVersion(this._mediaPlayerVersion),this.clearMedia(),this._media=e,this.addMedia(this._media))},i.prototype.setMediaLength=function(e){this._mediaLength=e,this._media.setLength(e)},i.prototype.setMediaBitrate=t,i.prototype.setMediaCodec=t,i.prototype.setMediaCDN=t,i.prototype.liveMediaUpdate=function(e,t,n){_.assert("number"==typeof t,"newPosition must be a number"),_.assert("number"==typeof n,"oldPosition must be a number"),e.setProducerById(this._media.getProducer()),this._sendMediaEvent(I),this._media=e,this.addMedia(this._media),this._sendMediaEvent(A)},i.prototype.liveEnrichmentFailed=t,i.prototype._getIdObjectValue=function(e){return null!==e&&e.isValueValid()?e.getValue():"invalid-data"},i.prototype._getMostPrecedentIdObject=function(){var e=this._media.getVersionIdObject(),t=this._media.getEpisodeIdObject(),n=this._media.getClipIdObject(),i=this._media.getVpIdObject(),r=this._media.getServiceIdObject();return e.isValueValid()?e:t.isValueValid()?t:n.isValueValid()?n:i.isValueValid()?i:r.isValueValid()?r:null},i.prototype._eventsEnabled=function(){return this._isEnabled&&this._hasStarted},i.prototype.addMedia=function(e){if(this._tag&&this._tag.richMedia){this._commonMediaParams={playerId:e.getPlayerId(),mediaLabel:this._getIdObjectValue(this._getMostPrecedentIdObject()),mediaTheme1:l.constructThemeOne(e),mediaTheme2:l.constructThemeTwo(e),mediaTheme3:l.constructThemeThree(e)};var t={mediaType:e.getAvType(),playerId:this._commonMediaParams.playerId,duration:e&&e.getLength()?Math.ceil(e.getLength()/1e3):0,mediaLabel:this._commonMediaParams.mediaLabel,mediaTheme1:this._commonMediaParams.mediaTheme1,mediaTheme2:this._commonMediaParams.mediaTheme2,mediaTheme3:this._commonMediaParams.mediaTheme3,isEmbedded:e.isEmbedded(),broadcastMode:e.getMediaConsumptionMode()===T?T:"clip",refreshDuration:{0:10,1:60}};e.getProducer()?t.mediaLevel2=e.getProducer():t.mediaLevel2=0,this._tag.richMedia.add(t)}},i.prototype._sendMediaEvent=function(e,t){this._commonMediaParams&&f.sendEvent(this._tag,this._commonMediaParams,e,t)},i.prototype.avPlayEvent=function(e,t){this._eventsEnabled()&&!this._media.getPlaying()&&(this._media.getBuffering()?this._sendMediaEvent(b,{isBuffering:!1}):(this._sendMediaEvent(A),this._addKeepAliveEventSchedule()))},i.prototype._addKeepAliveEventSchedule=function(){this._eventsEnabled()&&(this._keepAliveIntervalId||(this._keepAliveIntervalId=setInterval(this._sendKeepAliveEvent.bind(this),this._keepAliveDuration)))},i.prototype._removeKeepAliveEventSchedule=function(){this._keepAliveIntervalId&&(clearInterval(this._keepAliveIntervalId),this._keepAliveIntervalId=void 0)},i.prototype._sendKeepAliveEvent=function(){if(this._eventsEnabled()){var e={name:"keepalive",level2:this._media&&this._media.getProducer()?this._media.getProducer():0};this._tag.page.send(e),this._lastPage&&this._tag.page.set(this._lastPage)}},i.prototype.avPauseEvent=function(){this._eventsEnabled()&&this._sendMediaEvent("pause")},i.prototype.avBufferEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(b,{isBuffering:!0})},i.prototype.avEndEvent=function(){this._eventsEnabled()&&(this._isMediaLoaded=!1,this._removeKeepAliveEventSchedule(),this._sendMediaEvent(I),this.isValidMedia()&&this.clearMedia())},i.prototype.avRewindEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avFastForwardEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avSeekEvent=function(){this._eventsEnabled()&&this._sendMediaEvent(S)},i.prototype.avUserActionEvent=function(e,t,n,i){if(this._eventsEnabled()&&"echo_hb"===e&&"echo_hb_5"===t){var r=this._addLengthToMediaHit(this._lastPlayHitUrl);u.sendRefreshEvent(this._tag,this._getHttpGetMethod(),r)}},i.prototype.clearMedia=function(){this.isValidMedia()&&(this._isMediaLoaded&&this.avEndEvent(),this._stream=null,this._media=null,this._commonMediaParams=null,this._tag.richMedia.removeAll())},i.prototype.isValidMedia=function(){return null!==this._media&&this._media.avType===m.AvType.VIDEO},i.prototype.isValidLiveMedia=function(){return this.isValidMedia()&&this._media.isLive()},i.prototype.getDeviceId=function(){return this._deviceId},i.prototype.requiresLabelCleansing=function(){return!0},i}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){return function(){var e,t={site:596068,log:"",logSSL:"",domain:"ati-host.net",collectDomain:"logw363.ati-host.net",collectDomainSSL:"logws1363.ati-host.net",secure:!0,pixelPath:"/hit.xiti",disableCookie:!1,disableStorage:!1,cookieSecure:!1,cookieDomain:"",preview:!1,plgs:["Campaigns","Clicks","ClientSideUserId","ContextVariables","Offline","OnSiteAds","Page","RichMedia"],lazyLoadingPath:"",documentLevel:"document",redirect:!1,activateCallbacks:!0,medium:"",ignoreEmptyChapterValue:!0,base64Storage:!1,sendHitWhenOptOut:!0};(e=window).Echo1200ATInternet=e.Echo1200ATInternet||{},e.Echo1200ATInternet.Tracker=e.Echo1200ATInternet.Tracker||{},e.Echo1200ATInternet.Tracker.Plugins=e.Echo1200ATInternet.Tracker.Plugins||{},window.Echo1200ATInternet.Utils=new function(){function e(e){return null===e?"":(e+"").replace(i,"")}var t=this,n=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,i=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");t.isLocalStorageAvailable=function(){try{var e=localStorage;return e.setItem("__storage_test__","__storage_test__"),e.removeItem("__storage_test__"),!0}catch(e){return!1}},t.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var n,i,r,o,s,a,u="",c=0;for(e=t.Base64._utf8_encode(e);c<e.length;)o=(n=e.charCodeAt(c++))>>2,n=(3&n)<<4|(i=e.charCodeAt(c++))>>4,s=(15&i)<<2|(r=e.charCodeAt(c++))>>6,a=63&r,isNaN(i)?s=a=64:isNaN(r)&&(a=64),u=u+this._keyStr.charAt(o)+this._keyStr.charAt(n)+this._keyStr.charAt(s)+this._keyStr.charAt(a);return u},decode:function(e){var n,i,r,o,s,a="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=(n=this._keyStr.indexOf(e.charAt(u++)))<<2|(i=this._keyStr.indexOf(e.charAt(u++)))>>4,i=(15&i)<<4|(o=this._keyStr.indexOf(e.charAt(u++)))>>2,r=(3&o)<<6|(s=this._keyStr.indexOf(e.charAt(u++))),a+=String.fromCharCode(n),64!=o&&(a+=String.fromCharCode(i)),64!=s&&(a+=String.fromCharCode(r));return t.Base64._utf8_decode(a)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):(127<i&&i<2048?t+=String.fromCharCode(i>>6|192):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128)),t+=String.fromCharCode(63&i|128))}return t},_utf8_decode:function(e){for(var t,n,i,r="",o=0;o<e.length;)(t=e.charCodeAt(o))<128?(r+=String.fromCharCode(t),o++):191<t&&t<224?(n=e.charCodeAt(o+1),r+=String.fromCharCode((31&t)<<6|63&n),o+=2):(n=e.charCodeAt(o+1),i=e.charCodeAt(o+2),r+=String.fromCharCode((15&t)<<12|(63&n)<<6|63&i),o+=3);return r}},t.loadScript=function(e,t){var n;t=t||function(){},(n=document.createElement("script")).type="text/javascript",n.src=e.url,n.async=!1,n.defer=!1,n.onload=n.onreadystatechange=function(e){("load"===(e=e||window.event).type||/loaded|complete/.test(n.readyState)&&(!document.documentMode||document.documentMode<9))&&(n.onload=n.onreadystatechange=n.onerror=null,t(null,e))},n.onerror=function(e){n.onload=n.onreadystatechange=n.onerror=null,t({msg:"script not loaded",event:e})};var i=document.head||document.getElementsByTagName("head")[0];i.insertBefore(n,i.lastChild)},t.cloneSimpleObject=function(e,n){if("object"!=typeof e||null===e||e instanceof Date)return e;var i,r=new e.constructor;for(i in e)e.hasOwnProperty(i)&&(void 0===i||n&&void 0===e[i]||(r[i]=t.cloneSimpleObject(e[i])));return r},t.jsonSerialize=function(e){try{return"undefined"!=typeof JSON&&JSON.stringify?JSON.stringify(e):function e(t){var n=typeof t;if("object"!==n||null===t)return"string"===n&&(t='"'+t+'"'),String(t);var i,r,o=[],s=t&&t.constructor===Array;for(i in t)t.hasOwnProperty(i)&&"function"!=(n=typeof(r=t[i]))&&"undefined"!==n&&("string"===n?r='"'+r.replace(/[^\\]"/g,'\\"')+'"':"object"===n&&null!==r&&(r=e(r)),o.push((s?"":'"'+i+'":')+String(r)));return(s?"[":"{")+String(o)+(s?"]":"}")}(e)}catch(e){return null}},t.jsonParse=function(t){try{return"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t+""):(o=null,(i=e((i=t)+""))&&!e(i.replace(n,function(e,t,n,i){return r&&t&&(o=0),0===o?e:(r=n||t,o+=!i-!n,"")}))?Function("return "+i)():null)}catch(t){return null}var i,r,o},t.arrayIndexOf=function(e,t){return Array.indexOf?e.indexOf(t):function(e){if(null==this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var i=0;if(1<arguments.length&&((i=Number(arguments[1]))!=i?i=0:0!=i&&1/0!=i&&-1/0!=i&&(i=(0<i||-1)*Math.floor(Math.abs(i)))),n<=i)return-1;for(i=0<=i?i:Math.max(n-Math.abs(i),0);i<n;i++)if(i in t&&t[i]===e)return i;return-1}.apply(e,[t])},t.uuid=function(){return{v4:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},num:function(e){var t,n=new Date,i=function(e){return(e-=100*Math.floor(e/100))<10?"0"+e:String(e)};return i(n.getHours())+""+i(n.getMinutes())+i(n.getSeconds())+(t=e-6,Math.floor((9*Math.random()+1)*Math.pow(10,t-1)))}}},t.getObjectKeys=function(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n},t.completeFstLevelObj=function(e,t,n){if(e){if(t)for(var i in t)!t.hasOwnProperty(i)||e[i]&&!n||(e[i]=t[i])}else e=t;return e},t.isPreview=function(){return window.navigator&&"preview"===window.navigator.loadPurpose},t.isPrerender=function(e){var n,i=!1,r=["webkit","ms"];if("prerender"===document.visibilityState)n="visibilitychange";else for(var o=0;o<r.length;o++)"prerender"===document[r[o]+"VisibilityState"]&&(n=r[o]+"visibilitychange");if(void 0!==n){var s=function(i){e(i),t.removeEvtListener(document,n,s)};t.addEvtListener(document,n,s),i=!0}return i};var r=t.addEvtListener=function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},o=t.removeEvtListener=function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)};t.hashcode=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=0|(t=(t<<5)-t+e.charCodeAt(n));return t},t.setLocation=function(e){var t=e.location;e=window[e.target]||window,t&&(e.location.href=t)},t.dispatchCallbackEvent=function(e){var t;if("function"==typeof window.Event)t=new Event("ATCallbackEvent");else try{(t=document.createEvent("Event")).initEvent&&t.initEvent("ATCallbackEvent",!0,!0)}catch(e){}t&&"function"==typeof document.dispatchEvent&&(t.name=e,document.dispatchEvent(t))},t.addCallbackEvent=function(e){r(document,"ATCallbackEvent",e)},t.removeCallbackEvent=function(e){t.removeEvent("ATCallbackEvent",e)},function(){function e(e,t){var n;t=t||{bubbles:!1,cancelable:!1,detail:void 0};try{(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail)}catch(e){}return n}"function"==typeof window.CustomEvent?window.ATCustomEvent=window.CustomEvent:("function"==typeof window.Event&&(e.prototype=window.Event.prototype),window.ATCustomEvent=e)}(),t.addEvent=function(e,n,i,o){t[e]=new ATCustomEvent(e,{detail:{name:n,id:i}}),r(document,e,o)},t.removeEvent=function(e,t){o(document,e,t)},t.dispatchEvent=function(e,n){t[e]=t[e]||new ATCustomEvent(e,{detail:{name:n,id:-1}});try{document.dispatchEvent(t[e])}catch(e){}},t.addOptOutEvent=function(e,n){t.addEvent("ATOptOutEvent","clientsideuserid",e,n)},t.removeOptOutEvent=function(e){t.removeEvent("ATOptOutEvent",e)},t.dispatchOptOutEvent=function(e){t.optedOut=e,t.dispatchEvent("ATOptOutEvent","clientsideuserid")},t.userOptedOut=function(){t.dispatchOptOutEvent(!0)},t.userOptedIn=function(){t.dispatchOptOutEvent(!1)},t.isOptedOut=function(){if(null===t.optedOut){var e;if(e=null,t.isLocalStorageAvailable()&&(e=localStorage.getItem("atoptedout")),null===e){var n=/(?:^| )atoptedout=([^;]+)/.exec(document.cookie);null!==n&&(e=n[1])}if(null!==e)try{e=decodeURIComponent(e)}catch(e){}e=!(!e||null===(e=t.jsonParse(e)||t.jsonParse(t.Base64.decode(e)))||!e.val),t.optedOut=e}return!!t.optedOut},t.optedOut=null,t.consentReceived=function(e){t.consent=!!e},t.consent=!0,t.isTabOpeningAction=function(e){var t=!1;return e&&(e.ctrlKey||e.shiftKey||e.metaKey||e.button&&1===e.button)&&(t=!0),t}};var n=function(e){var t=this,n=1600,i=["dz"],r=function(e,t,n,i,r,o,s){return{param:e="&"+e+"=",paramSize:e.length,str:t,strSize:t.length,truncate:n,multihit:i,separator:r||"",encode:o,last:s}},o=function(e,t){var n,i="",r=0,o=0,s=0,a=null,u=null;for(n in e)e.hasOwnProperty(n)&&(a=e[n])&&(r=t-o,a.last&&null!==u?u[n]=a:a.strSize+a.paramSize<=r?(i+=a.param+a.str,o+=a.paramSize+a.strSize):((u=u||{})[n]=a).truncate&&(s=r-a.paramSize,a.separator&&(r=a.str.substring(0,r),s=a.encode?r.lastIndexOf(encodeURIComponent(a.separator))||s:r.lastIndexOf(a.separator)||s),i+=a.param+a.str.substring(0,s),o+=a.paramSize+a.str.substring(0,s).size,u[n].str=a.str.substring(s,a.strSize),u[n].strSize=u[n].str.length));return[i,u]},s=function(t,s,a,u,c){!function(t,n){var i=e.getConfig("secure"),r="";if(t)r=t;else{r="https:"===document.location.protocol;var o=(r=i||r)?e.getConfig("logSSL"):e.getConfig("log"),s=e.getConfig("domain");r=o&&s?o+"."+s:r?e.getConfig("collectDomainSSL"):e.getConfig("collectDomain")}o=e.getConfig("baseURL"),"/"!==(s=(s=e.getConfig("pixelPath"))||"/").charAt(0)&&(s="/"+s);var a=e.getConfig("site");if((o||r&&s)&&a){var u="//";i&&(u="https:"+u),n&&n(null,(o||u+r+s)+"?s="+a)}else n&&n({message:"Config error"})}(u,function(u,l){u?c&&c(u):(n=1600-(l.length+27),function(t,s,a,u){var c,l="",f=function(t){if(t==={})return[];var s,a,u,c,f,d,p,h,_,g,v=[],m=!(s={}),E=void 0,y="";for(g in t)if(t.hasOwnProperty(g))if(p=d=f=c=!1,a=t[g].value,"boolean"==typeof(u=t[g].options||{}).encode&&(c=u.encode),"function"==typeof a&&(a=a()),a=a instanceof Array?a.join(u.separator||","):"object"==typeof a?Echo1200ATInternet.Utils.jsonSerialize(a):void 0===a?"undefined":a.toString(),c&&(a=encodeURIComponent(a)),-1<Echo1200ATInternet.Utils.arrayIndexOf(i,g)?f=!0:"boolean"==typeof u.truncate&&(f=u.truncate),"boolean"==typeof u.multihit&&(d=u.multihit),"boolean"==typeof u.last&&(p=u.last),a=r(g,a,f,d,u.separator,c,p),d)n-=a.paramSize+a.strSize,y+=a.param+a.str;else if(p)a.paramSize+a.strSize>n&&(a.str=a.str.substring(0,n-a.paramSize),a.strSize=a.str.length),h=g,_=a;else if(s[g]=a,s[g].paramSize+s[g].strSize>n&&!s[g].truncate){e.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:'Too long parameter: "'+s[g].param+'"',details:{value:s[g].str}}),m=!0,E=g;break}if(h&&(s[h]=_),t=(s=[s,m,E,y])[0],m=s[1],l=s[3],m&&((t=t[s=s[2]]).str=t.str.substring(0,n-t.paramSize),t.strSize=t.str.length,(m={}).mherr=r("mherr","1",!1,!1,"",!1),m[s]=t,t=m),null===(t=o(t,n))[1])v=t[0];else for(v.push(t[0]);null!==t[1];)t=o(t[1],n),v.push(t[0]);return v},d="";if(e.buffer.presentInFilters(a,"hitType")||(a=e.buffer.addInFilters(a,"hitType",["page"])),a=e.buffer.addInFilters(a,"hitType",["all"]),"object"==typeof t&&null!==t){var p,h,_,g;for(c in a=e.buffer.addInFilters(a,"permanent",!0),a=e.buffer.get(a,!0),t)if(t.hasOwnProperty(c)){if(d=t[c],p={},s&&"object"==typeof t[c]){for(g in _=h=!1,t[c])t[c].hasOwnProperty(g)&&("value"===g?h=!0:"options"===g&&"object"==typeof t[c].options&&null!==t[c].options&&(_=!0));h&&_&&(d=t[c].value,p=t[c].options)}a[c]={value:d,options:p}}d=f(a)}else for(c in d=f(a=e.buffer.get(a,!0)),a)!a.hasOwnProperty(c)||a[c].options&&a[c].options.permanent||e.buffer.del(c);u&&u(d,l)}(t,s,a,function(e,t){var n=[],i=Echo1200ATInternet.Utils.uuid().num(13);if(e instanceof Array)for(var r=1;r<=e.length;r++)n.push(l+t+"&mh="+r+"-"+e.length+"-"+i+e[r-1]);else n.push(l+t+e);c&&c(null,n)}))})};t.send=function(n,i,r,o,a){s(n,a,i,o,function(n,i){if(n)e.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:n.message,details:{}}),r&&r();else for(var o=0;o<i.length;o++)t.sendUrl(i[o],r)})},t.sendUrl=function(t,n){var i=function(t,i,r){return function(o){var s="";if("/"===i.charAt(0)){s=e.getConfig("secure");var a="https:"===document.location.protocol;s=s||a?"https:":"http:"}e.emit(t,{lvl:r,details:{hit:s+i,event:o}}),n&&n()}};if(Echo1200ATInternet.Utils.isOptedOut()&&!e.getConfig("sendHitWhenOptOut"))i("Tracker:Hit:Sent:NoTrack",t,"INFO")();else{var r=new Image;r.onload=i("Tracker:Hit:Sent:Ok",t,"INFO"),r.onerror=i("Tracker:Hit:Sent:Error",t,"ERROR"),r.src=t}}},i=function(){function e(e,t,n){for(var i=[],r=0;r<e.length;r++)e[r].callback(t,n),e[r].singleUse||i.push(e[r]);return i}var t={};this.on=function(e,n,i){return i=i||!1,function e(t,n,i,r){var o=t.shift();return"*"===o?(n["*"]=n["*"]||[],n["*"].push({callback:i,singleUse:r}),n["*"].length-1):0===t.length?e([o,"*"],n,i,r):(n["*"]=n["*"]||[],n[o]=n[o]||{},e(t,n[o],i,r))}(e.split(":"),t,n,i)},this.emit=function(n,i){t["*"]&&(t["*"]=e(t["*"],n,i)),function t(n,i,r,o){var s=i.shift();"*"!==s&&(0===i.length?t(n,[s,"*"],r,o):r[s]&&(r[s]["*"]=e(r[s]["*"],n,o),t(n,i,r[s],o)))}(n,n.split(":"),t,i)}},r=function(e){var t={},n={},i=0,r={},o=0,s=function(e){var n=!1;return t[e]&&(n=!0),n},a=this.unload=function(n){return s(n)?(t[n]=void 0,e.emit("Tracker:Plugin:Unload:"+n+":Ok",{lvl:"INFO"})):e.emit("Tracker:Plugin:Unload:"+n+":Error",{lvl:"ERROR",msg:"not a known plugin"}),e},u=this.load=function(r,o){return"function"==typeof o?void 0===e.getConfig.plgAllowed||0===e.getConfig.plgAllowed.length||-1<e.getConfig.plgAllowed.indexOf(r)?(t[r]=new o(e),n[r]&&s(r)&&(n[r]=!1,i--,s(r+"_ll")&&a(r+"_ll"),0===i&&e.emit("Tracker:Plugin:Lazyload:File:Complete",{lvl:"INFO",msg:"LazyLoading triggers are finished"})),e.emit("Tracker:Plugin:Load:"+r+":Ok",{lvl:"INFO"})):e.emit("Tracker:Plugin:Load:"+r+":Error",{lvl:"ERROR",msg:"Plugin not allowed",details:{}}):e.emit("Tracker:Plugin:Load:"+r+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:o}}),e},c=this.isLazyloading=function(e){return e?!0===n[e]:0!==i},l=function(e){return!s(e)&&!c(e)&&s(e+"_ll")},f=function(t){n[t]=!0,i++,Echo1200ATInternet.Utils.loadScript({url:e.getConfig("lazyLoadingPath")+t+".js"})};this.isExecWaitingLazyloading=function(){return 0!==o},e.exec=this.exec=function(n,i,a,u){var d=null,p=function(e,n,i,r){n=n.split("."),s(e)&&t[e][n[0]]&&(d=1<n.length&&t[e][n[0]][n[1]]?t[e][n[0]][n[1]].apply(t[e],i):t[e][n[0]].apply(t[e],i)),r&&r(d)},h=function(t,n,i,s){var a;r[a=t]?r[a]++:r[a]=1,o++,e.onTrigger("Tracker:Plugin:Load:"+t+":Ok",function(){p(t,n,i,function(n){r[t]--,0==--o&&e.emit("Tracker:Plugin:Lazyload:Exec:Complete",{lvl:"INFO",msg:"All exec waiting for lazyloading are done"}),s&&s(n)})},!0)};l(n)?(h(n,i,a,u),f(n)):c(n)?h(n,i,a,u):p(n,i,a,u)},this.waitForDependencies=function(n,i){var r,o=function(e){for(var n={mcount:0,plugins:{}},i=0;i<e.length;i++)t.hasOwnProperty(e[i])||(n.mcount++,n.plugins[e[i]]=!0);return n}(n);if(0===o.mcount)e.emit("Tracker:Plugin:Dependencies:Loaded",{lvl:"INFO",details:{dependencies:n}}),i();else for(var s in o.plugins)o.plugins.hasOwnProperty(s)&&(e.emit("Tracker:Plugin:Dependencies:Error",{lvl:"WARNING",msg:"Missing plugin "+s}),e.onTrigger("Tracker:Plugin:Load:"+s,function(e,t){var n=e.split(":"),r=n[3];"Ok"===n[4]&&(o.plugins[r]=!1,0==--o.mcount&&i())},!0),l(r=s)&&f(r))},this.init=function(){for(var e in Echo1200ATInternet.Tracker.pluginProtos)Echo1200ATInternet.Tracker.pluginProtos.hasOwnProperty(e)&&u(e,Echo1200ATInternet.Tracker.pluginProtos[e])}},o=function(e){var t=this,n={},i=function(e){if(e.name){var n=!0;if("undefined"!=typeof configuration&&(configuration.include instanceof Array&&-1===Echo1200ATInternet.Utils.arrayIndexOf(configuration.include,e.name)&&(n=!1),configuration.exclude instanceof Array&&-1!==Echo1200ATInternet.Utils.arrayIndexOf(configuration.exclude,e.name)&&(n=!1)),Echo1200ATInternet.Callbacks&&Echo1200ATInternet.Callbacks.hasOwnProperty(e.name)){var i={};i[e.name]={function:Echo1200ATInternet.Callbacks[e.name]},n&&t.load(e.name,i[e.name].function),Echo1200ATInternet.Tracker.callbackProtos[e.name]||(Echo1200ATInternet.Tracker.callbackProtos[e.name]=i[e.name])}}};t.load=function(t,n){return"function"==typeof n?(new n(e),e.emit("Tracker:Callback:Load:"+t+":Ok",{lvl:"INFO",details:{obj:n}})):e.emit("Tracker:Callback:Load:"+t+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:n}}),e},t.init=function(){if(e.getConfig("activateCallbacks")){var r=e.getConfig("callbacks");if(void 0!==r&&r.include instanceof Array)for(var o=0;o<r.include.length;o++)Echo1200ATInternet.Callbacks&&Echo1200ATInternet.Callbacks.hasOwnProperty(r.include[o])&&(n[r.include[o]]={function:Echo1200ATInternet.Callbacks[r.include[o]]},Echo1200ATInternet.Tracker.callbackProtos[r.include[o]]||(Echo1200ATInternet.Tracker.callbackProtos[r.include[o]]=n[r.include[o]]));else for(o in Echo1200ATInternet.Callbacks)Echo1200ATInternet.Callbacks.hasOwnProperty(o)&&(n[o]={function:Echo1200ATInternet.Callbacks[o]},Echo1200ATInternet.Tracker.callbackProtos[o]||(Echo1200ATInternet.Tracker.callbackProtos[o]=n[o]));if(void 0!==r&&r.exclude instanceof Array)for(o=0;o<r.exclude.length;o++)n[r.exclude[o]]&&(n[r.exclude[o]]=void 0);for(var s in n)n.hasOwnProperty(s)&&n[s]&&t.load(s,n[s].function);Echo1200ATInternet.Utils.addCallbackEvent(i)}},t.removeCallbackEvent=function(){Echo1200ATInternet.Utils.removeCallbackEvent(i)}},s=function(e){var t={};this.set=function(e,n,i){(i=i||{}).hitType=i.hitType||["page"],t[e]={value:n,options:i}};var n=function(e,t,n){return(e=window.Echo1200ATInternet.Utils.cloneSimpleObject(e[t]))&&!n?e.value:e};this.get=function(e,i){var r={};if("string"==typeof e)r=n(t,e,i);else for(var o=function e(n,i){if(!(n&&i instanceof Array&&n instanceof Array))return[];if(0===n.length)return i;var r,o=n[0],s=[],a=window.Echo1200ATInternet.Utils.cloneSimpleObject(n);a.shift();for(var u=0;u<i.length;u++)if("object"!=typeof o[1])t[i[u]]&&t[i[u]].options[o[0]]===o[1]&&s.push(i[u]);else{r=o[1].length;for(var c=0;c<r;c++)if(t[i[u]]&&t[i[u]].options[o[0]]instanceof Array&&0<=window.Echo1200ATInternet.Utils.arrayIndexOf(t[i[u]].options[o[0]],o[1][c])){s.push(i[u]);break}}return e(a,s)}(e,window.Echo1200ATInternet.Utils.getObjectKeys(t)),s=0;s<o.length;s++)r[o[s]]=n(t,o[s],i);return r},this.presentInFilters=function e(t,n){return!(!t||0===t.length)&&(t[0][0]===n||e(t.slice(1),n))},this.addInFilters=function e(t,n,i,r){if(!t||0===t.length)return r?[]:[[n,i]];var o=t[0][0],s=t[0][1];return o===n&&(s instanceof Array&&-1===window.Echo1200ATInternet.Utils.arrayIndexOf(s,i[0])&&s.push(i[0]),r=!0),[[o,s]].concat(e(t.slice(1),n,i,r))},this.del=function(e){t[e]=void 0},this.clear=function(){t={}}};Echo1200ATInternet.Tracker.Tag=function(e,a,u){a=a||{};var c=this;c.version="5.17.1";var l=window.Echo1200ATInternet.Utils.cloneSimpleObject(a);c.triggers=new i(c),c.emit=c.triggers.emit,c.onTrigger=c.triggers.on;var f,d=window.Echo1200ATInternet.Utils.cloneSimpleObject(t)||{};for(f in e)e.hasOwnProperty(f)&&(d[f]=e[f]);c.getConfig=function(e){return d[e]},c.setConfig=function(e,t,n){void 0!==d[e]&&n||(c.emit("Tracker:Config:Set:"+e,{lvl:"INFO",details:{bef:d[e],aft:t}}),d[e]=t)},c.configPlugin=function(e,t,n){for(var i in d[e]=d[e]||{},t)t.hasOwnProperty(i)&&void 0===d[e][i]&&(d[e][i]=t[i]);return n&&(n(d[e]),c.onTrigger("Tracker:Config:Set:"+e,function(e,t){n(t.details.aft)})),d[e]},c.getContext=function(e){return l[e]},c.setContext=function(e,t){c.emit("Tracker:Context:Set:"+e,{lvl:"INFO",details:{bef:l[e],aft:t}}),l[e]=t},c.delContext=function(e,t){if(c.emit("Tracker:Context:Deleted:"+e+":"+t,{lvl:"INFO",details:{key1:e,key2:t}}),e)l.hasOwnProperty(e)&&(t?l[e]&&l[e].hasOwnProperty(t)&&(l[e][t]=void 0):l[e]=void 0);else if(t)for(var n in l)l.hasOwnProperty(n)&&l[n]&&l[n].hasOwnProperty(t)&&(l[n][t]=void 0)},c.plugins=new r(c),c.buffer=new s(c),c.setParam=c.buffer.set,c.getParams=function(e){return c.buffer.get(e,!1)},c.getParam=c.buffer.get,c.delParam=c.buffer.del,c.builder=new n(c),c.sendHit=c.builder.send,c.sendUrl=c.builder.sendUrl,c.callbacks=new o(c),c.setParam("ts",function(){return(new Date).getTime()},{permanent:!0,hitType:["all"]}),(c.getConfig("disableCookie")||c.getConfig("disableStorage"))&&c.setParam("idclient","Consent-NO",{permanent:!0,hitType:["all"]}),c.getConfig("medium")&&c.setParam("medium",c.getConfig("medium"),{permanent:!0,hitType:["all"]}),c.plugins.init(),c.callbacks.init(),Echo1200ATInternet.Tracker.instances.push(c),c.emit("Tracker:Ready",{lvl:"INFO",msg:"Tracker initialized",details:{tracker:c,args:{config:e,context:a,callback:u}}}),u&&u(c)},Echo1200ATInternet.Tracker.instances=[],Echo1200ATInternet.Tracker.pluginProtos={},Echo1200ATInternet.Tracker.addPlugin=function(e,t){if(t=t||Echo1200ATInternet.Tracker.Plugins[e],!Echo1200ATInternet.Tracker.pluginProtos[e]){Echo1200ATInternet.Tracker.pluginProtos[e]=t;for(var n=0;n<Echo1200ATInternet.Tracker.instances.length;n++)Echo1200ATInternet.Tracker.instances[n].plugins.load(e,t)}},Echo1200ATInternet.Tracker.delPlugin=function(e){if(Echo1200ATInternet.Tracker.pluginProtos[e]){Echo1200ATInternet.Tracker.pluginProtos[e]=void 0;for(var t=0;t<Echo1200ATInternet.Tracker.instances.length;t++)Echo1200ATInternet.Tracker.instances[t].plugins.unload(e)}},Echo1200ATInternet.Tracker.callbackProtos={}}.call(window),function(){var e={lifetime:30,lastPersistence:!0,listEventsForExec:[],domainAttribution:!0,info:!0};window.Echo1200ATInternet.Tracker.Plugins.Campaigns=function(t){t.setConfig("visitLifetime",30,!0),t.setConfig("redirectionLifetime",30,!0);var n,i,r={};t.configPlugin("Campaigns",e,function(e){r=e});var o,s,a,u,c,l,f,d,p,h,_,g,v,m=function(){var e=function(e){var t="";return e&&(t=isNaN(e)&&-1===e.search(/\[(.*?)\]/g)?"["+e+"]":e),t},n=function(e){for(;"-"===e.charAt(e.length-1);)e=e.substring(0,e.length-1);return e};this.SponsoredLinks=function(){var i={google:"goo",yahoo:"ysm",miva:"miv",orange:"wan",msn:"msn",mirago:"mir",sklik:"skl",adfox:"adf",etarget:"etg",yandex:"yan",ebay:"eba",searchalliance:"sal",bing:"bin",naver:"nav",baidu:"bdu",qwant:"qwt"},r={search:"s",content:"c"};this.at_medium="sl",this.at_term=this.at_network=this.at_variant=this.at_creation=this.at_platform=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),o=i[this.at_platform]||"",s=e(this.at_creation),a=e(this.at_variant),u=r[this.at_network]||"",c=e(this.at_term);return n("sec-"+t+"-"+o+"-"+s+"-"+a+"-"+u+"-"+c)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_platform=t.utils.getQueryStringValue("at_platform",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||"",this.at_network=t.utils.getQueryStringValue("at_network",e)||"",this.at_term=t.utils.getQueryStringValue("at_term",e)||""}},this.Email=function(){var i={acquisition:"erec",retention:"epr",promotion:"es"};this.at_medium="email",this.at_send_time=this.at_recipient_list=this.at_recipient_id=this.at_link=this.at_send_date=this.at_creation=this.at_campaign=this.at_emailtype="",this.format=function(){var t=(t=i[this.at_emailtype]||i.promotion)+"-"+e(this.at_campaign)+"-"+e(this.at_creation)+"-"+this.at_send_date+"-"+e(this.at_link)+"-"+this.at_recipient_id+(this.at_recipient_list?"@"+this.at_recipient_list:"")+"-"+this.at_send_time;return n(t)},this.setProperties=function(e){this.at_emailtype=t.utils.getQueryStringValue("at_emailtype",e)||"",this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_send_date=t.utils.getQueryStringValue("at_send_date",e)||"",this.at_link=t.utils.getQueryStringValue("at_link",e)||"",this.at_recipient_id=t.utils.getQueryStringValue("at_recipient_id",e)||"",this.at_recipient_list=t.utils.getQueryStringValue("at_recipient_list",e)||"",this.at_send_time=t.utils.getQueryStringValue("at_send_time",e)||""}},this.Affiliate=function(){this.at_medium="affiliate",this.at_variant=this.at_creation=this.at_format=this.at_identifier=this.at_type=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),i=e(this.at_type),r=e(this.at_identifier),o=e(this.at_format),s=e(this.at_creation),a=e(this.at_variant);return n("al-"+t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_type=t.utils.getQueryStringValue("at_type",e)||"",this.at_identifier=t.utils.getQueryStringValue("at_identifier",e)||"",this.at_format=t.utils.getQueryStringValue("at_format",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||""}},this.Display=function(){this.at_medium="display",this.at_detail_placement=this.at_general_placement=this.at_channel=this.at_format=this.at_variant=this.at_creation=this.at_campaign="",this.format=function(){var t=e(this.at_campaign),i=e(this.at_creation),r=e(this.at_variant),o=e(this.at_format),s=e(this.at_channel),a=e(this.at_general_placement),u=e(this.at_detail_placement);return n("ad-"+t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a+"-"+u)},this.setProperties=function(e){this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_creation=t.utils.getQueryStringValue("at_creation",e)||"",this.at_variant=t.utils.getQueryStringValue("at_variant",e)||"",this.at_format=t.utils.getQueryStringValue("at_format",e)||"",this.at_channel=t.utils.getQueryStringValue("at_channel",e)||"",this.at_general_placement=t.utils.getQueryStringValue("at_general_placement",e)||"",this.at_detail_placement=t.utils.getQueryStringValue("at_detail_placement",e)||""}},this.Custom=function(){this.at_custom4=this.at_custom3=this.at_custom2=this.at_custom1=this.at_campaign=this.at_medium="",this.format=function(){var t="";/\d+$/.test(this.at_medium)&&(t=/\d+$/.exec(this.at_medium)[0]),t="cs"+t;var i=e(this.at_campaign),r=e(this.at_custom1),o=e(this.at_custom2),s=e(this.at_custom3),a=e(this.at_custom4);return n(t+"-"+i+"-"+r+"-"+o+"-"+s+"-"+a)},this.setProperties=function(e){this.at_medium=t.utils.getQueryStringValue("at_medium",e)||"",this.at_campaign=t.utils.getQueryStringValue("at_campaign",e)||"",this.at_custom1=t.utils.getQueryStringValue("at_custom1",e)||"",this.at_custom2=t.utils.getQueryStringValue("at_custom2",e)||"",this.at_custom3=t.utils.getQueryStringValue("at_custom3",e)||"",this.at_custom4=t.utils.getQueryStringValue("at_custom4",e)||""}},this.medium={sl:this.SponsoredLinks,email:this.Email,affiliate:this.Affiliate,display:this.Display}},E=function(e,r){var o=t.storage[i](e);return null!==o?"object"==typeof o&&!(o instanceof Array):(t.storage[n](e,{},r),!0)},y=function(e,n){var i=t.getContext("campaigns")||{};i[e]=n,t.setContext("campaigns",i)};t.plugins.waitForDependencies(["Storage","Utils"],function(){n="set"+(r.domainAttribution?"":"Private"),i="get"+(r.domainAttribution?"":"Private"),o=t.storage[i](["atredir","gopc"]),s=t.storage[i](["atredir","gopc_err"]),a=t.storage[i](["atredir","camp"]),t.storage.del(["atredir","gopc"]),t.storage.del(["atredir","gopc_err"]),t.storage.del(["atredir","camp"]),u=t.storage[i](["atsession","histo_camp"]),c=t.storage[i](["atreman","camp"]),l=t.storage[i](["atreman","date"]);var e,b=t.utils.getLocation();if(S=t.utils.getQueryStringValue("at_medium",b)){var S,A=new m;(S="function"==typeof A.medium[S]?new A.medium[S]:new A.Custom).setProperties(b),f=S.format()}else f=t.utils.getQueryStringValue("xtor",b);d=t.utils.getQueryStringValue("xtdt",b),p=t.utils.getQueryStringValue("xts",b),h=t.getContext("forcedCampaign"),_=!!t.getConfig("redirect"),v=!1,(g=!!(f&&d&&p))&&(b=(new Date).getTime()/6e4,v=!_&&p!==t.getConfig("site")||b-d<0||b-d>=t.getConfig("visitLifetime")),b=h||a||f,_&&b&&E("atredir",{path:"/",end:t.getConfig("redirectionLifetime")})&&(t.storage[n](["atredir","camp"],b),S=b=!1,h||(S=a?(b=o,s):(b=g,v)),t.storage[n](["atredir","gopc"],b),t.storage[n](["atredir","gopc_err"],S)),!_&&c&&(y("xtor",c),b=(new Date).getTime()/36e5,b=Math.floor(b-l),y("roinbh",0<=b?b:0)),_||(b=null,b=a?o?h||b:h||a:g?h:h||f||b,u&&u instanceof Array&&-1<u.indexOf(b)&&(b=null),b&&y("xto",b)),_||h||(a?s&&(e=a):v&&(e=f),e&&y("pgt",e)),_||!(e=a?h||a:h||f||null)||!h&&!a&&g&&v||!h&&a&&o&&s||((!u||u instanceof Array&&u.indexOf(e)<0)&&E("atsession",{path:"/",session:60*t.getConfig("visitLifetime")})&&t.storage[n](["atsession","histo_camp"],u&&u.push(e)?u:[e]),c&&!r.lastPersistence||!E("atreman",{path:"/",session:86400*r.lifetime})||(t.storage[n](["atreman","camp"],e),t.storage[n](["atreman","date"],(new Date).getTime()/36e5))),t.emit("Campaigns:process:done",{lvl:"INFO"})})},window.Echo1200ATInternet.Tracker.addPlugin("Campaigns")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Clicks=function(e){var t=function(e){var t="";switch(e){case"exit":t="S";break;case"download":t="T";break;case"action":t="A";break;case"navigation":t="N"}return t},n=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},i=function(i){var r={p:n(i),s2:i.level2||"",click:t(i.type)||""},o=["click"],s=e.getContext("page")||{};r.pclick=n(s),r.s2click=s.level2||"";var a=!1;(s=i.customObject)&&(a=!0,s=e.processTagObject("stc",o,s),r.stc={value:Echo1200ATInternet.Utils.jsonSerialize(s),options:{hitType:o,encode:!0,separator:",",truncate:!0}}),e.sendHit(r,[["hitType",o]],i.callback,null,a)};e.click={},e.clickListener=this.clickListener={},e.click.send=this.send=function(t){var n=!0,r=null;return t&&t.hasOwnProperty("event")&&(r=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(r)&&t.elem&&(n=e.techClicks.manageClick(t.elem,r)),i(t),n},e.clickListener.send=this.clickListener.send=function(t){if(t.elem){var n="click";e.plugins.exec("TechClicks","isFormSubmit",[t.elem],function(e){n=e?"submit":"click"}),Echo1200ATInternet.Utils.addEvtListener(t.elem,n,function(n){Echo1200ATInternet.Utils.isTabOpeningAction(n)||e.techClicks.manageClick(t.elem,n),i(t)})}},e.click.set=this.set=function(i){e.dispatchSubscribe("click"),e.setContext("click",{name:n(i),level2:i.level2||"",customObject:i.customObject}),e.setParam("click",t(i.type)||"",{hitType:["click"]})},e.click.onDispatch=this.onDispatch=function(t){var i=["click"],r=e.getContext("click")||{},o=e.getContext("page")||{};e.setParam("pclick",n(o),{hitType:i}),e.setParam("s2click",o.level2||"",{hitType:i}),e.setParam("p",r.name,{hitType:i}),e.setParam("s2",r.level2,{hitType:i}),(r=r.customObject)?e.processContextObjectAndSendHit("stc",{hitType:i,encode:!0,separator:",",truncate:!0},r,t):e.manageSend(function(){e.sendHit(null,[["hitType",i]],t)}),e.setContext("click",void 0)}},window.Echo1200ATInternet.Tracker.addPlugin("Clicks")}.call(window),function(){var e={clientSideMode:"always",userIdCookieDuration:397,userIdExpirationMode:"relative",optOut:"OPT-OUT",userIdStorageName:"atuserid",optOutStorageName:"atoptedout",info:!0};window.Echo1200ATInternet.Tracker.Plugins.ClientSideUserId=function(t){var n={},i=void 0,r=null,o=!1,s=!1,a=!1,u="",c="",l=!1,f=!1,d=-1;t.configPlugin("ClientSideUserId",e,function(e){n=e});var p=function(){if("relative"===n.userIdExpirationMode||"fixed"===n.userIdExpirationMode&&null===r||l){var e=new Date;e.setTime(e.getTime()+864e5*n.userIdCookieDuration),t.storage.set(c,u,{end:e,path:"/"},f),e=t.storage.get(c,!0),Echo1200ATInternet.Utils.consent&&!l&&u!==e&&t.setParam("idclient",u+"-NO",{multihit:!0,permanent:!0,hitType:["all"]})}},h=function(){t.setParam("idclient",u,{multihit:!0,permanent:!0,hitType:["all"]}),p()},_=function(){i=t.getContext("userIdentifier"),r=t.storage.get("atuserid");var e=!1;if("required"===n.clientSideMode){var d="";window.navigator&&(d=window.navigator.userAgent),(/Safari/.test(d)&&!/Chrome/.test(d)||/iPhone|iPod|iPad/.test(d))&&(e=!0)}else"always"===n.clientSideMode&&(e=!0);o=e,(e=!1)===(d=Echo1200ATInternet.Utils.optedOut)&&(t.storage.del("atoptedout"),t.getParam("idclient")===n.optOut&&t.delParam("idclient"));var p=t.storage.get("atoptedout",!0);!0!==d&&p!==n.optOut||(e=!0),e&&(Echo1200ATInternet.Utils.optedOut=!0),s=e,a=void 0!==i,(o||s||a)&&(c=n.userIdStorageName,f=l=!1,s?(u=n.optOut,c=n.optOutStorageName,f=l=!0):t.getConfig("disableCookie")||t.getConfig("disableStorage")?(u=t.getParam("idclient"),l=!0):a?(u=i,l=!0):u=null!==r?r:Echo1200ATInternet.Utils.uuid().v4(),h())},g=function(e){e&&(e=e.detail)&&"clientsideuserid"===e.name&&e.id===d&&_()};t.plugins.waitForDependencies(["Storage"],function(){var e=Echo1200ATInternet.Utils.uuid();d=parseInt(e.num(8)),Echo1200ATInternet.Utils.removeOptOutEvent(g),Echo1200ATInternet.Utils.addOptOutEvent(d,g),_()}),t.clientSideUserId={},t.clientSideUserId.set=function(e){s||(u=e,l=!0,c=n.userIdStorageName,f=!1,h())},t.clientSideUserId.store=function(){f=l=!0,p()},t.clientSideUserId.get=function(){return u}},window.Echo1200ATInternet.Tracker.addPlugin("ClientSideUserId")}.call(window),function(){var e={domainAttribution:!0,info:!0};window.Echo1200ATInternet.Tracker.Plugins.ContextVariables=function(t){var n,i="",r=null,o="",s="",a={};t.configPlugin("ContextVariables",e,function(e){a=e}),t.setConfig("redirectionLifetime",30,!0);var u=function(e,n){return i="Utils",r=e,o=n,s=null,t.plugins.exec(i,r,o,function(e){s=e}),s;var i,r,o,s},c=function(e,n){var i=null;return t.plugins.exec("Storage",e,n,function(e){i=e}),i};t.plugins.waitForDependencies(["Storage","Utils"],function(){o="set"+(a.domainAttribution?"":"Private"),s="get"+(a.domainAttribution?"":"Private");var e,l=u("getLocation",[]);if(void 0===(i=u("getQueryStringValue",["xtref",l]))&&(i=""),n=t.getContext("forcedReferer"),t.getConfig("redirect")){var f;if(l=u("getDocumentLevel",[]),f=l=n||(null!==i?i:l?l.referrer:"acc_dir")){f={path:"/",end:t.getConfig("redirectionLifetime")};var d=c(s,["atredir"]);f=null!==d?"object"==typeof d&&!(d instanceof Array):(c(o,["atredir",{},f]),!0)}f&&c(o,[["atredir","ref"],l])}else{r=c(s,[["atredir","ref"]]),c("del",[["atredir","ref"]]),t.setParam("vtag",t.version,{permanent:!0,hitType:["all"]}),t.setParam("ptag","js",{permanent:!0,hitType:["all"]}),l="";try{l+=window.screen.width+"x"+window.screen.height+"x"+window.screen.pixelDepth+"x"+window.screen.colorDepth}catch(e){}t.setParam("r",l,{permanent:!0,hitType:["all"]}),l="",window.innerWidth?l+=window.innerWidth+"x"+window.innerHeight:document.body&&document.body.offsetWidth&&(l+=document.body.offsetWidth+"x"+document.body.offsetHeight),t.setParam("re",l,{permanent:!0,hitType:["all"]}),t.setParam("hl",function(){var e=new Date;return e.getHours()+"x"+e.getMinutes()+"x"+e.getSeconds()},{permanent:!0,hitType:["all"]}),window.navigator&&t.setParam("lng",window.navigator.language||window.navigator.userLanguage,{permanent:!0,hitType:["all"]}),l=Echo1200ATInternet.Utils.uuid().num(13),t.setParam("idp",l,{permanent:!0,hitType:["page","clickzone"]}),window.navigator&&t.setParam("jv",window.navigator.javaEnabled()?"1":"0",{hitType:["page"]}),l=u("getDocumentLevel",[]),t.setParam("ref",(e=l,(e=n||("acc_dir"===i?"":null!==i?i:"acc_dir"===r?"":r||(e?e.referrer:"")))&&(e=e.replace(/[<>]/g,"").substring(0,1600).replace(/&/g,"$")),e),{permanent:!0,last:!0,hitType:["page"]})}t.emit("ContextVariables:Ready",{lvl:"INFO"})})},window.Echo1200ATInternet.Tracker.addPlugin("ContextVariables")}.call(window),function(){var e={storageCapacity:1,timeout:500,info:!0};window.Echo1200ATInternet.Tracker.Plugins.Offline=function(t){var n={};t.configPlugin("Offline",e,function(e){n=e});var i=function(){var e=localStorage.getItem("ATOffline"),t={hits:[],length:0};if(e){var n=Echo1200ATInternet.Utils.jsonParse(e)||{hits:[]};t.hits=n.hits,t.length=e.length}return t},r=function(e){try{localStorage.setItem("ATOffline",Echo1200ATInternet.Utils.jsonSerialize(e))}catch(e){}},o=function(){return i().hits},s=function(e){if(e){e=e.split(/&ref=\.*/i);var t="&cn=offline&olt="+String(Math.floor((new Date).getTime()/1e3));e=e[0]+t+"&ref="+(e[1]||"")}return e},a=function(e){var t=i(),o=e.length,s=!0;if(4*((t.length||11)+o)>1048576*n.storageCapacity){s=!1;var a=t.hits.shift();if(void 0!==a){s=!0;for(var u=a.length;u<o;){if(void 0===(a=t.hits.shift())){s=!1;break}u+=a.length}}}s&&(t.hits.push(e),r({hits:t.hits}))},u=function(e,i){if(window.navigator&&window.navigator.onLine){var c=o();if(0<c.length){var l=c.shift();r({hits:c}),t.onTrigger("Tracker:Hit:Sent:Ok",function(){u(e,i)},!0),t.onTrigger("Tracker:Hit:Sent:Error",function(){u(e,i)},!0),t.sendUrl(l)}else if(e){var f=null;t.plugins.exec("Utils","getQueryStringValue",["a",e],function(e){f=e}),f?setTimeout(function(){t.sendUrl(e,i)},n.timeout):t.sendUrl(e,i)}}else e&&(a(s(e)),i&&i())},c=function(e){t.builder.sendUrl=function(t,n){e||window.navigator&&!window.navigator.onLine?(a(s(t)),n&&n()):u(t,n)}};t.offline={},t.offline.getLength=function(){return 4*i().length},t.offline.remove=function(){r({hits:[]})},t.offline.get=o,t.offline.send=function(){u(null,null)},t.plugins.waitForDependencies(["Utils"],function(){var e,i=Echo1200ATInternet.Utils.isLocalStorageAvailable();window.navigator&&(e=window.navigator.onLine),i&&void 0!==e&&("required"===n.storageMode?c(!1):"always"===n.storageMode&&c(!0)),t.emit("Offline:Ready",{lvl:"INFO",details:{isLocalStorageAvailable:i,storageMode:n.storageMode,isOnline:e}})})},window.Echo1200ATInternet.Tracker.addPlugin("Offline")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.OnSiteAds=function(e){var t="",n=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},i=function(e,t){return e[t]?e[t]:""},r=function(e,t){if(r=i(e,t)){var n=i(e,"prefix");if(r.campaignId){n=n||"PUB";var r,o=i(r,"campaignId"),s=i(r,"creation");return n+"-"+o+"-"+s+"-"+i(r,"variant")+"-"+i(r,"format")+"-"+i(r,"generalPlacement")+"-"+i(r,"detailedPlacement")+"-"+i(r,"advertiserId")+"-"+(r=i(r,"url"))}if(r.adId)return(n=n||"INT")+"-"+(o=i(r,"adId"))+"-"+(s=i(r,"format"))+"||"+(r=i(r,"productId"))}return""},o=function(t,n){var i=e.buffer.get("ati",!0)||{};i.value="string"==typeof i.value?[i.value]:i.value||[],i.options=i.options||{truncate:!0,hitType:[n,"page"]},i.value.push(t),e.buffer.set("ati",i.value,i.options)},s=function(t,n){if(t.click?e.setParam("atc",r(t,"click"),{truncate:!0,hitType:[n,"page"]}):t.impression&&e.setParam("ati",r(t,"impression"),{truncate:!0,hitType:[n,"page"]}),t.customObject){e.setContext("onsiteads",{customObject:t.customObject});var i=e.getContext("page")||{};i.customObject=Echo1200ATInternet.Utils.completeFstLevelObj(i.customObject,t.customObject,!1),e.setContext("page",i)}e.dispatchSubscribe("onSiteAds")};e.selfPromotion=this.selfPromotion={},e.publisher=this.publisher={},e.publisher.set=this.publisher.set=function(e){s(e,"publisher")},e.selfPromotion.set=this.selfPromotion.set=function(e){s(e,"selfPromotion")},e.publisher.add=this.publisher.add=function(t){o(r(t,"impression"),"publisher"),e.dispatchSubscribe("onSiteAds")},e.selfPromotion.add=this.selfPromotion.add=function(t){o(r(t,"impression"),"selfPromotion"),e.dispatchSubscribe("onSiteAds")};var a=this.advertEvent=function(t){var i=!0,o=null;if(t&&t.hasOwnProperty("event")&&(o=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(o)&&t.elem&&(i=e.techClicks.manageClick(t.elem,o)),t.click){o=["onSiteAdsClick"];var s=e.getContext("page")||{},a={};a.atc={value:r(t,"click"),options:{truncate:!0}},a.type="AT",a.patc=n(s),a.s2atc=s.level2||"",(s=t.customObject)&&(s=e.processTagObject("stc",o,s),a.stc={value:Echo1200ATInternet.Utils.jsonSerialize(s),options:{hitType:o,encode:!0,separator:",",truncate:!0}}),e.sendHit(a,[["hitType",o]],t.callback,null,!0)}else t.impression&&function(t){var n=["onSiteAdsImpression"],i={};i.ati={value:r(t,"impression"),options:{hitType:n,truncate:!0}},i.type="AT",Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&(i.pvw=1);var o=t.customObject;o&&(o=e.processTagObject("stc",n,o),i.stc={value:Echo1200ATInternet.Utils.jsonSerialize(o),options:{hitType:n,encode:!0,separator:",",truncate:!0}}),e.manageSend(function(){e.sendHit(i,[["hitType",n]],t.callback,null,!0)})}(t);return i};e.publisher.send=this.publisher.send=function(e){return a(e)},e.selfPromotion.send=this.selfPromotion.send=function(e){return a(e)},e.onSiteAds={},e.onSiteAds.onDispatch=this.onDispatch=function(t){if(!e.dispatchSubscribed("page")){e.setParam("type","AT",{hitType:["publisher","selfPromotion"]});var i=e.getContext("page")||{};e.getParam("atc")&&(e.setParam("patc",n(i),{hitType:["publisher","selfPromotion"]}),e.setParam("s2atc",i.level2||"",{hitType:["publisher","selfPromotion"]})),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&e.setParam("pvw",1);var r=["publisher","selfPromotion"];(i=(e.getContext("onsiteads")||{}).customObject)?e.processContextObjectAndSendHit("stc",{hitType:r,encode:!0,separator:",",truncate:!0},i,t):e.manageSend(function(){e.sendHit(null,[["hitType",r]],t)})}},e.plugins.waitForDependencies(["Utils","TechClicks"],function(){t=document.location.href,e.plugins.exec("Utils","getQueryStringValue",["xtatc",t],function(t){t&&e.setParam("atc",t,{hitType:["publisher","selfPromotion","page"]})}),e.emit("OnSiteAds:Ready",{lvl:"INFO",details:{href:t}})})},window.Echo1200ATInternet.Tracker.addPlugin("OnSiteAds")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Page=function(e){var t=["pageId","chapterLabel","update"],n=["pid","pchap","pidt"],i=["page","site"],r=["f","x"],o=function(t){var n=t.name;return e.exec("Utils","manageChapters",[t,"chapter",3],function(e){n=e+(n||"")}),n},s=function(e,t,n){return t?e=t:e||void 0===n||(e=n),e},a=function(e,t,n){t.hasOwnProperty(n)&&(e[n]=s(e[n],t[n]))},u=function(t,n,o){if(n)for(var s=0;s<i.length;s++)if(n.hasOwnProperty(i[s])&&n[i[s]])for(var a in n[i[s]])n[i[s]].hasOwnProperty(a)&&(o?t[r[s]+a]=n[i[s]][a]:e.setParam(r[s]+a,n[i[s]][a]))},c=function(i,r,o){if(r){e.exec("Utils","manageChapters",[r,"chapter",3],function(e){e&&(r.chapterLabel=e.replace(/::$/gi,""))});for(var s=0;s<n.length;s++)r.hasOwnProperty(t[s])&&(o?i[n[s]]=r[t[s]]:e.setParam(n[s],r[t[s]]))}},l=function(t,n,i){if(n&&n.keywords instanceof Array){var r=n.keywords.length;if(0<r){for(var o="",s=0;s<r;s++)o+="["+n.keywords[s]+"]"+(s<r-1?"|":"");i?t.tag=o:e.setParam("tag",o)}}},f=function(t,n,i){if(n){var r,o=function(e){return e||"0"};r=o(n.category1)+"-",r+=o(n.category2)+"-",r+=o(n.category3),i?t.ptype=r:e.setParam("ptype",r)}},d=function(t,n,i){if(n)for(var r in n)n.hasOwnProperty(r)&&void 0!==n[r]&&(i?t[r]=n[r]:e.setParam(r,n[r]))};e.customVars=this.customVars={},e.customVars.set=this.customVars.set=function(t){var n=e.getContext("page")||{},i=n.customVars;if(i){if(t)for(var r in t)t.hasOwnProperty(r)&&(i[r]=Echo1200ATInternet.Utils.completeFstLevelObj(i[r],t[r],!0))}else i=t;n.customVars=i,e.setContext("page",n)},e.dynamicLabel=this.dynamicLabel={},e.dynamicLabel.set=this.dynamicLabel.set=function(t){var n=e.getContext("page")||{};n.dynamicLabel=Echo1200ATInternet.Utils.completeFstLevelObj(n.dynamicLabel,t,!0),e.setContext("page",n)},e.tags=this.tags={},e.tags.set=this.tags.set=function(t){var n=e.getContext("page")||{};n.tags=Echo1200ATInternet.Utils.completeFstLevelObj(n.tags,t,!0),e.setContext("page",n)},e.customTreeStructure=this.customTreeStructure={},e.customTreeStructure.set=this.customTreeStructure.set=function(t){var n=e.getContext("page")||{};n.customTreeStructure=Echo1200ATInternet.Utils.completeFstLevelObj(n.customTreeStructure,t,!0),e.setContext("page",n)},e.page={},e.page.reset=this.reset=function(){e.setContext("page",void 0)},e.page.set=this.set=function(t){e.dispatchSubscribe("page");var n=e.getContext("page")||{};n.name=s(n.name,t.name,""),n.level2=s(n.level2,t.level2,""),a(n,t,"chapter1"),a(n,t,"chapter2"),a(n,t,"chapter3"),n.customObject=Echo1200ATInternet.Utils.completeFstLevelObj(n.customObject,t.customObject,!0),e.setContext("page",n)},e.page.send=this.send=function(t){var n=!0,i={p:o(t),s2:t.level2||""},r=t.customObject,p=!1;if(r){p=!0;var h=["page"];r=e.processTagObject("stc",h,r),i.stc={value:Echo1200ATInternet.Utils.jsonSerialize(r),options:{hitType:h,encode:!0,separator:",",truncate:!0}}}return(r=e.getContext("page")||{}).vrn&&(i.vrn=r.vrn,r.vrn=void 0,e.setContext("page",r)),void 0!==(h=e.getContext("InternalSearch")||{}).keyword&&(i.mc=Echo1200ATInternet.Utils.cloneSimpleObject(h.keyword),void 0!==h.resultPageNumber&&(i.np=Echo1200ATInternet.Utils.cloneSimpleObject(h.resultPageNumber)),e.setContext("InternalSearch",void 0)),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&(i.pvw=1),u(i,t.customVars,!0),c(i,t.dynamicLabel,!0),l(i,t.tags,!0),f(i,t.customTreeStructure,!0),h=e.getContext("campaigns")||{},d(i,h,!0),e.setContext("campaigns",void 0),h=null,t&&t.hasOwnProperty("event")&&(h=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(h)&&t.elem&&(n=e.techClicks.manageClick(t.elem,h)),e.manageSend(function(){e.sendHit(i,null,t.callback,null,p)}),r.name=s(r.name,t.name,""),r.level2=s(r.level2,t.level2,""),a(r,t,"chapter1"),a(r,t,"chapter2"),a(r,t,"chapter3"),e.setContext("page",r),n},e.page.onDispatch=this.onDispatch=function(t){var n=e.getContext("page")||{},i=e.getContext("InternalSearch")||{};e.setParam("p",o(n)),e.setParam("s2",n.level2||""),n.vrn&&(e.setParam("vrn",n.vrn),n.vrn=void 0,e.setContext("page",n)),void 0!==i.keyword&&(e.setParam("mc",Echo1200ATInternet.Utils.cloneSimpleObject(i.keyword)),void 0!==i.resultPageNumber&&e.setParam("np",Echo1200ATInternet.Utils.cloneSimpleObject(i.resultPageNumber)),e.setContext("InternalSearch",void 0)),Echo1200ATInternet.Utils.isPreview()&&e.getConfig("preview")&&e.setParam("pvw",1),u(null,n.customVars,!1),c(null,n.dynamicLabel,!1),l(null,n.tags,!1),f(null,n.customTreeStructure,!1),i=e.getContext("campaigns")||{},d(null,i,!1),e.setContext("campaigns",void 0);var r=["page"];(n=n.customObject)?e.processContextObjectAndSendHit("stc",{hitType:r,encode:!0,separator:",",truncate:!0},n,t):e.manageSend(function(){e.sendHit(null,[["hitType",r]],t)})}},window.Echo1200ATInternet.Tracker.addPlugin("Page")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.RichMedia=function(e){var t=function(e,t){var n=parseInt(e,10);return n?Math.max(n,t):0},n=new function(){this.media=function(){this.type=void 0,this.plyr=0,this.clnk=this.s2=void 0,this.p="",this.m9=this.m6=this.m5=this.m1=this.rfsh=this.buf=this.a=void 0},this.mediaAll={},this.setMediaValue=function(e,t,n,i){void 0!==i&&(this.mediaAll[e]=this.mediaAll[e]||{},this.mediaAll[e][t]=this.mediaAll[e][t]||new this.media,this.mediaAll[e][t][n]=i)},this.getMediaValue=function(e,t,n){if(this.mediaAll[e]&&this.mediaAll[e][t])return this.mediaAll[e][t][n]},this.removePlayer=function(e){this.mediaAll[e]={}},this.removeAll=function(){this.mediaAll={}}},i=new function(){this.timeout={},this.setTimeout=function(t,n,i){this.timeout[t]=this.timeout[t]||{},this.timeout[t][n]&&window.clearTimeout(this.timeout[t][n]),this.timeout[t][n]=window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:t,mediaLabel:n})},1e3*i)},this.setTimeoutObject=function(i,r,o){if(this.timeout[i]=this.timeout[i]||{},void 0===this.timeout[i][r]){var s,a=[];for(s in o)o.hasOwnProperty(s)&&a.push({delay:t(s,0),refresh:t(o[s],5)});a.sort(function(e,t){return e.delay<t.delay?-1:e.delay>t.delay?1:0}),this.timeout[i][r]={refreshTab:a,backupRefreshTab:Echo1200ATInternet.Utils.cloneSimpleObject(a),delayConfiguration:{}}}if(0<(o=this.timeout[i][r]).refreshTab.length&&(a=o.refreshTab[0].delay,s=o.refreshTab[0].refresh,"number"==typeof a&&"number"==typeof s&&0<s)){o.delayConfiguration[a]=o.delayConfiguration[a]||{};var u=void 0;void 0!==o.refreshTab[1]&&(u=o.refreshTab[1].delay);var c=0;void 0===u?c=1:"number"==typeof o.delayConfiguration[a].number?c="refresh"===n.getMediaValue(i,r,"a")?Math.max(o.delayConfiguration[a].number-1,0):o.delayConfiguration[a].number:"number"==typeof u&&(c=Math.floor(60*(u-a)/s)-1),o.delayConfiguration[a].number=c,o.delayConfiguration[a].timeout&&window.clearTimeout(o.delayConfiguration[a].timeout),0<c?o.delayConfiguration[a].timeout=window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:i,mediaLabel:r})},1e3*s):(o.delayConfiguration[a].number=void 0,o.delayConfiguration[a].timeout=void 0,o.refreshTab.splice(0,1),window.setTimeout(function(){e.richMedia.send({action:"refresh",playerId:i,mediaLabel:r})},1e3*s)),this.timeout[i][r]=o}},this.clearTimeout=function(e,t,n){this.timeout[e]=this.timeout[e]||{};var i=this.timeout[e][t];if("object"==typeof i){if("object"==typeof i.delayConfiguration){var r,o;for(o in i.delayConfiguration)i.delayConfiguration.hasOwnProperty(o)&&void 0!==(r=i.delayConfiguration[o].number)&&0<r&&(i.delayConfiguration[o].timeout&&window.clearTimeout(i.delayConfiguration[o].timeout),i.delayConfiguration[o].timeout=void 0);n&&(i.refreshTab=Echo1200ATInternet.Utils.cloneSimpleObject(i.backupRefreshTab)),this.timeout[e][t]=i}}else i&&window.clearTimeout(i)},this.removePlayer=function(t){for(var i in this.timeout[t])if(this.timeout[t].hasOwnProperty(i)){this.clearTimeout(t,i,!1);var r=n.getMediaValue(t,i,"a");void 0!==this.timeout[t][i]&&"stop"!==r&&e.richMedia.send({action:"stop",playerId:t,mediaLabel:i})}this.timeout[t]={}},this.removeAll=function(){for(var e in this.timeout)this.timeout.hasOwnProperty(e)&&this.removePlayer(e);this.timeout={}}},r=function(t,n,i){var r=t[i]||"";return e.exec("Utils","manageChapters",[t,n,3],function(e){r=e+r}),r},o=function(e,t,n,i){var r=e[t];return"boolean"==typeof e[t]&&(r=e[t]?i:n),r},s=function(e){var t=0;return/^(\-|\+)?([0-9]+)$/.test(e)&&(t=Number(e)),t},a=function(e,t,i,r,o){void 0!==(t=n.getMediaValue(t,i,r))&&(e[r]=o?encodeURIComponent(t):t)},u=function(e,t,n){void 0!==n&&(e[t]=n)};e.richMedia={},e.richMedia.add=function(e){var t=s((e=e||{}).playerId),i=r(e,"mediaTheme","mediaLabel"),a=o(e,"isEmbedded","int","ext");n.setMediaValue(t,i,"plyr",t),n.setMediaValue(t,i,"type",e.mediaType),n.setMediaValue(t,i,"s2",e.mediaLevel2),n.setMediaValue(t,i,"p",i),n.setMediaValue(t,i,"clnk",e.linkedContent||e.previousMedia),n.setMediaValue(t,i,"a",e.action),n.setMediaValue(t,i,"rfsh",e.refreshDuration),n.setMediaValue(t,i,"m1",e.duration),n.setMediaValue(t,i,"m5",a),n.setMediaValue(t,i,"m6",e.broadcastMode),n.setMediaValue(t,i,"m9",e.webdomain)},e.richMedia.send=function(c){var l=s((c=c||{}).playerId),f=r(c,"mediaTheme","mediaLabel"),d=c.action;n.setMediaValue(l,f,"a",d);var p={plyr:l,p:f};if(a(p,l,f,"a",!1),a(p,l,f,"type",!1),a(p,l,f,"s2",!1),a(p,l,f,"m1",!1),a(p,l,f,"m5",!1),a(p,l,f,"m6",!1),"play"===d||"info"===d){c=o(c,"isBuffering","0","1");var h=e.getContext("page")||{},_=r(h,"chapter","name")||void 0;h=h.level2||void 0,u(p,"buf",c),u(p,"prich",_),u(p,"s2rich",h),a(p,l,f,"clnk",!1),a(p,l,f,"m9",!0)}e.sendHit(p,[["hitType",["richmedia"]]]),"pause"===d?i.clearTimeout(l,f,!1):"stop"===d&&i.clearTimeout(l,f,!0),"play"!==d&&"refresh"!==d||("object"==typeof(d=n.getMediaValue(l,f,"rfsh"))&&null!==d?i.setTimeoutObject(l,f,d):0!==(d=t(d,5))&&i.setTimeout(l,f,d))},e.richMedia.remove=function(e){i.removePlayer(e),n.removePlayer(e)},e.richMedia.removeAll=function(){i.removeAll(),n.removeAll()}},window.Echo1200ATInternet.Tracker.addPlugin("RichMedia")}.call(window),function(){var e={info:!1};Echo1200ATInternet.Tracker.Plugins.Cookies=Echo1200ATInternet.Tracker.Plugins.Storage=function(t){var n=this,i=!1,r=null;t.configPlugin("Storage",e,function(e){"localStorage"===e.storageMode&&(i=Echo1200ATInternet.Utils.isLocalStorageAvailable())});var o={},s=function(e){return t.getConfig("base64Storage")?Echo1200ATInternet.Utils.Base64.encode(e):encodeURIComponent(e)},a=function(e){return t.getConfig("base64Storage")?Echo1200ATInternet.Utils.Base64.decode(e):decodeURIComponent(e)};r=i?new function(){var e=function(e){var t,n=+new Date,i=!1;return e.options&&(void 0!==e.options.expires?t=e.options.expires:"function"==typeof(e=e.options.end||{}).getTime?t=e.getTime():"number"==typeof e&&(t=n+1e3*e)),"number"==typeof t&&t<=n&&(i=!0),{itemToDelete:i,timestamp:t}},t=function(e){var t=!1;try{localStorage.removeItem(e),t=!0}catch(e){}return t};this.getData=function(n){var i=null;if(r=localStorage.getItem(n)){var r=a(r),o=Echo1200ATInternet.Utils.jsonParse(r);o&&"object"==typeof o?e(o).itemToDelete&&t(n)||(delete o.options.expires,i=Echo1200ATInternet.Utils.jsonSerialize(o)):i=r}return i},this.setData=function(n){var i=!1;if(n.name&&"string"==typeof n.name){var r=e(n);"number"==typeof r.timestamp&&(n.options.expires=r.timestamp);var o=Echo1200ATInternet.Utils.jsonSerialize(n);if(r.itemToDelete)i=t(n.name);else try{localStorage.setItem(n.name,s(o)),i=!0}catch(n){}}return i}}:new function(){this.getData=function(e){var t=null;return(e=RegExp("(?:^| )"+e+"=([^;]+)").exec(document.cookie)||null)&&(t=a(e[1])),t},this.setData=function(e){var n=!1;if(e.name&&"string"==typeof e.name){var i=e.options||{},r=i.end||{},o=i.domain||t.getConfig("cookieDomain"),a=i.secure||t.getConfig("cookieSecure"),u=Echo1200ATInternet.Utils.jsonSerialize(e);u=(u=(u=e.name+"="+s(u))+(i.path&&"string"==typeof i.path?";path="+i.path:""))+(o&&"string"==typeof o?";domain="+o:"")+(a&&"boolean"==typeof a?";secure":""),"function"==typeof r.toUTCString?u+=";expires="+r.toUTCString():"number"==typeof r&&(u+=";max-age="+r.toString()),document.cookie=u,this.getData(e.name)&&(n=!0)}return n}};var u=function(e,n){var i=!1;return!Echo1200ATInternet.Utils.consent&&!n||t.getConfig("disableCookie")||t.getConfig("disableStorage")||!e||"object"!=typeof e||(i=r.setData(e)),i},c=function(e,t,n){return e={name:e,val:t},n&&n.session&&"number"==typeof n.session&&(n.end=n.session),e.options=n||{},e},l=function(e){var n=null,i=null;return t.getConfig("disableCookie")||t.getConfig("disableStorage")||!e||"string"!=typeof e||(i=r.getData(e)),(e=i)&&(n=Echo1200ATInternet.Utils.jsonParse(e)),n},f=function(e,t){var n=Echo1200ATInternet.Utils.cloneSimpleObject(e);return u(n,t)?Echo1200ATInternet.Utils.jsonParse(Echo1200ATInternet.Utils.jsonSerialize(e)):null},d=function(e,t,n){return!n&&o[e]?n=o[e]:(n=l(e))&&(n.options=n.options||{},n.options.session&&"number"==typeof n.options.session&&(n.options.end=n.options.session,f(n,!1)),o[e]=n),n?t?(e=null,!n||"object"!=typeof n.val||n.val instanceof Array||void 0===n.val[t]||(e=n.val[t]),e):n.val:null},p=function(e,t,n,i,r){return t?(r=l(e))&&(!r||"object"!=typeof r.val||r.val instanceof Array?r=null:void 0===n?delete r.val[t]:r.val[t]=n,r&&(r=f(r,i))):(r=c(e,n,r=r||{}),r=f(r,i)),r?(o[e]=r).val:null},h=function(e,t){if(t)p(e,t,void 0,!1,null);else{o[e]=void 0;var n=c(e,"",{end:new Date("Thu, 01 Jan 1970 00:00:00 UTC"),path:"/"});u(n,!1)}};t.storage={},t.storage.get=n.get=function(e,t){return t=!!t,e instanceof Array?d(e[0],e[1],t):d(e,"",t)},t.storage.getPrivate=n.getPrivate=function(e,i){return e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.get(e,i)},t.storage.set=n.set=function(e,t,n,i){return e instanceof Array?p(e[0],e[1],t,i,null):p(e,null,t,i,n)},t.storage.setPrivate=n.setPrivate=function(e,i,r){return e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.set(e,i,r)},t.storage.del=n.del=function(e){e instanceof Array?h(e[0],e[1]):h(e,"")},t.storage.delPrivate=n.delPrivate=function(e){e instanceof Array?e[0]+=t.getConfig("site"):e+=t.getConfig("site"),n.del(e)},t.storage.cacheInvalidation=n.cacheInvalidation=function(){o={}}},Echo1200ATInternet.Tracker.addPlugin("Storage"),Echo1200ATInternet.Tracker.addPlugin("Cookies")}.call(window),function(){var e={clicksAutoManagementEnabled:!0,clicksAutoManagementTimeout:500,info:!1};window.Echo1200ATInternet.Tracker.Plugins.TechClicks=function(t){var n,i,r=this;t.configPlugin("TechClicks",e,function(e){n=e.clicksAutoManagementEnabled,i=e.clicksAutoManagementTimeout}),r.deactivateAutoManagement=function(){n=!1};var o=function(e){switch(e.target){case"_top":window.top.location.href=e.url;break;case"_parent":window.parent.location.href=e.url;break;default:window.location.href=e.url}},s=function(e){var t=e.timeout;e.mailto?r.timeout=setTimeout(function(){window.location.href=e.mailto},t):e.form?r.timeout=setTimeout(function(){e.form.submit()},t):e.url&&(r.timeout=setTimeout(function(){o({url:e.url,target:e.target})},t))};t.techClicks={},t.techClicks.manageClick=r.manageClick=function(e,a){var u=!0;if(n&&e){var c;e:{for(c=e;c;){if("function"==typeof c.getAttribute&&("_blank"===c.getAttribute("target")||"no"===c.getAttribute("data-atclickmanagement"))){c=!0;break e}c=c.parentNode}c=e;for(var l,f=window.location.href;c;){if((l=c.href)&&0<=l.indexOf("#")&&f.substring(0,0<=f.indexOf("#")?f.indexOf("#"):f.length)===l.substring(0,l.indexOf("#"))){c=!0;break e}c=c.parentNode}c=!1}if(f=function(e){for(;e;){if(e.href){if(0<=e.href.indexOf("mailto:"))return"mailto";if(0===e.href.indexOf("http"))return"redirection"}else if("FORM"===e.nodeName)return"form";e=e.parentNode}return""}(e),!c&&f){switch(f){case"mailto":!function(e){var n=e;for(e=n.timeoutonly;n&&!(n.href&&0<=n.href.indexOf("mailto:"));)n=n.parentNode;n&&(e||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),window.location.href=n.href}),s({mailto:n.href,timeout:i}))}(e),u=!1;break;case"form":!function(e){var n=e;for(e=n.timeoutonly;n&&"FORM"!==n.nodeName;)n=n.parentNode;n&&(e||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),n.submit()}),s({form:n,timeout:i}))}(e),u=!1;break;case"redirection":(function(e){for(var n,a="_self",u=e.timeoutonly;e;){if(e.href&&0===e.href.indexOf("http")){n=e.href.split('"').join('\\"'),a=e.target?e.target:a;break}e=e.parentNode}n&&(u||t.onTrigger("Tracker:Hit:Sent:Ok",function(){r.timeout&&clearTimeout(r.timeout),o({url:n,target:a})}),s({url:n,target:a,timeout:i}))})(e),u=!1}a&&(c=a.defaultPrevented,"function"==typeof a.isDefaultPrevented&&(c=a.isDefaultPrevented()),c||a.preventDefault&&a.preventDefault())}}return u}},window.Echo1200ATInternet.Tracker.addPlugin("TechClicks")}.call(window),function(){window.Echo1200ATInternet.Tracker.Plugins.Utils=function(e){var t=this,n={};e.utils={},e.utils.getQueryStringValue=t.getQueryStringValue=function(e,t){var i=Echo1200ATInternet.Utils.hashcode(t).toString();if(!n[i]){n[i]={};var r=RegExp("[&#?]{1}([^&=#?]*)=([^&#]*)?","g"),o=r.exec(t);if(null!==o)for(;null!==o;)n[i][o[1]]=o[2],o=r.exec(t)}return n[i].hasOwnProperty(e)?n[i][e]:null},t.manageChapters=function(t,n,i){var r=e.getConfig("ignoreEmptyChapterValue"),o="";if(t){i=parseInt(i,10);for(var s=1;s<i+1;s++){var a=t[n+s]||"";o=r?o+(a?a+"::":""):o+(t.hasOwnProperty(n+s)?a+"::":"")}}return o},t.getDocumentLevel=function(){var t=e.getConfig("documentLevel");return t.indexOf(".")<0?window[t]||document:(t=t.split("."),window[t[0]][t[1]]||document)},e.utils.getLocation=t.getLocation=function(){return t.getDocumentLevel().location.href},e.dispatchIndex={},e.dispatchStack=[],e.dispatchEventFor={};var i=0;e.dispatchSubscribe=function(t){return!e.dispatchIndex[t]&&(e.dispatchStack.push(t),e.dispatchIndex[t]=!0)},e.dispatchSubscribed=function(t){return!0===e.dispatchIndex[t]},e.addSpecificDispatchEventFor=function(t){return!e.dispatchEventFor[t]&&(e.dispatchEventFor[t]=!0,i++,!0)},e.processSpecificDispatchEventFor=function(t){e.dispatchEventFor[t]&&(e.dispatchEventFor[t]=!1,0==--i&&(e.dispatchEventFor={},e.emit("Tracker:Plugin:SpecificEvent:Exec:Complete",{lvl:"INFO"})))},e.dispatch=function(t){var n=function(){for(var n="",i=null;0<e.dispatchStack.length;)n=e.dispatchStack.pop(),0===e.dispatchStack.length&&(i=t),e[n].onDispatch(i);e.dispatchIndex={},e.delContext(void 0,"customObject")},r=function(){e.plugins.isExecWaitingLazyloading()?e.onTrigger("Tracker:Plugin:Lazyload:Exec:Complete",function(){n()},!0):n()};0===i?r():e.onTrigger("Tracker:Plugin:SpecificEvent:Exec:Complete",function(){r()},!0)},e.dispatchRedirect=function(t){var n=!0,i=null;return t&&(i=null,t&&t.hasOwnProperty("event")&&(i=t.event||window.event),!Echo1200ATInternet.Utils.isTabOpeningAction(i)&&t.elem&&(t.elem.timeoutonly=!0,e.plugins.exec("TechClicks","manageClick",[t.elem,i],function(e){n=e})),i=t.callback),e.dispatch(i),n};var r=e.manageSend=function(t){Echo1200ATInternet.Utils.isPreview()&&!e.getConfig("preview")||Echo1200ATInternet.Utils.isPrerender(function(e){t(e)})||t()};e.processTagObject=function(t,n,i){if((t=e.getParam(t,!0))&&t.options.permanent){for(var r=!1,o=t.options.hitType||[],s=0;s<o.length;s++)if(-1!==Echo1200ATInternet.Utils.arrayIndexOf(n.concat("all"),o[s])){r=!0;break}r&&(i=Echo1200ATInternet.Utils.completeFstLevelObj(t.value||{},i,!0))}return i},e.processContextObjectAndSendHit=function(t,n,i,o){var s=e.getParam(t,!0);if(s){for(var a=!1,u=s.options.hitType||[],c=0;c<u.length;c++)if(-1!==Echo1200ATInternet.Utils.arrayIndexOf(n.hitType.concat("all"),u[c])){a=!0;break}a?((a=Echo1200ATInternet.Utils.cloneSimpleObject(s)).value=Echo1200ATInternet.Utils.completeFstLevelObj(a.value||{},i,!0),e.setParam(t,a.value,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)}),s.options.permanent&&e.setParam(t,s.value,s.options)):(e.setParam(t,i,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)}),e.setParam(t,s.value,s.options))}else e.setParam(t,i,{hitType:n.hitType,encode:n.encode,separator:n.separator,truncate:n.truncate}),r(function(){e.sendHit(null,[["hitType",n.hitType]],o,null,!0)})}},window.Echo1200ATInternet.Tracker.addPlugin("Utils")}.call(window),"function"==typeof window.Echo1200ATInternet.onTrackerLoad&&window.Echo1200ATInternet.onTrackerLoad(),Echo1200ATInternet}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}return e.sendRefreshEvent=function(e,t,n){if(n){var i=n;t(i=(i=(i=i.replace(/a\=play/g,"a=refresh")).replace(/ts\=[0-9\.]+/g,"ts="+(new Date).getTime())).replace(/(prich\=|s2rich\=).*?(&|$)/g,""),function(){e.emit("Tracker:Hit:Sent:Ok",i)}.bind(e))}},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(e){"use strict";var t=n(6),i=n(4),r=n(21);return{APP_NAME:void 0,APP_CATEGORY:void 0,bbc_content_id:1,bbc_app_type:2,bbc_app_name:3,language:4,bbc_url:5,bbc_referrer_url:6,bbc_content_type:7,bbc_library_version:8,page_title:9,custom_var_1:11,custom_var_2:12,custom_var_3:13,custom_var_4:14,custom_var_5:15,custom_var_6:16,custom_var_7:17,custom_var_8:18,custom_var_9:19,custom_var_10:20,create:function(e,n,i,o,s,a){var u;return this.APP_NAME=e,i&&i[t.APP_CATEGORY]?this.APP_CATEGORY=i[t.APP_CATEGORY]:this.APP_CATEGORY="",u=this._setCustomVariable(u,t.APP_TYPE,n),u=this._setCustomVariable(u,t.APP_NAME,e),u=this._setCustomVariable(u,t.LIBRARY_VERSION,r.getLibraryName()+"-"+r.getLibraryVersion()),a&&(u=this._setDocumentCustomVariables(u,a)),s&&(u=this._setOrbitCustomVariables(u,s)),this._applyLabels(u,i),this._applyLabels(u,o),u},_initialise:function(){return{site:{}}},_applyLabels:function(e,n){if(n){var i=this._getAppName(n);n[t.APP_CATEGORY]&&(e=this._setCustomVariable(e,t.APP_NAME,i),delete n[t.APP_CATEGORY]),Object.keys(n).forEach(function(r){this._isCustomVariable(r)&&(r===t.APP_NAME&&(n[r]=i),e=this._setCustomVariable(e,r,n[r]),delete n[r])},this)}},_getAppName:function(e){var n="";return e[t.APP_CATEGORY]?n=e[t.APP_CATEGORY]+"-":this.APP_CATEGORY&&(n=this.APP_CATEGORY+"-"),e[t.APP_NAME]?n+=e[t.APP_NAME]:n+=this.APP_NAME,n},_isCustomVariable:function(e){return void 0!==this[e]&&this.hasOwnProperty(e)&&"function"!=typeof this[e]},_setCustomVariable:function(e,t,n){if(n){e||(e=this._initialise());var r=i.removeSensitiveInfo(n),o=i.cleanCustomVariable(r),s=this[t];e.site[s]="["+encodeURIComponent(o)+"]"}return e},_setDocumentCustomVariables:function(e,n){return n&&(e=this._setCustomVariable(e,t.URL,n.URL),e=this._setCustomVariable(e,t.REFERRER_URL,n.referrer),e=this._setCustomVariable(e,t.PAGE_TITLE,n.title)),e},_setOrbitCustomVariables:function(e,n){return n&&(e=this._setCustomVariable(e,t.CONTENT_ID,n.contentId),e=this._setCustomVariable(e,t.CONTENT_TYPE,n.contentType),e=this._setCustomVariable(e,t.LANGUAGE,n.language),e=this._setProductCustomVariables(e,n.additionalProperties)),e},_setProductCustomVariables:function(e,n){return n&&(n.app_category&&(e=this._setCustomVariable(e,t.APP_NAME,this._getAppName(n))),n.content_language&&(e=this._setCustomVariable(e,t.LANGUAGE,n.content_language)),e=this._setCustomVariable(e,t.CUSTOM_VAR_1,n.custom_var_1),e=this._setCustomVariable(e,t.CUSTOM_VAR_2,n.custom_var_2),e=this._setCustomVariable(e,t.CUSTOM_VAR_3,n.custom_var_3),e=this._setCustomVariable(e,t.CUSTOM_VAR_4,n.custom_var_4),e=this._setCustomVariable(e,t.CUSTOM_VAR_5,n.custom_var_5),e=this._setCustomVariable(e,t.CUSTOM_VAR_6,n.custom_var_6),e=this._setCustomVariable(e,t.CUSTOM_VAR_7,n.custom_var_7),e=this._setCustomVariable(e,t.CUSTOM_VAR_8,n.custom_var_8),e=this._setCustomVariable(e,t.CUSTOM_VAR_9,n.custom_var_9),e=this._setCustomVariable(e,t.CUSTOM_VAR_10,n.custom_var_10)),e}}}.call(t,n,t,e))||(e.exports=i)},function(e){e.exports={name:"@bbc/echo-client-js",description:"Client library for sending events",version:"12.4.0",main:"dist/echo-12.4.0.js",scripts:{test:"grunt build",build:"grunt build","build:dev":"webpack --mode=development --config ./config/webpack.dev.config.js","build:dist":"webpack --mode=production --config ./config/webpack.prod.config.js"},"pre-commit":["test"],"echo-client-js":{"barb-spring-version":"2.0.0","comscore-streamsense-version":"6.2.3.180328","ati-smarttag-version":"5.17.1"},devDependencies:{ajv:"^6.6.2","es6-promise":"^4.2.5",eslint:"^5.12.0",grunt:"^1.0.4","grunt-cli":"^1.3.2","grunt-contrib-jshint":"^2.0.0","grunt-contrib-watch":"^1.1.0","grunt-jscs":"^3.0.1","grunt-karma":"^3.0.1","grunt-shell":"^2.1.0",gulp:"^4.0.0",hoek:"^6.1.2","istanbul-instrumenter-loader":"^3.0.1",jasmine:"^3.3.1","jasmine-core":"^3.3.0",jquery:"^3.4.1",karma:"^3.1.4","karma-chrome-launcher":"*","karma-coverage-istanbul-reporter":"^2.0.4","karma-firefox-launcher":"^1.1.0","karma-jasmine":"^2.0.1","karma-jasmine-html-reporter":"^1.4.0","karma-phantomjs-launcher":"^1.0.4","karma-requirejs":"^1.1.0","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.7","karma-story-reporter":"^0.3.1","karma-webpack":"^3.0.0","load-grunt-tasks":"^4.0.0",lodash:"^4.17.11","phantomjs-prebuilt":"^2.1.16","pre-commit":"^1.2.2",requirejs:"^2.3.6",sinon:"^7.2.2","ssc-js":"git+ssh://git@github.com/bbc/ssc-js.git#1.2.0","time-grunt":"^2.0.0","uglifyjs-webpack-plugin":"^2.1.1",webpack:"^4.28.4","webpack-cli":"^3.2.1","webpack-merge":"^4.2.1"}}},function(e,t,n){var i;void 0===(i=function(){"use strict";var e=n(21),t={BRAND:"brand",SERIES:"series",EPISODE:"episode",CLIP:"clip",NAME:"name",TYPE:"type",PLIST:"pList"},i={RETRIEVAL_TYPE:"retType",INITATION_TYPE:"init",ADS_ENABLED:"adEna"},r={PLAYER_NAME:"mpN",PLAYER_VERSION:"mpV",TRANSPORT_MODE:"tMod",LIBRARY_NAME:"mlN",LIBRARY_VERSION:"mlV"};return{buildTheme:function(e,t,n){return e+"="+encodeURIComponent(t||"")+(n?"":"~")},constructThemeOne:function(e){var n="";return e&&(n=this.buildTheme(t.BRAND,e.getBrandId()),n+=this.buildTheme(t.SERIES,e.getSeriesId()),n+=this.buildTheme(t.EPISODE,e.getEpisodeId()),n+=this.buildTheme(t.CLIP,e.getClipId()),n+=this.buildTheme(t.NAME,e.getName()),n+=this.buildTheme(t.TYPE,e.getType()),e.isLive()?n+=this.buildTheme(t.PLIST,e.getServiceId(),!0):n+=this.buildTheme(t.PLIST,e.getPlaylist(),!0)),n},constructThemeTwo:function(e){var t="";return e&&(t=this.buildTheme(i.RETRIEVAL_TYPE,e.getRetrievalType()),t+=this.buildTheme(i.INITATION_TYPE,e.getInitiationType()),t+=this.buildTheme(i.ADS_ENABLED,e.isAdsEnabled()?"1":"0",!0)),t},constructThemeThree:function(t){var n="";return t&&(n=this.buildTheme(r.PLAYER_NAME,t.getMediaPlayerName()),n+=this.buildTheme(r.PLAYER_VERSION,t.getMediaPlayerVersion()),n+=this.buildTheme(r.TRANSPORT_MODE,t.getTransportMode()),n+=this.buildTheme(r.LIBRARY_NAME,e.getLibraryName()),n+=this.buildTheme(r.LIBRARY_VERSION,e.getLibraryVersion(),!0)),n}}}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}return e.sendEvent=function(e,t,n,i){if(t){var r={action:n,playerId:t.playerId,mediaLabel:t.mediaLabel,mediaTheme1:t.mediaTheme1,mediaTheme2:t.mediaTheme2,mediaTheme3:t.mediaTheme3};for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o]);e.richMedia.send(r)}},e}.call(t,n,t,e))||(e.exports=i)},function(e,t,n){var i;void 0===(i=function(){"use strict";function e(){}var t=n(6),i=n(4),r="click";return e.sendClickEvent=function(e,t){this._sendEvent(e,t,r)},e.sendImpressionEvent=function(e,t){this._sendEvent(e,t,"impression")},e._sendEvent=function(n,i,o){i||(i={customObject:{}}),i.customObject||(i.customObject={});var s={creation:this._formatEventValue(e._buildCreation(i)),campaignId:this._formatEventValue(i.customObject[t.CONTAINER]||"Page"),variant:this._formatEventValue(i.customObject[t.PERSONALISATION]||""),format:this._formatEventValue(i.customObject[t.METADATA]||""),generalPlacement:this._formatEventValue(i[t.BBC_COUNTER_NAME]||"unknown"),detailedPlacement:this._formatEventValue(i.user||""),advertiserId:this._formatEventValue(i.customObject[t.SOURCE]||""),url:this._formatEventValue(i.customObject[t.RESULT]||"unknown")},a={};o===r?a.click=s:a.impression=s,n&&n.publisher.send(a)},e._buildCreation=function(e){var t=e&&e.actionName||"unknown";return e&&e.actionType&&(t+="~"+e.actionType),t},e._formatEventValue=function(e){return"["+i.cleanCustomVariable(e)+"]"},e}.call(t,n,t,e))||(e.exports=i)}])}()}(window)},function(e,t,n){"use strict";n(84),n(85),n(86),n(0),n(25),n(84),n(85),n(86),n(0),n(25);var i=n(170),r=n(171);e.exports=function(e,t,n,o){function s(n,i,r,o){var s,a=e.cage.environment,u=e.cage.embedVars.statsAppName||"default",c=e.cage.embedVars.contentType||"",l={};l[t.ConfigKeys.COMSCORE_SITE]="live"===a?"bbc":a,l[t.ConfigKeys.ATI_ENABLED]="true",s="int"===a||"test"===a?{cbbc:t.Enums.Destinations.CBBC_TEST,cbeebies:t.Enums.Destinations.CBEEBIES_TEST,games:t.Enums.Destinations.GAMES_PS_TEST,bitesize:t.Enums.Destinations.BITESIZE_TEST,default:t.Enums.Destinations.BBC}:{cbbc:t.Enums.Destinations.CBBC,cbeebies:t.Enums.Destinations.CBEEBIES,games:t.Enums.Destinations.GAMES_PS,bitesize:t.Enums.Destinations.BITESIZE,default:t.Enums.Destinations.BBC},l[t.ConfigKeys.DESTINATION]=s[u],l[t.ConfigKeys.ECHO_AUTO_START]=!1;var f=new t.EchoClient(n,t.Enums.ApplicationType.RESPONSIVE,l),d=function(){var e=Boolean(r);f.viewEvent(e?r:o)};return f.start().then(d),f.addLabel(t.Enums.EchoLabelKeys.CONTENT_TYPE,c),f.addManagedLabel(t.Enums.ManagedLabels.BBC_SITE,n),i&&i.statsLabel&&f.addLabel(i.statsLabel.name,i.statsLabel.value),f}var a,u=function(t){return new function a(){function u(){return v.includes("childrens-games-nightfall")}function c(){var t=e.bbccookies;return u()||!t||t.isAllowed("ckps_whatever")}function l(t){var n=e.localStorage.getItem(t);try{return JSON.parse(n)}catch(e){}}function f(){if(c())try{e.localStorage.setItem(S,JSON.stringify(T))}catch(e){}}var d=this,p=e.cage.embedVars,h=p.statsAppName,_=p.baseCounterName,g=p.statsCounterName,v=e.cage.gameId,m=e.cage.gameContainerId,E=e.cage.gameUrl,y=e.cage.gameDir,b=e.cage.environment;Object.defineProperty(a.prototype,"embedVars",{get:function(){return p}}),Object.defineProperty(a.prototype,"account",{get:function(){return o}}),Object.defineProperty(a.prototype,"gameContainerId",{get:function(){return m}}),Object.defineProperty(a.prototype,"gameUrl",{get:function(){return E}}),Object.defineProperty(a.prototype,"gameDir",{get:function(){return y}}),Object.defineProperty(a.prototype,"environment",{get:function(){return b}}),Object.defineProperty(a.prototype,"shouldShowExitButton",{get:function(){return e.cage.isFullScreen}}),Object.defineProperty(a.prototype,"shouldDisplayMuteButton",{get:function(){return!0}}),Object.defineProperty(a.prototype,"shouldLongPressForSettings",{get:function(){return!1}});var S="bbc_childrens_gmi_data",A="".concat(S,"_").concat(v),I={},T={audio:!0,subtitles:!1,motion:!0};this.stats=s(h,t,g,_),a.prototype.getAllSettings=function(){var e=JSON.parse(JSON.stringify(T));return e.muted=!e.audio,e.gameData=c()?I:{},e},a.prototype.setGameData=function(t,n){if(c()){I[t]=n;try{e.localStorage.setItem(A,JSON.stringify(I))}catch(e){}}},a.prototype.setMuted=function(e){T.audio=!e,f()},a.prototype.setAudio=function(e){T.audio=Boolean(e),f()},a.prototype.setSubtitles=function(e){T.subtitles=Boolean(e),f()},a.prototype.setMotion=function(e){T.motion=Boolean(e),f()},a.prototype.showPrompt=function(e){return e(),!1},a.prototype.lastStatScreen="",a.prototype.showSettings=function(e,t){var i;if(Boolean(g))i=t;else{var r=d.lastStatScreen;i=function(){d.setStatsScreen(r),t()},d.sendStatsEvent("settings","open"),d.setStatsScreen("settings")}return n({showSettings:!0,onSettingChanged:e,onSettingsClosed:i}),!0},a.prototype.setStatsScreen=function(e,t){_?(d.stats.viewEvent("".concat(_,".").concat(e,".page"),t),d.lastStatScreen=e):console.warn("stats.viewEvent not fired. baseCounterName needs to be set")},a.prototype.sendStatsEvent=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n,o=Boolean(g);"heartbeat"!==e&&"heartbeat"!==t&&(o&&r&&r!=={}&&(r=(0,i.remapLabelsToAti)(e,t,r,g)),d.stats.userActionEvent(t,e,r))},a.prototype.exit=function(){var t=e.cage.exitGameUrl;e.open(t,"_top")},a.prototype.debug=function(e){console.log(e)},a.prototype.gameLoaded=function(){},function(){function e(){var e={};return e.audio=!0,e.subtitles=!1,e.motion=!0,e}if(!c())return e();T=l(S)||e(),function(){T.audio=Boolean(T.audio),T.subtitles=Boolean(T.subtitles),T.motion=!T.hasOwnProperty("motion")||T.motion}(),I=l(A)||{}}(),a.prototype.achievements=(0,r.createAchievements)(I.achievements,this.setGameData,n),a.prototype=Object.create(a.prototype)}};return{getGMI:e.getGMI||function(e){return a&&console.warn("Attempted to create multiple copies of the GMI. Only a single instance should be created"),a=u(e),n({gmi:a,gmiOptions:e}),a}}}},function(e,t,n){var i=n(58),r=n(22);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(1)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){"use strict";n(25),n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.remapLabelsToAti=void 0,n(25);var i=function(e,t,n,i){var r=n,o={game_click:{play:"SCR=[".concat(n.game_screen,"]"),interaction:"INT=[".concat(n.game_interaction,"]"),character:"AVA=[".concat(n.character,"]"),customised:"CUS=[".concat(n.game_customisation,"]"),purchased:"ITM=[".concat(n.game_purchase,"]"),selected:"ITM=[".concat(n.item_name,"]"),skip:"SCR=[".concat(n.game_screen,"]"),viewed:"SUB=[".concat(n.submenu,"]")},game_level:{complete:"SCO=[".concat(n.game_score,"]~LVT=[").concat(n.game_level_time,"]~RWL=[").concat(n.stars_awarded,"]~LVR=[").concat(n.game_level_result,"]"),continue:"SCR=[".concat(n.game_screen,"]"),achievement:"ACH=[".concat(n.achievement,"]"),challenge:"CHA=[".concat(n.game_challenge_name,"]"),decision:"DEC=[".concat(n.game_decision,"]~DER=[").concat(n.game_decision_result,"]"),gameover:"POD=[".concat(n.x_coordinate,"::").concat(n.y_coordinate,"]~COD=[").concat(n.obstacle,"]"),item_collected:"ITM=[".concat(n.item,"]"),level_up:"LVL=[".concat(n.game_level_name,"]~DIF=[").concat(n.game_skill_level,"]"),obstacle:"COD=[".concat(n.obstacle,"]"),onboarding:"OBC=[".concat(n.onboarding_checkpoint,"]"),sublevel_started:"SBL=[".concat(n.game_sublevel_name,"]")},game_character:{selected:"AVA=[".concat(n.character,"]")},game_world:{selected:"WOR=[".concat(n.game_world_name,"]")}};return t in o&&e in o[t]&&(r.metadata=o[t][e]),n.levelID&&(r.source=n.levelID),n.difficulty&&(r.metadata?r.metadata+="~DIF=[".concat(n.difficulty,"]"):r.metadata="DIF=[".concat(n.difficulty,"]")),r.result=i,r};t.remapLabelsToAti=i},function(e,t,n){"use strict";n(87),n(14),n(88),n(0),n(0),Object.defineProperty(t,"__esModule",{value:!0}),t.createAchievements=void 0,n(87),n(14),n(88);var i=function(e,t){var n=Boolean(e&&e.maxProgress),i=t&&e&&t.progress>=e.maxProgress;return t&&!n||n&&i},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[],o=!1,s=function(n,i){n?Object.assign(n,i):e.push(i),t("achievements",e)},a=function(e,t){e&&(n({notificationFired:t}),o=!0)};return{init:function(e){r=e},get:function(){return r.map(function(t){var n=e.find(function(e){return e.key===t.key});return Object.assign(t,n,{achieved:i(t,n)})})},set:function(t){var n=r.find(function(e){return t.key===e.key}),o=e.find(function(e){return e.key===t.key}),u=i(n,o),c=i(n,t);return!(!n||u)&&(s(o,t),a(c,t.key),c)},show:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];n({showAchievements:e}),o=!1},get unseen(){return o}}};t.createAchievements=r},function(e,t,n){"use strict";var i=n(10),r=n(39),o=n(173),s=n(82),a=n(21),u=n(51),c=Object.assign;e.exports=!c||n(11)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){for(var n=a(e),c=arguments.length,l=1,f=o.f,d=s.f;c>l;)for(var p,h=u(arguments[l++]),_=f?r(h).concat(f(h)):r(h),g=_.length,v=0;g>v;)p=_[v++],i&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t){t.f=Object.getOwnPropertySymbols}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-id-availability-data/version/1.0.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"isAvailable":true}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/path/%3F/service/bbcid-config-couk/version/undefined', {"body":"{\"announce_url\":\"https:\/\/session.bbc.co.uk\/session\/announce\",\"bbcid-v5\":\"GREEN\",\"child_parent_linking_url\":\"https:\/\/account.bbc.com\/account\/settings\/linked-accounts\",\"id-availability\":\"GREEN\",\"identity\":{\"accessTokenCookieName\":\"ckns_atkn\",\"cookieAgeDays\":730,\"idSignedInCookieName\":\"ckns_id\"},\"identityTokenExchangeUrl\":\"https:\/\/session.bbc.co.uk\/session\/token-exchange\",\"nma\":{\"refresh_url\":\"https:\/\/session.bbc.co.uk\/session\/tokens\",\"register_url\":\"https:\/\/session.bbc.co.uk\/session?action=register\",\"signin_url\":\"https:\/\/session.bbc.co.uk\/session\",\"signout_url\":\"https:\/\/session.bbc.co.uk\/session\/nma-signout\",\"user_details_url\":\"https:\/\/session.bbc.co.uk\/session\/user-details\"},\"federated\":{\"callbackUrl\":\"https:\/\/session.bbc.com\/session\/callback\/federated\",\"signInUrl\":\"https:\/\/account.bbc.com\/signin\/federated\",\"registerUrl\":\"https:\/\/account.bbc.com\/register\/federated\"},\"privacy_settings_url\":\"https:\/\/account.bbc.com\/account\/settings\/privacy\",\"register_url\":\"https:\/\/session.bbc.co.uk\/session?action=register\",\"settings_url\":\"https:\/\/account.bbc.com\/account\/settings\",\"signin_url\":\"https:\/\/session.bbc.co.uk\/session\",\"signout_url\":\"https:\/\/account.bbc.com\/signout\",\"status_url\":\"https:\/\/account.bbc.com\/account\",\"tokenImprovement\":\"GREEN\",\"tokenRefresh\":true,\"tokenRefresh_signout_url\":\"https:\/\/session.bbc.co.uk\/session\/signout?switchTld=true&ptrt=https%3A%2F%2Fsession.bbc.co.uk%2Fsession%2Fannounce\",\"tokenRefresh_url\":\"https:\/\/session.bbc.co.uk\/session?ptrt=https%3A%2F%2Fsession.bbc.co.uk%2Fsession%2Fannounce\"}","meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json; charset=utf-8","content-length":"444","server":"Apache","cache-control":"public, max-age=600","x-frame-options":"DENY","x-content-type-options":"nosniff","x-xss-protection":"1; mode=block","x-permitted-cross-domain-policies":"none","content-security-policy":"base-uri 'self'; child-src edigitalsurvey.com; connect-src 'self' *.api.bbci.co.uk *.bbc.co.uk logx.optimizely.com; default-src 'none'; font-src 'self' *.files.bbci.co.uk; form-action 'self' http:\/\/bbc.co.uk https:\/\/bbc.co.uk http:\/\/*.bbc.co.uk https:\/\/*.bbc.co.uk http:\/\/bbc.com https:\/\/bbc.com http:\/\/*.bbc.com https:\/\/*.bbc.com; img-src 'self' data: *.files.bbci.co.uk ichef.bbci.co.uk *.bbci.co.uk *.ati-host.net *.bbc.co.uk; script-src 'self' 'unsafe-eval' 'unsafe-inline' *.files.bbci.co.uk *.bbci.co.uk *.bbc.co.uk cdn.optimizely.com optimizely.s3.amazonaws.com; style-src 'self' 'unsafe-inline' *.files.bbci.co.uk *.bbci.co.uk *.bbc.co.uk","strict-transport-security":"max-age=31536000","etag":"W\/\"5f5-3kWAwpp0rAhX2W5c\/yONA1faa4o-gzip\"","content-encoding":"gzip","vary":"Accept-Encoding","connection":"keep-alive"}}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-games-data/baseUrl/%2Fchildrens%2Fassets%2Fgames/game/gg2q4q2c2v/project/childrensgames/version/1.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"id":"gg2q4q2c2v","title":"[MaP2] CBBC Picture Maker","product":"cbbc","brand":"CBBC","description":"","url":"\/childrens\/assets\/games\/map2-cbbc-picture-maker\/88\/main","gameDir":"\/childrens\/assets\/games\/map2-cbbc-picture-maker\/88\/","embedVars":{"statsCounterName":"cbbc.games.cbbc_picture_maker.page","statsAppName":"cbbc"},"heroImagePid":"p079wl52","responsive":true,"isLegacyGame":true,"width":"","height":"","environment":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-games-view","appName":"cbbc","embedUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/cbbc\/embed\/game\/","game":"gg2q4q2c2v","showCallToAction":"true","version":"1.11.10","_mrrVersion":"2.0.16"},'u5542485035955282'); });</script> <script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20190701112059/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.9/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u5542485035955282 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-feature-detection-helper@1.0.1"]={},function(r){function e(t){if(o[t])return o[t].exports;var n=o[t]={exports:{},id:t,loaded:!1};return r[t].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var o={};return e.m=r,e.c=o,e.p="",e(0)}([function(r,e,o){Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]=o(1)},function(r,e){"use strict";var o=function(){return"localStorage"in window},t=function(){var r="bbc-storage";try{return window.localStorage.setItem(r,r),window.localStorage.removeItem(r),!0}catch(r){return!1}};r.exports.browserSupportsLocalStorage=function(){return o()&&t()}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.0"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.0"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.1"]={classnames:"2.2.5"},function(r){function e(o){if(n[o])return n[o].exports;var s=n[o]={exports:{},id:o,loaded:!1};return r[o].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var n={};return e.m=r,e.c=n,e.p="",e(0)}([function(r,e,n){Morph.modules["bbc-morph-classnames@1.0.1"]=n(1)},function(r,e,n){var o=n(2);r.exports=o},function(r,e,n){var o,s;!function(){"use strict";function n(){for(var r=[],e=0;e<arguments.length;e++){var o=arguments[e];if(o){var s=typeof o;if("string"===s||"number"===s)r.push(o);else if(Array.isArray(o))r.push(n.apply(null,o));else if("object"===s)for(var a in o)t.call(o,a)&&o[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;"undefined"!=typeof r&&r.exports?r.exports=n:(o=[],s=function(){return n}.apply(e,o),!(void 0!==s&&(r.exports=s)))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@2.2.0"]={"bbc-morph-classnames":"1.0.1","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(t){if(n[t])return n[t].exports;var i=n[t]={exports:{},id:t,loaded:!1};return e[t].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var n={};return r.m=e,r.c=n,r.p="",r(0)}([function(e,r,n){Morph.modules["bbc-morph-gel-icons@2.2.0"]=n(1)},function(e,r,n){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=n(2),o=t(i),s=n(3),a=t(s),l=n(4),u=t(l),c=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,u.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r=a.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);return o.default.createElement("div",{className:e},r?o.default.createElement(r,null):null)}});c.ensureIcon=function(e){"undefined"==typeof window&&a.default.selfTransitive("gel-icon-"+e,null)},r.default=c,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.2.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@2.2.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@2.2.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=7)}([function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.1"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t,o,n){return e||"reaction-"+n+"-text--"+t+"-"+o};t.default=n,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(0),l=n(p),f=o(11),d=n(f),y=o(2),h=n(y),b=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o));return n.state={count:o.count},n}return u(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this;if(e.count!==this.props.count){var o=function(){return t.setState({count:e.count})};if(this.props.randomUpdateOffset>0){var n=Math.random()*this.props.randomUpdateOffset;clearTimeout(this.timeoutId),this.timeoutId=setTimeout(o,n)}else o()}},t.prototype.render=function(){var e=this.props,t=e.formatter,o=e.className,n=e.id,s=r(e,["formatter","className","id"]);return l.default.createElement("span",c({id:(0,h.default)(n,this.context.type,this.context.uniqueId,"count"),className:o},s),(0,d.default)(this.state.count+this.props.countOffset,t))},t}(l.default.Component);b.displayName="ReactionCount",b.propTypes={count:p.PropTypes.number,countOffset:p.PropTypes.number,className:p.PropTypes.string,id:p.PropTypes.string,formatter:p.PropTypes.string,randomUpdateOffset:p.PropTypes.number},b.defaultProps={count:0,countOffset:0,className:"",id:"",formatter:null,randomUpdateOffset:0},b.contextTypes={uniqueId:p.PropTypes.string,type:p.PropTypes.string},t.default=b,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=o(2),l=n(p),f=function(e,t){var o=e.children,n=e.className,i=e.id,a=e.hidden,p=r(e,["children","className","id","hidden"]);return c.default.createElement("span",s({id:(0,l.default)(i,t.type,t.uniqueId,"label"),className:(0,u.default)(n,{"gs-u-vh":a})},p),o)};f.displayName="ReactionLabel",f.propTypes={children:a.PropTypes.node,className:a.PropTypes.string,id:a.PropTypes.string,hidden:a.PropTypes.bool},f.defaultProps={children:null,className:"",id:"",hidden:!1},f.contextTypes={uniqueId:a.PropTypes.string,type:a.PropTypes.string},t.default=f,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},i=o(1),u=n(i),a=o(0),c=n(a),p=function(e){var t=e.children,o=e.className,n=r(e,["children","className"]);return c.default.createElement("span",s({className:(0,u.default)("gel-icon",o)},n),t)};p.displayName="ReactionIcon",p.propTypes={children:a.PropTypes.node,className:a.PropTypes.string},p.defaultProps={children:null,className:""},t.default=p,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0});var s=o(15),i=n(s),u=o(0),a=n(u),c=o(5),p=n(c),l=function(e,t){var o=function(o){var n=o.children,s=o.active,u=o.gelIconClassName,c=r(o,["children","active","gelIconClassName"]);return i.default.ensureIcon(s?t:e),a.default.createElement(p.default,c,a.default.createElement(i.default,{additionalClassNames:u,iconName:s?e:t}),n)};return o.displayName="ThumbReactionIcon",o.propTypes={children:u.PropTypes.node,active:u.PropTypes.bool.isRequired,gelIconClassName:u.PropTypes.string},o.defaultProps={children:null,gelIconClassName:null},o};t.default=l,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(8),r=o.n(n);Morph.modules["bbc-morph-reactions@4.2.0"]=r.a},function(e,t,o){"use strict";e.exports=o(9)},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DislikeReactionIcon=t.LikeReactionIcon=t.ReactionLabel=t.ReactionIcon=t.ReactionCount=t.Reactions=t.Reaction=void 0;var r=o(10),s=n(r),i=o(12),u=n(i),a=o(3),c=n(a),p=o(5),l=n(p),f=o(4),d=n(f),y=o(14),h=n(y),b=o(16),m=n(b);t.Reaction=s.default,t.Reactions=u.default,t.ReactionCount=c.default,t.ReactionIcon=l.default,t.ReactionLabel=d.default,t.LikeReactionIcon=h.default,t.DislikeReactionIcon=m.default,t.default={Reaction:s.default,Reactions:u.default,ReactionCount:c.default,ReactionIcon:l.default,ReactionLabel:d.default,LikeReactionIcon:h.default,DislikeReactionIcon:m.default}},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":u(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":u(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},c=o(1),p=n(c),l=o(0),f=n(l),d=o(3),y=n(d),h=o(4),b=n(h),m=o(2),v=n(m),P=function(e,t,o,n){return function(r){t&&t(o),e&&e(r,o,n)}},O=function e(t,o,n){var r=[];return f.default.Children.forEach(t,function(t){t.type===b.default&&r.push((0,v.default)(t.props.id,o,n,"label")),t.type===y.default&&r.push((0,v.default)(t.props.id,o,n,"count")),r=[].concat(r,e(t.props&&t.props.children,o,n))}),r},T=function(e){function t(){return r(this,t),s(this,e.apply(this,arguments))}return i(t,e),t.prototype.getChildContext=function(){return{type:this.props.type}},t.prototype.render=function(){return f.default.createElement("li",a({},this.props.liProps,{className:this.props.liProps.className}),f.default.createElement("button",a({},this.props.buttonProps,{"aria-pressed":this.props.type===this.context.active,"aria-labelledby":O(this.props.children,this.props.type,this.context.uniqueId).join(" "),className:(0,p.default)("gs-c-reaction",this.props.buttonProps.className),onClick:P(this.props.onClick,this.context.updateActive,this.props.type,this.context.active)}),this.props.children))},t}(f.default.Component);T.displayName="Reaction",T.propTypes={children:l.PropTypes.node,onClick:l.PropTypes.func,liProps:l.PropTypes.objectOf(l.PropTypes.any),buttonProps:l.PropTypes.objectOf(l.PropTypes.any),type:l.PropTypes.string},T.defaultProps={children:null,onClick:null,liProps:{},buttonProps:{},type:null},T.contextTypes={active:l.PropTypes.string,updateActive:l.PropTypes.func,uniqueId:l.PropTypes.string},T.childContextTypes={type:l.PropTypes.string},t.default=T,e.exports=t.default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(e){var t=""+e;return e>=1e4?((e/1e3).toFixed(1)+"K").replace(".0",""):e>=1e3?t[0]+","+t[1]+t[2]+t[3]:t}},r=function(e,t){var o=n[t];return o?o(e):""+e};t.default=r,e.exports=t.default},function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n]);return o}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},p=o(13),l=n(p),f=o(0),d=n(f),y=function(e){function t(o){s(this,t);var n=i(this,e.call(this,o)),r=o.active;return n.props.store&&n.props.uniqueId&&"undefined"!=typeof window&&(r=n.props.store.getItem("reactions-"+n.props.uniqueId)),n.state={active:r},n.updateActive=n.updateActive.bind(n),n}return u(t,e),t.prototype.getChildContext=function(){return{active:this.state.active,updateActive:this.updateActive,uniqueId:this.props.uniqueId}},t.prototype.updateActive=function(e){var t=this.state.active===e?null:e;if(this.setState({active:t}),this.props.store&&this.props.uniqueId){var o="reactions-"+this.props.uniqueId;t?this.props.store.setItem(o,t):this.props.store.removeItem(o)}},t.prototype.render=function(){var e=this.props,t=e.children,o=r(e,["children"]),n=t?t(this.state.active):[];return d.default.createElement("ul",c({className:"gs-c-reactions"},o),n)},t}(d.default.Component);y.displayName="Reactions",y.propTypes={active:f.PropTypes.string,children:f.PropTypes.func,uniqueId:f.PropTypes.string,store:f.PropTypes.shape({getItem:f.PropTypes.func,setItem:f.PropTypes.func,removeItem:f.PropTypes.func})},y.defaultProps={active:null,children:null,uniqueId:null,store:l.default},y.childContextTypes={active:f.PropTypes.string,updateActive:f.PropTypes.func,uniqueId:f.PropTypes.string},t.default=y,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-up-selected-state","thumbs-up-deselected-state");t.default=s,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@2.2.0"]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(6),r=function(e){return e&&e.__esModule?e:{default:e}}(n),s=(0,r.default)("thumbs-down-selected-state","thumbs-down-deselected-state");t.default=s,e.exports=t.default}]); //# sourceMappingURL=bundle.js.map; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-local-storage-helper@1.0.1"]={"bbc-morph-local-storage-feature-detection-helper":"1.0.1"},function(e){function o(t){if(r[t])return r[t].exports;var l=r[t]={exports:{},id:t,loaded:!1};return e[t].call(l.exports,l,l.exports,o),l.loaded=!0,l.exports}var r={};return o.m=e,o.c=r,o.p="",o(0)}([function(e,o,r){Morph.modules["bbc-morph-local-storage-helper@1.0.1"]=r(1)},function(e,o,r){"use strict";function t(e){return e&&e.__esModule?e:{default:e}}var l=r(2),a=t(l),n=function(e){return a.default.browserSupportsLocalStorage()?window.localStorage.getItem(e):null},c=function(e,o){a.default.browserSupportsLocalStorage()&&window.localStorage.setItem(e,o)},u=function(e){a.default.browserSupportsLocalStorage()&&window.localStorage.removeItem(e)};e.exports={setItem:c,getItem:n,removeItem:u}},function(e,o){e.exports=Morph.modules["bbc-morph-local-storage-feature-detection-helper@1.0.1"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.2"]={classnames:"2.2.5"},function(r){function o(s){if(n[s])return n[s].exports;var e=n[s]={exports:{},id:s,loaded:!1};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-classnames@1.0.2"]=n(1)},function(r,o,n){var s=n(2);r.exports=s},function(r,o,n){var s,e;!function(){"use strict";function n(){for(var r=[],o=0;o<arguments.length;o++){var s=arguments[o];if(s){var e=typeof s;if("string"===e||"number"===e)r.push(s);else if(Array.isArray(s))r.push(n.apply(null,s));else if("object"===e)for(var a in s)t.call(s,a)&&s[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;void 0!==r&&r.exports?r.exports=n:(s=[],void 0!==(e=function(){return n}.apply(o,s))&&(r.exports=e))}()}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-childrens-reactions@1.4.7"]={"babel-runtime":"6.26.0","bbc-morph-childrens-reactions-data":"0.7.1","bbc-morph-classnames":"1.0.2","bbc-morph-id-availability-data":"1.0.0","bbc-morph-local-storage-helper":"1.0.1","bbc-morph-reactions":"4.2.0","@bbc/counting-service-client-library":"2.2.1","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","morph-container":"2.1.16","morph-require":"5.2.1",react:"0.14.7",requirejs:"2.3.6","sass-mq":"4.0.2","whatwg-fetch":"2.0.4"},function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-childrens-reactions@1.4.7"]=r(1)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.urn,r=e.standalone,n=e.idAvailability,o=Boolean(r),i=(0,a.default)({urn:t,data:"bbc-morph-childrens-reactions-data"},o?{standalone:r}:{}),s=n?{availabilityOverride:n}:{};return{reactionsData:{uri:i,requireSuccess:!1,updates:!1},idAvailabilityData:{uri:(0,a.default)({data:"bbc-morph-id-availability-data"},s),requireSuccess:!0,updates:!1}}}Object.defineProperty(t,"__esModule",{value:!0});var i=r(2),a=n(i),s=r(41),u=n(s),c=r(42),l=n(c);t.default=u.default.create(l.default,{data:function(e){return e.styleguide?{}:o(e)}}),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(3),i=n(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t,r){e.exports={default:r(4),__esModule:!0}},function(e,t,r){r(5),e.exports=r(8).Object.assign},function(e,t,r){var n=r(6);n(n.S+n.F,"Object",{assign:r(22)})},function(e,t,r){var n=r(7),o=r(8),i=r(9),a=r(11),s=r(21),u="prototype",c=function(e,t,r){var l,f,d,p=e&c.F,h=e&c.G,y=e&c.S,v=e&c.P,m=e&c.B,b=e&c.W,E=h?o:o[t]||(o[t]={}),_=E[u],g=h?n:y?n[t]:(n[t]||{})[u];h&&(r=t);for(l in r)f=!p&&g&&void 0!==g[l],f&&s(E,l)||(d=f?g[l]:r[l],E[l]=h&&"function"!=typeof g[l]?r[l]:m&&f?i(d,n):b&&g[l]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[u]=e[u],t}(d):v&&"function"==typeof d?i(Function.call,d):d,v&&((E.virtual||(E.virtual={}))[l]=d,e&c.R&&_&&!_[l]&&a(_,l,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.6.6"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(10);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(12),o=r(20);e.exports=r(16)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(13),o=r(15),i=r(19),a=Object.defineProperty;t.f=r(16)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(14);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){e.exports=!r(16)&&!r(17)(function(){return 7!=Object.defineProperty(r(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=!r(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(14),o=r(7).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,r){var n=r(14);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";var n=r(16),o=r(23),i=r(38),a=r(39),s=r(40),u=r(26),c=Object.assign;e.exports=!c||r(17)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=s(e),c=arguments.length,l=1,f=i.f,d=a.f;c>l;)for(var p,h=u(arguments[l++]),y=f?o(h).concat(f(h)):o(h),v=y.length,m=0;v>m;)p=y[m++],n&&!d.call(h,p)||(r[p]=h[p]);return r}:c},function(e,t,r){var n=r(24),o=r(37);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(21),o=r(25),i=r(29)(!1),a=r(33)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),u=0,c=[];for(r in s)r!=a&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~i(c,r)||c.push(r));return c}},function(e,t,r){var n=r(26),o=r(28);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(25),o=r(30),i=r(32);e.exports=function(e){return function(t,r,a){var s,u=n(t),c=o(u.length),l=i(a,c);if(e&&r!=r){for(;c>l;)if(s=u[l++],s!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(31),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):i(e,t)}},function(e,t,r){var n=r(34)("keys"),o=r(36);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(8),o=r(7),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(28);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t)}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(48),s=n(a),u=r(80),c=n(u),l=r(81),f=n(l),d=r(82),p=n(d),h=r(86),y=n(h);r(94);var v=r(95),m=n(v),b=r(96),E=n(b),_=r(100),g=n(_),T=r(154),S=n(T),P=r(119),w=n(P),R=r(114),x=function(e){function t(e){(0,c.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r}return(0,y.default)(t,e),(0,p.default)(t,null,[{key:"countsForUrn",value:function(e,t){return t.body&&t.body.countsData[e]?t.body.countsData[e]:{}}},{key:"mapCounts",value:function(e,t){var r="cbeebies"===e?R.CBEEBIES_LABELS:R.CBBC_LABELS;return r.map(function(e){var r=R.LABEL_TO_KEY[e];return{label:e,count:"object"===("undefined"==typeof t?"undefined":(0,s.default)(t))&&r in t?t[r]:0}})}},{key:"totalCountsForUrn",value:function(e,t){return t.body&&t.body.countsTotals[e]?t.body.countsTotals[e]:0}},{key:"getEnv",value:function(e){if(e.body&&"string"==typeof e.body.env){var t=e.body.env;if("int"===t||"test"===t||"stage"===t||"live"===t)return t}return"live"}}]),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,r=e.standalone,n=e.urn,o=e.reactionsData,i=e.product,a=e.resourceType,s=e.styleguide,u=e.pageContext,c=Boolean(r),l=t.countsForUrn(n,o),f=t.mapCounts(i,l),d=t.totalCountsForUrn(n,o),p=t.getEnv(o),h=decodeURIComponent(this.props.resourceTitle),y=decodeURIComponent(this.props.url),v=n.toString().replace("urn:bbc:","").replace("urn:riddle:",""),b="urn:bbc:"+i+":"+a+":"+v,_=!!this.props.forcedError&&new Error(this.props.forcedError),T=Boolean(this.props.acceptanceTestMode);return m.default.createElement("div",{className:"reactions"},s?m.default.createElement(g.default,{product:i}):m.default.createElement(S.default,{enableStandaloneMode:c,countingServiceClientLibrary:E.default,ReactionsModule:w.default,product:i,reactionsCounts:f,reactionsCountTotal:d,urn:n,resourceTitle:h,resourceType:a,url:y,globalId:b,env:p,isIdAvailable:this.props.idAvailabilityData.body.isAvailable,error:_,enableAcceptanceTestMode:T,pageContext:u}))}}]),t}(v.Component);x.displayName="ReactionsBootstrap",x.propTypes={styleguide:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),standalone:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),product:v.PropTypes.string.isRequired,resourceType:v.PropTypes.string.isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),resourceTitle:v.PropTypes.string.isRequired,url:v.PropTypes.string.isRequired,reactionsData:v.PropTypes.oneOfType([v.PropTypes.shape({body:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.object]),meta:v.PropTypes.object}),v.PropTypes.string]),idAvailabilityData:v.PropTypes.shape({body:v.PropTypes.shape({isAvailable:v.PropTypes.bool})}).isRequired,forcedError:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),acceptanceTestMode:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),pageContext:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool])},x.defaultProps={styleguide:!1,standalone:!1,urn:!1,reactionsData:{},forcedError:!1,idAvailabilityData:{body:{isAvailable:!0}},acceptanceTestMode:!1,pageContext:!1},t.default=x,e.exports=t.default},function(e,t,r){e.exports={default:r(44),__esModule:!0}},function(e,t,r){r(45),e.exports=r(8).Object.getPrototypeOf},function(e,t,r){var n=r(40),o=r(46);r(47)("getPrototypeOf",function(){return function(e){return o(n(e))}})},function(e,t,r){var n=r(21),o=r(40),i=r(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){var n=r(6),o=r(8),i=r(17);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],a={};a[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",a)}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(49),i=n(o),a=r(67),s=n(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,r){e.exports={default:r(50),__esModule:!0}},function(e,t,r){r(51),r(62),e.exports=r(66).f("iterator")},function(e,t,r){"use strict";var n=r(52)(!0);r(53)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){var n=r(31),o=r(28);e.exports=function(e){return function(t,r){var i,a,s=String(o(t)),u=n(r),c=s.length;return u<0||u>=c?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,r){"use strict";var n=r(35),o=r(6),i=r(54),a=r(11),s=r(55),u=r(56),c=r(60),l=r(46),f=r(61)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",y="values",v=function(){return this};e.exports=function(e,t,r,m,b,E,_){u(r,t,m);var g,T,S,P=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new r(this,e)};case y:return function(){return new r(this,e)}}return function(){return new r(this,e)}},w=t+" Iterator",R=b==y,x=!1,O=e.prototype,A=O[f]||O[p]||b&&O[b],M=A||P(b),C=b?R?P("entries"):M:void 0,L="Array"==t?O.entries||A:A;if(L&&(S=l(L.call(new e)),S!==Object.prototype&&S.next&&(c(S,w,!0),n||"function"==typeof S[f]||a(S,f,v))),R&&A&&A.name!==y&&(x=!0,M=function(){return A.call(this)}),n&&!_||!d&&!x&&O[f]||a(O,f,M),s[t]=M,s[w]=v,b)if(g={values:R?M:P(y),keys:E?M:P(h),entries:C},_)for(T in g)T in O||i(O,T,g[T]);else o(o.P+o.F*(d||x),t,g);return g}},function(e,t,r){e.exports=r(11)},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(57),o=r(20),i=r(60),a={};r(11)(a,r(61)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(a,{next:o(1,r)}),i(e,t+" Iterator")}},function(e,t,r){var n=r(13),o=r(58),i=r(37),a=r(33)("IE_PROTO"),s=function(){},u="prototype",c=function(){var e,t=r(18)("iframe"),n=i.length,o="<",a=">";for(t.style.display="none",r(59).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;n--;)delete c[u][i[n]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[u]=n(e),r=new s,s[u]=null,r[a]=e):r=c(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(12),o=r(13),i=r(23);e.exports=r(16)?Object.defineProperties:function(e,t){o(e);for(var r,a=i(t),s=a.length,u=0;s>u;)n.f(e,r=a[u++],t[r]);return e}},function(e,t,r){var n=r(7).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(12).f,o=r(21),i=r(61)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(34)("wks"),o=r(36),i=r(7).Symbol,a="function"==typeof i,s=e.exports=function(e){return n[e]||(n[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=n},function(e,t,r){r(63);for(var n=r(7),o=r(11),i=r(55),a=r(61)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var c=s[u],l=n[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,r){"use strict";var n=r(64),o=r(65),i=r(55),a=r(25);e.exports=r(53)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,r):"values"==t?o(0,e[r]):o(0,[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){t.f=r(61)},function(e,t,r){e.exports={default:r(68),__esModule:!0}},function(e,t,r){r(69),r(77),r(78),r(79),e.exports=r(8).Symbol},function(e,t,r){"use strict";var n=r(7),o=r(21),i=r(16),a=r(6),s=r(54),u=r(70).KEY,c=r(17),l=r(34),f=r(60),d=r(36),p=r(61),h=r(66),y=r(71),v=r(72),m=r(73),b=r(13),E=r(14),_=r(40),g=r(25),T=r(19),S=r(20),P=r(57),w=r(74),R=r(76),x=r(38),O=r(12),A=r(23),M=R.f,C=O.f,L=w.f,I=n.Symbol,k=n.JSON,N=k&&k.stringify,j="prototype",B=p("_hidden"),U=p("toPrimitive"),D={}.propertyIsEnumerable,F=l("symbol-registry"),q=l("symbols"),z=l("op-symbols"),H=Object[j],K="function"==typeof I,W=n.QObject,V=!W||!W[j]||!W[j].findChild,Y=i&&c(function(){return 7!=P(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=M(H,t);n&&delete H[t],C(e,t,r),n&&e!==H&&C(H,t,n)}:C,G=function(e){var t=q[e]=P(I[j]);return t._k=e,t},J=K&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,r){return e===H&&X(z,t,r),b(e),t=T(t,!0),b(r),o(q,t)?(r.enumerable?(o(e,B)&&e[B][t]&&(e[B][t]=!1),r=P(r,{enumerable:S(0,!1)})):(o(e,B)||C(e,B,S(1,{})),e[B][t]=!0),Y(e,t,r)):C(e,t,r)},$=function(e,t){b(e);for(var r,n=v(t=g(t)),o=0,i=n.length;i>o;)X(e,r=n[o++],t[r]);return e},Q=function(e,t){return void 0===t?P(e):$(P(e),t)},Z=function(e){var t=D.call(this,e=T(e,!0));return!(this===H&&o(q,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(q,e)||o(this,B)&&this[B][e])||t)},ee=function(e,t){if(e=g(e),t=T(t,!0),e!==H||!o(q,t)||o(z,t)){var r=M(e,t);return!r||!o(q,t)||o(e,B)&&e[B][t]||(r.enumerable=!0),r}},te=function(e){for(var t,r=L(g(e)),n=[],i=0;r.length>i;)o(q,t=r[i++])||t==B||t==u||n.push(t);return n},re=function(e){for(var t,r=e===H,n=L(r?z:g(e)),i=[],a=0;n.length>a;)!o(q,t=n[a++])||r&&!o(H,t)||i.push(q[t]);return i};K||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(r){this===H&&t.call(z,r),o(this,B)&&o(this[B],e)&&(this[B][e]=!1),Y(this,e,S(1,r))};return i&&V&&Y(H,e,{configurable:!0,set:t}),G(e)},s(I[j],"toString",function(){return this._k}),R.f=ee,O.f=X,r(75).f=w.f=te,r(39).f=Z,x.f=re,i&&!r(35)&&s(H,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!K,{Symbol:I});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;ne.length>oe;)p(ne[oe++]);for(var ie=A(p.store),ae=0;ie.length>ae;)y(ie[ae++]);a(a.S+a.F*!K,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!K,"Object",{create:Q,defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=c(function(){x.f(1)});a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return x.f(_(e))}}),k&&a(a.S+a.F*(!K||c(function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(E(t)||void 0!==e)&&!J(e))return m(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!J(t))return t}),n[1]=t,N.apply(k,n)}}),I[j][U]||r(11)(I[j],U,I[j].valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},function(e,t,r){var n=r(36)("meta"),o=r(14),i=r(21),a=r(12).f,s=0,u=Object.isExtensible||function(){return!0},c=!r(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,n)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[n].i},d=function(e,t){if(!i(e,n)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[n].w},p=function(e){return c&&h.NEED&&u(e)&&!i(e,n)&&l(e),e},h=e.exports={KEY:n,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,r){var n=r(7),o=r(8),i=r(35),a=r(66),s=r(12).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,r){var n=r(23),o=r(38),i=r(39);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var a,s=r(e),u=i.f,c=0;s.length>c;)u.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,r){var n=r(27);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(25),o=r(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(n(e))}},function(e,t,r){var n=r(24),o=r(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(39),o=r(20),i=r(25),a=r(19),s=r(21),u=r(15),c=Object.getOwnPropertyDescriptor;t.f=r(16)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(s(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){},function(e,t,r){r(71)("asyncIterator")},function(e,t,r){r(71)("observable")},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(48),i=n(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,i.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){e.exports={default:r(84),__esModule:!0}},function(e,t,r){r(85);var n=r(8).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(6);n(n.S+n.F*!r(16),"Object",{defineProperty:r(12).f})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(87),i=n(o),a=r(91),s=n(a),u=r(48),c=n(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(88),__esModule:!0}},function(e,t,r){r(89),e.exports=r(8).Object.setPrototypeOf},function(e,t,r){var n=r(6);n(n.S,"Object",{setPrototypeOf:r(90).set})},function(e,t,r){var n=r(14),o=r(13),i=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r(9)(Function.call,r(76).f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return i(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:i}},function(e,t,r){e.exports={default:r(92),__esModule:!0}},function(e,t,r){r(93);var n=r(8).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(6);n(n.S,"Object",{create:r(57)})},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function n(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function s(e){var t=new FileReader,r=a(t);return t.readAsArrayBuffer(e),r}function u(e){var t=new FileReader,r=a(t);return t.readAsText(e),r}function c(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function l(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(m.arrayBuffer&&m.blob&&E(e))this._bodyArrayBuffer=l(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!_(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=l(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(c(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(h)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase();return g.indexOf(t)>-1?t:e}function p(e,t){t=t||{};var r=t.body;if(e instanceof p){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function h(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}}),t}function y(e){var t=new o,r=e.replace(/\r?\n[\t ]+/g," ");return r.split(/\r?\n/).forEach(function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}}),t}function v(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],E=function(e){return e&&DataView.prototype.isPrototypeOf(e)},_=ArrayBuffer.isView||function(e){return e&&b.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,n){e=t(e),n=r(n);var o=this.map[e];this.map[e]=o?o+","+n:n},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,n){this.map[t(e)]=r(n)},o.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),n(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),n(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),n(e)},m.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},f.call(p.prototype),f.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},v.error=function(){var e=new v(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];v.redirect=function(e,t){if(T.indexOf(t)===-1)throw new RangeError("Invalid status code");return new v(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=p,e.Response=v,e.fetch=function(e,t){return new Promise(function(r,n){var o=new p(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:y(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;r(new v(t,e))},i.onerror=function(){n(new TypeError("Network request failed"))},i.ontimeout=function(){n(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t){e.exports=React},function(e,t,r){e.exports={postToUAS:r(97),deleteFromUAS:r(99)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;if((0,n.activityTypeIsValid)(e)&&(0,n.dataContainsAllRequiredKeys)(t)&&(0,n.apiKeyIsValid)(r)&&(0,n.envIsValid)(o)&&(0,n.domainExtIsValid)(i)){var u=(0,n.selectUASEndpoint)(o,i,e,a),c=s?(0,n.getUrlWithPreviousAction)(u,s):u,l=(0,n.buildHeaders)(u,r),f=JSON.stringify(t),d=(0,n.buildRequest)(c,l,f,"POST"),p=a?"include":"omit",h={credentials:p};return fetch(d,h)}};t.default=o,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return"plays"===e||"reactions"===e},n=function(e){return Boolean(e.resourceDomain&&e.resourceType&&e.resourceId&&e.action&&e.actionContext)},o=function(e){return"string"==typeof e&&/^[a-z0-9]{13,}$/i.test(e)},i=function(e){return"string"==typeof e&&("int"===e||"test"===e||"stage"===e||"live"===e)},a=function(e){return".co.uk"===e||".com"===e},s={ int:"int.",test:"test.",stage:"stage.",live:""},u=function(e,t,r,n){var o=s[e],i=n?"":"nsi.";return"https://"+i+"activity."+o+"api.bbc"+t+"/my/"+r},c=function(e,t){return e+"?previousAction="+t},l=function(e,t){var r=new Headers({Host:e,"Content-Type":"application/json","X-API-Key":t});return r},f=function(e,t,r,n){return new Request(e,{method:n,headers:t,body:r})};t.default={buildRequest:f,buildHeaders:l,selectUASEndpoint:u,domainExtIsValid:a,envIsValid:i,apiKeyIsValid:o,dataContainsAllRequiredKeys:n,activityTypeIsValid:r,getUrlWithPreviousAction:c},e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(98),o=function(e,t,r){var n=e+"/"+t;return r?n+"?previousAction="+r:n},i=function(e,t,r,i,a,s,u){var c=(0,n.selectUASEndpoint)(r,i,e,s),l=o(c,a,u),f=(0,n.buildHeaders)(c,t),d=(0,n.buildRequest)(l,f,null,"DELETE"),p=s?"include":"omit",h={credentials:p};return fetch(d,h)},a=function(e,t,r,o,a){var s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,c=void 0;return c=(0,n.activityTypeIsValid)(e)&&(0,n.apiKeyIsValid)(t)&&(0,n.envIsValid)(r)&&(0,n.domainExtIsValid)(o)?i(e,t,r,o,a,s,u):Promise.reject("Invalid parameters")};t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(102),c=r(103),l=n(c),f=r(109),d=n(f),p=r(118),h=n(p),y=r(111),v=n(y),m=r(114),b=r(119),E=n(b),_=r(154),g=n(_),T=r(147),S=n(T),P=r(148),w=r(156),R=n(w),x=function(){},O={postToUas:x,deleteFromUas:x},A="styleguide:urn",M="styleguide:resourceTitle",C="styleguide:url",L="styleguide:globalId",I="game",k=function(e){var t=e.children;return i.default.createElement("h3",{className:"reactions-styleguide__heading"},t)};k.displayName="SectionHeading",k.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var N=function(e){var t=e.children;return i.default.createElement("h4",{className:"reactions-styleguide__subheading"},t)};N.displayName="SubHeading",N.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired};var j=function(e){var t=e.id,r=e.heading,n=e.children,o=e.className;return i.default.createElement("section",{id:t,className:(0,s.default)("reactions-styleguide__section",o)},i.default.createElement(k,null,r),n)};j.displayName="Section",j.propTypes={id:o.PropTypes.string.isRequired,heading:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},j.defaultProps={children:i.default.createElement("noscript",null),className:""};var B={cbbc:[{count:1e4,label:m.LOVE},{count:123,label:m.LOL},{count:5347890,label:m.APPLAUSE},{count:0,label:m.GOTIT},{count:39,label:m.OMD},{count:834,label:m.SAD}],cbeebies:[{count:1e4,label:m.LOVE},{count:5347890,label:m.FUNNY},{count:0,label:m.CLAP},{count:123,label:m.GOTIT},{count:39,label:m.WOW},{count:834,label:m.SAD}],get"stay-safe"(){return this.cbbc}},U=5358886,D=function(e){return i.default.createElement("div",{className:"reactions-styleguide"},i.default.createElement(j,{heading:"Overview Cluster (CTA)",id:"overview-cluster"},i.default.createElement(N,null,"Open Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed Without Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:0,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Open With Count - clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!0,count:555,product:e.product,hasBeenClicked:!0}),i.default.createElement(N,null,"Closed With Count - not clicked"),i.default.createElement(l.default,{onClick:x,isOpen:!1,count:U,product:e.product,hasBeenClicked:!1})),i.default.createElement(j,{heading:"Reaction Tray",id:"reaction-tray"},i.default.createElement(d.default,{showReactions:!0,product:e.product,reactionsCounts:B[e.product],reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x,selectedReaction:"Love",updateSelectedReaction:x})),i.default.createElement(j,{heading:"Cookie Disabled Banner",id:"cookie-warning-banner"},i.default.createElement(h.default,null)),i.default.createElement(j,{heading:"Error Message Banner",id:"error-message-banner"},i.default.createElement(S.default,null)),i.default.createElement(j,{heading:"Individual Reactions",id:"reactions-list"},B[e.product].map(function(t,r){return i.default.createElement("div",{key:r},i.default.createElement(N,null,t.label),i.default.createElement(u.Reactions,{uniqueId:"1"},function(){return i.default.createElement(v.default,{product:e.product,label:t.label,count:t.count,clickHandler:x,showReactions:!0,reactionButtonPressStart:x,reactionButtonPressEnd:x,reactionButtonClick:x})}))})),i.default.createElement(j,{heading:"Reactions Module",id:"reactions-module"},i.default.createElement(N,null,"With Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],showCookieBanner:!0,env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"With error message after reaction is clicked"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,error:new Error(P.ErrorTypes.UAS_FAILURE),countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I}),i.default.createElement(N,null,"Without Cookies banner"),i.default.createElement(g.default,{enableStandaloneMode:!0,postToUASHandler:x,ReactionsModule:E.default,product:e.product,urn:A,resourceTitle:M,url:C,globalId:L,reactionsCounts:B[e.product],env:"test",isSignedIn:!0,isIdAvailable:!0,idctaService:R.default,countingServiceClientLibrary:O,reactionsCountTotal:U,resourceType:I})))};D.propTypes={product:o.PropTypes.string.isRequired},t.default=D,e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t){e.exports=Morph.modules["bbc-morph-reactions@4.2.0"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(101),s=n(a),u=r(104),c=n(u),l=function(e){var t=e.count>0?". Total number of reactions: "+e.count:"",r=e.isOpen?"Reactions. Hide Reactions":"Reactions. Show Reactions"+t;return i.default.createElement("button",{className:(0,s.default)("reactions-cta",{"reactions-cta--open":e.isOpen,"reactions-cta--clicked":e.hasBeenClicked}),"aria-pressed":e.isOpen,"aria-label":r,onClick:function(){e.onClick()}},i.default.createElement(c.default,e))};l.displayName="Cta",l.propTypes={onClick:o.PropTypes.func.isRequired,isOpen:o.PropTypes.bool.isRequired,count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired,hasBeenClicked:o.PropTypes.bool.isRequired},t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(105),s=n(a),u=r(106),c=n(u),l=r(107),f=n(l),d=r(108),p=n(d),h=function(e){var t={cbeebies:c.default,cbbc:s.default,get"stay-safe"(){return this.cbbc}},r=t[e.product];return i.default.createElement("div",{className:"reactions-cta-image"},i.default.createElement("span",null,i.default.createElement(r,null),e.count>0&&i.default.createElement(p.default,{count:e.count})),i.default.createElement(f.default,null))};h.displayName="CtaImage",h.propTypes={count:o.PropTypes.number.isRequired,product:o.PropTypes.string.isRequired},t.default=h,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbbcWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbbc-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"20",cy:"25",r:"19.94",transform:"rotate(-85 20.002 25.004)",fill:"#efc203"}),i.default.createElement("path",{d:"M6.3 17.19v-.07c.06-.24.12-.47.2-.71s.19-.45.3-.68.25-.43.39-.64a7 7 0 0 1 .47-.59 6.28 6.28 0 0 1 .54-.5 6.16 6.16 0 0 1 .59-.47 6.55 6.55 0 0 1 .64-.41 7.57 7.57 0 0 1 1.39-.61 6.4 6.4 0 0 1 .73-.2 6 6 0 0 1 .74-.13 6 6 0 0 1 .71-.08 6 6 0 0 1 .74 0c.25 0 .49 0 .73.09s.48.09.72.16.47.15.69.24c-.24 0-.48.08-.72.11l-.7.11c-.23 0-.46.08-.68.12s-.45.1-.67.14-.44.11-.65.16-.43.12-.64.19-.42.14-.63.22a6.37 6.37 0 0 0-.61.25 6.39 6.39 0 0 0-.59.28c-.2.09-.38.21-.58.31s-.37.24-.56.35-.36.26-.54.38-.34.28-.53.42-.34.3-.51.46-.32.33-.5.49-.31.35-.49.53zM35.55 22.4v-.07c-.1-.23-.19-.45-.28-.66s-.19-.43-.3-.63-.2-.41-.32-.6-.22-.39-.35-.57-.24-.37-.38-.55-.25-.36-.41-.52-.27-.34-.43-.49a6.39 6.39 0 0 0-.46-.47 6.37 6.37 0 0 0-.49-.44c-.17-.14-.33-.29-.51-.42s-.35-.28-.53-.4-.36-.27-.56-.38-.38-.25-.58-.37-.39-.25-.6-.35l-.62-.35c-.21-.11-.42-.22-.64-.35h.73c.24 0 .48.06.73.1s.48.11.72.17a7.6 7.6 0 0 1 1.38.55 6 6 0 0 1 .65.37 6.4 6.4 0 0 1 .62.44A7.57 7.57 0 0 1 34 17.46a6.55 6.55 0 0 1 .46.6 6.16 6.16 0 0 1 .39.65 6.28 6.28 0 0 1 .32.69 7 7 0 0 1 .24.72c.06.24.1.49.15.73s0 .5.05.74 0 .49-.06.74z",fill:"#9f8214"}),i.default.createElement("circle",{cx:"13.71",cy:"20.6",r:"5.25",transform:"rotate(-79.9 13.71 20.605)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"13.71",cy:"20.74",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 13.711 20.738)",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"27.2",cy:"23.01",r:"5.25",transform:"rotate(-79.9 27.2 23.006)",fill:"#fff"}),i.default.createElement("ellipse",{cx:"27.15",cy:"23.13",rx:"3.04",ry:"2.56",transform:"rotate(-79.9 27.15 23.127)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M22.52 34.49c-.51 2.89-2.91 4.88-5.34 4.45s-4-3.13-3.48-6q0-.22.09-.42c.66-2.66 2.94-4.44 5.25-4s3.96 3.08 3.48 5.97z",fill:"#2b2b2b"}),i.default.createElement("circle",{cx:"42.08",cy:"45.87",r:"22.16",transform:"rotate(-81.9 42.082 45.87)",fill:"#ffd201"}),i.default.createElement("path",{"data-name":"<Path>",d:"M66.62 48.07a3.8 3.8 0 0 1-4.5 6.13c-1.7-1.24-5.22-8.51-5.22-8.51s8.02 1.14 9.72 2.38zM18.06 41.1a3.79 3.79 0 1 0 2.54 7.15c2-.71 7.44-6.67 7.44-6.67s-8.04-1.19-9.98-.48z",fill:"#269dc8"}),i.default.createElement("path",{d:"M27.82 44.39a14.18 14.18 0 0 0 28.07 4.11z",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.53 57.11a8.31 8.31 0 0 1 15.21 2.22",fill:"#a75916"}),i.default.createElement("path",{d:"M40.86 53.15a8.32 8.32 0 0 0-8.36 4 14.25 14.25 0 0 0 7.27 3.36 13.92 13.92 0 0 0 7.94-1.14 8.22 8.22 0 0 0-6.85-6.22z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.76 43.64a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13zM39.76 41.65a.87.87 0 0 1-.7-.58 3.41 3.41 0 0 0-6-.86.87.87 0 0 1-1.43-1 5.14 5.14 0 0 1 9.1 1.3.87.87 0 0 1-.94 1.13z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaCbeebiesWithoutCount",s=function(){return i.default.createElement("span",{className:"cta-icon cta-cbeebies-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 68"},i.default.createElement("defs",null,i.default.createElement("clipPath",{id:"a"},i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}))),i.default.createElement("circle",{cx:"20.16",cy:"25.01",r:"19.9",transform:"rotate(-80 20.16 25.01)",fill:"#efc203"}),i.default.createElement("ellipse",{cx:"14.75",cy:"18.89",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 14.757 18.895)",fill:"#2b2b2b"}),i.default.createElement("ellipse",{cx:"27.9",cy:"22.44",rx:"3.3",ry:"2.55",transform:"rotate(-74.9 27.908 22.442)",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M7.46 14.93v-.07c.08-.23.16-.46.26-.69s.23-.43.36-.65.29-.41.45-.6a7 7 0 0 1 .52-.55 6.27 6.27 0 0 1 .58-.48 6.15 6.15 0 0 1 .63-.42 6.54 6.54 0 0 1 .67-.35 7.55 7.55 0 0 1 1.43-.48 6.38 6.38 0 0 1 .74-.13 6 6 0 0 1 .75-.06 6 6 0 0 1 .75 0 6 6 0 0 1 .74.08c.24.05.49.08.72.15s.47.13.7.22.45.19.67.3h-.72l-.7.05c-.23 0-.46 0-.69.06s-.45.06-.68.08-.44.07-.66.11-.44.09-.65.13-.43.1-.64.16a6.35 6.35 0 0 0-.63.19 6.38 6.38 0 0 0-.62.23c-.21.07-.4.17-.6.26s-.39.2-.59.3-.38.23-.57.33-.37.25-.56.37-.36.27-.54.41L8 14.4c-.17.16-.34.32-.53.48zM36.09 22.66v-.07c-.08-.23-.15-.46-.22-.68s-.15-.44-.24-.65-.17-.42-.27-.63-.19-.41-.3-.6-.2-.39-.33-.58-.22-.38-.36-.55-.24-.36-.39-.53a6.38 6.38 0 0 0-.42-.51 6.35 6.35 0 0 0-.45-.48c-.15-.16-.3-.32-.47-.46s-.32-.3-.5-.44-.34-.3-.52-.43-.35-.29-.54-.41-.37-.28-.56-.4l-.58-.4c-.2-.13-.4-.26-.6-.4.24 0 .49 0 .73.07s.48.11.72.16.46.16.7.23a7.58 7.58 0 0 1 1.33.67 6 6 0 0 1 .62.43 6.38 6.38 0 0 1 .57.49 7.55 7.55 0 0 1 1 1.14 6.54 6.54 0 0 1 .41.64 6.15 6.15 0 0 1 .33.68 6.27 6.27 0 0 1 .26.71 7 7 0 0 1 .17.73c0 .25.06.5.08.74s0 .5 0 .74-.07.49-.12.73z",fill:"#9f8214"}),i.default.createElement("path",{d:"M16.26 38.31a9.6 9.6 0 0 1-6.72-11.8 19.21 19.21 0 0 1 10-.22l.42.11a19.21 19.21 0 0 1 8.57 5.24 9.6 9.6 0 0 1-11.74 6.82z",fill:"#2b2b2b"}),i.default.createElement("g",{clipPath:"url(#a)"},i.default.createElement("ellipse",{cx:"16.36",cy:"39.1",rx:"4.41",ry:"5.64",transform:"rotate(-74.9 16.361 39.1)",fill:"#e63f23"})),i.default.createElement("path",{d:"M50.54 34.94A20.35 20.35 0 0 1 40 26.27c-.66-1.16-3.36-5.85-1.47-11.16a9.34 9.34 0 0 1 4-4.83 9.8 9.8 0 0 1 10.63 0 9.8 9.8 0 0 1 5.47-9.12 9.34 9.34 0 0 1 6.21-1c5.53 1.1 8.16 5.83 8.82 7a20.35 20.35 0 0 1 2 13.47c-1.25 7.19-8.81 13.81-8.81 13.81s-9.5 3.12-16.31.5z",fill:"#e63f23",fillRule:"evenodd"}),i.default.createElement("path",{d:"M42 15.34c-.79 1.44-.56 3.07.5 3.63s2.56-.15 3.34-1.6.56-3.07-.5-3.63-2.51.15-3.34 1.6z",fill:"#ee7966"}),i.default.createElement("circle",{cx:"42.08",cy:"45.81",r:"22.09",transform:"matrix(.17 -.98 .98 .17 -10.35 79.3)",fill:"#ffd201"}),i.default.createElement("path",{d:"M55.66 49a14.07 14.07 0 0 1-27.69-5",fill:"#2b2b2b"}),i.default.createElement("path",{d:"M32.21 56.72a8.24 8.24 0 0 1 15 2.7",fill:"#a75916"}),i.default.createElement("path",{d:"M40.6 53.07a8.26 8.26 0 0 0-8.42 3.68 14.13 14.13 0 0 0 7.1 3.57 13.8 13.8 0 0 0 7.91-.87 8.15 8.15 0 0 0-6.59-6.38z",fill:"#e63f23"}),i.default.createElement("path",{d:"M53.22 43.65l-7.29-4.21a.94.94 0 0 1 .31-1.73l8.26-1.39a.7.7 0 0 1 .27 1.38l-6 1.37 5.13 3.43a.67.67 0 0 1-.71 1.15zM33.35 32.47l7.29 4.21a.94.94 0 0 1-.31 1.73l-8.27 1.39a.7.7 0 0 1-.27-1.38l6-1.37-5.13-3.43a.67.67 0 0 1 .71-1.15z",fill:"#2b2b2b"})))};s.displayName=a,t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a="CtaArrow",s=function(e){return i.default.createElement("div",{className:"cta-arrow-icon"},i.default.createElement("svg",{height:e.height,width:e.width,viewBox:"0 0 20 15"},i.default.createElement("path",{fill:"#db63d9",d:"M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z"})))};s.displayName=a,s.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},s.defaultProps={height:15,width:20},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=function(e){return i.default.createElement("span",{className:"reactions-count-container"},i.default.createElement("span",{className:"reactions-count-container__count-text"},e.count))};a.displayName="CtaCount",a.propTypes={count:o.PropTypes.number.isRequired},t.default=a,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(101),E=n(b),_=r(102),g=r(110),T=n(g),S=r(116),P=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.state={shouldDisableAnimation:!0},r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.props.showReactions!==e.showReactions&&this.setState({shouldDisableAnimation:!1})}},{key:"render",value:function(){var e=this,t=(0,S.getUniqueId)(this.props.urn);return m.default.createElement("div",{className:(0,E.default)("reactions-tray",{"animation-playing":this.props.isAnimationPlaying,"reactions-tray--open":this.props.isOpen})},m.default.createElement("div",{className:(0,E.default)("reactions-tray__reactions-container",{"reactions-tray__reactions-container--open":this.props.showReactions,"reactions-tray__reactions-container--no-animation":this.state.shouldDisableAnimation})},m.default.createElement(_.Reactions,{uniqueId:t,store:S.readOnlyLocalStorageHelper},function(t){var r=(0,i.default)({active:t},e.props);return m.default.createElement(T.default,r)}),m.default.createElement("div",{className:"reactions-tray__reactive-prompt"},"Press and hold for more...")))}}]),t}(v.Component);P.displayName="Tray",P.defaultProps={showReactions:!1,urn:!1,isAnimationPlaying:!1,isOpen:!1},P.propTypes={showReactions:v.PropTypes.bool,product:v.PropTypes.string.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,urn:v.PropTypes.oneOfType([v.PropTypes.string,v.PropTypes.bool]),isAnimationPlaying:v.PropTypes.bool,isOpen:v.PropTypes.bool},t.default=P,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(2),i=n(o),a=r(43),s=n(a),u=r(80),c=n(u),l=r(82),f=n(l),d=r(81),p=n(d),h=r(86),y=n(h),v=r(95),m=n(v),b=r(111),E=n(b),_=r(114),g=function(e){function t(e){(0,c.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return r.props=e,r.firstButtonRef=null,r}return(0,y.default)(t,e),(0,f.default)(t,[{key:"componentDidMount",value:function(){var e=(0,_.keyToLabel)(this.props.active,this.props.product),t=e!==this.props.selectedReaction;t&&this.props.updateSelectedReaction(e)}},{key:"componentDidUpdate",value:function(e){var t=e.showReactions===!1&&this.props.showReactions===!0;t&&this.firstButtonRef&&this.firstButtonRef.focus()}},{key:"render",value:function(){var e=this;return m.default.createElement("div",{className:"reactions-list"},this.props.reactionsCounts.map(function(t,r){var n=(0,i.default)({},e.props,t),o={ref:function(t){0===r&&(e.firstButtonRef=t)}};return m.default.createElement(E.default,(0,i.default)({},n,{key:r,buttonProps:o}))}))}}]),t}(v.Component);g.displayName="ReactionsList",g.defaultProps={active:null,selectedReaction:null},g.propTypes={selectedReaction:v.PropTypes.string,active:v.PropTypes.string,updateSelectedReaction:v.PropTypes.func.isRequired,reactionsCounts:v.PropTypes.arrayOf(v.PropTypes.shape({label:v.PropTypes.string,count:v.PropTypes.number})).isRequired,showReactions:v.PropTypes.bool.isRequired,product:v.PropTypes.string.isRequired},t.default=g,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(112),i=n(o),a=r(2),s=n(a),u=r(95),c=n(u),l=r(102),f=r(101),d=n(f),p=r(113),h=n(p),y=r(115),v=n(y),m=r(114),b=function(e){var t,r=e.product,n=e.label,o=e.count,a=e.showReactions,u=e.buttonProps,f=void 0===u?{}:u,p=e.reactionButtonPressStart,y=e.reactionButtonPressEnd,b=e.selectedReaction,E="cbeebies"===r?v.default:h.default,_=E[""+n],g=n.replace("!",""),T="reaction-button--show",S=(0,s.default)({},f,{onMouseDown:function(){return p(n)},onTouchStart:function(){return p(n)},onKeyDown:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||e.repeat||p(n)},onKeyUp:function(e){e.keyCode!==m.ENTER_KEY&&e.keyCode!==m.SPACE_KEY||y(n)},onMouseUp:function(){return y(n)},onMouseLeave:function(){return y(n)},onTouchEnd:function(){return y(n)},className:(0,d.default)("reaction-button",(t={},(0,i.default)(t,T,a),(0,i.default)(t,"reaction-button--selected",b===n),t))}),P="reaction-icon reaction-icon-"+m.LABEL_TO_KEY[n];return c.default.createElement(l.Reaction,{key:n,type:m.LABEL_TO_KEY[n],buttonProps:S},c.default.createElement(l.ReactionIcon,{className:P},c.default.createElement(_,null)),c.default.createElement(l.ReactionLabel,{className:"reaction-label","aria-label":"Reaction type "+n+","},n),c.default.createElement(l.ReactionCount,{className:"reaction-count",count:o,"aria-label":"Total number of "+g+"s "+o}),c.default.createElement("div",{className:"reaction-focus-line"}))};b.propTypes={product:u.PropTypes.string.isRequired,label:u.PropTypes.string.isRequired,count:u.PropTypes.number.isRequired,showReactions:u.PropTypes.bool.isRequired,buttonProps:u.PropTypes.shape({class:u.PropTypes.string,arialabel:u.PropTypes.string}),reactionButtonPressStart:u.PropTypes.func.isRequired,reactionButtonPressEnd:u.PropTypes.func.isRequired,selectedReaction:u.PropTypes.string},b.defaultProps={buttonProps:{class:null,arialabel:null},selectedReaction:null},t.default=b,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(83),i=n(o);t.default=function(e,t,r){return t in e?(0,i.default)(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o,i=r(112),a=n(i),s=r(95),u=n(s),c=r(114),l=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M13.54 49.73A31.54 31.54 0 0 1 6 30c0-2.08-.06-10.46 6.55-16.17a14.48 14.48 0 0 1 9.1-3.46c7.39 0 11.7 3.42 14.34 8.12 2.64-4.69 7-8.13 14.34-8.12a14.48 14.48 0 0 1 9.1 3.46C66.06 19.54 66 27.93 66 30a31.54 31.54 0 0 1-7.54 19.73C51.28 58.48 36 61.63 36 61.63s-15.28-3.15-22.46-11.9z",fill:"#e63f23",fillRule:"evenodd"}),u.default.createElement("path",{d:"M17.06 16.8C14.9 18.15 14 20.51 15 22.08s3.56 1.75 5.73.4 3.11-3.71 2.11-5.28-3.61-1.75-5.78-.4z",fill:"#ee7966"}))},f=function(){return u.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M69.12 34c-2.48-1.34-13.33-1.34-13.33-1.34s6 9.07 8.52 10.41A5.07 5.07 0 0 0 71.18 41a5.15 5.15 0 0 0-2.06-7zM2.86 34a5.15 5.15 0 0 0-2.07 7 5.07 5.07 0 0 0 6.87 2.12c2.48-1.34 8.52-10.41 8.52-10.41S5.34 32.67 2.86 34z",fill:"#269dc8"}),u.default.createElement("path",{d:"M16.37 36.45a19.34 19.34 0 0 0 38.69.16z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M25.17 52.73a11.33 11.33 0 0 1 21 .08",fill:"#a75916"}),u.default.createElement("path",{d:"M35.66 45.78a11.35 11.35 0 0 0-10.52 7 19.44 19.44 0 0 0 10.47 3.12 19 19 0 0 0 10.5-3.06 11.21 11.21 0 0 0-10.45-7.06z",fill:"#e63f23"}),u.default.createElement("path",{d:"M51.25 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0 1.18 1.18 0 0 1-1.06 1.71zM32 30.46a1.18 1.18 0 0 1-1.06-.65 4.65 4.65 0 0 0-8.31 0 1.18 1.18 0 0 1-2.12-1.06 7 7 0 0 1 12.54 0A1.18 1.18 0 0 1 32 30.46z",fill:"#2b2b2b"}))},d=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("path",{d:"M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72",fill:"#9f8214"}),u.default.createElement("path",{d:"M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z",fill:"#ffd201"}))},p=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",fill:"#ffd201"}),u.default.createElement("path",{d:"M35.9 14.3a.82.82 0 0 1-.82-.82V9.7a.82.82 0 0 1 1.65 0v3.78a.82.82 0 0 1-.83.82zM61.42 36.51h-3.78a.82.82 0 0 1 0-1.65h3.78a.82.82 0 1 1 0 1.65zM14.16 36.51h-3.78a.82.82 0 1 1 0-1.65h3.78a.82.82 0 0 1 0 1.65zM51.28 20.67a.82.82 0 0 1-.58-1.4l2.67-2.67a.82.82 0 0 1 1.16 1.16l-2.67 2.67a.82.82 0 0 1-.58.24zM20.53 20.67a.82.82 0 0 1-.58-.24l-2.67-2.67a.82.82 0 1 1 1.16-1.16l2.67 2.67a.82.82 0 0 1-.58 1.4zM44 15.87a.82.82 0 0 1-.76-1.13l1.41-3.5a.82.82 0 0 1 1.53.61l-1.41 3.5a.82.82 0 0 1-.77.52zM59.57 46a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 1 1 .62-1.53l3.5 1.41a.82.82 0 0 1-.31 1.59zM15.74 28.39a.82.82 0 0 1-.31-.06l-3.5-1.41a.82.82 0 0 1 .61-1.53L16 26.8a.82.82 0 0 1-.31 1.59zM55.91 28a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 0 1 .64 1.51l-3.48 1.48a.82.82 0 0 1-.32.07zM12.43 46.51a.82.82 0 0 1-.32-1.58l3.48-1.48a.82.82 0 1 1 .63 1.55l-3.48 1.48a.82.82 0 0 1-.31.03zM27.39 16a.82.82 0 0 1-.76-.5l-1.48-3.48a.82.82 0 0 1 1.51-.64l1.48 3.48a.82.82 0 0 1-.75 1.14zM29.39 48.81c0-2.53-1.63-4.9-3.47-6.63a13.68 13.68 0 0 1 3.68-22.52c9.92-4.66 20.67 2.71 20.67 12.41a13.83 13.83 0 0 1-5.79 11.26 5 5 0 0 0-2.1 4.1v1.39a17 17 0 0 1-5.83 1.34 23.78 23.78 0 0 1-7.16-1.35z",fill:"#fff"}),u.default.createElement("path",{d:"M29.42 48.71v4.8a8.05 8.05 0 0 0 2.33 1.09l.07.18a4.09 4.09 0 1 0 8.17 0v-.06a2.42 2.42 0 0 0 .11-.29 21.91 21.91 0 0 0 2.3-.79v-5.13s-4.92 3.49-12.98.2z",fill:"#d3145b"}))},h=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("circle",{cx:"25.69",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"25.73",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("circle",{cx:"46.31",cy:"31.15",r:"7.9",fill:"#fff"}),u.default.createElement("ellipse",{cx:"46.26",cy:"31.35",rx:"3.85",ry:"4.57",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M42.41 49.4c0 4.42-3 8-6.74 8s-6.74-3.58-6.74-8v-.65c.28-4.11 3.18-7.35 6.72-7.35 3.75-.01 6.76 3.6 6.76 8z",fill:"#2b2b2b"}),u.default.createElement("path",{d:"M13.65 28c.4-6.28 7-10.64 13-9.33-5.31 2.14-10.01 4.14-13 9.33zM58.35 28c-.4-6.28-7-10.64-13-9.33 5.31 2.14 10.01 4.14 13 9.33z",fill:"#9f8214"}))},y=function(){return u.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},u.default.createElement("circle",{cx:"36",cy:"36",r:"30",transform:"rotate(-5.1 35.96834013 36.0247667)",fill:"#ffd201"}),u.default.createElement("path",{d:"M15 40.42c1.16-2.66 8.18-5.59 8.18-5.59s2.59 7.17 1.42 9.79a5.26 5.26 0 0 1-9.6-4.2z",fill:"#269dc8"}),u.default.createElement("path",{d:"M25.81 53.82a1 1 0 0 1-.81-1.55A14.14 14.14 0 0 1 36.35 46a14.1 14.1 0 0 1 11.16 6A1 1 0 1 1 46 53.2a12 12 0 0 0-9.65-5.2 12.22 12.22 0 0 0-9.76 5.44 1 1 0 0 1-.78.38zM26.26 36A6.91 6.91 0 0 1 20 32.2a1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 26.26 36zM45.36 36a6.91 6.91 0 0 1-6.21-3.84 1.17 1.17 0 1 1 2.1-1 4.6 4.6 0 0 0 8.23 0 1.17 1.17 0 1 1 2.09 1.05A6.91 6.91 0 0 1 45.36 36z",fill:"#2b2b2b"}))};t.default=(o={},(0,a.default)(o,c.LOVE,l),(0,a.default)(o,c.LOL,f),(0,a.default)(o,c.APPLAUSE,d),(0,a.default)(o,c.GOTIT,p),(0,a.default)(o,c.OMD,h),(0,a.default)(o,c.SAD,y),o),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var r="cbeebies"===t?_:g,n=r.reduce(function(e,t){return(0,s.default)({},e,(0,c.default)({},T[t],t))},{});return n[e]}Object.defineProperty(t,"__esModule",{value:!0}),t.KEY_TO_UAS_CONTEXT=t.LABEL_TO_KEY=t.CBBC_LABELS=t.CBEEBIES_LABELS=t.SPACE_KEY=t.ENTER_KEY=t.SPRITE_REVERSE_EFFECT_DELAY=t.SPRITE_EFFECT_DELAY=t.SPRITE_SLIDE_NUMBER_DEFAULT=t.SPRITE_SLIDE_DECREMENT_INTERVAL=t.SPRITE_SLIDE_INCREMENT_INTERVAL=t.SPRITE_TOTAL_SLIDES=t.NO_REACTION=t.CLAP=t.WOW=t.FUNNY=t.SAD=t.OMD=t.GOTIT=t.APPLAUSE=t.LOL=t.LOVE=void 0;var i,a=r(2),s=n(a),u=r(112),c=n(u);t.keyToLabel=o;var l=t.LOVE="Love",f=t.LOL="LOL",d=t.APPLAUSE="Applause",p=t.GOTIT="Got It!",h=t.OMD="OMD",y=t.SAD="Sad",v=t.FUNNY="Funny",m=t.WOW="Wow",b=t.CLAP="Clap",E=(t.NO_REACTION="No Content",t.SPRITE_TOTAL_SLIDES=10,t.SPRITE_SLIDE_INCREMENT_INTERVAL=100),_=(t.SPRITE_SLIDE_DECREMENT_INTERVAL=E/2,t.SPRITE_SLIDE_NUMBER_DEFAULT=0,t.SPRITE_EFFECT_DELAY=300,t.SPRITE_REVERSE_EFFECT_DELAY=1e3,t.ENTER_KEY=13,t.SPACE_KEY=32,t.CBEEBIES_LABELS=[l,v,b,p,m,y]),g=t.CBBC_LABELS=[l,f,d,p,h,y],T=t.LABEL_TO_KEY=(i={},(0,c.default)(i,d,"applause"),(0,c.default)(i,b,"applause"),(0,c.default)(i,v,"lol"),(0,c.default)(i,p,"inspired"),(0,c.default)(i,l,"loved"),(0,c.default)(i,f,"lol"),(0,c.default)(i,h,"omd"),(0,c.default)(i,y,"sad"),(0,c.default)(i,m,"omd"),i);t.KEY_TO_UAS_CONTEXT={applause:"emotion-inspired",lol:"emotion-funny",inspired:"emotion-inspired",loved:"emotion-positive",omd:"emotion-shocked",sad:"emotion-sad"}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=r(112),s=o(a),u=r(95),c=o(u),l=r(114),f=r(113),d=n(f),p=function(){return c.default.createElement("svg",{ "data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("path",{d:"M33.34 6.12A30 30 0 1 1 6.12 38.66 30 30 0 0 1 33.34 6.12",fill:"#ffd201"}),c.default.createElement("path",{d:"M55.14 37.21a19.14 19.14 0 1 1-38.29-.16",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M25.56 53.17a11.22 11.22 0 0 1 20.75.07",fill:"#a75916"}),c.default.createElement("path",{d:"M35.95 46.29a11.24 11.24 0 0 0-10.41 6.91 19.23 19.23 0 0 0 10.36 3.11 18.78 18.78 0 0 0 10.39-3 11.1 11.1 0 0 0-10.34-7",fill:"#e63f23"}),c.default.createElement("path",{d:"M21.36 20.41l10.76 3.91a1.27 1.27 0 0 1 0 2.4l-10.75 3.81a1 1 0 0 1-.69-1.78l7.7-3.25-7.69-3.39a.92.92 0 0 1 .68-1.7M51.32 22.11l-7.7 3.38 7.71 3.25a1 1 0 0 1-.69 1.78l-10.74-3.8a1.27 1.27 0 0 1 0-2.4l10.76-3.91a.92.92 0 0 1 .68 1.7",fill:"#2b2b2b"}))},h=function(){return c.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},c.default.createElement("circle",{cx:"35.91",cy:"35.72",r:"30",fill:"#ffd201"}),c.default.createElement("ellipse",{cx:"25.73",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("ellipse",{cx:"46.27",cy:"29.22",rx:"3.85",ry:"4.98",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M13.57 26.32v-.1c0-.37.06-.73.11-1.1s.17-.72.27-1.08.26-.71.41-1a10.55 10.55 0 0 1 .54-1 9.46 9.46 0 0 1 .65-.93 9.27 9.27 0 0 1 .75-.86 9.86 9.86 0 0 1 .84-.77A11.39 11.39 0 0 1 19 18.14a9.62 9.62 0 0 1 1-.49 9 9 0 0 1 1.06-.38 11.43 11.43 0 0 1 2.19-.45c.37 0 .74-.07 1.11-.07s.74 0 1.11.05.73.1 1.09.18c-.35.14-.69.25-1 .35l-1 .35c-.33.1-.66.24-1 .36s-.64.26-1 .39-.62.28-.93.42-.6.3-.9.45-.58.32-.87.49a9.58 9.58 0 0 0-.84.53 9.62 9.62 0 0 0-.81.57c-.28.18-.51.41-.77.62s-.48.45-.74.66-.46.48-.7.71-.44.51-.67.76-.42.54-.63.81-.39.57-.6.86-.37.6-.59.91zM58.27 26.32v-.1c-.21-.31-.4-.61-.59-.91s-.4-.58-.6-.86-.41-.55-.63-.81-.43-.52-.67-.76-.45-.49-.7-.71-.47-.47-.74-.66-.5-.43-.77-.62a9.61 9.61 0 0 0-.81-.57 9.58 9.58 0 0 0-.84-.53c-.28-.17-.57-.34-.87-.49s-.59-.32-.9-.45-.61-.3-.93-.42-.63-.28-1-.39-.64-.26-1-.36l-1-.35c-.34-.11-.69-.22-1-.35.36-.08.72-.13 1.09-.18s.73 0 1.11-.05.74 0 1.11.07a11.43 11.43 0 0 1 2.19.45 9 9 0 0 1 1.06.38 9.62 9.62 0 0 1 1 .49 11.39 11.39 0 0 1 1.89 1.27 9.86 9.86 0 0 1 .84.77 9.28 9.28 0 0 1 .75.86A9.45 9.45 0 0 1 57 22a10.54 10.54 0 0 1 .54 1c.16.34.28.7.41 1s.19.73.27 1.08.09.74.11 1.1z",fill:"#9f8214"}),c.default.createElement("path",{d:"M35.55 56.89a14.47 14.47 0 0 1-14.42-14.53 29 29 0 0 1 14.54-4.26h.66a29 29 0 0 1 14.54 4.26 14.47 14.47 0 0 1-14.42 14.53z",fill:"#2b2b2b"}),c.default.createElement("path",{d:"M28.43 55a14.31 14.31 0 0 0 7.11 2h.91a14.31 14.31 0 0 0 7.11-2A9 9 0 0 0 36 51.41 9 9 0 0 0 28.43 55z",fill:"#e63f23"}))};t.default=(i={},(0,s.default)(i,l.LOVE,d[l.LOVE]),(0,s.default)(i,l.FUNNY,p),(0,s.default)(i,l.CLAP,d[l.APPLAUSE]),(0,s.default)(i,l.GOTIT,d[l.GOTIT]),(0,s.default)(i,l.WOW,h),(0,s.default)(i,l.SAD,d[l.SAD]),i),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(117),i=n(o),a=function(){},s=function(e){return"childrens-reactions-"+e},u=function(e){return"reactions-"+s(e)};t.default={localStorageHelper:i.default,readOnlyLocalStorageHelper:{getItem:i.default.getItem,setItem:a,removeItem:a},getUniqueId:s,getLocalStorageKey:u},e.exports=t.default},function(e,t){e.exports=Morph.modules["bbc-morph-local-storage-helper@1.0.1"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(114),s=r(113),u=n(s),c=function(){var e=u.default[a.SAD];return i.default.createElement("div",{className:"reactions-cookie-warning"},i.default.createElement("div",{className:"reactions-cookie-warning__inner"},i.default.createElement("div",{className:"reactions-cookie-warning__icon"},i.default.createElement(e,null)),i.default.createElement("div",{className:"reactions-cookie-warning__text"},i.default.createElement("span",null,"To make your reaction count, you’ll need to ask your parent/guardian to enable cookies. See our "),i.default.createElement("a",{className:"reactions-cookie-warning__link",href:"/usingthebbc/cookies/"},"cookies policy"),i.default.createElement("span",null," for more information"))))};c.displayName="CookieWarning",c.propTypes={},t.default=c,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(81),p=n(d),h=r(82),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(101),g=n(_),T=r(109),S=n(T),P=r(103),w=n(P),R=r(118),x=n(R),O=r(146),A=n(O),M=r(114),C=r(147),L=n(C),I=r(148),k=r(116),N=r(153),j=n(N),B=function(){return E.default.createElement("noscript",null)};B.displayName="NoopComponent";var U=function(e){function t(e){(0,f.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.state={showReactions:!1,hasCtaBeenClicked:!1,SpriteTagName:B,startSpriteAnimation:!1,endSpriteAnimation:!1,selectedReaction:null,prevSelectedReaction:null,currentCounts:e.reactionsCounts,hasReactionButtonPressStarted:!1,errorMessage:!1,endSlideNumber:M.SPRITE_SLIDE_NUMBER_DEFAULT,windowDimensions:{width:0,height:0}},r.renderElement=null,r.moduleElement=null,r.ctaClickHandler=r.ctaClickHandler.bind(r),r.reactionButtonPressStartHandler=r.reactionButtonPressStartHandler.bind(r),r.reactionButtonPressEndHandler=r.reactionButtonPressEndHandler.bind(r),r.updateSelectedReaction=r.updateSelectedReaction.bind(r),r.updateWindowDimensions=r.updateWindowDimensions.bind(r),r.handleChange=r.handleChange.bind(r),r}return(0,m.default)(t,e),(0,y.default)(t,null,[{key:"calculateReactionCounts",value:function(e,r,n){return n.map(function(n){return t.calculateCountForReaction(n.label,n.count,r,e)})}},{key:"calculateCountForReaction",value:function(e,t,r,n){var o=Math.max(t+(r===e?1:0)+(n===e?-1:0),0);return{label:e,count:o}}},{key:"calculateCountsTotal",value:function(e,t,r){return Math.max(r+(e&&!t?1:0)+(!e&&t?-1:0),0)}}]),(0,y.default)(t,[{key:"componentDidMount",value:function(){this.moduleElement=this.renderElement,this.updateWindowDimensions(),window.addEventListener("resize",this.updateWindowDimensions),this.props.spriteService.fetchSprites()}},{key:"componentWillReceiveProps",value:function(e){if(e.uasSelectedReaction){var t=e.uasSelectedReaction===M.NO_REACTION?null:e.uasSelectedReaction;this.setState({selectedReaction:t,initialSelectedReaction:t})}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateWindowDimensions)}},{key:"getAnimationPosition",value:function(){var e={x:0,y:0},t=this.state.selectedReaction?this.state.selectedReaction:this.state.prevSelectedReaction,r=M.LABEL_TO_KEY[t];if(r&&this.moduleElement){var n=this.moduleElement.querySelector(".reaction-icon-"+r);if(n){var o=n.getBoundingClientRect(),i=this.moduleElement.getBoundingClientRect();e.x=o.left+Math.floor(o.width/2),e.y=i.top}}return e}},{key:"handleError",value:function(e,r){var n=(0,I.getStandardisedErrorType)(e);this.props.istatsService.logError(n);var o=t.calculateReactionCounts(this.state.initialSelectedReaction,r,this.props.reactionsCounts);this.setState({errorMessage:n,selectedReaction:r,currentCounts:o})}},{key:"handleChange",value:function(e){this.setState({endSlideNumber:e})}},{key:"updateWindowDimensions",value:function(){this.setState({width:window.innerWidth,height:window.innerHeight})}},{key:"isWindowLandscape",value:function(){return this.state.width>this.state.height}},{key:"ctaClickHandler",value:function(){var e=this;this.setState(function(t){var r={showReactions:!t.showReactions,hasCtaBeenClicked:!0},n=t.showReactions?j.default.CtaClose:j.default.CtaOpen;return e.props.istatsService.logCtaEvent(n),r})}},{key:"reactionButtonPressStartHandler",value:function(e){var r=this.isWindowLandscape();this.setState(function(n,o){var i={};if(!n.hasReactionButtonPressStarted&&!n.shouldThrottleEventHandling){var a=t.calculateReactionCounts(n.initialSelectedReaction,e,o.reactionsCounts),s=n.selectedReaction,u=s!==e;i={currentCounts:a,prevSelectedReaction:s,hasReactionButtonPressStarted:!0,startSpriteAnimation:u,endSpriteAnimation:!1,SpriteTagName:o.spriteService.getSprite(e,r),selectedReaction:e,errorMessage:!1}}return i})}},{key:"reactionButtonPressEndHandler",value:function(e){var r=this,n=!this.state.shouldThrottleEventHandling,o=!1;e===this.state.selectedReaction&&this.setState(function(e,n){var i={};if(e.hasReactionButtonPressStarted){var a=e.errorMessage||e.selectedReaction!==e.prevSelectedReaction,s=a?e.selectedReaction:null,u=t.calculateReactionCounts(e.initialSelectedReaction,s,n.reactionsCounts);i={startSpriteAnimation:!1,endSpriteAnimation:!0,selectedReaction:s,currentCounts:u,hasReactionButtonPressStarted:!1,shouldThrottleEventHandling:!0},setTimeout(function(){return r.setState({shouldThrottleEventHandling:!1})},500),o=!0}return i},function(){if(o&&n){var e=r.state.selectedReaction,t=r.state.prevSelectedReaction;r.recordOrDeleteReaction(e,t)}})}},{key:"recordOrDeleteReaction",value:function(e,t){e?this.recordReaction(e,t):this.deleteReaction(t)}},{key:"recordReaction",value:function(){function e(e,r){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t,r){var n,o,a,s,u,c,l,f,d,p,h=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props.countingServiceClientLibrary.postToUAS,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=3,e.next=6,this.props.uasConfigService.configureUAS({clickedReaction:o,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error,endSlideNumber:this.state.endSlideNumber});case 6:s=e.sent,u=s.UASdata,c=s.apiKey,l=s.env,f=s.domain,d=s.isSignedIn,p=r?M.LABEL_TO_KEY[r]:null,n("reactions",u,c,l,f,d,p).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.setItem(a,o),h.props.istatsService.logSelection(o,h.state.endSlideNumber,p,h.props.pageContext)}).catch(function(e){h.handleError(e,h.state.prevSelectedReaction)}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),this.handleError(e.t0,this.state.prevSelectedReaction);case 19:case"end":return e.stop()}},e,this,[[3,16]])}));return e}()},{key:"deleteReaction",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u,c,l,f,d=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props.countingServiceClientLibrary.deleteFromUAS,n=this.props.globalId,o=M.LABEL_TO_KEY[t],a=(0,k.getLocalStorageKey)(this.props.urn),e.prev=4,e.next=7,this.props.uasConfigService.configureUAS({clickedReaction:M.LABEL_TO_KEY[t],urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,product:this.props.product,env:this.props.env,signedInState:this.props.isSignedIn,isIdAvailable:this.props.isIdAvailable,idctaService:this.props.idctaService,error:this.props.error});case 7:s=e.sent,u=s.apiKey,c=s.env,l=s.domain,f=s.isSignedIn,r("reactions",u,c,l,n,f,o).then(function(e){if(!e.ok)throw new Error(I.ErrorTypes.UAS_FAILURE);k.localStorageHelper.removeItem(a),d.props.istatsService.logDeselection(o,d.props.pageContext)}).catch(function(e){d.handleError(e,d.state.prevSelectedReaction)}),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(4),this.handleError(e.t0,this.state.prevSelectedReaction);case 18:case"end":return e.stop()}},e,this,[[4,15]])}));return e}()},{key:"updateSelectedReaction",value:function(e){this.props.uasSelectedReaction||this.state.errorMessage||this.props.error||this.setState({selectedReaction:e,initialSelectedReaction:e})}},{key:"render",value:function(){var e=this,r=(0,g.default)("reactions-module",{"landscape-animation":this.isWindowLandscape()}),n=t.calculateCountsTotal(this.state.selectedReaction,this.state.initialSelectedReaction,this.props.reactionsCountTotal);return E.default.createElement("div",{ref:function(t){e.renderElement=t},className:r},E.default.createElement(A.default,{showAnimation:this.state.startSpriteAnimation,endAnimation:this.state.endSpriteAnimation,onSlideNumberChange:this.handleChange,animationPosition:this.getAnimationPosition()},E.default.createElement(this.state.SpriteTagName,null)),E.default.createElement(S.default,{showReactions:this.state.showReactions,product:this.props.product,reactionButtonPressStart:this.reactionButtonPressStartHandler,reactionButtonPressEnd:this.reactionButtonPressEndHandler,reactionsCounts:this.state.currentCounts,selectedReaction:this.state.selectedReaction,urn:this.props.urn,updateSelectedReaction:this.updateSelectedReaction,isAnimationPlaying:this.state.startSpriteAnimation,isOpen:this.state.showReactions}),this.props.showCookieBanner&&this.state.showReactions&&E.default.createElement(x.default,null),this.state.errorMessage&&this.state.showReactions&&E.default.createElement(L.default,{errorType:this.state.errorMessage}),E.default.createElement(w.default,{onClick:this.ctaClickHandler,isOpen:this.state.showReactions,count:n,product:this.props.product,hasBeenClicked:this.state.hasCtaBeenClicked}))}}]),t}(b.Component);U.displayName="ReactionsModule",U.propTypes={product:b.PropTypes.string.isRequired,showCookieBanner:b.PropTypes.bool.isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]),globalId:b.PropTypes.string.isRequired,env:b.PropTypes.string.isRequired,isSignedIn:b.PropTypes.bool.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,uasSelectedReaction:b.PropTypes.string,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,idctaService:b.PropTypes.shape({refreshToken:b.PropTypes.func,isCurrentUserSignedIn:b.PropTypes.func}).isRequired,uasConfigService:b.PropTypes.shape({configureUAS:b.PropTypes.func,getMyReaction:b.PropTypes.func}).isRequired,istatsService:b.PropTypes.shape({logSelection:b.PropTypes.func,logDeselection:b.PropTypes.func,logCtaEvent:b.PropTypes.func,logError:b.PropTypes.func}).isRequired,spriteService:b.PropTypes.shape({fetchSprites:b.PropTypes.func,getSprite:b.PropTypes.func}).isRequired,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},U.defaultProps={showCookieBanner:!1,error:!1,reactionsData:{},urn:!1,isSignedIn:!1,isIdAvailable:!1,uasSelectedReaction:null,resourceTitle:"resourceTitle",url:"url",pageContext:!1},t.default=U,e.exports=t.default},function(e,t,r){e.exports=r(121)},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(122),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function r(e,t,r,n){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(n||[]);return a._invoke=c(e,r,s),a}function n(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(r,o,i,a){var s=n(e[r],e,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&b.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(c).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function r(e,r){function n(){return new Promise(function(n,o){t(e,r,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=r}function c(e,t,r){var o=w;return function(i,a){if(o===x)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw a;return y()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=l(s,r);if(u){if(u===A)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===w)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=x;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?O:R,c.arg===A)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=O,r.method="throw",r.arg=c.arg)}}}function l(e,t){var r=e.iterator[t.method];if(r===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,l(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,A;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=v),t.delegate=null,A):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[_];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(b.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=v,t.done=!0,t};return n.next=n}}return{next:y}}function y(){return{value:v,done:!0}}var v,m=Object.prototype,b=m.hasOwnProperty,E="function"==typeof Symbol?Symbol:{},_=E.iterator||"@@iterator",g=E.asyncIterator||"@@asyncIterator",T=E.toStringTag||"@@toStringTag",S="object"==typeof e,P=t.regeneratorRuntime;if(P)return void(S&&(e.exports=P));P=t.regeneratorRuntime=S?e.exports:{},P.wrap=r;var w="suspendedStart",R="suspendedYield",x="executing",O="completed",A={},M={};M[_]=function(){return this};var C=Object.getPrototypeOf,L=C&&C(C(h([])));L&&L!==m&&b.call(L,_)&&(M=L);var I=a.prototype=o.prototype=Object.create(M);i.prototype=I.constructor=a,a.constructor=i,a[T]=i.displayName="GeneratorFunction",P.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},P.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,T in e||(e[T]="GeneratorFunction")),e.prototype=Object.create(I),e},P.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[g]=function(){return this},P.AsyncIterator=u,P.async=function(e,t,n,o){var i=new u(r(e,t,n,o));return P.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(I),I[T]="Generator",I[_]=function(){return this},I.toString=function(){return"[object Generator]"},P.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},P.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&b.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,n){return i.type="throw",i.arg=e,r.next=t,n&&(r.method="next",r.arg=v),!!n}if(this.done)throw e;for(var r=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=b.call(o,"catchLoc"),s=b.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&b.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,A):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),A},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),d(r),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;d(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:h(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=v),A}}}(function(){return this}()||Function("return this")())},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(124),i=n(o);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,r){function n(o,a){try{var s=t[o](a),u=s.value}catch(e){return void r(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){n("next",e)},function(e){n("throw",e)})}return n("next")})}}},function(e,t,r){e.exports={default:r(125),__esModule:!0}},function(e,t,r){r(77),r(51),r(62),r(126),r(144),r(145),e.exports=r(8).Promise},function(e,t,r){"use strict";var n,o,i,a,s=r(35),u=r(7),c=r(9),l=r(127),f=r(6),d=r(14),p=r(10),h=r(128),y=r(129),v=r(133),m=r(134).set,b=r(136)(),E=r(137),_=r(138),g=r(139),T=r(140),S="Promise",P=u.TypeError,w=u.process,R=w&&w.versions,x=R&&R.v8||"",O=u[S],A="process"==l(w),M=function(){},C=o=E.f,L=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[r(61)("species")]=function(e){e(M,M)};return(A||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==x.indexOf("6.6")&&g.indexOf("Chrome/66")===-1}catch(e){}}(),I=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},k=function(e,t){if(!e._n){e._n=!0;var r=e._c;b(function(){for(var n=e._v,o=1==e._s,i=0,a=function(t){var r,i,a,s=o?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{s?(o||(2==e._h&&B(e),e._h=1),s===!0?r=n:(l&&l.enter(),r=s(n),l&&(l.exit(),a=!0)),r===t.promise?c(P("Promise-chain cycle")):(i=I(r))?i.call(r,u,c):u(r)):c(n)}catch(e){l&&!a&&l.exit(),c(e)}};r.length>i;)a(r[i++]);e._c=[],e._n=!1,t&&!e._h&&N(e)})}},N=function(e){m.call(u,function(){var t,r,n,o=e._v,i=j(e);if(i&&(t=_(function(){A?w.emit("unhandledRejection",o,e):(r=u.onunhandledrejection)?r({promise:e,reason:o}):(n=u.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=A||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},B=function(e){m.call(u,function(){var t;A?w.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},U=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),k(t,!0))},D=function(e){var t,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===e)throw P("Promise can't be resolved itself");(t=I(e))?b(function(){var n={_w:r,_d:!1};try{t.call(e,c(D,n,1),c(U,n,1))}catch(e){U.call(n,e)}}):(r._v=e,r._s=1,k(r,!1))}catch(e){U.call({_w:r,_d:!1},e)}}};L||(O=function(e){h(this,O,S,"_h"),p(e),n.call(this);try{e(c(D,this,1),c(U,this,1))}catch(e){U.call(this,e)}},n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=r(141)(O.prototype,{then:function(e,t){var r=C(v(this,O));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=A?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&k(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n;this.promise=e,this.resolve=c(D,e,1),this.reject=c(U,e,1)},E.f=C=function(e){return e===O||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!L,{Promise:O}),r(60)(O,S),r(142)(S),a=r(8)[S],f(f.S+f.F*!L,S,{reject:function(e){var t=C(this),r=t.reject;return r(e),t.promise}}),f(f.S+f.F*(s||!L),S,{resolve:function(e){return T(s&&this===a?O:this,e)}}),f(f.S+f.F*!(L&&r(143)(function(e){O.all(e).catch(M)})),S,{all:function(e){var t=this,r=C(t),n=r.resolve,o=r.reject,i=_(function(){var r=[],i=0,a=1;y(e,!1,function(e){var s=i++,u=!1;r.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,r[s]=e,--a||n(r))},o)}),--a||n(r)});return i.e&&o(i.v),r.promise},race:function(e){var t=this,r=C(t),n=r.reject,o=_(function(){y(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t,r){var n=r(27),o=r(61)("toStringTag"),i="Arguments"==n(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=a(t=Object(e),o))?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(9),o=r(130),i=r(131),a=r(13),s=r(30),u=r(132),c={},l={},t=e.exports=function(e,t,r,f,d){var p,h,y,v,m=d?function(){return e}:u(e),b=n(r,f,t?2:1),E=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(p=s(e.length);p>E;E++)if(v=t?b(a(h=e[E])[0],h[1]):b(e[E]),v===c||v===l)return v}else for(y=m.call(e);!(h=y.next()).done;)if(v=o(y,b,h.value,t),v===c||v===l)return v};t.BREAK=c,t.RETURN=l},function(e,t,r){var n=r(13);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var i=e.return;throw void 0!==i&&n(i.call(e)),t}}},function(e,t,r){var n=r(55),o=r(61)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||i[o]===e)}},function(e,t,r){var n=r(127),o=r(61)("iterator"),i=r(55);e.exports=r(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(13),o=r(10),i=r(61)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||void 0==(r=n(a)[i])?t:o(r)}},function(e,t,r){var n,o,i,a=r(9),s=r(135),u=r(59),c=r(18),l=r(7),f=l.process,d=l.setImmediate,p=l.clearImmediate,h=l.MessageChannel,y=l.Dispatch,v=0,m={},b="onreadystatechange",E=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},_=function(e){E.call(e.data)};d&&p||(d=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return m[++v]=function(){s("function"==typeof e?e:Function(e),t)},n(v),v},p=function(e){delete m[e]},"process"==r(27)(f)?n=function(e){f.nextTick(a(E,e,1))}:y&&y.now?n=function(e){y.now(a(E,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,n=a(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):n=b in c("script")?function(e){u.appendChild(c("script"))[b]=function(){u.removeChild(this),E.call(e)}}:function(e){setTimeout(a(E,e,1),0)}),e.exports={set:d,clear:p}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(7),o=r(134).set,i=n.MutationObserver||n.WebKitMutationObserver,a=n.process,s=n.Promise,u="process"==r(27)(a);e.exports=function(){var e,t,r,c=function(){var n,o;for(u&&(n=a.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(u)r=function(){a.nextTick(c)};else if(!i||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);r=function(){l.then(c)}}else r=function(){o.call(n,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),r=function(){d.data=f=!f}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){"use strict";function n(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=o(t),this.reject=o(r)}var o=r(10);e.exports.f=function(e){return new n(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(7),o=n.navigator;e.exports=o&&o.userAgent||""},function(e,t,r){var n=r(13),o=r(14),i=r(137);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e),a=r.resolve;return a(t),r.promise}},function(e,t,r){var n=r(11);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t,r){"use strict";var n=r(7),o=r(8),i=r(12),a=r(16),s=r(61)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(61)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i=[7],a=i[n]();a.next=function(){return{done:r=!0}},i[n]=function(){return a},e(i)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(6),o=r(8),i=r(7),a=r(133),s=r(140);n(n.P+n.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(6),o=r(137),i=r(138);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=i(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(43),i=n(o),a=r(80),s=n(a),u=r(82),c=n(u),l=r(81),f=n(l),d=r(86),p=n(d),h=r(95),y=n(h),v=r(114),m=function(e){function t(e){(0,s.default)(this,t);var r=(0,f.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return r.props=e,r.handleChange=r.handleChange.bind(r),r.state={slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT},r}return(0,p.default)(t,e),(0,c.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=this;clearInterval(this.startAnimationInterval),clearTimeout(this.startAnimationTimeout);var r=this.props.showAnimation===!1&&e.showAnimation===!0,n=this.props.endAnimation===!1&&e.endAnimation===!0,o=this.props.children.type.displayName!==e.children.type.displayName;o&&this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),r?(this.setState({slideNumber:v.SPRITE_SLIDE_NUMBER_DEFAULT}),clearInterval(this.stopAnimationinterval),clearTimeout(this.stopAnimationTimeout),this.startAnimationTimeout=setTimeout(function(){t.startAnimationInterval=setInterval(t.incrementSlides.bind(t),v.SPRITE_SLIDE_INCREMENT_INTERVAL)},v.SPRITE_EFFECT_DELAY)):n&&(this.stopAnimationTimeout=setTimeout(function(){t.stopAnimationinterval=setInterval(t.decrementSlides.bind(t),v.SPRITE_SLIDE_DECREMENT_INTERVAL)},v.SPRITE_REVERSE_EFFECT_DELAY), this.handleChange(this.state.slideNumber))}},{key:"handleChange",value:function(e){this.props.onSlideNumberChange(e)}},{key:"decrementSlides",value:function(){this.state.slideNumber-1>=0?this.setState({slideNumber:this.state.slideNumber-1}):clearInterval(this.stopAnimationinterval)}},{key:"incrementSlides",value:function(){var e=Math.min(this.state.slideNumber+1,v.SPRITE_TOTAL_SLIDES);this.setState({slideNumber:e>v.SPRITE_TOTAL_SLIDES?v.SPRITE_TOTAL_SLIDES:e})}},{key:"render",value:function(){var e=this.props.animationPosition.x,t=this.props.animationPosition.y,r="reactions-sprite-animation-wrapper",n="reactions-sprite-animation reactions-sprite-animation__slide--"+this.state.slideNumber;return y.default.createElement("div",{className:r},y.default.createElement("div",{className:n,style:{left:e,top:t}},this.props.children))}}]),t}(h.Component);m.propTypes={showAnimation:h.PropTypes.bool.isRequired,children:h.PropTypes.element.isRequired,endAnimation:h.PropTypes.bool,onSlideNumberChange:h.PropTypes.func.isRequired,animationPosition:h.PropTypes.shape({x:h.PropTypes.number,y:h.PropTypes.number}).isRequired},m.defaultProps={endAnimation:!1},t.default=m,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(95),i=n(o),a=r(148),s=function(e){return i.default.createElement("div",{className:"reactions-error-message"},i.default.createElement("div",{className:"reactions-error-message__inner"},i.default.createElement("div",{role:"alert",className:"reactions-error-message__text"},(0,a.getMessageForError)(e.errorType))))};s.displayName="ErrorMessage",s.defaultProps={errorType:"ERR_MSG_OTHER"},s.propTypes={errorType:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.bool]).isRequired},t.default=s,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageForError=t.getStandardisedErrorType=t.ErrorTypes=void 0;var o=r(149),i=n(o),a=t.ErrorTypes={UAS_FAILURE:"uasFailure",TOKEN_REFRESH_FAILURE:"tokenRefreshFailure",OTHER_ERROR:"otherError"};t.getStandardisedErrorType=function(e){var t=(0,i.default)(a).indexOf(e.message)>-1;return t?e.message:a.OTHER_ERROR},t.getMessageForError=function(e){switch(e){case a.UAS_FAILURE:return"Sorry, there was a problem recording your reaction. Please try again.";case a.TOKEN_REFRESH_FAILURE:return"Sorry, there was a problem. Please refresh the page and try again.";case a.OTHER_ERROR:default:return"Sorry, there was a problem. Please try again."}}},function(e,t,r){e.exports={default:r(150),__esModule:!0}},function(e,t,r){r(151),e.exports=r(8).Object.values},function(e,t,r){var n=r(6),o=r(152)(!1);n(n.S,"Object",{values:function(e){return o(e)}})},function(e,t,r){var n=r(16),o=r(23),i=r(25),a=r(39).f;e.exports=function(e){return function(t){for(var r,s=i(t),u=o(s),c=u.length,l=0,f=[];c>l;)r=u[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={CtaOpen:"cta_open",CtaClose:"cta_close"};t.default=r,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(43),c=n(u),l=r(80),f=n(l),d=r(81),p=n(d),h=r(82),y=n(h),v=r(86),m=n(v),b=r(95),E=n(b),_=r(155),g=n(_),T=r(119),S=n(T),P=r(156),w=n(P),R=r(157),x=n(R),O=r(158),A=n(O),M=r(159),C=n(M),L=r(161),I=n(L),k=r(162),N=n(k),j=r(163),B=n(j),U=r(164),D=n(U),F=r(148),q=r(114),z=function(e){function t(e){(0,f.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,c.default)(t)).call(this,e));return r.props=e,r.state={isSignedIn:!1,error:!1,uasSelectedReaction:null},r}return(0,m.default)(t,e),(0,y.default)(t,null,[{key:"getCountingServiceClient",value:function(e,t,r){return t?g.default.getClient(r):e}},{key:"getIdctaService",value:function(e,t,r,n){return!t&&r?n?x.default:A.default:e}},{key:"getUasConfigService",value:function(e,t,r){return t?(0,I.default)(r):e}},{key:"getIstatsService",value:function(e,t){return t?B.default:e}}]),(0,y.default)(t,[{key:"componentDidMount",value:function(){function e(){return r.apply(this,arguments)}var r=(0,s.default)(i.default.mark(function e(){var r,n,o,a,s,u,c,l,f,d,p=this;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,this.props.enableStandaloneMode,this.props.error),e.next=3,r.isCurrentUserSignedIn(this.props.error).catch(function(){p.setState({error:new Error(F.ErrorTypes.TOKEN_REFRESH_FAILURE)})});case 3:if(n=e.sent,o="undefined"!=typeof n&&n,this.setState({isSignedIn:o}),!o){e.next=21;break}return a=this.props,s=a.resourceType,u=a.urn,c=a.env,l=a.product,e.next=10,w.default.refreshToken();case 10:return e.prev=10,e.next=13,C.default.getMyReaction(c,l,s,u,this.props.enableAcceptanceTestMode);case 13:f=e.sent,d=f===q.NO_REACTION?q.NO_REACTION:(0,q.keyToLabel)(f,l),this.setState({isSignedIn:o,error:!1,uasSelectedReaction:d}),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),this.setState({isSignedIn:o,error:new Error(F.ErrorTypes.UAS_FAILURE)});case 21:case"end":return e.stop()}},e,this,[[10,18]])}));return e}()},{key:"render",value:function(){var e=this.props.enableStandaloneMode,r=this.props.error||this.state.error,n=t.getCountingServiceClient(this.props.countingServiceClientLibrary,e,r),o=E.default.createElement(S.default,{countingServiceClientLibrary:n,env:this.props.env,urn:this.props.urn,resourceTitle:this.props.resourceTitle,resourceType:this.props.resourceType,url:this.props.url,globalId:this.props.globalId,idctaService:t.getIdctaService(w.default,this.props.enableAcceptanceTestMode,e,r),isIdAvailable:this.props.isIdAvailable,isSignedIn:this.state.isSignedIn,product:this.props.product,reactionsCounts:this.props.reactionsCounts,reactionsCountTotal:this.props.reactionsCountTotal,error:r,uasSelectedReaction:this.state.uasSelectedReaction,uasConfigService:t.getUasConfigService(C.default,e,r),istatsService:t.getIstatsService(N.default,e),spriteService:D.default,pageContext:this.props.pageContext});return E.default.createElement("div",null,this.props.enableStandaloneMode?E.default.createElement("div",{className:"reactions__standalone"},E.default.createElement("div",{className:"content-item-description"},E.default.createElement("div",{className:"reactions-container"},o))):E.default.createElement("div",null,o))}}]),t}(b.Component);z.propTypes={enableStandaloneMode:b.PropTypes.bool.isRequired,countingServiceClientLibrary:b.PropTypes.shape({postToUAS:b.PropTypes.func.isRequired,deleteFromUAS:b.PropTypes.func.isRequired}).isRequired,error:b.PropTypes.oneOfType([b.PropTypes.shape({Error:b.PropTypes.string}),b.PropTypes.bool]),env:b.PropTypes.string.isRequired,urn:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool]).isRequired,resourceTitle:b.PropTypes.string.isRequired,resourceType:b.PropTypes.string.isRequired,url:b.PropTypes.string.isRequired,globalId:b.PropTypes.string.isRequired,isIdAvailable:b.PropTypes.bool.isRequired,product:b.PropTypes.string.isRequired,reactionsCounts:b.PropTypes.arrayOf(b.PropTypes.object).isRequired,reactionsCountTotal:b.PropTypes.number.isRequired,enableAcceptanceTestMode:b.PropTypes.bool,pageContext:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.bool])},z.defaultProps={error:!1,enableAcceptanceTestMode:!1,pageContext:!1},t.default=z,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return u.default.resolve({ok:!0})}function i(e){return function(){throw e}}function a(e){return e.message===c.ErrorTypes.UAS_FAILURE?i(e):o}Object.defineProperty(t,"__esModule",{value:!0});var s=r(124),u=n(s),c=r(148);t.default={getClient:function(e){return{postToUAS:a(e),deleteFromUAS:a(e)}}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u),l=function(){return new c.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})};t.default={refreshToken:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.initiateTokenRefresh());case 4:case"end":return e.stop()}},t,e)}))()},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:return r=e.sent,e.abrupt("return",r.hasCookie());case 4:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(124),s=n(a),u=r(123),c=n(u),l=r(148),f=r(158),d=n(f);t.default={refreshToken:function(e){if(e.message===l.ErrorTypes.TOKEN_REFRESH_FAILURE)throw e;return d.default.refreshToken()},isCurrentUserSignedIn:function(e){var t=this;return(0,c.default)(i.default.mark(function r(){return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e.message!==l.ErrorTypes.TOKEN_REFRESH_FAILURE){t.next=2;break}return t.abrupt("return",s.default.reject(e));case 2:return t.abrupt("return",s.default.resolve(!0));case 3:case"end":return t.stop()}},r,t)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(124),c=n(u);t.default={refreshToken:function(){return c.default.resolve(!0)},isCurrentUserSignedIn:function(){var e=this;return(0,s.default)(i.default.mark(function t(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",c.default.resolve(!0));case 1:case"end":return e.stop()}},t,e)}))()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(120),i=n(o),a=r(123),s=n(a),u=r(114),c=r(160),l=r(148),f=function(e){if(e&&"undefined"!=typeof e){if("live"===e)return"ocivkho3fups2";if("int"===e||"test"===e)return"8d6f5s2dqp0pc"}throw Error(l.ErrorTypes.API_KEY_ERROR)},d=function(){var e=window.document&&window.document.domain||"";return e.indexOf(".com")>-1?".com":".co.uk"},p=function(e){return u.KEY_TO_UAS_CONTEXT[e]},h=function(e){return"ownit"===e?"stay-safe":e},y=function(e,t,r){var n=r.replace("urn:bbc:","");return"urn:bbc:"+e+":"+t+":"+n},v=function(e,t,r,n,o){var i="live"===e?"":e+".",a=y(t,r,n);return o?"https://web.archive.org/web/20190701112059/http://localhost:3000/wiremock/session/"+Morph.contextId+"/uas/myreaction/"+a:"https://web.archive.org/web/20190701112059/https://activity."+i+"api."+c.bbcTldSuffix+"/my/reactions/"+a},m=function(){var e=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(204!==t.status){e.next=2;break}return e.abrupt("return",u.NO_REACTION);case 2:return e.next=4,t.json();case 4:return r=e.sent,e.abrupt("return",r.action);case 6:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=(0,s.default)(i.default.mark(function e(t){var r,n,o,a,s,u=t.clickedReaction,c=t.urn,y=t.resourceTitle,v=t.resourceType,m=t.url,b=t.product,E=t.env,_=t.signedInState,g=t.isIdAvailable,T=t.idctaService,S=t.error,P=t.endSlideNumber;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!_||!g){e.next=3;break}return e.next=3,T.refreshToken(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 3:return r=void 0,P&&(r={reactLevel:u+"_"+P}),n={resourceDomain:h(b),resourceType:v,resourceId:c,resourceTitle:y,url:m,action:u,actionContext:p(u),metadata:r},o=f(E),a=d(),e.next=10,T.isCurrentUserSignedIn(S).catch(function(){throw new Error(l.ErrorTypes.TOKEN_REFRESH_FAILURE)});case 10:return s=e.sent,e.abrupt("return",{UASdata:n,apiKey:o,env:E,domain:a,isSignedIn:s});case 12:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=(0,s.default)(i.default.mark(function e(t,r,n,o,a){var s,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s=v(t,h(r),n,o,a),e.next=3,fetch(s,{credentials:"include",headers:{"x-api-key":f(t),Accept:"application/json"}});case 3:return u=e.sent,e.abrupt("return",m(u));case 5:case"end":return e.stop()}},e,void 0)}));return function(t,r,n,o,i){return e.apply(this,arguments)}}();t.default={configureUAS:b,getMyReaction:E},e.exports=t.default},function(e,t){"use strict";function r(){return"undefined"==typeof document?"":document.location.href}Object.defineProperty(t,"__esModule",{value:!0});var n="https://web.archive.org/web/20190701112059/http://localhost:3000",o=t.bbcTldSuffix=r().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk";t.getBBCDomain=function(e){switch(e){case"acc":return n;case"live":return"https://www."+o;default:return"https://www."+e+"."+o}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(124),i=n(o),a=function(e){return function(){throw e}},s=function(){return i.default.resolve(!0)},u=function(){},c=function(e){return e?a(e):s},l=function(e){return{configureUAS:c(e),getMyReaction:u}};t.default=l,e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return new c.default(function(e){requirejs(["istats-1"],function(t){e(t)})})}function i(e){o().then(function(t){t.log(d,f,(0,s.default)({},l,e))})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(2),s=n(a),u=r(124),c=n(u),l={page_type:"content",children_interaction_type:"reactions"},f="web_button",d="click";t.default={logSelection:function(e,t,r,n){i({children_interaction_variant:e+"_"+t,children_interaction_location:n}),r&&this.logDeselection(r,n)},logDeselection:function(e,t){i({children_interaction_variant:e+"_deselect",children_interaction_location:t})},logCtaEvent:function(e){i({children_interaction_variant:""+e})},logError:function(e){i({children_interaction_variant:"error_"+e})}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){return s.default.resolve(u)}function i(){o().then(function(e){e.log()})}Object.defineProperty(t,"__esModule",{value:!0});var a=r(124),s=n(a),u={log:function(){}};t.default={logSelection:function(e,t,r){i(),r&&this.logDeselection(r)},logDeselection:function(){i()},logCtaEvent:function(){i()},logError:function(){i()}},e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function o(){a.default&&a.default.selfTransitive&&a.default.selfTransitive("assets",function(e){s=e})}Object.defineProperty(t,"__esModule",{value:!0});var i=r(165),a=n(i),s={},u=function(e,t){return t?s.landscape[e]:s.portrait[e]};t.default={fetchSprites:o,getSprite:u},e.exports=t.default},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-childrens-reactions@1.4.7",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.4.7",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-childrens-reactions@1.4.7",e,t,!0)}}}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-childrens-reactions-data/urn/urn%3Abbc%3Aisite2%3Afile_id%3Achildrensgames%3Agg2q4q2c2v/version/0.7.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"countsData":{"urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v":{"sad":3103,"omd":2597,"inspired":2898,"loved":11905,"lol":5404,"applause":4091}},"countsTotals":{"urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v":29998},"env":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-reactions","product":"cbbc","resourceType":"game","urn":"urn:bbc:isite2:file_id:childrensgames:gg2q4q2c2v","resourceTitle":"CBBC+Picture+Maker","url":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/cbbc\/games\/cbbc-picture-maker","pageContext":"primary_content","version":"1.4.7","_mrrVersion":"2.0.16"},'u8205696634936944'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u8205696634936944 */</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-childrens-reactions-data/urn/urn%3Abbc%3Ariddle-ext%3Aquiz%3Aid%3A183348/version/0.7.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"countsData":{},"countsTotals":{},"env":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-reactions","product":"cbbc","resourceType":"quiz","urn":"urn:bbc:riddle-ext:quiz:id:183348","resourceTitle":"CBBC+Picture+Maker","url":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/cbbc\/games\/cbbc-picture-maker","pageContext":"article_block","version":"1.4.7","_mrrVersion":"2.0.16"},'u8137243800363956'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u8137243800363956 */</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-childrens-reactions-data/urn/urn%3Abbc%3Ariddle-ext%3Aquiz%3Aid%3A193573/version/0.7.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"countsData":{},"countsTotals":{},"env":"live"}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-childrens-reactions","product":"cbbc","resourceType":"quiz","urn":"urn:bbc:riddle-ext:quiz:id:193573","resourceTitle":"CBBC+Picture+Maker","url":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/cbbc\/games\/cbbc-picture-maker","pageContext":"article_block","version":"1.4.7","_mrrVersion":"2.0.16"},'u76713657445515455'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u76713657445515455 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-ugc-form-cta@1.12.0"]={"@babel/polyfill":"7.4.4","@babel/runtime":"7.4.5","bbc-morph-classnames":"1.0.1","bbc-morph-gel-icons":"2.2.0","bbc-morph-intersection-observer":"1.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","morph-container":"2.1.16","morph-require":"3.0.17","morph-static-prefix":"3.0.0",react:"0.14.7","sass-mq":"3.3.2"},function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){Morph.modules["bbc-morph-ugc-form-cta@1.12.0"]=n(1)},function(t,e,n){"use strict";var r=n(2);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(25)),i=n(26),c=n(43),a=function(t){var e=t.href,n=t.mode,r=t.hideTips,a=t.theme,u=t.rulesUrl,s={href:e,mode:n,theme:a,rulesUrl:u,showTips:"true"!==r};return(0,i.isStandaloneMode)(s.mode)?o.default.createElement(i.Standalone,s,o.default.createElement(c.UgcCtaContainer,s)):o.default.createElement(c.UgcCtaContainer,s)};a.displayName="Bootstrap",a.propTypes={href:o.PropTypes.string.isRequired,mode:o.PropTypes.string,hideTips:o.PropTypes.string,theme:o.PropTypes.string,rulesUrl:o.PropTypes.string};var u=a;e.default=u,t.exports=e.default},function(t,e){function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}t.exports=n},function(t,e,n){var r=n(4);r(r.S+r.F*!n(12),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(5),o=n(6),i=n(7),c=n(17),a=n(23),u="prototype",s=function(t,e,n){var l,f,p,d,h=t&s.F,v=t&s.G,y=t&s.S,m=t&s.P,g=t&s.B,b=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],_=v?o:o[e]||(o[e]={}),w=_[u]||(_[u]={});v&&(n=e);for(l in n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=g&&f?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,b&&c(b,l,p,t&s.U),_[l]!=p&&i(_,l,d),m&&w[l]!=p&&(w[l]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(8),o=n(16);t.exports=n(12)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(9),o=n(11),i=n(15),c=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(10);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(12)&&!n(13)(function(){return 7!=Object.defineProperty(n(14)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(10),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(10);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(5),o=n(7),i=n(18),c=n(19)("src"),a=n(20),u="toString",s=(""+a).split(u);n(6).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,c)||o(n,c,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[c]||a.call(this)})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){t.exports=n(21)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(6),o=n(5),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,e){return c[t]||(c[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(22)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(24);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=React},function(t,e,n){"use strict";var r=n(27),o=n(2);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.isStandaloneMode=e.Standalone=void 0;var i=r(n(28)),c=o(n(25)),a=r(n(29)),u=n(30),s=void 0,l=function(t){var e=t.children,n=t.theme,r=t.mode;return(0,u.addModeSupport)({mode:r,component:s}),c.default.createElement("div",{className:(0,a.default)("standalone-page",(0,i.default)({},"standalone-page--".concat(n),n))},c.default.createElement("div",{className:"standalone-page__module-wrapper"},e))};e.Standalone=l,l.displayName="Standalone",l.propTypes={children:c.PropTypes.node.isRequired,theme:c.PropTypes.string,mode:c.PropTypes.string};var f=function(t){return t===u.MODE_STANDALONE};e.isStandaloneMode=f},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e){function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.exports=n},function(t,e){t.exports=Morph.modules["bbc-morph-classnames@1.0.1"]},function(t,e,n){"use strict";var r=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.addModeSupport=e.MODE_STANDALONE=void 0,n(31);var o=r(n(42)),i="standalone";e.MODE_STANDALONE=i;var c=[i],a=function(t){var e=t.component,n=t.mode;c.includes(n)&&o.default.selfTransitiveThenUpdate("modes-".concat(n),e)};e.addModeSupport=a},function(t,e,n){"use strict";var r=n(4),o=n(32)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(40)("includes")},function(t,e,n){var r=n(33),o=n(37),i=n(39);t.exports=function(t){return function(e,n,c){var a,u=r(e),s=o(u.length),l=i(c,s);if(t&&n!=n){for(;s>l;)if(a=u[l++],a!=a)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(34),o=n(36);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(35);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(38),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(38),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(41)("unscopables"),o=Array.prototype;void 0==o[r]&&n(7)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){var r=n(21)("wks"),o=n(19),i=n(5).Symbol,c="function"==typeof i,a=t.exports=function(t){return r[t]||(r[t]=c&&i[t]||(c?i:o)("Symbol."+t))};a.store=r},function(t,e){t.exports={transitive:function(t,e){return Morph.requireTransitiveWithCaller("bbc-morph-ugc-form-cta@1.12.0",t,e)},selfTransitive:function(t,e){return Morph.requireTransitiveWithCaller("bbc-morph-ugc-form-cta@1.12.0",t,e,!0)},transitiveThenUpdate:function(t,e){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-ugc-form-cta@1.12.0",t,e)},selfTransitiveThenUpdate:function(t,e){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-ugc-form-cta@1.12.0",t,e,!0)}}},function(t,e,n){"use strict";var r=n(27),o=n(2);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.UgcCtaContainer=void 0;var i=o(n(25)),c=r(n(29)),a=n(44),u=n(98),s=n(126),l=function(t){var e=t.href,n=t.showTips,r=t.theme,o=t.rulesUrl,l=!n;return u.istatsService.initialiseCommonLabels({service:"morph-ugc-form-cta"}),i.default.createElement("div",{className:(0,c.default)("ugc-form-cta-container","ugc-form-cta-container--".concat(r))},i.default.createElement(a.Cta,{showRules:l,rulesUrl:o,href:e}),n&&i.default.createElement(s.Tips,{rulesUrl:o}))};e.UgcCtaContainer=l,l.displayName="UgcCtaContainer",l.propTypes={href:i.PropTypes.string.isRequired,showTips:i.PropTypes.bool.isRequired,theme:i.PropTypes.string,rulesUrl:i.PropTypes.string},l.defaultProps={theme:""}},function(t,e,n){"use strict";var r=n(2),o=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.Cta=void 0,n(45);var i=o(n(48)),c=o(n(49)),a=o(n(50)),u=o(n(53)),s=o(n(52)),l=o(n(54)),f=r(n(25)),p=o(n(56)),d=n(57),h=o(n(97)),v=n(98),y=n(124),m=o(n(125)),g=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,u.default)(e).call(this,t)),n.onClick=n.onClick.bind((0,s.default)(n)),n.onCtaViewed=n.onCtaViewed.bind((0,s.default)(n)),n.cdn=(0,h.default)(),n}return(0,l.default)(e,t),(0,c.default)(e,[{key:"onClick",value:function(t){var e=this.props.href;t.preventDefault(),v.istatsService.logClickEvent("uploader_cta"),(0,y.gotoUrl)(e)}},{key:"onCtaViewed",value:function(){v.istatsService.logViewEvent("uploader_cta")}},{key:"render",value:function(){var t=this.props,e=t.href,n=t.showRules,r=t.rulesUrl;return f.default.createElement("div",{className:"ugc-cta"},f.default.createElement("div",{className:"ugc-cta__content"},f.default.createElement("h2",{className:"ugc-cta__title"},"Are you ready to send your stuff?"),f.default.createElement(d.IntersectionObserverWrapper,{onVisible:this.onCtaViewed},f.default.createElement("div",{className:"ugc-button ugc-button--cta"},f.default.createElement("a",{onClick:this.onClick,className:"ugc-button__link",href:e},f.default.createElement(p.default,{iconName:"upload"}),f.default.createElement("span",{className:"button__text"},"Send your stuff")))),n&&r&&f.default.createElement(m.default,{rulesUrl:r})),f.default.createElement("image",{className:"ugc-cta__image--desktop",src:"".concat(this.cdn,"/images/ugc-cta-background-desktop.svg")}),f.default.createElement("image",{className:"ugc-cta__image--mobile",src:"".concat(this.cdn,"/images/ugc-cta-background-mobile.svg")}))}}]),e}(f.Component);e.Cta=g,g.displayName="Cta",g.propTypes={href:f.PropTypes.string.isRequired,showRules:f.PropTypes.bool.isRequired,rulesUrl:f.PropTypes.string}},function(t,e,n){var r=n(4);r(r.P,"Function",{bind:n(46)})},function(t,e,n){"use strict";var r=n(24),o=n(10),i=n(47),c=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=c.call(arguments,1),a=function(){var r=n.concat(c.call(arguments));return this instanceof a?u(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=n},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}t.exports=r},function(t,e,n){function r(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?i(t):e}var o=n(51),i=n(52);t.exports=r},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},function(t,e){function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t.exports=n},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}var o=n(55);t.exports=r},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e){t.exports=Morph.modules["bbc-morph-gel-icons@2.2.0"]},function(t,e,n){t.exports=n(58)},function(t,e,n){"use strict";var r=n(59),o=n(60);n(61),Object.defineProperty(e,"__esModule",{value:!0}),e.IntersectionObserverWrapper=void 0;var i=o(n(80));n(84);var c=o(n(87)),a=o(n(88)),u=o(n(89)),s=o(n(92)),l=o(n(93)),f=o(n(91)),p=r(n(25)),d=n(95),h=function(t){function e(t){var n;return(0,c.default)(this,e),n=(0,u.default)(this,(0,s.default)(e).call(this,t)),n.onChange=n.onChange.bind((0,f.default)((0,f.default)(n))),n.setRef=n.setRef.bind((0,f.default)((0,f.default)(n))),n.visbilityTimer=null,n}return(0,l.default)(e,t),(0,a.default)(e,[{key:"setRef",value:function(t){this.ref=t}},{key:"onChange",value:function(t){var e=this,n=(0,i.default)(t,1),r=n[0],o=this.props,c=o.minimumTimeInView,a=o.onVisible,u=r.isIntersecting;clearTimeout(this.visbilityTimer),u&&(this.visbilityTimer=setTimeout(function(){a(),e.intersectionObserver.unobserve(e.ref)},c))}},{key:"componentDidMount",value:function(){var t=this.props.threshold,e={threshold:t};this.intersectionObserver=(0,d.newIntersectionObserver)(this.onChange,e),this.intersectionObserver.observe(this.ref)}},{key:"componentWillUnmount",value:function(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.ref)}},{key:"render",value:function(){var t=this.props.children;return p.default.createElement("div",{ref:this.setRef},t)}}]),e}(p.Component);e.IntersectionObserverWrapper=h,h.displayName="IntersectionObserverWrapper",h.propTypes={children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),onVisible:p.PropTypes.func.isRequired,threshold:p.PropTypes.number,minimumTimeInView:p.PropTypes.number},h.defaultProps={threshold:1,minimumTimeInView:1e3}},function(t,e){function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}t.exports=n},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e,n){var r=n(62);r(r.S+r.F*!n(70),"Object",{defineProperty:n(66).f})},function(t,e,n){var r=n(63),o=n(64),i=n(65),c=n(75),a=n(78),u="prototype",s=function(t,e,n){var l,f,p,d,h=t&s.F,v=t&s.G,y=t&s.S,m=t&s.P,g=t&s.B,b=v?r:y?r[e]||(r[e]={}):(r[e]||{})[u],_=v?o:o[e]||(o[e]={}),w=_[u]||(_[u]={});v&&(n=e);for(l in n)f=!h&&b&&void 0!==b[l],p=(f?b:n)[l],d=g&&f?a(p,r):m&&"function"==typeof p?a(Function.call,p):p,b&&c(b,l,p,t&s.U),_[l]!=p&&i(_,l,d),m&&w[l]!=p&&(w[l]=p)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.6.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(66),o=n(74);t.exports=n(70)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(67),o=n(69),i=n(73),c=Object.defineProperty;e.f=n(70)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(68);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(70)&&!n(71)(function(){return 7!=Object.defineProperty(n(72)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){t.exports=!n(71)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(68),o=n(63).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(68);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(63),o=n(65),i=n(76),c=n(77)("src"),a="toString",u=Function[a],s=(""+u).split(a);n(64).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,c)||o(n,c,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[c]||u.call(this)})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(79);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){function r(t,e){return o(t)||i(t,e)||c()}var o=n(81),i=n(82),c=n(83);t.exports=r},function(t,e){function n(t){if(Array.isArray(t))return t}t.exports=n},function(t,e){function n(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}t.exports=n},function(t,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}t.exports=n},function(t,e,n){var r=n(62);r(r.P,"Function",{bind:n(85)})},function(t,e,n){"use strict";var r=n(79),o=n(68),i=n(86),c=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=c.call(arguments,1),a=function(){var r=n.concat(c.call(arguments));return this instanceof a?u(e,r.length,r):i(e,r,t)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=n},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}t.exports=r},function(t,e,n){function r(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?i(t):e}var o=n(90),i=n(91);t.exports=r},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(e){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},function(t,e){function n(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t.exports=n},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}var o=n(94);t.exports=r},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e,n){"use strict";n(61),Object.defineProperty(e,"__esModule",{value:!0}),e.newIntersectionObserver=void 0,"undefined"!=typeof window&&n(96);var r=function(t,e){return new IntersectionObserver(t,e)};e.newIntersectionObserver=r},function(t,e){!function(t,e){"use strict";function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||l(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;n?this.intersectionRatio=Number((o/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function r(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=i(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function o(){return t.performance&&performance.now&&performance.now()}function i(t,e){var n=null;return function(){n||(n=setTimeout(function(){t(),n=null},e))}}function c(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function u(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),o=Math.max(t.left,e.left),i=Math.min(t.right,e.right),c=i-o,a=r-n;return c>=0&&a>=0&&{top:n,bottom:r,left:o,right:i,width:c,height:a}}function s(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)return void("isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));var d=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){var e=this._observationTargets.some(function(e){return e.element==t});if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},r.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(c(t,"resize",this._checkForIntersections,!0),c(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(t,"resize",this._checkForIntersections,!0),a(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach(function(r){var i=r.element,c=s(i),a=this._rootContainsTarget(i),u=r.entry,l=t&&a&&this._computeTargetAndRootIntersection(i,e),f=r.entry=new n({time:o(),target:i,boundingClientRect:c,rootBounds:e,intersectionRect:l});u?t&&a?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=t.getComputedStyle(n).display){for(var o=s(n),i=o,c=p(n),a=!1;!a;){var l=null,f=1==c.nodeType?t.getComputedStyle(c):{};if("none"==f.display)return;if(c==this.root||c==e?(a=!0,l=r):c!=e.body&&c!=e.documentElement&&"visible"!=f.overflow&&(l=s(c)),l&&(i=u(l,i),!i))break;c=p(c)}return i}},r.prototype._getRootRect=function(){var t;if(this.root)t=s(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||f(e,this.root)},r.prototype._rootContainsTarget=function(t){return f(this.root||e,t)},r.prototype._registerInstance=function(){d.indexOf(this)<0&&d.push(this)},r.prototype._unregisterInstance=function(){var t=d.indexOf(this);t!=-1&&d.splice(t,1)},t.IntersectionObserver=r,t.IntersectionObserverEntry=n}(window,document)},function(t,e){t.exports=function(){return"//"+Morph.config.cdn+"/modules/bbc-morph-ugc-form-cta/1.12.0"}},function(t,e,n){"use strict";function r(t,e,n){return o.apply(this,arguments)}function o(){return o=(0,a.default)(c.default.mark(function t(e,n,r){var o,i;return c.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=(0,u.default)({},l,r),t.next=3,(0,s.getIstats)();case 3:i=t.sent,i.log(e,n,o);case 5:case"end":return t.stop()}},t)})),o.apply(this,arguments)}var i=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.istatsService=void 0;var c=i(n(99));n(100);var a=i(n(101)),u=i(n(102)),s=n(103),l={},f={initialise:function(){return(0,s.getIstats)()},initialiseCommonLabels:function(t){l=(0,u.default)({},t)},logClickEvent:function(t,e){return r("click",t,e)},logViewEvent:function(t,e){return r("view",t,e)},logLinkEvent:function(t,e){return r("link",t,e)},logButtonEvent:function(t,e){return r("button",t,e)},logEvent:function(t,e,n){return r(t,e,n)}};e.istatsService=f},function(t,e,n){t.exports=n(100)},function(t,e,n){var r=function(t){"use strict";function e(t,e,n,o){var i=e&&e.prototype instanceof r?e:r,c=Object.create(i.prototype),a=new p(o||[]);return c._invoke=u(t,n,a),c}function n(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function r(){}function o(){}function i(){}function c(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function a(t){function e(r,o,i,c){var a=n(t[r],t,o);if("throw"!==a.type){var u=a.arg,s=u.value;return s&&"object"==typeof s&&m.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(s).then(function(t){u.value=t,i(u)},function(t){return e("throw",t,i,c)})}c(a.arg)}function r(t,n){function r(){return new Promise(function(r,o){e(t,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=r}function u(t,e,r){var o=x;return function(i,c){if(o===T)throw new Error("Generator is already running");if(o===O){if("throw"===i)throw c;return h()}for(r.method=i,r.arg=c;;){var a=r.delegate;if(a){var u=s(a,r);if(u){if(u===P)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===x)throw o=O,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=T;var l=n(t,e,r);if("normal"===l.type){if(o=r.done?O:E,l.arg===P)continue; return{value:l.arg,done:r.done}}"throw"===l.type&&(o=O,r.method="throw",r.arg=l.arg)}}}function s(t,e){var r=t.iterator[e.method];if(r===v){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=v,s(t,e),"throw"===e.method))return P;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var o=n(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,P;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=v),e.delegate=null,P):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,P)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function f(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function d(t){if(t){var e=t[b];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(m.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=v,e.done=!0,e};return r.next=r}}return{next:h}}function h(){return{value:v,done:!0}}var v,y=Object.prototype,m=y.hasOwnProperty,g="function"==typeof Symbol?Symbol:{},b=g.iterator||"@@iterator",_=g.asyncIterator||"@@asyncIterator",w=g.toStringTag||"@@toStringTag";t.wrap=e;var x="suspendedStart",E="suspendedYield",T="executing",O="completed",P={},j={};j[b]=function(){return this};var S=Object.getPrototypeOf,I=S&&S(S(d([])));I&&I!==y&&m.call(I,b)&&(j=I);var N=i.prototype=r.prototype=Object.create(j);return o.prototype=N.constructor=i,i.constructor=o,i[w]=o.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===o||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,i):(t.__proto__=i,w in t||(t[w]="GeneratorFunction")),t.prototype=Object.create(N),t},t.awrap=function(t){return{__await:t}},c(a.prototype),a.prototype[_]=function(){return this},t.AsyncIterator=a,t.async=function(n,r,o,i){var c=new a(e(n,r,o,i));return t.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},c(N),N[w]="Generator",N[b]=function(){return this},N.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=d,p.prototype={constructor:p,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(f),!t)for(var e in this)"t"===e.charAt(0)&&m.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=v)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){function e(e,r){return i.type="throw",i.arg=t,n.next=e,r&&(n.method="next",n.arg=v),!!r}if(this.done)throw t;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=m.call(o,"catchLoc"),a=m.call(o,"finallyLoc");if(c&&a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,P):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),P},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),f(n),P}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=v),P}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e){function n(t,e,n,r,o,i,c){try{var a=t[i](c),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise(function(o,i){function c(t){n(u,o,i,c,a,"next",t)}function a(t){n(u,o,i,c,a,"throw",t)}var u=t.apply(e,r);c(void 0)})}}t.exports=r},function(t,e,n){function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){o(t,e,n[e])})}return t}var o=n(28);t.exports=r},function(t,e,n){"use strict";function r(){return new Promise(function(t){window.require(["istats-1"],function(e){t(e)})})}n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.getIstats=r,n(104)},function(t,e,n){"use strict";var r,o,i,c,a=n(22),u=n(5),s=n(23),l=n(105),f=n(4),p=n(10),d=n(24),h=n(106),v=n(107),y=n(112),m=n(113).set,g=n(115)(),b=n(116),_=n(117),w=n(118),x=n(119),E="Promise",T=u.TypeError,O=u.process,P=O&&O.versions,j=P&&P.v8||"",S=u[E],I="process"==l(O),N=function(){},M=o=b.f,C=!!function(){try{var t=S.resolve(1),e=(t.constructor={})[n(41)("species")]=function(t){t(N,N)};return(I||"function"==typeof PromiseRejectionEvent)&&t.then(N)instanceof e&&0!==j.indexOf("6.6")&&w.indexOf("Chrome/66")===-1}catch(t){}}(),k=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},R=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,c=function(e){var n,i,c,a=o?e.ok:e.fail,u=e.resolve,s=e.reject,l=e.domain;try{a?(o||(2==t._h&&F(t),t._h=1),a===!0?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),c=!0)),n===e.promise?s(T("Promise-chain cycle")):(i=k(n))?i.call(n,u,s):u(n)):s(r)}catch(t){l&&!c&&l.exit(),s(t)}};n.length>i;)c(n[i++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){m.call(u,function(){var e,n,r,o=t._v,i=A(t);if(i&&(e=_(function(){I?O.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=I||A(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){m.call(u,function(){var e;I?O.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),R(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=k(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,s(D,r,1),s(U,r,1))}catch(t){U.call(r,t)}}):(n._v=t,n._s=1,R(n,!1))}catch(t){U.call({_w:n,_d:!1},t)}}};C||(S=function(t){h(this,S,E,"_h"),d(t),r.call(this);try{t(s(D,this,1),s(U,this,1))}catch(t){U.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(120)(S.prototype,{then:function(t,e){var n=M(y(this,S));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=I?O.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(D,t,1),this.reject=s(U,t,1)},b.f=M=function(t){return t===S||t===c?new i(t):o(t)}),f(f.G+f.W+f.F*!C,{Promise:S}),n(121)(S,E),n(122)(E),c=n(6)[E],f(f.S+f.F*!C,E,{reject:function(t){var e=M(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(a||!C),E,{resolve:function(t){return x(a&&this===c?S:this,t)}}),f(f.S+f.F*!(C&&n(123)(function(t){S.all(t).catch(N)})),E,{all:function(t){var e=this,n=M(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,c=1;v(t,!1,function(t){var a=i++,u=!1;n.push(void 0),c++,e.resolve(t).then(function(t){u||(u=!0,n[a]=t,--c||r(n))},o)}),--c||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,o=_(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){var r=n(35),o=n(41)("toStringTag"),i="Arguments"==r(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=c(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(23),o=n(108),i=n(109),c=n(9),a=n(37),u=n(111),s={},l={},e=t.exports=function(t,e,n,f,p){var d,h,v,y,m=p?function(){return t}:u(t),g=r(n,f,e?2:1),b=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(d=a(t.length);d>b;b++)if(y=e?g(c(h=t[b])[0],h[1]):g(t[b]),y===s||y===l)return y}else for(v=m.call(t);!(h=v.next()).done;)if(y=o(v,g,h.value,e),y===s||y===l)return y};e.BREAK=s,e.RETURN=l},function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(110),o=n(41)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e){t.exports={}},function(t,e,n){var r=n(105),o=n(41)("iterator"),i=n(110);t.exports=n(6).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(9),o=n(24),i=n(41)("species");t.exports=function(t,e){var n,c=r(t).constructor;return void 0===c||void 0==(n=r(c)[i])?e:o(n)}},function(t,e,n){var r,o,i,c=n(23),a=n(47),u=n(114),s=n(14),l=n(5),f=l.process,p=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,v=l.Dispatch,y=0,m={},g="onreadystatechange",b=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){b.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete m[t]},"process"==n(35)(f)?r=function(t){f.nextTick(c(b,t,1))}:v&&v.now?r=function(t){v.now(c(b,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=_,r=c(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r=g in s("script")?function(t){u.appendChild(s("script"))[g]=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(c(b,t,1),0)}),t.exports={set:p,clear:d}},function(t,e,n){var r=n(5).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(5),o=n(113).set,i=r.MutationObserver||r.WebKitMutationObserver,c=r.process,a=r.Promise,u="process"==n(35)(c);t.exports=function(){var t,e,n,s=function(){var r,o;for(u&&(r=c.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){c.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(s)}}else n=function(){o.call(r,s)};else{var f=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=o(e),this.reject=o(n)}var o=n(24);t.exports.f=function(t){return new r(t)}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(5),o=r.navigator;t.exports=o&&o.userAgent||""},function(t,e,n){var r=n(9),o=n(10),i=n(116);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),c=n.resolve;return c(e),n.promise}},function(t,e,n){var r=n(17);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(8).f,o=n(18),i=n(41)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(5),o=n(8),i=n(12),c=n(41)("species");t.exports=function(t){var e=r[t];i&&e&&!e[c]&&o.f(e,c,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(41)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},t(i)}catch(t){}return n}},function(t,e,n){"use strict";n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.gotoUrl=void 0;var r=function(t){window.location.href=t};e.gotoUrl=r},function(t,e,n){"use strict";var r=n(2),o=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(45);var i=o(n(48)),c=o(n(49)),a=o(n(50)),u=o(n(53)),s=o(n(52)),l=o(n(54)),f=r(n(25)),p=o(n(97)),d=n(98),h=n(124),v=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,u.default)(e).call(this,t)),n.onClick=n.onClick.bind((0,s.default)(n)),n.cdn=(0,p.default)(),n}return(0,l.default)(e,t),(0,c.default)(e,[{key:"onClick",value:function(t){var e=this.props.rulesUrl;t.preventDefault(),d.istatsService.logEvent("tips_link","uploader_cta"),(0,h.gotoUrl)(e)}},{key:"render",value:function(){var t=this.props.rulesUrl;return f.default.createElement("div",{className:"rules"},f.default.createElement("img",{className:"rules__information-icon",src:"".concat(this.cdn,"/images/information-icon.svg")}),f.default.createElement("div",{className:"rules__text"},f.default.createElement("span",{"aria-hidden":!0},"Everything you send in has to follow "),f.default.createElement("a",{href:t,onClick:this.onClick,"aria-label":"Everything you send in has to follow the rules"},"the rules"),"."))}}]),e}(f.Component);e.default=v,v.displayName="Rules",v.propTypes={rulesUrl:f.PropTypes.string.isRequired},t.exports=e.default},function(t,e,n){"use strict";var r=n(2),o=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.Tips=void 0,n(45);var i=o(n(48)),c=o(n(49)),a=o(n(50)),u=o(n(53)),s=o(n(52)),l=o(n(54)),f=r(n(25)),p=o(n(29)),d=n(127),h=n(133),v=n(134),y=n(135),m=n(98),g=!1,b=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,u.default)(e).call(this,t)),n.onTipsChange=n.onTipsChange.bind((0,s.default)(n)),n.state={isOpen:g},n}return(0,l.default)(e,t),(0,c.default)(e,[{key:"onTipsChange",value:function(t){this.setState({isOpen:t});var e=t?"tips_open":"tips_close";m.istatsService.logEvent(e,"uploader_cta")}},{key:"render",value:function(){var t=this.state.isOpen,e=this.props.rulesUrl,n=t?"close":"open";return f.default.createElement("div",{className:"tips"},f.default.createElement(d.Accordion,{isDefaultOpen:g,onChange:this.onTipsChange},f.default.createElement(d.AccordionDrawer,{ariaLabel:"".concat(n," Tips on what to send us")},f.default.createElement("div",{className:"tips-heading"},f.default.createElement(h.LookIcon,null),f.default.createElement("span",{className:"tips__drawer__text"},"Tips on what to send us")),f.default.createElement("div",{"aria-hidden":!0,className:(0,p.default)("tips-open-close",{"tips-open-close--open":t})},f.default.createElement("span",{className:"tips-open-close__label"},n),f.default.createElement(v.DownIcon,null))),f.default.createElement(d.AccordionBody,null,f.default.createElement(y.TipsContent,{rulesUrl:e}))))}}]),e}(f.Component);e.Tips=b,b.displayName="Tips",b.propTypes={rulesUrl:f.PropTypes.string}},function(t,e,n){"use strict";var r=n(2),o=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.Accordion=e.AccordionBody=e.AccordionDrawer=void 0;var i=o(n(128));n(45);var c=o(n(48)),a=o(n(49)),u=o(n(50)),s=o(n(53)),l=o(n(52)),f=o(n(54)),p=r(n(25)),d=o(n(29)),h=n(132),v=0,y=function(){var t=v;return v+=1,t},m=function(t){var e=t.children;return p.default.createElement("div",{className:"accordion-drawer-contents"},e)};e.AccordionDrawer=m,m.displayName="AccordionDrawer",m.propTypes={children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node])};var g=function(t){var e=t.children;return p.default.createElement("div",{className:"accordion-body-contents"},e)};e.AccordionBody=g,g.displayName="AccordionBody",g.propTypes={children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node])};var b=function(t){function e(t){var n;return(0,c.default)(this,e),n=(0,u.default)(this,(0,s.default)(e).call(this,t)),n.state={isOpen:n.props.isDefaultOpen},n.onDrawerClick=n.onDrawerClick.bind((0,l.default)(n)),n.id="accordion-".concat(y()),n}return(0,f.default)(e,t),(0,a.default)(e,[{key:"onDrawerClick",value:function(t){t.preventDefault();var e=this.props.onChange,n=!this.state.isOpen;this.setState({isOpen:n}),e(n)}},{key:"render",value:function(){var t=this.id,e=this.onDrawerClick,n=this.props,r=(0,i.default)(n.children,2),o=r[0],c=r[1];return p.default.createElement("div",{className:(0,d.default)("accordion",{"accordion--open":this.state.isOpen})},p.default.createElement("a",{className:"accordion-drawer",href:"#",onClick:e,"aria-controls":t,"aria-expanded":this.state.isOpen,"aria-label":o.props.ariaLabel},o),p.default.createElement("div",{id:t,className:"accordion-body"},c))}}]),e}(p.Component);e.Accordion=b,b.displayName="Accordion",b.propTypes={children:p.PropTypes.arrayOf(function(t,e,n,r,o){return 2!==t.length?new Error("Invalid props ".concat(o," supplied to ").concat(n,". Expected 2 children, but got ").concat(t.length)):t[0].type.displayName!==m.displayName?new Error("Invalid props ".concat(o," supplied to ").concat(n,". Expected first child to be ").concat(m.displayName,", but got ").concat(t[0].type.displayName)):t[1].type.displayName!==g.displayName?new Error("Invalid props ".concat(o," supplied to ").concat(n,". Expected 2nd child to be ").concat(g.displayName,", but got ").concat(t[1].type.displayName)):void 0}),isDefaultOpen:p.PropTypes.bool,onChange:p.PropTypes.func},b.defaultProps={onChange:h.noop}},function(t,e,n){function r(t,e){return o(t)||i(t,e)||c()}var o=n(129),i=n(130),c=n(131);t.exports=r},function(t,e){function n(t){if(Array.isArray(t))return t}t.exports=n},function(t,e){function n(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var c,a=t[Symbol.iterator]();!(r=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}t.exports=n},function(t,e){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}t.exports=n},function(t,e,n){"use strict";n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.noop=void 0;var r=function(){};e.noop=r},function(t,e,n){"use strict";var r=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.LookIcon=void 0;var o=r(n(25)),i=function(){return o.default.createElement("div",{className:"look-icon"},o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},o.default.createElement("circle",{cx:"30",cy:"30",r:"30",transform:"translate(-2.55 2.78) rotate(-5.1)",fill:"#ffd201"}),o.default.createElement("circle",{cx:"40.31",cy:"21.15",r:"7.9",fill:"#fff"}),o.default.createElement("ellipse",{cx:"43.63",cy:"21.35",rx:"4.41",ry:"4.57",fill:"#2b2b2b"}),o.default.createElement("path",{d:"M10.66,33.78a19.34,19.34,0,0,0,38.69.16Z",transform:"translate(0 0)",fill:"#2b2b2b"}),o.default.createElement("path",{d:"M29.95,43.11a11.35,11.35,0,0,0-10.52,7,19.44,19.44,0,0,0,10.47,3.14,19,19,0,0,0,10.5-3.06A11.21,11.21,0,0,0,29.95,43.11Z",transform:"translate(0 0)",fill:"#e63f23"}),o.default.createElement("circle",{cx:"19.67",cy:"21.15",r:"7.9",fill:"#fff"}),o.default.createElement("ellipse",{cx:"22.99",cy:"21.35",rx:"4.41",ry:"4.57",fill:"#2b2b2b"})))};e.LookIcon=i,i.displayName="LookIcon"},function(t,e,n){"use strict";var r=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.DownIcon=void 0;var o=r(n(25)),i=function(){return o.default.createElement("div",{className:"down-icon"},o.default.createElement("svg",{height:"15",width:"20",viewBox:"0 0 20 15"},o.default.createElement("path",{d:"M18.5 4.7l-2.8-2.9L10 7.5 4.3 1.8 1.5 4.7l8.5 8.5z"})))};e.DownIcon=i,i.displayName="DownIcon"},function(t,e,n){"use strict";var r=n(2),o=n(27);n(3),Object.defineProperty(e,"__esModule",{value:!0}),e.TipsContent=void 0;var i=o(n(48)),c=o(n(49)),a=o(n(50)),u=o(n(53)),s=o(n(54)),l=r(n(25)),f=o(n(97)),p=o(n(125)),d=function(t){var e=t.children;return l.default.createElement("div",{className:"tips-example-card__label",role:"text"},l.default.createElement("span",{className:"ugc-hidden--offscreen"},"Don't send"),e)};d.displayName="TipCardLabel",d.propTypes={children:l.PropTypes.node.isRequired};var h=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,u.default)(e).call(this,t)),n.cdn=(0,f.default)(),n}return(0,s.default)(e,t),(0,c.default)(e,[{key:"render",value:function(){var t=this.props.rulesUrl;return l.default.createElement("div",{className:"tips-content"},l.default.createElement("p",{className:"tips-content__label","aria-hidden":"true"},"Don't send:"),l.default.createElement("ul",{className:"tips-content__examples"},l.default.createElement("li",{className:"tips-example-card"},l.default.createElement("img",{alt:"",src:"".concat(this.cdn,"/images/tips-dont-send-personal-details.jpg")}),l.default.createElement(d,null,"Personal details")),l.default.createElement("li",{className:"tips-example-card"},l.default.createElement("img",{alt:"",src:"".concat(this.cdn,"/images/tips-dont-send-other-people.jpg")}),l.default.createElement(d,null,"Stuff with other people")),l.default.createElement("li",{className:"tips-example-card"},l.default.createElement("img",{alt:"",src:"".concat(this.cdn,"/images/tips-dont-send-anything-naughty.jpg")}),l.default.createElement(d,null,"Anything naughty")),l.default.createElement("li",{className:"tips-example-card"},l.default.createElement("img",{alt:"",src:"".concat(this.cdn,"/images/tips-dont-send-things-we-didnt-ask-for.jpg")}),l.default.createElement(d,null,"Stuff we didn't ask for"))),t&&l.default.createElement(p.default,{rulesUrl:t}))}}]),e}(l.Component);e.TipsContent=h,h.displayName="TipsContent",h.propTypes={rulesUrl:l.PropTypes.string}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@2.2.0"]={"bbc-morph-classnames":"1.0.1","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@2.2.0/gel-icon-upload"]=t(1)},function(e,r,t){var o=t(2);e.exports=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},o.createElement("g",{id:"Layer_2"},o.createElement("path",{d:"M20.5 30v-2H30v-6h2v8zM18.499 30H0v-8h2v6h11.48l.019-16.438-7.45 7.46-3.531-3.536L15.987 2l13.495 13.469L25.947 19l-7.448-7.438z"})))}},function(e,r){e.exports=React}]);; });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-ugc-form-cta","href":"\/cbbc\/upload\/u3152038?ptrt=%2Fcbbc%2Fgames%2Fcbbc-picture-maker","rulesUrl":"\/cbbc\/findoutmore\/uploads-house-rules","theme":"cbbc","version":"1.12.0","_mrrVersion":"2.0.16"},'u5618771217142397'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u5618771217142397 */</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@4.0.0"]={"bbc-morph-classnames":"1.0.2","morph-require":"3.0.17",react:"0.14.7"},function(e){function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}var t={};return r.m=e,r.c=t,r.p="",r(0)}([function(e,r,t){Morph.modules["bbc-morph-gel-icons@4.0.0"]=t(1)},function(e,r,t){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(r,"__esModule",{value:!0});var i=t(2),o=n(i),a=t(3),s=n(a),l=t(4),c=n(l),u=o.default.createClass({displayName:"GEL__Icon",propTypes:{iconName:o.default.PropTypes.string,additionalClassNames:o.default.PropTypes.string},render:function(){var e=(0,c.default)("gel-icon","gel-icon--"+this.props.iconName,this.props.additionalClassNames),r="";try{var t=s.default.selfTransitiveThenUpdate("gel-icon-"+this.props.iconName,this);r=t?o.default.createElement(t,null):o.default.createElement("noscript",null)}catch(e){r=o.default.createElement("noscript",null)}return o.default.createElement("div",{className:e},r)}});u.ensureIcon=function(e){"undefined"==typeof window&&s.default.selfTransitive("gel-icon-"+e,null)},r.default=u,e.exports=r.default},function(e,r){e.exports=React},function(e,r){e.exports={transitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@4.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@4.0.0",e,r,!0)}}},function(e,r){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.3.1"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.1.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","bbc-morph-gel-icons":"4.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-comments-view@3.3.1"]=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),m=n(51),f=r(m),p=n(84),h=r(p),y=n(92),g=r(y),v=n(93),_=r(v);n(94);var T=n(95),b=n(109),E=n(259),w=n(261),C=r(w),P=n(249),M=n(175),S=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){return this.props.styleguide?g.default.createElement(E.StyleGuideModule,this.props):g.default.createElement(b.CommentsBootstrap,this.props)}}]),t}(y.Component);S.displayName="ComponentSelector",S.propTypes={styleguide:y.PropTypes.string,commentsData:y.PropTypes.object},t.default=_.default.create(S,{dataParams:{commentsDataUri:null,nextIndexToLoadFrom:null},data:function(e,t){if(e.styleguide)return{};var n=(0,M.setupFeatureToggles)(e.toggleOverrides).isFeatureEnabled(M.FeaturesToggles.liveUpdate),r=parseInt(e.pageSize,10)||P.PAGE_SIZE,o=r*P.INITIAL_PAGE_SIZE_MULTIPLIER,a=(0,i.default)({},(0,T.pick)(e,["staticComments","staticForum","staticCommentProps","forumId","apiKey"]),{pageSize:o,data:"bbc-morph-comments-data"}),s=(0,i.default)({},t,{commentsDataUri:a,pageSize:r,shouldLiveUpdate:n}),u=e.idAvailability?{availabilityOverride:e.idAvailability}:{};return{commentsData:{uri:a,requireSuccess:!0,updates:!1},commentsAggregator:{aggregator:C.default,props:s,requireSuccess:!1},idAvailabilityData:{uri:(0,i.default)({data:"bbc-morph-id-availability-data"},u),requireSuccess:!0,updates:!1}}},displayName:"CommentsContainer"}),e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={default:n(4),__esModule:!0}},function(e,t,n){n(5),e.exports=n(8).Object.assign},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(22)})},function(e,t,n){var r=n(7),o=n(8),i=n(9),a=n(11),s=n(21),u="prototype",l=function(e,t,n){var c,d,m,f=e&l.F,p=e&l.G,h=e&l.S,y=e&l.P,g=e&l.B,v=e&l.W,_=p?o:o[t]||(o[t]={}),T=_[u],b=p?r:h?r[t]:(r[t]||{})[u];p&&(n=t);for(c in n)d=!f&&b&&void 0!==b[c],d&&s(_,c)||(m=d?b[c]:n[c],_[c]=p&&"function"!=typeof b[c]?n[c]:g&&d?i(m,r):v&&b[c]==m?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(m):y&&"function"==typeof m?i(Function.call,m):m,y&&((_.virtual||(_.virtual={}))[c]=m,e&l.R&&T&&!T[c]&&a(T,c,m)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(12),o=n(20);e.exports=n(16)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),o=n(15),i=n(19),a=Object.defineProperty;t.f=n(16)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(16)&&!n(17)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14),o=n(7).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(16),o=n(23),i=n(38),a=n(39),s=n(40),u=n(26),l=Object.assign;e.exports=!l||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=i.f,m=a.f;l>c;)for(var f,p=u(arguments[c++]),h=d?o(p).concat(d(p)):o(p),y=h.length,g=0;y>g;)f=h[g++],r&&!m.call(p,f)||(n[f]=p[f]);return n}:l},function(e,t,n){var r=n(24),o=n(37);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(21),o=n(25),i=n(29)(!1),a=n(33)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)n!=a&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(26),o=n(28);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(25),o=n(30),i=n(32);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=o(u.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(31),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(34)("keys"),o=n(36);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(8),o=n(7),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(35)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports={default:n(42),__esModule:!0}},function(e,t,n){n(43),e.exports=n(8).Object.getPrototypeOf},function(e,t,n){var r=n(40),o=n(44);n(45)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(21),o=n(40),i=n(33)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(6),o=n(8),i=n(17);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(48),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={default:n(49),__esModule:!0}},function(e,t,n){n(50);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(6);r(r.S+r.F*!n(16),"Object",{defineProperty:n(12).f})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(52),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(53),i=r(o),a=n(71),s=r(a),u="function"==typeof s.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(i.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){e.exports={default:n(54),__esModule:!0}},function(e,t,n){n(55),n(66),e.exports=n(70).f("iterator")},function(e,t,n){"use strict";var r=n(56)(!0);n(57)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(31),o=n(28);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?e?s.charAt(u):i:e?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){"use strict";var r=n(35),o=n(6),i=n(58),a=n(11),s=n(59),u=n(60),l=n(64),c=n(44),d=n(65)("iterator"),m=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",h="values",y=function(){return this};e.exports=function(e,t,n,g,v,_,T){u(n,t,g);var b,E,w,C=function(e){if(!m&&e in x)return x[e];switch(e){case p:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},P=t+" Iterator",M=v==h,S=!1,x=e.prototype,O=x[d]||x[f]||v&&x[v],k=O||C(v),I=v?M?C("entries"):k:void 0,D="Array"==t?x.entries||O:O;if(D&&(w=c(D.call(new e)),w!==Object.prototype&&w.next&&(l(w,P,!0),r||"function"==typeof w[d]||a(w,d,y))),M&&O&&O.name!==h&&(S=!0,k=function(){return O.call(this)}),r&&!T||!m&&!S&&x[d]||a(x,d,k),s[t]=k,s[P]=y,v)if(b={values:M?k:C(h),keys:_?k:C(p),entries:I},T)for(E in b)E in x||i(x,E,b[E]);else o(o.P+o.F*(m||S),t,b);return b}},function(e,t,n){e.exports=n(11)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(61),o=n(20),i=n(64),a={};n(11)(a,n(65)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(13),o=n(62),i=n(37),a=n(33)("IE_PROTO"),s=function(){},u="prototype",l=function(){var e,t=n(18)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(63).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),l=e.F;r--;)delete l[u][i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(12),o=n(13),i=n(23);e.exports=n(16)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,u=0;s>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var r=n(7).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(12).f,o=n(21),i=n(65)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(34)("wks"),o=n(36),i=n(7).Symbol,a="function"==typeof i,s=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};s.store=r},function(e,t,n){n(67);for(var r=n(7),o=n(11),i=n(59),a=n(65)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var l=s[u],c=r[l],d=c&&c.prototype;d&&!d[a]&&o(d,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(68),o=n(69),i=n(59),a=n(25);e.exports=n(57)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(65)},function(e,t,n){e.exports={default:n(72),__esModule:!0}},function(e,t,n){n(73),n(81),n(82),n(83),e.exports=n(8).Symbol},function(e,t,n){"use strict";var r=n(7),o=n(21),i=n(16),a=n(6),s=n(58),u=n(74).KEY,l=n(17),c=n(34),d=n(64),m=n(36),f=n(65),p=n(70),h=n(75),y=n(76),g=n(77),v=n(13),_=n(14),T=n(40),b=n(25),E=n(19),w=n(20),C=n(61),P=n(78),M=n(80),S=n(38),x=n(12),O=n(23),k=M.f,I=x.f,D=P.f,N=r.Symbol,A=r.JSON,R=A&&A.stringify,L="prototype",j=f("_hidden"),F=f("toPrimitive"),U={}.propertyIsEnumerable,Y=c("symbol-registry"),W=c("symbols"),q=c("op-symbols"),B=Object[L],H="function"==typeof N&&!!S.f,z=r.QObject,V=!z||!z[L]||!z[L].findChild,G=i&&l(function(){return 7!=C(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=k(B,t);r&&delete B[t],I(e,t,n),r&&e!==B&&I(B,t,r)}:I,K=function(e){var t=W[e]=C(N[L]);return t._k=e,t},$=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},Z=function(e,t,n){return e===B&&Z(q,t,n),v(e),t=E(t,!0),v(n),o(W,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=C(n,{enumerable:w(0,!1)})):(o(e,j)||I(e,j,w(1,{})),e[j][t]=!0),G(e,t,n)):I(e,t,n)},J=function(e,t){v(e);for(var n,r=y(t=b(t)),o=0,i=r.length;i>o;)Z(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?C(e):J(C(e),t)},Q=function(e){var t=U.call(this,e=E(e,!0));return!(this===B&&o(W,e)&&!o(q,e))&&(!(t||!o(this,e)||!o(W,e)||o(this,j)&&this[j][e])||t)},ee=function(e,t){if(e=b(e),t=E(t,!0),e!==B||!o(W,t)||o(q,t)){var n=k(e,t);return!n||!o(W,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},te=function(e){for(var t,n=D(b(e)),r=[],i=0;n.length>i;)o(W,t=n[i++])||t==j||t==u||r.push(t);return r},ne=function(e){for(var t,n=e===B,r=D(n?q:b(e)),i=[],a=0;r.length>a;)!o(W,t=r[a++])||n&&!o(B,t)||i.push(W[t]);return i};H||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=m(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(q,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),G(this,e,w(1,n))};return i&&V&&G(B,e,{configurable:!0,set:t}),K(e)},s(N[L],"toString",function(){return this._k}),M.f=ee,x.f=Z,n(79).f=P.f=te,n(39).f=Q,S.f=ne,i&&!n(35)&&s(B,"propertyIsEnumerable",Q,!0),p.f=function(e){return K(f(e))}),a(a.G+a.W+a.F*!H,{Symbol:N});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),oe=0;re.length>oe;)f(re[oe++]);for(var ie=O(f.store),ae=0;ie.length>ae;)h(ie[ae++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(Y,e+="")?Y[e]:Y[e]=N(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in Y)if(Y[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!H,"Object",{create:X,defineProperty:Z,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l(function(){S.f(1)});a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return S.f(T(e))}}),A&&a(a.S+a.F*(!H||l(function(){var e=N();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(_(t)||void 0!==e)&&!$(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!$(t))return t}),r[1]=t,R.apply(A,r)}}),N[L][F]||n(11)(N[L],F,N[L].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(36)("meta"),o=n(14),i=n(21),a=n(12).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(17)(function(){return u(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},m=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return l&&p.NEED&&u(e)&&!i(e,r)&&c(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:m,onFreeze:f}},function(e,t,n){var r=n(7),o=n(8),i=n(35),a=n(70),s=n(12).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(23),o=n(38),i=n(39);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),u=i.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},function(e,t,n){var r=n(27);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(25),o=n(79).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(24),o=n(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(39),o=n(20),i=n(25),a=n(19),s=n(21),u=n(15),l=Object.getOwnPropertyDescriptor;t.f=n(16)?l:function(e,t){if(e=i(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(75)("asyncIterator")},function(e,t,n){n(75)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(85),i=r(o),a=n(89),s=r(a),u=n(52),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(86),__esModule:!0}},function(e,t,n){n(87),e.exports=n(8).Object.setPrototypeOf},function(e,t,n){var r=n(6);r(r.S,"Object",{setPrototypeOf:n(88).set})},function(e,t,n){var r=n(14),o=n(13),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(9)(Function.call,n(80).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(90),__esModule:!0}},function(e,t,n){n(91);var r=n(8).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(6);r(r.S,"Object",{create:n(61)})},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-comments-view@3.3.1",e,t)}}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g.iterable&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function i(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(g.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(g.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(g.arrayBuffer&&g.blob&&_(e))this._bodyArrayBuffer=c(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!g.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e)&&!T(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=c(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g.blob&&(this.blob=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?i(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(s)}),this.text=function(){var e=i(this);if(e)return e;if(this._bodyBlob)return u(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(l(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},g.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function m(e){var t=e.toUpperCase();return b.indexOf(t)>-1?t:e}function f(e,t){t=t||{};var n=t.body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new o(t.headers)),this.method=m(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function h(e){var t=new o,n=e.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new o(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var g={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer)var v=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],_=function(e){return e&&DataView.prototype.isPrototypeOf(e)},T=ArrayBuffer.isView||function(e){return e&&v.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,r){e=t(e),r=n(r);var o=this.map[e];this.map[e]=o?o+","+r:r},o.prototype.delete=function(e){delete this.map[t(e)]},o.prototype.get=function(e){return e=t(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},o.prototype.set=function(e,r){this.map[t(e)]=n(r)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},g.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},d.call(f.prototype),d.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];y.redirect=function(e,t){if(E.indexOf(t)===-1)throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},e.Headers=o,e.Request=f,e.Response=y,e.fetch=function(e,t){return new Promise(function(n,r){var o=new f(e,t),i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:h(i.getAllResponseHeaders()||"")};e.url="responseURL"in i?i.responseURL:e.headers.get("X-Request-URL");var t="response"in i?i.response:i.responseText;n(new y(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&g.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.merge=t.pickBy=t.pick=void 0;var o=n(96),i=r(o),a=n(97),s=r(a),u=n(103),l=r(u),c=n(108),d=r(c);t.pick=i.default,t.pickBy=s.default,t.merge=l.default,t.throttle=d.default},function(e,t){(function(t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function o(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function i(e,t,n,r,a){var s=-1,u=e.length;for(n||(n=l),a||(a=[]);++s<u;){var c=e[s];t>0&&n(c)?t>1?i(c,t-1,n,r,a):o(a,c):r||(a[a.length]=c)}return a}function a(e,t){return e=Object(e),s(e,t,function(t,n){return n in e})}function s(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=e[a];n(s,a)&&(i[a]=s)}return i}function u(e,t){return t=A(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=A(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function l(e){return R(e)||d(e)||!!(N&&e&&e[N])}function c(e){if("string"==typeof e||v(e))return e;var t=e+"";return"0"==t&&1/e==-_?"-0":t}function d(e){return f(e)&&O.call(e,"callee")&&(!D.call(e,"callee")||k.call(e)==b)}function m(e){return null!=e&&h(e.length)&&!p(e)}function f(e){return g(e)&&m(e)}function p(e){var t=y(e)?k.call(e):"";return t==E||t==w}function h(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=T}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){return!!e&&"object"==typeof e}function v(e){return"symbol"==typeof e||g(e)&&k.call(e)==C}var _=1/0,T=9007199254740991,b="[object Arguments]",E="[object Function]",w="[object GeneratorFunction]",C="[object Symbol]",P="object"==typeof t&&t&&t.Object===Object&&t,M="object"==typeof self&&self&&self.Object===Object&&self,S=P||M||Function("return this")(),x=Object.prototype,O=x.hasOwnProperty,k=x.toString,I=S.Symbol,D=x.propertyIsEnumerable,N=I?I.isConcatSpreadable:void 0,A=Math.max,R=Array.isArray,L=u(function(e,t){return null==e?{}:a(e,r(i(t,1),c))});e.exports=L}).call(t,function(){return this}())},function(e,t,n){function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function o(e,t,n){var o=t(e);return h(e)?o:r(o,n(e))}function i(e,t){for(var n=-1,r=a(e),o=r.length,i={};++n<o;){var s=r[n],u=e[s];t(u,s)&&(i[s]=u)}return i}function a(e){return o(e,d,p)}function s(e){return f(Object(e))}function u(e){return m(Object(e))}function l(e,t){return null==e?{}:i(e,c(t))}var c=n(98),d=n(102),m=Object.getOwnPropertySymbols,f=Object.getPrototypeOf;m||(u=function(){return[]});var p=m?function(e){for(var t=[];e;)r(t,u(e)),e=s(e);return t}:u,h=Array.isArray;e.exports=l},function(e,t,n){(function(e,r){function o(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function i(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function s(e,t){return o(t,function(t){ return[t,e[t]]})}function u(e){return e&&e.Object===Object?e:null}function l(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function c(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Gt?Gt(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Gt){var n=t[e];return n===Fe?void 0:n}return Nt.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Gt?void 0!==t[e]:Nt.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Gt&&void 0===t?Fe:t,this}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(){this.__data__=[]}function b(e){var t=this.__data__,n=Y(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Ut.call(t,n,1),!0}function E(e){var t=this.__data__,n=Y(t,e);return n<0?void 0:t[n][1]}function w(e){return Y(this.__data__,e)>-1}function C(e,t){var n=this.__data__,r=Y(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function M(){this.__data__={hash:new f,map:new(Bt||_),string:new f}}function S(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function O(e){return oe(this,e).has(e)}function k(e,t){return oe(this,e).set(e,t),this}function I(e){var t=-1,n=e?e.length:0;for(this.__data__=new P;++t<n;)this.add(e[t])}function D(e){return this.__data__.set(e,Fe),this}function N(e){return this.__data__.has(e)}function A(e){this.__data__=new _(e)}function R(){this.__data__=new _}function L(e){return this.__data__.delete(e)}function j(e){return this.__data__.get(e)}function F(e){return this.__data__.has(e)}function U(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==je&&(n=this.__data__=new P(n.__data__)),n.set(e,t),this}function Y(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function W(e,t){t=me(t,e)?[t]:Q(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ge(t[n++])];return n&&n==r?e:void 0}function q(e,t){return Nt.call(e,t)||"object"==typeof e&&t in e&&null===se(e)}function B(e,t){return t in Object(e)}function H(e,t,n,r,o){return e===t||(null==e||null==t||!Pe(e)&&!Me(t)?e!==e&&t!==t:z(e,t,H,n,r,o))}function z(e,t,n,r,o,i){var a=nn(e),s=nn(t),u=He,c=He;a||(u=ue(e),u=u==Be?Xe:u),s||(c=ue(t),c=c==Be?Xe:c);var d=u==Xe&&!l(e),m=c==Xe&&!l(t),f=u==c;if(f&&!d)return i||(i=new A),a||ke(e)?te(e,t,n,r,o,i):ne(e,t,u,n,r,o,i);if(!(o&Ye)){var p=d&&Nt.call(e,"__wrapped__"),h=m&&Nt.call(t,"__wrapped__");if(p||h){var y=p?e.value():e,g=h?t.value():t;return i||(i=new A),n(y,g,r,o,i)}}return!!f&&(i||(i=new A),re(e,t,n,r,o,i))}function V(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],l=e[u],c=s[1];if(a&&s[2]){if(void 0===l&&!(u in e))return!1}else{var d=new A;if(r)var m=r(l,c,u,e,t,d);if(!(void 0===m?H(c,l,r,Ue|Ye,d):m))return!1}}return!0}function G(e){return"function"==typeof e?e:null==e?Ae:"object"==typeof e?nn(e)?Z(e[0],e[1]):$(e):Re(e)}function K(e){return Wt(Object(e))}function $(e){var t=ie(e);return 1==t.length&&t[0][2]?ye(t[0][0],t[0][1]):function(n){return n===e||V(n,e,t)}}function Z(e,t){return me(e)&&he(t)?ye(ge(e),t):function(n){var r=Ie(n,e);return void 0===r&&r===t?De(n,e):H(t,r,void 0,Ue|Ye)}}function J(e){return function(t){return null==t?void 0:t[e]}}function X(e){return function(t){return W(t,e)}}function Q(e){return nn(e)?e:Le(e)}function ee(e){return function(t){var n=ue(t);return n==Ze?c(t):n==tt?m(t):s(t,e(t))}}function te(e,t,n,r,o,a){var s=o&Ye,u=e.length,l=t.length;if(u!=l&&!(s&&l>u))return!1;var c=a.get(e);if(c)return c==t;var d=-1,m=!0,f=o&Ue?new I:void 0;for(a.set(e,t);++d<u;){var p=e[d],h=t[d];if(r)var y=s?r(h,p,d,t,e,a):r(p,h,d,e,t,a);if(void 0!==y){if(y)continue;m=!1;break}if(f){if(!i(t,function(e,t){if(!f.has(t)&&(p===e||n(p,e,r,o,a)))return f.add(t)})){m=!1;break}}else if(p!==h&&!n(p,h,r,o,a)){m=!1;break}}return a.delete(e),m}function ne(e,t,n,r,o,i,a){switch(n){case at:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case it:return!(e.byteLength!=t.byteLength||!r(new jt(e),new jt(t)));case ze:case Ve:return+e==+t;case Ge:return e.name==t.name&&e.message==t.message;case Je:return e!=+e?t!=+t:e==+t;case et:case nt:return e==t+"";case Ze:var s=c;case tt:var u=i&Ye;if(s||(s=d),e.size!=t.size&&!u)return!1;var l=a.get(e);return l?l==t:(i|=Ue,a.set(e,t),te(s(e),s(t),r,o,i,a));case rt:if(en)return en.call(e)==en.call(t)}return!1}function re(e,t,n,r,o,i){var a=o&Ye,s=Ne(e),u=s.length,l=Ne(t),c=l.length;if(u!=c&&!a)return!1;for(var d=u;d--;){var m=s[d];if(!(a?m in t:q(t,m)))return!1}var f=i.get(e);if(f)return f==t;var p=!0;i.set(e,t);for(var h=a;++d<u;){m=s[d];var y=e[m],g=t[m];if(r)var v=a?r(g,y,m,t,e,i):r(y,g,m,e,t,i);if(!(void 0===v?y===g||n(y,g,r,o,i):v)){p=!1;break}h||(h="constructor"==m)}if(p&&!h){var _=e.constructor,T=t.constructor;_!=T&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof T&&T instanceof T)&&(p=!1)}return i.delete(e),p}function oe(e,t){var n=e.__data__;return fe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e){for(var t=rn(e),n=t.length;n--;)t[n][2]=he(t[n][1]);return t}function ae(e,t){var n=e[t];return Se(n)?n:void 0}function se(e){return Yt(Object(e))}function ue(e){return At.call(e)}function le(e,t,n){t=me(t,e)?[t]:Q(t);for(var r,o=-1,i=t.length;++o<i;){var a=ge(t[o]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var i=e?e.length:0;return!!i&&Ce(i)&&de(a,i)&&(nn(e)||xe(e)||Te(e))}function ce(e){var t=e?e.length:void 0;return Ce(t)&&(nn(e)||xe(e)||Te(e))?a(t,String):null}function de(e,t){return t=null==t?qe:t,!!t&&("number"==typeof e||Tt.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(nn(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Oe(e))||(gt.test(e)||!yt.test(e)||null!=t&&e in Object(t))}function fe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function pe(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||It;return e===n}function he(e){return e===e&&!Pe(e)}function ye(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function ge(e){if("string"==typeof e||Oe(e))return e;var t=e+"";return"0"==t&&1/e==-We?"-0":t}function ve(e){if(null!=e){try{return Dt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function _e(e,t){return e===t||e!==e&&t!==t}function Te(e){return Ee(e)&&Nt.call(e,"callee")&&(!Ft.call(e,"callee")||At.call(e)==Be)}function be(e){return null!=e&&Ce(tn(e))&&!we(e)}function Ee(e){return Me(e)&&be(e)}function we(e){var t=Pe(e)?At.call(e):"";return t==Ke||t==$e}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=qe}function Pe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return!!e&&"object"==typeof e}function Se(e){if(!Pe(e))return!1;var t=we(e)||l(e)?Rt:_t;return t.test(ve(e))}function xe(e){return"string"==typeof e||!nn(e)&&Me(e)&&At.call(e)==nt}function Oe(e){return"symbol"==typeof e||Me(e)&&At.call(e)==rt}function ke(e){return Me(e)&&Ce(e.length)&&!!bt[At.call(e)]}function Ie(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function De(e,t){return null!=e&&le(e,t,B)}function Ne(e){var t=pe(e);if(!t&&!be(e))return K(e);var n=ce(e),r=!!n,o=n||[],i=o.length;for(var a in e)!q(e,a)||r&&("length"==a||de(a,i))||t&&"constructor"==a||o.push(a);return o}function Ae(e){return e}function Re(e){return me(e)?J(ge(e)):X(e)}var Le=n(100),je=200,Fe="__lodash_hash_undefined__",Ue=1,Ye=2,We=1/0,qe=9007199254740991,Be="[object Arguments]",He="[object Array]",ze="[object Boolean]",Ve="[object Date]",Ge="[object Error]",Ke="[object Function]",$e="[object GeneratorFunction]",Ze="[object Map]",Je="[object Number]",Xe="[object Object]",Qe="[object Promise]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",ot="[object WeakMap]",it="[object ArrayBuffer]",at="[object DataView]",st="[object Float32Array]",ut="[object Float64Array]",lt="[object Int8Array]",ct="[object Int16Array]",dt="[object Int32Array]",mt="[object Uint8Array]",ft="[object Uint8ClampedArray]",pt="[object Uint16Array]",ht="[object Uint32Array]",yt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gt=/^\w*$/,vt=/[\\^$.*+?()[\]{}|]/g,_t=/^\[object .+?Constructor\]$/,Tt=/^(?:0|[1-9]\d*)$/,bt={};bt[st]=bt[ut]=bt[lt]=bt[ct]=bt[dt]=bt[mt]=bt[ft]=bt[pt]=bt[ht]=!0,bt[Be]=bt[He]=bt[it]=bt[ze]=bt[at]=bt[Ve]=bt[Ge]=bt[Ke]=bt[Ze]=bt[Je]=bt[Xe]=bt[et]=bt[tt]=bt[nt]=bt[ot]=!1;var Et={function:!0,object:!0},wt=Et[typeof t]&&t&&!t.nodeType?t:void 0,Ct=Et[typeof e]&&e&&!e.nodeType?e:void 0,Pt=u(wt&&Ct&&"object"==typeof r&&r),Mt=u(Et[typeof self]&&self),St=u(Et[typeof window]&&window),xt=u(Et[typeof this]&&this),Ot=Pt||St!==(xt&&xt.window)&&St||Mt||xt||Function("return this")(),kt=Array.prototype,It=Object.prototype,Dt=Function.prototype.toString,Nt=It.hasOwnProperty,At=It.toString,Rt=RegExp("^"+Dt.call(Nt).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Lt=Ot.Symbol,jt=Ot.Uint8Array,Ft=It.propertyIsEnumerable,Ut=kt.splice,Yt=Object.getPrototypeOf,Wt=Object.keys,qt=ae(Ot,"DataView"),Bt=ae(Ot,"Map"),Ht=ae(Ot,"Promise"),zt=ae(Ot,"Set"),Vt=ae(Ot,"WeakMap"),Gt=ae(Object,"create"),Kt=ve(qt),$t=ve(Bt),Zt=ve(Ht),Jt=ve(zt),Xt=ve(Vt),Qt=Lt?Lt.prototype:void 0,en=Qt?Qt.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=T,_.prototype.delete=b,_.prototype.get=E,_.prototype.has=w,_.prototype.set=C,P.prototype.clear=M,P.prototype.delete=S,P.prototype.get=x,P.prototype.has=O,P.prototype.set=k,I.prototype.add=I.prototype.push=D,I.prototype.has=N,A.prototype.clear=R,A.prototype.delete=L,A.prototype.get=j,A.prototype.has=F,A.prototype.set=U;var tn=J("length");(qt&&ue(new qt(new ArrayBuffer(1)))!=at||Bt&&ue(new Bt)!=Ze||Ht&&ue(Ht.resolve())!=Qe||zt&&ue(new zt)!=tt||Vt&&ue(new Vt)!=ot)&&(ue=function(e){var t=At.call(e),n=t==Xe?e.constructor:void 0,r=n?ve(n):void 0;if(r)switch(r){case Kt:return at;case $t:return Ze;case Zt:return Qe;case Jt:return tt;case Xt:return ot}return t});var nn=Array.isArray,rn=ee(Ne);e.exports=G}).call(t,n(99)(e),function(){return this}())},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){(function(e,r){function o(e){return e&&e.Object===Object?e:null}function i(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function a(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function s(){this.__data__=ae?ae(null):{}}function u(e){return this.has(e)&&delete this.__data__[e]}function l(e){var t=this.__data__;if(ae){var n=t[e];return n===j?void 0:n}return te.call(t,e)?t[e]:void 0}function c(e){var t=this.__data__;return ae?void 0!==t[e]:te.call(t,e)}function d(e,t){var n=this.__data__;return n[e]=ae&&void 0===t?j:t,this}function m(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function f(){this.__data__=[]}function p(e){var t=this.__data__,n=C(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():oe.call(t,n,1),!0}function h(e){var t=this.__data__,n=C(t,e);return n<0?void 0:t[n][1]}function y(e){return C(this.__data__,e)>-1}function g(e,t){var n=this.__data__,r=C(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function v(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _(){this.__data__={hash:new a,map:new(ie||m),string:new a}}function T(e){return P(this,e).delete(e)}function b(e){return P(this,e).get(e)}function E(e){return P(this,e).has(e)}function w(e,t){return P(this,e).set(e,t),this}function C(e,t){for(var n=e.length;n--;)if(k(e[n][0],t))return n;return-1}function P(e,t){var n=e.__data__;return S(t)?n["string"==typeof t?"string":"hash"]:n.map}function M(e,t){var n=e[t];return N(n)?n:void 0}function S(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function x(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function O(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(L);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(O.Cache||v),n}function k(e,t){return e===t||e!==e&&t!==t}function I(e){var t=D(e)?ne.call(e):"";return t==F||t==U}function D(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function N(e){if(!D(e))return!1;var t=I(e)||i(e)?re:B;return t.test(x(e))}function A(e){return null==e?"":R(e)}var R=n(101),L="Expected a function",j="__lodash_hash_undefined__",F="[object Function]",U="[object GeneratorFunction]",Y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,W=/[\\^$.*+?()[\]{}|]/g,q=/\\(\\)?/g,B=/^\[object .+?Constructor\]$/,H={function:!0,object:!0},z=H[typeof t]&&t&&!t.nodeType?t:void 0,V=H[typeof e]&&e&&!e.nodeType?e:void 0,G=o(z&&V&&"object"==typeof r&&r),K=o(H[typeof self]&&self),$=o(H[typeof window]&&window),Z=o(H[typeof this]&&this),J=G||$!==(Z&&Z.window)&&$||K||Z||Function("return this")(),X=Array.prototype,Q=Object.prototype,ee=Function.prototype.toString,te=Q.hasOwnProperty,ne=Q.toString,re=RegExp("^"+ee.call(te).replace(W,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),oe=X.splice,ie=M(J,"Map"),ae=M(Object,"create");a.prototype.clear=s,a.prototype.delete=u,a.prototype.get=l,a.prototype.has=c,a.prototype.set=d,m.prototype.clear=f,m.prototype.delete=p,m.prototype.get=h,m.prototype.has=y,m.prototype.set=g,v.prototype.clear=_,v.prototype.delete=T,v.prototype.get=b,v.prototype.has=E,v.prototype.set=w;var se=O(function(e){var t=[];return A(e).replace(Y,function(e,n,r,o){t.push(r?o.replace(q,"$1"):n||e)}),t});O.Cache=v,e.exports=se}).call(t,n(99)(e),function(){return this}())},function(e,t,n){(function(e,n){function r(e){return e&&e.Object===Object?e:null}function o(e){if("string"==typeof e)return e;if(a(e))return b?b.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&v.call(e)==u}var s=1/0,u="[object Symbol]",l={function:!0,object:!0},c=l[typeof t]&&t&&!t.nodeType?t:void 0,d=l[typeof e]&&e&&!e.nodeType?e:void 0,m=r(c&&d&&"object"==typeof n&&n),f=r(l[typeof self]&&self),p=r(l[typeof window]&&window),h=r(l[typeof this]&&this),y=m||p!==(h&&h.window)&&p||f||h||Function("return this")(),g=Object.prototype,v=g.toString,_=y.Symbol,T=_?_.prototype:void 0,b=T?T.toString:void 0;e.exports=o}).call(t,n(99)(e),function(){return this}())},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function r(e,t){var r=P(e)||u(e)?n(e.length,String):[],o=r.length,a=!!o;for(var s in e)!t&&!E.call(e,s)||a&&("length"==s||i(s,o))||r.push(s);return r}function o(e){if(!f(e))return s(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&E.call(e,r))&&n.push(r);return n}function i(e,t){return t=null==t?y:t,!!t&&("number"==typeof e||T.test(e))&&e>-1&&e%1==0&&e<t}function a(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||b;return e===n}function s(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function u(e){return c(e)&&E.call(e,"callee")&&(!C.call(e,"callee")||w.call(e)==g)}function l(e){return null!=e&&m(e.length)&&!d(e)}function c(e){return p(e)&&l(e)}function d(e){var t=f(e)?w.call(e):"";return t==v||t==_}function m(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=y}function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function p(e){return!!e&&"object"==typeof e}function h(e){return l(e)?r(e,!0):o(e)}var y=9007199254740991,g="[object Arguments]",v="[object Function]",_="[object GeneratorFunction]",T=/^(?:0|[1-9]\d*)$/,b=Object.prototype,E=b.hasOwnProperty,w=b.toString,C=b.propertyIsEnumerable,P=Array.isArray;e.exports=h},function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function o(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function i(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function a(){this.__data__=Ge?Ge(null):{}}function s(e){return this.has(e)&&delete this.__data__[e]}function u(e){var t=this.__data__;if(Ge){var n=t[e];return n===se?void 0:n}return We.call(t,e)?t[e]:void 0}function l(e){var t=this.__data__;return Ge?void 0!==t[e]:We.call(t,e)}function c(e,t){var n=this.__data__;return n[e]=Ge&&void 0===t?se:t,this}function d(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(){this.__data__=[]}function f(e){var t=this.__data__,n=I(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ze.call(t,n,1),!0}function p(e){var t=this.__data__,n=I(t,e);return n<0?void 0:t[n][1]}function h(e){return I(this.__data__,e)>-1}function y(e,t){var n=this.__data__,r=I(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function g(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function v(){this.__data__={hash:new i,map:new(Ve||d),string:new i}}function _(e){return F(this,e).delete(e)}function T(e){return F(this,e).get(e)}function b(e){return F(this,e).has(e)}function E(e,t){return F(this,e).set(e,t),this}function w(e){this.__data__=new d(e)}function C(){this.__data__=new d}function P(e){return this.__data__.delete(e)}function M(e){return this.__data__.get(e)}function S(e){return this.__data__.has(e)}function x(e,t){var n=this.__data__;return n instanceof d&&n.__data__.length==ae&&(n=this.__data__=new g(n.__data__)),n.set(e,t),this}function O(e,t,n){(void 0===n||H(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}function k(e,t,n){var r=e[t];We.call(e,t)&&H(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function I(e,t){for(var n=e.length;n--;)if(H(e[n][0],t))return n;return-1}function D(e,t,n,o,i){if(e!==t){if(!$e(t)&&!Q(t))var a=re(t);r(a||t,function(r,s){if(a&&(s=r,r=t[s]),Z(r))i||(i=new w),N(e,t,s,n,D,o,i);else{var u=o?o(e[s],r,s+"",e,t,i):void 0;void 0===u&&(u=r),O(e,s,u)}})}}function N(e,t,n,r,o,i,a){var s=e[n],u=t[n],l=a.get(u);if(l)return void O(e,n,l);var c=i?i(s,u,n+"",e,t,a):void 0,d=void 0===c;d&&(c=u,$e(u)||Q(u)?$e(s)?c=s:G(s)?c=R(s):(d=!1,c=te(u,!0)):ne(u)||z(u)?z(s)?c=ee(s):!Z(s)||r&&K(s)?(d=!1,c=te(u,!0)):c=s:d=!1),a.set(u,c),d&&o(c,u,r,i,a),a.delete(u),O(e,n,c)}function A(e){return function(t){return null==t?void 0:t[e]}}function R(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function L(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];k(n,a,s)}return n}function j(e){return oe(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&W(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,i)}return t})}function F(e,t){var n=e.__data__;return q(t)?n["string"==typeof t?"string":"hash"]:n.map}function U(e,t){var n=e[t];return X(n)?n:void 0}function Y(e,t){return t=null==t?ue:t,!!t&&("number"==typeof e||Le.test(e))&&e>-1&&e%1==0&&e<t}function W(e,t,n){if(!Z(n))return!1;var r=typeof t;return!!("number"==r?V(n)&&Y(t,n.length):"string"==r&&t in n)&&H(n[t],e)}function q(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function B(e){if(null!=e){try{return Ye.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function H(e,t){return e===t||e!==e&&t!==t}function z(e){return G(e)&&We.call(e,"callee")&&(!He.call(e,"callee")||qe.call(e)==le)}function V(e){return null!=e&&$(Ke(e))&&!K(e)}function G(e){return J(e)&&V(e)}function K(e){var t=Z(e)?qe.call(e):"";return t==pe||t==he}function $(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ue}function Z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function J(e){return!!e&&"object"==typeof e}function X(e){if(!Z(e))return!1;var t=K(e)||o(e)?Be:Re;return t.test(B(e))}function Q(e){return J(e)&&$(e.length)&&!!je[qe.call(e)]}function ee(e){return L(e,re(e))}var te=n(104),ne=n(105),re=n(102),oe=n(106),ie=n(107),ae=200,se="__lodash_hash_undefined__",ue=9007199254740991,le="[object Arguments]",ce="[object Array]",de="[object Boolean]",me="[object Date]",fe="[object Error]",pe="[object Function]",he="[object GeneratorFunction]",ye="[object Map]",ge="[object Number]",ve="[object Object]",_e="[object RegExp]",Te="[object Set]",be="[object String]",Ee="[object WeakMap]",we="[object ArrayBuffer]",Ce="[object DataView]",Pe="[object Float32Array]",Me="[object Float64Array]",Se="[object Int8Array]",xe="[object Int16Array]",Oe="[object Int32Array]",ke="[object Uint8Array]",Ie="[object Uint8ClampedArray]",De="[object Uint16Array]",Ne="[object Uint32Array]",Ae=/[\\^$.*+?()[\]{}|]/g,Re=/^\[object .+?Constructor\]$/,Le=/^(?:0|[1-9]\d*)$/,je={};je[Pe]=je[Me]=je[Se]=je[xe]=je[Oe]=je[ke]=je[Ie]=je[De]=je[Ne]=!0,je[le]=je[ce]=je[we]=je[de]=je[Ce]=je[me]=je[fe]=je[pe]=je[ye]=je[ge]=je[ve]=je[_e]=je[Te]=je[be]=je[Ee]=!1;var Fe=Array.prototype,Ue=Object.prototype,Ye=Function.prototype.toString,We=Ue.hasOwnProperty,qe=Ue.toString,Be=RegExp("^"+Ye.call(We).replace(Ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=Ue.propertyIsEnumerable,ze=Fe.splice,Ve=U(ie,"Map"),Ge=U(Object,"create");i.prototype.clear=a,i.prototype.delete=s,i.prototype.get=u,i.prototype.has=l,i.prototype.set=c,d.prototype.clear=m,d.prototype.delete=f,d.prototype.get=p,d.prototype.has=h,d.prototype.set=y,g.prototype.clear=v,g.prototype.delete=_,g.prototype.get=T,g.prototype.has=b,g.prototype.set=E,w.prototype.clear=C,w.prototype.delete=P,w.prototype.get=M,w.prototype.has=S,w.prototype.set=x;var Ke=A("length"),$e=Array.isArray,Ze=j(function(e,t,n){D(e,t,n)});e.exports=Ze},function(e,t,n){(function(e,n){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function a(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function s(e,t,n,r){var o=-1,i=e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function u(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function l(e){return e&&e.Object===Object?e:null}function c(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function d(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function m(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Ut?Ut(null):{}}function h(e){return this.has(e)&&delete this.__data__[e]}function y(e){var t=this.__data__;if(Ut){var n=t[e];return n===ke?void 0:n}return Et.call(t,e)?t[e]:void 0}function g(e){var t=this.__data__;return Ut?void 0!==t[e]:Et.call(t,e)}function v(e,t){var n=this.__data__;return n[e]=Ut&&void 0===t?ke:t,this}function _(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(){this.__data__=[]}function b(e){var t=this.__data__,n=F(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():It.call(t,n,1),!0}function E(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]}function w(e){return F(this.__data__,e)>-1}function C(e,t){var n=this.__data__,r=F(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function M(){this.__data__={hash:new f,map:new(Rt||_),string:new f}}function S(e){return oe(this,e).delete(e)}function x(e){return oe(this,e).get(e)}function O(e){return oe(this,e).has(e)}function k(e,t){return oe(this,e).set(e,t),this}function I(e){this.__data__=new _(e)}function D(){this.__data__=new _}function N(e){return this.__data__.delete(e)}function A(e){return this.__data__.get(e)}function R(e){return this.__data__.has(e)}function L(e,t){var n=this.__data__;return n instanceof _&&n.__data__.length==Oe&&(n=this.__data__=new P(n.__data__)),n.set(e,t),this}function j(e,t,n){var r=e[t];Et.call(e,t)&&ge(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function F(e,t){for(var n=e.length;n--;)if(ge(e[n][0],t))return n;return-1}function U(e,t){return e&&te(t,Se(t),e)}function Y(e,t,n,r,o,a,s){var u;if(r&&(u=a?r(e,o,a,s):r(e)),void 0!==u)return u;if(!we(e))return e;var l=Kt(e);if(l){if(u=le(e),!t)return ee(e,u)}else{var d=ue(e),m=d==je||d==Fe;if($t(e))return V(e,t);if(d==We||d==De||m&&!a){if(c(e))return a?e:{};if(u=ce(m?{}:e),!t)return ne(e,U(u,e))}else{if(!lt[d])return a?e:{};u=de(e,d,Y,t)}}s||(s=new I);var f=s.get(e);if(f)return f;if(s.set(e,u),!l)var p=n?re(e):Se(e);return i(p||e,function(o,i){p&&(i=o,o=e[i]),j(u,i,Y(o,t,n,r,i,e,s))}),u}function W(e){return we(e)?Ot(e):{}}function q(e,t,n){var r=t(e);return Kt(e)?r:a(r,n(e))}function B(e,t){return Et.call(e,t)||"object"==typeof e&&t in e&&null===ae(e)}function H(e){return Nt(Object(e))}function z(e){return function(t){return null==t?void 0:t[e]}}function V(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}function G(e){var t=new e.constructor(e.byteLength);return new St(t).set(new St(e)),t}function K(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function $(e,t,n){var o=t?n(d(e),!0):d(e);return s(o,r,new e.constructor)}function Z(e){var t=new e.constructor(e.source,at.exec(e));return t.lastIndex=e.lastIndex,t}function J(e,t,n){var r=t?n(m(e),!0):m(e);return s(r,o,new e.constructor)}function X(e){return Vt?Object(Vt.call(e)):{}}function Q(e,t){var n=t?G(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ee(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function te(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var a=t[o],s=r?r(n[a],e[a],a,n,e):e[a];j(n,a,s)}return n}function ne(e,t){return te(e,se(e),t)}function re(e){return q(e,Se,se)}function oe(e,t){var n=e.__data__;return pe(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e,t){var n=e[t];return Pe(n)?n:void 0}function ae(e){return Dt(Object(e))}function se(e){return xt(Object(e))}function ue(e){return wt.call(e)}function le(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&Et.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function ce(e){return"function"!=typeof e.constructor||he(e)?{}:W(ae(e))}function de(e,t,n,r){var o=e.constructor;switch(t){case Ke:return G(e);case Ae:case Re:return new o(+e);case $e:return K(e,r);case Ze:case Je:case Xe:case Qe:case et:case tt:case nt:case rt:case ot:return Q(e,r);case Ue:return $(e,r,n);case Ye:case ze:return new o(e);case Be:return Z(e);case He:return J(e,r,n);case Ve:return X(e)}}function me(e){var t=e?e.length:void 0;return Ee(t)&&(Kt(e)||Me(e)||ve(e))?u(t,String):null}function fe(e,t){return t=null==t?Ie:t,!!t&&("number"==typeof e||ut.test(e))&&e>-1&&e%1==0&&e<t}function pe(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function he(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||Tt;return e===n}function ye(e){if(null!=e){try{return bt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ge(e,t){return e===t||e!==e&&t!==t}function ve(e){return Te(e)&&Et.call(e,"callee")&&(!kt.call(e,"callee")||wt.call(e)==De)}function _e(e){return null!=e&&Ee(Gt(e))&&!be(e)}function Te(e){return Ce(e)&&_e(e)}function be(e){var t=we(e)?wt.call(e):"";return t==je||t==Fe}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ie}function we(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ce(e){return!!e&&"object"==typeof e}function Pe(e){if(!we(e))return!1;var t=be(e)||c(e)?Ct:st;return t.test(ye(e))}function Me(e){return"string"==typeof e||!Kt(e)&&Ce(e)&&wt.call(e)==ze}function Se(e){var t=he(e);if(!t&&!_e(e))return H(e);var n=me(e),r=!!n,o=n||[],i=o.length;for(var a in e)!B(e,a)||r&&("length"==a||fe(a,i))||t&&"constructor"==a||o.push(a);return o}function xe(e){return function(){return e}}var Oe=200,ke="__lodash_hash_undefined__",Ie=9007199254740991,De="[object Arguments]",Ne="[object Array]",Ae="[object Boolean]",Re="[object Date]",Le="[object Error]",je="[object Function]",Fe="[object GeneratorFunction]",Ue="[object Map]",Ye="[object Number]",We="[object Object]",qe="[object Promise]",Be="[object RegExp]",He="[object Set]",ze="[object String]",Ve="[object Symbol]",Ge="[object WeakMap]",Ke="[object ArrayBuffer]",$e="[object DataView]",Ze="[object Float32Array]",Je="[object Float64Array]",Xe="[object Int8Array]",Qe="[object Int16Array]",et="[object Int32Array]",tt="[object Uint8Array]",nt="[object Uint8ClampedArray]",rt="[object Uint16Array]",ot="[object Uint32Array]",it=/[\\^$.*+?()[\]{}|]/g,at=/\w*$/,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[De]=lt[Ne]=lt[Ke]=lt[$e]=lt[Ae]=lt[Re]=lt[Ze]=lt[Je]=lt[Xe]=lt[Qe]=lt[et]=lt[Ue]=lt[Ye]=lt[We]=lt[Be]=lt[He]=lt[ze]=lt[Ve]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=!0,lt[Le]=lt[je]=lt[Ge]=!1;var ct={function:!0,object:!0},dt=ct[typeof t]&&t&&!t.nodeType?t:void 0,mt=ct[typeof e]&&e&&!e.nodeType?e:void 0,ft=mt&&mt.exports===dt?dt:void 0,pt=l(dt&&mt&&"object"==typeof n&&n),ht=l(ct[typeof self]&&self),yt=l(ct[typeof window]&&window),gt=l(ct[typeof this]&&this),vt=pt||yt!==(gt&&gt.window)&&yt||ht||gt||Function("return this")(),_t=Array.prototype,Tt=Object.prototype,bt=Function.prototype.toString,Et=Tt.hasOwnProperty,wt=Tt.toString,Ct=RegExp("^"+bt.call(Et).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=ft?vt.Buffer:void 0,Mt=vt.Symbol,St=vt.Uint8Array,xt=Object.getOwnPropertySymbols,Ot=Object.create,kt=Tt.propertyIsEnumerable,It=_t.splice,Dt=Object.getPrototypeOf,Nt=Object.keys,At=ie(vt,"DataView"),Rt=ie(vt,"Map"),Lt=ie(vt,"Promise"),jt=ie(vt,"Set"),Ft=ie(vt,"WeakMap"),Ut=ie(Object,"create"),Yt=ye(At),Wt=ye(Rt),qt=ye(Lt),Bt=ye(jt),Ht=ye(Ft),zt=Mt?Mt.prototype:void 0,Vt=zt?zt.valueOf:void 0;f.prototype.clear=p,f.prototype.delete=h,f.prototype.get=y,f.prototype.has=g,f.prototype.set=v,_.prototype.clear=T,_.prototype.delete=b,_.prototype.get=E,_.prototype.has=w,_.prototype.set=C,P.prototype.clear=M,P.prototype.delete=S,P.prototype.get=x,P.prototype.has=O,P.prototype.set=k,I.prototype.clear=D,I.prototype.delete=N,I.prototype.get=A,I.prototype.has=R,I.prototype.set=L;var Gt=z("length");xt||(se=function(){return[]}),(At&&ue(new At(new ArrayBuffer(1)))!=$e||Rt&&ue(new Rt)!=Ue||Lt&&ue(Lt.resolve())!=qe||jt&&ue(new jt)!=He||Ft&&ue(new Ft)!=Ge)&&(ue=function(e){var t=wt.call(e),n=t==We?e.constructor:void 0,r=n?ye(n):void 0;if(r)switch(r){case Yt:return $e;case Wt:return Ue;case qt:return qe;case Bt:return He;case Ht:return Ge}return t});var Kt=Array.isArray,$t=Pt?function(e){return e instanceof Pt}:xe(!1);e.exports=Y}).call(t,n(99)(e),function(){return this}())},function(e,t){function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function r(e,t){return function(n){return e(t(n))}}function o(e){return!!e&&"object"==typeof e}function i(e){if(!o(e)||m.call(e)!=a||n(e))return!1;var t=f(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==d}var a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object),m=u.toString,f=r(Object.getPrototypeOf,Object);e.exports=i},function(e,t){ function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t){return t=w(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=w(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=a,n(e,this,s)}}function o(e,t){if("function"!=typeof e)throw new TypeError(d);return t=void 0===t?t:l(t),r(e,t)}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==typeof e}function s(e){return"symbol"==typeof e||a(e)&&E.call(e)==h}function u(e){if(!e)return 0===e?e:0;if(e=c(e),e===m||e===-m){var t=e<0?-1:1;return t*f}return e===e?e:0}function l(e){var t=u(e),n=t%1;return t===t?n?t-n:t:0}function c(e){if("number"==typeof e)return e;if(s(e))return p;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(y,"");var n=v.test(e);return n||_.test(e)?T(e.slice(2),n?2:8):g.test(e)?p:+e}var d="Expected a function",m=1/0,f=1.7976931348623157e308,p=NaN,h="[object Symbol]",y=/^\s+|\s+$/g,g=/^[-+]0x[0-9a-f]+$/i,v=/^0b[01]+$/i,_=/^0o[0-7]+$/i,T=parseInt,b=Object.prototype,E=b.toString,w=Math.max;e.exports=o},function(e,t,n){(function(e,n){function r(e){return e&&e.Object===Object?e:null}var o={function:!0,object:!0},i=o[typeof t]&&t&&!t.nodeType?t:void 0,a=o[typeof e]&&e&&!e.nodeType?e:void 0,s=r(i&&a&&"object"==typeof n&&n),u=r(o[typeof self]&&self),l=r(o[typeof window]&&window),c=r(o[typeof this]&&this),d=s||l!==(c&&c.window)&&l||u||c||Function("return this")();e.exports=d}).call(t,n(99)(e),function(){return this}())},function(e,t){(function(t){function n(e,t,n){function r(t){var n=h,r=y;return h=y=void 0,C=t,v=e.apply(r,n)}function i(e){return C=e,_=setTimeout(c,t),P?r(e):v}function a(e){var n=e-T,r=e-C,o=t-n;return M?E(o,g-r):o}function l(e){var n=e-T,r=e-C;return void 0===T||n>=t||n<0||M&&r>=g}function c(){var e=w();return l(e)?d(e):void(_=setTimeout(c,a(e)))}function d(e){return _=void 0,S&&h?r(e):(h=y=void 0,v)}function m(){void 0!==_&&clearTimeout(_),C=0,h=T=y=_=void 0}function f(){return void 0===_?v:d(w())}function p(){var e=w(),n=l(e);if(h=arguments,y=this,T=e,n){if(void 0===_)return i(T);if(M)return _=setTimeout(c,t),r(T)}return void 0===_&&(_=setTimeout(c,t)),v}var h,y,g,v,_,T,C=0,P=!1,M=!1,S=!0;if("function"!=typeof e)throw new TypeError(u);return t=s(t)||0,o(n)&&(P=!!n.leading,M="maxWait"in n,g=M?b(s(n.maxWait)||0,t):g,S="trailing"in n?!!n.trailing:S),p.cancel=m,p.flush=f,p}function r(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(u);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&T.call(e)==c}function s(e){if("number"==typeof e)return e;if(a(e))return l;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):m.test(e)?l:+e}var u="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,m=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,y="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,v=y||g||Function("return this")(),_=Object.prototype,T=_.toString,b=Math.max,E=Math.min,w=function(){return v.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsBootstrap=void 0;var o=n(110),i=r(o),a=n(114),s=r(a),u=n(2),l=r(u),c=n(117),d=r(c),m=n(41),f=r(m),p=n(46),h=r(p),y=n(47),g=r(y),v=n(51),_=r(v),T=n(84),b=r(T);n(94);var E=n(92),w=r(E),C=n(140),P=r(C),M=n(141),S=n(143),x=n(170),O=n(246),k=n(167),I=n(189),D=r(I),N=n(190),A=n(171),R=r(A),L=n(205),j=n(174),F=n(249),U=n(245),Y=n(250),W=r(Y),q=n(175),B=n(252),H=r(B),z=n(258),V=r(z),G=function(e){function t(e){(0,h.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,f.default)(t)).call(this,e));return n.state={idctaData:{},errorMessage:null,personalisationDetails:{enabled:!1},isPageLoading:!0,noJS:!0,displayName:"",under16:!1},(0,x.setEnv)(e.commentsData.body.env),(0,O.addModeSupport)({mode:e.mode,component:n}),n.featureToggles=(0,q.setupFeatureToggles)(e.toggleOverrides),n.theme=H.default.use({component:n,themeVariant:e.themeVariant,product:e.product}),n}return(0,b.default)(t,e),(0,g.default)(t,[{key:"isForumClosed",value:function(){return this.props.commentsData.body.isClosed}},{key:"isForumOpen",value:function(){return!this.isForumClosed()}},{key:"setErrorMessage",value:function(e){var t=(0,L.getMessageKeyForError)(e),n=this.theme.formatMessage(t);this.setState({errorMessage:n})}},{key:"isIdAvailable",value:function(){return this.props.idAvailabilityData.body.isAvailable}},{key:"onIdctaError",value:function(){this.setState({personalisationDetails:{enabled:!1}}),this.setErrorMessage(j.ErrorTypes.IDCTA_FAILED)}},{key:"hasIdctaCss",value:function(){return Array.isArray(this.state.idctaCss)&&this.state.idctaCss.length>0}},{key:"fetchIdctaInfo",value:function(){var e=this,t=this.props,n=t.idctaEnv,r=t.signInContext,o=this.props.commentsData.body.idcta.policy,i=this.isIdAvailable();return R.default.getIdctaInfo({idctaEnv:n,policy:o,signInContext:r,shouldCallIdcta:i}).then(function(t){return e.setState({idctaData:t,personalisationDetails:{enabled:e.isIdAvailable()}})}).catch(function(){return e.onIdctaError()})}},{key:"fetchUserInfo",value:function(){var e=this;return R.default.getUserDetailsFromCookie().then(function(t){return e.setState({displayName:t.displayName?t.displayName:"",under16:t.ageBracket===V.default.under13||t.ageBracket===V.default.under16})}).catch(function(){return e.onIdctaError()})}},{key:"setupModeAndStylesOnBrowser",value:function(){var e=this;return(0,O.addModeSupportOnBrowser)(this.props).then(function(t){var n=t.idctaCss;n&&e.setState({idctaCss:n})})}},{key:"setPageLoadingComplete",value:function(){this.setState({isPageLoading:!1})}},{key:"fetchPersonalisationDetails",value:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(s.default.mark(function e(){var t,n,r,o,i,a;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.apiKey,r=t.forumId,o=this.props.commentsData.body,e.next=4,W.default.getPersonalisationDetails({apiKey:n,forumData:o,forumId:r});case 4:i=e.sent,a=(0,l.default)({},this.state.personalisationDetails,i),this.setState({personalisationDetails:a});case 7:case"end":return e.stop()}},e,this)}));return e}()},{key:"initialiseIStats",value:function(){D.default.initialiseCommonLabels({service:"morph-comments-view",forum_uid:this.props.forumId})}},{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=(0,d.default)(s.default.mark(function e(){var t,n,r;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.setState({noJS:!1}),D.default.logLoadEvent(N.ISTATS_ACTIONS.CommentsLoad,{ns_type:"hidden"}),e.next=4,this.setupModeAndStylesOnBrowser();case 4:return this.initialiseIStats(),e.next=7,this.fetchIdctaInfo();case 7:if(t=this.state.idctaData,n=t&&t.signedIn===!0,r=Boolean(t.policyCheck)===!1,!n){e.next=20;break}return e.next=13,this.fetchUserInfo();case 13:if(!(0,k.not)(this.isIdAvailable())){e.next=17;break}this.setErrorMessage(j.ErrorTypes.ID_UNAVAILABLE),e.next=20;break;case 17:if(!r){e.next=20;break}return e.next=20,this.fetchPersonalisationDetails();case 20:this.setPageLoadingComplete();case 21:case"end":return e.stop()}},e,this)}));return e}()},{key:"getChildContext",value:function(){return{apiKey:this.props.apiKey,forumId:this.props.forumId,isFeatureEnabled:this.featureToggles.isFeatureEnabled,theme:this.theme}}},{key:"render",value:function(){var e=this.props.commentsAggregator.body,t=e.forumData,n=e.loadedComments,r=this.props.setDataParams,o=parseInt(this.props.pageSize,10)||F.PAGE_SIZE;return w.default.createElement("div",{className:(0,P.default)({"comments--loading":this.state.isPageLoading,"comments--no-js":this.state.noJS})},w.default.createElement(M.CommentsModule,{requestToLoadMoreComments:r,forumData:t,loadedComments:n,idctaData:this.state.idctaData,personalisationDetails:this.state.personalisationDetails,errorMessage:this.state.errorMessage,pageSize:o,commentsTitle:this.props.commentsTitle,displayName:this.state.displayName,under16:this.state.under16,forumId:this.props.forumId}),this.hasIdctaCss()&&w.default.createElement(S.Stylesheets,{stylesheets:this.state.idctaCss}))}}]),t}(E.Component);G.displayName="CommentsBootstrap",G.propTypes={styleguide:E.PropTypes.string,idctaEnv:E.PropTypes.string,signInContext:E.PropTypes.string,mode:E.PropTypes.string,commentsData:E.PropTypes.object.isRequired,commentsAggregator:E.PropTypes.object.isRequired,idAvailabilityData:E.PropTypes.object.isRequired,forumId:E.PropTypes.string.isRequired,setDataParams:E.PropTypes.func.isRequired,apiKey:E.PropTypes.string.isRequired,pageSize:E.PropTypes.string,toggleOverrides:E.PropTypes.string,commentsTitle:E.PropTypes.string,themeVariant:E.PropTypes.oneOf((0,i.default)(U.ThemeVariants)),product:E.PropTypes.oneOf((0,i.default)(U.Products))},G.defaultProps={mode:O.MODE_STANDALONE,themeVariant:U.ThemeVariants.DEFAULT,product:U.Products.DEFAULT},G.childContextTypes={apiKey:E.PropTypes.string.isRequired,forumId:E.PropTypes.string.isRequired,isFeatureEnabled:E.PropTypes.func.isRequired,theme:E.PropTypes.shape({themeVariant:E.PropTypes.oneOf((0,i.default)(U.ThemeVariants)),product:E.PropTypes.oneOf((0,i.default)(U.Products)),formatMessage:E.PropTypes.func.isRequired,getIcon:E.PropTypes.func.isRequired,ratingsNumberPlacement:E.PropTypes.string.isRequired}).isRequired},t.CommentsBootstrap=G},function(e,t,n){e.exports={default:n(111),__esModule:!0}},function(e,t,n){n(112),e.exports=n(8).Object.values},function(e,t,n){var r=n(6),o=n(113)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(16),o=n(23),i=n(25),a=n(39).f;e.exports=function(e){return function(t){for(var n,s=i(t),u=o(s),l=u.length,c=0,d=[];l>c;)n=u[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){e.exports=n(115)},function(e,t,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(116),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new f(r||[]);return a._invoke=l(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(e){function t(n,o,i,a){var s=r(e[n],e,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&v.call(l,"__await")?Promise.resolve(l.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(l).then(function(e){u.value=e,i(u)},a)}a(s.arg)}function n(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function l(e,t,n){var o=P;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===x){if("throw"===i)throw a;return h()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=c(s,n);if(u){if(u===O)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===P)throw o=x,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=S;var l=r(e,t,n);if("normal"===l.type){if(o=n.done?x:M,l.arg===O)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=x,n.method="throw",n.arg=l.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===y){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=y,c(e,t),"throw"===t.method))return O;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,O;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=y),t.delegate=null,O):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,O)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function p(e){if(e){var t=e[T];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(v.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=y,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:y,done:!0}}var y,g=Object.prototype,v=g.hasOwnProperty,_="function"==typeof Symbol?Symbol:{},T=_.iterator||"@@iterator",b=_.asyncIterator||"@@asyncIterator",E=_.toStringTag||"@@toStringTag",w="object"==typeof e,C=t.regeneratorRuntime;if(C)return void(w&&(e.exports=C));C=t.regeneratorRuntime=w?e.exports:{},C.wrap=n;var P="suspendedStart",M="suspendedYield",S="executing",x="completed",O={},k={};k[T]=function(){return this};var I=Object.getPrototypeOf,D=I&&I(I(p([])));D&&D!==g&&v.call(D,T)&&(k=D);var N=a.prototype=o.prototype=Object.create(k);i.prototype=N.constructor=a,a.constructor=i,a[E]=i.displayName="GeneratorFunction",C.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},C.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,E in e||(e[E]="GeneratorFunction")),e.prototype=Object.create(N),e},C.awrap=function(e){return{__await:e}},s(u.prototype),u.prototype[b]=function(){return this},C.AsyncIterator=u,C.async=function(e,t,r,o){var i=new u(n(e,t,r,o));return C.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},s(N),N[E]="Generator",N[T]=function(){return this},N.toString=function(){return"[object Generator]"},C.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},C.values=p,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&v.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=y)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=y),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=v.call(o,"catchLoc"),s=v.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&v.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,O):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),O},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;m(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=y),O}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(118),i=r(o);t.default=function(e){return function(){var t=e.apply(this,arguments);return new i.default(function(e,n){function r(o,a){try{var s=t[o](a),u=s.value}catch(e){return void n(e)}return s.done?void e(u):i.default.resolve(u).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}},function(e,t,n){e.exports={default:n(119),__esModule:!0}},function(e,t,n){n(81),n(55),n(66),n(120),n(138),n(139),e.exports=n(8).Promise},function(e,t,n){"use strict";var r,o,i,a,s=n(35),u=n(7),l=n(9),c=n(121),d=n(6),m=n(14),f=n(10),p=n(122),h=n(123),y=n(127),g=n(128).set,v=n(130)(),_=n(131),T=n(132),b=n(133),E=n(134),w="Promise",C=u.TypeError,P=u.process,M=P&&P.versions,S=M&&M.v8||"",x=u[w],O="process"==c(P),k=function(){},I=o=_.f,D=!!function(){try{var e=x.resolve(1),t=(e.constructor={})[n(65)("species")]=function(e){e(k,k)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(k)instanceof t&&0!==S.indexOf("6.6")&&b.indexOf("Chrome/66")===-1}catch(e){}}(),N=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;v(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(o||(2==e._h&&j(e),e._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?l(C("Promise-chain cycle")):(i=N(n))?i.call(n,u,l):u(n)):l(r)}catch(e){c&&!a&&c.exit(),l(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&R(e)})}},R=function(e){g.call(u,function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=T(function(){O?P.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(u,function(){var t;O?P.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=N(e))?v(function(){var r={_w:n,_d:!1};try{t.call(e,l(U,r,1),l(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,A(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};D||(x=function(e){p(this,x,w,"_h"),f(e),r.call(this);try{e(l(U,this,1),l(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(135)(x.prototype,{then:function(e,t){var n=I(y(this,x));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?P.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=l(U,e,1),this.reject=l(F,e,1)},_.f=I=function(e){return e===x||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!D,{Promise:x}),n(64)(x,w),n(136)(w),a=n(8)[w],d(d.S+d.F*!D,w,{reject:function(e){var t=I(this),n=t.reject;return n(e),t.promise}}),d(d.S+d.F*(s||!D),w,{resolve:function(e){return E(s&&this===a?x:this,e)}}),d(d.S+d.F*!(D&&n(137)(function(e){x.all(e).catch(k)})),w,{all:function(e){var t=this,n=I(t),r=n.resolve,o=n.reject,i=T(function(){var n=[],i=0,a=1;h(e,!1,function(e){var s=i++,u=!1;n.push(void 0),a++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=I(t),r=n.reject,o=T(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(27),o=n(65)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(9),o=n(124),i=n(125),a=n(13),s=n(30),u=n(126),l={},c={},t=e.exports=function(e,t,n,d,m){var f,p,h,y,g=m?function(){return e}:u(e),v=r(n,d,t?2:1),_=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(f=s(e.length);f>_;_++)if(y=t?v(a(p=e[_])[0],p[1]):v(e[_]),y===l||y===c)return y}else for(h=g.call(e);!(p=h.next()).done;)if(y=o(h,v,p.value,t),y===l||y===c)return y};t.BREAK=l,t.RETURN=c},function(e,t,n){var r=n(13);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(59),o=n(65)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(121),o=n(65)("iterator"),i=n(59);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(13),o=n(10),i=n(65)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(9),s=n(129),u=n(63),l=n(18),c=n(7),d=c.process,m=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,h=c.Dispatch,y=0,g={},v="onreadystatechange",_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},T=function(e){_.call(e.data)};m&&f||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++y]=function(){s("function"==typeof e?e:Function(e),t)},r(y),y},f=function(e){delete g[e]},"process"==n(27)(d)?r=function(e){d.nextTick(a(_,e,1))}:h&&h.now?r=function(e){h.now(a(_,e,1))}:p?(o=new p,i=o.port2,o.port1.onmessage=T,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",T,!1)):r=v in l("script")?function(e){u.appendChild(l("script"))[v]=function(){u.removeChild(this),_.call(e)}}:function(e){setTimeout(a(_,e,1),0)}),e.exports={set:m,clear:f}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(7),o=n(128).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(27)(a);e.exports=function(){var e,t,n,l=function(){var r,o;for(u&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(l)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var d=!0,m=document.createTextNode("");new i(l).observe(m,{characterData:!0}),n=function(){m.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(10);e.exports.f=function(e){return new r(e)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(7),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var r=n(13),o=n(14),i=n(131);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},function(e,t,n){var r=n(11);e.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(12),a=n(16),s=n(65)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];a&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(65)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(6),o=n(8),i=n(7),a=n(127),s=n(134);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(6),o=n(131),i=n(132);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsModule=void 0;var o=n(110),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),m=n(51),f=r(m),p=n(84),h=r(p),y=n(92),g=r(y),v=n(140),_=r(v),T=n(142),b=n(143),E=n(242),w=n(185),C=n(202),P=n(189),M=r(P),S=n(190),x=n(167),O=n(205),k=n(174),I=n(177),D=r(I),N=n(207),A=r(N),R=n(243),L=n(244),j=n(245),F=void 0,U={slowMessageTimeInSeconds:5,errorMessageTimeInSeconds:36},Y=6e4,W=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={visibleComments:[],hiddenNewlyPostedComments:[],totalCommentsCountIncludingNewComments:n.getForumData().totalCommentsCount,isWaitingForMoreCommentsToLoad:!1,hasFailedToLoadMoreComments:!1,hasForumClosedRecently:!1,audibleMessage:"",scrollToCommentId:0},n.loadMoreComments=n.loadMoreComments.bind(n),n.startLoadingMoreCommentsTimer=n.startLoadingMoreCommentsTimer.bind(n),n.stopLoadingMoreCommentsTimer=n.stopLoadingMoreCommentsTimer.bind(n),n.displayNewlyPostedComments=n.displayNewlyPostedComments.bind(n),n.setA11yAlertText=n.setA11yAlertText.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"getForumData",value:function(){return this.props.forumData}},{key:"getPageSize",value:function(){return this.props.pageSize}},{key:"isForumClosed",value:function(){return this.getForumData().isClosed}},{key:"isForumOpen",value:function(){return!this.isForumClosed()}},{key:"getLoadedComments",value:function(){return this.props.loadedComments}},{key:"hasComments",value:function(){return this.getLoadedComments().length>0}},{key:"hasNoComments",value:function(){return!this.hasComments()}},{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedIn",value:function(){return this.getIdctaData().signedIn===!0}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"showCommentsInput",value:function(){return this.isSignedIn()&&Boolean(this.getIdctaData().policyCheck)===!1&&(this.isForumOpen()||this.isUserAnEditor()||this.hasForumClosedRecently())}},{key:"getErrorMessage",value:function(){return this.props.errorMessage}},{key:"hasError",value:function(){return null!==this.getErrorMessage()}},{key:"isPersonalisationEnabled",value:function(){return this.props.personalisationDetails.enabled}},{key:"isUserAnEditor",value:function(){return this.props.personalisationDetails.isEditor===!0}},{key:"isRatingEnabled",value:function(){return this.isForumOpen()&&this.isPersonalisationEnabled()}},{key:"hasMoreComments",value:function(){var e=this.getLoadedCommentsWithoutNewlyPosted().length,t=this.state.visibleComments,n=t[t.length-1];return e>0&&n.index>0}},{key:"getIndexOfLastLoadedComment",value:function(){var e=this.getLoadedComments();return e[e.length-1].index}},{key:"getNextIndexToLoadFrom",value:function(){return this.getIndexOfLastLoadedComment()>0?this.getIndexOfLastLoadedComment()-1:0}},{key:"canShowNextPageOfComments",value:function(){var e=0===this.getIndexOfLastLoadedComment(),t=this.getLoadedCommentsWithoutNewlyPosted().length,n=this.state.visibleComments.length+this.getPageSize();return e||t>=n}},{key:"startLoadingMoreCommentsTimer",value:function(){var e=this;this.loadingMoreCommentsTimer=setTimeout(function(){M.default.logLoadEvent(S.ISTATS_ACTIONS.FailedToLoadMoreComments),e.setState({hasFailedToLoadMoreComments:!0,isWaitingForMoreCommentsToLoad:!1}),e.setA11yAlertText(e.getLoadingMoreCommentsErrorMessage())},(0,x.secondsToMillis)(U.errorMessageTimeInSeconds))}},{key:"stopLoadingMoreCommentsTimer",value:function(){this.loadingMoreCommentsTimer&&clearTimeout(this.loadingMoreCommentsTimer)}},{key:"getLoadingMoreCommentsErrorMessage",value:function(){return this.context.theme.formatMessage((0,O.getMessageKeyForError)(k.ErrorTypes.MORE_COMMENTS_FAILED))}},{key:"loadMoreComments",value:function(){M.default.logClickEvent(S.ISTATS_ACTIONS.ShowMoreComments),this.setState({hasFailedToLoadMoreComments:!1}),this.canShowNextPageOfComments()?this.showNextPageOfComments():(M.default.logLoadEvent(S.ISTATS_ACTIONS.LoadingMoreComments),this.setState({isWaitingForMoreCommentsToLoad:!0}),this.startLoadingMoreCommentsTimer()),this.getIndexOfLastLoadedComment()>0&&this.props.requestToLoadMoreComments({nextIndexToLoadFrom:this.getNextIndexToLoadFrom()})}},{key:"showInitialPageOfComments",value:function(){var e=this.getPageSize(),t=this.getLoadedComments().slice(0,e);this.setState({visibleComments:t,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"showNextPageOfComments",value:function(){var e=this.state.visibleComments.length+this.getPageSize(),t=this.getLoadedCommentsWithoutNewlyPosted().slice(0,e),n=this.getIdOfLastLoadedVisibleComment();this.setState({scrollToCommentId:n}),this.setState({visibleComments:t,isWaitingForMoreCommentsToLoad:!1}),this.stopLoadingMoreCommentsTimer()}},{key:"getIdOfLastLoadedVisibleComment",value:function(){var e=this.state.visibleComments;return e[e.length-1].id}},{key:"getLoadedCommentsWithoutNewlyPosted",value:function(){var e=this.getLoadedComments();if(!this.state.visibleComments.length)return e;var t=this.state.visibleComments[0].index;return e.filter(function(e){return e.index<=t})}},{key:"getNewlyPostedComments",value:function(e){if(!this.state.visibleComments.length)return[];var t=this.state.visibleComments[0].index;return e.filter(function(e){return e.index>t})}},{key:"displayNewlyPostedComments",value:function(){M.default.logClickEvent(S.ISTATS_ACTIONS.ShowNewComments),this.setState(function(e){return{totalCommentsCountIncludingNewComments:e.totalCommentsCountIncludingNewComments+e.hiddenNewlyPostedComments.length}}),this.setState({hiddenNewlyPostedComments:[]}),this.showInitialPageOfComments()}},{key:"componentWillMount",value:function(){this.showInitialPageOfComments()}},{key:"componentWillReceiveProps",value:function(e){this.isForumOpen()&&e.forumData.isClosed===!0?this.setState({hasForumClosedRecently:!0}):this.isForumClosed()&&e.forumData.isClosed===!1&&this.setState({ hasForumClosedRecently:!1}),this.setState({hiddenNewlyPostedComments:this.getNewlyPostedComments(e.loadedComments)})}},{key:"componentDidUpdate",value:function(e,t){this.state.isWaitingForMoreCommentsToLoad&&this.canShowNextPageOfComments()&&this.showNextPageOfComments();var n=t.hiddenNewlyPostedComments.length>0,r=0===this.state.hiddenNewlyPostedComments.length;n&&r&&(0,T.scrollToElementTop)(this.commentsBodyAnchor)}},{key:"componentWillUnmount",value:function(){this.stopLoadingMoreCommentsTimer()}},{key:"hasForumClosedRecently",value:function(){return this.state.hasForumClosedRecently}},{key:"getCommentsTitle",value:function(){return this.props.commentsTitle?this.props.commentsTitle:this.context.theme.formatMessage("defaultCommentsTitle",{})}},{key:"getModuleTitle",value:function(){return this.context.theme.formatMessage("moduleTitleText",{})}},{key:"setA11yAlertText",value:function(e){var t=this.state.audibleMessage===e?e+" ":e;this.setState({audibleMessage:t})}},{key:"getChildContext",value:function(){return{setA11yAlertText:this.setA11yAlertText}}},{key:"render",value:function(){var e=this,t=this.getForumData(),n=t.title,r=t.commentTextLimit,o=t.moderation,i=t.createForum,a=o.rulesPageUrl,s=o.status,u=this.isUserAnEditor()||0===r?F:r,l=(0,E.getForumLinks)(this.props.personalisationDetails),c=!this.getIdctaData().policyCheck,d=this.context.theme.themeVariant,m=this.context.theme.product;return g.default.createElement("div",{className:(0,_.default)("comments","comments-theme-variant--"+d,"comments__product--"+m,{"comments--waiting":this.state.isWaitingForMoreCommentsToLoad})},g.default.createElement(b.CommentsHeader,null,g.default.createElement("div",{className:"comments__heading-wrapper",id:"comments",tabIndex:"0"},g.default.createElement(b.CommentsModuleTitle,null,this.getModuleTitle()),g.default.createElement(b.CommentsTitle,null,this.getCommentsTitle(n))),g.default.createElement(b.NoJSMessage,null),this.isForumClosed()&&g.default.createElement("p",{className:"comments__message comments__message--closed-forum"},"This entry is now closed for comments."),this.isPersonalisationEnabled()&&g.default.createElement("div",{className:"comments__user-interactions-container"},this.isForumOpen()&&this.isSignedIn()&&g.default.createElement(b.IdctaSignedInMessage,{displayName:this.props.displayName}),!c&&g.default.createElement("p",{dangerouslySetInnerHTML:{__html:this.getIdctaData().signedInMessage}}),l.hasLinks&&g.default.createElement(E.ForumLinks,{forumLinks:l}),this.showCommentsInput()&&g.default.createElement(b.CommentsInput,{isDisabled:this.hasForumClosedRecently(),textLimit:u,moderationStatus:s,createForum:i}),this.isForumOpen()&&g.default.createElement("div",null,this.isSignedOut()&&g.default.createElement("div",null,g.default.createElement("p",{className:"comments__signin--prompt"},this.context.theme.formatMessage("signInPrompt",{})),g.default.createElement(w.IdctaSignInButton,{markup:this.getIdctaData().signInButton})),g.default.createElement(b.CommentsModerationMessage,{rulesPageUrl:a,moderationStatus:s}))),this.hasError()&&g.default.createElement(b.CommentsAlert,{type:C.AlertTypes.ERROR},this.getErrorMessage()),g.default.createElement("div",{className:"comments__comments-total"},g.default.createElement(b.CommentsTotal,{totalCommentsCountIncludingNewComments:this.state.totalCommentsCountIncludingNewComments}))),g.default.createElement(b.CommentsImpressionStat,null),this.hasComments()&&g.default.createElement("div",null,g.default.createElement("div",{className:"comments-body-anchor",ref:function(t){return e.commentsBodyAnchor=t}}),g.default.createElement("div",{className:"comments__body"},g.default.createElement("div",{className:"comments__show-new-comments-container"},this.state.hiddenNewlyPostedComments.length>0&&g.default.createElement(b.ShowNewCommentsButton,{newCommentCount:this.state.hiddenNewlyPostedComments.length,onClick:this.displayNewlyPostedComments})),g.default.createElement(b.CommentsList,{comments:this.state.visibleComments,rulesPageUrl:a,isRatingEnabled:this.isRatingEnabled(),personalisationDetails:this.props.personalisationDetails,idctaData:this.props.idctaData,scrollToCommentId:this.state.scrollToCommentId,forumId:this.props.forumId,commentInputTextLimit:u,commentInputModerationStatus:s,pageSize:this.props.pageSize}))),g.default.createElement(b.CommentsFooter,{className:(0,_.default)({"comments__footer--no-comments":(0,x.not)(this.hasComments()),"comments__footer--closed-forum":this.isForumClosed()})},this.state.hasFailedToLoadMoreComments&&g.default.createElement(b.CommentsAlert,{type:C.AlertTypes.ERROR},this.getLoadingMoreCommentsErrorMessage()),this.hasMoreComments()&&(0,x.not)(this.state.isWaitingForMoreCommentsToLoad)&&g.default.createElement(b.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:this.loadMoreComments,rel:"next"},"More comments"),this.state.isWaitingForMoreCommentsToLoad&&g.default.createElement(b.CommentsLoading,{slowMessageTimerInSeconds:U.slowMessageTimeInSeconds}),this.hasComments()&&g.default.createElement("div",null,g.default.createElement("a",{className:"comments__back-to-top-link",href:"#"+this.props.containerId},"Back to top",g.default.createElement(R.ToTop,null))),g.default.createElement(L.A11yAlertText,{timeout:Y},this.state.audibleMessage)))}}]),t}(y.Component);W.displayName="CommentsModule",W.defaultProps={containerId:"comments",errorMessage:null,commentsTitle:null},W.propTypes={idctaData:y.PropTypes.object,errorMessage:y.PropTypes.string,personalisationDetails:y.PropTypes.shape({enabled:y.PropTypes.bool.isRequired,userId:y.PropTypes.number,displayNameModerationStatus:y.PropTypes.oneOf((0,i.default)(D.default)),displayNameModerationMessage:y.PropTypes.string,displayNameModerationUrl:y.PropTypes.string,isEditor:y.PropTypes.bool,forumAdminLinks:y.PropTypes.shape({administerCommentsForum:y.PropTypes.shape({url:y.PropTypes.string.isRequired})})}),forumData:y.PropTypes.shape({title:y.PropTypes.string.isRequired,totalCommentsCount:y.PropTypes.number.isRequired,commentTextLimit:y.PropTypes.number.isRequired,moderation:y.PropTypes.shape({rulesPageUrl:y.PropTypes.string.isRequired,status:y.PropTypes.oneOf((0,i.default)(A.default)).isRequired}),createForum:y.PropTypes.bool.isRequired,isClosed:y.PropTypes.bool.isRequired}).isRequired,loadedComments:y.PropTypes.array.isRequired,containerId:y.PropTypes.string,requestToLoadMoreComments:y.PropTypes.func.isRequired,pageSize:y.PropTypes.number.isRequired,commentsTitle:y.PropTypes.string,displayName:y.PropTypes.string.isRequired,under16:y.PropTypes.bool.isRequired,forumId:y.PropTypes.string.isRequired},W.contextTypes={theme:y.PropTypes.shape({formatMessage:y.PropTypes.func,themeVariant:y.PropTypes.oneOf((0,i.default)(j.ThemeVariants)),product:y.PropTypes.oneOf((0,i.default)(j.Products))})},W.childContextTypes={setA11yAlertText:y.PropTypes.func},t.CommentsModule=W},function(e,t){"use strict";function n(){return document.documentElement.clientWidth}function r(e){e&&e.scrollIntoView()}function o(e){e&&e.focus()}Object.defineProperty(t,"__esModule",{value:!0}),t.getViewportWidth=n,t.scrollToElementTop=r,t.focusOnElement=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplySnippet=t.ReplyButton=t.A11yText=t.CommentsModerationMessage=t.ShowNewCommentsButton=t.CommentRatingContainer=t.NoJSMessage=t.Tooltip=t.TooltipLauncher=t.CommentsLoading=t.CommentsImpressionStat=t.PositiveCommentRating=t.CommentsAlert=t.CommentsFooter=t.CommentsTextLimit=t.IdctaSignedInMessage=t.IdctaSignInButton=t.CommentsList=t.Comment=t.CommentsInput=t.CommentsButton=t.PostedDate=t.Username=t.CommentsTotal=t.CommentsModuleTitle=t.CommentsTitle=t.CommentsHeader=t.Stylesheets=void 0;var o=n(92),i=r(o),a=n(140),s=r(a),u=n(144),l=n(208),c=n(155),d=n(145),m=n(231),f=n(197),p=n(232),h=n(202),y=n(182),g=n(233),v=n(185),_=n(234),T=n(235),b=n(238),E=n(239),w=n(179),C=n(180),P=n(240),M=n(178),S=n(241),x=n(162),O=n(194),k=n(229),I=function(e){var t=e.children;return i.default.createElement("div",{className:"comments__header"},t)};I.displayName="CommentsHeader",I.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var D=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-module-title"},t)};D.displayName="CommentsModuleTitle",D.propTypes={moduleTitle:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var N=function(e){var t=e.children;return i.default.createElement("h4",{className:"comments__heading-title"},i.default.createElement("span",{className:"comments__heading-title-text"},t))};N.displayName="CommentsTitle",N.propTypes={moduleTitle:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])};var A=function(e){var t=e.totalCommentsCountIncludingNewComments;return i.default.createElement("div",{className:"comments-total"},t," comment",1===t?"":"s")};A.displayName="CommentsTotal",A.propTypes={totalCommentsCountIncludingNewComments:o.PropTypes.number};var R=function(e){var t=e.children,n=e.className;return i.default.createElement("div",{className:(0,s.default)("comments__footer",n)},t)};R.displayName="CommentsFooter",R.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string},t.Stylesheets=g.Stylesheets,t.CommentsHeader=I,t.CommentsTitle=N,t.CommentsModuleTitle=D,t.CommentsTotal=A,t.Username=c.Username,t.PostedDate=d.PostedDate,t.CommentsButton=m.CommentsButton,t.CommentsInput=f.CommentsInput,t.Comment=u.Comment,t.CommentsList=l.CommentsList,t.IdctaSignInButton=v.IdctaSignInButton,t.IdctaSignedInMessage=_.IdctaSignedInMessage,t.CommentsTextLimit=p.CommentsTextLimit,t.CommentsFooter=R,t.CommentsAlert=h.CommentsAlert,t.PositiveCommentRating=y.PositiveCommentRating,t.CommentsImpressionStat=T.CommentsImpressionStat,t.CommentsLoading=E.CommentsLoading,t.TooltipLauncher=w.TooltipLauncher,t.Tooltip=C.Tooltip,t.NoJSMessage=P.NoJSMessage,t.CommentRatingContainer=M.CommentRatingContainer,t.ShowNewCommentsButton=b.ShowNewCommentsButton,t.CommentsModerationMessage=S.CommentsModerationMessage,t.A11yText=x.A11yText,t.ReplyButton=O.ReplyButton,t.ReplySnippet=k.ReplySnippet},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Comment=t.ReplyText=t.CommentText=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(140),g=r(y),v=n(145),_=n(155),T=n(156),b=n(157),E=n(163),w=r(E),C=n(177),P=r(C),M=n(178),S=n(175),x=n(191),O=n(192),k=n(193),I=r(k),D=n(142),N=n(194),A=n(196),R=n(208),L=n(229),j=n(230),F=t.CommentText=function(e){var t=e.commentText;return h.default.createElement("div",{tabIndex:"0",className:"comment__text",dangerouslySetInnerHTML:{__html:t}})};F.displayName="CommentText",F.propTypes={commentText:p.PropTypes.string.isRequired};var U=t.ReplyText=function(e){var t=e.replyText,n=e.replyOfName,r=e.replyId,o=e.formatMessage;return h.default.createElement("div",null,h.default.createElement("span",{"aria-labelledby":"whoReplied"+r+" whatReplied"+r}),h.default.createElement("div",{id:"replyTextWrapper"+r,role:"group","aria-labelledby":"whoReplied"+r+" whatReplied"+r},h.default.createElement("span",{id:"whoReplied"+r,"aria-label":o("whoReplied",{replyOfName:n})}),h.default.createElement("div",{className:"comment__text",id:"whatReplied"+r,"aria-hidden":"true",dangerouslySetInnerHTML:{__html:t}})))};U.displayName="ReplyText",U.propTypes={replyText:p.PropTypes.string.isRequired,replyOfName:p.PropTypes.string.isRequired,replyId:p.PropTypes.number.isRequired,formatMessage:p.PropTypes.func.isRequired},U.defaultProps={replyToName:""};var Y=t.Comment=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isActionTrayOpen:n.props.isActionTrayOpen,isReplyTrayOpen:n.props.isReplyTrayOpen,shouldReplyTrayRender:!0,maxRepliesDisplayed:1},n.toggleActionTray=n.toggleActionTray.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getCommentTextToDisplay",value:function(e){switch(e.status){case w.default.FAIL:return this.context.theme.formatMessage("removedComment",{rulesUrl:this.props.rulesPageUrl});case w.default.REFER:return this.context.theme.formatMessage("referredComment",{rulesUrl:this.props.rulesPageUrl});case w.default.PASS:default:return e.text}}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,r=t.replyToId,o=t.replyToMsg,i=t.replyToName,a=t.isReply,s=t.commentData,u=t.personalisationDetails,l=t.commentInputTextLimit,c=t.commentInputModerationStatus,d=u.commentAdminLinks,m=this.context.isFeatureEnabled,f=(0,b.getCommentLinks)({commentData:s,commentAdminLinks:d,isUserAnEditor:this.isUserAnEditor(),isFeatureEnabled:m}),p=this.canRateComment()||this.canReplyComment()||f.hasLinks;return h.default.createElement("div",{id:"comment-"+s.id,className:(0,g.default)("comment",{"comment--notable":s.author.isNotable,"comment--has-footer":p,"comment--by-current-user":this.isAuthoredByCurrentUser(),"comment--reply":a})},h.default.createElement("div",{tabIndex:"0",ref:function(t){return e.commentElement=t},className:"comment__header"},this.props.isAvatarEnabled&&h.default.createElement("div",{className:"comment__avatar"},h.default.createElement(T.Avatar,null)),h.default.createElement("div",{className:"comment__username-and-posted-date"},h.default.createElement("h4",{className:"comment__title"},h.default.createElement("span",null,h.default.createElement("span",{className:"comment__hidden-text"},"Comment number "),h.default.createElement("span",{className:"comment__index"},s.index+1,". ")),h.default.createElement("span",{className:"comment__hidden-text"},"Posted by "),h.default.createElement(_.Username,{className:"comment__username"},s.author.displayName)),this.shouldShowDisplayNameModerationWarning()&&h.default.createElement("a",{className:"comment__display-name-moderation-warning",href:u.displayNameModerationUrl},u.displayNameModerationMessage),s.dateCreated&&h.default.createElement(v.PostedDate,{className:"comment__posted-date",timestamp:s.dateCreated}))),this.isRepliesFeatureEnabled()&&a&&h.default.createElement(L.ReplySnippet,{replyToName:i,replyToMsg:o,replyToId:r}),h.default.createElement("div",{className:"comment__body"},this.isRepliesFeatureEnabled()&&a&&h.default.createElement(U,{replyText:this.getCommentTextToDisplay(s),replyOfName:s.author.displayName,replyId:s.id,formatMessage:this.context.theme.formatMessage})||h.default.createElement(F,{commentText:this.getCommentTextToDisplay(s)})),s.distressMessage&&h.default.createElement(O.CommentDistressText,{commentDistressText:s.distressMessage.text}),p&&h.default.createElement(x.CommentFooter,null,!s.distressMessage&&this.canReplyComment()&&h.default.createElement("div",{className:"comment__reply-button"},h.default.createElement(N.ReplyButton,{setReplyButtonRef:function(t){return e.replyButtonElement=t},onClick:function(){return e.toggleReplyTray(!1)},replyTo:s.author.displayName,isReplyTrayOpen:this.state.isReplyTrayOpen})),h.default.createElement("div",{className:"comment__toolbar"},!s.distressMessage&&this.canReplyComment()&&this.state.shouldReplyTrayRender&&h.default.createElement(A.Reply,{isReplyTrayOpen:this.state.isReplyTrayOpen,isCommentWithReplies:s.replies,isReplyToReply:a,cancelInput:function(){return e.toggleReplyTray(!0)},inputTextLimit:l,inputModerationStatus:c,replyTo:s.author.displayName,idctaData:this.props.idctaData,signinPrompt:this.context.theme.formatMessage("signInPrompt",{})}),h.default.createElement("div",{className:"comment__toolbar-section comment__toolbar-section--right"},!s.distressMessage&&this.canRateComment()&&h.default.createElement("div",{className:"comment__ratings"},h.default.createElement(M.CommentRatingContainer,{idctaData:this.props.idctaData,isRatingEnabled:this.props.isRatingEnabled,commentData:this.props.commentData,forumId:this.props.forumId})),f.hasLinks&&h.default.createElement("button",{onClick:this.toggleActionTray,className:(0,g.default)("comment__links-toggle",{"comment__links-toggle--enabled":this.state.isActionTrayOpen}),"aria-label":this.state.isActionTrayOpen?"Hide comment links":"Show comment links","aria-expanded":this.state.isActionTrayOpen?"true":"false"},h.default.createElement(I.default,null)))),f.hasLinks&&this.state.isActionTrayOpen&&h.default.createElement("div",{className:"comment__action-tray"},h.default.createElement(b.CommentLinks,{commentLinks:f,commentNumber:s.index+1,authorDisplayName:s.author.displayName}))),this.isRepliesFeatureEnabled()&&s.replies&&h.default.createElement("div",null,!this.state.isReplyTrayOpen&&h.default.createElement("div",{className:"reply-separator"}),h.default.createElement("div",{className:"replies"},h.default.createElement(R.CommentsList,{forumId:this.props.forumId,replyToId:s.id,replyToMsg:s.text,replyToName:s.author.displayName,isRepliesList:!0,comments:s.replies.slice(0,this.state.maxRepliesDisplayed),rulesPageUrl:this.props.rulesPageUrl,isRatingEnabled:this.props.isRatingEnabled,personalisationDetails:this.props.personalisationDetails,idctaData:this.props.idctaData,commentInputTextLimit:l,commentInputModerationStatus:c,pageSize:10})),s.replies.length>1&&h.default.createElement(j.ReplyMoreReplies,{nTotalReplies:s.replies.length,maxRepliesDisplayed:this.state.maxRepliesDisplayed,onClick:function(){return e.showOrHideMoreReplies(e.state.maxRepliesDisplayed,s.replies.length,n)}})))}},{key:"componentDidMount",value:function(){this.isRepliesFeatureEnabled()&&this.props.isReplyToFocus&&(0,D.focusOnElement)(this.commentElement)}},{key:"componentDidUpdate",value:function(e){e.scrollTo!==this.props.scrollTo&&this.props.scrollTo&&((0,D.scrollToElementTop)(this.commentElement),(0,D.focusOnElement)(this.commentElement))}},{key:"commentPassedModeration",value:function(){return this.props.commentData.status===w.default.PASS}},{key:"isNormalComment",value:function(){var e=!this.props.commentData.author.isNotable;return e}},{key:"canReplyComment",value:function(){return this.isRepliesFeatureEnabled()&&this.commentPassedModeration()&&this.isNormalComment()}},{key:"canRateComment",value:function(){return this.isRatingsFeatureEnabled()&&this.commentPassedModeration()&&this.isNormalComment()}},{key:"isUserAnEditor",value:function(){var e=this.props.personalisationDetails;return e.isEditor===!0}},{key:"isAuthoredByCurrentUser",value:function(){var e=this.props,t=e.personalisationDetails,n=e.commentData;return t.userId===n.author.userId}},{key:"shouldShowDisplayNameModerationWarning",value:function(){var e=this.props.personalisationDetails;return this.isAuthoredByCurrentUser()&&e.displayNameModerationStatus===P.default.FAILED_OR_AWAITING}},{key:"isRatingsFeatureEnabled",value:function(){return this.context.isFeatureEnabled(S.FeaturesToggles.ratings)}},{key:"isRepliesFeatureEnabled",value:function(){return this.context.isFeatureEnabled(S.FeaturesToggles.replies)}},{key:"toggleActionTray",value:function(){this.setState(function(e){return{isReplyTrayOpen:!1,isActionTrayOpen:!e.isActionTrayOpen}})}},{key:"resetReplyTray",value:function(){this.setState(function(){return{shouldReplyTrayRender:!1}}),this.context.setA11yAlertText(this.context.theme.formatMessage("clearCommentMessage"))}},{key:"toggleReplyTray",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.replyButtonElement&&(0,D.focusOnElement)(this.replyButtonElement),this.setState(function(e){return{isActionTrayOpen:!1,isReplyTrayOpen:!e.isReplyTrayOpen,shouldReplyTrayRender:!0}}),e&&this.resetReplyTray()}},{key:"showOrHideMoreReplies",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=this.context.theme.formatMessage;e<t?(this.setState(function(e){return{maxRepliesDisplayed:e.maxRepliesDisplayed+n}}),this.context.setA11yAlertText(r("moreRepliesDisplayed"))):(this.setState(function(){return{maxRepliesDisplayed:1}}),this.context.setA11yAlertText(r("repliesHidden")))}}]),t}(p.Component);Y.displayName="Comment",Y.propTypes={pageSize:p.PropTypes.number,isReplyToFocus:p.PropTypes.bool,replyToId:p.PropTypes.number,replyToMsg:p.PropTypes.string,replyToName:p.PropTypes.string,isReply:p.PropTypes.bool,commentData:p.PropTypes.shape({index:p.PropTypes.number,id:p.PropTypes.number,actions:p.PropTypes.shape({reportUrl:p.PropTypes.string.isRequired}),distressMessage:p.PropTypes.shape({text:p.PropTypes.string}),author:p.PropTypes.shape({userId:p.PropTypes.number.isRequired,displayName:p.PropTypes.string.isRequired,isNotable:p.PropTypes.bool.isRequired}).isRequired,dateCreated:p.PropTypes.string,text:p.PropTypes.string.isRequired,rating:p.PropTypes.shape({positive:p.PropTypes.number.isRequired}),status:p.PropTypes.oneOf([w.default.FAIL,w.default.PASS,w.default.REFER,w.default.UNKNOWN])}).isRequired,rulesPageUrl:p.PropTypes.string.isRequired,isRatingEnabled:p.PropTypes.bool,isReplyEnabled:p.PropTypes.bool,isAvatarEnabled:p.PropTypes.bool,personalisationDetails:p.PropTypes.shape({userId:p.PropTypes.number,displayNameModerationStatus:p.PropTypes.string,displayNameModerationMessage:p.PropTypes.string,displayNameModerationUrl:p.PropTypes.string,isEditor:p.PropTypes.bool,commentAdminLinks:p.PropTypes.shape({report:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),viewModerationHistory:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),makeTopPick:p.PropTypes.shape({url:p.PropTypes.string.isRequired}),memberDetails:p.PropTypes.shape({url:p.PropTypes.string.isRequired})})}),idctaData:p.PropTypes.object.isRequired,isActionTrayOpen:p.PropTypes.bool,forumId:p.PropTypes.string.isRequired,isReplyTrayOpen:p.PropTypes.bool,scrollTo:p.PropTypes.bool,commentInputTextLimit:p.PropTypes.number,commentInputModerationStatus:p.PropTypes.string},Y.defaultProps={isReplyToFocus:!1,personalisationDetails:{},isAvatarEnabled:!1,isMoreIconIsOpen:!1,scrollTo:!1,isReplyTrayOpen:!1,pageSize:10},Y.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func}),isFeatureEnabled:p.PropTypes.func.isRequired,setA11yAlertText:p.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PostedDate=void 0;var o=n(146),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),m=n(51),f=r(m),p=n(84),h=r(p),y=n(92),g=r(y),v=n(140),_=r(v),T=n(153),b="Europe/London",E=t.PostedDate=function(e){function t(){return(0,l.default)(this,t),(0,f.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,d.default)(t,[{key:"parseTime",value:function(e){return(0,T.moment)(e,T.moment.ISO_8601).tz(b)}},{key:"formatTime",value:function(e){var t=(0,T.moment)().tz(b).startOf("day"),n=(0,T.moment)().tz(b).startOf("year");return e.isAfter(t)?["today at",e.format("HH:mm")]:e.isAfter(n)?["at",e.format("HH:mm D MMM")]:["at",e.format("HH:mm D MMM YYYY")]}},{key:"render",value:function(){var e=this.parseTime(this.props.timestamp),t=this.formatTime(e),n=(0,i.default)(t,2),r=n[0],o=n[1],a=r?r+" "+o:o;return g.default.createElement("div",{"data-time":e.format(),className:(0,_.default)("posted-date",this.props.className),"aria-label":a},o)}}]),t}(y.Component);E.displayName="PostedDate",E.propTypes={timestamp:y.PropTypes.string.isRequired,className:y.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(147),i=r(o),a=n(150),s=r(a);t.default=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=(0,s.default)(e);!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,i.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){e.exports={default:n(148),__esModule:!0}},function(e,t,n){n(66),n(55),e.exports=n(149)},function(e,t,n){var r=n(121),o=n(65)("iterator"),i=n(59);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(151),__esModule:!0}},function(e,t,n){n(66),n(55),e.exports=n(152)},function(e,t,n){var r=n(13),o=n(126);e.exports=n(8).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.moment=void 0;var o=n(154),i=r(o);i.default.updateLocale("en",{relativeTime:{future:"in %s",past:"%s ago",s:"seconds",m:"1 minute",mm:"%d minutes",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"}}),t.moment=i.default},function(e,t,n){!function(t,n){e.exports=n()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){const r=n(1);r.tz.add("Europe/Belfast|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"),r.tz.link("Europe/Belfast|Europe/London"),e.exports=r},function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(2)],r=s,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e){"use strict";function t(e){return e>96?e-87:e>64?e-29:e-48}function n(e){var n,r=0,o=e.split("."),i=o[0],a=o[1]||"",s=1,u=0,l=1;for(45===e.charCodeAt(0)&&(r=1,l=-1),r;r<i.length;r++)n=t(i.charCodeAt(r)),u=60*u+n;for(r=0;r<a.length;r++)s/=60,n=t(a.charCodeAt(r)),u+=n*s;return u*l}function r(e){for(var t=0;t<e.length;t++)e[t]=n(e[t])}function o(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}function i(e,t){var n,r=[];for(n=0;n<t.length;n++)r[n]=e[t[n]];return r}function a(e){var t=e.split("|"),n=t[2].split(" "),a=t[3].split(""),s=t[4].split(" ");return r(n),r(a),r(s),o(s,a.length),{name:t[0],abbrs:i(t[1].split(" "),a),offsets:i(n,a),untils:s,population:0|t[5]}}function s(e){e&&this._set(a(e))}function u(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);n&&n[0]?(n=n[0].match(/[A-Z]/g),n=n?n.join(""):void 0):(n=t.match(/[A-Z]{3,5}/g),n=n?n[0]:void 0),"GMT"===n&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function l(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function c(e,t){for(var n,r;r=6e4*((t.at-e.at)/12e4|0);)n=new u(new Date(e.at+r)),n.offset===e.offset?e=n:t=n;return e}function d(){var e,t,n,r=(new Date).getFullYear()-2,o=new u(new Date(r,0,1)),i=[o];for(n=1;n<48;n++)t=new u(new Date(r,n,1)),t.offset!==o.offset&&(e=c(o,t),i.push(e),i.push(new u(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)i.push(new u(new Date(r+n,0,1))),i.push(new u(new Date(r+n,6,1)));return i}function m(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:t.zone.population-e.zone.population}function f(e,t){var n,o;for(r(t),n=0;n<t.length;n++)o=t[n],A[o]=A[o]||{},A[o][e]=!0}function p(e){var t,n,r,o=e.length,i={},a=[];for(t=0;t<o;t++){r=A[e[t].offset]||{};for(n in r)r.hasOwnProperty(n)&&(i[n]=!0)}for(t in i)i.hasOwnProperty(t)&&a.push(N[t]);return a}function h(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e&&e.length>3){var t=N[g(e)];if(t)return t;P("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,i=d(),a=i.length,s=p(i),u=[];for(r=0;r<s.length;r++){for(n=new l(_(s[r]),a),o=0;o<a;o++)n.scoreOffsetAt(i[o]);u.push(n)}return u.sort(m),u.length>0?u[0].zone.name:void 0}function y(e){return O&&!e||(O=h()),O}function g(e){return(e||"").toLowerCase().replace(/\//g,"_")}function v(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=e[t].split("|"),n=r[0],o=g(n),I[o]=e[t],N[o]=n,f(o,r[2].split(" "))}function _(e,t){e=g(e);var n,r=I[e];return r instanceof s?r:"string"==typeof r?(r=new s(r),I[e]=r,r):D[e]&&t!==_&&(n=_(D[e],_))?(r=I[e]=new s,r._set(n),r.name=N[e],r):null}function T(){var e,t=[];for(e in N)N.hasOwnProperty(e)&&(I[e]||I[D[e]])&&N[e]&&t.push(N[e]);return t.sort()}function b(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n=e[t].split("|"),r=g(n[0]),o=g(n[1]),D[r]=o,N[r]=n[0],D[o]=r,N[o]=n[1]}function E(e){v(e.zones),b(e.links),M.dataVersion=e.version}function w(e){return w.didShowError||(w.didShowError=!0,P("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!_(e)}function C(e){var t="X"===e._f||"x"===e._f;return!(!e._a||void 0!==e._tzm||t)}function P(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function M(t){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=_(r),i=e.utc.apply(null,n);return o&&!e.isMoment(t)&&C(i)&&i.add(o.parse(i),"minutes"),i.tz(r),i}function S(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function x(e){return function(){return this._z=null,e.apply(this,arguments)}}var O,k="0.5.14",I={},D={},N={},A={},R=e.version.split("."),L=+R[0],j=+R[1];(L<2||2===L&&j<6)&&P("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),s.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,r=this.untils;for(t=0;t<r.length;t++)if(n<r[t])return t},parse:function(e){var t,n,r,o,i=+e,a=this.offsets,s=this.untils,u=s.length-1;for(o=0;o<u;o++)if(t=a[o],n=a[o+1],r=a[o?o-1:o],t<n&&M.moveAmbiguousForward?t=n:t>r&&M.moveInvalidForward&&(t=r),i<s[o]-6e4*t)return a[o];return a[u]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return P("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(e)]},utcOffset:function(e){return this.offsets[this._index(e)]}},l.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.utcOffset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++; },M.version=k,M.dataVersion="",M._zones=I,M._links=D,M._names=N,M.add=v,M.link=b,M.load=E,M.zone=_,M.zoneExists=w,M.guess=y,M.names=T,M.Zone=s,M.unpack=a,M.unpackBase60=n,M.needsOffset=C,M.moveInvalidForward=!0,M.moveAmbiguousForward=!1;var F=e.fn;e.tz=M,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;void 0===t._z&&(o&&C(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z&&(r=t._z.utcOffset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset?t.utcOffset(-r,n):t.zone(r,n))},F.tz=function(t,n){return t?(this._z=_(t),this._z?e.updateOffset(this,n):P("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},F.zoneName=S(F.zoneName),F.zoneAbbr=S(F.zoneAbbr),F.utc=x(F.utc),e.tz.setDefault=function(t){return(L<2||2===L&&j<9)&&P("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?_(t):null,e};var U=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(U)?(U.push("_z"),U.push("_a")):U&&(U._z=null),e})},function(e,t,n){(function(e){!function(t,n){e.exports=n()}(this,function(){"use strict";function t(){return xr.apply(null,arguments)}function n(e){xr=e}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Pt(e,t,n,r,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function p(e){return null==e._pf&&(e._pf=f()),e._pf}function h(e){if(null==e._isValid){var t=p(e),n=Or.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function y(e){var t=m(NaN);return null!=e?d(p(t),e):p(t).userInvalidated=!0,t}function g(e,t){var n,r,o;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),kr.length>0)for(n=0;n<kr.length;n++)r=kr[n],o=t[r],a(o)||(e[r]=o);return e}function v(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ir===!1&&(Ir=!0,t.updateOffset(this),Ir=!1)}function _(e){return e instanceof v||null!=e&&null!=e._isAMomentObject}function T(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=T(t)),n}function E(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&b(e[r])!==b(t[r]))&&a++;return a+i}function w(e){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,n){var r=!0;return d(function(){if(null!=t.deprecationHandler&&t.deprecationHandler(null,e),r){for(var o,i=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){o+="\n["+a+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];i.push(o)}w(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)},n)}function P(e,n){null!=t.deprecationHandler&&t.deprecationHandler(e,n),Dr[e]||(w(n),Dr[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){var t,n;for(n in e)t=e[n],M(t)?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function x(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(r[n]=d({},r[n]));return r}function O(e){null!=e&&this.set(e)}function k(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function I(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function D(){return this._invalidDate}function N(e){return this._ordinal.replace("%d",e)}function A(e,t,n,r){var o=this._relativeTime[n];return M(o)?o(e,t,n,r):o.replace(/%d/i,e)}function R(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}function L(e,t){var n=e.toLowerCase();Yr[n]=Yr[n+"s"]=Yr[t]=e}function j(e){return"string"==typeof e?Yr[e]||Yr[e.toLowerCase()]:void 0}function F(e){var t,n,r={};for(n in e)c(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function U(e,t){Wr[e]=t}function Y(e){var t=[];for(var n in e)t.push({unit:n,priority:Wr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function W(e,t,n){var r=""+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function q(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(zr[e]=o),t&&(zr[t[0]]=function(){return W(o.apply(this,arguments),t[1],t[2])}),n&&(zr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(qr);for(t=0,n=r.length;t<n;t++)zr[r[t]]?r[t]=zr[r[t]]:r[t]=B(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=M(r[o])?r[o].call(t,e):r[o];return i}}function z(e,t){return e.isValid()?(t=V(t,e.localeData()),Hr[t]=Hr[t]||H(t),Hr[t](e)):e.localeData().invalidDate()}function V(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(Br.lastIndex=0;r>=0&&Br.test(e);)e=e.replace(Br,n),Br.lastIndex=0,r-=1;return e}function G(e,t,n){lo[e]=M(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return c(lo,e)?lo[e](t._strict,t._locale):new RegExp($(e))}function $(e){return Z(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function Z(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function J(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=b(e)}),n=0;n<e.length;n++)co[e[n]]=r}function X(e,t){J(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function Q(e,t,n){null!=t&&c(co,e)&&co[e](t,n._a,n,e)}function ee(e){return te(e)?366:365}function te(e){return e%4===0&&e%100!==0||e%400===0}function ne(){return te(this.year())}function re(e,n){return function(r){return null!=r?(ie(this,e,r),t.updateOffset(this,n),this):oe(this,e)}}function oe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&te(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),le(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function ae(e){return e=j(e),M(this[e])?this[e]():this}function se(e,t){if("object"==typeof e){e=F(e);for(var n=Y(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=j(e),M(this[e]))return this[e](t);return this}function ue(e,t){return(e%t+t)%t}function le(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=ue(t,12);return e+=(t-n)/12,1===n?te(e)?29:28:31-n%7%2}function ce(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||wo).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function de(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[wo.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function me(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?(o=bo.call(this._shortMonthsParse,a),o!==-1?o:null):(o=bo.call(this._longMonthsParse,a),o!==-1?o:null):"MMM"===t?(o=bo.call(this._shortMonthsParse,a),o!==-1?o:(o=bo.call(this._longMonthsParse,a),o!==-1?o:null)):(o=bo.call(this._longMonthsParse,a),o!==-1?o:(o=bo.call(this._shortMonthsParse,a),o!==-1?o:null))}function fe(e,t,n){var r,o,i;if(this._monthsParseExact)return me.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function pe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function he(e){return null!=e?(pe(this,e),t.updateOffset(this,!0),this):oe(this,"Month")}function ye(){return le(this.year(),this.month())}function ge(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Mo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ve(e){return this._monthsParseExact?(c(this,"_monthsRegex")||_e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=So),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _e(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Z(r[t]),o[t]=Z(o[t]);for(t=0;t<24;t++)i[t]=Z(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Te(e,t,n,r,o,i,a){var s=new Date(e,t,n,r,o,i,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Ee(e,t,n){var r=7+t-n,o=(7+be(e,0,r).getUTCDay()-t)%7;return-o+r-1}function we(e,t,n,r,o){var i,a,s=(7+n-r)%7,u=Ee(e,r,o),l=1+7*(t-1)+s+u;return l<=0?(i=e-1,a=ee(i)+l):l>ee(e)?(i=e+1,a=l-ee(e)):(i=e,a=l),{year:i,dayOfYear:a}}function Ce(e,t,n){var r,o,i=Ee(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?(o=e.year()-1,r=a+Pe(o,t,n)):a>Pe(e.year(),t,n)?(r=a-Pe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function Pe(e,t,n){var r=Ee(e,t,n),o=Ee(e+1,t,n);return(ee(e)-r+o)/7}function Me(e){return Ce(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function xe(){return this._week.doy}function Oe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function ke(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ie(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ne(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ae(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Re(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Le(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?(o=bo.call(this._weekdaysParse,a),o!==-1?o:null):"ddd"===t?(o=bo.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=bo.call(this._minWeekdaysParse,a),o!==-1?o:null):"dddd"===t?(o=bo.call(this._weekdaysParse,a),o!==-1?o:(o=bo.call(this._shortWeekdaysParse,a),o!==-1?o:(o=bo.call(this._minWeekdaysParse,a),o!==-1?o:null))):"ddd"===t?(o=bo.call(this._shortWeekdaysParse,a),o!==-1?o:(o=bo.call(this._weekdaysParse,a),o!==-1?o:(o=bo.call(this._minWeekdaysParse,a),o!==-1?o:null))):(o=bo.call(this._minWeekdaysParse,a),o!==-1?o:(o=bo.call(this._weekdaysParse,a),o!==-1?o:(o=bo.call(this._shortWeekdaysParse,a),o!==-1?o:null)))}function je(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Le.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Fe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ie(e,this.localeData()),this.add(e-t,"d")):t}function Ue(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ye(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function We(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Do),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=No),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ao),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),i=this.weekdays(n,""),a.push(r),s.push(o),u.push(i),l.push(r),l.push(o),l.push(i);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=Z(s[t]),u[t]=Z(u[t]),l[t]=Z(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function ze(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ge(e,t){q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}function $e(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,o,i=0;i<e.length;){for(o=Je(e[i]).split("-"),t=o.length,n=Je(e[i+1]),n=n?n.split("-"):null;t>0;){if(r=Qe(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&E(o,n,!0)>=t-1)break;t--}i++}return null}function Qe(t){var n=null;if(!Uo[t]&&"undefined"!=typeof e&&e&&e.exports)try{n=Ro._abbr;!function(){var e=new Error('Cannot find module "./locale"');throw e.code="MODULE_NOT_FOUND",e}(),et(n)}catch(e){}return Uo[t]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t),n&&(Ro=n)),Ro._abbr}function tt(e,t){if(null!==t){var n=Fo;if(t.abbr=e,null!=Uo[e])P("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Uo[e]._config;else if(null!=t.parentLocale){if(null==Uo[t.parentLocale])return Yo[t.parentLocale]||(Yo[t.parentLocale]=[]),Yo[t.parentLocale].push({name:e,config:t}),null;n=Uo[t.parentLocale]._config}return Uo[e]=new O(x(n,t)),Yo[e]&&Yo[e].forEach(function(e){tt(e.name,e.config)}),et(e),Uo[e]}return delete Uo[e],null}function nt(e,t){if(null!=t){var n,r,o=Fo;r=Qe(e),null!=r&&(o=r._config),t=x(o,t),n=new O(t),n.parentLocale=Uo[e],Uo[e]=n,et(e)}else null!=Uo[e]&&(null!=Uo[e].parentLocale?Uo[e]=Uo[e].parentLocale:null!=Uo[e]&&delete Uo[e]);return Uo[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ro;if(!r(e)){if(t=Qe(e))return t;e=[e]}return Xe(e)}function ot(){return Nr(Uo)}function it(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[fo]<0||n[fo]>11?fo:n[po]<1||n[po]>le(n[mo],n[fo])?po:n[ho]<0||n[ho]>24||24===n[ho]&&(0!==n[yo]||0!==n[go]||0!==n[vo])?ho:n[yo]<0||n[yo]>59?yo:n[go]<0||n[go]>59?go:n[vo]<0||n[vo]>999?vo:-1,p(e)._overflowDayOfYear&&(t<mo||t>po)&&(t=po),p(e)._overflowWeeks&&t===-1&&(t=_o),p(e)._overflowWeekday&&t===-1&&(t=To),p(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var n=new Date(t.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ut(e){var t,n,r,o,i,a=[];if(!e._d){for(r=st(e),e._w&&null==e._a[po]&&null==e._a[fo]&&lt(e),null!=e._dayOfYear&&(i=at(e._a[mo],r[mo]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[fo]=n.getUTCMonth(),e._a[po]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ho]&&0===e._a[yo]&&0===e._a[go]&&0===e._a[vo]&&(e._nextDay=!0,e._a[ho]=0),e._d=(e._useUTC?be:Te).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ho]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function lt(e){var t,n,r,o,i,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)i=1,a=4,n=at(t.GG,e._a[mo],Ce(Mt(),1,4).year),r=at(t.W,1),o=at(t.E,1),(o<1||o>7)&&(u=!0);else{i=e._locale._week.dow,a=e._locale._week.doy;var l=Ce(Mt(),i,a);n=at(t.gg,e._a[mo],l.year),r=at(t.w,l.week),null!=t.d?(o=t.d,(o<0||o>6)&&(u=!0)):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(u=!0)):o=i}r<1||r>Pe(n,i,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=we(n,r,o,i,a),e._a[mo]=s.year,e._dayOfYear=s.dayOfYear)}function ct(e){var t,n,r,o,i,a,s=e._i,u=Wo.exec(s)||qo.exec(s);if(u){for(p(e).iso=!0,t=0,n=Ho.length;t<n;t++)if(Ho[t][1].exec(u[1])){o=Ho[t][0],r=Ho[t][2]!==!1;break}if(null==o)return void(e._isValid=!1);if(u[3]){for(t=0,n=zo.length;t<n;t++)if(zo[t][1].exec(u[3])){i=(u[2]||" ")+zo[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(u[4]){if(!Bo.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),vt(e)}else e._isValid=!1}function dt(e,t,n,r,o,i){var a=[mt(e),Po.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function mt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ft(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function pt(e,t,n){if(e){var r=ko.indexOf(e),o=new Date(t[0],t[1],t[2]).getDay();if(r!==o)return p(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function ht(e,t,n){if(e)return Ko[e];if(t)return 0;var r=parseInt(n,10),o=r%100,i=(r-o)/100;return 60*i+o}function yt(e){var t=Go.exec(ft(e._i));if(t){var n=dt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!pt(t[1],n,e))return;e._a=n,e._tzm=ht(t[8],t[9],t[10]),e._d=be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function gt(e){var n=Vo.exec(e._i);return null!==n?void(e._d=new Date(+n[1])):(ct(e),void(e._isValid===!1&&(delete e._isValid,yt(e),e._isValid===!1&&(delete e._isValid,t.createFromInputFallback(e)))))}function vt(e){if(e._f===t.ISO_8601)return void ct(e);if(e._f===t.RFC_2822)return void yt(e);e._a=[],p(e).empty=!0;var n,r,o,i,a,s=""+e._i,u=s.length,l=0;for(o=V(e._f,e._locale).match(qr)||[],n=0;n<o.length;n++)i=o[n],r=(s.match(K(i,e))||[])[0],r&&(a=s.substr(0,s.indexOf(r)),a.length>0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),zr[i]?(r?p(e).empty=!1:p(e).unusedTokens.push(i),Q(i,r,e)):e._strict&&!r&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ho]<=12&&p(e).bigHour===!0&&e._a[ho]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ho]=_t(e._locale,e._a[ho],e._meridiem),ut(e),it(e)}function _t(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Tt(e){var t,n,r,o,i;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)i=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],vt(t),h(t)&&(i+=p(t).charsLeftOver,i+=10*p(t).unusedTokens.length,p(t).score=i,(null==r||i<r)&&(r=i,n=t));d(e,n||t)}function bt(e){if(!e._d){var t=F(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ut(e)}}function Et(e){var t=new v(it(wt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function wt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new v(it(t)):(u(t)?e._d=t:r(n)?Tt(e):n?vt(e):Ct(e),h(e)||(e._d=null),e))}function Ct(e){var n=e._i;a(n)?e._d=new Date(t.now()):u(n)?e._d=new Date(n.valueOf()):"string"==typeof n?gt(e):r(n)?(e._a=l(n.slice(0),function(e){return parseInt(e,10)}),ut(e)):o(n)?bt(e):s(n)?e._d=new Date(n):t.createFromInputFallback(e)}function Pt(e,t,n,a,s){var u={};return n!==!0&&n!==!1||(a=n,n=void 0),(o(e)&&i(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=a,Et(u)}function Mt(e,t,n,r){return Pt(e,t,n,r,!1)}function St(e,t){var n,o;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}function xt(){var e=[].slice.call(arguments,0);return St("isBefore",e)}function Ot(){var e=[].slice.call(arguments,0);return St("isAfter",e)}function kt(e){for(var t in e)if(bo.call(Xo,t)===-1||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Xo.length;++r)if(e[Xo[r]]){if(n)return!1;parseFloat(e[Xo[r]])!==b(e[Xo[r]])&&(n=!0)}return!0}function It(){return this._isValid}function Dt(){return Jt(NaN)}function Nt(e){var t=F(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=kt(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function At(e){return e instanceof Nt}function Rt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Lt(e,t){q(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+W(~~(e/60),2)+t+W(~~e%60,2)})}function jt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(Qo)||["-",0,0],i=+(60*o[1])+b(o[2]);return 0===i?0:"+"===o[0]?i:-i}function Ft(e,n){var r,o;return n._isUTC?(r=n.clone(),o=(_(e)||u(e)?e.valueOf():Mt(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),t.updateOffset(r,!1),r):Mt(e).local()}function Ut(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Yt(e,n,r){var o,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=jt(ao,e),null===e)return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&n&&(o=Ut(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),i!==e&&(!n||this._changeInProgress?nn(this,Jt(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:Ut(this)}function Wt(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function qt(e){return this.utcOffset(0,e)}function Bt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this}function Ht(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(io,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function zt(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Vt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Gt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=wt(e),e._a){var t=e._isUTC?m(e._a):Mt(e._a);this._isDSTShifted=this.isValid()&&E(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Kt(){return!!this.isValid()&&!this._isUTC}function $t(){return!!this.isValid()&&this._isUTC}function Zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Jt(e,t){var n,r,o,i=e,a=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(i={},t?i[t]=e:i.milliseconds=e):(a=ei.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:b(a[po])*n,h:b(a[ho])*n,m:b(a[yo])*n,s:b(a[go])*n,ms:b(Rt(1e3*a[vo]))*n}):(a=ti.exec(e))?(n="-"===a[1]?-1:("+"===a[1],1),i={y:Xt(a[2],n),M:Xt(a[3],n),w:Xt(a[4],n),d:Xt(a[5],n),h:Xt(a[6],n),m:Xt(a[7],n),s:Xt(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=en(Mt(i.from),Mt(i.to)),i={},i.ms=o.milliseconds,i.M=o.months),r=new Nt(i),At(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Xt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Qt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function en(e,t){var n;return e.isValid()&&t.isValid()?(t=Ft(t,e),e.isBefore(t)?n=Qt(e,t):(n=Qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var o,i;return null===r||isNaN(+r)||(P(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),n="string"==typeof n?+n:n,o=Jt(n,r),nn(this,o,e),this}}function nn(e,n,r,o){var i=n._milliseconds,a=Rt(n._days),s=Rt(n._months);e.isValid()&&(o=null==o||o,s&&pe(e,oe(e,"Month")+s*r),a&&ie(e,"Date",oe(e,"Date")+a*r),i&&e._d.setTime(e._d.valueOf()+i*r),o&&t.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,n){var r=e||Mt(),o=Ft(r,this).startOf("day"),i=t.calendarFormat(this,o)||"sameElse",a=n&&(M(n[i])?n[i].call(this,r):n[i]);return this.format(a||this.localeData().calendar(i,this,Mt(r)))}function an(){return new v(this)}function sn(e,t){var n=_(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function un(e,t){var n=_(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&(t=j(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function ln(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function cn(e,t){var n,r=_(e)?e:Mt(e);return!(!this.isValid()||!r.isValid())&&(t=j(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function dn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function mn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function fn(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(r=Ft(e,this),!r.isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=j(t)){case"year":i=pn(this,r)/12;break;case"month":i=pn(this,r);break;case"quarter":i=pn(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:T(i)}function pn(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(o,"months");return t-i<0?(n=e.clone().add(o-1,"months"),r=(t-i)/(i-n)):(n=e.clone().add(o+1,"months"),r=(t-i)/(n-i)),-(o+r)||0}function hn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function yn(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?z(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",z(n,"Z")):z(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function gn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]';return this.format(n+r+o+i)}function vn(e){ e||(e=this.isUtc()?t.defaultFormatUtc:t.defaultFormat);var n=z(this,e);return this.localeData().postformat(n)}function _n(e,t){return this.isValid()&&(_(e)&&e.isValid()||Mt(e).isValid())?Jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Tn(e){return this.from(Mt(),e)}function bn(e,t){return this.isValid()&&(_(e)&&e.isValid()||Mt(e).isValid())?Jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function En(e){return this.to(Mt(),e)}function wn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Cn(){return this._locale}function Pn(e){switch(e=j(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Mn(e){return e=j(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Sn(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){return Math.floor(this.valueOf()/1e3)}function On(){return new Date(this.valueOf())}function kn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function In(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Dn(){return this.isValid()?this.toISOString():null}function Nn(){return h(this)}function An(){return d({},p(this))}function Rn(){return p(this).overflow}function Ln(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jn(e,t){q(0,[e,e.length],0,t)}function Fn(e){return qn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Un(e){return qn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Yn(){return Pe(this.year(),1,4)}function Wn(){var e=this.localeData()._week;return Pe(this.year(),e.dow,e.doy)}function qn(e,t,n,r,o){var i;return null==e?Ce(this,r,o).year:(i=Pe(e,r,o),t>i&&(t=i),Bn.call(this,e,t,n,r,o))}function Bn(e,t,n,r,o){var i=we(e,t,n,r,o),a=be(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function zn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[vo]=b(1e3*("0."+e))}function Gn(){return this._isUTC?"UTC":""}function Kn(){return this._isUTC?"Coordinated Universal Time":""}function $n(e){return Mt(1e3*e)}function Zn(){return Mt.apply(null,arguments).parseZone()}function Jn(e){return e}function Xn(e,t,n,r){var o=rt(),i=m().set(r,t);return o[n](i,e)}function Qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Xn(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Xn(e,r,n,"month");return o}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=rt(),i=e?o._week.dow:0;if(null!=n)return Xn(t,(n+i)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=Xn(t,(a+i)%7,r,"day");return u}function tr(e,t){return Qn(e,t,"months")}function nr(e,t){return Qn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function or(e,t,n){return er(e,t,n,"weekdaysShort")}function ir(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=mi(this._milliseconds),this._days=mi(this._days),this._months=mi(this._months),e.milliseconds=mi(e.milliseconds),e.seconds=mi(e.seconds),e.minutes=mi(e.minutes),e.hours=mi(e.hours),e.months=mi(e.months),e.years=mi(e.years),this}function sr(e,t,n,r){var o=Jt(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function ur(e,t){return sr(this,e,t,1)}function lr(e,t){return sr(this,e,t,-1)}function cr(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,u=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*cr(fr(s)+a),a=0,s=0),u.milliseconds=i%1e3,e=T(i/1e3),u.seconds=e%60,t=T(e/60),u.minutes=t%60,n=T(t/60),u.hours=n%24,a+=T(n/24),o=T(mr(a)),s+=o,a-=cr(fr(o)),r=T(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function mr(e){return 4800*e/146097}function fr(e){return 146097*e/4800}function pr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+mr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(fr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function hr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*b(this._months/12):NaN}function yr(e){return function(){return this.as(e)}}function gr(){return Jt(this)}function vr(e){return e=j(e),this.isValid()?this[e+"s"]():NaN}function _r(e){return function(){return this.isValid()?this._data[e]:NaN}}function Tr(){return T(this.days()/7)}function br(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function Er(e,t,n){var r=Jt(e).abs(),o=xi(r.as("s")),i=xi(r.as("m")),a=xi(r.as("h")),s=xi(r.as("d")),u=xi(r.as("M")),l=xi(r.as("y")),c=o<=Oi.ss&&["s",o]||o<Oi.s&&["ss",o]||i<=1&&["m"]||i<Oi.m&&["mm",i]||a<=1&&["h"]||a<Oi.h&&["hh",a]||s<=1&&["d"]||s<Oi.d&&["dd",s]||u<=1&&["M"]||u<Oi.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,br.apply(null,c)}function wr(e){return void 0===e?xi:"function"==typeof e&&(xi=e,!0)}function Cr(e,t){return void 0!==Oi[e]&&(void 0===t?Oi[e]:(Oi[e]=t,"s"===e&&(Oi.ss=t-1),!0))}function Pr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Er(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Mr(e){return(e>0)-(e<0)||+e}function Sr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=ki(this._milliseconds)/1e3,o=ki(this._days),i=ki(this._months);e=T(r/60),t=T(e/60),r%=60,e%=60,n=T(i/12),i%=12;var a=n,s=i,u=o,l=t,c=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",m=this.asSeconds();if(!m)return"P0D";var f=m<0?"-":"",p=Mr(this._months)!==Mr(m)?"-":"",h=Mr(this._days)!==Mr(m)?"-":"",y=Mr(this._milliseconds)!==Mr(m)?"-":"";return f+"P"+(a?p+a+"Y":"")+(s?p+s+"M":"")+(u?h+u+"D":"")+(l||c||d?"T":"")+(l?y+l+"H":"")+(c?y+c+"M":"")+(d?y+d+"S":"")}var xr,Or;Or=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var kr=t.momentProperties=[],Ir=!1,Dr={};t.suppressDeprecationWarnings=!1,t.deprecationHandler=null;var Nr;Nr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Ar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Rr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Lr="Invalid date",jr="%d",Fr=/\d{1,2}/,Ur={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Yr={},Wr={},qr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Br=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Hr={},zr={},Vr=/\d/,Gr=/\d\d/,Kr=/\d{3}/,$r=/\d{4}/,Zr=/[+-]?\d{6}/,Jr=/\d\d?/,Xr=/\d\d\d\d?/,Qr=/\d\d\d\d\d\d?/,eo=/\d{1,3}/,to=/\d{1,4}/,no=/[+-]?\d{1,6}/,ro=/\d+/,oo=/[+-]?\d+/,io=/Z|[+-]\d\d:?\d\d/gi,ao=/Z|[+-]\d\d(?::?\d\d)?/gi,so=/[+-]?\d+(\.\d{1,3})?/,uo=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,lo={},co={},mo=0,fo=1,po=2,ho=3,yo=4,go=5,vo=6,_o=7,To=8;q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),q(0,["YY",2],0,function(){return this.year()%100}),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),L("year","y"),U("year",1),G("Y",oo),G("YY",Jr,Gr),G("YYYY",to,$r),G("YYYYY",no,Zr),G("YYYYYY",no,Zr),J(["YYYYY","YYYYYY"],mo),J("YYYY",function(e,n){n[mo]=2===e.length?t.parseTwoDigitYear(e):b(e)}),J("YY",function(e,n){n[mo]=t.parseTwoDigitYear(e)}),J("Y",function(e,t){t[mo]=parseInt(e,10)}),t.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var bo,Eo=re("FullYear",!0);bo=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},q("M",["MM",2],"Mo",function(){return this.month()+1}),q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),U("month",8),G("M",Jr),G("MM",Jr,Gr),G("MMM",function(e,t){return t.monthsShortRegex(e)}),G("MMMM",function(e,t){return t.monthsRegex(e)}),J(["M","MM"],function(e,t){t[fo]=b(e)-1}),J(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[fo]=o:p(n).invalidMonth=e});var wo=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Co="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Po="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mo=uo,So=uo;q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),U("week",5),U("isoWeek",5),G("w",Jr),G("ww",Jr,Gr),G("W",Jr),G("WW",Jr,Gr),X(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=b(e)});var xo={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),G("d",Jr),G("e",Jr),G("E",Jr),G("dd",function(e,t){return t.weekdaysMinRegex(e)}),G("ddd",function(e,t){return t.weekdaysShortRegex(e)}),G("dddd",function(e,t){return t.weekdaysRegex(e)}),X(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:p(n).invalidWeekday=e}),X(["d","e","E"],function(e,t,n,r){t[r]=b(e)});var Oo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ko="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Io="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Do=uo,No=uo,Ao=uo;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,ze),q("k",["kk",2],0,Ve),q("hmm",0,0,function(){return""+ze.apply(this)+W(this.minutes(),2)}),q("hmmss",0,0,function(){return""+ze.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),Ge("a",!0),Ge("A",!1),L("hour","h"),U("hour",13),G("a",Ke),G("A",Ke),G("H",Jr),G("h",Jr),G("k",Jr),G("HH",Jr,Gr),G("hh",Jr,Gr),G("kk",Jr,Gr),G("hmm",Xr),G("hmmss",Qr),G("Hmm",Xr),G("Hmmss",Qr),J(["H","HH"],ho),J(["k","kk"],function(e,t,n){var r=b(e);t[ho]=24===r?0:r}),J(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),J(["h","hh"],function(e,t,n){t[ho]=b(e),p(n).bigHour=!0}),J("hmm",function(e,t,n){var r=e.length-2;t[ho]=b(e.substr(0,r)),t[yo]=b(e.substr(r)),p(n).bigHour=!0}),J("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=b(e.substr(0,r)),t[yo]=b(e.substr(r,2)),t[go]=b(e.substr(o)),p(n).bigHour=!0}),J("Hmm",function(e,t,n){var r=e.length-2;t[ho]=b(e.substr(0,r)),t[yo]=b(e.substr(r))}),J("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[ho]=b(e.substr(0,r)),t[yo]=b(e.substr(r,2)),t[go]=b(e.substr(o))});var Ro,Lo=/[ap]\.?m?\.?/i,jo=re("Hours",!0),Fo={calendar:Ar,longDateFormat:Rr,invalidDate:Lr,ordinal:jr,dayOfMonthOrdinalParse:Fr,relativeTime:Ur,months:Co,monthsShort:Po,week:xo,weekdays:Oo,weekdaysMin:Io,weekdaysShort:ko,meridiemParse:Lo},Uo={},Yo={},Wo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,qo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bo=/Z|[+-]\d\d(?::?\d\d)?/,Ho=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],zo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Vo=/^\/?Date\((\-?\d+)/i,Go=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ko={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};t.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),t.ISO_8601=function(){},t.RFC_2822=function(){};var $o=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()}),Zo=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}),Jo=function(){return Date.now?Date.now():+new Date},Xo=["year","quarter","month","week","day","hour","minute","second","millisecond"];Lt("Z",":"),Lt("ZZ",""),G("Z",ao),G("ZZ",ao),J(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(ao,e)});var Qo=/([\+\-]|\d\d)/gi;t.updateOffset=function(){};var ei=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ti=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Jt.fn=Nt.prototype,Jt.invalid=Dt;var ni=tn(1,"add"),ri=tn(-1,"subtract");t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var oi=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),jn("gggg","weekYear"),jn("ggggg","weekYear"),jn("GGGG","isoWeekYear"),jn("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),G("G",oo),G("g",oo),G("GG",Jr,Gr),G("gg",Jr,Gr),G("GGGG",to,$r),G("gggg",to,$r),G("GGGGG",no,Zr),G("ggggg",no,Zr),X(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=b(e)}),X(["gg","GG"],function(e,n,r,o){n[o]=t.parseTwoDigitYear(e)}),q("Q",0,"Qo","quarter"),L("quarter","Q"),U("quarter",7),G("Q",Vr),J("Q",function(e,t){t[fo]=3*(b(e)-1)}),q("D",["DD",2],"Do","date"),L("date","D"),U("date",9),G("D",Jr),G("DD",Jr,Gr),G("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),J(["D","DD"],po),J("Do",function(e,t){t[po]=b(e.match(Jr)[0])});var ii=re("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),U("dayOfYear",4),G("DDD",eo),G("DDDD",Kr),J(["DDD","DDDD"],function(e,t,n){n._dayOfYear=b(e)}),q("m",["mm",2],0,"minute"),L("minute","m"),U("minute",14),G("m",Jr),G("mm",Jr,Gr),J(["m","mm"],yo);var ai=re("Minutes",!1);q("s",["ss",2],0,"second"),L("second","s"),U("second",15),G("s",Jr),G("ss",Jr,Gr),J(["s","ss"],go);var si=re("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),U("millisecond",16),G("S",eo,Vr),G("SS",eo,Gr),G("SSS",eo,Kr);var ui;for(ui="SSSS";ui.length<=9;ui+="S")G(ui,ro);for(ui="S";ui.length<=9;ui+="S")J(ui,Vn);var li=re("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var ci=v.prototype;ci.add=ni,ci.calendar=on,ci.clone=an,ci.diff=fn,ci.endOf=Mn,ci.format=vn,ci.from=_n,ci.fromNow=Tn,ci.to=bn,ci.toNow=En,ci.get=ae,ci.invalidAt=Rn,ci.isAfter=sn,ci.isBefore=un,ci.isBetween=ln,ci.isSame=cn,ci.isSameOrAfter=dn,ci.isSameOrBefore=mn,ci.isValid=Nn,ci.lang=oi,ci.locale=wn,ci.localeData=Cn,ci.max=Zo,ci.min=$o,ci.parsingFlags=An,ci.set=se,ci.startOf=Pn,ci.subtract=ri,ci.toArray=kn,ci.toObject=In,ci.toDate=On,ci.toISOString=yn,ci.inspect=gn,ci.toJSON=Dn,ci.toString=hn,ci.unix=xn,ci.valueOf=Sn,ci.creationData=Ln,ci.year=Eo,ci.isLeapYear=ne,ci.weekYear=Fn,ci.isoWeekYear=Un,ci.quarter=ci.quarters=Hn,ci.month=he,ci.daysInMonth=ye,ci.week=ci.weeks=Oe,ci.isoWeek=ci.isoWeeks=ke,ci.weeksInYear=Wn,ci.isoWeeksInYear=Yn,ci.date=ii,ci.day=ci.days=Fe,ci.weekday=Ue,ci.isoWeekday=Ye,ci.dayOfYear=zn,ci.hour=ci.hours=jo,ci.minute=ci.minutes=ai,ci.second=ci.seconds=si,ci.millisecond=ci.milliseconds=li,ci.utcOffset=Yt,ci.utc=qt,ci.local=Bt,ci.parseZone=Ht,ci.hasAlignedHourOffset=zt,ci.isDST=Vt,ci.isLocal=Kt,ci.isUtcOffset=$t,ci.isUtc=Zt,ci.isUTC=Zt,ci.zoneAbbr=Gn,ci.zoneName=Kn,ci.dates=C("dates accessor is deprecated. Use date instead.",ii),ci.months=C("months accessor is deprecated. Use month instead",he),ci.years=C("years accessor is deprecated. Use year instead",Eo),ci.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Wt),ci.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Gt);var di=O.prototype;di.calendar=k,di.longDateFormat=I,di.invalidDate=D,di.ordinal=N,di.preparse=Jn,di.postformat=Jn,di.relativeTime=A,di.pastFuture=R,di.set=S,di.months=ce,di.monthsShort=de,di.monthsParse=fe,di.monthsRegex=ve,di.monthsShortRegex=ge,di.week=Me,di.firstDayOfYear=xe,di.firstDayOfWeek=Se,di.weekdays=Ne,di.weekdaysMin=Re,di.weekdaysShort=Ae,di.weekdaysParse=je,di.weekdaysRegex=We,di.weekdaysShortRegex=qe,di.weekdaysMinRegex=Be,di.isPM=$e,di.meridiem=Ze,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===b(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),t.lang=C("moment.lang is deprecated. Use moment.locale instead.",et),t.langData=C("moment.langData is deprecated. Use moment.localeData instead.",rt);var mi=Math.abs,fi=yr("ms"),pi=yr("s"),hi=yr("m"),yi=yr("h"),gi=yr("d"),vi=yr("w"),_i=yr("M"),Ti=yr("y"),bi=_r("milliseconds"),Ei=_r("seconds"),wi=_r("minutes"),Ci=_r("hours"),Pi=_r("days"),Mi=_r("months"),Si=_r("years"),xi=Math.round,Oi={ss:44,s:45,m:45,h:22,d:26,M:11},ki=Math.abs,Ii=Nt.prototype;return Ii.isValid=It,Ii.abs=ar,Ii.add=ur,Ii.subtract=lr,Ii.as=pr,Ii.asMilliseconds=fi,Ii.asSeconds=pi,Ii.asMinutes=hi,Ii.asHours=yi,Ii.asDays=gi,Ii.asWeeks=vi,Ii.asMonths=_i,Ii.asYears=Ti,Ii.valueOf=hr,Ii._bubble=dr,Ii.clone=gr,Ii.get=vr,Ii.milliseconds=bi,Ii.seconds=Ei,Ii.minutes=wi,Ii.hours=Ci,Ii.days=Pi,Ii.weeks=Tr,Ii.months=Mi,Ii.years=Si,Ii.humanize=Pr,Ii.toISOString=Sr,Ii.toString=Sr,Ii.toJSON=Sr,Ii.locale=wn,Ii.localeData=Cn,Ii.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Sr),Ii.lang=oi,q("X",0,0,"unix"),q("x",0,0,"valueOf"),G("x",oo),G("X",so),J("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),J("x",function(e,t,n){n._d=new Date(b(e))}),t.version="2.20.1",n(Mt),t.fn=ci,t.min=xt,t.max=Ot,t.now=Jo,t.utc=m,t.unix=$n,t.months=tr,t.isDate=u,t.locale=et,t.invalid=y,t.duration=Jt,t.isMoment=_,t.weekdays=rr,t.parseZone=Zn,t.localeData=rt,t.isDuration=At,t.monthsShort=nr,t.weekdaysMin=ir,t.defineLocale=tt,t.updateLocale=nt,t.locales=ot,t.weekdaysShort=or,t.normalizeUnits=j,t.relativeTimeRounding=wr,t.relativeTimeThreshold=Cr,t.calendarFormat=rn,t.prototype=ci,t.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},t})}).call(t,n(3)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Username=void 0;var o=n(92),i=r(o),a=n(140),s=r(a),u=t.Username=function(e){var t=e.children,n=e.className;return i.default.createElement("span",{className:(0,s.default)("username",n)},t)};u.displayName="Username",u.propTypes={className:o.PropTypes.string,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Avatar=void 0;var o=n(92),i=r(o),a=t.Avatar=function(){return i.default.createElement("svg",{width:"33",height:"33",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("circle",{cx:"16.5",cy:"16.5",r:"15.5",fill:"#DBDBDB",stroke:"#999999",strokeWidth:"2"}))};a.displayName="Avatar"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentLinks=t.getCommentLinks=void 0;var o=n(158),i=r(o),a=n(2),s=r(a),u=n(92),l=r(u),c=n(161),d=n(162),m=n(163),f=r(m),p=n(164),h=n(167),y=n(175),g=n(176),v=r(g),_=function(e){var t=e.commentData,n=e.commentAdminLinks,r=void 0===n?{}:n,o=e.isUserAnEditor,a=void 0!==o&&o,u=e.isFeatureEnabled,l=t.status===f.default.PASS,c=(0,h.not)(t.author.isNotable),d=l&&(c||a),m=u(y.FeaturesToggles.makeTopPick)&&r.makeTopPick&&d,g={};return d&&(0,h.not)(t.distressMessage)&&(g.reportCommentUrl=r.report?(0,p.formatCommentLinkUrlTemplate)(r.report.url,t):t.actions.reportUrl),r.viewModerationHistory&&(g.viewModerationHistoryUrl=(0,p.formatCommentLinkUrlTemplate)(r.viewModerationHistory.url,t)),m&&(g.makeTopPickUrl=(0,p.formatCommentLinkUrlTemplate)(r.makeTopPick.url,t)),r.memberDetails&&(g.memberDetailsUrl=(0,p.formatCommentLinkUrlTemplate)(r.memberDetails.url,t)),(0,s.default)({hasLinks:(0,i.default)(g).length>0},g)},T=function(e){var t=e.commentNumber,n=e.commentLinks,r=e.authorDisplayName,o=n.reportCommentUrl,i=n.viewModerationHistoryUrl,a=n.makeTopPickUrl,s=n.memberDetailsUrl,u=i||a||s;return l.default.createElement("div",null,o&&l.default.createElement(c.ActionLinks,{className:"action-links--comment-links"},l.default.createElement(c.ActionLink,{href:o,icon:l.default.createElement(v.default,{height:13,width:13,alignBaseline:!0}),className:"action-link--report"},"Report this comment")),u&&l.default.createElement(c.ActionLinks,{className:"action-links--admin-links"},a&&l.default.createElement(c.ActionLink,{href:a,className:"action-link--makeTopPick"},"Make ",l.default.createElement(d.A11yText,null,"comment number "+t+" "),"Editor's Pick"),i&&l.default.createElement(c.ActionLink,{href:i,className:"action-link--viewModerationHistory"},l.default.createElement(d.A11yText,null,"View "),"Moderation History",l.default.createElement(d.A11yText,null," for comment number "+t)),s&&l.default.createElement(c.ActionLink,{href:s,className:"action-link--memberDetails"},l.default.createElement(d.A11yText,null,"View "),"Member Details",l.default.createElement(d.A11yText,null," for "+r))))};T.propTypes={commentLinks:u.PropTypes.shape({reportCommentUrl:u.PropTypes.string,viewModerationHistoryUrl:u.PropTypes.string,makeTopPickUrl:u.PropTypes.string,memberDetailsUrl:u.PropTypes.string}),commentNumber:u.PropTypes.number.isRequired,authorDisplayName:u.PropTypes.string.isRequired},T.defaultProps={commentLinks:{}},t.getCommentLinks=_,t.CommentLinks=T},function(e,t,n){e.exports={default:n(159),__esModule:!0}},function(e,t,n){n(160),e.exports=n(8).Object.keys},function(e,t,n){var r=n(40),o=n(23);n(45)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ActionLinks=t.ActionLink=void 0;var o=n(92),i=r(o),a=n(140),s=r(a),u=t.ActionLink=function(e){var t=e.href,n=e.className,r=e.children,o=e.icon,a=void 0===o?null:o;return i.default.createElement("a",{className:(0,s.default)("action-link",n),href:t},a&&i.default.createElement("span",{className:"action-link__icon","aria-hidden":"true"},a),i.default.createElement("span",{className:"action-link__text"},r))};u.displayName="ActionLink",u.propTypes={className:o.PropTypes.string,href:o.PropTypes.string.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),icon:o.PropTypes.object};var l=t.ActionLinks=function(e){var t=e.children,n=e.className,r=Array.isArray(t)?t:[t];return 0===r.length?i.default.createElement("noscript",null):i.default.createElement("ul",{className:(0,s.default)("action-links",n)},r.filter(function(e){return Boolean(e)}).map(function(e,t){var n=0!==t;return i.default.createElement("li",{key:t,className:(0,s.default)("action-links__item",{"action-links__item--with-separator":n})},e)}))};l.displayName="ActionLinks",l.propTypes={children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]),className:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yText=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=t.A11yText=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showText:!0},n.messageTimeout=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentDidUpdate",value:function(e){var t=this,n=!e||e.children!==this.props.children;this.props.timeout>0&&n&&(this.messageTimeout&&clearTimeout(this.messageTimeout),this.setState({showText:!0}),this.messageTimeout=setTimeout(function(){t.setState({showText:!1})},this.props.timeout))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.messageTimeout)}},{key:"getCurrentText",value:function(){return this.state.showText?this.props.children:" "}},{key:"render",value:function(){return h.default.createElement("span",{className:"comment__hidden-text"},this.getCurrentText())}}]),t}(p.Component);y.displayName="A11yText",y.propTypes={children:p.PropTypes.string.isRequired,timeout:p.PropTypes.number},y.defaultProps={timeout:0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="pass",r="fail",o="refer",i="unknown";t.default={PASS:n,FAIL:r,REFER:o,UNKNOWN:i},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(114),i=r(o),a=n(117),s=r(a),u=n(165),l=r(u),c=n(168),d=r(c),m=n(170),f=n(171),p=n(169);t.default={getAdminLinks:function(e){var t=this,n=e.apiKey,r=e.forumId;return(0,s.default)(i.default.mark(function e(){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.refreshToken)();case 2:return e.next=4,l.default.get(d.default.getAdminLinksUrl({env:(0,m.getEnv)(),forumId:r}),{headers:{"x-api-key":n}});case 4:return o=e.sent,e.abrupt("return",{forumAdminLinks:o.forumLinks,commentAdminLinks:o.commentLinks});case 6:case"end":return e.stop()}},e,t)}))()},formatCommentLinkUrlTemplate:function(e,t){return e.replace("{commentId}",t.id).replace("{userId}",t.author.userId).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})},formatForumAdminLinkUrlTemplate:function(e){return e.replace("{pageTitle}",function(){return encodeURIComponent((0,p.getPageTitle)())}).replace("{pageUrl}",function(){return encodeURIComponent((0,p.getClientLocation)())})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(114),i=r(o),a=n(117),s=r(a),u=function(){var e=(0,s.default)(i.default.mark(function e(t,n,r){var o,a,s,u,m,f,p,h;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.headers,a=void 0===o?{}:o,s=r.body,u=r.timeout,m=void 0===u?d:u,e.next=3,(0,l.timeBoxedPromise)(m,fetch(n,{method:t,headers:a,body:s,credentials:"include"}));case 3:if(f=e.sent,p=f.headers.get("content-type"),h=null,!p||p.indexOf("application/json")===-1){e.next=10;break}return e.next=9,f.json();case 9:h=e.sent;case 10:if(!(0,c.not)(f.ok)){e.next=12;break}throw h;case 12:return e.abrupt("return",h);case 13:case"end":return e.stop()}},e,this)}));return function(t,n,r){return e.apply(this,arguments)}}(),l=n(166),c=n(167),d=3e4;t.default={get:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.headers,o=void 0===r?{}:r,a=n.timeout,u=void 0===a?d:a;return(0,s.default)(i.default.mark(function n(){var r;return i.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,l.timeBoxedPromise)(u,fetch(e,{credentials:"include",headers:o}));case 2:return r=t.sent,t.abrupt("return",r.json());case 4:case"end":return t.stop()}},n,t)}))()},post:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u("POST",e,t)},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u("PUT",e,t)}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(118),i=r(o);t.default={timeBoxedPromise:function(e,t){var n=0,r=function(){return clearTimeout(n)},o=new i.default(function(t,r){n=setTimeout(function(){r("Timed out in "+e+" ms.")},e)});return i.default.race([t,o]).then(function(e){return r(),e})}},e.exports=t.default},function(e,t){"use strict";function n(e){return!e}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){},o=function(e){return 1e3*e};t.not=n,t.noop=r,t.secondsToMillis=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return(0,u.getClientLocation)().indexOf("bbc.com")!==-1?"bbc.com":"bbc.co.uk"}function i(e,t){var n=o();switch(t){case"acc":return l;case"live":return"https://"+e+".api."+n; default:return"https://"+e+"."+t+".api."+n}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(158),s=r(a),u=n(169),l="https://web.archive.org/web/20190701112059/http://localhost:3000";t.default={getIdctaInitUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,s.default)(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&"),r=n?"?"+n:"",o=i("idcta",e);return o+"/idcta/init"+r},getCommentsForumUrl:function(e,t){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments"},getDiscussionUrl:function(e){return i("discussions",e)+"/receiver/api/discussions"},getModeratedUserUrl:function(e){return i("moderateduser",e)+"/v1/user"},getAdminLinksUrl:function(e){var t=e.env,n=e.forumId;return i("moderation",t)+"/v1/adminlinks/"+n},getRatingsUrl:function(e,t,n){return i("discussions",e)+"/receiver/api/discussions/"+t+"/comments/"+n+"/reactions"}},e.exports=t.default},function(e,t){"use strict";function n(e){var t=document.querySelector("meta[property='"+e+"']");return t?t.getAttribute("content"):null}Object.defineProperty(t,"__esModule",{value:!0}),t.default={getPageTitle:function(){return n("og:title")||document.title},getClientLocation:function(){return"undefined"==typeof document?"":document.location.href}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=null;t.default={setEnv:function(e){n=e},getEnv:function(){return n}},e.exports=t.default},function(module,exports,__webpack_require__){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getIdctaInfoForComments(e,t){var n=e.env,r=e.policy,o=e.context,i=t?"authorised":"false",a=o?(0,_defineProperty3.default)({},"context",o):{},s=_urlUtils2.default.getIdctaInitUrl(n,(0,_extends3.default)({policy:r,renderMode:i,purpose:IDCTA_PURPOSE,ptrt:_utils2.default.getClientLocation()},a));return _clientSideFetch2.default.get(s,IDCTA_TIMEOUT).then(function(e){return{isSignedIn:t,idctaInfo:e}})}function setupIdcta(env){var idctaInitUrl=_urlUtils2.default.getIdctaInitUrl(env,{});return _clientSideFetch2.default.get(idctaInitUrl,{timeout:IDCTA_TIMEOUT}).then(function(json){var functionToSetupIdctaLibs=extractFunctionFromScriptBlock(json.inlineHead);return eval(functionToSetupIdctaLibs),json.css})}function buildIdctaInfo(e,t){return getIdctaInfoForComments(e,t).then(function(e){var t=e.isSignedIn,n=e.idctaInfo,r=_idctaBuilder2.default.new().signedIn(t);return t?r.withSignedInMessage(n.html).withPolicyCheck(n.policyCheck):r.withSignInButton(n.html)}).then(function(e){return e.build()})}function isCurrentUserSignedIn(){return getIdcta().then(function(e){var t=e.hasCookie;return t()})}Object.defineProperty(exports,"__esModule",{value:!0});var _regenerator=__webpack_require__(114),_regenerator2=_interopRequireDefault(_regenerator),_asyncToGenerator2=__webpack_require__(117),_asyncToGenerator3=_interopRequireDefault(_asyncToGenerator2),_extends2=__webpack_require__(2),_extends3=_interopRequireDefault(_extends2),_defineProperty2=__webpack_require__(172),_defineProperty3=_interopRequireDefault(_defineProperty2),_promise=__webpack_require__(118),_promise2=_interopRequireDefault(_promise),getUserDetailsFromCookie=function(){var e=(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var t,n;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,getIdcta();case 2:return t=e.sent,n=t.getUserDetailsFromCookie(),e.abrupt("return",{ageBracket:n.ab,displayName:n.dn});case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),_urlUtils=__webpack_require__(168),_urlUtils2=_interopRequireDefault(_urlUtils),_utils=__webpack_require__(169),_utils2=_interopRequireDefault(_utils),_idctaBuilder=__webpack_require__(173),_idctaBuilder2=_interopRequireDefault(_idctaBuilder),_helpers=__webpack_require__(167),_clientSideFetch=__webpack_require__(165),_clientSideFetch2=_interopRequireDefault(_clientSideFetch),_errorTypes=__webpack_require__(174),extractFunctionFromScriptBlock=function(e){return e.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")},getIdcta=function(){return new _promise2.default(function(e,t){requirejs(["idcta-v2/idcta-1"],e,t)})},IDCTA_PURPOSE="",IDCTA_TIMEOUT=1e4;exports.default={setupIdctaLibrary:function(e){return setupIdcta(e)},refreshToken:function(){return getIdcta().then(function(e){var t=e.initiateTokenRefresh;return t()}).catch(function(){throw _errorTypes.ErrorTypes.TOKEN_REFRESH_FAILED})},getIdctaInfo:function(e){var t=this,n=e.idctaEnv,r=e.policy,o=e.signInContext,i=e.shouldCallIdcta,a=void 0===i||i;return(0,_asyncToGenerator3.default)(_regenerator2.default.mark(function e(){var i,s;return _regenerator2.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,isCurrentUserSignedIn();case 2:if(i=e.sent,s={policy:r,env:n,context:o},!(0,_helpers.not)(a)){e.next=6;break}return e.abrupt("return",_idctaBuilder2.default.new().signedIn(i).build());case 6:if(!i){e.next=9;break}return e.next=9,t.refreshToken();case 9:return e.abrupt("return",buildIdctaInfo(s,i));case 10:case"end":return e.stop()}},e,t)}))()},getUserDetailsFromCookie:getUserDetailsFromCookie},module.exports=exports.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(48),i=r(o);t.default=function(e,t,n){return t in e?(0,i.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.default)({},t,n);return{signedIn:function(t){return e(r,{signedIn:t})},withSignInButton:function(t){return e(r,{signInButton:t})},withSignedInMessage:function(t){return e(r,{signedInMessage:t})},withPolicyCheck:function(t){return e(r,{policyCheck:t})},build:function(){return r}}};t.default={new:a},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ErrorTypes={IDCTA_FAILED:"idctaFailed",TOKEN_REFRESH_FAILED:"tokenRefreshFailed",POSTING_EMPTY_COMMENTS_NOT_ALLOWED:"postingEmptyCommentsNotAllowed",PROFANITY_FOUND_IN_TEXT:"profanityFoundInText",POSTING_TO_CLOSED_FORUM:"postingToClosedForum",MORE_COMMENTS_FAILED:"loadMoreCommentsFailed",ID_UNAVAILABLE:"idUnavailable",UNKNOWN_ERROR:"unknownError",RATING_COMMENT_FAILED:"ratingCommentFailed",DISCUSSION_ALREADY_EXISTS:"DISCUSSION_ALREADY_EXISTS"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=f(e),n=(0,a.default)(m).reduce(function(e,n){var r=m[n];return e[r]=t[r]||c,e},{});return{isFeatureEnabled:function(e){return"acc"===(0,l.getEnv)()||n[e]===d}}}Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesToggles=void 0;var i=n(158),a=r(i),s=n(146),u=r(s);t.setupFeatureToggles=o;var l=n(170),c="off",d="on",m=t.FeaturesToggles={ratings:"ratings",makeTopPick:"makeTopPick",liveUpdate:"liveUpdate",replies:"replies"},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(",");return t.reduce(function(e,t){if(t.indexOf(":")!==-1){var n=t.trim().split(":"),r=(0,u.default)(n,2),o=r[0],i=r[1];e[o]=i.trim()}return e},{})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r,a=e.alignToBaseline,s=void 0!==a&&a;return i.default.createElement("span",{className:"alert-icon"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:n,viewBox:"0 0 32 "+(s?30:32)},i.default.createElement("path",{d:"M16 2L0 30h32L16 2zm2 25h-4v-4h4v4zm-4-6V11h4v10h-4z"})))};a.displayName="Alert",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number,alignToBaseline:o.PropTypes.bool},t.default=a,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="passed",r="failedOrAwaiting",o={0:n,1:r,2:r,3:n,4:r};t.toDisplayNameStatus=function(e){return o[e]};t.default={PASSED:n,FAILED_OR_AWAITING:r}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentRatingContainer=t.OTHER_ERROR_BODY=t.TOOLTIP_ERROR_SUBTITLE=void 0;var o=n(114),i=r(o),a=n(117),s=r(a),u=n(41),l=r(u),c=n(46),d=r(c),m=n(47),f=r(m),p=n(51),h=r(p),y=n(84),g=r(y),v=n(92),_=r(v),T=n(179),b=n(182),E=n(185),w=n(174),C=n(186),P=n(189),M=r(P),S=n(190),x="You must sign in to like comments.",O="Please refresh your browser and try again.",k=t.TOOLTIP_ERROR_SUBTITLE="Sorry, there was a problem",I=t.OTHER_ERROR_BODY="Please try again later.",D=t.CommentRatingContainer=function(e){function t(e){(0,d.default)(this,t);var n=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e)),r=n.props.idctaData.signedIn===!1;return n.state={hasError:!1,tooltipText:x,isSendingRating:!1,ratingValue:e.commentData.rating.positive,hasRatedComment:!1,shouldDisableHandleClick:r},n.ratingErrorHandler=n.ratingErrorHandler.bind(n),n.handleClick=n.handleClick.bind(n),n.tooltipCloseHandler=n.tooltipCloseHandler.bind(n),n}return(0,g.default)(t,e),(0,f.default)(t,[{key:"render",value:function(){if(this.isSignedOut()&&this.props.isRatingEnabled||this.state.hasError){var e=this.state.hasError?_.default.createElement("div",{"aria-live":"polite","aria-atomic":"true"},this.state.tooltipBody):_.default.createElement(E.IdctaSignInButton,{markup:this.getIdctaData().signInButton});return _.default.createElement(T.TooltipLauncher,{tooltipSubtitle:this.state.tooltipText,isTooltipOpen:this.state.hasError,isTooltipAlert:this.state.hasError,tooltipBody:e,tooltipOnClose:this.tooltipCloseHandler},this.renderPositiveCommentRating())}return this.renderPositiveCommentRating()}},{key:"componentWillReceiveProps",value:function(e){var t=e.idctaData.signedIn===!1;this.setState({shouldDisableHandleClick:t})}},{key:"renderPositiveCommentRating",value:function(){var e=this.props,t=e.commentData,n=e.isRatingEnabled;return _.default.createElement(b.PositiveCommentRating,{Icon:this.context.theme.getIcon("Upvote"),commentIndex:t.index,isDisabled:!n,commentId:t.id,ratingErrorHandler:this.ratingErrorHandler,isSendingRating:this.state.isSendingRating,ratingValue:this.state.ratingValue,hasRatedComment:this.state.hasRatedComment,numberPlacement:this.context.theme.ratingsNumberPlacement,handleClick:this.handleClick})}},{key:"tooltipCloseHandler",value:function(){this.setState({hasError:!1})}},{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"ratingErrorHandler",value:function(e){var t=e===w.ErrorTypes.TOKEN_REFRESH_FAILED?O:I;this.setState({tooltipText:k,tooltipBody:t,hasError:!0})}},{key:"handleClick",value:function(){function e(){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(){var t,n,r,o,a,s,u,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.state.shouldDisableHandleClick){e.next=2;break}return e.abrupt("return");case 2:return t=this.context.apiKey,n=this.props.commentData.id,r=this.props.forumId,o=this.props.commentData.rating.positive,this.setState({isSendingRating:!0,shouldDisableHandleClick:!0}),this.context.setA11yAlertText(l),M.default.logClickEvent(S.ISTATS_ACTIONS.RatingComment),e.prev=9,e.next=12,(0,C.postRating)({apiKey:t,commentId:n},r);case 12:a=e.sent,s=a.ratingChange,u=o+s,this.setState({isSendingRating:!1,ratingValue:u,hasRatedComment:!0}),e.next=22;break;case 18:e.prev=18,e.t0=e.catch(9),this.setState({isSendingRating:!1,shouldDisableHandleClick:!1}),this.ratingErrorHandler(e.t0);case 22:case"end":return e.stop()}},e,this,[[9,18]])}));return e}()}]),t}(v.Component);D.displayName="CommentRatingContainer",D.propTypes={isRatingEnabled:v.PropTypes.bool,commentData:v.PropTypes.shape({index:v.PropTypes.number,id:v.PropTypes.number.isRequired,rating:v.PropTypes.shape({positive:v.PropTypes.number.isRequired})}).isRequired,idctaData:v.PropTypes.object.isRequired,forumId:v.PropTypes.string.isRequired},D.defaultProps={isRatingEnabled:!0},D.contextTypes={apiKey:v.PropTypes.string.isRequired,theme:v.PropTypes.shape({getIcon:v.PropTypes.func.isRequired,ratingsNumberPlacement:v.PropTypes.string.isRequired}).isRequired,setA11yAlertText:v.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipLauncher=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(180),g=t.TooltipLauncher=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isTooltipOpen:e.isTooltipOpen},n.openTooltip=n.openTooltip.bind(n),n.closeToolTip=n.closeToolTip.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.tooltipSubtitle,n=e.tooltipBody,r=e.children,o=e.isTooltipAlert;return h.default.createElement("div",{className:"tooltip-launcher"},h.default.createElement("div",{onClick:this.openTooltip,className:"tooltip-launcher__children"},r),this.state.isTooltipOpen&&h.default.createElement(y.Tooltip,{subtitle:t,handleClose:this.closeToolTip,isAlert:o},n))}},{key:"openTooltip",value:function(){this.setState({isTooltipOpen:!0})}},{key:"closeToolTip",value:function(){var e=this.props.tooltipOnClose;this.setState({isTooltipOpen:!1}),e()}}]),t}(p.Component);g.displayName="TooltipLauncher",g.propTypes={tooltipSubtitle:p.PropTypes.string,tooltipBody:p.PropTypes.object,isTooltipOpen:p.PropTypes.bool,isTooltipAlert:p.PropTypes.bool,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),tooltipOnClose:p.PropTypes.func},g.defaultProps={tooltipSubtitle:"",isTooltipOpen:!1,isTooltipAlert:!1,tooltipBody:h.default.createElement("div",null),tooltipOnClose:function(){}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Tooltip=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(181),g=r(y),v=n(176),_=r(v),T=n(95),b=n(142),E=n(140),w=r(E),C=5,P=t.Tooltip=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={tooltipCssLeft:"unset",tooltipPointCssLeft:"unset"},n.handleClickOutside=n.handleClickOutside.bind(n),n.updatePositionOnWindowResize=n.updatePositionOnWindowResize.bind(n),n.throttledUpdatePositionOnWindowResize=(0,T.throttle)(n.updatePositionOnWindowResize,300),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.subtitle,r=t.children,o=t.handleClose,i=t.isAlert,a={left:this.state.tooltipCssLeft},s={left:this.state.tooltipPointCssLeft};return h.default.createElement("div",{className:"comment-tooltip",style:a,ref:function(t){return e.commentTooltip=t}},h.default.createElement("span",{className:"comment-tooltip__pointer",style:s}),h.default.createElement("div",{className:"comment-tooltip__inner"},h.default.createElement("div",{className:"comment-tooltip__content"},h.default.createElement("p",{tabIndex:"0",className:(0,w.default)("comment-tooltip__subtitle",{"comment-tooltip__subtitle--alert":i}),"aria-label":n,ref:function(t){return e.commentTooltipSubtitle=t}},i&&h.default.createElement(_.default,null),n),h.default.createElement("div",{className:"comment-tooltip__body"},r),h.default.createElement("button",{onClick:o,className:"comment-tooltip__close",title:"Close","aria-label":"Close Tooltip"},h.default.createElement("span",{className:"comment-tooltip__close-icon"},h.default.createElement(g.default,null))))))}},{key:"componentDidMount",value:function(){this.updatePositionOnWindowResize(),document.addEventListener("click",this.handleClickOutside),window.addEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.addEventListener("orientationchange",this.updatePositionOnWindowResize,!0),(0,b.focusOnElement)(this.commentTooltipSubtitle)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("click",this.handleClickOutside),window.removeEventListener("resize",this.throttledUpdatePositionOnWindowResize,!0),window.removeEventListener("orientationchange",this.updatePositionOnWindowResize,!0)}},{key:"handleClickOutside",value:function(e){this.commentTooltip&&this.commentTooltip.contains(e.target)||this.props.handleClose()}},{key:"updatePositionOnWindowResize",value:function(){var e=this.commentTooltip.getBoundingClientRect().right-(0,b.getViewportWidth)();if(e>0){var t=e+C;this.setState({tooltipCssLeft:-t,tooltipPointCssLeft:t})}}}]),t}(p.Component);P.displayName="Tooltip",P.propTypes={subtitle:p.PropTypes.string.isRequired,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),handleClose:p.PropTypes.func.isRequired,isAlert:p.PropTypes.bool},P.defaultProps={isAlert:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{viewBox:"0 0 32 32",id:"gel-icon-no",width:o,height:n},i.default.createElement("path",{d:"M32 3.5L28.5 0 16 12.5 3.5 0 0 3.5 12.5 16 0 28.5 3.5 32 16 19.5 28.5 32l3.5-3.5L19.5 16"}))};a.displayName="Close",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PositiveCommentRating=t.CommentRating=void 0;var o=n(2),i=r(o),a=n(92),s=r(a),u=n(140),l=r(u),c=n(183),d=r(c),m=n(184),f=r(m),p=t.CommentRating=function(e,t){var n=e.direction,r=e.Icon,o=e.commentIndex,i=e.isDisabled,a=e.isSendingRating,u=e.hasRatedComment,c=e.ratingValue,m=e.handleClick,p=e.numberPlacement,h=t.theme.formatMessage,y=u?h("commentLiked",{commentNumber:o+1}):h("likeComment",{commentNumber:o+1}),g=h("ratingsCount",{likeCount:c}),v=s.default.createElement("div",{className:"comment-rating__button-number"},c),_=function(){var e=u?h("commentLiked",{commentNumber:o+1}):h("sendingLike");m(e)};return s.default.createElement("div",{className:"comment-rating"},s.default.createElement("button",{className:(0,l.default)("comment-rating__button","comment-rating__button--"+n,"comment-rating__button--number-placement-"+p,{"comment-rating__button--posted":u}),disabled:i,"aria-label":y+". "+g,onClick:_},p===d.default.LEFT&&v,s.default.createElement("div",{className:"comment-rating__button-icon"},a?s.default.createElement(f.default,null):s.default.createElement(r,null)),p===d.default.RIGHT&&v))};p.displayName="CommentRating",p.propTypes={direction:a.PropTypes.string.isRequired,Icon:a.PropTypes.func.isRequired,ratingValue:a.PropTypes.number.isRequired,commentIndex:a.PropTypes.number.isRequired,isDisabled:a.PropTypes.bool,commentId:a.PropTypes.number.isRequired,isSendingRating:a.PropTypes.bool.isRequired,hasRatedComment:a.PropTypes.bool,handleClick:a.PropTypes.func.isRequired,numberPlacement:a.PropTypes.oneOf([d.default.LEFT,d.default.RIGHT])},p.defaultProps={numberPlacement:d.default.RIGHT},p.contextTypes={theme:a.PropTypes.shape({formatMessage:a.PropTypes.func})};var h=t.PositiveCommentRating=function(e){return s.default.createElement(p,(0,i.default)({direction:"positive"},e))};h.displayName="PositiveCommentRating"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="left",r="right";t.default={LEFT:n,RIGHT:r},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=r(o),a=function(e){var t=e.height,n=void 0===t?16:t,r=e.width,o=void 0===r?16:r;return i.default.createElement("svg",{className:"loading-spinner",xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 32 32"},i.default.createElement("path",{d:"M29.8 8l-3.5 2c1 1.8 1.6 3.8 1.6 6 0 6.6-5.4 12-12 12S4 22.6 4 16 9.4 4 16 4V0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16c0-2.9-.8-5.6-2.2-8z"}))};a.displayName="LoadingSpinner",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignInButton=void 0;var o=n(92),i=r(o),a=t.IdctaSignInButton=function(e){var t=e.markup;return i.default.createElement("div",{className:"comments__idcta-btn",dangerouslySetInnerHTML:{__html:t}})};a.displayName="IdctaSignInButton",a.propTypes={markup:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(114),i=r(o),a=n(187),s=r(a),u=n(118),l=r(u),c=n(117),d=r(c),m=n(165),f=r(m),p=n(168),h=r(p),y=n(170),g=n(171),v=n(174),_=n(169),T={PROFANITY_FOUND_IN_TEXT:"PROFANITY_FOUND",FORUM_CLOSED:"RESOURCE_CLOSED",FORUM_READ_ONLY:"DISCUSSION_READ_ONLY"},b=function(){var e=(0,d.default)(i.default.mark(function e(t,n,r){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t!==!1){e.next=2;break}return e.abrupt("return",l.default.resolve());case 2:return o=h.default.getDiscussionUrl((0,y.getEnv)()),e.abrupt("return",f.default.post(o,{headers:{"content-type":"application/json","x-api-key":n},body:(0,s.default)({uid:r,title:(0,_.getPageTitle)(),parentUri:(0,_.getClientLocation)()})}).catch(function(e){return e&&e.errorCode===v.ErrorTypes.DISCUSSION_ALREADY_EXISTS?l.default.resolve():l.default.reject(e)}));case 4:case"end":return e.stop()}},e,void 0)}));return function(t,n,r){return e.apply(this,arguments)}}(),E=function(){var e=(0,d.default)(i.default.mark(function e(t,n,r){var o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=h.default.getCommentsForumUrl((0,y.getEnv)(),r),e.abrupt("return",f.default.post(o,{headers:{"content-type":"application/json","x-api-key":t},body:(0,s.default)({pageURL:(0,_.getClientLocation)(),pageTitle:(0,_.getPageTitle)(),text:n})}));case 2:case"end":return e.stop()}},e,void 0)}));return function(t,n,r){return e.apply(this,arguments)}}();t.default={postComment:function(e){var t=this,n=e.apiKey,r=e.forumId,o=e.commentText,a=e.createForum;return(0,d.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,g.refreshToken)();case 3:return e.next=5,b(a,n,r);case 5:return e.next=7,E(n,o,r);case 7:e.next=19;break;case 9:if(e.prev=9,e.t0=e.catch(0),e.t0!==v.ErrorTypes.TOKEN_REFRESH_FAILED){e.next=13;break}throw v.ErrorTypes.TOKEN_REFRESH_FAILED;case 13:e.t1=e.t0.errorCode,e.next=e.t1===T.PROFANITY_FOUND_IN_TEXT?16:e.t1===T.FORUM_CLOSED?17:e.t1===T.FORUM_READ_ONLY?17:18;break;case 16:throw v.ErrorTypes.PROFANITY_FOUND_IN_TEXT;case 17:throw v.ErrorTypes.POSTING_TO_CLOSED_FORUM;case 18:throw v.ErrorTypes.UNKNOWN_ERROR;case 19:case"end":return e.stop()}},e,t,[[0,9]])}))()},postRating:function(e,t){var n=this,r=e.apiKey,o=e.commentId;return(0,d.default)(i.default.mark(function e(){return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.refreshToken)();case 2:return e.next=4,f.default.post(h.default.getRatingsUrl((0,y.getEnv)(),t,o),{headers:{"content-type":"application/json","x-api-key":r}});case 4:return e.abrupt("return",{ratingChange:1});case 5:case"end":return e.stop()}},e,n)}))()}},e.exports=t.default},function(e,t,n){e.exports={default:n(188),__esModule:!0}},function(e,t,n){var r=n(8),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){i().then(function(r){r.log(e,t,(0,l.default)({},c,n))})}function i(){return new s.default(function(e){window.require(["istats-1"],function(t){e(t)})})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(118),s=r(a),u=n(2),l=r(u),c={};t.default={initialiseCommonLabels:function(e){c=(0,l.default)({},e)},logClickEvent:function(e,t){o("click",e,t)},logViewEvent:function(e,t){o("view",e,t)},logLoadEvent:function(e,t){o("load",e,t)}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ISTATS_ACTIONS={CancelLink:"comments_cancel_link_comment",PostingComments:"comments_post_comment",ShowMoreComments:"comments_more_comments",ShowNewComments:"comments_new_comments",LoadingMoreComments:"comments_loading_comments",FailedToLoadMoreComments:"comments_loading_comments_error",FailedToPostComments:"comments_error_",CommentsInViewport:"comments_view",CommentsLoad:"comments_load",RatingComment:"comments_positive_vote"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentFooter=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=t.CommentFooter=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props.children,t=Array.isArray(e)?e:[e],n=t.filter(function(e){return Boolean(e)}).length>0;return n?h.default.createElement("div",{className:"comment__footer comment__footer--medium-tap-size"},e):h.default.createElement("noscript",null)}}]),t}(p.Component);y.displayName="CommentFooter",y.propTypes={children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentDistressText=void 0;var o=n(92),i=r(o),a=t.CommentDistressText=function(e,t){var n=e.commentDistressText,r=t.theme;return i.default.createElement("div",{className:"comment--distress"},r.getComponent("distressMessageFlag"),i.default.createElement("p",{dangerouslySetInnerHTML:{__html:n}}))};a.displayName="CommentDistressText",a.propTypes={commentDistressText:o.PropTypes.string.isRequired},a.contextTypes={theme:o.PropTypes.shape({getComponent:o.PropTypes.func.isRequired})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=r(o),a=function(){return i.default.createElement("div",{className:"more-icon-vertical"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},i.default.createElement("rect",{x:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"12",width:"8",height:"8"}),i.default.createElement("rect",{x:"12",y:"24",width:"8",height:"8"})))};a.displayName="MoreIconVertical",a.propTypes={},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplyButton=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(140),g=r(y),v=n(195),_=r(v),T=t.ReplyButton=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.onClick,r=e.replyTo,o=e.isReplyTrayOpen,i=e.setReplyButtonRef,a=r?this.context.theme.formatMessage("replyTo")+" "+r:""+this.context.theme.formatMessage("replyComment"),s=o?""+this.context.theme.formatMessage("closeReply"):a,u=o;return h.default.createElement("div",{className:"reply-button-wrapper"},h.default.createElement("button",{ref:i,className:(0,g.default)("reply-button",t),"aria-label":s,"aria-expanded":u,onClick:n},h.default.createElement("span",{className:"reply-button__icon"},h.default.createElement(_.default,{iconName:"comments",additionalClassNames:"reply-button__icon-gel"})),h.default.createElement("span",{className:"reply-button__text"},"Reply")))}}]),t}(p.Component);T.displayName="ReplyButton",T.propTypes={className:p.PropTypes.string,onClick:p.PropTypes.func,replyTo:p.PropTypes.string,isReplyTrayOpen:p.PropTypes.bool,setReplyButtonRef:p.PropTypes.func},T.defaultProps={isReplyTrayOpen:!1},T.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t){e.exports=Morph.modules["bbc-morph-gel-icons@4.0.0"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Reply=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(185),g=n(197),v=n(140),_=r(v),T=t.Reply=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"getIdctaData",value:function(){return this.props.idctaData}},{key:"isSignedOut",value:function(){return this.getIdctaData().signedIn===!1}},{key:"isEligibleToComment",value:function(){return Boolean(this.getIdctaData().policyCheck)===!1}},{key:"render",value:function(){var e=this.props,t=e.isCommentWithReplies,n=e.isReplyToReply,r=e.signinPrompt,o=e.replyTo,i=e.cancelInput,a=e.inputTextLimit,s=e.inputModerationStatus,u=e.isReplyTrayOpen,l=(0,_.default)("reply",{"reply-to-reply":n},{"reply-input-hidden":!u});return h.default.createElement("div",{className:l},this.isSignedOut()?h.default.createElement("div",{className:"reply__signin"},h.default.createElement("p",{className:"reply__signin--prompt"},r),h.default.createElement(y.IdctaSignInButton,{markup:this.getIdctaData().signInButton})):h.default.createElement("div",{className:"reply__signedin"},this.isEligibleToComment()?h.default.createElement("div",{className:"reply__signedin-eligible"},h.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to ",o),h.default.createElement(g.CommentsInput,{commentInputClass:"reply-input",buttonsWrapperClass:"reply-input-buttons-wrapper",cancelInput:i,isDisabled:!1,textLimit:a,moderationStatus:s,createForum:!1})):h.default.createElement("p",{className:"reply__signedin-ineligible",dangerouslySetInnerHTML:{__html:this.getIdctaData().signedInMessage}})),t&&h.default.createElement("div",{className:"reply-separator"}))}}]),t}(p.Component);T.displayName="Reply",T.propTypes={isReplyTrayOpen:p.PropTypes.bool,isCommentWithReplies:p.PropTypes.oneOfType([p.PropTypes.bool,p.PropTypes.array]),isReplyToReply:p.PropTypes.bool,idctaData:p.PropTypes.object,signinPrompt:p.PropTypes.string,replyTo:p.PropTypes.string,cancelInput:p.PropTypes.func,inputTextLimit:p.PropTypes.number,inputModerationStatus:p.PropTypes.string},T.defaultProps={signinPrompt:"",idctaData:{signedIn:!1,policyCheck:!1},isReplyTrayOpen:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsInput=void 0;var o=n(198),i=r(o),a=n(41),s=r(a),u=n(46),l=r(u),c=n(47),d=r(c),m=n(51),f=r(m),p=n(84),h=r(p),y=n(92),g=r(y),v=n(143),_=n(202),T=n(186),b=r(T),E=n(203),w=r(E),C=n(189),P=r(C),M=n(190),S=n(174),x=n(205),O=n(206),k=n(142),I=t.CommentsInput=function(e){function t(e){(0,l.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.state={inputText:"",inputLength:0,hasInputChanged:!1,isSubmittingComment:!1,commentAlert:null,createForum:e.createForum,remainingCharactersMessage:""},n.formOnSubmit=n.formOnSubmit.bind(n), n.inputBoxOnChange=n.inputBoxOnChange.bind(n),n.cancelInput=n.cancelInput.bind(n),n.getRemainingCharactersMessage=n.getRemainingCharactersMessage.bind(n),n}return(0,h.default)(t,e),(0,d.default)(t,[{key:"isPostCommentButtonDisabled",value:function(){return this.props.isDisabled||this.state.isSubmittingComment||this.hasTextLimit()&&this.isTextOverLimit()}},{key:"isInputBoxEmpty",value:function(){return 0===this.state.inputText.trim().length}},{key:"setCommentAlert",value:function(e,t){this.setState({commentAlert:{type:e,message:t}})}},{key:"getRemainingCharactersMessage",value:function(e){var t=this.props.textLimit-e;if(e>this.props.textLimit){var n=e-this.props.textLimit;return this.context.theme.formatMessage("overCharacterLimitMessage",{excessCharacters:n})}return e<this.props.textLimit?this.context.theme.formatMessage("underCharacterLimitMessage",{remainingCharacters:t}):this.context.theme.formatMessage("atCharacterLimitMessage")}},{key:"inputBoxOnChange",value:function(e){var t=e.target.value,n=t.trim().length,r=this.getRemainingCharactersMessage(n);this.state.inputLength<=this.props.textLimit&&n>this.props.textLimit&&this.context.setA11yAlertText(r),this.state.inputLength>this.props.textLimit&&n<=this.props.textLimit&&this.context.setA11yAlertText(r),this.setState({inputText:t,inputLength:n,hasInputChanged:!0,remainingCharactersMessage:r})}},{key:"isTextOverLimit",value:function(){return this.state.inputLength>this.props.textLimit}},{key:"getRemainingCharacters",value:function(){return this.props.textLimit-this.state.inputLength}},{key:"resetInputBox",value:function(){this.commentsInput&&(0,k.focusOnElement)(this.commentsInput),this.setState({inputText:"",inputLength:0,hasInputChanged:!1,remainingCharactersMessage:this.getRemainingCharactersMessage(0)})}},{key:"handlePostCommentErrors",value:function(e){var t=(0,x.getMessageKeyForError)(e),n=this.context.theme.formatMessage(t);P.default.logViewEvent(M.ISTATS_ACTIONS.FailedToPostComments+e),this.setCommentAlert(_.AlertTypes.ERROR,n),this.context.setA11yAlertText(n)}},{key:"getSuccessIcon",value:function(e){return e===_.AlertTypes.SUCCESS?this.context.theme.getIcon("SuccessIcon"):null}},{key:"showPostSuccessMessage",value:function(){var e=(0,O.getPostCommentSuccessMessageKey)(this.props.moderationStatus),t=this.context.theme.formatMessage(e);this.setCommentAlert(_.AlertTypes.SUCCESS,t),this.context.setA11yAlertText(t)}},{key:"formOnSubmit",value:function(e){var t=this;if(e.preventDefault(),this.isInputBoxEmpty())this.handlePostCommentErrors(S.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED);else{var n=this.context,r=n.apiKey,o=n.forumId,i=this.state.inputText,a=this.state.createForum;P.default.logClickEvent(M.ISTATS_ACTIONS.PostingComments),this.setState({isSubmittingComment:!0}),b.default.postComment({apiKey:r,forumId:o,commentText:i,createForum:a}).then(function(){t.resetInputBox(),t.showPostSuccessMessage(),t.setState({createForum:!1})}).catch(function(e){t.handlePostCommentErrors(e)}).then(function(){t.setState({isSubmittingComment:!1})})}}},{key:"hasTextLimit",value:function(){return(0,i.default)(this.props.textLimit)}},{key:"postCommentButtonText",value:function(){return this.context.theme.formatMessage("postCommentButtonText")}},{key:"cancelInput",value:function(){P.default.logClickEvent(M.ISTATS_ACTIONS.CancelLink),this.resetInputBox(),this.context.setA11yAlertText(this.context.theme.formatMessage("clearCommentMessage"))}},{key:"render",value:function(){var e=this;return g.default.createElement("div",{className:this.props.commentInputClass},this.state.commentAlert&&g.default.createElement(v.CommentsAlert,{type:this.state.commentAlert.type,Icon:this.getSuccessIcon(this.state.commentAlert.type)},this.state.commentAlert.message),g.default.createElement("form",{onSubmit:this.formOnSubmit,className:"comments__input"},g.default.createElement("div",{className:"comments__input-area"},g.default.createElement(w.default,{className:"comments-input-box",useCacheForDOMMeasurements:!0,value:this.state.inputText,placeholder:"Add your comment…",minRows:1,maxRows:8,onChange:this.inputBoxOnChange,ref:function(t){return e.commentsInput=t},"aria-label":this.state.remainingCharactersMessage}),this.hasTextLimit()&&this.state.hasInputChanged&&g.default.createElement(v.CommentsTextLimit,{remainingCharacters:this.getRemainingCharacters(),isTextOverLimit:this.isTextOverLimit(),textLimit:this.props.textLimit,inputText:this.state.inputText,remainingCharactersMessage:this.state.remainingCharactersMessage})),this.state.hasInputChanged&&this.state.inputLength>0&&g.default.createElement("div",{className:this.props.buttonsWrapperClass},g.default.createElement(v.CommentsButton,{type:"submit",className:"comments__submit-button",isDisabled:this.isPostCommentButtonDisabled()},this.postCommentButtonText()),g.default.createElement("button",{type:"button",className:"comments__cancel-link",onClick:this.props.cancelInput||this.cancelInput,"aria-label":this.context.theme.formatMessage("clearCommentButtonText")},"Cancel"))))}}]),t}(y.Component);I.displayName="CommentsInput",I.propTypes={commentInputClass:y.PropTypes.string,buttonsWrapperClass:y.PropTypes.string,textLimit:y.PropTypes.number,moderationStatus:y.PropTypes.string.isRequired,createForum:y.PropTypes.bool.isRequired,isDisabled:y.PropTypes.bool,cancelInput:y.PropTypes.func},I.contextTypes={apiKey:y.PropTypes.string.isRequired,forumId:y.PropTypes.string.isRequired,setA11yAlertText:y.PropTypes.func.isRequired,theme:y.PropTypes.shape({formatMessage:y.PropTypes.func.isRequired,getIcon:y.PropTypes.func.isRequired}).isRequired},I.defaultProps={commentInputClass:"",buttonsWrapperClass:""}},function(e,t,n){e.exports={default:n(199),__esModule:!0}},function(e,t,n){n(200),e.exports=n(8).Number.isInteger},function(e,t,n){var r=n(6);r(r.S,"Number",{isInteger:n(201)})},function(e,t,n){var r=n(14),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsAlert=t.AlertTypes=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=(t.AlertTypes={ERROR:"error",SUCCESS:"success"},t.CommentsAlert=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.type,n=e.role,r=e.children,o=e.Icon;return h.default.createElement("div",{role:n,className:"comments__alert"},h.default.createElement("div",{className:"comments-"+t+"-message"},o&&h.default.createElement("div",{className:"comments-success-message-icon"},h.default.createElement(o,null)),h.default.createElement("div",{className:"comments-success-message-text"},r)))}}]),t}(p.Component));y.displayName="CommentsAlert",y.propTypes={type:p.PropTypes.string.isRequired,role:p.PropTypes.string,children:p.PropTypes.oneOfType([p.PropTypes.arrayOf(p.PropTypes.node),p.PropTypes.node]),Icon:p.PropTypes.func}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return window.requestAnimationFrame?window.requestAnimationFrame(e):window.setTimeout(e,1)}function u(e){window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=function(e,t,n){for(var r=!0;r;){var o=e,i=t,a=n;s=l=u=void 0,r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(a)}var l=Object.getPrototypeOf(o);if(null===l)return;e=l,t=i,n=a,r=!0}},m=n(92),f=r(m),p=n(204),h=r(p),y=function(){},g=function(e){function t(e){i(this,t),d(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e),this.state={height:null,minHeight:-(1/0),maxHeight:1/0},this._onNextFrameActionId=null,this._rootDOMNode=null,this._onChange=this._onChange.bind(this),this._resizeComponent=this._resizeComponent.bind(this),this._onRootDOMNode=this._onRootDOMNode.bind(this)}return a(t,e),c(t,null,[{key:"propTypes",value:{value:f.default.PropTypes.string,onChange:f.default.PropTypes.func,onHeightChange:f.default.PropTypes.func,useCacheForDOMMeasurements:f.default.PropTypes.bool,rows:f.default.PropTypes.number,minRows:f.default.PropTypes.number,maxRows:f.default.PropTypes.number},enumerable:!0},{key:"defaultProps",value:{onChange:y,onHeightChange:y,useCacheForDOMMeasurements:!1},enumerable:!0}]),c(t,[{key:"render",value:function(){var e=this.props,t=e.valueLink,n=(e.onChange,o(e,["valueLink","onChange"]));n=l({},n),"object"==typeof t&&(n.value=this.props.valueLink.value),n.style=l({},n.style,{height:this.state.height});var r=Math.max(n.style.maxHeight?n.style.maxHeight:1/0,this.state.maxHeight);return r<this.state.height&&(n.style.overflow="hidden"),f.default.createElement("textarea",l({},n,{onChange:this._onChange,ref:this._onRootDOMNode}))}},{key:"componentDidMount",value:function(){this._resizeComponent(),window.addEventListener("resize",this._resizeComponent)}},{key:"componentWillReceiveProps",value:function(){this._clearNextFrame(),this._onNextFrameActionId=s(this._resizeComponent)}},{key:"componentDidUpdate",value:function(e,t){this.state.height!==t.height&&this.props.onHeightChange(this.state.height)}},{key:"componentWillUnmount",value:function(){this._clearNextFrame(),window.removeEventListener("resize",this._resizeComponent)}},{key:"_clearNextFrame",value:function(){this._onNextFrameActionId&&u(this._onNextFrameActionId)}},{key:"_onRootDOMNode",value:function(e){this._rootDOMNode=e}},{key:"_onChange",value:function(e){this._resizeComponent();var t=this.props,n=t.valueLink,r=t.onChange;n?n.requestChange(e.target.value):r(e)}},{key:"_resizeComponent",value:function(){var e=this.props.useCacheForDOMMeasurements;this.setState((0,h.default)(this._rootDOMNode,e,this.props.rows||this.props.minRows,this.props.maxRows))}},{key:"focus",value:function(){this._rootDOMNode.focus()}},{key:"blur",value:function(){this._rootDOMNode.blur()}},{key:"value",get:function(){return this._rootDOMNode.value},set:function(e){this._rootDOMNode.value=e}},{key:"selectionStart",get:function(){return this._rootDOMNode.selectionStart},set:function(e){this._rootDOMNode.selectionStart=e}},{key:"selectionEnd",get:function(){return this._rootDOMNode.selectionEnd},set:function(e){this._rootDOMNode.selectionEnd=e}}]),t}(f.default.Component);t.default=g,e.exports=t.default},function(e,t){"use strict";function n(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],i=arguments.length<=3||void 0===arguments[3]?null:arguments[3];s||(s=document.createElement("textarea"),document.body.appendChild(s));var a=r(e,t),u=a.paddingSize,l=a.borderSize,c=a.boxSizing,d=a.sizingStyle;s.setAttribute("style",d+";"+o),s.value=e.value||e.placeholder||"";var m=-(1/0),f=1/0,p=s.scrollHeight;if("border-box"===c?p+=l:"content-box"===c&&(p-=u),null!==n||null!==i){s.value="";var h=s.scrollHeight-u;null!==n&&(m=h*n,"border-box"===c&&(m=m+u+l),p=Math.max(m,p)),null!==i&&(f=h*i,"border-box"===c&&(f=f+u+l),p=Math.min(f,p))}return{height:p,minHeight:m,maxHeight:f}}function r(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&a[n])return a[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),s=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),u=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),l=i.map(function(e){return e+":"+r.getPropertyValue(e)}).join(";"),c={sizingStyle:l,paddingSize:s,borderSize:u,boxSizing:o};return t&&n&&(a[n]=c),c}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var o="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",i=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],a={},s=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMessageKeyForError=void 0;var r=n(174);t.getMessageKeyForError=function(e){switch(e){case r.ErrorTypes.TOKEN_REFRESH_FAILED:case r.ErrorTypes.IDCTA_FAILED:return"postCommentIdctaError";case r.ErrorTypes.POSTING_EMPTY_COMMENTS_NOT_ALLOWED:return"postingEmptyCommentNotAllowed";case r.ErrorTypes.PROFANITY_FOUND_IN_TEXT:return"profanityFoundInText";case r.ErrorTypes.POSTING_TO_CLOSED_FORUM:return"postingToClosedForumNotAllowed";case r.ErrorTypes.MORE_COMMENTS_FAILED:case r.ErrorTypes.ID_UNAVAILABLE:case r.ErrorTypes.UNKNOWN_ERROR:default:return"genericError"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(207),i=r(o);t.default={getPostCommentSuccessMessageKey:function(e){switch(e){case i.default.PRE_MODERATED:return"postCommentSuccessPremoderated";default:return"postCommentSuccessDefault"}}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="reactively-moderated",r="post-moderated",o="pre-moderated";t.default={REACTIVELY_MODERATED:n,POST_MODERATED:r,PRE_MODERATED:o},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.replyToId,n=e.replyToMsg,r=e.replyToName,o=e.isRepliesList,i=e.commentData,a=e.rulesPageUrl,s=e.isRatingEnabled,u=e.personalisationDetails,d=e.idctaData,m=e.scrollToCommentId,p=e.commentInputTextLimit,h=e.commentInputModerationStatus,y=e.forumId,g=e.isReplyToFocus,v=e.pageSize,_="comment_"+i.id,T=(0,f.default)("comments-list__item",{"comments-list__item-reply":o});return l.default.createElement("li",{className:T,key:_},l.default.createElement(c.Comment,{pageSize:v,isReplyToFocus:g,replyToId:t,replyToMsg:n,replyToName:r,isReply:o,scrollTo:i.id===m,commentData:i,rulesPageUrl:a,isRatingEnabled:s,personalisationDetails:u,forumId:y,idctaData:d,commentInputTextLimit:p,commentInputModerationStatus:h}))}function i(e,t,n){var r=(0,s.default)((e+(t-2))/t)*t-(t-1);return n===r}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsList=void 0;var a=n(209),s=r(a),u=n(92),l=r(u),c=n(144),d=n(212),m=n(140),f=r(m),p=t.CommentsList=function(e){var t=e.replyToId,n=e.replyToMsg,r=e.replyToName,a=e.isRepliesList,s=e.comments,u=e.rulesPageUrl,c=e.isRatingEnabled,m=e.personalisationDetails,p=e.idctaData,h=e.scrollToCommentId,y=e.commentInputTextLimit,g=e.commentInputModerationStatus,v=e.forumId,_=e.pageSize;if(0===s.length)return l.default.createElement("noscript",null);var T=s.map(function(e,l){return o({replyToId:t,replyToMsg:n,replyToName:r,isRepliesList:a,commentData:e,rulesPageUrl:u,isRatingEnabled:c,personalisationDetails:m,idctaData:p,scrollToCommentId:h,commentInputTextLimit:y,commentInputModerationStatus:g,forumId:v,pageSize:_,isReplyToFocus:a&&i(s.length,_,l)})}),b=(0,f.default)("comments-list",{"replies-list-reply-open":a});return l.default.createElement("div",null,l.default.createElement("div",{className:"comments-list-anchor"}),l.default.createElement(d.CSSTransitionGroup,{component:"ul",className:b,transitionName:{enter:"comments-list__item--entering-list",enterActive:"comments-list__item--entered-list"},transitionEnterTimeout:2e3,transitionLeave:!1},T))};o.propTypes={isReplyToFocus:u.PropTypes.bool,replyToId:u.PropTypes.number,replyToMsg:u.PropTypes.string,replyToName:u.PropTypes.string,isRepliesList:u.PropTypes.bool,rulesPageUrl:u.PropTypes.string,isRatingEnabled:u.PropTypes.bool.isRequired,personalisationDetails:u.PropTypes.object,idctaData:u.PropTypes.object,scrollToCommentId:u.PropTypes.number,commentData:u.PropTypes.object,commentInputTextLimit:u.PropTypes.number,commentInputModerationStatus:u.PropTypes.string,forumId:u.PropTypes.string.isRequired,pageSize:u.PropTypes.number.isRequired},p.displayName="CommentsList",p.propTypes={replyToId:u.PropTypes.number,replyToMsg:u.PropTypes.string,replyToName:u.PropTypes.string,isRepliesList:u.PropTypes.bool,comments:u.PropTypes.arrayOf(u.PropTypes.shape({id:u.PropTypes.number})).isRequired,rulesPageUrl:u.PropTypes.string,isRatingEnabled:u.PropTypes.bool.isRequired,personalisationDetails:u.PropTypes.object,idctaData:u.PropTypes.object,scrollToCommentId:u.PropTypes.number,commentData:u.PropTypes.object,commentInputTextLimit:u.PropTypes.number,commentInputModerationStatus:u.PropTypes.string,forumId:u.PropTypes.string.isRequired,pageSize:u.PropTypes.number.isRequired},p.defaultProps={comments:[]}},function(e,t,n){e.exports={default:n(210),__esModule:!0}},function(e,t,n){n(211),e.exports=n(8).Math.trunc},function(e,t,n){var r=n(6);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(213),i=r(o),a=n(214),s=r(a);e.exports={TransitionGroup:s.default,CSSTransitionGroup:i.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(92),l=r(u),c=n(214),d=r(c),m=n(219),f=r(m),p=n(228),h={transitionName:p.nameShape.isRequired,transitionAppear:l.default.PropTypes.bool,transitionEnter:l.default.PropTypes.bool,transitionLeave:l.default.PropTypes.bool,transitionAppearTimeout:(0,p.transitionTimeout)("Appear"),transitionEnterTimeout:(0,p.transitionTimeout)("Enter"),transitionLeaveTimeout:(0,p.transitionTimeout)("Leave")},y={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},g=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(u))),r._wrapChild=function(e){return l.default.createElement(f.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},a=n,i(r,a)}return a(t,e),t.prototype.render=function(){return l.default.createElement(d.default,s({},this.props,{childFactory:this._wrapChild}))},t}(l.default.Component);g.displayName="CSSTransitionGroup",g.propTypes=h,g.defaultProps=y,t.default=g,e.exports=t.default},function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(216),c=o(l),d=n(92),m=o(d),f=n(217),p=o(f),h=n(218),y={component:m.default.PropTypes.any,childFactory:m.default.PropTypes.func,children:m.default.PropTypes.node},g={component:"span",childFactory:function(e){return e}},v=function(e){function t(n,r){i(this,t);var o=a(this,e.call(this,n,r));return o.performAppear=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e)):o._handleDoneAppearing(e)},o._handleDoneAppearing=function(e){var t=o.childRefs[e];t&&t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performEnter=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e)):o._handleDoneEntering(e)},o._handleDoneEntering=function(e){var t=o.childRefs[e];t&&t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e)},o.performLeave=function(e){o.currentlyTransitioningKeys[e]=!0;var t=o.childRefs[e];t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e)):o._handleDoneLeaving(e)},o._handleDoneLeaving=function(e){var t=o.childRefs[e];t&&t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var n=(0,h.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)?o.performEnter(e):o.setState(function(t){var n=u({},t.children);return delete n[e],{children:n}})},o.childRefs=Object.create(null),o.state={children:(0,h.getChildMapping)(n.children)},o}return s(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},t.prototype.componentWillReceiveProps=function(e){var t=(0,h.getChildMapping)(e.children),n=this.state.children;this.setState({children:(0,h.mergeChildMappings)(n,t)});for(var r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},t.prototype.render=function(){var e=this,t=[],n=function(n){var o=e.state.children[n];if(o){var i="string"!=typeof o.ref;"production"!==r.env.NODE_ENV?(0,p.default)(i,"string refs are not supported on children of TransitionGroup and will be ignored. Please use a callback ref instead: https://facebook.github.io/react/docs/refs-and-the-dom.html#the-ref-callback-attribute"):void 0,t.push(m.default.cloneElement(e.props.childFactory(o),{key:n,ref:(0,c.default)(i?o.ref:null,function(t){e.childRefs[n]=t})}))}};for(var o in this.state.children)n(o);var i=u({},this.props);return delete i.transitionLeave,delete i.transitionName,delete i.transitionAppear,delete i.transitionEnter,delete i.childFactory,delete i.transitionLeaveTimeout,delete i.transitionEnterTimeout,delete i.transitionAppearTimeout,delete i.component,m.default.createElement(this.props.component,i,t)},t}(m.default.Component);v.displayName="TransitionGroup",v.propTypes=y,v.defaultProps=g,t.default=v,e.exports=t.default}).call(t,n(215))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function a(){h&&f&&(h=!1,f.length?p=f.concat(p):y=-1,p.length&&s())}function s(){if(!h){var e=o(a);h=!0;for(var t=p.length;t;){for(f=p,p=[];++y<t;)f&&f[y].run();y=-1,t=p.length}f=null,h=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,d,m=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(e){d=r}}();var f,p=[],h=!1,y=-1;m.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||h||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=l,m.addListener=l,m.once=l,m.off=l,m.removeListener=l,m.removeAllListeners=l,m.emit=l,m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter(function(e){return null!=e}),0!==t.length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){(function(t){"use strict";var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var i=0,a="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(e){}}}),e.exports=n}).call(t,n(215))},function(e,t,n){"use strict";function r(e){if(!e)return e;var t={};return i.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t}function o(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,s={};for(var u in t){if(r.hasOwnProperty(u))for(a=0;a<r[u].length;a++){var l=r[u][a];s[r[u][a]]=n(l)}s[u]=n(u)}for(a=0;a<o.length;a++)s[o[a]]=n(o[a]);return s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o;var i=n(92)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return T.length?T.forEach(function(n){return e.addEventListener(n,t,!1)}):setTimeout(t,0),function(){T.length&&T.forEach(function(n){return e.removeEventListener(n,t,!1)})}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(220),c=r(l),d=n(223),m=r(d),f=n(224),p=r(f),h=n(226),y=n(92),g=r(y),v=n(227),_=n(228),T=[];h.transitionEnd&&T.push(h.transitionEnd),h.animationEnd&&T.push(h.animationEnd);var b={children:g.default.PropTypes.node,name:_.nameShape.isRequired,appear:g.default.PropTypes.bool,enter:g.default.PropTypes.bool,leave:g.default.PropTypes.bool,appearTimeout:g.default.PropTypes.number,enterTimeout:g.default.PropTypes.number,leaveTimeout:g.default.PropTypes.number},E=function(e){function t(){var n,r,a;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach(function(e){clearTimeout(e)}),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,v.findDOMNode)(this);if(!r)return void(t&&t());var o=this.props.name[e]||this.props.name+"-"+e,i=this.props.name[e+"Active"]||o+"-active",a=null,u=void 0;(0,c.default)(r,o),this.queueClassAndNode(i,r);var l=function(e){e&&e.target!==r||(clearTimeout(a),u&&u(),(0,m.default)(r,o),(0,m.default)(r,i),u&&u(),t&&t())};n?(a=setTimeout(l,n),this.transitionTimeouts.push(a)):h.transitionEnd&&(u=s(r,l))},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,p.default)(function(){return n.flushClassNameAndNodeQueue()}))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach(function(e){e.node.scrollTop,(0,c.default)(e.node,e.className)}),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=u({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,g.default.cloneElement(g.default.Children.only(this.props.children),e)},t}(g.default.Component);E.displayName="CSSTransitionGroupChild",E.propTypes=b,t.default=E,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(221);t.__esModule=!0,t.default=r;var i=o(n(222));e.exports=t.default},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t){"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1; }t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=n(e.className,t):e.setAttribute("class",n(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-d)),r=setTimeout(e,n);return d=t,r}var o=n(221);t.__esModule=!0,t.default=void 0;var i,a=o(n(225)),s=["","webkit","moz","o","ms"],u="clearTimeout",l=r,c=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&s.some(function(e){var t=c(e,"request");if(t in window)return u=c(e,"cancel"),l=function(e){return window[t](e)}});var d=(new Date).getTime();i=function(e){return l(e)},i.cancel=function(e){window[u]&&"function"==typeof window[u]&&window[u](e)};var m=i;t.default=m,e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},o=Object.keys(r),i="",a=0;a<o.length;a++){var s=o[a];if(s+"TransitionProperty"in n){i="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:i}}var o=n(221);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var i=o(n(225)),a="transform";t.transform=a;var s,u,l;t.animationEnd=l,t.transitionEnd=u;var c,d,m,f;t.transitionDelay=f,t.transitionTiming=m,t.transitionDuration=d,t.transitionProperty=c;var p,h,y,g;if(t.animationDelay=g,t.animationTiming=y,t.animationDuration=h,t.animationName=p,i.default){var v=r();s=v.prefix,t.transitionEnd=u=v.transitionEnd,t.animationEnd=l=v.animationEnd,t.transform=a=s+"-"+a,t.transitionProperty=c=s+"-transition-property",t.transitionDuration=d=s+"-transition-duration",t.transitionDelay=f=s+"-transition-delay",t.transitionTiming=m=s+"-transition-timing-function",t.animationName=p=s+"-animation-name",t.animationDuration=h=s+"-animation-duration",t.animationTiming=y=s+"-animation-delay",t.animationDelay=g=s+"-animation-timing-function"}var _={transform:a,end:u,property:c,timing:m,delay:f,duration:d};t.default=_},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=o;var i=n(92),a=r(i);t.nameShape=a.default.PropTypes.oneOfType([a.default.PropTypes.string,a.default.PropTypes.shape({enter:a.default.PropTypes.string,leave:a.default.PropTypes.string,active:a.default.PropTypes.string}),a.default.PropTypes.shape({enter:a.default.PropTypes.string,enterActive:a.default.PropTypes.string,leave:a.default.PropTypes.string,leaveActive:a.default.PropTypes.string,appear:a.default.PropTypes.string,appearActive:a.default.PropTypes.string})])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplySnippet=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(142),g=t.ReplySnippet=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isSnippetTrayOpen:n.props.isSnippetTrayOpen,focusAt:""},n.toggleSnippetTray=n.toggleSnippetTray.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"componentDidUpdate",value:function(e,t){if(this.state.focusAt!==t.focusAt)switch(this.state.focusAt){case"opened":(0,y.focusOnElement)(this.snippetOpened);break;case"closed":(0,y.focusOnElement)(this.snippetClosed)}}},{key:"cleanString",value:function(e){var t=e.replace(/(<([^>]+)>)/gi,"");return t=t.replace(/&nbsp;|&nbsp/gi," ").trim(),t=t.replace(/\s+/gi," ").trim()}},{key:"toggleSnippetTray",value:function(){this.setState(function(e){return{isSnippetTrayOpen:!e.isSnippetTrayOpen,focusAt:e.isSnippetTrayOpen?"closed":"opened"}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.replyToName,r=t.replyToMsg,o=t.replyToId,i=this.context.theme.formatMessage,a=this.cleanString(r),s=i("toWho",{replyToName:n}),u='"',l=i("replyingTo",{replyToName:n}),c=i("whoPosted"),d=i("readWhoComment",{replyToName:n});return h.default.createElement("div",{className:"reply-snippet"},this.state.isSnippetTrayOpen?h.default.createElement("button",{className:"reply-snippet__opened reply-snippet-button",onClick:this.toggleSnippetTray,ref:function(t){return e.snippetOpened=t},"aria-labelledby":"replayingToText"+o+" whoPostedMsg"+o},h.default.createElement("div",{className:"reply-snippet__opened--name"},h.default.createElement("span",{id:"replayingToText"+o,"aria-label":l+c}),h.default.createElement("span",{"aria-hidden":"true"},n)),h.default.createElement("div",{className:"reply-snippet__opened--msg",id:"whoPostedMsg"+o,"aria-hidden":"true",dangerouslySetInnerHTML:{__html:r}})):h.default.createElement("div",{className:"reply-snippet__closed"},h.default.createElement("div",{className:"reply-snippet__closed--prelink","aria-label":l},h.default.createElement("span",{"aria-label":l}),h.default.createElement("span",{"aria-hidden":"true"},s)),h.default.createElement("button",{className:"reply-snippet__closed--link reply-snippet-button",ref:function(t){return e.snippetClosed=t},onClick:this.toggleSnippetTray,"aria-label":d},h.default.createElement("div",null,u),h.default.createElement("div",{className:"reply-snippet__closed--msg-short",dangerouslySetInnerHTML:{__html:a}}),h.default.createElement("div",null,u))))}}]),t}(p.Component);g.displayName="ReplySnippet",g.propTypes={isSnippetTrayOpen:p.PropTypes.bool,replyToId:p.PropTypes.number,replyToName:p.PropTypes.string,replyToMsg:p.PropTypes.string},g.defaultProps={isSnippetTrayOpen:!1,replyToName:"",replyToMsg:"",replyToId:0},g.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReplyMoreReplies=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(195),g=r(y),v=t.ReplyMoreReplies=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.nTotalReplies,r=e.maxRepliesDisplayed,o=this.context.theme.formatMessage,i=n-r,a=o("moreReplies",{nMoreReplies:i}),s="down",u=o("displayMoreReplies",{nMoreReplies:i});return i<=0&&(u=o("hideReplies"),a=o("hideReplies"),s="up"),h.default.createElement("div",{className:"reply-more-replies"},h.default.createElement("button",{className:"reply-more-replies__button","aria-label":u,onClick:t},h.default.createElement("span",{className:"reply-more-replies__text"},a),h.default.createElement("span",{className:"reply-more-replies__icon"},h.default.createElement(g.default,{iconName:s,additionalClassNames:"reply-more-replies__icon-gel"}))))}}]),t}(p.Component);v.displayName="ReplyMoreReplies",v.propTypes={onClick:p.PropTypes.func,nTotalReplies:p.PropTypes.number,maxRepliesDisplayed:p.PropTypes.number},v.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsButton=void 0;var o=n(2),i=r(o),a=n(92),s=r(a),u=n(140),l=r(u),c=t.CommentsButton=function(e){var t=e.children,n=e.className,r=e.isDisabled,o=e.type,a=void 0===o?"button":o,u=e.onClick,c=e.rel,d=e.ariaLabel,m=e.isFullWidth,f={className:(0,l.default)("comments-button",n,{"comments-button--full-width":m}),disabled:r,onClick:u,"aria-label":d,rel:c};switch(a){case"button":return s.default.createElement("button",f,t);case"submit":return s.default.createElement("input",(0,i.default)({type:"submit",value:t},f));default:return s.default.createElement("noscript",null)}};c.displayName="CommentsButton",c.propTypes={children:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.node),a.PropTypes.node]),className:a.PropTypes.string,isDisabled:a.PropTypes.bool,isFullWidth:a.PropTypes.bool,type:a.PropTypes.oneOf(["button","submit"]),onClick:a.PropTypes.func,rel:a.PropTypes.string,ariaLabel:a.PropTypes.string},c.defaultProps={isFullWidth:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsTextLimit=void 0;var o=n(92),i=r(o),a=n(140),s=r(a),u=t.CommentsTextLimit=function(e){var t=e.remainingCharacters,n=e.isTextOverLimit,r=e.textLimit,o=e.remainingCharactersMessage,a=(0,s.default)("comments__text-limit",{"comments__text-limit--over-limit":n});return i.default.createElement("div",{className:a},i.default.createElement("span",{className:"comment__hidden-text"},o),i.default.createElement("span",{className:"comment__limit-visible-text","aria-hidden":"true"},t+"/"+r))};u.displayName="CommentsTextLimit",u.propTypes={remainingCharacters:o.PropTypes.number.isRequired,isTextOverLimit:o.PropTypes.bool.isRequired,textLimit:o.PropTypes.number.isRequired,remainingCharactersMessage:o.PropTypes.string.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Stylesheets=void 0;var o=n(92),i=r(o),a=t.Stylesheets=function(e){var t=e.stylesheets,n=t.map(function(e,t){return i.default.createElement("link",{rel:"stylesheet",href:e,key:t})});return i.default.createElement("span",null,n)};a.displayName="Stylesheets",a.propTypes={stylesheets:o.PropTypes.arrayOf(o.PropTypes.string)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.IdctaSignedInMessage=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props.displayName,t=this.context.theme.formatMessage("signedInMessage",{});return h.default.createElement("div",{className:"comments__idcta-msg"},t,this.props.displayName?", ":" ",h.default.createElement("span",{className:"comments__display-name"},e))}}]),t}(p.Component);y.displayName="IdctaSignedInMessage",y.propTypes={displayName:p.PropTypes.string.isRequired},y.contextTypes={theme:p.PropTypes.shape({formatMessage:p.PropTypes.func})},t.IdctaSignedInMessage=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsImpressionStat=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(236),g=r(y),v=n(189),_=r(v),T=n(190),b=t.CommentsImpressionStat=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={isVisibilitySensorActive:!0},n.onVisibilityStatusChange=n.onVisibilityStatusChange.bind(n),n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"onVisibilityStatusChange",value:function(e){e&&(_.default.logViewEvent(T.ISTATS_ACTIONS.CommentsInViewport),this.setState({isVisibilitySensorActive:!1}))}},{key:"render",value:function(){return h.default.createElement(g.default,{active:this.state.isVisibilitySensorActive,onChange:this.onVisibilityStatusChange,intervalCheck:!1,scrollCheck:!0,scrollThrottle:200,resizeCheck:!0,resizeThrottle:200})}}]),t}(p.Component);b.displayName="CommentsImpressionStat"},function(e,t,n){"use strict";var r=n(92),o=n(227),i=n(237),a=r.PropTypes.any;"undefined"!=typeof window&&(a=r.PropTypes.instanceOf(window.Element)),e.exports=r.createClass({displayName:"VisibilitySensor",propTypes:{onChange:r.PropTypes.func.isRequired,active:r.PropTypes.bool,partialVisibility:r.PropTypes.oneOfType([r.PropTypes.bool,r.PropTypes.oneOf(["top","right","bottom","left"])]),delayedCall:r.PropTypes.bool,offset:r.PropTypes.oneOfType([r.PropTypes.shape({top:r.PropTypes.number,left:r.PropTypes.number,bottom:r.PropTypes.number,right:r.PropTypes.number}),r.PropTypes.shape({direction:r.PropTypes.oneOf(["top","right","bottom","left"]),value:r.PropTypes.number})]),scrollCheck:r.PropTypes.bool,scrollDelay:r.PropTypes.number,scrollThrottle:r.PropTypes.number,resizeCheck:r.PropTypes.bool,resizeDelay:r.PropTypes.number,resizeThrottle:r.PropTypes.number,intervalCheck:r.PropTypes.bool,intervalDelay:r.PropTypes.number,containment:a,children:r.PropTypes.element,minTopValue:r.PropTypes.number},getDefaultProps:function(){return{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:r.createElement("span")}},getInitialState:function(){return{isVisible:null,visibilityRect:{}}},componentDidMount:function(){this.node=o.findDOMNode(this),this.props.active&&this.startWatching()},componentWillUnmount:function(){this.stopWatching()},componentWillReceiveProps:function(e){e.active?(this.setState(this.getInitialState()),this.startWatching()):this.stopWatching()},getContainer:function(){return this.props.containment||window},addEventListener:function(e,t,n,r){this.debounceCheck||(this.debounceCheck={});var o,i,a=function(){o=null,this.check()}.bind(this);i=r>-1?function(){o||(o=setTimeout(a,r||0))}:function(){clearTimeout(o),o=setTimeout(a,n||0)};var s={target:e,fn:i,getLastTimeout:function(){return o}};e.addEventListener(t,s.fn),this.debounceCheck[t]=s},startWatching:function(){this.debounceCheck||this.interval||(this.props.intervalCheck&&(this.interval=setInterval(this.check,this.props.intervalDelay)),this.props.scrollCheck&&this.addEventListener(this.getContainer(),"scroll",this.props.scrollDelay,this.props.scrollThrottle),this.props.resizeCheck&&this.addEventListener(window,"resize",this.props.resizeDelay,this.props.resizeThrottle),!this.props.delayedCall&&this.check())},stopWatching:function(){if(this.debounceCheck)for(var e in this.debounceCheck)if(this.debounceCheck.hasOwnProperty(e)){var t=this.debounceCheck[e];clearTimeout(t.getLastTimeout()),t.target.removeEventListener(e,t.fn),this.debounceCheck[e]=null}this.debounceCheck=null,this.interval&&(this.interval=clearInterval(this.interval))},check:function(){var e,t,n=this.node;if(!n)return this.state;if(e=n.getBoundingClientRect(),this.props.containment){var r=this.props.containment.getBoundingClientRect();t={top:r.top,left:r.left,bottom:r.bottom,right:r.right}}else t={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var o=this.props.offset||{},a="object"==typeof o;a&&(t.top+=o.top||0,t.left+=o.left||0,t.bottom-=o.bottom||0,t.right-=o.right||0);var s={top:e.top>=t.top,left:e.left>=t.left,bottom:e.bottom<=t.bottom,right:e.right<=t.right},u=s.top&&s.left&&s.bottom&&s.right;if(this.props.partialVisibility){var l=e.top<=t.bottom&&e.bottom>=t.top&&e.left<=t.right&&e.right>=t.left;"string"==typeof this.props.partialVisibility&&(l=s[this.props.partialVisibility]),u=this.props.minTopValue?l&&e.top<=t.bottom-this.props.minTopValue:l}"string"==typeof o.direction&&"number"==typeof o.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",o.direction,o.value),u=i(o,e,t));var c=this.state;return this.state.isVisible!==u&&(c={isVisible:u,visibilityRect:s},this.setState(c),this.props.onChange(u,s)),c},render:function(){return r.Children.only(this.props.children)}})},function(e,t){e.exports=function(e,t,n){var r=e.direction,o=e.value;switch(r){case"top":return n.top+o<t.top&&n.bottom>t.bottom&&n.left<t.left&&n.right>t.right;case"left":return n.left+o<t.left&&n.bottom>t.bottom&&n.top<t.top&&n.right>t.right;case"bottom":return n.bottom-o>t.bottom&&n.left<t.left&&n.right>t.right&&n.top<t.top;case"right":return n.right-o>t.right&&n.left<t.left&&n.top<t.top&&n.bottom>t.bottom}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShowNewCommentsButton=void 0;var o=n(92),i=r(o),a=n(143),s=n(195),u=r(s),l=function(e){return e?i.default.createElement("span",{className:"header-icon-refresh"},i.default.createElement(u.default,{iconName:e})):i.default.createElement("noscript",null)},c=t.ShowNewCommentsButton=function(e){var t=e.newCommentCount,n=e.onClick;if(t<=0)return i.default.createElement("noscript",null);var r=1===t?"":"s",o=t+" new comment"+r,s="Show "+o;return i.default.createElement(a.CommentsButton,{className:"comments-snc-button",onClick:n,isFullWidth:!0,ariaLabel:s},l("refresh"),o)};c.displayName="ShowNewCommentsButton",c.propTypes={newCommentCount:o.PropTypes.number.isRequired,onClick:o.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsLoading=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(184),g=r(y),v=n(167),_={loading:"Loading...",loadingSlow:"sorry, this seems to be taking a while"},T=t.CommentsLoading=function(e){function t(e){(0,s.default)(this,t);var n=(0,d.default)(this,(t.__proto__||(0,i.default)(t)).call(this,e));return n.state={showSlowMessage:!1},n.slowMessageTimer=null,n}return(0,f.default)(t,e),(0,l.default)(t,[{key:"startSlowTimer",value:function(){var e=this;this.props.slowMessageTimerInSeconds&&(this.slowMessageTimer=setTimeout(function(){e.setState({showSlowMessage:!0}),e.context.setA11yAlertText(_.loading+" "+_.loadingSlow)},(0,v.secondsToMillis)(this.props.slowMessageTimerInSeconds)))}},{key:"componentDidMount",value:function(){this.startSlowTimer(),this.context.setA11yAlertText("Loading")}},{key:"componentWillUnmount",value:function(){clearTimeout(this.slowMessageTimer),this.context.setA11yAlertText("")}},{key:"render",value:function(){return h.default.createElement("div",{className:"comments-loading"},h.default.createElement("div",{className:"comments-loading__icon"},h.default.createElement(g.default,null)),h.default.createElement("div",{className:"comments-loading__text",tabIndex:"0"},h.default.createElement("span",null,_.loading),this.state.showSlowMessage&&h.default.createElement("span",null," (",_.loadingSlow,")")))}}]),t}(p.Component);T.displayName="CommentsLoading",T.propTypes={slowMessageTimerInSeconds:p.PropTypes.number},T.contextTypes={setA11yAlertText:p.PropTypes.func.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.NoJSMessage=void 0;var o=n(92),i=r(o);t.NoJSMessage=function(){return i.default.createElement("noscript",{dangerouslySetInnerHTML:{__html:'<div class="comments-no-js-message">\n To use comments you will need to have JavaScript enabled.\n </div>'}})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CommentsModerationMessage=void 0;var o=n(92),i=r(o),a=n(140),s=r(a),u=n(207),l=r(u),c=function(e){return i.default.createElement("span",null,"are ",i.default.createElement("a",{className:"comments-moderation__rules-link",href:e},"moderated")," and")},d=t.CommentsModerationMessage=function(e){var t=e.moderationStatus,n=e.rulesPageUrl;return i.default.createElement("p",{className:(0,s.default)("comments-moderation__rules-msg")},"Comments ",t===l.default.PRE_MODERATED.toString()?c(n):""," must follow the ",i.default.createElement("a",{href:n},"house rules"),".")};d.displayName="CommentsModerationMessage",d.propTypes={moderationStatus:o.PropTypes.string,rulesPageUrl:o.PropTypes.string}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ForumLinks=t.getForumLinks=void 0;var o=n(158),i=r(o),a=n(2),s=r(a),u=n(92),l=r(u),c=n(161),d=n(164),m=(t.getForumLinks=function(e){var t=e.forumAdminLinks,n=void 0===t?{}:t,r={};return n.administerCommentsForum&&(r.administerCommentsForumUrl=(0,d.formatForumAdminLinkUrlTemplate)(n.administerCommentsForum.url)),(0,s.default)({hasLinks:(0,i.default)(r).length>0},r)},t.ForumLinks=function(e){var t=e.forumLinks;return l.default.createElement(c.ActionLinks,{className:"action-links--forum-links"},l.default.createElement(c.ActionLink,{href:t.administerCommentsForumUrl},"Administer Comment Forum"))});m.displayName="ForumLinks",m.propTypes={forumLinks:u.PropTypes.shape({administerCommentsForumUrl:u.PropTypes.string.isRequired})},m.defaultProps={forumLinks:{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ToTop=void 0;var o=n(92),i=r(o),a=t.ToTop=function(e){var t=e.height,n=void 0===t?14:t,r=e.width,o=void 0===r?14:r;return i.default.createElement("span",{className:"to-top-icon","aria-hidden":"true"},i.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:n,width:o,viewBox:"0 0 32 32"},i.default.createElement("rect",{y:"2",width:"32",height:"3"}),i.default.createElement("polygon",{points:"16 5 32 30 23.8 30 16 16.7 8.2 30 0 30 16 5"})))};a.displayName="ToTop",a.propTypes={height:o.PropTypes.number,width:o.PropTypes.number}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.A11yAlertText=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(162),g=t.A11yAlertText=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){return h.default.createElement("div",{className:"comments__a11y-message comment__hidden-text","aria-live":"assertive","aria-atomic":"true"},this.getCurrentText())}}]),t}(y.A11yText);g.displayName="A11yAlertText"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.ThemeVariants={DEFAULT:"default",CHILDRENS:"childrens"},t.Products={DEFAULT:"default",CBBC:"cbbc",CBEEBIES:"cbeebies",OWNIT:"stay-safe",NEWSROUND:"newsround"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.addModeSupportOnBrowser=t.addModeSupport=t.MODE_STANDALONE=void 0;var o=n(146),i=r(o),a=n(118),s=r(a),u=n(247),l=r(u),c=n(248),d=r(c),m=n(171),f=r(m),p=t.MODE_STANDALONE="standalone",h=[p],y=function(e){return"acc"===e?s.default.resolve():f.default.setupIdctaLibrary(e)};t.addModeSupport=function(e){var t=e.component,n=e.mode;h.indexOf(n)!==-1&&l.default.selfTransitiveThenUpdate("modes-"+n,t)},t.addModeSupportOnBrowser=function(e){var t=e.mode;return t===p?(document.title="Standalone Comment Morph View",s.default.all([y(e.idctaEnv),d.default.registerLibrary()]).then(function(e){var t=(0,i.default)(e,1),n=t[0];return{idctaCss:n}})):s.default.resolve({})}},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.3.1",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-comments-view@3.3.1",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.3.1",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-comments-view@3.3.1",e,t,!0)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(187),i=r(o);t.default={registerLibrary:function(){var e="stub-istats";window.sessionStorage.setItem(e,"[]"),window.define("istats-1",function(){return{log:function(t,n,r){var o=JSON.parse(window.sessionStorage.getItem(e));o.push({actionType:t,actionName:n,labels:r}),window.sessionStorage.setItem(e,(0,i.default)(o))},getSite:function(){return"stub-site"},_getLabels:function(){return{app_name:"stub-app-name"}}}})}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={PAGE_SIZE:10,INITIAL_PAGE_SIZE_MULTIPLIER:4},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(114),s=r(a),u=n(117),l=r(u),c=function(){var e=(0,l.default)(s.default.mark(function e(t){var n=t.apiKey,r=t.forumId;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,p.default.getAdminLinks({apiKey:n,forumId:r});case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",{});case 9:case"end":return e.stop()}},e,this,[[0,6]])}));return function(t){return e.apply(this,arguments)}}(),d=n(251),m=r(d),f=n(164),p=r(f),h=n(177);t.default={getPersonalisationDetails:function(e){var t=this,n=e.apiKey,r=e.forumData,o=e.forumId;return(0,l.default)(s.default.mark(function e(){var a,u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,m.default.getModeratedUserDetails(n);case 3:if(a=e.sent,!a.isEditor){e.next=10;break}return e.next=7,c({apiKey:n,forumId:o});case 7:e.t0=e.sent,e.next=11;break;case 10:e.t0={};case 11:return u=e.t0,e.abrupt("return",(0,i.default)({userId:a.modUserId,displayNameModerationStatus:(0,h.toDisplayNameStatus)(a.displayNameStatus),isEditor:a.isEditor,displayNameModerationMessage:r.displayNameModerationMessage,displayNameModerationUrl:r.displayNameModerationUrl},u));case 15:return e.prev=15,e.t1=e.catch(0),e.abrupt("return",{});case 18:case"end":return e.stop()}},e,t,[[0,15]])}))()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(165),i=r(o),a=n(168),s=r(a),u=n(170),l=n(171);t.default={getModeratedUserDetails:function(e){return(0,l.refreshToken)().then(function(){return i.default.get(s.default.getModeratedUserUrl((0,u.getEnv)()),{headers:{"x-api-key":e}})})}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.themeVariant,n=e.product,r=e.getIcon,o=e.getComponent,a=e.formatMessage;return{themeVariant:t,product:n,formatMessage:a,getIcon:r,getComponent:o,ratingsNumberPlacement:t===i.ThemeVariants.CHILDRENS?s.default.LEFT:s.default.RIGHT}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(245),a=n(183),s=r(a),u=n(253),l=r(u),c=n(247),d=r(c),m=n(255),f=r(m);t.default={use:function(e){var t=e.component,n=e.themeVariant,r=e.product,a=n===i.ThemeVariants.CHILDRENS?n:i.ThemeVariants.DEFAULT,s=d.default.selfTransitiveThenUpdate("messages-"+a,t),u=l.default.use(s),c=d.default.selfTransitiveThenUpdate("icons-"+a,t),m=d.default.selfTransitiveThenUpdate("product-config-"+a,t),p=r in m?r:"default",h=m[p],y=f.default.use(h,c);return o({themeVariant:a,product:p,getIcon:y.getIcon,getComponent:y.getComponent,formatMessage:u.formatMessage})}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(254);t.default={use:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{formatMessage:function(t,n){var o=e[t];if(o)return(0,r.formatString)(e[t],n);throw new Error('"'+t+'" does not exist')}}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.default)(t).reduce(function(e,n){var r=new RegExp("{{"+n+"}}","g");return e.replace(r,t[n])},e)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(158),a=r(i);t.formatString=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){f[e]=t}function i(e){return e in f?f[e]:d.default}function a(e){return e in p?p[e]:d.default}function s(e){var t=a(e.flagIcon);return l.default.createElement(m.DistressMessageFlag,{product:e.product,productLabel:e.label,Logo:t})}Object.defineProperty(t,"__esModule",{value:!0});var u=n(92),l=r(u),c=n(256),d=r(c),m=n(257),f={},p={};t.default={use:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p=t,o("distressMessageFlag",s(e)),{add:o,getIcon:a,getComponent:i}}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(92),i=r(o),a=function(){return i.default.createElement("div",{className:"icon"})};a.displayName="PlaceholderIcon",t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.DistressMessageFlag=void 0;var o=n(41),i=r(o),a=n(46),s=r(a),u=n(47),l=r(u),c=n(51),d=r(c),m=n(84),f=r(m),p=n(92),h=r(p),y=n(140),g=r(y),v=t.DistressMessageFlag=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,l.default)(t,[{key:"render",value:function(){var e=this.props,t=e.product,n=e.productLabel,r=e.Logo,o="comment__product-flag-"+t;return h.default.createElement("div",{className:(0,g.default)("comment__distress-message-product-flag",o),role:"text"},h.default.createElement("span",{className:"comment__distress-message-logo"},r&&h.default.createElement(r,null)),h.default.createElement("span",{className:"comment__hidden-text"},"Message from "+n),h.default.createElement("span",{className:"comment__distress-message-username","aria-hidden":"true"},n))}}]),t}(p.Component);v.displayName="DistressMessageFlag",v.propTypes={product:p.PropTypes.string,productLabel:p.PropTypes.string,Logo:p.PropTypes.func}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={under13:"u13",under16:"u16",under18:"u18",over18:"o18"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.StyleGuideModule=void 0;var o=n(110),i=r(o),a=n(2),s=r(a),u=n(41),l=r(u),c=n(46),d=r(c),m=n(47),f=r(m),p=n(51),h=r(p),y=n(84),g=r(y),v=n(140),_=r(v),T=n(92),b=r(T),E=n(153),w=n(260),C=r(w),P=n(203),M=r(P),S=n(143),x=n(176),O=r(x),k=n(243),I=n(161),D=n(202),N=n(178),A=n(246),R=n(163),L=r(R),j=n(207),F=r(j),U=n(177),Y=r(U),W=n(245),q=n(252),B=r(q),H=n(174),z=n(205),V=n(244),G=function(){},K=function(e){var t=e.children;return b.default.createElement("h3",{className:"comments-styleguide__heading"},t)},$=C.default.getSignedOutResponse(),Z=C.default.getSignedInResponse(),J=C.default.getSignedInResponseWithoutDisplayName(),X={ signedIn:!1,signInButton:$.signInButton},Q={displayName:"test-u16",under16:!0},ee=10,te=6e4;K.displayName="SectionHeading",K.propTypes={children:T.PropTypes.oneOfType([T.PropTypes.arrayOf(T.PropTypes.node),T.PropTypes.node])};var ne=function(e){var t=e.children;return b.default.createElement("h4",{className:"comments-styleguide__subheading"},t)};ne.displayName="SubHeading",ne.propTypes={children:T.PropTypes.oneOfType([T.PropTypes.arrayOf(T.PropTypes.node),T.PropTypes.node])};var re=function(e){var t=e.id,n=e.heading,r=e.children,o=e.className;return b.default.createElement("section",{id:t,className:(0,_.default)("comments-styleguide__section",o)},b.default.createElement(K,null,n),r)};re.displayName="Section",re.propTypes={id:T.PropTypes.string.isRequired,heading:T.PropTypes.string.isRequired,children:T.PropTypes.oneOfType([T.PropTypes.arrayOf(T.PropTypes.node),T.PropTypes.node]),className:T.PropTypes.string};var oe=function(e){function t(e){(0,d.default)(this,t);var n=(0,h.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e));return n.theme=B.default.use({component:n,themeVariant:n.props.themeVariant,product:e.product}),(0,A.addModeSupport)({mode:e.mode,component:n}),n.state={audibleMessage:""},n.setA11yAlertText=n.setA11yAlertText.bind(n),n}return(0,g.default)(t,e),(0,f.default)(t,[{key:"setA11yAlertText",value:function(e){var t=this.state.audibleMessage===e?e+" ":e;this.setState({audibleMessage:t})}},{key:"menu",value:function(){return b.default.createElement(re,{heading:"Comments Styleguide",id:"comments-styleguide-menu"},b.default.createElement("ul",null,b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-typography"},"Typography")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-buttons"},"Buttons")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-alerts"},"Alerts")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-form-elements"},"Form Elements")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-header"},"Header")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-footer"},"Footer")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-comment"},"Comment")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-list"},"Comments List")),b.default.createElement("li",null,b.default.createElement("a",{href:"#tool-tip"},"Tooltip")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-ratings"},"Ratings")),b.default.createElement("li",null,b.default.createElement("a",{href:"#comments-replies"},"Replies"))))}},{key:"typography",value:function(){var e=this.theme.formatMessage("moduleTitleText");return b.default.createElement(re,{heading:"Typography",id:"comments-typography"},b.default.createElement(ne,null,"Title"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,e),b.default.createElement(S.CommentsTitle,null,"Comments"))),b.default.createElement(ne,null,"Paragraph"),b.default.createElement("p",null,"Sample paragraph with some ",b.default.createElement("b",null,"bold text")," ",b.default.createElement("em",null,"emphasised, italic text")," and a ",b.default.createElement("a",{href:"#"},"Link"),"."),b.default.createElement(ne,null,"Links"),b.default.createElement(I.ActionLink,{href:"#"},"Sample Link"),b.default.createElement(I.ActionLinks,null,b.default.createElement(I.ActionLink,{href:"#"},"Action link without icon"),b.default.createElement(I.ActionLink,{icon:b.default.createElement(O.default,{alignToBaseline:!0}),href:"#"},"Action link with icon")),b.default.createElement(ne,null,"Comments Message"),b.default.createElement("p",{className:"comments__message comments__message--closed-forum"},"This entry is now closed for comments."))}},{key:"buttons",value:function(){return b.default.createElement(re,{heading:"Buttons",id:"comments-buttons"},b.default.createElement(ne,null,"Active"),b.default.createElement(S.CommentsButton,null,"Post comment"),b.default.createElement(ne,null,"Disabled"),b.default.createElement(S.CommentsButton,{isDisabled:!0},"Post comment"),b.default.createElement(ne,null,"Submit Button"),b.default.createElement(S.CommentsButton,{type:"submit"},"Post comment"),b.default.createElement(ne,null,"More Comments Button"),b.default.createElement(S.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G},"More comments"),b.default.createElement(ne,null,"Show New Comments Button"),b.default.createElement(S.ShowNewCommentsButton,{newCommentCount:2,onClick:G}),b.default.createElement(ne,null,"Stylized button"),b.default.createElement(S.CommentsButton,{className:"comments-button--styled"},"Stylized button"))}},{key:"formElements",value:function(){return b.default.createElement(re,{heading:"Form Elements",id:"comments-form-elements"},b.default.createElement(ne,null,"Expanding Text Area"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(M.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:2,maxRows:8})),b.default.createElement(ne,null,"Comments Input"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(S.CommentsInput,{textLimit:270,moderationStatus:F.default.PRE_MODERATED,forumId:"dummy",createForum:!1})))}},{key:"header",value:function(){var e=C.default.getSignedOutResponse(),t=this.theme.formatMessage("moduleTitleText");return b.default.createElement(re,{heading:"Header",id:"comments-header"},b.default.createElement(ne,null,"Not signed in"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),b.default.createElement(S.IdctaSignInButton,{markup:e.signInButton}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0})),b.default.createElement(ne,null,"Not signed in with comments total"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),b.default.createElement(S.IdctaSignInButton,{markup:e.signInButton}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),b.default.createElement("div",{className:"comments__comments-total"},b.default.createElement(S.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),b.default.createElement(ne,null,"Not signed in with longer comments heading title"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"Do you think England will qualify for the World Cup?")),b.default.createElement("p",{className:"comments__signin--prompt"},"Sign in to comment, reply and rate."),b.default.createElement(S.IdctaSignInButton,{markup:e.signInButton}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!0}),b.default.createElement("div",{className:"comments__comments-total"},b.default.createElement(S.CommentsTotal,{totalCommentsCountIncludingNewComments:10}))),b.default.createElement(ne,null,"Signed In"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement(S.IdctaSignedInMessage,{displayName:Q.displayName,under16:!1}),b.default.createElement(M.default,{className:"comments-input-box",placeholder:"Add your comment…",minRows:1,maxRows:8}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),b.default.createElement(ne,null,"Pre-moderated forum message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement(S.IdctaSignedInMessage,{displayName:Q.displayName,under16:Q.under16}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),b.default.createElement(ne,null,"Post-moderated forum message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement(S.IdctaSignedInMessage,{displayName:Q.displayName,under16:!1}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.POST_MODERATED,signedOut:!1})),b.default.createElement(ne,null,"Reactively-moderated forum message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement(S.IdctaSignedInMessage,{displayName:Q.displayName,under16:!1}),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.REACTIVELY_MODERATED,signedOut:!1})),b.default.createElement(ne,null,"Signed In With Policy Error"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What is the best pizza topping?")),b.default.createElement(S.IdctaSignedInMessage,{displayName:Q.displayName,under16:!1}),b.default.createElement("p",{className:"comments__message--user-ineligible"},this.theme.formatMessage("ineligibleToComment",{})),b.default.createElement(S.CommentsModerationMessage,{rulesPageUrl:"#",moderationStatus:F.default.PRE_MODERATED,signedOut:!1})),b.default.createElement(ne,null,"Closed forum"),b.default.createElement(S.CommentsHeader,null,b.default.createElement("div",{className:"comments__heading-wrapper",tabIndex:"0"},b.default.createElement(S.CommentsModuleTitle,null,t),b.default.createElement(S.CommentsTitle,null,"What was your highlight of 2017?")),b.default.createElement("p",{className:"comments__message comments__message--closed-forum"},"This entry is now closed for comments.")))}},{key:"footer",value:function(){return b.default.createElement(re,{heading:"Footer",id:"comments-footer"},b.default.createElement(ne,null,"Without more comments"),b.default.createElement(S.CommentsFooter,null,b.default.createElement("div",null,b.default.createElement("div",null,b.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},"Back to top",b.default.createElement(k.ToTop,null))))),b.default.createElement(ne,null,"With more comments"),b.default.createElement(S.CommentsFooter,null,b.default.createElement("div",null,b.default.createElement(S.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),b.default.createElement("div",null,b.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},"Back to top",b.default.createElement(k.ToTop,null))))),b.default.createElement(ne,null,"With slow loading message"),b.default.createElement(S.CommentsFooter,null,b.default.createElement("div",null,b.default.createElement(S.CommentsLoading,{slowMessageTimerInSeconds:6}),b.default.createElement("div",null,b.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},"Back to top",b.default.createElement(k.ToTop,null))))),b.default.createElement(ne,null,"With error message"),b.default.createElement(S.CommentsFooter,null,b.default.createElement("div",null,b.default.createElement(S.CommentsAlert,{type:D.AlertTypes.ERROR},this.theme.formatMessage((0,z.getMessageKeyForError)(H.ErrorTypes.MORE_COMMENTS_FAILED))),b.default.createElement(S.CommentsButton,{className:"comments__more-comments-button",type:"button",onClick:G,rel:"next"},"More comments"),b.default.createElement("div",null,b.default.createElement("a",{className:"comments__back-to-top-link",href:"#"},"Back to top",b.default.createElement(k.ToTop,null))))))}},{key:"comment",value:function(){var e=(0,E.moment)(),t={reportUrl:"/#/"},n="/rulesPageUrl";return b.default.createElement(re,{heading:"Comment",id:"comments-comment"},b.default.createElement(ne,null,"Username"),b.default.createElement(S.Username,null,"ApricotLaughingIguana"),b.default.createElement(ne,null,"Date/Time"),b.default.createElement("b",null,"Today:"),b.default.createElement(S.PostedDate,{timestamp:e.format()}),b.default.createElement("b",null,"This year:"),b.default.createElement(S.PostedDate,{timestamp:e.subtract(1,"day").format()}),b.default.createElement("b",null,"Last year:"),b.default.createElement(S.PostedDate,{timestamp:e.subtract(1,"year").format()}),b.default.createElement(ne,null,"Single line comment"),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a single line comment",status:L.default.PASS},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Multi-line comment"),b.default.createElement(S.Comment,{commentData:{index:1,id:1,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with avatar"),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a single comment with avatar",status:L.default.PASS},rulesPageUrl:n,forumId:"dummy",idctaData:X,isAvatarEnabled:!0}),b.default.createElement(ne,null,"Notable user comment"),b.default.createElement(S.Comment,{commentData:{index:2,id:2,author:{displayName:"HackerTDog",isNotable:!0,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Notable user comment with admin links"),b.default.createElement(S.Comment,{commentData:{index:2,id:2,author:{displayName:"HackerTDog",isNotable:!0,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,text:"This is a comment by a notable user.",status:L.default.PASS},rulesPageUrl:n,personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with Distress Message"),b.default.createElement(S.Comment,{commentData:{index:0,id:2,distressMessage:{text:"Hi UnicornPrincess,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher.<br><br>\n If there's really no one you can speak to, you can speak with a ChildLine counsellor by calling\n 0800 11 11 (calls are free), visiting their website at childline.org.uk, or by downloading\n the free ChildLine app, called For Me.<br><br>\n Or you could call the Samaritans on their helpline: 08457 90 90 90 (charged at local rates) or visit their website.<br><br>\n Always remember bullying is NOT acceptable and you don't have to stand for it<br><br>\n For further help, we also have some useful advice and helplines.<br><br>\n We hope this helps,<br>\n CBBC"},author:{displayName:"UnicornPrincess",isNotable:!1,userId:100},dateCreated:"2019-02-20T10:23:00+00:00",actions:t,rating:{positive:0},text:"I love this episode. I know what Drew is feeling.<br />\n I am being bullied too and sometimes you just need to ignore them :( <br /><br />\n <br /> And also emojis &#x1f601;",status:L.default.PASS},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with Distress Message with admin links"),b.default.createElement(S.Comment,{commentData:{index:0,id:0,distressMessage:{text:"Hi Spiderman,<br><br>\n you sound like you need to talk to someone about what you are going through at the moment.\n You could speak to a family member, a friend, a guardian or a teacher."},author:{displayName:"Spiderman",isNotable:!1,userId:300},dateCreated:"2019-08-02T11:56:00+00:00",actions:t,rating:{positive:0},text:"This a comment with a Distress Message if you are logged as moderator",status:L.default.PASS},rulesPageUrl:n,personalisationDetails:{isEditor:!0,commentAdminLinks:{makeTopPick:{url:"#AdminLink-makeTopPick"},memberDetails:{url:"#AdminLink-memberDetails"},viewModerationHistory:{url:"#AdminLink-viewModerationHistory"}}},forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with admin links (closed)"),b.default.createElement("p",null,'(this causes an React Warning/Error: "checksum was invalid" in the console that you can ignore)'),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with admin links (open)"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment with admin links",status:L.default.PASS},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X,isActionTrayOpen:!0}),b.default.createElement(ne,null,"Comment that failed moderation"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"CaptainAmerica",isNotable:!1,userId:100},dateCreated:"2019-04-10T10:08:45+00:00",actions:t,rating:{positive:0},text:"This is a comment that failed moderation",status:L.default.FAIL},rulesPageUrl:n,forumId:"dummy",idctaData:X,isActionTrayOpen:!0}),b.default.createElement(ne,null,"Comment that failed moderation with admin links"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment with admin links",status:L.default.FAIL},personalisationDetails:{isEditor:!0,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"},makeTopPick:{url:"/dummy/makecommenteditorpick/{commentId}?forumId={forumId}&parentUri={pageUrl}"},memberDetails:{url:"/dummy/memberDetails/{userId}"},viewModerationHistory:{url:"/dummy/moderationHistory/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X,isActionTrayOpen:!0}),b.default.createElement(ne,null,"Comment by the current user"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment with link inside comment"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:'This is a comment that has a <a href="dummy/url">link</a>.',status:L.default.PASS},personalisationDetails:{userId:100,commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Comment by the current user with an un-moderated display name"),b.default.createElement("br",null),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"U16123456",isNotable:!1,userId:100},dateCreated:"2014-02-01T10:23:00+00:00",actions:t,rating:{positive:0},text:"This is a comment by the current user who has an un-moderated display name",status:L.default.PASS},personalisationDetails:{userId:100,displayNameModerationStatus:Y.default.FAILED_OR_AWAITING,displayNameModerationMessage:"Where is my display name?",displayNameModerationUrl:"/moderation/user/help",commentAdminLinks:{report:{url:"/dummy/report/{commentId}"}}},rulesPageUrl:n,forumId:"dummy",idctaData:X}))}},{key:"commentsList",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=function t(n,r){var o=n.id,i=n.text,a=n.reply,s=n.displayName,u=(0,E.moment)().subtract(3*(r-o),"minutes").format();return{index:o,id:1233+o,key:1233+o,author:{displayName:s||"ApricotLaughingIguana",isNotable:!1,userId:100},dateCreated:u,actions:e,text:i,rating:{positive:0},status:L.default.PASS,replies:a?[t({id:o+1,text:a,displayName:"CarrotSmilingGiraffe"})]:[]}},r=4,o=[n({id:3,text:"This is a single line comment"},r),n({id:2,text:"This is another single line comment, with replies",reply:"This is the first reply to a parent comment"},r),n({id:1,text:"This is a test comment that goes on for quite a while and it<br />spans over multiple lines and contains further lines that are separated by<br /><br />many line breaks.<br /> And also emojis &#x1f602;"},r),n({id:0,text:"&#x1f602;"},r)];return b.default.createElement(re,{heading:"Comments List",id:"comments-list"},b.default.createElement(ne,null,"Standard List"),b.default.createElement(S.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:X,pageSize:ee}),b.default.createElement(ne,null,"New comments available"),b.default.createElement("div",null,b.default.createElement("div",{className:"comments__show-new-comments-container"},b.default.createElement(S.ShowNewCommentsButton,{newCommentCount:12,onClick:G})),b.default.createElement(S.CommentsList,{comments:o,rulesPageUrl:t,isRatingEnabled:!0,forumId:"dummy",idctaData:X,pageSize:ee})))}},{key:"alerts",value:function(){var e=this.theme.formatMessage("postCommentSuccessPremoderated"),t=this.theme.getIcon("SuccessIcon");return b.default.createElement(re,{heading:"Alerts",id:"comments-alerts"},b.default.createElement(ne,null,"Under Character Limit Message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(S.CommentsTextLimit,{remainingCharacters:2,isTextOverLimit:!1,textLimit:750,remainingCharactersMessage:"You have 2 characters remaining"})),b.default.createElement(ne,null,"Over Character Limit Message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(S.CommentsTextLimit,{remainingCharacters:-5,isTextOverLimit:!0,textLimit:750,remainingCharactersMessage:"You've written 5 too many characters!"})),b.default.createElement(ne,null,"Error Message"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(S.CommentsAlert,{type:D.AlertTypes.ERROR},"Sorry, there was a problem. Please refresh your browser and try again.")),b.default.createElement(ne,null,"Success Message Pre-moderated"),b.default.createElement(S.CommentsHeader,null,b.default.createElement(S.CommentsAlert,{type:D.AlertTypes.SUCCESS,Icon:t},e)),b.default.createElement(ne,null,"Comments Loading"),b.default.createElement(S.CommentsLoading,null))}},{key:"ratings",value:function(){var e=this,t=function(t){return b.default.createElement(S.PositiveCommentRating,(0,s.default)({Icon:e.theme.getIcon("Upvote"),commentIndex:0,isDisabled:!1,commentId:0,ratingErrorHandler:G,isSendingRating:!1,ratingValue:9,hasRatedComment:!1,numberPlacement:"right",shouldDisableHandleClick:!0,handleClick:G},t))};return b.default.createElement(re,{heading:"Ratings",id:"comments-ratings"},b.default.createElement(ne,null,"Positive rating"),b.default.createElement("p",null,"Text on the right side."),b.default.createElement("div",null,b.default.createElement(t,null)),b.default.createElement("div",null,b.default.createElement(t,{ratingValue:99})),b.default.createElement("div",null,b.default.createElement(t,{ratingValue:999})),b.default.createElement("p",null,"Text on the left side."),b.default.createElement("div",null,b.default.createElement(t,{numberPlacement:"left"})),b.default.createElement("div",null,b.default.createElement(t,{ratingValue:99,numberPlacement:"left"})),b.default.createElement("div",null,b.default.createElement(t,{ratingValue:999,numberPlacement:"left"})),b.default.createElement(ne,null,"Sending"),b.default.createElement(t,{isSendingRating:!0}),b.default.createElement(ne,null,"Rated"),b.default.createElement(t,{hasRatedComment:!0}),b.default.createElement(ne,null,"Disabled"),b.default.createElement(t,{isDisabled:!0}))}},{key:"tooltip",value:function(){var e=C.default.getSignedOutResponse();return b.default.createElement(re,{heading:"Tooltip",id:"tool-tip"},b.default.createElement(ne,null,"Tooltip"),b.default.createElement("div",{className:"comments-styleguide__tooltip"},b.default.createElement(S.Tooltip,{subtitle:"You must sign in to like comments.",handleClose:G},b.default.createElement(S.IdctaSignInButton,{markup:e.signInButton}))),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement(ne,null,"Error Tooltip"),b.default.createElement("div",{className:"comments-styleguide__tooltip"},b.default.createElement(S.Tooltip,{subtitle:N.TOOLTIP_ERROR_SUBTITLE,isAlert:!0,handleClose:G},N.OTHER_ERROR_BODY)),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement("br",null),b.default.createElement(ne,null,"Tooltip Launcher"),b.default.createElement(S.TooltipLauncher,{tooltipSubtitle:"You must sign in to like comments.",isTooltipOpen:!1,tooltipBody:b.default.createElement(S.IdctaSignInButton,{markup:e.signInButton})},b.default.createElement(S.CommentsButton,null,"Click me to view Tooltip")))}},{key:"replies",value:function(){var e={reportUrl:"/#/"},t="/rulesPageUrl",n=["This is a snippet only with text","&#x1f602;","&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;&#x1f602;","<br /><br /><br />&nbsp;&nbsp;Yee&#x1f602;eeeeeeeeeeeeeeee&nbsp&nbsp&nbsp&#x1f602;<br />\n &nbsp;&nbsp;&nbsp;&nbsp&nbsp&nbspis a snippet &#x1f602; with everything.<br />\n Emoticons &#x1f602;&#x1f602;&#x1f602; and text like this and break lines<br />\n like this, I really like this snippet component &#x1f602;&#x1f602;&#x1f602;&#x1f602;"];return b.default.createElement(re,{heading:"Replies",id:"comments-replies"},b.default.createElement(ne,null,"Reply button"),b.default.createElement(S.ReplyButton,null),b.default.createElement(ne,null,"Reply functionality when signed out"),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"Superman",isNotable:!1,userId:200},dateCreated:"2019-04-02T16:33:00+00:00",actions:e,rating:{positive:0},text:"This is a single line comment with Reply Button and functionality when signed out",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:X}),b.default.createElement(ne,null,"Reply functionality when the user is ineligible to comment"),b.default.createElement(S.Comment,{commentData:{index:0,id:0,author:{displayName:"MrBean",isNotable:!1,userId:100},dateCreated:"2019-04-12T10:08:38+00:00",actions:e,rating:{positive:0},text:"This is a comment that the user can not reply because the user is ineligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:J}),b.default.createElement(ne,null,"Replying to a parent comment"),b.default.createElement(S.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Thor",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0},text:"This is a single line comment with Reply Button and functionality when signed in and the user is eligible to comment",status:L.default.PASS},rulesPageUrl:t,forumId:"dummy",idctaData:Z}),b.default.createElement(ne,null,"Replying to a reply"),b.default.createElement(S.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:0,author:{displayName:"Hercules",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,replies:[{index:0,id:0,author:{displayName:"Ironman",isNotable:!1,userId:100},dateCreated:"2019-04-05T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS}]},rulesPageUrl:t,forumId:"dummy",idctaData:Z,isRatingEnabled:!0}),b.default.createElement(ne,null,"Reply snippet in place"),b.default.createElement(S.Comment,{ commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:12345,author:{displayName:"CarpetMan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0},text:"&#x1f602;<br />This is the test comment that goes on for quite a while and it<br />\n spans over multiple lines and contains further lines that are separated by<br /><br />\n many line breaks.<br /> And also emojis &#x1f602;",status:L.default.PASS,replies:[{index:0,id:12346,author:{displayName:"WaterMan",isNotable:!1,userId:100},dateCreated:"2019-04-06T10:23:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is the first reply of the comment and it is the only one",status:L.default.PASS}]},rulesPageUrl:t,forumId:"dummy",idctaData:Z,isRatingEnabled:!0}),b.default.createElement(ne,null,"Reply snippet only text"),b.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[0]}}),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement(S.ReplySnippet,{replyToName:"SugarMan",replyToMsg:n[0]})),b.default.createElement(ne,null,"Reply snippet only 1 emoticon"),b.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[1]}}),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement(S.ReplySnippet,{replyToName:"SaltMan",replyToMsg:n[1]})),b.default.createElement(ne,null,"Reply snippet only emoticons"),b.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[2]}}),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement(S.ReplySnippet,{replyToName:"PepperMan",replyToMsg:n[2]})),b.default.createElement(ne,null,"Reply snippet mixed"),b.default.createElement("div",{dangerouslySetInnerHTML:{__html:"Comment: "+n[3]}}),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement(S.ReplySnippet,{replyToName:"CurryMan",replyToMsg:n[3]})),b.default.createElement(ne,null,"More replies"),b.default.createElement(S.Comment,{commentInputTextLimit:750,commentInputModerationStatus:F.default.PRE_MODERATED,commentData:{index:0,id:123456,author:{displayName:"PeterPan",isNotable:!1,userId:300},dateCreated:"2019-04-02T18:05:00+00:00",actions:e,rating:{positive:0},text:"&#x1f602; This is a single line comment",status:L.default.PASS,replies:[{index:12,id:12,author:{displayName:"Bambi",isNotable:!1,userId:100},dateCreated:"2019-04-07T07:24:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 1",status:L.default.PASS},{index:11,id:11,author:{displayName:"LionKing",isNotable:!1,userId:100},dateCreated:"2019-04-06T08:39:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 2",status:L.default.PASS},{index:10,id:10,author:{displayName:"Romeo",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 3",status:L.default.PASS},{index:9,id:9,author:{displayName:"Wendy",isNotable:!1,userId:100},dateCreated:"2019-04-05T05:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 4",status:L.default.PASS},{index:8,id:8,author:{displayName:"CaptainHook",isNotable:!1,userId:100},dateCreated:"2019-04-05T04:00:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 5",status:L.default.PASS},{index:7,id:7,author:{displayName:"Julieta",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 6",status:L.default.PASS},{index:6,id:6,author:{displayName:"Shirkan",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 7",status:L.default.PASS},{index:5,id:5,author:{displayName:"Rambo",isNotable:!1,userId:100},dateCreated:"2019-04-05T03:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 8",status:L.default.PASS},{index:4,id:4,author:{displayName:"Rocky",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 9",status:L.default.PASS},{index:3,id:3,author:{displayName:"LuckyLuke",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 10",status:L.default.PASS},{index:2,id:2,author:{displayName:"CristobalColon",isNotable:!1,userId:100},dateCreated:"2019-04-05T02:01:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 11",status:L.default.PASS},{index:1,id:1,author:{displayName:"Nadal",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:19:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 12",status:L.default.PASS},{index:0,id:0,author:{displayName:"Federer",isNotable:!1,userId:100},dateCreated:"2019-04-05T01:09:00+00:00",actions:{reportUrl:"/#/"},rating:{positive:0},text:"This is a example of reply number 13",status:L.default.PASS}]},rulesPageUrl:t,forumId:"dummy",idctaData:Z,isRatingEnabled:!0}),b.default.createElement(ne,null,"Error after posting a reply"),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement("div",{className:"reply"},b.default.createElement("div",{className:"reply__signedin"},b.default.createElement("div",{className:"reply__signedin-eligible"},b.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Albert"),b.default.createElement(S.CommentsAlert,{type:D.AlertTypes.ERROR},this.theme.formatMessage("postCommentIdctaError")),b.default.createElement(S.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,forumId:"dummy",createForum:!1}))))),b.default.createElement(ne,null,"Confirmation after posting a reply"),b.default.createElement("div",{className:"comments-styleguide__white-background"},b.default.createElement("div",{className:"reply"},b.default.createElement("div",{className:"reply__signedin"},b.default.createElement("div",{className:"reply__signedin-eligible"},b.default.createElement("p",{className:"reply__signedin-eligible-header"},"Your reply to Henry"),b.default.createElement(S.CommentsAlert,{type:D.AlertTypes.SUCCESS,Icon:this.theme.getIcon("SuccessIcon")},this.theme.formatMessage("postCommentSuccessPremoderated")),b.default.createElement(S.CommentsInput,{isDisabled:!0,commentInputClass:"reply-input",textLimit:270,moderationStatus:F.default.PRE_MODERATED,forumId:"dummy",createForum:!1}))))),b.default.createElement(V.A11yAlertText,{timeout:te},this.state.audibleMessage))}},{key:"getChildContext",value:function(){return{isFeatureEnabled:function(){return!0},apiKey:"styleguide",forumId:"noForum",theme:this.theme,setA11yAlertText:this.setA11yAlertText}}},{key:"render",value:function(){var e=this.theme,t=e.themeVariant,n=e.product;return b.default.createElement("div",{className:(0,_.default)("comments-theme-variant--"+t,"comments__product--"+n)},b.default.createElement("div",{className:"comments-styleguide comments"},this.menu(),this.typography(),this.buttons(),this.alerts(),this.formElements(),this.header(),this.footer(),this.comment(),this.commentsList(),this.tooltip(),this.ratings(),this.replies()))}}]),t}(T.Component);oe.displayName="StyleGuideModule",oe.propTypes={mode:T.PropTypes.string,themeVariant:T.PropTypes.string,product:T.PropTypes.oneOf((0,i.default)(W.Products))},oe.defaultProps={mode:A.MODE_STANDALONE,themeVariant:W.ThemeVariants.DEFAULT,product:W.Products.DEFAULT},oe.childContextTypes={isFeatureEnabled:T.PropTypes.func.isRequired,apiKey:T.PropTypes.string.isRequired,forumId:T.PropTypes.string.isRequired,theme:T.PropTypes.shape({formatMessage:T.PropTypes.func.isRequired,getIcon:T.PropTypes.func.isRequired,getComponent:T.PropTypes.func.isRequired,ratingsNumberPlacement:T.PropTypes.string.isRequired}).isRequired,setA11yAlertText:T.PropTypes.func},t.StyleGuideModule=oe},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(173),i=r(o);t.default={getSignedOutResponse:function(){return i.default.new().signedIn(!1).withSignInButton('<span class="id5-cta__button">\n <a class="id5-cta__button-signin" href="javascript:alert(\'Stubbed IDCTA\')">Sign in</a>\n or <a class="id5-cta__button-register" href="javascript:alert(\'Stubbed IDCTA\')">Register</a>\n </span>').build()},getSignedInResponse:function(){return i.default.new().signedIn(!0).withPolicyCheck(!1).withSignedInMessage('<span class="id5-cta__message">You\'re signed in as test-u16. <a href="#">Sign out</a><span>').build()},getSignedInResponseWithUnder16PolicyError:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<span class="id5-cta__policy-error">Sorry, it looks like you’re not the right age to comment.</span>').build()},getSignedInResponseWithoutDisplayName:function(){return i.default.new().signedIn(!0).withPolicyCheck(!0).withSignedInMessage('<span class="id5-cta__no-display-name">You need a display name to comment, reply and react.\n <a href="javascript:alert(\'Stubbed IDCTA\')">Create a display name</a>\n </span>').build()}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(262),s=r(a),u=n(263),l=function(e){return null!==e};t.default=s.default.create({displayName:"CommentsAggregator",getInitialState:function(){return{commentsDataLatestRequestUri:null,commentsDataPaginationRequestUri:null,loadedComments:[],forumData:{},shouldLiveUpdate:!1}},listenerAdded:function(e){if(e.commentsDataUri){var t=(0,i.default)({},e.commentsDataUri);e.nextIndexToLoadFrom>0?(t.startIndex=e.nextIndexToLoadFrom,t.pageSize=e.pageSize,this.state.commentsDataPaginationRequestUri=t):this.state.commentsDataLatestRequestUri=t}this.state.shouldLiveUpdate=e.shouldLiveUpdate},getCommentsDataResponseIfAvailable:function(e){var t=this.getAvailablePayload(e);return t&&200===t.meta.responseCode?t.body:null},processLatestCommentsDataRequest:function(){if(this.state.commentsDataLatestRequestUri){var e=this.getCommentsDataResponseIfAvailable(this.state.commentsDataLatestRequestUri);return e&&(this.state.forumData=(0,u.getUpdatedForumData)(this.state.forumData,e),this.state.loadedComments=(0,u.prependNewComments)(this.state.loadedComments,e.comments)),{uri:this.state.commentsDataLatestRequestUri,requireSuccess:!0,updates:this.state.shouldLiveUpdate}}return null},processPaginatedCommentsDataRequest:function(){if(this.state.commentsDataPaginationRequestUri){var e=this.getCommentsDataResponseIfAvailable(this.state.commentsDataPaginationRequestUri);if(!e)return{uri:this.state.commentsDataPaginationRequestUri,requireSuccess:!0,updates:!1};this.state.loadedComments=(0,u.appendNewComments)(this.state.loadedComments,e.comments),this.state.commentsDataPaginationRequestUri=null}return null},data:function(){var e=this.processLatestCommentsDataRequest(),t=this.processPaginatedCommentsDataRequest();return[e,t].filter(l)},getPayload:function(){var e=this.state,t=e.forumData,n=e.loadedComments;return{meta:{responseCode:200},body:{forumData:t,loadedComments:n}}}}),e.exports=t.default},function(e,t){e.exports={create:function(e){return Morph.createAggregatorWithCaller("bbc-morph-comments-view@3.3.1",e)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,l.pickBy)(e,function(e,t){return(0,c.not)("comments"===t)})}function i(e,t){var n=t[0];return e.some(function(e){return e.index===n.index})}function a(e,t){var n=t[0];return n.index>e[0].index}Object.defineProperty(t,"__esModule",{value:!0}),t.appendNewComments=t.prependNewComments=t.getUpdatedForumData=void 0;var s=n(2),u=r(s),l=n(95),c=n(167);t.getUpdatedForumData=function(e,t){var n=o(t);return(0,u.default)({},n,e,{isClosed:n.isClosed})},t.prependNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();var r=t.filter(function(t){var n=e.some(function(e){return e.index===t.index});return!n});return r.concat(e)}return e},t.appendNewComments=function(e,t){var n=Array.isArray(t)&&t.length>0;if(n){if(0===e.length)return t.slice();if((0,c.not)(a(e,t))&&(0,c.not)(i(e,t)))return e.concat(t)}return e}}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.3.1"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.1.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","bbc-morph-gel-icons":"4.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function o(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}var t={};return o.m=e,o.c=t,o.p="",o(0)}([function(e,o,t){Morph.modules["bbc-morph-comments-view@3.3.1/product-config-childrens"]=t(1)},function(e,o,t){e.exports=t(2)},function(e,o){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default={default:{product:"default",label:"",flagIcon:""},cbbc:{product:"cbbc",label:"CBBC",flagIcon:"FlagLogoCbbc"},cbeebies:{product:"cbeebies",label:"CBeebies",flagIcon:"FlagLogoCBeebies"},"stay-safe":{product:"ownit",label:"Own It",flagIcon:"FlagLogoOwnIt"},newsround:{product:"newsround",label:"Newsround",flagIcon:"FlagLogoNewsround"}},e.exports=o.default}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.3.1"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.1.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","bbc-morph-gel-icons":"4.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(a){if(l[a])return l[a].exports;var o=l[a]={exports:{},id:a,loaded:!1};return e[a].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var l={};return t.m=e,t.c=l,t.p="",t(0)}([function(e,t,l){Morph.modules["bbc-morph-comments-view@3.3.1/icons-childrens"]=l(1)},function(e,t,l){e.exports=l(2)},function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(3),o=l(5),r=l(6),n=l(7),s=l(8),i=l(9);t.default={Upvote:a.Heart,SuccessIcon:o.Applause,FlagLogoCbbc:r.FlagLogoCbbc,FlagLogoCBeebies:n.FlagLogoCBeebies,FlagLogoOwnIt:s.FlagLogoOwnIt,FlagLogoNewsround:i.FlagLogoNewsround},e.exports=t.default},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Heart=void 0;var o=l(4),r=a(o),n=t.Heart=function(){return r.default.createElement("svg",{className:"heart-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 27.82"},r.default.createElement("g",{className:"heart-icon__stroke"},r.default.createElement("path",{d:"M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Zm-3,17.35a15.34,15.34,0,0,1-6.16,4,28.58,28.58,0,0,1-3.28,1.12,28.77,28.77,0,0,1-3.4-1.12,15.34,15.34,0,0,1-6.16-4,13.92,13.92,0,0,1-3.33-8.64c0-2.76.76-4.92,2.32-6.26a5.18,5.18,0,0,1,7.59,1.41,3.35,3.35,0,0,0,3,1.82,3.48,3.48,0,0,0,2.85-1.82,5.18,5.18,0,0,1,7.59-1.41c1.56,1.34,2.33,3.5,2.32,6.26A13.92,13.92,0,0,1,25.5,21.41Z",transform:"translate(0 -2.09)"})),r.default.createElement("g",{className:"heart-icon__fill fill"},r.default.createElement("path",{d:"M28.5,4.06S21.44-1.71,16,6.5C11.79-.33,5,2.69,3.5,4.06,0,7.15,0,11.68,0,12.8A17.21,17.21,0,0,0,4,23.47c3.83,4.73,12,6.44,12,6.44s8.13-1.71,12-6.44A17.21,17.21,0,0,0,32,12.8C32,11.68,32,7.15,28.5,4.06Z",transform:"translate(0 -2.09)"})))};n.displayName="Heart"},function(e,t){e.exports=React},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Applause=void 0;var o=l(4),r=a(o),n=t.Applause=function(){return r.default.createElement("svg",{className:"applause-icon","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 72 72"},r.default.createElement("path",{d:"M52.43 11.33l4.12-7.71a1.09 1.09 0 0 1 1.87 1.09l-4.12 7.71a1.09 1.09 0 0 1-1.87-1.09M43.75 3a1 1 0 0 1 1.79.25l1.23 5.28a1 1 0 0 1-1.89.47l-1.23-5.27a1 1 0 0 1 .1-.74M15.59 11.1l-.7-8.71a1.09 1.09 0 0 1 2.17-.09l.7 8.71a1.09 1.09 0 0 1-2.17.09M3.78 8.77A1 1 0 0 1 5.41 8l3.89 3.79A1 1 0 1 1 8 13.23L4.09 9.45a1 1 0 0 1-.31-.68",fill:"#2b2b2b"}),r.default.createElement("path",{d:"M57.24 56.4c5-7.08 4.75-10.71 2.84-16.46-.37-1.12-.91-2.56-1.4-3.67a96 96 0 0 0-5.2-10.15l-3.54-7.32a4 4 0 0 0-4-2.23 3.72 3.72 0 0 0-2.6 1.36 4.29 4.29 0 0 0-.49 4.61l4 8.31L24 15.42a4 4 0 0 0-5.52 1l-.05.06c-1.55 2.09-.06 4.44.18 4.74l-4.06-2.74-.42-.28a4 4 0 0 0-5.56 1 3.86 3.86 0 0 0-.1 4.12 4.1 4.1 0 0 0 1.25 1.35L13 27.54c-1.84-1.24-4.92-1.62-6.38.54A3.86 3.86 0 0 0 7.8 33.5l5.65 4.66c-1.9-1.29-4.4-1.34-5.6.7a3.79 3.79 0 0 0 1.28 5s18.1 13.05 23.78 16.56c6.15 3.8 8.78 4.25 13.83 3.69 4.27-.47 7-2.71 10.5-7.72",fill:"#9f8214"}),r.default.createElement("path",{d:"M64.75 41.35c-.34-1.13-.83-2.57-1.29-3.68-1.46-3.59-8.23-17.6-8.23-17.6a4 4 0 0 0-3.92-2.32 3.72 3.72 0 0 0-2.79 1.49 4.29 4.29 0 0 0-.44 4.39l3.27 7.23a.33.33 0 0 1-.49.4L29.57 16a4 4 0 0 0-5.51.86l-.06.06a2.53 2.53 0 0 0-.65 2 2.13 2.13 0 0 0 1 1.67l.48.37L39.64 32a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11L22.64 20.63l-2.55-1.81-.34-.25a4.06 4.06 0 0 0-5.68.88 3.45 3.45 0 0 0-.16 3.79 17.84 17.84 0 0 0 2.3 2.17l2.1 1.59 18.37 13.18a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.3-.1L17.21 27.41a4 4 0 0 0-2.55-.72 3.49 3.49 0 0 0-2.72 1.45 3.83 3.83 0 0 0 1 5.42l5 3.7 14.18 10.12a.53.53 0 0 1 .13.72.48.48 0 0 1-.41.2.54.54 0 0 1-.31-.11l-14-10-.25-.19-.54-.37c-1.93-.94-3.73-.74-4.73 1s.38 4 1.1 4.51c0 0 18.53 14.21 24.09 17.86 6 3.95 8.62 4.45 13.64 4 4.25-.36 7-2.51 10.65-7.39 5.13-6.88 5.01-10.5 3.26-16.26z",fill:"#ffd201"}))};n.displayName="Applause"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoCbbc=void 0;var o=l(4),r=a(o),n=t.FlagLogoCbbc=function(){return r.default.createElement("svg",{className:"cbbc-flag-logo",height:"18",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},r.default.createElement("image",{id:"flag-logo-cbbc-image",x:"0",y:"0",width:"24",height:"24",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABACAYAAABGHBTIAAAABGdBTUEAALGOfPtRkwAACcNJREFUaAXVWwtQVNcZ/s65dxcWK0Qg0SGxgoQqxmp9xcRMW+ljErWmk7SSCUimxieiSZx01Ka23XZiE207tRJfjUYnWnwwNtPGYNpkitOJVqMCKh3fYtXiExEQBXbvPf3vElZYdu/uuXsBe2d29p5z/v/7/+/ec8//n3PuZejCozrFHdcnud+TClOHgWE4AxsihEhmjCUJiFpnxYxUn/mlW0sYE4Oo7SIHP6kLlMPr/RzuvApq1+10UbUTzMBqeHTlgzFfcmUz8ElMIIuIxra3QWR9RQHU3qvX48D4QGobSPXf9EkoKsRbRbUQogQesROVZz5Csbvlno61M9sI3xn6x3GqwubSHZpCrjh97rRys+YZaVGP6APGcgktV4zIqMHwbRvgbSiEe+Ylq6DcqmKgnlPlJZzxXPKylWygQJRlxngSU8RCOHudw9JtazFrlsMKpGXCq/6Nfu+ex3QrRqPRoW7vYFzMRlxmLys4lgivO4+cmF44LhgmWzFqp059PqbRb1CkmFKE3aWIpbv6nsLZn8DZA5Ea6Uo5GgNp9FfK6mZjaiR2Iia84hj6PpyGUsbZtEiAu1OGcSVOUZ2b6wv422TXdKiMiPDK03gkLh57iewTthERaLYN6wsgDnVRQ4GyZQeghMIOS9ggG+vAXs5YeigQK/V0G6qt6IXToe6dM6FAeT8UaVPC7xxHksuJTzhnXw5nSLadEoxKWZ1I5VtJ4/fB5EMSHl8KNdaFYgoDg4MpRlsnoP8jWgwzfUoH5tfNcSwIlAlJOCeNL6eROCtQwZaywK0LjcdKbMEyAVEUffnNOXiqvUhQwmuq8DTnotPVaa8YzbnG2JqMM4W2D1qdfVJUB1O2ns5FfFtbJ8LLTqC3wrG+TcD2f4FrjfXXltmOGwKQQlb/vg84ftfW3Ilwn1j+SxqRH2kTsPvfCzY98dziOrtxzfA42Iy6fPhCagfCFILSGdPnmSlH08Z07Y3YIy/vigbDqi5j6grSZR2mhy4HfmUk51ZBQ+rRbJ9SwEXK0Vm/CSnTxQ00kxtbPxff8xNecxypjOMFu+3qEBd0zTsjtnLOJ3Zjy+OpP/V3acXFX6E7HjIlkwXXhagSAq/fvFw75P4gSwyYVuu7w+4dNGlnel6YvNuU8/WWa2UKeJOTOyrimGun81h+GeFRQnV/HAza2ds3RZ6PcMpoPEMjc7KsazQfPtimc7Xp8kh6/hOoPIG68czy9PkfeLS5qx8/v9pYiOvRQ9f10x6P9q2UrbjR2qUVPCfrEXXZs5WV+G0wPQoDybS2NTNGUcvLB84r2p82o28wue6o0+H5uLbOOzZpPS4Z9nyEabCaKG1cx5uFE8NP8Wh0fNHFXEfKB8wdJ20jCgWhaxc1reWl+FViwoCieyukvPAkBjPBHpLBFrq4Un0QRRHrMNaXKcqnB1PnjY9Yx4KggHYb0HZBtOSc/FxLT1iLzYEwaoyzNQMJbDAra8Bmdzak1ojp+XY5FPylfODs0SPOrTtthi/T5tGxnomWP3uAy6vX4aw7zMK9KjiGyxgwZGns3Smr49MDi6dpW5EbGEs/W3YUEtfKzas5PcSZMs4LTTR8ehCHZHQ6yDI2+tmBBT/qUNeNBQ4BudUMhsPF2aBebf2gbZjFpG262GYd3VyTIgjkBiyGk+aQ4Vsp5meUDSiwb0EwvEm/BNlmSf5SBCeUbFyMQCysCFPY02GFukCgNfGQAOYeNEqIhxRV6FkO2diFDdKE7fKFhug0u7BkcKQJ6w5Y2sTq5JQQ9uB0Ajav4LTrXmMu0rGVYnD/jjX/XyUjLF2TcZkIR7xTJ4MrLfvffQ3SOqRghKULUooCo6bsCL13I4VlUZhy+YsoLraUC3CaoZ+QsUvhpPd3xqBHRli/n5T8+M8lT1TKaCtk7xfF4h+QnQOStuwT13T/rkXDUGR6VCR6vLjStxLnyIjpKgtvbsF+WU9o4SvPtywkq2iDvBB6I2quF/uhVMx2quyzXrHsTP1I3GociZ23hiO7FPAvUPpl6YTPH2R0aXG9fWW4c9on7pcyBjnh5LqkXRMrsWLBrWDYtMsZLzh7nvZXto8ZiTN1I5EbKOeLw/Qi2EeBDWHLHEvmlyAmrJyNArQKegENzW9FBMnZAHo1Y8vtUdhVlQr/6xmtiYeGDyICaSdESXj6sKF4vV1Vl55SvtAMXXsBy6fLhSPGJiX3wYGaYfBtH/kIVx/Cx7Qod0PWY7rij8vqWJEnsi3QtGwsmSo93hj2KLJ8xenAnouPIdFH2LdcI3in9R8rztmtQ7s01RRJvo2f5f01GmyaFaYnOLGltUsTknZXX0mDl6VgHo0joXQpuWgSXlGIultDsSTns1ByUvUMif6hOz8T5989j+20ZNszoy95Tl33Gt3Ncuj0QmnTne349cyrUoTCCy/1EzZk73rwc5dTTKHbb/8Oopkzz7AbtJhYRXuMl4j1Caj6Kbz5d+kxxcyErosD8WXY5e/ShvArGTgrBH/HTLFL2lSRTG/NptE7JV+Hwl+FcOzGT56vwpFt+ZgyhfKc6A/hxWuEQtc14Kht0n9BI/algOruL3LWn5LE1Xjjuf04tCk9GgeIz/qEo60ZZSfCiwajQdMxIxoDtuoyPhrcuR8H3rc0YTFmVlfr7uULnQgbzuan4W+6zoK+2GUrmUjBOE+GQ92N8o0Zkar45ITw0s7EixlnUN+mF5Sw0VhUpS+kq7OnTbDH/w3SiNkBt7vDQGvmF8XYHydWYG97mZCE92TB23wXP6RQITVfbg9u+znjX8Ozma9Ggkt+FyYcxh8CZUMSNgTnZaLmbgu+q9HXJoGKPVZmWIhSd6yZfSJbtPswgr5YZ0rYAKVQdYnmzOOMDXAzI93WxsRDiH/0+6HsfUH2pWxKHoPJhCVsKBmk79TjKSN4BwPp9jquTg5mk27Kst6HMTUUWUMnIsKG4GtfxdXqKoyngWyjUe7RQxcd9qV0TTRqusiLP4zF5Jf5Eo+M4+4sNM1MxcsEnkv5btBVBxk8y7KKoF0LWlmjg9hVNGsYlVCGLZHgRXyH24PNTkVRcyMyaY36w/b13XdO29qlmxIMe/EV2PTg0ch3NCOOaYFkCh7DFarbEFjf5WUhPHRz38Opf1na1LNMOJCY0LSJQlHmcgb6FI/Z/3Wa0GqgKxvguV2IJ6x/imcb4RH/Wb2PLsK+f/abtqC3Ky6bPp6cRA9ZFk01TWNm4IXrUBZ6LY2rJdC9O3GWPrbMvo8+tmxz9BtXNhpLvquM34cpk+Mejk15ksMxTBd8uMoxhEIHTQWR1Cbv+9f4HXD9HHXVC1Q+RSMRLQLQ57S76HNatz0vv7TZ+x8wAfgeqPyGEgAAAABJRU5ErkJggg=="}))};n.displayName="FlagLogoCbbc"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoCBeebies=void 0;var o=l(4),r=a(o),n=t.FlagLogoCBeebies=function(){return r.default.createElement("svg",{height:"18",viewBox:"0 0 23 26",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},r.default.createElement("image",{id:"flag-logo-cbeebies-image",x:"0",y:"0",width:"23",height:"26",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADpCAYAAABV0bkRAAAABGdBTUEAALGOfPtRkwAANNpJREFUeAHtXQeYFMUSrt3LcMdxRzjyHRklSRAxgyiCmBPJgAIKCqISzAEjT32C+amgBDOiiIoYUJCHIKI8RBSUcBwIAkc+jku7+/4a2GN3b0P3zGzu+r7anemuru6umZrurq7utpCCaJBAAgqZAUwFpgFTgBagE8pw4cRDuD4CdDgj1b+SQLxJoC4qfB1wBnAt0AZkhRDF/aBdALwd2AyoQEkg5iVQEzW8FbgMaAeKKosI3X/B71ogt1wKlARiSgInojYzgSVAEWUwQrMDeXCrxN1ABUoCUS2BDij9XKDZrY2Igm1DvtcDXcdRuFWgJBD5EqiDIr4KlB3XiCiGLM1SlKNd5ItMlVBJ4KgEhuBvH1D2RQ8mfSnKcx+QLX0KlAQiUgINUarPgcFUBKO8l6B8jSJSeqpQcS2B81H7QqDRFzwU6bmcPeP6aanKR4wEuEv0CDAcRgIjylaOMrM5XYGSQNgkUA05s4XNyIsc7rRs6EgMmwRVxnErgfqo+c/AcCuAGfl/inrwx0CBkkBIJNACuWwCmvHyRgqP71GfzJBIT2US1xLg+RSeoIyUF9/McqxGvXj+SoGSQFAk0B5cdwPNfGkjjdca1E8pUVBen/hm2hrVj3XlcSozt0SqO+fyvitfKBdh6LjkMc8iIE+Umg4JCRZq3SyZOrZJo0b1koCJlF49gdJSLZSSbKHiIw6gnbbvKqf1m0rp599K6K98diwIKqwA997AA0HNJUqYKwXS/6C4O7MM2Fw/i6opWzVNoQt6ZFC/nhnUrUMaVUuzViXyE7Ltn3L6YtEhenveflr6c7EfSkNRbFhgJQq6thoqZQgSKwXSJ+TqSLYY2EVfcvdU6dWsNOiSmjTk8iw6GUpjFvy6roRefnsPvTPvAB0p4flcU+FDcOsPNJ2xqaUMMjOlQPICZg+Dz4B95JO6p6hZI4FGX1eLbr22FtWqyWyDA9wqPfTcLnpr7j6ym/u6P48SjwlOqaODq1Ig+ec0xehLk4ixzYjB2fTg6LqUBSUKFaz9q4RGPbyD/rvysJlZjgezZ8xkGE28lALJPa2bQM4uLrqhS7s0emNSIzqxZYpuHkYSOmBPe3HWHnrg2Z10GAYIE4CZXALkVjnuQCmQ+CM/HaTfAZPEkxynTEq0aC3O+OG1ia1r4Yb8bWU08PattHINb+BjGHgnoO7A3w1zijIG4X+S0SGweijmKiD/SwOboN97rjGdclJkuZWVlTvozsd30Kvv7pWuk5cEmxDWDbjHS1zMBoWuAx69IuQWh7snbfVU4Yyu1embWU2pZV54umz+yswtIZvMW+Qla6ZvGy8y1w9ZSMpWybeBPPEaF6AUKPBjfgokAwKTVaW49tKa9MELTYjN1JEM7VunUo/u6fTpwoMwdxt695uhnrwE4ttIrq+ZZVNdOP/S7Ivo+f5JvMdOuKkOPT42x3tkhIayF8OFw7fQpgLe5NQQXIjUnxviECWJlQL5flDsnsO+X7V8k3iPefSOHLp7BDsqRB8U7rPReddtpt/+LDFS+H1IzN25zUaYREPayO5bhE+CLJe3gNLK88S46FUeFnftrAT6emZTOulE3oZbN/B4aDYwWTeHKEmoFMj7g+LJwR7eo3yH3ntLHRo/PDpbHtdasRItnNWMunU05FbELdDjrnxj8Vp14ao+1U4IWg6U+nqOgkvO5Pt4NXfswMEiO/UYtInWrDfUnTsfEvkqdqTiXhOlQO7y4H7LL8AT3IP9311+fg16d0oTssZge85jorMGbDKyTOIfSK8jcJd/KUZnbAw+ckMP4lGkllIenhyd8XTjmFQeluTRMVEe5TbQ5YDBLHjy+U1gTH6sY7JS/NR0QFek+REo/FFhD4Plc5pTTm2e+oht4AV7Z/bfRPsO6p5tvRkSei3WpKQU6OgTZTcB3opK2NsgLdVKi99pSp3aGhpoR9X7tOSnw9TnhnxiFyAdcBhpeO+ImDJtC39tdQgsmpI8iMIKKw9X7MWHG8SV8nCdzzy5Ok19siFZ9H12q4PFTGBMvXPKlYeIu27TZR7s0Kuz6L5b6iJJ/AG7/fCSiO9XcIMiDU2Q4hBwmXTKCE2g71sSoZXRUSzprluHNqn0w+zm2qYeOvKLmSRX3lpAn3xzUE99eB8Ftsqt15M40tLEVHOqQ7j3Io1w1606Nvh4Z3LjuFcelvP0pxtR25a6vBX4ozUVGBMf75ioBD9QHdAaaX4FCk+YvvpYQ7rxKvZSiRFIrE+WpAZ4lfEdtWCIYiskR8VOoopCVDCwoYAX5XW7bKNey9woZPJStEsyXhWI680u9z1EH+DFvWrQnJe5Cx/FkFiHrOm9yMKYCoOYlcf1XsC2nxxHVpGjeDnZD30BxWLfUO/w2beH6PJbtmjjIu8UPkN5LNQOWOCTIgoi4lWBhuDZvCn6fHjHnNWft4za+R5Lci5ZsoeRNQOrDCySc1YOGzkOf0/2vVPJUcINdlW495md9PTru6tGBA6BdtIFgckilyIeFYg9rHkAy/9CMPOZRjTwoppCtBFFZEkma/ZwDcli3ODqOLyU7LufJkfZRrdq2mwO6j0kX69lrj+YfeDGMIpu4lGB3sDzuUH0GV3Wu4a2qlSUPlLoLElwL2owhSwprcwtkqMcrdE0IJwKcO2EHbsrqPNFfxH7zkkC+8rxeFSXSU8yL9PJjX+WTC9SUBmeDe7PieZQJzuRPpuaJ729rij/YNHx+Cah8TQYCIJwZjBaMku1rrA5nIau3VLsS1qkVSOjupXaNEulD+YfkK1WOhLUAOpa+Submdn08aRAbG37HFhbVIjTJjWkru2jy1XHknoiJTSClTghU7SauugsiTlkrXERxkWrYbXbofHgfb25Bfrp1yOyPHkym8dD22UThps+nuaBboew24gKvO/ZGXRln+C+hKJlEabDS53Q8GVY1/ijHgJIyIKyvobW6IzKzJ66qx6xt4Ik8Hv4CjDq3sd4aYF4f4PZQKE5Hz4R4dPX86hmRjSJx6opjyW5GaoZQoBVz5rRhxylsMuU5xNvW3x6l2o0fc4+ktwmCxNSxOOhlSEsveGsoukNMVLZ15G4syiDibfX1fZLE6WPBDprrZFalyosZcFErDWjF+aOfkJ37h+qWyuRkpIstPAHaX+501B+9D9Jug8Ylnoj03iwwp2Dei4UFTC7p6z8pLn2JRVNo9GxmTihFjyVj86zOGwYTNulXyCpLJ3ElqQmlJA3F09T96I3Jytj/7aDZNs6CGbuLdopED0Hb6IffimW5fkqEoyQTRQu+lhXIH6jMMoVW2XKbvqL321Gp3aqFvB5sHnYUu00YBeYik/AdoJ1kMajC88z+uUF+DL/jFn9H4Er3Ey/ATMRJEho+CLGIWxgDD84Sv8kW8Eg1LNU21+uyyUbqKjYLlMwJmajwiqZROGijfUuHBsOBosKl/3cRg72M79qrUbWmgPJmvMgWWvdoplyLcl5xwbtXr5F1lRM/OeQJa0TulcXIm1/KBqMgOXb0DpJm3u9VsOS2pasdcZ5jQtHoCUR8kMdHYcXUVZmArF5e8H3RTJFYUG2Awp7isgwN5vWy1M3O4uw8auPnNnjIEOkBHzY1e9ftiSe+6kC6BpZs64F3oBumgkeCXCPsR+cQ/Y9MDxpjptVchQOSKj/b7Jk9BamDxWh7e9boERLNB+5c67ZrOdMIt5O+f1QlVdvPh59Dr1sIjLdUyiVkPJw6fmwK2/KY0ntSAm5H5C19h3mKA9nhvGSNfNqSsydS5Ya/ThEH3DrlnGevrRBTpWAVpqdVblb/PoTDSk1Rfpb/S8UMeIn4WK1C3cqhP+c6DvCh11NxUO2Wl0fsgU+ZEMpof4kvO9+unWimXijQxfPmn4uxv6NNYdN2eNGuUtoqcZVjUDguSj44jmKf6BsOOOmJlvpm6VSXTlu6tkatyQCa1dZJNc3pjIwyi+4Vf0R2FW0Hl9Oz6NzTnWZfMSDT6j3ZEi7Rrx8wLZ9jN+lA571Scj9CAaMlp7BkXPvqCBbfj8YUrZjTshBp161iVatlbJQsxmzBZDnhyISYrELdwMkLaw8l55Xw0N5UjEh+UpIlYffDDY08Ky+sBcBd98iWXm0SmGStdZovtJO5XvlkQayp/NVR9LHNQYR+hNrXTj2vcGECLHgAwL3y+f+J5fYgKABjAXsCmOpdkrAtMEgsMB6xXk7Dn4O9hV+s9C6funn+KWJhEhWcq0+sDo2qJtE+w7Y6MfVUq1QR9TjY+CuSKiPZxlirQV6ABUU3i5nzJDalNvQ6d1joYSciWFTHueD0Typcx5y3vr8t1Tr5jMusiIsZMm6prJIE2/Pocb1eXpOGPgdnSRMHWLCWFIgXlNym6j8eDfRu27myc+jYM0aAovYRc7bsP5btDmjgf7LkNLGf3wExVozL0MfjjsHpJ3W96z8JvwXIGkvjUGE/cSSAk2BbIU/bQ/fVleb5OPnwZ4E1tpjIurRWOuM9b2eB+5CluTmEVVev4WxwNqYwTpwFHjcef6ZLkYbZ4T/f56WiDijV6wo0IUQbh//8j8ey/5uN1yZdTSAlz3Xx7MxYcnz8RxMuLKkwOPhYa+M2Pct4srrtaTHA7lVdYUXHmogOzfEzsA8uRpREAsKxIOYyTJSferuepXWIGvWdfia58kkDxktGxQs6T2r5pcoPMyrmjZMIZbUDpBzbmXuTRsn07hhx7vQlRH+Lx5FtBdXEf+JghkbCwoEFwFtrkBITtx16H3Gse4DXkRrrZuF0oWL6KgZ2OMxsT9dFIKluvvHgMegeY2cRhyhCnG/lacpIgY8nkzElEu0IHz2zH2ixAlY7PXUXfUrydnTABukVd5H4gWbgT1bIQtWgkYjuK5c5fLzNAKvYJUEtrSmSKYJGnm0KxCbN4X93a6/vCax244GCdnwR7siaII1kzF7gLtBuNf9uBVG/MaShmGMxweLdz3qcYrQtJ0zo8a4GOm8Cfd/NCsQz3ZeLypAXqb98JicSnLtpcRAPRpAGwsl5x0vqsdLeDwiwq+g+Ja0jlUKOeWB+rILGO8BE2kzXpWMTQiIVgVic+bzMvW/44baVL+Oc/yJJcg1LpZJHnZaS8b5YS+DGQWwpLarwoatosMHSHVL2YoiPOdXJUMTA6JVgbjlEZ6K5zX644YfH3hbqp2MGSPewyJ6wAKv7Uo4thdb5X0UXVhSTvRa2gdH51Cm3CYuE8DIhMVZXosjHOj8JAsniABC3oSPxz7C8MCoutoMuDMBb64ebWBhzwM2X1fswqqHYkPF37BhA82fP5/y8/M1Pnl5edSnTx9q1aqVIb5CiVNaeyXjw4zvurk28T7bgsCuDaxE9wrSK7JjEngG/w5RbJmX4ij5va2jfH27SrSXbXNEI1RsH6fVoWL7eF3F3759u+OKK67wKTsokWPdunW6eAsnspejDh0qn4Xrczn0a1sHTgP3WT4vz7wIYccHtrgJNURbFw6fYZLyuXliHDYbhPnaCdpJBUm8TVz0gSXtpKOFLv9buvC///47de3alebMmeMz7YIFC6hz5840e/ZsnzSGI3jXIm0Dlqqc2Kz9yJ1S+sDmOzYohA2iTYGeg6SEu528wR/7XbkBlmibDfj6EneLFi1aRD/++CMVFfGH0XzQunFg65BUoL1791Lfvn0JLVDAQhUXF9OAAQNo7lxeFRIcsCQdn4vzzGEQTsHo0k5qJffN4CE9meSZr977aFKgS1HJ3qIV5bX4k8ZXlavFRx9clK8rXXl5OT399NOUm5tLLVu2pJ49e1L37t0pOzubrrrqKuKvvpnAS781sO2BFpUIs7777rupoKBAmN5ut9O1115LmzZtEk4jRWj1P3X3L7nJ1VTkfbtU/iYSR4sCsZCelan35Zig6+5lfzfefN0M2L17N51xxhk0YcIE2rp1qxtLVqwPP/yQOnXqRNOmTXOLM3TDRoRjc0C8/5oI7Ny5k6ZPny5C6kbDrejo0aPdwky78XUy3rEMzu5WnS48x7+SeZRlFO6Pm1k9IoN5Gy0KNA5CaCoqiKRECz0+tmrro6VPNG6+5pfr3HPPpRUrVvgtUllZGQ0bNozefPNNv3QykZbEbI3cUbJWKNmMGTOIFVoPsKXul19+0ZPUbxqLwAT2vybUk5lc5bEQvyMhh2hQIO63SJkqbxqYTc1zk70IE6sjTfBkvv/+++nXX3/1wt970IgRI2jtWrEX3jsHl9Bj3R9HyW8ugb4vFy9e7DtSIEZP6yXANiAJH5Vyg9yBzreAac2AjE0miAYF4q6b8KiyRrqV7r8VXR1vwLtmshXIAPz555/04osvSnHglui++4R9Xv3zdh5dcmSlf7pjsTKK7o3hV1995S04JGH33VKH0lKFX1Hu84V8LCRcupBIrGomfRB0ZdVg3yETbqpDPCnnDSxYPGcUpk6dii2abNJsPvnkE/rjjz+k01VJwEfSA3irKEdZvnbt74ctcEZg/fr1tG/fPiMsqqR1CG663zAniW6Sc/FhBQppKxTJCpQCYbxQRfp+AhrVSyLeKMQnmODF/PHHH/tkHyjCSNpK3vYjlZeOw/+tvPZ1oXf848pPxPztSh/w2n4oIImT4J6R7l4kznAf/5kIv9VHXFCCI1mBxqHGLWRq/cgdOf6XCVuEe4Jes+WvOc/36AWeJzIM2KzQCY7D3zovff7Xr+97zsVnIo+IwsJCjxCDt+yOJAi1sKvpHTf6+ShW5cMLLNOrBgcnJFIViC1uUoOGk05MpWsuCdB6S3z5vIlbZi7FW3oz5lUctuNdMkfxz/CN8+871rx5c29FkQrLypLylA7I21GxOyCNK8GYIbWIFUkQMNAlNiiEBCJVgdjjQKq54JWmPHnqDxwGvZiPHDneffKXj684419yu8dpDnac8vCZr+y08F69evmNF4ls0MC46b8yH80ZtqjyVuSCvbTHDpNuhYwPeAUKF4kK1A/lvkig7JUkF/TIoJ7deSogAGgKxL6K+iAjQ2pyr0omqak8H2wAtKNQoEQu4DjIYzLfdbroIilRunA+esktWO3aUi9vFR6uAaITwK5p+Hr0da7ruTxjq9zzJOB1VUKDEBBpCsStjpThgA+1fXKcj0lTT4HhXB4+w1MvsNu/EahTR3oXGrfsHGUb3e75ho9TdBQtqhLuDOjQoQOdddZZzlvp/379+HtmHmiHEetgx46mbFCQgPGgDfr7HfQMJCrMpA8AefwjDDzZVrnPgUAqR1mBAJV3kvT0dDrxxBO9RwqEsje0EXCUeDeD2/fN8Mt20iQc0RKof+uFA6cZNYq9ZMwDPupSLwzrn0VNGgjvndkK+VyqNy/RdJGkQO1RaP5qCAP3jSeOkfoq4Yu9WZi/N8KLL77YW7BQWO/evYXofBE5Sr17Mxw9g/UnX8no1FNPpXHjxvmM9xUxdOhQzUnWV7x0uKMM58X+Ip3MmYBdtMYPl2rF73KmDdZ/pCgQl+NVoJSbwL0j63g9Vc6fsBwl4i443viMHDkSR7gLfwUrWbAl67LLLqu8l79w4LAq30piL5zsl+WTTz5JAwcO9EvjGtm+fXuaPNk/T1d6keujhyyXipD6pBlyRZbL3hY+yZwR3XBxtvMmGP+RokAjULlTZSrIO1uOvp4tlpKAg6yMQJMmTYiVSBbuueceMmJE0JxHbft8ZusoWUOOQ1/6jE9ISKBZs2YRl8Nq9f/YTz/9dFq4cCFxl9VMsB/6zDA7HguNh7eJBAS1FQpg+JUopn5StpGuA0qZuGa/2KTqYjnBMiQ2xYtmYFMR9sbmdT+iDqK87OG7776jxESpBtatNvY9Lx89lNgt1OMGjrKJeZ8EPKRr9erV9NRTT9G8efPcFv+ddNJJ2seBu26scKYC9nGo2NQD+zkYmwrgMpWUOqhVr/W0Y/fxSeUAZe2IeGNdDx8ZRIICzUHZLvdRPq/BvF7km1lStgY3PtY643HitjEr57Zt27RVnr/99psbb8+bLl260BdffEFGLXC2zRfA/22rJ/sq99bMK7Ep/UNVwr0FVFRU0JYtW4hXoTZq1IjMnjB1zdO+/22y75rkGmTo+oWZe+jOx3eI8ngbhNeIEsvQ+W/LZTjpo+URuZTycO9Dx/kybqVzFC10u9dzwy/c8uXL6c477/TaNePu2l133UVLliwxrDw88BZRHq6H/cAcHFgc2EeOablF5HkeHu8EU3kI0wf2vf4thVweGRjeP1tmLDQAvBvL8BelDWcLVAOFZLNSI9HCMt0wCI7P2jQGOI0OXR1Lsv5WzDV/9lb++uuviZc6sOmXl3eff/75lJmZ6Uqm+9q2YzzGNwvE02Pv7MTcD6AhgvNj4px1UdoPfEj2nRN1pfWX6Lnpe2jck8Kt0DPgNd4fPz1x4VSgl1BgKZ+lLJxl+vtXrXwuV5ARgLXmYLLWvVsmSVhoueWxbb4Qebt7IAQqDB8nktD4Dax/Yqf2MILtIFXko/x+DCB6S3f4iJ1a9FxPhftsIiz2g4hboSIRYlGacHXheGpcSnm4Quxt7Wutj2iFnXT2gxhs4+FGOjj2vIYiyikP14nN9bYdbICST8vpzQJ74ZSgKA+Xrzr2Ox91nbAllj2Nh3A6MyEcClQNFZgmW4mOJ6RicVW2bDLf9PCLs++TLoZvfkGIcZSug7PoPN2ceaxn3/mo7vRGEzqKvsaYbLZRNn7T33pNLbddZ/0SH12xauo7b7KtMkDxj0Y/gT/ukwgDe6G8/3wTGTcOId7YshRHnMDbI8AuMULMgkBk3zEWvnvbDXF2lP6u7SNn1U66C12PnX30bH+PYmc9Q+UPlDg1xUr7Dtpo2ariQKQcz19gdoVYzzdmgKnaKFCgk0FzpwCdGwmv8zmtMzdcJoOjlGy7HjOZqTns7PvfNeT24loKB1ox2/bb0ZszPgfjytfnNZYs2P/GZLPB9Vc++XtE3I6TN5KThD8O0u+fR3Zut6FsgXg0Ox+Y41aCADe8SchHr+TKNNMBOHpEl+XDGtcMY+0WHhHhu2Wva/t2fs428wqBejqKviXtrKFgnnCHvRps24YKm93NqGBGdStt3VFOq9aWiLDLAxEGwKTfLd8ll1C2QPcg37YueQtdPnRbDtWrrX8GXyQT285HQvrA/ZaJx2asPGgdzQZWTFvBQLLvfwesfa8h0psvz1dVbB0MWRboZaE73QQ4mQbwUHLlbVorJNzuueau4/okpGFPSClNYMPBj3Oau20OryNvoSTcAiU0ebdy50+hRGYTYb8D298j4DSq3+VftEhs5rbWvQsbnXYQTeKbDspuL3weRpm3QBM+q9/gO7bSB/MP+C7n8RjeabIJ0HArFIouHCvNPKDUhCl/Tea8lEuN68t7PiMvecBeA2z6tfJJcAb3jpPPHClYef65F14Ei3Qll06EvRQcBz5CndegunXIop1YIfk9ZcU58AHM5ROg9Eu5EtLFMDNBMzgYv/6+b4dbl7z4vef5oMUuYbouJSWmKw/eHOQx2ZS8u+hLDxv1OJDNFbpT/WxKaPBvXIRwAtJRjpdwLMYo38kX2KwU8FqwZvQ9Okbic0ydGzh68kcXU1t/hPGUHUi2/Z4UYb3vff1m+m75YZEy7ABRLpBbI90QbAVqh5L9DEyWKWEOxjy/fdGSasLzIBxgSW1PCQ1fIEoQnqTTX0xYrGzb79BaP/1MzE6J5p9bpUTYexIhA95LAv5sjvJtMKvvMjszU/l9sfgQXXzTFlGeA0D4viixN7pgKhC//cuAbLqWghnPNCI+JyaskFifEuo9ji+ydPGFi81On7Z/7sdXfI9wGkUYWALtL/iL1m0UMsIsAbezAnP0TRHMT/w4ZDvEd9beY3h3Hd6iKuzAXRX2AkAXxZLWCV06qUbUf/Gxu45t1yMYeE/Glz1EczP+SxRTsanJVvrs20MideIu3FzgThFibzTBaoHaILP/AaUGEinJFlr1aQvCuabeyhq+MJyIYM0eRtaaV/seG4iUDhsK2ve9CTPyB1AcoS+kCFdF4yGB0jIHNYeT6c7CCo8Yr7evI/QmrzECgcFogXhuiSeq8gTydyO575a6dFlvc5YAuDE2esObYRQvx8v/NsYBW7BkIUWzXMF0FZgzvJAdh79HazOF7LufQIPD3xUTJ0gDlyDuKHirM161uuhHIWPCCRDQK0ChWVhPYQajBRqDTKZ4ZhTonlsdbn24FYoKsCTAUId54eQ86BGshVan4sOUayuEou0gwilyjrJNqA7CFIRUAnv226jp2evpSIldJF+eWEV/Wh7MfluboghrgNVlisLOol9Obyq2u6gMY0Ub1xIY+eB2mvr+XhEZbARRS6D0l467W2YBK+OrQCnl4czZWVRoa14mVqAkICiBUddmC1JScxCeI0rsSmemAg0B4/NcmYtc8677T90dAVY3kcIqmqiSQNuWqTIf5pv1VM4sBaqHzHX1IZ/EUfRmrTLVIwCVJrYlMPr62qIVvBSE/B5LgVkKxFYM5yhauAC8xueGK7OE6RWhkoCsBC7smUF5jYTm8NikeqMsfzMU6HJkytorBWxqfGli6H3dpAqpiKNeAmyguvUa4bHQMFRYSiekiL1IMwNhz3sJDxh0G04da9cqNSCdIlASMCqBG6/K1jYgEeDDVuRzBegqSYxOpD4FTtKGA16iwHscSCzDrSywulASkJUAzy1u2V5Ov6wVcptiKzJcRcTASAvUGVmMFsvGnerf99YX/SK4J1R3SgI6JTBykHA37mJkIWxM0KtA3HLxnI90+r5nZ8Bdp4ZOMahkSgL6JNChTSp171RNJHEiiK4VIWQaaQU4xngk/rseuxb+4y6b0X2thTOLEEJbhYW2bxOyAkVIiWO3GDdjkaYgDBWk06VAPOv5hGgGrnRjhtSmFrnx8zLt3JFMtw9rTmNubEHTXhLuFbiKTF2bKIGr+maKzjm2Rrani2Stx4jwHzCWbn3q10mk9+LIcGCHD+Njd+fS1i0p2nPYsD6NupxSRNm1hFzsRZ6dopGUAE+d8D7ay34R2oSRuc8LlIVsF+40MBwciKm3+CfgcZBeTTY7b5yiI2z5khq0aYO7mX76KznkkHZXDF19Dxfp+Z6Grnxm5DTkcuGJeyz+ovRAecq80Uz7QiCG3uJ58MYOo/EESxdVdcxYt7YafTlPuB8eEnHZbBZa9FVNGj+yGc18LSckeYYzkzbNU+jkDmkiRWDlYSXyCzIKdD04dfbLzUskzwRPvi/+nEU3e7Q+TtHMeDWHuDsXCbDpr1SaAMV56ZkGlL8xldqdJLQALRKKbqgMN+CgYkG4LhCdqAKx/e+xQMy8xV9xfiZ1bR8ZL4y38gUrzFd3qAJWuX891Jj+2R5eY8r8udl035imVJB/dIyWmOigTicXBUscEcX36n6ZxIcVC8BZoGnoj05UgcaCibTjGg/aHrsz9rsF3gScWdO3sWD/3kR6aFweFWw++vJ6Sx+sMFbgV/7dgN58uR7xtRO6dD9E6RnxsdQ8MyOBLjlXaC6SBTTAKSNv/yIKxP7gd3lLHChs6NVZ1DyOzNau8ujQ2X93aG9hIt1/e1P6YbHQg3Rlrfu6+LCVnrivCX37ZdXx6LkX7NfNNxoT9r+wqgx81GOQj3AtWESB7gOl9CpTPj3s/lF1/eUd03EDb9hFdXLK/dbxyBErTX68ET37WCPavZO96YMHrLAPjs2jNauqPspmLUvopK7x0X1zSvi809NFrcI87ud5Ia8QyG7J/b+ZQHZvkILxN9Wmi84J3ddVqnAhIE5OdlDrtkdo8dc1yW4/3lXylvU2zBUt+DSb9hYmUa06FVQz23f3z1v6QGFstJg4Ic/nuOvmO3ZQg0ZlgdjEVHxiooV++7OE1v5VKlIv3vlykTfCQAr0NBJ195bQXxhvyfvulMYYqIk0cP44RXdcdu0Kqg2F+OkHXvXhHxxQsk1/pdHXn2fRz8syqLTUSnXRgqWmCe0q45U5zzl9CcWc8mQj8mXU4Jan//W7vaaP9UA+UX32FwdEqskD+Ze8Efr7NLLteRPQfTbQGxePsAdH16UH4rj75iEOmvV6Ds2bXcszOOA9TwF06FxEZ55zgE4+7RBVqy6uTDv+TqY34D70v5W+5wKTUxz0zCsbqX6ctT5OwfOWVzmnrBPd+qoF0vHuPW7grwV6GJRsxpMC9jaY9WxjqpYa362Pq9DYoMAvdEG+9LeI2J9uxQ816POPa9HGP9Oo+HACVU+3A23Y4NE1FxwzUGbBGCed3p9Zh15/voGWpzuF+92Nt/6DsY9/Y4d7iti6S0I3buWaI7R+s1A3bjNqv9xTAr7GNjxdPsKTWOR+OE7S5p12FByXAL/ot47frnWjVv3ku0U4nqLqFSsHdwWd3UHu2jVoWEZp1W04gIyocFcS7fonyc00XZXL8ZDuZx6k8/rtOx4Qp1e9z0yneQsPitT+YhBN8ST0+IZVRrPZelLlneAFz/us/6aV6adpC2Yf8WSsBGxxW7k88JgomJVhq9sjz+ZTSop4lzCY5Qkn7/xtZdSy158iRWDLTh2gm73fWz+LW6VbRTh60lzZt4ZSHk+huNwnwTI39sFtxF//cEGTvFK69/ECpTzHHgDv2CM4V8l60cfzuXlToEtB1NiTUOR+xCD5gbII31iiYZeZO+/fRpf2Lwx5tZo0LaWHns4nf14SIS9UBGTY+wzhbnU/z+J6U6CbPYlE7nkXyNO7CC2ZFWEX0zQ8Jho8dBeNuftvQ2ZqGSGdcsZBemzKZqqRGR/uOjKyOReTqoLQ05PO04iQC4JenkQi9zcNEPZwFWEXFzRnwDzdss0RzNM0DJqHNpuqB9+4k/peureK1S4uhCxQydM6Vxeg0kjYsaAFcIMzgWcLNAQRvgwLzjRV/tkceHU/Yd+iKunjOSCnQRk9/txmGn7bDs00baYsOncromdf3UgXXKaUx59ceWtpiUPd3FohT3vzq8iInUeloM9ZGTT0KtUCSQnNhZi7dM1blVCvvvuJDQ0Fm1OprMzz2+aSIMAlr+u5ZewOunxQYdx4WAcQScBo3jNu9bqSgHQg4PXgHzoJXVub9gj81Rkh8z8ThwIPDPehwDIFjnDaEjiZrliaQUu+zdScP3nVaCBgx1Ue5/Q47wDlNhN6EQKxjKt4PkeIzxMSgJ2gqeekc30yjyLwfmeE6D/P/exY3iZsR9KLljNa6cpK4SO3IY02/ZlK+7CO6OCBRLLDDlAN3ggZWL/TBMrSrEUJ1a7r3/M7WusfqnL/DqfSjhf+JZpdGxCuZ2JXI8KFoqld6c7oWk0pj6tATL5mI0CbtsUamsxasXORQOtmydpW02Xl8MANDF1BoimQs6PNC3dOCpyuKsUFPcI7q161RCpESUBeAgnoSZ3QQniFMCuQBk4Fkt4g3sng7FOETYDOJOpfSSAiJdC2Rapoubo5CZ0KdI4zQOafPa87Ys9hBUoCsSCBdq2FWyDurWkWbKcCnaJHALy/Fjd9CpQEYkECJ4q3QOxyw4YEbW9s9mM4gW9koeMJ8bddlayMFH30SKBlntRWY124ZtwCdTr2z/dSwEdGKFASiBUJ8MFvElDZArWSSORG2rqpcJ/RLZ26URKIRAmkYRW1xInxrbkO3AJpmqSnQrkNpTRWTxYqjZJASCXQuIFwN05reFiB2LtUGvjcyZzarvOw0ixUAiWBiJNAbgPhRqElCm9lBaqvpxbZmZ5+qHq4qDRKApElgVrwzBYEHr80YQXStYy0BvYXVqAkEGsS4H2zJaAlKxBvGicNgrvbS/NVCZQEwimBzHQpBWrACqSc2cL5xFTeESWBzAxWCWGoL0UtzFYRKglEqQQy5FqgeroVKJLP+ozSZ6eKHX0S0K9Ae3DasQIlgTiXgNaF07U58p795h7BEecPQlU/OiVQi7twurbJLCl10MEitTVsdD53VWqTJJDOCiR0QIq3DDduKfUWrMKUBKJWAna70JJuZ/1wDiPRVued7P/6zfF1qpmsfBR99ElAcmyvHSGXr7ea6zaqFkiv7FS6yJTAnv1SxjFt1ihfb1VW/Mp7zClQEogdCUgaxzRn0nV6q//j/4pJzQfplZ5KF4kSKNwr1QJp64F+0VsRtsKt/UvtgqlXfipd5Elgy3a5cT0bEfKBus/6W/B9UeRJQZVISUCHBLg39Ve+lAIdYgViWHn0T/53/qJD8olUCiWBCJRAwY5yKj4iNbdpdyrQd3rrs+yXYtp7QK7fqDcvlU5JIJgS0GFVLnYq0Nd6C1Zhc9Ds+brnYvVmq9IpCZgugTXrpcfzh50KxIYE3eOgtz7Zb3plFEMlgVBLYPkq6WmZPU4F4o7fAr0F5ow3bpEafOnNSqVTEgiKBNiAsPRnab/qQqcCcaHeNVKyl9/eYyS5SqskEFYJ8Al1hfJLdLa5KtBXqIEuz2yu+fQ5+6ioWMqCEVaBqcyVBFwl8OlCXdbkAlcFYse2T1yZylzzpOoMKJECJYFolMCHC3QZwja7KhDX+w0jlX/2jUIqr5ByBzeSnUqrJGCKBFah+7Z+ky7H6HWeCrQYJfpTb6kKtpfT9A9VK6RXfipdeCQwbbaud5ZbivWeCsSB/zFSjUmv7latkBEBqrQhlQA7AbytbxqGG5rKiVTXQs/AzRHXAJlrboX+885emSSKVkkgbBJ4adYevcavn7nQni0Qh/Hb/zpf6IVHX9il3Hv0Ck+lC5kEePHcc9N1T78s44J6UyAO/zewnC/0wL6DNnr4uZ16kqo0SgIhkwC/owcO6fbjXMQF9aVABYh7hwn0wuvv7VNrhfQKT6ULugRWrD5Cr72ne6ixCwVcy4X0pUAcNwmoWz3ZyXTEA9vVilWWpIKIksBhLFm4bvxWsuuf95+PCmnzNf62oi8EUWNgZ7213/ZPOdWqmUDdOvKhxgqUBCJDAjfetY2W/CTtOOpa+Im4WccBgc6obwCajUDdpwlnVLfS6s9bkuQBrlw2BUoCpkvg0Rd30SMwchkAdlngI4G0mVd/XTjOYzvwOb7QC4cO22n4vX/rTa7SKQmYJoHJ8JQxqDxcltnASrcFf104Z8F5ufdQYHVngOz/5q1llIUjIU9RXTlZ0Sl6kyQw8fld9MBkUyzDN6NI3LBoEKgL56S7ERfTnDd6/vlEuxUftaATWqToSa7SKAnokoDWA7pnG835UvdCA9d8V+DmFNeAQF04J+2buFjuvNHzz5vRXzN2K5WWacYLPSxUGiUBKQl8v+Iwdb54g1nKw3k/6VkAUQXit/4WoG6zNmf867oSGvVwZevHQQqUBEyXwJESO419Ygedd/1myt9WZhb/1WD0iSczkTGQM80/uMgCdncG6Pn/3x8lmkWu04lpepKrNEoCfiXAu+X2vTGfvlhcZPYc5BBkvMEzc9ExkDMdT+iwJrZwBuj5T0m20JfTm9LpXZidAiUB4xLgIcLDz++kKW/uIRsm8U2Gz8DvIm88ZRWIeZwJXAzUk5bTa8ATrEveb0Yt85RRwSkT9a9PAl//t4hGTdxOmwpM6665FoTXercDFrgGOq9Fx0BOev5fAnzFNUDPNXvC9hu2Rc9GDnqyU2liUAL/FFbQ4Du20gVD84OlPCy124BelYcj9bYi6Uj7P2BzZmIE2rVKpa9nNqXaWTLDMSM5qrTRLgHegorXnPG8jgFvahExzADREH+EehWIeXYDLgUm8o0RYCX67u2mVLOGUiIjcoyHtD9gK+k7HttBvA1VkIHf7XOBJf7yMaJAzHcC8F/+MhCNYyVa8GYe5dQ2rI+iWSq6KJIAm6PveXon6dw9R7amvyFBD2DA1XZGFYjTfwy8BGgYmucm0xfT8qhp42TDvBSD2JAAb5c26T+76fkZhaGahF8DyfUC7haRoFEF4jwygezi0IpvjEL9Oon00Su51LW9micyKstoTs/bo019fx899tIu2rWnIlRVWYCMBgAPiGZohgJxXq2By4A80WoY0lKt9PoTDal/P9ZNBfEkAZ7Dmfnxfk1xeIOaEAEvrWM3nYeAUt42Zo3aua/4E3AQ0DDPCnx9Pv7qIB0pcVCPU6qT1WqWnqN0CiJSAmxZe/ez/dT/tq0086P9sK7pXy4qWcH1oL8cOB0oPQNr9pvZH4V4D2gasLfC25MbU8OcJNN4KkaRIwFucT7A+VJPYpzzx4bKZTahKCDPuk4CPgHUnbHZCsQVHwV8gS/MAp4jenFiQ7ri/BpmsVR8wiwBdr3hAwmemVpIW/4OigeBvxouQeTNwD/8EYnEBUOBON+7gdynNBUGXVSTJj9Qn7KxOE9BdEqAJz5ffmsvvTBzD+3eGzLjgFNYfBIcT71MBUp315xMXP+DpUCcR1CUqB7miZ66ux4NhDIpiB4JcPeMz5B6a+5+vTuBGqksK8sMIL+TpixLdRYmmArEebAf0XPOzMz8Z+PCCw81oDbNU8xkq3iZKAEe33z23SF6Ea3NYixuY0NBGGAZ8hwDZCOX6RBsBeICDwG+BjTdCpCYYKGhV2fR/aPqErdMCiJDAn/vLNcsaVM/2EshNEV7Vv5vBHB37V1g0FQ3FArEFesDnA1kJ1TTIb2alW6/oTawFmVmqPGR6QIWYMhL9T/55qB2yNo3PxQZ2bRQIDe/JCWIfRrILmbSh5765ewlMlQKxFl3BM4DNuGbYECNdCuNGFSL7hxaW9vQMRh5KJ7uEuAtcmfN3UfvfXaA9mNP9DACZz4NOBEYsn0DQqlALNscILdEZ/JNsKB6mpUGX1qTRl1TS+0CFAQhs9KwU+ccYBi7aM6acffsfeADwA3OwFD9h1qBuF48WHkKeAffBBMsqN25p6fT8P7ZdOE5GZSUGI7qBrOGoeHNg3/ea+AjeIdEiNI4Kz4fF/cDVzkDQv0fzjfqUlT2DaAp/nOBBFcnO5EGXZxJ11+eRe1bpwYij/t43k/tKyyVnv/dQW2DjjDM2fh7Bl8iciKQLWxhhXAqEFe8EXAWsAcwZNC6WQpd2SeTruxbg3gdkgJ4UMLk/CO6ZgthAPhmaRFxN41P2Igg4MLMBT4KDFuL4ymPcCsQl4fLMBrIfkkhX8OQ2yCJ+pydQRf0yKCe3asTe4LHA7ArzYrVxbT052L678rDxCs9i4pD5sApI2I2DrAp+kng7zIJQ0EbCQrkrGdzXLwK7OUMCPV/cpKFTu6QRmdjkvask6trx7Lw6RLRDnwODh/j/tOvxfTTmiO0EsibXJaVR1QL4ynmIgS8CeSJ+I2ekZFyH0kKxDLh8lwDZBt+fWBYwQrdadU0hbpBqTq3TdPGTm3R5eMtuSIReLBfsKOc/tpcSn9sLKXVUJLf1pfQ73Cj4d06owQ2o5zsjDwNaMqG1sGsd6QpkLOuPOHKfktjgRE3SGGvh1YYRzVvkkzNsPy8Gf6b1E+i+nUTgUnELVkwgCcrd2IrJ16hyebjrVCWgu1l2vWGLWW0YUspcdcsSmERyj0F+CkwarQ9OE8aEjAJmoAPt0YDTOIXEjbcQmXXTMSRLlbKwk5DfJ0EpeKJXnY/4n9P4Be/pNSOgTtpY5GiwzZtURl7L/PiMlaaIG/h5FmkUNzzQsy3gHwqvHbmaCgyjcc8OqHSbIHhz6vC6JYBty7fAPmjmAJUEEIJKEWKXuXJx3vCJuhmIXxfVFY+JMCKNBPIS3FVixS5MtiJ58MGgVOBkT5cQBHjD+qiyuzKsQ2oFCkyZHAAz4ItaOcBI9NciYIpcJcA+9ddDfwKiGG4UqYQy2AL8nseeC7Q9HVf4KkghBJogLzY/P0/oGqVgieDlZDvg0BephK3EOv90rZ4soOAFwHbx+1TNqfi3Mqw9Wzhsf/d5rCNbi6xrkCuTycPN6xIFwPPBqquBoTgB3YgbinwW+DXwA1ABR4SiCcFcq06bzB3OpAVqQewKzCeB7w8buQu7w/AZUBWnAKgggASiFcF8hQLuw6dATwT2BnIZnJePRuLUIxKrQGuBrLSOP85XIGkBJQC+RZYQ0R1OYbt8N8CyCdQRJxvHsrkDfYicB2Qu16MvAsnKw5fc4ujwAQJKAWSEyLLi/3zWJnaABsDWdHYc5z/GTOAwYYSZMAbZzBuO4bO+024ZyXZB1QQZAkoBTJfwDyWYgMF/ye6IN9bgQx87U32doQzMlQA2QzP/4zlLtdOGgQpCKcE/g8C4WERZygPTwAAAABJRU5ErkJggg=="}))};n.displayName="FlagLogoCBeebies"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoOwnIt=void 0;var o=l(4),r=a(o),n=t.FlagLogoOwnIt=function(){return r.default.createElement("svg",{id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 83 12",width:"83"},r.default.createElement("g",{id:"flag-logo-ownit-image"},r.default.createElement("g",{id:"Notable---Own-it",transform:"translate(5 8)",fill:"#FFFFFF"},r.default.createElement("g",{id:"Group-3"},r.default.createElement("polygon",{id:"Fill-1",className:"st0",points:"-5,-8 -1.7,-2.4 -1.7,-2.4 -5,3.2 -5,3.2 -0.7,3.2 -0.7,3.2 2.6,-2.4 2.6,-2.4 -0.7,-8"}),r.default.createElement("polygon",{id:"Fill-2",className:"st0",points:"2.6,-8 5.9,-2.4 5.9,-2.4 2.6,3.2 2.6,3.2 7,3.2 7,3.2 10.3,-2.4 10.3,-2.4 7,-8"})),r.default.createElement("g",{id:"Group-11",transform:"translate(30 2)"},r.default.createElement("g",{id:"Group-10"},r.default.createElement("polygon",{id:"Fill-1_1_",className:"st0",points:"34.1,-10 34.1,-6.1 36.4,-6.1 36.4,-7.4 37.8,-7.4 37.8,1.4 40.1,1.4 40.1,-7.4 41.4,-7.4 41.4,-6.1 43.7,-6.1 43.7,-10"}),r.default.createElement("polygon",{id:"Fill-6",className:"st0",points:"30.6,1.4 33.2,1.4 33.2,-10 30.6,-10"}),r.default.createElement("polygon",{id:"Fill-2_1_",className:"st0",points:"16.6,1.4 19.1,1.4 19.1,-4.6 23.7,-0.9 23.7,1.4 26.2,1.4 26.2,-9.8 23.7,-9.8 23.7,-4.3 16.6,-10"}),r.default.createElement("polygon",{id:"Fill-8",className:"st0",points:"11.5,-10 12.9,-5.5 11.4,-1.1 9.2,-1.1 10.7,-5.5 9.2,-10 6.7,-10 8.2,-5.5 6.7,-1.1 4.5,-1.1 6,-5.5 4.5,-10 2,-10 3.5,-5.5 2,-1.1 2.8,1.4 13,1.4 15.4,-5.5 13.9,-10"}),r.default.createElement("path",{id:"Fill-3",className:"st0",d:"M-4.8-5.6c-0.7,0-1.3,0.6-1.3,1.3S-5.5-3-4.8-3s1.3-0.6,1.3-1.3S-4.1-5.6-4.8-5.6 M-4.8-1.2 c-1.7,0-3.1-1.4-3.1-3.1s1.3-3.1,3.1-3.1S-1.7-6-1.7-4.3S-3.1-1.2-4.8-1.2 M-4.8-10c-3.2,0-5.7,2.6-5.7,5.7s2.6,5.7,5.7,5.7 s5.7-2.6,5.7-5.7S-1.7-10-4.8-10"}))))))};n.displayName="FlagLogoOwnIt"},function(e,t,l){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FlagLogoNewsround=void 0;var o=l(4),r=a(o),n=t.FlagLogoNewsround=function(){return r.default.createElement("svg",{height:"12",viewBox:"6 10 20 13",xmlns:"http://www.w3.org/2000/svg"},r.default.createElement("g",{id:"flag-logo-newsround-image",fill:"#FFF",fillRule:"evenodd"},r.default.createElement("path",{d:"M6.55377778,23 L8.97644444,23 C9.26044444,23 9.55555556,22.73025 9.55555556,22.4706562 L9.55555556,14.3180312 C9.55555556,13.1634687 9.72444444,12.4375 11.2195556,12.4375 L12.8177778,12.4375 C14.3128889,12.4375 14.4444444,13.1634687 14.4444444,14.3180312 L14.4444444,22.4706562 C14.4444444,22.73025 14.7768889,23 15.0604444,23 L17.4835556,23 C17.7666667,23 18,22.73025 18,22.4706562 L18,14.3180312 C18,11.4669688 16.1688889,10 12.8177778,10 L11.2195556,10 C7.86844444,10 6,11.4669688 6,14.3180312 L6,22.4706562 C6,22.73025 6.26977778,23 6.55377778,23",id:"Fill-11"}),r.default.createElement("path",{d:"M19.58,23 L21.0824999,23 C21.4004999,23 21.4999999,22.8939342 21.4999999,22.6585496 L21.4999999,12.0507421 C22.4999999,11.8618634 23.4894998,11.8149496 25.4544997,11.8149496 C26.0034997,11.8149496 25.9999997,11.6970534 25.9999997,11.4376 L25.9999997,10.3532808 C25.9999997,10.0232529 25.8814997,10 25.5059997,10 C23.1079998,10 21.1404999,10.0705746 19.4935,10.6596479 C19.1755,10.7775442 19,10.9427621 19,11.2022155 L19,22.6585496 C19,22.9180029 19.2915,23 19.58,23",id:"Fill-12"})))};n.displayName="FlagLogoNewsround"}]);; });</script> <script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-comments-view@3.3.1"]={"babel-runtime":"6.26.0","bbc-morph-classnames":"1.0.2","bbc-morph-comments-data":"3.1.0","bbc-morph-id-availability-data":"2.1.0","bbc-morph-moment-without-locales":"1.0.0","bbc-morph-gel-icons":"4.0.0","gel-sass-tools":"1.2.1","gel-typography":"2.0.5","lodash.merge":"4.4.0","lodash.pick":"4.4.0","lodash.pickby":"4.4.0","lodash.throttle":"4.1.1","morph-aggregator":"1.0.13","morph-container":"2.1.16","morph-require":"3.0.17",react:"0.14.7","react-dom":"0.14.7","react-textarea-autosize":"3.3.1","react-transition-group":"1.1.1","react-visibility-sensor":"3.8.0","sass-mq":"3.3.2","whatwg-fetch":"2.0.4"},function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-comments-view@3.3.1/messages-childrens"]=r(1)},function(e,t,r){e.exports=r(2)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(3),i=n(o),u=r(42),a=n(u);t.default=(0,i.default)({},a.default,{signedInMessage:"Hey",moduleTitleText:"Your Comments",postCommentButtonText:"Post comment",postCommentSuccessPremoderated:"Thank you. Your comment has been received and will be looked at by the BBC moderation team as quickly as possible."}),e.exports=t.default},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(4),i=n(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t,r){e.exports={default:r(5),__esModule:!0}},function(e,t,r){r(6),e.exports=r(9).Object.assign},function(e,t,r){var n=r(7);n(n.S+n.F,"Object",{assign:r(23)})},function(e,t,r){var n=r(8),o=r(9),i=r(10),u=r(12),a=r(22),s="prototype",c=function(e,t,r){var l,f,p,m=e&c.F,d=e&c.G,h=e&c.S,y=e&c.P,v=e&c.B,b=e&c.W,g=d?o:o[t]||(o[t]={}),x=g[s],w=d?n:h?n[t]:(n[t]||{})[s];d&&(r=t);for(l in r)f=!m&&w&&void 0!==w[l],f&&a(g,l)||(p=f?w[l]:r[l],g[l]=d&&"function"!=typeof w[l]?r[l]:v&&f?i(p,n):b&&w[l]==p?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[s]=e[s],t}(p):y&&"function"==typeof p?i(Function.call,p):p,y&&((g.virtual||(g.virtual={}))[l]=p,e&c.R&&x&&!x[l]&&u(x,l,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(11);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){var n=r(13),o=r(21);e.exports=r(17)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(14),o=r(16),i=r(20),u=Object.defineProperty;t.f=r(17)?Object.defineProperty:function(e,t,r){if(n(e),t=i(t,!0),n(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){var n=r(15);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){e.exports=!r(17)&&!r(18)(function(){return 7!=Object.defineProperty(r(19)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=!r(18)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(15),o=r(8).document,i=n(o)&&n(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,r){var n=r(15);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){"use strict";var n=r(17),o=r(24),i=r(39),u=r(40),a=r(41),s=r(27),c=Object.assign;e.exports=!c||r(18)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=a(e),c=arguments.length,l=1,f=i.f,p=u.f;c>l;)for(var m,d=s(arguments[l++]),h=f?o(d).concat(f(d)):o(d),y=h.length,v=0;y>v;)m=h[v++],n&&!p.call(d,m)||(r[m]=d[m]);return r}:c},function(e,t,r){var n=r(25),o=r(38);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t,r){var n=r(22),o=r(26),i=r(30)(!1),u=r(34)("IE_PROTO");e.exports=function(e,t){var r,a=o(e),s=0,c=[];for(r in a)r!=u&&n(a,r)&&c.push(r);for(;t.length>s;)n(a,r=t[s++])&&(~i(c,r)||c.push(r));return c}},function(e,t,r){var n=r(27),o=r(29);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(28);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(26),o=r(31),i=r(33);e.exports=function(e){return function(t,r,u){var a,s=n(t),c=o(s.length),l=i(u,c);if(e&&r!=r){for(;c>l;)if(a=s[l++],a!=a)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===r)return e||l||0;return!e&&-1}}},function(e,t,r){var n=r(32),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(32),o=Math.max,i=Math.min;e.exports=function(e,t){return e=n(e),e<0?o(e+t,0):i(e,t)}},function(e,t,r){var n=r(35)("keys"),o=r(37);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(9),o=r(8),i="__core-js_shared__",u=o[i]||(o[i]={});(e.exports=function(e,t){return u[e]||(u[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(36)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(29);e.exports=function(e){return Object(n(e))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={removedComment:'This comment was removed because it broke the rules. <a href="{{rulesUrl}}">Explain</a>',referredComment:'This comment is being double-checked by a moderator. <a href="{{rulesUrl}}">Explain</a>',genericError:"Sorry, there was a problem. Please try again later.",postingEmptyCommentNotAllowed:"You need to write your comment before you post it.",postCommentIdctaError:"Sorry, there was a problem. Please refresh your browser and try again.",postCommentSuccessDefault:"Thanks, your comment has been posted.",postCommentSuccessPremoderated:"Thanks! We will check this as quickly as possible before posting.",profanityFoundInText:"A profanity has been found in the text. Please remove it to post your comment.",postingToClosedForumNotAllowed:"Sorry, this entry is now closed for comments.",defaultCommentsTitle:"Join the conversation",moduleTitleText:"Comments",signInPrompt:"Sign in to comment, reply and rate",signedInMessage:"You’re signed in",ineligibleToComment:"Sorry, it looks like you’re not the right age to use comments.",likeComment:"Like comment number {{commentNumber}}",commentLiked:"You have liked comment number {{commentNumber}}",sendingLike:"Sending like",ratingsCount:"Number of likes {{likeCount}}",postCommentButtonText:"Post",clearCommentButtonText:"Clear your comment and cancel",clearCommentMessage:"Your comment has been cleared",atCharacterLimitMessage:"You have reached the character limit",overCharacterLimitMessage:"You've written {{excessCharacters}} too many characters!",underCharacterLimitMessage:"You have {{remainingCharacters}} characters remaining",replyTo:"Reply to",replyComment:"Reply comment",closeReply:"Close reply",moreReplies:"More replies ({{nMoreReplies}})",displayMoreReplies:"More Replies, {{nMoreReplies}}",moreRepliesDisplayed:"More replies have been displayed.",hideReplies:"Hide replies",repliesHidden:"Replies Hidden",replyingTo:"Replying to {{replyToName}}: ",whoPosted:"Who posted: ",toWho:"to {{replyToName}}",whoReplied:"{{replyOfName}} replied: ",readWhoComment:"Read {{replyToName}} comment"},e.exports=t.default}]);; });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-comments-data/apiKey/1aa590aa-06ec-4ced-86a5-e9d01abb243c/forumId/__CBBC__comments__cbbc_picture_maker/pageSize/40/version/3.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"title":"cbbc-picture-maker comments","idcta":{"policy":"u16comment"},"moderation":{"rulesPageUrl":"\/cbbc\/findoutmore\/rules","status":"pre-moderated"},"comments":[{"id":135290660,"index":1245,"dateCreated":"2019-06-30T11:27:41.967Z","author":{"userId":17049041,"displayName":"littlelilylion","isNotable":false},"text":"team pig always","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135290660"},"status":"pass"},{"id":135290335,"index":1244,"dateCreated":"2019-06-30T08:22:39.42Z","author":{"userId":17674983,"displayName":"Jessica","isNotable":false},"text":"always team unicorn!<br>","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135290335"},"status":"pass"},{"id":135289082,"index":1243,"dateCreated":"2019-06-29T18:20:54.107Z","author":{"userId":17674983,"displayName":"Jessica","isNotable":false},"text":"love this game<br>","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135289082"},"status":"pass"},{"id":135288747,"index":1242,"dateCreated":"2019-06-29T17:27:07.02Z","author":{"userId":17011742,"displayName":"BigFurryElephant","isNotable":false},"text":"Some of these pictures are incredible also team pig all the way!","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135288747"},"status":"pass"},{"id":135288643,"index":1241,"dateCreated":"2019-06-29T17:08:55.06Z","author":{"userId":17718041,"displayName":"Spr1nkles9","isNotable":false},"text":"#Pig all the way","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135288643"},"status":"pass"},{"id":135288334,"index":1240,"dateCreated":"2019-06-29T16:21:06.423Z","author":{"userId":17615308,"displayName":"unimermaid123","isNotable":false},"text":"Team pig","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135288334"},"status":"pass"},{"id":135288062,"index":1239,"dateCreated":"2019-06-29T15:30:04.99Z","author":{"userId":17195268,"displayName":"unicorncbbcfan20","isNotable":false},"text":"dear cbbc,i did a picture and i would be delighted to show it to everone love Hannah.","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135288062"},"status":"pass"},{"id":135286596,"index":1238,"dateCreated":"2019-06-29T10:48:01.473Z","author":{"userId":17733449,"displayName":"Daniboomzoom","isNotable":false},"text":"best game ever","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135286596"},"status":"pass"},{"id":135286572,"index":1237,"dateCreated":"2019-06-29T10:45:44.163Z","author":{"userId":17733449,"displayName":"Daniboomzoom","isNotable":false},"text":"I like pigs they are cute but I like unicorns too I am team unicorn it is such hard choice","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135286572"},"status":"pass"},{"id":135282047,"index":1236,"dateCreated":"2019-06-28T15:44:22.98Z","author":{"userId":17733026,"displayName":"U17733026","isNotable":false},"text":"Both","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135282047"},"status":"pass"},{"id":135272245,"index":1235,"dateCreated":"2019-06-27T17:25:00.38Z","author":{"userId":17593793,"displayName":"Lucy","isNotable":false},"text":"I cant decide which team guys! I love unicorns but pigs are so cool too. I think I'm on team Pigcorn!","rating":{"positive":3,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135272245"},"status":"pass"},{"id":135270134,"index":1234,"dateCreated":"2019-06-27T16:02:02.097Z","author":{"userId":17728236,"displayName":"U17728236","isNotable":false},"text":"Pig","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135270134"},"status":"pass"},{"id":135263850,"index":1233,"dateCreated":"2019-06-27T09:44:03.39Z","author":{"userId":17523460,"displayName":"Catthekitten789j","isNotable":false},"text":"Unicorns are amazing but I'm team pig because they move.","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135263850"},"status":"pass"},{"id":135258284,"index":1232,"dateCreated":"2019-06-26T17:15:57.29Z","author":{"userId":17674293,"displayName":"jedi","isNotable":false},"text":"I'm team unicorn ","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135258284"},"status":"pass"},{"id":135256447,"index":1231,"dateCreated":"2019-06-26T15:17:15.053Z","author":{"userId":17725892,"displayName":"csw11","isNotable":false},"text":"Team unicorn🦄","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135256447"},"status":"pass"},{"id":135243854,"index":1230,"dateCreated":"2019-06-25T16:43:51.467Z","author":{"userId":17615308,"displayName":"unimermaid123","isNotable":false},"text":"I am unimermaid123 and I am obsessed with the worst witch 🧙🏼‍♀️","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135243854"},"status":"pass"},{"id":135238885,"index":1229,"dateCreated":"2019-06-25T11:24:07.75Z","author":{"userId":17729163,"displayName":"U17729163","isNotable":false},"text":"Love the new stickers ","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135238885"},"status":"pass"},{"id":135238848,"index":1228,"dateCreated":"2019-06-25T11:21:02.797Z","author":{"userId":17729163,"displayName":"U17729163","isNotable":false},"text":"CBBC rocks and gym starts 🤸🏼‍♀️🤸🏼‍♀️🤸🏼‍♀️","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135238848"},"status":"pass"},{"id":135238847,"index":1227,"dateCreated":"2019-06-25T11:18:23.633Z","author":{"userId":17729163,"displayName":"U17729163","isNotable":false},"text":"Team unicorn 🦄🦄🦄👍🏻","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135238847"},"status":"pass"},{"id":135232976,"index":1226,"dateCreated":"2019-06-24T17:24:57.233Z","author":{"userId":17513025,"displayName":"U17513025","isNotable":false},"text":"Team uni","rating":{"positive":2,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135232976"},"status":"pass"},{"id":135229639,"index":1225,"dateCreated":"2019-06-24T14:06:28.64Z","author":{"userId":17537685,"displayName":"U17537685","isNotable":false},"text":"Team Unicorn","rating":{"positive":2,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135229639"},"status":"pass"},{"id":135220277,"index":1224,"dateCreated":"2019-06-23T17:50:50.673Z","author":{"userId":17726563,"displayName":"U17726563","isNotable":false},"text":"Would be so much better if you could zoom ","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135220277"},"status":"pass"},{"id":135220247,"index":1223,"dateCreated":"2019-06-23T17:42:01.47Z","author":{"userId":17626151,"displayName":"CrazyBookPerson1","isNotable":false},"text":"team unicorn!!!","rating":{"positive":4,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135220247"},"status":"pass"},{"id":135219943,"index":1222,"dateCreated":"2019-06-23T15:27:34.373Z","author":{"userId":17726557,"displayName":"U17726557","isNotable":false},"text":"ya nice<br>","rating":{"positive":2,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135219943"},"status":"pass"},{"id":135219384,"index":1221,"dateCreated":"2019-06-23T09:50:37.56Z","author":{"userId":17520449,"displayName":"polarbear the penguin","isNotable":false},"text":"team unicorn 4 ever 🐴<br>","rating":{"positive":3,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135219384"},"status":"pass"},{"id":135219322,"index":1220,"dateCreated":"2019-06-23T09:24:21.183Z","author":{"userId":17674293,"displayName":"jedi","isNotable":false},"text":"Cool game ","rating":{"positive":2,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135219322"},"status":"pass"},{"id":135219302,"index":1219,"dateCreated":"2019-06-23T09:12:08.893Z","author":{"userId":17726390,"displayName":"U17726390","isNotable":false},"text":"team pig 100%","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135219302"},"status":"pass"},{"id":135219164,"index":1218,"dateCreated":"2019-06-23T08:06:43.227Z","author":{"userId":17644625,"displayName":"izzy","isNotable":false},"text":"I'm team pig! I 💓 pigs","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135219164"},"status":"pass"},{"id":135218116,"index":1217,"dateCreated":"2019-06-22T18:52:59.343Z","author":{"userId":17035908,"displayName":"Saz222","isNotable":false},"text":"Team Pig! Love all of the new stickers!","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135218116"},"status":"pass"},{"id":135218062,"index":1216,"dateCreated":"2019-06-22T18:42:17.987Z","author":{"userId":17721777,"displayName":"U17721777","isNotable":false},"text":"Team unicorn!<br>Also a brillant game!<br>","rating":{"positive":2,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135218062"},"status":"pass"},{"id":135217083,"index":1215,"dateCreated":"2019-06-22T14:29:01.353Z","author":{"userId":17651643,"displayName":"Dimondflower7896","isNotable":false},"text":"This post has been removed.","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135217083"},"status":"fail"},{"id":135217056,"index":1214,"dateCreated":"2019-06-22T14:22:13.1Z","author":{"userId":17651643,"displayName":"Dimondflower7896","isNotable":false},"text":"Cool game!😀 And by the way, I'm team unicorn 🦄","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135217056"},"status":"pass"},{"id":135216663,"index":1213,"dateCreated":"2019-06-22T11:58:46.69Z","author":{"userId":17620477,"displayName":"Princess","isNotable":false},"text":"hi guys<br>","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135216663"},"status":"pass"},{"id":135212054,"index":1212,"dateCreated":"2019-06-21T16:11:20.957Z","author":{"userId":17725333,"displayName":"U17725333","isNotable":false},"text":"I am teams unicorn","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135212054"},"status":"pass"},{"id":135211608,"index":1211,"dateCreated":"2019-06-21T15:09:36.92Z","author":{"userId":17674293,"displayName":"jedi","isNotable":false},"text":"Team unicorn ","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135211608"},"status":"pass"},{"id":135203356,"index":1210,"dateCreated":"2019-06-20T17:45:11.54Z","author":{"userId":17674279,"displayName":"Person24","isNotable":false},"text":"Loll super cool","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135203356"},"status":"pass"},{"id":135189135,"index":1209,"dateCreated":"2019-06-19T18:44:30.37Z","author":{"userId":17644071,"displayName":"Hufflepuffanddoggylover","isNotable":false},"text":"team pig","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135189135"},"status":"pass"},{"id":135188987,"index":1208,"dateCreated":"2019-06-19T18:30:05.3Z","author":{"userId":17644071,"displayName":"Hufflepuffanddoggylover","isNotable":false},"text":"all of these pictures are so creative","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135188987"},"status":"pass"},{"id":135178456,"index":1207,"dateCreated":"2019-06-18T18:45:46.397Z","author":{"userId":17721483,"displayName":"U17721483","isNotable":false},"text":"Please can I be team cat?<br>:P","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135178456"},"status":"pass"},{"id":135178351,"index":1206,"dateCreated":"2019-06-18T18:28:03.607Z","author":{"userId":17669192,"displayName":"Lakshmi","isNotable":false},"text":"Team pig<br>","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135178351"},"status":"pass"},{"id":135178100,"index":1205,"dateCreated":"2019-06-18T18:07:58.173Z","author":{"userId":17536984,"displayName":"animallover12","isNotable":false},"text":"Team pig🐷🐖","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135178100"},"status":"pass"},{"id":135177987,"index":1204,"dateCreated":"2019-06-18T17:53:40.367Z","author":{"userId":17721776,"displayName":"U17721776","isNotable":false},"text":"I'm team Pigacorn!","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135177987"},"status":"pass"},{"id":135156783,"index":1203,"dateCreated":"2019-06-17T07:26:23.363Z","author":{"userId":17700001,"displayName":"U17700001","isNotable":false},"text":"Team Unicorn OBS","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135156783"},"status":"pass"},{"id":135155704,"index":1202,"dateCreated":"2019-06-16T18:24:44.703Z","author":{"userId":17684816,"displayName":"Crazycardriver","isNotable":false},"text":"Oink","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135155704"},"status":"pass"},{"id":135155703,"index":1201,"dateCreated":"2019-06-16T18:24:33.48Z","author":{"userId":17684816,"displayName":"Crazycardriver","isNotable":false},"text":"I’m team pig 🐷 🐽 🐖","rating":{"positive":1,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135155703"},"status":"pass"},{"id":135155669,"index":1200,"dateCreated":"2019-06-16T18:01:42.483Z","author":{"userId":17719608,"displayName":"U17719608","isNotable":false},"text":"what team did you pic","rating":{"positive":0,"negative":0},"replies":[],"actions":{"reportUrl":"https:\/\/web.archive.org\/web\/20190701112059\/https:\/\/www.bbc.co.uk\/moderation\/report?sitename=cbbccomments&ContentID=135155669"},"status":"pass"}],"totalCommentsCount":1246,"commentTextLimit":600,"env":"live","isClosed":false,"displayNameModerationMessage":"Where's my display name?","displayNameModerationUrl":"\/cbbc\/findoutmore\/web-help-general-web-faqs#where-is-my-display-name","createForum":false}}); });</script> <script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-id-availability-data/version/2.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"isAvailable":true}}); });</script> <script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-comments-view","apiKey":"1aa590aa-06ec-4ced-86a5-e9d01abb243c","commentsTitle":"Join the conversation","containerId":"comments","forumId":"__CBBC__comments__cbbc_picture_maker","idctaEnv":"live","mode":"embedded","product":"cbbc","signInContext":"cbbc","themeVariant":"childrens","toggleOverrides":"ratings:on,liveUpdate:on","version":"3.3.1","_mrrVersion":"2.0.16"},'u713738287774027'); });</script> <script>if (!Morph.manualInit) { Morph.init(); } /* u713738287774027 */</script> <script type="text/javascript"> var cookiePolicy = window.bbccookies.readPolicy(); if (true || cookiePolicy.performance) { var _sf_async_config = {"domain":"bbc.co.uk","region":"domestic","uid":50924,"sections":"childrens, cbbc"}; _sf_async_config.path = window.location.pathname; (function () { function loadChartbeat() { window._sf_endpt = (new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', "//web.archive.org/web/20190701112059/https://static.chartbeat.com/js/chartbeat.js"); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function () { oldonload(); loadChartbeat(); }; })(); } </script> </div> <div id="orb-footer" class="orb-footer" dir="ltr"><div id="navp-orb-footer-promo"></div><aside role="complementary"><div id="orb-aside" class="orb-nav-sec b-r b-g-p"><div class="orb-footer-inner" role="navigation" aria-label="BBC"><h2 class="orb-footer-lead">Explore the BBC</h2><div class="orb-footer-primary-links"><ul><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-iplayer orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/tv/cbbc">CBBC iPlayer</a></li><li class="orb-nav-newsround"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/newsround">Newsround</a></li><li class="orb-nav-bitesize orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.com/bitesize">Bitesize</a></li><li class="orb-nav-ownit orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.com/ownit">Own It</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-cbbctv"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/iplayer/guide/cbbc">CBBC on TV</a></li><li class="orb-nav-cbbchelp orb-d"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/cbbc/curations/cbbc-help">CBBC Help</a></li></ul></div></div></div></aside><footer role="contentinfo"><div id="orb-contentinfo" class="orb-nav-sec b-r b-g-p"><script>window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20190701112059/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.com/usingthebbc/cookies/how-does-the-bbc-use-cookies-for-advertising/">Ad choices<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2019 BBC.</em> The BBC is not responsible for the content of external sites. <span class="orb-footer-links"><a href="https://web.archive.org/web/20190701112059/https://www.bbc.co.uk/help/web/links/" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script id="orb-js-script" data-assetpath="https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/" src="https://web.archive.org/web/20190701112059js_/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/js/orb.min.js"></script><script type="text/javascript">require(['orb/lib/_$'], function($) { $.ready(function() { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function initialiseFooter() { // Suppress this feature on browsers we no longer test var myNav = navigator.userAgent.toLowerCase(); var oldIE = (myNav.indexOf('msie') !== -1) && parseInt(myNav.split('msie')[1], 10) <= 10; if (!oldIE) { require(['orb/cookies'], function (bbccookies) { var disabledByCookie = (parseInt(bbccookies.get('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { require(['orb/fig'], function (orbFig) { orbFig.load(function (fig) { if (fig.geo.isUK()) { setUpLazyLoading(); } }); }); } }); } } function setUpLazyLoading() { // offsetHeight is expensive to calculate, only do it once. pageLength = Math.abs(document.body.offsetHeight); if (pageLength < getViewportHeight() + 300 || pageLength - getCurrentPosition() < PROMO_SHOW_BREAKPOINT) { loadPromo(); } else { window.onscroll = function () { didScroll = true; }; scrollCheckTimer = setInterval(function () { if (didScroll) { hasScrolled(); didScroll = false; } }, 250); } } function loadPromo() { clearInterval(scrollCheckTimer); require(['orb/async/_footerpromo'], function(promo) { promo.init('https://web.archive.org/web/20190701112059/https://navpromo.api.bbci.co.uk', 'cbbc'); }); } function getViewportHeight() { return window.innerHeight; } function getCurrentPosition() { return Math.abs(window.scrollY || document.body.scrollTop || document.documentElement.scrollTop); } function hasScrolled() { var currentPosition = getCurrentPosition(); if (Math.abs(previousPosition - currentPosition) <= delta) { return; } if (currentPosition > previousPosition) { if ((pageLength - currentPosition) <= PROMO_SHOW_BREAKPOINT) { loadPromo(); } } previousPosition = currentPosition; } })</script><script type="text/javascript">/*<![CDATA[*/ require(['orb/fig', 'orb/nav'], function(fig, nav) { fig.load(function(fig) { if (fig.geo.isUK()) { nav.loadJs('https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/orbit/3.0.0-622.2cf71d41/js/edr.min.js'); } }); }); /*]]>*/</script> <!-- BBCDOTCOM bodyLast --><div class="bbccom_display_none"><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && window.bbcdotcom.analytics && bbcdotcom.config && !bbcdotcom.config.isSportApp() && !bbcdotcom.config.isReel()) { bbcdotcom.analytics.page(); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20190701112059im_/https://ssc.api.bbc.com/?c1=2&amp;c2=19293874&amp;ns_site=bbc&amp;name=" height="1" width="1" alt=""></noscript><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.write(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.currencyProviders.postWrite(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && bbcdotcom.utils && window.location.pathname === '/' && window.bbccookies && bbccookies.readPolicy('necessary') ) { var wwhpEdition = bbcdotcom.utils.getMetaPropertyContent('wwhp-edition'); var _sf_async_config={}; /** CONFIGURATION START **/ _sf_async_config.uid = 50924; _sf_async_config.domain = "bbc.co.uk"; _sf_async_config.title = "Homepage"+(wwhpEdition !== '' ? ' - '+wwhpEdition : ''); _sf_async_config.sections = "Homepage"+(wwhpEdition !== '' ? ', Homepage - '+wwhpEdition : ''); _sf_async_config.region = wwhpEdition; _sf_async_config.path = "/"+(wwhpEdition !== '' ? '?'+wwhpEdition : ''); /** CONFIGURATION END **/ (function(){ function loadChartbeat() { window._sf_endpt=(new Date()).getTime(); var e = document.createElement("script"); e.setAttribute("language", "javascript"); e.setAttribute("type", "text/javascript"); e.setAttribute('src', '//web.archive.org/web/20190701112059/https://static.chartbeat.com/js/chartbeat.js'); document.body.appendChild(e); } var oldonload = window.onload; window.onload = (typeof window.onload != "function") ? loadChartbeat : function() { oldonload(); loadChartbeat(); }; })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ (function() { window.bbcdotcom.bodyLast = true; }()); /*]]>*/</script></div><!-- BBCDOTCOM all code in page --><script type="text/javascript">if (window.SEARCHBOX.suppress === false && window.SEARCHBOX.locale && /^en-?.*?/.test(window.SEARCHBOX.locale)) { require.config({ paths: { "search/searchbox": window.SEARCHBOX.searchboxAppStaticPrefix, } }); if (bbcuser && bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { require(['search/searchbox/searchboxDrawer'], function (SearchboxDrawer) { SearchboxDrawer.run(window.SEARCHBOX); }); } }); } }</script> <script>"use strict";define("orb/cookies-adapter",["orb/cookies"],function(c){function e(e){return c._setPolicy("ads",e),c._setPolicy("personalisation",e),c._setPolicy("performance",e),c._setPolicy("necessary",e)}return{isOrbitEnvironment:function(){return"object"==typeof bbccookies&&"function"!=typeof bbccookies._getCookieName},set:function(e,o){var n=new Date;if(n.setYear(n.getFullYear()+1),this.isOrbitEnvironment())return c.set(e,o,{domain:c._getCurrentDomain(),path:"/",expires:n});var i=window.location.host.match(/(.bbc(?:\.co\.uk))(:\d+)?(\/.*)?$/i),t=e+"="+o+";domain="+(i&&".bbc.co.uk"===i[1]?".bbc.co.uk":".bbc.com")+";path=/;expires="+n.toUTCString()+";";return c.set(t)},get:function(e){return this.isOrbitEnvironment()?c.get(e):c.getCrumb(e)},copyPolicyCookiesCrossDomain:function(e){if(this.isOrbitEnvironment())return c.copyPolicyCookiesCrossDomain(e);e()},setDefaultCookiesSingleDomain:function(){return this.isOrbitEnvironment()?c.setDefaultCookiesSingleDomain():e(!1)},setDefaultCookiesCrossDomain:function(){return this.isOrbitEnvironment()?c.setDefaultCookiesCrossDomain():e(!1)},optInToAllCookiesCrossDomain:function(){if(this.isOrbitEnvironment()){return c.setCookiePolicyCrossDomain({ads:!0,personalisation:!0,performance:!0,necessary:!0})}return e(!0)},isCookiePolicySet:function(){return this.isOrbitEnvironment()?c.isCookiePolicySet():null!==this.get("ckns_policy")}}}),require(["orb/lib/_script","orb/cookies-adapter"],function(s,t){var c="ckns_explicit",r="1";function a(){var e=t.get(c);return null!==e&&e===r}function b(e,o){e.style.display="none",o.style.display="none"}function l(e,o){a()||(e.style.display="none",o.style.display="block",window.bbcpage.trackRegion(o,{linkLocation:"nav-banner-cookies"}),window.bbcuser.logEvent("view","nav-banner-cookies"))}function u(){var e=document.getElementById("bbcprivacy"),o=document.getElementById("bbccookies");document.getElementById("bbcprivacy-continue-button").addEventListener("click",function(){b(e,o),l(e,o),window.bbcuser.logEvent("click-cta","nav-banner-privacy")}),document.getElementById("bbccookies-continue-button").addEventListener("click",function(){b(e,o),window.bbcuser.logEvent("click-continue","nav-banner-cookies"),t.optInToAllCookiesCrossDomain(),t.set(c,r)});var n,i=document.getElementById("bbccookies-settings").getElementsByTagName("a")[0];i.addEventListener("click",(n=!1,function(e){n||(t.copyPolicyCookiesCrossDomain(function(){n=!0,i.click()}),t.set(c,r),e.preventDefault())})),l(e,o)}function m(e,c,r){var o,n,i="https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-314.17bc1cb/cookie-banner//cookie-prompt/",t=i+(n="en","string"==typeof(o=e)&&2<=o.length&&(n=o.trim().substring(0,2).toLowerCase()),-1!==["en","cy","gd","ga"].indexOf(n)?n:"en")+".min.js";window.bbcpage.loadCSS("https://web.archive.org/web/20190701112059/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-314.17bc1cb/cookie-banner//cookie-prompt/bbccookies.min.css").then(function(){s.jsonp(t,function(e){var o=e.replace(/<<bbcUrlPrefix>>/g,function(){if(window.orb.bbcUrlPrefix){var e=window.orb.bbcUrlPrefix+"bbc.com",o=window.location.host.match(/(bbc(?:\.co\.uk))(:\d+)?(\/.*)?$/i);return o&&"bbc.co.uk"===o[1]&&(e=e.replace("bbc.com","bbc.co.uk")),e}return""}());document.getElementById("cookiePrompt").innerHTML=o;for(var n=document.querySelectorAll("[data-region-filter]"),i=0;i<n.length;i++){var t=n[i];t.getAttribute("data-region-filter")!==r&&(t.style.display="none")}c()},{callbackName:"cookiePrompt"})})}Promise.all([window.bbcuser.isUKCombined(),window.bbcuser.isEU(),window.bbcpage.getLanguage()]).then(function(e){var o=e[0];if(e[1]||o){var n=null!==t.get("ckns_privacy");if(!(t.isCookiePolicySet()&&a()&&n)){a()||t.set(c,"0"),t.isCookiePolicySet()||t.setDefaultCookiesSingleDomain();var i=o?"gb":"eu";m(e[2],u,i)}}}).catch(function(){m("en",u,"gb")})});</script><script type="text/javascript">require(["istats-1","orb/cookies"],function(o,t){if(t.isAllowed("s1"))try{if(!require.s.contexts._.config.paths.idcta)return void i();require(["idcta/idcta-1"],function(t){t&&"function"==typeof t.getIStatsLabels&&o.addLabels(t.getIStatsLabels()),i()},function(t){throw t})}catch(t){console&&"function"==typeof console.log&&console.log("an exception occurred while adding idcta labels to istats, invoking istats without them",t),i()}function i(){o.invoke()}});</script><script type="text/javascript">"use strict";require(["reverb"],function(e){return e.invoke(!1)});</script><script>if(function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}});else{var p=window.document,e=[];t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||1<t)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},t.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},t.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(window,"resize",this._checkForIntersections,!0),n(p,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(p,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},t.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,r(window,"resize",this._checkForIntersections,!0),r(p,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},t.prototype._checkForIntersections=function(){var a=this._rootIsInDom(),c=a?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(t){var e=t.element,n=g(e),r=this._rootContainsTarget(e),i=t.entry,o=a&&r&&this._computeTargetAndRootIntersection(e,c),s=t.entry=new u({time:window.performance&&performance.now&&performance.now(),target:e,boundingClientRect:n,rootBounds:c,intersectionRect:o});i?a&&r?this._hasCrossedThreshold(i,s)&&this._queuedEntries.push(s):i&&i.isIntersecting&&this._queuedEntries.push(s):this._queuedEntries.push(s)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},t.prototype._computeTargetAndRootIntersection=function(t,e){if("none"!=window.getComputedStyle(t).display){for(var n,r,i,o,s,a,c,u,h=g(t),d=v(t),l=!1;!l;){var f=null,b=1==d.nodeType?window.getComputedStyle(d):{};if("none"==b.display)return;if(d==this.root||d==p?(l=!0,f=e):d!=p.body&&d!=p.documentElement&&"visible"!=b.overflow&&(f=g(d)),f&&(n=f,r=h,void 0,i=Math.max(n.top,r.top),o=Math.min(n.bottom,r.bottom),s=Math.max(n.left,r.left),u=o-i,!(h=0<=(c=(a=Math.min(n.right,r.right))-s)&&0<=u&&{top:i,bottom:o,left:s,right:a,width:c,height:u})))break;d=v(d)}return h}},t.prototype._getRootRect=function(){var t;if(this.root)t=g(this.root);else{var e=p.documentElement,n=p.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(n){var t=this._rootMarginValues.map(function(t,e){return"px"==t.unit?t.value:t.value*(e%2?n.width:n.height)/100}),e={top:n.top-t[0],right:n.right+t[1],bottom:n.bottom+t[2],left:n.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},t.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!=o<r)return!0}},t.prototype._rootIsInDom=function(){return!this.root||i(p,this.root)},t.prototype._rootContainsTarget=function(t){return i(this.root||p,t)},t.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},t.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=t,window.IntersectionObserverEntry=u}function u(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function t(t,e){var n,r,i,o=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function n(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function r(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function g(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function i(t,e){for(var n=e;n;){if(n==t)return!0;n=v(n)}return!1}function v(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}(),"function"!=typeof window.CustomEvent){function CustomEvent(t,e){e=e||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}CustomEvent.prototype=window.Event.prototype,window.CustomEvent=CustomEvent}require(["detectview","parseContentForEvent"],function(t,n){window.addEventListener("pageshow",function(t){var e=navigator.vendor&&-1<navigator.vendor.indexOf("Apple");t.persisted&&e&&document.location.reload()}),t(["[data-bbc-context]","[data-bbc-container]"],function(t){if(!t.hasAttribute("data-bbc-ignore-views")){var e=new CustomEvent("bbc-user-event",{bubbles:!0,detail:n(t)});t.dispatchEvent(e)}})}),require(["parseContentForEvent","getParentWithSelector"],function(c,u){var h=function(t){return null===t.which?4===t.button:1===t.button},e=function(t){if(0===t.button||h(t)){var e,n,r,i=u(t.target,"[data-bbc-container]"),o=u(t.target,"a, button");if(i&&o){"A"===o.tagName&&(n=o,r=1500,(e=t).altKey||e.ctrlKey||e.metaKey||e.shiftKey||h(e)||n.target&&!n.target.match(/^_(self|parent|top)$/i)||(e.preventDefault(),setTimeout(function(){window.location.href=n.href},r)));var s=c(i);s.elem=o,s.originalEvent=t;var a=new CustomEvent("bbc-user-click",{bubbles:!0,detail:s});o.dispatchEvent(a)}}};["click","auxclick"].forEach(function(t){document.body.addEventListener(t,e)})}),define("getParentWithSelector",function(){return function t(e,n){return e.matches(n)?e:!!e.parentElement&&t(e.parentElement,n)}}),define("getParentChildPosition",["getParentWithSelector"],function(i){function o(t){var e=i(t,"[data-stats]");return JSON.parse(e.getAttribute("data-stats")).link_location}return function(t){var e=i(t,"[data-stats]"),n=Array.prototype.slice.call(document.querySelectorAll("[data-stats]")).indexOf(e)+1,r=Array.prototype.slice.call(t.parentElement.children).indexOf(t)+1;return{PAR:o(t)+"::"+n,CHD:function(t){var e={"iplayer-video":"iplayer",video:"video",audio:"audio","iplayer-radio":"audio"};if(-1<["message-banner","message-banner-signed-in"].indexOf(o(t)))return"button";var n=t.getAttribute("data-bbc-asset-type");return e[n]?"card-"+e[n]:"card"}(t)+"::"+r}}}),define("parseContentForEvent",["getParentWithSelector","getParentChildPosition"],function(i,o){function r(t){return t.hasAttribute("data-bbc-result")?t.getAttribute("data-bbc-result"):function t(e){if(e.hasAttribute("href"))return encodeURIComponent(e.getAttribute("href"));for(var n=e.children||[],r=0;r<n.length;r++){var i=t(n[r]);if(null!==i)return i}return null}(t)}return function(t){return{container:t.getAttribute("data-bbc-container")||t.getAttribute("data-bbc-context"),label:(n=t,encodeURIComponent(n.getAttribute("data-bbc-title")||n.getAttribute("data-bbc-content-label")||n.innerText.split("\n")[0])),source:(e=t,e.getAttribute("data-bbc-source")),personalisation:function(t){var e=i(t,"[data-bbc-personalisation]");if(e)return JSON.parse(e.getAttribute("data-bbc-personalisation"));var n=i(t,"[data-stats]");if(!n)return{};var r=JSON.parse(n.getAttribute("data-stats"));return r.hp_sgm_id||r.hp_sgm_user_score?{SEG:r.hp_sgm_id+"::"+r.hp_sgm_user_score}:{}}(t),metadata:function(t){var e=i(t,"[data-bbc-metadata]"),n=e?JSON.parse(e.getAttribute("data-bbc-metadata")):{};if(i(t,"[data-bbc-track-position]")){var r=o(t);if(!n.PAR)return Object.assign({},r,n)}return n}(t),result:r(t)};var e,n}}),define("detectview",function(){var h=.5,d=1e3,t={threshold:[0,.2,.5,.8,1]};return function(n,s){var e=0,a=[],c={};function u(t){clearTimeout(c[t]),delete c[t]}var r=new IntersectionObserver(function(t){t.forEach(function(t){var e,n,r,i=t.target,o=i.getAttribute("data-x-bbc-element-id");r=i,!(-1<a.indexOf(r))&&t.intersectionRatio>=h?(c[o]&&u(o),e=function(){var t;t=i,a.push(t),s(t)},n=d,c[o]=setTimeout(e,n)):u(o)})},t),i=function(t){t.setAttribute("data-x-bbc-element-id","el-"+e),r.observe(t),e+=1};function o(t,r){t.forEach(function(t){for(var e=(r||document).querySelectorAll(t),n=0;n<e.length;n++)i(e[n])})}o(n),new MutationObserver(function(t){t.forEach(function(t){Array.prototype.slice.call(t.addedNodes).forEach(function(e){!1!=(e instanceof Element||e instanceof HTMLDocument)&&(o(n,e),n.forEach(function(t){e.matches(t)&&i(e)}))})})}).observe(document,{childList:!0,subtree:!0})}});</script> </body> </html> <!-- FILE ARCHIVED ON 11:20:59 Jul 01, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 21:19:19 Nov 24, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.504 exclusion.robots: 0.025 exclusion.robots.policy: 0.016 esindex: 0.01 cdx.remote: 10.4 LoadShardBlock: 58.199 (3) PetaboxLoader3.datanode: 82.81 (4) load_resource: 117.624 PetaboxLoader3.resolve: 74.532 -->

Pages: 1 2 3 4 5 6 7 8 9 10