'); } })(); /*]]>*/'); } })(); /*]]>*/'); } else { document.write(''); } } })(); /*]]>*/'); document.write(''); document.write(''); if (/[?|&]ex-dp/.test(window.location.href) || document.cookie.indexOf('ex-dp=') !== -1) { bbcdotcom.utils.addHtmlTagClass('bbcdotcom-ex-dp'); } } })(); /*]]>*/'); } })( bbcdotcom.config.isOptimizelyEnabled() );

Five films that don't get school quite right - BBC Bitesize

Five films that don't get school quite right

Things are very different in British and American schools. But you don't need to have been educated Stateside to spot the inaccuracies that slip into so many Hollywood teen flicks, as well as British ones.

We can just about overlook the fact the kids are played by grown-ups, and that so many teachers are inspirational rule-breakers. Other blips though are harder to ignore.

Life at school does not revolve around cliques, sports, parties and the prom. Contrary to what movies suggest, kids spend more time at their desks than at their lockers. After all, they are there to pass exams. But how often do you see them doing homework? And does anyone in a coming of age movie have acne?

Here are five obvious slips.

The Breakfast Club (1985)

The Breakfast Club 1985
"You see us as a brain, an athlete, a basket case, a princess and a criminal."

Anyone who has ever been in detention knows that a staff member is supposed to supervise the entire session. Yet, in John Hughes's magnum opus, assistant principal Richard Vernon (Paul Gleason), leaves the school library door open so he can keep an eye on the five students facing an all-day Saturday punishment from his office. Once Bender (Judd Nelson) sabotages the door, however, Vernon has no idea what the kids are doing. Of course, there wouldn't be a movie if he had simply done his job.

Mean Girls (2004)

Mean Girls 2004
"You can't sit with us!"

Friends usually try to sit together at lunchtime, but anyone who’s been to school knows it’s almost impossible to find a table. This makes the canteen map given to Cady Heron (Lindsay Lohan) in this Tina Fey-scripted rite of passage so unbelievable, as groups like the 'girls who eat their feelings' and the 'girls who don't eat anything' wouldn't get to sit at the same table each day in such a first-come, first-served environment. Besides, where do the non-clique kids sit?

High School Musical (2006)

High School Musical 2006
"We're all in this together!"

Not many UK teenagers would spend their evenings and weekends supporting the school team. That's a job for proud parents. Sports are taken very seriously in US institutions, but the levels of school spirit are way off the chart during the East High Wildcats basketball game in Kenny Ortega's hit musical. It's one thing for the cheerleaders to know the words to the battle chant and all the dance moves, but everyone in the crowd is word and step perfect, too!

The Inbetweeners Movie (2011)

The Inbetweeners Movie 2011
Surely a headteacher would get in a lot of trouble for wearing their school's tie half naked on a quad bike in Crete?

The Inbetweeners series (2008-10) was a bit of an alternative take on school life, and Ben Palmer’s spin-off film adopted a very similar tone. First of all, Will McKenzie (Simon Bird) flagrantly flounces Rudge Park Comprehensive’s uniform policy by wearing a black blazer throughout the series and movie, instead of the the school's regulation blue jumper. It’s also hard to believe that headteacher Mr Gilbert (played by Greg Davies) would have got away with the sheer amount of bullying levelled at Will, let alone his antics in Crete where the students went on holiday.

The Kindergarten Teacher (2018)

Kindergarten Teacher 2018
"Talent is so fragile and so rare."

Teacher Lisa Spinelli (Maggie Gyllenhaal) is convinced that five year-old Jimmy Roy (Parker Sevak) is a poetic genius. Looking to exploit this, she keeps taking him out of lessons and nap time to talk to him privately, in the hope he'll recite more verses that she can pass off as her own work at evening class. Yet nobody seems to notice this inappropriate behaviour and, even if they do, they don't intervene, with the result that Lisa takes the boy to an open mic event in New York without parental permission.

Six blockbuster films that got history wrong
When film and TV got the future spot-on
Five movies that get dating wrong
"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[o]=e):n=u(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(1),a=n(11),i=n(19);e.exports=n(2)?Object.defineProperties:function(e,t){a(e);for(var n,o=i(t),l=o.length,u=0;l>u;)r.f(e,n=o[u++],t[n]);return e}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(7),a=n(34).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return a(e)}catch(e){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?l(e):a(r(e))}},function(e,t,n){var r=n(21),a=n(18),i=n(7),o=n(16),l=n(3),u=n(26),s=Object.getOwnPropertyDescriptor;t.f=n(2)?s:function(e,t){if(e=i(e),t=o(t,!0),u)try{return s(e,t)}catch(e){}if(l(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n"),t.close(),c=t.F;r--;)delete c.prototype[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(75),o=n(124),i=o?function(t,e){return o.set(t,e),t}:r;t.exports=i},function(t,e,n){var r=n(125),o=r&&new r;t.exports=o},function(t,e,n){var r=n(17),o=n(1),i=r(o,"WeakMap");t.exports=i},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(e,n(47))},function(t,e){function n(t){if(null!=t){try{return o.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var r=Function.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n,_,m,x,j,w,O,A){function P(){for(var d=arguments.length,h=Array(d),v=d;v--;)h[v]=arguments[v];if(T)var y=f(P),g=u(h,y);if(_&&(h=o(h,_,m,T)),x&&(h=i(h,x,j,T)),d-=g,T&&d1&&h.reverse(),k&&O0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(t,e,n){var r=e+"";return u(t,i(r,a(o(r),n)))}var o=n(233),i=n(234),u=n(137),a=n(237);t.exports=r},function(t,e,n){var r=n(235),o=n(135),i=o(r);t.exports=i},function(t,e,n){var r=n(17),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e){function n(t){return t.placeholder}t.exports=n},function(t,e,n){function r(t){var e=o(t),n=e%1;return e===e?n?e-n:e:0}var o=n(246);t.exports=r},function(t,e,n){function r(t,e){return t&&o(e,i(e),t)}var o=n(51),i=n(31);t.exports=r},function(t,e,n){function r(t,e,n){var r=t[e];a.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||o(t,e,n)}var o=n(85),i=n(86),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=u(t),r=!n&&i(t),s=!n&&!r&&a(t),p=!n&&!r&&!s&&f(t),d=n||r||s||p,h=d?o(t.length,String):[],v=h.length;for(var y in t)!e&&!l.call(t,y)||d&&("length"==y||s&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||c(y,v))||h.push(y);return h}var o=n(248),i=n(87),u=n(2),a=n(88),c=n(83),f=n(144),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},function(t,e,n){var r=n(251),o=n(90),i=n(91),u=i&&i.isTypedArray,a=u?o(u):r;t.exports=a},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(92),i=n(252),u=Object.prototype,a=u.hasOwnProperty;t.exports=r},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(76),i=n(89);t.exports=r},function(t,e,n){function r(t,e,n,R,C,M){var W,L=e&A,D=e&P,B=e&k;if(n&&(W=C?n(t,R,C,M):n(t)),void 0!==W)return W;if(!j(t))return t;var F=_(t);if(F){if(W=y(t),!L)return s(t,W)}else{var N=v(t),q=N==S||N==T;if(m(t))return f(t,L);if(N==I||N==E||q&&!C){if(W=D||q?{}:b(t),!L)return D?p(t,c(W,t)):l(t,a(W,t))}else{if(!z[N])return C?t:{};W=g(t,N,L)}}M||(M=new o);var U=M.get(t);if(U)return U;if(M.set(t,W),w(t))return t.forEach(function(o){W.add(r(o,e,n,o,t,M))}),W;if(x(t))return t.forEach(function(o,i){W.set(i,r(o,e,n,i,t,M))}),W;var $=B?D?h:d:D?keysIn:O,G=F?void 0:$(t);return i(G||t,function(o,i){G&&(i=o,o=t[i]),u(W,i,r(o,e,n,i,t,M))}),W}var o=n(93),i=n(82),u=n(142),a=n(141),c=n(276),f=n(279),s=n(50),l=n(280),p=n(282),d=n(152),h=n(283),v=n(32),y=n(287),g=n(288),b=n(293),_=n(2),m=n(88),x=n(294),j=n(11),w=n(296),O=n(31),A=1,P=2,k=4,E="[object Arguments]",S="[object Function]",T="[object GeneratorFunction]",I="[object Object]",z={};z[E]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object DataView]"]=z["[object Boolean]"]=z["[object Date]"]=z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Map]"]=z["[object Number]"]=z[I]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object Symbol]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Error]"]=z[S]=z["[object WeakMap]"]=!1,t.exports=r},function(t,e,n){function r(t){return u(t)?o(t,!0):i(t)}var o=n(143),i=n(277),u=n(147);t.exports=r},function(t,e){function n(){return[]}t.exports=n},function(t,e,n){var r=n(97),o=n(98),i=n(96),u=n(150),a=Object.getOwnPropertySymbols,c=a?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:u;t.exports=c},function(t,e,n){function r(t){return o(t,u,i)}var o=n(153),i=n(96),u=n(31);t.exports=r},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(97),i=n(2);t.exports=r},function(t,e,n){var r=n(1),o=r.Uint8Array;t.exports=o},function(t,e,n){function r(t){return"function"==typeof t?t:null==t?u:"object"==typeof t?a(t)?i(t[0],t[1]):o(t):c(t)}var o=n(303),i=n(316),u=n(75),a=n(2),c=n(324);t.exports=r},function(t,e,n){function r(t,e,n,u,a){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,u,r,a))}var o=n(305),i=n(3);t.exports=r},function(t,e,n){function r(t,e,n,r,f,s){var l=n&a,p=t.length,d=e.length;if(p!=d&&!(l&&d>p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var v=-1,y=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++v

