@times-components/ssr 2.60.7-dde59cb1db557f95932405fbbdfef1118c3dfd4d.23 → 2.60.7-e0d6022a315164ecfcf5f4823fe5c6b399575901.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t,n){e.exports=n(367)()},1:function(e,t,n){"use strict";e.exports=n(366)},104:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(92)},function(e,t){e.exports=n(136)},function(e,t){e.exports=n(63)},function(e,t){e.exports=n(71)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=n.n(o),u=n(5),s=n.n(u),c=n(6),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=l()(a.TcText).withConfig({displayName:"render-byline__InlineText",componentId:"sc-8i7rg2-0"})([""," ",";"],(function(e){return e.textStyle?Object(a.checkStylesForUnits)(e.textStyle):""}),(function(e){return e.bylineStyle?Object(a.checkStylesForUnits)(e.bylineStyle):""})),y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(p({},d.a),{},{author:function(t,r,a){return i.a.createElement(e,f({key:t,name:a[0]},r,n),a)},inline:function(e,r,a){var o=n.className,l=n.bylineStyle;return i.a.createElement(h,{className:o,key:e,textStyle:t,bylineStyle:l},a)}})},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.map((function(e){return e.byline&&e.byline.length>0?e.byline[0]:{}}));return s()(i,y(e,n,r))},k=n(2),b=n.n(k),S={ast:b.a.arrayOf(b.a.shape({})).isRequired,onAuthorPress:b.a.func,capitalize:b.a.bool,children:b.a.array,key:b.a.string,attributes:b.a.array,slug:b.a.string},O={onAuthorPress:function(){return null},capitalize:!1},w=n(3);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{link:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.action,textDecorationLine:"none"}),nonLinkText:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.primary,flexDirection:"row",lineHeight:"25px"}),opinion:T(T({},Object(w.fontFactory)({font:"headline",fontSize:"smallHeadline"})),{},{color:w.colours.section.comment,fontWeight:"400"}),centered:{textAlign:"center"},text:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.secondary,flexDirection:"row"})});var E=l()(a.TcText).withConfig({displayName:"article-byline-opinion__OpinionText",componentId:"aqlxmn-0"})(["",";"],Object(a.checkStylesForUnits)(F.opinion)),P=function(e){var t=e.children,n=e.key,r=e.className;return i.a.createElement(E,{className:r,key:n},t)},_=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(P,t,F.opinion,n)};_.displayName="ArticleBylineOpinion",_.propTypes=S,_.defaultProps=O;var A=_,I=n(7),D=n(8);var R=function(e){var t=e.slug,n=e.className,r=e.onAuthorPress,o=e.children,l="/profile/".concat(t),u=o[0];return i.a.createElement(I.TextLink,{className:n,onPress:function(e){r(e,{name:u,slug:t})},style:Object(a.checkStylesForUnits)(F.link),url:l},o)},M=function(e){var t,n=e.ast,r=e.centered,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast","centered"]);return g((t=R,Object(D.withTrackEvents)(t,{analyticsEvents:[{actionName:"Pressed",eventName:"onAuthorPress",getAttrs:function(e){return{name:e.name,slug:e.slug}},trackingName:"ArticlePressAuthor"}]})),n,r?[F.text,F.centered]:F.text,i)};M.displayName="ArticleBylineWithLinks",M.propTypes=S,M.defaultProps=O;var L=M,B=function(e){return e&&e.length>0&&e[0].byline&&e[0].byline.length>0};n.d(t,"ArticleBylineOpinion",(function(){return A})),n.d(t,"ArticleBylineWithLinks",(function(){return L})),n.d(t,"hasBylineData",(function(){return B}));var V=l()(a.TcText).withConfig({displayName:"article-byline__BylineText",componentId:"ynke2n-0"})([""," ",";"],(function(e){return e.style?Object(a.checkStylesForUnits)(e.style):""}),Object(a.checkStylesForUnits)(F.nonLinkText)),q=function(e){var t=e.children,n=e.key,r=e.className,a=e.bylineStyle;return i.a.createElement(V,{className:r,key:n,style:a},t)},z=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(q,t,F.nonLinkText,n)};z.displayName="ArticleByline",z.propTypes=S,z.defaultProps=O,t.default=z}])},105:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=(n(3),n(2));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={title:u(u({},Object(o.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{fontWeight:"400",lineHeight:11,marginBottom:0,marginTop:-1,paddingTop:1})};function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=f(f({},c),{},{title:f(f({},c.title),{},{lineHeight:12,letterSpacing:.5})});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>h(h({},Object(a.checkStylesForUnits)(p.title)),{},{color:Object(a.gqlRgbaToHex)(e)||e}),k=e=>{let t=e.color,n=e.title;return i.a.createElement(a.TcText,{style:g(t)},n.toUpperCase())};k.defaultProps={color:"black"},t.default=k}])},106:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(83)},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=(n(5),n(2)),u=n.n(l),s=n(3);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m={container:{alignItems:"flex-start",flexDirection:"row",marginTop:-1,marginBottom:1},iconContainer:{alignSelf:"center",paddingBottom:1},title:d(d({},Object(s.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{flex:-1,fontWeight:"400",letterSpacing:.6,lineHeight:13,marginLeft:Object(s.spacing)(1),paddingTop:1})};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=u()(a.TcText).withConfig({displayName:"video-label__VideoLabelText",componentId:"spiidi-0"})(["",";"],Object(a.checkStylesForUnits)(m.title)),y=u()(a.TcView).withConfig({displayName:"video-label__Container",componentId:"spiidi-1"})(["",";"],Object(a.checkStylesForUnits)(m.container)),g=u()(a.TcView).withConfig({displayName:"video-label__IconContainer",componentId:"spiidi-2"})(["",";"],Object(a.checkStylesForUnits)(m.iconContainer)),k=function(e){var t=e.color,n=e.title,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},m.title);return Object.assign(r,{color:t}),i.a.createElement(y,null,i.a.createElement(g,null,i.a.createElement(o.IconVideo,{fillColour:t,height:9})),i.a.createElement(h,{style:r},n?n.toUpperCase():"VIDEO"))};k.defaultProps={color:"black",title:""},t.default=k}])},107:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(235)},function(e,t){e.exports=n(250)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=(n(1),n(2)),o=n.n(a),l=n(3),u=n.n(l),s=n(4),c=n.n(s),d=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),r=n.getDay(),i=n.getDate()-r,a=new Date(Date.UTC(t,e,i));return a.setHours(1),a},f=function(e){var t=d(2,e.getFullYear()),n=d(9,e.getFullYear()),r=e.getTime()>=t.getTime(),i=e.getTime()<n.getTime();return r&&i},m=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())};function p(e){return(p="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 v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n,r=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).state={timezone:""},t.updateTimezone=t.updateTimezone.bind(g(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){this.updateTimezone()}},{key:"updateTimezone",value:function(){var e=this.props.date,t=m(e);"Europe/London"!==function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return""}}()&&this.setState({timezone:f(t)?" BST":" GMT"})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.showDay,r=this.props.date,i=void 0===r?new Date:r,a=this.state.timezone,o=m(i),l=f(o)?60:0,s=c()(o,l);void 0===i&&(i=new Date);var d=n?"EEEE ".concat("MMMM dd yyyy, h.mmaaa"):"MMMM dd yyyy, h.mmaaa";return t("".concat(u()(s,d)).concat(a))}}])&&v(t.prototype,n),i}(r.Component);b.defaultProps={showDay:!0};var S=b,O={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){var t=e.publication,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["publication"]);return i.a.createElement(S,n,(function(e){return i.a.createElement(r.Fragment,null,i.a.createElement("time",{dateTime:n.date},e,function(e){return e&&O[e]?", ":""}(t)),t?i.a.createElement(j,null,function(e){return e&&O[e]?O[e]:""}(t)):null)}))},j=o.a.span.withConfig({displayName:"date-publication__PublicationName",componentId:"sc-1vdpzkx-0"})(["display:inline-block;"]);C.defaultProps=N(N({},S.defaultProps),{},{publication:null}),t.default=C}])},108:function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},a={key:r,value:e[r]};return n(i,a)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==a.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var l=a.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(o="",n=0;n<u.length;n++){var s=u[n],c=e(t[s]);c&&(o&&(o+=","),o+=JSON.stringify(s)+":"+c)}return a.splice(l,1),"{"+o+"}"}}(e)}},11:function(e,t,n){(function(t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){e.exports=n(7)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=e=>{let t=e.tiles;if(!t)return null;let n=t.reduce((e,t)=>(e.push(...t.slices),e),[]).reduce((e,t)=>(e.push(...t.sections),e),[]).map(e=>e.title);n=n.filter(e=>e);const r=n.filter(e=>"news"!==e);return r.length?r[0].toLowerCase():"unknown section"}},function(e,t){const n=e=>e.slices[0].sections[0].title?e.slices[0].sections[0].title.toLowerCase():"";e.exports=e=>{return(t=e)&&t.tiles&&t.tiles.length>0?e.tiles.reduce((e,t)=>{return(r=t).slices&&r.slices.length>0&&(e=>e.slices[0].sections&&e.slices[0].sections.length>0)(t)&&n(t)?n(t):e;var r},"default"):"default";var t}},function(e,t){e.exports=n(8)},function(e,n,r){(function(e){var r="[object Arguments]",i="[object Map]",a="[object Object]",o="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,s=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p[r]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p[i]=p["[object Number]"]=p[a]=p["[object RegExp]"]=p[o]=p["[object String]"]=p["[object WeakMap]"]=!1;var v="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,y=v||h||Function("return this")(),g=n&&!n.nodeType&&n,k=g&&"object"==typeof e&&e&&!e.nodeType&&e,b=k&&k.exports===g&&v.process,S=function(){try{return b&&b.binding("util")}catch(e){}}(),O=S&&S.isTypedArray;function w(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function N(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function j(e,t){return function(n){return e(t(n))}}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var F,E=Array.prototype,P=Function.prototype,_=Object.prototype,A=y["__core-js_shared__"],I=(F=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",D=P.toString,R=_.hasOwnProperty,M=_.toString,L=RegExp("^"+D.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=y.Symbol,V=y.Uint8Array,q=j(Object.getPrototypeOf,Object),z=_.propertyIsEnumerable,U=E.splice,Q=Object.getOwnPropertySymbols,J=j(Object.keys,Object),W=be(y,"DataView"),H=be(y,"Map"),$=be(y,"Promise"),G=be(y,"Set"),Y=be(y,"WeakMap"),K=be(Object,"create"),X=Pe(W),Z=Pe(H),ee=Pe($),te=Pe(G),ne=Pe(Y),re=B?B.prototype:void 0,ie=re?re.valueOf:void 0,ae=re?re.toString:void 0;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function ce(e){this.__data__=new le(e)}function de(e,t){var n=De(e)||Ie(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!R.call(e,a)||i&&("length"==a||Ne(a,r))||n.push(a);return n}function fe(e,t){for(var n=e.length;n--;)if(Ae(e[n][0],t))return n;return-1}function me(e,t){for(var n=0,r=(t=Te(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[Ee(t[n++])];return n&&n==r?e:void 0}function pe(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,l,u){return e===t||(null==e||null==t||!Be(e)&&!Ve(t)?e!=e&&t!=t:function(e,t,n,l,u,s){var c=De(e),d=De(t),f="[object Array]",m="[object Array]";c||(f=(f=we(e))==r?a:f),d||(m=(m=we(t))==r?a:m);var p=f==a&&!T(e),v=m==a&&!T(t),h=f==m;if(h&&!p)return s||(s=new ce),c||Ue(e)?ge(e,t,n,l,u,s):function(e,t,n,r,a,l,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new V(e),new V(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ae(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var s=C;case o:var c=2&l;if(s||(s=x),e.size!=t.size&&!c)return!1;var d=u.get(e);if(d)return d==t;l|=1,u.set(e,t);var f=ge(s(e),s(t),r,a,l,u);return u.delete(e),f;case"[object Symbol]":if(ie)return ie.call(e)==ie.call(t)}return!1}(e,t,f,n,l,u,s);if(!(2&u)){var y=p&&R.call(e,"__wrapped__"),g=v&&R.call(t,"__wrapped__");if(y||g){var k=y?e.value():e,b=g?t.value():t;return s||(s=new ce),n(k,b,l,u,s)}}return!!h&&(s||(s=new ce),function(e,t,n,r,i,a){var o=2&i,l=Qe(e),u=l.length;if(u!=Qe(t).length&&!o)return!1;for(var s=u;s--;){var c=l[s];if(!(o?c in t:R.call(t,c)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++s<u;){var p=e[c=l[s]],v=t[c];if(r)var h=o?r(v,p,c,t,e,a):r(p,v,c,e,t,a);if(!(void 0===h?p===v||n(p,v,r,i,a):h)){f=!1;break}m||(m="constructor"==c)}if(f&&!m){var y=e.constructor,g=t.constructor;y==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,l,u,s))}(e,t,ve,n,l,u))}function he(e){return"function"==typeof e?e:null==e?We:"object"==typeof e?De(e)?function(e,t){return Te(e)&&je(t)?xe(Ee(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,a=(t=Te(t,e)?[t]:ye(t)).length;++i<a;){var o=Ee(t[i]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(a=e?e.length:0)&&Le(a)&&Ne(o,a)&&(De(e)||Ie(e))}(e,t,pe)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Qe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,je(i)]}return t}(e);return 1==t.length&&t[0][2]?xe(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,a=i;if(null==e)return!a;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){var l=(o=n[i])[0],u=e[l],s=o[1];if(o[2]){if(void 0===u&&!(l in e))return!1}else{var c,d=new ce;if(!(void 0===c?ve(s,u,r,3,d):c))return!1}}return!0}(n,0,t)}}(e):Te(t=e)?(n=Ee(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return De(e)?e:Fe(e)}function ge(e,t,n,r,i,a){var o=2&i,l=e.length,u=t.length;if(l!=u&&!(o&&u>l))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var c=-1,d=!0,f=1&i?new se:void 0;for(a.set(e,t),a.set(t,e);++c<l;){var m=e[c],p=t[c];if(r)var v=o?r(p,m,c,t,e,a):r(m,p,c,e,t,a);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!N(t,(function(e,t){if(!f.has(t)&&(m===e||n(m,e,r,i,a)))return f.add(t)}))){d=!1;break}}else if(m!==p&&!n(m,p,r,i,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function ke(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Be(e)||(t=e,I&&I in t))&&(Me(e)||T(e)?L:f).test(Pe(e));var t}(n)?n:void 0}oe.prototype.clear=function(){this.__data__=K?K(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return R.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:R.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},le.prototype.clear=function(){this.__data__=[]},le.prototype.delete=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():U.call(t,n,1),0))},le.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},le.prototype.has=function(e){return fe(this.__data__,e)>-1},le.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new oe,map:new(H||le),string:new oe}},ue.prototype.delete=function(e){return ke(this,e).delete(e)},ue.prototype.get=function(e){return ke(this,e).get(e)},ue.prototype.has=function(e){return ke(this,e).has(e)},ue.prototype.set=function(e,t){return ke(this,e).set(e,t),this},se.prototype.add=se.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},se.prototype.has=function(e){return this.__data__.has(e)},ce.prototype.clear=function(){this.__data__=new le},ce.prototype.delete=function(e){return this.__data__.delete(e)},ce.prototype.get=function(e){return this.__data__.get(e)},ce.prototype.has=function(e){return this.__data__.has(e)},ce.prototype.set=function(e,t){var n=this.__data__;if(n instanceof le){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var Se=Q?j(Q,Object):He,Oe=Q?function(e){for(var t=[];e;)w(t,Se(e)),e=q(e);return t}:He,we=function(e){return M.call(e)};function Ne(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||m.test(e))&&e>-1&&e%1==0&&e<t}function Te(e,t){if(De(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!qe(e))||u.test(e)||!l.test(e)||null!=t&&e in Object(t)}function Ce(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_)}function je(e){return e==e&&!Be(e)}function xe(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(W&&"[object DataView]"!=we(new W(new ArrayBuffer(1)))||H&&we(new H)!=i||$&&"[object Promise]"!=we($.resolve())||G&&we(new G)!=o||Y&&"[object WeakMap]"!=we(new Y))&&(we=function(e){var t=M.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return i;case ee:return"[object Promise]";case te:return o;case ne:return"[object WeakMap]"}return t});var Fe=_e((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(qe(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(c,(function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)})),n}));function Ee(e){if("string"==typeof e||qe(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return D.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function _e(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(_e.Cache||ue),n}function Ae(e,t){return e===t||e!=e&&t!=t}function Ie(e){return function(e){return Ve(e)&&Re(e)}(e)&&R.call(e,"callee")&&(!z.call(e,"callee")||M.call(e)==r)}_e.Cache=ue;var De=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Me(e)}function Me(e){var t=Be(e)?M.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Be(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ve(e){return!!e&&"object"==typeof e}function qe(e){return"symbol"==typeof e||Ve(e)&&"[object Symbol]"==M.call(e)}var ze,Ue=O?(ze=O,function(e){return ze(e)}):function(e){return Ve(e)&&Le(e.length)&&!!p[M.call(e)]};function Qe(e){return Re(e)?de(e):function(e){if(!Ce(e))return J(e);var t=[];for(var n in Object(e))R.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}function Je(e){return Re(e)?de(e,!0):function(e){if(!Be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ce(e),n=[];for(var r in e)("constructor"!=r||!t&&R.call(e,r))&&n.push(r);return n}(e)}function We(e){return e}function He(){return[]}e.exports=function(e,t){return function(e,t){return null==e?{}:function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],l=e[o];n(l,o)&&(a[o]=l)}return a}(e,function(e){return function(e,t,n){var r=t(e);return De(e)?r:w(r,n(e))}(e,Je,Oe)}(e),he(t))}(e,function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}(he(t)))}}).call(this,r(14)(e))},function(e,t){e.exports=n(375)},function(e,t){e.exports=n(647)},function(e,t){e.exports=n(344)},function(e,t){e.exports=n(246)},function(e,t){e.exports=n(381)},function(e,t){e.exports=n(173)},function(e,t){e.exports=n(111)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var r=n(5),i=()=>{let e=1024,t=768;return"undefined"!=typeof window&&(e=window.innerWidth,t=window.innerHeight),{width:e,height:t}};const a=[320,440,660,800,1080,1280,1440,1670,1920,2308],o=i().width,l=e=>a.find(t=>e<=t)||a[a.length-1],u=e=>e?r.tabletWidth:o;function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const c=e=>e.charAt(0).toUpperCase()+e.slice(1),d=e=>{if(!e||!e.length)return 1;const t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":"),2),n=t[0],r=t[1],i=parseFloat(n)/parseFloat(r);return Number.isNaN(i)?1:i},f=(e,t)=>e.replace(/(<([^>]+)>)/gi,t),m=e=>{const t=e;return Object.keys(t).forEach(e=>{if("lineHeight"===e){const n=t[e];"number"==typeof n&&(t[e]="".concat(n,"px"))}}),t},p=(e,t)=>{if(t&&"#"===t.charAt(0)){e.preventDefault();const n=document.getElementById(t.substring(1));if(n){const e=n.getBoundingClientRect().top+window.pageYOffset-(()=>{const e=document.querySelector(".OrientationBar"),t=e?e.offsetHeight:0;return window.innerWidth<1024?110:window.innerWidth<1320?100+t:50+t})();window.scrollTo({top:e,behavior:"smooth"})}}},v=e=>e&&"#"===e.charAt(0)?null:e;var h=n(6),y=n.n(h),g=e=>y()(e,e=>void 0===e||Number.isNaN(e)),k=e=>e?e.startsWith("//")?"https:".concat(e):e:null,b=n(3),S=n.n(b),O=n(1),w=n.n(O),N=(n(2),n(0)),T=n.n(N),C=T.a.div.withConfig({displayName:"tc-view__TcView",componentId:"nuazoi-0"})(["border:0px solid black;box-sizing:border-box;display:flex;flex-direction:column;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;z-index:0;"]);function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=e=>{let t=e.aspectRatio,n=e.children;const r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split(":"),2),i=r[0],a=r[1]/i*100;return w.a.createElement(C,{style:{paddingBottom:"".concat(a,"%"),position:"relative"}},w.a.createElement(C,{style:{height:"100%",position:"absolute",width:"100%"}},n))},F=e=>{let t=e.crop169,n=e.crop32,r=e.crop1251,i=e.crop11,a=e.crop45,o=e.crop23;return t||n||r||i||a||o};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const A={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null};function I(e){let t=e.leadAsset;if(!t)return A;const n="Video"===t.__typename,r=F(n?t.posterImage:t);return r?{aspectRatio:r.ratio,displayImage:r,isVideo:n,leadAsset:P(P({},t),{},{isVideo:n})}:A}var D=n(7),R=n.n(D),M=n(8),L=n(9),B=n(10),V=n(11),q=n(12),z=n(13),U=()=>{let e=null,t=null,n=null,r=null,i="unknown";"undefined"!=typeof window&&window.nuk&&(e=window.nuk.graphqlapi.url,t=!!window.nuk.graphqlapi.usePersistedQueries,n=window.nuk.getCookieValue("acs_tnl"),r=window.nuk.getCookieValue("sacs_tnl"),i=window.nuk.graphqlapi.clientName||i);const a={fetch:R.a,headers:{},uri:e};a.headers["content-type"]="application/x-www-form-urlencoded",a.headers.Authorization="Cookie acs_tnl=".concat(n,";sacs_tnl=").concat(r);const o=M.ApolloLink.from([t&&Object(B.createPersistedQueryLink)({useGETForHashedQueries:!0}),Object(L.createHttpLink)(a)].filter(Boolean));return new z.ApolloClient({name:"@times-components/utils (".concat(i,")"),cache:new q.InMemoryCache({fragmentMatcher:V.fragmentMatcher}),link:o})},Q=(e,t)=>e||t;const J=e=>{const t=e.toString(16);return t.length%2?"0".concat(t):t};var W=e=>e&&e.rgba?"#".concat(J(e.rgba.red)).concat(J(e.rgba.green)).concat(J(e.rgba.blue)).toUpperCase():null,H=e=>e&&e.rgba?"rgba(".concat(e.rgba.red,", ").concat(e.rgba.green,", ").concat(e.rgba.blue,", ").concat(e.rgba.alpha,")"):null,$=T.a.div.withConfig({displayName:"hover-icon__HoverIcon",componentId:"sc-1ge5rtz-0"})(["color:",";text-decoration-line:",";&:hover{color:",";text-decoration-line:",";}"],e=>e.colour,e=>e.underline&&"underline",e=>e.hoverColour||e.colour,e=>e.underline&&"none");class G extends O.Component{constructor(e){super(e),this.state={isClient:!1}}componentDidMount(){this.setState({isClient:!0})}render(){const e=this.state.isClient,t=this.props,n=t.client,r=t.server;return e?n&&n():r&&r()}}G.defaultProps={server:null,client:null};var Y=G,K=(e,t,n)=>{if(!e||!t||!n)return e;if(e.includes("?".concat(t))||e.includes("&".concat(t)))return e;const r=e.includes("?")?"&":"?";return"".concat(e).concat(r).concat(t,"=").concat(n)},X=n(4),Z=n.n(X);const ee=["thetimes.co.uk/imageserver","thetimes.co.uk/tto/archive/frame","thetimes.co.uk/article","thetimes.co.uk/assets/optimizely/custom",/thetimes\.co\.uk\/([a-z0-9-]+\/)+[a-z0-9-]+-([bcdfghjklmnpqrstvwxz23567890]{9,11}$)/g],te=[/home.(.*?)thetimes.co.uk/g,/login.(.*?)thetimes.co.uk/g];var ne=(e,t)=>e.includes("thetimes.com")&&[...ee,...te].some(e=>t.match(e))?t.replace(".co.uk",".com"):t,re=e=>{let t=e.data,n=e.initialNumToRender,r=e.RenderItem;if(Array.isArray(t)){const e=t.map((e,t)=>t<n?w.a.createElement("div",{role:"listitem"},r({data:e,key:t})):null);if(e.length)return w.a.createElement("div",{role:"list"},e)}return null},ie=T.a.div.withConfig({displayName:"tc-text__TcText",componentId:"sc-15igzev-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]),ae=T.a.a.withConfig({displayName:"tc-text-link__TcTextLink",componentId:"sc-1voa8bp-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]),oe=T.a.div.withConfig({displayName:"tc-scroll-view__TcScrollView",componentId:"sc-1sygsh3-0"})(["height:500px;overflow-y:scroll;white-space:nowrap;"]);n.d(t,"acceptedWidths",(function(){return a})),n.d(t,"normaliseWidthForAssetRequestCache",(function(){return l})),n.d(t,"screenWidth",(function(){return u})),n.d(t,"capitalise",(function(){return c})),n.d(t,"ratioTextToFloat",(function(){return d})),n.d(t,"stripTags",(function(){return f})),n.d(t,"checkStylesForUnits",(function(){return m})),n.d(t,"handleOnClickScrollTo",(function(){return p})),n.d(t,"handleHrefScrollTo",(function(){return v})),n.d(t,"clean",(function(){return g})),n.d(t,"addMissingProtocol",(function(){return k})),n.d(t,"getSectionNameForAnalytics",(function(){return S.a})),n.d(t,"AspectRatioContainer",(function(){return x})),n.d(t,"getLeadAsset",(function(){return I})),n.d(t,"makeClient",(function(){return U})),n.d(t,"getStandardTemplateCrop",(function(){return F})),n.d(t,"getDimensions",(function(){return i})),n.d(t,"getHeadline",(function(){return Q})),n.d(t,"gqlRgbaToHex",(function(){return W})),n.d(t,"gqlRgbaToStyle",(function(){return H})),n.d(t,"HoverIcon",(function(){return $})),n.d(t,"ServerClientRender",(function(){return Y})),n.d(t,"appendToImageURL",(function(){return K})),n.d(t,"getSectionFromTiles",(function(){return Z.a})),n.d(t,"getDomainSpecificUrl",(function(){return ne})),n.d(t,"TcView",(function(){return C})),n.d(t,"TcFlatList",(function(){return re})),n.d(t,"TcText",(function(){return ie})),n.d(t,"TcTextLink",(function(){return ae})),n.d(t,"TcScrollView",(function(){return oe}))}])}).call(this,n(24))},111:function(e,t,n){"use strict";n.r(t);var r,i=n(2),a=n(3),o=n(4),l=n(42),u=n(346),s=n(13),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.c)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,a=t(e),l=new o.a((function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=a.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach((function(t){return t.next(e)})),t.forEach((function(e){return e.complete()})))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach((function(t){return t.error(e)}))}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}}));this.inFlightRequestObservables.set(r,l)}return this.inFlightRequestObservables.get(r)},t}(l.a),d=n(17);function f(e){return e<7}n.d(t,"ApolloClient",(function(){return N})),n.d(t,"ObservableQuery",(function(){return y})),n.d(t,"NetworkStatus",(function(){return r})),n.d(t,"isApolloError",(function(){return p})),n.d(t,"ApolloError",(function(){return h})),n.d(t,"FetchType",(function(){return v})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t.prototype[u.a]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.a);function p(e){return e.hasOwnProperty("graphQLErrors")}var v,h=function(e){function t(n){var r,i,a=n.graphQLErrors,o=n.networkError,l=n.errorMessage,u=n.extraInfo,s=e.call(this,l)||this;return s.graphQLErrors=a||[],s.networkError=o||null,s.message=l||(r=s,i="",Array.isArray(r.graphQLErrors)&&0!==r.graphQLErrors.length&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+="GraphQL error: "+t+"\n"})),r.networkError&&(i+="Network error: "+r.networkError.message+"\n"),i=i.replace(/\n$/,"")),s.extraInfo=u,s.__proto__=t.prototype,s}return Object(i.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(v||(v={}));var y=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,a=void 0===i||i,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;return o.isTornDown=!1,o.options=r,o.variables=r.variables||{},o.queryId=n.generateQueryId(),o.shouldSubscribe=a,o.queryManager=n,o.observers=[],o.subscriptionHandles=[],o}return Object(i.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r,i={next:function(n){t(n),e.observers.some((function(e){return e!==i}))||e.queryManager.removeQuery(e.queryId),setTimeout((function(){r.unsubscribe()}),0)},error:function(e){n(e)}};r=e.subscribe(i)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new h({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,l=this.queryManager.getCurrentQueryResult(this),u=l.data,s=l.partial,c=!n||n.networkStatus===r.loading,d="network-only"===this.options.fetchPolicy&&c||s&&"cache-only"!==this.options.fetchPolicy,m={data:u,loading:f(o=n?n.networkStatus:d?r.loading:r.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(m.errors=n.graphQLErrors),s||(this.lastResult=Object(i.a)({},m,{stale:!1}),this.lastResultSnapshot=Object(a.d)(this.lastResult)),Object(i.a)({},m,{partial:s})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(a.p)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(a.p)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(a.p)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.a)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,v.refetch).then((function(e){return e}))},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then((function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.a)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,v.normal,n.queryId)})).then((function(r){return n.updateQuery((function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})})),r}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery((function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(a.p)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise((function(e){return e()})):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise((function(e){return e()})):this.queryManager.fetchQuery(this.queryId,Object(i.a)({},this.options,{variables:this.variables})).then((function(e){return e})))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,o=Object(a.y)((function(){return e(n,{variables:r})}));o&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,o),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){g(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter((function(t){return t!==e})),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(g(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(a.d)(t),e.observers.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.lastError=t,e.observers.forEach((function(e){return e.error&&e.error(t)}))}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach((function(e){return e.unsubscribe()})),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(m);function g(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var k=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(a.p)(t.document,e.document))throw new s.a;var n,i=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(a.p)(t.variables,e.variables)||(i=!0,o=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var l=[];t&&t.graphQLErrors&&(l=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:l,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter((function(t){return e.indexOf(t)>-1})).reduce((function(e,n){return e[n]=Object(i.a)({},t.store[n],{networkStatus:r.loading}),e}),{})},e}();var S=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(a.s)(t.resolvers,e)})):this.resolvers=Object(a.s)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,a=e.variables,o=e.onlyRunForcedResolvers,l=void 0!==o&&o;return Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,a,this.fragmentMatcher,l).then((function(e){return Object(i.a)({},n,{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(a.o)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(a.u)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.a)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return Object(i.a)({},t,e.exportedVariables)}))]:[2,Object(i.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(d.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return d.BREAK}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(a.c)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,l){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===l&&(l=!1),Object(i.b)(this,void 0,void 0,(function(){var u,s,c,d,f,m,p,v,h;return Object(i.d)(this,(function(y){var g;return u=Object(a.h)(e),s=Object(a.g)(e),c=Object(a.e)(s),d=u.operation,f=d?(g=d).charAt(0).toUpperCase()+g.slice(1):"Query",p=(m=this).cache,v=m.client,h={fragmentMap:c,context:Object(i.a)({},n,{cache:p,client:v}),variables:r,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(u.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,c,d=this;return Object(i.d)(this,(function(f){return r=n.fragmentMap,o=n.context,l=n.variables,u=[t],c=function(e){return Object(i.b)(d,void 0,void 0,(function(){var c,d;return Object(i.d)(this,(function(i){return Object(a.x)(e,l)?Object(a.q)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&u.push(((n={})[Object(a.w)(e)]=t,n))}))]:(Object(a.r)(e)?c=e:(c=r[e.name.value],Object(s.b)(c)),c&&c.typeCondition&&(d=c.typeCondition.name.value,n.fragmentMatcher(t,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return Object(a.t)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,s,c,d,f,m,p=this;return Object(i.d)(this,(function(i){return r=n.variables,o=e.name.value,l=Object(a.w)(e),u=o!==l,s=t[l]||t[o],c=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(d=t.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(m=f[u?o:l])&&(c=Promise.resolve(m(t,Object(a.a)(e,r),n.context,{field:e})))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,o=void 0===a?function(){}:a,u=e.ssrMode,s=void 0!==u&&u,d=e.clientAwareness,f=void 0===d?{}:d,m=e.localState;this.mutationStore=new k,this.queryStore=new b,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=l.a.from([new c,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=o,this.clientAwareness=f,this.localState=m||new S({cache:i.getCache()}),this.ssrMode=s}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new Error("QueryManager stopped while query was in flight"))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,o=e.updateQueries,u=e.refetchQueries,c=void 0===u?[]:u,d=e.awaitRefetchQueries,f=void 0!==d&&d,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,g=e.fetchPolicy,k=e.context,b=void 0===k?{}:k;return Object(i.b)(this,void 0,void 0,(function(){var e,u,d,v,k,S=this;return Object(i.d)(this,(function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!g||"no-cache"===g),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(a.b)({},Object(a.f)(Object(a.i)(t)),n),this.setQuery(e,(function(){return{document:t}})),d=function(){var e={};return o&&Object.keys(o).forEach((function(t){return(S.queryIdsByName[t]||[]).forEach((function(n){e[n]={updater:o[t],query:S.queryStore.get(n)}}))})),e},Object(a.n)(t)?[4,this.localState.addExportedVariables(t,n,b)]:[3,2];case 1:return k=O.sent(),[3,3];case 2:k=n,O.label=3;case 3:return v=k,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:d(),update:p,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise((function(n,o){var u,s,k=S.buildOperationForLink(t,v,Object(i.a)({},b,{optimisticResponse:r})),O=function(){if(s&&S.mutationStore.markMutationError(e,s),S.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),S.broadcastQueries(),s)return Promise.reject(s);"function"==typeof c&&(c=c(u));for(var t=[],n=0,i=c;n<i.length;n++){var o=i[n];if("string"!=typeof o){var l={query:o.query,variables:o.variables,fetchPolicy:"network-only"};o.context&&(l.context=o.context),t.push(S.query(l))}else{var d=S.refetchQueryByName(o);d&&t.push(d)}}return Promise.all(f?t:[]).then((function(){return S.setQuery(e,(function(){return{document:null}})),"ignore"===y&&u&&Object(a.m)(u)&&delete u.errors,u}))},w=S.localState.clientQuery(k.query),N=S.localState.serverQuery(k.query);N&&(k.query=N);var T=N?Object(l.b)(S.link,k):m.of({data:{}}),C=S,j=!1,x=!1;T.subscribe({next:function(r){return Object(i.b)(S,void 0,void 0,(function(){var l,c,f;return Object(i.d)(this,(function(i){switch(i.label){case 0:return x=!0,Object(a.m)(r)&&"none"===y?(x=!1,s=new h({graphQLErrors:r.errors}),[2]):(C.mutationStore.markMutationResult(e),l=r,c=k.context,f=k.variables,w&&Object(a.o)(["client"],w)?[4,C.localState.runResolvers({document:w,remoteResult:r,context:c,variables:f}).catch((function(e){return x=!1,o(e),r}))]:[3,2]);case 1:l=i.sent(),i.label=2;case 2:return"no-cache"!==g&&C.dataStore.markMutationResult({mutationId:e,result:l,document:t,variables:v||{},updateQueries:d(),update:p}),u=l,x=!1,j&&O().then(n,o),[2]}}))}))},error:function(t){C.mutationStore.markMutationError(e,t),C.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),C.broadcastQueries(),C.setQuery(e,(function(){return{document:null}})),o(new h({networkError:t}))},complete:function(){x||O().then(n,o),j=!0}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(i.b)(this,void 0,void 0,(function(){var o,l,u,s,c,d,f,m,y,g,k,b,S,O,w,N,T,C,j,x,F,E,P=this;return Object(i.d)(this,(function(_){switch(_.label){case 0:return o=t.variables,l=void 0===o?{}:o,u=t.metadata,s=void 0===u?null:u,c=t.fetchPolicy,d=void 0===c?"cache-first":c,f=t.context,m=void 0===f?{}:f,y=this.dataStore.getCache(),g=y.transformDocument(t.query),Object(a.n)(g)?[4,this.localState.addExportedVariables(g,l,m)]:[3,2];case 1:return b=_.sent(),[3,3];case 2:b=l,_.label=3;case 3:if(k=b,S=Object(i.a)({},t,{variables:k}),w="network-only"===d||"no-cache"===d,n!==v.refetch&&"network-only"!==d&&"no-cache"!==d&&(N=this.dataStore.getCache().diff({query:g,variables:k,returnPartialData:!0,optimistic:!1}),T=N.complete,C=N.result,w=!T||"cache-and-network"===d,O=C),j=w&&"cache-only"!==d&&"standby"!==d,Object(a.o)(["live"],g)&&(j=!0),x=this.generateRequestId(),F=this.updateQueryWatch(e,g,S),this.setQuery(e,(function(){return{document:g,lastRequestId:x,invalidated:!0,cancel:F}})),this.invalidate(!0,r),this.queryStore.initQuery({queryId:e,document:g,storePreviousVariables:j,variables:k,isPoll:n===v.poll,isRefetch:n===v.refetch,metadata:s,fetchMoreForQueryId:r}),this.broadcastQueries(),(!j||"cache-and-network"===d)&&(this.queryStore.markQueryResultClient(e,!j),this.invalidate(!0,e,r),this.broadcastQueries(this.localState.shouldForceResolvers(g))),j){if(E=this.fetchRequest({requestId:x,queryId:e,document:g,options:S,fetchMoreForQueryId:r}).catch((function(t){if(p(t))throw t;var n=P.getQuery(e).lastRequestId;throw x>=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new h({networkError:t})})),"cache-and-network"!==d)return[2,E];E.catch((function(){}))}return[2,Promise.resolve({data:O})]}}))}))},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,a=!1;return function(o,l,u){return Object(i.b)(r,void 0,void 0,(function(){var r,s,c,d,m,p,v,y,g,k,b,S,O,w,N,T,C,j,x,F;return Object(i.d)(this,(function(E){switch(E.label){case 0:if(this.invalidate(!1,e),!o)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(s=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(c=r?r.options.errorPolicy:t.errorPolicy,d=r?r.getLastResult():null,m=r?r.getLastError():null,p=!l&&null!=o.previousVariables||"cache-only"===s||"cache-and-network"===s,v=Boolean(d&&o.networkStatus!==d.networkStatus),y=c&&(m&&m.graphQLErrors)!==o.graphQLErrors&&"none"!==c,!(!f(o.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!c||"none"===c)&&o.graphQLErrors&&o.graphQLErrors.length>0||o.networkError){if(g=new h({graphQLErrors:o.graphQLErrors,networkError:o.networkError}),a=!0,n.error)try{n.error(g)}catch(e){setTimeout((function(){throw e}),0)}else setTimeout((function(){throw g}),0);return[2]}E.label=1;case 1:if(E.trys.push([1,7,,8]),k=void 0,b=void 0,l?("no-cache"!==s&&"network-only"!==s&&this.setQuery(e,(function(){return{newData:null}})),k=l.result,b=!l.complete||!1):d&&d.data&&!y?(k=d.data,b=!1):(S=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:S,variables:o.previousVariables||o.variables,optimistic:!0}),k=O.result,b=!O.complete),w=void 0,w=b&&"cache-only"!==s?{data:d&&d.data,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!0}:{data:k,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!1},"all"===c&&o.graphQLErrors&&o.graphQLErrors.length>0&&(w.errors=o.graphQLErrors),!n.next)return[3,6];if(!a&&r&&!r.isDifferentFromLastResult(w))return[3,6];E.label=2;case 2:return E.trys.push([2,5,,6]),u?(N=t.query,T=t.variables,C=t.context,[4,this.localState.runResolvers({document:N,remoteResult:w,context:C,variables:T,onlyRunForcedResolvers:u})]):[3,4];case 3:j=E.sent(),w=Object(i.a)({},w,j),E.label=4;case 4:return n.next(w),[3,6];case 5:return x=E.sent(),setTimeout((function(){throw x}),0),[3,6];case 6:return a=!1,[3,8];case 7:return F=E.sent(),a=!0,n.error&&n.error(new h({networkError:F})),[2];case 8:return[2]}}))}))}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(a.l)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(a.f)(n);e.variables=Object(a.b)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var o=Object(i.a)({},e);return new y({queryManager:this,options:o,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise((function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}));var n=Object(a.l)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(a.l)(n.options.query),o=i.name?i.name.value:null;this.setQuery(e,(function(){return{observableQuery:null}})),o&&(this.queryIdsByName[o]=this.queryIdsByName[o].filter((function(e){return!(n.queryId===e)})))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,o=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),s=Object(a.b)({},Object(a.f)(Object(a.j)(r)),e.variables),c=s,d=[],f=this.localState.clientQuery(u);return new m((function(e){if(d.push(e),1===d.length){var r=0,p=!1,v={next:function(e){return Object(i.b)(n,void 0,void 0,(function(){var t;return Object(i.d)(this,(function(n){switch(n.label){case 0:return r+=1,t=e,f&&Object(a.o)(["client"],f)?[4,this.localState.runResolvers({document:f,remoteResult:e,context:{},variables:c})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return o&&(this.dataStore.markSubscriptionResult(t,u,c),this.broadcastQueries()),d.forEach((function(e){Object(a.m)(t)&&e.error?e.error(new h({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1})),0===r&&p&&v.complete(),[2]}}))}))},error:function(e){d.forEach((function(t){t.error&&t.error(e)}))},complete:function(){0===r&&d.forEach((function(e){e.complete&&e.complete()})),p=!0}};Object(i.b)(n,void 0,void 0,(function(){var e,n,r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return Object(a.n)(u)?[4,this.localState.addExportedVariables(u,s)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=s,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(o=this.buildOperationForLink(r,e),t=Object(l.b)(this.link,o).subscribe(v)):t=m.of({data:{}}).subscribe(v),[2]}}))}))}return function(){0===(d=d.filter((function(t){return t!==e}))).length&&t&&t.unsubscribe()}}))},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,a=n.fetchPolicy,o=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===a||"network-only"===a)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:o?o.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,a=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:a}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach((function(n,r){n.invalidated&&n.listeners&&n.listeners.filter((function(e){return!!e})).forEach((function(i){i(t.queryStore.get(r),n.newData,e)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach((function(r,i){var a=r.observableQuery;if(a){var o=a.options.fetchPolicy;a.resetLastResults(),"cache-only"===o||!e&&"standby"===o||n.push(a.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(!0,i)}})),n},e.prototype.fetchRequest=function(e){var t,n,o=this,u=e.requestId,s=e.queryId,c=e.document,d=e.options,f=e.fetchMoreForQueryId,p=d.variables,v=d.context,y=d.errorPolicy,g=void 0===y?"none":y,k=d.fetchPolicy;return new Promise((function(e,d){var y,b={},S=o.localState.clientQuery(c),O=o.localState.serverQuery(c);if(O){var w=o.buildOperationForLink(O,p,Object(i.a)({},v,{forceFetch:!o.queryDeduplication}));b=w.context,y=Object(l.b)(o.deduplicator,w)}else b=o.prepareContext(v),y=m.of({data:{}});o.fetchQueryRejectFns.set("fetchRequest:"+s,d);var N=!1,T=!0,C={next:function(e){return Object(i.b)(o,void 0,void 0,(function(){var r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return T=!0,r=e,o=this.getQuery(s).lastRequestId,u>=(o||1)?S&&Object(a.o)(["client"],S)?[4,this.localState.runResolvers({document:S,remoteResult:e,context:b,variables:p}).catch((function(t){return T=!1,d(t),e}))]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==k)try{this.dataStore.markQueryResult(r,c,p,f,"ignore"===g||"all"===g)}catch(e){return T=!1,d(e),[2]}else this.setQuery(s,(function(){return{newData:{result:r.data,complete:!0}}}));this.queryStore.markQueryResult(s,r,f),this.invalidate(!0,s,f),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===g)return T=!1,d(new h({graphQLErrors:r.errors})),[2];if("all"===g&&(n=r.errors),f||"no-cache"===k)t=r.data;else try{t=this.dataStore.getCache().read({variables:p,query:c,optimistic:!1})}catch(e){}return T=!1,N&&C.complete(),[2]}}))}))},error:function(e){o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==j}))}})),d(e)},complete:function(){T||(o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==j}))}})),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),N=!0}},j=y.subscribe(C);o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.concat([j])}}))})).catch((function(e){throw o.fetchQueryRejectFns.delete("fetchRequest:"+s),e}))},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map((function(e){return t.getQuery(e).observableQuery})).filter((function(e){return!!e})).map((function(e){return e.refetch()})))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.a)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,(function(){return{invalidated:e}})),n&&this.setQuery(n,(function(){return{invalidated:e}}))},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(a.k)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.a)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(s.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.a)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e<this.nextPoll.time-n))return;clearTimeout(this.nextPoll.timeout)}this.nextPoll={time:n+e,timeout:setTimeout((function(){t.nextPoll=null;var e=1/0;t.pollingInfoByQueryId.forEach((function(n,r){if(n.interval<e&&(e=n.interval),!t.checkInFlight(r)&&Date.now()-n.lastPollTimeMs>=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,v.poll).then(i,i)}})),isFinite(e)&&t.schedulePoll(e)}),e)}},e}(),w=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var o=!Object(a.m)(e);i&&Object(a.m)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(a.m)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction((function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}}),e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(a.m)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter((function(t){return e.updateQueries[t]})).forEach((function(r){var i=e.updateQueries[r],o=i.query,l=i.updater,u=t.cache.diff({query:o.document,variables:o.variables,returnPartialData:!0,optimistic:!1}),s=u.result;if(u.complete){var c=Object(a.y)((function(){return l(s,{mutationResult:e.result,queryName:Object(a.k)(o.document)||void 0,queryVariables:o.variables})}));c&&n.push({result:c,dataId:"ROOT_QUERY",query:o.document,variables:o.variables})}})),this.cache.performTransaction((function(e){n.forEach((function(t){return e.write(t)}))}));var r=e.update;r&&this.cache.performTransaction((function(t){Object(a.y)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),N=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,o=e.ssrForceFetchDelay,u=void 0===o?0:o,c=e.connectToDevTools,d=e.queryDeduplication,f=void 0===d||d,m=e.defaultOptions,p=e.resolvers,v=e.typeDefs,h=e.fragmentMatcher,y=e.name,g=e.version,k=e.link;if(!k&&p&&(k=l.a.empty()),!k||!n)throw new s.a;var b=new Map,O=new l.a((function(e,t){var n=b.get(e.query);return n||(n=Object(a.v)(e.query),b.set(e.query,n),b.set(n,n)),e.query=n,t(e)}));this.link=O.concat(k),this.cache=n,this.store=new w(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=f,this.ssrMode=i,this.defaultOptions=m||{},this.typeDefs=v,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==c&&(c&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.5.1",y&&(this.clientAwareness.name=y),g&&(this.clientAwareness.version=g),this.localState=new S({cache:n,client:this,resolvers:p,fragmentMatcher:h})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.a)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.a)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.a)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(l.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)}))},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))})).then((function(){return t?t.clearStore():Promise.resolve(null)}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}();t.default=N},114:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},115:function(e,t,n){(function(t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(248)},function(e,t){e.exports=n(1)},function(e,n,r){(function(e){var r="[object Arguments]",i="[object Map]",a="[object Object]",o="[object Set]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s[r]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s[i]=s["[object Number]"]=s[a]=s["[object RegExp]"]=s[o]=s["[object String]"]=s["[object WeakMap]"]=!1;var c="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),m=n&&!n.nodeType&&n,p=m&&"object"==typeof e&&e&&!e.nodeType&&e,v=p&&p.exports===m&&c.process,h=function(){try{return v&&v.binding("util")}catch(e){}}(),y=h&&h.isTypedArray;function g(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function b(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function S(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var O,w,N,T=Array.prototype,C=Function.prototype,j=Object.prototype,x=f["__core-js_shared__"],F=(O=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",E=C.toString,P=j.hasOwnProperty,_=j.toString,A=RegExp("^"+E.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=f.Symbol,D=f.Uint8Array,R=j.propertyIsEnumerable,M=T.splice,L=(w=Object.keys,N=Object,function(e){return w(N(e))}),B=le(f,"DataView"),V=le(f,"Map"),q=le(f,"Promise"),z=le(f,"Set"),U=le(f,"WeakMap"),Q=le(Object,"create"),J=ce(B),W=ce(V),H=ce(q),$=ce(z),G=ce(U),Y=I?I.prototype:void 0,K=Y?Y.valueOf:void 0;function X(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(e){var t=-1,n=e?e.length:0;for(this.__data__=new ee;++t<n;)this.add(e[t])}function ne(e){this.__data__=new Z(e)}function re(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function ie(e,t,n,l,u){return e===t||(null==e||null==t||!he(e)&&!ye(t)?e!=e&&t!=t:function(e,t,n,l,u,s){var c=fe(e),d=fe(t),f="[object Array]",m="[object Array]";c||(f=(f=ue(e))==r?a:f),d||(m=(m=ue(t))==r?a:m);var p=f==a&&!k(e),v=m==a&&!k(t),h=f==m;if(h&&!p)return s||(s=new ne),c||ge(e)?ae(e,t,n,l,u,s):function(e,t,n,r,a,l,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return de(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var s=b;case o:var c=2&l;if(s||(s=S),e.size!=t.size&&!c)return!1;var d=u.get(e);if(d)return d==t;l|=1,u.set(e,t);var f=ae(s(e),s(t),r,a,l,u);return u.delete(e),f;case"[object Symbol]":if(K)return K.call(e)==K.call(t)}return!1}(e,t,f,n,l,u,s);if(!(2&u)){var y=p&&P.call(e,"__wrapped__"),g=v&&P.call(t,"__wrapped__");if(y||g){var O=y?e.value():e,w=g?t.value():t;return s||(s=new ne),n(O,w,l,u,s)}}return!!h&&(s||(s=new ne),function(e,t,n,r,i,a){var o=2&i,l=ke(e),u=l.length;if(u!=ke(t).length&&!o)return!1;for(var s=u;s--;){var c=l[s];if(!(o?c in t:P.call(t,c)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++s<u;){var p=e[c=l[s]],v=t[c];if(r)var h=o?r(v,p,c,t,e,a):r(p,v,c,e,t,a);if(!(void 0===h?p===v||n(p,v,r,i,a):h)){f=!1;break}m||(m="constructor"==c)}if(f&&!m){var y=e.constructor,g=t.constructor;y==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,l,u,s))}(e,t,ie,n,l,u))}function ae(e,t,n,r,i,a){var o=2&i,l=e.length,u=t.length;if(l!=u&&!(o&&u>l))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var c=-1,d=!0,f=1&i?new te:void 0;for(a.set(e,t),a.set(t,e);++c<l;){var m=e[c],p=t[c];if(r)var v=o?r(p,m,c,t,e,a):r(m,p,c,e,t,a);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!g(t,(function(e,t){if(!f.has(t)&&(m===e||n(m,e,r,i,a)))return f.add(t)}))){d=!1;break}}else if(m!==p&&!n(m,p,r,i,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function oe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!he(e)||function(e){return!!F&&F in e}(e))&&(pe(e)||k(e)?A:l).test(ce(e))}(n)?n:void 0}X.prototype.clear=function(){this.__data__=Q?Q(null):{}},X.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},X.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return P.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:P.call(t,e)},X.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},Z.prototype.clear=function(){this.__data__=[]},Z.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0||(n==t.length-1?t.pop():M.call(t,n,1),0))},Z.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return re(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ee.prototype.clear=function(){this.__data__={hash:new X,map:new(V||Z),string:new X}},ee.prototype.delete=function(e){return oe(this,e).delete(e)},ee.prototype.get=function(e){return oe(this,e).get(e)},ee.prototype.has=function(e){return oe(this,e).has(e)},ee.prototype.set=function(e,t){return oe(this,e).set(e,t),this},te.prototype.add=te.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},te.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.clear=function(){this.__data__=new Z},ne.prototype.delete=function(e){return this.__data__.delete(e)},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!V||r.length<199)return r.push([e,t]),this;n=this.__data__=new ee(r)}return n.set(e,t),this};var ue=function(e){return _.call(e)};function se(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||u.test(e))&&e>-1&&e%1==0&&e<t}function ce(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function de(e,t){return e===t||e!=e&&t!=t}(B&&"[object DataView]"!=ue(new B(new ArrayBuffer(1)))||V&&ue(new V)!=i||q&&"[object Promise]"!=ue(q.resolve())||z&&ue(new z)!=o||U&&"[object WeakMap]"!=ue(new U))&&(ue=function(e){var t=_.call(e),n=t==a?e.constructor:void 0,r=n?ce(n):void 0;if(r)switch(r){case J:return"[object DataView]";case W:return i;case H:return"[object Promise]";case $:return o;case G:return"[object WeakMap]"}return t});var fe=Array.isArray;function me(e){return null!=e&&ve(e.length)&&!pe(e)}function pe(e){var t=he(e)?_.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function he(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ye(e){return!!e&&"object"==typeof e}var ge=y?function(e){return function(t){return e(t)}}(y):function(e){return ye(e)&&ve(e.length)&&!!s[_.call(e)]};function ke(e){return me(e)?function(e,t){var n=fe(e)||function(e){return function(e){return ye(e)&&me(e)}(e)&&P.call(e,"callee")&&(!R.call(e,"callee")||_.call(e)==r)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=n.length,a=!!i;for(var o in e)!t&&!P.call(e,o)||a&&("length"==o||se(o,i))||n.push(o);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||j))return L(e);var t,n,r=[];for(var i in Object(e))P.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}e.exports=function(e,t){return ie(e,t)}}).call(this,r(8)(e))},function(e,t){e.exports=n(0)},function(e,n){var r="object"==typeof t&&t&&t.Object===Object&&t,i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function l(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var u=Object.prototype,s=u.hasOwnProperty,c=u.toString,d=a.Symbol,f=u.propertyIsEnumerable,m=d?d.isConcatSpreadable:void 0,p=Math.max;function v(e){return y(e)||function(e){return function(e){return g(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&s.call(e,"callee")&&(!f.call(e,"callee")||"[object Arguments]"==c.call(e))}(e)||!!(m&&e&&e[m])}function h(e){if("string"==typeof e||function(e){return"symbol"==typeof e||g(e)&&"[object Symbol]"==c.call(e)}(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var y=Array.isArray;function g(e){return!!e&&"object"==typeof e}var k,b,S=(k=function(e,t){return null==e?{}:function(e,t){return function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],l=e[o];n(l,o)&&(a[o]=l)}return a}(e=Object(e),t,(function(t,n){return n in e}))}(e,function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(function e(t,n,r,i,a){var o=-1,u=t.length;for(r||(r=v),a||(a=[]);++o<u;){var s=t[o];n>0&&r(s)?n>1?e(s,n-1,r,i,a):l(a,s):i||(a[a.length]=s)}return a}(t,1),h))},b=p(void 0===b?k.length-1:b,0),function(){for(var e=arguments,t=-1,n=p(e.length-b,0),r=Array(n);++t<n;)r[t]=e[b+t];t=-1;for(var i=Array(b+1);++t<b;)i[t]=e[t];return i[b]=r,o(k,this,i)});e.exports=S},function(e,t){e.exports=n(185)},function(e,t){e.exports=n(140)},function(e,t){e.exports=n(80)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(4),o=n.n(a),l=n(5),u=(n(3),n(6),n(7),n(2)),s=n.n(u);function c(e){return(c="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 d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){if("number"!=typeof e.debounceTimeMs)throw new Error("debounceTimeMs prop required")},k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(a,e);var t,n,r,i=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleDebounceTimer=function(){t.debounceTimeout=null,t.setState({debouncedProps:t.props,isDebouncing:!1})},g(e),t.state={debouncedProps:e,isDebouncing:!1},t.debounceTimeout=null,t}return t=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.debounceTimeMs||s()(e,t.debouncedProps)?t:f(f({},t),{},{debouncedProps:e})}}],(n=[{key:"shouldComponentUpdate",value:function(e,t){return!t.isDebouncing||!s()(this.props,e)}},{key:"componentDidUpdate",value:function(e){g(e),s()(this.props,e)||(this.setState({isDebouncing:!0}),clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(this.handleDebounceTimer,e.debounceTimeMs))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.debounceTimeout)}},{key:"render",value:function(){var e=this.props;return(0,e.debounceRender)(f(f({},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["debounceRender"])),this.state))}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var T=function(e){var t=e.query,n=e.propsToVariables,r=e.debounceTimeMs,a=e.ssr,u=N(e,["query","propsToVariables","debounceTimeMs","ssr"]);return i.a.createElement(k,b({},u,{debounceRender:function(e){var r=e.children,u=N(e,["children"]),s=o()(n(u.debouncedProps||u),function(e){return function e(t){return t.reduce((function(t,n){return t.concat(Array.isArray(n)?e(n):n)}),[])}(e.definitions.map((function(e){return(e.variableDefinitions||[]).map((function(e){return e.variable.name.value}))})))}(t));return i.a.createElement(l.Query,{query:t,ssr:a,variables:s},(function(e){var t=e.loading,n=e.data,i=e.refetch,a=e.fetchMore,o=e.error;return r(O(O({error:o,fetchMore:a,isLoading:t,refetch:function(){return i()},variables:s},u),n))}))},debounceTimeMs:r}))};T.defaultProps={propsToVariables:function(e){return e},ssr:void 0};var C=function(e,t){return function(n){return i.a.createElement(T,b({},n,{propsToVariables:t,query:e}))}},j=n(0),x=C(j.author);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var E=C(j.authorArticlesNoImages,j.authorArticlesNoImagesPTV),P=function(e){return i.a.createElement(E,F({},e,{longSummaryLength:360,shortSummaryLength:220}))},_=C(j.authorArticlesWithImages,j.authorArticlesWithImagesPTV),A=C(j.articleBookmarked),I=C(j.article),D=C(j.getNewsletter),R=C(j.articleExtras),M=C(j.edition),L=C(j.draftArticle);n.d(t,"QueryProvider",(function(){return T})),n.d(t,"AuthorProfileProvider",(function(){return x})),n.d(t,"AuthorArticlesNoImagesProvider",(function(){return P})),n.d(t,"AuthorArticlesWithImagesProvider",(function(){return _})),n.d(t,"ArticleBookmarked",(function(){return A})),n.d(t,"ArticleProvider",(function(){return I})),n.d(t,"GetNewsletter",(function(){return D})),n.d(t,"ArticleExtrasProvider",(function(){return R})),n.d(t,"EditionProvider",(function(){return M})),n.d(t,"DraftArticleProvider",(function(){return L})),n.d(t,"default",(function(){return C}))}])}).call(this,n(24))},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var r=n(2),i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"==typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function l(e,t){if(!e)throw new o(t)}function u(e){return function(){return console[e].apply(console,arguments)}}!function(e){e.warn=u("warn"),e.error=u("error")}(l||(l={}));var s={env:{}};if("object"==typeof e)s=e;else try{Function("stub","process = stub")(s)}catch(e){}}).call(this,n(91))},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var r=n(2),i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function l(e,t){if(!e)throw new o(t)}!function(e){e.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.warn.apply(console,e)},e.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.error.apply(console,e)}}(l||(l={}))},136:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);t.default={block:function(e,t,n){return i.a.createElement("div",{key:e},n)},bold:function(e,t,n){return i.a.createElement("b",{key:e},n)},break:function(e){return i.a.createElement("br",{key:e})},emphasis:function(e,t,n){return i.a.createElement("em",{key:e},n)},inline:function(e,t,n){return i.a.createElement("span",{key:e},n)},italic:function(e,t,n){return i.a.createElement("i",{key:e},n)},paragraph:function(e,t,n){return i.a.createElement("p",{key:e},n)},strong:function(e,t,n){return i.a.createElement("strong",{key:e},n)},subscript:function(e,t,n){return i.a.createElement("sub",{key:e},n)},superscript:function(e,t,n){return i.a.createElement("sup",{key:e},n)},link:function(e,t,n){return i.a.createElement("a",{style:{cursor:"pointer",textDecoration:"underline",color:"#006699"},href:t.href,key:e},n)},text:function(e,t){return t.value}}}])},138:function(e,t,n){"use strict";var r=n(382).Cache,i=n(383).tuple,a=n(384).Entry,o=n(247).get;t.defaultMakeCacheKey=i,t.wrap=function(e,t){var n=!!(t=function(e){return"function"!=typeof(e=e||Object.create(null)).makeCacheKey&&(e.makeCacheKey=i),"number"!=typeof e.max&&(e.max=Math.pow(2,16)),e}(t)).disposable,l=new r({max:t.max,dispose:function(e,t){t.dispose()}});function u(e){if(n)return l.delete(e.key),!0}function s(){if(!n||o().currentParentEntry){var r=t.makeCacheKey.apply(null,arguments);if(!r)return e.apply(null,arguments);for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];var c=l.get(r);c?c.args=i:(l.set(r,c=a.acquire(e,r,i)),c.subscribe=t.subscribe,n&&(c.reportOrphan=u));var d=c.recompute();return l.set(r,c),0===c.parents.size&&l.clean(),n?void 0:d}}return s.dirty=function(){var e=t.makeCacheKey.apply(null,arguments);e&&l.has(e)&&l.get(e).setDirty()},s}},139:function(e,t,n){"use strict";n.r(t),n.d(t,"Helmet",(function(){return V})),n.d(t,"HelmetProvider",(function(){return A}));var r=n(349),i=n.n(r),a=n(239),o=n.n(a),l=n(0),u=n.n(l),s=n(1),c=n.n(s),d=n(350),f=n.n(d),m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p=Object.keys(m).map((function(e){return m[e]})),v={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},h=Object.keys(v).reduce((function(e,t){return e[v[t]]=t,e}),{}),y=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},g=function(e){var t=y(e,m.TITLE),n=y(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=y(e,"defaultTitle");return t||r||void 0},k=function(e){return y(e,"onChangeClientState")||function(){}},b=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Object.assign({},e,t)}),{})},S=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},O=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var l=a[o],u=l.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),o=0;o<a.length;o+=1){var l=a[o],u=Object.assign({},r[l],i[l]);r[l]=u}return e}),[]).reverse()},w=function(e){return Array.isArray(e)?e.join(""):e},N=[m.NOSCRIPT,m.SCRIPT,m.STYLE],T=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},C=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},j=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[v[n]||n]=e[n],t}),t)},x=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=j(t.titleAttributes,{key:e=t.title,"data-rh":!0}),[c.a.createElement(m.TITLE,n,e)];var e,n},toString:function(){return function(e,n,r,i){var a=C(t.titleAttributes),o=w(n);return a?"<"+e+' data-rh="true" '+a+">"+T(o,i)+"</"+e+">":"<"+e+' data-rh="true">'+T(o,i)+"</"+e+">"}(e,t.title,0,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return j(t)},toString:function(){return C(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r={key:n,"data-rh":!0};return Object.keys(t).forEach((function(e){var n=v[e]||e;"innerHTML"===n||"cssText"===n?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]})),c.a.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+T(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",o=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(o?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},F=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.scriptTags,u=e.styleTags,s=e.title;void 0===s&&(s="");var c=e.titleAttributes;return{base:x(m.BASE,e.baseTag,n),bodyAttributes:x("bodyAttributes",t,n),htmlAttributes:x("htmlAttributes",r,n),link:x(m.LINK,i,n),meta:x(m.META,a,n),noscript:x(m.NOSCRIPT,o,n),script:x(m.SCRIPT,l,n),style:x(m.STYLE,u,n),title:x(m.TITLE,{title:s,titleAttributes:c},n)}},E=c.a.createContext({}),P=u.a.shape({setHelmet:u.a.func,helmetInstances:u.a.shape({get:u.a.func,add:u.a.func,remove:u.a.func})}),_="undefined"!=typeof document,A=function(e){function t(n){var r=this;e.call(this,n),this.instances=[],this.value={setHelmet:function(e){r.props.context.helmet=e},helmetInstances:{get:function(){return r.instances},add:function(e){r.instances.push(e)},remove:function(e){var t=r.instances.indexOf(e);r.instances.splice(t,1)}}},t.canUseDOM||(n.context.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.render=function(){return c.a.createElement(E.Provider,{value:this.value},this.props.children)},t}(s.Component);A.canUseDOM=_,A.propTypes={context:u.a.shape({helmet:u.a.shape()}),children:u.a.node.isRequired},A.defaultProps={context:{}},A.displayName="HelmetProvider";var I=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):o.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:o}},D=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l<o.length;l+=1){var u=o[l],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===i.indexOf(u)&&i.push(u);var c=a.indexOf(u);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},R=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,d=e.titleAttributes;D(m.BODY,e.bodyAttributes),D(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=w(e)),D(m.TITLE,t)}(c,d);var f={baseTag:I(m.BASE,n),linkTags:I(m.LINK,i),metaTags:I(m.META,a),noscriptTags:I(m.NOSCRIPT,o),scriptTags:I(m.SCRIPT,u),styleTags:I(m.STYLE,s)},p={},v={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(v[e]=f[e].oldTags)})),t&&t(),l(e,p,v)},M=null,L=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(this,t),this.rendered=!1}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!f()(e,this.props)},t.prototype.componentDidUpdate=function(){this.emitChange()},t.prototype.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.prototype.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a=(e=n.helmetInstances.get().map((function(e){var t=Object.assign({},e.props);return delete t.context,t})),{baseTag:S(["href"],e),bodyAttributes:b("bodyAttributes",e),defer:y(e,"defer"),encode:y(e,"encodeSpecialCharacters"),htmlAttributes:b("htmlAttributes",e),linkTags:O(m.LINK,["rel","href"],e),metaTags:O(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:O(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:k(e),scriptTags:O(m.SCRIPT,["src","innerHTML"],e),styleTags:O(m.STYLE,["cssText"],e),title:g(e),titleAttributes:b("titleAttributes",e)});A.canUseDOM?(t=a,M&&cancelAnimationFrame(M),t.defer?M=requestAnimationFrame((function(){R(t,(function(){M=null}))})):(R(t),M=null)):F&&(i=F(a)),r(i)},t.prototype.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.prototype.render=function(){return this.init(),null},t}(s.Component);function B(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}L.propTypes={context:P.isRequired},L.displayName="HelmetDispatcher";var V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!i()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Object.assign({},r,((t={})[n.type]=(r[n.type]||[]).concat([Object.assign({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case m.TITLE:return Object.assign({},i,((t={})[r.type]=o,t),{titleAttributes:Object.assign({},a)});case m.BODY:return Object.assign({},i,{bodyAttributes:Object.assign({},a)});case m.HTML:return Object.assign({},i,{htmlAttributes:Object.assign({},a)});default:return Object.assign({},i,((n={})[r.type]=Object.assign({},a),n))}},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){var r;n=Object.assign({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return o()(p.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+p.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),o()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return c.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,a=i.children,o=B(i,["children"]),l=Object.keys(o).reduce((function(e,t){return e[h[t]||t]=o[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,a),u){case m.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=B(e,["children"]),r=Object.assign({},n);return t&&(r=this.mapChildrenToProps(t,r)),c.a.createElement(E.Consumer,null,(function(e){return c.a.createElement(L,Object.assign({},r,{context:e}))}))},t}(s.Component);V.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},V.defaultProps={defer:!0,encodeSpecialCharacters:!0},V.displayName="Helmet"},140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5);function i(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=void 0,s=Array.isArray(e),c=[e],d=-1,f=[],m=void 0,p=void 0,v=void 0,h=[],y=[],g=e;do{var k=++d===c.length,b=k&&0!==f.length;if(k){if(p=0===y.length?void 0:h[h.length-1],m=v,v=y.pop(),b){if(s)m=m.slice();else{for(var S={},O=Object.keys(m),w=0;w<O.length;w++){var N=O[w];S[N]=m[N]}m=S}for(var T=0,C=0;C<f.length;C++){var j=f[C][0],x=f[C][1];s&&(j-=T),s&&null===x?(m.splice(j,1),T++):m[j]=x}}d=r.index,c=r.keys,f=r.edits,s=r.inArray,r=r.prev}else{if(p=v?s?d:c[d]:void 0,null==(m=v?v[p]:g))continue;v&&h.push(p)}var F=void 0;if(!Array.isArray(m)){if(!l(m))throw new Error("Invalid AST Node: "+(0,i.default)(m));var E=u(t,m.kind,k);if(E){if((F=E.call(t,m,p,v,h,y))===o)break;if(!1===F){if(!k){h.pop();continue}}else if(void 0!==F&&(f.push([p,F]),!k)){if(!l(F)){h.pop();continue}m=F}}}void 0===F&&b&&f.push([p,m]),k?h.pop():(r={inArray:s,index:d,keys:c,edits:f,prev:r},s=Array.isArray(m),c=s?m:n[m.kind]||[],d=-1,f=[],v&&y.push(v),v=m)}while(void 0!==r);0!==f.length&&(g=f[f.length-1][1]);return g},t.visitInParallel=function(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=u(e[r],n.kind,!1);if(i){var a=i.apply(e[r],arguments);if(!1===a)t[r]=n;else if(a===o)t[r]=o;else if(void 0!==a)return a}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=u(e[r],n.kind,!0);if(i){var a=i.apply(e[r],arguments);if(a===o)t[r]=o;else if(void 0!==a&&!1!==a)return a}}}}},t.visitWithTypeInfo=function(e,t){return{enter:function(n){e.enter(n);var r=u(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),l(i)&&e.enter(i)),i}},leave:function(n){var r,i=u(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}},t.getVisitFn=u,t.BREAK=t.QueryDocumentKeys=void 0;var r,i=(r=n(372))&&r.__esModule?r:{default:r};var a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=a;var o={};function l(e){return Boolean(e&&"string"==typeof e.kind)}function u(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var a=n?e.leave:e.enter;if(a){if("function"==typeof a)return a;var o=a[t];if("function"==typeof o)return o}}}t.BREAK=o},173:function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(6);function a(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:o(e)}]}}function o(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return o(e[0]);var t=[];return Object.keys(e).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:o(e[n])||void 0};t.push(r)})),{kind:"SelectionSet",selections:t}}var l,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},s=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.h)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.h)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var l=null;try{l=this.read({rootId:r,optimistic:!1,query:u})}catch(e){}var s=l&&l.__typename||"__ClientData",c=Object.assign({__typename:s},i);this.writeFragment({id:r,fragment:(t=c,n=s,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:o(t)}]}),data:c})}else this.writeQuery({query:a(i),data:i})},e}();l||(l={});var c=n(245),d=n(138),f=Object.setPrototypeOf,m=void 0===f?function(e,t){return e.__proto__=t,e}:f,p=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,n)||this;return r.framesToPop=1,r.name="Invariant Violation",m(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function v(e,t){if(!e)throw new p(t)}!function(e){e.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.warn.apply(console,e)},e.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.error.apply(console,e)}}(v||(v={}));n.d(t,"InMemoryCache",(function(){return J})),n.d(t,"defaultDataIdFromObject",(function(){return z})),n.d(t,"StoreReader",(function(){return E})),n.d(t,"assertIdValue",(function(){return A})),n.d(t,"WriteError",(function(){return R})),n.d(t,"enhanceErrorWithDocument",(function(){return M})),n.d(t,"StoreWriter",(function(){return L})),n.d(t,"HeuristicFragmentMatcher",(function(){return N})),n.d(t,"IntrospectionFragmentMatcher",(function(){return T})),n.d(t,"ObjectCache",(function(){return I})),n.d(t,"defaultNormalizedCacheFactory",(function(){return D}));var h=new Map;if(h.set(1,2)!==h){var y=h.set;Map.prototype.set=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return y.apply(this,e),this}}var g=new Set;if(g.add(3)!==g){var k=g.add;Set.prototype.add=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return k.apply(this,e),this}}var b={};"function"==typeof Object.freeze&&Object.freeze(b);try{h.set(b,b).delete(b)}catch(e){var S=function(e){return e&&function(t){try{h.set(t,t).delete(t)}finally{return e.call(Object,t)}}};Object.freeze=S(Object.freeze),Object.seal=S(Object.seal),Object.preventExtensions=S(Object.preventExtensions)}var O=!1;function w(){var e=!O;return Object(i.s)()||(O=!0),e}var N=function(){function e(){}return e.prototype.ensureReady=function(){return Promise.resolve()},e.prototype.canBypassInit=function(){return!0},e.prototype.match=function(e,t,n){var r=n.store.get(e.id);return!r&&"ROOT_QUERY"===e.id||!!r&&(r.__typename&&r.__typename===t||(w(),"heuristic"))},e}(),T=function(){function e(e){e&&e.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(e.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}return e.prototype.match=function(e,t,n){v(this.isReady);var r=n.store.get(e.id);if(!r)return!1;if(v(r.__typename),r.__typename===t)return!0;var i=this.possibleTypesMap[t];return!!(i&&i.indexOf(r.__typename)>-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t},e}(),C=function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return e.forEach((function(e){t=t.getOrCreate(e)})),t.key||(t.key=Object.create(null))},e.prototype.getOrCreate=function(t){var n=this.children||(this.children=new Map),r=n.get(t);return r||n.set(t,r=new e),r},e}(),j=Object.prototype.hasOwnProperty,x=function(){function e(e){void 0===e&&(e=Object.create(null));var t=this;this.data=e,this.depend=Object(d.wrap)((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){j.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){j.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function F(e){return new x(e)}var E=function(){function e(e){void 0===e&&(e=new C);var t=this;this.cacheKeyRoot=e;var n=this,r=n.executeStoreQuery,i=n.executeSelectionSet;this.executeStoreQuery=Object(d.wrap)((function(e){return r.call(t,e)}),{makeCacheKey:function(e){var t=e.query,r=e.rootValue,i=e.contextValue,a=e.variableValues,o=e.fragmentMatcher;if(i.store instanceof x)return n.cacheKeyRoot.lookup(t,i.store,o,JSON.stringify(a),r.id)}}),this.executeSelectionSet=Object(d.wrap)((function(e){return i.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,r=e.rootValue,i=e.execContext;if(i.contextValue.store instanceof x)return n.cacheKeyRoot.lookup(t,i.contextValue.store,i.fragmentMatcher,JSON.stringify(i.variableValues),r.id)}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(r.a)({},e,{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.variables,a=e.previousResult,o=e.returnPartialData,l=void 0===o||o,u=e.rootId,s=void 0===u?"ROOT_QUERY":u,d=e.fragmentMatcherFunction,f=e.config,m=Object(i.l)(n);r=Object(i.c)({},Object(i.e)(m),r);var v={store:t,dataIdFromObject:f&&f.dataIdFromObject||null,cacheRedirects:f&&f.cacheRedirects||{}},h=this.executeStoreQuery({query:n,rootValue:{type:"id",id:s,generated:!0,typename:"Query"},contextValue:v,variableValues:r,fragmentMatcher:d}),y=h.missing&&h.missing.length>0;return y&&!l&&h.missing.forEach((function(e){if(!e.tolerable)throw new p})),a&&Object(c.a)(a,h.result)&&(h.result=a),{result:h.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,a=e.variableValues,o=e.fragmentMatcher,l=void 0===o?_:o,u=Object(i.i)(t),s=Object(i.g)(t),c={query:t,fragmentMap:Object(i.d)(s),contextValue:r,variableValues:a,fragmentMatcher:l};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:c})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,a=e.rootValue,o=e.execContext,l=o.fragmentMap,u=o.contextValue,s=o.variableValues,c={result:null},d=[],f=u.store.get(a.id),m=f&&f.__typename||"ROOT_QUERY"===a.id&&"Query"||void 0;function v(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if(Object(i.v)(e,s))if(Object(i.n)(e)){var c=v(t.executeField(f,m,e,o));void 0!==c&&d.push(((n={})[Object(i.u)(e)]=c,n))}else{var h=void 0;if(Object(i.p)(e))h=e;else if(!(h=l[e.name.value]))throw new p;var y=h.typeCondition.name.value,g=o.fragmentMatcher(a,y,u);if(g){var k=t.executeSelectionSet({selectionSet:h.selectionSet,rootValue:a,execContext:o});"heuristic"===g&&k.missing&&(k=Object(r.a)({},k,{missing:k.missing.map((function(e){return Object(r.a)({},e,{tolerable:!0})}))})),d.push(v(k))}}})),c.result=Object(i.t)(d),c},e.prototype.executeField=function(e,t,n,r){var a=r.variableValues,o=r.contextValue,l=function(e,t,n,r,a,o){o.resultKey;var l=o.directives,u=n;(r||l)&&(u=Object(i.m)(u,r,l));var s=void 0;if(e&&void 0===(s=e[u])&&a.cacheRedirects&&"string"==typeof t){var c=a.cacheRedirects[t];if(c){var d=c[n];d&&(s=d(e,r,{getCacheKey:function(e){return Object(i.x)({id:a.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===s)return{result:s,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.q)(s)&&(s=s.json);return{result:s}}(e,t,n.name.value,Object(i.b)(n,a),o,{resultKey:Object(i.u)(n),directives:Object(i.f)(n,a)});return Array.isArray(l.result)?this.combineExecResults(l,this.executeSubSelectedArray(n,l.result,r)):n.selectionSet?null==l.result?l:this.combineExecResults(l,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:l.result,execContext:r})):(P(n,l.result),l)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null;return e.forEach((function(e){e.missing&&(n=n||[]).push.apply(n,e.missing)})),{result:e.pop().result,missing:n}},e.prototype.executeSubSelectedArray=function(e,t,n){var r=this,i=null;function a(e){return e.missing&&(i=i||[]).push.apply(i,e.missing),e.result}return{result:t=t.map((function(t){return null===t?null:Array.isArray(t)?a(r.executeSubSelectedArray(e,t,n)):e.selectionSet?a(r.executeSelectionSet({selectionSet:e.selectionSet,rootValue:t,execContext:n})):(P(e,t),t)})),missing:i}},e}();function P(e,t){if(!e.selectionSet&&Object(i.o)(t))throw new p}function _(){return!0}function A(e){v(Object(i.o)(e))}var I=function(){function e(e){void 0===e&&(e=Object.create(null)),this.data=e}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.delete=function(e){this.data[e]=void 0},e.prototype.clear=function(){this.data=Object.create(null)},e.prototype.replace=function(e){this.data=e||Object.create(null)},e}();function D(e){return new I(e)}var R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="WriteError",t}return Object(r.c)(t,e),t}(Error);function M(e,t){var n=new R("Error writing result to store for query:\n "+JSON.stringify(t));return n.message+="\n"+e.message,n.stack=e.stack,n}var L=function(){function e(){}return e.prototype.writeQueryToStore=function(e){var t=e.query,n=e.result,r=e.store,i=void 0===r?F():r,a=e.variables,o=e.dataIdFromObject,l=e.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:n,document:t,store:i,variables:a,dataIdFromObject:o,fragmentMatcherFunction:l})},e.prototype.writeResultToStore=function(e){var t=e.dataId,n=e.result,r=e.document,a=e.store,o=void 0===a?F():a,l=e.variables,u=e.dataIdFromObject,s=e.fragmentMatcherFunction,c=Object(i.j)(r);try{return this.writeSelectionSetToStore({result:n,dataId:t,selectionSet:c.selectionSet,context:{store:o,processedData:{},variables:Object(i.c)({},Object(i.e)(c),l),dataIdFromObject:u,fragmentMap:Object(i.d)(Object(i.g)(r)),fragmentMatcherFunction:s}})}catch(e){throw M(e,r)}},e.prototype.writeSelectionSetToStore=function(e){var t=this,n=e.result,r=e.dataId,a=e.selectionSet,o=e.context,l=o.variables,u=o.store,s=o.fragmentMap;return a.selections.forEach((function(e){if(Object(i.v)(e,l))if(Object(i.n)(e)){var a=Object(i.u)(e),u=n[a];if(void 0!==u)t.writeFieldToStore({dataId:r,value:u,field:e,context:o});else{var c=!1,d=!1;e.directives&&e.directives.length&&(c=e.directives.some((function(e){return e.name&&"defer"===e.name.value})),d=e.directives.some((function(e){return e.name&&"client"===e.name.value}))),!c&&!d&&o.fragmentMatcherFunction}}else{var f=void 0;Object(i.p)(e)?f=e:v(f=(s||{})[e.name.value]);var m=!0;if(o.fragmentMatcherFunction&&f.typeCondition){var p=Object(i.x)({id:"self",typename:void 0}),h={store:new I({self:n}),cacheRedirects:{}},y=o.fragmentMatcherFunction(p,f.typeCondition.name.value,h);Object(i.r)(),m=!!y}m&&t.writeSelectionSetToStore({result:n,selectionSet:f.selectionSet,dataId:r,context:o})}})),u},e.prototype.writeFieldToStore=function(e){var t,n,a,o=e.field,l=e.value,u=e.dataId,s=e.context,d=s.variables,f=s.dataIdFromObject,m=s.store,p=Object(i.w)(o,d);if(o.selectionSet&&null!==l)if(Array.isArray(l)){var h=u+"."+p;n=this.processArrayValue(l,h,o.selectionSet,s)}else{var y=u+"."+p,g=!0;if(B(y)||(y="$"+y),f){var k=f(l);v(!k||!B(k)),(k||"number"==typeof k&&0===k)&&(y=k,g=!1)}V(y,o,s.processedData)||this.writeSelectionSetToStore({dataId:y,result:l,selectionSet:o.selectionSet,context:s});var b=l.__typename;n=Object(i.x)({id:y,typename:b},g);var S=(a=m.get(u))&&a[p];if(S!==n&&Object(i.o)(S)){var O=void 0!==S.typename,w=void 0!==b,N=O&&w&&S.typename!==b;v(!g||S.generated||N),v(!O||w),S.generated&&(N?g||m.delete(S.id):function e(t,n,a){if(t===n)return!1;var o=a.get(t),l=a.get(n),u=!1;Object.keys(o).forEach((function(t){var n=o[t],r=l[t];Object(i.o)(n)&&B(n.id)&&Object(i.o)(r)&&!Object(c.a)(n,r)&&e(n.id,r.id,a)&&(u=!0)})),a.delete(t);var s=Object(r.a)({},o,l);if(Object(c.a)(s,l))return u;return a.set(n,s),!0}(S.id,n.id,m))}}else n=null!=l&&"object"==typeof l?{type:"json",json:l}:l;(a=m.get(u))&&Object(c.a)(n,a[p])||m.set(u,Object(r.a)({},a,((t={})[p]=n,t)))},e.prototype.processArrayValue=function(e,t,n,r){var a=this;return e.map((function(e,o){if(null===e)return null;var l=t+"."+o;if(Array.isArray(e))return a.processArrayValue(e,l,n,r);var u=!0;if(r.dataIdFromObject){var s=r.dataIdFromObject(e);s&&(l=s,u=!1)}return V(l,n,r.processedData)||a.writeSelectionSetToStore({dataId:l,result:e,selectionSet:n,context:r}),Object(i.x)({id:l,typename:e.__typename},u)}))},e}();function B(e){return"$"===e[0]}function V(e,t,n){if(!n)return!1;if(n[e]){if(n[e].indexOf(t)>=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var q={fragmentMatcher:new N,dataIdFromObject:z,addTypename:!0,resultCaching:!0};function z(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null}var U=Object.prototype.hasOwnProperty,Q=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(r.c)(t,e),t.prototype.toObject=function(){return Object(r.a)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return U.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(I),J=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new C,n.silenceBroadcast=!1,n.config=Object(r.a)({},q,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new x:new I,n.optimisticData=n.data,n.storeReader=new E(n.cacheKeyRoot),n.storeWriter=new L;var i=n,a=i.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(d.wrap)((function(e){return a.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof x?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(r.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new p},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof Q;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new Q(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(s)},177:function(e,t,n){"use strict";e.exports=n(369)},178:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),i=n(15),a=n(5);function o(e,t){Object(a.a)(2,arguments);var n=Object(i.a)(e).getTime(),o=Object(r.a)(t);return new Date(n+o)}},180:function(e,t,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(e,t,n){var i,a=r[e];return i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function a(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=i.width?String(i.width):a;r=e.formattingValues[o]||e.formattingValues[a]}else{var l=e.defaultWidth,u=i.width?String(i.width):e.defaultWidth;r=e.values[u]||e.values[l]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o,l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?d(u,(function(e){return e.test(l)})):c(u,(function(e){return e.test(l)}));o=e.valueCallback?e.valueCallback(s):s,o=n.valueCallback?n.valueCallback(o):o;var f=t.slice(l.length);return{value:o,rest:f}}}function c(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function d(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var f,m={code:"en-US",formatDistance:i,formatLong:o,formatRelative:function(e,t,n,r){return l[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(f={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(f.matchPattern);if(!n)return null;var r=n[0],i=e.match(f.parsePattern);if(!i)return null;var a=f.valueCallback?f.valueCallback(i[0]):i[0];a=t.valueCallback?t.valueCallback(a):a;var o=e.slice(r.length);return{value:a,rest:o}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=m},184:function(e,t,n){"use strict";
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t,n){e.exports=n(367)()},1:function(e,t,n){"use strict";e.exports=n(366)},104:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(92)},function(e,t){e.exports=n(136)},function(e,t){e.exports=n(63)},function(e,t){e.exports=n(71)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=n.n(o),u=n(5),s=n.n(u),c=n(6),d=n.n(c);function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=l()(a.TcText).withConfig({displayName:"render-byline__InlineText",componentId:"sc-8i7rg2-0"})([""," ",";"],(function(e){return e.textStyle?Object(a.checkStylesForUnits)(e.textStyle):""}),(function(e){return e.bylineStyle?Object(a.checkStylesForUnits)(e.bylineStyle):""})),y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return p(p({},d.a),{},{author:function(t,r,a){return i.a.createElement(e,f({key:t,name:a[0]},r,n),a)},inline:function(e,r,a){var o=n.className,l=n.bylineStyle;return i.a.createElement(h,{className:o,key:e,textStyle:t,bylineStyle:l},a)}})},g=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.map((function(e){return e.byline&&e.byline.length>0?e.byline[0]:{}}));return s()(i,y(e,n,r))},k=n(2),b=n.n(k),S={ast:b.a.arrayOf(b.a.shape({})).isRequired,onAuthorPress:b.a.func,capitalize:b.a.bool,children:b.a.array,key:b.a.string,attributes:b.a.array,slug:b.a.string},O={onAuthorPress:function(){return null},capitalize:!1},w=n(3);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{link:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.action,textDecorationLine:"none"}),nonLinkText:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.primary,flexDirection:"row",lineHeight:"25px"}),opinion:T(T({},Object(w.fontFactory)({font:"headline",fontSize:"smallHeadline"})),{},{color:w.colours.section.comment,fontWeight:"400"}),centered:{textAlign:"center"},text:T(T({},Object(w.fontFactory)({font:"supporting",fontSize:"cardMeta"})),{},{color:w.colours.functional.secondary,flexDirection:"row"})});var E=l()(a.TcText).withConfig({displayName:"article-byline-opinion__OpinionText",componentId:"aqlxmn-0"})(["",";"],Object(a.checkStylesForUnits)(F.opinion)),P=function(e){var t=e.children,n=e.key,r=e.className;return i.a.createElement(E,{className:r,key:n},t)},_=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(P,t,F.opinion,n)};_.displayName="ArticleBylineOpinion",_.propTypes=S,_.defaultProps=O;var A=_,I=n(7),D=n(8);var R=function(e){var t=e.slug,n=e.className,r=e.onAuthorPress,o=e.children,l="/profile/".concat(t),u=o[0];return i.a.createElement(I.TextLink,{className:n,onPress:function(e){r(e,{name:u,slug:t})},style:Object(a.checkStylesForUnits)(F.link),url:l},o)},M=function(e){var t,n=e.ast,r=e.centered,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast","centered"]);return g((t=R,Object(D.withTrackEvents)(t,{analyticsEvents:[{actionName:"Pressed",eventName:"onAuthorPress",getAttrs:function(e){return{name:e.name,slug:e.slug}},trackingName:"ArticlePressAuthor"}]})),n,r?[F.text,F.centered]:F.text,i)};M.displayName="ArticleBylineWithLinks",M.propTypes=S,M.defaultProps=O;var L=M,B=function(e){return e&&e.length>0&&e[0].byline&&e[0].byline.length>0};n.d(t,"ArticleBylineOpinion",(function(){return A})),n.d(t,"ArticleBylineWithLinks",(function(){return L})),n.d(t,"hasBylineData",(function(){return B}));var V=l()(a.TcText).withConfig({displayName:"article-byline__BylineText",componentId:"ynke2n-0"})([""," ",";"],(function(e){return e.style?Object(a.checkStylesForUnits)(e.style):""}),Object(a.checkStylesForUnits)(F.nonLinkText)),q=function(e){var t=e.children,n=e.key,r=e.className,a=e.bylineStyle;return i.a.createElement(V,{className:r,key:n,style:a},t)},z=function(e){var t=e.ast,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["ast"]);return g(q,t,F.nonLinkText,n)};z.displayName="ArticleByline",z.propTypes=S,z.defaultProps=O,t.default=z}])},105:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=(n(3),n(2));function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={title:u(u({},Object(o.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{fontWeight:"400",lineHeight:11,marginBottom:0,marginTop:-1,paddingTop:1})};function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=f(f({},c),{},{title:f(f({},c.title),{},{lineHeight:12,letterSpacing:.5})});function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g=e=>h(h({},Object(a.checkStylesForUnits)(p.title)),{},{color:Object(a.gqlRgbaToHex)(e)||e}),k=e=>{let t=e.color,n=e.title;return i.a.createElement(a.TcText,{style:g(t)},n.toUpperCase())};k.defaultProps={color:"black"},t.default=k}])},106:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){e.exports=n(11)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(8)},function(e,t){e.exports=n(83)},function(e,t){e.exports=n(0)},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(0),o=n(4),l=(n(5),n(2)),u=n.n(l),s=n(3);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m={container:{alignItems:"flex-start",flexDirection:"row",marginTop:-1,marginBottom:1},iconContainer:{alignSelf:"center",paddingBottom:1},title:d(d({},Object(s.fontFactory)({font:"supporting",fontSize:"cardMetaMobile"})),{},{flex:-1,fontWeight:"400",letterSpacing:.6,lineHeight:13,marginLeft:Object(s.spacing)(1),paddingTop:1})};function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=u()(a.TcText).withConfig({displayName:"video-label__VideoLabelText",componentId:"spiidi-0"})(["",";"],Object(a.checkStylesForUnits)(m.title)),y=u()(a.TcView).withConfig({displayName:"video-label__Container",componentId:"spiidi-1"})(["",";"],Object(a.checkStylesForUnits)(m.container)),g=u()(a.TcView).withConfig({displayName:"video-label__IconContainer",componentId:"spiidi-2"})(["",";"],Object(a.checkStylesForUnits)(m.iconContainer)),k=function(e){var t=e.color,n=e.title,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},m.title);return Object.assign(r,{color:t}),i.a.createElement(y,null,i.a.createElement(g,null,i.a.createElement(o.IconVideo,{fillColour:t,height:9})),i.a.createElement(h,{style:r},n?n.toUpperCase():"VIDEO"))};k.defaultProps={color:"black",title:""},t.default=k}])},107:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}([function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=n(7)},function(e,t){e.exports=n(235)},function(e,t){e.exports=n(250)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=(n(1),n(2)),o=n.n(a),l=n(3),u=n.n(l),s=n(4),c=n.n(s),d=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),r=n.getDay(),i=n.getDate()-r,a=new Date(Date.UTC(t,e,i));return a.setHours(1),a},f=function(e){var t=d(2,e.getFullYear()),n=d(9,e.getFullYear()),r=e.getTime()>=t.getTime(),i=e.getTime()<n.getTime();return r&&i},m=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())};function p(e){return(p="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 v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(i,e);var t,n,r=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var i=k(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return y(this,n)}}(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).state={timezone:""},t.updateTimezone=t.updateTimezone.bind(g(t)),t}return t=i,(n=[{key:"componentDidMount",value:function(){this.updateTimezone()}},{key:"updateTimezone",value:function(){var e=this.props.date,t=m(e);"Europe/London"!==function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return""}}()&&this.setState({timezone:f(t)?" BST":" GMT"})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.showDay,r=this.props.date,i=void 0===r?new Date:r,a=this.state.timezone,o=m(i),l=f(o)?60:0,s=c()(o,l);void 0===i&&(i=new Date);var d=n?"EEEE ".concat("MMMM dd yyyy, h.mmaaa"):"MMMM dd yyyy, h.mmaaa";return t("".concat(u()(s,d)).concat(a))}}])&&v(t.prototype,n),i}(r.Component);b.defaultProps={showDay:!0};var S=b,O={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(e){var t=e.publication,n=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["publication"]);return i.a.createElement(S,n,(function(e){return i.a.createElement(r.Fragment,null,i.a.createElement("time",{dateTime:n.date},e,function(e){return e&&O[e]?", ":""}(t)),t?i.a.createElement(j,null,function(e){return e&&O[e]?O[e]:""}(t)):null)}))},j=o.a.span.withConfig({displayName:"date-publication__PublicationName",componentId:"sc-1vdpzkx-0"})(["display:inline-block;"]);C.defaultProps=N(N({},S.defaultProps),{},{publication:null}),t.default=C}])},108:function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},a={key:r,value:e[r]};return n(i,a)}}),a=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,o;if(Array.isArray(t)){for(o="[",n=0;n<t.length;n++)n&&(o+=","),o+=e(t[n])||"null";return o+"]"}if(null===t)return"null";if(-1!==a.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var l=a.push(t)-1,u=Object.keys(t).sort(i&&i(t));for(o="",n=0;n<u.length;n++){var s=u[n],c=e(t[s]);c&&(o&&(o+=","),o+=JSON.stringify(s)+":"+c)}return a.splice(l,1),"{"+o+"}"}}(e)}},11:function(e,t,n){(function(t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=15)}([function(e,t){e.exports=n(7)},function(e,t){e.exports=n(1)},function(e,t){e.exports=n(0)},function(e,t){e.exports=e=>{let t=e.tiles;if(!t)return null;let n=t.reduce((e,t)=>(e.push(...t.slices),e),[]).reduce((e,t)=>(e.push(...t.sections),e),[]).map(e=>e.title);n=n.filter(e=>e);const r=n.filter(e=>"news"!==e);return r.length?r[0].toLowerCase():"unknown section"}},function(e,t){const n=e=>e.slices[0].sections[0].title?e.slices[0].sections[0].title.toLowerCase():"";e.exports=e=>{return(t=e)&&t.tiles&&t.tiles.length>0?e.tiles.reduce((e,t)=>{return(r=t).slices&&r.slices.length>0&&(e=>e.slices[0].sections&&e.slices[0].sections.length>0)(t)&&n(t)?n(t):e;var r},"default"):"default";var t}},function(e,t){e.exports=n(8)},function(e,n,r){(function(e){var r="[object Arguments]",i="[object Map]",a="[object Object]",o="[object Set]",l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/,s=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,p={};p["[object Float32Array]"]=p["[object Float64Array]"]=p["[object Int8Array]"]=p["[object Int16Array]"]=p["[object Int32Array]"]=p["[object Uint8Array]"]=p["[object Uint8ClampedArray]"]=p["[object Uint16Array]"]=p["[object Uint32Array]"]=!0,p[r]=p["[object Array]"]=p["[object ArrayBuffer]"]=p["[object Boolean]"]=p["[object DataView]"]=p["[object Date]"]=p["[object Error]"]=p["[object Function]"]=p[i]=p["[object Number]"]=p[a]=p["[object RegExp]"]=p[o]=p["[object String]"]=p["[object WeakMap]"]=!1;var v="object"==typeof t&&t&&t.Object===Object&&t,h="object"==typeof self&&self&&self.Object===Object&&self,y=v||h||Function("return this")(),g=n&&!n.nodeType&&n,k=g&&"object"==typeof e&&e&&!e.nodeType&&e,b=k&&k.exports===g&&v.process,S=function(){try{return b&&b.binding("util")}catch(e){}}(),O=S&&S.isTypedArray;function w(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function N(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function j(e,t){return function(n){return e(t(n))}}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var F,E=Array.prototype,P=Function.prototype,_=Object.prototype,A=y["__core-js_shared__"],I=(F=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+F:"",D=P.toString,R=_.hasOwnProperty,M=_.toString,L=RegExp("^"+D.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=y.Symbol,V=y.Uint8Array,q=j(Object.getPrototypeOf,Object),z=_.propertyIsEnumerable,U=E.splice,Q=Object.getOwnPropertySymbols,J=j(Object.keys,Object),W=be(y,"DataView"),H=be(y,"Map"),$=be(y,"Promise"),G=be(y,"Set"),Y=be(y,"WeakMap"),K=be(Object,"create"),X=Pe(W),Z=Pe(H),ee=Pe($),te=Pe(G),ne=Pe(Y),re=B?B.prototype:void 0,ie=re?re.valueOf:void 0,ae=re?re.toString:void 0;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.__data__=new ue;++t<n;)this.add(e[t])}function ce(e){this.__data__=new le(e)}function de(e,t){var n=De(e)||Ie(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!R.call(e,a)||i&&("length"==a||Ne(a,r))||n.push(a);return n}function fe(e,t){for(var n=e.length;n--;)if(Ae(e[n][0],t))return n;return-1}function me(e,t){for(var n=0,r=(t=Te(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[Ee(t[n++])];return n&&n==r?e:void 0}function pe(e,t){return null!=e&&t in Object(e)}function ve(e,t,n,l,u){return e===t||(null==e||null==t||!Be(e)&&!Ve(t)?e!=e&&t!=t:function(e,t,n,l,u,s){var c=De(e),d=De(t),f="[object Array]",m="[object Array]";c||(f=(f=we(e))==r?a:f),d||(m=(m=we(t))==r?a:m);var p=f==a&&!T(e),v=m==a&&!T(t),h=f==m;if(h&&!p)return s||(s=new ce),c||Ue(e)?ge(e,t,n,l,u,s):function(e,t,n,r,a,l,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new V(e),new V(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ae(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var s=C;case o:var c=2&l;if(s||(s=x),e.size!=t.size&&!c)return!1;var d=u.get(e);if(d)return d==t;l|=1,u.set(e,t);var f=ge(s(e),s(t),r,a,l,u);return u.delete(e),f;case"[object Symbol]":if(ie)return ie.call(e)==ie.call(t)}return!1}(e,t,f,n,l,u,s);if(!(2&u)){var y=p&&R.call(e,"__wrapped__"),g=v&&R.call(t,"__wrapped__");if(y||g){var k=y?e.value():e,b=g?t.value():t;return s||(s=new ce),n(k,b,l,u,s)}}return!!h&&(s||(s=new ce),function(e,t,n,r,i,a){var o=2&i,l=Qe(e),u=l.length;if(u!=Qe(t).length&&!o)return!1;for(var s=u;s--;){var c=l[s];if(!(o?c in t:R.call(t,c)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++s<u;){var p=e[c=l[s]],v=t[c];if(r)var h=o?r(v,p,c,t,e,a):r(p,v,c,e,t,a);if(!(void 0===h?p===v||n(p,v,r,i,a):h)){f=!1;break}m||(m="constructor"==c)}if(f&&!m){var y=e.constructor,g=t.constructor;y==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,l,u,s))}(e,t,ve,n,l,u))}function he(e){return"function"==typeof e?e:null==e?We:"object"==typeof e?De(e)?function(e,t){return Te(e)&&je(t)?xe(Ee(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,a=(t=Te(t,e)?[t]:ye(t)).length;++i<a;){var o=Ee(t[i]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(a=e?e.length:0)&&Le(a)&&Ne(o,a)&&(De(e)||Ie(e))}(e,t,pe)}(n,e):ve(t,r,void 0,3)}}(e[0],e[1]):function(e){var t=function(e){for(var t=Qe(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,je(i)]}return t}(e);return 1==t.length&&t[0][2]?xe(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,a=i;if(null==e)return!a;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){var l=(o=n[i])[0],u=e[l],s=o[1];if(o[2]){if(void 0===u&&!(l in e))return!1}else{var c,d=new ce;if(!(void 0===c?ve(s,u,r,3,d):c))return!1}}return!0}(n,0,t)}}(e):Te(t=e)?(n=Ee(t),function(e){return null==e?void 0:e[n]}):function(e){return function(t){return me(t,e)}}(t);var t,n}function ye(e){return De(e)?e:Fe(e)}function ge(e,t,n,r,i,a){var o=2&i,l=e.length,u=t.length;if(l!=u&&!(o&&u>l))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var c=-1,d=!0,f=1&i?new se:void 0;for(a.set(e,t),a.set(t,e);++c<l;){var m=e[c],p=t[c];if(r)var v=o?r(p,m,c,t,e,a):r(m,p,c,e,t,a);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!N(t,(function(e,t){if(!f.has(t)&&(m===e||n(m,e,r,i,a)))return f.add(t)}))){d=!1;break}}else if(m!==p&&!n(m,p,r,i,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function ke(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Be(e)||(t=e,I&&I in t))&&(Me(e)||T(e)?L:f).test(Pe(e));var t}(n)?n:void 0}oe.prototype.clear=function(){this.__data__=K?K(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return R.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:R.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},le.prototype.clear=function(){this.__data__=[]},le.prototype.delete=function(e){var t=this.__data__,n=fe(t,e);return!(n<0||(n==t.length-1?t.pop():U.call(t,n,1),0))},le.prototype.get=function(e){var t=this.__data__,n=fe(t,e);return n<0?void 0:t[n][1]},le.prototype.has=function(e){return fe(this.__data__,e)>-1},le.prototype.set=function(e,t){var n=this.__data__,r=fe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ue.prototype.clear=function(){this.__data__={hash:new oe,map:new(H||le),string:new oe}},ue.prototype.delete=function(e){return ke(this,e).delete(e)},ue.prototype.get=function(e){return ke(this,e).get(e)},ue.prototype.has=function(e){return ke(this,e).has(e)},ue.prototype.set=function(e,t){return ke(this,e).set(e,t),this},se.prototype.add=se.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},se.prototype.has=function(e){return this.__data__.has(e)},ce.prototype.clear=function(){this.__data__=new le},ce.prototype.delete=function(e){return this.__data__.delete(e)},ce.prototype.get=function(e){return this.__data__.get(e)},ce.prototype.has=function(e){return this.__data__.has(e)},ce.prototype.set=function(e,t){var n=this.__data__;if(n instanceof le){var r=n.__data__;if(!H||r.length<199)return r.push([e,t]),this;n=this.__data__=new ue(r)}return n.set(e,t),this};var Se=Q?j(Q,Object):He,Oe=Q?function(e){for(var t=[];e;)w(t,Se(e)),e=q(e);return t}:He,we=function(e){return M.call(e)};function Ne(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||m.test(e))&&e>-1&&e%1==0&&e<t}function Te(e,t){if(De(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!qe(e))||u.test(e)||!l.test(e)||null!=t&&e in Object(t)}function Ce(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_)}function je(e){return e==e&&!Be(e)}function xe(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(W&&"[object DataView]"!=we(new W(new ArrayBuffer(1)))||H&&we(new H)!=i||$&&"[object Promise]"!=we($.resolve())||G&&we(new G)!=o||Y&&"[object WeakMap]"!=we(new Y))&&(we=function(e){var t=M.call(e),n=t==a?e.constructor:void 0,r=n?Pe(n):void 0;if(r)switch(r){case X:return"[object DataView]";case Z:return i;case ee:return"[object Promise]";case te:return o;case ne:return"[object WeakMap]"}return t});var Fe=_e((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(qe(e))return ae?ae.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return s.test(e)&&n.push(""),e.replace(c,(function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)})),n}));function Ee(e){if("string"==typeof e||qe(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Pe(e){if(null!=e){try{return D.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function _e(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(_e.Cache||ue),n}function Ae(e,t){return e===t||e!=e&&t!=t}function Ie(e){return function(e){return Ve(e)&&Re(e)}(e)&&R.call(e,"callee")&&(!z.call(e,"callee")||M.call(e)==r)}_e.Cache=ue;var De=Array.isArray;function Re(e){return null!=e&&Le(e.length)&&!Me(e)}function Me(e){var t=Be(e)?M.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Le(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Be(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ve(e){return!!e&&"object"==typeof e}function qe(e){return"symbol"==typeof e||Ve(e)&&"[object Symbol]"==M.call(e)}var ze,Ue=O?(ze=O,function(e){return ze(e)}):function(e){return Ve(e)&&Le(e.length)&&!!p[M.call(e)]};function Qe(e){return Re(e)?de(e):function(e){if(!Ce(e))return J(e);var t=[];for(var n in Object(e))R.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}function Je(e){return Re(e)?de(e,!0):function(e){if(!Be(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ce(e),n=[];for(var r in e)("constructor"!=r||!t&&R.call(e,r))&&n.push(r);return n}(e)}function We(e){return e}function He(){return[]}e.exports=function(e,t){return function(e,t){return null==e?{}:function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],l=e[o];n(l,o)&&(a[o]=l)}return a}(e,function(e){return function(e,t,n){var r=t(e);return De(e)?r:w(r,n(e))}(e,Je,Oe)}(e),he(t))}(e,function(e){if("function"!=typeof e)throw new TypeError("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}(he(t)))}}).call(this,r(14)(e))},function(e,t){e.exports=n(375)},function(e,t){e.exports=n(647)},function(e,t){e.exports=n(344)},function(e,t){e.exports=n(246)},function(e,t){e.exports=n(381)},function(e,t){e.exports=n(173)},function(e,t){e.exports=n(111)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var r=n(5),i=()=>{let e=1024,t=768;return"undefined"!=typeof window&&(e=window.innerWidth,t=window.innerHeight),{width:e,height:t}};const a=[320,440,660,800,1080,1280,1440,1670,1920,2308],o=i().width,l=e=>a.find(t=>e<=t)||a[a.length-1],u=e=>e?r.tabletWidth:o;function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}const c=e=>e.charAt(0).toUpperCase()+e.slice(1),d=e=>{if(!e||!e.length)return 1;const t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e.split(":"),2),n=t[0],r=t[1],i=parseFloat(n)/parseFloat(r);return Number.isNaN(i)?1:i},f=(e,t)=>e.replace(/(<([^>]+)>)/gi,t),m=e=>{const t=e;return Object.keys(t).forEach(e=>{if("lineHeight"===e){const n=t[e];"number"==typeof n&&(t[e]="".concat(n,"px"))}}),t},p=(e,t)=>{if(t&&"#"===t.charAt(0)){e.preventDefault();const n=document.getElementById(t.substring(1));if(n){const e=n.getBoundingClientRect().top+window.pageYOffset-(()=>{const e=document.querySelector(".OrientationBar"),t=e?e.offsetHeight:0;return window.innerWidth<1024?110:window.innerWidth<1320?100+t:50+t})();window.scrollTo({top:e,behavior:"smooth"})}}},v=e=>e&&"#"===e.charAt(0)?null:e;var h=n(6),y=n.n(h),g=e=>y()(e,e=>void 0===e||Number.isNaN(e)),k=e=>e?e.startsWith("//")?"https:".concat(e):e:null,b=n(3),S=n.n(b),O=n(1),w=n.n(O),N=(n(2),n(0)),T=n.n(N),C=T.a.div.withConfig({displayName:"tc-view__TcView",componentId:"nuazoi-0"})(["border:0px solid black;box-sizing:border-box;display:flex;flex-direction:column;margin:0px;min-height:0px;min-width:0px;padding:0px;position:relative;z-index:0;"]);function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var x=e=>{let t=e.aspectRatio,n=e.children;const r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,i,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split(":"),2),i=r[0],a=r[1]/i*100;return w.a.createElement(C,{style:{paddingBottom:"".concat(a,"%"),position:"relative"}},w.a.createElement(C,{style:{height:"100%",position:"absolute",width:"100%"}},n))},F=e=>{let t=e.crop169,n=e.crop32,r=e.crop1251,i=e.crop11,a=e.crop45,o=e.crop23;return t||n||r||i||a||o};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const A={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null};function I(e){let t=e.leadAsset;if(!t)return A;const n="Video"===t.__typename,r=F(n?t.posterImage:t);return r?{aspectRatio:r.ratio,displayImage:r,isVideo:n,leadAsset:P(P({},t),{},{isVideo:n})}:A}var D=n(7),R=n.n(D),M=n(8),L=n(9),B=n(10),V=n(11),q=n(12),z=n(13),U=()=>{let e=null,t=null,n=null,r=null,i="unknown";"undefined"!=typeof window&&window.nuk&&(e=window.nuk.graphqlapi.url,t=!!window.nuk.graphqlapi.usePersistedQueries,n=window.nuk.getCookieValue("acs_tnl"),r=window.nuk.getCookieValue("sacs_tnl"),i=window.nuk.graphqlapi.clientName||i);const a={fetch:R.a,headers:{},uri:e};a.headers["content-type"]="application/x-www-form-urlencoded",a.headers.Authorization="Cookie acs_tnl=".concat(n,";sacs_tnl=").concat(r);const o=M.ApolloLink.from([t&&Object(B.createPersistedQueryLink)({useGETForHashedQueries:!0}),Object(L.createHttpLink)(a)].filter(Boolean));return new z.ApolloClient({name:"@times-components/utils (".concat(i,")"),cache:new q.InMemoryCache({fragmentMatcher:V.fragmentMatcher}),link:o})},Q=(e,t)=>e||t;const J=e=>{const t=e.toString(16);return t.length%2?"0".concat(t):t};var W=e=>e&&e.rgba?"#".concat(J(e.rgba.red)).concat(J(e.rgba.green)).concat(J(e.rgba.blue)).toUpperCase():null,H=e=>e&&e.rgba?"rgba(".concat(e.rgba.red,", ").concat(e.rgba.green,", ").concat(e.rgba.blue,", ").concat(e.rgba.alpha,")"):null,$=T.a.div.withConfig({displayName:"hover-icon__HoverIcon",componentId:"sc-1ge5rtz-0"})(["color:",";text-decoration-line:",";&:hover{color:",";text-decoration-line:",";}"],e=>e.colour,e=>e.underline&&"underline",e=>e.hoverColour||e.colour,e=>e.underline&&"none");class G extends O.Component{constructor(e){super(e),this.state={isClient:!1}}componentDidMount(){this.setState({isClient:!0})}render(){const e=this.state.isClient,t=this.props,n=t.client,r=t.server;return e?n&&n():r&&r()}}G.defaultProps={server:null,client:null};var Y=G,K=(e,t,n)=>{if(!e||!t||!n)return e;if(e.includes("?".concat(t))||e.includes("&".concat(t)))return e;const r=e.includes("?")?"&":"?";return"".concat(e).concat(r).concat(t,"=").concat(n)},X=n(4),Z=n.n(X);const ee=["thetimes.co.uk/imageserver","thetimes.co.uk/tto/archive/frame","thetimes.co.uk/article","thetimes.co.uk/assets/optimizely/custom",/thetimes\.co\.uk\/([a-z0-9-]+\/)+[a-z0-9-]+-([bcdfghjklmnpqrstvwxz23567890]{9,11}$)/g],te=[/home.(.*?)thetimes.co.uk/g,/login.(.*?)thetimes.co.uk/g];var ne=(e,t)=>e.includes("thetimes.com")&&[...ee,...te].some(e=>t.match(e))?t.replace(".co.uk",".com"):t,re=e=>{let t=e.data,n=e.initialNumToRender,r=e.RenderItem;if(Array.isArray(t)){const e=t.map((e,t)=>t<n?w.a.createElement("div",{role:"listitem"},r({data:e,key:t})):null);if(e.length)return w.a.createElement("div",{role:"list"},e)}return null},ie=T.a.div.withConfig({displayName:"tc-text__TcText",componentId:"sc-15igzev-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]),ae=T.a.a.withConfig({displayName:"tc-text-link__TcTextLink",componentId:"sc-1voa8bp-0"})(["border:0px solid black;box-sizing:border-box;color:rgb(0,0,0);display:inline;font-size:14px;font-family:sans-serif;margin:0px;padding:0px;white-space:pre-wrap;overflow-wrap:break-word;"]),oe=T.a.div.withConfig({displayName:"tc-scroll-view__TcScrollView",componentId:"sc-1sygsh3-0"})(["height:500px;overflow-y:scroll;white-space:nowrap;"]),le=e=>!(!e||!["times2"].includes(e.toLowerCase()));n.d(t,"acceptedWidths",(function(){return a})),n.d(t,"normaliseWidthForAssetRequestCache",(function(){return l})),n.d(t,"screenWidth",(function(){return u})),n.d(t,"capitalise",(function(){return c})),n.d(t,"ratioTextToFloat",(function(){return d})),n.d(t,"stripTags",(function(){return f})),n.d(t,"checkStylesForUnits",(function(){return m})),n.d(t,"handleOnClickScrollTo",(function(){return p})),n.d(t,"handleHrefScrollTo",(function(){return v})),n.d(t,"clean",(function(){return g})),n.d(t,"addMissingProtocol",(function(){return k})),n.d(t,"getSectionNameForAnalytics",(function(){return S.a})),n.d(t,"AspectRatioContainer",(function(){return x})),n.d(t,"getLeadAsset",(function(){return I})),n.d(t,"makeClient",(function(){return U})),n.d(t,"getStandardTemplateCrop",(function(){return F})),n.d(t,"getDimensions",(function(){return i})),n.d(t,"getHeadline",(function(){return Q})),n.d(t,"gqlRgbaToHex",(function(){return W})),n.d(t,"gqlRgbaToStyle",(function(){return H})),n.d(t,"HoverIcon",(function(){return $})),n.d(t,"ServerClientRender",(function(){return Y})),n.d(t,"appendToImageURL",(function(){return K})),n.d(t,"getSectionFromTiles",(function(){return Z.a})),n.d(t,"getDomainSpecificUrl",(function(){return ne})),n.d(t,"TcView",(function(){return C})),n.d(t,"TcFlatList",(function(){return re})),n.d(t,"TcText",(function(){return ie})),n.d(t,"TcTextLink",(function(){return ae})),n.d(t,"TcScrollView",(function(){return oe})),n.d(t,"CanShowPuzzleSidebar",(function(){return le}))}])}).call(this,n(24))},111:function(e,t,n){"use strict";n.r(t);var r,i=n(2),a=n(3),o=n(4),l=n(42),u=n(346),s=n(13),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inFlightRequestObservables=new Map,t.subscribers=new Map,t}return Object(i.c)(t,e),t.prototype.request=function(e,t){var n=this;if(e.getContext().forceFetch)return t(e);var r=e.toKey();if(!this.inFlightRequestObservables.get(r)){var i,a=t(e),l=new o.a((function(e){return n.subscribers.has(r)||n.subscribers.set(r,new Set),n.subscribers.get(r).add(e),i||(i=a.subscribe({next:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&(t.forEach((function(t){return t.next(e)})),t.forEach((function(e){return e.complete()})))},error:function(e){var t=n.subscribers.get(r);n.subscribers.delete(r),n.inFlightRequestObservables.delete(r),t&&t.forEach((function(t){return t.error(e)}))}})),function(){n.subscribers.has(r)&&(n.subscribers.get(r).delete(e),0===n.subscribers.get(r).size&&(n.inFlightRequestObservables.delete(r),i&&i.unsubscribe()))}}));this.inFlightRequestObservables.set(r,l)}return this.inFlightRequestObservables.get(r)},t}(l.a),d=n(17);function f(e){return e<7}n.d(t,"ApolloClient",(function(){return N})),n.d(t,"ObservableQuery",(function(){return y})),n.d(t,"NetworkStatus",(function(){return r})),n.d(t,"isApolloError",(function(){return p})),n.d(t,"ApolloError",(function(){return h})),n.d(t,"FetchType",(function(){return v})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}));var m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.c)(t,e),t.prototype[u.a]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(o.a);function p(e){return e.hasOwnProperty("graphQLErrors")}var v,h=function(e){function t(n){var r,i,a=n.graphQLErrors,o=n.networkError,l=n.errorMessage,u=n.extraInfo,s=e.call(this,l)||this;return s.graphQLErrors=a||[],s.networkError=o||null,s.message=l||(r=s,i="",Array.isArray(r.graphQLErrors)&&0!==r.graphQLErrors.length&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";i+="GraphQL error: "+t+"\n"})),r.networkError&&(i+="Network error: "+r.networkError.message+"\n"),i=i.replace(/\n$/,"")),s.extraInfo=u,s.__proto__=t.prototype,s}return Object(i.c)(t,e),t}(Error);!function(e){e[e.normal=1]="normal",e[e.refetch=2]="refetch",e[e.poll=3]="poll"}(v||(v={}));var y=function(e){function t(t){var n=t.queryManager,r=t.options,i=t.shouldSubscribe,a=void 0===i||i,o=e.call(this,(function(e){return o.onSubscribe(e)}))||this;return o.isTornDown=!1,o.options=r,o.variables=r.variables||{},o.queryId=n.generateQueryId(),o.shouldSubscribe=a,o.queryManager=n,o.observers=[],o.subscriptionHandles=[],o}return Object(i.c)(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r,i={next:function(n){t(n),e.observers.some((function(e){return e!==i}))||e.queryManager.removeQuery(e.queryId),setTimeout((function(){r.unsubscribe()}),0)},error:function(e){n(e)}};r=e.subscribe(i)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown)return{data:this.lastError?void 0:this.lastResult?this.lastResult.data:void 0,error:this.lastError,loading:!1,networkStatus:r.error};var e,t,n=this.queryManager.queryStore.get(this.queryId);if(e=n,void 0===(t=this.options.errorPolicy)&&(t="none"),e&&(e.graphQLErrors&&e.graphQLErrors.length>0&&"none"===t||e.networkError))return{data:void 0,loading:!1,networkStatus:n.networkStatus,error:new h({graphQLErrors:n.graphQLErrors,networkError:n.networkError})};n&&n.variables&&(this.options.variables=Object.assign({},this.options.variables,n.variables));var o,l=this.queryManager.getCurrentQueryResult(this),u=l.data,s=l.partial,c=!n||n.networkStatus===r.loading,d="network-only"===this.options.fetchPolicy&&c||s&&"cache-only"!==this.options.fetchPolicy,m={data:u,loading:f(o=n?n.networkStatus:d?r.loading:r.ready),networkStatus:o};return n&&n.graphQLErrors&&"all"===this.options.errorPolicy&&(m.errors=n.graphQLErrors),s||(this.lastResult=Object(i.a)({},m,{stale:!1}),this.lastResultSnapshot=Object(a.d)(this.lastResult)),Object(i.a)({},m,{partial:s})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&Object(a.p)(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;if("cache-only"===t)return Promise.reject(new Error("cache-only fetchPolicy option should not be used together with query refetch."));Object(a.p)(this.variables,e)||(this.variables=Object.assign({},this.variables,e)),Object(a.p)(this.options.variables,this.variables)||(this.options.variables=Object.assign({},this.options.variables,this.variables));var n="network-only"===t||"no-cache"===t,r=Object(i.a)({},this.options,{fetchPolicy:n?t:"network-only"});return this.queryManager.fetchQuery(this.queryId,r,v.refetch).then((function(e){return e}))},t.prototype.fetchMore=function(e){var t,n=this;return Object(s.b)(e.updateQuery),Promise.resolve().then((function(){var r=n.queryManager.generateQueryId();return(t=e.query?e:Object(i.a)({},n.options,e,{variables:Object.assign({},n.variables,e.variables)})).fetchPolicy="network-only",n.queryManager.fetchQuery(r,t,v.normal,n.queryId)})).then((function(r){return n.updateQuery((function(n){return e.updateQuery(n,{fetchMoreResult:r.data,variables:t.variables})})),r}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){e.updateQuery&&t.updateQuery((function(t,r){var i=r.variables;return e.updateQuery(t,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):console.error("Unhandled GraphQL subscription error",t)}});return this.subscriptionHandles.push(n),function(){var e=t.subscriptionHandles.indexOf(n);e>=0&&(t.subscriptionHandles.splice(e,1),n.unsubscribe())}},t.prototype.setOptions=function(e){var t=this.options;this.options=Object.assign({},this.options,e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n="network-only"!==t.fetchPolicy&&"network-only"===e.fetchPolicy||"cache-only"===t.fetchPolicy&&"cache-only"!==e.fetchPolicy||"standby"===t.fetchPolicy&&"standby"!==e.fetchPolicy||!1;return this.setVariables(this.options.variables,n,e.fetchResults)},t.prototype.setVariables=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1;var r=e||this.variables;return Object(a.p)(r,this.variables)&&!t?0!==this.observers.length&&n?this.result():new Promise((function(e){return e()})):(this.variables=r,this.options.variables=r,0===this.observers.length?new Promise((function(e){return e()})):this.queryManager.fetchQuery(this.queryId,Object(i.a)({},this.options,{variables:this.variables})).then((function(e){return e})))},t.prototype.updateQuery=function(e){var t=this.queryManager.getQueryWithPreviousResult(this.queryId),n=t.previousResult,r=t.variables,i=t.document,o=Object(a.y)((function(){return e(n,{variables:r})}));o&&(this.queryManager.dataStore.markUpdateQueryResult(i,r,o),this.queryManager.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){g(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.onSubscribe=function(e){var t=this;return e._subscription&&e._subscription._observer&&!e._subscription._observer.error&&(e._subscription._observer.error=function(e){console.error("Unhandled error",e.message,e.stack)}),this.observers.push(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),1===this.observers.length&&this.setUpQuery(),function(){t.observers=t.observers.filter((function(t){return t!==e})),0===t.observers.length&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this;this.shouldSubscribe&&this.queryManager.addObservableQuery(this.queryId,this),this.options.pollInterval&&(g(this),this.queryManager.startPollingQuery(this.options,this.queryId));var t={next:function(t){e.lastResult=t,e.lastResultSnapshot=Object(a.d)(t),e.observers.forEach((function(e){return e.next&&e.next(t)}))},error:function(t){e.lastError=t,e.observers.forEach((function(e){return e.error&&e.error(t)}))}};this.queryManager.startQuery(this.queryId,this.options,this.queryManager.queryListenerForObserver(this.queryId,this.options,t))},t.prototype.tearDownQuery=function(){this.isTornDown=!0,this.queryManager.stopPollingQuery(this.queryId),this.subscriptionHandles.forEach((function(e){return e.unsubscribe()})),this.subscriptionHandles=[],this.queryManager.removeObservableQuery(this.queryId),this.queryManager.stopQuery(this.queryId),this.observers=[]},t}(m);function g(e){var t=e.options.fetchPolicy;Object(s.b)("cache-first"!==t&&"cache-only"!==t)}var k=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),b=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];if(t&&t.document!==e.document&&!Object(a.p)(t.document,e.document))throw new s.a;var n,i=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==r.loading&&(Object(a.p)(t.variables,e.variables)||(i=!0,o=t.variables)),n=i?r.setVariables:e.isPoll?r.poll:e.isRefetch?r.refetch:r.loading;var l=[];t&&t.graphQLErrors&&(l=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:l,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=r.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=t.errors&&t.errors.length?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=r.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=r.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=r.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].previousVariables=null,this.store[e].networkStatus=t?r.ready:r.loading)},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;this.store=Object.keys(this.store).filter((function(t){return e.indexOf(t)>-1})).reduce((function(e,n){return e[n]=Object(i.a)({},t.store[n],{networkStatus:r.loading}),e}),{})},e}();var S=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(a.s)(t.resolvers,e)})):this.resolvers=Object(a.s)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,a=e.variables,o=e.onlyRunForcedResolvers,l=void 0!==o&&o;return Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,a,this.fragmentMatcher,l).then((function(e){return Object(i.a)({},n,{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(a.o)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?Object(a.u)(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return Object(i.a)({},e,{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);Object(s.b)(!1)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),Object(i.b)(this,void 0,void 0,(function(){return Object(i.d)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return Object(i.a)({},t,e.exportedVariables)}))]:[2,Object(i.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(d.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return d.BREAK}}}),t},e.prototype.shouldForceResolver=function(e){return this.shouldForceResolvers(e)},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(a.c)(e),variables:t,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,l){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===l&&(l=!1),Object(i.b)(this,void 0,void 0,(function(){var u,s,c,d,f,m,p,v,h;return Object(i.d)(this,(function(y){var g;return u=Object(a.h)(e),s=Object(a.g)(e),c=Object(a.e)(s),d=u.operation,f=d?(g=d).charAt(0).toUpperCase()+g.slice(1):"Query",p=(m=this).cache,v=m.client,h={fragmentMap:c,context:Object(i.a)({},n,{cache:p,client:v}),variables:r,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:l},[2,this.resolveSelectionSet(u.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,c,d=this;return Object(i.d)(this,(function(f){return r=n.fragmentMap,o=n.context,l=n.variables,u=[t],c=function(e){return Object(i.b)(d,void 0,void 0,(function(){var c,d;return Object(i.d)(this,(function(i){return Object(a.x)(e,l)?Object(a.q)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&u.push(((n={})[Object(a.w)(e)]=t,n))}))]:(Object(a.r)(e)?c=e:(c=r[e.name.value],Object(s.b)(c)),c&&c.typeCondition&&(d=c.typeCondition.name.value,n.fragmentMatcher(t,d,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return Object(a.t)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n){return Object(i.b)(this,void 0,void 0,(function(){var r,o,l,u,s,c,d,f,m,p=this;return Object(i.d)(this,(function(i){return r=n.variables,o=e.name.value,l=Object(a.w)(e),u=o!==l,s=t[l]||t[o],c=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolver(e)||(d=t.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(m=f[u?o:l])&&(c=Promise.resolve(m(t,Object(a.a)(e,r),n.context,{field:e})))),[2,c.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),O=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,i=e.store,a=e.onBroadcast,o=void 0===a?function(){}:a,u=e.ssrMode,s=void 0!==u&&u,d=e.clientAwareness,f=void 0===d?{}:d,m=e.localState;this.mutationStore=new k,this.queryStore=new b,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.queryIdsByName={},this.pollingInfoByQueryId=new Map,this.nextPoll=null,this.link=t,this.deduplicator=l.a.from([new c,t]),this.queryDeduplication=r,this.dataStore=i,this.onBroadcast=o,this.clientAwareness=f,this.localState=m||new S({cache:i.getCache()}),this.ssrMode=s}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new Error("QueryManager stopped while query was in flight"))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,o=e.updateQueries,u=e.refetchQueries,c=void 0===u?[]:u,d=e.awaitRefetchQueries,f=void 0!==d&&d,p=e.update,v=e.errorPolicy,y=void 0===v?"none":v,g=e.fetchPolicy,k=e.context,b=void 0===k?{}:k;return Object(i.b)(this,void 0,void 0,(function(){var e,u,d,v,k,S=this;return Object(i.d)(this,(function(O){switch(O.label){case 0:return Object(s.b)(t),Object(s.b)(!g||"no-cache"===g),e=this.generateQueryId(),u=this.dataStore.getCache(),t=u.transformDocument(t),n=Object(a.b)({},Object(a.f)(Object(a.i)(t)),n),this.setQuery(e,(function(){return{document:t}})),d=function(){var e={};return o&&Object.keys(o).forEach((function(t){return(S.queryIdsByName[t]||[]).forEach((function(n){e[n]={updater:o[t],query:S.queryStore.get(n)}}))})),e},Object(a.n)(t)?[4,this.localState.addExportedVariables(t,n,b)]:[3,2];case 1:return k=O.sent(),[3,3];case 2:k=n,O.label=3;case 3:return v=k,this.mutationStore.initMutation(e,t,v),this.dataStore.markMutationInit({mutationId:e,document:t,variables:v||{},updateQueries:d(),update:p,optimisticResponse:r}),this.broadcastQueries(),[2,new Promise((function(n,o){var u,s,k=S.buildOperationForLink(t,v,Object(i.a)({},b,{optimisticResponse:r})),O=function(){if(s&&S.mutationStore.markMutationError(e,s),S.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),S.broadcastQueries(),s)return Promise.reject(s);"function"==typeof c&&(c=c(u));for(var t=[],n=0,i=c;n<i.length;n++){var o=i[n];if("string"!=typeof o){var l={query:o.query,variables:o.variables,fetchPolicy:"network-only"};o.context&&(l.context=o.context),t.push(S.query(l))}else{var d=S.refetchQueryByName(o);d&&t.push(d)}}return Promise.all(f?t:[]).then((function(){return S.setQuery(e,(function(){return{document:null}})),"ignore"===y&&u&&Object(a.m)(u)&&delete u.errors,u}))},w=S.localState.clientQuery(k.query),N=S.localState.serverQuery(k.query);N&&(k.query=N);var T=N?Object(l.b)(S.link,k):m.of({data:{}}),C=S,j=!1,x=!1;T.subscribe({next:function(r){return Object(i.b)(S,void 0,void 0,(function(){var l,c,f;return Object(i.d)(this,(function(i){switch(i.label){case 0:return x=!0,Object(a.m)(r)&&"none"===y?(x=!1,s=new h({graphQLErrors:r.errors}),[2]):(C.mutationStore.markMutationResult(e),l=r,c=k.context,f=k.variables,w&&Object(a.o)(["client"],w)?[4,C.localState.runResolvers({document:w,remoteResult:r,context:c,variables:f}).catch((function(e){return x=!1,o(e),r}))]:[3,2]);case 1:l=i.sent(),i.label=2;case 2:return"no-cache"!==g&&C.dataStore.markMutationResult({mutationId:e,result:l,document:t,variables:v||{},updateQueries:d(),update:p}),u=l,x=!1,j&&O().then(n,o),[2]}}))}))},error:function(t){C.mutationStore.markMutationError(e,t),C.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),C.broadcastQueries(),C.setQuery(e,(function(){return{document:null}})),o(new h({networkError:t}))},complete:function(){x||O().then(n,o),j=!0}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return Object(i.b)(this,void 0,void 0,(function(){var o,l,u,s,c,d,f,m,y,g,k,b,S,O,w,N,T,C,j,x,F,E,P=this;return Object(i.d)(this,(function(_){switch(_.label){case 0:return o=t.variables,l=void 0===o?{}:o,u=t.metadata,s=void 0===u?null:u,c=t.fetchPolicy,d=void 0===c?"cache-first":c,f=t.context,m=void 0===f?{}:f,y=this.dataStore.getCache(),g=y.transformDocument(t.query),Object(a.n)(g)?[4,this.localState.addExportedVariables(g,l,m)]:[3,2];case 1:return b=_.sent(),[3,3];case 2:b=l,_.label=3;case 3:if(k=b,S=Object(i.a)({},t,{variables:k}),w="network-only"===d||"no-cache"===d,n!==v.refetch&&"network-only"!==d&&"no-cache"!==d&&(N=this.dataStore.getCache().diff({query:g,variables:k,returnPartialData:!0,optimistic:!1}),T=N.complete,C=N.result,w=!T||"cache-and-network"===d,O=C),j=w&&"cache-only"!==d&&"standby"!==d,Object(a.o)(["live"],g)&&(j=!0),x=this.generateRequestId(),F=this.updateQueryWatch(e,g,S),this.setQuery(e,(function(){return{document:g,lastRequestId:x,invalidated:!0,cancel:F}})),this.invalidate(!0,r),this.queryStore.initQuery({queryId:e,document:g,storePreviousVariables:j,variables:k,isPoll:n===v.poll,isRefetch:n===v.refetch,metadata:s,fetchMoreForQueryId:r}),this.broadcastQueries(),(!j||"cache-and-network"===d)&&(this.queryStore.markQueryResultClient(e,!j),this.invalidate(!0,e,r),this.broadcastQueries(this.localState.shouldForceResolvers(g))),j){if(E=this.fetchRequest({requestId:x,queryId:e,document:g,options:S,fetchMoreForQueryId:r}).catch((function(t){if(p(t))throw t;var n=P.getQuery(e).lastRequestId;throw x>=(n||1)&&(P.queryStore.markQueryError(e,t,r),P.invalidate(!0,e,r),P.broadcastQueries()),new h({networkError:t})})),"cache-and-network"!==d)return[2,E];E.catch((function(){}))}return[2,Promise.resolve({data:O})]}}))}))},e.prototype.queryListenerForObserver=function(e,t,n){var r=this,a=!1;return function(o,l,u){return Object(i.b)(r,void 0,void 0,(function(){var r,s,c,d,m,p,v,y,g,k,b,S,O,w,N,T,C,j,x,F;return Object(i.d)(this,(function(E){switch(E.label){case 0:if(this.invalidate(!1,e),!o)return[2];if(r=this.getQuery(e).observableQuery,"standby"===(s=r?r.options.fetchPolicy:t.fetchPolicy))return[2];if(c=r?r.options.errorPolicy:t.errorPolicy,d=r?r.getLastResult():null,m=r?r.getLastError():null,p=!l&&null!=o.previousVariables||"cache-only"===s||"cache-and-network"===s,v=Boolean(d&&o.networkStatus!==d.networkStatus),y=c&&(m&&m.graphQLErrors)!==o.graphQLErrors&&"none"!==c,!(!f(o.networkStatus)||v&&t.notifyOnNetworkStatusChange||p))return[3,8];if((!c||"none"===c)&&o.graphQLErrors&&o.graphQLErrors.length>0||o.networkError){if(g=new h({graphQLErrors:o.graphQLErrors,networkError:o.networkError}),a=!0,n.error)try{n.error(g)}catch(e){setTimeout((function(){throw e}),0)}else setTimeout((function(){throw g}),0);return[2]}E.label=1;case 1:if(E.trys.push([1,7,,8]),k=void 0,b=void 0,l?("no-cache"!==s&&"network-only"!==s&&this.setQuery(e,(function(){return{newData:null}})),k=l.result,b=!l.complete||!1):d&&d.data&&!y?(k=d.data,b=!1):(S=this.getQuery(e).document,O=this.dataStore.getCache().diff({query:S,variables:o.previousVariables||o.variables,optimistic:!0}),k=O.result,b=!O.complete),w=void 0,w=b&&"cache-only"!==s?{data:d&&d.data,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!0}:{data:k,loading:f(o.networkStatus),networkStatus:o.networkStatus,stale:!1},"all"===c&&o.graphQLErrors&&o.graphQLErrors.length>0&&(w.errors=o.graphQLErrors),!n.next)return[3,6];if(!a&&r&&!r.isDifferentFromLastResult(w))return[3,6];E.label=2;case 2:return E.trys.push([2,5,,6]),u?(N=t.query,T=t.variables,C=t.context,[4,this.localState.runResolvers({document:N,remoteResult:w,context:C,variables:T,onlyRunForcedResolvers:u})]):[3,4];case 3:j=E.sent(),w=Object(i.a)({},w,j),E.label=4;case 4:return n.next(w),[3,6];case 5:return x=E.sent(),setTimeout((function(){throw x}),0),[3,6];case 6:return a=!1,[3,8];case 7:return F=E.sent(),a=!0,n.error&&n.error(new h({networkError:F})),[2];case 8:return[2]}}))}))}},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),Object(s.b)("standby"!==e.fetchPolicy);var n=Object(a.l)(e.query);if(n.variableDefinitions&&n.variableDefinitions.length){var r=Object(a.f)(n);e.variables=Object(a.b)({},r,e.variables)}void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var o=Object(i.a)({},e);return new y({queryManager:this,options:o,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return Object(s.b)(e.query),Object(s.b)("Document"===e.query.kind),Object(s.b)(!e.returnPartialData),Object(s.b)(!e.pollInterval),new Promise((function(n,r){var i=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+i.queryId,r),i.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+i.queryId)}))}))},e.prototype.generateQueryId=function(){var e=this.idCounter.toString();return this.idCounter++,e},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(!0,e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){var n=e.listeners;return{listeners:(void 0===n?[]:n).concat([t]),invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,i=this.getQuery(e).cancel;i&&i();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var i=n.getLastResult();i&&(t=i.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}));var n=Object(a.l)(t.options.query);if(n.name&&n.name.value){var r=n.name.value;this.queryIdsByName[r]=this.queryIdsByName[r]||[],this.queryIdsByName[r].push(t.queryId)}},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e),n=t.observableQuery,r=t.cancel;if(r&&r(),n){var i=Object(a.l)(n.options.query),o=i.name?i.name.value:null;this.setQuery(e,(function(){return{observableQuery:null}})),o&&(this.queryIdsByName[o]=this.queryIdsByName[o].filter((function(e){return!(n.queryId===e)})))}},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new Error("Store reset while query was in flight(not completed in link chain)"))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this.getObservableQueryPromises(e);return this.broadcastQueries(),Promise.all(t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t,n=this,r=e.query,o=!(e.fetchPolicy&&"no-cache"===e.fetchPolicy),u=this.dataStore.getCache().transformDocument(r),s=Object(a.b)({},Object(a.f)(Object(a.j)(r)),e.variables),c=s,d=[],f=this.localState.clientQuery(u);return new m((function(e){if(d.push(e),1===d.length){var r=0,p=!1,v={next:function(e){return Object(i.b)(n,void 0,void 0,(function(){var t;return Object(i.d)(this,(function(n){switch(n.label){case 0:return r+=1,t=e,f&&Object(a.o)(["client"],f)?[4,this.localState.runResolvers({document:f,remoteResult:e,context:{},variables:c})]:[3,2];case 1:t=n.sent(),n.label=2;case 2:return o&&(this.dataStore.markSubscriptionResult(t,u,c),this.broadcastQueries()),d.forEach((function(e){Object(a.m)(t)&&e.error?e.error(new h({graphQLErrors:t.errors})):e.next&&e.next(t),r-=1})),0===r&&p&&v.complete(),[2]}}))}))},error:function(e){d.forEach((function(t){t.error&&t.error(e)}))},complete:function(){0===r&&d.forEach((function(e){e.complete&&e.complete()})),p=!0}};Object(i.b)(n,void 0,void 0,(function(){var e,n,r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return Object(a.n)(u)?[4,this.localState.addExportedVariables(u,s)]:[3,2];case 1:return n=i.sent(),[3,3];case 2:n=s,i.label=3;case 3:return e=n,(r=this.localState.serverQuery(u))?(o=this.buildOperationForLink(r,e),t=Object(l.b)(this.link,o).subscribe(v)):t=m.of({data:{}}).subscribe(v),[2]}}))}))}return function(){0===(d=d.filter((function(t){return t!==e}))).length&&t&&t.unsubscribe()}}))},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t=this.getQuery(e).subscriptions;this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),t.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,i=n.query,a=n.fetchPolicy,o=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===a||"network-only"===a)return{data:void 0,partial:!1};try{return{data:this.dataStore.getCache().read({query:i,variables:r,previousResult:o?o.data:void 0,optimistic:t})||void 0,partial:!1}}catch(e){return{data:void 0,partial:!0}}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;Object(s.b)(n),t=n}else t=e;var r=t.options,i=r.variables,a=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:i,document:a}},e.prototype.broadcastQueries=function(e){var t=this;void 0===e&&(e=!1),this.onBroadcast(),this.queries.forEach((function(n,r){n.invalidated&&n.listeners&&n.listeners.filter((function(e){return!!e})).forEach((function(i){i(t.queryStore.get(r),n.newData,e)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableQueryPromises=function(e){var t=this,n=[];return this.queries.forEach((function(r,i){var a=r.observableQuery;if(a){var o=a.options.fetchPolicy;a.resetLastResults(),"cache-only"===o||!e&&"standby"===o||n.push(a.refetch()),t.setQuery(i,(function(){return{newData:null}})),t.invalidate(!0,i)}})),n},e.prototype.fetchRequest=function(e){var t,n,o=this,u=e.requestId,s=e.queryId,c=e.document,d=e.options,f=e.fetchMoreForQueryId,p=d.variables,v=d.context,y=d.errorPolicy,g=void 0===y?"none":y,k=d.fetchPolicy;return new Promise((function(e,d){var y,b={},S=o.localState.clientQuery(c),O=o.localState.serverQuery(c);if(O){var w=o.buildOperationForLink(O,p,Object(i.a)({},v,{forceFetch:!o.queryDeduplication}));b=w.context,y=Object(l.b)(o.deduplicator,w)}else b=o.prepareContext(v),y=m.of({data:{}});o.fetchQueryRejectFns.set("fetchRequest:"+s,d);var N=!1,T=!0,C={next:function(e){return Object(i.b)(o,void 0,void 0,(function(){var r,o;return Object(i.d)(this,(function(i){switch(i.label){case 0:return T=!0,r=e,o=this.getQuery(s).lastRequestId,u>=(o||1)?S&&Object(a.o)(["client"],S)?[4,this.localState.runResolvers({document:S,remoteResult:e,context:b,variables:p}).catch((function(t){return T=!1,d(t),e}))]:[3,2]:[3,3];case 1:r=i.sent(),i.label=2;case 2:if("no-cache"!==k)try{this.dataStore.markQueryResult(r,c,p,f,"ignore"===g||"all"===g)}catch(e){return T=!1,d(e),[2]}else this.setQuery(s,(function(){return{newData:{result:r.data,complete:!0}}}));this.queryStore.markQueryResult(s,r,f),this.invalidate(!0,s,f),this.broadcastQueries(),i.label=3;case 3:if(r.errors&&"none"===g)return T=!1,d(new h({graphQLErrors:r.errors})),[2];if("all"===g&&(n=r.errors),f||"no-cache"===k)t=r.data;else try{t=this.dataStore.getCache().read({variables:p,query:c,optimistic:!1})}catch(e){}return T=!1,N&&C.complete(),[2]}}))}))},error:function(e){o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==j}))}})),d(e)},complete:function(){T||(o.fetchQueryRejectFns.delete("fetchRequest:"+s),o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.filter((function(e){return e!==j}))}})),e({data:t,errors:n,loading:!1,networkStatus:r.ready,stale:!1})),N=!0}},j=y.subscribe(C);o.setQuery(s,(function(e){return{subscriptions:e.subscriptions.concat([j])}}))})).catch((function(e){throw o.fetchQueryRejectFns.delete("fetchRequest:"+s),e}))},e.prototype.refetchQueryByName=function(e){var t=this,n=this.queryIdsByName[e];if(void 0!==n)return Promise.all(n.map((function(e){return t.getQuery(e).observableQuery})).filter((function(e){return!!e})).map((function(e){return e.refetch()})))},e.prototype.generateRequestId=function(){var e=this.idCounter;return this.idCounter++,e},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:[],invalidated:!1,document:null,newData:null,lastRequestId:null,observableQuery:null,subscriptions:[]}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=Object(i.a)({},n,t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t,n){t&&this.setQuery(t,(function(){return{invalidated:e}})),n&&this.setQuery(n,(function(){return{invalidated:e}}))},e.prototype.buildOperationForLink=function(e,t,n){var r=this.dataStore.getCache();return{query:r.transformForLink?r.transformForLink(e):e,variables:t,operationName:Object(a.k)(e)||void 0,context:this.prepareContext(n)}},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(i.a)({},t,{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==r.ready&&t.networkStatus!==r.error},e.prototype.startPollingQuery=function(e,t,n){var r=e.pollInterval;return Object(s.b)(r),this.ssrMode||(this.pollingInfoByQueryId.set(t,{interval:r,lastPollTimeMs:Date.now()-10,options:Object(i.a)({},e,{fetchPolicy:"network-only"})}),n&&this.addQueryListener(t,n),this.schedulePoll(r)),t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e.prototype.schedulePoll=function(e){var t=this,n=Date.now();if(this.nextPoll){if(!(e<this.nextPoll.time-n))return;clearTimeout(this.nextPoll.timeout)}this.nextPoll={time:n+e,timeout:setTimeout((function(){t.nextPoll=null;var e=1/0;t.pollingInfoByQueryId.forEach((function(n,r){if(n.interval<e&&(e=n.interval),!t.checkInFlight(r)&&Date.now()-n.lastPollTimeMs>=n.interval){var i=function(){n.lastPollTimeMs=Date.now()};t.fetchQuery(r,n.options,v.poll).then(i,i)}})),isFinite(e)&&t.schedulePoll(e)}),e)}},e}(),w=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,i){void 0===i&&(i=!1);var o=!Object(a.m)(e);i&&Object(a.m)(e)&&e.data&&(o=!0),!r&&o&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){Object(a.m)(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t=this;if(e.optimisticResponse){var n;n="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse;this.cache.recordOptimisticTransaction((function(r){var i=t.cache;t.cache=r;try{t.markMutationResult({mutationId:e.mutationId,result:{data:n},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{t.cache=i}}),e.mutationId)}},e.prototype.markMutationResult=function(e){var t=this;if(!Object(a.m)(e.result)){var n=[];n.push({result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e.updateQueries&&Object.keys(e.updateQueries).filter((function(t){return e.updateQueries[t]})).forEach((function(r){var i=e.updateQueries[r],o=i.query,l=i.updater,u=t.cache.diff({query:o.document,variables:o.variables,returnPartialData:!0,optimistic:!1}),s=u.result;if(u.complete){var c=Object(a.y)((function(){return l(s,{mutationResult:e.result,queryName:Object(a.k)(o.document)||void 0,queryVariables:o.variables})}));c&&n.push({result:c,dataId:"ROOT_QUERY",query:o.document,variables:o.variables})}})),this.cache.performTransaction((function(e){n.forEach((function(t){return e.write(t)}))}));var r=e.update;r&&this.cache.performTransaction((function(t){Object(a.y)((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),N=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],this.clientAwareness={};var n=e.cache,r=e.ssrMode,i=void 0!==r&&r,o=e.ssrForceFetchDelay,u=void 0===o?0:o,c=e.connectToDevTools,d=e.queryDeduplication,f=void 0===d||d,m=e.defaultOptions,p=e.resolvers,v=e.typeDefs,h=e.fragmentMatcher,y=e.name,g=e.version,k=e.link;if(!k&&p&&(k=l.a.empty()),!k||!n)throw new s.a;var b=new Map,O=new l.a((function(e,t){var n=b.get(e.query);return n||(n=Object(a.v)(e.query),b.set(e.query,n),b.set(n,n)),e.query=n,t(e)}));this.link=O.concat(k),this.cache=n,this.store=new w(n),this.disableNetworkFetches=i||u>0,this.queryDeduplication=f,this.ssrMode=i,this.defaultOptions=m||{},this.typeDefs=v,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==c&&(c&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.5.1",y&&(this.clientAwareness.name=y),g&&(this.clientAwareness.version=g),this.localState=new S({cache:n,client:this,resolvers:p,fragmentMatcher:h})}return e.prototype.stop=function(){this.queryManager&&this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(i.a)({},this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(i.a)({},this.defaultOptions.query,e)),Object(s.b)("cache-and-network"!==e.fetchPolicy),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(i.a)({},e,{fetchPolicy:"cache-first"})),this.initQueryManager().query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(i.a)({},this.defaultOptions.mutate,e)),this.initQueryManager().mutate(e)},e.prototype.subscribe=function(e){return this.initQueryManager().startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.initProxy().readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.initProxy().readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.initProxy().writeQuery(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.initProxy().writeFragment(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.initProxy().writeData(e);return this.initQueryManager().broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Object(l.b)(this.link,e)},e.prototype.initQueryManager=function(){var e=this;return this.queryManager||(this.queryManager=new O({link:this.link,store:this.store,queryDeduplication:this.queryDeduplication,ssrMode:this.ssrMode,clientAwareness:this.clientAwareness,localState:this.localState,onBroadcast:function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager?e.queryManager.queryStore.getStore():{},mutations:e.queryManager?e.queryManager.mutationStore.getStore():{}},dataWithOptimisticResults:e.cache.extract(!0)})}})),this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager?e.queryManager.clearStore():Promise.resolve(null)})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.queryManager&&e.queryManager.reFetchObservableQueries?e.queryManager.reFetchObservableQueries():Promise.resolve(null)}))},e.prototype.clearStore=function(){var e=this,t=this.queryManager;return Promise.resolve().then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))})).then((function(){return t?t.clearStore():Promise.resolve(null)}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager?this.queryManager.reFetchObservableQueries(e):Promise.resolve(null)},e.prototype.extract=function(e){return this.initProxy().extract(e)},e.prototype.restore=function(e){return this.initProxy().restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.initProxy=function(){return this.proxy||(this.initQueryManager(),this.proxy=this.cache),this.proxy},e}();t.default=N},114:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},115:function(e,t,n){(function(t){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=n(248)},function(e,t){e.exports=n(1)},function(e,n,r){(function(e){var r="[object Arguments]",i="[object Map]",a="[object Object]",o="[object Set]",l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s[r]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s[i]=s["[object Number]"]=s[a]=s["[object RegExp]"]=s[o]=s["[object String]"]=s["[object WeakMap]"]=!1;var c="object"==typeof t&&t&&t.Object===Object&&t,d="object"==typeof self&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),m=n&&!n.nodeType&&n,p=m&&"object"==typeof e&&e&&!e.nodeType&&e,v=p&&p.exports===m&&c.process,h=function(){try{return v&&v.binding("util")}catch(e){}}(),y=h&&h.isTypedArray;function g(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function k(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function b(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function S(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var O,w,N,T=Array.prototype,C=Function.prototype,j=Object.prototype,x=f["__core-js_shared__"],F=(O=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",E=C.toString,P=j.hasOwnProperty,_=j.toString,A=RegExp("^"+E.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=f.Symbol,D=f.Uint8Array,R=j.propertyIsEnumerable,M=T.splice,L=(w=Object.keys,N=Object,function(e){return w(N(e))}),B=le(f,"DataView"),V=le(f,"Map"),q=le(f,"Promise"),z=le(f,"Set"),U=le(f,"WeakMap"),Q=le(Object,"create"),J=ce(B),W=ce(V),H=ce(q),$=ce(z),G=ce(U),Y=I?I.prototype:void 0,K=Y?Y.valueOf:void 0;function X(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(e){var t=-1,n=e?e.length:0;for(this.__data__=new ee;++t<n;)this.add(e[t])}function ne(e){this.__data__=new Z(e)}function re(e,t){for(var n=e.length;n--;)if(de(e[n][0],t))return n;return-1}function ie(e,t,n,l,u){return e===t||(null==e||null==t||!he(e)&&!ye(t)?e!=e&&t!=t:function(e,t,n,l,u,s){var c=fe(e),d=fe(t),f="[object Array]",m="[object Array]";c||(f=(f=ue(e))==r?a:f),d||(m=(m=ue(t))==r?a:m);var p=f==a&&!k(e),v=m==a&&!k(t),h=f==m;if(h&&!p)return s||(s=new ne),c||ge(e)?ae(e,t,n,l,u,s):function(e,t,n,r,a,l,u){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!r(new D(e),new D(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return de(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var s=b;case o:var c=2&l;if(s||(s=S),e.size!=t.size&&!c)return!1;var d=u.get(e);if(d)return d==t;l|=1,u.set(e,t);var f=ae(s(e),s(t),r,a,l,u);return u.delete(e),f;case"[object Symbol]":if(K)return K.call(e)==K.call(t)}return!1}(e,t,f,n,l,u,s);if(!(2&u)){var y=p&&P.call(e,"__wrapped__"),g=v&&P.call(t,"__wrapped__");if(y||g){var O=y?e.value():e,w=g?t.value():t;return s||(s=new ne),n(O,w,l,u,s)}}return!!h&&(s||(s=new ne),function(e,t,n,r,i,a){var o=2&i,l=ke(e),u=l.length;if(u!=ke(t).length&&!o)return!1;for(var s=u;s--;){var c=l[s];if(!(o?c in t:P.call(t,c)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var m=o;++s<u;){var p=e[c=l[s]],v=t[c];if(r)var h=o?r(v,p,c,t,e,a):r(p,v,c,e,t,a);if(!(void 0===h?p===v||n(p,v,r,i,a):h)){f=!1;break}m||(m="constructor"==c)}if(f&&!m){var y=e.constructor,g=t.constructor;y==g||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g||(f=!1)}return a.delete(e),a.delete(t),f}(e,t,n,l,u,s))}(e,t,ie,n,l,u))}function ae(e,t,n,r,i,a){var o=2&i,l=e.length,u=t.length;if(l!=u&&!(o&&u>l))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var c=-1,d=!0,f=1&i?new te:void 0;for(a.set(e,t),a.set(t,e);++c<l;){var m=e[c],p=t[c];if(r)var v=o?r(p,m,c,t,e,a):r(m,p,c,e,t,a);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!g(t,(function(e,t){if(!f.has(t)&&(m===e||n(m,e,r,i,a)))return f.add(t)}))){d=!1;break}}else if(m!==p&&!n(m,p,r,i,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function oe(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!he(e)||function(e){return!!F&&F in e}(e))&&(pe(e)||k(e)?A:l).test(ce(e))}(n)?n:void 0}X.prototype.clear=function(){this.__data__=Q?Q(null):{}},X.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},X.prototype.get=function(e){var t=this.__data__;if(Q){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return P.call(t,e)?t[e]:void 0},X.prototype.has=function(e){var t=this.__data__;return Q?void 0!==t[e]:P.call(t,e)},X.prototype.set=function(e,t){return this.__data__[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this},Z.prototype.clear=function(){this.__data__=[]},Z.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0||(n==t.length-1?t.pop():M.call(t,n,1),0))},Z.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return re(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ee.prototype.clear=function(){this.__data__={hash:new X,map:new(V||Z),string:new X}},ee.prototype.delete=function(e){return oe(this,e).delete(e)},ee.prototype.get=function(e){return oe(this,e).get(e)},ee.prototype.has=function(e){return oe(this,e).has(e)},ee.prototype.set=function(e,t){return oe(this,e).set(e,t),this},te.prototype.add=te.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},te.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.clear=function(){this.__data__=new Z},ne.prototype.delete=function(e){return this.__data__.delete(e)},ne.prototype.get=function(e){return this.__data__.get(e)},ne.prototype.has=function(e){return this.__data__.has(e)},ne.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!V||r.length<199)return r.push([e,t]),this;n=this.__data__=new ee(r)}return n.set(e,t),this};var ue=function(e){return _.call(e)};function se(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||u.test(e))&&e>-1&&e%1==0&&e<t}function ce(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function de(e,t){return e===t||e!=e&&t!=t}(B&&"[object DataView]"!=ue(new B(new ArrayBuffer(1)))||V&&ue(new V)!=i||q&&"[object Promise]"!=ue(q.resolve())||z&&ue(new z)!=o||U&&"[object WeakMap]"!=ue(new U))&&(ue=function(e){var t=_.call(e),n=t==a?e.constructor:void 0,r=n?ce(n):void 0;if(r)switch(r){case J:return"[object DataView]";case W:return i;case H:return"[object Promise]";case $:return o;case G:return"[object WeakMap]"}return t});var fe=Array.isArray;function me(e){return null!=e&&ve(e.length)&&!pe(e)}function pe(e){var t=he(e)?_.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function ve(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function he(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function ye(e){return!!e&&"object"==typeof e}var ge=y?function(e){return function(t){return e(t)}}(y):function(e){return ye(e)&&ve(e.length)&&!!s[_.call(e)]};function ke(e){return me(e)?function(e,t){var n=fe(e)||function(e){return function(e){return ye(e)&&me(e)}(e)&&P.call(e,"callee")&&(!R.call(e,"callee")||_.call(e)==r)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=n.length,a=!!i;for(var o in e)!t&&!P.call(e,o)||a&&("length"==o||se(o,i))||n.push(o);return n}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||j))return L(e);var t,n,r=[];for(var i in Object(e))P.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}e.exports=function(e,t){return ie(e,t)}}).call(this,r(8)(e))},function(e,t){e.exports=n(0)},function(e,n){var r="object"==typeof t&&t&&t.Object===Object&&t,i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();function o(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function l(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var u=Object.prototype,s=u.hasOwnProperty,c=u.toString,d=a.Symbol,f=u.propertyIsEnumerable,m=d?d.isConcatSpreadable:void 0,p=Math.max;function v(e){return y(e)||function(e){return function(e){return g(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?c.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&s.call(e,"callee")&&(!f.call(e,"callee")||"[object Arguments]"==c.call(e))}(e)||!!(m&&e&&e[m])}function h(e){if("string"==typeof e||function(e){return"symbol"==typeof e||g(e)&&"[object Symbol]"==c.call(e)}(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}var y=Array.isArray;function g(e){return!!e&&"object"==typeof e}var k,b,S=(k=function(e,t){return null==e?{}:function(e,t){return function(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],l=e[o];n(l,o)&&(a[o]=l)}return a}(e=Object(e),t,(function(t,n){return n in e}))}(e,function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(function e(t,n,r,i,a){var o=-1,u=t.length;for(r||(r=v),a||(a=[]);++o<u;){var s=t[o];n>0&&r(s)?n>1?e(s,n-1,r,i,a):l(a,s):i||(a[a.length]=s)}return a}(t,1),h))},b=p(void 0===b?k.length-1:b,0),function(){for(var e=arguments,t=-1,n=p(e.length-b,0),r=Array(n);++t<n;)r[t]=e[b+t];t=-1;for(var i=Array(b+1);++t<b;)i[t]=e[t];return i[b]=r,o(k,this,i)});e.exports=S},function(e,t){e.exports=n(185)},function(e,t){e.exports=n(140)},function(e,t){e.exports=n(80)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var r=n(1),i=n.n(r),a=n(4),o=n.n(a),l=n(5),u=(n(3),n(6),n(7),n(2)),s=n.n(u);function c(e){return(c="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 d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){if("number"!=typeof e.debounceTimeMs)throw new Error("debounceTimeMs prop required")},k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(a,e);var t,n,r,i=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleDebounceTimer=function(){t.debounceTimeout=null,t.setState({debouncedProps:t.props,isDebouncing:!1})},g(e),t.state={debouncedProps:e,isDebouncing:!1},t.debounceTimeout=null,t}return t=a,r=[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.debounceTimeMs||s()(e,t.debouncedProps)?t:f(f({},t),{},{debouncedProps:e})}}],(n=[{key:"shouldComponentUpdate",value:function(e,t){return!t.isDebouncing||!s()(this.props,e)}},{key:"componentDidUpdate",value:function(e){g(e),s()(this.props,e)||(this.setState({isDebouncing:!0}),clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(this.handleDebounceTimer,e.debounceTimeMs))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.debounceTimeout)}},{key:"render",value:function(){var e=this.props;return(0,e.debounceRender)(f(f({},function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["debounceRender"])),this.state))}}])&&p(t.prototype,n),r&&p(t,r),a}(r.Component);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var T=function(e){var t=e.query,n=e.propsToVariables,r=e.debounceTimeMs,a=e.ssr,u=N(e,["query","propsToVariables","debounceTimeMs","ssr"]);return i.a.createElement(k,b({},u,{debounceRender:function(e){var r=e.children,u=N(e,["children"]),s=o()(n(u.debouncedProps||u),function(e){return function e(t){return t.reduce((function(t,n){return t.concat(Array.isArray(n)?e(n):n)}),[])}(e.definitions.map((function(e){return(e.variableDefinitions||[]).map((function(e){return e.variable.name.value}))})))}(t));return i.a.createElement(l.Query,{query:t,ssr:a,variables:s},(function(e){var t=e.loading,n=e.data,i=e.refetch,a=e.fetchMore,o=e.error;return r(O(O({error:o,fetchMore:a,isLoading:t,refetch:function(){return i()},variables:s},u),n))}))},debounceTimeMs:r}))};T.defaultProps={propsToVariables:function(e){return e},ssr:void 0};var C=function(e,t){return function(n){return i.a.createElement(T,b({},n,{propsToVariables:t,query:e}))}},j=n(0),x=C(j.author);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var E=C(j.authorArticlesNoImages,j.authorArticlesNoImagesPTV),P=function(e){return i.a.createElement(E,F({},e,{longSummaryLength:360,shortSummaryLength:220}))},_=C(j.authorArticlesWithImages,j.authorArticlesWithImagesPTV),A=C(j.articleBookmarked),I=C(j.article),D=C(j.getNewsletter),R=C(j.articleExtras),M=C(j.edition),L=C(j.draftArticle);n.d(t,"QueryProvider",(function(){return T})),n.d(t,"AuthorProfileProvider",(function(){return x})),n.d(t,"AuthorArticlesNoImagesProvider",(function(){return P})),n.d(t,"AuthorArticlesWithImagesProvider",(function(){return _})),n.d(t,"ArticleBookmarked",(function(){return A})),n.d(t,"ArticleProvider",(function(){return I})),n.d(t,"GetNewsletter",(function(){return D})),n.d(t,"ArticleExtrasProvider",(function(){return R})),n.d(t,"EditionProvider",(function(){return M})),n.d(t,"DraftArticleProvider",(function(){return L})),n.d(t,"default",(function(){return C}))}])}).call(this,n(24))},12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var r=n(2),i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,"number"==typeof n?"Invariant Violation: "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function l(e,t){if(!e)throw new o(t)}function u(e){return function(){return console[e].apply(console,arguments)}}!function(e){e.warn=u("warn"),e.error=u("error")}(l||(l={}));var s={env:{}};if("object"==typeof e)s=e;else try{Function("stub","process = stub")(s)}catch(e){}}).call(this,n(91))},13:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return l}));var r=n(2),i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,n)||this;return r.framesToPop=1,r.name="Invariant Violation",a(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function l(e,t){if(!e)throw new o(t)}!function(e){e.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.warn.apply(console,e)},e.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.error.apply(console,e)}}(l||(l={}))},136:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r);t.default={block:function(e,t,n){return i.a.createElement("div",{key:e},n)},bold:function(e,t,n){return i.a.createElement("b",{key:e},n)},break:function(e){return i.a.createElement("br",{key:e})},emphasis:function(e,t,n){return i.a.createElement("em",{key:e},n)},inline:function(e,t,n){return i.a.createElement("span",{key:e},n)},italic:function(e,t,n){return i.a.createElement("i",{key:e},n)},paragraph:function(e,t,n){return i.a.createElement("p",{key:e},n)},strong:function(e,t,n){return i.a.createElement("strong",{key:e},n)},subscript:function(e,t,n){return i.a.createElement("sub",{key:e},n)},superscript:function(e,t,n){return i.a.createElement("sup",{key:e},n)},link:function(e,t,n){return i.a.createElement("a",{style:{cursor:"pointer",textDecoration:"underline",color:"#006699"},href:t.href,key:e},n)},text:function(e,t){return t.value}}}])},138:function(e,t,n){"use strict";var r=n(382).Cache,i=n(383).tuple,a=n(384).Entry,o=n(247).get;t.defaultMakeCacheKey=i,t.wrap=function(e,t){var n=!!(t=function(e){return"function"!=typeof(e=e||Object.create(null)).makeCacheKey&&(e.makeCacheKey=i),"number"!=typeof e.max&&(e.max=Math.pow(2,16)),e}(t)).disposable,l=new r({max:t.max,dispose:function(e,t){t.dispose()}});function u(e){if(n)return l.delete(e.key),!0}function s(){if(!n||o().currentParentEntry){var r=t.makeCacheKey.apply(null,arguments);if(!r)return e.apply(null,arguments);for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];var c=l.get(r);c?c.args=i:(l.set(r,c=a.acquire(e,r,i)),c.subscribe=t.subscribe,n&&(c.reportOrphan=u));var d=c.recompute();return l.set(r,c),0===c.parents.size&&l.clean(),n?void 0:d}}return s.dirty=function(){var e=t.makeCacheKey.apply(null,arguments);e&&l.has(e)&&l.get(e).setDirty()},s}},139:function(e,t,n){"use strict";n.r(t),n.d(t,"Helmet",(function(){return V})),n.d(t,"HelmetProvider",(function(){return A}));var r=n(349),i=n.n(r),a=n(239),o=n.n(a),l=n(0),u=n.n(l),s=n(1),c=n.n(s),d=n(350),f=n.n(d),m={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p=Object.keys(m).map((function(e){return m[e]})),v={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},h=Object.keys(v).reduce((function(e,t){return e[v[t]]=t,e}),{}),y=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},g=function(e){var t=y(e,m.TITLE),n=y(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=y(e,"defaultTitle");return t||r||void 0},k=function(e){return y(e,"onChangeClientState")||function(){}},b=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Object.assign({},e,t)}),{})},S=function(e,t){return t.filter((function(e){return void 0!==e[m.BASE]})).map((function(e){return e[m.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i+=1){var a=r[i].toLowerCase();if(-1!==e.indexOf(a)&&n[a])return t.concat(n)}return t}),[])},O=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n,a=Object.keys(e),o=0;o<a.length;o+=1){var l=a[o],u=l.toLowerCase();-1===t.indexOf(u)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===u&&"stylesheet"===e[u].toLowerCase()||(n=u),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var a=Object.keys(i),o=0;o<a.length;o+=1){var l=a[o],u=Object.assign({},r[l],i[l]);r[l]=u}return e}),[]).reverse()},w=function(e){return Array.isArray(e)?e.join(""):e},N=[m.NOSCRIPT,m.SCRIPT,m.STYLE],T=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},C=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},j=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[v[n]||n]=e[n],t}),t)},x=function(e,t,n){switch(e){case m.TITLE:return{toComponent:function(){return n=j(t.titleAttributes,{key:e=t.title,"data-rh":!0}),[c.a.createElement(m.TITLE,n,e)];var e,n},toString:function(){return function(e,n,r,i){var a=C(t.titleAttributes),o=w(n);return a?"<"+e+' data-rh="true" '+a+">"+T(o,i)+"</"+e+">":"<"+e+' data-rh="true">'+T(o,i)+"</"+e+">"}(e,t.title,0,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return j(t)},toString:function(){return C(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r={key:n,"data-rh":!0};return Object.keys(t).forEach((function(e){var n=v[e]||e;"innerHTML"===n||"cssText"===n?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]})),c.a.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+T(r[t],n)+'"';return e?e+" "+i:i}),""),a=r.innerHTML||r.cssText||"",o=-1===N.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(o?"/>":">"+a+"</"+e+">")}),"")}(e,t,n)}}}},F=function(e){var t=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.scriptTags,u=e.styleTags,s=e.title;void 0===s&&(s="");var c=e.titleAttributes;return{base:x(m.BASE,e.baseTag,n),bodyAttributes:x("bodyAttributes",t,n),htmlAttributes:x("htmlAttributes",r,n),link:x(m.LINK,i,n),meta:x(m.META,a,n),noscript:x(m.NOSCRIPT,o,n),script:x(m.SCRIPT,l,n),style:x(m.STYLE,u,n),title:x(m.TITLE,{title:s,titleAttributes:c},n)}},E=c.a.createContext({}),P=u.a.shape({setHelmet:u.a.func,helmetInstances:u.a.shape({get:u.a.func,add:u.a.func,remove:u.a.func})}),_="undefined"!=typeof document,A=function(e){function t(n){var r=this;e.call(this,n),this.instances=[],this.value={setHelmet:function(e){r.props.context.helmet=e},helmetInstances:{get:function(){return r.instances},add:function(e){r.instances.push(e)},remove:function(e){var t=r.instances.indexOf(e);r.instances.splice(t,1)}}},t.canUseDOM||(n.context.helmet=F({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.render=function(){return c.a.createElement(E.Provider,{value:this.value},this.props.children)},t}(s.Component);A.canUseDOM=_,A.propTypes={context:u.a.shape({helmet:u.a.shape()}),children:u.a.node.isRequired},A.defaultProps={context:{}},A.displayName="HelmetProvider";var I=function(e,t){var n,r=document.head||document.querySelector(m.HEAD),i=r.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),a.some((function(e,t){return n=t,r.isEqualNode(e)}))?a.splice(n,1):o.push(r)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return r.appendChild(e)})),{oldTags:a,newTags:o}},D=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],a=[].concat(i),o=Object.keys(t),l=0;l<o.length;l+=1){var u=o[l],s=t[u]||"";n.getAttribute(u)!==s&&n.setAttribute(u,s),-1===i.indexOf(u)&&i.push(u);var c=a.indexOf(u);-1!==c&&a.splice(c,1)}for(var d=a.length-1;d>=0;d-=1)n.removeAttribute(a[d]);i.length===a.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==o.join(",")&&n.setAttribute("data-rh",o.join(","))}},R=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,l=e.onChangeClientState,u=e.scriptTags,s=e.styleTags,c=e.title,d=e.titleAttributes;D(m.BODY,e.bodyAttributes),D(m.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=w(e)),D(m.TITLE,t)}(c,d);var f={baseTag:I(m.BASE,n),linkTags:I(m.LINK,i),metaTags:I(m.META,a),noscriptTags:I(m.NOSCRIPT,o),scriptTags:I(m.SCRIPT,u),styleTags:I(m.STYLE,s)},p={},v={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(v[e]=f[e].oldTags)})),t&&t(),l(e,p,v)},M=null,L=function(e){function t(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];e.apply(this,t),this.rendered=!1}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!f()(e,this.props)},t.prototype.componentDidUpdate=function(){this.emitChange()},t.prototype.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},t.prototype.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,i=null,a=(e=n.helmetInstances.get().map((function(e){var t=Object.assign({},e.props);return delete t.context,t})),{baseTag:S(["href"],e),bodyAttributes:b("bodyAttributes",e),defer:y(e,"defer"),encode:y(e,"encodeSpecialCharacters"),htmlAttributes:b("htmlAttributes",e),linkTags:O(m.LINK,["rel","href"],e),metaTags:O(m.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:O(m.NOSCRIPT,["innerHTML"],e),onChangeClientState:k(e),scriptTags:O(m.SCRIPT,["src","innerHTML"],e),styleTags:O(m.STYLE,["cssText"],e),title:g(e),titleAttributes:b("titleAttributes",e)});A.canUseDOM?(t=a,M&&cancelAnimationFrame(M),t.defer?M=requestAnimationFrame((function(){R(t,(function(){M=null}))})):(R(t),M=null)):F&&(i=F(a)),r(i)},t.prototype.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},t.prototype.render=function(){return this.init(),null},t}(s.Component);function B(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}L.propTypes={context:P.isRequired},L.displayName="HelmetDispatcher";var V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(e){return!i()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case m.SCRIPT:case m.NOSCRIPT:return{innerHTML:t};case m.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Object.assign({},r,((t={})[n.type]=(r[n.type]||[]).concat([Object.assign({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case m.TITLE:return Object.assign({},i,((t={})[r.type]=o,t),{titleAttributes:Object.assign({},a)});case m.BODY:return Object.assign({},i,{bodyAttributes:Object.assign({},a)});case m.HTML:return Object.assign({},i,{htmlAttributes:Object.assign({},a)});default:return Object.assign({},i,((n={})[r.type]=Object.assign({},a),n))}},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Object.assign({},t);return Object.keys(e).forEach((function(t){var r;n=Object.assign({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return o()(p.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+p.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),o()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return c.a.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,a=i.children,o=B(i,["children"]),l=Object.keys(o).reduce((function(e,t){return e[h[t]||t]=o[t],e}),{}),u=e.type;switch("symbol"==typeof u?u=u.toString():n.warnOnInvalidChildren(e,a),u){case m.FRAGMENT:t=n.mapChildrenToProps(a,t);break;case m.LINK:case m.META:case m.NOSCRIPT:case m.SCRIPT:case m.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=B(e,["children"]),r=Object.assign({},n);return t&&(r=this.mapChildrenToProps(t,r)),c.a.createElement(E.Consumer,null,(function(e){return c.a.createElement(L,Object.assign({},r,{context:e}))}))},t}(s.Component);V.propTypes={base:u.a.object,bodyAttributes:u.a.object,children:u.a.oneOfType([u.a.arrayOf(u.a.node),u.a.node]),defaultTitle:u.a.string,defer:u.a.bool,encodeSpecialCharacters:u.a.bool,htmlAttributes:u.a.object,link:u.a.arrayOf(u.a.object),meta:u.a.arrayOf(u.a.object),noscript:u.a.arrayOf(u.a.object),onChangeClientState:u.a.func,script:u.a.arrayOf(u.a.object),style:u.a.arrayOf(u.a.object),title:u.a.string,titleAttributes:u.a.object,titleTemplate:u.a.string},V.defaultProps={defer:!0,encodeSpecialCharacters:!0},V.displayName="Helmet"},140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5);function i(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visit=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=void 0,s=Array.isArray(e),c=[e],d=-1,f=[],m=void 0,p=void 0,v=void 0,h=[],y=[],g=e;do{var k=++d===c.length,b=k&&0!==f.length;if(k){if(p=0===y.length?void 0:h[h.length-1],m=v,v=y.pop(),b){if(s)m=m.slice();else{for(var S={},O=Object.keys(m),w=0;w<O.length;w++){var N=O[w];S[N]=m[N]}m=S}for(var T=0,C=0;C<f.length;C++){var j=f[C][0],x=f[C][1];s&&(j-=T),s&&null===x?(m.splice(j,1),T++):m[j]=x}}d=r.index,c=r.keys,f=r.edits,s=r.inArray,r=r.prev}else{if(p=v?s?d:c[d]:void 0,null==(m=v?v[p]:g))continue;v&&h.push(p)}var F=void 0;if(!Array.isArray(m)){if(!l(m))throw new Error("Invalid AST Node: "+(0,i.default)(m));var E=u(t,m.kind,k);if(E){if((F=E.call(t,m,p,v,h,y))===o)break;if(!1===F){if(!k){h.pop();continue}}else if(void 0!==F&&(f.push([p,F]),!k)){if(!l(F)){h.pop();continue}m=F}}}void 0===F&&b&&f.push([p,m]),k?h.pop():(r={inArray:s,index:d,keys:c,edits:f,prev:r},s=Array.isArray(m),c=s?m:n[m.kind]||[],d=-1,f=[],v&&y.push(v),v=m)}while(void 0!==r);0!==f.length&&(g=f[f.length-1][1]);return g},t.visitInParallel=function(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=u(e[r],n.kind,!1);if(i){var a=i.apply(e[r],arguments);if(!1===a)t[r]=n;else if(a===o)t[r]=o;else if(void 0!==a)return a}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=u(e[r],n.kind,!0);if(i){var a=i.apply(e[r],arguments);if(a===o)t[r]=o;else if(void 0!==a&&!1!==a)return a}}}}},t.visitWithTypeInfo=function(e,t){return{enter:function(n){e.enter(n);var r=u(t,n.kind,!1);if(r){var i=r.apply(t,arguments);return void 0!==i&&(e.leave(n),l(i)&&e.enter(i)),i}},leave:function(n){var r,i=u(t,n.kind,!0);return i&&(r=i.apply(t,arguments)),e.leave(n),r}}},t.getVisitFn=u,t.BREAK=t.QueryDocumentKeys=void 0;var r,i=(r=n(372))&&r.__esModule?r:{default:r};var a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};t.QueryDocumentKeys=a;var o={};function l(e){return Boolean(e&&"string"==typeof e.kind)}function u(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var a=n?e.leave:e.enter;if(a){if("function"==typeof a)return a;var o=a[t];if("function"==typeof o)return o}}}t.BREAK=o},173:function(e,t,n){"use strict";n.r(t);var r=n(2),i=n(6);function a(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:o(e)}]}}function o(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return o(e[0]);var t=[];return Object.keys(e).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:o(e[n])||void 0};t.push(r)})),{kind:"SelectionSet",selections:t}}var l,u={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},s=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:Object(i.h)(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:Object(i.h)(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,i=e.data;if(void 0!==r){var l=null;try{l=this.read({rootId:r,optimistic:!1,query:u})}catch(e){}var s=l&&l.__typename||"__ClientData",c=Object.assign({__typename:s},i);this.writeFragment({id:r,fragment:(t=c,n=s,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:o(t)}]}),data:c})}else this.writeQuery({query:a(i),data:i})},e}();l||(l={});var c=n(245),d=n(138),f=Object.setPrototypeOf,m=void 0===f?function(e,t){return e.__proto__=t,e}:f,p=function(e){function t(n){void 0===n&&(n="Invariant Violation");var r=e.call(this,n)||this;return r.framesToPop=1,r.name="Invariant Violation",m(r,t.prototype),r}return Object(r.c)(t,e),t}(Error);function v(e,t){if(!e)throw new p(t)}!function(e){e.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.warn.apply(console,e)},e.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return console.error.apply(console,e)}}(v||(v={}));n.d(t,"InMemoryCache",(function(){return J})),n.d(t,"defaultDataIdFromObject",(function(){return z})),n.d(t,"StoreReader",(function(){return E})),n.d(t,"assertIdValue",(function(){return A})),n.d(t,"WriteError",(function(){return R})),n.d(t,"enhanceErrorWithDocument",(function(){return M})),n.d(t,"StoreWriter",(function(){return L})),n.d(t,"HeuristicFragmentMatcher",(function(){return N})),n.d(t,"IntrospectionFragmentMatcher",(function(){return T})),n.d(t,"ObjectCache",(function(){return I})),n.d(t,"defaultNormalizedCacheFactory",(function(){return D}));var h=new Map;if(h.set(1,2)!==h){var y=h.set;Map.prototype.set=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return y.apply(this,e),this}}var g=new Set;if(g.add(3)!==g){var k=g.add;Set.prototype.add=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return k.apply(this,e),this}}var b={};"function"==typeof Object.freeze&&Object.freeze(b);try{h.set(b,b).delete(b)}catch(e){var S=function(e){return e&&function(t){try{h.set(t,t).delete(t)}finally{return e.call(Object,t)}}};Object.freeze=S(Object.freeze),Object.seal=S(Object.seal),Object.preventExtensions=S(Object.preventExtensions)}var O=!1;function w(){var e=!O;return Object(i.s)()||(O=!0),e}var N=function(){function e(){}return e.prototype.ensureReady=function(){return Promise.resolve()},e.prototype.canBypassInit=function(){return!0},e.prototype.match=function(e,t,n){var r=n.store.get(e.id);return!r&&"ROOT_QUERY"===e.id||!!r&&(r.__typename&&r.__typename===t||(w(),"heuristic"))},e}(),T=function(){function e(e){e&&e.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(e.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}return e.prototype.match=function(e,t,n){v(this.isReady);var r=n.store.get(e.id);if(!r)return!1;if(v(r.__typename),r.__typename===t)return!0;var i=this.possibleTypesMap[t];return!!(i&&i.indexOf(r.__typename)>-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t},e}(),C=function(){function e(){this.children=null,this.key=null}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return e.forEach((function(e){t=t.getOrCreate(e)})),t.key||(t.key=Object.create(null))},e.prototype.getOrCreate=function(t){var n=this.children||(this.children=new Map),r=n.get(t);return r||n.set(t,r=new e),r},e}(),j=Object.prototype.hasOwnProperty,x=function(){function e(e){void 0===e&&(e=Object.create(null));var t=this;this.data=e,this.depend=Object(d.wrap)((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){j.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){j.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function F(e){return new x(e)}var E=function(){function e(e){void 0===e&&(e=new C);var t=this;this.cacheKeyRoot=e;var n=this,r=n.executeStoreQuery,i=n.executeSelectionSet;this.executeStoreQuery=Object(d.wrap)((function(e){return r.call(t,e)}),{makeCacheKey:function(e){var t=e.query,r=e.rootValue,i=e.contextValue,a=e.variableValues,o=e.fragmentMatcher;if(i.store instanceof x)return n.cacheKeyRoot.lookup(t,i.store,o,JSON.stringify(a),r.id)}}),this.executeSelectionSet=Object(d.wrap)((function(e){return i.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,r=e.rootValue,i=e.execContext;if(i.contextValue.store instanceof x)return n.cacheKeyRoot.lookup(t,i.contextValue.store,i.fragmentMatcher,JSON.stringify(i.variableValues),r.id)}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(Object(r.a)({},e,{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.variables,a=e.previousResult,o=e.returnPartialData,l=void 0===o||o,u=e.rootId,s=void 0===u?"ROOT_QUERY":u,d=e.fragmentMatcherFunction,f=e.config,m=Object(i.l)(n);r=Object(i.c)({},Object(i.e)(m),r);var v={store:t,dataIdFromObject:f&&f.dataIdFromObject||null,cacheRedirects:f&&f.cacheRedirects||{}},h=this.executeStoreQuery({query:n,rootValue:{type:"id",id:s,generated:!0,typename:"Query"},contextValue:v,variableValues:r,fragmentMatcher:d}),y=h.missing&&h.missing.length>0;return y&&!l&&h.missing.forEach((function(e){if(!e.tolerable)throw new p})),a&&Object(c.a)(a,h.result)&&(h.result=a),{result:h.result,complete:!y}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,a=e.variableValues,o=e.fragmentMatcher,l=void 0===o?_:o,u=Object(i.i)(t),s=Object(i.g)(t),c={query:t,fragmentMap:Object(i.d)(s),contextValue:r,variableValues:a,fragmentMatcher:l};return this.executeSelectionSet({selectionSet:u.selectionSet,rootValue:n,execContext:c})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,a=e.rootValue,o=e.execContext,l=o.fragmentMap,u=o.contextValue,s=o.variableValues,c={result:null},d=[],f=u.store.get(a.id),m=f&&f.__typename||"ROOT_QUERY"===a.id&&"Query"||void 0;function v(e){var t;return e.missing&&(c.missing=c.missing||[],(t=c.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if(Object(i.v)(e,s))if(Object(i.n)(e)){var c=v(t.executeField(f,m,e,o));void 0!==c&&d.push(((n={})[Object(i.u)(e)]=c,n))}else{var h=void 0;if(Object(i.p)(e))h=e;else if(!(h=l[e.name.value]))throw new p;var y=h.typeCondition.name.value,g=o.fragmentMatcher(a,y,u);if(g){var k=t.executeSelectionSet({selectionSet:h.selectionSet,rootValue:a,execContext:o});"heuristic"===g&&k.missing&&(k=Object(r.a)({},k,{missing:k.missing.map((function(e){return Object(r.a)({},e,{tolerable:!0})}))})),d.push(v(k))}}})),c.result=Object(i.t)(d),c},e.prototype.executeField=function(e,t,n,r){var a=r.variableValues,o=r.contextValue,l=function(e,t,n,r,a,o){o.resultKey;var l=o.directives,u=n;(r||l)&&(u=Object(i.m)(u,r,l));var s=void 0;if(e&&void 0===(s=e[u])&&a.cacheRedirects&&"string"==typeof t){var c=a.cacheRedirects[t];if(c){var d=c[n];d&&(s=d(e,r,{getCacheKey:function(e){return Object(i.x)({id:a.dataIdFromObject(e),typename:e.__typename})}}))}}if(void 0===s)return{result:s,missing:[{object:e,fieldName:u,tolerable:!1}]};Object(i.q)(s)&&(s=s.json);return{result:s}}(e,t,n.name.value,Object(i.b)(n,a),o,{resultKey:Object(i.u)(n),directives:Object(i.f)(n,a)});return Array.isArray(l.result)?this.combineExecResults(l,this.executeSubSelectedArray(n,l.result,r)):n.selectionSet?null==l.result?l:this.combineExecResults(l,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:l.result,execContext:r})):(P(n,l.result),l)},e.prototype.combineExecResults=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null;return e.forEach((function(e){e.missing&&(n=n||[]).push.apply(n,e.missing)})),{result:e.pop().result,missing:n}},e.prototype.executeSubSelectedArray=function(e,t,n){var r=this,i=null;function a(e){return e.missing&&(i=i||[]).push.apply(i,e.missing),e.result}return{result:t=t.map((function(t){return null===t?null:Array.isArray(t)?a(r.executeSubSelectedArray(e,t,n)):e.selectionSet?a(r.executeSelectionSet({selectionSet:e.selectionSet,rootValue:t,execContext:n})):(P(e,t),t)})),missing:i}},e}();function P(e,t){if(!e.selectionSet&&Object(i.o)(t))throw new p}function _(){return!0}function A(e){v(Object(i.o)(e))}var I=function(){function e(e){void 0===e&&(e=Object.create(null)),this.data=e}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.delete=function(e){this.data[e]=void 0},e.prototype.clear=function(){this.data=Object.create(null)},e.prototype.replace=function(e){this.data=e||Object.create(null)},e}();function D(e){return new I(e)}var R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="WriteError",t}return Object(r.c)(t,e),t}(Error);function M(e,t){var n=new R("Error writing result to store for query:\n "+JSON.stringify(t));return n.message+="\n"+e.message,n.stack=e.stack,n}var L=function(){function e(){}return e.prototype.writeQueryToStore=function(e){var t=e.query,n=e.result,r=e.store,i=void 0===r?F():r,a=e.variables,o=e.dataIdFromObject,l=e.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:n,document:t,store:i,variables:a,dataIdFromObject:o,fragmentMatcherFunction:l})},e.prototype.writeResultToStore=function(e){var t=e.dataId,n=e.result,r=e.document,a=e.store,o=void 0===a?F():a,l=e.variables,u=e.dataIdFromObject,s=e.fragmentMatcherFunction,c=Object(i.j)(r);try{return this.writeSelectionSetToStore({result:n,dataId:t,selectionSet:c.selectionSet,context:{store:o,processedData:{},variables:Object(i.c)({},Object(i.e)(c),l),dataIdFromObject:u,fragmentMap:Object(i.d)(Object(i.g)(r)),fragmentMatcherFunction:s}})}catch(e){throw M(e,r)}},e.prototype.writeSelectionSetToStore=function(e){var t=this,n=e.result,r=e.dataId,a=e.selectionSet,o=e.context,l=o.variables,u=o.store,s=o.fragmentMap;return a.selections.forEach((function(e){if(Object(i.v)(e,l))if(Object(i.n)(e)){var a=Object(i.u)(e),u=n[a];if(void 0!==u)t.writeFieldToStore({dataId:r,value:u,field:e,context:o});else{var c=!1,d=!1;e.directives&&e.directives.length&&(c=e.directives.some((function(e){return e.name&&"defer"===e.name.value})),d=e.directives.some((function(e){return e.name&&"client"===e.name.value}))),!c&&!d&&o.fragmentMatcherFunction}}else{var f=void 0;Object(i.p)(e)?f=e:v(f=(s||{})[e.name.value]);var m=!0;if(o.fragmentMatcherFunction&&f.typeCondition){var p=Object(i.x)({id:"self",typename:void 0}),h={store:new I({self:n}),cacheRedirects:{}},y=o.fragmentMatcherFunction(p,f.typeCondition.name.value,h);Object(i.r)(),m=!!y}m&&t.writeSelectionSetToStore({result:n,selectionSet:f.selectionSet,dataId:r,context:o})}})),u},e.prototype.writeFieldToStore=function(e){var t,n,a,o=e.field,l=e.value,u=e.dataId,s=e.context,d=s.variables,f=s.dataIdFromObject,m=s.store,p=Object(i.w)(o,d);if(o.selectionSet&&null!==l)if(Array.isArray(l)){var h=u+"."+p;n=this.processArrayValue(l,h,o.selectionSet,s)}else{var y=u+"."+p,g=!0;if(B(y)||(y="$"+y),f){var k=f(l);v(!k||!B(k)),(k||"number"==typeof k&&0===k)&&(y=k,g=!1)}V(y,o,s.processedData)||this.writeSelectionSetToStore({dataId:y,result:l,selectionSet:o.selectionSet,context:s});var b=l.__typename;n=Object(i.x)({id:y,typename:b},g);var S=(a=m.get(u))&&a[p];if(S!==n&&Object(i.o)(S)){var O=void 0!==S.typename,w=void 0!==b,N=O&&w&&S.typename!==b;v(!g||S.generated||N),v(!O||w),S.generated&&(N?g||m.delete(S.id):function e(t,n,a){if(t===n)return!1;var o=a.get(t),l=a.get(n),u=!1;Object.keys(o).forEach((function(t){var n=o[t],r=l[t];Object(i.o)(n)&&B(n.id)&&Object(i.o)(r)&&!Object(c.a)(n,r)&&e(n.id,r.id,a)&&(u=!0)})),a.delete(t);var s=Object(r.a)({},o,l);if(Object(c.a)(s,l))return u;return a.set(n,s),!0}(S.id,n.id,m))}}else n=null!=l&&"object"==typeof l?{type:"json",json:l}:l;(a=m.get(u))&&Object(c.a)(n,a[p])||m.set(u,Object(r.a)({},a,((t={})[p]=n,t)))},e.prototype.processArrayValue=function(e,t,n,r){var a=this;return e.map((function(e,o){if(null===e)return null;var l=t+"."+o;if(Array.isArray(e))return a.processArrayValue(e,l,n,r);var u=!0;if(r.dataIdFromObject){var s=r.dataIdFromObject(e);s&&(l=s,u=!1)}return V(l,n,r.processedData)||a.writeSelectionSetToStore({dataId:l,result:e,selectionSet:n,context:r}),Object(i.x)({id:l,typename:e.__typename},u)}))},e}();function B(e){return"$"===e[0]}function V(e,t,n){if(!n)return!1;if(n[e]){if(n[e].indexOf(t)>=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var q={fragmentMatcher:new N,dataIdFromObject:z,addTypename:!0,resultCaching:!0};function z(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null}var U=Object.prototype.hasOwnProperty,Q=function(e){function t(t,n,r){var i=e.call(this,Object.create(null))||this;return i.optimisticId=t,i.parent=n,i.transaction=r,i}return Object(r.c)(t,e),t.prototype.toObject=function(){return Object(r.a)({},this.parent.toObject(),this.data)},t.prototype.get=function(e){return U.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(I),J=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new C,n.silenceBroadcast=!1,n.config=Object(r.a)({},q,t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=n.config.addTypename,n.data=n.config.resultCaching?new x:new I,n.optimisticData=n.data,n.storeReader=new E(n.cacheKeyRoot),n.storeWriter=new L;var i=n,a=i.maybeBroadcastWatch;return n.maybeBroadcastWatch=Object(d.wrap)((function(e){return a.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return i.data instanceof x?i.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return Object(r.c)(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){return"string"==typeof e.rootId&&void 0===this.data.get(e.rootId)?null:this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:this.config.fragmentMatcher.match,previousResult:e.previousResult,config:this.config})},t.prototype.write=function(e){this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:this.config.fragmentMatcher.match}),this.broadcastWatches()},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:this.config.fragmentMatcher.match,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new p},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof Q;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var i=t.pop();this.performTransaction(i.transaction,i.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new Q(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(i.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(s)},177:function(e,t,n){"use strict";e.exports=n(369)},178:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(27),i=n(15),a=n(5);function o(e,t){Object(a.a)(2,arguments);var n=Object(i.a)(e).getTime(),o=Object(r.a)(t);return new Date(n+o)}},180:function(e,t,n){"use strict";var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=function(e,t,n){var i,a=r[e];return i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function a(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var o={date:a({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:a({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:a({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},l={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function u(e){return function(t,n){var r,i=n||{};if("formatting"===(i.context?String(i.context):"standalone")&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=i.width?String(i.width):a;r=e.formattingValues[o]||e.formattingValues[a]}else{var l=e.defaultWidth,u=i.width?String(i.width):e.defaultWidth;r=e.values[u]||e.values[l]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function s(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o,l=a[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?d(u,(function(e){return e.test(l)})):c(u,(function(e){return e.test(l)}));o=e.valueCallback?e.valueCallback(s):s,o=n.valueCallback?n.valueCallback(o):o;var f=t.slice(l.length);return{value:o,rest:f}}}function c(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function d(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}var f,m={code:"en-US",formatDistance:i,formatLong:o,formatRelative:function(e,t,n,r){return l[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:u({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:u({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:u({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:u({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:u({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(f={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(f.matchPattern);if(!n)return null;var r=n[0],i=e.match(f.parsePattern);if(!i)return null;var a=f.valueCallback?f.valueCallback(i[0]):i[0];a=t.valueCallback?t.valueCallback(a):a;var o=e.slice(r.length);return{value:a,rest:o}}),era:s({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:s({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:s({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:s({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:s({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};t.a=m},184:function(e,t,n){"use strict";
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|