CINXE.COM
Uni halls ‘horror’ stories that’ll make you wince - BBC Bitesize
<!DOCTYPE html><html lang="en-GB" class="b-header--white--black b-footer--transparent--dark-grey b-reith-sans-font"><head><script type="text/javascript" src="https://web-static.archive.org/_static/js/bundle-playback.js?v=7YQSqjSh" charset="utf-8"></script> <script type="text/javascript" src="https://web-static.archive.org/_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="https://web-static.archive.org/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.co.uk/bitesize/articles/zkkxjhv","20191004204316","https://web.archive.org/","web","https://web-static.archive.org/_static/", "1570221796"); </script> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/banner-styles.css?v=p7PEIJWi" /> <link rel="stylesheet" type="text/css" href="https://web-static.archive.org/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><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><script type="text/javascript">Morph.initStyles(); /* u12104289373382926 */</script><script> window.optimizely = window.optimizely || []; window.optimizely.push({"type": "cookieExpiration", "cookieExpirationDays": 365}); </script><script src="https://web.archive.org/web/20191004204316js_/https://cdn.optimizely.com/public/4621041136/s/bitesize_prod.js"></script> <script> window.orb_fig_blocking = false window.bbcredirection = { geo: false, device: false }; </script> <!-- Nav Env: live --> <!-- Analytics Web Module: 0.0.1-332.8fd22d2 --> <!-- NavID Web Module: 0.2.0-92.e536e2f --> <!-- Detectview Web Module: 0.0.1-332.8fd22d2 --> <!-- Searchbox Web Module: 3.0.0-22.72514fb --> <!-- Promo Web Module: 3.0.0-13.dc6b5c1 --> <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/20191004204316cs_/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20191004204316/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20191004204316/https://www.', staticHost: 'https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400', figUrl: 'https://web.archive.org/web/20191004204316/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20191004204316/https://cookie-oven.api.bbc' }; document.documentElement.className += (document.documentElement.className? ' ' : '') + 'orb-js'; window.orb.worldwideNavlinks = '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/sounds">Sounds</a></li>'; /*]]>*/</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: 'kl.education.blocks.bitesize.article.zkkxjhv.page' || undefined}; istatsLabels['app_type'] = 'responsive'; istatsLabels['app_name'] = 'blocks'; istatsLabels['bbc_site'] = 'bitesize'; istatsLabels['ml_name'] = 'webmodule'; istatsLabels['ml_version'] = 'current_version'; 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 = {}; var page = { name: 'bitesize.articles.zkkxjhv.page' || istatsLabels.name || generateCountername(), destination: 'BITESIZE' || null, producer: 'BITESIZE' || null, section: 'learn' || null, site: '' || istatsLabels.bbc_site || istatsLabels.app_name || istatsLabels.prod_name || null, contentId: 'urn:bbc:isite2:zkkxjhv' || null, contentType: 'article' || null, edition: 'domestic' || 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); }); }, getReferrer: function() { return Promise.resolve(window.orb && window.orb.referrer ? window.orb.referrer : document.referrer); }, 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)); }) } }); }); }, 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/20191004204316js_/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/js/require.min.js"></script> <script src="https://web.archive.org/web/20191004204316js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-332.8fd22d2/cookie-banner/cookie-library.min.js"></script><script type="text/javascript">if (window.define !== undefined) { define('orb/cookies', function() { return window.bbccookies; }); }</script> <script src="https://web.archive.org/web/20191004204316js_/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-332.8fd22d2/istats/istats-1"}}),require(["istats-1","orb/cookies"],function(t,a){if(a.isAllowed("s1")){var e=(o=document.location.href.match(/^(?:https|http):\/\/\w*\.(?:(int|test|stage|live|)\.)?bbc\.(?:co\.uk|com)/))?void 0===o[1]||""===o[1]||"live"===o[1]?"//web.archive.org/web/20191004204316/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20191004204316/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20191004204316/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="kl.education.blocks.bitesize.article.zkkxjhv.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.1-332.8fd22d2&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en&app_type=responsive&app_name=blocks&bbc_site=bitesize&ml_name=webmodule&ml_version=current_version")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20191004204316cs_/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.21.1/style/id-cta.css"><!--[if IE 8]><link href="https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.21.1/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/20191004204316/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&ptrt=' + encodeURIComponent((ptrt ? ptrt[1] : document.location.href))).replace(/\&/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/20191004204316/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.21.1/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/20191004204316/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/20191004204316/https://mybbc.files.bbci.co.uk/s/id/account-idcta/1.21.1/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/20191004204316/https://static.bbc.co.uk/bbcdotcom/2.8.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() {}, setFlagpoles: 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/20191004204316/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/20191004204316/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/20191004204316/https://static.bbc.co.uk/bbcdotcom/2.8.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/20191004204316/https://static.bbc.co.uk/bbcdotcom/2.8.0/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20191004204316/https://static.bbc.co.uk/bbcdotcom/2.8.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/20191004204316/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20191004204316/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\/20191004204316\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"sherlockEnabled":false,"appName":"","assetPrefix":"https:\/\/web.archive.org\/web\/20191004204316\/https:\/\/static.bbc.co.uk\/bbcdotcom\/2.8.0\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":false,"lotameWSEnabled":false,"optimizelyEnabled":true,"palEnv":"live","productName":"","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\/20191004204316\/https:\/\/static.bbc.co.uk","staticVersion":"2.8.0","staticPrefix":"https:\/\/web.archive.org\/web\/20191004204316\/https:\/\/static.bbc.co.uk\/bbcdotcom\/2.8.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/20191004204316/https://static.bbc.co.uk/bbcdotcom/2.8.0/"); bbcdotcom.config.setVersion("2.8.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/20191004204316/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20191004204316/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/20191004204316/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/20191004204316/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20191004204316/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/20191004204316/https://securepubads.g.doubleclick.net/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":"default","locale":"en","navSearchboxStaticPrefix":"https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/searchbox/3.0.0-22.72514fb","searchboxAppStaticPrefix":"https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/searchbox/3.0.0-22.72514fb/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":"","searchScopeParam":"","searchScopeTemplate":"","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20191004204316cs_/https://nav.files.bbci.co.uk/searchbox/3.0.0-22.72514fb/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/3.0.0-22.72514fb/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-22.72514fb/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/20191004204316/https://nav.files.bbci.co.uk/navpromo/3.0.0-13.dc6b5c1/js/async/_footerpromo' } });</script> <script type="text/javascript">"use strict";!function(){window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,n){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=n}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var n=function(r,d){window.__reverb.__reverbLoadedPromise.then(function(e){if(r&&r.detail){var n=r.detail.label,t=r.detail.type,i=r.detail.elem,o=r.detail.originalEvent;r.detail.isClick&&(d=r.detail.isClick),e.userActionEvent(t,n,r.detail,i,o,d)}},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){n(e,!1)}),document.addEventListener("bbc-user-click",function(e){n(e,!0)}),document.addEventListener("bbc-page-updated",function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})})}();</script><script type="text/javascript" src="https://web.archive.org/web/20191004204316js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.0.1.js" async=""></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><script type="text/javascript">Morph.initStyles(); /* u7879365643302392 */</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]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.16.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.16.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.16.1/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.27.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.27.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.27.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u9392525550478013 */</script><link rel="preload" as="script" href="//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.63.1/link-location.js"/><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]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-text/1.8.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-text/1.8.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-text/1.8.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-image/1.2.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-image/1.2.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-image/1.2.1/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-promo/1.1.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-promo/1.1.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-promo/1.1.1/enhanced.css\"/>"); }</script><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/3.0.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-gel-icons/3.0.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.63.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-blocks-article-view/13.63.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.63.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u5840536976123653 */</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>body{font-family:Helvetica,Arial,freesans,sans-serif}.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:"ss01"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.pos-links__wrapper{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem}.pos-links__container{width:100%;margin:0 auto}@media (min-width:37.5em){.pos-links__container{width:83.33333%}}.pos-links__label{margin-top:0}.pos-links__items{list-style:none;padding-left:0}.pos-links__item{padding-bottom:16px}.pos-links__link{-webkit-text-decoration-color:#e5640f;border-bottom:0;color:#231f20;font-weight:700;text-decoration:underline;text-decoration-color:#e5640f}.pos-links__link:visited{color:#706d66}.pos-links__link:focus{color:#231f20;outline:4px solid #1a9bf0}.pos-links__link:hover{color:#e5640f;text-decoration:none}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-article-pos-links-view/1.0.2"]=true; Morph.styleSrc.push("<style>body{font-family:Helvetica,Arial,freesans,sans-serif}.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:\"ss01\"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.pos-links__wrapper{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem}@media (min-width:25em){.pos-links__wrapper{padding-left:16px;padding-right:16px}}@media (min-width:20em){.pos-links__wrapper{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.pos-links__wrapper{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .pos-links__wrapper{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.pos-links__container{width:100%;margin:0 auto}@media (min-width:37.5em){.pos-links__container{width:83.33333%}}.pos-links__label{margin-top:0}.pos-links__items{list-style:none;padding-left:0}.pos-links__item{padding-bottom:16px}.pos-links__link{-webkit-text-decoration-color:#e5640f;border-bottom:0;color:#231f20;font-weight:700;text-decoration:underline;text-decoration-color:#e5640f}.pos-links__link:visited{color:#706d66}.pos-links__link:focus{color:#231f20;outline:4px solid #1a9bf0}.pos-links__link:hover{color:#e5640f;text-decoration:none}</style>"); }</script><script type="text/javascript">Morph.initStyles(); /* u041837775580915837 */</script><title>Uni halls ‘horror’ stories that’ll make you wince - BBC Bitesize</title><script type="application/ld+json">{"@context":"https://web.archive.org/web/20191004204316/http://schema.org","@type":"Article","description":"","headline":"Uni halls horror stories that’ll make you wince","publisher":{"@type":"Organization","name":"BBC","logo":{"@type":"ImageObject","url":"https://web.archive.org/web/20191004204316/https://static.bbci.co.uk/frameworks/barlesque/3.21.31/desktop/3.5/img/blq-blocks_grey_alpha.png","width":84,"height":24}},"image":{"@type":"ImageObject","url":"https://web.archive.org/web/20191004204316/https://ichef.bbci.co.uk/images/ic/704xn/p07nkwl1.jpg","width":704},"datePublished":"2019-09-18"}</script><meta property="twitter:card" content="summary_large_image"/><meta property="twitter:site" content="BBC Bitesize"/><meta property="twitter:title" content="Uni halls horror stories that’ll make you wince"/><meta property="twitter:domain" content="www.bbc.co.uk"/><meta property="twitter:image:src" content="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1200xn/p07nkwl1.jpg"/><meta property="og:locale" content="en_GB"/><meta property="og:type" content="article"/><meta property="og:site_name" content="BBC Bitesize"/><meta property="og:title" content="Uni halls horror stories that’ll make you wince"/><meta property="og:image" content="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1200xn/p07nkwl1.jpg"/><meta property="og:image:secure_url" content="https://ichef.bbci.co.uk/images/ic/1200xn/p07nkwl1.jpg"/><meta property="og:image:width" content="1200"/><link href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize/articles/zkkxjhv" rel="canonical"/><meta property="og:url" content="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize/articles/zkkxjhv"/><script type="text/javascript"> var domain = "co.uk"; var _sf_async_config = _sf_async_config || {}; var _sf_startpt=(new Date()).getTime(); _sf_async_config.domain = "www" + ".bbc." + domain; _sf_async_config.uid = 50924; _sf_async_config.title = window.document.title; _sf_async_config.path = "bbc." + domain + window.location.pathname + ""; _sf_async_config.sections = "bitesize"; </script><link href="//web.archive.org/web/20191004204316cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-page/14.28.0/blocks.css" rel="stylesheet"></head><body><div id="u12104289373382926"><script data-reactid=".207c8enqs5c" data-react-checksum="222409683"> (function() { function hasTouchscreen () { if ('ontouchstart' in window) { return true; } if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) { return true; } if (window.DocumentTouch && document instanceof DocumentTouch) { return true; } if (navigator.msMaxTouchPoints) { return true; } return false; }; if (!hasTouchscreen()) { document.documentElement.classList.add('n-no-touchevents'); } })(); </script></div> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20191004204316im_/https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=learn::bitesize.articles.zkkxjhv.page&x1=[urn:bbc:isite2:zkkxjhv]&x2=[responsive]&x3=[bbc_website]&x4=[en-GB]&x7=[article]&x8=[reverb-1.0.1-nojs]&x11=[BITESIZE]&x12=[BITESIZE]" 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/20191004204316/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#orb-modules">Skip to content</a></li><li><a id="orb-accessibility-help" href="/web/20191004204316/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/20191004204316/https://account.bbc.com/account"><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><!-- Because we are now loading the notification bell CSS asynchronously, we need this inline style hack to ensure that the notification div is hidden by default, and shown only if and when the bell code is loaded from notification-ui --><a id="notification-link" class="js-notification-link animated three" href="#" style="display: none"><span class="hidden-span">Notifications</span><div class="notification-link--triangle"></div><div class="notification-link--triangle"></div><span id="not-num"></span></a></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-home"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/tv">TV</a></li><li class="orb-nav-radio"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/radio">Radio</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bbcthree">Three</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/20191004204316/https://search.bbc.co.uk/search" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20191004204316/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><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="u7879365643302392"><noscript data-reactid=".kk987sk09w" data-react-checksum="-1570041674"></noscript></div><div id="u9392525550478013"><div data-reactid=".1nf1212pen6" data-react-checksum="-1228628425"><div class="bitesize-header-background" data-reactid=".1nf1212pen6.0"></div><noscript data-reactid=".1nf1212pen6.1"></noscript><div data-reactid=".1nf1212pen6.2"><div class="global-navigation" data-reactid=".1nf1212pen6.2.0"><header class="global-navigation__header" data-reactid=".1nf1212pen6.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".1nf1212pen6.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".1nf1212pen6.2.0.0.0.0"><a class="global-navigation__header__logo__link--animate global-navigation__header__logo__link--delay-animation global-navigation__header__logo__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize" data-reactid=".1nf1212pen6.2.0.0.0.0.0">Bitesize</a></span><button type="button" class="global-navigation__header__menu-button" aria-label="Open menu" data-reactid=".1nf1212pen6.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".1nf1212pen6.2.0.0.0.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".1nf1212pen6.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1nf1212pen6.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".1nf1212pen6.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".1nf1212pen6.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".1nf1212pen6.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".1nf1212pen6.2.0.1.0"><div class="global-language-selector" data-reactid=".1nf1212pen6.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".1nf1212pen6.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".1nf1212pen6.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".1nf1212pen6.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0"><button type="button" tabindex="0" lang="en-GB" class="global-language-selector__language-link" aria-label="English, selected" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0.0.0">English</span><span class="global-language-selector__icon-yes gel-icon gel-icon--yes" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0.0.1"><svg class="bitesize-yes-svg" version="1.1" x="0px" y="0px" width="31.8px" height="32px" viewbox="0 0 31.8 32" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0.0.1.0"><polygon points="12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 " data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.0.0.1.0.0"></polygon></svg></span></button></li><li class="global-language-selector__language" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$cy-GB"><button type="button" tabindex="0" lang="cy-GB" class="global-language-selector__language-link" aria-label="Cymraeg" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$ga-GB"><button type="button" tabindex="0" lang="ga-GB" class="global-language-selector__language-link" aria-label="Gaeilge" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$gd-GB"><button type="button" tabindex="0" lang="gd-GB" class="global-language-selector__language-link" aria-label="Gàidhlig" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".1nf1212pen6.2.0.1.0.0.1.0.1:$gd-GB.0.0">Gàidhlig</span></button></li></ol></div></div><ul class="global-navigation__list" data-reactid=".1nf1212pen6.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$learn-revise"><a class="global-navigation__list__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize/learn" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$learn-revise.0"><span class="global-navigation__list__link-text" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$learn-revise.0.0">Learn & revise</span></a></li><li class="global-navigation__list__item" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize/support" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize/careers" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".1nf1212pen6.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".1nf1212pen6.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize/my" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$my-bitesize.0.0">My Bitesize</span></a></li><li class="global-navigation__list__item global-navigation__list__item--pinned global-navigation__list__item--all-bitesize" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize"><button type="button" class="global-navigation__list__link--button global-navigation__list__link--button--pinned" aria-live="polite" aria-label="Menu button, this menu is closed" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize.0.0.0.0"></path></svg></span><span class="global-navigation__list__link-text" data-reactid=".1nf1212pen6.2.0.1.0.1.1.0.$all-bitesize.0.1">All Bitesize</span></button></li></ul></li></ul></div></nav></div><div class="header-image-container header-image-container--homepage header-image-no-logo" aria-hidden="false" data-reactid=".1nf1212pen6.2.1"><div class="header-image-container__wrap" data-reactid=".1nf1212pen6.2.1.0"><header class="context-panel" data-reactid=".1nf1212pen6.2.1.0.1"><div class="context-panel__header-container" data-reactid=".1nf1212pen6.2.1.0.1.1"><h1 class="context-panel__header" data-reactid=".1nf1212pen6.2.1.0.1.1.1">Uni halls horror stories that’ll make you wince</h1></div><span data-reactid=".1nf1212pen6.2.1.0.1.2"></span><div class="context-label" data-reactid=".1nf1212pen6.2.1.0.1.3"><div class="context-label__title" data-reactid=".1nf1212pen6.2.1.0.1.3.0">Part of</div><div class="context-label__items" data-reactid=".1nf1212pen6.2.1.0.1.3.1"><div class="context-label__item" data-reactid=".1nf1212pen6.2.1.0.1.3.1.0"><a class="context-label__item-link" href="/web/20191004204316/https://www.bbc.co.uk/bitesize/learn" data-reactid=".1nf1212pen6.2.1.0.1.3.1.0.0">Learn & revise</a></div></div></div><noscript data-reactid=".1nf1212pen6.2.1.0.1.6"></noscript></header></div></div></div></div></div><div id="u5840536976123653"><article class="blocks-block blocks-article" data-reactid=".1k4v232it4c" data-react-checksum="-1080241261"><script data-reactid=".1k4v232it4c.0"> (function() { function hasTouchscreen () { if ('ontouchstart' in window) { return true; } if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) { return true; } if (window.DocumentTouch && document instanceof DocumentTouch) { return true; } if (navigator.msMaxTouchPoints) { return true; } return false; }; if (!hasTouchscreen()) { document.documentElement.classList.add('blocks-touchscreen-disabled'); } })(); </script><h1 class="blocks-article__headline" data-reactid=".1k4v232it4c.1">Uni halls horror stories that’ll make you wince</h1><div class="blocks-article__grid" data-reactid=".1k4v232it4c.2"><div class="blocks-article__grid-row blocks-article__grid-row--0" data-reactid=".1k4v232it4c.2.$blocks-article-row-0"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-0.$zjjpmfr-0=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-0.$zjjpmfr-0=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-0.$zjjpmfr-0=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-0.$zjjpmfr-0=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>For lots of people, living in university halls holds strong memories, both the good and the bad.</span></h2><p class="blocks-text-block__paragraph"><span>Halls can be where you can meet some of your best friends for life, get the independence you’ve been craving for and have as much fun as your student loan allows.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--1" data-reactid=".1k4v232it4c.2.$blocks-article-row-1"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10.1.1"><img alt="Young adults laughing and eating pizza." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkwl1.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkwl1.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nkwl1.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nkwl1.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nkwl1.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-1.$zv3dcqt-1=10.1.2">Living with strangers for the first time can bring a whole host of new experiences</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--2" data-reactid=".1k4v232it4c.2.$blocks-article-row-2"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-2.$zk86qp3-2=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-2.$zk86qp3-2=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-2.$zk86qp3-2=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-2.$zk86qp3-2=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>It can also be a place where piled up dishes, spaghetti on the walls and strange smells in the fridge are an everyday feature. There are housemates who you can’t escape the sight of and others who you catch the rare glimpse of at 3am, as they heat up their noodles.</span></p><p class="blocks-text-block__paragraph"><span>Either way, living with strangers for the first time is an experience most won’t forget. Here are some gruesome, awkward and cringeworthy stories from those who have experienced the life of university halls.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--3" data-reactid=".1k4v232it4c.2.$blocks-article-row-3"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-3.$zmxvpg8-3=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-3.$zmxvpg8-3=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-3.$zmxvpg8-3=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-3.$zmxvpg8-3=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>The shopping trolley that became the new kitchen sink - Daniel, 27</span></h2><p class="blocks-text-block__paragraph"><span>If you were looking to stay in a spotless flat without grime or mess, then university halls probably aren’t for you. Daniel lived in a uni halls flat with 12 other people, all sharing a kitchen, and says that the sink and kitchen worktops were always full of dirty utensils. Even a ‘happy one week birthday’ sign in honour of the dirty dishes didn’t encourage the culprits to clean.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--4" data-reactid=".1k4v232it4c.2.$blocks-article-row-4"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10.1.1"><img alt="A sink full of empty dirty dishes." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkx4t.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkx4t.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nkx4t.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nkx4t.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nkx4t.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-4.$zvbj92p-4=10.1.2">You might need to get used to cleaning up after yourself at uni</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--5" data-reactid=".1k4v232it4c.2.$blocks-article-row-5"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-5.$zbr78xs-5=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-5.$zbr78xs-5=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-5.$zbr78xs-5=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-5.$zbr78xs-5=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>Instead, they came up with a creative solution for more space. Daniel returned to the flat one day to find a shopping trolley hauled up three flights of stairs. Within a week the trolley was full of more dirty utensils; within two weeks, it was covered in mould with an unbearable smell.</span></p><p class="blocks-text-block__paragraph"><span>The ordeal of the gruesome flat became more bearable when a random inspection ordered the trolley to go and the flat to be cleaned. The kitchen apparently remained relatively dirty for the rest of the year, but not to the scale of the mouldy shopping trolley.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--6" data-reactid=".1k4v232it4c.2.$blocks-article-row-6"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-6.$zdjnxyc-6=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-6.$zdjnxyc-6=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-6.$zdjnxyc-6=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-6.$zdjnxyc-6=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>Chilli in the hoover - Harry, 20</span></h2><p class="blocks-text-block__paragraph"><span>For lots of students, fun with new housemates is part of the experience of living in halls. However, when it’s taken too far, it can be costly, as Harry and his flatmates found out.</span></p><p class="blocks-text-block__paragraph"><span>Harry says one of his flatmates made some chilli con carne before a night out and spilled it all over the floor. Instead of using a mop and bucket to clean, the flatmate used a vacuum cleaner. Sure enough it clogged up and was broken for good.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--7" data-reactid=".1k4v232it4c.2.$blocks-article-row-7"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10.1.1"><img alt="A man using a vacuum cleaner on the floor." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nky03.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nky03.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nky03.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nky03.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nky03.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-7.$z6hry9q-7=10.1.2">Tip: Don’t use a vacuum cleaner to clean food with liquids</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--8" data-reactid=".1k4v232it4c.2.$blocks-article-row-8"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-8.$zdqs6v4-8=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-8.$zdqs6v4-8=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-8.$zdqs6v4-8=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-8.$zdqs6v4-8=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>The issue was made worse later in the evening, when someone jumped and accidentally knocked a light protector off the ceiling, smashing it in the process. The housemates woke the following morning to an inspector who ordered them to repay for the broken items. They even had to pay a cleaner to clear the original mess.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--9" data-reactid=".1k4v232it4c.2.$blocks-article-row-9"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-9.$zmtgf4j-9=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-9.$zmtgf4j-9=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-9.$zmtgf4j-9=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-9.$zmtgf4j-9=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>The prankster who got pranked - Katie, 22</span></h2><p class="blocks-text-block__paragraph"><span>Halls can also be a theatre for many student pranks. If you can make it to the end of the academic year without your housemates getting you at least once, you can count yourself lucky. Sometimes there’s that one housemate whose antics gets everyone, but they seem to avoid any pranks coming their way.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--10" data-reactid=".1k4v232it4c.2.$blocks-article-row-10"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10.1.1"><img alt="A group of young adults having a pillow fight and throwing popcorn." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyg8.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyg8.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nkyg8.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nkyg8.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nkyg8.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-10.$zkjnxyc-10=10.1.2">If you’re going to prank others then be prepared for revenge</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--11" data-reactid=".1k4v232it4c.2.$blocks-article-row-11"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-11.$z6n4382-11=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-11.$z6n4382-11=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-11.$z6n4382-11=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-11.$z6n4382-11=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>Karma caught up with Katie’s housemate who apparently saw himself as a top prankster in the flat. His shenanigans came back to haunt him on his 21st birthday, when he returned after a weekend away to find a thick layer of cling film around every item in his room. TV, bed, toilet - you name it and it was wrapped in clingfilm.</span></p><p class="blocks-text-block__paragraph"><span>For the final piece of his present, he was given a pair of scissors, also wrapped in clingfilm with all of the kitchen knives hidden away. There’s two rules to learn from this: you’re never safe from pranks, and always lock your room.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--12" data-reactid=".1k4v232it4c.2.$blocks-article-row-12"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-12.$znvdcqt-12=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-12.$znvdcqt-12=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-12.$znvdcqt-12=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-12.$znvdcqt-12=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>The housemate who flooded the house - Matt, 26</span></h2><p class="blocks-text-block__paragraph"><span>Picture this: you’re on your way home from lectures in a glorious mood as it’s approaching the end of the first semester. You walk into your room and find water gushing through the roof onto all of your belongings. This is what one of Matt’s housemates was faced with.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--13" data-reactid=".1k4v232it4c.2.$blocks-article-row-13"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10.1.1"><img alt="A sink overflowing." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyky.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyky.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nkyky.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nkyky.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nkyky.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-13.$z4wpmfr-13=10.1.2">It’s the stuff of nightmares for Matt’s housemate, but at least he was insured</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--14" data-reactid=".1k4v232it4c.2.$blocks-article-row-14"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-14.$zmpcvk7-14=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-14.$zmpcvk7-14=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-14.$zmpcvk7-14=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-14.$zmpcvk7-14=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>This nightmare situation started when the water was turned off for repairs. The housemate in the room above had turned the tap on, didn’t turn it off again when she noticed the water wasn’t running and forgot about it. She came back several hours later to find the sink had overflowed, and the bathroom and bedroom were flooded.</span></p><p class="blocks-text-block__paragraph"><span>Luckily for her, all her belongings were either hung up or on the bed and so escaped the water. The housemate on the ground floor wasn’t so lucky, though, with a lot of his belongings being damaged or ruined by the water.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--15" data-reactid=".1k4v232it4c.2.$blocks-article-row-15"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-15.$zhy8rj6-15=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-15.$zhy8rj6-15=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-15.$zhy8rj6-15=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-15.$zhy8rj6-15=10.1.1"><div class="blocks-text-block__text"><h2 class="blocks-text-block__heading blocks-text-block__h2"><span>The phantom pooper - Ellie, 25</span></h2></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--16" data-reactid=".1k4v232it4c.2.$blocks-article-row-16"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10"><figure class="blocks-block blocks-image-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10.1.0"></span><div class="blocks-image__wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10.1.1"><img alt="A woman pinching her nose from the smell." class="blocks-image" src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyp1.jpg" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07nkyp1.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07nkyp1.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07nkyp1.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07nkyp1.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10.1.1.0"/></div><figcaption class="blocks-caption blocks-image__caption" data-reactid=".1k4v232it4c.2.$blocks-article-row-16.$zv4mwty-16=10.1.2">Why wouldn’t you flush? Or at least use toilet paper?</figcaption></figure></div></div><div class="blocks-article__grid-row blocks-article__grid-row--17" data-reactid=".1k4v232it4c.2.$blocks-article-row-17"><div class="blocks-article__grid-cell blocks-article__grid-cell--full-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-17.$zdmvpg8-17=10"><div class="blocks-block blocks-text-block" data-reactid=".1k4v232it4c.2.$blocks-article-row-17.$zdmvpg8-17=10.1"><span data-reactid=".1k4v232it4c.2.$blocks-article-row-17.$zdmvpg8-17=10.1.0"></span><div data-reactid=".1k4v232it4c.2.$blocks-article-row-17.$zdmvpg8-17=10.1.1"><div class="blocks-text-block__text"><p class="blocks-text-block__paragraph"><span>There are some things at student halls that you’ll never understand. Whether it’s the identity of the flatmate who only ever appears to collect a pizza delivery or the endless mounting of dishes that nobody will take ownership of, some of the mysteries of student halls are best left unsolved (maybe).</span></p><p class="blocks-text-block__paragraph"><span>In Ellie’s house, it was the mystery of the phantom pooper. She says that every morning a “big, old poop” was left in the toilet without any loo roll or anything. This went on for around six months, on and off, with no sign of who was to blame. An internal investigation started with every resident questioned, but the culprit could not be found. Eventually the daily poops subsided and the smell in the shared bathroom returned to a normal level. </span></p><p class="blocks-text-block__paragraph"><span>So there you have it: to ensure your stay in halls doesn’t become a health and safety nightmare or unforgettable for all the wrong reasons, remember to close your taps, flush the toilet and hide your clingfilm.</span></p></div></div></div></div></div><div class="blocks-article__grid-row blocks-article__grid-row--18" data-reactid=".1k4v232it4c.2.$blocks-article-row-18"><div class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20191004204316/https://www.bbc.com/bitesize/articles/znx6jhv" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1.0"><img src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mf20b.jpg" class="blocks-promo-block__image" alt="Freshers’ Week clichés (and how not to be one)" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mf20b.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07mf20b.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07mf20b.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07mf20b.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1.1"><h2 class="blocks-promo-block__title" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1.1.0">Freshers’ Week clichés (and how not to be one)</h2><p class="blocks-promo-block__description" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zfhft39-18=10.1.1.1">The fun and challenges of your first week at uni.</p></div></a></div><div class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width " data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize/articles/zmr4vk7" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1.0"><img src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mxy0z.jpg" class="blocks-promo-block__image" alt="Long-distance friendships: When to keep them going and when to take a step back" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mxy0z.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07mxy0z.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07mxy0z.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07mxy0z.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1.1"><h2 class="blocks-promo-block__title" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1.1.0">Long-distance friendships: When to keep them going and when to take a step back</h2><p class="blocks-promo-block__description" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zr3cvk7-18=11.1.1.1">Students talk about their experiences of long-distance relationships and the challenges they bring.</p></div></a></div><div class="blocks-article__grid-cell blocks-article__grid-cell--one-third-width " data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12"><a class="blocks-block blocks-promo-block" href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize/articles/z78qkmn" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1"><div class="blocks-promo-block__image-wrapper" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1.0"><img src="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mxwgm.jpg" class="blocks-promo-block__image" alt="Six movies that don't get life at university quite right" srcset="https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1280xn/p07mxwgm.jpg 1280w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/1008xn/p07mxwgm.jpg 1008w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/608xn/p07mxwgm.jpg 608w, https://web.archive.org/web/20191004204316im_/https://ichef.bbci.co.uk/images/ic/320xn/p07mxwgm.jpg 320w" sizes="(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,(min-width: 0px) 320px" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1.0.0"/></div><div class="blocks-promo-block__footer" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1.1"><h2 class="blocks-promo-block__title" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1.1.0">Six movies that don't get life at university quite right</h2><p class="blocks-promo-block__description" data-reactid=".1k4v232it4c.2.$blocks-article-row-18.$zb7t7nb-18=12.1.1.1">If you're basing your university predictions on what you've seen in films, you're in for a shock.</p></div></a></div></div></div></article></div><div id="u041837775580915837"><noscript data-reactid=".1kncjxv49ge" data-react-checksum="-1153035912"></noscript></div> <script>require.config({"paths":{"bump-3":"https://web.archive.org/web/20191004204316/https://emp.bbci.co.uk/emp/bump-3/bump-3","jquery-1.9":"https://web.archive.org/web/20191004204316/https://static.bbci.co.uk/frameworks/jquery/0.4.1/sharedmodules/jquery-1.9.1","istats-1":"https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/nav-analytics/0.1.0-43/js/istats-1"}})</script><script>Morph.toInit.bundles.push(function() { !function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=t.n(r);Morph.modules["bbc-morph-detect-touchscreen-view@2.0.1"]=o.a},function(n,e,t){"use strict";n.exports=t(2)},function(n,e,t){"use strict";n.exports=function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=function(n){return n&&n.__esModule?n:{default:n}}(r),u=function(n){return"\n(function() {\n function hasTouchscreen () {\n if ('ontouchstart' in window) {\n return true;\n }\n\n if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) {\n return true;\n }\n\n if (window.DocumentTouch && document instanceof DocumentTouch) {\n return true;\n }\n\n if (navigator.msMaxTouchPoints) {\n return true;\n }\n\n return false;\n };\n\n if (!hasTouchscreen()) {\n document.documentElement.classList.add('"+n+"');\n }\n})();\n"},c=function(n){if(!/^[a-z_][a-z\d_-]*$/i.test(n))throw new Error("'"+n+"' is not a valid class name")},s=function(n){var e=n.disabledClass;return c(e),o.default.createElement("script",{dangerouslySetInnerHTML:{__html:u(e)}})};s.propTypes={disabledClass:r.PropTypes.string},s.defaultProps={disabledClass:"no-touch"},e.default=s,n.exports=e.default},function(n,e){n.exports=t(3)}])},function(n,e){n.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-detect-touchscreen-view","disabledClass":"n-no-touchevents","language":"en-GB","version":"2.0.1","_mrrVersion":"2.0.16"},'u12104289373382926'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20191004204316/https://push.api.bbci.co.uk/public/client' }, 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(); } /* u12104289373382926 */</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-home"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/tv">TV</a></li><li class="orb-nav-radio"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/radio">Radio</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bbcthree">Three</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/20191004204316/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20191004204316/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/20191004204316/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright © 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/20191004204316/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-672.79448400/" src="https://web.archive.org/web/20191004204316js_/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/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/20191004204316/https://navpromo.api.bbci.co.uk', ''); }); } 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/20191004204316/https://nav.files.bbci.co.uk/orbit/3.0.0-672.79448400/js/edr.min.js'); } }); }); /*]]>*/</script><script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20191004204316/https://mybbc.files.bbci.co.uk/notification-ui/3.9.10/templates', "mybbc/notifications": '//web.archive.org/web/20191004204316/https://mybbc.files.bbci.co.uk/notification-ui/3.9.10/js' } }); require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) { var loadNotifications = function (isUK) { if (isUK) { window.bbcpage.loadCSS('//web.archive.org/web/20191004204316/https://mybbc.files.bbci.co.uk/notification-ui/3.9.10/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20191004204316/https://mybbc.files.bbci.co.uk/notification-ui/3.9.10/'); }); } }; if (window.bbcuser && window.bbcuser.isUKCombined && typeof(window.bbcuser.isUKCombined) === 'function') { // Use new API from Orbit if available window.bbcuser.isUKCombined().then(function(isUK) { loadNotifications(isUK); }); } else { // Fallback to fig (ORB support) var orbFig = window.orb.fig; loadNotifications(orbFig.geo.isUK()); } });</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/20191004204316im_/https://ssc.api.bbc.com/?c1=2&c2=19293874&ns_site=bbc&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/20191004204316/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 type="text/javascript">window.COOKIES_STATIC_HOST = 'https://web.archive.org/web/20191004204316/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-332.8fd22d2/cookie-banner//cookie-prompt/';</script><script src="https://web.archive.org/web/20191004204316js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-332.8fd22d2/cookie-banner/cookie-banners.bundle.js" async=""></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";window.__reverb.__reverbLoadedPromise.then(function(e){return e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Failed to load reverb. No event sent")});</script><script src="https://web.archive.org/web/20191004204316js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.1-332.8fd22d2/detectview/detectview.bundle.js" async=""></script><script>Morph.toInit.bundles.push(function() { Morph.versions['bbc-morph-optimizely-ati@1.0.1']={'optimizely-ati':'1.0.0','amd-loader':'0.0.8','react':'0.14.7',};/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { Morph.modules["bbc-morph-optimizely-ati@1.0.1"] = __webpack_require__(1); /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { /******/ configurable: false, /******/ enumerable: true, /******/ get: getter /******/ }); /******/ } /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _react = __webpack_require__(1); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } __webpack_require__(2); var optimizelyATI = __webpack_require__(3); var OptimizelyATI = function (_Component) { _inherits(OptimizelyATI, _Component); function OptimizelyATI() { _classCallCheck(this, OptimizelyATI); return _possibleConstructorReturn(this, (OptimizelyATI.__proto__ || Object.getPrototypeOf(OptimizelyATI)).apply(this, arguments)); } _createClass(OptimizelyATI, [{ key: 'componentDidMount', value: function componentDidMount() { optimizelyATI.init(); } }, { key: 'render', value: function render() { return null; } }]); return OptimizelyATI; }(_react.Component); exports.default = OptimizelyATI; module.exports = exports['default']; /***/ }), /* 1 */ /***/ (function(module, exports) { module.exports = __webpack_require__(2); /***/ }), /* 2 */ /***/ (function(module, exports) { module.exports = __webpack_require__(3); /***/ }), /* 3 */ /***/ (function(module, exports) { module.exports = __webpack_require__(4); /***/ }) /******/ ]); /***/ }), /* 2 */ /***/ (function(module, exports) { module.exports = React; /***/ }), /* 3 */ /***/ (function(module, exports) { module.exports = Morph.modules["amd-loader@0.0.8"]; /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;'use strict'; !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () { // Provides an initialisation method function init() { registerCurrentlyActiveExperiments(); registerFutureActiveExperiments(); } function experimentEventTest(experimentObject) { //trigger custom experiment event const { experiment, variation } = experimentObject; if (experiment && variation) { const experimentEvent = new CustomEvent('bbc-user-event', { detail: { personalisation: { EXP: experiment + '::' + variation } } }); document.dispatchEvent(experimentEvent); } } return { init: init, experimentTest: experimentEventTest }; function registerCurrentlyActiveExperiments() { var activeCampaigns = getAllActiveOptimizelyCampaigns(); if (activeCampaigns) { var experiments = []; for (var campaignId in activeCampaigns) { if (activeCampaigns.hasOwnProperty(campaignId)) { var experimentData = getExperimentData(campaignId); experiments.push(experimentData); } } for (var i = 0; i < experiments.length; i++) { experimentEventTest(experiments[i]); } } } // Register an event handler whenever the campaignDecided event is triggered function registerFutureActiveExperiments() { window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ type: 'addListener', filter: { type: 'lifecycle', name: 'campaignDecided' }, handler: function (event) { var id = event.data.campaign.id; var experimentData = [getExperimentData(id)]; experimentEventTest(experimentData); } }); } function getExperimentData(campaignId) { var campaign = getActiveOptimizelyCampaignById(campaignId); var experimentData = {}; if (campaign) { var browserIsSeeingTheExperiment = !campaign.isInCampaignHoldback; // true if (browserIsSeeingTheExperiment) { // construct an object with the experiment name and variation experimentData = { experiment: campaign.experiment.name, variation: campaign.variation.name }; } // } } return experimentData; } // Gets a campaign object from the Optimizely API for a given campaign ID function getAllActiveOptimizelyCampaigns() { return getOptimizelyCampaignState(); } function getActiveOptimizelyCampaignById(campaignId) { return getOptimizelyCampaignState()[campaignId]; } function getOptimizelyCampaignState() { var state = window['optimizely'] && window['optimizely'].get('state'); if (state) { return state.getCampaignStates({ isActive: true }); } return {}; } }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }) /******/ ]);; });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-optimizely-ati","language":"en-GB","version":"1.0.1","_mrrVersion":"2.0.16"},'u7879365643302392'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20191004204316/https://push.api.bbci.co.uk/public/client' }, 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(); } /* u7879365643302392 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-promise@1.0.6"]={"es6-promise":"3.2.1"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-promise@1.0.6"]=e(1)},function(t,n,e){var r=e(2).Promise;t.exports=r},function(t,n,e){var r;(function(t,o,i){(function(){"use strict";function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return"function"==typeof t}function c(t){V=t}function a(t){tt=t}function f(){return function(){t.nextTick(v)}}function l(){return function(){R(v)}}function h(){var t=0,n=new rt(v),e=document.createTextNode("");return n.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}function p(){var t=new MessageChannel;return t.port1.onmessage=v,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(v,1)}}function v(){for(var t=0;t<$;t+=2){var n=st[t],e=st[t+1];n(e),st[t]=void 0,st[t+1]=void 0}$=0}function _(){try{var t=e(5);return R=t.runOnLoop||t.runOnContext,l()}catch(t){return d()}}function y(t,n){var e=this,r=new this.constructor(w);void 0===r[at]&&N(r);var o=e._state;if(o){var i=arguments[o-1];tt(function(){F(o,r,i,e._result)})}else C(e,r,t,n);return r}function m(t){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var e=new n(w);return j(e,t),e}function w(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function A(t){try{return t.then}catch(t){return pt.error=t,pt}}function x(t,n,e,r){try{t.call(n,e,r)}catch(t){return t}}function E(t,n,e){tt(function(t){var r=!1,o=x(e,n,function(e){r||(r=!0,n!==e?j(t,e):M(t,e))},function(n){r||(r=!0,k(t,n))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,k(t,o))},t)}function T(t,n){n._state===lt?M(t,n._result):n._state===ht?k(t,n._result):C(n,void 0,function(n){j(t,n)},function(n){k(t,n)})}function S(t,n,e){n.constructor===t.constructor&&e===ut&&constructor.resolve===ct?T(t,n):e===pt?k(t,pt.error):void 0===e?M(t,n):u(e)?E(t,n,e):M(t,n)}function j(t,n){t===n?k(t,b()):s(n)?S(t,n,A(n)):M(t,n)}function P(t){t._onerror&&t._onerror(t._result),O(t)}function M(t,n){t._state===ft&&(t._result=n,t._state=lt,0!==t._subscribers.length&&tt(O,t))}function k(t,n){t._state===ft&&(t._state=ht,t._result=n,tt(P,t))}function C(t,n,e,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=n,o[i+lt]=e,o[i+ht]=r,0===i&&t._state&&tt(O,t)}function O(t){var n=t._subscribers,e=t._state;if(0!==n.length){for(var r,o,i=t._result,s=0;s<n.length;s+=3)r=n[s],o=n[s+e],r?F(e,r,o,i):o(i);t._subscribers.length=0}}function L(){this.error=null}function Y(t,n){try{return t(n)}catch(t){return dt.error=t,dt}}function F(t,n,e,r){var o,i,s,c,a=u(e);if(a){if(o=Y(e,r),o===dt?(c=!0,i=o.error,o=null):s=!0,n===o)return void k(n,g())}else o=r,s=!0;n._state!==ft||(a&&s?j(n,o):c?k(n,i):t===lt?M(n,o):t===ht&&k(n,o))}function D(t,n){try{n(function(n){j(t,n)},function(n){k(t,n)})}catch(n){k(t,n)}}function K(){return vt++}function N(t){t[at]=vt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function U(t){return new bt(this,t).promise}function W(t){var n=this;return new n(Z(t)?function(e,r){for(var o=t.length,i=0;i<o;i++)n.resolve(t[i]).then(e,r)}:function(t,n){n(new TypeError("You must pass an array to race."))})}function q(t){var n=this,e=new n(w);return k(e,t),e}function z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function B(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function G(t){this[at]=K(),this._result=this._state=void 0,this._subscribers=[],w!==t&&("function"!=typeof t&&z(),this instanceof G?D(this,t):B())}function H(t,n){this._instanceConstructor=t,this.promise=new t(w),this.promise[at]||N(this.promise),Z(n)?(this._input=n,this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&M(this.promise,this._result))):k(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function J(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=wt)}var Q;Q=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var R,V,X,Z=Q,$=0,tt=function(t,n){st[$]=t,st[$+1]=n,$+=2,2===$&&(V?V(v):X())},nt="undefined"!=typeof window?window:void 0,et=nt||{},rt=et.MutationObserver||et.WebKitMutationObserver,ot="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),it="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,st=new Array(1e3);X=ot?f():rt?h():it?p():void 0===nt?_():d();var ut=y,ct=m,at=Math.random().toString(36).substring(16),ft=void 0,lt=1,ht=2,pt=new L,dt=new L,vt=0,_t=U,yt=W,mt=q,wt=G;G.all=_t,G.race=yt,G.resolve=ct,G.reject=mt,G._setScheduler=c,G._setAsap=a,G._asap=tt,G.prototype={constructor:G,then:ut,catch:function(t){return this.then(null,t)}};var bt=H;H.prototype._enumerate=function(){for(var t=this.length,n=this._input,e=0;this._state===ft&&e<t;e++)this._eachEntry(n[e],e)},H.prototype._eachEntry=function(t,n){var e=this._instanceConstructor,r=e.resolve;if(r===ct){var o=A(t);if(o===ut&&t._state!==ft)this._settledAt(t._state,n,t._result);else if("function"!=typeof o)this._remaining--,this._result[n]=t;else if(e===wt){var i=new e(w);S(i,t,o),this._willSettleAt(i,n)}else this._willSettleAt(new e(function(n){n(t)}),n)}else this._willSettleAt(r(t),n)},H.prototype._settledAt=function(t,n,e){var r=this.promise;r._state===ft&&(this._remaining--,t===ht?k(r,e):this._result[n]=e),0===this._remaining&&M(r,this._result)},H.prototype._willSettleAt=function(t,n){var e=this;C(t,void 0,function(t){e._settledAt(lt,n,t)},function(t){e._settledAt(ht,n,t)})};var gt=J,At={Promise:wt,polyfill:gt};e(6).amd?(r=function(){return At}.call(n,e,n,i),!(void 0!==r&&(i.exports=r))):"undefined"!=typeof i&&i.exports?i.exports=At:"undefined"!=typeof this&&(this.ES6Promise=At),gt()}).call(this)}).call(n,e(3),function(){return this}(),e(4)(t))},function(t,n){function e(){l&&a&&(l=!1,a.length?f=a.concat(f):h=-1,f.length&&r())}function r(){if(!l){var t=s(e);l=!0;for(var n=f.length;n;){for(a=f,f=[];++h<n;)a&&a[h].run();h=-1,n=f.length}a=null,l=!1,u(t)}}function o(t,n){this.fun=t,this.array=n}function i(){}var s,u,c=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var a,f=[],l=!1,h=-1;c.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];f.push(new o(t,n)),1!==f.length||l||s(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){},function(t,n){t.exports=function(){throw new Error("define cannot be used indirect")}}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-istats@1.3.0"]={"bbc-morph-promise":"1.0.6",requirejs:"2.3.5"},function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){Morph.modules["bbc-morph-istats@1.3.0"]=t(1)},function(n,r,t){function e(){return p?a.resolve(p):new a(function(n){requirejs(["istats-1"],function(r){p=r,n(p)})})}function o(n){return"string"==typeof n&&n[0]}function u(n,r){return o(n)&&o(r)}function i(n,r,t){return e().then(function(e){e.log(n,r,t)})}function c(n,r){return e().then(function(t){t.track(n,r)})}function s(n,r,t){return u(n,r)?i(r,n,t):a.reject("Invalid parameters")}function f(){return e().then(function(n){return n.getCountername()})}var p,a=t(2);r.track=s,r.trackRegion=c,r.getCountername=f,r.log=i},function(n,r){n.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script><script>Morph.toInit.bundles.push(function() { !function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};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=35)}([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 r=n(11),a=n(26),i=n(16),o=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),a)try{return o(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){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=React},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=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(50),a=n(51);e.exports=function(e){return r(a(e))}},function(e,t,n){n(24)("asyncIterator")},function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(9),a=n(0),i=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(14)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(6);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(0),a=n(3),i=n(2),o=n(43),l=n(28),u=n(47).KEY,s=n(12),c=n(10),f=n(48),d=n(5),p=n(15),g=n(25),h=n(24),b=n(49),y=n(55),v=n(11),m=n(6),_=n(7),w=n(16),x=n(18),O=n(56),E=n(59),j=n(60),z=n(1),S=n(19),k=j.f,P=z.f,N=E.f,C=r.Symbol,R=r.JSON,T=R&&R.stringify,q=p("_hidden"),D=p("toPrimitive"),M={}.propertyIsEnumerable,L=c("symbol-registry"),A=c("symbols"),B=c("op-symbols"),G=Object.prototype,I="function"==typeof C,F=r.QObject,K=!F||!F.prototype||!F.prototype.findChild,W=i&&s(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=k(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,U=function(e){var t=A[e]=O(C.prototype);return t._k=e,t},H=I&&"symbol"==typeof C.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof C},Z=function(e,t,n){return e===G&&Z(B,t,n),v(e),t=w(t,!0),v(n),a(A,t)?(n.enumerable?(a(e,q)&&e[q][t]&&(e[q][t]=!1),n=O(n,{enumerable:x(0,!1)})):(a(e,q)||P(e,q,x(1,{})),e[q][t]=!0),W(e,t,n)):P(e,t,n)},Y=function(e,t){v(e);for(var n,r=b(t=_(t)),a=0,i=r.length;i>a;)Z(e,n=r[a++],t[n]);return e},J=function(e,t){return void 0===t?O(e):Y(O(e),t)},V=function(e){var t=M.call(this,e=w(e,!0));return!(this===G&&a(A,e)&&!a(B,e))&&(!(t||!a(this,e)||!a(A,e)||a(this,q)&&this[q][e])||t)},Q=function(e,t){if(e=_(e),t=w(t,!0),e!==G||!a(A,t)||a(B,t)){var n=k(e,t);return!n||!a(A,t)||a(e,q)&&e[q][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=N(_(e)),r=[],i=0;n.length>i;)a(A,t=n[i++])||t==q||t==u||r.push(t);return r},X=function(e){for(var t,n=e===G,r=N(n?B:_(e)),i=[],o=0;r.length>o;)!a(A,t=r[o++])||n&&!a(G,t)||i.push(A[t]);return i};I||(C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===G&&t.call(B,n),a(this,q)&&a(this[q],e)&&(this[q][e]=!1),W(this,e,x(1,n))};return i&&K&&W(G,e,{configurable:!0,set:t}),U(e)},l(C.prototype,"toString",function(){return this._k}),j.f=Q,z.f=Z,n(34).f=E.f=$,n(21).f=V,n(33).f=X,i&&!n(14)&&l(G,"propertyIsEnumerable",V,!0),g.f=function(e){return U(p(e))}),o(o.G+o.W+o.F*!I,{Symbol:C});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)p(ee[te++]);for(var ne=S(p.store),re=0;ne.length>re;)h(ne[re++]);o(o.S+o.F*!I,"Symbol",{for:function(e){return a(L,e+="")?L[e]:L[e]=C(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),o(o.S+o.F*!I,"Object",{create:J,defineProperty:Z,defineProperties:Y,getOwnPropertyDescriptor:Q,getOwnPropertyNames:$,getOwnPropertySymbols:X}),R&&o(o.S+o.F*(!I||s(function(){var e=C();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);if(n=t=r[1],(m(t)||void 0!==e)&&!H(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!H(t))return t}),r[1]=t,T.apply(R,r)}}),C.prototype[D]||n(17)(C.prototype,D,C.prototype.valueOf),f(C,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t){e.exports=!1},function(e,t,n){var r=n(10)("wks"),a=n(5),i=n(0).Symbol,o="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=o&&i[e]||(o?i:a)("Symbol."+e))}).store=r},function(e,t,n){var r=n(6);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(1),a=n(18);e.exports=n(2)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(29),a=n(20);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(69);e.exports=r},function(e,t,n){var r=n(70),a=r.Symbol;e.exports=a},function(e,t,n){var r=n(0),a=n(9),i=n(14),o=n(25),l=n(1).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:o.f(e)})}},function(e,t,n){t.f=n(15)},function(e,t,n){e.exports=!n(2)&&!n(12)(function(){return 7!=Object.defineProperty(n(27)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6),a=n(0).document,i=r(a)&&r(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,n){var r=n(0),a=n(17),i=n(3),o=n(5)("src"),l=n(44),u=(""+l).split("toString");n(9).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,l){var s="function"==typeof n;s&&(i(n,"name")||a(n,"name",t)),e[t]!==n&&(s&&(i(n,o)||a(n,o,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:l?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[o]||l.call(this)})},function(e,t,n){var r=n(3),a=n(7),i=n(52)(!1),o=n(32)("IE_PROTO");e.exports=function(e,t){var n,l=a(e),u=0,s=[];for(n in l)n!=o&&r(l,n)&&s.push(n);for(;t.length>u;)r(l,n=t[u++])&&(~i(s,n)||s.push(n));return s}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},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(10)("keys"),a=n(5);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(29),a=n(20).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36),a=n.n(r);Morph.modules["bbc-morph-bitesize-global-navigation-view@1.27.1"]=a.a},function(e,t,n){"use strict";function r(e){return(r="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)}e.exports=function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.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=8)}([function(e,t){e.exports=n(4)},function(e,t){e.exports=n(37)},function(e,t){e.exports=n(40)},function(e,t){e.exports=n(41)},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={"en-GB":{england:"England","northern-ireland":"Northern Ireland",scotland:"Scotland",wales:"Wales",home:"Home","learn-revise":"Learn & revise",support:"Support",careers:"Careers","my-bitesize":"My Bitesize","all-bitesize":"All Bitesize",menu:"Menu",primary:"Primary",secondary:"Secondary","post-16":"Post-16",subjects:"Subjects",maths:"Maths",science:"Science",geography:"Geography",spanish:"Spanish",english:"English",history:"History",french:"French","63-more-subjects":"63 more subjects"},"cy-GB":{england:"Lloegr","northern-ireland":"Gogledd Iwerddon",scotland:"Yr Alban",wales:"Cymru",home:"Hafan","learn-revise":"Dysgu ac adolygu",support:"Cyngor",careers:"Gyrfaoedd","my-bitesize":"Fy Bitesize","all-bitesize":"Pob pwnc",menu:"Dewislen",primary:"Cynradd",secondary:"Uwchradd","post-16":"Ôl 16",subjects:"Pynciau",maths:"Mathemateg",science:"Gwyddoniaeth",geography:"Daearyddiaeth",spanish:"Sbaeneg",english:"Saesneg",history:"Hanes",french:"Ffrangeg","all-subjects":"Pob pwnc...","63-more-subjects":"63 o bynciau eraill"},"ga-GB":{england:"Sasana","northern-ireland":"Tuaisceart Eireann",scotland:"Albain",wales:"An Bhreatain Bheag",home:"Baile","learn-revise":"Foghlaim",support:"Tacaíocht",careers:"Gairmeacha","my-bitesize":"Mo Bitesize","all-bitesize":"Bitesize Uilig",menu:"Clàr",primary:"Bunoideachas",secondary:"Meánoideachas","post-16":"Iar-16",subjects:"Ábhair",maths:"Matamaitic",science:"Eolaíocht",geography:"Tíreolaíocht",spanish:"Spáinnis",english:"Béarla",history:"Stair",french:"Fraincis","63-more-subjects":"63 ábhar eile"},"gd-GB":{england:"Sasainn","northern-ireland":"Eirinn a Tuath",scotland:"Alba",wales:"A'Chuimrigh",home:"Dachaigh","learn-revise":"Ionnsaich",support:"Taic",careers:"Dreuchdan","my-bitesize":"Bitesize agamsa","all-bitesize":"Bitesize gu lèir",menu:"Roghchlár",primary:"Bun-sgoil",secondary:"Àrd-sgoil","post-16":"Nas sine na 16",subjects:"Cuspairean",maths:"Matamataig",science:"Saidheans",geography:"Cruinn-eòlas",spanish:"Spàinntis",english:"Beurla",history:"Eachdraidh",french:"Fraingis","63-more-subjects":"63 cuspairean a bharrachd"}};t.default=r,e.exports=t.default},function(e,t){e.exports=n(42)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(2)),l=r(n(5)),u=r(n(3)),s=r(n(7)),c=r(n(4)),f=function(e){return e.toLowerCase().replace(/[^\w]+/,"-")},d=function(e,t,n){return[n,t].includes("/bitesize".concat(e.href))},p=function(e){var t=e.buckets,n=e.pageType,r=e.language,i=e.href,p=e.onClick,g=e.showDrawer,h=e.includeLanguageSelector,b=e.linkToHighlight;return u.default.initLocalisations({language:r,localisations:c.default}),a.default.createElement("ul",{className:"global-navigation__list"},t.map(function(e){var t=(0,o.default)("global-navigation__list__item",{"global-navigation__list__item--highlighted":d(e,i,b)});return a.default.createElement("li",{className:t,key:f(e.title)},a.default.createElement("a",{className:"global-navigation__list__link",href:"/bitesize".concat(e.href)},a.default.createElement("span",{className:"global-navigation__list__link-text"},u.default.localise(f(e.title)))))}),a.default.createElement("li",null,a.default.createElement("ul",{className:"global-navigation__list__items--pinned"},a.default.createElement("li",{className:(0,o.default)("global-navigation__list__item",{"global-navigation__list__item--highlighted":"my"===n}),key:"my-bitesize"},a.default.createElement("a",{className:"global-navigation__list__link",href:"/bitesize/my"},a.default.createElement("span",{className:(0,o.default)("global-navigation__list__link-my-bitesize",{"global-navigation__list__link-my-bitesize--no-border":g})},u.default.localise("my-bitesize")))),h&&a.default.createElement("li",{className:"global-navigation__list__item",key:"language-selector"},a.default.createElement(s.default,{language:r})),a.default.createElement("li",{className:"global-navigation__list__item global-navigation__list__item--pinned global-navigation__list__item--all-bitesize",key:"all-bitesize"},a.default.createElement("button",{type:"button",onClick:p,className:(0,o.default)("global-navigation__list__link--button","global-navigation__list__link--button--pinned",{"global-navigation__list__link--button--pinned--open":g}),"aria-live":"polite","aria-label":"Menu button, this menu is ".concat(g?"open":"closed")},a.default.createElement("span",{className:"gel-icon gel-icon--list-view"},a.default.createElement(l.default,null)),a.default.createElement("span",{className:"global-navigation__list__link-text"},u.default.localise("all-bitesize")))))))};p.defaultProps={pageType:"",language:"en-GB",includeLanguageSelector:!1,href:null,linkToHighlight:""},p.propTypes={buckets:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}).isRequired).isRequired,href:i.default.string,pageType:i.default.string,language:i.default.string,onClick:i.default.func.isRequired,showDrawer:i.default.bool.isRequired,includeLanguageSelector:i.default.bool,linkToHighlight:i.default.string};var g=p;t.default=g,e.exports=t.default},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function o(){return o=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},o.apply(this,arguments)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?d(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(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&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return v(e)||y(e,t)||b()}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function y(e,t){var n=[],r=!0,a=!1,i=void 0;try{for(var o,l=e[Symbol.iterator]();!(r=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(a)throw i}}return n}function v(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var m=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),_=a(n(1)),w=a(n(2)),x=a(n(12)),O=a(n(13)),E=function(){var e=new Date;return e.setYear(e.getFullYear()+1),e},j=function(e,t){var n=window.bbccookies._getCurrentDomain()||".bbc.co.uk";n="."===n.charAt(0)?n:".".concat(n),window.bbccookies.set(e,t,{path:"/",domain:n,expires:E()})},z=function(e){j("ckps_kl_lang",e),window.location.reload(!0)},S=function(e){return h(x.default.filter(function(t){return t.languageCode===e}),1)[0]||x.default[0]},k=function(e){function t(){var e;return l(this,t),e=c(this,f(t).call(this)),e.state={showLanguages:!1},e.close=e.close.bind(d(e)),e.closeClickEvent=e.closeClickEvent.bind(d(e)),e.toggle=e.toggle.bind(d(e)),e.handleKeyPress=e.handleKeyPress.bind(d(e)),e.handleFocusOut=e.handleFocusOut.bind(d(e)),e}return p(t,e),s(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("mousedown",this.closeClickEvent),document.addEventListener("touchstart",this.closeClickEvent),document.addEventListener("focusout",this.handleFocusOut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("mousedown",this.closeClickEvent),document.removeEventListener("touchstart",this.closeClickEvent),document.removeEventListener("focusout",this.handleFocusOut)}},{key:"closeClickEvent",value:function(e){this.state.showLanguages&&!this.languageSelector.contains(e.target)&&this.setState({showLanguages:!1})}},{key:"handleFocusOut",value:function(e){this.closeClickEvent({target:e.relatedTarget||e.target})}},{key:"handleKeyPress",value:function(e){27===e.keyCode&&this.setState({showLanguages:!1})}},{key:"close",value:function(){this.setState({showLanguages:!1})}},{key:"toggle",value:function(){this.setState(function(e){return{showLanguages:!e.showLanguages}})}},{key:"render",value:function(){var e=this,t=this.props,n=t.language,r=t.className,a=this.state.showLanguages,i=S(n),l=x.default.filter(function(e){return e.languageCode!==i.languageCode});return m.default.createElement("div",{className:(0,w.default)("global-language-selector",r),ref:function(t){e.languageSelector=t}},m.default.createElement("button",{type:"button",onClick:this.toggle,className:"global-language-selector__drawer ".concat(a?"global-language-selector__drawer--open":"global-language-selector__drawer--closed")},m.default.createElement("span",{className:"global-language-selector__drawer-text"},i.languageLabel)),m.default.createElement("div",{className:(0,w.default)("global-language-selector__container",{"global-language-selector__container--hidden":!a})},m.default.createElement("ol",{className:"global-language-selector__list"},m.default.createElement(O.default,o({},i,{onClick:z,selected:!0})),l.map(function(e){return m.default.createElement(O.default,o({key:"".concat(e.languageCode)},e,{onClick:z}))}))))}}]),t}(m.Component);k.defaultProps={language:"en-GB",className:""},k.propTypes={language:_.default.string,className:_.default.string};var P=k;t.default=P,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(9)),l=r(n(23)),u=function(e){var t=e.language,n=e.href,r=e.pageType,i=e.phase,u=e.headerData;return a.default.createElement(o.default,{language:t,href:n,pageType:r,phase:i,headerData:u,navigationData:l.default,subdirectory:"bitesize"})};u.defaultProps={headerData:{}},u.propTypes={language:i.default.string.isRequired,href:i.default.string.isRequired,pageType:i.default.string.isRequired,phase:i.default.string.isRequired,headerData:i.default.shape({title:i.default.string.isRequired,children:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired})).isRequired})};var s=u;t.default=s,e.exports=t.default},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(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&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(0)),h=a(n(1)),b=a(n(10)),y=a(n(17)),v=function(e){function t(e){var n;return o(this,t),n=s(this,c(t).call(this,e)),n.state={showDrawer:!1},n.toggleDrawer=n.toggleDrawer.bind(f(n)),n}return d(t,e),u(t,[{key:"componentDidMount",value:function(){var e=document.querySelector(".global-navigation__header__logo__link");null!==e&&e.addEventListener("animationend",function(e){e.target.classList.remove("global-navigation__header__logo__link--animate"),e.target.classList.remove("global-navigation__header__logo__link--delay-animation")})}},{key:"toggleDrawer",value:function(){document.body.classList.toggle("drawer-open"),this.setState(function(e){return{showDrawer:!e.showDrawer}})}},{key:"render",value:function(){var e=this.props,t=e.pageType,n=e.language,r=e.subdirectory,a=e.navigationData,i=e.href,o=e.phase,l=e.headerData,u=this.state.showDrawer;return g.default.createElement("div",{className:"global-navigation"},g.default.createElement(b.default,{buckets:a.buckets,pageType:t,href:i,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:u,phase:o,headerData:l}),g.default.createElement(y.default,{allBitesize:a.allBitesize,buckets:a.buckets,href:i,pageType:t,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:u,headerData:l}))}}]),t}(g.Component);v.defaultProps={pageType:"",href:"",subdirectory:"bitesize",language:"en-GB",phase:"",headerData:{}},v.propTypes={navigationData:h.default.shape({buckets:h.default.arrayOf(h.default.shape({title:h.default.string.isRequired,href:h.default.string.isRequired}).isRequired).isRequired}).isRequired,href:h.default.string,pageType:h.default.string,subdirectory:h.default.string,language:h.default.string,phase:h.default.string,headerData:h.default.shape({title:h.default.string.isRequired,children:h.default.arrayOf(h.default.shape({title:h.default.string.isRequired,href:h.default.string.isRequired})).isRequired})};var m=v;t.default=m,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(5)),l=r(n(3)),u=r(n(2)),s=r(n(4)),c=r(n(11)),f=function(e){var t=e.buckets,n=e.pageType,r=e.href,i=e.language,f=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.phase,h=e.headerData;return l.default.initLocalisations({language:i,localisations:s.default}),a.default.createElement("header",{className:"global-navigation__header"},a.default.createElement("div",{className:"global-navigation__header__wrap"},a.default.createElement("span",{className:"global-navigation__header__logo",tabIndex:"-1"},a.default.createElement("a",{className:"global-navigation__header__logo__link--animate global-navigation__header__logo__link--delay-animation ".concat(g?"global-navigation__header__logo__link global-navigation__header__logo__link--phase-".concat(g.toLowerCase()):"global-navigation__header__logo__link"),href:"/".concat(f),onMouseEnter:function(e){e.target.classList.add("global-navigation__header__logo__link--animate")}},"Bitesize")),a.default.createElement("button",{type:"button",className:(0,u.default)("global-navigation__header__menu-button",{"global-navigation__header__menu-button-active":p}),onClick:function(){return d()},"aria-label":"Open menu"},a.default.createElement("i",{className:"gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view"},a.default.createElement(o.default,null)),a.default.createElement("span",{className:"global-navigation__header__menu-button__text"},l.default.localise("all-bitesize"))),a.default.createElement(c.default,{href:r,buckets:t,pageType:n,language:i,subdirectory:f,showDrawer:p,onClick:d,headerData:h})))};f.displayName="Header",f.defaultProps={href:"",language:"en-GB",pageType:"",phase:"",showDrawer:!1,subdirectory:"bitesize",headerData:{}},f.propTypes={buckets:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}).isRequired).isRequired,href:i.default.string,language:i.default.string,onClick:i.default.func.isRequired,pageType:i.default.string,phase:i.default.string,showDrawer:i.default.bool,subdirectory:i.default.string,headerData:i.default.shape({title:i.default.string.isRequired,children:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired})).isRequired})};var d=f;t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(6)),l=r(n(15)),u=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},s=function(e){var t=e.showDrawer,n=e.buckets,r=e.pageType,i=e.language,s=e.href,c=e.onClick,f=e.headerData;return a.default.createElement("div",{className:"global-navigation__mobile-nav"},t&&a.default.createElement("div",{className:"global-navigation__mobile-nav__drawer"},a.default.createElement(o.default,{buckets:n,pageType:r,language:i,href:s,onClick:c,showDrawer:t,linkToHighlight:f?f.href:null,includeLanguageSelector:!0})),u(f)&&a.default.createElement(l.default,{submenu:f,currentPage:s}))};s.defaultProps={pageType:"",language:"en-GB",showDrawer:!1,href:null,headerData:{}},s.propTypes={buckets:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}).isRequired).isRequired,pageType:i.default.string,language:i.default.string,showDrawer:i.default.bool,onClick:i.default.func.isRequired,href:i.default.string,headerData:i.default.shape({title:i.default.string.isRequired,children:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired})).isRequired})};var c=s;t.default=c,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=[{languageCode:"en-GB",languageLabel:"Change language",label:"English"},{languageCode:"cy-GB",languageLabel:"Newid iaith",label:"Cymraeg"},{languageCode:"ga-GB",languageLabel:"Athraigh teanga",label:"Gaeilge"},{languageCode:"gd-GB",languageLabel:"Atharraich cànan",label:"Gàidhlig"}];t.default=r,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(2)),l=r(n(14)),u=function(e){var t=e.label,n=e.onClick,r=e.languageCode,i=e.selected;return a.default.createElement("li",{key:r,className:(0,o.default)("global-language-selector__language",{"global-language-selector__language--selected":i})},a.default.createElement("button",{type:"button",tabIndex:"0",lang:r,className:"global-language-selector__language-link",onClick:function(){return n(r)},"aria-label":i?"".concat(t,", selected"):t},a.default.createElement("span",{className:"global-language-selector__language-label",lang:r},t),i&&a.default.createElement("span",{className:"global-language-selector__icon-yes gel-icon gel-icon--yes"},a.default.createElement(l.default,null))))};u.defaultProps={selected:!1},u.propTypes={label:i.default.string.isRequired,onClick:i.default.func.isRequired,languageCode:i.default.string.isRequired,selected:i.default.bool};var s=u;t.default=s,e.exports=t.default},function(e,t){e.exports=n(61)},function(e,t,n){function a(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(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&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var g=a(n(0)),h=a(n(1)),b=a(n(2)),y=a(n(16)),v=function(e){function t(e){var n;return o(this,t),n=s(this,c(t).call(this,e)),n.toggleClick=n.toggleClick.bind(f(n)),n.state={isExpanded:!1},n}return d(t,e),u(t,[{key:"toggleClick",value:function(){this.setState(function(e){return{isExpanded:!e.isExpanded}})}},{key:"render",value:function(){var e=this.props,t=e.submenu,n=t.title,r=t.children,a=e.currentPage,i=this.state.isExpanded;return g.default.createElement("nav",{className:(0,b.default)("global-navigation__mobile-sub-nav",{"global-navigation__mobile-sub-nav--expanded":i})},g.default.createElement("h3",{className:"global-navigation__mobile-sub-nav-title"},g.default.createElement("button",{type:"button",className:"global-navigation__mobile-sub-nav__toggle",onClick:this.toggleClick,"aria-expanded":i,"aria-controls":"mobile-sub-nav-menu"},g.default.createElement("span",{className:"global-navigation__mobile-sub-nav-title__text"},n),g.default.createElement("span",{className:"global-navigation__chevron__down-svg"},g.default.createElement(y.default,null)))),g.default.createElement("ul",{id:"mobile-sub-nav-menu",className:"global-navigation__mobile-sub-nav-menu",hidden:!i},r.map(function(e){var t=e.title,n=e.href,r=a===n;return g.default.createElement("li",{key:t,className:(0,b.default)("global-navigation__mobile-sub-nav-menu-item",{"global-navigation__mobile-sub-nav-menu-item--highlighted":r})},g.default.createElement("a",{className:"global-navigation__mobile-sub-nav-menu-link",href:n,"data-bbc-container":"global-navigation","aria-current":r?"page":null},t))})))}}]),t}(g.default.Component);v.displayName="MobileSubNav",v.propTypes={submenu:h.default.shape({title:h.default.string.isRequired,children:h.default.arrayOf(h.default.shape({title:h.default.string.isRequired,href:h.default.string.isRequired})).isRequired}).isRequired,currentPage:h.default.string.isRequired};var m=v;t.default=m,e.exports=t.default},function(e,t){e.exports=n(62)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(18)),l=r(n(6)),u=r(n(7)),s=r(n(22)),c=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},f=function(e){var t=e.allBitesize,n=e.buckets,r=e.pageType,i=e.language,f=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.href,h=e.headerData;return a.default.createElement("nav",{className:"global-navigation__primary-nav"},a.default.createElement("div",{className:"global-navigation__primary-nav__wrap"},a.default.createElement(u.default,{language:i}),a.default.createElement(l.default,{buckets:n,pageType:r,language:i,subdirectory:f,onClick:d,showDrawer:p,href:g,linkToHighlight:h?h.href:null})),p&&a.default.createElement(o.default,{language:i,allBitesize:t,subdirectory:f}),c(h)&&a.default.createElement("div",{className:"global-navigation__sub-nav-wrap"},a.default.createElement(s.default,{currentPage:g,submenu:h})))};f.displayName="PrimaryNav",f.defaultProps={pageType:"",subdirectory:"bitesize",language:"en-GB",showDrawer:!1,href:"",headerData:{}},f.propTypes={allBitesize:i.default.arrayOf(i.default.shape({section:i.default.string.isRequired,content:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}))})).isRequired,buckets:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}).isRequired).isRequired,href:i.default.string,pageType:i.default.string,subdirectory:i.default.string,language:i.default.string,onClick:i.default.func.isRequired,showDrawer:i.default.bool,headerData:i.default.shape({title:i.default.string.isRequired,children:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired})).isRequired})};var d=f;t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(19)),l=r(n(20)),u=r(n(21)),s=r(n(3)),c=r(n(4)),f=function(e){return e.toLowerCase().replace(/[^\w]+/g,"-")},d=function(e){var t=e.className,n=e.allBitesize,r=e.subdirectory,i=e.language;return s.default.initLocalisations({language:i,localisations:c.default}),a.default.createElement("div",{className:t},a.default.createElement("div",{className:"global-navigation__drawer__content"},a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--primary-list"},n.map(function(e){return e.href?a.default.createElement("li",{key:(0,l.default)((0,o.default)(e.section)),className:"global-navigation__drawer__content-primary-list-item global-navigation__drawer__content-primary-list-item--clickable"},a.default.createElement("a",{className:"global-navigation__drawer__content-primary-list-item__link",href:"/".concat(r).concat(e.href),"aria-label":e.aria},a.default.createElement("h2",{className:"global-navigation__drawer__content-primary-list-item__link__header"},s.default.localise(f(e.section)),a.default.createElement(u.default,null)))):a.default.createElement("li",{key:(0,o.default)(e.section),className:"global-navigation__drawer__content-primary-list-item"},a.default.createElement("h2",{className:"global-navigation__drawer__content-primary-list-item__header"},s.default.localise(f(e.section))),a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--secondary-list"},e.regions.map(function(e){return a.default.createElement("li",{key:(0,l.default)((0,o.default)(e.region)),className:"global-navigation__drawer__content-secondary-list-item-container"},a.default.createElement("h3",{"aria-label":e.aria,className:"global-navigation__drawer__content-secondary-list-item__header"},s.default.localise(f(e.region))),a.default.createElement("ul",{className:"global-navigation__drawer__content-list global-navigation__drawer__content-list--tertiary-list"},e.content.map(function(t){return a.default.createElement("li",{className:"global-navigation__drawer__content-tertiary-list-item",key:(0,l.default)(t.zid)},a.default.createElement("a",{className:"global-navigation__drawer__content-tertiary-list-item__link",href:"/".concat(r).concat(t.href),"aria-label":t.aria?t.aria:"".concat(t.title," ").concat(e.region)},a.default.createElement("p",{className:"global-navigation__drawer__content-tertiary-list-item__text-container"},a.default.createElement("span",{className:"global-navigation__drawer__content-tertiary-list-item__text"},s.default.localise(f(t.title))||t.title))))})))})))}))))};d.defaultProps={className:"global-navigation__drawer",allBitesize:[],subdirectory:"bitesize",language:"en-GB"},d.propTypes={className:i.default.string,allBitesize:i.default.arrayOf(i.default.shape({section:i.default.string.isRequired,content:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired}))})),subdirectory:i.default.string,language:i.default.string};var p=d;t.default=p,e.exports=t.default},function(e,t){e.exports=n(63)},function(e,t){e.exports=n(84)},function(e,t){e.exports=n(85)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),i=r(n(1)),o=r(n(2)),l=function(e){var t=e.submenu.children,n=e.currentPage;return a.default.createElement("nav",{className:"global-navigation__sub-nav"},a.default.createElement("ul",{className:"global-navigation__sub-nav__menu"},t.map(function(e){var t=e.title,r=e.href,i=n===r;return a.default.createElement("li",{key:t,className:(0,o.default)("global-navigation__sub-nav__menu__item",{"global-navigation__sub-nav__menu__item--selected":i})},a.default.createElement("a",{className:"global-navigation__sub-nav__menu__link",href:r,"data-bbc-container":"global-navigation","aria-current":i?"page":null},t))})))};l.displayName="SubNav",l.propTypes={submenu:i.default.shape({title:i.default.string.isRequired,children:i.default.arrayOf(i.default.shape({title:i.default.string.isRequired,href:i.default.string.isRequired})).isRequired}).isRequired,currentPage:i.default.string.isRequired};var u=l;t.default=u,e.exports=t.default},function(e,t){e.exports={buckets:[{title:"Home",href:""},{title:"learn-revise",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"}],pinned:{title:"My Bitesize",href:"/my"},allBitesize:[{section:"Primary",regions:[{region:"England",aria:"English curriculum",content:[{title:"KS1",href:"/levels/z3g4d2p",zid:"z3g4d2p",aria:"Key Stage one England"},{title:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two England"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[{title:"KS1",href:"/levels/z3g4d2p",zid:"z3g4d2p",aria:"Key Stage one Northern Ireland"},{title:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two Northern Ireland"}]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"Early level",href:"/levels/zf7hgwx",zid:"zf7hgwx",aria:"Early level"},{title:"1st level",href:"/levels/zgckjxs",zid:"zgckjxs",aria:"First level"},{title:"A' Chiad Ìre ",href:"/levels/zk3xy9q",zid:"zk3xy9q",aria:"A' Chiad Ìre "},{title:"2nd Level",href:"/levels/zr48q6f",zid:"zr48q6f",aria:"Second level"},{title:"An Dàrna Ìre",href:"/levels/z4y2scw",zid:"z4y2scw",aria:"An Dàrna Ìre"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Foundation Phase",href:"/levels/zxybmsg",zid:"zxybmsg",aria:"Foundation phase"},{title:"CA2",href:"/levels/zbpwt39",zid:"zbpwt39",aria:"CA2"},{title:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two Wales"}]}]},{section:"Secondary",regions:[{region:"England",aria:"English curriculum",content:[{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three England"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE England"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Northern Ireland"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Northern Ireland"}]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"3rd level",href:"/levels/zy4qn39",zid:"zy4qn39",aria:"Third level"},{title:"4th level",href:"/levels/zvk2fg8",zid:"zvk2fg8",aria:"Fourth level"},{title:"Nàiseanta 4",href:"/levels/z8hhvcw",zid:"z8hhvcw",aria:"Naiseanta four"},{title:"Nàiseanta 5",href:"/levels/zdpp34j",zid:"zdpp34j",aria:"Naiseanta five"},{title:"National 4",href:"/levels/zp3d7ty",zid:"zp3d7ty",aria:"National four"},{title:"National 5",href:"/levels/z6gw2hv",zid:"z6gw2hv",aria:"National five"},{title:"Àrd Ìre",href:"/levels/zqq4wxs",zid:"zqq4wxs",aria:"Ard Ire"},{title:"Higher",href:"/levels/zkdqxnb",zid:"zkdqxnb",aria:"Higher Scotland"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"CA3",href:"/levels/zh6vr82",zid:"zh6vr82",aria:"CA3"},{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Wales"},{title:"CBC",href:"/levels/zqxy8mn",zid:"zqxy8mn",aria:"CBC"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Wales"},{title:"TGAU",href:"/levels/z8w76sg",zid:"z8w76sg",aria:"TGAU"},{title:"WBQ",href:"/levels/z9wtgdm",zid:"z9wtgdm",aria:"WBQ"}]}]},{section:"Post-16",regions:[{region:"England",aria:"English curriculum",content:[{title:"Functional Skills (Levels 1 and 2)",href:"/levels/zvhtng8",zid:"",aria:"Functional Skills levels one and two"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"Core Skills (Level 3)",href:"/levels/z66jhbk",zid:"z66jhbk",aria:"Core skills level three"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Essential Skills (Level 1 and 2)",href:"/levels/zhh7nrd",zid:"zhh7nrd",aria:"Essential skills levels one and two"}]}]},{section:"Subjects",regions:[{region:"",aria:"",content:[{title:"Maths",href:"/subjects/z6vg9j6",zid:"z6vg9j6",aria:"Maths"},{title:"English",href:"/subjects/zt3rkqt",zid:"zt3rkqt",aria:"English"}]},{region:"",aria:"",content:[{title:"Science",href:"/subjects/z7nygk7",zid:"z7nygk7",aria:"Science"},{title:"Cymraeg",href:"/subjects/zf48q6f",zid:"zf48q6f",aria:"Cymraeg"}]},{region:"",aria:"",content:[{title:"Gàidhlig",href:"/subjects/zgj2tfr",zid:"zgj2tfr",aria:"Gàidhlig"},{title:"63 more subjects",href:"/subjects/",zid:"",aria:"63 more subjects"}]}]},{section:"Support",href:"/support",aria:"Support"},{section:"Careers",href:"/careers",aria:"Careers"}]}}])},function(e,t,n){e.exports=n(38)()},function(e,t,n){"use strict";function r(){}function a(){}var i=n(39);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,a;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=n.apply(null,r);o&&e.push(o)}else if("object"===a)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(a=function(){return n}.apply(t,r))&&(e.exports=a))}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=["en-GB","ga-GB","gd-GB","cy-GB"],i="en-GB",o=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=function(e,t){return void 0!==n[t]?n[t]:e};return e.replace(/{(\d+)}/g,a)},l=function(e){var t=e.language,n=e.localisations;a.indexOf(t)>=0&&(i=t),n&&(r=n)},u=function(){return i},s=function(e){if(!r)throw new Error("No localisation data has been set.");if(!r[i])return"";for(var t=r[i][e],n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];return a.length>0?o.apply(void 0,[t].concat(a)):t},c={initLocalisations:l,getLocale:u,localise:s};t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return(r="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(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&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(8),n(13);var d=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),l(this,s(t).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.svg=t}},d.default.createElement("path",{d:"M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){var r=n(0),a=n(9),i=n(17),o=n(28),l=n(45),u=function(e,t,n){var s,c,f,d,p=e&u.F,g=e&u.G,h=e&u.S,b=e&u.P,y=e&u.B,v=g?r:h?r[t]||(r[t]={}):(r[t]||{}).prototype,m=g?a:a[t]||(a[t]={}),_=m.prototype||(m.prototype={});g&&(n=t);for(s in n)c=!p&&v&&void 0!==v[s],f=(c?v:n)[s],d=y&&c?l(f,r):b&&"function"==typeof f?l(Function.call,f):f,v&&o(v,s,f,e&u.U),m[s]!=f&&i(m,s,d),b&&_[s]!=f&&(_[s]=f)};r.core=a,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,n){e.exports=n(10)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(46);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,a){return e.call(t,n,r,a)}}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(5)("meta"),a=n(6),i=n(3),o=n(1).f,l=0,u=Object.isExtensible||function(){return!0},s=!n(12)(function(){return u(Object.preventExtensions({}))}),c=function(e){o(e,r,{value:{i:"O"+ ++l,w:{}}})},f=function(e,t){if(!a(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},d=function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return s&&g.NEED&&u(e)&&!i(e,r)&&c(e),e},g=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){var r=n(1).f,a=n(3),i=n(15)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(19),a=n(33),i=n(21);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var o,l=n(e),u=i.f,s=0;l.length>s;)u.call(e,o=l[s++])&&t.push(o);return t}},function(e,t,n){var r=n(30);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(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 r=n(7),a=n(53),i=n(54);e.exports=function(e){return function(t,n,o){var l,u=r(t),s=a(u.length),c=i(o,s);if(e&&n!=n){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>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),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(31),a=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?a(e+t,0):i(e,t)}},function(e,t,n){var r=n(30);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(11),a=n(57),i=n(20),o=n(32)("IE_PROTO"),l=function(){},u=function(){var e,t=n(27)("iframe"),r=i.length;for(t.style.display="none",n(58).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[o]=e):n=u(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(1),a=n(11),i=n(19);e.exports=n(2)?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),l=o.length,u=0;l>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(7),a=n(34).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return a(e)}catch(e){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?l(e):a(r(e))}},function(e,t,n){var r=n(21),a=n(18),i=n(7),o=n(16),l=n(3),u=n(26),s=Object.getOwnPropertyDescriptor;t.f=n(2)?s:function(e,t){if(e=i(e),t=o(t,!0),u)try{return s(e,t)}catch(e){}if(l(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e){return(r="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(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&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(8),n(13);var d=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),l(this,s(t).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{className:"bitesize-yes-svg",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"31.8px",height:"32px",viewBox:"0 0 31.8 32",enableBackground:"new 0 0 31.8 32",ref:function(t){e.svg=t}},d.default.createElement("polygon",{points:"12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 \t"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e){return(r="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(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&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(8),n(13);var d=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),l(this,s(t).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",ref:function(t){e.svg=t}},d.default.createElement("g",{id:"Grid"}),d.default.createElement("g",{id:"Layer_2"},d.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3"})))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default},function(e,t,n){var r=n(64),a=r(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});e.exports=a},function(e,t,n){function r(e){return function(t){return a(o(i(t).replace(l,"")),e,"")}}var a=n(65),i=n(66),o=n(80),l=RegExp("['’]","g");e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++a]);++a<i;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e){return(e=i(e))&&e.replace(o,a).replace(l,"")}var a=n(67),i=n(22),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,l=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(68),a={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(a);e.exports=i},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e)return e;if(o(e))return i(e,r)+"";if(l(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var a=n(23),i=n(73),o=n(74),l=n(75),u=1/0,s=a?a.prototype:void 0,c=s?s.toString:void 0;e.exports=r},function(e,t,n){var r=n(71),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();e.exports=i},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(72))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&a(e)==o}var a=n(76),i=n(79),o="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?u:l:s&&s in Object(e)?i(e):o(e)}var a=n(23),i=n(77),o=n(78),l="[object Null]",u="[object Undefined]",s=a?a.toStringTag:void 0;e.exports=r},function(e,t,n){function r(e){var t=o.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var a=l.call(e);return r&&(t?e[u]=n:delete e[u]),a}var a=n(23),i=Object.prototype,o=i.hasOwnProperty,l=i.toString,u=a?a.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return a.call(e)}var r=Object.prototype,a=r.toString;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e,t,n){return e=o(e),t=n?void 0:t,void 0===t?i(e)?l(e):a(e):e.match(t)||[]}var a=n(81),i=n(82),o=n(22),l=n(83);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(g)||[]}var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+r+"]",i="[a-z\\xdf-\\xf6\\xf8-\\xff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:"+i+"|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])",c="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",f="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",o,l].join("|")+")[\\ufe0e\\ufe0f]?"+c+")*",d="[\\ufe0e\\ufe0f]?"+c+f,p="(?:"+["[\\u2700-\\u27bf]",o,l].join("|")+")"+d,g=RegExp([u+"?"+i+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,u,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,u+s,"$"].join("|")+")",u+"?"+s+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",p].join("|"),"g");e.exports=n},function(e,t,n){function r(e){var t=++i;return a(e)+t}var a=n(22),i=0;e.exports=r},function(e,t,n){"use strict";function r(e){return(r="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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(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&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(8),n(13);var d=function(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 r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(4)),p=function(e){function t(){return a(this,t),l(this,s(t).apply(this,arguments))}return c(t,e),o(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return d.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"31.9",height:"32",viewBox:"0 0 31.9 32",ref:function(t){e.svg=t}},d.default.createElement("path",{d:"M29 16L3 0v7.2L17.6 16 3 24.8V32z"}))}}]),t}(d.Component),g=p;t.default=g,e.exports=t.default}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-header-view@8.16.1"]={"@babel/runtime":"7.6.2","@bbc/bitesize-branding":"12.0.0","@bbc/education-share-tools":"1.0.0","@bbc/mr-sparkle":"3.0.0","bbc-morph-bitesize-class-clip-data":"1.3.4","bbc-morph-bitesize-class-clips-data":"1.2.3","bbc-morph-bitesize-core-components":"12.3.0","bbc-morph-bitesize-crumbtrail":"2.1.2","bbc-morph-bitesize-examspec":"2.0.6","bbc-morph-bitesize-field-of-study":"1.2.2","bbc-morph-bitesize-global-navigation-view":"1.27.1","bbc-morph-bitesize-header-data":"1.11.0","bbc-morph-bitesize-level":"3.1.0","bbc-morph-bitesize-personalisation-client-tools":"9.0.0","bbc-morph-bitesize-programme-of-study":"4.2.1","bbc-morph-bitesize-topics-for-web":"2.3.0","bbc-morph-blocks-article-data":"5.2.0","bbc-morph-istats":"1.3.0","bbc-morph-istats-internal-link-tracking":"1.0.0","classnames":"2.2.6","lodash":"4.17.15","morph-container":"4.0.0","react":"0.14.7","react-dom":"0.14.7"}; !function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=193)}([function(t,e){t.exports=React},function(t,e,n){var r=n(126),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e,n){t.exports=n(479)()},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,n){var r=n(173),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){n(186)("asyncIterator")},function(t,e,n){"use strict";var r=n(6),o=n(15),i=n(14),u=n(40),a=n(43),c=n(452).KEY,f=n(21),s=n(44),l=n(73),p=n(28),d=n(16),h=n(187),v=n(186),y=n(453),g=n(454),b=n(41),_=n(27),m=n(23),x=n(67),j=n(42),w=n(122),O=n(455),k=n(456),A=n(13),P=n(22),E=k.f,S=A.f,T=O.f,I=r.Symbol,z=r.JSON,R=z&&z.stringify,M=d("_hidden"),C=d("toPrimitive"),W={}.propertyIsEnumerable,L=s("symbol-registry"),D=s("symbols"),B=s("op-symbols"),F=Object.prototype,N="function"==typeof I,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=i&&f(function(){return 7!=w(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=E(F,e);r&&delete F[e],S(t,e,n),r&&t!==F&&S(F,e,r)}:S,G=function(t){var e=D[t]=w(I.prototype);return e._k=t,e},V=N&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===F&&K(B,e,n),b(t),e=x(e,!0),b(n),o(D,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=w(n,{enumerable:j(0,!1)})):(o(t,M)||S(t,M,j(1,{})),t[M][e]=!0),$(t,e,n)):S(t,e,n)},Z=function(t,e){b(t);for(var n,r=y(e=m(e)),o=0,i=r.length;i>o;)K(t,n=r[o++],e[n]);return t},H=function(t,e){return void 0===e?w(t):Z(w(t),e)},Y=function(t){var e=W.call(this,t=x(t,!0));return!(this===F&&o(D,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,M)&&this[M][t])||e)},J=function(t,e){if(t=m(t),e=x(e,!0),t!==F||!o(D,e)||o(B,e)){var n=E(t,e);return!n||!o(D,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=T(m(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==M||e==c||r.push(e);return r},Q=function(t){for(var e,n=t===F,r=T(n?B:m(t)),i=[],u=0;r.length>u;)!o(D,e=r[u++])||n&&!o(F,e)||i.push(D[e]);return i};N||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(B,n),o(this,M)&&o(this[M],t)&&(this[M][t]=!1),$(this,t,j(1,n))};return i&&U&&$(F,t,{configurable:!0,set:e}),G(t)},a(I.prototype,"toString",function(){return this._k}),k.f=J,A.f=K,n(188).f=O.f=X,n(46).f=Y,n(70).f=Q,i&&!n(45)&&a(F,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!N,{Symbol:I});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)d(tt[et++]);for(var nt=P(d.store),rt=0;nt.length>rt;)v(nt[rt++]);u(u.S+u.F*!N,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=I(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),u(u.S+u.F*!N,"Object",{create:H,defineProperty:K,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),z&&u(u.S+u.F*(!N||f(function(){var t=I();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(_(e)||void 0!==t)&&!V(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!V(e))return e}),r[1]=e,R.apply(z,r)}}),I.prototype[C]||n(12)(I.prototype,C,I.prototype.valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var r=n(13),o=n(42);t.exports=n(14)?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(41),o=n(114),i=n(67),u=Object.defineProperty;e.f=n(14)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return u(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){t.exports=!n(21)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(44)("wks"),o=n(28),i=n(6).Symbol,u="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=u&&i[t]||(u?i:o)("Symbol."+t))}).store=r},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(220),i=n(225);t.exports=r},function(t,e,n){function r(t){return null==t?void 0===t?c:a:f&&f in Object(t)?i(t):u(t)}var o=n(25),i=n(221),u=n(222),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(372),i=n(377);t.exports=r},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(116),o=n(69);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(117),o=n(119);t.exports=function(t){return r(o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(1),o=r.Symbol;t.exports=o},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},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){function r(t,e,n){return o(i,t,e,n)}var o=n(216),i=n(218);t.exports=r},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(18),i=n(3),u="[object Symbol]";t.exports=r},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(143),i=n(145),u=n(147);t.exports=r},function(t,e,n){var r=n(284),o=n(94),i=n(285),u=n(286),a=n(125),c=n(18),f=n(127),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||u&&"[object Set]"!=v(new u)||a&&"[object WeakMap]"!=v(new a))&&(v=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?f(n):"";if(r)switch(r){case s:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=v},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(320);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(30),i=1/0;t.exports=r},function(t,e){t.exports=Morph.modules["prop-types@15.7.2"]},function(t,e,n){function r(t){return null==t?void 0===t?c:a:f&&f in Object(t)?i(t):u(t)}var o=n(59),i=n(373),u=n(374),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.openWindow=void 0;var r=function(t,e){var n=(t-e)/2;return n>0?Math.floor(n):0},o=function(t,e){if(window){var n=window.innerWidth||window.document.documentElement.clientWidth||window.document.body.clientWidth,o=window.innerHeight||window.document.documentElement.clientHeight||window.document.body.clientHeight,i=r(n,575),u=r(o,400),a="status=1,width=".concat(575,",height=").concat(400,",left=").concat(i,",top=").concat(u);window.open(t,e,a).moveTo(i,u)}};e.openWindow=o},function(t,e,n){"use strict";var r=n(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(113)),s=o(n(482)),l=r(n(0)),p=o(n(66)),d=n(0).PropTypes||n(5),h=function(t){var e=t.icon,n=t.lowerCaseName,r=t.standalone,o=(0,p.default)("ec-share-icon__svg",(0,s.default)({"ec-share-icon__svg--standalone":r},"ec-share-icon__svg--".concat(n),n));return l.default.createElement("span",{className:o},e)};h.propTypes={icon:d.element.isRequired,lowerCaseName:d.string.isRequired,standalone:d.bool.isRequired};var v=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.buttonRef=null,n}return(0,f.default)(e,t),(0,u.default)(e,[{key:"render",value:function(){var t=this,e=this.props,n=e.icon,r=e.name,o=e.standalone,i=e.onClick,u=e.position,a=(r||"").toLowerCase(),c=(0,p.default)("ec-share-button","ec-share-button--transparent",(0,s.default)({},"ec-share-button--".concat(a),a)),f=(0,p.default)("ec-share-cta-text",(0,s.default)({},"ec-share-cta-text--display-only-to-screen-reader",o));return l.default.createElement("button",{ref:function(e){t.buttonRef=e},className:c,"data-bbc-container":"Share Tools","data-bbc-title":r,"data-bbc-metadata":JSON.stringify({CHD:"".concat(o?"button":"menu-item",":: ").concat(u)}),"data-bbc-result":o?"share-pop-up":"share-menu","data-bbc-ignore-views":1,onClick:function(){i()}},l.default.createElement(h,{icon:n,lowerCaseName:a,standalone:o}),l.default.createElement("span",{className:f},r))}}]),e}(l.Component);v.propTypes={icon:d.node.isRequired,name:d.string.isRequired,standalone:d.bool.isRequired,onClick:d.func.isRequired,position:d.number.isRequired},v.defaultProps={dataBbc:{}};var y=v;e.default=y},function(t,e,n){var r=n(6),o=n(26),i=n(12),u=n(43),a=n(198),c=function(t,e,n){var f,s,l,p,d=t&c.F,h=t&c.G,v=t&c.S,y=t&c.P,g=t&c.B,b=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,_=h?o:o[e]||(o[e]={}),m=_.prototype||(_.prototype={});h&&(n=e);for(f in n)s=!d&&b&&void 0!==b[f],l=(s?b:n)[f],p=g&&s?a(l,r):y&&"function"==typeof l?a(Function.call,l):l,b&&u(b,f,l,t&c.U),_[f]!=l&&i(_,f,p),y&&m[f]!=l&&(m[f]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(27);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},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(6),o=n(12),i=n(15),u=n(28)("src"),a=n(197),c=(""+a).split("toString");n(26).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var f="function"==typeof n;f&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(f&&(i(n,u)||o(n,u,t[e]?""+t[e]:c.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,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,e,n){var r=n(26),o=n(6),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(45)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=o(t.prototype),r=t.apply(n,e);return i(r)?r:n}}var o=n(49),i=n(11);t.exports=r},function(t,e,n){var r=n(11),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){function r(t,e,n,r){var u=!n;n||(n={});for(var a=-1,c=e.length;++a<c;){var f=e[a],s=r?r(n[f],t[f],f,n,t):void 0;void 0===s&&(s=t[f]),u?i(n,f,s):o(n,f,s)}return n}var o=n(142),i=n(85);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(254),i=n(255),u=n(256),a=n(257),c=n(258);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(86);t.exports=r},function(t,e,n){var r=n(17),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(272);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(362),i=n(363),u=n(364),a=n(365),c=n(366);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(171);t.exports=r},function(t,e,n){var r=n(7),o=r.Symbol;t.exports=o},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var r=n(20),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(386);t.exports=r},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(407),i=n(414),u=n(106);t.exports=r},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(36),i=n(37),u="[object Symbol]";t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(64),i=1/0;t.exports=r},function(t,e,n){var r,o;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var u=n.apply(null,r);u&&t.push(u)}else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(n.default=n,t.exports=n):(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){var r=n(27);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,n){var r=n(44)("keys"),o=n(28);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(119);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(13).f,o=n(15),i=n(16)("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){function r(t,e,n,r,j,w,O,k){var A=e&y;if(!A&&"function"!=typeof t)throw new TypeError(h);var P=r?r.length:0;if(P||(e&=~(_|m),r=j=void 0),O=void 0===O?O:x(d(O),0),k=void 0===k?k:d(k),P-=j?j.length:0,e&m){var E=r,S=j;r=j=void 0}var T=A?void 0:f(t),I=[t,e,n,r,j,E,S,w,O,k];if(T&&s(I,T),t=I[0],e=I[1],n=I[2],r=I[3],j=I[4],k=I[9]=void 0===I[9]?A?0:t.length:x(I[9]-P,0),!k&&e&(g|b)&&(e&=~(g|b)),e&&e!=v)z=e==g||e==b?u(t,e,k):e!=_&&e!=(v|_)||j.length?a.apply(void 0,I):c(t,e,n,r);else var z=i(t,e,n);return p((T?o:l)(z,I),t,e)}var o=n(123),i=n(226),u=n(227),a=n(128),c=n(244),f=n(80),s=n(245),l=n(134),p=n(136),d=n(140),h="Expected a function",v=1,y=2,g=8,b=16,_=32,m=64,x=Math.max;t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(18),i=n(11),u="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",f="[object Proxy]";t.exports=r},function(t,e){function n(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}t.exports=n},function(t,e,n){function r(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=u,this.__views__=[]}var o=n(49),i=n(79),u=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){var r=n(124),o=n(229),i=r?function(t){return r.get(t)}:o;t.exports=i},function(t,e,n){function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}var o=n(49),i=n(79);r.prototype=o(i.prototype),r.prototype.constructor=r,t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}t.exports=n},function(t,e){function n(t,e){var n=typeof t;return!!(e=null==e?r:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e){function n(t,e){for(var n=-1,o=t.length,i=0,u=[];++n<o;){var a=t[n];a!==e&&a!==r||(t[n]=r,u[i++]=n)}return u}var r="__lodash_placeholder__";t.exports=n},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(138);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(249),o=n(3),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e,n){(function(t){var r=n(1),o=n(250),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?r.Buffer:void 0,f=c?c.isBuffer:void 0,s=f||o;t.exports=s}).call(e,n(19)(t))},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){(function(t){var r=n(126),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===o,a=u&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(19)(t))},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(52),i=n(259),u=n(260),a=n(261),c=n(262),f=n(263);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=a,r.prototype.has=c,r.prototype.set=f,t.exports=r},function(t,e,n){var r=n(17),o=n(1),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(264),i=n(271),u=n(273),a=n(274),c=n(275);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){var r=n(281),o=n(150),i=Object.prototype,u=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return u.call(t,e)}))}:o;t.exports=c},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){var r=n(146),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(154);t.exports=r},function(t,e,n){function r(t,e){if(o(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!u.test(t)||null!=e&&t in Object(e))}var o=n(2),i=n(30),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):c(t)}var o=n(360),i=n(424),u=n(434),a=n(8),c=n(435);t.exports=r},function(t,e,n){var r=n(20),o=n(7),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(378),i=n(385),u=n(387),a=n(388),c=n(389);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(172),i=n(105);t.exports=r},function(t,e,n){function r(t,e){if(o(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||(a.test(t)||!u.test(t)||null!=e&&t in Object(e))}var o=n(8),i=n(64),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},function(t,e){function n(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return n=function(){return t},t}function r(t){if(t&&t.__esModule)return t;var e=n();if(e&&e.has(t))return e.get(t);var r={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(r,i,u):r[i]=t[i]}}return r.default=t,e&&e.set(t,r),r}t.exports=r},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(477),i=n(192);t.exports=r},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(478);t.exports=r},function(t,e,n){t.exports=!n(14)&&!n(21)(function(){return 7!=Object.defineProperty(n(115)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(27),o=n(6).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(15),o=n(23),i=n(201)(!1),u=n(68)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,f=[];for(n in a)n!=u&&r(a,n)&&f.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(f,n)||f.push(n));return f}},function(t,e,n){var r=n(118);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){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){"use strict";var r=n(205),o=n(206),i=n(72),u=n(23);t.exports=n(207)(Array,"Array",function(t,e){this._t=u(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(41),o=n(209),i=n(69),u=n(68)("IE_PROTO"),a=function(){},c=function(){var t,e=n(115)("iframe"),r=i.length;for(e.style.display="none",n(210).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(75),o=n(124),i=o?function(t,e){return o.set(t,e),t}:r;t.exports=i},function(t,e,n){var r=n(125),o=r&&new r;t.exports=o},function(t,e,n){var r=n(17),o=n(1),i=r(o,"WeakMap");t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(47))},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,_,m,x,j,w,O,k){function A(){for(var d=arguments.length,h=Array(d),v=d;v--;)h[v]=arguments[v];if(T)var y=f(A),g=u(h,y);if(_&&(h=o(h,_,m,T)),x&&(h=i(h,x,j,T)),d-=g,T&&d<k){var b=l(h,y);return c(t,e,r,A.placeholder,n,h,b,w,O,k-d)}var R=E?n:this,M=S?R[t]:t;return d=h.length,w?h=s(h,w):I&&d>1&&h.reverse(),P&&O<d&&(h.length=O),this&&this!==p&&this instanceof A&&(M=z||a(M)),M.apply(R,h)}var P=e&g,E=e&d,S=e&h,T=e&(v|y),I=e&b,z=S?void 0:a(t);return A}var o=n(129),i=n(130),u=n(228),a=n(48),c=n(131),f=n(139),s=n(243),l=n(84),p=n(1),d=1,h=2,v=8,y=16,g=128,b=512;t.exports=r},function(t,e){function n(t,e,n,o){for(var i=-1,u=t.length,a=n.length,c=-1,f=e.length,s=r(u-a,0),l=Array(f+s),p=!o;++c<f;)l[c]=e[c];for(;++i<a;)(p||i<u)&&(l[n[i]]=t[i]);for(;s--;)l[c++]=t[i++];return l}var r=Math.max;t.exports=n},function(t,e){function n(t,e,n,o){for(var i=-1,u=t.length,a=-1,c=n.length,f=-1,s=e.length,l=r(u-c,0),p=Array(l+s),d=!o;++i<l;)p[i]=t[i];for(var h=i;++f<s;)p[h+f]=e[f];for(;++a<c;)(d||i<u)&&(p[h+n[a]]=t[i++]);return p}var r=Math.max;t.exports=n},function(t,e,n){function r(t,e,n,r,d,h,v,y,g,b){var _=e&s,m=_?v:void 0,x=_?void 0:v,j=_?h:void 0,w=_?void 0:h;e|=_?l:p,(e&=~(_?p:l))&f||(e&=~(a|c));var O=[t,e,d,j,m,w,x,y,g,b],k=n.apply(void 0,O);return o(t)&&i(k,O),k.placeholder=r,u(k,t,e)}var o=n(132),i=n(134),u=n(136),a=1,c=2,f=4,s=8,l=32,p=64;t.exports=r},function(t,e,n){function r(t){var e=u(t),n=a[e];if("function"!=typeof n||!(e in o.prototype))return!1;if(t===n)return!0;var r=i(n);return!!r&&t===r[0]}var o=n(78),i=n(80),u=n(133),a=n(231);t.exports=r},function(t,e,n){function r(t){for(var e=t.name+"",n=o[e],r=u.call(o,e)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==t)return i.name}return e}var o=n(230),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(123),o=n(135),i=o(r);t.exports=i},function(t,e){function n(t){var e=0,n=0;return function(){var u=i(),a=o-(u-n);if(n=u,a>0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){var r=e+"";return u(t,i(r,a(o(r),n)))}var o=n(233),i=n(234),u=n(137),a=n(237);t.exports=r},function(t,e,n){var r=n(235),o=n(135),i=o(r);t.exports=i},function(t,e,n){var r=n(17),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(246);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(51),i=n(31);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(85),i=n(86),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],v=h.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||s&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,v))||h.push(y);return h}var o=n(248),i=n(87),u=n(2),a=n(88),c=n(83),f=n(144),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(251),o=n(90),i=n(91),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(92),i=n(252),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(76),i=n(89);t.exports=r},function(t,e,n){function r(t,e,n,R,M,C){var W,L=e&k,D=e&A,B=e&P;if(n&&(W=M?n(t,R,M,C):n(t)),void 0!==W)return W;if(!j(t))return t;var F=_(t);if(F){if(W=y(t),!L)return s(t,W)}else{var N=v(t),q=N==S||N==T;if(m(t))return f(t,L);if(N==I||N==E||q&&!M){if(W=D||q?{}:b(t),!L)return D?p(t,c(W,t)):l(t,a(W,t))}else{if(!z[N])return M?t:{};W=g(t,N,L)}}C||(C=new o);var U=C.get(t);if(U)return U;if(C.set(t,W),w(t))return t.forEach(function(o){W.add(r(o,e,n,o,t,C))}),W;if(x(t))return t.forEach(function(o,i){W.set(i,r(o,e,n,i,t,C))}),W;var $=B?D?h:d:D?keysIn:O,G=F?void 0:$(t);return i(G||t,function(o,i){G&&(i=o,o=t[i]),u(W,i,r(o,e,n,i,t,C))}),W}var o=n(93),i=n(82),u=n(142),a=n(141),c=n(276),f=n(279),s=n(50),l=n(280),p=n(282),d=n(152),h=n(283),v=n(32),y=n(287),g=n(288),b=n(293),_=n(2),m=n(88),x=n(294),j=n(11),w=n(296),O=n(31),k=1,A=2,P=4,E="[object Arguments]",S="[object Function]",T="[object GeneratorFunction]",I="[object Object]",z={};z[E]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[I]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[S]=z["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){return u(t)?o(t,!0):i(t)}var o=n(143),i=n(277),u=n(147);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(97),o=n(98),i=n(96),u=n(150),a=Object.getOwnPropertySymbols,c=a?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:u;t.exports=c},function(t,e,n){function r(t){return o(t,u,i)}var o=n(153),i=n(96),u=n(31);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(97),i=n(2);t.exports=r},function(t,e,n){var r=n(1),o=r.Uint8Array;t.exports=o},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):c(t)}var o=n(303),i=n(316),u=n(75),a=n(2),c=n(324);t.exports=r},function(t,e,n){function r(t,e,n,u,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,u,r,a))}var o=n(305),i=n(3);t.exports=r},function(t,e,n){function r(t,e,n,r,f,s){var l=n&a,p=t.length,d=e.length;if(p!=d&&!(l&&d>p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var v=-1,y=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++v<p;){var b=t[v],_=e[v];if(r)var m=l?r(_,b,v,e,t,s):r(b,_,v,t,e,s);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!i(e,function(t,e){if(!u(g,e)&&(b===t||f(b,t,n,r,s)))return g.push(e)})){y=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){y=!1;break}}return s.delete(t),s.delete(e),y}var o=n(306),i=n(309),u=n(310),a=1,c=2;t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(11);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var o=n(161),i=n(34);t.exports=r},function(t,e,n){function r(t,e){return o(t)?t:i(t,e)?[t]:u(a(t))}var o=n(2),i=n(100),u=n(162),a=n(33);t.exports=r},function(t,e,n){var r=n(318),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=u},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t){return u(i(t,void 0,o),t+"")}var o=n(328),i=n(331),u=n(137);t.exports=r},function(t,e){t.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},function(t,e){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,e,n){"use strict";var r=n(101);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(166)),i=r(n(56)),u=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/id-config"],function(n){n["bbcid-v5"]&&"RED"!==n["bbcid-v5"]?t():(i.default.track("id_flagpole_red","error"),e(new Error("Flagpole RED or value missing")))},function(t){i.default.track("requirejs","error",{error_message:t.toString()}),e(t)})})},a={checkFlagpole:u};e.default=a,t.exports=e.default},function(t,e){t.exports=Morph.modules["whatwg-fetch@2.0.4"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={live:{uasApiKey:"f84u0qqpuquhr",newtonApiKey:"hY7m6nL3dPAXyn9kK763kW65tu3hG0A0"},test:{uasApiKey:"rn5lii9febqql",newtonApiKey:"0YIvZUWEyGJxVGIyyuHIHKANb4cshSXt"}},o=function(){return window&&window.Morph&&""!==window.Morph.config.pushEnv?window.Morph.config.pushEnv:"test"},i=function(){return window&&window.location&&window.location.hostname&&window.location.hostname.includes("bbc.co.uk")?"co.uk":"com"},u={test:".test",live:""},a=function(){return u[o()]},c=function(){return r[o()].uasApiKey},f=function(){return"https://activity".concat(a(),".api.bbc.").concat(i())},s=function(){return"https://newton".concat(a(),".api.bbc.").concat(i())},l=function(){return r[o()].newtonApiKey},p=function(){return"https://idcta".concat(a(),".api.bbc.co.uk")},d=function(){return"https://push".concat(a(),".api.bbci.co.uk")},h=function(){return"https://www".concat(a(),".bbc.com")},v={getUASHost:f,getUASApiKey:c,getNewtonHost:s,getNewtonApiKey:l,getIdHost:p,getMorphPushProxyHost:d,getBBCHost:h};e.default=v,t.exports=e.default},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(57),i=n(367),u=n(368),a=n(369),c=n(370),f=n(371);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=a,r.prototype.has=c,r.prototype.set=f,t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(36),i=n(60),u="[object AsyncFunction]",a="[object Function]",c="[object GeneratorFunction]",f="[object Proxy]";t.exports=r},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(47))},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,u,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,u,r,a))}var o=n(390),i=n(37);t.exports=r},function(t,e,n){function r(t,e,n,r,f,s){var l=n&a,p=t.length,d=e.length;if(p!=d&&!(l&&d>p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var v=-1,y=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++v<p;){var b=t[v],_=e[v];if(r)var m=l?r(_,b,v,e,t,s):r(b,_,v,t,e,s);if(void 0!==m){if(m)continue;y=!1;break}if(g){if(!i(e,function(t,e){if(!u(g,e)&&(b===t||f(b,t,n,r,s)))return g.push(e)})){y=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){y=!1;break}}return s.delete(t),s.delete(e),y}var o=n(391),i=n(394),u=n(395),a=1,c=2;t.exports=r},function(t,e,n){var r=n(409),o=n(37),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},function(t,e,n){(function(t){var r=n(7),o=n(410),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?r.Buffer:void 0,f=c?c.isBuffer:void 0,s=f||o;t.exports=s}).call(e,n(19)(t))},function(t,e){function n(t,e){var n=typeof t;return!!(e=null==e?r:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;t.exports=n},function(t,e,n){var r=n(411),o=n(412),i=n(413),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(60);t.exports=r},function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(184);t.exports=r},function(t,e,n){function r(t,e){e=o(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}var o=n(185),i=n(65);t.exports=r},function(t,e,n){function r(t,e){return o(t)?t:i(t,e)?[t]:u(a(t))}var o=n(8),i=n(107),u=n(425),a=n(428);t.exports=r},function(t,e,n){var r=n(6),o=n(26),i=n(45),u=n(187),a=n(13).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:u.f(t)})}},function(t,e,n){e.f=n(16)},function(t,e,n){var r=n(116),o=n(69).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"32,3.5 28.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,32 32,28.5 19.5,16"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"18px",height:"26px",viewBox:"0 0 32 48",enableBackground:"new 0 0 32 48",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"32,3.5 28.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,32 32,28.5 19.5,16"}),p.default.createElement("rect",{y:"43.8",x:"0",height:"4.2",width:"32"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=(r(n(35)),function(t){var e=t.onClick,n=t.text,r=t.isEnabled,i=t.className,u=t.children,a=t.aria;return o.default.createElement("button",{type:"button",className:"bitesize__button ".concat(i),disabled:!r,onClick:e,"aria-live":a},u,n)});i.defaultProps={className:"",isEnabled:!0,text:"",aria:"off",children:""};var u=i;e.default=u,t.exports=e.default},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,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(194),o=n.n(r);Morph.modules["bbc-morph-bitesize-header-view@8.16.1"]=o.a},function(t,e,n){"use strict";function r(t){return(r="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)}t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=41)}([function(t,e){t.exports=n(0)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(21)),o={"en-GB":{"all-subjects":{label:"All subjects",description:"Learning resources for adults, children, parents and teachers organised by subject."},counter:{clips:{plural:"$numberOfClassClips class clips",singular:"$numberOfClassClips class clip"},guides:{plural:"$numberOfLearnerGuides learner guides",singular:"$numberOfLearnerGuides learner guide"}},subjects:"Subjects",levels:"Levels",partOf:"Part of","class-clips":"class clips",duration:"Duration $clipDuration","Learn & revise":"Learn & revise",buttonText:{added:"Added",addToMyBitesize:"Add to My Bitesize",adding:"Adding",removing:"Removing",remove:"Remove"},errorSavingNotification:"Sorry, we haven't been able to save your changes",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Share",headerText:"Share this with",readMoreText:"Read more about sharing",copyLinkText:"Copy link",copiedText:"Copied!"}},"ga-GB":{"all-subjects":{label:"Na hábhair ar fad",description:"Acmhainní foghlama do dhaoine fásta, páistí, tuismitheoirí agus múinteoirí eagraithe de réir leibhéil, ábhair agus topaice."},counter:{clips:{plural:"$numberOfClassClips gearrthóg ranga",singular:"$numberOfClassClips gearrthóg ranga"},guides:{plural:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí",singular:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí"}},subjects:"Ábhair",levels:"Leibhéil",partOf:"Cuid de","class-clips":"gearrthóga ranga",duration:"Fad $clipDuration","Learn & revise":"Foghlaim",buttonText:{added:"Curtha leis",addToMyBitesize:"Cuir le Mo Bitesize",adding:"Ag cur leis",removing:"Á bhaint",remove:"Bain"},errorSavingNotification:"Buartha, níor éirigh linn d'athruithe a shábháil",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Roinn",headerText:"Roinn é seo le",readMoreText:"Léigh níos mó maidir le comhroinnt",copyLinkText:"Cóipeáil an nasc",copiedText:"Cóipeáilte!"}},"gd-GB":{"all-subjects":{label:"Na cuspairean air fad",description:"Goireasan foghlaim dha inbhich, clann, pàrantan is tidsearan le fiosrachadh mu chuspairean."},counter:{clips:{plural:"$numberOfClassClips criomagan clas",singular:"$numberOfClassClips chriomag clas"},guides:{plural:"$numberOfLearnerGuides Iùil luchd-ionnsachaidh",singular:"$numberOfLearnerGuides Iùl Luchd-ionnsachaidh"}},subjects:"Cuspairean",levels:"Ìrean",partOf:"Pàirt de","class-clips":"criomagan clas",duration:"Fad $clipDuration","Learn & revise":"Ionnsaich",buttonText:{added:"Air a chur-ris",addToMyBitesize:"Cuir ri Bitesize Agamsa",adding:"A' cur-ris",removing:"A' dubhadh às",remove:"Dubh às"},errorSavingNotification:"Duilich, cha deach againn air d' atharrachaidhean a shàbhaladh",signInUpsellToolTipTitle:"Cuir an t-iùil-ionnsachaidh seo ri Bitesize Agamsa",signInUpsellToolTipText:"Feumaidh tu logadh a-steach airson seo a chur ri Bitesize Agamsa",shareTools:{ctaText:"Sgaoil",headerText:"Sgaoil seo gu",readMoreText:"Leugh tuilleadh mu sgaoileadh",copyLinkText:"Leth-bhreac den cheangal",copiedText:"Leth-bhreac dèanta!"}},"cy-GB":{"all-subjects":{label:"Holl bynciau",description:"Adnoddau dysgu i oedolion, plant, rhieni ac athrawon wedi'u trefnu yn ôl pwnc."},counter:{clips:{plural:"$numberOfClassClips o glipiau dosbarth",singular:"$numberOfClassClips clip dosbarth"},guides:{plural:"$numberOfLearnerGuides o ganllawiau i ddysgwyr",singular:"$numberOfLearnerGuides canllaw i ddysgwyr"}},subjects:"Pynciau",levels:"Lefelau",partOf:"Rhan o bwnc",partOfWelshAlternative:"Rhan o'r adran","class-clips":"clipiau dosbarth",duration:"Hyd $clipDuration","Learn & revise":"Dysgu ac adolygu",buttonText:{added:"Wedi ychwanegu",addToMyBitesize:"Ychwanegu i Fy Bitesize",adding:"Wrthi'n ychwanegu",removing:"Wrthi'n dileu",remove:"Dileu"},errorSavingNotification:"Dyw dy newidiadau ddim wedi cael eu cadw",signInUpsellToolTipTitle:"Ychwanegu’r canllaw dysgu yma i Fy Bitesize",signInUpsellToolTipText:"Rhaid i ti fewngofnodi i ychwanegu hwn i Fy Bitesize",shareTools:{ctaText:"Rhannu",headerText:"Rhannu hwn gyda",readMoreText:"Darllen mwy am rannu",copyLinkText:"Copïo’r ddolen",copiedText:"Wedi copïo"}}},i=function(){return{"en-gb":"en-GB","ga-gb":"ga-GB","gd-gb":"gd-GB","cy-gb":"cy-GB"}[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase()]||"en-GB"},u=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,r.default)(o,"".concat(i(t),".").concat(e),"");return Object.keys(n).reduce(function(t,e){return t.replace("$".concat(e),n[e])},u)}};e.default=u,t.exports=e.default},function(t,e){t.exports=n(195)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.validateDuration=e.formatDuration=void 0;var r=/PT(?:(\d+)H)?(?:(\d+)M)?(\d+)S?/,o=function(t){return"string"==typeof t&&t.match(r)||!1};e.validateDuration=o;var i=function(t){var e=o(t);if(!e)return"";e.shift();var n=e.filter(function(t){return void 0!==t});return n.map(function(e,r){var o=e&&1===e.toString().length?"0".concat(e):e;return r<n.length-1?"".concat(o,":"):1===n.length&&t.indexOf("M")>0?"".concat(o,":00"):1===n.length&&t.indexOf("S")>0?"00:".concat(o):o}).concat().join("")};e.formatDuration=i},function(t,e){t.exports=n(56)},function(t,e){t.exports=n(349)},function(t,e){t.exports=n(350)},function(t,e){t.exports=n(357)},function(t,e){t.exports=n(358)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(6)),i=r(n(5)),u=function(t,e){return i.default.getDetails().then(function(n){return n.hasPersonalisationEnabled?o.default.postReadForAnArticle(t,e):Promise.resolve()})},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"favourited",n=arguments.length>2?arguments[2]:void 0;return o.default.postFavourite({id:t,type:n,action:e})},c={submitRead:u,submitFavourite:a};e.default=c,t.exports=e.default},function(t,e){t.exports=n(443)},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 s(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(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&&v(t,e)}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var y=function(t){if(t&&t.__esModule)return t;var e=i();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}}return n.default=t,e&&e.set(t,n),n}(n(0)),g=o(n(12)),b=o(n(13)),_=o(n(14)),m=o(n(15)),x=n(16),j=o(n(17)),w=o(n(39)),O=function(t){return(0,g.default)("header-image-no-logo",{"header-image-container--in-app":t})},k=function(t,e,n){return(0,g.default)("bitesize-header-background",t?"bitesize-header-background--phase-".concat(t.toLowerCase()):"",{"bitesize-header-background--primary-index":"primary-index"===e},{"bitesize-header-background--in-app":n})},A=function(t){return["programme-of-study","examspecs","primary-index"].includes(t)},P=function(t,e){var n=["zgkw2hv","zjxhfg8","z6svr82","z826n39","zv48q6f","z2pfb9q"],r=["primary-index"];return n.includes(e)||r.includes(t)},E=function(t,e){return A(t)&&!P(t,e)},S=function(t){function e(t){var n;return c(this,e),n=l(this,d(e).call(this,t)),n.state={notificationMessage:"",notificationError:!1},n}return h(e,t),s(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.phase,r=t.fosZid;n(40);var o=e.toLowerCase();window.mrSparkle({phase:o,selector:".bitesize-header-background",zid:r})}},{key:"render",value:function(){var t=this,e=this.props,n=e.phase,r=e.isInApp,o=e.fosZid,i=e.isPreview,u=e.pageType,c=e.headerData,f=e.zid,s=this.state,l=s.notificationMessage,p=s.notificationError,d=["index-page","flashcards","tags","collection-index"],h=function(e,n){t.setState({notificationMessage:e,notificationError:n})};return y.default.createElement("div",null,y.default.createElement("div",{className:k(n,u,r)}),y.default.createElement(m.default,{message:l,notificationClearedAction:function(){t.state.notificationMessage="",t.state.notificationError=!1},isError:p}),y.default.createElement("div",null,!r&&y.default.createElement(b.default,a({},this.props,{headerData:c})),y.default.createElement(_.default,{fosZid:o,className:O(r)},i&&y.default.createElement("p",{className:"preview-panel"},"THIS IS A PREVIEW PAGE"),d.indexOf(u)<0&&y.default.createElement(j.default,a({},this.props,{displayPartialWidth:E(u,f),setNotificationMessage:h,showPartOf:!r&&"primary-index"!==u})),A(u)&&y.default.createElement(w.default,{pageHasPartialWidthContextPanel:E(u,f),url:(0,x.getIllustrationUrl)(this.props)}))))}}]),e}(y.Component);S.displayName="Header",S.defaultProps={description:"",zid:null,topicId:null,label:"",isPreview:void 0,numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,fosZid:"",subdirectory:"education",globalNav:"false",phase:"",isTaggedWithMultipleTopics:!1,headerData:{}},S.propTypes={description:y.PropTypes.string,fosZid:y.PropTypes.string,label:y.PropTypes.string,language:y.PropTypes.string.isRequired,numberOfClassClips:y.PropTypes.number,numberOfLearnerGuides:y.PropTypes.number,hasTopics:y.PropTypes.bool,pageType:y.PropTypes.string.isRequired,zid:y.PropTypes.string,topicId:y.PropTypes.string,isPreview:y.PropTypes.string,subdirectory:y.PropTypes.string,globalNav:y.PropTypes.string,phase:y.PropTypes.string,isInApp:y.PropTypes.bool.isRequired,isTaggedWithMultipleTopics:y.PropTypes.bool,headerData:y.PropTypes.shape({title:y.PropTypes.string.isRequired,href:y.PropTypes.string.isRequired,children:y.PropTypes.arrayOf(y.PropTypes.shape({title:y.PropTypes.string.isRequired,href:y.PropTypes.string.isRequired})).isRequired})};var T=S;e.default=T,t.exports=e.default},function(t,e){t.exports=n(66)},function(t,e){t.exports=n(448)},function(t,e){t.exports=n(449)},function(t,e){t.exports=n(451)},function(t,e,n){var r=function(t){return"primary-index"===t.pageType?"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/images/phases/primary/".concat(t.pageType,".png"):"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/images/svgs/subjects/v2/".concat(t.phase.toLowerCase(),"/").concat(t.fosZid,".svg")};t.exports={getIllustrationUrl:r}},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;var e=o();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),u=r(n(18)),a=r(n(19)),c=r(n(23)),f=n(3),s=r(n(24)),l=r(n(27)),p=r(n(37)),d=function(t,e,n){var r="404"!==t,o=""!==e;return r&&o&&!n},h=function(t,e,n){var r=["z98jmp3","z6gw2hv","zdpp34j","z8w76sg","zp3d7ty","z8hhvcw","zkdqxnb","zqq4wxs"];return!n&&r.includes(t)&&"guide"===e},v=function(t,e,n){var r=t;return e&&(r=r.replace(new RegExp("^(".concat(e,"\\s)([\\-|\\–]\\s)?"),"g"),"").trim()),n&&(r=r.replace(new RegExp("(\\s[\\-|\\–])?(\\s\\b".concat(n,")?$"),"g"),"")),r},y=function(t){return"context-panel".concat(t?" context-panel--partial-width":"")},g=function(t){return"context-panel__description".concat("primary-index"===t?" context-panel__description--large":"")},b=function(t){var e=t.contentId,n=t.description,r=t.hasTopics,o=t.label,b=t.language,_=t.levelId,m=t.levelLabel,x=t.examspecLabel,j=t.numberOfClassClips,w=t.numberOfLearnerGuides,O=t.pageType,k=t.zid,A=t.duration,P=t.subdirectory,E=t.isInApp,S=t.setNotificationMessage,T=t.showPartOf,I=t.displayPartialWidth,z=v(o,m,x);return i.default.createElement("header",{className:y(I)},d(O,m,E)&&i.default.createElement(u.default,t),i.default.createElement("div",{className:"context-panel__header-container"},"guide"===O&&i.default.createElement("h2",{className:"context-panel__header"},z),"guide"!==O&&i.default.createElement("h1",{className:"context-panel__header"},z)),n&&i.default.createElement("div",{className:"context-panel__description-container"},i.default.createElement("p",{className:g(O)},n)),T&&i.default.createElement(s.default,t),!r&&("clips"===O||w>0)&&i.default.createElement(a.default,{subdirectory:P,language:b,numberOfClassClips:j,numberOfLearnerGuides:w,pageType:O,zid:k}),!r&&(0,f.validateDuration)(A)&&i.default.createElement(c.default,{duration:A,language:b}),!E&&i.default.createElement(l.default,{contentId:e,pageType:O,setNotificationMessage:S,language:b}),h(_,O,E)&&i.default.createElement(p.default,{zid:e,language:b}))};b.displayName="ContextPanel",b.defaultProps={contentId:"",description:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",topicId:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",duration:"",isInApp:!1,showPartOf:!0},b.propTypes={contentId:i.PropTypes.string,description:i.PropTypes.string,label:i.PropTypes.string.isRequired,language:i.PropTypes.string.isRequired,numberOfClassClips:i.PropTypes.number,numberOfLearnerGuides:i.PropTypes.number,hasTopics:i.PropTypes.bool,pageType:i.PropTypes.string.isRequired,zid:i.PropTypes.string,topicId:i.PropTypes.string,levelLabel:i.PropTypes.string,examspecLabel:i.PropTypes.string,subdirectory:i.PropTypes.string,examspecId:i.PropTypes.string,levelId:i.PropTypes.string,duration:i.PropTypes.string,isInApp:i.PropTypes.bool,setNotificationMessage:i.PropTypes.func.isRequired,showPartOf:i.PropTypes.bool,displayPartialWidth:i.PropTypes.bool.isRequired};var _=b;e.default=_,t.exports=e.default},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t){if(t&&t.__esModule)return t;var e=r();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),i=function(t){return t&&t.__esModule?t:{default:t}}(n(2)),u=(0,i.default)(function(t){return o.default.createElement("a",t,t.children)}),a=function(t){var e=t.levelLabel,n=t.levelId,r=t.examspecLabel,i=t.examspecId,a=t.subdirectory;return o.default.createElement("div",{className:"level-filter"},o.default.createElement("div",{className:"level-filter__items"},o.default.createElement("div",{className:"level-filter__item"},o.default.createElement(u,{className:"level-filter__item-level",href:"/".concat(a,"/levels/").concat(n),iStatsAction:"part-of",iStatsType:"click-level"},e)),r&&o.default.createElement("div",{className:"level-filter__item"},o.default.createElement(u,{className:"level-filter__item-examspec",href:"/".concat(a,"/examspecs/").concat(i),iStatsAction:"part-of",iStatsType:"click-examboard"},r))))};a.displayName="LevelFilter",a.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},a.propTypes={levelLabel:o.PropTypes.string,levelId:o.PropTypes.string,examspecLabel:o.PropTypes.string,examspecId:o.PropTypes.string,subdirectory:o.PropTypes.string};var c=a;e.default=c,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;var e=o();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),u=r(n(20)),a=r(n(22)),c=function(t){var e=t.pageType;return i.default.createElement("div",{className:"resource-counter__container"},"clips"===e?i.default.createElement(u.default,t):i.default.createElement(a.default,t))};c.displayName="ResourceCounter",c.propTypes={pageType:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;var e=o();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),a=r(n(2)),c=r(n(1)),f=(0,a.default)(function(t){return u.default.createElement("a",i({className:"resource-counter__container-link"},t),t.children)}),s=function(t){return t>1?"plural":"singular"},l=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,i=t.zid,a=(0,c.default)(e),l=r>0&&n>0?" + ":"";return u.default.createElement("p",{className:"resource-counter__container-text"},r>0&&u.default.createElement(f,{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(i),iStatsAction:"learner_guides",iStatsType:"click"},a("counter.guides.".concat(s(r)),{numberOfLearnerGuides:r})),l,n>0&&a("counter.clips.".concat(s(n)),{numberOfClassClips:n}))};l.displayName="ClipsResourceCounter",l.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},l.propTypes={language:u.PropTypes.string.isRequired,numberOfClassClips:u.PropTypes.number,numberOfLearnerGuides:u.PropTypes.number,subdirectory:u.PropTypes.string,zid:u.PropTypes.string.isRequired};var p=l;e.default=p,t.exports=e.default},function(t,e){t.exports=n(183)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(){return i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;var e=o();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),a=r(n(2)),c=r(n(1)),f=(0,a.default)(function(t){return u.default.createElement("a",i({className:"resource-counter__container-link"},t),t.children)}),s=function(t){return t>1?"plural":"singular"},l=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,i=(0,c.default)(e);return u.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i("counter.guides.".concat(s(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&u.default.createElement(f,{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1"),iStatsAction:"class_clips",iStatsType:"click"},i("counter.clips.".concat(s(n)),{numberOfClassClips:n})))};l.displayName="TopicsResourceCounter",l.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},l.propTypes={language:u.PropTypes.string.isRequired,numberOfClassClips:u.PropTypes.number,numberOfLearnerGuides:u.PropTypes.number,zid:u.PropTypes.string.isRequired};var p=l;e.default=p,t.exports=e.default},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t){if(t&&t.__esModule)return t;var e=r();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),i=n(3),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){var e=t.language,n=t.duration,r=(0,u.default)(e),a=(0,i.formatDuration)(n);return""!==a?o.default.createElement("div",{className:"context-panel__duration"},o.default.createElement("span",null,r("duration",{clipDuration:a}))):o.default.createElement("span",null)};a.displayName="Duration",a.propTypes={language:o.PropTypes.string.isRequired,duration:o.PropTypes.string.isRequired};var c=a;e.default=c,t.exports=e.default},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(7)),u=function(t){if(t&&t.__esModule)return t;var e=r();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),a=o(n(25)),c=o(n(8)),f=o(n(26)),s=["programme-of-study","field-of-study"],l=function(t,e,n,r){var o=["Support","Careers"],i=r&&(0,c.default)(r,function(t){return o.indexOf(t.label)>-1}),u=i?i.label:null;return!n&&u?{label:u,link:"/".concat(t,"/").concat(u.toLowerCase())}:{label:e?e.label:"Learn & revise",link:e&&e.id?"/".concat(t,"/subjects/").concat(e.id):"/".concat(t).concat("/learn")}},p=function(t){var e=t.subdirectory,n=t.tags,r=t.topicLabel,o=t.topicId,i=t.language,c=t.crumbtrailData.body,s=t.stubs,p=(0,a.default)(c,"type"),d=r?{label:r,id:o}:p["topic-of-study"],h=l(e,p["programme-of-study"],d,n);return u.default.createElement(f.default,{subdirectory:e,language:i,context:h,topic:d,stubs:s})},d=function(t){var e=t.crumbtrail,n=t.language,r=t.stubs,o=t.subdirectory,i=(0,a.default)(e,"type"),c=i["programme-of-study"],s=i["topic-of-study"],p=l(o,c);return u.default.createElement(f.default,{subdirectory:o,language:n,context:p,topic:s,stubs:r})},h=i.default.create(p,{data:function(t){var e=t.zid,n=t.topicId;return{crumbtrailData:{uri:{data:"bbc-morph-bitesize-crumbtrail",zid:t.isTaggedWithMultipleTopics?n:e},updates:!1}}}}),v=function(t){var e=t.pageType;return s.includes(e)?u.default.createElement(d,t):u.default.createElement(h,t)};v.displayName="ContextLabelContainer",v.defaultProps={subdirectory:"",language:"en-GB",tags:[],topicLabel:void 0,topicId:void 0,stubs:[],crumbtrail:[]},v.propTypes={subdirectory:u.PropTypes.string,language:u.PropTypes.string,crumbtrail:u.PropTypes.arrayOf(u.PropTypes.shape({id:u.PropTypes.string.isRequired,type:u.PropTypes.string.isRequired,label:u.PropTypes.string.isRequired}).isRequired),tags:u.PropTypes.arrayOf(u.PropTypes.shape({label:u.PropTypes.string})),topicLabel:u.PropTypes.string,topicId:u.PropTypes.string,stubs:u.default.PropTypes.shape({id:u.default.PropTypes.string.isRequired,label:u.default.PropTypes.string.isRequired,path:u.default.PropTypes.string.isRequired})};var y=v;e.default=y,t.exports=e.default},function(t,e){t.exports=n(458)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;var e=o();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),u=r(n(2)),a=r(n(1)),c=(0,u.default)(function(t){return i.default.createElement("a",t,t.children)}),f=function(t){var e=t.context,n=t.language,r=t.stubs,o=(0,a.default)(n),u=e.label,f=e.link,s=e&&null!==u.match(/Learn & revise|Support/i)&&"cy-GB"===n?"partOfWelshAlternative":"partOf";return i.default.createElement("div",{className:"context-label"},i.default.createElement("div",{className:"context-label__title"},o(s)),i.default.createElement("div",{className:"context-label__items"},e&&i.default.createElement("div",{className:"context-label__item"},i.default.createElement(c,{className:"context-label__item-link",href:f,iStatsAction:"part-of",iStatsType:"click"},o(u)||u)),r.map(function(t){return i.default.createElement("div",{className:"context-label__item"},i.default.createElement(c,{className:"context-label__item-link",href:t.path,iStatsAction:"part-of",iStatsType:"click"},t.label))})))};f.displayName="ContextLabel",f.defaultProps={topic:{},language:"en-GB",stubs:[]},f.propTypes={context:i.PropTypes.shape({label:i.PropTypes.string,link:i.PropTypes.string}).isRequired,topic:i.PropTypes.shape({id:i.PropTypes.string,type:i.PropTypes.string,label:i.PropTypes.string}),language:i.PropTypes.string,stubs:i.default.PropTypes.arrayOf(i.PropTypes.shape({id:i.default.PropTypes.string.isRequired,label:i.default.PropTypes.string.isRequired,path:i.default.PropTypes.string.isRequired}).isRequired)};var s=f;e.default=s,t.exports=e.default},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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 f(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function s(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(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&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;var e=i();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}}return n.default=t,e&&e.set(t,n),n}(n(0)),y=o(n(4)),g=o(n(5)),b=o(n(28)),_=o(n(29)),m=o(n(30)),x=o(n(31)),j=o(n(6)),w=o(n(32)),O=o(n(9)),k=o(n(1)),A=o(n(33)),P=function(t){return t?"favourited":"unfavourited"},E=function(t){return P(!t)},S=function(t){return"guide"===t||"blocks"===t},T=function(t){return"guide"===t?"study-guide":"article"},I=function(t){function e(t){var n;a(this,e),n=s(this,l(e).call(this,t));var r=(0,k.default)(t.language);return n.localisations={buttonText:r("buttonText"),errorMessage:r("errorSavingNotification"),signInUpsellToolTipTitle:r("signInUpsellToolTipTitle"),signInUpsellToolTipText:r("signInUpsellToolTipText")},n.state={featureEnabled:!1,isFavourited:!1,saveInProgress:!1,uasClientType:T(t.pageType),isSignedIn:!1},n.save=n.save.bind(p(n)),n.getButtonContent=n.getButtonContent.bind(p(n)),n}return d(e,t),f(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.contentId,r=e.pageType,o=this.state.uasClientType;S(r)&&(this.setState({featureEnabled:!0}),g.default.getDetails().then(function(e){e.isSignedIn&&(t.setState({isSignedIn:!0}),j.default.isFavourited(n,o).then(function(e){t.setState({isFavourited:e})}))}).catch(function(){}))}},{key:"getButtonContent",value:function(){var t=this.state,e=t.isFavourited,n=t.saveInProgress,r=this.localisations.buttonText,o="bitesize-header__add-to-my-bitesize bitesize-header__add-to-my-bitesize--action-".concat(P(e));return e?{buttonClass:o,text:r.added,icon:v.default.createElement(m.default,null),hoverText:r.remove,hoverIcon:v.default.createElement(x.default,null),savingText:r.removing,iStatsAction:"remove_cta",saveInProgress:n}:{buttonClass:o,text:r.addToMyBitesize,icon:v.default.createElement(_.default,null),hoverText:r.addToMyBitesize,hoverIcon:v.default.createElement(_.default,null),savingText:r.adding,iStatsAction:"add_cta",saveInProgress:n}}},{key:"createButtonView",value:function(){var t=this.getButtonContent(),e=t.buttonClass,n=t.text,r=t.icon,o=t.hoverText,i=t.hoverIcon,u=t.savingText,a=t.saveInProgress;return v.default.createElement(b.default,{disabled:a,onClick:this.save,className:e,aria:"polite"},a&&v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--saving"},i,v.default.createElement("span",null,u)),!a&&v.default.createElement("span",null,v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--normal"},r,v.default.createElement("span",null,n)),v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--hover"},i,v.default.createElement("span",null,o))))}},{key:"createSignedOutButtonView",value:function(){var t=this.props.language,e=this.localisations,n=e.signInUpsellToolTipText,r=e.signInUpsellToolTipTitle,o=e.buttonText,i=v.default.createElement("span",null,v.default.createElement(_.default,null),v.default.createElement("span",null,o.addToMyBitesize));return v.default.createElement(w.default,{title:r,text:n,buttonContent:i,body:v.default.createElement(A.default,{language:t})})}},{key:"save",value:function(){var t=this,e=this.state,n=e.isFavourited,r=e.uasClientType,o=e.isSignedIn,i=this.localisations.errorMessage;if(o){var u=this.props,a=u.contentId,c=u.setNotificationMessage,f=this.getButtonContent(n),s=f.iStatsAction;this.setState({saveInProgress:!0}),y.default.track(s,"click"),O.default.submitFavourite(a,E(n),r).then(function(){t.setState({isFavourited:!n,saveInProgress:!1})}).catch(function(){t.setState({saveInProgress:!1}),c(i,!0)})}}},{key:"render",value:function(){var t=this.state,e=t.featureEnabled,n=t.isSignedIn;return e?v.default.createElement("div",{className:"bitesize-header__my-bitesize"},n?this.createButtonView():this.createSignedOutButtonView()):null}}]),e}(v.Component);I.propTypes={contentId:v.PropTypes.string.isRequired,pageType:v.PropTypes.string.isRequired,setNotificationMessage:v.PropTypes.func.isRequired,language:v.PropTypes.string.isRequired};var z=I;e.default=z,t.exports=e.default},function(t,e){t.exports=n(191)},function(t,e){t.exports=n(469)},function(t,e){t.exports=n(470)},function(t,e){t.exports=n(471)},function(t,e){t.exports=n(472)},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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 f(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function s(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?l(t):e}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(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&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;var e=i();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}}return n.default=t,e&&e.set(t,n),n}(n(0)),y=o(n(4)),g=o(n(34)),b=o(n(35)),_=o(n(36)),m=function(){y.default.track("sign-in-cta","click")},x=function(){y.default.track("register","click")},j=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").addEventListener("click",m),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").addEventListener("click",x)},w=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").removeEventListener("click",m),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").removeEventListener("click",x)},O=function(t){function e(t){var n;return a(this,e),n=s(this,p(e).call(this,t)),n.state={idcta:void 0},n}return d(e,t),f(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.language,r=e.purposeText;g.default.checkFlagpole().then(function(){var e=window.location.href;(0,b.default)(n,r,e).then(function(e){document.head.insertAdjacentHTML("beforeend",e.inlineHead),t.setState({idcta:{__html:e.html}})}).catch(function(){})}).catch(function(){})}},{key:"componentDidUpdate",value:function(){this.state.idcta&&j()}},{key:"componentWillUnmount",value:function(){this.state.idcta&&w()}},{key:"render",value:function(){var t=this.state.idcta;return t?v.default.createElement("div",{className:"my-bitesize__idcta-container",dangerouslySetInnerHTML:t}):v.default.createElement("div",{className:"my-bitesize__idcta-container"},v.default.createElement(_.default,null))}}]),e}(v.default.Component);O.defaultProps={language:"en-GB",purposeText:""},O.propTypes={language:v.PropTypes.string,purposeText:v.PropTypes.string};var k=O;e.default=k,t.exports=e.default},function(t,e){t.exports=n(167)},function(t,e){t.exports=n(473)},function(t,e){t.exports=n(474)},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t){if(t&&t.__esModule)return t;var e=r();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),i=n(38),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){var e=t.zid,n=t.language,r="https://web.archive.org/web/20191004204316/https://www.bbc.co.uk/bitesize/guides/".concat(e),a=(0,u.default)(n),c=a("shareTools"),f=c.ctaText,s=c.headerText,l=c.readMoreText,p=c.copyLinkText,d=c.copiedText;return o.default.createElement("span",{className:"bitesize-sharetools"},o.default.createElement("span",{className:"bitesize-sharetools__standalone-buttons"},o.default.createElement(i.Twitter,{link:r,position:0,standalone:!0}),o.default.createElement(i.Facebook,{link:r,position:1,standalone:!0}),o.default.createElement(i.WhatsApp,{link:r,position:2,standalone:!0})),o.default.createElement(i.SharePanel,{ctaText:f,headerText:s,readMoreText:l},o.default.createElement(i.Twitter,{link:r,position:0}),o.default.createElement(i.Facebook,{link:r,position:1}),o.default.createElement(i.WhatsApp,{link:r,position:2}),o.default.createElement(i.CopyLinkBox,{link:r,shareText:p,copiedText:d,position:3})))};a.displayName="BitesizeShareTools",a.propTypes={zid:o.PropTypes.string.isRequired,language:o.PropTypes.string.isRequired};var c=a;e.default=c,t.exports=e.default},function(t,e){t.exports=n(475)},function(t,e,n){function r(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t){if(t&&t.__esModule)return t;var e=r();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=o?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}}return n.default=t,e&&e.set(t,n),n}(n(0)),i=function(t){var e=t.pageHasPartialWidthContextPanel,n=t.url;return o.default.createElement("span",{className:e?"bitesize-header__subject-illustration--partial-width":"bitesize-header__subject-illustration",style:{backgroundImage:"url(".concat(n,")")}})};i.propTypes={pageHasPartialWidthContextPanel:o.PropTypes.bool.isRequired,url:o.PropTypes.string.isRequired};var u=i;e.default=u,t.exports=e.default},function(t,e){t.exports=n(490)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){if(null==t)return{};var n,r,o=u(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(0)),c=r(n(7)),f=r(n(42)),s=r(n(43)),l=r(n(44)),p=r(n(45)),d=r(n(46)),h=r(n(47)),v=r(n(48)),y=r(n(49)),g=r(n(51)),b=r(n(52)),_=r(n(53)),m=r(n(54)),x=r(n(55)),j=r(n(56)),w=r(n(57)),O=r(n(58)),k=r(n(59)),A={"all-subjects":p.default,blocks:x.default,clips:l.default,clip:s.default,"collection-index":w.default,examspecs:d.default,"field-of-study":h.default,flashcards:j.default,guide:v.default,"index-page":j.default,levels:y.default,"programme-of-study":g.default,"primary-index":k.default,tags:O.default,topic:b.default,404:_.default,500:m.default},P=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].getData(n)},E=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].parseData(n)},S=function(t){return a.default.createElement(f.default,o({},t,{parseData:E}))},T=c.default.create(S,{data:function(t){return P(t)?{context:{uri:P(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),I=function(t){if(t.pageType in A)return a.default.createElement(T,t);throw new Error("".concat(t.pageType," is an invalid page type"))},z=I;e.default=z,t.exports=e.default},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function u(t){return(u="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 s(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),t}function l(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?p(t):e}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(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&&v(t,e)}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var y=function(t){if(t&&t.__esModule)return t;var e=i();if(e&&e.has(t))return e.get(t);var n={};if(null!=t){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)){var u=r?Object.getOwnPropertyDescriptor(t,o):null;u&&(u.get||u.set)?Object.defineProperty(n,o,u):n[o]=t[o]}}return n.default=t,e&&e.set(t,n),n}(n(0)),g=o(n(8)),b=o(n(11)),_=o(n(9)),m=function(t){function e(){return c(this,e),l(this,d(e).apply(this,arguments))}return h(e,t),s(e,[{key:"componentDidMount",value:function(){if("blocks"===this.props.pageType){var t=this.props,e=t.context.body,n=e.id,r=e.topics,o=t.isPreview,i=r.map(function(t){return t.keyStage.id}).join(","),u=r.map(function(t){return t.programmeOfStudy.id}).join(","),a={levelId:i,posId:u},c=r.map(function(t){if(t.examSpecification&&t.examSpecification.id)return t.examSpecification.id}).filter(Boolean).join(",");""!==c&&Object.assign(a,{examspecId:c}),"true"!==o&&_.default.submitRead(n,a)}}},{key:"render",value:function(){var t=this.props,e=t.language,n=t.href,r=t.parseData,o=t.pageType,i=t.isPreview,u=t.subdirectory,c=t.zid,f=t.topicId,s=t.context.body,l=t.levels,p=t.isInApp,d=r({pageType:o,data:s,language:e,zid:c,topicId:f}),h="";if(l){var v=(0,g.default)(l.body,function(t){return t.id===d.levelId});h=v?v.phase:""}return y.default.createElement(b.default,a({href:n,language:e,pageType:o,isPreview:i,subdirectory:u,phase:h,isInApp:p},d))}}]),e}(y.Component);m.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:""},m.propTypes={zid:y.PropTypes.string,topicId:y.PropTypes.string,pageType:y.PropTypes.string.isRequired,href:y.PropTypes.string,parseData:y.PropTypes.func.isRequired,context:y.PropTypes.oneOfType([y.PropTypes.shape({body:y.PropTypes.shape()}),y.PropTypes.shape({body:y.PropTypes.shape({id:y.PropTypes.string.isRequired,label:y.PropTypes.string.isRequired,description:y.PropTypes.string.isRequired,programmeOfStudy:y.PropTypes.shape({label:y.PropTypes.string.isRequired}),fieldOfStudy:y.PropTypes.shape({label:y.PropTypes.string})})}),y.PropTypes.array]),levels:y.PropTypes.shape({body:y.PropTypes.arrayOf(y.PropTypes.shape({id:y.PropTypes.string.isRequired,label:y.PropTypes.string,description:y.PropTypes.string,lowerAge:y.PropTypes.number,phase:y.PropTypes.string,subLevelOf:y.PropTypes.string,type:y.PropTypes.string,upperAge:y.PropTypes.number,nations:y.PropTypes.arrayOf(y.PropTypes.shape({id:y.PropTypes.string.isRequired,label:y.PropTypes.string.isRequired,type:y.PropTypes.string}))}))}),globalNav:y.PropTypes.string,language:y.PropTypes.string.isRequired,subdirectory:y.PropTypes.string.isRequired,isPreview:y.PropTypes.string,isInApp:y.PropTypes.bool};var x=m;e.default=x,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-class-clip-data",clipId:t.zid}},o=function(t){var e=t.data;return{label:e.title,fosZid:e.topicOfStudy.fieldOfStudy.id,zid:e.topicOfStudyId,levelLabel:e.topicOfStudy.level.label,levelId:e.topicOfStudy.level.id,topicLabel:e.topicOfStudy.label,topicId:e.topicOfStudy.id,duration:e.video?e.video.duration:null,stubs:[{id:e.topicOfStudy.id,label:e.topicOfStudy.label,path:"/bitesize/topics/".concat(e.topicOfStudy.id)}]}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),o=function(t){return{data:"bbc-morph-bitesize-class-clips-data",topicOfStudyId:t.zid}},i=function(t){var e=t.data,n=t.language,o=t.zid,i=(0,r.default)(n);return{label:"".concat(e.topicOfStudy.label," ").concat(i("class-clips")),fosZid:e.topicOfStudy.fieldOfStudy.id,zid:o,numberOfClassClips:e.clipsCount,numberOfLearnerGuides:e.guidesCount,levelLabel:e.topicOfStudy.level.label,levelId:e.topicOfStudy.level.id,topicLabel:e.topicOfStudy.label,topicId:e.topicOfStudy.id,stubs:[{id:e.topicOfStudy.id,label:e.topicOfStudy.label,path:"/bitesize/topics/".concat(e.topicOfStudy.id)}]}},u={getData:o,parseData:i};e.default=u,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),o=function(){},i=function(t){var e=t.language,n=(0,r.default)(e);return{label:n("all-subjects.label"),description:n("all-subjects.description")}},u={getData:o,parseData:i};e.default=u,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-examspec",zid:t.zid}},o=function(t){var e=t.data,n=t.zid;return{label:"".concat(e.programmeOfStudy.label," - ").concat(e.label),fosZid:e.programmeOfStudy.fieldOfStudy.id,zid:n,levelLabel:e.programmeOfStudy.keyStage.label,levelId:e.programmeOfStudy.keyStage.id,examspecLabel:e.label,examspecId:n}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-header-data",pageType:"field-of-study",language:t.language,zid:t.zid}},o=function(t){return t.data},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.zid,n=t.chapterType,r=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",zid:e,chapterType:n,pageType:"guide",pageIndex:1,cacheBuster:r})},u=function(t){return t.data},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(50)),i=r(n(1)),u=function(t){return{data:"bbc-morph-bitesize-level",levelId:t.zid}},a=function(t){return!!["zvbc87h","zc9d7ty","zfxmtv4"].includes(t)},c=function(t){return Object.assign((0,o.default)(t.language),{primaryLabel:"Learn & Revise",primaryLink:""})},f=function(t){var e=t.data,n=t.language,r=t.zid,o="subjects";return a(r)&&(o="levels"),{label:(0,i.default)(n)(o),fosZid:"",description:e.description,zid:r,levelLabel:e.label,levelId:r}},s=function(t){return t.zid?f(t):c(t)},l={getData:u,parseData:s};e.default=l,t.exports=e.default},function(t,e){t.exports=n(491)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-header-data",zid:t.zid,pageType:"programme-of-study"}},o=function(t){return t.data},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-topics-for-web",language:t.language,zid:t.zid}},o=function(t){var e=t.data;return{label:e.label,fosZid:e.taughtInFieldZid,numberOfClassClips:e.numberOfClassClips,numberOfLearnerGuides:e.content.length,zid:e.id,hasTopics:e.topics.length>0,levelLabel:e.level,levelId:e.taughtAtLevelId,examspecLabel:e.examspecLabel,examspecId:e.examspecId}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"The content might have been moved or deleted, or you may have mis-typed the link."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"Please try again later."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(n,!0).forEach(function(e){i(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){return{data:"bbc-morph-blocks-article-data",projectName:"blocks-bitesize",zid:t.zid,preview:t.preview,timestamp:t.timestamp}},a=function(t,e){return e&&t&&t.length?t.find(function(t){return t.id===e}):null},c=function(t,e){if(t&&t.length){var n=a(t,e)||t[0],r=n.id,i=n.label,u=n.fieldOfStudy,c=n.keyStage,f=n.examSpecification,s=[{id:r,label:i,path:"/bitesize/topics/".concat(r)}];return o({levelLabel:c.label,levelId:c.id,examspecLabel:f.label,examspecId:f.id,stubs:s,fosZid:u.id},t.length>1?{topicId:r}:{})}return null},f=function(t){var e=t.data,n=t.topicId,r=e.headline,i=e.topics,u=e.tags,a=i&&1===i.length,f=i&&i.length>1;return o({label:r,zid:a?i[0].id:e.id,contentId:e.id,tags:u,isTaggedWithMultipleTopics:f},c(i,n))},s={getData:u,parseData:f};e.default=s,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.href,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;if(e&&(e.endsWith("support")||e.endsWith("careers")))return o({data:"bbc-morph-bitesize-header-data",pageType:"index-page",href:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.slug,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"collection-index",slug:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data||{}}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.zid,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"tags",zid:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data||{}}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Primary Levels",description:"Ages 3 to 11"}},i={getData:r,parseData:o};e.default=i,t.exports=e.default}])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o.apply(this,arguments)}function i(t,e){if(null==t)return{};var n,r,o=u(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(196),n(204),n(121),n(212),n(214);var a=r(n(215)),c=r(n(0)),f=(r(n(35)),r(n(56))),s=n(337),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return function(){f.default.track((0,s.formatIStatsValue)(t),(0,s.formatIStatsValue)(e),(0,a.default)(s.formatIStatsValue,n)),r.apply(void 0,arguments)}},p=function(t){function e(e){var n=e.onClick,r=e.iStatsAction,u=e.iStatsType,a=e.iStatsOptions,f=i(e,["onClick","iStatsAction","iStatsType","iStatsOptions"]);return c.default.createElement(t,o({},f,{onClick:l(r,u,a,n)}))}return e.defaultProps={onClick:function(){return null},iStatsType:"",iStatsOptions:{}},e.displayName="iStatsOnClick(".concat(t.displayName||t.name||"Component",")"),e};e.default=p,t.exports=e.default},function(t,e,n){var r=n(40);r(r.S+r.F,"Object",{assign:n(200)})},function(t,e,n){t.exports=n(44)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(199);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){"use strict";var r=n(22),o=n(70),i=n(46),u=n(71),a=n(117),c=Object.assign;t.exports=!c||n(21)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=u(t),c=arguments.length,f=1,s=o.f,l=i.f;c>f;)for(var p,d=a(arguments[f++]),h=s?r(d).concat(s(d)):r(d),v=h.length,y=0;v>y;)l.call(d,p=h[y++])&&(n[p]=d[p]);return n}:c},function(t,e,n){var r=n(23),o=n(202),i=n(203);t.exports=function(t){return function(e,n,u){var a,c=r(e),f=o(c.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(120),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(120),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){for(var r=n(121),o=n(22),i=n(43),u=n(6),a=n(12),c=n(72),f=n(16),s=f("iterator"),l=f("toStringTag"),p=c.Array,d={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=o(d),v=0;v<h.length;v++){var y,g=h[v],b=d[g],_=u[g],m=_&&_.prototype;if(m&&(m[s]||a(m,s,p),m[l]||a(m,l,g),c[g]=p,b))for(y in r)m[y]||i(m,y,r[y],!0)}},function(t,e,n){var r=n(16)("unscopables"),o=Array.prototype;void 0==o[r]&&n(12)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(45),o=n(40),i=n(43),u=n(12),a=n(72),c=n(208),f=n(73),s=n(211),l=n(16)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,v,y,g){c(n,e,h);var b,_,m,x=function(t){if(!p&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",w="values"==v,O=!1,k=t.prototype,A=k[l]||k["@@iterator"]||v&&k[v],P=A||x(v),E=v?w?x("entries"):P:void 0,S="Array"==e?k.entries||A:A;if(S&&(m=s(S.call(new t)))!==Object.prototype&&m.next&&(f(m,j,!0),r||"function"==typeof m[l]||u(m,l,d)),w&&A&&"values"!==A.name&&(O=!0,P=function(){return A.call(this)}),r&&!g||!p&&!O&&k[l]||u(k,l,P),a[e]=P,a[j]=d,v)if(b={values:w?P:x("values"),keys:y?P:x("keys"),entries:E},g)for(_ in b)_ in k||i(k,_,b[_]);else o(o.P+o.F*(p||O),e,b);return b}},function(t,e,n){"use strict";var r=n(122),o=n(42),i=n(73),u={};n(12)(u,n(16)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(u,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(13),o=n(41),i=n(22);t.exports=n(14)?Object.defineProperties:function(t,e){o(t);for(var n,u=i(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(6).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(15),o=n(71),i=n(68)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(71),o=n(22);n(213)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(40),o=n(26),i=n(21);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(13).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(14)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(29),o=r("mapValues",n(333));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(A.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||A.curry&&n>1?W(e,n):e}function v(t,e,n){if(A.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return A.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),L(V,function(t){return L(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?v(o,y(o,a,t),t):y(o,v(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=E?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var A={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},P=O?n:l,E="curry"in p&&p.curry,S="fixed"in p&&p.fixed,T="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return A.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(217),l=n(24),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e,n){t.exports={ary:n(219),assign:n(141),clone:n(253),curry:n(298),forEach:n(82),isArray:n(2),isError:n(299),isFunction:n(76),isWeakMap:n(301),iteratee:n(302),keys:n(145),rearg:n(327),toInteger:n(140),toPath:n(332)}},function(t,e,n){function r(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,o(t,i,void 0,void 0,void 0,void 0,e)}var o=n(74),i=128;t.exports=r},function(t,e,n){function r(t){return!(!u(t)||i(t))&&(o(t)?h:f).test(a(t))}var o=n(76),i=n(223),u=n(11),a=n(127),c=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,p=s.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){var e=u.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(25),i=Object.prototype,u=i.hasOwnProperty,a=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(224),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(1),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(t,e,n){function r(){return(this&&this!==i&&this instanceof r?c:t).apply(a?n:this,arguments)}var a=e&u,c=o(t);return r}var o=n(48),i=n(1),u=1;t.exports=r},function(t,e,n){function r(t,e,n){function r(){for(var i=arguments.length,p=Array(i),d=i,h=c(r);d--;)p[d]=arguments[d];var v=i<3&&p[0]!==h&&p[i-1]!==h?[]:f(p,h);return(i-=v.length)<n?a(t,e,u,r.placeholder,void 0,p,v,void 0,void 0,n-i):o(this&&this!==s&&this instanceof r?l:t,this,p)}var l=i(t);return r}var o=n(77),i=n(48),u=n(128),a=n(131),c=n(139),f=n(84),s=n(1);t.exports=r},function(t,e){function n(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}t.exports=n},function(t,e){function n(){}t.exports=n},function(t,e){var n={};t.exports=n},function(t,e,n){function r(t){if(c(t)&&!a(t)&&!(t instanceof o)){if(t instanceof i)return t;if(l.call(t,"__wrapped__"))return f(t)}return new i(t)}var o=n(78),i=n(81),u=n(79),a=n(2),c=n(3),f=n(232),s=Object.prototype,l=s.hasOwnProperty;r.prototype=u.prototype,r.prototype.constructor=r,t.exports=r},function(t,e,n){function r(t){if(t instanceof o)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=u(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var o=n(78),i=n(81),u=n(50);t.exports=r},function(t,e){function n(t){var e=t.match(r);return e?e[1].split(o):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /;t.exports=n},function(t,e){function n(t,e){var n=e.length;if(!n)return t;var o=n-1;return e[o]=(n>1?"& ":"")+e[o],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=n},function(t,e,n){var r=n(236),o=n(138),i=n(75),u=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=u},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){function r(t,e){return o(u,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}var o=n(82),i=n(238),u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&o(t,e,0)>-1}var o=n(239);t.exports=r},function(t,e,n){function r(t,e,n){return e===e?u(t,e,n):o(t,i,n)}var o=n(240),i=n(241),u=n(242);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e){function n(t){return t!==t}t.exports=n},function(t,e){function n(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}t.exports=n},function(t,e,n){function r(t,e){for(var n=t.length,r=u(e.length,n),a=o(t);r--;){var c=e[r];t[r]=i(c,n)?a[c]:void 0}return t}var o=n(50),i=n(83),u=Math.min;t.exports=r},function(t,e,n){function r(t,e,n,r){function c(){for(var e=-1,i=arguments.length,a=-1,l=r.length,p=Array(l+i),d=this&&this!==u&&this instanceof c?s:t;++a<l;)p[a]=r[a];for(;i--;)p[a++]=arguments[++e];return o(d,f?n:this,p)}var f=e&a,s=i(t);return c}var o=n(77),i=n(48),u=n(1),a=1;t.exports=r},function(t,e,n){function r(t,e){var n=t[1],r=e[1],v=n|r,y=v<(c|f|p),g=r==p&&n==l||r==p&&n==d&&t[7].length<=e[8]||r==(p|d)&&e[7].length<=e[8]&&n==l;if(!y&&!g)return t;r&c&&(t[2]=e[2],v|=n&c?0:s);var b=e[3];if(b){var _=t[3];t[3]=_?o(_,b,e[4]):b,t[4]=_?u(t[3],a):e[4]}return b=e[5],b&&(_=t[5],t[5]=_?i(_,b,e[6]):b,t[6]=_?u(t[5],a):e[6]),b=e[7],b&&(t[7]=b),r&p&&(t[8]=null==t[8]?e[8]:h(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=v,t}var o=n(129),i=n(130),u=n(84),a="__lodash_placeholder__",c=1,f=2,s=4,l=8,p=128,d=256,h=Math.min;t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*u}return t===t?t:0}var o=n(247),i=1/0,u=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return u;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=f.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):c.test(t)?u:+t}var o=n(11),i=n(30),u=NaN,a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(18),i=n(3),u="[object Arguments]";t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){return u(t)&&i(t.length)&&!!a[o(t)]}var o=n(18),i=n(89),u=n(3),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){var r=n(146),o=r(Object.keys,Object);t.exports=o},function(t,e,n){function r(t){return o(t,i)}var o=n(148),i=4;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)}var o=n(53),i=Array.prototype,u=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(53);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(53);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(53);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(52);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(r)}return n.set(t,e),this.size=n.size,this}var o=n(52),i=n(94),u=n(95),a=200;t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(u||i),string:new o}}var o=n(265),i=n(52),u=n(94);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(266),i=n(267),u=n(268),a=n(269),c=n(270);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(54);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}var o=n(54),i="__lodash_hash_undefined__",u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:u.call(e,t)}var o=n(54),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(54),i="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(55);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(55);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(55);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(55);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(51),i=n(149);t.exports=r},function(t,e,n){function r(t){if(!o(t))return u(t);var e=i(t),n=[];for(var r in t)("constructor"!=r||!e&&c.call(t,r))&&n.push(r);return n}var o=n(11),i=n(92),u=n(278),a=Object.prototype,c=a.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=f?f(n):new t.constructor(n);return t.copy(r),r}var o=n(1),i="object"==typeof e&&e&&!e.nodeType&&e,u=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=u&&u.exports===i,c=a?o.Buffer:void 0,f=c?c.allocUnsafe:void 0;t.exports=r}).call(e,n(19)(t))},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(51),i=n(96);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}t.exports=n},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(51),i=n(151);t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(153),i=n(151),u=n(149);t.exports=r},function(t,e,n){var r=n(17),o=n(1),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(17),o=n(1),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(17),o=n(1),i=r(o,"Set");t.exports=i},function(t,e){function n(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&o.call(t,"index")&&(n.index=t.index,n.input=t.input),n}var r=Object.prototype,o=r.hasOwnProperty;t.exports=n},function(t,e,n){function r(t,e,n){var r=t.constructor;switch(e){case g:return o(t);case f:case s:return new r(+t);case b:return i(t,n);case _:case m:case x:case j:case w:case O:case k:case A:case P:return c(t,n);case l:return new r;case p:case v:return new r(t);case d:return u(t);case h:return new r;case y:return a(t)}}var o=n(99),i=n(289),u=n(290),a=n(291),c=n(292),f="[object Boolean]",s="[object Date]",l="[object Map]",p="[object Number]",d="[object RegExp]",h="[object Set]",v="[object String]",y="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",m="[object Float64Array]",x="[object Int8Array]",j="[object Int16Array]",w="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",A="[object Uint16Array]",P="[object Uint32Array]";t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var o=n(99);t.exports=r},function(t,e){function n(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}var r=/\w*$/;t.exports=n},function(t,e,n){function r(t){return u?Object(u.call(t)):{}}var o=n(25),i=o?o.prototype:void 0,u=i?i.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(99);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||u(t)?{}:o(i(t))}var o=n(49),i=n(98),u=n(92);t.exports=r},function(t,e,n){var r=n(295),o=n(90),i=n(91),u=i&&i.isMap,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(32),i=n(3),u="[object Map]";t.exports=r},function(t,e,n){var r=n(297),o=n(90),i=n(91),u=i&&i.isSet,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(32),i=n(3),u="[object Set]";t.exports=r},function(t,e,n){function r(t,e,n){e=n?void 0:e;var u=o(t,i,void 0,void 0,void 0,void 0,void 0,e);return u.placeholder=r.placeholder,u}var o=n(74),i=8;r.placeholder={},t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==c||e==a||"string"==typeof t.message&&"string"==typeof t.name&&!u(t)}var o=n(18),i=n(3),u=n(300),a="[object DOMException]",c="[object Error]";t.exports=r},function(t,e,n){function r(t){if(!u(t)||o(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==p}var o=n(18),i=n(98),u=n(3),a="[object Object]",c=Function.prototype,f=Object.prototype,s=c.toString,l=f.hasOwnProperty,p=s.call(Object);t.exports=r},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(32),i=n(3),u="[object WeakMap]";t.exports=r},function(t,e,n){function r(t){return i("function"==typeof t?t:o(t,u))}var o=n(148),i=n(155),u=1;t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(304),i=n(315),u=n(159);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,f=c,s=!r;if(null==t)return!f;for(t=Object(t);c--;){var l=n[c];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++c<f;){l=n[c];var p=l[0],d=t[p],h=l[1];if(s&&l[2]){if(void 0===d&&!(p in t))return!1}else{var v=new o;if(r)var y=r(d,h,p,t,e,v);if(!(void 0===y?i(h,d,u|a,r,v):y))return!1}}return!0}var o=n(93),i=n(156),u=1,a=2;t.exports=r},function(t,e,n){function r(t,e,n,r,y,b){var _=f(t),m=f(e),x=_?h:c(t),j=m?h:c(e);x=x==d?v:x,j=j==d?v:j;var w=x==v,O=j==v,k=x==j;if(k&&s(t)){if(!s(e))return!1;_=!0,w=!1}if(k&&!w)return b||(b=new o),_||l(t)?i(t,e,n,r,y,b):u(t,e,x,n,r,y,b);if(!(n&p)){var A=w&&g.call(t,"__wrapped__"),P=O&&g.call(e,"__wrapped__");if(A||P){var E=A?t.value():t,S=P?e.value():e;return b||(b=new o),y(E,S,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,y,b))}var o=n(93),i=n(157),u=n(311),a=n(314),c=n(32),f=n(2),s=n(88),l=n(144),p=1,d="[object Arguments]",h="[object Array]",v="[object Object]",y=Object.prototype,g=y.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=n(95),i=n(307),u=n(308);r.prototype.add=r.prototype.push=i,r.prototype.has=u,t.exports=r},function(t,e){function n(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t.has(e)}t.exports=n},function(t,e,n){function r(t,e,n,r,o,w,k){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!w(new i(t),new i(e)));case p:case d:case y:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case v:var A=c;case b:var P=r&s;if(A||(A=f),t.size!=e.size&&!P)return!1;var E=k.get(t);if(E)return E==e;r|=l,k.set(t,e);var S=a(A(t),A(e),r,o,w,k);return k.delete(t),S;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(25),i=n(154),u=n(86),a=n(157),c=n(312),f=n(313),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",v="[object Map]",y="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",j="[object DataView]",w=o?o.prototype:void 0,O=w?w.valueOf:void 0;t.exports=r},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){function r(t,e,n,r,u,c){var f=n&i,s=o(t),l=s.length;if(l!=o(e).length&&!f)return!1;for(var p=l;p--;){var d=s[p];if(!(f?d in e:a.call(e,d)))return!1}var h=c.get(t);if(h&&c.get(e))return h==e;var v=!0;c.set(t,e),c.set(e,t);for(var y=f;++p<l;){d=s[p];var g=t[d],b=e[d];if(r)var _=f?r(b,g,d,e,t,c):r(g,b,d,t,e,c);if(!(void 0===_?g===b||u(g,b,n,r,c):_)){v=!1;break}y||(y="constructor"==d)}if(v&&!y){var m=t.constructor,x=e.constructor;m!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(v=!1)}return c.delete(t),c.delete(e),v}var o=n(152),i=1,u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],u=t[r];e[n]=[r,u,o(u)]}return e}var o=n(158),i=n(31);t.exports=r},function(t,e,n){function r(t,e){return a(t)&&c(e)?f(s(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?u(n,t):o(e,r,l|p)}}var o=n(156),i=n(317),u=n(321),a=n(100),c=n(158),f=n(159),s=n(34),l=1,p=2;t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?void 0:o(t,e);return void 0===r?n:r}var o=n(160);t.exports=r},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(319),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(r.Cache||o),n}var o=n(95),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(u(t))return i(t,r)+"";if(a(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var o=n(25),i=n(163),u=n(2),a=n(30),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(322),i=n(323);t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=o(e,t);for(var r=-1,s=e.length,l=!1;++r<s;){var p=f(e[r]);if(!(l=null!=t&&n(t,p)))break;t=t[p]}return l||++r!=s?l:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(u(t)||i(t))}var o=n(161),i=n(87),u=n(2),a=n(83),c=n(89),f=n(34);t.exports=r},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(325),i=n(326),u=n(100),a=n(34);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(160);t.exports=r},function(t,e,n){var r=n(74),o=n(164),i=o(function(t,e){return r(t,256,void 0,void 0,void 0,e)});t.exports=i},function(t,e,n){function r(t){return(null==t?0:t.length)?o(t,1):[]}var o=n(329);t.exports=r},function(t,e,n){function r(t,e,n,u,a){var c=-1,f=t.length;for(n||(n=i),a||(a=[]);++c<f;){var s=t[c];e>0&&n(s)?e>1?r(s,e-1,n,u,a):o(a,s):u||(a[a.length]=s)}return a}var o=n(97),i=n(330);t.exports=r},function(t,e,n){function r(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=n(25),i=n(87),u=n(2),a=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,u=-1,a=i(r.length-e,0),c=Array(a);++u<a;)c[u]=r[e+u];u=-1;for(var f=Array(e+1);++u<e;)f[u]=r[u];return f[e]=n(c),o(t,this,f)}}var o=n(77),i=Math.max;t.exports=r},function(t,e,n){function r(t){return u(t)?o(t,f):a(t)?[t]:i(c(s(t)))}var o=n(163),i=n(50),u=n(2),a=n(30),c=n(162),f=n(34),s=n(33);t.exports=r},function(t,e,n){function r(t,e){var n={};return e=u(e,3),i(t,function(t,r,i){o(n,r,e(t,r,i))}),n}var o=n(85),i=n(334),u=n(155);t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(335),i=n(31);t.exports=r},function(t,e,n){var r=n(336),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(338)),i=r(n(340)),u=r(n(344)),a=r(n(347)),c=(0,u.default)([i.default,(0,o.default)(/,|\(|\)/g,""),(0,o.default)(/\s+/g,"_"),(0,o.default)(/'|’/g,"_039_"),(0,o.default)("–","-")]),f=(0,u.default)([a.default,c]),s={formatIStatsValueKeepCase:c,formatIStatsValue:f};e.default=s,t.exports=e.default},function(t,e,n){var r=n(29),o=r("replace",n(339));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(){var t=arguments,e=o(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var o=n(33);t.exports=r},function(t,e,n){var r=n(29),o=r("deburr",n(341),n(165));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t){return(t=i(t))&&t.replace(u,o).replace(a,"")}var o=n(342),i=n(33),u=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=r},function(t,e,n){var r=n(343),o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(o);t.exports=i},function(t,e){function n(t){return function(e){return null==t?void 0:t[e]}}t.exports=n},function(t,e,n){var r=n(29),o=r("flow",n(345));o.placeholder=n(24),t.exports=o},function(t,e,n){var r=n(346),o=r();t.exports=o},function(t,e,n){function r(t){return i(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var v=e[r];if("function"!=typeof v)throw new TypeError(s);if(i&&!y&&"wrapper"==a(v))var y=new o([],!0)}for(r=y?r:n;++r<n;){v=e[r];var g=a(v),b="wrapper"==g?u(v):void 0;y=b&&f(b[0])&&b[1]==(d|l|p|h)&&!b[4].length&&1==b[9]?y[a(b[0])].apply(y,b[3]):1==v.length&&f(v)?y[g]():y.thru(v)}return function(){var t=arguments,r=t[0];if(y&&1==t.length&&c(r))return y.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}var o=n(81),i=n(164),u=n(80),a=n(133),c=n(2),f=n(132),s="Expected a function",l=8,p=32,d=128,h=256;t.exports=r},function(t,e,n){var r=n(29),o=r("toLower",n(348),n(165));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t){return o(t).toLowerCase()}var o=n(33);t.exports=r},function(t,e,n){"use strict";var r=n(101);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(166)),i=r(n(56)),u=r(n(167)),a=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/idcta-1","orb/cookies"],function(e,n){t({idcta:e,cookiesLib:n})},function(t){i.default.track("requirejs","error",{error_message:t.toString()}),e(t)})})},c={isSignedIn:!1},f=function(){return a().then(function(t){var e=t.idcta,n=t.cookiesLib,r=n.readPolicy();return e.hasCookie()?u.default.checkFlagpole().then(function(){return e.initiateTokenRefresh().then(function(){var t=e.getUserDetailsFromCookie();return{isSignedIn:!0,isUnderThirteen:"u13"===t.ab,hasPersonalisationEnabled:t.ep,displayName:t.dn,personalisationCookiesEnabled:r.personalisation}}).catch(function(t){return i.default.track("id_token_refresh_error","error",{error_code:t.code,error_message:t.message}),c})}):c})},s={getDetails:f};e.default=s,t.exports=e.default},function(t,e,n){"use strict";var r=n(101);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(351));n(168);var i=n(352),u=n(169),a="urn:bbc:isite2:file_id:",c={origin:"web"},f={"programme-of-study":"biteprogrammestudy",exam:"biteexamspecification","study-guide":"bitestudyguide",article:"article"},s=function(t){return f[t]},l=function(t){return"article"===t?"blocks-bitesize":"education"},p=function(t){return t.map(function(t){var e=t.id,n=t.type,r=t.action;return{resourceId:e,resourceDomain:"learning",resourceType:s(n),action:r}})},d=function(t){return{resourceId:"".concat(a).concat(l(t.type),":").concat(t.id),resourceDomain:"learning",resourceType:s(t.type),action:t.action}},h=function(t){var e={resourceId:"".concat(a).concat(l(t.type),":").concat(t.id),resourceDomain:"learning",resourceType:s(t.type),metaData:c};return e.metaData.levelId=t.keyStageId,t.examspecId&&(e.metaData.examspecId=t.examspecId),t.posId&&(e.metaData.posId=t.posId),e},v=function(t,e){return{resourceId:"".concat(a,"blocks-bitesize:").concat(t),resourceDomain:"learning",resourceType:f.article,metaData:(0,o.default)(c,e)}},y=function(t,e){return"".concat(a).concat(l(e),":").concat(t)},g=function(t){return"urn:bbc:learning:article:isite2:file_id:blocks-bitesize:".concat(t)},b=function(t,e){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"POST",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include",body:JSON.stringify(e)}).then(function(t){return 202!==t.status?t.json():void 0}).then(function(e){if(e)throw new Error("Error posting resource(s) to '".concat(t,"': ").concat(JSON.stringify(e,null,2)))})},_=b,m=function(t,e){var n=(0,i.chunk)(50,e).map(function(e){return b(t,e)});return Promise.all(n).then(function(){})},x=function(t){var e="";return t&&(Object.keys(t).forEach(function(n){e+="&".concat(n,"=").concat(t[n])}),e="?".concat(e.substr(1))),e},j=function(t){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"GET",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include"}).then(function(e){if(200!==e.status)throw new Error("Error getting '".concat(t,"': ").concat(JSON.stringify(e.json(),null,2)));return e.json()})},w=function(t){return fetch("".concat((0,u.getUASHost)()).concat(t),{method:"GET",headers:new Headers({"Content-Type":"application/json",Accept:"application/json","X-Authentication-Provider":"idv5","X-Api-Key":(0,u.getUASApiKey)()}),credentials:"include"}).then(function(e){if(200!==e.status)throw new Error("Error getting '".concat(t,"': ").concat(JSON.stringify(e.json(),null,2)));return e.json()}).then(function(t){return t.items})},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return w("/my/favourites/unlimited?resourceDomain=learning&action=favourited").then(function(t){return t.filter(function(t){return t.resourceType===f["study-guide"]||t.resourceType===f.article})}).then(function(e){return t>0?(0,i.take)(t,e):e})},k=function(t){return m("/my/batch/follows",p(t))},A=function(t){return _("/my/follows",t)},P=function(t){return j("/my/follows/".concat(t))},E=function(t){return w("/my/follows".concat(x(t)))},S=function(t){return _("/my/reads",h(t))},T=function(t){return w("/my/reads".concat(x(t)))},I=function(t,e){return _("/my/reads",v(t,e))},z=function(t){return _("/my/favourites",d(t))},R=function(t,e){return w("/my/favourites/unlimited?resourceDomain=learning&action=favourited&resourceType=".concat(s(e))).then(function(n){return(0,i.some)({resourceId:y(t,e)},n)})},M=function(t){return w("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},C={getFollow:P,getFollows:E,getSavedForLater:O,postFollow:A,postFollows:k,getReads:T,postRead:S,postReadForAnArticle:I,postFavourite:z,isFavourited:R,isArticleRead:M};e.default=C,t.exports=e.default},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},function(t,e,n){var r=n(353).runInContext();t.exports=n(354)(r,r)},function(t,e,n){(function(t,r){var o;(function(){function i(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function s(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function l(t,e){return!(null==t||!t.length)&&-1<m(t,e,0)}function p(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function d(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function h(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function v(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function y(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function g(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function b(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function _(t,e,n,r){var o=t.length;for(n+=r?1:-1;r?n--:++n<o;)if(e(t[n],n,t))return n;return-1}function m(t,e,n){if(e===e)t:{--n;for(var r=t.length;++n<r;)if(t[n]===e){t=n;break t}t=-1}else t=_(t,j,n);return t}function x(t,e,n,r){--n;for(var o=t.length;++n<o;)if(r(t[n],e))return n;return-1}function j(t){return t!==t}function w(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:V}function O(t){return function(e){return null==e?$:e[t]}}function k(t){return function(e){return null==t?$:t[e]}}function A(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function P(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].c;return t}function E(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==$&&(n=n===$?i:n+i)}return n}function S(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function T(t,e){return d(e,function(e){return[e,t[e]]})}function I(t){return function(e){return t(e)}}function z(t,e){return d(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function M(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function C(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Lt[t]}function L(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function D(t,e){return function(n){return t(e(n))}}function B(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&"__lodash_placeholder__"!==u||(t[n]="__lodash_placeholder__",i[o++]=n)}return i}function F(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function q(t){if(zt.test(t)){for(var e=Tt.lastIndex=0;Tt.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Tt)||[]:t.split("")}var $,G=1/0,V=NaN,K=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Z=/\b__p\+='';/g,H=/\b(__p\+=)''\+/g,Y=/(__e\(.*?\)|\b__t\))\+'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Q=RegExp(J.source),tt=RegExp(X.source),et=/<%-([\s\S]+?)%>/g,nt=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ut=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,at=/[\\^$.*+?()[\]{}|]/g,ct=RegExp(at.source),ft=/^\s+|\s+$/g,st=/^\s+/,lt=/\s+$/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,At=/['\n\r\u2028\u2029\\]/g,Pt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",Et=RegExp("['’]","g"),St=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Tt=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+Pt,"g"),It=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+","(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"].join("|"),"g"),zt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mt="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Arguments]"]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object Boolean]"]=Ct["[object DataView]"]=Ct["[object Date]"]=Ct["[object Error]"]=Ct["[object Function]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct["[object Object]"]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[object WeakMap]"]=!1;var Wt={};Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object DataView]"]=Wt["[object Boolean]"]=Wt["[object Date]"]=Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object Symbol]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object WeakMap]"]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,Bt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Nt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ft||Nt||Function("return this")(),Ut="object"==typeof e&&e&&!e.nodeType&&e,$t=Ut&&"object"==typeof r&&r&&!r.nodeType&&r,Gt=$t&&$t.exports===Ut,Vt=Gt&&Ft.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Zt=Kt&&Kt.isArrayBuffer,Ht=Kt&&Kt.isDate,Yt=Kt&&Kt.isMap,Jt=Kt&&Kt.isRegExp,Xt=Kt&&Kt.isSet,Qt=Kt&&Kt.isTypedArray,te=O("length"),ee=k({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ne=k({"&":"&","<":"<",">":">",'"':""","'":"'"}),re=k({"&":"&","<":"<",">":">",""":'"',"'":"'"}),oe=function t(e){function n(t){if(_o(t)&&!ua(t)&&!(t instanceof k)){if(t instanceof o)return t;if(ai.call(t,"__wrapped__"))return Nr(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=$}function k(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Lt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ft(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Lt;++e<n;)this.add(t[e])}function Nt(t){this.size=(this.__data__=new Tt(t)).size}function Ut(t,e){var n,r=ua(t),o=!r&&ia(t),i=!r&&!o&&ca(t),u=!r&&!o&&!i&&da(t),o=(r=r||o||i||u)?S(t.length,ei):[],a=o.length;for(n in t)!e&&!ai.call(t,n)||r&&("length"==n||i&&("offset"==n||"parent"==n)||u&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Pr(n,a))||o.push(n);return o}function $t(t){var e=t.length;return e?t[on(0,e-1)]:$}function Vt(t,e){return Lr(Cn(t),pe(e,0,t.length))}function Kt(t){return Lr(Cn(t))}function te(t,e,n){(n===$||so(t[e],n))&&(n!==$||e in t)||se(t,e,n)}function ie(t,e,n){var r=t[e];ai.call(t,e)&&so(r,n)&&(n!==$||e in t)||se(t,e,n)}function ue(t,e){for(var n=t.length;n--;)if(so(t[n][0],e))return n;return-1}function ae(t,e,n,r){return iu(t,function(t,o,i){e(r,t,n(t),i)}),r}function ce(t,e){return t&&Wn(e,Ro(e),t)}function fe(t,e){return t&&Wn(e,Mo(e),t)}function se(t,e,n){"__proto__"==e&&ki?ki(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function le(t,e){for(var n=-1,r=e.length,o=Zo(r),i=null==t;++n<r;)o[n]=i?$:Io(t,e[n]);return o}function pe(t,e,n){return t===t&&(n!==$&&(t=t<=n?t:n),e!==$&&(t=t>=e?t:e)),t}function de(t,e,n,r,o,i){var u,c=1&e,f=2&e,s=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),u!==$)return u;if(!bo(t))return t;if(r=ua(t)){if(u=wr(t),!c)return Cn(t,u)}else{var l=yu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return Sn(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Dn(t,fe(u,t)):Ln(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Nt),o=i.get(t))return o;i.set(t,u),pa(t)?t.forEach(function(r){u.add(de(r,e,n,r,t,i))}):sa(t)&&t.forEach(function(r,o){u.set(o,de(r,e,n,o,t,i))});var f=s?f?vr:hr:f?Mo:Ro,d=r?$:f(t);return a(d||t,function(r,o){d&&(o=r,r=t[o]),ie(u,o,de(r,e,n,o,t,i))}),u}function he(t){var e=Ro(t);return function(n){return ve(n,t,e)}}function ve(t,e,n){var r=n.length;if(null==t)return!r;for(t=Qo(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===$&&!(o in t)||!i(u))return!1}return!0}function ye(t,e,n){if("function"!=typeof t)throw new ni("Expected a function");return _u(function(){t.apply($,n)},e)}function ge(t,e,n,r){var o=-1,i=l,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=d(e,I(n))),r?(i=p,u=!1):200<=e.length&&(i=R,u=!1,e=new Ft(e));t:for(;++o<a;){var s=t[o],h=null==n?s:n(s),s=r||0!==s?s:0;if(u&&h===h){for(var v=f;v--;)if(e[v]===h)continue t;c.push(s)}else i(e,h,r)||c.push(s)}return c}function be(t,e){var n=!0;return iu(t,function(t,r,o){return n=!!e(t,r,o)}),n}function _e(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===$?u===u&&!wo(u):n(u,a)))var a=u,c=i}return c}function me(t,e){var n=[];return iu(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function xe(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Ar),o||(o=[]);++i<u;){var a=t[i];0<e&&n(a)?1<e?xe(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function je(t,e){return t&&au(t,e,Ro)}function we(t,e){return t&&cu(t,e,Ro)}function Oe(t,e){return s(e,function(e){return vo(t[e])})}function ke(t,e){e=Pn(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Dr(e[n++])];return n&&n==r?t:$}function Ae(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Pe(t){if(null==t)t=t===$?"[object Undefined]":"[object Null]";else if(Oi&&Oi in Qo(t)){var e=ai.call(t,Oi),n=t[Oi];try{t[Oi]=$;var r=!0}catch(t){}var o=si.call(t);r&&(e?t[Oi]=n:delete t[Oi]),t=o}else t=si.call(t);return t}function Ee(t,e){return t>e}function Se(t,e){return null!=t&&ai.call(t,e)}function Te(t,e){return null!=t&&e in Qo(t)}function Ie(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=Zo(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Li(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Ft(u&&s):$}var s=t[0],h=-1,v=a[0];t:for(;++h<o&&f.length<c;){var y=s[h],g=e?e(y):y,y=n||0!==y?y:0;if(v?!R(v,g):!r(f,g,n)){for(u=i;--u;){var b=a[u];if(b?!R(b,g):!r(t[u],g,n))continue t}v&&v.push(g),f.push(y)}}return f}function ze(t,e,n){var r={};return je(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=Pn(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Dr(Vr(e))],null==e?$:i(e,t,n)}function Me(t){return _o(t)&&"[object Arguments]"==Pe(t)}function Ce(t){return _o(t)&&"[object ArrayBuffer]"==Pe(t)}function We(t){return _o(t)&&"[object Date]"==Pe(t)}function Le(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!_o(t)&&!_o(e))e=t!==t&&e!==e;else t:{var i=ua(t),u=ua(e),a=i?"[object Array]":yu(t),c=u?"[object Array]":yu(e),a="[object Arguments]"==a?"[object Object]":a,c="[object Arguments]"==c?"[object Object]":c,f="[object Object]"==a,u="[object Object]"==c;if((c=a==c)&&ca(t)){if(!ca(e)){e=!1;break t}i=!0,f=!1}if(c&&!f)o||(o=new Nt),e=i||da(t)?lr(t,e,n,r,Le,o):pr(t,e,a,n,r,Le,o);else{if(!(1&n)&&(i=f&&ai.call(t,"__wrapped__"),a=u&&ai.call(e,"__wrapped__"),i||a)){t=i?t.value():t,e=a?e.value():e,o||(o=new Nt),e=Le(t,e,n,r,o);break t}if(c)e:if(o||(o=new Nt),i=1&n,a=hr(t),u=a.length,c=hr(e).length,u==c||i){for(f=u;f--;){var s=a[f];if(!(i?s in e:ai.call(e,s))){e=!1;break e}}if((c=o.get(t))&&o.get(e))e=c==e;else{c=!0,o.set(t,e),o.set(e,t);for(var l=i;++f<u;){var s=a[f],p=t[s],d=e[s];if(r)var h=i?r(d,p,s,e,t,o):r(p,d,s,t,e,o);if(h===$?p!==d&&!Le(p,d,n,r,o):!h){c=!1;break}l||(l="constructor"==s)}c&&!l&&(n=t.constructor,r=e.constructor,n!=r&&"constructor"in t&&"constructor"in e&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(c=!1)),o.delete(t),o.delete(e),e=c}}else e=!1;else e=!1}}return e}function De(t){return _o(t)&&"[object Map]"==yu(t)}function Be(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=Qo(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var a=n[o],c=a[0],f=t[c],s=a[1];if(u&&a[2]){if(f===$&&!(c in t))return!1}else{if(a=new Nt,r)var l=r(f,s,c,t,e,a);if(l===$?!Le(s,f,3,r,a):!l)return!1}}return!0}function Fe(t){return!(!bo(t)||fi&&fi in t)&&(vo(t)?di:xt).test(Br(t))}function Ne(t){return _o(t)&&"[object RegExp]"==Pe(t)}function qe(t){return _o(t)&&"[object Set]"==yu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Ct[Pe(t)]}function $e(t){return"function"==typeof t?t:null==t?No:"object"==typeof t?ua(t)?He(t[0],t[1]):Ze(t):Go(t)}function Ge(t){if(!Ir(t))return Ci(t);var e,n=[];for(e in Qo(t))ai.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Ve(t,e){return t<e}function Ke(t,e){var n=-1,r=lo(t)?Zo(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ze(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||Be(n,t,e)}}function He(t,e){return Sr(t)&&e===e&&!bo(e)?zr(Dr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Le(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Nt),bo(i)){var a=o,c=Mr(t,u),f=Mr(e,u),s=a.get(f);if(s)te(t,u,s);else{var s=r?r(c,f,u+"",t,e,a):$,l=s===$;if(l){var p=ua(f),d=!p&&ca(f),h=!p&&!d&&da(f),s=f;p||d||h?ua(c)?s=c:po(c)?s=Cn(c):d?(l=!1,s=Sn(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=So(c):bo(c)&&!vo(c)||(s=Or(f))):l=!1}l&&(a.set(f,s),Ye(s,f,n,r,a),a.delete(f)),te(t,u,s)}}else a=r?r(Mr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Mo)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Pr(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[No],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),P(t,function(t,e){var r;t:{r=-1;for(var o=t.a,i=e.a,u=o.length,a=n.length;++r<u;){var c=zn(o[r],i[r]);if(c){r=r>=a?c:c*("desc"==n[r]?-1:1);break t}}r=t.b-e.b}return r})}function Qe(t,e){return tn(t,e,function(e,n){return zo(t,n)})}function tn(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=ke(t,u);n(a,u)&&sn(i,Pn(u,t),a)}return i}function en(t){return function(e){return ke(e,t)}}function nn(t,e,n,r){var o=r?x:m,i=-1,u=e.length,a=t;for(t===e&&(e=Cn(e)),n&&(a=d(t,I(n)));++i<u;)for(var c=0,f=e[i],f=n?n(f):f;-1<(c=o(a,f,c,r));)a!==t&&xi.call(a,c,1),xi.call(t,c,1);return t}function rn(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;Pr(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ti(Fi()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ti(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,No),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Lr(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=Pn(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Dr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Pr(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Lr(Wo(t))}function pn(t,e,n){var r=-1,o=t.length;for(0>e&&(e=-e>o?0:o+e),n=n>o?o:n,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0,n=Zo(o);++r<o;)n[r]=t[r+e];return n}function dn(t,e){var n;return iu(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function hn(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&2147483647>=o){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!wo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return vn(t,e,No,n)}function vn(t,e,n,r){e=n(e);for(var o=0,i=null==t?0:t.length,u=e!==e,a=null===e,c=wo(e),f=e===$;o<i;){var s=Ti((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,v=wo(l);(u?r||h:f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!v):d||v?0:r?l<=e:l<e)?o=s+1:i=s}return Li(i,4294967294)}function yn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!so(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function gn(t){return"number"==typeof t?t:wo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(wo(t))return ru?ru.call(t):"";var e=t+"";return"0"==e&&1/t==-G?"-0":e}function _n(t,e,n){var r=-1,o=l,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=p;else if(200<=i){if(o=e?null:pu(t))return F(o);u=!1,o=R,c=new Ft}else c=e?[]:a;t:for(;++r<i;){var f=t[r],s=e?e(f):f,f=n||0!==f?f:0;if(u&&s===s){for(var d=c.length;d--;)if(c[d]===s)continue t;e&&c.push(s),a.push(f)}else o(c,s,n)||(c!==a&&c.push(s),a.push(f))}return a}function mn(t,e){return e=Pn(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Dr(Vr(e))]}function xn(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?pn(t,r?0:i,r?i+1:o):pn(t,r?i+1:0,r?o:i)}function jn(t,e){var n=t;return n instanceof k&&(n=n.value()),v(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function wn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Zo(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ge(i[o]||u,t[a],e,n));return _n(xe(i,1),e,n)}function On(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:$);return u}function kn(t){return po(t)?t:[]}function An(t){return"function"==typeof t?t:No}function Pn(t,e){return ua(t)?t:Sr(t,e)?[t]:xu(To(t))}function En(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function Sn(t,e){if(e)return t.slice();var n=t.length,n=gi?gi(n):new t.constructor(n);return t.copy(n),n}function Tn(t){var e=new t.constructor(t.byteLength);return new yi(e).set(new yi(t)),e}function In(t,e){return new t.constructor(e?Tn(t.buffer):t.buffer,t.byteOffset,t.length)}function zn(t,e){if(t!==e){var n=t!==$,r=null===t,o=t===t,i=wo(t),u=e!==$,a=null===e,c=e===e,f=wo(e);if(!a&&!f&&!i&&t>e||i&&u&&c&&!a&&!f||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!f&&t<e||f&&n&&o&&!r&&!i||a&&n&&o||!u&&o||!c)return-1}return 0}function Rn(t,e,n,r){var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Wi(i-u,0),s=Zo(c+f);for(r=!r;++a<c;)s[a]=e[a];for(;++o<u;)(r||o<i)&&(s[n[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}function Mn(t,e,n,r){var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,s=Wi(i-a,0),l=Zo(s+f);for(r=!r;++o<s;)l[o]=t[o];for(s=o;++c<f;)l[s+c]=e[c];for(;++u<a;)(r||o<i)&&(l[s+n[u]]=t[o++]);return l}function Cn(t,e){var n=-1,r=t.length;for(e||(e=Zo(r));++n<r;)e[n]=t[n];return e}function Wn(t,e,n,r){var o=!n;n||(n={});for(var i=-1,u=e.length;++i<u;){var a=e[i],c=r?r(n[a],t[a],a,n,t):$;c===$&&(c=t[a]),o?se(n,a,c):ie(n,a,c)}return n}function Ln(t,e){return Wn(t,hu(t),e)}function Dn(t,e){return Wn(t,vu(t),e)}function Bn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Fn(t){return an(function(e,n){var r=-1,o=n.length,i=1<o?n[o-1]:$,u=2<o?n[2]:$,i=3<t.length&&"function"==typeof i?(o--,i):$;for(u&&Er(n[0],n[1],u)&&(i=3>o?$:i,o=1),e=Qo(e);++r<o;)(u=n[r])&&t(e,u,r,i);return e})}function Nn(t,e){return function(n,r){if(null==n)return n;if(!lo(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Qo(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function qn(t){return function(e,n,r){var o=-1,i=Qo(e);r=r(e);for(var u=r.length;u--;){var a=r[t?u:++o];if(!1===n(i[a],a,i))break}return e}}function Un(t,e,n){function r(){return(this&&this!==qt&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=1&e,i=Vn(t);return r}function $n(t){return function(e){e=To(e);var n=zt.test(e)?U(e):$,r=n?n[0]:e.charAt(0);return e=n?En(n,1).join(""):e.slice(1),r[t]()+e}}function Gn(t){return function(e){return v(Bo(Do(e).replace(Et,"")),t,"")}}function Vn(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=ou(t.prototype),e=t.apply(n,e);return bo(e)?e:n}}function Kn(t,e,n){function r(){for(var u=arguments.length,a=Zo(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:B(a,f),u-=c.length,u<n?or(t,e,Yn,r.placeholder,$,a,c,$,$,n-u):i(this&&this!==qt&&this instanceof r?o:t,this,a)}var o=Vn(t);return r}function Zn(t){return function(e,n,r){var o=Qo(e);if(!lo(e)){var i=br(n,3);e=Ro(e),n=function(t){return i(o[t],t,o)}}return n=t(e,n,r),-1<n?o[i?e[n]:n]:$}}function Hn(t){return dr(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new ni("Expected a function");if(i&&!a&&"wrapper"==yr(u))var a=new o([],!0)}for(r=a?r:n;++r<n;)var u=e[r],i=yr(u),c="wrapper"==i?du(u):$,a=c&&Tr(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[yr(c[0])].apply(a,c[3]):1==u.length&&Tr(u)?a[i]():a.thru(u);return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ua(r))return a.plant(r).value();for(var o=0,t=n?e[o].apply(this,t):r;++o<n;)t=e[o].call(this,t);return t}})}function Yn(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=Zo(g),_=g;_--;)b[_]=arguments[_];if(h){var m,x=gr(s),_=b.length;for(m=0;_--;)b[_]===x&&++m}if(r&&(b=Rn(b,r,o,h)),i&&(b=Mn(b,i,u,h)),g-=m,h&&g<f)return x=B(b,x),or(t,e,Yn,s.placeholder,n,b,x,a,c,f-g);if(x=p?n:this,_=d?x[t]:t,g=b.length,a){m=b.length;for(var j=Li(a.length,m),w=Cn(b);j--;){var O=a[j];b[j]=Pr(O,m)?w[O]:$}}else v&&1<g&&b.reverse();return l&&c<g&&(b.length=c),this&&this!==qt&&this instanceof s&&(_=y||Vn(_)),_.apply(x,b)}var l=128&e,p=1&e,d=2&e,h=24&e,v=512&e,y=d?$:Vn(t);return s}function Jn(t,e){return function(n,r){return ze(n,t,e(r))}}function Xn(t,e){return function(n,r){var o;if(n===$&&r===$)return e;if(n!==$&&(o=n),r!==$){if(o===$)return r;"string"==typeof n||"string"==typeof r?(n=bn(n),r=bn(r)):(n=gn(n),r=gn(r)),o=t(n,r)}return o}}function Qn(t){return dr(function(e){return e=d(e,I(br())),an(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function tr(t,e){e=e===$?" ":bn(e);var n=e.length;return 2>n?n?un(e,t):e:(n=un(e,Si(t/q(e))),zt.test(e)?En(U(n),0,t).join(""):n.slice(0,t))}function er(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=Zo(s+c),p=this&&this!==qt&&this instanceof o?a:t;++f<s;)l[f]=r[f];for(;c--;)l[f++]=arguments[++e];return i(p,u?n:this,l)}var u=1&e,a=Vn(t);return o}function nr(t){return function(e,n,r){r&&"number"!=typeof r&&Er(e,n,r)&&(n=r=$),e=ko(e),n===$?(n=e,e=0):n=ko(n),r=r===$?e<n?1:-1:ko(r);var o=-1;n=Wi(Si((n-e)/(r||1)),0);for(var i=Zo(n);n--;)i[t?n:++o]=e,e+=r;return i}}function rr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Eo(e),n=Eo(n)),t(e,n)}}function or(t,e,n,r,o,i,u,a,c,f){var s=8&e,l=s?u:$;u=s?$:u;var p=s?i:$;return i=s?$:i,e=(e|(s?32:64))&~(s?64:32),4&e||(e&=-4),o=[t,e,o,p,l,i,u,a,c,f],n=n.apply($,o),Tr(t)&&bu(n,o),n.placeholder=r,Cr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=Eo(t),(n=null==n?0:Li(Ao(n),292))&&Ri(t)){var r=(To(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(To(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ur(t){return function(e){var n=yu(e);return"[object Map]"==n?L(e):"[object Set]"==n?N(e):T(e,t(e))}}function ar(t,e,n,r,o,i,u,a){var c=2&e;if(!c&&"function"!=typeof t)throw new ni("Expected a function");var f=r?r.length:0;if(f||(e&=-97,r=o=$),u=u===$?u:Wi(Ao(u),0),a=a===$?a:Ao(a),f-=o?o.length:0,64&e){var s=r,l=o;r=o=$}var p=c?$:du(t);return i=[t,e,n,r,o,s,l,i,u,a],p&&(n=i[1],t=p[1],e=n|t,r=128==t&&8==n||128==t&&256==n&&i[7].length<=p[8]||384==t&&p[7].length<=p[8]&&8==n,131>e||r)&&(1&t&&(i[2]=p[2],e|=1&n?0:4),(n=p[3])&&(r=i[3],i[3]=r?Rn(r,n,p[4]):n,i[4]=r?B(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Mn(r,n,p[6]):n,i[6]=r?B(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Li(i[8],p[8])),null==i[9]&&(i[9]=p[9]),i[0]=p[0],i[1]=e),t=i[0],e=i[1],n=i[2],r=i[3],o=i[4],a=i[9]=i[9]===$?c?0:t.length:Wi(i[9]-f,0),!a&&24&e&&(e&=-25),Cr((p?fu:bu)(e&&1!=e?8==e||16==e?Kn(t,e,a):32!=e&&33!=e||o.length?Yn.apply($,i):er(t,e,n,r):Un(t,e,n),i),t,e)}function cr(t,e,n,r){return t===$||so(t,oi[n])&&!ai.call(r,n)?e:t}function fr(t,e,n,r,o,i){return bo(t)&&bo(e)&&(i.set(e,t),Ye(t,e,$,fr,i),i.delete(e)),t}function sr(t){return xo(t)?$:t}function lr(t,e,n,r,o,i){var u=1&n,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;if((c=i.get(t))&&i.get(e))return c==e;var c=-1,f=!0,s=2&n?new Ft:$;for(i.set(t,e),i.set(e,t);++c<a;){var l=t[c],p=e[c];if(r)var d=u?r(p,l,c,e,t,i):r(l,p,c,t,e,i);if(d!==$){if(d)continue;f=!1;break}if(s){if(!g(e,function(t,e){if(!R(s,e)&&(l===t||o(l,t,n,r,i)))return s.push(e)})){f=!1;break}}else if(l!==p&&!o(l,p,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function pr(t,e,n,r,o,i,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new yi(t),new yi(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return so(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=L;case"[object Set]":if(a||(a=F),t.size!=e.size&&!(1&r))break;return(n=u.get(t))?n==e:(r|=2,u.set(t,e),e=lr(a(t),a(e),r,o,i,u),u.delete(t),e);case"[object Symbol]":if(nu)return nu.call(t)==nu.call(e)}return!1}function dr(t){return mu(Rr(t,$,$r),t+"")}function hr(t){return Ae(t,Ro,hu)}function vr(t){return Ae(t,Mo,vu)}function yr(t){for(var e=t.name+"",n=Hi[e],r=ai.call(Hi,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function gr(t){return(ai.call(n,"placeholder")?n:t).placeholder}function br(){var t=n.iteratee||qo,t=t===qo?$e:t;return arguments.length?t(arguments[0],arguments[1]):t}function _r(t,e){var n=t.__data__,r=typeof e;return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function mr(t){for(var e=Ro(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,o===o&&!bo(o)]}return e}function xr(t,e){var n=null==t?$:t[e];return Fe(n)?n:$}function jr(t,e,n){e=Pn(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Dr(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&go(o)&&Pr(u,o)&&(ua(t)||ia(t))}function wr(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ai.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Or(t){return"function"!=typeof t.constructor||Ir(t)?{}:ou(bi(t))}function kr(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Tn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?Tn(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return In(t,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return e=new t.constructor(t.source,bt.exec(t)),e.lastIndex=t.lastIndex,e;case"[object Set]":return new r;case"[object Symbol]":return nu?Qo(nu.call(t)):{}}}function Ar(t){return ua(t)||ia(t)||!!(ji&&t&&t[ji])}function Pr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&wt.test(t))&&-1<t&&0==t%1&&t<e}function Er(t,e,n){if(!bo(n))return!1;var r=typeof e;return!!("number"==r?lo(n)&&Pr(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Sr(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Tr(t){var e=yr(t),r=n[e];return"function"==typeof r&&e in k.prototype&&(t===r||!!(e=du(r))&&t===e[0])}function Ir(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oi)}function zr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==$||t in Qo(n))}}function Rr(t,e,n){return e=Wi(e===$?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Wi(r.length-e,0),a=Zo(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Zo(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Cr(t,e,n){var r=e+"";e=mu;var o,i=Fr;return o=(o=r.match(dt))?o[1].split(ht):[],n=i(o,n),(i=n.length)&&(o=i-1,n[o]=(1<i?"& ":"")+n[o],n=n.join(2<i?", ":" "),r=r.replace(pt,"{\n/* [wrapped with "+n+"] */\n")),e(t,r)}function Wr(t){var e=0,n=0;return function(){var r=Di(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Lr(t,e){var n=-1,r=t.length,o=r-1;for(e=e===$?r:e;++n<e;){var r=on(n,o),i=t[r];t[r]=t[n],t[n]=i}return t.length=e,t}function Dr(t){if("string"==typeof t||wo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Br(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Fr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Nr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Cn(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function qr(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Ao(n),0>n&&(n=Wi(r+n,0)),_(t,br(e,3),n)):-1}function Ur(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Ao(n),o=0>n?Wi(r+o,0):Li(o,r-1)),_(t,br(e,3),o,!0)}function $r(t){return(null==t?0:t.length)?xe(t,1):[]}function Gr(t){return t&&t.length?t[0]:$}function Vr(t){var e=null==t?0:t.length;return e?t[e-1]:$}function Kr(t,e){return t&&t.length&&e&&e.length?nn(t,e):t}function Zr(t){return null==t?t:Ni.call(t)}function Hr(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(po(t))return e=Wi(t.length,e),!0}),S(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(t);return null==e?n:d(n,function(t){return i(e,$,t)})}function Jr(t){return t=n(t),t.__chain__=!0,t}function Xr(t,e){return e(t)}function Qr(){return this}function to(t,e){return(ua(t)?a:iu)(t,br(e,3))}function eo(t,e){return(ua(t)?c:uu)(t,br(e,3))}function no(t,e){return(ua(t)?d:Ke)(t,br(e,3))}function ro(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,ar(t,128,$,$,$,$,e)}function oo(t,e){var n;if("function"!=typeof e)throw new ni("Expected a function");return t=Ao(t),function(){return 0<--t&&(n=e.apply(this,arguments)),1>=t&&(e=$),n}}function io(t,e,n){return e=n?$:e,t=ar(t,8,$,$,$,$,$,e),t.placeholder=io.placeholder,t}function uo(t,e,n){return e=n?$:e,t=ar(t,16,$,$,$,$,$,e),t.placeholder=uo.placeholder,t}function ao(t,e,n){function r(e){var n=c,r=f;return c=f=$,h=e,l=t.apply(r,n)}function o(t){var n=t-d;return t-=h,d===$||n>=e||0>n||y&&t>=s}function i(){var t=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=y?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),v?r(t):l;if(y)return lu(p),p=_u(i,e),r(d)}return p===$&&(p=_u(i,e)),l}var c,f,s,l,p,d,h=0,v=!1,y=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=Eo(e)||0,bo(n)&&(v=!!n.leading,s=(y="maxWait"in n)?Wi(Eo(n.maxWait)||0,e):s,g="trailing"in n?!!n.trailing:g),a.cancel=function(){p!==$&&lu(p),h=0,c=d=f=p=$},a.flush=function(){return p===$?l:u(Zu())},a}function co(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ni("Expected a function");return n.cache=new(co.Cache||Lt),n}function fo(t){if("function"!=typeof t)throw new ni("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function so(t,e){return t===e||t!==t&&e!==e}function lo(t){return null!=t&&go(t.length)&&!vo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=Pe(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function vo(t){return!!bo(t)&&("[object Function]"==(t=Pe(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yo(t){return"number"==typeof t&&t==Ao(t)}function go(t){return"number"==typeof t&&-1<t&&0==t%1&&9007199254740991>=t}function bo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function _o(t){return null!=t&&"object"==typeof t}function mo(t){return"number"==typeof t||_o(t)&&"[object Number]"==Pe(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Pe(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Pe(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Pe(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Cn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=yu(t),("[object Map]"==e?L:"[object Set]"==e?F:Wo)(t)}function ko(t){return t?(t=Eo(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Ao(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Po(t){return t?pe(Ao(t),0,4294967295):0}function Eo(t){if("number"==typeof t)return t;if(wo(t))return V;if(bo(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=bo(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ft,"");var e=mt.test(t);return e||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function So(t){return Wn(t,Mo(t))}function To(t){return null==t?"":bn(t)}function Io(t,e,n){return t=null==t?$:ke(t,e),t===$?n:t}function zo(t,e){return null!=t&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Mo(t){if(lo(t))t=Ut(t,!0);else if(bo(t)){var e,n=Ir(t),r=[];for(e in t)("constructor"!=e||!n&&ai.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Qo(t))e.push(n);t=e}return t}function Co(t,e){if(null==t)return{};var n=d(vr(t),function(t){return[t]});return e=br(e),tn(t,n,function(t,n){return e(t,n[0])})}function Wo(t){return null==t?[]:z(t,Ro(t))}function Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(St,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(vt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(t){return t}function qo(t){return $e("function"==typeof t?t:de(t,1))}function Uo(t,e,n){var r=Ro(e),o=Oe(e,r);null!=n||bo(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Oe(e,Ro(e)));var i=!(bo(n)&&"chain"in n&&!n.chain),u=vo(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Cn(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function $o(){}function Go(t){return Sr(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Mt));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.prototype,oi=Qo.prototype,ii=e["__core-js_shared__"],ui=Jo.prototype.toString,ai=oi.hasOwnProperty,ci=0,fi=function(){var t=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),si=oi.toString,li=ui.call(Qo),pi=qt._,di=ti("^"+ui.call(ai).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Gt?e.Buffer:$,vi=e.Symbol,yi=e.Uint8Array,gi=hi?hi.g:$,bi=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=vi?vi.isConcatSpreadable:$,wi=vi?vi.iterator:$,Oi=vi?vi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ai=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Pi=Ho&&Ho.now!==qt.Date.now&&Ho.now,Ei=e.setTimeout!==qt.setTimeout&&e.setTimeout,Si=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Mi=ri.join,Ci=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=ri.reverse,qi=xr(e,"DataView"),Ui=xr(e,"Map"),$i=xr(e,"Promise"),Gi=xr(e,"Set"),Vi=xr(e,"WeakMap"),Ki=xr(Qo,"create"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(Vi),eu=vi?vi.prototype:$,nu=eu?eu.valueOf:$,ru=eu?eu.toString:$,ou=function(){function t(){}return function(e){return bo(e)?_i?_i(e):(t.prototype=e,e=new t,t.prototype=$,e):{}}}();n.templateSettings={escape:et,evaluate:nt,interpolate:rt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ou(r.prototype),o.prototype.constructor=o,k.prototype=ou(r.prototype),k.prototype.constructor=k,Pt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},Pt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Pt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},Pt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},Pt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ki&&e===$?"__lodash_hash_undefined__":e,this},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.prototype.delete=function(t){var e=this.__data__;return!(0>(t=ue(e,t))||(t==e.length-1?e.pop():xi.call(e,t,1),--this.size,0))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1<ue(this.__data__,t)},Tt.prototype.set=function(t,e){var n=this.__data__,r=ue(n,t);return 0>r?(++this.size,n.push([t,e])):n[r][1]=e,this},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new Pt,map:new(Ui||Tt),string:new Pt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.prototype.set=function(t,e){var n=_r(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Ai||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,vu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,yu=Pe;(qi&&"[object DataView]"!=yu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=yu(new Ui)||$i&&"[object Promise]"!=yu($i.resolve())||Gi&&"[object Set]"!=yu(new Gi)||Vi&&"[object WeakMap]"!=yu(new Vi))&&(yu=function(t){var e=Pe(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(t):"")switch(t){case Yi:return"[object DataView]";case Ji:return"[object Map]";case Xi:return"[object Promise]";case Qi:return"[object Set]";case tu:return"[object WeakMap]"}return e});var gu=ii?vo:Ko,bu=Wr(fu),_u=Ei||function(t,e){return qt.setTimeout(t,e)},mu=Wr(su),xu=function(t){t=co(t,function(t){return 500===e.size&&e.clear(),t});var e=t.cache;return t}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ut,function(t,n,r,o){e.push(r?o.replace(yt,"$1"):n||t)}),e}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),br(n,2)):[]}),Ou=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),$,n):[]}),ku=an(function(t){var e=d(t,kn);return e.length&&e[0]===t[0]?Ie(e):[]}),Au=an(function(t){var e=Vr(t),n=d(t,kn);return e===Vr(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Ie(n,br(e,2)):[]}),Pu=an(function(t){var e=Vr(t),n=d(t,kn);return(e="function"==typeof e?e:$)&&n.pop(),n.length&&n[0]===t[0]?Ie(n,$,e):[]}),Eu=an(Kr),Su=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Pr(t,n)?+t:t}).sort(zn)),r}),Tu=an(function(t){return _n(xe(t,1,po,!0))}),Iu=an(function(t){var e=Vr(t);return po(e)&&(e=$),_n(xe(t,1,po,!0),br(e,2))}),zu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return _n(xe(t,1,po,!0),$,e)}),Ru=an(function(t,e){return po(t)?ge(t,e):[]}),Mu=an(function(t){return wn(s(t,po))}),Cu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Bu=dr(function(t){function e(e){return le(e,t)}var n=t.length,r=n?t[0]:0,i=this.__wrapped__;return!(1<n||this.__actions__.length)&&i instanceof k&&Pr(r)?(i=i.slice(r,+r+(n?1:0)),i.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(i,this.__chain__).thru(function(t){return n&&!t.length&&t.push($),t})):this.thru(e)}),Fu=Bn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Nu=Zn(qr),qu=Zn(Ur),Uu=Bn(function(t,e,n){ai.call(t,n)?t[n].push(e):se(t,n,[e])}),$u=an(function(t,e,n){var r=-1,o="function"==typeof e,u=lo(t)?Zo(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Bn(function(t,e,n){se(t,n,e)}),Vu=Bn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ku=an(function(t,e){if(null==t)return[];var n=e.length;return 1<n&&Er(t,e[0],e[1])?e=[]:2<n&&Er(e[0],e[1],e[2])&&(e=[e[0]]),Xe(t,xe(e,1),[])}),Zu=Pi||function(){return qt.Date.now()},Hu=an(function(t,e,n){var r=1;if(n.length)var o=B(n,gr(Hu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=B(n,gr(Yu)),r=32|r;return ar(e,r,t,n,o)}),Ju=an(function(t,e){return ye(t,1,e)}),Xu=an(function(t,e,n){return ye(t,Eo(e)||0,n)});co.Cache=Lt;var Qu=an(function(t,e){e=1==e.length&&ua(e[0])?d(e[0],I(br())):d(xe(e,1),I(br()));var n=e.length;return an(function(r){for(var o=-1,u=Li(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),ta=an(function(t,e){return ar(t,32,$,e,B(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,B(e,gr(ea)))}),na=dr(function(t,e){return ar(t,256,$,$,$,e)}),ra=rr(Ee),oa=rr(function(t,e){return t>=e}),ia=Me(function(){return arguments}())?Me:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Ce,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),va=rr(function(t,e){return t<=e}),ya=Fn(function(t,e){if(Ir(e)||lo(e))Wn(e,Ro(e),t);else for(var n in e)ai.call(e,n)&&ie(t,n,e[n])}),ga=Fn(function(t,e){Wn(e,Mo(e),t)}),ba=Fn(function(t,e,n,r){Wn(e,Mo(e),t,r)}),_a=Fn(function(t,e,n,r){Wn(e,Ro(e),t,r)}),ma=dr(le),xa=an(function(t,e){t=Qo(t);var n=-1,r=e.length,o=2<r?e[2]:$;for(o&&Er(e[0],e[1],o)&&(r=1);++n<r;)for(var o=e[n],i=Mo(o),u=-1,a=i.length;++u<a;){var c=i[u],f=t[c];(f===$||so(f,oi[c])&&!ai.call(t,c))&&(t[c]=o[c])}return t}),ja=an(function(t){return t.push($,fr),i(Pa,$,t)}),wa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},Fo(No)),Oa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),ai.call(t,e)?t[e].push(n):t[e]=[n]},br),ka=an(Re),Aa=Fn(function(t,e,n){Ye(t,e,n)}),Pa=Fn(function(t,e,n,r){Ye(t,e,n,r)}),Ea=dr(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=Pn(e,t),r||(r=1<e.length),e}),Wn(t,vr(t),n),r&&(n=de(n,7,sr));for(var o=e.length;o--;)mn(n,e[o]);return n}),Sa=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ta=ur(Ro),Ia=ur(Mo),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Lo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ma=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ca=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),La=Gn(function(t,e,n){return t+(n?" ":"")+Ba(e)}),Da=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ba=$n("toUpperCase"),Fa=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Na=dr(function(t,e){return a(e,function(e){e=Dr(e),se(t,e,Hu(t[e],t))}),t}),qa=Hn(),Ua=Hn(!0),$a=an(function(t,e){return function(n){return Re(n,t,e)}}),Ga=an(function(t,e){return function(n){return Re(t,n,e)}}),Va=Qn(d),Ka=Qn(f),Za=Qn(g),Ha=nr(),Ya=nr(!0),Ja=Xn(function(t,e){return t+e},0),Xa=ir("ceil"),Qa=Xn(function(t,e){return t/e},1),tc=ir("floor"),ec=Xn(function(t,e){return t*e},1),nc=ir("round"),rc=Xn(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new ni("Expected a function");return t=Ao(t),function(){if(1>--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=ya,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Hu,n.bindAll=Na,n.bindKey=Yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ua(t)?t:[t]},n.chain=Jr,n.chunk=function(t,e,n){if(e=(n?Er(t,e,n):e===$)?1:Wi(Ao(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Si(n/e));r<n;)i[o++]=pn(t,r,r+=e);return i},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Zo(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Cn(n):[n],xe(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=br();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new ni("Expected a function");return[n(t[0]),t[1]]}):[],an(function(n){for(var r=-1;++r<e;){var o=t[r];if(i(o[0],this,n))return i(o[1],this,n)}})},n.conforms=function(t){return he(de(t,1))},n.constant=Fo,n.countBy=Fu,n.create=function(t,e){var n=ou(t);return null==e?n:ce(n,e)},n.curry=io,n.curryRight=uo,n.debounce=ao,n.defaults=xa,n.defaultsDeep=ja,n.defer=Ju,n.delay=Xu,n.difference=ju,n.differenceBy=wu,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),pn(t,0>e?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),e=r-e,pn(t,0,0>e?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0):[]},n.fill=function(t,e,n,r){var o=null==t?0:t.length;if(!o)return[];for(n&&"number"!=typeof n&&Er(t,e,n)&&(n=0,r=o),o=t.length,n=Ao(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Ao(r),0>r&&(r+=o),r=n>r?0:Po(r);n<r;)t[n++]=e;return t},n.filter=function(t,e){return(ua(t)?s:me)(t,br(e,3))},n.flatMap=function(t,e){return xe(no(t,e),1)},n.flatMapDeep=function(t,e){return xe(no(t,e),G)},n.flatMapDepth=function(t,e,n){return n=n===$?1:Ao(n),xe(no(t,e),n)},n.flatten=$r,n.flattenDeep=function(t){return(null==t?0:t.length)?xe(t,G):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?(e=e===$?1:Ao(e),xe(t,e)):[]},n.flip=function(t){return ar(t,512)},n.flow=qa,n.flowRight=Ua,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},n.functions=function(t){return null==t?[]:Oe(t,Ro(t))},n.functionsIn=function(t){return null==t?[]:Oe(t,Mo(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Au,n.intersectionWith=Pu,n.invert=wa,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Mo,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),je(t,function(t,r,o){se(n,e(t,r,o),t)}),n},n.mapValues=function(t,e){var n={};return e=br(e,3),je(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return Ze(de(t,1))},n.matchesProperty=function(t,e){return He(t,de(e,1))},n.memoize=co,n.merge=Aa,n.mergeWith=Pa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Ao(t),an(function(e){return Je(e,t)})},n.omit=Ea,n.omitBy=function(t,e){return Co(t,fo(br(e)))},n.once=function(t){return oo(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(ua(e)||(e=null==e?[]:[e]),n=r?$:n,ua(n)||(n=null==n?[]:[n]),Xe(t,e,n))},n.over=Va,n.overArgs=Qu,n.overEvery=Ka,n.overSome=Za,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Sa,n.pickBy=Co,n.property=Go,n.propertyOf=function(t){return function(e){return null==t?$:ke(t,e)}},n.pull=Eu,n.pullAll=Kr,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,br(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,$,n):t},n.pullAt=Su,n.range=Ha,n.rangeRight=Ya,n.rearg=na,n.reject=function(t,e){return(ua(t)?s:me)(t,fo(br(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=br(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return rn(t,o),n},n.rest=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=e===$?e:Ao(e),an(t,e)},n.reverse=Zr,n.sampleSize=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Ao(e),(ua(t)?Vt:fn)(t,e)},n.set=function(t,e,n){return null==t?t:sn(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:$,null==t?t:sn(t,e,n,r)},n.shuffle=function(t){return(ua(t)?Kt:ln)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Er(t,e,n)?(e=0,n=r):(e=null==e?0:Ao(e),n=n===$?r:Ao(n)),pn(t,e,n)):[]},n.sortBy=Ku,n.sortedUniq=function(t){return t&&t.length?yn(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?yn(t,br(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&Er(t,e,n)&&(e=n=$),n=n===$?4294967295:n>>>0,n?(t=To(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?En(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=null==e?0:Wi(Ao(e),0),an(function(n){var r=n[e];return n=En(n,0,e),r&&h(n,r),i(t,this,n)})},n.tail=function(t){var e=null==t?0:t.length;return e?pn(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===$?1:Ao(e),pn(t,0,0>e?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),e=r-e,pn(t,0>e?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xn(t,br(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new ni("Expected a function");return bo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ao(t,e,{leading:r,maxWait:e,trailing:o})},n.thru=Xr,n.toArray=Oo,n.toPairs=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Cn(xu(To(t)))},n.toPlainObject=So,n.transform=function(t,e,n){var r=ua(t),o=r||ca(t)||da(t);if(e=br(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:bo(t)&&vo(i)?ou(bi(t)):{}}return(o?a:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,n.unionBy=Iu,n.unionWith=zu,n.uniq=function(t){return t&&t.length?_n(t):[]},n.uniqBy=function(t,e){return t&&t.length?_n(t,br(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:$,t&&t.length?_n(t,$,e):[]},n.unset=function(t,e){return null==t||mn(t,e)},n.unzip=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,An(n)(ke(t,e)),void 0)},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:$,null!=t&&(t=sn(t,e,An(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Mo(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(An(e),t)},n.xor=Mu,n.xorBy=Cu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=Eo(n),n=n===n?n:0),e!==$&&(e=Eo(e),e=e===e?e:0),pe(Eo(t),e,n)},n.clone=function(t){return de(t,4)},n.cloneDeep=function(t){return de(t,5)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:$,de(t,5,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:$,de(t,4,e)},n.conformsTo=function(t,e){return null==e||ve(t,e,Ro(e))},n.deburr=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Ao(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=To(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=To(t))&&ct.test(t)?t.replace(at,"\\$&"):t},n.every=function(t,e,n){var r=ua(t)?f:be;return n&&Er(t,e,n)&&(e=$),r(t,br(e,3))},n.find=Nu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),je)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),we)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Mo)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Mo)},n.forOwn=function(t,e){return t&&je(t,br(e,3))},n.forOwnRight=function(t,e){return t&&we(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&jr(t,e,Se)},n.hasIn=zo,n.head=Gr,n.identity=No,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Ao(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),jo(t)?n<=r&&-1<t.indexOf(e,n):!!r&&-1<m(t,e,n)},n.indexOf=function(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Ao(n),0>n&&(n=Wi(r+n,0)),m(t,e,n)):-1},n.inRange=function(t,e,n){return e=ko(e),n===$?(n=e,e=0):n=ko(n),(t=Eo(t))>=Li(e,n)&&t<Wi(e,n)},n.invoke=ka,n.isArguments=ia,n.isArray=ua,n.isArrayBuffer=aa,n.isArrayLike=lo,n.isArrayLikeObject=po,n.isBoolean=function(t){return!0===t||!1===t||_o(t)&&"[object Boolean]"==Pe(t)},n.isBuffer=ca,n.isDate=fa,n.isElement=function(t){return _o(t)&&1===t.nodeType&&!xo(t)},n.isEmpty=function(t){if(null==t)return!0;if(lo(t)&&(ua(t)||"string"==typeof t||"function"==typeof t.splice||ca(t)||da(t)||ia(t)))return!t.length;var e=yu(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Ir(t))return!Ge(t).length;for(var n in t)if(ai.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Le(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Le(t,e,$,n):!!r},n.isError=ho,n.isFinite=function(t){return"number"==typeof t&&Ri(t)},n.isFunction=vo,n.isInteger=yo,n.isLength=go,n.isMap=sa,n.isMatch=function(t,e){return t===e||Be(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,Be(t,e,mr(e),n)},n.isNaN=function(t){return mo(t)&&t!=+t},n.isNative=function(t){if(gu(t))throw new Yo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fe(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=mo,n.isObject=bo,n.isObjectLike=_o,n.isPlainObject=xo,n.isRegExp=la,n.isSafeInteger=function(t){return yo(t)&&-9007199254740991<=t&&9007199254740991>=t},n.isSet=pa,n.isString=jo,n.isSymbol=wo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==yu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==Pe(t)},n.join=function(t,e){return null==t?"":Mi.call(t,e)},n.kebabCase=Ra,n.last=Vr,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;if(n!==$&&(o=Ao(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ma,n.lowerFirst=Ca,n.lt=ha,n.lte=va,n.max=function(t){return t&&t.length?_e(t,No,Ee):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ee):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,Ve):$},n.minBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ve):$},n.stubArray=Vo,n.stubFalse=Ko,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=ec,n.nth=function(t,e){return t&&t.length?Je(t,Ao(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Si(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?tr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Bi(To(t).replace(st,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Er(t,e,n)&&(e=n=$),n===$&&("boolean"==typeof e?(n=e,e=$):"boolean"==typeof t&&(n=t,t=$)),t===$&&e===$?(t=0,e=1):(t=ko(t),e===$?(e=t,t=0):e=ko(e)),t>e){var r=t;t=e,e=r}return n||t%1||e%1?(n=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?v:A,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?y:A,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Ao(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=Pn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Dr(e[r])];i===$&&(r=o,i=n),t=vo(i)?i.call(t):i}return t},n.round=nc,n.runInContext=t,n.sample=function(t){return(ua(t)?$t:cn)(t)},n.size=function(t){if(null==t)return 0;if(lo(t))return jo(t)?q(t):t.length;var e=yu(t);return"[object Map]"==e||"[object Set]"==e?t.size:Ge(t).length},n.snakeCase=Wa,n.some=function(t,e,n){var r=ua(t)?g:dn;return n&&Er(t,e,n)&&(e=$),r(t,br(e,3))},n.sortedIndex=function(t,e){return hn(t,e)},n.sortedIndexBy=function(t,e,n){return vn(t,e,br(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=hn(t,e);if(r<n&&so(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return hn(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return vn(t,e,br(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=hn(t,e,!0)-1;if(so(t[n],e))return n}return-1},n.startCase=La,n.startsWith=function(t,e,n){return t=To(t),n=null==n?0:pe(Ao(n),0,t.length),e=bn(e),t.slice(n,n+e.length)==e},n.subtract=rc,n.sum=function(t){return t&&t.length?E(t,No):0},n.sumBy=function(t,e){return t&&t.length?E(t,br(e,2)):0},n.template=function(t,e,r){var o=n.templateSettings;r&&Er(t,e,r)&&(e=$),t=To(t),e=ba({},e,o,cr),r=ba({},e.imports,o.imports,cr);var i,u,a=Ro(r),c=z(r,a),f=0;r=e.interpolate||kt;var s="__p+='";r=ti((e.escape||kt).source+"|"+r.source+"|"+(r===rt?gt:kt).source+"|"+(e.evaluate||kt).source+"|$","g");var l=ai.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";if(t.replace(r,function(e,n,r,o,a,c){return r||(r=o),s+=t.slice(f,c).replace(At,W),n&&(i=!0,s+="'+__e("+n+")+'"),a&&(u=!0,s+="';"+a+";\n__p+='"),r&&(s+="'+((__t=("+r+"))==null?'':__t)+'"),f=c+e.length,e}),s+="';",(e=ai.call(e,"variable")&&e.variable)||(s="with(obj){"+s+"}"),s=(u?s.replace(Z,""):s).replace(H,"$1").replace(Y,"$1;"),s="function("+(e||"obj")+"){"+(e?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(u?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+s+"return __p}",e=Fa(function(){return Jo(a,l+"return "+s).apply($,c)}),e.source=s,ho(e))throw e;return e},n.times=function(t,e){if(1>(t=Ao(t))||9007199254740991<t)return[];var n=4294967295,r=Li(t,4294967295);for(e=br(e),t-=4294967295,r=S(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Ao,n.toLength=Po,n.toLower=function(t){return To(t).toLowerCase()},n.toNumber=Eo,n.toSafeInteger=function(t){return t?pe(Ao(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=To,n.toUpper=function(t){return To(t).toUpperCase()},n.trim=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=M(t,n),n=C(t,n)+1,En(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e))+1,En(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=M(t,U(e)),En(t,e).join("")):t},n.truncate=function(t,e){var n=30,r="...";if(bo(e))var o="separator"in e?e.separator:o,n="length"in e?Ao(e.length):n,r="omission"in e?bn(e.omission):r;t=To(t);var i=t.length;if(zt.test(t))var u=U(t),i=u.length;if(n>=i)return t;if(1>(i=n-q(r)))return r;if(n=u?En(u,0,i).join(""):t.slice(0,i),o===$)return n+r;if(u&&(i+=n.length-i),la(o)){if(t.slice(i).search(o)){var a=n;for(o.global||(o=ti(o.source,To(bt.exec(o))+"g")),o.lastIndex=0;u=o.exec(a);)var c=u.index;n=n.slice(0,c===$?i:c)}}else t.indexOf(bn(o),i)!=i&&-1<(o=n.lastIndexOf(o))&&(n=n.slice(0,o));return n+r},n.unescape=function(t){return(t=To(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return To(t)+e},n.upperCase=Da,n.upperFirst=Ba,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return je(n,function(e,r){ai.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.15",a("bind bindKey curry curryRight partial partialRight".split(" "),function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){k.prototype[t]=function(n){n=n===$?1:Wi(Ao(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Li(n,r.__takeCount__):r.__views__.push({size:Li(n,4294967295),type:t+(0>r.__dir__?"Right":"")}),r},k.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;k.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:br(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");k.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");k.prototype[t]=function(){return this.__filtered__?new k(this):this[n](1)}}),k.prototype.compact=function(){return this.filter(No)},k.prototype.find=function(t){return this.filter(t).head()},k.prototype.findLast=function(t){return this.reverse().find(t)},k.prototype.invokeMap=an(function(t,e){return"function"==typeof t?new k(this):this.map(function(n){return Re(n,t,e)})}),k.prototype.reject=function(t){return this.filter(fo(br(t)))},k.prototype.slice=function(t,e){t=Ao(t);var n=this;return n.__filtered__&&(0<t||0>e)?new k(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Ao(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},k.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},k.prototype.toArray=function(){return this.take(4294967295)},je(k.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){function e(t){return t=u.apply(n,h([t],f)),i&&d?t[0]:t}var c=this.__wrapped__,f=i?[1]:arguments,s=c instanceof k,l=f[0],p=s||ua(c);p&&r&&"function"==typeof l&&1!=l.length&&(s=p=!1);var d=this.__chain__,v=!!this.__actions__.length,l=a&&!d,s=s&&!v;return!a&&p?(c=s?c:new k(this),c=t.apply(c,f),c.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(c,d)):l&&s?t.apply(this,f):(c=this.thru(e),l?i?c.value()[0]:c.value():c)})}),a("pop push shift sort splice unshift".split(" "),function(t){var e=ri[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(ua(n)?n:[],t)}return this[r](function(n){return e.apply(ua(n)?n:[],t)})}}),je(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Cn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Cn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Cn(this.__views__),t},k.prototype.reverse=function(){if(this.__filtered__){var t=new k(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},k.prototype.value=function(){var t,e=this.__wrapped__.value(),n=this.__dir__,r=ua(e),o=0>n,i=r?e.length:0;t=i;for(var u=this.__views__,a=0,c=-1,f=u.length;++c<f;){var s=u[c],l=s.size;switch(s.type){case"drop":a+=l;break;case"dropRight":t-=l;break;case"take":t=Li(t,a+l);break;case"takeRight":a=Wi(a,t-l)}}if(t={start:a,end:t},u=t.start,a=t.end,t=a-u,u=o?a:u-1,a=this.__iteratees__,c=a.length,f=0,s=Li(t,this.__takeCount__),!r||!o&&i==t&&s==t)return jn(e,this.__actions__);r=[];t:for(;t--&&f<s;){for(u+=n,o=-1,i=e[u];++o<c;){var p=a[o],l=p.type,p=(0,p.iteratee)(i);if(2==l)i=p;else if(!p){if(1==l)continue t;break t}}r[f++]=i}return r},n.prototype.at=Bu,n.prototype.chain=function(){return Jr(this)},n.prototype.commit=function(){return new o(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===$&&(this.__values__=Oo(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var o=Nr(n);o.__index__=0,o.__values__=$,e?i.__wrapped__=o:e=o;var i=o,n=n.__wrapped__}return i.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof k?(this.__actions__.length&&(t=new k(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(47),n(19)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(A.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||A.curry&&n>1?W(e,n):e}function v(t,e,n){if(A.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return A.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),L(V,function(t){return L(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?v(o,y(o,a,t),t):y(o,v(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=E?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var A={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},P=O?n:l,E="curry"in p&&p.curry,S="fixed"in p&&p.fixed,T="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return A.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(355),l=n(356),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e){t.exports={}},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-bitesize-header-view@8.16.1",t,e)}}},function(t,e,n){var r=n(359),o=n(438),i=r(o);t.exports=i},function(t,e,n){function r(t){return function(e,n,r){var a=Object(e);if(!i(e)){var c=o(n,3);e=u(e),n=function(t){return c(a[t],t,a)}}var f=t(e,n,r);return f>-1?a[c?e[f]:f]:void 0}}var o=n(102),i=n(106),u=n(63);t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(361),i=n(423),u=n(182);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,f=c,s=!r;if(null==t)return!f;for(t=Object(t);c--;){var l=n[c];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++c<f;){l=n[c];var p=l[0],d=t[p],h=l[1];if(s&&l[2]){if(void 0===d&&!(p in t))return!1}else{var v=new o;if(r)var y=r(d,h,p,t,e,v);if(!(void 0===y?i(h,d,u|a,r,v):y))return!1}}return!0}var o=n(170),i=n(175),u=1,a=2;t.exports=r},function(t,e){function n(){this.__data__=[],this.size=0}t.exports=n},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)}var o=n(58),i=Array.prototype,u=i.splice;t.exports=r},function(t,e,n){function r(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}var o=n(58);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(58);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(58);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(57);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u(r)}return n.set(t,e),this.size=n.size,this}var o=n(57),i=n(103),u=n(104),a=200;t.exports=r},function(t,e,n){function r(t){return!(!u(t)||i(t))&&(o(t)?h:f).test(a(t))}var o=n(172),i=n(375),u=n(60),a=n(174),c=/[\\^$.*+?()[\]{}|]/g,f=/^\[object .+?Constructor\]$/,s=Function.prototype,l=Object.prototype,p=s.toString,d=l.hasOwnProperty,h=RegExp("^"+p.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},function(t,e,n){function r(t){var e=u.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}var o=n(59),i=Object.prototype,u=i.hasOwnProperty,a=i.toString,c=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t){return!!i&&i in t}var o=n(376),i=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=r},function(t,e,n){var r=n(7),o=r["__core-js_shared__"];t.exports=o},function(t,e){function n(t,e){return null==t?void 0:t[e]}t.exports=n},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(u||i),string:new o}}var o=n(379),i=n(57),u=n(103);t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(380),i=n(381),u=n(382),a=n(383),c=n(384);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(61);t.exports=r},function(t,e){function n(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}t.exports=n},function(t,e,n){function r(t){var e=this.__data__;if(o){var n=e[t];return n===i?void 0:n}return a.call(e,t)?e[t]:void 0}var o=n(61),i="__lodash_hash_undefined__",u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=this.__data__;return o?void 0!==e[t]:u.call(e,t)}var o=n(61),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=o&&void 0===e?i:e,this}var o=n(61),i="__lodash_hash_undefined__";t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(62);t.exports=r},function(t,e){function n(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}t.exports=n},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(62);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(62);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(62);t.exports=r},function(t,e,n){function r(t,e,n,r,y,b){var _=f(t),m=f(e),x=_?h:c(t),j=m?h:c(e);x=x==d?v:x,j=j==d?v:j;var w=x==v,O=j==v,k=x==j;if(k&&s(t)){if(!s(e))return!1;_=!0,w=!1}if(k&&!w)return b||(b=new o),_||l(t)?i(t,e,n,r,y,b):u(t,e,x,n,r,y,b);if(!(n&p)){var A=w&&g.call(t,"__wrapped__"),P=O&&g.call(e,"__wrapped__");if(A||P){var E=A?t.value():t,S=P?e.value():e;return b||(b=new o),y(E,S,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,y,b))}var o=n(170),i=n(176),u=n(396),a=n(400),c=n(418),f=n(8),s=n(178),l=n(180),p=1,d="[object Arguments]",h="[object Array]",v="[object Object]",y=Object.prototype,g=y.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o;++e<n;)this.add(t[e])}var o=n(104),i=n(392),u=n(393);r.prototype.add=r.prototype.push=i,r.prototype.has=u,t.exports=r},function(t,e){function n(t){return this.__data__.set(t,r),this}var r="__lodash_hash_undefined__";t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}t.exports=n},function(t,e){function n(t,e){return t.has(e)}t.exports=n},function(t,e,n){function r(t,e,n,r,o,w,k){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!w(new i(t),new i(e)));case p:case d:case y:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case v:var A=c;case b:var P=r&s;if(A||(A=f),t.size!=e.size&&!P)return!1;var E=k.get(t);if(E)return E==e;r|=l,k.set(t,e);var S=a(A(t),A(e),r,o,w,k);return k.delete(t),S;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(59),i=n(397),u=n(171),a=n(176),c=n(398),f=n(399),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",v="[object Map]",y="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",j="[object DataView]",w=o?o.prototype:void 0,O=w?w.valueOf:void 0;t.exports=r},function(t,e,n){var r=n(7),o=r.Uint8Array;t.exports=o},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}t.exports=n},function(t,e,n){function r(t,e,n,r,u,c){var f=n&i,s=o(t),l=s.length;if(l!=o(e).length&&!f)return!1;for(var p=l;p--;){var d=s[p];if(!(f?d in e:a.call(e,d)))return!1}var h=c.get(t);if(h&&c.get(e))return h==e;var v=!0;c.set(t,e),c.set(e,t);for(var y=f;++p<l;){d=s[p];var g=t[d],b=e[d];if(r)var _=f?r(b,g,d,e,t,c):r(g,b,d,t,e,c);if(!(void 0===_?g===b||u(g,b,n,r,c):_)){v=!1;break}y||(y="constructor"==d)}if(v&&!y){var m=t.constructor,x=e.constructor;m!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof x&&x instanceof x)&&(v=!1)}return c.delete(t),c.delete(e),v}var o=n(401),i=1,u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(402),i=n(404),u=n(63);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(403),i=n(8);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){var r=n(405),o=n(406),i=Object.prototype,u=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return u.call(t,e)}))}:o;t.exports=c},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],v=h.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||s&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,v))||h.push(y);return h}var o=n(408),i=n(177),u=n(8),a=n(178),c=n(179),f=n(180),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==u}var o=n(36),i=n(37),u="[object Arguments]";t.exports=r},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t){return u(t)&&i(t.length)&&!!a[o(t)]}var o=n(36),i=n(105),u=n(37),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=r},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){(function(t){var r=n(173),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===o,a=u&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(e,n(19)(t))},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(415),i=n(416),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){var r=n(417),o=r(Object.keys,Object);t.exports=o},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){var r=n(419),o=n(103),i=n(420),u=n(421),a=n(422),c=n(36),f=n(174),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||u&&"[object Set]"!=v(new u)||a&&"[object WeakMap]"!=v(new a))&&(v=function(t){var e=c(t),n="[object Object]"==e?t.constructor:void 0,r=n?f(n):"";if(r)switch(r){case s:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=v},function(t,e,n){var r=n(20),o=n(7),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(20),o=n(7),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(20),o=n(7),i=r(o,"Set");t.exports=i},function(t,e,n){var r=n(20),o=n(7),i=r(o,"WeakMap");t.exports=i},function(t,e,n){function r(t){for(var e=i(t),n=e.length;n--;){var r=e[n],u=t[r];e[n]=[r,u,o(u)]}return e}var o=n(181),i=n(63);t.exports=r},function(t,e,n){function r(t,e){return a(t)&&c(e)?f(s(t),e):function(n){var r=i(n,t);return void 0===r&&r===e?u(n,t):o(e,r,l|p)}}var o=n(175),i=n(183),u=n(431),a=n(107),c=n(181),f=n(182),s=n(65),l=1,p=2;t.exports=r},function(t,e,n){var r=n(426),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=u},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(427),i=500;t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(r.Cache||o),n}var o=n(104),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(429);t.exports=r},function(t,e,n){function r(t){if("string"==typeof t)return t;if(u(t))return i(t,r)+"";if(a(t))return s?s.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}var o=n(59),i=n(430),u=n(8),a=n(64),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(432),i=n(433);t.exports=r},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t,e,n){e=o(e,t);for(var r=-1,s=e.length,l=!1;++r<s;){var p=f(e[r]);if(!(l=null!=t&&n(t,p)))break;t=t[p]}return l||++r!=s?l:!!(s=null==t?0:t.length)&&c(s)&&a(p,s)&&(u(t)||i(t))}var o=n(185),i=n(177),u=n(8),a=n(179),c=n(105),f=n(65);t.exports=r},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(436),i=n(437),u=n(107),a=n(65);t.exports=r},function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}t.exports=n},function(t,e,n){function r(t){return function(e){return o(e,t)}}var o=n(184);t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var c=null==n?0:u(n);return c<0&&(c=a(r+c,0)),o(t,i(e,3),c)}var o=n(439),i=n(102),u=n(440),a=Math.max;t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}t.exports=n},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(441);t.exports=r},function(t,e,n){function r(t){if(!t)return 0===t?t:0;if((t=o(t))===i||t===-i){return(t<0?-1:1)*u}return t===t?t:0}var o=n(442),i=1/0,u=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(i(t))return u;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=f.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):c.test(t)?u:+t}var o=n(60),i=n(64),u=NaN,a=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;t.exports=r},function(t,e,n){var r=n(444).runInContext();t.exports=n(445)(r,r)},function(t,e,n){(function(t,r){var o;(function(){function i(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function u(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function a(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function c(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function f(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function s(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function l(t,e){return!(null==t||!t.length)&&-1<m(t,e,0)}function p(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function d(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function h(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function v(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function y(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function g(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function b(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function _(t,e,n,r){var o=t.length;for(n+=r?1:-1;r?n--:++n<o;)if(e(t[n],n,t))return n;return-1}function m(t,e,n){if(e===e)t:{--n;for(var r=t.length;++n<r;)if(t[n]===e){t=n;break t}t=-1}else t=_(t,j,n);return t}function x(t,e,n,r){--n;for(var o=t.length;++n<o;)if(r(t[n],e))return n;return-1}function j(t){return t!==t}function w(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:V}function O(t){return function(e){return null==e?$:e[t]}}function k(t){return function(e){return null==t?$:t[e]}}function A(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function P(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].c;return t}function E(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==$&&(n=n===$?i:n+i)}return n}function S(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function T(t,e){return d(e,function(e){return[e,t[e]]})}function I(t){return function(e){return t(e)}}function z(t,e){return d(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function M(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function C(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Lt[t]}function L(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function D(t,e){return function(n){return t(e(n))}}function B(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&"__lodash_placeholder__"!==u||(t[n]="__lodash_placeholder__",i[o++]=n)}return i}function F(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function q(t){if(zt.test(t)){for(var e=Tt.lastIndex=0;Tt.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Tt)||[]:t.split("")}var $,G=1/0,V=NaN,K=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],Z=/\b__p\+='';/g,H=/\b(__p\+=)''\+/g,Y=/(__e\(.*?\)|\b__t\))\+'';/g,J=/&(?:amp|lt|gt|quot|#39);/g,X=/[&<>"']/g,Q=RegExp(J.source),tt=RegExp(X.source),et=/<%-([\s\S]+?)%>/g,nt=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ut=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,at=/[\\^$.*+?()[\]{}|]/g,ct=RegExp(at.source),ft=/^\s+|\s+$/g,st=/^\s+/,lt=/\s+$/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,At=/['\n\r\u2028\u2029\\]/g,Pt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",Et=RegExp("['’]","g"),St=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Tt=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+Pt,"g"),It=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+","(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"].join("|"),"g"),zt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mt="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct["[object Arguments]"]=Ct["[object Array]"]=Ct["[object ArrayBuffer]"]=Ct["[object Boolean]"]=Ct["[object DataView]"]=Ct["[object Date]"]=Ct["[object Error]"]=Ct["[object Function]"]=Ct["[object Map]"]=Ct["[object Number]"]=Ct["[object Object]"]=Ct["[object RegExp]"]=Ct["[object Set]"]=Ct["[object String]"]=Ct["[object WeakMap]"]=!1;var Wt={};Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object DataView]"]=Wt["[object Boolean]"]=Wt["[object Date]"]=Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object Symbol]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object WeakMap]"]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,Bt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Nt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ft||Nt||Function("return this")(),Ut="object"==typeof e&&e&&!e.nodeType&&e,$t=Ut&&"object"==typeof r&&r&&!r.nodeType&&r,Gt=$t&&$t.exports===Ut,Vt=Gt&&Ft.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Zt=Kt&&Kt.isArrayBuffer,Ht=Kt&&Kt.isDate,Yt=Kt&&Kt.isMap,Jt=Kt&&Kt.isRegExp,Xt=Kt&&Kt.isSet,Qt=Kt&&Kt.isTypedArray,te=O("length"),ee=k({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),ne=k({"&":"&","<":"<",">":">",'"':""","'":"'"}),re=k({"&":"&","<":"<",">":">",""":'"',"'":"'"}),oe=function t(e){function n(t){if(_o(t)&&!ua(t)&&!(t instanceof k)){if(t instanceof o)return t;if(ai.call(t,"__wrapped__"))return Nr(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=$}function k(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Pt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Lt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ft(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Lt;++e<n;)this.add(t[e])}function Nt(t){this.size=(this.__data__=new Tt(t)).size}function Ut(t,e){var n,r=ua(t),o=!r&&ia(t),i=!r&&!o&&ca(t),u=!r&&!o&&!i&&da(t),o=(r=r||o||i||u)?S(t.length,ei):[],a=o.length;for(n in t)!e&&!ai.call(t,n)||r&&("length"==n||i&&("offset"==n||"parent"==n)||u&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Pr(n,a))||o.push(n);return o}function $t(t){var e=t.length;return e?t[on(0,e-1)]:$}function Vt(t,e){return Lr(Cn(t),pe(e,0,t.length))}function Kt(t){return Lr(Cn(t))}function te(t,e,n){(n===$||so(t[e],n))&&(n!==$||e in t)||se(t,e,n)}function ie(t,e,n){var r=t[e];ai.call(t,e)&&so(r,n)&&(n!==$||e in t)||se(t,e,n)}function ue(t,e){for(var n=t.length;n--;)if(so(t[n][0],e))return n;return-1}function ae(t,e,n,r){return iu(t,function(t,o,i){e(r,t,n(t),i)}),r}function ce(t,e){return t&&Wn(e,Ro(e),t)}function fe(t,e){return t&&Wn(e,Mo(e),t)}function se(t,e,n){"__proto__"==e&&ki?ki(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function le(t,e){for(var n=-1,r=e.length,o=Zo(r),i=null==t;++n<r;)o[n]=i?$:Io(t,e[n]);return o}function pe(t,e,n){return t===t&&(n!==$&&(t=t<=n?t:n),e!==$&&(t=t>=e?t:e)),t}function de(t,e,n,r,o,i){var u,c=1&e,f=2&e,s=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),u!==$)return u;if(!bo(t))return t;if(r=ua(t)){if(u=wr(t),!c)return Cn(t,u)}else{var l=yu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return Sn(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Dn(t,fe(u,t)):Ln(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Nt),o=i.get(t))return o;i.set(t,u),pa(t)?t.forEach(function(r){u.add(de(r,e,n,r,t,i))}):sa(t)&&t.forEach(function(r,o){u.set(o,de(r,e,n,o,t,i))});var f=s?f?vr:hr:f?Mo:Ro,d=r?$:f(t);return a(d||t,function(r,o){d&&(o=r,r=t[o]),ie(u,o,de(r,e,n,o,t,i))}),u}function he(t){var e=Ro(t);return function(n){return ve(n,t,e)}}function ve(t,e,n){var r=n.length;if(null==t)return!r;for(t=Qo(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===$&&!(o in t)||!i(u))return!1}return!0}function ye(t,e,n){if("function"!=typeof t)throw new ni("Expected a function");return _u(function(){t.apply($,n)},e)}function ge(t,e,n,r){var o=-1,i=l,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=d(e,I(n))),r?(i=p,u=!1):200<=e.length&&(i=R,u=!1,e=new Ft(e));t:for(;++o<a;){var s=t[o],h=null==n?s:n(s),s=r||0!==s?s:0;if(u&&h===h){for(var v=f;v--;)if(e[v]===h)continue t;c.push(s)}else i(e,h,r)||c.push(s)}return c}function be(t,e){var n=!0;return iu(t,function(t,r,o){return n=!!e(t,r,o)}),n}function _e(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===$?u===u&&!wo(u):n(u,a)))var a=u,c=i}return c}function me(t,e){var n=[];return iu(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function xe(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Ar),o||(o=[]);++i<u;){var a=t[i];0<e&&n(a)?1<e?xe(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function je(t,e){return t&&au(t,e,Ro)}function we(t,e){return t&&cu(t,e,Ro)}function Oe(t,e){return s(e,function(e){return vo(t[e])})}function ke(t,e){e=Pn(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Dr(e[n++])];return n&&n==r?t:$}function Ae(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Pe(t){if(null==t)t=t===$?"[object Undefined]":"[object Null]";else if(Oi&&Oi in Qo(t)){var e=ai.call(t,Oi),n=t[Oi];try{t[Oi]=$;var r=!0}catch(t){}var o=si.call(t);r&&(e?t[Oi]=n:delete t[Oi]),t=o}else t=si.call(t);return t}function Ee(t,e){return t>e}function Se(t,e){return null!=t&&ai.call(t,e)}function Te(t,e){return null!=t&&e in Qo(t)}function Ie(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=Zo(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Li(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Ft(u&&s):$}var s=t[0],h=-1,v=a[0];t:for(;++h<o&&f.length<c;){var y=s[h],g=e?e(y):y,y=n||0!==y?y:0;if(v?!R(v,g):!r(f,g,n)){for(u=i;--u;){var b=a[u];if(b?!R(b,g):!r(t[u],g,n))continue t}v&&v.push(g),f.push(y)}}return f}function ze(t,e,n){var r={};return je(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=Pn(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Dr(Vr(e))],null==e?$:i(e,t,n)}function Me(t){return _o(t)&&"[object Arguments]"==Pe(t)}function Ce(t){return _o(t)&&"[object ArrayBuffer]"==Pe(t)}function We(t){return _o(t)&&"[object Date]"==Pe(t)}function Le(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!_o(t)&&!_o(e))e=t!==t&&e!==e;else t:{var i=ua(t),u=ua(e),a=i?"[object Array]":yu(t),c=u?"[object Array]":yu(e),a="[object Arguments]"==a?"[object Object]":a,c="[object Arguments]"==c?"[object Object]":c,f="[object Object]"==a,u="[object Object]"==c;if((c=a==c)&&ca(t)){if(!ca(e)){e=!1;break t}i=!0,f=!1}if(c&&!f)o||(o=new Nt),e=i||da(t)?lr(t,e,n,r,Le,o):pr(t,e,a,n,r,Le,o);else{if(!(1&n)&&(i=f&&ai.call(t,"__wrapped__"),a=u&&ai.call(e,"__wrapped__"),i||a)){t=i?t.value():t,e=a?e.value():e,o||(o=new Nt),e=Le(t,e,n,r,o);break t}if(c)e:if(o||(o=new Nt),i=1&n,a=hr(t),u=a.length,c=hr(e).length,u==c||i){for(f=u;f--;){var s=a[f];if(!(i?s in e:ai.call(e,s))){e=!1;break e}}if((c=o.get(t))&&o.get(e))e=c==e;else{c=!0,o.set(t,e),o.set(e,t);for(var l=i;++f<u;){var s=a[f],p=t[s],d=e[s];if(r)var h=i?r(d,p,s,e,t,o):r(p,d,s,t,e,o);if(h===$?p!==d&&!Le(p,d,n,r,o):!h){c=!1;break}l||(l="constructor"==s)}c&&!l&&(n=t.constructor,r=e.constructor,n!=r&&"constructor"in t&&"constructor"in e&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(c=!1)),o.delete(t),o.delete(e),e=c}}else e=!1;else e=!1}}return e}function De(t){return _o(t)&&"[object Map]"==yu(t)}function Be(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=Qo(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var a=n[o],c=a[0],f=t[c],s=a[1];if(u&&a[2]){if(f===$&&!(c in t))return!1}else{if(a=new Nt,r)var l=r(f,s,c,t,e,a);if(l===$?!Le(s,f,3,r,a):!l)return!1}}return!0}function Fe(t){return!(!bo(t)||fi&&fi in t)&&(vo(t)?di:xt).test(Br(t))}function Ne(t){return _o(t)&&"[object RegExp]"==Pe(t)}function qe(t){return _o(t)&&"[object Set]"==yu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Ct[Pe(t)]}function $e(t){return"function"==typeof t?t:null==t?No:"object"==typeof t?ua(t)?He(t[0],t[1]):Ze(t):Go(t)}function Ge(t){if(!Ir(t))return Ci(t);var e,n=[];for(e in Qo(t))ai.call(t,e)&&"constructor"!=e&&n.push(e);return n}function Ve(t,e){return t<e}function Ke(t,e){var n=-1,r=lo(t)?Zo(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Ze(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||Be(n,t,e)}}function He(t,e){return Sr(t)&&e===e&&!bo(e)?zr(Dr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Le(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Nt),bo(i)){var a=o,c=Mr(t,u),f=Mr(e,u),s=a.get(f);if(s)te(t,u,s);else{var s=r?r(c,f,u+"",t,e,a):$,l=s===$;if(l){var p=ua(f),d=!p&&ca(f),h=!p&&!d&&da(f),s=f;p||d||h?ua(c)?s=c:po(c)?s=Cn(c):d?(l=!1,s=Sn(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=So(c):bo(c)&&!vo(c)||(s=Or(f))):l=!1}l&&(a.set(f,s),Ye(s,f,n,r,a),a.delete(f)),te(t,u,s)}}else a=r?r(Mr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Mo)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Pr(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[No],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),P(t,function(t,e){var r;t:{r=-1;for(var o=t.a,i=e.a,u=o.length,a=n.length;++r<u;){var c=zn(o[r],i[r]);if(c){r=r>=a?c:c*("desc"==n[r]?-1:1);break t}}r=t.b-e.b}return r})}function Qe(t,e){return tn(t,e,function(e,n){return zo(t,n)})}function tn(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=ke(t,u);n(a,u)&&sn(i,Pn(u,t),a)}return i}function en(t){return function(e){return ke(e,t)}}function nn(t,e,n,r){var o=r?x:m,i=-1,u=e.length,a=t;for(t===e&&(e=Cn(e)),n&&(a=d(t,I(n)));++i<u;)for(var c=0,f=e[i],f=n?n(f):f;-1<(c=o(a,f,c,r));)a!==t&&xi.call(a,c,1),xi.call(t,c,1);return t}function rn(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;Pr(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ti(Fi()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ti(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,No),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Lr(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=Pn(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Dr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Pr(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Lr(Wo(t))}function pn(t,e,n){var r=-1,o=t.length;for(0>e&&(e=-e>o?0:o+e),n=n>o?o:n,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0,n=Zo(o);++r<o;)n[r]=t[r+e];return n}function dn(t,e){var n;return iu(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function hn(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&2147483647>=o){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!wo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return vn(t,e,No,n)}function vn(t,e,n,r){e=n(e);for(var o=0,i=null==t?0:t.length,u=e!==e,a=null===e,c=wo(e),f=e===$;o<i;){var s=Ti((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,v=wo(l);(u?r||h:f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!v):d||v?0:r?l<=e:l<e)?o=s+1:i=s}return Li(i,4294967294)}function yn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],a=e?e(u):u;if(!n||!so(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function gn(t){return"number"==typeof t?t:wo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(wo(t))return ru?ru.call(t):"";var e=t+"";return"0"==e&&1/t==-G?"-0":e}function _n(t,e,n){var r=-1,o=l,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=p;else if(200<=i){if(o=e?null:pu(t))return F(o);u=!1,o=R,c=new Ft}else c=e?[]:a;t:for(;++r<i;){var f=t[r],s=e?e(f):f,f=n||0!==f?f:0;if(u&&s===s){for(var d=c.length;d--;)if(c[d]===s)continue t;e&&c.push(s),a.push(f)}else o(c,s,n)||(c!==a&&c.push(s),a.push(f))}return a}function mn(t,e){return e=Pn(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Dr(Vr(e))]}function xn(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?pn(t,r?0:i,r?i+1:o):pn(t,r?i+1:0,r?o:i)}function jn(t,e){var n=t;return n instanceof k&&(n=n.value()),v(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function wn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Zo(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ge(i[o]||u,t[a],e,n));return _n(xe(i,1),e,n)}function On(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:$);return u}function kn(t){return po(t)?t:[]}function An(t){return"function"==typeof t?t:No}function Pn(t,e){return ua(t)?t:Sr(t,e)?[t]:xu(To(t))}function En(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function Sn(t,e){if(e)return t.slice();var n=t.length,n=gi?gi(n):new t.constructor(n);return t.copy(n),n}function Tn(t){var e=new t.constructor(t.byteLength);return new yi(e).set(new yi(t)),e}function In(t,e){return new t.constructor(e?Tn(t.buffer):t.buffer,t.byteOffset,t.length)}function zn(t,e){if(t!==e){var n=t!==$,r=null===t,o=t===t,i=wo(t),u=e!==$,a=null===e,c=e===e,f=wo(e);if(!a&&!f&&!i&&t>e||i&&u&&c&&!a&&!f||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!f&&t<e||f&&n&&o&&!r&&!i||a&&n&&o||!u&&o||!c)return-1}return 0}function Rn(t,e,n,r){var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Wi(i-u,0),s=Zo(c+f);for(r=!r;++a<c;)s[a]=e[a];for(;++o<u;)(r||o<i)&&(s[n[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}function Mn(t,e,n,r){var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,s=Wi(i-a,0),l=Zo(s+f);for(r=!r;++o<s;)l[o]=t[o];for(s=o;++c<f;)l[s+c]=e[c];for(;++u<a;)(r||o<i)&&(l[s+n[u]]=t[o++]);return l}function Cn(t,e){var n=-1,r=t.length;for(e||(e=Zo(r));++n<r;)e[n]=t[n];return e}function Wn(t,e,n,r){var o=!n;n||(n={});for(var i=-1,u=e.length;++i<u;){var a=e[i],c=r?r(n[a],t[a],a,n,t):$;c===$&&(c=t[a]),o?se(n,a,c):ie(n,a,c)}return n}function Ln(t,e){return Wn(t,hu(t),e)}function Dn(t,e){return Wn(t,vu(t),e)}function Bn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Fn(t){return an(function(e,n){var r=-1,o=n.length,i=1<o?n[o-1]:$,u=2<o?n[2]:$,i=3<t.length&&"function"==typeof i?(o--,i):$;for(u&&Er(n[0],n[1],u)&&(i=3>o?$:i,o=1),e=Qo(e);++r<o;)(u=n[r])&&t(e,u,r,i);return e})}function Nn(t,e){return function(n,r){if(null==n)return n;if(!lo(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Qo(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function qn(t){return function(e,n,r){var o=-1,i=Qo(e);r=r(e);for(var u=r.length;u--;){var a=r[t?u:++o];if(!1===n(i[a],a,i))break}return e}}function Un(t,e,n){function r(){return(this&&this!==qt&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=1&e,i=Vn(t);return r}function $n(t){return function(e){e=To(e);var n=zt.test(e)?U(e):$,r=n?n[0]:e.charAt(0);return e=n?En(n,1).join(""):e.slice(1),r[t]()+e}}function Gn(t){return function(e){return v(Bo(Do(e).replace(Et,"")),t,"")}}function Vn(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=ou(t.prototype),e=t.apply(n,e);return bo(e)?e:n}}function Kn(t,e,n){function r(){for(var u=arguments.length,a=Zo(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:B(a,f),u-=c.length,u<n?or(t,e,Yn,r.placeholder,$,a,c,$,$,n-u):i(this&&this!==qt&&this instanceof r?o:t,this,a)}var o=Vn(t);return r}function Zn(t){return function(e,n,r){var o=Qo(e);if(!lo(e)){var i=br(n,3);e=Ro(e),n=function(t){return i(o[t],t,o)}}return n=t(e,n,r),-1<n?o[i?e[n]:n]:$}}function Hn(t){return dr(function(e){var n=e.length,r=n,i=o.prototype.thru;for(t&&e.reverse();r--;){var u=e[r];if("function"!=typeof u)throw new ni("Expected a function");if(i&&!a&&"wrapper"==yr(u))var a=new o([],!0)}for(r=a?r:n;++r<n;)var u=e[r],i=yr(u),c="wrapper"==i?du(u):$,a=c&&Tr(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[yr(c[0])].apply(a,c[3]):1==u.length&&Tr(u)?a[i]():a.thru(u);return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ua(r))return a.plant(r).value();for(var o=0,t=n?e[o].apply(this,t):r;++o<n;)t=e[o].call(this,t);return t}})}function Yn(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=Zo(g),_=g;_--;)b[_]=arguments[_];if(h){var m,x=gr(s),_=b.length;for(m=0;_--;)b[_]===x&&++m}if(r&&(b=Rn(b,r,o,h)),i&&(b=Mn(b,i,u,h)),g-=m,h&&g<f)return x=B(b,x),or(t,e,Yn,s.placeholder,n,b,x,a,c,f-g);if(x=p?n:this,_=d?x[t]:t,g=b.length,a){m=b.length;for(var j=Li(a.length,m),w=Cn(b);j--;){var O=a[j];b[j]=Pr(O,m)?w[O]:$}}else v&&1<g&&b.reverse();return l&&c<g&&(b.length=c),this&&this!==qt&&this instanceof s&&(_=y||Vn(_)),_.apply(x,b)}var l=128&e,p=1&e,d=2&e,h=24&e,v=512&e,y=d?$:Vn(t);return s}function Jn(t,e){return function(n,r){return ze(n,t,e(r))}}function Xn(t,e){return function(n,r){var o;if(n===$&&r===$)return e;if(n!==$&&(o=n),r!==$){if(o===$)return r;"string"==typeof n||"string"==typeof r?(n=bn(n),r=bn(r)):(n=gn(n),r=gn(r)),o=t(n,r)}return o}}function Qn(t){return dr(function(e){return e=d(e,I(br())),an(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function tr(t,e){e=e===$?" ":bn(e);var n=e.length;return 2>n?n?un(e,t):e:(n=un(e,Si(t/q(e))),zt.test(e)?En(U(n),0,t).join(""):n.slice(0,t))}function er(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=Zo(s+c),p=this&&this!==qt&&this instanceof o?a:t;++f<s;)l[f]=r[f];for(;c--;)l[f++]=arguments[++e];return i(p,u?n:this,l)}var u=1&e,a=Vn(t);return o}function nr(t){return function(e,n,r){r&&"number"!=typeof r&&Er(e,n,r)&&(n=r=$),e=ko(e),n===$?(n=e,e=0):n=ko(n),r=r===$?e<n?1:-1:ko(r);var o=-1;n=Wi(Si((n-e)/(r||1)),0);for(var i=Zo(n);n--;)i[t?n:++o]=e,e+=r;return i}}function rr(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Eo(e),n=Eo(n)),t(e,n)}}function or(t,e,n,r,o,i,u,a,c,f){var s=8&e,l=s?u:$;u=s?$:u;var p=s?i:$;return i=s?$:i,e=(e|(s?32:64))&~(s?64:32),4&e||(e&=-4),o=[t,e,o,p,l,i,u,a,c,f],n=n.apply($,o),Tr(t)&&bu(n,o),n.placeholder=r,Cr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=Eo(t),(n=null==n?0:Li(Ao(n),292))&&Ri(t)){var r=(To(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(To(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ur(t){return function(e){var n=yu(e);return"[object Map]"==n?L(e):"[object Set]"==n?N(e):T(e,t(e))}}function ar(t,e,n,r,o,i,u,a){var c=2&e;if(!c&&"function"!=typeof t)throw new ni("Expected a function");var f=r?r.length:0;if(f||(e&=-97,r=o=$),u=u===$?u:Wi(Ao(u),0),a=a===$?a:Ao(a),f-=o?o.length:0,64&e){var s=r,l=o;r=o=$}var p=c?$:du(t);return i=[t,e,n,r,o,s,l,i,u,a],p&&(n=i[1],t=p[1],e=n|t,r=128==t&&8==n||128==t&&256==n&&i[7].length<=p[8]||384==t&&p[7].length<=p[8]&&8==n,131>e||r)&&(1&t&&(i[2]=p[2],e|=1&n?0:4),(n=p[3])&&(r=i[3],i[3]=r?Rn(r,n,p[4]):n,i[4]=r?B(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Mn(r,n,p[6]):n,i[6]=r?B(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Li(i[8],p[8])),null==i[9]&&(i[9]=p[9]),i[0]=p[0],i[1]=e),t=i[0],e=i[1],n=i[2],r=i[3],o=i[4],a=i[9]=i[9]===$?c?0:t.length:Wi(i[9]-f,0),!a&&24&e&&(e&=-25),Cr((p?fu:bu)(e&&1!=e?8==e||16==e?Kn(t,e,a):32!=e&&33!=e||o.length?Yn.apply($,i):er(t,e,n,r):Un(t,e,n),i),t,e)}function cr(t,e,n,r){return t===$||so(t,oi[n])&&!ai.call(r,n)?e:t}function fr(t,e,n,r,o,i){return bo(t)&&bo(e)&&(i.set(e,t),Ye(t,e,$,fr,i),i.delete(e)),t}function sr(t){return xo(t)?$:t}function lr(t,e,n,r,o,i){var u=1&n,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;if((c=i.get(t))&&i.get(e))return c==e;var c=-1,f=!0,s=2&n?new Ft:$;for(i.set(t,e),i.set(e,t);++c<a;){var l=t[c],p=e[c];if(r)var d=u?r(p,l,c,e,t,i):r(l,p,c,t,e,i);if(d!==$){if(d)continue;f=!1;break}if(s){if(!g(e,function(t,e){if(!R(s,e)&&(l===t||o(l,t,n,r,i)))return s.push(e)})){f=!1;break}}else if(l!==p&&!o(l,p,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function pr(t,e,n,r,o,i,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new yi(t),new yi(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return so(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=L;case"[object Set]":if(a||(a=F),t.size!=e.size&&!(1&r))break;return(n=u.get(t))?n==e:(r|=2,u.set(t,e),e=lr(a(t),a(e),r,o,i,u),u.delete(t),e);case"[object Symbol]":if(nu)return nu.call(t)==nu.call(e)}return!1}function dr(t){return mu(Rr(t,$,$r),t+"")}function hr(t){return Ae(t,Ro,hu)}function vr(t){return Ae(t,Mo,vu)}function yr(t){for(var e=t.name+"",n=Hi[e],r=ai.call(Hi,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function gr(t){return(ai.call(n,"placeholder")?n:t).placeholder}function br(){var t=n.iteratee||qo,t=t===qo?$e:t;return arguments.length?t(arguments[0],arguments[1]):t}function _r(t,e){var n=t.__data__,r=typeof e;return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function mr(t){for(var e=Ro(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,o===o&&!bo(o)]}return e}function xr(t,e){var n=null==t?$:t[e];return Fe(n)?n:$}function jr(t,e,n){e=Pn(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Dr(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&go(o)&&Pr(u,o)&&(ua(t)||ia(t))}function wr(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ai.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Or(t){return"function"!=typeof t.constructor||Ir(t)?{}:ou(bi(t))}function kr(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Tn(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?Tn(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return In(t,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return e=new t.constructor(t.source,bt.exec(t)),e.lastIndex=t.lastIndex,e;case"[object Set]":return new r;case"[object Symbol]":return nu?Qo(nu.call(t)):{}}}function Ar(t){return ua(t)||ia(t)||!!(ji&&t&&t[ji])}function Pr(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&wt.test(t))&&-1<t&&0==t%1&&t<e}function Er(t,e,n){if(!bo(n))return!1;var r=typeof e;return!!("number"==r?lo(n)&&Pr(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Sr(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!wo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Tr(t){var e=yr(t),r=n[e];return"function"==typeof r&&e in k.prototype&&(t===r||!!(e=du(r))&&t===e[0])}function Ir(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||oi)}function zr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==$||t in Qo(n))}}function Rr(t,e,n){return e=Wi(e===$?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Wi(r.length-e,0),a=Zo(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Zo(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Mr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Cr(t,e,n){var r=e+"";e=mu;var o,i=Fr;return o=(o=r.match(dt))?o[1].split(ht):[],n=i(o,n),(i=n.length)&&(o=i-1,n[o]=(1<i?"& ":"")+n[o],n=n.join(2<i?", ":" "),r=r.replace(pt,"{\n/* [wrapped with "+n+"] */\n")),e(t,r)}function Wr(t){var e=0,n=0;return function(){var r=Di(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Lr(t,e){var n=-1,r=t.length,o=r-1;for(e=e===$?r:e;++n<e;){var r=on(n,o),i=t[r];t[r]=t[n],t[n]=i}return t.length=e,t}function Dr(t){if("string"==typeof t||wo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Br(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Fr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Nr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Cn(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function qr(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Ao(n),0>n&&(n=Wi(r+n,0)),_(t,br(e,3),n)):-1}function Ur(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Ao(n),o=0>n?Wi(r+o,0):Li(o,r-1)),_(t,br(e,3),o,!0)}function $r(t){return(null==t?0:t.length)?xe(t,1):[]}function Gr(t){return t&&t.length?t[0]:$}function Vr(t){var e=null==t?0:t.length;return e?t[e-1]:$}function Kr(t,e){return t&&t.length&&e&&e.length?nn(t,e):t}function Zr(t){return null==t?t:Ni.call(t)}function Hr(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(po(t))return e=Wi(t.length,e),!0}),S(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(t);return null==e?n:d(n,function(t){return i(e,$,t)})}function Jr(t){return t=n(t),t.__chain__=!0,t}function Xr(t,e){return e(t)}function Qr(){return this}function to(t,e){return(ua(t)?a:iu)(t,br(e,3))}function eo(t,e){return(ua(t)?c:uu)(t,br(e,3))}function no(t,e){return(ua(t)?d:Ke)(t,br(e,3))}function ro(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,ar(t,128,$,$,$,$,e)}function oo(t,e){var n;if("function"!=typeof e)throw new ni("Expected a function");return t=Ao(t),function(){return 0<--t&&(n=e.apply(this,arguments)),1>=t&&(e=$),n}}function io(t,e,n){return e=n?$:e,t=ar(t,8,$,$,$,$,$,e),t.placeholder=io.placeholder,t}function uo(t,e,n){return e=n?$:e,t=ar(t,16,$,$,$,$,$,e),t.placeholder=uo.placeholder,t}function ao(t,e,n){function r(e){var n=c,r=f;return c=f=$,h=e,l=t.apply(r,n)}function o(t){var n=t-d;return t-=h,d===$||n>=e||0>n||y&&t>=s}function i(){var t=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=y?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),v?r(t):l;if(y)return lu(p),p=_u(i,e),r(d)}return p===$&&(p=_u(i,e)),l}var c,f,s,l,p,d,h=0,v=!1,y=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=Eo(e)||0,bo(n)&&(v=!!n.leading,s=(y="maxWait"in n)?Wi(Eo(n.maxWait)||0,e):s,g="trailing"in n?!!n.trailing:g),a.cancel=function(){p!==$&&lu(p),h=0,c=d=f=p=$},a.flush=function(){return p===$?l:u(Zu())},a}function co(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ni("Expected a function");return n.cache=new(co.Cache||Lt),n}function fo(t){if("function"!=typeof t)throw new ni("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function so(t,e){return t===e||t!==t&&e!==e}function lo(t){return null!=t&&go(t.length)&&!vo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=Pe(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function vo(t){return!!bo(t)&&("[object Function]"==(t=Pe(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yo(t){return"number"==typeof t&&t==Ao(t)}function go(t){return"number"==typeof t&&-1<t&&0==t%1&&9007199254740991>=t}function bo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function _o(t){return null!=t&&"object"==typeof t}function mo(t){return"number"==typeof t||_o(t)&&"[object Number]"==Pe(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Pe(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Pe(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Pe(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Cn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=yu(t),("[object Map]"==e?L:"[object Set]"==e?F:Wo)(t)}function ko(t){return t?(t=Eo(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Ao(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Po(t){return t?pe(Ao(t),0,4294967295):0}function Eo(t){if("number"==typeof t)return t;if(wo(t))return V;if(bo(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=bo(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ft,"");var e=mt.test(t);return e||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function So(t){return Wn(t,Mo(t))}function To(t){return null==t?"":bn(t)}function Io(t,e,n){return t=null==t?$:ke(t,e),t===$?n:t}function zo(t,e){return null!=t&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Mo(t){if(lo(t))t=Ut(t,!0);else if(bo(t)){var e,n=Ir(t),r=[];for(e in t)("constructor"!=e||!n&&ai.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Qo(t))e.push(n);t=e}return t}function Co(t,e){if(null==t)return{};var n=d(vr(t),function(t){return[t]});return e=br(e),tn(t,n,function(t,n){return e(t,n[0])})}function Wo(t){return null==t?[]:z(t,Ro(t))}function Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(St,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(vt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(t){return t}function qo(t){return $e("function"==typeof t?t:de(t,1))}function Uo(t,e,n){var r=Ro(e),o=Oe(e,r);null!=n||bo(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Oe(e,Ro(e)));var i=!(bo(n)&&"chain"in n&&!n.chain),u=vo(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Cn(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function $o(){}function Go(t){return Sr(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Mt));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.prototype,oi=Qo.prototype,ii=e["__core-js_shared__"],ui=Jo.prototype.toString,ai=oi.hasOwnProperty,ci=0,fi=function(){var t=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),si=oi.toString,li=ui.call(Qo),pi=qt._,di=ti("^"+ui.call(ai).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Gt?e.Buffer:$,vi=e.Symbol,yi=e.Uint8Array,gi=hi?hi.g:$,bi=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=vi?vi.isConcatSpreadable:$,wi=vi?vi.iterator:$,Oi=vi?vi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ai=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Pi=Ho&&Ho.now!==qt.Date.now&&Ho.now,Ei=e.setTimeout!==qt.setTimeout&&e.setTimeout,Si=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Mi=ri.join,Ci=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=ri.reverse,qi=xr(e,"DataView"),Ui=xr(e,"Map"),$i=xr(e,"Promise"),Gi=xr(e,"Set"),Vi=xr(e,"WeakMap"),Ki=xr(Qo,"create"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(Vi),eu=vi?vi.prototype:$,nu=eu?eu.valueOf:$,ru=eu?eu.toString:$,ou=function(){function t(){}return function(e){return bo(e)?_i?_i(e):(t.prototype=e,e=new t,t.prototype=$,e):{}}}();n.templateSettings={escape:et,evaluate:nt,interpolate:rt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ou(r.prototype),o.prototype.constructor=o,k.prototype=ou(r.prototype),k.prototype.constructor=k,Pt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},Pt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Pt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},Pt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},Pt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ki&&e===$?"__lodash_hash_undefined__":e,this},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.prototype.delete=function(t){var e=this.__data__;return!(0>(t=ue(e,t))||(t==e.length-1?e.pop():xi.call(e,t,1),--this.size,0))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1<ue(this.__data__,t)},Tt.prototype.set=function(t,e){var n=this.__data__,r=ue(n,t);return 0>r?(++this.size,n.push([t,e])):n[r][1]=e,this},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new Pt,map:new(Ui||Tt),string:new Pt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.prototype.set=function(t,e){var n=_r(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Ai||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,vu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,yu=Pe;(qi&&"[object DataView]"!=yu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=yu(new Ui)||$i&&"[object Promise]"!=yu($i.resolve())||Gi&&"[object Set]"!=yu(new Gi)||Vi&&"[object WeakMap]"!=yu(new Vi))&&(yu=function(t){var e=Pe(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(t):"")switch(t){case Yi:return"[object DataView]";case Ji:return"[object Map]";case Xi:return"[object Promise]";case Qi:return"[object Set]";case tu:return"[object WeakMap]"}return e});var gu=ii?vo:Ko,bu=Wr(fu),_u=Ei||function(t,e){return qt.setTimeout(t,e)},mu=Wr(su),xu=function(t){t=co(t,function(t){return 500===e.size&&e.clear(),t});var e=t.cache;return t}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ut,function(t,n,r,o){e.push(r?o.replace(yt,"$1"):n||t)}),e}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),br(n,2)):[]}),Ou=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),$,n):[]}),ku=an(function(t){var e=d(t,kn);return e.length&&e[0]===t[0]?Ie(e):[]}),Au=an(function(t){var e=Vr(t),n=d(t,kn);return e===Vr(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Ie(n,br(e,2)):[]}),Pu=an(function(t){var e=Vr(t),n=d(t,kn);return(e="function"==typeof e?e:$)&&n.pop(),n.length&&n[0]===t[0]?Ie(n,$,e):[]}),Eu=an(Kr),Su=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Pr(t,n)?+t:t}).sort(zn)),r}),Tu=an(function(t){return _n(xe(t,1,po,!0))}),Iu=an(function(t){var e=Vr(t);return po(e)&&(e=$),_n(xe(t,1,po,!0),br(e,2))}),zu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return _n(xe(t,1,po,!0),$,e)}),Ru=an(function(t,e){return po(t)?ge(t,e):[]}),Mu=an(function(t){return wn(s(t,po))}),Cu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Bu=dr(function(t){function e(e){return le(e,t)}var n=t.length,r=n?t[0]:0,i=this.__wrapped__;return!(1<n||this.__actions__.length)&&i instanceof k&&Pr(r)?(i=i.slice(r,+r+(n?1:0)),i.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(i,this.__chain__).thru(function(t){return n&&!t.length&&t.push($),t})):this.thru(e)}),Fu=Bn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Nu=Zn(qr),qu=Zn(Ur),Uu=Bn(function(t,e,n){ai.call(t,n)?t[n].push(e):se(t,n,[e])}),$u=an(function(t,e,n){var r=-1,o="function"==typeof e,u=lo(t)?Zo(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Bn(function(t,e,n){se(t,n,e)}),Vu=Bn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ku=an(function(t,e){if(null==t)return[];var n=e.length;return 1<n&&Er(t,e[0],e[1])?e=[]:2<n&&Er(e[0],e[1],e[2])&&(e=[e[0]]),Xe(t,xe(e,1),[])}),Zu=Pi||function(){return qt.Date.now()},Hu=an(function(t,e,n){var r=1;if(n.length)var o=B(n,gr(Hu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=B(n,gr(Yu)),r=32|r;return ar(e,r,t,n,o)}),Ju=an(function(t,e){return ye(t,1,e)}),Xu=an(function(t,e,n){return ye(t,Eo(e)||0,n)});co.Cache=Lt;var Qu=an(function(t,e){e=1==e.length&&ua(e[0])?d(e[0],I(br())):d(xe(e,1),I(br()));var n=e.length;return an(function(r){for(var o=-1,u=Li(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),ta=an(function(t,e){return ar(t,32,$,e,B(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,B(e,gr(ea)))}),na=dr(function(t,e){return ar(t,256,$,$,$,e)}),ra=rr(Ee),oa=rr(function(t,e){return t>=e}),ia=Me(function(){return arguments}())?Me:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Ce,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),va=rr(function(t,e){return t<=e}),ya=Fn(function(t,e){if(Ir(e)||lo(e))Wn(e,Ro(e),t);else for(var n in e)ai.call(e,n)&&ie(t,n,e[n])}),ga=Fn(function(t,e){Wn(e,Mo(e),t)}),ba=Fn(function(t,e,n,r){Wn(e,Mo(e),t,r)}),_a=Fn(function(t,e,n,r){Wn(e,Ro(e),t,r)}),ma=dr(le),xa=an(function(t,e){t=Qo(t);var n=-1,r=e.length,o=2<r?e[2]:$;for(o&&Er(e[0],e[1],o)&&(r=1);++n<r;)for(var o=e[n],i=Mo(o),u=-1,a=i.length;++u<a;){var c=i[u],f=t[c];(f===$||so(f,oi[c])&&!ai.call(t,c))&&(t[c]=o[c])}return t}),ja=an(function(t){return t.push($,fr),i(Pa,$,t)}),wa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},Fo(No)),Oa=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),ai.call(t,e)?t[e].push(n):t[e]=[n]},br),ka=an(Re),Aa=Fn(function(t,e,n){Ye(t,e,n)}),Pa=Fn(function(t,e,n,r){Ye(t,e,n,r)}),Ea=dr(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=Pn(e,t),r||(r=1<e.length),e}),Wn(t,vr(t),n),r&&(n=de(n,7,sr));for(var o=e.length;o--;)mn(n,e[o]);return n}),Sa=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ta=ur(Ro),Ia=ur(Mo),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Lo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ma=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ca=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),La=Gn(function(t,e,n){return t+(n?" ":"")+Ba(e)}),Da=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ba=$n("toUpperCase"),Fa=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Na=dr(function(t,e){return a(e,function(e){e=Dr(e),se(t,e,Hu(t[e],t))}),t}),qa=Hn(),Ua=Hn(!0),$a=an(function(t,e){return function(n){return Re(n,t,e)}}),Ga=an(function(t,e){return function(n){return Re(t,n,e)}}),Va=Qn(d),Ka=Qn(f),Za=Qn(g),Ha=nr(),Ya=nr(!0),Ja=Xn(function(t,e){return t+e},0),Xa=ir("ceil"),Qa=Xn(function(t,e){return t/e},1),tc=ir("floor"),ec=Xn(function(t,e){return t*e},1),nc=ir("round"),rc=Xn(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new ni("Expected a function");return t=Ao(t),function(){if(1>--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=ya,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Hu,n.bindAll=Na,n.bindKey=Yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ua(t)?t:[t]},n.chain=Jr,n.chunk=function(t,e,n){if(e=(n?Er(t,e,n):e===$)?1:Wi(Ao(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Si(n/e));r<n;)i[o++]=pn(t,r,r+=e);return i},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=Zo(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Cn(n):[n],xe(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=br();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new ni("Expected a function");return[n(t[0]),t[1]]}):[],an(function(n){for(var r=-1;++r<e;){var o=t[r];if(i(o[0],this,n))return i(o[1],this,n)}})},n.conforms=function(t){return he(de(t,1))},n.constant=Fo,n.countBy=Fu,n.create=function(t,e){var n=ou(t);return null==e?n:ce(n,e)},n.curry=io,n.curryRight=uo,n.debounce=ao,n.defaults=xa,n.defaultsDeep=ja,n.defer=Ju,n.delay=Xu,n.difference=ju,n.differenceBy=wu,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),pn(t,0>e?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),e=r-e,pn(t,0,0>e?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0):[]},n.fill=function(t,e,n,r){var o=null==t?0:t.length;if(!o)return[];for(n&&"number"!=typeof n&&Er(t,e,n)&&(n=0,r=o),o=t.length,n=Ao(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Ao(r),0>r&&(r+=o),r=n>r?0:Po(r);n<r;)t[n++]=e;return t},n.filter=function(t,e){return(ua(t)?s:me)(t,br(e,3))},n.flatMap=function(t,e){return xe(no(t,e),1)},n.flatMapDeep=function(t,e){return xe(no(t,e),G)},n.flatMapDepth=function(t,e,n){return n=n===$?1:Ao(n),xe(no(t,e),n)},n.flatten=$r,n.flattenDeep=function(t){return(null==t?0:t.length)?xe(t,G):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?(e=e===$?1:Ao(e),xe(t,e)):[]},n.flip=function(t){return ar(t,512)},n.flow=qa,n.flowRight=Ua,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},n.functions=function(t){return null==t?[]:Oe(t,Ro(t))},n.functionsIn=function(t){return null==t?[]:Oe(t,Mo(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Au,n.intersectionWith=Pu,n.invert=wa,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Mo,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),je(t,function(t,r,o){se(n,e(t,r,o),t)}),n},n.mapValues=function(t,e){var n={};return e=br(e,3),je(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return Ze(de(t,1))},n.matchesProperty=function(t,e){return He(t,de(e,1))},n.memoize=co,n.merge=Aa,n.mergeWith=Pa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Ao(t),an(function(e){return Je(e,t)})},n.omit=Ea,n.omitBy=function(t,e){return Co(t,fo(br(e)))},n.once=function(t){return oo(2,t)},n.orderBy=function(t,e,n,r){return null==t?[]:(ua(e)||(e=null==e?[]:[e]),n=r?$:n,ua(n)||(n=null==n?[]:[n]),Xe(t,e,n))},n.over=Va,n.overArgs=Qu,n.overEvery=Ka,n.overSome=Za,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Sa,n.pickBy=Co,n.property=Go,n.propertyOf=function(t){return function(e){return null==t?$:ke(t,e)}},n.pull=Eu,n.pullAll=Kr,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,br(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?nn(t,e,$,n):t},n.pullAt=Su,n.range=Ha,n.rangeRight=Ya,n.rearg=na,n.reject=function(t,e){return(ua(t)?s:me)(t,fo(br(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=br(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return rn(t,o),n},n.rest=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=e===$?e:Ao(e),an(t,e)},n.reverse=Zr,n.sampleSize=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Ao(e),(ua(t)?Vt:fn)(t,e)},n.set=function(t,e,n){return null==t?t:sn(t,e,n)},n.setWith=function(t,e,n,r){return r="function"==typeof r?r:$,null==t?t:sn(t,e,n,r)},n.shuffle=function(t){return(ua(t)?Kt:ln)(t)},n.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Er(t,e,n)?(e=0,n=r):(e=null==e?0:Ao(e),n=n===$?r:Ao(n)),pn(t,e,n)):[]},n.sortBy=Ku,n.sortedUniq=function(t){return t&&t.length?yn(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?yn(t,br(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&Er(t,e,n)&&(e=n=$),n=n===$?4294967295:n>>>0,n?(t=To(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?En(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=null==e?0:Wi(Ao(e),0),an(function(n){var r=n[e];return n=En(n,0,e),r&&h(n,r),i(t,this,n)})},n.tail=function(t){var e=null==t?0:t.length;return e?pn(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===$?1:Ao(e),pn(t,0,0>e?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Ao(e),e=r-e,pn(t,0>e?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xn(t,br(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new ni("Expected a function");return bo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ao(t,e,{leading:r,maxWait:e,trailing:o})},n.thru=Xr,n.toArray=Oo,n.toPairs=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Cn(xu(To(t)))},n.toPlainObject=So,n.transform=function(t,e,n){var r=ua(t),o=r||ca(t)||da(t);if(e=br(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:bo(t)&&vo(i)?ou(bi(t)):{}}return(o?a:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,n.unionBy=Iu,n.unionWith=zu,n.uniq=function(t){return t&&t.length?_n(t):[]},n.uniqBy=function(t,e){return t&&t.length?_n(t,br(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:$,t&&t.length?_n(t,$,e):[]},n.unset=function(t,e){return null==t||mn(t,e)},n.unzip=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,An(n)(ke(t,e)),void 0)},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:$,null!=t&&(t=sn(t,e,An(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Mo(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(An(e),t)},n.xor=Mu,n.xorBy=Cu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=Eo(n),n=n===n?n:0),e!==$&&(e=Eo(e),e=e===e?e:0),pe(Eo(t),e,n)},n.clone=function(t){return de(t,4)},n.cloneDeep=function(t){return de(t,5)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:$,de(t,5,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:$,de(t,4,e)},n.conformsTo=function(t,e){return null==e||ve(t,e,Ro(e))},n.deburr=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Ao(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=To(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=To(t))&&ct.test(t)?t.replace(at,"\\$&"):t},n.every=function(t,e,n){var r=ua(t)?f:be;return n&&Er(t,e,n)&&(e=$),r(t,br(e,3))},n.find=Nu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),je)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),we)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Mo)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Mo)},n.forOwn=function(t,e){return t&&je(t,br(e,3))},n.forOwnRight=function(t,e){return t&&we(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&jr(t,e,Se)},n.hasIn=zo,n.head=Gr,n.identity=No,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Ao(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),jo(t)?n<=r&&-1<t.indexOf(e,n):!!r&&-1<m(t,e,n)},n.indexOf=function(t,e,n){var r=null==t?0:t.length;return r?(n=null==n?0:Ao(n),0>n&&(n=Wi(r+n,0)),m(t,e,n)):-1},n.inRange=function(t,e,n){return e=ko(e),n===$?(n=e,e=0):n=ko(n),(t=Eo(t))>=Li(e,n)&&t<Wi(e,n)},n.invoke=ka,n.isArguments=ia,n.isArray=ua,n.isArrayBuffer=aa,n.isArrayLike=lo,n.isArrayLikeObject=po,n.isBoolean=function(t){return!0===t||!1===t||_o(t)&&"[object Boolean]"==Pe(t)},n.isBuffer=ca,n.isDate=fa,n.isElement=function(t){return _o(t)&&1===t.nodeType&&!xo(t)},n.isEmpty=function(t){if(null==t)return!0;if(lo(t)&&(ua(t)||"string"==typeof t||"function"==typeof t.splice||ca(t)||da(t)||ia(t)))return!t.length;var e=yu(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Ir(t))return!Ge(t).length;for(var n in t)if(ai.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Le(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Le(t,e,$,n):!!r},n.isError=ho,n.isFinite=function(t){return"number"==typeof t&&Ri(t)},n.isFunction=vo,n.isInteger=yo,n.isLength=go,n.isMap=sa,n.isMatch=function(t,e){return t===e||Be(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,Be(t,e,mr(e),n)},n.isNaN=function(t){return mo(t)&&t!=+t},n.isNative=function(t){if(gu(t))throw new Yo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fe(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=mo,n.isObject=bo,n.isObjectLike=_o,n.isPlainObject=xo,n.isRegExp=la,n.isSafeInteger=function(t){return yo(t)&&-9007199254740991<=t&&9007199254740991>=t},n.isSet=pa,n.isString=jo,n.isSymbol=wo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==yu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==Pe(t)},n.join=function(t,e){return null==t?"":Mi.call(t,e)},n.kebabCase=Ra,n.last=Vr,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;if(n!==$&&(o=Ao(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ma,n.lowerFirst=Ca,n.lt=ha,n.lte=va,n.max=function(t){return t&&t.length?_e(t,No,Ee):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ee):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,Ve):$},n.minBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ve):$},n.stubArray=Vo,n.stubFalse=Ko,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=ec,n.nth=function(t,e){return t&&t.length?Je(t,Ao(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Si(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=To(t);var r=(e=Ao(e))?q(t):0;return e&&r<e?tr(e-r,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Bi(To(t).replace(st,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Er(t,e,n)&&(e=n=$),n===$&&("boolean"==typeof e?(n=e,e=$):"boolean"==typeof t&&(n=t,t=$)),t===$&&e===$?(t=0,e=1):(t=ko(t),e===$?(e=t,t=0):e=ko(e)),t>e){var r=t;t=e,e=r}return n||t%1||e%1?(n=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?v:A,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?y:A,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Ao(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=Pn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Dr(e[r])];i===$&&(r=o,i=n),t=vo(i)?i.call(t):i}return t},n.round=nc,n.runInContext=t,n.sample=function(t){return(ua(t)?$t:cn)(t)},n.size=function(t){if(null==t)return 0;if(lo(t))return jo(t)?q(t):t.length;var e=yu(t);return"[object Map]"==e||"[object Set]"==e?t.size:Ge(t).length},n.snakeCase=Wa,n.some=function(t,e,n){var r=ua(t)?g:dn;return n&&Er(t,e,n)&&(e=$),r(t,br(e,3))},n.sortedIndex=function(t,e){return hn(t,e)},n.sortedIndexBy=function(t,e,n){return vn(t,e,br(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=hn(t,e);if(r<n&&so(t[r],e))return r}return-1},n.sortedLastIndex=function(t,e){return hn(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return vn(t,e,br(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=hn(t,e,!0)-1;if(so(t[n],e))return n}return-1},n.startCase=La,n.startsWith=function(t,e,n){return t=To(t),n=null==n?0:pe(Ao(n),0,t.length),e=bn(e),t.slice(n,n+e.length)==e},n.subtract=rc,n.sum=function(t){return t&&t.length?E(t,No):0},n.sumBy=function(t,e){return t&&t.length?E(t,br(e,2)):0},n.template=function(t,e,r){var o=n.templateSettings;r&&Er(t,e,r)&&(e=$),t=To(t),e=ba({},e,o,cr),r=ba({},e.imports,o.imports,cr);var i,u,a=Ro(r),c=z(r,a),f=0;r=e.interpolate||kt;var s="__p+='";r=ti((e.escape||kt).source+"|"+r.source+"|"+(r===rt?gt:kt).source+"|"+(e.evaluate||kt).source+"|$","g");var l=ai.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/[\r\n]/g," ")+"\n":"";if(t.replace(r,function(e,n,r,o,a,c){return r||(r=o),s+=t.slice(f,c).replace(At,W),n&&(i=!0,s+="'+__e("+n+")+'"),a&&(u=!0,s+="';"+a+";\n__p+='"),r&&(s+="'+((__t=("+r+"))==null?'':__t)+'"),f=c+e.length,e}),s+="';",(e=ai.call(e,"variable")&&e.variable)||(s="with(obj){"+s+"}"),s=(u?s.replace(Z,""):s).replace(H,"$1").replace(Y,"$1;"),s="function("+(e||"obj")+"){"+(e?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(u?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+s+"return __p}",e=Fa(function(){return Jo(a,l+"return "+s).apply($,c)}),e.source=s,ho(e))throw e;return e},n.times=function(t,e){if(1>(t=Ao(t))||9007199254740991<t)return[];var n=4294967295,r=Li(t,4294967295);for(e=br(e),t-=4294967295,r=S(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Ao,n.toLength=Po,n.toLower=function(t){return To(t).toLowerCase()},n.toNumber=Eo,n.toSafeInteger=function(t){return t?pe(Ao(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=To,n.toUpper=function(t){return To(t).toUpperCase()},n.trim=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=M(t,n),n=C(t,n)+1,En(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e))+1,En(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=To(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=M(t,U(e)),En(t,e).join("")):t},n.truncate=function(t,e){var n=30,r="...";if(bo(e))var o="separator"in e?e.separator:o,n="length"in e?Ao(e.length):n,r="omission"in e?bn(e.omission):r;t=To(t);var i=t.length;if(zt.test(t))var u=U(t),i=u.length;if(n>=i)return t;if(1>(i=n-q(r)))return r;if(n=u?En(u,0,i).join(""):t.slice(0,i),o===$)return n+r;if(u&&(i+=n.length-i),la(o)){if(t.slice(i).search(o)){var a=n;for(o.global||(o=ti(o.source,To(bt.exec(o))+"g")),o.lastIndex=0;u=o.exec(a);)var c=u.index;n=n.slice(0,c===$?i:c)}}else t.indexOf(bn(o),i)!=i&&-1<(o=n.lastIndexOf(o))&&(n=n.slice(0,o));return n+r},n.unescape=function(t){return(t=To(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return To(t)+e},n.upperCase=Da,n.upperFirst=Ba,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return je(n,function(e,r){ai.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.15",a("bind bindKey curry curryRight partial partialRight".split(" "),function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){k.prototype[t]=function(n){n=n===$?1:Wi(Ao(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Li(n,r.__takeCount__):r.__views__.push({size:Li(n,4294967295),type:t+(0>r.__dir__?"Right":"")}),r},k.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;k.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:br(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");k.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");k.prototype[t]=function(){return this.__filtered__?new k(this):this[n](1)}}),k.prototype.compact=function(){return this.filter(No)},k.prototype.find=function(t){return this.filter(t).head()},k.prototype.findLast=function(t){return this.reverse().find(t)},k.prototype.invokeMap=an(function(t,e){return"function"==typeof t?new k(this):this.map(function(n){return Re(n,t,e)})}),k.prototype.reject=function(t){return this.filter(fo(br(t)))},k.prototype.slice=function(t,e){t=Ao(t);var n=this;return n.__filtered__&&(0<t||0>e)?new k(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Ao(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},k.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},k.prototype.toArray=function(){return this.take(4294967295)},je(k.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){function e(t){return t=u.apply(n,h([t],f)),i&&d?t[0]:t}var c=this.__wrapped__,f=i?[1]:arguments,s=c instanceof k,l=f[0],p=s||ua(c);p&&r&&"function"==typeof l&&1!=l.length&&(s=p=!1);var d=this.__chain__,v=!!this.__actions__.length,l=a&&!d,s=s&&!v;return!a&&p?(c=s?c:new k(this),c=t.apply(c,f),c.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(c,d)):l&&s?t.apply(this,f):(c=this.thru(e),l?i?c.value()[0]:c.value():c)})}),a("pop push shift sort splice unshift".split(" "),function(t){var e=ri[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(ua(n)?n:[],t)}return this[r](function(n){return e.apply(ua(n)?n:[],t)})}}),je(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Cn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Cn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Cn(this.__views__),t},k.prototype.reverse=function(){if(this.__filtered__){var t=new k(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},k.prototype.value=function(){var t,e=this.__wrapped__.value(),n=this.__dir__,r=ua(e),o=0>n,i=r?e.length:0;t=i;for(var u=this.__views__,a=0,c=-1,f=u.length;++c<f;){var s=u[c],l=s.size;switch(s.type){case"drop":a+=l;break;case"dropRight":t-=l;break;case"take":t=Li(t,a+l);break;case"takeRight":a=Wi(a,t-l)}}if(t={start:a,end:t},u=t.start,a=t.end,t=a-u,u=o?a:u-1,a=this.__iteratees__,c=a.length,f=0,s=Li(t,this.__takeCount__),!r||!o&&i==t&&s==t)return jn(e,this.__actions__);r=[];t:for(;t--&&f<s;){for(u+=n,o=-1,i=e[u];++o<c;){var p=a[o],l=p.type,p=(0,p.iteratee)(i);if(2==l)i=p;else if(!p){if(1==l)continue t;break t}}r[f++]=i}return r},n.prototype.at=Bu,n.prototype.chain=function(){return Jr(this)},n.prototype.commit=function(){return new o(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===$&&(this.__values__=Oo(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var o=Nr(n);o.__index__=0,o.__values__=$,e?i.__wrapped__=o:e=o;var i=o,n=n.__wrapped__}return i.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof k?(this.__actions__.length&&(t=new k(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(47),n(19)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(A.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||A.curry&&n>1?W(e,n):e}function v(t,e,n){if(A.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return A.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=C(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||F(c)||B(c)||N(c)||(u[a]=C(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.runInContext.convert(t)(void 0)}function _(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=O?I:z,u=O?I[r]:e,a=M(M({},o),t);return f(i,n,u,a)}}function m(t,e){return j(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return j(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function j(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=A.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function w(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):A.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),L(V,function(t){return L(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?v(o,y(o,a,t),t):y(o,v(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=E?W(r,1):function(){return e.apply(this,arguments)}),r.convert=_(o,e),r.placeholder=e.placeholder=n,r}var O="function"==typeof e,k=e===Object(e);if(k&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var A={cap:!("cap"in p)||p.cap,curry:!("curry"in p)||p.curry,fixed:!("fixed"in p)||p.fixed,immutable:!("immutable"in p)||p.immutable,rearg:!("rearg"in p)||p.rearg},P=O?n:l,E="curry"in p&&p.curry,S="fixed"in p&&p.fixed,T="rearg"in p&&p.rearg,I=O?n.runInContext():void 0,z=O?n:{ary:t.ary,assign:t.assign,clone:t.clone,curry:t.curry,forEach:t.forEach,isArray:t.isArray,isError:t.isError,isFunction:t.isFunction,isWeakMap:t.isWeakMap,iteratee:t.iteratee,keys:t.keys,rearg:t.rearg,toInteger:t.toInteger,toPath:t.toPath},R=z.ary,M=z.assign,C=z.clone,W=z.curry,L=z.forEach,D=z.isArray,B=z.isError,F=z.isFunction,N=z.isWeakMap,q=z.keys,U=z.rearg,$=z.toInteger,G=z.toPath,V=q(s.aryMethod),K={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return A.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!F(n))return t(n,Object(e));var r=[];return L(q(e),function(t){F(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(r,function(t){var e=t[1];F(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:$(e)+1;return W(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return W(t(e,n),r)}},runInContext:function(e){return function(n){return f(t,e(n),p)}}};if(!k)return w(e,n,P);var Z=n,H=[];return L(V,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&H.push([t,w(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=H.length;n--;)if(H[n][0]==t)return;e.convert=_(t,e),H.push([t,e])}}),L(H,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(446),l=n(447),p=Array.prototype.push;t.exports=f},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var o in n){var i=n[o];t.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e){t.exports={}},function(t,e){t.exports=Morph.modules["bbc-morph-bitesize-global-navigation-view@1.27.1"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HeaderImageContainer=void 0;var o=r(n(0)),i=(r(n(35)),r(n(450))),u=function(t){var e=t.children,n=t.fosZid,r=t.className,u=t.ariaHidden;return o.default.createElement("div",{className:(0,i.default)("header-image-container","header-image-container--".concat(n||"homepage"),r),"aria-hidden":u},o.default.createElement("div",{className:"header-image-container__wrap"},e))};e.HeaderImageContainer=u,u.defaultProps={className:"",fosZid:"",ariaHidden:!1};var a=u;e.default=a},function(t,e,n){var r,o;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var u=n.apply(null,r);u&&t.push(u)}else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(n.default=n,t.exports=n):(r=[],void 0!==(o=function(){return n}.apply(e,r))&&(t.exports=o))}()},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="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 i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(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 a(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?s(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(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&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var d=r(n(0)),h=(r(n(35)),r(n(189))),v=r(n(190)),y=r(n(457)),g={height:{desktop:40,mobile:32},width:{desktop:600}},b=function(t){function e(t){var n;return i(this,e),n=c(this,f(e).call(this,t)),n.state={isOrbVisible:!0,windowWidth:0,message:null},n.currentTimer=null,n.setOrbVisibilityState=n.setOrbVisibilityState.bind(s(n)),n.handleResize=n.handleResize.bind(s(n)),n.setMessage=n.setMessage.bind(s(n)),n.clearMessage=n.clearMessage.bind(s(n)),n}return l(e,t),a(e,[{key:"componentDidMount",value:function(){var t=this;this.handleResize(),this.setState({message:""}),window.addEventListener?(window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.setOrbVisibilityState)):(window.attachEvent("scroll",this.setOrbVisibilityState),document.body.onresize=function(){return t.handleResize()})}},{key:"componentWillReceiveProps",value:function(t){this.setMessage(t.message,t.isError)}},{key:"componentWillUnmount",value:function(){window.removeEventListener?(window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.setOrbVisibilityState)):(window.detachEvent("scroll",this.setOrbVisibilityState),document.body.onresize=function(){})}},{key:"setMessage",value:function(t,e){var n=this;this.setState({message:t,isError:e}),""!==t&&(window.clearTimeout(this.currentTimer),this.currentTimer=setTimeout(function(){n.clearMessage()},5e3))}},{key:"setOrbVisibilityState",value:function(){var t=this.state.windowWidth<g.width.desktop?g.height.mobile:g.height.desktop,e=window.scrollY||window.pageYOffset||document.documentElement.scrollTop,n=e<t;n!==this.state.isOrbVisible&&this.setState({isOrbVisible:n})}},{key:"clearMessage",value:function(){this.currentTimer&&(window.clearTimeout(this.currentTimer),this.currentTimer=null,this.setState({message:""}),this.props.notificationClearedAction())}},{key:"handleResize",value:function(){this.state.windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.setOrbVisibilityState()}},{key:"render",value:function(){if(!this.state.message)return null;var t=["bitesize__notification-bar"];return this.state.isOrbVisible&&t.push("bitesize__notification-orb-visible"),this.state.message&&t.push("bitesize__notification-active"),this.state.isError&&t.push("bitesize__notification-error"),d.default.createElement("div",{className:t.join(" ")},d.default.createElement("div",{className:"bitesize__notification-wrap"},d.default.createElement("div",{className:"bitesize__notification-bar__inner"},d.default.createElement("span",{className:"bitesize__notification-icon--error"},d.default.createElement(y.default,null)),d.default.createElement("p",{role:"alert","aria-live":"assertive",className:"bitesize__notification-text"},this.state.message),d.default.createElement("button",{className:"bitesize__notification-dismiss-button",type:"button",onClick:this.clearMessage},d.default.createElement("span",{className:"bitesize__notification-icon"},d.default.createElement(h.default,null)),d.default.createElement("span",{className:"bitesize__notification-icon--hover"},d.default.createElement(v.default,null))))))}}]),e}(d.default.Component);b.defaultProps={isError:null};var _=b;e.default=_,t.exports=e.default},function(t,e,n){var r=n(28)("meta"),o=n(27),i=n(15),u=n(13).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(21)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";s(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;s(t)}return t[r].w},d=function(t){return f&&h.NEED&&c(t)&&!i(t,r)&&s(t),t},h=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},function(t,e,n){var r=n(22),o=n(70),i=n(46);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var u,a=n(t),c=i.f,f=0;a.length>f;)c.call(t,u=a[f++])&&e.push(u);return e}},function(t,e,n){var r=n(118);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(23),o=n(188).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,e,n){var r=n(46),o=n(42),i=n(23),u=n(67),a=n(15),c=n(114),f=Object.getOwnPropertyDescriptor;e.f=n(14)?f:function(t,e){if(t=i(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",enableBackground:"new 0 0 32 32",xmlSpace:"preserve",ref:function(e){t.node=e}},p.default.createElement("g",{id:"Grid"}),p.default.createElement("g",{id:"Layer_2"},p.default.createElement("g",null,p.default.createElement("path",{d:"M16,2L0,30h32L16,2z M18,27h-4v-4h4V27z M14,21V11h4v10H14z"}))))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){var r=n(459),o=n(461),i=o(function(t,e,n){r(t,n,e)});t.exports=i},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(460);t.exports=r},function(t,e,n){var r=n(20),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e){return function(n,r){var c=a(n)?o:i,f=e?e():{};return c(n,t,u(r,2),f)}}var o=n(462),i=n(463),u=n(102),a=n(8);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}t.exports=n},function(t,e,n){function r(t,e,n,r){return o(t,function(t,o,i){e(r,t,n(t),i)}),r}var o=n(464);t.exports=r},function(t,e,n){var r=n(465),o=n(468),i=o(r);t.exports=i},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(466),i=n(63);t.exports=r},function(t,e,n){var r=n(467),o=r();t.exports=o},function(t,e){function n(t){return function(e,n,r){for(var o=-1,i=Object(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}t.exports=n},function(t,e,n){function r(t,e){return function(n,r){if(null==n)return n;if(!o(n))return t(n,r);for(var i=n.length,u=e?i:-1,a=Object(n);(e?u--:++u<i)&&!1!==r(a[u],u,a););return n}}var o=n(106);t.exports=r},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(t){return t&&t.__esModule?t:{default:t}}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{className:"bitesize-add-svg",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.node=e}},p.default.createElement("polygon",{points:"31.5,13.5 18.5,13.5 18.5,0.5 13.5,0.5 13.5,13.5 0.5,13.5 0.5,18.5 13.5,18.5 13.5,31.5 18.5,31.5 18.5,18.5 31.5,18.5"}))}}]),e}(p.default.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(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}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{className:"bitesize-yes-svg",version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"31.8px",height:"32px",viewBox:"0 0 31.8 32",enableBackground:"new 0 0 31.8 32",ref:function(e){t.svg=e}},p.default.createElement("polygon",{points:"12.8,28.9 31.8,6.3 28,3.1 12.2,21.9 3.2,14.4 0,18.2 \t"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(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}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.svg=e}},p.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 16z"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){return(o="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 i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(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 a(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?s(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(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&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var d=function(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}(n(0)),h=(r(n(35)),r(n(189))),v=r(n(190)),y=r(n(191)),g=function(t){function e(t){var n;return i(this,e),n=c(this,f(e).call(this,t)),n.state={visible:!1},n.closeToolTip=n.closeToolTip.bind(s(n)),n.handleKeyPress=n.handleKeyPress.bind(s(n)),n.toggleToolTip=n.toggleToolTip.bind(s(n)),n}return l(e,t),a(e,[{key:"componentWillUnmount",value:function(){this.removeCloseEventListeners()}},{key:"setupCloseEventListeners",value:function(){document.addEventListener("keydown",this.handleKeyPress)}},{key:"removeCloseEventListeners",value:function(){document.removeEventListener("keydown",this.handleKeyPress)}},{key:"closeToolTip",value:function(){this.removeCloseEventListeners(),this.setState({visible:!1})}},{key:"handleKeyPress",value:function(t){"Escape"===t.key&&(this.removeCloseEventListeners(),this.setState({visible:!1}))}},{key:"toggleToolTip",value:function(){this.removeCloseEventListeners(),this.setupCloseEventListeners(),this.setState(function(t){return{visible:!t.visible}})}},{key:"render",value:function(){var t=this.state.visible,e=this.props.buttonContent;return d.default.createElement("div",null,t&&d.default.createElement("div",{className:"bitesize-tooltip-popup__background",onClick:this.closeToolTip,"aria-hidden":"true"}),d.default.createElement("div",{className:"bitesize-tooltip-popup__container"},d.default.createElement(y.default,{onClick:this.toggleToolTip},e),t&&d.default.createElement("div",{className:"bitesize-tooltip-popup__popup-box"},d.default.createElement("p",{className:"bitesize-tooltip-popup__title",aria:"assertive"},this.props.title),d.default.createElement("p",{className:"bitesize-tooltip-popup__text",aria:"assertive"},this.props.text),d.default.createElement("div",{className:"bitesize-tooltip-popup__cta-container"},this.props.body),d.default.createElement("button",{type:"button",className:"bitesize-tooltip-popup__closebutton",onClick:this.closeToolTip},d.default.createElement("span",{className:"bitesize-tooltip-popup__close-icon"},d.default.createElement(h.default,null)),d.default.createElement("span",{className:"bitesize-tooltip-popup__close-icon--hover"},d.default.createElement(v.default,null))))))}}]),e}(d.Component),b=g;e.default=b,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(168);var r=n(169),o=function(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"blue",i="".concat((0,r.getIdHost)(),"/idcta/init?ptrt=").concat(n,"&lang=").concat(t,"&purpose=").concat(e,"&context=").concat("bitesize","&pathway=").concat("bitesize","&buttonSize=").concat("small","&buttonColour=").concat(o);return fetch(i).then(function(t){return t.json()})};e.default=o,t.exports=e.default},function(t,e,n){"use strict";function r(t){return(r="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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?c(t):e}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(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&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(9),n(10);var p=function(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}(n(0)),d=function(t){function e(){return o(this,e),a(this,f(e).apply(this,arguments))}return s(e,t),u(e,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var t=this;return p.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(e){t.svg=e}},p.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"}))}}]),e}(p.Component),h=d;e.default=h,t.exports=e.default},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CopyLinkBox",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Facebook",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Pinterest",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"SharePanel",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"Twitter",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"WhatsApp",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"Yummly",{enumerable:!0,get:function(){return s.default}});var o=r(n(476)),i=r(n(481)),u=r(n(483)),a=r(n(484)),c=r(n(487)),f=r(n(488)),s=r(n(489))},function(t,e,n){"use strict";var r=n(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(113)),s=r(n(0)),l=n(0).PropTypes||n(5),p=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.state={copied:!1},n}return(0,f.default)(e,t),(0,u.default)(e,[{key:"handleCopyUrl",value:function(){try{this.inputElement.select(),document.execCommand("copy"),this.setState({copied:!0})}catch(t){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.copiedText,r=e.shareText,o=e.onClickCallback,i=e.link,u=e.position,a=this.state.copied;return s.default.createElement("div",{className:"ec-share-copy-link","data-bbc-container":"Share Tools","data-bbc-title":"Copy Link","data-bbc-metadata":JSON.stringify({CHD:"copy-link:: ".concat(u)})},s.default.createElement("label",{className:"ec-share-copy-link__text"},a?n:r),s.default.createElement("input",{className:"ec-share-copy-link__input",onClick:function(){o&&o(),t.handleCopyUrl()},readOnly:!0,ref:function(e){t.inputElement=e},type:"text",value:i}))}}]),e}(s.Component);p.defaultProps={shareText:"Copy and share link",copiedText:"Copied!"},p.propTypes={link:l.string.isRequired,copiedText:l.string,shareText:l.string,onClickCallback:l.func,position:l.number.isRequired};var d=p;e.default=d},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(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";function r(){}function o(){}var i=n(480);o.resetWarningCache=r,t.exports=function(){function t(t,e,n,r,o,u){if(u!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(38),u=r(n(39)),a=n(0).PropTypes||n(5),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M12.1 32V17H8v-5.4h4.1V7c0-3.6 2.4-7 8-7 2.2 0 3.9.2 3.9.2l-.1 5.1h-3.6c-2 0-2.3.9-2.3 2.4v3.9h6l-.3 5.4H18v15h-5.9z"})),f=function(t){var e=t.caption,n=t.description,r=t.link,a=t.name,f=t.picture,s=t.standalone,l=t.onClickCallback,p=t.position;return o.default.createElement(u.default,{icon:c,name:"Facebook",standalone:s,onClick:function(){l&&l();var t="https://web.archive.org/web/20191004204316/https://www.facebook.com/dialog/feed?app_id=58567469885&redirect_uri=http%3A%2F%2Fwww.bbc.co.uk%2Fmodules%2Fshare%2Fclose&display=popup";n&&(t+="&description=".concat(encodeURIComponent(n))),e&&(t+="&caption=".concat(encodeURIComponent(e))),f&&(t+="&picture=".concat(encodeURIComponent(f))),a&&(t+="&name=".concat(encodeURIComponent(a))),t+="&link=".concat(encodeURIComponent(r)),(0,i.openWindow)(t)},position:p})};f.propTypes={link:a.string.isRequired,description:a.string,picture:a.string,name:a.string,caption:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},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,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(38),u=r(n(39)),a=n(0).PropTypes||n(5),c=o.default.createElement("svg",{focusable:"false",viewBox:"-3 -3 82 82"},o.default.createElement("path",{d:"M27.5 71c3.3 1 6.7 1.6 10.3 1.6C57 72.6 72.6 57 72.6 37.8 72.6 18.6 57 3 37.8 3 18.6 3 3 18.6 3 37.8c0 14.8 9.3 27.5 22.4 32.5-.3-2.7-.6-7.2 0-10.3l4-17.2s-1-2-1-5.2c0-4.8 3-8.4 6.4-8.4 3 0 4.4 2.2 4.4 5 0 3-2 7.3-3 11.4C35.6 49 38 52 41.5 52c6.2 0 11-6.6 11-16 0-8.3-6-14-14.6-14-9.8 0-15.6 7.3-15.6 15 0 3 1 6 2.6 8 .3.2.3.5.2 1l-1 3.8c0 .6-.4.8-1 .4-4.4-2-7-8.3-7-13.4 0-11 7.8-21 22.8-21 12 0 21.3 8.6 21.3 20 0 12-7.4 21.6-18 21.6-3.4 0-6.7-1.8-7.8-4L32 61.7c-.8 3-3 7-4.5 9.4z"})),f=function(t){var e=t.link,n=t.media,r=t.standalone,a=t.onClickCallback,f=t.position;return o.default.createElement(u.default,{icon:c,name:"Pinterest",standalone:r,onClick:function(){a&&a(),(0,i.openWindow)("".concat("https://web.archive.org/web/20191004204316/https://www.pinterest.com/pin/create/button","?url=").concat(e).concat(n?"&media=".concat(encodeURIComponent(n)):""))},position:f})};f.propTypes={link:a.string.isRequired,media:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(108),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(109)),u=o(n(110)),a=o(n(111)),c=o(n(112)),f=o(n(192)),s=o(n(113)),l=r(n(0)),p=o(n(66)),d=o(n(485)),h=o(n(486)),v=n(0).PropTypes||n(5),y=function(t){return[].concat(t)},g=function(t){function e(t){var n;return(0,i.default)(this,e),n=(0,a.default)(this,(0,c.default)(e).call(this,t)),n.closeSharePanel=n.closeSharePanel.bind((0,f.default)(n)),n.handleFocusOut=n.handleFocusOut.bind((0,f.default)(n)),n.state={isOpen:!1},n}return(0,s.default)(e,t),(0,u.default)(e,[{key:"toggleSharePanel",value:function(t){this.setState({isOpen:!this.state.isOpen}),t.stopPropagation(),t.preventDefault()}},{key:"closeSharePanel",value:function(t){this.state.isOpen&&!this.sharePanel.contains(t.target)&&this.setState({isOpen:!1})}},{key:"handleFocusOut",value:function(t){this.closeSharePanel({target:t.relatedTarget||t.target})}},{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.closeSharePanel),document.addEventListener("touchstart",this.closeSharePanel),document.addEventListener("focusout",this.handleFocusOut)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.closeSharePanel),document.removeEventListener("touchstart",this.closeSharePanel),document.removeEventListener("focusout",this.handleFocusOut)}},{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.children,o=e.ctaText,i=e.headerText,u=e.readMoreText,a=e.shareButtonComponent,c=e.onClickCallback;return l.default.createElement("div",{className:(0,p.default)("ec-share-tools",n),ref:function(e){t.sharePanel=e}},l.default.createElement(a,{className:"ec-share-tools__open-button",active:this.state.isOpen,onButtonClick:function(e){c&&c(),t.toggleSharePanel(e)},ctaText:o}),l.default.createElement("div",{className:(0,p.default)({"ec-share-panel":!0,"ec-share-panel--open":this.state.isOpen})},l.default.createElement("div",{className:"ec-share-panel__header"},l.default.createElement("span",{className:"ec-share-panel__header-text"},i),l.default.createElement(d.default,{onClick:function(e){return t.toggleSharePanel(e)}})),l.default.createElement("div",{className:"ec-share-panel__body"},l.default.createElement("ul",{className:"ec-share-panel__items"},y(r).map(function(t,e){return l.default.createElement("li",{key:e,className:"ec-share-panel__item"},t)}),l.default.createElement("li",{className:"ec-share-panel__item"},l.default.createElement("a",{className:"ec-share-panel__read-more-link",href:"https://web.archive.org/web/20191004204316/http://www.bbc.co.uk/faqs/questions/bbc_online/sharing"},u))))))}}]),e}(l.Component);g.defaultProps={children:[],ctaText:"Share",direction:"up",headerText:"Share this with",isOpen:!1,readMoreText:"Read more about sharing.",shareButtonComponent:h.default},g.propTypes={direction:v.string,children:v.node,className:v.string,ctaText:v.string,headerText:v.string,isOpen:v.bool,readMoreText:v.string,shareButtonComponent:v.func,onClickCallback:v.func};var b=g;e.default=b},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(0).PropTypes||n(5),u=function(t){var e=t.onClick;return o.default.createElement("button",{className:"ec-share-panel__close-button",onClick:e},o.default.createElement("span",{className:"ec-share-panel__close-button-icon"},o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32",width:"16",height:"16"},o.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"}))))};u.propTypes={onClick:i.func.isRequired};var a=u;e.default=a},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=r(n(66)),u=n(0).PropTypes||n(5),a=function(t){var e=t.children;return o.default.createElement("span",null,o.default.createElement("span",{className:"ec-share-icon__svg"},o.default.createElement("svg",{focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M6.8 22.2c1.6 0 3-.7 4-1.8l9 4.8c-.1.4-.2.8-.2 1.3 0 3 2.5 5.5 5.5 5.5s5.5-2.4 5.5-5.5-2.5-5.5-5.5-5.5c-1.6 0-3 .7-4 1.8l-9.5-5.2-.1-2.8 9.7-5.5c1 1 2.3 1.5 3.8 1.5 3 0 5.5-2.5 5.5-5.5S28.2 0 25.2 0s-5.5 2.4-5.5 5.5c0 .6.1 1.1.2 1.6l-9.3 5.7c-1-.9-2.3-1.5-3.8-1.5-3 0-5.5 2.4-5.5 5.5.1 2.9 2.5 5.4 5.5 5.4z"}))),o.default.createElement("span",{className:"ec-share-cta-text"},e))};a.propTypes={children:u.node.isRequired};var c=function(t){var e=t.active,n=t.ctaText,r=t.onButtonClick;return o.default.createElement("button",{className:(0,i.default)({"ec-share-button":!0,"ec-share-button__share":!0,"ec-share-button__share--open":e}),onClick:r,"data-bbc-container":"Share Tools","data-bbc-title":"Share Icon"},o.default.createElement(a,null,n))};c.defaultProps={active:!1},c.propTypes={active:u.bool,ctaText:u.string.isRequired,onButtonClick:u.func.isRequired};var f=c;e.default=f},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(38),u=r(n(39)),a=n(0).PropTypes||n(5),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 32 32"},o.default.createElement("path",{d:"M32 6.1c-1.2.5-2.4.9-3.8 1 1.4-.8 2.4-2.1 2.9-3.6-1.3.8-2.7 1.3-4.2 1.6C25.7 3.8 24 3 22.2 3c-3.6 0-6.6 2.9-6.6 6.6 0 .5.1 1 .2 1.5-5.5-.3-10.3-2.9-13.6-6.9-.6 1-.9 2.1-.9 3.3 0 2.3 1.2 4.3 2.9 5.5-1.1 0-2.1-.3-3-.8v.1c0 3.2 2.3 5.8 5.3 6.4-.6.1-1.1.2-1.7.2-.4 0-.8 0-1.2-.1.8 2.6 3.3 4.5 6.1 4.6-2.2 1.8-5.1 2.8-8.2 2.8-.5 0-1.1 0-1.6-.1 3 1.8 6.5 2.9 10.2 2.9 12.1 0 18.7-10 18.7-18.7v-.9c1.2-.9 2.3-2 3.2-3.3z"})),f=function(t){var e=t.text,n=t.hashTags,r=t.link,a=t.via,f=t.standalone,s=t.onClickCallback,l=t.position;return o.default.createElement(u.default,{icon:c,name:"Twitter",standalone:f,onClick:function(){s&&s();var t="".concat("https://web.archive.org/web/20191004204316/https://twitter.com/intent/tweet","?url=").concat(r);e&&(t+="&text=".concat(encodeURIComponent(e))),n&&(t+="&hashtags=".concat(n.join(","))),a&&(t+="&via=".concat(a)),(0,i.openWindow)(t)},position:l})};f.propTypes={text:a.string,hashTags:a.arrayOf(a.string),link:a.string.isRequired,via:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(38),u=r(n(39)),a=n(0).PropTypes||n(5),c=o.default.createElement("svg",{focusable:"false",viewBox:"0 0 24 24"},o.default.createElement("path",{d:"M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.709.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z"})),f=function(t){var e=t.link,n=t.via,r=t.standalone,a=t.onClickCallback,f=t.position;return o.default.createElement(u.default,{icon:c,name:"WhatsApp",standalone:r,onClick:function(){a&&a();var t="".concat(window.innerWidth<=600?"https://web.archive.org/web/20191004204316/https://api.whatsapp.com/send":"https://web.archive.org/web/20191004204316/https://web.whatsapp.com/send","?text=").concat(encodeURIComponent(e));n&&(t+="&via=".concat(encodeURIComponent("".concat(n)))),(0,i.openWindow)(t)},position:f})};f.propTypes={link:a.string.isRequired,via:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";var r=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(38),u=r(n(39)),a=n(0).PropTypes||n(5),c=o.default.createElement("svg",{focusable:"false",viewBox:"-3 0 29 29"},o.default.createElement("path",{d:"m23.55,22c0,-0.2 -0.2,-0.3 -0.3,-0.3c-0.3,-0.1 -0.5,0 -1.3,-0.4c-0.6,-0.3 -3.5,-1.7 -7.5,-2.1l2.9,-16.4c0.1,-0.7 0.1,-1.3 -0.1,-1.7c-0.3,-0.6 -1.1,-0.7 -1.9,-0.6c-0.7,0.1 -1.2,0.3 -1.3,0.4s-0.2,0.2 -0.2,0.4c0,0.3 0.3,0.6 0.1,1.7c0,0.3 -1,5.5 -1.8,10c-2.1,1.3 -4.9,1.9 -5.5,1.1c-0.3,-0.4 -0.2,-1.1 0.1,-2.2c0.1,-0.2 1.3,-4.9 1.6,-6.3c0.7,-2.6 0.2,-4.9 -2.5,-5.2c-2.3,-0.2 -4.5,1.1 -5.2,1.9c-0.5,0.5 -0.3,1.1 0.1,1.9c0.3,0.6 0.8,1 0.9,1c0.1,0.1 0.3,0.1 0.4,0c0.8,-0.9 2.2,-1.5 2.7,-1.1c0.4,0.4 0.3,1 0.1,1.7c0,0 -1.5,5.6 -2.1,8c-0.4,1.7 0,3.3 1.3,4.1c0.9,0.6 2.3,0.5 3.4,0.4c2.4,-0.3 3.8,-1.3 4,-1.5c-0.3,1.5 -0.4,2.5 -0.4,2.5s-2.7,0.2 -4.9,1.6c-2.9,1.7 -4.1,5.7 -2.2,7.8c1.9,2.1 5.1,1.3 6.5,0.4c1.3,-0.9 2.9,-2.7 3.7,-6.8c4.4,0.2 5.5,2.5 7.4,2.6c1.2,-0.2 2.1,-1.5 2,-2.9zm-15,4c-0.6,0.4 -1.3,0.4 -1.7,0c-0.4,-0.5 -0.5,-3.1 3.6,-3.8c0,-0.1 -0.7,3 -1.9,3.8z",id:"svg_8"})),f=function(t){var e=t.link,n=t.title,r=t.image,a=t.standalone,f=t.onClickCallback,s=t.position;return o.default.createElement(u.default,{icon:c,name:"Yummly",standalone:a,onClick:function(){f&&f();var t="".concat("https://web.archive.org/web/20191004204316/http://www.yummly.com/urb/verify","?url=").concat(encodeURIComponent(e));n&&(t+="&title=".concat(encodeURIComponent("".concat(n)))),r&&(t+="&image=".concat(encodeURIComponent("".concat(r)))),(0,i.openWindow)(t)},position:s})};f.propTypes={link:a.string.isRequired,title:a.string,image:a.string,standalone:a.bool,onClickCallback:a.func,position:a.number.isRequired},f.defaultProps={standalone:!1};var s=f;e.default=s},function(t,e,n){"use strict";function r(t,e){return u(t)||i(t,e)||o()}function o(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function i(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.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}function u(t){if(Array.isArray(t))return t}function a(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){c(t,e,n[e])})}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(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 l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var p={primary:{universal:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"https://web.archive.org/web/20191004204316/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-science.js"}},d={zt3rkqt:"english-lang",z2f3cdm:"geography",zkxhfg8:"language",z426n39:"language",zc7xpv4:"language",z86pyrd:"language",zrqmhyc:"language",z9mtsbk:"language",zjpfb9q:"language",z9frq6f:"language",z3cr9j6:"language",zqnygk7:"language",z8rdtfr:"english-lit",zhbc87h:"english-lit",zy9d7ty:"english-lit",z6vg9j6:"maths",z37qtfr:"maths",z7nygk7:"science",z2svr82:"science",zmf3cdm:"science",zxyb4wx:"science"},h=function(t){return d[t]?d[t]:null},v=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f(this,t);var o={opacity:1,opacityTransition:.5,scale:1};this.config=a({},o,n),this.svg=e.cloneNode(!0);var i=this.svg.getAttribute("viewBox").split(" "),u=r(i,4),c=u[2],s=u[3];this.baseWidth=c,this.baseHeight=s,this.opacity=this.config.opacity,this.opacityTransition=this.config.opacityTransition,this.scale=this.config.scale,this.svg.setAttribute("focusable","false"),this.hide()}return l(t,[{key:"hasPosition",value:function(){return!!this.config.position}},{key:"show",value:function(){this.svg.style.display="block",this.svg.style.opacity=this.opacity}},{key:"fadeIn",value:function(){var t=this;requestAnimationFrame(function(){t.svg.style.display="block",requestAnimationFrame(function(){t.svg.style.opacity=t.opacity})})}},{key:"hide",value:function(){this.svg.style.display="none",this.svg.style.opacity=0}},{key:"opacity",get:function(){return this.config.opacity},set:function(t){this.config.opacity=t,this.svg.style.opacity=t}},{key:"opacityTransition",get:function(){return this.config.opacityTransition},set:function(t){this.config.opacityTransition=t,this.svg.style.transitionDuration="".concat(t,"s")}},{key:"position",get:function(){return this.config.position},set:function(t){var e=r(t,2),n=e[0],o=e[1],i="string"==typeof n?n:"".concat(n.toString(),"px"),u="string"==typeof o?o:"".concat(o.toString(),"px");this.config.position=[i,u],this.svg.style.left="".concat(n,"px"),this.svg.style.top="".concat(o,"px")}},{key:"scale",get:function(){return this.config.scale},set:function(t){this.config.scale=t,this.svg.style.width="".concat(this.baseWidth*t,"px"),this.svg.style.height="".concat(this.baseHeight*t,"px")}}]),t}(),y=function(t){return t%2==0},g=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},b=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=[],n=0;n<t;n++)e.push(n);return e},_=function(){function t(e,n){f(this,t),this.parentElement=e,this.sparkSource=n,this.sparks=[]}return l(t,[{key:"getRandomSpark",value:function(){return this.sparkSource[g(0,this.sparkSource.length-1)]}},{key:"addSparkStylesheet",value:function(){if(!document.getElementById("spark-styles")){var t=document.createElement("style");t.id="spark-styles",t.textContent="\n .bitesize-spark-background {\n z-index: -1;\n overflow: hidden;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .bitesize-spark {\n display: none;\n opacity: 0;\n position: absolute;\n transition-property: opacity;\n transition-timing-function: ease-in;\n }\n ",document.head.appendChild(t)}}},{key:"initialize",value:function(){var t=document.createElement("div");t.classList.add("bitesize-spark-background");for(var e=0;e<100;e++){var n=this.getRandomSpark(),r=new v(n,{opacityTransition:g(200,500)/1e3,scale:g(25,75)/100});this.sparks[e]=r}this.sparks.forEach(function(e){return t.appendChild(e.svg)});var o=window.getComputedStyle(this.parentElement),i=o.backgroundColor,u=o.backgroundImage,a=o.backgroundPosition,c=o.backgroundSize,f=o.backgroundRepeat;t.style.backgroundColor=i,t.style.backgroundImage=u,t.style.backgroundPosition=a,t.style.backgroundSize=c,t.style.backgroundRepeat=f,this.addSparkStylesheet(),this.parentElement.appendChild(t),this.parentElement.style.background="none"}},{key:"distribute",value:function(){var t=this;if(window.matchMedia("(max-width: 600px)").matches)return void this.hideAllSparks();var e={horizontalSlots:Math.floor(this.parentElement.clientWidth/128),verticalSlots:Math.floor(this.parentElement.clientHeight/64)},n=b(e.horizontalSlots),r=b(e.verticalSlots);n.map(function(t){return r}).map(function(t,e){return t.filter(function(t){return y(t)===y(e)})}).map(function(t,e){return t.map(function(t){return{xCoordinate:e,yCoordinate:t}})}).reduce(function(t,e){return t.concat(e)},[]).forEach(function(e,n){var r=e.xCoordinate,o=e.yCoordinate,i=t.sparks[n];if(!i.hasPosition()){var u=128*r+g(-32,32)+64+16,a=64*o+g(-32,32)+32;i.position=[u,a]}i.fadeIn()})}},{key:"hideAllSparks",value:function(){this.sparks.forEach(function(t){return t.hide()})}}]),t}(),m=function(t){return"secondary"===t||"post-16"===t?"secondary":"primary"},x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"primary",e=arguments.length>1?arguments[1]:void 0,n=e?"".concat(t,"-").concat(e):t,r="#bitesize-sparks-".concat(n," > svg");return document.querySelectorAll(r)},j=function(t){t.initialize(),t.distribute(),window.addEventListener("resize",function(){t.distribute()})};window.mrSparkle=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.zid?h(t.zid):null,n=document.querySelector(t.selector);if(null!==n){var r=m(t.phase),o=x(r,e);if(o.length){var i=new _(n,o);j(i)}else{var u=p[r][e||"universal"];window.require([u],function(){o=x(r,e);var t=new _(n,o);j(t)})}}}},function(t,e,n){"use strict";var r={"en-GB":{label:"All levels",description:"Learning resources for adults, children, parents and teachers organised by level, subject and topic."},"cy-GB":{label:"Pob lefel",description:"Adnoddau Dysgu ar gyfer oedolion, plant, rhieni ac athrawon yn ol lefel, pwnc ac is-bynciau."},"ga-GB":{label:"Gach leibhéil",description:"Acmhainní foghlama do dhaoine fásta, páistí, tuismitheoirí agus múinteoirí eagraithe de réir leibhéil, ábhair agus topaice."},"gd-GB":{label:"Na h-ìrean air fad",description:"Goireasan foghlaim dha inbhich, clann, pàrantan is tidsearan le fiosrachadh mu ìre, cuspair agus fo-chuspair."}};t.exports=function(t){var e=r[t]||r["en-GB"];return{label:e.label,fosZid:"",description:e.description}}}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-level/version/3.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[{"id":"z4js6v4","type":"keyStage","label":"Cyfnod Sylfaen","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"zf7hgwx","type":"keyStage","label":"Early level","description":"Early Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 3 to 6 years in Pre-School or Primary 1.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":3,"upperAge":6,"phase":"Primary"},{"id":"zxybmsg","type":"keyStage","label":"Foundation Phase","description":"Foundation Phase is the statutory curriculum for primary school pupils aged 3 to 7 in Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"znyh7nb","type":"keyStage","label":"Foundation Stage","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":3,"upperAge":5,"phase":"Primary"},{"id":"zgckjxs","type":"keyStage","label":"1st level","description":"First Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 5 to 9 years in Primary 2, Primary 3 and Primary 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"zk3xy9q","type":"keyStage","label":"A' Chiad Ìre","description":"Tha a’ Chiad Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 5 agus 9 bliadhna ann an Clas 2, Clas 3 agus Clas 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"z3g4d2p","type":"keyStage","label":"KS1","description":"Key Stage 1 is a phase of primary education for pupils aged 5 to 7 in England, or 6 to 8 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":5,"upperAge":7,"phase":"Primary"},{"id":"zvbc87h","type":"phase","label":"Primary","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":3,"upperAge":11},{"id":"zbpwt39","type":"keyStage","label":"CA2","description":"Mae Cyfnod Allweddol 2 yn rhan o addysg gynradd ar gyfer disgyblion oed 7 i 11 yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zbr9wmn","type":"keyStage","label":"KS2","description":"Key Stage 2 is a phase of primary education for pupils aged 7 to 11 in England and Wales, or 8 to 11 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zr48q6f","type":"keyStage","label":"2nd level","description":"Second Level is a phase of primary education in Scotland, generally for pupils aged 9 to 12.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"z4y2scw","type":"keyStage","label":"An Dàrna Ìre","description":"Tha an Dàrna Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 8 agus 12 bliadhna Clas 5, Clas 6 agus Clas 7.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zvbc87h#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"zy4qn39","type":"keyStage","label":"3rd level","description":"Third Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zvk2fg8","type":"keyStage","label":"4th level","description":"Fourth Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zh6vr82","type":"keyStage","label":"CA3","description":"Mae Cyfnod Allweddol 3 yn cynrychioli’r tair blynedd cyntaf yn addysg ysgolion uwchradd Cymru, ar gyfer disgyblion 11-14 blwydd oed.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"z4kw2hv","type":"keyStage","label":"KS3","description":"Key Stage 3 is the first three years of secondary school education in England, Wales and Northern Ireland, for pupils aged 11 to 14.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"zqxy8mn","type":"keyStage","label":"CBC","description":"Mae Bagloriaeth Cymru (CBC) yn galluogi dysgwyr i ddeall a datblygu sgiliau hanfodol a chyflogadwyedd. Mae'n darparu cyfleoedd asesu mewn sefyllfaoedd bywyd go iawn, trwy gyfrwng tair her a phroject unigol.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z98jmp3","type":"keyStage","label":"GCSE","description":"GCSE is the qualification taken by 15 and 16 year olds to mark their graduation from the Key Stage 4 phase of secondary education in England, Northern Ireland and Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"},{"label":"Northern Ireland","type":"nation","id":"z6bc87h"},{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z37jxsg","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":15,"upperAge":16},{"id":"zcnpv4j","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":15,"upperAge":16},{"id":"z9fsbk7","type":"year","label":"Year 12","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":15,"upperAge":16},{"id":"z8hhvcw","type":"keyStage","label":"Nàiseanta 4","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zdpp34j","type":"keyStage","label":"Nàiseanta 5","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 5.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zp3d7ty","type":"keyStage","label":"National 4","description":"National 4 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z6gw2hv","type":"keyStage","label":"National 5","description":"National 5 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z8w76sg","type":"keyStage","label":"TGAU","description":"Cymhwyster ar gyfer disgyblion 15 -16 blwydd oed yw TGAU. Mae’r cymhwyster yn dangos bod disgyblion wedi llwyddo i gwblhau Cyfnod Allweddol 4 yn ystod eu haddysg uwchradd yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z9wtgdm","type":"keyStage","label":"WBQ","description":"The Welsh Baccalaureate (WBQ) is a qualification that helps learners to understand and develop essential and employability skills. It provides opportunities for assessment in real-life contexts through three challenge briefs and an individual project.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"zyw87hv","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":14,"upperAge":15},{"id":"zghtfrd","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":14,"upperAge":15},{"id":"z8vyrdm","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/z98jmp3#level","programmesOfStudy":[],"nations":[{"label":"Northern Ireland","type":"nation","id":"z6bc87h"}],"lowerAge":14,"upperAge":15},{"id":"zc9d7ty","type":"phase","label":"Secondary","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":11,"upperAge":18},{"id":"zqq4wxs","type":"keyStage","label":"Àrd Ìre","description":"'S e deuchainnean do sgoilearan ann an Alba a tha aig aois an sgoil fhàgail agus teisteanas inntrigidh oilthigh a th’ anns an Àrd Ìre.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"zkdqxnb","type":"keyStage","label":"Higher","description":"Highers are national school-leaving certificate exams and university entrance qualifications taken by 16 to 18 year olds in Scotland.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zc9d7ty#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"z66jhbk","type":"keyStage","label":"Core Skills","description":"Core Skills qualifications teach post-16 and adult learners in Scotland how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"Scotland","type":"nation","id":"zx3rkqt"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zhh7nrd","type":"keyStage","label":"Essential Skills","description":"Essential Skills qualifications teach post-16 and adult learners in Wales how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"Wales","type":"nation","id":"zmvg9j6"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zvhtng8","type":"keyStage","label":"Functional Skills","description":"Functional Skills qualifications teach post-16 and adult learners in England how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20191004204316\/http:\/\/www.bbc.co.uk\/education\/levels\/zfxmtv4#level","programmesOfStudy":[],"nations":[{"label":"England","type":"nation","id":"z2yb4wx"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zfxmtv4","type":"phase","label":"Post-16","description":" ","subLevelOf":"","programmesOfStudy":[],"nations":[],"lowerAge":16,"upperAge":100}]}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-article-data/preview/undefined/projectName/blocks-bitesize/timestamp/undefined/version/5.2.0/zid/zkkxjhv', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"modifiedDateTime":"2019-09-18T15:17:03.269Z","id":"zkkxjhv","type":"article","headline":"Uni halls horror stories that’ll make you wince","synopsis":"","blocksGrid":[[{"id":"zjjpmfr","type":"text-block","colspan":3}],[{"id":"zv3dcqt","type":"image-block","colspan":3}],[{"id":"zk86qp3","type":"text-block","colspan":3}],[{"id":"zmxvpg8","type":"text-block","colspan":3}],[{"id":"zvbj92p","type":"image-block","colspan":3}],[{"id":"zbr78xs","type":"text-block","colspan":3}],[{"id":"zdjnxyc","type":"text-block","colspan":3}],[{"id":"z6hry9q","type":"image-block","colspan":3}],[{"id":"zdqs6v4","type":"text-block","colspan":3}],[{"id":"zmtgf4j","type":"text-block","colspan":3}],[{"id":"zkjnxyc","type":"image-block","colspan":3}],[{"id":"z6n4382","type":"text-block","colspan":3}],[{"id":"znvdcqt","type":"text-block","colspan":3}],[{"id":"z4wpmfr","type":"image-block","colspan":3}],[{"id":"zmpcvk7","type":"text-block","colspan":3}],[{"id":"zhy8rj6","type":"text-block","colspan":3}],[{"id":"zv4mwty","type":"image-block","colspan":3}],[{"id":"zdmvpg8","type":"text-block","colspan":3}],[{"id":"zfhft39","type":"promo-block","colspan":1},{"id":"zr3cvk7","type":"promo-block","colspan":1},{"id":"zb7t7nb","type":"promo-block","colspan":1}]],"depictionImagePid":"p07nkwl1","topics":[],"tags":[],"preview":false}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-crumbtrail/version/2.1.2/zid/zkkxjhv', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[]}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","subdirectory":"bitesize","zid":"zkkxjhv","partOf":"true","globalNav":"true","pageType":"blocks","language":"en-GB","version":"8.16.1","_mrrVersion":"2.0.16"},'u9392525550478013'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20191004204316/https://push.api.bbci.co.uk/public/client' }, 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(); } /* u9392525550478013 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-promise@1.0.6"]={"es6-promise":"3.2.1"},function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var e={};return n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-promise@1.0.6"]=e(1)},function(t,n,e){var r=e(2).Promise;t.exports=r},function(t,n,e){var r;(function(t,o,i){(function(){"use strict";function s(t){return"function"==typeof t||"object"==typeof t&&null!==t}function u(t){return"function"==typeof t}function c(t){V=t}function a(t){tt=t}function f(){return function(){t.nextTick(v)}}function l(){return function(){R(v)}}function h(){var t=0,n=new rt(v),e=document.createTextNode("");return n.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}function p(){var t=new MessageChannel;return t.port1.onmessage=v,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(v,1)}}function v(){for(var t=0;t<$;t+=2){var n=st[t],e=st[t+1];n(e),st[t]=void 0,st[t+1]=void 0}$=0}function _(){try{var t=e(5);return R=t.runOnLoop||t.runOnContext,l()}catch(t){return d()}}function y(t,n){var e=this,r=new this.constructor(w);void 0===r[at]&&N(r);var o=e._state;if(o){var i=arguments[o-1];tt(function(){F(o,r,i,e._result)})}else C(e,r,t,n);return r}function m(t){var n=this;if(t&&"object"==typeof t&&t.constructor===n)return t;var e=new n(w);return j(e,t),e}function w(){}function b(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function A(t){try{return t.then}catch(t){return pt.error=t,pt}}function x(t,n,e,r){try{t.call(n,e,r)}catch(t){return t}}function E(t,n,e){tt(function(t){var r=!1,o=x(e,n,function(e){r||(r=!0,n!==e?j(t,e):M(t,e))},function(n){r||(r=!0,k(t,n))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,k(t,o))},t)}function T(t,n){n._state===lt?M(t,n._result):n._state===ht?k(t,n._result):C(n,void 0,function(n){j(t,n)},function(n){k(t,n)})}function S(t,n,e){n.constructor===t.constructor&&e===ut&&constructor.resolve===ct?T(t,n):e===pt?k(t,pt.error):void 0===e?M(t,n):u(e)?E(t,n,e):M(t,n)}function j(t,n){t===n?k(t,b()):s(n)?S(t,n,A(n)):M(t,n)}function P(t){t._onerror&&t._onerror(t._result),O(t)}function M(t,n){t._state===ft&&(t._result=n,t._state=lt,0!==t._subscribers.length&&tt(O,t))}function k(t,n){t._state===ft&&(t._state=ht,t._result=n,tt(P,t))}function C(t,n,e,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=n,o[i+lt]=e,o[i+ht]=r,0===i&&t._state&&tt(O,t)}function O(t){var n=t._subscribers,e=t._state;if(0!==n.length){for(var r,o,i=t._result,s=0;s<n.length;s+=3)r=n[s],o=n[s+e],r?F(e,r,o,i):o(i);t._subscribers.length=0}}function L(){this.error=null}function Y(t,n){try{return t(n)}catch(t){return dt.error=t,dt}}function F(t,n,e,r){var o,i,s,c,a=u(e);if(a){if(o=Y(e,r),o===dt?(c=!0,i=o.error,o=null):s=!0,n===o)return void k(n,g())}else o=r,s=!0;n._state!==ft||(a&&s?j(n,o):c?k(n,i):t===lt?M(n,o):t===ht&&k(n,o))}function D(t,n){try{n(function(n){j(t,n)},function(n){k(t,n)})}catch(n){k(t,n)}}function K(){return vt++}function N(t){t[at]=vt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function U(t){return new bt(this,t).promise}function W(t){var n=this;return new n(Z(t)?function(e,r){for(var o=t.length,i=0;i<o;i++)n.resolve(t[i]).then(e,r)}:function(t,n){n(new TypeError("You must pass an array to race."))})}function q(t){var n=this,e=new n(w);return k(e,t),e}function z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function B(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function G(t){this[at]=K(),this._result=this._state=void 0,this._subscribers=[],w!==t&&("function"!=typeof t&&z(),this instanceof G?D(this,t):B())}function H(t,n){this._instanceConstructor=t,this.promise=new t(w),this.promise[at]||N(this.promise),Z(n)?(this._input=n,this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&M(this.promise,this._result))):k(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function J(){var t;if("undefined"!=typeof o)t=o;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;n&&"[object Promise]"===Object.prototype.toString.call(n.resolve())&&!n.cast||(t.Promise=wt)}var Q;Q=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var R,V,X,Z=Q,$=0,tt=function(t,n){st[$]=t,st[$+1]=n,$+=2,2===$&&(V?V(v):X())},nt="undefined"!=typeof window?window:void 0,et=nt||{},rt=et.MutationObserver||et.WebKitMutationObserver,ot="undefined"==typeof self&&"undefined"!=typeof t&&"[object process]"==={}.toString.call(t),it="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,st=new Array(1e3);X=ot?f():rt?h():it?p():void 0===nt?_():d();var ut=y,ct=m,at=Math.random().toString(36).substring(16),ft=void 0,lt=1,ht=2,pt=new L,dt=new L,vt=0,_t=U,yt=W,mt=q,wt=G;G.all=_t,G.race=yt,G.resolve=ct,G.reject=mt,G._setScheduler=c,G._setAsap=a,G._asap=tt,G.prototype={constructor:G,then:ut,catch:function(t){return this.then(null,t)}};var bt=H;H.prototype._enumerate=function(){for(var t=this.length,n=this._input,e=0;this._state===ft&&e<t;e++)this._eachEntry(n[e],e)},H.prototype._eachEntry=function(t,n){var e=this._instanceConstructor,r=e.resolve;if(r===ct){var o=A(t);if(o===ut&&t._state!==ft)this._settledAt(t._state,n,t._result);else if("function"!=typeof o)this._remaining--,this._result[n]=t;else if(e===wt){var i=new e(w);S(i,t,o),this._willSettleAt(i,n)}else this._willSettleAt(new e(function(n){n(t)}),n)}else this._willSettleAt(r(t),n)},H.prototype._settledAt=function(t,n,e){var r=this.promise;r._state===ft&&(this._remaining--,t===ht?k(r,e):this._result[n]=e),0===this._remaining&&M(r,this._result)},H.prototype._willSettleAt=function(t,n){var e=this;C(t,void 0,function(t){e._settledAt(lt,n,t)},function(t){e._settledAt(ht,n,t)})};var gt=J,At={Promise:wt,polyfill:gt};e(6).amd?(r=function(){return At}.call(n,e,n,i),!(void 0!==r&&(i.exports=r))):"undefined"!=typeof i&&i.exports?i.exports=At:"undefined"!=typeof this&&(this.ES6Promise=At),gt()}).call(this)}).call(n,e(3),function(){return this}(),e(4)(t))},function(t,n){function e(){l&&a&&(l=!1,a.length?f=a.concat(f):h=-1,f.length&&r())}function r(){if(!l){var t=s(e);l=!0;for(var n=f.length;n;){for(a=f,f=[];++h<n;)a&&a[h].run();h=-1,n=f.length}a=null,l=!1,u(t)}}function o(t,n){this.fun=t,this.array=n}function i(){}var s,u,c=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{u=clearTimeout}catch(t){u=function(){throw new Error("clearTimeout is not defined")}}}();var a,f=[],l=!1,h=-1;c.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];f.push(new o(t,n)),1!==f.length||l||s(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=i,c.addListener=i,c.once=i,c.off=i,c.removeListener=i,c.removeAllListeners=i,c.emit=i,c.binding=function(t){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(t){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n){},function(t,n){t.exports=function(){throw new Error("define cannot be used indirect")}}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-istats@1.3.0"]={"bbc-morph-promise":"1.0.6",requirejs:"2.3.5"},function(n){function r(e){if(t[e])return t[e].exports;var o=t[e]={exports:{},id:e,loaded:!1};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var t={};return r.m=n,r.c=t,r.p="",r(0)}([function(n,r,t){Morph.modules["bbc-morph-istats@1.3.0"]=t(1)},function(n,r,t){function e(){return p?a.resolve(p):new a(function(n){requirejs(["istats-1"],function(r){p=r,n(p)})})}function o(n){return"string"==typeof n&&n[0]}function u(n,r){return o(n)&&o(r)}function i(n,r,t){return e().then(function(e){e.log(n,r,t)})}function c(n,r){return e().then(function(t){t.track(n,r)})}function s(n,r,t){return u(n,r)?i(r,n,t):a.reject("Invalid parameters")}function f(){return e().then(function(n){return n.getCountername()})}var p,a=t(2);r.track=s,r.trackRegion=c,r.getCountername=f,r.log=i},function(n,r){n.exports=Morph.modules["bbc-morph-promise@1.0.6"]}]);; });</script><script>Morph.toInit.bundles.push(function() { !function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=t.n(r);Morph.modules["bbc-morph-detect-touchscreen-view@2.0.1"]=o.a},function(n,e,t){"use strict";n.exports=t(2)},function(n,e,t){"use strict";n.exports=function(n){function e(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return n[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var t={};return e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="",e(e.s=0)}([function(n,e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=t(1),o=function(n){return n&&n.__esModule?n:{default:n}}(r),u=function(n){return"\n(function() {\n function hasTouchscreen () {\n if ('ontouchstart' in window) {\n return true;\n }\n\n if (window.hasOwnProperty && window.hasOwnProperty('ontouchstart')) {\n return true;\n }\n\n if (window.DocumentTouch && document instanceof DocumentTouch) {\n return true;\n }\n\n if (navigator.msMaxTouchPoints) {\n return true;\n }\n\n return false;\n };\n\n if (!hasTouchscreen()) {\n document.documentElement.classList.add('"+n+"');\n }\n})();\n"},c=function(n){if(!/^[a-z_][a-z\d_-]*$/i.test(n))throw new Error("'"+n+"' is not a valid class name")},s=function(n){var e=n.disabledClass;return c(e),o.default.createElement("script",{dangerouslySetInnerHTML:{__html:u(e)}})};s.propTypes={disabledClass:r.PropTypes.string},s.defaultProps={disabledClass:"no-touch"},e.default=s,n.exports=e.default},function(n,e){n.exports=t(3)}])},function(n,e){n.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-blocks-view@2.36.1"]={"bbc-morph-blocks-audio":"2.1.1","bbc-morph-blocks-cage":"0.4.2","bbc-morph-blocks-data":"2.36.1","bbc-morph-blocks-follow":"1.1.2","bbc-morph-blocks-image":"1.2.1","bbc-morph-blocks-istats":"0.1.0","bbc-morph-blocks-legacy-activity":"2.1.0","bbc-morph-blocks-practice":"3.9.1","bbc-morph-blocks-promo":"1.1.1","bbc-morph-blocks-riddle":"1.0.0","bbc-morph-blocks-slideshow":"1.3.2","bbc-morph-blocks-text":"1.8.0","bbc-morph-blocks-twitter":"1.0.1","bbc-morph-blocks-video":"1.6.0","bbc-zid-validator":"1.1.0","morph-container":"4.0.0","morph-require":"3.0.17","react":"0.14.7"}; !function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),o=r.n(n);Morph.modules["bbc-morph-blocks-view@2.36.1"]=o.a},function(t,e,r){t.exports=r(2)},function(t,e,r){(function(e,n){function o(t){return(o="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)}t.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)}([function(t,e){t.exports=r(5)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(2),o=r.n(n),i=r(3),c=(r.n(i),r(8));e.default=o.a.create(Object(i.blockWithIstatsTracking)(c.a),{data:function(t){var e=t.zid,r=t.projectName,n=t.preview,o=void 0!==n&&n,i=t.timestamp;return{blockData:{uri:{data:"bbc-morph-blocks-data",zid:e,projectName:r,preview:o,timestamp:void 0===i?0:i},requireSuccess:!0,updates:!1}}}})},function(t,e){t.exports=r(6)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(4),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default={blockWithIstatsTracking:o.default},t.exports=e.default},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==o(e)&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+o(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=r(0),l=n(a),f=r(5),p=n(f);e.default=function(t){var e=function(e){function r(){return i(this,r),c(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return u(r,e),s(r,[{key:"componentDidMount",value:function(){var t=this.props,e=t.view,r=t.version,n=t.projectName;if(e&&r&&n){var o=e.slice(10),i=n.slice(7);p.default.track("block_loaded","load",{block_module:o,block_version:r,block_tenant:i})}}},{key:"render",value:function(){return l.default.createElement(t,this.props)}}]),r}(l.default.Component);return e.propTypes={view:a.PropTypes.string,version:a.PropTypes.string,projectName:a.PropTypes.string},e.defaultProps={view:null,version:null,projectName:null},e.displayName=(t.displayName||"Block")+"WithIstatsTracking",e},t.exports=e.default},function(t,e,r){function n(){return l?f.resolve(l):new f(function(t){requirejs(["istats-1"],function(e){l=e,t(l)})})}function o(t){return"string"==typeof t&&t[0]}function i(t,e){return o(t)&&o(e)}function c(t,e,r){return n().then(function(n){n.log(t,e,r)})}function u(t,e){return n().then(function(r){r.track(t,e)})}function s(t,e,r){return i(t,e)?c(e,t,r):f.reject("Invalid parameters")}function a(){return n().then(function(t){return t.getCountername()})}var l,f=r(6);e.track=s,e.trackRegion=u,e.getCountername=a,e.log=c},function(t,e,r){var n=r(7).Promise;t.exports=n},function(t,r,i){var c;(function(){"use strict";function u(t){return"function"==typeof t||"object"===o(t)&&null!==t}function s(t){return"function"==typeof t}function a(t){H=t}function l(t){X=t}function f(){return function(){K(h)}}function p(){return function(){setTimeout(h,1)}}function h(){for(var t=0;t<V;t+=2){(0,nt[t])(nt[t+1]),nt[t]=void 0,nt[t+1]=void 0}V=0}function b(t,e){var r=this,n=new this.constructor(v);void 0===n[ct]&&q(n);var o=r._state;if(o){var i=arguments[o-1];X(function(){S(o,n,i,r._result)})}else P(r,n,t,e);return n}function d(t){var e=this;if(t&&"object"===o(t)&&t.constructor===e)return t;var r=new e(v);return j(r,t),r}function v(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function y(){return new TypeError("A promises callback cannot return that same promise.")}function g(t){try{return t.then}catch(t){return lt.error=t,lt}}function _(t,e,r,n){try{t.call(e,r,n)}catch(t){return t}}function w(t,e,r){X(function(t){var n=!1,o=_(r,e,function(r){n||(n=!0,e!==r?j(t,r):C(t,r))},function(e){n||(n=!0,x(t,e))},"Settle: "+(t._label||" unknown promise"));!n&&o&&(n=!0,x(t,o))},t)}function k(t,e){e._state===st?C(t,e._result):e._state===at?x(t,e._result):P(e,void 0,function(e){j(t,e)},function(e){x(t,e)})}function T(t,e,r){e.constructor===t.constructor&&r===ot&&constructor.resolve===it?k(t,e):r===lt?x(t,lt.error):void 0===r?C(t,e):s(r)?w(t,e,r):C(t,e)}function j(t,e){t===e?x(t,m()):u(e)?T(t,e,g(e)):C(t,e)}function O(t){t._onerror&&t._onerror(t._result),M(t)}function C(t,e){t._state===ut&&(t._result=e,t._state=st,0!==t._subscribers.length&&X(M,t))}function x(t,e){t._state===ut&&(t._state=at,t._result=e,X(O,t))}function P(t,e,r,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+st]=r,o[i+at]=n,0===i&&t._state&&X(M,t)}function M(t){var e=t._subscribers,r=t._state;if(0!==e.length){for(var n,o,i=t._result,c=0;c<e.length;c+=3)n=e[c],o=e[c+r],n?S(r,n,o,i):o(i);t._subscribers.length=0}}function A(){this.error=null}function E(t,e){try{return t(e)}catch(t){return ft.error=t,ft}}function S(t,e,r,n){var o,i,c,u,a=s(r);if(a){if(o=E(r,n),o===ft?(u=!0,i=o.error,o=null):c=!0,e===o)return void x(e,y())}else o=n,c=!0;e._state!==ut||(a&&c?j(e,o):u?x(e,i):t===st?C(e,o):t===at&&x(e,o))}function F(t,e){try{e(function(e){j(t,e)},function(e){x(t,e)})}catch(e){x(t,e)}}function N(){return pt++}function q(t){t[ct]=pt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function B(t){return new mt(this,t).promise}function W(t){var e=this;return new e(Q(t)?function(r,n){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(r,n)}:function(t,e){e(new TypeError("You must pass an array to race."))})}function U(t){var e=this,r=new e(v);return x(r,t),r}function D(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function L(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function R(t){this[ct]=N(),this._result=this._state=void 0,this._subscribers=[],v!==t&&("function"!=typeof t&&D(),this instanceof R?F(this,t):L())}function z(t,e){this._instanceConstructor=t,this.promise=new t(v),this.promise[ct]||q(this.promise),Q(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&C(this.promise,this._result))):x(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function Y(){var t;if(void 0!==n)t=n;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;e&&"[object Promise]"===Object.prototype.toString.call(e.resolve())&&!e.cast||(t.Promise=vt)}var G;G=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var K,H,J,Q=G,V=0,X=function(t,e){nt[V]=t,nt[V+1]=e,2===(V+=2)&&(H?H(h):J())},Z="undefined"!=typeof window?window:void 0,$=Z||{},tt=$.MutationObserver||$.WebKitMutationObserver,et="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),rt="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3);J=et?function(){return function(){e.nextTick(h)}}():tt?function(){var t=0,e=new tt(h),r=document.createTextNode("");return e.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}():rt?function(){var t=new MessageChannel;return t.port1.onmessage=h,function(){t.port2.postMessage(0)}}():void 0===Z?function(){try{var t=i(!function(){var t=new Error('Cannot find module "vertx"');throw t.code="MODULE_NOT_FOUND",t}());return K=t.runOnLoop||t.runOnContext,f()}catch(t){return p()}}():p();var ot=b,it=d,ct=Math.random().toString(36).substring(16),ut=void 0,st=1,at=2,lt=new A,ft=new A,pt=0,ht=B,bt=W,dt=U,vt=R;R.all=ht,R.race=bt,R.resolve=it,R.reject=dt,R._setScheduler=a,R._setAsap=l,R._asap=X,R.prototype={constructor:R,then:ot,catch:function(t){return this.then(null,t)}};var mt=z;z.prototype._enumerate=function(){for(var t=this.length,e=this._input,r=0;this._state===ut&&r<t;r++)this._eachEntry(e[r],r)},z.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,n=r.resolve;if(n===it){var o=g(t);if(o===ot&&t._state!==ut)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(r===vt){var i=new r(v);T(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new r(function(e){e(t)}),e)}else this._willSettleAt(n(t),e)},z.prototype._settledAt=function(t,e,r){var n=this.promise;n._state===ut&&(this._remaining--,t===at?x(n,r):this._result[e]=r),0===this._remaining&&C(n,this._result)},z.prototype._willSettleAt=function(t,e){var r=this;P(t,void 0,function(t){r._settledAt(st,e,t)},function(t){r._settledAt(at,e,t)})};var yt=Y,gt={Promise:vt,polyfill:yt};void 0!==(c=function(){return gt}.call(r,i,r,t))&&(t.exports=c),yt()}).call(this)},function(t,e,r){"use strict";function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},n.apply(this,arguments)}var o=r(0),i=r.n(o),c=r(9),u=r(11),s=this,a=function(t){var e=t.projectName,r=t.blockData.body,o=t.language,a=r.type,l=Object(c.a)(a,s),f=l.renderer;return i.a.createElement(f,n({},r,{theme:Object(u.a)(e),projectName:e,language:o}))};a.defaultProps={language:"en-GB"},a.propTypes={projectName:o.PropTypes.string.isRequired,blockData:o.PropTypes.shape({body:o.PropTypes.object.isRequired}).isRequired,language:o.PropTypes.string},e.a=a},function(t,e,r){"use strict";var n=r(10),o=r.n(n),i={"audio-block":"bbc-morph-blocks-audio","image-block":"bbc-morph-blocks-image","promo-block":"bbc-morph-blocks-promo","slideshow-block":"bbc-morph-blocks-slideshow","text-block":"bbc-morph-blocks-text","twitter-block":"bbc-morph-blocks-twitter","video-block":"bbc-morph-blocks-video","legacy-activity-block":"bbc-morph-blocks-legacy-activity","cage-block":"bbc-morph-blocks-cage","follow-block":"bbc-morph-blocks-follow","practice-block":"bbc-morph-blocks-practice","riddle-block":"bbc-morph-blocks-riddle"};e.a=function(t,e){var r=i[t];if(void 0!==r)return o.a.transitiveThenUpdate(r,e);throw new Error("'".concat(t,"' is not a supported block type"))}},function(t,e){t.exports=r(7)},function(t,e,r){"use strict";var n={iconBackgroundColour:"#ededed",iconForegroundColour:"#000"},o=function(t){switch(t){case"blocks-bitesize":return{iconBackgroundColour:"#e5640f",iconForegroundColour:"#ffffff",useFontSalt:!0};case"blocks-food":return{iconBackgroundColour:"#268f3a",iconForegroundColour:"#fff"};case"blocks-teach":case"blocks-bring-the-noise":case"blocks-class-clips-video":case"blocks-creative":case"blocks-live-lessons":case"blocks-school-radio":case"blocks-skillswise":case"blocks-teacher-wellbeing":case"blocks-ten-pieces":case"blocks-terrific-scientific":return{iconBackgroundColour:"#7daac5",iconForegroundColour:"#003"};case"blocks-supermovers":return{iconBackgroundColour:"#ebebe6",iconForegroundColour:"#36003b"};case"blocks-archive":return{iconBackgroundColour:"#333e48",iconForegroundColour:"#003"};case"blocks-queen-elizabeth-ii":return{iconBackgroundColour:"#373737",iconForegroundColour:"#fff"};case"blocks-tomorrows-world":return{iconBackgroundColour:"#2828fa",iconForegroundColour:"#fff"};default:return n}};e.a=o}])}).call(e,r(3),r(4))},function(t,e){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function c(){d&&h&&(d=!1,h.length?b=h.concat(b):v=-1,b.length&&u())}function u(){if(!d){var t=o(c);d=!0;for(var e=b.length;e;){for(h=b,b=[];++v<e;)h&&h[v].run();v=-1,e=b.length}h=null,d=!1,i(t)}}function s(t,e){this.fun=t,this.array=e}function a(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:r}catch(t){l=r}try{f="function"==typeof clearTimeout?clearTimeout:n}catch(t){f=n}}();var h,b=[],d=!1,v=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];b.push(new s(t,e)),1!==b.length||d||o(u)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=a,p.addListener=a,p.once=a,p.off=a,p.removeListener=a,p.removeAllListeners=a,p.emit=a,p.prependListener=a,p.prependOnceListener=a,p.listeners=function(t){return[]},p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e){t.exports=React},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-blocks-view@2.36.1",t,e)}}},function(t,e){t.exports={transitive:function(t,e){return Morph.requireTransitiveWithCaller("bbc-morph-blocks-view@2.36.1",t,e)},selfTransitive:function(t,e){return Morph.requireTransitiveWithCaller("bbc-morph-blocks-view@2.36.1",t,e,!0)},transitiveThenUpdate:function(t,e){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-blocks-view@2.36.1",t,e)},selfTransitiveThenUpdate:function(t,e){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-blocks-view@2.36.1",t,e,!0)}}}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-blocks-article-view@13.63.1"]={"bbc-morph-blocks-article-data":"5.7.0","bbc-morph-blocks-core-styles":"2.0.0","bbc-morph-blocks-istats":"0.1.0","bbc-morph-blocks-view":"2.36.1","bbc-morph-detect-touchscreen-view":"2.0.1","bbc-morph-istats":"1.3.0","classnames":"2.2.6","morph-container":"4.0.0","react":"0.14.7"}; !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r.n(n);Morph.modules["bbc-morph-blocks-article-view@13.63.1"]=o.a},function(e,t,r){"use strict";e.exports=r(2)},function(e,t,r){"use strict";var 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.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t){e.exports=r(3)},function(e,t){e.exports=r(4)},function(e,t){e.exports=r(5)},function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),a=n(o),i=r(5),u=r(7),l=n(u),s=a.default.create((0,i.blockWithIstatsTracking)(l.default),{data:function(e){return{content:{uri:{data:"bbc-morph-blocks-article-data",zid:e.zid,projectName:e.projectName,preview:e.preview,timestamp:e.timestamp,language:e.language},requireSuccess:!0,updates:!1}}}});s.defaultProps={preview:!1,timestamp:"0",useGroupDTypography:"true",brandingPhase2:"false",language:"en-GB"},t.default=s,e.exports=t.default},function(e,t){e.exports=r(6)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(6),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={blockWithIstatsTracking:o.default},e.exports=t.default},function(e,t,r){function o(e){return e&&e.__esModule?e:{default:e}}function a(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":n(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":n(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=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),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(0),c=o(s),p=r(1),f=o(p);t.default=function(e){var t=function(t){function r(){return a(this,r),i(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return u(r,t),l(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.view,r=e.version,n=e.projectName;if(t&&r&&n){var o=t.slice(10),a=n.slice(7);f.default.track("block_loaded","load",{block_module:o,block_version:r,block_tenant:a})}}},{key:"render",value:function(){return c.default.createElement(e,this.props)}}]),r}(c.default.Component);return t.propTypes={view:s.PropTypes.string,version:s.PropTypes.string,projectName:s.PropTypes.string},t.defaultProps={view:null,version:null,projectName:null},t.displayName=(e.displayName||"Block")+"WithIstatsTracking",t},e.exports=t.default},function(e,t,r){function n(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(0),a=n(o),i=r(8),u=n(i),l=r(9),s=n(l),c=r(10),p=n(c),f=function(e){var t=e.content,r=e.timestamp,n=e.projectName,o=e.useGroupDTypography,i=e.brandingPhase2,l=e.language,c=e.focusedJourney,f=t.body,d=f.headline,b=f.blocksGrid,h=f.preview;return a.default.createElement("article",{className:"blocks-block blocks-article"},"true"===o&&a.default.createElement(u.default,{disabledClass:"blocks-touchscreen-disabled"}),""!==d?a.default.createElement(s.default,{text:d}):null,b.length?a.default.createElement(p.default,{blocksGrid:b,preview:h,timestamp:r,projectName:n,brandingPhase2:i,language:l,focusedJourney:c}):null)};f.propTypes={content:o.PropTypes.shape({body:o.PropTypes.shape({headline:o.PropTypes.string.isRequired,blocksGrid:o.PropTypes.array.isRequired,preview:o.PropTypes.bool.isRequired}).isRequired}).isRequired,timestamp:o.PropTypes.string.isRequired,projectName:o.PropTypes.string.isRequired,useGroupDTypography:o.PropTypes.string.isRequired,brandingPhase2:o.PropTypes.string,language:o.PropTypes.string,focusedJourney:o.PropTypes.string},f.defaultProps={brandingPhase2:"false",language:"en-GB",focusedJourney:"false"},f.displayName="Article",t.default=f,e.exports=t.default},function(e,t){e.exports=r(7)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n),a=function(e){var t=e.text;return o.default.createElement("h1",{className:"blocks-article__headline"},t)};a.propTypes={text:n.PropTypes.string.isRequired},t.default=a,e.exports=t.default},function(e,t,r){function o(e){return e&&e.__esModule?e:{default:e}}function a(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":n(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":n(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=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),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(1),c=o(s),p=r(0),f=o(p),d=r(11),b=o(d),h=r(14),y=o(h),g=function(e){var t=e.getBoundingClientRect();return t.bottom-t.height/2<=window.innerHeight},m=function(e){function t(e){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.trackWhenLastRowHasBeenViewed=r.trackWhenLastRowHasBeenViewed.bind(r),r.setLastRowRef=r.setLastRowRef.bind(r),r.state={viewHasBeenTracked:!1},r}return u(t,e),l(t,[{key:"componentDidMount",value:function(){"true"!==this.props.focusedJourney&&(window.addEventListener("load",this.trackWhenLastRowHasBeenViewed,!1),window.addEventListener("scroll",this.trackWhenLastRowHasBeenViewed,!1))}},{key:"setLastRowRef",value:function(e){this.lastRowRef=e}},{key:"trackWhenLastRowHasBeenViewed",value:function(){!this.state.viewHasBeenTracked&&g(this.lastRowRef)&&(c.default.track("blocks_content_viewed","view"),this.setState({viewHasBeenTracked:!0}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.blocksGrid,n=t.preview,o=t.projectName,a=t.timestamp,i=t.brandingPhase2,u=t.language,l=t.focusedJourney;return f.default.createElement("div",{className:"blocks-article__grid"},"true"!==l?r.filter(function(e){return e.length>0}).map(function(t,l){return f.default.createElement(b.default,{key:"blocks-article-row-"+l,rowIndex:l,blockRow:t,preview:n,projectName:o,timestamp:a,isLast:l+1===r.length,lastRowRefCallBack:e.setLastRowRef,brandingPhase2:i,language:u})}):f.default.createElement(y.default,{blocksGrid:r,preview:n,projectName:o,timestamp:a,brandingPhase2:i,language:u}))}}]),t}(f.default.Component);m.propTypes={blocksGrid:p.PropTypes.arrayOf(p.PropTypes.arrayOf(p.PropTypes.shape({type:p.PropTypes.string.isRequired,id:p.PropTypes.string.isRequired,colspan:p.PropTypes.number.isRequired}))).isRequired,preview:p.PropTypes.bool.isRequired,timestamp:p.PropTypes.string.isRequired,projectName:p.PropTypes.string.isRequired,brandingPhase2:p.PropTypes.string,language:p.PropTypes.string,focusedJourney:p.PropTypes.string},m.defaultProps={brandingPhase2:"false",language:"en-GB",focusedJourney:"false"},t.default=m,e.exports=t.default},function(e,t,r){function o(e){return e&&e.__esModule?e:{default:e}}function a(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":n(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":n(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=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),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=Object.assign||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},c=function(){function e(e,t){var r=[],n=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(n=(i=u.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(e){o=!0,a=e}finally{try{!n&&u.return&&u.return()}finally{if(o)throw a}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=r(0),f=o(p),d=r(12),b=o(d),h=r(13),y=o(h),g=function(e){var t=c(e,1),r=t[0];return 2===e.length&&"text-block"===r.type},m=function(e){var t=e.blockData,r=e.index,n=e.rowLength,o=e.shouldWrapRight,a=e.rowIndex,i=e.preview,u=e.projectName,l=e.timestamp,c=e.shadowElementDimensions,p=e.cellRefCallback,d=e.brandingPhase2,h=e.language,g=t.id,m=t.type,v=t.colspan,w=g+"-"+a+"."+r,_=s(t,{key:w,index:r,rowIndex:a,rowLength:n,preview:i,projectName:u,timestamp:l,zid:g,type:m,colspan:v,language:h}),k=0===r,P=k?{wrapRight:!0}:{floatRight:!0,refCallback:p},T=o?P:{},j=s({},_,T,{brandingPhase2:d}),R=o&&k?f.default.createElement(y.default,c):null;return f.default.createElement(b.default,j,R)},v=function(e){function t(e){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.updateShadowElementDimensions=r.updateShadowElementDimensions.bind(r),r.setTrackableCellRef=r.setTrackableCellRef.bind(r),r.state={shadowElementDimensions:{width:0,height:0}},r}return u(t,e),l(t,[{key:"componentDidMount",value:function(){setInterval(this.updateShadowElementDimensions,100)}},{key:"setTrackableCellRef",value:function(e){this.trackableCellRef=e}},{key:"updateShadowElementDimensions",value:function(){if(this.trackableCellRef){var e=this.state.shadowElementDimensions,t=e.width,r=e.height,n=this.trackableCellRef.getBoundingClientRect(),o=n.width,a=n.height;(t!==o||r!==a)&&this.setState({shadowElementDimensions:{width:o,height:a}})}}},{key:"render",value:function(){var e=this.props,t=e.blockRow,r=e.rowIndex,n=e.preview,o=e.projectName,a=e.timestamp,i=e.isLast,u=e.lastRowRefCallBack,l=e.brandingPhase2,s=e.language,c=i?function(e){u(e)}:void 0,p=this.state.shadowElementDimensions,d=g(t),b=this.setTrackableCellRef,h=t.length;return f.default.createElement("div",{className:"blocks-article__grid-row blocks-article__grid-row--"+r,ref:c},t.map(function(e,t){return m({blockData:e,index:t,rowLength:h,shouldWrapRight:d,rowIndex:r,preview:n,projectName:o,timestamp:a,shadowElementDimensions:p,cellRefCallback:b,brandingPhase2:l,language:s})}))}}]),t}(f.default.Component);v.defaultProps={brandingPhase2:"false",language:"en-GB"},t.default=v,e.exports=t.default},function(e,t,r){function o(e){return e&&e.__esModule?e:{default:e}}function a(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":n(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":n(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=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),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),s=r(0),c=o(s),p=r(2),f=o(p),d={"audio-block":f.default,"image-block":f.default,"promo-block":f.default,"legacy-activity-block":f.default,"slideshow-block":f.default,"text-block":f.default,"twitter-block":f.default,"video-block":f.default,"cage-block":f.default,"follow-block":f.default,"practice-block":f.default,"riddle-block":f.default},b=function(e){return d[e]?d[e]:null},h=function(e,t){switch(e){case 1:return 2===t?"five-twelfths-width":"one-third-width";case 2:return"seven-twelfths-width";case 3:default:return"full-width"}},y=function(e){function t(e){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.state={canWrap:!1},r}return u(t,e),l(t,[{key:"componentDidMount",value:function(){this.setState({canWrap:!0})}},{key:"render",value:function(){var e=this.props,t=e.index,r=e.rowLength,n=e.type,o=e.zid,a=e.colspan,i=e.preview,u=e.projectName,l=e.wrapRight,s=e.floatRight,p=e.timestamp,f=e.refCallback,d=e.children,y=e.brandingPhase2,g=e.language,m=b(n);if(!m)throw new TypeError("Unsupported Blocks cannot be rendered: "+n+" is not a supported type.");var v=this.state.canWrap,w=0===t,_=l&&v?3:a,k=s&&v?"blocks-article__grid-cell--float-right":"",P=w?"blocks-article__grid-cell--"+h(_,r):"blocks-article__grid-cell--"+h(a,r)+" "+k;return c.default.createElement("div",{className:"blocks-article__grid-cell "+P,ref:function(e){f&&f(e)}},d,c.default.createElement(m,{zid:o,projectName:u,preview:i,timestamp:p,brandingPhase2:y,language:g}))}}]),t}(s.Component);t.default=y,y.displayName="Block",y.propTypes={type:s.PropTypes.string.isRequired,zid:s.PropTypes.string.isRequired,colspan:s.PropTypes.number.isRequired,rowLength:s.PropTypes.number.isRequired,preview:s.PropTypes.bool.isRequired,timestamp:s.PropTypes.string.isRequired,projectName:s.PropTypes.string.isRequired,brandingPhase2:s.PropTypes.string,language:s.PropTypes.string},y.defaultProps={brandingPhase2:"false",language:"en-GB"},e.exports=t.default},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n),a=function(e){var t=e.height,r=e.width;return o.default.createElement("div",{className:"blocks-article__grid-cell__shadow-element",style:{height:t,width:r}})};t.default=a,e.exports=t.default},function(e,t,r){function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":n(t))&&"function"!=typeof t?e:t}function l(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":n(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||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},c=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),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),p=r(0),f=o(p),d=r(2),b=o(d),h=r(15),y=o(h),g=function(e){return e.map(function(e){return e[0]})},m=f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:"44",width:"62"},f.default.createElement("g",{fill:"#fff"},f.default.createElement("path",{d:"M0 11.686h36.004v20.628H0z"}),f.default.createElement("path",{d:"M33.714 0v44L62 21.86z"}))),v={"data-bbc-container":"focus journey article","data-bbc-title":"onward-journey-video"},w=function(e){function t(e){i(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n=e.blocksGrid;return r.blocksData=g(n),r.state={currentBlockIndex:0},r.switchToNextBlock=r.switchToNextBlock.bind(r),r}return l(t,e),c(t,[{key:"switchToNextBlock",value:function(){this.setState(function(e){return{currentBlockIndex:e.currentBlockIndex+1}})}},{key:"render",value:function(){var e=this.props,t=e.preview,r=e.timestamp,n=e.projectName,o=e.brandingPhase2,i=e.language,u=this.state.currentBlockIndex,l=u>=this.blocksData.length-1,c="blocks-article__focused-journey";return f.default.createElement("div",{className:"blocks-article__grid-row "+c},this.blocksData.map(function(e,l){if(u>l)return null;var s=(0,y.default)(c+"__block",a({},c+"__block--show",l===u));return f.default.createElement("div",{className:s,key:e.id+"-"+l},f.default.createElement(b.default,{zid:e.id,projectName:n,preview:t,timestamp:r,brandingPhase2:o,language:i}))}),l?null:f.default.createElement("div",s({className:c+"__next-block-arrow__container"},v),f.default.createElement("button",{className:c+"__next-block-arrow",type:"button",onClick:this.switchToNextBlock},m)))}}]),t}(p.Component);t.default=w,w.propTypes={blocksGrid:p.PropTypes.arrayOf(p.PropTypes.arrayOf(p.PropTypes.shape({type:p.PropTypes.string.isRequired,id:p.PropTypes.string.isRequired}))).isRequired,preview:p.PropTypes.bool.isRequired,timestamp:p.PropTypes.string.isRequired,projectName:p.PropTypes.string.isRequired,brandingPhase2:p.PropTypes.string,language:p.PropTypes.string},w.defaultProps={brandingPhase2:"false",language:"en-GB"},w.displayName="FocusedJourney",e.exports=t.default},function(e,t,r){var o,a;!function(){function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=void 0===o?"undefined":n(o);if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var u=r.apply(null,o);u&&e.push(u)}else if("object"===a)for(var l in o)i.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(r.default=r,e.exports=r):(o=[],void 0!==(a=function(){return r}.apply(t,o))&&(e.exports=a))}()}])},function(e,t){e.exports=React},function(e,t){e.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(e,t){e.exports=Morph.modules["bbc-morph-blocks-view@2.36.1"]},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-blocks-article-view@13.63.1",e,t)}}},function(e,t){e.exports=Morph.modules["bbc-morph-detect-touchscreen-view@2.0.1"]}]); //# sourceMappingURL=bundle.js.map; });</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-gel-icons@3.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@3.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@3.0.0",e,r)},selfTransitive:function(e,r){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@3.0.0",e,r,!0)},transitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@3.0.0",e,r)},selfTransitiveThenUpdate:function(e,r){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@3.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() { !function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=5)}([function(t,r){function n(t){return t}t.exports=n},function(t,r,n){function e(t){if(!u(t))return!1;var r=o(t);return r==c||r==a||r==i||r==l}var o=n(19),u=n(4),i="[object AsyncFunction]",c="[object Function]",a="[object GeneratorFunction]",l="[object Proxy]";t.exports=e},function(t,r,n){var e=n(3),o=e.Symbol;t.exports=o},function(t,r,n){var e=n(20),o="object"==typeof self&&self&&self.Object===Object&&self,u=e||o||Function("return this")();t.exports=u},function(t,r){function n(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)}t.exports=n},function(t,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var e=n(6),o=n.n(e);Morph.modules["bbc-morph-blocks-promo@1.1.1"]=o.a},function(t,r,n){"use strict";t.exports=n(7)},function(t,r,n){"use strict";t.exports=function(t){function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n={};return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:e})},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="",r(r.s=8)}([function(t,r,n){function e(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,r){var n=[],e=!0,o=!1,u=void 0;try{for(var i,c=t[Symbol.iterator]();!(e=(i=c.next()).done)&&(n.push(i.value),!r||n.length!==r);e=!0);}catch(t){o=!0,u=t}finally{try{!e&&c.return&&c.return()}finally{if(o)throw u}}return n}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=n(1),i=e(u),c=n(2),a=e(c),l=n(3),f=e(l),s=[1008,600,320,0],p=[1280,1008,608,320],d=function(t,r){return"https://"+t.replace("$recipe",r+"xn")},v=function(t){return p.map(function(r){return d(t,r)+" "+r+"w"}).join(",")},b=function(){return(0,a.default)(s,p).map(function(t){var r=o(t,2);return"(min-width: "+r[0]+"px) "+r[1]+"px"}).join(",")},x=function(t){return t?{name:t,id:"timeline"===t?"timeline-1":t}:null},m=function(t){var r=t.title,n=t.description,e=t.url,o=t.icon,u=t.isExternalLink,c=t.image,a=x(u?"external-link":o),l=c&&c.imageUrl?c.imageUrl:null;return i.default.createElement("a",{className:"blocks-block blocks-promo-block",href:e},i.default.createElement("div",{className:"blocks-promo-block__image-wrapper"},l&&i.default.createElement("img",{src:d(c.imageUrl,1280),className:"blocks-promo-block__image",alt:r,srcSet:v(c.imageUrl),sizes:b()}),a&&i.default.createElement("div",{className:"blocks-promo-block__icon-container"},i.default.createElement(f.default,{iconName:a.id,additionalClassNames:"blocks-promo-block__icon blocks-promo-block__icon--"+a.name}))),i.default.createElement("div",{className:"blocks-promo-block__footer"},r&&i.default.createElement("h2",{className:"blocks-promo-block__title"},r),n?i.default.createElement("p",{className:"blocks-promo-block__description"},n):null))};m.displayName="PromoBlock",m.propTypes={title:u.PropTypes.string.isRequired,description:u.PropTypes.string.isRequired,url:u.PropTypes.string.isRequired,icon:u.PropTypes.string.isRequired,isExternalLink:u.PropTypes.bool.isRequired,image:u.PropTypes.shape({copyright:u.PropTypes.string.isRequired,imageUrl:u.PropTypes.string.isRequired}).isRequired},r.default=m,t.exports=r.default},function(t,r){t.exports=n(8)},function(t,r){t.exports=n(9)},function(t,r){t.exports=n(38)},,,,,function(t,r,n){Object.defineProperty(r,"__esModule",{value:!0});var e=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(e);r.default={renderer:o.default},t.exports=r.default}])},function(t,r){t.exports=React},function(t,r,n){var e=n(10),o=n(29),u=e(o);t.exports=u},function(t,r,n){function e(t,r){return i(u(t,r,o),t+"")}var o=n(0),u=n(11),i=n(13);t.exports=e},function(t,r,n){function e(t,r,n){return r=u(void 0===r?t.length-1:r,0),function(){for(var e=arguments,i=-1,c=u(e.length-r,0),a=Array(c);++i<c;)a[i]=e[r+i];i=-1;for(var l=Array(r+1);++i<r;)l[i]=e[i];return l[r]=n(a),o(t,this,l)}}var o=n(12),u=Math.max;t.exports=e},function(t,r){function n(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}t.exports=n},function(t,r,n){var e=n(14),o=n(28),u=o(e);t.exports=u},function(t,r,n){var e=n(15),o=n(16),u=n(0),i=o?function(t,r){return o(t,"toString",{configurable:!0,enumerable:!1,value:e(r),writable:!0})}:u;t.exports=i},function(t,r){function n(t){return function(){return t}}t.exports=n},function(t,r,n){var e=n(17),o=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,r,n){function e(t,r){var n=u(t,r);return o(n)?n:void 0}var o=n(18),u=n(27);t.exports=e},function(t,r,n){function e(t){return!(!i(t)||u(t))&&(o(t)?v:l).test(c(t))}var o=n(1),u=n(24),i=n(4),c=n(26),a=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,f=Function.prototype,s=Object.prototype,p=f.toString,d=s.hasOwnProperty,v=RegExp("^"+p.call(d).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=e},function(t,r,n){function e(t){return null==t?void 0===t?a:c:l&&l in Object(t)?u(t):i(t)}var o=n(2),u=n(22),i=n(23),c="[object Null]",a="[object Undefined]",l=o?o.toStringTag:void 0;t.exports=e},function(t,r,n){(function(r){var n="object"==typeof r&&r&&r.Object===Object&&r;t.exports=n}).call(r,n(21))},function(t,r){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,r,n){function e(t){var r=i.call(t,a),n=t[a];try{t[a]=void 0;var e=!0}catch(t){}var o=c.call(t);return e&&(r?t[a]=n:delete t[a]),o}var o=n(2),u=Object.prototype,i=u.hasOwnProperty,c=u.toString,a=o?o.toStringTag:void 0;t.exports=e},function(t,r){function n(t){return o.call(t)}var e=Object.prototype,o=e.toString;t.exports=n},function(t,r,n){function e(t){return!!u&&u in t}var o=n(25),u=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=e},function(t,r,n){var e=n(3),o=e["__core-js_shared__"];t.exports=o},function(t,r){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var e=Function.prototype,o=e.toString;t.exports=n},function(t,r){function n(t,r){return null==t?void 0:t[r]}t.exports=n},function(t,r){function n(t){var r=0,n=0;return function(){var i=u(),c=o-(i-n);if(n=i,c>0){if(++r>=e)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}var e=800,o=16,u=Date.now;t.exports=n},function(t,r,n){function e(t){if(!t||!t.length)return[];var r=0;return t=o(t,function(t){if(a(t))return r=l(t.length,r),!0}),c(r,function(r){return u(t,i(r))})}var o=n(30),u=n(31),i=n(32),c=n(33),a=n(34),l=Math.max;t.exports=e},function(t,r){function n(t,r){for(var n=-1,e=null==t?0:t.length,o=0,u=[];++n<e;){var i=t[n];r(i,n,t)&&(u[o++]=i)}return u}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=null==t?0:t.length,o=Array(e);++n<e;)o[n]=r(t[n],n,t);return o}t.exports=n},function(t,r){function n(t){return function(r){return null==r?void 0:r[t]}}t.exports=n},function(t,r){function n(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}t.exports=n},function(t,r,n){function e(t){return u(t)&&o(t)}var o=n(35),u=n(37);t.exports=e},function(t,r,n){function e(t){return null!=t&&u(t.length)&&!o(t)}var o=n(1),u=n(36);t.exports=e},function(t,r){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=e}var e=9007199254740991;t.exports=n},function(t,r){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,r){t.exports=Morph.modules["bbc-morph-gel-icons@3.0.0"]}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r.n(n);Morph.modules["bbc-morph-blocks-image@1.2.1"]=o.a},function(e,t,r){"use strict";e.exports=r(2)},function(e,t,r){"use strict";e.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(e){return e&&e.__esModule?e:{default:e}}(n),i=function(e,t){return"https://"+e.replace("$recipe",t+"xn")},a=function(e){return i(e,1280)+" 1280w,"+i(e,1008)+" 1008w,"+i(e,608)+" 608w,"+i(e,320)+" 320w"},u=function(e){var t=e.title,r=e.alt,n=e.caption,u=e.image,c=u.copyright,l=u.imageUrl;return o.default.createElement("figure",{className:"blocks-block blocks-image-block"},t&&o.default.createElement("h2",{className:"blocks-image__title"},t),o.default.createElement("div",{className:"blocks-image__wrapper"},o.default.createElement("img",{alt:r,className:"blocks-image",src:i(l,1280),srcSet:a(l),sizes:"(min-width: 1008px) 1280px,(min-width: 600px) 1008px,(min-width: 320px) 608px,320px"}),""!==c?o.default.createElement("small",{className:"blocks-image__copyright"},c):null),""!==n?o.default.createElement("figcaption",{className:"blocks-caption blocks-image__caption"},n):null)};u.displayName="ImageBlock",u.propTypes={title:n.PropTypes.string.isRequired,alt:n.PropTypes.string.isRequired,caption:n.PropTypes.string.isRequired,image:n.PropTypes.shape({copyright:n.PropTypes.string.isRequired,imageUrl:n.PropTypes.string.isRequired}).isRequired},t.default=u,e.exports=t.default},function(e,t){e.exports=r(3)},,,,,function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(0),o=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={renderer:o.default},e.exports=t.default}])},function(e,t){e.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=r.n(n);Morph.modules["bbc-morph-blocks-text@1.8.0"]=o.a},function(e,t,r){e.exports=r(2)},function(e,t,r){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,r){"use strict";var n=r(1),o=r.n(n),c=function(e){var t=e.title,r=e.html;return o.a.createElement("div",{className:"blocks-block blocks-text-block"},t&&o.a.createElement("h2",{className:"blocks-text-block__title"},t),o.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}}))};c.displayName="TextBlock",t.a=c},function(e,t){e.exports=r(3)},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(0);t.default={renderer:n.a}}])},function(e,t){e.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zr3cvk7', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"promo-block","id":"zr3cvk7","title":"Long-distance friendships: When to keep them going and when to take a step back","imagePid":"p07mxy0z","description":"Students talk about their experiences of long-distance relationships and the challenges they bring.","url":"https:\/\/web.archive.org\/web\/20191004204316\/https:\/\/www.bbc.co.uk\/bitesize\/articles\/zmr4vk7","icon":null,"isExternalLink":false,"image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07mxy0z.jpg","shortSynopsis":"Best friends","pid":"p07mxy0z"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zmxvpg8', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zmxvpg8","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>The shopping trolley that became the new kitchen sink - Daniel, 27<\/span><\/h2><p class=\"blocks-text-block__paragraph\"><span>If you were looking to stay in a spotless flat without grime or mess, then university halls probably aren’t for you. Daniel lived in a uni halls flat with 12 other people, all sharing a kitchen, and says that the sink and kitchen worktops were always full of dirty utensils. Even a ‘happy one week birthday’ sign in honour of the dirty dishes didn’t encourage the culprits to clean.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zfhft39', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"promo-block","id":"zfhft39","title":"Freshers’ Week clichés (and how not to be one)","imagePid":"p07mf20b","description":"The fun and challenges of your first week at uni.","url":"https:\/\/web.archive.org\/web\/20191004204316\/https:\/\/www.bbc.com\/bitesize\/articles\/znx6jhv","icon":null,"isExternalLink":false,"image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07mf20b.jpg","shortSynopsis":"Getty Images 497898388","pid":"p07mf20b"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-article-data/language/en-GB/preview/false/projectName/blocks-bitesize/timestamp/0/version/5.7.0/zid/zkkxjhv', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"modifiedDateTime":"2019-09-18T15:17:03.269Z","id":"zkkxjhv","type":"article","headline":"Uni halls horror stories that’ll make you wince","pageTitle":"Uni halls ‘horror’ stories that’ll make you wince","synopsis":"","blocksGrid":[[{"id":"zjjpmfr","type":"text-block","colspan":3,"key":"zjjpmfr-0.0","index":0,"rowIndex":0,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zjjpmfr","language":"en-GB"}],[{"id":"zv3dcqt","type":"image-block","colspan":3,"key":"zv3dcqt-1.0","index":0,"rowIndex":1,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zv3dcqt","language":"en-GB"}],[{"id":"zk86qp3","type":"text-block","colspan":3,"key":"zk86qp3-2.0","index":0,"rowIndex":2,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zk86qp3","language":"en-GB"}],[{"id":"zmxvpg8","type":"text-block","colspan":3,"key":"zmxvpg8-3.0","index":0,"rowIndex":3,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zmxvpg8","language":"en-GB"}],[{"id":"zvbj92p","type":"image-block","colspan":3,"key":"zvbj92p-4.0","index":0,"rowIndex":4,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zvbj92p","language":"en-GB"}],[{"id":"zbr78xs","type":"text-block","colspan":3,"key":"zbr78xs-5.0","index":0,"rowIndex":5,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zbr78xs","language":"en-GB"}],[{"id":"zdjnxyc","type":"text-block","colspan":3,"key":"zdjnxyc-6.0","index":0,"rowIndex":6,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zdjnxyc","language":"en-GB"}],[{"id":"z6hry9q","type":"image-block","colspan":3,"key":"z6hry9q-7.0","index":0,"rowIndex":7,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"z6hry9q","language":"en-GB"}],[{"id":"zdqs6v4","type":"text-block","colspan":3,"key":"zdqs6v4-8.0","index":0,"rowIndex":8,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zdqs6v4","language":"en-GB"}],[{"id":"zmtgf4j","type":"text-block","colspan":3,"key":"zmtgf4j-9.0","index":0,"rowIndex":9,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zmtgf4j","language":"en-GB"}],[{"id":"zkjnxyc","type":"image-block","colspan":3,"key":"zkjnxyc-10.0","index":0,"rowIndex":10,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zkjnxyc","language":"en-GB"}],[{"id":"z6n4382","type":"text-block","colspan":3,"key":"z6n4382-11.0","index":0,"rowIndex":11,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"z6n4382","language":"en-GB"}],[{"id":"znvdcqt","type":"text-block","colspan":3,"key":"znvdcqt-12.0","index":0,"rowIndex":12,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"znvdcqt","language":"en-GB"}],[{"id":"z4wpmfr","type":"image-block","colspan":3,"key":"z4wpmfr-13.0","index":0,"rowIndex":13,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"z4wpmfr","language":"en-GB"}],[{"id":"zmpcvk7","type":"text-block","colspan":3,"key":"zmpcvk7-14.0","index":0,"rowIndex":14,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zmpcvk7","language":"en-GB"}],[{"id":"zhy8rj6","type":"text-block","colspan":3,"key":"zhy8rj6-15.0","index":0,"rowIndex":15,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zhy8rj6","language":"en-GB"}],[{"id":"zv4mwty","type":"image-block","colspan":3,"key":"zv4mwty-16.0","index":0,"rowIndex":16,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zv4mwty","language":"en-GB"}],[{"id":"zdmvpg8","type":"text-block","colspan":3,"key":"zdmvpg8-17.0","index":0,"rowIndex":17,"rowLength":1,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zdmvpg8","language":"en-GB"}],[{"id":"zfhft39","type":"promo-block","colspan":1,"key":"zfhft39-18.0","index":0,"rowIndex":18,"rowLength":3,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zfhft39","language":"en-GB"},{"id":"zr3cvk7","type":"promo-block","colspan":1,"key":"zr3cvk7-18.1","index":1,"rowIndex":18,"rowLength":3,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zr3cvk7","language":"en-GB"},{"id":"zb7t7nb","type":"promo-block","colspan":1,"key":"zb7t7nb-18.2","index":2,"rowIndex":18,"rowLength":3,"preview":false,"projectName":"blocks-bitesize","timestamp":"0","zid":"zb7t7nb","language":"en-GB"}]],"depictionImagePid":"p07nkwl1","topics":[],"tags":[],"depictionImageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkwl1.jpg","preview":false}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zv3dcqt', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"zv3dcqt","pid":"p07nkwl1","title":"","alt":"Young adults laughing and eating pizza.","caption":"Living with strangers for the first time can bring a whole host of new experiences","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkwl1.jpg","shortSynopsis":"A group of young adults laughing and eating pizza","pid":"p07nkwl1"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zvbj92p', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"zvbj92p","pid":"p07nkx4t","title":"","alt":"A sink full of empty dirty dishes.","caption":"You might need to get used to cleaning up after yourself at uni","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkx4t.jpg","shortSynopsis":"Lots of dirty dishes in a sink","pid":"p07nkx4t"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zdqs6v4', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zdqs6v4","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>The issue was made worse later in the evening, when someone jumped and accidentally knocked a light protector off the ceiling, smashing it in the process. The housemates woke the following morning to an inspector who ordered them to repay for the broken items. They even had to pay a cleaner to clear the original mess.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zmtgf4j', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zmtgf4j","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>The prankster who got pranked - Katie, 22<\/span><\/h2><p class=\"blocks-text-block__paragraph\"><span>Halls can also be a theatre for many student pranks. If you can make it to the end of the academic year without your housemates getting you at least once, you can count yourself lucky. Sometimes there’s that one housemate whose antics gets everyone, but they seem to avoid any pranks coming their way.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/z6n4382', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"z6n4382","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>Karma caught up with Katie’s housemate who apparently saw himself as a top prankster in the flat. His shenanigans came back to haunt him on his 21st birthday, when he returned after a weekend away to find a thick layer of cling film around every item in his room. TV, bed, toilet - you name it and it was wrapped in clingfilm.<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>For the final piece of his present, he was given a pair of scissors, also wrapped in clingfilm with all of the kitchen knives hidden away. There’s two rules to learn from this: you’re never safe from pranks, and always lock your room.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/z4wpmfr', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"z4wpmfr","pid":"p07nkyky","title":"","alt":"A sink overflowing.","caption":"It’s the stuff of nightmares for Matt’s housemate, but at least he was insured","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkyky.jpg","shortSynopsis":"Getty Images 90201418","pid":"p07nkyky"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zhy8rj6', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zhy8rj6","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>The phantom pooper - Ellie, 25<\/span><\/h2><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zjjpmfr', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zjjpmfr","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>For lots of people, living in university halls holds strong memories, both the good and the bad.<\/span><\/h2><p class=\"blocks-text-block__paragraph\"><span>Halls can be where you can meet some of your best friends for life, get the independence you’ve been craving for and have as much fun as your student loan allows.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zk86qp3', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zk86qp3","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>It can also be a place where piled up dishes, spaghetti on the walls and strange smells in the fridge are an everyday feature. There are housemates who you can’t escape the sight of and others who you catch the rare glimpse of at 3am, as they heat up their noodles.<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>Either way, living with strangers for the first time is an experience most won’t forget. Here are some gruesome, awkward and cringeworthy stories from those who have experienced the life of university halls.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zmpcvk7', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zmpcvk7","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>This nightmare situation started when the water was turned off for repairs. The housemate in the room above had turned the tap on, didn’t turn it off again when she noticed the water wasn’t running and forgot about it. She came back several hours later to find the sink had overflowed, and the bathroom and bedroom were flooded.<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>Luckily for her, all her belongings were either hung up or on the bed and so escaped the water. The housemate on the ground floor wasn’t so lucky, though, with a lot of his belongings being damaged or ruined by the water.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zv4mwty', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"zv4mwty","pid":"p07nkyp1","title":"","alt":"A woman pinching her nose from the smell.","caption":"Why wouldn’t you flush? Or at least use toilet paper?","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkyp1.jpg","shortSynopsis":"Getty Images 156849753","pid":"p07nkyp1"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zdmvpg8', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zdmvpg8","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>There are some things at student halls that you’ll never understand. Whether it’s the identity of the flatmate who only ever appears to collect a pizza delivery or the endless mounting of dishes that nobody will take ownership of, some of the mysteries of student halls are best left unsolved (maybe).<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>In Ellie’s house, it was the mystery of the phantom pooper. She says that every morning a “big, old poop” was left in the toilet without any loo roll or anything. This went on for around six months, on and off, with no sign of who was to blame. An internal investigation started with every resident questioned, but the culprit could not be found. Eventually the daily poops subsided and the smell in the shared bathroom returned to a normal level. <\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>So there you have it: to ensure your stay in halls doesn’t become a health and safety nightmare or unforgettable for all the wrong reasons, remember to close your taps, flush the toilet and hide your clingfilm.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zbr78xs', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zbr78xs","title":"","html":"<div class=\"blocks-text-block__text\"><p class=\"blocks-text-block__paragraph\"><span>Instead, they came up with a creative solution for more space. Daniel returned to the flat one day to find a shopping trolley hauled up three flights of stairs. Within a week the trolley was full of more dirty utensils; within two weeks, it was covered in mould with an unbearable smell.<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>The ordeal of the gruesome flat became more bearable when a random inspection ordered the trolley to go and the flat to be cleaned. The kitchen apparently remained relatively dirty for the rest of the year, but not to the scale of the mouldy shopping trolley.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zdjnxyc', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"zdjnxyc","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>Chilli in the hoover - Harry, 20<\/span><\/h2><p class=\"blocks-text-block__paragraph\"><span>For lots of students, fun with new housemates is part of the experience of living in halls. However, when it’s taken too far, it can be costly, as Harry and his flatmates found out.<\/span><\/p><p class=\"blocks-text-block__paragraph\"><span>Harry says one of his flatmates made some chilli con carne before a night out and spilled it all over the floor. Instead of using a mop and bucket to clean, the flatmate used a vacuum cleaner. Sure enough it clogged up and was broken for good.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/z6hry9q', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"z6hry9q","pid":"p07nky03","title":"","alt":"A man using a vacuum cleaner on the floor.","caption":"Tip: Don’t use a vacuum cleaner to clean food with liquids","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nky03.jpg","shortSynopsis":"A man hoovering a floor.","pid":"p07nky03"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zkjnxyc', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"image-block","id":"zkjnxyc","pid":"p07nkyg8","title":"","alt":"A group of young adults having a pillow fight and throwing popcorn.","caption":"If you’re going to prank others then be prepared for revenge","image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkyg8.jpg","shortSynopsis":"Getty Images 1134403883","pid":"p07nkyg8"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/znvdcqt', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"text-block","id":"znvdcqt","title":"","html":"<div class=\"blocks-text-block__text\"><h2 class=\"blocks-text-block__heading blocks-text-block__h2\"><span>The housemate who flooded the house - Matt, 26<\/span><\/h2><p class=\"blocks-text-block__paragraph\"><span>Picture this: you’re on your way home from lectures in a glorious mood as it’s approaching the end of the first semester. You walk into your room and find water gushing through the roof onto all of your belongings. This is what one of Matt’s housemates was faced with.<\/span><\/p><\/div>"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-data/preview/false/projectName/blocks-bitesize/timestamp/0/version/2.36.1/zid/zb7t7nb', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"type":"promo-block","id":"zb7t7nb","title":"Six movies that don't get life at university quite right","imagePid":"p07mxwgm","description":"If you're basing your university predictions on what you've seen in films, you're in for a shock.","url":"https:\/\/web.archive.org\/web\/20191004204316\/https:\/\/www.bbc.co.uk\/bitesize\/articles\/z78qkmn","icon":null,"isExternalLink":false,"image":{"copyright":"","imageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07mxwgm.jpg","shortSynopsis":"Whiplash","pid":"p07mxwgm"}}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-blocks-article-view","zid":"zkkxjhv","projectName":"blocks-bitesize","useGroupDTypography":"true","brandingPhase2":"phase2","language":"en-GB","version":"13.63.1","_mrrVersion":"2.0.16"},'u5840536976123653'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20191004204316/https://push.api.bbci.co.uk/public/client' }, 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 src="//web.archive.org/web/20191004204316js_/https://m.files.bbci.co.uk/modules/bbc-morph-blocks-article-view/13.63.1/link-location.js"></script><script>if (!Morph.manualInit) { Morph.init(); } /* u5840536976123653 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-article-pos-links-view@1.0.2"]={"bbc-morph-blocks-article-data":"5.5.0","morph-container":"4.0.0",ramda:"0.26.1",react:"0.14.7"},function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return e[o].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var r={};t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){Morph.modules["bbc-morph-bitesize-article-pos-links-view@1.0.2"]=r(1)},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=r(2),i=o(n),a=r(3),u=o(a);t.default=i.default.create(u.default,{data:function(e){return{posForArticleData:{uri:{data:"bbc-morph-blocks-article-data",zid:e.zid,projectName:"blocks-bitesize"},updates:!1}}}}),e.exports=t.default},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-article-pos-links-view@1.0.2",e,t)}}},function(e,t,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}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(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),e}function s(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(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&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0});var d=r(4),b=o(d),y=r(5),m=o(y),_=function(e){function t(){return i(this,t),s(this,c(t).apply(this,arguments))}return p(t,e),u(t,[{key:"render",value:function(){var e=this.props.posForArticleData,t=e.meta.responseCode,r=e.body;return 200===t&&r.topics&&r.topics.length>1?b.default.createElement("div",{className:"pos-links__wrapper"},b.default.createElement(m.default,{links:r})):null}}]),t}(d.Component);_.propTypes={posForArticleData:d.PropTypes.shape({meta:d.PropTypes.object.isRequired,body:d.PropTypes.oneOfType([d.PropTypes.object,d.PropTypes.string]).isRequired}).isRequired},_.displayName="NationalCurriculumContainer",t.default=_,e.exports=t.default},function(e,t){e.exports=React},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=r(4),n=function(e){return e&&e.__esModule?e:{default:e}}(o),i=function(e){var t=e.links.topics;return n.default.createElement("div",{className:"pos-links__container"},n.default.createElement("h2",{className:"pos-links__label"},"National Curriculums"),n.default.createElement("ul",{className:"pos-links__items"},t.map(function(e){return n.default.createElement("li",{key:e.id,className:"pos-links__item"},n.default.createElement("a",{className:"pos-links__link",href:"/bitesize/subjects/".concat(e.programmeOfStudy.id)},e.programmeOfStudy.label))})))};i.displayName="National Curriculum Links",i.propTypes={links:o.PropTypes.shape({topics:o.PropTypes.array.isRequired}).isRequired},t.default=i,e.exports=t.default}]);; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-blocks-article-data/projectName/blocks-bitesize/version/5.5.0/zid/zkkxjhv', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"x-morph-privacy-level":"public","content-type":"application\/json"}},"body":{"modifiedDateTime":"2019-09-18T15:17:03.269Z","id":"zkkxjhv","type":"article","headline":"Uni halls horror stories that’ll make you wince","synopsis":"","blocksGrid":[[{"id":"zjjpmfr","type":"text-block","colspan":3}],[{"id":"zv3dcqt","type":"image-block","colspan":3}],[{"id":"zk86qp3","type":"text-block","colspan":3}],[{"id":"zmxvpg8","type":"text-block","colspan":3}],[{"id":"zvbj92p","type":"image-block","colspan":3}],[{"id":"zbr78xs","type":"text-block","colspan":3}],[{"id":"zdjnxyc","type":"text-block","colspan":3}],[{"id":"z6hry9q","type":"image-block","colspan":3}],[{"id":"zdqs6v4","type":"text-block","colspan":3}],[{"id":"zmtgf4j","type":"text-block","colspan":3}],[{"id":"zkjnxyc","type":"image-block","colspan":3}],[{"id":"z6n4382","type":"text-block","colspan":3}],[{"id":"znvdcqt","type":"text-block","colspan":3}],[{"id":"z4wpmfr","type":"image-block","colspan":3}],[{"id":"zmpcvk7","type":"text-block","colspan":3}],[{"id":"zhy8rj6","type":"text-block","colspan":3}],[{"id":"zv4mwty","type":"image-block","colspan":3}],[{"id":"zdmvpg8","type":"text-block","colspan":3}],[{"id":"zfhft39","type":"promo-block","colspan":1},{"id":"zr3cvk7","type":"promo-block","colspan":1},{"id":"zb7t7nb","type":"promo-block","colspan":1}]],"depictionImagePid":"p07nkwl1","topics":[],"tags":[],"depictionImageUrl":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07nkwl1.jpg","preview":false}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-article-pos-links-view","zid":"zkkxjhv","language":"en-GB","version":"1.0.2","_mrrVersion":"2.0.16"},'u041837775580915837'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20191004204316/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20191004204316/https://push.api.bbci.co.uk/public/client' }, 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(); } /* u041837775580915837 */</script><!-- Chartbeat Web Analytics code - start --> <script type="text/javascript"> /** CONFIGURATION START **/ (function() { var noCookies = true; var cookiePrefix = '_chartbeat'; if ("object" === typeof bbccookies && typeof bbccookies.readPolicy == 'function') { noCookies = !bbccookies.readPolicy().performance; } if (noCookies && document.cookie.indexOf(cookiePrefix) !== -1) { //Find and remove cookies whose names begin with '_chartbeat' var cookieSplit = document.cookie.split(';'); var cookieLength = cookieSplit.length; while (cookieLength--) { var cookie = cookieSplit[cookieLength].replace(/^s+|s+$/g, ''); var cookieName = cookie.split('=')[0]; if (cookieName.indexOf(cookiePrefix) === 0) { document.cookie = cookieName + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/;'; } } } _sf_async_config.noCookies = noCookies; }()); /** 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/20191004204316/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> <!-- Chartbeat Web Analytics code - end --></body></html><!-- FILE ARCHIVED ON 20:43:16 Oct 04, 2019 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:41:33 Feb 26, 2025. 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.675 exclusion.robots: 0.034 exclusion.robots.policy: 0.02 esindex: 0.014 cdx.remote: 137.342 LoadShardBlock: 201.904 (3) PetaboxLoader3.datanode: 154.926 (4) PetaboxLoader3.resolve: 134.808 (2) load_resource: 153.338 -->