p))return!1;var h=s.get(t);if(h&&s.get(e))return h==e;var v=-1,y=!0,g=n&c?new o:void 0;for(s.set(t,e),s.set(e,t);++v

-1&&t%1==0&&t0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase()]||"en-GB"},u=function(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=(0,r.default)(o,"".concat(i(t),".").concat(e),"");return Object.keys(n).reduce(function(t,e){return t.replace("$".concat(e),n[e])},u)}};e.default=u,t.exports=e.default},function(t,e){t.exports=n(195)},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.validateDuration=e.formatDuration=void 0;var r=/PT(?:(\d+)H)?(?:(\d+)M)?(\d+)S?/,o=function(t){return"string"==typeof t&&t.match(r)||!1};e.validateDuration=o;var i=function(t){var e=o(t);if(!e)return"";e.shift();var n=e.filter(function(t){return void 0!==t});return n.map(function(e,r){var o=e&&1===e.toString().length?"0".concat(e):e;return r0?"".concat(o,":00"):1===n.length&&t.indexOf("S")>0?"00:".concat(o):o}).concat().join("")};e.formatDuration=i},function(t,e){t.exports=n(56)},function(t,e){t.exports=n(349)},function(t,e){t.exports=n(350)},function(t,e){t.exports=n(357)},function(t,e){t.exports=n(358)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(6)),i=r(n(5)),u=function(t,e){return i.default.getDetails().then(function(n){return n.hasPersonalisationEnabled?o.default.postReadForAnArticle(t,e):Promise.resolve()})},a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"favourited",n=arguments.length>2?arguments[2]:void 0;return o.default.postFavourite({id:t,type:n,action:e})},c={submitRead:u,submitFavourite:a};e.default=c,t.exports=e.default},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function u(){return u=Object.assign||function(t){for(var e=1;e0)&&o.default.createElement(u.default,{subdirectory:k,language:b,numberOfClassClips:j,numberOfLearnerGuides:w,pageType:O,zid:A}),!r&&(0,c.validateDuration)(P)&&o.default.createElement(a.default,{duration:P,language:b}),!E&&o.default.createElement(s.default,{contentId:e,pageType:O,setNotificationMessage:S,language:b}),d(_,O,E)&&o.default.createElement(l.default,{zid:e,language:b}))};g.displayName="ContextPanel",g.defaultProps={contentId:"",description:"",numberOfClassClips:0,numberOfLearnerGuides:0,hasTopics:!1,zid:"",levelLabel:"",examspecLabel:"",subdirectory:"bitesize",examspecId:"",levelId:"",duration:"",isInApp:!1,showPartOf:!0},g.propTypes={contentId:o.PropTypes.string,description:o.PropTypes.string,label:o.PropTypes.string.isRequired,language:o.PropTypes.string.isRequired,numberOfClassClips:o.PropTypes.number,numberOfLearnerGuides:o.PropTypes.number,hasTopics:o.PropTypes.bool,pageType:o.PropTypes.string.isRequired,zid:o.PropTypes.string,levelLabel:o.PropTypes.string,examspecLabel:o.PropTypes.string,subdirectory:o.PropTypes.string,examspecId:o.PropTypes.string,levelId:o.PropTypes.string,duration:o.PropTypes.string,isInApp:o.PropTypes.bool,setNotificationMessage:o.PropTypes.func.isRequired,showPartOf:o.PropTypes.bool,displayPartialWidth:o.PropTypes.bool.isRequired};var b=g;e.default=b,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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)),o=function(t){return t&&t.__esModule?t:{default:t}}(n(2)),i=(0,o.default)(function(t){return r.default.createElement("a",t,t.children)}),u=function(t){var e=t.levelLabel,n=t.levelId,o=t.examspecLabel,u=t.examspecId,a=t.subdirectory,c=t.phase,f=t.isTaggedWithMultipleTopics;return r.default.createElement("div",{className:"level-filter"},r.default.createElement("div",{className:"level-filter__items"},r.default.createElement("div",{className:"level-filter__item"},!f&&r.default.createElement(i,{className:"level-filter__item-level",href:"/".concat(a,"/levels/").concat(n),iStatsAction:"part-of",iStatsType:"click-level"},e),f&&r.default.createElement("span",{className:"level-filter__item-phase"},c)),o&&r.default.createElement("div",{className:"level-filter__item"},r.default.createElement(i,{className:"level-filter__item-examspec",href:"/".concat(a,"/examspecs/").concat(u),iStatsAction:"part-of",iStatsType:"click-examboard"},o))))};u.displayName="LevelFilter",u.defaultProps={levelLabel:"",levelId:"",examspecLabel:"",examspecId:"",subdirectory:"bitesize",phase:"",isTaggedWithMultipleTopics:!1},u.propTypes={levelLabel:r.PropTypes.string,levelId:r.PropTypes.string,examspecLabel:r.PropTypes.string,examspecId:r.PropTypes.string,subdirectory:r.PropTypes.string,phase:r.PropTypes.string,isTaggedWithMultipleTopics:r.PropTypes.bool};var a=u;e.default=a,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=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)),i=r(n(18)),u=r(n(20)),a=function(t){var e=t.pageType;return o.default.createElement("div",{className:"resource-counter__container"},"clips"===e?o.default.createElement(i.default,t):o.default.createElement(u.default,t))};a.displayName="ResourceCounter",a.propTypes={pageType:o.PropTypes.string.isRequired};var c=a;e.default=c,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||function(t){for(var e=1;e1?"plural":"singular"},s=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.subdirectory,u=t.zid,s=(0,a.default)(e),l=r>0&&n>0?" + ":"";return i.default.createElement("p",{className:"resource-counter__container-text"},r>0&&i.default.createElement(c,{className:"resource-counter__container-link",href:"/".concat(o,"/topics/").concat(u),iStatsAction:"learner_guides",iStatsType:"click"},s("counter.guides.".concat(f(r)),{numberOfLearnerGuides:r})),l,n>0&&s("counter.clips.".concat(f(n)),{numberOfClassClips:n}))};s.displayName="ClipsResourceCounter",s.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0,subdirectory:"bitesize"},s.propTypes={language:i.PropTypes.string.isRequired,numberOfClassClips:i.PropTypes.number,numberOfLearnerGuides:i.PropTypes.number,subdirectory:i.PropTypes.string,zid:i.PropTypes.string.isRequired};var l=s;e.default=l,t.exports=e.default},function(t,e){t.exports=n(183)},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||function(t){for(var e=1;e1?"plural":"singular"},s=function(t){var e=t.language,n=t.numberOfClassClips,r=t.numberOfLearnerGuides,o=t.zid,u=(0,a.default)(e);return i.default.createElement("p",{className:"resource-counter__container-text"},r>0&&u("counter.guides.".concat(f(r)),{numberOfLearnerGuides:r})+(n>0?" + ":""),n>0&&i.default.createElement(c,{className:"resource-counter__container-link",href:"/bitesize/topics/".concat(o,"/resources/1"),iStatsAction:"class_clips",iStatsType:"click"},u("counter.clips.".concat(f(n)),{numberOfClassClips:n})))};s.displayName="TopicsResourceCounter",s.defaultProps={numberOfClassClips:0,numberOfLearnerGuides:0},s.propTypes={language:i.PropTypes.string.isRequired,numberOfClassClips:i.PropTypes.number,numberOfLearnerGuides:i.PropTypes.number,zid:i.PropTypes.string.isRequired};var l=s;e.default=l,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=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)),o=n(3),i=function(t){return t&&t.__esModule?t:{default:t}}(n(1)),u=function(t){var e=t.language,n=t.duration,u=(0,i.default)(e),a=(0,o.formatDuration)(n);return""!==a?r.default.createElement("div",{className:"context-panel__duration"},r.default.createElement("span",null,u("duration",{clipDuration:a}))):r.default.createElement("span",null)};u.displayName="Duration",u.propTypes={language:r.PropTypes.string.isRequired,duration:r.PropTypes.string.isRequired};var a=u;e.default=a,t.exports=e.default},function(t,e,n){function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(7)),i=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)),u=r(n(23)),a=r(n(8)),c=r(n(24)),f=["programme-of-study","field-of-study"],s=function(t,e,n,r){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")}},l=function(t){var e=t.subdirectory,n=t.tags,r=t.topicLabel,o=t.topicId,a=t.language,f=t.crumbtrailData.body,l=t.stubs,p=(0,u.default)(f,"type"),d=r?{label:r,id:o}:p["topic-of-study"],h=s(e,p["programme-of-study"],d,n);return i.default.createElement(c.default,{subdirectory:e,language:a,context:h,topic:d,stubs:l})},p=function(t){var e=t.crumbtrail,n=t.language,r=t.stubs,o=t.subdirectory,a=(0,u.default)(e,"type"),f=a["programme-of-study"],l=a["topic-of-study"],p=s(o,f);return i.default.createElement(c.default,{subdirectory:o,language:n,context:p,topic:l,stubs:r})},d=o.default.create(l,{data:function(t){return{crumbtrailData:{uri:{data:"bbc-morph-bitesize-crumbtrail",zid:t.zid},updates:!1}}}}),h=function(t){var e=t.pageType;return f.includes(e)?i.default.createElement(p,t):i.default.createElement(d,t)};h.displayName="ContextLabelContainer",h.defaultProps={subdirectory:"",language:"en-GB",tags:[],topicLabel:void 0,topicId:void 0,stubs:[],crumbtrail:[]},h.propTypes={subdirectory:i.PropTypes.string,language:i.PropTypes.string,crumbtrail:i.PropTypes.arrayOf(i.PropTypes.shape({id:i.PropTypes.string.isRequired,type:i.PropTypes.string.isRequired,label:i.PropTypes.string.isRequired}).isRequired),tags:i.PropTypes.arrayOf(i.PropTypes.shape({label:i.PropTypes.string})),topicLabel:i.PropTypes.string,topicId:i.PropTypes.string,stubs:i.default.PropTypes.shape({id:i.default.PropTypes.string.isRequired,label:i.default.PropTypes.string.isRequired,path:i.default.PropTypes.string.isRequired})};var v=h;e.default=v,t.exports=e.default},function(t,e){t.exports=n(453)},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=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)),i=r(n(2)),u=r(n(1)),a=(0,i.default)(function(t){return o.default.createElement("a",t,t.children)}),c=function(t){var e=t.context,n=t.language,r=t.stubs,i=(0,u.default)(n),c=e.label,f=e.link,s=e&&null!==c.match(/Learn & revise|Support/i)&&"cy-GB"===n?"partOfWelshAlternative":"partOf";return o.default.createElement("div",{className:"context-label"},o.default.createElement("div",{className:"context-label__title"},i(s)),o.default.createElement("div",{className:"context-label__items"},e&&o.default.createElement("div",{className:"context-label__item"},o.default.createElement(a,{className:"context-label__item-link",href:f,iStatsAction:"part-of",iStatsType:"click"},i(c)||c)),r.map(function(t){return o.default.createElement("div",{className:"context-label__item"},o.default.createElement(a,{className:"context-label__item-link",href:t.path,iStatsAction:"part-of",iStatsType:"click"},t.label))})))};c.displayName="ContextLabel",c.defaultProps={topic:{},language:"en-GB",stubs:[]},c.propTypes={context:o.PropTypes.shape({label:o.PropTypes.string,link:o.PropTypes.string}).isRequired,topic:o.PropTypes.shape({id:o.PropTypes.string,type:o.PropTypes.string,label:o.PropTypes.string}),language:o.PropTypes.string,stubs:o.default.PropTypes.arrayOf(o.PropTypes.shape({id:o.default.PropTypes.string.isRequired,label:o.default.PropTypes.string.isRequired,path:o.default.PropTypes.string.isRequired}).isRequired)};var f=c;e.default=f,t.exports=e.default},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function 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=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=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n(0)),c=r(n(7)),f=r(n(41)),s=r(n(42)),l=r(n(43)),p=r(n(44)),d=r(n(45)),h=r(n(46)),v=r(n(47)),y=r(n(48)),g=r(n(50)),b=r(n(51)),_=r(n(52)),m=r(n(53)),x=r(n(54)),j=r(n(55)),w=r(n(56)),O=r(n(57)),A=r(n(58)),P={"all-subjects":p.default,blocks:x.default,clips:l.default,clip:s.default,"collection-index":w.default,examspecs:d.default,"field-of-study":h.default,flashcards:j.default,guide:v.default,"index-page":j.default,levels:y.default,"programme-of-study":g.default,"primary-index":A.default,tags:O.default,topic:b.default,404:_.default,500:m.default},k=function(t){var e=t.pageType,n=i(t,["pageType"]);return P[e].getData(n)},E=function(t){var e=t.pageType,n=i(t,["pageType"]);return P[e].parseData(n)},S=function(t){return a.default.createElement(f.default,o({},t,{parseData:E}))},T=c.default.create(S,{data:function(t){return k(t)?{context:{uri:k(t),requireSuccess:!0,updates:!1},levels:{uri:{data:"bbc-morph-bitesize-level"},requireSuccess:!1,updates:!1}}:{}}}),I=function(t){if(t.pageType in P)return a.default.createElement(T,t);throw new Error("".concat(t.pageType," is an invalid page type"))},z=I;e.default=z,t.exports=e.default},function(t,e,n){function o(t){return t&&t.__esModule?t:{default:t}}function i(t){return(i="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(t){return r(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":r(t)})(t)}function u(){return u=Object.assign||function(t){for(var e=1;e0,levelLabel:e.level,levelId:e.taughtAtLevelId,examspecLabel:e.examspecLabel,examspecId:e.examspecId}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"The content might have been moved or deleted, or you may have mis-typed the link."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(){},o=function(){return{label:"Sorry, but we’re having difficulties showing you the page you asked for.",description:"Please try again later."}},i={getData:r,parseData:o};e.default=i,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){return{data:"bbc-morph-blocks-article-data",projectName:"blocks-bitesize",zid:t.zid,preview:t.preview,timestamp:t.timestamp}},o=function(t){var e=t[0],n=e.keyStage,r=e.examSpecification;return{levelLabel:n.label,levelId:n.id,examspecLabel:r.label,examspecId:r.id}},i=function(t){var e=t[0],n=e.id,r=e.label,o=e.fieldOfStudy,i=[{id:n,label:r,path:"/bitesize/topics/".concat(n)}];return{fosZid:o.id,stubs:i}},u=function(t){var e=t.data,n=e.headline,r=e.topics,u=e.tags,a=r&&1===r.length,c=r&&r.length>1,f={label:n,zid:a?r[0].id:e.id,contentId:e.id,tags:u,isTaggedWithMultipleTopics:c};return(a||c)&&Object.assign(f,o(r)),a&&Object.assign(f,i(r)),f},a={getData:r,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(39),o=(0,r.omitBy)(r.isNil),i=function(t){var e=t.href,n=t.language,r=void 0===n?"en-GB":n,i=t.cacheBuster;if(e&&(e.endsWith("support")||e.endsWith("careers")))return o({data:"bbc-morph-bitesize-header-data",pageType:"index-page",href:e,language:r,cacheBuster:i})},u=function(t){return{headerData:t.data}},a={getData:i,parseData:u};e.default=a,t.exports=e.default},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(39),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=function(){},o=function(){},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:"Primary Levels",description:"Ages 3 to 11"}},i={getData:r,parseData:o};e.default=i,t.exports=e.default}])},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(){return o=Object.assign||function(t){for(var e=1;e=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=0||(o[n]=t[n]);return o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(196),n(204),n(121),n(212),n(214);var a=r(n(215)),c=r(n(0)),f=(r(n(35)),r(n(56))),s=n(337),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;return function(){f.default.track((0,s.formatIStatsValue)(t),(0,s.formatIStatsValue)(e),(0,a.default)(s.formatIStatsValue,n)),r.apply(void 0,arguments)}},p=function(t){function e(e){var n=e.onClick,r=e.iStatsAction,u=e.iStatsType,a=e.iStatsOptions,f=i(e,["onClick","iStatsAction","iStatsType","iStatsOptions"]);return c.default.createElement(t,o({},f,{onClick:l(r,u,a,n)}))}return e.defaultProps={onClick:function(){return null},iStatsType:"",iStatsOptions:{}},e.displayName="iStatsOnClick(".concat(t.displayName||t.name||"Component",")"),e};e.default=p,t.exports=e.default},function(t,e,n){var r=n(40);r(r.S+r.F,"Object",{assign:n(200)})},function(t,e,n){t.exports=n(44)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(199);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(22),o=n(70),i=n(46),u=n(71),a=n(117),c=Object.assign;t.exports=!c||n(21)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=u(t),c=arguments.length,f=1,s=o.f,l=i.f;c>f;)for(var p,d=a(arguments[f++]),h=s?r(d).concat(s(d)):r(d),v=h.length,y=0;v>y;)l.call(d,p=h[y++])&&(n[p]=d[p]);return n}:c},function(t,e,n){var r=n(23),o=n(202),i=n(203);t.exports=function(t){return function(e,n,u){var a,c=r(e),f=o(c.length),s=i(u,f);if(t&&n!=n){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===n)return t||s||0;return!t&&-1}}},function(t,e,n){var r=n(120),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(120),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),tc;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(6).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(15),o=n(71),i=n(68)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(71),o=n(22);n(213)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){var r=n(40),o=n(26),i=n(21);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",u)}},function(t,e,n){var r=n(13).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(14)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},function(t,e,n){var r=n(29),o=r("mapValues",n(333));o.placeholder=n(24),t.exports=o},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||P.curry&&n>1?W(e,n):e}function v(t,e,n){if(P.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return P.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n2?n-2:1,i&&i1?"& ":"")+e[o],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}var r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=n},function(t,e,n){var r=n(236),o=n(138),i=n(75),u=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=u},function(t,e){function n(t){return function(){return t}}t.exports=n},function(t,e,n){function r(t,e){return o(u,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}var o=n(82),i=n(238),u=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=r},function(t,e,n){function r(t,e){return!!(null==t?0:t.length)&&o(t,e,0)>-1}var o=n(239);t.exports=r},function(t,e,n){function r(t,e,n){return e===e?u(t,e,n):o(t,i,n)}var o=n(240),i=n(241),u=n(242);t.exports=r},function(t,e){function n(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i-1}var o=n(53);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r0&&n(s)?e>1?r(s,e-1,n,u,a):o(a,s):u||(a[a.length]=s)}return a}var o=n(97),i=n(330);t.exports=r},function(t,e,n){function r(t){return u(t)||i(t)||!!(a&&t&&t[a])}var o=n(25),i=n(87),u=n(2),a=o?o.isConcatSpreadable:void 0;t.exports=r},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,u=-1,a=i(r.length-e,0),c=Array(a);++u0&&void 0!==arguments[0]?arguments[0]:0;return w("/my/favourites/unlimited?resourceDomain=learning&action=favourited").then(function(t){return t.filter(function(t){return t.resourceType===f["study-guide"]||t.resourceType===f.article})}).then(function(e){return t>0?(0,i.take)(t,e):e})},A=function(t){return m("/my/batch/follows",p(t))},P=function(t){return _("/my/follows",t)},k=function(t){return j("/my/follows/".concat(t))},E=function(t){return w("/my/follows".concat(x(t)))},S=function(t){return _("/my/reads",h(t))},T=function(t){return w("/my/reads".concat(x(t)))},I=function(t,e){return _("/my/reads",v(t,e))},z=function(t){return _("/my/favourites",d(t))},R=function(t,e){return w("/my/favourites/unlimited?resourceDomain=learning&action=favourited&resourceType=".concat(s(e))).then(function(n){return(0,i.some)({resourceId:y(t,e)},n)})},C=function(t){return w("/my/reads/".concat(g(t))).then(function(){return!0}).catch(function(){return!1})},M={getFollow:k,getFollows:E,getSavedForLater:O,postFollow:P,postFollows:A,getReads:T,postRead:S,postReadForAnArticle:I,postFavourite:z,isFavourited:R,isArticleRead:C};e.default=M,t.exports=e.default},function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e"']/g,Q=RegExp(J.source),tt=RegExp(X.source),et=//g,nt=//g,rt=//g,ot=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,it=/^\w*$/,ut=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,at=/[\\^$.*+?()[\]{}|]/g,ct=RegExp(at.source),ft=/^\s+|\s+$/g,st=/^\s+/,lt=/\s+$/,pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,dt=/\{\n\/\* \[wrapped with (.+)\] \*/,ht=/,? & /,vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,yt=/\\(\\)?/g,gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,bt=/\w*$/,_t=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,At=/($^)/,Pt=/['\n\r\u2028\u2029\\]/g,kt="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",Et=RegExp("['’]","g"),St=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),Tt=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])"+kt,"g"),It=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+","(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*"].join("|"),"g"),zt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),Rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ct="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Mt={};Mt["[object Float32Array]"]=Mt["[object Float64Array]"]=Mt["[object Int8Array]"]=Mt["[object Int16Array]"]=Mt["[object Int32Array]"]=Mt["[object Uint8Array]"]=Mt["[object Uint8ClampedArray]"]=Mt["[object Uint16Array]"]=Mt["[object Uint32Array]"]=!0,Mt["[object Arguments]"]=Mt["[object Array]"]=Mt["[object ArrayBuffer]"]=Mt["[object Boolean]"]=Mt["[object DataView]"]=Mt["[object Date]"]=Mt["[object Error]"]=Mt["[object Function]"]=Mt["[object Map]"]=Mt["[object Number]"]=Mt["[object Object]"]=Mt["[object RegExp]"]=Mt["[object Set]"]=Mt["[object String]"]=Mt["[object WeakMap]"]=!1;var Wt={};Wt["[object Arguments]"]=Wt["[object Array]"]=Wt["[object ArrayBuffer]"]=Wt["[object DataView]"]=Wt["[object Boolean]"]=Wt["[object Date]"]=Wt["[object Float32Array]"]=Wt["[object Float64Array]"]=Wt["[object Int8Array]"]=Wt["[object Int16Array]"]=Wt["[object Int32Array]"]=Wt["[object Map]"]=Wt["[object Number]"]=Wt["[object Object]"]=Wt["[object RegExp]"]=Wt["[object Set]"]=Wt["[object String]"]=Wt["[object Symbol]"]=Wt["[object Uint8Array]"]=Wt["[object Uint8ClampedArray]"]=Wt["[object Uint16Array]"]=Wt["[object Uint32Array]"]=!0,Wt["[object Error]"]=Wt["[object Function]"]=Wt["[object WeakMap]"]=!1;var Lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,Bt=parseInt,Ft="object"==typeof t&&t&&t.Object===Object&&t,Nt="object"==typeof self&&self&&self.Object===Object&&self,qt=Ft||Nt||Function("return this")(),Ut="object"==typeof e&&e&&!e.nodeType&&e,$t=Ut&&"object"==typeof r&&r&&!r.nodeType&&r,Gt=$t&&$t.exports===Ut,Vt=Gt&&Ft.process,Kt=function(){try{var t=$t&&$t.f&&$t.f("util").types;return t||Vt&&Vt.binding&&Vt.binding("util")}catch(t){}}(),Zt=Kt&&Kt.isArrayBuffer,Ht=Kt&&Kt.isDate,Yt=Kt&&Kt.isMap,Jt=Kt&&Kt.isRegExp,Xt=Kt&&Kt.isSet,Qt=Kt&&Kt.isTypedArray,te=O("length"),ee=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"}),ne=A({"&":"&","":">",'"':""","'":"'"}),re=A({"&":"&","<":"",""":'"',"'":"'"}),oe=function t(e){function n(t){if(_o(t)&&!ua(t)&&!(t instanceof A)){if(t instanceof o)return t;if(ai.call(t,"__wrapped__"))return Nr(t)}return new o(t)}function r(){}function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=$}function A(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function kt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function de(t,e,n,r,o,i){var u,c=1&e,f=2&e,s=4&e;if(n&&(u=o?n(t,r,o,i):n(t)),u!==$)return u;if(!bo(t))return t;if(r=ua(t)){if(u=wr(t),!c)return Mn(t,u)}else{var l=yu(t),p="[object Function]"==l||"[object GeneratorFunction]"==l;if(ca(t))return Sn(t,c);if("[object Object]"==l||"[object Arguments]"==l||p&&!o){if(u=f||p?{}:Or(t),!c)return f?Dn(t,fe(u,t)):Ln(t,ce(u,t))}else{if(!Wt[l])return o?t:{};u=Ar(t,l,c)}}if(i||(i=new Nt),o=i.get(t))return o;i.set(t,u),pa(t)?t.forEach(function(r){u.add(de(r,e,n,r,t,i))}):sa(t)&&t.forEach(function(r,o){u.set(o,de(r,e,n,o,t,i))});var f=s?f?vr:hr:f?Co:Ro,d=r?$:f(t);return a(d||t,function(r,o){d&&(o=r,r=t[o]),ie(u,o,de(r,e,n,o,t,i))}),u}function he(t){var e=Ro(t);return function(n){return ve(n,t,e)}}function ve(t,e,n){var r=n.length;if(null==t)return!r;for(t=Qo(t);r--;){var o=n[r],i=e[o],u=t[o];if(u===$&&!(o in t)||!i(u))return!1}return!0}function ye(t,e,n){if("function"!=typeof t)throw new ni("Expected a function");return _u(function(){t.apply($,n)},e)}function ge(t,e,n,r){var o=-1,i=l,u=!0,a=t.length,c=[],f=e.length;if(!a)return c;n&&(e=d(e,I(n))),r?(i=p,u=!1):200e}function Se(t,e){return null!=t&&ai.call(t,e)}function Te(t,e){return null!=t&&e in Qo(t)}function Ie(t,e,n){for(var r=n?p:l,o=t[0].length,i=t.length,u=i,a=Zo(i),c=1/0,f=[];u--;){var s=t[u];u&&e&&(s=d(s,I(e))),c=Li(s.length,c),a[u]=!n&&(e||120e.length?t:Ae(t,pn(e,0,-1)),e=null==t?t:t[Dr(Vr(e))],null==e?$:i(e,t,n)}function Ce(t){return _o(t)&&"[object Arguments]"==ke(t)}function Me(t){return _o(t)&&"[object ArrayBuffer]"==ke(t)}function We(t){return _o(t)&&"[object Date]"==ke(t)}function Le(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!_o(t)&&!_o(e))e=t!==t&&e!==e;else t:{var i=ua(t),u=ua(e),a=i?"[object Array]":yu(t),c=u?"[object Array]":yu(e),a="[object Arguments]"==a?"[object Object]":a,c="[object Arguments]"==c?"[object Object]":c,f="[object Object]"==a,u="[object Object]"==c;if((c=a==c)&&ca(t)){if(!ca(e)){e=!1;break t}i=!0,f=!1}if(c&&!f)o||(o=new Nt),e=i||da(t)?lr(t,e,n,r,Le,o):pr(t,e,a,n,r,Le,o);else{if(!(1&n)&&(i=f&&ai.call(t,"__wrapped__"),a=u&&ai.call(e,"__wrapped__"),i||a)){t=i?t.value():t,e=a?e.value():e,o||(o=new Nt),e=Le(t,e,n,r,o);break t}if(c)e:if(o||(o=new Nt),i=1&n,a=hr(t),u=a.length,c=hr(e).length,u==c||i){for(f=u;f--;){var s=a[f];if(!(i?s in e:ai.call(e,s))){e=!1;break e}}if((c=o.get(t))&&o.get(e))e=c==e;else{c=!0,o.set(t,e),o.set(e,t);for(var l=i;++fe?n:0,kr(e,n)?t[e]:$}function Xe(t,e,n){var r=-1;return e=d(e.length?e:[No],I(br())),t=Ke(t,function(t){return{a:d(e,function(e){return e(t)}),b:++r,c:t}}),k(t,function(t,e){var r;t:{r=-1;for(var o=t.a,i=e.a,u=o.length,a=n.length;++r=a?c:c*("desc"==n[r]?-1:1);break t}}r=t.b-e.b}return r})}function Qe(t,e){return tn(t,e,function(e,n){return zo(t,n)})}function tn(t,e,n){for(var r=-1,o=e.length,i={};++re||9007199254740991e&&(e=-e>o?0:o+e),n=n>o?o:n,0>n&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0,n=Zo(o);++r=o){for(;r>>1,u=t[i];null!==u&&!wo(u)&&(n?ue.length?t:Ae(t,pn(e,0,-1)))||delete t[Dr(Vr(e))]}function xn(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++ir)return r?_n(t[0]):[];for(var o=-1,i=Zo(r);++o=r?t:pn(t,e,n)}function Sn(t,e){if(e)return t.slice();var n=t.length,n=gi?gi(n):new t.constructor(n);return t.copy(n),n}function Tn(t){var e=new t.constructor(t.byteLength);return new yi(e).set(new yi(t)),e}function In(t,e){return new t.constructor(e?Tn(t.buffer):t.buffer,t.byteOffset,t.length)}function zn(t,e){if(t!==e){var n=t!==$,r=null===t,o=t===t,i=wo(t),u=e!==$,a=null===e,c=e===e,f=wo(e);if(!a&&!f&&!i&&t>e||i&&u&&c&&!a&&!f||r&&u&&c||!n&&c||!o)return 1;if(!r&&!i&&!f&&to?$:i,o=1),e=Qo(e);++ru&&a[0]!==f&&a[u-1]!==f?[]:B(a,f),u-=c.length,un?n?un(e,t):e:(n=un(e,Si(t/q(e))),zt.test(e)?En(U(n),0,t).join(""):n.slice(0,t))}function er(t,e,n,r){function o(){for(var e=-1,c=arguments.length,f=-1,s=r.length,l=Zo(s+c),p=this&&this!==qt&&this instanceof o?a:t;++fe||r)&&(1&t&&(i[2]=p[2],e|=1&n?0:4),(n=p[3])&&(r=i[3],i[3]=r?Rn(r,n,p[4]):n,i[4]=r?B(i[3],"__lodash_placeholder__"):p[4]),(n=p[5])&&(r=i[5],i[5]=r?Cn(r,n,p[6]):n,i[6]=r?B(i[5],"__lodash_placeholder__"):p[6]),(n=p[7])&&(i[7]=n),128&t&&(i[8]=null==i[8]?p[8]:Li(i[8],p[8])),null==i[9]&&(i[9]=p[9]),i[0]=p[0],i[1]=e),t=i[0],e=i[1],n=i[2],r=i[3],o=i[4],a=i[9]=i[9]===$?c?0:t.length:Wi(i[9]-f,0),!a&&24&e&&(e&=-25),Mr((p?fu:bu)(e&&1!=e?8==e||16==e?Kn(t,e,a):32!=e&&33!=e||o.length?Yn.apply($,i):er(t,e,n,r):Un(t,e,n),i),t,e)}function cr(t,e,n,r){return t===$||so(t,oi[n])&&!ai.call(r,n)?e:t}function fr(t,e,n,r,o,i){return bo(t)&&bo(e)&&(i.set(e,t),Ye(t,e,$,fr,i),i.delete(e)),t}function sr(t){return xo(t)?$:t}function lr(t,e,n,r,o,i){var u=1&n,a=t.length,c=e.length;if(a!=c&&!(u&&c>a))return!1;if((c=i.get(t))&&i.get(e))return c==e;var c=-1,f=!0,s=2&n?new Ft:$;for(i.set(t,e),i.set(e,t);++cn&&(n=Wi(r+n,0)),_(t,br(e,3),n)):-1}function Ur(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Po(n),o=0>n?Wi(r+o,0):Li(o,r-1)),_(t,br(e,3),o,!0)}function $r(t){return(null==t?0:t.length)?xe(t,1):[]}function Gr(t){return t&&t.length?t[0]:$}function Vr(t){var e=null==t?0:t.length;return e?t[e-1]:$}function Kr(t,e){return t&&t.length&&e&&e.length?nn(t,e):t}function Zr(t){return null==t?t:Ni.call(t)}function Hr(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(po(t))return e=Wi(t.length,e),!0}),S(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(t);return null==e?n:d(n,function(t){return i(e,$,t)})}function Jr(t){return t=n(t),t.__chain__=!0,t}function Xr(t,e){return e(t)}function Qr(){return this}function to(t,e){return(ua(t)?a:iu)(t,br(e,3))}function eo(t,e){return(ua(t)?c:uu)(t,br(e,3))}function no(t,e){return(ua(t)?d:Ke)(t,br(e,3))}function ro(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,ar(t,128,$,$,$,$,e)}function oo(t,e){var n;if("function"!=typeof e)throw new ni("Expected a function");return t=Po(t),function(){return 0=t&&(e=$),n}}function io(t,e,n){return e=n?$:e,t=ar(t,8,$,$,$,$,$,e),t.placeholder=io.placeholder,t}function uo(t,e,n){return e=n?$:e,t=ar(t,16,$,$,$,$,$,e),t.placeholder=uo.placeholder,t}function ao(t,e,n){function r(e){var n=c,r=f;return c=f=$,h=e,l=t.apply(r,n)}function o(t){var n=t-d;return t-=h,d===$||n>=e||0>n||y&&t>=s}function i(){var t=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=y?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),v?r(t):l;if(y)return lu(p),p=_u(i,e),r(d)}return p===$&&(p=_u(i,e)),l}var c,f,s,l,p,d,h=0,v=!1,y=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=Eo(e)||0,bo(n)&&(v=!!n.leading,s=(y="maxWait"in n)?Wi(Eo(n.maxWait)||0,e):s,g="trailing"in n?!!n.trailing:g),a.cancel=function(){p!==$&&lu(p),h=0,c=d=f=p=$},a.flush=function(){return p===$?l:u(Zu())},a}function co(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ni("Expected a function");return n.cache=new(co.Cache||Lt),n}function fo(t){if("function"!=typeof t)throw new ni("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function so(t,e){return t===e||t!==t&&e!==e}function lo(t){return null!=t&&go(t.length)&&!vo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=ke(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function vo(t){return!!bo(t)&&("[object Function]"==(t=ke(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yo(t){return"number"==typeof t&&t==Po(t)}function go(t){return"number"==typeof t&&-1=t}function bo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function _o(t){return null!=t&&"object"==typeof t}function mo(t){return"number"==typeof t||_o(t)&&"[object Number]"==ke(t)}function xo(t){return!(!_o(t)||"[object Object]"!=ke(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==ke(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==ke(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Mn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=yu(t),("[object Map]"==e?L:"[object Set]"==e?F:Wo)(t)}function Ao(t){return t?(t=Eo(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Po(t){t=Ao(t);var e=t%1;return t===t?e?t-e:t:0}function ko(t){return t?pe(Po(t),0,4294967295):0}function Eo(t){if("number"==typeof t)return t;if(wo(t))return V;if(bo(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=bo(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ft,"");var e=mt.test(t);return e||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function So(t){return Wn(t,Co(t))}function To(t){return null==t?"":bn(t)}function Io(t,e,n){return t=null==t?$:Ae(t,e),t===$?n:t}function zo(t,e){return null!=t&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Co(t){if(lo(t))t=Ut(t,!0);else if(bo(t)){var e,n=Ir(t),r=[];for(e in t)("constructor"!=e||!n&&ai.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Qo(t))e.push(n);t=e}return t}function Mo(t,e){if(null==t)return{};var n=d(vr(t),function(t){return[t]});return e=br(e),tn(t,n,function(t,n){return e(t,n[0])})}function Wo(t){return null==t?[]:z(t,Ro(t))}function Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(St,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(vt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(t){return t}function qo(t){return $e("function"==typeof t?t:de(t,1))}function Uo(t,e,n){var r=Ro(e),o=Oe(e,r);null!=n||bo(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Oe(e,Ro(e)));var i=!(bo(n)&&"chain"in n&&!n.chain),u=vo(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Mn(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function $o(){}function Go(t){return Sr(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Ct));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.prototype,oi=Qo.prototype,ii=e["__core-js_shared__"],ui=Jo.prototype.toString,ai=oi.hasOwnProperty,ci=0,fi=function(){var t=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),si=oi.toString,li=ui.call(Qo),pi=qt._,di=ti("^"+ui.call(ai).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Gt?e.Buffer:$,vi=e.Symbol,yi=e.Uint8Array,gi=hi?hi.g:$,bi=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=vi?vi.isConcatSpreadable:$,wi=vi?vi.iterator:$,Oi=vi?vi.toStringTag:$,Ai=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Pi=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,ki=Ho&&Ho.now!==qt.Date.now&&Ho.now,Ei=e.setTimeout!==qt.setTimeout&&e.setTimeout,Si=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Ci=ri.join,Mi=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=ri.reverse,qi=xr(e,"DataView"),Ui=xr(e,"Map"),$i=xr(e,"Promise"),Gi=xr(e,"Set"),Vi=xr(e,"WeakMap"),Ki=xr(Qo,"create"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(Vi),eu=vi?vi.prototype:$,nu=eu?eu.valueOf:$,ru=eu?eu.toString:$,ou=function(){function t(){}return function(e){return bo(e)?_i?_i(e):(t.prototype=e,e=new t,t.prototype=$,e):{}}}();n.templateSettings={escape:et,evaluate:nt,interpolate:rt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ou(r.prototype),o.prototype.constructor=o,A.prototype=ou(r.prototype),A.prototype.constructor=A,kt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},kt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},kt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},kt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},kt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ki&&e===$?"__lodash_hash_undefined__":e,this},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.prototype.delete=function(t){var e=this.__data__;return!(0>(t=ue(e,t))||(t==e.length-1?e.pop():xi.call(e,t,1),--this.size,0))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1r?(++this.size,n.push([t,e])):n[r][1]=e,this},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new kt,map:new(Ui||Tt),string:new kt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.prototype.set=function(t,e){var n=_r(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=Ai?function(t,e){return Ai(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Pi||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,vu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,yu=ke;(qi&&"[object DataView]"!=yu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=yu(new Ui)||$i&&"[object Promise]"!=yu($i.resolve())||Gi&&"[object Set]"!=yu(new Gi)||Vi&&"[object WeakMap]"!=yu(new Vi))&&(yu=function(t){var e=ke(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(t):"")switch(t){case Yi:return"[object DataView]";case Ji:return"[object Map]";case Xi:return"[object Promise]";case Qi:return"[object Set]";case tu:return"[object WeakMap]"}return e});var gu=ii?vo:Ko,bu=Wr(fu),_u=Ei||function(t,e){return qt.setTimeout(t,e)},mu=Wr(su),xu=function(t){t=co(t,function(t){return 500===e.size&&e.clear(),t});var e=t.cache;return t}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ut,function(t,n,r,o){e.push(r?o.replace(yt,"$1"):n||t)}),e}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),br(n,2)):[]}),Ou=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),$,n):[]}),Au=an(function(t){var e=d(t,An);return e.length&&e[0]===t[0]?Ie(e):[]}),Pu=an(function(t){var e=Vr(t),n=d(t,An);return e===Vr(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Ie(n,br(e,2)):[]}),ku=an(function(t){var e=Vr(t),n=d(t,An);return(e="function"==typeof e?e:$)&&n.pop(),n.length&&n[0]===t[0]?Ie(n,$,e):[]}),Eu=an(Kr),Su=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return kr(t,n)?+t:t}).sort(zn)),r}),Tu=an(function(t){return _n(xe(t,1,po,!0))}),Iu=an(function(t){var e=Vr(t);return po(e)&&(e=$),_n(xe(t,1,po,!0),br(e,2))}),zu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return _n(xe(t,1,po,!0),$,e)}),Ru=an(function(t,e){return po(t)?ge(t,e):[]}),Cu=an(function(t){return wn(s(t,po))}),Mu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1=e}),ia=Ce(function(){return arguments}())?Ce:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Me,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),va=rr(function(t,e){return t--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=ya,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Hu,n.bindAll=Na,n.bindKey=Yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ua(t)?t:[t]},n.chain=Jr,n.chunk=function(t,e,n){if(e=(n?Er(t,e,n):e===$)?1:Wi(Po(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Si(n/e));re?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0,0>e?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0):[]},n.fill=function(t,e,n,r){var o=null==t?0:t.length;if(!o)return[];for(n&&"number"!=typeof n&&Er(t,e,n)&&(n=0,r=o),o=t.length,n=Po(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Po(r),0>r&&(r+=o),r=n>r?0:ko(r);n>>0,n?(t=To(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?En(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=null==e?0:Wi(Po(e),0),an(function(n){var r=n[e];return n=En(n,0,e),r&&h(n,r),i(t,this,n)})},n.tail=function(t){var e=null==t?0:t.length;return e?pn(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===$?1:Po(e),pn(t,0,0>e?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0>e?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xn(t,br(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new ni("Expected a function");return bo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ao(t,e,{leading:r,maxWait:e,trailing:o})},n.thru=Xr,n.toArray=Oo,n.toPairs=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Mn(xu(To(t)))},n.toPlainObject=So,n.transform=function(t,e,n){var r=ua(t),o=r||ca(t)||da(t);if(e=br(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:bo(t)&&vo(i)?ou(bi(t)):{}}return(o?a:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,n.unionBy=Iu,n.unionWith=zu,n.uniq=function(t){return t&&t.length?_n(t):[]},n.uniqBy=function(t,e){return t&&t.length?_n(t,br(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:$,t&&t.length?_n(t,$,e):[]},n.unset=function(t,e){return null==t||mn(t,e)},n.unzip=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,Pn(n)(Ae(t,e)),void 0)},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:$,null!=t&&(t=sn(t,e,Pn(n)(Ae(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Co(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(Pn(e),t)},n.xor=Cu,n.xorBy=Mu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=Eo(n),n=n===n?n:0),e!==$&&(e=Eo(e),e=e===e?e:0),pe(Eo(t),e,n)},n.clone=function(t){return de(t,4)},n.cloneDeep=function(t){return de(t,5)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:$,de(t,5,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:$,de(t,4,e)},n.conformsTo=function(t,e){return null==e||ve(t,e,Ro(e))},n.deburr=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Po(n),0,r);return 0n&&(n=Wi(r+n,0)),jo(t)?nn&&(n=Wi(r+n,0)),m(t,e,n)):-1},n.inRange=function(t,e,n){return e=Ao(e),n===$?(n=e,e=0):n=Ao(n),(t=Eo(t))>=Li(e,n)&&t=t},n.isSet=pa,n.isString=jo,n.isSymbol=wo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==yu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==ke(t)},n.join=function(t,e){return null==t?"":Ci.call(t,e)},n.kebabCase=Ra,n.last=Vr,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;if(n!==$&&(o=Po(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ca,n.lowerFirst=Ma,n.lt=ha,n.lte=va,n.max=function(t){return t&&t.length?_e(t,No,Ee):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ee):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,Ve):$},n.minBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ve):$},n.stubArray=Vo,n.stubFalse=Ko,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=ec,n.nth=function(t,e){return t&&t.length?Je(t,Po(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Po(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Si(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Po(e))?q(t):0;return e&&re){var r=t;t=e,e=r}return n||t%1||e%1?(n=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?v:P,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?y:P,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Po(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=kn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r(t=Po(t))||9007199254740991=i)return t;if(1>(i=n-q(r)))return r;if(n=u?En(u,0,i).join(""):t.slice(0,i),o===$)return n+r;if(u&&(i+=n.length-i),la(o)){if(t.slice(i).search(o)){var a=n;for(o.global||(o=ti(o.source,To(bt.exec(o))+"g")),o.lastIndex=0;u=o.exec(a);)var c=u.index;n=n.slice(0,c===$?i:c)}}else t.indexOf(bn(o),i)!=i&&-1r.__dir__?"Right":"")}),r},A.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;A.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:br(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");A.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");A.prototype[t]=function(){return this.__filtered__?new A(this):this[n](1)}}),A.prototype.compact=function(){return this.filter(No)},A.prototype.find=function(t){return this.filter(t).head()},A.prototype.findLast=function(t){return this.reverse().find(t)},A.prototype.invokeMap=an(function(t,e){return"function"==typeof t?new A(this):this.map(function(n){return Re(n,t,e)})}),A.prototype.reject=function(t){return this.filter(fo(br(t)))},A.prototype.slice=function(t,e){t=Po(t);var n=this;return n.__filtered__&&(0e)?new A(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Po(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},A.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},A.prototype.toArray=function(){return this.take(4294967295)},je(A.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){function e(t){return t=u.apply(n,h([t],f)),i&&d?t[0]:t}var c=this.__wrapped__,f=i?[1]:arguments,s=c instanceof A,l=f[0],p=s||ua(c);p&&r&&"function"==typeof l&&1!=l.length&&(s=p=!1);var d=this.__chain__,v=!!this.__actions__.length,l=a&&!d,s=s&&!v;return!a&&p?(c=s?c:new A(this),c=t.apply(c,f),c.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(c,d)):l&&s?t.apply(this,f):(c=this.thru(e),l?i?c.value()[0]:c.value():c)})}),a("pop push shift sort splice unshift".split(" "),function(t){var e=ri[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(ua(n)?n:[],t)}return this[r](function(n){return e.apply(ua(n)?n:[],t)})}}),je(A.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],A.prototype.clone=function(){var t=new A(this.__wrapped__);return t.__actions__=Mn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mn(this.__views__),t},A.prototype.reverse=function(){if(this.__filtered__){var t=new A(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},A.prototype.value=function(){var t,e=this.__wrapped__.value(),n=this.__dir__,r=ua(e),o=0>n,i=r?e.length:0;t=i;for(var u=this.__views__,a=0,c=-1,f=u.length;++c=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var o=Nr(n);o.__index__=0,o.__values__=$,e?i.__wrapped__=o:e=o;var i=o,n=n.__wrapped__}return i.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof A?(this.__actions__.length&&(t=new A(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(47),n(19)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||P.curry&&n>1?W(e,n):e}function v(t,e,n){if(P.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return P.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n2?n-2:1,i&&i-1?a[c?e[f]:f]:void 0}}var o=n(102),i=n(106),u=n(63);t.exports=r},function(t,e,n){function r(t){var e=i(t);return 1==e.length&&e[0][2]?u(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}}var o=n(361),i=n(423),u=n(182);t.exports=r},function(t,e,n){function r(t,e,n,r){var c=n.length,f=c,s=!r;if(null==t)return!f;for(t=Object(t);c--;){var l=n[c];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++c-1}var o=n(58);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return rf;)c.call(t,u=a[f++])&&e.push(u);return e}},function(t,e,n){var r=n(118);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(23),o=n(188).f,i={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==i.call(t)?a(t):o(r(t))}},function(t,e,n){var r=n(46),o=n(42),i=n(23),u=n(67),a=n(15),c=n(114),f=Object.getOwnPropertyDescriptor;e.f=n(14)?f:function(t,e){if(t=i(t),e=u(e,!0),c)try{return f(t,e)}catch(t){}if(a(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n3&&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;n1&&void 0!==arguments[1]?arguments[1]:{};f(this,t);var o={opacity:1,opacityTransition:.5,scale:1};this.config=a({},o,n),this.svg=e.cloneNode(!0);var i=this.svg.getAttribute("viewBox").split(" "),u=r(i,4),c=u[2],s=u[3];this.baseWidth=c,this.baseHeight=s,this.opacity=this.config.opacity,this.opacityTransition=this.config.opacityTransition,this.scale=this.config.scale,this.svg.setAttribute("focusable","false"),this.hide()}return l(t,[{key:"hasPosition",value:function(){return!!this.config.position}},{key:"show",value:function(){this.svg.style.display="block",this.svg.style.opacity=this.opacity}},{key:"fadeIn",value:function(){var t=this;requestAnimationFrame(function(){t.svg.style.display="block",requestAnimationFrame(function(){t.svg.style.opacity=t.opacity})})}},{key:"hide",value:function(){this.svg.style.display="none",this.svg.style.opacity=0}},{key:"opacity",get:function(){return this.config.opacity},set:function(t){this.config.opacity=t,this.svg.style.opacity=t}},{key:"opacityTransition",get:function(){return this.config.opacityTransition},set:function(t){this.config.opacityTransition=t,this.svg.style.transitionDuration="".concat(t,"s")}},{key:"position",get:function(){return this.config.position},set:function(t){var e=r(t,2),n=e[0],o=e[1],i="string"==typeof n?n:"".concat(n.toString(),"px"),u="string"==typeof o?o:"".concat(o.toString(),"px");this.config.position=[i,u],this.svg.style.left="".concat(n,"px"),this.svg.style.top="".concat(o,"px")}},{key:"scale",get:function(){return this.config.scale},set:function(t){this.config.scale=t,this.svg.style.width="".concat(this.baseWidth*t,"px"),this.svg.style.height="".concat(this.baseHeight*t,"px")}}]),t}(),y=function(t){return t%2==0},g=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},b=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=[],n=0;nn&&(n=Wi(r+n,0)),_(t,br(e,3),n)):-1}function Ur(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==$&&(o=Po(n),o=0>n?Wi(r+o,0):Li(o,r-1)),_(t,br(e,3),o,!0)}function $r(t){return(null==t?0:t.length)?xe(t,1):[]}function Gr(t){return t&&t.length?t[0]:$}function Vr(t){var e=null==t?0:t.length;return e?t[e-1]:$}function Kr(t,e){return t&&t.length&&e&&e.length?nn(t,e):t}function Zr(t){return null==t?t:Ni.call(t)}function Hr(t){if(!t||!t.length)return[];var e=0;return t=s(t,function(t){if(po(t))return e=Wi(t.length,e),!0}),S(e,function(e){return d(t,O(e))})}function Yr(t,e){if(!t||!t.length)return[];var n=Hr(t);return null==e?n:d(n,function(t){return i(e,$,t)})}function Jr(t){return t=n(t),t.__chain__=!0,t}function Xr(t,e){return e(t)}function Qr(){return this}function to(t,e){return(ua(t)?a:iu)(t,br(e,3))}function eo(t,e){return(ua(t)?c:uu)(t,br(e,3))}function no(t,e){return(ua(t)?d:Ke)(t,br(e,3))}function ro(t,e,n){return e=n?$:e,e=t&&null==e?t.length:e,ar(t,128,$,$,$,$,e)}function oo(t,e){var n;if("function"!=typeof e)throw new ni("Expected a function");return t=Po(t),function(){return 0=t&&(e=$),n}}function io(t,e,n){return e=n?$:e,t=ar(t,8,$,$,$,$,$,e),t.placeholder=io.placeholder,t}function uo(t,e,n){return e=n?$:e,t=ar(t,16,$,$,$,$,$,e),t.placeholder=uo.placeholder,t}function ao(t,e,n){function r(e){var n=c,r=f;return c=f=$,h=e,l=t.apply(r,n)}function o(t){var n=t-d;return t-=h,d===$||n>=e||0>n||y&&t>=s}function i(){var t=Zu();if(o(t))return u(t);var n,r=_u;n=t-h,t=e-(t-d),n=y?Li(t,s-n):t,p=r(i,n)}function u(t){return p=$,g&&c?r(t):(c=f=$,l)}function a(){var t=Zu(),n=o(t);if(c=arguments,f=this,d=t,n){if(p===$)return h=t=d,p=_u(i,e),v?r(t):l;if(y)return lu(p),p=_u(i,e),r(d)}return p===$&&(p=_u(i,e)),l}var c,f,s,l,p,d,h=0,v=!1,y=!1,g=!0;if("function"!=typeof t)throw new ni("Expected a function");return e=Eo(e)||0,bo(n)&&(v=!!n.leading,s=(y="maxWait"in n)?Wi(Eo(n.maxWait)||0,e):s,g="trailing"in n?!!n.trailing:g),a.cancel=function(){p!==$&&lu(p),h=0,c=d=f=p=$},a.flush=function(){return p===$?l:u(Zu())},a}function co(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ni("Expected a function");return n.cache=new(co.Cache||Lt),n}function fo(t){if("function"!=typeof t)throw new ni("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function so(t,e){return t===e||t!==t&&e!==e}function lo(t){return null!=t&&go(t.length)&&!vo(t)}function po(t){return _o(t)&&lo(t)}function ho(t){if(!_o(t))return!1;var e=ke(t);return"[object Error]"==e||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!xo(t)}function vo(t){return!!bo(t)&&("[object Function]"==(t=ke(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yo(t){return"number"==typeof t&&t==Po(t)}function go(t){return"number"==typeof t&&-1=t}function bo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function _o(t){return null!=t&&"object"==typeof t}function mo(t){return"number"==typeof t||_o(t)&&"[object Number]"==ke(t)}function xo(t){return!(!_o(t)||"[object Object]"!=ke(t))&&(null===(t=bi(t))||"function"==typeof(t=ai.call(t,"constructor")&&t.constructor)&&t instanceof t&&ui.call(t)==li)}function jo(t){return"string"==typeof t||!ua(t)&&_o(t)&&"[object String]"==ke(t)}function wo(t){return"symbol"==typeof t||_o(t)&&"[object Symbol]"==ke(t)}function Oo(t){if(!t)return[];if(lo(t))return jo(t)?U(t):Mn(t);if(wi&&t[wi]){t=t[wi]();for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}return e=yu(t),("[object Map]"==e?L:"[object Set]"==e?F:Wo)(t)}function Ao(t){return t?(t=Eo(t),t===G||t===-G?1.7976931348623157e308*(0>t?-1:1):t===t?t:0):0===t?t:0}function Po(t){t=Ao(t);var e=t%1;return t===t?e?t-e:t:0}function ko(t){return t?pe(Po(t),0,4294967295):0}function Eo(t){if("number"==typeof t)return t;if(wo(t))return V;if(bo(t)&&(t="function"==typeof t.valueOf?t.valueOf():t,t=bo(t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(ft,"");var e=mt.test(t);return e||jt.test(t)?Bt(t.slice(2),e?2:8):_t.test(t)?V:+t}function So(t){return Wn(t,Co(t))}function To(t){return null==t?"":bn(t)}function Io(t,e,n){return t=null==t?$:Ae(t,e),t===$?n:t}function zo(t,e){return null!=t&&jr(t,e,Te)}function Ro(t){return lo(t)?Ut(t):Ge(t)}function Co(t){if(lo(t))t=Ut(t,!0);else if(bo(t)){var e,n=Ir(t),r=[];for(e in t)("constructor"!=e||!n&&ai.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Qo(t))e.push(n);t=e}return t}function Mo(t,e){if(null==t)return{};var n=d(vr(t),function(t){return[t]});return e=br(e),tn(t,n,function(t,n){return e(t,n[0])})}function Wo(t){return null==t?[]:z(t,Ro(t))}function Lo(t){return Ba(To(t).toLowerCase())}function Do(t){return(t=To(t))&&t.replace(Ot,ee).replace(St,"")}function Bo(t,e,n){return t=To(t),e=n?$:e,e===$?Rt.test(t)?t.match(It)||[]:t.match(vt)||[]:t.match(e)||[]}function Fo(t){return function(){return t}}function No(t){return t}function qo(t){return $e("function"==typeof t?t:de(t,1))}function Uo(t,e,n){var r=Ro(e),o=Oe(e,r);null!=n||bo(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=Oe(e,Ro(e)));var i=!(bo(n)&&"chain"in n&&!n.chain),u=vo(t);return a(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Mn(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,h([this.value()],arguments))})}),t}function $o(){}function Go(t){return Sr(t)?O(Dr(t)):en(t)}function Vo(){return[]}function Ko(){return!1}e=null==e?qt:oe.defaults(qt.Object(),e,oe.pick(qt,Ct));var Zo=e.Array,Ho=e.Date,Yo=e.Error,Jo=e.Function,Xo=e.Math,Qo=e.Object,ti=e.RegExp,ei=e.String,ni=e.TypeError,ri=Zo.prototype,oi=Qo.prototype,ii=e["__core-js_shared__"],ui=Jo.prototype.toString,ai=oi.hasOwnProperty,ci=0,fi=function(){var t=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),si=oi.toString,li=ui.call(Qo),pi=qt._,di=ti("^"+ui.call(ai).replace(at,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hi=Gt?e.Buffer:$,vi=e.Symbol,yi=e.Uint8Array,gi=hi?hi.g:$,bi=D(Qo.getPrototypeOf,Qo),_i=Qo.create,mi=oi.propertyIsEnumerable,xi=ri.splice,ji=vi?vi.isConcatSpreadable:$,wi=vi?vi.iterator:$,Oi=vi?vi.toStringTag:$,Ai=function(){try{var t=xr(Qo,"defineProperty");return t({},"",{}),t}catch(t){}}(),Pi=e.clearTimeout!==qt.clearTimeout&&e.clearTimeout,ki=Ho&&Ho.now!==qt.Date.now&&Ho.now,Ei=e.setTimeout!==qt.setTimeout&&e.setTimeout,Si=Xo.ceil,Ti=Xo.floor,Ii=Qo.getOwnPropertySymbols,zi=hi?hi.isBuffer:$,Ri=e.isFinite,Ci=ri.join,Mi=D(Qo.keys,Qo),Wi=Xo.max,Li=Xo.min,Di=Ho.now,Bi=e.parseInt,Fi=Xo.random,Ni=ri.reverse,qi=xr(e,"DataView"),Ui=xr(e,"Map"),$i=xr(e,"Promise"),Gi=xr(e,"Set"),Vi=xr(e,"WeakMap"),Ki=xr(Qo,"create"),Zi=Vi&&new Vi,Hi={},Yi=Br(qi),Ji=Br(Ui),Xi=Br($i),Qi=Br(Gi),tu=Br(Vi),eu=vi?vi.prototype:$,nu=eu?eu.valueOf:$,ru=eu?eu.toString:$,ou=function(){function t(){}return function(e){return bo(e)?_i?_i(e):(t.prototype=e,e=new t,t.prototype=$,e):{}}}();n.templateSettings={escape:et,evaluate:nt,interpolate:rt,variable:"",imports:{_:n}},n.prototype=r.prototype,n.prototype.constructor=n,o.prototype=ou(r.prototype),o.prototype.constructor=o,A.prototype=ou(r.prototype),A.prototype.constructor=A,kt.prototype.clear=function(){this.__data__=Ki?Ki(null):{},this.size=0},kt.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},kt.prototype.get=function(t){var e=this.__data__;return Ki?(t=e[t],"__lodash_hash_undefined__"===t?$:t):ai.call(e,t)?e[t]:$},kt.prototype.has=function(t){var e=this.__data__;return Ki?e[t]!==$:ai.call(e,t)},kt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ki&&e===$?"__lodash_hash_undefined__":e,this},Tt.prototype.clear=function(){this.__data__=[],this.size=0},Tt.prototype.delete=function(t){var e=this.__data__;return!(0>(t=ue(e,t))||(t==e.length-1?e.pop():xi.call(e,t,1),--this.size,0))},Tt.prototype.get=function(t){var e=this.__data__;return t=ue(e,t),0>t?$:e[t][1]},Tt.prototype.has=function(t){return-1r?(++this.size,n.push([t,e])):n[r][1]=e,this},Lt.prototype.clear=function(){this.size=0,this.__data__={hash:new kt,map:new(Ui||Tt),string:new kt}},Lt.prototype.delete=function(t){return t=_r(this,t).delete(t),this.size-=t?1:0,t},Lt.prototype.get=function(t){return _r(this,t).get(t)},Lt.prototype.has=function(t){return _r(this,t).has(t)},Lt.prototype.set=function(t,e){var n=_r(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Ft.prototype.add=Ft.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Ft.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.clear=function(){this.__data__=new Tt,this.size=0},Nt.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},Nt.prototype.get=function(t){return this.__data__.get(t)},Nt.prototype.has=function(t){return this.__data__.has(t)},Nt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Tt){var r=n.__data__;if(!Ui||199>r.length)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Lt(r)}return n.set(t,e),this.size=n.size,this};var iu=Nn(je),uu=Nn(we,!0),au=qn(),cu=qn(!0),fu=Zi?function(t,e){return Zi.set(t,e),t}:No,su=Ai?function(t,e){return Ai(t,"toString",{configurable:!0,enumerable:!1,value:Fo(e),writable:!0})}:No,lu=Pi||function(t){return qt.clearTimeout(t)},pu=Gi&&1/F(new Gi([,-0]))[1]==G?function(t){return new Gi(t)}:$o,du=Zi?function(t){return Zi.get(t)}:$o,hu=Ii?function(t){return null==t?[]:(t=Qo(t),s(Ii(t),function(e){return mi.call(t,e)}))}:Vo,vu=Ii?function(t){for(var e=[];t;)h(e,hu(t)),t=bi(t);return e}:Vo,yu=ke;(qi&&"[object DataView]"!=yu(new qi(new ArrayBuffer(1)))||Ui&&"[object Map]"!=yu(new Ui)||$i&&"[object Promise]"!=yu($i.resolve())||Gi&&"[object Set]"!=yu(new Gi)||Vi&&"[object WeakMap]"!=yu(new Vi))&&(yu=function(t){var e=ke(t);if(t=(t="[object Object]"==e?t.constructor:$)?Br(t):"")switch(t){case Yi:return"[object DataView]";case Ji:return"[object Map]";case Xi:return"[object Promise]";case Qi:return"[object Set]";case tu:return"[object WeakMap]"}return e});var gu=ii?vo:Ko,bu=Wr(fu),_u=Ei||function(t,e){return qt.setTimeout(t,e)},mu=Wr(su),xu=function(t){t=co(t,function(t){return 500===e.size&&e.clear(),t});var e=t.cache;return t}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(ut,function(t,n,r,o){e.push(r?o.replace(yt,"$1"):n||t)}),e}),ju=an(function(t,e){return po(t)?ge(t,xe(e,1,po,!0)):[]}),wu=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),br(n,2)):[]}),Ou=an(function(t,e){var n=Vr(e);return po(n)&&(n=$),po(t)?ge(t,xe(e,1,po,!0),$,n):[]}),Au=an(function(t){var e=d(t,An);return e.length&&e[0]===t[0]?Ie(e):[]}),Pu=an(function(t){var e=Vr(t),n=d(t,An);return e===Vr(n)?e=$:n.pop(),n.length&&n[0]===t[0]?Ie(n,br(e,2)):[]}),ku=an(function(t){var e=Vr(t),n=d(t,An);return(e="function"==typeof e?e:$)&&n.pop(),n.length&&n[0]===t[0]?Ie(n,$,e):[]}),Eu=an(Kr),Su=dr(function(t,e){var n=null==t?0:t.length,r=le(t,e);return rn(t,d(e,function(t){return kr(t,n)?+t:t}).sort(zn)),r}),Tu=an(function(t){return _n(xe(t,1,po,!0))}),Iu=an(function(t){var e=Vr(t);return po(e)&&(e=$),_n(xe(t,1,po,!0),br(e,2))}),zu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return _n(xe(t,1,po,!0),$,e)}),Ru=an(function(t,e){return po(t)?ge(t,e):[]}),Cu=an(function(t){return wn(s(t,po))}),Mu=an(function(t){var e=Vr(t);return po(e)&&(e=$),wn(s(t,po),br(e,2))}),Wu=an(function(t){var e=Vr(t),e="function"==typeof e?e:$;return wn(s(t,po),$,e)}),Lu=an(Hr),Du=an(function(t){var e=t.length,e=1=e}),ia=Ce(function(){return arguments}())?Ce:function(t){return _o(t)&&ai.call(t,"callee")&&!mi.call(t,"callee")},ua=Zo.isArray,aa=Zt?I(Zt):Me,ca=zi||Ko,fa=Ht?I(Ht):We,sa=Yt?I(Yt):De,la=Jt?I(Jt):Ne,pa=Xt?I(Xt):qe,da=Qt?I(Qt):Ue,ha=rr(Ve),va=rr(function(t,e){return t--t)return e.apply(this,arguments)}},n.ary=ro,n.assign=ya,n.assignIn=ga,n.assignInWith=ba,n.assignWith=_a,n.at=ma,n.before=oo,n.bind=Hu,n.bindAll=Na,n.bindKey=Yu,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ua(t)?t:[t]},n.chain=Jr,n.chunk=function(t,e,n){if(e=(n?Er(t,e,n):e===$)?1:Wi(Po(e),0),!(n=null==t?0:t.length)||1>e)return[];for(var r=0,o=0,i=Zo(Si(n/e));re?0:e,r)):[]},n.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0,0>e?0:e)):[]},n.dropRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!0):[]},n.fill=function(t,e,n,r){var o=null==t?0:t.length;if(!o)return[];for(n&&"number"!=typeof n&&Er(t,e,n)&&(n=0,r=o),o=t.length,n=Po(n),0>n&&(n=-n>o?0:o+n),r=r===$||r>o?o:Po(r),0>r&&(r+=o),r=n>r?0:ko(r);n>>0,n?(t=To(t))&&("string"==typeof e||null!=e&&!la(e))&&!(e=bn(e))&&zt.test(t)?En(U(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new ni("Expected a function");return e=null==e?0:Wi(Po(e),0),an(function(n){var r=n[e];return n=En(n,0,e),r&&h(n,r),i(t,this,n)})},n.tail=function(t){var e=null==t?0:t.length;return e?pn(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?(e=n||e===$?1:Po(e),pn(t,0,0>e?0:e)):[]},n.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===$?1:Po(e),e=r-e,pn(t,0>e?0:e,r)):[]},n.takeRightWhile=function(t,e){return t&&t.length?xn(t,br(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?xn(t,br(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new ni("Expected a function");return bo(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),ao(t,e,{leading:r,maxWait:e,trailing:o})},n.thru=Xr,n.toArray=Oo,n.toPairs=Ta,n.toPairsIn=Ia,n.toPath=function(t){return ua(t)?d(t,Dr):wo(t)?[t]:Mn(xu(To(t)))},n.toPlainObject=So,n.transform=function(t,e,n){var r=ua(t),o=r||ca(t)||da(t);if(e=br(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:bo(t)&&vo(i)?ou(bi(t)):{}}return(o?a:je)(t,function(t,r,o){return e(n,t,r,o)}),n},n.unary=function(t){return ro(t,1)},n.union=Tu,n.unionBy=Iu,n.unionWith=zu,n.uniq=function(t){return t&&t.length?_n(t):[]},n.uniqBy=function(t,e){return t&&t.length?_n(t,br(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:$,t&&t.length?_n(t,$,e):[]},n.unset=function(t,e){return null==t||mn(t,e)},n.unzip=Hr,n.unzipWith=Yr,n.update=function(t,e,n){return null==t?t:sn(t,e,Pn(n)(Ae(t,e)),void 0)},n.updateWith=function(t,e,n,r){return r="function"==typeof r?r:$,null!=t&&(t=sn(t,e,Pn(n)(Ae(t,e)),r)),t},n.values=Wo,n.valuesIn=function(t){return null==t?[]:z(t,Co(t))},n.without=Ru,n.words=Bo,n.wrap=function(t,e){return ta(Pn(e),t)},n.xor=Cu,n.xorBy=Mu,n.xorWith=Wu,n.zip=Lu,n.zipObject=function(t,e){return On(t||[],e||[],ie)},n.zipObjectDeep=function(t,e){return On(t||[],e||[],sn)},n.zipWith=Du,n.entries=Ta,n.entriesIn=Ia,n.extend=ga,n.extendWith=ba,Uo(n,n),n.add=Ja,n.attempt=Fa,n.camelCase=za,n.capitalize=Lo,n.ceil=Xa,n.clamp=function(t,e,n){return n===$&&(n=e,e=$),n!==$&&(n=Eo(n),n=n===n?n:0),e!==$&&(e=Eo(e),e=e===e?e:0),pe(Eo(t),e,n)},n.clone=function(t){return de(t,4)},n.cloneDeep=function(t){return de(t,5)},n.cloneDeepWith=function(t,e){return e="function"==typeof e?e:$,de(t,5,e)},n.cloneWith=function(t,e){return e="function"==typeof e?e:$,de(t,4,e)},n.conformsTo=function(t,e){return null==e||ve(t,e,Ro(e))},n.deburr=Do,n.defaultTo=function(t,e){return null==t||t!==t?e:t},n.divide=Qa,n.endsWith=function(t,e,n){t=To(t),e=bn(e);var r=t.length,r=n=n===$?r:pe(Po(n),0,r);return 0n&&(n=Wi(r+n,0)),jo(t)?nn&&(n=Wi(r+n,0)),m(t,e,n)):-1},n.inRange=function(t,e,n){return e=Ao(e),n===$?(n=e,e=0):n=Ao(n),(t=Eo(t))>=Li(e,n)&&t=t},n.isSet=pa,n.isString=jo,n.isSymbol=wo,n.isTypedArray=da,n.isUndefined=function(t){return t===$},n.isWeakMap=function(t){return _o(t)&&"[object WeakMap]"==yu(t)},n.isWeakSet=function(t){return _o(t)&&"[object WeakSet]"==ke(t)},n.join=function(t,e){return null==t?"":Ci.call(t,e)},n.kebabCase=Ra,n.last=Vr,n.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;if(n!==$&&(o=Po(n),o=0>o?Wi(r+o,0):Li(o,r-1)),e===e){for(n=o+1;n--&&t[n]!==e;);t=n}else t=_(t,j,o,!0);return t},n.lowerCase=Ca,n.lowerFirst=Ma,n.lt=ha,n.lte=va,n.max=function(t){return t&&t.length?_e(t,No,Ee):$},n.maxBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ee):$},n.mean=function(t){return w(t,No)},n.meanBy=function(t,e){return w(t,br(e,2))},n.min=function(t){return t&&t.length?_e(t,No,Ve):$},n.minBy=function(t,e){return t&&t.length?_e(t,br(e,2),Ve):$},n.stubArray=Vo,n.stubFalse=Ko,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=ec,n.nth=function(t,e){return t&&t.length?Je(t,Po(e)):$},n.noConflict=function(){return qt._===this&&(qt._=pi),this},n.noop=$o,n.now=Zu,n.pad=function(t,e,n){t=To(t);var r=(e=Po(e))?q(t):0;return!e||r>=e?t:(e=(e-r)/2,tr(Ti(e),n)+t+tr(Si(e),n))},n.padEnd=function(t,e,n){t=To(t);var r=(e=Po(e))?q(t):0;return e&&re){var r=t;t=e,e=r}return n||t%1||e%1?(n=Fi(),Li(t+n*(e-t+Dt("1e-"+((n+"").length-1))),e)):on(t,e)},n.reduce=function(t,e,n){var r=ua(t)?v:P,o=3>arguments.length;return r(t,br(e,4),n,o,iu)},n.reduceRight=function(t,e,n){var r=ua(t)?y:P,o=3>arguments.length;return r(t,br(e,4),n,o,uu)},n.repeat=function(t,e,n){return e=(n?Er(t,e,n):e===$)?1:Po(e),un(To(t),e)},n.replace=function(){var t=arguments,e=To(t[0]);return 3>t.length?e:e.replace(t[1],t[2])},n.result=function(t,e,n){e=kn(e,t);var r=-1,o=e.length;for(o||(o=1,t=$);++r(t=Po(t))||9007199254740991=i)return t;if(1>(i=n-q(r)))return r;if(n=u?En(u,0,i).join(""):t.slice(0,i),o===$)return n+r;if(u&&(i+=n.length-i),la(o)){if(t.slice(i).search(o)){var a=n;for(o.global||(o=ti(o.source,To(bt.exec(o))+"g")),o.lastIndex=0;u=o.exec(a);)var c=u.index;n=n.slice(0,c===$?i:c)}}else t.indexOf(bn(o),i)!=i&&-1r.__dir__?"Right":"")}),r},A.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),a(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;A.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:br(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),a(["head","last"],function(t,e){var n="take"+(e?"Right":"");A.prototype[t]=function(){return this[n](1).value()[0]}}),a(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");A.prototype[t]=function(){return this.__filtered__?new A(this):this[n](1)}}),A.prototype.compact=function(){return this.filter(No)},A.prototype.find=function(t){return this.filter(t).head()},A.prototype.findLast=function(t){return this.reverse().find(t)},A.prototype.invokeMap=an(function(t,e){return"function"==typeof t?new A(this):this.map(function(n){return Re(n,t,e)})}),A.prototype.reject=function(t){return this.filter(fo(br(t)))},A.prototype.slice=function(t,e){t=Po(t);var n=this;return n.__filtered__&&(0e)?new A(n):(0>t?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==$&&(e=Po(e),n=0>e?n.dropRight(-e):n.take(e-t)),n)},A.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},A.prototype.toArray=function(){return this.take(4294967295)},je(A.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),u=n[i?"take"+("last"==e?"Right":""):e],a=i||/^find/.test(e);u&&(n.prototype[e]=function(){function e(t){return t=u.apply(n,h([t],f)),i&&d?t[0]:t}var c=this.__wrapped__,f=i?[1]:arguments,s=c instanceof A,l=f[0],p=s||ua(c);p&&r&&"function"==typeof l&&1!=l.length&&(s=p=!1);var d=this.__chain__,v=!!this.__actions__.length,l=a&&!d,s=s&&!v;return!a&&p?(c=s?c:new A(this),c=t.apply(c,f),c.__actions__.push({func:Xr,args:[e],thisArg:$}),new o(c,d)):l&&s?t.apply(this,f):(c=this.thru(e),l?i?c.value()[0]:c.value():c)})}),a("pop push shift sort splice unshift".split(" "),function(t){var e=ri[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",o=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(o&&!this.__chain__){var n=this.value();return e.apply(ua(n)?n:[],t)}return this[r](function(n){return e.apply(ua(n)?n:[],t)})}}),je(A.prototype,function(t,e){var r=n[e];if(r){var o=r.name+"";ai.call(Hi,o)||(Hi[o]=[]),Hi[o].push({name:e,func:r})}}),Hi[Yn($,2).name]=[{name:"wrapper",func:$}],A.prototype.clone=function(){var t=new A(this.__wrapped__);return t.__actions__=Mn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Mn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Mn(this.__views__),t},A.prototype.reverse=function(){if(this.__filtered__){var t=new A(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t},A.prototype.value=function(){var t,e=this.__wrapped__.value(),n=this.__dir__,r=ua(e),o=0>n,i=r?e.length:0;t=i;for(var u=this.__views__,a=0,c=-1,f=u.length;++c=this.__values__.length;return{done:t,value:t?$:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof r;){var o=Nr(n);o.__index__=0,o.__values__=$,e?i.__wrapped__=o:e=o;var i=o,n=n.__wrapped__}return i.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;return t instanceof A?(this.__actions__.length&&(t=new A(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[Zr],thisArg:$}),new o(t,this.__chain__)):this.thru(Zr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return jn(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,wi&&(n.prototype[wi]=Qr),n}();qt._=oe,void 0!==(o=function(){return oe}.call(e,n,e,r))&&(r.exports=o)}).call(this)}).call(e,n(47),n(19)(t))},function(t,e,n){function r(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function o(t,e){return 2==e?function(e,n){return t(e,n)}:function(e){return t(e)}}function i(t){for(var e=t?t.length:0,n=Array(e);e--;)n[e]=t[e];return n}function u(t){return function(e){return t({},e)}}function a(t,e){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var i=o[e],u=o.slice(0,e);return i&&p.apply(u,i),e!=r&&p.apply(u,o.slice(e+1)),t.apply(this,u)}}function c(t,e){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=e.apply(void 0,r);return t.apply(void 0,r),o}}}function f(t,e,n,p){function d(t,e){if(P.cap){var n=s.iterateeRearg[t];if(n)return x(e,n);var r=!O&&s.iterateeAry[t];if(r)return m(e,r)}return e}function h(t,e,n){return E||P.curry&&n>1?W(e,n):e}function v(t,e,n){if(P.fixed&&(S||!s.skipFixed[t])){var r=s.methodSpread[t],o=r&&r.start;return void 0===o?R(e,n):a(e,o)}return e}function y(t,e,n){return P.rearg&&n>1&&(T||!s.skipRearg[t])?U(e,s.methodRearg[t]||s.aryRearg[n]):e}function g(t,e){e=G(e);for(var n=-1,r=e.length,o=r-1,i=M(Object(t)),u=i;null!=u&&++n2?n-2:1,i&&i