CINXE.COM

All subjects - 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/subjects/","20220130034930","https://web.archive.org/","web","/_static/", "1643514570"); </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>All subjects - BBC Bitesize</title><meta name="description" content="Learning resources for adults, children, parents and teachers organised by subject."><link rel="canonical" href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects"><meta property="og:title" content="All subjects - BBC Bitesize"><meta property="og:description" content="Learning resources for adults, children, parents and teachers organised by 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/20220130034930/https://www.bbc.co.uk/bitesize/subjects"> <script> window.orb_fig_blocking = false window.bbcredirection = { geo: false, device: false }; </script> <!-- Orbit: 3.0.0-1803.b9eb6cd0 --> <!-- Environment: live --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> :root { --bbc-font: ReithSans, Arial, Helvetica, freesans, sans-serif; --bbc-font-legacy: Arial, Helvetica, freesans, sans-serif; } </style> <script nomodule type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/polyfills.bundle.js" async></script> <link rel="stylesheet" href="https://web.archive.org/web/20220130034930cs_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/css/orb-ltr.min.css"> <script src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/require.min.js"></script> <script> // nav-orbit-pollyfills // 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: 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; } </script> <script type="text/javascript"> window.orbitData = {}; var additionalPageProperties = {}; window.orbitData.userProfileUrl = "https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/userprofile"; window.page = { name: 'bitesize.subjects.page' || null, destination: 'BITESIZE' || null, producer: 'BITESIZE' || null, section: 'learn' || null, site: '' || null, contentId: '' || null, contentType: 'index-category' || null, edition: 'domestic' || null, additionalProperties: additionalPageProperties }; window.page.language = 'en'; window.page.language = 'en'; window.page.modal = false; </script> <script type="text/javascript">!function(){var t={53:function(t,e,r){function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){i(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c=r(206),u=r(189);window.bbcpage=c.init(o({},window.page)),window.page=void 0,window.bbcuser=u.init(window,o({},window.user)),window.user=void 0},206:function(t){function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function r(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}t.exports={init:function(t){var e=r({},t);return document.addEventListener("bbc-page-reset",(function(t){var r;t.detail&&t.detail.page&&(r=t.detail.page,e=Object.assign(e,r)),document.dispatchEvent(new Event("bbc-page-updated"))})),{getName:function(){return Promise.resolve(e.name||function(){if("file:"===window.location.protocol)return"local.file";var t=window.location.pathname.replace(/\/$/,"").replace(/^\//,"").replace(/\//g,".");return"".concat(t,".page")}())},getLanguage:function(){return Promise.resolve(e.language)},getDestination:function(){return Promise.resolve(e.destination)},getProducer:function(){return Promise.resolve(e.producer)},getSection:function(){return Promise.resolve(e.section)},getContentType:function(){return Promise.resolve(e.contentType)},getContentId:function(){return Promise.resolve(e.contentId)},getReferrer:function(){return Promise.resolve(window.orb&&null!==window.orb.referrer&&void 0!==window.orb.referrer?window.orb.referrer:document.referrer)},getAdditionalProperties:function(){return Promise.resolve(r({},e.additionalProperties))},loadCSS:function(t){return new Promise((function(e,r){var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.onload=function(){e()},n.href=t,document.getElementsByTagName("head")[0].appendChild(n)}))},isModal:function(){return Promise.resolve(e.modal)}}}}},189:function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function f(t){var e="function"==typeof Map?new Map:void 0;return(f=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return s(t,arguments,h(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),p(n,t)})(t)}function s(t,e,r){return(s=l()?Reflect.construct:function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&p(o,r.prototype),o}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=r(11).loadModule,y=function(t){!function(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)}(o,t);var e,r,n=(e=o,r=l(),function(){var t,n=h(e);if(r){var o=h(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return a(this,t)});function o(){return u(this,o),n.apply(this,arguments)}return o}(f(Error));t.exports={init:function(t,e){var r,n=i({},e),o=null;function c(){if(["X-Country","X-Ip_is_advertise_combined","X-Ip_is_uk_combined"].every((function(t){return!!n[t]})))return Promise.resolve(n);if(!o){var e=t.location.hostname.endsWith(".com")?"com":"co.uk";o=t.fetch("https://web.archive.org/web/20220130034930/https://www.bbc.".concat(e,"/userinfo")).then((function(t){return t.json()}))}return o}function u(t){if(t.status>=200&&t.status<300)return t;var e=new Error(t.statusText);throw e.response=t,e}function a(t){return t.json()}function f(){if(n.ageBand)return Promise.resolve(n);if(!r){if("undefined"==typeof XMLHttpRequest||!("withCredentials"in new XMLHttpRequest))return Promise.resolve(n);r=d(["idcta-v2/idcta-1"]).then((function(e){return e.initiateTokenRefresh().then((function(){return t.fetch(t.orbitData.userProfileUrl,{credentials:"include"}).then(u).then(a).then((function(t){return n=i(i({},n),t)}))}))}))}return r}var s={getHashedId:function(){return d(["idcta-v2/idcta-1"]).then((function(t){return t.getCookieInstance().getHidFromCookie()}))},isSignedIn:function(){return d(["idcta-v2/idcta-1"]).then((function(t){return t&&t.getCookieInstance().hasCookie()}))},getCountry:function(){return c().then((function(t){return t["X-Country"]||"gb"}))},isUKCombined:function(){return c().then((function(t){if(!t["X-Ip_is_uk_combined"])throw new y("missing isUKCombined from userinfo response");return"yes"===t["X-Ip_is_uk_combined"].toLowerCase()}))},canSeeAdverts:function(){return c().then((function(t){if(!t["X-Ip_is_advertise_combined"])throw new y("missing canSeeAdverts from userinfo response");return"yes"===t["X-Ip_is_advertise_combined"].toLowerCase()}))},getAgeBand:function(){return c().then((function(t){return t["X-Age-Band"]?Promise.resolve(t["X-Age-Band"]):s.isSignedIn().then((function(t){if(t)return f().then((function(t){return n["X-Age-Band"]=t["X-Age-Band"],n["X-Age-Band"]||void 0})).catch((function(){return n["X-Age-Band"]||void 0}))}))}))},allowsPerformanceCookies:function(){return d(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("performance")}))},allowsFunctionalCookies:function(){return d(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("personalisation")}))},getCookieValue:function(t){return d(["orb/cookies"]).then((function(e){return e.get(t)}))}};return s},BBCUserError:y}},11:function(t){t.exports={loadModule:function(t){return new Promise((function(e,r){window.require(t,(function(){e.apply(this,arguments)}),(function(t){r(t)}))}))}}},666:function(t){var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),c=new k(n||[]);return i._invoke=function(t,e,r){var n=l;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return C()}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var u=_(c,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var a=s(t,e,r);if("normal"===a.type){if(n=r.done?d:p,a.arg===y)continue;return{value:a.arg,done:r.done}}"throw"===a.type&&(n=d,r.method="throw",r.arg=a.arg)}}}(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={};function v(){}function g(){}function b(){}var w={};w[i]=function(){return this};var m=Object.getPrototypeOf,O=m&&m(m(S([])));O&&O!==r&&n.call(O,i)&&(w=O);var P=b.prototype=v.prototype=Object.create(w);function j(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(o,i,c,u){var a=s(t[o],t,i);if("throw"!==a.type){var f=a.arg,l=f.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return r("throw",t,c,u)}))}u(a.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,_(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function S(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,c=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return c.next=c}}return{next:C}}function C(){return{value:e,done:!0}}return g.prototype=P.constructor=b,b.constructor=g,g.displayName=a(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,a(t,u,"GeneratorFunction")),t.prototype=Object.create(P),t},t.awrap=function(t){return{__await:t}},j(E.prototype),E.prototype[c]=function(){return this},t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new E(f(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},j(P),a(P,u,"Generator"),P[i]=function(){return this},P.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=S,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=n.call(c,"catchLoc"),f=n.call(c,"finallyLoc");if(a&&f){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(a){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:S(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r(666);r(53)}();</script> <script type="module"> window.importmap = {"orbit-drawer":"https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/drawer-api.bundle.js","bbccookies":"https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-library.module.js"}; var e={748:function(e,t,n){function o(){const e={},t={listeners:{},resolves:{}};function n(e,n){e in t.resolves?n(e,t.resolves[e]):t.listeners[e]?t.listeners[e].push(n):t.listeners[e]=[n]}function o(e,n){t.resolves[e]=n;const o=t.listeners[e];o&&(o.forEach((t=>{t(e,n)})),delete t.listeners[e])}function i(t,n,i){n&&!n.splice?function(e,t){o(e,"function"==typeof t?t():t)}(t,n):function(t,n,i){e.require(n,((...e)=>{o(t,i(...e))}))}(t,n,i)}return e.require=function(e,o,i){if(e.splice)if(0===e.length)o();else{const r=[];let c,s=0;void 0!==i&&(c=setTimeout((()=>{console.log("require timeout, dependencies not loaded:",e,r),i()}),3e3));const u=(i,f)=>{if("string"==typeof f){const e=f.includes("callback=")?f:`${f}.js`;return delete t.resolves[i],void function(e,t,n){const o=document.createElement("script");o.type="text/javascript",o.async=!0,o.setAttribute("data-module",e),o.src=t,o.onload=n,document.head.appendChild(o)}(i,e,(()=>{n(i,u)}))}r[e.indexOf(i)]=f,s+=1,s>=e.length&&(clearTimeout(c),o(...r))};e.forEach((e=>{n(e,u)}))}else{const t=e;window.require.config(t)}},e.require.config=function(n){let o;(n.baseUrl||window.location.href.match(/(bbc.co.uk|bbc.com)/))&&(o=new URL(n.baseUrl||"",window.location.href||void 0).toString(),"/"!==o.charAt(o.length-1)&&(o+="/")),Object.keys(n.paths).forEach((t=>{const i=new URL(n.paths[t],o);e.define(t,i.toString())})),n.map&&n.map["*"]&&Object.keys(n.map["*"]).forEach((o=>{const i=n.map["*"][o],r=t.resolves[i];e.define(o,r)}))},e.define=function(e,t,n){"string"!=typeof e?function(e,t){if(document.currentScript){const n=document.currentScript.getAttribute("data-module");n&&i(n,e,t)}}(e,t):i(e,t,n)},e.requirejs=e.require,e.registry=t,e.define.amd=!0,e}n.r(t),n.d(t,{init:function(){return o},default:function(){return o}})},0:function(e){e.exports={loadModule:function(e){return new Promise(((t,n)=>{window.require(e,(function(){t.apply(this,arguments)}),(e=>{n(e)}))}))}}},831:function(e,t,n){const{loadModule:o}=n(0);e.exports=function(e){return function(t){return"string"==typeof t&&e[t]?import(e[t]):o(t)}}}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){const e=n(748),t=n(831);"function"!=typeof window.define&&Object.assign(window,e.init()),window.shimport=t({...window.importmap}),window.importMap=void 0}();</script> <script type="text/javascript"> window.page = undefined; window.user = undefined; </script> <script> window.orb = { worldwideNavlinks: '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/sounds">Sounds</a></li>', } </script> <script src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/api-forge-free.min.js"></script> <link rel="preload" href="https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Rg.woff2" as="font" type="font/woff2" crossorigin> <link rel="preload" href="https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/fonts/reith/2.512/BBCReithSans_W_Bd.woff2" as="font" type="font/woff2" crossorigin> <!-- navid Web Module: 0.2.0-94.c4601dd --> <!-- searchbox Web Module: 3.1.0-426.51f9c3b --> <!-- navpromo Web Module: 3.0.0-288.1dadb12 --> <!-- cookies Web Module: 0.0.3-700.c8b7bd5 --> <!-- useractivityhelper Web Module: 1.0.0-226.c0c3f09 --> <!-- reverb Web Module: 3.3.0 --> <link rel="stylesheet" href="https://web.archive.org/web/20220130034930cs_/https://static.files.bbci.co.uk/account/id-cta/1.54.11-wp/style/id-cta.css"/><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.54.11-wp/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/20220130034930/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&ptrt=' + (ptrt ? ptrt[1] : encodeURIComponent(document.location.href))).replace(/\&amp;/g, '&');var ENDPOINT_TRANSLATIONS = '/idcta/translations?callback=';function hasPromise() {var P = window.Promise;var promiseToString = null;if (P) {try {promiseToString = Object.prototype.toString.call(P.resolve());} catch (e) {/*silently ignored*/}}return (promiseToString === '[object Promise]' && !P.cast);}if (hasPromise()) {define('idcta/es6-promise', function () {return window.Promise;});define('idcta-v2/es6-promise', function () {return window.Promise;});}map['idcta-v2'] = 'https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/account/id-cta/1.54.11-wp/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/20220130034930/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/account/id-cta/1.54.11-wp/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20220130034930/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> <link rel="stylesheet" href="https://web.archive.org/web/20220130034930cs_/https://nav.files.bbci.co.uk/searchbox/673d2fd4b41402fbc67f17c242a70e9c/css/box.css"> <script src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-library.bundle.js"></script><script type="text/javascript">void 0!==window.define&&define("orb/cookies",function(){return window.bbccookies})</script> <script type="text/javascript">window.__detectview={clickManagementEnabled:false};</script> <script type="text/javascript">"use strict";!function(){window.__reverbStaticLocation="https://web.archive.org/web/20220130034930/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/",window.__smarttagVersion="5.29.1",window.__reverb={},window.__reverb.__reverbLoadedPromise=new Promise(function(e,i){window.__reverb.__resolveReverbLoaded=e,window.__reverb.__rejectReverbLoaded=i}),window.__reverb.__reverbTimeout=setTimeout(function(){window.__reverb.__rejectReverbLoaded()},5e3);var i=function(d,a){window.__reverb.__reverbLoadedPromise.then(function(e){if(d&&d.detail){var i=!!d.detail.item,n=d.detail.label,t=i?"viewability":d.detail.type,o=d.detail.elem,r=d.detail.originalEvent;d.detail.isClick&&(a=d.detail.isClick),e.userActionEvent(t,n,d.detail,o,r,a)}},function(){console.log("Reverb failed to load. Event not sent")})},n=function(){window.__reverb.__reverbLoadedPromise.then(function(e){e.initialise().then(function(){return e.viewEvent()})},function(){console.log("Reverb failed to load. Event not sent")})};document.addEventListener("bbc-user-event",function(e){i(e,!1)}),document.addEventListener("bbc-user-click",function(e){i(e,!0)}),document.addEventListener("bbc-page-updated",n),window.addEventListener("pageshow",function(e){e.persisted&&n()})}();</script><script type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://mybbc-analytics.files.bbci.co.uk/reverb-client-js/reverb-3.3.0.js" async></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(); /* u8770904639335848 */</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/20220130034930cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.127.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.127.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.127.0/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20220130034930cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.55.0/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.55.0"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.55.0/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u7207287885734264 */</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}.all-subjects{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;margin-bottom:32px;margin-top:32px}.all-subjects-list{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;margin:0;padding:0}@media (min-width:37.5em){.all-subjects-list{-moz-column-count:2;-webkit-column-count:2;column-count:2}}@media (min-width:56.25em){.all-subjects-list{-moz-column-count:3;-webkit-column-count:3;column-count:3}}.all-subjects__item{border-bottom:2px solid #f1f1f1;list-style:none;margin-bottom:4px}@media (min-width:37.5em){.all-subjects__item{-webkit-column-break-inside:avoid;border-bottom:0;break-inside:avoid;page-break-inside:avoid}}.all-subjects__item-link{-webkit-text-decoration-color:#e5640f;border:4px solid transparent;box-sizing:border-box;color:#231f20;display:inline-block;font-weight:700;text-decoration:underline;text-decoration-color:#e5640f}@media (min-width:37.5em){.all-subjects__item-link{padding:8px 0}}.all-subjects__item-link:visited{color:#706d66;text-decoration-color:#ea800f}.all-subjects__item-link:focus{border:4px solid #1a9bf0;color:#231f20;display:block;outline:none}.all-subjects__item-link:hover{color:#e5640f;text-decoration:none}.all-subjects__item-link-text{margin:0;padding:8px 0}@media (min-width:37.5em){.all-subjects__item-link-text{padding:0}}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-all-subjects-list-view/2.2.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}.all-subjects{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;margin-bottom:32px;margin-top:32px}@media (min-width:25em){.all-subjects{padding-left:16px;padding-right:16px}}.all-subjects-list{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem;margin:0;padding:0}@media (min-width:37.5em){.all-subjects-list{font-size:21px;font-size:1.3125rem;line-height:24px;line-height:1.5rem}.n-no-touchevents .all-subjects-list{font-size:20px;font-size:1.25rem}}@media (min-width:37.5em){.all-subjects-list{-moz-column-count:2;-webkit-column-count:2;column-count:2}}@media (min-width:56.25em){.all-subjects-list{-moz-column-count:3;-webkit-column-count:3;column-count:3}}.all-subjects__item{border-bottom:2px solid #f1f1f1;list-style:none;margin-bottom:4px}@media (min-width:37.5em){.all-subjects__item{-webkit-column-break-inside:avoid;border-bottom:0;break-inside:avoid;page-break-inside:avoid}}.all-subjects__item-link{-webkit-text-decoration-color:#e5640f;border:4px solid transparent;box-sizing:border-box;color:#231f20;display:inline-block;font-weight:700;text-decoration:underline;text-decoration-color:#e5640f}@media (min-width:37.5em){.all-subjects__item-link{padding:8px 0}}.all-subjects__item-link:visited{color:#706d66;text-decoration-color:#ea800f}.all-subjects__item-link:focus{border:4px solid #1a9bf0;color:#231f20;display:block;outline:none}.all-subjects__item-link:hover{color:#e5640f;text-decoration:none}.all-subjects__item-link-text{margin:0;padding:8px 0}@media (min-width:37.5em){.all-subjects__item-link-text{padding:0}}</style>"); }</script><script type="text/javascript">Morph.initStyles(); /* u8307378109654328 */</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> <div id="cookiePrompt"></div> <noscript><p style="position: absolute; top: -999em"><img src="https://web.archive.org/web/20220130034930im_/https://a1.api.bbc.co.uk/hit.xiti?&amp;col=1&amp;from=p&amp;ptag=js&amp;s=598253&amp;p=learn::bitesize.subjects.page&amp;x2=[responsive]&amp;x3=[bbc_website]&amp;x4=[en-GB]&amp;x7=[index-category]&amp;x8=[reverb-3.3.0-nojs]&amp;x11=[BITESIZE]&amp;x12=[BITESIZE]" height="1" width="1" alt=""></p></noscript> <header id="orb-banner" role="banner" aria-label="BBC"><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/20220130034930/https://www.bbc.co.uk/" id="homepage-link">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/20220130034930/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="{&quot;id-cta-type&quot;: &quot;statusbar-orb&quot;}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20220130034930/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/20220130034930/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20220130034930/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/20220130034930/https://search.bbc.co.uk/search?scope=bitesize" title="Search the BBC">Search</a><form class="b-f" id="orb-search-form" role="search" method="get" action="https://web.archive.org/web/20220130034930/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" value="bitesize"><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 Bitesize"><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="u8770904639335848"><noscript data-reactid=".io21sn437k" data-react-checksum="-1588391777"></noscript></div><div id="u7207287885734264"><div class="bitesize-header--pageType" data-reactid=".2axbhm5qmj2" data-react-checksum="1959951557"><div class="bitesize-header-background" data-reactid=".2axbhm5qmj2.0"></div><noscript data-reactid=".2axbhm5qmj2.1"></noscript><div data-reactid=".2axbhm5qmj2.2"><div class="global-navigation" data-reactid=".2axbhm5qmj2.2.0"><header class="global-navigation__header" data-reactid=".2axbhm5qmj2.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".2axbhm5qmj2.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".2axbhm5qmj2.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/20220130034930/https://www.bbc.co.uk/bitesize" data-reactid=".2axbhm5qmj2.2.0.0.0.0.0">Bitesize</a></span><button type="button" data-bbc-container="global-navigation" data-bbc-title="AllBitesize" data-bbc-ignore-views="1" data-bbc-result="expand-menu/collapse-menu" class="global-navigation__header__menu-button" aria-label="Open menu" data-reactid=".2axbhm5qmj2.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".2axbhm5qmj2.2.0.0.0.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".2axbhm5qmj2.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".2axbhm5qmj2.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".2axbhm5qmj2.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".2axbhm5qmj2.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".2axbhm5qmj2.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".2axbhm5qmj2.2.0.1.0"><div class="global-language-selector" data-reactid=".2axbhm5qmj2.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".2axbhm5qmj2.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".2axbhm5qmj2.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".2axbhm5qmj2.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".2axbhm5qmj2.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.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=".2axbhm5qmj2.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=".2axbhm5qmj2.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=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".2axbhm5qmj2.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".2axbhm5qmj2.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize" data-bbc-container="global-navigation" data-bbc-title="Home" data-bbc-ignore-views="1" data-bbc-result="/bitesize" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$learn"><a class="global-navigation__list__link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/learn" data-bbc-container="global-navigation" data-bbc-title="Learn" data-bbc-ignore-views="1" data-bbc-result="/bitesize/learn" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$learn.0"><span class="global-navigation__list__link-text" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$learn.0.0">Learn</span></a></li><li class="global-navigation__list__item" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/support" data-bbc-container="global-navigation" data-bbc-title="Support" data-bbc-ignore-views="1" data-bbc-result="/bitesize/support" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/careers" data-bbc-container="global-navigation" data-bbc-title="Careers" data-bbc-ignore-views="1" data-bbc-result="/bitesize/careers" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".2axbhm5qmj2.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".2axbhm5qmj2.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".2axbhm5qmj2.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".2axbhm5qmj2.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/my" data-bbc-container="global-navigation" data-bbc-title="MyBitesize" data-bbc-ignore-views="1" data-bbc-result="/bitesize/my" data-reactid=".2axbhm5qmj2.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.1.1.0.$all-bitesize"><button type="button" data-bbc-container="global-navigation" data-bbc-title="AllBitesize" data-bbc-ignore-views="1" data-bbc-result="expanded-menu" 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=".2axbhm5qmj2.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".2axbhm5qmj2.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".2axbhm5qmj2.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".2axbhm5qmj2.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=".2axbhm5qmj2.2.0.1.0.1.1.0.$all-bitesize.0.1">All Bitesize</span></button></li></ul></li></ul></div></nav></div><div class="header-image-container header-image-container--homepage header-image-no-logo header-image-container--no-illustration" aria-hidden="false" data-reactid=".2axbhm5qmj2.2.1"><div class="header-image-container__wrap" data-reactid=".2axbhm5qmj2.2.1.0"><header class="context-panel" data-reactid=".2axbhm5qmj2.2.1.0.1"><div data-reactid=".2axbhm5qmj2.2.1.0.1.1"><div class="context-panel__header-container" data-reactid=".2axbhm5qmj2.2.1.0.1.1.0"><h1 class="context-panel__header" data-reactid=".2axbhm5qmj2.2.1.0.1.1.0.1">All subjects</h1></div><div class="context-panel__description-container" data-reactid=".2axbhm5qmj2.2.1.0.1.1.1"><p class="context-panel__description" data-reactid=".2axbhm5qmj2.2.1.0.1.1.1.0">Learning resources for adults, children, parents and teachers organised by subject.</p></div><span data-reactid=".2axbhm5qmj2.2.1.0.1.1.2"></span><div class="context-label" data-reactid=".2axbhm5qmj2.2.1.0.1.1.3"><div class="context-label__title" data-reactid=".2axbhm5qmj2.2.1.0.1.1.3.0">Part of</div><div class="context-label__items" data-reactid=".2axbhm5qmj2.2.1.0.1.1.3.1"><div class="context-label__item" data-reactid=".2axbhm5qmj2.2.1.0.1.1.3.1.0"><a class="context-label__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/learn" data-bbc-container="context-navigation" data-bbc-metadata="{&quot;CHD&quot;:&quot;part-of-section&quot;}" data-reactid=".2axbhm5qmj2.2.1.0.1.1.3.1.0.0">Learn &amp; revise</a></div></div></div><noscript data-reactid=".2axbhm5qmj2.2.1.0.1.1.6"></noscript></div></header></div></div></div></div></div><div id="u8307378109654328"><div class="all-subjects" data-reactid=".vyjrpbaoru" data-react-checksum="-475911734"><ol class="all-subjects-list" data-reactid=".vyjrpbaoru.0"><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z8tnvcw"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z8tnvcw" data-reactid=".vyjrpbaoru.0.$z8tnvcw.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z8tnvcw.0.0">Art and Design</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z2svr82"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z2svr82" data-reactid=".vyjrpbaoru.0.$z2svr82.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z2svr82.0.0">Biology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zjnygk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zjnygk7" data-reactid=".vyjrpbaoru.0.$zjnygk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zjnygk7.0.0">Business</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zkmngk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zkmngk7" data-reactid=".vyjrpbaoru.0.$zkmngk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zkmngk7.0.0">Business management</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zmf3cdm"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zmf3cdm" data-reactid=".vyjrpbaoru.0.$zmf3cdm.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zmf3cdm.0.0">Chemistry</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zft3d2p"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zft3d2p" data-reactid=".vyjrpbaoru.0.$zft3d2p.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zft3d2p.0.0">Computing</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zf48q6f"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zf48q6f" data-reactid=".vyjrpbaoru.0.$zf48q6f.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zf48q6f.0.0">Cymraeg</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zg9jtfr"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zg9jtfr" data-reactid=".vyjrpbaoru.0.$zg9jtfr.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zg9jtfr.0.0">Dance</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z3vrwmn"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z3vrwmn" data-reactid=".vyjrpbaoru.0.$z3vrwmn.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z3vrwmn.0.0">Design and manufacture</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zykw2hv"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zykw2hv" data-reactid=".vyjrpbaoru.0.$zykw2hv.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zykw2hv.0.0">Design and Technology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zxtbng8"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zxtbng8" data-reactid=".vyjrpbaoru.0.$zxtbng8.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zxtbng8.0.0">Digital Technology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zk6pyrd"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zk6pyrd" data-reactid=".vyjrpbaoru.0.$zk6pyrd.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zk6pyrd.0.0">Drama</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zb3cjxs"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zb3cjxs" data-reactid=".vyjrpbaoru.0.$zb3cjxs.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zb3cjxs.0.0">Engineering science</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zt3rkqt"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zt3rkqt" data-reactid=".vyjrpbaoru.0.$zt3rkqt.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zt3rkqt.0.0">English</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zhbc87h"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zhbc87h" data-reactid=".vyjrpbaoru.0.$zhbc87h.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zhbc87h.0.0">English Literature</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zkpv9j6"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zkpv9j6" data-reactid=".vyjrpbaoru.0.$zkpv9j6.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zkpv9j6.0.0">Expressive Arts</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zgb4q6f"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zgb4q6f" data-reactid=".vyjrpbaoru.0.$zgb4q6f.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zgb4q6f.0.0">Fashion and textile technology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zc7xpv4"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zc7xpv4" data-reactid=".vyjrpbaoru.0.$zc7xpv4.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zc7xpv4.0.0">French</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zgj2tfr"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zgj2tfr" data-reactid=".vyjrpbaoru.0.$zgj2tfr.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zgj2tfr.0.0">Gaelic</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zqnygk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zqnygk7" data-reactid=".vyjrpbaoru.0.$zqnygk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zqnygk7.0.0">Gaelic (Learners)</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z2f3cdm"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z2f3cdm" data-reactid=".vyjrpbaoru.0.$z2f3cdm.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z2f3cdm.0.0">Geography</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z426n39"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z426n39" data-reactid=".vyjrpbaoru.0.$z426n39.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z426n39.0.0">German</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zcrk2hv"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zcrk2hv" data-reactid=".vyjrpbaoru.0.$zcrk2hv.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zcrk2hv.0.0">Graphic communication</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z4c8mp3"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z4c8mp3" data-reactid=".vyjrpbaoru.0.$z4c8mp3.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z4c8mp3.0.0">Health and food technology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zv6sr82"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zv6sr82" data-reactid=".vyjrpbaoru.0.$zv6sr82.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zv6sr82.0.0">Health and wellbeing</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z7svr82"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z7svr82" data-reactid=".vyjrpbaoru.0.$z7svr82.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z7svr82.0.0">History</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zm6wfg8"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zm6wfg8" data-reactid=".vyjrpbaoru.0.$zm6wfg8.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zm6wfg8.0.0">Home Economics: Food and Nutrition</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z94dxnb"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z94dxnb" data-reactid=".vyjrpbaoru.0.$z94dxnb.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z94dxnb.0.0">Hospitality</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zf9d7ty"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zf9d7ty" data-reactid=".vyjrpbaoru.0.$zf9d7ty.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zf9d7ty.0.0">ICT</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z3cr9j6"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z3cr9j6" data-reactid=".vyjrpbaoru.0.$z3cr9j6.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z3cr9j6.0.0">Irish (Learners)</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zrdv3k7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zrdv3k7" data-reactid=".vyjrpbaoru.0.$zrdv3k7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zrdv3k7.0.0">Irish Language</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z86pyrd"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z86pyrd" data-reactid=".vyjrpbaoru.0.$z86pyrd.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z86pyrd.0.0">Italian</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z8hscj6"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z8hscj6" data-reactid=".vyjrpbaoru.0.$z8hscj6.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z8hscj6.0.0">Journalism</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zsykb82"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zsykb82" data-reactid=".vyjrpbaoru.0.$zsykb82.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zsykb82.0.0">Learning for Life and Work</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z8mfsk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z8mfsk7" data-reactid=".vyjrpbaoru.0.$z8mfsk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z8mfsk7.0.0">Learning for Sustainability</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z37qtfr"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z37qtfr" data-reactid=".vyjrpbaoru.0.$z37qtfr.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z37qtfr.0.0">Lifeskills Maths</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z8rdtfr"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z8rdtfr" data-reactid=".vyjrpbaoru.0.$z8rdtfr.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z8rdtfr.0.0">Literacy and English</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zkxhfg8"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zkxhfg8" data-reactid=".vyjrpbaoru.0.$zkxhfg8.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zkxhfg8.0.0">Mandarin</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z6vg9j6"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z6vg9j6" data-reactid=".vyjrpbaoru.0.$z6vg9j6.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z6vg9j6.0.0">Maths</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zwpfb9q"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zwpfb9q" data-reactid=".vyjrpbaoru.0.$zwpfb9q.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zwpfb9q.0.0">Media Studies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zrqmhyc"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zrqmhyc" data-reactid=".vyjrpbaoru.0.$zrqmhyc.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zrqmhyc.0.0">Modern Foreign Languages</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z9frq6f"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z9frq6f" data-reactid=".vyjrpbaoru.0.$z9frq6f.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z9frq6f.0.0">Modern Languages</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zs48q6f"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zs48q6f" data-reactid=".vyjrpbaoru.0.$zs48q6f.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zs48q6f.0.0">Modern Studies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zydqpbk"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zydqpbk" data-reactid=".vyjrpbaoru.0.$zydqpbk.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zydqpbk.0.0">Moving Image Arts</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z9xhfg8"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z9xhfg8" data-reactid=".vyjrpbaoru.0.$z9xhfg8.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z9xhfg8.0.0">Music</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zvcjpv4"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zvcjpv4" data-reactid=".vyjrpbaoru.0.$zvcjpv4.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zvcjpv4.0.0">Music Technology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z4bt4wx"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z4bt4wx" data-reactid=".vyjrpbaoru.0.$z4bt4wx.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z4bt4wx.0.0">PDMU</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zjmh34j"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zjmh34j" data-reactid=".vyjrpbaoru.0.$zjmh34j.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zjmh34j.0.0">People in society, economy and business</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z76ngk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z76ngk7" data-reactid=".vyjrpbaoru.0.$z76ngk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z76ngk7.0.0">People, past events and societies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zdgk2hv"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zdgk2hv" data-reactid=".vyjrpbaoru.0.$zdgk2hv.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zdgk2hv.0.0">People, place and environment</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zdhs34j"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zdhs34j" data-reactid=".vyjrpbaoru.0.$zdhs34j.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zdhs34j.0.0">Physical Education</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zxyb4wx"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zxyb4wx" data-reactid=".vyjrpbaoru.0.$zxyb4wx.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zxyb4wx.0.0">Physics</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z7f3cdm"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z7f3cdm" data-reactid=".vyjrpbaoru.0.$z7f3cdm.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z7f3cdm.0.0">PSHE and Citizenship</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zqxpb9q"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zqxpb9q" data-reactid=".vyjrpbaoru.0.$zqxpb9q.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zqxpb9q.0.0">Religious and moral education</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zmyb4wx"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zmyb4wx" data-reactid=".vyjrpbaoru.0.$zmyb4wx.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zmyb4wx.0.0">Religious Studies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zdcwhyc"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zdcwhyc" data-reactid=".vyjrpbaoru.0.$zdcwhyc.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zdcwhyc.0.0">Religious, moral and philosophical studies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z7nygk7"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z7nygk7" data-reactid=".vyjrpbaoru.0.$z7nygk7.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z7nygk7.0.0">Science</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z2tsr82"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z2tsr82" data-reactid=".vyjrpbaoru.0.$z2tsr82.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z2tsr82.0.0">Social Studies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z33d7ty"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z33d7ty" data-reactid=".vyjrpbaoru.0.$z33d7ty.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z33d7ty.0.0">Sociology</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z9mtsbk"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z9mtsbk" data-reactid=".vyjrpbaoru.0.$z9mtsbk.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z9mtsbk.0.0">Spanish</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zrg97ty"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zrg97ty" data-reactid=".vyjrpbaoru.0.$zrg97ty.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zrg97ty.0.0">Technologies</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zr3t4wx"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zr3t4wx" data-reactid=".vyjrpbaoru.0.$zr3t4wx.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zr3t4wx.0.0">The World Around Us</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$z4ygxnb"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/z4ygxnb" data-reactid=".vyjrpbaoru.0.$z4ygxnb.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$z4ygxnb.0.0">Ulster Scots</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zx2vw6f"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zx2vw6f" data-reactid=".vyjrpbaoru.0.$zx2vw6f.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zx2vw6f.0.0">Welsh Baccalaureate</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zy9d7ty"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zy9d7ty" data-reactid=".vyjrpbaoru.0.$zy9d7ty.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zy9d7ty.0.0">Welsh Literature</p></a></li><li class="all-subjects__item" data-reactid=".vyjrpbaoru.0.$zjpfb9q"><a class="all-subjects__item-link" href="/web/20220130034930/https://www.bbc.co.uk/bitesize/subjects/zjpfb9q" data-reactid=".vyjrpbaoru.0.$zjpfb9q.0"><p class="all-subjects__item-link-text" data-reactid=".vyjrpbaoru.0.$zjpfb9q.0.0">Welsh Second Language</p></a></li></ol></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/20220130034930/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20220130034930/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 = window.orb || {}; window.orb.worldwideFooterlinks = '<li class="orb-footer-ads"><a href="https://web.archive.org/web/20220130034930/https://www.bbcglobalnews.com/">Advertise with us<' + '/a><' + '/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.com/usingthebbc/cookies/how-does-the-bbc-use-cookies-for-advertising/">AdChoices / Do Not Sell My Info<' + '/a><' + '/li>';</script><div class="orb-footer-inner"><div><ul><li class="orb-footer-terms"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20220130034930/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright &copy; 2022 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/20220130034930/https://www.bbc.co.uk/editorialguidelines/guidance/feeds-and-links" class="orb-hilight">Read about our approach to external linking.</a></span></small></div></div></div></footer></div><script type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/redirect.bundle.js" async=""></script><script type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/performance.bundle.js" data-release="3.0.0-1803.b9eb6cd0" data-ux="orb" data-reqjs="" async=""></script><script id="orb-js-script" data-assetpath="https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/" src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/orb.min.js"></script><script type="module" src="https://web.archive.org/web/20220130034930jm_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/orbit.js" async=""></script><script nomodule="" type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/legacyOrbit.js" async=""></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/20220130034930/https://static.files.bbci.co.uk/orbit/44a2d49d458b88eb03980c4971766759/js/edr.min.js'); } }); }); /*]]>*/</script> <script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20220130034930/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/templates', "mybbc/notifications": '//web.archive.org/web/20220130034930/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/js' } }); require(['mybbc/notifications/NotificationsMain', 'idcta/idcta-1'], function (NotificationsMain, idcta) { var loadNotifications = function (isUK) { if (isUK) { window.bbcpage.loadCSS('//web.archive.org/web/20220130034930/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20220130034930/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/'); }); } }; window.bbcuser.isUKCombined().then(function(isUK) { loadNotifications(isUK); }); });</script> <script type="module">if (window.bbcuser && window.bbcuser.isUKCombined) { bbcuser.isUKCombined().then(function (isUK) { if (isUK) { const script = document.createElement('script'); script.src = 'https://web.archive.org/web/20220130034930/https://nav.files.bbci.co.uk/searchbox/673d2fd4b41402fbc67f17c242a70e9c//js/old-search-suggest.js'; script.async = true; script.setAttribute('data-static-prefix', 'https://web.archive.org/web/20220130034930/https://nav.files.bbci.co.uk/searchbox/673d2fd4b41402fbc67f17c242a70e9c/'); script.setAttribute('data-variant', 'default'); script.setAttribute('data-scope', 'bitesize'); document.head.appendChild(script); } }); }</script> <script type="text/javascript" src="https://web.archive.org/web/20220130034930js_/https://nav.files.bbci.co.uk/navpromo/34f98a4c8573fabed16dc8acea28feb8/js/footerpromo.js" data-base="https://navpromo.api.bbci.co.uk" data-variant="" async=""></script> <script type="text/javascript">window.COOKIES_STATIC_HOST="https://web.archive.org/web/20220130034930/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-prompt/"</script><script src="https://web.archive.org/web/20220130034930js_/https://static.files.bbci.co.uk/cookies/6868f40b6841deedfcf9895de775e1ab/cookie-banner/cookie-banners.bundle.js" async=""></script> <script src="https://web.archive.org/web/20220130034930js_/https://nav.files.bbci.co.uk//user-activity-helper/a8196ecdef2d10b40b1afc53b833773a/js/detectview.bundle.js" async=""></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>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.2.1"},'u8770904639335848'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.13/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u8770904639335848 */</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=74)}([function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(20)("wks"),a=n(14),o=n(2).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){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(0);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(2),a=n(8),o=n(7),i=n(14)("src"),u=n(84),l=(""+u).split("toString");n(13).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){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(9),a=n(22);e.exports=n(4)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(3),a=n(51),o=n(36),i=Object.defineProperty;t.f=n(4)?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){var r=n(37),a=n(39);e.exports=function(e){return r(a(e))}},function(e,t){e.exports=React},function(e,t,n){"use strict";var r=n(82),a=n(83),o=n(15),i=n(10);e.exports=n(53)(Array,"Array",function(e,t){this._t=i(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,a(1)):"keys"==t?a(0,n):"values"==t?a(0,e[n]):a(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},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,t,n){var r=n(54),a=n(45);e.exports=Object.keys||function(e){return r(e,a)}},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(48),o=n(115),i=n(116),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){for(var r=n(12),a=n(16),o=n(5),i=n(2),u=n(8),l=n(15),c=n(1),f=c("iterator"),s=c("toStringTag"),d=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},g=a(p),h=0;h<g.length;h++){var y,b=g[h],v=p[b],m=i[b],_=m&&m.prototype;if(_&&(_[f]||u(_,f,d),_[s]||u(_,s,b),l[b]=d,v))for(y in r)_[y]||o(_,y,r[y],!0)}},function(e,t,n){var r=n(13),a=n(2),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(21)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports=!1},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(2),a=n(13),o=n(8),i=n(5),u=n(24),l=function(e,t,n){var c,f,s,d,p=e&l.F,g=e&l.G,h=e&l.S,y=e&l.P,b=e&l.B,v=g?r:h?r[t]||(r[t]={}):(r[t]||{}).prototype,m=g?a:a[t]||(a[t]={}),_=m.prototype||(m.prototype={});g&&(n=t);for(c in n)f=!p&&v&&void 0!==v[c],s=(f?v:n)[c],d=b&&f?u(s,r):y&&"function"==typeof s?u(Function.call,s):s,v&&i(v,c,s,e&l.U),m[c]!=s&&o(m,c,d),y&&_[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){var r=n(40);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,n){var r=n(9).f,a=n(7),o=n(1)("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(39);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(91)(!0);n(53)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r,a=n(2),o=n(55)(0),i=n(5),u=n(29),l=n(94),c=n(95),f=n(0),s=n(47),d=n(47),p=!a.ActiveXObject&&"ActiveXObject"in a,g=u.getWeak,h=Object.isExtensible,y=c.ufstore,b=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(e){if(f(e)){var t=g(e);return!0===t?y(s(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(s(this,"WeakMap"),e,t)}},m=e.exports=n(99)("WeakMap",b,v,c,!0,!0);d&&p&&(r=c.getConstructor(b,"WeakMap"),l(r.prototype,v),u.NEED=!0,o(["delete","has","get","set"],function(e){var t=m.prototype,n=t[e];i(t,e,function(t,a){if(f(t)&&!h(t)){this._f||(this._f=new r);var o=this._f[e](t,a);return"set"==e?this:o}return n.call(this,t,a)})}))},function(e,t,n){var r=n(14)("meta"),a=n(0),o=n(7),i=n(9).f,u=0,l=Object.isExtensible||function(){return!0},c=!n(6)(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){t.f={}.propertyIsEnumerable},function(e,t,n){n(62)("asyncIterator")},function(e,t,n){"use strict";var r=n(2),a=n(7),o=n(4),i=n(23),u=n(5),l=n(29).KEY,c=n(6),f=n(20),s=n(25),d=n(14),p=n(1),g=n(63),h=n(62),y=n(103),b=n(56),v=n(3),m=n(0),_=n(26),w=n(10),x=n(36),O=n(22),j=n(41),E=n(104),S=n(61),k=n(46),z=n(9),P=n(16),R=S.f,T=z.f,C=E.f,N=r.Symbol,M=r.JSON,A=M&&M.stringify,D=p("_hidden"),q=p("toPrimitive"),L={}.propertyIsEnumerable,B=f("symbol-registry"),F=f("symbols"),G=f("op-symbols"),I=Object.prototype,W="function"==typeof N&&!!k.f,H=r.QObject,U=!H||!H.prototype||!H.prototype.findChild,K=o&&c(function(){return 7!=j(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=R(I,t);r&&delete I[t],T(e,t,n),r&&e!==I&&T(I,t,r)}:T,V=function(e){var t=F[e]=j(N.prototype);return t._k=e,t},Z=W&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},Y=function(e,t,n){return e===I&&Y(G,t,n),v(e),t=x(t,!0),v(n),a(F,t)?(n.enumerable?(a(e,D)&&e[D][t]&&(e[D][t]=!1),n=j(n,{enumerable:O(0,!1)})):(a(e,D)||T(e,D,O(1,{})),e[D][t]=!0),K(e,t,n)):T(e,t,n)},$=function(e,t){v(e);for(var n,r=y(t=w(t)),a=0,o=r.length;o>a;)Y(e,n=r[a++],t[n]);return e},J=function(e,t){return void 0===t?j(e):$(j(e),t)},Q=function(e){var t=L.call(this,e=x(e,!0));return!(this===I&&a(F,e)&&!a(G,e))&&(!(t||!a(this,e)||!a(F,e)||a(this,D)&&this[D][e])||t)},X=function(e,t){if(e=w(e),t=x(t,!0),e!==I||!a(F,t)||a(G,t)){var n=R(e,t);return!n||!a(F,t)||a(e,D)&&e[D][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=C(w(e)),r=[],o=0;n.length>o;)a(F,t=n[o++])||t==D||t==l||r.push(t);return r},te=function(e){for(var t,n=e===I,r=C(n?G:w(e)),o=[],i=0;r.length>i;)!a(F,t=r[i++])||n&&!a(I,t)||o.push(F[t]);return o};W||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===I&&t.call(G,n),a(this,D)&&a(this[D],e)&&(this[D][e]=!1),K(this,e,O(1,n))};return o&&U&&K(I,e,{configurable:!0,set:t}),V(e)},u(N.prototype,"toString",function(){return this._k}),S.f=X,z.f=Y,n(64).f=E.f=ee,n(30).f=Q,k.f=te,o&&!n(21)&&u(I,"propertyIsEnumerable",Q,!0),g.f=function(e){return V(p(e))}),i(i.G+i.W+i.F*!W,{Symbol:N});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var ae=P(p.store),oe=0;ae.length>oe;)h(ae[oe++]);i(i.S+i.F*!W,"Symbol",{for:function(e){return a(B,e+="")?B[e]:B[e]=N(e)},keyFor:function(e){if(!Z(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),i(i.S+i.F*!W,"Object",{create:J,defineProperty:Y,defineProperties:$,getOwnPropertyDescriptor:X,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ie=c(function(){k.f(1)});i(i.S+i.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(_(e))}}),M&&i(i.S+i.F*(!W||c(function(){var e=N();return"[null]"!=A([e])||"{}"!=A({a:e})||"{}"!=A(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)&&!Z(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Z(t))return t}),r[1]=t,A.apply(M,r)}}),N.prototype[q]||n(8)(N.prototype,q,N.prototype.valueOf),s(N,"Symbol"),s(Math,"Math",!0),s(r.JSON,"JSON",!0)},function(e,t,n){"use strict";n(105);var r=n(3),a=n(65),o=n(4),i=/./.toString,u=function(e){n(5)(RegExp.prototype,"toString",e,!0)};n(6)(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?a.call(e):void 0)}):"toString"!=i.name&&u(function(){return i.call(this)})},function(e,t,n){"use strict";var r=n(60),a={};a[n(1)("toStringTag")]="z",a+""!="[object z]"&&n(5)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(23),a=n(41),o=n(40),i=n(3),u=n(0),l=n(6),c=n(106),f=(n(2).Reflect||{}).construct,s=l(function(){function e(){}return!(f(function(){},[],e)instanceof e)}),d=!l(function(){f(function(){})});r(r.S+r.F*(s||d),"Reflect",{construct:function(e,t){o(e),i(t);var n=arguments.length<3?e:o(arguments[2]);if(d&&!s)return f(e,t,n);if(e==n){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])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,p=a(u(l)?l:Object.prototype),g=Function.apply.call(e,p,t);return u(g)?g:p}})},function(e,t,n){var r=n(0);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(38);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){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(3),a=n(86),o=n(45),i=n(44)("IE_PROTO"),u=function(){},l=function(){var e,t=n(52)("iframe"),r=o.length;for(t.style.display="none",n(89).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(43),a=Math.min;e.exports=function(e){return e>0?a(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(20)("keys"),a=n(14);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(0);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(67),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(149);e.exports=r},function(e,t,n){e.exports=!n(4)&&!n(6)(function(){return 7!=Object.defineProperty(n(52)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(0),a=n(2).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){"use strict";var r=n(21),a=n(23),o=n(5),i=n(8),u=n(15),l=n(85),c=n(25),f=n(90),s=n(1)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,g,h,y,b){l(n,t,g);var v,m,_,w=function(e){if(!d&&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)}},x=t+" Iterator",O="values"==h,j=!1,E=e.prototype,S=E[s]||E["@@iterator"]||h&&E[h],k=S||w(h),z=h?O?w("entries"):k:void 0,P="Array"==t?E.entries||S:S;if(P&&(_=f(P.call(new e)))!==Object.prototype&&_.next&&(c(_,x,!0),r||"function"==typeof _[s]||i(_,s,p)),O&&S&&"values"!==S.name&&(j=!0,k=function(){return S.call(this)}),r&&!b||!d&&!j&&E[s]||i(E,s,k),u[t]=k,u[x]=p,h)if(v={values:O?k:w("values"),keys:y?k:w("keys"),entries:z},b)for(m in v)m in E||o(E,m,v[m]);else a(a.P+a.F*(d||j),t,v);return v}},function(e,t,n){var r=n(7),a=n(10),o=n(87)(!1),i=n(44)("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,n){var r=n(24),a=n(37),o=n(26),i=n(42),u=n(92);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,f=4==e,s=6==e,d=5==e||s,p=t||u;return function(t,u,g){for(var h,y,b=o(t),v=a(b),m=r(u,g,3),_=i(v.length),w=0,x=n?p(t,_):l?p(t,0):void 0;_>w;w++)if((d||w in v)&&(h=v[w],y=m(h,w,b),e))if(n)x[w]=y;else if(y)switch(e){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(f)return!1;return s?-1:c||f?f:x}}},function(e,t,n){var r=n(38);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(5);e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(24),a=n(96),o=n(97),i=n(3),u=n(42),l=n(98),c={},f={},t=e.exports=function(e,t,n,s,d){var p,g,h,y,b=d?function(){return e}:l(e),v=r(n,s,t?2:1),m=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(o(b)){for(p=u(e.length);p>m;m++)if((y=t?v(i(g=e[m])[0],g[1]):v(e[m]))===c||y===f)return y}else for(h=b.call(e);!(g=h.next()).done;)if((y=a(h,v,g.value,t))===c||y===f)return y};t.BREAK=c,t.RETURN=f},function(e,t,n){var r=n(38),a=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),i=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=i(t=Object(e),a))?n:o?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t,n){var r=n(30),a=n(22),o=n(10),i=n(36),u=n(7),l=n(51),c=Object.getOwnPropertyDescriptor;t.f=n(4)?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){var r=n(2),a=n(13),o=n(21),i=n(63),u=n(9).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(1)},function(e,t,n){var r=n(54),a=n(45).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(113),o=n(70);e.exports=r},function(e,t,n){var r=n(68),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(114))},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(17),o=n(18),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(75),a=n.n(r);Morph.modules["bbc-morph-bitesize-global-navigation-view@1.55.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(11)},function(e,t){e.exports=n(76)},function(e,t){e.exports=n(79)},function(e,t){e.exports=n(80)},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(81)},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,h=e.includeLanguageSelector,y=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,y)});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),"data-bbc-container":"global-navigation","data-bbc-title":e.dataTitle,"data-bbc-ignore-views":1,"data-bbc-result":"/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","data-bbc-container":"global-navigation","data-bbc-title":"MyBitesize","data-bbc-ignore-views":1,"data-bbc-result":"/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")))),h&&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","data-bbc-container":"global-navigation","data-bbc-title":"AllBitesize","data-bbc-ignore-views":1,"data-bbc-result":g?"collapsed-menu":"expanded-menu",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 h=g;t.default=h,e.exports=t.default},function(e,t,n){function r(e){"@babel/helpers - typeof";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){return e&&e.__esModule?e:{default:e}}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(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),Object.defineProperty(e,"prototype",{writable:!1}),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}}),Object.defineProperty(e,"prototype",{writable:!1}),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=h();return function(){var n,r=y(e);if(t){var a=y(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(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){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,u=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){u=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(u)throw a}}return o}}function x(e){if(Array.isArray(e))return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var O=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=i?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(a,u,l):a[u]=e[u]}return a.default=e,n&&n.set(e,a),a}(n(0)),j=a(n(1)),E=a(n(2)),S=a(n(14)),k=a(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()})},R=function(e){var t=e.split("-")[0];P("ckps_language",t),window.location.reload(!0)},T=function(e){return b(S.default.filter(function(t){return t.languageCode===e}),1)[0]||S.default[0]},C=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=T(n),u=S.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(k.default,i({},o,{onClick:R,selected:!0})),u.map(function(e){return O.default.createElement(k.default,i({key:"".concat(e.languageCode)},e,{onClick:R}))}))))}}]),t}(O.Component);C.defaultProps={language:"en-GB",className:""},C.propTypes={language:j.default.string,className:j.default.string};var N=C;t.default=N,e.exports=t.default},function(e,t){e.exports={buckets:[{title:"Home",href:"",dataTitle:"Home"},{title:"learn-revise",href:"/learn",dataTitle:"Learn"},{title:"Support",href:"/support",dataTitle:"Support"},{title:"Careers",href:"/careers",dataTitle:"Careers"}],englishBuckets:[{title:"Home",href:"",dataTitle:"Home"},{title:"Learn",href:"/learn",dataTitle:"Learn"},{title:"Support",href:"/support",dataTitle:"Support"},{title:"Careers",href:"/careers",dataTitle:"Careers"}],mobileBuckets:[{title:"Home",href:"",dataTitle:"Home"},{title:"learn-revise",href:"/learn",dataTitle:"Learn"},{title:"Support",href:"/support",dataTitle:"Support"},{title:"Careers",href:"/careers",dataTitle:"Careers"},{title:"about-us",href:"/articles/z6x992p"}],mobileEnglishBuckets:[{title:"Home",href:"",dataTitle:"Home"},{title:"Learn",href:"/learn",dataTitle:"Learn"},{title:"Support",href:"/support",dataTitle:"Support"},{title:"Careers",href:"/careers",dataTitle:"Careers"},{title:"about-us",href:"/articles/z6x992p"}],pinned:{title:"My Bitesize",href:"/my",dataTitle:"MyBitesize"},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/zcwyp4j",zid:"zcwyp4j",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:"An Tràth Ìre",href:"/levels/zggh6g8 ",zid:"zggh6g8",aria:"An Tràth Ìre"},{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/z3hbg7h",zid:"z3hbg7h",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){"@babel/helpers - typeof";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){return e&&e.__esModule?e:{default:e}}function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(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),Object.defineProperty(e,"prototype",{writable:!1}),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}}),Object.defineProperty(e,"prototype",{writable:!1}),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=h(e);if(t){var a=h(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var y=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var l=i?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(a,u,l):a[u]=e[u]}return a.default=e,n&&n.set(e,a),a}(n(0)),b=a(n(1)),v=a(n(11)),m=a(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 y.default.createElement("div",{className:"global-navigation"},y.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}),y.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}(y.Component);w.defaultProps={pageType:"",href:"",subdirectory:"bitesize",language:"en-GB",phase:"",headerData:{href:null}},w.propTypes={navigationData:b.default.shape({allBitesize:b.default.arrayOf({}),buckets:b.default.arrayOf(b.default.shape({title:b.default.string.isRequired,href:b.default.string.isRequired}).isRequired).isRequired,mobileBuckets:b.default.arrayOf(b.default.shape({title:b.default.string.isRequired,href:b.default.string.isRequired}).isRequired).isRequired}).isRequired,href:b.default.string,pageType:b.default.string,subdirectory:b.default.string,language:b.default.string,phase:b.default.string,headerData:b.default.shape({href:b.default.string,title:b.default.string.isRequired,children:b.default.arrayOf(b.default.shape({title:b.default.string.isRequired,href:b.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,h=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","data-bbc-container":"global-navigation","data-bbc-title":"AllBitesize","data-bbc-ignore-views":1,"data-bbc-result":"expand-menu/collapse-menu",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:h})))};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&&""!==e.children[0].title},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(108)},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(141)},function(e,t,n){function r(e){"@babel/helpers - typeof";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){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){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),Object.defineProperty(e,"prototype",{writable:!1}),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}}),Object.defineProperty(e,"prototype",{writable:!1}),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){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],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 h=a(n(0)),y=a(n(1)),b=a(n(2)),v=a(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 h.default.createElement("nav",{className:(0,b.default)("global-navigation__mobile-sub-nav",{"global-navigation__mobile-sub-nav--expanded":o})},h.default.createElement("h3",{className:"global-navigation__mobile-sub-nav-title"},h.default.createElement("button",{type:"button",className:"global-navigation__mobile-sub-nav__toggle",onClick:this.toggleClick,"aria-expanded":o,"aria-controls":"mobile-sub-nav-menu"},h.default.createElement("span",{className:"global-navigation__mobile-sub-nav-title__text"},n),h.default.createElement("span",{className:"global-navigation__chevron__down-svg"},h.default.createElement(v.default,null)))),h.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 h.default.createElement("li",{key:t,className:(0,b.default)("global-navigation__mobile-sub-nav-menu-item",{"global-navigation__mobile-sub-nav-menu-item--highlighted":r})},h.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}(h.default.Component);m.displayName="MobileSubNav",m.propTypes={submenu:y.default.shape({title:y.default.string.isRequired,children:y.default.arrayOf(y.default.shape({title:y.default.string.isRequired,href:y.default.string.isRequired})).isRequired}).isRequired,currentPage:y.default.string.isRequired};var _=m;t.default=_,e.exports=t.default},function(e,t){e.exports=n(142)},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&&""!==e.children[0].title},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,h=e.headerData;return a.default.createElement("nav",{className:"global-navigation__primary-nav"},a.default.createElement("div",{className:"global-navigation__primary-nav__wrap"},a.default.createElement(l.default,{language:o}),a.default.createElement(u.default,{buckets:n,pageType:r,language:o,subdirectory:s,onClick:d,showDrawer:p,href:g,linkToHighlight:h?h.href:null})),p&&a.default.createElement(i.default,{language:o,allBitesize:t,subdirectory:s}),f(h)&&a.default.createElement("div",{className:"global-navigation__sub-nav-wrap"},a.default.createElement(c.default,{currentPage:g,submenu:h})))};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(143)},function(e,t){e.exports=n(154)},function(e,t){e.exports=n(155)},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(77)()},function(e,t,n){"use strict";function r(){}function a(){}var o=n(78);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,bigint: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)){if(r.length){var i=n.apply(null,r);i&&e.push(i)}}else if("object"===a)if(r.toString===Object.prototype.toString)for(var u in r)o.call(r,u)&&r[u]&&e.push(u);else e.push(r.toString())}}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(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},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)}n(19),n(12),n(27),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(31),n(32),n(33),n(34),n(35);var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=o?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(11)),y=function(e){function t(){return o(this,t),n.apply(this,arguments)}l(t,e);var n=f(t);return u(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return h.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}},h.default.createElement("path",{d:"M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z"}))}}]),t}(h.Component),b=y;t.default=b,e.exports=t.default},function(e,t,n){var r=n(1)("unscopables"),a=Array.prototype;void 0==a[r]&&n(8)(a,r,{}),e.exports=function(e){a[r][e]=!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports=n(20)("native-function-to-string",Function.toString)},function(e,t,n){"use strict";var r=n(41),a=n(22),o=n(25),i={};n(8)(i,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:a(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(9),a=n(3),o=n(16);e.exports=n(4)?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(10),a=n(42),o=n(88);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(43),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(2).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(7),a=n(26),o=n(44)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(43),a=n(39);e.exports=function(e){return function(t,n){var o,i,u=String(a(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(o=u.charCodeAt(l),o<55296||o>56319||l+1===c||(i=u.charCodeAt(l+1))<56320||i>57343?e?u.charAt(l):o:e?u.slice(l,l+2):i-56320+(o-55296<<10)+65536)}}},function(e,t,n){var r=n(93);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(0),a=n(56),o=n(1)("species");e.exports=function(e){var t;return a(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!a(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(4),a=n(16),o=n(46),i=n(30),u=n(26),l=n(37),c=Object.assign;e.exports=!c||n(6)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=u(e),c=arguments.length,f=1,s=o.f,d=i.f;c>f;)for(var p,g=l(arguments[f++]),h=s?a(g).concat(s(g)):a(g),y=h.length,b=0;y>b;)p=h[b++],r&&!d.call(g,p)||(n[p]=g[p]);return n}:c},function(e,t,n){"use strict";var r=n(57),a=n(29).getWeak,o=n(3),i=n(0),u=n(58),l=n(59),c=n(55),f=n(7),s=n(47),d=c(5),p=c(6),g=0,h=function(e){return e._l||(e._l=new y)},y=function(){this.a=[]},b=function(e,t){return d(e.a,function(e){return e[0]===t})};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var c=e(function(e,r){u(e,c,t,"_i"),e._t=t,e._i=g++,e._l=void 0,void 0!=r&&l(r,n,e[o],e)});return r(c.prototype,{delete:function(e){if(!i(e))return!1;var n=a(e);return!0===n?h(s(this,t)).delete(e):n&&f(n,this._i)&&delete n[this._i]},has:function(e){if(!i(e))return!1;var n=a(e);return!0===n?h(s(this,t)).has(e):n&&f(n,this._i)}}),c},def:function(e,t,n){var r=a(o(t),!0);return!0===r?h(e).set(t,n):r[e._i]=n,e},ufstore:h}},function(e,t,n){var r=n(3);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(15),a=n(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[a]===e)}},function(e,t,n){var r=n(60),a=n(1)("iterator"),o=n(15);e.exports=n(13).getIteratorMethod=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(2),a=n(23),o=n(5),i=n(57),u=n(29),l=n(59),c=n(58),f=n(0),s=n(6),d=n(100),p=n(25),g=n(101);e.exports=function(e,t,n,h,y,b){var v=r[e],m=v,_=y?"set":"add",w=m&&m.prototype,x={},O=function(e){var t=w[e];o(w,e,"delete"==e?function(e){return!(b&&!f(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return b&&!f(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof m&&(b||w.forEach&&!s(function(){(new m).entries().next()}))){var j=new m,E=j[_](b?{}:-0,1)!=j,S=s(function(){j.has(1)}),k=d(function(e){new m(e)}),z=!b&&s(function(){for(var e=new m,t=5;t--;)e[_](t,t);return!e.has(-0)});k||(m=t(function(t,n){c(t,m,e);var r=g(new v,t,m);return void 0!=n&&l(n,y,r[_],r),r}),m.prototype=w,w.constructor=m),(S||z)&&(O("delete"),O("has"),y&&O("get")),(z||E)&&O(_),b&&w.clear&&delete w.clear}else m=h.getConstructor(t,e,y,_),i(m.prototype,n),u.NEED=!0;return p(m,e),x[e]=m,a(a.G+a.W+a.F*(m!=v),x),b||h.setStrong(m,e,y),m}},function(e,t,n){var r=n(1)("iterator"),a=!1;try{var o=[7][r]();o.return=function(){a=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!a)return!1;var n=!1;try{var o=[7],i=o[r]();i.next=function(){return{done:n=!0}},o[r]=function(){return i},e(o)}catch(e){}return n}},function(e,t,n){var r=n(0),a=n(102).set;e.exports=function(e,t,n){var o,i=t.constructor;return i!==n&&"function"==typeof i&&(o=i.prototype)!==n.prototype&&r(o)&&a&&a(e,o),e}},function(e,t,n){var r=n(0),a=n(3),o=function(e,t){if(a(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(24)(Function.call,n(61).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t,n){var r=n(16),a=n(46),o=n(30);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(10),a=n(64).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){n(4)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(65)})},function(e,t,n){"use strict";var r=n(40),a=n(0),o=n(107),i=[].slice,u={},l=function(e,t,n){if(!(t in u)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";u[t]=Function("F,a","return new F("+r.join(",")+")")}return u[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),u=function(){var r=n.concat(i.call(arguments));return this instanceof u?l(t,r.length,r):o(t,r,e)};return a(t.prototype)&&(u.prototype=t.prototype),u}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){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(109),o=n(66),i=n(117),u=n(118),l=n(123),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(110),o=n(111),i=n(112);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(17),o=n(69),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(48),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(17),o=n(49),i=n(18),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(119);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(120),o=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return u;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=a(e);var n=c.test(e);return n||f.test(e)?s(e.slice(2),n?2:8):l.test(e)?u:+e}var a=n(121),o=n(69),i=n(71),u=NaN,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 e?e.slice(0,a(e)+1).replace(o,""):e}var a=n(122),o=/^\s+/;e.exports=r},function(e,t){function n(e){for(var t=e.length;t--&&r.test(e.charAt(t)););return t}var r=/\s/;e.exports=n},function(e,t,n){function r(e){return null==e?[]:a(e,o(e))}var a=n(124),o=n(125);e.exports=r},function(e,t,n){function r(e,t){return a(t,function(t){return e[t]})}var a=n(72);e.exports=r},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(126),o=n(137),i=n(66);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):[],h=g.length;for(var y in e)!t&&!s.call(e,y)||p&&("length"==y||f&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||l(y,h))||g.push(y);return g}var a=n(127),o=n(128),i=n(49),u=n(130),l=n(132),c=n(133),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(129),a=n(18),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(17),o=n(18),i="[object Arguments]";e.exports=r},function(e,t,n){(function(e){var r=n(67),a=n(131),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(73)(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(134),a=n(135),o=n(136),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(17),o=n(70),i=n(18),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(68),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(73)(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(138),o=n(139),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(140),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(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},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)}n(19),n(12),n(27),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(31),n(32),n(33),n(34),n(35);var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=o?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(11)),y=function(e){function t(){return o(this,t),n.apply(this,arguments)}l(t,e);var n=f(t);return u(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return h.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}},h.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}(h.Component),b=y;t.default=b,e.exports=t.default},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},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)}n(19),n(12),n(27),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(31),n(32),n(33),n(34),n(35);var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=o?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(11)),y=function(e){function t(){return o(this,t),n.apply(this,arguments)}l(t,e);var n=f(t);return u(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return h.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}},h.default.createElement("g",{id:"Grid"}),h.default.createElement("g",{id:"Layer_2"},h.default.createElement("polygon",{points:"16,29 32,3 24.8,3 16,18.3 7.2,3 0,3"})))}}]),t}(h.Component),b=y;t.default=b,e.exports=t.default},function(e,t,n){var r=n(144),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(145),o=n(146),i=n(150),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(147),o=n(50),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(148),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(48),o=n(72),i=n(49),u=n(71),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(151),o=n(152),i=n(50),u=n(153);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(50),o=0;e.exports=r},function(e,t,n){"use strict";function r(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return r=function(){return e},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)}n(19),n(12),n(27),n(28),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(31),n(32),n(33),n(34),n(35);var h=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=o?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(11)),y=function(e){function t(){return o(this,t),n.apply(this,arguments)}l(t,e);var n=f(t);return u(t,[{key:"componentDidMount",value:function(){this.svg.setAttribute("focusable","false")}},{key:"render",value:function(){var e=this;return h.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}},h.default.createElement("path",{d:"M29 16L3 0v7.2L17.6 16 3 24.8V32z"}))}}]),t}(h.Component),b=y;t.default=b,e.exports=t.default}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-header-view@8.127.0"]={"@babel/runtime":"7.16.7","@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":"2.2.1","bbc-morph-bitesize-core-components":"12.3.0","bbc-morph-bitesize-examspec":"3.0.2","bbc-morph-bitesize-field-of-study":"1.3.2","bbc-morph-bitesize-header-data":"1.32.1","bbc-morph-bitesize-global-navigation-view":"1.55.0","bbc-morph-bitesize-level":"3.2.0","bbc-morph-bitesize-personalisation-client-tools":"11.9.1","bbc-morph-bitesize-programme-of-study":"4.2.1","bbc-morph-bitesize-this-terms-topics-data":"2.5.0","bbc-morph-blocks-article-data":"5.12.0","classnames":"2.3.1","lodash":"4.17.21","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=98)}([function(t,e){t.exports=React},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){t.exports=n(234)()},function(t,e,n){var r=n(61),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){n(82)("asyncIterator")},function(t,e,n){"use strict";var r=n(7),o=n(13),i=n(12),u=n(206),a=n(86),c=n(210).KEY,f=n(34),s=n(32),l=n(211),p=n(14),d=n(44),h=n(83),y=n(82),v=n(212),g=n(218),b=n(33),m=n(15),_=n(16),w=n(45),x=n(47),O=n(219),j=n(222),P=n(223),k=n(11),T=n(48),E=P.f,S=k.f,z=j.f,A=r.Symbol,I=r.JSON,M=I&&I.stringify,C=d("_hidden"),R=d("toPrimitive"),W={}.propertyIsEnumerable,L=s("symbol-registry"),D=s("symbols"),B=s("op-symbols"),N=Object.prototype,F="function"==typeof A,q=r.QObject,U=!q||!q.prototype||!q.prototype.findChild,$=i&&f(function(){return 7!=O(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=E(N,e);r&&delete N[e],S(t,e,n),r&&t!==N&&S(N,e,r)}:S,G=function(t){var e=D[t]=O(A.prototype);return e._k=t,e},K=F&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},H=function(t,e,n){return t===N&&H(B,e,n),b(t),e=w(e,!0),b(n),o(D,e)?(n.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),n=O(n,{enumerable:x(0,!1)})):(o(t,C)||S(t,C,x(1,{})),t[C][e]=!0),$(t,e,n)):S(t,e,n)},Z=function(t,e){b(t);for(var n,r=v(e=_(e)),o=0,i=r.length;i>o;)H(t,n=r[o++],e[n]);return t},V=function(t,e){return void 0===e?O(t):Z(O(t),e)},Y=function(t){var e=W.call(this,t=w(t,!0));return!(this===N&&o(D,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(D,t)||o(this,C)&&this[C][t])||e)},J=function(t,e){if(t=_(t),e=w(e,!0),t!==N||!o(D,e)||o(B,e)){var n=E(t,e);return!n||!o(D,e)||o(t,C)&&t[C][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=z(_(t)),r=[],i=0;n.length>i;)o(D,e=n[i++])||e==C||e==c||r.push(e);return r},Q=function(t){for(var e,n=t===N,r=z(n?B:_(t)),i=[],u=0;r.length>u;)!o(D,e=r[u++])||n&&!o(N,e)||i.push(D[e]);return i};F||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===N&&e.call(B,n),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),$(this,t,x(1,n))};return i&&U&&$(N,t,{configurable:!0,set:e}),G(t)},a(A.prototype,"toString",function(){return this._k}),P.f=J,k.f=H,n(92).f=j.f=X,n(50).f=Y,n(91).f=Q,i&&!n(43)&&a(N,"propertyIsEnumerable",Y,!0),h.f=function(t){return G(d(t))}),u(u.G+u.W+u.F*!F,{Symbol:A});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=T(d.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!F,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=A(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),u(u.S+u.F*!F,"Object",{create:V,defineProperty:H,defineProperties:Z,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:Q}),I&&u(u.S+u.F*(!F||f(function(){var t=A();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(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],(m(e)||void 0!==t)&&!K(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,M.apply(I,r)}}),A.prototype[R]||n(46)(A.prototype,R,A.prototype.valueOf),l(A,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},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){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(114),i=n(119);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(21),i=n(115),u=n(116),a="[object Null]",c="[object Undefined]",f=o?o.toStringTag:void 0;t.exports=r},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){var r=n(33),o=n(84),i=n(45),u=Object.defineProperty;e.f=n(12)?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(34)(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){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(213),o=n(214);t.exports=function(t){return r(o(t))}},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(51),o=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(52)),u=o(n(53)),a=o(n(54)),c=o(n(55)),f=o(n(56)),s=o(n(237)),l=r(n(0)),p=o(n(29)),d=n(0).PropTypes||n(2),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){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(104),i=n(105),u=n(106),a=n(107),c=n(108);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(59);t.exports=r},function(t,e,n){var r=n(3),o=r.Symbol;t.exports=o},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var r=n(8),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(128);t.exports=r},function(t,e,n){function r(t){return u(t)?o(t):i(t)}var o=n(149),i=n(156),u=n(39);t.exports=r},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t){return"symbol"==typeof t||i(t)&&o(t)==u}var o=n(9),i=n(10),u="[object Symbol]";t.exports=r},function(t,e,n){function r(t){if("string"==typeof t||o(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}var o=n(27),i=1/0;t.exports=r},function(t,e,n){var r,o;!function(){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)){if(r.length){var u=n.apply(null,r);u&&t.push(u)}}else if("object"===o)if(r.toString===Object.prototype.toString)for(var a in r)i.call(r,a)&&r[a]&&t.push(a);else t.push(r.toString())}}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){t.exports=Morph.modules["prop-types@15.7.2"]},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(31),o=n(7),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(43)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(15);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(8),o=n(3),i=r(o,"Map");t.exports=i},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){function r(t){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(120),i=n(127),u=n(129),a=n(130),c=n(131);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=u,r.prototype.has=a,r.prototype.set=c,t.exports=r},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(60),i=n(38);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(4),i=n(27),u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=r},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(178);t.exports=r},function(t,e){function n(t){return t&&t.__esModule?t:{default:t}}t.exports=n},function(t,e){t.exports=!1},function(t,e,n){var r=n(32)("wks"),o=n(14),i=n(7).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){var r=n(15);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(11),o=n(47);t.exports=n(12)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(87),o=n(49);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){function r(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(r=function(t){return t?n:e})(t)}function o(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var n=r(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}var i=n(96).default;t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},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),Object.defineProperty(t,"prototype",{writable:!1}),t}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){function r(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)}var o=n(96).default,i=n(97);t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&o(t,e)}var o=n(233);t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},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(102),i=n(166),u=n(173),a=n(4),c=n(174);t.exports=r},function(t,e,n){function r(t){var e=this.__data__=new o(t);this.size=e.size}var o=n(19),i=n(109),u=n(110),a=n(111),c=n(112),f=n(113);r.prototype.clear=i,r.prototype.delete=u,r.prototype.get=a,r.prototype.has=c,r.prototype.set=f,t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==a||e==c||e==u||e==f}var o=n(9),i=n(22),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(36))},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(132),i=n(10);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),y=s.get(e);if(h&&y)return h==e&&y==t;var v=-1,g=!0,b=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++v<p;){var m=t[v],_=e[v];if(r)var w=l?r(_,m,v,e,t,s):r(m,_,v,t,e,s);if(void 0!==w){if(w)continue;g=!1;break}if(b){if(!i(e,function(t,e){if(!u(b,e)&&(m===t||f(m,t,n,r,s)))return b.push(e)})){g=!1;break}}else if(m!==_&&!f(m,_,n,r,s)){g=!1;break}}return s.delete(t),s.delete(e),g}var o=n(133),i=n(136),u=n(137),a=1,c=2;t.exports=r},function(t,e,n){var r=n(151),o=n(10),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(3),o=n(152),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(26)(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(153),o=n(154),i=n(155),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){return t===t&&!o(t)}var o=n(22);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(72);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(73),i=n(28);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(4),i=n(40),u=n(167),a=n(74);t.exports=r},function(t,e,n){function r(t){return null==t?"":o(t)}var o=n(75);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(21),i=n(76),u=n(4),a=n(27),c=1/0,f=o?o.prototype:void 0,s=f?f.toString:void 0;t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}t.exports=n},function(t,e){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){t.exports=Morph.modules["bbc-morph-promise@1.0.6"]},function(t,e,n){"use strict";var r=n(42);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(78)),i=function(){return window.Promise||(window.Promise=o.default),new window.Promise(function(t,e){requirejs(["idcta-v2/id-config"],function(n){n.getConfigAsync().then(function(n){n["id-availability"]&&"RED"!==n["id-availability"]?t():e(new Error("Flagpole RED or value missing"))})},function(t){e(t)})})},u={checkFlagpole:i};e.default=u,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",quizApiKey:"x6g18dFNAN8pufHLtyHtT7t4bhpLzZTna1vtFpKi"},test:{uasApiKey:"rn5lii9febqql",newtonApiKey:"0YIvZUWEyGJxVGIyyuHIHKANb4cshSXt",quizApiKey:"gyJA7CAmNW7S43zF2BArI9FhTGzxG0ehmfEKGI8c"}},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.").concat(i())},y=function(){return"https://bitesize".concat(a(),".api.bbci.co.uk")},v=function(){return r[o()].quizApiKey},g={getUASHost:f,getUASApiKey:c,getNewtonHost:s,getNewtonApiKey:l,getIdHost:p,getMorphPushProxyHost:d,getBBCHost:h,getEnv:o,getQuizHost:y,getQuizApiKey:v};e.default=g,t.exports=e.default},function(t,e,n){var r=n(7),o=n(31),i=n(43),u=n(83),a=n(11).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(44)},function(t,e,n){t.exports=!n(12)&&!n(34)(function(){return 7!=Object.defineProperty(n(85)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(15),o=n(7).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(7),o=n(46),i=n(13),u=n(14)("src"),a=n(207),c=(""+a).split("toString");n(31).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(13),o=n(16),i=n(215)(!1),u=n(90)("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){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(32)("keys"),o=n(14);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(87),o=n(49).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(5),n(6);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(5),n(6);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(30)),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 t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},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,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(99),o=n.n(r);Morph.modules["bbc-morph-bitesize-header-view@8.127.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=40)}([function(t,e){t.exports=n(0)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(21)),o={"en-GB":{counter:{clips:{plural:"$numberOfClassClips Classroom videos",singular:"$numberOfClassClips Classroom video"},guides:{plural:"$numberOfLearnerGuides learner guides",singular:"$numberOfLearnerGuides learner guide"}},partOf:"Part of","class-clips":"Classroom videos",duration:"Duration $clipDuration","Learn & revise":"Learn & revise",buttonText:{added:"Added",addToMyBitesize:"Add to My Bitesize",adding:"Adding",removing:"Removing",remove:"Remove"},errorSavingNotification:"Sorry, we haven't been able to save your changes",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Share",headerText:"Share this with",readMoreText:"Read more about sharing",copyLinkText:"Copy link",copiedText:"Copied!"}},"ga-GB":{counter:{clips:{plural:"$numberOfClassClips Físeáin Ranga",singular:"$numberOfClassClips Físeán Ranga"},guides:{plural:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí",singular:"$numberOfLearnerGuides treoir d'fhoghlaimeoirí"}},partOf:"Cuid de","class-clips":"Físeáin Ranga",duration:"Fad $clipDuration","Learn & revise":"Foghlaim",buttonText:{added:"Curtha leis",addToMyBitesize:"Cuir le Mo Bitesize",adding:"Ag cur leis",removing:"Á bhaint",remove:"Bain"},errorSavingNotification:"Buartha, níor éirigh linn d'athruithe a shábháil",signInUpsellToolTipTitle:"Add this learner guide to My Bitesize",signInUpsellToolTipText:"You need to be signed in to add this to My Bitesize",shareTools:{ctaText:"Roinn",headerText:"Roinn é seo le",readMoreText:"Léigh níos mó maidir le comhroinnt",copyLinkText:"Cóipeáil an nasc",copiedText:"Cóipeáilte!"}},"gd-GB":{counter:{clips:{plural:"$numberOfClassClips Bhidiothan clas",singular:"$numberOfClassClips Bhidio clas"},guides:{plural:"$numberOfLearnerGuides Iùil luchd-ionnsachaidh",singular:"$numberOfLearnerGuides Iùl Luchd-ionnsachaidh"}},partOf:"Pàirt de","class-clips":"Bhidiothan clas",duration:"Fad $clipDuration","Learn & revise":"Ionnsaich",buttonText:{added:"Air a chur-ris",addToMyBitesize:"Cuir ri Bitesize Agamsa",adding:"A' cur-ris",removing:"A' dubhadh às",remove:"Dubh às"},errorSavingNotification:"Duilich, cha deach againn air d' atharrachaidhean a shàbhaladh",signInUpsellToolTipTitle:"Cuir an t-iùil-ionnsachaidh seo ri Bitesize Agamsa",signInUpsellToolTipText:"Feumaidh tu logadh a-steach airson seo a chur ri Bitesize Agamsa",shareTools:{ctaText:"Sgaoil",headerText:"Sgaoil seo gu",readMoreText:"Leugh tuilleadh mu sgaoileadh",copyLinkText:"Leth-bhreac den cheangal",copiedText:"Leth-bhreac dèanta!"}},"cy-GB":{counter:{clips:{plural:"$numberOfClassClips Fideos Ystafell ddosbarth",singular:"$numberOfClassClips Fideo Ystafell ddosbarth"},guides:{plural:"$numberOfLearnerGuides o ganllawiau i ddysgwyr",singular:"$numberOfLearnerGuides canllaw i ddysgwyr"}},partOf:"Rhan o bwnc",partOfWelshAlternative:"Rhan o'r adran","class-clips":"Fideos Ystafell ddosbarth",duration:"Hyd $clipDuration","Learn & revise":"Dysgu ac adolygu",buttonText:{added:"Wedi ychwanegu",addToMyBitesize:"Ychwanegu i Fy Bitesize",adding:"Wrthi'n ychwanegu",removing:"Wrthi'n dileu",remove:"Dileu"},errorSavingNotification:"Dyw dy newidiadau ddim wedi cael eu cadw",signInUpsellToolTipTitle:"Ychwanegu’r canllaw dysgu yma i Fy Bitesize",signInUpsellToolTipText:"Rhaid i ti fewngofnodi i ychwanegu hwn i Fy Bitesize",shareTools:{ctaText:"Rhannu",headerText:"Rhannu hwn gyda",readMoreText:"Darllen mwy am rannu",copyLinkText:"Copïo’r ddolen",copiedText:"Wedi copïo"}}},i=function(){return{"en-gb":"en-GB","ga-gb":"ga-GB","gd-gb":"gd-GB","cy-gb":"cy-GB"}[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase()]||"en-GB"},u=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,r.default)(o,"".concat(i(t),".").concat(e),"");return Object.keys(n).reduce(function(t,e){return t.replace("$".concat(e),n[e])},u)}};e.default=u,t.exports=e.default},function(t,e){t.exports=n(100)},function(t,e){t.exports=n(29)},function(t,e){t.exports=n(182)},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(189)},function(t,e){t.exports=n(190)},function(t,e,n){var r=function(t){return t&&t.__esModule?t:{default:t}}(n(2)),o=["https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id","https://web.archive.org/web/20220130034930/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id","https://web.archive.org/web/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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/20220130034930/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};t.exports={findAgeTag:u,getExtraData:a}},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(7)),i=r(n(6)),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(197)},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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}function u(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(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(){return f=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},f.apply(this,arguments)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(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 p(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=b();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return g(t)}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var _=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),w=o(n(3)),x=o(n(12)),O=o(n(13)),j=o(n(14)),P=o(n(4)),k=n(15),T=o(n(16)),E=o(n(38)),S=function(t,e){return(0,w.default)("header-image-no-logo",{"header-image-container--in-app":t},{"header-image-container--no-illustration":!e})},z=function(t){return(0,w.default)("bitesize-header--pageType",{"bitesize-header--primary-index":"primary-index"===t},{"bitesize-header--secondary-index":"secondary-index"===t},{"bitesize-header--this-terms-topics":"this-terms-topics"===t})},A=function(t,e){return(0,w.default)("bitesize-header-background",t?"bitesize-header-background--phase-".concat(t.toLowerCase()):"",{"bitesize-header-background--in-app":e})},I=function(t){var e=["programme-of-study","examspecs","primary-index","secondary-index","this-terms-topics","course","subject-courses"];return(0,P.default)(e,t)},M=function(t,e){var n=["zgkw2hv","zjxhfg8","z6svr82","z826n39","zv48q6f","z2pfb9q","zyhbwmn","zvnrq6f","zwxhfg8","zdm3nrd","zbkw2hv","z7hs34j","z39d7ty","zxsvr82","zsbc87h"],r=["primary-index","secondary-index","this-terms-topics"];return(0,P.default)(n,e)||(0,P.default)(r,t)},C=function(t,e){return I(t)&&!M(t,e)},R=function(t){function e(t){var n;return s(this,e),n=r.call(this,t),n.state={notificationMessage:"",notificationError:!1},n}d(e,t);var r=y(e);return p(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.phase,r=t.fosZid;n(39);var o=e.toLowerCase();window.mrSparkle({phase:o,selector:".bitesize-header-background",zid:r})}},{key:"render",value:function(){var t=this,e=this.props,n=e.phase,r=e.isInApp,o=e.fosZid,i=e.isPreview,u=e.pageType,c=e.headerData,s=e.zid,l=(e.language,e.href,this.state),p=l.notificationMessage,d=l.notificationError,h=["index-page","flashcards","tags","collection-index","secondary-games"],y=!r&&["primary-index","secondary-index","quizzes"].indexOf(u)<0,v=function(e,n){t.setState({notificationMessage:e,notificationError:n})},g=I(u),b=C(u,s);return _.default.createElement("div",{className:z(u)},_.default.createElement("div",{className:A(n,r)}),_.default.createElement(j.default,{message:p,notificationClearedAction:function(){t.state.notificationMessage="",t.state.notificationError=!1},isError:d}),_.default.createElement("div",null,!r&&_.default.createElement(x.default,f({},this.props,{headerData:c})),_.default.createElement(O.default,{fosZid:o,className:S(r,g)},i&&_.default.createElement("p",{className:"preview-panel"},"THIS IS A PREVIEW PAGE"),h.indexOf(u)<0&&_.default.createElement(T.default,f({},this.props,{displayPartialWidth:b,displaySubjectIllustration:g,setNotificationMessage:v,showPartOf:y})),g&&_.default.createElement("span",{className:"primary-index"===u?"primary-index-header-wrapper":""},_.default.createElement(E.default,{pageHasPartialWidthContextPanel:b,url:(0,k.getIllustrationUrl)(a({},this.props))})))))}}]),e}(_.Component);R.displayName="Header",R.defaultProps={description:"",mobileDescription:"",zid:null,topicId:null,label:"",isPreview:void 0,numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,fosZid:"",subdirectory:"education",globalNav:"false",phase:"",isTaggedWithMultipleTopics:!1,headerData:{title:"",href:"",children:[{href:"",title:""}]},href:""},R.propTypes={href:_.PropTypes.string,description:_.PropTypes.string,mobileDescription:_.PropTypes.string,fosZid:_.PropTypes.string,label:_.PropTypes.string,language:_.PropTypes.string.isRequired,numberOfClassClips:_.PropTypes.number,numberOfLearnerGuides:_.PropTypes.number,hasTopics:_.PropTypes.bool,pageType:_.PropTypes.string.isRequired,zid:_.PropTypes.string,topicId:_.PropTypes.string,isPreview:_.PropTypes.string,subdirectory:_.PropTypes.string,globalNav:_.PropTypes.string,phase:_.PropTypes.string,isInApp:_.PropTypes.bool.isRequired,isTaggedWithMultipleTopics:_.PropTypes.bool,headerData:_.PropTypes.shape({title:_.PropTypes.string.isRequired,href:_.PropTypes.string.isRequired,children:_.PropTypes.arrayOf(_.PropTypes.shape({title:_.PropTypes.string.isRequired,href:_.PropTypes.string.isRequired})).isRequired})};var W=R;e.default=W,t.exports=e.default},function(t,e){t.exports=n(202)},function(t,e){t.exports=n(203)},function(t,e){t.exports=n(205)},function(t,e,n){var r=function(t){return"primary-index"===t.pageType?"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/images/phases/primary/primary-index-alt.png":"secondary-index"===t.pageType?"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/images/phases/secondary/".concat(t.pageType,".svg"):"this-terms-topics"===t.pageType?"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/images/svgs/this-terms-topics.svg":"https://web.archive.org/web/20220130034930/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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),a=o(n(4)),c=o(n(3)),f=o(n(17)),s=o(n(19)),l=o(n(23)),p=n(5),d=o(n(24)),h=o(n(26)),y=o(n(36)),v=function(t,e,n){var r="404"!==t,o=""!==e;return r&&o&&!n},g=function(t,e,n){var r=["z98jmp3","z6gw2hv","zdpp34j","z8w76sg","zp3d7ty","z8hhvcw","zkdqxnb","zqq4wxs"];return!n&&(0,a.default)(r,t)&&"guide"===e},b=function(t,e){var n=["zmnmmfr","zvqgsk7","zknj4xs"];return!e&&!(0,a.default)(n,t)},m=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,e){return(0,c.default)("context-panel".concat(t?" context-panel--partial-width":""),{"context-panel-primary-index":"primary-index"===e},{"context-panel-secondary-index":"secondary-index"===e})},w=function(t,e){return!t&&e?"context-panel__info-container":null},x=function(t){return"context-panel__description".concat(["primary-index","secondary-index"].indexOf(t)<0?"":" context-panel__description--large")},O=function(t){return"context-panel__mobile-description".concat(["primary-index","secondary-index"].indexOf(t)<0?"":" context-panel__mobile-description--large")},j=function(t){var e=t.contentId,n=t.description,r=t.mobileDescription,o=t.hasTopics,i=t.label,a=t.language,c=t.levelId,j=t.levelLabel,P=t.examspecLabel,k=t.numberOfClassClips,T=t.numberOfLearnerGuides,E=t.pageType,S=t.zid,z=t.duration,A=t.subdirectory,I=t.isInApp,M=t.setNotificationMessage,C=t.showPartOf,R=t.displayPartialWidth,W=t.displaySubjectIllustration,L=m(i,j,P);return u.default.createElement("header",{className:_(R,E)},v(E,j,I)&&u.default.createElement(f.default,t),u.default.createElement("div",{className:w(R,W)},u.default.createElement("div",{className:"context-panel__header-container"},"guide"===E&&u.default.createElement("h2",{className:"context-panel__header"},L),"guide"!==E&&u.default.createElement("h1",{className:"context-panel__header"},L)),n&&u.default.createElement("div",{className:"context-panel__description-container"},u.default.createElement("p",{className:x(E)},n)),r&&u.default.createElement("div",{className:"context-panel__mobile-description-container"},u.default.createElement("p",{className:O(E)},r)),C&&u.default.createElement(d.default,t),!o&&("clips"===E||T>0)&&u.default.createElement(s.default,{subdirectory:A,language:a,numberOfClassClips:k,numberOfLearnerGuides:T,pageType:E,zid:S}),!o&&(0,p.validateDuration)(z)&&u.default.createElement(l.default,{duration:z,language:a}),b(S,I)&&u.default.createElement(h.default,{contentId:e,pageType:E,setNotificationMessage:M,language:a}),g(c,E,I)&&u.default.createElement(y.default,{zid:e,language:a})))};j.displayName="ContextPanel",j.defaultProps={contentId:"",description:"",mobileDescription:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",topicId:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",yearId:"",yearLabel:"",duration:"",isInApp:!1,showPartOf:!0,displaySubjectIllustration:!1},j.propTypes={contentId:u.PropTypes.string,description:u.PropTypes.string,mobileDescription: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,yearId:u.PropTypes.string,yearLabel: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 P=j;e.default=P,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){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(0)),u=function(t){return t&&t.__esModule?t:{default:t}}(n(18)),a=function(t){var e=t.levelLabel,n=t.levelId,r=t.yearLabel,o=t.yearId,a=t.examspecLabel,c=t.examspecId,f=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:(0,u.default)({levelId:n,yearId:o,yearLabel:r,subdirectory:f}),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"level"})},r||e)),a&&i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-examspec",href:"/".concat(f,"/examspecs/").concat(c),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"examspec"})},a))))};a.displayName="LevelFilter",a.defaultProps={levelLabel:"",yearLabel:"",levelId:"",yearId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},a.propTypes={levelLabel:i.PropTypes.string,yearLabel:i.PropTypes.string,levelId:i.PropTypes.string,yearId:i.PropTypes.string,examspecLabel:i.PropTypes.string,examspecId:i.PropTypes.string,subdirectory:i.PropTypes.string};var c=a;e.default=c,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){var e=t.levelId,n=t.yearId,r=t.yearLabel,o=t.subdirectory;return r?"/".concat(o,"/levels/").concat(e,"/year/").concat(n):"/".concat(o,"/levels/").concat(n||e)},o=r;e.default=o,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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),a=o(n(20)),c=o(n(22)),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){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(0)),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){return t>1?"plural":"singular"},c=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,c=t.zid,f=(0,u.default)(e),s=r>0&&n>0?" + ":"";return i.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i.default.createElement("a",{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(c)},f("counter.guides.".concat(a(r)),{numberOfLearnerGuides:r})),s,n>0&&f("counter.clips.".concat(a(n)),{numberOfClassClips:n}))};c.displayName="ClipsResourceCounter",c.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},c.propTypes={language:i.PropTypes.string.isRequired,numberOfClassClips:i.PropTypes.number,numberOfLearnerGuides:i.PropTypes.number,subdirectory:i.PropTypes.string,zid:i.PropTypes.string.isRequired};var f=c;e.default=f,t.exports=e.default},function(t,e){t.exports=n(71)},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){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(0)),u=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),a=function(t){return t>1?"plural":"singular"},c=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,c=(0,u.default)(e);return i.default.createElement("p",{className:"resource-counter__container-text"},r>0&&c("counter.guides.".concat(a(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&i.default.createElement("a",{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1")},c("counter.clips.".concat(a(n)),{numberOfClassClips:n})))};c.displayName="TopicsResourceCounter",c.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},c.propTypes={language:i.PropTypes.string.isRequired,numberOfClassClips:i.PropTypes.number,numberOfLearnerGuides:i.PropTypes.number,zid: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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(0)),u=n(5),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(t){return t&&t.__esModule?t:{default:t}}function i(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),a=o(n(2)),c=o(n(25)),f=function(t,e,n,r){if(((0,a.default)(r,{label:"Welsh language"})||(0,a.default)(r,{label:"Welsh"}))&&(0,a.default)(r,{label:"Curated topic"}))return{label:"Dysgu Gartref",link:"/bitesize/articles/zx6q96f"};if(((0,a.default)(r,{label:"Welsh language"})||(0,a.default)(r,{label:"Welsh"}))&&(0,a.default)(r,{label:"Catch-up lessons"}))return{label:"Dysgu Gartref",link:"/bitesize/articles/zx6q96f"};if((0,a.default)(r,{label:"Catch-up lessons"}))return{label:"Learning at Home",link:"/bitesize/this-terms-topics"};var o=["Support","Careers"],i=r&&(0,a.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")}},s=function(t){var e=t.subdirectory,n=t.tags,r=t.topicLabel,o=t.topicId,i=t.posId,a=t.posLabel,s=t.language,l=t.stubs,p=o&&r&&{topicId:o,topicLabel:r},d=i&&a&&{id:i,label:a},h=f(e,d,p,n);return u.default.createElement(c.default,{subdirectory:e,language:s,context:h,tags:n,stubs:l})},l=function(t){return u.default.createElement(s,t)};l.displayName="ContextLabelContainer",l.defaultProps={subdirectory:"",language:"en-GB",tags:[],topicLabel:void 0,topicId:void 0,posId:void 0,posLabel:void 0,stubs:[]},l.propTypes={subdirectory:u.PropTypes.string,language:u.PropTypes.string,tags:u.PropTypes.arrayOf(u.PropTypes.shape({label:u.PropTypes.string})),topicLabel:u.PropTypes.string,topicId:u.PropTypes.string,posId:u.PropTypes.string,posLabel:u.PropTypes.string,stubs:u.default.PropTypes.shape({id:u.default.PropTypes.string.isRequired,label:u.default.PropTypes.string.isRequired,path:u.default.PropTypes.string.isRequired})};var p=l;e.default=p,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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),a=o(n(1)),c=o(n(8)),f=function(t){return null!==t.match(/subjects/)?"part-of-subject":null!==t.match(/topics/)?"part-of-topic":"part-of-section"},s=function(t,e){if(!Boolean(c.default.findAgeTag(e)))return t.map(function(t){return u.default.createElement("div",{className:"context-label__item"},u.default.createElement("a",{className:"context-label__item-link",href:t.path,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(f(t.path))})},t.label))})},l=function(t){var e=t.context,n=t.language,r=t.tags,o=t.stubs,i=(0,a.default)(n),c=e.label,l=e.link,p=e&&null!==c.match(/Learn & revise|Support|This Term's Topics|Dysgu Gartref|Catch-up|Gwersi Dal i Fyny/i)&&"cy-GB"===n?"partOfWelshAlternative":"partOf";return u.default.createElement("div",{className:"context-label"},u.default.createElement("div",{className:"context-label__title"},i(p)),u.default.createElement("div",{className:"context-label__items"},e&&u.default.createElement("div",{className:"context-label__item"},u.default.createElement("a",{className:"context-label__item-link",href:l,"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"".concat(f(l))})},i(c)||c)),s(o,r)))};l.displayName="ContextLabel",l.defaultProps={language:"en-GB",tags:void 0,stubs:[]},l.propTypes={context:u.PropTypes.shape({label:u.PropTypes.string,link:u.PropTypes.string}).isRequired,language:u.PropTypes.string,stubs:u.default.PropTypes.arrayOf(u.PropTypes.shape({id:u.default.PropTypes.string.isRequired,label:u.default.PropTypes.string.isRequired,path:u.default.PropTypes.string.isRequired}).isRequired),tags:u.PropTypes.arrayOf(u.PropTypes.shape({label:u.PropTypes.string}))};var p=l;e.default=p,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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(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),Object.defineProperty(t,"prototype",{writable:!1}),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}}),Object.defineProperty(t,"prototype",{writable:!1}),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){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return d(t)}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],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,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),g=o(n(6)),b=o(n(27)),m=o(n(28)),_=o(n(29)),w=o(n(30)),x=o(n(7)),O=o(n(31)),j=o(n(9)),P=o(n(1)),k=o(n(32)),T=function(t){return t?"favourited":"unfavourited"},E=function(t){return T(!t)},S=function(t){return"guide"===t||"blocks"===t},z=function(t){return"guide"===t?"study-guide":"article"},A=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={isFavourited:!1,saveInProgress:!1,uasClientType:z(t.pageType),isSignedIn:!1,isLoading:!0},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;this.setState({isLoading:!1}),S(r)&&g.default.getDetails().then(function(e){e.isSignedIn&&(t.setState({isSignedIn:!0}),x.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(T(e));return e?{buttonClass:o,text:r.added,icon:v.default.createElement(_.default,null),hoverText:r.remove,hoverIcon:v.default.createElement(w.default,null),savingText:r.removing,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,saveInProgress:n}}},{key:"createPreLoadingButtonView",value:function(){var t=this.localisations.buttonText;return v.default.createElement(b.default,{disabled:!1,onClick:function(){},className:"bitesize-header__add-to-my-bitesize",aria:"polite"},v.default.createElement("span",null,v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--normal"},v.default.createElement(m.default,null),v.default.createElement("span",null,t.addToMyBitesize)),v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--hover"},v.default.createElement(m.default,null),v.default.createElement("span",null,t.addToMyBitesize))))}},{key:"createButtonView",value:function(){var t=this.getButtonContent(),e=t.buttonClass,n=t.text,r=t.icon,o=t.hoverText,i=t.hoverIcon,u=t.savingText,a=t.saveInProgress;return v.default.createElement(b.default,{disabled:a,onClick:this.save,className:e,aria:"polite"},a&&v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--saving"},i,v.default.createElement("span",null,u)),!a&&v.default.createElement("span",null,v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--normal"},r,v.default.createElement("span",null,n)),v.default.createElement("span",{className:"bitesize-header__add-button-content bitesize-header__add-button-content--hover"},i,v.default.createElement("span",null,o))))}},{key:"createSignedOutButtonView",value:function(){var t=this.props.language,e=this.localisations,n=e.signInUpsellToolTipText,r=e.signInUpsellToolTipTitle,o=e.buttonText,i=v.default.createElement("span",null,v.default.createElement(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(k.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;this.setState({saveInProgress:!0}),j.default.submitFavourite(a,E(n),r).then(function(){t.setState({isFavourited:!n,saveInProgress:!1})}).catch(function(){t.setState({saveInProgress:!1}),c(i,!0)})}}},{key:"render",value:function(){var t=this.state,e=t.isLoading,n=t.isSignedIn,r=this.props.pageType;return S(r)?e?v.default.createElement("div",{className:"bitesize-header__my-bitesize bitesize-header__my-bitesize-preloaded"},this.createPreLoadingButtonView()):v.default.createElement("div",{className:"bitesize-header__my-bitesize"},n?this.createButtonView():this.createSignedOutButtonView()):null}}]),e}(v.Component);A.propTypes={contentId:v.PropTypes.string.isRequired,pageType:v.PropTypes.string.isRequired,setNotificationMessage:v.PropTypes.func.isRequired,language:v.PropTypes.string.isRequired};var I=A;e.default=I,t.exports=e.default},function(t,e){t.exports=n(95)},function(t,e){t.exports=n(225)},function(t,e){t.exports=n(226)},function(t,e){t.exports=n(227)},function(t,e){t.exports=n(228)},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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(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),Object.defineProperty(t,"prototype",{writable:!1}),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}}),Object.defineProperty(t,"prototype",{writable:!1}),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){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return d(t)}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],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,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),g=o(n(33)),b=o(n(34)),m=o(n(35)),_=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;g.default.checkFlagpole().then(function(){var e=window.location.href;(0,b.default)(n,r,e).then(function(e){document.head.insertAdjacentHTML("beforeend",e.inlineHead),t.setState({idcta:{__html:e.html}})}).catch(function(){})}).catch(function(){})}},{key:"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);_.defaultProps={language:"en-GB",purposeText:""},_.propTypes={language:v.PropTypes.string,purposeText:v.PropTypes.string};var w=_;e.default=w,t.exports=e.default},function(t,e){t.exports=n(79)},function(t,e){t.exports=n(229)},function(t,e){t.exports=n(230)},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){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(0)),u=n(37),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/20220130034930/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(231)},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){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(i,a,c):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(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(245)},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(41)),f=r(n(42)),s=r(n(43)),l=r(n(44)),p=r(n(45)),d=r(n(46)),h=r(n(47)),y=r(n(48)),v=r(n(49)),g=r(n(50)),b=r(n(51)),m=r(n(52)),_=r(n(53)),w=r(n(54)),x=r(n(55)),O=r(n(57)),j=r(n(58)),P=r(n(59)),k=r(n(60)),T=r(n(61)),E=r(n(62)),S=r(n(63)),z=r(n(64)),A=r(n(65)),I=["pageType"],M=["pageType"],C={"all-subjects":p.default,blocks:w.default,clips:l.default,clip:s.default,"collection-index":O.default,course:z.default,"subject-courses":A.default,examspecs:d.default,"field-of-study":h.default,flashcards:x.default,guide:y.default,"index-page":x.default,levels:v.default,"programme-of-study":g.default,"primary-index":P.default,"secondary-index":k.default,"secondary-games":T.default,tags:j.default,"this-terms-topics":S.default,topic:b.default,quizzes:E.default,404:m.default,500:_.default},R=function(t){var e=t.pageType,n=i(t,I);return C[e].getData(n)},W=function(t){var e=t.pageType,n=i(t,M);return C[e].parseData(n)},L=function(t){return a.default.createElement(f.default,o({},t,{parseData:W}))},D=c.default.create(L,{data:function(t){return R(t)?{context:{uri:R(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),B=function(t){if(t.pageType in C)return a.default.createElement(D,t);throw new Error("".concat(t.pageType," is an invalid page type"))},N=B;e.default=N,t.exports=e.default},function(t,e){t.exports=n(246)},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(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(i=function(t){return t?n:e})(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),Object.defineProperty(t,"prototype",{writable:!1}),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}}),Object.defineProperty(t,"prototype",{writable:!1}),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){if(e&&("object"===r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return h(t)}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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],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,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!=typeof t)return{default:t};var n=i(e);if(n&&n.has(t))return n.get(t);var o={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var c=u?Object.getOwnPropertyDescriptor(t,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=t[a]}return o.default=t,n&&n.set(t,o),o}(n(0)),b=o(n(2)),m=o(n(11)),_=o(n(9)),w=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&&_.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.yearId,l=t.context.body,p=t.levels,d=t.isInApp,h=t.messagingBannerType,y=t.displayAltBerryMan,v=r({pageType:o,data:l,language:e,zid:c,topicId:f}),_="";if(p){var w=(0,b.default)(p.body,function(t){return t.id===v.levelId});_=w?w.phase:""}return g.default.createElement(m.default,u({href:n,language:e,pageType:o,isPreview:i,subdirectory:a,yearId:s,phase:_,isInApp:d,messagingBannerType:h},v,{displayAltBerryMan:y}))}}]),e}(g.Component);w.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:"",yearId:"",messagingBannerType:"",displayAltBerryMan:!1},w.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,mobileDescription: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,mobileDescription: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,yearId:g.PropTypes.string,isPreview:g.PropTypes.string,isInApp:g.PropTypes.bool,messagingBannerType:g.PropTypes.string,displayAltBerryMan:g.PropTypes.bool};var x=w;e.default=x,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-class-clip-data",clipId:t.zid}},o=function(t){var e=t.data;return{label:e.title,fosZid:e.topicOfStudy.fieldOfStudy.id,zid:e.topicOfStudyId,levelLabel:e.topicOfStudy.level.label,levelId:e.topicOfStudy.level.id,topicLabel:e.topicOfStudy.label,topicId:e.topicOfStudy.id,posId:e.topicOfStudy.programmeOfStudy.id,posLabel:e.topicOfStudy.programmeOfStudy.shortLabel,duration:e.media?e.media.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-header-data",pageType:"clips",zid:t.zid}},i=function(t){var e=t.data,n=t.language,o=t.zid,i=e.label,u=e.fosZid,a=e.zid,c=e.numberOfClassClips,f=e.numberOfLearnerGuides,s=e.levelLabel,l=e.levelId,p=e.posZid,d=e.posShortLabel,h=(0,r.default)(n);return{label:"".concat(i," ").concat(h("class-clips")),fosZid:u,zid:o,numberOfClassClips:c,numberOfLearnerGuides:f,levelLabel:s,levelId:l,topicLabel:i,topicId:a,posId:p,posLabel:d,stubs:[{id:a,label:i,path:"/bitesize/topics/".concat(a)}]}},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-header-data",pageType:"all-subjects",language:t.language}},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-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,posId:e.programmeOfStudy.id,posLabel:e.programmeOfStudy.shortLabel}},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){function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){i(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t,e){if(null==t)return{};var n,r,o=a(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 a(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 c=n(10),f=["posZid","shortLabel"],s=(0,c.omitBy)(c.isNil),l=function(t){var e=t.zid,n=t.chapterType,r=t.cacheBuster;return s({data:"bbc-morph-bitesize-header-data",zid:e,chapterType:n,pageType:"guide",pageIndex:1,cacheBuster:r})},p=function(t){var e=t.data;return o({posId:e.posZid,posLabel:e.shortLabel},u(e,f))},d={getData:l,parseData:p};e.default=d,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:"level-page",language:t.language,zid:t.zid}},o=function(t){var e=t.data,n=t.zid;return n&&"undefined"!==n?{label:e.headerLabel,fosZid:e.fosZid?e.fosZid:"",description:e.description,zid:n,levelLabel:e.label,levelId:e.id?e.id:n,phase:e.phase}:e},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",zid:t.zid,yearId:t.yearId,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){var e=t.zid;return{data:"bbc-morph-bitesize-header-data",pageType:"topic",yearId:t.yearId,zid:e}},o=function(t){var e=t.data;return{label:e.label,fosZid:e.taughtInFieldZid,numberOfClassClips:e.numberOfClassClips,numberOfLearnerGuides:e.numberOfLearnerGuides,zid:e.zid,hasTopics:e.hasTopics,levelLabel:e.levelLabel,levelId:e.levelId,examspecLabel:e.examspecLabel,examspecId:e.examspecId,posId:e.posZid,posLabel:e.posShortLabel,yearId:e.yearId,yearLabel:e.yearLabel,stubs:e.stubs}},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(2)),c=r(n(8)),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=r.programmeOfStudy,p=[{id:o,label:u,path:"/bitesize/topics/".concat(o)}];return i({levelLabel:c.label,levelId:c.id,examspecLabel:f.label,examspecId:f.id,stubs:p,fosZid:a.id,posId:l.id,posLabel:l.shortLabel},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(10),o=function(t){return t&&t.__esModule?t:{default:t}}(n(56)),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(247)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.slug,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"collection-index",slug:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data||{}}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(10),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.zid,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;return o({data:"bbc-morph-bitesize-header-data",pageType:"tags",zid:e,language:r,cacheBuster:i})},u=function(t){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(t){return{data:"bbc-morph-bitesize-header-data",pageType:"primary-index",language:t.language}},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(){return{data:"bbc-morph-bitesize-header-data",pageType:"secondary-index"}},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(){},o=function(){return{phase:"secondary"}},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:"Get your GCSE science study suggestions",description:"This is a new feature, we’ll be improving it over time to make it smarter. We’ll also be expanding it by adding more questions and subjects.",zid:"z98jmp3",levelLabel:"GCSE",levelId:"z98jmp3",phase:"secondary"}},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(){return{data:"bbc-morph-bitesize-this-terms-topics-data"}},o=function(t){var e=t.data,n=t.language,r=e[n]?e[n].pageText:e["en-GB"].pageText;return{label:r.title,description:r.description,mobileDescription:r.mobileDescription}},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:"course",zid:t.zid}},o=function(t){var e=t.data;return{zid:e.zid,description:e.description,mobileDescription:e.description,posId:e.posZid,fosZid:e.fosZid,label:e.title,posLabel:e.posShortLabel,levelLabel:e.levelLabel,levelId:e.levelId}},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:"subject-courses",zid:t.zid,language:t.language}},o=function(t){var e=t.data;return{zid:e.zid,description:e.description,mobileDescription:e.description,posId:e.posZid,fosZid:e.fosZid,label:e.title,posLabel:e.posShortLabel,levelLabel:e.levelLabel,levelId:e.levelId}},i={getData:r,parseData:o};e.default=i,t.exports=e.default}])},function(t,e,n){var r=n(101),o=n(177),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(57),i=n(39),u=n(25);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(103),i=n(165),u=n(70);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(58),i=n(63),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(20),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(20);t.exports=r},function(t,e,n){function r(t){return o(this.__data__,t)>-1}var o=n(20);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(20);t.exports=r},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(19);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(19),i=n(35),u=n(37),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(60),i=n(117),u=n(22),a=n(62),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(21),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(118),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(3),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(121),i=n(19),u=n(35);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(122),i=n(123),u=n(124),a=n(125),c=n(126);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(23);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(23),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(23),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(23),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(24);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(24);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(24);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(24);t.exports=r},function(t,e,n){function r(t,e,n,r,v,b){var m=f(t),_=f(e),w=m?h:c(t),x=_?h:c(e);w=w==d?y:w,x=x==d?y:x;var O=w==y,j=x==y,P=w==x;if(P&&s(t)){if(!s(e))return!1;m=!0,O=!1}if(P&&!O)return b||(b=new o),m||l(t)?i(t,e,n,r,v,b):u(t,e,w,n,r,v,b);if(!(n&p)){var k=O&&g.call(t,"__wrapped__"),T=j&&g.call(e,"__wrapped__");if(k||T){var E=k?t.value():t,S=T?e.value():e;return b||(b=new o),v(E,S,n,r,b)}}return!!P&&(b||(b=new o),a(t,e,n,r,v,b))}var o=n(58),i=n(64),u=n(138),a=n(142),c=n(160),f=n(4),s=n(66),l=n(68),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(37),i=n(134),u=n(135);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,O,P){switch(n){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!O(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 m:return t==e+"";case y:var k=c;case b:var T=r&s;if(k||(k=f),t.size!=e.size&&!T)return!1;var E=P.get(t);if(E)return E==e;r|=l,P.set(t,e);var S=a(k(t),k(e),r,o,O,P);return P.delete(t),S;case _:if(j)return j.call(t)==j.call(e)}return!1}var o=n(21),i=n(139),u=n(59),a=n(64),c=n(140),f=n(141),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]",m="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",O=o?o.prototype:void 0,j=O?O.valueOf:void 0;t.exports=r},function(t,e,n){var r=n(3),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),y=c.get(e);if(h&&y)return h==e&&y==t;var v=!0;c.set(t,e),c.set(e,t);for(var g=f;++p<l;){d=s[p];var b=t[d],m=e[d];if(r)var _=f?r(m,b,d,e,t,c):r(b,m,d,t,e,c);if(!(void 0===_?b===m||u(b,m,n,r,c):_)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var w=t.constructor,x=e.constructor;w!=x&&"constructor"in t&&"constructor"in e&&!("function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x)&&(v=!1)}return c.delete(t),c.delete(e),v}var o=n(143),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(144),i=n(146),u=n(25);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(145),i=n(4);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(147),o=n(148),i=Object.prototype,u=i.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return u.call(t,e)}))}:o;t.exports=c},function(t,e){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}t.exports=n},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],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(150),i=n(65),u=n(4),a=n(66),c=n(67),f=n(68),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(9),i=n(10),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(9),i=n(38),u=n(10),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(61),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(26)(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(157),i=n(158),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(159),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(161),o=n(35),i=n(162),u=n(163),a=n(164),c=n(9),f=n(62),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(8),o=n(3),i=r(o,"DataView");t.exports=i},function(t,e,n){var r=n(8),o=n(3),i=r(o,"Promise");t.exports=i},function(t,e,n){var r=n(8),o=n(3),i=r(o,"Set");t.exports=i},function(t,e,n){var r=n(8),o=n(3),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(69),i=n(25);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(63),i=n(71),u=n(170),a=n(40),c=n(69),f=n(70),s=n(28),l=1,p=2;t.exports=r},function(t,e,n){var r=n(168),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(169),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(37),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(171),i=n(172);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(73),i=n(65),u=n(4),a=n(67),c=n(38),f=n(28);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(175),i=n(176),u=n(40),a=n(28);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(72);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(77),i=n(57),u=n(41),a=Math.max;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(179),i=1/0,u=1.7976931348623157e308;t.exports=r},function(t,e,n){function r(t){if("number"==typeof t)return t;if(u(t))return a;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=o(t);var n=f.test(t);return n||s.test(t)?l(t.slice(2),n?2:8):c.test(t)?a:+t}var o=n(180),i=n(22),u=n(27),a=NaN,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 t?t.slice(0,o(t)+1).replace(i,""):t}var o=n(181),i=/^\s+/;t.exports=r},function(t,e){function n(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e}var r=/\s/;t.exports=n},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(183),i=n(39),u=n(186),a=n(41),c=n(187),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(77),i=n(184),u=n(185);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){return"string"==typeof t||!i(t)&&u(t)&&o(t)==a}var o=n(9),i=n(4),u=n(10),a="[object String]";t.exports=r},function(t,e,n){function r(t){return null==t?[]:o(t,i(t))}var o=n(188),i=n(25);t.exports=r},function(t,e,n){function r(t,e){return o(e,function(e){return t[e]})}var o=n(76);t.exports=r},function(t,e,n){"use strict";var r=n(42);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(78)),i=r(n(79)),u=function(){return window.Promise||(window.Promise=o.default),new window.Promise(function(t,e){requirejs(["idcta-v2/idcta-1","orb/cookies"],function(e,n){t({idcta:e,cookiesLib:n})},function(t){e(t)})})},a={isSignedIn:!1},c=function(){return u().then(function(t){var e=t.idcta,n=t.cookiesLib,r=n.readPolicy();return e.hasCookie()?i.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 a})}):a})},f={getDetails:c};e.default=f,t.exports=e.default},function(t,e,n){"use strict";var r=n(42);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(191));n(80);var i=n(192),u=n(81),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)))})},m=b,_=function(t,e){var n=(0,i.chunk)(50,e).map(function(e){return b(t,e)});return Promise.all(n).then(function(){})},w=function(t){var e="";return t&&(Object.keys(t).forEach(function(n){e+="&".concat(n,"=").concat(t[n])}),e="?".concat(e.substr(1))),e},x=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()})},O=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})},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return O("/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})},P=function(t){return _("/my/batch/follows",p(t))},k=function(t){return m("/my/follows",t)},T=function(t){return x("/my/follows/".concat(t))},E=function(t){return O("/my/follows".concat(w(t)))},S=function(t){return m("/my/reads",h(t))},z=function(t){return O("/my/reads".concat(w(t)))},A=function(t,e){return m("/my/reads",y(t,e))},I=function(t){return m("/my/favourites",d(t))},M=function(t,e){return O("/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 O("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},R={getFollow:T,getFollows:E,getSavedForLater:j,postFollow:k,postFollows:P,getReads:z,postRead:S,postReadForAnArticle:A,postFavourite:I,isFavourited:M,isArticleRead:C};e.default=R,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(193).runInContext();t.exports=n(194)(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)&&x(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 m(t){return t.match(De)||[]}function _(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function w(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 x(t,e,n){return e===e?V(t,e,n):w(t,j,n)}function O(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function j(t){return t!==t}function P(t,e){var n=null==t?0:t.length;return n?z(t,e)/n:Mt}function k(t){return function(e){return null==e?nt:e[t]}}function T(t){return function(e){return null==t?nt:t[e]}}function E(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function S(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function z(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 A(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function I(t,e){return d(e,function(e){return[e,t[e]]})}function M(t){return function(e){return t(e)}}function C(t,e){return d(e,function(e){return t[e]})}function R(t,e){return t.has(e)}function W(t,e){for(var n=-1,r=t.length;++n<r&&x(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length;n--&&x(e,t[n],0)>-1;);return n}function D(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function B(t){return"\\"+Ln[t]}function N(t,e){return null==t?nt:t[e]}function F(t){return En.test(t)}function q(t){return Sn.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 K(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 H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Z(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function V(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=kn.lastIndex=0;kn.test(t);)++e;return e}function tt(t){return t.match(kn)||[]}function et(t){return t.match(Tn)||[]}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,mt=32,_t=64,wt=128,xt=256,Ot=512,jt=30,Pt="...",kt=800,Tt=16,Et=1,St=2,zt=1/0,At=9007199254740991,It=1.7976931348623157e308,Mt=NaN,Ct=4294967295,Rt=Ct-1,Wt=Ct>>>1,Lt=[["ary",wt],["bind",ht],["bindKey",yt],["curry",gt],["curryRight",bt],["flip",Ot],["partial",mt],["partialRight",_t],["rearg",xt]],Dt="[object Arguments]",Bt="[object Array]",Nt="[object AsyncFunction]",Ft="[object Boolean]",qt="[object Date]",Ut="[object DOMException]",$t="[object Error]",Gt="[object Function]",Kt="[object GeneratorFunction]",Ht="[object Map]",Zt="[object Number]",Vt="[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,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,we=/[&<>"']/g,xe=RegExp(_e.source),Oe=RegExp(we.source),je=/<%-([\s\S]+?)%>/g,Pe=/<%([\s\S]+?)%>/g,ke=/<%=([\s\S]+?)%>/g,Te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ee=/^\w*$/,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ze=/[\\^$.*+?()[\]{}|]/g,Ae=RegExp(ze.source),Ie=/^\s+|\s+$/g,Me=/^\s+/,Ce=/\s+$/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,De=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Be=/\\(\\)?/g,Ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fe=/\w*$/,qe=/^[-+]0x[0-9a-f]+$/i,Ue=/^0b[01]+$/i,$e=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Ke=/^(?:0|[1-9]\d*)$/,He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,Ve=/['\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])?",mn="["+en+"]?",_n="(?:"+hn+"(?:"+[sn,ln,pn].join("|")+")"+mn+bn+")*",wn=mn+bn+_n,xn="(?:"+["[\\u2700-\\u27bf]",ln,pn].join("|")+")"+wn,On="(?:"+[sn+un+"?",un,ln,pn,"[\\ud800-\\udfff]"].join("|")+")",jn=RegExp(rn,"g"),Pn=RegExp(un,"g"),kn=RegExp(fn+"(?="+fn+")|"+On+wn,"g"),Tn=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+",xn].join("|"),"g"),En=RegExp("["+hn+Ye+Je+en+"]"),Sn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,zn=["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"],An=-1,In={};In[ce]=In[fe]=In[se]=In[le]=In[pe]=In[de]=In[he]=In[ye]=In[ve]=!0,In[Dt]=In[Bt]=In[ue]=In[Ft]=In[ae]=In[qt]=In[$t]=In[Gt]=In[Ht]=In[Zt]=In[Yt]=In[Qt]=In[te]=In[ee]=In[oe]=!1;var Mn={};Mn[Dt]=Mn[Bt]=Mn[ue]=Mn[ae]=Mn[Ft]=Mn[qt]=Mn[ce]=Mn[fe]=Mn[se]=Mn[le]=Mn[pe]=Mn[Ht]=Mn[Zt]=Mn[Yt]=Mn[Qt]=Mn[te]=Mn[ee]=Mn[ne]=Mn[de]=Mn[he]=Mn[ye]=Mn[ve]=!0,Mn[$t]=Mn[Gt]=Mn[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"},Rn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Wn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ln={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dn=parseFloat,Bn=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,Kn=Gn&&Nn.process,Hn=function(){try{var t=$n&&$n.require&&$n.require("util").types;return t||Kn&&Kn.binding&&Kn.binding("util")}catch(t){}}(),Zn=Hn&&Hn.isArrayBuffer,Vn=Hn&&Hn.isDate,Yn=Hn&&Hn.isMap,Jn=Hn&&Hn.isRegExp,Xn=Hn&&Hn.isSet,Qn=Hn&&Hn.isTypedArray,tr=k("length"),er=T(Cn),nr=T(Rn),rr=T(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 T(){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 V(){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=Oi(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,m=g.type,_=b(v);if(m==St)v=_;else if(!_){if(m==Et)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 De(){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():Es.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=mi(this,t).delete(t);return this.size-=e?1:0,e}function sn(t){return mi(this,t).get(t)}function ln(t){return mi(this,t).has(t)}function pn(t,e){var n=mi(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 mn(t){return this.__data__.get(t)}function _n(t){return this.__data__.has(t)}function wn(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 xn(t,e){var n=hp(t),r=!n&&dp(t),o=!n&&!r&&vp(t),i=!n&&!r&&!o&&wp(t),u=n||r||o||i,a=u?A(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)||Ai(f,c))||a.push(f);return a}function On(t){var e=t.length;return e?t[Jr(0,e-1)]:nt}function kn(t,e){return Vi(Co(t),Un(e,0,t.length))}function Tn(t){return Vi(Co(t))}function En(t,e,n){(n===nt||qa(t[e],n))&&(n!==nt||e in t)||Nn(t,e,n)}function Sn(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 Rn(t,e,n,r){return pl(t,function(t,o,i){e(r,t,n(t),i)}),r}function Wn(t,e){return t&&Ro(e,Lc(e),t)}function Ln(t,e){return t&&Ro(e,Dc(e),t)}function Nn(t,e,n){"__proto__"==e&&Is?Is(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&lt;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=ki(t),!c)return Co(t,u)}else{var p=jl(t),d=p==Gt||p==Kt;if(vp(t))return jo(t,c);if(p==Yt||p==Dt||d&&!o){if(u=f||d?{}:Ti(t),!c)return f?Lo(t,Ln(u,t)):Wo(t,Wn(u,t))}else{if(!Mn[p])return o?t:{};u=Ei(t,p,c)}}i||(i=new vn);var h=i.get(t);if(h)return h;i.set(t,u),_p(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?Dc:Lc,v=l?nt:y(t);return a(v||t,function(r,o){v&&(o=r,r=t[o]),Sn(u,o,$n(r,e,n,o,t,i))}),u}function Kn(t){var e=Lc(t);return function(n){return Hn(n,t,e)}}function Hn(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 Tl(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,M(n))),r?(i=p,u=!1):e.length>=rt&&(i=R,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=mc(n),n<0&&(n=-n>o?0:o+n),r=r===nt||r>o?o:mc(r),r<0&&(r+=o),r=n>r?0:_c(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=zi),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,Lc)}function pr(t,e){return t&&yl(t,e,Lc)}function dr(t,e){return s(e,function(e){return Xa(t[e])})}function hr(t,e){e=xo(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:Vt:As&&As in is(t)?xi(t):qi(t)}function gr(t,e){return t>e}function br(t,e){return null!=t&&hs.call(t,e)}function mr(t,e){return null!=t&&e in is(t)}function _r(t,e,n){return t>=$s(e,n)&&t<Us(e,n)}function wr(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,M(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?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 xr(t,e,n,r){return lr(t,function(t,o,i){e(r,n(t),o,i)}),r}function Or(t,e,n){e=xo(e,t),t=$i(t,e);var r=null==t?t:t[Yi(bu(e))];return null==r?nt:i(r,t,n)}function jr(t){return nc(t)&&vr(t)==Dt}function Pr(t){return nc(t)&&vr(t)==ue}function kr(t){return nc(t)&&vr(t)==qt}function Tr(t,e,n,r,o){return t===e||(null==t||null==e||!nc(t)&&!nc(e)?t!==t&&e!==e:Er(t,e,n,r,Tr,o))}function Er(t,e,n,r,o,i){var u=hp(t),a=hp(e),c=u?Bt:jl(t),f=a?Bt:jl(e);c=c==Dt?Yt:c,f=f==Dt?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||wp(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 Sr(t){return nc(t)&&jl(t)==Ht}function zr(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?Tr(s,f,pt|dt,r,l):p))return!1}}return!0}function Ar(t){return!(!ec(t)||Wi(t))&&(Xa(t)?_s:$e).test(Ji(t))}function Ir(t){return nc(t)&&vr(t)==Qt}function Mr(t){return nc(t)&&jl(t)==te}function Cr(t){return nc(t)&&tc(t.length)&&!!In[vr(t)]}function Rr(t){return"function"==typeof t?t:null==t?Ef:"object"==typeof t?hp(t)?Fr(t[0],t[1]):Nr(t):Wf(t)}function Wr(t){if(!Li(t))return qs(t);var e=[];for(var n in is(t))hs.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Lr(t){if(!ec(t))return Fi(t);var e=Li(t),n=[];for(var r in t)("constructor"!=r||!e&&hs.call(t,r))&&n.push(r);return n}function Dr(t,e){return t<e}function Br(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=_i(t);return 1==e.length&&e[0][2]?Bi(e[0][0],e[0][1]):function(n){return n===t||zr(n,t,e)}}function Fr(t,e){return Mi(t)&&Di(e)?Bi(Yi(t),e):function(n){var r=Cc(n,t);return r===nt&&r===e?Wc(n,t):Tr(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(Ki(t,u),i,u+"",t,e,o):nt;a===nt&&(a=i),En(t,u,a)}},Dc)}function Ur(t,e,n,r,o,i,u){var a=Ki(t,n),c=Ki(e,n),f=u.get(c);if(f)return En(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&&wp(c);s=c,p||d||h?hp(a)?s=a:$a(a)?s=Co(a):d?(l=!1,s=jo(c,!0)):h?(l=!1,s=So(c,!0)):s=[]:sc(c)||dp(c)?(s=a,dp(a)?s=xc(a):ec(a)&&!Xa(a)||(s=Ti(c))):l=!1}l&&(u.set(c,s),o(s,c,r,i,u),u.delete(c)),En(t,n,s)}function $r(t,e){var n=t.length;if(n)return e+=e<0?n:0,Ai(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}):[Ef];var r=-1;return e=d(e,M(bi())),S(Br(t,function(t,n,o){return{criteria:d(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Ao(t,e,n)})}function Kr(t,e){return Hr(t,e,function(e,n){return Wc(t,n)})}function Hr(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,xo(u,t),a)}return i}function Zr(t){return function(e){return hr(e,t)}}function Vr(t,e,n,r){var o=r?O:x,i=-1,u=e.length,a=t;for(t===e&&(e=Co(e)),n&&(a=d(t,M(n)));++i<u;)for(var c=0,f=e[i],s=n?n(f):f;(c=o(a,s,c,r))>-1;)a!==t&&Es.call(a,c,1),Es.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;Ai(o)?Es.call(t,o,1):ho(t,o)}}return t}function Jr(t,e){return t+Ls(Hs()*(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>At)return n;do{e%2&&(n+=t),(e=Ls(e/2))&&(t+=t)}while(e);return n}function to(t,e){return El(Ui(t,e,Ef),t+"")}function eo(t){return On(Yc(t))}function no(t,e){var n=Yc(t);return Vi(n,Un(e,0,n.length))}function ro(t,e,n,r){if(!ec(t))return t;e=xo(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:Ai(e[o+1])?[]:{})}Sn(a,c,f),a=a[c]}return t}function oo(t){return Vi(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,Ef,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=Ls((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,Rt)}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)?Mt:+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==-zt?"-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:_l(t);if(f)return H(f);u=!1,o=R,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=xo(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 mo(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 _o(t){return $a(t)?t:[]}function wo(t){return"function"==typeof t?t:Ef}function xo(t,e){return hp(t)?t:Mi(t,e)?[t]:Sl(jc(t))}function Oo(t,e,n){var r=t.length;return n=n===nt?r:n,!e&&n>=r?t:io(t,e,n)}function jo(t,e){if(e)return t.slice();var n=t.length,r=js?js(n):new t.constructor(n);return t.copy(r),r}function Po(t){var e=new t.constructor(t.byteLength);return new Os(e).set(new Os(t)),e}function ko(t,e){return new t.constructor(e?Po(t.buffer):t.buffer,t.byteOffset,t.byteLength)}function To(t){var e=new t.constructor(t.source,Fe.exec(t));return e.lastIndex=t.lastIndex,e}function Eo(t){return fl?is(fl.call(t)):{}}function So(t,e){return new t.constructor(e?Po(t.buffer):t.buffer,t.byteOffset,t.length)}function zo(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 Ao(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;++r<u;){var c=zo(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}function Io(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 Mo(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 Ro(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):Sn(n,a,c)}return n}function Wo(t,e){return Ro(t,xl(t),e)}function Lo(t,e){return Ro(t,Ol(t),e)}function Do(t,e){return function(n,r){var o=hp(n)?u:Rn,i=e?e():{};return o(n,t,bi(r,2),i)}}function Bo(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&&Ii(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=jc(e);var n=F(e)?X(e):nt,r=n?n[0]:e.charAt(0),o=n?Oo(n,1).join(""):e.slice(1);return r[t]()+o}}function $o(t){return function(e){return y(Of(nf(e).replace(jn,"")),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 Ko(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?[]:K(a,f);return u-=s.length,u<n?ri(t,e,Vo,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 Ho(t){return function(e,n,r){var o=is(e);if(!Ua(e)){var i=bi(n,3);e=Lc(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 Zo(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?wl(u):nt;a=f&&Ri(f[0])&&f[1]==(wt|gt|mt|xt)&&!f[4].length&&1==f[9]?a[vi(f[0])].apply(a,f[3]):1==u.length&&Ri(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 Vo(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=ts(g),m=g;m--;)b[m]=arguments[m];if(h)var _=gi(s),w=D(b,_);if(r&&(b=Io(b,r,o,h)),i&&(b=Mo(b,i,u,h)),g-=w,h&&g<f)return ri(t,e,Vo,s.placeholder,n,b,K(b,_),a,c,f-g);var x=p?n:this,O=d?x[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&&(O=v||Go(O)),O.apply(x,b)}var l=e&wt,p=e&ht,d=e&yt,h=e&(gt|bt),y=e&Ot,v=d?nt:Go(t);return s}function Yo(t,e){return function(n,r){return xr(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,M(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)?Oo(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&&Ii(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=wc(e),n=wc(n)),t(e,n)}}function ri(t,e,n,r,o,i,u,a,c,f){var s=e&gt,l=s?u:nt,p=s?nt:u,d=s?i:nt,h=s?nt:i;e|=s?mt:_t,(e&=~(s?_t:mt))&vt||(e&=~(ht|yt));var y=[t,e,o,d,l,h,p,a,c,f],v=n.apply(nt,y);return Ri(t)&&kl(v,y),v.placeholder=r,Hi(v,t,e)}function oi(t){var e=os[t];return function(t,n){if(t=wc(t),(n=null==n?0:$s(mc(n),292))&&Ns(t)){var r=(jc(t)+"e").split("e");return r=(jc(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=jl(e);return n==Ht?$(e):n==te?Z(e):I(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&=~(mt|_t),r=o=nt),u=u===nt?u:Us(mc(u),0),a=a===nt?a:mc(a),f-=o?o.length:0,e&_t){var s=r,l=o;r=o=nt}var p=c?nt:wl(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?Ko(t,e,a):e!=mt&&e!=(ht|mt)||o.length?Vo.apply(nt,d):ti(t,e,n,r);else var h=qo(t,e,n);return Hi((p?vl:kl)(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(!R(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 Os(t),new Os(e)));case Ft:case qt:case Zt:return qa(+t,+e);case $t:return t.name==e.name&&t.message==e.message;case Qt:case ee:return t==e+"";case Ht:var a=$;case te:var c=r&pt;if(a||(a=H),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,m=e.constructor;b!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof m&&m instanceof m)&&(d=!1)}return i.delete(t),i.delete(e),d}function di(t){return El(Ui(t,nt,su),t+"")}function hi(t){return yr(t,Lc,xl)}function yi(t){return yr(t,Dc,Ol)}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||Sf;return t=t===Sf?Rr:t,arguments.length?t(arguments[0],arguments[1]):t}function mi(t,e){var n=t.__data__;return Ci(e)?n["string"==typeof e?"string":"hash"]:n.map}function _i(t){for(var e=Lc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Di(o)]}return e}function wi(t,e){var n=N(t,e);return Ar(n)?n:nt}function xi(t){var e=hs.call(t,As),n=t[As];try{t[As]=nt;var r=!0}catch(t){}var o=gs.call(t);return r&&(e?t[As]=n:delete t[As]),o}function Oi(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 ji(t){var e=t.match(We);return e?e[1].split(Le):[]}function Pi(t,e,n){e=xo(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)&&Ai(u,o)&&(hp(t)||dp(t))}function ki(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 Ti(t){return"function"!=typeof t.constructor||Li(t)?{}:ll(Ps(t))}function Ei(t,e,n){var r=t.constructor;switch(e){case ue:return Po(t);case Ft:case qt:return new r(+t);case ae:return ko(t,n);case ce:case fe:case se:case le:case pe:case de:case he:case ye:case ve:return So(t,n);case Ht:return new r;case Zt:case ee:return new r(t);case Qt:return To(t);case te:return new r;case ne:return Eo(t)}}function Si(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(Re,"{\n/* [wrapped with "+e+"] */\n")}function zi(t){return hp(t)||dp(t)||!!(Ss&&t&&t[Ss])}function Ai(t,e){var n=typeof t;return!!(e=null==e?At:e)&&("number"==n||"symbol"!=n&&Ke.test(t))&&t>-1&&t%1==0&&t<e}function Ii(t,e,n){if(!ec(n))return!1;var r=typeof e;return!!("number"==r?Ua(n)&&Ai(e,n.length):"string"==r&&e in n)&&qa(n[e],t)}function Mi(t,e){if(hp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!dc(t))||Ee.test(t)||!Te.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 Ri(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=wl(r);return!!o&&t===o[0]}function Wi(t){return!!vs&&vs in t}function Li(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ls)}function Di(t){return t===t&&!ec(t)}function Bi(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|wt),u=r==wt&&n==gt||r==wt&&n==xt&&t[7].length<=e[8]||r==(wt|xt)&&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?Io(c,a,e[4]):a,t[4]=c?K(t[3],ct):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?Mo(c,a,e[6]):a,t[6]=c?K(t[5],ct):e[6]),a=e[7],a&&(t[7]=a),r&wt&&(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]=Ai(i,n)?o[i]:nt}return t}function Ki(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Hi(t,e,n){var r=e+"";return El(t,Si(r,Xi(ji(r),n)))}function Zi(t){var e=0,n=0;return function(){var r=Gs(),o=Tt-(r-n);if(n=r,o>0){if(++e>=kt)return arguments[0]}else e=0;return t.apply(nt,arguments)}}function Vi(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==-zt?"-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(Lt,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?Ii(t,e,n):e===nt)?1:Us(mc(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:mc(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:mc(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&&Ii(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:mc(n);return o<0&&(o=Us(r+o,0)),w(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=mc(n),o=n<0?Us(r+o,0):$s(o,r-1)),w(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,zt):[]}function pu(t,e){return(null==t?0:t.length)?(e=e===nt?1:mc(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:mc(n);return o<0&&(o=Us(r+o,0)),x(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 mu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==nt&&(o=mc(n),o=o<0?Us(r+o,0):$s(o,r-1)),e===e?Y(t,e,o):w(t,j,o,!0)}function _u(t,e){return t&&t.length?$r(t,mc(e)):nt}function wu(t,e){return t&&t.length&&e&&e.length?Vr(t,e):t}function xu(t,e,n){return t&&t.length&&e&&e.length?Vr(t,e,bi(n,2)):t}function Ou(t,e,n){return t&&t.length&&e&&e.length?Vr(t,e,nt,n):t}function ju(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 Pu(t){return null==t?t:Zs.call(t)}function ku(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Ii(t,e,n)?(e=0,n=r):(e=null==e?0:mc(e),n=n===nt?r:mc(n)),io(t,e,n)):[]}function Tu(t,e){return ao(t,e)}function Eu(t,e,n){return co(t,e,bi(n,2))}function Su(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 zu(t,e){return ao(t,e,!0)}function Au(t,e,n){return co(t,e,bi(n,2),!0)}function Iu(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 Mu(t){return t&&t.length?fo(t):[]}function Cu(t,e){return t&&t.length?fo(t,bi(e,2)):[]}function Ru(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:mc(e),io(t,0,e<0?0:e)):[]}function Lu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===nt?1:mc(e),e=r-e,io(t,e<0?0:e,r)):[]}function Du(t,e){return t&&t.length?vo(t,bi(e,3),!1,!0):[]}function Bu(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}),A(e,function(e){return d(t,k(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 mo(t||[],e||[],Sn)}function Ku(t,e){return mo(t||[],e||[],ro)}function Hu(t){var e=n(t);return e.__chain__=!0,e}function Zu(t,e){return e(t),t}function Vu(t,e){return e(t)}function Yu(){return Hu(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:Vu,args:[Pu],thisArg:nt}),new o(e,this.__chain__)}return this.thru(Pu)}function na(){return go(this.__wrapped__,this.__actions__)}function ra(t,e,n){var r=hp(t)?f:ur;return n&&Ii(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),zt)}function aa(t,e,n){return n=n===nt?1:mc(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?mc(n):0;var o=t.length;return n<0&&(n=Us(o+n,0)),pc(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&x(t,e,n)>-1}function la(t,e){return(hp(t)?d:Br)(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:E,o=arguments.length<3;return r(t,bi(e,4),n,o,pl)}function ha(t,e,n){var r=hp(t)?v:E,o=arguments.length<3;return r(t,bi(e,4),n,o,dl)}function ya(t,e){return(hp(t)?s:fr)(t,Sa(bi(e,3)))}function va(t){return(hp(t)?On:eo)(t)}function ga(t,e,n){return e=(n?Ii(t,e,n):e===nt)?1:mc(e),(hp(t)?kn:no)(t,e)}function ba(t){return(hp(t)?Tn:oo)(t)}function ma(t){if(null==t)return 0;if(Ua(t))return pc(t)?J(t):t.length;var e=jl(t);return e==Ht||e==te?t.size:Wr(t).length}function _a(t,e,n){var r=hp(t)?g:uo;return n&&Ii(t,e,n)&&(e=nt),r(t,bi(e,3))}function wa(t,e){if("function"!=typeof e)throw new cs(it);return t=mc(t),function(){if(--t<1)return e.apply(this,arguments)}}function xa(t,e,n){return e=n?nt:e,e=t&&null==e?t.length:e,ui(t,wt,nt,nt,nt,nt,e)}function Oa(t,e){var n;if("function"!=typeof e)throw new cs(it);return t=mc(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=nt),n}}function ja(t,e,n){e=n?nt:e;var r=ui(t,gt,nt,nt,nt,nt,nt,e);return r.placeholder=ja.placeholder,r}function Pa(t,e,n){e=n?nt:e;var r=ui(t,bt,nt,nt,nt,nt,nt,e);return r.placeholder=Pa.placeholder,r}function ka(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=Tl(a,e),m?r(t):y}function i(t){var n=t-g,r=t-b,o=e-n;return _?$s(o,h-r):o}function u(t){var n=t-g,r=t-b;return g===nt||n>=e||n<0||_&&r>=h}function a(){var t=np();return u(t)?c(t):(v=Tl(a,i(t)),nt)}function c(t){return v=nt,w&&p?r(t):(p=d=nt,y)}function f(){v!==nt&&ml(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(_)return ml(v),v=Tl(a,e),r(g)}return v===nt&&(v=Tl(a,e)),y}var p,d,h,y,v,g,b=0,m=!1,_=!1,w=!0;if("function"!=typeof t)throw new cs(it);return e=wc(e)||0,ec(n)&&(m=!!n.leading,_="maxWait"in n,h=_?Us(wc(n.maxWait)||0,e):h,w="trailing"in n?!!n.trailing:w),l.cancel=f,l.flush=s,l}function Ta(t){return ui(t,Ot)}function Ea(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(Ea.Cache||an),n}function Sa(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 za(t){return Oa(2,t)}function Aa(t,e){if("function"!=typeof t)throw new cs(it);return e=e===nt?e:mc(e),to(t,e)}function Ia(t,e){if("function"!=typeof t)throw new cs(it);return e=null==e?0:Us(mc(e),0),to(function(n){var r=n[e],o=Oo(n,0,e);return r&&h(o,r),i(t,this,o)})}function Ma(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),ka(t,e,{leading:r,maxWait:e,trailing:o})}function Ca(t){return xa(t,1)}function Ra(t,e){return cp(wo(e),t)}function Wa(){if(!arguments.length)return[];var t=arguments[0];return hp(t)?t:[t]}function La(t){return $n(t,lt)}function Da(t,e){return e="function"==typeof e?e:nt,$n(t,lt,e)}function Ba(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||Hn(t,e,Lc(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 Ka(t){return nc(t)&&1===t.nodeType&&!sc(t)}function Ha(t){if(null==t)return!0;if(Ua(t)&&(hp(t)||"string"==typeof t||"function"==typeof t.splice||vp(t)||wp(t)||dp(t)))return!t.length;var e=jl(t);if(e==Ht||e==te)return!t.size;if(Li(t))return!Wr(t).length;for(var n in t)if(hs.call(t,n))return!1;return!0}function Za(t,e){return Tr(t,e)}function Va(t,e,n){n="function"==typeof n?n:nt;var r=n?n(t,e):nt;return r===nt?Tr(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==Kt||e==Nt||e==Xt}function Qa(t){return"number"==typeof t&&t==mc(t)}function tc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=At}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||zr(t,e,_i(e))}function oc(t,e,n){return n="function"==typeof n?n:nt,zr(t,e,_i(e),n)}function ic(t){return fc(t)&&t!=+t}function uc(t){if(Pl(t))throw new ns(ot);return Ar(t)}function ac(t){return null===t}function cc(t){return null==t}function fc(t){return"number"==typeof t||nc(t)&&vr(t)==Zt}function sc(t){if(!nc(t)||vr(t)!=Yt)return!1;var e=Ps(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>=-At&&t<=At}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)&&jl(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(zs&&t[zs])return U(t[zs]());var e=jl(t);return(e==Ht?$:e==te?H:Yc)(t)}function bc(t){return t?(t=wc(t))===zt||t===-zt?(t<0?-1:1)*It:t===t?t:0:0===t?t:0}function mc(t){var e=bc(t),n=e%1;return e===e?n?e-n:e:0}function _c(t){return t?Un(mc(t),0,Ct):0}function wc(t){if("number"==typeof t)return t;if(dc(t))return Mt;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(Ie,"");var n=Ue.test(t);return n||Ge.test(t)?Bn(t.slice(2),n?2:8):qe.test(t)?Mt:+t}function xc(t){return Ro(t,Dc(t))}function Oc(t){return t?Un(mc(t),-At,At):0===t?t:0}function jc(t){return null==t?"":lo(t)}function Pc(t,e){var n=ll(t);return null==e?n:Wn(n,e)}function kc(t,e){return _(t,bi(e,3),lr)}function Tc(t,e){return _(t,bi(e,3),pr)}function Ec(t,e){return null==t?t:hl(t,bi(e,3),Dc)}function Sc(t,e){return null==t?t:yl(t,bi(e,3),Dc)}function zc(t,e){return t&&lr(t,bi(e,3))}function Ac(t,e){return t&&pr(t,bi(e,3))}function Ic(t){return null==t?[]:dr(t,Lc(t))}function Mc(t){return null==t?[]:dr(t,Dc(t))}function Cc(t,e,n){var r=null==t?nt:hr(t,e);return r===nt?n:r}function Rc(t,e){return null!=t&&Pi(t,e,br)}function Wc(t,e){return null!=t&&Pi(t,e,mr)}function Lc(t){return Ua(t)?xn(t):Wr(t)}function Dc(t){return Ua(t)?xn(t,!0):Lr(t)}function Bc(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,Sa(bi(e)))}function qc(t,e){if(null==t)return{};var n=d(yi(t),function(t){return[t]});return e=bi(e),Hr(t,n,function(t,n){return e(t,n[0])})}function Uc(t,e,n){e=xo(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 Kc(t,e,n){var r=hp(t),o=r||vp(t)||wp(t);if(e=bi(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:ec(t)&&Xa(i)?ll(Ps(t)):{}}return(o?a:lr)(t,function(t,r,o){return e(n,t,r,o)}),n}function Hc(t,e){return null==t||ho(t,e)}function Zc(t,e,n){return null==t?t:yo(t,e,wo(n))}function Vc(t,e,n,r){return r="function"==typeof r?r:nt,null==t?t:yo(t,e,wo(n),r)}function Yc(t){return null==t?[]:C(t,Lc(t))}function Jc(t){return null==t?[]:C(t,Dc(t))}function Xc(t,e,n){return n===nt&&(n=e,e=nt),n!==nt&&(n=wc(n),n=n===n?n:0),e!==nt&&(e=wc(e),e=e===e?e:0),Un(wc(t),e,n)}function Qc(t,e,n){return e=bc(e),n===nt?(n=e,e=0):n=bc(n),t=wc(t),_r(t,e,n)}function tf(t,e,n){if(n&&"boolean"!=typeof n&&Ii(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=Hs();return $s(t+o*(e-t+Dn("1e-"+((o+"").length-1))),e)}return Jr(t,e)}function ef(t){return Hp(jc(t).toLowerCase())}function nf(t){return(t=jc(t))&&t.replace(He,er).replace(Pn,"")}function rf(t,e,n){t=jc(t),e=lo(e);var r=t.length;n=n===nt?r:Un(mc(n),0,r);var o=n;return(n-=e.length)>=0&&t.slice(n,o)==e}function of(t){return t=jc(t),t&&Oe.test(t)?t.replace(we,nr):t}function uf(t){return t=jc(t),t&&Ae.test(t)?t.replace(ze,"\\$&"):t}function af(t,e,n){t=jc(t),e=mc(e);var r=e?J(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Qo(Ls(o),n)+t+Qo(Ws(o),n)}function cf(t,e,n){t=jc(t),e=mc(e);var r=e?J(t):0;return e&&r<e?t+Qo(e-r,n):t}function ff(t,e,n){t=jc(t),e=mc(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),Ks(jc(t).replace(Me,""),e||0)}function lf(t,e,n){return e=(n?Ii(t,e,n):e===nt)?1:mc(e),Qr(jc(t),e)}function pf(){var t=arguments,e=jc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function df(t,e,n){return n&&"number"!=typeof n&&Ii(t,e,n)&&(e=n=nt),(n=n===nt?Ct:n>>>0)?(t=jc(t),t&&("string"==typeof e||null!=e&&!mp(e))&&!(e=lo(e))&&F(t)?Oo(X(t),0,n):t.split(e,n)):[]}function hf(t,e,n){return t=jc(t),n=null==n?0:Un(mc(n),0,t.length),e=lo(e),t.slice(n,n+e.length)==e}function yf(t,e,r){var o=n.templateSettings;r&&Ii(t,e,r)&&(e=nt),t=jc(t),e=kp({},e,o,ai);var i,u,a=kp({},e.imports,o.imports,ai),c=Lc(a),f=C(a,c),s=0,l=e.interpolate||Ze,p="__p += '",d=us((e.escape||Ze).source+"|"+l.source+"|"+(l===ke?Ne:Ze).source+"|"+(e.evaluate||Ze).source+"|$","g"),h="//# sourceURL="+(hs.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++An+"]")+"\n";t.replace(d,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(s,c).replace(Ve,B),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(me,"$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=Zp(function(){return rs(c,h+"return "+p).apply(nt,f)});if(v.source=p,Ya(v))throw v;return v}function vf(t){return jc(t).toLowerCase()}function gf(t){return jc(t).toUpperCase()}function bf(t,e,n){if((t=jc(t))&&(n||e===nt))return t.replace(Ie,"");if(!t||!(e=lo(e)))return t;var r=X(t),o=X(e);return Oo(r,W(r,o),L(r,o)+1).join("")}function mf(t,e,n){if((t=jc(t))&&(n||e===nt))return t.replace(Ce,"");if(!t||!(e=lo(e)))return t;var r=X(t);return Oo(r,0,L(r,X(e))+1).join("")}function _f(t,e,n){if((t=jc(t))&&(n||e===nt))return t.replace(Me,"");if(!t||!(e=lo(e)))return t;var r=X(t);return Oo(r,W(r,X(e))).join("")}function wf(t,e){var n=jt,r=Pt;if(ec(e)){var o="separator"in e?e.separator:o;n="length"in e?mc(e.length):n,r="omission"in e?lo(e.omission):r}t=jc(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?Oo(u,0,a).join(""):t.slice(0,a);if(o===nt)return c+r;if(u&&(a+=c.length-a),mp(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=us(o.source,jc(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 xf(t){return t=jc(t),t&&xe.test(t)?t.replace(_e,rr):t}function Of(t,e,n){return t=jc(t),e=n?nt:e,e===nt?q(t)?et(t):m(t):t.match(e)||[]}function jf(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 Pf(t){return Kn($n(t,ft))}function kf(t){return function(){return t}}function Tf(t,e){return null==t||t!==t?e:t}function Ef(t){return t}function Sf(t){return Rr("function"==typeof t?t:$n(t,ft))}function zf(t){return Nr($n(t,ft))}function Af(t,e){return Fr(t,$n(e,ft))}function If(t,e,n){var r=Lc(e),o=dr(e,r);null!=n||ec(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Lc(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 Mf(){return qn._===this&&(qn._=ms),this}function Cf(){}function Rf(t){return t=mc(t),to(function(e){return $r(e,t)})}function Wf(t){return Mi(t)?k(Yi(t)):Zr(t)}function Lf(t){return function(e){return null==t?nt:hr(t,e)}}function Df(){return[]}function Bf(){return!1}function Nf(){return{}}function Ff(){return""}function qf(){return!0}function Uf(t,e){if((t=mc(t))<1||t>At)return[];var n=Ct,r=$s(t,Ct);e=bi(e),t-=Ct;for(var o=A(r,e);++n<t;)e(n);return o}function $f(t){return hp(t)?d(t,Yi):dc(t)?[t]:Co(Sl(jc(t)))}function Gf(t){var e=++ys;return jc(t)+e}function Kf(t){return t&&t.length?ar(t,Ef,gr):nt}function Hf(t,e){return t&&t.length?ar(t,bi(e,2),gr):nt}function Zf(t){return P(t,Ef)}function Vf(t,e){return P(t,bi(e,2))}function Yf(t){return t&&t.length?ar(t,Ef,Dr):nt}function Jf(t,e){return t&&t.length?ar(t,bi(e,2),Dr):nt}function Xf(t){return t&&t.length?z(t,Ef):0}function Qf(t,e){return t&&t.length?z(t,bi(e,2)):0}e=null==e?qn:or.defaults(qn.Object(),e,or.pick(qn,zn));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),ms=qn._,_s=us("^"+ds.call(hs).replace(ze,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ws=Gn?e.Buffer:nt,xs=e.Symbol,Os=e.Uint8Array,js=ws?ws.allocUnsafe:nt,Ps=G(is.getPrototypeOf,is),ks=is.create,Ts=ls.propertyIsEnumerable,Es=fs.splice,Ss=xs?xs.isConcatSpreadable:nt,zs=xs?xs.iterator:nt,As=xs?xs.toStringTag:nt,Is=function(){try{var t=wi(is,"defineProperty");return t({},"",{}),t}catch(t){}}(),Ms=e.clearTimeout!==qn.clearTimeout&&e.clearTimeout,Cs=es&&es.now!==qn.Date.now&&es.now,Rs=e.setTimeout!==qn.setTimeout&&e.setTimeout,Ws=os.ceil,Ls=os.floor,Ds=is.getOwnPropertySymbols,Bs=ws?ws.isBuffer:nt,Ns=e.isFinite,Fs=fs.join,qs=G(is.keys,is),Us=os.max,$s=os.min,Gs=es.now,Ks=e.parseInt,Hs=os.random,Zs=fs.reverse,Vs=wi(e,"DataView"),Ys=wi(e,"Map"),Js=wi(e,"Promise"),Xs=wi(e,"Set"),Qs=wi(e,"WeakMap"),tl=wi(is,"create"),el=Qs&&new Qs,nl={},rl=Ji(Vs),ol=Ji(Ys),il=Ji(Js),ul=Ji(Xs),al=Ji(Qs),cl=xs?xs.prototype:nt,fl=cl?cl.valueOf:nt,sl=cl?cl.toString:nt,ll=function(){function t(){}return function(e){if(!ec(e))return{};if(ks)return ks(e);t.prototype=e;var n=new t;return t.prototype=nt,n}}();n.templateSettings={escape:je,evaluate:Pe,interpolate:ke,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=De,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=mn,vn.prototype.has=_n,vn.prototype.set=wn;var pl=No(lr),dl=No(pr,!0),hl=Fo(),yl=Fo(!0),vl=el?function(t,e){return el.set(t,e),t}:Ef,gl=Is?function(t,e){return Is(t,"toString",{configurable:!0,enumerable:!1,value:kf(e),writable:!0})}:Ef,bl=to,ml=Ms||function(t){return qn.clearTimeout(t)},_l=Xs&&1/H(new Xs([,-0]))[1]==zt?function(t){return new Xs(t)}:Cf,wl=el?function(t){return el.get(t)}:Cf,xl=Ds?function(t){return null==t?[]:(t=is(t),s(Ds(t),function(e){return Ts.call(t,e)}))}:Df,Ol=Ds?function(t){for(var e=[];t;)h(e,xl(t)),t=Ps(t);return e}:Df,jl=vr;(Vs&&jl(new Vs(new ArrayBuffer(1)))!=ae||Ys&&jl(new Ys)!=Ht||Js&&jl(Js.resolve())!=Jt||Xs&&jl(new Xs)!=te||Qs&&jl(new Qs)!=oe)&&(jl=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 Ht;case il:return Jt;case ul:return te;case al:return oe}return e});var Pl=ps?Xa:Bf,kl=Zi(vl),Tl=Rs||function(t,e){return qn.setTimeout(t,e)},El=Zi(gl),Sl=function(t){var e=Ea(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(Se,function(t,n,r,o){e.push(r?o.replace(Be,"$1"):n||t)}),e}),zl=to(function(t,e){return $a(t)?ir(t,sr(e,1,$a,!0)):[]}),Al=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)):[]}),Il=to(function(t,e){var n=bu(e);return $a(n)&&(n=nt),$a(t)?ir(t,sr(e,1,$a,!0),nt,n):[]}),Ml=to(function(t){var e=d(t,_o);return e.length&&e[0]===t[0]?wr(e):[]}),Cl=to(function(t){var e=bu(t),n=d(t,_o);return e===bu(n)?e=nt:n.pop(),n.length&&n[0]===t[0]?wr(n,bi(e,2)):[]}),Rl=to(function(t){var e=bu(t),n=d(t,_o);return e="function"==typeof e?e:nt,e&&n.pop(),n.length&&n[0]===t[0]?wr(n,nt,e):[]}),Wl=to(wu),Ll=di(function(t,e){var n=null==t?0:t.length,r=Fn(t,e);return Yr(t,d(e,function(t){return Ai(t,n)?+t:t}).sort(zo)),r}),Dl=to(function(t){return po(sr(t,1,$a,!0))}),Bl=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),Kl=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)}),Hl=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&&Ai(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Vu,args:[i],thisArg:nt}),new o(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(nt),t})):this.thru(i)}),Zl=Do(function(t,e,n){hs.call(t,n)?++t[n]:Nn(t,n,1)}),Vl=Ho(cu),Yl=Ho(fu),Jl=Do(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):Or(t,e,n)}),u}),Ql=Do(function(t,e,n){Nn(t,n,e)}),tp=Do(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&&Ii(t,e[0],e[1])?e=[]:n>2&&Ii(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=K(n,gi(rp));r|=mt}return ui(t,r,e,n,o)}),op=to(function(t,e,n){var r=ht|yt;if(n.length){var o=K(n,gi(op));r|=mt}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,wc(e)||0,n)});Ea.Cache=an;var ap=bl(function(t,e){e=1==e.length&&hp(e[0])?d(e[0],M(bi())):d(sr(e,1),M(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,mt,nt,e,K(e,gi(cp)))}),fp=to(function(t,e){return ui(t,_t,nt,e,K(e,gi(fp)))}),sp=di(function(t,e){return ui(t,xt,nt,nt,nt,e)}),lp=ni(gr),pp=ni(function(t,e){return t>=e}),dp=jr(function(){return arguments}())?jr:function(t){return nc(t)&&hs.call(t,"callee")&&!Ts.call(t,"callee")},hp=ts.isArray,yp=Zn?M(Zn):Pr,vp=Bs||Bf,gp=Vn?M(Vn):kr,bp=Yn?M(Yn):Sr,mp=Jn?M(Jn):Ir,_p=Xn?M(Xn):Mr,wp=Qn?M(Qn):Cr,xp=ni(Dr),Op=ni(function(t,e){return t<=e}),jp=Bo(function(t,e){if(Li(e)||Ua(e))return Ro(e,Lc(e),t),nt;for(var n in e)hs.call(e,n)&&Sn(t,n,e[n])}),Pp=Bo(function(t,e){Ro(e,Dc(e),t)}),kp=Bo(function(t,e,n,r){Ro(e,Dc(e),t,r)}),Tp=Bo(function(t,e,n,r){Ro(e,Lc(e),t,r)}),Ep=di(Fn),Sp=to(function(t,e){t=is(t);var n=-1,r=e.length,o=r>2?e[2]:nt;for(o&&Ii(e[0],e[1],o)&&(r=1);++n<r;)for(var i=e[n],u=Dc(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}),zp=to(function(t){return t.push(nt,ci),i(Rp,nt,t)}),Ap=Yo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=gs.call(e)),t[e]=n},kf(Ef)),Ip=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),Mp=to(Or),Cp=Bo(function(t,e,n){qr(t,e,n)}),Rp=Bo(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=xo(e,t),r||(r=e.length>1),e}),Ro(t,yi(t),n),r&&(n=$n(n,ft|st|lt,fi));for(var o=e.length;o--;)ho(n,e[o]);return n}),Lp=di(function(t,e){return null==t?{}:Kr(t,e)}),Dp=ii(Lc),Bp=ii(Dc),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?" ":"")+Hp(e)}),Kp=$o(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Hp=Uo("toUpperCase"),Zp=to(function(t,e){try{return i(t,nt,e)}catch(t){return Ya(t)?t:new ns(t)}}),Vp=di(function(t,e){return a(e,function(e){e=Yi(e),Nn(t,e,rp(t[e],t))}),t}),Yp=Zo(),Jp=Zo(!0),Xp=to(function(t,e){return function(n){return Or(n,t,e)}}),Qp=to(function(t,e){return function(n){return Or(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=wa,n.ary=xa,n.assign=jp,n.assignIn=Pp,n.assignInWith=kp,n.assignWith=Tp,n.at=Ep,n.before=Oa,n.bind=rp,n.bindAll=Vp,n.bindKey=op,n.castArray=Wa,n.chain=Hu,n.chunk=tu,n.compact=eu,n.concat=nu,n.cond=jf,n.conforms=Pf,n.constant=kf,n.countBy=Zl,n.create=Pc,n.curry=ja,n.curryRight=Pa,n.debounce=ka,n.defaults=Sp,n.defaultsDeep=zp,n.defer=ip,n.delay=up,n.difference=zl,n.differenceBy=Al,n.differenceWith=Il,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=Ta,n.flow=Yp,n.flowRight=Jp,n.fromPairs=du,n.functions=Ic,n.functionsIn=Mc,n.groupBy=Jl,n.initial=vu,n.intersection=Ml,n.intersectionBy=Cl,n.intersectionWith=Rl,n.invert=Ap,n.invertBy=Ip,n.invokeMap=Xl,n.iteratee=Sf,n.keyBy=Ql,n.keys=Lc,n.keysIn=Dc,n.map=la,n.mapKeys=Bc,n.mapValues=Nc,n.matches=zf,n.matchesProperty=Af,n.memoize=Ea,n.merge=Cp,n.mergeWith=Rp,n.method=Xp,n.methodOf=Qp,n.mixin=If,n.negate=Sa,n.nthArg=Rf,n.omit=Wp,n.omitBy=Fc,n.once=za,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=Lp,n.pickBy=qc,n.property=Wf,n.propertyOf=Lf,n.pull=Wl,n.pullAll=wu,n.pullAllBy=xu,n.pullAllWith=Ou,n.pullAt=Ll,n.range=rd,n.rangeRight=od,n.rearg=sp,n.reject=ya,n.remove=ju,n.rest=Aa,n.reverse=Pu,n.sampleSize=ga,n.set=$c,n.setWith=Gc,n.shuffle=ba,n.slice=ku,n.sortBy=ep,n.sortedUniq=Mu,n.sortedUniqBy=Cu,n.split=df,n.spread=Ia,n.tail=Ru,n.take=Wu,n.takeRight=Lu,n.takeRightWhile=Du,n.takeWhile=Bu,n.tap=Zu,n.throttle=Ma,n.thru=Vu,n.toArray=gc,n.toPairs=Dp,n.toPairsIn=Bp,n.toPath=$f,n.toPlainObject=xc,n.transform=Kc,n.unary=Ca,n.union=Dl,n.unionBy=Bl,n.unionWith=Nl,n.uniq=Nu,n.uniqBy=Fu,n.uniqWith=qu,n.unset=Hc,n.unzip=Uu,n.unzipWith=$u,n.update=Zc,n.updateWith=Vc,n.values=Yc,n.valuesIn=Jc,n.without=Fl,n.words=Of,n.wrap=Ra,n.xor=ql,n.xorBy=Ul,n.xorWith=$l,n.zip=Gl,n.zipObject=Gu,n.zipObjectDeep=Ku,n.zipWith=Kl,n.entries=Dp,n.entriesIn=Bp,n.extend=Pp,n.extendWith=kp,If(n,n),n.add=id,n.attempt=Zp,n.camelCase=Np,n.capitalize=ef,n.ceil=ud,n.clamp=Xc,n.clone=La,n.cloneDeep=Ba,n.cloneDeepWith=Na,n.cloneWith=Da,n.conformsTo=Fa,n.deburr=nf,n.defaultTo=Tf,n.divide=ad,n.endsWith=rf,n.eq=qa,n.escape=of,n.escapeRegExp=uf,n.every=ra,n.find=Vl,n.findIndex=cu,n.findKey=kc,n.findLast=Yl,n.findLastIndex=fu,n.findLastKey=Tc,n.floor=cd,n.forEach=ca,n.forEachRight=fa,n.forIn=Ec,n.forInRight=Sc,n.forOwn=zc,n.forOwnRight=Ac,n.get=Cc,n.gt=lp,n.gte=pp,n.has=Rc,n.hasIn=Wc,n.head=hu,n.identity=Ef,n.includes=sa,n.indexOf=yu,n.inRange=Qc,n.invoke=Mp,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=Ka,n.isEmpty=Ha,n.isEqual=Za,n.isEqualWith=Va,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=mp,n.isSafeInteger=lc,n.isSet=_p,n.isString=pc,n.isSymbol=dc,n.isTypedArray=wp,n.isUndefined=hc,n.isWeakMap=yc,n.isWeakSet=vc,n.join=gu,n.kebabCase=Fp,n.last=bu,n.lastIndexOf=mu,n.lowerCase=qp,n.lowerFirst=Up,n.lt=xp,n.lte=Op,n.max=Kf,n.maxBy=Hf,n.mean=Zf,n.meanBy=Vf,n.min=Yf,n.minBy=Jf,n.stubArray=Df,n.stubFalse=Bf,n.stubObject=Nf,n.stubString=Ff,n.stubTrue=qf,n.multiply=fd,n.nth=_u,n.noConflict=Mf,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=ma,n.snakeCase=$p,n.some=_a,n.sortedIndex=Tu,n.sortedIndexBy=Eu,n.sortedIndexOf=Su,n.sortedLastIndex=zu,n.sortedLastIndexBy=Au,n.sortedLastIndexOf=Iu,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=mc,n.toLength=_c,n.toLower=vf,n.toNumber=wc,n.toSafeInteger=Oc,n.toString=jc,n.toUpper=gf,n.trim=bf,n.trimEnd=mf,n.trimStart=_f,n.truncate=wf,n.unescape=xf,n.uniqueId=Gf,n.upperCase=Kp,n.upperFirst=Hp,n.each=ca,n.eachRight=fa,n.first=hu,If(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.20",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(mc(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==Et||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(Ef)},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 Or(n,t,e)})}),b.prototype.reject=function(t){return this.filter(Sa(bi(t)))},b.prototype.slice=function(t,e){t=mc(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=mc(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 m=t.apply(e,c);return m.__actions__.push({func:Vu,args:[p],thisArg:nt}),new o(m,d)}return v&&g?t.apply(this,c):(m=this.thru(p),v?i?m.value()[0]:m.value():m)})}),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[Vo(nt,yt).name]=[{name:"wrapper",func:nt}],b.prototype.clone=T,b.prototype.reverse=V,b.prototype.value=Q,n.prototype.at=Hl,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,zs&&(n.prototype[zs]=Qu),n}();qn._=or,void 0!==(o=function(){return or}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(36),n(26)(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(k.cap){var n=s.iterateeRearg[t];if(n)return w(e,n);var r=!j&&s.iterateeAry[t];if(r)return _(e,r)}return e}function h(t,e,n){return E||k.curry&&n>1?W(e,n):e}function y(t,e,n){if(k.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?M(e,n):a(e,o)}return e}function v(t,e,n){return k.rearg&&n>1&&(z||!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=R(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||B(c)||F(c)||(u[a]=R(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.runInContext.convert(t)(void 0)}function m(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=j?A:I,u=j?A[r]:e,a=C(C({},o),t);return f(i,n,u,a)}}function _(t,e){return x(t,function(t){return"function"==typeof t?o(t,e):t})}function w(t,e){return x(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function x(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=k.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function O(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=H[o];return f?a=f(e):k.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),L(K,function(t){return L(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=E?W(r,1):function(){return e.apply(this,arguments)}),r.convert=m(o,e),r.placeholder=e.placeholder=n,r}var j="function"==typeof e,P=e===Object(e);if(P&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var k={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},T=j?n:l,E="curry"in p&&p.curry,S="fixed"in p&&p.fixed,z="rearg"in p&&p.rearg,A=j?n.runInContext():void 0,I=j?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},M=I.ary,C=I.assign,R=I.clone,W=I.curry,L=I.forEach,D=I.isArray,B=I.isError,N=I.isFunction,F=I.isWeakMap,q=I.keys,U=I.rearg,$=I.toInteger,G=I.toPath,K=q(s.aryMethod),H={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return k.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 L(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(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(!P)return O(e,n,T);var Z=n,V=[];return L(K,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&V.push([t,O(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=V.length;n--;)if(V[n][0]==t)return;e.convert=m(t,e),V.push([t,e])}}),L(V,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(195),l=n(196),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,n){var r=n(198).runInContext();t.exports=n(199)(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)&&x(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 m(t){return t.match(Ne)||[]}function _(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function w(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 x(t,e,n){return e===e?Y(t,e,n):w(t,j,n)}function O(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function j(t){return t!==t}function P(t,e){var n=null==t?0:t.length;return n?z(t,e)/n:Wt}function k(t){return function(e){return null==e?ot:e[t]}}function T(t){return function(e){return null==t?ot:t[e]}}function E(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function S(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function z(t,e){for(var n,r=-1,o=t.length;++r<o;){var i=e(t[r]);i!==ot&&(n=n===ot?i:n+i)}return n}function A(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function I(t,e){return d(e,function(e){return[e,t[e]]})}function M(t){return t?t.slice(0,tt(t)+1).replace(Re,""):t}function C(t){return function(e){return t(e)}}function R(t,e){return d(e,function(e){return t[e]})}function W(t,e){return t.has(e)}function L(t,e){for(var n=-1,r=t.length;++n<r&&x(e,t[n],0)>-1;);return n}function D(t,e){for(var n=t.length;n--&&x(e,t[n],0)>-1;);return n}function B(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function N(t){return"\\"+Nn[t]}function F(t,e){return null==t?ot:t[e]}function q(t){return An.test(t)}function U(t){return In.test(t)}function $(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}function G(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function K(t,e){return function(n){return t(e(n))}}function H(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&u!==lt||(t[n]=lt,i[o++]=n)}return i}function Z(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function V(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Y(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}function J(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}function X(t){return q(t)?et(t):rr(t)}function Q(t){return q(t)?nt(t):b(t)}function tt(t){for(var e=t.length;e--&&We.test(t.charAt(e)););return e}function et(t){for(var e=Sn.lastIndex=0;Sn.test(t);)++e;return e}function nt(t){return t.match(Sn)||[]}function rt(t){return t.match(zn)||[]}var ot,it=200,ut="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",at="Expected a function",ct="Invalid `variable` option passed into `_.template`",ft="__lodash_hash_undefined__",st=500,lt="__lodash_placeholder__",pt=1,dt=2,ht=4,yt=1,vt=2,gt=1,bt=2,mt=4,_t=8,wt=16,xt=32,Ot=64,jt=128,Pt=256,kt=512,Tt=30,Et="...",St=800,zt=16,At=1,It=2,Mt=1/0,Ct=9007199254740991,Rt=1.7976931348623157e308,Wt=NaN,Lt=4294967295,Dt=Lt-1,Bt=Lt>>>1,Nt=[["ary",jt],["bind",gt],["bindKey",bt],["curry",_t],["curryRight",wt],["flip",kt],["partial",xt],["partialRight",Ot],["rearg",Pt]],Ft="[object Arguments]",qt="[object Array]",Ut="[object AsyncFunction]",$t="[object Boolean]",Gt="[object Date]",Kt="[object DOMException]",Ht="[object Error]",Zt="[object Function]",Vt="[object GeneratorFunction]",Yt="[object Map]",Jt="[object Number]",Xt="[object Null]",Qt="[object Object]",te="[object Promise]",ee="[object Proxy]",ne="[object RegExp]",re="[object Set]",oe="[object String]",ie="[object Symbol]",ue="[object Undefined]",ae="[object WeakMap]",ce="[object WeakSet]",fe="[object ArrayBuffer]",se="[object DataView]",le="[object Float32Array]",pe="[object Float64Array]",de="[object Int8Array]",he="[object Int16Array]",ye="[object Int32Array]",ve="[object Uint8Array]",ge="[object Uint8ClampedArray]",be="[object Uint16Array]",me="[object Uint32Array]",_e=/\b__p \+= '';/g,we=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Oe=/&(?:amp|lt|gt|quot|#39);/g,je=/[&<>"']/g,Pe=RegExp(Oe.source),ke=RegExp(je.source),Te=/<%-([\s\S]+?)%>/g,Ee=/<%([\s\S]+?)%>/g,Se=/<%=([\s\S]+?)%>/g,ze=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ae=/^\w*$/,Ie=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/[\\^$.*+?()[\]{}|]/g,Ce=RegExp(Me.source),Re=/^\s+/,We=/\s/,Le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,De=/\{\n\/\* \[wrapped with (.+)\] \*/,Be=/,? & /,Ne=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fe=/[()=,{}\[\]\/\s]/,qe=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,$e=/\w*$/,Ge=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,He=/^\[object .+?Constructor\]$/,Ze=/^0o[0-7]+$/i,Ve=/^(?:0|[1-9]\d*)$/,Ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,Xe=/['\n\r\u2028\u2029\\]/g,Qe="\\ud800-\\udfff",tn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",en="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="A-Z\\xc0-\\xd6\\xd8-\\xde",on="\\ufe0e\\ufe0f",un="\\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",an="['’]",cn="["+un+"]",fn="["+tn+"]",sn="["+nn+"]",ln="[^"+Qe+un+"\\d+"+en+nn+rn+"]",pn="\\ud83c[\\udffb-\\udfff]",dn="[^"+Qe+"]",hn="(?:\\ud83c[\\udde6-\\uddff]){2}",yn="[\\ud800-\\udbff][\\udc00-\\udfff]",vn="["+rn+"]",gn="\\u200d",bn="(?:"+sn+"|"+ln+")",mn="(?:['’](?:d|ll|m|re|s|t|ve))?",_n="(?:['’](?:D|LL|M|RE|S|T|VE))?",wn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",xn="["+on+"]?",On="(?:"+gn+"(?:"+[dn,hn,yn].join("|")+")"+xn+wn+")*",jn=xn+wn+On,Pn="(?:"+["[\\u2700-\\u27bf]",hn,yn].join("|")+")"+jn,kn="(?:"+[dn+fn+"?",fn,hn,yn,"[\\ud800-\\udfff]"].join("|")+")",Tn=RegExp(an,"g"),En=RegExp(fn,"g"),Sn=RegExp(pn+"(?="+pn+")|"+kn+jn,"g"),zn=RegExp([vn+"?"+sn+"+"+mn+"(?="+[cn,vn,"$"].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])+"+_n+"(?="+[cn,vn+bn,"$"].join("|")+")",vn+"?"+bn+"+"+mn,vn+"+"+_n,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",Pn].join("|"),"g"),An=RegExp("["+gn+Qe+tn+on+"]"),In=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Mn=["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"],Cn=-1,Rn={};Rn[le]=Rn[pe]=Rn[de]=Rn[he]=Rn[ye]=Rn[ve]=Rn[ge]=Rn[be]=Rn[me]=!0,Rn[Ft]=Rn[qt]=Rn[fe]=Rn[$t]=Rn[se]=Rn[Gt]=Rn[Ht]=Rn[Zt]=Rn[Yt]=Rn[Jt]=Rn[Qt]=Rn[ne]=Rn[re]=Rn[oe]=Rn[ae]=!1;var Wn={};Wn[Ft]=Wn[qt]=Wn[fe]=Wn[se]=Wn[$t]=Wn[Gt]=Wn[le]=Wn[pe]=Wn[de]=Wn[he]=Wn[ye]=Wn[Yt]=Wn[Jt]=Wn[Qt]=Wn[ne]=Wn[re]=Wn[oe]=Wn[ie]=Wn[ve]=Wn[ge]=Wn[be]=Wn[me]=!0,Wn[Ht]=Wn[Zt]=Wn[ae]=!1;var Ln={"À":"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"},Dn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Bn={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fn=parseFloat,qn=parseInt,Un="object"==typeof t&&t&&t.Object===Object&&t,$n="object"==typeof self&&self&&self.Object===Object&&self,Gn=Un||$n||Function("return this")(),Kn="object"==typeof e&&e&&!e.nodeType&&e,Hn=Kn&&"object"==typeof r&&r&&!r.nodeType&&r,Zn=Hn&&Hn.exports===Kn,Vn=Zn&&Un.process,Yn=function(){try{var t=Hn&&Hn.require&&Hn.require("util").types;return t||Vn&&Vn.binding&&Vn.binding("util")}catch(t){}}(),Jn=Yn&&Yn.isArrayBuffer,Xn=Yn&&Yn.isDate,Qn=Yn&&Yn.isMap,tr=Yn&&Yn.isRegExp,er=Yn&&Yn.isSet,nr=Yn&&Yn.isTypedArray,rr=k("length"),or=T(Ln),ir=T(Dn),ur=T(Bn),ar=function t(e){function n(t){if(oc(t)&&!vp(t)&&!(t instanceof b)){if(t instanceof o)return t;if(vs.call(t,"__wrapped__"))return eu(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=ot}function b(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Lt,this.__views__=[]}function T(){var t=new b(this.__wrapped__);return t.__actions__=Wo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wo(this.__views__),t}function Y(){if(this.__filtered__){var t=new b(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function et(){var t=this.__wrapped__.value(),e=this.__dir__,n=vp(t),r=e<0,o=n?t.length:0,i=Pi(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=Ks(c,this.__takeCount__);if(!n||!r&&o==c&&d==c)return mo(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,m=g.type,_=b(v);if(m==It)v=_;else if(!_){if(m==At)continue t;break t}}h[p++]=v}return h}function nt(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 We(){this.__data__=nl?nl(null):{},this.size=0}function Ne(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Qe(t){var e=this.__data__;if(nl){var n=e[t];return n===ft?ot:n}return vs.call(e,t)?e[t]:ot}function tn(t){var e=this.__data__;return nl?e[t]!==ot:vs.call(e,t)}function en(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nl&&e===ot?ft:e,this}function nn(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 rn(){this.__data__=[],this.size=0}function on(t){var e=this.__data__,n=In(e,t);return!(n<0||(n==e.length-1?e.pop():zs.call(e,n,1),--this.size,0))}function un(t){var e=this.__data__,n=In(e,t);return n<0?ot:e[n][1]}function an(t){return In(this.__data__,t)>-1}function cn(t,e){var n=this.__data__,r=In(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function fn(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 sn(){this.size=0,this.__data__={hash:new nt,map:new(Xs||nn),string:new nt}}function ln(t){var e=wi(this,t).delete(t);return this.size-=e?1:0,e}function pn(t){return wi(this,t).get(t)}function dn(t){return wi(this,t).has(t)}function hn(t,e){var n=wi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function yn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new fn;++e<n;)this.add(t[e])}function vn(t){return this.__data__.set(t,ft),this}function gn(t){return this.__data__.has(t)}function bn(t){this.size=(this.__data__=new nn(t)).size}function mn(){this.__data__=new nn,this.size=0}function _n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function wn(t){return this.__data__.get(t)}function xn(t){return this.__data__.has(t)}function On(t,e){var n=this.__data__;if(n instanceof nn){var r=n.__data__;if(!Xs||r.length<it-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new fn(r)}return n.set(t,e),this.size=n.size,this}function jn(t,e){var n=vp(t),r=!n&&yp(t),o=!n&&!r&&bp(t),i=!n&&!r&&!o&&Op(t),u=n||r||o||i,a=u?A(t.length,fs):[],c=a.length;for(var f in t)!e&&!vs.call(t,f)||u&&("length"==f||o&&("offset"==f||"parent"==f)||i&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Mi(f,c))||a.push(f);return a}function Pn(t){var e=t.length;return e?t[Qr(0,e-1)]:ot}function kn(t,e){return Ji(Wo(t),$n(e,0,t.length))}function Sn(t){return Ji(Wo(t))}function zn(t,e,n){(n===ot||$a(t[e],n))&&(n!==ot||e in t)||Nn(t,e,n)}function An(t,e,n){var r=t[e];vs.call(t,e)&&$a(r,n)&&(n!==ot||e in t)||Nn(t,e,n)}function In(t,e){for(var n=t.length;n--;)if($a(t[n][0],e))return n;return-1}function Ln(t,e,n,r){return hl(t,function(t,o,i){e(r,t,n(t),i)}),r}function Dn(t,e){return t&&Lo(e,Bc(e),t)}function Bn(t,e){return t&&Lo(e,Nc(e),t)}function Nn(t,e,n){"__proto__"==e&&Cs?Cs(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Un(t,e){for(var n=-1,r=e.length,o=ns(r),i=null==t;++n<r;)o[n]=i?ot:Wc(t,e[n]);return o}function $n(t,e,n){return t===t&&(n!==ot&&(t=t<=n?t:n),e!==ot&&(t=t>=e?t:e)),t}function Kn(t,e,n,r,o,i){var u,c=e&pt,f=e&dt,s=e&ht;if(n&&(u=o?n(t,r,o,i):n(t)),u!==ot)return u;if(!rc(t))return t;var l=vp(t);if(l){if(u=Ei(t),!c)return Wo(t,u)}else{var p=kl(t),d=p==Zt||p==Vt;if(bp(t))return ko(t,c);if(p==Qt||p==Ft||d&&!o){if(u=f||d?{}:Si(t),!c)return f?Bo(t,Bn(u,t)):Do(t,Dn(u,t))}else{if(!Wn[p])return o?t:{};u=zi(t,p,c)}}i||(i=new bn);var h=i.get(t);if(h)return h;i.set(t,u),xp(t)?t.forEach(function(r){u.add(Kn(r,e,n,r,t,i))}):_p(t)&&t.forEach(function(r,o){u.set(o,Kn(r,e,n,o,t,i))});var y=s?f?gi:vi:f?Nc:Bc,v=l?ot:y(t);return a(v||t,function(r,o){v&&(o=r,r=t[o]),An(u,o,Kn(r,e,n,o,t,i))}),u}function Hn(t){var e=Bc(t);return function(n){return Vn(n,t,e)}}function Vn(t,e,n){var r=n.length;if(null==t)return!r;for(t=as(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===ot&&!(o in t)||!i(u))return!1}return!0}function Yn(t,e,n){if("function"!=typeof t)throw new ss(at);return Sl(function(){t.apply(ot,n)},e)}function rr(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,C(n))),r?(i=p,u=!1):e.length>=it&&(i=W,u=!1,e=new yn(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 cr(t,e){var n=!0;return hl(t,function(t,r,o){return n=!!e(t,r,o)}),n}function fr(t,e,n){for(var r=-1,o=t.length;++r<o;){var i=t[r],u=e(i);if(null!=u&&(a===ot?u===u&&!yc(u):n(u,a)))var a=u,c=i}return c}function sr(t,e,n,r){var o=t.length;for(n=wc(n),n<0&&(n=-n>o?0:o+n),r=r===ot||r>o?o:wc(r),r<0&&(r+=o),r=n>r?0:xc(r);n<r;)t[n++]=e;return t}function lr(t,e){var n=[];return hl(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function pr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=Ii),o||(o=[]);++i<u;){var a=t[i];e>0&&n(a)?e>1?pr(a,e-1,n,r,o):h(o,a):r||(o[o.length]=a)}return o}function dr(t,e){return t&&vl(t,e,Bc)}function hr(t,e){return t&&gl(t,e,Bc)}function yr(t,e){return s(e,function(e){return tc(t[e])})}function vr(t,e){e=jo(e,t);for(var n=0,r=e.length;null!=t&&n<r;)t=t[Xi(e[n++])];return n&&n==r?t:ot}function gr(t,e,n){var r=e(t);return vp(t)?r:h(r,n(t))}function br(t){return null==t?t===ot?ue:Xt:Ms&&Ms in as(t)?ji(t):$i(t)}function mr(t,e){return t>e}function _r(t,e){return null!=t&&vs.call(t,e)}function wr(t,e){return null!=t&&e in as(t)}function xr(t,e,n){return t>=Ks(e,n)&&t<Gs(e,n)}function Or(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=ns(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,C(e))),c=Ks(s.length,c),a[u]=!n&&(e||o>=120&&s.length>=120)?new yn(u&&s):ot}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?W(y,g):r(f,g,n))){for(u=i;--u;){var b=a[u];if(!(b?W(b,g):r(t[u],g,n)))continue t}y&&y.push(g),f.push(v)}}return f}function jr(t,e,n,r){return dr(t,function(t,o,i){e(r,n(t),o,i)}),r}function Pr(t,e,n){e=jo(e,t),t=Ki(t,e);var r=null==t?t:t[Xi(_u(e))];return null==r?ot:i(r,t,n)}function kr(t){return oc(t)&&br(t)==Ft}function Tr(t){return oc(t)&&br(t)==fe}function Er(t){return oc(t)&&br(t)==Gt}function Sr(t,e,n,r,o){return t===e||(null==t||null==e||!oc(t)&&!oc(e)?t!==t&&e!==e:zr(t,e,n,r,Sr,o))}function zr(t,e,n,r,o,i){var u=vp(t),a=vp(e),c=u?qt:kl(t),f=a?qt:kl(e);c=c==Ft?Qt:c,f=f==Ft?Qt:f;var s=c==Qt,l=f==Qt,p=c==f;if(p&&bp(t)){if(!bp(e))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new bn),u||Op(t)?pi(t,e,n,r,o,i):di(t,e,c,n,r,o,i);if(!(n&yt)){var d=s&&vs.call(t,"__wrapped__"),h=l&&vs.call(e,"__wrapped__");if(d||h){var y=d?t.value():t,v=h?e.value():e;return i||(i=new bn),o(y,v,n,r,i)}}return!!p&&(i||(i=new bn),hi(t,e,n,r,o,i))}function Ar(t){return oc(t)&&kl(t)==Yt}function Ir(t,e,n,r){var o=n.length,i=o,u=!r;if(null==t)return!i;for(t=as(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===ot&&!(c in t))return!1}else{var l=new bn;if(r)var p=r(f,s,c,t,e,l);if(!(p===ot?Sr(s,f,yt|vt,r,l):p))return!1}}return!0}function Mr(t){return!(!rc(t)||Di(t))&&(tc(t)?xs:He).test(Qi(t))}function Cr(t){return oc(t)&&br(t)==ne}function Rr(t){return oc(t)&&kl(t)==re}function Wr(t){return oc(t)&&nc(t.length)&&!!Rn[br(t)]}function Lr(t){return"function"==typeof t?t:null==t?zf:"object"==typeof t?vp(t)?Ur(t[0],t[1]):qr(t):Df(t)}function Dr(t){if(!Bi(t))return $s(t);var e=[];for(var n in as(t))vs.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Br(t){if(!rc(t))return Ui(t);var e=Bi(t),n=[];for(var r in t)("constructor"!=r||!e&&vs.call(t,r))&&n.push(r);return n}function Nr(t,e){return t<e}function Fr(t,e){var n=-1,r=Ga(t)?ns(t.length):[];return hl(t,function(t,o,i){r[++n]=e(t,o,i)}),r}function qr(t){var e=xi(t);return 1==e.length&&e[0][2]?Fi(e[0][0],e[0][1]):function(n){return n===t||Ir(n,t,e)}}function Ur(t,e){return Ri(t)&&Ni(e)?Fi(Xi(t),e):function(n){var r=Wc(n,t);return r===ot&&r===e?Dc(n,t):Sr(e,r,yt|vt)}}function $r(t,e,n,r,o){t!==e&&vl(e,function(i,u){if(o||(o=new bn),rc(i))Gr(t,e,u,n,$r,r,o);else{var a=r?r(Zi(t,u),i,u+"",t,e,o):ot;a===ot&&(a=i),zn(t,u,a)}},Nc)}function Gr(t,e,n,r,o,i,u){var a=Zi(t,n),c=Zi(e,n),f=u.get(c);if(f)return zn(t,n,f),ot;var s=i?i(a,c,n+"",t,e,u):ot,l=s===ot;if(l){var p=vp(c),d=!p&&bp(c),h=!p&&!d&&Op(c);s=c,p||d||h?vp(a)?s=a:Ka(a)?s=Wo(a):d?(l=!1,s=ko(c,!0)):h?(l=!1,s=Ao(c,!0)):s=[]:pc(c)||yp(c)?(s=a,yp(a)?s=jc(a):rc(a)&&!tc(a)||(s=Si(c))):l=!1}l&&(u.set(c,s),o(s,c,r,i,u),u.delete(c)),zn(t,n,s)}function Kr(t,e){var n=t.length;if(n)return e+=e<0?n:0,Mi(e,n)?t[e]:ot}function Hr(t,e,n){e=e.length?d(e,function(t){return vp(t)?function(e){return vr(e,1===t.length?t[0]:t)}:t}):[zf];var r=-1;return e=d(e,C(_i())),S(Fr(t,function(t,n,o){return{criteria:d(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return Mo(t,e,n)})}function Zr(t,e){return Vr(t,e,function(e,n){return Dc(t,n)})}function Vr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],a=vr(t,u);n(a,u)&&io(i,jo(u,t),a)}return i}function Yr(t){return function(e){return vr(e,t)}}function Jr(t,e,n,r){var o=r?O:x,i=-1,u=e.length,a=t;for(t===e&&(e=Wo(e)),n&&(a=d(t,C(n)));++i<u;)for(var c=0,f=e[i],s=n?n(f):f;(c=o(a,s,c,r))>-1;)a!==t&&zs.call(a,c,1),zs.call(t,c,1);return t}function Xr(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;Mi(o)?zs.call(t,o,1):vo(t,o)}}return t}function Qr(t,e){return t+Bs(Vs()*(e-t+1))}function to(t,e,n,r){for(var o=-1,i=Gs(Ds((e-t)/(n||1)),0),u=ns(i);i--;)u[r?i:++o]=t,t+=n;return u}function eo(t,e){var n="";if(!t||e<1||e>Ct)return n;do{e%2&&(n+=t),(e=Bs(e/2))&&(t+=t)}while(e);return n}function no(t,e){return zl(Gi(t,e,zf),t+"")}function ro(t){return Pn(Xc(t))}function oo(t,e){var n=Xc(t);return Ji(n,$n(e,0,n.length))}function io(t,e,n,r){if(!rc(t))return t;e=jo(e,t);for(var o=-1,i=e.length,u=i-1,a=t;null!=a&&++o<i;){var c=Xi(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):ot)===ot&&(f=rc(s)?s:Mi(e[o+1])?[]:{})}An(a,c,f),a=a[c]}return t}function uo(t){return Ji(Xc(t))}function ao(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=ns(o);++r<o;)i[r]=t[r+e];return i}function co(t,e){var n;return hl(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function fo(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e===e&&o<=Bt){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!yc(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return so(t,e,zf,n)}function so(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=yc(e),f=e===ot;o<i;){var s=Bs((o+i)/2),l=n(t[s]),p=l!==ot,d=null===l,h=l===l,y=yc(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 Ks(i,Dt)}function lo(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||!$a(a,c)){var c=a;i[o++]=0===u?0:u}}return i}function po(t){return"number"==typeof t?t:yc(t)?Wt:+t}function ho(t){if("string"==typeof t)return t;if(vp(t))return d(t,ho)+"";if(yc(t))return pl?pl.call(t):"";var e=t+"";return"0"==e&&1/t==-Mt?"-0":e}function yo(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>=it){var f=e?null:xl(t);if(f)return Z(f);u=!1,o=W,c=new yn}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 vo(t,e){return e=jo(e,t),null==(t=Ki(t,e))||delete t[Xi(_u(e))]}function go(t,e,n,r){return io(t,e,n(vr(t,e)),r)}function bo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?ao(t,r?0:i,r?i+1:o):ao(t,r?i+1:0,r?o:i)}function mo(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 _o(t,e,n){var r=t.length;if(r<2)return r?yo(t[0]):[];for(var o=-1,i=ns(r);++o<r;)for(var u=t[o],a=-1;++a<r;)a!=o&&(i[o]=rr(i[o]||u,t[a],e,n));return yo(pr(i,1),e,n)}function wo(t,e,n){for(var r=-1,o=t.length,i=e.length,u={};++r<o;)n(u,t[r],r<i?e[r]:ot);return u}function xo(t){return Ka(t)?t:[]}function Oo(t){return"function"==typeof t?t:zf}function jo(t,e){return vp(t)?t:Ri(t,e)?[t]:Al(kc(t))}function Po(t,e,n){var r=t.length;return n=n===ot?r:n,!e&&n>=r?t:ao(t,e,n)}function ko(t,e){if(e)return t.slice();var n=t.length,r=ks?ks(n):new t.constructor(n);return t.copy(r),r}function To(t){var e=new t.constructor(t.byteLength);return new Ps(e).set(new Ps(t)),e}function Eo(t,e){return new t.constructor(e?To(t.buffer):t.buffer,t.byteOffset,t.byteLength)}function So(t){var e=new t.constructor(t.source,$e.exec(t));return e.lastIndex=t.lastIndex,e}function zo(t){return ll?as(ll.call(t)):{}}function Ao(t,e){return new t.constructor(e?To(t.buffer):t.buffer,t.byteOffset,t.length)}function Io(t,e){if(t!==e){var n=t!==ot,r=null===t,o=t===t,i=yc(t),u=e!==ot,a=null===e,c=e===e,f=yc(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 Mo(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,u=o.length,a=n.length;++r<u;){var c=Io(o[r],i[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}function Co(t,e,n,r){for(var o=-1,i=t.length,u=n.length,a=-1,c=e.length,f=Gs(i-u,0),s=ns(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=Gs(i-a,0),l=ns(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 Wo(t,e){var n=-1,r=t.length;for(e||(e=ns(r));++n<r;)e[n]=t[n];return e}function Lo(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):ot;c===ot&&(c=t[a]),o?Nn(n,a,c):An(n,a,c)}return n}function Do(t,e){return Lo(t,jl(t),e)}function Bo(t,e){return Lo(t,Pl(t),e)}function No(t,e){return function(n,r){var o=vp(n)?u:Ln,i=e?e():{};return o(n,t,_i(r,2),i)}}function Fo(t){return no(function(e,n){var r=-1,o=n.length,i=o>1?n[o-1]:ot,u=o>2?n[2]:ot;for(i=t.length>3&&"function"==typeof i?(o--,i):ot,u&&Ci(n[0],n[1],u)&&(i=o<3?ot:i,o=1),e=as(e);++r<o;){var a=n[r];a&&t(e,a,r,i)}return e})}function qo(t,e){return function(n,r){if(null==n)return n;if(!Ga(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=as(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Uo(t){return function(e,n,r){for(var o=-1,i=as(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 $o(t,e,n){function r(){return(this&&this!==Gn&&this instanceof r?i:t).apply(o?n:this,arguments)}var o=e&gt,i=Ho(t);return r}function Go(t){return function(e){e=kc(e);var n=q(e)?Q(e):ot,r=n?n[0]:e.charAt(0),o=n?Po(n,1).join(""):e.slice(1);return r[t]()+o}}function Ko(t){return function(e){return y(Pf(of(e).replace(Tn,"")),t,"")}}function Ho(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=dl(t.prototype),r=t.apply(n,e);return rc(r)?r:n}}function Zo(t,e,n){function r(){for(var u=arguments.length,a=ns(u),c=u,f=mi(r);c--;)a[c]=arguments[c];var s=u<3&&a[0]!==f&&a[u-1]!==f?[]:H(a,f);return u-=s.length,u<n?ii(t,e,Jo,r.placeholder,ot,a,s,ot,ot,n-u):i(this&&this!==Gn&&this instanceof r?o:t,this,a)}var o=Ho(t);return r}function Vo(t){return function(e,n,r){var o=as(e);if(!Ga(e)){var i=_i(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]:ot}}function Yo(t){return yi(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 ss(at);if(i&&!a&&"wrapper"==bi(u))var a=new o([],!0)}for(r=a?r:n;++r<n;){u=e[r];var c=bi(u),f="wrapper"==c?Ol(u):ot;a=f&&Li(f[0])&&f[1]==(jt|_t|xt|Pt)&&!f[4].length&&1==f[9]?a[bi(f[0])].apply(a,f[3]):1==u.length&&Li(u)?a[c]():a.thru(u)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&vp(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 Jo(t,e,n,r,o,i,u,a,c,f){function s(){for(var g=arguments.length,b=ns(g),m=g;m--;)b[m]=arguments[m];if(h)var _=mi(s),w=B(b,_);if(r&&(b=Co(b,r,o,h)),i&&(b=Ro(b,i,u,h)),g-=w,h&&g<f)return ii(t,e,Jo,s.placeholder,n,b,H(b,_),a,c,f-g);var x=p?n:this,O=d?x[t]:t;return g=b.length,a?b=Hi(b,a):y&&g>1&&b.reverse(),l&&c<g&&(b.length=c),this&&this!==Gn&&this instanceof s&&(O=v||Ho(O)),O.apply(x,b)}var l=e&jt,p=e&gt,d=e&bt,h=e&(_t|wt),y=e&kt,v=d?ot:Ho(t);return s}function Xo(t,e){return function(n,r){return jr(n,t,e(r),{})}}function Qo(t,e){return function(n,r){var o;if(n===ot&&r===ot)return e;if(n!==ot&&(o=n),r!==ot){if(o===ot)return r;"string"==typeof n||"string"==typeof r?(n=ho(n),r=ho(r)):(n=po(n),r=po(r)),o=t(n,r)}return o}}function ti(t){return yi(function(e){return e=d(e,C(_i())),no(function(n){var r=this;return t(e,function(t){return i(t,r,n)})})})}function ei(t,e){e=e===ot?" ":ho(e);var n=e.length;if(n<2)return n?eo(e,t):e;var r=eo(e,Ds(t/X(e)));return q(e)?Po(Q(r),0,t).join(""):r.slice(0,t)}function ni(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=ns(s+c),p=this&&this!==Gn&&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&gt,a=Ho(t);return o}function ri(t){return function(e,n,r){return r&&"number"!=typeof r&&Ci(e,n,r)&&(n=r=ot),e=_c(e),n===ot?(n=e,e=0):n=_c(n),r=r===ot?e<n?1:-1:_c(r),to(e,n,r,t)}}function oi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Oc(e),n=Oc(n)),t(e,n)}}function ii(t,e,n,r,o,i,u,a,c,f){var s=e&_t,l=s?u:ot,p=s?ot:u,d=s?i:ot,h=s?ot:i;e|=s?xt:Ot,(e&=~(s?Ot:xt))&mt||(e&=~(gt|bt));var y=[t,e,o,d,l,h,p,a,c,f],v=n.apply(ot,y);return Li(t)&&El(v,y),v.placeholder=r,Vi(v,t,e)}function ui(t){var e=us[t];return function(t,n){if(t=Oc(t),(n=null==n?0:Ks(wc(n),292))&&qs(t)){var r=(kc(t)+"e").split("e");return r=(kc(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}function ai(t){return function(e){var n=kl(e);return n==Yt?G(e):n==re?V(e):I(e,t(e))}}function ci(t,e,n,r,o,i,u,a){var c=e&bt;if(!c&&"function"!=typeof t)throw new ss(at);var f=r?r.length:0;if(f||(e&=~(xt|Ot),r=o=ot),u=u===ot?u:Gs(wc(u),0),a=a===ot?a:wc(a),f-=o?o.length:0,e&Ot){var s=r,l=o;r=o=ot}var p=c?ot:Ol(t),d=[t,e,n,r,o,s,l,i,u,a];if(p&&qi(d,p),t=d[0],e=d[1],n=d[2],r=d[3],o=d[4],a=d[9]=d[9]===ot?c?0:t.length:Gs(d[9]-f,0),!a&&e&(_t|wt)&&(e&=~(_t|wt)),e&&e!=gt)h=e==_t||e==wt?Zo(t,e,a):e!=xt&&e!=(gt|xt)||o.length?Jo.apply(ot,d):ni(t,e,n,r);else var h=$o(t,e,n);return Vi((p?bl:El)(h,d),t,e)}function fi(t,e,n,r){return t===ot||$a(t,ds[n])&&!vs.call(r,n)?e:t}function si(t,e,n,r,o,i){return rc(t)&&rc(e)&&(i.set(e,t),$r(t,e,ot,si,i),i.delete(e)),t}function li(t){return pc(t)?ot:t}function pi(t,e,n,r,o,i){var u=n&yt,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&vt?new yn:ot;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!==ot){if(v)continue;p=!1;break}if(d){if(!g(e,function(t,e){if(!W(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 di(t,e,n,r,o,i,u){switch(n){case se:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case fe:return!(t.byteLength!=e.byteLength||!i(new Ps(t),new Ps(e)));case $t:case Gt:case Jt:return $a(+t,+e);case Ht:return t.name==e.name&&t.message==e.message;case ne:case oe:return t==e+"";case Yt:var a=G;case re:var c=r&yt;if(a||(a=Z),t.size!=e.size&&!c)return!1;var f=u.get(t);if(f)return f==e;r|=vt,u.set(t,e);var s=pi(a(t),a(e),r,o,i,u);return u.delete(t),s;case ie:if(ll)return ll.call(t)==ll.call(e)}return!1}function hi(t,e,n,r,o,i){var u=n&yt,a=vi(t),c=a.length;if(c!=vi(e).length&&!u)return!1;for(var f=c;f--;){var s=a[f];if(!(u?s in e:vs.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===ot?y===v||o(y,v,n,r,i):g)){d=!1;break}h||(h="constructor"==s)}if(d&&!h){var b=t.constructor,m=e.constructor;b!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof m&&m instanceof m)&&(d=!1)}return i.delete(t),i.delete(e),d}function yi(t){return zl(Gi(t,ot,pu),t+"")}function vi(t){return gr(t,Bc,jl)}function gi(t){return gr(t,Nc,Pl)}function bi(t){for(var e=t.name+"",n=ol[e],r=vs.call(ol,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function mi(t){return(vs.call(n,"placeholder")?n:t).placeholder}function _i(){var t=n.iteratee||Af;return t=t===Af?Lr:t,arguments.length?t(arguments[0],arguments[1]):t}function wi(t,e){var n=t.__data__;return Wi(e)?n["string"==typeof e?"string":"hash"]:n.map}function xi(t){for(var e=Bc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Ni(o)]}return e}function Oi(t,e){var n=F(t,e);return Mr(n)?n:ot}function ji(t){var e=vs.call(t,Ms),n=t[Ms];try{t[Ms]=ot;var r=!0}catch(t){}var o=ms.call(t);return r&&(e?t[Ms]=n:delete t[Ms]),o}function Pi(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=Ks(e,t+u);break;case"takeRight":t=Gs(t,e-u)}}return{start:t,end:e}}function ki(t){var e=t.match(De);return e?e[1].split(Be):[]}function Ti(t,e,n){e=jo(e,t);for(var r=-1,o=e.length,i=!1;++r<o;){var u=Xi(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&nc(o)&&Mi(u,o)&&(vp(t)||yp(t))}function Ei(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&vs.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Si(t){return"function"!=typeof t.constructor||Bi(t)?{}:dl(Ts(t))}function zi(t,e,n){var r=t.constructor;switch(e){case fe:return To(t);case $t:case Gt:return new r(+t);case se:return Eo(t,n);case le:case pe:case de:case he:case ye:case ve:case ge:case be:case me:return Ao(t,n);case Yt:return new r;case Jt:case oe:return new r(t);case ne:return So(t);case re:return new r;case ie:return zo(t)}}function Ai(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(Le,"{\n/* [wrapped with "+e+"] */\n")}function Ii(t){return vp(t)||yp(t)||!!(As&&t&&t[As])}function Mi(t,e){var n=typeof t;return!!(e=null==e?Ct:e)&&("number"==n||"symbol"!=n&&Ve.test(t))&&t>-1&&t%1==0&&t<e}function Ci(t,e,n){if(!rc(n))return!1;var r=typeof e;return!!("number"==r?Ga(n)&&Mi(e,n.length):"string"==r&&e in n)&&$a(n[e],t)}function Ri(t,e){if(vp(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!yc(t))||Ae.test(t)||!ze.test(t)||null!=e&&t in as(e)}function Wi(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Li(t){var e=bi(t),r=n[e];if("function"!=typeof r||!(e in b.prototype))return!1;if(t===r)return!0;var o=Ol(r);return!!o&&t===o[0]}function Di(t){return!!bs&&bs in t}function Bi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ds)}function Ni(t){return t===t&&!rc(t)}function Fi(t,e){return function(n){return null!=n&&n[t]===e&&(e!==ot||t in as(n))}}function qi(t,e){var n=t[1],r=e[1],o=n|r,i=o<(gt|bt|jt),u=r==jt&&n==_t||r==jt&&n==Pt&&t[7].length<=e[8]||r==(jt|Pt)&&e[7].length<=e[8]&&n==_t;if(!i&&!u)return t;r&gt&&(t[2]=e[2],o|=n&gt?0:mt);var a=e[3];if(a){var c=t[3];t[3]=c?Co(c,a,e[4]):a,t[4]=c?H(t[3],lt):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?Ro(c,a,e[6]):a,t[6]=c?H(t[5],lt):e[6]),a=e[7],a&&(t[7]=a),r&jt&&(t[8]=null==t[8]?e[8]:Ks(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o,t}function Ui(t){var e=[];if(null!=t)for(var n in as(t))e.push(n);return e}function $i(t){return ms.call(t)}function Gi(t,e,n){return e=Gs(e===ot?t.length-1:e,0),function(){for(var r=arguments,o=-1,u=Gs(r.length-e,0),a=ns(u);++o<u;)a[o]=r[e+o];o=-1;for(var c=ns(e+1);++o<e;)c[o]=r[o];return c[e]=n(a),i(t,this,c)}}function Ki(t,e){return e.length<2?t:vr(t,ao(e,0,-1))}function Hi(t,e){for(var n=t.length,r=Ks(e.length,n),o=Wo(t);r--;){var i=e[r];t[r]=Mi(i,n)?o[i]:ot}return t}function Zi(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function Vi(t,e,n){var r=e+"";return zl(t,Ai(r,tu(ki(r),n)))}function Yi(t){var e=0,n=0;return function(){var r=Hs(),o=zt-(r-n);if(n=r,o>0){if(++e>=St)return arguments[0]}else e=0;return t.apply(ot,arguments)}}function Ji(t,e){var n=-1,r=t.length,o=r-1;for(e=e===ot?r:e;++n<e;){var i=Qr(n,o),u=t[i];t[i]=t[n],t[n]=u}return t.length=e,t}function Xi(t){if("string"==typeof t||yc(t))return t;var e=t+"";return"0"==e&&1/t==-Mt?"-0":e}function Qi(t){if(null!=t){try{return ys.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function tu(t,e){return a(Nt,function(n){var r="_."+n[0];e&n[1]&&!l(t,r)&&t.push(r)}),t.sort()}function eu(t){if(t instanceof b)return t.clone();var e=new o(t.__wrapped__,t.__chain__);return e.__actions__=Wo(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function nu(t,e,n){e=(n?Ci(t,e,n):e===ot)?1:Gs(wc(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var o=0,i=0,u=ns(Ds(r/e));o<r;)u[i++]=ao(t,o,o+=e);return u}function ru(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 ou(){var t=arguments.length;if(!t)return[];for(var e=ns(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return h(vp(n)?Wo(n):[n],pr(e,1))}function iu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===ot?1:wc(e),ao(t,e<0?0:e,r)):[]}function uu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===ot?1:wc(e),e=r-e,ao(t,0,e<0?0:e)):[]}function au(t,e){return t&&t.length?bo(t,_i(e,3),!0,!0):[]}function cu(t,e){return t&&t.length?bo(t,_i(e,3),!0):[]}function fu(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&Ci(t,e,n)&&(n=0,r=o),sr(t,e,n,r)):[]}function su(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:wc(n);return o<0&&(o=Gs(r+o,0)),w(t,_i(e,3),o)}function lu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==ot&&(o=wc(n),o=n<0?Gs(r+o,0):Ks(o,r-1)),w(t,_i(e,3),o,!0)}function pu(t){return(null==t?0:t.length)?pr(t,1):[]}function du(t){return(null==t?0:t.length)?pr(t,Mt):[]}function hu(t,e){return(null==t?0:t.length)?(e=e===ot?1:wc(e),pr(t,e)):[]}function yu(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 vu(t){return t&&t.length?t[0]:ot}function gu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:wc(n);return o<0&&(o=Gs(r+o,0)),x(t,e,o)}function bu(t){return(null==t?0:t.length)?ao(t,0,-1):[]}function mu(t,e){return null==t?"":Us.call(t,e)}function _u(t){var e=null==t?0:t.length;return e?t[e-1]:ot}function wu(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==ot&&(o=wc(n),o=o<0?Gs(r+o,0):Ks(o,r-1)),e===e?J(t,e,o):w(t,j,o,!0)}function xu(t,e){return t&&t.length?Kr(t,wc(e)):ot}function Ou(t,e){return t&&t.length&&e&&e.length?Jr(t,e):t}function ju(t,e,n){return t&&t.length&&e&&e.length?Jr(t,e,_i(n,2)):t}function Pu(t,e,n){return t&&t.length&&e&&e.length?Jr(t,e,ot,n):t}function ku(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=_i(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Xr(t,o),n}function Tu(t){return null==t?t:Ys.call(t)}function Eu(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Ci(t,e,n)?(e=0,n=r):(e=null==e?0:wc(e),n=n===ot?r:wc(n)),ao(t,e,n)):[]}function Su(t,e){return fo(t,e)}function zu(t,e,n){return so(t,e,_i(n,2))}function Au(t,e){var n=null==t?0:t.length;if(n){var r=fo(t,e);if(r<n&&$a(t[r],e))return r}return-1}function Iu(t,e){return fo(t,e,!0)}function Mu(t,e,n){return so(t,e,_i(n,2),!0)}function Cu(t,e){if(null==t?0:t.length){var n=fo(t,e,!0)-1;if($a(t[n],e))return n}return-1}function Ru(t){return t&&t.length?lo(t):[]}function Wu(t,e){return t&&t.length?lo(t,_i(e,2)):[]}function Lu(t){var e=null==t?0:t.length;return e?ao(t,1,e):[]}function Du(t,e,n){return t&&t.length?(e=n||e===ot?1:wc(e),ao(t,0,e<0?0:e)):[]}function Bu(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===ot?1:wc(e),e=r-e,ao(t,e<0?0:e,r)):[]}function Nu(t,e){return t&&t.length?bo(t,_i(e,3),!1,!0):[]}function Fu(t,e){return t&&t.length?bo(t,_i(e,3)):[]}function qu(t){return t&&t.length?yo(t):[]}function Uu(t,e){return t&&t.length?yo(t,_i(e,2)):[]}function $u(t,e){return e="function"==typeof e?e:ot,t&&t.length?yo(t,ot,e):[]}function Gu(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(Ka(t))return e=Gs(t.length,e),!0}),A(e,function(e){return d(t,k(e))})}function Ku(t,e){if(!t||!t.length)return[];var n=Gu(t);return null==e?n:d(n,function(t){return i(e,ot,t)})}function Hu(t,e){return wo(t||[],e||[],An)}function Zu(t,e){return wo(t||[],e||[],io)}function Vu(t){var e=n(t);return e.__chain__=!0,e}function Yu(t,e){return e(t),t}function Ju(t,e){return e(t)}function Xu(){return Vu(this)}function Qu(){return new o(this.value(),this.__chain__)}function ta(){this.__values__===ot&&(this.__values__=mc(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?ot:this.__values__[this.__index__++]}}function ea(){return this}function na(t){for(var e,n=this;n instanceof r;){var o=eu(n);o.__index__=0,o.__values__=ot,e?i.__wrapped__=o:e=o;var i=o;n=n.__wrapped__}return i.__wrapped__=t,e}function ra(){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:Ju,args:[Tu],thisArg:ot}),new o(e,this.__chain__)}return this.thru(Tu)}function oa(){return mo(this.__wrapped__,this.__actions__)}function ia(t,e,n){var r=vp(t)?f:cr;return n&&Ci(t,e,n)&&(e=ot),r(t,_i(e,3))}function ua(t,e){return(vp(t)?s:lr)(t,_i(e,3))}function aa(t,e){return pr(da(t,e),1)}function ca(t,e){return pr(da(t,e),Mt)}function fa(t,e,n){return n=n===ot?1:wc(n),pr(da(t,e),n)}function sa(t,e){return(vp(t)?a:hl)(t,_i(e,3))}function la(t,e){return(vp(t)?c:yl)(t,_i(e,3))}function pa(t,e,n,r){t=Ga(t)?t:Xc(t),n=n&&!r?wc(n):0;var o=t.length;return n<0&&(n=Gs(o+n,0)),hc(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&x(t,e,n)>-1}function da(t,e){return(vp(t)?d:Fr)(t,_i(e,3))}function ha(t,e,n,r){return null==t?[]:(vp(e)||(e=null==e?[]:[e]),n=r?ot:n,vp(n)||(n=null==n?[]:[n]),Hr(t,e,n))}function ya(t,e,n){var r=vp(t)?y:E,o=arguments.length<3;return r(t,_i(e,4),n,o,hl)}function va(t,e,n){var r=vp(t)?v:E,o=arguments.length<3;return r(t,_i(e,4),n,o,yl)}function ga(t,e){return(vp(t)?s:lr)(t,Aa(_i(e,3)))}function ba(t){return(vp(t)?Pn:ro)(t)}function ma(t,e,n){return e=(n?Ci(t,e,n):e===ot)?1:wc(e),(vp(t)?kn:oo)(t,e)}function _a(t){return(vp(t)?Sn:uo)(t)}function wa(t){if(null==t)return 0;if(Ga(t))return hc(t)?X(t):t.length;var e=kl(t);return e==Yt||e==re?t.size:Dr(t).length}function xa(t,e,n){var r=vp(t)?g:co;return n&&Ci(t,e,n)&&(e=ot),r(t,_i(e,3))}function Oa(t,e){if("function"!=typeof e)throw new ss(at);return t=wc(t),function(){if(--t<1)return e.apply(this,arguments)}}function ja(t,e,n){return e=n?ot:e,e=t&&null==e?t.length:e,ci(t,jt,ot,ot,ot,ot,e)}function Pa(t,e){var n;if("function"!=typeof e)throw new ss(at);return t=wc(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=ot),n}}function ka(t,e,n){e=n?ot:e;var r=ci(t,_t,ot,ot,ot,ot,ot,e);return r.placeholder=ka.placeholder,r}function Ta(t,e,n){e=n?ot:e;var r=ci(t,wt,ot,ot,ot,ot,ot,e);return r.placeholder=Ta.placeholder,r}function Ea(t,e,n){function r(e){var n=p,r=d;return p=d=ot,b=e,y=t.apply(r,n)}function o(t){return b=t,v=Sl(a,e),m?r(t):y}function i(t){var n=t-g,r=t-b,o=e-n;return _?Ks(o,h-r):o}function u(t){var n=t-g,r=t-b;return g===ot||n>=e||n<0||_&&r>=h}function a(){var t=op();return u(t)?c(t):(v=Sl(a,i(t)),ot)}function c(t){return v=ot,w&&p?r(t):(p=d=ot,y)}function f(){v!==ot&&wl(v),b=0,p=g=d=v=ot}function s(){return v===ot?y:c(op())}function l(){var t=op(),n=u(t);if(p=arguments,d=this,g=t,n){if(v===ot)return o(g);if(_)return wl(v),v=Sl(a,e),r(g)}return v===ot&&(v=Sl(a,e)),y}var p,d,h,y,v,g,b=0,m=!1,_=!1,w=!0;if("function"!=typeof t)throw new ss(at);return e=Oc(e)||0,rc(n)&&(m=!!n.leading,_="maxWait"in n,h=_?Gs(Oc(n.maxWait)||0,e):h,w="trailing"in n?!!n.trailing:w),l.cancel=f,l.flush=s,l}function Sa(t){return ci(t,kt)}function za(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ss(at);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(za.Cache||fn),n}function Aa(t){if("function"!=typeof t)throw new ss(at);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 Ia(t){return Pa(2,t)}function Ma(t,e){if("function"!=typeof t)throw new ss(at);return e=e===ot?e:wc(e),no(t,e)}function Ca(t,e){if("function"!=typeof t)throw new ss(at);return e=null==e?0:Gs(wc(e),0),no(function(n){var r=n[e],o=Po(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 ss(at);return rc(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Ea(t,e,{leading:r,maxWait:e,trailing:o})}function Wa(t){return ja(t,1)}function La(t,e){return sp(Oo(e),t)}function Da(){if(!arguments.length)return[];var t=arguments[0];return vp(t)?t:[t]}function Ba(t){return Kn(t,ht)}function Na(t,e){return e="function"==typeof e?e:ot,Kn(t,ht,e)}function Fa(t){return Kn(t,pt|ht)}function qa(t,e){return e="function"==typeof e?e:ot,Kn(t,pt|ht,e)}function Ua(t,e){return null==e||Vn(t,e,Bc(e))}function $a(t,e){return t===e||t!==t&&e!==e}function Ga(t){return null!=t&&nc(t.length)&&!tc(t)}function Ka(t){return oc(t)&&Ga(t)}function Ha(t){return!0===t||!1===t||oc(t)&&br(t)==$t}function Za(t){return oc(t)&&1===t.nodeType&&!pc(t)}function Va(t){if(null==t)return!0;if(Ga(t)&&(vp(t)||"string"==typeof t||"function"==typeof t.splice||bp(t)||Op(t)||yp(t)))return!t.length;var e=kl(t);if(e==Yt||e==re)return!t.size;if(Bi(t))return!Dr(t).length;for(var n in t)if(vs.call(t,n))return!1;return!0}function Ya(t,e){return Sr(t,e)}function Ja(t,e,n){n="function"==typeof n?n:ot;var r=n?n(t,e):ot;return r===ot?Sr(t,e,ot,n):!!r}function Xa(t){if(!oc(t))return!1;var e=br(t);return e==Ht||e==Kt||"string"==typeof t.message&&"string"==typeof t.name&&!pc(t)}function Qa(t){return"number"==typeof t&&qs(t)}function tc(t){if(!rc(t))return!1;var e=br(t);return e==Zt||e==Vt||e==Ut||e==ee}function ec(t){return"number"==typeof t&&t==wc(t)}function nc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Ct}function rc(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function oc(t){return null!=t&&"object"==typeof t}function ic(t,e){return t===e||Ir(t,e,xi(e))}function uc(t,e,n){return n="function"==typeof n?n:ot,Ir(t,e,xi(e),n)}function ac(t){return lc(t)&&t!=+t}function cc(t){if(Tl(t))throw new os(ut);return Mr(t)}function fc(t){return null===t}function sc(t){return null==t}function lc(t){return"number"==typeof t||oc(t)&&br(t)==Jt}function pc(t){if(!oc(t)||br(t)!=Qt)return!1;var e=Ts(t);if(null===e)return!0;var n=vs.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ys.call(n)==_s}function dc(t){return ec(t)&&t>=-Ct&&t<=Ct}function hc(t){return"string"==typeof t||!vp(t)&&oc(t)&&br(t)==oe}function yc(t){return"symbol"==typeof t||oc(t)&&br(t)==ie}function vc(t){return t===ot}function gc(t){return oc(t)&&kl(t)==ae}function bc(t){return oc(t)&&br(t)==ce}function mc(t){if(!t)return[];if(Ga(t))return hc(t)?Q(t):Wo(t);if(Is&&t[Is])return $(t[Is]());var e=kl(t);return(e==Yt?G:e==re?Z:Xc)(t)}function _c(t){return t?(t=Oc(t))===Mt||t===-Mt?(t<0?-1:1)*Rt:t===t?t:0:0===t?t:0}function wc(t){var e=_c(t),n=e%1;return e===e?n?e-n:e:0}function xc(t){return t?$n(wc(t),0,Lt):0}function Oc(t){if("number"==typeof t)return t;if(yc(t))return Wt;if(rc(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rc(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=M(t);var n=Ke.test(t);return n||Ze.test(t)?qn(t.slice(2),n?2:8):Ge.test(t)?Wt:+t}function jc(t){return Lo(t,Nc(t))}function Pc(t){return t?$n(wc(t),-Ct,Ct):0===t?t:0}function kc(t){return null==t?"":ho(t)}function Tc(t,e){var n=dl(t);return null==e?n:Dn(n,e)}function Ec(t,e){return _(t,_i(e,3),dr)}function Sc(t,e){return _(t,_i(e,3),hr)}function zc(t,e){return null==t?t:vl(t,_i(e,3),Nc)}function Ac(t,e){return null==t?t:gl(t,_i(e,3),Nc)}function Ic(t,e){return t&&dr(t,_i(e,3))}function Mc(t,e){return t&&hr(t,_i(e,3))}function Cc(t){return null==t?[]:yr(t,Bc(t))}function Rc(t){return null==t?[]:yr(t,Nc(t))}function Wc(t,e,n){var r=null==t?ot:vr(t,e);return r===ot?n:r}function Lc(t,e){return null!=t&&Ti(t,e,_r)}function Dc(t,e){return null!=t&&Ti(t,e,wr)}function Bc(t){return Ga(t)?jn(t):Dr(t)}function Nc(t){return Ga(t)?jn(t,!0):Br(t)}function Fc(t,e){var n={};return e=_i(e,3),dr(t,function(t,r,o){Nn(n,e(t,r,o),t)}),n}function qc(t,e){var n={};return e=_i(e,3),dr(t,function(t,r,o){Nn(n,r,e(t,r,o))}),n}function Uc(t,e){return $c(t,Aa(_i(e)))}function $c(t,e){if(null==t)return{};var n=d(gi(t),function(t){return[t]});return e=_i(e),Vr(t,n,function(t,n){return e(t,n[0])})}function Gc(t,e,n){e=jo(e,t);var r=-1,o=e.length;for(o||(o=1,t=ot);++r<o;){var i=null==t?ot:t[Xi(e[r])];i===ot&&(r=o,i=n),t=tc(i)?i.call(t):i}return t}function Kc(t,e,n){return null==t?t:io(t,e,n)}function Hc(t,e,n,r){return r="function"==typeof r?r:ot,null==t?t:io(t,e,n,r)}function Zc(t,e,n){var r=vp(t),o=r||bp(t)||Op(t);if(e=_i(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:rc(t)&&tc(i)?dl(Ts(t)):{}}return(o?a:dr)(t,function(t,r,o){return e(n,t,r,o)}),n}function Vc(t,e){return null==t||vo(t,e)}function Yc(t,e,n){return null==t?t:go(t,e,Oo(n))}function Jc(t,e,n,r){return r="function"==typeof r?r:ot,null==t?t:go(t,e,Oo(n),r)}function Xc(t){return null==t?[]:R(t,Bc(t))}function Qc(t){return null==t?[]:R(t,Nc(t))}function tf(t,e,n){return n===ot&&(n=e,e=ot),n!==ot&&(n=Oc(n),n=n===n?n:0),e!==ot&&(e=Oc(e),e=e===e?e:0),$n(Oc(t),e,n)}function ef(t,e,n){return e=_c(e),n===ot?(n=e,e=0):n=_c(n),t=Oc(t),xr(t,e,n)}function nf(t,e,n){if(n&&"boolean"!=typeof n&&Ci(t,e,n)&&(e=n=ot),n===ot&&("boolean"==typeof e?(n=e,e=ot):"boolean"==typeof t&&(n=t,t=ot)),t===ot&&e===ot?(t=0,e=1):(t=_c(t),e===ot?(e=t,t=0):e=_c(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=Vs();return Ks(t+o*(e-t+Fn("1e-"+((o+"").length-1))),e)}return Qr(t,e)}function rf(t){return Vp(kc(t).toLowerCase())}function of(t){return(t=kc(t))&&t.replace(Ye,or).replace(En,"")}function uf(t,e,n){t=kc(t),e=ho(e);var r=t.length;n=n===ot?r:$n(wc(n),0,r);var o=n;return(n-=e.length)>=0&&t.slice(n,o)==e}function af(t){return t=kc(t),t&&ke.test(t)?t.replace(je,ir):t}function cf(t){return t=kc(t),t&&Ce.test(t)?t.replace(Me,"\\$&"):t}function ff(t,e,n){t=kc(t),e=wc(e);var r=e?X(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return ei(Bs(o),n)+t+ei(Ds(o),n)}function sf(t,e,n){t=kc(t),e=wc(e);var r=e?X(t):0;return e&&r<e?t+ei(e-r,n):t}function lf(t,e,n){t=kc(t),e=wc(e);var r=e?X(t):0;return e&&r<e?ei(e-r,n)+t:t}function pf(t,e,n){return n||null==e?e=0:e&&(e=+e),Zs(kc(t).replace(Re,""),e||0)}function df(t,e,n){return e=(n?Ci(t,e,n):e===ot)?1:wc(e),eo(kc(t),e)}function hf(){var t=arguments,e=kc(t[0]);return t.length<3?e:e.replace(t[1],t[2])}function yf(t,e,n){return n&&"number"!=typeof n&&Ci(t,e,n)&&(e=n=ot),(n=n===ot?Lt:n>>>0)?(t=kc(t),t&&("string"==typeof e||null!=e&&!wp(e))&&!(e=ho(e))&&q(t)?Po(Q(t),0,n):t.split(e,n)):[]}function vf(t,e,n){return t=kc(t),n=null==n?0:$n(wc(n),0,t.length),e=ho(e),t.slice(n,n+e.length)==e}function gf(t,e,r){var o=n.templateSettings;r&&Ci(t,e,r)&&(e=ot),t=kc(t),e=Ep({},e,o,fi);var i,u,a=Ep({},e.imports,o.imports,fi),c=Bc(a),f=R(a,c),s=0,l=e.interpolate||Je,p="__p += '",d=cs((e.escape||Je).source+"|"+l.source+"|"+(l===Se?Ue:Je).source+"|"+(e.evaluate||Je).source+"|$","g"),h="//# sourceURL="+(vs.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cn+"]")+"\n";t.replace(d,function(e,n,r,o,a,c){return r||(r=o),p+=t.slice(s,c).replace(Xe,N),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=vs.call(e,"variable")&&e.variable;if(y){if(Fe.test(y))throw new os(ct)}else p="with (obj) {\n"+p+"\n}\n";p=(u?p.replace(_e,""):p).replace(we,"$1").replace(xe,"$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=Yp(function(){return is(c,h+"return "+p).apply(ot,f)});if(v.source=p,Xa(v))throw v;return v}function bf(t){return kc(t).toLowerCase()}function mf(t){return kc(t).toUpperCase()}function _f(t,e,n){if((t=kc(t))&&(n||e===ot))return M(t);if(!t||!(e=ho(e)))return t;var r=Q(t),o=Q(e);return Po(r,L(r,o),D(r,o)+1).join("")}function wf(t,e,n){if((t=kc(t))&&(n||e===ot))return t.slice(0,tt(t)+1);if(!t||!(e=ho(e)))return t;var r=Q(t);return Po(r,0,D(r,Q(e))+1).join("")}function xf(t,e,n){if((t=kc(t))&&(n||e===ot))return t.replace(Re,"");if(!t||!(e=ho(e)))return t;var r=Q(t);return Po(r,L(r,Q(e))).join("")}function Of(t,e){var n=Tt,r=Et;if(rc(e)){var o="separator"in e?e.separator:o;n="length"in e?wc(e.length):n,r="omission"in e?ho(e.omission):r}t=kc(t);var i=t.length;if(q(t)){var u=Q(t);i=u.length}if(n>=i)return t;var a=n-X(r);if(a<1)return r;var c=u?Po(u,0,a).join(""):t.slice(0,a);if(o===ot)return c+r;if(u&&(a+=c.length-a),wp(o)){if(t.slice(a).search(o)){var f,s=c;for(o.global||(o=cs(o.source,kc($e.exec(o))+"g")),o.lastIndex=0;f=o.exec(s);)var l=f.index;c=c.slice(0,l===ot?a:l)}}else if(t.indexOf(ho(o),a)!=a){var p=c.lastIndexOf(o);p>-1&&(c=c.slice(0,p))}return c+r}function jf(t){return t=kc(t),t&&Pe.test(t)?t.replace(Oe,ur):t}function Pf(t,e,n){return t=kc(t),e=n?ot:e,e===ot?U(t)?rt(t):m(t):t.match(e)||[]}function kf(t){var e=null==t?0:t.length,n=_i();return t=e?d(t,function(t){if("function"!=typeof t[1])throw new ss(at);return[n(t[0]),t[1]]}):[],no(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 Tf(t){return Hn(Kn(t,pt))}function Ef(t){return function(){return t}}function Sf(t,e){return null==t||t!==t?e:t}function zf(t){return t}function Af(t){return Lr("function"==typeof t?t:Kn(t,pt))}function If(t){return qr(Kn(t,pt))}function Mf(t,e){return Ur(t,Kn(e,pt))}function Cf(t,e,n){var r=Bc(e),o=yr(e,r);null!=n||rc(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=yr(e,Bc(e)));var i=!(rc(n)&&"chain"in n&&!n.chain),u=tc(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__=Wo(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 Gn._===this&&(Gn._=ws),this}function Wf(){}function Lf(t){return t=wc(t),no(function(e){return Kr(e,t)})}function Df(t){return Ri(t)?k(Xi(t)):Yr(t)}function Bf(t){return function(e){return null==t?ot:vr(t,e)}}function Nf(){return[]}function Ff(){return!1}function qf(){return{}}function Uf(){return""}function $f(){return!0}function Gf(t,e){if((t=wc(t))<1||t>Ct)return[];var n=Lt,r=Ks(t,Lt);e=_i(e),t-=Lt;for(var o=A(r,e);++n<t;)e(n);return o}function Kf(t){return vp(t)?d(t,Xi):yc(t)?[t]:Wo(Al(kc(t)))}function Hf(t){var e=++gs;return kc(t)+e}function Zf(t){return t&&t.length?fr(t,zf,mr):ot}function Vf(t,e){return t&&t.length?fr(t,_i(e,2),mr):ot}function Yf(t){return P(t,zf)}function Jf(t,e){return P(t,_i(e,2))}function Xf(t){return t&&t.length?fr(t,zf,Nr):ot}function Qf(t,e){return t&&t.length?fr(t,_i(e,2),Nr):ot}function ts(t){return t&&t.length?z(t,zf):0}function es(t,e){return t&&t.length?z(t,_i(e,2)):0}e=null==e?Gn:ar.defaults(Gn.Object(),e,ar.pick(Gn,Mn));var ns=e.Array,rs=e.Date,os=e.Error,is=e.Function,us=e.Math,as=e.Object,cs=e.RegExp,fs=e.String,ss=e.TypeError,ls=ns.prototype,ps=is.prototype,ds=as.prototype,hs=e["__core-js_shared__"],ys=ps.toString,vs=ds.hasOwnProperty,gs=0,bs=function(){var t=/[^.]+$/.exec(hs&&hs.keys&&hs.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ms=ds.toString,_s=ys.call(as),ws=Gn._,xs=cs("^"+ys.call(vs).replace(Me,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Os=Zn?e.Buffer:ot,js=e.Symbol,Ps=e.Uint8Array,ks=Os?Os.allocUnsafe:ot,Ts=K(as.getPrototypeOf,as),Es=as.create,Ss=ds.propertyIsEnumerable,zs=ls.splice,As=js?js.isConcatSpreadable:ot,Is=js?js.iterator:ot,Ms=js?js.toStringTag:ot,Cs=function(){try{var t=Oi(as,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rs=e.clearTimeout!==Gn.clearTimeout&&e.clearTimeout,Ws=rs&&rs.now!==Gn.Date.now&&rs.now,Ls=e.setTimeout!==Gn.setTimeout&&e.setTimeout,Ds=us.ceil,Bs=us.floor,Ns=as.getOwnPropertySymbols,Fs=Os?Os.isBuffer:ot,qs=e.isFinite,Us=ls.join,$s=K(as.keys,as),Gs=us.max,Ks=us.min,Hs=rs.now,Zs=e.parseInt,Vs=us.random,Ys=ls.reverse,Js=Oi(e,"DataView"),Xs=Oi(e,"Map"),Qs=Oi(e,"Promise"),tl=Oi(e,"Set"),el=Oi(e,"WeakMap"),nl=Oi(as,"create"),rl=el&&new el,ol={},il=Qi(Js),ul=Qi(Xs),al=Qi(Qs),cl=Qi(tl),fl=Qi(el),sl=js?js.prototype:ot,ll=sl?sl.valueOf:ot,pl=sl?sl.toString:ot,dl=function(){function t(){}return function(e){if(!rc(e))return{};if(Es)return Es(e);t.prototype=e;var n=new t;return t.prototype=ot,n}}();n.templateSettings={escape:Te,evaluate:Ee,interpolate:Se,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=dl(r.prototype),o.prototype.constructor=o,b.prototype=dl(r.prototype),b.prototype.constructor=b,nt.prototype.clear=We,nt.prototype.delete=Ne,nt.prototype.get=Qe,nt.prototype.has=tn,nt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=un,nn.prototype.has=an,nn.prototype.set=cn,fn.prototype.clear=sn,fn.prototype.delete=ln,fn.prototype.get=pn,fn.prototype.has=dn,fn.prototype.set=hn,yn.prototype.add=yn.prototype.push=vn,yn.prototype.has=gn,bn.prototype.clear=mn,bn.prototype.delete=_n,bn.prototype.get=wn,bn.prototype.has=xn,bn.prototype.set=On;var hl=qo(dr),yl=qo(hr,!0),vl=Uo(),gl=Uo(!0),bl=rl?function(t,e){return rl.set(t,e),t}:zf,ml=Cs?function(t,e){return Cs(t,"toString",{configurable:!0,enumerable:!1,value:Ef(e),writable:!0})}:zf,_l=no,wl=Rs||function(t){return Gn.clearTimeout(t)},xl=tl&&1/Z(new tl([,-0]))[1]==Mt?function(t){return new tl(t)}:Wf,Ol=rl?function(t){return rl.get(t)}:Wf,jl=Ns?function(t){return null==t?[]:(t=as(t),s(Ns(t),function(e){return Ss.call(t,e)}))}:Nf,Pl=Ns?function(t){for(var e=[];t;)h(e,jl(t)),t=Ts(t);return e}:Nf,kl=br;(Js&&kl(new Js(new ArrayBuffer(1)))!=se||Xs&&kl(new Xs)!=Yt||Qs&&kl(Qs.resolve())!=te||tl&&kl(new tl)!=re||el&&kl(new el)!=ae)&&(kl=function(t){var e=br(t),n=e==Qt?t.constructor:ot,r=n?Qi(n):"";if(r)switch(r){case il:return se;case ul:return Yt;case al:return te;case cl:return re;case fl:return ae}return e});var Tl=hs?tc:Ff,El=Yi(bl),Sl=Ls||function(t,e){return Gn.setTimeout(t,e)},zl=Yi(ml),Al=function(t){var e=za(t,function(t){return n.size===st&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ie,function(t,n,r,o){e.push(r?o.replace(qe,"$1"):n||t)}),e}),Il=no(function(t,e){return Ka(t)?rr(t,pr(e,1,Ka,!0)):[]}),Ml=no(function(t,e){var n=_u(e);return Ka(n)&&(n=ot),Ka(t)?rr(t,pr(e,1,Ka,!0),_i(n,2)):[]}),Cl=no(function(t,e){var n=_u(e);return Ka(n)&&(n=ot),Ka(t)?rr(t,pr(e,1,Ka,!0),ot,n):[]}),Rl=no(function(t){var e=d(t,xo);return e.length&&e[0]===t[0]?Or(e):[]}),Wl=no(function(t){var e=_u(t),n=d(t,xo);return e===_u(n)?e=ot:n.pop(),n.length&&n[0]===t[0]?Or(n,_i(e,2)):[]}),Ll=no(function(t){var e=_u(t),n=d(t,xo);return e="function"==typeof e?e:ot,e&&n.pop(),n.length&&n[0]===t[0]?Or(n,ot,e):[]}),Dl=no(Ou),Bl=yi(function(t,e){var n=null==t?0:t.length,r=Un(t,e);return Xr(t,d(e,function(t){return Mi(t,n)?+t:t}).sort(Io)),r}),Nl=no(function(t){return yo(pr(t,1,Ka,!0))}),Fl=no(function(t){var e=_u(t);return Ka(e)&&(e=ot),yo(pr(t,1,Ka,!0),_i(e,2))}),ql=no(function(t){var e=_u(t);return e="function"==typeof e?e:ot,yo(pr(t,1,Ka,!0),ot,e)}),Ul=no(function(t,e){return Ka(t)?rr(t,e):[]}),$l=no(function(t){return _o(s(t,Ka))}),Gl=no(function(t){var e=_u(t);return Ka(e)&&(e=ot),_o(s(t,Ka),_i(e,2))}),Kl=no(function(t){var e=_u(t);return e="function"==typeof e?e:ot,_o(s(t,Ka),ot,e)}),Hl=no(Gu),Zl=no(function(t){var e=t.length,n=e>1?t[e-1]:ot;return n="function"==typeof n?(t.pop(),n):ot,Ku(t,n)}),Vl=yi(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Un(e,t)};return!(e>1||this.__actions__.length)&&r instanceof b&&Mi(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Ju,args:[i],thisArg:ot}),new o(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(ot),t})):this.thru(i)}),Yl=No(function(t,e,n){vs.call(t,n)?++t[n]:Nn(t,n,1)}),Jl=Vo(su),Xl=Vo(lu),Ql=No(function(t,e,n){vs.call(t,n)?t[n].push(e):Nn(t,n,[e])}),tp=no(function(t,e,n){var r=-1,o="function"==typeof e,u=Ga(t)?ns(t.length):[];return hl(t,function(t){u[++r]=o?i(e,t,n):Pr(t,e,n)}),u}),ep=No(function(t,e,n){Nn(t,n,e)}),np=No(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),rp=no(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ci(t,e[0],e[1])?e=[]:n>2&&Ci(e[0],e[1],e[2])&&(e=[e[0]]),Hr(t,pr(e,1),[])}),op=Ws||function(){return Gn.Date.now()},ip=no(function(t,e,n){var r=gt;if(n.length){var o=H(n,mi(ip));r|=xt}return ci(t,r,e,n,o)}),up=no(function(t,e,n){var r=gt|bt;if(n.length){var o=H(n,mi(up));r|=xt}return ci(e,r,t,n,o)}),ap=no(function(t,e){return Yn(t,1,e)}),cp=no(function(t,e,n){return Yn(t,Oc(e)||0,n)});za.Cache=fn;var fp=_l(function(t,e){e=1==e.length&&vp(e[0])?d(e[0],C(_i())):d(pr(e,1),C(_i()));var n=e.length;return no(function(r){for(var o=-1,u=Ks(r.length,n);++o<u;)r[o]=e[o].call(this,r[o]);return i(t,this,r)})}),sp=no(function(t,e){return ci(t,xt,ot,e,H(e,mi(sp)))}),lp=no(function(t,e){return ci(t,Ot,ot,e,H(e,mi(lp)))}),pp=yi(function(t,e){return ci(t,Pt,ot,ot,ot,e)}),dp=oi(mr),hp=oi(function(t,e){return t>=e}),yp=kr(function(){return arguments}())?kr:function(t){return oc(t)&&vs.call(t,"callee")&&!Ss.call(t,"callee")},vp=ns.isArray,gp=Jn?C(Jn):Tr,bp=Fs||Ff,mp=Xn?C(Xn):Er,_p=Qn?C(Qn):Ar,wp=tr?C(tr):Cr,xp=er?C(er):Rr,Op=nr?C(nr):Wr,jp=oi(Nr),Pp=oi(function(t,e){return t<=e}),kp=Fo(function(t,e){if(Bi(e)||Ga(e))return Lo(e,Bc(e),t),ot;for(var n in e)vs.call(e,n)&&An(t,n,e[n])}),Tp=Fo(function(t,e){Lo(e,Nc(e),t)}),Ep=Fo(function(t,e,n,r){Lo(e,Nc(e),t,r)}),Sp=Fo(function(t,e,n,r){Lo(e,Bc(e),t,r)}),zp=yi(Un),Ap=no(function(t,e){t=as(t);var n=-1,r=e.length,o=r>2?e[2]:ot;for(o&&Ci(e[0],e[1],o)&&(r=1);++n<r;)for(var i=e[n],u=Nc(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(s===ot||$a(s,ds[f])&&!vs.call(t,f))&&(t[f]=i[f])}return t}),Ip=no(function(t){return t.push(ot,si),i(Lp,ot,t)}),Mp=Xo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=ms.call(e)),t[e]=n},Ef(zf)),Cp=Xo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=ms.call(e)),vs.call(t,e)?t[e].push(n):t[e]=[n]},_i),Rp=no(Pr),Wp=Fo(function(t,e,n){$r(t,e,n)}),Lp=Fo(function(t,e,n,r){$r(t,e,n,r)}),Dp=yi(function(t,e){var n={};if(null==t)return n;var r=!1;e=d(e,function(e){return e=jo(e,t),r||(r=e.length>1),e}),Lo(t,gi(t),n),r&&(n=Kn(n,pt|dt|ht,li));for(var o=e.length;o--;)vo(n,e[o]);return n}),Bp=yi(function(t,e){return null==t?{}:Zr(t,e)}),Np=ai(Bc),Fp=ai(Nc),qp=Ko(function(t,e,n){return e=e.toLowerCase(),t+(n?rf(e):e)}),Up=Ko(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),$p=Ko(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Gp=Go("toLowerCase"),Kp=Ko(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Hp=Ko(function(t,e,n){return t+(n?" ":"")+Vp(e)}),Zp=Ko(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Vp=Go("toUpperCase"),Yp=no(function(t,e){try{return i(t,ot,e)}catch(t){return Xa(t)?t:new os(t)}}),Jp=yi(function(t,e){return a(e,function(e){e=Xi(e),Nn(t,e,ip(t[e],t))}),t}),Xp=Yo(),Qp=Yo(!0),td=no(function(t,e){return function(n){return Pr(n,t,e)}}),ed=no(function(t,e){return function(n){return Pr(t,n,e)}}),nd=ti(d),rd=ti(f),od=ti(g),id=ri(),ud=ri(!0),ad=Qo(function(t,e){return t+e},0),cd=ui("ceil"),fd=Qo(function(t,e){return t/e},1),sd=ui("floor"),ld=Qo(function(t,e){return t*e},1),pd=ui("round"),dd=Qo(function(t,e){return t-e},0);return n.after=Oa,n.ary=ja,n.assign=kp,n.assignIn=Tp,n.assignInWith=Ep,n.assignWith=Sp,n.at=zp,n.before=Pa,n.bind=ip,n.bindAll=Jp,n.bindKey=up,n.castArray=Da,n.chain=Vu,n.chunk=nu,n.compact=ru,n.concat=ou,n.cond=kf,n.conforms=Tf,n.constant=Ef,n.countBy=Yl,n.create=Tc,n.curry=ka,n.curryRight=Ta,n.debounce=Ea,n.defaults=Ap,n.defaultsDeep=Ip,n.defer=ap,n.delay=cp,n.difference=Il,n.differenceBy=Ml,n.differenceWith=Cl,n.drop=iu,n.dropRight=uu,n.dropRightWhile=au,n.dropWhile=cu,n.fill=fu,n.filter=ua,n.flatMap=aa,n.flatMapDeep=ca,n.flatMapDepth=fa,n.flatten=pu,n.flattenDeep=du,n.flattenDepth=hu,n.flip=Sa,n.flow=Xp,n.flowRight=Qp,n.fromPairs=yu,n.functions=Cc,n.functionsIn=Rc,n.groupBy=Ql,n.initial=bu,n.intersection=Rl,n.intersectionBy=Wl,n.intersectionWith=Ll,n.invert=Mp,n.invertBy=Cp,n.invokeMap=tp,n.iteratee=Af,n.keyBy=ep,n.keys=Bc,n.keysIn=Nc,n.map=da,n.mapKeys=Fc,n.mapValues=qc,n.matches=If,n.matchesProperty=Mf,n.memoize=za,n.merge=Wp,n.mergeWith=Lp,n.method=td,n.methodOf=ed,n.mixin=Cf,n.negate=Aa,n.nthArg=Lf,n.omit=Dp,n.omitBy=Uc,n.once=Ia,n.orderBy=ha,n.over=nd,n.overArgs=fp,n.overEvery=rd,n.overSome=od,n.partial=sp,n.partialRight=lp,n.partition=np,n.pick=Bp,n.pickBy=$c,n.property=Df,n.propertyOf=Bf,n.pull=Dl,n.pullAll=Ou,n.pullAllBy=ju,n.pullAllWith=Pu,n.pullAt=Bl,n.range=id,n.rangeRight=ud,n.rearg=pp,n.reject=ga,n.remove=ku,n.rest=Ma,n.reverse=Tu,n.sampleSize=ma,n.set=Kc,n.setWith=Hc,n.shuffle=_a,n.slice=Eu,n.sortBy=rp,n.sortedUniq=Ru,n.sortedUniqBy=Wu,n.split=yf,n.spread=Ca,n.tail=Lu,n.take=Du,n.takeRight=Bu,n.takeRightWhile=Nu,n.takeWhile=Fu,n.tap=Yu,n.throttle=Ra,n.thru=Ju,n.toArray=mc,n.toPairs=Np,n.toPairsIn=Fp,n.toPath=Kf,n.toPlainObject=jc,n.transform=Zc,n.unary=Wa,n.union=Nl,n.unionBy=Fl,n.unionWith=ql,n.uniq=qu,n.uniqBy=Uu,n.uniqWith=$u,n.unset=Vc,n.unzip=Gu,n.unzipWith=Ku,n.update=Yc,n.updateWith=Jc,n.values=Xc,n.valuesIn=Qc,n.without=Ul,n.words=Pf,n.wrap=La,n.xor=$l,n.xorBy=Gl,n.xorWith=Kl,n.zip=Hl,n.zipObject=Hu,n.zipObjectDeep=Zu,n.zipWith=Zl,n.entries=Np,n.entriesIn=Fp,n.extend=Tp,n.extendWith=Ep,Cf(n,n),n.add=ad,n.attempt=Yp,n.camelCase=qp,n.capitalize=rf,n.ceil=cd,n.clamp=tf,n.clone=Ba,n.cloneDeep=Fa,n.cloneDeepWith=qa,n.cloneWith=Na,n.conformsTo=Ua,n.deburr=of,n.defaultTo=Sf,n.divide=fd,n.endsWith=uf,n.eq=$a,n.escape=af,n.escapeRegExp=cf,n.every=ia,n.find=Jl,n.findIndex=su,n.findKey=Ec,n.findLast=Xl,n.findLastIndex=lu,n.findLastKey=Sc,n.floor=sd,n.forEach=sa,n.forEachRight=la,n.forIn=zc,n.forInRight=Ac,n.forOwn=Ic,n.forOwnRight=Mc,n.get=Wc,n.gt=dp,n.gte=hp,n.has=Lc,n.hasIn=Dc,n.head=vu,n.identity=zf,n.includes=pa,n.indexOf=gu,n.inRange=ef,n.invoke=Rp,n.isArguments=yp,n.isArray=vp,n.isArrayBuffer=gp,n.isArrayLike=Ga,n.isArrayLikeObject=Ka,n.isBoolean=Ha,n.isBuffer=bp,n.isDate=mp,n.isElement=Za,n.isEmpty=Va,n.isEqual=Ya,n.isEqualWith=Ja,n.isError=Xa,n.isFinite=Qa,n.isFunction=tc,n.isInteger=ec,n.isLength=nc,n.isMap=_p,n.isMatch=ic,n.isMatchWith=uc,n.isNaN=ac,n.isNative=cc,n.isNil=sc,n.isNull=fc,n.isNumber=lc,n.isObject=rc,n.isObjectLike=oc,n.isPlainObject=pc,n.isRegExp=wp,n.isSafeInteger=dc,n.isSet=xp,n.isString=hc,n.isSymbol=yc,n.isTypedArray=Op,n.isUndefined=vc,n.isWeakMap=gc,n.isWeakSet=bc,n.join=mu,n.kebabCase=Up,n.last=_u,n.lastIndexOf=wu,n.lowerCase=$p,n.lowerFirst=Gp,n.lt=jp,n.lte=Pp,n.max=Zf,n.maxBy=Vf,n.mean=Yf,n.meanBy=Jf,n.min=Xf,n.minBy=Qf,n.stubArray=Nf,n.stubFalse=Ff,n.stubObject=qf,n.stubString=Uf,n.stubTrue=$f,n.multiply=ld,n.nth=xu,n.noConflict=Rf,n.noop=Wf,n.now=op,n.pad=ff,n.padEnd=sf,n.padStart=lf,n.parseInt=pf,n.random=nf,n.reduce=ya,n.reduceRight=va,n.repeat=df,n.replace=hf,n.result=Gc,n.round=pd,n.runInContext=t,n.sample=ba,n.size=wa,n.snakeCase=Kp,n.some=xa,n.sortedIndex=Su,n.sortedIndexBy=zu,n.sortedIndexOf=Au,n.sortedLastIndex=Iu,n.sortedLastIndexBy=Mu,n.sortedLastIndexOf=Cu,n.startCase=Hp,n.startsWith=vf,n.subtract=dd,n.sum=ts,n.sumBy=es,n.template=gf,n.times=Gf,n.toFinite=_c,n.toInteger=wc,n.toLength=xc,n.toLower=bf,n.toNumber=Oc,n.toSafeInteger=Pc,n.toString=kc,n.toUpper=mf,n.trim=_f,n.trimEnd=wf,n.trimStart=xf,n.truncate=Of,n.unescape=jf,n.uniqueId=Hf,n.upperCase=Zp,n.upperFirst=Vp,n.each=sa,n.eachRight=la,n.first=vu,Cf(n,function(){var t={};return dr(n,function(e,r){vs.call(n.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),n.VERSION="4.17.21",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===ot?1:Gs(wc(n),0);var r=this.__filtered__&&!e?new b(this):this.clone();return r.__filtered__?r.__takeCount__=Ks(n,r.__takeCount__):r.__views__.push({size:Ks(n,Lt),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==At||3==n;b.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:_i(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(zf)},b.prototype.find=function(t){return this.filter(t).head()},b.prototype.findLast=function(t){return this.reverse().find(t)},b.prototype.invokeMap=no(function(t,e){return"function"==typeof t?new b(this):this.map(function(n){return Pr(n,t,e)})}),b.prototype.reject=function(t){return this.filter(Aa(_i(t)))},b.prototype.slice=function(t,e){t=wc(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!==ot&&(e=wc(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(Lt)},dr(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||vp(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 m=t.apply(e,c);return m.__actions__.push({func:Ju,args:[p],thisArg:ot}),new o(m,d)}return v&&g?t.apply(this,c):(m=this.thru(p),v?i?m.value()[0]:m.value():m)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=ls[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(vp(n)?n:[],t)}return this[r](function(n){return e.apply(vp(n)?n:[],t)})}}),dr(b.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";vs.call(ol,o)||(ol[o]=[]),ol[o].push({name:e,func:r})}}),ol[Jo(ot,bt).name]=[{name:"wrapper",func:ot}],b.prototype.clone=T,b.prototype.reverse=Y,b.prototype.value=et,n.prototype.at=Vl,n.prototype.chain=Xu,n.prototype.commit=Qu,n.prototype.next=ta,n.prototype.plant=na,n.prototype.reverse=ra,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=oa,n.prototype.first=n.prototype.head,Is&&(n.prototype[Is]=ea),n}();Gn._=ar,void 0!==(o=function(){return ar}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(36),n(26)(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(k.cap){var n=s.iterateeRearg[t];if(n)return w(e,n);var r=!j&&s.iterateeAry[t];if(r)return _(e,r)}return e}function h(t,e,n){return E||k.curry&&n>1?W(e,n):e}function y(t,e,n){if(k.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?M(e,n):a(e,o)}return e}function v(t,e,n){return k.rearg&&n>1&&(z||!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=R(Object(t)),u=i;null!=u&&++n<r;){var a=e[n],c=u[a];null==c||N(c)||B(c)||F(c)||(u[a]=R(n==o?c:Object(c))),u=u[a]}return i}function b(t){return Z.runInContext.convert(t)(void 0)}function m(t,e){var n=s.aliasToReal[t]||t,r=s.remap[n]||n,o=p;return function(t){var i=j?A:I,u=j?A[r]:e,a=C(C({},o),t);return f(i,n,u,a)}}function _(t,e){return x(t,function(t){return"function"==typeof t?o(t,e):t})}function w(t,e){return x(t,function(t){var n=e.length;return r(U(o(t,n),e),n)})}function x(t,e){return function(){var n=arguments.length;if(!n)return t();for(var r=Array(n);n--;)r[n]=arguments[n];var o=k.rearg?0:n-1;return r[o]=e(r[o]),t.apply(void 0,r)}}function O(t,e,n){var r,o=s.aliasToReal[t]||t,a=e,f=H[o];return f?a=f(e):k.immutable&&(s.mutate.array[o]?a=c(e,i):s.mutate.object[o]?a=c(e,u(e)):s.mutate.set[o]&&(a=c(e,g))),L(K,function(t){return L(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=E?W(r,1):function(){return e.apply(this,arguments)}),r.convert=m(o,e),r.placeholder=e.placeholder=n,r}var j="function"==typeof e,P=e===Object(e);if(P&&(p=n,n=e,e=void 0),null==n)throw new TypeError;p||(p={});var k={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},T=j?n:l,E="curry"in p&&p.curry,S="fixed"in p&&p.fixed,z="rearg"in p&&p.rearg,A=j?n.runInContext():void 0,I=j?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},M=I.ary,C=I.assign,R=I.clone,W=I.curry,L=I.forEach,D=I.isArray,B=I.isError,N=I.isFunction,F=I.isWeakMap,q=I.keys,U=I.rearg,$=I.toInteger,G=I.toPath,K=q(s.aryMethod),H={castArray:function(t){return function(){var e=arguments[0];return D(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return k.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 L(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),L(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(!P)return O(e,n,T);var Z=n,V=[];return L(K,function(t){L(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&V.push([t,O(t,e,Z)])})}),L(q(Z),function(t){var e=Z[t];if("function"==typeof e){for(var n=V.length;n--;)if(V[n][0]==t)return;e.convert=m(t,e),V.push([t,e])}}),L(V,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,L(q(Z),function(t){L(s.realToAlias[t]||[],function(e){Z[e]=Z[t]})}),Z}var s=n(200),l=n(201),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.55.0"]},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(30)),r(n(204))),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(5),n(6);var d=r(n(0)),h=(r(n(30)),r(n(93))),y=r(n(94)),v=r(n(224)),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 m=b;e.default=m,t.exports=e.default},function(t,e,n){var r=n(7),o=n(31),i=n(46),u=n(86),a=n(208),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,m=h?o:o[e]||(o[e]={}),_=m.prototype||(m.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),m[f]!=l&&i(m,f,p),v&&_[f]!=l&&(_[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){t.exports=n(32)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(209);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){var r=n(14)("meta"),o=n(15),i=n(13),u=n(11).f,a=0,c=Object.isExtensible||function(){return!0},f=!n(34)(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(11).f,o=n(13),i=n(44)("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){var r=n(48),o=n(91),i=n(50);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(88);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(16),o=n(216),i=n(217);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(89),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(89),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(88);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(33),o=n(220),i=n(49),u=n(90)("IE_PROTO"),a=function(){},c=function(){var t,e=n(85)("iframe"),r=i.length;for(e.style.display="none",n(221).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(11),o=n(33),i=n(48);t.exports=n(12)?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(7).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(16),o=n(92).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(50),o=n(47),i=n(16),u=n(45),a=n(13),c=n(84),f=Object.getOwnPropertyDescriptor;e.f=n(12)?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(5),n(6);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){"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(5),n(6);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(5),n(6);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(5),n(6);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(5),n(6);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(30)),r(n(93))),y=r(n(94)),v=r(n(95)),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(80);var r=n(81),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(5),n(6);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(1);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(232)),i=r(n(236)),u=r(n(238)),a=r(n(239)),c=r(n(242)),f=r(n(243)),s=r(n(244))},function(t,e,n){"use strict";var r=n(51),o=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(52)),u=o(n(53)),a=o(n(54)),c=o(n(55)),f=o(n(56)),s=r(n(0)),l=n(0).PropTypes||n(2),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},t.exports.__esModule=!0,t.exports.default=t.exports,n(e,r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(){}function o(){}var i=n(235);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,bigint: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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(17),u=r(n(18)),a=n(0).PropTypes||n(2),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/20220130034930/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,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(17),u=r(n(18)),a=n(0).PropTypes||n(2),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/20220130034930/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(51),o=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(n(52)),u=o(n(53)),a=o(n(54)),c=o(n(55)),f=o(n(97)),s=o(n(56)),l=r(n(0)),p=o(n(29)),d=o(n(240)),h=o(n(241)),y=n(0).PropTypes||n(2),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/20220130034930/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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(0).PropTypes||n(2),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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=r(n(29)),u=n(0).PropTypes||n(2),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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(17),u=r(n(18)),a=n(0).PropTypes||n(2),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/20220130034930/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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(17),u=r(n(18)),a=n(0).PropTypes||n(2),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/20220130034930/https://api.whatsapp.com/send":"https://web.archive.org/web/20220130034930/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(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(0)),i=n(17),u=r(n(18)),a=n(0).PropTypes||n(2),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/20220130034930/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/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://web.archive.org/web/20220130034930/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"https://web.archive.org/web/20220130034930/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},m=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}(),_=function(t){return"secondary"===t||"post-16"===t?"secondary":"primary"},w=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)},x=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=_(t.phase),o=w(r,e);if(o.length){var i=new m(n,o);x(i)}else{var u=p[r][e||"universal"];window.require([u],function(){o=w(r,e);var t=new m(n,o);x(t)})}}}},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-bitesize-header-view@8.127.0",t,e)}}},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(248),i=n(75),u=n(41),a=n(74);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.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-level/version/3.2.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":[{"id":"zggh6g8","type":"keyStage","label":"An Tràth Ìre","description":"Tha An Tràth Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann aois 3 gu 6 bliadhna.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":3,"upperAge":6,"phase":"Primary"},{"id":"z4js6v4","type":"keyStage","label":"Cyfnod Sylfaen","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"zf7hgwx","type":"keyStage","label":"Early level","description":"Early Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 3 to 6 years in Pre-School or Primary 1.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":3,"upperAge":6,"phase":"Primary"},{"id":"znyh7nb","type":"keyStage","label":"Foundation Stage","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":3,"upperAge":5,"phase":"Primary"},{"id":"z3g4d2p","type":"keyStage","label":"KS1","description":"Key Stage 1 is a phase of primary education for pupils aged 5 to 7 in England.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"}],"lowerAge":5,"upperAge":7,"phase":"Primary"},{"id":"zjpqqp3","type":"year","label":"Year 1","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/dca5a133-822b-48bf-b826-588c8dfea9c0#id","nations":null,"lowerAge":5,"upperAge":6,"phase":null},{"id":"zxybmsg","type":"keyStage","label":"Foundation Phase","description":"Foundation Phase is the statutory curriculum for primary school pupils aged 3 to 7 in Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":3,"upperAge":7,"phase":"Primary"},{"id":"zcwyp4j","type":"keyStage","label":"KS1","description":"Key Stage 1 is a phase of primary education for pupils aged 6 to 8 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":6,"upperAge":8,"phase":"Primary"},{"id":"z7s22sg","type":"year","label":"Year 2","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/dca5a133-822b-48bf-b826-588c8dfea9c0#id","nations":null,"lowerAge":6,"upperAge":7,"phase":null},{"id":"zmyxxyc","type":"year","label":"Year 3","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/d19e064d-ef25-45f2-beb7-c26bea320261#id","nations":null,"lowerAge":7,"upperAge":8,"phase":null},{"id":"zgckjxs","type":"keyStage","label":"1st level","description":"First Level is a stage of Scotland’s Curriculum for Excellence, usually for children aged 5 to 9 years in Primary 2, Primary 3 and Primary 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"zk3xy9q","type":"keyStage","label":"A' Chiad Ìre","description":"Tha a’ Chiad Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 5 agus 9 bliadhna ann an Clas 2, Clas 3 agus Clas 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":5,"upperAge":9,"phase":"Primary"},{"id":"zjmj92p","type":"keyStage","label":"KS2","description":"Key Stage 2 is a phase of primary education for pupils aged 8 to 11 in Northern Ireland.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":8,"upperAge":11,"phase":"Primary"},{"id":"z63tt39","type":"year","label":"Year 4","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/d19e064d-ef25-45f2-beb7-c26bea320261#id","nations":null,"lowerAge":8,"upperAge":9,"phase":null},{"id":"zhgppg8","type":"year","label":"Year 5","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/d19e064d-ef25-45f2-beb7-c26bea320261#id","nations":null,"lowerAge":9,"upperAge":10,"phase":null},{"id":"zvbc87h","type":"phase","label":"Primary","description":" ","subLevelOf":"","nations":null,"lowerAge":3,"upperAge":11,"phase":null},{"id":"zbpwt39","type":"keyStage","label":"CA2","description":"Mae Cyfnod Allweddol 2 yn rhan o addysg gynradd ar gyfer disgyblion oed 7 i 11 yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zbr9wmn","type":"keyStage","label":"KS2","description":"Key Stage 2 is a phase of primary education for pupils aged 7 to 11 in England and Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"},{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":7,"upperAge":11,"phase":"Primary"},{"id":"zncsscw","type":"year","label":"Year 6","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/d19e064d-ef25-45f2-beb7-c26bea320261#id","nations":null,"lowerAge":10,"upperAge":11,"phase":null},{"id":"zr48q6f","type":"keyStage","label":"2nd level","description":"Second Level is a phase of primary education in Scotland, generally for pupils aged 9 to 12.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"z4y2scw","type":"keyStage","label":"An Dàrna Ìre","description":"Tha an Dàrna Ìre na ceum ann an Curraicealam airson Sàr-mhathais ann an Alba, mar as trice do chlann eadar 8 agus 12 bliadhna Clas 5, Clas 6 agus Clas 7.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/675a7ea0-5a75-41db-b0cb-f3124b80afa3#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":9,"upperAge":12,"phase":"Primary"},{"id":"zy4qn39","type":"keyStage","label":"3rd level","description":"Third Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zvk2fg8","type":"keyStage","label":"4th level","description":"Fourth Level is a phase of education in Scotland, generally for pupils aged 11 to 15, in their first three years of secondary school.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":11,"upperAge":15,"phase":"Secondary"},{"id":"zh6vr82","type":"keyStage","label":"CA3","description":"Mae Cyfnod Allweddol 3 yn cynrychioli’r tair blynedd cyntaf yn addysg ysgolion uwchradd Cymru, ar gyfer disgyblion 11-14 blwydd oed.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"z4kw2hv","type":"keyStage","label":"KS3","description":"Key Stage 3 is the first three years of secondary school education in England and Wales, for pupils aged 11 to 14.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"},{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"z3hbg7h","type":"keyStage","label":"KS3","description":"Key Stage 3 is the first three years of secondary school education in Northern Ireland, for pupils aged 11 to 14.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":11,"upperAge":14,"phase":"Secondary"},{"id":"zqxy8mn","type":"keyStage","label":"CBC","description":"Mae Bagloriaeth Cymru (CBC) yn galluogi dysgwyr i ddeall a datblygu sgiliau hanfodol a chyflogadwyedd. Mae'n darparu cyfleoedd asesu mewn sefyllfaoedd bywyd go iawn, trwy gyfrwng tair her a phroject unigol.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z98jmp3","type":"keyStage","label":"GCSE","description":"GCSE is the qualification taken by 15 and 16 year olds to mark their graduation from the Key Stage 4 phase of secondary education in England, Northern Ireland and Wales.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"},{"id":"z6bc87h","type":"nation","label":"Northern Ireland"},{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z8hhvcw","type":"keyStage","label":"Nàiseanta 4","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 4.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zdpp34j","type":"keyStage","label":"Nàiseanta 5","description":"'S e teisteanas do sgoilearan ann an Alba, a tha sa bhitheantas air a ghabhail aig ceann shuas na h-àrd-sgoile, a th' ann an Ìre Nàiseanta 5.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"zp3d7ty","type":"keyStage","label":"National 4","description":"National 4 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z6gw2hv","type":"keyStage","label":"National 5","description":"National 5 is a qualification taken by students in Scotland, generally during their secondary senior phase of education.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":14,"upperAge":17,"phase":"Secondary"},{"id":"z8w76sg","type":"keyStage","label":"TGAU","description":"Cymhwyster ar gyfer disgyblion 15 -16 blwydd oed yw TGAU. Mae’r cymhwyster yn dangos bod disgyblion wedi llwyddo i gwblhau Cyfnod Allweddol 4 yn ystod eu haddysg uwchradd yng Nghymru.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"z9wtgdm","type":"keyStage","label":"WBQ","description":"The Welsh Baccalaureate (WBQ) is a qualification that helps learners to understand and develop essential and employability skills. It provides opportunities for assessment in real-life contexts through three challenge briefs and an individual project.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":14,"upperAge":16,"phase":"Secondary"},{"id":"zghtfrd","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/458f336d-6c5c-4a97-bd28-89fbd30575df#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":14,"upperAge":15,"phase":null},{"id":"zyw87hv","type":"year","label":"Year 10","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/0c035f05-4827-45f0-a2c7-7d714e2e4cb3#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"}],"lowerAge":14,"upperAge":15,"phase":null},{"id":"z8vyrdm","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/0c035f05-4827-45f0-a2c7-7d714e2e4cb3#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":14,"upperAge":15,"phase":null},{"id":"z37jxsg","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/0c035f05-4827-45f0-a2c7-7d714e2e4cb3#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"}],"lowerAge":15,"upperAge":16,"phase":null},{"id":"zcnpv4j","type":"year","label":"Year 11","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/458f336d-6c5c-4a97-bd28-89fbd30575df#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":15,"upperAge":16,"phase":null},{"id":"z9fsbk7","type":"year","label":"Year 12","description":" ","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/0c035f05-4827-45f0-a2c7-7d714e2e4cb3#id","nations":[{"id":"z6bc87h","type":"nation","label":"Northern Ireland"}],"lowerAge":15,"upperAge":16,"phase":null},{"id":"zc9d7ty","type":"phase","label":"Secondary","description":" ","subLevelOf":"","nations":null,"lowerAge":11,"upperAge":18,"phase":null},{"id":"zqq4wxs","type":"keyStage","label":"Àrd Ìre","description":"'S e deuchainnean do sgoilearan ann an Alba a tha aig aois an sgoil fhàgail agus teisteanas inntrigidh oilthigh a th’ anns an Àrd Ìre.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"zkdqxnb","type":"keyStage","label":"Higher","description":"Highers are national school-leaving certificate exams and university entrance qualifications taken by 16 to 18 year olds in Scotland.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/bbc739e2-2a3c-4490-a7f1-219d5e819315#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":15,"upperAge":18,"phase":"Secondary"},{"id":"z66jhbk","type":"keyStage","label":"Core Skills","description":"Core Skills qualifications teach post-16 and adult learners in Scotland how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/1b1bee12-6352-4b4a-81e1-632035945230#id","nations":[{"id":"zx3rkqt","type":"nation","label":"Scotland"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zhh7nrd","type":"keyStage","label":"Essential Skills","description":"Essential Skills qualifications teach post-16 and adult learners in Wales how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/1b1bee12-6352-4b4a-81e1-632035945230#id","nations":[{"id":"zmvg9j6","type":"nation","label":"Wales"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zvhtng8","type":"keyStage","label":"Functional Skills","description":"Functional Skills qualifications teach post-16 and adult learners in England how to apply practical Maths and English skills to real-life and vocational contexts.","subLevelOf":"https:\/\/web.archive.org\/web\/20220130034930\/http:\/\/www.bbc.co.uk\/things\/1b1bee12-6352-4b4a-81e1-632035945230#id","nations":[{"id":"z2yb4wx","type":"nation","label":"England"}],"lowerAge":16,"upperAge":100,"phase":"Post-16"},{"id":"zfxmtv4","type":"phase","label":"Post-16","description":" ","subLevelOf":"","nations":null,"lowerAge":16,"upperAge":100,"phase":null}]}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-header-data/language/en-GB/pageType/all-subjects/version/1.32.1', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"label":"All subjects","description":"Learning resources for adults, children, parents and teachers organised by subject."}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","pageType":"all-subjects","globalNav":"true","partOf":"true","subdirectory":"bitesize","branding":"phase2","language":"en-GB","version":"8.127.0","_mrrVersion":"2.2.1"},'u7207287885734264'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.13/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u7207287885734264 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-all-subjects-list-view@2.2.1"]={"@bbc/bitesize-branding":"11.0.0","morph-container":"4.0.0","react":"0.14.7"}; !function(e){function t(n){if(r[n])return r[n].exports;var _=r[n]={i:n,l:!1,exports:{}};return e[n].call(_.exports,_,_.exports,t),_.l=!0,_.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),_=r.n(n);Morph.modules["bbc-morph-bitesize-all-subjects-list-view@2.2.1"]=_.a},function(e,t,r){"use strict";(function(t){e.exports=function(e){function t(n){if(r[n])return r[n].exports;var _=r[n]={i:n,l:!1,exports:{}};return e[n].call(_.exports,_,_.exports,t),_.l=!0,_.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t){e.exports=r(3)},function(e,r,n){function _(e){"@babel/helpers - typeof";return(_="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 u(e){return e&&e.__esModule?e:{default:e}}function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}function c(){try{if(t)return t}catch(e){try{if(window)return window}catch(e){return this}}}function i(){if(null===w){var e=c();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),w=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return w}function a(){var e=c();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function l(){var e=i(),t=a(),r=t[e];return r||(t[e]=Object.create(null),r=t[e]),r}function s(e){var t=l();if(void 0===t[e])return f(e);var r=t[e];return r===m?void 0:r}function f(e){switch(e){case"AllSubjectsContainer":return E;case"PropTypes":return R.PropTypes;case"Container":return O.default;case"React":return R.default;case"AllSubjects":return v.default}}function p(e,t){var r=l();return"object"===_(e)?(Object.keys(e).forEach(function(t){r[t]=e[t]}),function(){Object.keys(e).forEach(function(t){y(e)})}):(r[e]=void 0===t?m:t,function(){y(e)})}function y(e){var t=l();delete t[e],0==Object.keys(t).length&&delete a()[i]}function b(e){function t(){n.forEach(function(e){r[e]=_[e]})}var r=l(),n=Object.keys(e),_={};return function(u){n.forEach(function(t){_[t]=r[t],r[t]=e[t]});var o=u();return o&&"function"==typeof o.then?o.then(t).catch(t):t(),o}}function d(e,t){Object.defineProperty(j,e,{value:t,enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),r.__GetDependency__=r.__get__=s,r.__set__=r.__Rewire__=p,r.__ResetDependency__=y,r.__RewireAPI__=r.default=void 0;var R=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==_(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var c=n?Object.getOwnPropertyDescriptor(e,u):null;c&&(c.get||c.set)?Object.defineProperty(r,u,c):r[u]=e[u]}return r.default=e,t&&t.set(e,r),r}(n(0)),O=u(n(2)),v=u(n(3)),E=function(e){var t=e.subdirectory,r=e.fieldsOfStudy.body;return s("React").createElement(s("AllSubjects"),{fieldsOfStudy:JSON.parse(r),subdirectory:t})};s("AllSubjectsContainer").displayName="AllSubjectsContainer",s("AllSubjectsContainer").defaultProps={subdirectory:"bitesize"},s("AllSubjectsContainer").propTypes={subdirectory:s("PropTypes").string,fieldsOfStudy:s("PropTypes").shape({body:s("PropTypes").string.isRequired}).isRequired};var j=s("Container").create(s("AllSubjectsContainer"),{data:function(){return{fieldsOfStudy:{uri:{service:"fabl-curriculum-data",path:"?query=all-subjects-list"},requireSuccess:!0}}}}),h=j;r.default=h,e.exports=r.default;var w=null;!function(){var e=c();e.__rewire_reset_all__||(e.__rewire_reset_all__=function(){e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)})}();var m="__INTENTIONAL_UNDEFINED__",P={};r.__RewireAPI__=P,function(){function e(e,t){Object.defineProperty(P,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",s),e("__GetDependency__",s),e("__Rewire__",p),e("__set__",p),e("__reset__",y),e("__ResetDependency__",y),e("__with__",b)}();var S=_(j);"object"!==S&&"function"!==S||!Object.isExtensible(j)||(d("__get__",s),d("__GetDependency__",s),d("__Rewire__",p),d("__set__",p),d("__reset__",y),d("__ResetDependency__",y),d("__with__",b),d("__RewireAPI__",P))},function(e,t){e.exports=r(4)},function(e,r,n){function _(e){"@babel/helpers - typeof";return(_="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 u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function o(){try{if(t)return t}catch(e){try{if(window)return window}catch(e){return this}}}function c(){if(null===v){var e=o();e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__||(e.__$$GLOBAL_REWIRE_NEXT_MODULE_ID__=0),v=__$$GLOBAL_REWIRE_NEXT_MODULE_ID__++}return v}function i(){var e=o();return e.__$$GLOBAL_REWIRE_REGISTRY__||(e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)),e.__$$GLOBAL_REWIRE_REGISTRY__}function a(){var e=c(),t=i(),r=t[e];return r||(t[e]=Object.create(null),r=t[e]),r}function l(e){var t=a();if(void 0===t[e])return s(e);var r=t[e];return r===E?void 0:r}function s(e){switch(e){case"AllSubjects":return R;case"PropTypes":return d.PropTypes;case"React":return d.default}}function f(e,t){var r=a();return"object"===_(e)?(Object.keys(e).forEach(function(t){r[t]=e[t]}),function(){Object.keys(e).forEach(function(t){p(e)})}):(r[e]=void 0===t?E:t,function(){p(e)})}function p(e){var t=a();delete t[e],0==Object.keys(t).length&&delete i()[c]}function y(e){function t(){n.forEach(function(e){r[e]=_[e]})}var r=a(),n=Object.keys(e),_={};return function(u){n.forEach(function(t){_[t]=r[t],r[t]=e[t]});var o=u();return o&&"function"==typeof o.then?o.then(t).catch(t):t(),o}}function b(e,t){Object.defineProperty(R,e,{value:t,enumerable:!1,configurable:!0})}Object.defineProperty(r,"__esModule",{value:!0}),r.__GetDependency__=r.__get__=l,r.__set__=r.__Rewire__=f,r.__ResetDependency__=p,r.__RewireAPI__=r.default=void 0;var d=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==_(e)&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var c=n?Object.getOwnPropertyDescriptor(e,o):null;c&&(c.get||c.set)?Object.defineProperty(r,o,c):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(n(0)),R=function(e){var t=e.subdirectory,r=e.fieldsOfStudy;return l("React").createElement("div",{className:"all-subjects"},l("React").createElement("ol",{className:"all-subjects-list"},r.data.fieldsOfStudy.map(function(e){var r=e.label,n=e.id;return l("React").createElement("li",{key:n,className:"all-subjects__item"},l("React").createElement("a",{className:"all-subjects__item-link",href:"/".concat(t,"/subjects/").concat(n)},l("React").createElement("p",{className:"all-subjects__item-link-text"},r)))})))};l("AllSubjects").displayName="AllSubjects",l("AllSubjects").defaultProps={subdirectory:"bitesize"},l("AllSubjects").propTypes={subdirectory:l("PropTypes").string,fieldsOfStudy:l("PropTypes").shape({data:l("PropTypes").shape({fieldsOfStudy:l("PropTypes").arrayOf(l("PropTypes").shape({id:l("PropTypes").string.isRequired,label:l("PropTypes").string.isRequired})).isRequired}).isRequired}).isRequired};var O=l("AllSubjects");r.default=O,e.exports=r.default;var v=null;!function(){var e=o();e.__rewire_reset_all__||(e.__rewire_reset_all__=function(){e.__$$GLOBAL_REWIRE_REGISTRY__=Object.create(null)})}();var E="__INTENTIONAL_UNDEFINED__",j={};r.__RewireAPI__=j,function(){function e(e,t){Object.defineProperty(j,e,{value:t,enumerable:!1,configurable:!0})}e("__get__",l),e("__GetDependency__",l),e("__Rewire__",f),e("__set__",f),e("__reset__",p),e("__ResetDependency__",p),e("__with__",y)}();var h=_(R);"object"!==h&&"function"!==h||!Object.isExtensible(R)||(b("__get__",l),b("__GetDependency__",l),b("__Rewire__",f),b("__set__",f),b("__reset__",p),b("__ResetDependency__",p),b("__with__",y),b("__RewireAPI__",j))}])}).call(t,r(2))},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=React},function(e,t){e.exports={create:function(e,t){return Morph.createContainerWithCaller("bbc-morph-bitesize-all-subjects-list-view@2.2.1",e,t)}}}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/path/%3Fquery%3Dall-subjects-list/service/fabl-curriculum-data/version/undefined', {"body":"{\"data\":{\"fieldsOfStudy\":[{\"id\":\"z8tnvcw\",\"label\":\"Art and Design\"},{\"id\":\"z2svr82\",\"label\":\"Biology\"},{\"id\":\"zjnygk7\",\"label\":\"Business\"},{\"id\":\"zkmngk7\",\"label\":\"Business management\"},{\"id\":\"zmf3cdm\",\"label\":\"Chemistry\"},{\"id\":\"zft3d2p\",\"label\":\"Computing\"},{\"id\":\"zf48q6f\",\"label\":\"Cymraeg\"},{\"id\":\"zg9jtfr\",\"label\":\"Dance\"},{\"id\":\"z3vrwmn\",\"label\":\"Design and manufacture\"},{\"id\":\"zykw2hv\",\"label\":\"Design and Technology\"},{\"id\":\"zxtbng8\",\"label\":\"Digital Technology\"},{\"id\":\"zk6pyrd\",\"label\":\"Drama\"},{\"id\":\"zb3cjxs\",\"label\":\"Engineering science\"},{\"id\":\"zt3rkqt\",\"label\":\"English\"},{\"id\":\"zhbc87h\",\"label\":\"English Literature\"},{\"id\":\"zkpv9j6\",\"label\":\"Expressive Arts\"},{\"id\":\"zgb4q6f\",\"label\":\"Fashion and textile technology\"},{\"id\":\"zc7xpv4\",\"label\":\"French\"},{\"id\":\"zgj2tfr\",\"label\":\"Gaelic\"},{\"id\":\"zqnygk7\",\"label\":\"Gaelic (Learners)\"},{\"id\":\"z2f3cdm\",\"label\":\"Geography\"},{\"id\":\"z426n39\",\"label\":\"German\"},{\"id\":\"zcrk2hv\",\"label\":\"Graphic communication\"},{\"id\":\"z4c8mp3\",\"label\":\"Health and food technology\"},{\"id\":\"zv6sr82\",\"label\":\"Health and wellbeing\"},{\"id\":\"z7svr82\",\"label\":\"History\"},{\"id\":\"zm6wfg8\",\"label\":\"Home Economics: Food and Nutrition\"},{\"id\":\"z94dxnb\",\"label\":\"Hospitality\"},{\"id\":\"zf9d7ty\",\"label\":\"ICT\"},{\"id\":\"z3cr9j6\",\"label\":\"Irish (Learners)\"},{\"id\":\"zrdv3k7\",\"label\":\"Irish Language\"},{\"id\":\"z86pyrd\",\"label\":\"Italian\"},{\"id\":\"z8hscj6\",\"label\":\"Journalism\"},{\"id\":\"zsykb82\",\"label\":\"Learning for Life and Work\"},{\"id\":\"z8mfsk7\",\"label\":\"Learning for Sustainability\"},{\"id\":\"z37qtfr\",\"label\":\"Lifeskills Maths\"},{\"id\":\"z8rdtfr\",\"label\":\"Literacy and English\"},{\"id\":\"zkxhfg8\",\"label\":\"Mandarin\"},{\"id\":\"z6vg9j6\",\"label\":\"Maths\"},{\"id\":\"zwpfb9q\",\"label\":\"Media Studies\"},{\"id\":\"zrqmhyc\",\"label\":\"Modern Foreign Languages\"},{\"id\":\"z9frq6f\",\"label\":\"Modern Languages\"},{\"id\":\"zs48q6f\",\"label\":\"Modern Studies\"},{\"id\":\"zydqpbk\",\"label\":\"Moving Image Arts\"},{\"id\":\"z9xhfg8\",\"label\":\"Music\"},{\"id\":\"zvcjpv4\",\"label\":\"Music Technology\"},{\"id\":\"z4bt4wx\",\"label\":\"PDMU\"},{\"id\":\"zjmh34j\",\"label\":\"People in society, economy and business\"},{\"id\":\"z76ngk7\",\"label\":\"People, past events and societies\"},{\"id\":\"zdgk2hv\",\"label\":\"People, place and environment\"},{\"id\":\"zdhs34j\",\"label\":\"Physical Education\"},{\"id\":\"zxyb4wx\",\"label\":\"Physics\"},{\"id\":\"z7f3cdm\",\"label\":\"PSHE and Citizenship\"},{\"id\":\"zqxpb9q\",\"label\":\"Religious and moral education\"},{\"id\":\"zmyb4wx\",\"label\":\"Religious Studies\"},{\"id\":\"zdcwhyc\",\"label\":\"Religious, moral and philosophical studies\"},{\"id\":\"z7nygk7\",\"label\":\"Science\"},{\"id\":\"z2tsr82\",\"label\":\"Social Studies\"},{\"id\":\"z33d7ty\",\"label\":\"Sociology\"},{\"id\":\"z9mtsbk\",\"label\":\"Spanish\"},{\"id\":\"zrg97ty\",\"label\":\"Technologies\"},{\"id\":\"zr3t4wx\",\"label\":\"The World Around Us\"},{\"id\":\"z4ygxnb\",\"label\":\"Ulster Scots\"},{\"id\":\"zx2vw6f\",\"label\":\"Welsh Baccalaureate\"},{\"id\":\"zy9d7ty\",\"label\":\"Welsh Literature\"},{\"id\":\"zjpfb9q\",\"label\":\"Welsh Second Language\"}]}}","meta":{"responseCode":200,"errorMessage":null,"headers":{"belfrage-cache-status":"MISS","bid":"bruce","brequestid":"32c86d4106364b679a167e313c2f42f4","bsig":"a2906b9098d01a55e519d5e9e06bc80d","cache-control":"public, stale-if-error=90, stale-while-revalidate=30, max-age=5","content-encoding":"gzip","content-length":"995","content-type":"application\/json; charset=utf-8","expires":"Sun, 30 Jan 2022 02:49:17 GMT","req-svc-chain":"BELFRAGE","server":"Belfrage","vary":"Accept-Encoding,X-BBC-Edge-Cache,X-Country,X-IP_Is_UK_Combined,X-BBC-Edge-Scheme","via":"1.1 Belfrage","x-proxy-cache":"MISS"}}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-all-subjects-list-view","subdirectory":"bitesize","language":"en-GB","version":"2.2.1","_mrrVersion":"2.2.1"},'u8307378109654328'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20220130034930/https://m.files.bbci.co.uk/modules/morph-push-proxy-client/1.0.13/push-proxy' }, shim: { 'morph/react': { deps: ['morph/es5-shim', 'morph/es5-sham'] }, 'morph/es5-sham': { deps: ['morph/es5-shim'] } }, map: { 'morph/react-dom': { 'react': 'morph/react' } } }); } function attempt(fn) { fn(); } requirejs(['morph/react', 'morph/react-dom', 'morph/module/morph'], function(React, ReactDOM) { window.React = React; window.ReactDOM = ReactDOM; if (!Morph.toInitsCalled) { Morph.markPerformance('morph-init-core-deps-complete'); Morph.toInitsCalled = true; } Morph.toInit.bundles.forEach(attempt); Morph.toInit.bundles = []; Morph.markPerformance('morph-init-bundles-complete'); Morph.toInit.payloads.forEach(attempt); Morph.toInit.payloads = []; Morph.markPerformance('morph-init-payloads-complete'); Morph.toInit.registers.forEach(attempt); Morph.toInit.registers = []; Morph.markPerformance('morph-init-registers-complete'); }); };</script><script>if (!Morph.manualInit) { Morph.init(); } /* u8307378109654328 */</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/20220130034930/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 03:49:30 Jan 30, 2022 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 08:05:33 Nov 29, 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.536 exclusion.robots: 0.028 exclusion.robots.policy: 0.019 esindex: 0.011 cdx.remote: 11.566 LoadShardBlock: 122.692 (3) PetaboxLoader3.datanode: 96.341 (4) PetaboxLoader3.resolve: 138.521 (2) load_resource: 151.037 -->

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