CINXE.COM
Secondary Games - 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/secondary-games","20211020014527","https://web.archive.org/","web","/_static/", "1634694327"); </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>Secondary Games - BBC Bitesize</title><meta name="description" content="Play the latest Bitesize games aimed at secondary students."><link rel="canonical" href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/bitesize/secondary-games"><meta property="og:title" content="Secondary Games - BBC Bitesize"><meta property="og:description" content="Play the latest Bitesize games aimed at secondary students."><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/20211020014527/https://www.bbc.co.uk/bitesize/secondary-games"> <script> window.orb_fig_blocking = false window.bbcredirection = { geo: false, device: false }; </script> <!-- Orbit: 3.0.0-1708.64afffb4 --> <!-- 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> <link rel="stylesheet" href="https://web.archive.org/web/20211020014527cs_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/css/orb-ltr.min.css"> <script src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/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> window.orbitData = {}; var additionalPageProperties = {}; window.orbitData.userProfileUrl = "https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/userprofile"; window.page = { name: 'bitesize.secondary_games.page' || null, destination: 'BITESIZE' || null, producer: 'BITESIZE' || null, section: 'learn::secondary' || null, site: '' || null, contentId: '' || null, contentType: 'index-section' || null, edition: 'domestic' || null, additionalProperties: additionalPageProperties }; window.page.language = 'en'; window.page.language = 'en'; window.page.modal = false; !function(){var t={3053:function(t,r,e){function n(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function o(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?n(Object(e),!0).forEach((function(r){i(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}function i(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var c=e(1391),a=e(9135);window.bbcpage=c.init(o({},window.page)),window.page=void 0,window.bbcuser=a.init(window,o({},window.user))},1391:function(t){function r(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function e(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?r(Object(o),!0).forEach((function(r){n(t,r,o[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))}))}return t}function n(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}t.exports={init:function(t){var r=e({},t);return document.addEventListener("bbc-page-reset",(function(t){var e;t.detail&&t.detail.page&&(e=t.detail.page,r=Object.assign(r,e)),document.dispatchEvent(new Event("bbc-page-updated"))})),{getName:function(){return Promise.resolve(r.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(r.language)},getDestination:function(){return Promise.resolve(r.destination)},getProducer:function(){return Promise.resolve(r.producer)},getSection:function(){return Promise.resolve(r.section)},getContentType:function(){return Promise.resolve(r.contentType)},getContentId:function(){return Promise.resolve(r.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(e({},r.additionalProperties))},loadCSS:function(t){return new Promise((function(r,e){var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.onload=function(){r()},n.href=t,document.getElementsByTagName("head")[0].appendChild(n)}))},isModal:function(){return Promise.resolve(r.modal)}}}}},9135:function(t){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 e(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function n(t){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?e(Object(n),!0).forEach((function(r){o(t,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))}))}return t}function o(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function i(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function c(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function a(t){var r="function"==typeof Map?new Map:void 0;return(a=function(t){if(null===t||(e=t,-1===Function.toString.call(e).indexOf("[native code]")))return t;var e;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,n)}function n(){return u(t,arguments,l(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)})(t)}function u(t,r,e){return(u=s()?Reflect.construct:function(t,r,e){var n=[null];n.push.apply(n,r);var o=new(Function.bind.apply(t,n));return e&&f(o,e.prototype),o}).apply(null,arguments)}function s(){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 f(t,r){return(f=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&f(t,r)}(o,t);var r,e,n=(r=o,e=s(),function(){var t,n=l(r);if(e){var o=l(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return c(this,t)});function o(){return i(this,o),n.apply(this,arguments)}return o}(a(Error));function h(t){return new Promise((function(r,e){window.require(t,(function(){r.apply(this,arguments)}),(function(t){e(t)}))}))}t.exports={init:function(t,r){var e,o=n({},r),i=null;function c(){if(["X-Country","X-Ip_is_advertise_combined","X-Ip_is_uk_combined"].every((function(t){return!!o[t]})))return Promise.resolve(o);if(!i){var r=t.location.hostname.endsWith(".com")?"com":"co.uk";i=t.fetch("https://web.archive.org/web/20211020014527/https://www.bbc.".concat(r,"/userinfo")).then((function(t){return t.json()}))}return i}function a(t){if(t.status>=200&&t.status<300)return t;var r=new Error(t.statusText);throw r.response=t,r}function u(t){return t.json()}function s(){if(o.ageBand)return Promise.resolve(o);if(!e){if("undefined"==typeof XMLHttpRequest||!("withCredentials"in new XMLHttpRequest))return Promise.resolve(o);e=h(["idcta-v2/idcta-1"]).then((function(r){return r.initiateTokenRefresh().then((function(){return t.fetch(t.orbitData.userProfileUrl,{credentials:"include"}).then(a).then(u).then((function(t){return o=n(n({},o),t)}))}))}))}return e}var f={getHashedId:function(){return h(["idcta-v2/idcta-1"]).then((function(t){return t.getCookieInstance().getHidFromCookie()}))},isSignedIn:function(){return h(["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 p("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 p("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"]):f.isSignedIn().then((function(t){if(t)return s().then((function(t){return o["X-Age-Band"]=t["X-Age-Band"],o["X-Age-Band"]||void 0})).catch((function(){return o["X-Age-Band"]||void 0}))}))}))},allowsPerformanceCookies:function(){return h(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("performance")}))},allowsFunctionalCookies:function(){return h(["orb/cookies"]).then((function(t){return!!t.cookiesEnabled()&&!!t.readPolicy("personalisation")}))},getCookieValue:function(t){return h(["orb/cookies"]).then((function(r){return r.get(t)}))}};return f},BBCUserError:p}},7633:function(t,r,e){e(9170),e(6992),e(1539),e(8674),e(7922),e(4668),e(7727),e(8783);var n=e(857);t.exports=n.Promise},1111:function(t,r,e){e(1539),e(4916),e(4953),e(8992),e(9841),e(4506),e(7852),e(2023),e(4723),e(6373),e(6528),e(3112),e(2481),e(5306),e(8757),e(4765),e(3123),e(3157),e(3650),e(3210),e(5674),e(8702),e(8783),e(5218),e(4475),e(7929),e(915),e(9253),e(2125),e(8830),e(8734),e(9254),e(7268),e(7397),e(86),e(623);var n=e(857);t.exports=n.String},9662:function(t,r,e){var n=e(614),o=e(6330);t.exports=function(t){if(n(t))return t;throw TypeError(o(t)+" is not a function")}},9483:function(t,r,e){var n=e(4411),o=e(6330);t.exports=function(t){if(n(t))return t;throw TypeError(o(t)+" is not a constructor")}},6077:function(t,r,e){var n=e(614);t.exports=function(t){if("object"==typeof t||n(t))return t;throw TypeError("Can't set "+String(t)+" as a prototype")}},1223:function(t,r,e){var n=e(5112),o=e(30),i=e(3070),c=n("unscopables"),a=Array.prototype;null==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},1530:function(t,r,e){"use strict";var n=e(8710).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},5787:function(t){t.exports=function(t,r,e){if(t instanceof r)return t;throw TypeError("Incorrect "+(e?e+" ":"")+"invocation")}},9670:function(t,r,e){var n=e(111);t.exports=function(t){if(n(t))return t;throw TypeError(String(t)+" is not an object")}},1318:function(t,r,e){var n=e(5656),o=e(7466),i=e(1400),c=function(t){return function(r,e,c){var a,u=n(r),s=o(u.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((a=u[f++])!=a)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},7072:function(t,r,e){var n=e(5112)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},4326:function(t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},648:function(t,r,e){var n=e(1694),o=e(614),i=e(4326),c=e(5112)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),c))?e:a?i(r):"Object"==(n=i(r))&&o(r.callee)?"Arguments":n}},9920:function(t,r,e){var n=e(6656),o=e(3887),i=e(1236),c=e(3070);t.exports=function(t,r){for(var e=o(r),a=c.f,u=i.f,s=0;s<e.length;s++){var f=e[s];n(t,f)||a(t,f,u(r,f))}}},4964:function(t,r,e){var n=e(5112)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(t){}}return!1}},8544:function(t,r,e){var n=e(7293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4230:function(t,r,e){var n=e(4488),o=e(1340),i=/"/g;t.exports=function(t,r,e,c){var a=o(n(t)),u="<"+r;return""!==e&&(u+=" "+e+'="'+o(c).replace(i,""")+'"'),u+">"+a+"</"+r+">"}},4994:function(t,r,e){"use strict";var n=e(3383).IteratorPrototype,o=e(30),i=e(9114),c=e(8003),a=e(7497),u=function(){return this};t.exports=function(t,r,e){var s=r+" Iterator";return t.prototype=o(n,{next:i(1,e)}),c(t,s,!1,!0),a[s]=u,t}},8880:function(t,r,e){var n=e(9781),o=e(3070),i=e(9114);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},9114:function(t){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},654:function(t,r,e){"use strict";var n=e(2109),o=e(1913),i=e(6530),c=e(614),a=e(4994),u=e(9518),s=e(7674),f=e(8003),l=e(8880),p=e(1320),h=e(5112),d=e(7497),v=e(3383),y=i.PROPER,g=i.CONFIGURABLE,b=v.IteratorPrototype,m=v.BUGGY_SAFARI_ITERATORS,x=h("iterator"),w="keys",O="values",E="entries",S=function(){return this};t.exports=function(t,r,e,i,h,v,j){a(e,r,i);var P,T,A,_=function(t){if(t===h&&C)return C;if(!m&&t in L)return L[t];switch(t){case w:case O:case E:return function(){return new e(this,t)}}return function(){return new e(this)}},I=r+" Iterator",R=!1,L=t.prototype,k=L[x]||L["@@iterator"]||h&&L[h],C=!m&&k||_(h),B="Array"==r&&L.entries||k;if(B&&(P=u(B.call(new t)))!==Object.prototype&&P.next&&(o||u(P)===b||(s?s(P,b):c(P[x])||p(P,x,S)),f(P,I,!0,!0),o&&(d[I]=S)),y&&h==O&&k&&k.name!==O&&(!o&&g?l(L,"name",O):(R=!0,C=function(){return k.call(this)})),h)if(T={values:_(O),keys:v?C:_(w),entries:_(E)},j)for(A in T)(m||R||!(A in L))&&p(L,A,T[A]);else n({target:r,proto:!0,forced:m||R},T);return o&&!j||L[x]===C||p(L,x,C,{name:h}),d[r]=C,T}},9781:function(t,r,e){var n=e(7293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,r,e){var n=e(7854),o=e(111),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(t,r,e){var n=e(317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;t.exports=o===Object.prototype?void 0:o},7871:function(t){t.exports="object"==typeof window},1528:function(t,r,e){var n=e(8113),o=e(7854);t.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},6833:function(t,r,e){var n=e(8113);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5268:function(t,r,e){var n=e(4326),o=e(7854);t.exports="process"==n(o.process)},1036:function(t,r,e){var n=e(8113);t.exports=/web0s(?!.*chrome)/i.test(n)},8113:function(t,r,e){var n=e(5005);t.exports=n("navigator","userAgent")||""},7392:function(t,r,e){var n,o,i=e(7854),c=e(8113),a=i.process,u=i.Deno,s=a&&a.versions||u&&u.version,f=s&&s.v8;f?o=(n=f.split("."))[0]<4?1:n[0]+n[1]:c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,r,e){var n=e(7854),o=e(1236).f,i=e(8880),c=e(1320),a=e(3505),u=e(9920),s=e(4705);t.exports=function(t,r){var e,f,l,p,h,d=t.target,v=t.global,y=t.stat;if(e=v?n:y?n[d]||a(d,{}):(n[d]||{}).prototype)for(f in r){if(p=r[f],l=t.noTargetGet?(h=o(e,f))&&h.value:e[f],!s(v?f:d+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,f,p,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},7007:function(t,r,e){"use strict";e(4916);var n=e(1320),o=e(2261),i=e(7293),c=e(5112),a=e(8880),u=c("species"),s=RegExp.prototype;t.exports=function(t,r,e,f){var l=c(t),p=!i((function(){var r={};return r[l]=function(){return 7},7!=""[t](r)})),h=p&&!i((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[l]=/./[l]),e.exec=function(){return r=!0,null},e[l](""),!r}));if(!p||!h||e){var d=/./[l],v=r(l,""[t],(function(t,r,e,n,i){var c=r.exec;return c===o||c===s.exec?p&&!i?{done:!0,value:d.call(r,e,n)}:{done:!0,value:t.call(e,r,n)}:{done:!1}}));n(String.prototype,t,v[0]),n(s,l,v[1])}f&&a(s[l],"sham",!0)}},9974:function(t,r,e){var n=e(9662);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},6530:function(t,r,e){var n=e(9781),o=e(6656),i=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),u=a&&"something"===function(){}.name,s=a&&(!n||n&&c(i,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:s}},5005:function(t,r,e){var n=e(7854),o=e(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t]):n[t]&&n[t][r]}},1246:function(t,r,e){var n=e(648),o=e(8173),i=e(7497),c=e(5112)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[n(t)]}},8554:function(t,r,e){var n=e(9662),o=e(9670),i=e(1246);t.exports=function(t,r){var e=arguments.length<2?i(t):r;if(n(e))return o(e.call(t));throw TypeError(String(t)+" is not iterable")}},8173:function(t,r,e){var n=e(9662);t.exports=function(t,r){var e=t[r];return null==e?void 0:n(e)}},647:function(t,r,e){var n=e(7908),o=Math.floor,i="".replace,c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,r,e,u,s,f){var l=e+t.length,p=u.length,h=a;return void 0!==s&&(s=n(s),h=c),i.call(f,h,(function(n,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,e);case"'":return r.slice(l);case"<":c=s[i.slice(1,-1)];break;default:var a=+i;if(0===a)return n;if(a>p){var f=o(a/10);return 0===f?n:f<=p?void 0===u[f-1]?i.charAt(1):u[f-1]+i.charAt(1):n}c=u[a-1]}return void 0===c?"":c}))}},7854:function(t,r,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},6656:function(t,r,e){var n=e(7908),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,r){return o.call(n(t),r)}},3501:function(t){t.exports={}},842:function(t,r,e){var n=e(7854);t.exports=function(t,r){var e=n.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,r))}},490:function(t,r,e){var n=e(5005);t.exports=n("document","documentElement")},4664:function(t,r,e){var n=e(9781),o=e(7293),i=e(317);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,r,e){var n=e(7293),o=e(4326),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},2788:function(t,r,e){var n=e(614),o=e(5465),i=Function.toString;n(o.inspectSource)||(o.inspectSource=function(t){return i.call(t)}),t.exports=o.inspectSource},9909:function(t,r,e){var n,o,i,c=e(8536),a=e(7854),u=e(111),s=e(8880),f=e(6656),l=e(5465),p=e(6200),h=e(3501),d="Object already initialized",v=a.WeakMap;if(c||l.state){var y=l.state||(l.state=new v),g=y.get,b=y.has,m=y.set;n=function(t,r){if(b.call(y,t))throw new TypeError(d);return r.facade=t,m.call(y,t,r),r},o=function(t){return g.call(y,t)||{}},i=function(t){return b.call(y,t)}}else{var x=p("state");h[x]=!0,n=function(t,r){if(f(t,x))throw new TypeError(d);return r.facade=t,s(t,x,r),r},o=function(t){return f(t,x)?t[x]:{}},i=function(t){return f(t,x)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},7659:function(t,r,e){var n=e(5112),o=e(7497),i=n("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},614:function(t){t.exports=function(t){return"function"==typeof t}},4411:function(t,r,e){var n=e(7293),o=e(614),i=e(648),c=e(5005),a=e(2788),u=[],s=c("Reflect","construct"),f=/^\s*(?:class|function)\b/,l=f.exec,p=!f.exec((function(){})),h=function(t){if(!o(t))return!1;try{return s(Object,u,t),!0}catch(t){return!1}};t.exports=!s||n((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?function(t){if(!o(t))return!1;switch(i(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return p||!!l.call(f,a(t))}:h},4705:function(t,r,e){var n=e(7293),o=e(614),i=/#|\.prototype\./,c=function(t,r){var e=u[a(t)];return e==f||e!=s&&(o(r)?n(r):!!r)},a=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=c.data={},s=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},111:function(t,r,e){var n=e(614);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},1913:function(t){t.exports=!1},7850:function(t,r,e){var n=e(111),o=e(4326),i=e(5112)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"==o(t))}},2190:function(t,r,e){var n=e(614),o=e(5005),i=e(3307);t.exports=i?function(t){return"symbol"==typeof t}:function(t){var r=o("Symbol");return n(r)&&Object(t)instanceof r}},408:function(t,r,e){var n=e(9670),o=e(7659),i=e(7466),c=e(9974),a=e(8554),u=e(1246),s=e(9212),f=function(t,r){this.stopped=t,this.result=r};t.exports=function(t,r,e){var l,p,h,d,v,y,g,b=e&&e.that,m=!(!e||!e.AS_ENTRIES),x=!(!e||!e.IS_ITERATOR),w=!(!e||!e.INTERRUPTED),O=c(r,b,1+m+w),E=function(t){return l&&s(l,"normal",t),new f(!0,t)},S=function(t){return m?(n(t),w?O(t[0],t[1],E):O(t[0],t[1])):w?O(t,E):O(t)};if(x)l=t;else{if(!(p=u(t)))throw TypeError(String(t)+" is not iterable");if(o(p)){for(h=0,d=i(t.length);d>h;h++)if((v=S(t[h]))&&v instanceof f)return v;return new f(!1)}l=a(t,p)}for(y=l.next;!(g=y.call(l)).done;){try{v=S(g.value)}catch(t){s(l,"throw",t)}if("object"==typeof v&&v&&v instanceof f)return v}return new f(!1)}},9212:function(t,r,e){var n=e(9670),o=e(8173);t.exports=function(t,r,e){var i,c;n(t);try{if(!(i=o(t,"return"))){if("throw"===r)throw e;return e}i=i.call(t)}catch(t){c=!0,i=t}if("throw"===r)throw e;if(c)throw i;return n(i),e}},3383:function(t,r,e){"use strict";var n,o,i,c=e(7293),a=e(614),u=e(30),s=e(9518),f=e(1320),l=e(5112),p=e(1913),h=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(n=o):d=!0),null==n||c((function(){var t={};return n[h].call(t)!==t}))?n={}:p&&(n=u(n)),a(n[h])||f(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},7497:function(t){t.exports={}},5948:function(t,r,e){var n,o,i,c,a,u,s,f,l=e(7854),p=e(1236).f,h=e(261).set,d=e(6833),v=e(1528),y=e(1036),g=e(5268),b=l.MutationObserver||l.WebKitMutationObserver,m=l.document,x=l.process,w=l.Promise,O=p(l,"queueMicrotask"),E=O&&O.value;E||(n=function(){var t,r;for(g&&(t=x.domain)&&t.exit();o;){r=o.fn,o=o.next;try{r()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},d||g||y||!b||!m?!v&&w&&w.resolve?((s=w.resolve(void 0)).constructor=w,f=s.then,c=function(){f.call(s,n)}):c=g?function(){x.nextTick(n)}:function(){h.call(l,n)}:(a=!0,u=m.createTextNode(""),new b(n).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=E||function(t){var r={fn:t,next:void 0};i&&(i.next=r),o||(o=r,c()),i=r}},3366:function(t,r,e){var n=e(7854);t.exports=n.Promise},133:function(t,r,e){var n=e(7392),o=e(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:function(t,r,e){var n=e(7854),o=e(614),i=e(2788),c=n.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},8523:function(t,r,e){"use strict";var n=e(9662),o=function(t){var r,e;this.promise=new t((function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n})),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new o(t)}},3929:function(t,r,e){var n=e(7850);t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},30:function(t,r,e){var n,o=e(9670),i=e(6048),c=e(748),a=e(3501),u=e(490),s=e(317),f=e(6200),l=f("IE_PROTO"),p=function(){},h=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r},v=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r;v="undefined"!=typeof document?document.domain&&n?d(n):((r=s("iframe")).style.display="none",u.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):d(n);for(var e=c.length;e--;)delete v.prototype[c[e]];return v()};a[l]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=v(),void 0===r?e:i(e,r)}},6048:function(t,r,e){var n=e(9781),o=e(3070),i=e(9670),c=e(1956);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=c(r),a=n.length,u=0;a>u;)o.f(t,e=n[u++],r[e]);return t}},3070:function(t,r,e){var n=e(9781),o=e(4664),i=e(9670),c=e(4948),a=Object.defineProperty;r.f=n?a:function(t,r,e){if(i(t),r=c(r),i(e),o)try{return a(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},1236:function(t,r,e){var n=e(9781),o=e(5296),i=e(9114),c=e(5656),a=e(4948),u=e(6656),s=e(4664),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r){if(t=c(t),r=a(r),s)try{return f(t,r)}catch(t){}if(u(t,r))return i(!o.f.call(t,r),t[r])}},8006:function(t,r,e){var n=e(6324),o=e(748).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},5181:function(t,r){r.f=Object.getOwnPropertySymbols},9518:function(t,r,e){var n=e(6656),o=e(614),i=e(7908),c=e(6200),a=e(8544),u=c("IE_PROTO"),s=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){var r=i(t);if(n(r,u))return r[u];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof Object?s:null}},6324:function(t,r,e){var n=e(6656),o=e(5656),i=e(1318).indexOf,c=e(3501);t.exports=function(t,r){var e,a=o(t),u=0,s=[];for(e in a)!n(c,e)&&n(a,e)&&s.push(e);for(;r.length>u;)n(a,e=r[u++])&&(~i(s,e)||s.push(e));return s}},1956:function(t,r,e){var n=e(6324),o=e(748);t.exports=Object.keys||function(t){return n(t,o)}},5296:function(t,r){"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},7674:function(t,r,e){var n=e(9670),o=e(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return n(e),o(i),r?t.call(e,i):e.__proto__=i,e}}():void 0)},288:function(t,r,e){"use strict";var n=e(1694),o=e(648);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},2140:function(t,r,e){var n=e(614),o=e(111);t.exports=function(t,r){var e,i;if("string"===r&&n(e=t.toString)&&!o(i=e.call(t)))return i;if(n(e=t.valueOf)&&!o(i=e.call(t)))return i;if("string"!==r&&n(e=t.toString)&&!o(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3887:function(t,r,e){var n=e(5005),o=e(8006),i=e(5181),c=e(9670);t.exports=n("Reflect","ownKeys")||function(t){var r=o.f(c(t)),e=i.f;return e?r.concat(e(t)):r}},857:function(t,r,e){var n=e(7854);t.exports=n},2534:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},9478:function(t,r,e){var n=e(9670),o=e(111),i=e(8523);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},2248:function(t,r,e){var n=e(1320);t.exports=function(t,r,e){for(var o in r)n(t,o,r[o],e);return t}},1320:function(t,r,e){var n=e(7854),o=e(614),i=e(6656),c=e(8880),a=e(3505),u=e(2788),s=e(9909),f=e(6530).CONFIGURABLE,l=s.get,p=s.enforce,h=String(String).split("String");(t.exports=function(t,r,e,u){var s,l=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:r;o(e)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(e,"name")||f&&e.name!==y)&&c(e,"name",y),(s=p(e)).source||(s.source=h.join("string"==typeof y?y:""))),t!==n?(l?!v&&t[r]&&(d=!0):delete t[r],d?t[r]=e:c(t,r,e)):d?t[r]=e:a(r,e)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||u(this)}))},7651:function(t,r,e){var n=e(9670),o=e(614),i=e(4326),c=e(2261);t.exports=function(t,r){var e=t.exec;if(o(e)){var a=e.call(t,r);return null!==a&&n(a),a}if("RegExp"===i(t))return c.call(t,r);throw TypeError("RegExp#exec called on incompatible receiver")}},2261:function(t,r,e){"use strict";var n,o,i=e(1340),c=e(7066),a=e(2999),u=e(2309),s=e(30),f=e(9909).get,l=e(9441),p=e(7168),h=RegExp.prototype.exec,d=u("native-string-replace",String.prototype.replace),v=h,y=(n=/a/,o=/b*/g,h.call(n,"a"),h.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),g=a.UNSUPPORTED_Y||a.BROKEN_CARET,b=void 0!==/()??/.exec("")[1];(y||b||g||l||p)&&(v=function(t){var r,e,n,o,a,u,l,p=this,m=f(p),x=i(t),w=m.raw;if(w)return w.lastIndex=p.lastIndex,r=v.call(w,x),p.lastIndex=w.lastIndex,r;var O=m.groups,E=g&&p.sticky,S=c.call(p),j=p.source,P=0,T=x;if(E&&(-1===(S=S.replace("y","")).indexOf("g")&&(S+="g"),T=x.slice(p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==x.charAt(p.lastIndex-1))&&(j="(?: "+j+")",T=" "+T,P++),e=new RegExp("^(?:"+j+")",S)),b&&(e=new RegExp("^"+j+"$(?!\\s)",S)),y&&(n=p.lastIndex),o=h.call(E?e:p,T),E?o?(o.input=o.input.slice(P),o[0]=o[0].slice(P),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:y&&o&&(p.lastIndex=p.global?o.index+o[0].length:n),b&&o&&o.length>1&&d.call(o[0],e,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&O)for(o.groups=u=s(null),a=0;a<O.length;a++)u[(l=O[a])[0]]=o[l[1]];return o}),t.exports=v},7066:function(t,r,e){"use strict";var n=e(9670);t.exports=function(){var t=n(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r}},2999:function(t,r,e){var n=e(7293),o=e(7854).RegExp;r.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},9441:function(t,r,e){var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},7168:function(t,r,e){var n=e(7293),o=e(7854).RegExp;t.exports=n((function(){var t=o("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},4488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},6029:function(t){t.exports=Object.is||function(t,r){return t===r?0!==t||1/t==1/r:t!=t&&r!=r}},3505:function(t,r,e){var n=e(7854);t.exports=function(t,r){try{Object.defineProperty(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},6340:function(t,r,e){"use strict";var n=e(5005),o=e(3070),i=e(5112),c=e(9781),a=i("species");t.exports=function(t){var r=n(t),e=o.f;c&&r&&!r[a]&&e(r,a,{configurable:!0,get:function(){return this}})}},8003:function(t,r,e){var n=e(3070).f,o=e(6656),i=e(5112)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},6200:function(t,r,e){var n=e(2309),o=e(9711),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,r,e){var n=e(7854),o=e(3505),i="__core-js_shared__",c=n[i]||o(i,{});t.exports=c},2309:function(t,r,e){var n=e(1913),o=e(5465);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.18.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(t,r,e){var n=e(9670),o=e(9483),i=e(5112)("species");t.exports=function(t,r){var e,c=n(t).constructor;return void 0===c||null==(e=n(c)[i])?r:o(e)}},3429:function(t,r,e){var n=e(7293);t.exports=function(t){return n((function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3}))}},8710:function(t,r,e){var n=e(9958),o=e(1340),i=e(4488),c=function(t){return function(r,e){var c,a,u=o(i(r)),s=n(e),f=u.length;return s<0||s>=f?t?"":void 0:(c=u.charCodeAt(s))<55296||c>56319||s+1===f||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):c:t?u.slice(s,s+2):a-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},4986:function(t,r,e){var n=e(8113);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},6650:function(t,r,e){var n=e(7466),o=e(1340),i=e(8415),c=e(4488),a=Math.ceil,u=function(t){return function(r,e,u){var s,f,l=o(c(r)),p=l.length,h=void 0===u?" ":o(u),d=n(e);return d<=p||""==h?l:(s=d-p,(f=i.call(h,a(s/h.length))).length>s&&(f=f.slice(0,s)),t?l+f:f+l)}};t.exports={start:u(!1),end:u(!0)}},8415:function(t,r,e){"use strict";var n=e(9958),o=e(1340),i=e(4488);t.exports=function(t){var r=o(i(this)),e="",c=n(t);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(r+=r))1&c&&(e+=r);return e}},6091:function(t,r,e){var n=e(6530).PROPER,o=e(7293),i=e(1361);t.exports=function(t){return o((function(){return!!i[t]()||" "!==" "[t]()||n&&i[t].name!==t}))}},3111:function(t,r,e){var n=e(4488),o=e(1340),i="["+e(1361)+"]",c=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),u=function(t){return function(r){var e=o(n(r));return 1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(a,"")),e}};t.exports={start:u(1),end:u(2),trim:u(3)}},261:function(t,r,e){var n,o,i,c,a=e(7854),u=e(614),s=e(7293),f=e(9974),l=e(490),p=e(317),h=e(6833),d=e(5268),v=a.setImmediate,y=a.clearImmediate,g=a.process,b=a.MessageChannel,m=a.Dispatch,x=0,w={},O="onreadystatechange";try{n=a.location}catch(t){}var E=function(t){if(w.hasOwnProperty(t)){var r=w[t];delete w[t],r()}},S=function(t){return function(){E(t)}},j=function(t){E(t.data)},P=function(t){a.postMessage(String(t),n.protocol+"//"+n.host)};v&&y||(v=function(t){for(var r=[],e=arguments.length,n=1;e>n;)r.push(arguments[n++]);return w[++x]=function(){(u(t)?t:Function(t)).apply(void 0,r)},o(x),x},y=function(t){delete w[t]},d?o=function(t){g.nextTick(S(t))}:m&&m.now?o=function(t){m.now(S(t))}:b&&!h?(c=(i=new b).port2,i.port1.onmessage=j,o=f(c.postMessage,c,1)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!s(P)?(o=P,a.addEventListener("message",j,!1)):o=O in p("script")?function(t){l.appendChild(p("script")).onreadystatechange=function(){l.removeChild(this),E(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:v,clear:y}},1400:function(t,r,e){var n=e(9958),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5656:function(t,r,e){var n=e(8361),o=e(4488);t.exports=function(t){return n(o(t))}},9958:function(t){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},7466:function(t,r,e){var n=e(9958),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},7908:function(t,r,e){var n=e(4488);t.exports=function(t){return Object(n(t))}},7593:function(t,r,e){var n=e(111),o=e(2190),i=e(8173),c=e(2140),a=e(5112)("toPrimitive");t.exports=function(t,r){if(!n(t)||o(t))return t;var e,u=i(t,a);if(u){if(void 0===r&&(r="default"),e=u.call(t,r),!n(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},4948:function(t,r,e){var n=e(7593),o=e(2190);t.exports=function(t){var r=n(t,"string");return o(r)?r:String(r)}},1694:function(t,r,e){var n={};n[e(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},1340:function(t,r,e){var n=e(648);t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},6330:function(t){t.exports=function(t){try{return String(t)}catch(t){return"Object"}}},9711:function(t){var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},3307:function(t,r,e){var n=e(133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,r,e){var n=e(7854),o=e(2309),i=e(6656),c=e(9711),a=e(133),u=e(3307),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||c;t.exports=function(t){return i(s,t)&&(a||"string"==typeof s[t])||(a&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},1361:function(t){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},9170:function(t,r,e){"use strict";var n=e(2109),o=e(9518),i=e(7674),c=e(30),a=e(8880),u=e(9114),s=e(408),f=e(1340),l=function(t,r){var e=this;if(!(e instanceof l))return new l(t,r);i&&(e=i(new Error(void 0),o(e))),void 0!==r&&a(e,"message",f(r));var n=[];return s(t,n.push,{that:n}),a(e,"errors",n),e};l.prototype=c(Error.prototype,{constructor:u(5,l),message:u(5,""),name:u(5,"AggregateError")}),n({global:!0},{AggregateError:l})},6992:function(t,r,e){"use strict";var n=e(5656),o=e(1223),i=e(7497),c=e(9909),a=e(654),u="Array Iterator",s=c.set,f=c.getterFor(u);t.exports=a(Array,"Array",(function(t,r){s(this,{type:u,target:n(t),index:0,kind:r})}),(function(){var t=f(this),r=t.target,e=t.kind,n=t.index++;return!r||n>=r.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:n,done:!1}:"values"==e?{value:r[n],done:!1}:{value:[n,r[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1539:function(t,r,e){var n=e(1694),o=e(1320),i=e(288);n||o(Object.prototype,"toString",i,{unsafe:!0})},7922:function(t,r,e){"use strict";var n=e(2109),o=e(9662),i=e(8523),c=e(2534),a=e(408);n({target:"Promise",stat:!0},{allSettled:function(t){var r=this,e=i.f(r),n=e.resolve,u=e.reject,s=c((function(){var e=o(r.resolve),i=[],c=0,u=1;a(t,(function(t){var o=c++,a=!1;i.push(void 0),u++,e.call(r,t).then((function(t){a||(a=!0,i[o]={status:"fulfilled",value:t},--u||n(i))}),(function(t){a||(a=!0,i[o]={status:"rejected",reason:t},--u||n(i))}))})),--u||n(i)}));return s.error&&u(s.value),e.promise}})},4668:function(t,r,e){"use strict";var n=e(2109),o=e(9662),i=e(5005),c=e(8523),a=e(2534),u=e(408),s="No one promise resolved";n({target:"Promise",stat:!0},{any:function(t){var r=this,e=c.f(r),n=e.resolve,f=e.reject,l=a((function(){var e=o(r.resolve),c=[],a=0,l=1,p=!1;u(t,(function(t){var o=a++,u=!1;c.push(void 0),l++,e.call(r,t).then((function(t){u||p||(p=!0,n(t))}),(function(t){u||p||(u=!0,c[o]=t,--l||f(new(i("AggregateError"))(c,s)))}))})),--l||f(new(i("AggregateError"))(c,s))}));return l.error&&f(l.value),e.promise}})},7727:function(t,r,e){"use strict";var n=e(2109),o=e(1913),i=e(3366),c=e(7293),a=e(5005),u=e(614),s=e(6707),f=e(9478),l=e(1320);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var r=s(this,a("Promise")),e=u(t);return this.then(e?function(e){return f(r,t()).then((function(){return e}))}:t,e?function(e){return f(r,t()).then((function(){throw e}))}:t)}}),!o&&u(i)){var p=a("Promise").prototype.finally;i.prototype.finally!==p&&l(i.prototype,"finally",p,{unsafe:!0})}},8674:function(t,r,e){"use strict";var n,o,i,c,a=e(2109),u=e(1913),s=e(7854),f=e(5005),l=e(3366),p=e(1320),h=e(2248),d=e(7674),v=e(8003),y=e(6340),g=e(9662),b=e(614),m=e(111),x=e(5787),w=e(2788),O=e(408),E=e(7072),S=e(6707),j=e(261).set,P=e(5948),T=e(9478),A=e(842),_=e(8523),I=e(2534),R=e(9909),L=e(4705),k=e(5112),C=e(7871),B=e(5268),D=e(7392),F=k("species"),M="Promise",U=R.get,N=R.set,G=R.getterFor(M),X=l&&l.prototype,$=l,H=X,q=s.TypeError,W=s.document,V=s.process,z=_.f,Y=z,K=!!(W&&W.createEvent&&s.dispatchEvent),J=b(s.PromiseRejectionEvent),Q="unhandledrejection",Z=!1,tt=L(M,(function(){var t=w($),r=t!==String($);if(!r&&66===D)return!0;if(u&&!H.finally)return!0;if(D>=51&&/native code/.test(t))return!1;var e=new $((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[F]=n,!(Z=e.then((function(){}))instanceof n)||!r&&C&&!J})),rt=tt||!E((function(t){$.all(t).catch((function(){}))})),et=function(t){var r;return!(!m(t)||!b(r=t.then))&&r},nt=function(t,r){if(!t.notified){t.notified=!0;var e=t.reactions;P((function(){for(var n=t.value,o=1==t.state,i=0;e.length>i;){var c,a,u,s=e[i++],f=o?s.ok:s.fail,l=s.resolve,p=s.reject,h=s.domain;try{f?(o||(2===t.rejection&&at(t),t.rejection=1),!0===f?c=n:(h&&h.enter(),c=f(n),h&&(h.exit(),u=!0)),c===s.promise?p(q("Promise-chain cycle")):(a=et(c))?a.call(c,l,p):l(c)):p(n)}catch(t){h&&!u&&h.exit(),p(t)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&it(t)}))}},ot=function(t,r,e){var n,o;K?((n=W.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:r,reason:e},!J&&(o=s["on"+t])?o(n):t===Q&&A("Unhandled promise rejection",e)},it=function(t){j.call(s,(function(){var r,e=t.facade,n=t.value;if(ct(t)&&(r=I((function(){B?V.emit("unhandledRejection",n,e):ot(Q,e,n)})),t.rejection=B||ct(t)?2:1,r.error))throw r.value}))},ct=function(t){return 1!==t.rejection&&!t.parent},at=function(t){j.call(s,(function(){var r=t.facade;B?V.emit("rejectionHandled",r):ot("rejectionhandled",r,t.value)}))},ut=function(t,r,e){return function(n){t(r,n,e)}},st=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,nt(t,!0))},ft=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw q("Promise can't be resolved itself");var n=et(r);n?P((function(){var e={done:!1};try{n.call(r,ut(ft,e,t),ut(st,e,t))}catch(r){st(e,r,t)}})):(t.value=r,t.state=1,nt(t,!1))}catch(r){st({done:!1},r,t)}}};if(tt&&(H=($=function(t){x(this,$,M),g(t),n.call(this);var r=U(this);try{t(ut(ft,r),ut(st,r))}catch(t){st(r,t)}}).prototype,(n=function(t){N(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(H,{then:function(t,r){var e=G(this),n=z(S(this,$));return n.ok=!b(t)||t,n.fail=b(r)&&r,n.domain=B?V.domain:void 0,e.parent=!0,e.reactions.push(n),0!=e.state&&nt(e,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new n,r=U(t);this.promise=t,this.resolve=ut(ft,r),this.reject=ut(st,r)},_.f=z=function(t){return t===$||t===i?new o(t):Y(t)},!u&&b(l)&&X!==Object.prototype)){c=X.then,Z||(p(X,"then",(function(t,r){var e=this;return new $((function(t,r){c.call(e,t,r)})).then(t,r)}),{unsafe:!0}),p(X,"catch",H.catch,{unsafe:!0}));try{delete X.constructor}catch(t){}d&&d(X,H)}a({global:!0,wrap:!0,forced:tt},{Promise:$}),v($,M,!1,!0),y(M),i=f(M),a({target:M,stat:!0,forced:tt},{reject:function(t){var r=z(this);return r.reject.call(void 0,t),r.promise}}),a({target:M,stat:!0,forced:u||tt},{resolve:function(t){return T(u&&this===i?$:this,t)}}),a({target:M,stat:!0,forced:rt},{all:function(t){var r=this,e=z(r),n=e.resolve,o=e.reject,i=I((function(){var e=g(r.resolve),i=[],c=0,a=1;O(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,e.call(r,t).then((function(t){s||(s=!0,i[u]=t,--a||n(i))}),o)})),--a||n(i)}));return i.error&&o(i.value),e.promise},race:function(t){var r=this,e=z(r),n=e.reject,o=I((function(){var o=g(r.resolve);O(t,(function(t){o.call(r,t).then(e.resolve,n)}))}));return o.error&&n(o.value),e.promise}})},4916:function(t,r,e){"use strict";var n=e(2109),o=e(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},5218:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},4506:function(t,r,e){"use strict";var n=e(2109),o=e(4488),i=e(9958),c=e(7466),a=e(1340);n({target:"String",proto:!0,forced:e(7293)((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(t){var r=a(o(this)),e=c(r.length),n=i(t),u=n>=0?n:e+n;return u<0||u>=e?void 0:r.charAt(u)}})},4475:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("big")},{big:function(){return o(this,"big","","")}})},7929:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("blink")},{blink:function(){return o(this,"blink","","")}})},915:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("bold")},{bold:function(){return o(this,"b","","")}})},9841:function(t,r,e){"use strict";var n=e(2109),o=e(8710).codeAt;n({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},7852:function(t,r,e){"use strict";var n,o=e(2109),i=e(1236).f,c=e(7466),a=e(1340),u=e(3929),s=e(4488),f=e(4964),l=e(1913),p="".endsWith,h=Math.min,d=f("endsWith");o({target:"String",proto:!0,forced:!!(l||d||(n=i(String.prototype,"endsWith"),!n||n.writable))&&!d},{endsWith:function(t){var r=a(s(this));u(t);var e=arguments.length>1?arguments[1]:void 0,n=c(r.length),o=void 0===e?n:h(c(e),n),i=a(t);return p?p.call(r,i,o):r.slice(o-i.length,o)===i}})},9253:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fixed")},{fixed:function(){return o(this,"tt","","")}})},2125:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},8830:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},4953:function(t,r,e){var n=e(2109),o=e(1400),i=String.fromCharCode,c=String.fromCodePoint;n({target:"String",stat:!0,forced:!!c&&1!=c.length},{fromCodePoint:function(t){for(var r,e=[],n=arguments.length,c=0;n>c;){if(r=+arguments[c++],o(r,1114111)!==r)throw RangeError(r+" is not a valid code point");e.push(r<65536?i(r):i(55296+((r-=65536)>>10),r%1024+56320))}return e.join("")}})},2023:function(t,r,e){"use strict";var n=e(2109),o=e(3929),i=e(4488),c=e(1340);n({target:"String",proto:!0,forced:!e(4964)("includes")},{includes:function(t){return!!~c(i(this)).indexOf(c(o(t)),arguments.length>1?arguments[1]:void 0)}})},8734:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("italics")},{italics:function(){return o(this,"i","","")}})},8783:function(t,r,e){"use strict";var n=e(8710).charAt,o=e(1340),i=e(9909),c=e(654),a="String Iterator",u=i.set,s=i.getterFor(a);c(String,"String",(function(t){u(this,{type:a,string:o(t),index:0})}),(function(){var t,r=s(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},9254:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("link")},{link:function(t){return o(this,"a","href",t)}})},6373:function(t,r,e){"use strict";var n=e(2109),o=e(4994),i=e(4488),c=e(7466),a=e(1340),u=e(9670),s=e(4326),f=e(7850),l=e(7066),p=e(8173),h=e(1320),d=e(7293),v=e(5112),y=e(6707),g=e(1530),b=e(7651),m=e(9909),x=e(1913),w=v("matchAll"),O="RegExp String",E="RegExp String Iterator",S=m.set,j=m.getterFor(E),P=RegExp.prototype,T="".matchAll,A=!!T&&!d((function(){"a".matchAll(/./)})),_=o((function(t,r,e,n){S(this,{type:E,regexp:t,string:r,global:e,unicode:n,done:!1})}),O,(function(){var t=j(this);if(t.done)return{value:void 0,done:!0};var r=t.regexp,e=t.string,n=b(r,e);return null===n?{value:void 0,done:t.done=!0}:t.global?(""===a(n[0])&&(r.lastIndex=g(e,c(r.lastIndex),t.unicode)),{value:n,done:!1}):(t.done=!0,{value:n,done:!1})})),I=function(t){var r,e,n,o,i,s,f=u(this),p=a(t);return r=y(f,RegExp),void 0===(e=f.flags)&&f instanceof RegExp&&!("flags"in P)&&(e=l.call(f)),n=void 0===e?"":a(e),o=new r(r===RegExp?f.source:f,n),i=!!~n.indexOf("g"),s=!!~n.indexOf("u"),o.lastIndex=c(f.lastIndex),new _(o,p,i,s)};n({target:"String",proto:!0,forced:A},{matchAll:function(t){var r,e,n,o=i(this);if(null!=t){if(f(t)&&!~a(i("flags"in P?t.flags:l.call(t))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(A)return T.apply(o,arguments);if(void 0===(e=p(t,w))&&x&&"RegExp"==s(t)&&(e=I),e)return e.call(t,o)}else if(A)return T.apply(o,arguments);return r=a(o),n=new RegExp(t,"g"),x?I.call(n,r):n[w](r)}}),x||w in P||h(P,w,I)},4723:function(t,r,e){"use strict";var n=e(7007),o=e(9670),i=e(7466),c=e(1340),a=e(4488),u=e(8173),s=e(1530),f=e(7651);n("match",(function(t,r,e){return[function(r){var e=a(this),n=null==r?void 0:u(r,t);return n?n.call(r,e):new RegExp(r)[t](c(e))},function(t){var n=o(this),a=c(t),u=e(r,n,a);if(u.done)return u.value;if(!n.global)return f(n,a);var l=n.unicode;n.lastIndex=0;for(var p,h=[],d=0;null!==(p=f(n,a));){var v=c(p[0]);h[d]=v,""===v&&(n.lastIndex=s(a,i(n.lastIndex),l)),d++}return 0===d?null:h}]}))},6528:function(t,r,e){"use strict";var n=e(2109),o=e(6650).end;n({target:"String",proto:!0,forced:e(4986)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},3112:function(t,r,e){"use strict";var n=e(2109),o=e(6650).start;n({target:"String",proto:!0,forced:e(4986)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},8992:function(t,r,e){var n=e(2109),o=e(5656),i=e(7908),c=e(7466),a=e(1340),u=Array.prototype,s=u.push,f=u.join;n({target:"String",stat:!0},{raw:function(t){for(var r=o(i(t).raw),e=c(r.length),n=arguments.length,u=[],l=0;e>l;)s.call(u,a(r[l++])),l<n&&s.call(u,a(arguments[l]));return f.call(u,"")}})},2481:function(t,r,e){e(2109)({target:"String",proto:!0},{repeat:e(8415)})},8757:function(t,r,e){"use strict";var n=e(2109),o=e(4488),i=e(614),c=e(7850),a=e(1340),u=e(8173),s=e(7066),f=e(647),l=e(5112),p=e(1913),h=l("replace"),d=RegExp.prototype,v=Math.max,y=function(t,r,e){return e>t.length?-1:""===r?e:t.indexOf(r,e)};n({target:"String",proto:!0},{replaceAll:function(t,r){var e,n,l,g,b,m,x,w,O=o(this),E=0,S=0,j="";if(null!=t){if((e=c(t))&&!~a(o("flags"in d?t.flags:s.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(n=u(t,h))return n.call(t,O,r);if(p&&e)return a(O).replace(t,r)}for(l=a(O),g=a(t),(b=i(r))||(r=a(r)),m=g.length,x=v(1,m),E=y(l,g,0);-1!==E;)w=b?a(r(g,E,l)):f(g,l,E,[],void 0,r),j+=l.slice(S,E)+w,S=E+m,E=y(l,g,E+x);return S<l.length&&(j+=l.slice(S)),j}})},5306:function(t,r,e){"use strict";var n=e(7007),o=e(7293),i=e(9670),c=e(614),a=e(9958),u=e(7466),s=e(1340),f=e(4488),l=e(1530),p=e(8173),h=e(647),d=e(7651),v=e(5112)("replace"),y=Math.max,g=Math.min,b="$0"==="a".replace(/./,"$0"),m=!!/./[v]&&""===/./[v]("a","$0");n("replace",(function(t,r,e){var n=m?"$":"$0";return[function(t,e){var n=f(this),o=null==t?void 0:p(t,v);return o?o.call(t,n,e):r.call(s(n),t,e)},function(t,o){var f=i(this),p=s(t);if("string"==typeof o&&-1===o.indexOf(n)&&-1===o.indexOf("$<")){var v=e(r,f,p,o);if(v.done)return v.value}var b=c(o);b||(o=s(o));var m=f.global;if(m){var x=f.unicode;f.lastIndex=0}for(var w=[];;){var O=d(f,p);if(null===O)break;if(w.push(O),!m)break;""===s(O[0])&&(f.lastIndex=l(p,u(f.lastIndex),x))}for(var E,S="",j=0,P=0;P<w.length;P++){O=w[P];for(var T=s(O[0]),A=y(g(a(O.index),p.length),0),_=[],I=1;I<O.length;I++)_.push(void 0===(E=O[I])?E:String(E));var R=O.groups;if(b){var L=[T].concat(_,A,p);void 0!==R&&L.push(R);var k=s(o.apply(void 0,L))}else k=h(T,p,A,_,R,o);A>=j&&(S+=p.slice(j,A)+k,j=A+T.length)}return S+p.slice(j)}]}),!!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!b||m)},4765:function(t,r,e){"use strict";var n=e(7007),o=e(9670),i=e(4488),c=e(6029),a=e(1340),u=e(8173),s=e(7651);n("search",(function(t,r,e){return[function(r){var e=i(this),n=null==r?void 0:u(r,t);return n?n.call(r,e):new RegExp(r)[t](a(e))},function(t){var n=o(this),i=a(t),u=e(r,n,i);if(u.done)return u.value;var f=n.lastIndex;c(f,0)||(n.lastIndex=0);var l=s(n,i);return c(n.lastIndex,f)||(n.lastIndex=f),null===l?-1:l.index}]}))},7268:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("small")},{small:function(){return o(this,"small","","")}})},3123:function(t,r,e){"use strict";var n=e(7007),o=e(7850),i=e(9670),c=e(4488),a=e(6707),u=e(1530),s=e(7466),f=e(1340),l=e(8173),p=e(7651),h=e(2261),d=e(2999),v=e(7293),y=d.UNSUPPORTED_Y,g=[].push,b=Math.min,m=4294967295;n("split",(function(t,r,e){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var n=f(c(this)),i=void 0===e?m:e>>>0;if(0===i)return[];if(void 0===t)return[n];if(!o(t))return r.call(n,t,i);for(var a,u,s,l=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,v=new RegExp(t.source,p+"g");(a=h.call(v,n))&&!((u=v.lastIndex)>d&&(l.push(n.slice(d,a.index)),a.length>1&&a.index<n.length&&g.apply(l,a.slice(1)),s=a[0].length,d=u,l.length>=i));)v.lastIndex===a.index&&v.lastIndex++;return d===n.length?!s&&v.test("")||l.push(""):l.push(n.slice(d)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,e){var o=c(this),i=null==r?void 0:l(r,t);return i?i.call(r,o,e):n.call(f(o),r,e)},function(t,o){var c=i(this),l=f(t),h=e(n,c,l,o,n!==r);if(h.done)return h.value;var d=a(c,RegExp),v=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(y?"g":"y"),x=new d(y?"^(?:"+c.source+")":c,g),w=void 0===o?m:o>>>0;if(0===w)return[];if(0===l.length)return null===p(x,l)?[l]:[];for(var O=0,E=0,S=[];E<l.length;){x.lastIndex=y?0:E;var j,P=p(x,y?l.slice(E):l);if(null===P||(j=b(s(x.lastIndex+(y?E:0)),l.length))===O)E=u(l,E,v);else{if(S.push(l.slice(O,E)),S.length===w)return S;for(var T=1;T<=P.length-1;T++)if(S.push(P[T]),S.length===w)return S;E=O=j}}return S.push(l.slice(O)),S}]}),!!v((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]})),y)},3157:function(t,r,e){"use strict";var n,o=e(2109),i=e(1236).f,c=e(7466),a=e(1340),u=e(3929),s=e(4488),f=e(4964),l=e(1913),p="".startsWith,h=Math.min,d=f("startsWith");o({target:"String",proto:!0,forced:!!(l||d||(n=i(String.prototype,"startsWith"),!n||n.writable))&&!d},{startsWith:function(t){var r=a(s(this));u(t);var e=c(h(arguments.length>1?arguments[1]:void 0,r.length)),n=a(t);return p?p.call(r,n,e):r.slice(e,e+n.length)===n}})},7397:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("strike")},{strike:function(){return o(this,"strike","","")}})},86:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("sub")},{sub:function(){return o(this,"sub","","")}})},3650:function(t,r,e){"use strict";var n=e(2109),o=e(4488),i=e(9958),c=e(1340),a="".slice,u=Math.max,s=Math.min;n({target:"String",proto:!0},{substr:function(t,r){var e,n,f=c(o(this)),l=f.length,p=i(t);return p===1/0&&(p=0),p<0&&(p=u(l+p,0)),(e=void 0===r?l:i(r))<=0||e===1/0||p>=(n=s(p+e,l))?"":a.call(f,p,n)}})},623:function(t,r,e){"use strict";var n=e(2109),o=e(4230);n({target:"String",proto:!0,forced:e(3429)("sup")},{sup:function(){return o(this,"sup","","")}})},8702:function(t,r,e){"use strict";var n=e(2109),o=e(3111).end,i=e(6091)("trimEnd"),c=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,name:"trimEnd",forced:i},{trimEnd:c,trimRight:c})},5674:function(t,r,e){"use strict";var n=e(2109),o=e(3111).start,i=e(6091)("trimStart"),c=i?function(){return o(this)}:"".trimStart;n({target:"String",proto:!0,name:"trimStart",forced:i},{trimStart:c,trimLeft:c})},3210:function(t,r,e){"use strict";var n=e(2109),o=e(3111).trim;n({target:"String",proto:!0,forced:e(6091)("trim")},{trim:function(){return o(this)}})},3948:function(t,r,e){var n=e(7854),o=e(8324),i=e(8509),c=e(6992),a=e(8880),u=e(5112),s=u("iterator"),f=u("toStringTag"),l=c.values,p=function(t,r){if(t){if(t[s]!==l)try{a(t,s,l)}catch(r){t[s]=l}if(t[f]||a(t,f,r),o[r])for(var e in c)if(t[e]!==c[e])try{a(t,e,c[e])}catch(r){t[e]=c[e]}}};for(var h in o)p(n[h]&&n[h].prototype,h);p(i,"DOMTokenList")},1150:function(t,r,e){var n=e(7633);e(3948),t.exports=n},9712:function(t,r,e){var n=e(1111);t.exports=n},5666:function(t){var r=function(t){"use strict";var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),c=new A(n||[]);return i._invoke=function(t,r,e){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 I()}for(e.method=o,e.arg=i;;){var c=e.delegate;if(c){var a=j(c,e);if(a){if(a===v)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=h;var u=f(t,r,e);if("normal"===u.type){if(n=e.done?d:p,u.arg===v)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=d,e.method="throw",e.arg=u.arg)}}}(t,e,c),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",v={};function y(){}function g(){}function b(){}var m={};m[i]=function(){return this};var x=Object.getPrototypeOf,w=x&&x(x(_([])));w&&w!==e&&n.call(w,i)&&(m=w);var O=b.prototype=y.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function S(t,r){function e(o,i,c,a){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,c,a)}),(function(t){e("throw",t,c,a)})):r.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return e("throw",t,c,a)}))}a(u.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function j(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,j(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function P(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function T(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function _(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,c=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return c.next=c}}return{next:I}}function I(){return{value:r,done:!0}}return g.prototype=O.constructor=b,b.constructor=g,g.displayName=u(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,a,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},E(S.prototype),S.prototype[c]=function(){return this},t.AsyncIterator=S,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var c=new S(s(r,e,n,o),i);return t.isGeneratorFunction(e)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},E(O),u(O,a,"Generator"),O[i]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},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 e=this;function o(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(c)},complete:function(t,r){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&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),T(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;T(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},7147:function(t,r,e){"use strict";var n="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n,o="URLSearchParams"in n,i="Symbol"in n&&"iterator"in Symbol,c="FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch(t){return!1}}(),a="FormData"in n,u="ArrayBuffer"in n;if(u)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(t){return t&&s.indexOf(Object.prototype.toString.call(t))>-1};function l(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function p(t){return"string"!=typeof t&&(t=String(t)),t}function h(t){var r={next:function(){var r=t.shift();return{done:void 0===r,value:r}}};return i&&(r[Symbol.iterator]=function(){return r}),r}function d(t){this.map={},t instanceof d?t.forEach((function(t,r){this.append(r,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(r){this.append(r,t[r])}),this)}function v(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function y(t){return new Promise((function(r,e){t.onload=function(){r(t.result)},t.onerror=function(){e(t.error)}}))}function g(t){var r=new FileReader,e=y(r);return r.readAsArrayBuffer(t),e}function b(t){if(t.slice)return t.slice(0);var r=new Uint8Array(t.byteLength);return r.set(new Uint8Array(t)),r.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(t){var r;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:c&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:a&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():u&&c&&((r=t)&&DataView.prototype.isPrototypeOf(r))?(this._bodyArrayBuffer=b(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):u&&(ArrayBuffer.prototype.isPrototypeOf(t)||f(t))?this._bodyArrayBuffer=b(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},c&&(this.blob=function(){var t=v(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=v(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(g)}),this.text=function(){var t,r,e,n=v(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=new FileReader,e=y(r),r.readAsText(t),e;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var r=new Uint8Array(t),e=new Array(r.length),n=0;n<r.length;n++)e[n]=String.fromCharCode(r[n]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a&&(this.formData=function(){return this.text().then(O)}),this.json=function(){return this.text().then(JSON.parse)},this}d.prototype.append=function(t,r){t=l(t),r=p(r);var e=this.map[t];this.map[t]=e?e+", "+r:r},d.prototype.delete=function(t){delete this.map[l(t)]},d.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},d.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},d.prototype.set=function(t,r){this.map[l(t)]=p(r)},d.prototype.forEach=function(t,r){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(r,this.map[e],e,this)},d.prototype.keys=function(){var t=[];return this.forEach((function(r,e){t.push(e)})),h(t)},d.prototype.values=function(){var t=[];return this.forEach((function(r){t.push(r)})),h(t)},d.prototype.entries=function(){var t=[];return this.forEach((function(r,e){t.push([e,r])})),h(t)},i&&(d.prototype[Symbol.iterator]=d.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(t,r){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var e,n,o=(r=r||{}).body;if(t instanceof w){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,r.headers||(this.headers=new d(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=r.credentials||this.credentials||"same-origin",!r.headers&&this.headers||(this.headers=new d(r.headers)),this.method=(e=r.method||this.method||"GET",n=e.toUpperCase(),x.indexOf(n)>-1?n:e),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(o),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function O(t){var r=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),n=e.shift().replace(/\+/g," "),o=e.join("=").replace(/\+/g," ");r.append(decodeURIComponent(n),decodeURIComponent(o))}})),r}function E(t,r){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===r.statusText?"":""+r.statusText,this.headers=new d(r.headers),this.url=r.url||"",this._initBody(t)}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})},m.call(w.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},E.error=function(){var t=new E(null,{status:0,statusText:""});return t.type="error",t};var S=[301,302,303,307,308];E.redirect=function(t,r){if(-1===S.indexOf(r))throw new RangeError("Invalid status code");return new E(null,{status:r,headers:{location:t}})};var j=n.DOMException;try{new j}catch(t){(j=function(t,r){this.message=t,this.name=r;var e=Error(t);this.stack=e.stack}).prototype=Object.create(Error.prototype),j.prototype.constructor=j}function P(t,r){return new Promise((function(e,o){var i=new w(t,r);if(i.signal&&i.signal.aborted)return o(new j("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var t,r,n={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",r=new d,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var e=t.split(":"),n=e.shift().trim();if(n){var o=e.join(":").trim();r.append(n,o)}})),r)};n.url="responseURL"in a?a.responseURL:n.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout((function(){e(new E(o,n))}),0)},a.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},a.onabort=function(){setTimeout((function(){o(new j("Aborted","AbortError"))}),0)},a.open(i.method,function(t){try{return""===t&&n.location.href?n.location.href:t}catch(r){return t}}(i.url),!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&(c?a.responseType="blob":u&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(a.responseType="arraybuffer")),!r||"object"!=typeof r.headers||r.headers instanceof d?i.headers.forEach((function(t,r){a.setRequestHeader(r,t)})):Object.getOwnPropertyNames(r.headers).forEach((function(t){a.setRequestHeader(t,p(r.headers[t]))})),i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){4===a.readyState&&i.signal.removeEventListener("abort",s)}),a.send(void 0===i._bodyInit?null:i._bodyInit)}))}P.polyfill=!0,n.fetch||(n.fetch=P,n.Headers=d,n.Request=w,n.Response=E)}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e(5666),e(1150),e(9712),e(7147);e(3053)}(); window.page = undefined; window.user = undefined; </script> <script> window.orb = { worldwideNavlinks: '<li class="orb-nav-homedotcom"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/">Home</a></li><li class="orb-nav-newsdotcom"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/sport">Sport</a></li><li class="orb-nav-reeldotcom"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/reel">Reel</a></li><li class="orb-nav-worklife"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/worklife">Worklife</a></li><li class="orb-nav-traveldotcom"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/travel">Travel</a></li><li class="orb-nav-future"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/future">Future</a></li><li class="orb-nav-culture"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/culture">Culture</a></li><li class="orb-nav-music"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/culture/music">Music</a></li><li class="orb-nav-tv"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/schedules/p00fzl9m">TV</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.com/weather">Weather</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/sounds">Sounds</a></li>', } </script> <script src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/api-forge-free.min.js"></script> <link rel="preload" href="https://web.archive.org/web/20211020014527/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/20211020014527/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-80.bc5da8d --> <!-- searchbox Web Module: 3.0.0-351.272996b --> <!-- navpromo Web Module: 3.0.0-272.f5cddc4 --> <!-- cookies Web Module: 0.0.3-674.a24a86c --> <!-- useractivityhelper Web Module: 1.0.0-202.7fbe59b --> <!-- reverb Web Module: 3.3.0 --> <link rel="stylesheet" href="https://web.archive.org/web/20211020014527cs_/https://static.files.bbci.co.uk/account/id-cta/1.54.4/style/id-cta.css"/><!--[if IE 8]><link href="https://static.files.bbci.co.uk/account/id-cta/1.54.4/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/20211020014527/https://idcta.api.bbc.co.uk';var ENDPOINT_CONFIG = ('/idcta/config?callback=&ptrt=' + (ptrt ? ptrt[1] : encodeURIComponent(document.location.href))).replace(/\&/g, '&');var ENDPOINT_TRANSLATIONS = '/idcta/translations?callback=';function hasPromise() {var P = window.Promise;var promiseToString = null;if (P) {try {promiseToString = Object.prototype.toString.call(P.resolve());} catch (e) {/*silently ignored*/}}return (promiseToString === '[object Promise]' && !P.cast);}if (hasPromise()) {define('idcta/es6-promise', function () {return window.Promise;});define('idcta-v2/es6-promise', function () {return window.Promise;});}map['idcta-v2'] = 'https://web.archive.org/web/20211020014527/https://static.files.bbci.co.uk/account/id-cta/1.54.4/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/20211020014527/https://static.files.bbci.co.uk/account/id-cta/1.8.2/modules/idcta';map['idcta-v2/idcta-1'] = 'https://web.archive.org/web/20211020014527/https://static.files.bbci.co.uk/account/id-cta/1.54.4/modules/idcta-v2/dist/idcta-1.min';map['idcta-v2/experiment-snippet'] = 'https://web.archive.org/web/20211020014527/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/20211020014527cs_/https://nav.files.bbci.co.uk/searchbox/d3c099a283f4be8102b8b0bba5796dd7/css/box.css"> <script src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/cookies/1a29e6abc5353658fb90a9e9b2b38fd5/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/20211020014527/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/20211020014527js_/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><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20211020014527cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.124.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-header-view/8.124.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-header-view/8.124.1/enhanced.css\"/>"); }</script><!--[if gt IE 8]><!--><noscript class="morph-core-style"><!--<![endif]--><link rel="stylesheet" href="//web.archive.org/web/20211020014527cs_/https://m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.54.1/core.css"/><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-global-navigation-view/1.54.1"]=true; Morph.styleSrc.push("<link rel=\"stylesheet\" href=\"//m.files.bbci.co.uk/modules/bbc-morph-bitesize-global-navigation-view/1.54.1/enhanced.css\"/>"); }</script><script type="text/javascript">Morph.initStyles(); /* u1346875200603892 */</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>.ec-content-panel--default{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;background-color:#fff;padding:24px 8px 8px}@media (max-width:37.49em){.ec-content-panel--default{padding-right:8px;padding-left:8px}}.ec-content-panel__item--default{margin-bottom:32px}.ec-content-panel__item--default:last-child{margin-bottom:0}.ec-content-panel__item--default>a{display:inline-block}.ec-promo--default{background-color:#eee;display:flex;height:100%;height:auto;width:100%}.ec-promo--default .ec-promo__link--default{display:block;height:100%;height:auto;position:relative;text-decoration:none;width:100%}.ec-promo--default .ec-promo__image-container--default{display:block;overflow:hidden;position:relative;width:auto}.ec-promo--default .ec-promo__invisible--default{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.ec-promo--default .ec-promo__label--default{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;background-color:#eee;color:#3a3a3a;left:0;margin:0;padding:8px;position:absolute;top:0}.ec-promo--default .ec-promo__label--default:focus,.ec-promo--default .ec-promo__label--default:hover{text-decoration:none}.ec-promo--default .ec-promo__image--default,.ec-promo--default .ec-promo__image--default--lazyloaded{display:block;width:100%}.ec-promo--default .ec-promo__text-container--default{display:block;overflow:hidden;margin-bottom:16px;padding:8px 8px 16px;width:auto}@media (min-width:37.5em){.ec-promo--default .ec-promo__text-container--default{padding:16px 16px 32px}}.ec-promo--default .ec-promo__title--default{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#3a3a3a;margin-bottom:8px;margin-top:0;overflow:hidden;text-overflow:ellipsis}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default{margin-bottom:16px}}.ec-promo--default .ec-promo__title--default:focus,.ec-promo--default .ec-promo__title--default:hover{text-decoration:underline}.ec-promo--default .ec-promo__title--default--seen{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#706d66;margin-bottom:8px;margin-top:0;overflow:hidden;text-overflow:ellipsis}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default--seen{margin-bottom:16px}}.ec-promo--default .ec-promo__title--default--seen:focus,.ec-promo--default .ec-promo__title--default--seen:hover{text-decoration:underline}.ec-promo--default .ec-promo__synopsis--default{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;color:#5a5a5a;margin-top:0}.ec-promo--default .ec-promo__synopsis--default:focus,.ec-promo--default .ec-promo__synopsis--default:hover{color:#5a5a5a;text-decoration:none}.ec-promo--default .ec-promo__text--default{display:block;height:auto;width:auto}.ec-promo--default .ec-promo__attribution--default{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;bottom:0;color:#231f20;font-weight:400;margin:16px;position:absolute;text-transform:uppercase;margin-left:8px}@media (min-width:37.5em){.ec-promo--default .ec-promo__attribution--default{margin-left:16px}}.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:"ss01"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.ec-heading-link__link--default{color:#000;display:block;text-decoration:none}.ec-heading-link__link--default:visited{color:#808}.ec-heading-link__link--default:focus,.ec-heading-link__link--default:hover{color:#000;text-decoration:underline}.ec-heading-link__h2--default{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0;padding:0}.ec-heading-link__icon--default{fill:#000;height:16px;margin-left:8px;vertical-align:middle;width:14px}@media (min-width:37.5em){.ec-heading-link__icon--default{height:22px;width:20px}}.ec-heading-link__link--bitesize{color:#231f20;display:block;text-decoration:none}.ec-heading-link__link--bitesize:visited{color:#706d66}.ec-heading-link__link--bitesize:focus,.ec-heading-link__link--bitesize:hover{color:#e5640f;text-decoration:underline}.ec-heading-link__h2--bitesize{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0;padding:0}.ec-heading-link__icon--bitesize{fill:#e5640f;height:16px;margin-left:8px;vertical-align:middle;width:14px}@media (min-width:37.5em){.ec-heading-link__icon--bitesize{height:22px;width:20px}}.ec-grid--default{margin-left:0}.ec-grid__item-wrapper--default{direction:ltr;text-align:left;list-style:none}.ec-grid__item--default{width:100%;display:flex;padding-bottom:16px;padding-left:0}@media (min-width:37.5em){.ec-grid__item--default{width:50%;padding-bottom:32px;padding-left:0}}@media (min-width:63em){.ec-grid__item--default{width:33.33333%;padding-left:0}}.ec-grid__item-content-wrapper--default{display:flex;height:100%;height:auto;padding-left:8px;width:100%}@media (min-width:37.5em){.ec-grid__item-content-wrapper--default{flex-direction:row;padding-left:16px;width:100%}}body{font-family:Helvetica,Arial,freesans,sans-serif}.ec-content-panel--bitesize{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;background-color:#fff;padding:24px 8px 8px}@media (max-width:37.49em){.ec-content-panel--bitesize{padding-right:8px;padding-left:8px}}.ec-content-panel__item--bitesize{margin-bottom:32px}.ec-content-panel__item--bitesize:last-child{margin-bottom:0}.ec-content-panel__item--bitesize>a{display:inline-block}.ec-grid--bitesize{margin-left:0}.ec-grid__item-wrapper--bitesize{direction:ltr;text-align:left;list-style:none}.ec-grid__item--bitesize{width:50%;display:flex;padding-bottom:16px;padding-left:0}@media (min-width:37.5em){.ec-grid__item--bitesize{width:33.33333%;padding-bottom:32px;padding-left:0}}@media (min-width:63em){.ec-grid__item--bitesize{width:33.33333%;padding-left:0}}.ec-grid__item-content-wrapper--bitesize{display:flex;height:100%;height:auto;padding-left:8px;width:100%}@media (min-width:37.5em){.ec-grid__item-content-wrapper--bitesize{flex-direction:row;padding-left:16px;width:100%}}.bitesize-header-background{background-size:100% auto;height:370px}@media (min-width:37.5em){.bitesize-header-background{height:408px}}.bitesize-header__planning-banner-tags .messaging-banner-container{padding:0}@media (max-width:62.99em){.bitesize-header__planning-banner-tags .messaging-banner-container{margin-left:8px;margin-right:8px;padding:0}}@media (max-width:37.49em){.bitesize-header__planning-banner-tags .messaging-banner-container{margin:-8px 0;width:100%}}@media (min-width:37.5em) and (max-width:62.99em){.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner__container-planning{margin-left:-8px;margin-right:-8px}}@media (min-width:25em) and (max-width:37.49em){.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner__container-planning .messaging-banner-content{margin-left:-8px;margin-right:-8px}}.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner-content{padding-left:16px}.ec-content-panel--bitesize{margin-bottom:32px;padding-top:8px;position:relative}.ec-content-panel--bitesize:last-of-type{margin-bottom:0}.promos-wrapper{height:100%}.promo-view__title-container{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding-bottom:16px;padding-top:16px}@media (min-width:15em) and (max-width:37.49em){.promo-view__title-container{padding-bottom:8px;padding-top:8px}}.promo-view__title-container .promo-view-title{font-size:28px;font-size:1.75rem;line-height:32px;line-height:2rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;display:inline;margin:0}@media (min-width:15em) and (max-width:56.24em){.promo-view__title-container .promo-view-title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem}}.ec-content-panel__item--bitesize{margin:0}#orb-modules .related-links-container{margin-bottom:0;padding:0 8px 32px}@media (min-width:63em){#orb-modules .related-links-container{padding-left:0;padding-right:0}}.bitesize-promo-banner{margin-bottom:16px}@media (min-width:63em){.bitesize-promo-banner{margin:0 auto 24px;max-width:1008px}}.bitesize-promo-banner__container{align-items:center;background-color:#f1f1f1;display:flex;padding:8px}@media (min-width:37.5em){.bitesize-promo-banner__container{padding:16px}}.bitesize-promo-banner__image{display:none}@media (min-width:37.5em){.bitesize-promo-banner__image{bottom:2px;color:#5b2d8b;display:inline-block;height:40px;position:relative;width:44px}}.bitesize-promo-banner__text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;display:inline-block}@media (min-width:37.5em){.bitesize-promo-banner__text{margin-left:16px}}</style><!--[if gt IE 8]><!--></noscript><!--<![endif]--><script>if (Morph.enhanced) { Morph.styles["bbc-morph-bitesize-promo-view/1.2.0"]=true; Morph.styleSrc.push("<style>.ec-content-panel--default{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff;padding:24px 8px 8px}@media (min-width:25em){.ec-content-panel--default{padding-left:16px;padding-right:16px}}@media (max-width:37.49em){.ec-content-panel--default{padding-right:8px;padding-left:8px}}.ec-content-panel__item--default{margin-bottom:32px}.ec-content-panel__item--default:last-child{margin-bottom:0}.ec-content-panel__item--default>a{display:inline-block}.ec-promo--default{background-color:#eee;display:flex;height:100%;height:auto;width:100%}.ec-promo--default .ec-promo__link--default{display:block;height:100%;height:auto;position:relative;text-decoration:none;width:100%}.ec-promo--default .ec-promo__image-container--default{display:block;overflow:hidden;position:relative;width:auto}.ec-promo--default .ec-promo__invisible--default{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.ec-promo--default .ec-promo__label--default{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;background-color:#eee;color:#3a3a3a;left:0;margin:0;padding:8px;position:absolute;top:0}@media (min-width:20em){.ec-promo--default .ec-promo__label--default{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__label--default{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .ec-promo--default .ec-promo__label--default{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}.ec-promo--default .ec-promo__label--default:focus,.ec-promo--default .ec-promo__label--default:hover{text-decoration:none}.ec-promo--default .ec-promo__image--default,.ec-promo--default .ec-promo__image--default--lazyloaded{display:block;width:100%}.ec-promo--default .ec-promo__text-container--default{display:block;overflow:hidden;margin-bottom:16px;padding:8px 8px 16px;width:auto}@media (min-width:37.5em){.ec-promo--default .ec-promo__text-container--default{padding:16px 16px 32px}}.ec-promo--default .ec-promo__title--default{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#3a3a3a;margin-bottom:8px;margin-top:0;overflow:hidden;text-overflow:ellipsis}@media (min-width:20em){.ec-promo--default .ec-promo__title--default{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .ec-promo--default .ec-promo__title--default{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default{margin-bottom:16px}}.ec-promo--default .ec-promo__title--default:focus,.ec-promo--default .ec-promo__title--default:hover{text-decoration:underline}.ec-promo--default .ec-promo__title--default--seen{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;color:#706d66;margin-bottom:8px;margin-top:0;overflow:hidden;text-overflow:ellipsis}@media (min-width:20em){.ec-promo--default .ec-promo__title--default--seen{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default--seen{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .ec-promo--default .ec-promo__title--default--seen{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__title--default--seen{margin-bottom:16px}}.ec-promo--default .ec-promo__title--default--seen:focus,.ec-promo--default .ec-promo__title--default--seen:hover{text-decoration:underline}.ec-promo--default .ec-promo__synopsis--default{font-size:15px;font-size:.9375rem;line-height:18px;line-height:1.125rem;color:#5a5a5a;margin-top:0}@media (min-width:37.5em){.ec-promo--default .ec-promo__synopsis--default{line-height:20px;line-height:1.25rem}.n-no-touchevents .ec-promo--default .ec-promo__synopsis--default{font-size:14px;font-size:.875rem;line-height:18px;line-height:1.125rem}}.ec-promo--default .ec-promo__synopsis--default:focus,.ec-promo--default .ec-promo__synopsis--default:hover{color:#5a5a5a;text-decoration:none}.ec-promo--default .ec-promo__text--default{display:block;height:auto;width:auto}.ec-promo--default .ec-promo__attribution--default{font-size:12px;font-size:.75rem;line-height:16px;line-height:1rem;bottom:0;color:#231f20;font-weight:400;margin:16px;position:absolute;text-transform:uppercase;margin-left:8px}@media (min-width:37.5em){.ec-promo--default .ec-promo__attribution--default{font-size:13px;font-size:.8125rem}.n-no-touchevents .ec-promo--default .ec-promo__attribution--default{font-size:12px;font-size:.75rem}}@media (min-width:37.5em){.ec-promo--default .ec-promo__attribution--default{margin-left:16px}}.b-reith-sans-font.b-reith-sans-loaded{font-feature-settings:\"ss01\"}.b-reith-sans-font .language-selector__drawer{line-height:1.2rem}.ec-heading-link__link--default{color:#000;display:block;text-decoration:none}.ec-heading-link__link--default:visited{color:#808}.ec-heading-link__link--default:focus,.ec-heading-link__link--default:hover{color:#000;text-decoration:underline}.ec-heading-link__h2--default{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0;padding:0}@media (min-width:20em){.ec-heading-link__h2--default{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.ec-heading-link__h2--default{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .ec-heading-link__h2--default{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.ec-heading-link__icon--default{fill:#000;height:16px;margin-left:8px;vertical-align:middle;width:14px}@media (min-width:37.5em){.ec-heading-link__icon--default{height:22px;width:20px}}.ec-heading-link__link--bitesize{color:#231f20;display:block;text-decoration:none}.ec-heading-link__link--bitesize:visited{color:#706d66}.ec-heading-link__link--bitesize:focus,.ec-heading-link__link--bitesize:hover{color:#e5640f;text-decoration:underline}.ec-heading-link__h2--bitesize{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;margin:0;padding:0}@media (min-width:20em){.ec-heading-link__h2--bitesize{font-size:24px;font-size:1.5rem;line-height:28px;line-height:1.75rem}}@media (min-width:37.5em){.ec-heading-link__h2--bitesize{font-size:36px;font-size:2.25rem;line-height:40px;line-height:2.5rem}.n-no-touchevents .ec-heading-link__h2--bitesize{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}.ec-heading-link__icon--bitesize{fill:#e5640f;height:16px;margin-left:8px;vertical-align:middle;width:14px}@media (min-width:37.5em){.ec-heading-link__icon--bitesize{height:22px;width:20px}}.ec-grid--default{margin-left:0}.ec-grid__item-wrapper--default{direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;list-style:none}@media (min-width:37.5em){.ec-grid__item-wrapper--default{margin-left:-16px}}.ec-grid__item--default{display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%;display:flex;padding-bottom:16px;padding-left:0}@media (min-width:37.5em){.ec-grid__item--default{padding-left:16px;width:50%;padding-bottom:32px;padding-left:0}}@media (min-width:63em){.ec-grid__item--default{width:33.33333%;padding-left:0}}.ec-grid__item-content-wrapper--default{display:flex;height:100%;height:auto;padding-left:8px;width:100%}@media (min-width:37.5em){.ec-grid__item-content-wrapper--default{flex-direction:row;padding-left:16px;width:100%}}body{font-family:Helvetica,Arial,freesans,sans-serif}.ec-content-panel--bitesize{max-width:1008px;margin:0 auto;padding-right:8px;padding-left:8px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background-color:#fff;padding:24px 8px 8px}@media (min-width:25em){.ec-content-panel--bitesize{padding-left:16px;padding-right:16px}}@media (max-width:37.49em){.ec-content-panel--bitesize{padding-right:8px;padding-left:8px}}.ec-content-panel__item--bitesize{margin-bottom:32px}.ec-content-panel__item--bitesize:last-child{margin-bottom:0}.ec-content-panel__item--bitesize>a{display:inline-block}.ec-grid--bitesize{margin-left:0}.ec-grid__item-wrapper--bitesize{direction:ltr;text-align:left;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-flex-grow:1;-ms-flex-grow:1;flex-grow:1;margin-right:0;margin-left:-8px;padding-right:0;padding-left:0;list-style:none}@media (min-width:37.5em){.ec-grid__item-wrapper--bitesize{margin-left:-16px}}.ec-grid__item--bitesize{width:100%;display:inline-block;padding-left:8px;text-align:left;vertical-align:top;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:50%;display:flex;padding-bottom:16px;padding-left:0}@media (min-width:37.5em){.ec-grid__item--bitesize{padding-left:16px;width:33.33333%;padding-bottom:32px;padding-left:0}}@media (min-width:63em){.ec-grid__item--bitesize{width:33.33333%;padding-left:0}}.ec-grid__item-content-wrapper--bitesize{display:flex;height:100%;height:auto;padding-left:8px;width:100%}@media (min-width:37.5em){.ec-grid__item-content-wrapper--bitesize{flex-direction:row;padding-left:16px;width:100%}}.bitesize-header-background{background-size:100% auto;height:370px}@media (min-width:37.5em){.bitesize-header-background{height:408px}}.bitesize-header__planning-banner-tags .messaging-banner-container{padding:0}@media (max-width:62.99em){.bitesize-header__planning-banner-tags .messaging-banner-container{margin-left:8px;margin-right:8px;padding:0}}@media (max-width:37.49em){.bitesize-header__planning-banner-tags .messaging-banner-container{margin:-8px 0;width:100%}}@media (min-width:37.5em) and (max-width:62.99em){.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner__container-planning{margin-left:-8px;margin-right:-8px}}@media (min-width:25em) and (max-width:37.49em){.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner__container-planning .messaging-banner-content{margin-left:-8px;margin-right:-8px}}.bitesize-header__planning-banner-tags .messaging-banner-container .messaging-banner-content{padding-left:16px}.ec-content-panel--bitesize{margin-bottom:32px;padding-top:8px;position:relative}.ec-content-panel--bitesize:last-of-type{margin-bottom:0}.promos-wrapper{height:100%}.promo-view__title-container{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding-bottom:16px;padding-top:16px}@media (min-width:15em) and (max-width:37.49em){.promo-view__title-container{padding-bottom:8px;padding-top:8px}}.promo-view__title-container .promo-view-title{font-size:28px;font-size:1.75rem;line-height:32px;line-height:2rem;font-weight:700;letter-spacing:-1px;letter-spacing:-.0625rem;display:inline;margin:0}@media (min-width:20em){.promo-view__title-container .promo-view-title{font-size:32px;font-size:2rem;line-height:36px;line-height:2.25rem}}@media (min-width:37.5em){.promo-view__title-container .promo-view-title{font-size:52px;font-size:3.25rem;line-height:56px;line-height:3.5rem}.n-no-touchevents .promo-view__title-container .promo-view-title{font-size:44px;font-size:2.75rem;line-height:48px;line-height:3rem}}@media (min-width:15em) and (max-width:56.24em){.promo-view__title-container .promo-view-title{font-size:20px;font-size:1.25rem;line-height:24px;line-height:1.5rem}}@media (min-width:15em) and (max-width:56.24em) and (min-width:20em){.promo-view__title-container .promo-view-title{font-size:22px;font-size:1.375rem;line-height:26px;line-height:1.625rem}}@media (min-width:15em) and (max-width:56.24em) and (min-width:37.5em){.promo-view__title-container .promo-view-title{font-size:30px;font-size:1.875rem;line-height:34px;line-height:2.125rem}.n-no-touchevents .promo-view__title-container .promo-view-title{font-size:28px;font-size:1.75rem;line-height:32px;line-height:2rem}}.ec-content-panel__item--bitesize{margin:0}#orb-modules .related-links-container{margin-bottom:0;padding:0 8px 32px}@media (min-width:63em){#orb-modules .related-links-container{padding-left:0;padding-right:0}}.bitesize-promo-banner{margin-bottom:16px}@media (min-width:63em){.bitesize-promo-banner{margin:0 auto 24px;max-width:1008px}}.bitesize-promo-banner__container{align-items:center;background-color:#f1f1f1;display:flex;padding:8px}@media (min-width:37.5em){.bitesize-promo-banner__container{padding:16px}}.bitesize-promo-banner__image{display:none}@media (min-width:37.5em){.bitesize-promo-banner__image{bottom:2px;color:#5b2d8b;display:inline-block;height:40px;position:relative;width:44px}}.bitesize-promo-banner__text{font-size:15px;font-size:.9375rem;line-height:20px;line-height:1.25rem;font-weight:700;display:inline-block}@media (min-width:20em){.bitesize-promo-banner__text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.bitesize-promo-banner__text{font-size:18px;font-size:1.125rem;line-height:22px;line-height:1.375rem}.n-no-touchevents .bitesize-promo-banner__text{font-size:16px;font-size:1rem;line-height:20px;line-height:1.25rem}}@media (min-width:37.5em){.bitesize-promo-banner__text{margin-left:16px}}</style>"); }</script><script>if (Morph.enhanced) { Morph.styles["bbc-morph-gel-icons/5.0.5"]=true; Morph.styleSrc.push("<style>.gel-icon{display:inline-block}.gel-icon svg{width:inherit;height:inherit;fill:currentColor}.gel-icon--loading{-webkit-animation-name:gel-spin;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;-moz-animation-name:gel-spin;-moz-animation-duration:1s;-moz-animation-iteration-count:infinite;-moz-animation-timing-function:linear;animation-name:gel-spin;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@-moz-keyframes gel-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-webkit-keyframes gel-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes gel-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n</style>"); }</script><script type="text/javascript">Morph.initStyles(); /* u6769606804516641 */</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/20211020014527im_/https://a1.api.bbc.co.uk/hit.xiti?&col=1&from=p&ptag=js&s=598253&p=learn::secondary::bitesize.secondary_games.page&x2=[responsive]&x3=[bbc_website]&x4=[en-GB]&x7=[index-section]&x8=[reverb-3.3.0-nojs]&x11=[BITESIZE]&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/20211020014527/https://www.bbc.co.uk/">Homepage</a></div><section><div class="orb-skip-links"><h2>Accessibility links</h2><ul><li><a href="#orb-modules">Skip to content</a></li><li><a id="orb-accessibility-help" href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li></ul></div></section><div id="mybbc-wrapper" class="orb-nav-section orb-nav-id orb-nav-focus orb-nav-id-default"> <div id="idcta-statusbar" class="orb-nav-section orb-nav-focus" data-bbc-container="id-cta" data-bbc-event-type="click" data-bbc-ignore-views="1" data-bbc-metadata="{"id-cta-type": "statusbar-orb"}" data-bbc-source="responsive_web" data-bbc-title="id-cta-sign-in"><a id="idcta-link" href="https://web.archive.org/web/20211020014527/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/20211020014527/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20211020014527/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/20211020014527/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/20211020014527/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-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"><button id="orb-search-button" class="orb-search__button">Search the BBC</button><input type="hidden" name="suggid" id="orb-search-suggid"></div></form><form id="orbit-search-form" role="search" method="get" action="https://web.archive.org/web/20211020014527/https://search.bbc.co.uk/search" accept-charset="utf-8"><div><input type="hidden" name="scope" id="orb-search-scope" value="bitesize"> <button id="orbit-search-button"><svg class="search-button-icon" width="1.75rem" height="1.8125rem" viewbox="0 0 28 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>Search BBC</title><path d="M11,0 C17.0751322,0 22,4.92486775 22,11 C22,13.5277632 21.1473793,15.8563862 19.7140404,17.7139664 L28,26.0001 L25,29.0001 L16.518046,20.5179339 C14.8960209,21.4603385 13.0110328,22 11,22 C4.92486775,22 0,17.0751322 0,11 C0,4.92486775 4.92486775,0 11,0 Z M11,2.5001 C6.30557963,2.5001 2.5,6.30567963 2.5,11.0001 C2.5,15.6945204 6.30557963,19.5001 11,19.5001 C15.6944204,19.5001 19.5,15.6945204 19.5,11.0001 C19.5,6.30567963 15.6944204,2.5001 11,2.5001 Z" id="Shape"></path></svg><svg class="search-box-icon" width="1rem" height="1rem" viewbox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M4.31263591,11.9770508 C3.26116255,10.925 2.68223368,9.52721354 2.68223368,8.04036458 C2.68223368,6.55351563 3.26116255,5.15572917 4.31325442,4.10491536 C5.36410928,3.05286458 6.76133182,2.47395833 8.24823886,2.47395833 C9.7351459,2.47395833 11.1336055,3.05348307 12.1850788,4.10491536 C14.3548251,6.27457682 14.3554436,9.80615234 12.1850788,11.9770508 C11.1336055,13.0278646 9.7351459,13.6067708 8.24823886,13.6067708 C6.76195034,13.6067708 5.36410928,13.0278646 4.31263591,11.9770508 L4.31263591,11.9770508 Z M20,17.6059245 L14.9195281,12.525651 C17.0268044,9.39980469 16.7002292,5.12171224 13.9348542,2.35520833 C12.3644478,0.785481771 10.3066526,0 8.24823886,0 C6.19106215,0 4.13264841,0.785481771 2.56347904,2.35520833 C-0.576715236,5.49589844 -0.576715236,10.5860677 2.56347904,13.7255208 C4.13326692,15.2964844 6.19106215,16.0807292 8.24823886,16.0807292 C9.81555269,16.0807292 11.3816295,15.6230469 12.733082,14.7120117 L17.8129354,19.7916667 L20,17.6059245 Z"></path></svg><span>Search BBC</span></button></div></form> </div></div><div id="orb-panels"></div></div></header> <!-- Styling hook for shared modules only --> <div id="orb-modules"> <div id="u1346875200603892"><div class="bitesize-header--pageType" data-reactid=".1v6kdw3eu1y" data-react-checksum="-1429405247"><div class="bitesize-header-background bitesize-header-background--phase-secondary" data-reactid=".1v6kdw3eu1y.0"></div><noscript data-reactid=".1v6kdw3eu1y.1"></noscript><div data-reactid=".1v6kdw3eu1y.2"><div class="global-navigation" data-reactid=".1v6kdw3eu1y.2.0"><header class="global-navigation__header" data-reactid=".1v6kdw3eu1y.2.0.0"><div class="global-navigation__header__wrap" data-reactid=".1v6kdw3eu1y.2.0.0.0"><span class="global-navigation__header__logo" tabindex="-1" data-reactid=".1v6kdw3eu1y.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 global-navigation__header__logo__link--phase-secondary" href="/web/20211020014527/https://www.bbc.co.uk/bitesize" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.0.0.1"><i class="gel-icon gel-icon--list-view global-navigation__header__menu-button__list-view" data-reactid=".1v6kdw3eu1y.2.0.0.0.1.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".1v6kdw3eu1y.2.0.0.0.1.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1v6kdw3eu1y.2.0.0.0.1.0.0.0"></path></svg></i><span class="global-navigation__header__menu-button__text" data-reactid=".1v6kdw3eu1y.2.0.0.0.1.1">All Bitesize</span></button><div class="global-navigation__mobile-nav" data-reactid=".1v6kdw3eu1y.2.0.0.0.2"></div></div></header><nav class="global-navigation__primary-nav" data-reactid=".1v6kdw3eu1y.2.0.1"><div class="global-navigation__primary-nav__wrap" data-reactid=".1v6kdw3eu1y.2.0.1.0"><div class="global-language-selector" data-reactid=".1v6kdw3eu1y.2.0.1.0.0"><button type="button" class="global-language-selector__drawer global-language-selector__drawer--closed" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.0"><span class="global-language-selector__drawer-text" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.0.0">Change language</span></button><div class="global-language-selector__container global-language-selector__container--hidden" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.1"><ol class="global-language-selector__list" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.1.0"><li class="global-language-selector__language global-language-selector__language--selected" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.0.1.0.0.0"><span class="global-language-selector__language-label" lang="en-GB" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.0.1.0.1:$cy-GB.0"><span class="global-language-selector__language-label" lang="cy-GB" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.1.0.1:$cy-GB.0.0">Cymraeg</span></button></li><li class="global-language-selector__language" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.0.1.0.1:$ga-GB.0"><span class="global-language-selector__language-label" lang="ga-GB" data-reactid=".1v6kdw3eu1y.2.0.1.0.0.1.0.1:$ga-GB.0.0">Gaeilge</span></button></li><li class="global-language-selector__language" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.0.1.0.1:$gd-GB.0"><span class="global-language-selector__language-label" lang="gd-GB" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.1"><li class="global-navigation__list__item" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$home"><a class="global-navigation__list__link" href="/web/20211020014527/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=".1v6kdw3eu1y.2.0.1.0.1.0:$home.0"><span class="global-navigation__list__link-text" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$home.0.0">Home</span></a></li><li class="global-navigation__list__item" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$learn"><a class="global-navigation__list__link" href="/web/20211020014527/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=".1v6kdw3eu1y.2.0.1.0.1.0:$learn.0"><span class="global-navigation__list__link-text" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$learn.0.0">Learn</span></a></li><li class="global-navigation__list__item" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$support"><a class="global-navigation__list__link" href="/web/20211020014527/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=".1v6kdw3eu1y.2.0.1.0.1.0:$support.0"><span class="global-navigation__list__link-text" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$support.0.0">Support</span></a></li><li class="global-navigation__list__item" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$careers"><a class="global-navigation__list__link" href="/web/20211020014527/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=".1v6kdw3eu1y.2.0.1.0.1.0:$careers.0"><span class="global-navigation__list__link-text" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.0:$careers.0.0">Careers</span></a></li><li data-reactid=".1v6kdw3eu1y.2.0.1.0.1.1"><ul class="global-navigation__list__items--pinned" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.1.0"><li class="global-navigation__list__item" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.1.0.$my-bitesize"><a class="global-navigation__list__link" href="/web/20211020014527/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=".1v6kdw3eu1y.2.0.1.0.1.1.0.$my-bitesize.0"><span class="global-navigation__list__link-my-bitesize" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.0.1.0.1.1.0.$all-bitesize.0"><span class="gel-icon gel-icon--list-view" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.1.0.$all-bitesize.0.0"><svg width="32" height="32" viewbox="0 0 32 32" data-reactid=".1v6kdw3eu1y.2.0.1.0.1.1.0.$all-bitesize.0.0.0"><path d="M0 0v8h32V0zM0 17v3h32v-8H0zM0 29v3h32v-8H0z" data-reactid=".1v6kdw3eu1y.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=".1v6kdw3eu1y.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=".1v6kdw3eu1y.2.1"><div class="header-image-container__wrap" data-reactid=".1v6kdw3eu1y.2.1.0"></div></div></div></div></div><div id="u6769606804516641"><section class="ec-content-panel--bitesize" data-reactid=".1judd5wi7t4" data-react-checksum="-2002479927"><div class="ec-content-panel__item--bitesize" data-reactid=".1judd5wi7t4.$/=10"><div class="promo-view__title-container" data-reactid=".1judd5wi7t4.$/=10.0"><h1 class="promo-view-title" data-reactid=".1judd5wi7t4.$/=10.0.0">Secondary games</h1></div></div><div class="ec-content-panel__item--bitesize" data-reactid=".1judd5wi7t4.$/=11"><div class="bitesize-promo-banner" data-reactid=".1judd5wi7t4.$/=11.0"><div class="bitesize-promo-banner__container" data-reactid=".1judd5wi7t4.$/=11.0.0"><div class="gel-icon gel-icon--game-control bitesize-promo-banner__image" data-reactid=".1judd5wi7t4.$/=11.0.0.0"><svg viewbox="0 0 32 32" data-reactid=".1judd5wi7t4.$/=11.0.0.0.0"><title data-reactid=".1judd5wi7t4.$/=11.0.0.0.0.0">game-control</title><circle cx="8" cy="11" r="3.5" data-reactid=".1judd5wi7t4.$/=11.0.0.0.0.1"></circle><path d="M24 3a8 8 0 0 0-5.3 2h-5.4A8 8 0 0 0 0 11v18h6l6-10h8l6 10h6V11a8 8 0 0 0-8-8zm0 2a2 2 0 1 1-2 2 2 2 0 0 1 2-2zM8 17a6 6 0 1 1 6-6 6 6 0 0 1-6 6zm12-4a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm4 4a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm4-4a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" data-reactid=".1judd5wi7t4.$/=11.0.0.0.0.2"></path></svg></div><div class="bitesize-promo-banner__text" data-reactid=".1judd5wi7t4.$/=11.0.0.1">We'll be bringing you more secondary games over the coming months. Watch this space!</div></div></div></div><div class="ec-content-panel__item--bitesize" data-reactid=".1judd5wi7t4.$/=12"><div class="promos-wrapper" data-reactid=".1judd5wi7t4.$/=12.0"><div class="ec-grid--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0"><ul class="ec-grid__item-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0"><li class="ec-grid__item--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt"><span class="ec-grid__item-content-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0"><div class="ec-promo--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt"><a href="/web/20211020014527/https://www.bbc.co.uk/bitesize/articles/zfxgbqt" class="ec-promo__link--default" data-bbc-container="content-panel-promo" data-bbc-metadata="{"CHD":"card::0"}" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0"><div class="ec-promo__image-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.0"><div class="ec-promo__image-container__16/9" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.0.0"><div class="ec-promo-image-lazyload-container" aria-hidden="true" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.0.0.0"><div class="ec-promo__image--default--lazyload" data-src="https://web.archive.org/web/20211020014527oe_/https://ichef.bbci.co.uk/images/ic/{width}xn/p09xcxd9.jpg" data-alt="Game - Atomic Labs" data-class="promo-image" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.0.0.0.0"></div></div></div></div><div class="ec-promo__text-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.1"><div class="ec-promo__text--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.1.0"><h3 class="ec-promo__title--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.1.0.1">Game - Atomic Labs</h3><p class="ec-promo__synopsis--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.1.0.2">Use your science skills to complete nine experiments and build a sustainable habitat</p></div></div><h5 class="ec-promo__attribution--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zfxgbqt.0.$zfxgbqt.0.2">KS3 Science</h5></a></div></span></li><li class="ec-grid__item--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm"><span class="ec-grid__item-content-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0"><div class="ec-promo--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm"><a href="/web/20211020014527/https://www.bbc.co.uk/bitesize/articles/z2h3ydm" class="ec-promo__link--default" data-bbc-container="content-panel-promo" data-bbc-metadata="{"CHD":"card::1"}" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0"><div class="ec-promo__image-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.0"><div class="ec-promo__image-container__16/9" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.0.0"><div class="ec-promo-image-lazyload-container" aria-hidden="true" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.0.0.0"><div class="ec-promo__image--default--lazyload" data-src="https://web.archive.org/web/20211020014527oe_/https://ichef.bbci.co.uk/images/ic/{width}xn/p09lr8wc.jpg" data-alt="Game - History Detectives " data-class="promo-image" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.0.0.0.0"></div></div></div></div><div class="ec-promo__text-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.1"><div class="ec-promo__text--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.1.0"><h3 class="ec-promo__title--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.1.0.1">Game - History Detectives </h3><p class="ec-promo__synopsis--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.1.0.2">Use your historical skills to analyse key evidence from the tudors, the industrial revolution and the Cuban missle crisis.</p></div></div><h5 class="ec-promo__attribution--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$z2h3ydm.0.$z2h3ydm.0.2">KS3 History</h5></a></div></span></li><li class="ec-grid__item--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb"><span class="ec-grid__item-content-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0"><div class="ec-promo--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb"><a href="/web/20211020014527/https://www.bbc.co.uk/bitesize/articles/zk48qnb" class="ec-promo__link--default" data-bbc-container="content-panel-promo" data-bbc-metadata="{"CHD":"card::2"}" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0"><div class="ec-promo__image-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.0"><div class="ec-promo__image-container__16/9" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.0.0"><div class="ec-promo-image-lazyload-container" aria-hidden="true" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.0.0.0"><div class="ec-promo__image--default--lazyload" data-src="https://web.archive.org/web/20211020014527oe_/https://ichef.bbci.co.uk/images/ic/{width}xn/p08qtv2b.jpg" data-alt="Game - FestiLingo: Spanish" data-class="promo-image" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.0.0.0.0"></div></div></div></div><div class="ec-promo__text-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.1"><div class="ec-promo__text--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.1.0"><h3 class="ec-promo__title--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.1.0.1">Game - FestiLingo: Spanish</h3><p class="ec-promo__synopsis--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.1.0.2">Practise your Spanish language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear Spanish audio. Suitable for KS3 Spanish students.</p></div></div><h5 class="ec-promo__attribution--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zk48qnb.0.$zk48qnb.0.2">KS3 Spanish</h5></a></div></span></li><li class="ec-grid__item--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j"><span class="ec-grid__item-content-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0"><div class="ec-promo--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j"><a href="/web/20211020014527/https://www.bbc.co.uk/bitesize/articles/zhmts4j" class="ec-promo__link--default" data-bbc-container="content-panel-promo" data-bbc-metadata="{"CHD":"card::3"}" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0"><div class="ec-promo__image-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.0"><div class="ec-promo__image-container__16/9" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.0.0"><div class="ec-promo-image-lazyload-container" aria-hidden="true" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.0.0.0"><div class="ec-promo__image--default--lazyload" data-src="https://web.archive.org/web/20211020014527oe_/https://ichef.bbci.co.uk/images/ic/{width}xn/p08qtv5b.jpg" data-alt="Game - FestiLingo: German" data-class="promo-image" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.0.0.0.0"></div></div></div></div><div class="ec-promo__text-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.1"><div class="ec-promo__text--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.1.0"><h3 class="ec-promo__title--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.1.0.1">Game - FestiLingo: German</h3><p class="ec-promo__synopsis--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.1.0.2">Practise your German language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear German audio. Suitable for KS3 German students.</p></div></div><h5 class="ec-promo__attribution--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zhmts4j.0.$zhmts4j.0.2">KS3 German</h5></a></div></span></li><li class="ec-grid__item--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx"><span class="ec-grid__item-content-wrapper--bitesize" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0"><div class="ec-promo--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx"><a href="/web/20211020014527/https://www.bbc.co.uk/bitesize/articles/zjpfbwx" class="ec-promo__link--default" data-bbc-container="content-panel-promo" data-bbc-metadata="{"CHD":"card::4"}" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0"><div class="ec-promo__image-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.0"><div class="ec-promo__image-container__16/9" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.0.0"><div class="ec-promo-image-lazyload-container" aria-hidden="true" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.0.0.0"><div class="ec-promo__image--default--lazyload" data-src="https://web.archive.org/web/20211020014527oe_/https://ichef.bbci.co.uk/images/ic/{width}xn/p08qtty5.jpg" data-alt="Game - FestiLingo: French" data-class="promo-image" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.0.0.0.0"></div></div></div></div><div class="ec-promo__text-container--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.1"><div class="ec-promo__text--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.1.0"><h3 class="ec-promo__title--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.1.0.1">Game - FestiLingo: French</h3><p class="ec-promo__synopsis--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.1.0.2">Practise your French language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear French audio. Suitable for KS3 French students.</p></div></div><h5 class="ec-promo__attribution--default" data-reactid=".1judd5wi7t4.$/=12.0.0.0.$/=1$zjpfbwx.0.$zjpfbwx.0.2">KS3 French</h5></a></div></span></li></ul></div></div></div></section></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/20211020014527/https://www.bbc.co.uk/">Home</a></li><li class="orb-nav-news"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/news">News</a></li><li class="orb-nav-sport"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/sport">Sport</a></li><li class="orb-nav-weather"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/weather">Weather</a></li><li class="orb-nav-iplayer"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/iplayer">iPlayer</a></li><li class="orb-nav-sounds"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/sounds">Sounds</a></li><li class="orb-nav-cbbc"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/cbbc">CBBC</a></li><li class="orb-nav-cbeebies"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/cbeebies">CBeebies</a></li><li class="orb-nav-food"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/food">Food</a></li><li class="orb-nav-bitesize"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/bitesize">Bitesize</a></li><li class="orb-nav-arts"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/arts">Arts</a></li><li class="orb-nav-taster"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/taster">Taster</a></li><li class="orb-nav-local"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/news/localnews">Local</a></li><li class="orb-nav-three"><a href="https://web.archive.org/web/20211020014527/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/20211020014527/https://www.bbcglobalnews.com/">Advertise with us<' + '/a><' + '/li><li class="orb-footer-adchoices"><a href="https://web.archive.org/web/20211020014527/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/20211020014527/https://www.bbc.co.uk/usingthebbc/terms/">Terms of Use</a></li><li class="orb-footer-about"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/aboutthebbc">About the BBC</a></li><li class="orb-footer-privacy"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/usingthebbc/privacy/">Privacy Policy</a></li><li class="orb-footer-cookies"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/usingthebbc/cookies/">Cookies</a></li><li class="orb-footer-accessibility"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/accessibility/">Accessibility Help</a></li><li class="orb-footer-parental"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/guidance">Parental Guidance</a></li><li class="orb-footer-contact"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/contact">Contact the BBC</a></li><li class="orb-footer-newsletter"><a href="https://web.archive.org/web/20211020014527/https://www.bbc.co.uk/bbcnewsletter">Get Personalised Newsletters</a></li></ul><small><em class="orb-hilight">Copyright © 2021 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/20211020014527/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="importmap">{"imports":{"orbit-drawer":"https://web.archive.org/web/20211020014527/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/drawer-api.bundle.js","bbccookies":"https://web.archive.org/web/20211020014527/https://static.files.bbci.co.uk/cookies/1a29e6abc5353658fb90a9e9b2b38fd5/cookie-banner/cookie-library.module.js"}}</script><script type="module" src="https://web.archive.org/web/20211020014527jm_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/orbit.js" async=""></script><script type="text/javascript" src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/redirect.bundle.js" async=""></script><script type="text/javascript" src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/performance.bundle.js" data-release="3.0.0-1708.64afffb4" data-ux="orb" async=""></script><script id="orb-js-script" data-assetpath="https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/" src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/orb.min.js"></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/20211020014527/https://static.files.bbci.co.uk/orbit/fa75cd7320fbe45bcfbbafe7a51f9d56/js/edr.min.js'); } }); }); /*]]>*/</script> <script type="text/javascript">require.config({ paths: { "mybbc/templates": '//web.archive.org/web/20211020014527/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/templates', "mybbc/notifications": '//web.archive.org/web/20211020014527/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/20211020014527/https://mybbc.files.bbci.co.uk/notification-ui/4.3.7/css/main.min.css').then(function() { NotificationsMain.run(idcta, '//web.archive.org/web/20211020014527/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 isOrbUx = !!document.querySelector('.orb-nav-pri-container'); if (isOrbUx) { const script = document.createElement('script'); script.src = 'https://web.archive.org/web/20211020014527/https://nav.files.bbci.co.uk/searchbox/d3c099a283f4be8102b8b0bba5796dd7//js/old-search-suggest.js'; script.async = true; script.setAttribute('data-static-prefix', 'https://web.archive.org/web/20211020014527/https://nav.files.bbci.co.uk/searchbox/d3c099a283f4be8102b8b0bba5796dd7/'); script.setAttribute('data-variant', 'default'); script.setAttribute('data-scope', 'bitesize'); document.head.appendChild(script); } else { import('https://web.archive.org/web/20211020014527/https://nav.files.bbci.co.uk/searchbox/d3c099a283f4be8102b8b0bba5796dd7//js/search-suggest.js').then(drawer => { drawer.setupSearchDrawer({ searchboxAppStaticPrefix: 'https://web.archive.org/web/20211020014527/https://nav.files.bbci.co.uk/searchbox/d3c099a283f4be8102b8b0bba5796dd7/', variant: 'default', searchScope: 'bitesize', }); }); } } }); }</script> <script type="text/javascript" src="https://web.archive.org/web/20211020014527js_/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/20211020014527/https://static.files.bbci.co.uk/cookies/1a29e6abc5353658fb90a9e9b2b38fd5/cookie-banner/cookie-prompt/"</script><script src="https://web.archive.org/web/20211020014527js_/https://static.files.bbci.co.uk/cookies/1a29e6abc5353658fb90a9e9b2b38fd5/cookie-banner/cookie-banners.bundle.js" async=""></script> <script src="https://web.archive.org/web/20211020014527js_/https://nav.files.bbci.co.uk//user-activity-helper/7f7e3cfe8ed2cbcec7e57473d0ed5809/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() { !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.54.1"]=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),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=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/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Northern Ireland"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Northern Ireland"}]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"3rd level",href:"/levels/zy4qn39",zid:"zy4qn39",aria:"Third level"},{title:"4th level",href:"/levels/zvk2fg8",zid:"zvk2fg8",aria:"Fourth level"},{title:"Nàiseanta 4",href:"/levels/z8hhvcw",zid:"z8hhvcw",aria:"Naiseanta four"},{title:"Nàiseanta 5",href:"/levels/zdpp34j",zid:"zdpp34j",aria:"Naiseanta five"},{title:"National 4",href:"/levels/zp3d7ty",zid:"zp3d7ty",aria:"National four"},{title:"National 5",href:"/levels/z6gw2hv",zid:"z6gw2hv",aria:"National five"},{title:"Àrd Ìre",href:"/levels/zqq4wxs",zid:"zqq4wxs",aria:"Ard Ire"},{title:"Higher",href:"/levels/zkdqxnb",zid:"zkdqxnb",aria:"Higher Scotland"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"CA3",href:"/levels/zh6vr82",zid:"zh6vr82",aria:"CA3"},{title:"KS3",href:"/levels/z4kw2hv",zid:"z4kw2hv",aria:"Key Stage three Wales"},{title:"CBC",href:"/levels/zqxy8mn",zid:"zqxy8mn",aria:"CBC"},{title:"GCSE",href:"/levels/z98jmp3",zid:"z98jmp3",aria:"GCSE Wales"},{title:"TGAU",href:"/levels/z8w76sg",zid:"z8w76sg",aria:"TGAU"},{title:"WBQ",href:"/levels/z9wtgdm",zid:"z9wtgdm",aria:"WBQ"}]}]},{section:"Post-16",regions:[{region:"England",aria:"English curriculum",content:[{title:"Functional Skills",href:"/levels/zvhtng8",zid:"",aria:"Functional Skills levels one and two"}]},{region:"Northern Ireland",aria:"Northern Irish curriculum",content:[]},{region:"Scotland",aria:"Scottish curriculum",content:[{title:"Core Skills",href:"/levels/z66jhbk",zid:"z66jhbk",aria:"Core skills level three"}]},{region:"Wales",aria:"Welsh curriculum",content:[{title:"Essential Skills",href:"/levels/zhh7nrd",zid:"zhh7nrd",aria:"Essential skills levels one and two"}]}]},{section:"Subjects",regions:[{region:"",aria:"",content:[{title:"Maths",href:"/subjects/z6vg9j6",zid:"z6vg9j6",aria:"Maths"},{title:"English",href:"/subjects/zt3rkqt",zid:"zt3rkqt",aria:"English"}]},{region:"",aria:"",content:[{title:"Science",href:"/subjects/z7nygk7",zid:"z7nygk7",aria:"Science"},{title:"Cymraeg",href:"/subjects/zf48q6f",zid:"zf48q6f",aria:"Cymraeg"}]},{region:"",aria:"",content:[{title:"Gàidhlig",href:"/subjects/zgj2tfr",zid:"zgj2tfr",aria:"Gàidhlig"},{title:"63 more subjects",href:"/subjects/",zid:"",aria:"63 more subjects"}]}]},{section:"Support",href:"/support",aria:"Support"},{section:"Careers",href:"/careers",aria:"Careers"},{section:"about-us",href:"/articles/z6x992p",aria:"About us"}]}},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),o=r(n(1)),i=r(n(10)),u=r(n(8)),l=function(e){var t=e.language,n=e.href,r=e.pageType,o=e.phase,l=e.headerData;return a.default.createElement(i.default,{language:t,href:n,pageType:r,phase:o,headerData:l,navigationData:u.default,subdirectory:"bitesize"})};l.defaultProps={headerData:{}},l.propTypes={language:o.default.string.isRequired,href:o.default.string.isRequired,pageType:o.default.string.isRequired,phase:o.default.string.isRequired,headerData:o.default.shape({title:o.default.string.isRequired,children:o.default.arrayOf(o.default.shape({title:o.default.string.isRequired,href:o.default.string.isRequired})).isRequired})};var c=l;t.default=c,e.exports=t.default},function(e,t,n){function r(e){"@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),e}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=g();return function(){var n,r=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),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){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,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.124.1"]={"@babel/runtime":"7.15.4","@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.30.1","bbc-morph-bitesize-global-navigation-view":"1.54.1","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.default=t.exports,t.exports.__esModule=!0},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,C=I&&I.stringify,M=d("_hidden"),R=d("toPrimitive"),W={}.propertyIsEnumerable,D=s("symbol-registry"),L=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=L[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(L,e)?(n.enumerable?(o(t,M)&&t[M][e]&&(t[M][e]=!1),n=O(n,{enumerable:x(0,!1)})):(o(t,M)||S(t,M,x(1,{})),t[M][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(L,t)&&!o(B,t))&&(!(e||!o(this,t)||!o(L,t)||o(this,M)&&this[M][t])||e)},J=function(t,e){if(t=_(t),e=w(e,!0),t!==N||!o(L,e)||o(B,e)){var n=E(t,e);return!n||!o(L,e)||o(t,M)&&t[M][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=z(_(t)),r=[],i=0;n.length>i;)o(L,e=n[i++])||e==M||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(L,e=r[u++])||n&&!o(N,e)||i.push(L[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,M)&&o(this[M],t)&&(this[M][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(D,t+="")?D[t]:D[t]=A(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in D)if(D[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]"!=C([t])||"{}"!=C({a:t})||"{}"!=C(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,C.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.default=t.exports,t.exports.__esModule=!0},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.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},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.default=t.exports,t.exports.__esModule=!0},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}var o=n(233);t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},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"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=n=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),n(e)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},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.default=t.exports,t.exports.__esModule=!0},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.124.1"]=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=39)}([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(20)),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/20211020014527/http://www.bbc.co.uk/things/10435de9-7258-4254-957c-203067baccdf#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/543d8d8c-44ed-4020-8328-f14615098c48#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/8328092b-cddc-4201-a05e-db0c075cd5bd#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/999a43f6-53ae-4cd2-a81c-a65886423094#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/a3009169-62f3-4264-b6e8-56b6043cbabc#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/f338d1b2-1330-49a7-91f9-0c17f4fe33bb#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/405f00e2-d547-4b11-85c6-3cc41c2c4c3d#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/8ff85747-2ac0-44ed-8b4f-e06ad21dee61#id","https://web.archive.org/web/20211020014527/http://www.bbc.co.uk/things/893413eb-36d3-4aac-9b5c-fe70a75665b9#id","https://web.archive.org/web/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/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),t}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}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(37)),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)},C=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)},M=function(t,e){return I(t)&&!C(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(38);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=M(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/20211020014527/https://bitesize.files.bbci.co.uk/images/phases/primary/primary-index-alt.png":"secondary-index"===t.pageType?"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/images/phases/secondary/".concat(t.pageType,".svg"):"this-terms-topics"===t.pageType?"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/images/svgs/this-terms-topics.svg":"https://web.archive.org/web/20211020014527/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(18)),l=o(n(22)),p=n(5),d=o(n(23)),h=o(n(25)),y=o(n(35)),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,C=t.setNotificationMessage,M=t.showPartOf,R=t.displayPartialWidth,W=t.displaySubjectIllustration,D=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"},D),"guide"!==E&&u.default.createElement("h1",{className:"context-panel__header"},D)),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)),M&&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:C,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:"",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,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){var e=t.levelLabel,n=t.levelId,r=t.examspecLabel,o=t.examspecId,u=t.subdirectory;return i.default.createElement("div",{className:"level-filter"},i.default.createElement("div",{className:"level-filter__items"},i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-level",href:"/".concat(u,"/levels/").concat(n),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"level"})},e)),r&&i.default.createElement("div",{className:"level-filter__item"},i.default.createElement("a",{className:"level-filter__item-examspec",href:"/".concat(u,"/examspecs/").concat(o),"data-bbc-container":"context-navigation","data-bbc-metadata":JSON.stringify({CHD:"examspec"})},r))))};u.displayName="LevelFilter",u.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize"},u.propTypes={levelLabel:i.PropTypes.string,levelId:i.PropTypes.string,examspecLabel:i.PropTypes.string,examspecId:i.PropTypes.string,subdirectory:i.PropTypes.string};var a=u;e.default=a,t.exports=e.default},function(t,e,n){function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){return t&&t.__esModule?t:{default:t}}function i(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(19)),c=o(n(21)),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(24)),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:"Curated topic"}))return{label:"Learning at Home",link:"/bitesize/this-terms-topics"};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),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){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(26)),m=o(n(27)),_=o(n(28)),w=o(n(29)),x=o(n(7)),O=o(n(30)),j=o(n(9)),P=o(n(1)),k=o(n(31)),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),t}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=h();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){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(32)),b=o(n(33)),m=o(n(34)),_=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(36),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/20211020014527/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(40)),f=r(n(41)),s=r(n(42)),l=r(n(43)),p=r(n(44)),d=r(n(45)),h=r(n(46)),y=r(n(47)),v=r(n(48)),g=r(n(49)),b=r(n(50)),m=r(n(51)),_=r(n(52)),w=r(n(53)),x=r(n(54)),O=r(n(56)),j=r(n(57)),P=r(n(58)),k=r(n(59)),T=r(n(60)),E=r(n(61)),S=r(n(62)),z=r(n(63)),A=r(n(64)),I=["pageType"],C=["pageType"],M={"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 M[e].getData(n)},W=function(t){var e=t.pageType,n=i(t,C);return M[e].parseData(n)},D=function(t){return a.default.createElement(f.default,o({},t,{parseData:W}))},L=c.default.create(D,{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 M)return a.default.createElement(L,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),t}function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=y();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){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.context.body,l=t.levels,p=t.isInApp,d=t.messagingBannerType,h=t.displayAltBerryMan,y=r({pageType:o,data:s,language:e,zid:c,topicId:f}),v="";if(l){var _=(0,b.default)(l.body,function(t){return t.id===y.levelId});v=_?_.phase:""}return g.default.createElement(m.default,u({href:n,language:e,pageType:o,isPreview:i,subdirectory:a,phase:v,isInApp:p,messagingBannerType:d},y,{displayAltBerryMan:h}))}}]),e}(g.Component);w.defaultProps={context:{body:{}},levels:void 0,globalNav:"false",isPreview:void 0,zid:void 0,topicId:void 0,isInApp:!1,href:"",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,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,pageType:"programme-of-study"}},o=function(t){return t.data},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-bitesize-header-data",pageType:"topic",zid:t.zid}},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}},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(55)),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))},C=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)})},M=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:C,isArticleRead:M};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(Le)||[]}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:Ct}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 C(t){return function(e){return t(e)}}function M(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 D(t,e){for(var n=t.length;n--&&x(e,t[n],0)>-1;);return n}function L(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}function B(t){return"\\"+Dn[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,Ct=NaN,Mt=4294967295,Rt=Mt-1,Wt=Mt>>>1,Dt=[["ary",wt],["bind",ht],["bindKey",yt],["curry",gt],["curryRight",bt],["flip",Ot],["partial",mt],["partialRight",_t],["rearg",xt]],Lt="[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,Ce=/^\s+/,Me=/\s+$/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,We=/\{\n\/\* \[wrapped with (.+)\] \*/,De=/,? & /,Le=/[^\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[Lt]=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 Cn={};Cn[Lt]=Cn[Bt]=Cn[ue]=Cn[ae]=Cn[Ft]=Cn[qt]=Cn[ce]=Cn[fe]=Cn[se]=Cn[le]=Cn[pe]=Cn[Ht]=Cn[Zt]=Cn[Yt]=Cn[Qt]=Cn[te]=Cn[ee]=Cn[ne]=Cn[de]=Cn[he]=Cn[ye]=Cn[ve]=!0,Cn[$t]=Cn[Gt]=Cn[oe]=!1;var Mn={"À":"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={"&":"&","<":"<",">":">",'"':""","'":"'"},Wn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ln=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(Mn),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__=Mt,this.__views__=[]}function T(){var t=new b(this.__wrapped__);return t.__actions__=Mo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mo(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 Le(){this.__data__=tl?tl(null):{},this.size=0}function Ye(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function Je(t){var e=this.__data__;if(tl){var n=e[t];return n===ut?nt:n}return hs.call(e,t)?e[t]:nt}function Xe(t){var e=this.__data__;return tl?e[t]!==nt:hs.call(e,t)}function Qe(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=tl&&e===nt?ut:e,this}function tn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function en(){this.__data__=[],this.size=0}function nn(t){var e=this.__data__,n=Mn(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=Mn(e,t);return n<0?nt:e[n][1]}function on(t){return Mn(this.__data__,t)>-1}function un(t,e){var n=this.__data__,r=Mn(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(Mo(t),Un(e,0,t.length))}function Tn(t){return Vi(Mo(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 Mn(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,Dc(e),t)}function Dn(t,e){return t&&Ro(e,Lc(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:Mc(t,e[n]);return o}function Un(t,e,n){return t===t&&(n!==nt&&(t=t<=n?t:n),e!==nt&&(t=t>=e?t:e)),t}function $n(t,e,n,r,o,i){var u,c=e&ft,f=e&st,s=e<if(n&&(u=o?n(t,r,o,i):n(t)),u!==nt)return u;if(!ec(t))return t;var l=hp(t);if(l){if(u=ki(t),!c)return Mo(t,u)}else{var p=jl(t),d=p==Gt||p==Kt;if(vp(t))return jo(t,c);if(p==Yt||p==Lt||d&&!o){if(u=f||d?{}:Ti(t),!c)return f?Do(t,Dn(u,t)):Wo(t,Wn(u,t))}else{if(!Cn[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?Lc:Dc,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=Dc(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,C(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,Dc)}function pr(t,e){return t&&yl(t,e,Dc)}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,C(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)==Lt}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==Lt?Yt:c,f=f==Lt?Yt:f;var s=c==Yt,l=f==Yt,p=c==f;if(p&&vp(t)){if(!vp(e))return!1;u=!0,s=!1}if(p&&!s)return i||(i=new vn),u||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 Cr(t){return nc(t)&&jl(t)==te}function Mr(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(!Di(t))return qs(t);var e=[];for(var n in is(t))hs.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Dr(t){if(!ec(t))return Fi(t);var e=Di(t),n=[];for(var r in t)("constructor"!=r||!e&&hs.call(t,r))&&n.push(r);return n}function Lr(t,e){return t<e}function 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 Ci(t)&&Li(e)?Bi(Yi(t),e):function(n){var r=Mc(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)}},Lc)}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=Mo(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,C(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=Mo(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&&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+Ds(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=Ds(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=Ds((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)?Ct:+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:Ci(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 Co(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 Mo(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 Do(t,e){return Ro(t,Ol(t),e)}function Lo(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=Dc(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=L(b,_);if(r&&(b=Io(b,r,o,h)),i&&(b=Co(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,C(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>,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,Dc,xl)}function yi(t){return yr(t,Lc,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 Mi(e)?n["string"==typeof e?"string":"hash"]:n.map}function _i(t){for(var e=Dc(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,Li(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(De):[]}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||Di(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 Ci(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 Mi(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 Di(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ls)}function Li(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?Co(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=Mo(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(Dt,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__=Mo(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)?Mo(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 Cu(t){return t&&t.length?fo(t):[]}function Mu(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 Du(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 Lu(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 Ca(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 Ma(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 Da(t){return $n(t,lt)}function La(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,Dc(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(Di(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):Mo(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,Mt):0}function wc(t){if("number"==typeof t)return t;if(dc(t))return Ct;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)?Ct:+t}function xc(t){return Ro(t,Lc(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),Lc)}function Sc(t,e){return null==t?t:yl(t,bi(e,3),Lc)}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,Dc(t))}function Cc(t){return null==t?[]:dr(t,Lc(t))}function Mc(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 Dc(t){return Ua(t)?xn(t):Wr(t)}function Lc(t){return Ua(t)?xn(t,!0):Dr(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?[]:M(t,Dc(t))}function Jc(t){return null==t?[]:M(t,Lc(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+Ln("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(Ds(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(Ce,""),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?Mt: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=Dc(a),f=M(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),D(r,o)+1).join("")}function mf(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,0,D(r,X(e))+1).join("")}function _f(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,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=Dc(e),o=dr(e,r);null!=n||ec(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=dr(e,Dc(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__=Mo(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function Cf(){return qn._===this&&(qn._=ms),this}function Mf(){}function Rf(t){return t=mc(t),to(function(e){return $r(e,t)})}function Wf(t){return Ci(t)?k(Yi(t)):Zr(t)}function Df(t){return function(e){return null==t?nt:hr(t,e)}}function Lf(){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=Mt,r=$s(t,Mt);e=bi(e),t-=Mt;for(var o=A(r,e);++n<t;)e(n);return o}function $f(t){return hp(t)?d(t,Yi):dc(t)?[t]:Mo(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,Lr):nt}function Jf(t,e){return t&&t.length?ar(t,bi(e,2),Lr):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){}}(),Cs=e.clearTimeout!==qn.clearTimeout&&e.clearTimeout,Ms=es&&es.now!==qn.Date.now&&es.now,Rs=e.setTimeout!==qn.setTimeout&&e.setTimeout,Ws=os.ceil,Ds=os.floor,Ls=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=Le,tt.prototype.delete=Ye,tt.prototype.get=Je,tt.prototype.has=Xe,tt.prototype.set=Qe,tn.prototype.clear=en,tn.prototype.delete=nn,tn.prototype.get=rn,tn.prototype.has=on,tn.prototype.set=un,an.prototype.clear=cn,an.prototype.delete=fn,an.prototype.get=sn,an.prototype.has=ln,an.prototype.set=pn,dn.prototype.add=dn.prototype.push=hn,dn.prototype.has=yn,vn.prototype.clear=gn,vn.prototype.delete=bn,vn.prototype.get=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=Cs||function(t){return qn.clearTimeout(t)},_l=Xs&&1/H(new Xs([,-0]))[1]==zt?function(t){return new Xs(t)}:Mf,wl=el?function(t){return el.get(t)}:Mf,xl=Ls?function(t){return null==t?[]:(t=is(t),s(Ls(t),function(e){return Ts.call(t,e)}))}:Lf,Ol=Ls?function(t){for(var e=[];t;)h(e,xl(t)),t=Ps(t);return e}:Lf,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):[]}),Cl=to(function(t){var e=d(t,_o);return e.length&&e[0]===t[0]?wr(e):[]}),Ml=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),Dl=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}),Ll=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=Lo(function(t,e,n){hs.call(t,n)?++t[n]:Nn(t,n,1)}),Vl=Ho(cu),Yl=Ho(fu),Jl=Lo(function(t,e,n){hs.call(t,n)?t[n].push(e):Nn(t,n,[e])}),Xl=to(function(t,e,n){var r=-1,o="function"==typeof e,u=Ua(t)?ts(t.length):[];return pl(t,function(t){u[++r]=o?i(e,t,n):Or(t,e,n)}),u}),Ql=Lo(function(t,e,n){Nn(t,n,e)}),tp=Lo(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),ep=to(function(t,e){if(null==t)return[];var n=e.length;return n>1&&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=Ms||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],C(bi())):d(sr(e,1),C(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?C(Zn):Pr,vp=Bs||Bf,gp=Vn?C(Vn):kr,bp=Yn?C(Yn):Sr,mp=Jn?C(Jn):Ir,_p=Xn?C(Xn):Cr,wp=Qn?C(Qn):Mr,xp=ni(Lr),Op=ni(function(t,e){return t<=e}),jp=Bo(function(t,e){if(Di(e)||Ua(e))return Ro(e,Dc(e),t),nt;for(var n in e)hs.call(e,n)&&Sn(t,n,e[n])}),Pp=Bo(function(t,e){Ro(e,Lc(e),t)}),kp=Bo(function(t,e,n,r){Ro(e,Lc(e),t,r)}),Tp=Bo(function(t,e,n,r){Ro(e,Dc(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=Lc(i),a=-1,c=u.length;++a<c;){var f=u[a],s=t[f];(s===nt||qa(s,ls[f])&&!hs.call(t,f))&&(t[f]=i[f])}return t}),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),Cp=to(Or),Mp=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}),Dp=di(function(t,e){return null==t?{}:Kr(t,e)}),Lp=ii(Dc),Bp=ii(Lc),Np=$o(function(t,e,n){return e=e.toLowerCase(),t+(n?ef(e):e)}),Fp=$o(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),qp=$o(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),Up=Uo("toLowerCase"),$p=$o(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Gp=$o(function(t,e,n){return t+(n?" ":"")+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=Cc,n.groupBy=Jl,n.initial=vu,n.intersection=Cl,n.intersectionBy=Ml,n.intersectionWith=Rl,n.invert=Ap,n.invertBy=Ip,n.invokeMap=Xl,n.iteratee=Sf,n.keyBy=Ql,n.keys=Dc,n.keysIn=Lc,n.map=la,n.mapKeys=Bc,n.mapValues=Nc,n.matches=zf,n.matchesProperty=Af,n.memoize=Ea,n.merge=Mp,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=Dp,n.pickBy=qc,n.property=Wf,n.propertyOf=Df,n.pull=Wl,n.pullAll=wu,n.pullAllBy=xu,n.pullAllWith=Ou,n.pullAt=Dl,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=Cu,n.sortedUniqBy=Mu,n.split=df,n.spread=Ia,n.tail=Ru,n.take=Wu,n.takeRight=Du,n.takeRightWhile=Lu,n.takeWhile=Bu,n.tap=Zu,n.throttle=Ca,n.thru=Vu,n.toArray=gc,n.toPairs=Lp,n.toPairsIn=Bp,n.toPath=$f,n.toPlainObject=xc,n.transform=Kc,n.unary=Ma,n.union=Ll,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=Lp,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=Da,n.cloneDeep=Ba,n.cloneDeepWith=Na,n.cloneWith=La,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=Mc,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=Cp,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=Lf,n.stubFalse=Bf,n.stubObject=Nf,n.stubString=Ff,n.stubTrue=qf,n.multiply=fd,n.nth=_u,n.noConflict=Cf,n.noop=Mf,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,Mt),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(Mt)},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?C(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=M(M({},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))),D(K,function(t){return D(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},C=I.ary,M=I.assign,R=I.clone,W=I.curry,D=I.forEach,L=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 L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return 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 D(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),D(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 D(K,function(t){D(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&V.push([t,O(t,e,Z)])})}),D(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])}}),D(V,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,D(q(Z),function(t){D(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 C(t){return t?t.slice(0,tt(t)+1).replace(Re,""):t}function M(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 D(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 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,Ct=1/0,Mt=9007199254740991,Rt=1.7976931348623157e308,Wt=NaN,Dt=4294967295,Lt=Dt-1,Bt=Dt>>>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,Ce=/[\\^$.*+?()[\]{}|]/g,Me=RegExp(Ce.source),Re=/^\s+/,We=/\s/,De=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Le=/\{\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 ]/,Cn=["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"],Mn=-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 Dn={"À":"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"},Ln={"&":"&","<":"<",">":">",'"':""","'":"'"},Bn={"&":"&","<":"<",">":">",""":'"',"'":"'"},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(Dn),ir=T(Ln),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__=Dt,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)||Ci(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 Dn(t,e,n,r){return hl(t,function(t,o,i){e(r,t,n(t),i)}),r}function Ln(t,e){return t&&Do(e,Bc(e),t)}function Bn(t,e){return t&&Do(e,Nc(e),t)}function Nn(t,e,n){"__proto__"==e&&Ms?Ms(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)):Lo(t,Ln(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,M(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:Cs&&Cs 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,M(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 Cr(t){return!(!rc(t)||Li(t))&&(tc(t)?xs:He).test(Qi(t))}function Mr(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 Dr(t){return"function"==typeof t?t:null==t?zf:"object"==typeof t?vp(t)?Ur(t[0],t[1]):qr(t):Lf(t)}function Lr(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?Lc(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,Ci(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,M(_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 Co(t,e,n)})}function Zr(t,e){return Vr(t,e,function(e,n){return Lc(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,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&&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;Ci(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(Ls((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>Mt)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:Ci(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,Lt)}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==-Ct?"-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 Co(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 Mo(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 Do(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 Lo(t,e){return Do(t,jl(t),e)}function Bo(t,e){return Do(t,Pl(t),e)}function No(t,e){return function(n,r){var o=vp(n)?u:Dn,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&&Mi(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>,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&&Di(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&&Di(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=Mo(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>,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,M(_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,Ls(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>,a=Ho(t);return o}function ri(t){return function(e,n,r){return r&&"number"!=typeof r&&Mi(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 Di(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?Dr: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 Cr(n)?n:ot}function ji(t){var e=vs.call(t,Cs),n=t[Cs];try{t[Cs]=ot;var r=!0}catch(t){}var o=ms.call(t);return r&&(e?t[Cs]=n:delete t[Cs]),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(Le);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)&&Ci(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(De,"{\n/* [wrapped with "+e+"] */\n")}function Ii(t){return vp(t)||yp(t)||!!(As&&t&&t[As])}function Ci(t,e){var n=typeof t;return!!(e=null==e?Mt:e)&&("number"==n||"symbol"!=n&&Ve.test(t))&&t>-1&&t%1==0&&t<e}function Mi(t,e,n){if(!rc(n))return!1;var r=typeof e;return!!("number"==r?Ga(n)&&Ci(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 Di(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 Li(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>&&(t[2]=e[2],o|=n>?0:mt);var a=e[3];if(a){var c=t[3];t[3]=c?Mo(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]=Ci(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==-Ct?"-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?Mi(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(Ls(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&&Mi(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,Ct):[]}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&&Mi(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 Cu(t,e,n){return so(t,e,_i(n,2),!0)}function Mu(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 Du(t){var e=null==t?0:t.length;return e?ao(t,1,e):[]}function Lu(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&&Mi(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),Ct)}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?Mi(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:Lr(t).length}function xa(t,e,n){var r=vp(t)?g:co;return n&&Mi(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 Ca(t,e){if("function"!=typeof t)throw new ss(at);return e=e===ot?e:wc(e),no(t,e)}function Ma(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 Da(t,e){return sp(Oo(e),t)}function La(){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!Lr(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<=Mt}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 Cr(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>=-Mt&&t<=Mt}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))===Ct||t===-Ct?(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,Dt):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=C(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 Do(t,Nc(t))}function Pc(t){return t?$n(wc(t),-Mt,Mt):0===t?t:0}function kc(t){return null==t?"":ho(t)}function Tc(t,e){var n=dl(t);return null==e?n:Ln(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 Cc(t,e){return t&&hr(t,_i(e,3))}function Mc(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 Dc(t,e){return null!=t&&Ti(t,e,_r)}function Lc(t,e){return null!=t&&Ti(t,e,wr)}function Bc(t){return Ga(t)?jn(t):Lr(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&&Mi(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&&Me.test(t)?t.replace(Ce,"\\$&"):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(Ls(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?Mi(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&&Mi(t,e,n)&&(e=n=ot),(n=n===ot?Dt: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&&Mi(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["+ ++Mn+"]")+"\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 C(t);if(!t||!(e=ho(e)))return t;var r=Q(t),o=Q(e);return Po(r,D(r,o),L(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,L(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,D(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 Dr("function"==typeof t?t:Kn(t,pt))}function If(t){return qr(Kn(t,pt))}function Cf(t,e){return Ur(t,Kn(e,pt))}function Mf(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 Df(t){return t=wc(t),no(function(e){return Kr(e,t)})}function Lf(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>Mt)return[];var n=Dt,r=Ks(t,Dt);e=_i(e),t-=Dt;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,Cn));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(Ce,"\\$&").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,Cs=js?js.toStringTag:ot,Ms=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,Ds=e.setTimeout!==Gn.setTimeout&&e.setTimeout,Ls=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=Ms?function(t,e){return Ms(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]==Ct?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=Ds||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)):[]}),Cl=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)):[]}),Ml=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)):[]}),Dl=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):[]}),Ll=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 Ci(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&&Ci(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&&Mi(t,e[0],e[1])?e=[]:n>2&&Mi(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],M(_i())):d(pr(e,1),M(_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?M(Jn):Tr,bp=Fs||Ff,mp=Xn?M(Xn):Er,_p=Qn?M(Qn):Ar,wp=tr?M(tr):Mr,xp=er?M(er):Rr,Op=nr?M(nr):Wr,jp=oi(Nr),Pp=oi(function(t,e){return t<=e}),kp=Fo(function(t,e){if(Bi(e)||Ga(e))return Do(e,Bc(e),t),ot;for(var n in e)vs.call(e,n)&&An(t,n,e[n])}),Tp=Fo(function(t,e){Do(e,Nc(e),t)}),Ep=Fo(function(t,e,n,r){Do(e,Nc(e),t,r)}),Sp=Fo(function(t,e,n,r){Do(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&&Mi(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(Dp,ot,t)}),Cp=Xo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=ms.call(e)),t[e]=n},Ef(zf)),Mp=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)}),Dp=Fo(function(t,e,n,r){$r(t,e,n,r)}),Lp=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}),Do(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=La,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=Cl,n.differenceWith=Ml,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=Mc,n.functionsIn=Rc,n.groupBy=Ql,n.initial=bu,n.intersection=Rl,n.intersectionBy=Wl,n.intersectionWith=Dl,n.invert=Cp,n.invertBy=Mp,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=Cf,n.memoize=za,n.merge=Wp,n.mergeWith=Dp,n.method=td,n.methodOf=ed,n.mixin=Mf,n.negate=Aa,n.nthArg=Df,n.omit=Lp,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=Lf,n.propertyOf=Bf,n.pull=Ll,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=Ca,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=Ma,n.tail=Du,n.take=Lu,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=Da,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,Mf(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=Cc,n.get=Wc,n.gt=dp,n.gte=hp,n.has=Dc,n.hasIn=Lc,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=Cu,n.sortedLastIndexOf=Mu,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,Mf(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,Dt),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(Dt)},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?C(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=M(M({},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))),D(K,function(t){return D(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},C=I.ary,M=I.assign,R=I.clone,W=I.curry,D=I.forEach,L=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 L(e)?t(i(e)):t.apply(void 0,arguments)}},iteratee:function(t){return function(){var e=arguments[0],n=arguments[1],r=t(e,n),i=r.length;return 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 D(q(e),function(t){N(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),D(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 D(K,function(t){D(s.aryMethod[t],function(t){var e=Z[s.remap[t]||t];e&&V.push([t,O(t,e,Z)])})}),D(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])}}),D(V,function(t){Z[t[0]]=t[1]}),Z.convert=b,Z.placeholder=Z,D(q(Z),function(t){D(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.54.1"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.HeaderImageContainer=void 0;var o=r(n(0)),i=(r(n(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.default=t.exports,t.exports.__esModule=!0,n(e,r)}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},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,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/20211020014527/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.default=t.exports,t.exports.__esModule=!0},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/20211020014527/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/20211020014527/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/20211020014527/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/20211020014527/https://api.whatsapp.com/send":"https://web.archive.org/web/20211020014527/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/20211020014527/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/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-primary.js",geography:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-geography.js","english-lit":"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lit.js","english-lang":"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-english-lang.js",language:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-language.js",maths:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-maths.js",science:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-primary-science.js"},secondary:{universal:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-universal-secondary.js",geography:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-geography.js","english-lit":"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lit.js","english-lang":"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-english-lang.js",language:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-language.js",maths:"https://web.archive.org/web/20211020014527/https://bitesize.files.bbci.co.uk/scripts/sparks/v2/sparks-secondary-maths.js",science:"https://web.archive.org/web/20211020014527/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.124.1",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.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-header-view","href":"\/bitesize\/secondary-games","pageType":"secondary-games","globalNav":"true","subdirectory":"bitesize","branding":"phase2","language":"en-GB","version":"8.124.1","_mrrVersion":"2.2.1"},'u1346875200603892'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20211020014527/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(); } /* u1346875200603892 */</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-classnames@1.0.2"]={classnames:"2.2.5"},function(r){function o(s){if(n[s])return n[s].exports;var e=n[s]={exports:{},id:s,loaded:!1};return r[s].call(e.exports,e,e.exports,o),e.loaded=!0,e.exports}var n={};o.m=r,o.c=n,o.p="",o(0)}([function(r,o,n){Morph.modules["bbc-morph-classnames@1.0.2"]=n(1)},function(r,o,n){var s=n(2);r.exports=s},function(r,o,n){var s,e;!function(){"use strict";function n(){for(var r=[],o=0;o<arguments.length;o++){var s=arguments[o];if(s){var e=typeof s;if("string"===e||"number"===e)r.push(s);else if(Array.isArray(s))r.push(n.apply(null,s));else if("object"===e)for(var a in s)t.call(s,a)&&s[a]&&r.push(a)}}return r.join(" ")}var t={}.hasOwnProperty;void 0!==r&&r.exports?r.exports=n:(s=[],void 0!==(e=function(){return n}.apply(o,s))&&(r.exports=e))}()}]);; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-gel-icons@5.0.5"]={"bbc-morph-classnames":"1.0.2","morph-require":"5.2.1","react":"0.14.7"}; !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=0)}([function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));Morph.modules["bbc-morph-gel-icons@5.0.5"]=r.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(3)),a=r(n(4)),l=i.default.createClass({displayName:"Icon",render:function(){var e=this.props,t=e.iconName,n=e.additionalClassNames,r=e.iconOnly,l="";try{var u=o.default.selfTransitiveThenUpdate("gel-icon-".concat(t),this);if(!u)throw new Error;l=i.default.createElement(u,null)}catch(e){l=i.default.createElement("noscript",null)}if(r)return l;var c=(0,a.default)("gel-icon","gel-icon--".concat(t),n);return i.default.createElement("div",{className:c},l)}});l.displayName="GEL__Icon",l.propTypes={iconName:i.default.PropTypes.string,additionalClassNames:i.default.PropTypes.string,wrapperElement:i.default.PropTypes.string},l.ensureIcon=function(e){"undefined"==typeof window&&o.default.selfTransitive("gel-icon-".concat(e),null)};var u=l;t.default=u},function(e,t){e.exports=React},function(e,t){e.exports={transitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@5.0.5",e,t)},selfTransitive:function(e,t){return Morph.requireTransitiveWithCaller("bbc-morph-gel-icons@5.0.5",e,t,!0)},transitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@5.0.5",e,t)},selfTransitiveThenUpdate:function(e,t){return Morph.requireTransitiveWithCallerThenUpdate("bbc-morph-gel-icons@5.0.5",e,t,!0)}}},function(e,t){e.exports=Morph.modules["bbc-morph-classnames@1.0.2"]}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { Morph.versions["bbc-morph-bitesize-promo-view@1.2.0"]={"@babel/runtime":"7.13.10","@bbcce/bitesize-branding":"13.0.0","@bbcce/education-bitesize-heading-link":"2.0.3","@bbcce/education-content-panel":"1.0.0","@bbcce/education-grid":"1.0.0","@bbcce/education-promo":"3.0.1","bbc-morph-bitesize-dynamic-index-data":"1.12.0","bbc-morph-gel-icons":"5.0.5","core-js":"3.9.1","gel-typography":"2.0.5","morph-container":"4.0.0","react":"0.14.7"}; !function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=88)}([function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(e,r(90))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,r){var n=r(0),o=r(33),i=r(4),a=r(27),u=r(36),c=r(60),s=o("wks"),f=n.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)&&(u||"string"==typeof s[t])||(u&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},function(t,e,r){var n=r(2);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,r){var n=r(0),o=r(22).f,i=r(8),a=r(11),u=r(31),c=r(55),s=r(59);t.exports=function(t,e){var r,f,l,p,d,v=t.target,y=t.global,h=t.stat;if(r=y?n:h?n[v]||u(v,{}):(n[v]||{}).prototype)for(f in e){if(p=e[f],t.noTargetGet?(d=o(r,f),l=d&&d.value):l=r[f],!s(y?f:v+(h?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,t)}}},function(t,e,r){var n=r(9),o=r(51),i=r(5),a=r(24),u=Object.defineProperty;e.f=n?u:function(t,e,r){if(i(t),e=a(e,!0),i(r),o)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},function(t,e,r){var n=r(9),o=r(7),i=r(14);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},function(t,e,r){var n=r(1);t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e,r){var n=r(50),o=r(23);t.exports=function(t){return n(o(t))}},function(t,e,r){var n=r(0),o=r(8),i=r(4),a=r(31),u=r(53),c=r(12),s=c.get,f=c.enforce,l=String(String).split("String");(t.exports=function(t,e,r,u){var c,s=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;if("function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),c=f(r),c.source||(c.source=l.join("string"==typeof e?e:""))),t===n)return void(p?t[e]=r:a(e,r));s?!d&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&s(this).source||u(this)})},function(t,e,r){var n,o,i,a=r(54),u=r(0),c=r(2),s=r(8),f=r(4),l=r(32),p=r(25),d=r(16),v=u.WeakMap,y=function(t){return i(t)?o(t):n(t,{})},h=function(t){return function(e){var r;if(!c(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(a){var g=l.state||(l.state=new v),m=g.get,b=g.has,x=g.set;n=function(t,e){return e.facade=t,x.call(g,t,e),e},o=function(t){return m.call(g,t)||{}},i=function(t){return b.call(g,t)}}else{var O=p("state");d[O]=!0,n=function(t,e){return e.facade=t,s(t,O,e),e},o=function(t){return f(t,O)?t[O]:{}},i=function(t){return f(t,O)}}t.exports={set:n,get:o,has:i,enforce:y,getterFor:h}},function(t,e,r){var n=r(23);t.exports=function(t){return Object(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){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,e){t.exports={}},function(t,e,r){var n=r(56),o=r(0),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},function(t,e,r){var n=r(28),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e){t.exports={}},function(t,e){t.exports=React},function(t,e){function r(t){return t&&t.__esModule?t:{default:t}}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n=r(9),o=r(49),i=r(14),a=r(10),u=r(24),c=r(4),s=r(51),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=u(e,!0),s)try{return f(t,e)}catch(t){}if(c(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,r){var n=r(2);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,r){var n=r(33),o=r(27),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports=!1},function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},function(t,e,r){var n,o=r(5),i=r(96),a=r(35),u=r(16),c=r(97),s=r(52),f=r(25),l=f("IE_PROTO"),p=function(){},d=function(t){return"<script>"+t+"<\/script>"},v=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=s("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),t=e.contentWindow.document,t.open(),t.write(d("document.F=Object")),t.close(),t.F},h=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}h=n?v(n):y();for(var t=a.length;t--;)delete h.prototype[a[t]];return h()};u[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(p.prototype=o(t),r=new p,p.prototype=null,r[l]=t):r=h(),void 0===e?r:i(r,e)}},function(t,e,r){var n=r(7).f,o=r(4),i=r(3),a=i("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,a)&&n(t,a,{configurable:!0,value:e})}},function(t,e,r){var n=r(0),o=r(8);t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},function(t,e,r){var n=r(0),o=r(31),i=n["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,r){var n=r(26),o=r(32);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,e,r){var n=r(57),o=r(35),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,r){var n=r(94),o=r(37),i=r(1);t.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)})},function(t,e,r){var n,o,i=r(0),a=r(95),u=i.process,c=u&&u.versions,s=c&&c.v8;s?(n=s.split("."),o=n[0]+n[1]):a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},function(t,e,r){var n=r(15);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,r){var n=r(64),o=r(50),i=r(13),a=r(18),u=r(65),c=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,p=7==t,d=5==t||l;return function(v,y,h,g){for(var m,b,x=i(v),O=o(x),_=n(y,h,3),P=a(O.length),w=0,S=g||u,E=e?S(v,P):r||p?S(v,0):void 0;P>w;w++)if((d||w in O)&&(m=O[w],b=_(m,w,x),t))if(e)E[w]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return w;case 2:c.call(E,m)}else switch(t){case 4:return!1;case 7:c.call(E,m)}return l?-1:s||f?f:E}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,r){var n=r(3),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},function(t,e,r){var n=r(4),o=r(13),i=r(25),a=r(74),u=i("IE_PROTO"),c=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,e,r){"use strict";var n=r(10),o=r(102),i=r(19),a=r(12),u=r(72),c=a.set,s=a.getterFor("Array Iterator");t.exports=u(Array,"Array",function(t,e){c(this,{type:"Array Iterator",target:n(t),index:0,kind:e})},function(){var t=s(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,r){var n=r(16),o=r(2),i=r(4),a=r(7).f,u=r(27),c=r(104),s=u("meta"),f=0,l=Object.isExtensible||function(){return!0},p=function(t){a(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},d=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,s)){if(!l(t))return"F";if(!e)return"E";p(t)}return t[s].objectID},v=function(t,e){if(!i(t,s)){if(!l(t))return!0;if(!e)return!1;p(t)}return t[s].weakData},y=function(t){return c&&h.REQUIRED&&l(t)&&!i(t,s)&&p(t),t},h=t.exports={REQUIRED:!1,fastKey:d,getWeakData:v,onFreeze:y};n[s]=!0},function(t,e,r){"use strict";var n=r(6),o=r(46);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,r){"use strict";var n=r(116),o=r(117),i=RegExp.prototype.exec,a=String.prototype.replace,u=i,c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),s=o.UNSUPPORTED_Y||o.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(c||f||s)&&(u=function(t){var e,r,o,u,l=this,p=s&&l.sticky,d=n.call(l),v=l.source,y=0,h=t;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),h=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(v="(?: "+v+")",h=" "+h,y++),r=new RegExp("^(?:"+v+")",d)),f&&(r=new RegExp("^"+v+"$(?!\\s)",d)),c&&(e=l.lastIndex),o=i.call(p?r:l,h),p?o?(o.input=o.input.slice(y),o[0]=o[0].slice(y),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:c&&o&&(l.lastIndex=l.global?o.index+o[0].length:e),f&&o&&o.length>1&&a.call(o[0],r,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)}),o}),t.exports=u},function(t,e,r){t.exports=r(124)()},function(t,e,r){"use strict";var n=r(6),o=r(0),i=r(17),a=r(26),u=r(9),c=r(36),s=r(60),f=r(1),l=r(4),p=r(38),d=r(2),v=r(5),y=r(13),h=r(10),g=r(24),m=r(14),b=r(29),x=r(61),O=r(34),_=r(98),P=r(58),w=r(22),S=r(7),E=r(49),R=r(8),T=r(11),j=r(33),A=r(25),I=r(16),M=r(27),N=r(3),k=r(62),z=r(63),C=r(30),D=r(12),L=r(39).forEach,q=A("hidden"),W=N("toPrimitive"),U=D.set,F=D.getterFor("Symbol"),G=Object.prototype,$=o.Symbol,B=i("JSON","stringify"),H=w.f,V=S.f,Y=_.f,K=E.f,Q=j("symbols"),J=j("op-symbols"),X=j("string-to-symbol-registry"),Z=j("symbol-to-string-registry"),tt=j("wks"),et=o.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=u&&f(function(){return 7!=b(V({},"a",{get:function(){return V(this,"a",{value:7}).a}})).a})?function(t,e,r){var n=H(G,e);n&&delete G[e],V(t,e,r),n&&t!==G&&V(G,e,n)}:V,ot=function(t,e){var r=Q[t]=b($.prototype);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof $},at=function(t,e,r){t===G&&at(J,e,r),v(t);var n=g(e,!0);return v(r),l(Q,n)?(r.enumerable?(l(t,q)&&t[q][n]&&(t[q][n]=!1),r=b(r,{enumerable:m(0,!1)})):(l(t,q)||V(t,q,m(1,{})),t[q][n]=!0),nt(t,n,r)):V(t,n,r)},ut=function(t,e){v(t);var r=h(e),n=x(r).concat(pt(r));return L(n,function(e){u&&!st.call(r,e)||at(t,e,r[e])}),t},ct=function(t,e){return void 0===e?b(t):ut(b(t),e)},st=function(t){var e=g(t,!0),r=K.call(this,e);return!(this===G&&l(Q,e)&&!l(J,e))&&(!(r||!l(this,e)||!l(Q,e)||l(this,q)&&this[q][e])||r)},ft=function(t,e){var r=h(t),n=g(e,!0);if(r!==G||!l(Q,n)||l(J,n)){var o=H(r,n);return!o||!l(Q,n)||l(r,q)&&r[q][n]||(o.enumerable=!0),o}},lt=function(t){var e=Y(h(t)),r=[];return L(e,function(t){l(Q,t)||l(I,t)||r.push(t)}),r},pt=function(t){var e=t===G,r=Y(e?J:h(t)),n=[];return L(r,function(t){!l(Q,t)||e&&!l(G,t)||n.push(Q[t])}),n};if(c||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=M(t),r=function(t){this===G&&r.call(J,t),l(this,q)&&l(this[q],e)&&(this[q][e]=!1),nt(this,e,m(1,t))};return u&&rt&&nt(G,e,{configurable:!0,set:r}),ot(e,t)},T($.prototype,"toString",function(){return F(this).tag}),T($,"withoutSetter",function(t){return ot(M(t),t)}),E.f=st,S.f=at,w.f=ft,O.f=_.f=lt,P.f=pt,k.f=function(t){return ot(N(t),t)},u&&(V($.prototype,"description",{configurable:!0,get:function(){return F(this).description}}),a||T(G,"propertyIsEnumerable",st,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:$}),L(x(tt),function(t){z(t)}),n({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(l(X,e))return X[e];var r=$(e);return X[e]=r,Z[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(l(Z,t))return Z[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:ct,defineProperty:at,defineProperties:ut,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:lt,getOwnPropertySymbols:pt}),n({target:"Object",stat:!0,forced:f(function(){P.f(1)})},{getOwnPropertySymbols:function(t){return P.f(y(t))}}),B){n({target:"JSON",stat:!0,forced:!c||f(function(){var t=$();return"[null]"!=B([t])||"{}"!=B({a:t})||"{}"!=B(Object(t))})},{stringify:function(t,e,r){for(var n,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=e,(d(e)||void 0!==t)&&!it(t))return p(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,B.apply(null,o)}})}$.prototype[W]||R($.prototype,W,$.prototype.valueOf),C($,"Symbol"),I[q]=!0},function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},function(t,e,r){var n=r(1),o=r(15),i="".split;t.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,r){var n=r(9),o=r(1),i=r(52);t.exports=!n&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(t,e,r){var n=r(0),o=r(2),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,r){var n=r(32),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},function(t,e,r){var n=r(0),o=r(53),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,e,r){var n=r(4),o=r(91),i=r(22),a=r(7);t.exports=function(t,e){for(var r=o(e),u=a.f,c=i.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||u(t,f,c(e,f))}}},function(t,e,r){var n=r(0);t.exports=n},function(t,e,r){var n=r(4),o=r(10),i=r(92).indexOf,a=r(16);t.exports=function(t,e){var r,u=o(t),c=0,s=[];for(r in u)!n(a,r)&&n(u,r)&&s.push(r);for(;e.length>c;)n(u,r=e[c++])&&(~i(s,r)||s.push(r));return s}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,r){var n=r(1),o=/#|\.prototype\./,i=function(t,e){var r=u[a(t)];return r==s||r!=c&&("function"==typeof e?n(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},c=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,r){var n=r(36);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,r){var n=r(57),o=r(35);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e,r){var n=r(3);e.f=n},function(t,e,r){var n=r(56),o=r(4),i=r(62),a=r(7).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,r){var n=r(40);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,r){var n=r(2),o=r(38),i=r(3),a=i("species");t.exports=function(t,e){var r;return o(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[a])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},function(t,e,r){"use strict";var n=r(6),o=r(9),i=r(0),a=r(4),u=r(2),c=r(7).f,s=r(55),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(p,f);var d=p.prototype=f.prototype;d.constructor=p;var v=d.toString,y="Symbol(test)"==String(f("test")),h=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var t=u(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var r=y?e.slice(7,-1):e.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},function(t,e,r){var n=r(41),o=r(11),i=r(99);n||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,e,r){var n=r(41),o=r(15),i=r(3),a=i("toStringTag"),u="Arguments"==o(function(){return arguments}()),c=function(t,e){try{return t[e]}catch(t){}};t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=c(e=Object(t),a))?r:u?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},function(t,e,r){r(63)("iterator")},function(t,e,r){"use strict";var n=r(71).charAt,o=r(12),i=r(72),a=o.set,u=o.getterFor("String Iterator");i(String,"String",function(t){a(this,{type:"String Iterator",string:String(t),index:0})},function(){var t,e=u(this),r=e.string,o=e.index;return o>=r.length?{value:void 0,done:!0}:(t=n(r,o),e.index+=t.length,{value:t,done:!1})})},function(t,e,r){var n=r(28),o=r(23),i=function(t){return function(e,r){var i,a,u=String(o(e)),c=n(r),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c),i<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,r){"use strict";var n=r(6),o=r(100),i=r(42),a=r(75),u=r(30),c=r(8),s=r(11),f=r(3),l=r(26),p=r(19),d=r(73),v=d.IteratorPrototype,y=d.BUGGY_SAFARI_ITERATORS,h=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,d,m,b){o(r,e,f);var x,O,_,P=function(t){if(t===d&&T)return T;if(!y&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},w=e+" Iterator",S=!1,E=t.prototype,R=E[h]||E["@@iterator"]||d&&E[d],T=!y&&R||P(d),j="Array"==e?E.entries||R:R;if(j&&(x=i(j.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(a?a(x,v):"function"!=typeof x[h]&&c(x,h,g)),u(x,w,!0,!0),l&&(p[w]=g))),"values"==d&&R&&"values"!==R.name&&(S=!0,T=function(){return R.call(this)}),l&&!b||E[h]===T||c(E,h,T),p[e]=T,d)if(O={values:P("values"),keys:m?T:P("keys"),entries:P("entries")},b)for(_ in O)!y&&!S&&_ in E||s(E,_,O[_]);else n({target:e,proto:!0,forced:y||S},O);return O}},function(t,e,r){"use strict";var n,o,i,a=r(1),u=r(42),c=r(8),s=r(4),f=r(3),l=r(26),p=f("iterator"),d=!1,v=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=u(u(i)))!==Object.prototype&&(n=o):d=!0);var y=void 0==n||a(function(){var t={};return n[p].call(t)!==t});y&&(n={}),l&&!y||s(n,p)||c(n,p,v),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},function(t,e,r){var n=r(1);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},function(t,e,r){var n=r(5),o=r(101);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(t){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},function(t,e,r){var n=r(0),o=r(103),i=r(43),a=r(8),u=r(3),c=u("iterator"),s=u("toStringTag"),f=i.values;for(var l in o){var p=n[l],d=p&&p.prototype;if(d){if(d[c]!==f)try{a(d,c,f)}catch(t){d[c]=f}if(d[s]||a(d,s,l),o[l])for(var v in i)if(d[v]!==i[v])try{a(d,v,i[v])}catch(t){d[v]=i[v]}}}},function(t,e,r){"use strict";var n,o=r(0),i=r(78),a=r(44),u=r(105),c=r(111),s=r(2),f=r(12).enforce,l=r(54),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},y=t.exports=u("WeakMap",v,c);if(l&&p){n=c.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var h=y.prototype,g=h.delete,m=h.has,b=h.get,x=h.set;i(h,{delete:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),g.call(this,t)||e.frozen.delete(t)}return g.call(this,t)},has:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!d(t)){var e=f(this);return e.frozen||(e.frozen=new n),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!d(t)){var r=f(this);r.frozen||(r.frozen=new n),m.call(this,t)?x.call(this,t,e):r.frozen.set(t,e)}else x.call(this,t,e);return this}})}},function(t,e,r){var n=r(11);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},function(t,e,r){var n=r(5),o=r(106),i=r(18),a=r(64),u=r(107),c=r(108),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,r){var f,l,p,d,v,y,h,g=r&&r.that,m=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),x=!(!r||!r.INTERRUPTED),O=a(e,g,1+m+x),_=function(t){return f&&c(f),new s(!0,t)},P=function(t){return m?(n(t),x?O(t[0],t[1],_):O(t[0],t[1])):x?O(t,_):O(t)};if(b)f=t;else{if("function"!=typeof(l=u(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,d=i(t.length);d>p;p++)if((v=P(t[p]))&&v instanceof s)return v;return new s(!1)}f=l.call(t)}for(y=f.next;!(h=y.call(f)).done;){try{v=P(h.value)}catch(t){throw c(f),t}if("object"==typeof v&&v&&v instanceof s)return v}return new s(!1)}},function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},function(t,e,r){var n=r(6),o=r(1),i=r(10),a=r(22).f,u=r(9),c=o(function(){a(1)});n({target:"Object",stat:!0,forced:!u||c,sham:!u},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},function(t,e,r){var n=r(6),o=r(17),i=r(40),a=r(5),u=r(2),c=r(29),s=r(112),f=r(1),l=o("Reflect","construct"),p=f(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),d=!f(function(){l(function(){})}),v=p||d;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){i(t),a(e);var r=arguments.length<3?t:i(arguments[2]);if(d&&!p)return l(t,e,r);if(t==r){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])}var n=[null];return n.push.apply(n,e),new(s.apply(t,n))}var o=r.prototype,f=c(u(o)?o:Object.prototype),v=Function.apply.call(t,f,e);return u(v)?v:f}})},function(t,e,r){var n=r(6),o=r(1),i=r(13),a=r(42),u=r(74);n({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!u},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,r){"use strict";var n=r(6),o=r(39).map;n({target:"Array",proto:!0,forced:!r(85)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,r){var n=r(1),o=r(3),i=r(37),a=o("species");t.exports=function(t){return i>=51||!n(function(){var e=[],r=e.constructor={};return r[a]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(t,e,r){"use strict";var n=r(115),o=r(5),i=r(18),a=r(28),u=r(23),c=r(118),s=r(119),f=r(120),l=Math.max,p=Math.min,d=function(t){return void 0===t?t:String(t)};n("replace",2,function(t,e,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,h=v?"$":"$0";return[function(r,n){var o=u(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!v&&y||"string"==typeof n&&-1===n.indexOf(h)){var u=r(e,t,this,n);if(u.done)return u.value}var g=o(t),m=String(this),b="function"==typeof n;b||(n=String(n));var x=g.global;if(x){var O=g.unicode;g.lastIndex=0}for(var _=[];;){var P=f(g,m);if(null===P)break;if(_.push(P),!x)break;""===String(P[0])&&(g.lastIndex=c(m,i(g.lastIndex),O))}for(var w="",S=0,E=0;E<_.length;E++){P=_[E];for(var R=String(P[0]),T=l(p(a(P.index),m.length),0),j=[],A=1;A<P.length;A++)j.push(d(P[A]));var I=P.groups;if(b){var M=[R].concat(j,T,m);void 0!==I&&M.push(I);var N=String(n.apply(void 0,M))}else N=s(R,m,T,j,I,n);T>=S&&(w+=m.slice(S,T)+N,S=T+R.length)}return w+m.slice(S)}]})},function(t,e){function r(e){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(t.exports=r=function(t){return typeof t},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.default=t.exports,t.exports.__esModule=!0),r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(89),o=r.n(n);Morph.modules["bbc-morph-bitesize-promo-view@1.2.0"]=o.a},function(t,e,r){"use strict";r(48),r(66),r(67),r(69),r(70),r(43),r(76),r(77),r(81),r(82),r(83),r(84),r(113),r(86),r(45),t.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e){t.exports=r(20)},function(t,e){t.exports=r(77)},function(t,e){t.exports=r(67)},function(t,e){t.exports=r(70)},function(t,e){t.exports=r(43)},function(t,e){t.exports=r(76)},function(t,e){t.exports=r(81)},function(t,e){t.exports=r(48)},function(t,e){t.exports=r(66)},function(t,e){t.exports=r(69)},function(t,e){t.exports=r(21)},function(t,e,r){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(12)),i=n(r(13)),a=o.default.create(i.default,{data:function(t){return{bannerData:{uri:{service:"bitesize-files",path:"/messaging/bannerType/secondary-games.json"},updates:!1,requireSuccess:!0},promos:{uri:{data:"bbc-morph-bitesize-dynamic-index-data",id:t.zid,type:"tags",page:1,pageSize:200},updates:!1}}}});e.default=a,t.exports=e.default},function(t,e){t.exports=r(121)},function(t,e,r){function n(t){"@babel/helpers - typeof";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){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8),r(9),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}return r.default=t,e&&e.set(t,r),r}(r(0)),u=o(r(14)),c=o(r(15)),s=o(r(36)),f=function(t){var e=t.promos,r=t.bannerData,n=t.language,o=JSON.parse(r.body),i=o[n]?o[n]:o["en-GB"];return a.default.createElement(u.default,{brand:"bitesize"},a.default.createElement("div",{className:"promo-view__title-container"},a.default.createElement("h1",{className:"promo-view-title"},e.body.title)),a.default.createElement(s.default,{text:i.body}),a.default.createElement(c.default,{promoContent:e.body}))};f.displayName="App",f.defaultProps={language:"en-GB"},f.propTypes={promos:a.PropTypes.shape({body:a.PropTypes.shape({title:a.PropTypes.string.isRequired,slug:a.PropTypes.string.isRequired,items:a.PropTypes.arrayOf(a.PropTypes.shape({id:a.PropTypes.string.isRequired,title:a.PropTypes.string.isRequired,synopsis:a.PropTypes.string.isRequired,datePublished:a.PropTypes.string.isRequired,modifiedDate:a.PropTypes.string.isRequired,image:a.PropTypes.shape({pid:a.PropTypes.string.isRequired,recipe:a.PropTypes.string.isRequired}).isRequired,attribution:a.PropTypes.string.isRequired}).isRequired).isRequired}).isRequired}).isRequired,bannerData:a.PropTypes.shape({body:a.PropTypes.string.isRequired}).isRequired,language:a.PropTypes.string};var l=f;e.default=l,t.exports=e.default},function(t,e){t.exports=r(122)},function(t,e,r){function n(t){"@babel/helpers - typeof";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){return t&&t.__esModule?t:{default:t}}function i(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return i=function(){return t},t}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function c(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),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&&f(t,e)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=v();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}function p(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?d(t):e}function d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(){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)}r(16),r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8),r(9),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(17),r(18);var h=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=i();if(e&&e.has(t))return e.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}return r.default=t,e&&e.set(t,r),r}(r(0)),g=o(r(19)),m=o(r(20)),b=o(r(33)),x=function(t){return"/bitesize/articles/".concat(t)},O=function(t){return{"data-bbc-container":"content-panel-promo","data-bbc-metadata":JSON.stringify({CHD:"card::".concat(t)})}},_=function(t){function e(t){var n;a(this,e),n=r.call(this,t);var o=n.props.promoContent;return n.state={displayedArticles:o.items},n.pushAtiEvent=n.pushAtiEvent.bind(d(n)),n}s(e,t);var r=l(e);return c(e,[{key:"pushAtiEvent",value:function(t){document.dispatchEvent(new CustomEvent("bbc-user-event",{detail:{container:"subject-filter",label:t,type:"click",isClick:"true"}}))}},{key:"render",value:function(){var t=this.state.displayedArticles;return h.default.createElement("div",{className:"promos-wrapper"},h.default.createElement(g.default,{layout:"bitesize",asList:!0},t.map(function(t,e){var r=t.id,n=t.title,o=t.image,i=t.synopsis,a=t.attribution;return h.default.createElement(m.default,{linkUrl:x(r),title:n,key:r,imageUrl:(0,b.default)(o),synopsis:i,attribution:a,lazyload:!0,dataATIProps:O(e)})})))}}]),e}(h.default.Component);_.displayName="Promos",_.propTypes={promoContent:h.PropTypes.shape({title:h.PropTypes.string.isRequired,slug:h.PropTypes.string.isRequired,items:h.PropTypes.arrayOf(h.PropTypes.shape({id:h.PropTypes.string.isRequired,title:h.PropTypes.string.isRequired,synopsis:h.PropTypes.string.isRequired,datePublished:h.PropTypes.string.isRequired,modifiedDate:h.PropTypes.string.isRequired,image:h.PropTypes.shape({pid:h.PropTypes.string.isRequired,recipe:h.PropTypes.string.isRequired}).isRequired,attribution:h.PropTypes.string.isRequired}).isRequired).isRequired}).isRequired};var P=_;e.default=P,t.exports=e.default},function(t,e){t.exports=r(82)},function(t,e){t.exports=r(84)},function(t,e){t.exports=r(83)},function(t,e){t.exports=r(126)},function(t,e,r){var n=r(10);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(21)),i=o.default;e.default=i,t.exports=e.default},function(t,e,r){var n=r(22),o=r(10);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=o(r(23)),a=o(r(24)),u=o(r(25)),c=o(r(26)),s=o(r(27)),f=o(r(28)),l=n(r(0)),p=o(r(29)),d=o(r(30)),v=r(0).PropTypes||r(32),y=function(t){function e(){return(0,a.default)(this,e),(0,c.default)(this,(0,s.default)(e).apply(this,arguments))}return(0,f.default)(e,t),(0,u.default)(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.brand;t.lazyload&&(0,d.default)(".ec-promo__image--".concat(e,"--lazyload"),"ec-promo__image--".concat(e,"--lazyloaded"))}},{key:"render",value:function(){var t=this.props,e=t.altText,r=t.className,n=t.imageUrl,o=t.title,a=t.synopsis,u=t.linkUrl,c=t.label,s=t.brand,f=t.attribution,d=t.lazyload,v=t.dataATIProps,y=t.completionStatus,h="unseen"===y?"":"--".concat(y);return l.default.createElement("div",{className:(0,p.default)("ec-promo--".concat(s),r)},l.default.createElement("a",(0,i.default)({href:u,className:"ec-promo__link--".concat(s)},v),l.default.createElement("div",{className:"ec-promo__image-container--".concat(s)},l.default.createElement("div",{className:"ec-promo__image-container__16/9"},d?l.default.createElement("div",{className:"ec-promo-image-lazyload-container","aria-hidden":!0},n&&l.default.createElement("div",{className:"ec-promo__image--".concat(s,"--lazyload"),"data-src":n,"data-alt":e||o,"data-class":"promo-image"})):l.default.createElement("img",{className:"ec-promo__image--".concat(s),"data-class":"ec-promo__image",src:n,alt:e}),c?l.default.createElement("span",{"aria-hidden":!0,className:"ec-promo__label--".concat(s)},c):null)),l.default.createElement("div",{className:"ec-promo__text-container--".concat(s)},l.default.createElement("div",{className:"ec-promo__text--".concat(s)},c?l.default.createElement("span",{className:"ec-promo__invisible--".concat(s)},"".concat(c,":")):null,l.default.createElement("h3",{className:"ec-promo__title--".concat(s).concat(h)},o),l.default.createElement("p",{className:"ec-promo__synopsis--".concat(s)},a))),f?l.default.createElement("h5",{className:"ec-promo__attribution--".concat(s)},f):null))}}]),e}(l.Component);e.default=y,y.propTypes={altText:v.string,className:v.string,imageUrl:v.string.isRequired,title:v.string.isRequired,synopsis:v.string,linkUrl:v.string.isRequired,label:v.string,brand:v.string,attribution:v.string,lazyload:v.bool,dataATIProps:v.shape({}),completionStatus:v.string},y.defaultProps={altText:"",className:"",brand:"default",dataATIProps:{},completionStatus:"unseen"},t.exports=e.default},function(t,e){t.exports=r(128)},function(t,e){t.exports=r(129)},function(t,e){t.exports=r(130)},function(t,e){t.exports=r(131)},function(t,e){t.exports=r(132)},function(t,e){t.exports=r(134)},function(t,e){t.exports=r(135)},function(t,e){t.exports=r(137)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lazyload",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"lazyloaded",n=r(31);window.document.querySelector("[data-class]")&&new n(t,{availableWidths:[160,208,240,288,320,336,448,480,576,608,688,832],className:e,lazyload:!0,lazyloadOffset:200,scrollDelay:100})},o=n;e.default=o,t.exports=e.default},function(t,e){t.exports=r(138)},function(t,e){t.exports=r(47)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r(34),r(35);var n=function(t){var e=t.recipe;return e?"https://".concat(e.replace("$recipe","{width}xn")):""};e.default=n,t.exports=e.default},function(t,e){t.exports=r(86)},function(t,e){t.exports=r(45)},function(t,e,r){function n(t){"@babel/helpers - typeof";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(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}r(1),r(2),r(3),r(4),r(5),r(6),r(7),r(8),r(9),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(t){if(t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!=typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var u=i?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}return r.default=t,e&&e.set(t,r),r}(r(0)),a=function(t){return t&&t.__esModule?t:{default:t}}(r(37)),u=function(t){var e=t.text;return i.default.createElement("div",{className:"bitesize-promo-banner"},i.default.createElement("div",{className:"bitesize-promo-banner__container"},i.default.createElement(a.default,{iconName:"game-control",additionalClassNames:"bitesize-promo-banner__image"}),i.default.createElement("div",{className:"bitesize-promo-banner__text"},e)))};u.propTypes={text:i.PropTypes.string.isRequired};var c=u;e.default=c,t.exports=e.default},function(t,e){t.exports=r(139)}])},function(t,e){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){var n=r(17),o=r(34),i=r(58),a=r(5);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=i.f;return r?e.concat(r(t)):e}},function(t,e,r){var n=r(10),o=r(18),i=r(93),a=function(t){return function(e,r,a){var u,c=n(e),s=o(c.length),f=i(a,s);if(t&&r!=r){for(;s>f;)if((u=c[f++])!=u)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,r){var n=r(28),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},function(t,e,r){var n=r(15),o=r(0);t.exports="process"==n(o.process)},function(t,e,r){var n=r(17);t.exports=n("navigator","userAgent")||""},function(t,e,r){var n=r(9),o=r(7),i=r(5),a=r(61);t.exports=n?Object.defineProperties:function(t,e){i(t);for(var r,n=a(e),u=n.length,c=0;u>c;)o.f(t,r=n[c++],e[r]);return t}},function(t,e,r){var n=r(17);t.exports=n("document","documentElement")},function(t,e,r){var n=r(10),o=r(34).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?u(t):o(n(t))}},function(t,e,r){"use strict";var n=r(41),o=r(68);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,r){"use strict";var n=r(73).IteratorPrototype,o=r(29),i=r(14),a=r(30),u=r(19),c=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=o(n,{next:i(1,r)}),a(t,s,!1,!0),u[s]=c,t}},function(t,e,r){var n=r(2);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,r){var n=r(3),o=r(29),i=r(7),a=n("unscopables"),u=Array.prototype;void 0==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),t.exports=function(t){u[a][t]=!0}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,r){var n=r(1);t.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(t,e,r){"use strict";var n=r(6),o=r(0),i=r(59),a=r(11),u=r(44),c=r(79),s=r(80),f=r(2),l=r(1),p=r(109),d=r(30),v=r(110);t.exports=function(t,e,r){var y=-1!==t.indexOf("Map"),h=-1!==t.indexOf("Weak"),g=y?"set":"add",m=o[t],b=m&&m.prototype,x=m,O={},_=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(h&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return h&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(h&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(i(t,"function"!=typeof m||!(h||b.forEach&&!l(function(){(new m).entries().next()}))))x=r.getConstructor(e,t,y,g),u.REQUIRED=!0;else if(i(t,!0)){var P=new x,w=P[g](h?{}:-0,1)!=P,S=l(function(){P.has(1)}),E=p(function(t){new m(t)}),R=!h&&l(function(){for(var t=new m,e=5;e--;)t[g](e,e);return!t.has(-0)});E||(x=e(function(e,r){s(e,x,t);var n=v(new m,e,x);return void 0!=r&&c(r,n[g],{that:n,AS_ENTRIES:y}),n}),x.prototype=b,b.constructor=x),(S||R)&&(_("delete"),_("has"),y&&_("get")),(R||w)&&_(g),h&&b.clear&&delete b.clear}return O[t]=x,n({global:!0,forced:x!=m},O),d(x,t),h||r.setStrong(x,t,y),x}},function(t,e,r){var n=r(3),o=r(19),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,r){var n=r(68),o=r(19),i=r(3),a=i("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||o[n(t)]}},function(t,e,r){var n=r(5);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},function(t,e,r){var n=r(3),o=n("iterator"),i=!1;try{var a=0,u={next:function(){return{done:!!a++}},return:function(){i=!0}};u[o]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var n={};n[o]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(t){}return r}},function(t,e,r){var n=r(2),o=r(75);t.exports=function(t,e,r){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(t,a),t}},function(t,e,r){"use strict";var n=r(78),o=r(44).getWeakData,i=r(5),a=r(2),u=r(80),c=r(79),s=r(39),f=r(4),l=r(12),p=l.set,d=l.getterFor,v=s.find,y=s.findIndex,h=0,g=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,function(t){return t[0]===e})};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=y(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,r,s){var l=t(function(t,n){u(t,l,e),p(t,{type:e,id:h++,frozen:void 0}),void 0!=n&&c(n,t[s],{that:t,AS_ENTRIES:r})}),v=d(e),y=function(t,e,r){var n=v(t),a=o(i(e),!0);return!0===a?g(n).set(e,r):a[n.id]=r,t};return n(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var r=o(t);return!0===r?g(e).delete(t):r&&f(r,e.id)&&delete r[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var r=o(t);return!0===r?g(e).has(t):r&&f(r,e.id)}}),n(l.prototype,r?{get:function(t){var e=v(this);if(a(t)){var r=o(t);return!0===r?g(e).get(t):r?r[e.id]:void 0}},set:function(t,e){return y(this,t,e)}}:{add:function(t){return y(this,t,!0)}}),l}}},function(t,e,r){"use strict";var n=r(40),o=r(2),i=[].slice,a={},u=function(t,e,r){if(!(e in a)){for(var n=[],o=0;o<e;o++)n[o]="a["+o+"]";a[e]=Function("C,a","return new C("+n.join(",")+")")}return a[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?u(e,n.length,n):e.apply(t,n)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,r){"use strict";var n=r(6),o=r(1),i=r(38),a=r(2),u=r(13),c=r(18),s=r(114),f=r(65),l=r(85),p=r(3),d=r(37),v=p("isConcatSpreadable"),y=d>=51||!o(function(){var t=[];return t[v]=!1,t.concat()[0]!==t}),h=l("concat"),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};n({target:"Array",proto:!0,forced:!y||!h},{concat:function(t){var e,r,n,o,i,a=u(this),l=f(a,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?a:arguments[e],g(i)){if(o=c(i.length),p+o>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<o;r++,p++)r in i&&s(l,p,i[r])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},function(t,e,r){"use strict";var n=r(24),o=r(7),i=r(14);t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,i(0,r)):t[a]=r}},function(t,e,r){"use strict";r(45);var n=r(11),o=r(1),i=r(3),a=r(46),u=r(8),c=i("species"),s=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=function(){return"$0"==="a".replace(/./,"$0")}(),l=i("replace"),p=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),d=!o(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]});t.exports=function(t,e,r,l){var v=i(t),y=!o(function(){var e={};return e[v]=function(){return 7},7!=""[t](e)}),h=y&&!o(function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[c]=function(){return r},r.flags="",r[v]=/./[v]),r.exec=function(){return e=!0,null},r[v](""),!e});if(!y||!h||"replace"===t&&(!s||!f||p)||"split"===t&&!d){var g=/./[v],m=r(v,""[t],function(t,e,r,n,o){return e.exec===a?y&&!o?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}},{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[0],x=m[1];n(String.prototype,t,b),n(RegExp.prototype,v,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&u(RegExp.prototype[v],"sham",!0)}},function(t,e,r){"use strict";var n=r(5);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,r){"use strict";function n(t,e){return RegExp(t,e)}var o=r(1);e.UNSUPPORTED_Y=o(function(){var t=n("a","y");return t.lastIndex=2,null!=t.exec("abcd")}),e.BROKEN_CARET=o(function(){var t=n("^r","gy");return t.lastIndex=2,null!=t.exec("str")})},function(t,e,r){"use strict";var n=r(71).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},function(t,e,r){var n=r(13),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,c,s,f){var l=r+t.length,p=c.length,d=u;return void 0!==s&&(s=n(s),d=a),i.call(f,d,function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>p){var f=o(u/10);return 0===f?n:f<=p?void 0===c[f-1]?i.charAt(1):c[f-1]+i.charAt(1):n}a=c[u-1]}return void 0===a?"":a})}},function(t,e,r){var n=r(15),o=r(46);t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e){t.exports={create:function(t,e){return Morph.createContainerWithCaller("bbc-morph-bitesize-promo-view@1.2.0",t,e)}}},function(t,e,r){"use strict";var n=r(21);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(123)),i=o.default;e.default=i},function(t,e,r){"use strict";var n=r(21);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(20)),i=r(20).PropTypes||r(47),a=function(t){var e=o.default.Children.map(t.children,function(e){return o.default.createElement("div",{className:"ec-content-panel__item--".concat(t.brand)},e)});return o.default.createElement("section",{className:"ec-content-panel--".concat(t.brand)},e)};a.propTypes={children:i.node.isRequired,brand:i.string},a.defaultProps={brand:"default"};var u=a;e.default=u},function(t,e,r){"use strict";function n(){}function o(){}var i=r(125);o.resetWarningCache=n,t.exports=function(){function t(t,e,r,n,o,a){if(a!==i){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:n};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";var n=r(21);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(127)),i=o.default;e.default=i},function(t,e,r){"use strict";var n=r(21);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r(20)),i=r(20).PropTypes||r(47),a=function(t){var e=t.asList?"li":"div",r=t.asList?"ul":"div",n=o.default.Children.map(t.children,function(r){return o.default.createElement(e,{className:"ec-grid__item--".concat(t.layout)},o.default.createElement("span",{className:"ec-grid__item-content-wrapper--".concat(t.layout)},r))});return o.default.createElement("div",{className:"ec-grid--".concat(t.layout)},o.default.createElement(r,{className:"ec-grid__item-wrapper--".concat(t.layout)},n))};a.propTypes={children:i.node.isRequired,layout:i.string,asList:i.bool},a.defaultProps={layout:"default",asList:!1};var u=a;e.default=u},function(t,e,r){function n(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return n=function(){return t},t}function o(t){if(t&&t.__esModule)return t;if(null===t||"object"!==i(t)&&"function"!=typeof t)return{default:t};var e=n();if(e&&e.has(t))return e.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)){var u=o?Object.getOwnPropertyDescriptor(t,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=t[a]}return r.default=t,e&&e.set(t,r),r}var i=r(87).default;t.exports=o,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.default=t.exports,t.exports.__esModule=!0,r.apply(this,arguments)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){function n(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?i(t):e}var o=r(87).default,i=r(133);t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}var o=r(136);t.exports=n,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},t.exports.default=t.exports,t.exports.__esModule=!0,r(e,n)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,r){var n,o;!function(){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)&&n.length){var a=r.apply(null,n);a&&t.push(a)}else if("object"===o)for(var u in n)i.call(n,u)&&n[u]&&t.push(u)}}return t.join(" ")}var i={}.hasOwnProperty;void 0!==t&&t.exports?(r.default=r,t.exports=r):(n=[],void 0!==(o=function(){return r}.apply(e,n))&&(t.exports=o))}()},function(t,e,r){var n;!function(o,i){"use strict";var a=function(){return i.addEventListener?function(t,e,r){return t.addEventListener(e,r,!1)}:function(t,e,r){return t.attachEvent("on"+e,r)}}(),u=[96,130,165,200,235,270,304,340,375,410,445,485,520,555,590,625,660,695,736],c="function"==typeof Object.keys?Object.keys:function(t){var e,r=[];for(e in t)r.push(e);return r},s=function(t,e){for(var r=0,n=t.length,o=[];r<n;r++)o[r]=e(t[r],r);return o},f=function(t){return t},l=function(){},p=function(){return!0},d=function(t,e){var r;return function(){var n=this,o=arguments,i=function(){r=null,t.apply(n,o)};clearTimeout(r),r=setTimeout(i,e)}},v=function(t,e){var r=this,n=i;e=e||{},void 0!==t&&("string"==typeof t?(e.selector=t,t=void 0):void 0===t.length&&(e=t,t=void 0)),this.viewportHeight=n.documentElement.clientHeight,this.selector=t?null:e.selector||".delayed-image-load",this.className=e.className||"image-replace",this.gif=n.createElement("img"),this.gif.src="data:image/gif;base64,R0lGODlhEAAJAIAAAP///wAAACH5BAEAAAAALAAAAAAQAAkAAAIKhI+py+0Po5yUFQA7",this.gif.className=this.className,this.gif.alt="",this.lazyloadOffset=e.lazyloadOffset||0,this.scrollDelay=e.scrollDelay||250,this.onResize=!e.hasOwnProperty("onResize")||e.onResize,this.lazyload=!!e.hasOwnProperty("lazyload")&&e.lazyload,this.scrolled=!1,this.availablePixelRatios=e.availablePixelRatios||[1,2],this.availableWidths=e.availableWidths||u,this.onImagesReplaced=e.onImagesReplaced||l,this.widthsMap={},this.refreshPixelRatio(),this.widthInterpolator=e.widthInterpolator||f,this.gif.removeAttribute("height"),this.gif.removeAttribute("width"),"function"!=typeof this.availableWidths&&("number"==typeof this.availableWidths.length?this.widthsMap=v.createWidthsMap(this.availableWidths,this.widthInterpolator,this.devicePixelRatio):(this.widthsMap=this.availableWidths,this.availableWidths=c(this.availableWidths)),this.availableWidths=this.availableWidths.sort(function(t,e){return t-e})),this.divs=[],this.add(t||this.selector),this.ready(e.onReady),setTimeout(function(){r.init()},0)};v.prototype.add=function(t){t=t||this.selector;var e="string"==typeof t?i.querySelectorAll(t):t;if(e&&e.length){var r=s(e,f);this.changeDivsToEmptyImages(r),this.divs=this.divs.concat(r)}},v.prototype.scrollCheck=function(){var t=this,e=0,r=[];this.scrolled&&(s(this.divs,function(n){t.isPlaceholder(n)&&(++e,t.isThisElementOnScreen(n)&&r.push(n))}),0===e&&o.clearInterval(t.interval),this.changeDivsToEmptyImages(r),this.scrolled=!1)},v.prototype.init=function(){var t=this;this.initialized=!0;var e=p;this.lazyload?(this.registerScrollEvent(),this.scrolled=!0,t.scrollCheck(),e=function(e){return!1===t.isPlaceholder(e)}):this.checkImagesNeedReplacing(this.divs),this.onResize&&this.registerResizeEvent(e),this.onReady()},v.prototype.ready=function(t){this.onReady=t||l},v.prototype.createGif=function(t){if(t.className.match(new RegExp("(^| )"+this.className+"( |$)")))return t;var e=t.getAttribute("data-class"),r=t.getAttribute("data-width"),n=this.gif.cloneNode(!1);return r&&(n.width=r,n.setAttribute("data-width",r)),n.className=(e?e+" ":"")+this.className,n.setAttribute("data-src",t.getAttribute("data-src")),n.setAttribute("alt",t.getAttribute("data-alt")||t.alt||this.gif.alt),t.parentNode.replaceChild(n,t),n},v.prototype.changeDivsToEmptyImages=function(t){var e=this;s(t,function(r,n){t[n]=e.createGif(r)}),this.initialized&&this.checkImagesNeedReplacing(t)},v.prototype.isPlaceholder=function(t){return t.src===this.gif.src},v.prototype.isThisElementOnScreen=function(t){var e=0,r=v.getPageOffset()+this.lazyloadOffset;if(t.offsetParent)do{e+=t.offsetTop}while(t=t.offsetParent);return e<this.viewportHeight+r},v.prototype.checkImagesNeedReplacing=function(t,e){var r=this;e=e||p,this.isResizing||(this.isResizing=!0,this.refreshPixelRatio(),s(t,function(t){e(t)&&r.replaceImagesBasedOnScreenDimensions(t)}),this.isResizing=!1,this.onImagesReplaced(t))},v.prototype.replaceImagesBasedOnScreenDimensions=function(t){var e,r;r=v.getNaturalWidth(t),e="function"==typeof this.availableWidths?this.availableWidths(t):this.determineAppropriateResolution(t),t.width=e,!this.isPlaceholder(t)&&e<=r||(t.src=this.changeImageSrcToUseNewImageDimensions(t.getAttribute("data-src"),e),t.removeAttribute("width"),t.removeAttribute("height"))},v.prototype.determineAppropriateResolution=function(t){return v.getClosestValue(t.getAttribute("data-width")||t.parentNode.clientWidth,this.availableWidths)},v.prototype.refreshPixelRatio=function(){this.devicePixelRatio=v.getClosestValue(v.getPixelRatio(),this.availablePixelRatios)},v.prototype.changeImageSrcToUseNewImageDimensions=function(t,e){return t.replace(/{width}/g,v.transforms.width(e,this.widthsMap)).replace(/{pixel_ratio}/g,v.transforms.pixelRatio(this.devicePixelRatio))},v.getPixelRatio=function(t){return(t||o).devicePixelRatio||1},v.createWidthsMap=function(t,e,r){for(var n={},o=t.length;o--;)n[t[o]]=e(t[o],r);return n},v.transforms={pixelRatio:function(t){return 1===t?"":"-"+t+"x"},width:function(t,e){return e[t]||t}},v.getClosestValue=function(t,e){var r=e.length,n=e[r-1];for(t=parseFloat(t);r--;)t<=e[r]&&(n=e[r]);return n},v.prototype.registerResizeEvent=function(t){var e=this;a(o,"resize",d(function(){e.checkImagesNeedReplacing(e.divs,t)},100))},v.prototype.registerScrollEvent=function(){var t=this;this.scrolled=!1,this.interval=o.setInterval(function(){t.scrollCheck()},t.scrollDelay),a(o,"scroll",function(){t.scrolled=!0}),a(o,"resize",function(){t.viewportHeight=i.documentElement.clientHeight,t.scrolled=!0})},v.getPageOffsetGenerator=function(t){return t?function(){return o.pageYOffset}:function(){return i.documentElement.scrollTop}},v.getNaturalWidth=function(){return"naturalWidth"in new Image?function(t){return t.naturalWidth}:function(t){var e=i.createElement("img");return e.src=t.src,e.width}}(),v.getPageOffset=v.getPageOffsetGenerator(Object.prototype.hasOwnProperty.call(o,"pageYOffset")),v.applyEach=s,v.addEvent=a,v.debounce=d,"object"==typeof t&&"object"==typeof t.exports?t.exports=e=v:void 0!==(n=function(){return v}.call(e,r,e,t))&&(t.exports=n)}(window,document)},function(t,e){t.exports=Morph.modules["bbc-morph-gel-icons@5.0.5"]}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.bundles.push(function() { !function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,r){"use strict";var n=function(e){return e&&e.__esModule?e:{default:e}}(r(1));Morph.modules["bbc-morph-gel-icons@5.0.5/gel-icon-game-control"]=n.default},function(e,t,r){"use strict";var n=r(2);e.exports=function(){return n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},n.createElement("title",null,"game-control"),n.createElement("circle",{cx:"8",cy:"11",r:"3.5"}),n.createElement("path",{d:"M24 3a8 8 0 0 0-5.3 2h-5.4A8 8 0 0 0 0 11v18h6l6-10h8l6 10h6V11a8 8 0 0 0-8-8zm0 2a2 2 0 1 1-2 2 2 2 0 0 1 2-2zM8 17a6 6 0 1 1 6-6 6 6 0 0 1-6 6zm12-4a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm4 4a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm4-4a2 2 0 1 1 2-2 2 2 0 0 1-2 2z"}))}},function(e,t){e.exports=React}]); //# sourceMappingURL=bundle.js.map; });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/path/%2Fmessaging%2FbannerType%2Fsecondary-games.json/service/bitesize-files/version/undefined', {"body":"{\n \"en-GB\": {\n \"title\": \"More games coming soon!\",\n \"body\": \"We'll be bringing you more secondary games over the coming months. Watch this space!\"\n }, \n \"ga-GB\": {\n \"title\": \"Tuilleadh cluichí ar na bacáin!\",\n \"body\": \"Beidh tuilleadh cluichí meánscoile againn duit sna míonna beaga amach romhainn. Bí ag fairear an spás seo!\"\n },\n \"gd-GB\": {\n \"title\": \"Tuilleadh gheamannan a' tighinn!\",\n \"body\": \"Bidh tuilleadh gheamannan àrd-sgoile rim faighinn sna mìosan a tha romhainn. Cùm sùil a-mach!\"\n },\n \"cy-GB\": {\n \"title\": \"Rhagor o gemau i ddod yn fuan!\",\n \"body\": \"Bydd rhagor o gemau ar gyfer disgyblion uwchradd ar gael i ti yn y misoedd nesaf. Cadwa lygad allan!\"\n }\n}\n","meta":{"responseCode":200,"errorMessage":null,"headers":{"x-amz-id-2":"ijC9fEmfsZwRD598d2uu3aV0zLG1Iw4cUPr63YecVDS70m4xhI3fU+KswA6N6ccZ1+ap7+GXjgI=","x-amz-request-id":"WSQPK0PPR1BSCJB9","last-modified":"Wed, 17 Mar 2021 09:36:18 GMT","etag":"\"cd6c753623766450e9371bfb1bb9673b\"","cache-control":"max-age=0","x-amz-version-id":"912CVPUjcJITXOe_aE4FtbWUmyCAKd_r","accept-ranges":"bytes","content-type":"application\/json","content-length":"762","server":"AmazonS3","connection":"keep-alive","nel":"{\"report_to\":\"default\",\"max_age\": 604800,\"include_subdomains\":true,\"failure_fraction\":0.01}","report-to":"{\"group\":\"default\",\"max_age\":3600,\"endpoints\":[ {\"url\":\"https:\/\/europe-west1-bbc-otg-traf-mgr-bq-prod-4591.cloudfunctions.net\/report-endpoint\",\"priority\":1} ],\"include_subdomains\":true}","timing-allow-origin":"https:\/\/web.archive.org\/web\/20211020014527\/https:\/\/www.bbc.co.uk, https:\/\/www.bbc.com","access-control-max-age":"300","access-control-allow-credentials":"false","access-control-allow-headers":"*","access-control-allow-methods":"HEAD,GET","access-control-allow-origin":"*"}}}); });</script><script>Morph.toInit.payloads.push(function() { Morph.setPayload('/data/bbc-morph-bitesize-dynamic-index-data/id/z933sk7/page/1/pageSize/200/type/tags/version/1.12.0', {"meta":{"responseCode":200,"errorMessage":null,"headers":{"content-type":"application\/json"}},"body":{"title":"Secondary games","slug":"secondary-games","section":"","items":[{"id":"zfxgbqt","title":"Game - Atomic Labs","synopsis":"Use your science skills to complete nine experiments and build a sustainable habitat","datePublished":"2021-09-13T14:10:02","modifiedDate":"2021-09-30T15:31:40.893525Z","image":{"pid":"p09xcxd9","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p09xcxd9.jpg"},"tags":["https:\/\/web.archive.org\/web\/20211020014527\/http:\/\/www.bbc.co.uk\/things\/d6e53d56-a489-452a-9c63-a2404f7fbe14#id"],"attribution":"KS3 Science"},{"id":"z2h3ydm","title":"Game - History Detectives ","synopsis":"Use your historical skills to analyse key evidence from the tudors, the industrial revolution and the Cuban missle crisis.","datePublished":"2021-06-15T12:55:33","modifiedDate":"2021-09-13T14:46:49.051151Z","image":{"pid":"p09lr8wc","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p09lr8wc.jpg"},"tags":["https:\/\/web.archive.org\/web\/20211020014527\/http:\/\/www.bbc.co.uk\/things\/9375e2ea-c2e8-4fab-9d49-8cc6a74596f1#id"],"attribution":"KS3 History"},{"id":"zk48qnb","title":"Game - FestiLingo: Spanish","synopsis":"Practise your Spanish language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear Spanish audio. Suitable for KS3 Spanish students.","datePublished":"2020-09-14T14:09:56","modifiedDate":"2021-02-12T10:10:12.808332Z","image":{"pid":"p08qtv2b","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p08qtv2b.jpg"},"tags":["https:\/\/web.archive.org\/web\/20211020014527\/http:\/\/www.bbc.co.uk\/things\/81321a36-230a-4565-9739-1be58d833d0b#id"],"attribution":"KS3 Spanish"},{"id":"zhmts4j","title":"Game - FestiLingo: German","synopsis":"Practise your German language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear German audio. Suitable for KS3 German students.","datePublished":"2020-09-14T13:56:00","modifiedDate":"2021-02-12T10:11:04.472233Z","image":{"pid":"p08qtv5b","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p08qtv5b.jpg"},"tags":["https:\/\/web.archive.org\/web\/20211020014527\/http:\/\/www.bbc.co.uk\/things\/a9259302-2121-4ccd-b9a6-bc4c06e99179#id"],"attribution":"KS3 German"},{"id":"zjpfbwx","title":"Game - FestiLingo: French","synopsis":"Practise your French language skills with this festival game. Complete the sentence, put the words in order, match the missing word, translate and hear French audio. Suitable for KS3 French students.","datePublished":"2020-09-14T12:36:53","modifiedDate":"2021-02-12T10:11:25.869757Z","image":{"pid":"p08qtty5","recipe":"ichef.bbci.co.uk\/images\/ic\/$recipe\/p08qtty5.jpg"},"tags":["https:\/\/web.archive.org\/web\/20211020014527\/http:\/\/www.bbc.co.uk\/things\/254e96e7-a470-4900-a022-9a6f21ad619f#id"],"attribution":"KS3 French"}],"pageData":{"page":1,"pageSize":200,"totalResults":5,"start":1}}}); });</script><script>Morph.toInit.registers.push(function() { Morph.register({"view":"bbc-morph-bitesize-promo-view","zid":"z933sk7","language":"en-GB","version":"1.2.0","_mrrVersion":"2.2.1"},'u6769606804516641'); });</script><script>Morph.init = function() { if (!Morph.initCalled) { Morph.markPerformance('morph-init'); Morph.initCalled = true; requirejs.config({ paths: { 'morph/react' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-react/1.0.0/react.min', 'morph/react-dom' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-react-dom/1.0.0/react-dom.min', 'morph/es5-shim' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-shim.min', 'morph/es5-sham' : '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/vendor-es5-shim/4.1.13/es5-sham.min', 'morph/module/morph': '//web.archive.org/web/20211020014527/https://m.files.bbci.co.uk/modules/morph/5.3.1/bundle', 'live-push' : '//web.archive.org/web/20211020014527/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(); } /* u6769606804516641 */</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/20211020014527/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 01:45:27 Oct 20, 2021 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 20:30:35 Nov 25, 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.52 exclusion.robots: 0.027 exclusion.robots.policy: 0.016 esindex: 0.011 cdx.remote: 28.068 LoadShardBlock: 126.161 (3) PetaboxLoader3.datanode: 101.078 (4) load_resource: 183.35 PetaboxLoader3.resolve: 76.007 -->