CINXE.COM
Learn & revise - 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="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://www.bbc.co.uk/bitesize/learn","20200804134034","https://web.archive.org/","web","/_static/", "1596548434"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><title>Learn & revise - BBC Bitesize</title><meta name="description" content="Use BBC Bitesize to help with your homework, revision and learning. Find free videos, step-by-step guides, activities and quizzes by level and subject."><link rel="canonical" href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/learn"><meta property="og:title" content="Learn & revise - BBC Bitesize"><meta property="og:description" content="Use BBC Bitesize to help with your homework, revision and learning. Find free videos, step-by-step guides, activities and quizzes by level and subject."><meta property="og:site_name" content="BBC Bitesize"><meta property="og:locale" content="en-GB"><meta property="og:url" content="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/learn"><script> window.optimizely = window.optimizely || []; window.optimizely.push({"type": "cookieExpiration", "cookieExpirationDays": 365}); </script><script src="https://web.archive.org/web/20200804134034js_/https://cdn.optimizely.com/public/4621041136/s/bitesize_prod.js"></script> <script> window.orb_fig_blocking = false window.bbcredirection = { geo: false, device: false }; </script> <!-- Environment: live --> <!-- Orbit: 3.0.0-1060.22bda07e --> <!-- istats Web Module: 0.0.2-468.5f3cdf8 --> <!-- navid Web Module: 0.2.0-18.e56419b --> <!-- User Activity Helper Web Module: 1.0.0-74.225a0ae --> <!-- cookiebanner Web Module: 0.0.2-468.5f3cdf8 --> <!-- searchbox Web Module: 3.0.0-156.4e49805 --> <!-- navpromo Web Module: 3.0.0-146.3f5e89a --> <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/20200804134034cs_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/css/orb-ltr.min.css"><!--[if (lt IE 9) & (!IEMobile)]> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/css/orb-ie-ltr.min.css"> <![endif]--><script type="text/javascript">/*<![CDATA[*/ window.orb = { lang: 'en', bbcBaseUrl: 'https://web.archive.org/web/20200804134034/https://www.bbc.co.uk', bbcUrlPrefix: 'https://web.archive.org/web/20200804134034/https://www.', staticHost: 'https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a', figUrl: 'https://web.archive.org/web/20200804134034/https://fig.bbc.co.uk/frameworks/fig/2/fig.js', partialCookieOvenUrl: 'https://web.archive.org/web/20200804134034/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/20200804134034/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804134034/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 }); } // window.fetch polyfill https://github.com/github/fetch/blob/v0.11.0/fetch.js - chosen for IE9 compatibility if(typeof window.fetch !== 'function') { (function(self){"use strict";if(self.fetch){return}function normalizeName(name){if(typeof name!=="string"){name=String(name)}if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(name)){throw new TypeError("Invalid character in header field name")}return name.toLowerCase()}function normalizeValue(value){if(typeof value!=="string"){value=String(value)}return value}function Headers(headers){this.map={};if(headers instanceof Headers){headers.forEach(function(value,name){this.append(name,value)},this)}else if(headers){Object.getOwnPropertyNames(headers).forEach(function(name){this.append(name,headers[name])},this)}}Headers.prototype.append=function(name,value){name=normalizeName(name);value=normalizeValue(value);var list=this.map[name];if(!list){list=[];this.map[name]=list}list.push(value)};Headers.prototype["delete"]=function(name){delete this.map[normalizeName(name)]};Headers.prototype.get=function(name){var values=this.map[normalizeName(name)];return values?values[0]:null};Headers.prototype.getAll=function(name){return this.map[normalizeName(name)]||[]};Headers.prototype.has=function(name){return this.map.hasOwnProperty(normalizeName(name))};Headers.prototype.set=function(name,value){this.map[normalizeName(name)]=[normalizeValue(value)]};Headers.prototype.forEach=function(callback,thisArg){Object.getOwnPropertyNames(this.map).forEach(function(name){this.map[name].forEach(function(value){callback.call(thisArg,value,name,this)},this)},this)};function consumed(body){if(body.bodyUsed){return Promise.reject(new TypeError("Already read"))}body.bodyUsed=true}function fileReaderReady(reader){return new Promise(function(resolve,reject){reader.onload=function(){resolve(reader.result)};reader.onerror=function(){reject(reader.error)}})}function readBlobAsArrayBuffer(blob){var reader=new FileReader;reader.readAsArrayBuffer(blob);return fileReaderReady(reader)}function readBlobAsText(blob){var reader=new FileReader;reader.readAsText(blob);return fileReaderReady(reader)}var support={blob:"FileReader"in self&&"Blob"in self&&function(){try{new Blob;return true}catch(e){return false}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self};function Body(){this.bodyUsed=false;this._initBody=function(body){this._bodyInit=body;if(typeof body==="string"){this._bodyText=body}else if(support.blob&&Blob.prototype.isPrototypeOf(body)){this._bodyBlob=body}else if(support.formData&&FormData.prototype.isPrototypeOf(body)){this._bodyFormData=body}else if(!body){this._bodyText=""}else if(support.arrayBuffer&&ArrayBuffer.prototype.isPrototypeOf(body)){}else{throw new Error("unsupported BodyInit type")}if(!this.headers.get("content-type")){if(typeof body==="string"){this.headers.set("content-type","text/plain;charset=UTF-8")}else if(this._bodyBlob&&this._bodyBlob.type){this.headers.set("content-type",this._bodyBlob.type)}}};if(support.blob){this.blob=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return Promise.resolve(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as blob")}else{return Promise.resolve(new Blob([this._bodyText]))}};this.arrayBuffer=function(){return this.blob().then(readBlobAsArrayBuffer)};this.text=function(){var rejected=consumed(this);if(rejected){return rejected}if(this._bodyBlob){return readBlobAsText(this._bodyBlob)}else if(this._bodyFormData){throw new Error("could not read FormData body as text")}else{return Promise.resolve(this._bodyText)}}}else{this.text=function(){var rejected=consumed(this);return rejected?rejected:Promise.resolve(this._bodyText)}}if(support.formData){this.formData=function(){return this.text().then(decode)}}this.json=function(){return this.text().then(JSON.parse)};return this}var methods=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function normalizeMethod(method){var upcased=method.toUpperCase();return methods.indexOf(upcased)>-1?upcased:method}function Request(input,options){options=options||{};var body=options.body;if(Request.prototype.isPrototypeOf(input)){if(input.bodyUsed){throw new TypeError("Already read")}this.url=input.url;this.credentials=input.credentials;if(!options.headers){this.headers=new Headers(input.headers)}this.method=input.method;this.mode=input.mode;if(!body){body=input._bodyInit;input.bodyUsed=true}}else{this.url=input}this.credentials=options.credentials||this.credentials||"omit";if(options.headers||!this.headers){this.headers=new Headers(options.headers)}this.method=normalizeMethod(options.method||this.method||"GET");this.mode=options.mode||this.mode||null;this.referrer=null;if((this.method==="GET"||this.method==="HEAD")&&body){throw new TypeError("Body not allowed for GET or HEAD requests")}this._initBody(body)}Request.prototype.clone=function(){return new Request(this)};function decode(body){var form=new FormData;body.trim().split("&").forEach(function(bytes){if(bytes){var split=bytes.split("=");var name=split.shift().replace(/\+/g," ");var value=split.join("=").replace(/\+/g," ");form.append(decodeURIComponent(name),decodeURIComponent(value))}});return form}function headers(xhr){var head=new Headers;var pairs=xhr.getAllResponseHeaders().trim().split("\n");pairs.forEach(function(header){var split=header.trim().split(":");var key=split.shift().trim();var value=split.join(":").trim();head.append(key,value)});return head}Body.call(Request.prototype);function Response(bodyInit,options){if(!options){options={}}this.type="default";this.status=options.status;this.ok=this.status>=200&&this.status<300;this.statusText=options.statusText;this.headers=options.headers instanceof Headers?options.headers:new Headers(options.headers);this.url=options.url||"";this._initBody(bodyInit)}Body.call(Response.prototype);Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})};Response.error=function(){var response=new Response(null,{status:0,statusText:""});response.type="error";return response};var redirectStatuses=[301,302,303,307,308];Response.redirect=function(url,status){if(redirectStatuses.indexOf(status)===-1){throw new RangeError("Invalid status code")}return new Response(null,{status:status,headers:{location:url}})};self.Headers=Headers;self.Request=Request;self.Response=Response;self.fetch=function(input,init){return new Promise(function(resolve,reject){var request;if(Request.prototype.isPrototypeOf(input)&&!init){request=input}else{request=new Request(input,init)}var xhr=new XMLHttpRequest;function responseURL(){if("responseURL"in xhr){return xhr.responseURL}if(/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())){return xhr.getResponseHeader("X-Request-URL")}return}xhr.onload=function(){var status=xhr.status===1223?204:xhr.status;if(status<100||status>599){reject(new TypeError("Network request failed"));return}var options={status:status,statusText:xhr.statusText,headers:headers(xhr),url:responseURL()};var body="response"in xhr?xhr.response:xhr.responseText;resolve(new Response(body,options))};xhr.onerror=function(){reject(new TypeError("Network request failed"))};xhr.open(request.method,request.url,true);if(request.credentials==="include"){xhr.withCredentials=true}if("responseType"in xhr&&support.blob){xhr.responseType="blob"}request.headers.forEach(function(value,name){xhr.setRequestHeader(name,value)});xhr.send(typeof request._bodyInit==="undefined"?null:request._bodyInit)})};self.fetch.polyfill=true})(typeof self!=="undefined"?self:this); } 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.learn.page' || undefined}; istatsLabels['app_name'] = 'education'; istatsLabels['app_type'] = 'responsive'; istatsLabels['bbc_site'] = 'bitesize'; istatsLabels['bitesize_cloud'] = 'true'; istatsLabels['page_language'] = 'en-GB'; istatsLabels['page_type'] = 'index'; 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() { if (window.location.protocol === 'file:') { return 'local.file'; } var pathName = window.location.pathname .replace(/\/$/, "") .replace(/^\//, "") .replace(/\//g, '.'); return pathName + '.page'; } var additionalPageProperties = {}; var page = { name: 'bitesize.learn.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: '' || null, contentType: 'index-section' || 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 !== null && window.orb.referrer !== undefined ? window.orb.referrer : document.referrer); }, getAdditionalProperties: function() { return Promise.resolve(page.additionalProperties); } }; var USERINFO_PREFIX = "www." || "www."; function initUserCache(orbitUser) { var availableAttr = [ 'X-Country', 'X-Ip_is_advertise_combined', 'X-Ip_is_uk_combined' ]; var userCache = availableAttr.reduce(function(user, curr, i) { if (!orbitUser[curr]) { return user; } var res = Object.assign({}, user); res[curr] = orbitUser[curr]; return res; }, {}); if (Object.keys(userCache).length !== availableAttr.length) { userCache._partial = true; } return userCache; } var user = initUserCache({ }); function checkStatus(response) { if (response.status >= 200 && response.status < 300) { return response; } else { var error = new Error(response.statusText); error.response = response; throw error; } } function parseJSON(response) { return response.json(); } var supportsCors = function() { return typeof XMLHttpRequest !== 'undefined' && 'withCredentials' in new XMLHttpRequest(); }; var getUserInfoFallback = function() { return window.bbcpage.loadModule(['orb/fig']) .then(function(orbFig) { return new Promise(function(resolve, reject) { orbFig.load(function(fig) { var getCountryFallback = function() { if (fig.geo.isUK()) { return 'GB'; } else if (fig.geo.isEU()) { return 'EU'; } }; resolve({ 'X-Country': user.country || getCountryFallback(), 'X-Ip_is_uk_combined': fig().uk ? 'yes' : 'no', 'X-Ip_is_advertise_combined': fig().ad ? 'yes' : 'no' }); }, function () { reject('Error determining country. Timeout?'); }); }); }); }; var _userInfoRequest; var getUserInfo = function() { var host = window.location.host.toString().match(/bbc\.com$/) ? 'bbc.com' : 'bbc.co.uk'; var userInfoUrl = "https://" + USERINFO_PREFIX + host + '/userinfo'; if (!user._partial) { return Promise.resolve(user); } if (!_userInfoRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { _userInfoRequest = getUserInfoFallback(); } else { _userInfoRequest = window.fetch(userInfoUrl, { credentials: 'same-origin' }) .then(checkStatus) .then(parseJSON) .then(function(userInfo) { user = userInfo; return user; }); } } return _userInfoRequest; }; var USER_PROFILE_URL = "https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/userprofile";; var _helloRequest; var getSegmentations = function() { if (user.ageBand) { return Promise.resolve(user); } if (!_helloRequest) { if (typeof window.fetch === 'undefined' || !supportsCors()) { return Promise.resolve(user); } else { _helloRequest = window.bbcpage.loadModule(['idcta-v2/idcta-1']).then(function(idcta) { return idcta.initiateTokenRefresh().then(function() { return window.fetch(USER_PROFILE_URL, { credentials: 'include' }) .then(checkStatus) .then(parseJSON) .then(function(profileInfo) { Object.assign(user, profileInfo); return user; }); }); }); } } return _helloRequest; }; window.bbcuser = { getHashedId: function() { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { return idcta.getCookieInstance().getHidFromCookie(); }); }, getAgeBand: function() { if (user['X-Age-Band']) { return Promise.resolve(user['X-Age-Band']); } return bbcuser.isSignedIn().then(function(isSignedIn) { if (isSignedIn) { return window.bbcpage.loadModule(['idcta-v2/idcta-1']) .then(function(idcta) { user['X-Age-Band'] = idcta.getUserDetailsFromCookie().ab; if (user['X-Age-Band'] === 'u13') { user['X-Age-Band'] = '0-12'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u16') { user['X-Age-Band'] = '13-15'; return user['X-Age-Band']; } else if (user['X-Age-Band'] === 'u18') { user['X-Age-Band'] = '16-17'; return user['X-Age-Band']; } else { user['X-Age-Band'] = undefined; return getSegmentations().then(function(userInfo) { user['X-Age-Band'] = userInfo['X-Age-Band']; return user['X-Age-Band'] || undefined; }).catch(function(error) { return user['X-Age-Band'] || undefined; }); } }); } else { return undefined; } }); }, getCountry: function() { if (user['X-Country']) { return Promise.resolve(user['X-Country']); } return getUserInfo().then(function(userInfo) { return userInfo['X-Country'] || 'GB'; }); }, isUKCombined: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_uk_combined']) { throw new Error('missing isUKCombined from userinfo response'); } return userInfo['X-Ip_is_uk_combined'].toLowerCase() === 'yes'; }) }, canSeeAdverts: function() { return getUserInfo().then(function(userInfo) { if (!userInfo['X-Ip_is_advertise_combined']) { throw new Error('missing canSeeAdverts from userinfo response'); } return userInfo['X-Ip_is_advertise_combined'].toLowerCase() === "yes"; }); }, 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/20200804134034js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/require.min.js"></script> <script src="https://web.archive.org/web/20200804134034js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804134034js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/api.min.js"></script><script type="text/javascript">window.bbcFlagpoles_istats="ON",require.config({paths:{"istats-1":"https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804134034/https://sa.bbc.co.uk/bbc/bbc/s":"//web.archive.org/web/20200804134034/https://sa.bbc.co.uk/bbc/"+o[1]+"/s":"//web.archive.org/web/20200804134034/https://sa.bbc.co.uk/bbc/test/s";t.addCollector({name:"default",url:e,separator:"&"});var s="kl.education.learn.page";t.setCountername(s),window.istats_countername&&t.setCountername(window.istats_countername),t.addLabels("ml_name=webmodule&ml_version=0.0.2-468.5f3cdf8&blq_e=orbit&blq_r=orbit&blq_s=orbit&blq_v=default&language=en&app_name=education&app_type=responsive&bbc_site=bitesize&bitesize_cloud=true&page_language=en-GB&page_type=index")}var o});</script><link rel="stylesheet" href="https://web.archive.org/web/20200804134034cs_/https://static.files.bbci.co.uk/account/id-cta/1.48.0/style/id-cta.css"><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.48.0/style/ie8.css" rel="stylesheet"/> <![endif]--><script type="text/javascript">(function() {if (!window.require) {throw new Error('idcta: could not find require module');}if (typeof(map) == 'undefined') {var map = {};}if (!!document.createElementNS && !!document.createElementNS('http://www.w3.org/2000/svg', 'svg').createSVGRect) {document.documentElement.className += ' id-svg';}var ptrt = new RegExp("[\\?&]ptrt=([^&]*)").exec(document.location.href);var ENDPOINT_URL = 'https://web.archive.org/web/20200804134034/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/20200804134034/https://static.files.bbci.co.uk/account/id-cta/1.48.0/modules/idcta-v2';map['idcta-v2/config'] = ENDPOINT_URL + ENDPOINT_CONFIG;map['idcta-v2/translations'] = ENDPOINT_URL + ENDPOINT_TRANSLATIONS;map['idcta'] = 'https://web.archive.org/web/20200804134034/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20200804134034/https://static.files.bbci.co.uk/account/id-cta/1.48.0/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20200804134034/https://cdn.optimizely.com/public/4621041136/s/idcta_live';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/20200804134034/https://static.bbc.co.uk/bbcdotcom/4.5.1093/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() {}, isThirdPartyDisabled: function() {}, isThirdPartyDisabledEU: function() {}, setEU: 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/20200804134034/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/20200804134034/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/20200804134034/https://static.bbc.co.uk/bbcdotcom/4.5.1093/"; 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/20200804134034/https://static.bbc.co.uk/bbcdotcom/4.5.1093/script/dist/bbcdotcom.dev.js">\x3C/script>'); } else { document.write('<script type="text/javascript" src="https://web.archive.org/web/20200804134034/https://static.bbc.co.uk/bbcdotcom/4.5.1093/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/20200804134034/https://secure-us.imrworldwide.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/https://me-cdn.effectivemeasure.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/https://ssc.api.bbc.com/">'); } if (window.bbcdotcom && bbcdotcom.data.ads == 1) { document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/https://www.googletagservices.com/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/https://bbc.gscontxt.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/https://tags.crwdcntrl.net/">'); document.write('<link rel="dns-prefetch" href="//web.archive.org/web/20200804134034/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(){ var GDPR_COUNTRIES = ['AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'IS', 'LI', 'NO', 'CH']; 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\/20200804134034\/https:\/\/www.bbc.com\/privacy\/cookies\/international\/","advertisementText":"Advertisement","analyticsEnabled":true,"thirdPartyDisabled":false,"sherlockEnabled":false,"permutiveEnabled":false,"appName":"","assetPrefix":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.5.1093\/","customAdParams":[],"customStatsParams":[],"headline":"","id":"","inAssociationWithText":"in association with","keywords":"","language":"","orbTransitional":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\/20200804134034\/https:\/\/static.bbc.co.uk","staticVersion":"4.5.1093","staticPrefix":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/static.bbc.co.uk\/bbcdotcom\/4.5.1093","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/20200804134034/https://static.bbc.co.uk/bbcdotcom/4.5.1093/"); bbcdotcom.config.setVersion("4.5.1093"); if (window.bbcuser && window.bbcuser.getCountry && typeof(window.bbcuser.getCountry) === 'function') { window.bbcuser.getCountry().then(function(countryCode) { var isEU = countryCode ? GDPR_COUNTRIES.indexOf(countryCode.toUpperCase()) !== -1 : false; bbcdotcom.config.setEU(isEU); }); } else if (window.orb && window.orb.fig && typeof(window.orb.fig) === 'function') { bbcdotcom.config.setEU(window.orb.fig('eu')); } 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){ /* set correct OptimizelyURL for prod or sandbox */ var optimizelyURL = "https://web.archive.org/web/20200804134034/https://cdn.optimizely.com/public/4621041136/s/bbccom_sandbox.js"; if(window.location.hostname === 'www.bbc.com') { optimizelyURL = "https://web.archive.org/web/20200804134034/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/20200804134034/https://bbc.gscontxt.net/?url='+encodeURIComponent(gsurl)}); })(); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isLotameActive && bbcdotcom.config.isLotameActive()&& 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/20200804134034/https://tags.crwdcntrl.net/c/'+clientId+'/cc.js?ns='+clientId; lotameAudienceUrl = 'https://web.archive.org/web/20200804134034/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[*/ if (window.bbcdotcom && bbcdotcom.config && bbcdotcom.config.isPermutiveEnabled && bbcdotcom.config.isPermutiveEnabled() && bbcdotcom.config.isWorldService && !bbcdotcom.config.isWorldService()){ (function () { !function(n,e,o,r,i){if(!e){e=e||{},window.permutive=e,e.q=[],e.config=i||{},e.config.projectId=o,e.config.apiKey=r,e.config.environment=e.config.environment||"production";for(var t=["addon","identify","track","trigger","query","segment","segments","ready","on","once","user","consent"],c=0;c<t.length;c++){var f=t[c];e[f]=function(n){return function(){var o=Array.prototype.slice.call(arguments,0);e.q.push({functionName:n,arguments:o})}}(f)}}}(document,window.permutive,"e488cdb0-e7cb-4d91-9648-60d437d8e491","1bb84885-9325-4fef-adda-a208032b2715",{"consentRequired":true}); bbcdotcomScripts.push({src:'https://web.archive.org/web/20200804134034/https://cdn.permutive.com/e488cdb0-e7cb-4d91-9648-60d437d8e491-web.js'}); })(); } /*]]>*/</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() && bbcdotcom.config.isAdsEnabled && bbcdotcom.config.isAdsEnabled() ) { (function () { bbcdotcomScripts.push({src:'https://web.archive.org/web/20200804134034/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 ( window.bbcdotcom && bbcdotcom.config && bbcdotcomScripts.length > 0 ) { (function () { bbcdotcom.checkThirdPartyFirst(function(){ if (!bbcdotcom.config.isThirdPartyDisabledEU()){ 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">/*<![CDATA[*/ (function() { window.bbcdotcom.head = true; }()); /*]]>*/</script> <script type="text/javascript">// Globally available search context window.SEARCHBOX={"variant":"default","locale":"en","feature":"akamai-idcta","navSearchboxStaticPrefix":"https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/","searchboxAppStaticPrefix":"https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/drawer","searchFormHtml":"<div tabindex=\"-1\"><div><section class=\"se-searchbox-panel\"><div class=\"se-g-wrap\"><div class=\"se-g-layout\"><div class=\"se-g-layout__item se-searchbox-title\" aria-hidden=\"true\">search</div><div class=\"se-g-layout__item se-searchbox\"><form accept-charset=\"utf-8\" id=\"searchboxDrawerForm\" method=\"get\" action=\"https://search.bbc.co.uk/search\"><label class=\"se-searchbox__input\" for=\"se-searchbox-input-field\"><span class=\"se-sr-only\">Search Term</span><input type=\"text\" name=\"q\" value=\"\" id=\"se-searchbox-input-field\" class=\"se-searchbox__input__field\" maxLength=\"100\" autoComplete=\"off\" autoCorrect=\"off\" autoCapitalize=\"off\" spellcheck=\"false\" tabindex=\"0\"/></label><input type=\"hidden\" name=\"scope\" value=\"\"/><button type=\"submit\" class=\"se-searchbox__submit\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"search-icon\" data-bbc-metadata=\"{"PAR":"form::1","CHD":"button::1"}\" data-bbc-personalisation=\"{"QRY":""}\">Search</button><button type=\"button\" class=\"se-searchbox__clear se-searchbox__clear--visible\" tabindex=\"0\" data-bbc-container=\"se-searchbox-panel\" data-bbc-title=\"clear-icon\" data-bbc-metadata=\"{"PAR":"form::1","CHD":"button::2"}\" data-bbc-personalisation=\"{"QRY":""}\">Close</button></form></div></div></div></section><div aria-live=\"polite\" aria-atomic=\"true\" class=\"se-suggestions-container\"><section class=\"se-g-wrap\"></section></div></div></div>","searchScopePlaceholder":"<input type=\"hidden\" name=\"scope\" id=\"orb-search-scope\" value=\"all:learning\">","searchScopeParam":"?scope=all:learning","searchScopeTemplate":"all:learning","searchPlaceholderWrapperStart":"","searchPlaceholderWrapperEnd":""}; window.SEARCHBOX.suppress = false; window.SEARCHBOX.searchScope = SEARCHBOX.searchScopeTemplate.split('-')[0];</script><link rel="stylesheet" href="https://web.archive.org/web/20200804134034cs_/https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/css/main.css"><!--[if IE 8]> <script type="text/javascript" src="https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/script/html5shiv.min.js"></script> <script type="text/javascript">window['searchboxIEVersion'] = 8;</script> <link rel="stylesheet" href="https://nav.files.bbci.co.uk/searchbox/f550ca44595ce02593806dd49905699a/css/ie8.css"> <![endif]--><!--[if IE 9]> <script type="text/javascript">window['searchboxIEVersion'] = 9;</script> <![endif]--> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20200804134034/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.20.0",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/20200804134034js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-1.5.0.js" async=""></script><script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script> <script> if (!("ontouchstart" in document.documentElement)) { document.documentElement.classList.add("n-no-touchevents"); } </script> <style> body { border: 0; margin: 0; padding: 0; } </style><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(); /* u6613821873924177 */</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/20200804134034cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.69.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.69.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.69.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804134034cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.46.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.46.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.46.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20200804134034cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-messaging-view/1.35.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-messaging-view/1.35.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-messaging-view/1.35.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u9423620738022095 */</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>.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:"ss01"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.ec-link-button__container .ec-link-button__activity-confirm{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#05bc44;border:0;border-bottom:4px solid #048a32;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__activity-confirm{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__activity-confirm{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__activity-confirm:active{border-bottom:0;border-top:2px solid #048a32}.ec-link-button__container .ec-link-button__activity-confirm:hover{background:#06d54d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__activity-confirm[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}.ec-link-button__container .ec-link-button__activity-cancel{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e15255;border:0;border-bottom:4px solid #d9272a;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__activity-cancel{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__activity-cancel{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__activity-cancel:active{border-bottom:0;border-top:2px solid #d9272a}.ec-link-button__container .ec-link-button__activity-cancel:hover{background:#e5686a;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__activity-cancel[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}.ec-link-button__container{text-align:center}.ec-link-button__container .ec-link-button__bitesize-banner{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e5640f;border:0;border-bottom:4px solid #b54f0c;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__bitesize-banner{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__bitesize-banner{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__bitesize-banner:active{border-bottom:0;border-top:2px solid #b54f0c}.ec-link-button__container .ec-link-button__bitesize-banner:hover{background:#f0711d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__bitesize-banner[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}body{font-family:Helvetica,Arial,freesans,sans-serif}.ec-button__container .ec-button__activity-confirm{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#05bc44;border:0;border-bottom:4px solid #048a32;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__activity-confirm{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__activity-confirm{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__activity-confirm:enabled:active{border-bottom:0;border-top:2px solid #048a32}.ec-button__container .ec-button__activity-confirm:enabled:hover{background:#06d54d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__activity-confirm:disabled{cursor:default;opacity:.6}.ec-button__container .ec-button__activity-cancel{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e15255;border:0;border-bottom:4px solid #d9272a;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__activity-cancel{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__activity-cancel{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__activity-cancel:enabled:active{border-bottom:0;border-top:2px solid #d9272a}.ec-button__container .ec-button__activity-cancel:enabled:hover{background:#e5686a;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__activity-cancel:disabled{cursor:default;opacity:.6}.ec-button__container{text-align:center}.ec-button__container .ec-button__bitesize-banner{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e5640f;border:0;border-bottom:4px solid #b54f0c;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__bitesize-banner{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__bitesize-banner{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__bitesize-banner:enabled:active{border-bottom:0;border-top:2px solid #b54f0c}.ec-button__container .ec-button__bitesize-banner:enabled:hover{background:#f0711d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__bitesize-banner:disabled{cursor:default;opacity:.6}.button-banner-example-wrapper{display:flex}.button-banner-example-icon{align-self:center;height:15px;width:15px;margin-left:5px;fill:#fff}.messaging-banner__container{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;background-color:#fff;margin-top:8px}@media (min-width:25em){.messaging-banner__container{padding-left:16px;padding-right:16px}}@media (min-width:15em){.messaging-banner__container{padding:8px 0}}@media (min-width:37.5em){.messaging-banner__container{padding:8px}}@media (min-width:63em){.messaging-banner__container{padding:16px}}.messaging-banner{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;margin-left:0!important;padding:8px;position:relative}@media (min-width:37.5em){.messaging-banner{margin-left:-16px}}.messaging-banner-close{position:absolute;right:12px;top:12px}.messaging-banner-close .ec-button__bitesize-banner,.messaging-banner-close__button{margin-bottom:0;padding:8px}.messaging-banner-close .ec-button__bitesize-banner:before,.messaging-banner-close__button:before{content:"";height:44px;position:absolute;width:44px}.messaging-banner-close__button-icon{display:flex;fill:#fff}.messaging-banner-content{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px;text-align:center}@media (min-width:37.5em){.messaging-banner-content{padding-left:16px;width:66.66667%;padding:0 48px 8px 24px;text-align:left}}@media (min-width:56.25em){.messaging-banner-content{padding:0 48px 8px 32px}}.messaging-banner-content__title-text{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;margin:8px 0}@media (min-width:20em){.messaging-banner-content__title-text{font-size:22px;font-size:1.375rem;line-height:26px;line-height:1.625rem}}@media (min-width:37.5em){.messaging-banner-content__title-text{font-size:30px;font-size:1.875rem;line-height:34px;line-height:2.125rem}.n-no-touchevents .messaging-banner-content__title-text{font-size:28px;font-size:1.75rem;line-height:32px;line-height:2rem}}.messaging-banner-content__subtitle-text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:8px 0}@media (min-width:20em){.messaging-banner-content__subtitle-text{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.messaging-banner-content__subtitle-text{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .messaging-banner-content__subtitle-text{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.messaging-banner-content__link-container{display:inline-block;margin-top:16px}.messaging-banner-content__link{background-color:#e5640f;color:#fff;display:inline-block;font-weight:700;padding:16px;text-align:center;text-decoration:none}.messaging-banner-content__link:focus,.messaging-banner-content__link:hover{background-color:#231f20;text-decoration:underline;text-decoration-color:#fff}.messaging-banner-content__link-text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700}@media (min-width:20em){.messaging-banner-content__link-text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.messaging-banner-content__link-text{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .messaging-banner-content__link-text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.messaging-banner__container-primary{background-color:transparent}.messaging-banner-primary{background-color:#fff}@media (max-width:37.49em){.messaging-banner-primary{padding:8px 0}}.messaging-banner-image-primary{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_mobile_desktop.svg");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-primary{padding-left:16px;width:33.33333%;margin:-8px}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-primary{background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_tablet.svg")}}.messaging-banner__container-primaryIndex{background-color:transparent}.messaging-banner-primaryIndex{background-color:#fff}@media (max-width:37.49em){.messaging-banner-primaryIndex{padding:8px 0}}.messaging-banner-image-primaryIndex{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_index.svg");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-primaryIndex{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner-secondary{background-color:#f1f1f1;color:#231f20;padding:0}.messaging-banner-image-secondary{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/secondary/secondary_mobile_desktop.svg"),linear-gradient(102deg,#553287 50%,#804d9f)}@media (min-width:37.5em){.messaging-banner-image-secondary{padding-left:16px;width:33.33333%}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-secondary{background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/secondary/secondary_tablet.svg"),linear-gradient(102deg,#553287 50%,#804d9f)}}.messaging-banner__container-secondary .messaging-banner-image-secondary{padding:0}@media (min-width:37.5em){.messaging-banner-container-secondary .messaging-banner-content{padding:8px 52px 8px 16px}}@media (min-width:56.25em){.messaging-banner-container-secondary .messaging-banner-content{padding:8px 52px 8px 24px}}.messaging-banner__container-post16{padding:0}.messaging-banner-image-post16{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/post16/post16_mobile_desktop.svg")}@media (min-width:37.5em){.messaging-banner-image-post16{padding-left:16px;width:33.33333%}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-post16{background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/post16/post16_tablet.svg")}}.messaging-banner__container-ks1level{background-color:transparent}.messaging-banner-ks1level{background-color:#fff}@media (max-width:37.49em){.messaging-banner-ks1level{padding:8px 0}}.messaging-banner-image-ks1level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks1level/primary_level.svg");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-ks1level{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner__container-ks2level{background-color:transparent}.messaging-banner-ks2level{background-color:#fff}@media (max-width:37.49em){.messaging-banner-ks2level{padding:8px 0}}.messaging-banner-image-ks2level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks2level/starting_secondary_school.svg");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-ks2level{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner-ks3level{background-color:#f1f1f1;color:#231f20;padding:0}.messaging-banner-image-ks3level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks2level/starting_secondary_school.svg"),linear-gradient(102deg,#553287 50%,#804d9f)}@media (min-width:37.5em){.messaging-banner-image-ks3level{padding-left:16px;width:33.33333%}}.messaging-banner__container-ks3level .messaging-banner-image-ks3level{padding:0}@media (min-width:37.5em){.messaging-banner-container-ks3level .messaging-banner-content{padding:8px 52px 8px 16px}}@media (min-width:56.25em){.messaging-banner-container-ks3level .messaging-banner-content{padding:8px 52px 8px 24px}}.messaging-banner__container-planning{background-color:#f1f1f1;border-bottom:1px solid #231f20;padding:8px 8px 16px}.messaging-banner__container-planning .messaging-banner-content{width:auto;text-align:left;padding:0 40px 0 8px}.messaging-banner__container-planning .messaging-banner-content__link-container{display:inline;background-color:transparent}.messaging-banner__container-planning .messaging-banner-content__link{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;-webkit-text-decoration-color:#e5640f;border-bottom:0;color:#231f20;text-decoration:underline;text-decoration-color:#e5640f;background-color:transparent;display:inline;font-weight:700;margin:0;padding:0}@media (min-width:20em){.messaging-banner__container-planning .messaging-banner-content__link{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.messaging-banner__container-planning .messaging-banner-content__link{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .messaging-banner__container-planning .messaging-banner-content__link{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.messaging-banner__container-planning .messaging-banner-content__link:visited{color:#706d66}.messaging-banner__container-planning .messaging-banner-content__link:focus{color:#231f20}.messaging-banner__container-planning .messaging-banner-content__link:hover{color:#e5640f;text-decoration:none}.messaging-banner__container-planning .messaging-banner-content__subtitle,.messaging-banner__container-planning .messaging-banner-content__subtitle-text{display:inline;font-weight:700}.messaging-banner__container-planning .messaging-banner-close{bottom:-2px}.messaging-banner-image-planning{display:none}.messaging-banner__container-default{background-color:#fff}@media (min-width:37.5em){.messaging-banner__container-default{padding:16px}}@media (max-width:37.49em){.messaging-banner-default{padding:8px 0}}.messaging-banner-image-default{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/default/default_mobile_desktop.svg");margin-top:-8px;padding:16px}@media (min-width:37.5em){.messaging-banner-image-default{padding-left:16px;width:33.33333%;margin:-8px}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-default{background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/default/default_tablet.svg")}}.messaging-banner-container{margin:16px 8px;position:relative}@media (min-width:56.25em){.messaging-banner-container{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;padding:0!important}}@media (min-width:56.25em) and (min-width:25em){.messaging-banner-container{padding-left:16px;padding-right:16px}}@media (min-width:56.25em) and (max-width:62.99em){.messaging-banner-container{margin:8px}}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-messaging-view/1.41.0"]=true; Morph.styleSrc.push("<style>.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:\"ss01\"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.ec-link-button__container .ec-link-button__activity-confirm{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#05bc44;border:0;border-bottom:4px solid #048a32;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__activity-confirm{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__activity-confirm{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__activity-confirm:active{border-bottom:0;border-top:2px solid #048a32}.ec-link-button__container .ec-link-button__activity-confirm:hover{background:#06d54d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__activity-confirm[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}.ec-link-button__container .ec-link-button__activity-cancel{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e15255;border:0;border-bottom:4px solid #d9272a;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__activity-cancel{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__activity-cancel{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__activity-cancel:active{border-bottom:0;border-top:2px solid #d9272a}.ec-link-button__container .ec-link-button__activity-cancel:hover{background:#e5686a;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__activity-cancel[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}.ec-link-button__container{text-align:center}.ec-link-button__container .ec-link-button__bitesize-banner{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e5640f;border:0;border-bottom:4px solid #b54f0c;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-weight:700;justify-content:center;margin-top:0;padding:8px;text-decoration:none}@media (min-width:37.5em){.ec-link-button__container .ec-link-button__bitesize-banner{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-link-button__container .ec-link-button__bitesize-banner{font-size:20px;font-size:1.25rem}}.ec-link-button__container .ec-link-button__bitesize-banner:active{border-bottom:0;border-top:2px solid #b54f0c}.ec-link-button__container .ec-link-button__bitesize-banner:hover{background:#f0711d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-link-button__container .ec-link-button__bitesize-banner[disabled]{cursor:default;opacity:.6;pointer-events:none;touch-action:none}body{font-family:Helvetica,Arial,freesans,sans-serif}.ec-button__container .ec-button__activity-confirm{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#05bc44;border:0;border-bottom:4px solid #048a32;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__activity-confirm{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__activity-confirm{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__activity-confirm:enabled:active{border-bottom:0;border-top:2px solid #048a32}.ec-button__container .ec-button__activity-confirm:enabled:hover{background:#06d54d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__activity-confirm:disabled{cursor:default;opacity:.6}.ec-button__container .ec-button__activity-cancel{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e15255;border:0;border-bottom:4px solid #d9272a;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__activity-cancel{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__activity-cancel{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__activity-cancel:enabled:active{border-bottom:0;border-top:2px solid #d9272a}.ec-button__container .ec-button__activity-cancel:enabled:hover{background:#e5686a;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__activity-cancel:disabled{cursor:default;opacity:.6}.ec-button__container{text-align:center}.ec-button__container .ec-button__bitesize-banner{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;align-items:center;background:#e5640f;border:0;border-bottom:4px solid #b54f0c;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-family:inherit;font-weight:700;justify-content:center;margin-bottom:16px;margin-top:0;padding:8px 16px}@media (min-width:37.5em){.ec-button__container .ec-button__bitesize-banner{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .ec-button__container .ec-button__bitesize-banner{font-size:20px;font-size:1.25rem}}.ec-button__container .ec-button__bitesize-banner:enabled:active{border-bottom:0;border-top:2px solid #b54f0c}.ec-button__container .ec-button__bitesize-banner:enabled:hover{background:#f0711d;border-bottom-width:2px;margin-top:2px;text-decoration:underline}.ec-button__container .ec-button__bitesize-banner:disabled{cursor:default;opacity:.6}.button-banner-example-wrapper{display:flex}.button-banner-example-icon{align-self:center;height:15px;width:15px;margin-left:5px;fill:#fff}.messaging-banner__container{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;background-color:#fff;margin-top:8px}@media (min-width:25em){.messaging-banner__container{padding-left:16px;padding-right:16px}}@media (min-width:15em){.messaging-banner__container{padding:8px 0}}@media (min-width:37.5em){.messaging-banner__container{padding:8px}}@media (min-width:63em){.messaging-banner__container{padding:16px}}.messaging-banner{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;margin-left:0!important;padding:8px;position:relative}@media (min-width:37.5em){.messaging-banner{margin-left:-16px}}.messaging-banner-close{position:absolute;right:12px;top:12px}.messaging-banner-close .ec-button__bitesize-banner,.messaging-banner-close__button{margin-bottom:0;padding:8px}.messaging-banner-close .ec-button__bitesize-banner:before,.messaging-banner-close__button:before{content:\"\";height:44px;position:absolute;width:44px}.messaging-banner-close__button-icon{display:flex;fill:#fff}.messaging-banner-content{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;padding:8px;text-align:center}@media (min-width:37.5em){.messaging-banner-content{padding-left:16px;width:66.66667%;padding:0 48px 8px 24px;text-align:left}}@media (min-width:56.25em){.messaging-banner-content{padding:0 48px 8px 32px}}.messaging-banner-content__title-text{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;margin:8px 0}@media (min-width:20em){.messaging-banner-content__title-text{font-size:22px;font-size:1.375rem;line-height:26px;line-height:1.625rem}}@media (min-width:37.5em){.messaging-banner-content__title-text{font-size:30px;font-size:1.875rem;line-height:34px;line-height:2.125rem}.n-no-touchevents .messaging-banner-content__title-text{font-size:28px;font-size:1.75rem;line-height:32px;line-height:2rem}}.messaging-banner-content__subtitle-text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;margin:8px 0}@media (min-width:20em){.messaging-banner-content__subtitle-text{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.messaging-banner-content__subtitle-text{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .messaging-banner-content__subtitle-text{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.messaging-banner-content__link-container{display:inline-block;margin-top:16px}.messaging-banner-content__link{background-color:#e5640f;color:#fff;display:inline-block;font-weight:700;padding:16px;text-align:center;text-decoration:none}.messaging-banner-content__link:focus,.messaging-banner-content__link:hover{background-color:#231f20;text-decoration:underline;text-decoration-color:#fff}.messaging-banner-content__link-text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700}@media (min-width:20em){.messaging-banner-content__link-text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.messaging-banner-content__link-text{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .messaging-banner-content__link-text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.messaging-banner__container-primary{background-color:transparent}.messaging-banner-primary{background-color:#fff}@media (max-width:37.49em){.messaging-banner-primary{padding:8px 0}}.messaging-banner-image-primary{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_mobile_desktop.svg\");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-primary{padding-left:16px;width:33.33333%;margin:-8px}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-primary{background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_tablet.svg\")}}.messaging-banner__container-primaryIndex{background-color:transparent}.messaging-banner-primaryIndex{background-color:#fff}@media (max-width:37.49em){.messaging-banner-primaryIndex{padding:8px 0}}.messaging-banner-image-primaryIndex{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/primary/primary_index.svg\");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-primaryIndex{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner-secondary{background-color:#f1f1f1;color:#231f20;padding:0}.messaging-banner-image-secondary{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/secondary/secondary_mobile_desktop.svg\"),linear-gradient(102deg,#553287 50%,#804d9f)}@media (min-width:37.5em){.messaging-banner-image-secondary{padding-left:16px;width:33.33333%}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-secondary{background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/secondary/secondary_tablet.svg\"),linear-gradient(102deg,#553287 50%,#804d9f)}}.messaging-banner__container-secondary .messaging-banner-image-secondary{padding:0}@media (min-width:37.5em){.messaging-banner-container-secondary .messaging-banner-content{padding:8px 52px 8px 16px}}@media (min-width:56.25em){.messaging-banner-container-secondary .messaging-banner-content{padding:8px 52px 8px 24px}}.messaging-banner__container-post16{padding:0}.messaging-banner-image-post16{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/post16/post16_mobile_desktop.svg\")}@media (min-width:37.5em){.messaging-banner-image-post16{padding-left:16px;width:33.33333%}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-post16{background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/post16/post16_tablet.svg\")}}.messaging-banner__container-ks1level{background-color:transparent}.messaging-banner-ks1level{background-color:#fff}@media (max-width:37.49em){.messaging-banner-ks1level{padding:8px 0}}.messaging-banner-image-ks1level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks1level/primary_level.svg\");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-ks1level{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner__container-ks2level{background-color:transparent}.messaging-banner-ks2level{background-color:#fff}@media (max-width:37.49em){.messaging-banner-ks2level{padding:8px 0}}.messaging-banner-image-ks2level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks2level/starting_secondary_school.svg\");margin-top:-8px}@media (min-width:37.5em){.messaging-banner-image-ks2level{padding-left:16px;width:33.33333%;margin:-8px}}.messaging-banner-ks3level{background-color:#f1f1f1;color:#231f20;padding:0}.messaging-banner-image-ks3level{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/ks2level/starting_secondary_school.svg\"),linear-gradient(102deg,#553287 50%,#804d9f)}@media (min-width:37.5em){.messaging-banner-image-ks3level{padding-left:16px;width:33.33333%}}.messaging-banner__container-ks3level .messaging-banner-image-ks3level{padding:0}@media (min-width:37.5em){.messaging-banner-container-ks3level .messaging-banner-content{padding:8px 52px 8px 16px}}@media (min-width:56.25em){.messaging-banner-container-ks3level .messaging-banner-content{padding:8px 52px 8px 24px}}.messaging-banner__container-planning{background-color:#f1f1f1;border-bottom:1px solid #231f20;padding:8px 8px 16px}.messaging-banner__container-planning .messaging-banner-content{width:auto;text-align:left;padding:0 40px 0 8px}.messaging-banner__container-planning .messaging-banner-content__link-container{display:inline;background-color:transparent}.messaging-banner__container-planning .messaging-banner-content__link{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;-webkit-text-decoration-color:#e5640f;border-bottom:0;color:#231f20;text-decoration:underline;text-decoration-color:#e5640f;background-color:transparent;display:inline;font-weight:700;margin:0;padding:0}@media (min-width:20em){.messaging-banner__container-planning .messaging-banner-content__link{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.messaging-banner__container-planning .messaging-banner-content__link{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .messaging-banner__container-planning .messaging-banner-content__link{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.messaging-banner__container-planning .messaging-banner-content__link:visited{color:#706d66}.messaging-banner__container-planning .messaging-banner-content__link:focus{color:#231f20}.messaging-banner__container-planning .messaging-banner-content__link:hover{color:#e5640f;text-decoration:none}.messaging-banner__container-planning .messaging-banner-content__subtitle,.messaging-banner__container-planning .messaging-banner-content__subtitle-text{display:inline;font-weight:700}.messaging-banner__container-planning .messaging-banner-close{bottom:-2px}.messaging-banner-image-planning{display:none}.messaging-banner__container-default{background-color:#fff}@media (min-width:37.5em){.messaging-banner__container-default{padding:16px}}@media (max-width:37.49em){.messaging-banner-default{padding:8px 0}}.messaging-banner-image-default{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;background-origin:content-box;background-position:50%;background-repeat:no-repeat;min-height:180px;padding:8px;background-color:#f1f1f1;background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/default/default_mobile_desktop.svg\");margin-top:-8px;padding:16px}@media (min-width:37.5em){.messaging-banner-image-default{padding-left:16px;width:33.33333%;margin:-8px}}@media (min-width:37.5em) and (max-width:56.24em){.messaging-banner-image-default{background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/messageBanner/default/default_tablet.svg\")}}.messaging-banner-container{margin:16px 8px;position:relative}@media (min-width:56.25em){.messaging-banner-container{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;padding:0!important}}@media (min-width:56.25em) and (min-width:25em){.messaging-banner-container{padding-left:16px;padding-right:16px}}@media (min-width:56.25em) and (max-width:62.99em){.messaging-banner-container{margin:8px}}</style>"); }</script><script type="text/javascript">Morph.initStyles(); /* u37228294415629137 */</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}.nation-level-list__container{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@media (min-width:37.5em){.nation-level-list__container{padding-left:16px;width:50%}}@media (min-width:56.25em){.nation-level-list__container{width:25%}}.nation-level-list__header{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;background-color:rgba(35,31,32,.3);color:#fff;font-weight:400;margin:0;padding:12px 8px}@media (min-width:37.5em){.nation-level-list__header{font-size:26px;font-size:1.625rem;line-height:30px;line-height:1.875rem}.n-no-touchevents .nation-level-list__header{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.nation-level-list__header{padding:12px 16px}}.nation-level-list__list-body{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;list-style:none;margin:0 0 15px;padding:0}@media (min-width:37.5em){.nation-level-list__list-body{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .nation-level-list__list-body{font-size:20px;font-size:1.25rem}}.nation-level-list__list-item{width:100%;color:#231f20;font-weight:700;text-decoration:none;background-color:#fff;box-sizing:border-box;display:inline-block;margin-bottom:3px;padding:19px 8px;position:relative}.nation-level-list__list-item:after{background-image:url("https://web.archive.org/web/20200804134034im_/https://bitesize.files.bbci.co.uk/images/svgs/icons/gel-icons/1.0/next--orange.svg");background-size:13px 16px;content:"";display:inline-block;height:16px;margin-left:8px;width:13px}.nation-level-list__list-item:visited{color:#706d66}.nation-level-list__list-item:focus{outline:10px solid #1a9bf0;color:#231f20}.nation-level-list__list-item:active,.nation-level-list__list-item:hover{color:#e5640f;text-decoration:underline}@media (min-width:37.5em){.nation-level-list__list-item{padding:18px 32px 18px 16px}}.fading .nation-level-list__list-item{pointer-events:none}.nation-level-list__list-item:focus{outline:4px solid #1a9bf0}.nation-level-list__list-item:after{position:absolute;right:8px;top:22px}@media (min-width:37.5em){.nation-level-list__list-item:after{right:16px}}.masthead{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;margin-bottom:8px;padding-top:18px}@media (min-width:37.5em){.masthead{margin-left:-16px}}.masthead__heading{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;margin:0;outline:none}@media (min-width:37.5em){.masthead__heading{padding-left:16px}}.masthead__logo,.masthead__logo--dark{font-size:40px;text-decoration:none}@media (min-width:37.5em){.masthead__logo,.masthead__logo--dark{font-size:50px}}.masthead__logo,.masthead__logo:hover{color:#fff;text-decoration:none}.masthead__logo--dark,.masthead__logo--dark:hover{color:#231f20;text-decoration:none}.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(1turn)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes gel-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fullHeight{height:100%;margin:0;overflow:auto}.promoted-navigation-overlay__container{bottom:0;height:100%;left:0;overflow-y:auto;position:fixed;top:0;width:100%;z-index:10000}.promoted-navigation-overlay__wrap{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}@media (min-width:25em){.promoted-navigation-overlay__wrap{padding-left:16px;padding-right:16px}}.promoted-navigation-overlay__layout{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;position:relative}@media (min-width:37.5em){.promoted-navigation-overlay__layout{margin-left:-16px}}.promoted-navigation-overlay__header{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@media (min-width:37.5em){.promoted-navigation-overlay__header{padding-left:16px}}.promoted-navigation-overlay__close-btn__container{display:inline-block;position:absolute;right:0;top:10px}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn__container{top:22px}}.promoted-navigation-overlay__close-btn{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;background-color:transparent;border:0;color:#fff;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;text-align:center}@media (min-width:20em){.promoted-navigation-overlay__close-btn{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .promoted-navigation-overlay__close-btn{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (max-width:37.49em){.promoted-navigation-overlay__close-btn{padding-bottom:11px;padding-top:11px}}.promoted-navigation-overlay__close-btn:hover{cursor:pointer}.promoted-navigation-overlay__close-btn:hover .gel-icon--no{border-bottom-color:#fff;opacity:.7}.promoted-navigation-overlay__close-btn .gel-icon--no{border-bottom:2px solid transparent;color:#fff;fill:currentColor;height:20px;margin-left:8px;vertical-align:middle;width:20px}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn .gel-icon--no{height:24px;width:24px}}.promoted-navigation-overlay__close-btn .close-text{vertical-align:middle}.promoted-navigation-overlay__body-container{width:100%}.promoted-navigation-overlay__body-title{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;margin-bottom:0;margin-top:8px}@media (min-width:37.5em){.promoted-navigation-overlay__body-title{padding-left:16px}}@media (min-width:20em){.promoted-navigation-overlay__body-title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.promoted-navigation-overlay__body-title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .promoted-navigation-overlay__body-title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.promoted-navigation-overlay__body-p{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-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;color:#fff;margin:0 0 24px}@media (min-width:37.5em){.promoted-navigation-overlay__body-p{padding-left:16px}}@media (min-width:20em){.promoted-navigation-overlay__body-p{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.promoted-navigation-overlay__body-p{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .promoted-navigation-overlay__body-p{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.phase-card{color:#231f20;margin:8px 0;text-align:center}.phase-card,.phase-card__link{text-decoration:none;width:100%}.phase-card__link{background-color:transparent;border:0;cursor:pointer;display:block;font-family:inherit;padding-left:0;padding-right:0}.phase-card__link:focus,.phase-card__link:hover{color:inherit}.phase-card__link:focus .phase-card__cta,.phase-card__link:hover .phase-card__cta{background:#fff;color:#e5640f;text-decoration:underline}.phase-card__link::-moz-focus-inner{padding:0}.phase-card__link .phase-card__content-container{padding:16px}@media (min-width:43.125em){.phase-card__link .phase-card__content-container{padding:32px 8px}}.phase-card__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;font-weight:700;margin:0;padding:4px}@media (min-width:20em){.phase-card__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.phase-card__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .phase-card__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.phase-card__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#fff;margin-bottom:16px;margin-top:0}@media (min-width:20em){.phase-card__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.phase-card__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .phase-card__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:43.125em){.phase-card__subtitle{margin-top:8px;margin-bottom:32px}}.phase-card__cta{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;background-color:#fff;color:#231f20;display:inline-block;margin:auto;padding:12px}@media (min-width:20em){.phase-card__cta{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.phase-card__cta{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .phase-card__cta{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.phase-card__cta .gel-icon--next{color:#e5640f;height:16px;padding-left:8px;position:relative;top:3px;width:16px}.promoted-navigation__phases{padding:0}.promoted-navigation__phases-layout{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0}@media (min-width:37.5em){.promoted-navigation__phases-layout{margin-left:-16px}}.promoted-navigation__phases-item{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;display:flex}@media (min-width:37.5em){.promoted-navigation__phases-item{padding-left:16px}}@media (min-width:43.125em){.promoted-navigation__phases-item{width:33.33333%}}.phase-card--primary,.promoted-navigation-overlay__phase--primary{background-image:linear-gradient(125deg,#e45153 50%,#eac522)}.phase-card--secondary,.promoted-navigation-overlay__phase--secondary{background-image:linear-gradient(125deg,#553287 50%,#804d9f)}.phase-card--post-16,.promoted-navigation-overlay__phase--post-16{background-image:linear-gradient(125deg,#253a81 50%,#3051c1)}.sign-in{background:#f1f1f1}.sign-in__idcta-external-component{text-align:center;padding:0 8px}#orb-modules .id4-cta,body div p.id4-cta{margin-bottom:0;padding:16px 0}.optional-link{text-decoration:none}.optional-link,.optional-link *{display:inline-block}.optional-link .gel-icon--next{position:relative;height:16px;width:16px;padding-left:8px;color:#e5640f}.optional-link:focus *,.optional-link:hover *{color:#e5640f;text-decoration:underline}.optional-link:focus .gel-icon--next,.optional-link:focus .gel-icon--next *,.optional-link:hover .gel-icon--next,.optional-link:hover .gel-icon--next *{color:#e5640f;text-decoration:none}#orb-footer{background:#fff}.promoted-navigation__container{box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1040px;padding-left:0;padding-right:0;position:relative}@media (min-width:25em){.promoted-navigation__container{padding-left:0;padding-right:0}}@media (min-width:37.5em){.promoted-navigation__container{padding-left:16px;padding-right:16px}}.promoted-navigation{background:#fff;box-sizing:border-box;padding-left:8px;padding-right:8px}@media (min-width:37.5em){.promoted-navigation{padding-left:16px;padding-right:16px}}.promoted-navigation__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#231f20;margin:0;padding:0;padding-top:16px}@media (min-width:20em){.promoted-navigation__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.promoted-navigation__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .promoted-navigation__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.drawer-open .in-the-spotlight,.drawer-open .index-page,.drawer-open .promoted-navigation__container,div.index-page{margin-top:0}.drawer-open .promoted-navigation__container{margin-bottom:0}@media (min-width:37.5em){.drawer-open .promoted-navigation__container{margin-top:32px}}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-promoted-navigation-view/2.6.1"]=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}.nation-level-list__container{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@media (min-width:37.5em){.nation-level-list__container{padding-left:16px;width:50%}}@media (min-width:56.25em){.nation-level-list__container{width:25%}}.nation-level-list__header{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;background-color:rgba(35,31,32,.3);color:#fff;font-weight:400;margin:0;padding:12px 8px}@media (min-width:37.5em){.nation-level-list__header{font-size:26px;font-size:1.625rem;line-height:30px;line-height:1.875rem}.n-no-touchevents .nation-level-list__header{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.nation-level-list__header{padding:12px 16px}}.nation-level-list__list-body{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;list-style:none;margin:0 0 15px;padding:0}@media (min-width:37.5em){.nation-level-list__list-body{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .nation-level-list__list-body{font-size:20px;font-size:1.25rem}}.nation-level-list__list-item{width:100%;color:#231f20;font-weight:700;text-decoration:none;background-color:#fff;box-sizing:border-box;display:inline-block;margin-bottom:3px;padding:19px 8px;position:relative}.nation-level-list__list-item:after{background-image:url(\"https://bitesize.files.bbci.co.uk/images/svgs/icons/gel-icons/1.0/next--orange.svg\");background-size:13px 16px;content:\"\";display:inline-block;height:16px;margin-left:8px;width:13px}.nation-level-list__list-item:visited{color:#706d66}.nation-level-list__list-item:focus{outline:10px solid #1a9bf0;color:#231f20}.nation-level-list__list-item:active,.nation-level-list__list-item:hover{color:#e5640f;text-decoration:underline}@media (min-width:37.5em){.nation-level-list__list-item{padding:18px 32px 18px 16px}}.fading .nation-level-list__list-item{pointer-events:none}.nation-level-list__list-item:focus{outline:4px solid #1a9bf0}.nation-level-list__list-item:after{position:absolute;right:8px;top:22px}@media (min-width:37.5em){.nation-level-list__list-item:after{right:16px}}.masthead{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;margin-bottom:8px;padding-top:18px}@media (min-width:37.5em){.masthead{margin-left:-16px}}.masthead__heading{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;margin:0;outline:none}@media (min-width:37.5em){.masthead__heading{padding-left:16px}}.masthead__logo,.masthead__logo--dark{font-size:40px;text-decoration:none}@media (min-width:37.5em){.masthead__logo,.masthead__logo--dark{font-size:50px}}.masthead__logo,.masthead__logo:hover{color:#fff;text-decoration:none}.masthead__logo--dark,.masthead__logo--dark:hover{color:#231f20;text-decoration:none}.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(1turn)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes gel-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fullHeight{height:100%;margin:0;overflow:auto}.promoted-navigation-overlay__container{bottom:0;height:100%;left:0;overflow-y:auto;position:fixed;top:0;width:100%;z-index:10000}.promoted-navigation-overlay__wrap{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}@media (min-width:25em){.promoted-navigation-overlay__wrap{padding-left:16px;padding-right:16px}}.promoted-navigation-overlay__layout{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;position:relative}@media (min-width:37.5em){.promoted-navigation-overlay__layout{margin-left:-16px}}.promoted-navigation-overlay__header{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}@media (min-width:37.5em){.promoted-navigation-overlay__header{padding-left:16px}}.promoted-navigation-overlay__close-btn__container{display:inline-block;position:absolute;right:0;top:10px}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn__container{top:22px}}.promoted-navigation-overlay__close-btn{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;background-color:transparent;border:0;color:#fff;font-family:ReithSans,Arial,Helvetica,freesans,sans-serif;text-align:center}@media (min-width:20em){.promoted-navigation-overlay__close-btn{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .promoted-navigation-overlay__close-btn{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (max-width:37.49em){.promoted-navigation-overlay__close-btn{padding-bottom:11px;padding-top:11px}}.promoted-navigation-overlay__close-btn:hover{cursor:pointer}.promoted-navigation-overlay__close-btn:hover .gel-icon--no{border-bottom-color:#fff;opacity:.7}.promoted-navigation-overlay__close-btn .gel-icon--no{border-bottom:2px solid transparent;color:#fff;fill:currentColor;height:20px;margin-left:8px;vertical-align:middle;width:20px}@media (min-width:37.5em){.promoted-navigation-overlay__close-btn .gel-icon--no{height:24px;width:24px}}.promoted-navigation-overlay__close-btn .close-text{vertical-align:middle}.promoted-navigation-overlay__body-container{width:100%}.promoted-navigation-overlay__body-title{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;margin-bottom:0;margin-top:8px}@media (min-width:37.5em){.promoted-navigation-overlay__body-title{padding-left:16px}}@media (min-width:20em){.promoted-navigation-overlay__body-title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.promoted-navigation-overlay__body-title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .promoted-navigation-overlay__body-title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.promoted-navigation-overlay__body-p{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-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;color:#fff;margin:0 0 24px}@media (min-width:37.5em){.promoted-navigation-overlay__body-p{padding-left:16px}}@media (min-width:20em){.promoted-navigation-overlay__body-p{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}@media (min-width:37.5em){.promoted-navigation-overlay__body-p{font-size:18px;font-size:1.125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .promoted-navigation-overlay__body-p{font-size:16px;font-size:1rem;line-height:22px;line-height:1.375rem}}.phase-card{color:#231f20;margin:8px 0;text-align:center}.phase-card,.phase-card__link{text-decoration:none;width:100%}.phase-card__link{background-color:transparent;border:0;cursor:pointer;display:block;font-family:inherit;padding-left:0;padding-right:0}.phase-card__link:focus,.phase-card__link:hover{color:inherit}.phase-card__link:focus .phase-card__cta,.phase-card__link:hover .phase-card__cta{background:#fff;color:#e5640f;text-decoration:underline}.phase-card__link::-moz-focus-inner{padding:0}.phase-card__link .phase-card__content-container{padding:16px}@media (min-width:43.125em){.phase-card__link .phase-card__content-container{padding:32px 8px}}.phase-card__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#fff;font-weight:700;margin:0;padding:4px}@media (min-width:20em){.phase-card__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.phase-card__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .phase-card__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.phase-card__subtitle{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#fff;margin-bottom:16px;margin-top:0}@media (min-width:20em){.phase-card__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.phase-card__subtitle{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .phase-card__subtitle{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:43.125em){.phase-card__subtitle{margin-top:8px;margin-bottom:32px}}.phase-card__cta{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;background-color:#fff;color:#231f20;display:inline-block;margin:auto;padding:12px}@media (min-width:20em){.phase-card__cta{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.phase-card__cta{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .phase-card__cta{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.phase-card__cta .gel-icon--next{color:#e5640f;height:16px;padding-left:8px;position:relative;top:3px;width:16px}.promoted-navigation__phases{padding:0}.promoted-navigation__phases-layout{list-style:none;direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0}@media (min-width:37.5em){.promoted-navigation__phases-layout{margin-left:-16px}}.promoted-navigation__phases-item{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;display:flex}@media (min-width:37.5em){.promoted-navigation__phases-item{padding-left:16px}}@media (min-width:43.125em){.promoted-navigation__phases-item{width:33.33333%}}.phase-card--primary,.promoted-navigation-overlay__phase--primary{background-image:linear-gradient(125deg,#e45153 50%,#eac522)}.phase-card--secondary,.promoted-navigation-overlay__phase--secondary{background-image:linear-gradient(125deg,#553287 50%,#804d9f)}.phase-card--post-16,.promoted-navigation-overlay__phase--post-16{background-image:linear-gradient(125deg,#253a81 50%,#3051c1)}.sign-in{background:#f1f1f1}.sign-in__idcta-external-component{text-align:center;padding:0 8px}#orb-modules .id4-cta,body div p.id4-cta{margin-bottom:0;padding:16px 0}.optional-link{text-decoration:none}.optional-link,.optional-link *{display:inline-block}.optional-link .gel-icon--next{position:relative;height:16px;width:16px;padding-left:8px;color:#e5640f}.optional-link:focus *,.optional-link:hover *{color:#e5640f;text-decoration:underline}.optional-link:focus .gel-icon--next,.optional-link:focus .gel-icon--next *,.optional-link:hover .gel-icon--next,.optional-link:hover .gel-icon--next *{color:#e5640f;text-decoration:none}#orb-footer{background:#fff}.promoted-navigation__container{box-sizing:border-box;margin-left:auto;margin-right:auto;max-width:1040px;padding-left:0;padding-right:0;position:relative}@media (min-width:25em){.promoted-navigation__container{padding-left:0;padding-right:0}}@media (min-width:37.5em){.promoted-navigation__container{padding-left:16px;padding-right:16px}}.promoted-navigation{background:#fff;box-sizing:border-box;padding-left:8px;padding-right:8px}@media (min-width:37.5em){.promoted-navigation{padding-left:16px;padding-right:16px}}.promoted-navigation__title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;color:#231f20;margin:0;padding:0;padding-top:16px}@media (min-width:20em){.promoted-navigation__title{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.promoted-navigation__title{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .promoted-navigation__title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.drawer-open .in-the-spotlight,.drawer-open .index-page,.drawer-open .promoted-navigation__container,div.index-page{margin-top:0}.drawer-open .promoted-navigation__container{margin-bottom:0}@media (min-width:37.5em){.drawer-open .promoted-navigation__container{margin-top:32px}}</style>"); }</script><script type="text/javascript">Morph.initStyles(); /* u5997295495126789 */</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/20200804134034cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-in-the-spotlight-view/1.1.7/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-in-the-spotlight-view/1.1.7"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-in-the-spotlight-view/1.1.7/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u39580010266029353 */</script><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></head><body> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20200804134034im_/https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=learn::bitesize.learn.page&x2=[responsive]&x3=[bbc_website]&x4=[en-GB]&x7=[index-section]&x8=[reverb-1.5.0-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.isAdsEnabled()) { 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.isAdsEnabled()) { 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.isAdsEnabled()) { document.write(unescape('%3Cscript id="gnlAdsEnabled" class="bbccom_display_none"%3E%3C/script%3E')); } if (window.bbcdotcom && bbcdotcom.config.isAnalyticsEnabled()) { 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/20200804134034/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="https://web.archive.org/web/20200804134034/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" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{"id-cta-type": "statusbar-orb"}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20200804134034/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/20200804134034/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200804134034/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/20200804134034/https://search.bbc.co.uk/search?scope=all:learning" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20200804134034/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="all:learning"><label for="orb-search-q">Search the BBC</label><input id="orb-search-q" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" maxlength="100" 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="u6613821873924177"><noscript data-reactid=".1391nb51yew" data-react-checksum="-1403186989"></noscript></div><div id="u9423620738022095"><div data-reactid=".g3es0sb20w" data-react-checksum="-643559905"><div class="bitesize-header-background" data-reactid=".g3es0sb20w.0"></div><noscript data-reactid=".g3es0sb20w.1"></noscript><div data-reactid=".g3es0sb20w.2"><div class="global-navigation" data-reactid=".g3es0sb20w.2.0"><header class="global-navigation__header" data-reactid=".g3es0sb20w.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".g3es0sb20w.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".g3es0sb20w.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/20200804134034/https://www.bbc.co.uk/bitesize" data-reactid=".g3es0sb20w.2.0.0.0.0.0">Bitesize</a></span><button type="button" class="global-navigation__header__menu-button" aria-label="Open menu" data-reactid=".g3es0sb20w.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".g3es0sb20w.2.0.0.0.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".g3es0sb20w.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".g3es0sb20w.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".g3es0sb20w.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".g3es0sb20w.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".g3es0sb20w.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".g3es0sb20w.2.0.1.0"><div class="global-language-selector" data-reactid=".g3es0sb20w.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".g3es0sb20w.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".g3es0sb20w.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".g3es0sb20w.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".g3es0sb20w.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".g3es0sb20w.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=".g3es0sb20w.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=".g3es0sb20w.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=".g3es0sb20w.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=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".g3es0sb20w.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".g3es0sb20w.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$daily-lessons"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$daily-lessons.0"><span class="global-navigation__list__link-text" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$daily-lessons.0.0">Daily lessons</span></a></li><li class="global-navigation__list__item global-navigation__list__item--highlighted" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$learn"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/learn" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$learn.0"><span class="global-navigation__list__link-text" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$learn.0.0">Learn</span></a></li><li class="global-navigation__list__item" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/support" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/careers" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".g3es0sb20w.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".g3es0sb20w.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".g3es0sb20w.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".g3es0sb20w.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/my" data-reactid=".g3es0sb20w.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".g3es0sb20w.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=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".g3es0sb20w.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".g3es0sb20w.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".g3es0sb20w.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=".g3es0sb20w.2.0.1.0.1.1.0.$all-bitesize.0.1">All Bitesize</span></button></li></ul></li></ul></div></nav></div><span data-reactid=".g3es0sb20w.2.1"></span><div class="header-image-container header-image-container--homepage header-image-no-logo header-image-container--no-illustration" aria-hidden="false" data-reactid=".g3es0sb20w.2.3"><div class="header-image-container__wrap" data-reactid=".g3es0sb20w.2.3.0"></div></div></div></div></div><div id="u37228294415629137"><div class="messaging-banner-container messaging-banner-container-default" data-reactid=".1rn1871a7u8" data-react-checksum="-933290617"><div data-reactid=".1rn1871a7u8.0"><div class="messaging-banner__container messaging-banner__container-default" data-reactid=".1rn1871a7u8.0.0"><div class="messaging-banner messaging-banner-default" data-reactid=".1rn1871a7u8.0.0.0"><div class="messaging-banner-close" data-reactid=".1rn1871a7u8.0.0.0.0"><div class="ec-button__container ec-button__container-messaging-banner-close__button" data-reactid=".1rn1871a7u8.0.0.0.0.0"><button type="button" class="ec-button__bitesize-banner messaging-banner-close__button" aria-label="Close" data-bbc-container="global-banner" data-bbc-title="close" data-reactid=".1rn1871a7u8.0.0.0.0.0.0"><div class="messaging-banner-close__button-icon" data-reactid=".1rn1871a7u8.0.0.0.0.0.0.0"><svg version="1.1" x="0px" y="0px" width="18px" height="18px" viewbox="0 0 32 32" xml:space="preserve" data-reactid=".1rn1871a7u8.0.0.0.0.0.0.0.0"><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" data-reactid=".1rn1871a7u8.0.0.0.0.0.0.0.0.0"></polygon></svg></div></button></div></div><div class="messaging-banner-image-default" data-reactid=".1rn1871a7u8.0.0.0.1"></div><div class="messaging-banner-content" data-reactid=".1rn1871a7u8.0.0.0.2"><div class="messaging-banner-content__title" data-reactid=".1rn1871a7u8.0.0.0.2.0"><p class="messaging-banner-content__title-text" data-reactid=".1rn1871a7u8.0.0.0.2.0.0">Daily Lessons are available all summer!</p></div><div class="messaging-banner-content__subtitle" data-reactid=".1rn1871a7u8.0.0.0.2.1"><p class="messaging-banner-content__subtitle-text" data-reactid=".1rn1871a7u8.0.0.0.2.1.0">Our lessons have ended for the summer, but you can still use them throughout the holidays. We'll be back in the new school year with new lessons.</p></div><div class="messaging-banner-content__link-container" data-reactid=".1rn1871a7u8.0.0.0.2.2"><div class="ec-link-button__container" data-reactid=".1rn1871a7u8.0.0.0.2.2.0"><a tabindex="0" href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons" class="ec-link-button__bitesize-banner" aria-label="Start a lesson" data-bbc-container="global-banner" data-reactid=".1rn1871a7u8.0.0.0.2.2.0.0"><span class="messaging-banner-content__link-text" data-reactid=".1rn1871a7u8.0.0.0.2.2.0.0.0">Start a lesson</span></a></div></div></div></div></div></div></div></div><div id="u5997295495126789"><div class="promoted-navigation__container" data-reactid=".6pplkw7nl2" data-react-checksum="373928968"><div class="promoted-navigation" data-reactid=".6pplkw7nl2.0"><noscript data-reactid=".6pplkw7nl2.0.0"></noscript><h1 class="promoted-navigation__title" data-reactid=".6pplkw7nl2.0.1">Learn & revise</h1><div class="promoted-navigation__phases" data-reactid=".6pplkw7nl2.0.2"><div class="promoted-navigation__phases-layout" data-reactid=".6pplkw7nl2.0.2.0"><div class="promoted-navigation__phases-item" data-reactid=".6pplkw7nl2.0.2.0.$Primary"><div class="phase-card phase-card--primary" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0"><a class="phase-card__link" href="/web/20200804134034/https://www.bbc.co.uk/bitesize/primary" aria-label="Go to Primary (Age 3 to 11)" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0"><div class="phase-card__content-container" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0"><div class="phase-card__title" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.0">Primary</div><div class="phase-card__subtitle" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.1">Age 3 to 11</div><div class="phase-card__cta" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.2"><span data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.2.0">Go to Primary</span><div class="gel-icon gel-icon--next" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.2.1"><svg width="31.9" height="32" viewbox="0 0 31.9 32" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.2.1.0"><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32z" data-reactid=".6pplkw7nl2.0.2.0.$Primary.0.0.0.2.1.0.0"></path></svg></div></div></div></a></div></div><div class="promoted-navigation__phases-item" data-reactid=".6pplkw7nl2.0.2.0.$Secondary"><div class="phase-card phase-card--secondary" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0"><button class="phase-card__link" aria-label="Go to Secondary (Age 11 to 16)" type="button" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0"><div class="phase-card__content-container" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0"><div class="phase-card__title" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.0">Secondary</div><div class="phase-card__subtitle" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.1">Age 11 to 16</div><div class="phase-card__cta" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.2"><span data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.2.0">Go to Secondary</span><div class="gel-icon gel-icon--next" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.2.1"><svg width="31.9" height="32" viewbox="0 0 31.9 32" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.2.1.0"><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32z" data-reactid=".6pplkw7nl2.0.2.0.$Secondary.0.0.0.2.1.0.0"></path></svg></div></div></div></button></div></div><div class="promoted-navigation__phases-item" data-reactid=".6pplkw7nl2.0.2.0.$Post-16"><div class="phase-card phase-card--post-16" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0"><button class="phase-card__link" aria-label="Go to Post-16 (Age 16+)" type="button" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0"><div class="phase-card__content-container" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0"><div class="phase-card__title" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.0">Post-16</div><div class="phase-card__subtitle" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.1">Age 16+</div><div class="phase-card__cta" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.2"><span data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.2.0">Go to Post-16</span><div class="gel-icon gel-icon--next" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.2.1"><svg width="31.9" height="32" viewbox="0 0 31.9 32" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.2.1.0"><path d="M29 16L3 0v7.2L17.6 16 3 24.8V32z" data-reactid=".6pplkw7nl2.0.2.0.$Post-16.0.0.0.2.1.0.0"></path></svg></div></div></div></button></div></div></div></div></div></div></div><div id="u39580010266029353"><div class="in-the-spotlight" data-reactid=".7zh8m40nzy" data-react-checksum="758020779"><div class="in-the-spotlight__promo-collection-wrap" data-reactid=".7zh8m40nzy.0"><h2 class="in-the-spotlight__promo-collection-title" data-reactid=".7zh8m40nzy.0.0">In the spotlight</h2><div class="in-the-spotlight__promo-collection-layout" data-reactid=".7zh8m40nzy.0.1"><div class="promo" data-reactid=".7zh8m40nzy.0.1.0"><a class="promo__link" href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/primary-games/1" data-reactid=".7zh8m40nzy.0.1.0.0"><div aria-hidden="true" class="promo__image-container" data-reactid=".7zh8m40nzy.0.1.0.0.0"><div class="promo__label promo__label--primary" data-reactid=".7zh8m40nzy.0.1.0.0.0.0">Primary</div><img src="https://web.archive.org/web/20200804134034im_/https://ichef.bbci.co.uk/images/ic/320xn/p07mnt6v.jpg" alt="Games 169 promo" class="promo__image" data-reactid=".7zh8m40nzy.0.1.0.0.0.1"/></div><div class="promo__footer" data-reactid=".7zh8m40nzy.0.1.0.0.1"><h3 class="promo__title" data-reactid=".7zh8m40nzy.0.1.0.0.1.0">Play brand new Primary games</h3><span class="promo__attribution" data-reactid=".7zh8m40nzy.0.1.0.0.1.1">KS1 & KS2</span></div></a></div><div class="promo" data-reactid=".7zh8m40nzy.0.1.1"><a class="promo__link" href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/articles/zvwbcj6" data-reactid=".7zh8m40nzy.0.1.1.0"><div aria-hidden="true" class="promo__image-container" data-reactid=".7zh8m40nzy.0.1.1.0.0"><div class="promo__label promo__label--secondary" data-reactid=".7zh8m40nzy.0.1.1.0.0.0">Secondary</div><img src="https://web.archive.org/web/20200804134034im_/https://ichef.bbci.co.uk/images/ic/320xn/p064ptyp.jpg" alt="Eye of a child" class="promo__image" data-reactid=".7zh8m40nzy.0.1.1.0.0.1"/></div><div class="promo__footer" data-reactid=".7zh8m40nzy.0.1.1.0.1"><h3 class="promo__title" data-reactid=".7zh8m40nzy.0.1.1.0.1.0">What is DNA?</h3><span class="promo__attribution" data-reactid=".7zh8m40nzy.0.1.1.0.1.1">KS3 Biology</span></div></a></div><div class="promo" data-reactid=".7zh8m40nzy.0.1.2"><a class="promo__link" href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/articles/z9q4gdm" data-reactid=".7zh8m40nzy.0.1.2.0"><div aria-hidden="true" class="promo__image-container" data-reactid=".7zh8m40nzy.0.1.2.0.0"><div class="promo__label promo__label--post-16" data-reactid=".7zh8m40nzy.0.1.2.0.0.0">Post-16</div><img src="https://web.archive.org/web/20200804134034im_/https://ichef.bbci.co.uk/images/ic/320xn/p0613hx9.jpg" alt="Meta image template" class="promo__image" data-reactid=".7zh8m40nzy.0.1.2.0.0.1"/></div><div class="promo__footer" data-reactid=".7zh8m40nzy.0.1.2.0.1"><h3 class="promo__title" data-reactid=".7zh8m40nzy.0.1.2.0.1.0">How to check a payslip</h3><span class="promo__attribution" data-reactid=".7zh8m40nzy.0.1.2.0.1.1">Functional Skills</span></div></a></div></div></div></div></div> </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/20200804134034/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20200804134034/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/20200804134034/https://advertising.bbcworldwide.com/">Advertise with us<'+'/a><'+'/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.com/usingthebbc/cookies/how-can-i-change-my-bbc-cookie-settings/">AdChoices / Do Not Sell My Info<'+'/a><'+'/li>';</script><div class="orb-footer-inner"> <ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright © 2020 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/20200804134034/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/6b039c00c475f4acb06f62e06c48907a/" src="https://web.archive.org/web/20200804134034js_/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/orb.min.js"></script> <script type="text/javascript">require.config({ "paths": { "orb/async/_footerpromo": 'https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/navpromo/1a758b67be1b457163af81ff41c92946/js/async/_footerpromo' } }); (function() { document.addEventListener("DOMContentLoaded", function(event) { initialiseFooter(); }); var scrollCheckTimer; var didScroll; var previousPosition = 0; var delta = 5; var PROMO_SHOW_BREAKPOINT = 1500; var pageLength = 0; function getCookie(key) { if (!key) { return document.cookie; } return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null; } 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) { var disabledByCookie = (parseInt(getCookie('ckns_nav_promofail')) || 0) >= 3; if (!disabledByCookie) { window.bbcpage.getLanguage().then(function(language) { if (language === 'en') { window.bbcuser.isUKCombined().then(function(isUK) { if (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/20200804134034/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/nav'], function(nav) { window.bbcuser.isUKCombined().then(function(isUK) { if (isUK) { nav.loadJs('https://web.archive.org/web/20200804134034/https://nav.files.bbci.co.uk/orbit/6b039c00c475f4acb06f62e06c48907a/js/edr.min.js'); } }); }); /*]]>*/</script> <script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20200804134034/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/templates', "mybbc/notifications": '//web.archive.org/web/20200804134034/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/js' } }); require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) { var loadNotifications = function (isUK) { if (isUK) { window.bbcpage.loadCSS('//web.archive.org/web/20200804134034/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20200804134034/https://mybbc.files.bbci.co.uk/notification-ui/4.1.3/'); }); } }; window.bbcuser.isUKCombined().then(function(isUK) { loadNotifications(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.checkThirdPartyFirst(bbcdotcom.analytics.page, bbcdotcom.analytics); } /*]]>*/</script><noscript><img src="//web.archive.org/web/20200804134034im_/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.checkThirdPartyFirst(bbcdotcom.currencyProviders.write, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.currencyProviders) { bbcdotcom.checkThirdPartyFirst(bbcdotcom.currencyProviders.postWrite, bbcdotcom.currencyProviders); } /*]]>*/</script><script type="text/javascript">/*<![CDATA[*/ if (window.bbcdotcom && bbcdotcom.data && bbcdotcom.data.stats && bbcdotcom.data.stats === 1 && bbcdotcom.utils && window.location.pathname === '/') { 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/20200804134034/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) { 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/20200804134034/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/cookie-banner/cookie-prompt/';</script><script src="https://web.archive.org/web/20200804134034js_/https://nav.files.bbci.co.uk/orbit-webmodules/0.0.2-468.5f3cdf8/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/20200804134034js_/https://nav.files.bbci.co.uk//user-activity-helper/1d5fa47d9ba60d5c52b377ec3208b7be/js/detectview.bundle.js" async=""></script><script>Morph.toInit.bundles.push(function() { Morph.versions['bbc-morph-optimizely-ati@1.0.2']={'amd-loader':'0.0.8','optimizely-ati':'1.0.0','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.2"] = __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 }); exports.default = void 0; var _react = __webpack_require__(1); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } __webpack_require__(2); var optimizelyATI = __webpack_require__(3); var OptimizelyATI = /*#__PURE__*/ function (_Component) { _inherits(OptimizelyATI, _Component); function OptimizelyATI() { _classCallCheck(this, OptimizelyATI); return _possibleConstructorReturn(this, _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); var _default = OptimizelyATI; exports.default = _default; 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.2","_mrrVersion":"2.0.16"},'u6613821873924177'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804134034/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(); } /* u6613821873924177 */</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() { Morph.versions["bbc-morph-bitesize-messaging-view@1.35.1"]={"@bbc/education-button":"0.4.0","@bbc/education-gel-icons":"0.10.0","@bbc/education-link-button":"0.1.3","morph-container":"4.0.0",react:"0.14.7","react-dom":"0.14.7"},function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-bitesize-messaging-view@1.35.1"]=n(1)},function(e,t,n){e.exports=n(2)},function(e,t,n){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=4)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(4)},function(e,t){e.exports=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["default","primary","secondary","planning"],a={getAllowedBanner:function(e){return r.indexOf(e)>-1?e:"default"}};t.default=a,e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(5)),o=r(n(6)),i=n(3),l=a.default.create(o.default,{data:function(e){var t=e.bannerType;return{messageData:{uri:{service:"bitesize-files",path:"/messaging/bannerType/".concat((0,i.getAllowedBanner)(t),".json")},updates:!1,requireSuccess:!1}}}});t.default=l,e.exports=t.default},function(e,t){e.exports=n(7)},function(e,t,n){"use strict";var r=n(0),a=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(2)),i=r(n(7)),l=r(n(17)),u=n(3),s=function(e){var t=e.language,n=e.bannerType,r=e.messageData,a=r.meta.responseCode,s=r.body,c=(0,u.getAllowedBanner)(n),f=200===a?function(e){return"string"==typeof e?JSON.parse(e):Object(e)}(s):l.default[c],d=f[t];d||(d=l.default[c][t]);var p={url:d.linkUrl,text:d.linkText};return o.default.createElement("div",{className:"messaging-banner-container messaging-banner-container-".concat(c)},o.default.createElement(i.default,{title:d.title,subtitle:d.subtitle,link:p,bannerType:c}))};s.propTypes={language:o.PropTypes.string,bannerType:o.PropTypes.string,messageData:o.PropTypes.shape({meta:o.PropTypes.shape({responseCode:o.PropTypes.number}).isRequired,body:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.shape({})]).isRequired}).isRequired},s.defaultProps={language:"en-GB",bannerType:"default"};var c=s;t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=a();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var o=n(1),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(8)),u=i(n(9)),s=i(n(10)),c=i(n(11)),f=i(n(12)),d=i(n(13)),p=o(n(2)),y=n(14),v=i(n(15)),m=i(n(16)),b=function(e){function t(e){var r;return(0,l.default)(this,t),r=n.call(this,e),r.state={showBanner:!0},r.closeBanner=r.closeBanner.bind((0,s.default)(r)),r}(0,c.default)(t,e);var n=r(t);return(0,u.default)(t,[{key:"getSubtitle",value:function(){var e=this.props,t=e.subtitle;return"planning"===e.bannerType?"".concat(t," "):t}},{key:"getLinkButton",value:function(){var e=this.props,t=e.link;return"planning"!==e.bannerType?p.default.createElement(v.default,{onClick:function(){},href:t.url,disabled:!1,dataATIProps:{"data-bbc-container":"global-banner"},theme:"bitesize-banner",ariaLabel:t.text},p.default.createElement("span",{className:"messaging-banner-content__link-text"},t.text)):p.default.createElement("a",{href:t.url,className:"messaging-banner-content__link","data-bbc-container":"global-banner"},t.text)}},{key:"closeBanner",value:function(){this.setState(function(){return{showBanner:!1}})}},{key:"render",value:function(){var e=this.props,t=e.link,n=e.title,r=e.bannerType,a=this.state.showBanner;return p.default.createElement("div",null,!0===a?p.default.createElement("div",{className:"messaging-banner__container messaging-banner__container-".concat(r)},p.default.createElement("div",{className:"messaging-banner messaging-banner-".concat(r)},p.default.createElement("div",{className:"messaging-banner-close"},p.default.createElement(m.default,{ariaLabel:"Close",buttonClass:"messaging-banner-close__button",dataAtiProps:{"data-bbc-container":"global-banner","data-bbc-title":"close"},onClick:this.closeBanner,theme:"bitesize-banner"},p.default.createElement("div",{className:"messaging-banner-close__button-icon"},p.default.createElement(y.GelCloseIcon,null)))),p.default.createElement("div",{className:"messaging-banner-image-".concat(r)}),p.default.createElement("div",{className:"messaging-banner-content"},p.default.createElement("div",{className:"messaging-banner-content__title"},p.default.createElement("p",{className:"messaging-banner-content__title-text"},n)),p.default.createElement("div",{className:"messaging-banner-content__subtitle"},p.default.createElement("p",{className:"messaging-banner-content__subtitle-text"},this.getSubtitle())),t?p.default.createElement("div",{className:"messaging-banner-content__link-container"},this.getLinkButton()):null))):null)}}]),t}(p.default.Component);b.propTypes={link:p.PropTypes.shape({url:p.PropTypes.string,text:p.PropTypes.string}),title:p.PropTypes.string.isRequired,subtitle:p.PropTypes.string.isRequired,bannerType:p.PropTypes.string},b.defaultProps={link:null,bannerType:"default"};var h=b;t.default=h,e.exports=t.default},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(9)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(13)},function(e,t){e.exports=n(14)},function(e,t){e.exports=n(15)},function(e,t){e.exports=n(42)},function(e,t){e.exports=n(45)},function(e,t,n){"use strict";var r=n(0),a=r(n(18)),o=r(n(19)),i=r(n(20));e.exports={planning:i.default,primary:o.default,secondary:a.default,default:a.default}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"New daily lessons!",subtitle:"We’re adding three new lessons every weekday for each year until 24 July.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Ceachtanna úra laethúla!",subtitle:"Beidh trí cheacht úra do gach bliain ar fáil, gach lá ó Luan go hAoine.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi dyddiol newydd!",subtitle:"Mae gan Bitesize Dyddiol gasgliad o wersi newydd i ti bob dydd.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Leasanan làitheil ùra!",subtitle:"Bidh trì leasanan ùra dha gach clas ann gach latha-seachdain.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"New lessons every day!",subtitle:"We’re adding videos and fun things to learn every weekday until 24 July.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Ceachtanna úra gach lá!",subtitle:"Beidh físeáin úra mar aon le rudaí sultmhara le foghlaim ar fáil, gach lá ó Luan go hAoine.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi newydd bob dydd!",subtitle:"Parha i ddysgu gyda fideos a gweithgareddau hwyliog.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Leasanan ùra gach latha!",subtitle:"Bidh bhidiothan is rudan spòrsail ri fhaighinn gach latha-seachdain.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"gd-GB":{title:"",subtitle:"A' planadh air thoiseach? Seall ri leasanan làitheil a tha ri thighinn air",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"ga-GB":{title:"",subtitle:"Ag pleanáil chun cinn? Caith súil ar na ceachtanna laethúla a bheidh ar",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"cy-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"}}}])},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var o=n(5);e.exports=a},function(e,t){function n(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-messaging-view@1.35.1",e,t)}}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){function r(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&&a(e,t)}var a=n(12);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){function r(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?o(e):t}var a=n(5),o=n(10);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(3),a=r(n(16)),o=r(n(27)),i=r(n(28)),l=r(n(29)),u=r(n(30)),s=r(n(31)),c=r(n(32)),f=r(n(33)),d=r(n(34)),p=r(n(35)),y=r(n(36)),v=r(n(37)),m=r(n(38)),b=r(n(39)),h=r(n(40)),g=r(n(41));e.exports={GelAddIcon:a.default,GelChevronRightIcon:o.default,GelCloseIcon:i.default,GelDownIcon:l.default,GelIconDuration:u.default,GelListenIcon:s.default,GelNextIcon:c.default,GelNoIcon:f.default,GelPlayIcon:d.default,GelPreviousIcon:p.default,GelRecentActivityIcon:y.default,GelStopIcon:v.default,GelSearchIcon:m.default,GelYesIcon:b.default,GelLoadingIcon:h.default,GelAlertIcon:g.default}},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"white"},a.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"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(19);e.exports=n(22)(r.isElement,!0)}else e.exports=n(26)()}).call(t,n(18))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){v&&p&&(v=!1,p.length?y=p.concat(y):m=-1,y.length&&l())}function l(){if(!v){var e=a(i);v=!0;for(var t=y.length;t;){for(p=y,y=[];++m<t;)p&&p[m].run();m=-1,t=y.length}p=null,v=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,y=[],v=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];y.push(new u(e,t)),1!==y.length||v||a(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=s,d.addListener=s,d.once=s,d.off=s,d.removeListener=s,d.removeAllListeners=s,d.emit=s,d.prependListener=s,d.prependOnceListener=s,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(20):e.exports=n(21)}).call(t,n(18))},function(e,t){"use strict";function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case l:case s:case u:case v:return e;default:switch(e=e&&e.$$typeof){case f:case y:case h:case b:case c:return e;default:return t}}case i:return t}}}function r(e){return n(e)===p}var a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,u=a?Symbol.for("react.strict_mode"):60108,s=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.async_mode"):60111,p=a?Symbol.for("react.concurrent_mode"):60111,y=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.suspense_list"):60120,b=a?Symbol.for("react.memo"):60115,h=a?Symbol.for("react.lazy"):60116,g=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,x=a?Symbol.for("react.responder"):60118,E=a?Symbol.for("react.scope"):60119;t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=f,t.ContextProvider=c,t.Element=o,t.ForwardRef=y,t.Fragment=l,t.Lazy=h,t.Memo=b,t.Portal=i,t.Profiler=s,t.StrictMode=u,t.Suspense=v,t.isAsyncMode=function(e){return r(e)||n(e)===d},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return n(e)===y},t.isFragment=function(e){return n(e)===l},t.isLazy=function(e){return n(e)===h},t.isMemo=function(e){return n(e)===b},t.isPortal=function(e){return n(e)===i},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===u},t.isSuspense=function(e){return n(e)===v},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===p||e===s||e===u||e===v||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===b||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===E||e.$$typeof===g)},t.typeOf=n},function(e,t,n){(function(e){"use strict";"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"==typeof e||"function"==typeof e||e===g||e===k||e===x||e===w||e===O||e===S||"object"==typeof e&&null!==e&&(e.$$typeof===N||e.$$typeof===j||e.$$typeof===E||e.$$typeof===_||e.$$typeof===P||e.$$typeof===C||e.$$typeof===B||e.$$typeof===$||e.$$typeof===M)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case b:var n=e.type;switch(n){case T:case k:case g:case x:case w:case O:return n;default:var r=n&&n.$$typeof;switch(r){case _:case P:case N:case j:case E:return r;default:return t}}case h:return t}}}function r(e){return Y||(Y=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),a(e)||n(e)===T}function a(e){return n(e)===k}function o(e){return n(e)===_}function i(e){return n(e)===E}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===b}function u(e){return n(e)===P}function s(e){return n(e)===g}function c(e){return n(e)===N}function f(e){return n(e)===j}function d(e){return n(e)===h}function p(e){return n(e)===x}function y(e){return n(e)===w}function v(e){return n(e)===O}var m="function"==typeof Symbol&&Symbol.for,b=m?Symbol.for("react.element"):60103,h=m?Symbol.for("react.portal"):60106,g=m?Symbol.for("react.fragment"):60107,w=m?Symbol.for("react.strict_mode"):60108,x=m?Symbol.for("react.profiler"):60114,E=m?Symbol.for("react.provider"):60109,_=m?Symbol.for("react.context"):60110,T=m?Symbol.for("react.async_mode"):60111,k=m?Symbol.for("react.concurrent_mode"):60111,P=m?Symbol.for("react.forward_ref"):60112,O=m?Symbol.for("react.suspense"):60113,S=m?Symbol.for("react.suspense_list"):60120,j=m?Symbol.for("react.memo"):60115,N=m?Symbol.for("react.lazy"):60116,M=m?Symbol.for("react.block"):60121,C=m?Symbol.for("react.fundamental"):60117,B=m?Symbol.for("react.responder"):60118,$=m?Symbol.for("react.scope"):60119,A=T,I=k,R=_,z=E,G=b,D=P,L=g,V=N,q=j,U=h,W=x,F=w,J=O,Y=!1;t.AsyncMode=A,t.ConcurrentMode=I,t.ContextConsumer=R,t.ContextProvider=z,t.Element=G,t.ForwardRef=D,t.Fragment=L,t.Lazy=V,t.Memo=q,t.Portal=U,t.Profiler=W,t.StrictMode=F,t.Suspense=J,t.isAsyncMode=r,t.isConcurrentMode=a,t.isContextConsumer=o,t.isContextProvider=i,t.isElement=l,t.isForwardRef=u,t.isFragment=s,t.isLazy=c,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=y,t.isSuspense=v,t.isValidElementType=e,t.typeOf=n}()}).call(t,n(18))},function(e,t,n){(function(t){"use strict";function r(){return null}var a=n(19),o=n(23),i=n(24),l=n(25),u=Function.call.bind(Object.prototype.hasOwnProperty),s=function(){};"production"!==t.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function c(e){var t=e&&(S&&e[S]||e[j]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function d(e){this.message=e,this.stack=""}function p(e){function r(r,l,u,c,f,p,y){if(c=c||N,p=p||u,y!==i){if(n){var v=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 v.name="Invariant Violation",v}if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var m=c+":"+u;!a[m]&&o<3&&(s("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[m]=!0,o++)}}return null==l[u]?r?new d(null===l[u]?"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`.":"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(l,u,c,f,p)}if("production"!==t.env.NODE_ENV)var a={},o=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function y(e){function t(t,n,r,a,o,i){var l=t[n];if(T(l)!==e)return new d("Invalid "+a+" `"+o+"` of type `"+k(l)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return p(t)}function v(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new d("Invalid "+a+" `"+o+"` of type `"+T(l)+"` supplied to `"+r+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,r,a,o+"["+u+"]",i);if(s instanceof Error)return s}return null}return p(t)}function m(e){function t(t,n,r,a,o){if(!(t[n]instanceof e)){var i=e.name||N;return new d("Invalid "+a+" `"+o+"` of type `"+O(t[n])+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}return null}return p(t)}function b(e){function n(t,n,r,a,o){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var u=JSON.stringify(e,function(e,t){return"symbol"===k(t)?String(t):t});return new d("Invalid "+a+" `"+o+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+u+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&s(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function h(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],s=T(l);if("object"!==s)return new d("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in l)if(u(l,c)){var f=e(l,c,r,a,o+"."+c,i);if(f instanceof Error)return f}return null}return p(t)}function g(e){function n(t,n,r,a,o){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,r,a,o,i))return null}return new d("Invalid "+a+" `"+o+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var a=0;a<e.length;a++){var o=e[a];if("function"!=typeof o)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+P(o)+" at index "+a+"."),r}return p(n)}function w(e){function t(t,n,r,a,o){var l=t[n],u=T(l);if("object"!==u)return new d("Invalid "+a+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var c=e[s];if(c){var f=c(l,s,r,a,o+"."+s,i);if(f)return f}}return null}return p(t)}function x(e){function t(t,n,r,a,l){var u=t[n],s=T(u);if("object"!==s)return new d("Invalid "+a+" `"+l+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");var c=o({},t[n],e);for(var f in c){var p=e[f];if(!p)return new d("Invalid "+a+" `"+l+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(u,f,r,a,l+"."+f,i);if(y)return y}return null}return p(t)}function E(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(E);if(null===t||e(t))return!0;var n=c(t);if(!n)return!1;var r,a=n.call(t);if(n!==t.entries){for(;!(r=a.next()).done;)if(!E(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!E(o[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function T(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function k(e){if(void 0===e||null===e)return""+e;var t=T(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function P(e){var t=k(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function O(e){return e.constructor&&e.constructor.name?e.constructor.name:N}var S="function"==typeof Symbol&&Symbol.iterator,j="@@iterator",N="<<anonymous>>",M={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return p(r)}(),arrayOf:v,element:function(){function t(t,n,r,a,o){var i=t[n];if(!e(i)){return new d("Invalid "+a+" `"+o+"` of type `"+T(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return p(t)}(),elementType:function(){function e(e,t,n,r,o){var i=e[t];if(!a.isValidElementType(i)){return new d("Invalid "+r+" `"+o+"` of type `"+T(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return p(e)}(),instanceOf:m,node:function(){function e(e,t,n,r,a){return E(e[t])?null:new d("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:h,oneOf:b,oneOfType:g,shape:w,exact:x};return d.prototype=Error.prototype,M.checkPropTypes=l,M.resetWarningCache=l.resetWarningCache,M.PropTypes=M,M}}).call(t,n(18))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var i,l,u=n(e),s=1;s<arguments.length;s++){i=Object(arguments[s]);for(var c in i)a.call(i,c)&&(u[c]=i[c]);if(r){l=r(i);for(var f=0;f<l.length;f++)o.call(i,l[f])&&(u[l[f]]=i[l[f]])}}return u}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";function r(e,n,r,u,s){if("production"!==t.env.NODE_ENV)for(var c in e)if(l(e,c)){var f;try{if("function"!=typeof e[c]){var d=Error((u||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw d.name="Invariant Violation",d}f=e[c](n,c,u,r,null,o)}catch(e){f=e}if(!f||f instanceof Error||a((u||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in i)){i[f.message]=!0;var p=s?s():"";a("Failed "+r+" type: "+f.message+(null!=p?p:""))}}}var a=function(){};if("production"!==t.env.NODE_ENV){var o=n(24),i={},l=Function.call.bind(Object.prototype.hasOwnProperty);a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}r.resetWarningCache=function(){"production"!==t.env.NODE_ENV&&(i={})},e.exports=r}).call(t,n(18))},function(e,t,n){"use strict";function r(){}function a(){}var o=n(24);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){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";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=n(6).PropTypes||n(17),d=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this,t=this.props.className;return c.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("polygon",{points:"29 16 3 0 3 7.2 17.6 16 3 24.8 3 32 29 16"}))}}]),t}(c.Component);d.propTypes={className:f.string},d.defaultProps={className:""};var p=d;t.default=p},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),u=r(n(11)),s=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return s.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(t){e.node=t}},s.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"}))}}]),t}(s.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{version:"1.1",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("g",{id:"Grid","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.0"}),c.default.createElement("g",{id:"Layer_2","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1"}),c.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1.0"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("polygon",{points:"17 15.4 17 6 15 6 15 16.6 23.8 21.7 24.8 19.9 17 15.4"}),a.default.createElement("path",{d:"M16,4A12,12,0,1,1,4,16,12,12,0,0,1,16,4m0-4A16,16,0,1,0,32,16,16,16,0,0,0,16,0Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3) ;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"listen"),a.default.createElement("path",{d:"M21.4,4.8,20,6.2a14,14,0,0,1,0,19.6l1.4,1.4a16,16,0,0,0,0-22.4Z"}),a.default.createElement("path",{d:"M25.6.5,24.2,2a19.9,19.9,0,0,1,0,28.1l1.4,1.4A22,22,0,0,0,25.6.5Z"}),a.default.createElement("polygon",{points:"16 4 10 10 0 10 0 22 10 22 16 28 16 4"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"next-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"next-chevron-title"},"Next"),c.default.createElement("desc",null,"Move to the next page"),c.default.createElement("polygon",{points:"26,16 0,0 0,7.2 14.6,16 0,24.8 0,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"no"),a.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 32 3.5"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"play"),a.default.createElement("polygon",{points:"3 32 29 16 3 0 3 32"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"previous-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"previous-chevron-title"},"Previous"),c.default.createElement("desc",null,"Move to the previous page"),c.default.createElement("polygon",{points:"0,16 26,0 26,7.2 11.4,16 26,24.8 26,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("path",{d:"M16 28C9.4 28 4 22.6 4 16S9.4 4 16 4c.3 0 .7 0 1 .1v-4c-.3-.1-.7-.1-1-.1C7.2 0 0 7.2 0 16s7.2 16 16 16c6.3 0 11.7-3.6 14.3-8.9l-3.5-2c-1.9 4.1-6 6.9-10.8 6.9z"}),a.default.createElement("path",{d:"M15 6v10.6l8.8 5.1 1-1.8-7.8-4.5V6"}),a.default.createElement("circle",{cx:"30",cy:"16",r:"2"}),a.default.createElement("circle",{cx:"28",cy:"9",r:"2"}),a.default.createElement("circle",{cx:"23",cy:"4",r:"2"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className,n=e.height,r=e.width;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:n,viewBox:"0 0 ".concat(r," ").concat(n)},a.default.createElement("title",null,"stop"),a.default.createElement("rect",{width:r,height:n}))};i.propTypes={className:o.string,height:o.number,width:o.number},i.defaultProps={className:"",height:32,width:32};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"search"),a.default.createElement("path",{d:"M32,28.5l-8.2-8.2a13,13,0,1,0-3.5,3.5L28.5,32ZM6.6,19.4A9,9,0,1,1,13,22,8.9,8.9,0,0,1,6.6,19.4Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"yes"),a.default.createElement("polygon",{points:"12.9 28.9 31.9 6.3 28.1 3.1 12.3 21.9 3.3 14.4 0.1 18.2 12.9 28.9"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),u=a(n(14)),s=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,u.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.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}},c.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"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),u=r(n(11)),s=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return s.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(t){e.node=t}},s.default.createElement("g",{id:"Grid"}),s.default.createElement("g",{id:"Layer_2"},s.default.createElement("g",null,s.default.createElement("path",{d:"M16,2L0,30h32L16,2z M18,27h-4v-4h4V27z M14,21V11h4v10H14z"}))))}}]),t}(s.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(43)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,u=e.href,s=e.ariaLabel,c=e.dataATIProps;return o.default.createElement("div",{className:"ec-link-button__container"},o.default.createElement("a",(0,a.default)({tabIndex:0,href:u,className:"ec-link-button__".concat(i),disabled:r,onClick:n,"aria-label":s||t},c),t?o.default.createElement("span",{className:"ec-link-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,href:i.string.isRequired,ariaLabel:i.string,dataATIProps:i.shape({})},l.defaultProps={text:void 0,disabled:!1,children:null,ariaLabel:void 0,dataATIProps:{}};var u=l;t.default=u},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(46)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,u=e.ariaLabel,s=e.buttonClass,c=e.dataAtiProps;return o.default.createElement("div",{className:"ec-button__container ec-button__container-".concat(s)},o.default.createElement("button",(0,a.default)({type:"button",className:"ec-button__".concat(i," ").concat(s),disabled:r,onClick:n,"aria-label":u||t},c),t?o.default.createElement("span",{className:"ec-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,ariaLabel:i.string,buttonClass:i.string,dataAtiProps:i.shape({})},l.defaultProps={text:null,disabled:!1,children:null,ariaLabel:null,buttonClass:"ec-button__default-class",dataAtiProps:{}};var u=l;t.default=u}]);; });</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=46)}([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(13),a=n(29),o=n(18),i=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(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(14)(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(61),a=n(62);e.exports=function(e){return r(a(e))}},function(e,t,n){function r(e){return null==e?void 0===e?l:u:c&&c in Object(e)?o(e):i(e)}var a=n(24),o=n(79),i=n(80),u="[object Null]",l="[object Undefined]",c=a?a.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){n(27)("asyncIterator")},function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(11),a=n(0),o=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(16)?"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),o=n(2),i=n(54),u=n(31),l=n(58).KEY,c=n(14),f=n(12),s=n(59),d=n(5),p=n(17),g=n(28),b=n(27),h=n(60),y=n(66),v=n(13),m=n(6),_=n(7),w=n(18),x=n(20),O=n(67),j=n(70),E=n(71),k=n(1),S=n(21),z=E.f,P=k.f,N=j.f,C=r.Symbol,R=r.JSON,T=R&&R.stringify,q=p("_hidden"),D=p("toPrimitive"),M={}.propertyIsEnumerable,A=f("symbol-registry"),B=f("symbols"),L=f("op-symbols"),G=Object.prototype,I="function"==typeof C,F=r.QObject,W=!F||!F.prototype||!F.prototype.findChild,K=o&&c(function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=z(G,t);r&&delete G[t],P(e,t,n),r&&e!==G&&P(G,t,r)}:P,U=function(e){var t=B[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(L,t,n),v(e),t=w(t,!0),v(n),a(B,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),K(e,t,n)):P(e,t,n)},Y=function(e,t){v(e);for(var n,r=h(t=_(t)),a=0,o=r.length;o>a;)Z(e,n=r[a++],t[n]);return e},$=function(e,t){return void 0===t?O(e):Y(O(e),t)},J=function(e){var t=M.call(this,e=w(e,!0));return!(this===G&&a(B,e)&&!a(L,e))&&(!(t||!a(this,e)||!a(B,e)||a(this,q)&&this[q][e])||t)},V=function(e,t){if(e=_(e),t=w(t,!0),e!==G||!a(B,t)||a(L,t)){var n=z(e,t);return!n||!a(B,t)||a(e,q)&&e[q][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=N(_(e)),r=[],o=0;n.length>o;)a(B,t=n[o++])||t==q||t==l||r.push(t);return r},X=function(e){for(var t,n=e===G,r=N(n?L:_(e)),o=[],i=0;r.length>i;)!a(B,t=r[i++])||n&&!a(G,t)||o.push(B[t]);return o};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(L,n),a(this,q)&&a(this[q],e)&&(this[q][e]=!1),K(this,e,x(1,n))};return o&&W&&K(G,e,{configurable:!0,set:t}),U(e)},u(C.prototype,"toString",function(){return this._k}),E.f=V,k.f=Z,n(37).f=j.f=Q,n(23).f=J,n(36).f=X,o&&!n(16)&&u(G,"propertyIsEnumerable",J,!0),g.f=function(e){return U(p(e))}),i(i.G+i.W+i.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;)b(ne[re++]);i(i.S+i.F*!I,"Symbol",{for:function(e){return a(A,e+="")?A[e]:A[e]=C(e)},keyFor:function(e){if(!H(e))throw TypeError(e+" is not a symbol!");for(var t in A)if(A[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!I,"Object",{create:$,defineProperty:Z,defineProperties:Y,getOwnPropertyDescriptor:V,getOwnPropertyNames:Q,getOwnPropertySymbols:X}),R&&i(i.S+i.F*(!I||c(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(19)(C.prototype,D,C.prototype.valueOf),s(C,"Symbol"),s(Math,"Math",!0),s(r.JSON,"JSON",!0)},function(e,t){e.exports=!1},function(e,t,n){var r=n(12)("wks"),a=n(5),o=n(0).Symbol,i="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=i&&o[e]||(i?o: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(20);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(32),a=n(22);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){var r=n(39),a=r.Symbol;e.exports=a},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(111);e.exports=r},function(e,t,n){var r=n(0),a=n(11),o=n(16),i=n(28),u=n(1).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:i.f(e)})}},function(e,t,n){t.f=n(17)},function(e,t,n){e.exports=!n(2)&&!n(14)(function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(6),a=n(0).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(0),a=n(19),o=n(3),i=n(5)("src"),u=n(55),l=(""+u).split("toString");n(11).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var c="function"==typeof n;c&&(o(n,"name")||a(n,"name",t)),e[t]!==n&&(c&&(o(n,i)||a(n,i,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:u?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[i]||u.call(this)})},function(e,t,n){var r=n(3),a=n(7),o=n(63)(!1),i=n(35)("IE_PROTO");e.exports=function(e,t){var n,u=a(e),l=0,c=[];for(n in u)n!=i&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~o(c,n)||c.push(n));return c}},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(12)("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(32),a=n(22).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(77),o=n(42);e.exports=r},function(e,t,n){var r=n(40),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(78))},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"symbol"==typeof e||o(e)&&a(e)==i}var a=n(8),o=n(9),i="[object Symbol]";e.exports=r},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){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(47),a=n.n(r);Morph.modules["bbc-morph-bitesize-global-navigation-view@1.46.0"]=a.a},function(e,t,n){"use strict";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=9)}([function(e,t){e.exports=n(4)},function(e,t){e.exports=n(48)},function(e,t){e.exports=n(51)},function(e,t){e.exports=n(52)},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","daily-lessons":"Daily lessons","learn-revise":"Learn & revise",learn:"Learn",support:"Support",careers:"Careers","about-us":"About us","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","about-us":"Amdanom ni","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","about-us":"Fúinn","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","about-us":"Mu ar deidhinn","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(53)},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)),o=r(n(1)),i=r(n(2)),u=r(n(13)),l=r(n(5)),c=r(n(3)),f=r(n(7)),s=r(n(4)),d=function(e){return e.toLowerCase().replace(/[^\w]+/,"-")},p=function(e,t,n){return(0,u.default)([n,t],"/bitesize".concat(e.href))},g=function(e){var t=e.buckets,n=e.pageType,r=e.language,o=e.href,u=e.onClick,g=e.showDrawer,b=e.includeLanguageSelector,h=e.linkToHighlight;return c.default.initLocalisations({language:r,localisations:s.default}),a.default.createElement("ul",{className:"global-navigation__list"},t.map(function(e){var t=(0,i.default)("global-navigation__list__item",{"global-navigation__list__item--highlighted":p(e,o,h)});return a.default.createElement("li",{className:t,key:d(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"},c.default.localise(d(e.title)))))}),a.default.createElement("li",null,a.default.createElement("ul",{className:"global-navigation__list__items--pinned"},a.default.createElement("li",{className:(0,i.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,i.default)("global-navigation__list__link-my-bitesize",{"global-navigation__list__link-my-bitesize--no-border":g})},c.default.localise("my-bitesize")))),b&&a.default.createElement("li",{className:"global-navigation__list__item",key:"language-selector"},a.default.createElement(f.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:u,className:(0,i.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"},c.default.localise("all-bitesize")))))))};g.defaultProps={pageType:"",language:"en-GB",includeLanguageSelector:!1,href:null,linkToHighlight:""},g.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,pageType:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,showDrawer:o.default.bool.isRequired,includeLanguageSelector:o.default.bool,linkToHighlight:o.default.string};var b=g;t.default=b,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){"@babel/helpers - typeof";return(o="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(){return i=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},i.apply(this,arguments)}function u(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 c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function f(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&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=b();return function(){var n,r=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return x(e)||w(e,t)||m(e,t)||v()}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,u=e[Symbol.iterator]();!(r=(i=u.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{r||null==u.return||u.return()}finally{if(a)throw o}}return n}}function x(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var O=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),j=r(n(1)),E=r(n(2)),k=r(n(14)),S=r(n(15)),z=function(){var e=new Date;return e.setYear(e.getFullYear()+1),e},P=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:z()})},N=function(e){P("ckps_kl_lang",e),window.location.reload(!0)},C=function(e){return y(k.default.filter(function(t){return t.languageCode===e}),1)[0]||k.default[0]},R=function(e){function t(){var e;return u(this,t),e=n.call(this),e.state={showLanguages:!1},e.close=e.close.bind(g(e)),e.closeClickEvent=e.closeClickEvent.bind(g(e)),e.toggle=e.toggle.bind(g(e)),e.handleKeyPress=e.handleKeyPress.bind(g(e)),e.handleFocusOut=e.handleFocusOut.bind(g(e)),e}f(t,e);var n=d(t);return c(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,o=C(n),u=k.default.filter(function(e){return e.languageCode!==o.languageCode});return O.default.createElement("div",{className:(0,E.default)("global-language-selector",r),ref:function(t){e.languageSelector=t}},O.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")},O.default.createElement("span",{className:"global-language-selector__drawer-text"},o.languageLabel)),O.default.createElement("div",{className:(0,E.default)("global-language-selector__container",{"global-language-selector__container--hidden":!a})},O.default.createElement("ol",{className:"global-language-selector__list"},O.default.createElement(S.default,i({},o,{onClick:N,selected:!0})),u.map(function(e){return O.default.createElement(S.default,i({key:"".concat(e.languageCode)},e,{onClick:N}))}))))}}]),t}(O.Component);R.defaultProps={language:"en-GB",className:""},R.propTypes={language:j.default.string,className:j.default.string};var T=R;t.default=T,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"}],englishBuckets:[{title:"Home",href:""},{title:"daily-lessons",href:"/dailylessons"},{title:"Learn",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"}],mobileBuckets:[{title:"Home",href:""},{title:"learn-revise",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"},{title:"about-us",href:"/articles/z6x992p"}],mobileEnglishBuckets:[{title:"Home",href:""},{title:"daily-lessons",href:"/dailylessons"},{title:"Learn",href:"/learn"},{title:"Support",href:"/support"},{title:"Careers",href:"/careers"},{title:"about-us",href:"/articles/z6x992p"}],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:"Foundation Stage",href:"/levels/znyh7nb",zid:"znyh7nb",aria:"Foundation Stage"},{title:"KS1",href:"/levels/z3g4d2p",zid:"z3g4d2p",aria:"Key Stage one Northern Ireland"},{title:"KS2",href:"/levels/zjmj92p",zid:"zjmj92p",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:"2nd Level",href:"/levels/zr48q6f",zid:"zr48q6f",aria:"Second level"},{title:"A' Chiad Ìre ",href:"/levels/zk3xy9q",zid:"zk3xy9q",aria:"A' Chiad Ìre "},{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:"KS2",href:"/levels/zbr9wmn",zid:"zbr9wmn",aria:"Key Stage two Wales"},{title:"Cyfnod Sylfaen",href:"/levels/z4js6v4",zid:"z4js6v4",aria:"Cyfnod Sylfaen"},{title:"CA2",href:"/levels/zbpwt39",zid:"zbpwt39",aria:"CA2"}]}]},{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",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",href:"/levels/z66jhbk",zid:"z66jhbk",aria:"Core skills level three"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Essential Skills",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"},{section:"about-us",href:"/articles/z6x992p",aria:"About us"}]}},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)),o=r(n(1)),i=r(n(10)),u=r(n(8)),l=function(e){var t=e.language,n=e.href,r=e.pageType,o=e.phase,l=e.headerData;return a.default.createElement(i.default,{language:t,href:n,pageType:r,phase:o,headerData:l,navigationData:u.default,subdirectory:"bitesize"})};l.defaultProps={headerData:{}},l.propTypes={language:o.default.string.isRequired,href:o.default.string.isRequired,pageType:o.default.string.isRequired,phase:o.default.string.isRequired,headerData:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var c=l;t.default=c,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function o(e){"@babel/helpers - typeof";return(o="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 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 l(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),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)}function s(e){var t=g();return function(){var n,r=b(e);if(t){var a=b(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=a();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}(n(0)),y=r(n(1)),v=r(n(11)),m=r(n(19)),_=n(25),w=function(e){function t(e){var r;return i(this,t),r=n.call(this,e),r.state={showDrawer:!1},r.toggleDrawer=r.toggleDrawer.bind(p(r)),r}c(t,e);var n=s(t);return l(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,o=e.href,i=e.phase,u=e.headerData,l=this.state.showDrawer;return h.default.createElement("div",{className:"global-navigation"},h.default.createElement(v.default,{buckets:(0,_.MobileBucketProvider)(n),pageType:t,href:o,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,phase:i,headerData:u}),h.default.createElement(m.default,{allBitesize:a.allBitesize,buckets:(0,_.BucketProvider)(n),href:o,pageType:t,language:n,subdirectory:r,onClick:this.toggleDrawer,showDrawer:l,headerData:u}))}}]),t}(h.Component);w.defaultProps={pageType:"",href:"",subdirectory:"bitesize",language:"en-GB",phase:"",headerData:{href:null}},w.propTypes={navigationData:y.default.shape({allBitesize:y.default.arrayOf({}),buckets:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired}).isRequired).isRequired,mobileBuckets:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired}).isRequired).isRequired}).isRequired,href:y.default.string,pageType:y.default.string,subdirectory:y.default.string,language:y.default.string,phase:y.default.string,headerData:y.default.shape({href:y.default.string,title:y.default.string.isRequired,children:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired})).isRequired})};var x=w;t.default=x,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)),o=r(n(1)),i=r(n(5)),u=r(n(3)),l=r(n(2)),c=r(n(4)),f=r(n(12)),s=function(e){var t=e.buckets,n=e.pageType,r=e.href,o=e.language,s=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.phase,b=e.headerData;return u.default.initLocalisations({language:o,localisations:c.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(s),onMouseEnter:function(e){e.target.classList.add("global-navigation__header__logo__link--animate")}},"Bitesize")),a.default.createElement("button",{type:"button",className:(0,l.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(i.default,null)),a.default.createElement("span",{className:"global-navigation__header__menu-button__text"},u.default.localise("all-bitesize"))),a.default.createElement(f.default,{href:r,buckets:t,pageType:n,language:o,subdirectory:s,showDrawer:p,onClick:d,headerData:b})))};s.displayName="Header",s.defaultProps={href:"",language:"en-GB",pageType:"",phase:"",showDrawer:!1,subdirectory:"bitesize",headerData:{}},s.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,pageType:o.default.string,phase:o.default.string,showDrawer:o.default.bool,subdirectory:o.default.string,headerData:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var d=s;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)),o=r(n(1)),i=r(n(6)),u=r(n(17)),l=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},c=function(e){var t=e.showDrawer,n=e.buckets,r=e.pageType,o=e.language,c=e.href,f=e.onClick,s=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(i.default,{buckets:n,pageType:r,language:o,href:c,onClick:f,showDrawer:t,linkToHighlight:s?s.href:null,includeLanguageSelector:!0})),l(s)&&a.default.createElement(u.default,{submenu:s,currentPage:c}))};c.defaultProps={pageType:"",language:"en-GB",showDrawer:!1,href:null,headerData:{href:null}},c.propTypes={buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,pageType:o.default.string,language:o.default.string,showDrawer:o.default.bool,onClick:o.default.func.isRequired,href:o.default.string,headerData:o.default.shape({href:o.default.string,title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var f=c;t.default=f,e.exports=t.default},function(e,t){e.exports=n(72)},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)),o=r(n(1)),i=r(n(2)),u=r(n(16)),l=function(e){var t=e.label,n=e.onClick,r=e.languageCode,o=e.selected;return a.default.createElement("li",{key:r,className:(0,i.default)("global-language-selector__language",{"global-language-selector__language--selected":o})},a.default.createElement("button",{type:"button",tabIndex:"0",lang:r,className:"global-language-selector__language-link",onClick:function(){return n(r)},"aria-label":o?"".concat(t,", selected"):t},a.default.createElement("span",{className:"global-language-selector__language-label",lang:r},t),o&&a.default.createElement("span",{className:"global-language-selector__icon-yes gel-icon gel-icon--yes"},a.default.createElement(u.default,null))))};l.defaultProps={selected:!1},l.propTypes={label:o.default.string.isRequired,onClick:o.default.func.isRequired,languageCode:o.default.string.isRequired,selected:o.default.bool};var c=l;t.default=c,e.exports=t.default},function(e,t){e.exports=n(103)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(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 u(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(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&&c(e,t)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=p();return function(){var n,r=g(e);if(t){var a=g(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var b=r(n(0)),h=r(n(1)),y=r(n(2)),v=r(n(18)),m=function(e){function t(e){var r;return o(this,t),r=n.call(this,e),r.toggleClick=r.toggleClick.bind(d(r)),r.state={isExpanded:!1},r}l(t,e);var n=f(t);return 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,o=this.state.isExpanded;return b.default.createElement("nav",{className:(0,y.default)("global-navigation__mobile-sub-nav",{"global-navigation__mobile-sub-nav--expanded":o})},b.default.createElement("h3",{className:"global-navigation__mobile-sub-nav-title"},b.default.createElement("button",{type:"button",className:"global-navigation__mobile-sub-nav__toggle",onClick:this.toggleClick,"aria-expanded":o,"aria-controls":"mobile-sub-nav-menu"},b.default.createElement("span",{className:"global-navigation__mobile-sub-nav-title__text"},n),b.default.createElement("span",{className:"global-navigation__chevron__down-svg"},b.default.createElement(v.default,null)))),b.default.createElement("ul",{id:"mobile-sub-nav-menu",className:"global-navigation__mobile-sub-nav-menu",hidden:!o},r.map(function(e){var t=e.title,n=e.href,r=a===n;return b.default.createElement("li",{key:t,className:(0,y.default)("global-navigation__mobile-sub-nav-menu-item",{"global-navigation__mobile-sub-nav-menu-item--highlighted":r})},b.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}(b.default.Component);m.displayName="MobileSubNav",m.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;t.default=_,e.exports=t.default},function(e,t){e.exports=n(104)},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)),o=r(n(1)),i=r(n(20)),u=r(n(6)),l=r(n(7)),c=r(n(24)),f=function(e){return e&&"title"in e&&"children"in e&&e.children.length>0},s=function(e){var t=e.allBitesize,n=e.buckets,r=e.pageType,o=e.language,s=e.subdirectory,d=e.onClick,p=e.showDrawer,g=e.href,b=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(l.default,{language:o}),a.default.createElement(u.default,{buckets:n,pageType:r,language:o,subdirectory:s,onClick:d,showDrawer:p,href:g,linkToHighlight:b?b.href:null})),p&&a.default.createElement(i.default,{language:o,allBitesize:t,subdirectory:s}),f(b)&&a.default.createElement("div",{className:"global-navigation__sub-nav-wrap"},a.default.createElement(c.default,{currentPage:g,submenu:b})))};s.displayName="PrimaryNav",s.defaultProps={pageType:"",subdirectory:"bitesize",language:"en-GB",showDrawer:!1,href:"",headerData:{href:null}},s.propTypes={allBitesize:o.default.arrayOf(o.default.shape({section:o.default.string.isRequired,content:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}))})).isRequired,buckets:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}).isRequired).isRequired,href:o.default.string,pageType:o.default.string,subdirectory:o.default.string,language:o.default.string,onClick:o.default.func.isRequired,showDrawer:o.default.bool,headerData:o.default.shape({href:o.default.string,title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var d=s;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)),o=r(n(1)),i=r(n(21)),u=r(n(22)),l=r(n(23)),c=r(n(3)),f=r(n(4)),s=function(e){return e.toLowerCase().replace(/[^\w]+/g,"-")},d=function(e){var t=e.className,n=e.allBitesize,r=e.subdirectory,o=e.language;return c.default.initLocalisations({language:o,localisations:f.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,u.default)((0,i.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"},c.default.localise(s(e.section)),a.default.createElement(l.default,null)))):a.default.createElement("li",{key:(0,i.default)(e.section),className:"global-navigation__drawer__content-primary-list-item"},a.default.createElement("h2",{className:"global-navigation__drawer__content-primary-list-item__header"},c.default.localise(s(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,u.default)((0,i.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"},c.default.localise(s(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,u.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"},c.default.localise(s(t.title))||t.title))))})))})))}))))};d.defaultProps={className:"global-navigation__drawer",allBitesize:[],subdirectory:"bitesize",language:"en-GB"},d.propTypes={className:o.default.string,allBitesize:o.default.arrayOf(o.default.shape({section:o.default.string.isRequired,content:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired}))})),subdirectory:o.default.string,language:o.default.string};var p=d;t.default=p,e.exports=t.default},function(e,t){e.exports=n(105)},function(e,t){e.exports=n(116)},function(e,t){e.exports=n(117)},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)),o=r(n(1)),i=r(n(2)),u=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,o=n===r;return a.default.createElement("li",{key:t,className:(0,i.default)("global-navigation__sub-nav__menu__item",{"global-navigation__sub-nav__menu__item--selected":o})},a.default.createElement("a",{className:"global-navigation__sub-nav__menu__link",href:r,"data-bbc-container":"global-navigation","aria-current":o?"page":null},t))})))};u.displayName="SubNav",u.propTypes={submenu:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired}).isRequired,currentPage:o.default.string.isRequired};var l=u;t.default=l,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.MobileBucketProvider=t.BucketProvider=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),a=function(e){return"en-GB"===e?r.default.englishBuckets:r.default.buckets};t.BucketProvider=a;var o=function(e){return"en-GB"===e?r.default.mobileEnglishBuckets:r.default.mobileBuckets};t.MobileBucketProvider=o}])},function(e,t,n){e.exports=n(49)()},function(e,t,n){"use strict";function r(){}function a(){}var o=n(50);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var u=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 u.name="Invariant Violation",u}}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 i=n.apply(null,r);i&&e.push(i)}else if("object"===a)for(var u in r)o.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var o={}.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"],o="en-GB",i=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)},u=function(e){var t=e.language,n=e.localisations;a.indexOf(t)>=0&&(o=t),n&&(r=n)},l=function(){return o},c=function(e){if(!r)throw new Error("No localisation data has been set.");if(!r[o])return"";for(var t=r[o][e],n=arguments.length,a=new Array(n>1?n-1:0),u=1;u<n;u++)a[u-1]=arguments[u];return a.length>0?i.apply(void 0,[t].concat(a)):t},f={initLocalisations:u,getLocale:l,localise:c};t.default=f,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 o(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 i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(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 f(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&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);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),u(this,c(t).apply(this,arguments))}return f(t,e),i(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(11),o=n(19),i=n(31),u=n(56),l=function(e,t,n){var c,f,s,d,p=e&l.F,g=e&l.G,b=e&l.S,h=e&l.P,y=e&l.B,v=g?r:b?r[t]||(r[t]={}):(r[t]||{}).prototype,m=g?a:a[t]||(a[t]={}),_=m.prototype||(m.prototype={});g&&(n=t);for(c in n)f=!p&&v&&void 0!==v[c],s=(f?v:n)[c],d=y&&f?u(s,r):h&&"function"==typeof s?u(Function.call,s):s,v&&i(v,c,s,e&l.U),m[c]!=s&&o(m,c,d),h&&_[c]!=s&&(_[c]=s)};r.core=a,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){e.exports=n(12)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(57);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),o=n(3),i=n(1).f,u=0,l=Object.isExtensible||function(){return!0},c=!n(14)(function(){return l(Object.preventExtensions({}))}),f=function(e){i(e,r,{value:{i:"O"+ ++u,w:{}}})},s=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";f(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;f(e)}return e[r].w},p=function(e){return c&&g.NEED&&l(e)&&!o(e,r)&&f(e),e},g=e.exports={KEY:r,NEED:!1,fastKey:s,getWeak:d,onFreeze:p}},function(e,t,n){var r=n(1).f,a=n(3),o=n(17)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(21),a=n(36),o=n(23);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var i,u=n(e),l=o.f,c=0;u.length>c;)l.call(e,i=u[c++])&&t.push(i);return t}},function(e,t,n){var r=n(33);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(64),o=n(65);e.exports=function(e){return function(t,n,i){var u,l=r(t),c=a(l.length),f=o(i,c);if(e&&n!=n){for(;c>f;)if((u=l[f++])!=u)return!0}else for(;c>f;f++)if((e||f in l)&&l[f]===n)return e||f||0;return!e&&-1}}},function(e,t,n){var r=n(34),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(34),a=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?a(e+t,0):o(e,t)}},function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(13),a=n(68),o=n(22),i=n(35)("IE_PROTO"),u=function(){},l=function(){var e,t=n(30)("iframe"),r=o.length;for(t.style.display="none",n(69).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[o[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[i]=e):n=l(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(1),a=n(13),o=n(21);e.exports=n(2)?Object.defineProperties:function(e,t){a(e);for(var n,i=o(t),u=i.length,l=0;u>l;)r.f(e,n=i[l++],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(37).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?u(e):a(r(e))}},function(e,t,n){var r=n(23),a=n(20),o=n(7),i=n(18),u=n(3),l=n(29),c=Object.getOwnPropertyDescriptor;t.f=n(2)?c:function(e,t){if(e=o(e),t=i(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){function r(e,t,n,r){e=o(e)?e:l(e),n=n&&!r?u(n):0;var f=e.length;return n<0&&(n=c(f+n,0)),i(e)?n<=f&&e.indexOf(t,n)>-1:!!f&&a(e,t,n)>-1}var a=n(73),o=n(38),i=n(81),u=n(82),l=n(85),c=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):a(e,o,n)}var a=n(74),o=n(75),i=n(76);e.exports=r},function(e,t){function n(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}e.exports=n},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t,n){function r(e){if(!o(e))return!1;var t=a(e);return t==u||t==l||t==i||t==c}var a=n(8),o=n(41),i="[object AsyncFunction]",u="[object Function]",l="[object GeneratorFunction]",c="[object Proxy]";e.exports=r},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,n){function r(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var a=u.call(e);return r&&(t?e[l]=n:delete e[l]),a}var a=n(24),o=Object.prototype,i=o.hasOwnProperty,u=o.toString,l=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,n){function r(e){return"string"==typeof e||!o(e)&&i(e)&&a(e)==u}var a=n(8),o=n(25),i=n(9),u="[object String]";e.exports=r},function(e,t,n){function r(e){var t=a(e),n=t%1;return t===t?n?t-n:t:0}var a=n(83);e.exports=r},function(e,t,n){function r(e){return e?(e=a(e))===o||e===-o?(e<0?-1:1)*i:e===e?e:0:0===e?e:0}var a=n(84),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return i;if(a(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=c.test(e);return n||f.test(e)?s(e.slice(2),n?2:8):l.test(e)?i:+e}var a=n(41),o=n(43),i=NaN,u=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;e.exports=r},function(e,t,n){function r(e){return null==e?[]:a(e,o(e))}var a=n(86),o=n(87);e.exports=r},function(e,t,n){function r(e,t){return a(t,function(t){return e[t]})}var a=n(44);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(88),o=n(99),i=n(38);e.exports=r},function(e,t,n){function r(e,t){var n=i(e),r=!n&&o(e),f=!n&&!r&&u(e),d=!n&&!r&&!f&&c(e),p=n||r||f||d,g=p?a(e.length,String):[],b=g.length;for(var h in e)!t&&!s.call(e,h)||p&&("length"==h||f&&("offset"==h||"parent"==h)||d&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||l(h,b))||g.push(h);return g}var a=n(89),o=n(90),i=n(25),u=n(92),l=n(94),c=n(95),f=Object.prototype,s=f.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){var r=n(91),a=n(9),o=Object.prototype,i=o.hasOwnProperty,u=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return a(e)&&i.call(e,"callee")&&!u.call(e,"callee")};e.exports=l},function(e,t,n){function r(e){return o(e)&&a(e)==i}var a=n(8),o=n(9),i="[object Arguments]";e.exports=r},function(e,t,n){(function(e){var r=n(39),a=n(93),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,u=i&&i.exports===o,l=u?r.Buffer:void 0,c=l?l.isBuffer:void 0,f=c||a;e.exports=f}).call(t,n(45)(e))},function(e,t){function n(){return!1}e.exports=n},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){var r=n(96),a=n(97),o=n(98),i=o&&o.isTypedArray,u=i?a(i):r;e.exports=u},function(e,t,n){function r(e){return i(e)&&o(e.length)&&!!u[a(e)]}var a=n(8),o=n(42),i=n(9),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(40),a="object"==typeof t&&t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===a,u=i&&r.process,l=function(){try{return o&&o.require&&o.require("util").types||u&&u.binding&&u.binding("util")}catch(e){}}();e.exports=l}).call(t,n(45)(e))},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))u.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(100),o=n(101),i=Object.prototype,u=i.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){var r=n(102),a=r(Object.keys,Object);e.exports=a},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},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 o(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 i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(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 f(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&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);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),u(this,c(t).apply(this,arguments))}return f(t,e),i(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 o(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 i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(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 f(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&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);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),u(this,c(t).apply(this,arguments))}return f(t,e),i(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(106),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(i(o(t).replace(u,"")),e,"")}}var a=n(107),o=n(108),i=n(112),u=RegExp("['’]","g");e.exports=r},function(e,t){function n(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}e.exports=n},function(e,t,n){function r(e){return(e=o(e))&&e.replace(i,a).replace(u,"")}var a=n(109),o=n(26),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,n){var r=n(110),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"},o=r(a);e.exports=o},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(i(e))return o(e,r)+"";if(u(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var a=n(24),o=n(44),i=n(25),u=n(43),l=1/0,c=a?a.prototype:void 0,f=c?c.toString:void 0;e.exports=r},function(e,t,n){function r(e,t,n){return e=i(e),t=n?void 0:t,void 0===t?o(e)?u(e):a(e):e.match(t)||[]}var a=n(113),o=n(114),i=n(26),u=n(115);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+"]",o="[a-z\\xdf-\\xf6\\xf8-\\xff]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:"+o+"|[^\\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])",f="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",s="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",i,u].join("|")+")[\\ufe0e\\ufe0f]?"+f+")*",d="[\\ufe0e\\ufe0f]?"+f+s,p="(?:"+["[\\u2700-\\u27bf]",i,u].join("|")+")"+d,g=RegExp([l+"?"+o+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,l,"$"].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,l+c,"$"].join("|")+")",l+"?"+c+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?: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=++o;return a(e)+t}var a=n(26),o=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 o(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 i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function u(e,t){return!t||"object"!==r(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 f(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&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(10),n(15);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),u(this,c(t).apply(this,arguments))}return f(t,e),i(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.69.0"]={"@babel/runtime":"7.10.5","@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.46.0","bbc-morph-bitesize-header-data":"1.12.0","bbc-morph-bitesize-level":"3.1.0","bbc-morph-bitesize-messaging-view":"1.35.1","bbc-morph-bitesize-personalisation-client-tools":"11.3.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.8.0","bbc-morph-istats":"1.3.0","bbc-morph-istats-internal-link-tracking":"1.0.0","classnames":"2.2.6","lodash":"4.17.19","lodash.endswith":"4.2.1","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=199)}([function(t,e){t.exports=React},function(t,e,n){var r=n(147),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){var n=Array.isArray;t.exports=n},function(t,e,n){t.exports=n(487)()},function(t,e,n){var r=n(117),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},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){n(191)("asyncIterator")},function(t,e,n){"use strict";var r=n(8),o=n(17),i=n(16),u=n(51),a=n(54),c=n(461).KEY,f=n(23),s=n(55),l=n(80),p=n(31),d=n(18),h=n(192),y=n(191),v=n(462),g=n(463),b=n(52),_=n(30),m=n(25),x=n(74),w=n(53),j=n(143),O=n(464),k=n(465),P=n(15),A=n(24),S=k.f,T=P.f,E=O.f,I=r.Symbol,z=r.JSON,R=z&&z.stringify,C=d("_hidden"),M=d("toPrimitive"),W={}.propertyIsEnumerable,B=s("symbol-registry"),L=s("symbols"),D=s("op-symbols"),N=Object.prototype,F="function"==typeof I,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=i&&f(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=S(N,e);r&&delete N[e],T(t,e,n),r&&t!==N&&T(N,e,r)}:T,G=function(t){var e=L[t]=j(I.prototype);return e._k=t,e},V=F&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===N&&K(D,e,n),b(t),e=x(e,!0),b(n),o(L,e)?(n.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),n=j(n,{enumerable:w(0,!1)})):(o(t,C)||T(t,C,w(1,{})),t[C][e]=!0),$(t,e,n)):T(t,e,n)},H=function(t,e){b(t);for(var n,r=v(e=m(e)),o=0,i=r.length;i>o;)K(t,n=r[o++],e[n]);return t},Z=function(t,e){return void 0===e?j(t):H(j(t),e)},Y=function(t){var e=W.call(this,t=x(t,!0));return!(this===N&&o(L,t)&&!o(D,t))&&(!(e||!o(this,t)||!o(L,t)||o(this,C)&&this[C][t])||e)},J=function(t,e){if(t=m(t),e=x(e,!0),t!==N||!o(L,e)||o(D,e)){var n=S(t,e);return!n||!o(L,e)||o(t,C)&&t[C][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=E(m(t)),r=[],i=0;n.length>i;)o(L,e=n[i++])||e==C||e==c||r.push(e);return r},Q=function(t){for(var e,n=t===N,r=E(n?D:m(t)),i=[],u=0;r.length>u;)!o(L,e=r[u++])||n&&!o(N,e)||i.push(L[e]);return i};F||(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===N&&e.call(D,n),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),$(this,t,w(1,n))};return i&&U&&$(N,t,{configurable:!0,set:e}),G(t)},a(I.prototype,"toString",function(){return this._k}),k.f=J,P.f=K,n(193).f=O.f=X,n(57).f=Y,n(77).f=Q,i&&!n(56)&&a(N,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!F,{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=A(d.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!F,"Symbol",{for:function(t){return o(B,t+="")?B[t]:B[t]=I(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),u(u.S+u.F*!F,"Object",{create:Z,defineProperty:K,defineProperties:H,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),z&&u(u.S+u.F*(!F||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[M]||n(14)(I.prototype,M,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){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(237),i=n(240);t.exports=r},function(t,e,n){var r=n(15),o=n(53);t.exports=n(16)?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(52),o=n(135),i=n(74),u=Object.defineProperty;e.f=n(16)?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(23)(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(55)("wks"),o=n(31),i=n(8).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(313),i=n(318);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(27),i=n(314),u=n(315),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;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(42),i=n(205),u=n(206),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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(137),o=n(76);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(138),o=n(140);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,n){function r(t){return u(t)?o(t):i(t)}var o=n(212),i=n(219),u=n(41);t.exports=r},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(309),i=n(311);t.exports=r},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(20),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(164),i=n(166),u=n(168);t.exports=r},function(t,e,n){var r=n(377),o=n(101),i=n(378),u=n(379),a=n(146),c=n(20),f=n(148),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),y=c;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||u&&"[object Set]"!=y(new u)||a&&"[object WeakMap]"!=y(new a))&&(y=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=y},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(413);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(33),i=1/0;t.exports=r},function(t,e){t.exports=Morph.modules["prop-types@15.7.2"]},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(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(114)),s=o(n(490)),l=r(n(0)),p=o(n(67)),d=n(0).PropTypes||n(6),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 y=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);y.propTypes={icon:d.node.isRequired,name:d.string.isRequired,standalone:d.bool.isRequired,onClick:d.func.isRequired,position:d.number.isRequired},y.defaultProps={dataBbc:{}};var v=y;e.default=v},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(116),i=n(68);t.exports=r},function(t,e,n){var r=n(7),o=r.Symbol;t.exports=o},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){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(21),i=n(22),u="[object Symbol]";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(227),i=n(228),u=n(229),a=n(230),c=n(231);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(124);t.exports=r},function(t,e,n){var r=n(13),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(249);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(45),i=1/0;t.exports=r},function(t,e,n){var r=n(8),o=n(29),i=n(14),u=n(54),a=n(291),c=function(t,e,n){var f,s,l,p,d=t&c.F,h=t&c.G,y=t&c.S,v=t&c.P,g=t&c.B,b=h?r:y?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):v&&"function"==typeof l?a(Function.call,l):l,b&&u(b,f,l,t&c.U),_[f]!=l&&i(_,f,p),v&&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(30);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(8),o=n(14),i=n(17),u=n(31)("src"),a=n(290),c=(""+a).split("toString");n(29).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(29),o=n(8),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(56)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e){e.f={}.propertyIsEnumerable},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(59),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(163),i=n(92);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(347),i=n(348),u=n(349),a=n(350),c=n(351);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(93);t.exports=r},function(t,e,n){var r=n(19),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(365);t.exports=r},function(t,e){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},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){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){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(208);t.exports=r},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(225),i=n(276),u=n(283),a=n(5),c=n(284);t.exports=r},function(t,e,n){var r=n(13),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(241),i=n(248),u=n(250),a=n(251),c=n(252);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){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(5),i=n(45),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},function(t,e,n){var r=n(30);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(55)("keys"),o=n(31);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(140);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(15).f,o=n(17),i=n(18)("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,w,j,O,k){var P=e&v;if(!P&&"function"!=typeof t)throw new TypeError(h);var A=r?r.length:0;if(A||(e&=~(_|m),r=w=void 0),O=void 0===O?O:x(d(O),0),k=void 0===k?k:d(k),A-=w?w.length:0,e&m){var S=r,T=w;r=w=void 0}var E=P?void 0:f(t),I=[t,e,n,r,w,S,T,j,O,k];if(E&&s(I,E),t=I[0],e=I[1],n=I[2],r=I[3],w=I[4],k=I[9]=void 0===I[9]?P?0:t.length:x(I[9]-A,0),!k&&e&(g|b)&&(e&=~(g|b)),e&&e!=y)z=e==g||e==b?u(t,e,k):e!=_&&e!=(y|_)||w.length?a.apply(void 0,I):c(t,e,n,r);else var z=i(t,e,n);return p((E?o:l)(z,I),t,e)}var o=n(144),i=n(319),u=n(320),a=n(149),c=n(337),f=n(87),s=n(338),l=n(155),p=n(157),d=n(161),h="Expected a function",y=1,v=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(20),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(59),i=n(86),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(145),o=n(322),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(59),i=n(86);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(159);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(342),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(343),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(12)(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(147),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(12)(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(62),i=n(352),u=n(353),a=n(354),c=n(355),f=n(356);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(19),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(357),i=n(364),u=n(366),a=n(367),c=n(368);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(374),o=n(171),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(167),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(175);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(33),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(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return r=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=r();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}var i=n(197);t.exports=o},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(197),i=n(198);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(486);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){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(21),i=n(44),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(43))},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){var r=n(214),o=n(22),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(215),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(12)(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(216),o=n(217),i=n(218),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(46),i=n(232),u=n(233),a=n(234),c=n(235),f=n(236);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){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(253),i=n(22);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 y=-1,v=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++y<p;){var b=t[y],_=e[y];if(r)var m=l?r(_,b,y,e,t,s):r(b,_,y,t,e,s);if(void 0!==m){if(m)continue;v=!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)})){v=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){v=!1;break}}return s.delete(t),s.delete(e),v}var o=n(254),i=n(257),u=n(258),a=1,c=2;t.exports=r},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(44);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(131);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(132),i=n(50);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(5),i=n(73),u=n(277),a=n(133);t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(134);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(42),i=n(118),u=n(5),a=n(45),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e,n){t.exports=!n(16)&&!n(23)(function(){return 7!=Object.defineProperty(n(136)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(30),o=n(8).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(17),o=n(25),i=n(294)(!1),u=n(75)("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(139);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(298),o=n(299),i=n(79),u=n(25);t.exports=n(300)(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(52),o=n(302),i=n(76),u=n(75)("IE_PROTO"),a=function(){},c=function(){var t,e=n(136)("iframe"),r=i.length;for(e.style.display="none",n(303).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(82),o=n(145),i=o?function(t,e){return o.set(t,e),t}:r;t.exports=i},function(t,e,n){var r=n(146),o=r&&new r;t.exports=o},function(t,e,n){var r=n(19),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(43))},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,w,j,O,k){function P(){for(var d=arguments.length,h=Array(d),y=d;y--;)h[y]=arguments[y];if(E)var v=f(P),g=u(h,v);if(_&&(h=o(h,_,m,E)),x&&(h=i(h,x,w,E)),d-=g,E&&d<k){var b=l(h,v);return c(t,e,r,P.placeholder,n,h,b,j,O,k-d)}var R=S?n:this,C=T?R[t]:t;return d=h.length,j?h=s(h,j):I&&d>1&&h.reverse(),A&&O<d&&(h.length=O),this&&this!==p&&this instanceof P&&(C=z||a(C)),C.apply(R,h)}var A=e&g,S=e&d,T=e&h,E=e&(y|v),I=e&b,z=T?void 0:a(t);return P}var o=n(150),i=n(151),u=n(321),a=n(58),c=n(152),f=n(160),s=n(336),l=n(91),p=n(1),d=1,h=2,y=8,v=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,y,v,g,b){var _=e&s,m=_?y:void 0,x=_?void 0:y,w=_?h:void 0,j=_?void 0:h;e|=_?l:p,(e&=~(_?p:l))&f||(e&=~(a|c));var O=[t,e,d,w,m,j,x,v,g,b],k=n.apply(void 0,O);return o(t)&&i(k,O),k.placeholder=r,u(k,t,e)}var o=n(153),i=n(155),u=n(157),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(85),i=n(87),u=n(154),a=n(324);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(323),i=Object.prototype,u=i.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(144),o=n(156),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(326),i=n(327),u=n(158),a=n(330);t.exports=r},function(t,e,n){var r=n(328),o=n(156),i=o(r);t.exports=i},function(t,e,n){var r=n(19),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(339);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(61),i=n(34);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(92),i=n(93),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):[],y=h.length;for(var v in t)!e&&!l.call(t,v)||d&&("length"==v||s&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||h.push(v);return h}var o=n(341),i=n(94),u=n(2),a=n(95),c=n(90),f=n(165),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(344),o=n(97),i=n(98),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(99),i=n(345),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(83),i=n(96);t.exports=r},function(t,e,n){function r(t,e,n,R,C,M){var W,B=e&k,L=e&P,D=e&A;if(n&&(W=C?n(t,R,C,M):n(t)),void 0!==W)return W;if(!w(t))return t;var N=_(t);if(N){if(W=v(t),!B)return s(t,W)}else{var F=y(t),q=F==T||F==E;if(m(t))return f(t,B);if(F==I||F==S||q&&!C){if(W=L||q?{}:b(t),!B)return L?p(t,c(W,t)):l(t,a(W,t))}else{if(!z[F])return C?t:{};W=g(t,F,B)}}M||(M=new o);var U=M.get(t);if(U)return U;if(M.set(t,W),j(t))return t.forEach(function(o){W.add(r(o,e,n,o,t,M))}),W;if(x(t))return t.forEach(function(o,i){W.set(i,r(o,e,n,i,t,M))}),W;var $=D?L?h:d:L?keysIn:O,G=N?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,M))}),W}var o=n(100),i=n(89),u=n(163),a=n(162),c=n(369),f=n(372),s=n(60),l=n(373),p=n(375),d=n(173),h=n(376),y=n(35),v=n(380),g=n(381),b=n(386),_=n(2),m=n(95),x=n(387),w=n(11),j=n(389),O=n(34),k=1,P=2,A=4,S="[object Arguments]",T="[object Function]",E="[object GeneratorFunction]",I="[object Object]",z={};z[S]=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[T]=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(164),i=n(370),u=n(168);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(104),o=n(105),i=n(103),u=n(171),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(174),i=n(103),u=n(34);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(104),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(396),i=n(409),u=n(82),a=n(2),c=n(417);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(398),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 y=-1,v=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++y<p;){var b=t[y],_=e[y];if(r)var m=l?r(_,b,y,e,t,s):r(b,_,y,t,e,s);if(void 0!==m){if(m)continue;v=!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)})){v=!1;break}}else if(b!==_&&!f(b,_,n,r,s)){v=!1;break}}return s.delete(t),s.delete(e),v}var o=n(399),i=n(402),u=n(403),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(182),i=n(37);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(107),u=n(183),a=n(36);t.exports=r},function(t,e,n){var r=n(411),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(421),i=n(424),u=n(158);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(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(187)),i=r(n(66)),u=function(){return window.Promise||(window.Promise=o.default),new o.default(function(t,e){requirejs(["idcta-v2/id-config"],function(n){n.getConfigAsync().then(function(n){n["id-availability"]&&"RED"!==n["id-availability"]?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"undefined"!=typeof window&&window.Morph&&""!==window.Morph.config.pushEnv?window.Morph.config.pushEnv:"test"},i=function(){return window&&window.location&&window.location.hostname&&window.location.hostname.indexOf("bbc.co.uk")>-1?"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")},y={getUASHost:f,getUASApiKey:c,getNewtonHost:s,getNewtonApiKey:l,getIdHost:p,getMorphPushProxyHost:d,getBBCHost:h,getEnv:o};e.default=y,t.exports=e.default},function(t,e,n){var r=n(8),o=n(29),i=n(56),u=n(192),a=n(15).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(18)},function(t,e,n){var r=n(137),o=n(76).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(38)),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(e){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},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(200),o=n.n(r);Morph.modules["bbc-morph-bitesize-header-view@8.69.0"]=o.a},function(t,e,n){"use strict";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=44)}([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(24)),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!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"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!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"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!"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}},"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"},messagingBanner:{title:"Daily lessons coming soon",subtitle:"Beginning Monday 20 April, BBC Bitesize will publish daily online lessons for all ages. We'll also have a new dedicated TV channel full of learning content, podcasts on BBC Sounds and loads of educational video on iPlayer.",linkText:"More about home learning"}}},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(201)},function(t,e){t.exports=n(223)},function(t,e,n){var r=function(t){return t&&t.__esModule?t:{default:t}}(n(3)),o=["https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id","https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/fec8c8c7-8826-443b-8649-faaa98627e16#id"],i=[{label:"Year 1 and P2 lessons",slug:"year-1-and-p2-lessons",zid:"zjpqqp3",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id"},{label:"Year 2 and P3 lessons",slug:"year-2-and-p3-lessons",zid:"z7s22sg",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id"},{label:"Year 3 and P4 lessons",slug:"year-3-and-p4-lessons",zid:"zmyxxyc",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id"},{label:"Year 4 and P5 lessons",slug:"year-4-and-p5-lessons",zid:"z63tt39",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id"},{label:"Year 5 and P6 lessons",slug:"year-5-and-p6-lessons",zid:"zhgppg8",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id"},{label:"Year 6 and P7 lessons",slug:"year-6-and-p7-lessons",zid:"zncsscw",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id"},{label:"Year 7 and S1 lessons",slug:"year-7-and-s1-lessons",zid:"zf9yy9q",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id"},{label:"Year 8 and S2 lessons",slug:"year-8-and-s2-lessons",zid:"zvdbbdm",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id"},{label:"Year 9 and S3 lessons",slug:"year-9-and-s3-lessons",zid:"zbjrrj6",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id"},{label:"Year 10 and S4 lessons",slug:"year-10-and-s4-lessons",zid:"zr7447h",url:"https://web.archive.org/web/20200804134034/http://www.bbc.co.uk/things/fec8c8c7-8826-443b-8649-faaa98627e16#id"}],u=function(t){return(0,r.default)(t,function(t){return o.indexOf(t.url)>-1})},a=function(t){var e=(0,r.default)(i,function(e){return e.url===t.url});return e?{label:e.label,zid:e.zid,path:"/bitesize/tags/".concat(e.zid,"/").concat(e.slug)}:null},c=function(t){return"zmnmmfr"===t||void 0!==(0,r.default)(i,function(e){return e.zid===t})};t.exports={findAgeTag:u,getExtraData:a,showPlanningBanner:c}},function(t,e){t.exports=n(288)},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(66)},function(t,e){t.exports=n(442)},function(t,e){t.exports=n(443)},function(t,e){t.exports=n(450)},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(9)),i=r(n(8)),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(451)},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(t){"@babel/helpers - typeof";return(i="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 u(){return u=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},u.apply(this,arguments)}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){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)}function p(t){var e=y();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?h(t):e}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var g=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),b=r(n(14)),_=r(n(15)),m=r(n(16)),x=r(n(17)),w=r(n(18)),j=r(n(2)),O=n(19),k=r(n(4)),P=r(n(20)),A=r(n(42)),S=function(t,e){return(0,b.default)("header-image-no-logo",{"header-image-container--in-app":t},{"header-image-container--no-illustration":!e})},T=function(t,e,n){return(0,b.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})},E=function(t){var e=["programme-of-study","examspecs","primary-index"];return(0,j.default)(e,t)},I=function(t,e){var n=["zgkw2hv","zjxhfg8","z6svr82","z826n39","zv48q6f","z2pfb9q","zyhbwmn","zvnrq6f","zwxhfg8","zdm3nrd","zbkw2hv","z7hs34j"],r=["primary-index"];return(0,j.default)(n,e)||(0,j.default)(r,t)},z=function(t,e){return E(t)&&!I(t,e)},R=function(t){function e(t){var n;return a(this,e),n=r.call(this,t),n.state={notificationMessage:"",notificationError:!1},n}s(e,t);var r=p(e);return f(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.phase,r=t.fosZid;n(43);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,a=e.pageType,c=e.headerData,f=e.zid,s=e.language,l=e.messagingBannerType,p=this.state,d=p.notificationMessage,h=p.notificationError,y=["index-page","flashcards","tags","collection-index"],v=!r&&["primary-index","quizzes"].indexOf(a)<0,b=function(e,n){t.setState({notificationMessage:e,notificationError:n})},j=E(a),I=z(a,f);return g.default.createElement("div",null,g.default.createElement("div",{className:T(n,a,r)}),g.default.createElement(w.default,{message:d,notificationClearedAction:function(){t.state.notificationMessage="",t.state.notificationError=!1},isError:h}),g.default.createElement("div",null,!r&&g.default.createElement(_.default,u({},this.props,{headerData:c})),l&&g.default.createElement(m.default,{language:s,bannerType:l}),k.default.showPlanningBanner(f)&&g.default.createElement("div",{className:"bitesize-header__planning-banner-".concat(a)},g.default.createElement(m.default,{language:s,bannerType:"planning"})),g.default.createElement(x.default,{fosZid:o,className:S(r,j)},i&&g.default.createElement("p",{className:"preview-panel"},"THIS IS A PREVIEW PAGE"),y.indexOf(a)<0&&g.default.createElement(P.default,u({},this.props,{displayPartialWidth:I,displaySubjectIllustration:j,setNotificationMessage:b,showPartOf:v})),j&&g.default.createElement(A.default,{pageHasPartialWidthContextPanel:I,url:(0,O.getIllustrationUrl)(this.props)}))))}}]),e}(g.Component);R.displayName="Header",R.defaultProps={description:"",zid:null,topicId:null,label:"",isPreview:void 0,numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,fosZid:"",subdirectory:"education",globalNav:"false",phase:"",messagingBannerType:"",isTaggedWithMultipleTopics:!1,headerData:{}},R.propTypes={description:g.PropTypes.string,messagingBannerType:g.PropTypes.string,fosZid:g.PropTypes.string,label:g.PropTypes.string,language:g.PropTypes.string.isRequired,numberOfClassClips:g.PropTypes.number,numberOfLearnerGuides:g.PropTypes.number,hasTopics:g.PropTypes.bool,pageType:g.PropTypes.string.isRequired,zid:g.PropTypes.string,topicId:g.PropTypes.string,isPreview:g.PropTypes.string,subdirectory:g.PropTypes.string,globalNav:g.PropTypes.string,phase:g.PropTypes.string,isInApp:g.PropTypes.bool.isRequired,isTaggedWithMultipleTopics:g.PropTypes.bool,headerData:g.PropTypes.shape({title:g.PropTypes.string.isRequired,href:g.PropTypes.string.isRequired,children:g.PropTypes.arrayOf(g.PropTypes.shape({title:g.PropTypes.string.isRequired,href:g.PropTypes.string.isRequired})).isRequired})};var C=R;e.default=C,t.exports=e.default},function(t,e){t.exports=n(67)},function(t,e){t.exports=n(456)},function(t,e){t.exports=n(457)},function(t,e){t.exports=n(458)},function(t,e){t.exports=n(460)},function(t,e,n){var r=function(t){return"primary-index"===t.pageType?"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/images/phases/primary/".concat(t.pageType,".png"):"https://web.archive.org/web/20200804134034/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){"@babel/helpers - typeof";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){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}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),a=o(n(2)),c=o(n(21)),f=o(n(22)),s=o(n(26)),l=n(6),p=o(n(27)),d=o(n(30)),h=o(n(40)),y=function(t,e,n){var r="404"!==t,o=""!==e;return r&&o&&!n},v=function(t,e,n){var r=["z98jmp3","z6gw2hv","zdpp34j","z8w76sg","zp3d7ty","z8hhvcw","zkdqxnb","zqq4wxs"];return!n&&(0,a.default)(r,t)&&"guide"===e},g=function(t,e){var n=["zmnmmfr"];return!e&&!(0,a.default)(n,t)},b=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},_=function(t){return"context-panel".concat(t?" context-panel--partial-width":"")},m=function(t,e){return!t&&e?"context-panel__info-container":null},x=function(t){return"context-panel__description".concat("primary-index"===t?" context-panel__description--large":"")},w=function(t){var e=t.contentId,n=t.description,r=t.hasTopics,o=t.label,i=t.language,a=t.levelId,w=t.levelLabel,j=t.examspecLabel,O=t.numberOfClassClips,k=t.numberOfLearnerGuides,P=t.pageType,A=t.zid,S=t.duration,T=t.subdirectory,E=t.isInApp,I=t.setNotificationMessage,z=t.showPartOf,R=t.displayPartialWidth,C=t.displaySubjectIllustration,M=b(o,w,j);return u.default.createElement("header",{className:_(R)},y(P,w,E)&&u.default.createElement(c.default,t),u.default.createElement("div",{className:m(R,C)},u.default.createElement("div",{className:"context-panel__header-container"},"guide"===P&&u.default.createElement("h2",{className:"context-panel__header"},M),"guide"!==P&&u.default.createElement("h1",{className:"context-panel__header"},M)),n&&u.default.createElement("div",{className:"context-panel__description-container"},u.default.createElement("p",{className:x(P)},n)),z&&u.default.createElement(p.default,t),!r&&("clips"===P||k>0)&&u.default.createElement(f.default,{subdirectory:T,language:i,numberOfClassClips:O,numberOfLearnerGuides:k,pageType:P,zid:A}),!r&&(0,l.validateDuration)(S)&&u.default.createElement(s.default,{duration:S,language:i}),g(A,E)&&u.default.createElement(d.default,{contentId:e,pageType:P,setNotificationMessage:I,language:i}),v(a,P,E)&&u.default.createElement(h.default,{zid:e,language:i})))};w.displayName="ContextPanel",w.defaultProps={contentId:"",description:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",topicId:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",duration:"",isInApp:!1,showPartOf:!0,displaySubjectIllustration:!1},w.propTypes={contentId:u.PropTypes.string,description:u.PropTypes.string,label:u.PropTypes.string.isRequired,language:u.PropTypes.string.isRequired,numberOfClassClips:u.PropTypes.number,numberOfLearnerGuides:u.PropTypes.number,hasTopics:u.PropTypes.bool,pageType:u.PropTypes.string.isRequired,zid:u.PropTypes.string,topicId:u.PropTypes.string,levelLabel:u.PropTypes.string,examspecLabel:u.PropTypes.string,subdirectory:u.PropTypes.string,examspecId:u.PropTypes.string,levelId:u.PropTypes.string,duration:u.PropTypes.string,isInApp:u.PropTypes.bool,setNotificationMessage:u.PropTypes.func.isRequired,showPartOf:u.PropTypes.bool,displayPartialWidth:u.PropTypes.bool.isRequired,displaySubjectIllustration:u.PropTypes.bool};var j=w;e.default=j,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){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;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){var e=t.levelLabel,n=t.levelId,r=t.examspecLabel,o=t.examspecId,u=t.subdirectory;return i.default.createElement("div",{className:"level-filter"},i.default.createElement("div",{className:"level-filter__items"},i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-level",href:"/".concat(u,"/levels/").concat(n),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"level"})},e)),r&&i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-examspec",href:"/".concat(u,"/examspecs/").concat(o),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"examspec"})},r))))};u.displayName="LevelFilter",u.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},u.propTypes={levelLabel:i.PropTypes.string,levelId:i.PropTypes.string,examspecLabel:i.PropTypes.string,examspecId:i.PropTypes.string,subdirectory:i.PropTypes.string};var a=u;e.default=a,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";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){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}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),a=o(n(23)),c=o(n(25)),f=function(t){var e=t.pageType;return u.default.createElement("div",{className:"resource-counter__container"},"clips"===e?u.default.createElement(a.default,t):u.default.createElement(c.default,t))};f.displayName="ResourceCounter",f.propTypes={pageType:u.PropTypes.string.isRequired};var s=f;e.default=s,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";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){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(){return u=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},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=o(n(5)),f=o(n(1)),s=(0,c.default)(function(t){return a.default.createElement("a",u({className:"resource-counter__container-link"},t),t.children)}),l=function(t){return t>1?"plural":"singular"},p=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,i=t.zid,u=(0,f.default)(e),c=r>0&&n>0?" + ":"";return a.default.createElement("p",{className:"resource-counter__container-text"},r>0&&a.default.createElement(s,{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(i),iStatsAction:"learner_guides",iStatsType:"click"},u("counter.guides.".concat(l(r)),{numberOfLearnerGuides:r})),c,n>0&&u("counter.clips.".concat(l(n)),{numberOfClassClips:n}))};p.displayName="ClipsResourceCounter",p.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},p.propTypes={language:a.PropTypes.string.isRequired,numberOfClassClips:a.PropTypes.number,numberOfLearnerGuides:a.PropTypes.number,subdirectory:a.PropTypes.string,zid:a.PropTypes.string.isRequired};var d=p;e.default=d,t.exports=e.default},function(t,e){t.exports=n(130)},function(t,e,n){function r(t){"@babel/helpers - typeof";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){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(){return u=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},u.apply(this,arguments)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=o?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=o(n(5)),f=o(n(1)),s=(0,c.default)(function(t){return a.default.createElement("a",u({className:"resource-counter__container-link"},t),t.children)}),l=function(t){return t>1?"plural":"singular"},p=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,i=(0,f.default)(e);return a.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i("counter.guides.".concat(l(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&a.default.createElement(s,{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1"),iStatsAction:"class_clips",iStatsType:"click"},i("counter.clips.".concat(l(n)),{numberOfClassClips:n})))};p.displayName="TopicsResourceCounter",p.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},p.propTypes={language:a.PropTypes.string.isRequired,numberOfClassClips:a.PropTypes.number,numberOfLearnerGuides:a.PropTypes.number,zid:a.PropTypes.string.isRequired};var d=p;e.default=d,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){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;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=n(6),a=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),c=function(t){var e=t.language,n=t.duration,r=(0,a.default)(e),o=(0,u.formatDuration)(n);return""!==o?i.default.createElement("div",{className:"context-panel__duration"},i.default.createElement("span",null,r("duration",{clipDuration:o}))):i.default.createElement("span",null)};c.displayName="Duration",c.propTypes={language:i.PropTypes.string.isRequired,duration:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=i(n(10)),a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),c=i(n(28)),f=i(n(3)),s=i(n(2)),l=i(n(29)),p=i(n(4)),d=["programme-of-study","field-of-study"],h=function(t,e,n,r){if(p.default.findAgeTag(r))return{label:"Daily lessons",link:"/".concat(t,"/dailylessons")};var o=["Support","Careers"],i=r&&(0,f.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")}},y=function(t){var e=t.subdirectory,n=t.tags,r=t.topicLabel,o=t.topicId,i=t.language,u=t.crumbtrailData.body,f=t.stubs,s=(0,c.default)(u,"type"),p=r?{label:r,id:o}:s["topic-of-study"],d=h(e,s["programme-of-study"],p,n);return a.default.createElement(l.default,{subdirectory:e,language:i,context:d,topic:p,stubs:f})},v=function(t){var e=t.crumbtrail,n=t.language,r=t.stubs,o=t.subdirectory,i=(0,c.default)(e,"type"),u=i["programme-of-study"],f=i["topic-of-study"],s=h(o,u);return a.default.createElement(l.default,{subdirectory:o,language:n,context:s,topic:f,stubs:r})},g=u.default.create(y,{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}}}}),b=function(t){var e=t.pageType;return(0,s.default)(d,e)?a.default.createElement(v,t):a.default.createElement(g,t)};b.displayName="ContextLabelContainer",b.defaultProps={subdirectory:"",language:"en-GB",tags:[],topicLabel:void 0,topicId:void 0,stubs:[],crumbtrail:[]},b.propTypes={subdirectory:a.PropTypes.string,language:a.PropTypes.string,crumbtrail:a.PropTypes.arrayOf(a.PropTypes.shape({id:a.PropTypes.string.isRequired,type:a.PropTypes.string.isRequired,label:a.PropTypes.string.isRequired}).isRequired),tags:a.PropTypes.arrayOf(a.PropTypes.shape({label:a.PropTypes.string})),topicLabel:a.PropTypes.string,topicId:a.PropTypes.string,stubs:a.default.PropTypes.shape({id:a.default.PropTypes.string.isRequired,label:a.default.PropTypes.string.isRequired,path:a.default.PropTypes.string.isRequired})};var _=b;e.default=_,t.exports=e.default},function(t,e){t.exports=n(467)},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){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;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){return null!==t.match(/subjects/)?"part-of-subject":null!==t.match(/topics/)?"part-of-topic":"part-of-section"},c=function(t){var e=t.context,n=t.language,r=t.stubs,o=(0,u.default)(n),c=e.label,f=e.link,s=e&&null!==c.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("a",{className:"context-label__item-link",href:f,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(a(f))})},o(c)||c)),r.map(function(t){return i.default.createElement("div",{className:"context-label__item"},i.default.createElement("a",{className:"context-label__item-link",href:t.path,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(a(t.path))})},t.label))})))};c.displayName="ContextLabel",c.defaultProps={topic:{},language:"en-GB",stubs:[]},c.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 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(t){"@babel/helpers - typeof";return(i="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 u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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 c(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function f(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&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=r(n(7)),b=r(n(8)),_=r(n(31)),m=r(n(32)),x=r(n(33)),w=r(n(34)),j=r(n(9)),O=r(n(35)),k=r(n(11)),P=r(n(1)),A=r(n(36)),S=function(t){return t?"favourited":"unfavourited"},T=function(t){return S(!t)},E=function(t){return"guide"===t||"blocks"===t},I=function(t){return"guide"===t?"study-guide":"article"},z=function(t){function e(t){var r;u(this,e),r=n.call(this,t);var o=(0,P.default)(t.language);return r.localisations={buttonText:o("buttonText"),errorMessage:o("errorSavingNotification"),signInUpsellToolTipTitle:o("signInUpsellToolTipTitle"),signInUpsellToolTipText:o("signInUpsellToolTipText")},r.state={featureEnabled:!1,isFavourited:!1,saveInProgress:!1,uasClientType:I(t.pageType),isSignedIn:!1},r.save=r.save.bind(d(r)),r.getButtonContent=r.getButtonContent.bind(d(r)),r}f(e,t);var n=l(e);return c(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.contentId,r=e.pageType,o=this.state.uasClientType;E(r)&&(this.setState({featureEnabled:!0}),b.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(S(e));return e?{buttonClass:o,text:r.added,icon:v.default.createElement(x.default,null),hoverText:r.remove,hoverIcon:v.default.createElement(w.default,null),savingText:r.removing,iStatsAction:"remove_cta",saveInProgress:n}:{buttonClass:o,text:r.addToMyBitesize,icon:v.default.createElement(m.default,null),hoverText:r.addToMyBitesize,hoverIcon:v.default.createElement(m.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(_.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(m.default,null),v.default.createElement("span",null,o.addToMyBitesize));return v.default.createElement(O.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}),g.default.track(s,"click"),k.default.submitFavourite(a,T(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);z.propTypes={contentId:v.PropTypes.string.isRequired,pageType:v.PropTypes.string.isRequired,setNotificationMessage:v.PropTypes.func.isRequired,language:v.PropTypes.string.isRequired};var R=z;e.default=R,t.exports=e.default},function(t,e){t.exports=n(196)},function(t,e){t.exports=n(478)},function(t,e){t.exports=n(479)},function(t,e){t.exports=n(480)},function(t,e){t.exports=n(481)},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(t){"@babel/helpers - typeof";return(i="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 u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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 c(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}function f(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&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var v=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),g=r(n(7)),b=r(n(37)),_=r(n(38)),m=r(n(39)),x=function(){g.default.track("sign-in-cta","click")},w=function(){g.default.track("register","click")},j=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").addEventListener("click",x),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").addEventListener("click",w)},O=function(){document.querySelector(".my-bitesize__idcta-container .id4-cta-signin").removeEventListener("click",x),document.querySelector(".my-bitesize__idcta-container .id4-cta-register").removeEventListener("click",w)},k=function(t){function e(t){var r;return u(this,e),r=n.call(this,t),r.state={idcta:void 0},r}f(e,t);var n=l(e);return c(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props,n=e.language,r=e.purposeText;b.default.checkFlagpole().then(function(){var e=window.location.href;(0,_.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&&O()}},{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(m.default,null))}}]),e}(v.default.Component);k.defaultProps={language:"en-GB",purposeText:""},k.propTypes={language:v.PropTypes.string,purposeText:v.PropTypes.string};var P=k;e.default=P,t.exports=e.default},function(t,e){t.exports=n(188)},function(t,e){t.exports=n(482)},function(t,e){t.exports=n(483)},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){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;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=n(41),a=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),c=function(t){var e=t.zid,n=t.language,r="https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/guides/".concat(e),o=(0,a.default)(n),c=o("shareTools"),f=c.ctaText,s=c.headerText,l=c.readMoreText,p=c.copyLinkText,d=c.copiedText;return i.default.createElement("span",{className:"bitesize-sharetools"},i.default.createElement("span",{className:"bitesize-sharetools__standalone-buttons"},i.default.createElement(u.Twitter,{link:r,position:0,standalone:!0}),i.default.createElement(u.Facebook,{link:r,position:1,standalone:!0}),i.default.createElement(u.WhatsApp,{link:r,position:2,standalone:!0})),i.default.createElement(u.SharePanel,{ctaText:f,headerText:s,readMoreText:l},i.default.createElement(u.Twitter,{link:r,position:0}),i.default.createElement(u.Facebook,{link:r,position:1}),i.default.createElement(u.WhatsApp,{link:r,position:2}),i.default.createElement(u.CopyLinkBox,{link:r,shareText:p,copiedText:d,position:3})))};c.displayName="BitesizeShareTools",c.propTypes={zid:i.PropTypes.string.isRequired,language:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e){t.exports=n(484)},function(t,e,n){function r(t){"@babel/helpers - typeof";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(){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;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=i?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),u=function(t){var e=t.pageHasPartialWidthContextPanel,n=t.url;return i.default.createElement("span",{className:e?"bitesize-header__subject-illustration--partial-width":"bitesize-header__subject-illustration",style:{backgroundImage:"url(".concat(n,")")}})};u.propTypes={pageHasPartialWidthContextPanel:i.PropTypes.bool.isRequired,url:i.PropTypes.string.isRequired};var a=u;e.default=a,t.exports=e.default},function(t,e){t.exports=n(498)},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(10)),f=r(n(45)),s=r(n(46)),l=r(n(47)),p=r(n(48)),d=r(n(49)),h=r(n(50)),y=r(n(51)),v=r(n(52)),g=r(n(54)),b=r(n(55)),_=r(n(56)),m=r(n(57)),x=r(n(58)),w=r(n(59)),j=r(n(61)),O=r(n(62)),k=r(n(63)),P=r(n(64)),A={"all-subjects":p.default,blocks:x.default,clips:l.default,clip:s.default,"collection-index":j.default,examspecs:d.default,"field-of-study":h.default,flashcards:w.default,guide:y.default,"index-page":w.default,levels:v.default,"programme-of-study":g.default,"primary-index":k.default,tags:O.default,topic:b.default,quizzes:P.default,404:_.default,500:m.default},S=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].getData(n)},T=function(t){var e=t.pageType,n=i(t,["pageType"]);return A[e].parseData(n)},E=function(t){return a.default.createElement(f.default,o({},t,{parseData:T}))},I=c.default.create(E,{data:function(t){return S(t)?{context:{uri:S(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),z=function(t){if(t.pageType in A)return a.default.createElement(I,t);throw new Error("".concat(t.pageType," is an invalid page type"))},R=z;e.default=R,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(t){"@babel/helpers - typeof";return(i="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 u(){return u=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},u.apply(this,arguments)}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){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)}function p(t){var e=y();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?h(t):e}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var g=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var a=r?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(n,u,a):n[u]=t[u]}return n.default=t,e&&e.set(t,n),n}(n(0)),b=r(n(3)),_=r(n(13)),m=r(n(11)),x=function(t){function e(){return a(this,e),n.apply(this,arguments)}s(e,t);var n=p(e);return f(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&&m.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,a=t.subdirectory,c=t.zid,f=t.topicId,s=t.context.body,l=t.levels,p=t.isInApp,d=t.messagingBannerType,h=r({pageType:o,data:s,language:e,zid:c,topicId:f}),y="";if(l){var v=(0,b.default)(l.body,function(t){return t.id===h.levelId});y=v?v.phase:""}return g.default.createElement(_.default,u({href:n,language:e,pageType:o,isPreview:i,subdirectory:a,phase:y,isInApp:p,messagingBannerType:d},h))}}]),e}(g.Component);x.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:"",messagingBannerType:""},x.propTypes={zid:g.PropTypes.string,topicId:g.PropTypes.string,pageType:g.PropTypes.string.isRequired,href:g.PropTypes.string,parseData:g.PropTypes.func.isRequired,context:g.PropTypes.oneOfType([g.PropTypes.shape({body:g.PropTypes.shape()}),g.PropTypes.shape({body:g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string.isRequired,description:g.PropTypes.string.isRequired,programmeOfStudy:g.PropTypes.shape({label:g.PropTypes.string.isRequired}),fieldOfStudy:g.PropTypes.shape({label:g.PropTypes.string})})}),g.PropTypes.array]),levels:g.PropTypes.shape({body:g.PropTypes.arrayOf(g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string,description:g.PropTypes.string,lowerAge:g.PropTypes.number,phase:g.PropTypes.string,subLevelOf:g.PropTypes.string,type:g.PropTypes.string,upperAge:g.PropTypes.number,nations:g.PropTypes.arrayOf(g.PropTypes.shape({id:g.PropTypes.string.isRequired,label:g.PropTypes.string.isRequired,type:g.PropTypes.string}))}))}),globalNav:g.PropTypes.string,language:g.PropTypes.string.isRequired,subdirectory:g.PropTypes.string.isRequired,isPreview:g.PropTypes.string,isInApp:g.PropTypes.bool,messagingBannerType:g.PropTypes.string};var w=x;e.default=w,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(12),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(53)),i=r(n(2)),u=r(n(1)),a=function(t){return{data:"bbc-morph-bitesize-level",levelId:t.zid}},c=function(t){var e=["zvbc87h","zc9d7ty","zfxmtv4"];return!!(0,i.default)(e,t)},f=function(t){return Object.assign((0,o.default)(t.language),{primaryLabel:"Learn & Revise",primaryLink:""})},s=function(t){var e=t.data,n=t.language,r=t.zid,o="subjects";return c(r)&&(o="levels"),{label:(0,u.default)(n)(o),fosZid:"",description:e.description,zid:r,levelLabel:e.label,levelId:r}},l=function(t){return t.zid?s(t):f(t)},p={getData:a,parseData:l};e.default=p,t.exports=e.default},function(t,e){t.exports=n(499)},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){return t&&t.__esModule?t:{default:t}}function o(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 i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){u(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function u(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 a=r(n(3)),c=r(n(4)),f=function(t){return{data:"bbc-morph-blocks-article-data",projectName:"blocks-bitesize",zid:t.zid,preview:t.preview,timestamp:t.timestamp}},s=function(t,e){return e&&t&&t.length?(0,a.default)(t,function(t){return t.id===e}):null},l=function(t,e){var n=t.topics;if(n&&n.length){var r=s(n,e)||n[0],o=r.id,u=r.label,a=r.fieldOfStudy,c=r.keyStage,f=r.examSpecification,l=[{id:o,label:u,path:"/bitesize/topics/".concat(o)}];return i({levelLabel:c.label,levelId:c.id,examspecLabel:f.label,examspecId:f.id,stubs:l,fosZid:a.id},n.length>1?{topicId:o}:{})}return null},p=function(t){var e=t.tags,n=c.default.findAgeTag(e);if(!n)return null;var r=c.default.getExtraData(n);return{stubs:[{id:r.zid,label:r.label,path:r.path}]}},d=function(t,e){var n=l(t,e);return n||p(t)},h=function(t){var e=t.data,n=t.topicId,r=e.headline,o=e.topics,u=e.tags,a=o&&1===o.length,c=o&&o.length>1;return i({label:r,zid:a?o[0].id:e.id,contentId:e.id,tags:u,isTaggedWithMultipleTopics:c},d(e,n))},y={getData:f,parseData:h};e.default=y,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),o=function(t){return t&&t.__esModule?t:{default:t}}(n(60)),i=(0,r.omitBy)(r.isNil),u=function(t){var e=t.href,n=t.language,r=void 0===n?"en-GB":n,u=t.cacheBuster;if(e&&(0,o.default)(e,"support")||(0,o.default)(e,"careers"))return i({data:"bbc-morph-bitesize-header-data",pageType:"index-page",href:e,language:r,cacheBuster:u})},a=function(t){return{headerData:t.data}},c={getData:u,parseData:a};e.default=c,t.exports=e.default},function(t,e){t.exports=n(500)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(12),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(12),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){var e=t.data,n=t.zid;return{headerData:e||{},zid:n}},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){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){},i={getData:r,parseData:o};e.default=i,t.exports=e.default}])},function(t,e,n){function r(t,e,n,r){t=i(t)?t:c(t),n=n&&!r?a(n):0;var s=t.length;return n<0&&(n=f(s+n,0)),u(t)?n<=s&&t.indexOf(e,n)>-1:!!s&&o(t,e,n)>-1}var o=n(202),i=n(41),u=n(207),a=n(69),c=n(210),f=Math.max;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(115),i=n(203),u=n(204);t.exports=r},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){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(42),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"string"==typeof t||!i(t)&&u(t)&&o(t)==a}var o=n(21),i=n(5),u=n(22),a="[object String]";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(209),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(44),i=n(45),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){function r(t){return null==t?[]:o(t,i(t))}var o=n(211),i=n(28);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(118);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):[],y=h.length;for(var v in t)!e&&!l.call(t,v)||d&&("length"==v||s&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,y))||h.push(v);return h}var o=n(213),i=n(119),u=n(5),a=n(120),c=n(121),f=n(122),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(21),i=n(22),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(21),i=n(68),u=n(22),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(117),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(12)(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(220),i=n(221),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(222),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(224),o=n(287),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(70),i=n(41),u=n(28);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(226),i=n(275),u=n(129);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 y=new o;if(r)var v=r(d,h,p,t,e,y);if(!(void 0===v?i(h,d,u|a,r,y):v))return!1}}return!0}var o=n(123),i=n(126),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(47),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(47);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(47);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(47);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(46);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(46),i=n(71),u=n(72),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(116),i=n(238),u=n(44),a=n(125),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){return!!i&&i in t}var o=n(239),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(242),i=n(46),u=n(71);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(243),i=n(244),u=n(245),a=n(246),c=n(247);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(48);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(48),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(48),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(48),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(49);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(49);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(49);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(49);t.exports=r},function(t,e,n){function r(t,e,n,r,v,b){var _=f(t),m=f(e),x=_?h:c(t),w=m?h:c(e);x=x==d?y:x,w=w==d?y:w;var j=x==y,O=w==y,k=x==w;if(k&&s(t)){if(!s(e))return!1;_=!0,j=!1}if(k&&!j)return b||(b=new o),_||l(t)?i(t,e,n,r,v,b):u(t,e,x,n,r,v,b);if(!(n&p)){var P=j&&g.call(t,"__wrapped__"),A=O&&g.call(e,"__wrapped__");if(P||A){var S=P?t.value():t,T=A?e.value():e;return b||(b=new o),v(S,T,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(123),i=n(127),u=n(259),a=n(263),c=n(270),f=n(5),s=n(120),l=n(122),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",v=Object.prototype,g=v.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(72),i=n(255),u=n(256);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,j,k){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!j(new i(t),new i(e)));case p:case d:case v:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case y:var P=c;case b:var A=r&s;if(P||(P=f),t.size!=e.size&&!A)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var T=a(P(t),P(e),r,o,j,k);return k.delete(t),T;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(42),i=n(260),u=n(124),a=n(127),c=n(261),f=n(262),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",y="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",j=o?o.prototype:void 0,O=j?j.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 y=!0;c.set(t,e),c.set(e,t);for(var v=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):_)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){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)&&(y=!1)}return c.delete(t),c.delete(e),y}var o=n(264),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(265),i=n(267),u=n(28);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(266),i=n(5);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(268),o=n(269),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){var r=n(271),o=n(71),i=n(272),u=n(273),a=n(274),c=n(21),f=n(125),s=f(r),l=f(o),p=f(i),d=f(u),h=f(a),y=c;(r&&"[object DataView]"!=y(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=y(new o)||i&&"[object Promise]"!=y(i.resolve())||u&&"[object Set]"!=y(new u)||a&&"[object WeakMap]"!=y(new a))&&(y=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=y},function(t,e,n){var r=n(13),o=n(7),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(13),o=n(7),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(13),o=n(7),i=r(o,"Set");t.exports=i},function(t,e,n){var r=n(13),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(128),i=n(28);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(126),i=n(130),u=n(280),a=n(73),c=n(128),f=n(129),s=n(50),l=1,p=2;t.exports=r},function(t,e,n){var r=n(278),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(279),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(72),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(281),i=n(282);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(132),i=n(119),u=n(5),a=n(121),c=n(68),f=n(50);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(285),i=n(286),u=n(73),a=n(50);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(131);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(115),i=n(70),u=n(69),a=Math.max;t.exports=r},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(289),n(297),n(142),n(305),n(307);var a=r(n(308)),c=r(n(0)),f=(r(n(38)),r(n(66))),s=n(430),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(51);r(r.S+r.F,"Object",{assign:n(293)})},function(t,e,n){t.exports=n(55)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(292);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(24),o=n(77),i=n(57),u=n(78),a=n(138),c=Object.assign;t.exports=!c||n(23)(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),y=h.length,v=0;y>v;)l.call(d,p=h[v++])&&(n[p]=d[p]);return n}:c},function(t,e,n){var r=n(25),o=n(295),i=n(296);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(141),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(141),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(142),o=n(24),i=n(54),u=n(8),a=n(14),c=n(79),f=n(18),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),y=0;y<h.length;y++){var v,g=h[y],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(v in r)m[v]||i(m,v,r[v],!0)}},function(t,e,n){var r=n(18)("unscopables"),o=Array.prototype;void 0==o[r]&&n(14)(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(56),o=n(51),i=n(54),u=n(14),a=n(79),c=n(301),f=n(80),s=n(304),l=n(18)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,y,v,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)}},w=e+" Iterator",j="values"==y,O=!1,k=t.prototype,P=k[l]||k["@@iterator"]||y&&k[y],A=P||x(y),S=y?j?x("entries"):A:void 0,T="Array"==e?k.entries||P:P;if(T&&(m=s(T.call(new t)))!==Object.prototype&&m.next&&(f(m,w,!0),r||"function"==typeof m[l]||u(m,l,d)),j&&P&&"values"!==P.name&&(O=!0,A=function(){return P.call(this)}),r&&!g||!p&&!O&&k[l]||u(k,l,A),a[e]=A,a[w]=d,y)if(b={values:j?A:x("values"),keys:v?A:x("keys"),entries:S},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(143),o=n(53),i=n(80),u={};n(14)(u,n(18)("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(15),o=n(52),i=n(24);t.exports=n(16)?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(8).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(17),o=n(78),i=n(75)("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(78),o=n(24);n(306)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(51),o=n(29),i=n(23);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(15).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(16)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(32),o=r("mapValues",n(426));o.placeholder=n(26),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(P.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 S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!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 v(t,e,n){return P.rearg&&n>1&&(E||!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=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.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=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.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))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?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 P={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},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="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,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=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 L(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 P.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(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(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 j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(310),l=n(26),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(312),assign:n(162),clone:n(346),curry:n(391),forEach:n(89),isArray:n(2),isError:n(392),isFunction:n(83),isWeakMap:n(394),iteratee:n(395),keys:n(166),rearg:n(420),toInteger:n(161),toPath:n(425)}},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(81),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(83),i=n(316),u=n(11),a=n(148),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(27),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(317),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(58),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 y=i<3&&p[0]!==h&&p[i-1]!==h?[]:f(p,h);return(i-=y.length)<n?a(t,e,u,r.placeholder,void 0,p,y,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(84),i=n(58),u=n(149),a=n(152),c=n(160),f=n(91),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(85),i=n(88),u=n(86),a=n(2),c=n(3),f=n(325),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(85),i=n(88),u=n(60);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(329),o=n(159),i=n(82),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(89),i=n(331),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(332);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(333),i=n(334),u=n(335);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(60),i=n(90),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(84),i=n(58),u=n(1),a=1;t.exports=r},function(t,e,n){function r(t,e){var n=t[1],r=e[1],y=n|r,v=y<(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(!v&&!g)return t;r&c&&(t[2]=e[2],y|=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]=y,t}var o=n(150),i=n(151),u=n(91),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(340),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(33),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(20),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(20),i=n(96),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(167),o=r(Object.keys,Object);t.exports=o},function(t,e,n){function r(t){return o(t,i)}var o=n(169),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(63),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(63);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(63);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(63);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(62);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(62),i=n(101),u=n(102),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(358),i=n(62),u=n(101);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(359),i=n(360),u=n(361),a=n(362),c=n(363);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(64);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(64),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(64),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(64),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(65);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(65);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(65);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(65);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(61),i=n(170);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(99),u=n(371),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(12)(t))},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(61),i=n(103);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(61),i=n(172);t.exports=r},function(t,e,n){function r(t){return o(t,u,i)}var o=n(174),i=n(172),u=n(170);t.exports=r},function(t,e,n){var r=n(19),o=n(1),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(19),o=n(1),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(19),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 w:case j:case O:case k:case P:case A:return c(t,n);case l:return new r;case p:case y:return new r(t);case d:return u(t);case h:return new r;case v:return a(t)}}var o=n(106),i=n(382),u=n(383),a=n(384),c=n(385),f="[object Boolean]",s="[object Date]",l="[object Map]",p="[object Number]",d="[object RegExp]",h="[object Set]",y="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",b="[object DataView]",_="[object Float32Array]",m="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",j="[object Int32Array]",O="[object Uint8Array]",k="[object Uint8ClampedArray]",P="[object Uint16Array]",A="[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(106);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(27),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(106);t.exports=r},function(t,e,n){function r(t){return"function"!=typeof t.constructor||u(t)?{}:o(i(t))}var o=n(59),i=n(105),u=n(99);t.exports=r},function(t,e,n){var r=n(388),o=n(97),i=n(98),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(35),i=n(3),u="[object Map]";t.exports=r},function(t,e,n){var r=n(390),o=n(97),i=n(98),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(35),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(81),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(20),i=n(3),u=n(393),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(20),i=n(105),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(35),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(169),i=n(176),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(397),i=n(408),u=n(180);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 y=new o;if(r)var v=r(d,h,p,t,e,y);if(!(void 0===v?i(h,d,u|a,r,y):v))return!1}}return!0}var o=n(100),i=n(177),u=1,a=2;t.exports=r},function(t,e,n){function r(t,e,n,r,v,b){var _=f(t),m=f(e),x=_?h:c(t),w=m?h:c(e);x=x==d?y:x,w=w==d?y:w;var j=x==y,O=w==y,k=x==w;if(k&&s(t)){if(!s(e))return!1;_=!0,j=!1}if(k&&!j)return b||(b=new o),_||l(t)?i(t,e,n,r,v,b):u(t,e,x,n,r,v,b);if(!(n&p)){var P=j&&g.call(t,"__wrapped__"),A=O&&g.call(e,"__wrapped__");if(P||A){var S=P?t.value():t,T=A?e.value():e;return b||(b=new o),v(S,T,n,r,b)}}return!!k&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(100),i=n(178),u=n(404),a=n(407),c=n(35),f=n(2),s=n(95),l=n(165),p=1,d="[object Arguments]",h="[object Array]",y="[object Object]",v=Object.prototype,g=v.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(102),i=n(400),u=n(401);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,j,k){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!j(new i(t),new i(e)));case p:case d:case v:return u(+t,+e);case h:return t.name==e.name&&t.message==e.message;case g:case _:return t==e+"";case y:var P=c;case b:var A=r&s;if(P||(P=f),t.size!=e.size&&!A)return!1;var S=k.get(t);if(S)return S==e;r|=l,k.set(t,e);var T=a(P(t),P(e),r,o,j,k);return k.delete(t),T;case m:if(O)return O.call(t)==O.call(e)}return!1}var o=n(27),i=n(175),u=n(93),a=n(178),c=n(405),f=n(406),s=1,l=2,p="[object Boolean]",d="[object Date]",h="[object Error]",y="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",_="[object String]",m="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",j=o?o.prototype:void 0,O=j?j.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 y=!0;c.set(t,e),c.set(e,t);for(var v=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):_)){y=!1;break}v||(v="constructor"==d)}if(y&&!v){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)&&(y=!1)}return c.delete(t),c.delete(e),y}var o=n(173),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(179),i=n(34);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(177),i=n(410),u=n(414),a=n(107),c=n(179),f=n(180),s=n(37),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(181);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(412),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(102),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(27),i=n(184),u=n(2),a=n(33),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(415),i=n(416);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(182),i=n(94),u=n(2),a=n(90),c=n(96),f=n(37);t.exports=r},function(t,e,n){function r(t){return u(t)?o(a(t)):i(t)}var o=n(418),i=n(419),u=n(107),a=n(37);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(181);t.exports=r},function(t,e,n){var r=n(81),o=n(185),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(422);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(104),i=n(423);t.exports=r},function(t,e,n){function r(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=n(27),i=n(94),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(84),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(184),i=n(60),u=n(2),a=n(33),c=n(183),f=n(37),s=n(36);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(92),i=n(427),u=n(176);t.exports=r},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(428),i=n(34);t.exports=r},function(t,e,n){var r=n(429),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(431)),i=r(n(433)),u=r(n(437)),a=r(n(440)),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(32),o=r("replace",n(432));o.placeholder=n(26),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(36);t.exports=r},function(t,e,n){var r=n(32),o=r("deburr",n(434),n(186));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(t){return(t=i(t))&&t.replace(u,o).replace(a,"")}var o=n(435),i=n(36),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(436),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(32),o=r("flow",n(438));o.placeholder=n(26),t.exports=o},function(t,e,n){var r=n(439),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 y=e[r];if("function"!=typeof y)throw new TypeError(s);if(i&&!v&&"wrapper"==a(y))var v=new o([],!0)}for(r=v?r:n;++r<n;){y=e[r];var g=a(y),b="wrapper"==g?u(y):void 0;v=b&&f(b[0])&&b[1]==(d|l|p|h)&&!b[4].length&&1==b[9]?v[a(b[0])].apply(v,b[3]):1==y.length&&f(y)?v[g]():v.thru(y)}return function(){var t=arguments,r=t[0];if(v&&1==t.length&&c(r))return v.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(88),i=n(185),u=n(87),a=n(154),c=n(2),f=n(153),s="Expected a function",l=8,p=32,d=128,h=256;t.exports=r},function(t,e,n){var r=n(32),o=r("toLower",n(441),n(186));o.placeholder=n(26),t.exports=o},function(t,e,n){function r(t){return o(t).toLowerCase()}var o=n(36);t.exports=r},function(t,e,n){"use strict";var r=n(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(187)),i=r(n(66)),u=r(n(188)),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(108);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(444));n(189);var i=n(445),u=n(190),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},y=function(t,e){return{resourceId:"".concat(a,"blocks-bitesize:").concat(t),resourceDomain:"learning",resourceType:f.article,metaData:(0,o.default)(c,e)}},v=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},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()})},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()}).then(function(t){return t.items})},O=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return j("/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))},P=function(t){return _("/my/follows",t)},A=function(t){return w("/my/follows/".concat(t))},S=function(t){return j("/my/follows".concat(x(t)))},T=function(t){return _("/my/reads",h(t))},E=function(t){return j("/my/reads".concat(x(t)))},I=function(t,e){return _("/my/reads",y(t,e))},z=function(t){return _("/my/favourites",d(t))},R=function(t,e){return j("/my/favourites/unlimited?resourceDomain=learning&action=favourited&resourceType=".concat(s(e))).then(function(n){return(0,i.some)({resourceId:v(t,e)},n)})},C=function(t){return j("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},M={getFollow:A,getFollows:S,getSavedForLater:O,postFollow:P,postFollows:k,getReads:E,postRead:T,postReadForAnArticle:I,postFavourite:z,isFavourited:R,isArticleRead:C};e.default=M,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(446).runInContext();t.exports=n(447)(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 y(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 v(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,w,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 w(t){return t!==t}function j(t,e){var n=null==t?0:t.length;return n?S(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 P(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function A(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].c;return t}function S(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 T(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function E(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 C(t,e){for(var n=-1,r=t.length;++n<r&&-1<m(e,t[n],0););return n}function M(t,e){for(var n=t.length;n--&&-1<m(e,t[n],0););return n}function W(t){return"\\"+Bt[t]}function B(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function L(t,e){return function(n){return t(e(n))}}function D(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 N(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function F(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=Et.lastIndex=0;Et.test(t);)++e;t=e}else t=te(t);return t}function U(t){return zt.test(t)?t.match(Et)||[]: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]],H=/\b__p\+='';/g,Z=/\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=/,? & /,yt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,wt=/^0o[0-7]+$/i,jt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kt=/($^)/,Pt=/['\n\r\u2028\u2029\\]/g,At="[\\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])?)*",St=RegExp("['’]","g"),Tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Et=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])"+At,"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 ]/,Ct="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(" "),Mt={};Mt["[object Float32Array]"]=Mt["[object Float64Array]"]=Mt["[object Int8Array]"]=Mt["[object Int16Array]"]=Mt["[object Int32Array]"]=Mt["[object Uint8Array]"]=Mt["[object Uint8ClampedArray]"]=Mt["[object Uint16Array]"]=Mt["[object Uint32Array]"]=!0,Mt["[object Arguments]"]=Mt["[object Array]"]=Mt["[object ArrayBuffer]"]=Mt["[object Boolean]"]=Mt["[object DataView]"]=Mt["[object Date]"]=Mt["[object Error]"]=Mt["[object Function]"]=Mt["[object Map]"]=Mt["[object Number]"]=Mt["[object Object]"]=Mt["[object RegExp]"]=Mt["[object Set]"]=Mt["[object String]"]=Mt["[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 Bt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lt=parseFloat,Dt=parseInt,Nt="object"==typeof t&&t&&t.Object===Object&&t,Ft="object"==typeof self&&self&&self.Object===Object&&self,qt=Nt||Ft||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&&Nt.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Ht=Kt&&Kt.isArrayBuffer,Zt=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 Fr(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 At(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 Et(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 Bt(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 Nt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Bt;++e<n;)this.add(t[e])}function Ft(t){this.size=(this.__data__=new Et(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)?T(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)||Ar(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 Br(Mn(t),pe(e,0,t.length))}function Kt(t){return Br(Mn(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,Co(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=Ho(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=jr(t),!c)return Mn(t,u)}else{var l=vu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return Tn(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Ln(t,fe(u,t)):Bn(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=kr(t,l,c)}}if(i||(i=new Ft),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?yr:hr:f?Co: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 ye(n,t,e)}}function ye(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 ve(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 Nt(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 y=f;y--;)if(e[y]===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&&!jo(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=Pr),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 we(t,e){return t&&au(t,e,Ro)}function je(t,e){return t&&cu(t,e,Ro)}function Oe(t,e){return s(e,function(e){return yo(t[e])})}function ke(t,e){e=An(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Lr(e[n++])];return n&&n==r?t:$}function Pe(t,e,n){return e=e(t),ua(t)?e:h(e,n(t))}function Ae(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 Se(t,e){return t>e}function Te(t,e){return null!=t&&ai.call(t,e)}function Ee(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=Ho(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Bi(s.length,c),a[u]=!n&&(e||120<=o&&120<=s.length)?new Nt(u&&s):$}var s=t[0],h=-1,y=a[0];t:for(;++h<o&&f.length<c;){var v=s[h],g=e?e(v):v,v=n||0!==v?v:0;if(y?!R(y,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}y&&y.push(g),f.push(v)}}return f}function ze(t,e,n){var r={};return we(t,function(t,o,i){e(r,n(t),o,i)}),r}function Re(t,e,n){return e=An(e,t),t=2>e.length?t:ke(t,pn(e,0,-1)),e=null==t?t:t[Lr(Vr(e))],null==e?$:i(e,t,n)}function Ce(t){return _o(t)&&"[object Arguments]"==Ae(t)}function Me(t){return _o(t)&&"[object ArrayBuffer]"==Ae(t)}function We(t){return _o(t)&&"[object Date]"==Ae(t)}function Be(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]":vu(t),c=u?"[object Array]":vu(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 Ft),e=i||da(t)?lr(t,e,n,r,Be,o):pr(t,e,a,n,r,Be,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 Ft),e=Be(t,e,n,r,o);break t}if(c)e:if(o||(o=new Ft),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&&!Be(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 Le(t){return _o(t)&&"[object Map]"==vu(t)}function De(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 Ft,r)var l=r(f,s,c,t,e,a);if(l===$?!Be(s,f,3,r,a):!l)return!1}}return!0}function Ne(t){return!(!bo(t)||fi&&fi in t)&&(yo(t)?di:xt).test(Dr(t))}function Fe(t){return _o(t)&&"[object RegExp]"==Ae(t)}function qe(t){return _o(t)&&"[object Set]"==vu(t)}function Ue(t){return _o(t)&&go(t.length)&&!!Mt[Ae(t)]}function $e(t){return"function"==typeof t?t:null==t?Fo:"object"==typeof t?ua(t)?Ze(t[0],t[1]):He(t):Go(t)}function Ge(t){if(!Ir(t))return Mi(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)?Ho(t.length):[];return iu(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function He(t){var e=mr(t);return 1==e.length&&e[0][2]?zr(e[0][0],e[0][1]):function(n){return n===t||De(n,t,e)}}function Ze(t,e){return Tr(t)&&e===e&&!bo(e)?zr(Lr(t),e):function(n){var r=Io(n,t);return r===$&&r===e?zo(n,t):Be(e,r,3)}}function Ye(t,e,n,r,o){t!==e&&au(e,function(i,u){if(o||(o=new Ft),bo(i)){var a=o,c=Cr(t,u),f=Cr(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=Mn(c):d?(l=!1,s=Tn(f,!0)):h?(l=!1,s=In(f,!0)):s=[]:xo(f)||ia(f)?(s=c,ia(c)?s=To(c):bo(c)&&!yo(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(Cr(t,u),i,u+"",t,e,o):$,a===$&&(a=i),te(t,u,a)},Co)}function Je(t,e){var n=t.length;if(n)return e+=0>e?n:0,Ar(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[Fo],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),A(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,An(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=Mn(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;Ar(o)?xi.call(t,o,1):mn(t,o)}}}function on(t,e){return t+Ei(Ni()*(e-t+1))}function un(t,e){var n="";if(!t||1>e||9007199254740991<e)return n;do{e%2&&(n+=t),(e=Ei(e/2))&&(t+=t)}while(e);return n}function an(t,e){return mu(Rr(t,e,Fo),t+"")}function cn(t){return $t(Wo(t))}function fn(t,e){var n=Wo(t);return Br(n,pe(e,0,n.length))}function sn(t,e,n,r){if(!bo(t))return t;e=An(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Lr(e[o]),f=n;if(o!=u){var s=a[c],f=r?r(s,c,a):$;f===$&&(f=bo(s)?s:Ar(e[o+1])?[]:{})}ie(a,c,f),a=a[c]}return t}function ln(t){return Br(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=Ho(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&&!jo(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return yn(t,e,Fo,n)}function yn(t,e,n,r){e=n(e);for(var o=0,i=null==t?0:t.length,u=e!==e,a=null===e,c=jo(e),f=e===$;o<i;){var s=Ei((o+i)/2),l=n(t[s]),p=l!==$,d=null===l,h=l===l,y=jo(l);(u?r||h:f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!y):d||y?0:r?l<=e:l<e)?o=s+1:i=s}return Bi(i,4294967294)}function vn(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:jo(t)?V:+t}function bn(t){if("string"==typeof t)return t;if(ua(t))return d(t,bn)+"";if(jo(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 N(o);u=!1,o=R,c=new Nt}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=An(e,t),null==(t=2>e.length?t:ke(t,pn(e,0,-1)))||delete t[Lr(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 wn(t,e){var n=t;return n instanceof k&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function jn(t,e,n){var r=t.length;if(2>r)return r?_n(t[0]):[];for(var o=-1,i=Ho(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 Pn(t){return"function"==typeof t?t:Fo}function An(t,e){return ua(t)?t:Tr(t,e)?[t]:xu(Eo(t))}function Sn(t,e,n){var r=t.length;return n=n===$?r:n,!e&&n>=r?t:pn(t,e,n)}function Tn(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 En(t){var e=new t.constructor(t.byteLength);return new vi(e).set(new vi(t)),e}function In(t,e){return new t.constructor(e?En(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=jo(t),u=e!==$,a=null===e,c=e===e,f=jo(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=Ho(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 Cn(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=Ho(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 Mn(t,e){var n=-1,r=t.length;for(e||(e=Ho(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 Bn(t,e){return Wn(t,hu(t),e)}function Ln(t,e){return Wn(t,yu(t),e)}function Dn(t,e){return function(n,r){var o=ua(n)?u:ae,i=e?e():{};return o(n,t,br(r,2),i)}}function Nn(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&&Sr(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 Fn(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=Eo(e);var n=zt.test(e)?U(e):$,r=n?n[0]:e.charAt(0);return e=n?Sn(n,1).join(""):e.slice(1),r[t]()+e}}function Gn(t){return function(e){return y(Do(Lo(e).replace(St,"")),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=Ho(u),c=u,f=gr(r);c--;)a[c]=arguments[c];return c=3>u&&a[0]!==f&&a[u-1]!==f?[]:D(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 Hn(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 Zn(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"==vr(u))var a=new o([],!0)}for(r=a?r:n;++r<n;)var u=e[r],i=vr(u),c="wrapper"==i?du(u):$,a=c&&Er(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?a[vr(c[0])].apply(a,c[3]):1==u.length&&Er(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=Ho(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=Cn(b,i,u,h)),g-=m,h&&g<f)return x=D(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 w=Bi(a.length,m),j=Mn(b);w--;){var O=a[w];b[w]=Ar(O,m)?j[O]:$}}else y&&1<g&&b.reverse();return l&&c<g&&(b.length=c),this&&this!==qt&&this instanceof s&&(_=v||Vn(_)),_.apply(x,b)}var l=128&e,p=1&e,d=2&e,h=24&e,y=512&e,v=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,Ti(t/q(e))),zt.test(e)?Sn(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=Ho(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&&Sr(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(Ti((n-e)/(r||1)),0);for(var i=Ho(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=So(e),n=So(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),Er(t)&&bu(n,o),n.placeholder=r,Mr(n,t,e)}function ir(t){var e=Xo[t];return function(t,n){if(t=So(t),(n=null==n?0:Bi(Po(n),292))&&Ri(t)){var r=(Eo(t)+"e").split("e"),r=e(r[0]+"e"+(+r[1]+n)),r=(Eo(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ur(t){return function(e){var n=vu(e);return"[object Map]"==n?B(e):"[object Set]"==n?F(e):E(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(Po(u),0),a=a===$?a:Po(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?D(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Cn(r,n,p[6]):n,i[6]=r?D(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Bi(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),Mr((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 Nt:$;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 vi(t),new vi(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=B;case"[object Set]":if(a||(a=N),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 Pe(t,Ro,hu)}function yr(t){return Pe(t,Co,yu)}function vr(t){for(var e=t.name+"",n=Zi[e],r=ai.call(Zi,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 Ne(n)?n:$}function wr(t,e,n){e=An(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Lr(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)&&Ar(u,o)&&(ua(t)||ia(t))}function jr(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 En(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?En(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 Pr(t){return ua(t)||ia(t)||!!(wi&&t&&t[wi])}function Ar(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&jt.test(t))&&-1<t&&0==t%1&&t<e}function Sr(t,e,n){if(!bo(n))return!1;var r=typeof e;return!!("number"==r?lo(n)&&Ar(e,n.length):"string"==r&&e in n)&&so(n[e],t)}function Tr(t,e){if(ua(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!jo(t))||it.test(t)||!ot.test(t)||null!=e&&t in Qo(e)}function Er(t){var e=vr(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=Ho(u);++o<u;)a[o]=r[e+o];for(o=-1,u=Ho(e+1);++o<e;)u[o]=r[o];return u[e]=n(a),i(t,this,u)}}function Cr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Mr(t,e,n){var r=e+"";e=mu;var o,i=Nr;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=Li(),o=16-(r-n);if(n=r,0<o){if(800<=++e)return arguments[0]}else e=0;return t.apply($,arguments)}}function Br(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 Lr(t){if("string"==typeof t||jo(t))return t;var e=t+"";return"0"==e&&1/t==-G?"-0":e}function Dr(t){if(null!=t){try{return ui.call(t)}catch(t){}return t+""}return""}function Nr(t,e){return a(K,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Fr(t){if(t instanceof k)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Mn(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:Po(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=Po(n),o=0>n?Wi(r+o,0):Bi(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 Hr(t){return null==t?t:Fi.call(t)}function Zr(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}),T(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Zr(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=Po(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||v&&t>=s}function i(){var t=Hu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=v?Bi(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Hu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),y?r(t):l;if(v)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,y=!1,v=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=So(e)||0,bo(n)&&(y=!!n.leading,s=(v="maxWait"in n)?Wi(So(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(Hu())},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||Bt),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)&&!yo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=Ae(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function yo(t){return!!bo(t)&&("[object Function]"==(t=Ae(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function vo(t){return"number"==typeof t&&t==Po(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]"==Ae(t)}function xo(t){return!(!_o(t)||"[object Object]"!=Ae(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function wo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==Ae(t)}function jo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==Ae(t)}function Oo(t){if(!t)return[];if(lo(t))return wo(t)?U(t):Mn(t);if(ji&&t[ji]){t=t[ji]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=vu(t),("[object Map]"==e?B:"[object Set]"==e?N:Wo)(t)}function ko(t){return t?(t=So(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Po(t){t=ko(t);var e=t%1;return t===t?e?t-e:t:0}function Ao(t){return t?pe(Po(t),0,4294967295):0}function So(t){if("number"==typeof t)return t;if(jo(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||wt.test(t)?Dt(t.slice(2),e?2:8):_t.test(t)?V:+t}function To(t){return Wn(t,Co(t))}function Eo(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&&wr(t,e,Ee)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Co(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 Mo(t,e){if(null==t)return{};var n=d(yr(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 Bo(t){return Da(Eo(t).toLowerCase())}function Lo(t){return(t=Eo(t))&&t.replace(Ot,ee).replace(Tt,"")}function Do(t,e,n){return t=Eo(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(yt)||[]:t.match(e)||[]}function No(t){return function(){return t}}function Fo(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=yo(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__=Mn(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 Tr(t)?O(Lr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Ct));var Ho=e.Array,Zo=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Ho.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:$,yi=e.Symbol,vi=e.Uint8Array,gi=hi?hi.g:$,bi=L(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,wi=yi?yi.isConcatSpreadable:$,ji=yi?yi.iterator:$,Oi=yi?yi.toStringTag:$,ki=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Pi=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,Ai=Zo&&Zo.now!==qt.Date.now&&Zo.now,Si=e.setTimeout!==qt.setTimeout&&e.setTimeout,Ti=Xo.ceil,Ei=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Ci=ri.join,Mi=L(Qo.keys,Qo),Wi=Xo.max,Bi=Xo.min,Li=Zo.now,Di=e.parseInt,Ni=Xo.random,Fi=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"),Hi=Vi&&new Vi,Zi={},Yi=Dr(qi),Ji=Dr(Ui),Xi=Dr($i),Qi=Dr(Gi),tu=Dr(Vi),eu=yi?yi.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,At.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},At.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},At.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},At.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},At.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},Et.prototype.clear=function(){this.__data__=[],this.size=0},Et.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))},Et.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Et.prototype.has=function(t){return-1<ue(this.__data__,t)},Et.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},Bt.prototype.clear=function(){this.size=0,this.__data__={hash:new At,map:new(Ui||Et),string:new At}},Bt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Bt.prototype.get=function(t){return _r(this,t).get(t)},Bt.prototype.has=function(t){return _r(this,t).has(t)},Bt.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},Nt.prototype.add=Nt.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Nt.prototype.has=function(t){return this.__data__.has(t)},Ft.prototype.clear=function(){this.__data__=new Et,this.size=0},Ft.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Ft.prototype.get=function(t){return this.__data__.get(t)},Ft.prototype.has=function(t){return this.__data__.has(t)},Ft.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Et){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Bt(r)}return n.set(t,e),this.size=n.size,this};var iu=Fn(we),uu=Fn(je,!0),au=qn(),cu=qn(!0),fu=Hi?function(t,e){return Hi.set(t,e),t}:Fo,su=ki?function(t,e){return ki(t,"toString",{configurable:!0,enumerable:!1,value:No(e),writable:!0})}:Fo,lu=Pi||function(t){return qt.clearTimeout(t)},pu=Gi&&1/N(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Hi?function(t){return Hi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,yu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,vu=Ae;(qi&&"[object DataView]"!=vu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=vu(new Ui)||$i&&"[object Promise]"!=vu($i.resolve())||Gi&&"[object Set]"!=vu(new Gi)||Vi&&"[object WeakMap]"!=vu(new Vi))&&(vu=function(t){var e=Ae(t);if(t=(t="[object Object]"==e?t.constructor:$)?Dr(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?yo:Ko,bu=Wr(fu),_u=Si||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(vt,"$1"):n||t)}),e}),wu=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),ju=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):[]}),Pu=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)):[]}),Au=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):[]}),Su=an(Kr),Tu=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return Ar(t,n)?+t:t}).sort(zn)),r}),Eu=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):[]}),Cu=an(function(t){return jn(s(t,po))}),Mu=an(function(t){var e=Vr(t);return po(e)&&(e=$),jn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return jn(s(t,po),$,e)}),Bu=an(Zr),Lu=an(function(t){var e=t.length,e=1<e?t[e-1]:$,e="function"==typeof e?(t.pop(),e):$;return Yr(t,e)}),Du=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&&Ar(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)}),Nu=Dn(function(t,e,n){ai.call(t,n)?++t[n]:se(t,n,1)}),Fu=Hn(qr),qu=Hn(Ur),Uu=Dn(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)?Ho(t.length):[];return iu(t,function(t){u[++r]=o?i(e,t,n):Re(t,e,n)}),u}),Gu=Dn(function(t,e,n){se(t,n,e)}),Vu=Dn(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&&Sr(t,e[0],e[1])?e=[]:2<n&&Sr(e[0],e[1],e[2])&&(e=[e[0]]),Xe(t,xe(e,1),[])}),Hu=Ai||function(){return qt.Date.now()},Zu=an(function(t,e,n){var r=1;if(n.length)var o=D(n,gr(Zu)),r=32|r;return ar(t,r,e,n,o)}),Yu=an(function(t,e,n){var r=3;if(n.length)var o=D(n,gr(Yu)),r=32|r;return ar(e,r,t,n,o)}),Ju=an(function(t,e){return ve(t,1,e)}),Xu=an(function(t,e,n){return ve(t,So(e)||0,n)});co.Cache=Bt;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=Bi(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,D(e,gr(ta)))}),ea=an(function(t,e){return ar(t,64,$,e,D(e,gr(ea)))}),na=dr(function(t,e){return ar(t,256,$,$,$,e)}),ra=rr(Se),oa=rr(function(t,e){return t>=e}),ia=Ce(function(){return arguments}())?Ce:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Ho.isArray,aa=Ht?I(Ht):Me,ca=zi||Ko,fa=Zt?I(Zt):We,sa=Yt?I(Yt):Le,la=Jt?I(Jt):Fe,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),ya=rr(function(t,e){return t<=e}),va=Nn(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=Nn(function(t,e){Wn(e,Co(e),t)}),ba=Nn(function(t,e,n,r){Wn(e,Co(e),t,r)}),_a=Nn(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&&Sr(e[0],e[1],o)&&(r=1);++n<r;)for(var o=e[n],i=Co(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}),wa=an(function(t){return t.push($,fr),i(Aa,$,t)}),ja=Jn(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=si.call(e)),t[e]=n},No(Fo)),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),Pa=Nn(function(t,e,n){Ye(t,e,n)}),Aa=Nn(function(t,e,n,r){Ye(t,e,n,r)}),Sa=dr(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=An(e,t),r||(r=1<e.length),e}),Wn(t,yr(t),n),r&&(n=de(n,7,sr));for(var o=e.length;o--;)mn(n,e[o]);return n}),Ta=dr(function(t,e){return null==t?{}:Qe(t,e)}),Ea=ur(Ro),Ia=ur(Co),za=Gn(function(t,e,n){return e=e.toLowerCase(),t+(n?Bo(e):e)}),Ra=Gn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Ca=Gn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Ma=$n("toLowerCase"),Wa=Gn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Ba=Gn(function(t,e,n){return t+(n?" ":"")+Da(e)}),La=Gn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Da=$n("toUpperCase"),Na=an(function(t,e){try{return i(t,$,e)}catch(t){return ho(t)?t:new Yo(t)}}),Fa=dr(function(t,e){return a(e,function(e){e=Lr(e),se(t,e,Zu(t[e],t))}),t}),qa=Zn(),Ua=Zn(!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),Ha=Qn(g),Za=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=Po(t),function(){if(1>--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=va,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Zu,n.bindAll=Fa,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?Sr(t,e,n):e===$)?1:Wi(Po(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Ho(Ti(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=Ho(t-1),n=arguments[0];t--;)e[t-1]=arguments[t];return h(ua(n)?Mn(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=No,n.countBy=Nu,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=wa,n.defer=Ju,n.delay=Xu,n.difference=wu,n.differenceBy=ju,n.differenceWith=Ou,n.drop=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(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:Po(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&&Sr(t,e,n)&&(n=0,r=o),o=t.length,n=Po(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Po(r),0>r&&(r+=o),r=n>r?0:Ao(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:Po(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:Po(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,Co(t))},n.groupBy=Uu,n.initial=function(t){return(null==t?0:t.length)?pn(t,0,-1):[]},n.intersection=ku,n.intersectionBy=Pu,n.intersectionWith=Au,n.invert=ja,n.invertBy=Oa,n.invokeMap=$u,n.iteratee=qo,n.keyBy=Gu,n.keys=Ro,n.keysIn=Co,n.map=no,n.mapKeys=function(t,e){var n={};return e=br(e,3),we(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),we(t,function(t,r,o){se(n,r,e(t,r,o))}),n},n.matches=function(t){return He(de(t,1))},n.matchesProperty=function(t,e){return Ze(t,de(e,1))},n.memoize=co,n.merge=Pa,n.mergeWith=Aa,n.method=$a,n.methodOf=Ga,n.mixin=Uo,n.negate=fo,n.nthArg=function(t){return t=Po(t),an(function(e){return Je(e,t)})},n.omit=Sa,n.omitBy=function(t,e){return Mo(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=Ha,n.partial=ta,n.partialRight=ea,n.partition=Vu,n.pick=Ta,n.pickBy=Mo,n.property=Go,n.propertyOf=function(t){return function(e){return null==t?$:ke(t,e)}},n.pull=Su,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=Tu,n.range=Za,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:Po(e),an(t,e)},n.reverse=Hr,n.sampleSize=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Po(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&&Sr(t,e,n)?(e=0,n=r):(e=null==e?0:Po(e),n=n===$?r:Po(n)),pn(t,e,n)):[]},n.sortBy=Ku,n.sortedUniq=function(t){return t&&t.length?vn(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?vn(t,br(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&Sr(t,e,n)&&(e=n=$),n=n===$?4294967295:n>>>0,n?(t=Eo(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?Sn(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(Po(e),0),an(function(n){var r=n[e];return n=Sn(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:Po(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:Po(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=Ea,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Lr):jo(t)?[t]:Mn(xu(Eo(t)))},n.toPlainObject=To,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)&&yo(i)?ou(bi(t)):{}}return(o?a:we)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Eu,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=Zr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,Pn(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,Pn(n)(ke(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Co(t))},n.without=Ru,n.words=Do,n.wrap=function(t,e){return ta(Pn(e),t)},n.xor=Cu,n.xorBy=Mu,n.xorWith=Wu,n.zip=Bu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Lu,n.entries=Ea,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Na,n.camelCase=za,n.capitalize=Bo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=So(n),n=n===n?n:0),e!==$&&(e=So(e),e=e===e?e:0),pe(So(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||ye(t,e,Ro(e))},n.deburr=Lo,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=Eo(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Po(n),0,r);return 0<=(n-=e.length)&&t.slice(n,r)==e},n.eq=so,n.escape=function(t){return(t=Eo(t))&&tt.test(t)?t.replace(X,ne):t},n.escapeRegExp=function(t){return(t=Eo(t))&&ct.test(t)?t.replace(at,"\\$&"):t},n.every=function(t,e,n){var r=ua(t)?f:be;return n&&Sr(t,e,n)&&(e=$),r(t,br(e,3))},n.find=Fu,n.findIndex=qr,n.findKey=function(t,e){return b(t,br(e,3),we)},n.findLast=qu,n.findLastIndex=Ur,n.findLastKey=function(t,e){return b(t,br(e,3),je)},n.floor=tc,n.forEach=to,n.forEachRight=eo,n.forIn=function(t,e){return null==t?t:au(t,br(e,3),Co)},n.forInRight=function(t,e){return null==t?t:cu(t,br(e,3),Co)},n.forOwn=function(t,e){return t&&we(t,br(e,3))},n.forOwnRight=function(t,e){return t&&je(t,br(e,3))},n.get=Io,n.gt=ra,n.gte=oa,n.has=function(t,e){return null!=t&&wr(t,e,Te)},n.hasIn=zo,n.head=Gr,n.identity=Fo,n.includes=function(t,e,n,r){return t=lo(t)?t:Wo(t),n=n&&!r?Po(n):0,r=t.length,0>n&&(n=Wi(r+n,0)),wo(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:Po(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=So(t))>=Bi(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]"==Ae(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=vu(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 Be(t,e)},n.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:$)?n(t,e):$;return r===$?Be(t,e,$,n):!!r},n.isError=ho,n.isFinite=function(t){return"number"==typeof t&&Ri(t)},n.isFunction=yo,n.isInteger=vo,n.isLength=go,n.isMap=sa,n.isMatch=function(t,e){return t===e||De(t,e,mr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:$,De(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 Ne(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 vo(t)&&-9007199254740991<=t&&9007199254740991>=t},n.isSet=pa,n.isString=wo,n.isSymbol=jo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==vu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==Ae(t)},n.join=function(t,e){return null==t?"":Ci.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=Po(n),o=0>o?Wi(r+o,0):Bi(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,w,o,!0);return t},n.lowerCase=Ca,n.lowerFirst=Ma,n.lt=ha,n.lte=ya,n.max=function(t){return t&&t.length?_e(t,Fo,Se):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Se):$},n.mean=function(t){return j(t,Fo)},n.meanBy=function(t,e){return j(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,Fo,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,Po(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Hu,n.pad=function(t,e,n){t=Eo(t);var r=(e=Po(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ei(e),n)+t+tr(Ti(e),n))},n.padEnd=function(t,e,n){t=Eo(t);var r=(e=Po(e))?q(t):0;return e&&r<e?t+tr(e-r,n):t},n.padStart=function(t,e,n){t=Eo(t);var r=(e=Po(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),Di(Eo(t).replace(st,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Sr(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=Ni(),Bi(t+n*(e-t+Lt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?y:P,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?v:P,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Sr(t,e,n):e===$)?1:Po(e),un(Eo(t),e)},n.replace=function(){var t=arguments,e=Eo(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=An(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r<o;){var i=null==t?$:t[Lr(e[r])];i===$&&(r=o,i=n),t=yo(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 wo(t)?q(t):t.length;var e=vu(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&&Sr(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 yn(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 yn(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=Ba,n.startsWith=function(t,e,n){return t=Eo(t),n=null==n?0:pe(Po(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?S(t,Fo):0},n.sumBy=function(t,e){return t&&t.length?S(t,br(e,2)):0},n.template=function(t,e,r){var o=n.templateSettings;r&&Sr(t,e,r)&&(e=$),t=Eo(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(Pt,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(H,""):s).replace(Z,"$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=Na(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=Po(t))||9007199254740991<t)return[];var n=4294967295,r=Bi(t,4294967295);for(e=br(e),t-=4294967295,r=T(r,e);++n<t;)e(n);return r},n.toFinite=ko,n.toInteger=Po,n.toLength=Ao,n.toLower=function(t){return Eo(t).toLowerCase()},n.toNumber=So,n.toSafeInteger=function(t){return t?pe(Po(t),-9007199254740991,9007199254740991):0===t?t:0},n.toString=Eo,n.toUpper=function(t){return Eo(t).toUpperCase()},n.trim=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(ft,""):t&&(e=bn(e))?(t=U(t),n=U(e),e=C(t,n),n=M(t,n)+1,Sn(t,e,n).join("")):t},n.trimEnd=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(lt,""):t&&(e=bn(e))?(t=U(t),e=M(t,U(e))+1,Sn(t,0,e).join("")):t},n.trimStart=function(t,e,n){return(t=Eo(t))&&(n||e===$)?t.replace(st,""):t&&(e=bn(e))?(t=U(t),e=C(t,U(e)),Sn(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?Po(e.length):n,r="omission"in e?bn(e.omission):r;t=Eo(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?Sn(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,Eo(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=Eo(t))&&Q.test(t)?t.replace(J,re):t},n.uniqueId=function(t){var e=++ci;return Eo(t)+e},n.upperCase=La,n.upperFirst=Da,n.each=to,n.eachRight=eo,n.first=Gr,Uo(n,function(){var t={};return we(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(Po(n),0);var r=this.__filtered__&&!e?new k(this):this.clone();return r.__filtered__?r.__takeCount__=Bi(n,r.__takeCount__):r.__views__.push({size:Bi(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(Fo)},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=Po(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=Po(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)},we(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__,y=!!this.__actions__.length,l=a&&!d,s=s&&!y;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)})}}),we(k.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Zi,o)||(Zi[o]=[]),Zi[o].push({name:e,func:r})}}),Zi[Yn($,2).name]=[{name:"wrapper",func:$}],k.prototype.clone=function(){var t=new k(this.__wrapped__);return t.__actions__=Mn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mn(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=Bi(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=Bi(t,this.__takeCount__),!r||!o&&i==t&&s==t)return wn(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=Du,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=Fr(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:[Hr],thisArg:$}),new o(t,this.__chain__)):this.thru(Hr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return wn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,ji&&(n.prototype[ji]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(43),n(12)(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(P.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 S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!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 v(t,e,n){return P.rearg&&n>1&&(E||!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=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.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=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.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))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?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 P={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},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="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,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=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 L(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 P.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(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(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 j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(448),l=n(449),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.69.0",t,e)}}},function(t,e,n){var r=n(452).runInContext();t.exports=n(453)(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?0:t.length)&&w(t,e,0)>-1}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 y(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 v(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){return t.split("")}function _(t){return t.match(Le)||[]}function m(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function x(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}function w(t,e,n){return e===e?Z(t,e,n):x(t,O,n)}function j(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function O(t){return t!==t}function k(t,e){var n=null==t?0:t.length;return n?E(t,e)/n:Rt}function P(t){return function(e){return null==e?nt:e[t]}}function A(t){return function(e){return null==t?nt:t[e]}}function S(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function T(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function E(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==nt&&(n=n===nt?i:n+i)}return n}function I(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function z(t,e){return d(e,function(e){return[e,t[e]]})}function R(t){return function(e){return t(e)}}function C(t,e){return d(e,function(e){return t[e]})}function M(t,e){return t.has(e)}function W(t,e){for(var n=-1,r=t.length;++n<r&&w(e,t[n],0)>-1;);return n}function B(t,e){for(var n=t.length;n--&&w(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function D(t){return"\\"+Bn[t]}function N(t,e){return null==t?nt:t[e]}function F(t){return Sn.test(t)}function q(t){return Tn.test(t)}function U(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function $(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function G(t,e){return function(n){return t(e(n))}}function V(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&u!==ct||(t[n]=ct,i[o++]=n)}return i}function K(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Z(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function Y(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function J(t){return F(t)?Q(t):tr(t)}function X(t){return F(t)?tt(t):b(t)}function Q(t){for(var e=Pn.lastIndex=0;Pn.test(t);)++e;return e}function tt(t){return t.match(Pn)||[]}function et(t){return t.match(An)||[]}var nt,rt=200,ot="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",it="Expected a function",ut="__lodash_hash_undefined__",at=500,ct="__lodash_placeholder__",ft=1,st=2,lt=4,pt=1,dt=2,ht=1,yt=2,vt=4,gt=8,bt=16,_t=32,mt=64,xt=128,wt=256,jt=512,Ot=30,kt="...",Pt=800,At=16,St=1,Tt=2,Et=1/0,It=9007199254740991,zt=1.7976931348623157e308,Rt=NaN,Ct=4294967295,Mt=Ct-1,Wt=Ct>>>1,Bt=[["ary",xt],["bind",ht],["bindKey",yt],["curry",gt],["curryRight",bt],["flip",jt],["partial",_t],["partialRight",mt],["rearg",wt]],Lt="[object Arguments]",Dt="[object Array]",Nt="[object AsyncFunction]",Ft="[object Boolean]",qt="[object Date]",Ut="[object DOMException]",$t="[object Error]",Gt="[object Function]",Vt="[object GeneratorFunction]",Kt="[object Map]",Ht="[object Number]",Zt="[object Null]",Yt="[object Object]",Jt="[object Promise]",Xt="[object Proxy]",Qt="[object RegExp]",te="[object Set]",ee="[object String]",ne="[object Symbol]",re="[object Undefined]",oe="[object WeakMap]",ie="[object WeakSet]",ue="[object ArrayBuffer]",ae="[object DataView]",ce="[object Float32Array]",fe="[object Float64Array]",se="[object Int8Array]",le="[object Int16Array]",pe="[object Int32Array]",de="[object Uint8Array]",he="[object Uint8ClampedArray]",ye="[object Uint16Array]",ve="[object Uint32Array]",ge=/\b__p \+= '';/g,be=/\b(__p \+=) '' \+/g,_e=/(__e\(.*?\)|\b__t\)) \+\n'';/g,me=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,we=RegExp(me.source),je=RegExp(xe.source),Oe=/<%-([\s\S]+?)%>/g,ke=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,Ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Se=/^\w*$/,Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Ee.source),ze=/^\s+|\s+$/g,Re=/^\s+/,Ce=/\s+$/,Me=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /,Le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,De=/\\(\\)?/g,Ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fe=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Ve=/^(?:0|[1-9]\d*)$/,Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Ze=/['\n\r\u2028\u2029\\]/g,Ye="\\ud800-\\udfff",Je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Xe="\\u2700-\\u27bf",Qe="a-z\\xdf-\\xf6\\xf8-\\xff",tn="A-Z\\xc0-\\xd6\\xd8-\\xde",en="\\ufe0e\\ufe0f",nn="\\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",rn="['’]",on="["+nn+"]",un="["+Je+"]",an="["+Qe+"]",cn="[^"+Ye+nn+"\\d+"+Xe+Qe+tn+"]",fn="\\ud83c[\\udffb-\\udfff]",sn="[^"+Ye+"]",ln="(?:\\ud83c[\\udde6-\\uddff]){2}",pn="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="["+tn+"]",hn="\\u200d",yn="(?:"+an+"|"+cn+")",vn="(?:['’](?:d|ll|m|re|s|t|ve))?",gn="(?:['’](?:D|LL|M|RE|S|T|VE))?",bn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_n="["+en+"]?",mn="(?:"+hn+"(?:"+[sn,ln,pn].join("|")+")"+_n+bn+")*",xn=_n+bn+mn,wn="(?:"+["[\\u2700-\\u27bf]",ln,pn].join("|")+")"+xn,jn="(?:"+[sn+un+"?",un,ln,pn,"[\\ud800-\\udfff]"].join("|")+")",On=RegExp(rn,"g"),kn=RegExp(un,"g"),Pn=RegExp(fn+"(?="+fn+")|"+jn+xn,"g"),An=RegExp([dn+"?"+an+"+"+vn+"(?="+[on,dn,"$"].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])+"+gn+"(?="+[on,dn+yn,"$"].join("|")+")",dn+"?"+yn+"+"+vn,dn+"+"+gn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",wn].join("|"),"g"),Sn=RegExp("["+hn+Ye+Je+en+"]"),Tn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,En=["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"],In=-1,zn={};zn[ce]=zn[fe]=zn[se]=zn[le]=zn[pe]=zn[de]=zn[he]=zn[ye]=zn[ve]=!0,zn[Lt]=zn[Dt]=zn[ue]=zn[Ft]=zn[ae]=zn[qt]=zn[$t]=zn[Gt]=zn[Kt]=zn[Ht]=zn[Yt]=zn[Qt]=zn[te]=zn[ee]=zn[oe]=!1;var Rn={};Rn[Lt]=Rn[Dt]=Rn[ue]=Rn[ae]=Rn[Ft]=Rn[qt]=Rn[ce]=Rn[fe]=Rn[se]=Rn[le]=Rn[pe]=Rn[Kt]=Rn[Ht]=Rn[Yt]=Rn[Qt]=Rn[te]=Rn[ee]=Rn[ne]=Rn[de]=Rn[he]=Rn[ye]=Rn[ve]=!0,Rn[$t]=Rn[Gt]=Rn[oe]=!1;var Cn={"À":"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"},Mn={"&":"&","<":"<",">":">",'"':""","'":"'"},Wn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Bn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ln=parseFloat,Dn=parseInt,Nn="object"==typeof t&&t&&t.Object===Object&&t,Fn="object"==typeof self&&self&&self.Object===Object&&self,qn=Nn||Fn||Function("return this")(),Un="object"==typeof e&&e&&!e.nodeType&&e,$n=Un&&"object"==typeof r&&r&&!r.nodeType&&r,Gn=$n&&$n.exports===Un,Vn=Gn&&Nn.process,Kn=function(){try{var t=$n&&$n.require&&$n.require("util").types;return t||Vn&&Vn.binding&&Vn.binding("util")}catch(t){}}(),Hn=Kn&&Kn.isArrayBuffer,Zn=Kn&&Kn.isDate,Yn=Kn&&Kn.isMap,Jn=Kn&&Kn.isRegExp,Xn=Kn&&Kn.isSet,Qn=Kn&&Kn.isTypedArray,tr=P("length"),er=A(Cn),nr=A(Mn),rr=A(Wn),or=function t(e){function n(t){if(nc(t)&&!hp(t)&&!(t instanceof b)){if(t instanceof o)return t;if(hs.call(t,"__wrapped__"))return Qi(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=nt}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ct,this.__views__=[]}function A(){var t=new b(this.__wrapped__);return t.__actions__=Co(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Co(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Co(this.__views__),t}function Z(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Q(){var t=this.__wrapped__.value(),e=this.__dir__,n=hp(t),r=e<0,o=n?t.length:0,i=ji(0,o,this.__views__),u=i.start,a=i.end,c=a-u,f=r?a:u-1,s=this.__iteratees__,l=s.length,p=0,d=$s(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return go(t,this.__actions__);var h=[];t:for(;c--&&p<d;){f+=e;for(var y=-1,v=t[f];++y<l;){var g=s[y],b=g.iteratee,_=g.type,m=b(v);if(_==Tt)v=m;else if(!m){if(_==St)continue t;break t}}h[p++]=v}return h}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 Le(){this.__data__=tl?tl(null):{},this.size=0}function Ye(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Je(t){var e=this.__data__;if(tl){var n=e[t];return n===ut?nt:n}return hs.call(e,t)?e[t]:nt}function Xe(t){var e=this.__data__;return tl?e[t]!==nt:hs.call(e,t)}function Qe(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=tl&&e===nt?ut:e,this}function tn(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 en(){this.__data__=[],this.size=0}function nn(t){var e=this.__data__,n=Cn(e,t);return!(n<0||(n==e.length-1?e.pop():Ss.call(e,n,1),--this.size,0))}function rn(t){var e=this.__data__,n=Cn(e,t);return n<0?nt:e[n][1]}function on(t){return Cn(this.__data__,t)>-1}function un(t,e){var n=this.__data__,r=Cn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function an(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 cn(){this.size=0,this.__data__={hash:new tt,map:new(Ys||tn),string:new tt}}function fn(t){var e=_i(this,t).delete(t);return this.size-=e?1:0,e}function sn(t){return _i(this,t).get(t)}function ln(t){return _i(this,t).has(t)}function pn(t,e){var n=_i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function dn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new an;++e<n;)this.add(t[e])}function hn(t){return this.__data__.set(t,ut),this}function yn(t){return this.__data__.has(t)}function vn(t){this.size=(this.__data__=new tn(t)).size}function gn(){this.__data__=new tn,this.size=0}function bn(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function _n(t){return this.__data__.get(t)}function mn(t){return this.__data__.has(t)}function xn(t,e){var n=this.__data__;if(n instanceof tn){var r=n.__data__;if(!Ys||r.length<rt-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new an(r)}return n.set(t,e),this.size=n.size,this}function wn(t,e){var n=hp(t),r=!n&&dp(t),o=!n&&!r&&vp(t),i=!n&&!r&&!o&&xp(t),u=n||r||o||i,a=u?I(t.length,as):[],c=a.length;for(var f in t)!e&&!hs.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Ii(f,c))||a.push(f);return a}function jn(t){var e=t.length;return e?t[Jr(0,e-1)]:nt}function Pn(t,e){return Zi(Co(t),Un(e,0,t.length))}function An(t){return Zi(Co(t))}function Sn(t,e,n){(n===nt||qa(t[e],n))&&(n!==nt||e in t)||Nn(t,e,n)}function Tn(t,e,n){var r=t[e];hs.call(t,e)&&qa(r,n)&&(n!==nt||e in t)||Nn(t,e,n)}function Cn(t,e){for(var n=t.length;n--;)if(qa(t[n][0],e))return n;return-1}function Mn(t,e,n,r){return pl(t,function(t,o,i){e(r,t,n(t),i)}),r}function Wn(t,e){return t&&Mo(e,Bc(e),t)}function Bn(t,e){return t&&Mo(e,Lc(e),t)}function Nn(t,e,n){"__proto__"==e&&zs?zs(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fn(t,e){for(var n=-1,r=e.length,o=ts(r),i=null==t;++n<r;)o[n]=i?nt:Cc(t,e[n]);return o}function Un(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function $n(t,e,n,r,o,i){var u,c=e&ft,f=e&st,s=e<if(n&&(u=o?n(t,r,o,i):n(t)),u!==nt)return u;if(!ec(t))return t;var l=hp(t);if(l){if(u=Pi(t),!c)return Co(t,u)}else{var p=Ol(t),d=p==Gt||p==Vt;if(vp(t))return Oo(t,c);if(p==Yt||p==Lt||d&&!o){if(u=f||d?{}:Ai(t),!c)return f?Bo(t,Bn(u,t)):Wo(t,Wn(u,t))}else{if(!Rn[p])return o?t:{};u=Si(t,p,c)}}i||(i=new vn);var h=i.get(t);if(h)return h;i.set(t,u),mp(t)?t.forEach(function(r){u.add($n(r,e,n,r,t,i))}):bp(t)&&t.forEach(function(r,o){u.set(o,$n(r,e,n,o,t,i))});var y=s?f?yi:hi:f?Lc:Bc,v=l?nt:y(t);return a(v||t,function(r,o){v&&(o=r,r=t[o]),Tn(u,o,$n(r,e,n,o,t,i))}),u}function Vn(t){var e=Bc(t);return function(n){return Kn(n,t,e)}}function Kn(t,e,n){var r=n.length;if(null==t)return!r;for(t=is(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===nt&&!(o in t)||!i(u))return!1}return!0}function tr(t,e,n){if("function"!=typeof t)throw new cs(it);return Al(function(){t.apply(nt,n)},e)}function ir(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,R(n))),r?(i=p,u=!1):e.length>=rt&&(i=M,u=!1,e=new dn(e));t:for(;++o<a;){var s=t[o],h=null==n?s:n(s);if(s=r||0!==s?s:0,u&&h===h){for(var y=f;y--;)if(e[y]===h)continue t;c.push(s)}else i(e,h,r)||c.push(s)}return c}function ur(t,e){var n=!0;return pl(t,function(t,r,o){return n=!!e(t,r,o)}),n}function ar(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===nt?u===u&&!dc(u):n(u,a)))var a=u,c=i}return c}function cr(t,e,n,r){var o=t.length;for(n=_c(n),n<0&&(n=-n>o?0:o+n),r=r===nt||r>o?o:_c(r),r<0&&(r+=o),r=n>r?0:mc(r);n<r;)t[n++]=e;return t}function fr(t,e){var n=[];return pl(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function sr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Ei),o||(o=[]);++i<u;){var a=t[i];e>0&&n(a)?e>1?sr(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function lr(t,e){return t&&hl(t,e,Bc)}function pr(t,e){return t&&yl(t,e,Bc)}function dr(t,e){return s(e,function(e){return Xa(t[e])})}function hr(t,e){e=wo(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Yi(e[n++])];return n&&n==r?t:nt}function yr(t,e,n){var r=e(t);return hp(t)?r:h(r,n(t))}function vr(t){return null==t?t===nt?re:Zt:Is&&Is in is(t)?wi(t):qi(t)}function gr(t,e){return t>e}function br(t,e){return null!=t&&hs.call(t,e)}function _r(t,e){return null!=t&&e in is(t)}function mr(t,e,n){return t>=$s(e,n)&&t<Us(e,n)}function xr(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=ts(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,R(e))),c=$s(s.length,c),a[u]=!n&&(e||o>=120&&s.length>=120)?new dn(u&&s):nt}s=t[0];var h=-1,y=a[0];t:for(;++h<o&&f.length<c;){var v=s[h],g=e?e(v):v;if(v=n||0!==v?v:0,!(y?M(y,g):r(f,g,n))){for(u=i;--u;){var b=a[u];if(!(b?M(b,g):r(t[u],g,n)))continue t}y&&y.push(g),f.push(v)}}return f}function wr(t,e,n,r){return lr(t,function(t,o,i){e(r,n(t),o,i)}),r}function jr(t,e,n){e=wo(e,t),t=$i(t,e);var r=null==t?t:t[Yi(bu(e))];return null==r?nt:i(r,t,n)}function Or(t){return nc(t)&&vr(t)==Lt}function kr(t){return nc(t)&&vr(t)==ue}function Pr(t){return nc(t)&&vr(t)==qt}function Ar(t,e,n,r,o){return t===e||(null==t||null==e||!nc(t)&&!nc(e)?t!==t&&e!==e:Sr(t,e,n,r,Ar,o))}function Sr(t,e,n,r,o,i){var u=hp(t),a=hp(e),c=u?Dt:Ol(t),f=a?Dt:Ol(e);c=c==Lt?Yt:c,f=f==Lt?Yt:f;var s=c==Yt,l=f==Yt,p=c==f;if(p&&vp(t)){if(!vp(e))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new vn),u||xp(t)?si(t,e,n,r,o,i):li(t,e,c,n,r,o,i);if(!(n&pt)){var d=s&&hs.call(t,"__wrapped__"),h=l&&hs.call(e,"__wrapped__");if(d||h){var y=d?t.value():t,v=h?e.value():e;return i||(i=new vn),o(y,v,n,r,i)}}return!!p&&(i||(i=new vn),pi(t,e,n,r,o,i))}function Tr(t){return nc(t)&&Ol(t)==Kt}function Er(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=is(t);o--;){var a=n[o];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){a=n[o];var c=a[0],f=t[c],s=a[1];if(u&&a[2]){if(f===nt&&!(c in t))return!1}else{var l=new vn;if(r)var p=r(f,s,c,t,e,l);if(!(p===nt?Ar(s,f,pt|dt,r,l):p))return!1}}return!0}function Ir(t){return!(!ec(t)||Wi(t))&&(Xa(t)?ms:$e).test(Ji(t))}function zr(t){return nc(t)&&vr(t)==Qt}function Rr(t){return nc(t)&&Ol(t)==te}function Cr(t){return nc(t)&&tc(t.length)&&!!zn[vr(t)]}function Mr(t){return"function"==typeof t?t:null==t?Sf:"object"==typeof t?hp(t)?Fr(t[0],t[1]):Nr(t):Wf(t)}function Wr(t){if(!Bi(t))return qs(t);var e=[];for(var n in is(t))hs.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Br(t){if(!ec(t))return Fi(t);var e=Bi(t),n=[];for(var r in t)("constructor"!=r||!e&&hs.call(t,r))&&n.push(r);return n}function Lr(t,e){return t<e}function Dr(t,e){var n=-1,r=Ua(t)?ts(t.length):[];return pl(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function Nr(t){var e=mi(t);return 1==e.length&&e[0][2]?Di(e[0][0],e[0][1]):function(n){return n===t||Er(n,t,e)}}function Fr(t,e){return Ri(t)&&Li(e)?Di(Yi(t),e):function(n){var r=Cc(n,t);return r===nt&&r===e?Wc(n,t):Ar(e,r,pt|dt)}}function qr(t,e,n,r,o){t!==e&&hl(e,function(i,u){if(o||(o=new vn),ec(i))Ur(t,e,u,n,qr,r,o);else{var a=r?r(Vi(t,u),i,u+"",t,e,o):nt;a===nt&&(a=i),Sn(t,u,a)}},Lc)}function Ur(t,e,n,r,o,i,u){var a=Vi(t,n),c=Vi(e,n),f=u.get(c);if(f)return Sn(t,n,f),nt;var s=i?i(a,c,n+"",t,e,u):nt,l=s===nt;if(l){var p=hp(c),d=!p&&vp(c),h=!p&&!d&&xp(c);s=c,p||d||h?hp(a)?s=a:$a(a)?s=Co(a):d?(l=!1,s=Oo(c,!0)):h?(l=!1,s=To(c,!0)):s=[]:sc(c)||dp(c)?(s=a,dp(a)?s=wc(a):ec(a)&&!Xa(a)||(s=Ai(c))):l=!1}l&&(u.set(c,s),o(s,c,r,i,u),u.delete(c)),Sn(t,n,s)}function $r(t,e){var n=t.length;if(n)return e+=e<0?n:0,Ii(e,n)?t[e]:nt}function Gr(t,e,n){e=e.length?d(e,function(t){return hp(t)?function(e){return hr(e,1===t.length?t[0]:t)}:t}):[Sf];var r=-1;return e=d(e,R(bi())),T(Dr(t,function(t,n,o){return{criteria:d(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Io(t,e,n)})}function Vr(t,e){return Kr(t,e,function(e,n){return Wc(t,n)})}function Kr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=hr(t,u);n(a,u)&&ro(i,wo(u,t),a)}return i}function Hr(t){return function(e){return hr(e,t)}}function Zr(t,e,n,r){var o=r?j:w,i=-1,u=e.length,a=t;for(t===e&&(e=Co(e)),n&&(a=d(t,R(n)));++i<u;)for(var c=0,f=e[i],s=n?n(f):f;(c=o(a,s,c,r))>-1;)a!==t&&Ss.call(a,c,1),Ss.call(t,c,1);return t}function Yr(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;Ii(o)?Ss.call(t,o,1):ho(t,o)}}return t}function Jr(t,e){return t+Bs(Ks()*(e-t+1))}function Xr(t,e,n,r){for(var o=-1,i=Us(Ws((e-t)/(n||1)),0),u=ts(i);i--;)u[r?i:++o]=t,t+=n;return u}function Qr(t,e){var n="";if(!t||e<1||e>It)return n;do{e%2&&(n+=t),(e=Bs(e/2))&&(t+=t)}while(e);return n}function to(t,e){return Sl(Ui(t,e,Sf),t+"")}function eo(t){return jn(Yc(t))}function no(t,e){var n=Yc(t);return Zi(n,Un(e,0,n.length))}function ro(t,e,n,r){if(!ec(t))return t;e=wo(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Yi(e[o]),f=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(o!=u){var s=a[c];(f=r?r(s,c,a):nt)===nt&&(f=ec(s)?s:Ii(e[o+1])?[]:{})}Tn(a,c,f),a=a[c]}return t}function oo(t){return Zi(Yc(t))}function io(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=ts(o);++r<o;)i[r]=t[r+e];return i}function uo(t,e){var n;return pl(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function ao(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&o<=Wt){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!dc(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return co(t,e,Sf,n)}function co(t,e,n,r){var o=0,i=null==t?0:t.length;if(0===i)return 0;e=n(e);for(var u=e!==e,a=null===e,c=dc(e),f=e===nt;o<i;){var s=Bs((o+i)/2),l=n(t[s]),p=l!==nt,d=null===l,h=l===l,y=dc(l);if(u)var v=r||h;else v=f?h&&(r||p):a?h&&p&&(r||!d):c?h&&p&&!d&&(r||!y):!d&&!y&&(r?l<=e:l<e);v?o=s+1:i=s}return $s(i,Mt)}function fo(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||!qa(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function so(t){return"number"==typeof t?t:dc(t)?Rt:+t}function lo(t){if("string"==typeof t)return t;if(hp(t))return d(t,lo)+"";if(dc(t))return sl?sl.call(t):"";var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function po(t,e,n){var r=-1,o=l,i=t.length,u=!0,a=[],c=a;if(n)u=!1,o=p;else if(i>=rt){var f=e?null:ml(t);if(f)return K(f);u=!1,o=M,c=new dn}else c=e?[]:a;t:for(;++r<i;){var s=t[r],d=e?e(s):s;if(s=n||0!==s?s:0,u&&d===d){for(var h=c.length;h--;)if(c[h]===d)continue t;e&&c.push(d),a.push(s)}else o(c,d,n)||(c!==a&&c.push(d),a.push(s))}return a}function ho(t,e){return e=wo(e,t),null==(t=$i(t,e))||delete t[Yi(bu(e))]}function yo(t,e,n,r){return ro(t,e,n(hr(t,e)),r)}function vo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?io(t,r?0:i,r?i+1:o):io(t,r?i+1:0,r?o:i)}function go(t,e){var n=t;return n instanceof b&&(n=n.value()),y(e,function(t,e){return e.func.apply(e.thisArg,h([t],e.args))},n)}function bo(t,e,n){var r=t.length;if(r<2)return r?po(t[0]):[];for(var o=-1,i=ts(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=ir(i[o]||u,t[a],e,n));return po(sr(i,1),e,n)}function _o(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:nt);return u}function mo(t){return $a(t)?t:[]}function xo(t){return"function"==typeof t?t:Sf}function wo(t,e){return hp(t)?t:Ri(t,e)?[t]:Tl(Oc(t))}function jo(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:io(t,e,n)}function Oo(t,e){if(e)return t.slice();var n=t.length,r=Os?Os(n):new t.constructor(n);return t.copy(r),r}function ko(t){var e=new t.constructor(t.byteLength);return new js(e).set(new js(t)),e}function Po(t,e){return new t.constructor(e?ko(t.buffer):t.buffer,t.byteOffset,t.byteLength)}function Ao(t){var e=new t.constructor(t.source,Fe.exec(t));return e.lastIndex=t.lastIndex,e}function So(t){return fl?is(fl.call(t)):{}}function To(t,e){return new t.constructor(e?ko(t.buffer):t.buffer,t.byteOffset,t.length)}function Eo(t,e){if(t!==e){var n=t!==nt,r=null===t,o=t===t,i=dc(t),u=e!==nt,a=null===e,c=e===e,f=dc(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 Io(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;++r<u;){var c=Eo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}function zo(t,e,n,r){for(var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Us(i-u,0),s=ts(c+f),l=!r;++a<c;)s[a]=e[a];for(;++o<u;)(l||o<i)&&(s[n[o]]=t[o]);for(;f--;)s[a++]=t[o++];return s}function Ro(t,e,n,r){for(var o=-1,i=t.length,u=-1,a=n.length,c=-1,f=e.length,s=Us(i-a,0),l=ts(s+f),p=!r;++o<s;)l[o]=t[o];for(var d=o;++c<f;)l[d+c]=e[c];for(;++u<a;)(p||o<i)&&(l[d+n[u]]=t[o++]);return l}function Co(t,e){var n=-1,r=t.length;for(e||(e=ts(r));++n<r;)e[n]=t[n];return e}function Mo(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):nt;c===nt&&(c=t[a]),o?Nn(n,a,c):Tn(n,a,c)}return n}function Wo(t,e){return Mo(t,wl(t),e)}function Bo(t,e){return Mo(t,jl(t),e)}function Lo(t,e){return function(n,r){var o=hp(n)?u:Mn,i=e?e():{};return o(n,t,bi(r,2),i)}}function Do(t){return to(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:nt,u=o>2?n[2]:nt;for(i=t.length>3&&"function"==typeof i?(o--,i):nt,u&&zi(n[0],n[1],u)&&(i=o<3?nt:i,o=1),e=is(e);++r<o;){var a=n[r];a&&t(e,a,r,i)}return e})}function No(t,e){return function(n,r){if(null==n)return n;if(!Ua(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=is(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Fo(t){return function(e,n,r){for(var o=-1,i=is(e),u=r(e),a=u.length;a--;){var c=u[t?a:++o];if(!1===n(i[c],c,i))break}return e}}function qo(t,e,n){function r(){return(this&&this!==qn&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=e&ht,i=Go(t);return r}function Uo(t){return function(e){e=Oc(e);var n=F(e)?X(e):nt,r=n?n[0]:e.charAt(0),o=n?jo(n,1).join(""):e.slice(1);return r[t]()+o}}function $o(t){return function(e){return y(jf(nf(e).replace(On,"")),t,"")}}function Go(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=ll(t.prototype),r=t.apply(n,e);return ec(r)?r:n}}function Vo(t,e,n){function r(){for(var u=arguments.length,a=ts(u),c=u,f=gi(r);c--;)a[c]=arguments[c];var s=u<3&&a[0]!==f&&a[u-1]!==f?[]:V(a,f);return u-=s.length,u<n?ri(t,e,Zo,r.placeholder,nt,a,s,nt,nt,n-u):i(this&&this!==qn&&this instanceof r?o:t,this,a)}var o=Go(t);return r}function Ko(t){return function(e,n,r){var o=is(e);if(!Ua(e)){var i=bi(n,3);e=Bc(e),n=function(t){return i(o[t],t,o)}}var u=t(e,n,r);return u>-1?o[i?e[u]:u]:nt}}function Ho(t){return di(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 cs(it);if(i&&!a&&"wrapper"==vi(u))var a=new o([],!0)}for(r=a?r:n;++r<n;){u=e[r];var c=vi(u),f="wrapper"==c?xl(u):nt;a=f&&Mi(f[0])&&f[1]==(xt|gt|_t|wt)&&!f[4].length&&1==f[9]?a[vi(f[0])].apply(a,f[3]):1==u.length&&Mi(u)?a[c]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&hp(r))return a.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}})}function Zo(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=ts(g),_=g;_--;)b[_]=arguments[_];if(h)var m=gi(s),x=L(b,m);if(r&&(b=zo(b,r,o,h)),i&&(b=Ro(b,i,u,h)),g-=x,h&&g<f)return ri(t,e,Zo,s.placeholder,n,b,V(b,m),a,c,f-g);var w=p?n:this,j=d?w[t]:t;return g=b.length,a?b=Gi(b,a):y&&g>1&&b.reverse(),l&&c<g&&(b.length=c),this&&this!==qn&&this instanceof s&&(j=v||Go(j)),j.apply(w,b)}var l=e&xt,p=e&ht,d=e&yt,h=e&(gt|bt),y=e&jt,v=d?nt:Go(t);return s}function Yo(t,e){return function(n,r){return wr(n,t,e(r),{})}}function Jo(t,e){return function(n,r){var o;if(n===nt&&r===nt)return e;if(n!==nt&&(o=n),r!==nt){if(o===nt)return r;"string"==typeof n||"string"==typeof r?(n=lo(n),r=lo(r)):(n=so(n),r=so(r)),o=t(n,r)}return o}}function Xo(t){return di(function(e){return e=d(e,R(bi())),to(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function Qo(t,e){e=e===nt?" ":lo(e);var n=e.length;if(n<2)return n?Qr(e,t):e;var r=Qr(e,Ws(t/J(e)));return F(e)?jo(X(r),0,t).join(""):r.slice(0,t)}function ti(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=ts(s+c),p=this&&this!==qn&&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=e&ht,a=Go(t);return o}function ei(t){return function(e,n,r){return r&&"number"!=typeof r&&zi(e,n,r)&&(n=r=nt),e=bc(e),n===nt?(n=e,e=0):n=bc(n),r=r===nt?e<n?1:-1:bc(r),Xr(e,n,r,t)}}function ni(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=xc(e),n=xc(n)),t(e,n)}}function ri(t,e,n,r,o,i,u,a,c,f){var s=e>,l=s?u:nt,p=s?nt:u,d=s?i:nt,h=s?nt:i;e|=s?_t:mt,(e&=~(s?mt:_t))&vt||(e&=~(ht|yt));var y=[t,e,o,d,l,h,p,a,c,f],v=n.apply(nt,y);return Mi(t)&&Pl(v,y),v.placeholder=r,Ki(v,t,e)}function oi(t){var e=os[t];return function(t,n){if(t=xc(t),(n=null==n?0:$s(_c(n),292))&&Ns(t)){var r=(Oc(t)+"e").split("e");return r=(Oc(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ii(t){return function(e){var n=Ol(e);return n==Kt?$(e):n==te?H(e):z(e,t(e))}}function ui(t,e,n,r,o,i,u,a){var c=e&yt;if(!c&&"function"!=typeof t)throw new cs(it);var f=r?r.length:0;if(f||(e&=~(_t|mt),r=o=nt),u=u===nt?u:Us(_c(u),0),a=a===nt?a:_c(a),f-=o?o.length:0,e&mt){var s=r,l=o;r=o=nt}var p=c?nt:xl(t),d=[t,e,n,r,o,s,l,i,u,a];if(p&&Ni(d,p),t=d[0],e=d[1],n=d[2],r=d[3],o=d[4],a=d[9]=d[9]===nt?c?0:t.length:Us(d[9]-f,0),!a&&e&(gt|bt)&&(e&=~(gt|bt)),e&&e!=ht)h=e==gt||e==bt?Vo(t,e,a):e!=_t&&e!=(ht|_t)||o.length?Zo.apply(nt,d):ti(t,e,n,r);else var h=qo(t,e,n);return Ki((p?vl:Pl)(h,d),t,e)}function ai(t,e,n,r){return t===nt||qa(t,ls[n])&&!hs.call(r,n)?e:t}function ci(t,e,n,r,o,i){return ec(t)&&ec(e)&&(i.set(e,t),qr(t,e,nt,ci,i),i.delete(e)),t}function fi(t){return sc(t)?nt:t}function si(t,e,n,r,o,i){var u=n&pt,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;var f=i.get(t),s=i.get(e);if(f&&s)return f==e&&s==t;var l=-1,p=!0,d=n&dt?new dn:nt;for(i.set(t,e),i.set(e,t);++l<a;){var h=t[l],y=e[l];if(r)var v=u?r(y,h,l,e,t,i):r(h,y,l,t,e,i);if(v!==nt){if(v)continue;p=!1;break}if(d){if(!g(e,function(t,e){if(!M(d,e)&&(h===t||o(h,t,n,r,i)))return d.push(e)})){p=!1;break}}else if(h!==y&&!o(h,y,n,r,i)){p=!1;break}}return i.delete(t),i.delete(e),p}function li(t,e,n,r,o,i,u){switch(n){case ae:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ue:return!(t.byteLength!=e.byteLength||!i(new js(t),new js(e)));case Ft:case qt:case Ht:return qa(+t,+e);case $t:return t.name==e.name&&t.message==e.message;case Qt:case ee:return t==e+"";case Kt:var a=$;case te:var c=r&pt;if(a||(a=K),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;r|=dt,u.set(t,e);var s=si(a(t),a(e),r,o,i,u);return u.delete(t),s;case ne:if(fl)return fl.call(t)==fl.call(e)}return!1}function pi(t,e,n,r,o,i){var u=n&pt,a=hi(t),c=a.length;if(c!=hi(e).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in e:hs.call(e,s)))return!1}var l=i.get(t),p=i.get(e);if(l&&p)return l==e&&p==t;var d=!0;i.set(t,e),i.set(e,t);for(var h=u;++f<c;){s=a[f];var y=t[s],v=e[s];if(r)var g=u?r(v,y,s,e,t,i):r(y,v,s,t,e,i);if(!(g===nt?y===v||o(y,v,n,r,i):g)){d=!1;break}h||(h="constructor"==s)}if(d&&!h){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(d=!1)}return i.delete(t),i.delete(e),d}function di(t){return Sl(Ui(t,nt,su),t+"")}function hi(t){return yr(t,Bc,wl)}function yi(t){return yr(t,Lc,jl)}function vi(t){for(var e=t.name+"",n=nl[e],r=hs.call(nl,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function gi(t){return(hs.call(n,"placeholder")?n:t).placeholder}function bi(){var t=n.iteratee||Tf;return t=t===Tf?Mr:t,arguments.length?t(arguments[0],arguments[1]):t}function _i(t,e){var n=t.__data__;return Ci(e)?n["string"==typeof e?"string":"hash"]:n.map}function mi(t){for(var e=Bc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Li(o)]}return e}function xi(t,e){var n=N(t,e);return Ir(n)?n:nt}function wi(t){var e=hs.call(t,Is),n=t[Is];try{t[Is]=nt;var r=!0}catch(t){}var o=gs.call(t);return r&&(e?t[Is]=n:delete t[Is]),o}function ji(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=$s(e,t+u);break;case"takeRight":t=Us(t,e-u)}}return{start:t,end:e}}function Oi(t){var e=t.match(We);return e?e[1].split(Be):[]}function ki(t,e,n){e=wo(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Yi(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&tc(o)&&Ii(u,o)&&(hp(t)||dp(t))}function Pi(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&hs.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Ai(t){return"function"!=typeof t.constructor||Bi(t)?{}:ll(ks(t))}function Si(t,e,n){var r=t.constructor;switch(e){case ue:return ko(t);case Ft:case qt:return new r(+t);case ae:return Po(t,n);case ce:case fe:case se:case le:case pe:case de:case he:case ye:case ve:return To(t,n);case Kt:return new r;case Ht:case ee:return new r(t);case Qt:return Ao(t);case te:return new r;case ne:return So(t)}}function Ti(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Me,"{\n/* [wrapped with "+e+"] */\n")}function Ei(t){return hp(t)||dp(t)||!!(Ts&&t&&t[Ts])}function Ii(t,e){var n=typeof t;return!!(e=null==e?It:e)&&("number"==n||"symbol"!=n&&Ve.test(t))&&t>-1&&t%1==0&&t<e}function zi(t,e,n){if(!ec(n))return!1;var r=typeof e;return!!("number"==r?Ua(n)&&Ii(e,n.length):"string"==r&&e in n)&&qa(n[e],t)}function Ri(t,e){if(hp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!dc(t))||Se.test(t)||!Ae.test(t)||null!=e&&t in is(e)}function Ci(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Mi(t){var e=vi(t),r=n[e];if("function"!=typeof r||!(e in b.prototype))return!1;if(t===r)return!0;var o=xl(r);return!!o&&t===o[0]}function Wi(t){return!!vs&&vs in t}function Bi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ls)}function Li(t){return t===t&&!ec(t)}function Di(t,e){return function(n){return null!=n&&n[t]===e&&(e!==nt||t in is(n))}}function Ni(t,e){var n=t[1],r=e[1],o=n|r,i=o<(ht|yt|xt),u=r==xt&&n==gt||r==xt&&n==wt&&t[7].length<=e[8]||r==(xt|wt)&&e[7].length<=e[8]&&n==gt;if(!i&&!u)return t;r&ht&&(t[2]=e[2],o|=n&ht?0:vt);var a=e[3];if(a){var c=t[3];t[3]=c?zo(c,a,e[4]):a,t[4]=c?V(t[3],ct):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?Ro(c,a,e[6]):a,t[6]=c?V(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&xt&&(t[8]=null==t[8]?e[8]:$s(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t}function Fi(t){var e=[];if(null!=t)for(var n in is(t))e.push(n);return e}function qi(t){return gs.call(t)}function Ui(t,e,n){return e=Us(e===nt?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Us(r.length-e,0),a=ts(u);++o<u;)a[o]=r[e+o];o=-1;for(var c=ts(e+1);++o<e;)c[o]=r[o];return c[e]=n(a),i(t,this,c)}}function $i(t,e){return e.length<2?t:hr(t,io(e,0,-1))}function Gi(t,e){for(var n=t.length,r=$s(e.length,n),o=Co(t);r--;){var i=e[r];t[r]=Ii(i,n)?o[i]:nt}return t}function Vi(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Ki(t,e,n){var r=e+"";return Sl(t,Ti(r,Xi(Oi(r),n)))}function Hi(t){var e=0,n=0;return function(){var r=Gs(),o=At-(r-n);if(n=r,o>0){if(++e>=Pt)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function Zi(t,e){var n=-1,r=t.length,o=r-1;for(e=e===nt?r:e;++n<e;){var i=Jr(n,o),u=t[i];t[i]=t[n],t[n]=u}return t.length=e,t}function Yi(t){if("string"==typeof t||dc(t))return t;var e=t+"";return"0"==e&&1/t==-Et?"-0":e}function Ji(t){if(null!=t){try{return ds.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Xi(t,e){return a(Bt,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function Qi(t){if(t instanceof b)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Co(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function tu(t,e,n){e=(n?zi(t,e,n):e===nt)?1:Us(_c(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,i=0,u=ts(Ws(r/e));o<r;)u[i++]=io(t,o,o+=e);return u}function eu(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}function nu(){var t=arguments.length;if(!t)return[];for(var e=ts(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return h(hp(n)?Co(n):[n],sr(e,1))}function ru(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),io(t,e<0?0:e,r)):[]}function ou(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),e=r-e,io(t,0,e<0?0:e)):[]}function iu(t,e){return t&&t.length?vo(t,bi(e,3),!0,!0):[]}function uu(t,e){return t&&t.length?vo(t,bi(e,3),!0):[]}function au(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&zi(t,e,n)&&(n=0,r=o),cr(t,e,n,r)):[]}function cu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:_c(n);return o<0&&(o=Us(r+o,0)),x(t,bi(e,3),o)}function fu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==nt&&(o=_c(n),o=n<0?Us(r+o,0):$s(o,r-1)),x(t,bi(e,3),o,!0)}function su(t){return(null==t?0:t.length)?sr(t,1):[]}function lu(t){return(null==t?0:t.length)?sr(t,Et):[]}function pu(t,e){return(null==t?0:t.length)?(e=e===nt?1:_c(e),sr(t,e)):[]}function du(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}function hu(t){return t&&t.length?t[0]:nt}function yu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:_c(n);return o<0&&(o=Us(r+o,0)),w(t,e,o)}function vu(t){return(null==t?0:t.length)?io(t,0,-1):[]}function gu(t,e){return null==t?"":Fs.call(t,e)}function bu(t){var e=null==t?0:t.length;return e?t[e-1]:nt}function _u(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==nt&&(o=_c(n),o=o<0?Us(r+o,0):$s(o,r-1)),e===e?Y(t,e,o):x(t,O,o,!0)}function mu(t,e){return t&&t.length?$r(t,_c(e)):nt}function xu(t,e){return t&&t.length&&e&&e.length?Zr(t,e):t}function wu(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,bi(n,2)):t}function ju(t,e,n){return t&&t.length&&e&&e.length?Zr(t,e,nt,n):t}function Ou(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=bi(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Yr(t,o),n}function ku(t){return null==t?t:Hs.call(t)}function Pu(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&zi(t,e,n)?(e=0,n=r):(e=null==e?0:_c(e),n=n===nt?r:_c(n)),io(t,e,n)):[]}function Au(t,e){return ao(t,e)}function Su(t,e,n){return co(t,e,bi(n,2))}function Tu(t,e){var n=null==t?0:t.length;if(n){var r=ao(t,e);if(r<n&&qa(t[r],e))return r}return-1}function Eu(t,e){return ao(t,e,!0)}function Iu(t,e,n){return co(t,e,bi(n,2),!0)}function zu(t,e){if(null==t?0:t.length){var n=ao(t,e,!0)-1;if(qa(t[n],e))return n}return-1}function Ru(t){return t&&t.length?fo(t):[]}function Cu(t,e){return t&&t.length?fo(t,bi(e,2)):[]}function Mu(t){var e=null==t?0:t.length;return e?io(t,1,e):[]}function Wu(t,e,n){return t&&t.length?(e=n||e===nt?1:_c(e),io(t,0,e<0?0:e)):[]}function Bu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:_c(e),e=r-e,io(t,e<0?0:e,r)):[]}function Lu(t,e){return t&&t.length?vo(t,bi(e,3),!1,!0):[]}function Du(t,e){return t&&t.length?vo(t,bi(e,3)):[]}function Nu(t){return t&&t.length?po(t):[]}function Fu(t,e){return t&&t.length?po(t,bi(e,2)):[]}function qu(t,e){return e="function"==typeof e?e:nt,t&&t.length?po(t,nt,e):[]}function Uu(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if($a(t))return e=Us(t.length,e),!0}),I(e,function(e){return d(t,P(e))})}function $u(t,e){if(!t||!t.length)return[];var n=Uu(t);return null==e?n:d(n,function(t){return i(e,nt,t)})}function Gu(t,e){return _o(t||[],e||[],Tn)}function Vu(t,e){return _o(t||[],e||[],ro)}function Ku(t){var e=n(t);return e.__chain__=!0,e}function Hu(t,e){return e(t),t}function Zu(t,e){return e(t)}function Yu(){return Ku(this)}function Ju(){return new o(this.value(),this.__chain__)}function Xu(){this.__values__===nt&&(this.__values__=gc(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?nt:this.__values__[this.__index__++]}}function Qu(){return this}function ta(t){for(var e,n=this;n instanceof r;){var o=Qi(n);o.__index__=0,o.__values__=nt,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e}function ea(){var t=this.__wrapped__;if(t instanceof b){var e=t;return this.__actions__.length&&(e=new b(this)),e=e.reverse(),e.__actions__.push({func:Zu,args:[ku],thisArg:nt}),new o(e,this.__chain__)}return this.thru(ku)}function na(){return go(this.__wrapped__,this.__actions__)}function ra(t,e,n){var r=hp(t)?f:ur;return n&&zi(t,e,n)&&(e=nt),r(t,bi(e,3))}function oa(t,e){return(hp(t)?s:fr)(t,bi(e,3))}function ia(t,e){return sr(la(t,e),1)}function ua(t,e){return sr(la(t,e),Et)}function aa(t,e,n){return n=n===nt?1:_c(n),sr(la(t,e),n)}function ca(t,e){return(hp(t)?a:pl)(t,bi(e,3))}function fa(t,e){return(hp(t)?c:dl)(t,bi(e,3))}function sa(t,e,n,r){t=Ua(t)?t:Yc(t),n=n&&!r?_c(n):0;var o=t.length;return n<0&&(n=Us(o+n,0)),pc(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&w(t,e,n)>-1}function la(t,e){return(hp(t)?d:Dr)(t,bi(e,3))}function pa(t,e,n,r){return null==t?[]:(hp(e)||(e=null==e?[]:[e]),n=r?nt:n,hp(n)||(n=null==n?[]:[n]),Gr(t,e,n))}function da(t,e,n){var r=hp(t)?y:S,o=arguments.length<3;return r(t,bi(e,4),n,o,pl)}function ha(t,e,n){var r=hp(t)?v:S,o=arguments.length<3;return r(t,bi(e,4),n,o,dl)}function ya(t,e){return(hp(t)?s:fr)(t,Ta(bi(e,3)))}function va(t){return(hp(t)?jn:eo)(t)}function ga(t,e,n){return e=(n?zi(t,e,n):e===nt)?1:_c(e),(hp(t)?Pn:no)(t,e)}function ba(t){return(hp(t)?An:oo)(t)}function _a(t){if(null==t)return 0;if(Ua(t))return pc(t)?J(t):t.length;var e=Ol(t);return e==Kt||e==te?t.size:Wr(t).length}function ma(t,e,n){var r=hp(t)?g:uo;return n&&zi(t,e,n)&&(e=nt),r(t,bi(e,3))}function xa(t,e){if("function"!=typeof e)throw new cs(it);return t=_c(t),function(){if(--t<1)return e.apply(this,arguments)}}function wa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,ui(t,xt,nt,nt,nt,nt,e)}function ja(t,e){var n;if("function"!=typeof e)throw new cs(it);return t=_c(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function Oa(t,e,n){e=n?nt:e;var r=ui(t,gt,nt,nt,nt,nt,nt,e);return r.placeholder=Oa.placeholder,r}function ka(t,e,n){e=n?nt:e;var r=ui(t,bt,nt,nt,nt,nt,nt,e);return r.placeholder=ka.placeholder,r}function Pa(t,e,n){function r(e){var n=p,r=d;return p=d=nt,b=e,y=t.apply(r,n)}function o(t){return b=t,v=Al(a,e),_?r(t):y}function i(t){var n=t-g,r=t-b,o=e-n;return m?$s(o,h-r):o}function u(t){var n=t-g,r=t-b;return g===nt||n>=e||n<0||m&&r>=h}function a(){var t=np();return u(t)?c(t):(v=Al(a,i(t)),nt)}function c(t){return v=nt,x&&p?r(t):(p=d=nt,y)}function f(){v!==nt&&_l(v),b=0,p=g=d=v=nt}function s(){return v===nt?y:c(np())}function l(){var t=np(),n=u(t);if(p=arguments,d=this,g=t,n){if(v===nt)return o(g);if(m)return _l(v),v=Al(a,e),r(g)}return v===nt&&(v=Al(a,e)),y}var p,d,h,y,v,g,b=0,_=!1,m=!1,x=!0;if("function"!=typeof t)throw new cs(it);return e=xc(e)||0,ec(n)&&(_=!!n.leading,m="maxWait"in n,h=m?Us(xc(n.maxWait)||0,e):h,x="trailing"in n?!!n.trailing:x),l.cancel=f,l.flush=s,l}function Aa(t){return ui(t,jt)}function Sa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new cs(it);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(Sa.Cache||an),n}function Ta(t){if("function"!=typeof t)throw new cs(it);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 Ea(t){return ja(2,t)}function Ia(t,e){if("function"!=typeof t)throw new cs(it);return e=e===nt?e:_c(e),to(t,e)}function za(t,e){if("function"!=typeof t)throw new cs(it);return e=null==e?0:Us(_c(e),0),to(function(n){var r=n[e],o=jo(n,0,e);return r&&h(o,r),i(t,this,o)})}function Ra(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new cs(it);return ec(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Pa(t,e,{leading:r,maxWait:e,trailing:o})}function Ca(t){return wa(t,1)}function Ma(t,e){return cp(xo(e),t)}function Wa(){if(!arguments.length)return[];var t=arguments[0];return hp(t)?t:[t]}function Ba(t){return $n(t,lt)}function La(t,e){return e="function"==typeof e?e:nt,$n(t,lt,e)}function Da(t){return $n(t,ft|lt)}function Na(t,e){return e="function"==typeof e?e:nt,$n(t,ft|lt,e)}function Fa(t,e){return null==e||Kn(t,e,Bc(e))}function qa(t,e){return t===e||t!==t&&e!==e}function Ua(t){return null!=t&&tc(t.length)&&!Xa(t)}function $a(t){return nc(t)&&Ua(t)}function Ga(t){return!0===t||!1===t||nc(t)&&vr(t)==Ft}function Va(t){return nc(t)&&1===t.nodeType&&!sc(t)}function Ka(t){if(null==t)return!0;if(Ua(t)&&(hp(t)||"string"==typeof t||"function"==typeof t.splice||vp(t)||xp(t)||dp(t)))return!t.length;var e=Ol(t);if(e==Kt||e==te)return!t.size;if(Bi(t))return!Wr(t).length;for(var n in t)if(hs.call(t,n))return!1;return!0}function Ha(t,e){return Ar(t,e)}function Za(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Ar(t,e,nt,n):!!r}function Ya(t){if(!nc(t))return!1;var e=vr(t);return e==$t||e==Ut||"string"==typeof t.message&&"string"==typeof t.name&&!sc(t)}function Ja(t){return"number"==typeof t&&Ns(t)}function Xa(t){if(!ec(t))return!1;var e=vr(t);return e==Gt||e==Vt||e==Nt||e==Xt}function Qa(t){return"number"==typeof t&&t==_c(t)}function tc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=It}function ec(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function nc(t){return null!=t&&"object"==typeof t}function rc(t,e){return t===e||Er(t,e,mi(e))}function oc(t,e,n){return n="function"==typeof n?n:nt,Er(t,e,mi(e),n)}function ic(t){return fc(t)&&t!=+t}function uc(t){if(kl(t))throw new ns(ot);return Ir(t)}function ac(t){return null===t}function cc(t){return null==t}function fc(t){return"number"==typeof t||nc(t)&&vr(t)==Ht}function sc(t){if(!nc(t)||vr(t)!=Yt)return!1;var e=ks(t);if(null===e)return!0;var n=hs.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ds.call(n)==bs}function lc(t){return Qa(t)&&t>=-It&&t<=It}function pc(t){return"string"==typeof t||!hp(t)&&nc(t)&&vr(t)==ee}function dc(t){return"symbol"==typeof t||nc(t)&&vr(t)==ne}function hc(t){return t===nt}function yc(t){return nc(t)&&Ol(t)==oe}function vc(t){return nc(t)&&vr(t)==ie}function gc(t){if(!t)return[];if(Ua(t))return pc(t)?X(t):Co(t);if(Es&&t[Es])return U(t[Es]());var e=Ol(t);return(e==Kt?$:e==te?K:Yc)(t)}function bc(t){return t?(t=xc(t))===Et||t===-Et?(t<0?-1:1)*zt:t===t?t:0:0===t?t:0}function _c(t){var e=bc(t),n=e%1;return e===e?n?e-n:e:0}function mc(t){return t?Un(_c(t),0,Ct):0}function xc(t){if("number"==typeof t)return t;if(dc(t))return Rt;if(ec(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ec(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(ze,"");var n=Ue.test(t);return n||Ge.test(t)?Dn(t.slice(2),n?2:8):qe.test(t)?Rt:+t}function wc(t){return Mo(t,Lc(t))}function jc(t){return t?Un(_c(t),-It,It):0===t?t:0}function Oc(t){return null==t?"":lo(t)}function kc(t,e){var n=ll(t);return null==e?n:Wn(n,e)}function Pc(t,e){return m(t,bi(e,3),lr)}function Ac(t,e){return m(t,bi(e,3),pr)}function Sc(t,e){return null==t?t:hl(t,bi(e,3),Lc)}function Tc(t,e){return null==t?t:yl(t,bi(e,3),Lc)}function Ec(t,e){return t&&lr(t,bi(e,3))}function Ic(t,e){return t&&pr(t,bi(e,3))}function zc(t){return null==t?[]:dr(t,Bc(t))}function Rc(t){return null==t?[]:dr(t,Lc(t))}function Cc(t,e,n){var r=null==t?nt:hr(t,e);return r===nt?n:r}function Mc(t,e){return null!=t&&ki(t,e,br)}function Wc(t,e){return null!=t&&ki(t,e,_r)}function Bc(t){return Ua(t)?wn(t):Wr(t)}function Lc(t){return Ua(t)?wn(t,!0):Br(t)}function Dc(t,e){var n={};return e=bi(e,3),lr(t,function(t,r,o){Nn(n,e(t,r,o),t)}),n}function Nc(t,e){var n={};return e=bi(e,3),lr(t,function(t,r,o){Nn(n,r,e(t,r,o))}),n}function Fc(t,e){return qc(t,Ta(bi(e)))}function qc(t,e){if(null==t)return{};var n=d(yi(t),function(t){return[t]});return e=bi(e),Kr(t,n,function(t,n){return e(t,n[0])})}function Uc(t,e,n){e=wo(e,t);var r=-1,o=e.length;for(o||(o=1,t=nt);++r<o;){var i=null==t?nt:t[Yi(e[r])];i===nt&&(r=o,i=n),t=Xa(i)?i.call(t):i}return t}function $c(t,e,n){return null==t?t:ro(t,e,n)}function Gc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:ro(t,e,n,r)}function Vc(t,e,n){var r=hp(t),o=r||vp(t)||xp(t);if(e=bi(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:ec(t)&&Xa(i)?ll(ks(t)):{}}return(o?a:lr)(t,function(t,r,o){return e(n,t,r,o)}),n}function Kc(t,e){return null==t||ho(t,e)}function Hc(t,e,n){return null==t?t:yo(t,e,xo(n))}function Zc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:yo(t,e,xo(n),r)}function Yc(t){return null==t?[]:C(t,Bc(t))}function Jc(t){return null==t?[]:C(t,Lc(t))}function Xc(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=xc(n),n=n===n?n:0),e!==nt&&(e=xc(e),e=e===e?e:0),Un(xc(t),e,n)}function Qc(t,e,n){return e=bc(e),n===nt?(n=e,e=0):n=bc(n),t=xc(t),mr(t,e,n)}function tf(t,e,n){if(n&&"boolean"!=typeof n&&zi(t,e,n)&&(e=n=nt),n===nt&&("boolean"==typeof e?(n=e,e=nt):"boolean"==typeof t&&(n=t,t=nt)),t===nt&&e===nt?(t=0,e=1):(t=bc(t),e===nt?(e=t,t=0):e=bc(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Ks();return $s(t+o*(e-t+Ln("1e-"+((o+"").length-1))),e)}return Jr(t,e)}function ef(t){return Kp(Oc(t).toLowerCase())}function nf(t){return(t=Oc(t))&&t.replace(Ke,er).replace(kn,"")}function rf(t,e,n){t=Oc(t),e=lo(e);var r=t.length;n=n===nt?r:Un(_c(n),0,r);var o=n;return(n-=e.length)>=0&&t.slice(n,o)==e}function of(t){return t=Oc(t),t&&je.test(t)?t.replace(xe,nr):t}function uf(t){return t=Oc(t),t&&Ie.test(t)?t.replace(Ee,"\\$&"):t}function af(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Qo(Bs(o),n)+t+Qo(Ws(o),n)}function cf(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;return e&&r<e?t+Qo(e-r,n):t}function ff(t,e,n){t=Oc(t),e=_c(e);var r=e?J(t):0;return e&&r<e?Qo(e-r,n)+t:t}function sf(t,e,n){return n||null==e?e=0:e&&(e=+e),Vs(Oc(t).replace(Re,""),e||0)}function lf(t,e,n){return e=(n?zi(t,e,n):e===nt)?1:_c(e),Qr(Oc(t),e)}function pf(){var t=arguments,e=Oc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function df(t,e,n){return n&&"number"!=typeof n&&zi(t,e,n)&&(e=n=nt),(n=n===nt?Ct:n>>>0)?(t=Oc(t),t&&("string"==typeof e||null!=e&&!_p(e))&&!(e=lo(e))&&F(t)?jo(X(t),0,n):t.split(e,n)):[]}function hf(t,e,n){return t=Oc(t),n=null==n?0:Un(_c(n),0,t.length),e=lo(e),t.slice(n,n+e.length)==e}function yf(t,e,r){var o=n.templateSettings;r&&zi(t,e,r)&&(e=nt),t=Oc(t),e=Pp({},e,o,ai);var i,u,a=Pp({},e.imports,o.imports,ai),c=Bc(a),f=C(a,c),s=0,l=e.interpolate||He,p="__p += '",d=us((e.escape||He).source+"|"+l.source+"|"+(l===Pe?Ne:He).source+"|"+(e.evaluate||He).source+"|$","g"),h="//# sourceURL="+(hs.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++In+"]")+"\n";t.replace(d,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(s,c).replace(Ze,D),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=c+e.length,e}),p+="';\n";var y=hs.call(e,"variable")&&e.variable;y||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(ge,""):p).replace(be,"$1").replace(_e,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Hp(function(){return rs(c,h+"return "+p).apply(nt,f)});if(v.source=p,Ya(v))throw v;return v}function vf(t){return Oc(t).toLowerCase()}function gf(t){return Oc(t).toUpperCase()}function bf(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(ze,"");if(!t||!(e=lo(e)))return t;var r=X(t),o=X(e);return jo(r,W(r,o),B(r,o)+1).join("")}function _f(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(Ce,"");if(!t||!(e=lo(e)))return t;var r=X(t);return jo(r,0,B(r,X(e))+1).join("")}function mf(t,e,n){if((t=Oc(t))&&(n||e===nt))return t.replace(Re,"");if(!t||!(e=lo(e)))return t;var r=X(t);return jo(r,W(r,X(e))).join("")}function xf(t,e){var n=Ot,r=kt;if(ec(e)){var o="separator"in e?e.separator:o;n="length"in e?_c(e.length):n,r="omission"in e?lo(e.omission):r}t=Oc(t);var i=t.length;if(F(t)){var u=X(t);i=u.length}if(n>=i)return t;var a=n-J(r);if(a<1)return r;var c=u?jo(u,0,a).join(""):t.slice(0,a);if(o===nt)return c+r;if(u&&(a+=c.length-a),_p(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=us(o.source,Oc(Fe.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,l===nt?a:l)}}else if(t.indexOf(lo(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r}function wf(t){return t=Oc(t),t&&we.test(t)?t.replace(me,rr):t}function jf(t,e,n){return t=Oc(t),e=n?nt:e,e===nt?q(t)?et(t):_(t):t.match(e)||[]}function Of(t){var e=null==t?0:t.length,n=bi();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new cs(it);return[n(t[0]),t[1]]}):[],to(function(n){for(var r=-1;++r<e;){var o=t[r];if(i(o[0],this,n))return i(o[1],this,n)}})}function kf(t){return Vn($n(t,ft))}function Pf(t){return function(){return t}}function Af(t,e){return null==t||t!==t?e:t}function Sf(t){return t}function Tf(t){return Mr("function"==typeof t?t:$n(t,ft))}function Ef(t){return Nr($n(t,ft))}function If(t,e){return Fr(t,$n(e,ft))}function zf(t,e,n){var r=Bc(e),o=dr(e,r);null!=n||ec(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Bc(e)));var i=!(ec(n)&&"chain"in n&&!n.chain),u=Xa(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__=Co(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function Rf(){return qn._===this&&(qn._=_s),this}function Cf(){}function Mf(t){return t=_c(t),to(function(e){return $r(e,t)})}function Wf(t){return Ri(t)?P(Yi(t)):Hr(t)}function Bf(t){return function(e){return null==t?nt:hr(t,e)}}function Lf(){return[]}function Df(){return!1}function Nf(){return{}}function Ff(){return""}function qf(){return!0}function Uf(t,e){if((t=_c(t))<1||t>It)return[];var n=Ct,r=$s(t,Ct);e=bi(e),t-=Ct;for(var o=I(r,e);++n<t;)e(n);return o}function $f(t){return hp(t)?d(t,Yi):dc(t)?[t]:Co(Tl(Oc(t)))}function Gf(t){var e=++ys;return Oc(t)+e}function Vf(t){return t&&t.length?ar(t,Sf,gr):nt}function Kf(t,e){return t&&t.length?ar(t,bi(e,2),gr):nt}function Hf(t){return k(t,Sf)}function Zf(t,e){return k(t,bi(e,2))}function Yf(t){return t&&t.length?ar(t,Sf,Lr):nt}function Jf(t,e){return t&&t.length?ar(t,bi(e,2),Lr):nt}function Xf(t){return t&&t.length?E(t,Sf):0}function Qf(t,e){return t&&t.length?E(t,bi(e,2)):0}e=null==e?qn:or.defaults(qn.Object(),e,or.pick(qn,En));var ts=e.Array,es=e.Date,ns=e.Error,rs=e.Function,os=e.Math,is=e.Object,us=e.RegExp,as=e.String,cs=e.TypeError,fs=ts.prototype,ss=rs.prototype,ls=is.prototype,ps=e["__core-js_shared__"],ds=ss.toString,hs=ls.hasOwnProperty,ys=0,vs=function(){var t=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),gs=ls.toString,bs=ds.call(is),_s=qn._,ms=us("^"+ds.call(hs).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xs=Gn?e.Buffer:nt,ws=e.Symbol,js=e.Uint8Array,Os=xs?xs.allocUnsafe:nt,ks=G(is.getPrototypeOf,is),Ps=is.create,As=ls.propertyIsEnumerable,Ss=fs.splice,Ts=ws?ws.isConcatSpreadable:nt,Es=ws?ws.iterator:nt,Is=ws?ws.toStringTag:nt,zs=function(){try{var t=xi(is,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rs=e.clearTimeout!==qn.clearTimeout&&e.clearTimeout,Cs=es&&es.now!==qn.Date.now&&es.now,Ms=e.setTimeout!==qn.setTimeout&&e.setTimeout,Ws=os.ceil,Bs=os.floor,Ls=is.getOwnPropertySymbols,Ds=xs?xs.isBuffer:nt,Ns=e.isFinite,Fs=fs.join,qs=G(is.keys,is),Us=os.max,$s=os.min,Gs=es.now,Vs=e.parseInt,Ks=os.random,Hs=fs.reverse,Zs=xi(e,"DataView"),Ys=xi(e,"Map"),Js=xi(e,"Promise"),Xs=xi(e,"Set"),Qs=xi(e,"WeakMap"),tl=xi(is,"create"),el=Qs&&new Qs,nl={},rl=Ji(Zs),ol=Ji(Ys),il=Ji(Js),ul=Ji(Xs),al=Ji(Qs),cl=ws?ws.prototype:nt,fl=cl?cl.valueOf:nt,sl=cl?cl.toString:nt,ll=function(){function t(){}return function(e){if(!ec(e))return{};if(Ps)return Ps(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();n.templateSettings={escape:Oe,evaluate:ke,interpolate:Pe,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ll(r.prototype),o.prototype.constructor=o,b.prototype=ll(r.prototype),b.prototype.constructor=b,tt.prototype.clear=Le,tt.prototype.delete=Ye,tt.prototype.get=Je,tt.prototype.has=Xe,tt.prototype.set=Qe,tn.prototype.clear=en,tn.prototype.delete=nn,tn.prototype.get=rn,tn.prototype.has=on,tn.prototype.set=un,an.prototype.clear=cn,an.prototype.delete=fn,an.prototype.get=sn,an.prototype.has=ln,an.prototype.set=pn,dn.prototype.add=dn.prototype.push=hn,dn.prototype.has=yn,vn.prototype.clear=gn,vn.prototype.delete=bn,vn.prototype.get=_n,vn.prototype.has=mn,vn.prototype.set=xn;var pl=No(lr),dl=No(pr,!0),hl=Fo(),yl=Fo(!0),vl=el?function(t,e){return el.set(t,e),t}:Sf,gl=zs?function(t,e){return zs(t,"toString",{configurable:!0,enumerable:!1,value:Pf(e),writable:!0})}:Sf,bl=to,_l=Rs||function(t){return qn.clearTimeout(t)},ml=Xs&&1/K(new Xs([,-0]))[1]==Et?function(t){return new Xs(t)}:Cf,xl=el?function(t){return el.get(t)}:Cf,wl=Ls?function(t){return null==t?[]:(t=is(t),s(Ls(t),function(e){return As.call(t,e)}))}:Lf,jl=Ls?function(t){for(var e=[];t;)h(e,wl(t)),t=ks(t);return e}:Lf,Ol=vr;(Zs&&Ol(new Zs(new ArrayBuffer(1)))!=ae||Ys&&Ol(new Ys)!=Kt||Js&&Ol(Js.resolve())!=Jt||Xs&&Ol(new Xs)!=te||Qs&&Ol(new Qs)!=oe)&&(Ol=function(t){var e=vr(t),n=e==Yt?t.constructor:nt,r=n?Ji(n):"";if(r)switch(r){case rl:return ae;case ol:return Kt;case il:return Jt;case ul:return te;case al:return oe}return e});var kl=ps?Xa:Df,Pl=Hi(vl),Al=Ms||function(t,e){return qn.setTimeout(t,e)},Sl=Hi(gl),Tl=function(t){var e=Sa(t,function(t){return n.size===at&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Te,function(t,n,r,o){e.push(r?o.replace(De,"$1"):n||t)}),e}),El=to(function(t,e){return $a(t)?ir(t,sr(e,1,$a,!0)):[]}),Il=to(function(t,e){var n=bu(e);return $a(n)&&(n=nt),$a(t)?ir(t,sr(e,1,$a,!0),bi(n,2)):[]}),zl=to(function(t,e){var n=bu(e);return $a(n)&&(n=nt),$a(t)?ir(t,sr(e,1,$a,!0),nt,n):[]}),Rl=to(function(t){var e=d(t,mo);return e.length&&e[0]===t[0]?xr(e):[]}),Cl=to(function(t){var e=bu(t),n=d(t,mo);return e===bu(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?xr(n,bi(e,2)):[]}),Ml=to(function(t){var e=bu(t),n=d(t,mo);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?xr(n,nt,e):[]}),Wl=to(xu),Bl=di(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return Yr(t,d(e,function(t){return Ii(t,n)?+t:t}).sort(Eo)),r}),Ll=to(function(t){return po(sr(t,1,$a,!0))}),Dl=to(function(t){var e=bu(t);return $a(e)&&(e=nt),po(sr(t,1,$a,!0),bi(e,2))}),Nl=to(function(t){var e=bu(t);return e="function"==typeof e?e:nt,po(sr(t,1,$a,!0),nt,e)}),Fl=to(function(t,e){return $a(t)?ir(t,e):[]}),ql=to(function(t){return bo(s(t,$a))}),Ul=to(function(t){var e=bu(t);return $a(e)&&(e=nt),bo(s(t,$a),bi(e,2))}),$l=to(function(t){var e=bu(t);return e="function"==typeof e?e:nt,bo(s(t,$a),nt,e)}),Gl=to(Uu),Vl=to(function(t){var e=t.length,n=e>1?t[e-1]:nt;return n="function"==typeof n?(t.pop(),n):nt,$u(t,n)}),Kl=di(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Fn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof b&&Ii(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Zu,args:[i],thisArg:nt}),new o(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(i)}),Hl=Lo(function(t,e,n){hs.call(t,n)?++t[n]:Nn(t,n,1)}),Zl=Ko(cu),Yl=Ko(fu),Jl=Lo(function(t,e,n){hs.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Xl=to(function(t,e,n){var r=-1,o="function"==typeof e,u=Ua(t)?ts(t.length):[];return pl(t,function(t){u[++r]=o?i(e,t,n):jr(t,e,n)}),u}),Ql=Lo(function(t,e,n){Nn(t,n,e)}),tp=Lo(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ep=to(function(t,e){if(null==t)return[];var n=e.length;return n>1&&zi(t,e[0],e[1])?e=[]:n>2&&zi(e[0],e[1],e[2])&&(e=[e[0]]),Gr(t,sr(e,1),[])}),np=Cs||function(){return qn.Date.now()},rp=to(function(t,e,n){var r=ht;if(n.length){var o=V(n,gi(rp));r|=_t}return ui(t,r,e,n,o)}),op=to(function(t,e,n){var r=ht|yt;if(n.length){var o=V(n,gi(op));r|=_t}return ui(e,r,t,n,o)}),ip=to(function(t,e){return tr(t,1,e)}),up=to(function(t,e,n){return tr(t,xc(e)||0,n)});Sa.Cache=an;var ap=bl(function(t,e){e=1==e.length&&hp(e[0])?d(e[0],R(bi())):d(sr(e,1),R(bi()));var n=e.length;return to(function(r){for(var o=-1,u=$s(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),cp=to(function(t,e){return ui(t,_t,nt,e,V(e,gi(cp)))}),fp=to(function(t,e){return ui(t,mt,nt,e,V(e,gi(fp)))}),sp=di(function(t,e){return ui(t,wt,nt,nt,nt,e)}),lp=ni(gr),pp=ni(function(t,e){return t>=e}),dp=Or(function(){return arguments}())?Or:function(t){return nc(t)&&hs.call(t,"callee")&&!As.call(t,"callee")},hp=ts.isArray,yp=Hn?R(Hn):kr,vp=Ds||Df,gp=Zn?R(Zn):Pr,bp=Yn?R(Yn):Tr,_p=Jn?R(Jn):zr,mp=Xn?R(Xn):Rr,xp=Qn?R(Qn):Cr,wp=ni(Lr),jp=ni(function(t,e){return t<=e}),Op=Do(function(t,e){if(Bi(e)||Ua(e))return Mo(e,Bc(e),t),nt;for(var n in e)hs.call(e,n)&&Tn(t,n,e[n])}),kp=Do(function(t,e){Mo(e,Lc(e),t)}),Pp=Do(function(t,e,n,r){Mo(e,Lc(e),t,r)}),Ap=Do(function(t,e,n,r){Mo(e,Bc(e),t,r)}),Sp=di(Fn),Tp=to(function(t,e){t=is(t);var n=-1,r=e.length,o=r>2?e[2]:nt;for(o&&zi(e[0],e[1],o)&&(r=1);++n<r;)for(var i=e[n],u=Lc(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(s===nt||qa(s,ls[f])&&!hs.call(t,f))&&(t[f]=i[f])}return t}),Ep=to(function(t){return t.push(nt,ci),i(Mp,nt,t)}),Ip=Yo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=gs.call(e)),t[e]=n},Pf(Sf)),zp=Yo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=gs.call(e)),hs.call(t,e)?t[e].push(n):t[e]=[n]},bi),Rp=to(jr),Cp=Do(function(t,e,n){qr(t,e,n)}),Mp=Do(function(t,e,n,r){qr(t,e,n,r)}),Wp=di(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=wo(e,t),r||(r=e.length>1),e}),Mo(t,yi(t),n),r&&(n=$n(n,ft|st|lt,fi));for(var o=e.length;o--;)ho(n,e[o]);return n}),Bp=di(function(t,e){return null==t?{}:Vr(t,e)}),Lp=ii(Bc),Dp=ii(Lc),Np=$o(function(t,e,n){return e=e.toLowerCase(),t+(n?ef(e):e)}),Fp=$o(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),qp=$o(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Up=Uo("toLowerCase"),$p=$o(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Gp=$o(function(t,e,n){return t+(n?" ":"")+Kp(e)}),Vp=$o(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Kp=Uo("toUpperCase"),Hp=to(function(t,e){try{return i(t,nt,e)}catch(t){return Ya(t)?t:new ns(t)}}),Zp=di(function(t,e){return a(e,function(e){e=Yi(e),Nn(t,e,rp(t[e],t))}),t}),Yp=Ho(),Jp=Ho(!0),Xp=to(function(t,e){return function(n){return jr(n,t,e)}}),Qp=to(function(t,e){return function(n){return jr(t,n,e)}}),td=Xo(d),ed=Xo(f),nd=Xo(g),rd=ei(),od=ei(!0),id=Jo(function(t,e){return t+e},0),ud=oi("ceil"),ad=Jo(function(t,e){return t/e},1),cd=oi("floor"),fd=Jo(function(t,e){return t*e},1),sd=oi("round"),ld=Jo(function(t,e){return t-e},0);return n.after=xa,n.ary=wa,n.assign=Op,n.assignIn=kp,n.assignInWith=Pp,n.assignWith=Ap,n.at=Sp,n.before=ja,n.bind=rp,n.bindAll=Zp,n.bindKey=op,n.castArray=Wa,n.chain=Ku,n.chunk=tu,n.compact=eu,n.concat=nu,n.cond=Of,n.conforms=kf,n.constant=Pf,n.countBy=Hl,n.create=kc,n.curry=Oa,n.curryRight=ka,n.debounce=Pa,n.defaults=Tp,n.defaultsDeep=Ep,n.defer=ip,n.delay=up,n.difference=El,n.differenceBy=Il,n.differenceWith=zl,n.drop=ru,n.dropRight=ou,n.dropRightWhile=iu,n.dropWhile=uu,n.fill=au,n.filter=oa,n.flatMap=ia,n.flatMapDeep=ua,n.flatMapDepth=aa,n.flatten=su,n.flattenDeep=lu,n.flattenDepth=pu,n.flip=Aa,n.flow=Yp,n.flowRight=Jp,n.fromPairs=du,n.functions=zc,n.functionsIn=Rc,n.groupBy=Jl,n.initial=vu,n.intersection=Rl,n.intersectionBy=Cl,n.intersectionWith=Ml,n.invert=Ip,n.invertBy=zp,n.invokeMap=Xl,n.iteratee=Tf,n.keyBy=Ql,n.keys=Bc,n.keysIn=Lc,n.map=la,n.mapKeys=Dc,n.mapValues=Nc,n.matches=Ef,n.matchesProperty=If,n.memoize=Sa,n.merge=Cp,n.mergeWith=Mp,n.method=Xp,n.methodOf=Qp,n.mixin=zf,n.negate=Ta,n.nthArg=Mf,n.omit=Wp,n.omitBy=Fc,n.once=Ea,n.orderBy=pa,n.over=td,n.overArgs=ap,n.overEvery=ed,n.overSome=nd,n.partial=cp,n.partialRight=fp,n.partition=tp,n.pick=Bp,n.pickBy=qc,n.property=Wf,n.propertyOf=Bf,n.pull=Wl,n.pullAll=xu,n.pullAllBy=wu,n.pullAllWith=ju,n.pullAt=Bl,n.range=rd,n.rangeRight=od,n.rearg=sp,n.reject=ya,n.remove=Ou,n.rest=Ia,n.reverse=ku,n.sampleSize=ga,n.set=$c,n.setWith=Gc,n.shuffle=ba,n.slice=Pu,n.sortBy=ep,n.sortedUniq=Ru,n.sortedUniqBy=Cu,n.split=df,n.spread=za,n.tail=Mu,n.take=Wu,n.takeRight=Bu,n.takeRightWhile=Lu,n.takeWhile=Du,n.tap=Hu,n.throttle=Ra,n.thru=Zu,n.toArray=gc,n.toPairs=Lp,n.toPairsIn=Dp,n.toPath=$f,n.toPlainObject=wc,n.transform=Vc,n.unary=Ca,n.union=Ll,n.unionBy=Dl,n.unionWith=Nl,n.uniq=Nu,n.uniqBy=Fu,n.uniqWith=qu,n.unset=Kc,n.unzip=Uu,n.unzipWith=$u,n.update=Hc,n.updateWith=Zc,n.values=Yc,n.valuesIn=Jc,n.without=Fl,n.words=jf,n.wrap=Ma,n.xor=ql,n.xorBy=Ul,n.xorWith=$l,n.zip=Gl,n.zipObject=Gu,n.zipObjectDeep=Vu,n.zipWith=Vl,n.entries=Lp,n.entriesIn=Dp,n.extend=kp,n.extendWith=Pp,zf(n,n),n.add=id,n.attempt=Hp,n.camelCase=Np,n.capitalize=ef,n.ceil=ud,n.clamp=Xc,n.clone=Ba,n.cloneDeep=Da,n.cloneDeepWith=Na,n.cloneWith=La,n.conformsTo=Fa,n.deburr=nf,n.defaultTo=Af,n.divide=ad,n.endsWith=rf,n.eq=qa,n.escape=of,n.escapeRegExp=uf,n.every=ra,n.find=Zl,n.findIndex=cu,n.findKey=Pc,n.findLast=Yl,n.findLastIndex=fu,n.findLastKey=Ac,n.floor=cd,n.forEach=ca,n.forEachRight=fa,n.forIn=Sc,n.forInRight=Tc,n.forOwn=Ec,n.forOwnRight=Ic,n.get=Cc,n.gt=lp,n.gte=pp,n.has=Mc,n.hasIn=Wc,n.head=hu,n.identity=Sf,n.includes=sa,n.indexOf=yu,n.inRange=Qc,n.invoke=Rp,n.isArguments=dp,n.isArray=hp,n.isArrayBuffer=yp,n.isArrayLike=Ua,n.isArrayLikeObject=$a,n.isBoolean=Ga,n.isBuffer=vp,n.isDate=gp,n.isElement=Va,n.isEmpty=Ka,n.isEqual=Ha,n.isEqualWith=Za,n.isError=Ya,n.isFinite=Ja,n.isFunction=Xa,n.isInteger=Qa,n.isLength=tc,n.isMap=bp,n.isMatch=rc,n.isMatchWith=oc,n.isNaN=ic,n.isNative=uc,n.isNil=cc,n.isNull=ac,n.isNumber=fc,n.isObject=ec,n.isObjectLike=nc,n.isPlainObject=sc,n.isRegExp=_p,n.isSafeInteger=lc,n.isSet=mp,n.isString=pc,n.isSymbol=dc,n.isTypedArray=xp,n.isUndefined=hc,n.isWeakMap=yc,n.isWeakSet=vc,n.join=gu,n.kebabCase=Fp,n.last=bu,n.lastIndexOf=_u,n.lowerCase=qp,n.lowerFirst=Up,n.lt=wp,n.lte=jp,n.max=Vf,n.maxBy=Kf,n.mean=Hf,n.meanBy=Zf,n.min=Yf,n.minBy=Jf,n.stubArray=Lf,n.stubFalse=Df,n.stubObject=Nf,n.stubString=Ff,n.stubTrue=qf,n.multiply=fd,n.nth=mu,n.noConflict=Rf,n.noop=Cf,n.now=np,n.pad=af,n.padEnd=cf,n.padStart=ff,n.parseInt=sf,n.random=tf,n.reduce=da,n.reduceRight=ha,n.repeat=lf,n.replace=pf,n.result=Uc,n.round=sd,n.runInContext=t,n.sample=va,n.size=_a,n.snakeCase=$p,n.some=ma,n.sortedIndex=Au,n.sortedIndexBy=Su,n.sortedIndexOf=Tu,n.sortedLastIndex=Eu,n.sortedLastIndexBy=Iu,n.sortedLastIndexOf=zu,n.startCase=Gp,n.startsWith=hf,n.subtract=ld,n.sum=Xf,n.sumBy=Qf,n.template=yf,n.times=Uf,n.toFinite=bc,n.toInteger=_c,n.toLength=mc,n.toLower=vf,n.toNumber=xc,n.toSafeInteger=jc,n.toString=Oc,n.toUpper=gf,n.trim=bf,n.trimEnd=_f,n.trimStart=mf,n.truncate=xf,n.unescape=wf,n.uniqueId=Gf,n.upperCase=Vp,n.upperFirst=Kp,n.each=ca,n.eachRight=fa,n.first=hu,zf(n,function(){var t={};return lr(n,function(e,r){hs.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.19",a(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),a(["drop","take"],function(t,e){b.prototype[t]=function(n){n=n===nt?1:Us(_c(n),0);var r=this.__filtered__&&!e?new b(this):this.clone();return r.__filtered__?r.__takeCount__=$s(n,r.__takeCount__):r.__views__.push({size:$s(n,Ct),type:t+(r.__dir__<0?"Right":"")}),r},b.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==St||3==n;b.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:bi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");b.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");b.prototype[t]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Sf)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=to(function(t,e){return"function"==typeof t?new b(this):this.map(function(n){return jr(n,t,e)})}),b.prototype.reject=function(t){return this.filter(Ta(bi(t)))},b.prototype.slice=function(t,e){t=_c(t);var n=this;return n.__filtered__&&(t>0||e<0)?new b(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==nt&&(e=_c(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},b.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},b.prototype.toArray=function(){return this.take(Ct)},lr(b.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(){var e=this.__wrapped__,c=i?[1]:arguments,f=e instanceof b,s=c[0],l=f||hp(e),p=function(t){var e=u.apply(n,h([t],c));return i&&d?e[0]:e};l&&r&&"function"==typeof s&&1!=s.length&&(f=l=!1);var d=this.__chain__,y=!!this.__actions__.length,v=a&&!d,g=f&&!y;if(!a&&l){e=g?e:new b(this);var _=t.apply(e,c);return _.__actions__.push({func:Zu,args:[p],thisArg:nt}),new o(_,d)}return v&&g?t.apply(this,c):(_=this.thru(p),v?i?_.value()[0]:_.value():_)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=fs[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(hp(n)?n:[],t)}return this[r](function(n){return e.apply(hp(n)?n:[],t)})}}),lr(b.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";hs.call(nl,o)||(nl[o]=[]),nl[o].push({name:e,func:r})}}),nl[Zo(nt,yt).name]=[{name:"wrapper",func:nt}],b.prototype.clone=A,b.prototype.reverse=Z,b.prototype.value=Q,n.prototype.at=Kl,n.prototype.chain=Yu,n.prototype.commit=Ju,n.prototype.next=Xu,n.prototype.plant=ta,n.prototype.reverse=ea,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=na,n.prototype.first=n.prototype.head,Es&&(n.prototype[Es]=Qu),n}();qn._=or,void 0!==(o=function(){return or}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(43),n(12)(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(P.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 S||P.curry&&n>1?W(e,n):e}function y(t,e,n){if(P.fixed&&(T||!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 v(t,e,n){return P.rearg&&n>1&&(E||!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=M(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||D(c)||F(c)||(u[a]=M(n==o?c:Object(c))),u=u[a]}return i}function b(t){return H.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=C(C({},o),t);return f(i,n,u,a)}}function m(t,e){return w(t,function(t){return"function"==typeof t?o(t,e):t})}function x(t,e){return w(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function w(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=P.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function j(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=K[o];return f?a=f(e):P.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))),B(V,function(t){return B(s.aryMethod[t],function(e){if(o==e){var n=s.methodSpread[o],i=n&&n.afterRearg;return r=i?y(o,v(o,a,t),t):v(o,y(o,a,t),t),r=d(o,r),r=h(o,r,t),!1}}),!r}),r||(r=a),r==e&&(r=S?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 P={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},A=O?n:l,S="curry"in p&&p.curry,T="fixed"in p&&p.fixed,E="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,C=z.assign,M=z.clone,W=z.curry,B=z.forEach,L=z.isArray,D=z.isError,N=z.isFunction,F=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 L(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 P.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(!N(n))return t(n,Object(e));var r=[];return B(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),B(r,function(t){var e=t[1];N(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 j(e,n,A);var H=n,Z=[];return B(V,function(t){B(s.aryMethod[t],function(t){var e=H[s.remap[t]||t];e&&Z.push([t,j(t,e,H)])})}),B(q(H),function(t){var e=H[t];if("function"==typeof e){for(var n=Z.length;n--;)if(Z[n][0]==t)return;e.convert=_(t,e),Z.push([t,e])}}),B(Z,function(t){H[t[0]]=t[1]}),H.convert=b,H.placeholder=H,B(q(H),function(t){B(s.realToAlias[t]||[],function(e){H[e]=H[t]})}),H}var s=n(454),l=n(455),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.46.0"]},function(t,e){t.exports=Morph.modules["bbc-morph-bitesize-messaging-view@1.35.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(38)),r(n(459))),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(38)),r(n(194))),y=r(n(195)),v=r(n(466)),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(v.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(y.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(31)("meta"),o=n(30),i=n(17),u=n(15).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(23)(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(24),o=n(77),i=n(57);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(139);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(25),o=n(193).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(57),o=n(53),i=n(25),u=n(74),a=n(17),c=n(135),f=Object.getOwnPropertyDescriptor;e.f=n(16)?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(468),o=n(470),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(469);t.exports=r},function(t,e,n){var r=n(13),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(471),i=n(472),u=n(70),a=n(5);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(473);t.exports=r},function(t,e,n){var r=n(474),o=n(477),i=o(r);t.exports=i},function(t,e,n){function r(t,e){return t&&o(t,e,i)}var o=n(475),i=n(28);t.exports=r},function(t,e,n){var r=n(476),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(41);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(38)),r(n(194))),y=r(n(195)),v=r(n(196)),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(v.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(y.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(189);var r=n(190),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(485)),i=r(n(489)),u=r(n(491)),a=r(n(492)),c=r(n(495)),f=r(n(496)),s=r(n(497))},function(t,e,n){"use strict";var r=n(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(114)),s=r(n(0)),l=n(0).PropTypes||n(6),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(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(488);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(39),u=r(n(40)),a=n(0).PropTypes||n(6),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/20200804134034/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(39),u=r(n(40)),a=n(0).PropTypes||n(6),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/20200804134034/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(109),o=n(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(110)),u=o(n(111)),a=o(n(112)),c=o(n(113)),f=o(n(198)),s=o(n(114)),l=r(n(0)),p=o(n(67)),d=o(n(493)),h=o(n(494)),y=n(0).PropTypes||n(6),v=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"},v(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/20200804134034/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:y.string,children:y.node,className:y.string,ctaText:y.string,headerText:y.string,isOpen:y.bool,readMoreText:y.string,shareButtonComponent:y.func,onClickCallback:y.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(6),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(67)),u=n(0).PropTypes||n(6),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(39),u=r(n(40)),a=n(0).PropTypes||n(6),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/20200804134034/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(39),u=r(n(40)),a=n(0).PropTypes||n(6),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/20200804134034/https://api.whatsapp.com/send":"https://web.archive.org/web/20200804134034/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(39),u=r(n(40)),a=n(0).PropTypes||n(6),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/20200804134034/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/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://web.archive.org/web/20200804134034/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"https://web.archive.org/web/20200804134034/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},y=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}(),v=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 y(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 v(t)===v(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)},w=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);w(i)}else{var u=p[r][e||"universal"];window.require([u],function(){o=x(r,e);var t=new _(n,o);w(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}}},function(t,e,n){function r(t,e,n){t=a(t),e=i(e);var r=t.length;n=void 0===n?r:o(u(n),0,r);var c=n;return(n-=e.length)>=0&&t.slice(n,c)==e}var o=n(501),i=n(134),u=n(69),a=n(133);t.exports=r},function(t,e){function n(t,e,n){return t===t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}t.exports=n}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","href":"\/bitesize\/learn","pageType":"index-page","globalNav":"true","subdirectory":"bitesize","branding":"phase2","language":"en-GB","version":"8.69.0","_mrrVersion":"2.0.16"},'u9423620738022095'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804134034/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(); } /* u9423620738022095 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-messaging-view@1.41.0"]={"@bbc/education-button":"0.4.0","@bbc/education-gel-icons":"0.10.0","@bbc/education-link-button":"0.1.3","morph-container":"4.0.0",react:"0.14.7","react-dom":"0.14.7"},function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-bitesize-messaging-view@1.41.0"]=n(1)},function(e,t,n){e.exports=n(2)},function(e,t,n){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=4)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(4)},function(e,t){e.exports=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["default","primary","primaryIndex","secondary","planning","ks1level","ks2level","ks3level"],a={z3g4d2p:"ks1level",zbr9wmn:"ks2level",z4kw2hv:"ks3level"},o={getAllowedBanner:function(e,t){var n=a[t]?a[t]:e;return r.indexOf(n)>-1?n:"default"}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";var r=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(5)),o=r(n(6)),i=n(3),l=a.default.create(o.default,{data:function(e){var t=e.bannerType,n=e.zid;return{messageData:{uri:{service:"bitesize-files",path:"/messaging/bannerType/".concat((0,i.getAllowedBanner)(t,n),".json")},updates:!1,requireSuccess:!1}}}});t.default=l,e.exports=t.default},function(e,t){e.exports=n(7)},function(e,t,n){"use strict";var r=n(0),a=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(2)),i=r(n(7)),l=r(n(17)),s=n(3),u=function(e){var t=e.language,n=e.bannerType,r=e.messageData,a=e.zid,u=r.meta.responseCode,c=r.body,f=(0,s.getAllowedBanner)(n,a),d=200===u?function(e){return"string"==typeof e?JSON.parse(e):Object(e)}(c):l.default[f],p=d[t];p||(p=l.default[f][t]);var y={url:p.linkUrl,text:p.linkText,ariaLabel:p.linkAriaLabel};return o.default.createElement("div",{className:"messaging-banner-container messaging-banner-container-".concat(f)},o.default.createElement(i.default,{title:p.title,subtitle:p.subtitle,link:y,bannerType:f}))};u.propTypes={language:o.PropTypes.string,bannerType:o.PropTypes.string,zid:o.PropTypes.string,messageData:o.PropTypes.shape({meta:o.PropTypes.shape({responseCode:o.PropTypes.number}).isRequired,body:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.shape({})]).isRequired}).isRequired},u.defaultProps={language:"en-GB",bannerType:"default",zid:null};var c=u;t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=a();return function(){var n,r=(0,d.default)(e);if(t){var a=(0,d.default)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var o=n(1),i=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(n(8)),s=i(n(9)),u=i(n(10)),c=i(n(11)),f=i(n(12)),d=i(n(13)),p=o(n(2)),y=n(14),h=i(n(15)),b=i(n(16)),m=function(e){function t(e){var r;return(0,l.default)(this,t),r=n.call(this,e),r.state={showBanner:!0},r.closeBanner=r.closeBanner.bind((0,u.default)(r)),r}(0,c.default)(t,e);var n=r(t);return(0,s.default)(t,[{key:"getSubtitle",value:function(){var e=this.props,t=e.subtitle;return"planning"===e.bannerType?"".concat(t," "):t}},{key:"getLinkButton",value:function(){var e=this.props,t=e.link;return"planning"!==e.bannerType?p.default.createElement(h.default,{onClick:function(){},href:t.url,disabled:!1,dataATIProps:{"data-bbc-container":"global-banner"},theme:"bitesize-banner",ariaLabel:t.ariaLabel||t.text},p.default.createElement("span",{className:"messaging-banner-content__link-text"},t.text)):p.default.createElement("a",{href:t.url,className:"messaging-banner-content__link","data-bbc-container":"global-banner"},t.text)}},{key:"closeBanner",value:function(){this.setState(function(){return{showBanner:!1}})}},{key:"render",value:function(){var e=this.props,t=e.link,n=e.title,r=e.bannerType,a=this.state.showBanner;return p.default.createElement("div",null,!0===a?p.default.createElement("div",{className:"messaging-banner__container messaging-banner__container-".concat(r)},p.default.createElement("div",{className:"messaging-banner messaging-banner-".concat(r)},p.default.createElement("div",{className:"messaging-banner-close"},p.default.createElement(b.default,{ariaLabel:"Close",buttonClass:"messaging-banner-close__button",dataAtiProps:{"data-bbc-container":"global-banner","data-bbc-title":"close"},onClick:this.closeBanner,theme:"bitesize-banner"},p.default.createElement("div",{className:"messaging-banner-close__button-icon"},p.default.createElement(y.GelCloseIcon,null)))),p.default.createElement("div",{className:"messaging-banner-image-".concat(r)}),p.default.createElement("div",{className:"messaging-banner-content"},p.default.createElement("div",{className:"messaging-banner-content__title"},p.default.createElement("p",{className:"messaging-banner-content__title-text"},n)),p.default.createElement("div",{className:"messaging-banner-content__subtitle"},p.default.createElement("p",{className:"messaging-banner-content__subtitle-text"},this.getSubtitle())),t?p.default.createElement("div",{className:"messaging-banner-content__link-container"},this.getLinkButton()):null))):null)}}]),t}(p.default.Component);m.propTypes={link:p.PropTypes.shape({url:p.PropTypes.string,text:p.PropTypes.string,ariaLabel:p.PropTypes.string}),title:p.PropTypes.string.isRequired,subtitle:p.PropTypes.string.isRequired,bannerType:p.PropTypes.string},m.defaultProps={link:null,bannerType:"default"};var g=m;t.default=g,e.exports=t.default},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(9)},function(e,t){e.exports=n(10)},function(e,t){e.exports=n(11)},function(e,t){e.exports=n(13)},function(e,t){e.exports=n(14)},function(e,t){e.exports=n(15)},function(e,t){e.exports=n(42)},function(e,t){e.exports=n(45)},function(e,t,n){"use strict";var r=n(0),a=r(n(18)),o=r(n(19)),i=r(n(20)),l=r(n(21)),s=r(n(22)),u=r(n(23)),c=r(n(24));e.exports={planning:l.default,primary:o.default,primaryIndex:i.default,secondary:a.default,default:a.default,ks1level:s.default,ks2level:u.default,ks3level:c.default}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Daily Lessons are available all summer!",subtitle:"Our lessons have ended for the summer, but you can still use them throughout the holidays. We'll be back in the new school year with new lessons.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Tá Ceachtanna Laethúla ar fáil an samhradh ar fad!",subtitle:"Tá ár gceachtanna thart don samhradh, ach is féidir go fóill iad a úsáid i rith na laethanta saoire. Beimid ar ais sa scoilbhliain úr le ceachtanna úra.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi Dyddiol ar gael drwy’r haf!",subtitle:"Ni fyddwn yn ychwanegu unrhyw wersi newydd dros yr haf ond mae llwyth o wersi yma y galli di eu defnyddio. Byddwn nol yn y tymor newydd gyda gwersi newydd.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Tha Leasanan Làitheil rim faotainn tron t-samhradh!",subtitle:"Tha leasanan air sguir an-dràsta, ach faodaidh tu fhathast an cleachdadh tro na saor-làithean. Bidh leasanan ùra ann as t-foghar.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Daily Lessons are available all summer!",subtitle:"Our lessons have ended for the summer, but you can still use them throughout the holidays. We'll be back in the new school year with new lessons.",linkText:"Start a lesson",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"ga-GB":{title:"Tá Ceachtanna Laethúla ar fáil an samhradh ar fad!",subtitle:"Tá ár gceachtanna thart don samhradh, ach is féidir go fóill iad a úsáid i rith na laethanta saoire. Beimid ar ais sa scoilbhliain úr le ceachtanna úra.",linkText:"Tosaigh ceacht",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"cy-GB":{title:"Gwersi Dyddiol ar gael drwy’r haf!",subtitle:"Ni fyddwn yn ychwanegu unrhyw wersi newydd dros yr haf ond mae llwyth o wersi yma y galli di eu defnyddio. Byddwn nol yn y tymor newydd gyda gwersi newydd.",linkText:"Dewis gwers",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"},"gd-GB":{title:"Tha Leasanan Làitheil rim faotainn tron t-samhradh!",subtitle:"Tha leasanan air sguir an-dràsta, ach faodaidh tu fhathast an cleachdadh tro na saor-làithean. Bidh leasanan ùra ann as t-foghar.",linkText:"Tòisich leasan",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/dailylessons"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"ga-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"cy-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"gd-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"gd-GB":{title:"",subtitle:"A' planadh air thoiseach? Seall ri leasanan làitheil a tha ri thighinn air",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"ga-GB":{title:"",subtitle:"Ag pleanáil chun cinn? Caith súil ar na ceachtanna laethúla a bheidh ar",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"},"cy-GB":{title:"",subtitle:"Planning ahead? Take a look at our upcoming daily lessons on",linkText:"BBC Teach",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/teach/bitesize-daily-lessons-upcoming-lessons-preview-for-teachers/zkfr92p"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"ga-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"cy-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"},"gd-GB":{title:"Starting primary school?",subtitle:"We’ve got games, activities and tips to help you feel ready for your first term.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting primary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/collections/starting-primary-school/1"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"ga-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"cy-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"gd-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"}}},function(e,t,n){"use strict";e.exports={"en-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"ga-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"cy-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"},"gd-GB":{title:"Starting secondary school?",subtitle:"It can be fun, exciting and scary all at the same time. We talked to students and teachers to get the best tips for your new adventure.",linkText:"Let’s go!",linkAriaLabel:"Let's go to starting secondary!",linkUrl:"https://web.archive.org/web/20200804134034/https://www.bbc.co.uk/bitesize/tags/zh4wy9q/starting-secondary-school/1"}}}])},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function a(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(n,i,l):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var o=n(5);e.exports=a},function(e,t){function n(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-messaging-view@1.41.0",e,t)}}},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){function r(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&&a(e,t)}var a=n(12);e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){function r(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?o(e):t}var a=n(5),o=n(10);e.exports=r},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(3),a=r(n(16)),o=r(n(27)),i=r(n(28)),l=r(n(29)),s=r(n(30)),u=r(n(31)),c=r(n(32)),f=r(n(33)),d=r(n(34)),p=r(n(35)),y=r(n(36)),h=r(n(37)),b=r(n(38)),m=r(n(39)),g=r(n(40)),v=r(n(41));e.exports={GelAddIcon:a.default,GelChevronRightIcon:o.default,GelCloseIcon:i.default,GelDownIcon:l.default,GelIconDuration:s.default,GelListenIcon:u.default,GelNextIcon:c.default,GelNoIcon:f.default,GelPlayIcon:d.default,GelPreviousIcon:p.default,GelRecentActivityIcon:y.default,GelStopIcon:h.default,GelSearchIcon:b.default,GelYesIcon:m.default,GelLoadingIcon:g.default,GelAlertIcon:v.default}},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"white"},a.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"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(19);e.exports=n(22)(r.isElement,!0)}else e.exports=n(26)()}).call(t,n(18))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function a(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){h&&p&&(h=!1,p.length?y=p.concat(y):b=-1,y.length&&l())}function l(){if(!h){var e=a(i);h=!0;for(var t=y.length;t;){for(p=y,y=[];++b<t;)p&&p[b].run();b=-1,t=y.length}p=null,h=!1,o(e)}}function s(e,t){this.fun=e,this.array=t}function u(){}var c,f,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,y=[],h=!1,b=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];y.push(new s(e,t)),1!==y.length||h||a(l)},s.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(20):e.exports=n(21)}).call(t,n(18))},function(e,t){"use strict";function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case l:case u:case s:case h:return e;default:switch(e=e&&e.$$typeof){case f:case y:case g:case m:case c:return e;default:return t}}case i:return t}}}function r(e){return n(e)===p}var a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,l=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,u=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,f=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.async_mode"):60111,p=a?Symbol.for("react.concurrent_mode"):60111,y=a?Symbol.for("react.forward_ref"):60112,h=a?Symbol.for("react.suspense"):60113,b=a?Symbol.for("react.suspense_list"):60120,m=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,v=a?Symbol.for("react.block"):60121,w=a?Symbol.for("react.fundamental"):60117,x=a?Symbol.for("react.responder"):60118,k=a?Symbol.for("react.scope"):60119;t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=f,t.ContextProvider=c,t.Element=o,t.ForwardRef=y,t.Fragment=l,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=u,t.StrictMode=s,t.Suspense=h,t.isAsyncMode=function(e){return r(e)||n(e)===d},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return n(e)===y},t.isFragment=function(e){return n(e)===l},t.isLazy=function(e){return n(e)===g},t.isMemo=function(e){return n(e)===m},t.isPortal=function(e){return n(e)===i},t.isProfiler=function(e){return n(e)===u},t.isStrictMode=function(e){return n(e)===s},t.isSuspense=function(e){return n(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===p||e===u||e===s||e===h||e===b||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===w||e.$$typeof===x||e.$$typeof===k||e.$$typeof===v)},t.typeOf=n},function(e,t,n){(function(e){"use strict";"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"==typeof e||"function"==typeof e||e===v||e===_||e===x||e===w||e===O||e===S||"object"==typeof e&&null!==e&&(e.$$typeof===j||e.$$typeof===L||e.$$typeof===k||e.$$typeof===T||e.$$typeof===P||e.$$typeof===B||e.$$typeof===M||e.$$typeof===z||e.$$typeof===N)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:var n=e.type;switch(n){case E:case _:case v:case x:case w:case O:return n;default:var r=n&&n.$$typeof;switch(r){case T:case P:case j:case L:case k:return r;default:return t}}case g:return t}}}function r(e){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),a(e)||n(e)===E}function a(e){return n(e)===_}function o(e){return n(e)===T}function i(e){return n(e)===k}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}function s(e){return n(e)===P}function u(e){return n(e)===v}function c(e){return n(e)===j}function f(e){return n(e)===L}function d(e){return n(e)===g}function p(e){return n(e)===x}function y(e){return n(e)===w}function h(e){return n(e)===O}var b="function"==typeof Symbol&&Symbol.for,m=b?Symbol.for("react.element"):60103,g=b?Symbol.for("react.portal"):60106,v=b?Symbol.for("react.fragment"):60107,w=b?Symbol.for("react.strict_mode"):60108,x=b?Symbol.for("react.profiler"):60114,k=b?Symbol.for("react.provider"):60109,T=b?Symbol.for("react.context"):60110,E=b?Symbol.for("react.async_mode"):60111,_=b?Symbol.for("react.concurrent_mode"):60111,P=b?Symbol.for("react.forward_ref"):60112,O=b?Symbol.for("react.suspense"):60113,S=b?Symbol.for("react.suspense_list"):60120,L=b?Symbol.for("react.memo"):60115,j=b?Symbol.for("react.lazy"):60116,N=b?Symbol.for("react.block"):60121,B=b?Symbol.for("react.fundamental"):60117,M=b?Symbol.for("react.responder"):60118,z=b?Symbol.for("react.scope"):60119,C=E,A=_,I=T,$=k,G=m,R=P,D=v,U=j,q=L,W=g,V=x,F=w,Y=O,Z=!1;t.AsyncMode=C,t.ConcurrentMode=A,t.ContextConsumer=I,t.ContextProvider=$,t.Element=G,t.ForwardRef=R,t.Fragment=D,t.Lazy=U,t.Memo=q,t.Portal=W,t.Profiler=V,t.StrictMode=F,t.Suspense=Y,t.isAsyncMode=r,t.isConcurrentMode=a,t.isContextConsumer=o,t.isContextProvider=i,t.isElement=l,t.isForwardRef=s,t.isFragment=u,t.isLazy=c,t.isMemo=f,t.isPortal=d,t.isProfiler=p,t.isStrictMode=y,t.isSuspense=h,t.isValidElementType=e,t.typeOf=n}()}).call(t,n(18))},function(e,t,n){(function(t){"use strict";function r(){return null}var a=n(19),o=n(23),i=n(24),l=n(25),s=Function.call.bind(Object.prototype.hasOwnProperty),u=function(){};"production"!==t.env.NODE_ENV&&(u=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function c(e){var t=e&&(S&&e[S]||e[L]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function d(e){this.message=e,this.stack=""}function p(e){function r(r,l,s,c,f,p,y){if(c=c||j,p=p||s,y!==i){if(n){var h=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 h.name="Invariant Violation",h}if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var b=c+":"+s;!a[b]&&o<3&&(u("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),a[b]=!0,o++)}}return null==l[s]?r?new d(null===l[s]?"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`.":"The "+f+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(l,s,c,f,p)}if("production"!==t.env.NODE_ENV)var a={},o=0;var l=r.bind(null,!1);return l.isRequired=r.bind(null,!0),l}function y(e){function t(t,n,r,a,o,i){var l=t[n];if(E(l)!==e)return new d("Invalid "+a+" `"+o+"` of type `"+_(l)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return p(t)}function h(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new d("Invalid "+a+" `"+o+"` of type `"+E(l)+"` supplied to `"+r+"`, expected an array.")}for(var s=0;s<l.length;s++){var u=e(l,s,r,a,o+"["+s+"]",i);if(u instanceof Error)return u}return null}return p(t)}function b(e){function t(t,n,r,a,o){if(!(t[n]instanceof e)){var i=e.name||j;return new d("Invalid "+a+" `"+o+"` of type `"+O(t[n])+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}return null}return p(t)}function m(e){function n(t,n,r,a,o){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var s=JSON.stringify(e,function(e,t){return"symbol"===_(t)?String(t):t});return new d("Invalid "+a+" `"+o+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")}return Array.isArray(e)?p(n):("production"!==t.env.NODE_ENV&&u(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function g(e){function t(t,n,r,a,o){if("function"!=typeof e)return new d("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var l=t[n],u=E(l);if("object"!==u)return new d("Invalid "+a+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in l)if(s(l,c)){var f=e(l,c,r,a,o+"."+c,i);if(f instanceof Error)return f}return null}return p(t)}function v(e){function n(t,n,r,a,o){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,r,a,o,i))return null}return new d("Invalid "+a+" `"+o+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&u("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var a=0;a<e.length;a++){var o=e[a];if("function"!=typeof o)return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+P(o)+" at index "+a+"."),r}return p(n)}function w(e){function t(t,n,r,a,o){var l=t[n],s=E(l);if("object"!==s)return new d("Invalid "+a+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var c=e[u];if(c){var f=c(l,u,r,a,o+"."+u,i);if(f)return f}}return null}return p(t)}function x(e){function t(t,n,r,a,l){var s=t[n],u=E(s);if("object"!==u)return new d("Invalid "+a+" `"+l+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");var c=o({},t[n],e);for(var f in c){var p=e[f];if(!p)return new d("Invalid "+a+" `"+l+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=p(s,f,r,a,l+"."+f,i);if(y)return y}return null}return p(t)}function k(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(k);if(null===t||e(t))return!0;var n=c(t);if(!n)return!1;var r,a=n.call(t);if(n!==t.entries){for(;!(r=a.next()).done;)if(!k(r.value))return!1}else for(;!(r=a.next()).done;){var o=r.value;if(o&&!k(o[1]))return!1}return!0;default:return!1}}function T(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function E(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":T(t,e)?"symbol":t}function _(e){if(void 0===e||null===e)return""+e;var t=E(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function P(e){var t=_(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function O(e){return e.constructor&&e.constructor.name?e.constructor.name:j}var S="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",j="<<anonymous>>",N={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return p(r)}(),arrayOf:h,element:function(){function t(t,n,r,a,o){var i=t[n];if(!e(i)){return new d("Invalid "+a+" `"+o+"` of type `"+E(i)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return p(t)}(),elementType:function(){function e(e,t,n,r,o){var i=e[t];if(!a.isValidElementType(i)){return new d("Invalid "+r+" `"+o+"` of type `"+E(i)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return p(e)}(),instanceOf:b,node:function(){function e(e,t,n,r,a){return k(e[t])?null:new d("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")}return p(e)}(),objectOf:g,oneOf:m, oneOfType:v,shape:w,exact:x};return d.prototype=Error.prototype,N.checkPropTypes=l,N.resetWarningCache=l.resetWarningCache,N.PropTypes=N,N}}).call(t,n(18))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var i,l,s=n(e),u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var c in i)a.call(i,c)&&(s[c]=i[c]);if(r){l=r(i);for(var f=0;f<l.length;f++)o.call(i,l[f])&&(s[l[f]]=i[l[f]])}}return s}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";function r(e,n,r,s,u){if("production"!==t.env.NODE_ENV)for(var c in e)if(l(e,c)){var f;try{if("function"!=typeof e[c]){var d=Error((s||"React class")+": "+r+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.");throw d.name="Invariant Violation",d}f=e[c](n,c,s,r,null,o)}catch(e){f=e}if(!f||f instanceof Error||a((s||"React class")+": type specification of "+r+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in i)){i[f.message]=!0;var p=u?u():"";a("Failed "+r+" type: "+f.message+(null!=p?p:""))}}}var a=function(){};if("production"!==t.env.NODE_ENV){var o=n(24),i={},l=Function.call.bind(Object.prototype.hasOwnProperty);a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}r.resetWarningCache=function(){"production"!==t.env.NODE_ENV&&(i={})},e.exports=r}).call(t,n(18))},function(e,t,n){"use strict";function r(){}function a(){}var o=n(24);a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){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";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),s=a(n(14)),u=a(n(11)),c=r(n(6)),f=n(6).PropTypes||n(17),d=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this,t=this.props.className;return c.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("polygon",{points:"29 16 3 0 3 7.2 17.6 16 3 24.8 3 32 29 16"}))}}]),t}(c.Component);d.propTypes={className:f.string},d.defaultProps={className:""};var p=d;t.default=p},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),s=r(n(11)),u=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return u.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(t){e.node=t}},u.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"}))}}]),t}(u.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),s=a(n(14)),u=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{version:"1.1",x:"0px",y:"0px",width:"18px",height:"18px",viewBox:"0 0 32 32",ref:function(t){e.icon=t}},c.default.createElement("g",{id:"Grid","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.0"}),c.default.createElement("g",{id:"Layer_2","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1"}),c.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3","data-reactid":".2fuuqwria3c.1.0.1.0.0.3.1.0.0.$KS3.0.2.0.1.0"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("polygon",{points:"17 15.4 17 6 15 6 15 16.6 23.8 21.7 24.8 19.9 17 15.4"}),a.default.createElement("path",{d:"M16,4A12,12,0,1,1,4,16,12,12,0,0,1,16,4m0-4A16,16,0,1,0,32,16,16,16,0,0,0,16,0Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"listen"),a.default.createElement("path",{d:"M21.4,4.8,20,6.2a14,14,0,0,1,0,19.6l1.4,1.4a16,16,0,0,0,0-22.4Z"}),a.default.createElement("path",{d:"M25.6.5,24.2,2a19.9,19.9,0,0,1,0,28.1l1.4,1.4A22,22,0,0,0,25.6.5Z"}),a.default.createElement("polygon",{points:"16 4 10 10 0 10 0 22 10 22 16 28 16 4"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),s=a(n(14)),u=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"next-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"next-chevron-title"},"Next"),c.default.createElement("desc",null,"Move to the next page"),c.default.createElement("polygon",{points:"26,16 0,0 0,7.2 14.6,16 0,24.8 0,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"no"),a.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 32 3.5"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"play"),a.default.createElement("polygon",{points:"3 32 29 16 3 0 3 32"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),s=a(n(14)),u=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.icon.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32","aria-labelledby":"previous-chevron-title",ref:function(t){e.icon=t}},c.default.createElement("title",{id:"previous-chevron-title"},"Previous"),c.default.createElement("desc",null,"Move to the previous page"),c.default.createElement("polygon",{points:"0,16 26,0 26,7.2 11.4,16 26,24.8 26,32"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("path",{d:"M16 28C9.4 28 4 22.6 4 16S9.4 4 16 4c.3 0 .7 0 1 .1v-4c-.3-.1-.7-.1-1-.1C7.2 0 0 7.2 0 16s7.2 16 16 16c6.3 0 11.7-3.6 14.3-8.9l-3.5-2c-1.9 4.1-6 6.9-10.8 6.9z"}),a.default.createElement("path",{d:"M15 6v10.6l8.8 5.1 1-1.8-7.8-4.5V6"}),a.default.createElement("circle",{cx:"30",cy:"16",r:"2"}),a.default.createElement("circle",{cx:"28",cy:"9",r:"2"}),a.default.createElement("circle",{cx:"23",cy:"4",r:"2"}))};i.propTypes={className:o.string},i.defaultProps={className:""};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=n(6).PropTypes||n(17),i=function(e){var t=e.className,n=e.height,r=e.width;return a.default.createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:r,height:n,viewBox:"0 0 ".concat(r," ").concat(n)},a.default.createElement("title",null,"stop"),a.default.createElement("rect",{width:r,height:n}))};i.propTypes={className:o.string,height:o.number,width:o.number},i.defaultProps={className:"",height:32,width:32};var l=i;t.default=l},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"search"),a.default.createElement("path",{d:"M32,28.5l-8.2-8.2a13,13,0,1,0-3.5,3.5L28.5,32ZM6.6,19.4A9,9,0,1,1,13,22,8.9,8.9,0,0,1,6.6,19.4Z"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(6)),o=function(){return a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"},a.default.createElement("title",null,"yes"),a.default.createElement("polygon",{points:"12.9 28.9 31.9 6.3 28.1 3.1 12.3 21.9 3.3 14.4 0.1 18.2 12.9 28.9"}))},i=o;t.default=i},function(e,t,n){"use strict";var r=n(4),a=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(8)),i=a(n(9)),l=a(n(13)),s=a(n(14)),u=a(n(11)),c=r(n(6)),f=function(e){function t(){return(0,o.default)(this,t),(0,l.default)(this,(0,s.default)(t).apply(this,arguments))}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return c.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}},c.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"}))}}]),t}(c.Component),d=f;t.default=d},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(8)),o=r(n(9)),i=r(n(13)),l=r(n(14)),s=r(n(11)),u=r(n(6)),c=function(e){function t(){return(0,a.default)(this,t),(0,i.default)(this,(0,l.default)(t).apply(this,arguments))}return(0,s.default)(t,e),(0,o.default)(t,[{key:"componentDidMount",value:function(){this.node.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return u.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(t){e.node=t}},u.default.createElement("g",{id:"Grid"}),u.default.createElement("g",{id:"Layer_2"},u.default.createElement("g",null,u.default.createElement("path",{d:"M16,2L0,30h32L16,2z M18,27h-4v-4h4V27z M14,21V11h4v10H14z"}))))}}]),t}(u.default.Component),f=c;t.default=f},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(43)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,s=e.href,u=e.ariaLabel,c=e.dataATIProps;return o.default.createElement("div",{className:"ec-link-button__container"},o.default.createElement("a",(0,a.default)({tabIndex:0,href:s,className:"ec-link-button__".concat(i),disabled:r,onClick:n,"aria-label":u||t},c),t?o.default.createElement("span",{className:"ec-link-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,href:i.string.isRequired,ariaLabel:i.string,dataATIProps:i.shape({})},l.defaultProps={text:void 0,disabled:!1,children:null,ariaLabel:void 0,dataATIProps:{}};var s=l;t.default=s},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(46)),o=a.default;t.default=o},function(e,t,n){"use strict";var r=n(3);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(44)),o=r(n(6)),i=n(6).PropTypes||n(17),l=function(e){var t=e.text,n=e.onClick,r=e.disabled,i=e.theme,l=e.children,s=e.ariaLabel,u=e.buttonClass,c=e.dataAtiProps;return o.default.createElement("div",{className:"ec-button__container ec-button__container-".concat(u)},o.default.createElement("button",(0,a.default)({type:"button",className:"ec-button__".concat(i," ").concat(u),disabled:r,onClick:n,"aria-label":s||t},c),t?o.default.createElement("span",{className:"ec-button__text"},t):l))};l.propTypes={text:i.string,onClick:i.func.isRequired,disabled:i.bool,theme:i.string.isRequired,children:i.element,ariaLabel:i.string,buttonClass:i.string,dataAtiProps:i.shape({})},l.defaultProps={text:null,disabled:!1,children:null,ariaLabel:null,buttonClass:"ec-button__default-class",dataAtiProps:{}};var s=l;t.default=s}]);; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/path/%2Fmessaging%2FbannerType%2Fdefault.json/service/bitesize-files/version/undefined', {"body":"{\n \"en-GB\": {\n \"title\": \"Daily Lessons are available all summer!\",\n \"subtitle\": \"Our lessons have ended for the summer, but you can still use them throughout the holidays. We'll be back in the new school year with new lessons.\",\n \"linkText\": \"Start a lesson\",\n \"linkUrl\": \"https:\/\/www.bbc.co.uk\/bitesize\/dailylessons\"\n },\n \"ga-GB\": {\n \"title\": \"Tá Ceachtanna Laethúla ar fáil an samhradh ar fad!\",\n \"subtitle\": \"Tá ár gceachtanna thart don samhradh, ach is féidir go fóill iad a úsáid i rith na laethanta saoire. Beimid ar ais sa scoilbhliain úr le ceachtanna úra.\",\n \"linkText\": \"Tosaigh ceacht\",\n \"linkUrl\": \"https:\/\/www.bbc.co.uk\/bitesize\/dailylessons\"\n },\n \"cy-GB\": {\n \"title\": \"Gwersi Dyddiol ar gael drwy’r haf!\",\n \"subtitle\": \"Ni fyddwn yn ychwanegu unrhyw wersi newydd dros yr haf ond mae llwyth o wersi yma y galli di eu defnyddio. Byddwn nol yn y tymor newydd gyda gwersi newydd.\",\n \"linkText\": \"Dewis gwers\",\n \"linkUrl\": \"https:\/\/www.bbc.co.uk\/bitesize\/dailylessons\"\n },\n \"gd-GB\": {\n \"title\": \"Tha Leasanan Làitheil rim faotainn tron t-samhradh!\",\n \"subtitle\": \"Tha leasanan air sguir an-dràsta, ach faodaidh tu fhathast an cleachdadh tro na saor-làithean. Bidh leasanan ùra ann as t-foghar.\",\n \"linkText\": \"Tòisich leasan\",\n \"linkUrl\": \"https:\/\/www.bbc.co.uk\/bitesize\/dailylessons\"\n }\n}\n","meta":{"responseCode":200,"errorMessage":null,"headers":{"x-amz-id-2":"Kjikkhl3TlzYZrpYznGCEUmwlkvC91QNmNs21VjMRzDJUN1T\/oYxxF5k+3Bk+H8uEMoj2X9p1jY=","x-amz-request-id":"7F2DE370B5D9639A","last-modified":"Wed, 29 Jul 2020 12:08:29 GMT","etag":"\"0721c9247a4cae33259c97e8c938fc5b\"","cache-control":"max-age=0","x-amz-version-id":"u_wqhe.3cp2jedZxsZ64xA82odPnP1Vh","accept-ranges":"bytes","content-type":"application\/json","server":"AmazonS3","vary":"Accept-Encoding","content-encoding":"gzip","content-length":"629","connection":"keep-alive","nel":"{\"report_to\":\"default\",\"max_age\": 604800,\"include_subdomains\":true,\"failure_fraction\":0.01}","report-to":"{\"group\":\"default\",\"max_age\":3600,\"endpoints\":[ {\"url\":\"https:\/\/europe-west1-bbc-otg-traf-mgr-bq-prod-4591.cloudfunctions.net\/report-endpoint\",\"priority\":1} ],\"include_subdomains\":true}","timing-allow-origin":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/www.bbc.co.uk, https:\/\/www.bbc.com","access-control-max-age":"300","access-control-allow-credentials":"false","access-control-allow-headers":"*","access-control-allow-methods":"HEAD,GET","access-control-allow-origin":"*"}}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-messaging-view","language":"en-GB","version":"1.41.0","_mrrVersion":"2.0.16"},'u37228294415629137'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804134034/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(); } /* u37228294415629137 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-promoted-navigation-view@2.6.1"]={"@bbc/bitesize-branding":"10.2.0","babel-plugin-transform-object-assign":"6.22.0","bbc-morph-bitesize-core-components":"13.2.1","bbc-morph-bitesize-core-utils":"4.8.0","bbc-morph-bitesize-nations-levels-data":"6.4.0",classnames:"2.2.6","morph-container":"4.0.0",react:"0.14.7","react-dom":"0.14.7","react-motion":"0.4.8","whatwg-fetch":"2.0.3"},function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){Morph.modules["bbc-morph-bitesize-promoted-navigation-view@2.6.1"]=n(1)},function(e,t,n){e.exports=n(2)},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t){e.exports=n(3)},function(e,t){e.exports=n(4)},function(e,t){e.exports=n(5)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),l=r(s),f=n(4),p=r(f),d=n(5),y=r(d),v=n(12),h=r(v),m=n(16),b=r(m),g=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={overlay:{visible:!1}},n.handleKeyPress=n.handleKeyPress.bind(n),n.openOverlay=n.openOverlay.bind(n),n.closeOverlay=n.closeOverlay.bind(n),n}return a(t,e),c(t,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyPress)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyPress)}},{key:"handleKeyPress",value:function(e){var t=this.state.overlay;27===e.keyCode&&t.visible&&this.closeOverlay()}},{key:"openOverlay",value:function(e){var t=this.props.language;this.elementToFocus=document.activeElement,this.setState({overlay:{visible:!0,className:"promoted-navigation-overlay__phase"+e.classModifier,title:e.title,subtitle:e.subtitle,nationList:e.nationList,phase:e.phase,closeLabel:(0,b.default)(t,"closeLabel")}}),document.querySelector("html").classList.add("fullHeight"),document.querySelector("body").classList.add("fullHeight")}},{key:"closeOverlay",value:function(){this.setState(function(e){return{overlay:u({},e.overlay,{visible:!1})}}),this.elementToFocus&&this.elementToFocus.focus(),document.querySelector("html").classList.remove("fullHeight"),document.querySelector("body").classList.remove("fullHeight")}},{key:"render",value:function(){var e=this.props,t=e.language,n=e.subdirectory,r=e.learnLink,o=this.state.overlay;return l.default.createElement("div",{className:"promoted-navigation__container"},l.default.createElement("div",{className:"promoted-navigation"},l.default.createElement(y.default,u({onClose:this.closeOverlay},o)),l.default.createElement(p.default,{href:"/bitesize/learn",enabled:"true"===r},l.default.createElement("h1",{className:"promoted-navigation__title"},(0,b.default)(t,"learnAndRevise"))),l.default.createElement(h.default,{language:t,subdirectory:n,onClick:this.openOverlay})))}}]),t}(s.Component);g.propTypes={language:s.PropTypes.string,subdirectory:s.PropTypes.string,learnLink:s.PropTypes.string},g.defaultProps={language:"en-GB",subdirectory:"bitesize",learnLink:"true"},t.default=g,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(2),u=r(a),c=function(e){var t=e.enabled,n=e.href,r=e.children;return t?i.default.createElement("a",{className:"optional-link",href:n},r,i.default.createElement("div",{className:"gel-icon gel-icon--next"},i.default.createElement(u.default,null))):r};c.propTypes={href:o.PropTypes.string.isRequired,enabled:o.PropTypes.bool.isRequired,children:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.node),o.PropTypes.node]).isRequired},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=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},i=n(0),a=r(i),u=n(6),c=r(u),s=n(7),l=r(s),f=function(e){var t=e.visible,n=e.onClose,r=e.className,i=e.title,u=e.subtitle,s=e.closeLabel,f=e.phase,p=e.nationList;return a.default.createElement(l.default,{shouldShowOverlay:t,onCloseClick:n,className:r,title:i,subtitle:u,closeLabel:s,phase:f},p.map(function(e){return a.default.createElement(c.default,o({key:e.label,listItemClass:"bitesize__nation-level-list__list-item"},e))}))};f.displayName="OverlayContainer",f.propTypes={className:i.PropTypes.string,closeLabel:i.PropTypes.string,nationList:i.PropTypes.arrayOf(i.PropTypes.shape({label:i.PropTypes.string.isRequired,levelList:i.PropTypes.arrayOf(i.PropTypes.shape({label:i.PropTypes.string.isRequired,url:i.PropTypes.string.isRequired}).isRequired).isRequired})),onClose:i.PropTypes.func.isRequired,phase:i.PropTypes.string,subtitle:i.PropTypes.string,title:i.PropTypes.string,visible:i.PropTypes.bool},f.defaultProps={className:"",closeLabel:"",nationList:[],phase:null,subtitle:"",title:"",visible:!1},t.default=f,e.exports=t.default},function(e,t){e.exports=n(57)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){e.stopPropagation(),e.preventDefault()}function c(){document.removeEventListener("click",u)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=n(0),p=r(f),d=n(8),y=n(1),v=r(y),h=n(9),m=r(h),b=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.shouldShowOverlay;e.shouldShowOverlay!==t&&document.addEventListener("click",u)}},{key:"render",value:function(){var e=this,t=this.props,n=t.shouldShowOverlay,r=t.className;return p.default.createElement(d.Motion,{defaultStyle:{opacity:0},style:{opacity:(0,d.spring)(n?1:0,{stiffness:300})},onRest:function(){return c()}},function(t){return 0!==t.opacity?p.default.createElement(m.default,s({className:(0,v.default)(n?"":"fading",r)},e.props)):null})}}]),t}(f.Component);b.propTypes={shouldShowOverlay:f.PropTypes.bool,className:f.PropTypes.string},b.defaultProps={className:"",shouldShowOverlay:!1},b.displayName="Overlay",t.default=b,e.exports=t.default},function(e,t){e.exports=n(69)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(0),s=r(c),l=n(1),f=r(l),p=n(10),d=r(p),y=n(11),v=r(y),h=function(e){function t(){o(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={overlayWidth:0},e.handleKeyDown=e.handleKeyDown.bind(e),e.handleResize=e.handleResize.bind(e),e}return a(t,e),u(t,[{key:"componentDidMount",value:function(){this.handleResize(),document.addEventListener("keydown",this.handleKeyDown),window.addEventListener("resize",this.handleResize),window.addEventListener("orientationchange",this.handleResize)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("resize",this.handleResize),window.removeEventListener("orientationchange",this.handleResize)}},{key:"handleKeyDown",value:function(e){if(9===e.keyCode)return document.activeElement===this.overlay&&e.shiftKey?void(this.finalFocusAnchor&&this.finalFocusAnchor.focus()):void(document.activeElement!==this.finalFocusAnchor||e.shiftKey||this.overlay&&this.overlay.focus())}},{key:"handleResize",value:function(){this.setState({overlayWidth:document.body.clientWidth})}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,o=t.closeLabel,i=t.onCloseClick,a=t.subtitle,u=t.title,c=this.state.overlayWidth;return s.default.createElement("div",{role:"dialog","aria-label":"Dialog opened, choose an education stage",className:(0,f.default)("promoted-navigation-overlay__container",r),ref:function(t){e.overlay=t},tabIndex:"0"},s.default.createElement("div",{className:"promoted-navigation-overlay__header-container",style:{width:c}},s.default.createElement("div",{className:"promoted-navigation-overlay__wrap"},s.default.createElement("div",{className:"promoted-navigation-overlay__layout"},s.default.createElement("div",{className:"promoted-navigation-overlay__header"},s.default.createElement(v.default,{className:"bitesize__logo",shouldFocusWhenMount:!0}),s.default.createElement("div",{className:"promoted-navigation-overlay__close-btn__container"},s.default.createElement("button",{className:"promoted-navigation-overlay__close-btn",onClick:i,type:"button"},s.default.createElement("span",{className:"close-text"},o),s.default.createElement("div",{className:"gel-icon gel-icon--no"},s.default.createElement(d.default,null)))))))),s.default.createElement("div",{className:"promoted-navigation-overlay__wrap"},s.default.createElement("div",{className:"promoted-navigation-overlay__layout"},s.default.createElement("div",{className:"promoted-navigation-overlay__body-container"},s.default.createElement("h2",{className:"promoted-navigation-overlay__body-title"},u),s.default.createElement("p",{className:"promoted-navigation-overlay__body-p"},a),n,s.default.createElement("span",{id:"overlay-final-focus",ref:function(t){void 0===e.finalFocusAnchor&&(e.finalFocusAnchor=t)},tabIndex:"0"})))))}}]),t}(c.Component);h.propTypes={children:c.PropTypes.node.isRequired,closeLabel:c.PropTypes.string,onCloseClick:c.PropTypes.func.isRequired,className:c.PropTypes.string,subtitle:c.PropTypes.string.isRequired,title:c.PropTypes.string.isRequired},h.defaultProps={className:"",closeLabel:"Close"},h.displayName="OverlayContent",t.default=h,e.exports=t.default},function(e,t){e.exports=n(100)},function(e,t){e.exports=n(101)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=r(o),a=n(13),u=r(a),c=n(14),s=r(c),l=n(15),f=r(l),p=function(e){var t=e.navigation,n=e.onClick;return i.default.createElement("div",{className:"promoted-navigation__phases"},i.default.createElement("div",{className:"promoted-navigation__phases-layout"},t.body.phases.map(function(e){return"primary"===e.phase?i.default.createElement("div",{className:"promoted-navigation__phases-item",key:e.title},i.default.createElement(f.default,{className:"phase-card"+e.classModifier,title:e.title,subtitle:e.subtitle,ctaText:e.cta,linkURL:"/bitesize/primary"})):i.default.createElement("div",{className:"promoted-navigation__phases-item",key:e.title},i.default.createElement(s.default,{className:"phase-card"+e.classModifier,title:e.title,subtitle:e.subtitle,ctaText:e.cta,onClick:function(){return n(e)}}))})))};p.displayName="Navigation",p.propTypes={onClick:o.PropTypes.func.isRequired,navigation:o.PropTypes.shape({body:o.PropTypes.shape({phases:o.PropTypes.arrayOf(o.PropTypes.shape({classModifier:o.PropTypes.string.isRequired,title:o.PropTypes.string.isRequired,subtitle:o.PropTypes.string.isRequired,cta:o.PropTypes.string.isRequired,nationList:o.PropTypes.arrayOf(o.PropTypes.shape({label:o.PropTypes.string.isRequired,levelList:o.PropTypes.arrayOf(o.PropTypes.shape({label:o.PropTypes.string.isRequired,url:o.PropTypes.string.isRequired}).isRequired).isRequired}).isRequired).isRequired}).isRequired).isRequired}).isRequired}).isRequired},t.default=u.default.create(p,{data:function(e){return{navigation:{uri:{data:"bbc-morph-bitesize-nations-levels-data",language:e.language,subdirectory:e.subdirectory},updates:!1}}}}),e.exports=t.default},function(e,t){e.exports=n(350)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),s=r(c),l=n(0),f=r(l),p=n(2),d=r(p),y=function(e,t){return t?e+" ("+t+")":e},v=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onClick=n.onClick.bind(n),n}return a(t,e),u(t,[{key:"onClick",value:function(){var e=this.props.onClick;this.button.blur(),e()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.ctaText,o=t.subtitle,i=t.title;return f.default.createElement("div",{className:(0,s.default)("phase-card",n)},f.default.createElement("button",{className:"phase-card__link",onClick:this.onClick,"aria-label":y(r,o),ref:function(t){e.button=t},type:"button"},f.default.createElement("div",{className:"phase-card__content-container"},f.default.createElement("div",{className:"phase-card__title"},i),f.default.createElement("div",{className:"phase-card__subtitle"},o),f.default.createElement("div",{className:"phase-card__cta"},r,f.default.createElement("div",{className:"gel-icon gel-icon--next"},f.default.createElement(d.default,null))))))}}]),t}(l.Component);v.displayName="PhaseCardButton",v.defaultProps={title:"",ctaText:"",onClick:function(){},subtitle:"",className:void 0},v.propTypes={ctaText:l.PropTypes.string,onClick:l.PropTypes.func,subtitle:l.PropTypes.string,title:l.PropTypes.string,className:l.PropTypes.string},t.default=v,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=r(o),a=n(0),u=r(a),c=n(2),s=r(c),l=function(e,t){return t?e+" ("+t+")":e},f=function(e){var t=e.className,n=e.ctaText,r=e.subtitle,o=e.title,a=e.linkURL;return u.default.createElement("div",{className:(0,i.default)("phase-card",t)},u.default.createElement("a",{className:"phase-card__link",href:a,"aria-label":l(n,r)},u.default.createElement("div",{className:"phase-card__content-container"},u.default.createElement("div",{className:"phase-card__title"},o),u.default.createElement("div",{className:"phase-card__subtitle"},r),u.default.createElement("div",{className:"phase-card__cta"},n,u.default.createElement("div",{className:"gel-icon gel-icon--next"},u.default.createElement(s.default,null))))))};f.displayName="PhaseCardLink",f.defaultProps={title:"",ctaText:"",subtitle:"",className:void 0},f.propTypes={ctaText:a.PropTypes.string,linkURL:a.PropTypes.string.isRequired,subtitle:a.PropTypes.string,title:a.PropTypes.string,className:a.PropTypes.string},t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={"en-GB":{learnAndRevise:"Learn & revise",bitesizeCTA:"get the best out of Bitesize",closeLabel:"Close"},"cy-GB":{learnAndRevise:"Dysgu ac adolygu",bitesizeCTA:"gael y gorau o Bitesize",closeLabel:"Cau"},"ga-GB":{learnAndRevise:"Foghlaim",bitesizeCTA:"le gach leas a bhaint as Bitesize",closeLabel:"Druid"},"gd-GB":{learnAndRevise:"Ionnsaich",bitesizeCTA:"a' chuid as fheàrr fhaighinn à Bitesize",closeLabel:"Dùin"}};t.default=function(e,t){return r[r[e]?e:"en-GB"][t]||""},e.exports=t.default}])},function(e,t){e.exports=React},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},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 o(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 a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?c(e):t}function c(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 l(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(6),n(23);var p=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(3)),d=function(e){function t(){return o(this,t),u(this,s(t).apply(this,arguments))}return l(t,e),a(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return p.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}},p.default.createElement("path",{d:"M29 16L3 0v7.2L17.6 16 3 24.8V32z"}))}}]),t}(p.Component),y=d;t.default=y,e.exports=t.default},function(e,t,n){n(7)("asyncIterator")},function(e,t,n){var r=n(8),o=n(9),i=n(10),a=n(11),u=n(15).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=!1},function(e,t,n){t.f=n(12)},function(e,t,n){var r=n(13)("wks"),o=n(14),i=n(8).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(9),o=n(8),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(10)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},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,n){var r=n(16),o=n(18),i=n(22),a=Object.defineProperty;t.f=n(19)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(17);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(19)&&!n(20)(function(){return 7!=Object.defineProperty(n(21)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(20)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(17),o=n(8).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var r=n(8),o=n(24),i=n(19),a=n(25),u=n(28),c=n(32).KEY,s=n(20),l=n(13),f=n(33),p=n(14),d=n(12),y=n(11),v=n(7),h=n(34),m=n(49),b=n(16),g=n(17),_=n(50),x=n(37),O=n(22),w=n(27),j=n(51),E=n(54),S=n(56),P=n(47),T=n(15),A=n(35),N=S.f,I=T.f,k=E.f,M=r.Symbol,R=r.JSON,C=R&&R.stringify,D=d("_hidden"),W=d("toPrimitive"),F={}.propertyIsEnumerable,L=l("symbol-registry"),V=l("symbols"),z=l("op-symbols"),q=Object.prototype,$="function"==typeof M&&!!P.f,B=r.QObject,U=!B||!B.prototype||!B.prototype.findChild,Y=i&&s(function(){return 7!=j(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=N(q,t);r&&delete q[t],I(e,t,n),r&&e!==q&&I(q,t,r)}:I,K=function(e){var t=V[e]=j(M.prototype);return t._k=e,t},G=$&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},J=function(e,t,n){return e===q&&J(z,t,n),b(e),t=O(t,!0),b(n),o(V,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=j(n,{enumerable:w(0,!1)})):(o(e,D)||I(e,D,w(1,{})),e[D][t]=!0),Y(e,t,n)):I(e,t,n)},H=function(e,t){b(e);for(var n,r=h(t=x(t)),o=0,i=r.length;i>o;)J(e,n=r[o++],t[n]);return e},Z=function(e,t){return void 0===t?j(e):H(j(e),t)},Q=function(e){var t=F.call(this,e=O(e,!0));return!(this===q&&o(V,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,D)&&this[D][e])||t)},X=function(e,t){if(e=x(e),t=O(t,!0),e!==q||!o(V,t)||o(z,t)){var n=N(e,t);return!n||!o(V,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=k(x(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==D||t==c||r.push(t);return r},te=function(e){for(var t,n=e===q,r=k(n?z:x(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(q,t)||i.push(V[t]);return i};$||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(z,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),Y(this,e,w(1,n))};return i&&U&&Y(q,e,{configurable:!0,set:t}),K(e)},u(M.prototype,"toString",function(){return this._k}),S.f=X,T.f=J,n(55).f=E.f=ee,n(48).f=Q,P.f=te,i&&!n(10)&&u(q,"propertyIsEnumerable",Q,!0),y.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!$,{Symbol:M});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)d(ne[re++]);for(var oe=A(d.store),ie=0;oe.length>ie;)v(oe[ie++]);a(a.S+a.F*!$,"Symbol",{for:function(e){return o(L,e+="")?L[e]:L[e]=M(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in L)if(L[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!$,"Object",{create:Z,defineProperty:J,defineProperties:H,getOwnPropertyDescriptor:X,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=s(function(){P.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return P.f(_(e))}}),R&&a(a.S+a.F*(!$||s(function(){var e=M();return"[null]"!=C([e])||"{}"!=C({a:e})||"{}"!=C(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(g(t)||void 0!==e)&&!G(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,C.apply(R,r)}}),M.prototype[W]||n(26)(M.prototype,W,M.prototype.valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(8),o=n(9),i=n(26),a=n(28),u=n(30),c=function(e,t,n){var s,l,f,p,d=e&c.F,y=e&c.G,v=e&c.S,h=e&c.P,m=e&c.B,b=y?r:v?r[t]||(r[t]={}):(r[t]||{}).prototype,g=y?o:o[t]||(o[t]={}),_=g.prototype||(g.prototype={});y&&(n=t);for(s in n)l=!d&&b&&void 0!==b[s],f=(l?b:n)[s],p=m&&l?u(f,r):h&&"function"==typeof f?u(Function.call,f):f,b&&a(b,s,f,e&c.U),g[s]!=f&&i(g,s,p),h&&_[s]!=f&&(_[s]=f)};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,e.exports=c},function(e,t,n){var r=n(15),o=n(27);e.exports=n(19)?function(e,t,n){return r.f(e,t,o(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(8),o=n(26),i=n(24),a=n(14)("src"),u=n(29),c=(""+u).split("toString");n(9).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){e.exports=n(13)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(31);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(14)("meta"),o=n(17),i=n(24),a=n(15).f,u=0,c=Object.isExtensible||function(){return!0},s=!n(20)(function(){return c(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return s&&y.NEED&&c(e)&&!i(e,r)&&l(e),e},y=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:p,onFreeze:d}},function(e,t,n){var r=n(15).f,o=n(24),i=n(12)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(35),o=n(47),i=n(48);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),c=i.f,s=0;u.length>s;)c.call(e,a=u[s++])&&t.push(a);return t}},function(e,t,n){var r=n(36),o=n(46);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(24),o=n(37),i=n(41)(!1),a=n(45)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),c=0,s=[];for(n in u)n!=a&&r(u,n)&&s.push(n);for(;t.length>c;)r(u,n=t[c++])&&(~i(s,n)||s.push(n));return s}},function(e,t,n){var r=n(38),o=n(40);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(39);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(37),o=n(42),i=n(44);e.exports=function(e){return function(t,n,a){var u,c=r(t),s=o(c.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((u=c[l++])!=u)return!0}else for(;s>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(43),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(43),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(13)("keys"),o=n(14);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(39);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(40);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(16),o=n(52),i=n(46),a=n(45)("IE_PROTO"),u=function(){},c=function(){var e,t=n(21)("iframe"),r=i.length;for(t.style.display="none",n(53).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c.prototype[i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=c(), void 0===t?n:o(n,t)}},function(e,t,n){var r=n(15),o=n(16),i=n(35);e.exports=n(19)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,c=0;u>c;)r.f(e,n=a[c++],t[n]);return e}},function(e,t,n){var r=n(8).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(37),o=n(55).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?u(e):o(r(e))}},function(e,t,n){var r=n(36),o=n(46).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(48),o=n(27),i=n(37),a=n(22),u=n(24),c=n(18),s=Object.getOwnPropertyDescriptor;t.f=n(19)?s:function(e,t){if(e=i(e),t=a(t,!0),c)try{return s(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(58)),i=r(n(3)),a=(r(n(59)),function(e){var t=e.label,n=e.dataLabel,r=e.levelList,a=e.listItemClass;return i.default.createElement("div",{className:"nation-level-list__container"},i.default.createElement("h3",{className:"nation-level-list__header"},t),i.default.createElement("ul",{className:"nation-level-list__list-body"},r.map(function(e){return i.default.createElement("li",{key:e.label},i.default.createElement("a",{href:e.url,className:(0,o.default)("nation-level-list__list-item",a),"aria-label":"".concat(t," ").concat(e.label),"data-bbc-container":n,"data-bbc-ignore-views":1},i.default.createElement("span",{className:"nation-level-list__list-item__label"},e.label)))})))});a.defaultProps={levelList:[],listItemClass:""},a.displayName="NationLevelList";var u=a;t.default=u,e.exports=t.default},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(61);e.exports=n(64)(r.isElement,!0)}else e.exports=n(68)()}).call(t,n(60))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?y=d.concat(y):h=-1,y.length&&u())}function u(){if(!v){var e=o(a);v=!0;for(var t=y.length;t;){for(d=y,y=[];++h<t;)d&&d[h].run();h=-1,t=y.length}d=null,v=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function s(){}var l,f,p=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,y=[],v=!1,h=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];y.push(new c(e,t)),1!==y.length||v||o(u)},c.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=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(62):e.exports=n(63)}).call(t,n(60))},function(e,t){"use strict";function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case d:case u:case s:case c:case v:return e;default:switch(e=e&&e.$$typeof){case f:case y:case l:return e;default:return t}}case m:case h:case a:return t}}}function r(e){return n(e)===d}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,y=o?Symbol.for("react.forward_ref"):60112,v=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.memo"):60115,m=o?Symbol.for("react.lazy"):60116;t.typeOf=n,t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=f,t.ContextProvider=l,t.Element=i,t.ForwardRef=y,t.Fragment=u,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=s,t.StrictMode=c,t.Suspense=v,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===d||e===s||e===c||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y)},t.isAsyncMode=function(e){return r(e)||n(e)===p},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return n(e)===y},t.isFragment=function(e){return n(e)===u},t.isLazy=function(e){return n(e)===m},t.isMemo=function(e){return n(e)===h},t.isPortal=function(e){return n(e)===a},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===c},t.isSuspense=function(e){return n(e)===v}},function(e,t,n){(function(e){"use strict";"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"==typeof e||"function"==typeof e||e===g||e===E||e===x||e===_||e===P||"object"==typeof e&&null!==e&&(e.$$typeof===A||e.$$typeof===T||e.$$typeof===O||e.$$typeof===w||e.$$typeof===S)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:var n=e.type;switch(n){case j:case E:case g:case x:case _:case P:return n;default:var r=n&&n.$$typeof;switch(r){case w:case S:case O:return r;default:return t}}case A:case T:case b:return t}}}function r(e){return Y||(Y=!0,k(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===j}function o(e){return n(e)===E}function i(e){return n(e)===w}function a(e){return n(e)===O}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}function c(e){return n(e)===S}function s(e){return n(e)===g}function l(e){return n(e)===A}function f(e){return n(e)===T}function p(e){return n(e)===b}function d(e){return n(e)===x}function y(e){return n(e)===_}function v(e){return n(e)===P}Object.defineProperty(t,"__esModule",{value:!0});var h="function"==typeof Symbol&&Symbol.for,m=h?Symbol.for("react.element"):60103,b=h?Symbol.for("react.portal"):60106,g=h?Symbol.for("react.fragment"):60107,_=h?Symbol.for("react.strict_mode"):60108,x=h?Symbol.for("react.profiler"):60114,O=h?Symbol.for("react.provider"):60109,w=h?Symbol.for("react.context"):60110,j=h?Symbol.for("react.async_mode"):60111,E=h?Symbol.for("react.concurrent_mode"):60111,S=h?Symbol.for("react.forward_ref"):60112,P=h?Symbol.for("react.suspense"):60113,T=h?Symbol.for("react.memo"):60115,A=h?Symbol.for("react.lazy"):60116,N=function(){},I=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};N=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];I.apply(void 0,[t].concat(r))}};var k=N,M=j,R=E,C=w,D=O,W=m,F=S,L=g,V=A,z=T,q=b,$=x,B=_,U=P,Y=!1;t.typeOf=n,t.AsyncMode=M,t.ConcurrentMode=R,t.ContextConsumer=C,t.ContextProvider=D,t.Element=W,t.ForwardRef=F,t.Fragment=L,t.Lazy=V,t.Memo=z,t.Portal=q,t.Profiler=$,t.StrictMode=B,t.Suspense=U,t.isValidElementType=e,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=u,t.isForwardRef=c,t.isFragment=s,t.isLazy=l,t.isMemo=f,t.isPortal=p,t.isProfiler=d,t.isStrictMode=y,t.isSuspense=v}()}).call(t,n(60))},function(e,t,n){(function(t){"use strict";function r(){return null}var o=n(61),i=n(65),a=n(66),u=n(67),c=Function.call.bind(Object.prototype.hasOwnProperty),s=function(){};"production"!==t.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function l(e){var t=e&&(T&&e[T]||e[A]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function p(e){this.message=e,this.stack=""}function d(e){function r(r,u,c,l,f,d,y){if(l=l||N,d=d||c,y!==a){if(n){var v=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 v.name="Invariant Violation",v}if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var h=l+":"+c;!o[h]&&i<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),o[h]=!0,i++)}}return null==u[c]?r?new p(null===u[c]?"The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(u,c,l,f,d)}if("production"!==t.env.NODE_ENV)var o={},i=0;var u=r.bind(null,!1);return u.isRequired=r.bind(null,!0),u}function y(e){function t(t,n,r,o,i,a){var u=t[n];if(j(u)!==e)return new p("Invalid "+o+" `"+i+"` of type `"+E(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return d(t)}function v(e){function t(t,n,r,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new p("Invalid "+o+" `"+i+"` of type `"+j(u)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<u.length;c++){var s=e(u,c,r,o,i+"["+c+"]",a);if(s instanceof Error)return s}return null}return d(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||N;return new p("Invalid "+o+" `"+i+"` of type `"+P(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return d(t)}function m(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(f(a,e[u]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===E(t)?String(t):t});return new p("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}return Array.isArray(e)?d(n):("production"!==t.env.NODE_ENV&&s(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function b(e){function t(t,n,r,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=j(u);if("object"!==s)return new p("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var l in u)if(c(u,l)){var f=e(u,l,r,o,i+"."+l,a);if(f instanceof Error)return f}return null}return d(t)}function g(e){function n(t,n,r,o,i){for(var u=0;u<e.length;u++){if(null==(0,e[u])(t,n,r,o,i,a))return null}return new p("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var o=0;o<e.length;o++){var i=e[o];if("function"!=typeof i)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+S(i)+" at index "+o+"."),r}return d(n)}function _(e){function t(t,n,r,o,i){var u=t[n],c=j(u);if("object"!==c)return new p("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var l=e[s];if(l){var f=l(u,s,r,o,i+"."+s,a);if(f)return f}}return null}return d(t)}function x(e){function t(t,n,r,o,u){var c=t[n],s=j(c);if("object"!==s)return new p("Invalid "+o+" `"+u+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");var l=i({},t[n],e);for(var f in l){var d=e[f];if(!d)return new p("Invalid "+o+" `"+u+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=d(c,f,r,o,u+"."+f,a);if(y)return y}return null}return d(t)}function O(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(O);if(null===t||e(t))return!0;var n=l(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!O(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!O(i[1]))return!1}return!0;default:return!1}}function w(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function j(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":w(t,e)?"symbol":t}function E(e){if(void 0===e||null===e)return""+e;var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function S(e){var t=E(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function P(e){return e.constructor&&e.constructor.name?e.constructor.name:N}var T="function"==typeof Symbol&&Symbol.iterator,A="@@iterator",N="<<anonymous>>",I={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return d(r)}(),arrayOf:v,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new p("Invalid "+o+" `"+i+"` of type `"+j(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return d(t)}(),elementType:function(){function e(e,t,n,r,i){var a=e[t];if(!o.isValidElementType(a)){return new p("Invalid "+r+" `"+i+"` of type `"+j(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return d(e)}(),instanceOf:h,node:function(){function e(e,t,n,r,o){return O(e[t])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return d(e)}(),objectOf:b,oneOf:m,oneOfType:g,shape:_,exact:x};return p.prototype=Error.prototype,I.checkPropTypes=u,I.resetWarningCache=u.resetWarningCache,I.PropTypes=I,I}}).call(t,n(60))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u,c=n(e),s=1;s<arguments.length;s++){a=Object(arguments[s]);for(var l in a)o.call(a,l)&&(c[l]=a[l]);if(r){u=r(a);for(var f=0;f<u.length;f++)i.call(a,u[f])&&(c[u[f]]=a[u[f]])}}return c}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";function r(e,n,r,c,s){if("production"!==t.env.NODE_ENV)for(var l in e)if(u(e,l)){var f;try{if("function"!=typeof e[l]){var p=Error((c||"React class")+": "+r+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.");throw p.name="Invariant Violation",p}f=e[l](n,l,c,r,null,i)}catch(e){f=e}if(!f||f instanceof Error||o((c||"React class")+": type specification of "+r+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=s?s():"";o("Failed "+r+" type: "+f.message+(null!=d?d:""))}}}var o=function(){};if("production"!==t.env.NODE_ENV){var i=n(66),a={},u=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}r.resetWarningCache=function(){"production"!==t.env.NODE_ENV&&(a={})},e.exports=r}).call(t,n(60))},function(e,t,n){"use strict";function r(){}function o(){}var i=n(66);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var u=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 u.name="Invariant Violation",u}}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:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(70);t.Motion=r(o);var i=n(94);t.StaggeredMotion=r(i);var a=n(95);t.TransitionMotion=r(a);var u=n(97);t.spring=r(u);var c=n(98);t.presets=r(c);var s=n(72);t.stripStyle=r(s);var l=n(99);t.reorderKeys=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var 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},i=n(71),a=r(i),u=n(72),c=r(u),s=n(73),l=r(s),f=n(74),p=r(f),d=n(75),y=r(d),v=n(77),h=r(v),m=n(3),b=r(m),g=n(78),_=r(g),x=n(87),O=r(x),w=O.default({propTypes:{defaultStyle:_.default.objectOf(_.default.number),style:_.default.objectOf(_.default.oneOfType([_.default.number,_.default.object])).isRequired,children:_.default.func.isRequired,onRest:_.default.func},getInitialState:function(){var e=this.props,t=e.defaultStyle,n=e.style,r=t||c.default(n),o=a.default(r);return{currentStyle:r,currentVelocity:o,lastIdealStyle:r,lastIdealVelocity:o}},wasAnimating:!1,animationID:null,prevTime:0,accumulatedTime:0,unreadPropStyle:null,clearUnreadPropStyle:function(e){var t=!1,n=this.state,r=n.currentStyle,i=n.currentVelocity,a=n.lastIdealStyle,u=n.lastIdealVelocity;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var s=e[c];"number"==typeof s&&(t||(t=!0,r=o({},r),i=o({},i),a=o({},a),u=o({},u)),r[c]=s,i[c]=0,a[c]=s,u[c]=0)}t&&this.setState({currentStyle:r,currentVelocity:i,lastIdealStyle:a,lastIdealVelocity:u})},startAnimationIfNecessary:function(){var e=this;this.animationID=y.default(function(t){var n=e.props.style;if(h.default(e.state.currentStyle,n,e.state.currentVelocity))return e.wasAnimating&&e.props.onRest&&e.props.onRest(),e.animationID=null,e.wasAnimating=!1,void(e.accumulatedTime=0);e.wasAnimating=!0;var r=t||p.default(),o=r-e.prevTime;if(e.prevTime=r,e.accumulatedTime=e.accumulatedTime+o,e.accumulatedTime>1e3/60*10&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();var i=(e.accumulatedTime-Math.floor(e.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),a=Math.floor(e.accumulatedTime/(1e3/60)),u={},c={},s={},f={};for(var d in n)if(Object.prototype.hasOwnProperty.call(n,d)){var y=n[d];if("number"==typeof y)s[d]=y,f[d]=0,u[d]=y,c[d]=0;else{for(var v=e.state.lastIdealStyle[d],m=e.state.lastIdealVelocity[d],b=0;b<a;b++){var g=l.default(1e3/60/1e3,v,m,y.val,y.stiffness,y.damping,y.precision);v=g[0],m=g[1]}var _=l.default(1e3/60/1e3,v,m,y.val,y.stiffness,y.damping,y.precision),x=_[0],O=_[1];s[d]=v+(x-v)*i,f[d]=m+(O-m)*i,u[d]=v,c[d]=m}}e.animationID=null,e.accumulatedTime-=a*(1e3/60),e.setState({currentStyle:s,currentVelocity:f,lastIdealStyle:u,lastIdealVelocity:c}),e.unreadPropStyle=null,e.startAnimationIfNecessary()})},componentDidMount:function(){this.prevTime=p.default(),this.startAnimationIfNecessary()},componentWillReceiveProps:function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=p.default(),this.startAnimationIfNecessary())},componentWillUnmount:function(){null!=this.animationID&&(y.default.cancel(this.animationID),this.animationID=null)},render:function(){var e=this.props.children(this.state.currentStyle);return e&&b.default.Children.only(e)}});t.default=w,e.exports=t.default},function(e,t){"use strict";function n(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"==typeof e[n]?e[n]:e[n].val);return t}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t,n,o,i,a,u){var c=-i*(t-o),s=-a*n,l=c+s,f=n+l*e,p=t+f*e;return Math.abs(f)<u&&Math.abs(p-o)<u?(r[0]=o,r[1]=0,r):(r[0]=p,r[1]=f,r)}t.__esModule=!0,t.default=n;var r=[0,0];e.exports=t.default},function(e,t,n){(function(t){(function(){var n,r,o;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-o)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},o=n()):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(t,n(60))},function(e,t,n){(function(t){for(var r=n(76),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],c=o["cancel"+a]||o["cancelRequest"+a],s=0;!u&&s<i.length;s++)u=o[i[s]+"Request"+a],c=o[i[s]+"Cancel"+a]||o[i[s]+"CancelRequest"+a];if(!u||!c){var l=0,f=0,p=[];u=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-l));l=n+t,setTimeout(function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout(function(){throw e},0)}},Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},c=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return u.call(o,e)},e.exports.cancel=function(){c.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=u,e.cancelAnimationFrame=c}}).call(t,function(){return this}())},function(e,t,n){(function(t){(function(){var n,r,o,i,a,u;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:void 0!==t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,n=function(){var e;return e=r(),1e9*e[0]+e[1]},i=n(),u=1e9*t.uptime(),a=i-u):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(t,n(60))},function(e,t){"use strict";function n(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var o="number"==typeof t[r]?t[r]:t[r].val;if(e[r]!==o)return!1}return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var r=n(79);e.exports=n(82)(r.isElement,!0)}else e.exports=n(86)()}).call(t,n(60))},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(80):e.exports=n(81)}).call(t,n(60))},function(e,t){"use strict";function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case p:case d:case u:case s:case c:case v:return e;default:switch(e=e&&e.$$typeof){case f:case y:case l:return e;default:return t}}case b:case m:case a:return t}}}function r(e){return n(e)===d}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,c=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.async_mode"):60111,d=o?Symbol.for("react.concurrent_mode"):60111,y=o?Symbol.for("react.forward_ref"):60112,v=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.suspense_list"):60120,m=o?Symbol.for("react.memo"):60115,b=o?Symbol.for("react.lazy"):60116,g=o?Symbol.for("react.fundamental"):60117,_=o?Symbol.for("react.responder"):60118,x=o?Symbol.for("react.scope"):60119;t.typeOf=n,t.AsyncMode=p,t.ConcurrentMode=d,t.ContextConsumer=f,t.ContextProvider=l,t.Element=i,t.ForwardRef=y,t.Fragment=u,t.Lazy=b,t.Memo=m,t.Portal=a,t.Profiler=s,t.StrictMode=c,t.Suspense=v,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===u||e===d||e===s||e===c||e===v||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===g||e.$$typeof===_||e.$$typeof===x)},t.isAsyncMode=function(e){return r(e)||n(e)===p},t.isConcurrentMode=r,t.isContextConsumer=function(e){return n(e)===f},t.isContextProvider=function(e){return n(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return n(e)===y},t.isFragment=function(e){return n(e)===u},t.isLazy=function(e){return n(e)===b},t.isMemo=function(e){return n(e)===m},t.isPortal=function(e){return n(e)===a},t.isProfiler=function(e){return n(e)===s},t.isStrictMode=function(e){return n(e)===c},t.isSuspense=function(e){return n(e)===v}},function(e,t,n){(function(e){"use strict";"production"!==e.env.NODE_ENV&&function(){function e(e){return"string"==typeof e||"function"==typeof e||e===g||e===E||e===x||e===_||e===P||e===T||"object"==typeof e&&null!==e&&(e.$$typeof===N||e.$$typeof===A||e.$$typeof===O||e.$$typeof===w||e.$$typeof===S||e.$$typeof===I||e.$$typeof===k||e.$$typeof===M)}function n(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case m:var n=e.type;switch(n){case j:case E:case g:case x:case _:case P:return n;default:var r=n&&n.$$typeof;switch(r){case w:case S:case O:return r;default:return t}}case N:case A:case b:return t}}}function r(e){return H||(H=!0,D(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),o(e)||n(e)===j}function o(e){return n(e)===E}function i(e){return n(e)===w}function a(e){return n(e)===O}function u(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}function c(e){return n(e)===S}function s(e){return n(e)===g}function l(e){return n(e)===N}function f(e){return n(e)===A}function p(e){return n(e)===b}function d(e){return n(e)===x}function y(e){return n(e)===_}function v(e){return n(e)===P}Object.defineProperty(t,"__esModule",{value:!0});var h="function"==typeof Symbol&&Symbol.for,m=h?Symbol.for("react.element"):60103,b=h?Symbol.for("react.portal"):60106,g=h?Symbol.for("react.fragment"):60107,_=h?Symbol.for("react.strict_mode"):60108,x=h?Symbol.for("react.profiler"):60114,O=h?Symbol.for("react.provider"):60109,w=h?Symbol.for("react.context"):60110,j=h?Symbol.for("react.async_mode"):60111,E=h?Symbol.for("react.concurrent_mode"):60111,S=h?Symbol.for("react.forward_ref"):60112,P=h?Symbol.for("react.suspense"):60113,T=h?Symbol.for("react.suspense_list"):60120,A=h?Symbol.for("react.memo"):60115,N=h?Symbol.for("react.lazy"):60116,I=h?Symbol.for("react.fundamental"):60117,k=h?Symbol.for("react.responder"):60118,M=h?Symbol.for("react.scope"):60119,R=function(){},C=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 o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};R=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];C.apply(void 0,[t].concat(r))}};var D=R,W=j,F=E,L=w,V=O,z=m,q=S,$=g,B=N,U=A,Y=b,K=x,G=_,J=P,H=!1;t.typeOf=n,t.AsyncMode=W,t.ConcurrentMode=F,t.ContextConsumer=L,t.ContextProvider=V,t.Element=z,t.ForwardRef=q,t.Fragment=$,t.Lazy=B,t.Memo=U,t.Portal=Y,t.Profiler=K,t.StrictMode=G,t.Suspense=J,t.isValidElementType=e,t.isAsyncMode=r,t.isConcurrentMode=o,t.isContextConsumer=i,t.isContextProvider=a,t.isElement=u,t.isForwardRef=c,t.isFragment=s,t.isLazy=l,t.isMemo=f,t.isPortal=p,t.isProfiler=d,t.isStrictMode=y,t.isSuspense=v}()}).call(t,n(60))},function(e,t,n){(function(t){"use strict";function r(){return null}var o=n(79),i=n(83),a=n(84),u=n(85),c=Function.call.bind(Object.prototype.hasOwnProperty),s=function(){};"production"!==t.env.NODE_ENV&&(s=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function l(e){var t=e&&(T&&e[T]||e[A]);if("function"==typeof t)return t}function f(e,t){return e===t?0!==e||1/e==1/t:e!==e&&t!==t}function p(e){this.message=e,this.stack=""}function d(e){function r(r,u,c,l,f,d,y){if(l=l||N,d=d||c,y!==a){if(n){var v=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 v.name="Invariant Violation",v}if("production"!==t.env.NODE_ENV&&"undefined"!=typeof console){var h=l+":"+c;!o[h]&&i<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),o[h]=!0,i++)}}return null==u[c]?r?new p(null===u[c]?"The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`.":"The "+f+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(u,c,l,f,d)}if("production"!==t.env.NODE_ENV)var o={},i=0;var u=r.bind(null,!1);return u.isRequired=r.bind(null,!0),u}function y(e){function t(t,n,r,o,i,a){var u=t[n];if(j(u)!==e)return new p("Invalid "+o+" `"+i+"` of type `"+E(u)+"` supplied to `"+r+"`, expected `"+e+"`.");return null}return d(t)}function v(e){function t(t,n,r,o,i){ if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=t[n];if(!Array.isArray(u)){return new p("Invalid "+o+" `"+i+"` of type `"+j(u)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<u.length;c++){var s=e(u,c,r,o,i+"["+c+"]",a);if(s instanceof Error)return s}return null}return d(t)}function h(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||N;return new p("Invalid "+o+" `"+i+"` of type `"+P(t[n])+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null}return d(t)}function m(e){function n(t,n,r,o,i){for(var a=t[n],u=0;u<e.length;u++)if(f(a,e[u]))return null;var c=JSON.stringify(e,function(e,t){return"symbol"===E(t)?String(t):t});return new p("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")}return Array.isArray(e)?d(n):("production"!==t.env.NODE_ENV&&s(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),r)}function b(e){function t(t,n,r,o,i){if("function"!=typeof e)return new p("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var u=t[n],s=j(u);if("object"!==s)return new p("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var l in u)if(c(u,l)){var f=e(u,l,r,o,i+"."+l,a);if(f instanceof Error)return f}return null}return d(t)}function g(e){function n(t,n,r,o,i){for(var u=0;u<e.length;u++){if(null==(0,e[u])(t,n,r,o,i,a))return null}return new p("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&s("Invalid argument supplied to oneOfType, expected an instance of array."),r;for(var o=0;o<e.length;o++){var i=e[o];if("function"!=typeof i)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+S(i)+" at index "+o+"."),r}return d(n)}function _(e){function t(t,n,r,o,i){var u=t[n],c=j(u);if("object"!==c)return new p("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var s in e){var l=e[s];if(l){var f=l(u,s,r,o,i+"."+s,a);if(f)return f}}return null}return d(t)}function x(e){function t(t,n,r,o,u){var c=t[n],s=j(c);if("object"!==s)return new p("Invalid "+o+" `"+u+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");var l=i({},t[n],e);for(var f in l){var d=e[f];if(!d)return new p("Invalid "+o+" `"+u+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=d(c,f,r,o,u+"."+f,a);if(y)return y}return null}return d(t)}function O(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(O);if(null===t||e(t))return!0;var n=l(t);if(!n)return!1;var r,o=n.call(t);if(n!==t.entries){for(;!(r=o.next()).done;)if(!O(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!O(i[1]))return!1}return!0;default:return!1}}function w(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function j(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":w(t,e)?"symbol":t}function E(e){if(void 0===e||null===e)return""+e;var t=j(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function S(e){var t=E(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function P(e){return e.constructor&&e.constructor.name?e.constructor.name:N}var T="function"==typeof Symbol&&Symbol.iterator,A="@@iterator",N="<<anonymous>>",I={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:function(){return d(r)}(),arrayOf:v,element:function(){function t(t,n,r,o,i){var a=t[n];if(!e(a)){return new p("Invalid "+o+" `"+i+"` of type `"+j(a)+"` supplied to `"+r+"`, expected a single ReactElement.")}return null}return d(t)}(),elementType:function(){function e(e,t,n,r,i){var a=e[t];if(!o.isValidElementType(a)){return new p("Invalid "+r+" `"+i+"` of type `"+j(a)+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null}return d(e)}(),instanceOf:h,node:function(){function e(e,t,n,r,o){return O(e[t])?null:new p("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")}return d(e)}(),objectOf:b,oneOf:m,oneOfType:g,shape:_,exact:x};return p.prototype=Error.prototype,I.checkPropTypes=u,I.resetWarningCache=u.resetWarningCache,I.PropTypes=I,I}}).call(t,n(60))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u,c=n(e),s=1;s<arguments.length;s++){a=Object(arguments[s]);for(var l in a)o.call(a,l)&&(c[l]=a[l]);if(r){u=r(a);for(var f=0;f<u.length;f++)i.call(a,u[f])&&(c[u[f]]=a[u[f]])}}return c}},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(t){"use strict";function r(e,n,r,c,s){if("production"!==t.env.NODE_ENV)for(var l in e)if(u(e,l)){var f;try{if("function"!=typeof e[l]){var p=Error((c||"React class")+": "+r+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.");throw p.name="Invariant Violation",p}f=e[l](n,l,c,r,null,i)}catch(e){f=e}if(!f||f instanceof Error||o((c||"React class")+": type specification of "+r+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var d=s?s():"";o("Failed "+r+" type: "+f.message+(null!=d?d:""))}}}var o=function(){};if("production"!==t.env.NODE_ENV){var i=n(84),a={},u=Function.call.bind(Object.prototype.hasOwnProperty);o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}r.resetWarningCache=function(){"production"!==t.env.NODE_ENV&&(a={})},e.exports=r}).call(t,n(60))},function(e,t,n){"use strict";function r(){}function o(){}var i=n(84);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var u=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 u.name="Invariant Violation",u}}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:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";var r=n(3),o=n(88);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){(function(t){"use strict";function r(e){return e}function o(e,n,o){function f(e,n,r){for(var o in n)n.hasOwnProperty(o)&&"production"!==t.env.NODE_ENV&&c("function"==typeof n[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",s[r],o)}function p(e,t){var n=O.hasOwnProperty(t)?O[t]:null;P.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function d(e,r){if(r){u("function"!=typeof r,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!n(r),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var o=e.prototype,i=o.__reactAutoBindPairs;r.hasOwnProperty(l)&&j.mixins(e,r.mixins);for(var a in r)if(r.hasOwnProperty(a)&&a!==l){var s=r[a],f=o.hasOwnProperty(a);if(p(f,a),j.hasOwnProperty(a))j[a](e,s);else{var d=O.hasOwnProperty(a),y="function"==typeof s,v=y&&!d&&!f&&!1!==r.autobind;if(v)i.push(a,s),o[a]=s;else if(f){var b=O[a];u(d&&("DEFINE_MANY_MERGED"===b||"DEFINE_MANY"===b),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",b,a),"DEFINE_MANY_MERGED"===b?o[a]=h(o[a],s):"DEFINE_MANY"===b&&(o[a]=m(o[a],s))}else o[a]=s,"production"!==t.env.NODE_ENV&&"function"==typeof s&&r.displayName&&(o[a].displayName=r.displayName+"_"+a)}}}else if("production"!==t.env.NODE_ENV){var g=typeof r,_="object"===g&&null!==r;"production"!==t.env.NODE_ENV&&c(_,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",e.displayName||"ReactClass",null===r?null:g)}}function y(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in j;u(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;if(i){var a=w.hasOwnProperty(n)?w[n]:null;return u("DEFINE_MANY_MERGED"===a,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=h(e[n],r))}e[n]=r}}}function v(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function h(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return v(o,n),v(o,r),o}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function b(e,n){var r=n.bind(e);if("production"!==t.env.NODE_ENV){r.__reactBoundContext=e,r.__reactBoundMethod=n,r.__reactBoundArguments=null;var o=e.constructor.displayName,i=r.bind;r.bind=function(a){for(var u=arguments.length,s=Array(u>1?u-1:0),l=1;l<u;l++)s[l-1]=arguments[l];if(a!==e&&null!==a)"production"!==t.env.NODE_ENV&&c(!1,"bind(): React component methods may only be bound to the component instance. See %s",o);else if(!s.length)return"production"!==t.env.NODE_ENV&&c(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",o),r;var f=i.apply(r,arguments);return f.__reactBoundContext=e,f.__reactBoundMethod=n,f.__reactBoundArguments=s,f}}return r}function g(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=b(e,o)}}function _(e){var n=r(function(e,r,i){"production"!==t.env.NODE_ENV&&c(this instanceof n,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&g(this),this.props=e,this.context=r,this.refs=a,this.updater=i||o,this.state=null;var s=this.getInitialState?this.getInitialState():null;"production"!==t.env.NODE_ENV&&void 0===s&&this.getInitialState._isMockFunction&&(s=null),u("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",n.displayName||"ReactCompositeComponent"),this.state=s});n.prototype=new T,n.prototype.constructor=n,n.prototype.__reactAutoBindPairs=[],x.forEach(d.bind(null,n)),d(n,E),d(n,e),d(n,S),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==t.env.NODE_ENV&&(n.getDefaultProps&&(n.getDefaultProps.isReactClassApproved={}),n.prototype.getInitialState&&(n.prototype.getInitialState.isReactClassApproved={})),u(n.prototype.render,"createClass(...): Class specification must implement a `render` method."),"production"!==t.env.NODE_ENV&&(c(!n.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"),c(!n.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",e.displayName||"A component"),c(!n.prototype.UNSAFE_componentWillRecieveProps,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",e.displayName||"A component"));for(var i in O)n.prototype[i]||(n.prototype[i]=null);return n}var x=[],O={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},j={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)d(e,t[n])},childContextTypes:function(e,n){"production"!==t.env.NODE_ENV&&f(e,n,"childContext"),e.childContextTypes=i({},e.childContextTypes,n)},contextTypes:function(e,n){"production"!==t.env.NODE_ENV&&f(e,n,"context"),e.contextTypes=i({},e.contextTypes,n)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=h(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,n){"production"!==t.env.NODE_ENV&&f(e,n,"prop"),e.propTypes=i({},e.propTypes,n)},statics:function(e,t){y(e,t)},autobind:function(){}},E={componentDidMount:function(){this.__isMounted=!0}},S={componentWillUnmount:function(){this.__isMounted=!1}},P={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return"production"!==t.env.NODE_ENV&&(c(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},T=function(){};return i(T.prototype,e.prototype,P),_}var i=n(89),a=n(90),u=n(91);if("production"!==t.env.NODE_ENV)var c=n(92);var s,l="mixins";s="production"!==t.env.NODE_ENV?{prop:"prop",context:"context",childContext:"child context"}:{},e.exports=o}).call(t,n(60))},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u,c=n(e),s=1;s<arguments.length;s++){a=Object(arguments[s]);for(var l in a)o.call(a,l)&&(c[l]=a[l]);if(r){u=r(a);for(var f=0;f<u.length;f++)i.call(a,u[f])&&(c[u[f]]=a[u[f]])}}return c}},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(60))},function(e,t,n){(function(t){"use strict";function n(e,t,n,o,i,a,u,c){if(r(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,u,c],f=0;s=new Error(t.replace(/%s/g,function(){return l[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(60))},function(e,t,n){(function(t){"use strict";var r=n(93),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(60))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){for(var r=0;r<e.length;r++)if(!m.default(e[r],t[r],n[r]))return!1;return!0}t.__esModule=!0;var i=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},a=n(71),u=r(a),c=n(72),s=r(c),l=n(73),f=r(l),p=n(74),d=r(p),y=n(75),v=r(y),h=n(77),m=r(h),b=n(3),g=r(b),_=n(78),x=r(_),O=n(87),w=r(O),j=w.default({propTypes:{defaultStyles:x.default.arrayOf(x.default.objectOf(x.default.number)),styles:x.default.func.isRequired,children:x.default.func.isRequired},getInitialState:function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=t||n().map(s.default),o=r.map(function(e){return u.default(e)});return{currentStyles:r,currentVelocities:o,lastIdealStyles:r,lastIdealVelocities:o}},animationID:null,prevTime:0,accumulatedTime:0,unreadPropStyles:null,clearUnreadPropStyle:function(e){for(var t=this.state,n=t.currentStyles,r=t.currentVelocities,o=t.lastIdealStyles,a=t.lastIdealVelocities,u=!1,c=0;c<e.length;c++){var s=e[c],l=!1;for(var f in s)if(Object.prototype.hasOwnProperty.call(s,f)){var p=s[f];"number"==typeof p&&(l||(l=!0,u=!0,n[c]=i({},n[c]),r[c]=i({},r[c]),o[c]=i({},o[c]),a[c]=i({},a[c])),n[c][f]=p,r[c][f]=0,o[c][f]=p,a[c][f]=0)}}u&&this.setState({currentStyles:n,currentVelocities:r,lastIdealStyles:o,lastIdealVelocities:a})},startAnimationIfNecessary:function(){var e=this;this.animationID=v.default(function(t){var n=e.props.styles(e.state.lastIdealStyles);if(o(e.state.currentStyles,n,e.state.currentVelocities))return e.animationID=null,void(e.accumulatedTime=0);var r=t||d.default(),i=r-e.prevTime;if(e.prevTime=r,e.accumulatedTime=e.accumulatedTime+i,e.accumulatedTime>1e3/60*10&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var a=(e.accumulatedTime-Math.floor(e.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),u=Math.floor(e.accumulatedTime/(1e3/60)),c=[],s=[],l=[],p=[],y=0;y<n.length;y++){var v=n[y],h={},m={},b={},g={};for(var _ in v)if(Object.prototype.hasOwnProperty.call(v,_)){var x=v[_];if("number"==typeof x)h[_]=x,m[_]=0,b[_]=x,g[_]=0;else{for(var O=e.state.lastIdealStyles[y][_],w=e.state.lastIdealVelocities[y][_],j=0;j<u;j++){var E=f.default(1e3/60/1e3,O,w,x.val,x.stiffness,x.damping,x.precision);O=E[0],w=E[1]}var S=f.default(1e3/60/1e3,O,w,x.val,x.stiffness,x.damping,x.precision),P=S[0],T=S[1];h[_]=O+(P-O)*a,m[_]=w+(T-w)*a,b[_]=O,g[_]=w}}l[y]=h,p[y]=m,c[y]=b,s[y]=g}e.animationID=null,e.accumulatedTime-=u*(1e3/60),e.setState({currentStyles:l,currentVelocities:p,lastIdealStyles:c,lastIdealVelocities:s}),e.unreadPropStyles=null,e.startAnimationIfNecessary()})},componentDidMount:function(){this.prevTime=d.default(),this.startAnimationIfNecessary()},componentWillReceiveProps:function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=d.default(),this.startAnimationIfNecessary())},componentWillUnmount:function(){null!=this.animationID&&(v.default.cancel(this.animationID),this.animationID=null)},render:function(){var e=this.props.children(this.state.currentStyles);return e&&g.default.Children.only(e)}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=t;return null==r?e.map(function(e,t){return{key:e.key,data:e.data,style:n[t]}}):e.map(function(e,t){for(var o=0;o<r.length;o++)if(r[o].key===e.key)return{key:r[o].key,data:r[o].data,style:n[t]};return{key:e.key,data:e.data,style:n[t]}})}function i(e,t,n,r){if(r.length!==t.length)return!1;for(var o=0;o<r.length;o++)if(r[o].key!==t[o].key)return!1;for(var o=0;o<r.length;o++)if(!x.default(e[o],t[o].style,n[o]))return!1;return!0}function a(e,t,n,r,o,i,a,u,c){for(var l=v.default(r,o,function(e,r){var o=t(r);return null==o?(n({key:r.key,data:r.data}),null):x.default(i[e],o,a[e])?(n({key:r.key,data:r.data}),null):{key:r.key,data:r.data,style:o}}),f=[],p=[],d=[],y=[],h=0;h<l.length;h++){for(var m=l[h],b=null,g=0;g<r.length;g++)if(r[g].key===m.key){b=g;break}if(null==b){var _=e(m);f[h]=_,d[h]=_;var O=s.default(m.style);p[h]=O,y[h]=O}else f[h]=i[b],d[h]=u[b],p[h]=a[b],y[h]=c[b]}return[l,f,p,d,y]}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(71),s=r(c),l=n(72),f=r(l),p=n(73),d=r(p),y=n(96),v=r(y),h=n(74),m=r(h),b=n(75),g=r(b),_=n(77),x=r(_),O=n(3),w=r(O),j=n(78),E=r(j),S=n(87),P=r(S),T=P.default({propTypes:{defaultStyles:E.default.arrayOf(E.default.shape({key:E.default.string.isRequired,data:E.default.any,style:E.default.objectOf(E.default.number).isRequired})),styles:E.default.oneOfType([E.default.func,E.default.arrayOf(E.default.shape({key:E.default.string.isRequired,data:E.default.any,style:E.default.objectOf(E.default.oneOfType([E.default.number,E.default.object])).isRequired}))]).isRequired,children:E.default.func.isRequired,willEnter:E.default.func,willLeave:E.default.func,didLeave:E.default.func},getDefaultProps:function(){return{willEnter:function(e){return f.default(e.style)},willLeave:function(){return null},didLeave:function(){}}},getInitialState:function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=e.willEnter,o=e.willLeave,i=e.didLeave,u="function"==typeof n?n(t):n,c=void 0;c=null==t?u:t.map(function(e){for(var t=0;t<u.length;t++)if(u[t].key===e.key)return u[t];return e});var l=null==t?u.map(function(e){return f.default(e.style)}):t.map(function(e){return f.default(e.style)}),p=null==t?u.map(function(e){return s.default(e.style)}):t.map(function(e){return s.default(e.style)}),d=a(r,o,i,c,u,l,p,l,p),y=d[0];return{currentStyles:d[1],currentVelocities:d[2],lastIdealStyles:d[3],lastIdealVelocities:d[4],mergedPropsStyles:y}},unmounting:!1,animationID:null,prevTime:0,accumulatedTime:0,unreadPropStyles:null,clearUnreadPropStyle:function(e){for(var t=a(this.props.willEnter,this.props.willLeave,this.props.didLeave,this.state.mergedPropsStyles,e,this.state.currentStyles,this.state.currentVelocities,this.state.lastIdealStyles,this.state.lastIdealVelocities),n=t[0],r=t[1],o=t[2],i=t[3],c=t[4],s=0;s<e.length;s++){var l=e[s].style,f=!1;for(var p in l)if(Object.prototype.hasOwnProperty.call(l,p)){var d=l[p];"number"==typeof d&&(f||(f=!0,r[s]=u({},r[s]),o[s]=u({},o[s]),i[s]=u({},i[s]),c[s]=u({},c[s]),n[s]={key:n[s].key,data:n[s].data,style:u({},n[s].style)}),r[s][p]=d,o[s][p]=0,i[s][p]=d,c[s][p]=0,n[s].style[p]=d)}}this.setState({currentStyles:r,currentVelocities:o,mergedPropsStyles:n,lastIdealStyles:i,lastIdealVelocities:c})},startAnimationIfNecessary:function(){var e=this;this.unmounting||(this.animationID=g.default(function(t){if(!e.unmounting){var n=e.props.styles,r="function"==typeof n?n(o(e.state.mergedPropsStyles,e.unreadPropStyles,e.state.lastIdealStyles)):n;if(i(e.state.currentStyles,r,e.state.currentVelocities,e.state.mergedPropsStyles))return e.animationID=null,void(e.accumulatedTime=0);var u=t||m.default(),c=u-e.prevTime;if(e.prevTime=u,e.accumulatedTime=e.accumulatedTime+c,e.accumulatedTime>1e3/60*10&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var s=(e.accumulatedTime-Math.floor(e.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),l=Math.floor(e.accumulatedTime/(1e3/60)),f=a(e.props.willEnter,e.props.willLeave,e.props.didLeave,e.state.mergedPropsStyles,r,e.state.currentStyles,e.state.currentVelocities,e.state.lastIdealStyles,e.state.lastIdealVelocities),p=f[0],y=f[1],v=f[2],h=f[3],b=f[4],g=0;g<p.length;g++){var _=p[g].style,x={},O={},w={},j={};for(var E in _)if(Object.prototype.hasOwnProperty.call(_,E)){var S=_[E];if("number"==typeof S)x[E]=S,O[E]=0,w[E]=S,j[E]=0;else{for(var P=h[g][E],T=b[g][E],A=0;A<l;A++){var N=d.default(1e3/60/1e3,P,T,S.val,S.stiffness,S.damping,S.precision);P=N[0],T=N[1]}var I=d.default(1e3/60/1e3,P,T,S.val,S.stiffness,S.damping,S.precision),k=I[0],M=I[1];x[E]=P+(k-P)*s,O[E]=T+(M-T)*s,w[E]=P,j[E]=T}}h[g]=w,b[g]=j,y[g]=x,v[g]=O}e.animationID=null,e.accumulatedTime-=l*(1e3/60),e.setState({currentStyles:y,currentVelocities:v,lastIdealStyles:h,lastIdealVelocities:b,mergedPropsStyles:p}),e.unreadPropStyles=null,e.startAnimationIfNecessary()}}))},componentDidMount:function(){this.prevTime=m.default(),this.startAnimationIfNecessary()},componentWillReceiveProps:function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles="function"==typeof t?t(o(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=m.default(),this.startAnimationIfNecessary())},componentWillUnmount:function(){this.unmounting=!0,null!=this.animationID&&(g.default.cancel(this.animationID),this.animationID=null)},render:function(){var e=o(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&w.default.Children.only(t)}});t.default=T,e.exports=t.default},function(e,t){"use strict";function n(e,t,n){for(var r={},o=0;o<e.length;o++)r[e[o].key]=o;for(var i={},o=0;o<t.length;o++)i[t[o].key]=o;for(var a=[],o=0;o<t.length;o++)a[o]=t[o];for(var o=0;o<e.length;o++)if(!Object.prototype.hasOwnProperty.call(i,e[o].key)){var u=n(o,e[o]);null!=u&&a.push(u)}return a.sort(function(e,n){var o=i[e.key],a=i[n.key],u=r[e.key],c=r[n.key];if(null!=o&&null!=a)return i[e.key]-i[n.key];if(null!=u&&null!=c)return r[e.key]-r[n.key];if(null!=o){for(var s=0;s<t.length;s++){var l=t[s].key;if(Object.prototype.hasOwnProperty.call(r,l)){if(o<i[l]&&c>r[l])return-1;if(o>i[l]&&c<r[l])return 1}}return 1}for(var s=0;s<t.length;s++){var l=t[s].key;if(Object.prototype.hasOwnProperty.call(r,l)){if(a<i[l]&&u>r[l])return 1;if(a>i[l]&&u<r[l])return-1}}return-1})}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return o({},u,t,{val:e})}t.__esModule=!0;var 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};t.default=r;var i=n(98),a=function(e){return e&&e.__esModule?e:{default:e}}(i),u=o({},a.default.noWobble,{precision:.01});e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},function(e,t,n){(function(n){"use strict";function r(){"development"===n.env.NODE_ENV&&(o||(o=!0,console.error("`reorderKeys` has been removed, since it is no longer needed for TransitionMotion's new styles array API.")))}t.__esModule=!0,t.default=r;var o=!1;e.exports=t.default}).call(t,n(60))},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 o(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 a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?c(e):t}function c(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 l(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(6),n(23);var p=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(3)),d=function(e){function t(){return o(this,t),u(this,s(t).apply(this,arguments))}return l(t,e),a(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return p.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}},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"}))}}]),t}(p.Component),y=d;t.default=y,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 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&&a(e.prototype,t),n&&a(e,n),e}function c(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(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)}function d(e,t){if(null==e)return{};var n,r,o=y(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function y(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(102),n(103),n(110),n(112),n(6),n(23);var v=r(n(58)),h=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(3)),m=(r(n(59)),r(n(114))),b=function(e){var t=e.label,n=d(e,["label"]);return h.default.createElement("a",n,t)},g=(0,m.default)(b),_=function(e){function t(e){var n;return i(this,t),n=c(this,l(t).call(this,e)),n.logoClass="masthead__logo".concat("dark"===n.props.theme?"--dark":""),n}return f(t,e),u(t,[{key:"componentDidMount",value:function(){this.props.shouldFocusWhenMount&&this.header.focus()}},{key:"render",value:function(){var e=this;return h.default.createElement("header",{className:"masthead"},h.default.createElement("h1",{className:"masthead__heading",ref:function(t){e.header=t},tabIndex:"-1"},h.default.createElement(g,{className:(0,v.default)(this.logoClass,this.props.className),href:this.props.url,label:"Bitesize",iStatsAction:"bitesize_logo",iStatsType:"click"})))}}]),t}(h.Component);_.defaultProps={url:"/bitesize",theme:"",className:"",shouldFocusWhenMount:!1};var x=_;t.default=x,e.exports=t.default},function(e,t,n){for(var r=n(103),o=n(35),i=n(28),a=n(8),u=n(26),c=n(106),s=n(12),l=s("iterator"),f=s("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},y=o(d),v=0;v<y.length;v++){var h,m=y[v],b=d[m],g=a[m],_=g&&g.prototype;if(_&&(_[l]||u(_,l,p),_[f]||u(_,f,m),c[m]=p,b))for(h in r)_[h]||i(_,h,r[h],!0)}},function(e,t,n){"use strict";var r=n(104),o=n(105),i=n(106),a=n(37);e.exports=n(107)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(12)("unscopables"),o=Array.prototype;void 0==o[r]&&n(26)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(10),o=n(25),i=n(28),a=n(26),u=n(106),c=n(108),s=n(33),l=n(109),f=n(12)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,y,v,h,m){c(n,t,y);var b,g,_,x=function(e){if(!p&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",w="values"==v,j=!1,E=e.prototype,S=E[f]||E["@@iterator"]||v&&E[v],P=S||x(v),T=v?w?x("entries"):P:void 0,A="Array"==t?E.entries||S:S;if(A&&(_=l(A.call(new e)))!==Object.prototype&&_.next&&(s(_,O,!0),r||"function"==typeof _[f]||a(_,f,d)),w&&S&&"values"!==S.name&&(j=!0,P=function(){return S.call(this)}),r&&!m||!p&&!j&&E[f]||a(E,f,P),u[t]=P,u[O]=d,v)if(b={values:w?P:x("values"),keys:h?P:x("keys"),entries:T},m)for(g in b)g in E||i(E,g,b[g]);else o(o.P+o.F*(p||j),t,b);return b}},function(e,t,n){"use strict";var r=n(51),o=n(27),i=n(33),a={};n(26)(a,n(12)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(24),o=n(50),i=n(45)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";var r=n(111),o={};o[n(12)("toStringTag")]="z",o+""!="[object z]"&&n(28)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(39),o=n(12)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(50),o=n(35);n(113)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(25),o=n(9),i=n(20);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default: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 i(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function a(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(115),n(23),n(102),n(103),n(110),n(112),n(117);var u=r(n(118)),c=r(n(3)),s=(r(n(59)),r(n(332))),l=n(337),f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=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(){s.default.track((0,l.formatIStatsValue)(e),(0,l.formatIStatsValue)(t),(0,u.default)(l.formatIStatsValue,n)),r.apply(void 0,arguments)}},p=function(e){function t(t){var n=t.onClick,r=t.iStatsAction,a=t.iStatsType,u=t.iStatsOptions,s=i(t,["onClick","iStatsAction","iStatsType","iStatsOptions"]);return c.default.createElement(e,o({},s,{onClick:f(r,a,u,n)}))}return t.defaultProps={onClick:function(){return null},iStatsType:"",iStatsOptions:{}},t.displayName="iStatsOnClick(".concat(e.displayName||e.name||"Component",")"),t};t.default=p,e.exports=t.default},function(e,t,n){var r=n(25);r(r.S+r.F,"Object",{assign:n(116)})},function(e,t,n){"use strict";var r=n(19),o=n(35),i=n(47),a=n(48),u=n(50),c=n(38),s=Object.assign;e.exports=!s||n(20)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=u(e),s=arguments.length,l=1,f=i.f,p=a.f;s>l;)for(var d,y=c(arguments[l++]),v=f?o(y).concat(f(y)):o(y),h=v.length,m=0;h>m;)d=v[m++],r&&!p.call(y,d)||(n[d]=y[d]);return n}:s},function(e,t,n){var r=n(15).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(19)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){var r=n(119),o=r("mapValues",n(328));o.placeholder=n(122),e.exports=o},function(e,t,n){function r(e,t,n){return o(i,e,t,n)}var o=n(120),i=n(123);e.exports=r},function(e,t,n){function r(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}function o(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function i(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function a(e){return function(t){return e({},t)}}function u(e,t){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[t],a=o.slice(0,t);return i&&p.apply(a,i),t!=r&&p.apply(a,o.slice(t+1)),e.apply(this,a)}}function c(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}function s(e,t,n,p){function d(e,t){if(S.cap){var n=l.iterateeRearg[e];if(n)return x(t,n);var r=!j&&l.iterateeAry[e];if(r)return _(t,r)}return t}function y(e,t,n){return T||S.curry&&n>1?D(t,n):t}function v(e,t,n){if(S.fixed&&(A||!l.skipFixed[e])){var r=l.methodSpread[e],o=r&&r.start;return void 0===o?M(t,n):u(t,o)}return t}function h(e,t,n){return S.rearg&&n>1&&(N||!l.skipRearg[e])?$(t,l.methodRearg[e]||l.aryRearg[n]):t}function m(e,t){t=U(t);for(var n=-1,r=t.length,o=r-1,i=C(Object(e)),a=i;null!=a&&++n<r;){var u=t[n],c=a[u];null==c||V(c)||L(c)||z(c)||(a[u]=C(n==o?c:Object(c))),a=a[u]}return i}function b(e){return G.runInContext.convert(e)(void 0)}function g(e,t){var n=l.aliasToReal[e]||e,r=l.remap[n]||n,o=p;return function(e){var i=j?I:k,a=j?I[r]:t,u=R(R({},o),e);return s(i,n,a,u)}}function _(e,t){return O(e,function(e){return"function"==typeof e?o(e,t):e})}function x(e,t){return O(e,function(e){var n=t.length;return r($(o(e,n),t),n)})}function O(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var o=S.rearg?0:n-1;return r[o]=t(r[o]),e.apply(void 0,r)}}function w(e,t,n){var r,o=l.aliasToReal[e]||e,u=t,s=K[o];return s?u=s(t):S.immutable&&(l.mutate.array[o]?u=c(t,i):l.mutate.object[o]?u=c(t,a(t)):l.mutate.set[o]&&(u=c(t,m))),W(Y,function(e){return W(l.aryMethod[e],function(t){if(o==t){var n=l.methodSpread[o],i=n&&n.afterRearg;return r=i?v(o,h(o,u,e),e):h(o,v(o,u,e),e),r=d(o,r),r=y(o,r,e),!1}}),!r}),r||(r=u),r==t&&(r=T?D(r,1):function(){return t.apply(this,arguments)}),r.convert=g(o,t),r.placeholder=t.placeholder=n,r}var j="function"==typeof t,E=t===Object(t);if(E&&(p=n,n=t,t=void 0),null==n)throw new TypeError;p||(p={});var S={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=j?n:f,T="curry"in p&&p.curry,A="fixed"in p&&p.fixed,N="rearg"in p&&p.rearg,I=j?n.runInContext():void 0,k=j?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isError:e.isError,isFunction:e.isFunction,isWeakMap:e.isWeakMap,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},M=k.ary,R=k.assign,C=k.clone,D=k.curry,W=k.forEach,F=k.isArray,L=k.isError,V=k.isFunction,z=k.isWeakMap,q=k.keys,$=k.rearg,B=k.toInteger,U=k.toPath,Y=q(l.aryMethod),K={castArray:function(e){return function(){var t=arguments[0];return F(t)?e(i(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[0],n=arguments[1],r=e(t,n),i=r.length;return S.cap&&"number"==typeof n?(n=n>2?n-2:1,i&&i<=n?r:o(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!V(n))return e(n,Object(t));var r=[];return W(q(t),function(e){V(t[e])&&r.push([e,n.prototype[e]])}),e(n,Object(t)),W(r,function(e){var t=e[1];V(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]}),n}},nthArg:function(e){return function(t){var n=t<0?1:B(t)+1;return D(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return D(e(t,n),r)}},runInContext:function(t){return function(n){return s(e,t(n),p)}}};if(!E)return w(t,n,P);var G=n,J=[];return W(Y,function(e){W(l.aryMethod[e],function(e){var t=G[l.remap[e]||e];t&&J.push([e,w(e,t,G)])})}),W(q(G),function(e){var t=G[e];if("function"==typeof t){for(var n=J.length;n--;)if(J[n][0]==e)return;t.convert=g(e,t),J.push([e,t])}}),W(J,function(e){G[e[0]]=e[1]}),G.convert=b,G.placeholder=G,W(q(G),function(e){W(l.realToAlias[e]||[],function(t){G[t]=G[e]})}),G}var l=n(121),f=n(122),p=Array.prototype.push;e.exports=s},function(e,t){t.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"},t.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"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.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},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.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]},t.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}},t.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}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,n=t.aliasToReal,r={};for(var o in n){var i=n[o];e.call(r,i)?r[i].push(o):r[i]=[o]}return r}(),t.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"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.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(e,t){e.exports={}},function(e,t,n){e.exports={ary:n(124),assign:n(193),clone:n(216),curry:n(280),forEach:n(177),isArray:n(163),isError:n(281),isFunction:n(132),isWeakMap:n(283),iteratee:n(284),keys:n(211),rearg:n(321),toInteger:n(189),toPath:n(327)}},function(e,t,n){function r(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,o(e,i,void 0,void 0,void 0,void 0,t)}var o=n(125),i=128;e.exports=r},function(e,t,n){function r(e,t,n,r,O,w,j,E){var S=t&h;if(!S&&"function"!=typeof e)throw new TypeError(y);var P=r?r.length:0;if(P||(t&=~(g|_),r=O=void 0),j=void 0===j?j:x(d(j),0),E=void 0===E?E:d(E),P-=O?O.length:0,t&_){var T=r,A=O;r=O=void 0}var N=S?void 0:s(e),I=[e,t,n,r,O,T,A,w,j,E];if(N&&l(I,N),e=I[0],t=I[1],n=I[2],r=I[3],O=I[4],E=I[9]=void 0===I[9]?S?0:e.length:x(I[9]-P,0),!E&&t&(m|b)&&(t&=~(m|b)),t&&t!=v)k=t==m||t==b?a(e,t,E):t!=g&&t!=(v|g)||O.length?u.apply(void 0,I):c(e,t,n,r);else var k=i(e,t,n);return p((N?o:f)(k,I),e,t)}var o=n(126),i=n(144),a=n(147),u=n(149),c=n(187),s=n(157),l=n(188),f=n(167),p=n(169),d=n(189),y="Expected a function",v=1,h=2,m=8,b=16,g=32,_=64,x=Math.max;e.exports=r},function(e,t,n){var r=n(127),o=n(128),i=o?function(e,t){return o.set(e,t),e}:r;e.exports=i},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){var r=n(129),o=r&&new r;e.exports=o},function(e,t,n){var r=n(130),o=n(135),i=r(o,"WeakMap");e.exports=i},function(e,t,n){function r(e,t){var n=i(e,t);return o(n)?n:void 0}var o=n(131),i=n(143);e.exports=r},function(e,t,n){function r(e){return!(!a(e)||i(e))&&(o(e)?y:s).test(u(e))}var o=n(132),i=n(140),a=n(139),u=n(142),c=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,f=Object.prototype,p=l.toString,d=f.hasOwnProperty,y=RegExp("^"+p.call(d).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==u||t==c||t==a||t==s}var o=n(133),i=n(139),a="[object AsyncFunction]",u="[object Function]",c="[object GeneratorFunction]",s="[object Proxy]";e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?c:u:s&&s in Object(e)?i(e):a(e)}var o=n(134),i=n(137),a=n(138),u="[object Null]",c="[object Undefined]",s=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(135),o=r.Symbol;e.exports=o},function(e,t,n){var r=n(136),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[c]=n:delete e[c]),o}var o=n(134),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,c=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){function r(e){return!!i&&i in e}var o=n(141),i=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(135),o=r["__core-js_shared__"];e.exports=o},function(e,t){function n(e){if(null!=e){try{return o.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function r(e,t,n){function r(){return(this&&this!==i&&this instanceof r?c:e).apply(u?n:this,arguments)}var u=t&a,c=o(e);return r}var o=n(145),i=n(135),a=1;e.exports=r},function(e,t,n){function r(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=o(e.prototype),r=e.apply(n,t);return i(r)?r:n}}var o=n(146),i=n(139);e.exports=r},function(e,t,n){var r=n(139),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},function(e,t,n){function r(e,t,n){function r(){for(var i=arguments.length,p=Array(i),d=i,y=c(r);d--;)p[d]=arguments[d];var v=i<3&&p[0]!==y&&p[i-1]!==y?[]:s(p,y);return(i-=v.length)<n?u(e,t,a,r.placeholder,void 0,p,v,void 0,void 0,n-i):o(this&&this!==l&&this instanceof r?f:e,this,p)}var f=i(e);return r}var o=n(148),i=n(145),a=n(149),u=n(153),c=n(183),s=n(186),l=n(135);e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){function r(e,t,n,g,_,x,O,w,j,E){function S(){for(var d=arguments.length,y=Array(d),v=d;v--;)y[v]=arguments[v];if(N)var h=s(S),m=a(y,h);if(g&&(y=o(y,g,_,N)),x&&(y=i(y,x,O,N)),d-=m,N&&d<E){var b=f(y,h);return c(e,t,r,S.placeholder,n,y,b,w,j,E-d)}var M=T?n:this,R=A?M[e]:e;return d=y.length,w?y=l(y,w):I&&d>1&&y.reverse(),P&&j<d&&(y.length=j),this&&this!==p&&this instanceof S&&(R=k||u(R)),R.apply(M,y)}var P=t&m,T=t&d,A=t&y,N=t&(v|h),I=t&b,k=A?void 0:u(e);return S}var o=n(150),i=n(151),a=n(152),u=n(145),c=n(153),s=n(183),l=n(184),f=n(186),p=n(135),d=1,y=2,v=8,h=16,m=128,b=512;e.exports=r},function(e,t){function n(e,t,n,o){for(var i=-1,a=e.length,u=n.length,c=-1,s=t.length,l=r(a-u,0),f=Array(s+l),p=!o;++c<s;)f[c]=t[c];for(;++i<u;)(p||i<a)&&(f[n[i]]=e[i]);for(;l--;)f[c++]=e[i++];return f}var r=Math.max;e.exports=n},function(e,t){function n(e,t,n,o){for(var i=-1,a=e.length,u=-1,c=n.length,s=-1,l=t.length,f=r(a-c,0),p=Array(f+l),d=!o;++i<f;)p[i]=e[i];for(var y=i;++s<l;)p[y+s]=t[s];for(;++u<c;)(d||i<a)&&(p[y+n[u]]=e[i++]);return p}var r=Math.max;e.exports=n},function(e,t){function n(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}e.exports=n},function(e,t,n){function r(e,t,n,r,d,y,v,h,m,b){var g=t&l,_=g?v:void 0,x=g?void 0:v,O=g?y:void 0,w=g?void 0:y;t|=g?f:p,(t&=~(g?p:f))&s||(t&=~(u|c));var j=[e,t,d,O,_,w,x,h,m,b],E=n.apply(void 0,j);return o(e)&&i(E,j),E.placeholder=r,a(E,e,t)}var o=n(154),i=n(167),a=n(169),u=1,c=2,s=4,l=8,f=32,p=64;e.exports=r},function(e,t,n){function r(e){var t=a(e),n=u[t];if("function"!=typeof n||!(t in o.prototype))return!1;if(e===n)return!0;var r=i(n);return!!r&&e===r[0]}var o=n(155),i=n(157),a=n(159),u=n(161);e.exports=r},function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=a,this.__views__=[]}var o=n(146),i=n(156),a=4294967295;r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){var r=n(128),o=n(158),i=r?function(e){return r.get(e)}:o;e.exports=i},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){for(var t=e.name+"",n=o[t],r=a.call(o,t)?n.length:0;r--;){var i=n[r],u=i.func;if(null==u||u==e)return i.name}return t}var o=n(160),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t){var n={};e.exports=n},function(e,t,n){function r(e){if(c(e)&&!u(e)&&!(e instanceof o)){if(e instanceof i)return e;if(f.call(e,"__wrapped__"))return s(e)}return new i(e)}var o=n(155),i=n(162),a=n(156),u=n(163),c=n(164),s=n(165),l=Object.prototype,f=l.hasOwnProperty;r.prototype=a.prototype,r.prototype.constructor=r,e.exports=r},function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var o=n(146),i=n(156);r.prototype=o(i.prototype),r.prototype.constructor=r,e.exports=r},function(e,t){var n=Array.isArray;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){if(e instanceof o)return e.clone();var t=new i(e.__wrapped__,e.__chain__);return t.__actions__=a(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var o=n(155),i=n(162),a=n(166);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){var r=n(126),o=n(168),i=o(r);e.exports=i},function(e,t){function n(e){var t=0,n=0;return function(){var a=i(),u=o-(a-n);if(n=a,u>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},function(e,t,n){function r(e,t,n){var r=t+"";return a(e,i(r,u(o(r),n)))}var o=n(170),i=n(171),a=n(172),u=n(176);e.exports=r},function(e,t){function n(e){var t=e.match(r);return t?t[1].split(o):[]}var r=/\{\n\/\* \[wrapped with (.+)\] \*/,o=/,? & /;e.exports=n},function(e,t){function n(e,t){var n=t.length;if(!n)return e;var o=n-1;return t[o]=(n>1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(r,"{\n/* [wrapped with "+t+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;e.exports=n},function(e,t,n){var r=n(173),o=n(168),i=o(r);e.exports=i},function(e,t,n){var r=n(174),o=n(175),i=n(127),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(130),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,n){function r(e,t){return o(a,function(n){var r="_."+n[0];t&n[1]&&!i(e,r)&&e.push(r)}),e.sort()}var o=n(177),i=n(178),a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=n},function(e,t,n){function r(e,t){return!!(null==e?0:e.length)&&o(e,t,0)>-1}var o=n(179);e.exports=r},function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n(180),i=n(181),a=n(182);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}e.exports=n},function(e,t){function n(e){return e!==e}e.exports=n},function(e,t){function n(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}e.exports=n},function(e,t){function n(e){return e.placeholder}e.exports=n},function(e,t,n){function r(e,t){for(var n=e.length,r=a(t.length,n),u=o(e);r--;){var c=t[r];e[r]=i(c,n)?u[c]:void 0}return e}var o=n(166),i=n(185),a=Math.min;e.exports=r},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e,t){for(var n=-1,o=e.length,i=0,a=[];++n<o;){var u=e[n];u!==t&&u!==r||(e[n]=r,a[i++]=n)}return a}var r="__lodash_placeholder__";e.exports=n},function(e,t,n){function r(e,t,n,r){function c(){for(var t=-1,i=arguments.length,u=-1,f=r.length,p=Array(f+i),d=this&&this!==a&&this instanceof c?l:e;++u<f;)p[u]=r[u];for(;i--;)p[u++]=arguments[++t];return o(d,s?n:this,p)}var s=t&u,l=i(e);return c}var o=n(148),i=n(145),a=n(135),u=1;e.exports=r},function(e,t,n){function r(e,t){var n=e[1],r=t[1],v=n|r,h=v<(c|s|p),m=r==p&&n==f||r==p&&n==d&&e[7].length<=t[8]||r==(p|d)&&t[7].length<=t[8]&&n==f;if(!h&&!m)return e;r&c&&(e[2]=t[2],v|=n&c?0:l);var b=t[3];if(b){var g=e[3];e[3]=g?o(g,b,t[4]):b,e[4]=g?a(e[3],u):t[4]}return b=t[5],b&&(g=e[5],e[5]=g?i(g,b,t[6]):b,e[6]=g?a(e[5],u):t[6]),b=t[7],b&&(e[7]=b),r&p&&(e[8]=null==e[8]?t[8]:y(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=v,e}var o=n(150),i=n(151),a=n(186),u="__lodash_placeholder__",c=1,s=2,l=4,f=8,p=128,d=256,y=Math.min;e.exports=r},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(190);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n(191),i=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){ var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=s.test(e);return n||l.test(e)?f(e.slice(2),n?2:8):c.test(e)?a:+e}var o=n(139),i=n(192),a=NaN,u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n(133),i=n(164),a="[object Symbol]";e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(194),i=n(198);e.exports=r},function(e,t,n){function r(e,t,n,r){var a=!n;n||(n={});for(var u=-1,c=t.length;++u<c;){var s=t[u],l=r?r(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),a?i(n,s,l):o(n,s,l)}return n}var o=n(195),i=n(196);e.exports=r},function(e,t,n){function r(e,t,n){var r=e[t];u.call(e,t)&&i(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=n(196),i=n(197),a=Object.prototype,u=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=n(175);e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n(199),i=n(211),a=n(215);e.exports=r},function(e,t,n){function r(e,t){var n=a(e),r=!n&&i(e),l=!n&&!r&&u(e),p=!n&&!r&&!l&&s(e),d=n||r||l||p,y=d?o(e.length,String):[],v=y.length;for(var h in e)!t&&!f.call(e,h)||d&&("length"==h||l&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||c(h,v))||y.push(h);return y}var o=n(200),i=n(201),a=n(163),u=n(203),c=n(185),s=n(206),l=Object.prototype,f=l.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){var r=n(202),o=n(164),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(133),i=n(164),a="[object Arguments]";e.exports=r},function(e,t,n){(function(e){var r=n(135),o=n(205),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i,c=u?r.Buffer:void 0,s=c?c.isBuffer:void 0,l=s||o;e.exports=l}).call(t,n(204)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){var r=n(207),o=n(209),i=n(210),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},function(e,t,n){function r(e){return a(e)&&i(e.length)&&!!u[o(e)]}var o=n(133),i=n(208),a=n(164),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,e.exports=r},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(136),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,u=a&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||u&&u.binding&&u.binding("util")}catch(e){}}();e.exports=c}).call(t,n(204)(e))},function(e,t,n){function r(e){if(!o(e))return i(e);var t=[];for(var n in Object(e))u.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=n(212),i=n(213),a=Object.prototype,u=a.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}var r=Object.prototype;e.exports=n},function(e,t,n){var r=n(214),o=r(Object.keys,Object);e.exports=o},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n(132),i=n(208);e.exports=r},function(e,t,n){function r(e){return o(e,i)}var o=n(217),i=4;e.exports=r},function(e,t,n){function r(e,t,n,M,R,C){var D,W=t&E,F=t&S,L=t&P;if(n&&(D=R?n(e,M,R,C):n(e)),void 0!==D)return D;if(!O(e))return e;var V=g(e);if(V){if(D=h(e),!W)return l(e,D)}else{var z=v(e),q=z==A||z==N;if(_(e))return s(e,W);if(z==I||z==T||q&&!R){if(D=F||q?{}:b(e),!W)return F?p(e,c(D,e)):f(e,u(D,e))}else{if(!k[z])return R?e:{};D=m(e,z,W)}}C||(C=new o);var $=C.get(e);if($)return $;C.set(e,D),w(e)?e.forEach(function(o){D.add(r(o,t,n,o,e,C))}):x(e)&&e.forEach(function(o,i){D.set(i,r(o,t,n,i,e,C))});var B=L?F?y:d:F?keysIn:j,U=V?void 0:B(e);return i(U||e,function(o,i){U&&(i=o,o=e[i]),a(D,i,r(o,t,n,i,e,C))}),D}var o=n(218),i=n(177),a=n(195),u=n(193),c=n(247),s=n(251),l=n(166),f=n(252),p=n(256),d=n(260),y=n(262),v=n(263),h=n(267),m=n(268),b=n(275),g=n(163),_=n(203),x=n(276),O=n(139),w=n(278),j=n(198),E=1,S=2,P=4,T="[object Arguments]",A="[object Function]",N="[object GeneratorFunction]",I="[object Object]",k={};k[T]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[I]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[A]=k["[object WeakMap]"]=!1,e.exports=r},function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=n(219),i=n(226),a=n(227),u=n(228),c=n(229),s=n(230);r.prototype.clear=i,r.prototype.delete=a,r.prototype.get=u,r.prototype.has=c,r.prototype.set=s,e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(220),i=n(221),a=n(223),u=n(224),c=n(225);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var o=n(222),i=Array.prototype,a=i.splice;e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(197);e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=n(222);e.exports=r},function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=n(222);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(222);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(219);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length<u-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(r)}return n.set(e,t),this.size=n.size,this}var o=n(219),i=n(231),a=n(232),u=200;e.exports=r},function(e,t,n){var r=n(130),o=n(135),i=r(o,"Map");e.exports=i},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(233),i=n(241),a=n(244),u=n(245),c=n(246);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(234),i=n(219),a=n(231);e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(235),i=n(237),a=n(238),u=n(239),c=n(240);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=u,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=n(236);e.exports=r},function(e,t,n){var r=n(130),o=r(Object,"create");e.exports=o},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===i?void 0:n}return u.call(t,e)?t[e]:void 0}var o=n(236),i="__lodash_hash_undefined__",a=Object.prototype,u=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:a.call(t,e)}var o=n(236),i=Object.prototype,a=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?i:t,this}var o=n(236),i="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n(242);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=n(243);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return o(this,e).get(e)}var o=n(242);e.exports=r},function(e,t,n){function r(e){return o(this,e).has(e)}var o=n(242);e.exports=r},function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n(242);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,i(t),e)}var o=n(194),i=n(248);e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n(199),i=n(249),a=n(215);e.exports=r},function(e,t,n){function r(e){if(!o(e))return a(e);var t=i(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var o=n(139),i=n(212),a=n(250),u=Object.prototype,c=u.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}var o=n(135),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,u=a&&a.exports===i,c=u?o.Buffer:void 0,s=c?c.allocUnsafe:void 0;e.exports=r}).call(t,n(204)(e))},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(194),i=n(253);e.exports=r},function(e,t,n){var r=n(254),o=n(255),i=Object.prototype,a=i.propertyIsEnumerable,u=Object.getOwnPropertySymbols,c=u?function(e){return null==e?[]:(e=Object(e),r(u(e),function(t){return a.call(e,t)}))}:o;e.exports=c},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=n},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e,t){return o(e,i(e),t)}var o=n(194),i=n(257);e.exports=r},function(e,t,n){var r=n(258),o=n(259),i=n(253),a=n(255),u=Object.getOwnPropertySymbols,c=u?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=c},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t,n){var r=n(214),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){return o(e,a,i)}var o=n(261),i=n(253),a=n(198);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return i(e)?r:o(r,n(e))}var o=n(258),i=n(163);e.exports=r},function(e,t,n){function r(e){return o(e,a,i)}var o=n(261),i=n(257),a=n(248);e.exports=r},function(e,t,n){var r=n(264),o=n(231),i=n(265),a=n(266),u=n(129),c=n(133),s=n(142),l=s(r),f=s(o),p=s(i),d=s(a),y=s(u),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case y:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,n){var r=n(130),o=n(135),i=r(o,"DataView");e.exports=i},function(e,t,n){var r=n(130),o=n(135),i=r(o,"Promise");e.exports=i},function(e,t,n){var r=n(130),o=n(135),i=r(o,"Set");e.exports=i},function(e,t){function n(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n){var r=e.constructor;switch(t){case m:return o(e);case s:case l:return new r(+e);case b:return i(e,n);case g:case _:case x:case O:case w:case j:case E:case S:case P:return c(e,n);case f:return new r;case p:case v:return new r(e);case d:return a(e);case y:return new r;case h:return u(e)}}var o=n(269),i=n(271),a=n(272),u=n(273),c=n(274),s="[object Boolean]",l="[object Date]",f="[object Map]",p="[object Number]",d="[object RegExp]",y="[object Set]",v="[object String]",h="[object Symbol]",m="[object ArrayBuffer]",b="[object DataView]",g="[object Float32Array]",_="[object Float64Array]",x="[object Int8Array]",O="[object Int16Array]",w="[object Int32Array]",j="[object Uint8Array]",E="[object Uint8ClampedArray]",S="[object Uint16Array]",P="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(270);e.exports=r},function(e,t,n){var r=n(135),o=r.Uint8Array;e.exports=o},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(269);e.exports=r},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n(134),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(269);e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||a(e)?{}:o(i(e))}var o=n(146),i=n(259),a=n(212);e.exports=r},function(e,t,n){var r=n(277),o=n(209),i=n(210),a=i&&i.isMap,u=a?o(a):r;e.exports=u},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(263),i=n(164),a="[object Map]";e.exports=r},function(e,t,n){var r=n(279),o=n(209),i=n(210),a=i&&i.isSet,u=a?o(a):r;e.exports=u},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(263),i=n(164),a="[object Set]";e.exports=r},function(e,t,n){function r(e,t,n){t=n?void 0:t;var a=o(e,i,void 0,void 0,void 0,void 0,void 0,t);return a.placeholder=r.placeholder,a}var o=n(125),i=8;r.placeholder={},e.exports=r},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==c||t==u||"string"==typeof e.message&&"string"==typeof e.name&&!a(e)}var o=n(133),i=n(164),a=n(282),u="[object DOMException]",c="[object Error]";e.exports=r},function(e,t,n){function r(e){if(!a(e)||o(e)!=u)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(133),i=n(259),a=n(164),u="[object Object]",c=Function.prototype,s=Object.prototype,l=c.toString,f=s.hasOwnProperty,p=l.call(Object);e.exports=r},function(e,t,n){function r(e){return i(e)&&o(e)==a}var o=n(263),i=n(164),a="[object WeakMap]";e.exports=r},function(e,t,n){function r(e){return i("function"==typeof e?e:o(e,a))}var o=n(217),i=n(285),a=1;e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?u(e)?i(e[0],e[1]):o(e):c(e)}var o=n(286),i=n(303),a=n(127),u=n(163),c=n(318);e.exports=r},function(e,t,n){function r(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(287),i=n(300),a=n(302);e.exports=r},function(e,t,n){function r(e,t,n,r){var c=n.length,s=c,l=!r;if(null==e)return!s;for(e=Object(e);c--;){var f=n[c];if(l&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++c<s;){f=n[c];var p=f[0],d=e[p],y=f[1];if(l&&f[2]){if(void 0===d&&!(p in e))return!1}else{var v=new o;if(r)var h=r(d,y,p,e,t,v);if(!(void 0===h?i(y,d,a|u,r,v):h))return!1}}return!0}var o=n(218),i=n(288),a=1,u=2;e.exports=r},function(e,t,n){function r(e,t,n,a,u){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:o(e,t,n,a,r,u))}var o=n(289),i=n(164);e.exports=r},function(e,t,n){function r(e,t,n,r,h,b){var g=s(e),_=s(t),x=g?y:c(e),O=_?y:c(t);x=x==d?v:x,O=O==d?v:O;var w=x==v,j=O==v,E=x==O;if(E&&l(e)){if(!l(t))return!1;g=!0,w=!1}if(E&&!w)return b||(b=new o),g||f(e)?i(e,t,n,r,h,b):a(e,t,x,n,r,h,b);if(!(n&p)){var S=w&&m.call(e,"__wrapped__"),P=j&&m.call(t,"__wrapped__");if(S||P){var T=S?e.value():e,A=P?t.value():t;return b||(b=new o),h(T,A,n,r,b)}}return!!E&&(b||(b=new o),u(e,t,n,r,h,b))}var o=n(218),i=n(290),a=n(296),u=n(299),c=n(263),s=n(163),l=n(203),f=n(206),p=1,d="[object Arguments]",y="[object Array]",v="[object Object]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r,s,l){var f=n&u,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var y=l.get(e);if(y&&l.get(t))return y==t;var v=-1,h=!0,m=n&c?new o:void 0;for(l.set(e,t),l.set(t,e);++v<p;){var b=e[v],g=t[v];if(r)var _=f?r(g,b,v,t,e,l):r(b,g,v,e,t,l);if(void 0!==_){if(_)continue;h=!1;break}if(m){if(!i(t,function(e,t){if(!a(m,t)&&(b===e||s(b,e,n,r,l)))return m.push(t)})){h=!1;break}}else if(b!==g&&!s(b,g,n,r,l)){h=!1;break}}return l.delete(e),l.delete(t),h}var o=n(291),i=n(294),a=n(295),u=1,c=2;e.exports=r},function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=n(232),i=n(292),a=n(293);r.prototype.add=r.prototype.push=i,r.prototype.has=a,e.exports=r},function(e,t){function n(e){return this.__data__.set(e,r),this}var r="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,w,E){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!w(new i(e),new i(t)));case p:case d:case h:return a(+e,+t);case y:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case v:var S=c;case b:var P=r&l;if(S||(S=s),e.size!=t.size&&!P)return!1;var T=E.get(e);if(T)return T==t;r|=f,E.set(e,t);var A=u(S(e),S(t),r,o,w,E);return E.delete(e),A;case _:if(j)return j.call(e)==j.call(t)}return!1}var o=n(134),i=n(270),a=n(197),u=n(290),c=n(297),s=n(298),l=1,f=2,p="[object Boolean]",d="[object Date]",y="[object Error]",v="[object Map]",h="[object Number]",m="[object RegExp]",b="[object Set]",g="[object String]",_="[object Symbol]",x="[object ArrayBuffer]",O="[object DataView]",w=o?o.prototype:void 0,j=w?w.valueOf:void 0;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function r(e,t,n,r,a,c){var s=n&i,l=o(e),f=l.length;if(f!=o(t).length&&!s)return!1;for(var p=f;p--;){var d=l[p];if(!(s?d in t:u.call(t,d)))return!1}var y=c.get(e);if(y&&c.get(t))return y==t;var v=!0;c.set(e,t),c.set(t,e);for(var h=s;++p<f;){d=l[p];var m=e[d],b=t[d];if(r)var g=s?r(b,m,d,t,e,c):r(m,b,d,e,t,c);if(!(void 0===g?m===b||a(m,b,n,r,c):g)){v=!1;break}h||(h="constructor"==d)}if(v&&!h){var _=e.constructor,x=t.constructor;_!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof x&&x instanceof x)&&(v=!1)}return c.delete(e),c.delete(t),v}var o=n(260),i=1,a=Object.prototype,u=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}var o=n(301),i=n(198);e.exports=r},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(139);e.exports=r},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t,n){function r(e,t){return u(e)&&c(t)?s(l(e),t):function(n){var r=i(n,e);return void 0===r&&r===t?a(n,e):o(t,r,f|p)}}var o=n(288),i=n(304),a=n(315),u=n(307),c=n(301),s=n(302),l=n(314),f=1,p=2;e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(305);e.exports=r},function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(306),i=n(314);e.exports=r},function(e,t,n){function r(e,t){return o(e)?e:i(e,t)?[e]:a(u(e))}var o=n(163),i=n(307),a=n(308),u=n(311);e.exports=r},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(u.test(e)||!a.test(e)||null!=t&&e in Object(t))}var o=n(163),i=n(192),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;e.exports=r},function(e,t,n){var r=n(309),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n(310),i=500;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(232),i="Expected a function";r.Cache=o,e.exports=r},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(312);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return i(e,r)+"";if(u(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-c?"-0":t}var o=n(134),i=n(313),a=n(163),u=n(192),c=1/0,s=o?o.prototype:void 0,l=s?s.toString:void 0;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(192),i=1/0;e.exports=r},function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n(316),i=n(317);e.exports=r},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,l=t.length,f=!1;++r<l;){var p=s(t[r]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++r!=l?f:!!(l=null==e?0:e.length)&&c(l)&&u(p,l)&&(a(e)||i(e))}var o=n(306),i=n(201),a=n(163),u=n(185),c=n(208),s=n(314);e.exports=r},function(e,t,n){function r(e){return a(e)?o(u(e)):i(e)}var o=n(319),i=n(320),a=n(307),u=n(314);e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(305);e.exports=r},function(e,t,n){var r=n(125),o=n(322),i=o(function(e,t){return r(e,256,void 0,void 0,void 0,t)});e.exports=i},function(e,t,n){function r(e){return a(i(e,void 0,o),e+"")}var o=n(323),i=n(326),a=n(172);e.exports=r},function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n(324);e.exports=r},function(e,t,n){function r(e,t,n,a,u){var c=-1,s=e.length;for(n||(n=i),u||(u=[]);++c<s;){var l=e[c];t>0&&n(l)?t>1?r(l,t-1,n,a,u):o(u,l):a||(u[u.length]=l)}return u}var o=n(258),i=n(325);e.exports=r},function(e,t,n){function r(e){return a(e)||i(e)||!!(u&&e&&e[u])}var o=n(134),i=n(201),a=n(163),u=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,u=i(r.length-t,0),c=Array(u);++a<u;)c[a]=r[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=r[a];return s[t]=n(c),o(e,this,s)}}var o=n(148),i=Math.max;e.exports=r},function(e,t,n){function r(e){return a(e)?o(e,s):u(e)?[e]:i(c(l(e)))}var o=n(313),i=n(166),a=n(163),u=n(192),c=n(308),s=n(314),l=n(311);e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),i(e,function(e,r,i){o(n,r,t(e,r,i))}),n}var o=n(196),i=n(329),a=n(285);e.exports=r},function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n(330),i=n(198);e.exports=r},function(e,t,n){var r=n(331),o=r();e.exports=o},function(e,t){function n(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}e.exports=n},function(e,t,n){function r(){return l?f.resolve(l):new f(function(e){requirejs(["istats-1"],function(t){l=t,e(l)})})}function o(e){return"string"==typeof e&&e[0]}function i(e,t){return o(e)&&o(t)}function a(e,t,n){return r().then(function(r){r.log(e,t,n)})}function u(e,t){return r().then(function(n){n.track(e,t)})}function c(e,t,n){return i(e,t)?a(t,e,n):f.reject("Invalid parameters")}function s(){return r().then(function(e){return e.getCountername()})}var l,f=n(333);t.track=c,t.trackRegion=u,t.getCountername=s,t.log=a},function(e,t,n){var r=n(334).Promise;e.exports=r},function(e,t,n){var r;(function(e,o,i){(function(){"use strict";function a(e){return"function"==typeof e||"object"==typeof e&&null!==e}function u(e){return"function"==typeof e}function c(e){Y=e}function s(e){H=e}function l(){return function(){U(p)}}function f(){return function(){setTimeout(p,1)}}function p(){for(var e=0;e<J;e+=2){(0,ne[e])(ne[e+1]),ne[e]=void 0,ne[e+1]=void 0}J=0}function d(e,t){var n=this,r=new this.constructor(v);void 0===r[ie]&&R(r);var o=n._state;if(o){var i=arguments[o-1];H(function(){I(o,r,i,n._result)})}else P(n,r,e,t);return r}function y(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(v);return w(n,e),n}function v(){}function h(){return new TypeError("You cannot resolve a promise with itself")}function m(){return new TypeError("A promises callback cannot return that same promise.")}function b(e){try{return e.then}catch(e){return se.error=e,se}}function g(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function _(e,t,n){H(function(e){var r=!1,o=g(n,t,function(n){r||(r=!0,t!==n?w(e,n):E(e,n))},function(t){r||(r=!0,S(e,t))},"Settle: "+(e._label||" unknown promise"));!r&&o&&(r=!0,S(e,o))},e)}function x(e,t){t._state===ue?E(e,t._result):t._state===ce?S(e,t._result):P(t,void 0,function(t){w(e,t)},function(t){S(e,t)})}function O(e,t,n){t.constructor===e.constructor&&n===re&&constructor.resolve===oe?x(e,t):n===se?S(e,se.error):void 0===n?E(e,t):u(n)?_(e,t,n):E(e,t)}function w(e,t){e===t?S(e,h()):a(t)?O(e,t,b(t)):E(e,t)}function j(e){e._onerror&&e._onerror(e._result),T(e)}function E(e,t){e._state===ae&&(e._result=t,e._state=ue,0!==e._subscribers.length&&H(T,e))}function S(e,t){e._state===ae&&(e._state=ce,e._result=t,H(j,e))}function P(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+ue]=n,o[i+ce]=r,0===i&&e._state&&H(T,e)}function T(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r,o,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?I(n,r,o,i):o(i);e._subscribers.length=0}}function A(){this.error=null}function N(e,t){try{return e(t)}catch(e){return le.error=e,le}}function I(e,t,n,r){var o,i,a,c,s=u(n);if(s){if(o=N(n,r),o===le?(c=!0,i=o.error,o=null):a=!0,t===o)return void S(t,m())}else o=r,a=!0;t._state!==ae||(s&&a?w(t,o):c?S(t,i):e===ue?E(t,o):e===ce&&S(t,o))}function k(e,t){try{t(function(t){w(e,t)},function(t){S(e,t)})}catch(t){S(e,t)}}function M(){return fe++}function R(e){e[ie]=fe++,e._state=void 0,e._result=void 0,e._subscribers=[]}function C(e){return new he(this,e).promise}function D(e){var t=this;return new t(G(e)?function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)}:function(e,t){t(new TypeError("You must pass an array to race."))})}function W(e){var t=this,n=new t(v);return S(n,e),n}function F(){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 V(e){this[ie]=M(),this._result=this._state=void 0,this._subscribers=[],v!==e&&("function"!=typeof e&&F(),this instanceof V?k(this,e):L())}function z(e,t){this._instanceConstructor=e,this.promise=new e(v),this.promise[ie]||R(this.promise),G(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):S(this.promise,q())}function q(){return new Error("Array Methods must be provided an Array")}function $(){var e;if(void 0!==o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;t&&"[object Promise]"===Object.prototype.toString.call(t.resolve())&&!t.cast||(e.Promise=ve)}var B;B=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var U,Y,K,G=B,J=0,H=function(e,t){ne[J]=e,ne[J+1]=t,2===(J+=2)&&(Y?Y(p):K())},Z="undefined"!=typeof window?window:void 0,Q=Z||{},X=Q.MutationObserver||Q.WebKitMutationObserver,ee="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,ne=new Array(1e3);K=ee?function(){return function(){e.nextTick(p)}}():X?function(){var e=0,t=new X(p),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():te?function(){var e=new MessageChannel;return e.port1.onmessage=p,function(){e.port2.postMessage(0)}}():void 0===Z?function(){try{var e=n(335);return U=e.runOnLoop||e.runOnContext,l()}catch(e){return f()}}():f();var re=d,oe=y,ie=Math.random().toString(36).substring(16),ae=void 0,ue=1,ce=2,se=new A,le=new A,fe=0,pe=C,de=D,ye=W,ve=V;V.all=pe,V.race=de,V.resolve=oe,V.reject=ye,V._setScheduler=c,V._setAsap=s,V._asap=H,V.prototype={constructor:V,then:re,catch:function(e){return this.then(null,e)}};var he=z;z.prototype._enumerate=function(){for(var e=this.length,t=this._input,n=0;this._state===ae&&n<e;n++)this._eachEntry(t[n],n)},z.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===oe){var o=b(e);if(o===re&&e._state!==ae)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===ve){var i=new n(v);O(i,e,o),this._willSettleAt(i,t)}else this._willSettleAt(new n(function(t){t(e)}),t)}else this._willSettleAt(r(e),t)},z.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===ae&&(this._remaining--,e===ce?S(r,n):this._result[t]=n),0===this._remaining&&E(r,this._result)},z.prototype._willSettleAt=function(e,t){var n=this;P(e,void 0,function(e){n._settledAt(ue,t,e)},function(e){n._settledAt(ce,t,e)})};var me=$,be={Promise:ve,polyfill:me};n(336).amd?void 0!==(r=function(){return be}.call(t,n,t,i))&&(i.exports=r):void 0!==i&&i.exports?i.exports=be:void 0!==this&&(this.ES6Promise=be),me()}).call(this)}).call(t,n(60),function(){return this}(),n(204)(e))},function(e,t){},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t,n){"use strict";function r(e){ return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatIStatsValueKeepCase=t.formatIStatsValue=void 0;var o=r(n(338)),i=r(n(340)),a=r(n(345)),u=r(n(348)),c=(0,a.default)([i.default,(0,o.default)(/,|\(|\)/g,""),(0,o.default)(/\s+/g,"_"),(0,o.default)(/'|’/g,"_039_"),(0,o.default)("–","-")]);t.formatIStatsValueKeepCase=c;var s=(0,a.default)([u.default,c]);t.formatIStatsValue=s},function(e,t,n){var r=n(119),o=r("replace",n(339));o.placeholder=n(122),e.exports=o},function(e,t,n){function r(){var e=arguments,t=o(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var o=n(311);e.exports=r},function(e,t,n){var r=n(119),o=r("deburr",n(341),n(344));o.placeholder=n(122),e.exports=o},function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(u,"")}var o=n(342),i=n(311),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,u=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=r},function(e,t,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);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){e.exports={cap:!1,curry:!1,fixed:!1,immutable:!1,rearg:!1}},function(e,t,n){var r=n(119),o=r("flow",n(346));o.placeholder=n(122),e.exports=o},function(e,t,n){var r=n(347),o=r();e.exports=o},function(e,t,n){function r(e){return i(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var v=t[r];if("function"!=typeof v)throw new TypeError(l);if(i&&!h&&"wrapper"==u(v))var h=new o([],!0)}for(r=h?r:n;++r<n;){v=t[r];var m=u(v),b="wrapper"==m?a(v):void 0;h=b&&s(b[0])&&b[1]==(d|f|p|y)&&!b[4].length&&1==b[9]?h[u(b[0])].apply(h,b[3]):1==v.length&&s(v)?h[m]():h.thru(v)}return function(){var e=arguments,r=e[0];if(h&&1==e.length&&c(r))return h.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}var o=n(162),i=n(322),a=n(157),u=n(159),c=n(163),s=n(154),l="Expected a function",f=8,p=32,d=128,y=256;e.exports=r},function(e,t,n){var r=n(119),o=r("toLower",n(349),n(344));o.placeholder=n(122),e.exports=o},function(e,t,n){function r(e){return o(e).toLowerCase()}var o=n(311);e.exports=r},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-promoted-navigation-view@2.6.1",e,t)}}}]);; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-nations-levels-data/language/en-GB/subdirectory/bitesize/version/6.4.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"phases":[{"phase":"primary","classModifier":"--primary","callout":"You're in","title":"Primary","subtitle":"Age 3 to 11","cta":"Go to Primary","nationList":[{"label":"England","dataLabel":"primary-england-levels","levelList":[{"year":"Year 1 to 2","levelId":"z3g4d2p","label":"KS1","url":"\/bitesize\/levels\/z3g4d2p"},{"year":"Year 3 to 6","levelId":"zbr9wmn","label":"KS2","url":"\/bitesize\/levels\/zbr9wmn"}]},{"label":"Northern Ireland","dataLabel":"primary-northern-ireland-levels","levelList":[{"year":"Primary 1 to 2","levelId":"znyh7nb","label":"Foundation Stage","url":"\/bitesize\/levels\/znyh7nb"},{"year":"Primary 3 to 4","levelId":"z3g4d2p","label":"KS1","url":"\/bitesize\/levels\/z3g4d2p"},{"year":null,"levelId":"zjmj92p","label":"KS2","url":"\/bitesize\/levels\/zjmj92p"}]},{"label":"Scotland","dataLabel":"primary-scotland-levels","levelList":[{"year":"Primary 1","levelId":"zf7hgwx","label":"Early level","url":"\/bitesize\/levels\/zf7hgwx"},{"year":"Primary 2 to 4","levelId":"zgckjxs","label":"1st level","url":"\/bitesize\/levels\/zgckjxs"},{"year":"Primary 5 to 7","levelId":"zr48q6f","label":"2nd level","url":"\/bitesize\/levels\/zr48q6f"},{"year":"Bun-sgoil 2 gu 4","levelId":"zk3xy9q","label":"A' Chiad Ìre","url":"\/bitesize\/levels\/zk3xy9q"},{"year":"Bun-sgoil 5 gu 7","levelId":"z4y2scw","label":"An Dàrna Ìre","url":"\/bitesize\/levels\/z4y2scw"}]},{"label":"Wales","dataLabel":"primary-wales-levels","levelList":[{"year":"Reception to Year 2","levelId":"zxybmsg","label":"Foundation Phase","url":"\/bitesize\/levels\/zxybmsg"},{"year":"Year 3 to 6","levelId":"zbr9wmn","label":"KS2","url":"\/bitesize\/levels\/zbr9wmn"},{"year":"Reception to Year 2","levelId":"z4js6v4","label":"Cyfnod Sylfaen","url":"\/bitesize\/levels\/z4js6v4"},{"year":"Year 3 to 6","levelId":"zbpwt39","label":"CA2","url":"\/bitesize\/levels\/zbpwt39"}]}]},{"phase":"secondary","classModifier":"--secondary","callout":"You're in","title":"Secondary","subtitle":"Age 11 to 16","cta":"Go to Secondary","nationList":[{"label":"England","dataLabel":"secondary-england-levels","levelList":[{"label":"KS3","url":"\/bitesize\/levels\/z4kw2hv"},{"label":"GCSE","url":"\/bitesize\/levels\/z98jmp3"},{"label":"Careers","url":"\/bitesize\/careers"}]},{"label":"Northern Ireland","dataLabel":"secondary-northern-ireland-levels","levelList":[{"label":"KS3","url":"\/bitesize\/levels\/z4kw2hv"},{"label":"GCSE","url":"\/bitesize\/levels\/z98jmp3"},{"label":"Careers","url":"\/bitesize\/careers"}]},{"label":"Scotland","dataLabel":"secondary-scotland-levels","levelList":[{"label":"3rd level","url":"\/bitesize\/levels\/zy4qn39"},{"label":"4th level","url":"\/bitesize\/levels\/zvk2fg8"},{"label":"Nàiseanta 4","url":"\/bitesize\/levels\/z8hhvcw"},{"label":"Nàiseanta 5","url":"\/bitesize\/levels\/zdpp34j"},{"label":"National 4","url":"\/bitesize\/levels\/zp3d7ty"},{"label":"National 5","url":"\/bitesize\/levels\/z6gw2hv"},{"label":"Àrd Ìre","url":"\/bitesize\/levels\/zqq4wxs"},{"label":"Higher","url":"\/bitesize\/levels\/zkdqxnb"},{"label":"Careers","url":"\/bitesize\/careers"}]},{"label":"Wales","dataLabel":"secondary-wales-levels","levelList":[{"label":"CA3","url":"\/bitesize\/levels\/zh6vr82"},{"label":"KS3","url":"\/bitesize\/levels\/z4kw2hv"},{"label":"CBC","url":"\/bitesize\/levels\/zqxy8mn"},{"label":"GCSE","url":"\/bitesize\/levels\/z98jmp3"},{"label":"TGAU","url":"\/bitesize\/levels\/z8w76sg"},{"label":"WBQ","url":"\/bitesize\/levels\/z9wtgdm"},{"label":"Careers","url":"\/bitesize\/careers"}]}]},{"phase":"post-16","classModifier":"--post-16","callout":"You're in","title":"Post-16","subtitle":"Age 16+","cta":"Go to Post-16","nationList":[{"label":"England","dataLabel":"post-16-england-levels","levelList":[{"label":"Functional Skills","url":"\/bitesize\/levels\/zvhtng8"}]},{"label":"Scotland","dataLabel":"post-16-scotland-levels","levelList":[{"label":"Core Skills","url":"\/bitesize\/levels\/z66jhbk"}]},{"label":"Wales","dataLabel":"post-16-wales-levels","levelList":[{"label":"Essential Skills","url":"\/bitesize\/levels\/zhh7nrd"}]}]}]}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-promoted-navigation-view","learnLink":"false","language":"en-GB","version":"2.6.1","_mrrVersion":"2.0.16"},'u5997295495126789'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804134034/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(); } /* u5997295495126789 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-debouncer@1.0.1"]={morph:"3.4.0"},function(e){function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}var t={};return n.m=e,n.c=t,n.p="",n(0)}([function(e,n,t){Morph.modules["bbc-morph-debouncer@1.0.1"]=t(1)},function(e,n,t){var o=t(2);e.exports=function(){function e(e,n){window.addEventListener?window.addEventListener(e,n,!1):document.documentElement.attachEvent("onpropertychange",function(t){t.propertyName===e&&n()})}function n(e){var n;document.createEvent?(n=document.createEvent("UIEvents"),n.initEvent(e,!1,!0),window.dispatchEvent(n)):(n=document.documentElement[e],n+=1)}function t(e){return setTimeout(function(){n(e+"-debounced")},i)}var r,c,i=50;o.isClientSide()&&(e("resize",function(){clearTimeout(r),r=t("resize")}),e("scroll",function(){clearTimeout(c),c=t("scroll")}))}()},function(e,n){e.exports=Morph}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-responsive-image@1.3.1"]={"bbc-morph-debouncer":"1.0.1",morph:"3.5.0",react:"0.14.7"},function(t){function e(r){if(i[r])return i[r].exports;var s=i[r]={exports:{},id:r,loaded:!1};return t[r].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var i={};e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){Morph.modules["bbc-morph-responsive-image@1.3.1"]=i(1)},function(t,e,i){i(2);var r=i(3),s=[64,80,96,128,160,240,320,400,480,512,624,704,800,912,960,1024,1056,1104,1152,1200,1248,1440,1600,1680];t.exports=r.createClass({displayName:"ResponsiveImage",propTypes:{src:r.PropTypes.string.isRequired,alt:r.PropTypes.string,className:r.PropTypes.string,width:r.PropTypes.number,availableWidths:r.PropTypes.arrayOf(r.PropTypes.number),delayed:r.PropTypes.bool,keepAspectRatio:r.PropTypes.string,aspectRatioStartPoint:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.bool])},getDefaultProps:function(){return{width:320,height:180,delayed:!1,background:!1,aspectRatioStartPoint:!1}},getInitialState:function(){var t=this.getClosestGreaterWidth(this.props.width);return{delayed:this.props.delayed,width:t,height:this.calcHeight(this.props.width),background:this.props.background,ratioStartPoint:this.isWidthAboveRatioStartPoint(t)}},componentWillUnmount:function(){window.removeEventListener&&(window.removeEventListener("resize-debounced",this.state.resizeHandler),window.removeEventListener("orientationchange",this.state.resizeHandler),this.props.triggerResizeOnClick&&window.removeEventListener("click",this.state.resizeHandler))},componentDidMount:function(){var t=function(){var t=this.getClosestGreaterWidth(this.node.parentNode.clientWidth);this.setState({width:t,height:this.calcHeight(t)})}.bind(this);window.addEventListener&&(window.addEventListener("resize-debounced",t),window.addEventListener("orientationchange",t),this.props.triggerResizeOnClick&&window.addEventListener("click",t));var e=this.getClosestGreaterWidth(this.node.parentNode.clientWidth),i=this.calcHeight(e);this.setState({delayed:!1,width:e,height:i,resizeHandler:t})},hdpiEnabled:function(){return this.props.hasOwnProperty("hidpi")&&!0===this.props.hidpi&&window.devicePixelRatio>1},defaultInterpolator:function(t,e){var i="";return this.hdpiEnabled()&&(i="-hidpi"),t.replace(/{width}/g,e+i)},interpolate:function(t,e){return this.props.customInterpolator?this.props.customInterpolator(t,e):this.defaultInterpolator(t,e)},getClosestGreaterWidth:function(t){for(var e=this.props.availableWidths||s,i=0;i<e.length;i+=1){var r=e[i];if(r>=t)return r}return e[e.length-1]},calcHeight:function(t){var e=this.getRatio(this.props.keepAspectRatio);return Math.floor(t/e)},getRatio:function(t){var e=1;if("string"==typeof t){var i=/^(\d{1,2})\:(\d{1,2})/g,r=i.exec(t);r.length>0&&(e=r[1]/r[2])}return e},isWidthAboveRatioStartPoint:function(t){return"string"==typeof this.props.keepAspectRatio&&("number"==typeof this.props.aspectRatioStartPoint&&this.props.aspectRatioStartPoint<t||!1===this.props.aspectRatioStartPoint)},setNode:function(t){this.node=t},render:function(){var t,e,i,s=this.state.width;return i=this.isWidthAboveRatioStartPoint(s)?{maxHeight:this.state.height}:{},this.state.delayed?e=r.createElement("img",{ref:this.setNode,src:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}):this.state.background?(t={backgroundImage:"url("+this.interpolate(this.props.src,this.state.width)+")"},e=r.createElement("div",{ref:this.setNode,style:t,className:this.props.className})):e=r.createElement("img",{ref:this.setNode,src:this.interpolate(this.props.src,this.state.width),alt:this.props.alt,className:this.props.className,style:i}),e}})},function(t,e){t.exports=Morph.modules["bbc-morph-debouncer@1.0.1"]},function(t,e){t.exports=React}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-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() { Morph.versions["bbc-morph-image-chef-url-transformer@2.1.0"]={},function(e){function t(r){if(i[r])return i[r].exports;var c=i[r]={exports:{},id:r,loaded:!1};return e[r].call(c.exports,c,c.exports,t),c.loaded=!0,c.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){Morph.modules["bbc-morph-image-chef-url-transformer@2.1.0"]=i(1)},function(e,t){function i(e,t,i,r){return"live"===t||"production"===t?"https://web.archive.org/web/20200804134034/https://ichef.bbci.co.uk/"+e+"/"+r+"{width}/mcs/media/images/"+i:"https://web.archive.org/web/20200804134034/https://ichef."+t+".bbci.co.uk/"+e+"/"+r+"{width}/mcs/media/images/"+i}function r(e,t,i,r,o){var n=c[r];return"live"===t||"production"===t?"https://web.archive.org/web/20200804134034/https://ichef.bbci.co.uk/"+e+"/"+o+"{width}/"+n+"/"+i:"https://web.archive.org/web/20200804134034/https://ichef."+t+".bbci.co.uk/"+e+"/"+o+"{width}/"+n+"/"+i}var c={a:"amz",b:"cpsdevpb",c:"cpsprodpb"};t.transform=function(e,t,c){var o,n,s,a,p=e,h=c?"":"cps/";if(t=t||"live-experience","string"!=typeof e)throw new Error("Image URL given was not in string format");return o=e.match(/^https?:\/\/news.bbcimg.co.uk\/media\/images\/(.*)/),n=e.match(/^https?:\/\/www\.([^\/]*).bbci?.co.uk\/media\/images\/(.*)/),s=e.match(/^https?:\/\/(?:www|news)preview.([^\/]*).newsonline.tc.nca.bbc.co.uk\/media\/images\/(.*)/),a=e.match(/^https?:\/\/([^.])+.files.bbci?.co.uk\/([^\/]+\/([^\/]*)\/.*)/),o?p=i(t,"live",o[1],h):n?p=i(t,n[1],n[2],h):s?p=i(t,s[1],s[2],h):a&&(p=r(t,a[3],a[2],a[1],h)),p.replace(/\$recipe/g,"{width}xn").replace("http://","https://")}}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-in-the-spotlight-view@1.1.7"]={"bbc-morph-bitesize-core-components":"11.0.13","bbc-morph-bitesize-core-utils":"4.9.0","bbc-morph-bitesize-homepage-isite-content":"2.1.0","bbc-morph-bitesize-promo":"1.0.1","bbc-morph-image-chef-url-transformer":"2.1.0","bbc-morph-istats":"1.3.0","bbc-morph-responsive-image":"1.3.1",classnames:"2.2.6","gel-iconography-assets":"1.2.2","morph-container":"4.0.0",react:"0.14.7"},function(t){function n(r){if(e[r])return e[r].exports;var u=e[r]={exports:{},id:r,loaded:!1};return t[r].call(u.exports,u,u.exports,n),u.loaded=!0,u.exports}var e={};n.m=t,n.c=e,n.p="",n(0)}([function(t,n,e){Morph.modules["bbc-morph-bitesize-in-the-spotlight-view@1.1.7"]=e(1)},function(t,n,e){t.exports=e(2)},function(t,n,e){t.exports=function(t){function n(r){if(e[r])return e[r].exports;var u=e[r]={i:r,l:!1,exports:{}};return t[r].call(u.exports,u,u.exports,n),u.l=!0,u.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=2)}([function(t,n){t.exports=e(3)},function(t,n){t.exports=e(4)},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=r(e(0)),i=r(e(3)),o=u.default.create(i.default,{data:function(t){return{content:{uri:{data:"bbc-morph-bitesize-homepage-isite-content",language:t.language||"en-GB"},updates:!1}}}});n.default=o,t.exports=n.default},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,e):{};r.get||r.set?Object.defineProperty(n,e,r):n[e]=t[e]}return n.default=t,n}(e(1)),i=r(e(4)),o=r(e(5)),a=r(e(6)),f=function(t){var n=t.content.body.promos,e=t.language;return o.default.initLocalisations({language:e,localisations:i.default}),u.default.createElement("div",{className:"in-the-spotlight"},u.default.createElement("div",{className:"in-the-spotlight__promo-collection-wrap"},u.default.createElement("h2",{className:"in-the-spotlight__promo-collection-title"},o.default.localise("title")),u.default.createElement("div",{className:"in-the-spotlight__promo-collection-layout"},u.default.createElement(a.default,{zid:n.primary,label:"Primary",labelText:o.default.localise("primary")}),u.default.createElement(a.default,{zid:n.secondary,label:"Secondary",labelText:o.default.localise("secondary")}),u.default.createElement(a.default,{zid:n.post16,label:"Post-16",labelText:o.default.localise("post-16")}))))};f.defaultProps={language:"en-GB"},f.propTypes={content:u.PropTypes.shape({body:u.PropTypes.shape({promos:u.PropTypes.shape({primary:u.PropTypes.string,secondary:u.PropTypes.string,post16:u.PropTypes.string})}).isRequired}).isRequired,language:u.PropTypes.string};var c=f;n.default=c,t.exports=n.default},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={"en-GB":{title:"In the spotlight",primary:"Primary",secondary:"Secondary","post-16":"Post-16"},"cy-GB":{title:"Uchafbwyntiau",primary:"Cynradd",secondary:"Uwchradd","post-16":"Ôl 16"},"ga-GB":{title:"Spotsolas",primary:"Bunscoil",secondary:"Meánscoil","post-16":"Iar-16"},"gd-GB":{title:"Fon phrosbaig",primary:"Bun-sgoil",secondary:"Àrd-sgoil","post-16":"Nas sine na 16"}};n.default=r,t.exports=n.default},function(t,n){t.exports=e(5)},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function u(t,n){if(null==t)return{};var e,r,u=i(t,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)e=o[r],n.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(u[e]=t[e])}return u}function i(t,n){if(null==t)return{};var e,r,u={},i=Object.keys(t);for(r=0;r<i.length;r++)e=i[r],n.indexOf(e)>=0||(u[e]=t[e]);return u}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,e):{};r.get||r.set?Object.defineProperty(n,e,r):n[e]=t[e]}return n.default=t,n}(e(1)),a=r(e(7)),f=r(e(0)),c=r(e(8)),l=r(e(9)),s=r(e(10)),p=function(t){return c.default.transform(t,"education",!1)},h=(0,s.default)(function(t){var n=t.children,e=u(t,["children"]);return o.default.createElement("a",e,n)}),d=function(t){var n=t.promo,e=n.meta,r=n.body,u=t.label,i=t.labelText,f=t.zid;if(r&&200===e.responseCode){var c=r.image,s=r.link,d=r.section,g=r.title;return o.default.createElement("div",{className:"promo"},o.default.createElement(h,{className:"promo__link",href:s.href,iStatsAction:"learn_promo.".concat(f),iStatsType:"click"},o.default.createElement("div",{"aria-hidden":"true",className:"promo__image-container"},o.default.createElement("div",{className:(0,a.default)("promo__label","promo__label--".concat(u.toLowerCase()))},i),o.default.createElement(l.default,{alt:c.alt,aspectRatioStartPoint:240,availableWidths:[240,320,480],className:"promo__image",src:"https://".concat(p(c.recipe))})),o.default.createElement("div",{className:"promo__footer"},o.default.createElement("h3",{className:"promo__title"},g),o.default.createElement("span",{className:"promo__attribution"},d))))}return o.default.createElement("div",null)};d.propTypes={label:o.PropTypes.string.isRequired,labelText:o.PropTypes.string.isRequired,promo:o.PropTypes.shape({body:o.PropTypes.shape({image:o.PropTypes.shape({alt:o.PropTypes.string.isRequired,recipe:o.PropTypes.string.isRequired}).isRequired,link:o.PropTypes.shape({href:o.PropTypes.string.isRequired}).isRequired,section:o.PropTypes.string.isRequired,title:o.PropTypes.string.isRequired}).isRequired}).isRequired,zid:o.PropTypes.string.isRequired};var g=f.default.create(d,{data:function(t){return{promo:{uri:{data:"bbc-morph-bitesize-promo",zid:t.zid},updates:!1}}}});n.default=g,t.exports=n.default},function(t,n){t.exports=e(6)},function(t,n){t.exports=e(7)},function(t,n){t.exports=e(8)},function(t,n){t.exports=e(9)}])},function(t,n){t.exports={create:function(t,n){return Morph.createContainerWithCaller("bbc-morph-bitesize-in-the-spotlight-view@1.1.7",t,n)}}},function(t,n){t.exports=React},function(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=["en-GB","ga-GB","gd-GB","cy-GB"],r="en-GB",u=void 0,i=function(t){for(var n=arguments.length,e=Array(n>1?n-1:0),r=1;r<n;r++)e[r-1]=arguments[r];var u=function(t,n){return void 0!==e[n]?e[n]:t};return t.replace(/{(\d+)}/g,u)},o=function(t){var n=t.language,i=t.localisations;e.indexOf(n)>=0&&(r=n),i&&(u=i)},a=function(){return r},f=function(t){for(var n=arguments.length,e=Array(n>1?n-1:0),o=1;o<n;o++)e[o-1]=arguments[o];if(!u)throw new Error("No localisation data has been set.");if(!u[r])return"";var a=u[r][t];return e.length>0?i.apply(void 0,[a].concat(e)):a};n.default={initLocalisations:o,getLocale:a,localise:f},t.exports=n.default},function(t,n,e){var r,u;!function(){"use strict";function e(){for(var t=[],n=0;n<arguments.length;n++){var r=arguments[n];if(r){var u=typeof r;if("string"===u||"number"===u)t.push(r);else if(Array.isArray(r)&&r.length){var o=e.apply(null,r);o&&t.push(o)}else if("object"===u)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?(e.default=e,t.exports=e):(r=[],void 0!==(u=function(){return e}.apply(n,r))&&(t.exports=u))}()},function(t,n){t.exports=Morph.modules["bbc-morph-image-chef-url-transformer@2.1.0"]},function(t,n){t.exports=Morph.modules["bbc-morph-responsive-image@1.3.1"]},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function u(t,n){var e={};for(var r in t)n.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}Object.defineProperty(n,"__esModule",{value:!0});var i=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},o=e(4),a=r(o),f=e(10),c=r(f),l=e(11),s=e(17),p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3];return function(){c.default.track((0,s.formatIStatsValue)(t),(0,s.formatIStatsValue)(n),(0,l.mapValues)(s.formatIStatsValue,e)),r.apply(void 0,arguments)}};n.default=function(t){function n(n){var e=n.onClick,r=n.iStatsAction,o=n.iStatsType,f=n.iStatsOptions,c=u(n,["onClick","iStatsAction","iStatsType","iStatsOptions"]);return a.default.createElement(t,i({},c,{onClick:p(r,o,f,e)}))}return n.defaultProps={onClick:function(){return null},iStatsType:"",iStatsOptions:{}},n.displayName="iStatsOnClick("+(t.displayName||t.name||"Component")+")",n},t.exports=n.default},function(t,n){t.exports=Morph.modules["bbc-morph-istats@1.3.0"]},function(t,n,e){var r=e(12).runInContext();t.exports=e(14)(r,r)},function(t,n,e){var r;(function(t,u){(function(){function i(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function o(t,n,e,r){for(var u=-1,i=null==t?0:t.length;++u<i;){var o=t[u];n(r,o,e(o),t)}return r}function a(t,n){for(var e=-1,r=null==t?0:t.length;++e<r&&!1!==n(t[e],e,t););return t}function f(t,n){for(var e=null==t?0:t.length;e--&&!1!==n(t[e],e,t););return t}function c(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(!n(t[e],e,t))return!1;return!0}function l(t,n){for(var e=-1,r=null==t?0:t.length,u=0,i=[];++e<r;){var o=t[e];n(o,e,t)&&(i[u++]=o)}return i}function s(t,n){return!(null==t||!t.length)&&-1<m(t,n,0)}function p(t,n,e){for(var r=-1,u=null==t?0:t.length;++r<u;)if(e(n,t[r]))return!0;return!1}function h(t,n){for(var e=-1,r=null==t?0:t.length,u=Array(r);++e<r;)u[e]=n(t[e],e,t);return u}function d(t,n){for(var e=-1,r=n.length,u=t.length;++e<r;)t[u+e]=n[e];return t}function g(t,n,e,r){var u=-1,i=null==t?0:t.length;for(r&&i&&(e=t[++u]);++u<i;)e=n(e,t[u],u,t);return e}function v(t,n,e,r){var u=null==t?0:t.length;for(r&&u&&(e=t[--u]);u--;)e=n(e,t[u],u,t);return e}function _(t,n){for(var e=-1,r=null==t?0:t.length;++e<r;)if(n(t[e],e,t))return!0;return!1}function y(t,n,e){var r;return e(t,function(t,e,u){if(n(t,e,u))return r=e,!1}),r}function b(t,n,e,r){var u=t.length;for(e+=r?1:-1;r?e--:++e<u;)if(n(t[e],e,t))return e;return-1}function m(t,n,e){if(n===n)t:{--e;for(var r=t.length;++e<r;)if(t[e]===n){t=e;break t}t=-1}else t=b(t,j,e);return t}function x(t,n,e,r){--e;for(var u=t.length;++e<u;)if(r(t[e],n))return e;return-1}function j(t){return t!==t}function w(t,n){var e=null==t?0:t.length;return e?k(t,n)/e:Z}function A(t){return function(n){return null==n?$:n[t]}}function O(t){return function(n){return null==t?$:t[n]}}function I(t,n,e,r,u){return u(t,function(t,u,i){e=r?(r=!1,t):n(e,t,u,i)}),e}function R(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].c;return t}function k(t,n){for(var e,r=-1,u=t.length;++r<u;){var i=n(t[r]);i!==$&&(e=e===$?i:e+i)}return e}function E(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function W(t,n){return h(n,function(n){return[n,t[n]]})}function S(t){return function(n){return t(n)}}function z(t,n){return h(n,function(n){return t[n]})}function B(t,n){return t.has(n)}function P(t,n){for(var e=-1,r=t.length;++e<r&&-1<m(n,t[e],0););return e}function M(t,n){for(var e=t.length;e--&&-1<m(n,t[e],0););return e}function T(t){return"\\"+Ct[t]}function C(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function L(t,n){return function(e){return t(n(e))}}function D(t,n){for(var e=-1,r=t.length,u=0,i=[];++e<r;){var o=t[e];o!==n&&"__lodash_placeholder__"!==o||(t[e]="__lodash_placeholder__",i[u++]=e)}return i}function F(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function q(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=[t,t]}),e}function N(t){if(zt.test(t)){for(var n=Wt.lastIndex=0;Wt.test(t);)++n;t=n}else t=tn(t);return t}function U(t){return zt.test(t)?t.match(Wt)||[]:t.split("")}var $,V=1/0,Z=NaN,G=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],K=/\b__p\+='';/g,H=/\b(__p\+=)''\+/g,J=/(__e\(.*?\)|\b__t\))\+'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,X=RegExp(Y.source),tt=RegExp(Q.source),nt=/<%-([\s\S]+?)%>/g,et=/<%([\s\S]+?)%>/g,rt=/<%=([\s\S]+?)%>/g,ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,at=/[\\^$.*+?()[\]{}|]/g,ft=RegExp(at.source),ct=/^\s+|\s+$/g,lt=/^\s+/,st=/\s+$/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ht=/\{\n\/\* \[wrapped with (.+)\] \*/,dt=/,? & /,gt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vt=/\\(\\)?/g,_t=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,yt=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,At=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ot=/($^)/,It=/['\n\r\u2028\u2029\\]/g,Rt="[\\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])?)*",kt=RegExp("['’]","g"),Et=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Wt=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])"+Rt,"g"),St=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]"),Bt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Pt="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(" "),Mt={};Mt["[object Float32Array]"]=Mt["[object Float64Array]"]=Mt["[object Int8Array]"]=Mt["[object Int16Array]"]=Mt["[object Int32Array]"]=Mt["[object Uint8Array]"]=Mt["[object Uint8ClampedArray]"]=Mt["[object Uint16Array]"]=Mt["[object Uint32Array]"]=!0,Mt["[object Arguments]"]=Mt["[object Array]"]=Mt["[object ArrayBuffer]"]=Mt["[object Boolean]"]=Mt["[object DataView]"]=Mt["[object Date]"]=Mt["[object Error]"]=Mt["[object Function]"]=Mt["[object Map]"]=Mt["[object Number]"]=Mt["[object Object]"]=Mt["[object RegExp]"]=Mt["[object Set]"]=Mt["[object String]"]=Mt["[object WeakMap]"]=!1;var Tt={};Tt["[object Arguments]"]=Tt["[object Array]"]=Tt["[object ArrayBuffer]"]=Tt["[object DataView]"]=Tt["[object Boolean]"]=Tt["[object Date]"]=Tt["[object Float32Array]"]=Tt["[object Float64Array]"]=Tt["[object Int8Array]"]=Tt["[object Int16Array]"]=Tt["[object Int32Array]"]=Tt["[object Map]"]=Tt["[object Number]"]=Tt["[object Object]"]=Tt["[object RegExp]"]=Tt["[object Set]"]=Tt["[object String]"]=Tt["[object Symbol]"]=Tt["[object Uint8Array]"]=Tt["[object Uint8ClampedArray]"]=Tt["[object Uint16Array]"]=Tt["[object Uint32Array]"]=!0,Tt["[object Error]"]=Tt["[object Function]"]=Tt["[object WeakMap]"]=!1;var Ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Lt=parseFloat,Dt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,qt="object"==typeof self&&self&&self.Object===Object&&self,Nt=Ft||qt||Function("return this")(),Ut="object"==typeof n&&n&&!n.nodeType&&n,$t=Ut&&"object"==typeof u&&u&&!u.nodeType&&u,Vt=$t&&$t.exports===Ut,Zt=Vt&&Ft.process,Gt=function(){try{var t=$t&&$t.require&&$t.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Kt=Gt&&Gt.isArrayBuffer,Ht=Gt&&Gt.isDate,Jt=Gt&&Gt.isMap,Yt=Gt&&Gt.isRegExp,Qt=Gt&&Gt.isSet,Xt=Gt&&Gt.isTypedArray,tn=A("length"),nn=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"}),en=O({"&":"&","<":"<",">":">",'"':""","'":"'"}),rn=O({"&":"&","<":"<",">":">",""":'"',"'":"'"}),un=function t(n){function e(t){if(yu(t)&&!oa(t)&&!(t instanceof O)){if(t instanceof u)return t;if(oi.call(t,"__wrapped__"))return qr(t)}return new u(t)}function r(){}function u(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=$}function O(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Rt(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Wt(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Ct(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function Ft(t){var n=-1,e=null==t?0:t.length;for(this.__data__=new Ct;++n<e;)this.add(t[n])}function qt(t){this.size=(this.__data__=new Wt(t)).size}function Ut(t,n){var e,r=oa(t),u=!r&&ia(t),i=!r&&!u&&fa(t),o=!r&&!u&&!i&&ha(t),u=(r=r||u||i||o)?E(t.length,ti):[],a=u.length;for(e in t)!n&&!oi.call(t,e)||r&&("length"==e||i&&("offset"==e||"parent"==e)||o&&("buffer"==e||"byteLength"==e||"byteOffset"==e)||Rr(e,a))||u.push(e);return u}function $t(t){var n=t.length;return n?t[ie(0,n-1)]:$}function Zt(t,n){return Cr(Me(t),hn(n,0,t.length))}function Gt(t){return Cr(Me(t))}function tn(t,n,e){(e===$||lu(t[n],e))&&(e!==$||n in t)||sn(t,n,e)}function on(t,n,e){var r=t[n];oi.call(t,n)&&lu(r,e)&&(e!==$||n in t)||sn(t,n,e)}function an(t,n){for(var e=t.length;e--;)if(lu(t[e][0],n))return e;return-1}function fn(t,n,e,r){return uo(t,function(t,u,i){n(r,t,e(t),i)}),r}function cn(t,n){return t&&Te(n,zu(n),t)}function ln(t,n){return t&&Te(n,Bu(n),t)}function sn(t,n,e){"__proto__"==n&&Ai?Ai(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}function pn(t,n){for(var e=-1,r=n.length,u=Gu(r),i=null==t;++e<r;)u[e]=i?$:Wu(t,n[e]);return u}function hn(t,n,e){return t===t&&(e!==$&&(t=t<=e?t:e),n!==$&&(t=t>=n?t:n)),t}function dn(t,n,e,r,u,i){var o,f=1&n,c=2&n,l=4&n;if(e&&(o=u?e(t,r,u,i):e(t)),o!==$)return o;if(!_u(t))return t;if(r=oa(t)){if(o=wr(t),!f)return Me(t,o)}else{var s=vo(t),p="[object Function]"==s||"[object GeneratorFunction]"==s;if(fa(t))return Ee(t,f);if("[object Object]"==s||"[object Arguments]"==s||p&&!u){if(o=c||p?{}:Ar(t),!f)return c?Le(t,ln(o,t)):Ce(t,cn(o,t))}else{if(!Tt[s])return u?t:{};o=Or(t,s,f)}}if(i||(i=new qt),u=i.get(t))return u;if(i.set(t,o),pa(t))return t.forEach(function(r){o.add(dn(r,n,e,r,t,i))}),o;if(la(t))return t.forEach(function(r,u){o.set(u,dn(r,n,e,u,t,i))}),o;var c=l?c?gr:dr:c?Bu:zu,h=r?$:c(t);return a(h||t,function(r,u){h&&(u=r,r=t[u]),on(o,u,dn(r,n,e,u,t,i))}),o}function gn(t){var n=zu(t);return function(e){return vn(e,t,n)}}function vn(t,n,e){var r=e.length;if(null==t)return!r;for(t=Qu(t);r--;){var u=e[r],i=n[u],o=t[u];if(o===$&&!(u in t)||!i(o))return!1}return!0}function _n(t,n,e){if("function"!=typeof t)throw new ni("Expected a function");return bo(function(){t.apply($,e)},n)}function yn(t,n,e,r){var u=-1,i=s,o=!0,a=t.length,f=[],c=n.length;if(!a)return f;e&&(n=h(n,S(e))),r?(i=p,o=!1):200<=n.length&&(i=B,o=!1,n=new Ft(n));t:for(;++u<a;){var l=t[u],d=null==e?l:e(l),l=r||0!==l?l:0;if(o&&d===d){for(var g=c;g--;)if(n[g]===d)continue t;f.push(l)}else i(n,d,r)||f.push(l)}return f}function bn(t,n){var e=!0;return uo(t,function(t,r,u){return e=!!n(t,r,u)}),e}function mn(t,n,e){for(var r=-1,u=t.length;++r<u;){var i=t[r],o=n(i);if(null!=o&&(a===$?o===o&&!ju(o):e(o,a)))var a=o,f=i}return f}function xn(t,n){var e=[];return uo(t,function(t,r,u){n(t,r,u)&&e.push(t)}),e}function jn(t,n,e,r,u){var i=-1,o=t.length;for(e||(e=Ir),u||(u=[]);++i<o;){var a=t[i];0<n&&e(a)?1<n?jn(a,n-1,e,r,u):d(u,a):r||(u[u.length]=a)}return u}function wn(t,n){return t&&oo(t,n,zu)}function An(t,n){return t&&ao(t,n,zu)}function On(t,n){return l(n,function(n){return du(t[n])})}function In(t,n){n=Re(n,t);for(var e=0,r=n.length;null!=t&&e<r;)t=t[Lr(n[e++])];return e&&e==r?t:$}function Rn(t,n,e){return n=n(t),oa(t)?n:d(n,e(t))}function kn(t){if(null==t)return t===$?"[object Undefined]":"[object Null]";if(wi&&wi in Qu(t)){var n=oi.call(t,wi),e=t[wi];try{t[wi]=$;var r=!0}catch(t){}var u=ci.call(t);r&&(n?t[wi]=e:delete t[wi]),t=u}else t=ci.call(t);return t}function En(t,n){return t>n}function Wn(t,n){return null!=t&&oi.call(t,n)}function Sn(t,n){return null!=t&&n in Qu(t)}function zn(t,n,e){for(var r=e?p:s,u=t[0].length,i=t.length,o=i,a=Gu(i),f=1/0,c=[];o--;){var l=t[o];o&&n&&(l=h(l,S(n))),f=Ti(l.length,f),a[o]=!e&&(n||120<=u&&120<=l.length)?new Ft(o&&l):$}var l=t[0],d=-1,g=a[0];t:for(;++d<u&&c.length<f;){var v=l[d],_=n?n(v):v,v=e||0!==v?v:0;if(g?!B(g,_):!r(c,_,e)){for(o=i;--o;){var y=a[o];if(y?!B(y,_):!r(t[o],_,e))continue t}g&&g.push(_),c.push(v)}}return c}function Bn(t,n,e,r){return wn(t,function(t,u,i){n(r,e(t),u,i)}),r}function Pn(t,n,e){return n=Re(n,t),t=2>n.length?t:In(t,pe(n,0,-1)),n=null==t?t:t[Lr(Zr(n))],null==n?$:i(n,t,e)}function Mn(t){return yu(t)&&"[object Arguments]"==kn(t)}function Tn(t){return yu(t)&&"[object ArrayBuffer]"==kn(t)}function Cn(t){return yu(t)&&"[object Date]"==kn(t)}function Ln(t,n,e,r,u){if(t===n)return!0;if(null==t||null==n||!yu(t)&&!yu(n))return t!==t&&n!==n;t:{var i=oa(t),o=oa(n),a=i?"[object Array]":vo(t),f=o?"[object Array]":vo(n),a="[object Arguments]"==a?"[object Object]":a,f="[object Arguments]"==f?"[object Object]":f,c="[object Object]"==a,o="[object Object]"==f;if((f=a==f)&&fa(t)){if(!fa(n)){n=!1;break t}i=!0,c=!1}if(f&&!c)u||(u=new qt),n=i||ha(t)?sr(t,n,e,r,Ln,u):pr(t,n,a,e,r,Ln,u);else{if(!(1&e)&&(i=c&&oi.call(t,"__wrapped__"),a=o&&oi.call(n,"__wrapped__"),i||a)){t=i?t.value():t,n=a?n.value():n,u||(u=new qt),n=Ln(t,n,e,r,u);break t}if(f)n:if(u||(u=new qt),i=1&e,a=dr(t),o=a.length,f=dr(n).length,o==f||i){for(c=o;c--;){var l=a[c];if(!(i?l in n:oi.call(n,l))){n=!1;break n}}if((f=u.get(t))&&u.get(n))n=f==n;else{f=!0,u.set(t,n),u.set(n,t);for(var s=i;++c<o;){var l=a[c],p=t[l],h=n[l];if(r)var d=i?r(h,p,l,n,t,u):r(p,h,l,t,n,u);if(d===$?p!==h&&!Ln(p,h,e,r,u):!d){f=!1;break}s||(s="constructor"==l)}f&&!s&&(e=t.constructor,r=n.constructor,e!=r&&"constructor"in t&&"constructor"in n&&!("function"==typeof e&&e instanceof e&&"function"==typeof r&&r instanceof r)&&(f=!1)),u.delete(t),u.delete(n),n=f}}else n=!1;else n=!1}}return n}function Dn(t){return yu(t)&&"[object Map]"==vo(t)}function Fn(t,n,e,r){var u=e.length,i=u,o=!r;if(null==t)return!i;for(t=Qu(t);u--;){var a=e[u];if(o&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++u<i;){var a=e[u],f=a[0],c=t[f],l=a[1];if(o&&a[2]){if(c===$&&!(f in t))return!1}else{if(a=new qt,r)var s=r(c,l,f,t,n,a);if(s===$?!Ln(l,c,3,r,a):!s)return!1}}return!0}function qn(t){return!(!_u(t)||fi&&fi in t)&&(du(t)?pi:xt).test(Dr(t))}function Nn(t){return yu(t)&&"[object RegExp]"==kn(t)}function Un(t){return yu(t)&&"[object Set]"==vo(t)}function $n(t){return yu(t)&&vu(t.length)&&!!Mt[kn(t)]}function Vn(t){return"function"==typeof t?t:null==t?Fu:"object"==typeof t?oa(t)?Jn(t[0],t[1]):Hn(t):$u(t)}function Zn(t){if(!Sr(t))return Pi(t);var n,e=[];for(n in Qu(t))oi.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Gn(t,n){return t<n}function Kn(t,n){var e=-1,r=su(t)?Gu(t.length):[];return uo(t,function(t,u,i){r[++e]=n(t,u,i)}),r}function Hn(t){var n=mr(t);return 1==n.length&&n[0][2]?zr(n[0][0],n[0][1]):function(e){return e===t||Fn(e,t,n)}}function Jn(t,n){return Er(t)&&n===n&&!_u(n)?zr(Lr(t),n):function(e){var r=Wu(e,t);return r===$&&r===n?Su(e,t):Ln(n,r,3)}}function Yn(t,n,e,r,u){t!==n&&oo(n,function(i,o){if(_u(i)){u||(u=new qt);var a=u,f=Pr(t,o),c=Pr(n,o),l=a.get(c);if(!l){var l=r?r(f,c,o+"",t,n,a):$,s=l===$;if(s){var p=oa(c),h=!p&&fa(c),d=!p&&!h&&ha(c),l=c;p||h||d?oa(f)?l=f:pu(f)?l=Me(f):h?(s=!1,l=Ee(c,!0)):d?(s=!1,l=Se(c,!0)):l=[]:mu(c)||ia(c)?(l=f,ia(f)?l=ku(f):_u(f)&&!du(f)||(l=Ar(c))):s=!1}s&&(a.set(c,l),Yn(l,c,e,r,a),a.delete(c))}tn(t,o,l)}else a=r?r(Pr(t,o),i,o+"",t,n,u):$,a===$&&(a=i),tn(t,o,a)},Bu)}function Qn(t,n){var e=t.length;if(e)return n+=0>n?e:0,Rr(n,e)?t[n]:$}function Xn(t,n,e){var r=-1;return n=h(n.length?n:[Fu],S(yr())),t=Kn(t,function(t,e,u){return{a:h(n,function(n){return n(t)}),b:++r,c:t}}),R(t,function(t,n){var r;t:{r=-1;for(var u=t.a,i=n.a,o=u.length,a=e.length;++r<o;){var f=ze(u[r],i[r]);if(f){if(r>=a){r=f;break t}r=f*("desc"==e[r]?-1:1);break t}}r=t.b-n.b}return r})}function te(t,n){return ne(t,n,function(n,e){return Su(t,e)})}function ne(t,n,e){for(var r=-1,u=n.length,i={};++r<u;){var o=n[r],a=In(t,o);e(a,o)&&le(i,Re(o,t),a)}return i}function ee(t){return function(n){return In(n,t)}}function re(t,n,e,r){var u=r?x:m,i=-1,o=n.length,a=t;for(t===n&&(n=Me(n)),e&&(a=h(t,S(e)));++i<o;)for(var f=0,c=n[i],c=e?e(c):c;-1<(f=u(a,c,f,r));)a!==t&&mi.call(a,f,1),mi.call(t,f,1);return t}function ue(t,n){for(var e=t?n.length:0,r=e-1;e--;){var u=n[e];if(e==r||u!==i){var i=u;Rr(u)?mi.call(t,u,1):me(t,u)}}return t}function ie(t,n){return t+Ei(Di()*(n-t+1))}function oe(t,n){var e="";if(!t||1>n||9007199254740991<n)return e;do{n%2&&(e+=t),(n=Ei(n/2))&&(t+=t)}while(n);return e}function ae(t,n){return mo(Br(t,n,Fu),t+"")}function fe(t){return $t(Mu(t))}function ce(t,n){var e=Mu(t);return Cr(e,hn(n,0,e.length))}function le(t,n,e,r){if(!_u(t))return t;n=Re(n,t);for(var u=-1,i=n.length,o=i-1,a=t;null!=a&&++u<i;){var f=Lr(n[u]),c=e;if(u!=o){var l=a[f],c=r?r(l,f,a):$;c===$&&(c=_u(l)?l:Rr(n[u+1])?[]:{})}on(a,f,c),a=a[f]}return t}function se(t){return Cr(Mu(t))}function pe(t,n,e){var r=-1,u=t.length;for(0>n&&(n=-n>u?0:u+n),e=e>u?u:e,0>e&&(e+=u),u=n>e?0:e-n>>>0,n>>>=0,e=Gu(u);++r<u;)e[r]=t[r+n];return e}function he(t,n){var e;return uo(t,function(t,r,u){return!(e=n(t,r,u))}),!!e}function de(t,n,e){var r=0,u=null==t?r:t.length;if("number"==typeof n&&n===n&&2147483647>=u){for(;r<u;){var i=r+u>>>1,o=t[i];null!==o&&!ju(o)&&(e?o<=n:o<n)?r=i+1:u=i}return u}return ge(t,n,Fu,e)}function ge(t,n,e,r){n=e(n);for(var u=0,i=null==t?0:t.length,o=n!==n,a=null===n,f=ju(n),c=n===$;u<i;){var l=Ei((u+i)/2),s=e(t[l]),p=s!==$,h=null===s,d=s===s,g=ju(s);(o?r||d:c?d&&(r||p):a?d&&p&&(r||!h):f?d&&p&&!h&&(r||!g):h||g?0:r?s<=n:s<n)?u=l+1:i=l}return Ti(i,4294967294)}function ve(t,n){for(var e=-1,r=t.length,u=0,i=[];++e<r;){var o=t[e],a=n?n(o):o;if(!e||!lu(a,f)){var f=a;i[u++]=0===o?0:o}}return i}function _e(t){return"number"==typeof t?t:ju(t)?Z:+t}function ye(t){if("string"==typeof t)return t;if(oa(t))return h(t,ye)+"";if(ju(t))return eo?eo.call(t):"";var n=t+"";return"0"==n&&1/t==-V?"-0":n}function be(t,n,e){var r=-1,u=s,i=t.length,o=!0,a=[],f=a;if(e)o=!1,u=p;else if(200<=i){if(u=n?null:so(t))return F(u);o=!1,u=B,f=new Ft}else f=n?[]:a;t:for(;++r<i;){var c=t[r],l=n?n(c):c,c=e||0!==c?c:0;if(o&&l===l){for(var h=f.length;h--;)if(f[h]===l)continue t;n&&f.push(l),a.push(c)}else u(f,l,e)||(f!==a&&f.push(l),a.push(c))}return a}function me(t,n){return n=Re(n,t),null==(t=2>n.length?t:In(t,pe(n,0,-1)))||delete t[Lr(Zr(n))]}function xe(t,n,e,r){for(var u=t.length,i=r?u:-1;(r?i--:++i<u)&&n(t[i],i,t););return e?pe(t,r?0:i,r?i+1:u):pe(t,r?i+1:0,r?u:i)}function je(t,n){var e=t;return e instanceof O&&(e=e.value()),g(n,function(t,n){return n.func.apply(n.thisArg,d([t],n.args))},e)}function we(t,n,e){var r=t.length;if(2>r)return r?be(t[0]):[];for(var u=-1,i=Gu(r);++u<r;)for(var o=t[u],a=-1;++a<r;)a!=u&&(i[u]=yn(i[u]||o,t[a],n,e));return be(jn(i,1),n,e)}function Ae(t,n,e){for(var r=-1,u=t.length,i=n.length,o={};++r<u;)e(o,t[r],r<i?n[r]:$);return o}function Oe(t){return pu(t)?t:[]}function Ie(t){ return"function"==typeof t?t:Fu}function Re(t,n){return oa(t)?t:Er(t,n)?[t]:xo(Eu(t))}function ke(t,n,e){var r=t.length;return e=e===$?r:e,!n&&e>=r?t:pe(t,n,e)}function Ee(t,n){if(n)return t.slice();var e=t.length,e=vi?vi(e):new t.constructor(e);return t.copy(e),e}function We(t){var n=new t.constructor(t.byteLength);return new gi(n).set(new gi(t)),n}function Se(t,n){return new t.constructor(n?We(t.buffer):t.buffer,t.byteOffset,t.length)}function ze(t,n){if(t!==n){var e=t!==$,r=null===t,u=t===t,i=ju(t),o=n!==$,a=null===n,f=n===n,c=ju(n);if(!a&&!c&&!i&&t>n||i&&o&&f&&!a&&!c||r&&o&&f||!e&&f||!u)return 1;if(!r&&!i&&!c&&t<n||c&&e&&u&&!r&&!i||a&&e&&u||!o&&u||!f)return-1}return 0}function Be(t,n,e,r){var u=-1,i=t.length,o=e.length,a=-1,f=n.length,c=Mi(i-o,0),l=Gu(f+c);for(r=!r;++a<f;)l[a]=n[a];for(;++u<o;)(r||u<i)&&(l[e[u]]=t[u]);for(;c--;)l[a++]=t[u++];return l}function Pe(t,n,e,r){var u=-1,i=t.length,o=-1,a=e.length,f=-1,c=n.length,l=Mi(i-a,0),s=Gu(l+c);for(r=!r;++u<l;)s[u]=t[u];for(l=u;++f<c;)s[l+f]=n[f];for(;++o<a;)(r||u<i)&&(s[l+e[o]]=t[u++]);return s}function Me(t,n){var e=-1,r=t.length;for(n||(n=Gu(r));++e<r;)n[e]=t[e];return n}function Te(t,n,e,r){var u=!e;e||(e={});for(var i=-1,o=n.length;++i<o;){var a=n[i],f=r?r(e[a],t[a],a,e,t):$;f===$&&(f=t[a]),u?sn(e,a,f):on(e,a,f)}return e}function Ce(t,n){return Te(t,ho(t),n)}function Le(t,n){return Te(t,go(t),n)}function De(t,n){return function(e,r){var u=oa(e)?o:fn,i=n?n():{};return u(e,t,yr(r,2),i)}}function Fe(t){return ae(function(n,e){var r=-1,u=e.length,i=1<u?e[u-1]:$,o=2<u?e[2]:$,i=3<t.length&&"function"==typeof i?(u--,i):$;for(o&&kr(e[0],e[1],o)&&(i=3>u?$:i,u=1),n=Qu(n);++r<u;)(o=e[r])&&t(n,o,r,i);return n})}function qe(t,n){return function(e,r){if(null==e)return e;if(!su(e))return t(e,r);for(var u=e.length,i=n?u:-1,o=Qu(e);(n?i--:++i<u)&&!1!==r(o[i],i,o););return e}}function Ne(t){return function(n,e,r){var u=-1,i=Qu(n);r=r(n);for(var o=r.length;o--;){var a=r[t?o:++u];if(!1===e(i[a],a,i))break}return n}}function Ue(t,n,e){function r(){return(this&&this!==Nt&&this instanceof r?i:t).apply(u?e:this,arguments)}var u=1&n,i=Ze(t);return r}function $e(t){return function(n){n=Eu(n);var e=zt.test(n)?U(n):$,r=e?e[0]:n.charAt(0);return n=e?ke(e,1).join(""):n.slice(1),r[t]()+n}}function Ve(t){return function(n){return g(Lu(Cu(n).replace(kt,"")),t,"")}}function Ze(t){return function(){var n=arguments;switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3]);case 5:return new t(n[0],n[1],n[2],n[3],n[4]);case 6:return new t(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new t(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var e=ro(t.prototype),n=t.apply(e,n);return _u(n)?n:e}}function Ge(t,n,e){function r(){for(var o=arguments.length,a=Gu(o),f=o,c=_r(r);f--;)a[f]=arguments[f];return f=3>o&&a[0]!==c&&a[o-1]!==c?[]:D(a,c),o-=f.length,o<e?ur(t,n,Je,r.placeholder,$,a,f,$,$,e-o):i(this&&this!==Nt&&this instanceof r?u:t,this,a)}var u=Ze(t);return r}function Ke(t){return function(n,e,r){var u=Qu(n);if(!su(n)){var i=yr(e,3);n=zu(n),e=function(t){return i(u[t],t,u)}}return e=t(n,e,r),-1<e?u[i?n[e]:e]:$}}function He(t){return hr(function(n){var e=n.length,r=e,i=u.prototype.thru;for(t&&n.reverse();r--;){var o=n[r];if("function"!=typeof o)throw new ni("Expected a function");if(i&&!a&&"wrapper"==vr(o))var a=new u([],!0)}for(r=a?r:e;++r<e;)var o=n[r],i=vr(o),f="wrapper"==i?po(o):$,a=f&&Wr(f[0])&&424==f[1]&&!f[4].length&&1==f[9]?a[vr(f[0])].apply(a,f[3]):1==o.length&&Wr(o)?a[i]():a.thru(o);return function(){var t=arguments,r=t[0];if(a&&1==t.length&&oa(r))return a.plant(r).value();for(var u=0,t=e?n[u].apply(this,t):r;++u<e;)t=n[u].call(this,t);return t}})}function Je(t,n,e,r,u,i,o,a,f,c){function l(){for(var _=arguments.length,y=Gu(_),b=_;b--;)y[b]=arguments[b];if(d){var m,x=_r(l),b=y.length;for(m=0;b--;)y[b]===x&&++m}if(r&&(y=Be(y,r,u,d)),i&&(y=Pe(y,i,o,d)),_-=m,d&&_<c)return x=D(y,x),ur(t,n,Je,l.placeholder,e,y,x,a,f,c-_);if(x=p?e:this,b=h?x[t]:t,_=y.length,a){m=y.length;for(var j=Ti(a.length,m),w=Me(y);j--;){var A=a[j];y[j]=Rr(A,m)?w[A]:$}}else g&&1<_&&y.reverse();return s&&f<_&&(y.length=f),this&&this!==Nt&&this instanceof l&&(b=v||Ze(b)),b.apply(x,y)}var s=128&n,p=1&n,h=2&n,d=24&n,g=512&n,v=h?$:Ze(t);return l}function Ye(t,n){return function(e,r){return Bn(e,t,n(r),{})}}function Qe(t,n){return function(e,r){var u;if(e===$&&r===$)return n;if(e!==$&&(u=e),r!==$){if(u===$)return r;"string"==typeof e||"string"==typeof r?(e=ye(e),r=ye(r)):(e=_e(e),r=_e(r)),u=t(e,r)}return u}}function Xe(t){return hr(function(n){return n=h(n,S(yr())),ae(function(e){var r=this;return t(n,function(t){return i(t,r,e)})})})}function tr(t,n){n=n===$?" ":ye(n);var e=n.length;return 2>e?e?oe(n,t):n:(e=oe(n,ki(t/N(n))),zt.test(n)?ke(U(e),0,t).join(""):e.slice(0,t))}function nr(t,n,e,r){function u(){for(var n=-1,f=arguments.length,c=-1,l=r.length,s=Gu(l+f),p=this&&this!==Nt&&this instanceof u?a:t;++c<l;)s[c]=r[c];for(;f--;)s[c++]=arguments[++n];return i(p,o?e:this,s)}var o=1&n,a=Ze(t);return u}function er(t){return function(n,e,r){r&&"number"!=typeof r&&kr(n,e,r)&&(e=r=$),n=Au(n),e===$?(e=n,n=0):e=Au(e),r=r===$?n<e?1:-1:Au(r);var u=-1;e=Mi(ki((e-n)/(r||1)),0);for(var i=Gu(e);e--;)i[t?e:++u]=n,n+=r;return i}}function rr(t){return function(n,e){return"string"==typeof n&&"string"==typeof e||(n=Ru(n),e=Ru(e)),t(n,e)}}function ur(t,n,e,r,u,i,o,a,f,c){var l=8&n,s=l?o:$;o=l?$:o;var p=l?i:$;return i=l?$:i,n=(n|(l?32:64))&~(l?64:32),4&n||(n&=-4),u=[t,n,u,p,s,i,o,a,f,c],e=e.apply($,u),Wr(t)&&yo(e,u),e.placeholder=r,Mr(e,t,n)}function ir(t){var n=Yu[t];return function(t,e){if(t=Ru(t),e=null==e?0:Ti(Ou(e),292)){var r=(Eu(t)+"e").split("e"),r=n(r[0]+"e"+(+r[1]+e)),r=(Eu(r)+"e").split("e");return+(r[0]+"e"+(+r[1]-e))}return n(t)}}function or(t){return function(n){var e=vo(n);return"[object Map]"==e?C(n):"[object Set]"==e?q(n):W(n,t(n))}}function ar(t,n,e,r,u,i,o,a){var f=2&n;if(!f&&"function"!=typeof t)throw new ni("Expected a function");var c=r?r.length:0;if(c||(n&=-97,r=u=$),o=o===$?o:Mi(Ou(o),0),a=a===$?a:Ou(a),c-=u?u.length:0,64&n){var l=r,s=u;r=u=$}var p=f?$:po(t);return i=[t,n,e,r,u,l,s,i,o,a],p&&(e=i[1],t=p[1],n=e|t,r=128==t&&8==e||128==t&&256==e&&i[7].length<=p[8]||384==t&&p[7].length<=p[8]&&8==e,131>n||r)&&(1&t&&(i[2]=p[2],n|=1&e?0:4),(e=p[3])&&(r=i[3],i[3]=r?Be(r,e,p[4]):e,i[4]=r?D(i[3],"__lodash_placeholder__"):p[4]),(e=p[5])&&(r=i[5],i[5]=r?Pe(r,e,p[6]):e,i[6]=r?D(i[5],"__lodash_placeholder__"):p[6]),(e=p[7])&&(i[7]=e),128&t&&(i[8]=null==i[8]?p[8]:Ti(i[8],p[8])),null==i[9]&&(i[9]=p[9]),i[0]=p[0],i[1]=n),t=i[0],n=i[1],e=i[2],r=i[3],u=i[4],a=i[9]=i[9]===$?f?0:t.length:Mi(i[9]-c,0),!a&&24&n&&(n&=-25),f=n&&1!=n?8==n||16==n?Ge(t,n,a):32!=n&&33!=n||u.length?Je.apply($,i):nr(t,n,e,r):Ue(t,n,e),Mr((p?fo:yo)(f,i),t,n)}function fr(t,n,e,r){return t===$||lu(t,ri[e])&&!oi.call(r,e)?n:t}function cr(t,n,e,r,u,i){return _u(t)&&_u(n)&&(i.set(n,t),Yn(t,n,$,cr,i),i.delete(n)),t}function lr(t){return mu(t)?$:t}function sr(t,n,e,r,u,i){var o=1&e,a=t.length,f=n.length;if(a!=f&&!(o&&f>a))return!1;if((f=i.get(t))&&i.get(n))return f==n;var f=-1,c=!0,l=2&e?new Ft:$;for(i.set(t,n),i.set(n,t);++f<a;){var s=t[f],p=n[f];if(r)var h=o?r(p,s,f,n,t,i):r(s,p,f,t,n,i);if(h!==$){if(h)continue;c=!1;break}if(l){if(!_(n,function(t,n){if(!B(l,n)&&(s===t||u(s,t,e,r,i)))return l.push(n)})){c=!1;break}}else if(s!==p&&!u(s,p,e,r,i)){c=!1;break}}return i.delete(t),i.delete(n),c}function pr(t,n,e,r,u,i,o){switch(e){case"[object DataView]":if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)break;t=t.buffer,n=n.buffer;case"[object ArrayBuffer]":if(t.byteLength!=n.byteLength||!i(new gi(t),new gi(n)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return lu(+t,+n);case"[object Error]":return t.name==n.name&&t.message==n.message;case"[object RegExp]":case"[object String]":return t==n+"";case"[object Map]":var a=C;case"[object Set]":if(a||(a=F),t.size!=n.size&&!(1&r))break;return(e=o.get(t))?e==n:(r|=2,o.set(t,n),n=sr(a(t),a(n),r,u,i,o),o.delete(t),n);case"[object Symbol]":if(no)return no.call(t)==no.call(n)}return!1}function hr(t){return mo(Br(t,$,$r),t+"")}function dr(t){return Rn(t,zu,ho)}function gr(t){return Rn(t,Bu,go)}function vr(t){for(var n=t.name+"",e=Ki[n],r=oi.call(Ki,n)?e.length:0;r--;){var u=e[r],i=u.func;if(null==i||i==t)return u.name}return n}function _r(t){return(oi.call(e,"placeholder")?e:t).placeholder}function yr(){var t=e.iteratee||qu,t=t===qu?Vn:t;return arguments.length?t(arguments[0],arguments[1]):t}function br(t,n){var e=t.__data__,r=typeof n;return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?e["string"==typeof n?"string":"hash"]:e.map}function mr(t){for(var n=zu(t),e=n.length;e--;){var r=n[e],u=t[r];n[e]=[r,u,u===u&&!_u(u)]}return n}function xr(t,n){var e=null==t?$:t[n];return qn(e)?e:$}function jr(t,n,e){n=Re(n,t);for(var r=-1,u=n.length,i=!1;++r<u;){var o=Lr(n[r]);if(!(i=null!=t&&e(t,o)))break;t=t[o]}return i||++r!=u?i:!!(u=null==t?0:t.length)&&vu(u)&&Rr(o,u)&&(oa(t)||ia(t))}function wr(t){var n=t.length,e=new t.constructor(n);return n&&"string"==typeof t[0]&&oi.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function Ar(t){return"function"!=typeof t.constructor||Sr(t)?{}:ro(_i(t))}function Or(t,n,e){var r=t.constructor;switch(n){case"[object ArrayBuffer]":return We(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return n=e?We(t.buffer):t.buffer,new t.constructor(n,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 Se(t,e);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return n=new t.constructor(t.source,yt.exec(t)),n.lastIndex=t.lastIndex,n;case"[object Set]":return new r;case"[object Symbol]":return no?Qu(no.call(t)):{}}}function Ir(t){return oa(t)||ia(t)||!!(xi&&t&&t[xi])}function Rr(t,n){var e=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==e||"symbol"!=e&&wt.test(t))&&-1<t&&0==t%1&&t<n}function kr(t,n,e){if(!_u(e))return!1;var r=typeof n;return!!("number"==r?su(e)&&Rr(n,e.length):"string"==r&&n in e)&&lu(e[n],t)}function Er(t,n){if(oa(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!ju(t))||it.test(t)||!ut.test(t)||null!=n&&t in Qu(n)}function Wr(t){var n=vr(t),r=e[n];return"function"==typeof r&&n in O.prototype&&(t===r||!!(n=po(r))&&t===n[0])}function Sr(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||ri)}function zr(t,n){return function(e){return null!=e&&e[t]===n&&(n!==$||t in Qu(e))}}function Br(t,n,e){return n=Mi(n===$?t.length-1:n,0),function(){for(var r=arguments,u=-1,o=Mi(r.length-n,0),a=Gu(o);++u<o;)a[u]=r[n+u];for(u=-1,o=Gu(n+1);++u<n;)o[u]=r[u];return o[n]=e(a),i(t,this,o)}}function Pr(t,n){if("__proto__"!=n)return t[n]}function Mr(t,n,e){var r=n+"";n=mo;var u,i=Fr;return u=(u=r.match(ht))?u[1].split(dt):[],e=i(u,e),(i=e.length)&&(u=i-1,e[u]=(1<i?"& ":"")+e[u],e=e.join(2<i?", ":" "),r=r.replace(pt,"{\n/* [wrapped with "+e+"] */\n")),n(t,r)}function Tr(t){var n=0,e=0;return function(){var r=Ci(),u=16-(r-e);if(e=r,0<u){if(800<=++n)return arguments[0]}else n=0;return t.apply($,arguments)}}function Cr(t,n){var e=-1,r=t.length,u=r-1;for(n=n===$?r:n;++e<n;){var r=ie(e,u),i=t[r];t[r]=t[e],t[e]=i}return t.length=n,t}function Lr(t){if("string"==typeof t||ju(t))return t;var n=t+"";return"0"==n&&1/t==-V?"-0":n}function Dr(t){if(null!=t){try{return ii.call(t)}catch(t){}return t+""}return""}function Fr(t,n){return a(G,function(e){var r="_."+e[0];n&e[1]&&!s(t,r)&&t.push(r)}),t.sort()}function qr(t){if(t instanceof O)return t.clone();var n=new u(t.__wrapped__,t.__chain__);return n.__actions__=Me(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}function Nr(t,n,e){var r=null==t?0:t.length;return r?(e=null==e?0:Ou(e),0>e&&(e=Mi(r+e,0)),b(t,yr(n,3),e)):-1}function Ur(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r-1;return e!==$&&(u=Ou(e),u=0>e?Mi(r+u,0):Ti(u,r-1)),b(t,yr(n,3),u,!0)}function $r(t){return(null==t?0:t.length)?jn(t,1):[]}function Vr(t){return t&&t.length?t[0]:$}function Zr(t){var n=null==t?0:t.length;return n?t[n-1]:$}function Gr(t,n){return t&&t.length&&n&&n.length?re(t,n):t}function Kr(t){return null==t?t:Fi.call(t)}function Hr(t){if(!t||!t.length)return[];var n=0;return t=l(t,function(t){if(pu(t))return n=Mi(t.length,n),!0}),E(n,function(n){return h(t,A(n))})}function Jr(t,n){if(!t||!t.length)return[];var e=Hr(t);return null==n?e:h(e,function(t){return i(n,$,t)})}function Yr(t){return t=e(t),t.__chain__=!0,t}function Qr(t,n){return n(t)}function Xr(){return this}function tu(t,n){return(oa(t)?a:uo)(t,yr(n,3))}function nu(t,n){return(oa(t)?f:io)(t,yr(n,3))}function eu(t,n){return(oa(t)?h:Kn)(t,yr(n,3))}function ru(t,n,e){return n=e?$:n,n=t&&null==n?t.length:n,ar(t,128,$,$,$,$,n)}function uu(t,n){var e;if("function"!=typeof n)throw new ni("Expected a function");return t=Ou(t),function(){return 0<--t&&(e=n.apply(this,arguments)),1>=t&&(n=$),e}}function iu(t,n,e){return n=e?$:n,t=ar(t,8,$,$,$,$,$,n),t.placeholder=iu.placeholder,t}function ou(t,n,e){return n=e?$:n,t=ar(t,16,$,$,$,$,$,n),t.placeholder=ou.placeholder,t}function au(t,n,e){function r(n){var e=f,r=c;return f=c=$,d=n,s=t.apply(r,e)}function u(t){var e=t-h;return t-=d,h===$||e>=n||0>e||v&&t>=l}function i(){var t=Ko();if(u(t))return o(t);var e,r=bo;e=t-d,t=n-(t-h),e=v?Ti(t,l-e):t,p=r(i,e)}function o(t){return p=$,_&&f?r(t):(f=c=$,s)}function a(){var t=Ko(),e=u(t);if(f=arguments,c=this,h=t,e){if(p===$)return d=t=h,p=bo(i,n),g?r(t):s;if(v)return p=bo(i,n),r(h)}return p===$&&(p=bo(i,n)),s}var f,c,l,s,p,h,d=0,g=!1,v=!1,_=!0;if("function"!=typeof t)throw new ni("Expected a function");return n=Ru(n)||0,_u(e)&&(g=!!e.leading,l=(v="maxWait"in e)?Mi(Ru(e.maxWait)||0,n):l,_="trailing"in e?!!e.trailing:_),a.cancel=function(){p!==$&&lo(p),d=0,f=h=c=p=$},a.flush=function(){return p===$?s:o(Ko())},a}function fu(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new ni("Expected a function");var e=function(){var r=arguments,u=n?n.apply(this,r):r[0],i=e.cache;return i.has(u)?i.get(u):(r=t.apply(this,r),e.cache=i.set(u,r)||i,r)};return e.cache=new(fu.Cache||Ct),e}function cu(t){if("function"!=typeof t)throw new ni("Expected a function");return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function lu(t,n){return t===n||t!==t&&n!==n}function su(t){return null!=t&&vu(t.length)&&!du(t)}function pu(t){return yu(t)&&su(t)}function hu(t){if(!yu(t))return!1;var n=kn(t);return"[object Error]"==n||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!mu(t)}function du(t){return!!_u(t)&&("[object Function]"==(t=kn(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function gu(t){return"number"==typeof t&&t==Ou(t)}function vu(t){return"number"==typeof t&&-1<t&&0==t%1&&9007199254740991>=t}function _u(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function yu(t){return null!=t&&"object"==typeof t}function bu(t){return"number"==typeof t||yu(t)&&"[object Number]"==kn(t)}function mu(t){return!(!yu(t)||"[object Object]"!=kn(t))&&(null===(t=_i(t))||"function"==typeof(t=oi.call(t,"constructor")&&t.constructor)&&t instanceof t&&ii.call(t)==li)}function xu(t){return"string"==typeof t||!oa(t)&&yu(t)&&"[object String]"==kn(t)}function ju(t){return"symbol"==typeof t||yu(t)&&"[object Symbol]"==kn(t)}function wu(t){if(!t)return[];if(su(t))return xu(t)?U(t):Me(t);if(ji&&t[ji]){t=t[ji]();for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}return n=vo(t),("[object Map]"==n?C:"[object Set]"==n?F:Mu)(t)}function Au(t){return t?(t=Ru(t),t===V||t===-V?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Ou(t){t=Au(t);var n=t%1;return t===t?n?t-n:t:0}function Iu(t){return t?hn(Ou(t),0,4294967295):0}function Ru(t){if("number"==typeof t)return t;if(ju(t))return Z;if(_u(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=_u(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ct,"");var n=mt.test(t);return n||jt.test(t)?Dt(t.slice(2),n?2:8):bt.test(t)?Z:+t}function ku(t){return Te(t,Bu(t))}function Eu(t){return null==t?"":ye(t)}function Wu(t,n,e){return t=null==t?$:In(t,n),t===$?e:t}function Su(t,n){return null!=t&&jr(t,n,Sn)}function zu(t){return su(t)?Ut(t):Zn(t)}function Bu(t){if(su(t))t=Ut(t,!0);else if(_u(t)){var n,e=Sr(t),r=[];for(n in t)("constructor"!=n||!e&&oi.call(t,n))&&r.push(n);t=r}else{if(n=[],null!=t)for(e in Qu(t))n.push(e);t=n}return t}function Pu(t,n){if(null==t)return{};var e=h(gr(t),function(t){return[t]});return n=yr(n),ne(t,e,function(t,e){return n(t,e[0])})}function Mu(t){return null==t?[]:z(t,zu(t))}function Tu(t){return Da(Eu(t).toLowerCase())}function Cu(t){return(t=Eu(t))&&t.replace(At,nn).replace(Et,"")}function Lu(t,n,e){return t=Eu(t),n=e?$:n,n===$?Bt.test(t)?t.match(St)||[]:t.match(gt)||[]:t.match(n)||[]}function Du(t){return function(){return t}}function Fu(t){return t}function qu(t){return Vn("function"==typeof t?t:dn(t,1))}function Nu(t,n,e){var r=zu(n),u=On(n,r);null!=e||_u(n)&&(u.length||!r.length)||(e=n,n=t,t=this,u=On(n,zu(n)));var i=!(_u(e)&&"chain"in e&&!e.chain),o=du(t);return a(u,function(e){var r=n[e];t[e]=r,o&&(t.prototype[e]=function(){var n=this.__chain__;if(i||n){var e=t(this.__wrapped__);return(e.__actions__=Me(this.__actions__)).push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,d([this.value()],arguments))})}),t}function Uu(){}function $u(t){return Er(t)?A(Lr(t)):ee(t)}function Vu(){return[]}function Zu(){return!1}n=null==n?Nt:un.defaults(Nt.Object(),n,un.pick(Nt,Pt));var Gu=n.Array,Ku=n.Date,Hu=n.Error,Ju=n.Function,Yu=n.Math,Qu=n.Object,Xu=n.RegExp,ti=n.String,ni=n.TypeError,ei=Gu.prototype,ri=Qu.prototype,ui=n["__core-js_shared__"],ii=Ju.prototype.toString,oi=ri.hasOwnProperty,ai=0,fi=function(){var t=/[^.]+$/.exec(ui&&ui.keys&&ui.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ci=ri.toString,li=ii.call(Qu),si=Nt._,pi=Xu("^"+ii.call(oi).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Vt?n.Buffer:$,di=n.Symbol,gi=n.Uint8Array,vi=hi?hi.allocUnsafe:$,_i=L(Qu.getPrototypeOf,Qu),yi=Qu.create,bi=ri.propertyIsEnumerable,mi=ei.splice,xi=di?di.isConcatSpreadable:$,ji=di?di.iterator:$,wi=di?di.toStringTag:$,Ai=function(){try{var t=xr(Qu,"defineProperty");return t({},"",{}),t}catch(t){}}(),Oi=n.clearTimeout!==Nt.clearTimeout&&n.clearTimeout,Ii=Ku&&Ku.now!==Nt.Date.now&&Ku.now,Ri=n.setTimeout!==Nt.setTimeout&&n.setTimeout,ki=Yu.ceil,Ei=Yu.floor,Wi=Qu.getOwnPropertySymbols,Si=hi?hi.isBuffer:$,zi=n.isFinite,Bi=ei.join,Pi=L(Qu.keys,Qu),Mi=Yu.max,Ti=Yu.min,Ci=Ku.now,Li=n.parseInt,Di=Yu.random,Fi=ei.reverse,qi=xr(n,"DataView"),Ni=xr(n,"Map"),Ui=xr(n,"Promise"),$i=xr(n,"Set"),Vi=xr(n,"WeakMap"),Zi=xr(Qu,"create"),Gi=Vi&&new Vi,Ki={},Hi=Dr(qi),Ji=Dr(Ni),Yi=Dr(Ui),Qi=Dr($i),Xi=Dr(Vi),to=di?di.prototype:$,no=to?to.valueOf:$,eo=to?to.toString:$,ro=function(){function t(){}return function(n){return _u(n)?yi?yi(n):(t.prototype=n,n=new t,t.prototype=$,n):{}}}();e.templateSettings={escape:nt,evaluate:et,interpolate:rt,variable:"",imports:{_:e}},e.prototype=r.prototype,e.prototype.constructor=e,u.prototype=ro(r.prototype),u.prototype.constructor=u,O.prototype=ro(r.prototype),O.prototype.constructor=O,Rt.prototype.clear=function(){this.__data__=Zi?Zi(null):{},this.size=0},Rt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},Rt.prototype.get=function(t){var n=this.__data__;return Zi?(t=n[t],"__lodash_hash_undefined__"===t?$:t):oi.call(n,t)?n[t]:$},Rt.prototype.has=function(t){var n=this.__data__;return Zi?n[t]!==$:oi.call(n,t)},Rt.prototype.set=function(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Zi&&n===$?"__lodash_hash_undefined__":n,this},Wt.prototype.clear=function(){this.__data__=[],this.size=0},Wt.prototype.delete=function(t){var n=this.__data__;return!(0>(t=an(n,t))||(t==n.length-1?n.pop():mi.call(n,t,1),--this.size,0))},Wt.prototype.get=function(t){var n=this.__data__;return t=an(n,t),0>t?$:n[t][1]},Wt.prototype.has=function(t){return-1<an(this.__data__,t)},Wt.prototype.set=function(t,n){var e=this.__data__,r=an(e,t);return 0>r?(++this.size,e.push([t,n])):e[r][1]=n,this},Ct.prototype.clear=function(){this.size=0,this.__data__={hash:new Rt,map:new(Ni||Wt),string:new Rt}},Ct.prototype.delete=function(t){return t=br(this,t).delete(t),this.size-=t?1:0,t},Ct.prototype.get=function(t){return br(this,t).get(t)},Ct.prototype.has=function(t){return br(this,t).has(t)},Ct.prototype.set=function(t,n){var e=br(this,t),r=e.size;return e.set(t,n),this.size+=e.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)},qt.prototype.clear=function(){this.__data__=new Wt,this.size=0},qt.prototype.delete=function(t){var n=this.__data__;return t=n.delete(t),this.size=n.size,t},qt.prototype.get=function(t){return this.__data__.get(t)},qt.prototype.has=function(t){return this.__data__.has(t)},qt.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Wt){var r=e.__data__;if(!Ni||199>r.length)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ct(r)}return e.set(t,n),this.size=e.size,this};var uo=qe(wn),io=qe(An,!0),oo=Ne(),ao=Ne(!0),fo=Gi?function(t,n){return Gi.set(t,n),t}:Fu,co=Ai?function(t,n){return Ai(t,"toString",{configurable:!0,enumerable:!1,value:Du(n),writable:!0})}:Fu,lo=Oi||function(t){return Nt.clearTimeout(t)},so=$i&&1/F(new $i([,-0]))[1]==V?function(t){return new $i(t)}:Uu,po=Gi?function(t){return Gi.get(t)}:Uu,ho=Wi?function(t){return null==t?[]:(t=Qu(t),l(Wi(t),function(n){return bi.call(t,n)}))}:Vu,go=Wi?function(t){for(var n=[];t;)d(n,ho(t)),t=_i(t);return n}:Vu,vo=kn;(qi&&"[object DataView]"!=vo(new qi(new ArrayBuffer(1)))||Ni&&"[object Map]"!=vo(new Ni)||Ui&&"[object Promise]"!=vo(Ui.resolve())||$i&&"[object Set]"!=vo(new $i)||Vi&&"[object WeakMap]"!=vo(new Vi))&&(vo=function(t){var n=kn(t);if(t=(t="[object Object]"==n?t.constructor:$)?Dr(t):"")switch(t){case Hi:return"[object DataView]";case Ji:return"[object Map]";case Yi:return"[object Promise]";case Qi:return"[object Set]";case Xi:return"[object WeakMap]"}return n});var _o=ui?du:Zu,yo=Tr(fo),bo=Ri||function(t,n){return Nt.setTimeout(t,n)},mo=Tr(co),xo=function(t){t=fu(t,function(t){return 500===n.size&&n.clear(),t});var n=t.cache;return t}(function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(ot,function(t,e,r,u){n.push(r?u.replace(vt,"$1"):e||t)}),n}),jo=ae(function(t,n){return pu(t)?yn(t,jn(n,1,pu,!0)):[]}),wo=ae(function(t,n){var e=Zr(n);return pu(e)&&(e=$),pu(t)?yn(t,jn(n,1,pu,!0),yr(e,2)):[]}),Ao=ae(function(t,n){var e=Zr(n);return pu(e)&&(e=$),pu(t)?yn(t,jn(n,1,pu,!0),$,e):[]}),Oo=ae(function(t){var n=h(t,Oe);return n.length&&n[0]===t[0]?zn(n):[]}),Io=ae(function(t){var n=Zr(t),e=h(t,Oe);return n===Zr(e)?n=$:e.pop(),e.length&&e[0]===t[0]?zn(e,yr(n,2)):[]}),Ro=ae(function(t){var n=Zr(t),e=h(t,Oe);return(n="function"==typeof n?n:$)&&e.pop(),e.length&&e[0]===t[0]?zn(e,$,n):[]}),ko=ae(Gr),Eo=hr(function(t,n){var e=null==t?0:t.length,r=pn(t,n);return ue(t,h(n,function(t){return Rr(t,e)?+t:t}).sort(ze)),r}),Wo=ae(function(t){return be(jn(t,1,pu,!0))}),So=ae(function(t){var n=Zr(t);return pu(n)&&(n=$),be(jn(t,1,pu,!0),yr(n,2))}),zo=ae(function(t){var n=Zr(t),n="function"==typeof n?n:$;return be(jn(t,1,pu,!0),$,n)}),Bo=ae(function(t,n){return pu(t)?yn(t,n):[]}),Po=ae(function(t){return we(l(t,pu))}),Mo=ae(function(t){var n=Zr(t);return pu(n)&&(n=$),we(l(t,pu),yr(n,2))}),To=ae(function(t){var n=Zr(t),n="function"==typeof n?n:$;return we(l(t,pu),$,n)}),Co=ae(Hr),Lo=ae(function(t){var n=t.length,n=1<n?t[n-1]:$,n="function"==typeof n?(t.pop(),n):$;return Jr(t,n)}),Do=hr(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(n){return pn(n,t)};return!(1<n||this.__actions__.length)&&r instanceof O&&Rr(e)?(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:Qr,args:[i],thisArg:$}),new u(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push($),t})):this.thru(i)}),Fo=De(function(t,n,e){oi.call(t,e)?++t[e]:sn(t,e,1)}),qo=Ke(Nr),No=Ke(Ur),Uo=De(function(t,n,e){oi.call(t,e)?t[e].push(n):sn(t,e,[n])}),$o=ae(function(t,n,e){var r=-1,u="function"==typeof n,o=su(t)?Gu(t.length):[];return uo(t,function(t){o[++r]=u?i(n,t,e):Pn(t,n,e)}),o}),Vo=De(function(t,n,e){sn(t,e,n)}),Zo=De(function(t,n,e){t[e?0:1].push(n)},function(){return[[],[]]}),Go=ae(function(t,n){if(null==t)return[];var e=n.length;return 1<e&&kr(t,n[0],n[1])?n=[]:2<e&&kr(n[0],n[1],n[2])&&(n=[n[0]]),Xn(t,jn(n,1),[])}),Ko=Ii||function(){return Nt.Date.now()},Ho=ae(function(t,n,e){var r=1;if(e.length)var u=D(e,_r(Ho)),r=32|r;return ar(t,r,n,e,u)}),Jo=ae(function(t,n,e){var r=3;if(e.length)var u=D(e,_r(Jo)),r=32|r;return ar(n,r,t,e,u)}),Yo=ae(function(t,n){return _n(t,1,n)}),Qo=ae(function(t,n,e){return _n(t,Ru(n)||0,e)});fu.Cache=Ct;var Xo=ae(function(t,n){n=1==n.length&&oa(n[0])?h(n[0],S(yr())):h(jn(n,1),S(yr()));var e=n.length;return ae(function(r){for(var u=-1,o=Ti(r.length,e);++u<o;)r[u]=n[u].call(this,r[u]);return i(t,this,r)})}),ta=ae(function(t,n){return ar(t,32,$,n,D(n,_r(ta)))}),na=ae(function(t,n){return ar(t,64,$,n,D(n,_r(na)))}),ea=hr(function(t,n){return ar(t,256,$,$,$,n)}),ra=rr(En),ua=rr(function(t,n){return t>=n}),ia=Mn(function(){return arguments}())?Mn:function(t){return yu(t)&&oi.call(t,"callee")&&!bi.call(t,"callee")},oa=Gu.isArray,aa=Kt?S(Kt):Tn,fa=Si||Zu,ca=Ht?S(Ht):Cn,la=Jt?S(Jt):Dn,sa=Yt?S(Yt):Nn,pa=Qt?S(Qt):Un,ha=Xt?S(Xt):$n,da=rr(Gn),ga=rr(function(t,n){return t<=n}),va=Fe(function(t,n){if(Sr(n)||su(n))Te(n,zu(n),t);else for(var e in n)oi.call(n,e)&&on(t,e,n[e])}),_a=Fe(function(t,n){Te(n,Bu(n),t)}),ya=Fe(function(t,n,e,r){Te(n,Bu(n),t,r)}),ba=Fe(function(t,n,e,r){Te(n,zu(n),t,r)}),ma=hr(pn),xa=ae(function(t,n){t=Qu(t);var e=-1,r=n.length,u=2<r?n[2]:$;for(u&&kr(n[0],n[1],u)&&(r=1);++e<r;)for(var u=n[e],i=Bu(u),o=-1,a=i.length;++o<a;){var f=i[o],c=t[f];(c===$||lu(c,ri[f])&&!oi.call(t,f))&&(t[f]=u[f])}return t}),ja=ae(function(t){return t.push($,cr),i(Ra,$,t)}),wa=Ye(function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=ci.call(n)),t[n]=e},Du(Fu)),Aa=Ye(function(t,n,e){null!=n&&"function"!=typeof n.toString&&(n=ci.call(n)),oi.call(t,n)?t[n].push(e):t[n]=[e]},yr),Oa=ae(Pn),Ia=Fe(function(t,n,e){Yn(t,n,e)}),Ra=Fe(function(t,n,e,r){Yn(t,n,e,r)}),ka=hr(function(t,n){var e={};if(null==t)return e;var r=!1;n=h(n,function(n){return n=Re(n,t),r||(r=1<n.length),n}),Te(t,gr(t),e),r&&(e=dn(e,7,lr));for(var u=n.length;u--;)me(e,n[u]);return e}),Ea=hr(function(t,n){return null==t?{}:te(t,n)}),Wa=or(zu),Sa=or(Bu),za=Ve(function(t,n,e){return n=n.toLowerCase(),t+(e?Tu(n):n)}),Ba=Ve(function(t,n,e){return t+(e?"-":"")+n.toLowerCase()}),Pa=Ve(function(t,n,e){return t+(e?" ":"")+n.toLowerCase()}),Ma=$e("toLowerCase"),Ta=Ve(function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}),Ca=Ve(function(t,n,e){return t+(e?" ":"")+Da(n)}),La=Ve(function(t,n,e){return t+(e?" ":"")+n.toUpperCase()}),Da=$e("toUpperCase"),Fa=ae(function(t,n){try{return i(t,$,n)}catch(t){return hu(t)?t:new Hu(t)}}),qa=hr(function(t,n){return a(n,function(n){n=Lr(n),sn(t,n,Ho(t[n],t))}),t}),Na=He(),Ua=He(!0),$a=ae(function(t,n){return function(e){return Pn(e,t,n)}}),Va=ae(function(t,n){return function(e){return Pn(t,e,n)}}),Za=Xe(h),Ga=Xe(c),Ka=Xe(_),Ha=er(),Ja=er(!0),Ya=Qe(function(t,n){return t+n},0),Qa=ir("ceil"),Xa=Qe(function(t,n){return t/n},1),tf=ir("floor"),nf=Qe(function(t,n){return t*n},1),ef=ir("round"),rf=Qe(function(t,n){return t-n},0);return e.after=function(t,n){if("function"!=typeof n)throw new ni("Expected a function");return t=Ou(t),function(){if(1>--t)return n.apply(this,arguments)}},e.ary=ru,e.assign=va,e.assignIn=_a,e.assignInWith=ya,e.assignWith=ba,e.at=ma,e.before=uu,e.bind=Ho,e.bindAll=qa,e.bindKey=Jo,e.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return oa(t)?t:[t]},e.chain=Yr,e.chunk=function(t,n,e){if(n=(e?kr(t,n,e):n===$)?1:Mi(Ou(n),0),!(e=null==t?0:t.length)||1>n)return[];for(var r=0,u=0,i=Gu(ki(e/n));r<e;)i[u++]=pe(t,r,r+=n);return i},e.compact=function(t){for(var n=-1,e=null==t?0:t.length,r=0,u=[];++n<e;){var i=t[n];i&&(u[r++]=i)}return u},e.concat=function(){var t=arguments.length;if(!t)return[];for(var n=Gu(t-1),e=arguments[0];t--;)n[t-1]=arguments[t];return d(oa(e)?Me(e):[e],jn(n,1))},e.cond=function(t){var n=null==t?0:t.length,e=yr();return t=n?h(t,function(t){if("function"!=typeof t[1])throw new ni("Expected a function");return[e(t[0]),t[1]]}):[],ae(function(e){for(var r=-1;++r<n;){var u=t[r];if(i(u[0],this,e))return i(u[1],this,e)}})},e.conforms=function(t){return gn(dn(t,1))},e.constant=Du,e.countBy=Fo,e.create=function(t,n){var e=ro(t);return null==n?e:cn(e,n)},e.curry=iu,e.curryRight=ou,e.debounce=au,e.defaults=xa,e.defaultsDeep=ja,e.defer=Yo,e.delay=Qo,e.difference=jo,e.differenceBy=wo,e.differenceWith=Ao,e.drop=function(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===$?1:Ou(n),pe(t,0>n?0:n,r)):[]},e.dropRight=function(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===$?1:Ou(n),n=r-n,pe(t,0,0>n?0:n)):[]},e.dropRightWhile=function(t,n){return t&&t.length?xe(t,yr(n,3),!0,!0):[]},e.dropWhile=function(t,n){return t&&t.length?xe(t,yr(n,3),!0):[]},e.fill=function(t,n,e,r){var u=null==t?0:t.length;if(!u)return[];for(e&&"number"!=typeof e&&kr(t,n,e)&&(e=0,r=u),u=t.length,e=Ou(e),0>e&&(e=-e>u?0:u+e),r=r===$||r>u?u:Ou(r),0>r&&(r+=u),r=e>r?0:Iu(r);e<r;)t[e++]=n;return t},e.filter=function(t,n){return(oa(t)?l:xn)(t,yr(n,3))},e.flatMap=function(t,n){return jn(eu(t,n),1)},e.flatMapDeep=function(t,n){return jn(eu(t,n),V)},e.flatMapDepth=function(t,n,e){return e=e===$?1:Ou(e),jn(eu(t,n),e)},e.flatten=$r,e.flattenDeep=function(t){return(null==t?0:t.length)?jn(t,V):[]},e.flattenDepth=function(t,n){return null!=t&&t.length?(n=n===$?1:Ou(n),jn(t,n)):[]},e.flip=function(t){return ar(t,512)},e.flow=Na,e.flowRight=Ua,e.fromPairs=function(t){for(var n=-1,e=null==t?0:t.length,r={};++n<e;){var u=t[n];r[u[0]]=u[1]}return r},e.functions=function(t){return null==t?[]:On(t,zu(t))},e.functionsIn=function(t){return null==t?[]:On(t,Bu(t))},e.groupBy=Uo,e.initial=function(t){return(null==t?0:t.length)?pe(t,0,-1):[]},e.intersection=Oo,e.intersectionBy=Io,e.intersectionWith=Ro,e.invert=wa,e.invertBy=Aa,e.invokeMap=$o,e.iteratee=qu,e.keyBy=Vo,e.keys=zu,e.keysIn=Bu,e.map=eu,e.mapKeys=function(t,n){var e={};return n=yr(n,3),wn(t,function(t,r,u){sn(e,n(t,r,u),t)}),e},e.mapValues=function(t,n){var e={};return n=yr(n,3),wn(t,function(t,r,u){sn(e,r,n(t,r,u))}),e},e.matches=function(t){return Hn(dn(t,1))},e.matchesProperty=function(t,n){return Jn(t,dn(n,1))},e.memoize=fu,e.merge=Ia,e.mergeWith=Ra,e.method=$a,e.methodOf=Va,e.mixin=Nu,e.negate=cu,e.nthArg=function(t){return t=Ou(t),ae(function(n){return Qn(n,t)})},e.omit=ka,e.omitBy=function(t,n){return Pu(t,cu(yr(n)))},e.once=function(t){return uu(2,t)},e.orderBy=function(t,n,e,r){return null==t?[]:(oa(n)||(n=null==n?[]:[n]),e=r?$:e,oa(e)||(e=null==e?[]:[e]),Xn(t,n,e))},e.over=Za,e.overArgs=Xo,e.overEvery=Ga,e.overSome=Ka,e.partial=ta,e.partialRight=na,e.partition=Zo,e.pick=Ea,e.pickBy=Pu,e.property=$u,e.propertyOf=function(t){return function(n){return null==t?$:In(t,n)}},e.pull=ko,e.pullAll=Gr,e.pullAllBy=function(t,n,e){return t&&t.length&&n&&n.length?re(t,n,yr(e,2)):t},e.pullAllWith=function(t,n,e){return t&&t.length&&n&&n.length?re(t,n,$,e):t},e.pullAt=Eo,e.range=Ha,e.rangeRight=Ja,e.rearg=ea,e.reject=function(t,n){ return(oa(t)?l:xn)(t,cu(yr(n,3)))},e.remove=function(t,n){var e=[];if(!t||!t.length)return e;var r=-1,u=[],i=t.length;for(n=yr(n,3);++r<i;){var o=t[r];n(o,r,t)&&(e.push(o),u.push(r))}return ue(t,u),e},e.rest=function(t,n){if("function"!=typeof t)throw new ni("Expected a function");return n=n===$?n:Ou(n),ae(t,n)},e.reverse=Kr,e.sampleSize=function(t,n,e){return n=(e?kr(t,n,e):n===$)?1:Ou(n),(oa(t)?Zt:ce)(t,n)},e.set=function(t,n,e){return null==t?t:le(t,n,e)},e.setWith=function(t,n,e,r){return r="function"==typeof r?r:$,null==t?t:le(t,n,e,r)},e.shuffle=function(t){return(oa(t)?Gt:se)(t)},e.slice=function(t,n,e){var r=null==t?0:t.length;return r?(e&&"number"!=typeof e&&kr(t,n,e)?(n=0,e=r):(n=null==n?0:Ou(n),e=e===$?r:Ou(e)),pe(t,n,e)):[]},e.sortBy=Go,e.sortedUniq=function(t){return t&&t.length?ve(t):[]},e.sortedUniqBy=function(t,n){return t&&t.length?ve(t,yr(n,2)):[]},e.split=function(t,n,e){return e&&"number"!=typeof e&&kr(t,n,e)&&(n=e=$),e=e===$?4294967295:e>>>0,e?(t=Eu(t))&&("string"==typeof n||null!=n&&!sa(n))&&!(n=ye(n))&&zt.test(t)?ke(U(t),0,e):t.split(n,e):[]},e.spread=function(t,n){if("function"!=typeof t)throw new ni("Expected a function");return n=null==n?0:Mi(Ou(n),0),ae(function(e){var r=e[n];return e=ke(e,0,n),r&&d(e,r),i(t,this,e)})},e.tail=function(t){var n=null==t?0:t.length;return n?pe(t,1,n):[]},e.take=function(t,n,e){return t&&t.length?(n=e||n===$?1:Ou(n),pe(t,0,0>n?0:n)):[]},e.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?(n=e||n===$?1:Ou(n),n=r-n,pe(t,0>n?0:n,r)):[]},e.takeRightWhile=function(t,n){return t&&t.length?xe(t,yr(n,3),!1,!0):[]},e.takeWhile=function(t,n){return t&&t.length?xe(t,yr(n,3)):[]},e.tap=function(t,n){return n(t),t},e.throttle=function(t,n,e){var r=!0,u=!0;if("function"!=typeof t)throw new ni("Expected a function");return _u(e)&&(r="leading"in e?!!e.leading:r,u="trailing"in e?!!e.trailing:u),au(t,n,{leading:r,maxWait:n,trailing:u})},e.thru=Qr,e.toArray=wu,e.toPairs=Wa,e.toPairsIn=Sa,e.toPath=function(t){return oa(t)?h(t,Lr):ju(t)?[t]:Me(xo(Eu(t)))},e.toPlainObject=ku,e.transform=function(t,n,e){var r=oa(t),u=r||fa(t)||ha(t);if(n=yr(n,4),null==e){var i=t&&t.constructor;e=u?r?new i:[]:_u(t)&&du(i)?ro(_i(t)):{}}return(u?a:wn)(t,function(t,r,u){return n(e,t,r,u)}),e},e.unary=function(t){return ru(t,1)},e.union=Wo,e.unionBy=So,e.unionWith=zo,e.uniq=function(t){return t&&t.length?be(t):[]},e.uniqBy=function(t,n){return t&&t.length?be(t,yr(n,2)):[]},e.uniqWith=function(t,n){return n="function"==typeof n?n:$,t&&t.length?be(t,$,n):[]},e.unset=function(t,n){return null==t||me(t,n)},e.unzip=Hr,e.unzipWith=Jr,e.update=function(t,n,e){return null!=t&&(e=Ie(e),t=le(t,n,e(In(t,n)),void 0)),t},e.updateWith=function(t,n,e,r){return r="function"==typeof r?r:$,null!=t&&(e=Ie(e),t=le(t,n,e(In(t,n)),r)),t},e.values=Mu,e.valuesIn=function(t){return null==t?[]:z(t,Bu(t))},e.without=Bo,e.words=Lu,e.wrap=function(t,n){return ta(Ie(n),t)},e.xor=Po,e.xorBy=Mo,e.xorWith=To,e.zip=Co,e.zipObject=function(t,n){return Ae(t||[],n||[],on)},e.zipObjectDeep=function(t,n){return Ae(t||[],n||[],le)},e.zipWith=Lo,e.entries=Wa,e.entriesIn=Sa,e.extend=_a,e.extendWith=ya,Nu(e,e),e.add=Ya,e.attempt=Fa,e.camelCase=za,e.capitalize=Tu,e.ceil=Qa,e.clamp=function(t,n,e){return e===$&&(e=n,n=$),e!==$&&(e=Ru(e),e=e===e?e:0),n!==$&&(n=Ru(n),n=n===n?n:0),hn(Ru(t),n,e)},e.clone=function(t){return dn(t,4)},e.cloneDeep=function(t){return dn(t,5)},e.cloneDeepWith=function(t,n){return n="function"==typeof n?n:$,dn(t,5,n)},e.cloneWith=function(t,n){return n="function"==typeof n?n:$,dn(t,4,n)},e.conformsTo=function(t,n){return null==n||vn(t,n,zu(n))},e.deburr=Cu,e.defaultTo=function(t,n){return null==t||t!==t?n:t},e.divide=Xa,e.endsWith=function(t,n,e){t=Eu(t),n=ye(n);var r=t.length,r=e=e===$?r:hn(Ou(e),0,r);return 0<=(e-=n.length)&&t.slice(e,r)==n},e.eq=lu,e.escape=function(t){return(t=Eu(t))&&tt.test(t)?t.replace(Q,en):t},e.escapeRegExp=function(t){return(t=Eu(t))&&ft.test(t)?t.replace(at,"\\$&"):t},e.every=function(t,n,e){var r=oa(t)?c:bn;return e&&kr(t,n,e)&&(n=$),r(t,yr(n,3))},e.find=qo,e.findIndex=Nr,e.findKey=function(t,n){return y(t,yr(n,3),wn)},e.findLast=No,e.findLastIndex=Ur,e.findLastKey=function(t,n){return y(t,yr(n,3),An)},e.floor=tf,e.forEach=tu,e.forEachRight=nu,e.forIn=function(t,n){return null==t?t:oo(t,yr(n,3),Bu)},e.forInRight=function(t,n){return null==t?t:ao(t,yr(n,3),Bu)},e.forOwn=function(t,n){return t&&wn(t,yr(n,3))},e.forOwnRight=function(t,n){return t&&An(t,yr(n,3))},e.get=Wu,e.gt=ra,e.gte=ua,e.has=function(t,n){return null!=t&&jr(t,n,Wn)},e.hasIn=Su,e.head=Vr,e.identity=Fu,e.includes=function(t,n,e,r){return t=su(t)?t:Mu(t),e=e&&!r?Ou(e):0,r=t.length,0>e&&(e=Mi(r+e,0)),xu(t)?e<=r&&-1<t.indexOf(n,e):!!r&&-1<m(t,n,e)},e.indexOf=function(t,n,e){var r=null==t?0:t.length;return r?(e=null==e?0:Ou(e),0>e&&(e=Mi(r+e,0)),m(t,n,e)):-1},e.inRange=function(t,n,e){return n=Au(n),e===$?(e=n,n=0):e=Au(e),(t=Ru(t))>=Ti(n,e)&&t<Mi(n,e)},e.invoke=Oa,e.isArguments=ia,e.isArray=oa,e.isArrayBuffer=aa,e.isArrayLike=su,e.isArrayLikeObject=pu,e.isBoolean=function(t){return!0===t||!1===t||yu(t)&&"[object Boolean]"==kn(t)},e.isBuffer=fa,e.isDate=ca,e.isElement=function(t){return yu(t)&&1===t.nodeType&&!mu(t)},e.isEmpty=function(t){if(null==t)return!0;if(su(t)&&(oa(t)||"string"==typeof t||"function"==typeof t.splice||fa(t)||ha(t)||ia(t)))return!t.length;var n=vo(t);if("[object Map]"==n||"[object Set]"==n)return!t.size;if(Sr(t))return!Zn(t).length;for(var e in t)if(oi.call(t,e))return!1;return!0},e.isEqual=function(t,n){return Ln(t,n)},e.isEqualWith=function(t,n,e){var r=(e="function"==typeof e?e:$)?e(t,n):$;return r===$?Ln(t,n,$,e):!!r},e.isError=hu,e.isFinite=function(t){return"number"==typeof t&&zi(t)},e.isFunction=du,e.isInteger=gu,e.isLength=vu,e.isMap=la,e.isMatch=function(t,n){return t===n||Fn(t,n,mr(n))},e.isMatchWith=function(t,n,e){return e="function"==typeof e?e:$,Fn(t,n,mr(n),e)},e.isNaN=function(t){return bu(t)&&t!=+t},e.isNative=function(t){if(_o(t))throw new Hu("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return qn(t)},e.isNil=function(t){return null==t},e.isNull=function(t){return null===t},e.isNumber=bu,e.isObject=_u,e.isObjectLike=yu,e.isPlainObject=mu,e.isRegExp=sa,e.isSafeInteger=function(t){return gu(t)&&-9007199254740991<=t&&9007199254740991>=t},e.isSet=pa,e.isString=xu,e.isSymbol=ju,e.isTypedArray=ha,e.isUndefined=function(t){return t===$},e.isWeakMap=function(t){return yu(t)&&"[object WeakMap]"==vo(t)},e.isWeakSet=function(t){return yu(t)&&"[object WeakSet]"==kn(t)},e.join=function(t,n){return null==t?"":Bi.call(t,n)},e.kebabCase=Ba,e.last=Zr,e.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var u=r;if(e!==$&&(u=Ou(e),u=0>u?Mi(r+u,0):Ti(u,r-1)),n===n)t:{for(e=u+1;e--;)if(t[e]===n){t=e;break t}t=e}else t=b(t,j,u,!0);return t},e.lowerCase=Pa,e.lowerFirst=Ma,e.lt=da,e.lte=ga,e.max=function(t){return t&&t.length?mn(t,Fu,En):$},e.maxBy=function(t,n){return t&&t.length?mn(t,yr(n,2),En):$},e.mean=function(t){return w(t,Fu)},e.meanBy=function(t,n){return w(t,yr(n,2))},e.min=function(t){return t&&t.length?mn(t,Fu,Gn):$},e.minBy=function(t,n){return t&&t.length?mn(t,yr(n,2),Gn):$},e.stubArray=Vu,e.stubFalse=Zu,e.stubObject=function(){return{}},e.stubString=function(){return""},e.stubTrue=function(){return!0},e.multiply=nf,e.nth=function(t,n){return t&&t.length?Qn(t,Ou(n)):$},e.noConflict=function(){return Nt._===this&&(Nt._=si),this},e.noop=Uu,e.now=Ko,e.pad=function(t,n,e){t=Eu(t);var r=(n=Ou(n))?N(t):0;return!n||r>=n?t:(n=(n-r)/2,tr(Ei(n),e)+t+tr(ki(n),e))},e.padEnd=function(t,n,e){t=Eu(t);var r=(n=Ou(n))?N(t):0;return n&&r<n?t+tr(n-r,e):t},e.padStart=function(t,n,e){t=Eu(t);var r=(n=Ou(n))?N(t):0;return n&&r<n?tr(n-r,e)+t:t},e.parseInt=function(t,n,e){return e||null==n?n=0:n&&(n=+n),Li(Eu(t).replace(lt,""),n||0)},e.random=function(t,n,e){if(e&&"boolean"!=typeof e&&kr(t,n,e)&&(n=e=$),e===$&&("boolean"==typeof n?(e=n,n=$):"boolean"==typeof t&&(e=t,t=$)),t===$&&n===$?(t=0,n=1):(t=Au(t),n===$?(n=t,t=0):n=Au(n)),t>n){var r=t;t=n,n=r}return e||t%1||n%1?(e=Di(),Ti(t+e*(n-t+Lt("1e-"+((e+"").length-1))),n)):ie(t,n)},e.reduce=function(t,n,e){var r=oa(t)?g:I,u=3>arguments.length;return r(t,yr(n,4),e,u,uo)},e.reduceRight=function(t,n,e){var r=oa(t)?v:I,u=3>arguments.length;return r(t,yr(n,4),e,u,io)},e.repeat=function(t,n,e){return n=(e?kr(t,n,e):n===$)?1:Ou(n),oe(Eu(t),n)},e.replace=function(){var t=arguments,n=Eu(t[0]);return 3>t.length?n:n.replace(t[1],t[2])},e.result=function(t,n,e){n=Re(n,t);var r=-1,u=n.length;for(u||(u=1,t=$);++r<u;){var i=null==t?$:t[Lr(n[r])];i===$&&(r=u,i=e),t=du(i)?i.call(t):i}return t},e.round=ef,e.runInContext=t,e.sample=function(t){return(oa(t)?$t:fe)(t)},e.size=function(t){if(null==t)return 0;if(su(t))return xu(t)?N(t):t.length;var n=vo(t);return"[object Map]"==n||"[object Set]"==n?t.size:Zn(t).length},e.snakeCase=Ta,e.some=function(t,n,e){var r=oa(t)?_:he;return e&&kr(t,n,e)&&(n=$),r(t,yr(n,3))},e.sortedIndex=function(t,n){return de(t,n)},e.sortedIndexBy=function(t,n,e){return ge(t,n,yr(e,2))},e.sortedIndexOf=function(t,n){var e=null==t?0:t.length;if(e){var r=de(t,n);if(r<e&&lu(t[r],n))return r}return-1},e.sortedLastIndex=function(t,n){return de(t,n,!0)},e.sortedLastIndexBy=function(t,n,e){return ge(t,n,yr(e,2),!0)},e.sortedLastIndexOf=function(t,n){if(null==t?0:t.length){var e=de(t,n,!0)-1;if(lu(t[e],n))return e}return-1},e.startCase=Ca,e.startsWith=function(t,n,e){return t=Eu(t),e=null==e?0:hn(Ou(e),0,t.length),n=ye(n),t.slice(e,e+n.length)==n},e.subtract=rf,e.sum=function(t){return t&&t.length?k(t,Fu):0},e.sumBy=function(t,n){return t&&t.length?k(t,yr(n,2)):0},e.template=function(t,n,r){var u=e.templateSettings;r&&kr(t,n,r)&&(n=$),t=Eu(t),n=ya({},n,u,fr),r=ya({},n.imports,u.imports,fr);var i,o,a=zu(r),f=z(r,a),c=0;r=n.interpolate||Ot;var l="__p+='";r=Xu((n.escape||Ot).source+"|"+r.source+"|"+(r===rt?_t:Ot).source+"|"+(n.evaluate||Ot).source+"|$","g");var s="sourceURL"in n?"//# sourceURL="+n.sourceURL+"\n":"";if(t.replace(r,function(n,e,r,u,a,f){return r||(r=u),l+=t.slice(c,f).replace(It,T),e&&(i=!0,l+="'+__e("+e+")+'"),a&&(o=!0,l+="';"+a+";\n__p+='"),r&&(l+="'+((__t=("+r+"))==null?'':__t)+'"),c=f+n.length,n}),l+="';",(n=n.variable)||(l="with(obj){"+l+"}"),l=(o?l.replace(K,""):l).replace(H,"$1").replace(J,"$1;"),l="function("+(n||"obj")+"){"+(n?"":"obj||(obj={});")+"var __t,__p=''"+(i?",__e=_.escape":"")+(o?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+l+"return __p}",n=Fa(function(){return Ju(a,s+"return "+l).apply($,f)}),n.source=l,hu(n))throw n;return n},e.times=function(t,n){if(1>(t=Ou(t))||9007199254740991<t)return[];var e=4294967295,r=Ti(t,4294967295);for(n=yr(n),t-=4294967295,r=E(r,n);++e<t;)n(e);return r},e.toFinite=Au,e.toInteger=Ou,e.toLength=Iu,e.toLower=function(t){return Eu(t).toLowerCase()},e.toNumber=Ru,e.toSafeInteger=function(t){return t?hn(Ou(t),-9007199254740991,9007199254740991):0===t?t:0},e.toString=Eu,e.toUpper=function(t){return Eu(t).toUpperCase()},e.trim=function(t,n,e){return(t=Eu(t))&&(e||n===$)?t.replace(ct,""):t&&(n=ye(n))?(t=U(t),e=U(n),n=P(t,e),e=M(t,e)+1,ke(t,n,e).join("")):t},e.trimEnd=function(t,n,e){return(t=Eu(t))&&(e||n===$)?t.replace(st,""):t&&(n=ye(n))?(t=U(t),n=M(t,U(n))+1,ke(t,0,n).join("")):t},e.trimStart=function(t,n,e){return(t=Eu(t))&&(e||n===$)?t.replace(lt,""):t&&(n=ye(n))?(t=U(t),n=P(t,U(n)),ke(t,n).join("")):t},e.truncate=function(t,n){var e=30,r="...";if(_u(n))var u="separator"in n?n.separator:u,e="length"in n?Ou(n.length):e,r="omission"in n?ye(n.omission):r;t=Eu(t);var i=t.length;if(zt.test(t))var o=U(t),i=o.length;if(e>=i)return t;if(1>(i=e-N(r)))return r;if(e=o?ke(o,0,i).join(""):t.slice(0,i),u===$)return e+r;if(o&&(i+=e.length-i),sa(u)){if(t.slice(i).search(u)){var a=e;for(u.global||(u=Xu(u.source,Eu(yt.exec(u))+"g")),u.lastIndex=0;o=u.exec(a);)var f=o.index;e=e.slice(0,f===$?i:f)}}else t.indexOf(ye(u),i)!=i&&-1<(u=e.lastIndexOf(u))&&(e=e.slice(0,u));return e+r},e.unescape=function(t){return(t=Eu(t))&&X.test(t)?t.replace(Y,rn):t},e.uniqueId=function(t){var n=++ai;return Eu(t)+n},e.upperCase=La,e.upperFirst=Da,e.each=tu,e.eachRight=nu,e.first=Vr,Nu(e,function(){var t={};return wn(e,function(n,r){oi.call(e.prototype,r)||(t[r]=n)}),t}(),{chain:!1}),e.VERSION="4.17.11",a("bind bindKey curry curryRight partial partialRight".split(" "),function(t){e[t].placeholder=e}),a(["drop","take"],function(t,n){O.prototype[t]=function(e){e=e===$?1:Mi(Ou(e),0);var r=this.__filtered__&&!n?new O(this):this.clone();return r.__filtered__?r.__takeCount__=Ti(e,r.__takeCount__):r.__views__.push({size:Ti(e,4294967295),type:t+(0>r.__dir__?"Right":"")}),r},O.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),a(["filter","map","takeWhile"],function(t,n){var e=n+1,r=1==e||3==e;O.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:yr(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}}),a(["head","last"],function(t,n){var e="take"+(n?"Right":"");O.prototype[t]=function(){return this[e](1).value()[0]}}),a(["initial","tail"],function(t,n){var e="drop"+(n?"":"Right");O.prototype[t]=function(){return this.__filtered__?new O(this):this[e](1)}}),O.prototype.compact=function(){return this.filter(Fu)},O.prototype.find=function(t){return this.filter(t).head()},O.prototype.findLast=function(t){return this.reverse().find(t)},O.prototype.invokeMap=ae(function(t,n){return"function"==typeof t?new O(this):this.map(function(e){return Pn(e,t,n)})}),O.prototype.reject=function(t){return this.filter(cu(yr(t)))},O.prototype.slice=function(t,n){t=Ou(t);var e=this;return e.__filtered__&&(0<t||0>n)?new O(e):(0>t?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==$&&(n=Ou(n),e=0>n?e.dropRight(-n):e.take(n-t)),e)},O.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},O.prototype.toArray=function(){return this.take(4294967295)},wn(O.prototype,function(t,n){var r=/^(?:filter|find|map|reject)|While$/.test(n),i=/^(?:head|last)$/.test(n),o=e[i?"take"+("last"==n?"Right":""):n],a=i||/^find/.test(n);o&&(e.prototype[n]=function(){var n=this.__wrapped__,f=i?[1]:arguments,c=n instanceof O,l=f[0],s=c||oa(n),p=function(t){return t=o.apply(e,d([t],f)),i&&h?t[0]:t};s&&r&&"function"==typeof l&&1!=l.length&&(c=s=!1);var h=this.__chain__,g=!!this.__actions__.length,l=a&&!h,c=c&&!g;return!a&&s?(n=c?n:new O(this),n=t.apply(n,f),n.__actions__.push({func:Qr,args:[p],thisArg:$}),new u(n,h)):l&&c?t.apply(this,f):(n=this.thru(p),l?i?n.value()[0]:n.value():n)})}),a("pop push shift sort splice unshift".split(" "),function(t){var n=ei[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);e.prototype[t]=function(){var t=arguments;if(u&&!this.__chain__){var e=this.value();return n.apply(oa(e)?e:[],t)}return this[r](function(e){return n.apply(oa(e)?e:[],t)})}}),wn(O.prototype,function(t,n){var r=e[n];if(r){var u=r.name+"";(Ki[u]||(Ki[u]=[])).push({name:n,func:r})}}),Ki[Je($,2).name]=[{name:"wrapper",func:$}],O.prototype.clone=function(){var t=new O(this.__wrapped__);return t.__actions__=Me(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Me(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Me(this.__views__),t},O.prototype.reverse=function(){if(this.__filtered__){var t=new O(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},O.prototype.value=function(){var t,n=this.__wrapped__.value(),e=this.__dir__,r=oa(n),u=0>e,i=r?n.length:0;t=0;for(var o=i,a=this.__views__,f=-1,c=a.length;++f<c;){var l=a[f],s=l.size;switch(l.type){case"drop":t+=s;break;case"dropRight":o-=s;break;case"take":o=Ti(o,t+s);break;case"takeRight":t=Mi(t,o-s)}}if(t={start:t,end:o},o=t.start,a=t.end,t=a-o,o=u?a:o-1,a=this.__iteratees__,f=a.length,c=0,l=Ti(t,this.__takeCount__),!r||!u&&i==t&&l==t)return je(n,this.__actions__);r=[];t:for(;t--&&c<l;){for(o+=e,u=-1,i=n[o];++u<f;){var p=a[u],s=p.type,p=(0,p.iteratee)(i);if(2==s)i=p;else if(!p){if(1==s)continue t;break t}}r[c++]=i}return r},e.prototype.at=Do,e.prototype.chain=function(){return Yr(this)},e.prototype.commit=function(){return new u(this.value(),this.__chain__)},e.prototype.next=function(){this.__values__===$&&(this.__values__=wu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},e.prototype.plant=function(t){for(var n,e=this;e instanceof r;){var u=qr(e);u.__index__=0,u.__values__=$,n?i.__wrapped__=u:n=u;var i=u,e=e.__wrapped__}return i.__wrapped__=t,n},e.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof O?(this.__actions__.length&&(t=new O(this)),t=t.reverse(),t.__actions__.push({func:Qr,args:[Kr],thisArg:$}),new u(t,this.__chain__)):this.thru(Kr)},e.prototype.toJSON=e.prototype.valueOf=e.prototype.value=function(){return je(this.__wrapped__,this.__actions__)},e.prototype.first=e.prototype.head,ji&&(e.prototype[ji]=Xr),e}();Nt._=un,void 0!==(r=function(){return un}.call(n,e,n,u))&&(u.exports=r)}).call(this)}).call(n,function(){return this}(),e(13)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,n,e){function r(t,n){return 2==n?function(n,e){return t.apply(void 0,arguments)}:function(n){return t.apply(void 0,arguments)}}function u(t,n){return 2==n?function(n,e){return t(n,e)}:function(n){return t(n)}}function i(t){for(var n=t?t.length:0,e=Array(n);n--;)e[n]=t[n];return e}function o(t){return function(n){return t({},n)}}function a(t,n){return function(){for(var e=arguments.length,r=e-1,u=Array(e);e--;)u[e]=arguments[e];var i=u[n],o=u.slice(0,n);return i&&p.apply(o,i),n!=r&&p.apply(o,u.slice(n+1)),t.apply(this,o)}}function f(t,n){return function(){var e=arguments.length;if(e){for(var r=Array(e);e--;)r[e]=arguments[e];var u=r[0]=n.apply(void 0,r);return t.apply(void 0,r),u}}}function c(t,n,e,p){function h(t,n){if(I.cap){var e=l.iterateeRearg[t];if(e)return x(n,e);var r=!A&&l.iterateeAry[t];if(r)return m(n,r)}return n}function d(t,n,e){return k||I.curry&&e>1?T(n,e):n}function g(t,n,e){if(I.fixed&&(E||!l.skipFixed[t])){var r=l.methodSpread[t],u=r&&r.start;return void 0===u?B(n,e):a(n,u)}return n}function v(t,n,e){return I.rearg&&e>1&&(W||!l.skipRearg[t])?U(n,l.methodRearg[t]||l.aryRearg[e]):n}function _(t,n){n=V(n);for(var e=-1,r=n.length,u=r-1,i=M(Object(t)),o=i;null!=o&&++e<r;){var a=n[e],f=o[a];null==f||F(f)||D(f)||q(f)||(o[a]=M(e==u?f:Object(f))),o=o[a]}return i}function y(t){return K.runInContext.convert(t)(void 0)}function b(t,n){var e=l.aliasToReal[t]||t,r=l.remap[e]||e,u=p;return function(t){var i=A?S:z,o=A?S[r]:n,a=P(P({},u),t);return c(i,e,o,a)}}function m(t,n){return j(t,function(t){return"function"==typeof t?u(t,n):t})}function x(t,n){return j(t,function(t){var e=n.length;return r(U(u(t,e),n),e)})}function j(t,n){return function(){var e=arguments.length;if(!e)return t();for(var r=Array(e);e--;)r[e]=arguments[e];var u=I.rearg?0:e-1;return r[u]=n(r[u]),t.apply(void 0,r)}}function w(t,n,e){var r,u=l.aliasToReal[t]||t,a=n,c=G[u];return c?a=c(n):I.immutable&&(l.mutate.array[u]?a=f(n,i):l.mutate.object[u]?a=f(n,o(n)):l.mutate.set[u]&&(a=f(n,_))),C(Z,function(t){return C(l.aryMethod[t],function(n){if(u==n){var e=l.methodSpread[u],i=e&&e.afterRearg;return r=i?g(u,v(u,a,t),t):v(u,g(u,a,t),t),r=h(u,r),r=d(u,r,t),!1}}),!r}),r||(r=a),r==n&&(r=k?T(r,1):function(){return n.apply(this,arguments)}),r.convert=b(u,n),r.placeholder=n.placeholder=e,r}var A="function"==typeof n,O=n===Object(n);if(O&&(p=e,e=n,n=void 0),null==e)throw new TypeError;p||(p={});var I={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},R=A?e:s,k="curry"in p&&p.curry,E="fixed"in p&&p.fixed,W="rearg"in p&&p.rearg,S=A?e.runInContext():void 0,z=A?e:{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},B=z.ary,P=z.assign,M=z.clone,T=z.curry,C=z.forEach,L=z.isArray,D=z.isError,F=z.isFunction,q=z.isWeakMap,N=z.keys,U=z.rearg,$=z.toInteger,V=z.toPath,Z=N(l.aryMethod),G={castArray:function(t){return function(){var n=arguments[0];return L(n)?t(i(n)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var n=arguments[0],e=arguments[1],r=t(n,e),i=r.length;return I.cap&&"number"==typeof e?(e=e>2?e-2:1,i&&i<=e?r:u(r,e)):r}},mixin:function(t){return function(n){var e=this;if(!F(e))return t(e,Object(n));var r=[];return C(N(n),function(t){F(n[t])&&r.push([t,e.prototype[t]])}),t(e,Object(n)),C(r,function(t){var n=t[1];F(n)?e.prototype[t[0]]=n:delete e.prototype[t[0]]}),e}},nthArg:function(t){return function(n){var e=n<0?1:$(n)+1;return T(t(n),e)}},rearg:function(t){return function(n,e){var r=e?e.length:0;return T(t(n,e),r)}},runInContext:function(n){return function(e){return c(t,n(e),p)}}};if(!O)return w(n,e,R);var K=e,H=[];return C(Z,function(t){C(l.aryMethod[t],function(t){var n=K[l.remap[t]||t];n&&H.push([t,w(t,n,K)])})}),C(N(K),function(t){var n=K[t];if("function"==typeof n){for(var e=H.length;e--;)if(H[e][0]==t)return;n.convert=b(t,n),H.push([t,n])}}),C(H,function(t){K[t[0]]=t[1]}),K.convert=y,K.placeholder=K,C(N(K),function(t){C(l.realToAlias[t]||[],function(n){K[n]=K[t]})}),K}var l=e(15),s=e(16),p=Array.prototype.push;t.exports=c},function(t,n){n.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"},n.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"]},n.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},n.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},n.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},n.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]},n.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}},n.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}},n.realToAlias=function(){var t=Object.prototype.hasOwnProperty,e=n.aliasToReal,r={};for(var u in e){var i=e[u];t.call(r,i)?r[i].push(u):r[i]=[u]}return r}(),n.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"},n.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},n.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,n){t.exports={}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(11),u=(0,r.flow)([r.deburr,(0,r.replace)(/,|\(|\)/g,""),(0,r.replace)(/\s+/g,"_"),(0,r.replace)(/'|’/g,"_039_"),(0,r.replace)("–","-")]),i=(0,r.flow)([r.toLower,u]);n.default={formatIStatsValueKeepCase:u,formatIStatsValue:i},t.exports=n.default}]);; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-homepage-isite-content/language/en-GB/version/2.1.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"homepageBanners":[],"promos":{"primary":"zh38rj6","secondary":"zn8khbk","post16":"zv7qy9q"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-promo/version/1.0.1/zid/zh38rj6', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"image":{"alt":"Games 169 promo","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p07mnt6v.jpg"},"link":{"href":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/www.bbc.co.uk\/bitesize\/collections\/primary-games\/1"},"section":"KS1 & KS2","title":"Play brand new Primary games"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-promo/version/1.0.1/zid/zv7qy9q', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"image":{"alt":"Meta image template","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p0613hx9.jpg"},"link":{"href":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/www.bbc.co.uk\/bitesize\/articles\/z9q4gdm"},"section":"Functional Skills","title":"How to check a payslip"}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-promo/version/1.0.1/zid/zn8khbk', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"image":{"alt":"Eye of a child","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p064ptyp.jpg"},"link":{"href":"https:\/\/web.archive.org\/web\/20200804134034\/https:\/\/www.bbc.co.uk\/bitesize\/articles\/zvwbcj6"},"section":"KS3 Biology","title":"What is DNA?"}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-in-the-spotlight-view","language":"en-GB","version":"1.1.7","_mrrVersion":"2.0.16"},'u39580010266029353'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20200804134034/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20200804134034/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(); } /* u39580010266029353 */</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/20200804134034/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 13:40:34 Aug 04, 2020 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 01:31:54 Nov 26, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.605 exclusion.robots: 0.032 exclusion.robots.policy: 0.019 esindex: 0.012 cdx.remote: 67.81 LoadShardBlock: 177.943 (3) PetaboxLoader3.datanode: 192.441 (4) load_resource: 265.573 PetaboxLoader3.resolve: 108.953 -->